PageSourceSearch

https://skin-new.unipa.it/node_modules/@cloudbot-cx/chat-frontend/dist/bundle.js

js unipa.it collected 2026-09-24 08:35:01 UTC 429,293 bytes, 2,439 lines download raw bytes

vendor: 4,279 bytes, lines 1-2
1/*! For license information please see bundle.js.LICENSE.txt */
2(()=>{var e={4444:(e,t,i)=>{"use strict";i.d(t,{$s:()=>w,BH:()=>l,L:()=>s,LL:()=>p,ZR:()=>u,aH:()=>o,eu:()=>d,hl:()=>c,m9:()=>M,vZ:()=>f});const n=function(e){const t=[];let i=0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);r<128?t[i++]=r:r<2048?(t[i++]=r>>6|192,t[i++]=63&r|128):55296==(64512&r)&&n+1<e.length&&56320==(64512&e.charCodeAt(n+1))?(r=65536+((1023&r)<<10)+(1023&e.charCodeAt(++n)),t[i++]=r>>18|240,t[i++]=r>>12&63|128,t[i++]=r>>6&63|128,t[i++]=63&r|128):(t[i++]=r>>12|224,t[i++]=r>>6&63|128,t[i++]=63&r|128)}return t},r={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const i=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,n=[];for(let t=0;t<e.length;t+=3){const r=e[t],s=t+1<e.length,a=s?e[t+1]:0,o=t+2<e.length,l=o?e[t+2]:0,c=r>>2,d=(3&r)<<4|a>>4;let u=(15&a)<<2|l>>6,p=63&l;o||(p=64,s||(u=64)),n.push(i[c],i[d],i[u],i[p])}return n.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(n(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):function(e){const t=[];let i=0,n=0;for(;i<e.length;){const r=e[i++];if(r<128)t[n++]=String.fromCharCode(r);else if(r>191&&r<224){const s=e[i++];t[n++]=String.fromCharCode((31&r)<<6|63&s)}else if(r>239&&r<365){const s=((7&r)<<18|(63&e[i++])<<12|(63&e[i++])<<6|63&e[i++])-65536;t[n++]=String.fromCharCode(55296+(s>>10)),t[n++]=String.fromCharCode(56320+(1023&s))}else{const s=e[i++],a=e[i++];t[n++]=String.fromCharCode((15&r)<<12|(63&s)<<6|63&a)}}return t.join("")}(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const i=t?this.charToByteMapWebSafe_:this.charToByteMap_,n=[];for(let t=0;t<e.length;){const r=i[e.charAt(t++)],s=t<e.length?i[e.charAt(t)]:0;++t;const a=t<e.length?i[e.charAt(t)]:64;++t;const o=t<e.length?i[e.charAt(t)]:64;if(++t,null==r||null==s||null==a||null==o)throw Error();const l=r<<2|s>>4;if(n.push(l),64!==a){const e=s<<4&240|a>>2;if(n.push(e),64!==o){const e=a<<6&192|o;n.push(e)}}}return n},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}},s=function(e){return function(e){const t=n(e);return r.encodeByteArray(t,!0)}(e).replace(/\./g,"")},a=()=>{try{return function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==i.g)return i.g;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if("undefined"==typeof process||void 0===process.env)return;const e=process.env.__FIREBASE_DEFAULTS__;return e?JSON.parse(e):void 0})()||(()=>{if("undefined"==typeof document)return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch(e){return}const t=e&&function(e){try{return r.decodeString(e,!0)}catch(e){console.error("base64Decode failed: ",e)}return null}(e[1]);return t&&JSON.parse(t)})()}catch(e){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`)}},o=()=>{var e;return null===(e=a())||void 0===e?void 0:e.config};class l{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}wrapCallback(e){return(t,i)=>{t?this.reject(t):this.resolve(i),"function"==typeof e&&(this.promise.catch((()=>{})),1===e.length?e(t):e(t,i))}}}function c(){try{return"object"==typeof indexedDB}catch(e){return!1}}function d(){return new Promise(((e,t)=>{try{let i=!0;
2const n="validate-browser-context-for-indexeddb-analytics-module",r=self.indexedDB.open(n);r.onsuccess=()=>{r.result.close(),i||self.indexedDB.deleteDatabase(n),e(!0)},r.onupgradeneeded=()=>{i=!1},r.onerror=()=>{var e;t((null===(e=r.error)||void 0===e?void 0:e.message)||"")}}catch(e){t(e)}}))}class u extends Error{constructor(e,t,i){super(t),this.code=e,this.customData=i,this.name="FirebaseError",Object.setPrototypeOf(this,u.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,p.prototype.create)}}class p{constructor(e,t,i){this.service=e,this.serviceName=t,this.errors=i}create(e,...t){const i=t[0]||{},n=`${this.service}/${e}`,r=this.errors[e],s=r?function(e,t){return e.replace(h,((e,i)=>{const n=t[i];return null!=n?String(n):`<${i}?>`}))}(r,i):"Error",a=`${this.serviceName}: ${s} (${n}).`;return new u(n,a,i)}}const h=/\{\$([^}]+)}/g;function f(e,t){if(e===t)return!0;const i=Object.keys(e),n=Object.keys(t);for(const r of i){if(!n.includes(r))return!1;const i=e[r],s=t[r];if(g(i)&&g(s)){if(!f(i,s))return!1}else if(i!==s)return!1}for(const e of n)if(!i.includes(e))return!1;return!0}function g(e){return null!==e&&"object"==typeof e}const m=1e3,v=2,y=144e5,b=.5;function w(e,t=m,i=v){const n=t*Math.pow(i,e),r=Math.round(b*n*(Math.random()-.5)*2);return Math.min(y,n+r)}function M(e){return e&&e._delegate?e._delegate:e}},4371:(e,t,i)=>{"use strict";function n(e){var t=new(window.SpeechRecognition||window.webkitSpeechRecognition);return t.continuous=!1,t.lang=e,t.interimResults=!0,t.maxAlternatives=1,t}i.r(t),i.d(t,{initRecognizer:()=>n})},2681:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});const n="node_modules/@cloudbot-cx/chat-frontend/dist/assets/audio/alert.mp3"},6913:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});const n="node_modules/@cloudbot-cx/chat-frontend/dist/assets/css/global.css"},6734:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});const n="node_modules/@cloudbot-cx/chat-frontend/dist/assets/images/iconbot.svg"},8739:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>n});const n="node_modules/@cloudbot-cx/chat-frontend/dist/assets/images/unisalogochatbot.svg"},6486:function(e,t,i){var n;e=i.nmd(e),function(){var r,s="Expected a function",a="__lodash_hash_undefined__",o="__lodash_placeholder__",l=32,c=128,d=1/0,u=9007199254740991,p=NaN,h=4294967295,f=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",l],["partialRight",64],["rearg",256]],g="[object Arguments]",m="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",w="[object Function]",M="[object GeneratorFunction]",x="[object Map]",E="[object Number]",_="[object Object]",C="[object Promise]",T="[object RegExp]",S="[object Set]",I="[object String]",A="[object Symbol]",j="[object WeakMap]",$="[object ArrayBuffer]",O="[object DataView]",D="[object Float32Array]",N="[object Float64Array]",k="[object Int8Array]",z="[object Int16Array]",L="[object Int32Array]",P="[object Uint8Array]",R="[object Uint8ClampedArray]",B="[object Uint16Array]",U="[object Uint32Array]",F=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,Y=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Q=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,G=RegExp(Q.source),X=RegExp(q.source),W=/<%-([\s\S]+?)%>/g,V=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(te.source),ne=/^\s+/,re=/\s/,se=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,oe=/,? & /,le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,he=/^[-+]0x[0-9a-f]+$/i,fe=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,me=/^0o[0-7]+$/i,ve=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 8,785 bytes, line 2
27f]/g,be=/($^)/,we=/['\n\r\u2028\u2029\\]/g,Me="\\ud800-\\udfff",xe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\u2700-\\u27bf",_e="a-z\\xdf-\\xf6\\xf8-\\xff",Ce="A-Z\\xc0-\\xd6\\xd8-\\xde",Te="\\ufe0e\\ufe0f",Se="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ie="["+Me+"]",Ae="["+Se+"]",je="["+xe+"]",$e="\\d+",Oe="["+Ee+"]",De="["+_e+"]",Ne="[^"+Me+Se+$e+Ee+_e+Ce+"]",ke="\\ud83c[\\udffb-\\udfff]",ze="[^"+Me+"]",Le="(?:\\ud83c[\\udde6-\\uddff]){2}",Pe="[\\ud800-\\udbff][\\udc00-\\udfff]",Re="["+Ce+"]",Be="\\u200d",Ue="(?:"+De+"|"+Ne+")",Fe="(?:"+Re+"|"+Ne+")",He="(?:['’](?:d|ll|m|re|s|t|ve))?",Ye="(?:['’](?:D|LL|M|RE|S|T|VE))?",Qe="(?:"+je+"|"+ke+")?",qe="["+Te+"]?",Ge=qe+Qe+"(?:"+Be+"(?:"+[ze,Le,Pe].join("|")+")"+qe+Qe+")*",Xe="(?:"+[Oe,Le,Pe].join("|")+")"+Ge,We="(?:"+[ze+je+"?",je,Le,Pe,Ie].join("|")+")",Ve=RegExp("['’]","g"),Ke=RegExp(je,"g"),Ze=RegExp(ke+"(?="+ke+")|"+We+Ge,"g"),Je=RegExp([Re+"?"+De+"+"+He+"(?="+[Ae,Re,"$"].join("|")+")",Fe+"+"+Ye+"(?="+[Ae,Re+Ue,"$"].join("|")+")",Re+"?"+Ue+"+"+He,Re+"+"+Ye,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$e,Xe].join("|"),"g"),et=RegExp("["+Be+Me+xe+Te+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nt=-1,rt={};rt[D]=rt[N]=rt[k]=rt[z]=rt[L]=rt[P]=rt[R]=rt[B]=rt[U]=!0,rt[g]=rt[m]=rt[$]=rt[v]=rt[O]=rt[y]=rt[b]=rt[w]=rt[x]=rt[E]=rt[_]=rt[T]=rt[S]=rt[I]=rt[j]=!1;var st={};st[g]=st[m]=st[$]=st[O]=st[v]=st[y]=st[D]=st[N]=st[k]=st[z]=st[L]=st[x]=st[E]=st[_]=st[T]=st[S]=st[I]=st[A]=st[P]=st[R]=st[B]=st[U]=!0,st[b]=st[w]=st[j]=!1;var at={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ot=parseFloat,lt=parseInt,ct="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,dt="object"==typeof self&&self&&self.Object===Object&&self,ut=ct||dt||Function("return this")(),pt=t&&!t.nodeType&&t,ht=pt&&e&&!e.nodeType&&e,ft=ht&&ht.exports===pt,gt=ft&&ct.process,mt=function(){try{return ht&&ht.require&&ht.require("util").types||gt&&gt.binding&&gt.binding("util")}catch(e){}}(),vt=mt&&mt.isArrayBuffer,yt=mt&&mt.isDate,bt=mt&&mt.isMap,wt=mt&&mt.isRegExp,Mt=mt&&mt.isSet,xt=mt&&mt.isTypedArray;function Et(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)}function _t(e,t,i,n){for(var r=-1,s=null==e?0:e.length;++r<s;){var a=e[r];t(n,a,i(a),e)}return n}function Ct(e,t){for(var i=-1,n=null==e?0:e.length;++i<n&&!1!==t(e[i],i,e););return e}function Tt(e,t){for(var i=null==e?0:e.length;i--&&!1!==t(e[i],i,e););return e}function St(e,t){for(var i=-1,n=null==e?0:e.length;++i<n;)if(!t(e[i],i,e))return!1;return!0}function It(e,t){for(var i=-1,n=null==e?0:e.length,r=0,s=[];++i<n;){var a=e[i];t(a,i,e)&&(s[r++]=a)}return s}function At(e,t){return!(null==e||!e.length)&&Rt(e,t,0)>-1}function jt(e,t,i){for(var n=-1,r=null==e?0:e.length;++n<r;)if(i(t,e[n]))return!0;return!1}function $t(e,t){for(var i=-1,n=null==e?0:e.length,r=Array(n);++i<n;)r[i]=t(e[i],i,e);return r}function Ot(e,t){for(var i=-1,n=t.length,r=e.length;++i<n;)e[r+i]=t[i];return e}function Dt(e,t,i,n){var r=-1,s=null==e?0:e.length;for(n&&s&&(i=e[++r]);++r<s;)i=t(i,e[r],r,e);return i}function Nt(e,t,i,n){var r=null==e?0:e.length;for(n&&r&&(i=e[--r]);r--;)i=t(i,e[r],r,e);return i}function kt(e,t){for(var i=-1,n=null==e?0:e.length;++i<n;)if(t(e[i],i,e))return!0;return!1}var zt=Ht("length");function Lt(e,t,i){var n;return i(e,(function(e,i,r){if(t(e,i,r))return n=i,!1})),n}function Pt(e,t,i,n){for(var r=e.length,s=i+(n?1:-1);n?s--:++s<r;)if(t(e[s],s,e))return s;return-1}function Rt(e,t,i){return t==t?function(e,t,i){for(var n=i-1,r=e.length;++n<r;)if(e[n]===t)return n;return-1}(e,t,i):Pt(e,Ut,i)}function Bt(e,t,i,n){for(var r=i-1,s=e.length;++r<s;)if(n(e[r],t))return r;return-1}function Ut(e){return e!=e}function Ft(e,t){var i=null==e?0:e.length;return i?qt(e,t)/i:p}function Ht(e){return function(t){return null==t?r:t[e]}}function Yt(e){return function(t){return null==e?r:e[t]}}function Qt(e,t,i,n,r){return r(e,(function(e,r,s){i=n?(n=!1,e):t(i,e,r,s)})),i}function qt(e,t){for(var i,n=-1,s=e.length;++n<s;){var a=t(e[n]);a!==r&&(i=i===r?a:i+a)}return i}function Gt(e,t){for(var i=-1,n=Array(e);++i<e;)n[i]=t(i);return n}function Xt(e){return e?e.slice(0,ui(e)+1).replace(ne,""):e}function Wt(e){return function(t){return e(t)}}function Vt(e,t){return $t(t,(function(t){return e[t]}))}function Kt(e,t){return e.has(t)}function Zt(e,t){for(var i=-1,n=e.length;++i<n&&Rt(t,e[i],0)>-1;);return i}function Jt(e,t){for(var i=e.length;i--&&Rt(t,e[i],0)>-1;);return i}var ei=Yt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),ti=Yt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function ii(e){return"\\"+at[e]}function ni(e){return et.test(e)}function ri(e){var t=-1,i=Array(e.size);return e.forEach((function(e,n){i[++t]=[n,e]})),i}function si(e,t){return function(i){return e(t(i))}}function ai(e,t){for(var i=-1,n=e.length,r=0,s=[];++i<n;){var a=e[i];a!==t&&a!==o||(e[i]=o,s[r++]=i)}return s}function oi(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=e})),i}function li(e){var t=-1,i=Array(e.size);return e.forEach((function(e){i[++t]=[e,e]})),i}function ci(e){return ni(e)?function(e){for(var t=Ze.lastIndex=0;Ze.test(e);)++t;return t}(e):zt(e)}function di(e){return ni(e)?function(e){return e.match(Ze)||[]}(e):function(e){return e.split("")}(e)}function ui(e){for(var t=e.length;t--&&re.test(e.charAt(t)););return t}var pi=Yt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),hi=function e(t){var i,n=(t=null==t?ut:hi.defaults(ut.Object(),t,hi.pick(ut,it))).Array,re=t.Date,Me=t.Error,xe=t.Function,Ee=t.Math,_e=t.Object,Ce=t.RegExp,Te=t.String,Se=t.TypeError,Ie=n.prototype,Ae=xe.prototype,je=_e.prototype,$e=t["__core-js_shared__"],Oe=Ae.toString,De=je.hasOwnProperty,Ne=0,ke=(i=/[^.]+$/.exec($e&&$e.keys&&$e.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",ze=je.toString,Le=Oe.call(_e),Pe=ut._,Re=Ce("^"+Oe.call(De).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Be=ft?t.Buffer:r,Ue=t.Symbol,Fe=t.Uint8Array,He=Be?Be.allocUnsafe:r,Ye=si(_e.getPrototypeOf,_e),Qe=_e.create,qe=je.propertyIsEnumerable,Ge=Ie.splice,Xe=Ue?Ue.isConcatSpreadable:r,We=Ue?Ue.iterator:r,Ze=Ue?Ue.toStringTag:r,et=function(){try{var e=ls(_e,"defineProperty");return e({},"",{}),e}catch(e){}}(),at=t.clearTimeout!==ut.clearTimeout&&t.clearTimeout,ct=re&&re.now!==ut.Date.now&&re.now,dt=t.setTimeout!==ut.setTimeout&&t.setTimeout,pt=Ee.ceil,ht=Ee.floor,gt=_e.getOwnPropertySymbols,mt=Be?Be.isBuffer:r,zt=t.isFinite,Yt=Ie.join,fi=si(_e.keys,_e),gi=Ee.max,mi=Ee.min,vi=re.now,yi=t.parseInt,bi=Ee.random,wi=Ie.reverse,Mi=ls(t,"DataView"),xi=ls(t,"Map"),Ei=ls(t,"Promise"),_i=ls(t,"Set"),Ci=ls(t,"WeakMap"),Ti=ls(_e,"create"),Si=Ci&&new Ci,Ii={},Ai=zs(Mi),ji=zs(xi),$i=zs(Ei),Oi=zs(_i),Di=zs(Ci),Ni=Ue?Ue.prototype:r,ki=Ni?Ni.valueOf
vendor: 8,802 bytes, line 2
2:r,zi=Ni?Ni.toString:r;function Li(e){if(Ja(e)&&!Fa(e)&&!(e instanceof Ui)){if(e instanceof Bi)return e;if(De.call(e,"__wrapped__"))return Ls(e)}return new Bi(e)}var Pi=function(){function e(){}return function(t){if(!Za(t))return{};if(Qe)return Qe(t);e.prototype=t;var i=new e;return e.prototype=r,i}}();function Ri(){}function Bi(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Ui(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Fi(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function Hi(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function Yi(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function Qi(e){var t=-1,i=null==e?0:e.length;for(this.__data__=new Yi;++t<i;)this.add(e[t])}function qi(e){var t=this.__data__=new Hi(e);this.size=t.size}function Gi(e,t){var i=Fa(e),n=!i&&Ua(e),r=!i&&!n&&qa(e),s=!i&&!n&&!r&&oo(e),a=i||n||r||s,o=a?Gt(e.length,Te):[],l=o.length;for(var c in e)!t&&!De.call(e,c)||a&&("length"==c||r&&("offset"==c||"parent"==c)||s&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||gs(c,l))||o.push(c);return o}function Xi(e){var t=e.length;return t?e[Qn(0,t-1)]:r}function Wi(e,t){return $s(Tr(e),sn(t,0,e.length))}function Vi(e){return $s(Tr(e))}function Ki(e,t,i){(i!==r&&!Pa(e[t],i)||i===r&&!(t in e))&&nn(e,t,i)}function Zi(e,t,i){var n=e[t];De.call(e,t)&&Pa(n,i)&&(i!==r||t in e)||nn(e,t,i)}function Ji(e,t){for(var i=e.length;i--;)if(Pa(e[i][0],t))return i;return-1}function en(e,t,i,n){return dn(e,(function(e,r,s){t(n,e,i(e),s)})),n}function tn(e,t){return e&&Sr(t,jo(t),e)}function nn(e,t,i){"__proto__"==t&&et?et(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i}function rn(e,t){for(var i=-1,s=t.length,a=n(s),o=null==e;++i<s;)a[i]=o?r:Co(e,t[i]);return a}function sn(e,t,i){return e==e&&(i!==r&&(e=e<=i?e:i),t!==r&&(e=e>=t?e:t)),e}function an(e,t,i,n,s,a){var o,l=1&t,c=2&t,d=4&t;if(i&&(o=s?i(e,n,s,a):i(e)),o!==r)return o;if(!Za(e))return e;var u=Fa(e);if(u){if(o=function(e){var t=e.length,i=new e.constructor(t);return t&&"string"==typeof e[0]&&De.call(e,"index")&&(i.index=e.index,i.input=e.input),i}(e),!l)return Tr(e,o)}else{var p=us(e),h=p==w||p==M;if(qa(e))return wr(e,l);if(p==_||p==g||h&&!s){if(o=c||h?{}:hs(e),!l)return c?function(e,t){return Sr(e,ds(e),t)}(e,function(e,t){return e&&Sr(t,$o(t),e)}(o,e)):function(e,t){return Sr(e,cs(e),t)}(e,tn(o,e))}else{if(!st[p])return s?e:{};o=function(e,t,i){var n,r=e.constructor;switch(t){case $:return Mr(e);case v:case y:return new r(+e);case O:return function(e,t){var i=t?Mr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}(e,i);case D:case N:case k:case z:case L:case P:case R:case B:case U:return xr(e,i);case x:return new r;case E:case I:return new r(e);case T:return function(e){var t=new e.constructor(e.source,pe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case S:return new r;case A:return n=e,ki?_e(ki.call(n)):{}}}(e,p,l)}}a||(a=new qi);var f=a.get(e);if(f)return f;a.set(e,o),ro(e)?e.forEach((function(n){o.add(an(n,t,i,n,e,a))})):eo(e)&&e.forEach((function(n,r){o.set(r,an(n,t,i,r,e,a))}));var m=u?r:(d?c?ts:es:c?$o:jo)(e);return Ct(m||e,(function(n,r){m&&(n=e[r=n]),Zi(o,r,an(n,t,i,r,e,a))})),o}function on(e,t,i){var n=i.length;if(null==e)return!n;for(e=_e(e);n--;){var s=i[n],a=t[s],o=e[s];if(o===r&&!(s in e)||!a(o))return!1}return!0}function ln(e,t,i){if("function"!=typeof e)throw new Se(s);return Ss((function(){e.apply(r,i)}),t)}function cn(e,t,i,n){var r=-1,s=At,a=!0,o=e.length,l=[],c=t.length;if(!o)return l;i&&(t=$t(t,Wt(i))),n?(s=jt,a=!1):t.length>=200&&(s=Kt,a=!1,t=new Qi(t));e:for(;++r<o;){var d=e[r],u=null==i?d:i(d);if(d=n||0!==d?d:0,a&&u==u){for(var p=c;p--;)if(t[p]===u)continue e;l.push(d)}else s(t,u,n)||l.push(d)}return l}Li.templateSettings={escape:W,evaluate:V,interpolate:K,variable:"",imports:{_:Li}},Li.prototype=Ri.prototype,Li.prototype.constructor=Li,Bi.prototype=Pi(Ri.prototype),Bi.prototype.constructor=Bi,Ui.prototype=Pi(Ri.prototype),Ui.prototype.constructor=Ui,Fi.prototype.clear=function(){this.__data__=Ti?Ti(null):{},this.size=0},Fi.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Fi.prototype.get=function(e){var t=this.__data__;if(Ti){var i=t[e];return i===a?r:i}return De.call(t,e)?t[e]:r},Fi.prototype.has=function(e){var t=this.__data__;return Ti?t[e]!==r:De.call(t,e)},Fi.prototype.set=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=Ti&&t===r?a:t,this},Hi.prototype.clear=function(){this.__data__=[],this.size=0},Hi.prototype.delete=function(e){var t=this.__data__,i=Ji(t,e);return!(i<0||(i==t.length-1?t.pop():Ge.call(t,i,1),--this.size,0))},Hi.prototype.get=function(e){var t=this.__data__,i=Ji(t,e);return i<0?r:t[i][1]},Hi.prototype.has=function(e){return Ji(this.__data__,e)>-1},Hi.prototype.set=function(e,t){var i=this.__data__,n=Ji(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this},Yi.prototype.clear=function(){this.size=0,this.__data__={hash:new Fi,map:new(xi||Hi),string:new Fi}},Yi.prototype.delete=function(e){var t=as(this,e).delete(e);return this.size-=t?1:0,t},Yi.prototype.get=function(e){return as(this,e).get(e)},Yi.prototype.has=function(e){return as(this,e).has(e)},Yi.prototype.set=function(e,t){var i=as(this,e),n=i.size;return i.set(e,t),this.size+=i.size==n?0:1,this},Qi.prototype.add=Qi.prototype.push=function(e){return this.__data__.set(e,a),this},Qi.prototype.has=function(e){return this.__data__.has(e)},qi.prototype.clear=function(){this.__data__=new Hi,this.size=0},qi.prototype.delete=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i},qi.prototype.get=function(e){return this.__data__.get(e)},qi.prototype.has=function(e){return this.__data__.has(e)},qi.prototype.set=function(e,t){var i=this.__data__;if(i instanceof Hi){var n=i.__data__;if(!xi||n.length<199)return n.push([e,t]),this.size=++i.size,this;i=this.__data__=new Yi(n)}return i.set(e,t),this.size=i.size,this};var dn=jr(yn),un=jr(bn,!0);function pn(e,t){var i=!0;return dn(e,(function(e,n,r){return i=!!t(e,n,r)})),i}function hn(e,t,i){for(var n=-1,s=e.length;++n<s;){var a=e[n],o=t(a);if(null!=o&&(l===r?o==o&&!ao(o):i(o,l)))var l=o,c=a}return c}function fn(e,t){var i=[];return dn(e,(function(e,n,r){t(e,n,r)&&i.push(e)})),i}function gn(e,t,i,n,r){var s=-1,a=e.length;for(i||(i=fs),r||(r=[]);++s<a;){var o=e[s];t>0&&i(o)?t>1?gn(o,t-1,i,n,r):Ot(r,o):n||(r[r.length]=o)}return r}var mn=$r(),vn=$r(!0);function yn(e,t){return e&&mn(e,t,jo)}function bn(e,t){return e&&vn(e,t,jo)}function wn(e,t){return It(t,(function(t){return Wa(e[t])}))}function Mn(e,t){for(var i=0,n=(t=mr(t,e)).length;null!=e&&i<n;)e=e[ks(t[i++])];return i&&i==n?e:r}function xn(e,t,i){var n=t(e);return Fa(e)?n:Ot(n,i(e))}function En(e){return null==e?e===r?"[object Undefined]":"[object Null]":Ze&&Ze in _e(e)?function(e){var t=De.call(e,Ze),i=e[Ze];try{e[Ze]=r;var n=!0}catch(e){}var s=ze.call(e);return n&&(t?e[Ze]=i:delete e[Ze]),s}(e):function(e){return ze.call(e)}(e)}function _n(e,t){return e>t}function Cn(e,t){return null!=e&&De.call(e,t)}function Tn(e,t){return null!=e&&t in _e(e)}function Sn(e,t,i){for(var s=i?jt:At,a=e[0].length,o=e.length,l=o,c=n(o),d=1/0,u=[];l--;){var p=e[l];l&&t&&(p=$t(p,Wt(t))),d=mi(p.length,d),c[l]=!i&&(t||a>=120&&p.length>=120)?new Qi(l&&p):r}p=e[0];var h=-1,f=c[0];e:for(;++h<a&&u.length<d;){var g=p[h],m=t?t(g):g;if(g=i||0!==g?g:0,!(f?Kt(f,m):s(u,m,i))){for(l=o;--l;){var v=c[l];if(!(v?Kt(v,m):s(e[l],m,i)))continue e}f&&f.push(m),u.push(g)}}return u}function In(e,t,i){var n=null==(e=_s(e,t=mr(t,e)))?e:e[ks(Xs(t))];return null==n?r:Et(n,e,i)}function An(e){return Ja(e)&&En(e)==g}function jn(e,t,i,n,s){return e===t||(null==e||null==t||!Ja(e)&&!Ja(t)?e!=e&&t!=t:function(e,t,i,n,s,a){var o=Fa(e),l=Fa(t),c=o?m:us(e),d=l?m:us(t),u=(c=c==g?_:c)==_,p=(d=d==g?_:d)==_,h=c==d;if(h&&qa(e)){if(!qa(t))return!1;o=!0,u=!1}if(h&&!u)return a||(a=new qi),o||oo(e)?Zr(e,t,i,n,s,a):function(e,t,i,n,r,s,a){switch(i){case O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case $:return!(e.byteLength!=t.byteLength||!s(new Fe(e),new Fe(t)));case v:case y:case E:return Pa(+e,+t);case b:return e.name==t.name&&e.message==t.message;case T:case I:return e==t+"";case x:var o=ri;case S:var l=1&n;if(o||(o=oi),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;n|=2,a.set(e,t);var d=Zr(o(e),o(t),n,r,s,a);return a.delete(e),d;case A:if(ki)return ki.call(e)==ki.call(t)}return!1}(e,t,c,i,n,s,a);if(!(1&i)){var f=u&&De.call(e,"__wrapped__"),w=p&&De.call(t,"__wrapped__");
vendor: 4,554 bytes, line 2
2if(f||w){var M=f?e.value():e,C=w?t.value():t;return a||(a=new qi),s(M,C,i,n,a)}}return!!h&&(a||(a=new qi),function(e,t,i,n,s,a){var o=1&i,l=es(e),c=l.length;if(c!=es(t).length&&!o)return!1;for(var d=c;d--;){var u=l[d];if(!(o?u in t:De.call(t,u)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var f=!0;a.set(e,t),a.set(t,e);for(var g=o;++d<c;){var m=e[u=l[d]],v=t[u];if(n)var y=o?n(v,m,u,t,e,a):n(m,v,u,e,t,a);if(!(y===r?m===v||s(m,v,i,n,a):y)){f=!1;break}g||(g="constructor"==u)}if(f&&!g){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(f=!1)}return a.delete(e),a.delete(t),f}(e,t,i,n,s,a))}(e,t,i,n,jn,s))}function $n(e,t,i,n){var s=i.length,a=s,o=!n;if(null==e)return!a;for(e=_e(e);s--;){var l=i[s];if(o&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++s<a;){var c=(l=i[s])[0],d=e[c],u=l[1];if(o&&l[2]){if(d===r&&!(c in e))return!1}else{var p=new qi;if(n)var h=n(d,u,c,e,t,p);if(!(h===r?jn(u,d,3,n,p):h))return!1}}return!0}function On(e){return!(!Za(e)||(t=e,ke&&ke in t))&&(Wa(e)?Re:ge).test(zs(e));var t}function Dn(e){return"function"==typeof e?e:null==e?il:"object"==typeof e?Fa(e)?Pn(e[0],e[1]):Ln(e):ul(e)}function Nn(e){if(!ws(e))return fi(e);var t=[];for(var i in _e(e))De.call(e,i)&&"constructor"!=i&&t.push(i);return t}function kn(e,t){return e<t}function zn(e,t){var i=-1,r=Ya(e)?n(e.length):[];return dn(e,(function(e,n,s){r[++i]=t(e,n,s)})),r}function Ln(e){var t=os(e);return 1==t.length&&t[0][2]?xs(t[0][0],t[0][1]):function(i){return i===e||$n(i,e,t)}}function Pn(e,t){return vs(e)&&Ms(t)?xs(ks(e),t):function(i){var n=Co(i,e);return n===r&&n===t?To(i,e):jn(t,n,3)}}function Rn(e,t,i,n,s){e!==t&&mn(t,(function(a,o){if(s||(s=new qi),Za(a))!function(e,t,i,n,s,a,o){var l=Cs(e,i),c=Cs(t,i),d=o.get(c);if(d)Ki(e,i,d);else{var u=a?a(l,c,i+"",e,t,o):r,p=u===r;if(p){var h=Fa(c),f=!h&&qa(c),g=!h&&!f&&oo(c);u=c,h||f||g?Fa(l)?u=l:Qa(l)?u=Tr(l):f?(p=!1,u=wr(c,!0)):g?(p=!1,u=xr(c,!0)):u=[]:io(c)||Ua(c)?(u=l,Ua(l)?u=mo(l):Za(l)&&!Wa(l)||(u=hs(c))):p=!1}p&&(o.set(c,u),s(u,c,n,a,o),o.delete(c)),Ki(e,i,u)}}(e,t,o,i,Rn,n,s);else{var l=n?n(Cs(e,o),a,o+"",e,t,s):r;l===r&&(l=a),Ki(e,o,l)}}),$o)}function Bn(e,t){var i=e.length;if(i)return gs(t+=t<0?i:0,i)?e[t]:r}function Un(e,t,i){t=t.length?$t(t,(function(e){return Fa(e)?function(t){return Mn(t,1===e.length?e[0]:e)}:e})):[il];var n=-1;t=$t(t,Wt(ss()));var r=zn(e,(function(e,i,r){var s=$t(t,(function(t){return t(e)}));return{criteria:s,index:++n,value:e}}));return function(e,t){var n=e.length;for(e.sort((function(e,t){return function(e,t,i){for(var n=-1,r=e.criteria,s=t.criteria,a=r.length,o=i.length;++n<a;){var l=Er(r[n],s[n]);if(l)return n>=o?l:l*("desc"==i[n]?-1:1)}return e.index-t.index}(e,t,i)}));n--;)e[n]=e[n].value;return e}(r)}function Fn(e,t,i){for(var n=-1,r=t.length,s={};++n<r;){var a=t[n],o=Mn(e,a);i(o,a)&&Vn(s,mr(a,e),o)}return s}function Hn(e,t,i,n){var r=n?Bt:Rt,s=-1,a=t.length,o=e;for(e===t&&(t=Tr(t)),i&&(o=$t(e,Wt(i)));++s<a;)for(var l=0,c=t[s],d=i?i(c):c;(l=r(o,d,l,n))>-1;)o!==e&&Ge.call(o,l,1),Ge.call(e,l,1);return e}function Yn(e,t){for(var i=e?t.length:0,n=i-1;i--;){var r=t[i];if(i==n||r!==s){var s=r;gs(r)?Ge.call(e,r,1):lr(e,r)}}return e}function Qn(e,t){return e+ht(bi()*(t-e+1))}function qn(e,t){var i="";if(!e||t<1||t>u)return i;do{t%2&&(i+=e),(t=ht(t/2))&&(e+=e)}while(t);return i}function Gn(e,t){return Is(Es(e,t,il),e+"")}function Xn(e){return Xi(Ro(e))}function Wn(e,t){var i=Ro(e);return $s(i,sn(t,0,i.length))}function Vn(e,t,i,n){if(!Za(e))return e;for(var s=-1,a=(t=mr(t,e)).length,o=a-1,l=e;null!=l&&++s<a;){var c=ks(t[s]),d=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(s!=o){var u=l[c];(d=n?n(u,c,l):r)===r&&(d=Za(u)?u:gs(t[s+1])?[]:{})}Zi(l,c,d),l=l[c]}return e}var Kn=Si?function(e,t){return Si.set(e,t),e}:il,Zn=et?function(e,t){return et(e,"toString",{configurable:!0,enumerable:!1,value:Jo(t),writable:!0})}:il;function Jn(e){return $s(Ro(e))}function er(e,t,i){var r=-1,s=e.length;t<0&&(t=-t>s?0:s+t),(i=i>s?s:i)<0&&(i+=s),s=t>i?0:i-t>>>0,t>>>=0;for(var a=n(s);++r<s;)a[r]=e[r+t];return a}function tr(e,t){var i;return dn(e,(function(e,n,r){return!(i=t(e,n,r))})),!!i}function ir(e,t,i){var n=0,r=null==e?n:e.length;if("number"==typeof t&&t==t&&r<=2147483647){for(;n<r;){var s=n+r>>>1,a=e[s];null!==a&&!ao(a)&&(i?a<=t:a<t)?n=s+1:r=s}return r}return nr(e,t,il,i)}function nr(e,t,i,n){var s=0,a=null==e?0:e.length;if(0===a)return 0;for(var o=(t=i(t))!=t,l=null===t,c=ao(t),d=t===r;s<a;
vendor: 4,508 bytes, line 2
2){var u=ht((s+a)/2),p=i(e[u]),h=p!==r,f=null===p,g=p==p,m=ao(p);if(o)var v=n||g;else v=d?g&&(n||h):l?g&&h&&(n||!f):c?g&&h&&!f&&(n||!m):!f&&!m&&(n?p<=t:p<t);v?s=u+1:a=u}return mi(a,4294967294)}function rr(e,t){for(var i=-1,n=e.length,r=0,s=[];++i<n;){var a=e[i],o=t?t(a):a;if(!i||!Pa(o,l)){var l=o;s[r++]=0===a?0:a}}return s}function sr(e){return"number"==typeof e?e:ao(e)?p:+e}function ar(e){if("string"==typeof e)return e;if(Fa(e))return $t(e,ar)+"";if(ao(e))return zi?zi.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function or(e,t,i){var n=-1,r=At,s=e.length,a=!0,o=[],l=o;if(i)a=!1,r=jt;else if(s>=200){var c=t?null:qr(e);if(c)return oi(c);a=!1,r=Kt,l=new Qi}else l=t?[]:o;e:for(;++n<s;){var d=e[n],u=t?t(d):d;if(d=i||0!==d?d:0,a&&u==u){for(var p=l.length;p--;)if(l[p]===u)continue e;t&&l.push(u),o.push(d)}else r(l,u,i)||(l!==o&&l.push(u),o.push(d))}return o}function lr(e,t){return null==(e=_s(e,t=mr(t,e)))||delete e[ks(Xs(t))]}function cr(e,t,i,n){return Vn(e,t,i(Mn(e,t)),n)}function dr(e,t,i,n){for(var r=e.length,s=n?r:-1;(n?s--:++s<r)&&t(e[s],s,e););return i?er(e,n?0:s,n?s+1:r):er(e,n?s+1:0,n?r:s)}function ur(e,t){var i=e;return i instanceof Ui&&(i=i.value()),Dt(t,(function(e,t){return t.func.apply(t.thisArg,Ot([e],t.args))}),i)}function pr(e,t,i){var r=e.length;if(r<2)return r?or(e[0]):[];for(var s=-1,a=n(r);++s<r;)for(var o=e[s],l=-1;++l<r;)l!=s&&(a[s]=cn(a[s]||o,e[l],t,i));return or(gn(a,1),t,i)}function hr(e,t,i){for(var n=-1,s=e.length,a=t.length,o={};++n<s;){var l=n<a?t[n]:r;i(o,e[n],l)}return o}function fr(e){return Qa(e)?e:[]}function gr(e){return"function"==typeof e?e:il}function mr(e,t){return Fa(e)?e:vs(e,t)?[e]:Ns(vo(e))}var vr=Gn;function yr(e,t,i){var n=e.length;return i=i===r?n:i,!t&&i>=n?e:er(e,t,i)}var br=at||function(e){return ut.clearTimeout(e)};function wr(e,t){if(t)return e.slice();var i=e.length,n=He?He(i):new e.constructor(i);return e.copy(n),n}function Mr(e){var t=new e.constructor(e.byteLength);return new Fe(t).set(new Fe(e)),t}function xr(e,t){var i=t?Mr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}function Er(e,t){if(e!==t){var i=e!==r,n=null===e,s=e==e,a=ao(e),o=t!==r,l=null===t,c=t==t,d=ao(t);if(!l&&!d&&!a&&e>t||a&&o&&c&&!l&&!d||n&&o&&c||!i&&c||!s)return 1;if(!n&&!a&&!d&&e<t||d&&i&&s&&!n&&!a||l&&i&&s||!o&&s||!c)return-1}return 0}function _r(e,t,i,r){for(var s=-1,a=e.length,o=i.length,l=-1,c=t.length,d=gi(a-o,0),u=n(c+d),p=!r;++l<c;)u[l]=t[l];for(;++s<o;)(p||s<a)&&(u[i[s]]=e[s]);for(;d--;)u[l++]=e[s++];return u}function Cr(e,t,i,r){for(var s=-1,a=e.length,o=-1,l=i.length,c=-1,d=t.length,u=gi(a-l,0),p=n(u+d),h=!r;++s<u;)p[s]=e[s];for(var f=s;++c<d;)p[f+c]=t[c];for(;++o<l;)(h||s<a)&&(p[f+i[o]]=e[s++]);return p}function Tr(e,t){var i=-1,r=e.length;for(t||(t=n(r));++i<r;)t[i]=e[i];return t}function Sr(e,t,i,n){var s=!i;i||(i={});for(var a=-1,o=t.length;++a<o;){var l=t[a],c=n?n(i[l],e[l],l,i,e):r;c===r&&(c=e[l]),s?nn(i,l,c):Zi(i,l,c)}return i}function Ir(e,t){return function(i,n){var r=Fa(i)?_t:en,s=t?t():{};return r(i,e,ss(n,2),s)}}function Ar(e){return Gn((function(t,i){var n=-1,s=i.length,a=s>1?i[s-1]:r,o=s>2?i[2]:r;for(a=e.length>3&&"function"==typeof a?(s--,a):r,o&&ms(i[0],i[1],o)&&(a=s<3?r:a,s=1),t=_e(t);++n<s;){var l=i[n];l&&e(t,l,n,a)}return t}))}function jr(e,t){return function(i,n){if(null==i)return i;if(!Ya(i))return e(i,n);for(var r=i.length,s=t?r:-1,a=_e(i);(t?s--:++s<r)&&!1!==n(a[s],s,a););return i}}function $r(e){return function(t,i,n){for(var r=-1,s=_e(t),a=n(t),o=a.length;o--;){var l=a[e?o:++r];if(!1===i(s[l],l,s))break}return t}}function Or(e){return function(t){var i=ni(t=vo(t))?di(t):r,n=i?i[0]:t.charAt(0),s=i?yr(i,1).join(""):t.slice(1);return n[e]()+s}}function Dr(e){return function(t){return Dt(Vo(Fo(t).replace(Ve,"")),e,"")}}function Nr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var i=Pi(e.prototype),n=e.apply(i,t);return Za(n)?n:i}}function kr(e){return function(t,i,n){var s=_e(t);if(!Ya(t)){var a=ss(i,3);t=jo(t),i=function(e){return a(s[e],e,s)}}var o=e(t,i,n);return o>-1?s[a?t[o]:o]:r}}function zr(e){return Jr((function(t){var i=t.length,n=i,a=Bi.prototype.thru;for(e&&t.reverse();n--;){var o=t[n];if("function"!=typeof o)throw new Se(s);
vendor: 20,171 bytes, line 2
2if(a&&!l&&"wrapper"==ns(o))var l=new Bi([],!0)}for(n=l?n:i;++n<i;){var c=ns(o=t[n]),d="wrapper"==c?is(o):r;l=d&&ys(d[0])&&424==d[1]&&!d[4].length&&1==d[9]?l[ns(d[0])].apply(l,d[3]):1==o.length&&ys(o)?l[c]():l.thru(o)}return function(){var e=arguments,n=e[0];if(l&&1==e.length&&Fa(n))return l.plant(n).value();for(var r=0,s=i?t[r].apply(this,e):n;++r<i;)s=t[r].call(this,s);return s}}))}function Lr(e,t,i,s,a,o,l,d,u,p){var h=t&c,f=1&t,g=2&t,m=24&t,v=512&t,y=g?r:Nr(e);return function c(){for(var b=arguments.length,w=n(b),M=b;M--;)w[M]=arguments[M];if(m)var x=rs(c),E=function(e,t){for(var i=e.length,n=0;i--;)e[i]===t&&++n;return n}(w,x);if(s&&(w=_r(w,s,a,m)),o&&(w=Cr(w,o,l,m)),b-=E,m&&b<p){var _=ai(w,x);return Yr(e,t,Lr,c.placeholder,i,w,_,d,u,p-b)}var C=f?i:this,T=g?C[e]:e;return b=w.length,d?w=function(e,t){for(var i=e.length,n=mi(t.length,i),s=Tr(e);n--;){var a=t[n];e[n]=gs(a,i)?s[a]:r}return e}(w,d):v&&b>1&&w.reverse(),h&&u<b&&(w.length=u),this&&this!==ut&&this instanceof c&&(T=y||Nr(T)),T.apply(C,w)}}function Pr(e,t){return function(i,n){return function(e,t,i,n){return yn(e,(function(e,r,s){t(n,i(e),r,s)})),n}(i,e,t(n),{})}}function Rr(e,t){return function(i,n){var s;if(i===r&&n===r)return t;if(i!==r&&(s=i),n!==r){if(s===r)return n;"string"==typeof i||"string"==typeof n?(i=ar(i),n=ar(n)):(i=sr(i),n=sr(n)),s=e(i,n)}return s}}function Br(e){return Jr((function(t){return t=$t(t,Wt(ss())),Gn((function(i){var n=this;return e(t,(function(e){return Et(e,n,i)}))}))}))}function Ur(e,t){var i=(t=t===r?" ":ar(t)).length;if(i<2)return i?qn(t,e):t;var n=qn(t,pt(e/ci(t)));return ni(t)?yr(di(n),0,e).join(""):n.slice(0,e)}function Fr(e){return function(t,i,s){return s&&"number"!=typeof s&&ms(t,i,s)&&(i=s=r),t=po(t),i===r?(i=t,t=0):i=po(i),function(e,t,i,r){for(var s=-1,a=gi(pt((t-e)/(i||1)),0),o=n(a);a--;)o[r?a:++s]=e,e+=i;return o}(t,i,s=s===r?t<i?1:-1:po(s),e)}}function Hr(e){return function(t,i){return"string"==typeof t&&"string"==typeof i||(t=go(t),i=go(i)),e(t,i)}}function Yr(e,t,i,n,s,a,o,c,d,u){var p=8&t;t|=p?l:64,4&(t&=~(p?64:l))||(t&=-4);var h=[e,t,s,p?a:r,p?o:r,p?r:a,p?r:o,c,d,u],f=i.apply(r,h);return ys(e)&&Ts(f,h),f.placeholder=n,As(f,e,t)}function Qr(e){var t=Ee[e];return function(e,i){if(e=go(e),(i=null==i?0:mi(ho(i),292))&&zt(e)){var n=(vo(e)+"e").split("e");return+((n=(vo(t(n[0]+"e"+(+n[1]+i)))+"e").split("e"))[0]+"e"+(+n[1]-i))}return t(e)}}var qr=_i&&1/oi(new _i([,-0]))[1]==d?function(e){return new _i(e)}:ol;function Gr(e){return function(t){var i=us(t);return i==x?ri(t):i==S?li(t):function(e,t){return $t(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Xr(e,t,i,a,d,u,p,h){var f=2&t;if(!f&&"function"!=typeof e)throw new Se(s);var g=a?a.length:0;if(g||(t&=-97,a=d=r),p=p===r?p:gi(ho(p),0),h=h===r?h:ho(h),g-=d?d.length:0,64&t){var m=a,v=d;a=d=r}var y=f?r:is(e),b=[e,t,i,a,d,m,v,u,p,h];if(y&&function(e,t){var i=e[1],n=t[1],r=i|n,s=r<131,a=n==c&&8==i||n==c&&256==i&&e[7].length<=t[8]||384==n&&t[7].length<=t[8]&&8==i;if(!s&&!a)return e;1&n&&(e[2]=t[2],r|=1&i?0:4);var l=t[3];if(l){var d=e[3];e[3]=d?_r(d,l,t[4]):l,e[4]=d?ai(e[3],o):t[4]}(l=t[5])&&(d=e[5],e[5]=d?Cr(d,l,t[6]):l,e[6]=d?ai(e[5],o):t[6]),(l=t[7])&&(e[7]=l),n&c&&(e[8]=null==e[8]?t[8]:mi(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r}(b,y),e=b[0],t=b[1],i=b[2],a=b[3],d=b[4],!(h=b[9]=b[9]===r?f?0:e.length:gi(b[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)w=8==t||16==t?function(e,t,i){var s=Nr(e);return function a(){for(var o=arguments.length,l=n(o),c=o,d=rs(a);c--;)l[c]=arguments[c];var u=o<3&&l[0]!==d&&l[o-1]!==d?[]:ai(l,d);return(o-=u.length)<i?Yr(e,t,Lr,a.placeholder,r,l,u,r,r,i-o):Et(this&&this!==ut&&this instanceof a?s:e,this,l)}}(e,t,h):t!=l&&33!=t||d.length?Lr.apply(r,b):function(e,t,i,r){var s=1&t,a=Nr(e);return function t(){for(var o=-1,l=arguments.length,c=-1,d=r.length,u=n(d+l),p=this&&this!==ut&&this instanceof t?a:e;++c<d;)u[c]=r[c];for(;l--;)u[c++]=arguments[++o];return Et(p,s?i:this,u)}}(e,t,i,a);else var w=function(e,t,i){var n=1&t,r=Nr(e);return function t(){return(this&&this!==ut&&this instanceof t?r:e).apply(n?i:this,arguments)}}(e,t,i);return As((y?Kn:Ts)(w,b),e,t)}function Wr(e,t,i,n){return e===r||Pa(e,je[i])&&!De.call(n,i)?t:e}function Vr(e,t,i,n,s,a){return Za(e)&&Za(t)&&(a.set(t,e),Rn(e,t,r,Vr,a),a.delete(t)),e}function Kr(e){return io(e)?r:e}function Zr(e,t,i,n,s,a){var o=1&i,l=e.length,c=t.length;if(l!=c&&!(o&&c>l))return!1;var d=a.get(e),u=a.get(t);if(d&&u)return d==t&&u==e;var p=-1,h=!0,f=2&i?new Qi:r;for(a.set(e,t),a.set(t,e);++p<l;){var g=e[p],m=t[p];if(n)var v=o?n(m,g,p,t,e,a):n(g,m,p,e,t,a);if(v!==r){if(v)continue;h=!1;break}if(f){if(!kt(t,(function(e,t){if(!Kt(f,t)&&(g===e||s(g,e,i,n,a)))return f.push(t)}))){h=!1;break}}else if(g!==m&&!s(g,m,i,n,a)){h=!1;break}}return a.delete(e),a.delete(t),h}function Jr(e){return Is(Es(e,r,Hs),e+"")}function es(e){return xn(e,jo,cs)}function ts(e){return xn(e,$o,ds)}var is=Si?function(e){return Si.get(e)}:ol;function ns(e){for(var t=e.name+"",i=Ii[t],n=De.call(Ii,t)?i.length:0;n--;){var r=i[n],s=r.func;if(null==s||s==e)return r.name}return t}function rs(e){return(De.call(Li,"placeholder")?Li:e).placeholder}function ss(){var e=Li.iteratee||nl;return e=e===nl?Dn:e,arguments.length?e(arguments[0],arguments[1]):e}function as(e,t){var i,n,r=e.__data__;return("string"==(n=typeof(i=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==i:null===i)?r["string"==typeof t?"string":"hash"]:r.map}function os(e){for(var t=jo(e),i=t.length;i--;){var n=t[i],r=e[n];t[i]=[n,r,Ms(r)]}return t}function ls(e,t){var i=function(e,t){return null==e?r:e[t]}(e,t);return On(i)?i:r}var cs=gt?function(e){return null==e?[]:(e=_e(e),It(gt(e),(function(t){return qe.call(e,t)})))}:fl,ds=gt?function(e){for(var t=[];e;)Ot(t,cs(e)),e=Ye(e);return t}:fl,us=En;function ps(e,t,i){for(var n=-1,r=(t=mr(t,e)).length,s=!1;++n<r;){var a=ks(t[n]);if(!(s=null!=e&&i(e,a)))break;e=e[a]}return s||++n!=r?s:!!(r=null==e?0:e.length)&&Ka(r)&&gs(a,r)&&(Fa(e)||Ua(e))}function hs(e){return"function"!=typeof e.constructor||ws(e)?{}:Pi(Ye(e))}function fs(e){return Fa(e)||Ua(e)||!!(Xe&&e&&e[Xe])}function gs(e,t){var i=typeof e;return!!(t=null==t?u:t)&&("number"==i||"symbol"!=i&&ve.test(e))&&e>-1&&e%1==0&&e<t}function ms(e,t,i){if(!Za(i))return!1;var n=typeof t;return!!("number"==n?Ya(i)&&gs(t,i.length):"string"==n&&t in i)&&Pa(i[t],e)}function vs(e,t){if(Fa(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!ao(e))||J.test(e)||!Z.test(e)||null!=t&&e in _e(t)}function ys(e){var t=ns(e),i=Li[t];if("function"!=typeof i||!(t in Ui.prototype))return!1;if(e===i)return!0;var n=is(i);return!!n&&e===n[0]}(Mi&&us(new Mi(new ArrayBuffer(1)))!=O||xi&&us(new xi)!=x||Ei&&us(Ei.resolve())!=C||_i&&us(new _i)!=S||Ci&&us(new Ci)!=j)&&(us=function(e){var t=En(e),i=t==_?e.constructor:r,n=i?zs(i):"";if(n)switch(n){case Ai:return O;case ji:return x;case $i:return C;case Oi:return S;case Di:return j}return t});var bs=$e?Wa:gl;function ws(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||je)}function Ms(e){return e==e&&!Za(e)}function xs(e,t){return function(i){return null!=i&&i[e]===t&&(t!==r||e in _e(i))}}function Es(e,t,i){return t=gi(t===r?e.length-1:t,0),function(){for(var r=arguments,s=-1,a=gi(r.length-t,0),o=n(a);++s<a;)o[s]=r[t+s];s=-1;for(var l=n(t+1);++s<t;)l[s]=r[s];return l[t]=i(o),Et(e,this,l)}}function _s(e,t){return t.length<2?e:Mn(e,er(t,0,-1))}function Cs(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ts=js(Kn),Ss=dt||function(e,t){return ut.setTimeout(e,t)},Is=js(Zn);function As(e,t,i){var n=t+"";return Is(e,function(e,t){var i=t.length;if(!i)return e;var n=i-1;return t[n]=(i>1?"& ":"")+t[n],t=t.join(i>2?", ":" "),e.replace(se,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Ct(f,(function(i){var n="_."+i[0];t&i[1]&&!At(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(oe):[]}(n),i)))}function js(e){var t=0,i=0;return function(){var n=vi(),s=16-(n-i);if(i=n,s>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function $s(e,t){var i=-1,n=e.length,s=n-1;for(t=t===r?n:t;++i<t;){var a=Qn(i,s),o=e[a];e[a]=e[i],e[i]=o}return e.length=t,e}var Os,Ds,Ns=(Os=Oa((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,i,n,r){t.push(n?r.replace(de,"$1"):i||e)})),t}),(function(e){return 500===Ds.size&&Ds.clear(),e})),Ds=Os.cache,Os);function ks(e){if("string"==typeof e||ao(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function zs(e){if(null!=e){try{return Oe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ls(e){if(e instanceof Ui)return e.clone();var t=new Bi(e.__wrapped__,e.__chain__);return t.__actions__=Tr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ps=Gn((function(e,t){return Qa(e)?cn(e,gn(t,1,Qa,!0)):[]})),Rs=Gn((function(e,t){var i=Xs(t);return Qa(i)&&(i=r),Qa(e)?cn(e,gn(t,1,Qa,!0),ss(i,2)):[]})),Bs=Gn((function(e,t){var i=Xs(t);return Qa(i)&&(i=r),Qa(e)?cn(e,gn(t,1,Qa,!0),r,i):[]}));function Us(e,t,i){var n=null==e?0:e.length;if(!n)return-1;var r=null==i?0:ho(i);return r<0&&(r=gi(n+r,0)),Pt(e,ss(t,3),r)}function Fs(e,t,i){var n=null==e?0:e.length;if(!n)return-1;var s=n-1;return i!==r&&(s=ho(i),s=i<0?gi(n+s,0):mi(s,n-1)),Pt(e,ss(t,3),s,!0)}function Hs(e){return null!=e&&e.length?gn(e,1):[]}function Ys(e){return e&&e.length?e[0]:r}var Qs=Gn((function(e){var t=$t(e,fr);return t.length&&t[0]===e[0]?Sn(t):[]})),qs=Gn((function(e){var t=Xs(e),i=$t(e,fr);return t===Xs(i)?t=r:i.pop(),i.length&&i[0]===e[0]?Sn(i,ss(t,2)):[]})),Gs=Gn((function(e){var t=Xs(e),i=$t(e,fr);return(t="function"==typeof t?t:r)&&i.pop(),i.length&&i[0]===e[0]?Sn(i,r,t):[]}));function Xs(e){var t=null==e?0:e.length;return t?e[t-1]:r}var Ws=Gn(Vs);function Vs(e,t){return e&&e.length&&t&&t.length?Hn(e,t):e}var Ks=Jr((function(e,t){var i=null==e?0:e.length,n=rn(e,t);return Yn(e,$t(t,(function(e){return gs(e,i)?+e:e})).sort(Er)),n}));function Zs(e){return null==e?e:wi.call(e)}var Js=Gn((function(e){return or(gn(e,1,Qa,!0))})),ea=Gn((function(e){var t=Xs(e);return Qa(t)&&(t=r),or(gn(e,1,Qa,!0),ss(t,2))})),ta=Gn((function(e){var t=Xs(e);return t="function"==typeof t?t:r,or(gn(e,1,Qa,!0),r,t)}));function ia(e){if(!e||!e.length)return[];var t=0;return e=It(e,(function(e){if(Qa(e))return t=gi(e.length,t),!0})),Gt(t,(function(t){return $t(e,Ht(t))}))}function na(e,t){if(!e||!e.length)return[];var i=ia(e);return null==t?i:$t(i,(function(e){return Et(t,r,e)}))}var ra=Gn((function(e,t){return Qa(e)?cn(e,t):[]})),sa=Gn((function(e){return pr(It(e,Qa))})),aa=Gn((function(e){var t=Xs(e);return Qa(t)&&(t=r),pr(It(e,Qa),ss(t,2))})),oa=Gn((function(e){var t=Xs(e);return t="function"==typeof t?t:r,pr(It(e,Qa),r,t)})),la=Gn(ia),ca=Gn((function(e){var t=e.length,i=t>1?e[t-1]:r;return i="function"==typeof i?(e.pop(),i):r,na(e,i)}));function da(e){var t=Li(e);return t.__chain__=!0,t}function ua(e,t){return t(e)}var pa=Jr((function(e){var t=e.length,i=t?e[0]:0,n=this.__wrapped__,s=function(t){return rn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Ui&&gs(i)?((n=n.slice(i,+i+(t?1:0))).__actions__.push({func:ua,args:[s],thisArg:r}),new Bi(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(r),e}))):this.thru(s)})),ha=Ir((function(e,t,i){De.call(e,i)?++e[i]:nn(e,i,1)})),fa=kr(Us),ga=kr(Fs);function ma(e,t){return(Fa(e)?Ct:dn)(e,ss(t,3))}function va(e,t){return(Fa(e)?Tt:un)(e,ss(t,3))}var ya=Ir((function(e,t,i){De.call(e,i)?e[i].push(t):nn(e,i,[t])})),ba=Gn((function(e,t,i){var r=-1,s="function"==typeof t,a=Ya(e)?n(e.length):[];return dn(e,(function(e){a[++r]=s?Et(t,e,i):In(e,t,i)})),a})),wa=Ir((function(e,t,i){nn(e,i,t)}));function Ma(e,t){return(Fa(e)?$t:zn)(e,ss(t,3))}var xa=Ir((function(e,t,i){e[i?0:1].push(t)}),(function(){return[[],[]]})),Ea=Gn((function(e,t){if(null==e)return[];var i=t.length;return i>1&&ms(e,t[0],t[1])?t=[]:i>2&&ms(t[0],t[1],t[2])&&(t=[t[0]]),Un(e,gn(t,1),[])})),_a=ct||function(){return ut.Date.now()};function Ca(e,t,i){return t=i?r:t,t=e&&null==t?e.length:t,Xr(e,c,r,r,r,r,t)}function Ta(e,t){var i;if("function"!=typeof t)throw new Se(s);return e=ho(e),function(){return--e>0&&(i=t.apply(this,arguments)),e<=1&&(t=r),i}}var Sa=Gn((function(e,t,i){var n=1;if(i.length){var r=ai(i,rs(Sa));n|=l}return Xr(e,n,t,i,r)})),Ia=Gn((function(e,t,i){var n=3;if(i.length){var r=ai(i,rs(Ia));n|=l}return Xr(t,n,e,i,r)}));function Aa(e,t,i){var n,a,o,l,c,d,u=0,p=!1,h=!1,f=!0;if("function"!=typeof e)throw new Se(s);function g(t){var i=n,s=a;return n=a=r,u=t,l=e.apply(s,i)}function m(e){var i=e-d;return d===r||i>=t||i<0||h&&e-u>=o}function v(){var e=_a();if(m(e))return y(e);c=Ss(v,function(e){var i=t-(e-d);return h?mi(i,o-(e-u)):i}(e))}function y(e){return c=r,f&&n?g(e):(n=a=r,l)}function b(){var e=_a(),i=m(e);if(n=arguments,a=this,d=e,i){if(c===r)return function(e){return u=e,c=Ss(v,t),p?g(e):l}(d);if(h)return br(c),c=Ss(v,t),g(d)}return c===r&&(c=Ss(v,t)),l}return t=go(t)||0,Za(i)&&(p=!!i.leading,o=(h="maxWait"in i)?gi(go(i.maxWait)||0,t):o,f="trailing"in i?!!i.trailing:f),b.cancel=function(){c!==r&&br(c),u=0,n=d=a=c=r},b.flush=function(){return c===r?l:y(_a())},b}var ja=Gn((function(e,t){return ln(e,1,t)})),$a=Gn((function(e,t,i){return ln(e,go(t)||0,i)}));function Oa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Se(s);var i=function(){var n=arguments,r=t?t.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var a=e.apply(this,n);return i.cache=s.set(r,a)||s,a};return i.cache=new(Oa.Cache||Yi),i}function Da(e){if("function"!=typeof e)throw new Se(s);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Oa.Cache=Yi;var Na=vr((function(e,t){var i=(t=1==t.length&&Fa(t[0])?$t(t[0],Wt(ss())):$t(gn(t,1),Wt(ss()))).length;return Gn((function(n){for(var r=-1,s=mi(n.length,i);++r<s;)n[r]=t[r].call(this,n[r]);return Et(e,this,n)}))})),ka=Gn((function(e,t){var i=ai(t,rs(ka));return Xr(e,l,r,t,i)})),za=Gn((function(e,t){var i=ai(t,rs(za));return Xr(e,64,r,t,i)})),La=Jr((function(e,t){return Xr(e,256,r,r,r,t)}));function Pa(e,t){return e===t||e!=e&&t!=t}var Ra=Hr(_n),Ba=Hr((function(e,t){return e>=t})),Ua=An(function(){return arguments}())?An:function(e){return Ja(e)&&De.call(e,"callee")&&!qe.call(e,"callee")},Fa=n.isArray,Ha=vt?Wt(vt):function(e){return Ja(e)&&En(e)==$};function Ya(e){return null!=e&&Ka(e.length)&&!Wa(e)}function Qa(e){return Ja(e)&&Ya(e)}var qa=mt||gl,Ga=yt?Wt(yt):function(e){return Ja(e)&&En(e)==y};function Xa(e){if(!Ja(e))return!1;var t=En(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!io(e)}function Wa(e){if(!Za(e))return!1;var t=En(e);return t==w||t==M||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Va(e){return"number"==typeof e&&e==ho(e)}function Ka(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=u}function Za(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ja(e){return null!=e&&"object"==typeof e}var eo=bt?Wt(bt):function(e){return Ja(e)&&us(e)==x};function to(e){return"number"==typeof e||Ja(e)&&En(e)==E}function io(e){if(!Ja(e)||En(e)!=_)return!1;var t=Ye(e);if(null===t)return!0;var i=De.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&Oe.call(i)==Le}var no=wt?Wt(wt):function(e){return Ja(e)&&En(e)==T},ro=Mt?Wt(Mt):function(e){return Ja(e)&&us(e)==S};function so(e){return"string"==typeof e||!Fa(e)&&Ja(e)&&En(e)==I}function ao(e){return"symbol"==typeof e||Ja(e)&&En(e)==A}var oo=xt?Wt(xt):function(e){return Ja(e)&&Ka(e.length)&&!!rt[En(e)]},lo=Hr(kn),co=Hr((function(e,t){return e<=t}));function uo(e){if(!e)return[];if(Ya(e))return so(e)?di(e):Tr(e);if(We&&e[We])return function(e){for(var t,i=[];!(t=e.next()).done;)i.push(t.value);return i}(e[We]());var t=us(e);return(t==x?ri:t==S?oi:Ro)(e)}function po(e){return e?(e=go(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ho(e){var t=po(e),i=t%1;return t==t?i?t-i:t:0}function fo(e){return e?sn(ho(e),0,h):0}function go(e){if("number"==typeof e)return e;if(ao(e))return p;if(Za(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Za(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xt(e);var i=fe.test(e);return i||me.test(e)?lt(e.slice(2),i?2:8):he.test(e)?p:+e}function mo(e){return Sr(e,$o(e))}function vo(e){return null==e?"":ar(e)}var yo=Ar((function(e,t){if(ws(t)||Ya(t))Sr(t,jo(t),e);else for(var i in t)De.call(t,i)&&Zi(e,i,t[i])})),bo=Ar((function(e,t){Sr(t,$o(t),e)})),wo=Ar((function(e,t,i,n){Sr(t,$o(t),e,n)})),Mo=Ar((function(e,t,i,n){Sr(t,jo(t),e,n)})),xo=Jr(rn),Eo=Gn((function(e,t){e=_e(e);var i=-1,n=t.length,s=n>2?t[2]:r;for(s&&ms(t[0],t[1],s)&&(n=1);++i<n;)for(var a=t[i],o=$o(a),l=-1,c=o.length;++l<c;){var d=o[l],u=e[d];(u===r||Pa(u,je[d])&&!De.call(e,d))&&(e[d]=a[d])}return e})),_o=Gn((function(e){return e.push(r,Vr),Et(Do,r,e)}));function Co(e,t,i){var n=null==e?r:Mn(e,t);return n===r?i:n}function To(e,t){return null!=e&&ps(e,t,Tn)}var So=Pr((function(e,t,i){null!=t&&"function"!=typeof t.toString&&(t=ze.call(t)),e[t]=i}),Jo(il)),Io=Pr((function(e,t,i){null!=t&&"function"!=typeof t.toString&&(t=ze.call(t)),De.call(e,t)?e[t].push(i):e[t]=[i]}),ss),Ao=Gn(In);function jo(e){return Ya(e)?Gi(e):Nn(e)}function $o(e){return Ya(e)?Gi(e,!0):function(e){if(!Za(e))return function(e){var t=[];if(null!=e)for(var i in _e(e))t.push(i);return t}(e);var t=ws(e),i=[];for(var n in e)("constructor"!=n||!t&&De.call(e,n))&&i.push(n);return i}(e)}var Oo=Ar((function(e,t,i){Rn(e,t,i)})),Do=Ar((function(e,t,i,n){Rn(e,t,i,n)})),No=Jr((function(e,t){var i={};if(null==e)return i;var n=!1;t=$t(t,(function(t){return t=mr(t,e),n||(n=t.length>1),t})),Sr(e,ts(e),i),n&&(i=an(i,7,Kr));for(var r=t.length;r--;)lr(i,t[r]);return i})),ko=Jr((function(e,t){return null==e?{}:function(e,t){return Fn(e,t,(function(t,i){return To(e,i)}))}(e,t)}));function zo(e,t){if(null==e)return{};var i=$t(ts(e),(function(e){return[e]}));return t=ss(t),Fn(e,i,(function(e,i){return t(e,i[0])}))}var Lo=Gr(jo),Po=Gr($o);function Ro(e){return null==e?[]:Vt(e,jo(e))}var Bo=Dr((function(e,t,i){return t=t.toLowerCase(),e+(i?Uo(t):t)}));function Uo(e){return Wo(vo(e).toLowerCase())}function Fo(e){return(e=vo(e))&&e.replace(ye,ei).replace(Ke,"")}var Ho=Dr((function(e,t,i){return e+(i?"-":"")+t.toLowerCase()})),Yo=Dr((function(e,t,i){return e+(i?" ":"")+t.toLowerCase()})),Qo=Or("toLowerCase"),qo=Dr((function(e,t,i){return e+(i?"_":"")+t.toLowerCase()})),Go=Dr((function(e,t,i){return e+(i?" ":"")+Wo(t)})),Xo=Dr((function(e,t,i){return e+(i?" ":"")+t.toUpperCase()})),Wo=Or("toUpperCase");function Vo(e,t,i){return e=vo(e),(t=i?r:t)===r?function(e){return tt.test(e)}(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.match(le)||[]}(e):e.match(t)||[]}var Ko=Gn((function(e,t){try{return Et(e,r,t)}catch(e){return Xa(e)?e:new Me(e)}})),Zo=Jr((function(e,t){return Ct(t,(function(t){t=ks(t),nn(e,t,Sa(e[t],e))})),e}));function Jo(e){return function(){return e}}var el=zr(),tl=zr(!0);function il(e){return e}function nl(e){return Dn("function"==typeof e?e:an(e,1))}var rl=Gn((function(e,t){return function(i){return In(i,e,t)}})),sl=Gn((function(e,t){return function(i){return In(e,i,t)}}));function al(e,t,i){var n=jo(t),r=wn(t,n);null!=i||Za(t)&&(r.length||!n.length)||(i=t,t=e,e=this,r=wn(t,jo(t)));var s=!(Za(i)&&"chain"in i&&!i.chain),a=Wa(e);return Ct(r,(function(i){var n=t[i];e[i]=n,a&&(e.prototype[i]=function(){var t=this.__chain__;if(s||t){var i=e(this.__wrapped__);return(i.__actions__=Tr(this.__actions__)).push({func:n,args:arguments,thisArg:e}),i.__chain__=t,i}return n.apply(e,Ot([this.value()],arguments))})})),e}function ol(){}var ll=Br($t),cl=Br(St),dl=Br(kt);function ul(e){return vs(e)?Ht(ks(e)):function(e){return function(t){return Mn(t,e)}}(e)}var pl=Fr(),hl=Fr(!0);function fl(){return[]}function gl(){return!1}var ml,vl=Rr((function(e,t){return e+t}),0),yl=Qr("ceil"),bl=Rr((function(e,t){return e/t}),1),wl=Qr("floor"),Ml=Rr((function(e,t){return e*t}),1),xl=Qr("round"),El=Rr((function(e,t){return e-t}
vendor: 17,587 bytes, line 2
2),0);return Li.after=function(e,t){if("function"!=typeof t)throw new Se(s);return e=ho(e),function(){if(--e<1)return t.apply(this,arguments)}},Li.ary=Ca,Li.assign=yo,Li.assignIn=bo,Li.assignInWith=wo,Li.assignWith=Mo,Li.at=xo,Li.before=Ta,Li.bind=Sa,Li.bindAll=Zo,Li.bindKey=Ia,Li.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Fa(e)?e:[e]},Li.chain=da,Li.chunk=function(e,t,i){t=(i?ms(e,t,i):t===r)?1:gi(ho(t),0);var s=null==e?0:e.length;if(!s||t<1)return[];for(var a=0,o=0,l=n(pt(s/t));a<s;)l[o++]=er(e,a,a+=t);return l},Li.compact=function(e){for(var t=-1,i=null==e?0:e.length,n=0,r=[];++t<i;){var s=e[t];s&&(r[n++]=s)}return r},Li.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),i=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Ot(Fa(i)?Tr(i):[i],gn(t,1))},Li.cond=function(e){var t=null==e?0:e.length,i=ss();return e=t?$t(e,(function(e){if("function"!=typeof e[1])throw new Se(s);return[i(e[0]),e[1]]})):[],Gn((function(i){for(var n=-1;++n<t;){var r=e[n];if(Et(r[0],this,i))return Et(r[1],this,i)}}))},Li.conforms=function(e){return function(e){var t=jo(e);return function(i){return on(i,e,t)}}(an(e,1))},Li.constant=Jo,Li.countBy=ha,Li.create=function(e,t){var i=Pi(e);return null==t?i:tn(i,t)},Li.curry=function e(t,i,n){var s=Xr(t,8,r,r,r,r,r,i=n?r:i);return s.placeholder=e.placeholder,s},Li.curryRight=function e(t,i,n){var s=Xr(t,16,r,r,r,r,r,i=n?r:i);return s.placeholder=e.placeholder,s},Li.debounce=Aa,Li.defaults=Eo,Li.defaultsDeep=_o,Li.defer=ja,Li.delay=$a,Li.difference=Ps,Li.differenceBy=Rs,Li.differenceWith=Bs,Li.drop=function(e,t,i){var n=null==e?0:e.length;return n?er(e,(t=i||t===r?1:ho(t))<0?0:t,n):[]},Li.dropRight=function(e,t,i){var n=null==e?0:e.length;return n?er(e,0,(t=n-(t=i||t===r?1:ho(t)))<0?0:t):[]},Li.dropRightWhile=function(e,t){return e&&e.length?dr(e,ss(t,3),!0,!0):[]},Li.dropWhile=function(e,t){return e&&e.length?dr(e,ss(t,3),!0):[]},Li.fill=function(e,t,i,n){var s=null==e?0:e.length;return s?(i&&"number"!=typeof i&&ms(e,t,i)&&(i=0,n=s),function(e,t,i,n){var s=e.length;for((i=ho(i))<0&&(i=-i>s?0:s+i),(n=n===r||n>s?s:ho(n))<0&&(n+=s),n=i>n?0:fo(n);i<n;)e[i++]=t;return e}(e,t,i,n)):[]},Li.filter=function(e,t){return(Fa(e)?It:fn)(e,ss(t,3))},Li.flatMap=function(e,t){return gn(Ma(e,t),1)},Li.flatMapDeep=function(e,t){return gn(Ma(e,t),d)},Li.flatMapDepth=function(e,t,i){return i=i===r?1:ho(i),gn(Ma(e,t),i)},Li.flatten=Hs,Li.flattenDeep=function(e){return null!=e&&e.length?gn(e,d):[]},Li.flattenDepth=function(e,t){return null!=e&&e.length?gn(e,t=t===r?1:ho(t)):[]},Li.flip=function(e){return Xr(e,512)},Li.flow=el,Li.flowRight=tl,Li.fromPairs=function(e){for(var t=-1,i=null==e?0:e.length,n={};++t<i;){var r=e[t];n[r[0]]=r[1]}return n},Li.functions=function(e){return null==e?[]:wn(e,jo(e))},Li.functionsIn=function(e){return null==e?[]:wn(e,$o(e))},Li.groupBy=ya,Li.initial=function(e){return null!=e&&e.length?er(e,0,-1):[]},Li.intersection=Qs,Li.intersectionBy=qs,Li.intersectionWith=Gs,Li.invert=So,Li.invertBy=Io,Li.invokeMap=ba,Li.iteratee=nl,Li.keyBy=wa,Li.keys=jo,Li.keysIn=$o,Li.map=Ma,Li.mapKeys=function(e,t){var i={};return t=ss(t,3),yn(e,(function(e,n,r){nn(i,t(e,n,r),e)})),i},Li.mapValues=function(e,t){var i={};return t=ss(t,3),yn(e,(function(e,n,r){nn(i,n,t(e,n,r))})),i},Li.matches=function(e){return Ln(an(e,1))},Li.matchesProperty=function(e,t){return Pn(e,an(t,1))},Li.memoize=Oa,Li.merge=Oo,Li.mergeWith=Do,Li.method=rl,Li.methodOf=sl,Li.mixin=al,Li.negate=Da,Li.nthArg=function(e){return e=ho(e),Gn((function(t){return Bn(t,e)}))},Li.omit=No,Li.omitBy=function(e,t){return zo(e,Da(ss(t)))},Li.once=function(e){return Ta(2,e)},Li.orderBy=function(e,t,i,n){return null==e?[]:(Fa(t)||(t=null==t?[]:[t]),Fa(i=n?r:i)||(i=null==i?[]:[i]),Un(e,t,i))},Li.over=ll,Li.overArgs=Na,Li.overEvery=cl,Li.overSome=dl,Li.partial=ka,Li.partialRight=za,Li.partition=xa,Li.pick=ko,Li.pickBy=zo,Li.property=ul,Li.propertyOf=function(e){return function(t){return null==e?r:Mn(e,t)}},Li.pull=Ws,Li.pullAll=Vs,Li.pullAllBy=function(e,t,i){return e&&e.length&&t&&t.length?Hn(e,t,ss(i,2)):e},Li.pullAllWith=function(e,t,i){return e&&e.length&&t&&t.length?Hn(e,t,r,i):e},Li.pullAt=Ks,Li.range=pl,Li.rangeRight=hl,Li.rearg=La,Li.reject=function(e,t){return(Fa(e)?It:fn)(e,Da(ss(t,3)))},Li.remove=function(e,t){var i=[];if(!e||!e.length)return i;var n=-1,r=[],s=e.length;for(t=ss(t,3);++n<s;){var a=e[n];t(a,n,e)&&(i.push(a),r.push(n))}return Yn(e,r),i},Li.rest=function(e,t){if("function"!=typeof e)throw new Se(s);return Gn(e,t=t===r?t:ho(t))},Li.reverse=Zs,Li.sampleSize=function(e,t,i){return t=(i?ms(e,t,i):t===r)?1:ho(t),(Fa(e)?Wi:Wn)(e,t)},Li.set=function(e,t,i){return null==e?e:Vn(e,t,i)},Li.setWith=function(e,t,i,n){return n="function"==typeof n?n:r,null==e?e:Vn(e,t,i,n)},Li.shuffle=function(e){return(Fa(e)?Vi:Jn)(e)},Li.slice=function(e,t,i){var n=null==e?0:e.length;return n?(i&&"number"!=typeof i&&ms(e,t,i)?(t=0,i=n):(t=null==t?0:ho(t),i=i===r?n:ho(i)),er(e,t,i)):[]},Li.sortBy=Ea,Li.sortedUniq=function(e){return e&&e.length?rr(e):[]},Li.sortedUniqBy=function(e,t){return e&&e.length?rr(e,ss(t,2)):[]},Li.split=function(e,t,i){return i&&"number"!=typeof i&&ms(e,t,i)&&(t=i=r),(i=i===r?h:i>>>0)?(e=vo(e))&&("string"==typeof t||null!=t&&!no(t))&&!(t=ar(t))&&ni(e)?yr(di(e),0,i):e.split(t,i):[]},Li.spread=function(e,t){if("function"!=typeof e)throw new Se(s);return t=null==t?0:gi(ho(t),0),Gn((function(i){var n=i[t],r=yr(i,0,t);return n&&Ot(r,n),Et(e,this,r)}))},Li.tail=function(e){var t=null==e?0:e.length;return t?er(e,1,t):[]},Li.take=function(e,t,i){return e&&e.length?er(e,0,(t=i||t===r?1:ho(t))<0?0:t):[]},Li.takeRight=function(e,t,i){var n=null==e?0:e.length;return n?er(e,(t=n-(t=i||t===r?1:ho(t)))<0?0:t,n):[]},Li.takeRightWhile=function(e,t){return e&&e.length?dr(e,ss(t,3),!1,!0):[]},Li.takeWhile=function(e,t){return e&&e.length?dr(e,ss(t,3)):[]},Li.tap=function(e,t){return t(e),e},Li.throttle=function(e,t,i){var n=!0,r=!0;if("function"!=typeof e)throw new Se(s);return Za(i)&&(n="leading"in i?!!i.leading:n,r="trailing"in i?!!i.trailing:r),Aa(e,t,{leading:n,maxWait:t,trailing:r})},Li.thru=ua,Li.toArray=uo,Li.toPairs=Lo,Li.toPairsIn=Po,Li.toPath=function(e){return Fa(e)?$t(e,ks):ao(e)?[e]:Tr(Ns(vo(e)))},Li.toPlainObject=mo,Li.transform=function(e,t,i){var n=Fa(e),r=n||qa(e)||oo(e);if(t=ss(t,4),null==i){var s=e&&e.constructor;i=r?n?new s:[]:Za(e)&&Wa(s)?Pi(Ye(e)):{}}return(r?Ct:yn)(e,(function(e,n,r){return t(i,e,n,r)})),i},Li.unary=function(e){return Ca(e,1)},Li.union=Js,Li.unionBy=ea,Li.unionWith=ta,Li.uniq=function(e){return e&&e.length?or(e):[]},Li.uniqBy=function(e,t){return e&&e.length?or(e,ss(t,2)):[]},Li.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?or(e,r,t):[]},Li.unset=function(e,t){return null==e||lr(e,t)},Li.unzip=ia,Li.unzipWith=na,Li.update=function(e,t,i){return null==e?e:cr(e,t,gr(i))},Li.updateWith=function(e,t,i,n){return n="function"==typeof n?n:r,null==e?e:cr(e,t,gr(i),n)},Li.values=Ro,Li.valuesIn=function(e){return null==e?[]:Vt(e,$o(e))},Li.without=ra,Li.words=Vo,Li.wrap=function(e,t){return ka(gr(t),e)},Li.xor=sa,Li.xorBy=aa,Li.xorWith=oa,Li.zip=la,Li.zipObject=function(e,t){return hr(e||[],t||[],Zi)},Li.zipObjectDeep=function(e,t){return hr(e||[],t||[],Vn)},Li.zipWith=ca,Li.entries=Lo,Li.entriesIn=Po,Li.extend=bo,Li.extendWith=wo,al(Li,Li),Li.add=vl,Li.attempt=Ko,Li.camelCase=Bo,Li.capitalize=Uo,Li.ceil=yl,Li.clamp=function(e,t,i){return i===r&&(i=t,t=r),i!==r&&(i=(i=go(i))==i?i:0),t!==r&&(t=(t=go(t))==t?t:0),sn(go(e),t,i)},Li.clone=function(e){return an(e,4)},Li.cloneDeep=function(e){return an(e,5)},Li.cloneDeepWith=function(e,t){return an(e,5,t="function"==typeof t?t:r)},Li.cloneWith=function(e,t){return an(e,4,t="function"==typeof t?t:r)},Li.conformsTo=function(e,t){return null==t||on(e,t,jo(t))},Li.deburr=Fo,Li.defaultTo=function(e,t){return null==e||e!=e?t:e},Li.divide=bl,Li.endsWith=function(e,t,i){e=vo(e),t=ar(t);var n=e.length,s=i=i===r?n:sn(ho(i),0,n);return(i-=t.length)>=0&&e.slice(i,s)==t},Li.eq=Pa,Li.escape=function(e){return(e=vo(e))&&X.test(e)?e.replace(q,ti):e},Li.escapeRegExp=function(e){return(e=vo(e))&&ie.test(e)?e.replace(te,"\\$&"):e},Li.every=function(e,t,i){var n=Fa(e)?St:pn;return i&&ms(e,t,i)&&(t=r),n(e,ss(t,3))},Li.find=fa,Li.findIndex=Us,Li.findKey=function(e,t){return Lt(e,ss(t,3),yn)},Li.findLast=ga,Li.findLastIndex=Fs,Li.findLastKey=function(e,t){return Lt(e,ss(t,3),bn)},Li.floor=wl,Li.forEach=ma,Li.forEachRight=va,Li.forIn=function(e,t){return null==e?e:mn(e,ss(t,3),$o)},Li.forInRight=function(e,t){return null==e?e:vn(e,ss(t,3),$o)},Li.forOwn=function(e,t){return e&&yn(e,ss(t,3))},Li.forOwnRight=function(e,t){return e&&bn(e,ss(t,3))},Li.get=Co,Li.gt=Ra,Li.gte=Ba,Li.has=function(e,t){return null!=e&&ps(e,t,Cn)},Li.hasIn=To,Li.head=Ys,Li.identity=il,Li.includes=function(e,t,i,n){e=Ya(e)?e:Ro(e),i=i&&!n?ho(i):0;var r=e.length;return i<0&&(i=gi(r+i,0)),so(e)?i<=r&&e.indexOf(t,i)>-1:!!r&&Rt(e,t,i)>-1},Li.indexOf=function(e,t,i){var n=null==e?0:e.length;if(!n)return-1;var r=null==i?0:ho(i);return r<0&&(r=gi(n+r,0)),Rt(e,t,r)},Li.inRange=function(e,t,i){return t=po(t),i===r?(i=t,t=0):i=po(i),function(e,t,i){return e>=mi(t,i)&&e<gi(t,i)}(e=go(e),t,i)},Li.invoke=Ao,Li.isArguments=Ua,Li.isArray=Fa,Li.isArrayBuffer=Ha,Li.isArrayLike=Ya,Li.isArrayLikeObject=Qa,Li.isBoolean=function(e){return!0===e||!1===e||Ja(e)&&En(e)==v},Li.isBuffer=qa,Li.isDate=Ga,Li.isElement=function(e){return Ja(e)&&1===e.nodeType&&!io(e)},Li.isEmpty=function(e){if(null==e)return!0;if(Ya(e)&&(Fa(e)||"string"==typeof e||"function"==typeof e.splice||qa(e)||oo(e)||Ua(e)))return!e.length;var t=us(e);if(t==x||t==S)return!e.size;if(ws(e))return!Nn(e).length;for(var i in e)if(De.call(e,i))return!1;return!0},Li.isEqual=function(e,t){return jn(e,t)},Li.isEqualWith=function(e,t,i){var n=(i="function"==typeof i?i:r)?i(e,t):r;return n===r?jn(e,t,r,i):!!n},Li.isError=Xa,Li.isFinite=function(e){return"number"==typeof e&&zt(e)},Li.isFunction=Wa,Li.isInteger=Va,Li.isLength=Ka,Li.isMap=eo,Li.isMatch=function(e,t){return e===t||$n(e,t,os(t))},Li.isMatchWith=function(e,t,i){return i="function"==typeof i?i:r,$n(e,t,os(t),i)},Li.isNaN=function(e){return to(e)&&e!=+e},Li.isNative=function(e){if(bs(e))throw new Me("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return On(e)},Li.isNil=function(e){return null==e},Li.isNull=function(e){return null===e},Li.isNumber=to,Li.isObject=Za,Li.isObjectLike=Ja,Li.isPlainObject=io,Li.isRegExp=no,Li.isSafeInteger=function(e){return Va(e)&&e>=-9007199254740991&&e<=u},Li.isSet=ro,Li.isString=so,Li.isSymbol=ao,Li.isTypedArray=oo,Li.isUndefined=function(e){return e===r},Li.isWeakMap=function(e){return Ja(e)&&us(e)==j},Li.isWeakSet=function(e){return Ja(e)&&"[object WeakSet]"==En(e)},Li.join=function(e,t){return null==e?"":Yt.call(e,t)},Li.kebabCase=Ho,Li.last=Xs,Li.lastIndexOf=function(e,t,i){var n=null==e?0:e.length;if(!n)return-1;var s=n;return i!==r&&(s=(s=ho(i))<0?gi(n+s,0):mi(s,n-1)),t==t?function(e,t,i){for(var n=i+1;n--;)if(e[n]===t)return n;return n}(e,t,s):Pt(e,Ut,s,!0)},Li.lowerCase=Yo,Li.lowerFirst=Qo,Li.lt=lo,Li.lte=co,Li.max=function(e){return e&&e.length?hn(e,il,_n):r},Li.maxBy=function(e,t){return e&&e.length?hn(e,ss(t,2),_n):r},Li.mean=function(e){return Ft(e,il)},Li.meanBy=function(e,t){return Ft(e,ss(t,2))},Li.min=function(e){return e&&e.length?hn(e,il,kn):r},Li.minBy=function(e,t){return e&&e.length?hn(e,ss(t,2),kn):r},Li.stubArray=fl,Li.stubFalse=gl,Li.stubObject=function(){return{}},Li.stubString=function(){return""},Li.stubTrue=function(){return!0},Li.multiply=Ml,Li.nth=function(e,t){return e&&e.length?Bn(e,ho(t)):r},Li.noConflict=function(){return ut._===this&&(ut._=Pe),this},Li.noop=ol,Li.now=_a,Li.pad=function(e,t,i){e=vo(e);var n=(t=ho(t))?ci(e):0;if(!t||n>=t)return e;var r=(t-n)/2;return Ur(ht(r),i)+e+Ur(pt(r),i)},Li.padEnd=function(e,t,i){e=vo(e);var n=(t=ho(t))?ci(e):0;return t&&n<t?e+Ur(t-n,i):e},Li.padStart=function(e,t,i){e=vo(e);var n=(t=ho(t))?ci(e):0;return t&&n<t?Ur(t-n,i)+e:e},Li.parseInt=function(e,t,i){return i||null==t?t=0:t&&(t=+t),yi(vo(e).replace(ne,""),t||0)},Li.random=function(e,t,i){if(i&&"boolean"!=typeof i&&ms(e,t,i)&&(t=i=r),i===r&&("boolean"==typeof t?(i=t,t=r):"boolean"==typeof e&&(i=e,e=r)),e===r&&t===r?(e=0,t=1):(e=po(e),t===r?(t=e,e=0):t=po(t)),e>t){var n=e;e=t,t=n}if(i||e%1||t%1){var s=bi();return mi(e+s*(t-e+ot("1e-"+((s+"").length-1))),t)}return Qn(e,t)},Li.reduce=function(e,t,i){var n=Fa(e)?Dt:Qt,r=arguments.length<3;return n(e,ss(t,4),i,r,dn)},Li.reduceRight=function(e,t,i){var n=Fa(e)?Nt:Qt,r=arguments.length<3;return n(e,ss(t,4),i,r,un)},Li.repeat=function(e,t,i){return t=(i?ms(e,t,i):t===r)?1:ho(t),qn(vo(e),t)},Li.replace=function(){var e=arguments,t=vo(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Li.result=function(e,t,i){var n=-1,s=(t=mr(t,e)).length;for(s||(s=1,e=r);++n<s;){var a=null==e?r:e[ks(t[n])];a===r&&(n=s,a=i),e=Wa(a)?a.call(e):a}return e},Li.round=xl,Li.runInContext=e,Li.sample=function(e){return(Fa(e)?Xi:Xn)(e)},Li.size=function(e){if(null==e)return 0;if(Ya(e))return so(e)?ci(e):e.length;var t=us(e);return t==x||t==S?e.size:Nn(e).length},Li.snakeCase=qo,Li.some=function(e,t,i){var n=Fa(e)?kt:tr;return i&&ms(e,t,i)&&(t=r),n(e,ss(t,3))},Li.sortedIndex=function(e,t){return ir(e,t)},Li.sortedIndexBy=function(e,t,i){return nr(e,t,ss(i,2))},Li.sortedIndexOf=function(e,t){var i=null==e?0:e.length;if(i){var n=ir(e,t);if(n<i&&Pa(e[n],t))return n}return-1},Li.sortedLastIndex=function(e,t){return ir(e,t,!0)},Li.sortedLastIndexBy=function(e,t,i){return nr(e,t,ss(i,2),!0)},Li.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var i=ir(e,t,!0)-1;if(Pa(e[i],t))return i}return-1},Li.startCase=Go,Li.startsWith=function(e,t,i){return e=vo(e),i=null==i?0:sn(ho(i),0,e.length),t=ar(t),e.slice(i,i+t.length)==t},Li.subtract=El,Li.sum=function(e){return e&&e.length?qt(e,il):0},Li.sumBy=function(e,t){return e&&e.length?qt(e,ss(t,2)):0},Li.template=function(e,t,i){var n=Li.templateSettings;i&&ms(e,t,i)&&(t=r),e=vo(e),t=wo({},t,n,Wr);var s,a,o=wo({},t.imports,n.imports,Wr),l=jo(o),c=Vt(o,l),d=0,u=t.interpolate||be,p="__p += '",h=Ce((t.escape||be).source+"|"+u.source+"|"+(u===K?ue:be).source+"|"+(t.evaluate||be).source+"|$","g"),f="//# sourceURL="+(De.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nt+"]")+"\n";e.replace(h,(function(t,i,n,r,o,l){return n||(n=r),p+=e.slice(d,l).replace(we,ii),i&&(s=!0,p+="' +\n__e("+i+") +\n'"),o&&(a=!0,p+="';\n"+o+";\n__p += '"),n&&(p+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),d=l+t.length,t})),p+="';\n";var g=De.call(t,"variable")&&t.variable;if(g){if(ce.test(g))throw new Me("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(F,""):p).replace(H,"$1").replace(Y,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=Ko((function(){return xe(l,f+"return "+p).apply(r,c)}));if(m.source=p,Xa(m))throw m;return m},Li.times=function(e,t){if((e=ho(e))<1||e>u)return[];var i=h,n=mi(e,h);t=ss(t),e-=h;for(var r=Gt(n,t);++i<e;)t(i);return r},Li.toFinite=po,Li.toInteger=ho,Li.toLength=fo,Li.toLower=function(e){return vo(e).toLowerCase()},Li.toNumber=go,Li.toSafeInteger=function(e){return e?sn(ho(e),-9007199254740991,u):0===e?e:0},Li.toString=vo,Li.toUpper=function(e){return vo(e).toUpperCase()},Li.trim=function(e,t,i){if((e=vo(e))&&(i||t===r))return Xt(e);if(!e||!(t=ar(t)))return e;var n=di(e),s=di(t);return yr(n,Zt(n,s),Jt(n,s)+1).join("")},Li.trimEnd=function(e,t,i){if((e=vo(e))&&(i||t===r))return e.slice(0,ui(e)+1);if(!e||!(t=ar(t)))return e;var n=di(e);return yr(n,0,Jt(n,di(t))+1).join("")},Li.trimStart=function(e,t,i){if((e=vo(e))&&(i||t===r))return e.replace(ne,"");if(!e||!(t=ar(t)))return e;var n=di(e);return yr(n,Zt(n,di(t))).join("")},Li.truncate=function(e,t){var i=30,n="...";if(Za(t)){var s="separator"in t?t.separator:s;i="length"in t?ho(t.length):i,n="omission"in t?ar(t.omission):n}var a=(e=vo(e)).length;if(ni(e)){var o=di(e);a=o.length}if(i>=a)return e;var l=i-ci(n);if(l<1)return n;var c=o?yr(o,0,l).join(""):e.slice(0,l);if(s===r)return c+n;if(o&&(l+=c.length-l),no(s)){if(e.slice(l).search(s)){var d,u=c;for(s.global||(s=Ce(s.source,vo(pe.exec(s))+"g")),s.lastIndex=0;d=s.exec(u);)var p=d.index;c=c.slice(0,p===r?l:p)}}else if(e.indexOf(ar(s),l)!=l){var h=c.lastIndexOf(s);h>-1&&(c=c.slice(0,h))}return c+n},Li.unescape=function(e){return(e=vo(e))&&G.test(e)?e.replace(Q,pi):e},Li.uniqueId=function(e){var t=++Ne;return vo(e)+t},Li.upperCase=Xo,Li.upperFirst=Wo,Li.each=ma,Li.eachRight=va,Li.first=Ys,al(Li,(ml={},yn(Li,(function(e,t){De.call(Li.prototype,t)||(ml[t]=e)})),ml),{chain:!1}),Li.VERSION="4.17.21",Ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Li[e].placeholder=Li})),Ct(["drop","take"],(function(e,t){Ui.prototype[e]=function(i){i=i===r?1:gi(ho(i),0);var n=this.__filtered__&&!t?new Ui(this):this.clone();return n.__filtered__?n.__takeCount__=mi(i,n.__takeCount__):n.__views__.push({size:mi(i,h),type:e+(n.__dir__<0?"Right":"")}),n},Ui.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ct(["filter","map","takeWhile"],(function(e,t){var i=t+1,n=1==i||3==i;Ui.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ss(e,3),type:i}),t.__filtered__=t.__filtered__||n,t}})),Ct(["head","last"],(function(e,t){var i="take"+(t?"Right":"");
vendor: 4,194 bytes, line 2
2Ui.prototype[e]=function(){return this[i](1).value()[0]}})),Ct(["initial","tail"],(function(e,t){var i="drop"+(t?"":"Right");Ui.prototype[e]=function(){return this.__filtered__?new Ui(this):this[i](1)}})),Ui.prototype.compact=function(){return this.filter(il)},Ui.prototype.find=function(e){return this.filter(e).head()},Ui.prototype.findLast=function(e){return this.reverse().find(e)},Ui.prototype.invokeMap=Gn((function(e,t){return"function"==typeof e?new Ui(this):this.map((function(i){return In(i,e,t)}))})),Ui.prototype.reject=function(e){return this.filter(Da(ss(e)))},Ui.prototype.slice=function(e,t){e=ho(e);var i=this;return i.__filtered__&&(e>0||t<0)?new Ui(i):(e<0?i=i.takeRight(-e):e&&(i=i.drop(e)),t!==r&&(i=(t=ho(t))<0?i.dropRight(-t):i.take(t-e)),i)},Ui.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ui.prototype.toArray=function(){return this.take(h)},yn(Ui.prototype,(function(e,t){var i=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),s=Li[n?"take"+("last"==t?"Right":""):t],a=n||/^find/.test(t);s&&(Li.prototype[t]=function(){var t=this.__wrapped__,o=n?[1]:arguments,l=t instanceof Ui,c=o[0],d=l||Fa(t),u=function(e){var t=s.apply(Li,Ot([e],o));return n&&p?t[0]:t};d&&i&&"function"==typeof c&&1!=c.length&&(l=d=!1);var p=this.__chain__,h=!!this.__actions__.length,f=a&&!p,g=l&&!h;if(!a&&d){t=g?t:new Ui(this);var m=e.apply(t,o);return m.__actions__.push({func:ua,args:[u],thisArg:r}),new Bi(m,p)}return f&&g?e.apply(this,o):(m=this.thru(u),f?n?m.value()[0]:m.value():m)})})),Ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ie[e],i=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Li.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var r=this.value();return t.apply(Fa(r)?r:[],e)}return this[i]((function(i){return t.apply(Fa(i)?i:[],e)}))}})),yn(Ui.prototype,(function(e,t){var i=Li[t];if(i){var n=i.name+"";De.call(Ii,n)||(Ii[n]=[]),Ii[n].push({name:t,func:i})}})),Ii[Lr(r,2).name]=[{name:"wrapper",func:r}],Ui.prototype.clone=function(){var e=new Ui(this.__wrapped__);return e.__actions__=Tr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Tr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Tr(this.__views__),e},Ui.prototype.reverse=function(){if(this.__filtered__){var e=new Ui(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ui.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,i=Fa(e),n=t<0,r=i?e.length:0,s=function(e,t,i){for(var n=-1,r=i.length;++n<r;){var s=i[n],a=s.size;switch(s.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=mi(t,e+a);break;case"takeRight":e=gi(e,t-a)}}return{start:e,end:t}}(0,r,this.__views__),a=s.start,o=s.end,l=o-a,c=n?o:a-1,d=this.__iteratees__,u=d.length,p=0,h=mi(l,this.__takeCount__);if(!i||!n&&r==l&&h==l)return ur(e,this.__actions__);var f=[];e:for(;l--&&p<h;){for(var g=-1,m=e[c+=t];++g<u;){var v=d[g],y=v.iteratee,b=v.type,w=y(m);if(2==b)m=w;else if(!w){if(1==b)continue e;break e}}f[p++]=m}return f},Li.prototype.at=pa,Li.prototype.chain=function(){return da(this)},Li.prototype.commit=function(){return new Bi(this.value(),this.__chain__)},Li.prototype.next=function(){this.__values__===r&&(this.__values__=uo(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},Li.prototype.plant=function(e){for(var t,i=this;i instanceof Ri;){var n=Ls(i);n.__index__=0,n.__values__=r,t?s.__wrapped__=n:t=n;var s=n;i=i.__wrapped__}return s.__wrapped__=e,t},Li.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Ui){var t=e;return this.__actions__.length&&(t=new Ui(this)),(t=t.reverse()).__actions__.push({func:ua,args:[Zs],thisArg:r}),new Bi(t,this.__chain__)}return this.thru(Zs)},Li.prototype.toJSON=Li.prototype.valueOf=Li.prototype.value=function(){return ur(this.__wrapped__,this.__actions__)},Li.prototype.first=Li.prototype.head,We&&(Li.prototype[We]=function(){return this}),Li}();ut._=hi,(n=function(){return hi}.call(t,i,t,e))===r||(e.exports=n)}.call(this)},7912:(e,t,i)=>{"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.buttonStyle=void 0;const n=i(7677);t.buttonStyle=n.css`
3  .button-message-div {
4    width: 10.42vw;
5    min-width: min-content;
6    max-width: max-content;
7    cursor: pointer;
8    border-radius: 25px;
9    margin: 20px 8px;
10    display: flex;
11    flex-direction: column;
12    justify-content: center;
13    padding: 16px;
14    border: 1px solid black;
15  }
16
17  .button-message-div:hover {
18    transform: scale(1.05);
19    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
20      0 20px 20px -5px rgba(0, 0, 0, 0.04);
21  }
22
23  .button-message-title {
24    font-size: 1em;
25    overflow: hidden;
26    text-overflow: ellipsis;
27    font-weight: bold;
28    -webkit-line-clamp: 1;
29  }
30
31  .button-message-message {
32    font-size: 0.8em;
33    line-height: 1.3em;
34    margin-right: 17px;
35    color: #000000;
36    overflow: hidden;
37    text-overflow: ellipsis;
38    -webkit-line-clamp: 2;
39    -webkit-box-orient: vertical;
40    display: -webkit-box;
41  }
42`},720:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Chip=void 0;const s=i(7677),a=i(4846),o=i(7912);let l=class extends s.LitElement{constructor(){super(...arguments),this.subtitle="",this.title="",this.link="",this.target="_blank"}render(){return s.html`
43      <div
44        class="button-message-div"
45        onclick="window.open('${this.link}', '${this.target}');"
46      >
47        <span class="button-message-title">${this.title}</span>
48        <span class="button-message-message">${this.subtitle}</span>
49      </div>
50    `}};l.styles=o.buttonStyle,n([(0,a.query)("chat-box-body"),r("design:type",Element)],l.prototype,"boxBody",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],l.prototype,"subtitle",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],l.prototype,"title",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],l.prototype,"link",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],l.prototype,"target",void 0),l=n([(0,a.customElement)("button-message")],l),t.Chip=l},112:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cardStyle=void 0;const n=i(7677);t.cardStyle=n.css`
51  .card {
52    background-color: #ffffff;
53    border: 3px solid #6091ba;
54    margin: 10px 8.5px; /* Add margin to create space around the card */
55    border-radius: 25px;
56    cursor: pointer;
57    transition: transform 0.2s;
58    margin-bottom: 20px;
59    display: grid;
60    justify-content: center;
61    grid-template-rows: auto 1fr; /* Allow the card to have dynamic height */
62  }
63
64  .card:hover {
65    transform: scale(1.05);
66  }
67
68  .card img {
69    width: 10em;
70    height: 10em;
71    object-fit: cover;
72    border-radius: 25px 25px 0 0;
73    margin-top: 10px; /* Add space on top of the image */
74  }
75
76  .desc {
77    padding: 15px;
78    text-align: left;
79    margin-top: 10px;
80  }
81
82  .desc .title {
83    color: #000000;
84    font-size: 1em;
85    font-weight: bold;
86    white-space: normal;
87    overflow: hidden;
88    text-overflow: ellipsis;
89    margin-bottom: 5px; /* Add spacing between title and subtitle */
90  }
91
92  .desc .subtitle {
93    font-size: 0.8em;
94    line-height: 1.3em;
95    color: #000000;
96    overflow: hidden;
97    text-overflow: ellipsis;
98    margin-bottom: 10px; /* Add space under the subtitle */
99  }
100
101  .card:hover {
102    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
103      0 20px 20px -5px rgba(0, 0, 0, 0.04);
104  }
105`},1998:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>
1053?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Chip=void 0;const s=i(7677),a=i(4846),o=i(112);let l=class extends s.LitElement{constructor(){super(...arguments),this.message="",this.title="",this.link="",this.imageUrl="",this.imageHidden=!1}render(){return s.html`
106      <div class="child card" onclick="window.open('${this.link}', '_blank');">
107        ${this.imageHidden?"":s.html`<img src="${this.imageUrl}" alt="card image" />`}
108
109        <div class="desc">
110          <div class="title">
111            <span class="card-title">${this.title}</span>
112          </div>
113          <div class="subtitle">
114            <span>${this.message}</span>
115          </div>
116        </div>
117      </div>
118    `}};l.styles=o.cardStyle,n([(0,a.query)("chat-box-body"),r("design:type",Element)],l.prototype,"boxBody",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],l.prototype,"message",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],l.prototype,"title",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],l.prototype,"link",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],l.prototype,"imageUrl",void 0),n([(0,a.property)({type:Boolean}),r("design:type",Object)],l.prototype,"imageHidden",void 0),l=n([(0,a.customElement)("card-message")],l),t.Chip=l},4003:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sliderCardsStyles=void 0;const n=i(7677);t.sliderCardsStyles=n.css`
119  .slider {
120    cursor: pointer;
121    background-color: #2c313d;
122    width: 2em;
123    height: 3em;
124    border-radius: 51px;
125    display: flex;
126    align-items: center;
127    justify-content: center;
128  }
129
130  .slider .icon {
131    margin: auto;
132    color: white;
133  }
134
135}`},7393:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.CardSlider=void 0;const s=i(7677),a=i(4846),o=i(4003),l=i(8613);let c=class extends s.LitElement{constructor(){super(...arguments),this.direction=""}render(){return s.html`
136      <div class="slider">
137        <div class="icon">
138          ${"left"===this.direction?s.html`<span class="material-icons material-symbols-outlined"
139                >chevron_left</span
140              >`:s.html`<span class="material-icons material-symbols-outlined"
141                >chevron_right</span
142              >`}
143        </div>
144      </div>
145    `}};c.styles=[o.sliderCardsStyles,l.iconStyle],n([(0,a.property)(),r("design:type",Object)],c.prototype,"direction",void 0),c=n([(0,a.customElement)("slider-card")],c),t.CardSlider=c},3513:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chatBoxBodyStyle=void 0;const n=i(7677);t.chatBoxBodyStyle=n.css`
146
147    .chat-box-body {
148      display: flex;
149      flex-direction: column;
150      position: relative;
151      padding: 21.25px;
152      font-family: "Roboto Condensed", Inter;
153      font-size: 1.063em;
154      font-style: normal;
155      font-weight: 400;
156    }
157
158    .mittente {
159      align-self: flex-end;
160      display: flex;
161      flex-direction: column;
162      color: white;
163    }
164
165    .child {
166      -webkit-text-size-adjust: 100%;
167      tab-size: 4;
168      font-family: Inter var, ui-sans-serif, system-ui, -apple-system,
169        BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans,
170        sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol,
171        Noto Color Emoji;
172      font-feature-settings: "cv02", "cv03", "cv04", "cv11";
173      -webkit-font-smoothing: antialiased;
174      font-size: 1em;
175      line-height: 1.75;
176      color: #94a3b8;
177      box-sizing: border-box;
178      border: 0 solid #e5e7eb;
179      flex-shrink: 0;
180      flex-wrap: wrap;
181      scroll-snap-align: center;
182    }
183
184    .time{
185      font-family: Inter;
186      font-size: 0.625em;
187      font-weight: 400;
188      line-height: 1.375em;
189      letter-spacing: 0.5px;
190      text-align: left;
191      color: #8B8D90;
192      display: inherit;
193      margin-left: 15px;
194      text-transform:capitalize;
195      margin-top: -10px;
196      margin-bottom: 10px;
197    }
198   
199}`},1222:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>
1993?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,s){function a(e){try{l(n.next(e))}catch(e){s(e)}}function o(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,o)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChatBoxBody=void 0;const o=i(7677),l=i(4846),c=a(i(7144)),d=i(3513),u=i(3959),p=i(8237),h=i(8613);let f=class extends o.LitElement{constructor(){super(...arguments),this.config=p.ConfigurationService.instance,this.audioConfig=!1,this.autoTrigger=!1,this.triggered=this.autoTrigger,this.welcomeMessage="",this.languageCode="",this.listOfAudioToPlay=[],this.triggerCardTitle="",this.triggerCardDescription="",this.triggerCardPrivacy="",this.triggerCardLogo="",this.isPreviousConversation=!1}sendEvent(e){var t,i;this.triggered=!0;const n=document.createElement("div");n.className="mittente";const r=document.createElement("message-box");r.setAttribute("text",e.detail.inputText),r.className="mittente",n.append(r),null===(i=null===(t=this.shadowRoot)||void 0===t?void 0:t.firstElementChild)||void 0===i||i.appendChild(n),setTimeout((()=>{this.scrollTop=this.scrollHeight,this.showTimeInfo()}),0)}sendEventSync(e){var t,i;this.triggered=!0;const n=document.createElement("div");n.className="mittente";const r=document.createElement("message-box");r.setAttribute("text",e.detail.message),r.className="mittente",n.append(r),null===(i=null===(t=this.shadowRoot)||void 0===t?void 0:t.firstElementChild)||void 0===i||i.appendChild(n),setTimeout((()=>{this.scrollTop=this.scrollHeight,this.showTimeInfo()}),0)}playAudio(e){return new Promise((t=>{e.play(),e.onended=t}))}playAudioList(){return s(this,void 0,void 0,(function*(){for(const e of this.listOfAudioToPlay)yield this.playAudio(e)}))}scrollDownChat(){return s(this,void 0,void 0,(function*(){setTimeout((()=>{this.scrollTop=this.scrollHeight}),0)}))}pauseAudio(e){"mittente"===e&&(void 0!==this.audioBox&&this.audioBox.pause(),this.listOfAudioToPlay=[])}receiveEvent(e){return s(this,void 0,void 0,(function*(){let t={audioContent:""};this.manageScrollIcon();const i=e.detail.receivedMessageContentArray;i.forEach((e=>s(this,void 0,void 0,(function*(){var n,r,a,o,l;const c=null===(a=null===(r=null===(n=this.shadowRoot)||void 0===n?void 0:n.firstElementChild)||void 0===r?void 0:r.lastElementChild)||void 0===a?void 0:a.className;null===(l=null===(o=this.shadowRoot)||void 0===o?void 0:o.firstElementChild)||void 0===l||l.appendChild(e.detail.messageTemplate),this.audioConfig&&!this.chatBoxClosed&&(t=yield this.textToSpeech(this.languageCode,e.detail.tts)),e.detail.messageTemplate.firstChild.hasAttribute("loadingBubble")&&setTimeout((()=>{this.scrollTop=this.scrollTop+50}),0),setTimeout((()=>s(this,void 0,void 0,(function*(){e.detail.messageTemplate.hasAttribute("content")||(e.detail.messageTemplate.firstChild.removeAttribute("loadingBubble"),1===i.length?this.scrollDownChat():this.scrollTop=this.scrollTop+(e.detail.messageTemplate.firstChild.offsetHeight+e.detail.messageTemplate.lastChild.offsetHeight+22)*i.length),this.showTimeInfo(),this.audioConfig&&(this.pauseAudio(c),""!==t.audioContent&&(this.audioBox=new Audio("data:audio/mp3;base64,"+t.audioContent),this.listOfAudioToPlay.push(this.audioBox))),yield this.playAudioList(),this.pauseAudio(c)}))),1e3)}))))}))}manageScrollIcon(){var e,t,i,n,r,s,a,o,l,c;const d=null===(n=null===(i=null===(t=null===(e=null===document||void 0===document?void 0:document.querySelector("body chat-bot"))||void 0===e?void 0:e.shadowRoot)||void 0===t?void 0:t.querySelector("chat-bot-component"))||void 0===i?void 0:i.shadowRoot)||void 0===n?void 0:n.querySelector("div > chat-box-body"),u=null===(c=null===(l=null===(o=null===(a=null===(s=null===(r=null===document||void 0===document?void 0:document.querySelector("body chat-bot"))||void 0===r?void 0:r.shadowRoot)||void 0===s?void 0:s.querySelector("chat-bot-component"))||void 0===a?void 0:a.shadowRoot)||void 0===o?void 0:o.querySelector("div > chat-scroll-btn"))||void 0===l?void 0:l.shadowRoot)||void 0===c?void 0:c.querySelector(".scroll-btn");null==u||u.addEventListener("click",(()=>{this.scrollDownChat()})),null==d||d.addEventListener("scroll",(()=>{this.scrollTop<=this.scrollHeight&&(null==u||u.classList.remove("scroll-btn-hidden")),this.scrollTop+d.offsetHeight+20>=this.scrollHeight&&(null==u||u.classList.add("scroll-btn-hidden"))}))}textToSpeech(e,t){return s(this,void 0,void 0,(function*(){const i=new Headers;i.append("Content-Type","application/json");const n=JSON.stringify({input:{text:t},voice:{languageCode:e},audioConfig:{audioEncoding:"MP3"}});return fetch(`${c.default.URL_CHAT_TTS_GOOGLE}${c.default.KEY_CHAT_TTS_GOOGLE}`,{method:"POST",headers:i,body:n,redirect:"follow"}).then((e=>e.json())).catch((e=>e))}))}sendMessageEvent(){this.triggered=!0;const e=this.welcomeMessage,t=new CustomEvent("sendMessageTrigger",{detail:{inputText:e},bubbles:!0,composed:!0});this.sendEvent(t),this.dispatchEvent(t)}sendTriggerMessageEvent(){this.triggered=!0;const e=this.welcomeMessage,t=new CustomEvent("sendMessageTrigger",{detail:{inputText:e},bubbles:!0,composed:!0});this.sendEvent(t)}enableDisableAudio(){this.audioConfig=!this.audioConfig,void 0!==this.audioBox&&this.audioBox.pause()}
199formatDate(e){const t=e.toLocaleString("default",{month:"long"}),i=e.toLocaleString("default",{day:"numeric"}),n=e.toLocaleString("default",{hour:"numeric"}),r=e.toLocaleString("default",{minute:"numeric"}).padStart(2,"0");return this.config.showOnlyTime?`${n}:${r}`:`${i} ${t}, ${n}:${r}`}showTimeInfo(){var e,t,i,n,r,s,a,o;const l=document.createElement("span");l.className="time";const c=new Date(Date.now());l.innerText=this.formatDate(c);const d=null===(a=null===(s=null===(r=null===(n=null===(i=null===(t=null===(e=document.querySelector("body chat-bot"))||void 0===e?void 0:e.shadowRoot)||void 0===t?void 0:t.querySelector("chat-bot-component"))||void 0===i?void 0:i.shadowRoot)||void 0===n?void 0:n.querySelector("div > chat-box-body"))||void 0===r?void 0:r.shadowRoot)||void 0===s?void 0:s.querySelector("#box"))||void 0===a?void 0:a.lastElementChild;if(null===(null==d?void 0:d.querySelector("span"))&&(null==d||d.append(l),void 0!==this.lastInfoTime&&"mittente"===(null==d?void 0:d.className)&&this.lastTime===c.getUTCMinutes())){const e=null===(o=this.lastInfoTime)||void 0===o?void 0:o.querySelector("span");null!=e&&(e.style.visibility="hidden")}this.lastTime=c.getUTCMinutes(),this.lastInfoTime=d}render(){var e;this.manageScrollIcon(),!0!==this.autoTrigger||this.isPreviousConversation||this.sendMessageEvent(),this.autoTrigger=!1;const t={fontFamily:null!==(e=this.config.css.font_family)&&void 0!==e?e:"Roboto Condensed, Inter, Monteserrat"};return this.isPreviousConversation?o.html`<div
200          id="box"
201          class="chat-box-body"
202          @receivedMessage=${this.receiveEvent}
203          @sendMessage=${this.sendEvent}
204          @syncMessage=${this.sendEventSync}
205          @audioChoiceEvent=${this.enableDisableAudio}
206          style="${(0,u.styleMap)(t)}"
207        ></div>`:o.html`
208          <div
209            ?isPreviousConversation=${this.isPreviousConversation}
210            id="box"
211            class="chat-box-body"
212            @receivedMessage=${this.receiveEvent}
213            @sendMessage=${this.sendEvent}
214            @syncMessage=${this.sendEventSync}
215            @audioChoiceEvent=${this.enableDisableAudio}
216            style="${(0,u.styleMap)(t)}"
217          >
218            <trigger-card
219              id="trid"
220              ?hidden=${this.triggered}
221              ?isPreviousConversation=${this.isPreviousConversation}
222              welcomeMessage=${this.welcomeMessage}
223              languageCode=${this.languageCode}
224              triggerCardTitle=${this.triggerCardTitle}
225              triggerCardDescription=${this.triggerCardDescription}
226              triggerCardPrivacy=${this.triggerCardPrivacy}
227              triggerCardLogo=${this.triggerCardLogo}
228              @sendMessageTrigger=${this.sendTriggerMessageEvent}
229            ></trigger-card>
230          </div>
231        `}};f.styles=[d.chatBoxBodyStyle,h.iconStyle],n([(0,l.property)(),r("design:type",Object)],f.prototype,"lastInfoTime",void 0),n([(0,l.property)({type:Boolean}),r("design:type",Object)],f.prototype,"audioConfig",void 0),n([(0,l.property)({type:Boolean}),r("design:type",Boolean)],f.prototype,"chatBoxClosed",void 0),n([(0,l.state)(),r("design:type",HTMLAudioElement)],f.prototype,"audioBox",void 0),n([(0,l.property)({type:Boolean}),r("design:type",Object)],f.prototype,"autoTrigger",void 0),n([(0,l.property)({type:Boolean}),r("design:type",Boolean)],f.prototype,"triggered",void 0),n([(0,l.property)({type:String}),r("design:type",Object)],f.prototype,"welcomeMessage",void 0),n([(0,l.property)({type:String}),r("design:type",Object)],f.prototype,"languageCode",void 0),n([(0,l.property)({type:Number}),r("design:type",Number)],f.prototype,"lastTime",void 0),n([(0,l.property)(),r("design:type",Object)],f.prototype,"cacheConversation",void 0),n([(0,l.property)(),r("design:type",Array)],f.prototype,"listOfAudioToPlay",void 0),n([(0,l.property)(),r("design:type",Object)],f.prototype,"triggerCardTitle",void 0),n([(0,l.property)(),r("design:type",Object)],f.prototype,"triggerCardDescription",void 0),n([(0,l.property)(),r("design:type",Object)],f.prototype,"triggerCardPrivacy",void 0),n([(0,l.property)(),r("design:type",Object)],f.prototype,"triggerCardLogo",void 0),n([(0,l.property)({type:Boolean}),r("design:type",Object)],f.prototype,"isPreviousConversation",void 0),f=n([(0,l.customElement)("chat-box-body")],f),t.ChatBoxBody=f},6756:(e,t,i)=>{"use strict";
231Object.defineProperty(t,"__esModule",{value:!0}),t.chatBubble=void 0;const n=i(7677);t.chatBubble=n.css`
232.chat-bubble {
233
234  background-color: #88d48d;
235  padding: 17px 29.75px;
236  border-radius: 25px;
237  display: inline-block;
238  margin-bottom: 15px;
239}
240
241.typing {
242  align-items: center;
243  display: flex;
244  height: 17px;
245}
246.typing .dot {
247  animation: mercuryTypingAnimation 1.8s infinite ease-in-out;
248  background-color: #444A6A; //rgba(20,105,69,.7);
249  
250  border-radius: 50%;
251  height: 7.45px;
252  margin-right: 4.25px;
253  vertical-align: middle;
254  width: 7.45px;
255  display: inline-block;
256}
257.typing .dot:nth-child(1) {
258  animation-delay: 200ms;
259}
260.typing .dot:nth-child(2) {
261  animation-delay: 300ms;
262}
263.typing .dot:nth-child(3) {
264  animation-delay: 400ms;
265}
266.typing .dot:last-child {
267  margin-right: 0;
268}
269
270@keyframes mercuryTypingAnimation {
271  0% {
272    transform: translateY(0px);
273    background-color: #606590; // rgba(96,144,99,1);
274
275    
276  }
277  28% {
278    transform: translateY(-7px);
279    background-color: #737eaa; //rgba(115,170,61189,1);
280  }
281  44% {
282    transform: translateY(0px);
283    background-color: #838abf; //rgba(131,191,135,1);
284  }
285}
286}`},4328:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.ChatBubble=void 0;const r=i(7677),s=i(4846),a=i(3959),o=i(6756),l=i(8237);let c=class extends r.LitElement{render(){const e=l.ConfigurationService.instance,t={backgroundColor:e.css.chatBubbleCss.background_color,borderRadius:e.css.chatBubbleCss.border_radius};return r.html`
287      <div class="chat-bubble" style=${(0,a.styleMap)(t)}>
288        <div class="typing">
289          <div class="dot"></div>
290          <div class="dot"></div>
291          <div class="dot"></div>
292        </div>
293      </div>
294    `}};c.styles=o.chatBubble,c=n([(0,s.customElement)("chat-bubble")],c),t.ChatBubble=c},3191:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chatBoxHeaderStyle=void 0;const n=i(7677);t.chatBoxHeaderStyle=n.css`
295  p {
296    font-family: "Roboto Condensed", Inter;
297    font-weight: 700;
298    color: rgb(255 255 255);
299    letter-spacing: 0.06em;
300    line-height: 1em;
301  }
302
303  .box-header {
304    display: flex;
305    flex-direction: row;
306    position: relative;
307    align-items: center;
308    background: #2c313d;
309    border-radius: 7px 7px 0 0;
310    height: 68px;
311  }
312
313  .flex-centered {
314    display: flex;
315    justify-content: space-evenly;
316    align-items: center;
317  }
318
319  .basis-25 {
320    flex-basis: 25%;
321  }
322
323  .basis-2 {
324    flex-basis: 2%;
325  }
326
327  .basis-15 {
328    flex-basis: 15%;
329  }
330
331  .basis-10 {
332    flex-basis: 10%;
333  }
334
335  .basis-20 {
336    flex-basis: 20%;
337  }
338
339  .basis-30 {
340    flex-basis: 30%;
341  }
342
343  .basis-35 {
344    flex-basis: 35%;
345  }
346
347  .basis-33 {
348    flex-basis: 33%;
349  }
350
351  .basis-40 {
352    flex-basis: 40%;
353  }
354
355  .basis-70 {
356    flex-basis: 70%;
357  }
358
359  .basis-60 {
360    flex-basis: 60%;
361  }
362
363  .basis-50 {
364    flex-basis: 50%;
365  }
366
367  .basis-55 {
368    flex-basis: 55%;
369  }
370
371  .basis-45 {
372    flex-basis: 45%;
373  }
374
375  .audio-icon {
376    display: block;
377    margin: auto;
378    cursor: pointer;
379  }
380
381  .close-icon {
382    cursor: pointer;
383    display: block;
384    margin: auto;
385  }
386
387  .logo {
388    width: 40px;
389    height: 40px;
390    object-fit: contain;
391  }
392
393  .icon {
394    position: relative;
395    padding-right: 5px;
396    padding-left: 5px;
397  }
398
399  /* Style the hover message when it's shown */
400  .icon:hover .hover-message {
401    display: block;
402  }
403
404  .hover-message {
405    display: none;
406    position: absolute;
407    background-color: rgba(
408      0,
409      0,
410      0,
411      0.8
412    ); /* Background color for the hover message */
413    color: #fff;
414    padding: 5px;
415    border-radius: 4px;
416    z-index: 1;
417    pointer-events: none;
418    font-size: 10px;
419    bottom: 100%;
420    left: 50%;
421    transform: translateX(-50%);
422    margin-bottom: 5px;
423  }
424
425  .select-container {
426    position: relative;
427    width: 100%;
428    padding-right: 5px;
429    padding-left: 5px;
430  }
431
432  .custom-select {
433    position: relative;
434    width: 100%;
435    overflow: hidden; /* Nascondi il contenuto oltre il bordo */
436  }
437
438  .custom-select select {
439    width: 100%;
440    padding: 5px;
441    -webkit-appearance: none;
442    -moz-appearance: none;
443    appearance: none;
444    border-radius: 7px;
445    border-color: white;
446    cursor: pointer;
447    color: white; /* Text color */
448    background-color: transparent;
449    z-index: 2;
450    font-size: 12px;
451  }
452
453  .custom-select select:focus,
454  .custom-select select:active {
455    outline: none; /* Rimuovi la cornice di default */
456  }
457
458  .select-container::after {
459    content: "language"; /* Material icon name */
460    font-family: "Material Icons";
461    font-size: 19px;
462    position: absolute;
463    right: 9px; /* Aggiunto spazio tra l'icona e la select */
464    top: 50%;
465    transform: translateY(-50%);
466    pointer-events: none;
467    color: white; /* Icon color */
468  }
469`},8436:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>
4693?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChatBoxHeader=void 0;const a=i(7677),o=i(4846),l=i(3959),c=s(i(6734)),d=i(8237),u=i(5062),p=i(8613),h=i(5132),f=i(3191);let g=class extends a.LitElement{constructor(){super(...arguments),this.image=c.default,this.botName="",this.audioFeature=!1,this.languageMenu=!1,this.hoverMessage="",this.languageCode=""}closeChatBoxEvent(){const e=new CustomEvent("closeChatEvent",{bubbles:!0});this.dispatchEvent(e)}refreshConversationEvent(){const e=new CustomEvent("refreshConversationEvent",{bubbles:!0});this.dispatchEvent(e)}changeLanguageEvent(e){const t=e.target;if(null!==t.value){const e=t.value,i=new CustomEvent("changeLanguageEvent",{detail:{value:e},bubbles:!0});this.dispatchEvent(i)}}audioChoiceEvent(){const e=new CustomEvent("audioChoiceEvent",{bubbles:!0});this.dispatchEvent(e)}changeAudio(){var e;this.audioIconSpan.textContent="volume_up"===(null===(e=this.audioIconSpan)||void 0===e?void 0:e.textContent)?"volume_off":"volume_up",this.audioChoiceEvent()}handleRefreshMouseOver(){this.hoverMessage=h.TranslationService.translate("RELOAD_CHAT")}handleRefreshMouseOut(){this.hoverMessage=""}handleCloseMouseOver(){this.hoverMessage=h.TranslationService.translate("CLOSE_CHAT")}handleCloseMouseOut(){this.hoverMessage=""}render(){var e,t,i;const n=d.ConfigurationService.instance,r={backgroundColor:n.css.headerCss.background_color,fontFamily:null!==(e=n.css.font_family)&&void 0!==e?e:"Roboto Condensed, Inter, Monteserrat"},s={color:n.css.headerCss.text_color,fontFamily:null!==(t=n.css.font_family)&&void 0!==t?t:"Roboto Condensed, Inter, Monteserrat"},o={color:n.css.headerCss.icon_color,fontSize:n.css.headerCss.header_icons_font_size},c={width:"15px",height:"15px",background:n.css.headerCss.background_close_icon},u=null!==(i=n.iconHeaderCloseChat)&&void 0!==i?i:"close",p=h.TranslationService.translate("RELOAD_CHAT"),f=h.TranslationService.translate("CLOSE_CHAT");let g;g=this.audioFeature?a.html`
470        <div class="icon basis-10" style=${(0,l.styleMap)(c)}>
471          <span
472            class="material-icons audio-icon"
473            style=${(0,l.styleMap)(o)}
474            @click=${this.changeAudio}
475            id="audio-icon"
476          >
477            volume_off
478          </span>
479        </div>
480      `:a.html`<div class="basis-25"></div>`;const m=n.languageMenu,v=this.languageMenu?a.html`
481          <div class="select-container basis-70">
482            <div class="custom-select" style=${(0,l.styleMap)(r)}>
483              <select
484                name="language"
485                id="language"
486                style=${(0,l.styleMap)(r)}
487                @change=${e=>{this.changeLanguageEvent(e)}}
488              >
489                ${m.map((e=>e===this.languageCode?a.html`<option value=${e} selected>
490                      ${e.toUpperCase()}
491                    </option>`:a.html`<option value=${e}>
492                      ${e.toUpperCase()}
493                    </option>`))}
494              </select>
495            </div>
496          </div>
497        `:a.html`<div class="basis-70"></div>`;return a.html`
498      <div class="box-header" style=${(0,l.styleMap)(r)}>
499        <img src=${this.image} class="basis-25 logo" alt="logo chatbot" />
500        <p class="basis-40" style=${(0,l.styleMap)(s)}>${this.botName}</p>
501        <div class="basis-33 flex-centered">
502          ${v} ${g}
503          <div class="icon basis-10" style=${(0,l.styleMap)(c)}>
504            <span
505              class="material-icons close-icon"
506              style=${(0,l.styleMap)(o)}
507              @click=${this.refreshConversationEvent}
508              @mouseover=${this.handleRefreshMouseOver}
509              @mouseout=${this.handleRefreshMouseOut}
510              title="${this.hoverMessage}"
511              >refresh</span
512            >
513            ${this.hoverMessage===p?a.html`<div class="hover-message">${this.hoverMessage}</div>`:""}
514          </div>
515          <div class="icon basis-10" style=${(0,l.styleMap)(c)}>
516            <span
517              class="material-icons close-icon"
518              style=${(0,l.styleMap)(o)}
519              @click=${this.closeChatBoxEvent}
520              @mouseover=${this.handleCloseMouseOver}
521              @mouseout=${this.handleCloseMouseOut}
522              title="${this.hoverMessage}"
523              >${u}</span
524            >
525            ${this.hoverMessage===f?a.html`<div class="hover-message">${this.hoverMessage}</div>`:""}
526          </div>
527          <div class="basis-2"></div>
528        </div>
529      </div>
530    `}};g.styles=[f.chatBoxHeaderStyle,p.iconStyle,u.buttonStyle],n([(0,o.property)({type:String}),r("design:type",Object)],g.prototype,"image",void 0),n([(0,o.property)({type:String}),r("design:type",Object)],g.prototype,"botName",void 0),n([(0,o.property)({type:Boolean}),r("design:type",Object)],g.prototype,"audioFeature",void 0),n([(0,o.property)({type:Boolean}),r("design:type",Object)],g.prototype,"languageMenu",void 0),n([(0,o.query)("#audio-icon"),r("design:type",Element)],g.prototype,"audioIconSpan",void 0),n([(0,o.property)({type:String}),r("design:type",Object)],g.prototype,"hoverMessage",void 0),n([(0,o.property)({type:String}),r("design:type",Object)],g.prototype,"languageCode",void 0),g=n([(0,o.customElement)("chat-box-header")],g),t.ChatBoxHeader=g},354:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(r,s){function a(e){try{l(n.next(e))}catch(e){s(e)}}function o(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(a,o)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ChatBoxInputText=void 0;const a=i(7677),o=i(4846),l=i(5186),c=i(3959),d=i(8237),u=i(5062),p=i(8613),h=i(4371),f=i(5132),g=i(430);let m=class extends a.LitElement{constructor(){super(),this.config=d.ConfigurationService.instance,this.button="mic-button",this.classButton="",this.languageCode="",this.audioFeature=!1,this.listenerKeyboardEvent()}updated(){this.audioFeature?(this.onInputFunction=this.onInput,this.sendMessageEventFunction=this.sendMessageEvent):(this.onInputFunction=this.onInputNoAudio,this.sendMessageEventFunction=this.sendMessageEventNoAudio,this.inputIconSpan.textContent="send")}onInput(e){const t=e.target;this.inputIconSpan.textContent=""!==t.value?"send":"mic"}onInputNoAudio(e){this.inputIconSpan.textContent="send"}sttListenerResult(e){e.addEventListener("result",(e=>{const t=this.toArray(e.results)[0],i=this.toArray(t)[0].transcript;this.input.value=i}))}stopRecognizer(e){e.stop(),this.inputIconSpan.textContent="mic",this.classButton=""}sttListenerEnd(e){e.addEventListener("speechend",(()=>{e.stop(),this.classButton="",setTimeout((()=>{this.dispatchMessage()}),500)}))}toArray(e){return Array.prototype.slice.call(e)}dispatchMessage(){var e,t,i,n;const r=d.ConfigurationService.instance,s=this.input.value;if(""!==s){this.inputIconSpan.textContent="mic",this.inputIconSpan.parentElement.classList.remove("pulse"),this.inputIconSpan.parentElement.style.background=r.css.chatBoxInputCss.send_button_icon_background_color,this.classButton="";const a=new CustomEvent("sendMessage",{detail:{inputText:s},bubbles:!0,composed:!0});this.dispatchEvent(a),this.input.value="",null===(n=null===(i=null===(t=null===(e=this.parentElement)||void 0===e?void 0:e.querySelector("chat-box-body"))||void 0===t?void 0:t.shadowRoot)||void 0===i?void 0:i.firstElementChild)||void 0===n||n.dispatchEvent(a)}}dispatchMessageNoAudio(){var e,t,i,n;const r=this.input.value;if(""!==r){const s=new CustomEvent("sendMessage",{detail:{inputText:r},bubbles:!0,composed:!0});this.dispatchEvent(s),this.input.value="",null===(n=null===(i=null===(t=null===(e=this.parentElement)||void 0===e?void 0:e.querySelector("chat-box-body"))||void 0===t?void 0:t.shadowRoot)||void 0===i?void 0:i.firstElementChild)||void 0===n||n.dispatchEvent(s)}}checkAllowMicPermission(){return s(this,void 0,void 0,(function*(){let e;!function(e){e.DENIED="denied",e.GRANTED="granted",e.PROMPT="prompt"}(e||(e={})),(yield navigator.permissions.query({name:"microphone"}).then((function(t){switch(t.state){case e.DENIED.valueOf():return!1;case e.GRANTED.valueOf():return!0;default:return!1}}
530)))&&(this.classButton="pulse",this.sttListenerResult(this.recognizer),this.sttListenerEnd(this.recognizer))}))}sendMessageEventNoAudio(){this.dispatchMessageNoAudio()}sendMessageEvent(){"mic"===this.inputIconSpan.textContent&&this.inputIconSpan.parentElement.classList.contains("pulse")?(this.inputIconSpan.parentElement.classList.remove("pulse"),this.inputIconSpan.parentElement.style.background=this.config.css.chatBoxInputCss.send_button_icon_background_color,this.inputIconSpan.parentElement.style.color=this.config.css.chatBoxInputCss.send_button_icon_color,this.inputIconSpan.parentElement.style.border="none",this.stopRecognizer(this.recognizer)):"mic"===this.inputIconSpan.textContent?(this.inputIconSpan.parentElement.classList.add("pulse"),this.inputIconSpan.parentElement.style.background=this.inputIconSpan.parentElement.style.color=this.config.css.chatBoxInputCss.mic_recording_background_color,this.inputIconSpan.parentElement.style.border=`1px solid ${this.config.css.chatBoxInputCss.mic_recording_border_color}`,this.inputIconSpan.parentElement.style.color=this.config.css.chatBoxInputCss.mic_recording_icon_color,this.recognizer=(0,h.initRecognizer)(this.languageCode),this.recognizer.start(),this.checkAllowMicPermission()):this.dispatchMessage()}listenerKeyboardEvent(){setTimeout((()=>{this.input.addEventListener("keypress",(function(e){var t;"Enter"===e.key&&(e.preventDefault(),(null===(t=this.nextElementSibling)||void 0===t?void 0:t.firstElementChild).click())}))}),0)}render(){const e={backgroundColor:this.config.css.chatBoxInputCss.input_text_background,color:this.config.css.chatBoxInputCss.input_text_color},t={color:this.config.css.chatBoxInputCss.send_button_icon_color},i={background:this.config.css.chatBoxInputCss.send_button_icon_background_color},n=f.TranslationService.translate("CHAT_PLACEHOLDER_INPUT",this.languageCode);return a.html`
531      <div class="footer">
532        <input
533          type="text"
534          id="chat-input"
535          placeholder=${n}
536          style=${(0,c.styleMap)(e)}
537          @input=${this.onInputFunction}
538        />
539        <div
540          class="icon ${this.classButton}"
541          style=${(0,c.styleMap)(i)}
542        >
543          <span
544            class="material-icons "
545            id="input-icon"
546            style=${(0,c.styleMap)(t)}
547            @click=${this.sendMessageEventFunction}
548            >mic</span
549          >
550        </div>
551      </div>
552    `}};m.styles=[g.chatBoxInputStyle,u.buttonStyle,p.iconStyle],n([(0,l.query)("#chat-input"),r("design:type",HTMLInputElement)],m.prototype,"input",void 0),n([(0,l.query)("#send-button"),r("design:type",HTMLButtonElement)],m.prototype,"sendButton",void 0),n([(0,o.property)({type:String}),r("design:type",Object)],m.prototype,"button",void 0),n([(0,o.property)(),r("design:type",Object)],m.prototype,"languageCode",void 0),n([(0,o.property)({type:Boolean}),r("design:type",Object)],m.prototype,"audioFeature",void 0),n([(0,o.property)(),r("design:type",Object)],m.prototype,"onInputFunction",void 0),n([(0,o.property)(),r("design:type",Object)],m.prototype,"sendMessageEventFunction",void 0),n([(0,l.query)("#input-icon"),r("design:type",Element)],m.prototype,"inputIconSpan",void 0),m=n([(0,o.customElement)("chat-box-input-text"),r("design:paramtypes",[])],m),t.ChatBoxInputText=m},430:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chatBoxInputStyle=void 0;const n=i(7677);t.chatBoxInputStyle=n.css`
553  #chat-input {
554    background: #2c313d;
555    height: 52px;
556    width: 70%;
557    border-radius: 25px;
558    align-items: center;
559  }
560
561  input[type="text"] {
562    border: none;
563    padding-left: 20px;
564    padding-right: 20px;
565    color: #8b8d90;
566  }
567
568  #send-button {
569    cursor: pointer;
570    border-radius: 50%;
571    height: 52px;
572  }
573
574  #mic-button {
575    cursor: pointer;
576    border-radius: 50%;
577    height: 52px;
578  }
579
580  #mic-button-recording {
581    cursor: pointer;
582    border-radius: 50%;
583    height: 52px;
584  }
585
586  .flex-basis25 {
587    flex-basis: 25%;
588  }
589
590  .footer {
591    display: flex;
592    flex-direction: row;
593    justify-content: space-around;
594    position: relative;
595    bottom: 0px;
596    width: 100%;
597    padding-top: 24px;
598    padding-bottom: 24px;
599  }
600
601  .icon.pulse {
602    animation: pulse-animation 2s infinite;
603    border: 1px solid black;
604    background-color: #ffffff;
605  }
606
607  @keyframes pulse-animation {
608    0% {
609      box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
610    }
611    100% {
612      box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
613    }
614  }
615`},4817:(e,t,i)=>{"use strict";
615Object.defineProperty(t,"__esModule",{value:!0}),t.chatScrollBtn=void 0;const n=i(7677);t.chatScrollBtn=n.css`
616  .scroll-btn {
617    position: absolute;
618    bottom: 110px;
619    right: 28px;
620  }
621  .scroll-btn .icon-scroll {
622    border-radius: 50%;
623    width: 32px;
624    height: 32px;
625    display: flex;
626    justify-content: center;
627    align-items: center;
628    cursor: pointer;
629  }
630  .scroll-btn-hidden {
631    display: none;
632  }
633`},9854:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.ChatScrollBtn=void 0;const r=i(7677),s=i(4846),a=i(8613),o=i(4817),l=i(8237),c=i(3959);let d=class extends r.LitElement{render(){const e=l.ConfigurationService.instance,t={fontSize:e.css.scrollBtnCss.scroll_bt
633n_font_size,color:e.css.scrollBtnCss.scroll_btn_icon_color},i={backgroundColor:e.css.scrollBtnCss.scroll_btn_background_color};return r.html`
634      <div class="scroll-btn scroll-btn-hidden">
635        <div class="icon-scroll" style="${(0,c.styleMap)(i)}">
636          <span
637            class="material-icons material-symbols-rounded"
638            style="${(0,c.styleMap)(t)}"
639          >
640            arrow_downward
641          </span>
642        </div>
643      </div>
644    `}};d.styles=[o.chatScrollBtn,a.iconStyle],d=n([(0,s.customElement)("chat-scroll-btn")],d),t.ChatScrollBtn=d},843:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chatBotStyles=void 0;const n=i(7677);t.chatBotStyles=n.css`
645
646.flex-col {
647    display: flex;
648    flex-direction: column;
649  }
650
651  .basis85 {
652    flex-basis: 85%;
653  }
654
655  .basis90 {
656    flex-basis: 90%;
657  }
658  .basis100 {
659    flex-basis: 100%;
660  }
661
662  .basis10 {
663    flex-basis: 10%;
664  }
665
666  .basis5 {
667    flex-basis: 5%;
668  }
669
670  .scrollable {
671    overflow-y: scroll;
672  }
673
674  
675
676  .chat-box {
677    display: flex;
678    flex-direction: column;
679    background: white;
680    position: fixed;
681    right: 34px;
682    bottom: 0;
683    width: 408px;
684    height: 87vh;
685    border-radius: 8px 8px 0 0;
686    z-index: 9999;
687    border:1px solid black;
688  }
689
690  
691
692  .hidden {
693    display: none;
694  }
695
696  /* width */
697  ::-webkit-scrollbar {
698    width: 0px;
699  }
700
701
702  @media screen and (max-width: 600px) {
703    .chat-box {
704      bottom: 0;
705      height: calc(100% - 50px);
706      width: 100%;
707      right: 0;
708    }
709  }
710}`},8330:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChatBot=void 0;const c=i(7677),d=i(4846),u=i(3959),p=a(i(6486)),h=l(i(6913)),f=i(8237),g=l(i(7144)),m=i(5132),v=i(843),y=i(9755),b=l(i(9864));let w=class extends c.LitElement{removeAllDivs(){var e,t,i;const n=null===(t=null===(e=this.boxBodyContainer)||void 0===e?void 0:e.shadowRoot)||void 0===t?void 0:t.querySelector("#box");n&&(["div","button-message","single-chip","motion-carousel","message-box"].forEach((e=>{n.querySelectorAll(e).forEach((e=>e.remove()))})),null===(i=n.querySelector("trigger-card"))||void 0===i||i.removeAttribute("hidden"))}createMessageUserTemplate(e){const t=document.createElement("div");t.className="mittente";const i=document.createElement("message-box");return i.setAttribute("text",e),i.className="mittente",t.append(i),t}constructor(){super(),this.errorMessage="",this.config=f.ConfigurationService.instance,this.feedbackModal=null,this.currentPage=this.config.parentName+g.default.BOT_DEFAULT_CURRENT_PAGE,this.chatOpen=!1,this.languageCode="",this.image="",this.welcomeMessage="",this.botName=this.config.name,this.autoTrigger=this.config.autoTrigger,this.socketOpen=!1,this.boxHidden=g.default.BOT_DEFAULT_BOX_HIDDEN,this.audioEnabled=!1,this.audioFeature=this.config.audioFeature,this.languageMenu=this.config.languageMenuFeature,this.inputEnabled=!1,this.triggerCardTitle="",this.triggerCardDescription="",this.triggerCardPrivacy="",this.triggerCardLogo="",this.token="",this.hiddenInputText=this.config.hiddenInput,this.showFeedbackHeader=!1,this.isPreviousConversation=!0,this.conversationHistory=[],this.triggeredReset=!1,this.timestamp=Date.now(),this.authToken="",setTimeout((()=>{var e;const t=localStorage.getItem("cbSessionId");if(t){const i=JSON.parse(t);this.conversationHistory=i.conversation;const n=Date.now()-i.createdAt;if(Math.round(n/6e4)<30&&0!==this.conversationHistory.length){this.isPreviousConversation=!0,this.showFeedbackHeader=!0;const t=this.conversationHistory.map((e=>{var t;if("string"==typeof e)return this.createMessageUserTemplate(e).innerHTML;{const i=b.default.getTemplate(e).getTemplate();return null===(t=i.firstElementChild)||void 0===t||t.removeAttribute("loadingbubble"),this.enableInputText(),i.innerHTML}}));this.boxBody.shadowRoot.children.length>0&&(null===(e=this.boxBody.shadowRoot.children[0].firstElementChild)||void 0===e||e.setAttribute("hidden",""),t.forEach((e=>{var t;const i=document.createRange().createContextualFragment(e);null===(t=this.boxBody.shadowRoot.lastElementChild)||void 0===t||t.appendChild(i)})))}else localStorage.removeItem("cbSessionId"),this.conversationHistory=[],this.autoTrigger=!1,this.isPreviousConversation=!1,this.show
710FeedbackHeader=!1}}),0),this.channel=new BroadcastChannel("conversationChannel"),this.channel.onmessage=e=>{var t,i,n,r;const s=e.data;if("user"===s.type){this.sendMessageEvent(s.message),this.enableInputText();const e=null===(i=null===(t=this.boxBodyContainer)||void 0===t?void 0:t.shadowRoot)||void 0===i?void 0:i.querySelector("#box");e&&(null===(n=e.querySelector("trigger-card"))||void 0===n||n.setAttribute("hidden",""))}else"bot"===s.type?this.receivedMessage(s.message,!0):"currentPage"===s.type?this.currentPage=s.message:"conversationHistory"===s.type?this.conversationHistory=s.message:"changeLanguage"===s.type?(this.languageCode=null!==(r=localStorage.getItem("cbLang"))&&void 0!==r?r:"",m.TranslationService.currentLang=this.languageCode,this.setModalAttribute(),this.sendUpdateParamsEvent(),this.clearConversationState()):this.conversationHistory=[]}}fetchTokenAndSession(){y.ChatService.sendTokenAndSessionId(this.token,this.sessionId||"").then((e=>{this.authToken=this.token})).catch((e=>{this.authToken="",console.info(e)}))}sendTokenAndSessionID(){this.sessionId&&(p.isEmpty(this.authToken)&&this.token&&this.fetchTokenAndSession(),this.authToken!==this.token&&this.fetchTokenAndSession())}sendMessageBroadcast(e){this.channel.postMessage({type:"user",message:e})}sendBotMessageBroadcast(e){this.channel.postMessage({type:"bot",message:e})}sendCurrentPageBroadcast(){this.channel.postMessage({type:"currentPage",message:this.currentPage})}sendConversationHistoryBroadcast(){this.channel.postMessage({type:"conversationHistory",message:this.conversationHistory})}
710sendUpdateParamsEvent(){const e={detail:{data:this.languageCode},bubbles:!0},t=new CustomEvent("setLanguageCodeEvent",e);this.dispatchEvent(t)}connectedCallback(){super.connectedCallback();const e=document.createElement("style");e.append(`@import url(${h.default})`),document.head.appendChild(e);const t=document.createElement("meta");t.name="viewport",t.content="width=device-width, initial-scale=1.0, maximum-scale=1.0",document.head.appendChild(t),this.openSocket(this.config.endpoint.socketBaseUrl),this.setLanguageService(),this.sendTokenAndSessionID()}setLanguageService(){null!==localStorage.getItem("cbLang")&&this.languageCode!==localStorage.getItem("cbLang")&&(m.TranslationService.currentLang=this.languageCode,localStorage.setItem("cbLang",this.languageCode),this.sendUpdateParamsEvent(),this.setModalAttribute(),this.refreshChat())}setLanguageChat(e){null!==localStorage.getItem("cbLang")&&e.detail.value!==localStorage.getItem("cbLang")&&(this.languageCode=e.detail.value,localStorage.setItem("cbLang",this.languageCode),m.TranslationService.currentLang=this.languageCode,this.setModalAttribute(),this.sendUpdateParamsEvent(),this.refreshChat())}firstUpdated(){this.hiddenInputText?this.inputEnabled=!0:this.inputEnabled=!this.autoTrigger,localStorage.setItem("cbLang",this.languageCode);const e=localStorage.getItem("cbSessionId"),t=e?JSON.parse(e):null;null!==t&&0!==t.conversation.length&&this.openChat()}extractSessionId(e){const t=JSON.parse(e);if(void 0!==t.session&&(this.sessionId=t.session.id,this.sessionId&&t.session.id)){const e={sessionId:t.session.id,conversation:this.conversationHistory,createdAt:this.timestamp},i=localStorage.getItem("cbSessionId"),n=p.isNil(i)?void 0:JSON.parse(i);!p.isNil(i)&&p.isEqual(this.sessionId,null==n?void 0:n.sessionId)||localStorage.setItem("cbSessionId",JSON.stringify(e))}void 0!==t.current_page&&(this.currentPage=t.current_page,this.sendCurrentPageBroadcast())}createMessageRequest(e){const t={agent:{parent:this.config.parentName}},i=localStorage.getItem("cbSessionId");if(i){const e=JSON.parse(i);this.sessionId=e.sessionId}return void 0!==this.sessionId&&(t.id=this.sessionId),{text:e,session:t,language_code:this.languageCode,current_page:this.currentPage}}createFirstFakeMsg(){var e;const t=this.createMessageRequest(g.default.BOT_FIRST_FAKE_MSG_TO_OBTAIN_SESSION_ID);null===(e=this.socket)||void 0===e||e.send(JSON.stringify(t))}openSocket(e){this.socket=new window.WebSocket(`${e}?key=${this.config.apiToken}`),this.socket.onopen=()=>{this.socketOpen=!0,p.isEmpty(this.token)||this.createFirstFakeMsg()},this.socket.addEventListener("message",(e=>{this.receivedMessage(e.data,!1),this.sendBotMessageBroadcast(e.data)})),this.socket.onerror=function(){this.close()},this.socket.onclose=()=>{this.openSocket(this.config.endpoint.socketBaseUrl)}}sendMessage(e){var t;const i=this.createMessageRequest(e);null===(t=this.socket)||void 0===t||t.send(JSON.stringify(i)),this.conversationHistory.push(e),this.sendMessageBroadcast(e);const n=localStorage.getItem("cbSessionId");if(n){const e=JSON.parse(n),t=Object.assign(Object.assign({},e),{conversation:this.conversationHistory});localStorage.setItem("cbSessionId",JSON.stringify(t)),this.sendConversationHistoryBroadcast()}}sendMessageEvent(e){var t,i,n;const r=new CustomEvent("syncMessage",{detail:{message:e},bubbles:!0,composed:!0});null===(n=null===(i=null===(t=this.boxBody)||void 0===t?void 0:t.shadowRoot)||void 0===i?void 0:i.firstElementChild)||void 0===n||n.dispatchEvent(r)}receivedMessage(e,t){const i=JSON.parse(e).messages;i&&this.extractMessages(i,t,e),this.extractSessionId(e)}extractMessages(e,t,i){var n;const r=[];for(const i of e){const e=i;if(e){const s=b.default.getTemplate(e).getTemplate();s.hasAttribute("error")&&""!==this.errorMessage&&s.firstElementChild.setAttribute("text",this.errorMessage);let a="";(null===(n=s.firstElementChild)||void 0===n?void 0:n.hasAttribute("text"))&&(a=i.richContent[0][0].text);const o={detail:{messageTemplate:s,tts:a},bubbles:!0,composed:!0};r.push(o),t||this.conversationHistory.push(e)}}const s=localStorage.getItem("cbSessionId");if(s){const e=JSON.parse(s),i=Object.assign(Object.assign({},e),{conversation:this.conversationHistory});t||localStorage.setItem("cbSessionId",JSON.stringify(i)),this.sendConversationHistoryBroadcast()}this.dispatchReceivedMessageEvent(r,i)}dispatchReceivedMessageEvent(e,t){const i=new CustomEvent("receivedMessage",{detail:{receivedMessageContentArray:e},bubbles:!0,composed:!0});setTimeout((()=>{var e,t,n;null===(n=null===(t=null===(e=this.boxBody)||void 0===e?void 0:e.shadowRoot)||void 0===t?void 0:t.firstElementChild)||void 0===n||n.dispatchEvent(i)}),1e3),this.extractSessionId(t)}
710dispatchAudioChoiceEvent(){var e,t,i;const n=new CustomEvent("audioChoiceEvent");null===(i=null===(t=null===(e=this.boxBody)||void 0===e?void 0:e.shadowRoot)||void 0===t?void 0:t.firstElementChild)||void 0===i||i.dispatchEvent(n)}openChat(){this.chatOpen=!this.chatOpen,this.boxHidden=this.boxHidden===g.default.BOT_DEFAULT_BOX_HIDDEN?"":g.default.BOT_DEFAULT_BOX_HIDDEN}clearConversationState(){this.inputEnabled=!0,this.authToken="",this.removeAllDivs(),this.autoTrigger=!1,this.conversationHistory=[],this.requestUpdate()}refreshChat(){var e;null===(e=this.socket)||void 0===e||e.close(),localStorage.removeItem("cbSessionId"),this.sessionId=void 0,this.clearConversationState(),this.channel.postMessage({type:"changeLanguage"})}messageListener(e){var t,i,n;const r=null===(i=null===(t=this.boxBodyContainer)||void 0===t?void 0:t.shadowRoot)||void 0===i?void 0:i.querySelector("#box");r&&(null===(n=r.querySelector("trigger-card"))||void 0===n||n.setAttribute("hidden","")),this.showFeedbackHeader||(this.showFeedbackHeader=!0),this.sendMessage(e.detail.inputText)}enableInputText(){this.hiddenInputText||(this.inputEnabled=!1)}openFeedbackDialog(){var e,t;this.feedbackModal=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector("modal-feedback"),null===(t=this.feedbackModal)||void 0===t||t.setAttribute("open","true"),this.setModalAttribute()}setModalAttribute(){this.feedbackModal&&(this.feedbackModal.setAttribute("languageCode",this.languageCode),this.feedbackModal.setAttribute("sessionId",this.sessionId||""))}render(){var e;const t={backgroundColor:this.config.css.body_background,fontFamily:null!==(e=this.config.css.font_family)&&void 0!==e?e:"Roboto Condensed, Inter, Monteserrat"},i=this.boxHidden===g.default.BOT_DEFAULT_BOX_HIDDEN;this.setLanguageService(),this.sendTokenAndSessionID();const n=this.config.feedbackEnabled?c.html`
711          <modal-feedback></modal-feedback>
712          <feedback-component
713            ?hidden=${!this.showFeedbackHeader}
714            languageCode=${this.languageCode}
715            botName=${this.botName}
716            @openFeedbackDialog=${this.openFeedbackDialog}
717          ></feedback-component>
718        `:"",r=this.socketOpen&&this.autoTrigger?c.html`<chat-box-body
719            id="message-container"
720            ?triggeredReset=${this.triggeredReset}
721            ?isPreviousConversation=${this.isPreviousConversation}
722            class="basis85 scrollable"
723            @sendMessageTrigger=${this.messageListener}
724            welcomeMessage=${this.welcomeMessage}
725            languageCode=${this.languageCode}
726            ?chatBoxClosed=${i}
727            ?audioConfig=${this.audioEnabled}
728            autoTrigger
729            style=${(0,u.styleMap)(t)}
730          ></chat-box-body>`:c.html`<chat-box-body
731            id="message-container"
732            ?triggeredReset=${this.triggeredReset}
733            class="basis100 scrollable"
734            @sendMessageTrigger=${this.messageListener}
735            welcomeMessage=${this.welcomeMessage}
736            languageCode=${this.languageCode}
737            ?chatBoxClosed=${i}
738            ?audioConfig=${this.audioEnabled}
739            style=${(0,u.styleMap)(t)}
740            triggerCardTitle=${this.triggerCardTitle}
741            triggerCardDescription=${this.triggerCardDescription}
742            triggerCardPrivacy=${this.triggerCardPrivacy}
743            triggerCardLogo=${this.triggerCardLogo}
744          ></chat-box-body>`;return c.html`
745      <start-button @click=${this.openChat} botImage=${this.image}>
746      </start-button>
747      <div
748        class="chat-box ${this.boxHidden}"
749        @triggeredEvent=${this.enableInputText}
750      >
751        <chat-box-header
752          image=${this.image}
753          @closeChatEvent=${this.openChat}
754          @refreshConversationEvent=${this.refreshChat}
755          @changeLanguageEvent=${this.setLanguageChat}
756          @audioChoiceEvent=${this.dispatchAudioChoiceEvent}
757          botName=${this.botName}
758          ?audioFeature=${this.audioFeature}
759          ?languageMenu=${this.languageMenu}
760          languageCode=${this.languageCode}
761        ></chat-box-header>
762        ${n} ${r}
763        <chat-scroll-btn></chat-scroll-btn>
764        <chat-box-input-text
765          ?hidden=${this.inputEnabled}
766          @sendMessage=${this.messageListener}
767          languageCode=${this.languageCode}
768          ?audioFeature=${this.audioFeature}
769          style=${(0,u.styleMap)(t)}
770        ></chat-box-input-text>
771      </div>
772    `}};w.styles=[v.chatBotStyles],s([(0,d.property)(),o("design:type",Object)],w.prototype,"errorMessage",void 0),s([(0,d.query)("chat-box-body"),o("design:type",Element)],w.prototype,"boxBody",void 0),s([(0,d.query)("#message-container"),o("design:type",Element)],w.prototype,"boxBodyContainer",void 0),s([(0,d.property)({type:Boolean}),o("design:type",Object)],w.prototype,"chatOpen",void 0),s([(0,d.property)({type:String}),o("design:type",Object)],w.prototype,"languageCode",void 0),s([(0,d.property)({attribute:!1}),o("design:type",String)],w.prototype,"sessionId",void 0),s([(0,d.property)(),o("design:type",Object)],w.prototype,"image",void 0),s([(0,d.property)(),o("design:type",Object)],w.prototype,"welcomeMessage",void 0),s([(0,d.property)(),o("design:type",Object)],w.prototype,"botName",void 0),s([(0,d.state)(),o("design:type",Object)],w.prototype,"autoTrigger",void 0),s([(0,d.property)({attribute:!1}),o("design:type",WebSocket)],w.prototype,"socket",void 0),s([(0,d.property)({type:Boolean,attribute:!1}),o("design:type",Object)],w.prototype,"socketOpen",void 0),s([(0,d.property)({attribute:!1}),o("design:type",Object)],w.prototype,"boxHidden",void 0),s([(0,d.property)({type:Boolean,attribute:!1}),o("design:type",Object)],w.prototype,"audioEnabled",void 0),s([(0,d.state)(),o("design:type",Object)],w.prototype,"audioFeature",void 0),s([(0,d.state)(),o("design:type",Object)],w.prototype,"languageMenu",void 0),s([(0,d.property)({type:Boolean}),o("design:type",Object)],w.prototype,"inputEnabled",void 0),s([(0,d.property)(),o("design:type",Object)],w.prototype,"triggerCardTitle",void 0),s([(0,d.property)(),o("design:type",Object)],w.prototype,"triggerCardDescription",void 0),s([(0,d.property)(),o("design:type",Object)],w.prototype,"triggerCardPrivacy",void 0),s([(0,d.property)(),o("design:type",Object)],w.prototype,"triggerCardLogo",void 0),s([(0,d.property)(),o("design:type",Object)],w.prototype,"token",void 0),s([(0,d.state)(),o("design:type",Object)],w.prototype,"hiddenInputText",void 0),s([(0,d.state)(),o("design:type",BroadcastChannel)],w.prototype,"channel",void 0),s([(0,d.property)({type:Boolean}),o("design:type",Object)],w.prototype,"isPreviousConversation",void 0),s([(0,d.property)({type:Array}),o("design:type",Array)],w.prototype,"conversationHistory",void 0),s([(0,d.property)({type:Boolean}),o("design:type",Object)],w.prototype,"triggeredReset",void 0),s([(0,d.state)(),o("design:type",Object)],w.prototype,"timestamp",void 0),s([(0,d.state)(),o("design:type",Object)],w.prototype,"authToken",void 0),w=s([(0,d.customElement)("chat-bot-component"),o("design:paramtypes",[])],w),t.ChatBot=w},213:function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
772dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(i(4618));class s extends r.default{constructor(e){super(),this.content=e.richContent[0]}getTemplate(){const e=document.createElement("div");return this.content.forEach((t=>{const i=document.createElement("button-message");i.setAttribute("title",t.title),i.setAttribute("subtitle",t.subtitle),i.setAttribute("link",t.link),t.target&&i.setAttribute("target",t.target),e.append(i)})),e}}t.default=s},5843:function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(i(4618));class s extends r.default{constructor(e){super(),this.content=e.richContent[0],this.startTemplate()}startTemplate(){this.container=document.createElement("motion-carousel")}getTemplate(){const e=document.createElement("div");if(1===this.content.length){const t=this.content[0],i=document.createElement("card-message");i.setAttribute("title",t.title),i.setAttribute("message",t.subtitle),i.setAttribute("imageUrl",t.image.src.rawUrl),i.setAttribute("link",t.actionLink),e.append(i)}else this.container=document.createElement("motion-carousel"),this.container.setAttribute("content",JSON.stringify(this.content)),e.append(this.container);return e}}t.default=s},3971:function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(i(4618));class s extends r.default{constructor(e){super(),this.content=e.richContent[0][0]}getTemplate(){const e=document.createElement("div");return this.content.options.forEach((t=>{const i=document.createElement("single-chip");i.setAttribute("message",t.text),e.append(i)})),e}}t.default=s},5177:function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(i(4618));class s extends r.default{constructor(e){super(),this.text=e.richContent[0][0].text}getTemplate(){const e=document.createElement("div");e.setAttribute("error","");const t=document.createElement("message-box");return t.setAttribute("typeMessage","chat-bubble-bot"),t.setAttribute("text",this.text),t.setAttribute("loadingBubble",""),e.append(t),e}}t.default=s},5592:function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(i(4618));class s extends r.default{constructor(e){super(),this.html=e.richContent[0][0].html}getTemplate(){const e=document.createElement("div"),t=document.createElement("message-box");return t.setAttribute("typeMessage","chat-bubble-bot"),t.innerHTML=this.html,t.setAttribute("loadingBubble",""),e.append(t),e}}t.default=s},4618:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{getTemplate(){return document.createElement("span")}}},4425:function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(i(4618));class s extends r.default{constructor(e){super(),this.text=e.richContent[0][0].text}getTemplate(){const e=document.createElement("div"),t=document.createElement("message-box");return t.setAttribute("typeMessage","chat-bubble-bot"),t.innerHTML=this.text,t.setAttribute("loadingBubble",""),e.append(t),e}}t.default=s},9755:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChatService=void 0;const n=i(8237);t.ChatService=class{static get config(){return n.ConfigurationService.instance}static get endpoint(){return this.config.endpoint.authTokenAndSessionSaveApiUrl}static sendTokenAndSessionId(e,t){if(!this.endpoint)throw new Error("Endpoint not setted!! Please configure it in your remote config");return window.fetch(this.endpoint,{method:"POST",body:JSON.stringify({token:e,sessionId:t})})}}},9864:function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};
772Object.defineProperty(t,"__esModule",{value:!0});const r=n(i(213)),s=n(i(5843)),a=n(i(3971)),o=n(i(5177)),l=n(i(5592)),c=n(i(4618)),d=n(i(4425));t.default=class{static getTemplate(e){return e?"text"===e.richContent[0][0].type?new d.default(e):"info"===e.richContent[0][0].type?new s.default(e):"chips"===e.richContent[0][0].type?new a.default(e):"button"===e.richContent[0][0].type?new r.default(e):"Error"===e.richContent[0][0].type?new o.default(e):"html"===e.richContent[0][0].type?new l.default(e):new c.default:new c.default}}},8804:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chipStyle=void 0;const n=i(7677);t.chipStyle=n.css`
773  .grid-flow-col {
774    grid-auto-flow: column;
775  }
776
777  .grid {
778    display: grid;
779  }
780
781  .auto-cols-max {
782    grid-auto-columns: max;
783  }
784
785  .icon img {
786    height: 21px;
787    width: 21px;
788    margin-top: 3px;
789  }
790
791  hr {
792    border-top: 1px solid #cccccc;
793  }
794
795  .chip-container {
796    border: 1px solid #cccccc;
797    width: 100%;
798    padding: 10px;
799    background: #ffffff;
800    font-family: "Roboto Condensed", Inter;
801  }
802
803  .chip-container .basic-chip a {
804    color: inherit;
805  }
806
807  .chip-title {
808    padding: 20px 10px;
809    font-size: 14px;
810  }
811
812  .basic-chip {
813    background: white;
814    padding: 5px 10px;
815    border-radius: 50px;
816    display: inline-flex;
817    margin: 5px;
818    align-items: center;
819    min-width: 80px;
820    min-height: 18px;
821    cursor: pointer;
822    margin-bottom: 15px;
823    border: 1px solid black;
824  }
825
826  .click-chip,
827  .click-chip-hover {
828    padding: 5px 10px;
829    border-radius: 50px;
830    display: inline-flex;
831    margin: 5px;
832    cursor: pointer;
833  }
834
835  .click-chip-hover:hover {
836    filter: brightness(85%);
837  }
838
839  .outline {
840    border: 1.5px solid #cccccc;
841    color: #cccccc;
842    outline: none;
843  }
844
845  .outline-green {
846    border: 1.5px solid #3a913f;
847    color: #3a913f;
848    outline: none;
849  }
850
851  .outline-blue {
852    border: 1.5px solid #0074c3;
853    color: #0074c3;
854    outline: none;
855  }
856
857  .background-green {
858    background: #3a913f;
859    color: #ffffff;
860  }
861
862  .background-blue {
863    background: #0074c3;
864    color: #ffffff;
865  }
866
867  .icon {
868    margin: 0px 5px 0px -5px;
869    padding: 2px;
870  }
871
872  .fa-times,
873  .fa-times-circle {
874    margin: 0px -5px 0px 5px;
875  }
876
877  .basic-chip:hover {
878    transform: scale(1.05);
879  }
880`},8848:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Chip=void 0;const s=i(7677),a=i(4846),o=i(3959),l=i(8237),c=i(8804);let d=class extends s.LitElement{constructor(){super(...arguments),this.message="",this.image=""}
880replyWithChipMessage(){const e={detail:{inputText:this.message},bubbles:!0,composed:!0},t=new CustomEvent("sendMessageTrigger",e),i=new CustomEvent("sendMessage",e);this.dispatchEvent(i),this.dispatchEvent(t)}render(){var e;const t=l.ConfigurationService.instance,i={background:t.css.chipsCss.chip_background,border:`1px solid ${t.css.chipsCss.chip_border_color}`,borderRadius:t.css.chipsCss.chip_border_radius,minHeight:t.css.chipsCss.chip_min_height,fontWeight:t.css.chipsCss.chip_text_bold?"bold":"normal",fontFamily:null!==(e=t.css.font_family)&&void 0!==e?e:"Roboto Condensed, Inter, Monteserrat"},n={color:t.css.chipsCss.chip_text_color};return s.html`
881      <div
882        class="basic-chip"
883        @click=${this.replyWithChipMessage}
884        style=${(0,o.styleMap)(i)}
885      >
886        <span style=${(0,o.styleMap)(n)}>${this.message}</span>
887      </div>
888    `}};d.styles=c.chipStyle,n([(0,a.query)("chat-box-body"),r("design:type",Element)],d.prototype,"boxBody",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],d.prototype,"message",void 0),n([(0,a.property)(),r("design:type",Object)],d.prototype,"image",void 0),d=n([(0,a.customElement)("single-chip")],d),t.Chip=d},8132:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.feedbackStyle=void 0;const n=i(7677);t.feedbackStyle=n.css`
889  .box-header {
890    display: flex;
891    flex-direction: row;
892    position: relative;
893    align-items: center;
894    height: 55px;
895    width: 100%;
896    justify-content: space-between;
897  }
898  .box-header .header-text {
899    font-family: "Roboto Condensed", Inter;
900    font-weight: 700;
901    font-size: 14px;
902    letter-spacing: 0.48px;
903    line-height: 22px;
904    padding-left: 20px;
905  }
906
907  .box-header .header-button {
908    display: flex;
909    justify-content: flex-end;
910    padding-right: 17px;
911  }
912
913  .box-header .header-button button {
914    padding: 10px 20px;
915    border-radius: 8px;
916    cursor: pointer;
917    border: 0px;
918    font-weight: bold;
919  }
920`},3267:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Feedback=void 0;const s=i(7677),a=i(4846),o=i(3959),l=i(8237),c=i(8613),d=i(5132),u=i(8132);let p=class extends s.LitElement{constructor(){super(),this.languageCode="",this.botName=""}handleClick(){this.dispatchEvent(new CustomEvent("openFeedbackDialog"))}render(){var e;const t=l.ConfigurationService.instance,i=d.TranslationService.translate("FEEDBACK_HEADER_TEXT",this.languageCode,{botName:this.botName}),n=d.TranslationService.translate("FEEDBACK_HEADER_BUTTON",this.languageCode),r={background:t.css.feedbackCss.header_background},a={color:t.css.feedbackCss.header_text_color,"font-family":null!==(e=t.css.font_family)&&void 0!==e?e:"Roboto Condensed, Inter, Monteserrat"},c={background:t.css.feedbackCss.header_button_background_color,color:t.css.feedbackCss.header_button_text_color};return s.html`
921      <div class="box-header" style=${(0,o.styleMap)(r)}>
922        <p class="header-text" style=${(0,o.styleMap)(a)}>
923          ${i}
924        </p>
925        <div class="header-button">
926          <button
927            type="button"
928            @click=${this.handleClick}
929            style=${(0,o.styleMap)(c)}
930          >
931            ${n}
932          </button>
933        </div>
934      </div>
935    `}};p.styles=[u.feedbackStyle,c.iconStyle],n([(0,a.property)(),r("design:type",Object)],p.prototype,"languageCode",void 0),n([(0,a.property)(),r("design:type",Object)],p.prototype,"botName",void 0),p=n([(0,a.customElement)("feedback-component"),r("design:paramtypes",[])],p),t.Feedback=p},7666:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.modalFeedbackStyle=void 0;const n=i(7677);t.modalFeedbackStyle=n.css`
936  :host {
937    font-family: "Roboto Condensed", Inter;
938    letter-spacing: 0.48px;
939    line-height: 22px;
940  }
941  .wrapper {
942    opacity: 0;
943    position: absolute;
944    z-index: 10;
945    transition: opacity 0.25s ease-in;
946  }
947  .wrapper:not(.open) {
948    visibility: hidden;
949  }
950  .wrapper.open {
951    align-items: center;
952    display: flex;
953    justify-content: center;
954    width: 100%;
955    height: 100%;
956    opacity: 1;
957    visibility: visible;
958  }
959  .overlay {
960    background: rgba(0, 0, 0, 0.8);
961    height: 100%;
962    width: 100%;
963    position: relative;
964  }
965  .dialog {
966    background: #ffffff;
967    border-radius: 10px;
968    max-width: 350px;
969    min-width: 300px;
970    max-height: 500px;
971    min-height: 340px;
972    position: absolute;
973  }
974  .dialog .dialog-header {
975    display: flex;
976    flex-direction: row;
977    position: relative;
978    align-items: center;
979    height: 50px;
980    width: 100%;
981    justify-content: space-between;
982    border-top-left-radius: 10px;
983    border-top-right-radius: 10px;
984  }
985  .dialog .dialog-header .dialog-text {
986    font-weight: 700;
987    font-size: 14px;
988    padding-left: 20px;
989  }
990  .dialog .dialog-header .dialog-button {
991    display: flex;
992    justify-content: flex-end;
993    padding-right: 17px;
994    cursor: pointer;
995  }
996  .dialog .dialog-body {
997    display: flex;
998    padding-left: 26px;
999    padding-right: 39px;
1000    padding-top: 18px;
1001    font-weight: 400;
1002    font-size: 14px;
1003    flex-direction: column;
1004    color: #000000;
1005  }
1006
1007  .dialog .dialog-footer {
1008    display: flex;
1009    flex-direction: row-reverse;
1010    align-items: center;
1011    padding-left: 26px;
1012    padding-right: 24px;
1013    padding-top: 14px;
1014  }
1015
1016  .dialog .dialog-footer .button-send {
1017    justify-content: flex-end;
1018  }
1019  .dialog .dialog-footer .button-send button {
1020    padding: 10px 20px;
1021    border-radius: 8px;
1022    cursor: pointer;
1023    border: 0px;
1024    font-weight: bold;
1025  }
1026
1027  .dialog .dialog-footer .button-send button:disabled {
1028    opacity: 0.5;
1029  }
1030
1031  #modal-feedback-input {
1032    height: 67px;
1033    width: 260px;
1034    border-radius: 8px;
1035    align-items: center;
1036    margin-top: 10px;
1037  }
1038
1039  input[type="text"] {
1040    border: none;
1041    padding-left: 20px;
1042    padding-right: 20px;
1043    color: #8b8d90;
1044  }
1045`},56:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ModalFeedback=void 0;const s=i(7677),a=i(4846),o=i(8810),l=i(3959),c=i(8237),d=i(8613),u=i(5132),p=i(51),h=i(7666);let f=class extends s.LitElement{get disableSendButton(){return this.selectedStar<1}constructor(){super(),this.config=c.ConfigurationService.instance,this.open=!1,this.languageCode="",this.sessionId="",this.selectedStar=-1,this.insertedComment="",this.defaultStar=5,this.feedbackObj={star:0,comment:""},this.listenEnterKeyEvent()}close(){this.open=!1}setKeyEvent(e){var t;const i="true"!==(null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector("modal-result")).getAttribute("open")&&this.open;"Enter"===e.key&&i&&(e.preventDefault(),this.sendButton.click())}listenEnterKeyEvent(){setTimeout((()=>{document.addEventListener("keypress",(e=>this.setKeyEvent(e)))}),0)}sendFeedback(e){e.preventDefault(),this.disableSendButton||(this.insertedComment=this.input.value,this.showSpinner(!0),p.FeedbackService.sendFeedback({agentName:this.config.parentName,sessionId:this.sessionId,score:this.selectedStar,message:this.insertedComment}).then((e=>{e.ok?(this.showSpinner(!1),this.openDialog(u.TranslationService.translate("FEEDBACK_SUCCESS_TEXT",this.languageCode),"success")):(this.showSpinner(!1),this.openDialog(u.TranslationService.translate("FEEDBACK_ERROR_TEXT",this.languageCode),"error"))})).catch((e=>{this.showSpinner(!1),this.openDialog(u.TranslationService.translate("FEEDBACK_ERROR_TEXT",this.languageCode),"error")})))}onChangeFeedback(e){this.selectedStar=e.detail,this.toggleButton()}openDialog(e,t){var i;const n=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector("modal-result");null==n||n.setAttribute("open","true"),null==n||n.setAttribute("result",t),null==n||n.setAttribute("textToDisplay",e)}handleCloseResultModal(e){e.detail&&(this.resetFields(),this.close())}toggleButton(){this.disableSendButton?this.sendButton.setAttribute("disabled","disabled"):this.sendButton.removeAttribute("disabled")}resetFields(){var e;this.selectedStar=-1,this.insertedComment="",this.input.value="";const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector("star-rating");null==t||t.setAttribute("star",`${this.selectedStar}`),this.toggleButton()}showSpinner(e){var t;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector("spinner-element");null==i||i.setAttribute("open",`${e}`)}render(){var e;const t=u.TranslationService.translate("FEEDBACK_MODAL_HEADER_TEXT",this.languageCode),i=u.TranslationService.translate("FEEDBACK_MODAL_EVALUATE_TEXT",this.languageCode),n=u.TranslationService.translate("FEEDBACK_MODAL_COMMENT_TEXT",this.languageCode),r=u.TranslationService.translate("CHAT_PLACEHOLDER_INPUT",this.languageCode),a=u.TranslationService.translate("FEEDBACK_MODAL_BUTTON_TEXT",this.languageCode),c={fontFamily:null!==(e=this.config.css.font_family)&&void 0!==e?e:"Roboto Condensed, Inter, Monteserrat"},d={"background-color":this.config.css.chatBoxInputCss.input_text_background},p={background:this.config.css.feedbackCss.modal_header_background_color},h={color:this.config.css.feedbackCss.modal_header_text_color},f={background:this.config.css.feedbackCss.modal_header_button_background,color:this.config.css.feedbackCss.modal_header_button_color};return s.html`
1046      <div
1047        class="${(0,o.classMap)({wrapper:!0,open:this.open})}"
1048        style="${(0,l.styleMap)(c)}"
1049      >
1050        <div class="overlay"></div>
1051        <div class="dialog">
1052          <div class="dialog-header" style=${(0,l.styleMap)(p)}>
1053            <p class="dialog-text" style=${(0,l.styleMap)(h)}>
1054              ${t}
1055            </p>
1056            <div class="dialog-button" style=${(0,l.styleMap)(h)}>
1057              <span class="material-icons close-icon" @click=${this.close}
1058                >close</span
1059              >
1060            </div>
1061          </div>
1062          <div class="dialog-body">
1063            <div class="star-container">
1064              <span>${i}</span>
1065              <star-rating
1066                starNumber=${this.defaultStar}
1067                star=${this.selectedStar}
1068                @setFeedbackStar=${this.onChangeFeedback}
1069              ></star-rating>
1070            </div>
1071            <div class="comment-container">
1072              <span>${n}</span>
1073              <div>
1074                <input
1075                  type="text"
1076                  id="modal-feedback-input"
1077                  style=${(0,l.styleMap)(d)}
1078                  placeholder=${r}
1079                />
1080              </div>
1081            </div>
1082          </div>
1083          <div class="dialog-footer">
1084            <div class="button-send">
1085              <button
1086                id="button-send"
1087                disabled
1088                style=${(0,l.styleMap)(f)}
1089                @click=${this.sendFeedback}
1090              >
1091                ${a}
1092              </button>
1093            </div>
1094          </div>
1095        </div>
1096      </div>
1097      <modal-result
1098        @modalResultClosed=${this.handleCloseResultModal}
1099      ></modal-result>
1100      <spinner-element></spinner-element>
1101    `}};f.styles=[h.modalFeedbackStyle,d.iconStyle],n([(0,a.query)("#modal-feedback-input"),r("design:type",HTMLInputElement)],f.prototype,"input",void 0),n([(0,a.query)("#button-send"),r("design:type",HTMLInputElement)],f.prototype,"sendButton",void 0),n([(0,a.property)({type:Boolean}),r("design:type",Object)],f.prototype,"open",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],f.prototype,"languageCode",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],f.prototype,"sessionId",void 0),f=n([(0,a.customElement)("modal-feedback"),r("design:paramtypes",[])],f),t.ModalFeedback=f},5693:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.starRatingStyle=void 0;const n=i(7677);t.starRatingStyle=n.css`
1102    :host{
1103        font-size:48px;
1104        display: inline-flex;
1105        font-family: "Material Icons";
1106        height:50px;
1107        margin-top:14px;
1108        cursor: pointer;
1109    }
1110
1111    .star:after{
1112        content: "\\e83a";
1113        color: yellow;
1114    }
1115    .star.full:after{
1116        content: "\\e838";
1117        color: yellow;
1118    }
1119
1120`},5068:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.StarRating=void 0;const s=i(7677),a=i(4846),o=i(5693);let l=class extends s.LitElement{constructor(){super(),this.starNumber=-1,this.star=-1,this.stars=[]}initStarEvaluation(){var e;for(let t=0;t<this.starNumber;t++){const t=document.createElement("div");t.className="star",null===(e=this.shadowRoot)||void 0===e||e.appendChild(t),this.stars.push(t)}}onMouseMove(e){const t=this.getBoundingClientRect(),i=Math.floor((e.pageX-t.left)/t.width*this.stars.length);this.highlight(i)}onMouseClick(e){const t=this.getBoundingClientRect(),i=Math.floor((e.pageX-t.left)/t.width*this.stars.length);this.star=i+1;const n=new CustomEvent("setFeedbackStar",{detail:this.star});this.dispatchEvent(n)}onMouseLeave(e){this.highlight(this.star-1)}highlight(e){this.stars.forEach(((t,i)=>{t.classList.toggle("full",i<=e)}))}render(){return 0===this.stars.length&&this.initStarEvaluation(),this.highlight(this.star-1),this.addEventListener("mousemove",(e=>this.onMouseMove(e))),this.addEventListener("mouseout",(e=>this.onMouseLeave(e))),this.addEventListener("click",(e=>this.onMouseClick(e))),s.html`<div id="star-container"></div>`}};l.styles=[o.starRatingStyle],n([(0,a.property)({type:Number}),r("design:type",Object)],l.prototype,"starNumber",void 0),n([(0,a.property)({attribute:!0}),r("design:type",Object)],l.prototype,"star",void 0),l=n([(0,a.customElement)("star-rating"),r("design:paramtypes",[])],l),t.StarRating=l},51:(e,t,i)=>{"use strict";
1120Object.defineProperty(t,"__esModule",{value:!0}),t.FeedbackService=void 0;const n=i(8237);t.FeedbackService=class{static get config(){return n.ConfigurationService.instance}static get feedbackEndpoint(){return`${this.config.endpoint.restBaseApiUrl}/v1/feedback`}static get apiKey(){return this.config.apiToken}static sendFeedback(e){return window.fetch(this.feedbackEndpoint,{body:JSON.stringify(e),method:"POST",headers:{"x-apikey":this.apiKey}})}}},8186:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChatBotMainComponent=void 0;const s=i(7677),a=i(4846),o=i(3959),l=i(4010),c=i(9022),d=i(8237);let u=class extends s.LitElement{constructor(){super(),this.languageCode="",this.botName="",this.chatId="",this.welcomeMessage="",this.errorMessage="",this.triggerCardTitle="",this.triggerCardDescription="",this.triggerCardLogo="",this.triggerCardPrivacy="",this.usertoken="",this.image="",this.status=!1}connectedCallback(){super.connectedCallback();const e=localStorage.getItem("cbLang");null!==e&&(this.languageCode=e);const t=new l.FirebaseApplication(this.chatId),i=this.chatId.split(":").join("_");t.getRemoteValue(`production_${i}`,c.FirebaseConfigurationValueTypeEnum.JSON).then((e=>{d.ConfigurationService.initFirebaseInstance(e),this.status=!0})).catch((e=>{throw this.status=!1,new Error(e)}))}setParamFromRemoteConfig(){this.welcomeMessage=this.getParamFromRemoteConfig(this.languageCode,"welcomeMessage"),this.triggerCardDescription=this.getParamFromRemoteConfig(this.languageCode,"triggerCardBody"),this.triggerCardTitle=this.getParamFromRemoteConfig(this.languageCode,"triggerCardTitle"),this.triggerCardPrivacy=this.getParamFromRemoteConfig(this.languageCode,"privacyCardText")}setLanguageCodeEvent(e){this.languageCode=e.detail.data,this.setParamFromRemoteConfig()}getParamFromRemoteConfig(e,t){var i;const n=d.ConfigurationService.instance,r=Object.keys(n).filter((e=>e.includes(t))).map((e=>e)),s=new Map;return r.forEach((e=>{const t=n[e];s.set(e,t)})),null!==(i=s.get(`${t}${e.charAt(0).toUpperCase()}${e.slice(1)}`))&&void 0!==i?i:""}render(){var e;if(this.status){const t=d.ConfigurationService.instance;this.botName=this.botName?this.botName:t.name,this.image=this.image?this.image:t.icon;const i=t.triggerCardLogo?t.triggerCardLogo:t.icon;this.triggerCardLogo=this.triggerCardLogo?this.triggerCardLogo:i;const n={fontSize:null!==(e=t.css.font_size)&&void 0!==e?e:void 0};return this.setParamFromRemoteConfig(),s.html` <chat-bot-component
1121        style=${(0,o.styleMap)(n)}
1122        botName=${this.botName}
1123        image=${this.image}
1124        languageCode=${this.languageCode}
1125        welcomeMessage=${this.welcomeMessage}
1126        errorMessage=${this.errorMessage}
1127        triggerCardTitle=${this.triggerCardTitle}
1128        triggerCardDescription=${this.triggerCardDescription}
1129        triggerCardLogo=${this.triggerCardLogo}
1130        triggerCardPrivacy=${this.triggerCardPrivacy}
1131        token=${this.usertoken}
1132        @setLanguageCodeEvent=${this.setLanguageCodeEvent}
1133      ></chat-bot-component>`}return s.html``}};n([(0,a.property)({type:String}),r("design:type",Object)],u.prototype,"languageCode",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],u.prototype,"botName",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],u.prototype,"chatId",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],u.prototype,"welcomeMessage",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],u.prototype,"errorMessage",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],u.prototype,"triggerCardTitle",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],u.prototype,"triggerCardDescription",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],u.prototype,"triggerCardLogo",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],u.prototype,"triggerCardPrivacy",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],u.prototype,"usertoken",void 0),n([(0,a.property)({type:String}),r("design:type",Object)],u.prototype,"image",void 0),n([(0,a.property)({type:Boolean}),r("design:type",Object)],u.prototype,"status",void 0),u=n([(0,a.customElement)("chat-bot"),r("design:paramtypes",[])],u),t.ChatBotMainComponent=u},3678:(e,t,i)=>{"use strict";
1133Object.defineProperty(t,"__esModule",{value:!0}),t.chatMessageStyles=void 0;const n=i(7677);t.chatMessageStyles=n.css`
1134  .chat-bubble {
1135    padding: 12.75px 17px;
1136    border-radius: 25px;
1137    display: inline-block;
1138    letter-spacing: 0.03em;
1139    line-height: 1.375em;
1140    margin-bottom: 15px;
1141  }
1142
1143  .chat-bubble-bot {
1144    box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.15);
1145    border-radius: 8px;
1146  }
1147}`},8687:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.MessageBox=void 0;const s=i(7677),a=i(4846),o=i(3959),l=i(8237),c=i(3678);let d=class extends s.LitElement{constructor(){super(...arguments),this.loadingBubble=!1,this.trigger="Hello"}render(){const e=l.ConfigurationService.instance,t="chat-bubble-bot"===this.typeMessage?{"background-color":e.css.messageCss.bot_message_background_color,color:e.css.messageCss.bot_message_text_color,"border-radius":e.css.messageCss.bot_message_border_radius,"min-width":e.css.messageCss.bot_message_min_width}:{"background-color":e.css.messageCss.user_message_background_color,color:e.css.messageCss.user_message_text_color,"border-radius":e.css.messageCss.user_message_border_radius,"min-width":e.css.messageCss.user_message_min_width};return this.loadingBubble?s.html` <chat-bubble></chat-bubble> `:s.html`
1148          <div
1149            class="chat-bubble ${this.typeMessage}"
1150            style=${(0,o.styleMap)(t)}
1151          >
1152            <span>${this.text}</span>
1153            <slot></slot>
1154          </div>
1155        `}};d.styles=[c.chatMessageStyles],n([(0,a.property)(),r("design:type",String)],d.prototype,"text",void 0),n([(0,a.property)(),r("design:type",String)],d.prototype,"typeMessage",void 0),n([(0,a.property)({type:Boolean}),r("design:type",Boolean)],d.prototype,"loadingBubble",void 0),n([(0,a.property)(),r("design:type",Object)],d.prototype,"trigger",void 0),d=n([(0,a.customElement)("message-box")],d),t.MessageBox=d},4823:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.modalResultStyle=void 0;const n=i(7677);t.modalResultStyle=n.css`
1156  :host {
1157    font-family: "Roboto Condensed", Inter;
1158    letter-spacing: 0.48px;
1159    line-height: 30px;
1160  }
1161  .wrapper {
1162    opacity: 0;
1163    position: absolute;
1164    z-index: 10;
1165    transition: opacity 0.25s ease-in;
1166  }
1167  .wrapper:not(.open) {
1168    visibility: hidden;
1169  }
1170  .wrapper.open {
1171    align-items: center;
1172    display: flex;
1173    justify-content: center;
1174    width: 100%;
1175    height: 100%;
1176    opacity: 1;
1177    visibility: visible;
1178  }
1179  .overlay {
1180    background: rgba(0, 0, 0, 0.8);
1181    height: 100%;
1182    width: 100%;
1183    position: relative;
1184  }
1185  .dialog {
1186    background: #ffffff;
1187    border-radius: 10px;
1188    max-width: px;
1189    min-width: 250px;
1190    position: absolute;
1191  }
1192  .dialog .dialog-header {
1193    display: flex;
1194    flex-direction: row-reverse;
1195    position: relative;
1196    align-items: center;
1197    height: 25px;
1198    width: 100%;
1199    justify-content: space-between;
1200  }
1201  .dialog .dialog-header .close-icon {
1202    display: flex;
1203    justify-content: flex-end;
1204    padding-right: 10px;
1205    padding-top: 10px;
1206    cursor: pointer;
1207    color: #000000;
1208  }
1209  .dialog .dialog-body {
1210    display: flex;
1211    padding-top: 10px;
1212    padding-right: 10px;
1213    padding-left: 10px;
1214    padding-bottom: 20px;
1215    font-weight: 400;
1216    font-size: 14px;
1217    flex-direction: row;
1218    color: #000000;
1219    align-items: center;
1220    justify-content: center;
1221  }
1222
1223  .dialog .dialog-body .success-icon {
1224    color: green;
1225    font-size: 40px;
1226  }
1227  .dialog .dialog-body .error-icon {
1228    color: red;
1229    font-size: 40px;
1230  }
1231
1232  .dialog .dialog-body .text {
1233    padding-left: 10px;
1234  }
1235`},9768:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>
12353?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ModalResult=void 0;const s=i(7677),a=i(7499),o=i(4846),l=i(8613),c=i(4823),d=i(8237),u=i(3959);let p=class extends s.LitElement{get success(){return"success"===this.result}constructor(){super(),this.open=!1,this.result="",this.textToDisplay=""}close(){this.setAttribute("open","false"),this.open=!1;const e=new CustomEvent("modalResultClosed",{detail:this.success});this.dispatchEvent(e)}render(){var e;const t={fontFamily:null!==(e=d.ConfigurationService.instance.css.font_family)&&void 0!==e?e:"Roboto Condensed, Inter, Monteserrat"},i=this.success?s.html`<span class="material-icons success-icon"
1236          >check_circle_outline</span
1237        >`:s.html`<span class="material-icons error-icon">error</span>`;return s.html`
1238      <div
1239        class="${(0,a.classMap)({wrapper:!0,open:this.open})}"
1240        style="${(0,u.styleMap)(t)}"
1241      >
1242        <div class="overlay"></div>
1243        <div class="dialog">
1244          <div class="dialog-header">
1245            <span class="material-icons close-icon" @click=${this.close}
1246              >close</span
1247            >
1248          </div>
1249          <div class="dialog-body">
1250            ${i} <span class="text">${this.textToDisplay}</span>
1251          </div>
1252        </div>
1253      </div>
1254    `}};p.styles=[c.modalResultStyle,l.iconStyle],n([(0,o.property)({type:Boolean,attribute:!0}),r("design:type",Object)],p.prototype,"open",void 0),n([(0,o.property)({type:String,attribute:!0}),r("design:type",Object)],p.prototype,"result",void 0),n([(0,o.property)({type:String,attribute:!0}),r("design:type",Object)],p.prototype,"textToDisplay",void 0),p=n([(0,o.customElement)("modal-result"),r("design:paramtypes",[])],p),t.ModalResult=p},5971:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sliderStyle=void 0;const n=i(7677);t.sliderStyle=n.css`
1255  @font-face {
1256    font-family: swiper-icons;
1257    font-weight: 400;
1258    font-style: normal;
1259  }
1260
1261  :root {
1262    --swiper-theme-color: #007aff;
1263  }
1264  .swiper {
1265    margin-left: auto;
1266    margin-right: auto;
1267    position: relative;
1268    overflow: hidden;
1269    list-style: none;
1270    padding: 0;
1271    z-index: 1;
1272  }
1273  .swiper-vertical > .swiper-wrapper {
1274    flex-direction: column;
1275  }
1276  .swiper-wrapper {
1277    position: relative;
1278    width: 100%;
1279
1280    z-index: 1;
1281    display: flex;
1282    transition-property: transform;
1283    box-sizing: content-box;
1284  }
1285  .swiper-android .swiper-slide,
1286  .swiper-wrapper {
1287    transform: translate3d(0px, 0, 0);
1288  }
1289  .swiper-pointer-events {
1290    touch-action: pan-y;
1291  }
1292  .swiper-pointer-events.swiper-vertical {
1293    touch-action: pan-x;
1294  }
1295  .swiper-slide {
1296    flex-shrink: 0;
1297    width: 100%;
1298    height: 100%;
1299    position: relative;
1300    transition-property: transform;
1301  }
1302  .swiper-slide-invisible-blank {
1303    visibility: hidden;
1304  }
1305  .swiper-autoheight,
1306  .swiper-autoheight .swiper-slide {
1307    height: auto;
1308  }
1309  .swiper-autoheight .swiper-wrapper {
1310    align-items: flex-start;
1311    transition-property: transform, height;
1312  }
1313  .swiper-backface-hidden .swiper-slide {
1314    transform: translateZ(0);
1315    -webkit-backface-visibility: hidden;
1316    backface-visibility: hidden;
1317  }
1318  .swiper-3d,
1319  .swiper-3d.swiper-css-mode .swiper-wrapper {
1320    perspective: 1200px;
1321  }
1322  .swiper-3d .swiper-cube-shadow,
1323  .swiper-3d .swiper-slide,
1324  .swiper-3d .swiper-slide-shadow,
1325  .swiper-3d .swiper-slide-shadow-bottom,
1326  .swiper-3d .swiper-slide-shadow-left,
1327  .swiper-3d .swiper-slide-shadow-right,
1328  .swiper-3d .swiper-slide-shadow-top,
1329  .swiper-3d .swiper-wrapper {
1330    transform-style: preserve-3d;
1331  }
1332  .swiper-3d .swiper-slide-shadow,
1333  .swiper-3d .swiper-slide-shadow-bottom,
1334  .swiper-3d .swiper-slide-shadow-left,
1335  .swiper-3d .swiper-slide-shadow-right,
1336  .swiper-3d .swiper-slide-shadow-top {
1337    position: absolute;
1338    left: 0;
1339    top: 0;
1340    width: 100%;
1341    height: 100%;
1342    pointer-events: none;
1343    z-index: 10;
1344  }
1345  .swiper-3d .swiper-slide-shadow {
1346    background: rgba(0, 0, 0, 0.15);
1347  }
1348  .swiper-3d .swiper-slide-shadow-left {
1349    background-image: linear-gradient(
1350      to left,
1351      rgba(0, 0, 0, 0.5),
1352      rgba(0, 0, 0, 0)
1353    );
1354  }
1355  .swiper-3d .swiper-slide-shadow-right {
1356    background-image: linear-gradient(
1357      to right,
1358      rgba(0, 0, 0, 0.5),
1359      rgba(0, 0, 0, 0)
1360    );
1361  }
1362  .swiper-3d .swiper-slide-shadow-top {
1363    background-image: linear-gradient(
1364      to top,
1365      rgba(0, 0, 0, 0.5),
1366      rgba(0, 0, 0, 0)
1367    );
1368  }
1369  .swiper-3d .swiper-slide-shadow-bottom {
1370    background-image: linear-gradient(
1371      to bottom,
1372      rgba(0, 0, 0, 0.5),
1373      rgba(0, 0, 0, 0)
1374    );
1375  }
1376  .swiper-css-mode > .swiper-wrapper {
1377    overflow: auto;
1378    scrollbar-width: none;
1379    -ms-overflow-style: none;
1380  }
1381  .swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
1382    display: none;
1383  }
1384  .swiper-css-mode > .swiper-wrapper > .swiper-slide {
1385    scroll-snap-align: start start;
1386  }
1387  .swiper-horizontal.swiper-css-mode > .swiper-wrapper {
1388    scroll-snap-type: x mandatory;
1389  }
1390  .swiper-vertical.swiper-css-mode > .swiper-wrapper {
1391    scroll-snap-type: y mandatory;
1392  }
1393  .swiper-centered > .swiper-wrapper::before {
1394    content: "";
1395    flex-shrink: 0;
1396    order: 9999;
1397  }
1398  .swiper-centered.swiper-horizontal
1399    > .swiper-wrapper
1400    > .swiper-slide:first-child {
1401    margin-inline-start: var(--swiper-centered-offset-before);
1402  }
1403  .swiper-centered.swiper-horizontal > .swiper-wrapper::before {
1404    height: 100%;
1405    min-height: 1px;
1406    width: var(--swiper-centered-offset-after);
1407  }
1408  .swiper-centered.swiper-vertical
1409    > .swiper-wrapper
1410    > .swiper-slide:first-child {
1411    margin-block-start: var(--swiper-centered-offset-before);
1412  }
1413  .swiper-centered.swiper-vertical > .swiper-wrapper::before {
1414    width: 100%;
1415    min-width: 1px;
1416    height: var(--swiper-centered-offset-after);
1417  }
1418  .swiper-centered > .swiper-wrapper > .swiper-slide {
1419    scroll-snap-align: center center;
1420  }
1421  .swiper-virtual .swiper-slide {
1422    -webkit-backface-visibility: hidden;
1423    transform: translateZ(0);
1424  }
1425  .swiper-virtual.swiper-css-mode .swiper-wrapper::after {
1426    content: "";
1427    position: absolute;
1428    left: 0;
1429    top: 0;
1430    pointer-events: none;
1431  }
1432  .swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after {
1433    height: 1px;
1434    width: var(--swiper-virtual-size);
1435  }
1436  .swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after {
1437    width: 1px;
1438    height: var(--swiper-virtual-size);
1439  }
1440  :root {
1441    --swiper-navigation-size: 44px;
1442  }
1443  .swiper-button-next,
1444  .swiper-button-prev {
1445    position: absolute;
1446    top: 50%;
1447    width: calc(var(--swiper-navigation-size) / 44 * 27);
1448    height: var(--swiper-navigation-size);
1449    margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
1450    z-index: 10;
1451    cursor: pointer;
1452    display: flex;
1453    align-items: center;
1454    justify-content: center;
1455    color: var(--swiper-navigation-color, var(--swiper-theme-color));
1456  }
1457  .swiper-button-next.swiper-button-disabled,
1458  .swiper-button-prev.swiper-button-disabled {
1459    opacity: 0.35;
1460    cursor: auto;
1461    pointer-events: none;
1462  }
1463  .swiper-button-next.swiper-button-hidden,
1464  .swiper-button-prev.swiper-button-hidden {
1465    opacity: 0;
1466    cursor: auto;
1467    pointer-events: none;
1468  }
1469  .swiper-navigation-disabled .swiper-button-next,
1470  .swiper-navigation-disabled .swiper-button-prev {
1471    display: none !important;
1472  }
1473  .swiper-button-next:after,
1474  .swiper-button-prev:after {
1475    font-family: swiper-icons;
1476    font-size: var(--swiper-navigation-size);
1477    text-transform: none !important;
1478    letter-spacing: 0;
1479    font-variant: initial;
1480    line-height: 1;
1481  }
1482  .swiper-button-prev,
1483  .swiper-rtl .swiper-button-next {
1484    left: 10px;
1485    right: auto;
1486  }
1487  .swiper-button-prev:after,
1488  .swiper-rtl .swiper-button-next:after {
1489    content: "prev";
1490  }
1491  .swiper-button-next,
1492  .swiper-rtl .swiper-button-prev {
1493    right: 10px;
1494    left: auto;
1495  }
1496  .swiper-button-next:after,
1497  .swiper-rtl .swiper-button-prev:after {
1498    content: "next";
1499  }
1500  .swiper-button-lock {
1501    display: none;
1502  }
1503  .swiper-pagination {
1504    position: absolute;
1505    text-align: center;
1506    transition: 0.3s opacity;
1507    transform: translate3d(0, 0, 0);
1508    z-index: 10;
1509  }
1510  .swiper-pagination.swiper-pagination-hidden {
1511    opacity: 0;
1512  }
1513  .swiper-pagination-disabled > .swiper-pagination,
1514  .swiper-pagination.swiper-pagination-disabled {
1515    display: none !important;
1516  }
1517  .swiper-horizontal > .swiper-pagination-bullets,
1518  .swiper-pagination-bullets.swiper-pagination-horizontal,
1519  .swiper-pagination-custom,
1520  .swiper-pagination-fraction {
1521    bottom: 10px;
1522    left: 0;
1523    width: 100%;
1524  }
1525  .swiper-pagination-bullets-dynamic {
1526    overflow: hidden;
1527    font-size: 0;
1528  }
1529  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
1530    transform: scale(0.33);
1531    position: relative;
1532  }
1533  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
1534    transform: scale(1);
1535  }
1536  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
1537    transform: scale(1);
1538  }
1539  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
1540    transform: scale(0.66);
1541  }
1542  .swiper-pagination-bullets-dynamic
1543    .swiper-pagination-bullet-active-prev-prev {
1544    transform: scale(0.33);
1545  }
1546  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
1547    transform: scale(0.66);
1548  }
1549  .swiper-pagination-bullets-dynamic
1550    .swiper-pagination-bullet-active-next-next {
1551    transform: scale(0.33);
1552  }
1553  .swiper-pagination-bullet {
1554    width: var(
1555      --swiper-pagination-bullet-width,
1556      var(--swiper-pagination-bullet-size, 8px)
1557    );
1558    height: var(
1559      --swiper-pagination-bullet-height,
1560      var(--swiper-pagination-bullet-size, 8px)
1561    );
1562    display: inline-block;
1563    border-radius: 50%;
1564    background: var(--swiper-pagination-bullet-inactive-color, #000);
1565    opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);
1566  }
1567  button.swiper-pagination-bullet {
1568    border: none;
1569    margin: 0;
1570    padding: 0;
1571    box-shadow: none;
1572    -webkit-appearance: none;
1573    appearance: none;
1574  }
1575  .swiper-pagination-clickable .swiper-pagination-bullet {
1576    cursor: pointer;
1577  }
1578  .swiper-pagination-bullet:only-child {
1579    display: none !important;
1580  }
1581  .swiper-pagination-bullet-active {
1582    opacity: var(--swiper-pagination-bullet-opacity, 1);
1583    background: var(--swiper-pagination-color, var(--swiper-theme-color));
1584  }
1585  .swiper-pagination-vertical.swiper-pagination-bullets,
1586  .swiper-vertical > .swiper-pagination-bullets {
1587    right: 10px;
1588    top: 50%;
1589    transform: translate3d(0px, -50%, 0);
1590  }
1591  .swiper-pagination-vertical.swiper-pagination-bullets
1592    .swiper-pagination-bullet,
1593  .swiper-vertical > .swiper-pagination-bullets .swiper-pagination-bullet {
1594    margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;
1595    display: block;
1596  }
1597  .swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
1598  .swiper-vertical
1599    > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
1600    top: 50%;
1601    transform: translateY(-50%);
1602    width: 8px;
1603  }
1604  .swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic
1605    .swiper-pagination-bullet,
1606  .swiper-vertical
1607    > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic
1608    .swiper-pagination-bullet {
1609    display: inline-block;
1610    transition: 0.2s transform, 0.2s top;
1611  }
1612  .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
1613  .swiper-pagination-horizontal.swiper-pagination-bullets
1614    .swiper-pagination-bullet {
1615    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
1616  }
1617  .swiper-horizontal
1618    > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
1619  .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
1620    left: 50%;
1621    transform: translateX(-50%);
1622    white-space: nowrap;
1623  }
1624  .swiper-horizontal
1625    > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic
1626    .swiper-pagination-bullet,
1627  .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic
1628    .swiper-pagination-bullet {
1629    transition: 0.2s transform, 0.2s left;
1630  }
1631  .swiper-horizontal.swiper-rtl
1632    > .swiper-pagination-bullets-dynamic
1633    .swiper-pagination-bullet {
1634    transition: 0.2s transform, 0.2s right;
1635  }
1636  .swiper-pagination-progressbar {
1637    background: rgba(0, 0, 0, 0.25);
1638    position: absolute;
1639  }
1640  .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
1641    background: var(--swiper-pagination-color, var(--swiper-theme-color));
1642    position: absolute;
1643    left: 0;
1644    top: 0;
1645    width: 100%;
1646    height: 100%;
1647    transform: scale(0);
1648    transform-origin: left top;
1649  }
1650  .swiper-rtl
1651    .swiper-pagination-progressbar
1652    .swiper-pagination-progressbar-fill {
1653    transform-origin: right top;
1654  }
1655  .swiper-horizontal > .swiper-pagination-progressbar,
1656  .swiper-pagination-progressbar.swiper-pagination-horizontal,
1657  .swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,
1658  .swiper-vertical
1659    > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
1660    width: 100%;
1661    height: 4px;
1662    left: 0;
1663    top: 0;
1664  }
1665  .swiper-horizontal
1666    > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,
1667  .swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,
1668  .swiper-pagination-progressbar.swiper-pagination-vertical,
1669  .swiper-vertical > .swiper-pagination-progressbar {
1670    width: 4px;
1671    height: 100%;
1672    left: 0;
1673    top: 0;
1674  }
1675  .swiper-pagination-lock {
1676    display: none;
1677  }
1678  .swiper-scrollbar {
1679    border-radius: 10px;
1680    position: relative;
1681    -ms-touch-action: none;
1682    background: rgba(0, 0, 0, 0.1);
1683  }
1684  .swiper-scrollbar-disabled > .swiper-scrollbar,
1685  .swiper-scrollbar.swiper-scrollbar-disabled {
1686    display: none !important;
1687  }
1688  .swiper-horizontal > .swiper-scrollbar,
1689  .swiper-scrollbar.swiper-scrollbar-horizontal {
1690    position: absolute;
1691    left: 1%;
1692    bottom: 3px;
1693    z-index: 50;
1694    height: 5px;
1695    width: 98%;
1696  }
1697  .swiper-scrollbar.swiper-scrollbar-vertical,
1698  .swiper-vertical > .swiper-scrollbar {
1699    position: absolute;
1700    right: 3px;
1701    top: 1%;
1702    z-index: 50;
1703    width: 5px;
1704    height: 98%;
1705  }
1706  .swiper-scrollbar-drag {
1707    height: 100%;
1708    width: 100%;
1709    position: relative;
1710    background: rgba(0, 0, 0, 0.5);
1711    border-radius: 10px;
1712    left: 0;
1713    top: 0;
1714  }
1715  .swiper-scrollbar-cursor-drag {
1716    cursor: move;
1717  }
1718  .swiper-scrollbar-lock {
1719    display: none;
1720  }
1721  .swiper-zoom-container {
1722    width: 100%;
1723    height: 100%;
1724    display: flex;
1725    justify-content: center;
1726    align-items: center;
1727    text-align: center;
1728  }
1729  .swiper-zoom-container > canvas,
1730  .swiper-zoom-container > img,
1731  .swiper-zoom-container > svg {
1732    max-width: 100%;
1733    max-height: 100%;
1734    object-fit: contain;
1735  }
1736  .swiper-slide-zoomed {
1737    cursor: move;
1738  }
1739  .swiper-lazy-preloader {
1740    width: 42px;
1741    height: 42px;
1742    position: absolute;
1743    left: 50%;
1744    top: 50%;
1745    margin-left: -21px;
1746    margin-top: -21px;
1747    z-index: 10;
1748    transform-origin: 50%;
1749    box-sizing: border-box;
1750    border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
1751    border-radius: 50%;
1752    border-top-color: transparent;
1753  }
1754  .swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,
1755  .swiper:not(.swiper-watch-progress) .swiper-lazy-preloader {
1756    animation: swiper-preloader-spin 1s infinite linear;
1757  }
1758  .swiper-lazy-preloader-white {
1759    --swiper-preloader-color: #fff;
1760  }
1761  .swiper-lazy-preloader-black {
1762    --swiper-preloader-color: #000;
1763  }
1764  @keyframes swiper-preloader-spin {
1765    0% {
1766      transform: rotate(0deg);
1767    }
1768    100% {
1769      transform: rotate(360deg);
1770    }
1771  }
1772  .swiper .swiper-notification {
1773    position: absolute;
1774    left: 0;
1775    top: 0;
1776    pointer-events: none;
1777    opacity: 0;
1778    z-index: -1000;
1779  }
1780  .swiper-free-mode > .swiper-wrapper {
1781    transition-timing-function: ease-out;
1782    margin: 0 auto;
1783  }
1784  .swiper-grid > .swiper-wrapper {
1785    flex-wrap: wrap;
1786  }
1787  .swiper-grid-column > .swiper-wrapper {
1788    flex-wrap: wrap;
1789    flex-direction: column;
1790  }
1791  .swiper-fade.swiper-free-mode .swiper-slide {
1792    transition-timing-function: ease-out;
1793  }
1794  .swiper-fade .swiper-slide {
1795    pointer-events: none;
1796    transition-property: opacity;
1797  }
1798  .swiper-fade .swiper-slide .swiper-slide {
1799    pointer-events: none;
1800  }
1801  .swiper-fade .swiper-slide-active,
1802  .swiper-fade .swiper-slide-active .swiper-slide-active {
1803    pointer-events: auto;
1804  }
1805  .swiper-cube {
1806    overflow: visible;
1807  }
1808  .swiper-cube .swiper-slide {
1809    pointer-events: none;
1810    -webkit-backface-visibility: hidden;
1811    backface-visibility: hidden;
1812    z-index: 1;
1813    visibility: hidden;
1814    transform-origin: 0 0;
1815    width: 100%;
1816    height: 100%;
1817  }
1818  .swiper-cube .swiper-slide .swiper-slide {
1819    pointer-events: none;
1820  }
1821  .swiper-cube.swiper-rtl .swiper-slide {
1822    transform-origin: 100% 0;
1823  }
1824  .swiper-cube .swiper-slide-active,
1825  .swiper-cube .swiper-slide-active .swiper-slide-active {
1826    pointer-events: auto;
1827  }
1828  .swiper-cube .swiper-slide-active,
1829  .swiper-cube .swiper-slide-next,
1830  .swiper-cube .swiper-slide-next + .swiper-slide,
1831  .swiper-cube .swiper-slide-prev {
1832    pointer-events: auto;
1833    visibility: visible;
1834  }
1835  .swiper-cube .swiper-slide-shadow-bottom,
1836  .swiper-cube .swiper-slide-shadow-left,
1837  .swiper-cube .swiper-slide-shadow-right,
1838  .swiper-cube .swiper-slide-shadow-top {
1839    z-index: 0;
1840    -webkit-backface-visibility: hidden;
1841    backface-visibility: hidden;
1842  }
1843  .swiper-cube .swiper-cube-shadow {
1844    position: absolute;
1845    left: 0;
1846    bottom: 0px;
1847    width: 100%;
1848    height: 100%;
1849    opacity: 0.6;
1850    z-index: 0;
1851  }
1852  .swiper-cube .swiper-cube-shadow:before {
1853    content: "";
1854    background: #000;
1855    position: absolute;
1856    left: 0;
1857    top: 0;
1858    bottom: 0;
1859    right: 0;
1860    filter: blur(50px);
1861  }
1862  .swiper-flip {
1863    overflow: visible;
1864  }
1865  .swiper-flip .swiper-slide {
1866    pointer-events: none;
1867    -webkit-backface-visibility: hidden;
1868    backface-visibility: hidden;
1869    z-index: 1;
1870  }
1871  .swiper-flip .swiper-slide .swiper-slide {
1872    pointer-events: none;
1873  }
1874  .swiper-flip .swiper-slide-active,
1875  .swiper-flip .swiper-slide-active .swiper-slide-active {
1876    pointer-events: auto;
1877  }
1878  .swiper-flip .swiper-slide-shadow-bottom,
1879  .swiper-flip .swiper-slide-shadow-left,
1880  .swiper-flip .swiper-slide-shadow-right,
1881  .swiper-flip .swiper-slide-shadow-top {
1882    z-index: 0;
1883    -webkit-backface-visibility: hidden;
1884    backface-visibility: hidden;
1885  }
1886  .swiper-creative .swiper-slide {
1887    -webkit-backface-visibility: hidden;
1888    backface-visibility: hidden;
1889    overflow: hidden;
1890    transition-property: transform, opacity, height;
1891  }
1892  .swiper-cards {
1893    overflow: visible;
1894  }
1895  .swiper-cards .swiper-slide {
1896    transform-origin: center bottom;
1897    -webkit-backface-visibility: hidden;
1898    backface-visibility: hidden;
1899    overflow: hidden;
1900  }
1901  html,
1902  body {
1903    position: relative;
1904    height: 100%;
1905  }
1906
1907  body {
1908    background: #eee;
1909    font-family: "Roboto Condensed", Inter;
1910    font-size: 14px;
1911    color: #000;
1912    margin: 0;
1913    padding: 0;
1914  }
1915
1916  .swiper {
1917    width: 100%;
1918    height: 100%;
1919  }
1920
1921  .swiper-slide {
1922    text-align: center;
1923    font-size: 18px;
1924    background: transparent;
1925
1926    /* Center slide text vertically */
1927    display: -webkit-box;
1928    display: -ms-flexbox;
1929    display: -webkit-flex;
1930    display: flex;
1931    -webkit-box-pack: center;
1932    -ms-flex-pack: center;
1933    -webkit-justify-content: center;
1934    justify-content: center;
1935    -webkit-box-align: center;
1936    -ms-flex-align: center;
1937    -webkit-align-items: center;
1938    align-items: center;
1939  }
1940
1941  .swiper-slide img {
1942    display: block;
1943    width: 100%;
1944    height: 100%;
1945    object-fit: cover;
1946  }
1947
1948  .swiper-slide {
1949    width: 40%;
1950  }
1951
1952  .slider-right {
1953    position: absolute;
1954    right: 10px;
1955    top: 40%;
1956    width: calc(var(--swiper-navigation-size) / 44 * 27);
1957    height: var(--swiper-navigation-size);
1958    margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
1959    z-index: 10;
1960    cursor: pointer;
1961    /* display: flex; */
1962    align-items: center;
1963    justify-content: center;
1964    color: var(--swiper-navigation-color, var(--swiper-theme-color));
1965    /* margin-right: 0; */
1966    display: none;
1967  }
1968
1969  .slider-left {
1970    position: absolute;
1971    top: 40%;
1972    left: 10px;
1973    width: calc(var(--swiper-navigation-size) / 44 * 27);
1974    height: var(--swiper-navigation-size);
1975    margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
1976    z-index: 10;
1977    cursor: pointer;
1978    /* display: flex; */
1979    align-items: center;
1980    justify-content: center;
1981    color: var(--swiper-navigation-color, var(--swiper-theme-color));
1982    /* margin-right: 0; */
1983    display: none;
1984  }
1985
1986  #test:hover ~ #b {
1987    display: flex;
1988  }
1989
1990  .swiper:hover .slider-right {
1991    display: block;
1992  }
1993
1994  .swiper:hover .slider-left {
1995    display: block;
1996  }
1997`},3916:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MyElement=void 0;const a=i(7677),o=i(4846),l=s(i(1020)),c=i(5971),d=i(8237),u=i(3959);let p=class extends a.LitElement{constructor(){super(),this.content="",this.isMobileDevice=!1,this.isMobile()&&(this.isMobileDevice=!0)}isMobile(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}updated(){const e=this.shadowRoot,t=null==e?void 0:e.getElementById("swiper");this.slicer=t,null!=t&&new l.default(t,{slidesPerView:2,allowTouchMove:this.isMobileDevice,loop:!1,centeredSlides:!0,spaceBetween:70})}slideNext(){null!=this.slicer&&this.slicer.swiper.slideNext()}slidePrev(){null!=this.slicer&&this.slicer.swiper.slidePrev()}render(){var e;const t=JSON.parse(this.content),i={fontSize:null!==(e=d.ConfigurationService.instance.css.font_size)&&void 0!==e?e:void 0};return a.html`
1998      <div class="swiper mySwiper" id="swiper">
1999        <div class="swiper-wrapper">
2000          ${t.map((e=>a.html`<div class="swiper-slide" style=${(0,u.styleMap)(i)}>
2001                <card-message title=${e.title}
2002                imageHidden
2003                message=${e.subtitle}
2004                imageUrl=${e.image.src.rawUrl}
2005                link=${e.actionLink}>
2006              </div>`))}
2007        </div>
2008
2009        <slider-card
2010          class="slider-right"
2011          direction="right"
2012          style=${this.isMobileDevice&&"display:none"}
2013          ?disabled=${this.isMobileDevice}
2014          @click=${this.slideNext}
2015        ></slider-card>
2016        <slider-card
2017          class="slider-left"
2018          direction="left"
2019          style=${this.isMobileDevice&&"display:none"}
2020          ?hidden=${this.isMobileDevice}
2021          @click=${this.slidePrev}
2022        ></slider-card>
2023      </div>
2024    `}};p.styles=c.sliderStyle,n([(0,o.property)(),r("design:type",Object)],p.prototype,"slicer",void 0),n([(0,o.property)(),r("design:type",Object)],p.prototype,"content",void 0),n([(0,o.property)({type:Boolean}),r("design:type",Object)],p.prototype,"isMobileDevice",void 0),p=n([(0,o.customElement)("motion-carousel"),r("design:paramtypes",[])],p),t.MyElement=p},2454:(e,t,i)=>{"use strict";
2024Object.defineProperty(t,"__esModule",{value:!0}),t.spinnerStyle=void 0;const n=i(7677);t.spinnerStyle=n.css`
2025    @keyframes animate {
2026      0% {
2027          transform: rotate(0deg);
2028      }   
2029      100% {
2030          transform: rotate(360deg);
2031      }
2032
2033    }
2034     .wrapper {
2035        opacity: 0;
2036        position: absolute;
2037        z-index: 10;
2038        transition: opacity 0.25s ease-in;
2039      }
2040      .wrapper:not(.open) {
2041        visibility: hidden;
2042      }
2043
2044      .wrapper.open {
2045        align-items: center;
2046        display: flex;
2047        justify-content: center;
2048        width: 100%;
2049        height: 100%;
2050        opacity: 1;
2051        visibility: visible;
2052      }
2053      .overlay {
2054        background: rgba(0, 0, 0, 0.8);
2055        height: 100%;
2056        width: 100%;
2057        position: relative;
2058      }
2059
2060      .dialog {
2061        background: transparent;
2062        position: absolute;
2063      }
2064
2065      .dialog .loader.run {
2066        height:80px;
2067        animation: animate 1s infinite;
2068      }
2069      .dialog .loader .spinner{
2070        font-size: 80px;
2071        opacity: 0.5;
2072    }
2073    
2074
2075
2076`},9029:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=void 0;const s=i(7677),a=i(7499),o=i(4846),l=i(8613),c=i(2454);let d=class extends s.LitElement{get isOpen(){return"true"===this.open}constructor(){super(),this.open="false"}render(){return s.html`
2077            <div class="${(0,a.classMap)({wrapper:!0,open:this.isOpen})}">
2078                <div class="overlay"></div>
2079                <div class="dialog">
2080                    <div class="loader ${(0,a.classMap)({run:this.isOpen})}">
2081                        <span class="material-icons spinner">
2082                            autorenew
2083                        </span>
2084                    </div>
2085                </div>
2086            </div>
2087        `}};d.styles=[c.spinnerStyle,l.iconStyle],n([(0,o.property)({type:String}),r("design:type",Object)],d.prototype,"open",void 0),d=n([(0,o.customElement)("spinner-element"),r("design:paramtypes",[])],d),t.Spinner=d},9831:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.chatStartButtonStyles=void 0;const n=i(7677);t.chatStartButtonStyles=n.css`
2088  #chat-circle {
2089    display: flex;
2090    position: fixed;
2091    bottom: 40px;
2092    right: 50px;
2093    background-size: cover;
2094    width: 85px;
2095    height: 85px;
2096    border-radius: 50%;
2097    cursor: pointer;
2098    justify-content: center;
2099    filter: drop-shadow(1px 8px 8px black);
2100    z-index: 998;
2101  }
2102
2103  @keyframes fadeIn {
2104    from {
2105      opacity: 0;
2106    }
2107    to {
2108      opacity: 1;
2109    }
2110  }
2111
2112  .little-circle {
2113    position: absolute;
2114    opacity: 0;
2115    z-index: 1;
2116    background: #ce4944;
2117    animation: fadeIn 0.1s;
2118    animation-delay: 2s;
2119    animation-fill-mode: forwards;
2120    bottom: 60px;
2121    left: 65px;
2122    width: 20px;
2123    height: 20px;
2124    border-radius: 50%;
2125    cursor: pointer;
2126    z-index: 998;
2127  }
2128
2129  .typing {
2130    align-items: center;
2131    display: flex;
2132    height: 17px;
2133    z-index: 1000;
2134    position: absolute;
2135    top: 30px;
2136  }
2137  .typing .dot {
2138    animation: mercuryTypingAnimation 1.8s infinite ease-in-out;
2139    background-color: #444a6a; //rgba(20,105,69,.7);
2140
2141    border-radius: 50%;
2142    height: 7.45px;
2143    margin-right: 4.25px;
2144    vertical-align: middle;
2145    width: 7.45px;
2146    display: inline-block;
2147  }
2148  .typing .dot:nth-child(1) {
2149    animation-delay: 200ms;
2150  }
2151  .typing .dot:nth-child(2) {
2152    animation-delay: 300ms;
2153  }
2154  .typing .dot:nth-child(3) {
2155    animation-delay: 400ms;
2156  }
2157  .typing .dot:last-child {
2158    margin-right: 0;
2159  }
2160
2161  @keyframes mercuryTypingAnimation {
2162    0% {
2163      transform: translateY(0px);
2164      background-color: #606590; // rgba(96,144,99,1);
2165    }
2166    28% {
2167      transform: translateY(-7px);
2168      background-color: #737eaa; //rgba(115,170,61189,1);
2169    }
2170    44% {
2171      transform: translateY(0px);
2172      background-color: #838abf; //rgba(131,191,135,1);
2173    }
2174  }
2175`},3107:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>
21753?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.StartButton=void 0;const a=i(7677),o=i(4846),l=i(9831),c=s(i(8739)),d=s(i(2681)),u=i(8237),p=i(3959);let h=class extends a.LitElement{soundAlert(){setTimeout((()=>{this.soundAlertTemplate=a.html`<audio autoplay>
2176        <source src=${d.default} type="audio/mp3" />
2177      </audio>`}),2e3)}constructor(){super(),this.config=u.ConfigurationService.instance,this.botImage=c.default,this.soundAlert()}render(){const e=this.config.css.startButtonCss,t=(null==e?void 0:e.useAlternativeImage)?null==e?void 0:e.alternativeImage:this.botImage||this.config.icon,i=(null==e?void 0:e.useAlternativeImage)&&(null==e?void 0:e.useMercuryTypingAnimation)?a.html`<div class="typing">
2178          <div class="dot"></div>
2179          <div class="dot"></div>
2180          <div class="dot"></div>
2181        </div>`:a.html``,n={backgroundColor:null==e?void 0:e.little_circle.backgroundColor,left:null==e?void 0:e.little_circle.left,bottom:null==e?void 0:e.little_circle.bottom,width:null==e?void 0:e.little_circle.width,height:null==e?void 0:e.little_circle.height};return a.html`
2182      <div>
2183        <div id="chat-circle">
2184          ${this.soundAlertTemplate}
2185          <img src=${t} alt="bot image"></img>
2186          <div class="little-circle" style=${(null==e?void 0:e.useCustomLittleCircle)?(0,p.styleMap)(n):""}></div>
2187          ${i}
2188        </div>
2189      </div>
2190    `}};h.styles=l.chatStartButtonStyles,n([(0,o.property)(),r("design:type",Object)],h.prototype,"botImage",void 0),n([(0,o.property)({attribute:!1}),r("design:type",Object)],h.prototype,"soundAlertTemplate",void 0),h=n([(0,o.customElement)("start-button"),r("design:paramtypes",[])],h),t.StartButton=h},3634:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.triggerCardStyles=void 0;const n=i(7677);t.triggerCardStyles=n.css`
2191  @keyframes fadeInFromBottom {
2192    0% {
2193      top: 20px;
2194      opacity: 0;
2195    }
2196    100% {
2197      top: 0px;
2198      opacity: 1;
2199    }
2200  }
2201
2202  .chat-bubble {
2203    background-color: white;
2204    padding: 17px 19px;
2205    border-radius: 25px;
2206    border-bottom-left-radius: 25px;
2207    display: inline-block;
2208  }
2209
2210  .card {
2211    box-shadow: 0 4.25px 8.5px 0 rgba(0, 0, 0, 0.2);
2212    transition: 0.3s;
2213    border-radius: 25px;
2214    height: 212.5px;
2215    text-align: center;
2216    display: flex;
2217    flex-direction: column;
2218    justify-content: center;
2219    background-color: white;
2220    cursor: pointer;
2221  }
2222
2223  .card:hover {
2224    box-shadow: 0 8px 16px 0 red;
2225  }
2226
2227  .wave {
2228    animation-name: wave-animation; /* Refers to the name of your @keyframes element below */
2229    animation-duration: 2.5s; /* Change to speed up or slow down */
2230    animation-iteration-count: infinite; /* Never stop waving :) */
2231    transform-origin: 70% 70%; /* Pivot around the bottom-left palm */
2232    display: inline-block;
2233  }
2234
2235  .card-trigger-container {
2236    height: 60vh;
2237  }
2238
2239  .card-trigger {
2240    display: flex;
2241    flex-direction: column;
2242    justify-content: center;
2243    height: 100%;
2244    align-items: center;
2245  }
2246
2247  .logo-trigger {
2248    width: 224px;
2249    height: 126px;
2250  }
2251
2252  .logo-trigger-image {
2253    object-fit: contain;
2254    height: 100%;
2255    width: 100%;
2256  }
2257
2258  .card-trigger-text-container {
2259    margin-top: 8.72vh;
2260  }
2261
2262  .header-trigger {
2263    position: relative;
2264
2265    font-family: "Roboto Condensed", Inter;
2266    font-style: normal;
2267    font-weight: 700;
2268    font-size: 20px;
2269    line-height: 22px;
2270    /* identical to box height, or 110% */
2271
2272    text-align: center;
2273    letter-spacing: 0.48px;
2274
2275    color: #000000;
2276
2277    animation: fadeInFromBottom 1s;
2278    animation-direction: normal;
2279  }
2280
2281  .description-welcome-trigger {
2282    position: relative;
2283
2284    padding-bottom: 20px;
2285
2286    font-family: "Roboto Condensed", Inter;
2287    font-style: normal;
2288    font-weight: 400;
2289    font-size: 17px;
2290    line-height: 22px;
2291    /* or 129% */
2292
2293    text-align: center;
2294    letter-spacing: 0.48px;
2295
2296    color: #000000;
2297
2298    animation: fadeInFromBottom 1s;
2299    animation-direction: normal;
2300  }
2301
2302  .privacy-trigger-info {
2303    position: relative;
2304
2305    padding-bottom: 20px;
2306
2307    font-family: "Roboto Condensed", Inter;
2308    font-style: normal;
2309    font-weight: 400;
2310    font-size: 14px;
2311    line-height: 22px;
2312
2313    text-align: center;
2314    letter-spacing: 0.48px;
2315
2316    color: #000000;
2317
2318    animation: fadeInFromBottom 1s;
2319    animation-direction: normal;
2320  }
2321
2322  .button-welcome-trigger {
2323    padding: 10px 20px;
2324    gap: 10px;
2325
2326    width: fit-content;
2327    height: 42px;
2328
2329    background: #ff9900;
2330    border-radius: 8px;
2331    cursor: pointer;
2332
2333    animation: fadeInFromBottom 1s;
2334    animation-direction: normal;
2335
2336    border: 0px;
2337    font-weight: bold;
2338  }
2339
2340  @keyframes wave-animation {
2341    0% {
2342      transform: rotate(0deg);
2343    }
2344    10% {
2345      transform: rotate(14deg);
2346    } /* The following five values can be played with to make the waving more or less extreme */
2347    20% {
2348      transform: rotate(-8deg);
2349    }
2350    30% {
2351      transform: rotate(14deg);
2352    }
2353    40% {
2354      transform: rotate(-4deg);
2355    }
2356    50% {
2357      transform: rotate(10deg);
2358    }
2359    60% {
2360      transform: rotate(0deg);
2361    } /* Reset for the last half to pause */
2362    100% {
2363      transform: rotate(0deg);
2364    }
2365  }
2366`},7443:function(e,t,i){"use strict";var n=this&&this.__decorate||function(e,t,i,n){var r,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(a=(s<3?r(a):s>
23663?r(t,i,a):r(t,i))||a);return s>3&&a&&Object.defineProperty(t,i,a),a},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TriggerCard=void 0;const a=i(7677),o=i(4846),l=i(3959),c=s(i(6734)),d=i(8237),u=i(5132),p=i(3634),h=i(3011);let f=class extends a.LitElement{constructor(){super(...arguments),this.welcomeMessage="",this.triggerCardTitle="",this.triggerCardDescription="",this.triggerCardPrivacy="",this.triggerCardLogo=c.default,this.languageCode=""}dispatchTriggeredEvent(){const e=new CustomEvent("triggeredEvent",{bubbles:!0});this.dispatchEvent(e)}sendMessageEvent(){const e=this.welcomeMessage,t=new CustomEvent("sendMessageTrigger",{detail:{inputText:e},bubbles:!0,composed:!0});this.dispatchEvent(t);const i=new CustomEvent("triggeredEvent",{bubbles:!0,composed:!0});this.dispatchEvent(i)}getLogoImage(){return""!==this.triggerCardLogo?a.html`<img
2367        class="logo-trigger-image"
2368        src=${this.triggerCardLogo}
2369        alt="Trigger Card Logo"
2370      />`:a.html`<img
2371        class="logo-trigger-image"
2372        src=${c.default}
2373        alt="Trigger Card Logo"
2374      />`}render(){var e,t;const i=d.ConfigurationService.instance,n={background:i.css.triggerCardCss.trigger_button_color,color:i.css.triggerCardCss.trigger_button_text_color,fontFamily:null!==(e=i.css.font_family)&&void 0!==e?e:"Roboto Condensed, Inter, Monteserrat"},r={color:i.css.triggerCardCss.trigger_card_text_color,fontFamily:null!==(t=i.css.font_family)&&void 0!==t?t:"Roboto Condensed, Inter, Monteserrat"},s=u.TranslationService.translate("START_BUTTON_TEXT"),o=this.triggerCardPrivacy?this.triggerCardPrivacy:i.privacyCardText,c=i.privacyCardHidden?"":o;return a.html`
2375      <div class="card-trigger-container">
2376        <div class="card-trigger">
2377          <div class="logo-trigger">${this.getLogoImage()}</div>
2378          <div class="card-trigger-text-container">
2379            <p class="header-trigger" style=${(0,l.styleMap)(r)}>
2380              ${this.triggerCardTitle}
2381            </p>
2382            <p
2383              class="description-welcome-trigger"
2384              style=${(0,l.styleMap)(r)}
2385            >
2386              ${this.triggerCardDescription}
2387            </p>
2388          </div>
2389          <button
2390            class="button-welcome-trigger"
2391            style=${(0,l.styleMap)(n)}
2392            @click=${this.sendMessageEvent}
2393          >
2394            ${s}
2395          </button>
2396          ${(0,h.unsafeHTML)(c)}
2397        </div>
2398      </div>
2399    `}};f.styles=[p.triggerCardStyles],n([(0,o.property)(),r("design:type",Object)],f.prototype,"welcomeMessage",void 0),n([(0,o.property)(),r("design:type",Object)],f.prototype,"triggerCardTitle",void 0),n([(0,o.property)(),r("design:type",Object)],f.prototype,"triggerCardDescription",void 0),n([(0,o.property)(),r("design:type",Object)],f.prototype,"triggerCardPrivacy",void 0),n([(0,o.property)(),r("design:type",Object)],f.prototype,"triggerCardLogo",void 0),n([(0,o.property)({type:String}),r("design:type",Object)],f.prototype,"languageCode",void 0),f=n([(0,o.customElement)("trigger-card")],f),t.TriggerCard=f},4010:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FirebaseApplication=void 0;const n=i(3977),r=i(685),s=i(9022);t.FirebaseApplication=class{get instance(){return this._appInstance||this.initApp(),this._appInstance}get config(){const e=(0,r.getRemoteConfig)(this.instance);return e.settings.minimumFetchIntervalMillis=this.MINIMUM_FETCH_INTERVAL_MILLIS,e.settings.fetchTimeoutMillis=this.FETCH_TIMEOUT_MILLIS,e}constructor(e){this._appInstance=void 0,this._appId="",this.MINIMUM_FETCH_INTERVAL_MILLIS=18e5,this.FETCH_TIMEOUT_MILLIS=6e4,this._appId=e,this.initApp()}initApp(){const e={apiKey:"AIzaSyCHDZsU8RGtUGc_QC0ZZHIVVczQmbMec24",authDomain:"unipaprod.firebaseapp.com",projectId:"unipaprod",storageBucket:"unipaprod.appspot.com",messagingSenderId:"685204583974",measurementId:"G-6YVTBS9CY1",appId:""};e.appId=this._appId,this._appInstance=(0,n.initializeApp)(e)}getRemoteConfig(){return(0,r.fetchAndActivate)(this.config)}getRemoteValue(e,t){return new Promise(((i,n)=>{this.getRemoteConfig().then((n=>{const a=(0,r.getValue)(this.config,e);if("remote"===a.getSource()){let e;switch(t){case s.FirebaseConfigurationValueTypeEnum.BOOLEAN:e={config:a.asBoolean()};break;case s.FirebaseConfigurationValueTypeEnum.JSON:e={config:JSON.parse(a.asString())};break;case s.FirebaseConfigurationValueTypeEnum.NUMBER:e={config:a.asNumber()};break;case s.FirebaseConfigurationValueTypeEnum.STRING:default:e={config:a.asString()}}i(e)}})).catch((e=>{n(e)}))}))}}},9022:(e,t)=>{"use strict";var i;
2399Object.defineProperty(t,"__esModule",{value:!0}),t.FirebaseConfigurationValueTypeEnum=void 0,(i=t.FirebaseConfigurationValueTypeEnum||(t.FirebaseConfigurationValueTypeEnum={}))[i.BOOLEAN=0]="BOOLEAN",i[i.STRING=1]="STRING",i[i.JSON=2]="JSON",i[i.NUMBER=3]="NUMBER"},4410:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_CONFIG=void 0,t.DEFAULT_CONFIG={mode:"development",name:"Cloudbot",apiToken:"",privacyCardHidden:!1,privacyCardText:"",privacyCardTextIt:"",privacyCardTextEn:"",privacyCardTextFr:"",parentName:"",icon:"data:image/svg+xml;base64, PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxyZWN0IHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcng9IjIwIiBmaWxsPSJ3aGl0ZSIvPg0KPHBhdGggZD0iTTMyLjQzMjUgMTYuNDAzOUMzMi4yNzA5IDE2LjM5MTggMzIuMTA5MyAxNi40NjY2IDMxLjk1NDkgMTYuNjA4OUMzMC44ODQgMTEuMTMxNSAyNi4wNjAzIDcgMjAuMjY5NCA3QzE1LjAyODQgNyAxMC41ODM0IDEwLjM4NjMgOC45ODkxMSAxNS4wODk0QzguODQ2ODEgMTQuODg5MiA4LjY4MjggMTQuNzY4NiA4LjQ5OTUgMTQuNzU0MkM3LjgxNjk0IDE0LjcwMzUgNy4xNTYwOSAxNi4xMzYyIDcuMDIzNDQgMTcuOTU0N0M2Ljg5MDc4IDE5Ljc3MzIgNy4zMzQ1NyAyMS4yODc5IDguMDE3MTMgMjEuMzM2MUM4LjIwMjg0IDIxLjM1MDYgOC4zODM3MyAyMS4yNTE3IDguNTU3MzggMjEuMDY4NEM5LjE5NDEyIDI0LjU0MzkgMTEuMzM4MyAyNy40OTEyIDE0LjI4OCAyOS4yMDg1QzE0Ljk3NzggMjkuNjA4OCAxMy43NjcgMzIuNzYzNiAxNC41MzQgMzMuMDIxNkMxNS43MjU1IDMzLjQyMiAxOC45NDI5IDMwLjgxNzIgMjAuMjY3IDMwLjgxNzJDMjUuNDk4MyAzMC44MTcyIDI5LjkzODYgMjcuNDQzIDMxLjUzNzcgMjIuNzU0M0MzMS42NjA3IDIyLjg5MTggMzEuNzk1NyAyMi45NzYyIDMxLjk0NTMgMjIuOTg4M0MzMi42Mjc4IDIzLjAzODkgMzMuMjg4NyAyMS42MDYzIDMzLjQyMTMgMTkuNzg3N0MzMy41NTQgMTcuOTY5MiAzMy4xMTAyIDE2LjQ1NDUgMzIuNDI3NiAxNi40MDYzTDMyLjQzMjUgMTYuNDAzOVoiIGZpbGw9IiMxODFCMjEiLz4NCjxwYXRoIGQ9Ik0yOC40ODY2IDE2Ljk5QzI4LjIyMTMgMTYuMzcyNSAyNy44NTIzIDE1LjgyOTggMjcuMzg5MiAxNS4zNzE2QzI2LjkyNjIgMTQuOTEzMyAyNi4zNzg3IDE0LjU0OTEgMjUuNzYzNiAxNC4yODM4QzI0LjUzNiAxMy43NTgxIDIzLjAzODIgMTMuNzUwOCAyMS43OTM3IDE0LjI4MzhDMjEuNzgxNiAxNC4yODg3IDIxLjc3MiAxNC4yOTM1IDIxLjc1OTkgMTQuMjk4M0MyMS40OTQ2IDE0LjA1NzEgMjEuMjA3NiAxMy44NDI1IDIwLjkwODUgMTMuNjU0M0MyMC42MTE5IDEzLjQ2ODYgMjAuMzI5NyAxMy4zMTkxIDIwLjA0MjcgMTMuMTk2MUMxOC42MDA0IDEyLjU3ODcgMTYuODM5NyAxMi41NjkgMTUuMzc4MSAxMy4xOTYxQzE0LjY1NDYgMTMuNTA3MiAxNC4wMTMgMTMuOTM2NSAxMy40Njc5IDE0LjQ3MkMxMi45MjI5IDE1LjAwOTggMTIuNDkxMSAxNS42NDkgMTIuMTggMTYuMzc0OUMxMS44Njg5IDE3LjEwMzMgMTEuNzEyMSAxNy44ODQ4IDExLjcxMjEgMTguN0MxMS43MTIxIDE5LjUxNTIgMTEuODY4OSAyMC4zMTU5IDEyLjE4IDIxLjA0MTlDMTIuNDkxMSAyMS43Njc5IDEyLjkyNTMgMjIuNDA3IDEzLjQ2NzkgMjIuOTQ0OUMxNC4wMTMgMjMuNDgyNyAxNC42NTQ2IDIzLjkxMiAxNS4zNzgxIDI0LjIyMDdDMTYuMTA0MSAyNC41MzE5IDE2Ljg4NTYgMjQuNjg4NiAxNy43MDA4IDI0LjY4ODZDMTguNTE2IDI0LjY4ODYgMTkuMzE2NyAyNC41MzE5IDIwLjA0MjcgMjQuMjIwN0MyMC41MTU0IDI0LjAxODEgMjAuOTU5MiAyMy43NjAxIDIxLjM2MiAyMy40NTEzQzIxLjUxNjMgMjMuNTM4MiAyMS42NTYyIDIzLjYwNTcgMjEuNzkxMyAyMy42NjZDMjMuMDM1OCAyNC4xOTkgMjQuNTMzNiAyNC4xOTE4IDI1Ljc2MTIgMjMuNjY2QzI2LjM3NjMgMjMuNDAzMSAyNi45MjM3IDIzLjAzNjUgMjcuMzg2OCAyMi41ODA3QzI3Ljg0OTkgMjIuMTI0OCAyOC4yMTg5IDIxLjU3OTcgMjguNDg0MiAyMC45NjIzQzI4Ljc0OTUgMjAuMzQ0OSAyOC44ODIyIDE5LjY3NDQgMjguODgyMiAxOC45Njc3QzI4Ljg4MjIgMTguMjYxIDI4Ljc0NzEgMTcuNjA3NCAyOC40ODQyIDE2Ljk5SDI4LjQ4NjZaTTIyLjY2OTIgMjIuMDg4NkMyMi44OTM1IDIxLjc2MDYgMjMuMDg2NSAyMS40MDg1IDIzLjI0MzIgMjEuMDQxOUMyMy4yNTUzIDIxLjAxMjkgMjMuMjY3NCAyMC45ODE2IDIzLjI3NyAyMC45NTI3TDIzLjMxNTYgMjAuODI5NkMyMy40MDQ4IDIwLjQ1MSAyMy40NTc5IDIwLjIyNDMgMjMuMTcwOSAxOS45MzczQzIyLjk2MSAxOS43Mjc0IDIyLjY2MiAxOS42NDA2IDIyLjM3MjYgMTkuNzAwOUMyMi4wNzgzIDE5Ljc2MzYgMjEuODM3MSAxOS45Njg2IDIxLjczMSAyMC4yNTA4QzIxLjcxNDEgMjAuMjk0MiAyMS42OTcyIDIwLjMzNzYgMjEuNjc3OSAyMC4zNzg2QzIxLjU3NjYgMjAuNjA3OCAyMS40NTM2IDIwLjgzNjkgMjEuMzA2NSAyMS4wNTY0QzIxLjE0MjUgMjEuMzA3MiAyMC45NTQ0IDIxLjUzNjMgMjAuNzUxOCAyMS43MzY1QzIwLjM2MzUgMjIuMTE3NiAxOS45MDI4IDIyLjQyMzkgMTkuMzg0MiAyMi42NDU4QzE4LjM1OTIgMjMuMDgyMyAxNy4wODgxIDIzLjA5MiAxNi4wNDE0IDIyLjY0NThDMTUuNTIwNCAyMi40MjM5IDE1LjA2NDYgMjIuMTIgMTQuNjgzNSAyMS43Mzg5QzE0LjMwMjQgMjEuMzU3OCAxMy45OTEzIDIwLjg5OTYgMTMuNzY0NiAyMC4zODFDMTMuNTM3OSAxOS44NjI1IDEzLjQyNDUgMTkuMjk4MSAxMy40MjQ1IDE4LjcwMjRDMTMuNDI0NSAxOC4xMDY3IDEzLjUzNzkgMTcuNTU5MiAxMy43NjQ2IDE3LjA0M0MxMy45OTEzIDE2LjUyMjEgMTQuMyAxNi4wNjE0IDE0LjY4MzUgMTUuNjczMUMxNS4wNjQ2IDE1LjI4NzIgMTUuNTIwNCAxNC45Nzg1IDE2LjAzOSAxNC43NTY2QzE2LjU1NzUgMTQuNTM3MSAxNy4xMTcxIDE0LjQyMzcgMTcuNzAwOCAxNC40MjM3QzE4LjI4NDQgMTQuNDIzNyAxOC44NjMzIDE0LjUzNDcgMTkuMzgxOCAxNC43NTY2QzE5LjYyNTQgMTQuODYwMyAxOS44NjE4IDE0Ljk4ODEgMjAuMDg2MSAxNS4xMzUyQzIwLjE1MTIgMTUuMTc4NiAyMC4yMTM5IDE1LjIyNDUgMjAuMjc2NiAxNS4yNzAzQzIwLjI0MDUgMTUuMzA0MSAyMC4yMDQzIDE1LjMzNzggMjAuMTY4MSAxNS4zNzRMMjAuMDY5MiAxNS4
23990NzA1QzE5LjY1NjggMTUuODcwOCAxOS4yMTA2IDE2LjMxOTUgMTkuMDk5NiAxNi41Nzk5QzE4Ljk3NDIgMTYuODc5IDE5LjA2ODMgMTcuMjI4NyAxOS4zMzM2IDE3LjQ1MDZDMTkuNjAxMyAxNy42NzQ5IDE5Ljk1NTkgMTcuNjk2NiAyMC4yNTczIDE3LjUwMTNDMjAuNTYzNyAxNy4zMDM1IDIxLjE1MjEgMTYuNTQ4NiAyMS4yNTEgMTYuNDE4M0MyMS41Njk0IDE2LjA5NzYgMjEuOTQ4MSAxNS44NDE5IDIyLjM3OTggMTUuNjU4NkMyMy4yNTc3IDE1LjI4NDggMjQuMzIxMyAxNS4yOTIgMjUuMTgyNCAxNS42NTg2QzI1LjYxNjUgMTUuODQ0MyAyNi4wMDI0IDE2LjEwMjQgMjYuMzI4IDE2LjQyOEMyNi42NTM2IDE2Ljc1MzYgMjYuOTE2NSAxNy4xMzk1IDI3LjEwNDYgMTcuNTc2QzI3LjI5NTIgMTguMDEwMiAyNy4zODkyIDE4LjQ3ODEgMjcuMzg5MiAxOC45Njc3QzI3LjM4OTIgMTkuNDU3MyAyNy4yOTI4IDE5LjkzOTcgMjcuMTA0NiAyMC4zNzM4QzI2LjkxNDEgMjAuODEwNCAyNi42NTM2IDIxLjE5MzggMjYuMzI4IDIxLjUxMjJDMjYuMDAyNCAyMS44MzMgMjUuNjE2NSAyMi4wODg2IDI1LjE4IDIyLjI3NDRDMjQuMzYyMyAyMi42MjQxIDIzLjM0NjkgMjIuNjQ4MiAyMi40OTggMjIuMzIyNkMyMi41NTU5IDIyLjI0NTQgMjIuNjEzNyAyMi4xNjU4IDIyLjY2OTIgMjIuMDg2MlYyMi4wODg2WiIgZmlsbD0iIzg4RDQ4RCIvPg0KPC9zdmc+DQo=",hiddenInput:!1,audioFeature:!1,triggerCardLogo:"data:image/svg+xml;base64, PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxyZWN0IHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcng9IjIwIiBmaWxsPSJ3aGl0ZSIvPg0KPHBhdGggZD0iTTMyLjQzMjUgMTYuNDAzOUMzMi4yNzA5IDE2LjM5MTggMzIuMTA5MyAxNi40NjY2IDMxLjk1NDkgMTYuNjA4OUMzMC44ODQgMTEuMTMxNSAyNi4wNjAzIDcgMjAuMjY5NCA3QzE1LjAyODQgNyAxMC41ODM0IDEwLjM4NjMgOC45ODkxMSAxNS4wODk0QzguODQ2ODEgMTQuODg5MiA4LjY4MjggMTQuNzY4NiA4LjQ5OTUgMTQuNzU0MkM3LjgxNjk0IDE0LjcwMzUgNy4xNTYwOSAxNi4xMzYyIDcuMDIzNDQgMTcuOTU0N0M2Ljg5MDc4IDE5Ljc3MzIgNy4zMzQ1NyAyMS4yODc5IDguMDE3MTMgMjEuMzM2MUM4LjIwMjg0IDIxLjM1MDYgOC4zODM3MyAyMS4yNTE3IDguNTU3MzggMjEuMDY4NEM5LjE5NDEyIDI0LjU0MzkgMTEuMzM4MyAyNy40OTEyIDE0LjI4OCAyOS4yMDg1QzE0Ljk3NzggMjkuNjA4OCAxMy43NjcgMzIuNzYzNiAxNC41MzQgMzMuMDIxNkMxNS43MjU1IDMzLjQyMiAxOC45NDI5IDMwLjgxNzIgMjAuMjY3IDMwLjgxNzJDMjUuNDk4MyAzMC44MTcyIDI5LjkzODYgMjcuNDQzIDMxLjUzNzcgMjIuNzU0M0MzMS42NjA3IDIyLjg5MTggMzEuNzk1NyAyMi45NzYyIDMxLjk0NTMgMjIuOTg4M0MzMi42Mjc4IDIzLjAzODkgMzMuMjg4NyAyMS42MDYzIDMzLjQyMTMgMTkuNzg3N0MzMy41NTQgMTcuOTY5MiAzMy4xMTAyIDE2LjQ1NDUgMzIuNDI3NiAxNi40MDYzTDMyLjQzMjUgMTYuNDAzOVoiIGZpbGw9IiMxODFCMjEiLz4NCjxwYXRoIGQ9Ik0yOC40ODY2IDE2Ljk5QzI4LjIyMTMgMTYuMzcyNSAyNy44NTIzIDE1LjgyOTggMjcuMzg5MiAxNS4zNzE2QzI2LjkyNjIgMTQuOTEzMyAyNi4zNzg3IDE0LjU0OTEgMjUuNzYzNiAxNC4yODM4QzI0LjUzNiAxMy43NTgxIDIzLjAzODIgMTMuNzUwOCAyMS43OTM3IDE0LjI4MzhDMjEuNzgxNiAxNC4yODg3IDIxLjc3MiAxNC4yOTM1IDIxLjc1OTkgMTQuMjk4M0MyMS40OTQ2IDE0LjA1NzEgMjEuMjA3NiAxMy44NDI1IDIwLjkwODUgMTMuNjU0M0MyMC42MTE5IDEzLjQ2ODYgMjAuMzI5NyAxMy4zMTkxIDIwLjA0MjcgMTMuMTk2MUMxOC42MDA0IDEyLjU3ODcgMTYuODM5NyAxMi41NjkgMTUuMzc4MSAxMy4xOTYxQzE0LjY1NDYgMTMuNTA3MiAxNC4wMTMgMTMuOTM2NSAxMy40Njc5IDE0LjQ3MkMxMi45MjI5IDE1LjAwOTggMTIuNDkxMSAxNS42NDkgMTIuMTggMTYuMzc0OUMxMS44Njg5IDE3LjEwMzMgMTEuNzEyMSAxNy44ODQ4IDExLjcxMjEgMTguN0MxMS43MTIxIDE5LjUxNTIgMTEuODY4OSAyMC4zMTU5IDEyLjE4IDIxLjA0MTlDMTIuNDkxMSAyMS43Njc5IDEyLjkyNTMgMjIuNDA3IDEzLjQ2NzkgMjIuOTQ0OUMxNC4wMTMgMjMuNDgyNyAxNC42NTQ2IDIzLjkxMiAxNS4zNzgxIDI0LjIyMDdDMTYuMTA0MSAyNC41MzE5IDE2Ljg4NTYgMjQuNjg4NiAxNy43MDA4IDI0LjY4ODZDMTguNTE2IDI0LjY4ODYgMTkuMzE2NyAyNC41MzE5IDIwLjA0MjcgMjQuMjIwN0MyMC41MTU0IDI0LjAxODEgMjAuOTU5MiAyMy43NjAxIDIxLjM2MiAyMy40NTEzQzIxLjUxNjMgMjMuNTM4MiAyMS42NTYyIDIzLjYwNTcgMjEuNzkxMyAyMy42NjZDMjMuMDM1OCAyNC4xOTkgMjQuNTMzNiAyNC4xOTE4IDI1Ljc2MTIgMjMuNjY2QzI2LjM3NjMgMjMuNDAzMSAyNi45MjM3IDIzLjAzNjUgMjcuMzg2OCAyMi41ODA3QzI3Ljg0OTkgMjIuMTI0OCAyOC4yMTg5IDIxLjU3OTcgMjguNDg0MiAyMC45NjIzQzI4Ljc0OTUgMjAuMzQ0OSAyOC44ODIyIDE5LjY3NDQgMjguODgyMiAxOC45Njc3QzI4Ljg4MjIgMTguMjYxIDI4Ljc0NzEgMTcuNjA3NCAyOC40ODQyIDE2Ljk5SDI4LjQ4NjZaTTIyLjY2OTIgMjIuMDg4NkMyMi44OTM1IDIxLjc2MDYgMjMuMDg2NSAyMS40MDg1IDIzLjI0MzIgMjEuMDQxOUMyMy4yNTUzIDIxLjAxMjkgMjMuMjY3NCAyMC45ODE2IDIzLjI3NyAyMC45NTI3TDIzLjMxNTYgMjAuODI5NkMyMy40MDQ4IDIwLjQ1MSAyMy40NTc5IDIwLjIyNDMgMjMuMTcwOSAxOS45MzczQzIyLjk2MSAxOS43Mjc0IDIyLjY2MiAxOS42NDA2IDIyLjM3MjYgMTkuNzAwOUMyMi4wNzgzIDE5Ljc2MzYgMjEuODM3MSAxOS45Njg2IDIxLjczMSAyMC4yNTA4QzIxLjcxNDEgMjAuMjk0MiAyMS42OTcyIDIwLjMzNzYgMjEuNjc3OSAyMC4zNzg2QzIxLjU3NjYgMjAuNjA3OCAyMS40NTM2IDIwLjgzNjkgMjEuMzA2NSAyMS4wNTY0QzIxLjE0MjUgMjEuMzA3MiAyMC45NTQ0IDIxLjUzNjMgMjAuNzUxOCAyMS43MzY1QzIwLjM2MzUgMjIuMTE3NiAxOS45MDI4IDIyLjQyMzkgMTkuMzg0MiAyMi42NDU4QzE4LjM1OTIgMjMuMDgyMyAxNy4wODgxIDIzLjA5MiAxNi4wNDE0IDIyLjY0NThDMTUuNTIwNCAyMi40MjM5IDE1LjA2NDYgMjIuMTIgMTQuNjgzNSAyMS43Mzg5QzE0LjMwMjQgMjEuMzU3OCAxMy45OTEzIDIwLjg5OTYgMTMuNzY0NiAyMC4zODFDMTMuNTM3OSAxOS44NjI1IDEzLjQyNDUgMTkuMjk4MSAxMy40MjQ1IDE4LjcwMjRDMTMuNDI0NSAxOC4xMDY3IDEzLjUzNzkgMTcuNTU5MiAxMy43NjQ2IDE3LjA0M0MxMy45OTEzIDE2LjUyMjEgMTQuMyAxNi4wNjE0IDE0LjY4MzUgMTUuNjczMUMxNS4wNjQ2IDE1LjI4NzIgMTUuNTIwNCAxNC45Nzg1IDE2LjAzOSAxNC43NTY2QzE2LjU1NzUgMTQuNTM3MSAxNy4xMTcxIDE0LjQyMzcgMTcuNzAwOCAxNC40MjM3QzE4LjI4NDQgMTQuNDIzNyAxOC44NjMzIDE0LjUzNDcgMTkuMzgxOCAxNC43NTY2QzE5LjYyNTQgMTQuODYwMyAxOS44NjE4IDE0Ljk4ODEgMjAuMDg2MSAxNS4xMzUyQzIwLjE1MTIgMTUuMTc4NiAyMC4yMTM5IDE1LjIyNDUgMjAuMjc2NiAxNS4yNzAzQzIwLjI0MDUgMTUuMzA0MSAyMC4yMDQzIDE1LjMzNzggMjAuMTY4MSAxNS4zNzRMMjAuMDY5MiAxNS4
23990NzA1QzE5LjY1NjggMTUuODcwOCAxOS4yMTA2IDE2LjMxOTUgMTkuMDk5NiAxNi41Nzk5QzE4Ljk3NDIgMTYuODc5IDE5LjA2ODMgMTcuMjI4NyAxOS4zMzM2IDE3LjQ1MDZDMTkuNjAxMyAxNy42NzQ5IDE5Ljk1NTkgMTcuNjk2NiAyMC4yNTczIDE3LjUwMTNDMjAuNTYzNyAxNy4zMDM1IDIxLjE1MjEgMTYuNTQ4NiAyMS4yNTEgMTYuNDE4M0MyMS41Njk0IDE2LjA5NzYgMjEuOTQ4MSAxNS44NDE5IDIyLjM3OTggMTUuNjU4NkMyMy4yNTc3IDE1LjI4NDggMjQuMzIxMyAxNS4yOTIgMjUuMTgyNCAxNS42NTg2QzI1LjYxNjUgMTUuODQ0MyAyNi4wMDI0IDE2LjEwMjQgMjYuMzI4IDE2LjQyOEMyNi42NTM2IDE2Ljc1MzYgMjYuOTE2NSAxNy4xMzk1IDI3LjEwNDYgMTcuNTc2QzI3LjI5NTIgMTguMDEwMiAyNy4zODkyIDE4LjQ3ODEgMjcuMzg5MiAxOC45Njc3QzI3LjM4OTIgMTkuNDU3MyAyNy4yOTI4IDE5LjkzOTcgMjcuMTA0NiAyMC4zNzM4QzI2LjkxNDEgMjAuODEwNCAyNi42NTM2IDIxLjE5MzggMjYuMzI4IDIxLjUxMjJDMjYuMDAyNCAyMS44MzMgMjUuNjE2NSAyMi4wODg2IDI1LjE4IDIyLjI3NDRDMjQuMzYyMyAyMi42MjQxIDIzLjM0NjkgMjIuNjQ4MiAyMi40OTggMjIuMzIyNkMyMi41NTU5IDIyLjI0NTQgMjIuNjEzNyAyMi4xNjU4IDIyLjY2OTIgMjIuMDg2MlYyMi4wODg2WiIgZmlsbD0iIzg4RDQ4RCIvPg0KPC9zdmc+DQo=",feedbackEnabled:!1,autoTrigger:!1,css:{body_background:"#ffffff",font_family:"Roboto Condensed",font_size:"15px",chatBubbleCss:{background_color:"#2c313d",border_radius:"1.5rem"},headerCss:{text_color:"white",background_close_icon:"#2c313d",background_color:"#2c313d",header_icons_font_size:"19px",icon_color:"#ffffff"},chatBoxInputCss:{input_text_background:"#e5e5e5",input_text_color:"black",mic_recording_border_color:"",mic_recording_icon_color:"black",send_button_icon_background_color:"#88d48d",mic_recording_background_color:"#88d48d",send_button_icon_color:"black"},triggerCardCss:{trigger_button_color:"#88d48d",trigger_button_text_color:"black",trigger_card_text_color:"black"},chipsCss:{chip_background:"#ffffff",chip_text_color:"black",chip_border_radius:"1.5rem",chip_border_color:"black",chip_text_bold:!1,chip_min_height:"18px"},messageCss:{bot_message_text_color:"white",bot_message_background_color:"#2C313D",user_message_text_color:"black",bot_message_border_radius:"1.5rem",bot_message_min_width:"100px",user_message_background_color:"#88D48D",user_message_border_radius:"1.5rem",user_message_min_width:"100px"},feedbackCss:{header_background:"#EFEFEF",header_button_background_color:"#88d48d",header_button_text_color:"#000000",header_text_color:"#000000",modal_header_background_color:"#88d48d",modal_header_text_color:"#000000",modal_header_button_color:"#000000",modal_header_button_background:"#88d48d"},scrollBtnCss:{scroll_btn_background_color:"black",scroll_btn_font_size:"25px",scroll_btn_icon_color:"white"},startButtonCss:{useAlternativeImage:!1,alternativeImage:"",little_circle:{},useCustomLittleCircle:!1,useMercuryTypingAnimation:!1}},endpoint:{baseUrl:"",socketBaseUrl:"",restBaseApiUrl:""},languageMenuFeature:!0,languageMenu:["it"],welcomeMessageIt:"Salve",welcomeMessageEn:"Hi",welcomeMessageFr:"Bonjour",triggerCardTitleIt:"Benvenuto/a",triggerCardTitleEn:"Welcome",triggerCardTitleFr:"Bonjour",triggerCardBodyIt:"L’assistente virtuale di {{botname}} ti da il benvenuto. Potrai chiedere informazioni su immatricolazioni, corsi di laurea, ecc.",triggerCardBodyEn:"{{botname}}'s virtual assistant welcomes you. ",triggerCardBodyFr:"L'assistant virtuel d'{{botname}} vous souhaite la bienvenue."}},8237:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationService=void 0;const n=i(4410);class r{static get instance(){return this._instance||(this._instance=n.DEFAULT_CONFIG),this._instance}static initFirebaseInstance(e){e&&e.config?this._instance=e.config:this._instance=n.DEFAULT_CONFIG}}t.ConfigurationService=r,r._instance=void 0},5062:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buttonStyle=void 0;const n=i(7677);t.buttonStyle=n.css`
2400  div.icon {
2401    display: flex;
2402    flex-direction: column;
2403    justify-content: center;
2404    background-color: white;
2405    border-radius: 50%;
2406    width: 52px;
2407    height: 52px;
2408    cursor: pointer;
2409    border: 1px solid trasparent;
2410  }
2411
2412  div.icon span {
2413    color: white;
2414    text-align: center;
2415    text-decoration: none;
2416  }
2417`},8613:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iconStyle=void 0;const n=i(7677);t.iconStyle=n.css`
2418  /* @font-face {
2419    font-family: "Material Icons";
2420    font-style: normal;
2421    font-weight: 400;
2422    src: url("../fonts/material.woff2") format("woff2");
2423  } */
2424
2425  .material-icons {
2426    font-family: "Material Icons";
2427    font-weight: normal;
2428    font-style: normal;
2429    font-size: 24px;
2430    line-height: 1;
2431    letter-spacing: normal;
2432    text-transform: none;
2433    white-space: nowrap;
2434    word-wrap: normal;
2435    direction: ltr;
2436    -webkit-font-feature-settings: "liga";
2437    -webkit-font-smoothing: antialiased;
2438  }
2439`},7144:(e,t)=>{"use strict";
2439Object.defineProperty(t,"__esModule",{value:!0});class i{}t.default=i,i.BOT_DEFAULT_CURRENT_PAGE="/flows/00000000-0000-0000-0000-000000000000/pages/START_PAGE",i.BOT_DEFAULT_WELCOME_MESSAGE="Hi",i.BOT_DEFAULT_TRIGGER_CARD_TITLE="Benvenuto/a",i.BOT_DEFAULT_TRIGGER_CARD_BODY="Ciao, sono l'assistente virtuale di Cloudbot",i.BOT_DEFAULT_BOX_HIDDEN="hidden",i.URL_CHAT_TTS_GOOGLE="https://texttospeech.googleapis.com/v1/text:synthesize?key=",i.KEY_CHAT_TTS_GOOGLE="AIzaSyDPuFhQpFp6PzPaqfZZK4UuM1n3AeEChsA",i.BOT_FIRST_FAKE_MSG_TO_OBTAIN_SESSION_ID="___NEW_SESSION_OPEN___"},3872:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationsEN=void 0,t.TranslationsEN=class{constructor(){this.CHAT_PLACEHOLDER_INPUT="Write...",this.START_BUTTON_TEXT="Start",this.CLOSE_CHAT="Minimize Chat",this.RELOAD_CHAT="Reload Chat",this.FEEDBACK_HEADER_TEXT="How do you evaluate {{botName}} virtual assistant?",this.FEEDBACK_HEADER_BUTTON="Feedback",this.FEEDBACK_MODAL_HEADER_TEXT="Your feedback",this.FEEDBACK_MODAL_EVALUATE_TEXT="How do you evaluate your expirience with virtual assistant?",this.FEEDBACK_MODAL_COMMENT_TEXT="Would you like to add a comment?",this.FEEDBACK_MODAL_BUTTON_TEXT="Send",this.FEEDBACK_SUCCESS_TEXT="Thank you for your feedback!",this.FEEDBACK_ERROR_TEXT="Error during send feedback! Please retry."}}},6531:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationsFR=void 0,t.TranslationsFR=class{constructor(){this.CHAT_PLACEHOLDER_INPUT="Vous écrivez...",this.START_BUTTON_TEXT="Commencer",this.CLOSE_CHAT="Réduire le chat",this.RELOAD_CHAT="Recharger le chat",this.FEEDBACK_HEADER_TEXT="Comment évaluez-vous l'assistant virtuel {{botName}}?",this.FEEDBACK_HEADER_BUTTON="Retour",this.FEEDBACK_MODAL_HEADER_TEXT="Vos réactions",this.FEEDBACK_MODAL_EVALUATE_TEXT="Comment évalueriez-vous votre expérience avec l'assistant virtuel?",this.FEEDBACK_MODAL_COMMENT_TEXT="Souhaitez-vous ajouter une critique?",this.FEEDBACK_MODAL_BUTTON_TEXT="Soumettre",this.FEEDBACK_SUCCESS_TEXT="Merci de nous envoyer vos commentaires!",this.FEEDBACK_ERROR_TEXT="Erreur lors de l'envoi des commentaires ! Essayer à nouveau"}}},7512:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationsIT=void 0,t.TranslationsIT=class{constructor(){this.CHAT_PLACEHOLDER_INPUT="Scrivi...",this.START_BUTTON_TEXT="Inizia",this.CLOSE_CHAT="Riduci Chat",this.RELOAD_CHAT="Ricarica Chat",this.FEEDBACK_HEADER_TEXT="Come valuti l'assistente virtuale {{botName}}?",this.FEEDBACK_HEADER_BUTTON="Feedback",this.FEEDBACK_MODAL_HEADER_TEXT="Il tuo feedback",this.FEEDBACK_MODAL_EVALUATE_TEXT="Come valuteresti la tua esperienza con l'assistente virtuale?",this.FEEDBACK_MODAL_COMMENT_TEXT="Vuoi aggiungere un commento?",this.FEEDBACK_MODAL_BUTTON_TEXT="Invia",this.FEEDBACK_SUCCESS_TEXT="Grazie per averci inviato il tuo feedback!",this.FEEDBACK_ERROR_TEXT="Errore nell'invio del feedback! Riprova"}}},4520:(e,t)=>{"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.Languages=void 0,(i=t.Languages||(t.Languages={})).EN="en-EN",i.IT="it-IT",i.FR="fr-FR"},5132:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TranslationService=void 0;const n=i(3872),r=i(6531),s=i(7512),a=i(4520);class o{static get currentLang(){return this._lang}static set currentLang(e){this._previousLang=""+this._lang,e||(this._lang=a.Languages.EN),e===a.Languages.IT||e.indexOf("it")>-1?this._lang=a.Languages.IT:e===a.Languages.FR||e.indexOf("fr")>-1?this._lang=a.Languages.FR:this._lang=a.Languages.EN,this._lang!==this._previousLang&&(this._instance=this.getTranslations())}static get instance(){return this._instance||(this._instance=this.getTranslations()),this._instance}static getTranslations(){switch(this.currentLang){case a.Languages.IT:return new s.TranslationsIT;case a.Languages.FR:return new r.TranslationsFR;case a.Languages.EN:default:return new n.TranslationsEN}}static translate(e,t=this._lang,i){t&&(this.currentLang=t);let n=this.getTranslations()[e];if(i)for(const e in i){const t=i[e];n=n.replace(`{{${e}}}`,t)}return n}}t.TranslationService=o,o._instance=void 0,o._lang=a.Languages.EN,o._previousLang=a.Languages.EN},2238:(e,t,i)=>{"use strict";i.d(t,{Af:()=>h,C6:()=>T,H9:()=>g,Jn:()=>E,KN:()=>I,Mq:()=>C,P2:()=>S,TP:()=>A,Ub:()=>j,Vr:()=>m,Xd:()=>v,Z8:()=>w,ZF:()=>_,ZR:()=>s.ZR,l4:()=>u,lz:()=>f,qX:()=>y,wN:()=>b});var n=i(8463),r=i(3333),s=i(4444),a=i(4424);class o{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map((e=>{if(function(e){const t=e.getComponent();return"VERSION"===(null==t?void 0:t.type)}(e)){const t=e.getImmediate();return`${t.library}/${t.version}`}return null})).filter((e=>e)).join(" ")}}const l="@firebase/app",c="0.9.1",d=new r.Yd("@firebase/app"),u="[DEFAULT]",p={[l]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/database-compat":"fire-rtdb-compat","@firebase/functions":"fire-fn","@firebase/functions-compat":"fire-fn-compat","@firebase/installations":"fire-iid","@firebase/installations-compat":"fire-iid-compat","@firebase/messaging":"fire-fcm","@firebase/messaging-compat":"fire-fcm-compat","@firebase/performance":"fire-perf","@firebase/performance-compat":"fire-perf-compat","@firebase/remote-config":"fire-rc","@firebase/remote-config-compat":"fire-rc-compat","@firebase/storage":"fire-gcs","@firebase/storage-compat":"fire-gcs-compat","@firebase/firestore":"fire-fst","@firebase/firestore-compat":"fire-fst-compat","fire-js":"fire-js",firebase:"fire-js-all"},h=new Map,f=new Map;function g(e,t){try{e.container.addComponent(t)}catch(i){d.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,i)}}function m(e,t){e.container.addOrOverwriteComponent(t)}function v(e){const t=e.name;if(f.has(t))return d.debug(`There were multiple attempts to register component ${t}.`),!1;f.set(t,e);for(const t of h.values())g(t,e);return!0}function y(e,t){const i=e.container.getProvider("heartbeat").getImmediate({optional:!0});return i&&i.triggerHeartbeat(),e.container.getProvider(t)}function b(e,t,i=u){y(e,t).clearInstance(i)}function w(){f.clear()}const M=new s.LL("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invali
2439d-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."});class x{constructor(e,t,i){this._isDeleted=!1,this._options=Object.assign({},e),this._config=Object.assign({},t),this._name=t.name,this._automaticDataCollectionEnabled=t.automaticDataCollectionEnabled,this._container=i,this.container.addComponent(new n.wA("app",(()=>this),"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(e){this.checkDestroyed(),this._automaticDataCollectionEnabled=e}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}checkDestroyed(){if(this.isDeleted)throw M.create("app-deleted",{appName:this._name})}}const E="9.16.0";function _(e,t={}){let i=e;"object"!=typeof t&&(t={name:t});const r=Object.assign({name:u,automaticDataCollectionEnabled:!1},t),a=r.name;if("string"!=typeof a||!a)throw M.create("bad-app-name",{appName:String(a)});if(i||(i=(0,s.aH)()),!i)throw M.create("no-options");const o=h.get(a);if(o){if((0,s.vZ)(i,o.options)&&(0,s.vZ)(r,o.config))return o;throw M.create("duplicate-app",{appName:a})}const l=new n.H0(a);for(const e of f.values())l.addComponent(e);const c=new x(i,r,l);return h.set(a,c),c}function C(e=u){const t=h.get(e);if(!t&&e===u)return _();if(!t)throw M.create("no-app",{appName:e});return t}function T(){return Array.from(h.values())}async function S(e){const t=e.name;h.has(t)&&(h.delete(t),await Promise.all(e.container.getProviders().map((e=>e.delete()))),e.isDeleted=!0)}function I(e,t,i){var r;let s=null!==(r=p[e])&&void 0!==r?r:e;i&&(s+=`-${i}`);const a=s.match(/\s|\//),o=t.match(/\s|\//);if(a||o){const e=[`Unable to register library "${s}" with version "${t}":`];return a&&e.push(`library name "${s}" contains illegal characters (whitespace or "/")`),a&&o&&e.push("and"),o&&e.push(`version name "${t}" contains illegal characters (whitespace or "/")`),void d.warn(e.join(" "))}v(new n.wA(`${s}-version`,(()=>({library:s,version:t})),"VERSION"))}function A(e,t){if(null!==e&&"function"!=typeof e)throw M.create("invalid-log-argument");(0,r.Am)(e,t)}function j(e){(0,r.Ub)(e)}const $="firebase-heartbeat-database",O=1,D="firebase-heartbeat-store";let N=null;function k(){return N||(N=(0,a.X3)($,O,{upgrade:(e,t)=>{0===t&&e.createObjectStore(D)}}).catch((e=>{throw M.create("idb-open",{originalErrorMessage:e.message})}))),N}async function z(e,t){try{const i=(await k()).transaction(D,"readwrite"),n=i.objectStore(D);return await n.put(t,L(e)),i.done}catch(e){if(e instanceof s.ZR)d.warn(e.message);else{const t=M.create("idb-set",{originalErrorMessage:null==e?void 0:e.message});d.warn(t.message)}}}function L(e){return`${e.name}!${e.options.appId}`}class P{constructor(e){this.container=e,this._heartbeatsCache=null;const t=this.container.getProvider("app").getImmediate();this._storage=new B(t),this._heartbeatsCachePromise=this._storage.read().then((e=>(this._heartbeatsCache=e,e)))}async triggerHeartbeat(){const e=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),t=R();if(null===this._heartbeatsCache&&(this._heartbeatsCache=await this._heartbeatsCachePromise),this._heartbeatsCache.lastSentHeartbeatDate!==t&&!this._heartbeatsCache.heartbeats.some((e=>e.date===t)))return this._heartbeatsCache.heartbeats.push({date:t,agent:e}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter((e=>{const t=new Date(e.date).valueOf();return Date.now()-t<=2592e6})),this._storage.overwrite(this._heartbeatsCache)}
vendor: 6,696 bytes, line 2439
2439async getHeartbeatsHeader(){if(null===this._heartbeatsCache&&await this._heartbeatsCachePromise,null===this._heartbeatsCache||0===this._heartbeatsCache.heartbeats.length)return"";const e=R(),{heartbeatsToSend:t,unsentEntries:i}=function(e,t=1024){const i=[];let n=e.slice();for(const r of e){const e=i.find((e=>e.agent===r.agent));if(e){if(e.dates.push(r.date),U(i)>t){e.dates.pop();break}}else if(i.push({agent:r.agent,dates:[r.date]}),U(i)>t){i.pop();break}n=n.slice(1)}return{heartbeatsToSend:i,unsentEntries:n}}(this._heartbeatsCache.heartbeats),n=(0,s.L)(JSON.stringify({version:2,heartbeats:t}));return this._heartbeatsCache.lastSentHeartbeatDate=e,i.length>0?(this._heartbeatsCache.heartbeats=i,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),n}}function R(){return(new Date).toISOString().substring(0,10)}class B{constructor(e){this.app=e,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return!!(0,s.hl)()&&(0,s.eu)().then((()=>!0)).catch((()=>!1))}async read(){return await this._canUseIndexedDBPromise&&await async function(e){try{return(await k()).transaction(D).objectStore(D).get(L(e))}catch(e){if(e instanceof s.ZR)d.warn(e.message);else{const t=M.create("idb-get",{originalErrorMessage:null==e?void 0:e.message});d.warn(t.message)}}}(this.app)||{heartbeats:[]}}async overwrite(e){var t;if(await this._canUseIndexedDBPromise){const i=await this.read();return z(this.app,{lastSentHeartbeatDate:null!==(t=e.lastSentHeartbeatDate)&&void 0!==t?t:i.lastSentHeartbeatDate,heartbeats:e.heartbeats})}}async add(e){var t;if(await this._canUseIndexedDBPromise){const i=await this.read();return z(this.app,{lastSentHeartbeatDate:null!==(t=e.lastSentHeartbeatDate)&&void 0!==t?t:i.lastSentHeartbeatDate,heartbeats:[...i.heartbeats,...e.heartbeats]})}}}function U(e){return(0,s.L)(JSON.stringify({version:2,heartbeats:e})).length}v(new n.wA("platform-logger",(e=>new o(e)),"PRIVATE")),v(new n.wA("heartbeat",(e=>new P(e)),"PRIVATE")),I(l,c,""),I(l,c,"esm2017"),I("fire-js","")},8463:(e,t,i)=>{"use strict";i.d(t,{H0:()=>o,wA:()=>r});var n=i(4444);class r{constructor(e,t,i){this.name=e,this.instanceFactory=t,this.type=i,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}const s="[DEFAULT]";class a{constructor(e,t){this.name=e,this.container=t,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(e){const t=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(t)){const e=new n.BH;if(this.instancesDeferred.set(t,e),this.isInitialized(t)||this.shouldAutoInitialize())try{const i=this.getOrInitializeService({instanceIdentifier:t});i&&e.resolve(i)}catch(e){}}return this.instancesDeferred.get(t).promise}getImmediate(e){var t;const i=this.normalizeInstanceIdentifier(null==e?void 0:e.identifier),n=null!==(t=null==e?void 0:e.optional)&&void 0!==t&&t;if(!this.isInitialized(i)&&!this.shouldAutoInitialize()){if(n)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:i})}catch(e){if(n)return null;throw e}}getComponent(){return this.component}setComponent(e){if(e.name!==this.name)throw Error(`Mismatching Component ${e.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=e,this.shouldAutoInitialize()){if(function(e){return"EAGER"===e.instantiationMode}(e))try{this.getOrInitializeService({instanceIdentifier:s})}catch(e){}for(const[e,t]of this.instancesDeferred.entries()){const i=this.normalizeInstanceIdentifier(e);try{const e=this.getOrInitializeService({instanceIdentifier:i});t.resolve(e)}catch(e){}}}}clearInstance(e=s){this.instancesDeferred.delete(e),this.instancesOptions.delete(e),this.instances.delete(e)}async delete(){const e=Array.from(this.instances.values());await Promise.all([...e.filter((e=>"INTERNAL"in e)).map((e=>e.INTERNAL.delete())),...e.filter((e=>"_delete"in e)).map((e=>e._delete()))])}isComponentSet(){return null!=this.component}isInitialized(e=s){return this.instances.has(e)}getOptions(e=s){return this.instancesOptions.get(e)||{}}initialize(e={}){const{options:t={}}=e,i=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(i))throw Error(`${this.name}(${i}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const n=this.getOrInitializeService({instanceIdentifier:i,options:t});for(const[e,t]of this.instancesDeferred.entries())i===this.normalizeInstanceIdentifier(e)&&t.resolve(n);return n}onInit(e,t){var i;const n=this.normalizeInstanceIdentifier(t),r=null!==(i=this.onInitCallbacks.get(n))&&void 0!==i?i:new Set;r.add(e),this.onInitCallbacks.set(n,r);const s=this.instances.get(n);return s&&e(s,n),()=>{r.delete(e)}}invokeOnInitCallbacks(e,t){const i=this.onInitCallbacks.get(t);if(i)for(const n of i)try{n(e,t)}catch(e){}}getOrInitializeService({instanceIdentifier:e,options:t={}}){let i=this.instances.get(e);if(!i&&this.component&&(i=this.component.instanceFactory(this.container,{instanceIdentifier:(n=e,n===s?void 0:n),options:t}),this.instances.set(e,i),this.instancesOptions.set(e,t),this.invokeOnInitCallbacks(i,e),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,e,i)}catch(e){}var n;return i||null}normalizeInstanceIdentifier(e=s){return this.component?this.component.multipleInstances?e:s:e}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class o{constructor(e){this.name=e,this.providers=new Map}addComponent(e){const t=this.getProvider(e.name);if(t.isComponentSet())throw new Error(`Component ${e.name} has already been registered with ${this.name}`);t.setComponent(e)}addOrOverwriteComponent(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)}getProvider(e){if(this.providers.has(e))return this.providers.get(e);const t=new a(e,this);return this.providers.set(e,t),t}getProviders(){return Array.from(this.providers.values())}}},3333:(e,t,i)=>{"use strict";i.d(t,{Am:()=>u,Ub:()=>d,Yd:()=>c,in:()=>r});const n=[];var r;!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.E
2439RROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(r||(r={}));const s={debug:r.DEBUG,verbose:r.VERBOSE,info:r.INFO,warn:r.WARN,error:r.ERROR,silent:r.SILENT},a=r.INFO,o={[r.DEBUG]:"log",[r.VERBOSE]:"log",[r.INFO]:"info",[r.WARN]:"warn",[r.ERROR]:"error"},l=(e,t,...i)=>{if(t<e.logLevel)return;const n=(new Date).toISOString(),r=o[t];if(!r)throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`);console[r](`[${n}]  ${e.name}:`,...i)};class c{constructor(e){this.name=e,this._logLevel=a,this._logHandler=l,this._userLogHandler=null,n.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in r))throw new TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel="string"==typeof e?s[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if("function"!=typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,r.DEBUG,...e),this._logHandler(this,r.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,r.VERBOSE,...e),this._logHandler(this,r.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,r.INFO,...e),this._logHandler(this,r.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,r.WARN,...e),this._logHandler(this,r.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,r.ERROR,...e),this._logHandler(this,r.ERROR,...e)}}function d(e){n.forEach((t=>{t.setLogLevel(e)}))}function u(e,t){for(const i of n){let n=null;t&&t.level&&(n=s[t.level]),i.userLogHandler=null===e?null:(t,i,...s)=>{const a=s.map((e=>{if(null==e)return null;if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e)return e.toString();if(e instanceof Error)return e.message;try{return JSON.stringify(e)}catch(e){return null}})).filter((e=>e)).join(" ");i>=(null!=n?n:t.logLevel)&&e({level:r[i].toLowerCase(),message:a,args:s,type:t.name})}}}},5674:(e,t,i)=>{"use strict";i.d(t,{eZ:()=>n});const n=({finisher:e,descriptor:t})=>(i,n)=>{var r;if(void 0===n){const n=null!==(r=i.originalKey)&&void 0!==r?r:i.key,s=null!=t?{kind:"method",placement:"prototype",key:n,descriptor:t(i.key)}:{...i,key:n};return null!=e&&(s.finisher=function(t){e(t,n)}),s}{const r=i.constructor;void 0!==t&&Object.defineProperty(i,n,t(n)),null==e||e(r,n)}}},2669:(e,t,i)=>{"use strict";i.d(t,{I:()=>r});var n=i(5674);function r(e,t){return(0,n.eZ)({descriptor:i=>{const n={get(){var t,i;return null!==(i=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof i?Symbol():"__"+i;n.get=function(){var i,n;return void 0===this[t]&&(this[t]=null!==(n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(e))&&void 0!==n?n:null),this[t]}}return n}})}},3977:(e,t,i)=>{"use strict";i.r(t),i.d(t,{FirebaseError:()=>n.ZR,SDK_VERSION:()=>n.Jn,_DEFAULT_ENTRY_NAME:()=>n.l4,_addComponent:()=>n.H9,_addOrOverwriteComponent:()=>n.Vr,_apps:()=>n.Af,_clearComponents:()=>n.Z8,_components:()=>n.lz,_getProvider:()=>n.qX,_registerComponent:()=>n.Xd,_removeServiceInstance:()=>n.wN,deleteApp:()=>n.P2,getApp:()=>n.Mq,getApps:()=>n.C6,initializeApp:()=>n.ZF,onLog:()=>n.TP,registerVersion:()=>n.KN,setLogLevel:()=>n.Ub});var n=i(2238);(0,n.KN)("firebase","9.16.0","app")},685:(e,t,i)=>{"use strict";i.r(t),i.d(t,{activate:()=>ne,ensureInitialized:()=>re,fetchAndActivate:()=>Me,fetchConfig:()=>se,getAll:()=>ae,getBoolean:()=>oe,getNumber:()=>le,getRemoteConfig:()=>ie,getString:()=>ce,getValue:()=>de,isSupported:()=>xe,setLogLevel:()=>ue});var n=i(2238),r=i(4444),s=i(8463),a=i(3333),o=i(4424);const l="@firebase/installations",c="0.6.1",d=1e4,u=`w:${c}`,p="FIS_v2",h="https://firebaseinstallations.googleapis.com/v1",f=36e5,g=new r.LL("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function m(e){return e instanceof r.ZR&&e.code.includes("request-failed")}function v({projectId:e}){return`${h}/projects/${e}/installations`}
vendor: 4,516 bytes, line 2439
2439function y(e){return{token:e.token,requestStatus:2,expiresIn:(t=e.expiresIn,Number(t.replace("s","000"))),creationTime:Date.now()};var t}async function b(e,t){const i=(await t.json()).error;return g.create("request-failed",{requestName:e,serverCode:i.code,serverMessage:i.message,serverStatus:i.status})}function w({apiKey:e}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}async function M(e){const t=await e();return t.status>=500&&t.status<600?e():t}function x(e){return new Promise((t=>{setTimeout(t,e)}))}const E=/^[cdef][\w-]{21}$/,_="";function C(){try{const e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;const t=function(e){var t;return(t=e,btoa(String.fromCharCode(...t)).replace(/\+/g,"-").replace(/\//g,"_")).substr(0,22)}(e);return E.test(t)?t:_}catch(e){return _}}function T(e){return`${e.appName}!${e.appId}`}const S=new Map;function I(e,t){const i=T(e);A(i,t),function(e,t){const i=(!j&&"BroadcastChannel"in self&&(j=new BroadcastChannel("[Firebase] FID Change"),j.onmessage=e=>{A(e.data.key,e.data.fid)}),j);i&&i.postMessage({key:e,fid:t}),0===S.size&&j&&(j.close(),j=null)}(i,t)}function A(e,t){const i=S.get(e);if(i)for(const e of i)e(t)}let j=null;const $="firebase-installations-database",O=1,D="firebase-installations-store";let N=null;function k(){return N||(N=(0,o.X3)($,O,{upgrade:(e,t)=>{0===t&&e.createObjectStore(D)}})),N}async function z(e,t){const i=T(e),n=(await k()).transaction(D,"readwrite"),r=n.objectStore(D),s=await r.get(i);return await r.put(t,i),await n.done,s&&s.fid===t.fid||I(e,t.fid),t}async function L(e){const t=T(e),i=(await k()).transaction(D,"readwrite");await i.objectStore(D).delete(t),await i.done}async function P(e,t){const i=T(e),n=(await k()).transaction(D,"readwrite"),r=n.objectStore(D),s=await r.get(i),a=t(s);return void 0===a?await r.delete(i):await r.put(a,i),await n.done,!a||s&&s.fid===a.fid||I(e,a.fid),a}async function R(e){let t;const i=await P(e.appConfig,(i=>{const n=function(e){return F(e||{fid:C(),registrationStatus:0})}(i),r=function(e,t){if(0===t.registrationStatus){if(!navigator.onLine)return{installationEntry:t,registrationPromise:Promise.reject(g.create("app-offline"))};const i={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},n=async function(e,t){try{const i=await async function({appConfig:e,heartbeatServiceProvider:t},{fid:i}){const n=v(e),r=w(e),s=t.getImmediate({optional:!0});if(s){const e=await s.getHeartbeatsHeader();e&&r.append("x-firebase-client",e)}const a={fid:i,authVersion:p,appId:e.appId,sdkVersion:u},o={method:"POST",headers:r,body:JSON.stringify(a)},l=await M((()=>fetch(n,o)));if(l.ok){const e=await l.json();return{fid:e.fid||i,registrationStatus:2,refreshToken:e.refreshToken,authToken:y(e.authToken)}}throw await b("Create Installation",l)}(e,t);return z(e.appConfig,i)}catch(i){throw m(i)&&409===i.customData.serverCode?await L(e.appConfig):await z(e.appConfig,{fid:t.fid,registrationStatus:0}),i}}(e,i);return{installationEntry:i,registrationPromise:n}}return 1===t.registrationStatus?{installationEntry:t,registrationPromise:B(e)}:{installationEntry:t}}(e,n);return t=r.registrationPromise,r.installationEntry}));return i.fid===_?{installationEntry:await t}:{installationEntry:i,registrationPromise:t}}async function B(e){let t=await U(e.appConfig);for(;1===t.registrationStatus;)await x(100),t=await U(e.appConfig);if(0===t.registrationStatus){const{installationEntry:t,registrationPromise:i}=await R(e);return i||t}return t}function U(e){return P(e,(e=>{if(!e)throw g.create("installation-not-found");return F(e)}))}function F(e){return 1===(t=e).registrationStatus&&t.registrationTime+d<Date.now()?{fid:e.fid,registrationStatus:0}:e;var t}async function H({appConfig:e,heartbeatServiceProvider:t},i){const n=function(e,{fid:t}){return`${v(e)}/${t}/authTokens:generate`}(e,i),r=function(e,{refreshToken:t}){const i=w(e);return i.append("Authorization",function(e){return`${p} ${e}`}(t)),i}(e,i),s=t.getImmediate({optional:!0});if(s){const e=await s.getHeartbeatsHeader();e&&r.append("x-firebase-client",e)}const a={installation:{sdkVersion:u,appId:e.appId}},o={method:"POST",headers:r,body:JSON.stringify(a)},l=await M((()=>fetch(n,o)));if(l.ok)return y(await l.json());throw await b("Generate Auth Token",l)}async function Y(e,t=!1){let i;const n=await P(e.appConfig,(n=>{if(!q(n))throw g.create("not-registered");const r=n.authToken;if(!t&&(2===(s=r).requestStatus&&!function(e){const t=Date.now();
2439return t<e.creationTime||e.creationTime+e.expiresIn<t+f}(s)))return n;var s;if(1===r.requestStatus)return i=async function(e,t){let i=await Q(e.appConfig);for(;1===i.authToken.requestStatus;)await x(100),i=await Q(e.appConfig);const n=i.authToken;return 0===n.requestStatus?Y(e,t):n}(e,t),n;{if(!navigator.onLine)throw g.create("app-offline");const t=function(e){const t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},e),{authToken:t})}(n);return i=async function(e,t){try{const i=await H(e,t),n=Object.assign(Object.assign({},t),{authToken:i});return await z(e.appConfig,n),i}catch(i){if(!m(i)||401!==i.customData.serverCode&&404!==i.customData.serverCode){const i=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});await z(e.appConfig,i)}else await L(e.appConfig);throw i}}(e,t),t}}));return i?await i:n.authToken}function Q(e){return P(e,(e=>{if(!q(e))throw g.create("not-registered");return 1===(t=e.authToken).requestStatus&&t.requestTime+d<Date.now()?Object.assign(Object.assign({},e),{authToken:{requestStatus:0}}):e;var t}))}function q(e){return void 0!==e&&2===e.registrationStatus}function G(e){return g.create("missing-app-config-values",{valueName:e})}const X="installations";(0,n.Xd)(new s.wA(X,(e=>{const t=e.getProvider("app").getImmediate(),i=function(e){if(!e||!e.options)throw G("App Configuration");if(!e.name)throw G("App Name");const t=["projectId","apiKey","appId"];for(const i of t)if(!e.options[i])throw G(i);return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}(t);return{app:t,appConfig:i,heartbeatServiceProvider:(0,n.qX)(t,"heartbeat"),_delete:()=>Promise.resolve()}}),"PUBLIC")),(0,n.Xd)(new s.wA("installations-internal",(e=>{const t=e.getProvider("app").getImmediate(),i=(0,n.qX)(t,X).getImmediate();return{getId:()=>async function(e){const t=e,{installationEntry:i,registrationPromise:n}=await R(t);return n?n.catch(console.error):Y(t).catch(console.error),i.fid}(i),getToken:e=>async function(e,t=!1){const i=e;return await async function(e){const{registrationPromise:t}=await R(e);t&&await t}(i),(await Y(i,t)).token}(i,e)}}),"PRIVATE")),(0,n.KN)(l,c),(0,n.KN)(l,c,"esm2017");const W="@firebase/remote-config",V="0.4.1";class K{constructor(){this.listeners=[]}addEventListener(e){this.listeners.push(e)}abort(){this.listeners.forEach((e=>e()))}}const Z="remote-config",J=new r.LL("remoteconfig","Remote Config",{"registration-window":"Undefined window object. This SDK only supports usage in a browser environment.","registration-project-id":"Undefined project identifier. Check Firebase app initialization.","registration-api-key":"Undefined API key. Check Firebase app initialization.","registration-app-id":"Undefined app identifier. Check Firebase app initialization.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","storage-delete":"Error thrown when deleting from storage. Original error: {$originalErrorMessage}.","fetch-client-network":"Fetch client failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-timeout":'The config fetch request timed out.  Configure timeout using "fetchTimeoutMillis" SDK setting.',"fetch-throttle":'The config fetch request timed out while in an exponential backoff state. Configure timeout using "fetchTimeoutMillis" SDK setting. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.',"fetch-client-parse":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","indexed-db-unavailable":"Indexed DB is not supported by current browser"}),ee=["1","true","t","yes","y","on"];class te{constructor(e,t=""){this._source=e,this._value=t}asString(){return this._value}asBoolean(){return"static"!==this._source&&ee.indexOf(this._value.toLowerCase())>=0}asNumber(){if("static"===this._source)return 0;let e=Number(this._value);return isNaN(e)&&(e=0),e}getSource(){return this._source}}function ie(e=(0,n.Mq)()){return e=(0,r.m9)(e),(0,n.qX)(e,Z).getImmediate()}async function ne(e){const t=(0,r.m9)(e),[i,n]=await Promise.all([t._storage.getLastSuccessfulFetchResponse(),t._storage.getActiveConfigEtag()]);return!!(i&&i.config&&i.eTag&&i.eTag!==n)&&(await Promise.all([t._storageCache.setActiveConfig(i.config),t._storage.setActiveConfigEtag(i.eTag)]),!0)}function re(e){const t=(0,r.m9)(e);return t._initializePromise||(t._initializePromise=t._storageCache.loadFromStorage().then((()=>{t._isInitializationComplete=!0}))),t._initializePromise}async function se(e){const t=(0,r.m9)(e),i=new K;setTimeout((async()=>{i.abort()}),t.settings.fetchTimeoutMillis);try{await t._client.fetch({cacheMaxAgeMillis:t.settings.minimumFetchIntervalMillis,signal:i}),await t._storageCache.setLastFetchStatus("success")}catch(e){const i=function(e,t){return e instanceof r.ZR&&-1!==e.code.indexOf("fetch-throttle")}(e)?"throttle":"failure";throw await t._storageCache.setLastFetchStatus(i),e}}function ae(e){const t=(0,r.m9)(e);return function(e={},t={}){return Object.keys(Object.assign(Object.assign({},e),t))}(t._storageCache.getActiveConfig(),t.defaultConfig).reduce(((t,i)=>(t[i]=de(e,i),t)),{})}function oe(e,t){return de((0,r.m9)(e),t).asBoolean()}function le(e,t){return de((0,r.m9)(e),t).asNumber()}function ce(e,t){return de((0,r.m9)(e),t).asString()}function de(e,t){const i=(0,r.m9)(e);i._isInitializationComplete||i._logger.debug(`A value was requested for key "${t}" before SDK initialization completed. Await on ensureInitialized if the intent was to get a previously activated value.`);const n=i._storageCache.getActiveConfig();return n&&void 0!==n[t]?new te("remote",n[t]):i.defaultConfig&&void 0!==i.defaultConfig[t]?new te("default",String(i.defaultConfig[t])):(i._logger.debug(`Returning static value for key "${t}". Define a default or remote value if this is unintentional.`),new te("static"))}function ue(e,t){const i=(0,r.m9)(e);switch(t){case"debug":i._logger.logLevel=a.in.DEBUG;break;case"silent":i._logger.logLevel=a.in.SILENT;break;default:i._logger.logLevel=a.in.ERROR}}class pe{constructor(e,t,i,n){this.client=e,this.storage=t,this.storageCache=i,this.logger=n}
2439isCachedDataFresh(e,t){if(!t)return this.logger.debug("Config fetch cache check. Cache unpopulated."),!1;const i=Date.now()-t,n=i<=e;return this.logger.debug(`Config fetch cache check. Cache age millis: ${i}. Cache max age millis (minimumFetchIntervalMillis setting): ${e}. Is cache hit: ${n}.`),n}async fetch(e){const[t,i]=await Promise.all([this.storage.getLastSuccessfulFetchTimestampMillis(),this.storage.getLastSuccessfulFetchResponse()]);if(i&&this.isCachedDataFresh(e.cacheMaxAgeMillis,t))return i;e.eTag=i&&i.eTag;const n=await this.client.fetch(e),r=[this.storageCache.setLastSuccessfulFetchTimestampMillis(Date.now())];return 200===n.status&&r.push(this.storage.setLastSuccessfulFetchResponse(n)),await Promise.all(r),n}}function he(e=navigator){return e.languages&&e.languages[0]||e.language}class fe{constructor(e,t,i,n,r,s){this.firebaseInstallations=e,this.sdkVersion=t,this.namespace=i,this.projectId=n,this.apiKey=r,this.appId=s}async fetch(e){const[t,i]=await Promise.all([this.firebaseInstallations.getId(),this.firebaseInstallations.getToken()]),n=`${window.FIREBASE_REMOTE_CONFIG_URL_BASE||"https://firebaseremoteconfig.googleapis.com"}/v1/projects/${this.projectId}/namespaces/${this.namespace}:fetch?key=${this.apiKey}`,r={"Content-Type":"application/json","Content-Encoding":"gzip","If-None-Match":e.eTag||"*"},s={sdk_version:this.sdkVersion,app_instance_id:t,app_instance_id_token:i,app_id:this.appId,language_code:he()},a={method:"POST",headers:r,body:JSON.stringify(s)},o=fetch(n,a),l=new Promise(((t,i)=>{e.signal.addEventListener((()=>{const e=new Error("The operation was aborted.");e.name="AbortError",i(e)}))}));let c;try{await Promise.race([o,l]),c=await o}catch(e){let t="fetch-client-network";throw"AbortError"===(null==e?void 0:e.name)&&(t="fetch-timeout"),J.create(t,{originalErrorMessage:null==e?void 0:e.message})}let d=c.status;const u=c.headers.get("ETag")||void 0;let p,h;if(200===c.status){let e;try{e=await c.json()}catch(e){throw J.create("fetch-client-parse",{originalErrorMessage:null==e?void 0:e.message})}p=e.entries,h=e.state}if("INSTANCE_STATE_UNSPECIFIED"===h?d=500:"NO_CHANGE"===h?d=304:"NO_TEMPLATE"!==h&&"EMPTY_CONFIG"!==h||(p={}),304!==d&&200!==d)throw J.create("fetch-status",{httpStatus:d});return{status:d,eTag:u,config:p}}}class ge{constructor(e,t){this.client=e,this.storage=t}async fetch(e){const t=await this.storage.getThrottleMetadata()||{backoffCount:0,throttleEndTimeMillis:Date.now()};return this.attemptFetch(e,t)}async attemptFetch(e,{throttleEndTimeMillis:t,backoffCount:i}){await function(e,t){return new Promise(((i,n)=>{const r=Math.max(t-Date.now(),0),s=setTimeout(i,r);e.addEventListener((()=>{clearTimeout(s),n(J.create("fetch-throttle",{throttleEndTimeMillis:t}))}))}))}(e.signal,t);try{const t=await this.client.fetch(e);return await this.storage.deleteThrottleMetadata(),t}catch(t){if(!function(e){if(!(e instanceof r.ZR&&e.customData))return!1;const t=Number(e.customData.httpStatus);return 429===t||500===t||503===t||504===t}(t))throw t;const n={throttleEndTimeMillis:Date.now()+(0,r.$s)(i),backoffCount:i+1};return await this.storage.setThrottleMetadata(n),this.attemptFetch(e,n)}}}class me{constructor(e,t,i,n,r){this.app=e,this._client=t,this._storageCache=i,this._storage=n,this._logger=r,this._isInitializationComplete=!1,this.settings={fetchTimeoutMillis:6e4,minimumFetchIntervalMillis:432e5},this.defaultConfig={}}get fetchTimeMillis(){return this._storageCache.getLastSuccessfulFetchTimestampMillis()||-1}get lastFetchStatus(){return this._storageCache.getLastFetchStatus()||"no-fetch-yet"}}function ve(e,t){const i=e.target.error||void 0;return J.create(t,{originalErrorMessage:i&&(null==i?void 0:i.message)})}const ye="app_namespace_store";class be{constructor(e,t,i,n=function(){return new Promise(((e,t)=>{try{const i=indexedDB.open("firebase_remote_config",1);i.onerror=e=>{t(ve(e,"storage-open"))},i.onsuccess=t=>{e(t.target.result)},i.onupgradeneeded=e=>{const t=e.target.result;0===e.oldVersion&&t.createObjectStore(ye,{keyPath:"compositeKey"})}}catch(e){t(J.create("storage-open",{originalErrorMessage:null==e?void 0:e.message}))}}))}()){this.appId=e,this.appName=t,this.namespace=i,this.openDbPromise=n}getLastFetchStatus(){return this.get("last_fetch_status")}setLastFetchStatus(e){return this.set("last_fetch_status",e)}getLastSuccessfulFetchTimestampMillis(){return this.get("last_successful_fetch_timestamp_millis")}setLastSuccessfulFetchTimestampMillis(e){return this.set("last_successful_fetch_timestamp_millis",e)}getLastSuccessfulFetchResponse(){return this.get("last_successful_fetch_response")}setLastSuccessfulFetchResponse(e){return this.set("last_successful_fetch_response",e)}getActiveConfig(){return this.get("active_config")}setActiveConfig(e){return this.set("active_config",e)}getActiveConfigEtag(){return this.get("active_config_etag")}setActiveConfigEtag(e){return this.set("active_config_etag",e)}getThrottleMetadata(){return this.get("throttle_metadata")}setThrottleMetadata(e){return this.set("throttle_metadata",e)}deleteThrottleMetadata(){return this.delete("throttle_metadata")}async get(e){const t=await this.openDbPromise;return new Promise(((i,n)=>{const r=t.transaction([ye],"readonly").objectStore(ye),s=this.createCompositeKey(e);try{const e=r.get(s);e.onerror=e=>{n(ve(e,"storage-get"))},e.onsuccess=e=>{const t=e.target.result;i(t?t.value:void 0)}}catch(e){n(J.create("storage-get",{originalErrorMessage:null==e?void 0:e.message}))}}))}async set(e,t){const i=await this.openDbPromise;return new Promise(((n,r)=>{const s=i.transaction([ye],"readwrite").objectStore(ye),a=this.createCompositeKey(e);try{const e=s.put({compositeKey:a,value:t});e.onerror=e=>{r(ve(e,"storage-set"))},e.onsuccess=()=>{n()}}catch(e){r(J.create("storage-set",{originalErrorMessage:null==e?void 0:e.message}))}}))}async delete(e){const t=await this.openDbPromise;return new Promise(((i,n)=>{const r=t.transaction([ye],"readwrite").objectStore(ye),s=this.createCompositeKey(e);try{const e=r.delete(s);e.onerror=e=>{n(ve(e,"storage-delete"))},e.onsuccess=()=>{i()}}catch(e){n(J.create("storage-delete",{originalErrorMessage:null==e?void 0:e.message}))}}))}createCompositeKey(e){return[this.appId,this.appName,this.namespace,e].join()}}class we{constructor(e){this.storage=e}getLastFetchStatus(){return this.lastFetchStatus}getLastSuccessfulFetchTimestampMillis(){return this.lastSuccessfulFetchTimestampMillis}getActiveConfig(){return this.activeConfig}async loadFromStorage(){const e=this.storage.getLastFetchStatus(),t=this.storage.getLastSuccessfulFetchTimestampMillis(),i=this.storage.getActiveConfig(),n=await e;n&&(this.lastFetchStatus=n);const r=await t;r&&(this.lastSuccessfulFetchTimestampMillis=r);const s=await i;s&&(this.activeConfig=s)}setLastFetchStatus(e){return this.lastFetchStatus=e,this.storage.setLastFetchStatus(e)}setLastSuccessfulFetchTimestampMillis(e){return this.lastSuccessfulFetchTimestampMillis=e,this.storage.setLastSuccessfulFetchTimestampMillis(e)}setActiveConfig(e){return this.activeConfig=e,this.storage.setActiveConfig(e)}}async function Me(e){return e=(0,r.m9)(e),await se(e),ne(e)}async function xe(){if(!(0,r.hl)())return!1;try{return await(0,r.eu)()}catch(e){return!1}}(0,n.Xd)(new s.wA(Z,(function(e,{instanceIdentifier:t}){const i=e.getProvider("app").getImmediate(),s=e.getProvider("installations-internal").getImmediate();if("undefined"==typeof window)throw J.create("registration-window");if(!(0,r.hl)())throw J.create("indexed-db-unavailable");const{projectId:o,apiKey:l,appId:c}=i.options;if(!o)throw J.create("registration-project-id");if(!l)throw J.create("registration-api-key");if(!c)throw J.create("registration-app-id");t=t||"firebase";const d=new be(c,i.name,t),u=new we(d),p=new a.Yd(W);p.logLevel=a.in.ERROR;const h=new fe(s,n.Jn,t,o,l,c),f=new ge(h,d),g=new pe(f,d,u,p),m=new me(i,g,u,d,p);return re(m),m}),"PUBLIC").setMultipleInstances(!0)),(0,n.KN)(W,V),(0,n.KN)(W,V,"esm2017")},4424:(e,t,i)=>{"use strict";i.d(t,{X3:()=>g});const n=(e,t)=>t.some((t=>e instanceof t));let r,s;const a=new WeakMap,o=new WeakMap,l=new WeakMap,c=new WeakMap,d=new WeakMap;let u={get(e,t,i){if(e instanceof IDBTransaction){if("done"===t)return o.get(e);if("objectStoreNames"===t)return e.objectStoreNames||l.get(e);if("store"===t)return i.objectStoreNames[1]?void 0:i.objectStore(i.objectStoreNames[0])}return h(e[t])},set:(e,t,i)=>(e[t]=i,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};
vendor: 3,305 bytes, line 2439
2439function p(e){return"function"==typeof e?(t=e)!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(s||(s=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(f(this),e),h(a.get(this))}:function(...e){return h(t.apply(f(this),e))}:function(e,...i){const n=t.call(f(this),e,...i);return l.set(n,e.sort?e.sort():[e]),h(n)}:(e instanceof IDBTransaction&&function(e){if(o.has(e))return;const t=new Promise(((t,i)=>{const n=()=>{e.removeEventListener("complete",r),e.removeEventListener("error",s),e.removeEventListener("abort",s)},r=()=>{t(),n()},s=()=>{i(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",r),e.addEventListener("error",s),e.addEventListener("abort",s)}));o.set(e,t)}(e),n(e,r||(r=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,u):e);var t}function h(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,i)=>{const n=()=>{e.removeEventListener("success",r),e.removeEventListener("error",s)},r=()=>{t(h(e.result)),n()},s=()=>{i(e.error),n()};e.addEventListener("success",r),e.addEventListener("error",s)}));return t.then((t=>{t instanceof IDBCursor&&a.set(t,e)})).catch((()=>{})),d.set(t,e),t}(e);if(c.has(e))return c.get(e);const t=p(e);return t!==e&&(c.set(e,t),d.set(t,e)),t}const f=e=>d.get(e);function g(e,t,{blocked:i,upgrade:n,blocking:r,terminated:s}={}){const a=indexedDB.open(e,t),o=h(a);return n&&a.addEventListener("upgradeneeded",(e=>{n(h(a.result),e.oldVersion,e.newVersion,h(a.transaction))})),i&&a.addEventListener("blocked",(()=>i())),o.then((e=>{s&&e.addEventListener("close",(()=>s())),r&&e.addEventListener("versionchange",(()=>r()))})).catch((()=>{})),o}const m=["get","getKey","getAll","getAllKeys","count"],v=["put","add","delete","clear"],y=new Map;function b(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(y.get(t))return y.get(t);const i=t.replace(/FromIndex$/,""),n=t!==i,r=v.includes(i);if(!(i in(n?IDBIndex:IDBObjectStore).prototype)||!r&&!m.includes(i))return;const s=async function(e,...t){const s=this.transaction(e,r?"readwrite":"readonly");let a=s.store;return n&&(a=a.index(t.shift())),(await Promise.all([a[i](...t),r&&s.done]))[0]};return y.set(t,s),s}var w;w=u,u={...w,get:(e,t,i)=>b(e,t)||w.get(e,t,i),has:(e,t)=>!!b(e,t)||w.has(e,t)}},875:(e,t,i)=>{"use strict";i.d(t,{XM:()=>r,Xe:()=>s,pX:()=>n});const n={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},r=e=>(...t)=>({_$litDirective$:e,values:t});class s{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}},7499:(e,t,i)=>{"use strict";i.r(t),i.d(t,{classMap:()=>s});var n=i(3692),r=i(875);const s=(0,r.XM)(class extends r.Xe{constructor(e){var t;if(super(e),e.type!==r.pX.ATTRIBUTE||"class"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter((t=>e[t])).join(" ")+" "}update(e,[t]){var i,r;if(void 0===this.nt){this.nt=new Set,void 0!==e.strings&&(this.st=ne
vendor: 5,943 bytes, line 2439
2439w Set(e.strings.join(" ").split(/\s/).filter((e=>""!==e))));for(const e in t)t[e]&&!(null===(i=this.st)||void 0===i?void 0:i.has(e))&&this.nt.add(e);return this.render(t)}const s=e.element.classList;this.nt.forEach((e=>{e in t||(s.remove(e),this.nt.delete(e))}));for(const e in t){const i=!!t[e];i===this.nt.has(e)||(null===(r=this.st)||void 0===r?void 0:r.has(e))||(i?(s.add(e),this.nt.add(e)):(s.remove(e),this.nt.delete(e)))}return n.Jb}})},3692:(e,t,i)=>{"use strict";var n;i.d(t,{Al:()=>B,Jb:()=>C,Ld:()=>T,YP:()=>_,dy:()=>E,sY:()=>F});const r=window,s=r.trustedTypes,a=s?s.createPolicy("lit-html",{createHTML:e=>e}):void 0,o=`lit$${(Math.random()+"").slice(9)}$`,l="?"+o,c=`<${l}>`,d=document,u=(e="")=>d.createComment(e),p=e=>null===e||"object"!=typeof e&&"function"!=typeof e,h=Array.isArray,f=e=>h(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator]),g=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,v=/>/g,y=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),b=/'/g,w=/"/g,M=/^(?:script|style|textarea|title)$/i,x=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),E=x(1),_=x(2),C=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),S=new WeakMap,I=d.createTreeWalker(d,129,null,!1),A=(e,t)=>{const i=e.length-1,n=[];let r,s=2===t?"<svg>":"",l=g;for(let t=0;t<i;t++){const i=e[t];let a,d,u=-1,p=0;for(;p<i.length&&(l.lastIndex=p,d=l.exec(i),null!==d);)p=l.lastIndex,l===g?"!--"===d[1]?l=m:void 0!==d[1]?l=v:void 0!==d[2]?(M.test(d[2])&&(r=RegExp("</"+d[2],"g")),l=y):void 0!==d[3]&&(l=y):l===y?">"===d[0]?(l=null!=r?r:g,u=-1):void 0===d[1]?u=-2:(u=l.lastIndex-d[2].length,a=d[1],l=void 0===d[3]?y:'"'===d[3]?w:b):l===w||l===b?l=y:l===m||l===v?l=g:(l=y,r=void 0);const h=l===y&&e[t+1].startsWith("/>")?" ":"";s+=l===g?i+c:u>=0?(n.push(a),i.slice(0,u)+"$lit$"+i.slice(u)+o+h):i+o+(-2===u?(n.push(void 0),t):h)}const d=s+(e[i]||"<?>")+(2===t?"</svg>":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==a?a.createHTML(d):d,n]};class j{constructor({strings:e,_$litType$:t},i){let n;this.parts=[];let r=0,a=0;const c=e.length-1,d=this.parts,[p,h]=A(e,t);if(this.el=j.createElement(p,i),I.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(n=I.nextNode())&&d.length<c;){if(1===n.nodeType){if(n.hasAttributes()){const e=[];for(const t of n.getAttributeNames())if(t.endsWith("$lit$")||t.startsWith(o)){const i=h[a++];if(e.push(t),void 0!==i){const e=n.getAttribute(i.toLowerCase()+"$lit$").split(o),t=/([.?@])?(.*)/.exec(i);d.push({type:1,index:r,name:t[2],strings:e,ctor:"."===t[1]?k:"?"===t[1]?L:"@"===t[1]?P:N})}else d.push({type:6,index:r})}for(const t of e)n.removeAttribute(t)}if(M.test(n.tagName)){const e=n.textContent.split(o),t=e.length-1;if(t>0){n.textContent=s?s.emptyScript:"";for(let i=0;i<t;i++)n.append(e[i],u()),I.nextNode(),d.push({type:2,index:++r});n.append(e[t],u())}}}else if(8===n.nodeType)if(n.data===l)d.push({type:2,index:r});else{let e=-1;for(;-1!==(e=n.data.indexOf(o,e+1));)d.push({type:7,index:r}),e+=o.length-1}r++}}static createElement(e,t){const i=d.createElement("template");return i.innerHTML=e,i}}function $(e,t,i=e,n){var r,s,a,o;if(t===C)return t;let l=void 0!==n?null===(r=i._$Co)||void 0===r?void 0:r[n]:i._$Cl;const c=p(t)?void 0:t._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===c?l=void 0:(l=new c(e),l._$AT(e,i,n)),void 0!==n?(null!==(a=(o=i)._$Co)&&void 0!==a?a:o._$Co=[])[n]=l:i._$Cl=l),void 0!==l&&(t=$(e,l._$AS(e,t.values),l,n)),t}class O{constructor(e,t){this.u=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(e){var t;const{el:{content:i},parts:n}=this._$AD,r=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:d).importNode(i,!0);I.currentNode=r;let s=I.nextNode(),a=0,o=0,l=n[0];for(;void 0!==l;){if(a===l.index){let t;2===l.type?t=new D(s,s.nextSibling,this,e):1===l.type?t=new l.ctor(s,l.name,l.strings,this,e):6===l.type&&(t=new R(s,this,e)),this.u.push(t),l=n[++o]}a!==(null==l?void 0:l.index)&&(s=I.nextNode(),a++)}return r}p(e){let t=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class D{constructor(e,t,i,n){var r;this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=n,this._$Cm=null===(r=null==n?void 0:n.isConnected)||void 0===r||r}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cm}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=$(this,e,t),p(e)?e===T||null==e||""===e?(this._$AH!==T&&this._$AR(),this._$AH=T):e!==this._$AH&&e!==C&&this.g(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):f(e)?this.k(e):this.g(e)}O(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}g(e){this._$AH!==T&&p(this._$AH)?this._$AA.nextSibling.data=e:this.T(d.createTextNode(e)),this._$AH=e}$(e){var t;const{values:i,_$litType$:n}=e,r="number"==typeof n?this._$AC(e):(void 0===n.el&&(n.el=j.createElement(n.h,this.options)),n);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===r)this._$AH.p(i);else{const e=new O(r,this),t=e.v(this.options);e.p(i),this.T(t),this._$AH=e}}_$AC(e){let t=S.get(e.strings);return void 0===t&&S.set(e.strings,t=new j(e)),t}k(e){h(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,n=0;for(const r of e)n===t.length?t.push(i=new D(this.O(u()),this.O(u()),this,this.options)):i=t[n],i._$AI(r),n++;n<t.length&&(this._$AR(i&&i._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){var i;
2439for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cm=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class N{constructor(e,t,i,n,r){this.type=1,this._$AH=T,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=T}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,i,n){const r=this.strings;let s=!1;if(void 0===r)e=$(this,e,t,0),s=!p(e)||e!==this._$AH&&e!==C,s&&(this._$AH=e);else{const n=e;let a,o;for(e=r[0],a=0;a<r.length-1;a++)o=$(this,n[i+a],t,a),o===C&&(o=this._$AH[a]),s||(s=!p(o)||o!==this._$AH[a]),o===T?e=T:e!==T&&(e+=(null!=o?o:"")+r[a+1]),this._$AH[a]=o}s&&!n&&this.j(e)}j(e){e===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class k extends N{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===T?void 0:e}}const z=s?s.emptyScript:"";class L extends N{constructor(){super(...arguments),this.type=4}j(e){e&&e!==T?this.element.setAttribute(this.name,z):this.element.removeAttribute(this.name)}}class P extends N{constructor(e,t,i,n,r){super(e,t,i,n,r),this.type=5}_$AI(e,t=this){var i;if((e=null!==(i=$(this,e,t,0))&&void 0!==i?i:T)===C)return;const n=this._$AH,r=e===T&&n!==T||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==T&&(n===T||r);r&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==i?i:this.element,e):this._$AH.handleEvent(e)}}class R{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){$(this,e)}}const B={P:"$lit$",A:o,M:l,C:1,L:A,R:O,D:f,V:$,I:D,H:N,N:L,U:P,B:k,F:R},U=r.litHtmlPolyfillSupport;null==U||U(j,D),(null!==(n=r.litHtmlVersions)&&void 0!==n?n:r.litHtmlVersions=[]).push("2.6.1");const F=(e,t,i)=>{var n,r;const s=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:t;let a=s._$litPart$;if(void 0===a){const e=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;s._$litPart$=a=new D(t.insertBefore(u(),e),e,void 0,null!=i?i:{})}return a._$AI(e),a}},4846:(e,t,i)=>{"use strict";i.r(t),i.d(t,{customElement:()=>n,eventOptions:()=>l,property:()=>s,query:()=>d.I,queryAll:()=>u,queryAssignedElements:()=>f,queryAssignedNodes:()=>g,queryAsync:()=>p,state:()=>a});const n=e=>t=>"function"==typeof t?((e,t)=>(customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:i,elements:n}=t;return{kind:i,elements:n,finisher(t){customElements.define(e,t)}}})(e,t),r=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(i){i.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(i){i.createProperty(t.key,e)}};function s(e){return(t,i)=>void 0!==i?((e,t,i)=>{t.constructor.createProperty(i,e)})(e,t,i):r(e,t)}function a(e){return s({...e,state:!0})}var o=i(5674);function l(e){return(0,o.eZ)({finisher:(t,i)=>{Object.assign(t.prototype[i],e)}})}var c,d=i(2669);function u(e){return(0,o.eZ)({descriptor:t=>({get(){var t,i;return null!==(i=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelectorAll(e))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}function p(e){return(0,o.eZ)({descriptor:t=>({async get(){var t;return await this.updateComplete,null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e)},enumerable:!0,configurable:!0})})}const h=null!=(null===(c=window.HTMLSlotElement)||void 0===c?void 0:c.prototype.assignedElements)?(e,t)=>e.assignedElements(t):(e,t)=>e.assignedNodes(t).filter((e=>e.nodeType===Node.ELEMENT_NODE));function f(e){const{slot:t,selector:i}=null!=e?e:{};return(0,o.eZ)({descriptor:n=>({get(){var n;const r="slot"+(t?`[name=${t}]`:":not([name])"),s=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(r),a=null!=s?h(s,e):[];return i?a.filter((e=>e.matches(i))):a},enumerable:!0,configurable:!0})})}function g(e,t,i){let n,r=e;return"object"==typeof e?(r=e.slot,n=e):n={flatten:t},i?f({slot:r,flatten:t,selector:i}):(0,o.eZ)({descriptor:e=>({get(){var e,t;const i="slot"+(r?`[name=${r}]`:":not([name])"),s=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(i);return null!==(t=null==s?void 0:s.assignedNodes(n))&&void 0!==t?t:[]},enumerable:!0,configurable:!0})})}},5186:(e,t,i)=>{"use strict";i.r(t),i.d(t,{query:()=>n.I});var n=i(2669)},8810:(e,t,i)=>{"use strict";i.r(t),i.d(t,{classMap:()=>n.classMap});var n=i(7499)},3959:(e,t,i)=>{"use strict";i.r(t),i.d(t,{styleMap:()=>s});var n=i(3692),r=i(875);const s=(0,r.XM)(class extends r.Xe{constructor(e){var t;if(super(e),e.type!==r.pX.ATTRIBUTE||"style"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce(((t,i)=>{const n=e[i];return null==n?t:t+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`}),"")}update(e,[t]){const{style:i}=e.element;if(void 0===this.vt){this.vt=new Set;for(const e in t)this.vt.add(e);return this.render(t)}this.vt.forEach((e=>{null==t[e]&&(this.vt.delete(e),e.includes("-")?i.removeProperty(e):i[e]="")}));for(const e in t){const n=t[e];null!=n&&(this.vt.add(e),e.includes("-")?i.setProperty(e,n):i[e]=n)}return n.Jb}})},3011:(e,t,i)=>{"use strict";i.r(t),i.d(t,{UnsafeHTMLDirective:()=>s,unsafeHTML:()=>a});var n=i(3692),r=i(875);class s extends r.Xe{constructor(e){if(super(e),this.it=n.Ld,e.type!==r.pX.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===n.Ld||null==e)return this._t=void 0,this.it=e;if(e===n.Jb)return e;if("string"!=typeof e)throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;const t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}}s.directiveName="unsafeHTML",s.resultType=1;const a=(0,r.XM)(s)},7677:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CSSResult:()=>o,LitElement:()=>C,ReactiveElement:()=>w,UpdatingElement:()=>_,_$LE:()=>S,_$LH:()=>E.Al,adoptStyles:()=>d,css:()=>c,defaultConverter:()=>v,getCompatibleStyle:()=>u,html:()=>E.dy,isServer:()=>I,noChange:()=>E.Jb,notEqual:()=>y,nothing:()=>E.Ld,render:()=>E.sY,supportsAdoptingStyleSheets:()=>r,svg:()=>E.YP,unsafeCSS:()=>l});const n=window,r=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),a=new WeakMap;class o{constructor(e,t,i){if(this._$cssResult$=!0,i!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(r&&void 0===e){const i=void 0!==t&&1===t.length;i&&(e=a.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&a.set(t,e))}return e}toString(){return this.cssText}}const l=e=>new o("string"==typeof e?e:e+"",void 0,s),c=(e,...t)=>{const i=1===e.length?e[0]:t.reduce(((t,i,n)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[n+1]),e[0]);return new o(i,e,s)},d=(e,t)=>{r?e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):t.forEach((t=>{const i=document.createElement("style"),r=n.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=t.cssText,e.appendChild(i)}))},u=r?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const i of e.cssRules)t+=i.cssText;return l(t)})(e):e;var p;const h=window,f=h.trustedTypes,g=f?f.emptyScript:"",m=h.reactiveElementPolyfillSupport,v={toAttribute(e,t){switch(t){case Boolean:e=e?g:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},y=(e,t)=>t!==e&&(t==t||e==e),b={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:y};class w extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(e){var t;this.finalize(),(null!==(t=this.h)&&void 0!==t?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];
vendor: 1,751 bytes, line 2439
2439return this.elementProperties.forEach(((t,i)=>{const n=this._$Ep(i,t);void 0!==n&&(this._$Ev.set(n,i),e.push(n))})),e}static createProperty(e,t=b){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const i="symbol"==typeof e?Symbol():"__"+e,n=this.getPropertyDescriptor(e,i,t);void 0!==n&&Object.defineProperty(this.prototype,e,n)}}static getPropertyDescriptor(e,t,i){return{get(){return this[t]},set(n){const r=this[e];this[t]=n,this.requestUpdate(e,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||b}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const i of t)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const e of i)t.unshift(u(e))}else void 0!==e&&t.push(u(e));return t}static _$Ep(e,t){const i=t.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof e?e.toLowerCase():void 0}u(){var e;this._$E_=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(e=this.constructor.h)||void 0===e||e.forEach((e=>e(this)))}addController(e){var t,i;(null!==(t=this._$ES)&&void 0!==t?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(i=e.hostConnected)||void 0===i||i.call(e))}
2439removeController(e){var t;null===(t=this._$ES)||void 0===t||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])}))}createRenderRoot(){var e;const t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return d(t,this.constructor.elementStyles),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EO(e,t,i=b){var n;const r=this.constructor._$Ep(e,i);if(void 0!==r&&!0===i.reflect){const s=(void 0!==(null===(n=i.converter)||void 0===n?void 0:n.toAttribute)?i.converter:v).toAttribute(t,i.type);this._$El=e,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$El=null}}_$AK(e,t){var i;const n=this.constructor,r=n._$Ev.get(e);if(void 0!==r&&this._$El!==r){const e=n.getPropertyOptions(r),s="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null===(i=e.converter)||void 0===i?void 0:i.fromAttribute)?e.converter:v;this._$El=r,this[r]=s.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,i){let n=!0;void 0!==e&&(((i=i||this.constructor.getPropertyOptions(e)).hasChanged||y)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===i.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,i))):n=!1),!this.isUpdatePending&&n&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((e,t)=>this[t]=e)),this._$Ei=void 0);let t=!1;const i=this._$AL;try{t=this.shouldUpdate(i),t?(this.willUpdate(i),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(i)):this._$Ek()}catch(e){throw t=!1,this._$Ek(),e}t&&this._$AE(i)}willUpdate(e){}_$AE(e){var t;null===(t=this._$ES)||void 0===t||t.forEach((e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach(((e,t)=>this._$EO(t,this[t],e))),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}}w.finalized=!0,w.elementProperties=new Map,w.elementStyles=[],w.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:w}),(null!==(p=h.reactiveElementVersions)&&void 0!==p?p:h.reactiveElementVersions=[]).push("1.6.1");var M,x,E=i(3692);const _=w;class C extends w{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t;const i=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=i.firstChild),i}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=(0,E.sY)(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!1)}render(){return E.Jb}}C.finalized=!0,C._$litElement$=!0,null===(M=globalThis.litElementHydrateSupport)||void 0===M||M.call(globalThis,{LitElement:C});const T=globalThis.litElementPolyfillSupport;null==T||T({LitElement:C});const S={_$AK:(e,t,i)=>{e._$AK(t,i)},_$AL:e=>e._$AL};(null!==(x=globalThis.litElementVersions)&&void 0!==x?x:globalThis.litElementVersions=[]).push("3.2.2");const I=!1},1020:(e,t,i)=>{"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function r(e={},t={}){Object.keys(t).forEach((i=>{void 0===e[i]?e[i]=t[i]:n(t[i])&&n(e[i])&&Object.keys(t[i]).length>0&&r(e[i],t[i])}))}i.r(t),i.d(t,{A11y:()=>le,Autoplay:()=>ue,Controller:()=>oe,EffectCards:()=>je,EffectCoverflow:()=>Ie,EffectCreative:()=>Ae,EffectCube:()=>Ce,EffectFade:()=>_e,EffectFlip:()=>Se,FreeMode:()=>he,Grid:()=>fe,HashNavigation:()=>de,History:()=>ce,Keyboard:()=>K,Lazy:()=>ae,Manipulation:()=>we,Mousewheel:()=>Z,Navigation:()=>ee,Pagination:()=>ie,Parallax:()=>re,Scrollbar:()=>ne,Swiper:()=>W,Thumbs:()=>pe,Virtual:()=>V,Zoom:()=>se,default:()=>W});const s={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 a(){const e="undefined"!=typeof document?document:{};return r(e,s),e}const o={document:s,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(){}
2439,clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return r(e,o),e}class c extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function d(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...d(e)):t.push(e)})),t}function u(e,t){return Array.prototype.filter.call(e,t)}function p(e,t){const i=l(),n=a();let r=[];if(!t&&e instanceof c)return e;if(!e)return new c(r);if("string"==typeof e){const i=e.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){let e="div";0===i.indexOf("<li")&&(e="ul"),0===i.indexOf("<tr")&&(e="tbody"),0!==i.indexOf("<td")&&0!==i.indexOf("<th")||(e="tr"),0===i.indexOf("<tbody")&&(e="table"),0===i.indexOf("<option")&&(e="select");const t=n.createElement(e);t.innerHTML=i;for(let e=0;e<t.childNodes.length;e+=1)r.push(t.childNodes[e])}else r=function(e,t){if("string"!=typeof e)return[e];const i=[],n=t.querySelectorAll(e);for(let e=0;e<n.length;e+=1)i.push(n[e]);return i}(e.trim(),t||n)}else if(e.nodeType||e===i||e===n)r.push(e);else if(Array.isArray(e)){if(e instanceof c)return e;r=e}return new c(function(e){const t=[];for(let i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}(r))}p.fn=c.prototype;const h="resize scroll".split(" ");function f(e){return function(...t){if(void 0===t[0]){for(let t=0;t<this.length;t+=1)h.indexOf(e)<0&&(e in this[t]?this[t][e]():p(this[t]).trigger(e));return this}return this.on(e,...t)}}f("click"),f("blur"),f("focus"),f("focusin"),f("focusout"),f("keyup"),f("keydown"),f("keypress"),f("submit"),f("change"),f("mousedown"),f("mousemove"),f("mouseup"),f("mouseenter"),f("mouseleave"),f("mouseout"),f("mouseover"),f("touchstart"),f("touchend"),f("touchmove"),f("resize"),f("scroll");const g={addClass:function(...e){const t=d(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=d(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=d(e.map((e=>e.split(" "))));return u(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=d(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(const t in e)this[i][t]=e[t],this[i].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let[t,i,n,r]=e;function s(e){const t=e.target;if(!t)return;const r=e.target.dom7EventData||[];if(r.indexOf(e)<0&&r.unshift(e),p(t).is(i))n.apply(t,r);else{const e=p(t).parents();for(let t=0;t<e.length;t+=1)p(e[t]).is(i)&&n.apply(e[t],r)}}function a(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof e[1]&&([t,n,r]=e,i=void 0),r||(r=!1);const o=t.split(" ");let l;for(let e=0;e<this.length;e+=1){const t=this[e];if(i)for(l=0;l<o.length;l+=1){const e=o[l];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:n,proxyListener:s}),t.addEventListener(e,s,r)}else for(l=0;l<o.length;l+=1){const e=o[l];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:n,proxyListener:a}),t.addEventListener(e,a,r)}}return this},off:function(...e){let[t,i,n,r]=e;"function"==typeof e[1]&&([t,n,r]=e,i=void 0),r||(r=!1);const s=t.split(" ");for(let e=0;e<s.length;e+=1){const t=s[e];for(let e=0;e<this.length;e+=1){const s=this[e];let a;if(!i&&s.dom7Listeners?a=s.dom7Listeners[t]:i&&s.dom7LiveListeners&&(a=s.dom7LiveListeners[t]),a&&a.length)for(let e=a.length-1;e>=0;e-=1){const i=a[e];n&&i.listener===n||n&&i.listener&&i.listener.dom7proxy&&i.listener.dom7proxy===n?(s.removeEventListener(t,i.proxyListener,r),a.splice(e,1)):n||(s.removeEventListener(t,i.proxyListener,r),a.splice(e,1))}}}return this},trigger:function(...e){const t=l(),i=e[0].split(" "),n=e[1];for(let r=0;r<i.length;r+=1){const s=i[r];for(let i=0;i<this.length;i+=1){const r=this[i];if(t.CustomEvent){const i=new t.CustomEvent(s,{detail:n,bubbles:!0,cancelable:!0});r.dom7EventData=e.filter(((e,t)=>t>0)),r.dispatchEvent(i),r.dom7EventData=[],delete r.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function i(n){n.target===this&&(e.call(this,n),t.off("transitionend",i))}
2439)),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=l();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=l(),t=a(),i=this[0],n=i.getBoundingClientRect(),r=t.body,s=i.clientTop||r.clientTop||0,o=i.clientLeft||r.clientLeft||0,c=i===e?e.scrollY:i.scrollTop,d=i===e?e.scrollX:i.scrollLeft;return{top:n.top+c-s,left:n.left+d-o}}return null},css:function(e,t){const i=l();let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(const t in e)this[n].style[t]=e[t];return this}if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,i)=>{e.apply(t,[t,i])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=l(),i=a(),n=this[0];let r,s;if(!n||void 0===e)return!1;if("string"==typeof e){if(n.matches)return n.matches(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);for(r=p(e),s=0;s<r.length;s+=1)if(r[s]===n)return!0;return!1}if(e===i)return n===i;if(e===t)return n===t;if(e.nodeType||e instanceof c){for(r=e.nodeType?[e]:e,s=0;s<r.length;s+=1)if(r[s]===n)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return p([]);if(e<0){const i=t+e;return p(i<0?[]:[this[i]])}return p([this[e]])},append:function(...e){let t;const i=a();for(let n=0;n<e.length;n+=1){t=e[n];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const n=i.createElement("div");for(n.innerHTML=t;n.firstChild;)this[e].appendChild(n.firstChild)}else if(t instanceof c)for(let i=0;i<t.length;i+=1)this[e].appendChild(t[i]);else this[e].appendChild(t)}return this},prepend:function(e){const t=a();let i,n;for(i=0;i<this.length;i+=1)if("string"==typeof e){const r=t.createElement("div");for(r.innerHTML=e,n=r.childNodes.length-1;n>=0;n-=1)this[i].insertBefore(r.childNodes[n],this[i].childNodes[0])}else if(e instanceof c)for(n=0;n<e.length;n+=1)this[i].insertBefore(e[n],this[i].childNodes[0]);else this[i].insertBefore(e,this[i].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&p(this[0].nextElementSibling).is(e)?p([this[0].nextElementSibling]):p([]):this[0].nextElementSibling?p([this[0].nextElementSibling]):p([]):p([])},nextAll:function(e){const t=[];let i=this[0];if(!i)return p([]);for(;i.nextElementSibling;){const n=i.nextElementSibling;e?p(n).is(e)&&t.push(n):t.push(n),i=n}return p(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&p(t.previousElementSibling).is(e)?p([t.previousElementSibling]):p([]):t.previousElementSibling?p([t.previousElementSibling]):p([])}return p([])},prevAll:function(e){const t=[];let i=this[0];if(!i)return p([]);for(;i.previousElementSibling;){const n=i.previousElementSibling;e?p(n).is(e)&&t.push(n):t.push(n),i=n}return p(t)},parent:function(e){const t=[];for(let i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?p(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return p(t)},parents:function(e){const t=[];for(let i=0;i<this.length;i+=1){let n=this[i].parentNode;for(;n;)e?p(n).is(e)&&t.push(n):t.push(n),n=n.parentNode}return p(t)},closest:function(e){let t=this;return void 0===e?p([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].querySelectorAll(e);for(let e=0;e<n.length;e+=1)t.push(n[e])}return p(t)},children:function(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].children;for(let i=0;i<n.length;i+=1)e&&!p(n[i]).is(e)||t.push(n[i])}return p(t)},filter:function(e){return p(u(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(g).forEach((e=>{Object.defineProperty(p.fn,e,{value:g[e],writable:!0})}
vendor: 4,148 bytes, line 2439
2439));const m=p;function v(e,t=0){return setTimeout(e,t)}function y(){return Date.now()}function b(e,t="x"){const i=l();let n,r,s;const a=function(e){const t=l();let i;return t.getComputedStyle&&(i=t.getComputedStyle(e,null)),!i&&e.currentStyle&&(i=e.currentStyle),i||(i=e.style),i}(e);return i.WebKitCSSMatrix?(r=a.transform||a.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map((e=>e.replace(",","."))).join(", ")),s=new i.WebKitCSSMatrix("none"===r?"":r)):(s=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=s.toString().split(",")),"x"===t&&(r=i.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=i.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}function w(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function M(...e){const t=Object(e[0]),i=["__proto__","constructor","prototype"];for(let r=1;r<e.length;r+=1){const s=e[r];if(null!=s&&(n=s,!("undefined"!=typeof window&&void 0!==window.HTMLElement?n instanceof HTMLElement:n&&(1===n.nodeType||11===n.nodeType)))){const e=Object.keys(Object(s)).filter((e=>i.indexOf(e)<0));for(let i=0,n=e.length;i<n;i+=1){const n=e[i],r=Object.getOwnPropertyDescriptor(s,n);void 0!==r&&r.enumerable&&(w(t[n])&&w(s[n])?s[n].__swiper__?t[n]=s[n]:M(t[n],s[n]):!w(t[n])&&w(s[n])?(t[n]={},s[n].__swiper__?t[n]=s[n]:M(t[n],s[n])):t[n]=s[n])}}}var n;return t}function x(e,t,i){e.style.setProperty(t,i)}function E({swiper:e,targetPosition:t,side:i}){const n=l(),r=-e.translate;let s,a=null;const o=e.params.speed;e.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(e.cssModeFrameID);const c=t>r?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{s=(new Date).getTime(),null===a&&(a=s);const l=Math.max(Math.min((s-a)/o,1),0),c=.5-Math.cos(l*Math.PI)/2;let p=r+c*(t-r);if(d(p,t)&&(p=t),e.wrapperEl.scrollTo({[i]:p}),d(p,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:p})})),void n.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=n.requestAnimationFrame(u)};u()}let _,C,T;function S(){return _||(_=function(){const e=l(),t=a();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const i=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),_}const I={on(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const r=i?"unshift":"push";return e.split(" ").forEach((e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][r](t)})),n},once(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function r(...i){n.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,t.apply(n,i)}return r.__emitterProxy=t,n.on(e,r,i)},onAny(e,t){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof e)return i;const n=t?"unshift":"push";return i.eventsAnyListeners.indexOf(e)<0&&i.eventsAnyListeners[n](e),i},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const i=t.eventsAnyListeners.indexOf(e);return i>=0&&t.eventsAnyListeners.splice(i,1),t},off(e,t){const i=this;return!i.eventsListeners||i.destroyed?i:i.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(((n,r)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(r,1)}))})),i):i},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let i,n,r;return"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],n=e.slice(1,e.length),r=t):(i=e[0].events,n=e[0].data,r=e[0].context||t),n.unshift(r),(Array.isArray(i)?i:i.split(" ")).forEac
2439h((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(r,[e,...n])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(r,n)}))})),t}},A={updateSize:function(){const e=this;let t,i;const n=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n[0].clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:n[0].clientHeight,0===t&&e.isHorizontal()||0===i&&e.isVertical()||(t=t-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),i=i-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(i)&&(i=0),Object.assign(e,{width:t,height:i,size:e.isHorizontal()?t:i}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{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"}[t]}function i(e,i){return parseFloat(e.getPropertyValue(t(i))||0)}const n=e.params,{$wrapperEl:r,size:s,rtlTranslate:a,wrongRTL:o}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,d=r.children(`.${e.params.slideClass}`),u=l?e.virtual.slides.length:d.length;let p=[];const h=[],f=[];let g=n.slidesOffsetBefore;"function"==typeof g&&(g=n.slidesOffsetBefore.call(e));let m=n.slidesOffsetAfter;"function"==typeof m&&(m=n.slidesOffsetAfter.call(e));const v=e.snapGrid.length,y=e.slidesGrid.length;let b=n.spaceBetween,w=-g,M=0,E=0;if(void 0===s)return;"string"==typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*s),e.virtualSize=-b,a?d.css({marginLeft:"",marginBottom:"",marginTop:""}):d.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&(x(e.wrapperEl,"--swiper-centered-offset-before",""),x(e.wrapperEl,"--swiper-centered-offset-after",""));const _=n.grid&&n.grid.rows>1&&e.grid;let C;_&&e.grid.initSlides(u);const T="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>void 0!==n.breakpoints[e].slidesPerView)).length>0;for(let r=0;r<u;r+=1){C=0;const a=d.eq(r);if(_&&e.grid.updateSlide(r,a,u,t),"none"!==a.css("display")){if("auto"===n.slidesPerView){T&&(d[r].style[t("width")]="");const s=getComputedStyle(a[0]),o=a[0].style.transform,l=a[0].style.webkitTransform;if(o&&(a[0].style.transform="none"),l&&(a[0].style.webkitTransform="none"),n.roundLengths)C=e.isHorizontal()?a.outerWidth(!0):a.outerHeight(!0);else{const e=i(s,"width"),t=i(s,"padding-left"),n=i(s,"padding-right"),r=i(s,"margin-left"),o=i(s,"margin-right"),l=s.getPropertyValue("box-sizing");if(l&&"border-box"===l)C=e+r+o;else{const{clientWidth:i,offsetWidth:s}=a[0];C=e+t+n+r+o+(s-i)}}o&&(a[0].style.transform=o),l&&(a[0].style.webkitTransform=l),n.roundLengths&&(C=Math.floor(C))}else C=(s-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(C=Math.floor(C)),d[r]&&(d[r].style[t("width")]=`${C}px`);d[r]&&(d[r].swiperSlideSize=C),f.push(C),n.centeredSlides?(w=w+C/2+M/2+b,0===M&&0!==r&&(w=w-s/2-b),0===r&&(w=w-s/2-b),Math.abs(w)<.001&&(w=0),n.roundLengths&&(w=Math.floor(w)),E%n.slidesPerGroup==0&&p.push(w),h.push(w)):(n.roundLengths&&(w=Math.floor(w)),(E-Math.min(e.params.slidesPerGroupSkip,E))%e.params.slidesPerGroup==0&&p.push(w),h.push(w),w=w+C+b),e.virtualSize+=C+b,M=C,E+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+m,a&&o&&("slide"===n.effect||"coverflow"===n.effect)&&r.css({width:`${e.virtualSize+n.spaceBetween}px`}),n.setWrapperSize&&r.css({[t("width")]:`${e.virtualSize+n.spaceBetween}px`}),_&&e.grid.updateWrapperSize(C,p,t),!n.centeredSlides){const t=[];for(let i=0;i<p.length;i+=1){let r=p[i];n.roundLengths&&(r=Math.floor(r)),p[i]<=e.virtualSize-s&&t.push(r)}p=t,Math.floor(e.virtualSize-s)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-s)}if(0===p.length&&(p=[0]),0!==n.spaceBetween){const i=e.isHorizontal()&&a?"marginLeft":t("marginRight");d.filter(((e,t)=>!n.cssMode||t!==d.length-1)).css({[i]:`${b}px`})}
2439if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween;const t=e-s;p=p.map((e=>e<0?-g:e>t?t+m:e))}if(n.centerInsufficientSlides){let e=0;if(f.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween,e<s){const t=(s-e)/2;p.forEach(((e,i)=>{p[i]=e-t})),h.forEach(((e,i)=>{h[i]=e+t}))}}if(Object.assign(e,{slides:d,snapGrid:p,slidesGrid:h,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){x(e.wrapperEl,"--swiper-centered-offset-before",-p[0]+"px"),x(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],i=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+i))}if(u!==c&&e.emit("slidesLengthChange"),p.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,i=e.$el.hasClass(t);u<=n.maxBackfaceHiddenSlides?i||e.$el.addClass(t):i&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let r,s=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>n?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||m([])).each((e=>{i.push(e)}));else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const e=t.activeIndex+r;if(e>t.slides.length&&!n)break;i.push(a(e))}else i.push(a(t.activeIndex));for(r=0;r<i.length;r+=1)if(void 0!==i[r]){const e=i[r].offsetHeight;s=e>s?e:s}(s||0===s)&&t.$wrapperEl.css("height",`${s}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,i=t.params,{slides:n,rtlTranslate:r,snapGrid:s}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;r&&(a=e),n.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<n.length;e+=1){const o=n[e];let l=o.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(l-=n[0].swiperSlideOffset);const c=(a+(i.centeredSlides?t.minTranslate():0)-l)/(o.swiperSlideSize+i.spaceBetween),d=(a-s[0]+(i.centeredSlides?t.minTranslate():0)-l)/(o.swiperSlideSize+i.spaceBetween),u=-(a-l),p=u+t.slidesSizesGrid[e];(u>=0&&u<t.size-1||p>1&&p<=t.size||u<=0&&p>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(e),n.eq(e).addClass(i.slideVisibleClass)),o.progress=r?-c:c,o.originalProgress=r?-d:d}t.visibleSlides=m(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:s,isEnd:a}=t;const o=s,l=a;0===n?(r=0,s=!0,a=!0):(r=(e-t.minTranslate())/n,s=r<=0,a=r>=1),Object.assign(t,{progress:r,isBeginning:s,isEnd:a}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),s&&!o&&t.emit("reachBeginning toEdge"),a&&!l&&t.emit("reachEnd toEdge"),(o&&!s||l&&!a)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:i,$wrapperEl:n,activeIndex:r,realIndex:s}=e,a=e.virtual&&i.virtual.enabled;let o;t.removeClass(`${i.slideActiveClass} ${i.slideNextClass} ${i.slidePrevClass} ${i.slideDuplicateActiveClass} ${i.slideDuplicateNextClass} ${i.slideDuplicatePrevClass}`),o=a?e.$wrapperEl.find(`.${i.slideClass}[data-swiper-slide-index="${r}"]`):t.eq(r),o.addClass(i.slideActiveClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${s}"]`).addClass(i.slideDuplicateActiveClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${s}"]`).addClass(i.slideDuplicateActiveClass));let l=o.nextAll(`.${i.slideClass}`).eq(0).addClass(i.slideNextClass);
2439i.loop&&0===l.length&&(l=t.eq(0),l.addClass(i.slideNextClass));let c=o.prevAll(`.${i.slideClass}`).eq(0).addClass(i.slidePrevClass);i.loop&&0===c.length&&(c=t.eq(-1),c.addClass(i.slidePrevClass)),i.loop&&(l.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass),c.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:n,snapGrid:r,params:s,activeIndex:a,realIndex:o,snapIndex:l}=t;let c,d=e;if(void 0===d){for(let e=0;e<n.length;e+=1)void 0!==n[e+1]?i>=n[e]&&i<n[e+1]-(n[e+1]-n[e])/2?d=e:i>=n[e]&&i<n[e+1]&&(d=e+1):i>=n[e]&&(d=e);s.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(r.indexOf(i)>=0)c=r.indexOf(i);else{const e=Math.min(s.slidesPerGroupSkip,d);c=e+Math.floor((d-e)/s.slidesPerGroup)}if(c>=r.length&&(c=r.length-1),d===a)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const u=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10);Object.assign(t,{snapIndex:c,realIndex:u,previousIndex:a,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==u&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,i=t.params,n=m(e).closest(`.${i.slideClass}`)[0];let r,s=!1;if(n)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===n){s=!0,r=e;break}if(!n||!s)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=n,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(m(n).attr("data-swiper-slide-index"),10):t.clickedIndex=r,i.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};function j({swiper:e,runCallbacks:t,direction:i,step:n}){const{activeIndex:r,previousIndex:s}=e;let a=i;if(a||(a=r>s?"next":r<s?"prev":"reset"),e.emit(`transition${n}`),t&&r!==s){if("reset"===a)return void e.emit(`slideResetTransition${n}`);e.emit(`slideChangeTransition${n}`),"next"===a?e.emit(`slideNextTransition${n}`):e.emit(`slidePrevTransition${n}`)}}const $={slideTo:function(e=0,t=this.params.speed,i=!0,n,r){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const s=this;let a=e;a<0&&(a=0);const{params:o,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:p,wrapperEl:h,enabled:f}=s;if(s.animating&&o.preventInteractionOnTransition||!f&&!n&&!r)return!1;const g=Math.min(s.params.slidesPerGroupSkip,a);let m=g+Math.floor((a-g)/s.params.slidesPerGroup);m>=l.length&&(m=l.length-1);const v=-l[m];if(o.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*v),i=Math.floor(100*c[e]),n=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=i&&t<n-(n-i)/2?a=e:t>=i&&t<n&&(a=e+1):t>=i&&(a=e)}if(s.initialized&&a!==u){if(!s.allowSlideNext&&v<s.translate&&v<s.minTranslate())return!1;if(!s.allowSlidePrev&&v>s.translate&&v>s.maxTranslate()&&(u||0)!==a)return!1}let y;if(a!==(d||0)&&i&&s.emit("beforeSlideChangeStart"),s.updateProgress(v),y=a>u?"next":a<u?"prev":"reset",p&&-v===s.translate||!p&&v===s.translate)return s.updateActiveIndex(a),o.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==o.effect&&s.setTranslate(v),"reset"!==y&&(s.transitionStart(i,y),s.transitionEnd(i,y)),!1;if(o.cssMode){const e=s.isHorizontal(),i=p?v:-v;if(0===t){const t=s.virtual&&s.params.virtual.enabled;t&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),h[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame((()=>{s.wrapperEl.style.scrollSnapType="",s._swiperImmediateVirtual=!1}))}else{if(!s.support.smoothScroll)return E({swiper:s,targetPosition:i,side:e?"left"
2439:"top"}),!0;h.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}return s.setTransition(t),s.setTranslate(v),s.updateActiveIndex(a),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,n),s.transitionStart(i,y),0===t?s.transitionEnd(i,y):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(i,y))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,i=!0,n){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const r=this;let s=e;return r.params.loop&&(s+=r.loopedSlides),r.slideTo(s,t,i,n)},slideNext:function(e=this.params.speed,t=!0,i){const n=this,{animating:r,enabled:s,params:a}=n;if(!s)return n;let o=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<a.slidesPerGroupSkip?1:o;if(a.loop){if(r&&a.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}return a.rewind&&n.isEnd?n.slideTo(0,e,t,i):n.slideTo(n.activeIndex+l,e,t,i)},slidePrev:function(e=this.params.speed,t=!0,i){const n=this,{params:r,animating:s,snapGrid:a,slidesGrid:o,rtlTranslate:l,enabled:c}=n;if(!c)return n;if(r.loop){if(s&&r.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=d(l?n.translate:-n.translate),p=a.map((e=>d(e)));let h=a[p.indexOf(u)-1];if(void 0===h&&r.cssMode){let e;a.forEach(((t,i)=>{u>=t&&(e=i)})),void 0!==e&&(h=a[e>0?e-1:e])}let f=0;if(void 0!==h&&(f=o.indexOf(h),f<0&&(f=n.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(f=f-n.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),r.rewind&&n.isBeginning){const r=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(r,e,t,i)}return n.slideTo(f,e,t,i)},slideReset:function(e=this.params.speed,t=!0,i){return this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e=this.params.speed,t=!0,i,n=.5){const r=this;let s=r.activeIndex;const a=Math.min(r.params.slidesPerGroupSkip,s),o=a+Math.floor((s-a)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[o]){const e=r.snapGrid[o];l-e>(r.snapGrid[o+1]-e)*n&&(s+=r.params.slidesPerGroup)}else{const e=r.snapGrid[o-1];l-e<=(r.snapGrid[o]-e)*n&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,e,t,i)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,s=e.clickedIndex;if(t.loop){if(e.animating)return;r=parseInt(m(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?s<e.loopedSlides-n/2||s>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),s=i.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),v((()=>{e.slideTo(s)}))):e.slideTo(s):s>e.slides.length-n?(e.loopFix(),s=i.children(`.${t.slideClass}[data-swiper-slide-index="${r}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),v((()=>{e.slideTo(s)}))):e.slideTo(s)}else e.slideTo(s)}};function O(e){const t=this,i=a(),n=l(),r=t.touchEventsData,{params:s,touches:o,enabled:c}=t;if(!c)return;if(t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let d=e;d.originalEvent&&(d=d.originalEvent);let u=m(d.target);if("wrapper"===s.touchEventsTarget&&!u.closest(t.wrapperEl).length)return;if(r.isTouchEvent="touchstart"===d.type,!r.isTouchEvent&&"which"in d&&3===d.which)return;if(!r.isTouchEvent&&"button"in d&&d.button>0)return;if(r.isTouched&&r.isMoved)return;const p=!!s.noSwipingClass&&""!==s.noSwipingClass,h=e.composedPath?e.composedPath():e.path;p&&d.target&&d.target.shadowRoot&&h&&(u=m(h[0]));const f=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,g=!(!d.target||!d.target.shadowRoot);if(s.noSwiping&&(g?function(e,t=this){return function t(i){if(!i||i===a()||i===l())return null;i.assignedSlot&&(i=i.assignedSlot);
2439const n=i.closest(e);return n||i.getRootNode?n||t(i.getRootNode().host):null}(t)}(f,u[0]):u.closest(f)[0]))return void(t.allowClick=!0);if(s.swipeHandler&&!u.closest(s.swipeHandler)[0])return;o.currentX="touchstart"===d.type?d.targetTouches[0].pageX:d.pageX,o.currentY="touchstart"===d.type?d.targetTouches[0].pageY:d.pageY;const v=o.currentX,b=o.currentY,w=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,M=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(w&&(v<=M||v>=n.innerWidth-M)){if("prevent"!==w)return;e.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=v,o.startY=b,r.touchStartTime=y(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==d.type){let e=!0;u.is(r.focusableElements)&&(e=!1,"SELECT"===u[0].nodeName&&(r.isTouched=!1)),i.activeElement&&m(i.activeElement).is(r.focusableElements)&&i.activeElement!==u[0]&&i.activeElement.blur();const n=e&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!n||u[0].isContentEditable||d.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",d)}function D(e){const t=a(),i=this,n=i.touchEventsData,{params:r,touches:s,rtlTranslate:o,enabled:l}=i;if(!l)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",c));if(n.isTouchEvent&&"touchmove"!==c.type)return;const d="touchmove"===c.type&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),u="touchmove"===c.type?d.pageX:c.pageX,p="touchmove"===c.type?d.pageY:c.pageY;if(c.preventedByNestedSwiper)return s.startX=u,void(s.startY=p);if(!i.allowTouchMove)return m(c.target).is(n.focusableElements)||(i.allowClick=!1),void(n.isTouched&&(Object.assign(s,{startX:u,startY:p,currentX:u,currentY:p}),n.touchStartTime=y()));if(n.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(i.isVertical()){if(p<s.startY&&i.translate<=i.maxTranslate()||p>s.startY&&i.translate>=i.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(u<s.startX&&i.translate<=i.maxTranslate()||u>s.startX&&i.translate>=i.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&c.target===t.activeElement&&m(c.target).is(n.focusableElements))return n.isMoved=!0,void(i.allowClick=!1);if(n.allowTouchCallbacks&&i.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;s.currentX=u,s.currentY=p;const h=s.currentX-s.startX,f=s.currentY-s.startY;if(i.params.threshold&&Math.sqrt(h**2+f**2)<i.params.threshold)return;if(void 0===n.isScrolling){let e;i.isHorizontal()&&s.currentY===s.startY||i.isVertical()&&s.currentX===s.startX?n.isScrolling=!1:h*h+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,n.isScrolling=i.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",c),void 0===n.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;i.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation(),n.isMoved||(r.loop&&!r.cssMode&&i.loopFix(),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!r.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",c)),i.emit("sliderMove",c),n.isMoved=!0;let g=i.isHorizontal()?h:f;s.diff=g,g*=r.touchRatio,o&&(g=-g),i.swipeDirection=g>0?"prev":"next",n.currentTranslate=g+n.startTranslate;let v=!0,b=r.resistanceRatio;if(r.touchReleaseOnEdges&&(b=0),g>0&&n.currentTranslate>i.minTranslate()?(v=!1,r.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+g)**b)):g<0&&n.currentTranslate<i.maxTranslate()&&(v=!1,r.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-g)**b)),v&&(c.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),i.allowSlidePrev||i.allowSlideNext||(n.currentTranslate=n.startTranslate),r.threshold>0){if(!(Math.abs(g)>r.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
vendor: 6,405 bytes, line 2439
2439if(!n.allowThresholdMove)return n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,void(s.diff=i.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),i.params.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function N(e){const t=this,i=t.touchEventsData,{params:n,touches:r,rtlTranslate:s,slidesGrid:a,enabled:o}=t;if(!o)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",l),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=y(),d=c-i.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),d<300&&c-i.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(i.lastClickTime=y(),v((()=>{t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===r.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let u;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,u=n.followFinger?s?t.translate:-t.translate:-i.currentTranslate,n.cssMode)return;if(t.params.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});let p=0,h=t.slidesSizesGrid[0];for(let e=0;e<a.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){const t=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==a[e+t]?u>=a[e]&&u<a[e+t]&&(p=e,h=a[e+t]-a[e]):u>=a[e]&&(p=e,h=a[a.length-1]-a[a.length-2])}let f=null,g=null;n.rewind&&(t.isBeginning?g=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const m=(u-a[p])/h,b=p<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(d>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(m>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?f:p+b):t.slideTo(p)),"prev"===t.swipeDirection&&(m>1-n.longSwipesRatio?t.slideTo(p+b):null!==g&&m<0&&Math.abs(m)>n.longSwipesRatio?t.slideTo(g):t.slideTo(p))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||l.target!==t.navigation.nextEl&&l.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==f?f:p+b),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:p)):l.target===t.navigation.nextEl?t.slideTo(p+b):t.slideTo(p)}}function k(){const e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:r,snapGrid:s}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=r,e.allowSlideNext=n,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function z(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function L(){const e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;if(!n)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const s=e.maxTranslate()-e.minTranslate();r=0===s?0:(e.translate-e.minTranslate())/s,r!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let P=!1;function R(){}const B=(e,t)=>{const i=a(),{params:n,touchEvents:r,el:s,wrapperEl:o,device:l,support:c}=e,d=!!n.nested,u="on"===t?"addEventListener":"removeEventListener",p=t;if(c.touch){const t=!("touchstart"!==r.start||!c.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};s[u](r.start,e.onTouchStart,t),s[u](r.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:d}:d),s[u](r.end,e.onTouchEnd,t),r.cancel&&s[u](r.cancel,e.onTouchEnd,t)}else s[u](r.start,e.onTouchStart,!1),i[u](r.move,e.onTouchMove,d),i[u](r.end,e.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&s[u]("click",e.onClick,!0),n.cssMode&&o[u]("scroll",e.onScroll),n.updateOnWindowResize?e[p](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",k,!0):e[p]("observerUpdate",k,!0)},U={attachEvents:function(){const e=this,t=a(),{params:i,support:n}=e;e.onTouchStart=O.bind(e),e.onTouchMove=D.bind(e),e.onTouchEnd=N.bind(e),i.cssMode&&(e.onScroll=L.bind(e)),e.onClick=z.bind(e),n.touch&&!P&&(t.addEventListener("touchstart",R),P=!0),B(e,"on")},detachEvents:function(){B(this,"off")}},F=(e,t)=>e.grid&&t.grid&&t.grid.rows>1,H={addClasses:function(){const e=this,{classNames:t,params:i,rtl:n,$el:r,device:s,support:a}=e,o=function(e,t){const i=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((n=>{e[n]&&i.push(t+n)})):"string"==typeof e&&i.push(t+e)})),i}(["initialized",i.direction,{"pointer-events":!a.touch},{"free-mode":e.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&"column"===i.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);t.push(...o),r.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}},Y={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,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",
vendor: 4,856 bytes, line 2439
2439spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!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-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Q(e,t){return function(i={}){const n=Object.keys(i)[0],r=i[n];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===e[n]&&(e[n]={auto:!0}),n in e&&"enabled"in r?(!0===e[n]&&(e[n]={enabled:!0}),"object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),M(t,i)):M(t,i)):M(t,i)}}const q={eventsEmitter:I,update:A,translate:{getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:i,translate:n,$wrapperEl:r}=this;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let s=b(r[0],e);return i&&(s=-s),s||0},setTranslate:function(e,t){const i=this,{rtlTranslate:n,params:r,$wrapperEl:s,wrapperEl:a,progress:o}=i;let l,c=0,d=0;i.isHorizontal()?c=n?-e:e:d=e,r.roundLengths&&(c=Math.floor(c),d=Math.floor(d)),r.cssMode?a[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-c:-d:r.virtualTranslate||s.transform(`translate3d(${c}px, ${d}px, 0px)`),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?c:d;const u=i.maxTranslate()-i.minTranslate();l=0===u?0:(e-i.minTranslate())/u,l!==o&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,i=!0,n=!0,r){const s=this,{params:a,wrapperEl:o}=s;if(s.animating&&a.preventInteractionOnTransition)return!1;const l=s.minTranslate(),c=s.maxTranslate();let d;if(d=n&&e>l?l:n&&e<c?c:e,s.updateProgress(d),a.cssMode){const e=s.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-d;else{if(!s.support.smoothScroll)return E({swiper:s,targetPosition:-d,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(s.setTransition(0),s.setTranslate(d),i&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionEnd"))):(s.setTransition(t),s.setTranslate(d),i&&(s.emit("beforeTransitionStart",t,r),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,i&&s.emit("transitionEnd"))}),s.$wrapperEl[0].addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){const i=this;i.params.cssMode||i.$wrapperEl.transition(e),i.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),j({swiper:i,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const i=this,{params:n}=i;i.animating=!1,n.cssMode||(i.setTransition(0),j({swiper:i,runCallbacks:e,direction:t,step:"End"}))}},slide:$,loop:{loopCreate:function(){const e=this,t=a(),{params:i,$wrapperEl:n}=e,r=n.children().length>0?m(n.children()[0].parentNode):n;r.children(`.${i.slideClass}.${i.slideDuplicateClass}`).remove();let s=r.children(`.${i.slideClass}`);
2439if(i.loopFillGroupWithBlank){const e=i.slidesPerGroup-s.length%i.slidesPerGroup;if(e!==i.slidesPerGroup){for(let n=0;n<e;n+=1){const e=m(t.createElement("div")).addClass(`${i.slideClass} ${i.slideBlankClass}`);r.append(e)}s=r.children(`.${i.slideClass}`)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=s.length),e.loopedSlides=Math.ceil(parseFloat(i.loopedSlides||i.slidesPerView,10)),e.loopedSlides+=i.loopAdditionalSlides,e.loopedSlides>s.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=s.length);const o=[],l=[];s.each(((e,t)=>{m(e).attr("data-swiper-slide-index",t)}));for(let t=0;t<e.loopedSlides;t+=1){const e=t-Math.floor(t/s.length)*s.length;l.push(s.eq(e)[0]),o.unshift(s.eq(s.length-e-1)[0])}for(let e=0;e<l.length;e+=1)r.append(m(l[e].cloneNode(!0)).addClass(i.slideDuplicateClass));for(let e=o.length-1;e>=0;e-=1)r.prepend(m(o[e].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:i,loopedSlides:n,allowSlidePrev:r,allowSlideNext:s,snapGrid:a,rtlTranslate:o}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-a[t]-e.getTranslate();t<n?(l=i.length-3*n+t,l+=n,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)):t>=i.length-n&&(l=-i.length+t+n,l+=n,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)),e.allowSlidePrev=r,e.allowSlideNext=s,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:i}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),i.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;i.style.cursor="move",i.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:U,breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:i,loopedSlides:n=0,params:r,$el:s}=e,a=r.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const o=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const l=(o in a?a[o]:void 0)||e.originalParams,c=F(e,r),d=F(e,l),u=r.enabled;c&&!d?(s.removeClass(`${r.containerModifierClass}grid ${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&d&&(s.addClass(`${r.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===r.grid.fill)&&s.addClass(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const i=r[t]&&r[t].enabled,n=l[t]&&l[t].enabled;i&&!n&&e[t].disable(),!i&&n&&e[t].enable()}));const p=l.direction&&l.direction!==r.direction,h=r.loop&&(l.slidesPerView!==r.slidesPerView||p);p&&i&&e.changeDirection(),M(e.params,l);const f=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),u&&!f?e.disable():!u&&f&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",l),h&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t="window",i){if(!e||"container"===t&&!i)return;let n=!1;const r=l(),s="window"===t?r.innerHeight:i.clientHeight,a=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:s*t,point:e}}return{value:e,point:e}}));a.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<a.length;e+=1){const{point:s,value:o}=a[e];"window"===t?r.matchMedia(`(min-width: ${o}px)`).matches&&(n=s):o<=i.clientWidth&&(n=s)}return n||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:i}=e,{slidesOffsetBefore:n}=i;if(n){const t=e.slides.length-1,i=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>i}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:H,images:{loadImage:function(e,t,i,n,r,s){const a=l();let o;function c(){s&&s()}m(e).parent("picture")[0]||e.complete&&r?c():t?(o=new a.Image,o.onload=c,o.onerror=c,n&&(o.sizes=n),i&&(o.srcset=i),t&&(o.src=t)):c()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(
2439),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let i=0;i<e.imagesToLoad.length;i+=1){const n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},G={};class X{constructor(...e){let t,i;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?i=e[0]:[t,i]=e,i||(i={}),i=M({},i),t&&!i.el&&(i.el=t),i.el&&m(i.el).length>1){const e=[];return m(i.el).each((t=>{const n=M({},i,{el:t});e.push(new X(n))})),e}const n=this;n.__swiper__=!0,n.support=S(),n.device=function(e={}){return C||(C=function({userAgent:e}={}){const t=S(),i=l(),n=i.navigator.platform,r=e||i.navigator.userAgent,s={ios:!1,android:!1},a=i.screen.width,o=i.screen.height,c=r.match(/(Android);?[\s\/]+([\d.]+)?/);let d=r.match(/(iPad).*OS\s([\d_]+)/);const u=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===n;let f="MacIntel"===n;return!d&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${o}`)>=0&&(d=r.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),f=!1),c&&!h&&(s.os="android",s.android=!0),(d||p||u)&&(s.os="ios",s.ios=!0),s}(e)),C}({userAgent:i.userAgent}),n.browser=(T||(T=function(){const e=l();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),T),n.eventsListeners={},n.eventsAnyListeners=[],n.modules=[...n.__modules__],i.modules&&Array.isArray(i.modules)&&n.modules.push(...i.modules);const r={};n.modules.forEach((e=>{e({swiper:n,extendParams:Q(i,r),on:n.on.bind(n),once:n.once.bind(n),off:n.off.bind(n),emit:n.emit.bind(n)})}));const s=M({},Y,r);return n.params=M({},s,G,i),n.originalParams=M({},n.params),n.passedParams=M({}
vendor: 4,365 bytes, line 2439
2439,i),n.params&&n.params.on&&Object.keys(n.params.on).forEach((e=>{n.on(e,n.params.on[e])})),n.params&&n.params.onAny&&n.onAny(n.params.onAny),n.$=m,Object.assign(n,{enabled:n.params.enabled,el:t,classNames:[],slides:m(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===n.params.direction,isVertical:()=>"vertical"===n.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return n.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},n.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},n.support.touch||!n.params.simulateTouch?n.touchEventsTouch:n.touchEventsDesktop}(),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:n.params.focusableElements,lastClickTime:y(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:n.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),n.emit("_swiper"),n.params.init&&n.init(),n}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const i=this;e=Math.min(Math.max(e,0),1);const n=i.minTranslate(),r=(i.maxTranslate()-n)*e+n;i.translateTo(r,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((i=>{const n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:i,slides:n,slidesGrid:r,slidesSizesGrid:s,size:a,activeIndex:o}=this;let l=1;if(i.centeredSlides){let e,t=n[o].swiperSlideSize;for(let i=o+1;i<n.length;i+=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>a&&(e=!0));for(let i=o-1;i>=0;i-=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=o+1;e<n.length;e+=1)(t?r[e]+s[e]-r[o]<a:r[e]-r[o]<a)&&(l+=1);else for(let e=o-1;e>=0;e-=1)r[o]-r[e]<a&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:i}=e;function n(){const t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}let r;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(n(),e.params.autoHeight&&e.updateAutoHeight()):(r=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),r||n()),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(i.$el.removeClass(`${i.params.containerModifierClass}${n}`).addClass(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}
2439rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const i=m(e||t.params.el);if(!(e=i[0]))return!1;e.swiper=t;const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=m(e.shadowRoot.querySelector(n()));return t.children=e=>i.children(e),t}return i.children?i.children(n()):m(i).children(n())})();if(0===r.length&&t.params.createElements){const e=a().createElement("div");r=m(e),e.className=t.params.wrapperClass,i.append(e),i.children(`.${t.params.slideClass}`).each((e=>{r.append(e)}))}return Object.assign(t,{$el:i,el:e,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(e){const t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const i=this,{params:n,$el:r,$wrapperEl:s,slides:a}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttr("style"),s.removeAttr("style"),a&&a.length&&a.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((e=>{i.off(e)})),!1!==e&&(i.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(i)),i.destroyed=!0),null}static extendDefaults(e){M(G,e)}static get extendedDefaults(){return G}static get defaults(){return Y}static installModule(e){X.prototype.__modules__||(X.prototype.__modules__=[]);const t=X.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>X.installModule(e))),X):(X.installModule(e),X)}}Object.keys(q).forEach((e=>
2439{Object.keys(q[e]).forEach((t=>{X.prototype[t]=q[e][t]}))})),X.use([function({swiper:e,on:t,emit:i}){const n=l();let r=null,s=null;const a=()=>{e&&!e.destroyed&&e.initialized&&(i("beforeResize"),i("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&i("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==n.ResizeObserver?e&&!e.destroyed&&e.initialized&&(r=new ResizeObserver((t=>{s=n.requestAnimationFrame((()=>{const{width:i,height:n}=e;let r=i,s=n;t.forEach((({contentBoxSize:t,contentRect:i,target:n})=>{n&&n!==e.el||(r=i?i.width:(t[0]||t).inlineSize,s=i?i.height:(t[0]||t).blockSize)})),r===i&&s===n||a()}))})),r.observe(e.el)):(n.addEventListener("resize",a),n.addEventListener("orientationchange",o))})),t("destroy",(()=>{s&&n.cancelAnimationFrame(s),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null),n.removeEventListener("resize",a),n.removeEventListener("orientationchange",o)}))},function({swiper:e,extendParams:t,on:i,emit:n}){const r=[],s=l(),a=(e,t={})=>{const i=new(s.MutationObserver||s.WebkitMutationObserver)((e=>{if(1===e.length)return void n("observerUpdate",e[0]);const t=function(){n("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(t):s.setTimeout(t,0)}));i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(i)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e<t.length;e+=1)a(t[e])}a(e.$el[0],{childList:e.params.observeSlideChildren}),a(e.$wrapperEl[0],{attributes:!1})}})),i("destroy",(()=>{r.forEach((e=>{e.disconnect()})),r.splice(0,r.length)}))}]);const W=X;function V({swiper:e,extendParams:t,on:i,emit:n}){let r;function s(t,i){const n=e.params.virtual;if(n.cache&&e.virtual.cache[i])return e.virtual.cache[i];const r=n.renderSlide?m(n.renderSlide.call(e,t,i)):m(`<div class="${e.params.slideClass}" data-swiper-slide-index="${i}">${t}</div>`);return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",i),n.cache&&(e.virtual.cache[i]=r),r}function a(t){const{slidesPerView:i,slidesPerGroup:r,centeredSlides:a}=e.params,{addSlidesBefore:o,addSlidesAfter:l}=e.params.virtual,{from:c,to:d,slides:u,slidesGrid:p,offset:h}=e.virtual;e.params.cssMode||e.updateActiveIndex();const f=e.activeIndex||0;let g,m,v;g=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",a?(m=Math.floor(i/2)+r+l,v=Math.floor(i/2)+r+o):(m=i+(r-1)+l,v=r+o);const y=Math.max((f||0)-v,0),b=Math.min((f||0)+m,u.length-1),w=(e.slidesGrid[y]||0)-(e.slidesGrid[0]||0);function M(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),n("virtualUpdate")}if(Object.assign(e.virtual,{from:y,to:b,offset:w,slidesGrid:e.slidesGrid}),c===y&&d===b&&!t)return e.slidesGrid!==p&&w!==h&&e.slides.css(g,`${w}px`),e.updateProgress(),void n("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:w,from:y,to:b,slides:function(){const e=[];for(let t=y;t<=b;t+=1)e.push(u[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?M():n("virtualUpdate"));const x=[],E=[];if(t)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let t=c;t<=d;t+=1)(t<y||t>b)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e<u.length;e+=1)e>=y&&e<=b&&(void 0===d||t?E.push(e):(e>d&&E.push(e),e<c&&x.push(e)));E.forEach((t=>{e.$wrapperEl.append(s(u[t],t))})),x.sort(((e,t)=>t-e)).forEach((t=>{e.$wrapperEl.prepend(s(u[t],t))})),e.$wrapperEl.children(".swiper-slide").css(g,`${w}px`),M()}t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},i("beforeInit",(()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||a())})),i("setTranslate",(()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(r),r=setTimeout((()=>{a()}),100)):a())})),i("init update resize",(()=>{e.params.virtual.enabled&&e.params.cssMode&&x(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)})),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let i=0;i<t.length;i+=1)t[i]&&e.virtual.slides.push(t[i]);else e.virtual.slides.push(t);a(!0)},prependSlide:function(t){const i=e.activeIndex;let n=i+1,r=1;if(Array.isArray(t)){for(let i=0;i<t.length;i+=1)t[i]&&e.virtual.slides.unshift(t[i]);n=i+t.length,r=t.length}else e.virtual.slides.unshift(t);if(e.params.virtual.cache){const t=e.virtual.cache,i={};Object.keys(t).forEach((e=>{const n=t[e],s=n.attr("data-swiper-slide-index");s&&n.attr("data-swiper-slide-index",parseInt(s,10)+r),i[parseInt(e,10)+r]=n})),e.virtual.cache=i}
2439a(!0),e.slideTo(n,0)},removeSlide:function(t){if(null==t)return;let i=e.activeIndex;if(Array.isArray(t))for(let n=t.length-1;n>=0;n-=1)e.virtual.slides.splice(t[n],1),e.params.virtual.cache&&delete e.virtual.cache[t[n]],t[n]<i&&(i-=1),i=Math.max(i,0);else e.virtual.slides.splice(t,1),e.params.virtual.cache&&delete e.virtual.cache[t],t<i&&(i-=1),i=Math.max(i,0);a(!0),e.slideTo(i,0)},removeAllSlides:function(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),a(!0),e.slideTo(0,0)},update:a})}function K({swiper:e,extendParams:t,on:i,emit:n}){const r=a(),s=l();function o(t){if(!e.enabled)return;const{rtlTranslate:i}=e;let a=t;a.originalEvent&&(a=a.originalEvent);const o=a.keyCode||a.charCode,l=e.params.keyboard.pageUpDown,c=l&&33===o,d=l&&34===o,u=37===o,p=39===o,h=38===o,f=40===o;if(!e.allowSlideNext&&(e.isHorizontal()&&p||e.isVertical()&&f||d))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&u||e.isVertical()&&h||c))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||r.activeElement&&r.activeElement.nodeName&&("input"===r.activeElement.nodeName.toLowerCase()||"textarea"===r.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(c||d||u||p||h||f)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const n=e.$el,r=n[0].clientWidth,a=n[0].clientHeight,o=s.innerWidth,l=s.innerHeight,c=e.$el.offset();i&&(c.left-=e.$el[0].scrollLeft);const d=[[c.left,c.top],[c.left+r,c.top],[c.left,c.top+a],[c.left+r,c.top+a]];for(let e=0;e<d.length;e+=1){const i=d[e];if(i[0]>=0&&i[0]<=o&&i[1]>=0&&i[1]<=l){if(0===i[0]&&0===i[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((c||d||u||p)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((d||p)&&!i||(c||u)&&i)&&e.slideNext(),((c||u)&&!i||(d||p)&&i)&&e.slidePrev()):((c||d||h||f)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(d||f)&&e.slideNext(),(c||h)&&e.slidePrev()),n("keyPress",o)}}function c(){e.keyboard.enabled||(m(r).on("keydown",o),e.keyboard.enabled=!0)}function d(){e.keyboard.enabled&&(m(r).off("keydown",o),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",(()=>{e.params.keyboard.enabled&&c()})),i("destroy",(()=>{e.keyboard.enabled&&d()})),Object.assign(e.keyboard,{enable:c,disable:d})}function Z({swiper:e,extendParams:t,on:i,emit:n}){const r=l();let s;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let a,o=y();const c=[];function d(){e.enabled&&(e.mouseEntered=!0)}function u(){e.enabled&&(e.mouseEntered=!1)}function p(t){return!(e.params.mousewheel.thresholdDelta&&t.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&y()-o<e.params.mousewheel.thresholdTime||!(t.delta>=6&&y()-o<60)&&(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),n("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),n("scroll",t.raw)),o=(new r.Date).getTime(),1))}function h(t){let i=t,r=!0;if(!e.enabled)return;const o=e.params.mousewheel;e.params.cssMode&&i.preventDefault();let l=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(l=m(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!l[0].contains(i.target)&&!o.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);let d=0;const u=e.rtlTranslate?-1:1,h=function(e){let t=0,i=0,n=0,r=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,r=10*i,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=r,r=0),(n||r)&&e.deltaMode&&(1===e.deltaMode?(n*=40,r*=40):(n*=800,r*=800)),n&&!t&&(t=n<1?-1:1),r&&!i&&(i=r<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:r}}(i);if(o.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(h.pixelX)>Math.abs(h.pixelY)))return!0;d=-h.pixelX*u}else{if(!(Math.abs(h.pixelY)>Math.abs(h.pixelX)))return!0;d=-h.pixelY}else d=Math.abs(h.pixelX)>Math.abs(h.pixelY)?-h.pixelX*u:-h.pixelY;if(0===d)return!0;o.invert&&(d=-d);let f=e.getTranslate()+d*o.sensitivity;if(f>=e.minTranslate()&&(f=e.minTranslate()),f<=e.maxTranslate()&&(f=e.maxTranslate()),r=!!e.params.loop||!(f===e.minTranslate()||f===e.maxTranslate()),r&&e.params.nested&&i.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:y(),delta:Math.abs(d),direction:Math.sign(d)},r=a&&t.time<a.time+500&&t.delta<=a.delta&&t.direction===a.direction;if(!r){a=void 0,e.params.loop&&e.loopFix();let l=e.getTranslate()+d*o.sensitivity;const u=e.isBeginning,p=e.isEnd;if(l>=e.minTranslate()&&(l=e.minTranslate()),l<=e.maxTranslate()&&(l=e.maxTranslate()),e.setTransition(0),e.setTranslate(l),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!u&&e.isBeginning||!p&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(s),s=void 0,c.length>=15&&c.shift();const i=c.length?c[c.length-1]:void 0,n=c[0];if(c.push(t),i&&(t.delta>i.delta||t.direction!==i.direction))c.splice(0);else if(c.length>=15&&t.time-n.time<500&&n.delta-t.delta>=1&&t.delta<=6){const i=d>0?.8:.2;a=t,c.splice(0),s=v((()=>{e.slideToClosest(e.params.speed,!0,void 0,i)}),0)}s||(s=v((()=>{a=t,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(r||n("scroll",i),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),l===e.minTranslate()||l===e.maxTranslate())return!0}}else{const i={time:y(),delta:Math.abs(d),direction:Math.sign(d),raw:t};c.length>=2&&c.shift();const n=c.length?c[c.length-1]:void 0;if(c.push(i),n?(i.direction!==n.direction||i.delta>n.delta||i.time>n.time+150)&&p(i):p(i),function(t){const i=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&i.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&i.releaseOnEdges)return!0;return!1}(i))return!0}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1}function f(t){let i=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(i=m(e.params.mousewheel.eventsTarget)),i[t]("mouseenter",d),i[t]("mouseleave",u),i[t]("wheel",h)}function g(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",h),!0):!e.mousewheel.enabled&&(f("on"),e.mousewheel.enabled=!0,!0)}function b(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,h),!0):!!e.mousewheel.enabled&&(f("off"),e.mousewheel.enabled=!1,!0)}i("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&b(),e.params.mousewheel.enabled&&g()})),i("destroy",(()=>{e.params.cssMode&&g(),e.mousewheel.enabled&&b()})),Object.assign(e.mousewheel,{enable:g,disable:b})}function J(e,t,i,n){const r=a();
2439return e.params.createElements&&Object.keys(n).forEach((s=>{if(!i[s]&&!0===i.auto){let a=e.$el.children(`.${n[s]}`)[0];a||(a=r.createElement("div"),a.className=n[s],e.$el.append(a)),i[s]=a,t[s]=a}})),i}function ee({swiper:e,extendParams:t,on:i,emit:n}){function r(t){let i;return t&&(i=m(t),e.params.uniqueNavElements&&"string"==typeof t&&i.length>1&&1===e.$el.find(t).length&&(i=e.$el.find(t))),i}function s(t,i){const n=e.params.navigation;t&&t.length>0&&(t[i?"addClass":"removeClass"](n.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=i),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](n.lockClass))}function a(){if(e.params.loop)return;const{$nextEl:t,$prevEl:i}=e.navigation;s(i,e.isBeginning&&!e.params.rewind),s(t,e.isEnd&&!e.params.rewind)}function o(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),n("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),n("navigationNext"))}function c(){const t=e.params.navigation;if(e.params.navigation=J(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const i=r(t.nextEl),n=r(t.prevEl);i&&i.length>0&&i.on("click",l),n&&n.length>0&&n.on("click",o),Object.assign(e.navigation,{$nextEl:i,nextEl:i&&i[0],$prevEl:n,prevEl:n&&n[0]}),e.enabled||(i&&i.addClass(t.lockClass),n&&n.addClass(t.lockClass))}function d(){const{$nextEl:t,$prevEl:i}=e.navigation;t&&t.length&&(t.off("click",l),t.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",o),i.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},i("init",(()=>{!1===e.params.navigation.enabled?u():(c(),a())})),i("toEdge fromEdge lock unlock",(()=>{a()})),i("destroy",(()=>{d()})),i("enable disable",(()=>{const{$nextEl:t,$prevEl:i}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),i&&i[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),i("click",((t,i)=>{const{$nextEl:r,$prevEl:s}=e.navigation,a=i.target;if(e.params.navigation.hideOnClick&&!m(a).is(s)&&!m(a).is(r)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===a||e.pagination.el.contains(a)))return;let t;r?t=r.hasClass(e.params.navigation.hiddenClass):s&&(t=s.hasClass(e.params.navigation.hiddenClass)),n(!0===t?"navigationShow":"navigationHide"),r&&r.toggleClass(e.params.navigation.hiddenClass),s&&s.toggleClass(e.params.navigation.hiddenClass)}}));const u=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),d()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),c(),a()},disable:u,update:a,init:c,destroy:d})}function te(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function ie({swiper:e,extendParams:t,on:i,emit:n}){const r="swiper-pagination";let s;t({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:e=>e,formatFractionTotal:e=>e,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let a=0;function o(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function l(t,i){const{bulletActiveClass:n}=e.params.pagination;t[i]().addClass(`${n}-${i}`)[i]().addClass(`${n}-${i}-${i}`)}
2439function c(){const t=e.rtl,i=e.params.pagination;if(o())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,c=e.pagination.$el;let d;const u=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(d=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),d>r-1-2*e.loopedSlides&&(d-=r-2*e.loopedSlides),d>u-1&&(d-=u),d<0&&"bullets"!==e.params.paginationType&&(d=u+d)):d=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const n=e.pagination.bullets;let r,o,u;if(i.dynamicBullets&&(s=n.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),c.css(e.isHorizontal()?"width":"height",s*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(a+=d-(e.previousIndex-e.loopedSlides||0),a>i.dynamicMainBullets-1?a=i.dynamicMainBullets-1:a<0&&(a=0)),r=Math.max(d-a,0),o=r+(Math.min(n.length,i.dynamicMainBullets)-1),u=(o+r)/2),n.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${i.bulletActiveClass}${e}`)).join(" ")),c.length>1)n.each((e=>{const t=m(e),n=t.index();n===d&&t.addClass(i.bulletActiveClass),i.dynamicBullets&&(n>=r&&n<=o&&t.addClass(`${i.bulletActiveClass}-main`),n===r&&l(t,"prev"),n===o&&l(t,"next"))}));else{const t=n.eq(d),s=t.index();if(t.addClass(i.bulletActiveClass),i.dynamicBullets){const t=n.eq(r),a=n.eq(o);for(let e=r;e<=o;e+=1)n.eq(e).addClass(`${i.bulletActiveClass}-main`);if(e.params.loop)if(s>=n.length){for(let e=i.dynamicMainBullets;e>=0;e-=1)n.eq(n.length-e).addClass(`${i.bulletActiveClass}-main`);n.eq(n.length-i.dynamicMainBullets-1).addClass(`${i.bulletActiveClass}-prev`)}else l(t,"prev"),l(a,"next");else l(t,"prev"),l(a,"next")}}if(i.dynamicBullets){const r=Math.min(n.length,i.dynamicMainBullets+4),a=(s*r-s)/2-u*s,o=t?"right":"left";n.css(e.isHorizontal()?o:"top",`${a}px`)}}if("fraction"===i.type&&(c.find(te(i.currentClass)).text(i.formatFractionCurrent(d+1)),c.find(te(i.totalClass)).text(i.formatFractionTotal(u))),"progressbar"===i.type){let t;t=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const n=(d+1)/u;let r=1,s=1;"horizontal"===t?r=n:s=n,c.find(te(i.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${r}) scaleY(${s})`).transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(c.html(i.renderCustom(e,d+1,u)),n("paginationRender",c[0])):n("paginationUpdate",c[0]),e.params.watchOverflow&&e.enabled&&c[e.isLocked?"addClass":"removeClass"](i.lockClass)}function d(){const t=e.params.pagination;if(o())return;const i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el;let s="";if("bullets"===t.type){let n=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&n>i&&(n=i);for(let i=0;i<n;i+=1)t.renderBullet?s+=t.renderBullet.call(e,i,t.bulletClass):s+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;r.html(s),e.pagination.bullets=r.find(te(t.bulletClass))}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,r.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,r.html(s)),"custom"!==t.type&&n("paginationRender",e.pagination.$el[0])}function u(){e.params.pagination=J(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let i=m(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el),i.length>1&&(i=i.filter((t=>m(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),i.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(`${t.modifierClass}${t.type}-dynamic`),a=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click",te(t.bulletClass),(function(t){t.preventDefault();let i=m(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),Object.assign(e.pagination,{$el:i,el:i[0]}),e.enabled||i.addClass(t.lockClass))}function p(){const t=e.params.pagination;if(o())return;const i=e.pagination.$el;i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),i.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click",te(t.bulletClass))}i("init",(()=>{!1===e.params.pagination.enabled?h():(u(),d(),c())})),i("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&c()})),i("snapIndexChange",(()=>{e.params.loop||c()})),i("slidesLengthChange",(()=>{e.params.loop&&(d(),c())})),i("snapGridLengthChange",(()=>{e.params.loop||(d(),c())})),i("destroy",(()=>{p()})),i("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),i("lock unlock",(()=>{c()})),i("click",((t,i)=>{const r=i.target,{$el:s}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&s&&s.length>0&&!m(r).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&r===e.navigation.nextEl||e.navigation.prevEl&&r===e.navigation.prevEl))return;const t=s.hasClass(e.params.pagination.hiddenClass);n(!0===t?"paginationShow":"paginationHide"),s.toggleClass(e.params.pagination.hiddenClass)}}));const h=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),p()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),u(),d(),c()},disable:h,render:d,update:c,init:u,destroy:p})}function ne({swiper:e,extendParams:t,on:i,emit:n}){const r=a();let s,o,l,c,d=!1,u=null,p=null;function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:i,progress:n}=e,{$dragEl:r,$el:s}=t,a=e.params.scrollbar;let c=o,d=(l-o)*n;i?(d=-d,d>0?(c=o-d,d=0):-d+o>l&&(c=l+d)):d<0?(c=o+d,d=0):d+o>
2439l&&(c=l-d),e.isHorizontal()?(r.transform(`translate3d(${d}px, 0, 0)`),r[0].style.width=`${c}px`):(r.transform(`translate3d(0px, ${d}px, 0)`),r[0].style.height=`${c}px`),a.hide&&(clearTimeout(u),s[0].style.opacity=1,u=setTimeout((()=>{s[0].style.opacity=0,s.transition(400)}),1e3))}function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:i,$el:n}=t;i[0].style.width="",i[0].style.height="",l=e.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,c=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),o="auto"===e.params.scrollbar.dragSize?l*c:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?i[0].style.width=`${o}px`:i[0].style.height=`${o}px`,n[0].style.display=c>=1?"none":"",e.params.scrollbar.hide&&(n[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function g(t){return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY}function y(t){const{scrollbar:i,rtlTranslate:n}=e,{$el:r}=i;let a;a=(g(t)-r.offset()[e.isHorizontal()?"left":"top"]-(null!==s?s:o/2))/(l-o),a=Math.max(Math.min(a,1),0),n&&(a=1-a);const c=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*a;e.updateProgress(c),e.setTranslate(c),e.updateActiveIndex(),e.updateSlidesClasses()}function b(t){const i=e.params.scrollbar,{scrollbar:r,$wrapperEl:a}=e,{$el:o,$dragEl:l}=r;d=!0,s=t.target===l[0]||t.target===l?g(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),a.transition(100),l.transition(100),y(t),clearTimeout(p),o.transition(0),i.hide&&o.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),n("scrollbarDragStart",t)}function w(t){const{scrollbar:i,$wrapperEl:r}=e,{$el:s,$dragEl:a}=i;d&&(t.preventDefault?t.preventDefault():t.returnValue=!1,y(t),r.transition(0),s.transition(0),a.transition(0),n("scrollbarDragMove",t))}function M(t){const i=e.params.scrollbar,{scrollbar:r,$wrapperEl:s}=e,{$el:a}=r;d&&(d=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),s.transition("")),i.hide&&(clearTimeout(p),p=v((()=>{a.css("opacity",0),a.transition(400)}),1e3)),n("scrollbarDragEnd",t),i.snapOnRelease&&e.slideToClosest())}function x(t){const{scrollbar:i,touchEventsTouch:n,touchEventsDesktop:s,params:a,support:o}=e,l=i.$el;if(!l)return;const c=l[0],d=!(!o.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},u=!(!o.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};if(!c)return;const p="on"===t?"addEventListener":"removeEventListener";o.touch?(c[p](n.start,b,d),c[p](n.move,w,d),c[p](n.end,M,u)):(c[p](s.start,b,d),r[p](s.move,w,d),r[p](s.end,M,u))}function E(){const{scrollbar:t,$el:i}=e;e.params.scrollbar=J(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const n=e.params.scrollbar;if(!n.el)return;let r=m(n.el);e.params.uniqueNavElements&&"string"==typeof n.el&&r.length>1&&1===i.find(n.el).length&&(r=i.find(n.el)),r.addClass(e.isHorizontal()?n.horizontalClass:n.verticalClass);let s=r.find(`.${e.params.scrollbar.dragClass}`);0===s.length&&(s=m(`<div class="${e.params.scrollbar.dragClass}"></div>`),r.append(s)),Object.assign(t,{$el:r,el:r[0],$dragEl:s,dragEl:s[0]}),n.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&x("on"),r&&r[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function _(){const t=e.params.scrollbar,i=e.scrollbar.$el;i&&i.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.params.scrollbar.el&&e.scrollbar.el&&x("off")}t({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,$el:null,$dragEl:null},i("init",(()=>{!1===e.params.scrollbar.enabled?C():(E(),f(),h())})),i("update resize observerUpdate lock unlock",(()=>{f()})),i("setTranslate",(()=>{h()})),i("setTransition",((t,i)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)}(i)})),i("enable disable",(()=>{const{$el:t}=e.scrollbar;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)})),i("destroy",(()=>{_()}));const C=()=>{e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass),_()};Object.assign(e.scrollbar,{enable:()=>{e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),e.scrollbar.$el&&e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass),E(),f(),h()},disable:C,updateSize:f,setTranslate:h,init:E,destroy:_})}function re({swiper:e,extendParams:t,on:i}){t({parallax:{enabled:!1}});const n=(t,i)=>{const{rtl:n}=e,r=m(t),s=n?-1:1,a=r.attr("data-swiper-parallax")||"0";let o=r.attr("data-swiper-parallax-x"),l=r.attr("data-swiper-parallax-y");const c=r.attr("data-swiper-parallax-scale"),d=r.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):e.isHorizontal()?(o=a,l="0"):(l=a,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*i*s+"%":o*i*s+"px",l=l.indexOf("%")>=0?parseInt(l,10)*i+"%":l*i+"px",null!=d){const e=d-(d-1)*(1-Math.abs(i));r[0].style.opacity=e}if(null==c)r.transform(`translate3d(${o}, ${l}, 0px)`);else{const e=c-(c-1)*(1-Math.abs(i));r.transform(`translate3d(${o}, ${l}, 0px) scale(${e})`)}},r=()=>{const{$el:t,slides:i,progress:r,snapGrid:s}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,r)})),i.each(((t,i)=>{let a=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(a+=Math.ceil(i/2)-r*(s.length-1)),a=Math.min(Math.max(a,-1),1),m(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{n(e,a)}))}))};i("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),i("init",(()=>{e.params.parallax.enabled&&r()})),i("setTranslate",(()=>{e.params.parallax.enabled&&r()})),i("setTransition",((t,i)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{$el:i}=e;i.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const i=m(e);let n=parseInt(i.attr("data-swiper-parallax-duration"),10)||t;0===t&&(n=0),i.transition(n)}))})(i)}))}function se({swiper:e,extendParams:t,on:i,emit:n}){const r=l();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let s,a,o,c=1,d=!1;const u={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},p={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:{}},h={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let f=1;function g(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,r=e.targetTouches[1].pageY;return Math.sqrt((n-t)**2+(r-i)**2)}function v(t){const i=e.support,n=e.params.zoom;if(a=!1,o=!1,!i.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;a=!0,u.scaleStart=g(t)}u.$slideEl&&u.$slideEl.length||(u.$slideEl=m(t.target).closest(`.${e.params.slideClass}`),0===u.$slideEl.length&&(u.$slideEl=e.slides.eq(e.activeIndex)),u.$imageEl=u.$slideEl.find(`.${n.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),u.$imageWrapEl=u.$imageEl.parent(`.${n.containerClass}`),u.maxRatio=u.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==u.$imageWrapEl.length)?(u.$imageEl&&u.$imageEl.transition(0),d=!0):u.$imageEl=void 0}function y(t){const i=e.support,n=e.params.zoom,r=e.zoom;if(!i.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;o=!0,u.scaleMove=g(t)}u.$imageEl&&0!==u.$imageEl.length?(i.gestures?r.scale=t.scale*c:r.scale=u.scaleMove/u.scaleStart*c,r.scale>u.maxRatio&&(r.scale=u.maxRatio-1+(r.scale-u.maxRatio+1)**.5),r.scale<n.minRatio&&(r.scale=n.minRatio+1-(n.minRatio-r.scale+1)**.5),u.$imageEl.transform(`translate3d(0,
24390,0) scale(${r.scale})`)):"gesturechange"===t.type&&v(t)}function w(t){const i=e.device,n=e.support,r=e.params.zoom,s=e.zoom;if(!n.gestures){if(!a||!o)return;if("touchend"!==t.type||"touchend"===t.type&&t.changedTouches.length<2&&!i.android)return;a=!1,o=!1}u.$imageEl&&0!==u.$imageEl.length&&(s.scale=Math.max(Math.min(s.scale,u.maxRatio),r.minRatio),u.$imageEl.transition(e.params.speed).transform(`translate3d(0,0,0) scale(${s.scale})`),c=s.scale,d=!1,1===s.scale&&(u.$slideEl=void 0))}function M(t){const i=e.zoom;if(!u.$imageEl||0===u.$imageEl.length)return;if(e.allowClick=!1,!p.isTouched||!u.$slideEl)return;p.isMoved||(p.width=u.$imageEl[0].offsetWidth,p.height=u.$imageEl[0].offsetHeight,p.startX=b(u.$imageWrapEl[0],"x")||0,p.startY=b(u.$imageWrapEl[0],"y")||0,u.slideWidth=u.$slideEl[0].offsetWidth,u.slideHeight=u.$slideEl[0].offsetHeight,u.$imageWrapEl.transition(0));const n=p.width*i.scale,r=p.height*i.scale;if(!(n<u.slideWidth&&r<u.slideHeight)){if(p.minX=Math.min(u.slideWidth/2-n/2,0),p.maxX=-p.minX,p.minY=Math.min(u.slideHeight/2-r/2,0),p.maxY=-p.minY,p.touchesCurrent.x="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,p.touchesCurrent.y="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,!p.isMoved&&!d){if(e.isHorizontal()&&(Math.floor(p.minX)===Math.floor(p.startX)&&p.touchesCurrent.x<p.touchesStart.x||Math.floor(p.maxX)===Math.floor(p.startX)&&p.touchesCurrent.x>p.touchesStart.x))return void(p.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(p.minY)===Math.floor(p.startY)&&p.touchesCurrent.y<p.touchesStart.y||Math.floor(p.maxY)===Math.floor(p.startY)&&p.touchesCurrent.y>p.touchesStart.y))return void(p.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),p.isMoved=!0,p.currentX=p.touchesCurrent.x-p.touchesStart.x+p.startX,p.currentY=p.touchesCurrent.y-p.touchesStart.y+p.startY,p.currentX<p.minX&&(p.currentX=p.minX+1-(p.minX-p.currentX+1)**.8),p.currentX>p.maxX&&(p.currentX=p.maxX-1+(p.currentX-p.maxX+1)**.8),p.currentY<p.minY&&(p.currentY=p.minY+1-(p.minY-p.currentY+1)**.8),p.currentY>p.maxY&&(p.currentY=p.maxY-1+(p.currentY-p.maxY+1)**.8),h.prevPositionX||(h.prevPositionX=p.touchesCurrent.x),h.prevPositionY||(h.prevPositionY=p.touchesCurrent.y),h.prevTime||(h.prevTime=Date.now()),h.x=(p.touchesCurrent.x-h.prevPositionX)/(Date.now()-h.prevTime)/2,h.y=(p.touchesCurrent.y-h.prevPositionY)/(Date.now()-h.prevTime)/2,Math.abs(p.touchesCurrent.x-h.prevPositionX)<2&&(h.x=0),Math.abs(p.touchesCurrent.y-h.prevPositionY)<2&&(h.y=0),h.prevPositionX=p.touchesCurrent.x,h.prevPositionY=p.touchesCurrent.y,h.prevTime=Date.now(),u.$imageWrapEl.transform(`translate3d(${p.currentX}px, ${p.currentY}px,0)`)}}function x(){const t=e.zoom;u.$slideEl&&e.previousIndex!==e.activeIndex&&(u.$imageEl&&u.$imageEl.transform("translate3d(0,0,0) scale(1)"),u.$imageWrapEl&&u.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,c=1,u.$slideEl=void 0,u.$imageEl=void 0,u.$imageWrapEl=void 0)}function E(t){const i=e.zoom,n=e.params.zoom;if(u.$slideEl||(t&&t.target&&(u.$slideEl=m(t.target).closest(`.${e.params.slideClass}`)),u.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):u.$slideEl=e.slides.eq(e.activeIndex)),u.$imageEl=u.$slideEl.find(`.${n.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),u.$imageWrapEl=u.$imageEl.parent(`.${n.containerClass}`)),!u.$imageEl||0===u.$imageEl.length||!u.$imageWrapEl||0===u.$imageWrapEl.length)return;let s,a,o,l,d,h,f,g,v,y,b,w,M,x,E,_,C,T;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),u.$slideEl.addClass(`${n.zoomedSlideClass}`),void 0===p.touchesStart.x&&t?(s="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,a="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(s=p.touchesStart.x,a=p.touchesStart.y),i.scale=u.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,c=u.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,t?(C=u.$slideEl[0].offsetWidth,T=u.$slideEl[0].offsetHeight,o=u.$slideEl.offset().left+r.scrollX,l=u.$slideEl.offset().top+r.scrollY,d=o+C/2-s,h=l+T/2-a,v=u.$imageEl[0].offsetWidth,y=u.$imageEl[0].offsetHeight,b=v*i.scale,w=y*i.scale,M=Math.min(C/2-b/2,0),x=Math.min(T/2-w/2,0),E=-M,_=-x,f=d*i.scale,g=h*i.scale,f<M&&(f=M),f>E&&(f=E),g<x&&(g=x),g>_&&(g=_)):(f=0,g=0),u.$imageWrapEl.transition(300).transform(`translate3d(${f}px, ${g}
2439px,0)`),u.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${i.scale})`)}function _(){const t=e.zoom,i=e.params.zoom;u.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):u.$slideEl=e.slides.eq(e.activeIndex),u.$imageEl=u.$slideEl.find(`.${i.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),u.$imageWrapEl=u.$imageEl.parent(`.${i.containerClass}`)),u.$imageEl&&0!==u.$imageEl.length&&u.$imageWrapEl&&0!==u.$imageWrapEl.length&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,c=1,u.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),u.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),u.$slideEl.removeClass(`${i.zoomedSlideClass}`),u.$slideEl=void 0)}function C(t){const i=e.zoom;i.scale&&1!==i.scale?_():E(t)}function T(){const t=e.support;return{passiveListener:!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!t.passiveListener||{passive:!1,capture:!0}}}function S(){return`.${e.params.slideClass}`}function I(t){const{passiveListener:i}=T(),n=S();e.$wrapperEl[t]("gesturestart",n,v,i),e.$wrapperEl[t]("gesturechange",n,y,i),e.$wrapperEl[t]("gestureend",n,w,i)}function A(){s||(s=!0,I("on"))}function j(){s&&(s=!1,I("off"))}function $(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const i=e.support,{passiveListener:n,activeListenerWithCapture:r}=T(),s=S();i.gestures?(e.$wrapperEl.on(e.touchEvents.start,A,n),e.$wrapperEl.on(e.touchEvents.end,j,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,s,v,n),e.$wrapperEl.on(e.touchEvents.move,s,y,r),e.$wrapperEl.on(e.touchEvents.end,s,w,n),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,s,w,n)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,M,r)}function O(){const t=e.zoom;if(!t.enabled)return;const i=e.support;t.enabled=!1;const{passiveListener:n,activeListenerWithCapture:r}=T(),s=S();i.gestures?(e.$wrapperEl.off(e.touchEvents.start,A,n),e.$wrapperEl.off(e.touchEvents.end,j,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,s,v,n),e.$wrapperEl.off(e.touchEvents.move,s,y,r),e.$wrapperEl.off(e.touchEvents.end,s,w,n),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,s,w,n)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,M,r)}Object.defineProperty(e.zoom,"scale",{get:()=>f,set(e){if(f!==e){const t=u.$imageEl?u.$imageEl[0]:void 0,i=u.$slideEl?u.$slideEl[0]:void 0;n("zoomChange",e,t,i)}f=e}}),i("init",(()=>{e.params.zoom.enabled&&$()})),i("destroy",(()=>{O()})),i("touchStart",((t,i)=>{e.zoom.enabled&&function(t){const i=e.device;u.$imageEl&&0!==u.$imageEl.length&&(p.isTouched||(i.android&&t.cancelable&&t.preventDefault(),p.isTouched=!0,p.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,p.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))}(i)})),i("touchEnd",((t,i)=>{e.zoom.enabled&&function(){const t=e.zoom;if(!u.$imageEl||0===u.$imageEl.length)return;if(!p.isTouched||!p.isMoved)return p.isTouched=!1,void(p.isMoved=!1);p.isTouched=!1,p.isMoved=!1;let i=300,n=300;const r=h.x*i,s=p.currentX+r,a=h.y*n,o=p.currentY+a;0!==h.x&&(i=Math.abs((s-p.currentX)/h.x)),0!==h.y&&(n=Math.abs((o-p.currentY)/h.y));const l=Math.max(i,n);p.currentX=s,p.currentY=o;const c=p.width*t.scale,d=p.height*t.scale;p.minX=Math.min(u.slideWidth/2-c/2,0),p.maxX=-p.minX,p.minY=Math.min(u.slideHeight/2-d/2,0),p.maxY=-p.minY,p.currentX=Math.max(Math.min(p.currentX,p.maxX),p.minX),p.currentY=Math.max(Math.min(p.currentY,p.maxY),p.minY),u.$imageWrapEl.transition(l).transform(`translate3d(${p.currentX}px, ${p.currentY}px,0)`)}()})),i("doubleTap",((t,i)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&C(i)})),i("transitionEnd",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&x()})),i("slideChange",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&x()})),Object.assign(e.zoom,{enable:$,disable:O,in:E,out:_,toggle:C})}function ae({swiper:e,extendParams:t,on:i,emit:n}){t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let r=!1,s=!1;function a(t,i=!0){const r=e.params.lazy;if(void 0===t)return;if(0===e.slides.length)return;const s=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`):e.slides.eq(t),o=s.find(`.${r.elementClass}:not(.${r.loadedClass}):not(.${r.loadingClass})`);!s.hasClass(r.elementClass)||s.hasClass(r.loadedClass)||s.hasClass(r.loadingClass)||o.push(s[0]),0!==o.length&&o.each((t=>{const o=m(t);o.addClass(r.loadingClass);const l=o.attr("data-background"),c=o.attr("data-src"),d=o.attr("data-srcset"),u=o.attr("data-sizes"),p=o.parent("picture");
2439e.loadImage(o[0],c||l,d,u,!1,(()=>{if(null!=e&&e&&(!e||e.params)&&!e.destroyed){if(l?(o.css("background-image",`url("${l}")`),o.removeAttr("data-background")):(d&&(o.attr("srcset",d),o.removeAttr("data-srcset")),u&&(o.attr("sizes",u),o.removeAttr("data-sizes")),p.length&&p.children("source").each((e=>{const t=m(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),c&&(o.attr("src",c),o.removeAttr("data-src"))),o.addClass(r.loadedClass).removeClass(r.loadingClass),s.find(`.${r.preloaderClass}`).remove(),e.params.loop&&i){const t=s.attr("data-swiper-slide-index");s.hasClass(e.params.slideDuplicateClass)?a(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(),!1):a(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(),!1)}n("lazyImageReady",s[0],o[0]),e.params.autoHeight&&e.updateAutoHeight()}})),n("lazyImageLoad",s[0],o[0])}))}function o(){const{$wrapperEl:t,params:i,slides:n,activeIndex:r}=e,o=e.virtual&&i.virtual.enabled,l=i.lazy;let c=i.slidesPerView;function d(e){if(o){if(t.children(`.${i.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(n[e])return!0;return!1}function u(e){return o?m(e).attr("data-swiper-slide-index"):m(e).index()}if("auto"===c&&(c=0),s||(s=!0),e.params.watchSlidesProgress)t.children(`.${i.slideVisibleClass}`).each((e=>{a(o?m(e).attr("data-swiper-slide-index"):m(e).index())}));else if(c>1)for(let e=r;e<r+c;e+=1)d(e)&&a(e);else a(r);if(l.loadPrevNext)if(c>1||l.loadPrevNextAmount&&l.loadPrevNextAmount>1){const e=l.loadPrevNextAmount,t=Math.ceil(c),i=Math.min(r+t+Math.max(e,t),n.length),s=Math.max(r-Math.max(t,e),
24390);for(let e=r+t;e<i;e+=1)d(e)&&a(e);for(let e=s;e<r;e+=1)d(e)&&a(e)}else{const e=t.children(`.${i.slideNextClass}`);e.length>0&&a(u(e));const n=t.children(`.${i.slidePrevClass}`);n.length>0&&a(u(n))}}function c(){const t=l();if(!e||e.destroyed)return;const i=e.params.lazy.scrollingElement?m(e.params.lazy.scrollingElement):m(t),n=i[0]===t,s=n?t.innerWidth:i[0].offsetWidth,a=n?t.innerHeight:i[0].offsetHeight,d=e.$el.offset(),{rtlTranslate:u}=e;let p=!1;u&&(d.left-=e.$el[0].scrollLeft);const h=[[d.left,d.top],[d.left+e.width,d.top],[d.left,d.top+e.height],[d.left+e.width,d.top+e.height]];for(let e=0;e<h.length;e+=1){const t=h[e];if(t[0]>=0&&t[0]<=s&&t[1]>=0&&t[1]<=a){if(0===t[0]&&0===t[1])continue;p=!0}}const f=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};p?(o(),i.off("scroll",c,f)):r||(r=!0,i.on("scroll",c,f))}i("beforeInit",(()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)})),i("init",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():o())})),i("scroll",(()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&o()})),i("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():o())})),i("transitionStart",(()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!s)&&(e.params.lazy.checkInView?c():o())})),i("transitionEnd",(()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?c():o())})),i("slideChange",(()=>{const{lazy:t,cssMode:i,watchSlidesProgress:n,touchReleaseOnEdges:r,resistanceRatio:s}=e.params;t.enabled&&(i||n&&(r||0===s))&&o()})),i("destroy",(()=>{e.$el&&e.$el.find(`.${e.params.lazy.loadingClass}`).removeClass(e.params.lazy.loadingClass)})),Object.assign(e.lazy,{load:o,loadInSlide:a})}function oe({swiper:e,extendParams:t,on:i}){function n(e,t){const i=function(){let e,t,i;return(n,r)=>{for(t=-1,e=n.length;e-t>1;)i=e+t>>1,n[i]<=r?t=i:e=i;return e}}();let n,r;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(r=i(this.x,e),n=r-1,(e-this.x[n])*(this.y[r]-this.y[n])/(this.x[r]-this.x[n])+this.y[n]):0},this}function r(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},i("beforeInit",(()=>{e.controller.control=e.params.controller.control})),i("update",(()=>{r()})),i("resize",(()=>{r()})),i("observerUpdate",(()=>{r()})),i("setTranslate",((t,i,n)=>{e.controller.control&&e.controller.setTranslate(i,n)})),i("setTransition",((t,i,n)=>{e.controller.control&&e.controller.setTransition(i,n)})),Object.assign(e.controller,{setTranslate:function(t,i){const r=e.controller.control;let s,a;const o=e.constructor;function l(t){const i=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(function(t){e.controller.spline||(e.controller.spline=e.params.loop?new n(e.slidesGrid,t.slidesGrid):new n(e.snapGrid,t.snapGrid))}(t),a=-e.controller.spline.interpolate(-i)),a&&"container"!==e.params.controller.by||(s=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),a=(i-e.minTranslate())*s+t.minTranslate()),e.params.controller.inverse&&(a=t.maxTranslate()-a),t.updateProgress(a),t.setTranslate(a,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(r))for(let e=0;e<r.length;e+=1)r[e]!==i&&r[e]instanceof o&&l(r[e]);else r instanceof o&&i!==r&&l(r)},setTransition:function(t,i){const n=e.constructor,r=e.controller.control;let s;function a(i){i.setTransition(t,e),0!==t&&(i.transitionStart(),i.params.autoHeight&&v((()=>{i.updateAutoHeight()})),i.$wrapperEl.transitionEnd((()=>{r&&(i.params.loop&&"slide"===e.params.controller.by&&i.loopFix(),i.transitionEnd())})))}if(Array.isArray(r))for(s=0;s<r.length;s+=1)r[s]!==i&&r[s]instanceof n&&a(r[s]);else r instanceof n&&i!==r&&a(r)}})}function le({swiper:e,extendParams:t,on:i}){t({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,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let n=null;function r(e){const t=n;0!==t.length&&(t.html(""),t.html(e))}function s(e){e.attr("tabIndex","0")}function a(e){e.attr("tabIndex","-1")}function o(e,t){e.attr("role",t)}function l(e,t){e.attr("aria-roledescription",t)}function c(e,t){e.attr("aria-label",t)}function d(e){e.attr("aria-disabled",!0)}function u(e){e.attr("aria-disabled",!1)}function p(t){if(13!==t.keyCode&&32!==t.keyCode)return;const i=e.params.a11y,n=m(t.target);e.navigation&&e.navigation.$nextEl&&n.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?r(i.lastSlideMessage):r(i.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&n.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?r(i.firstSlideMessage):r(i.prevSlideMessage)),e.pagination&&n.is(te(e.params.pagination.bulletClass))&&n[0].click()}function h(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function f(){return h()&&e.params.pagination.clickable}const g=(e,t,i)=>
2439{s(e),"BUTTON"!==e[0].tagName&&(o(e,"button"),e.on("keydown",p)),c(e,i),function(e,t){e.attr("aria-controls",t)}(e,t)},v=()=>{e.a11y.clicked=!0},y=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.destroyed||(e.a11y.clicked=!1)}))}))},b=t=>{if(e.a11y.clicked)return;const i=t.target.closest(`.${e.params.slideClass}`);if(!i||!e.slides.includes(i))return;const n=e.slides.indexOf(i)===e.activeIndex,r=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(i);n||r||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(i),0))},w=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&l(m(e.slides),t.itemRoleDescriptionMessage),t.slideRole&&o(m(e.slides),t.slideRole);const i=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;t.slideLabelMessage&&e.slides.each(((n,r)=>{const s=m(n),a=e.params.loop?parseInt(s.attr("data-swiper-slide-index"),10):r;c(s,t.slideLabelMessage.replace(/\{\{index\}\}/,a+1).replace(/\{\{slidesLength\}\}/,i))}))};i("beforeInit",(()=>{n=m(`<span class="${e.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)})),i("afterInit",(()=>{e.params.a11y.enabled&&(()=>{const t=e.params.a11y;e.$el.append(n);const i=e.$el;t.containerRoleDescriptionMessage&&l(i,t.containerRoleDescriptionMessage),t.containerMessage&&c(i,t.containerMessage);const r=e.$wrapperEl,s=t.id||r.attr("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,a=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var o;let d,u;o=s,r.attr("id",o),function(e,t){e.attr("aria-live",t)}(r,a),w(),e.navigation&&e.navigation.$nextEl&&(d=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(u=e.navigation.$prevEl),d&&d.length&&g(d,s,t.nextSlideMessage),u&&u.length&&g(u,s,t.prevSlideMessage),f()&&e.pagination.$el.on("keydown",te(e.params.pagination.bulletClass),p),e.$el.on("focus",b,!0),e.$el.on("pointerdown",v,!0),e.$el.on("pointerup",y,!0)})()})),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{e.params.a11y.enabled&&w()})),i("fromEdge toEdge afterInit lock unlock",(()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:t,$prevEl:i}=e.navigation;i&&i.length>0&&(e.isBeginning?(d(i),a(i)):(u(i),s(i))),t&&t.length>0&&(e.isEnd?(d(t),a(t)):(u(t),s(t)))}()})),i("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;h()&&e.pagination.bullets.each((i=>{const n=m(i);e.params.pagination.clickable&&(s(n),e.params.pagination.renderBullet||(o(n,"button"),c(n,t.paginationBulletMessage.replace(/\{\{index\}\}/,n.index()+1)))),n.is(`.${e.params.pagination.bulletActiveClass}`)?n.attr("aria-current","true"):n.removeAttr("aria-current")}))}()})),i("destroy",(()=>{e.params.a11y.enabled&&function(){let t,i;n&&n.length>0&&n.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(i=e.navigation.$prevEl),t&&t.off("keydown",p),i&&i.off("keydown",p),f()&&e.pagination.$el.off("keydown",te(e.params.pagination.bulletClass),p),e.$el.off("focus",b,!0),e.$el.off("pointerdown",v,!0),e.$el.off("pointerup",y,!0)}()}))}function ce({swiper:e,extendParams:t,on:i}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,r={};const s=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=e=>{const t=l();let i;i=e?new URL(e):t.location;const n=i.pathname.slice(1).split("/").filter((e=>""!==e)),r=n.length;return{key:n[r-2],value:n[r-1]}},o=(t,i)=>{const r=l();if(!n||!e.params.history.enabled)return;let a;a=e.params.url?new URL(e.params.url):r.location;const o=e.slides.eq(i);let c=s(o.attr("data-history"));if(e.params.history.root.length>0){let i=e.params.history.root;"/"===i[i.length-1]&&(i=i.slice(0,i.length-1)),c=`${i}/${t}/${c}`}else a.pathname.includes(t)||(c=`${t}/${c}`);e.params.history.keepQuery&&(c+=a.search);const d=r.history.state;d&&d.value===c||(e.params.history.replaceState?r.history.replaceState({value:c},null,c):r.history.pushState({value:c},null,c))},c=(t,i,n)=>{if(i)for(let r=0,a=e.slides.length;r<a;r+=1){const a=e.slides.eq(r);if(s(a.attr("data-history"))===i&&!a.hasClass(e.params.slideDuplicateClass)){const i=a.index();e.slideTo(i,t,n)}}else e.slideTo(0,t,n)},d=()=>{r=a(e.params.url),c(e.params.speed,r.value,!1)};i("init",(()=>{e.params.history.enabled&&(()=>{const t=l();
2439if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);n=!0,r=a(e.params.url),(r.key||r.value)&&(c(0,r.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",d))}})()})),i("destroy",(()=>{e.params.history.enabled&&(()=>{const t=l();e.params.history.replaceState||t.removeEventListener("popstate",d)})()})),i("transitionEnd _freeModeNoMomentumRelease",(()=>{n&&o(e.params.history.key,e.activeIndex)})),i("slideChange",(()=>{n&&e.params.cssMode&&o(e.params.history.key,e.activeIndex)}))}function de({swiper:e,extendParams:t,emit:i,on:n}){let r=!1;const s=a(),o=l();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const c=()=>{i("hashChange");const t=s.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const i=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===i)return;e.slideTo(i)}},d=()=>{if(r&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&o.history&&o.history.replaceState)o.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),i("hashSet");else{const t=e.slides.eq(e.activeIndex),n=t.attr("data-hash")||t.attr("data-history");s.location.hash=n||"",i("hashSet")}};n("init",(()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;r=!0;const t=s.location.hash.replace("#","");if(t){const i=0;for(let n=0,r=e.slides.length;n<r;n+=1){const r=e.slides.eq(n);if((r.attr("data-hash")||r.attr("data-history"))===t&&!r.hasClass(e.params.slideDuplicateClass)){const t=r.index();e.slideTo(t,i,e.params.runCallbacksOnInit,!0)}}}e.params.hashNavigation.watchState&&m(o).on("hashchange",c)})()})),n("destroy",(()=>{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&m(o).off("hashchange",c)})),n("transitionEnd _freeModeNoMomentumRelease",(()=>{r&&d()})),n("slideChange",(()=>{r&&e.params.cssMode&&d()}))}function ue({swiper:e,extendParams:t,on:i,emit:n}){let r;function s(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const t=e.slides.eq(e.activeIndex);let i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(r),r=v((()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),n("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?l(
2439):(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),n("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),n("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),n("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?l():(t=e.slideTo(0,e.params.speed,!0,!0),n("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),n("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&s()}),i)}function o(){return void 0===r&&!e.autoplay.running&&(e.autoplay.running=!0,n("autoplayStart"),s(),!0)}function l(){return!!e.autoplay.running&&void 0!==r&&(r&&(clearTimeout(r),r=void 0),e.autoplay.running=!1,n("autoplayStop"),!0)}function c(t){e.autoplay.running&&(e.autoplay.paused||(r&&clearTimeout(r),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].addEventListener(t,u)})):(e.autoplay.paused=!1,s())))}function d(){const t=a();"hidden"===t.visibilityState&&e.autoplay.running&&c(),"visible"===t.visibilityState&&e.autoplay.paused&&(s(),e.autoplay.paused=!1)}function u(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)})),e.autoplay.paused=!1,e.autoplay.running?s():l())}function p(){e.params.autoplay.disableOnInteraction?l():(n("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)}))}function h(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,n("autoplayResume"),s())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),i("init",(()=>{e.params.autoplay.enabled&&(o(),a().addEventListener("visibilitychange",d),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",p),e.$el.on("mouseleave",h)))})),i("beforeTransitionStart",((t,i,n)=>{e.autoplay.running&&(n||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(i):l())})),i("sliderFirstMove",(()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?l():c())})),i("touchEnd",(()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&s()})),i("destroy",(()=>{e.$el.off("mouseenter",p),e.$el.off("mouseleave",h),e.autoplay.running&&l(),a().removeEventListener("visibilitychange",d)})),Object.assign(e.autoplay,{pause:c,run:s,start:o,stop:l})}function pe({swiper:e,extendParams:t,on:i}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let n=!1,r=!1;function s(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const i=t.clickedIndex,n=t.clickedSlide;if(n&&m(n).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==i)return;let r;if(r=t.params.loop?parseInt(m(t.clickedSlide).attr("data-swiper-slide-index"),10):i,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const i=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${r}"]`).eq(0).index(),n=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${r}"]`).eq(0).index();r=void 0===i?n:void 0===n?i:n-t<t-i?n:i}e.slideTo(r)}function a(){const{thumbs:t}=e.params;if(n)return!1;n=!0;const i=e.constructor;if(t.swiper instanceof i)e.thumbs.swiper=t.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1});else if(w(t.swiper)){const n=Object.assign({},t.swiper);Object.assign(n,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new i(n),r=!0}return e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",s),!0}function o(t){const i=e.thumbs.swiper;if(!i||i.destroyed)return;const n="auto"===i.params.slidesPerView?i.slidesPerViewDynamic():i.params.slidesPerView;let r=1;const s=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(r=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),i.slides.removeClass(s),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(let t=0;t<r;t+=1)i.$wrapperEl.children(`[data-swiper-slide-index="${e.realIndex+t}"]`).addClass(s);else for(let t=0;t<r;t+=1)i.slides.eq(e.realIndex+t).addClass(s);const a=e.params.thumbs.autoScrollOffset,o=a&&!i.params.loop;if(e.realIndex!==i.realIndex||o){let r,s,l=i.activeIndex;if(i.params.loop){i.slides.eq(l).hasClass(i.params.slideDuplicateClass)&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,l=i.activeIndex);const t=i.slides.eq(l).prevAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index(),n=i.slides.eq(l).nextAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index();r=void 0===t?n:void 0===n?t:n-l==l-t?i.params.slidesPerGroup>1?n:l:n-l<l-t?n:t,s=e.activeIndex>e.previousIndex?"next":"prev"}else r=e.realIndex,s=r>e.previousIndex?"next":"prev";o&&(r+="next"===s?a:-1*a),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(r)<0&&(i.params.centeredSlides?r=r>l?r-Math.floor(n/2)+1:r+Math.floor(n/2)-1:r>l&&i.params.slidesPerGroup,i.slideTo(r,t?0:void 0))}}e.thumbs={swiper:null},i("beforeInit",(()=>{const{thumbs:t}=e.params;t&&t.swiper&&(a(),o(!0))})),i("slideChange update resize observerUpdate",(()=>{o()})),i("setTransition",((t,i)=>{const n=e.thumbs.swiper;
2439n&&!n.destroyed&&n.setTransition(i)})),i("beforeDestroy",(()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&r&&t.destroy()})),Object.assign(e.thumbs,{init:a,update:o})}function he({swiper:e,extendParams:t,emit:i,once:n}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){const{touchEventsData:t,touches:i}=e;0===t.velocities.length&&t.velocities.push({position:i[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:i[e.isHorizontal()?"currentX":"currentY"],time:y()})},onTouchEnd:function({currentPos:t}){const{params:r,$wrapperEl:s,rtlTranslate:a,snapGrid:o,touchEventsData:l}=e,c=y()-l.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length<o.length?e.slideTo(o.length-1):e.slideTo(e.slides.length-1);else{if(r.freeMode.momentum){if(l.velocities.length>1){const t=l.velocities.pop(),i=l.velocities.pop(),n=t.position-i.position,s=t.time-i.time;e.velocity=n/s,e.velocity/=2,Math.abs(e.velocity)<r.freeMode.minimumVelocity&&(e.velocity=0),(s>150||y()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeMode.momentumVelocityRatio,l.velocities.length=0;let t=1e3*r.freeMode.momentumRatio;const c=e.velocity*t;let d=e.translate+c;a&&(d=-d);let u,p=!1;const h=20*Math.abs(e.velocity)*r.freeMode.momentumBounceRatio;let f;if(d<e.maxTranslate())r.freeMode.momentumBounce?(d+e.maxTranslate()<-h&&(d=e.maxTranslate()-h),u=e.maxTranslate(),p=!0,l.allowMomentumBounce=!0):d=e.maxTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(d>e.minTranslate())r.freeMode.momentumBounce?(d-e.minTranslate()>h&&(d=e.minTranslate()+h),u=e.minTranslate(),p=!0,l.allowMomentumBounce=!0):d=e.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeMode.sticky){let t;for(let e=0;e<o.length;e+=1)if(o[e]>-d){t=e;break}d=Math.abs(o[t]-d)<Math.abs(o[t-1]-d)||"next"===e.swipeDirection?o[t]:o[t-1],d=-d}if(f&&n("transitionEnd",(()=>{e.loopFix()})),0!==e.velocity){if(t=a?Math.abs((-d-e.translate)/e.velocity):Math.abs((d-e.translate)/e.velocity),r.freeMode.sticky){const i=Math.abs((a?-d:d)-e.translate),n=e.slidesSizesGrid[e.activeIndex];t=i<n?r.speed:i<2*n?1.5*r.speed:2.5*r.speed}}else if(r.freeMode.sticky)return void e.slideToClosest();r.freeMode.momentumBounce&&p?(e.updateProgress(u),e.setTransition(t),e.setTranslate(d),e.transitionStart(!0,e.swipeDirection),e.animating=!0,s.transitionEnd((()=>{e&&!e.destroyed&&l.allowMomentumBounce&&(i("momentumBounce"),e.setTransition(r.speed),setTimeout((()=>{e.setTranslate(u),s.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(i("_freeModeNoMomentumRelease"),e.updateProgress(d),e.setTransition(t),e.setTranslate(d),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,s.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(d),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(r.freeMode.sticky)return void e.slideToClosest();r.freeMode&&i("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||c>=r.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})}function fe({swiper:e,extendParams:t}){let i,n,r;t({grid:{rows:1,fill:"column"}}),e.grid={initSlides:t=>{const{slidesPerView:s}=e.params,{rows:a,fill:o}=e.params.grid;n=i/a,r=Math.floor(t/a),i=Math.floor(t/a)===t/a?t:Math.ceil(t/a)*a,"auto"!==s&&"row"===o&&(i=Math.max(i,s*a))},updateSlide:(t,s,a,o)=>{const{slidesPerGroup:l,spaceBetween:c}=e.params,{rows:d,fill:u}=e.params.grid;let p,h,f;if("row"===u&&l>1){const e=Math.floor(t/(l*d)),n=t-d*l*e,r=0===e?l:Math.min(Math.ceil((a-e*d*l)/d),l);f=Math.floor(n/r),h=n-f*r+e*l,p=h+f*i/d,s.css({"-webkit-order":p,order:p})}else"column"===u?(h=Math.floor(t/d),f=t-h*d,(h>r||h===r&&f===d-1)&&(f+=1,f>=d&&(f=0,h+=1))):(f=Math.floor(t/n),h=t-f*n);s.css(o("margin-top"),0!==f?c&&`${c}px`:"")},updateWrapperSize:(t,n,r)=>{const{spaceBetween:s,centeredSlides:a,roundLengths:o}=e.params,{rows:l}=e.params.grid;if(e.virtualSize=(t+s)*i,e.virtualSize=Math.ceil(e.virtualSize/l)-s,e.$wrapperEl.css({[r("width")]:`${e.virtualSize+s}px`}),a){n.splice(0,n.length);const t=[];for(let i=0;i<n.length;i+=1){let r=n[i];o&&(r=Math.floor(r)),n[i]<e.virtualSize+n[0]&&t.push(r)}n.push(...t)}}}}function ge(e){const t=this,{$wrapperEl:i,params:n}=t;if(n.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&i.append(e[t]);else i.append(e);
2439n.loop&&t.loopCreate(),n.observer||t.update()}function me(e){const t=this,{params:i,$wrapperEl:n,activeIndex:r}=t;i.loop&&t.loopDestroy();let s=r+1;if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&n.prepend(e[t]);s=r+e.length}else n.prepend(e);i.loop&&t.loopCreate(),i.observer||t.update(),t.slideTo(s,0,!1)}function ve(e,t){const i=this,{$wrapperEl:n,params:r,activeIndex:s}=i;let a=s;r.loop&&(a-=i.loopedSlides,i.loopDestroy(),i.slides=n.children(`.${r.slideClass}`));const o=i.slides.length;if(e<=0)return void i.prependSlide(t);if(e>=o)return void i.appendSlide(t);let l=a>e?a+1:a;const c=[];for(let t=o-1;t>=e;t-=1){const e=i.slides.eq(t);e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&n.append(t[e]);l=a>e?a+t.length:a}else n.append(t);for(let e=0;e<c.length;e+=1)n.append(c[e]);r.loop&&i.loopCreate(),r.observer||i.update(),r.loop?i.slideTo(l+i.loopedSlides,0,!1):i.slideTo(l,0,!1)}function ye(e){const t=this,{params:i,$wrapperEl:n,activeIndex:r}=t;let s=r;i.loop&&(s-=t.loopedSlides,t.loopDestroy(),t.slides=n.children(`.${i.slideClass}`));let a,o=s;if("object"==typeof e&&"length"in e){for(let i=0;i<e.length;i+=1)a=e[i],t.slides[a]&&t.slides.eq(a).remove(),a<o&&(o-=1);o=Math.max(o,0)}else a=e,t.slides[a]&&t.slides.eq(a).remove(),a<o&&(o-=1),o=Math.max(o,0);i.loop&&t.loopCreate(),i.observer||t.update(),i.loop?t.slideTo(o+t.loopedSlides,0,!1):t.slideTo(o,0,!1)}function be(){const e=this,t=[];for(let i=0;i<e.slides.length;i+=1)t.push(i);e.removeSlide(t)}function we({swiper:e}){Object.assign(e,{appendSlide:ge.bind(e),prependSlide:me.bind(e),addSlide:ve.bind(e),removeSlide:ye.bind(e),removeAllSlides:be.bind(e)})}function Me(e){const{effect:t,swiper:i,on:n,setTranslate:r,setTransition:s,overwriteParams:a,perspective:o,recreateShadows:l,getEffectParams:c}=e;let d;n("beforeInit",(()=>{if(i.params.effect!==t)return;i.classNames.push(`${i.params.containerModifierClass}${t}`),o&&o()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const e=a?a():{};Object.assign(i.params,e),Object.assign(i.originalParams,e)})),n("setTranslate",(()=>{i.params.effect===t&&r()})),n("setTransition",((e,n)=>{i.params.effect===t&&s(n)})),n("transitionEnd",(()=>{if(i.params.effect===t&&l){if(!c||!c().slideShadows)return;i.slides.each((e=>{i.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),l()}})),n("virtualUpdate",(()=>{i.params.effect===t&&(i.slides.length||(d=!0),requestAnimationFrame((()=>{d&&i.slides&&i.slides.length&&(r(),d=!1)})))}))}function xe(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function Ee({swiper:e,duration:t,transformEl:i,allSlides:n}){const{slides:r,activeIndex:s,$wrapperEl:a}=e;if(e.params.virtualTranslate&&0!==t){let t,o=!1;t=n?i?r.find(i):r:i?r.eq(s).find(i):r.eq(s),t.transitionEnd((()=>{if(o)return;if(!e||e.destroyed)return;o=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;e<t.length;e+=1)a.trigger(t[e])}))}}function _e({swiper:e,extendParams:t,on:i}){t({fadeEffect:{crossFade:!1,transformEl:null}}),Me({effect:"fade",swiper:e,on:i,setTranslate:()=>{const{slides:t}=e,i=e.params.fadeEffect;for(let n=0;n<t.length;n+=1){const t=e.slides.eq(n);let r=-t[0].swiperSlideOffset;e.params.virtualTranslate||(r-=e.translate);let s=0;e.isHorizontal()||(s=r,r=0);const a=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);xe(i,t).css({opacity:a}).transform(`translate3d(${r}px, ${s}px, 0px)`)}},setTransition:t=>{const{transformEl:i}=e.params.fadeEffect;(i?e.slides.find(i):e.slides).transition(t),Ee({swiper:e,duration:t,transformEl:i,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Ce({swiper:e,extendParams:t,on:i}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const n=(e,t,i)=>{let n=i?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=i?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===n.length&&(n=m(`<div class="swiper-slide-shadow-${i?"left":"top"}"></div>`),e.append(n)),0===r.length&&(r=m(`<div class="swiper-slide-shadow-${i?"right":"bottom"}"></div>`),e.append(r)),n.length&&(n[0].style.opacity=Math.max(-t,0)),r.length&&(r[0].style.opacity=Math.max(t,0))};Me({effect:"cube",swiper:e,on:i,setTranslate:()=>{const{$el:t,$wrapperEl:i,slides:r,width:s,height:a,rtlTranslate:o,size:l,browser:c}=e,d=e.params.cubeEffect,u=e.isHorizontal(),p=e.virtual&&e.params.virtual.enabled;let h,f=0;d.shadow&&(u?(h=i.find(".swiper-cube-shadow"),0===h.length&&(h=m('<div class="swiper-cube-shadow"></div>'),i.append(h)),h.css({height:`${s}px`})):(h=t.find(".swiper-cube-shadow"),0===h.length&&(h=m('<div class="swiper-cube-shadow"></div>'),t.append(h))));for(let e=0;e<r.length;e+=1){const t=r.eq(e);let i=e;p&&(i=parseInt(t.attr("data-swiper-slide-index"),10));let s=90*i,a=Math.floor(s/360);o&&(s=-s,a=Math.floor(-s/360));
2439const c=Math.max(Math.min(t[0].progress,1),-1);let h=0,g=0,m=0;i%4==0?(h=4*-a*l,m=0):(i-1)%4==0?(h=0,m=4*-a*l):(i-2)%4==0?(h=l+4*a*l,m=l):(i-3)%4==0&&(h=-l,m=3*l+4*l*a),o&&(h=-h),u||(g=h,h=0);const v=`rotateX(${u?0:-s}deg) rotateY(${u?s:0}deg) translate3d(${h}px, ${g}px, ${m}px)`;c<=1&&c>-1&&(f=90*i+90*c,o&&(f=90*-i-90*c)),t.transform(v),d.slideShadows&&n(t,c,u)}if(i.css({"-webkit-transform-origin":`50% 50% -${l/2}px`,"transform-origin":`50% 50% -${l/2}px`}),d.shadow)if(u)h.transform(`translate3d(0px, ${s/2+d.shadowOffset}px, ${-s/2}px) rotateX(90deg) rotateZ(0deg) scale(${d.shadowScale})`);else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),i=d.shadowScale,n=d.shadowScale/t,r=d.shadowOffset;h.transform(`scale3d(${i}, 1, ${n}) translate3d(0px, ${a/2+r}px, ${-a/2/n}px) rotateX(-90deg)`)}const g=c.isSafari||c.isWebView?-l/2:0;i.transform(`translate3d(0px,0,${g}px) rotateX(${e.isHorizontal()?0:f}deg) rotateY(${e.isHorizontal()?-f:0}deg)`),i[0].style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:t=>{const{$el:i,slides:n}=e;n.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&i.find(".swiper-cube-shadow").transition(t)},recreateShadows:()=>{const t=e.isHorizontal();e.slides.each((e=>{const i=Math.max(Math.min(e.progress,1),-1);n(m(e),i,t)}))},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Te(e,t,i){const n="swiper-slide-shadow"+(i?`-${i}`:""),r=e.transformEl?t.find(e.transformEl):t;let s=r.children(`.${n}`);return s.length||(s=m(`<div class="swiper-slide-shadow${i?`-${i}`:""}"></div>`),r.append(s)),s}function Se({swiper:e,extendParams:t,on:i}){t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const n=(t,i,n)=>{let r=e.isHorizontal()?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),s=e.isHorizontal()?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===r.length&&(r=Te(n,t,e.isHorizontal()?"left":"top")),0===s.length&&(s=Te(n,t,e.isHorizontal()?"right":"bottom")),r.length&&(r[0].style.opacity=Math.max(-i,0)),s.length&&(s[0].style.opacity=Math.max(i,0))};Me({effect:"flip",swiper:e,on:i,setTranslate:()=>{const{slides:t,rtlTranslate:i}=e,r=e.params.flipEffect;for(let s=0;s<t.length;s+=1){const a=t.eq(s);let o=a[0].progress;e.params.flipEffect.limitRotation&&(o=Math.max(Math.min(a[0].progress,1),-1));const l=a[0].swiperSlideOffset;let c=-180*o,d=0,u=e.params.cssMode?-l-e.translate:-l,p=0;e.isHorizontal()?i&&(c=-c):(p=u,u=0,d=-c,c=0),a[0].style.zIndex=-Math.abs(Math.round(o))+t.length,r.slideShadows&&n(a,o,r);const h=`translate3d(${u}px, ${p}px, 0px) rotateX(${d}deg) rotateY(${c}deg)`;xe(r,a).transform(h)}},setTransition:t=>{const{transformEl:i}=e.params.flipEffect;(i?e.slides.find(i):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),Ee({swiper:e,duration:t,transformEl:i})},recreateShadows:()=>{const t=e.params.flipEffect;e.slides.each((i=>{const r=m(i);let s=r[0].progress;e.params.flipEffect.limitRotation&&(s=Math.max(Math.min(i.progress,1),-1)),n(r,s,t)}))},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Ie({swiper:e,extendParams:t,on:i}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),Me({effect:"coverflow",swiper:e,on:i,setTranslate:()=>{const{width:t,height:i,slides:n,slidesSizesGrid:r}=e,s=e.params.coverflowEffect,a=e.isHorizontal(),o=e.translate,l=a?t/2-o:i/2-o,c=a?s.rotate:-s.rotate,d=s.depth;for(let e=0,t=n.length;e<t;e+=1){const t=n.eq(e),i=r[e],o=(l-t[0].swiperSlideOffset-i/2)/i,u="function"==typeof s.modifier?s.modifier(o):o*s.modifier;let p=a?c*u:0,h=a?0:c*u,f=-d*Math.abs(u),g=s.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(s.stretch)/100*i);let m=a?0:g*u,v=a?g*u:0,y=1-(1-s.scale)*Math.abs(u);Math.abs(v)<.001&&(v=0),Math.abs(m)<.001&&(m=0),Math.abs(f)<.001&&(f=0),Math.abs(p)<.001&&(p=0),Math.abs(h)<.001&&(h=0),Math.abs(y)<.001&&(y=0);const b=`translate3d(${v}px,${m}px,${f}px)  rotateX(${h}deg) rotateY(${p}deg) scale(${y})`;if(xe(s,t).transform(b),t[0].style.zIndex=1-Math.abs(Math.round(u)),s.slideShadows){let e=a?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),i=a?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===e.length&&(e=Te(s,t,a?"left":"top")),0===i.length&&(i=Te(s,t,a?"right":"bottom")),e.length&&(e[0].style.opacity=u>0?u:0),i.length&&(i[0].style.opacity=-u>0?-u:0)}}},setTransition:t=>{const{transformEl:i}=e.params.coverflowEffect;(i?e.slides.find(i):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function Ae({swiper:e,extendParams:t,on:i}){t({creativeEffect:{transformEl:null,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 n=e=>"string"==typeof e?e:`${e}px`;Me({effect:"creative",swiper:e,on:i,setTranslate:()=>{const{slides:t,$wrapperEl:i,slidesSizesGrid:r}=e,s=e.params.creativeEffect,{progressMultiplier:a}=s,o=e.params.centeredSlides;if(o){const t=r[0]/2-e.params.slidesOffsetBefore||0;i.transform(`translateX(calc(50% - ${t}px))`)}for(let i=0;i<t.length;i+=1){const r=t.eq(i),l=r[0].progress,c=Math.min(Math.max(r[0].progress,-s.limitProgress),s.limitProgress);let d=c;o||(d=Math.min(Math.max(r[0].originalProgress,-s.limitProgress),s.limitProgress));const u=r[0].swiperSlideOffset,p=[e.params.cssMode?-u-e.translate:-u,0,0],h=[0,0,0];let f=!1;e.isHorizontal()||(p[1]=p[0],p[0]=0);
2439let g={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(g=s.next,f=!0):c>0&&(g=s.prev,f=!0),p.forEach(((e,t)=>{p[t]=`calc(${e}px + (${n(g.translate[t])} * ${Math.abs(c*a)}))`})),h.forEach(((e,t)=>{h[t]=g.rotate[t]*Math.abs(c*a)})),r[0].style.zIndex=-Math.abs(Math.round(l))+t.length;const m=p.join(", "),v=`rotateX(${h[0]}deg) rotateY(${h[1]}deg) rotateZ(${h[2]}deg)`,y=d<0?`scale(${1+(1-g.scale)*d*a})`:`scale(${1-(1-g.scale)*d*a})`,b=d<0?1+(1-g.opacity)*d*a:1-(1-g.opacity)*d*a,w=`translate3d(${m}) ${v} ${y}`;if(f&&g.shadow||!f){let e=r.children(".swiper-slide-shadow");if(0===e.length&&g.shadow&&(e=Te(s,r)),e.length){const t=s.shadowPerProgress?c*(1/s.limitProgress):c;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const M=xe(s,r);M.transform(w).css({opacity:b}),g.origin&&M.css("transform-origin",g.origin)}},setTransition:t=>{const{transformEl:i}=e.params.creativeEffect;(i?e.slides.find(i):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),Ee({swiper:e,duration:t,transformEl:i,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function je({swiper:e,extendParams:t,on:i}){t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),Me({effect:"cards",swiper:e,on:i,setTranslate:()=>{const{slides:t,activeIndex:i}=e,n=e.params.cardsEffect,{startTranslate:r,isTouched:s}=e.touchEventsData,a=e.translate;for(let o=0;o<t.length;o+=1){const l=t.eq(o),c=l[0].progress,d=Math.min(Math.max(c,-4),4);let u=l[0].swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&e.$wrapperEl.transform(`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(u-=t[0].swiperSlideOffset);let p=e.params.cssMode?-u-e.translate:-u,h=0;const f=-100*Math.abs(d);let g=1,m=-n.perSlideRotate*d,v=n.perSlideOffset-.75*Math.abs(d);const y=e.virtual&&e.params.virtual.enabled?e.virtual.from+o:o,b=(y===i||y===i-1)&&d>0&&d<1&&(s||e.params.cssMode)&&a<r,w=(y===i||y===i+1)&&d<0&&d>-1&&(s||e.params.cssMode)&&a>r;if(b||w){const e=(1-Math.abs((Math.abs(d)-.5)/.5))**.5;m+=-28*d*e,g+=-.5*e,v+=96*e,h=-25*e*Math.abs(d)+"%"}if(p=d<0?`calc(${p}px + (${v*Math.abs(d)}%))`:d>0?`calc(${p}px + (-${v*Math.abs(d)}%))`:`${p}px`,!e.isHorizontal()){const e=h;h=p,p=e}const M=d<0?""+(1+(1-g)*d):""+(1-(1-g)*d),x=`\n        translate3d(${p}, ${h}, ${f}px)\n        rotateZ(${n.rotate?m:0}deg)\n        scale(${M})\n      `;if(n.slideShadows){let e=l.find(".swiper-slide-shadow");0===e.length&&(e=Te(n,l)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(d)-.5)/.5,0),1))}l[0].style.zIndex=-Math.abs(Math.round(c))+t.length,xe(n,l).transform(x)}},setTransition:t=>{const{transformEl:i}=e.params.cardsEffect;(i?e.slides.find(i):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),Ee({swiper:e,duration:t,transformEl:i})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.loaded=!0,s.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";i(1222),i(8436),i(354),i(4328),i(8687),i(3107),i(7393),i(7443),i(3267),i(56),i(5068),i(8848),i(1998),i(3916),i(720),i(9768),i(9029),i(8330),i(9854),i(4010),i(8186)})()})();

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.