/*! For license information please see uainstance.js.LICENSE.txt */ (()=>{var e={383:()=>{window.FormValidation||(window.FormValidation={validateForm:function(e){return this.clearError(e),!!e.checkValidity()||(this.validateAllFields(e),!1)},validateAllFields:function(e){for(var t=e.querySelectorAll("input, textarea, select"),s=0;s{e.exports=function e(t,s,i){function n(a,r){if(!s[a]){if(!t[a]){if(o)return o(a,!0);throw new Error("Cannot find module '"+a+"'")}var l=s[a]={exports:{}};t[a][0].call(l.exports,(function(e){return n(t[a][1][e]||e)}),l,l.exports,e,t,s,i)}return s[a].exports}for(var o=void 0,a=0;a0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},d.prototype.cleanup=function(){for(var e;e=this.subs.shift();)e.destroy();this.packetBuffer=[],this.encoding=!1,this.decoder.destroy()},d.prototype.close=d.prototype.disconnect=function(){this.skipReconnect=!0,this.engine.close()},d.prototype.onclose=function(e){c("close"),this.cleanup(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},d.prototype.reconnect=function(){if(this.reconnecting)return this;var e=this;if(this.attempts++,this.attempts>this._reconnectionAttempts)c("reconnect failed"),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var t=this.attempts*this.reconnectionDelay();t=Math.min(t,this.reconnectionDelayMax()),c("will wait %dms before reconnect attempt",t),this.reconnecting=!0;var s=setTimeout((function(){c("attempting reconnect"),e.emitAll("reconnect_attempt",e.attempts),e.emitAll("reconnecting",e.attempts),e.open((function(t){t?(c("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",t.data)):(c("reconnect success"),e.onreconnect())}))}),t);this.subs.push({destroy:function(){clearTimeout(s)}})}},d.prototype.onreconnect=function(){var e=this.attempts;this.attempts=0,this.reconnecting=!1,this.emitAll("reconnect",e)}},{"./on":4,"./socket":5,"./url":6,"component-bind":7,"component-emitter":8,debug:9,"engine.io-client":10,"object-component":37,"socket.io-parser":40}],4:[function(e,t,s){t.exports=function(e,t,s){return e.on(t,s),{destroy:function(){e.removeListener(t,s)}}}},{}],5:[function(e,t,s){var i=e("socket.io-parser"),n=e("component-emitter"),o=e("to-array"),a=e("./on"),r=e("component-bind"),l=e("debug")("socket.io-client:socket"),c=e("has-binary");e("indexof"),t.exports=h;var d={connect:1,connect_error:1,connect_timeout:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1},u=n.prototype.emit;function h(e,t){this.io=e,this.nsp=t,this.json=this,this.ids=0,this.acks={},this.io.autoConnect&&this.open(),this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.subEvents()}n(h.prototype),h.prototype.subEvents=function(){var e=this.io;this.subs=[a(e,"open",r(this,"onopen")),a(e,"packet",r(this,"onpacket")),a(e,"close",r(this,"onclose"))]},h.prototype.open=h.prototype.connect=function(){return this.connected||(this.io.open(),"open"==this.io.readyState&&this.onopen()),this},h.prototype.send=function(){var e=o(arguments);return e.unshift("message"),this.emit.apply(this,e),this},h.prototype.emit=function(e){if(d.hasOwnProperty(e))return u.apply(this,arguments),this;var t=o(arguments),s=i.EVENT;c(t)&&(s=i.BINARY_EVENT);var n={type:s,data:t};return"function"==typeof t[t.length-1]&&(l("emitting packet with ack id %d",this.ids),this.acks[this.ids]=t.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this},h.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},h.prototype.onopen=function(){l("transport is open - connecting"),"/"!=this.nsp&&this.packet({type:i.CONNECT})},h.prototype.onclose=function(e){l("close (%s)",e),this.connected=!1,this.disconnected=!0,this.emit("disconnect",e)},h.prototype.onpacket=function(e){if(e.nsp==this.nsp)switch(e.type){case i.CONNECT:this.onconnect();break;case i.EVENT:case i.BINARY_EVENT:this.onevent(e);break;case i.ACK:case i.BINARY_ACK:this.onack(e);break;case i.DISCONNECT:this.ondisconnect();break;case i.ERROR:this.emit("error",e.data)}},h.prototype.onevent=function(e){var t=e.data||[];l("emitting event %j",t),null!=e.id&&(l("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?u.apply(this,t):this.receiveBuffer.push(t)},h.prototype.ack=function(e){var t=this,s=!1;return function(){if(!s){s=!0;var n=o(arguments);l("sending ack %j",n);var a=c(n)?i.BINARY_ACK:i.ACK;t.packet({type:a,id:e,data:n})}}},h.prototype.onack=function(e){l("calling ack %s with %j",e.id,e.data),this.acks[e.id].apply(this,e.data),delete this.acks[e.id]},h.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},h.prototype.emitBuffered=function(){var e;for(e=0;e=s?(e/s).toFixed(1)+"h":e>=t?(e/t).toFixed(1)+"m":e>=1e3?(e/1e3|0)+"s":e+"ms"},i.enabled=function(e){for(var t=0,s=i.skips.length;t';i=document.createElement(e)}catch(e){(i=document.createElement("iframe")).name=s.iframeId,i.src="javascript:0"}i.id=s.iframeId,s.form.appendChild(i),s.iframe=i}this.form.action=this.uri(),d(),e=e.replace(r,"\\\n"),this.area.value=e.replace(a,"\\n");try{this.form.submit()}catch(e){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"==s.iframe.readyState&&c()}:this.iframe.onload=c}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling":17,"component-inherit":20}],16:[function(e,t,s){(function(s){var i=e("xmlhttprequest"),n=e("./polling"),o=e("component-emitter"),a=e("component-inherit"),r=e("debug")("engine.io-client:polling-xhr");function l(){}function c(e){if(n.call(this,e),s.location){var t="https:"==location.protocol,i=location.port;i||(i=t?443:80),this.xd=e.hostname!=s.location.hostname||i!=e.port,this.xs=e.secure!=t}}function d(e){this.method=e.method||"GET",this.uri=e.uri,this.xd=!!e.xd,this.xs=!!e.xs,this.async=!1!==e.async,this.data=null!=e.data?e.data:null,this.agent=e.agent,this.isBinary=e.isBinary,this.supportsBinary=e.supportsBinary,this.enablesXDR=e.enablesXDR,this.create()}function u(){for(var e in d.requests)d.requests.hasOwnProperty(e)&&d.requests[e].abort()}t.exports=c,t.exports.Request=d,a(c,n),c.prototype.supportsBinary=!0,c.prototype.request=function(e){return(e=e||{}).uri=this.uri(),e.xd=this.xd,e.xs=this.xs,e.agent=this.agent||!1,e.supportsBinary=this.supportsBinary,e.enablesXDR=this.enablesXDR,new d(e)},c.prototype.doWrite=function(e,t){var s="string"!=typeof e&&void 0!==e,i=this.request({method:"POST",data:e,isBinary:s}),n=this;i.on("success",t),i.on("error",(function(e){n.onError("xhr post error",e)})),this.sendXhr=i},c.prototype.doPoll=function(){r("xhr poll");var e=this.request(),t=this;e.on("data",(function(e){t.onData(e)})),e.on("error",(function(e){t.onError("xhr poll error",e)})),this.pollXhr=e},o(d.prototype),d.prototype.create=function(){var e=this.xhr=new i({agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR}),t=this;try{if(r("xhr open %s: %s",this.method,this.uri),e.open(this.method,this.uri,this.async),this.supportsBinary&&(e.responseType="arraybuffer"),"POST"==this.method)try{this.isBinary?e.setRequestHeader("Content-type","application/octet-stream"):e.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}"withCredentials"in e&&(e.withCredentials=!0),this.hasXDR()?(e.onload=function(){t.onLoad()},e.onerror=function(){t.onError(e.responseText)}):e.onreadystatechange=function(){4==e.readyState&&(200==e.status||1223==e.status?t.onLoad():setTimeout((function(){t.onError(e.status)}),0))},r("xhr data %s",this.data),e.send(this.data)}catch(e){return void setTimeout((function(){t.onError(e)}),0)}s.document&&(this.index=d.requestsCount++,d.requests[this.index]=this)},d.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},d.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},d.prototype.onError=function(e){this.emit("error",e),this.cleanup()},d.prototype.cleanup=function(){if(void 0!==this.xhr&&null!==this.xhr){this.hasXDR()?this.xhr.onload=this.xhr.onerror=l:this.xhr.onreadystatechange=l;try{this.xhr.abort()}catch(e){}s.document&&delete d.requests[this.index],this.xhr=null}},d.prototype.onLoad=function(){var e;try{var t;try{t=this.xhr.getResponseHeader("Content-Type")}catch(e){}e="application/octet-stream"===t?this.xhr.response:this.supportsBinary?"ok":this.xhr.responseText}catch(e){this.onError(e)}null!=e&&this.onData(e)},d.prototype.hasXDR=function(){return void 0!==s.XDomainRequest&&!this.xs&&this.enablesXDR},d.prototype.abort=function(){this.cleanup()},s.document&&(d.requestsCount=0,d.requests={},s.attachEvent?s.attachEvent("onunload",u):s.addEventListener&&s.addEventListener("beforeunload",u))}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./polling":17,"component-emitter":8,"component-inherit":20,debug:9,xmlhttprequest:19}],17:[function(e,t,s){var i=e("../transport"),n=e("parseqs"),o=e("engine.io-parser"),a=e("component-inherit"),r=e("debug")("engine.io-client:polling");t.exports=c;var l=function(){return null!=new(e("xmlhttprequest"))({agent:this.agent,xdomain:!1}).responseType}();function c(e){var t=e&&e.forceBase64;l&&!t||(this.supportsBinary=!1),i.call(this,e)}a(c,i),c.prototype.name="polling",c.prototype.doOpen=function(){this.poll()},c.prototype.pause=function(e){var t=this;function s(){r("paused"),t.readyState="paused",e()}if(this.readyState="pausing",this.polling||!this.writable){var i=0;this.polling&&(r("we are currently polling - waiting to pause"),i++,this.once("pollComplete",(function(){r("pre-pause polling complete"),--i||s()}))),this.writable||(r("we are currently writing - waiting to pause"),i++,this.once("drain",(function(){r("pre-pause writing complete"),--i||s()})))}else s()},c.prototype.poll=function(){r("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},c.prototype.onData=function(e){var t=this;r("polling got data %s",e);o.decodePayload(e,this.socket.binaryType,(function(e,s,i){if("opening"==t.readyState&&t.onOpen(),"close"==e.type)return t.onClose(),!1;t.onPacket(e)})),"closed"!=this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"==this.readyState?this.poll():r('ignoring poll - transport state "%s"',this.readyState))},c.prototype.doClose=function(){var e=this;function t(){r("writing close packet"),e.write([{type:"close"}])}"open"==this.readyState?(r("transport open - closing"),t()):(r("transport not open - deferring close"),this.once("open",t))},c.prototype.write=function(e){var t=this;this.writable=!1;var s=function(){t.writable=!0,t.emit("drain")};t=this,o.encodePayload(e,this.supportsBinary,(function(e){t.doWrite(e,s)}))},c.prototype.uri=function(){var e=this.query||{},t=this.secure?"https":"http",s="";return!1!==this.timestampRequests&&(e[this.timestampParam]=+new Date+"-"+i.timestamps++),this.supportsBinary||e.sid||(e.b64=1),e=n.encode(e),this.port&&("https"==t&&443!=this.port||"http"==t&&80!=this.port)&&(s=":"+this.port),e.length&&(e="?"+e),t+"://"+this.hostname+s+this.path+e}},{"../transport":13,"component-inherit":20,debug:9,"engine.io-parser":21,parseqs:29,xmlhttprequest:19}],18:[function(e,t,s){var i=e("../transport"),n=e("engine.io-parser"),o=e("parseqs"),a=e("component-inherit"),r=e("debug")("engine.io-client:websocket"),l=e("ws");function c(e){e&&e.forceBase64&&(this.supportsBinary=!1),i.call(this,e)}t.exports=c,a(c,i),c.prototype.name="websocket",c.prototype.supportsBinary=!0,c.prototype.doOpen=function(){if(this.check()){var e=this.uri(),t={agent:this.agent};this.ws=new l(e,void 0,t),void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.binaryType="arraybuffer",this.addEventListeners()}},c.prototype.addEventListeners=function(){var e=this;this.ws.onopen=function(){e.onOpen()},this.ws.onclose=function(){e.onClose()},this.ws.onmessage=function(t){e.onData(t.data)},this.ws.onerror=function(t){e.onError("websocket error",t)}},"undefined"!=typeof navigator&&/iPad|iPhone|iPod/i.test(navigator.userAgent)&&(c.prototype.onData=function(e){var t=this;setTimeout((function(){i.prototype.onData.call(t,e)}),0)}),c.prototype.write=function(e){var t=this;this.writable=!1;for(var s=0,i=e.length;s1?{type:d[o],data:e.substring(1)}:{type:d[o]}:u}o=new Uint8Array(e)[0];var a=n(e,1);return h&&"blob"===t&&(a=new h([a])),{type:d[o],data:a}},s.decodeBase64Packet=function(e,s){var i=d[e.charAt(0)];if(!t.ArrayBuffer)return{type:i,data:{base64:!0,data:e.substr(1)}};var n=o.decode(e.substr(1));return"blob"===s&&h&&(n=new h([n])),{type:i,data:n}},s.encodePayload=function(e,t,i){if("function"==typeof t&&(i=t,t=null),t)return h&&!l?s.encodePayloadAsBlob(e,i):s.encodePayloadAsArrayBuffer(e,i);if(!e.length)return i("0:");m(e,(function(e,i){s.encodePacket(e,t,!0,(function(e){i(null,function(e){return e.length+":"+e}(e))}))}),(function(e,t){return i(t.join(""))}))},s.decodePayload=function(e,t,i){if("string"!=typeof e)return s.decodePayloadAsBinary(e,t,i);var n;if("function"==typeof t&&(i=t,t=null),""==e)return i(u,0,1);for(var o,a,r="",l=0,c=e.length;l0;){for(var l=new Uint8Array(o),c=0===l[0],d="",h=1;255!=l[h];h++){if(d.length>310){r=!0;break}d+=l[h]}if(r)return i(u,0,1);o=n(o,2+d.length),d=parseInt(d);var f=n(o,0,d);if(c)try{f=String.fromCharCode.apply(null,new Uint8Array(f))}catch(e){var p=new Uint8Array(f);for(f="",h=0;hi&&(s=i),t>=i||t>=s||0===i)return new ArrayBuffer(0);for(var n=new Uint8Array(e),o=new Uint8Array(s-t),a=t,r=0;a>2],o+=e[(3&i[s])<<4|i[s+1]>>4],o+=e[(15&i[s+1])<<2|i[s+2]>>6],o+=e[63&i[s+2]];return n%3==2?o=o.substring(0,o.length-1)+"=":n%3==1&&(o=o.substring(0,o.length-2)+"=="),o},s.decode=function(t){var s,i,n,o,a,r=.75*t.length,l=t.length,c=0;"="===t[t.length-1]&&(r--,"="===t[t.length-2]&&r--);var d=new ArrayBuffer(r),u=new Uint8Array(d);for(s=0;s>4,u[c++]=(15&n)<<4|o>>2,u[c++]=(3&o)<<6|63&a;return d}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},{}],26:[function(e,t,s){(function(e){var s=e.BlobBuilder||e.WebKitBlobBuilder||e.MSBlobBuilder||e.MozBlobBuilder,i=function(){try{return 2==new Blob(["hi"]).size}catch(e){return!1}}(),n=s&&s.prototype.append&&s.prototype.getBlob;t.exports=i?e.Blob:n?function(e,t){t=t||{};for(var i=new s,n=0;n=55296&&t<=56319&&n>t&63|128)}function f(e){if(0==(4294967168&e))return d(e);var t="";return 0==(4294965248&e)?t=d(e>>6&31|192):0==(4294901760&e)?(t=d(e>>12&15|224),t+=h(e,6)):0==(4292870144&e)&&(t=d(e>>18&7|240),t+=h(e,12),t+=h(e,6)),t+d(63&e|128)}function p(){if(c>=l)throw Error("Invalid byte index");var e=255&r[c];if(c++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function m(){var e,t;if(c>l)throw Error("Invalid byte index");if(c==l)return!1;if(e=255&r[c],c++,0==(128&e))return e;if(192==(224&e)){if((t=(31&e)<<6|p())>=128)return t;throw Error("Invalid continuation byte")}if(224==(240&e)){if((t=(15&e)<<12|p()<<6|p())>=2048)return t;throw Error("Invalid continuation byte")}if(240==(248&e)&&(t=(15&e)<<18|p()<<12|p()<<6|p())>=65536&&t<=1114111)return t;throw Error("Invalid UTF-8 detected")}var g={version:"2.0.0",encode:function(e){for(var t=u(e),s=t.length,i=-1,n="";++i65535&&(n+=d((t-=65536)>>>10&1023|55296),t=56320|1023&t),n+=d(t);return n}(s)}};if(n&&!n.nodeType)if(o)o.exports=g;else{var v={}.hasOwnProperty;for(var y in g)v.call(g,y)&&(n[y]=g[y])}else i.utf8=g}(this)}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],28:[function(e,t,s){(function(e){var s=/^[\],:{}\s]*$/,i=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,n=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,o=/(?:^|:|,)(?:\s*\[)+/g,a=/^\s+/,r=/\s+$/;t.exports=function(t){return"string"==typeof t&&t?(t=t.replace(a,"").replace(r,""),e.JSON&&JSON.parse?JSON.parse(t):s.test(t.replace(i,"@").replace(n,"]").replace(o,""))?new Function("return "+t)():void 0):null}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],29:[function(e,t,s){s.encode=function(e){var t="";for(var s in e)e.hasOwnProperty(s)&&(t.length&&(t+="&"),t+=encodeURIComponent(s)+"="+encodeURIComponent(e[s]));return t},s.decode=function(e){for(var t={},s=e.split("&"),i=0,n=s.length;i1)))/4)-m((e-1901+t)/100)+m((e-1601+t)/400)};(t={}.hasOwnProperty)||(t=function(e){var s,i={};return(i.__proto__=null,i.__proto__={toString:1},i).toString!=o?t=function(e){var t=this.__proto__,s=e in(this.__proto__=null,this);return this.__proto__=t,s}:(s=i.constructor,t=function(e){var t=(this.constructor||s).prototype;return e in this&&!(e in t&&this[e]===t[e])}),i=null,t.call(this,e)});var y={boolean:1,number:1,string:1,undefined:1};if(i=function(e,s){var n,a,r,l=0;for(r in(n=function(){this.valueOf=0}).prototype.valueOf=0,a=new n)t.call(a,r)&&l++;return n=a=null,l?i=2==l?function(e,s){var i,n={},a=o.call(e)==d;for(i in e)a&&"prototype"==i||t.call(n,i)||!(n[i]=1)||!t.call(e,i)||s(i)}:function(e,s){var i,n,a=o.call(e)==d;for(i in e)a&&"prototype"==i||!t.call(e,i)||(n="constructor"===i)||s(i);(n||t.call(e,i="constructor"))&&s(i)}:(a=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],i=function(e,s){var i,n,r=o.call(e)==d,l=!r&&"function"!=typeof e.constructor&&function(e,t){var s=typeof e[t];return"object"==s?!!e[t]:!y[s]}(e,"hasOwnProperty")?e.hasOwnProperty:t;for(i in e)r&&"prototype"==i||!l.call(e,i)||s(i);for(n=a.length;i=a[--n];l.call(e,i)&&s(i));}),i(e,s)},!c("json-stringify")){var b={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},_=function(e,t){return("000000"+(t||0)).slice(-e)},w=function(e){var t,s='"',i=0,n=e.length,o=n>10&&p;for(o&&(t=e.split(""));i-1/0&&p<1/0){if(v){for(x=m(p/864e5),y=m(x/365.2425)+1970-1;v(y+1,0)<=x;y++);for(b=m((x-v(y,0))/30.42);v(y,b+1)<=x;b++);x=1+x-v(y,b),C=m((S=(p%864e5+864e5)%864e5)/36e5)%24,E=m(S/6e4)%60,P=m(S/1e3)%60,T=S%1e3}else y=p.getUTCFullYear(),b=p.getUTCMonth(),x=p.getUTCDate(),C=p.getUTCHours(),E=p.getUTCMinutes(),P=p.getUTCSeconds(),T=p.getUTCMilliseconds();p=(y<=0||y>=1e4?(y<0?"-":"+")+_(6,y<0?-y:y):_(4,y))+"-"+_(2,b+1)+"-"+_(2,x)+"T"+_(2,C)+":"+_(2,E)+":"+_(2,P)+"."+_(3,T)+"Z"}else p=null;if(a&&(p=a.call(s,e,p)),null===p)return"null";if("[object Boolean]"==(g=o.call(p)))return""+p;if(g==u)return p>-1/0&&p<1/0?""+p:"null";if(g==h)return w(""+p);if("object"==typeof p){for(L=d.length;L--;)if(d[L]===p)throw TypeError();if(d.push(p),q=[],M=c,c+=l,g==f){for(B=0,L=p.length;B0)for(i="",s>10&&(s=10);i.length=48&&n<=57||n>=97&&n<=102||n>=65&&n<=70||P();e+=C("0x"+o.slice(t,x));break;default:P()}else{if(34==n)break;for(n=o.charCodeAt(x),t=x;n>=32&&92!=n&&34!=n;)n=o.charCodeAt(++x);e+=o.slice(t,x)}if(34==o.charCodeAt(x))return x++,e;P();default:if(t=x,45==n&&(i=!0,n=o.charCodeAt(++x)),n>=48&&n<=57){for(48==n&&(n=o.charCodeAt(x+1))>=48&&n<=57&&P(),i=!1;x=48&&n<=57;x++);if(46==o.charCodeAt(x)){for(s=++x;s=48&&n<=57;s++);s==x&&P(),x=s}if(101==(n=o.charCodeAt(x))||69==n){for(43!=(n=o.charCodeAt(++x))&&45!=n||x++,s=x;s=48&&n<=57;s++);s==x&&P(),x=s}return+o.slice(t,x)}if(i&&P(),"true"==o.slice(x,x+4))return x+=4,!0;if("false"==o.slice(x,x+5))return x+=5,!1;if("null"==o.slice(x,x+4))return x+=4,null;P()}return"$"},q=function(e){var t,s;if("$"==e&&P(),"string"==typeof e){if("@"==(p?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];"]"!=(e=T());s||(s=!0))s&&(","==e?"]"==(e=T())&&P():P()),","==e&&P(),t.push(q(e));return t}if("{"==e){for(t={};"}"!=(e=T());s||(s=!0))s&&(","==e?"}"==(e=T())&&P():P()),","!=e&&"string"==typeof e&&"@"==(p?e.charAt(0):e[0])&&":"==T()||P(),t[e.slice(1)]=q(T());return t}P()}return e},A=function(e,t,s){var i=B(e,t,s);i===n?delete e[t]:e[t]=i},B=function(e,t,s){var n,a=e[t];if("object"==typeof a&&a)if(o.call(a)==f)for(n=a.length;n--;)A(a,n,s);else i(a,(function(e){A(a,e,s)}));return s.call(e,t,a)};r.parse=function(e,t){var s,i;return x=0,S=""+e,s=q(T()),"$"!=T()&&P(),x=S=null,t&&o.call(t)==d?B(((i={})[""]=s,i),"",t):s}}}}(this)},{}],44:[function(e,t,s){t.exports=function(e,t){for(var s=[],i=(t=t||0)||0;i{function t(e,t,s){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var i=s.call(e,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}e.exports=class{constructor(e,s){if(t(this,"callbacks",{}),t(this,"uploadedFiles",{}),t(this,"chunkCallbacks",{}),t(this,"readyCallbacks",{}),t(this,"communicators",{}),t(this,"options",{}),t(this,"socket",void 0),t(this,"_listenedReferences",[]),!window.File||!window.FileReader)throw new Error("Socket.IO File Upload: Browser Not Supported");if(this.options=s,this.socket=e,window.siofu_global||(window.siofu_global={instances:0,downloads:0}),this.fileInputElementId="siofu_input_"+window.siofu_global.instances++,this.resetFileInputs=!0,this.useText=this._getOption("useText",!1),this.serializedOctets=this._getOption("serializedOctets",!1),this.useBuffer=this._getOption("useBuffer",!0),this.chunkSize=this._getOption("chunkSize",0),this.topicName=this._getOption("topicName","siofu"),this.wrapData=this._getOption("wrapData",!1),this.exposePrivateFunction=this._getOption("exposePrivateFunction",!1),this.maxFileSize=this._getOption("maxFileSize",null),this._isWrapDataWellConfigured()&&self.wrapData){const e={chunk:this._chunkCallback,ready:this._readyCallback,complete:this._completCallback,error:this._errorCallback};this._listenTo(this.socket,this._getTopicName(),(function(t){if("object"!=typeof t)return;const s=self.wrapData.unwrapKey&&"string"==typeof self.wrapData.unwrapKey.action?self.wrapData.unwrapKey.action:"action",i=self.wrapData.unwrapKey&&"string"==typeof self.wrapData.unwrapKey.message?self.wrapData.unwrapKey.message:"message",n=t[s],o=t[i];n&&o&&e[n]&&e[n](o)}))}else this._listenTo(e,this._getTopicName("_chunk"),this._chunkCallback(this)),this._listenTo(e,this._getTopicName("_ready"),this._readyCallback(this)),this._listenTo(e,this._getTopicName("_complete"),this._completCallback(this)),this._listenTo(e,this._getTopicName("_error"),this._errorCallback(this))}_getOption(e,t){return this.options&&this.options[e]||t}_isWrapDataWellConfigured(){return"boolean"==typeof this.wrapData||"object"==typeof this.wrapData&&!Array.isArray(this.wrapData)&&!(!this.wrapData.wrapKey||"string"!=typeof this.wrapData.wrapKey.action||"string"!=typeof this.wrapData.wrapKey.message||!this.wrapData.unwrapKey||"string"!=typeof this.wrapData.unwrapKey.action||"string"!=typeof this.wrapData.unwrapKey.message)}_getTopicName(e){return this.wrapData?this.topicName:this.topicName+e}_wrapData(e,t){if(!this._isWrapDataWellConfigured()||!this.wrapData)return e;const s={};this.wrapData.additionalData&&Object.assign(s,this.wrapData.additionalData);const i=this.wrapData.wrapKey&&"string"==typeof this.wrapData.wrapKey.action?this.wrapData.wrapKey.action:"action",n=this.wrapData.wrapKey&&"string"==typeof this.wrapData.wrapKey.message?this.wrapData.wrapKey.message:"message";return s[i]=t,s[n]=e,s}_dispatch(e,t){const s=document.createEvent("Event");s.initEvent(e,!1,!1);for(const e in t)t.hasOwnProperty(e)&&(s[e]=t[e]);return this.dispatchEvent(s)}_listenTo(e,t,s,i){e.addEventListener(t,s,i),this._listenedReferences.push(arguments)}_stopListeningTo(e,t,s,i){e.removeEventListener&&e.removeEventListener(t,s,i)}_stopListening(){for(let e=this._listenedReferences.length-1;e>=0;e--)this._stopListeningTo.apply(this,this._listenedReferences[e]);this._listenedReferences=[]}_loadOne(e){if(null!==this.maxFileSize&&e.size>this.maxFileSize)return void this._dispatch("error",{file:e,message:"Attempt by client to upload file exceeding the maximum file size",code:1});if(!this._dispatch("start",{file:e}))return;let t=new FileReader;const s=window.siofu_global.downloads++;let i=!1;const n=this.useText;let o,a=0;t._realReader&&(t=t._realReader),this.uploadedFiles[s]=e;const r={id:s};let l=this.chunkSize;(l>=e.size||l<=0)&&(l=e.size);const c=(t,i,o)=>{let a=!1;if(!n)try{const e=new Uint8Array(o);this.serializedOctets?o=e:this.useBuffer?o=e.buffer:(a=!0,o=this._uint8ArrayToBase64(e))}catch(e){return void this.socket.emit(this._getTopicName("_done"),this._wrapData({id:s,interrupt:!0},"done"))}this.socket.emit(this._getTopicName("_progress"),this._wrapData({id:s,size:e.size,start:t,end:i,content:o,base64:a},"progress"))},d=()=>{this.socket.emit(this._getTopicName("_done"),this._wrapData({id:s},"done"))},u=()=>{if(r.abort)return;const s=e.slice(a,Math.min(a+l,e.size));n?t.readAsText(s):t.readAsArrayBuffer(s)},h=s=>{if(r.abort)return;const n=Math.min(a+l,e.size);c(a,n,s.target.result),this._dispatch("progress",{file:e,bytesLoaded:n,name:o}),a+=l,a>=e.size&&(d(),this._dispatch("load",{file:e,reader:t,name:o}),i=!0)};return this._listenTo(t,"load",h),this._listenTo(t,"error",(()=>{this.socket.emit(this._getTopicName("_done"),this._wrapData({id:s,interrupt:!0},"done")),this._stopListeningTo(t,"load",h)})),this._listenTo(t,"abort",(()=>{this.socket.emit(this._getTopicName("_done"),this._wrapData({id:s,interrupt:!0},"done")),this._stopListeningTo(t,"load",h)})),this.socket.emit(this._getTopicName("_start"),this._wrapData({name:e.name,mtime:e.lastModified,meta:e.meta,size:e.size,encoding:n?"text":"octet",id:s},"start")),this.readyCallbacks[s]=e=>{o=e,u()},this.chunkCallbacks[s]=()=>{i||u()},r}_load(e){for(let t=0;t{const s=t.target.files||t.dataTransfer.files;if(t.preventDefault(),e._baseFileSelectCallback(s),e.resetFileInputs){try{t.target.value=""}catch(e){}if(t.target.value){const e=document.createElement("form"),s=t.target.parentNode,i=t.target.nextSibling;e.appendChild(t.target),e.reset(),s.insertBefore(t.target,i)}}}}submitFiles(e){e&&this._baseFileSelectCallback(e)}listenOnSubmit(e,t){t.files&&this._listenTo(e,"click",(()=>{this._baseFileSelectCallback(t.files)}),!1)}listenOnArraySubmit(e,t){for(const s in t)this.listenOnSubmit(e,t[s])}listenOnInput(e){e.files&&this._listenTo(e,"change",this._fileSelectCallback(this),!1)}listenOnDrop(e){this._listenTo(e,"dragover",(e=>{e.preventDefault()}),!1),this._listenTo(e,"drop",this._fileSelectCallback(this))}prompt(){const e=this._getInputElement();this._listenTo(e,"change",this._fileSelectCallback(this),!1);const t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}destroy(){this._stopListening(),this._removeInputElement();for(const e in this.communicators)this.communicators.hasOwnProperty(e)&&(this.communicators[e].abort=!0);this.callbacks=null,this.uploadedFiles=null,this.readyCallbacks=null,this.communicators=null}addEventListener(e,t){this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t)}removeEventListener(e,t){if(!this.callbacks[e])return!1;for(let s=0;s>2],i+=n[(3&e[t])<<4|e[t+1]>>4],i+=n[(15&e[t+1])<<2|e[t+2]>>6],i+=n[63&e[t+2]];return s%3==2?i=i.substring(0,i.length-1)+"=":s%3==1&&(i=i.substring(0,i.length-2)+"=="),i}_chunkCallback(e){return t=>{e.chunkCallbacks[t.id]&&e.chunkCallbacks[t.id]()}}_readyCallback(e){return t=>{e.readyCallbacks[t.id]&&e.readyCallbacks[t.id](t.name)}}_completCallback(e){return t=>{e.uploadedFiles[t.id]&&e._dispatch("complete",{file:e.uploadedFiles[t.id],detail:t.detail,success:t.success})}}_errorCallback(e){return t=>{e.uploadedFiles[t.id]&&(e._dispatch("error",{file:e.uploadedFiles[t.id],message:t.message,code:0}),e.communicators&&(e.communicators[t.id].abort=!0))}}}},731:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>O});var i=s(81),n=s.n(i),o=s(645),a=s.n(o),r=s(667),l=s.n(r),c=new URL(s(979),s.b),d=new URL(s(972),s.b),u=new URL(s(56),s.b),h=new URL(s(625),s.b),f=new URL(s(428),s.b),p=new URL(s(253),s.b),m=new URL(s(799),s.b),g=new URL(s(312),s.b),v=new URL(s(621),s.b),y=new URL(s(558),s.b),b=new URL(s(436),s.b),_=new URL(s(333),s.b),w=new URL(s(884),s.b),k=a()(n()),x=l()(c),S=l()(d),C=l()(u),E=l()(h),P=l()(f),T=l()(p),q=l()(m),A=l()(g),B=l()(v),L=l()(y),M=l()(b),N=l()(_),I=l()(w);k.push([e.id,'@charset "utf-8";.rh-reset.rh-reset.rh-reset.rh-reset.rh-reset.rh-reset.rh-reset.rh-reset {position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 0; padding: 0; border: none 0; font-size: 12px; vertical-align: baseline; background: none; color: black; line-height: 14px; outline: none; text-transform: none; text-decoration: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; visibility: visible;}a.rh-reset, span.rh-reset {display: inline; width: auto;}div.rh-reset {display: block;}#rh-loadCss {z-index: 1; position: fixed;}#rh-setup {}#rh-snippet {}#rh-frameWrapper iframe {width: 100%; height: 100%;}.rh-colorifier {position: absolute; top:0; left:0; width: 100%; height: 100%; background: none; display: none; opacity: 0.1;}#rh-chat {position: fixed; z-index: 999990; font-size: 12px;}#rh-chatWindow {position: absolute;}#rh-chatFrame {position: relative; z-index: 1; display: block !important;}#rh-block {display: none; position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: 999992; background: #ccc; -moz-opacity: 0.01; -khtml-opacity: 0.01; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=1); opacity: 0.01;}#rh-frameHelper {display: none; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 999995; background: #ccc; -moz-opacity: 0.01; -khtml-opacity: 0.01; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=1); opacity: 0.01;}.rh-draggable {z-index: 999995;}.redhlp_attachedBottom #rh-resizeBoth {display: none;}.redhlp_attachedBottom #rh-frameWrapper {border-radius: 0;}.redhlp_attachedBottom #rh-chatInnerWrapper {bottom: -2px;}#rh-maximize a {display: block; width: 100%; height: 100%;}#rh-notification {position: fixed; padding: 10px 30px 10px 20px; text-align: center; z-index: 999991;}#rh-copy {position: absolute; bottom: 0; width: 100%; text-align: center; z-index: 999998; outline: none; color: #aaa; margin-left: -0.5em;}#rh-copy, #rh-copy a, #rh-copy span {font-family: arial, sans-serif;}#rh-copy, #rh-copy .rh-textWrapper {font-size: 0.817em; color: #777; text-shadow: 0 1px 0 #fff;}#rh-copy > span {font-size: 1.1em !important;}.rh-free #rh-copy a {}.rh-free #rh-copy a span {color: #BB2626;}#rh-copy > a {color: #55555f; font-size: 1.1em !important; opacity: 1; letter-spacing: 1px;}#rh-copy > a > span {color: #BB2626; font-size: 100% !important;}#rh-copy a:hover {text-decoration: underline !important; opacity: 1;}.rh-rtl {direction: rtl;}#rh-snippet {font-family: "Segoe UI", Tahoma, Arial, Verdana, sans-serif;}#rh-badge {position: fixed; z-index: 99990;}.redhlp_openChat #rh-badge img {display: none !important;}#rh-badge.rh-right, #rh-badge.rh-left {top: 40%;}#rh-badge.rh-bottom {left: 70%;}#rh-badge.rh-bottom-left {left: 70%;}#rh-badge.rh-bottom-right {right: 0;}#rh-badge .rh-inner {position: relative;}#rh-badge.rh-left .rh-inner:hover {right: -5% !important;}#rh-badge.rh-right .rh-inner:hover {left: -5% !important;}#rh-badge.rh-bottom .rh-inner:hover,#rh-badge.rh-bottom-left .rh-inner:hover,#rh-badge.rh-bottom-right .rh-inner:hover {top: -5% !important;}#rh-badgeContent {display: none;}#rh-badge .rh-inner {margin: 1px; font-family: "Segoe UI", Tahoma, Arial, Verdana, sans-serif;} #rh-badge.rh-bottom .rh-inner, #rh-badge.rh-bottom-left .rh-inner, #rh-badge.rh-bottom-right .rh-inner {left: 0; top: 0;} #rh-badge.rh-right .rh-inner {left: 0; top: 0;} #rh-badge.rh-left .rh-inner {left: auto; right: 0; top: 0;}#rh-badge.active .rh-inner {}#rh-badge.active.blink .rh-inner {}#rh-badge svg,#rh-badge img {cursor: pointer;}#rh-notification {top: 20px; left: 20px; background: #fffff7; border: 1px solid #ddddd7; -moz-border-radius: 6px; border-radius: 6px; width: 130px;}#rh-notification .message {width: 130px;}#rh-notification .close {width: 12px; height: 12px; position: absolute; top: 4px; right: 4px; background: url('+x+") -4px -4px;}#rh-notification .close:hover {background: url("+x+") -4px -4px;}#rh-chat {top: 30%; left: 200px; width: 304px; height: 380px; min-width: 260px; min-height: 335px; box-shadow: rgba(0, 0, 0, 0.4) 0 3px 9px; border: none; border-radius: 0 0 5px 5px; -moz-border-radius: 0 0 5px 5px;}.rh-stateOffline #rh-chat {}#rh-chatInnerWrapper {position: absolute; top: 0; bottom: 0; left: 0; right: 0; overflow: hidden;}#rh-chatTop {display: none;}#rh-chatWindow {top: 1px; bottom: 1px; left: 1px; right: 1px;}#rh-frameWrapper {position: absolute; top: 1.7em; left: 0; right: 0; bottom: 0; border-radius: 0 0 0.25em 0.25em; -moz-border-radius: 0 0 0.25em 0.25em; overflow: hidden; background: #ccc;}#rh-topPanel {position: absolute; top: 1px; left: 1px; right: 1px; height: 1.667em; background: repeat-x url("+S+") #ccc; border-bottom: 0.1em solid #aaa; border-radius: 0.25em 0.25em 0 0; -moz-border-radius: 0.25em 0.25em 0 0;}#rh-chatBack {position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: #999999; -moz-opacity: 0.7; -khtml-opacity: 0.7; opacity: 0.7; border-radius: 3px; -moz-border-radius: 3px;}#rh-chatShadow {position: absolute; top: -4px; bottom: -2px; left: -7px; right: 0; background: #000; -moz-opacity: 0; -khtml-opacity: 0; opacity: 0;}#rh-close {position: absolute; right: 0.5em; top: 0.334em; left: auto; width: 1.167em; height: 1.167em; text-align: center; background: no-repeat url("+x+") -6.7em 0; background-size: 10.167em; z-index: 999996;}#rh-close:hover, #rh-close.hover {background: no-repeat url("+x+") -6.7em -1.167em; background-size: 10.167em;}#rh-close.pressed {background: no-repeat url("+x+") -6.7em -2.333em; background-size: 10.167em;}#rh-close.rh-text {background: none;}#rh-resizeBoth {position: absolute; bottom: 0; right: 0; width: 20px; height: 20px; cursor: se-resize; background: url("+x+") no-repeat -38px -22px; z-index: 999999;}#rh-sound.rh-text {background: none; text-decoration: none; width: 4em;}#rh-sound.rh-text.rh-soundOff {text-decoration: line-through; background: none;}#rh-sound {position: absolute; left: 0.767em; top: 0.234em; width: 1.167em; height: 1.167em; z-index: 999996; opacity: 0.5; -moz-opacity: 0.5; background: no-repeat url("+x+") -7.853em 0.1em; background-size: 10.167em;}#rh-sound:hover {opacity: 0.9; -moz-opacity: 0.9;}#rh-sound.rh-soundOff {background: no-repeat url("+x+') -7.843em -1.157em; background-size: 10.167em;}#rh-face {position: absolute; top: 0; left: 0;}#rh-choice {margin-top: 15px;}#rh-choice a {background: #e6e6e6; width: 34px; padding: 4px; text-align: center; display: block; float: left; margin-right: 6px; border-radius: 3px; cursor: pointer; border: 1px solid transparent;}#rh-choice a:hover{background: #f7f7f7; border: 1px solid #bbb;}#rh-invWelcomeFrame {position: absolute; top: 0; left: 100px; bottom: 25px; width: 125px; overflow: hidden; text-align: center;}#rh-arrow {position: fixed; border: 5px solid #ccc; display: none; z-index: 99987; padding: 0; border-radius: 10px; font-family: "Trebuchet MS", Tahoma, Arial,Verdana, sans-serif; font-size: 12px !important; overflow: visible; text-decoration: none; cursor: pointer; width: auto;}#rh-arrow.rh-left {margin-right: 10px;}#rh-arrow.rh-right {margin-left: 10px;}#rh-arrow.rh-above {margin-bottom: 10px;}#rh-arrow.rh-below {margin-top: 10px;}#rh-arrow.rh-below.rh-left {margin-top: 0; margin-right: 0;}#rh-arrow.rh-below.rh-right {margin-top: 0; margin-left: 0;}#rh-arrow.top.rh-left {margin-bottom: 0; margin-right: 0;}#rh-arrow.top.rh-right {margin-bottom: 0; margin-left: 0;}#rh-arrow img {float: left; border: 1px solid #CCC; width: 85px; margin-right: 8px; min-height: 85px;}#rh-arrow p {margin: 0; float: left; padding-left: 10px; font-size: 12px;}#rh-arrow.rh-outside .rh-arrow_itself {border: none;}#rh-arrow.rh-outside .rh-arrow_itself:after,#rh-arrow.rh-outside .rh-arrow_itself:before {display: none;}#rh-arrow .rh-arrow_itself {position: absolute !important; border: 11px solid #ccc;}#rh-arrow.rh-left .rh-arrow_itself {border-right-color: transparent !important; border-top-color: transparent !important; border-bottom-color: transparent !important; margin-left: 5px;}#rh-arrow.rh-above .rh-arrow_itself {border-right-color: transparent !important; border-left-color: transparent !important; border-bottom-color: transparent !important; margin-top: 5px;}#rh-arrow.rh-below .rh-arrow_itself {border-right-color: transparent !important; border-top-color: transparent !important; border-left-color: transparent !important; margin-bottom: 5px;}#rh-arrow.rh-right .rh-arrow_itself {border-left-color: transparent !important; border-top-color: transparent !important; border-bottom-color: transparent !important; margin-right: 5px;}#rh-arrow .rh-arrow_itself:after,#rh-arrow .rh-arrow_itself:before {border: 10px solid #b3b3b3; position: absolute; width: 0; height: 0; content: " "; display: block;}#rh-arrow .rh-arrow_itself.rh-reset:after {border-color: #f2f2f2 !important;}#rh-arrow .rh-arrow_itself:before {border: 11px solid #b3b3b3;}#rh-arrow.rh-right .rh-arrow_itself:after {border-left-color: transparent !important; border-top-color: transparent !important; border-bottom-color: transparent !important; left: -3px; top: -9px; content: " ";}#rh-arrow.rh-right .rh-arrow_itself:before {border-left-color: transparent !important; border-top-color: transparent !important; border-bottom-color: transparent !important; top: -10px; left: -5px; content: " ";}#rh-arrow.rh-right .rh-arrow_itself {right: 100%; content: " ";}#rh-arrow.rh-right .rh-arrow_itself:after,#rh-arrow.rh-right .rh-arrow_itself:before {content: " ";}#rh-arrow.rh-left .rh-arrow_itself:after {border-right-color: transparent !important; border-top-color: transparent !important; border-bottom-color: transparent !important; top: -10px; left: -17px; content: " ";}#rh-arrow.rh-left .rh-arrow_itself:before {border-right-color: transparent !important; border-top-color: transparent !important; border-bottom-color: transparent !important; top: -11px; left: -17px; content: " ";}#rh-arrow.rh-left .rh-arrow_itself {left: 100%; content: " ";}#rh-arrow.rh-left .rh-arrow_itself:after,#rh-arrow.rh-left .rh-arrow_itself:before {content: " ";}#rh-arrow.rh-above .rh-arrow_itself:after {border-bottom-color: transparent !important; border-left-color: transparent !important; border-right-color: transparent !important; content: " ";}#rh-arrow.rh-above .rh-arrow_itself:after,#rh-arrow.rh-above .rh-arrow_itself:before {top: -17px; left: -10px; content: " ";}#rh-arrow.rh-above .rh-arrow_itself:before {border-bottom-color: transparent !important; border-left-color: transparent !important; border-right-color: transparent !important; left: -11px; content: " ";}#rh-arrow.rh-above .rh-arrow_itself {top: 100%;}#rh-arrow.rh-above .rh-arrow_itself:after,#rh-arrow.rh-above .rh-arrow_itself:before {content: " ";}#rh-arrow.rh-below .rh-arrow_itself:after,#rh-arrow.rh-below .rh-arrow_itself:before {border-top-color: transparent !important; border-left-color: transparent !important; border-right-color: transparent !important; content: " ";}#rh-arrow.rh-below .rh-arrow_itself:after,#rh-arrow.rh-below .rh-arrow_itself:before {bottom: -17px; left: -10px; content: " ";}#rh-arrow.rh-below .rh-arrow_itself:before {left: -11px; content: " ";}#rh-arrow.rh-below .rh-arrow_itself {bottom: 100%;}#rh-arrow a {position: relative; z-index: 100500;}#rh-arrow p.hint {position: absolute; bottom: 10px; right: 10px; font-size: 10px; color: #888;}#rh-arrow a.rh-close {position: absolute; right: 4px; top: 4px; left: auto; width: 13px; height: 13px; background: no-repeat url('+x+") -108px 0; z-index: 99993;}#rh-arrow a.rh-close:hover, #rh-arrow a.rh-close.hover {background: no-repeat url("+x+") -108px -14px;}#rh-arrow.rh-outside {margin: 0;}#rh-arrow.rh-outside .rh-arrow_itself {background: none !important;}#rh-arrow.rh-outside .rh-arrow_itself div {width: 90px; height: 90px; position: relative;}#rh-arrow.rh-outside .rh-arrow_itself {background: none;}#rh-arrow.rh-outside .rh-shadow .rh-arrow_itself {background: none;}#rh-arrow.rh-outside.rh-left, #rh-arrow.rh-outside.rh-below, #rh-arrow.rh-outside.rh-above {margin-bottom: 0; margin-right: 90px;}#rh-arrow.rh-outside.rh-right {margin-bottom: 0; margin-left: 90px;}#rh-arrow.rh-outside.rh-above .rh-arrow_itself, #rh-arrow.rh-outside.rh-below .rh-arrow_itself {right: -95px; top: -5px; width: 90px; height: 90px;}#rh-arrow.rh-outside.rh-below .rh-arrow_itself {top: 0;}#rh-arrow.rh-outside.rh-left .rh-arrow_itself {right: -95px; top: -5px; bottom: auto; width: 90px; height: 90px;}#rh-arrow.rh-outside.rh-right .rh-arrow_itself {left: -95px; top: -5px; bottom: auto; width: 90px; height: 90px;}#rh-arrow.rh-outside.rh-left.rh-below .rh-arrow_itself, #rh-arrow.rh-outside.rh-left.rh-above .rh-arrow_itself {left: auto; right: -95px; top: 0; bottom: auto; width: 90px; height: 90px;}#rh-arrow.rh-outside.rh-left.rh-below .rh-arrow_itself {top: -5px;}#rh-arrow.rh-outside.rh-left.rh-below .rh-arrow_itself {top: -5px;}#rh-arrow.rh-outside.rh-right.rh-below .rh-arrow_itself, #rh-arrow.rh-outside.rh-right.rh-above .rh-arrow_itself {left: -95px; right: auto; top: -5px; bottom: auto; width: 90px; height: 90px;}#rh-arrow.rh-outside.rh-right.rh-above .rh-arrow_itself {top: 0;}#rh-arrow.rh-outside.rh-above.rh-right .rh-arrow_itself div ,#rh-arrow.rh-outside.rh-below .rh-arrow_itself div ,#rh-arrow.rh-outside.rh-below.rh-left .rh-arrow_itself div ,#rh-arrow.rh-outside.rh-below.rh-right .rh-arrow_itself div ,#rh-arrow.rh-outside.rh-left .rh-arrow_itself div ,#rh-arrow.rh-outside.rh-right .rh-arrow_itself div ,#rh-arrow.rh-outside.rh-above .rh-arrow_itself div ,#rh-arrow.rh-outside.rh-above.rh-left .rh-arrow_itself div {background: url("+C+") no-repeat;}#rh-arrow.rh-outside.rh-above.rh-right .rh-arrow_itself div {background-position: -177px -89px ; width: 87px; height: 87px;}#rh-arrow.rh-outside.rh-below .rh-arrow_itself div {background-position: -259px -87px ; width: 87px; height: 87px;}#rh-arrow.rh-outside.rh-below.rh-left .rh-arrow_itself div {background-position: -269px 0; width: 87px; height: 87px;}#rh-arrow.rh-outside.rh-below.rh-right .rh-arrow_itself div {background-position: -92px -88px ; width: 87px; height: 87px;}#rh-arrow.rh-outside.rh-left .rh-arrow_itself div {background-position: 0 -83px ; width: 87px; height: 87px;}#rh-arrow.rh-outside.rh-right .rh-arrow_itself div {background-position: -180px 0; width: 87px; height: 87px;}#rh-arrow.rh-outside.rh-above .rh-arrow_itself div {background-position: -90px 0; width: 87px; height: 87px;}#rh-arrow.rh-outside.rh-above.rh-left .rh-arrow_itself div {background-position: 0 0; width: 87px; height: 87px;}#rh-arrow #rh-invitation, #rh-arrow .rh-arrowContainer {background: #f2f2f2; border: 1px solid #b3b3b3; color: black; width: 245px; padding: 9px 15px 9px 9px; border-radius: 5px;}#rh-arrow #rh-upbutton {display: none;}#rh-badgeImage {display: none;}.redhlp_online .rh-medium #rh-badgeImage {background-image: url("+E+"); height: 16px; display: block;}.redhlp_online .rh-medium.rh-dark #rh-badgeImage {background-image: url("+P+");}.redhlp_online .rh-small #rh-badgeImage {background-image: url("+T+"); height: 14px; display: block;}.redhlp_online .rh-small.rh-dark #rh-badgeImage {background-image: url("+q+");}.redhlp_online .rh-large #rh-badgeImage {background-image: url("+A+"); height: 24px; display: block;}.redhlp_online .rh-large.rh-dark #rh-badgeImage {background-image: url("+B+");}.redhlp_offline .rh-medium #rh-badgeImage {background-image: url("+L+"); height: 16px; display: block;}.redhlp_offline .rh-medium.rh-dark #rh-badgeImage {background-image: url("+M+");}.redhlp_offline .rh-small #rh-badgeImage {background-image: url("+L+"); height: 14px; display: block;}.redhlp_offline .rh-small.rh-dark #rh-badgeImage {background-image: url("+M+");}.redhlp_offline .rh-large #rh-badgeImage {background-image: url("+N+"); height: 24px; display: block;}.redhlp_offline .rh-large.rh-dark #rh-badgeImage {background-image: url("+I+");}#rh-badgeImage {background-repeat: no-repeat; z-index: 9999; position: absolute;}.rh-left #rh-badgeImage, .rh-right #rh-badgeImage {width: 50%; background-position: 50% 50%;}.rh-right .rh-large #rh-badgeImage {left: 11px; bottom: 23px;}.rh-right .rh-medium #rh-badgeImage {left: 8px; bottom: 26px;}.rh-right .rh-small #rh-badgeImage {left: 8px; bottom: 23px;}.rh-left .rh-small #rh-badgeImage {right: 8px; bottom: 23px;}.rh-left .rh-medium #rh-badgeImage {right: 10px; bottom: 26px;}.rh-left .rh-large #rh-badgeImage {right: 10px; bottom: 23px;}.rh-bottom #rh-badgeImage {height: 50%; background-position: 50% 50%;}.rh-bottom .rh-small #rh-badgeImage {right: 24px; top: 10px; width: 18px;}.rh-bottom .rh-medium #rh-badgeImage {right: 22px; top: 12px; width: 18px;}.rh-bottom .rh-large #rh-badgeImage {right: 26px; top: 11px; width: 24px;}.redhlp_offline .rh-bottom.rh-reset #rh-badgeImage {top: 11px;}.redhlp_visitor-code {border: 1px solid grey; display: none;}.redhlp_visitor-code-header, .redhlp_visitor-code .redhlp_code {vertical-align: middle; text-align: center; font-family: Arial, sans-serif;}.redhlp_visitor-code .redhlp_code {font-weight: bold;}",""]);const O=k},8:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var i=s(81),n=s.n(i),o=s(645),a=s.n(o)()(n());a.push([e.id,".operators_busy_block_text {\n text-align: center;\n margin: 10px;\n}\n\n",""]);const r=a},769:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var i=s(81),n=s.n(i),o=s(645),a=s.n(o)()(n());a.push([e.id,':root{--f-spinner-width: 36px;--f-spinner-height: 36px;--f-spinner-color-1: rgba(0, 0, 0, 0.1);--f-spinner-color-2: rgba(17, 24, 28, 0.8);--f-spinner-stroke: 2.75}.f-spinner{margin:auto;padding:0;width:var(--f-spinner-width);height:var(--f-spinner-height)}.f-spinner svg{width:100%;height:100%;vertical-align:top;animation:f-spinner-rotate 2s linear infinite}.f-spinner svg *{stroke-width:var(--f-spinner-stroke);fill:none}.f-spinner svg *:first-child{stroke:var(--f-spinner-color-1)}.f-spinner svg *:last-child{stroke:var(--f-spinner-color-2);animation:f-spinner-dash 2s ease-in-out infinite}@keyframes f-spinner-rotate{100%{transform:rotate(360deg)}}@keyframes f-spinner-dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}.f-throwOutUp{animation:.175s ease-out both f-throwOutUp}.f-throwOutDown{animation:.175s ease-out both f-throwOutDown}@keyframes f-throwOutUp{to{transform:translate3d(0, -150px, 0);opacity:0}}@keyframes f-throwOutDown{to{transform:translate3d(0, 150px, 0);opacity:0}}.f-zoomInUp{animation:var(--f-transition-duration, 0.2s) ease-out .1s both f-zoomInUp}.f-zoomOutDown{animation:var(--f-transition-duration, 0.2s) ease-out both f-zoomOutDown}@keyframes f-zoomInUp{from{transform:scale(0.975) translate3d(0, 16px, 0);opacity:0}to{transform:scale(1) translate3d(0, 0, 0);opacity:1}}@keyframes f-zoomOutDown{to{transform:scale(0.975) translate3d(0, 16px, 0);opacity:0}}.f-fadeIn{animation:var(--f-transition-duration, 0.2s) ease both f-fadeIn;z-index:2}.f-fadeOut{animation:var(--f-transition-duration, 0.2s) ease both f-fadeOut;z-index:1}@keyframes f-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes f-fadeOut{100%{opacity:0}}.f-fadeSlowIn{animation:var(--f-transition-duration, 0.5s) ease both f-fadeSlowIn;z-index:2}.f-fadeSlowOut{animation:var(--f-transition-duration, 0.5s) ease both f-fadeSlowOut;z-index:1}@keyframes f-fadeSlowIn{0%{opacity:0}100%{opacity:1}}@keyframes f-fadeSlowOut{100%{opacity:0}}.f-fadeFastIn{animation:var(--f-transition-duration, 0.2s) ease-out both f-fadeFastIn;z-index:2}.f-fadeFastOut{animation:var(--f-transition-duration, 0.2s) ease-out both f-fadeFastOut;z-index:2}@keyframes f-fadeFastIn{0%{opacity:.75}100%{opacity:1}}@keyframes f-fadeFastOut{100%{opacity:0}}.f-crossfadeIn{animation:var(--f-transition-duration, 0.2s) ease-out both f-crossfadeIn;z-index:2}.f-crossfadeOut{animation:calc(var(--f-transition-duration, 0.2s)*.5) linear .1s both f-crossfadeOut;z-index:1}@keyframes f-crossfadeIn{0%{opacity:0}100%{opacity:1}}@keyframes f-crossfadeOut{100%{opacity:0}}.f-slideIn.from-next{animation:var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-slideInNext}.f-slideIn.from-prev{animation:var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-slideInPrev}.f-slideOut.to-next{animation:var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-slideOutNext}.f-slideOut.to-prev{animation:var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-slideOutPrev}@keyframes f-slideInPrev{0%{transform:translateX(100%)}100%{transform:translate3d(0, 0, 0)}}@keyframes f-slideInNext{0%{transform:translateX(-100%)}100%{transform:translate3d(0, 0, 0)}}@keyframes f-slideOutNext{100%{transform:translateX(-100%)}}@keyframes f-slideOutPrev{100%{transform:translateX(100%)}}.f-classicIn.from-next{animation:var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-classicInNext;z-index:2}.f-classicIn.from-prev{animation:var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-classicInPrev;z-index:2}.f-classicOut.to-next{animation:var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-classicOutNext;z-index:1}.f-classicOut.to-prev{animation:var(--f-transition-duration, 0.85s) cubic-bezier(0.16, 1, 0.3, 1) f-classicOutPrev;z-index:1}@keyframes f-classicInNext{0%{transform:translateX(-75px);opacity:0}100%{transform:translate3d(0, 0, 0);opacity:1}}@keyframes f-classicInPrev{0%{transform:translateX(75px);opacity:0}100%{transform:translate3d(0, 0, 0);opacity:1}}@keyframes f-classicOutNext{100%{transform:translateX(-75px);opacity:0}}@keyframes f-classicOutPrev{100%{transform:translateX(75px);opacity:0}}:root{--f-button-width: 40px;--f-button-height: 40px;--f-button-border: 0;--f-button-border-radius: 0;--f-button-color: #374151;--f-button-bg: #f8f8f8;--f-button-hover-bg: #e0e0e0;--f-button-active-bg: #d0d0d0;--f-button-shadow: none;--f-button-transition: all 0.15s ease;--f-button-transform: none;--f-button-svg-width: 20px;--f-button-svg-height: 20px;--f-button-svg-stroke-width: 1.5;--f-button-svg-fill: none;--f-button-svg-filter: none;--f-button-svg-disabled-opacity: 0.65}.f-button{display:flex;justify-content:center;align-items:center;box-sizing:content-box;position:relative;margin:0;padding:0;width:var(--f-button-width);height:var(--f-button-height);border:var(--f-button-border);border-radius:var(--f-button-border-radius);color:var(--f-button-color);background:var(--f-button-bg);box-shadow:var(--f-button-shadow);pointer-events:all;cursor:pointer;transition:var(--f-button-transition)}@media(hover: hover){.f-button:hover:not([disabled]){color:var(--f-button-hover-color);background-color:var(--f-button-hover-bg)}}.f-button:active:not([disabled]){background-color:var(--f-button-active-bg)}.f-button:focus:not(:focus-visible){outline:none}.f-button:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--f-button-outline, 2px) var(--f-button-outline-color, var(--f-button-color))}.f-button svg{width:var(--f-button-svg-width);height:var(--f-button-svg-height);fill:var(--f-button-svg-fill);stroke:currentColor;stroke-width:var(--f-button-svg-stroke-width);stroke-linecap:round;stroke-linejoin:round;transition:opacity .15s ease;transform:var(--f-button-transform);filter:var(--f-button-svg-filter);pointer-events:none}.f-button[disabled]{cursor:default}.f-button[disabled] svg{opacity:var(--f-button-svg-disabled-opacity)}.f-carousel__nav .f-button.is-prev,.f-carousel__nav .f-button.is-next,.fancybox__nav .f-button.is-prev,.fancybox__nav .f-button.is-next{position:absolute;z-index:1}.is-horizontal .f-carousel__nav .f-button.is-prev,.is-horizontal .f-carousel__nav .f-button.is-next,.is-horizontal .fancybox__nav .f-button.is-prev,.is-horizontal .fancybox__nav .f-button.is-next{top:50%;transform:translateY(-50%)}.is-horizontal .f-carousel__nav .f-button.is-prev,.is-horizontal .fancybox__nav .f-button.is-prev{left:var(--f-button-prev-pos)}.is-horizontal .f-carousel__nav .f-button.is-next,.is-horizontal .fancybox__nav .f-button.is-next{right:var(--f-button-next-pos)}.is-horizontal.is-rtl .f-carousel__nav .f-button.is-prev,.is-horizontal.is-rtl .fancybox__nav .f-button.is-prev{left:auto;right:var(--f-button-next-pos)}.is-horizontal.is-rtl .f-carousel__nav .f-button.is-next,.is-horizontal.is-rtl .fancybox__nav .f-button.is-next{right:auto;left:var(--f-button-prev-pos)}.is-vertical .f-carousel__nav .f-button.is-prev,.is-vertical .f-carousel__nav .f-button.is-next,.is-vertical .fancybox__nav .f-button.is-prev,.is-vertical .fancybox__nav .f-button.is-next{top:auto;left:50%;transform:translateX(-50%)}.is-vertical .f-carousel__nav .f-button.is-prev,.is-vertical .fancybox__nav .f-button.is-prev{top:var(--f-button-next-pos)}.is-vertical .f-carousel__nav .f-button.is-next,.is-vertical .fancybox__nav .f-button.is-next{bottom:var(--f-button-next-pos)}.is-vertical .f-carousel__nav .f-button.is-prev svg,.is-vertical .f-carousel__nav .f-button.is-next svg,.is-vertical .fancybox__nav .f-button.is-prev svg,.is-vertical .fancybox__nav .f-button.is-next svg{transform:rotate(90deg)}html.with-fancybox{width:auto;overflow:visible;scroll-behavior:auto}html.with-fancybox body{touch-action:none}html.with-fancybox body.hide-scrollbar{width:auto;margin-right:calc(var(--fancybox-body-margin, 0px) + var(--fancybox-scrollbar-compensate, 0px));overflow:hidden !important;overscroll-behavior-y:none}.fancybox__container{--fancybox-color: #dbdbdb;--fancybox-hover-color: #fff;--fancybox-bg: rgba(24, 24, 27, 0.98);--fancybox-slide-gap: 10px;--f-spinner-width: 50px;--f-spinner-height: 50px;--f-spinner-color-1: rgba(255, 255, 255, 0.1);--f-spinner-color-2: #bbb;--f-spinner-stroke: 3.65;position:fixed;top:0;left:0;bottom:0;right:0;direction:ltr;display:flex;flex-direction:column;box-sizing:border-box;margin:0;padding:0;color:#f8f8f8;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:visible;z-index:var(--fancybox-zIndex, 1050);outline:none;transform-origin:top left;-webkit-text-size-adjust:100%;-moz-text-size-adjust:none;-ms-text-size-adjust:100%;text-size-adjust:100%;overscroll-behavior-y:contain}.fancybox__container *,.fancybox__container *::before,.fancybox__container *::after{box-sizing:inherit}.fancybox__backdrop{position:fixed;top:0;left:0;bottom:0;right:0;z-index:-1;background:var(--fancybox-bg);opacity:var(--fancybox-opacity, 1);will-change:opacity}.fancybox__carousel{position:relative;box-sizing:border-box;flex:1;min-height:0;z-index:10;overflow-y:visible;overflow-x:clip}.fancybox__viewport{width:100%;height:100%}.fancybox__viewport.is-draggable{cursor:move;cursor:grab}.fancybox__viewport.is-dragging{cursor:move;cursor:grabbing}.fancybox__track{display:flex;margin:0 auto;height:100%}.fancybox__slide{flex:0 0 auto;position:relative;display:flex;flex-direction:column;align-items:center;width:100%;height:100%;margin:0 var(--fancybox-slide-gap) 0 0;padding:4px;overflow:auto;transform:translate3d(0, 0, 0);backface-visibility:hidden}.fancybox__container:not(.is-compact) .fancybox__slide.has-close-btn{padding-top:40px}.fancybox__slide.has-iframe,.fancybox__slide.has-video,.fancybox__slide.has-html5video{overflow:hidden}.fancybox__slide.has-image{overflow:hidden}.fancybox__slide.has-image.is-animating,.fancybox__slide.has-image.is-selected{overflow:visible}.fancybox__slide::before,.fancybox__slide::after{content:"";flex:0 0 0;margin:auto}.fancybox__content{align-self:center;display:flex;flex-direction:column;position:relative;margin:0;padding:2rem;max-width:100%;color:var(--fancybox-content-color, #374151);background:var(--fancybox-content-bg, #fff);cursor:default;border-radius:0;z-index:20}.is-loading .fancybox__content{opacity:0}.is-draggable .fancybox__content{cursor:move;cursor:grab}.can-zoom_in .fancybox__content{cursor:zoom-in}.can-zoom_out .fancybox__content{cursor:zoom-out}.is-dragging .fancybox__content{cursor:move;cursor:grabbing}.fancybox__content [data-selectable],.fancybox__content [contenteditable]{cursor:auto}.fancybox__slide.has-image>.fancybox__content{padding:0;background:rgba(0,0,0,0);min-height:1px;background-repeat:no-repeat;background-size:contain;background-position:center center;transition:none;transform:translate3d(0, 0, 0);backface-visibility:hidden}.fancybox__slide.has-image>.fancybox__content>picture>img{width:100%;height:auto;max-height:100%}.is-zooming-in .fancybox__viewport:not(.is-dragging) .fancybox__slide:not(.is-selected) .fancybox__content,.is-zooming-out .fancybox__slide:not(.is-selected) .fancybox__content{visibility:hidden}.is-animating .fancybox__content,.is-dragging .fancybox__content{filter:blur(0px);will-change:transform,width,height}.fancybox-image{margin:auto;display:block;width:100%;height:100%;min-height:0;object-fit:contain;user-select:none}.fancybox__caption{align-self:center;max-width:100%;flex-shrink:0;margin:0;padding:14px 0 4px 0;overflow-wrap:anywhere;line-height:1.375;color:var(--fancybox-color, currentColor);opacity:var(--fancybox-opacity, 1);cursor:auto;visibility:visible}.is-loading .fancybox__caption,.is-closing .fancybox__caption{opacity:0;visibility:hidden}.is-compact .fancybox__caption{padding-bottom:0}.f-button.is-close-btn{--f-button-svg-stroke-width: 2;position:absolute;top:0;right:8px;z-index:40}.fancybox__content>.f-button.is-close-btn{--f-button-width: 34px;--f-button-height: 34px;--f-button-border-radius: 4px;--f-button-color: var(--fancybox-color, #fff);--f-button-hover-color: var(--fancybox-color, #fff);--f-button-bg: transparent;--f-button-hover-bg: transparent;--f-button-active-bg: transparent;--f-button-svg-width: 22px;--f-button-svg-height: 22px;position:absolute;top:-38px;right:0;opacity:.75}.is-loading .fancybox__content>.f-button.is-close-btn{visibility:hidden}.is-zooming-out .fancybox__content>.f-button.is-close-btn{visibility:hidden}.fancybox__content>.f-button.is-close-btn:hover{opacity:1}.fancybox__footer{padding:0;margin:0;position:relative}.fancybox__footer .fancybox__caption{width:100%;padding:24px;opacity:var(--fancybox-opacity, 1);transition:all .25s ease}.is-compact .fancybox__footer{position:absolute;bottom:0;left:0;right:0;z-index:20;background:rgba(24,24,27,.5)}.is-compact .fancybox__footer .fancybox__caption{padding:12px}.is-compact .fancybox__content>.f-button.is-close-btn{--f-button-border-radius: 50%;--f-button-color: #fff;--f-button-hover-color: #fff;--f-button-outline-color: #000;--f-button-bg: rgba(0, 0, 0, 0.6);--f-button-active-bg: rgba(0, 0, 0, 0.6);--f-button-hover-bg: rgba(0, 0, 0, 0.6);--f-button-svg-width: 18px;--f-button-svg-height: 18px;--f-button-svg-filter: none;top:5px;right:5px}.fancybox__nav{--f-button-width: 50px;--f-button-height: 50px;--f-button-border: 0;--f-button-border-radius: 50%;--f-button-color: var(--fancybox-color);--f-button-hover-color: var(--fancybox-hover-color);--f-button-bg: transparent;--f-button-hover-bg: rgba(24, 24, 27, 0.3);--f-button-active-bg: rgba(24, 24, 27, 0.5);--f-button-shadow: none;--f-button-transition: all 0.15s ease;--f-button-transform: none;--f-button-svg-width: 26px;--f-button-svg-height: 26px;--f-button-svg-stroke-width: 2.5;--f-button-svg-fill: none;--f-button-svg-filter: drop-shadow(1px 1px 1px rgba(24, 24, 27, 0.5));--f-button-svg-disabled-opacity: 0.65;--f-button-next-pos: 1rem;--f-button-prev-pos: 1rem;opacity:var(--fancybox-opacity, 1)}.fancybox__nav .f-button:before{position:absolute;content:"";top:-30px;right:-20px;left:-20px;bottom:-30px;z-index:1}.is-idle .fancybox__nav{animation:.15s ease-out both f-fadeOut}.is-idle.is-compact .fancybox__footer{pointer-events:none;animation:.15s ease-out both f-fadeOut}.fancybox__slide>.f-spinner{position:absolute;top:50%;left:50%;margin:var(--f-spinner-top, calc(var(--f-spinner-width) * -0.5)) 0 0 var(--f-spinner-left, calc(var(--f-spinner-height) * -0.5));z-index:30;cursor:pointer}.fancybox-protected{position:absolute;top:0;left:0;right:0;bottom:0;z-index:40;user-select:none}.fancybox-ghost{position:absolute;top:0;left:0;width:100%;height:100%;min-height:0;object-fit:contain;z-index:40;user-select:none;pointer-events:none}.fancybox-focus-guard{outline:none;opacity:0;position:fixed;pointer-events:none}.fancybox__container:not([aria-hidden]){opacity:0}.fancybox__container.is-animated[aria-hidden=false]>*:not(.fancybox__backdrop,.fancybox__carousel),.fancybox__container.is-animated[aria-hidden=false] .fancybox__carousel>*:not(.fancybox__viewport),.fancybox__container.is-animated[aria-hidden=false] .fancybox__slide>*:not(.fancybox__content){animation:.25s ease .1s backwards f-fadeIn}.fancybox__container.is-animated[aria-hidden=false] .fancybox__backdrop{animation:.35s ease backwards f-fadeIn}.fancybox__container.is-animated[aria-hidden=true]>*:not(.fancybox__backdrop,.fancybox__carousel),.fancybox__container.is-animated[aria-hidden=true] .fancybox__carousel>*:not(.fancybox__viewport),.fancybox__container.is-animated[aria-hidden=true] .fancybox__slide>*:not(.fancybox__content){animation:.15s ease forwards f-fadeOut}.fancybox__container.is-animated[aria-hidden=true] .fancybox__backdrop{animation:.35s ease forwards f-fadeOut}.has-iframe .fancybox__content,.has-map .fancybox__content,.has-pdf .fancybox__content,.has-youtube .fancybox__content,.has-vimeo .fancybox__content,.has-html5video .fancybox__content{max-width:100%;flex-shrink:1;min-height:1px;overflow:visible}.has-iframe .fancybox__content,.has-map .fancybox__content,.has-pdf .fancybox__content{width:100%;height:100%}.fancybox__container:not(.is-compact) .has-iframe .fancybox__content,.fancybox__container:not(.is-compact) .has-map .fancybox__content,.fancybox__container:not(.is-compact) .has-pdf .fancybox__content{width:calc(100% - 120px);height:90%}.has-youtube .fancybox__content,.has-vimeo .fancybox__content,.has-html5video .fancybox__content{width:960px;height:540px;max-width:100%;max-height:100%}.has-map .fancybox__content,.has-pdf .fancybox__content,.has-youtube .fancybox__content,.has-vimeo .fancybox__content,.has-html5video .fancybox__content{padding:0;background:rgba(24,24,27,.9);color:#fff}.has-map .fancybox__content{background:#e5e3df}.fancybox__html5video,.fancybox__iframe{border:0;display:block;height:100%;width:100%;background:rgba(0,0,0,0)}.fancybox-placeholder{border:0 !important;clip:rect(1px, 1px, 1px, 1px) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;margin:-1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important}.f-carousel__thumbs{--f-thumb-width: 96px;--f-thumb-height: 72px;--f-thumb-outline: 0;--f-thumb-outline-color: #5eb0ef;--f-thumb-opacity: 1;--f-thumb-hover-opacity: 1;--f-thumb-selected-opacity: 1;--f-thumb-border-radius: 2px;--f-thumb-offset: 0px;--f-button-next-pos: 0;--f-button-prev-pos: 0}.f-carousel__thumbs.is-classic{--f-thumb-gap: 8px;--f-thumb-opacity: 0.5;--f-thumb-hover-opacity: 1;--f-thumb-selected-opacity: 1}.f-carousel__thumbs.is-modern{--f-thumb-gap: 4px;--f-thumb-extra-gap: 20px;--f-thumb-clip-width: 46px}.f-thumbs{position:relative;flex:0 0 auto;margin:0;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);user-select:none;perspective:1000px;transform:translateZ(0)}.f-thumbs .f-spinner{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:2px;background-image:linear-gradient(#ebeff2, #e2e8f0);z-index:-1}.f-thumbs .f-spinner svg{display:none}.f-thumbs.is-vertical{height:100%}.f-thumbs__viewport{width:100%;height:auto;overflow:hidden}.f-thumbs__track{display:flex;will-change:transform}.f-thumbs__slide{position:relative;flex:0 0 auto;box-sizing:content-box;display:flex;align-items:center;justify-content:center;padding:0;margin:0;width:var(--f-thumb-width);min-width:var(--f-thumb-width);height:var(--f-thumb-height);overflow:visible;cursor:pointer}.f-thumbs__slide.is-loading img{opacity:0}.is-classic .f-thumbs__viewport{height:100%}.is-modern .f-thumbs__track{width:max-content}.is-modern .f-thumbs__track::before{content:"";position:absolute;top:0;bottom:0;left:calc(var(--left, 0)*1px);width:calc(100% - var(--width, 0)*1px);cursor:pointer}.is-modern .f-thumbs__slide{--clip-path: inset( 0 calc( (var(--f-thumb-width, 0) - var(--f-thumb-clip-width, 0)) * 0.5 * (1 - var(--progress, 0)) ) round var(--f-thumb-border-radius, 0) );transform:translate3d(calc(var(--shift, 0) * -1px), 0, 0);transition:none;pointer-events:none}.is-modern .f-thumbs__slide>*{clip-path:var(--clip-path)}.is-modern:not(.is-using-mouse) .f-thumbs__slide:focus-within{filter:drop-shadow(-1px 0px 0px var(--f-thumb-outline-color)) drop-shadow(2px 0px 0px var(--f-thumb-outline-color)) drop-shadow(0px -1px 0px var(--f-thumb-outline-color)) drop-shadow(0px 2px 0px var(--f-thumb-outline-color))}.is-modern.in-touch .f-thumbs__slide{filter:none}.is-modern.is-resting .f-thumbs__slide{transition:all .33s ease}.is-modern.is-resting .f-thumbs__slide>*{transition:all .33s ease}.f-thumbs__slide__button{appearance:none;width:100%;height:100%;margin:0;padding:0;border:0;position:relative;border-radius:var(--f-thumb-border-radius);overflow:hidden;background:rgba(0,0,0,0);outline:none;cursor:pointer;pointer-events:auto;touch-action:manipulation;opacity:var(--f-thumb-opacity);transition:opacity .2s ease}.f-thumbs__slide__button:hover{opacity:var(--f-thumb-hover-opacity)}.f-thumbs__slide__button:focus:not(:focus-visible){outline:none}.f-thumbs__slide__button:focus-visible{outline:none;opacity:var(--f-thumb-selected-opacity)}.is-nav-selected .f-thumbs__slide__button{opacity:var(--f-thumb-selected-opacity)}.is-nav-selected .f-thumbs__slide__button::after{content:"";position:absolute;top:0;left:0;right:0;height:auto;bottom:0;border:var(--f-thumb-outline, 0) solid var(--f-thumb-outline-color, transparent);border-radius:var(--f-thumb-border-radius);animation:f-fadeIn .2s ease-out;z-index:10}.f-thumbs__slide__img{position:absolute;overflow:hidden;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:var(--f-thumb-offset);box-sizing:border-box;pointer-events:none;object-fit:cover}.f-thumbs.is-horizontal .f-thumbs__track{margin:0 auto;padding:8px 0 12px 0}.f-thumbs.is-horizontal .f-thumbs__slide{margin:0 var(--f-thumb-gap) 0 0}.f-thumbs.is-vertical .f-thumbs__track{flex-wrap:wrap;margin:auto 0;padding:0 8px}.f-thumbs.is-vertical .f-thumbs__slide{margin:0 0 var(--f-thumb-gap) 0}.fancybox__thumbs{--f-thumb-width: 96px;--f-thumb-height: 72px;--f-thumb-border-radius: 2px;--f-thumb-outline: 2px;--f-thumb-outline-color: #ededed;position:relative;opacity:var(--fancybox-opacity, 1);transition:max-height .35s cubic-bezier(0.23, 1, 0.32, 1)}.fancybox__thumbs.is-classic{--f-thumb-gap: 8px;--f-thumb-opacity: 0.5;--f-thumb-hover-opacity: 1}.fancybox__thumbs.is-classic .f-spinner{background-image:linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05))}.fancybox__thumbs.is-modern{--f-thumb-gap: 4px;--f-thumb-extra-gap: 20px;--f-thumb-clip-width: 46px;--f-thumb-opacity: 1;--f-thumb-hover-opacity: 1}.fancybox__thumbs.is-modern .f-spinner{background-image:linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05))}.fancybox__thumbs.is-horizontal{padding:0 var(--f-thumb-gap)}.fancybox__thumbs.is-vertical{padding:var(--f-thumb-gap) 0}.is-compact .fancybox__thumbs{--f-thumb-width: 64px;--f-thumb-clip-width: 32px;--f-thumb-height: 48px;--f-thumb-extra-gap: 10px}.fancybox__thumbs.is-masked{max-height:0px !important}.is-closing .fancybox__thumbs{transition:none !important}.fancybox__toolbar{--f-progress-color: var(--fancybox-color, rgba(255, 255, 255, 0.94));--f-button-width: 46px;--f-button-height: 46px;--f-button-color: var(--fancybox-color);--f-button-hover-color: var(--fancybox-hover-color);--f-button-bg: rgba(24, 24, 27, 0.65);--f-button-hover-bg: rgba(70, 70, 73, 0.65);--f-button-active-bg: rgba(90, 90, 93, 0.65);--f-button-border-radius: 0;--f-button-svg-width: 24px;--f-button-svg-height: 24px;--f-button-svg-stroke-width: 1.5;--f-button-svg-filter: drop-shadow(1px 1px 1px rgba(24, 24, 27, 0.15));--f-button-svg-fill: none;--f-button-svg-disabled-opacity: 0.65;display:flex;flex-direction:row;justify-content:space-between;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;color:var(--fancybox-color, currentColor);opacity:var(--fancybox-opacity, 1);text-shadow:var(--fancybox-toolbar-text-shadow, 1px 1px 1px rgba(0, 0, 0, 0.5));pointer-events:none;z-index:20}.fancybox__toolbar :focus-visible{z-index:1}.fancybox__toolbar.is-absolute,.is-compact .fancybox__toolbar{position:absolute;top:0;left:0;right:0}.is-idle .fancybox__toolbar{pointer-events:none;animation:.15s ease-out both f-fadeOut}.fancybox__toolbar__column{display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start}.fancybox__toolbar__column.is-left,.fancybox__toolbar__column.is-right{flex-grow:1;flex-basis:0}.fancybox__toolbar__column.is-right{display:flex;justify-content:flex-end;flex-wrap:nowrap}.fancybox__infobar{padding:0 5px;line-height:var(--f-button-height);text-align:center;font-size:17px;font-variant-numeric:tabular-nums;-webkit-font-smoothing:subpixel-antialiased;cursor:default;user-select:none}.fancybox__infobar span{padding:0 5px}.fancybox__infobar:not(:first-child):not(:last-child){background:var(--f-button-bg)}[data-fancybox-toggle-slideshow]{position:relative}[data-fancybox-toggle-slideshow] .f-progress{height:100%;opacity:.3}[data-fancybox-toggle-slideshow] svg g:first-child{display:flex}[data-fancybox-toggle-slideshow] svg g:last-child{display:none}.has-slideshow [data-fancybox-toggle-slideshow] svg g:first-child{display:none}.has-slideshow [data-fancybox-toggle-slideshow] svg g:last-child{display:flex}[data-fancybox-toggle-fullscreen] svg g:first-child{display:flex}[data-fancybox-toggle-fullscreen] svg g:last-child{display:none}:fullscreen [data-fancybox-toggle-fullscreen] svg g:first-child{display:none}:fullscreen [data-fancybox-toggle-fullscreen] svg g:last-child{display:flex}.f-progress{position:absolute;top:0;left:0;right:0;height:3px;transform:scaleX(0);transform-origin:0;transition-property:transform;transition-timing-function:linear;background:var(--f-progress-color, var(--f-carousel-theme-color, #0091ff));z-index:30;user-select:none;pointer-events:none}',""]);const r=a},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var s="",i=void 0!==t[5];return t[4]&&(s+="@supports (".concat(t[4],") {")),t[2]&&(s+="@media ".concat(t[2]," {")),i&&(s+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),s+=e(t),i&&(s+="}"),t[2]&&(s+="}"),t[4]&&(s+="}"),s})).join("")},t.i=function(e,s,i,n,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(i)for(var r=0;r0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),s&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=s):d[2]=s),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),t.push(d))}},t}},667:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},81:e=>{"use strict";e.exports=function(e){return e[1]}},224:(e,t,s)=>{var i=s(731);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals),(0,s(346).Z)("576e95f7",i,!1,{})},484:(e,t,s)=>{var i=s(8);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals),(0,s(346).Z)("72154fe7",i,!1,{})},466:(e,t,s)=>{var i=s(769);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals),(0,s(346).Z)("d6adc68a",i,!1,{})},346:(e,t,s)=>{"use strict";function i(e,t){for(var s=[],i={},n=0;np});var n="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},a=n&&(document.head||document.getElementsByTagName("head")[0]),r=null,l=0,c=!1,d=function(){},u=null,h="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,s,n){c=s,u=n||{};var a=i(e,t);return m(a),function(t){for(var s=[],n=0;ns.parts.length&&(i.parts.length=s.parts.length)}else{var a=[];for(n=0;n{"use strict";e.exports=s.p+"da6db114d1bfea8247cc.png"},625:(e,t,s)=>{"use strict";e.exports=s.p+"4c7977c7e945c364d79c.png"},428:(e,t,s)=>{"use strict";e.exports=s.p+"5fff63437bb18770cd14.png"},312:(e,t,s)=>{"use strict";e.exports=s.p+"eb7e1ff2bf48f00783e1.png"},621:(e,t,s)=>{"use strict";e.exports=s.p+"dfd2cd6c6feadc35a86b.png"},253:(e,t,s)=>{"use strict";e.exports=s.p+"ea58d72e90b83b81b29e.png"},799:(e,t,s)=>{"use strict";e.exports=s.p+"69b73ac1af4184b284c0.png"},979:(e,t,s)=>{"use strict";e.exports=s.p+"e5ccbe436a3001aef329.png"},558:(e,t,s)=>{"use strict";e.exports=s.p+"cbad42498529e6c18181.png"},436:(e,t,s)=>{"use strict";e.exports=s.p+"447ca14a03ded6898dcc.png"},333:(e,t,s)=>{"use strict";e.exports=s.p+"35a2ddd6a61462ddcb26.png"},884:(e,t,s)=>{"use strict";e.exports=s.p+"ad54e769614cf6f9580c.png"},972:(e,t,s)=>{"use strict";e.exports=s.p+"4541924ef6b78d151b9b.png"}},t={};function s(i){var n=t[i];if(void 0!==n)return n.exports;var o=t[i]={id:i,exports:{}};return e[i](o,o.exports,s),o.exports}s.m=e,s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.p="https://cdn.uassist.biz/public/widget-assets/",s.b=document.baseURI||self.location.href,(()=>{"use strict";var e=s(565),t=s.n(e),i=s(893),n=s.n(i),o=(s(383),s(224),s(484),Object.freeze({}));function a(e){return null==e}function r(e){return null!=e}function l(e){return!0===e}function c(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function d(e){return null!==e&&"object"==typeof e}var u=Object.prototype.toString;function h(e){return"[object Object]"===u.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function m(e){return null==e?"":Array.isArray(e)||h(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function g(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var s=Object.create(null),i=e.split(","),n=0;n-1)return e.splice(s,1)}}var _=Object.prototype.hasOwnProperty;function w(e,t){return _.call(e,t)}function k(e){var t=Object.create(null);return function(s){return t[s]||(t[s]=e(s))}}var x=/-(\w)/g,S=k((function(e){return e.replace(x,(function(e,t){return t?t.toUpperCase():""}))})),C=k((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),E=/\B([A-Z])/g,P=k((function(e){return e.replace(E,"-$1").toLowerCase()})),T=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function s(s){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,s):e.call(t)}return s._length=e.length,s};function q(e,t){t=t||0;for(var s=e.length-t,i=new Array(s);s--;)i[s]=e[s+t];return i}function A(e,t){for(var s in t)e[s]=t[s];return e}function B(e){for(var t={},s=0;s0,J=X&&X.indexOf("edge/")>0,ee=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===G),te=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),se={}.watch,ie=!1;if(U)try{var ne={};Object.defineProperty(ne,"passive",{get:function(){ie=!0}}),window.addEventListener("test-passive",null,ne)}catch(Do){}var oe=function(){return void 0===Y&&(Y=!U&&!Q&&void 0!==s.g&&s.g.process&&"server"===s.g.process.env.VUE_ENV),Y},ae=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function re(e){return"function"==typeof e&&/native code/.test(e.toString())}var le,ce="undefined"!=typeof Symbol&&re(Symbol)&&"undefined"!=typeof Reflect&&re(Reflect.ownKeys);le="undefined"!=typeof Set&&re(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var de=L,ue=0,he=function(){this.id=ue++,this.subs=[]};he.prototype.addSub=function(e){this.subs.push(e)},he.prototype.removeSub=function(e){b(this.subs,e)},he.prototype.depend=function(){he.target&&he.target.addDep(this)},he.prototype.notify=function(){for(var e=this.subs.slice(),t=0,s=e.length;t-1)if(o&&!w(n,"default"))a=!1;else if(""===a||a===P(e)){var l=Ve(String,n.type);(l<0||r0&&(ft((i=pt(i,(t||"")+"_"+s))[0])&&ft(o)&&(d[n]=be(o.text+i[0].text),i.shift()),d.push.apply(d,i)):c(i)?ft(o)?d[n]=be(o.text+i):""!==i&&d.push(be(i)):ft(i)&&ft(o)?d[n]=be(o.text+i.text):(l(e._isVList)&&r(i.tag)&&a(i.key)&&r(t)&&(i.key="__vlist"+t+"_"+s+"__"),d.push(i)));return d}function mt(e,t){if(e){for(var s=Object.create(null),i=ce?Reflect.ownKeys(e):Object.keys(e),n=0;n0,a=e?!!e.$stable:!n,r=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&s&&s!==o&&r===s.$key&&!n&&!s.$hasNormal)return s;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=bt(t,l,e[l]))}else i={};for(var c in t)c in i||(i[c]=_t(t,c));return e&&Object.isExtensible(e)&&(e._normalized=i),V(i,"$stable",a),V(i,"$key",r),V(i,"$hasNormal",n),i}function bt(e,t,s){var i=function(){var e=arguments.length?s.apply(null,arguments):s({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ht(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return s.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function _t(e,t){return function(){return e[t]}}function wt(e,t){var s,i,n,o,a;if(Array.isArray(e)||"string"==typeof e)for(s=new Array(e.length),i=0,n=e.length;idocument.createEvent("Event").timeStamp&&(ms=function(){return gs.now()})}function vs(){var e,t;for(ps=ms(),hs=!0,ls.sort((function(e,t){return e.id-t.id})),fs=0;fsfs&&ls[s].id>e.id;)s--;ls.splice(s+1,0,e)}else ls.push(e);us||(us=!0,it(vs))}}(this)},bs.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||d(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Ye(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},bs.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},bs.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},bs.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var _s={enumerable:!0,configurable:!0,get:L,set:L};function ws(e,t,s){_s.get=function(){return this[t][s]},_s.set=function(e){this[t][s]=e},Object.defineProperty(e,s,_s)}var ks={lazy:!0};function xs(e,t,s){var i=!oe();"function"==typeof s?(_s.get=i?Ss(t):Cs(s),_s.set=L):(_s.get=s.get?i&&!1!==s.cache?Ss(t):Cs(s.get):L,_s.set=s.set||L),Object.defineProperty(e,t,_s)}function Ss(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),he.target&&t.depend(),t.value}}function Cs(e){return function(){return e.call(this,this)}}function Es(e,t,s,i){return h(s)&&(i=s,s=s.handler),"string"==typeof s&&(s=e[s]),e.$watch(t,s,i)}var Ps=0;function Ts(e){var t=e.options;if(e.super){var s=Ts(e.super);if(s!==e.superOptions){e.superOptions=s;var i=function(e){var t,s=e.options,i=e.sealedOptions;for(var n in s)s[n]!==i[n]&&(t||(t={}),t[n]=s[n]);return t}(e);i&&A(e.extendOptions,i),(t=e.options=De(s,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function qs(e){this._init(e)}function As(e){return e&&(e.Ctor.options.name||e.tag)}function Bs(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===u.call(e)}(e)&&e.test(t)}function Ls(e,t){var s=e.cache,i=e.keys,n=e._vnode;for(var o in s){var a=s[o];if(a){var r=As(a.componentOptions);r&&!t(r)&&Ms(s,o,i,n)}}}function Ms(e,t,s,i){var n=e[t];!n||i&&n.tag===i.tag||n.componentInstance.$destroy(),e[t]=null,b(s,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=Ps++,t._isVue=!0,e&&e._isComponent?function(e,t){var s=e.$options=Object.create(e.constructor.options),i=t._parentVnode;s.parent=t.parent,s._parentVnode=i;var n=i.componentOptions;s.propsData=n.propsData,s._parentListeners=n.listeners,s._renderChildren=n.children,s._componentTag=n.tag,t.render&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=De(Ts(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,s=t.parent;if(s&&!t.abstract){for(;s.$options.abstract&&s.$parent;)s=s.$parent;s.$children.push(e)}e.$parent=s,e.$root=s?s.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&ts(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,s=e.$vnode=t._parentVnode,i=s&&s.context;e.$slots=gt(t._renderChildren,i),e.$scopedSlots=o,e._c=function(t,s,i,n){return Wt(e,t,s,i,n,!1)},e.$createElement=function(t,s,i,n){return Wt(e,t,s,i,n,!0)};var n=s&&s.data;Te(e,"$attrs",n&&n.attrs||o,null,!0),Te(e,"$listeners",t._parentListeners||o,null,!0)}(t),rs(t,"beforeCreate"),function(e){var t=mt(e.$options.inject,e);t&&(Ce(!1),Object.keys(t).forEach((function(s){Te(e,s,t[s])})),Ce(!0))}(t),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var s=e.$options.propsData||{},i=e._props={},n=e.$options._propKeys=[];!e.$parent||Ce(!1);var o=function(o){n.push(o);var a=ze(o,t,s,e);Te(i,o,a),o in e||ws(e,"_props",o)};for(var a in t)o(a);Ce(!0)}(e,t.props),t.methods&&function(e,t){for(var s in e.$options.props,t)e[s]="function"!=typeof t[s]?L:T(t[s],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;h(t=e._data="function"==typeof t?function(e,t){pe();try{return e.call(t,t)}catch(e){return Ye(e,t,"data()"),{}}finally{me()}}(t,e):t||{})||(t={});for(var s=Object.keys(t),i=e.$options.props,n=(e.$options.methods,s.length);n--;){var o=s[n];i&&w(i,o)||H(o)||ws(e,"_data",o)}Pe(t,!0)}(e):Pe(e._data={},!0),t.computed&&function(e,t){var s=e._computedWatchers=Object.create(null),i=oe();for(var n in t){var o=t[n],a="function"==typeof o?o:o.get;i||(s[n]=new bs(e,a||L,L,ks)),n in e||xs(e,n,o)}}(e,t.computed),t.watch&&t.watch!==se&&function(e,t){for(var s in t){var i=t[s];if(Array.isArray(i))for(var n=0;n1?q(s):s;for(var i=q(arguments,1),n='event handler for "'+e+'"',o=0,a=s.length;oparseInt(this.max)&&Ms(a,r[0],r,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return R}};Object.defineProperty(e,"config",t),e.util={warn:de,extend:A,mergeOptions:De,defineReactive:Te},e.set=qe,e.delete=Ae,e.nextTick=it,e.observable=function(e){return Pe(e),e},e.options=Object.create(null),j.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,A(e.options.components,Is),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var s=q(arguments,1);return s.unshift(this),"function"==typeof e.install?e.install.apply(e,s):"function"==typeof e&&e.apply(null,s),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=De(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var s=this,i=s.cid,n=e._Ctor||(e._Ctor={});if(n[i])return n[i];var o=e.name||s.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(s.prototype)).constructor=a,a.cid=t++,a.options=De(s.options,e),a.super=s,a.options.props&&function(e){var t=e.options.props;for(var s in t)ws(e.prototype,"_props",s)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var s in t)xs(e.prototype,s,t[s])}(a),a.extend=s.extend,a.mixin=s.mixin,a.use=s.use,j.forEach((function(e){a[e]=s[e]})),o&&(a.options.components[o]=a),a.superOptions=s.options,a.extendOptions=e,a.sealedOptions=A({},a.options),n[i]=a,a}}(e),function(e){j.forEach((function(t){e[t]=function(e,s){return s?("component"===t&&h(s)&&(s.name=s.name||e,s=this.options._base.extend(s)),"directive"===t&&"function"==typeof s&&(s={bind:s,update:s}),this.options[t+"s"][e]=s,s):this.options[t+"s"][e]}}))}(e)}(qs),Object.defineProperty(qs.prototype,"$isServer",{get:oe}),Object.defineProperty(qs.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(qs,"FunctionalRenderContext",{value:Ot}),qs.version="2.6.12";var Os=v("style,class"),Fs=v("input,textarea,option,select,progress"),Ds=v("contenteditable,draggable,spellcheck"),js=v("events,caret,typing,plaintext-only"),zs=function(e,t){return Ws(t)||"false"===t?"false":"contenteditable"===e&&js(t)?t:"true"},Rs=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Hs="http://www.w3.org/1999/xlink",Vs=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Ys=function(e){return Vs(e)?e.slice(6,e.length):""},Ws=function(e){return null==e||!1===e};function $s(e,t){return{staticClass:Us(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Us(e,t){return e?t?e+" "+t:e:t||""}function Qs(e){return Array.isArray(e)?function(e){for(var t,s="",i=0,n=e.length;i-1?vi(e,t,s):Rs(t)?Ws(s)?e.removeAttribute(t):(s="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,s)):Ds(t)?e.setAttribute(t,zs(t,s)):Vs(t)?Ws(s)?e.removeAttributeNS(Hs,Ys(t)):e.setAttributeNS(Hs,t,s):vi(e,t,s)}function vi(e,t,s){if(Ws(s))e.removeAttribute(t);else{if(K&&!Z&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==s&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,s)}}var yi={create:mi,update:mi};function bi(e,t){var s=t.elm,i=t.data,n=e.data;if(!(a(i.staticClass)&&a(i.class)&&(a(n)||a(n.staticClass)&&a(n.class)))){var o=function(e){for(var t=e.data,s=e,i=e;r(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=$s(i.data,t));for(;r(s=s.parent);)s&&s.data&&(t=$s(t,s.data));return function(e,t){return r(e)||r(t)?Us(e,Qs(t)):""}(t.staticClass,t.class)}(t),l=s._transitionClasses;r(l)&&(o=Us(o,Qs(l))),o!==s._prevClass&&(s.setAttribute("class",o),s._prevClass=o)}}var _i,wi={create:bi,update:bi},ki="__r",xi="__c";function Si(e,t,s){var i=_i;return function n(){null!==t.apply(null,arguments)&&Pi(e,n,s,i)}}var Ci=Ge&&!(te&&Number(te[1])<=53);function Ei(e,t,s,i){if(Ci){var n=ps,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=n||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}_i.addEventListener(e,t,ie?{capture:s,passive:i}:s)}function Pi(e,t,s,i){(i||_i).removeEventListener(e,t._wrapper||t,s)}function Ti(e,t){if(!a(e.data.on)||!a(t.data.on)){var s=t.data.on||{},i=e.data.on||{};_i=t.elm,function(e){if(r(e[ki])){var t=K?"change":"input";e[t]=[].concat(e[ki],e[t]||[]),delete e[ki]}r(e[xi])&&(e.change=[].concat(e[xi],e.change||[]),delete e[xi])}(s),ct(s,i,Ei,Pi,Si,t.context),_i=void 0}}var qi,Ai={create:Ti,update:Ti};function Bi(e,t){if(!a(e.data.domProps)||!a(t.data.domProps)){var s,i,n=t.elm,o=e.data.domProps||{},l=t.data.domProps||{};for(s in r(l.__ob__)&&(l=t.data.domProps=A({},l)),o)s in l||(n[s]="");for(s in l){if(i=l[s],"textContent"===s||"innerHTML"===s){if(t.children&&(t.children.length=0),i===o[s])continue;1===n.childNodes.length&&n.removeChild(n.childNodes[0])}if("value"===s&&"PROGRESS"!==n.tagName){n._value=i;var c=a(i)?"":String(i);Li(n,c)&&(n.value=c)}else if("innerHTML"===s&&Ks(n.tagName)&&a(n.innerHTML)){(qi=qi||document.createElement("div")).innerHTML=""+i+"";for(var d=qi.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;d.firstChild;)n.appendChild(d.firstChild)}else if(i!==o[s])try{n[s]=i}catch(e){}}}}function Li(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var s=!0;try{s=document.activeElement!==e}catch(e){}return s&&e.value!==t}(e,t)||function(e,t){var s=e.value,i=e._vModifiers;if(r(i)){if(i.number)return g(s)!==g(t);if(i.trim)return s.trim()!==t.trim()}return s!==t}(e,t))}var Mi={create:Bi,update:Bi},Ni=k((function(e){var t={},s=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var i=e.split(s);i.length>1&&(t[i[0].trim()]=i[1].trim())}})),t}));function Ii(e){var t=Oi(e.style);return e.staticStyle?A(e.staticStyle,t):t}function Oi(e){return Array.isArray(e)?B(e):"string"==typeof e?Ni(e):e}var Fi,Di=/^--/,ji=/\s*!important$/,zi=function(e,t,s){if(Di.test(t))e.style.setProperty(t,s);else if(ji.test(s))e.style.setProperty(P(t),s.replace(ji,""),"important");else{var i=Hi(t);if(Array.isArray(s))for(var n=0,o=s.length;n-1?t.split(Wi).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var s=" "+(e.getAttribute("class")||"")+" ";s.indexOf(" "+t+" ")<0&&e.setAttribute("class",(s+t).trim())}}function Ui(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Wi).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var s=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";s.indexOf(i)>=0;)s=s.replace(i," ");(s=s.trim())?e.setAttribute("class",s):e.removeAttribute("class")}}function Qi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&A(t,Gi(e.name||"v")),A(t,e),t}return"string"==typeof e?Gi(e):void 0}}var Gi=k((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Xi=U&&!Z,Ki="transition",Zi="animation",Ji="transition",en="transitionend",tn="animation",sn="animationend";Xi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ji="WebkitTransition",en="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(tn="WebkitAnimation",sn="webkitAnimationEnd"));var nn=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function on(e){nn((function(){nn(e)}))}function an(e,t){var s=e._transitionClasses||(e._transitionClasses=[]);s.indexOf(t)<0&&(s.push(t),$i(e,t))}function rn(e,t){e._transitionClasses&&b(e._transitionClasses,t),Ui(e,t)}function ln(e,t,s){var i=dn(e,t),n=i.type,o=i.timeout,a=i.propCount;if(!n)return s();var r=n===Ki?en:sn,l=0,c=function(){e.removeEventListener(r,d),s()},d=function(t){t.target===e&&++l>=a&&c()};setTimeout((function(){l0&&(s=Ki,d=a,u=o.length):t===Zi?c>0&&(s=Zi,d=c,u=l.length):u=(s=(d=Math.max(a,c))>0?a>c?Ki:Zi:null)?s===Ki?o.length:l.length:0,{type:s,timeout:d,propCount:u,hasTransform:s===Ki&&cn.test(i[Ji+"Property"])}}function un(e,t){for(;e.length1}function vn(e,t){!0!==t.data.show&&fn(t)}var yn=function(e){var t,s,i={},n=e.modules,o=e.nodeOps;for(t=0;tp?b(e,a(s[v+1])?null:s[v+1].elm,s,f,v,i):f>v&&w(t,h,p)}(h,g,v,s,d):r(v)?(r(e.text)&&o.setTextContent(h,""),b(h,null,v,0,v.length-1,s)):r(g)?w(g,0,g.length-1):r(e.text)&&o.setTextContent(h,""):e.text!==t.text&&o.setTextContent(h,t.text),r(p)&&r(f=p.hook)&&r(f=f.postpatch)&&f(e,t)}}}function C(e,t,s){if(l(s)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i-1,a.selected!==o&&(a.selected=o);else if(I(xn(a),i))return void(e.selectedIndex!==r&&(e.selectedIndex=r));n||(e.selectedIndex=-1)}}function kn(e,t){return t.every((function(t){return!I(t,e)}))}function xn(e){return"_value"in e?e._value:e.value}function Sn(e){e.target.composing=!0}function Cn(e){e.target.composing&&(e.target.composing=!1,En(e.target,"input"))}function En(e,t){var s=document.createEvent("HTMLEvents");s.initEvent(t,!0,!0),e.dispatchEvent(s)}function Pn(e){return!e.componentInstance||e.data&&e.data.transition?e:Pn(e.componentInstance._vnode)}var Tn={bind:function(e,t,s){var i=t.value,n=(s=Pn(s)).data&&s.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&n?(s.data.show=!0,fn(s,(function(){e.style.display=o}))):e.style.display=i?o:"none"},update:function(e,t,s){var i=t.value;!i!=!t.oldValue&&((s=Pn(s)).data&&s.data.transition?(s.data.show=!0,i?fn(s,(function(){e.style.display=e.__vOriginalDisplay})):pn(s,(function(){e.style.display="none"}))):e.style.display=i?e.__vOriginalDisplay:"none")},unbind:function(e,t,s,i,n){n||(e.style.display=e.__vOriginalDisplay)}},qn={model:bn,show:Tn},An={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Bn(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Bn(Kt(t.children)):e}function Ln(e){var t={},s=e.$options;for(var i in s.propsData)t[i]=e[i];var n=s._parentListeners;for(var o in n)t[S(o)]=n[o];return t}function Mn(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Nn=function(e){return e.tag||Xt(e)},In=function(e){return"show"===e.name},On={name:"transition",props:An,abstract:!0,render:function(e){var t=this,s=this.$slots.default;if(s&&(s=s.filter(Nn)).length){var i=this.mode,n=s[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return n;var o=Bn(n);if(!o)return n;if(this._leaving)return Mn(e,n);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:c(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var r=(o.data||(o.data={})).transition=Ln(this),l=this._vnode,d=Bn(l);if(o.data.directives&&o.data.directives.some(In)&&(o.data.show=!0),d&&d.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,d)&&!Xt(d)&&(!d.componentInstance||!d.componentInstance._vnode.isComment)){var u=d.data.transition=A({},r);if("out-in"===i)return this._leaving=!0,dt(u,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),Mn(e,n);if("in-out"===i){if(Xt(o))return l;var h,f=function(){h()};dt(r,"afterEnter",f),dt(r,"enterCancelled",f),dt(u,"delayLeave",(function(e){h=e}))}}return n}}},Fn=A({tag:String,moveClass:String},An);delete Fn.mode;var Dn={props:Fn,beforeMount:function(){var e=this,t=this._update;this._update=function(s,i){var n=is(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,n(),t.call(e,s,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",s=Object.create(null),i=this.prevChildren=this.children,n=this.$slots.default||[],o=this.children=[],a=Ln(this),r=0;r-1?Js[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Js[e]=/HTMLUnknownElement/.test(t.toString())},A(qs.options.directives,qn),A(qs.options.components,Hn),qs.prototype.__patch__=U?yn:L,qs.prototype.$mount=function(e,t){return function(e,t,s){var i;return e.$el=t,e.$options.render||(e.$options.render=ye),rs(e,"beforeMount"),i=function(){e._update(e._render(),s)},new bs(e,i,L,{before:function(){e._isMounted&&!e._isDestroyed&&rs(e,"beforeUpdate")}},!0),s=!1,null==e.$vnode&&(e._isMounted=!0,rs(e,"mounted")),e}(this,e=e&&U?function(e){return"string"==typeof e?document.querySelector(e)||document.createElement("div"):e}(e):void 0,t)},U&&setTimeout((function(){R.devtools&&ae&&ae.emit("init",qs)}),0);const Vn=qs;var Yn=("undefined"!=typeof window?window:void 0!==s.g?s.g:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function Wn(e,t){if(void 0===t&&(t=[]),null===e||"object"!=typeof e)return e;var s=function(e,t){return e.filter(t)[0]}(t,(function(t){return t.original===e}));if(s)return s.copy;var i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach((function(s){i[s]=Wn(e[s],t)})),i}function $n(e,t){Object.keys(e).forEach((function(s){return t(e[s],s)}))}function Un(e){return null!==e&&"object"==typeof e}var Qn=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var s=e.state;this.state=("function"==typeof s?s():s)||{}},Gn={namespaced:{configurable:!0}};Gn.namespaced.get=function(){return!!this._rawModule.namespaced},Qn.prototype.addChild=function(e,t){this._children[e]=t},Qn.prototype.removeChild=function(e){delete this._children[e]},Qn.prototype.getChild=function(e){return this._children[e]},Qn.prototype.hasChild=function(e){return e in this._children},Qn.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},Qn.prototype.forEachChild=function(e){$n(this._children,e)},Qn.prototype.forEachGetter=function(e){this._rawModule.getters&&$n(this._rawModule.getters,e)},Qn.prototype.forEachAction=function(e){this._rawModule.actions&&$n(this._rawModule.actions,e)},Qn.prototype.forEachMutation=function(e){this._rawModule.mutations&&$n(this._rawModule.mutations,e)},Object.defineProperties(Qn.prototype,Gn);var Xn,Kn=function(e){this.register([],e,!1)};function Zn(e,t,s){if(t.update(s),s.modules)for(var i in s.modules){if(!t.getChild(i))return;Zn(e.concat(i),t.getChild(i),s.modules[i])}}Kn.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},Kn.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,s){return e+((t=t.getChild(s)).namespaced?s+"/":"")}),"")},Kn.prototype.update=function(e){Zn([],this.root,e)},Kn.prototype.register=function(e,t,s){var i=this;void 0===s&&(s=!0);var n=new Qn(t,s);0===e.length?this.root=n:this.get(e.slice(0,-1)).addChild(e[e.length-1],n),t.modules&&$n(t.modules,(function(t,n){i.register(e.concat(n),t,s)}))},Kn.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),s=e[e.length-1],i=t.getChild(s);i&&i.runtime&&t.removeChild(s)},Kn.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),s=e[e.length-1];return!!t&&t.hasChild(s)};var Jn=function(e){var t=this;void 0===e&&(e={}),!Xn&&"undefined"!=typeof window&&window.Vue&&ro(window.Vue);var s=e.plugins;void 0===s&&(s=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Kn(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Xn,this._makeLocalGettersCache=Object.create(null);var n=this,o=this.dispatch,a=this.commit;this.dispatch=function(e,t){return o.call(n,e,t)},this.commit=function(e,t,s){return a.call(n,e,t,s)},this.strict=i;var r=this._modules.root.state;no(this,r,[],this._modules.root),io(this,r),s.forEach((function(e){return e(t)})),(void 0!==e.devtools?e.devtools:Xn.config.devtools)&&function(e){Yn&&(e._devtoolHook=Yn,Yn.emit("vuex:init",e),Yn.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){Yn.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){Yn.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},eo={state:{configurable:!0}};function to(e,t,s){return t.indexOf(e)<0&&(s&&s.prepend?t.unshift(e):t.push(e)),function(){var s=t.indexOf(e);s>-1&&t.splice(s,1)}}function so(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var s=e.state;no(e,s,[],e._modules.root,!0),io(e,s,t)}function io(e,t,s){var i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var n=e._wrappedGetters,o={};$n(n,(function(t,s){o[s]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,s,{get:function(){return e._vm[s]},enumerable:!0})}));var a=Xn.config.silent;Xn.config.silent=!0,e._vm=new Xn({data:{$$state:t},computed:o}),Xn.config.silent=a,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(e),i&&(s&&e._withCommit((function(){i._data.$$state=null})),Xn.nextTick((function(){return i.$destroy()})))}function no(e,t,s,i,n){var o=!s.length,a=e._modules.getNamespace(s);if(i.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=i),!o&&!n){var r=oo(t,s.slice(0,-1)),l=s[s.length-1];e._withCommit((function(){Xn.set(r,l,i.state)}))}var c=i.context=function(e,t,s){var i=""===t,n={dispatch:i?e.dispatch:function(s,i,n){var o=ao(s,i,n),a=o.payload,r=o.options,l=o.type;return r&&r.root||(l=t+l),e.dispatch(l,a)},commit:i?e.commit:function(s,i,n){var o=ao(s,i,n),a=o.payload,r=o.options,l=o.type;r&&r.root||(l=t+l),e.commit(l,a,r)}};return Object.defineProperties(n,{getters:{get:i?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var s={},i=t.length;Object.keys(e.getters).forEach((function(n){if(n.slice(0,i)===t){var o=n.slice(i);Object.defineProperty(s,o,{get:function(){return e.getters[n]},enumerable:!0})}})),e._makeLocalGettersCache[t]=s}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return oo(e.state,s)}}}),n}(e,a,s);i.forEachMutation((function(t,s){!function(e,t,s,i){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){s.call(e,i.state,t)}))}(e,a+s,t,c)})),i.forEachAction((function(t,s){var i=t.root?s:a+s,n=t.handler||t;!function(e,t,s,i){(e._actions[t]||(e._actions[t]=[])).push((function(t){var n,o=s.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return(n=o)&&"function"==typeof n.then||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))}(e,i,n,c)})),i.forEachGetter((function(t,s){!function(e,t,s,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return s(i.state,i.getters,e.state,e.getters)})}(e,a+s,t,c)})),i.forEachChild((function(i,o){no(e,t,s.concat(o),i,n)}))}function oo(e,t){return t.reduce((function(e,t){return e[t]}),e)}function ao(e,t,s){return Un(e)&&e.type&&(s=t,t=e,e=e.type),{type:e,payload:t,options:s}}function ro(e){Xn&&e===Xn||function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:s});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[s].concat(e.init):s,t.call(this,e)}}function s(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(Xn=e)}eo.state.get=function(){return this._vm._data.$$state},eo.state.set=function(e){},Jn.prototype.commit=function(e,t,s){var i=this,n=ao(e,t,s),o=n.type,a=n.payload,r=(n.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(r,i.state)})))},Jn.prototype.dispatch=function(e,t){var s=this,i=ao(e,t),n=i.type,o=i.payload,a={type:n,payload:o},r=this._actions[n];if(r){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,s.state)}))}catch(e){}var l=r.length>1?Promise.all(r.map((function(e){return e(o)}))):r[0](o);return new Promise((function(e,t){l.then((function(t){try{s._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,s.state)}))}catch(e){}e(t)}),(function(e){try{s._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,s.state,e)}))}catch(e){}t(e)}))}))}},Jn.prototype.subscribe=function(e,t){return to(e,this._subscribers,t)},Jn.prototype.subscribeAction=function(e,t){return to("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},Jn.prototype.watch=function(e,t,s){var i=this;return this._watcherVM.$watch((function(){return e(i.state,i.getters)}),t,s)},Jn.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},Jn.prototype.registerModule=function(e,t,s){void 0===s&&(s={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),no(this,this.state,e,this._modules.get(e),s.preserveState),io(this,this.state)},Jn.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var s=oo(t.state,e.slice(0,-1));Xn.delete(s,e[e.length-1])})),so(this)},Jn.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},Jn.prototype.hotUpdate=function(e){this._modules.update(e),so(this,!0)},Jn.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(Jn.prototype,eo);var lo=po((function(e,t){var s={};return fo(t).forEach((function(t){var i=t.key,n=t.val;s[i]=function(){var t=this.$store.state,s=this.$store.getters;if(e){var i=mo(this.$store,"mapState",e);if(!i)return;t=i.context.state,s=i.context.getters}return"function"==typeof n?n.call(this,t,s):t[n]},s[i].vuex=!0})),s})),co=po((function(e,t){var s={};return fo(t).forEach((function(t){var i=t.key,n=t.val;s[i]=function(){for(var t=[],s=arguments.length;s--;)t[s]=arguments[s];var i=this.$store.commit;if(e){var o=mo(this.$store,"mapMutations",e);if(!o)return;i=o.context.commit}return"function"==typeof n?n.apply(this,[i].concat(t)):i.apply(this.$store,[n].concat(t))}})),s})),uo=po((function(e,t){var s={};return fo(t).forEach((function(t){var i=t.key,n=t.val;n=e+n,s[i]=function(){if(!e||mo(this.$store,"mapGetters",e))return this.$store.getters[n]},s[i].vuex=!0})),s})),ho=po((function(e,t){var s={};return fo(t).forEach((function(t){var i=t.key,n=t.val;s[i]=function(){for(var t=[],s=arguments.length;s--;)t[s]=arguments[s];var i=this.$store.dispatch;if(e){var o=mo(this.$store,"mapActions",e);if(!o)return;i=o.context.dispatch}return"function"==typeof n?n.apply(this,[i].concat(t)):i.apply(this.$store,[n].concat(t))}})),s}));function fo(e){return function(e){return Array.isArray(e)||Un(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function po(e){return function(t,s){return"string"!=typeof t?(s=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,s)}}function mo(e,t,s){return e._modulesNamespaceMap[s]}function go(e,t,s){var i=s?e.groupCollapsed:e.group;try{i.call(e,t)}catch(s){e.log(t)}}function vo(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function yo(){var e=new Date;return" @ "+bo(e.getHours(),2)+":"+bo(e.getMinutes(),2)+":"+bo(e.getSeconds(),2)+"."+bo(e.getMilliseconds(),3)}function bo(e,t){return"0",s=t-e.toString().length,new Array(s+1).join("0")+e;var s}var _o={Store:Jn,install:ro,version:"3.6.2",mapState:lo,mapMutations:co,mapGetters:uo,mapActions:ho,createNamespacedHelpers:function(e){return{mapState:lo.bind(null,e),mapGetters:uo.bind(null,e),mapMutations:co.bind(null,e),mapActions:ho.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var s=e.filter;void 0===s&&(s=function(e,t,s){return!0});var i=e.transformer;void 0===i&&(i=function(e){return e});var n=e.mutationTransformer;void 0===n&&(n=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var r=e.logMutations;void 0===r&&(r=!0);var l=e.logActions;void 0===l&&(l=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var d=Wn(e.state);void 0!==c&&(r&&e.subscribe((function(e,o){var a=Wn(o);if(s(e,d,a)){var r=yo(),l=n(e),u="mutation "+e.type+r;go(c,u,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",i(d)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",i(a)),vo(c)}d=a})),l&&e.subscribeAction((function(e,s){if(o(e,s)){var i=yo(),n=a(e),r="action "+e.type+i;go(c,r,t),c.log("%c action","color: #03A9F4; font-weight: bold",n),vo(c)}})))}}};const wo=_o;var ko=function(e,t){return ko=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s])},ko(e,t)};function xo(e,t,s,i){var n,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,s,i);else for(var r=e.length-1;r>=0;r--)(n=e[r])&&(a=(o<3?n(a):o>3?n(t,s,a):n(t,s))||a);return o>3&&a&&Object.defineProperty(t,s,a),a}function So(e,t){if(e._statics)return e._statics;var s=e._genStatic;if(!s)throw new Error("ERR_GET_MODULE_NO_STATICS : Could not get module accessor.\n Make sure your module has name, we can't make accessors for unnamed modules\n i.e. @Module({ name: 'something' })");return e._statics=s(t)}var Co=["actions","getters","mutations","modules","state","namespaced","commit"];function Eo(e,t){for(var s=function(s){Object.defineProperty(e,s,{get:function(){return t[s]}})},i=0,n=Object.keys(t||{});i0&&n[n.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]1&&void 0!==arguments[1]?arguments[1]:1e4;return e=parseFloat(e+"")||0,Math.round((e+Number.EPSILON)*t)/t},Do=function(e){if(!(e&&e instanceof Element&&e.offsetParent))return!1;const t=e.scrollHeight>e.clientHeight,s=window.getComputedStyle(e).overflowY,i=-1!==s.indexOf("hidden"),n=-1!==s.indexOf("visible");return t&&!i&&!n},jo=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return!(!e||e===document.body||t&&e===t)&&(Do(e)?e:jo(e.parentElement,t))},zo=function(e){var t=(new DOMParser).parseFromString(e,"text/html").body;if(t.childElementCount>1){for(var s=document.createElement("div");t.firstChild;)s.appendChild(t.firstChild);return s}return t.firstChild},Ro=e=>`${e||""}`.split(" ").filter((e=>!!e)),Ho=(e,t,s)=>{Ro(t).forEach((t=>{e&&e.classList.toggle(t,s||!1)}))};class Vo{constructor(e){Object.defineProperty(this,"pageX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"time",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"nativePointer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.nativePointer=e,this.pageX=e.pageX,this.pageY=e.pageY,this.clientX=e.clientX,this.clientY=e.clientY,this.id=self.Touch&&e instanceof Touch?e.identifier:-1,this.time=Date.now()}}const Yo={passive:!1};class Wo{constructor(e,t){let{start:s=(()=>!0),move:i=(()=>{}),end:n=(()=>{})}=t;Object.defineProperty(this,"element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"startCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"moveCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"endCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"currentPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"startPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this.element=e,this.startCallback=s,this.moveCallback=i,this.endCallback=n;for(const e of["onPointerStart","onTouchStart","onMove","onTouchEnd","onPointerEnd","onWindowBlur"])this[e]=this[e].bind(this);this.element.addEventListener("mousedown",this.onPointerStart,Yo),this.element.addEventListener("touchstart",this.onTouchStart,Yo),this.element.addEventListener("touchmove",this.onMove,Yo),this.element.addEventListener("touchend",this.onTouchEnd),this.element.addEventListener("touchcancel",this.onTouchEnd)}onPointerStart(e){if(!e.buttons||0!==e.button)return;const t=new Vo(e);this.currentPointers.some((e=>e.id===t.id))||this.triggerPointerStart(t,e)&&(window.addEventListener("mousemove",this.onMove),window.addEventListener("mouseup",this.onPointerEnd),window.addEventListener("blur",this.onWindowBlur))}onTouchStart(e){for(const t of Array.from(e.changedTouches||[]))this.triggerPointerStart(new Vo(t),e);window.addEventListener("blur",this.onWindowBlur)}onMove(e){const t=this.currentPointers.slice(),s="changedTouches"in e?Array.from(e.changedTouches||[]).map((e=>new Vo(e))):[new Vo(e)],i=[];for(const e of s){const t=this.currentPointers.findIndex((t=>t.id===e.id));t<0||(i.push(e),this.currentPointers[t]=e)}i.length&&this.moveCallback(e,this.currentPointers.slice(),t)}onPointerEnd(e){e.buttons>0&&0!==e.button||(this.triggerPointerEnd(e,new Vo(e)),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur))}onTouchEnd(e){for(const t of Array.from(e.changedTouches||[]))this.triggerPointerEnd(e,new Vo(t))}triggerPointerStart(e,t){return!!this.startCallback(t,e,this.currentPointers.slice())&&(this.currentPointers.push(e),this.startPointers.push(e),!0)}triggerPointerEnd(e,t){const s=this.currentPointers.findIndex((e=>e.id===t.id));s<0||(this.currentPointers.splice(s,1),this.startPointers.splice(s,1),this.endCallback(e,t,this.currentPointers.slice()))}onWindowBlur(){this.clear()}clear(){for(;this.currentPointers.length;){const e=this.currentPointers[this.currentPointers.length-1];this.currentPointers.splice(this.currentPointers.length-1,1),this.startPointers.splice(this.currentPointers.length-1,1),this.endCallback(new Event("touchend",{bubbles:!0,cancelable:!0,clientX:e.clientX,clientY:e.clientY}),e,this.currentPointers.slice())}}stop(){this.element.removeEventListener("mousedown",this.onPointerStart,Yo),this.element.removeEventListener("touchstart",this.onTouchStart,Yo),this.element.removeEventListener("touchmove",this.onMove,Yo),this.element.removeEventListener("touchend",this.onTouchEnd),this.element.removeEventListener("touchcancel",this.onTouchEnd),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur)}}function $o(e,t){return t?Math.sqrt(Math.pow(t.clientX-e.clientX,2)+Math.pow(t.clientY-e.clientY,2)):0}function Uo(e,t){return t?{clientX:(e.clientX+t.clientX)/2,clientY:(e.clientY+t.clientY)/2}:e}const Qo=e=>"object"==typeof e&&null!==e&&e.constructor===Object&&"[object Object]"===Object.prototype.toString.call(e),Go=function(e){const t=arguments.length<=1?0:arguments.length-1;for(let s=0;s{let[s,i]=t;const n=Array.isArray(i)?[]:{};e[s]||Object.assign(e,{[s]:n}),Qo(i)?Object.assign(e[s],Go(n,i)):Array.isArray(i)?Object.assign(e,{[s]:[...i]}):Object.assign(e,{[s]:i})}))}return e},Xo=function(e,t){return e.split(".").reduce(((e,t)=>"object"==typeof e?e[t]:void 0),t)};class Ko{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),this.setOptions(e);for(const e of Object.getOwnPropertyNames(Object.getPrototypeOf(this)))e.startsWith("on")&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}setOptions(e){this.options=e?Go({},this.constructor.defaults,e):{};for(const[e,t]of Object.entries(this.option("on")||{}))this.on(e,t)}option(e){let t=Xo(e,this.options);for(var s=arguments.length,i=new Array(s>1?s-1:0),n=1;n3?o-3:0),r=3;r1&&void 0!==arguments[1]?arguments[1]:[];e=String(e).replace(/\{\{(\w+).?(\w+)?\}\}/g,((e,t,s)=>{let i="";return s?i=this.option(`${t[0]+t.toLowerCase().substring(1)}.l10n.${s}`):t&&(i=this.option(`l10n.${t}`)),i||(i=e),i}));for(let s=0;st))}on(e,t){let s=[];"string"==typeof e?s=e.split(" "):Array.isArray(e)&&(s=e),this.events||(this.events=new Map),s.forEach((e=>{let s=this.events.get(e);s||(this.events.set(e,[]),s=[]),s.includes(t)||s.push(t),this.events.set(e,s)}))}off(e,t){let s=[];"string"==typeof e?s=e.split(" "):Array.isArray(e)&&(s=e),s.forEach((e=>{const s=this.events.get(e);if(Array.isArray(s)){const e=s.indexOf(t);e>-1&&s.splice(e,1)}}))}emit(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),i=1;ie(this,...s))),"*"!==e&&this.emit("*",e,...s)}}Object.defineProperty(Ko,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.22"}),Object.defineProperty(Ko,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}});class Zo extends Ko{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Object.defineProperty(this,"plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}})}attachPlugins(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=new Map;for(const[s,i]of Object.entries(e)){const e=this.option(s),n=this.plugins[s];n||!1===e?n&&!1===e&&(n.detach(),delete this.plugins[s]):t.set(s,new i(this,e||{}))}for(const[e,s]of t)this.plugins[e]=s,s.attach();this.emit("attachPlugins")}detachPlugins(e){e=e||Object.keys(this.plugins);for(const t of e){const e=this.plugins[t];e&&e.detach(),delete this.plugins[t]}return this.emit("detachPlugins"),this}}var Jo;!function(e){e[e.Init=0]="Init",e[e.Error=1]="Error",e[e.Ready=2]="Ready",e[e.Panning=3]="Panning",e[e.Mousemove=4]="Mousemove",e[e.Destroy=5]="Destroy"}(Jo||(Jo={}));const ea=["a","b","c","d","e","f"],ta={PANUP:"Move up",PANDOWN:"Move down",PANLEFT:"Move left",PANRIGHT:"Move right",ZOOMIN:"Zoom in",ZOOMOUT:"Zoom out",TOGGLEZOOM:"Toggle zoom level",TOGGLE1TO1:"Toggle zoom level",ITERATEZOOM:"Toggle zoom level",ROTATECCW:"Rotate counterclockwise",ROTATECW:"Rotate clockwise",FLIPX:"Flip horizontally",FLIPY:"Flip vertically",FITX:"Fit horizontally",FITY:"Fit vertically",RESET:"Reset",TOGGLEFS:"Toggle fullscreen"},sa={content:null,width:"auto",height:"auto",panMode:"drag",touch:!0,dragMinThreshold:3,lockAxis:!1,mouseMoveFactor:1,mouseMoveFriction:.12,zoom:!0,pinchToZoom:!0,panOnlyZoomed:"auto",minScale:1,maxScale:2,friction:.25,dragFriction:.35,decelFriction:.05,click:"toggleZoom",dblClick:!1,wheel:"zoom",wheelLimit:7,spinner:!0,bounds:"auto",infinite:!1,rubberband:!0,bounce:!0,maxVelocity:75,transformParent:!1,classes:{content:"f-panzoom__content",isLoading:"is-loading",canZoomIn:"can-zoom_in",canZoomOut:"can-zoom_out",isDraggable:"is-draggable",isDragging:"is-dragging",inFullscreen:"in-fullscreen",htmlHasFullscreen:"with-panzoom-in-fullscreen"},l10n:ta},ia='
',na=e=>e&&null!==e&&e instanceof Element&&"nodeType"in e,oa=(e,t)=>{e&&Ro(t).forEach((t=>{e.classList.remove(t)}))},aa=(e,t)=>{e&&Ro(t).forEach((t=>{e.classList.add(t)}))},ra={a:1,b:0,c:0,d:1,e:0,f:0},la=1e3,ca="mousemove",da="drag",ua="content";let ha=null,fa=null;class pa extends Zo{get isTouchDevice(){return null===fa&&(fa=window.matchMedia("(hover: none)").matches),fa}get isMobile(){return null===ha&&(ha=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)),ha}get panMode(){return this.options.panMode!==ca||this.isTouchDevice?da:ca}get panOnlyZoomed(){const e=this.options.panOnlyZoomed;return"auto"===e?this.isTouchDevice:e}get isInfinite(){return this.option("infinite")}get angle(){return 180*Math.atan2(this.current.b,this.current.a)/Math.PI||0}get targetAngle(){return 180*Math.atan2(this.target.b,this.target.a)/Math.PI||0}get scale(){const{a:e,b:t}=this.current;return Math.sqrt(e*e+t*t)||1}get targetScale(){const{a:e,b:t}=this.target;return Math.sqrt(e*e+t*t)||1}get minScale(){return this.option("minScale")||1}get fullScale(){const{contentRect:e}=this;return e.fullWidth/e.fitWidth||1}get maxScale(){return this.fullScale*(this.option("maxScale")||1)||1}get coverScale(){const{containerRect:e,contentRect:t}=this,s=Math.max(e.height/t.fitHeight,e.width/t.fitWidth)||1;return Math.min(this.fullScale,s)}get isScaling(){return Math.abs(this.targetScale-this.scale)>1e-5&&!this.isResting}get isContentLoading(){const e=this.content;return!!(e&&e instanceof HTMLImageElement)&&!e.complete}get isResting(){if(this.isBouncingX||this.isBouncingY)return!1;for(const e of ea){const t="e"==e||"f"===e?.001:1e-5;if(Math.abs(this.target[e]-this.current[e])>t)return!1}return!(!this.ignoreBounds&&!this.checkBounds().inBounds)}constructor(e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var s;if(super(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),Object.defineProperty(this,"pointerTracker",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"resizeObserver",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"updateTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"rAF",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"isTicking",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"friction",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"ignoreBounds",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingX",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingY",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"clicks",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"trackingPoints",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"cwd",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"pmme",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Jo.Init}),Object.defineProperty(this,"isDragging",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"content",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"spinner",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"containerRect",{enumerable:!0,configurable:!0,writable:!0,value:{width:0,height:0,innerWidth:0,innerHeight:0}}),Object.defineProperty(this,"contentRect",{enumerable:!0,configurable:!0,writable:!0,value:{top:0,right:0,bottom:0,left:0,fullWidth:0,fullHeight:0,fitWidth:0,fitHeight:0,width:0,height:0}}),Object.defineProperty(this,"dragStart",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,top:0,left:0,time:0}}),Object.defineProperty(this,"dragOffset",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,time:0}}),Object.defineProperty(this,"current",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},ra)}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},ra)}),Object.defineProperty(this,"velocity",{enumerable:!0,configurable:!0,writable:!0,value:{a:0,b:0,c:0,d:0,e:0,f:0}}),Object.defineProperty(this,"lockedAxis",{enumerable:!0,configurable:!0,writable:!0,value:!1}),!e)throw new Error("Container Element Not Found");this.container=e,this.initContent(),this.attachPlugins(Object.assign(Object.assign({},pa.Plugins),t)),this.emit("init");const i=this.content;if(i.addEventListener("load",this.onLoad),i.addEventListener("error",this.onError),this.isContentLoading){if(this.option("spinner")){e.classList.add(this.cn("isLoading"));const t=zo(ia);!e.contains(i)||i.parentElement instanceof HTMLPictureElement?this.spinner=e.appendChild(t):this.spinner=(null===(s=i.parentElement)||void 0===s?void 0:s.insertBefore(t,i))||null}this.emit("beforeLoad")}else queueMicrotask((()=>{this.enable()}))}initContent(){const{container:e}=this,t=this.cn(ua);let s=this.option(ua)||e.querySelector(`.${t}`);if(s||(s=e.querySelector("img,picture")||e.firstElementChild,s&&aa(s,t)),s instanceof HTMLPictureElement&&(s=s.querySelector("img")),!s)throw new Error("No content found");this.content=s}onLoad(){this.spinner&&(this.spinner.remove(),this.spinner=null),this.option("spinner")&&this.container.classList.remove(this.cn("isLoading")),this.emit("afterLoad"),this.state===Jo.Init?this.enable():this.updateMetrics()}onError(){this.state!==Jo.Destroy&&(this.spinner&&(this.spinner.remove(),this.spinner=null),this.stop(),this.detachEvents(),this.state=Jo.Error,this.emit("error"))}attachObserver(){var e;const t=()=>Math.abs(this.containerRect.width-this.container.getBoundingClientRect().width)>.1||Math.abs(this.containerRect.height-this.container.getBoundingClientRect().height)>.1;this.resizeObserver||void 0===window.ResizeObserver||(this.resizeObserver=new ResizeObserver((()=>{this.updateTimer||(t()?(this.onResize(),this.isMobile&&(this.updateTimer=setTimeout((()=>{t()&&this.onResize(),this.updateTimer=null}),500))):this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null))}))),null===(e=this.resizeObserver)||void 0===e||e.observe(this.container)}detachObserver(){var e;null===(e=this.resizeObserver)||void 0===e||e.disconnect()}attachEvents(){const{container:e}=this;e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("wheel",this.onWheel,{passive:!1}),this.pointerTracker=new Wo(e,{start:this.onPointerDown,move:this.onPointerMove,end:this.onPointerUp}),document.addEventListener(ca,this.onMouseMove)}detachEvents(){var e;const{container:t}=this;t.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),t.removeEventListener("wheel",this.onWheel,{passive:!1}),null===(e=this.pointerTracker)||void 0===e||e.stop(),this.pointerTracker=null,document.removeEventListener(ca,this.onMouseMove),document.removeEventListener("keydown",this.onKeydown,!0),this.clickTimer&&(clearTimeout(this.clickTimer),this.clickTimer=null),this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null)}animate(){const e=this.friction;this.setTargetForce();const t=this.option("maxVelocity");for(const s of ea)e?(this.velocity[s]*=1-e,t&&!this.isScaling&&(this.velocity[s]=Math.max(Math.min(this.velocity[s],t),-1*t)),this.current[s]+=this.velocity[s]):this.current[s]=this.target[s];this.setTransform(),this.setEdgeForce(),!this.isResting||this.isDragging?this.rAF=requestAnimationFrame((()=>this.animate())):this.stop("current")}setTargetForce(){for(const e of ea)"e"===e&&this.isBouncingX||"f"===e&&this.isBouncingY||(this.velocity[e]=(1/(1-this.friction)-1)*(this.target[e]-this.current[e]))}checkBounds(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const{current:s}=this,i=s.e+e,n=s.f+t,o=this.getBounds(),{x:a,y:r}=o,l=a.min,c=a.max,d=r.min,u=r.max;let h=0,f=0;return l!==1/0&&ic&&(h=c-i),d!==1/0&&nu&&(f=u-n),Math.abs(h)<.001&&(h=0),Math.abs(f)<.001&&(f=0),Object.assign(Object.assign({},o),{xDiff:h,yDiff:f,inBounds:!h&&!f})}clampTargetBounds(){const{target:e}=this,{x:t,y:s}=this.getBounds();t.min!==1/0&&(e.e=Math.max(e.e,t.min)),t.max!==1/0&&(e.e=Math.min(e.e,t.max)),s.min!==1/0&&(e.f=Math.max(e.f,s.min)),s.max!==1/0&&(e.f=Math.min(e.f,s.max))}calculateContentDim(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;const{content:t,contentRect:s}=this,{fitWidth:i,fitHeight:n,fullWidth:o,fullHeight:a}=s;let r=o,l=a;if(this.option("zoom")||0!==this.angle){const s=!(t instanceof HTMLImageElement||"none"!==window.getComputedStyle(t).maxWidth&&"none"!==window.getComputedStyle(t).maxHeight),c=s?o:i,d=s?a:n,u=this.getMatrix(e),h=new DOMPoint(0,0).matrixTransform(u),f=new DOMPoint(0+c,0).matrixTransform(u),p=new DOMPoint(0+c,0+d).matrixTransform(u),m=new DOMPoint(0,0+d).matrixTransform(u),g=Math.abs(p.x-h.x),v=Math.abs(p.y-h.y),y=Math.abs(m.x-f.x),b=Math.abs(m.y-f.y);r=Math.max(g,y),l=Math.max(v,b)}return{contentWidth:r,contentHeight:l}}setEdgeForce(){if(this.ignoreBounds||this.isDragging||this.panMode===ca||this.targetScale{const e=window.getSelection();return e&&"Range"===e.type})()&&!s.closest("button"))return;const i=s.closest("[data-panzoom-action]"),n=s.closest("[data-panzoom-change]"),o=i||n,a=o&&na(o)?o.dataset:null;if(a){const t=a.panzoomChange,s=a.panzoomAction;if((t||s)&&e.preventDefault(),t){let s={};try{s=JSON.parse(t)}catch(e){console}return void this.applyChange(s)}if(s)return void(this[s]&&this[s]())}if(Math.abs(this.dragOffset.x)>3||Math.abs(this.dragOffset.y)>3)return e.preventDefault(),void e.stopPropagation();const r=this.content.getBoundingClientRect();if(this.dragStart.time&&!this.canZoomOut()&&(Math.abs(r.x-this.dragStart.x)>2||Math.abs(r.y-this.dragStart.y)>2))return;this.dragStart.time=0;const l=t=>{this.option("zoom")&&t&&"string"==typeof t&&/(iterateZoom)|(toggle(Zoom|Full|Cover|Max)|(zoomTo(Fit|Cover|Max)))/.test(t)&&"function"==typeof this[t]&&(e.preventDefault(),this[t]({event:e}))},c=this.option("click",e),d=this.option("dblClick",e);d?(this.clicks++,1==this.clicks&&(this.clickTimer=setTimeout((()=>{1===this.clicks?(this.emit("click",e),!e.defaultPrevented&&c&&l(c)):(this.emit("dblClick",e),e.defaultPrevented||l(d)),this.clicks=0,this.clickTimer=null}),350))):(this.emit("click",e),!e.defaultPrevented&&c&&l(c))}addTrackingPoint(e){const t=this.trackingPoints.filter((e=>e.time>Date.now()-100));t.push(e),this.trackingPoints=t}onPointerDown(e,t,s){var i;if(!1===this.option("touch",e))return!1;this.pwt=0,this.dragOffset={x:0,y:0,time:0},this.trackingPoints=[];const n=this.content.getBoundingClientRect();if(this.dragStart={x:n.x,y:n.y,top:n.top,left:n.left,time:Date.now()},this.clickTimer)return!1;if(this.panMode===ca&&this.targetScale>1)return e.preventDefault(),e.stopPropagation(),!1;const o=e.composedPath()[0];if(!s.length){if(["TEXTAREA","OPTION","INPUT","SELECT","VIDEO","IFRAME"].includes(o.nodeName)||o.closest("[contenteditable]")||o.closest("[data-selectable]")||o.closest("[data-draggable]")||o.closest("[data-clickable]")||o.closest("[data-panzoom-change]")||o.closest("[data-panzoom-action]"))return!1;null===(i=window.getSelection())||void 0===i||i.removeAllRanges()}if("mousedown"===e.type)["A","BUTTON"].includes(o.nodeName)||e.preventDefault();else if(Math.abs(this.velocity.a)>.3)return!1;return this.target.e=this.current.e,this.target.f=this.current.f,this.stop(),this.isDragging||(this.isDragging=!0,this.addTrackingPoint(t),this.emit("touchStart",e)),!0}onPointerMove(e,t,s){if(!1===this.option("touch",e))return;if(!this.isDragging)return;if(t.length<2&&this.panOnlyZoomed&&Fo(this.targetScale)<=Fo(this.minScale))return;if(this.emit("touchMove",e),e.defaultPrevented)return;this.addTrackingPoint(t[0]);const{content:i}=this,n=Uo(s[0],s[1]),o=Uo(t[0],t[1]);let a=0,r=0;if(t.length>1){const e=i.getBoundingClientRect();a=n.clientX-e.left-.5*e.width,r=n.clientY-e.top-.5*e.height}const l=$o(s[0],s[1]),c=$o(t[0],t[1]);let d=l?c/l:1,u=o.clientX-n.clientX,h=o.clientY-n.clientY;this.dragOffset.x+=u,this.dragOffset.y+=h,this.dragOffset.time=Date.now()-this.dragStart.time;let f=Fo(this.targetScale)===Fo(this.minScale)&&this.option("lockAxis");if(f&&!this.lockedAxis)if("xy"===f||"y"===f||"touchmove"===e.type){if(Math.abs(this.dragOffset.x)<6&&Math.abs(this.dragOffset.y)<6)return void e.preventDefault();const t=Math.abs(180*Math.atan2(this.dragOffset.y,this.dragOffset.x)/Math.PI);this.lockedAxis=t>45&&t<135?"y":"x",this.dragOffset.x=0,this.dragOffset.y=0,u=0,h=0}else this.lockedAxis=f;if(jo(e.target,this.content)&&(f="x",this.dragOffset.y=0),f&&"xy"!==f&&this.lockedAxis!==f&&Fo(this.targetScale)===Fo(this.minScale))return;e.cancelable&&e.preventDefault(),this.container.classList.add(this.cn("isDragging"));const p=this.checkBounds(u,h);this.option("rubberband")?("x"!==this.isInfinite&&(p.xDiff>0&&u<0||p.xDiff<0&&u>0)&&(u*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitWidth*p.xDiff))),"y"!==this.isInfinite&&(p.yDiff>0&&h<0||p.yDiff<0&&h>0)&&(h*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitHeight*p.yDiff)))):(p.xDiff&&(u=0),p.yDiff&&(h=0));const m=this.targetScale,g=this.minScale,v=this.maxScale;m<.5*g&&(d=Math.max(d,g)),m>1.5*v&&(d=Math.min(d,v)),"y"===this.lockedAxis&&Fo(m)===Fo(g)&&(u=0),"x"===this.lockedAxis&&Fo(m)===Fo(g)&&(h=0),this.applyChange({originX:a,originY:r,panX:u,panY:h,scale:d,friction:this.option("dragFriction"),ignoreBounds:!0})}onPointerUp(e,t,s){if(s.length)return this.dragOffset.x=0,this.dragOffset.y=0,void(this.trackingPoints=[]);this.container.classList.remove(this.cn("isDragging")),this.isDragging&&(this.addTrackingPoint(t),this.panOnlyZoomed&&this.contentRect.width-this.contentRect.fitWidth<1&&this.contentRect.height-this.contentRect.fitHeight<1&&(this.trackingPoints=[]),jo(e.target,this.content)&&"y"===this.lockedAxis&&(this.trackingPoints=[]),this.emit("touchEnd",e),this.isDragging=!1,this.lockedAxis=!1,this.state!==Jo.Destroy&&(e.defaultPrevented||this.startDecelAnim()))}startDecelAnim(){var e;const t=this.isScaling;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1;for(const e of ea)this.velocity[e]=0;this.target.e=this.current.e,this.target.f=this.current.f,oa(this.container,"is-scaling"),oa(this.container,"is-animating"),this.isTicking=!1;const{trackingPoints:s}=this,i=s[0],n=s[s.length-1];let o=0,a=0,r=0;n&&i&&(o=n.clientX-i.clientX,a=n.clientY-i.clientY,r=n.time-i.time);const l=(null===(e=window.visualViewport)||void 0===e?void 0:e.scale)||1;1!==l&&(o*=l,a*=l);let c=0,d=0,u=0,h=0,f=this.option("decelFriction");const p=this.targetScale;if(r>0){u=Math.abs(o)>3?o/(r/30):0,h=Math.abs(a)>3?a/(r/30):0;const e=this.option("maxVelocity");e&&(u=Math.max(Math.min(u,e),-1*e),h=Math.max(Math.min(h,e),-1*e))}u&&(c=u/(1/(1-f)-1)),h&&(d=h/(1/(1-f)-1)),("y"===this.option("lockAxis")||"xy"===this.option("lockAxis")&&"y"===this.lockedAxis&&Fo(p)===this.minScale)&&(c=u=0),("x"===this.option("lockAxis")||"xy"===this.option("lockAxis")&&"x"===this.lockedAxis&&Fo(p)===this.minScale)&&(d=h=0);const m=this.dragOffset.x,g=this.dragOffset.y,v=this.option("dragMinThreshold")||0;Math.abs(m)this.maxScale+1e-5||t&&!c&&!d)&&(f=.35),this.applyChange({panX:c,panY:d,friction:f}),this.emit("decel",u,h,m,g)}onWheel(e){var t=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce((function(e,t){return Math.abs(t)>Math.abs(e)?t:e}));const s=Math.max(-1,Math.min(1,t));if(this.emit("wheel",e,s),this.panMode===ca)return;if(e.defaultPrevented)return;const i=this.option("wheel");"pan"===i?(e.preventDefault(),this.panOnlyZoomed&&!this.canZoomOut()||this.applyChange({panX:2*-e.deltaX,panY:2*-e.deltaY,bounce:!1})):"zoom"===i&&!1!==this.option("zoom")&&this.zoomWithWheel(e)}onMouseMove(e){this.panWithMouse(e)}onKeydown(e){"Escape"===e.key&&this.toggleFS()}onResize(){this.updateMetrics(),this.checkBounds().inBounds||this.requestTick()}setTransform(){this.emit("beforeTransform");const{current:e,target:t,content:s,contentRect:i}=this,n=Object.assign({},ra);for(const s of ea){const i="e"==s||"f"===s?la:1e5;n[s]=Fo(e[s],i),Math.abs(t[s]-e[s])<("e"==s||"f"===s?.51:.001)&&(e[s]=t[s])}let{a:o,b:a,c:r,d:l,e:c,f:d}=n,u=`matrix(${o}, ${a}, ${r}, ${l}, ${c}, ${d})`,h=s.parentElement instanceof HTMLPictureElement?s.parentElement:s;if(this.option("transformParent")&&(h=h.parentElement||h),h.style.transform===u)return;h.style.transform=u;const{contentWidth:f,contentHeight:p}=this.calculateContentDim();i.width=f,i.height=p,this.emit("afterTransform")}updateMetrics(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var t;if(!this||this.state===Jo.Destroy)return;if(this.isContentLoading)return;const s=Math.max(1,(null===(t=window.visualViewport)||void 0===t?void 0:t.scale)||1),{container:i,content:n}=this,o=n instanceof HTMLImageElement,a=i.getBoundingClientRect(),r=getComputedStyle(this.container);let l=a.width*s,c=a.height*s;const d=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),u=l-(parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)),h=c-d;this.containerRect={width:l,height:c,innerWidth:u,innerHeight:h};let f=this.option("width")||"auto",p=this.option("height")||"auto";"auto"===f&&(f=parseFloat(n.dataset.width||"")||(e=>{let t=0;return t=e instanceof HTMLImageElement?e.naturalWidth:e instanceof SVGElement?e.width.baseVal.value:Math.max(e.offsetWidth,e.scrollWidth),t||0})(n)),"auto"===p&&(p=parseFloat(n.dataset.height||"")||(e=>{let t=0;return t=e instanceof HTMLImageElement?e.naturalHeight:e instanceof SVGElement?e.height.baseVal.value:Math.max(e.offsetHeight,e.scrollHeight),t||0})(n));let m=n.parentElement instanceof HTMLPictureElement?n.parentElement:n;this.option("transformParent")&&(m=m.parentElement||m);const g=m.getAttribute("style")||"";m.style.setProperty("transform","none","important"),o&&(m.style.width="",m.style.height=""),m.offsetHeight;const v=n.getBoundingClientRect();let y=v.width*s,b=v.height*s,_=0,w=0;o&&(Math.abs(f-y)>1||Math.abs(p-b)>1)&&({width:y,height:b,top:_,left:w}=((e,t,s,i)=>{const n=s/i;return n>e/t?(s=e,i=e/n):(s=t*n,i=t),{width:s,height:i,top:.5*(t-i),left:.5*(e-s)}})(y,b,f,p)),this.contentRect=Object.assign(Object.assign({},this.contentRect),{top:v.top-a.top+_,bottom:a.bottom-v.bottom+_,left:v.left-a.left+w,right:a.right-v.right+w,fitWidth:y,fitHeight:b,width:y,height:b,fullWidth:f,fullHeight:p}),m.style.cssText=g,o&&(m.style.width=`${y}px`,m.style.height=`${b}px`),this.setTransform(),!0!==e&&this.emit("refresh"),this.ignoreBounds||(Fo(this.targetScale)this.maxScale?this.zoomTo(this.maxScale,{friction:0}):this.state===Jo.Init||this.checkBounds().inBounds||this.requestTick()),this.updateControls()}getBounds(){const e=this.option("bounds");if("auto"!==e)return e;const{contentWidth:t,contentHeight:s}=this.calculateContentDim(this.target);let i=0,n=0,o=0,a=0;const r=this.option("infinite");if(!0===r||this.lockedAxis&&r===this.lockedAxis)i=-1/0,o=1/0,n=-1/0,a=1/0;else{let{containerRect:e,contentRect:r}=this,l=Fo(this.contentRect.fitWidth*this.targetScale,la),c=Fo(this.contentRect.fitHeight*this.targetScale,la),{innerWidth:d,innerHeight:u}=e;if(this.containerRect.width===l&&(d=e.width),this.containerRect.width===c&&(u=e.height),t>d){o=.5*(t-d),i=-1*o;let e=.5*(r.right-r.left);i+=e,o+=e}if(this.contentRect.fitWidth>d&&tu){a=.5*(s-u),n=-1*a;let e=.5*(r.bottom-r.top);n+=e,a+=e}this.contentRect.fitHeight>u&&sFo(i.fitWidth,1)||Fo(i.height,1)>Fo(i.fitHeight,1))&&(f=!0)),Fo(i.width*o,1)Fo(o),m=!p&&!f&&u&&Fo(c)s&&(i=s/e)}g=g.scale(i)}g=g.translate(-o,-a).translate(-f,-p).multiply(m),n&&(g=g.rotate(n)),l&&(g=g.scale(-1,1)),c&&(g=g.scale(1,-1));for(const e of ea)"e"!==e&&"f"!==e&&(g[e]>this.minScale+1e-5||g[e].1||this.panMode===ca||!1===u)&&!d&&this.clampTargetBounds(),this.isResting||(this.state=Jo.Panning,this.requestTick())}stop(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.state===Jo.Init||this.state===Jo.Destroy)return;const t=this.isTicking;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1;for(const t of ea)this.velocity[t]=0,"current"===e?this.current[t]=this.target[t]:"target"===e&&(this.target[t]=this.current[t]);this.setTransform(),oa(this.container,"is-scaling"),oa(this.container,"is-animating"),this.isTicking=!1,this.state=Jo.Ready,t&&(this.emit("endAnimation"),this.updateControls())}requestTick(){this.isTicking||(this.emit("startAnimation"),this.updateControls(),aa(this.container,"is-animating"),this.isScaling&&aa(this.container,"is-scaling")),this.isTicking=!0,this.rAF||(this.rAF=requestAnimationFrame((()=>this.animate())))}panWithMouse(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.option("mouseMoveFriction");if(this.pmme=e,this.panMode!==ca||!e)return;if(Fo(this.targetScale)<=Fo(this.minScale))return;this.emit("mouseMove",e);const{container:s,containerRect:i,contentRect:n}=this,o=i.width,a=i.height,r=s.getBoundingClientRect(),l=(e.clientX||0)-r.left,c=(e.clientY||0)-r.top;let{contentWidth:d,contentHeight:u}=this.calculateContentDim(this.target);const h=this.option("mouseMoveFactor");h>1&&(d!==o&&(d*=h),u!==a&&(u*=h));let f=.5*(d-o)-l/o*100/100*(d-o);f+=.5*(n.right-n.left);let p=.5*(u-a)-c/a*100/100*(u-a);p+=.5*(n.bottom-n.top),this.applyChange({panX:f-this.target.e,panY:p-this.target.f,friction:t})}zoomWithWheel(e){if(this.state===Jo.Destroy||this.state===Jo.Init)return;const t=Date.now();if(t-this.pwt<45)return void e.preventDefault();this.pwt=t;var s=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce((function(e,t){return Math.abs(t)>Math.abs(e)?t:e}));const i=Math.max(-1,Math.min(1,s)),{targetScale:n,maxScale:o,minScale:a}=this;let r=n*(100+45*i)/100;Fo(r)Fo(o)&&Fo(n)>=Fo(o)?(this.cwd+=Math.abs(i),r=o):(this.cwd=0,r=Math.max(Math.min(r,o),a)),this.cwd>this.option("wheelLimit")||(e.preventDefault(),Fo(r)!==Fo(n)&&this.zoomTo(r,{event:e}))}canZoomIn(){return this.option("zoom")&&(Fo(this.contentRect.width,1)Fo(this.minScale)}zoomIn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1.25,t=arguments.length>1?arguments[1]:void 0;this.zoomTo(this.targetScale*e,t)}zoomOut(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.8,t=arguments.length>1?arguments[1]:void 0;this.zoomTo(this.targetScale*e,t)}zoomToFit(e){this.zoomTo("fit",e)}zoomToCover(e){this.zoomTo("cover",e)}zoomToFull(e){this.zoomTo("full",e)}zoomToMax(e){this.zoomTo("max",e)}toggleZoom(e){this.zoomTo(this.targetScale-this.minScale<.5*(this.fullScale-this.minScale)?"full":"fit",e)}toggleMax(e){this.zoomTo(this.targetScale-this.minScale<.5*(this.maxScale-this.minScale)?"max":"fit",e)}toggleCover(e){this.zoomTo(this.targetScale-this.minScale<.5*(this.coverScale-this.minScale)?"cover":"fit",e)}iterateZoom(e){this.zoomTo("next",e)}zoomTo(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,{friction:t="auto",originX:s="auto",originY:i="auto",event:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.isContentLoading||this.state===Jo.Destroy)return;const{targetScale:o}=this;this.stop();let a=1;if(this.panMode===ca&&(n=this.pmme||n),n||"auto"===s||"auto"===i){const e=this.content.getBoundingClientRect(),t=this.container.getBoundingClientRect(),o=n?n.clientX:t.left+.5*t.width,a=n?n.clientY:t.top+.5*t.height;s=o-e.left-.5*e.width,i=a-e.top-.5*e.height}const r=this.fullScale,l=this.maxScale;let c=this.coverScale;"number"==typeof e?a=e/o:("next"===e&&(r-c<.2&&(c=r),e=o1?.15:.25:t,this.applyChange({scale:a,originX:s,originY:i,friction:t}),n&&this.panMode===ca&&this.panWithMouse(n,t)}rotateCCW(){this.applyChange({angle:-90})}rotateCW(){this.applyChange({angle:90})}flipX(){this.applyChange({flipX:!0})}flipY(){this.applyChange({flipY:!0})}fitX(){this.stop("target");const{containerRect:e,contentRect:t,target:s}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-s.e,panY:.5*e.height-(t.top+.5*t.fitHeight)-s.f,scale:e.width/t.fitWidth/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}fitY(){this.stop("target");const{containerRect:e,contentRect:t,target:s}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-s.e,panY:.5*e.innerHeight-(t.top+.5*t.fitHeight)-s.f,scale:e.height/t.fitHeight/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}toggleFS(){const{container:e}=this,t=this.cn("inFullscreen"),s=this.cn("htmlHasFullscreen");e.classList.toggle(t);const i=e.classList.contains(t);i?(document.documentElement.classList.add(s),document.addEventListener("keydown",this.onKeydown,!0)):(document.documentElement.classList.remove(s),document.removeEventListener("keydown",this.onKeydown,!0)),this.updateMetrics(),this.emit(i?"enterFS":"exitFS")}getMatrix(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;const{a:t,b:s,c:i,d:n,e:o,f:a}=e;return new DOMMatrix([t,s,i,n,o,a])}reset(e){if(this.state!==Jo.Init&&this.state!==Jo.Destroy){this.stop("current");for(const e of ea)this.target[e]=ra[e];this.target.a=this.minScale,this.target.d=this.minScale,this.clampTargetBounds(),this.isResting||(this.friction=void 0===e?this.option("friction"):e,this.state=Jo.Panning,this.requestTick())}}destroy(){this.stop(),this.state=Jo.Destroy,this.detachEvents(),this.detachObserver();const{container:e,content:t}=this,s=this.option("classes")||{};for(const t of Object.values(s))e.classList.remove(t+"");t&&(t.removeEventListener("load",this.onLoad),t.removeEventListener("error",this.onError)),this.detachPlugins()}}Object.defineProperty(pa,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:sa}),Object.defineProperty(pa,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}});const ma=function(e,t){let s=!0;return function(){s&&(s=!1,e(...arguments),setTimeout((()=>{s=!0}),t))}},ga=(e,t)=>{let s=[];return e.childNodes.forEach((e=>{e.nodeType!==Node.ELEMENT_NODE||t&&!e.matches(t)||s.push(e)})),s};var va;!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Destroy=2]="Destroy"}(va||(va={}));const ya=e=>{if("string"==typeof e||e instanceof HTMLElement)e={html:e};else{const t=e.thumb;void 0!==t&&("string"==typeof t&&(e.thumbSrc=t),t instanceof HTMLImageElement&&(e.thumbEl=t,e.thumbElSrc=t.src,e.thumbSrc=t.src),delete e.thumb)}return Object.assign({html:"",el:null,isDom:!1,class:"",customClass:"",index:-1,dim:0,gap:0,pos:0,transition:!1},e)},ba=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({index:-1,slides:[],dim:0,pos:-1},e)};class _a extends Ko{constructor(e,t){super(t),Object.defineProperty(this,"instance",{enumerable:!0,configurable:!0,writable:!0,value:e})}attach(){}detach(){}}class wa extends _a{constructor(){super(...arguments),Object.defineProperty(this,"isDynamic",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"list",{enumerable:!0,configurable:!0,writable:!0,value:null})}onRefresh(){this.refresh()}build(){let e=this.list;return e||(e=document.createElement("ul"),aa(e,this.cn("list")),e.setAttribute("role","tablist"),this.instance.container.appendChild(e),aa(this.instance.container,this.cn("hasDots")),this.list=e),e}refresh(){var e;const t=this.instance.pages.length,s=Math.min(2,this.option("minCount")),i=Math.max(2e3,this.option("maxCount")),n=this.option("dynamicFrom");if(ti)return void this.cleanup();const o="number"==typeof n&&t>5&&t>=n,a=!this.list||this.isDynamic!==o||this.list.children.length!==t;a&&this.cleanup();const r=this.build();if(Ho(r,this.cn("isDynamic"),!!o),a)for(let e=0;e0&&void 0!==arguments[0]?arguments[0]:0;var t;const s=document.createElement("li");s.setAttribute("role","presentation");const i=zo(this.instance.localize(this.option("dotTpl"),[["%d",e+1]]).replace(/\%i/g,e+""));return s.appendChild(i),null===(t=s.children[0])||void 0===t||t.setAttribute("role","tab"),s}cleanup(){this.list&&(this.list.remove(),this.list=null),this.isDynamic=!1,oa(this.instance.container,this.cn("hasDots"))}attach(){this.instance.on(["refresh","change"],this.onRefresh)}detach(){this.instance.off(["refresh","change"],this.onRefresh),this.cleanup()}}Object.defineProperty(wa,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{classes:{list:"f-carousel__dots",isDynamic:"is-dynamic",hasDots:"has-dots",dot:"f-carousel__dot",isBeforePrev:"is-before-prev",isPrev:"is-prev",isCurrent:"is-current",isNext:"is-next",isAfterNext:"is-after-next"},dotTpl:'',dynamicFrom:11,maxCount:1/0,minCount:2}});const ka="disabled",xa="next",Sa="prev";class Ca extends _a{constructor(){super(...arguments),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"prev",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"next",{enumerable:!0,configurable:!0,writable:!0,value:null})}onRefresh(){const e=this.instance,t=e.pages.length,s=e.page;if(t<2)return void this.cleanup();this.build();let i=this.prev,n=this.next;i&&n&&(i.removeAttribute(ka),n.removeAttribute(ka),e.isInfinite||(s<=0&&i.setAttribute(ka,""),s>=t-1&&n.setAttribute(ka,"")))}createButton(e){const t=this.instance,s=document.createElement("button");s.setAttribute("tabindex","0"),s.setAttribute("title",t.localize(`{{${e.toUpperCase()}}}`)),aa(s,this.cn("button")+" "+this.cn(e===xa?"isNext":"isPrev"));const i=t.isRTL?e===xa?Sa:xa:e;var n;return s.innerHTML=t.localize(this.option(`${i}Tpl`)),s.dataset[`carousel${n=e,n?n.match("^[a-z]")?n.charAt(0).toUpperCase()+n.substring(1):n:""}`]="true",s}build(){let e=this.container;e||(this.container=e=document.createElement("div"),aa(e,this.cn("container")),this.instance.container.appendChild(e)),this.next||(this.next=e.appendChild(this.createButton(xa))),this.prev||(this.prev=e.appendChild(this.createButton(Sa)))}cleanup(){this.prev&&this.prev.remove(),this.next&&this.next.remove(),this.container&&this.container.remove(),this.prev=null,this.next=null,this.container=null}attach(){this.instance.on(["refresh","change"],this.onRefresh)}detach(){this.instance.off(["refresh","change"],this.onRefresh),this.cleanup()}}Object.defineProperty(Ca,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{classes:{container:"f-carousel__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"},nextTpl:'',prevTpl:''}});class Ea extends _a{constructor(){super(...arguments),Object.defineProperty(this,"selectedIndex",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"nav",{enumerable:!0,configurable:!0,writable:!0,value:null})}addAsTargetFor(e){this.target=this.instance,this.nav=e,this.attachEvents()}addAsNavFor(e){this.nav=this.instance,this.target=e,this.attachEvents()}attachEvents(){this.nav&&this.target&&(this.nav.options.initialSlide=this.target.options.initialPage,this.nav.on("ready",this.onNavReady),this.nav.state===va.Ready&&this.onNavReady(this.nav),this.target.on("ready",this.onTargetReady),this.target.state===va.Ready&&this.onTargetReady(this.target))}onNavReady(e){e.on("createSlide",this.onNavCreateSlide),e.on("Panzoom.click",this.onNavClick),e.on("Panzoom.touchEnd",this.onNavTouch),this.onTargetChange()}onTargetReady(e){e.on("change",this.onTargetChange),e.on("Panzoom.refresh",this.onTargetChange),this.onTargetChange()}onNavClick(e,t,s){this.onNavTouch(e,e.panzoom,s)}onNavTouch(e,t,s){var i,n;if(Math.abs(t.dragOffset.x)>3||Math.abs(t.dragOffset.y)>3)return;const o=s.target,{nav:a,target:r}=this;if(!a||!r||!o)return;const l=o.closest("[data-index]");if(s.stopPropagation(),s.preventDefault(),!l)return;const c=parseInt(l.dataset.index||"",10)||0,d=r.getPageForSlide(c),u=a.getPageForSlide(c);a.slideTo(u),r.slideTo(d,{friction:(null===(n=null===(i=this.nav)||void 0===i?void 0:i.plugins)||void 0===n?void 0:n.Sync.option("friction"))||0}),this.markSelectedSlide(c)}onNavCreateSlide(e,t){t.index===this.selectedIndex&&this.markSelectedSlide(t.index)}onTargetChange(){const{target:e,nav:t}=this;if(!e||!t)return;if(t.state!==va.Ready||e.state!==va.Ready)return;const s=e.pages[e.page].slides[0].index,i=t.getPageForSlide(s);this.markSelectedSlide(s),t.slideTo(i)}markSelectedSlide(e){const t=this.nav;t&&t.state===va.Ready&&(this.selectedIndex=e,[...t.slides].map((t=>{t.el&&t.el.classList[t.index===e?"add":"remove"]("is-nav-selected")})))}attach(){const e=this;let t=e.options.target,s=e.options.nav;t?e.addAsNavFor(t):s&&e.addAsTargetFor(s)}detach(){const e=this,t=e.nav,s=e.target;t&&(t.off("ready",e.onNavReady),t.off("createSlide",e.onNavCreateSlide),t.off("Panzoom.click",e.onNavClick),t.off("Panzoom.touchEnd",e.onNavTouch)),e.nav=null,s&&(s.off("ready",e.onTargetReady),s.off("refresh",e.onTargetChange),s.off("change",e.onTargetChange)),e.target=null}}Object.defineProperty(Ea,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{friction:.35}});const Pa={Navigation:Ca,Dots:wa,Sync:Ea};class Ta extends Zo{get axis(){return this.isHorizontal?"e":"f"}get isEnabled(){return this.state===va.Ready}get isInfinite(){let e=!1;const{contentDim:t,viewportDim:s,pages:i,slides:n}=this;return i.length>=2&&t+n[0].dim>=s&&(e=this.option("infinite")),e}get isRTL(){return"rtl"===this.option("direction")}get isHorizontal(){return"x"===this.option("axis")}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(super(),Object.defineProperty(this,"userOptions",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"bp",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"lp",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:va.Init}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"prevPage",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"viewport",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"slides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pages",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"panzoom",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"inTransition",{enumerable:!0,configurable:!0,writable:!0,value:new Set}),Object.defineProperty(this,"contentDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"viewportDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),"string"==typeof e&&(e=document.querySelector(e)),!e||!na(e))throw new Error("No Element found");this.container=e,this.slideNext=ma(this.slideNext.bind(this),150),this.slidePrev=ma(this.slidePrev.bind(this),150),this.userOptions=t,this.userPlugins=s,queueMicrotask((()=>{this.processOptions()}))}processOptions(){const e=Go({},Ta.defaults,this.userOptions);let t="";const s=e.breakpoints;if(s&&Qo(s))for(const[i,n]of Object.entries(s))window.matchMedia(i).matches&&Qo(n)&&(t+=i,Go(e,n));t===this.bp&&this.state!==va.Init||(this.bp=t,this.state===va.Ready&&(e.initialSlide=this.pages[this.page].slides[0].index),this.state!==va.Init&&this.destroy(),super.setOptions(e),!1===this.option("enabled")?this.attachEvents():setTimeout((()=>{this.init()}),0))}init(){this.state=va.Init,this.emit("init"),this.attachPlugins(Object.assign(Object.assign({},Ta.Plugins),this.userPlugins)),this.initLayout(),this.initSlides(),this.updateMetrics(),this.setInitialPosition(),this.initPanzoom(),this.attachEvents(),this.state=va.Ready,this.emit("ready")}initLayout(){const{container:e}=this,t=this.option("classes");aa(e,this.cn("container")),Ho(e,t.isLTR,!this.isRTL),Ho(e,t.isRTL,this.isRTL),Ho(e,t.isVertical,!this.isHorizontal),Ho(e,t.isHorizontal,this.isHorizontal);let s=this.option("viewport")||e.querySelector(`.${t.viewport}`);s||(s=document.createElement("div"),aa(s,t.viewport),s.append(...ga(e,`.${t.slide}`)),e.prepend(s));let i=this.option("track")||e.querySelector(`.${t.track}`);i||(i=document.createElement("div"),aa(i,t.track),i.append(...Array.from(s.childNodes))),i.setAttribute("aria-live","polite"),s.contains(i)||s.prepend(i),this.viewport=s,this.track=i,this.emit("initLayout")}initSlides(){const{track:e}=this;if(e){this.slides=[],[...ga(e,`.${this.cn("slide")}`)].forEach((e=>{if(na(e)){const t=ya({el:e,isDom:!0,index:this.slides.length});this.slides.push(t),this.emit("initSlide",t,this.slides.length)}}));for(let e of this.option("slides",[])){const t=ya(e);t.index=this.slides.length,this.slides.push(t),this.emit("initSlide",t,this.slides.length)}this.emit("initSlides")}}setInitialPage(){let e=0;const t=this.option("initialSlide");e="number"==typeof t?this.getPageForSlide(t):parseInt(this.option("initialPage",0)+"",10)||0,this.page=e}setInitialPosition(){if(!this.track||!this.pages.length)return;const e=this.isHorizontal;let t=this.page;this.pages[t]||(this.page=t=0);const s=this.pages[t].pos*(this.isRTL&&e?1:-1),i=e?`${s}px`:"0",n=e?"0":`${s}px`;this.track.style.transform=`translate3d(${i}, ${n}, 0) scale(1)`,this.option("adaptiveHeight")&&this.setViewportHeight()}initPanzoom(){var e=this;this.panzoom&&(this.panzoom.destroy(),this.panzoom=null);const t=this.option("Panzoom")||{};this.panzoom=new pa(this.viewport,Go({},{content:this.track,zoom:!1,panOnlyZoomed:!1,lockAxis:this.isHorizontal?"x":"y",infinite:this.isInfinite,click:!1,dblClick:!1,touch:e=>!(this.pages.length<2&&!e.options.infinite),bounds:()=>this.getBounds(),maxVelocity:e=>Math.abs(e.target[this.axis]-e.current[this.axis])<2*this.viewportDim?100:0},t)),this.panzoom.on("*",(function(t,s){for(var i=arguments.length,n=new Array(i>2?i-2:0),o=2;os||a===i)&&(e.push(ba()),n=e.length-1,o=0,a=0),e[n].slides.push(t),o+=t.dim+t.gap,a++;return e}processPages(){const e=this.pages,{contentDim:t,viewportDim:s}=this,i=this.option("center"),n=this.option("fill"),o=n&&i&&t>s&&!this.isInfinite;if(e.forEach(((e,n)=>{e.index=n,e.pos=e.slides[0].pos,e.dim=0;for(const[t,s]of e.slides.entries())e.dim+=s.dim,t=t-.5*s?e.pos=t-s:i&&(e.pos+=-.5*(s-e.dim))})),e.forEach(((e,i)=>{n&&!this.isInfinite&&t>s&&(e.pos=Math.max(e.pos,0),e.pos=Math.min(e.pos,t-s)),e.pos=Fo(e.pos,1e3),e.dim=Fo(e.dim,1e3),Math.abs(e.pos)<=.1&&(e.pos=0)})),this.isInfinite)return e;const a=[];let r;return e.forEach((e=>{const t=Object.assign({},e);r&&t.pos===r.pos?(r.dim+=t.dim,r.slides=[...r.slides,...t.slides]):(t.index=a.length,r=t,a.push(t))})),a}getPageFromIndex(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=this.pages.length;let s;return e=parseInt((e||0).toString())||0,s=this.isInfinite?(e%t+t)%t:Math.max(Math.min(e,t-1),0),s}getSlideMetrics(e){var t,s;const i=this.isHorizontal?"width":"height";let n=0,o=0,a=e.el;const r=a&&!a.parentNode;if(a?n=parseFloat(a.dataset[i]||"")||0:(a=document.createElement("div"),a.style.visibility="hidden",(this.track||document.body).prepend(a)),aa(a,this.cn("slide")+" "+e.class+" "+e.customClass),n)a.style[i]=`${n}px`,a.style["width"===i?"height":"width"]="";else{r&&(this.track||document.body).prepend(a);const e=Math.max(1,(null===(t=window.visualViewport)||void 0===t?void 0:t.scale)||1);n=a.getBoundingClientRect()[i]*e}const l=getComputedStyle(a);return"content-box"===l.boxSizing&&(this.isHorizontal?(n+=parseFloat(l.paddingLeft)||0,n+=parseFloat(l.paddingRight)||0):(n+=parseFloat(l.paddingTop)||0,n+=parseFloat(l.paddingBottom)||0)),o=parseFloat(l[this.isHorizontal?"marginRight":"marginBottom"])||0,r?null===(s=a.parentElement)||void 0===s||s.removeChild(a):e.el||a.remove(),{dim:Fo(n,1e3),gap:Fo(o,1e3)}}getBounds(){const{isInfinite:e,isRTL:t,isHorizontal:s,pages:i}=this;let n={min:0,max:0};if(e)n={min:-1/0,max:1/0};else if(i.length){const e=i[0].pos,o=i[i.length-1].pos;n=t&&s?{min:e,max:o}:{min:-1*o,max:-1*e}}return{x:s?n:{min:0,max:0},y:s?{min:0,max:0}:n}}repositionSlides(){let e,{isHorizontal:t,isRTL:s,isInfinite:i,viewport:n,viewportDim:o,contentDim:a,page:r,pages:l,slides:c,panzoom:d}=this,u=0,h=0,f=0,p=0;d?p=-1*d.current[this.axis]:l[r]&&(p=l[r].pos||0),e=t?s?"right":"left":"top",s&&t&&(p*=-1);for(const t of c)t.el?("top"===e?(t.el.style.right="",t.el.style.left=""):t.el.style.top="",t.index!==u?t.el.style[e]=0===h?"":`${Fo(h,1e3)}px`:t.el.style[e]="",f+=t.dim+t.gap,u++):h+=t.dim+t.gap;if(i&&f&&n){let s=getComputedStyle(n),i="padding",r=t?"Right":"Bottom",l=parseFloat(s[i+(t?"Left":"Top")]);p-=l,o+=l,o+=parseFloat(s[i+r]);for(const t of c)t.el&&(Fo(t.pos)Fo(a-o)&&(t.el.style[e]=`${Fo(h+f,1e3)}px`),Fo(t.pos+t.gap)>=Fo(a-o)&&Fo(t.pos)>Fo(p+o)&&Fo(p)1&&(m=l[v[0]],g=l[v[1]]),m&&g){let t=0;for(const s of c)s.el?this.inTransition.has(s.index)&&m.slides.indexOf(s)<0&&(s.el.style[e]=`${Fo(t+(m.pos-g.pos),1e3)}px`):t+=s.dim+s.gap}}createSlideEl(e){const{track:t,slides:s}=this;if(!t||!e)return;if(e.el&&e.el.parentNode)return;const i=e.el||document.createElement("div");aa(i,this.cn("slide")),aa(i,e.class),aa(i,e.customClass);const n=e.html;n&&(n instanceof HTMLElement?i.appendChild(n):i.innerHTML=e.html+"");const o=[];s.forEach(((e,t)=>{e.el&&o.push(t)}));const a=e.index;let r=null;o.length&&(r=s[o.reduce(((e,t)=>Math.abs(t-a)1&&void 0!==arguments[1]&&arguments[1];const s=e.el;if(!s||!s.parentNode)return;if(oa(s,this.cn("isSelected")),e.isDom&&!t)return s.removeAttribute("aria-hidden"),s.removeAttribute("data-index"),oa(s,this.cn("isSelected")),void(s.style.left="");this.emit("removeSlide",e);const i=new CustomEvent("animationend");s.dispatchEvent(i),e.el&&(e.el.remove(),e.el=null)}transitionTo(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.option("transition");if(!t)return!1;const{pages:s,panzoom:i}=this;e=parseInt((e||0).toString())||0;const n=this.getPageFromIndex(e);if(!i||!s[n]||s.length<2||Math.abs(s[this.page].slides[0].dim-this.viewportDim)>1)return!1;const o=e>this.page?1:-1,a=this.pages[n].pos*(this.isRTL?1:-1);if(this.page===n&&Math.abs(a-i.target[this.axis])<1)return!1;this.clearTransitions();const r=i.isResting;aa(this.container,this.cn("inTransition"));const l=this.pages[this.page].slides[0],c=this.pages[n].slides[0];this.inTransition.add(c.index),this.createSlideEl(c);let d=l.el,u=c.el;r||"slide"===t||(t="fadeFast",d=null);const h=this.isRTL?"next":"prev",f=this.isRTL?"prev":"next";return d&&(this.inTransition.add(l.index),l.transition=t,d.addEventListener("animationend",this.onAnimationEnd),d.classList.add(`f-${t}Out`,`to-${o>0?f:h}`)),u&&(c.transition=t,u.addEventListener("animationend",this.onAnimationEnd),u.classList.add(`f-${t}In`,`from-${o>0?h:f}`)),i.panTo({x:this.isHorizontal?a:0,y:this.isHorizontal?0:a,friction:0}),this.onChange(n),!0}manageSlideVisiblity(){const e=new Set,t=new Set,s=this.getVisibleSlides(parseFloat(this.option("preload",0)+"")||0);for(const i of this.slides)s.has(i)?e.add(i):t.add(i);for(const t of this.inTransition)e.add(this.slides[t]);for(const t of e)this.createSlideEl(t),this.lazyLoadSlide(t);for(const s of t)e.has(s)||this.removeSlideEl(s);this.markSelectedSlides(),this.repositionSlides()}markSelectedSlides(){if(!this.pages[this.page]||!this.pages[this.page].slides)return;const e="aria-hidden";let t=this.cn("isSelected");if(t)for(const s of this.slides)s.el&&(s.el.dataset.index=`${s.index}`,this.pages[this.page].slides.includes(s)?(s.el.classList.contains(t)||(aa(s.el,t),this.emit("selectSlide",s)),s.el.removeAttribute(e)):(s.el.classList.contains(t)&&(oa(s.el,t),this.emit("unselectSlide",s)),s.el.setAttribute(e,"true")))}flipInfiniteTrack(){const e=this.panzoom;if(!e||!this.isInfinite)return;const t="x"===this.option("axis")?"e":"f",{viewportDim:s,contentDim:i}=this;let n=e.current[t],o=e.target[t]-n,a=0,r=.5*s,l=i;this.isRTL&&this.isHorizontal?(n<-r&&(a=-1,n+=l),n>l-r&&(a=1,n-=l)):(n>r&&(a=1,n-=l),n<-l+r&&(a=-1,n+=l)),a&&(e.current[t]=n,e.target[t]=n+o)}lazyLoadSlide(e){const t=this,s=e&&e.el;if(!s)return;const i=new Set,n="f-fadeIn";s.querySelectorAll("[data-lazy-srcset]").forEach((e=>{e instanceof HTMLImageElement&&i.add(e)}));let o=Array.from(s.querySelectorAll("[data-lazy-src]"));s.dataset.lazySrc&&o.push(s),o.map((e=>{e instanceof HTMLImageElement?i.add(e):na(e)&&(e.style.backgroundImage=`url('${e.dataset.lazySrc||""}')`,delete e.dataset.lazySrc)}));const a=(e,s,i)=>{i&&(i.remove(),i=null),s.complete&&(s.classList.add(n),setTimeout((()=>{s.classList.remove(n)}),350),s.style.display=""),this.option("adaptiveHeight")&&e.el&&this.pages[this.page].slides.indexOf(e)>-1&&(t.updateMetrics(),t.setViewportHeight()),this.emit("load",e)};for(const t of i){let s=null;t.src=t.dataset.lazySrcset||t.dataset.lazySrc||"",delete t.dataset.lazySrc,delete t.dataset.lazySrcset,t.style.display="none",t.addEventListener("error",(()=>{a(e,t,s)})),t.addEventListener("load",(()=>{a(e,t,s)})),setTimeout((()=>{t.parentNode&&e.el&&(t.complete?a(e,t,s):(s=zo(ia),t.parentNode.insertBefore(s,t)))}),300)}}onAnimationEnd(e){var t;const s=e.target,i=s?parseInt(s.dataset.index||"",10)||0:-1,n=this.slides[i],o=e.animationName;if(!s||!n||!o)return;const a=!!this.inTransition.has(i)&&n.transition;a&&o.substring(0,a.length+2)===`f-${a}`&&this.inTransition.delete(i),this.inTransition.size||this.clearTransitions(),i===this.page&&(null===(t=this.panzoom)||void 0===t?void 0:t.isResting)&&this.emit("settle")}onDecel(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;const{isRTL:o,isHorizontal:a,axis:r,pages:l}=this,c=l.length,d=Math.abs(Math.atan2(s,t)/(Math.PI/180));let u=0;if(u=d>45&&d<135?a?0:s:a?t:0,!c)return;const h=this.option("dragFree");let f=this.page,p=o&&a?1:-1;const m=e.target[r]*p,g=e.current[r]*p;let{pageIndex:v}=this.getPageFromPosition(m),{pageIndex:y}=this.getPageFromPosition(g);h?this.onChange(v):(Math.abs(u)>5?(l[f].dim1&&void 0!==arguments[1]?arguments[1]:0;const s=this.page;this.prevPage=s,this.page=e,this.option("adaptiveHeight")&&this.setViewportHeight(),e!==s&&(this.markSelectedSlides(),this.emit("change",e,s,t))}onRefresh(){let e=this.contentDim,t=this.viewportDim;this.updateMetrics(),this.contentDim===e&&this.viewportDim===t||this.slideTo(this.page,{friction:0,transition:!1})}onResize(){this.option("breakpoints")&&this.processOptions()}onBeforeTransform(e){this.lp!==e.current[this.axis]&&(this.flipInfiniteTrack(),this.manageSlideVisiblity()),this.lp=e.current.e}onEndAnimation(){this.inTransition.size||this.emit("settle")}reInit(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.destroy(),this.state=va.Init,this.userOptions=e||this.userOptions,this.userPlugins=t||this.userPlugins,this.processOptions()}slideTo(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,{friction:t=this.option("friction"),transition:s=this.option("transition")}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.state===va.Destroy)return;const{axis:i,isHorizontal:n,isRTL:o,pages:a,panzoom:r}=this,l=a.length,c=o&&n?1:-1;if(!r||!l)return;if(this.transitionTo(e,s))return;const d=this.getPageFromIndex(e);let u=a[d].pos;if(this.isInfinite){const t=this.contentDim,s=r.target[i]*c;if(2===l)u+=t*Math.floor(parseFloat(e+"")/2);else{const e=s;u=[u,u-t,u+t].reduce((function(t,s){return Math.abs(s-e).5&&(e.target[this.axis]=-1*this.pages[this.page].pos,e.current[this.axis]=-1*this.pages[this.page].pos,e.stop()),this.manageSlideVisiblity(),this.emit("refresh")}getProgress(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];void 0===e&&(e=this.page);const s=this,i=s.panzoom,n=s.pages[e]||0;if(!n||!i)return 0;let o=-1*i.current.e,a=s.contentDim;var r=[Fo((o-n.pos)/(1*n.dim),1e3),Fo((o+a-n.pos)/(1*n.dim),1e3),Fo((o-a-n.pos)/(1*n.dim),1e3)].reduce((function(e,t){return Math.abs(t){e.el&&(n=Math.max(n,e.el.offsetHeight))}))),s.style.height=n?`${n}px`:""}getPageForSlide(e){for(const t of this.pages)for(const s of t.slides)if(s.index===e)return t.index;return-1}getVisibleSlides(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;var t;const s=new Set;let{contentDim:i,viewportDim:n,pages:o,page:a}=this;i=i+(null===(t=this.slides[this.slides.length-1])||void 0===t?void 0:t.gap)||0;let r=0;r=this.panzoom?-1*this.panzoom.current[this.axis]:o[a]&&o[a].pos||0,this.isInfinite&&(r-=Math.floor(r/i)*i),this.isRTL&&this.isHorizontal&&(r*=-1);const l=r-n*e,c=r+n*(e+1),d=this.isInfinite?[-1,0,1]:[0];for(const e of this.slides)for(const t of d){const n=e.pos+t*i,o=e.pos+e.dim+e.gap+t*i;nl&&s.add(e)}return s}getPageFromPosition(e){const{viewportDim:t,contentDim:s}=this,i=this.pages.length,n=this.slides.length,o=this.slides[n-1];let a=0,r=0,l=0;const c=this.option("center");c&&(e+=.5*t),this.isInfinite||(e=Math.max(this.slides[0].pos,Math.min(e,o.pos)));const d=s+o.gap;l=Math.floor(e/d)||0,e-=l*d;let u=o,h=this.slides.find((t=>{const s=e+(u&&!c?.5*u.dim:0);return u=t,t.pos<=s&&t.pos+t.dim+t.gap>s}));return h||(h=o),r=this.getPageForSlide(h.index),a=r+l*i,{page:a,pageIndex:r}}destroy(){if([va.Destroy].includes(this.state))return;this.state=va.Destroy;const{container:e,viewport:t,track:s,slides:i,panzoom:n}=this,o=this.option("classes");e.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),e.removeEventListener("slideTo",this.onSlideTo),window.removeEventListener("resize",this.onResize),n&&(n.destroy(),this.panzoom=null),i&&i.forEach((e=>{this.removeSlideEl(e)})),this.detachPlugins(),t&&t.offsetParent&&s&&s.offsetParent&&t.replaceWith(...s.childNodes);for(const[t,s]of Object.entries(o))"container"!==t&&s&&e.classList.remove(s);this.track=null,this.viewport=null,this.page=0,this.slides=[];const a=this.events.get("ready");this.events=new Map,a&&this.events.set("ready",a)}}Object.defineProperty(Ta,"Panzoom",{enumerable:!0,configurable:!0,writable:!0,value:pa}),Object.defineProperty(Ta,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{viewport:null,track:null,enabled:!0,slides:[],axis:"x",transition:"fade",preload:1,slidesPerPage:"auto",initialPage:0,friction:.12,Panzoom:{decelFriction:.12},center:!0,infinite:!0,fill:!0,dragFree:!1,adaptiveHeight:!1,direction:"ltr",classes:{container:"f-carousel",viewport:"f-carousel__viewport",track:"f-carousel__track",slide:"f-carousel__slide",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",inTransition:"in-transition",isSelected:"is-selected"},l10n:{NEXT:"Next slide",PREV:"Previous slide",GOTO:"Go to slide #%d"}}}),Object.defineProperty(Ta,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:Pa});const qa=function(e){const t=window.pageYOffset,s=window.pageYOffset+window.innerHeight;if(!na(e))return 0;const i=e.getBoundingClientRect(),n=i.y+window.pageYOffset,o=i.y+i.height+window.pageYOffset;if(t>o||so)return 100;if(ns)return 100;let a=i.height;ns&&(a-=o-s);const r=a/window.innerHeight*100;return Math.round(r)},Aa=!("undefined"==typeof window||!window.document||!window.document.createElement);let Ba;const La=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden]):not(.fancybox-focus-guard)","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"]):not([disabled]):not([aria-hidden])'].join(","),Ma=e=>{if(e&&Aa){void 0===Ba&&document.createElement("div").focus({get preventScroll(){return Ba=!0,!1}});try{if(Ba)e.focus({preventScroll:!0});else{const t=window.pageXOffset||document.body.scrollTop,s=window.pageYOffset||document.body.scrollLeft;e.focus(),document.body.scrollTo({top:t,left:s,behavior:"auto"})}}catch(e){}}},Na={dragToClose:!0,hideScrollbar:!0,Carousel:{classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",track:"fancybox__track",slide:"fancybox__slide"}},contentClick:"toggleZoom",contentDblClick:!1,backdropClick:"close",animated:!0,idle:3500,showClass:"f-zoomInUp",hideClass:"f-fadeOut",commonCaption:!1,parentEl:null,startIndex:0,l10n:Object.assign(Object.assign({},ta),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ERROR:"Something Went Wrong, Please Try Again Later",IMAGE_ERROR:"Image Not Found",ELEMENT_NOT_FOUND:"HTML Element Not Found",AJAX_NOT_FOUND:"Error Loading AJAX : Not Found",AJAX_FORBIDDEN:"Error Loading AJAX : Forbidden",IFRAME_ERROR:"Error Loading Page",TOGGLE_ZOOM:"Toggle zoom level",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_SLIDESHOW:"Toggle slideshow",TOGGLE_FULLSCREEN:"Toggle full-screen mode",DOWNLOAD:"Download"}),tpl:{closeButton:'',main:''},groupAll:!1,groupAttr:"data-fancybox",defaultType:"image",defaultDisplay:"block",autoFocus:!0,trapFocus:!0,placeFocusBack:!0,closeButton:"auto",keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},Fullscreen:{autoStart:!1},compact:()=>window.matchMedia("(max-width: 578px), (max-height: 578px)").matches,wheel:"zoom"};var Ia,Oa;!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Closing=2]="Closing",e[e.CustomClosing=3]="CustomClosing",e[e.Destroy=4]="Destroy"}(Ia||(Ia={})),function(e){e[e.Loading=0]="Loading",e[e.Opening=1]="Opening",e[e.Ready=2]="Ready",e[e.Closing=3]="Closing"}(Oa||(Oa={}));const Fa=()=>{queueMicrotask((()=>{(()=>{const{slug:e,index:t}=Da.parseURL(),s=br.getInstance();if(s&&!1!==s.option("Hash")){const i=s.carousel;if(e&&i){for(let t of i.slides)if(t.slug&&t.slug===e)return i.slideTo(t.index);if(e===s.option("slug"))return i.slideTo(t-1);const n=s.getSlide(),o=n&&n.triggerEl&&n.triggerEl.dataset;if(o&&o.fancybox===e)return i.slideTo(t-1)}Da.hasSilentClose=!0,s.close()}Da.startFromUrl()})()}))};class Da extends _a{constructor(){super(...arguments),Object.defineProperty(this,"origHash",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"timer",{enumerable:!0,configurable:!0,writable:!0,value:null})}onChange(){const e=this.instance,t=e.carousel;this.timer&&clearTimeout(this.timer);const s=e.getSlide();if(!t||!s)return;const i=e.isOpeningSlide(s),n=new URL(document.URL).hash;let o,a=s.slug||void 0,r=s.triggerEl||void 0;o=a||this.instance.option("slug"),!o&&r&&r.dataset&&(o=r.dataset.fancybox);let l="";o&&"true"!==o&&(l="#"+o+(!a&&t.slides.length>1?"-"+(s.index+1):"")),i&&(this.origHash=n!==l?n:""),l&&n!==l&&(this.timer=setTimeout((()=>{try{e.state===Ia.Ready&&window.history[i?"pushState":"replaceState"]({},document.title,window.location.pathname+window.location.search+l)}catch(e){}}),300))}onClose(){if(this.timer&&clearTimeout(this.timer),!0!==Da.hasSilentClose)try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+(this.origHash||""))}catch(e){}}attach(){const e=this.instance;e.on("Carousel.ready",this.onChange),e.on("Carousel.change",this.onChange),e.on("close",this.onClose)}detach(){const e=this.instance;e.off("Carousel.ready",this.onChange),e.off("Carousel.change",this.onChange),e.off("close",this.onClose)}static parseURL(){const e=window.location.hash.slice(1),t=e.split("-"),s=t[t.length-1],i=s&&/^\+?\d+$/.test(s)&&parseInt(t.pop()||"1",10)||1;return{hash:e,slug:t.join("-"),index:i}}static startFromUrl(){if(Da.hasSilentClose=!1,br.getInstance()||!1===br.defaults.Hash)return;const{hash:e,slug:t,index:s}=Da.parseURL();if(!t)return;let i=document.querySelector(`[data-slug="${e}"]`);if(i&&i.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),br.getInstance())return;const n=document.querySelectorAll(`[data-fancybox="${t}"]`);n.length&&(i=n[s-1],i&&i.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})))}static destroy(){window.removeEventListener("hashchange",Fa,!1)}}function ja(){window.addEventListener("hashchange",Fa,!1),setTimeout((()=>{Da.startFromUrl()}),500)}Object.defineProperty(Da,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(Da,"hasSilentClose",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Aa&&(/complete|interactive|loaded/.test(document.readyState)?ja():document.addEventListener("DOMContentLoaded",ja));class za extends _a{onCreateSlide(e,t,s){const i=this.instance.optionFor(s,"src")||"";s.el&&"image"===s.type&&"string"==typeof i&&this.setImage(s,i)}onRemoveSlide(e,t,s){s.panzoom&&s.panzoom.destroy(),s.panzoom=void 0,s.imageEl=void 0}onChange(e,t,s,i){for(const e of t.slides){const t=e.panzoom;t&&e.index!==s&&t.reset(.35)}}onClose(){var e;const t=this.instance,s=t.container,i=t.getSlide();if(!s||!s.parentElement||!i)return;const{el:n,contentEl:o,panzoom:a}=i,r=i.thumbElSrc;if(!n||!r||!o||!a||a.isContentLoading||a.state===Jo.Init||a.state===Jo.Destroy)return;a.updateMetrics();let l=this.getZoomInfo(i);if(!l)return;this.instance.state=Ia.CustomClosing,s.classList.remove("is-zooming-in"),s.classList.add("is-zooming-out"),o.style.backgroundImage=`url('${r}')`;const c=s.getBoundingClientRect();1===((null===(e=window.visualViewport)||void 0===e?void 0:e.scale)||1)&&Object.assign(s.style,{position:"absolute",top:`${window.pageYOffset}px`,left:`${window.pageXOffset}px`,bottom:"auto",right:"auto",width:`${c.width}px`,height:`${c.height}px`,overflow:"hidden"});const{x:d,y:u,scale:h,opacity:f}=l;if(f){const e=((e,t,s,i)=>{const n=t-e;return t=>1+((t-e)/n*-1||0)})(a.scale,h);a.on("afterTransform",(()=>{o.style.opacity=e(a.scale)+""}))}a.on("endAnimation",(()=>{t.destroy()})),a.target.a=h,a.target.b=0,a.target.c=0,a.target.d=h,a.panTo({x:d,y:u,scale:h,friction:f?.2:.33,ignoreBounds:!0}),a.isResting&&t.destroy()}setImage(e,t){const s=this.instance;e.src=t,this.process(e,t).then((t=>{var i;const n=e.contentEl,o=e.imageEl,a=e.thumbElSrc;if(s.isClosing()||!n||!o)return;n.offsetHeight;const r=!!s.isOpeningSlide(e)&&this.getZoomInfo(e);if(this.option("protected")){null===(i=e.el)||void 0===i||i.addEventListener("contextmenu",(e=>{e.preventDefault()}));const t=document.createElement("div");aa(t,"fancybox-protected"),n.appendChild(t)}if(a&&r){const i=t.contentRect,o=Math.max(i.fullWidth,i.fullHeight);let c=null;!r.opacity&&o>1200&&(c=document.createElement("img"),aa(c,"fancybox-ghost"),c.src=a,n.appendChild(c));const d=()=>{c&&(aa(c,"f-fadeFastOut"),setTimeout((()=>{c&&(c.remove(),c=null)}),200))};(l=a,new Promise(((e,t)=>{const s=new Image;s.onload=e,s.onerror=t,s.src=l}))).then((()=>{e.state=Oa.Opening,this.instance.emit("reveal",e),this.zoomIn(e).then((()=>{d(),this.instance.done(e)}),(()=>{s.hideLoading(e)})),c&&setTimeout((()=>{d()}),o>2500?800:200)}),(()=>{s.hideLoading(e),s.revealContent(e)}))}else{const i=this.optionFor(e,"initialSize"),n=this.optionFor(e,"zoom"),o={event:s.prevMouseMoveEvent||s.options.event,friction:n?.12:0};let a=s.optionFor(e,"showClass")||void 0,r=!0;s.isOpeningSlide(e)&&("full"===i?t.zoomToFull(o):"cover"===i?t.zoomToCover(o):"max"===i?t.zoomToMax(o):r=!1,t.stop("current")),r&&a&&(a=t.isDragging?"f-fadeIn":""),s.revealContent(e,a)}var l}),(()=>{s.setError(e,"{{IMAGE_ERROR}}")}))}process(e,t){return new Promise(((s,i)=>{var n;const o=this.instance,a=e.el;o.clearContent(e),o.showLoading(e);let r=this.optionFor(e,"content");if("string"==typeof r&&(r=zo(r)),!r||!na(r)){if(r=document.createElement("img"),r instanceof HTMLImageElement){let s="",i=e.caption;s="string"==typeof i&&i?i.replace(/<[^>]+>/gi,"").substring(0,1e3):`Image ${e.index+1} of ${null===(n=o.carousel)||void 0===n?void 0:n.pages.length}`,r.src=t||"",r.alt=s,r.draggable=!1,e.srcset&&r.setAttribute("srcset",e.srcset)}e.sizes&&r.setAttribute("sizes",e.sizes)}r.classList.add("fancybox-image"),e.imageEl=r,o.setContent(e,r,!1),e.panzoom=new pa(a,Go({transformParent:!0},this.option("Panzoom")||{},{content:r,width:o.optionFor(e,"width","auto"),height:o.optionFor(e,"height","auto"),wheel:()=>{const e=o.option("wheel");return("zoom"===e||"pan"==e)&&e},click:(t,s)=>{var i,n;if(o.isCompact||o.isClosing())return!1;if(e.index!==(null===(i=o.getSlide())||void 0===i?void 0:i.index))return!1;if(s){const e=s.composedPath()[0];if(["A","BUTTON","TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].includes(e.nodeName))return!1}let a=!s||s.target&&(null===(n=e.contentEl)||void 0===n?void 0:n.contains(s.target));return o.option(a?"contentClick":"backdropClick")||!1},dblClick:()=>o.isCompact?"toggleZoom":o.option("contentDblClick")||!1,spinner:!1,panOnlyZoomed:!0,wheelLimit:1/0,on:{ready:e=>{s(e)},error:()=>{i()},destroy:()=>{i()}}}))}))}zoomIn(e){return new Promise(((t,s)=>{const i=this.instance,n=i.container,{panzoom:o,contentEl:a,el:r}=e;o&&o.updateMetrics();const l=this.getZoomInfo(e);if(!(l&&r&&a&&o&&n))return void s();const{x:c,y:d,scale:u,opacity:h}=l,f=()=>{e.state!==Oa.Closing&&(h&&(a.style.opacity=Math.max(Math.min(1,1-(1-o.scale)/(1-u)),0)+""),o.scale>=1&&o.scale>o.targetScale-.1&&t(o))},p=e=>{oa(n,"is-zooming-in"),e.scale<.99||e.scale>1.01||(a.style.opacity="",e.off("endAnimation",p),e.off("touchStart",p),e.off("afterTransform",f),t(e))};o.on("endAnimation",p),o.on("touchStart",p),o.on("afterTransform",f),o.on(["error","destroy"],(()=>{s()})),o.panTo({x:c,y:d,scale:u,friction:0,ignoreBounds:!0}),o.stop("current");const m={event:"mousemove"===o.panMode?i.prevMouseMoveEvent||i.options.event:void 0},g=this.optionFor(e,"initialSize");aa(n,"is-zooming-in"),i.hideLoading(e),"full"===g?o.zoomToFull(m):"cover"===g?o.zoomToCover(m):"max"===g?o.zoomToMax(m):o.reset(.172)}))}getZoomInfo(e){var t;const{el:s,imageEl:i,thumbEl:n,panzoom:o}=e;if(!s||!i||!n||!o||qa(n)<3||!this.optionFor(e,"zoom")||this.instance.state===Ia.Destroy)return!1;if(1!==((null===(t=window.visualViewport)||void 0===t?void 0:t.scale)||1))return!1;let{top:a,left:r,width:l,height:c}=n.getBoundingClientRect(),{top:d,left:u,fitWidth:h,fitHeight:f}=o.contentRect;if(!(l&&c&&h&&f))return!1;const p=o.container.getBoundingClientRect();u+=p.left,d+=p.top;const m=-1*(u+.5*h-(r+.5*l)),g=-1*(d+.5*f-(a+.5*c)),v=l/h;let y=this.option("zoomOpacity")||!1;return"auto"===y&&(y=Math.abs(l/c-h/f)>.1),{x:m,y:g,scale:v,opacity:y}}attach(){const e=this,t=e.instance;t.on("Carousel.change",e.onChange),t.on("Carousel.createSlide",e.onCreateSlide),t.on("Carousel.removeSlide",e.onRemoveSlide),t.on("close",e.onClose)}detach(){const e=this,t=e.instance;t.off("Carousel.change",e.onChange),t.off("Carousel.createSlide",e.onCreateSlide),t.off("Carousel.removeSlide",e.onRemoveSlide),t.off("close",e.onClose)}}Object.defineProperty(za,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{initialSize:"fit",Panzoom:{maxScale:1},protected:!1,zoom:!0,zoomOpacity:"auto"}}),"function"==typeof SuppressedError&&SuppressedError;const Ra=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=new URL(e),i=new URLSearchParams(s.search),n=new URLSearchParams;for(const[e,s]of[...i,...Object.entries(t)]){let t=s.toString();"t"===e?n.set("start",parseInt(t).toString()):n.set(e,t)}let o=n.toString(),a=e.match(/#t=((.*)?\d+s)/);return a&&(o+=`#t=${a[1]}`),o},Ha=["image","html","ajax","inline","clone","iframe","map","pdf","html5video","youtube","vimeo","video"];class Va extends _a{onInitSlide(e,t,s){this.processType(s)}onCreateSlide(e,t,s){this.setContent(s)}onRemoveSlide(e,t,s){s.xhr&&(s.xhr.abort(),s.xhr=null);const i=s.iframeEl;i&&(i.onload=i.onerror=null,i.src="//about:blank",s.iframeEl=null);const n=s.contentEl,o=s.placeholderEl;if("inline"===s.type&&n&&o)n.classList.remove("fancybox__content"),"none"!==n.style.display&&(n.style.display="none"),o.parentNode&&o.parentNode.insertBefore(n,o),o.remove(),s.contentEl=void 0,s.placeholderEl=void 0;else for(;s.el&&s.el.firstChild;)s.el.removeChild(s.el.firstChild)}onSelectSlide(e,t,s){s.state===Oa.Ready&&this.playVideo()}onUnselectSlide(e,t,s){var i,n;if("html5video"===s.type){try{null===(n=null===(i=s.el)||void 0===i?void 0:i.querySelector("video"))||void 0===n||n.pause()}catch(e){}return}let o;"vimeo"===s.type?o={method:"pause",value:"true"}:"youtube"===s.type&&(o={event:"command",func:"pauseVideo"}),o&&s.iframeEl&&s.iframeEl.contentWindow&&s.iframeEl.contentWindow.postMessage(JSON.stringify(o),"*"),s.poller&&clearTimeout(s.poller)}onDone(e,t){e.isCurrentSlide(t)&&!e.isClosing()&&this.playVideo()}onRefresh(e,t){t.slides.forEach((e=>{e.el&&(this.setAspectRatio(e),this.resizeIframe(e))}))}onMessage(e){try{let t=JSON.parse(e.data);if("https://player.vimeo.com"===e.origin){if("ready"===t.event)for(let t of Array.from(document.getElementsByClassName("fancybox__iframe")))t instanceof HTMLIFrameElement&&t.contentWindow===e.source&&(t.dataset.ready="true")}else if(e.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&"onReady"===t.event){const e=document.getElementById(t.id);e&&(e.dataset.ready="true")}}catch(e){}}loadAjaxContent(e){const t=this.instance.optionFor(e,"src")||"";this.instance.showLoading(e);const s=this.instance,i=new XMLHttpRequest;s.showLoading(e),i.onreadystatechange=function(){i.readyState===XMLHttpRequest.DONE&&s.state===Ia.Ready&&(s.hideLoading(e),200===i.status?s.setContent(e,i.responseText):s.setError(e,404===i.status?"{{AJAX_NOT_FOUND}}":"{{AJAX_FORBIDDEN}}"))};const n=e.ajax||null;i.open(n?"POST":"GET",t+""),i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.send(n),e.xhr=i}setInlineContent(e){let t=null;if(na(e.src))t=e.src;else if("string"==typeof e.src){const s=e.src.split("#",2).pop();t=s?document.getElementById(s):null}if(t){if("clone"===e.type||t.closest(".fancybox__slide")){t=t.cloneNode(!0);const s=t.dataset.animationName;s&&(t.classList.remove(s),delete t.dataset.animationName);let i=t.getAttribute("id");i=i?`${i}--clone`:`clone-${this.instance.id}-${e.index}`,t.setAttribute("id",i)}else if(t.parentNode){const s=document.createElement("div");s.classList.add("fancybox-placeholder"),t.parentNode.insertBefore(s,t),e.placeholderEl=s}this.instance.setContent(e,t)}else this.instance.setError(e,"{{ELEMENT_NOT_FOUND}}")}setIframeContent(e){const{src:t,el:s}=e;if(!t||"string"!=typeof t||!s)return;s.classList.add("is-loading");const i=this.instance,n=document.createElement("iframe");n.className="fancybox__iframe",n.setAttribute("id",`fancybox__iframe_${i.id}_${e.index}`);for(const[t,s]of Object.entries(this.optionFor(e,"iframeAttr")||{}))n.setAttribute(t,s);n.onerror=()=>{i.setError(e,"{{IFRAME_ERROR}}")},e.iframeEl=n;const o=this.optionFor(e,"preload");if("iframe"!==e.type||!1===o)return n.setAttribute("src",e.src+""),i.setContent(e,n,!1),this.resizeIframe(e),void i.revealContent(e);i.showLoading(e),n.onload=()=>{if(!n.src.length)return;const t="true"!==n.dataset.ready;n.dataset.ready="true",this.resizeIframe(e),t?i.revealContent(e):i.hideLoading(e)},n.setAttribute("src",t),i.setContent(e,n,!1)}resizeIframe(e){const t=e.iframeEl,s=null==t?void 0:t.parentElement;if(!t||!s)return;let i=e.autoSize,n=e.width||0,o=e.height||0;n&&o&&(i=!1);const a=s&&s.style;if(!1!==e.preload&&!1!==i&&a)try{const e=window.getComputedStyle(s),i=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight),r=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom),l=t.contentWindow;if(l){const e=l.document,t=e.getElementsByTagName("html")[0],s=e.body;a.width="",s.style.overflow="hidden",n=n||t.scrollWidth+i,a.width=`${n}px`,s.style.overflow="",a.flex="0 0 auto",a.height=`${s.scrollHeight}px`,o=t.scrollHeight+r}}catch(e){}if(n||o){const e={flex:"0 1 auto",width:"",height:""};n&&(e.width=`${n}px`),o&&(e.height=`${o}px`),Object.assign(a,e)}}playVideo(){const e=this.instance.getSlide();if(!e)return;const{el:t}=e;if(!t||!t.offsetParent)return;if(!this.optionFor(e,"videoAutoplay"))return;if("html5video"===e.type)try{const e=t.querySelector("video");if(e){const t=e.play();void 0!==t&&t.then((()=>{})).catch((t=>{e.muted=!0,e.play()}))}}catch(e){}if("youtube"!==e.type&&"vimeo"!==e.type)return;const s=()=>{if(e.iframeEl&&e.iframeEl.contentWindow){let t;if("true"===e.iframeEl.dataset.ready)return t="youtube"===e.type?{event:"command",func:"playVideo"}:{method:"play",value:"true"},t&&e.iframeEl.contentWindow.postMessage(JSON.stringify(t),"*"),void(e.poller=void 0);"youtube"===e.type&&(t={event:"listening",id:e.iframeEl.getAttribute("id")},e.iframeEl.contentWindow.postMessage(JSON.stringify(t),"*"))}e.poller=setTimeout(s,250)};s()}processType(e){if(e.html)return e.type="html",e.src=e.html,void(e.html="");const t=this.instance.optionFor(e,"src","");if(!t||"string"!=typeof t)return;let s=e.type,i=null;if(i=t.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i)){const n=this.optionFor(e,"youtube"),{nocookie:o}=n,a=function(e,t){var s={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(s[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(e);n0?"svembed":"embed"}`,s="map"):(i=t.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i))&&(e.src=`https://maps.google.${i[1]}/maps?q=${i[2].replace("query=","q=").replace("api=1","")}&output=embed`,s="map")),s=s||this.instance.option("defaultType"),e.type=s,"image"===s&&(e.thumbSrc=e.thumbSrc||e.src)}setContent(e){const t=this.instance.optionFor(e,"src")||"";if(e&&e.type&&t){switch(e.type){case"html":this.instance.setContent(e,t);break;case"html5video":const s=this.option("videoTpl");s&&this.instance.setContent(e,s.replace(/\{\{src\}\}/gi,t+"").replace(/\{\{format\}\}/gi,this.optionFor(e,"videoFormat")||"").replace(/\{\{poster\}\}/gi,e.poster||e.thumbSrc||""));break;case"inline":case"clone":this.setInlineContent(e);break;case"ajax":this.loadAjaxContent(e);break;case"pdf":case"map":case"youtube":case"vimeo":e.preload=!1;case"iframe":this.setIframeContent(e)}this.setAspectRatio(e)}}setAspectRatio(e){var t;const s=e.width||0,i=e.height||0;if(s&&i)return;const n=e.contentEl,o=this.optionFor(e,"videoRatio"),a=null===(t=e.el)||void 0===t?void 0:t.getBoundingClientRect();if(!(n&&a&&o&&1!==o&&e.type&&["video","youtube","vimeo","html5video"].includes(e.type)))return;const r=a.width,l=a.height;n.style.aspectRatio=o+"",n.style.width=r/l>o?"auto":"",n.style.height=r/l>o?"":"auto"}attach(){const e=this,t=e.instance;t.on("Carousel.initSlide",e.onInitSlide),t.on("Carousel.createSlide",e.onCreateSlide),t.on("Carousel.removeSlide",e.onRemoveSlide),t.on("Carousel.selectSlide",e.onSelectSlide),t.on("Carousel.unselectSlide",e.onUnselectSlide),t.on("Carousel.Panzoom.refresh",e.onRefresh),t.on("done",e.onDone),window.addEventListener("message",e.onMessage)}detach(){const e=this,t=e.instance;t.off("Carousel.initSlide",e.onInitSlide),t.off("Carousel.createSlide",e.onCreateSlide),t.off("Carousel.removeSlide",e.onRemoveSlide),t.off("Carousel.selectSlide",e.onSelectSlide),t.off("Carousel.unselectSlide",e.onUnselectSlide),t.off("Carousel.Panzoom.refresh",e.onRefresh),t.off("done",e.onDone),window.removeEventListener("message",e.onMessage)}}Object.defineProperty(Va,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{ajax:null,autoSize:!0,iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"},preload:!0,videoAutoplay:!0,videoRatio:16/9,videoTpl:'',videoFormat:"",vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}}});const Ya="play",Wa="pause",$a="ready";class Ua extends _a{constructor(){super(...arguments),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:$a}),Object.defineProperty(this,"inHover",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"timer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"progressBar",{enumerable:!0,configurable:!0,writable:!0,value:null})}get isActive(){return this.state!==$a}onReady(e){this.option("autoStart")&&(e.isInfinite||e.page{e.timer=null,e.inHover||e.onTimerEnd()}),s),e.emit("set")}clear(){const e=this;e.timer&&(clearTimeout(e.timer),e.timer=null),e.removeProgressBar()}start(){const e=this;if(e.set(),e.state!==$a){if(e.option("pauseOnHover")){const t=e.instance.container;t.addEventListener("mouseenter",e.onMouseEnter,!1),t.addEventListener("mouseleave",e.onMouseLeave,!1)}document.addEventListener("visibilitychange",e.onVisibilityChange,!1),e.emit("start")}}stop(){const e=this,t=e.state,s=e.instance.container;e.clear(),e.state=$a,s.removeEventListener("mouseenter",e.onMouseEnter,!1),s.removeEventListener("mouseleave",e.onMouseLeave,!1),document.removeEventListener("visibilitychange",e.onVisibilityChange,!1),oa(s,"has-autoplay"),t!==$a&&e.emit("stop")}pause(){const e=this;e.state===Ya&&(e.state=Wa,e.clear(),e.emit(Wa))}resume(){const e=this,t=e.instance;if(t.isInfinite||t.page!==t.pages.length-1)if(e.state!==Ya){if(e.state===Wa&&!e.inHover){const t=new Event("resume",{bubbles:!0,cancelable:!0});e.emit("resume",t),t.defaultPrevented||e.set()}}else e.set();else e.stop()}toggle(){this.state===Ya||this.state===Wa?this.stop():this.start()}attach(){const e=this,t=e.instance;t.on("ready",e.onReady),t.on("Panzoom.startAnimation",e.onChange),t.on("Panzoom.endAnimation",e.onSettle),t.on("Panzoom.touchMove",e.onChange)}detach(){const e=this,t=e.instance;t.off("ready",e.onReady),t.off("Panzoom.startAnimation",e.onChange),t.off("Panzoom.endAnimation",e.onSettle),t.off("Panzoom.touchMove",e.onChange),e.stop()}}Object.defineProperty(Ua,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{autoStart:!0,pauseOnHover:!0,progressParentEl:null,showProgress:!0,timeout:3e3}});class Qa extends _a{constructor(){super(...arguments),Object.defineProperty(this,"ref",{enumerable:!0,configurable:!0,writable:!0,value:null})}onPrepare(e){const t=e.carousel;if(!t)return;const s=e.container;s&&(t.options.Autoplay=Go({autoStart:!1},this.option("Autoplay")||{},{pauseOnHover:!1,timeout:this.option("timeout"),progressParentEl:()=>this.option("progressParentEl")||null,on:{start:()=>{e.emit("startSlideshow")},set:t=>{var i;s.classList.add("has-slideshow"),(null===(i=e.getSlide())||void 0===i?void 0:i.state)!==Oa.Ready&&t.pause()},stop:()=>{s.classList.remove("has-slideshow"),e.isCompact||e.endIdle(),e.emit("endSlideshow")},resume:(t,s)=>{var i,n,o;!s||!s.cancelable||(null===(i=e.getSlide())||void 0===i?void 0:i.state)===Oa.Ready&&(null===(o=null===(n=e.carousel)||void 0===n?void 0:n.panzoom)||void 0===o?void 0:o.isResting)||s.preventDefault()}}}),t.attachPlugins({Autoplay:Ua}),this.ref=t.plugins.Autoplay)}onReady(e){const t=e.carousel,s=this.ref;t&&s&&this.option("playOnStart")&&(t.isInfinite||t.page{e.isCurrentSlide(t)&&s.stop()})),e.isCurrentSlide(t)&&s.resume()}onKeydown(e,t){var s;const i=this.ref;i&&t===this.option("key")&&"BUTTON"!==(null===(s=document.activeElement)||void 0===s?void 0:s.nodeName)&&i.toggle()}attach(){const e=this,t=e.instance;t.on("Carousel.init",e.onPrepare),t.on("Carousel.ready",e.onReady),t.on("done",e.onDone),t.on("keydown",e.onKeydown)}detach(){const e=this,t=e.instance;t.off("Carousel.init",e.onPrepare),t.off("Carousel.ready",e.onReady),t.off("done",e.onDone),t.off("keydown",e.onKeydown)}}Object.defineProperty(Qa,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{key:" ",playOnStart:!1,progressParentEl:e=>{var t;return(null===(t=e.instance.container)||void 0===t?void 0:t.querySelector(".fancybox__toolbar [data-fancybox-toggle-slideshow]"))||e.instance.container},timeout:3e3}});const Ga={classes:{container:"f-thumbs f-carousel__thumbs",viewport:"f-thumbs__viewport",track:"f-thumbs__track",slide:"f-thumbs__slide",isResting:"is-resting",isSelected:"is-selected",isLoading:"is-loading",hasThumbs:"has-thumbs"},minCount:2,parentEl:null,thumbTpl:'',type:"modern"};var Xa;!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Hidden=2]="Hidden",e[e.Disabled=3]="Disabled"}(Xa||(Xa={}));let Ka=class extends _a{constructor(){super(...arguments),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:"modern"}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"panzoom",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"thumbWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbClipWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbExtraGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"shouldCenter",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Xa.Init})}formatThumb(e,t){return this.instance.localize(t,[["%i",e.index],["%d",e.index+1],["%s",e.thumbSrc||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"]])}getSlides(){const e=[],t=this.option("thumbTpl")||"";if(t)for(const s of this.instance.slides||[]){let i="";s.type&&(i=`for-${s.type}`,s.type&&["video","youtube","vimeo","html5video"].includes(s.type)&&(i+=" for-video")),e.push({html:this.formatThumb(s,t),customClass:i})}return e}onInitSlide(e,t){const s=t.el;s&&(t.thumbSrc=s.dataset.thumbSrc||t.thumbSrc||"",t.thumbClipWidth=parseFloat(s.dataset.thumbClipWidth||"")||t.thumbClipWidth||0,t.thumbHeight=parseFloat(s.dataset.thumbHeight||"")||t.thumbHeight||0)}onInitSlides(){this.state===Xa.Init&&this.build()}onRefreshM(){this.refreshModern()}onChangeM(){"modern"===this.type&&(this.shouldCenter=!0,this.centerModern())}onClickModern(e){e.preventDefault(),e.stopPropagation();const t=this.instance,s=t.page,i=e=>{if(e){const t=e.closest("[data-carousel-index]");if(t)return parseInt(t.dataset.carouselIndex||"",10)||0}return-1},n=(e,t)=>{const s=document.elementFromPoint(e,t);return s?i(s):-1};let o=i(e.target);o<0&&(o=n(e.clientX+this.thumbGap,e.clientY),o===s&&(o=s-1)),o<0&&(o=n(e.clientX-this.thumbGap,e.clientY),o===s&&(o=s+1)),o<0&&(o=(t=>{let i=n(e.clientX-t,e.clientY),a=n(e.clientX+t,e.clientY);return o<0&&i===s&&(o=s+1),o<0&&a===s&&(o=s-1),o})(this.thumbExtraGap)),o===s?this.centerModern():o>-1&&o{this.emit("ready")})),i.on("createSlide",((e,t)=>{this.emit("createSlide",t,t.el)}))}buildModern(){if("modern"!==this.type)return;const{container:e,track:t,instance:s}=this,i=this.option("thumbTpl")||"";if(!e||!t||!i)return;e.addEventListener("keydown",(()=>{oa(e,"is-using-mouse")})),aa(e,"is-horizontal"),this.updateModern();for(const e of s.slides||[]){const s=document.createElement("div");if(aa(s,this.cn("slide")),e.type){let t=`for-${e.type}`;["video","youtube","vimeo","html5video"].includes(e.type)&&(t+=" for-video"),aa(s,t)}s.appendChild(zo(this.formatThumb(e,i))),this.emit("createSlide",e,s),e.thumbSlideEl=s,t.appendChild(s),this.resizeModernSlide(e)}const n=new s.constructor.Panzoom(e,{content:t,lockAxis:"x",zoom:!1,panOnlyZoomed:!1,bounds:()=>{let e=0,t=0,i=s.slides[0],n=s.slides[s.slides.length-1],o=s.slides[s.page];return i&&n&&o&&(t=-1*this.getModernThumbPos(0),0!==s.page&&(t+=.5*(i.thumbWidth||0)),e=-1*this.getModernThumbPos(s.slides.length-1),s.page!==s.slides.length-1&&(e+=(n.thumbWidth||0)-(o.thumbWidth||0)-.5*(n.thumbWidth||0))),{x:{min:e,max:t},y:{min:0,max:0}}}});n.on("touchStart",((e,t)=>{this.shouldCenter=!1,aa(this.container,"is-using-mouse")})),n.on("click",((e,t)=>this.onClickModern(t))),n.on("ready",(()=>{this.centerModern(),this.emit("ready")})),n.on(["afterTransform","refresh"],(e=>{this.lazyLoadModern()})),this.panzoom=n,this.refreshModern()}updateModern(){if("modern"!==this.type)return;const{container:e}=this;e&&(this.thumbGap=parseFloat(getComputedStyle(e).getPropertyValue("--f-thumb-gap"))||0,this.thumbExtraGap=parseFloat(getComputedStyle(e).getPropertyValue("--f-thumb-extra-gap"))||0,this.thumbWidth=parseFloat(getComputedStyle(e).getPropertyValue("--f-thumb-width"))||40,this.thumbClipWidth=parseFloat(getComputedStyle(e).getPropertyValue("--f-thumb-clip-width"))||40,this.thumbHeight=parseFloat(getComputedStyle(e).getPropertyValue("--f-thumb-height"))||40)}refreshModern(){var e;if("modern"===this.type){this.updateModern();for(const e of this.instance.slides||[])this.resizeModernSlide(e);this.onTransformM(),null===(e=this.panzoom)||void 0===e||e.updateMetrics(!0),this.centerModern(0)}}centerModern(e){const t=this.instance,{container:s,panzoom:i}=this;if(!s||!i||i.state===Jo.Init)return;const n=t.page;let o=this.getModernThumbPos(n),a=o;for(let e=t.page-3;et.pages.length-1||e===t.page)continue;const s=1-Math.abs(t.getProgress(e));s>0&&s<1&&(a+=s*(this.getModernThumbPos(e)-o))}let r=100;void 0===e&&(e=.2,t.inTransition.size>0&&(e=.12),Math.abs(-1*i.current.e-a)>i.containerRect.width&&(e=.5,r=0)),i.options.maxVelocity=r,i.applyChange({panX:Fo(-1*a-i.target.e,1e3),friction:null===t.prevPage?0:e})}lazyLoadModern(){const{instance:e,panzoom:t}=this;if(!t)return;const s=-1*t.current.e||0;let i=this.getModernThumbPos(e.page);if(t.state!==Jo.Init||0===i)for(const i of e.slides||[]){const e=i.thumbSlideEl;if(!e)continue;const n=e.querySelector("img[data-lazy-src]"),o=i.index,a=this.getModernThumbPos(o),r=s-.5*t.containerRect.innerWidth,l=r+t.containerRect.innerWidth;if(!n||al)continue;let c=n.dataset.lazySrc;if(!c||!c.length)continue;if(delete n.dataset.lazySrc,n.src=c,n.complete)continue;aa(e,this.cn("isLoading"));const d=zo(ia);e.appendChild(d),n.addEventListener("load",(()=>{e.offsetParent&&(e.classList.remove(this.cn("isLoading")),d.remove())}),!1)}}resizeModernSlide(e){if("modern"!==this.type)return;if(!e.thumbSlideEl)return;const t=e.thumbClipWidth&&e.thumbHeight?Math.round(this.thumbHeight*(e.thumbClipWidth/e.thumbHeight)):this.thumbWidth;e.thumbWidth=t}getModernThumbPos(e){const t=this.instance.slides[e],s=this.panzoom;if(!s||!s.contentRect.fitWidth)return 0;let i=s.containerRect.innerWidth,n=s.contentRect.width;2===this.instance.slides.length&&(e-=1,n=2*this.thumbClipWidth);let o=e*(this.thumbClipWidth+this.thumbGap)+this.thumbExtraGap+.5*(t.thumbWidth||0);return o-=n>i?.5*i:.5*n,Fo(o||0,1)}build(){const e=this.instance,t=e.container,s=this.option("minCount")||0;if(s){let t=0;for(const s of e.slides||[])s.thumbSrc&&t++;if(t{const s=e.container;s&&this.hidden&&(t.refresh(),s.style.transition="none",t.hide(),s.offsetHeight,queueMicrotask((()=>{s.style.transition="",t.show()})))}}});o.Carousel=o.Carousel||{},o.Carousel.on=Go((null===(e=t.options.Carousel)||void 0===e?void 0:e.on)||{},{click:(e,t)=>{t.stopPropagation()}}),i.options.Thumbs=o,i.attachPlugins({Thumbs:Ka}),t.ref=i.plugins.Thumbs,t.option("showOnStart")||(t.ref.state=Xa.Hidden,t.hidden=!0)}onResize(){var e;const t=null===(e=this.ref)||void 0===e?void 0:e.container;t&&(t.style.maxHeight="")}onKeydown(e,t){const s=this.option("key");s&&s===t&&this.toggle()}toggle(){const e=this.ref;e&&e.state!==Xa.Disabled&&(e.state!==Xa.Hidden?this.hidden?this.show():this.hide():e.build())}show(){const e=this.ref,t=e&&e.state!==Xa.Disabled&&e.container;t&&(this.refresh(),t.offsetHeight,t.removeAttribute(er),t.classList.remove(Ja),this.hidden=!1)}hide(){const e=this.ref,t=e&&e.container;t&&(this.refresh(),t.offsetHeight,t.classList.add(Ja),t.setAttribute(er,"true")),this.hidden=!0}refresh(){const e=this.ref;if(!e||e.state===Xa.Disabled)return;const t=e.container,s=(null==t?void 0:t.firstChild)||null;t&&s&&s.childNodes.length&&(t.style.maxHeight=`${s.getBoundingClientRect().height}px`)}attach(){const e=this,t=e.instance;t.state===Ia.Init?t.on("Carousel.init",e.onInit):e.onInit(),t.on("resize",e.onResize),t.on("keydown",e.onKeydown)}detach(){var e;const t=this,s=t.instance;s.off("Carousel.init",t.onInit),s.off("resize",t.onResize),s.off("keydown",t.onKeydown),null===(e=s.carousel)||void 0===e||e.detachPlugins(["Thumbs"]),t.ref=null}}Object.defineProperty(tr,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:Za});const sr={panLeft:{icon:'',change:{panX:-100}},panRight:{icon:'',change:{panX:100}},panUp:{icon:'',change:{panY:-100}},panDown:{icon:'',change:{panY:100}},zoomIn:{icon:'',action:"zoomIn"},zoomOut:{icon:'',action:"zoomOut"},toggle1to1:{icon:'',action:"toggleZoom"},toggleZoom:{icon:'',action:"toggleZoom"},iterateZoom:{icon:'',action:"iterateZoom"},rotateCCW:{icon:'',action:"rotateCCW"},rotateCW:{icon:'',action:"rotateCW"},flipX:{icon:'',action:"flipX"},flipY:{icon:'',action:"flipY"},fitX:{icon:'',action:"fitX"},fitY:{icon:'',action:"fitY"},reset:{icon:'',action:"reset"},toggleFS:{icon:'',action:"toggleFS"}};var ir;!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Disabled=2]="Disabled"}(ir||(ir={}));const nr={tabindex:"-1",width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};class or extends _a{constructor(){super(...arguments),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:ir.Init}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null})}onReady(e){var t;if(!e.carousel)return;let s=this.option("display"),i=this.option("absolute"),n=this.option("enabled");if("auto"===n){const e=this.instance.carousel;let t=0;if(e)for(const s of e.slides)(s.panzoom||"image"===s.type)&&t++;t||(n=!1)}n||(s=void 0);let o=0;const a={left:[],middle:[],right:[]};if(s)for(const e of["left","middle","right"])for(const i of s[e]){const s=this.createEl(i);s&&(null===(t=a[e])||void 0===t||t.push(s),o++)}let r=null;if(o&&(r=this.createContainer()),r){for(const[e,t]of Object.entries(a)){const s=document.createElement("div");aa(s,"fancybox__toolbar__column is-"+e);for(const e of t)s.appendChild(e);"auto"!==i||"middle"!==e||t.length||(i=!0),r.appendChild(s)}!0===i&&aa(r,"is-absolute"),this.state=ir.Ready,this.onRefresh()}else this.state=ir.Disabled}onClick(e){var t,s;const i=this.instance,n=i.getSlide(),o=null==n?void 0:n.panzoom,a=e.target,r=a&&na(a)?a.dataset:null;if(!r)return;if(void 0!==r.fancyboxToggleThumbs)return e.preventDefault(),e.stopPropagation(),void(null===(t=i.plugins.Thumbs)||void 0===t||t.toggle());if(void 0!==r.fancyboxToggleFullscreen)return e.preventDefault(),e.stopPropagation(),void this.instance.toggleFullscreen();if(void 0!==r.fancyboxToggleSlideshow){e.preventDefault(),e.stopPropagation();const t=null===(s=i.carousel)||void 0===s?void 0:s.plugins.Autoplay;let n=t.isActive;return o&&"mousemove"===o.panMode&&!n&&o.reset(),void(n?t.stop():t.start())}const l=r.panzoomAction,c=r.panzoomChange;if((c||l)&&(e.preventDefault(),e.stopPropagation()),c){let t={};try{t=JSON.parse(c)}catch(e){}o&&o.applyChange(t)}else l&&o&&o[l]&&o[l]()}onChange(){this.onRefresh()}onRefresh(){if(this.instance.isClosing())return;const e=this.container;if(!e)return;const t=this.instance.getSlide();if(!t||t.state!==Oa.Ready)return;const s=t&&!t.error&&t.panzoom;for(const t of e.querySelectorAll("[data-panzoom-action]"))s?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));let i=s&&s.canZoomIn(),n=s&&s.canZoomOut();for(const t of e.querySelectorAll('[data-panzoom-action="zoomIn"]'))i?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));for(const t of e.querySelectorAll('[data-panzoom-action="zoomOut"]'))n?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));for(const t of e.querySelectorAll('[data-panzoom-action="toggleZoom"],[data-panzoom-action="iterateZoom"]')){n||i?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));const e=t.querySelector("g");e&&(e.style.display=i?"":"none")}}onDone(e,t){var s;null===(s=t.panzoom)||void 0===s||s.on("afterTransform",(()=>{this.instance.isCurrentSlide(t)&&this.onRefresh()})),this.instance.isCurrentSlide(t)&&this.onRefresh()}createContainer(){const e=this.instance.container;if(!e)return null;const t=this.option("parentEl")||e,s=document.createElement("div");return aa(s,"fancybox__toolbar"),t.prepend(s),s.addEventListener("click",this.onClick,{passive:!1,capture:!0}),e&&aa(e,"has-toolbar"),this.container=s,s}createEl(e){const t=this.instance,s=t.carousel;if(!s)return null;if("toggleFS"===e)return null;if("fullscreen"===e&&!t.fsAPI)return null;let i=null;const n=s.slides.length||0;let o=0,a=0;for(const e of s.slides)(e.panzoom||"image"===e.type)&&o++,("image"===e.type||e.downloadSrc)&&a++;if(n<2&&["infobar","prev","next"].includes(e))return i;if(void 0!==sr[e]&&!o)return null;if("download"===e&&!a)return null;if("thumbs"===e){const e=t.plugins.Thumbs;if(!e||!e.isEnabled)return null}if("slideshow"===e&&(!s.plugins.Autoplay||n<2))return null;if(void 0!==sr[e]){const t=sr[e];i=document.createElement("button"),i.setAttribute("title",this.instance.localize(`{{${e.toUpperCase()}}}`)),aa(i,"f-button"),t.action&&(i.dataset.panzoomAction=t.action),t.change&&(i.dataset.panzoomChange=JSON.stringify(t.change)),i.appendChild(zo(this.instance.localize(t.icon)))}else{const t=(this.option("items")||[])[e];t&&(i=zo(this.instance.localize(t.tpl)),"function"==typeof t.click&&i.addEventListener("click",(e=>{e.preventDefault(),e.stopPropagation(),"function"==typeof t.click&&t.click.call(this,this,e)})))}const r=null==i?void 0:i.querySelector("svg");if(r)for(const[e,t]of Object.entries(nr))r.getAttribute(e)||r.setAttribute(e,String(t));return i}removeContainer(){const e=this.container;e&&e.remove(),this.container=null,this.state=ir.Disabled;const t=this.instance.container;t&&oa(t,"has-toolbar")}attach(){const e=this,t=e.instance;t.on("Carousel.initSlides",e.onReady),t.on("done",e.onDone),t.on("reveal",e.onChange),t.on("Carousel.change",e.onChange),e.onReady(e.instance)}detach(){const e=this,t=e.instance;t.off("Carousel.initSlides",e.onReady),t.off("done",e.onDone),t.off("reveal",e.onChange),t.off("Carousel.change",e.onChange),e.removeContainer()}}Object.defineProperty(or,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{absolute:"auto",display:{left:["infobar"],middle:[],right:["iterateZoom","slideshow","fullscreen","thumbs","close"]},enabled:"auto",items:{infobar:{tpl:'
/
'},download:{tpl:''},prev:{tpl:''},next:{tpl:''},slideshow:{tpl:''},fullscreen:{tpl:''},thumbs:{tpl:''},close:{tpl:''}},parentEl:null}});const ar={Hash:Da,Html:Va,Images:za,Slideshow:Qa,Thumbs:tr,Toolbar:or},rr="with-fancybox",lr="hide-scrollbar",cr="--fancybox-scrollbar-compensate",dr="--fancybox-body-margin",ur="is-animated",hr="is-compact",fr="is-loading",pr=function(){var e=window.getSelection();return e&&"Range"===e.type};let mr=null,gr=null;const vr=new Map;let yr=0;class br extends Zo{get isIdle(){return this.idle}get isCompact(){return this.option("compact")}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};super(t),Object.defineProperty(this,"userSlides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"idle",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"idleTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"ignoreFocusChange",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Ia.Init}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"footer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"lastFocus",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"prevMouseMoveEvent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fsAPI",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.fsAPI=(()=>{let e,t="",s="",i="";return document.fullscreenEnabled?(t="requestFullscreen",s="exitFullscreen",i="fullscreenElement"):document.webkitFullscreenEnabled&&(t="webkitRequestFullscreen",s="webkitExitFullscreen",i="webkitFullscreenElement"),t&&(e={request:function(e){return"webkitRequestFullscreen"===t?e[t](Element.ALLOW_KEYBOARD_INPUT):e[t]()},exit:function(){return document[i]&&document[s]()},isFullscreen:function(){return document[i]}}),e})(),this.id=t.id||++yr,vr.set(this.id,this),this.userSlides=e,this.userPlugins=s,queueMicrotask((()=>{this.init()}))}init(){if(this.state===Ia.Destroy)return;this.state=Ia.Init,this.attachPlugins(Object.assign(Object.assign({},br.Plugins),this.userPlugins)),this.emit("init"),!0===this.option("hideScrollbar")&&(()=>{if(!Aa)return;const e=document.body;if(e.classList.contains(lr))return;let t=window.innerWidth-document.documentElement.getBoundingClientRect().width;t<0&&(t=0);const s=e.currentStyle||window.getComputedStyle(e),i=parseFloat(s.marginRight);document.documentElement.style.setProperty(cr,`${t}px`),i&&e.style.setProperty(dr,`${i}px`),e.classList.add(lr)})(),this.initLayout(),this.scale();const e=()=>{this.initCarousel(this.userSlides),this.state=Ia.Ready,this.attachEvents(),this.emit("ready"),setTimeout((()=>{this.container&&this.container.setAttribute("aria-hidden","false")}),16)},t=this.fsAPI;this.option("Fullscreen.autoStart")&&t&&!t.isFullscreen()?t.request(this.container).then((()=>e())).catch((()=>e())):e()}initLayout(){var e,t;const s=this.option("parentEl")||document.body,i=zo(this.localize(this.option("tpl.main")||""));i&&(i.setAttribute("id",`fancybox-${this.id}`),i.setAttribute("aria-label",this.localize("{{MODAL}}")),i.classList.toggle(hr,this.isCompact),aa(i,this.option("mainClass")||""),this.container=i,this.footer=i.querySelector(".fancybox__footer"),s.appendChild(i),aa(document.documentElement,rr),mr&&gr||(mr=document.createElement("span"),aa(mr,"fancybox-focus-guard"),mr.setAttribute("tabindex","0"),mr.setAttribute("aria-hidden","true"),mr.setAttribute("aria-label","Focus guard"),gr=mr.cloneNode(),null===(e=i.parentElement)||void 0===e||e.insertBefore(mr,i),null===(t=i.parentElement)||void 0===t||t.append(gr)),this.option("animated")&&(aa(i,ur),setTimeout((()=>{this.isClosing()||oa(i,ur)}),350)),this.emit("initLayout"))}initCarousel(e){var t=this;const s=this.container;if(!s)return;const i=s.querySelector(".fancybox__carousel");if(!i)return;const n=this.carousel=new Ta(i,Go({},{slides:e,transition:"fade",Panzoom:{lockAxis:this.option("dragToClose")?"xy":"x",infinite:!!this.option("dragToClose")&&"y"},Dots:!1,Navigation:{classes:{container:"fancybox__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"}},initialPage:this.option("startIndex"),l10n:this.option("l10n")},this.option("Carousel")||{}));n.on("*",(function(e,s){for(var i=arguments.length,n=new Array(i>2?i-2:0),o=2;o{var e;const t=this.getSlide();t&&(null===(e=t.panzoom)||void 0===e||e.updateControls()),this.manageCaption(t)})),this.on("Carousel.removeSlide",((e,t,s)=>{s.contentEl&&(s.contentEl.remove(),s.contentEl=void 0);const i=s.el;i&&(oa(i,"has-error"),oa(i,"has-unknown"),oa(i,`has-${s.type||"unknown"}`)),s.closeBtnEl&&s.closeBtnEl.remove(),s.closeBtnEl=void 0,s.captionEl&&s.captionEl.remove(),s.captionEl=void 0,s.spinnerEl&&s.spinnerEl.remove(),s.spinnerEl=void 0,s.state=void 0})),n.on("Panzoom.touchStart",(()=>{var e,t;this.isCompact||this.endIdle(),(null===(e=document.activeElement)||void 0===e?void 0:e.closest(".f-thumbs"))&&(null===(t=this.container)||void 0===t||t.focus())})),n.on("settle",(()=>{this.idleTimer||this.isCompact||!this.option("idle")||this.setIdle(),this.option("autoFocus")&&!this.isClosing&&this.checkFocus()})),this.option("dragToClose")&&(n.on("Panzoom.afterTransform",((e,t)=>{const s=this.getSlide();if(s&&Do(s.el))return;const i=this.container;if(i){const e=Math.abs(t.current.f),s=e<1?"":Math.max(.5,Math.min(1,1-e/t.contentRect.fitHeight*1.5));i.style.setProperty("--fancybox-ts",s?"0s":""),i.style.setProperty("--fancybox-opacity",s+"")}})),n.on("Panzoom.touchEnd",((e,t,s)=>{var i;const n=this.getSlide();if(n&&Do(n.el))return;if(t.isMobile&&document.activeElement&&-1!==["TEXTAREA","INPUT"].indexOf(null===(i=document.activeElement)||void 0===i?void 0:i.nodeName))return;const o=Math.abs(t.dragOffset.y);"y"===t.lockedAxis&&(o>=200||o>=50&&t.dragOffset.time<300)&&(s&&s.cancelable&&s.preventDefault(),this.close(s,"f-throwOut"+(t.current.f<0?"Up":"Down")))}))),n.on("change",(e=>{var t;let s=null===(t=this.getSlide())||void 0===t?void 0:t.triggerEl;if(s){const t=new CustomEvent("slideTo",{bubbles:!0,cancelable:!0,detail:e.page});s.dispatchEvent(t)}})),n.on(["refresh","change"],(e=>{const t=this.container;if(!t)return;for(const s of t.querySelectorAll("[data-fancybox-current-index]"))s.innerHTML=e.page+1;for(const s of t.querySelectorAll("[data-fancybox-count]"))s.innerHTML=e.pages.length;if(!e.isInfinite){for(const s of t.querySelectorAll("[data-fancybox-next]"))e.page0?(s.removeAttribute("disabled"),s.removeAttribute("tabindex")):(s.setAttribute("disabled",""),s.setAttribute("tabindex","-1"))}const s=this.getSlide();if(!s)return;let i=s.downloadSrc||"";i||"image"!==s.type||s.error||"string"!=typeof s.src||(i=s.src);const n="disabled",o="tabindex",a="download",r="href";for(const e of t.querySelectorAll("[data-fancybox-download]")){const t=s.downloadFilename;i?(e.removeAttribute(n),e.removeAttribute(o),e.setAttribute(r,i),e.setAttribute(a,t||i),e.setAttribute("target","_blank")):(e.setAttribute(n,""),e.setAttribute(o,"-1"),e.removeAttribute(r),e.removeAttribute(a))}})),this.emit("initCarousel")}attachEvents(){const e=this,t=e.container;if(!t)return;t.addEventListener("click",e.onClick,{passive:!1,capture:!1}),t.addEventListener("wheel",e.onWheel,{passive:!1,capture:!1}),document.addEventListener("keydown",e.onKeydown,{passive:!1,capture:!0}),document.addEventListener("visibilitychange",e.onVisibilityChange,!1),document.addEventListener("mousemove",e.onMousemove),e.option("trapFocus")&&document.addEventListener("focus",e.onFocus,!0),window.addEventListener("resize",e.onResize);const s=window.visualViewport;s&&(s.addEventListener("scroll",e.onResize),s.addEventListener("resize",e.onResize))}detachEvents(){const e=this,t=e.container;if(!t)return;document.removeEventListener("keydown",e.onKeydown,{passive:!1,capture:!0}),t.removeEventListener("wheel",e.onWheel,{passive:!1,capture:!1}),t.removeEventListener("click",e.onClick,{passive:!1,capture:!1}),document.removeEventListener("mousemove",e.onMousemove),window.removeEventListener("resize",e.onResize);const s=window.visualViewport;s&&(s.removeEventListener("resize",e.onResize),s.removeEventListener("scroll",e.onResize)),document.removeEventListener("visibilitychange",e.onVisibilityChange,!1),document.removeEventListener("focus",e.onFocus,!0)}scale(){const e=this.container;if(!e)return;const t=window.visualViewport,s=Math.max(1,(null==t?void 0:t.scale)||1);let i="",n="",o="";if(t&&s>1){let e=`${t.offsetLeft}px`,a=`${t.offsetTop}px`;i=t.width*s+"px",n=t.height*s+"px",o=`translate3d(${e}, ${a}, 0) scale(${1/s})`}e.style.transform=o,e.style.width=i,e.style.height=n}onClick(e){var t,s;const{container:i,isCompact:n}=this;if(!i||this.isClosing())return;!n&&this.option("idle")&&this.resetIdle();const o=document.activeElement;if(pr()&&o&&i.contains(o))return;const a=e.composedPath()[0];if(a===(null===(t=this.carousel)||void 0===t?void 0:t.container))return;if(a.closest(".f-spinner")||a.closest("[data-fancybox-close]"))return e.preventDefault(),void this.close(e);if(a.closest("[data-fancybox-prev]"))return e.preventDefault(),void this.prev();if(a.closest("[data-fancybox-next]"))return e.preventDefault(),void this.next();if(n&&"image"===(null===(s=this.getSlide())||void 0===s?void 0:s.type))return void(this.clickTimer?(clearTimeout(this.clickTimer),this.clickTimer=null):this.clickTimer=setTimeout((()=>{this.toggleIdle(),this.clickTimer=null}),350));if(this.emit("click",e),e.defaultPrevented)return;let r=!1;if(a.closest(".fancybox__content")){if(o){if(o.closest("[contenteditable]"))return;a.matches(La)||o.blur()}if(pr())return;r=this.option("contentClick")}else a.closest(".fancybox__carousel")&&!a.matches(La)&&(r=this.option("backdropClick"));"close"===r?(e.preventDefault(),this.close(e)):"next"===r?(e.preventDefault(),this.next()):"prev"===r&&(e.preventDefault(),this.prev())}onWheel(e){var t;let s=this.option("wheel",e);(null===(t=e.target)||void 0===t?void 0:t.closest(".fancybox__thumbs"))&&(s="slide");const i="slide"===s,n=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce((function(e,t){return Math.abs(t)>Math.abs(e)?t:e})),o=Math.max(-1,Math.min(1,n)),a=Date.now();this.pwt&&a-this.pwt<300?i&&e.preventDefault():(this.pwt=a,this.emit("wheel",e),e.defaultPrevented||("close"===s?(e.preventDefault(),this.close(e)):"slide"===s&&(e.preventDefault(),this[o>0?"prev":"next"]())))}onKeydown(e){if(!this.isTopmost())return;this.isCompact||!this.option("idle")||this.isClosing()||this.resetIdle();const t=e.key,s=this.option("keyboard");if(!s||e.ctrlKey||e.altKey||e.shiftKey)return;const i=e.composedPath()[0],n=document.activeElement&&document.activeElement.classList,o=n&&n.contains("f-button")||i.dataset.carouselPage||i.dataset.carouselIndex;if("Escape"!==t&&!o&&na(i)&&(i.isContentEditable||-1!==["TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].indexOf(i.nodeName)))return;this.emit("keydown",t,e);const a=s[t];"function"==typeof this[a]&&(e.preventDefault(),this[a]())}onResize(){const e=hr,t=this.container;if(!t)return;const s=this.isCompact;t.classList.toggle(e,s),this.manageCaption(this.getSlide()),this.isCompact?this.clearIdle():this.endIdle(),this.scale(),this.emit("resize")}onFocus(e){this.isTopmost()&&this.checkFocus(e)}onMousemove(e){this.prevMouseMoveEvent=e,!this.isCompact&&this.option("idle")&&this.resetIdle()}onVisibilityChange(){"visible"===document.visibilityState?this.checkFocus():this.endIdle()}manageCloseBtn(e){const t=this.optionFor(e,"closeButton")||!1;if("auto"===t){const e=this.plugins.Toolbar;if(e&&e.state===ir.Ready)return}if(!t)return;if(!e.contentEl||e.closeBtnEl)return;const s=this.option("tpl.closeButton");if(s){const t=zo(this.localize(s));e.closeBtnEl=e.contentEl.appendChild(t),e.el&&aa(e.el,"has-close-btn")}}manageCaption(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;var t,s;const i="fancybox__caption",n="has-caption",o=this.container;if(!o)return;const a=this.isCompact||this.option("commonCaption"),r=!a;if(this.caption&&this.stop(this.caption),r&&this.caption&&(this.caption.remove(),this.caption=null),a&&!this.caption)for(const e of(null===(t=this.carousel)||void 0===t?void 0:t.slides)||[])e.captionEl&&(e.captionEl.remove(),e.captionEl=void 0,oa(e.el,n),null===(s=e.el)||void 0===s||s.removeAttribute("aria-labelledby"));if(e||(e=this.getSlide()),!e||a&&!this.isCurrentSlide(e))return;const l=e.el;let c=this.optionFor(e,"caption","");if(!c)return void(a&&this.caption&&this.animate(this.caption,"f-fadeOut",(()=>{this.caption&&(this.caption.innerHTML="")})));let d=null;if(r){if(d=e.captionEl||null,l&&!d){const t=i+`_${this.id}_${e.index}`;d=document.createElement("div"),aa(d,i),d.setAttribute("id",t),e.captionEl=l.appendChild(d),aa(l,n),l.setAttribute("aria-labelledby",t)}}else d=this.caption,d||(d=o.querySelector("."+i)),d||(d=document.createElement("div"),d.dataset.fancyboxCaption="",aa(d,i),(this.footer||o).prepend(d)),aa(o,n),this.caption=d;d&&(d.innerHTML="","string"==typeof c?d.innerHTML=c:c instanceof HTMLElement&&d.appendChild(c))}checkFocus(e){var t;const s=document.activeElement||null;s&&(null===(t=this.container)||void 0===t?void 0:t.contains(s))||this.focus(e)}focus(e){var t;if(this.ignoreFocusChange)return;const s=document.activeElement||null,i=(null==e?void 0:e.target)||null,n=this.container,o=this.getSlide();if(!n||!(null===(t=this.carousel)||void 0===t?void 0:t.viewport))return;if(!e&&s&&n.contains(s))return;const a=o&&o.state===Oa.Ready?o.el:null;if(!a||a.contains(s)||n===s)return;e&&e.cancelable&&e.preventDefault(),this.ignoreFocusChange=!0;const r=Array.from(n.querySelectorAll(La));let l=[],c=null;for(let e of r){const t=!e.offsetParent||e.closest('[aria-hidden="true"]'),s=a&&a.contains(e),i=!this.carousel.viewport.contains(e);if(e===n||(s||i)&&!t){l.push(e);const t=e.dataset.origTabindex;void 0!==t&&t&&(e.tabIndex=parseFloat(t)),e.removeAttribute("data-orig-tabindex"),!e.hasAttribute("autoFocus")&&c||(c=e)}else{const t=void 0===e.dataset.origTabindex?e.getAttribute("tabindex")||"":e.dataset.origTabindex;t&&(e.dataset.origTabindex=t),e.tabIndex=-1}}let d=null;e?(!i||l.indexOf(i)<0)&&(d=c||n,l.length&&(s===gr?d=l[0]:this.lastFocus!==n&&s!==mr||(d=l[l.length-1]))):d=o&&"image"===o.type?n:c||n,d&&Ma(d),this.lastFocus=document.activeElement,this.ignoreFocusChange=!1}next(){const e=this.carousel;e&&e.pages.length>1&&e.slideNext()}prev(){const e=this.carousel;e&&e.pages.length>1&&e.slidePrev()}jumpTo(){this.carousel&&this.carousel.slideTo(...arguments)}isTopmost(){var e;return(null===(e=br.getInstance())||void 0===e?void 0:e.id)==this.id}animate(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2?arguments[2]:void 0;if(!e||!t)return void(s&&s());this.stop(e);const i=n=>{n.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",i),delete e.dataset.animationName,s&&s(),oa(e,t))};e.dataset.animationName=t,e.addEventListener("animationend",i),aa(e,t)}stop(e){e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}))}setContent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(this.isClosing())return;const i=e.el;if(!i)return;let n=null;if(na(t)?n=t:(n=zo(t+""),na(n)||(n=document.createElement("div"),n.innerHTML=t+"")),["img","picture","iframe","video","audio"].includes(n.nodeName.toLowerCase())){const e=document.createElement("div");e.appendChild(n),n=e}na(n)&&e.filter&&!e.error&&(n=n.querySelector(e.filter)),n&&na(n)?(aa(n,"fancybox__content"),e.id&&n.setAttribute("id",e.id),"none"!==n.style.display&&"none"!==getComputedStyle(n).getPropertyValue("display")||(n.style.display=e.display||this.option("defaultDisplay")||"flex"),i.classList.add(`has-${e.error?"error":e.type||"unknown"}`),i.prepend(n),e.contentEl=n,s&&this.revealContent(e),this.manageCloseBtn(e),this.manageCaption(e)):this.setError(e,"{{ELEMENT_NOT_FOUND}}")}revealContent(e,t){const s=e.el,i=e.contentEl;s&&i&&(this.emit("reveal",e),this.hideLoading(e),e.state=Oa.Opening,(t=this.isOpeningSlide(e)?void 0===t?this.optionFor(e,"showClass"):t:"f-fadeIn")?this.animate(i,t,(()=>{this.done(e)})):this.done(e))}done(e){this.isClosing()||(e.state=Oa.Ready,this.emit("done",e),aa(e.el,"is-done"),this.isCurrentSlide(e)&&this.option("autoFocus")&&queueMicrotask((()=>{this.option("autoFocus")&&(this.option("autoFocus")?this.focus():this.checkFocus())})),this.isOpeningSlide(e)&&!this.isCompact&&this.option("idle")&&this.setIdle())}isCurrentSlide(e){const t=this.getSlide();return!(!e||!t)&&t.index===e.index}isOpeningSlide(e){var t,s;return null===(null===(t=this.carousel)||void 0===t?void 0:t.prevPage)&&e.index===(null===(s=this.getSlide())||void 0===s?void 0:s.index)}showLoading(e){e.state=Oa.Loading;const t=e.el;t&&(aa(t,fr),this.emit("loading",e),e.spinnerEl||setTimeout((()=>{if(!this.isClosing()&&!e.spinnerEl&&e.state===Oa.Loading){let s=zo(ia);e.spinnerEl=s,t.prepend(s),this.animate(s,"f-fadeIn")}}),250))}hideLoading(e){const t=e.el;if(!t)return;const s=e.spinnerEl;this.isClosing()?null==s||s.remove():(oa(t,fr),s&&this.animate(s,"f-fadeOut",(()=>{s.remove()})),e.state===Oa.Loading&&(this.emit("loaded",e),e.state=Oa.Ready))}setError(e,t){if(this.isClosing())return;const s=new Event("error",{bubbles:!0,cancelable:!0});if(this.emit("error",s,e),s.defaultPrevented)return;e.error=t,this.hideLoading(e),this.clearContent(e);const i=document.createElement("div");i.classList.add("fancybox-error"),i.innerHTML=this.localize(t||"

{{ERROR}}

"),this.setContent(e,i)}clearContent(e){var t;null===(t=this.carousel)||void 0===t||t.emit("removeSlide",e)}getSlide(){var e;const t=this.carousel;return(null===(e=null==t?void 0:t.pages[null==t?void 0:t.page])||void 0===e?void 0:e.slides[0])||void 0}close(e,t){if(this.isClosing())return;const s=new Event("shouldClose",{bubbles:!0,cancelable:!0});if(this.emit("shouldClose",s,e),s.defaultPrevented)return;e&&e.cancelable&&(e.preventDefault(),e.stopPropagation());const i=this.fsAPI,n=()=>{this.proceedClose(e,t)};i&&i.isFullscreen()?Promise.resolve(i.exit()).then((()=>n())):n()}clearIdle(){this.idleTimer&&clearTimeout(this.idleTimer),this.idleTimer=null}setIdle(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=()=>{this.clearIdle(),this.idle=!0,aa(this.container,"is-idle"),this.emit("setIdle")};if(this.clearIdle(),!this.isClosing())if(e)t();else{const e=this.option("idle");e&&(this.idleTimer=setTimeout(t,e))}}endIdle(){this.clearIdle(),this.idle&&!this.isClosing()&&(this.idle=!1,oa(this.container,"is-idle"),this.emit("endIdle"))}resetIdle(){this.endIdle(),this.setIdle()}toggleIdle(){this.idle?this.endIdle():this.setIdle(!0)}toggleFullscreen(){const e=this.fsAPI;e&&(e.isFullscreen()?e.exit():this.container&&e.request(this.container))}isClosing(){return[Ia.Closing,Ia.CustomClosing,Ia.Destroy].includes(this.state)}proceedClose(e,t){var s,i;this.state=Ia.Closing,this.clearIdle(),this.detachEvents();const n=this.container,o=this.carousel,a=this.getSlide(),r=a&&this.option("placeFocusBack")?a.triggerEl||this.option("triggerEl"):null;if(r&&(qa(r)?Ma(r):r.focus()),n&&(aa(n,"is-closing"),n.setAttribute("aria-hidden","true"),this.option("animated")&&aa(n,ur),n.style.pointerEvents="none"),o){o.clearTransitions(),null===(s=o.panzoom)||void 0===s||s.destroy(),null===(i=o.plugins.Navigation)||void 0===i||i.detach();for(const e of o.slides){e.state=Oa.Closing,this.hideLoading(e);const t=e.contentEl;t&&this.stop(t);const s=null==e?void 0:e.panzoom;s&&(s.stop(),s.detachEvents(),s.detachObserver()),this.isCurrentSlide(e)||o.emit("removeSlide",e)}}this.emit("close",e),this.state!==Ia.CustomClosing?(void 0===t&&a&&(t=this.optionFor(a,"hideClass")),t&&a?(this.animate(a.contentEl,t,(()=>{o&&o.emit("removeSlide",a)})),setTimeout((()=>{this.destroy()}),500)):this.destroy()):setTimeout((()=>{this.destroy()}),500)}destroy(){var e;if(this.state===Ia.Destroy)return;this.state=Ia.Destroy,null===(e=this.carousel)||void 0===e||e.destroy();const t=this.container;t&&t.remove(),vr.delete(this.id);const s=br.getInstance();s?s.focus():(mr&&(mr.remove(),mr=null),gr&&(gr.remove(),gr=null),oa(document.documentElement,rr),(()=>{if(!Aa)return;const e=document,t=e.body;t.classList.remove(lr),t.style.setProperty(dr,""),e.documentElement.style.setProperty(cr,"")})(),this.emit("destroy"))}static bind(e,t,s){if(!Aa)return;let i,n="",o={};if(void 0===e?i=document.body:"string"==typeof e?(i=document.body,n=e,"object"==typeof t&&(o=t||{})):(i=e,"string"==typeof t&&(n=t),"object"==typeof s&&(o=s||{})),!i||!na(i))return;n=n||"[data-fancybox]";const a=br.openers.get(i)||new Map;a.set(n,o),br.openers.set(i,a),1===a.size&&i.addEventListener("click",br.fromEvent)}static unbind(e,t){let s,i="";if("string"==typeof e?(s=document.body,i=e):(s=e,"string"==typeof t&&(i=t)),!s)return;const n=br.openers.get(s);n&&i&&n.delete(i),i&&n||(br.openers.delete(s),s.removeEventListener("click",br.fromEvent))}static destroy(){let e;for(;e=br.getInstance();)e.destroy();for(const e of br.openers.keys())e.removeEventListener("click",br.fromEvent);br.openers=new Map}static fromEvent(e){if(e.defaultPrevented)return;if(e.button&&0!==e.button)return;if(e.ctrlKey||e.metaKey||e.shiftKey)return;let t=e.composedPath()[0];const s=t.closest("[data-fancybox-trigger]");if(s){const e=s.dataset.fancyboxTrigger||"",i=document.querySelectorAll(`[data-fancybox="${e}"]`),n=parseInt(s.dataset.fancyboxIndex||"",10)||0;t=i[n]||t}if(!(t&&t instanceof Element))return;let i,n,o,a;if([...br.openers].reverse().find((e=>{let[s,r]=e;return!(!s.contains(t)||![...r].reverse().find((e=>{let[r,l]=e,c=t.closest(r);return!!c&&(i=s,n=r,o=c,a=l,!0)})))})),!i||!n||!o)return;a=a||{},e.preventDefault(),t=o;let r=[],l=Go({},Na,a);l.event=e,l.triggerEl=t,l.delegate=s;const c=l.groupAll,d=l.groupAttr,u=d&&t?t.getAttribute(`${d}`):"";if((!t||u||c)&&(r=[].slice.call(i.querySelectorAll(n))),t&&!c&&(r=u?r.filter((e=>e.getAttribute(`${d}`)===u)):[t]),!r.length)return;const h=br.getInstance();return h&&h.options.triggerEl&&r.indexOf(h.options.triggerEl)>-1?void 0:(t&&(l.startIndex=r.indexOf(t)),br.fromNodes(r,l))}static fromSelector(e,t){let s=null,i="";if("string"==typeof e?(s=document.body,i=e):e instanceof HTMLElement&&"string"==typeof t&&(s=e,i=t),!s||!i)return!1;const n=br.openers.get(s);if(!n)return!1;const o=n.get(i);return!!o&&br.fromNodes(Array.from(s.querySelectorAll(i)),o)}static fromNodes(e,t){t=Go({},Na,t||{});const s=[];for(const i of e){const e=i.dataset||{},n=e.src||i.getAttribute("href")||i.getAttribute("currentSrc")||i.getAttribute("src")||void 0;let o;const a=t.delegate;let r;a&&s.length===t.startIndex&&(o=a instanceof HTMLImageElement?a:a.querySelector("img:not([aria-hidden])")),o||(o=i instanceof HTMLImageElement?i:i.querySelector("img:not([aria-hidden])")),o&&(r=o.currentSrc||o.src||void 0,!r&&o.dataset&&(r=o.dataset.lazySrc||o.dataset.src||void 0));const l={src:n,triggerEl:i,thumbEl:o,thumbElSrc:r,thumbSrc:r};for(const t in e)l[t]=e[t]+"";s.push(l)}return new br(s,t)}static getInstance(e){return e?vr.get(e):Array.from(vr.values()).reverse().find((e=>!e.isClosing()&&e))||null}static getSlide(){var e;return(null===(e=br.getInstance())||void 0===e?void 0:e.getSlide())||null}static show(){return new br(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}static next(){const e=br.getInstance();e&&e.next()}static prev(){const e=br.getInstance();e&&e.prev()}static close(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];for(var t=arguments.length,s=new Array(t>1?t-1:0),i=1;i
{title}
0
\n',block_by_bonus_back_to_faq:'',block_by_bonus_connect_with_operator_btn:'\n',char:'
{char}
',connect_with_operator_btn:'\n',messenger_button:'
{messenger}
\n
',messengers:'
{viber}{telegram}{vkontakte}
online help
\n
\n',show_faq_btn:''},chat:{alert:'',auth:'\n',auth_custom_scenario:'',backdrop:'
{translate(\'Do you want to close conversation?\')}
\n
',block:'
\n
\x3c!--
--\x3e
{title}
{offline}{auth}{online}{finish}{delayed_reaction_message}
\n
\n
\n',block_by_bonus_request:'
{title}
{show_faq_btn}
{text}
{connect_with_operator_btn}{offline}{auth}{online}{finish}{delayed_reaction_message}
\n
\n',block_by_bonus_request_scroll:'
{text}
{text}
\n
',block_scroll:'
{auth}{online}{delayed_reaction_message}
\n
\n\n',busy:'
{operators_busy_text}
{translate("Leave a request")}
\n
',client_name:'
{translate("Please enter")}
{translate("Please enter your name")}
{userIdentification}{subject}\n
\n',delayed_reaction_message:'',delayed_reaction_message_scroll:'
{delayedReactionMessage}
\n
',finish:'\n',finish_scroll:'
{finish}
\n
',first_message:'
{translate("Please describe your question in more detail")}
\n
\n',history:'
{translate("History")}
',history_block:'
{date}
\n
',last_name:'
\n
\n
{translate("Please enter your last name")}\n
\n',messages_block:'
',offline:'
1.
{translate("We are offline. Please leave us your contact information and your question, and we will get in touch with you later!")}
{translate("Send")}
{translate("Thank you!")}
{translate("The message is sent.")}
{translate("Close the window")}
\n
\n',online:'\n',online_footer:'',online_scroll:'\n',operator_typing:' {operatorName} is typing\n\n',personal_assistant_manager:'
{pa_welcome_message}
{if isNewProject}
{/if}{if not isNewProject}
{/if}
{operator_name}
{translate("Personal Assistant")}
{if isNewProject}
{translate("Contact me")}:
{/if}{if operator_email}
{if not isNewProject}
{translate("Почта")}:
{/if}{operator_email}
{/if}{if isNewProject}
{/if}
{apk}{contactUsBlock}{telegram}{viber}
\n
\n',personal_manager:'
{vip_welcome_message}
{if isNewProject}
{/if}{if not isNewProject}
{/if}
{operator_name}
{translate("Personal manager")}
{if isNewProject}
{translate("Contact me")}:
{/if}{if operator_email}
{if not isNewProject}
{translate("\'Email address\'")}:
{/if}{operator_email}
{/if}{if isNewProject}{if operator_phone}
{if not isNewProject}
{translate("Телефон")}:
{/if}{operator_phone}
{/if}{/if}{if isNewProject}
{/if}
{if not isNewProject}{phoneBlock}{/if}{apk}{contactUsBlock}{telegram}{viber}
\n
\n',personal_manager_contact:'
{if text}
{text}
{/if}
{if isDirect}
{text_direct}
{/if}
\n
\n',personal_manager_contact_apps:'
{text}
\n
\n',phone_block:'
{translate("Phone for VIP")}:
\n
\n',smiles:'
\n
',spammer:'
1.
{spammer_block_text}
\n
',subject:'\n{if isNewProject}\n
\n
\n{/if}{if not isNewProject}\n
{subjectsOptionsHtml}\n
\n{/if}\n
{translate("Select topic")}\n
\n',subject_custom_field:'
{translate("Please enter")}
\n
',subject_custom_scenario_option:'
\n
',subject_option:'\n{if not isNewProject}\n
\n
\n{/if}{if isNewProject}\n{/if}',user_identification:'{lastName}\n
\n
\n
{translate("Please enter valid email")}\n
\n',wait:'{operators_busy_block}\n{if isNewProject}\n
{text_waiting}
\n
\n{/if}{if not isNewProject}
{text_waiting}
\n{/if}',welcome_message:'
{text}
\n
'},faq:{answer_scroll:'
{text}
',block:'
\n
{title}
{translate("Back")}
{faq_title}
{show_all_faqs_btn}
{translate("Have I managed to help you?")}
{connect_with_operator_btn}{offline}{auth}{online}{finish}{delayed_reaction_message}
\n
\n
\n',block_scroll:'
{if isNewProject}
{if isNewHeaderEnabled}
SpinCity
Assistant
{/if}
{/if}
{title}
{offline}{translate("Back")}
{show_all_faqs_btn}
{translate("Have I managed to help you?")}
{auth}{online}{finish}{delayed_reaction_message}
\n
\n',form:'
\n
\x3c!--
--\x3e
{title}
\n
\n
\n
\n',link:'{title}',link_scroll:'
{time}
{title}
{items}
{if needButton}{/if}\n
',link_scroll_helped:'',prediction_item:'{question}',show_all_faqs_botom_block:'
{template}
\n
',show_all_faqs_btn:'{name}\n',topic_scroll:'{if isNewProject}\n{/if}{if not isNewProject}{title}\n{/if}',topics:"topics\n"},message:{block:'
{time}
{name}
{items}
{if isNewProject}
{/if}
\n
',error_field:'

{translate("Fill in the required fields or write to us if you have a question")}

\n

{translate("Please describe your question in more detail")}

',faq_username:'

\n',file:'
{file}
{if not isNewProject}{/if}\n
',file_error_upload:"Error. The file must be less than 10 MB",file_success_upload:'{if isNewProject}{if isImg}{/if}{if not isImg}{/if}{/if}
{if replyname}{replyname}{/if}{filename}({filesize})
\n
',form:'
{html}

{translate("Fill in the required fields or write to us if you have a question")}

\n
\n',form_autoanswer:"{if html}\n{html}\n{/if}\n{if answer}\n

{answer}

\n{/if}\n{form}\n{userNameField}\n{message}\n",item:'
{text}
{if not isNewProject}{/if}\n
',mark_success:'
{translate("You rated")} \n
\n',quote:'"{if isNewProject}
{if image}
{/if}{/if}{if not isNewProject}{text}{name} {time}{/if}{if isNewProject}
{translate(\'Reply to\')} {name}{text}
{/if}{if isNewProject}
{/if}
',reply_to_message:'
{from} {date}
{item}
{html}\n
',silence_answer:'
{items}
\n
',smile:'
'},push:{block:''}},maxFileSize:1e7,lastUploadError:0,css:null,translate:{ag:{Hate:"Lo odio",Dislike:"No me gusta",Neutral:"Me es indiferente",Like:"Me gusta",Love:"Me encanta","Leave a request":"Escriba su solucitud","Please enter your name ":"Ingrese su nombre","Visitors on the website":"Visitantes de la página web","Your name":"Nombre","Start the dialogue":"Iniciar una conversación","Finish the dialogue":"Terminar una conversación","Open in a new window":"Abrir en una nueva ventana",Collapse:"Error","The dialogue is over":"La conversación ha finalizado","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"¿Su problema ha sido resuelto?",Yes:"¡Si",No:"No","Please leave us your contact information":"Por favor, ingrese su información de contacto",Email:"Dirección de correo electrónico",Phone:"Teléfono",Comment:"Comentarios","Save the dialogue?":"¿Guardar la conversación?",Back:"Volver",Save:"Guardar","Save and exit":"Guardar y salir",History:"Historial","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"En este momento no estamos en línea. Ingrese sus datos de contacto y su consulta. Lo contactaremos a la brevedad!","Introduce yourselves":"Nos gustaría saber más sobre ustedes","Your question":"Su pregunta/consulta",Send:"Enviar","Thank you!":"¡Gracias!","The message is sent.":"El mensaje ha sido enviado","Close the window":"Cerrar la ventana",Sound:"Sonido",Finish:"Terminar","Send a file":"Enviar un archivo",Smile:"Sonría","Search for an answer":"Búsqueda de la respuesta","Ask us anything":"Hacer una consulta","Please describe your question in more detail":"Describa su consulta detalladamente","got it, thank you":"Entendido, ¡muchas gracias!","Personal manager":"Representante personal","Personal Assistant":"Asistente personal","You rated":"Tu apreciaste","Please rate this conversation":"Califica esta conversación","Have I managed to help you?":"¿He logrado ayudarte?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"¿Usted tiene una pregunta? ¡Quizás la respuesta a tu pregunta esté abajo! ¿No encontraste lo que estabas buscando? ¡Contacte con el operador!","Go to LiveChat":"Ve al Live chat","show FAQ":"show FAQ","Do you want to close conversation?":"¿Quieres cerrar la conversación?","Please enter":"Ingrese su nombre","Back to start FAQ":"Preguntas frecuentes sobre volver a la página de inicio","Fill in the required fields or write to us if you have a question":"Rellene los campos obligatorios o envíenos un correo electrónico si tiene alguna preguntan","Enter your message...":"Ingrese su mensaje…",required:"requerir","Yes, thank you!":"¡Si, gracias!","No, talk to support":"No, hablar con soporte","Nothing found":"Nothing found","Contact me on LiveChat":"Contáctame en el chat en vivo","Back to FAQ":"Back to FAQ","Phone for VIP":"Teléfono",Exit:"Exit"},ar:{"Leave a request":"Escriba su solucitud","Please enter":"Por favor, introduzca","Please enter your name":"Por favor, introduzca su nombre","Visitors on the website":"Visitantes de la página web","Your name":"Su nombre","Start the dialogue":"Iniciar chat","Finish the dialogue":"Finalizar el diálogo","Open in a new window":"Abrir en una ventana nueva",Collapse:"Ocultar","The dialogue is over":"El chat ha finalizado","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Para asegurarnos de que Usted recibió el mejor servicio de nuestra parte, nos encantaría escuchar sus comentarios al respecto.
¿Hemos conseguido ayudarle?","Please leave us your contact information":"Por favor, déjenos su información de contacto",Email:"Dirección de correo electrónico",Phone:"Teléfono",Comment:"Comentario","Save the dialogue?":"¿Guardar el diálogo?",Back:"Regresar",Save:"Guardar","Save and exit":"Guardar y salir",History:"Historia","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"No estamos en línea. Déjenos sus datos de contacto y su pregunta, y nos pondremos en contacto con usted más tarde.","Introduce yourselves":"Preséntese","Your question":"Su pregunta",Send:"Enviar","Thank you!":"¡Gracias!","The message is sent.":"El mensaje ha sido enviado.","Close the window":"Cerrar la ventana",Sound:"Sonido",Finish:"Finalizar","Send a file":"Enviar un archivo",Smile:"Emoticon","Search for an answer":"Encuentre una respuesta ",Yes:"Si",No:"No","Ask us anything":"Deje un comentario","Please describe your question in more detail":"Por favor, describa su pregunta con más detalle","Got it, thank you":"Entendido, gracias","Personal manager":"Gerente personal","Personal Assistant":"Asistente personal","Email address":"Correo electrónico",Hate:"Lo odio",Dislike:"No me gusta",Neutral:"Me es indiferente",Like:"Me gusta",Love:"Me encanta","Your email address":"Su dirección de correo electrónico","Select topic":"Seleccione un tema","Your last name":"Su apellido","Please enter your last name":"Introduzca su apellido","What do you think of this dialogue?":"¿Qué opina de este diálogo?","Please enter valid email":"Introduzca una dirección de correo electrónico válida","You rated":"Usted ha calificado","Please rate this conversation":"Por favor, califique esta conversación","Have I managed to help you?":"¿He logrado ayudarte?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"¿Usted tiene una pregunta? ¡Quizás la respuesta a tu pregunta esté abajo! ¿No encontraste lo que estabas buscando? ¡Contacte con el operador!","Enter your message...":"Escriba su mensaje...","Go to LiveChat":"Ir a Chat en vivo","show FAQ":"Ver FAQ","Do you want to close conversation?":"¿Desea finalizar la conversación?","Back to start FAQ":"Preguntas frecuentes sobre volver a la página de inicio","Fill in the required fields or write to us if you have a question":"Rellene los campos obligatorios o póngase en contacto con nosotros si tiene alguna pregunta",required:"Campos obligatorios","Yes, thank you!":"¡Sí, gracias!","No, talk to support":"No, póngase en contacto con Soporte al cliente","Nothing found":"No se ha encontrado nada","Contact me on LiveChat":"Póngase en contacto conmigo por Chat en vivo","Back to FAQ":"Regresar a FAQ","Reply to":"Responder a",Exit:"Salir","The dialogue transcript was sent to your email address":"La transcripción del diálogo se ha enviado a su dirección de correo electrónico","Enter your email address":"Introduzca su correo electrónico","Error. The file must be less than 10 Mb":"Error. El archivo debe ser inferior a 10 Mb.","Contact me":"Contáctame"},at:{"Please enter":"Bitte geben Sie ein","Please enter your name":"Bitte geben Sie Ihren Namen ein","Visitors on the website":"Besucher auf der Webseite:","Your name":"Ihr Name","Start the dialogue":"Chat starten","Finish the dialogue":"Dialog beenden","Open in a new window":"Im neuen Fenster öffnen",Collapse:"Kollaps","The dialogue is over":"Der Chat ist beendet","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Ist Ihr Problem gelöst?","Please leave us your contact information":"Bitte hinterlassen Sie Ihre Kontaktdaten",Email:"E-mail",Phone:"Telefonnummer",Comment:"Kommentar","Save the dialogue?":"Dialog speichern?",Back:"Zurück",Save:"Speichern",History:"Verlauf","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Wir sind offline. Bitte hinterlassen Sie Ihre Kontaktdaten und Ihre Frage, und wir setzen uns mit Ihnen in Verbindung später!","Introduce yourselves":"Stellen Sie sich vor","Your question":"Ihre Frage",Send:"Senden","Thank you!":"Danke!","The message is sent.":"Nachricht gesendet","Close the window":"Fenster schließen",Sound:"Klang",Finish:"Ende","Send a file":"Datei senden",Smile:"Emoji","Search for an answer":"Suche nach einer Antwort",Yes:"Ja",No:"Nein","Leave a request":"Eine Nachricht hinterlassen","Ask us anything":"Fragen Sie uns","Please describe your question in more detail":"Bitte beschreiben Sie Ihre Frage genauer","Got it, thank you":"Verstanden, danke!","Personal manager":"Persönlicher Manager","Personal Assistant":"Persönlicher assistant","Email address":"E-Mail-Adresse",Hate:"Ich hasse es",Dislike:"Ich kann es nicht leiden",Neutral:"Neutral","Save and exit":"Speichern und schließen",Like:"Gefällt mir",Love:"Liebe","Select topic":"Thema auswählen","Your last name":"Ihr Nachname","Please enter your last name":"Bitte geben Sie Ihren Nachnamen ein","What do you think of this dialogue?":"Was halten Sie von diesem Dialog?","Please enter valid email":"Bitte geben Sie Ihre gültige E-Mail-Adresse","You rated":"Sie haben bewertet","Please rate this conversation":"Bitte bewerten Sie das Gespräch","Have I managed to help you?":"Ist es mir gelungen, Ihnen zu helfen?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Haben Sie irgendwelche Fragen? Vielleicht gibt es die Antwort auf Ihre Frage unten! Haben sie die nicht gefunden? Kontaktieren Sie uns im Live Chat!","Go to LiveChat":"Zum Live Chat gehen","Enter your message...":"Geben Sie Ihre Nachricht ein ...","show FAQ":"FAQ ansehen","Do you want to close conversation?":"Möchten Sie das Gespräch beenden?","Back to start FAQ":"Zurück zur Startseite FAQ","Fill in the required fields or write to us if you have a question":"Füllen Sie die erforderlichen Felder aus oder kontaktieren Sie uns, wenn Sie Fragen haben",required:"Erforderlich","Yes, thank you!":"Ja, Danke!","No, talk to support":"Nein, den Support kontaktieren","Nothing found":"Nichts gefunden","Contact me on LiveChat":"Kontaktieren Sie mich über Live Chat","Back to FAQ":"Zurück zu den FAQ","Reply to":"Antwort an",Exit:"Ausgang","The dialogue transcript was sent to your email address":"Die Kopie des Dialogs wurde an Ihre E-Mail-Adresse gesendet","Enter your email address":"Geben Sie Ihre E-Mail-Adresse ein","Error. The file must be less than 10 Mb":"Fehler. Die Datei muss kleiner als 10 Mb sein.","Contact me":"Meine Kontaktdaten"},au:{"Leave a request":"Leave a request","Please enter your name ":"Please enter your name ","Visitors on the website":"Visitors on the website","Your name":"Your name","Start the dialogue":"Start the dialogue","Finish the dialogue":"Finish the dialogue","Open in a new window":"Open in a new window",Collapse:"Collapse","The dialogue is over":"The dialogue is over","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Is your problem solved?",Yes:"Yes",No:"No","Please leave us your contact information":"Please leave us your contact information",Email:"Email",Phone:"Phone",Comment:"Comment","Save the dialogue?":"Save the dialogue?",Back:"Back",Save:"Save","Save and exit":"Save and exit",History:"History","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"We are offline. Please leave us your contact information and your question, and we will get in touch with you later!","Introduce yourselves":"Introduce yourselves","Your question":"Your question",Send:"Send","Thank you!":"Thank you!","The message is sent.":"The message is sent.","Close the window":"Close the window",Sound:"Sound",Finish:"Finish","Send a file":"Send a file",Smile:"Smile","Search for an answer":"Search for an answer","Ask us anything":"Ask us anything","Please describe your question in more detail":"Please describe your question in more detail","got it, thank you":"Got it, thank you","Personal manager":"Personal manager","Personal Assistant":"Personal assistant","Select topic":"Select topic","Your last name":"Your last name","Please enter your last name":"Please enter your last name","What do you think of this dialogue?":"What do you think of this dialogue?","Please enter valid email":"Please enter valid email","You rated":"You rated","Please rate this conversation":"Please rate this conversation","Have I managed to help you?":"Have I managed to help you?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!","Go to LiveChat":"Go to LiveChat","show FAQ":"show FAQ","Please enter":"Please enter","Back to start FAQ":"Back to start FAQ","Fill in the required fields or write to us if you have a question":"Fill in the required fields or write to us if you have a question",required:"required","Yes, thank you!":"Yes, thank you!","No, talk to support":"No, talk to support","Nothing found":"Nothing found","Back to FAQ":"Back to FAQ",Exit:"Exit"},bg:{Hate:"Омраза",Dislike:"Не харесвам",Neutral:"Неутрално",Like:"Харесвам",Love:"Обичам","Leave a request":"Оставете вашата заявка","Please enter your name ":"Въведете вашето име","Visitors on the website":"Посетители на сайта","Your name":"Вашето име","Start the dialogue":"Започнете диалог","Finish the dialogue":"Завършете диалог","Open in a new window":"Отворете в нов прозорец",Collapse:"Свийте","The dialogue is over":"Диалогът е завършен","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"За да сме сигурни, че сте получили най-доброто обслужване от нас, ще се радваме да чуем вашите отзиви. Успяхме ли да ви помогнем?",Yes:"Yes",No:"Не","Please leave us your contact information":"Моля, оставете вашите контакти за връзка",Email:"Имейл",Phone:"Телефон",Comment:"Коментар","Save the dialogue?":"Запазете диалога?",Back:"Назад",Save:"Запазете","Save and exit":"Запазете и излезете",History:"История","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Ние не сме на линия. Моля, оставете вашите контакти и вашето запитване, ние ще се свържем с вас!","Introduce yourselves":"Представете се","Your question":"Вашето запитване",Send:"Изпрати","Thank you!":"Благодаря!","The message is sent.":"Съобщението е изпратено.","Close the window":"Затвори прозореца",Sound:"Звук",Finish:"Завършете","Send a file":"Изпратете файла",Smile:"Емотикон","Search for an answer":"Търсете отговор","Ask us anything":"Моля, задайте вашия въпрос","Please describe your question in more detail":"Моля, опишете вашия въпрос по-подробно","got it, thank you":"Разбрах, благодаря","Personal manager":"Личен помощник","Personal Assistant":"Personal assistant","Email address":"Вашият имейл","Select topic":"Изберете тема","Your last name":"Вашето фамилно име","Please enter your last name":"Въведете фамилното име","Please enter valid email":"Въведете коректен имейл","You rated":"Оценете","Please rate this conversation":"Оценете консултацията на оператора","Have I managed to help you?":"Помогнахме ли ви?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Имате ли въпроси? Възможно е отговорът на вашия въпрос да е по-долу! Не сте намерили необходимото? Обърнете се към оператора!","show FAQ":"Вижте често задаваните въпроси","Do you want to close conversation?":"Искате ли да завършите диалога?","Please enter":"Моля, попълнете","Back to start FAQ":"Обратно към началото","Fill in the required fields or write to us if you have a question":"Моля, попълнете задължителните полета или ни пишете, ако имате въпрос","Enter your message...":"Въведете текст на съобщението...",required:"Задължително","Yes, thank you!":"Да, благодаря!","No, talk to support":"Не, свържете ме с оператор","Nothing found":"Нищо не е намерено","Contact me on LiveChat":"Напишете ми съобщение","Back to FAQ":"Върнете се към ЧЗВ","Phone for VIP":"Телефон","Go to LiveChat":"Свързване с оператор",Exit:"Изход","The dialogue transcript was sent to your email address":"Копие от диалога е изпратено на вашия имейл адрес","Enter your email address":"Въведете имейл адреса си","Error. The file must be less than 10 Mb":"Грешка. Файлът трябва да е по-малък от 10 Mb.","Contact me":"Свържи се с мен"},br:{"Leave a request":"Fazer uma solicitação","Please enter":"Por favor, entra","Please enter your name":"Por favor, insira seu nome","Visitors on the website":"Visitantes no site","Your name":"Seu nome","Start the dialogue":"Iniciar chat","Finish the dialogue":"Finalizar o diálogo","Open in a new window":"Abrir em uma nova janela",Collapse:"Ocultar","The dialogue is over":"Este chat é finalizado","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Para teremos a certeza que você recebeu o melhor serviço nosso, adoraríamos ouvir seus comentários.
Conseguimos ajudá-lo?","Please leave us your contact information":"Por favor, deixe-nos suas informações de contato",Email:"E-mail",Phone:"Numéro de celular",Comment:"Comentario","Save the dialogue?":"Salvar o diálogo?",Back:"Voltar",Save:"Salvar","Save and exit":"Salvar e sair",History:"Histórico","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Estamos off-line. Por favor, deixe-nos suas informações de contato e sua pergunta, e nós entraremos em contato com você em breve!","Introduce yourselves":"Apresente-se","Your question":"Sua pergunta",Send:"Enviar","Thank you!":"Obrigado!","The message is sent.":"A mensagem é enviada.","Close the window":"Feche a janela",Sound:"Som",Finish:"Terminar","Send a file":"Enviar um arquivo",Smile:"Emoji","Search for an answer":"Procurar por uma resposta",Yes:"Sim",No:"Não","Ask us anything":"Pergunte-nos qualquer coisa","Please describe your question in more detail":"Por favor, descreva sua pergunta com mais detalhes","Got it, thank you":"Entendi, obrigado","Personal manager":"Gerente pessoal","Personal Assistant":"Assistente pessoal","Email address":"Endereço de email",Hate:"Ódio",Dislike:"Não gosto",Neutral:"Neutro",Like:"Gostei",Love:"Adorei","Select topic":"Selecione um topico","Enter your message...":"Digite sua mensagem...","Your last name":"Seu sobrenome","Please enter your last name":"Por favor insira seu sobrenome","What do you think of this dialogue?":"What do you think of this dialogue?","Please enter valid email":"Por favor insira um e-mail válido","You rated":"Você avaliou","Please rate this conversation":"Por favor, avalie essa conversa","Have I managed to help you?":"Consegui te ajudar?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Você tem alguma pergunta? Talvez a resposta à sua pergunta esteja abaixo! Não encontrou o que estava procurando? Contate a operadora!","Go to LiveChat":"Ir para chat ao vivo","show FAQ":"Veja quais são perguntas frequentes","Do you want to close conversation?":"Deseja encerrar a conversa?","Back to start FAQ":"Perguntas frequentes de volta para casa","Fill in the required fields or write to us if you have a question":"Preencha os campos obrigatórios ou entre em contato conosco se tiver alguma dúvida",required:"Obrigatório","Yes, thank you!":"Sim, obrigado!","No, talk to support":"Não, fale com o suporte","Nothing found":"Nada encontrado","Contact me on LiveChat":"Entre em contato comigo no Chat ao vivo","Back to FAQ":"Retornar para FAQ","Reply to":"Responder para",Exit:"Saír","The dialogue transcript was sent to your email address":"A copia do diálogo foi enviada para o seu e-mail","Enter your email address":"Digite o seu endereço de e-mail","Error. The file must be less than 10 Mb":"Erro. O arquivo deve ter menos de 10 Mb.","Contact me":"Entre em contato comigo"},ca:{"Leave a request":"Leave a request","Please enter your name ":"Please enter your name ","Visitors on the website":"Visitors on the website","Your name":"Your name","Start the dialogue":"Start the dialogue","Finish the dialogue":"Finish the dialogue","Open in a new window":"Open in a new window",Collapse:"Collapse","The dialogue is over":"The dialogue is over","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Is your problem solved?",Yes:"Yes",No:"No","Please leave us your contact information":"Please leave us your contact information",Email:"Email",Phone:"Phone",Comment:"Comment","Save the dialogue?":"Save the dialogue?",Back:"Back",Save:"Save","Save and exit":"Save and exit",History:"History","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"We are offline. Please leave us your contact information and your question, and we will get in touch with you later!","Introduce yourselves":"Introduce yourselves","Your question":"Your question",Send:"Send","Thank you!":"Thank you!","The message is sent.":"The message is sent.","Close the window":"Close the window",Sound:"Sound",Finish:"Finish","Send a file":"Send a file",Smile:"Smile","Search for an answer":"Search for an answer","Ask us anything":"Ask us anything","Please describe your question in more detail":"Please describe your question in more detail","got it, thank you":"Got it, thank you","Personal manager":"Personal manager","Personal Assistant":"Personal assistant","Select topic":"Select topic","Your last name":"Your last name","Please enter your last name":"Please enter your last name","What do you think of this dialogue?":"What do you think of this dialogue?","Please enter valid email":"Please enter valid email","You rated":"You rated","Please rate this conversation":"Please rate this conversation","Have I managed to help you?":"Have I managed to help you?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!","Go to LiveChat":"Go to LiveChat","show FAQ":"show FAQ","Do you want to close conversation?":"Do you want to close conversation?","Please enter":"Please enter","Back to start FAQ":"Back to start FAQ","Fill in the required fields or write to us if you have a question":"Fill in the required fields or write to us if you have a question",required:"required","Yes, thank you!":"Yes, thank you!","No, talk to support":"No, talk to support","Nothing found":"Nothing found","Contact me on LiveChat":"Contact me on LiveChat","Back to FAQ":"Back to FAQ",Exit:"Exit"},ch:{"Leave a request":"Déposer une demande","Please enter":"Veuillez saisir votre nom","Please enter your name":"Veuillez saisir votre nom","Visitors on the website":"Visiteurs sur le site web","Your name":"Votre nom","Start the dialogue":"Commencer le chat","Finish the dialogue":"Terminer la conversation","Open in a new window":"Ouvrir une nouvelle fenêtre",Collapse:"Réduire","The dialogue is over":"Le chat est terminé","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Ai-je réussi à vous aider ?","Please leave us your contact information":"Veuillez nous laisser vos coordonnées",Email:"Email",Phone:"Téléphone",Comment:"Commentaire","Save the dialogue?":"Sauvegarder la conversation ?",Back:"Retour",Save:"Sauvegarder","Save and exit":"Sauvegarder et quitter",History:"Historique","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Nous sommes hors ligne. Laissez-nous vos coordonnées et votre question, nous vous recontacterons plus tard !","Introduce yourselves":"Présentez-vous","Your question":"Votre question",Send:"Envoyer","Thank you!":"Merci !","The message is sent.":"Le message est envoyé.","Close the window":"Fermer la fenêtre",Sound:"Son",Finish:"Terminer","Send a file":"Envoyer un fichier",Smile:"Souriez","Search for an answer":"Chercher une réponse",Yes:"Oui",No:"Non","Ask us anything":"Posez-nous n'importe quelle question","Please describe your question in more detail":"Décrivez votre question plus en détail","Got it, thank you":"J'ai compris, merci","Personal manager":"Responsable personnel","Personal Assistant":"Assistant personnel","Email address":"Adresse email",Hate:"Haine",Dislike:"N'aime pas",Neutral:"Neutre",Like:"J'aime",Love:"J'adore","Your email address":"Votre adresse email","Select topic":"Sélectionnez un sujet","Your last name":"Votre nom de famille","Please enter your last name":"Veuillez saisir votre nom de famille","What do you think of this dialogue?":"Que pensez-vous de ce dialogue ?","Please enter valid email":"Veuillez saisir un email valide","You rated":"Votre évaluation","Please rate this conversation":"Veuillez évaluer cette conversation","Have I managed to help you?":"Ai-je réussi à vous aider ?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Avez-vous des questions ? La réponse à votre question se trouve peut-être ci-dessous ! Vous n'avez pas trouvé ce que vous cherchiez ? Contactez-nous via le chat en direct.","Go to LiveChat":"Aller sur le chat en direct","show FAQ":"Voir la FAQ","Do you want to close conversation?":"Voulez-vous mettre fin à la conversation ?","Top results":"Top results","Back to start FAQ":"Retour à la FAQ","Fill in the required fields or write to us if you have a question":"Remplissez les champs obligatoires ou contactez-nous si vous avez une question.","Enter your message...":"Saisissez votre message ...",required:"Obligatoire","Yes, thank you!":"Oui, merci !","No, talk to support":"Non, j'aimerais parler au support clientèle","Nothing found":"Rien n'a été trouvé","Contact me on LiveChat":"Contactez-moi sur le chat en direct","Back to FAQ":"Retour à la FAQ","Reply to":"Répondre à",Exit:"Sortie","The dialogue transcript was sent to your email address":"La transcription du dialogue a été envoyée à votre adresse électronique","Enter your email address":"Saisissez votre adresse électronique","Error. The file must be less than 10 Mb":"Erreur. Le fichier doit être inférieur à 10 MB","Contact me":"Kontakta mig"},cl:{"Leave a request":"Escriba su solucitud","Please enter":"Por favor, introduzca","Please enter your name":"Por favor, introduzca su nombre","Visitors on the website":"Visitantes de la página web","Your name":"Su nombre","Start the dialogue":"Iniciar chat","Finish the dialogue":"Finalizar el diálogo","Open in a new window":"Abrir en una ventana nueva",Collapse:"Ocultar","The dialogue is over":"El chat ha finalizado","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Para asegurarnos de que Usted recibió el mejor servicio de nuestra parte, nos encantaría escuchar sus comentarios al respecto.
¿Hemos conseguido ayudarle?","Please leave us your contact information":"Por favor, déjenos su información de contacto",Email:"Dirección de correo electrónico",Phone:"Teléfono",Comment:"Comentario","Save the dialogue?":"¿Guardar el diálogo?",Back:"Regresar",Save:"Guardar","Save and exit":"Guardar y salir",History:"Historia","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"No estamos en línea. Déjenos sus datos de contacto y su pregunta, y nos pondremos en contacto con usted más tarde.","Introduce yourselves":"Preséntese","Your question":"Su pregunta",Send:"Enviar","Thank you!":"¡Gracias!","The message is sent.":"El mensaje ha sido enviado.","Close the window":"Cerrar la ventana",Sound:"Sonido",Finish:"Finalizar","Send a file":"Enviar un archivo",Smile:"Emoticon","Search for an answer":"Encuentre una respuesta ",Yes:"Si",No:"No","Ask us anything":"Deje un comentario","Please describe your question in more detail":"Por favor, describa su pregunta con más detalle","Got it, thank you":"Entendido, gracias","Personal manager":"Gerente personal","Personal Assistant":"Asistente personal","Email address":"Correo electrónico",Hate:"Lo odio",Dislike:"No me gusta",Neutral:"Me es indiferente",Like:"Me gusta",Love:"Me encanta","Your email address":"Su dirección de correo electrónico","Select topic":"Seleccione un tema","Your last name":"Su apellido","Please enter your last name":"Introduzca su apellido","What do you think of this dialogue?":"¿Qué opina de este diálogo?","Please enter valid email":"Introduzca una dirección de correo electrónico válida","You rated":"Usted ha calificado","Please rate this conversation":"Por favor, califique esta conversación","Have I managed to help you?":"¿He logrado ayudarte?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"¿Usted tiene una pregunta? ¡Quizás la respuesta a tu pregunta esté abajo! ¿No encontraste lo que estabas buscando? ¡Contacte con el operador!","Enter your message...":"Escriba su mensaje...","Go to LiveChat":"Ir a Chat en vivo","show FAQ":"Ver FAQ","Do you want to close conversation?":"¿Desea finalizar la conversación?","Back to start FAQ":"Preguntas frecuentes sobre volver a la página de inicio","Fill in the required fields or write to us if you have a question":"Rellene los campos obligatorios o póngase en contacto con nosotros si tiene alguna pregunta",required:"Campos obligatorios","Yes, thank you!":"¡Sí, gracias!","No, talk to support":"No, póngase en contacto con Soporte al cliente","Nothing found":"No se ha encontrado nada","Contact me on LiveChat":"Póngase en contacto conmigo por Chat en vivo","Back to FAQ":"Regresar a FAQ","Reply to":"Responder a",Exit:"Salir","The dialogue transcript was sent to your email address":"La transcripción del diálogo se ha enviado a su dirección de correo electrónico","Enter your email address":"Introduzca su correo electrónico","Error. The file must be less than 10 Mb":"Error. El archivo debe ser inferior a 10 Mb.","Contact me":"Contáctame"},co:{"Leave a request":"Escriba su solucitud","Please enter":"Por favor, introduzca","Please enter your name":"Por favor, introduzca su nombre","Visitors on the website":"Visitantes de la página web","Your name":"Su nombre","Start the dialogue":"Iniciar chat","Finish the dialogue":"Finalizar el diálogo","Open in a new window":"Abrir en una ventana nueva",Collapse:"Ocultar","The dialogue is over":"El chat ha finalizado","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Para asegurarnos de que Usted recibió el mejor servicio de nuestra parte, nos encantaría escuchar sus comentarios al respecto.
¿Hemos conseguido ayudarle?","Please leave us your contact information":"Por favor, déjenos su información de contacto",Email:"Dirección de correo electrónico",Phone:"Teléfono",Comment:"Comentario","Save the dialogue?":"¿Guardar el diálogo?",Back:"Regresar",Save:"Guardar","Save and exit":"Guardar y salir",History:"Historia","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"No estamos en línea. Déjenos sus datos de contacto y su pregunta, y nos pondremos en contacto con usted más tarde.","Introduce yourselves":"Preséntese","Your question":"Su pregunta",Send:"Enviar","Thank you!":"¡Gracias!","The message is sent.":"El mensaje ha sido enviado.","Close the window":"Cerrar la ventana",Sound:"Sonido",Finish:"Finalizar","Send a file":"Enviar un archivo",Smile:"Emoticon","Search for an answer":"Encuentre una respuesta ",Yes:"Si",No:"No","Ask us anything":"Deje un comentario","Please describe your question in more detail":"Por favor, describa su pregunta con más detalle","Got it, thank you":"Entendido, gracias","Personal manager":"Gerente personal","Personal Assistant":"Asistente personal","Email address":"Correo electrónico",Hate:"Lo odio",Dislike:"No me gusta",Neutral:"Me es indiferente",Like:"Me gusta",Love:"Me encanta","Your email address":"Su dirección de correo electrónico","Select topic":"Seleccione un tema","Your last name":"Su apellido","Please enter your last name":"Introduzca su apellido","What do you think of this dialogue?":"¿Qué opina de este diálogo?","Please enter valid email":"Introduzca una dirección de correo electrónico válida","You rated":"Usted ha calificado","Please rate this conversation":"Por favor, califique esta conversación","Have I managed to help you?":"¿He logrado ayudarte?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"¿Usted tiene una pregunta? ¡Quizás la respuesta a tu pregunta esté abajo! ¿No encontraste lo que estabas buscando? ¡Contacte con el operador!","Enter your message...":"Escriba su mensaje...","Go to LiveChat":"Ir a Chat en vivo","show FAQ":"Ver FAQ","Do you want to close conversation?":"¿Desea finalizar la conversación?","Back to start FAQ":"Preguntas frecuentes sobre volver a la página de inicio","Fill in the required fields or write to us if you have a question":"Rellene los campos obligatorios o póngase en contacto con nosotros si tiene alguna pregunta",required:"Campos obligatorios","Yes, thank you!":"¡Sí, gracias!","No, talk to support":"No, póngase en contacto con Soporte al cliente","Nothing found":"No se ha encontrado nada","Contact me on LiveChat":"Póngase en contacto conmigo por Chat en vivo","Back to FAQ":"Regresar a FAQ","Reply to":"Responder a",Exit:"Salir","The dialogue transcript was sent to your email address":"La transcripción del diálogo se ha enviado a su dirección de correo electrónico","Enter your email address":"Introduzca su correo electrónico","Error. The file must be less than 10 Mb":"Error. El archivo debe ser inferior a 10 Mb.","Contact me":"Contáctame"},de:{"Please enter":"Bitte geben Sie ein","Please enter your name":"Bitte geben Sie Ihren Namen ein","Visitors on the website":"Besucher auf der Webseite:","Your name":"Ihr Name","Start the dialogue":"Chat starten","Finish the dialogue":"Dialog beenden","Open in a new window":"Im neuen Fenster öffnen",Collapse:"Kollaps","The dialogue is over":"Der Chat ist beendet","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Ist Ihr Problem gelöst?","Please leave us your contact information":"Bitte hinterlassen Sie Ihre Kontaktdaten",Email:"E-mail",Phone:"Telefonnummer",Comment:"Kommentar","Save the dialogue?":"Dialog speichern?",Back:"Zurück",Save:"Speichern","Save and exit":"Speichern und schließen",History:"Verlauf","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Wir sind offline. Bitte hinterlassen Sie Ihre Kontaktdaten und Ihre Frage, und wir setzen uns mit Ihnen in Verbindung später!","Introduce yourselves":"Stellen Sie sich vor","Your question":"Ihre Frage",Send:"Senden","Thank you!":"Danke!","The message is sent.":"Nachricht gesendet","Close the window":"Fenster schließen",Sound:"Klang",Finish:"Ende","Send a file":"Datei senden",Smile:"Emoji","Search for an answer":"Suche nach einer Antwort",Yes:"Ja",No:"Nein","Leave a request":"Eine Nachricht hinterlassen","Ask us anything":"Fragen Sie uns","Please describe your question in more detail":"Bitte beschreiben Sie Ihre Frage genauer","Got it, thank you":"Verstanden, danke!","Personal manager":"Persönlicher Manager","Personal Assistant":"Persönlicher assistant","Email address":"E-Mail-Adresse",Hate:"Ich hasse es",Dislike:"Ich kann es nicht leiden",Neutral:"Neutral",Like:"Gefällt mir",Love:"Liebe","Select topic":"Thema auswählen","Your last name":"Ihr Nachname","Please enter your last name":"Bitte geben Sie Ihren Nachnamen ein","What do you think of this dialogue?":"Was halten Sie von diesem Dialog?","Please enter valid email":"Bitte geben Sie Ihre gültige E-Mail-Adresse","You rated":"Sie haben bewertet","Please rate this conversation":"Bitte bewerten Sie das Gespräch","Have I managed to help you?":"Ist es mir gelungen, Ihnen zu helfen?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Haben Sie irgendwelche Fragen? Vielleicht gibt es die Antwort auf Ihre Frage unten! Haben sie die nicht gefunden? Kontaktieren Sie uns im Live Chat!","Go to LiveChat":"Zum Live Chat gehen","Enter your message...":"Geben Sie Ihre Nachricht ein ...","show FAQ":"FAQ ansehen","Do you want to close conversation?":"Möchten Sie das Gespräch beenden?","Back to start FAQ":"Zurück zur Startseite FAQ","Fill in the required fields or write to us if you have a question":"Füllen Sie die erforderlichen Felder aus oder kontaktieren Sie uns, wenn Sie Fragen haben",required:"Erforderlich","Yes, thank you!":"Ja, Danke!","No, talk to support":"Nein, den Support kontaktieren","Nothing found":"Nichts gefunden","Contact me on LiveChat":"Kontaktieren Sie mich über Live Chat","Back to FAQ":"Zurück zu den FAQ","Reply to":"Antwort an",Exit:"Ausgang","The dialogue transcript was sent to your email address":"Die Kopie des Dialogs wurde an Ihre E-Mail-Adresse gesendet","Enter your email address":"Geben Sie Ihre E-Mail-Adresse ein","Error. The file must be less than 10 Mb":"Fehler. Die Datei muss kleiner als 10 Mb sein.","Contact me":"Meine Kontaktdaten"},dk:{Hate:"Hate",Dislike:"Ikke lide",Neutral:"Neutral",Like:"Kan lide",Love:"Elsker","Leave a request":"Indsend en ansøgning","Please enter your name ":"Indtast dit navn","Visitors on the website":"Besøgende på webstedet","Your name":"Dit navn","Start the dialogue":"Start dialog","Finish the dialogue":"Afslut dialog","Open in a new window":"Åbn i nyt vindue",Collapse:"Minimer","The dialogue is over":"Dialog afsluttet","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"For at sikre, at du har modtaget den bedste service fra os, vil vi gerne høre din feedback. Har vi formået at hjælpe dig?",Yes:"Ja",No:"Nej","Please leave us your contact information":"Angiv venligst dine kontaktoplysninger",Email:"E-mail",Phone:"Telefon",Comment:"Kommentar","Save the dialogue?":"Gemme dialog?",Back:"Tilbage",Save:"Gem","Save and exit":"Gem og afslut",History:"Historik","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Vi er offline. Venligst efterlad dine kontaktoplysninger og dit spørgsmål, så vil vi kontakte dig!","Introduce yourselves":"Præsentér dig selv","Your question":"Dit spørgsmål",Send:"Send","Thank you!":"Tak!","The message is sent.":"Besked sendt.","Close the window":"Luk vinduet",Sound:"Lyd",Finish:"Afslut","Send a file":"Send fil",Smile:"Smiley","Search for an answer":"Søg efter svar","Ask us anything":"Venligst still dit spørgsmål","Please describe your question in more detail":"Venligst beskriv dit spørgsmål mere detaljeret","got it, thank you":"Forstået, tak","Personal manager":"Personlig assistent","Personal Assistant":"Personlig assistent","Email address":"Din e-mail","Select topic":"Vælg emne","Your last name":"Dit efternavn","Please enter your last name":"Indtast efternavn","Please enter valid email":"Indtast en korrekt e-mail","You rated":"Du vurderede","Please rate this conversation":"Vurder operatørens konsultation","Have I managed to help you?":"Har vi hjulpet dig?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Har du nogen spørgsmål? Svaret på dit spørgsmål findes måske nedenfor! Kan du ikke finde det? Kontakt operatøren!","show FAQ":"Se FAQ","Do you want to close conversation?":"Vil du gerne afslutte din samtale?","Please enter":"Udfyld venligst","Back to start FAQ":"Tilbage til start FAQ","Fill in the required fields or write to us if you have a question":"Udfyld de obligatoriske felter eller skriv til os, hvis du har spørgsmål","Enter your message...":"Indtast beskedteksten...",required:"Er påkrævet","Yes, thank you!":"Ja, tak!","No, talk to support":"Nej, tilslut en operatør","Nothing found":"Intet fundet","Contact me on LiveChat":"Skriv en besked til mig","Back to FAQ":"Tilbage til FAQ","Phone for VIP":"Telefon","Go to LiveChat":"Forbind med en operatør",Exit:"Afslut","The dialogue transcript was sent to your email address":"Dialogudskriften blev sendt til din e-mailadresse","Enter your email address":"Indtast din e-mailadresse","Error. The file must be less than 10 Mb":"Fejl. Filen skal være mindre end 10 Mb.","Contact me":"Kontakt mig"},en:{"Leave a request":"Leave a request","Please enter":"Please enter","Please enter your name":"Please enter your name ","Visitors on the website":"Visitors on the website","Your name":"Your name","Start the dialogue":"Start the chat","Finish the dialogue":"Finish the dialogue","Open in a new window":"Open in a new window",Collapse:"Collapse","The dialogue is over":"The chat is finished","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?",Yes:"Yes",No:"No","Please leave us your contact information":"Please leave us your contact information",Email:"Email",Phone:"Phone",Comment:"Comment","Save the dialogue?":"Save the dialogue?",Back:"Back",Save:"Save","Save and exit":"Save and exit",History:"History","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"We are offline. Please leave us your contact information and your question, and we will get in touch with you later!","Introduce yourselves":"Introduce yourselves","Your question":"Your question",Send:"Send","Thank you!":"Thank you!","The message is sent.":"The message is sent.","Close the window":"Close the window",Sound:"Sound",Finish:"Finish","Send a file":"Send a file",Smile:"Smile","Search for an answer":"Search for an answer","Ask us anything":"Ask us anything","Please describe your question in more detail":"Please describe your question in more detail","Got it, thank you":"Got it, thank you","Personal manager":"Personal manager","Personal Assistant":"Personal assistant",Hate:"Hate",Dislike:"No me gusta",Neutral:"Neutral",Like:"Like",Love:"Love","Select topic":"Select a topic","Your last name":"Your last name","Please enter your last name":"Please enter your last name","What do you think of this dialogue?":"What do you think of this dialogue?","Please enter valid email":"Please enter valid email","You rated":"You rated","Please rate this conversation":"Please rate this conversation","Have I managed to help you?":"Have I managed to help you?","Have I managed to help you? Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!","Go to LiveChat":"Go to LiveChat","show FAQ":"View FAQ","Do you want to close conversation?":"Do you want to end the conversation?","Top results":"Top results","Back to start FAQ":"Back to start FAQ","Fill in the required fields or write to us if you have a question":"Fill in the required fields or contact to us if you have a question","Enter your message...":"Enter your message...",required:"Required","Yes, thank you!":"Yes, thank you!","No, talk to support":"No, talk to support","Nothing found":"Nothing found","Contact me on LiveChat":"Contact me on LiveChat","Back to FAQ":"Back to FAQ","Phone for VIP":"Phone","Reply to":"Reply to",Exit:"Exit","The dialogue transcript was sent to your email address":"The dialogue transcript was sent to your email address","Enter your email address":"Enter your email address","Error. The file must be less than 10 Mb":"Error. The file must be less than 10 MB","Contact me":"Contact me"},es:{"Leave a request":"Escriba su solucitud","Please enter":"Por favor, introduzca","Please enter your name":"Por favor, introduzca su nombre","Visitors on the website":"Visitantes de la página web","Your name":"Su nombre","Start the dialogue":"Iniciar chat","Finish the dialogue":"Finalizar el diálogo","Open in a new window":"Abrir en una ventana nueva",Collapse:"Ocultar","The dialogue is over":"El chat ha finalizado","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Para asegurarnos de que Usted recibió el mejor servicio de nuestra parte, nos encantaría escuchar sus comentarios al respecto.
¿Hemos conseguido ayudarle?","Please leave us your contact information":"Por favor, déjenos su información de contacto",Email:"Dirección de correo electrónico",Phone:"Teléfono",Comment:"Comentario","Save the dialogue?":"¿Guardar el diálogo?",Back:"Regresar",Save:"Guardar","Save and exit":"Guardar y salir",History:"Historia","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"No estamos en línea. Déjenos sus datos de contacto y su pregunta, y nos pondremos en contacto con usted más tarde.","Introduce yourselves":"Preséntese","Your question":"Su pregunta",Send:"Enviar","Thank you!":"¡Gracias!","The message is sent.":"El mensaje ha sido enviado.","Close the window":"Cerrar la ventana",Sound:"Sonido",Finish:"Finalizar","Send a file":"Enviar un archivo",Smile:"Emoticon","Search for an answer":"Encuentre una respuesta ",Yes:"Si",No:"No","Ask us anything":"Deje un comentario","Please describe your question in more detail":"Por favor, describa su pregunta con más detalle","Got it, thank you":"Entendido, gracias","Personal manager":"Gerente personal","Personal Assistant":"Asistente personal","Email address":"Correo electrónico",Hate:"Lo odio",Dislike:"No me gusta",Neutral:"Me es indiferente",Like:"Me gusta",Love:"Me encanta","Your email address":"Su dirección de correo electrónico","Select topic":"Seleccione un tema","Your last name":"Su apellido","Please enter your last name":"Introduzca su apellido","What do you think of this dialogue?":"¿Qué opina de este diálogo?","Please enter valid email":"Introduzca una dirección de correo electrónico válida","You rated":"Usted ha calificado","Please rate this conversation":"Por favor, califique esta conversación","Have I managed to help you?":"¿He logrado ayudarte?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"¿Usted tiene una pregunta? ¡Quizás la respuesta a tu pregunta esté abajo! ¿No encontraste lo que estabas buscando? ¡Contacte con el operador!","Enter your message...":"Escriba su mensaje...","Go to LiveChat":"Ir a Chat en vivo","show FAQ":"Ver FAQ","Do you want to close conversation?":"¿Desea finalizar la conversación?","Back to start FAQ":"Preguntas frecuentes sobre volver a la página de inicio","Fill in the required fields or write to us if you have a question":"Rellene los campos obligatorios o póngase en contacto con nosotros si tiene alguna pregunta",required:"Campos obligatorios","Yes, thank you!":"¡Sí, gracias!","No, talk to support":"No, póngase en contacto con Soporte al cliente","Nothing found":"No se ha encontrado nada","Contact me on LiveChat":"Póngase en contacto conmigo por Chat en vivo","Back to FAQ":"Regresar a FAQ","Reply to":"Responder a",Exit:"Salir","The dialogue transcript was sent to your email address":"La transcripción del diálogo se ha enviado a su dirección de correo electrónico","Enter your email address":"Introduzca su correo electrónico","Error. The file must be less than 10 Mb":"Error. El archivo debe ser inferior a 10 Mb.","Contact me":"Contáctame"},fi:{Hate:"Vihaan",Dislike:"En tykkää",Neutral:"Neutraali",Like:"Tykkään",Love:"Rakastan","Leave a request":"Jättää pyynnön","Please enter your name ":"Syötä nimesi","Visitors on the website":"Kävijää sivustolla: ","Your name":"Nimesi","Start the dialogue":"Aloita keskustelu","Finish the dialogue":"Päätä keskustelu","Open in a new window":"Avaa uuteen ikkunaan",Collapse:"Pienennä","The dialogue is over":"Keskustelu on ohi","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Jotta voisimme varmistaa, että saat meiltä parasta palvelua, haluaisimme kuulla palautteesi.
Olemmeko onnistuneet auttamaan sinua?",Yes:"Kyllä",No:"Ei","Please leave us your contact information":"Täytäthän yhteystietosi ja viestisi",Email:"Sähköposti",Phone:"Puhelin",Comment:"Viesti","Save the dialogue?":"Tallennetaanko keskustelu?",Back:"Takaisin",Save:"Tallenna","Save and exit":"Tallenna ja poistu",History:"Historia","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Olemme offline-tilassa. Jätäthän yhteystietosi ja kysymyksesi ja palaamme asiaan myöhemmin!","Introduce yourselves":"Esittele itsesi","Your question":"Kysymyksesi",Send:"Lähetä","Thank you!":"Kiitos!","The message is sent.":"Viesti on lähetetty","Close the window":"Sulje ikkuna",Sound:"Ääni",Finish:"Lopeta","Send a file":"Lähetä tiedosto",Smile:"Hymyile","Search for an answer":"Vastauksen etsiminen","Ask us anything":"Kysy meiltä mitä vain","Please describe your question in more detail":"Kuvaile kysymystäsi tarkemmin","got it, thank you":"Ymmärsin, kiitos","Personal manager":"Henkilökohtainen manageri","Personal Assistant":"Henkilökohtainen avustaja","Select topic":"Valitse aihe","You rated":"Vous avez apprécié","Please rate this conversation":"Arvostele tämä keskustelu","Have I managed to help you?":"Olenko onnistunut auttamaan teitä?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!","Go to LiveChat":"SIIRRY LIVECHATiin","show FAQ":"show FAQ","Do you want to close conversation?":"Voulez-vous clore la conversation ?","Please enter":"Syötä nimesi","Back to start FAQ":"Retour à l'accueil FAQ","Fill in the required fields or write to us if you have a question":"Täytä vaaditut kentät tai kirjoita meille, jos sinulla on kysyttävää","Enter your message...":"Syötä viestisi...",required:"tarvittava","Yes, thank you!":"Kyllä, kiitos!","No, talk to support":"Ei, puhua tuen kanssa","Nothing found":"Nothing found","Contact me on LiveChat":"Ota minuun yhteyttä LiveChatissa","Back to FAQ":"Takaisin UKK","Phone for VIP":"Puhelin",Exit:"Poistuminen","The dialogue transcript was sent to your email address":"Dialogin transkriptio lähetettiin sähköpostiosoitteeseesi","Enter your email address":"Kirjoita sähköpostiosoitteesi","Error. The file must be less than 10 Mb":"Virhe. Tiedoston on oltava alle 10 Mb.","Contact me":"Ota yhteyttä minuun"},fr:{"Leave a request":"Déposer une demande","Please enter":"Veuillez saisir","Please enter your name":"Veuillez saisir votre nom ","Visitors on the website":"Visiteurs sur le site Web","Your name":"Votre nom","Start the dialogue":"Démarrer le chat","Finish the dialogue":"Terminer la conversation","Open in a new window":"Ouvrir dans une nouvelle fenêtre",Collapse:"Réduire","The dialogue is over":"Le chat est terminé","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Pour nous assurer que vous avez reçu le meilleur service possible de notre part, nous aimerions connaître votre avis.
Avons-nous réussi à vous aider ?","Please leave us your contact information":"Veuillez nous laisser vos coordonnées",Email:"Courriel",Phone:"Téléphone",Comment:"Commentaire","Save the dialogue?":"Enregistrer la conversation?",Back:"Retour",Save:"Économiser","Save and exit":"Enregistrer et quitter",History:"Historique","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Nous sommes hors ligne. Veuillez nous laisser vos coordonnées et votre question, et nous vous recontacterons bientôt!","Introduce yourselves":"Présentez-vous","Your question":"Votre question",Send:"Envoyer","Thank you!":"Merci!","The message is sent.":"Le message a été envoyé.","Close the window":"Fermer la fenêtre",Sound:"Son",Finish:"Terminer","Send a file":"Envoyer un fichier",Smile:"Sourire","Search for an answer":"Rechercher une réponse",Yes:"Oui",No:"Non","Ask us anything":"Posez-nous n'importe quelle question","Please describe your question in more detail":"Veuillez formuler votre question de manière plus détaillée","Got it, thank you":"J'ai compris, merci","Personal manager":"Gestionnaire personnel","Personal Assistant":"Assistant personnel","Email address":"Adresse de courriel",Hate:"Je déteste",Dislike:"Je n`aime pas",Neutral:"Neutre",Like:"J'aime",Love:"J'adore","Your email address":"Votre adresse de courriel","Select topic":"Sélectionnez un sujet","Your last name":"Votre nom de famille","Please enter your last name":"Veuillez saisir votre nom de famille","Please enter valid email":"Veuillez saisir un courriel valide","You rated":"Votre évaluation","Please rate this conversation":"Veuillez évaluer cette conversation","Have I managed to help you?":"Ai-je réussi à vous aider?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Avez-vous des questions? Peut-être que la réponse à votre question se trouve ci-dessous! Vous n'avez pas trouvé ce que vous cherchiez? Contactez-nous dans le chat en direct!","Go to LiveChat":"Aller au chat en direct","show FAQ":"Voir la FAQ","Enter your message...":"Saisissez votre message...","Do you want to close conversation?":"Souhaitez-vous terminer la conversation?","Back to start FAQ":"Retour à l'accueil FAQ","Fill in the required fields or write to us if you have a question":"Remplissez les champs requis ou contactez-nous si vous avez une question",required:"Requis","Yes, thank you!":"Oui, merci!","No, talk to support":"Non, j'aimerais parler à l'assistance","Nothing found":"Rien n'a été trouvé","Contact me on LiveChat":"Contactez-moi sur le chat en direct","Back to FAQ":"Retour à la FAQ","Reply to":"Répondre à",Exit:"Sortie","The dialogue transcript was sent to your email address":"La transcription du dialogue a été envoyée à votre adresse électronique","Enter your email address":"Saisissez votre adresse électronique","Error. The file must be less than 10 Mb":"Erreur. Le fichier doit être inférieur à 10 Mb.","Contact me":"Contactez moi"},hu:{"Leave a request":"Küldjön kérést","Please enter":"Írja be","Please enter your name":"Írja be a nevét","Visitors on the website":"Látogatók a honlapon","Your name":"Az Ön neve","Start the dialogue":"Beszélgetés indítása","Finish the dialogue":"Beszélgetés befejezése","Open in a new window":"Megnyitás új ablakban",Collapse:"Összecsukás","The dialogue is over":"A beszélgetésnek vége","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Annak érdekében, hogy a legjobb szolgáltatást kapja tőlünk, szívesen meghallgatnánk visszajelzéseit. Sikerült segítenünk Önnek?",Yes:"Igen",No:"Nem","Please leave us your contact information":"Kérjük, hagyja meg elérhetőségét",Email:"E-mail",Phone:"Telefonszám",Comment:"Megjegyzés","Save the dialogue?":"Elmenti a beszélgetést?",Back:"Vissza",Save:"Mentés","Save and exit":"Mentés és kilépés",History:"Előzmények","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Nem vagyunk online. Kérjük, hagyja meg elérhetőségét és kérdését, és később felvesszük Önnel a kapcsolatot.","Introduce yourselves":"Mutatkozzanak be","Your question":"Az Ön kérdése",Send:"Küldés","Thank you!":"Köszönjük!","The message is sent.":"Üzenet elküldve.","Close the window":"Ablak bezárása",Sound:"Hang",Finish:"Befejezés","Send a file":"Fájl küldése",Smile:"Mosoly","Search for an answer":"Válasz keresése","Ask us anything":"Kérdezzen tőlünk bármit","Please describe your question in more detail":"Kérjük, írja le részletesebben a kérdését","Got it, thank you":"Igy már értem, köszönöm","Personal manager":"Személyi menedzser","Personal Assistant":"Személyi asszisztens","Email address":"E-mail-cím","Select topic":"Válasszon témát","Your last name":"Az Ön vezetékneve","Please enter your last name":"Írja be a vezetéknevét","Please enter valid email":"Érvényes e-mail-címet adjon meg","You rated":"Leadta az értékelését","Please rate this conversation":"Kérjük, értékelje ezt a beszélgetést","Have I managed to help you?":"Tudtunk Önnek segíteni?","Go to LiveChat":"Tovább a LiveChathez","Show all answers":"Minden válasz megjelenítése","Have I managed to help you? Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Kérdése van? Lehet, hogy a kérdésére lejjebb megtalálja a választ! Nem találta meg, amit keresett? Vegye fel velünk a kapcsolatot a LiveChaten!","show FAQ":"GYIK megtekintése","Do you want to close conversation?":"Be akarja fejezni a beszélgetést?","Back to start FAQ":"Vissza a GYIK-hez","Fill in the required fields or write to us if you have a question":"Töltse ki a szükséges mezőket, vagy írjon nekünk, ha kérdése van.","Enter your message...":"Írja be az üzenetét…",required:"Kötelező","Yes, thank you!":"Igen, köszönöm!","No, talk to support":"Nem, beszéljen az ügyfélszolgálattal","Nothing found":"Semmit sem találtak","Contact me on LiveChat":"Lépjen kapcsolatba velem LiveChat","Back to FAQ":"Vissza a GYIK-hez",Hate:"Egyáltalán nem tetszett",Dislike:"Nem tetszett",Neutral:"Semleges",Like:"Tetszett",Love:"Nagyon tetszett","Phone for VIP":"Telefonszám",Exit:"Kilépés","The dialogue transcript was sent to your email address":"A párbeszéd átiratát elküldtük az Ön e-mail címére","Enter your email address":"Adja meg az e-mail címét","Error. The file must be less than 10 Mb":"Hiba. A fájlnak 10 Mb-nál kisebbnek kell lennie.","Contact me":"Keress meg"},ie:{"Leave a request":"Leave a request","Please enter your name ":"Please enter your name ","Visitors on the website":"Visitors on the website","Your name":"Your name","Start the dialogue":"Start the dialogue","Finish the dialogue":"Finish the dialogue","Open in a new window":"Open in a new window",Collapse:"Collapse","The dialogue is over":"The dialogue is over","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Is your problem solved?",Yes:"Yes",No:"No","Please leave us your contact information":"Please leave us your contact information",Email:"Email",Phone:"Phone",Comment:"Comment","Save the dialogue?":"Save the dialogue?",Back:"Back",Save:"Save","Save and exit":"Save and exit",History:"History","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"We are offline. Please leave us your contact information and your question, and we will get in touch with you later!","Introduce yourselves":"Introduce yourselves","Your question":"Your question",Send:"Send","Thank you!":"Thank you!","The message is sent.":"The message is sent.","Close the window":"Close the window",Sound:"Sound",Finish:"Finish","Send a file":"Send a file",Smile:"Smile","Search for an answer":"Search for an answer","Ask us anything":"Ask us anything","Please describe your question in more detail":"Please describe your question in more detail","got it, thank you":"Got it, thank you","Personal manager":"Personal manager","Personal Assistant":"Personal assistant","Select topic":"Select topic","Your last name":"Your last name","Please enter your last name":"Please enter your last name","What do you think of this dialogue?":"What do you think of this dialogue?","Please enter valid email":"Please enter valid email","You rated":"You rated","Please rate this conversation":"Please rate this conversation","Have I managed to help you?":"Have I managed to help you?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!","Go to LiveChat":"Go to LiveChat","show FAQ":"show FAQ","Do you want to close conversation?":"Do you want to close conversation?","Please enter":"Please enter","Back to start FAQ":"Back to start FAQ","Fill in the required fields or write to us if you have a question":"Fill in the required fields or write to us if you have a question",required:"required","Yes, thank you!":"Yes, thank you!","No, talk to support":"No, talk to support","Nothing found":"Nothing found","Back to FAQ":"Back to FAQ",Exit:"Exit"},in:{"Leave a request":"Leave a request","Please enter":"Please enter","Please enter your name":"Please enter your name ","Visitors on the website":"Visitors on the website","Your name":"Your name","Start the dialogue":"Start chat","Finish the dialogue":"Finish the dialogue","Open in a new window":"Open in a new window",Collapse:"Collapse","The dialogue is over":"The chat is finished","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?",Yes:"Yes",No:"No","Please leave us your contact information":"Please leave us your contact information",Email:"Email",Phone:"Phone",Comment:"Comment","Save the dialogue?":"Save the dialogue?",Back:"Back",Save:"Save","Save and exit":"Save and exit",History:"History","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"We are offline. Please leave us your contact information and your question, and we will get in touch with you later!","Introduce yourselves":"Introduce yourselves","Your question":"Your question",Send:"Send","Thank you!":"Thank you!","The message is sent.":"The message is sent.","Close the window":"Close the window",Sound:"Sound",Finish:"Finish","Send a file":"Send a file",Smile:"Smile","Search for an answer":"Search for an answer","Ask us anything":"Ask us anything","Please describe your question in more detail":"Please describe your question in more detail","got it, thank you":"Got it, thank you","Personal manager":"Personal manager","Personal Assistant":"Personal assistant",Hate:"Hate",Dislike:"No me gusta",Neutral:"Neutral",Like:"Like",Love:"Love","Your email address":"Your email address","Select topic":"Select a topic","Your last name":"Your last name","Please enter your last name":"Please enter your last name","What do you think of this dialogue?":"What do you think of this dialogue?","Please enter valid email":"Please enter valid email","You rated":"You rated","Please rate this conversation":"Please rate this conversation","Have I managed to help you?":"Have I managed to help you?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!","Go to LiveChat":"Go to LiveChat","show FAQ":"View FAQ","Do you want to close conversation?":"Do you want to end the conversation?","Top results":"Top results","Back to start FAQ":"Back to start FAQ","Fill in the required fields or write to us if you have a question":"Fill in the required fields or contact us if you have a question","Enter your message...":"Enter your message...",required:"Required","Yes, thank you!":"Yes, thank you!","No, talk to support":"No, talk to support","Nothing found":"Nothing found","Contact me on LiveChat":"Contact me on LiveChat","Back to FAQ":"Back to FAQ","Reply to":"Reply to",Exit:"Exit","The dialogue transcript was sent to your email address":"The dialogue transcript was sent to your email address","Enter your email address":"Enter your email address","Error. The file must be less than 10 Mb":"Error. The file must be less than 10 MB","Contact me":"Contact me"},ir:{"Leave a request":"Leave a request","Please enter your name ":"Please enter your name ","Visitors on the website":"Visitors on the website","Your name":"Your name","Start the dialogue":"Start the dialogue","Finish the dialogue":"Finish the dialogue","Open in a new window":"Open in a new window",Collapse:"Collapse","The dialogue is over":"The dialogue is over","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Is your problem solved?",Yes:"Yes",No:"No","Please leave us your contact information":"Please leave us your contact information",Email:"Email",Phone:"Phone",Comment:"Comment","Save the dialogue?":"Save the dialogue?",Back:"Back",Save:"Save","Save and exit":"Save and exit",History:"History","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"We are offline. Please leave us your contact information and your question, and we will get in touch with you later!","Introduce yourselves":"Introduce yourselves","Your question":"Your question",Send:"Send","Thank you!":"Thank you!","The message is sent.":"The message is sent.","Close the window":"Close the window",Sound:"Sound",Finish:"Finish","Send a file":"Send a file",Smile:"Smile","Search for an answer":"Search for an answer","Ask us anything":"Ask us anything","Please describe your question in more detail":"Please describe your question in more detail","got it, thank you":"Got it, thank you","Personal manager":"Personal manager","Personal Assistant":"Personal assistant","Select topic":"Select topic","Your last name":"Your last name","Please enter your last name":"Please enter your last name","What do you think of this dialogue?":"What do you think of this dialogue?","Please enter valid email":"Please enter valid email","You rated":"You rated","Please rate this conversation":"Please rate this conversation","Have I managed to help you?":"Have I managed to help you?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!","Go to LiveChat":"Go to LiveChat","show FAQ":"show FAQ","Do you want to close conversation?":"Do you want to close conversation?","Please enter":"Please enter","Back to start FAQ":"Back to start FAQ","Fill in the required fields or write to us if you have a question":"Fill in the required fields or write to us if you have a question",required:"required","Yes, thank you!":"Yes, thank you!","No, talk to support":"No, talk to support","Nothing found":"Nothing found","Back to FAQ":"Back to FAQ",Exit:"Exit"},it:{"Leave a request":"Invia una richiesta","Please enter":"Inserisci","Please enter your name":"Inserisci il tuo nome ","Visitors on the website":"Visitatori sul sito web","Your name":"il tuo nome","Start the dialogue":"Apri la chat","Finish the dialogue":"Termina la conversazione","Open in a new window":"Apri in una nuova finestra",Collapse:"Chiudi","The dialogue is over":"La conversazione in chat è terminata","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Is your problem solved?","Please leave us your contact information":"Ti preghiamo di indicare i tuoi dati di contatto",Email:"E-mail",Phone:"Telefono",Comment:"Commento","Save the dialogue?":"Vuoi salvare la conversazione?",Back:"Indietro",Save:"Salva","Save and exit":"Salva ed esci",History:"Cronologia","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Al momento non siamo collegati. Ti preghiamo di indicare i tuoi dati di contatto e la domanda e ti risponderemo appena possibile!","Introduce yourselves":"Inserisci i tuoi dati","Your question":"La tua domanda",Send:"Invia","Thank you!":"Ti ringraziamo!","The message is sent.":"Il messaggio è stato inviato.","Close the window":"Chiudi la finestra",Sound:"Audio",Finish:"Termina","Send a file":"Invia un file",Smile:"Emoticon","Search for an answer":"Cerca una risposta",Yes:"Sì",No:"No","Ask us anything":"Chiedici ciò che desideri sapere","Please describe your question in more detail":"Esprimi la tua domanda in modo più dettagliato","Got it, thank you":"Abbiamo capito, grazie per averci contattato","Personal manager":"Manager personale","Personal Assistant":"Personal assistant","Email address":"Indirizzo e-mail",Hate:"Hate",Dislike:"No me gusta",Neutral:"Neutra",Like:"Positiva",Love:"Ottima","Your email address":"Il tuo indirizzo e-mail","Select topic":"seleziona un argomento","Your last name":"Il tuo cognome","Please enter your last name":"Inserisci il tuo cognome","What do you think of this dialogue?":"What do you think of this dialogue?","Please enter valid email":"Inserisci un indirizzo e-mail valido","You rated":"La tua valutazione:","Please rate this conversation":"Valuta questa conversazione","Have I managed to help you?":"Ti siamo stati d’aiuto?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Hai delle domande? La risposta alla tua domanda potrebbe trovarsi nella sezione in basso! Non hai trovato ciò che cercavi? Contattaci via chat!","Go to LiveChat":"Vai alla chat","show FAQ":"Consulta le domande frequenti","Enter your message...":"Inserisci il tuo messaggio...","Do you want to close conversation?":"Vuoi terminare questa conversazione?","Back to start FAQ":"Back to start FAQ","Fill in the required fields or write to us if you have a question":"Compila i campi richiesti oppure contattaci se hai una domanda",required:"Obbligatorio","Yes, thank you!":"Sì, grazie mille!","No, talk to support":"No, voglio parlare con un agente dell’assistenza","Nothing found":"Nessun risultato","Contact me on LiveChat":"Contattami via chat","Back to FAQ":"Torna alle domande frequenti","Reply to":"Rispondi a",Exit:"Exit","Error. The file must be less than 10 Mb":"Errore. Il file deve essere inferiore a 10 Mb.","Contact me":"Contattami"},ja:{"Leave a request":"リクエストを残す","Please enter":"下記にご入力ください","Please enter your name":"ご氏名をご入力ください。","Visitors on the website":"ウェブサイトのビジター","Your name":"ご氏名","Start the dialogue":"チャットを開始","Finish the dialogue":"チャットを終了","Open in a new window":"新しいウィンドウで開く",Collapse:"最小化する","The dialogue is over":"チャットが無事に終了されました。","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"お客様に最高のサービスを提供するために、ぜひお客様のご意見をお聞かせください.
私たちはあなたのお役に立てたでしょうか?","Please leave us your contact information":"連絡先をご入力ください。",Email:"メールアドレス",Phone:"電話番号",Comment:"コメント","Save the dialogue?":"チャットの内容を保存しますか。",Back:"戻る",Save:"セーブ","Save and exit":"保存して終了",History:"履歴","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"この度はお問い合わせをお送りいただきありがとうございます。 大変申し訳ございませんが、現時点ではご対応いたしかねますので、連絡先をお知らせいただき、後ほど、担当者よりご連絡をさせていただきます。 今しばらくお待ちくださいますようよろしくお願い申し上げます。","Introduce yourselves":"ご氏名をご入力ください。","Your question":"お問い合わせ内容",Send:"送信する","Thank you!":"お問合せいただき、ありがとうございました。","The message is sent.":"お問合せ内容が送信されました。","Close the window":"閉じる",Sound:"サウンド",Finish:"終了する","Send a file":"ファイルを添付する",Smile:"顔文字","Search for an answer":"答えを検査する",Yes:"はい",No:"いいえ","Ask us anything":"不明な点等おありでしたら、何でもお気軽にお尋ねください。","Please describe your question in more detail":"お問合せ内容を詳細にご入力ください。","Got it, thank you":"お問合せを受付いたしました。誠にありがとうございました。","Personal manager":"VIP担当","Personal Assistant":"個人サポート担当","Email address":"メールアドレス","Your email address":"お客様のメールアドレス","Select topic":"件名をお選びください。","Your last name":"姓","Please enter your last name":"ご氏名(姓)をご入力ください。","What do you think of this dialogue?":"What do you think of this dialogue?","Please enter valid email":"連絡可能なメールアドレスをご入力ください。",Hate:"大嫌い",Dislike:"嫌い",Neutral:"まあまあ",Like:"よかったです",Love:"最高でした","You rated":"の評価をいただきました。","Please rate this conversation":"先ほどのチャットのご評価をお願いいたします。","Have I managed to help you?":"お役に立てましたでしょうか。","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"質問がありますか?あなたの質問への答えが下記にあるかもしれません。お探しのものがありませんでしたか?ライブチャットでお問い合わせください!","Go to LiveChat":"チャットへ移動","show FAQ":"よくある質問を見る","Enter your message...":"お問い合わせ内容をご入力ください・・・","Do you want to close conversation?":"このチャットを終了してもよろしいですか。","Back to start FAQ":"ホームに戻る よくある質問","Fill in the required fields or write to us if you have a question":"不明な点等おありでしたら、必須欄にご入力またはサポートセンターまでお問い合わせください。",required:"必須欄にご入力ください。","Yes, thank you!":"はい、ありがとうございました。","No, talk to support":"いいえ、サポートセンターまで問合せる","Nothing found":"検索条件と一致する結果が見つけられませんでした。","Contact me on LiveChat":"チャットでもお問い合わせいただけます。","Back to FAQ":"よくある質問に戻る","Reply to":"へ返信",Exit:"終了する","The dialogue transcript was sent to your email address":"本ダイアログの内容はご指定のメールアドレスに送信されました。","Enter your email address":"メールアドレスをご入力ください。","Error. The file must be less than 10 Mb":"エラー。ファイルは10MB以下でなければなりません。","Contact me":"連絡先"},kz:{Hate:"Қате",Dislike:"Көңілкүліксіз",Neutral:"Нейтралды",Like:"Ұнайды",Love:"Өте ұнайды","Leave a request":"Leave a request","Please enter your name ":"Атыңызды енгізіңіз","Visitors on the website":"Сайттағы келушілер","Your name":"Сіздің атыңыз","Start the dialogue":"Сөйлесуге бастау","Finish the dialogue":"Сөйлесуді аяқтау","Open in a new window":"Жаңа терезеде ашу",Collapse:"Тасуы","The dialogue is over":"Сөйлесу аяқталды","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Сіздің мәселеніз шешілді ме?",Yes:"Иә",No:"Жоқ","Please leave us your contact information":"Байланыс үшін туралы ақпаратты қалдырыңыз",Email:"Электрондық пошта",Phone:"Телефон",Comment:"Пікір","Save the dialogue?":"Сөйлесуді сақтау керек пе?",Back:"Артқа",Save:"Сақтау","Save and exit":"Сақтау және шығу",History:"Тарих","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Біз желіде жоқмыз. Сіздің телефоныңызды және сұрағыңызды қалдырыңыз, біз сізбен байланыса аламыз!","Introduce yourselves":"Танысуға мүмкіншілік беріңіз","Your question":"Сіздің сұрағыңыз",Send:"Жіберу","Thank you!":"Рақмет!","The message is sent.":"Хабар жіберілді.","Close the window":"Терезені жабу",Sound:"Дыбыс",Finish:"Аяқтау","Send a file":"Файлды жіберу",Smile:"Күлкі символы","Search for an answer":"Жауап іздеуде","Ask us anything":"Сұрағыңызды енгізіңіз","Please describe your question in more detail":"Сұрағыңызды толықтай сипаттаңыз","got it, thank you":"Түсіндім, рақмет!","Personal manager":"Жеке көмекші","Personal Assistant":"Personal assistant","Email address":"іздің электрондық поштаныз","Select topic":"Тақырыпты таңдаңыз","Your last name":"Сіздің тегіңіз","Please enter your last name":"Тегіңізді енгізіңіз","Please enter valid email":"Дұрыс электрондық пошта енгізіңіз","You rated":"Сіздің бағасыңыз","Please rate this conversation":"Оператордың кеңесін бағалаңыз","Have I managed to help you?":"Біз сізге көмектескеніміз бе?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Сұрақтар туындаса, сіздің сұрағыңызға жауап жоқ па? Мұндай сұрақтардың біріне жауап төмендегі FAQ бөлімімізде болуы мүмкін! Кері байланыс түсінігіне жіберілгенін сұраймыз!","Go to LiveChat":"Оператормен байланыстыру","show FAQ":"FAQ-ды қарау","Do you want to close conversation?":"Сіз сөйлесуге болады ма?","Please enter":"Өтінемін, толтырыңыз","Back to start FAQ":"Бастапқы FAQ-ға қайту","Fill in the required fields or write to us if you have a question":"Міндетті өрістерді толтырыңыз немесе сұраққа жауап бар болса, бізге хабарласыңыз","Enter your message...":"Хабарлама мәтінін енгізіңіз...",required:"Міндетті","Yes, thank you!":"Иә, рахмет!","No, talk to support":"Жоқ, операторды қосу керек","Nothing found":"Еш нәрсе табылмады","Contact me on LiveChat":"Маған хабар жазыңыз","Back to FAQ":"FAQ-ға қайту","Phone for VIP":"Телефон",Exit:"Шығу","The dialogue transcript was sent to your email address":"Әңгіменің көшірмесі электрондық пошта мекенжайыңызға жіберілді","Enter your email address":"Электрондық пошта мекенжайыңызды енгізіңіз","Error. The file must be less than 10 Mb":"Қате. Файл өлшемі 10 Мб-тан аз болуы керек","Contact me":"Менімен хабарлас"},mx:{"Leave a request":"Escriba su solucitud","Please enter":"Por favor, introduzca","Please enter your name":"Por favor, introduzca su nombre","Visitors on the website":"Visitantes de la página web","Your name":"Su nombre","Start the dialogue":"Iniciar chat","Finish the dialogue":"Finalizar el diálogo","Open in a new window":"Abrir en una ventana nueva",Collapse:"Ocultar","The dialogue is over":"El chat ha finalizado","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Para asegurarnos de que Usted recibió el mejor servicio de nuestra parte, nos encantaría escuchar sus comentarios al respecto.
¿Hemos conseguido ayudarle?","Please leave us your contact information":"Por favor, déjenos su información de contacto",Email:"Dirección de correo electrónico",Phone:"Teléfono",Comment:"Comentario","Save the dialogue?":"¿Guardar el diálogo?",Back:"Regresar",Save:"Guardar","Save and exit":"Guardar y salir",History:"Historia","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"No estamos en línea. Déjenos sus datos de contacto y su pregunta, y nos pondremos en contacto con usted más tarde.","Introduce yourselves":"Preséntese","Your question":"Su pregunta",Send:"Enviar","Thank you!":"¡Gracias!","The message is sent.":"El mensaje ha sido enviado.","Close the window":"Cerrar la ventana",Sound:"Sonido",Finish:"Finalizar","Send a file":"Enviar un archivo",Smile:"Emoticon","Search for an answer":"Encuentre una respuesta ",Yes:"Si",No:"No","Ask us anything":"Deje un comentario","Please describe your question in more detail":"Por favor, describa su pregunta con más detalle","Got it, thank you":"Entendido, gracias","Personal manager":"Gerente personal","Personal Assistant":"Asistente personal","Email address":"Correo electrónico",Hate:"Lo odio",Dislike:"No me gusta",Neutral:"Me es indiferente",Like:"Me gusta",Love:"Me encanta","Your email address":"Su dirección de correo electrónico","Select topic":"Seleccione un tema","Your last name":"Su apellido","Please enter your last name":"Introduzca su apellido","What do you think of this dialogue?":"¿Qué opina de este diálogo?","Please enter valid email":"Introduzca una dirección de correo electrónico válida","You rated":"Usted ha calificado","Please rate this conversation":"Por favor, califique esta conversación","Have I managed to help you?":"¿He logrado ayudarte?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"¿Usted tiene una pregunta? ¡Quizás la respuesta a tu pregunta esté abajo! ¿No encontraste lo que estabas buscando? ¡Contacte con el operador!","Enter your message...":"Escriba su mensaje...","Go to LiveChat":"Ir a Chat en vivo","show FAQ":"Ver FAQ","Do you want to close conversation?":"¿Desea finalizar la conversación?","Back to start FAQ":"Preguntas frecuentes sobre volver a la página de inicio","Fill in the required fields or write to us if you have a question":"Rellene los campos obligatorios o póngase en contacto con nosotros si tiene alguna pregunta",required:"Campos obligatorios","Yes, thank you!":"¡Sí, gracias!","No, talk to support":"No, póngase en contacto con Soporte al cliente","Nothing found":"No se ha encontrado nada","Contact me on LiveChat":"Póngase en contacto conmigo por Chat en vivo","Back to FAQ":"Regresar a FAQ","Reply to":"Responder a",Exit:"Salir","The dialogue transcript was sent to your email address":"La transcripción del diálogo se ha enviado a su dirección de correo electrónico","Enter your email address":"Introduzca su correo electrónico","Error. The file must be less than 10 Mb":"Error. El archivo debe ser inferior a 10 Mb.","Contact me":"Contáctame"},nl:{Hate:"Verschrikkelijk",Dislike:"Niet Leuk",Neutral:"Neutraal",Like:"Leuk",Love:"Geweldig","Leave a request":"Laat een verzoek achter","Please enter your name ":"Vul je naam in","Visitors on the website":"Bezoekers op de website:","Your name":"Je naam","Start the dialogue":"Begin het gesprek","Finish the dialogue":"Einde van het gesprek","Open in a new window":"Open in een nieuw venster",Collapse:"Instorting","The dialogue is over":"Het gesprek is afgelopen","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Is uw probleem opgelost?",Yes:"Ja",No:"Neen","Please leave us your contact information":"Geef ons je contactinformatie",Email:"Email",Phone:"Telefoon",Comment:"Commentaar","Save the dialogue?":"Het gesprek bewaren?",Back:"Terug",Save:"Bewaar","Save and exit":"Bewaar en exit",History:"Geschiedenis","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Wij zijn offline. Bezorg ons je contactinformatie en je vraag en dan zullen we later contact met je opnemen!","Introduce yourselves":"Introduceer jezelf","Your question":"Je vraag",Send:"Verzenden","Thank you!":"Dank U!","The message is sent.":"Het bericht is verstuurd","Close the window":"Sluit het venster",Sound:"Geluid",Finish:"Eindpunt","Send a file":"Verstuur een file",Smile:"Glimlach","Search for an answer":"Plaats je bericht...","Ask us anything":"Vraag ons eender wat","Please describe your question in more detail":"Beschrijf je vraag met meer details","got it, thank you":"Ik snap het, bedankt","Personal manager":"Personal manager","Personal Assistant":"Personal assistant","You rated":"Du bedømte","Please rate this conversation":"Beoordeel dit gesprek","Have I managed to help you?":"Have I managed to help you?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!","Go to LiveChat":"Go to LiveChat","show FAQ":"show FAQ","Do you want to close conversation?":"Do you want to close conversation?","Please enter":"Vul je naam in","Back to start FAQ":"Back to start FAQ","Fill in the required fields or write to us if you have a question":"Fill in the required fields or write to us if you have a question","Enter your message...":"Plaats je bericht...",required:"required","Yes, thank you!":"Ja","No, talk to support":"Neen","Nothing found":"Nothing found","Back to FAQ":"Back to FAQ","Phone for VIP":"Telefoon",Exit:"Exit"},no:{"Leave a request":"Legg igjen forespørsel","Please enter":"Vennligst putt inn","Visitors on the website":"Besøk på nettsiden","Your name":"Navnet ditt","Please enter your name":"Vennligst putt inn navnet ditt ","Start the dialogue":"Start chat","Finish the dialogue":"Fullfør samtalen","Open in a new window":"Åpne i et nytt vindu",Collapse:"Lukk igjen","The dialogue is over":"Chatten er ferdig","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"For å sikre at du får den beste servicen fra oss, vil vi gjerne høre tilbakemeldingen din.
Har vi klart å hjelpe deg?","Please leave us your contact information":"Legg igjen kontaktinformasjonen din",Email:"E-post",Phone:"Telefon",Comment:"Kommentar","Save the dialogue?":"Lagre samtalen",Back:"Tilbake",Save:"Lagre","Save and exit":"Lagre og forlat",History:"Historie","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Vi er offline. Legg igjen kontaktinformasjon og spørsmål, så tar vi kontakt med deg senere!","Introduce yourselves":"Introdusér deg selv","Your question":"Ditt spørsmål",Send:"Send","Thank you!":"Tusen takk!","The message is sent.":"Meldingen er sendt.","Close the window":"Lukk vinduet",Sound:"Lyd",Finish:"Fullfør","Send a file":"Send en fil",Smile:"Smil","Search for an answer":"Søk etter svar",Yes:"Ja",No:"Nei","Ask us anything":"Spør oss hva som helst","Please describe your question in more detail":"Forklar spørsmålet ditt i mer detalj","Got it, thank you":"Jeg forstår, tusen takk","Personal manager":"Personlig manager","Personal Assistant":"Personlig assistent","Email address":"E-postadresse",Hate:"Hater",Dislike:"Misliker",Neutral:"Nøytral",Like:"Liker",Love:"Elsker","Your email address":"Din e-postadresse","Select topic":"Velg et emne","Your last name":"Ditt etternavn","Please enter your last name":"Vennligst putt inn etternavnet ditt","Please enter valid email":"Vennligst putt inn gyldig e-post","You rated":"Du vurderte","Please rate this conversation":"Vennligst vurdér denne samtalen","Have I managed to help you?":"Har jeg hjulpet deg?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Har du noen spørsmål? Kanskje svaret på spørsmålet ditt er nedenunder! Fant du ikke hva du søkte? Kontakt oss på LiveChat!","Go to LiveChat":"Gå til LiveChat","show FAQ":"Se FAQ","Enter your message...":"Skriv inn meldingen din...","Do you want to close conversation?":"Vil du avslutte samtalen?","Back to start FAQ":"Tilbake til hjemmet FAQ","Fill in the required fields or write to us if you have a question":"Fyll ut de obligatoriske feltene eller kontakt oss hvis du har spørsmål",required:"Obligatorisk","Yes, thank you!":"Ja, tusen takk!","No, talk to support":"Nei, snakk med kundestøtte","Nothing found":"Ingenting funnet","Contact me on LiveChat":"Kontakt meg på LiveChat","Back to FAQ":"Tilbake til FAQ","Reply to":"Svar til",Exit:"Utgang","The dialogue transcript was sent to your email address":"Utskriften av dialogen ble sendt til e-postadressen din","Enter your email address":"Skriv inn e-postadressen din","Error. The file must be less than 10 Mb":"Feil. Filen må være mindre enn 10 Mb.","Contact me":"Kontakt meg"},nz:{"Leave a request":"Leave a request","Please enter your name ":"Please enter your name ","Visitors on the website":"Visitors on the website","Your name":"Your name","Start the dialogue":"Start chat","Finish the dialogue":"Finish the dialogue","Open in a new window":"Open in a new window",Collapse:"Collapse","The dialogue is over":"The chat is finished","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?",Yes:"Yes",No:"No","Please leave us your contact information":"Please leave us your contact information",Email:"Email",Phone:"Phone",Comment:"Comment","Save the dialogue?":"Save the dialogue?",Back:"Back",Save:"Save","Save and exit":"Save and exit",History:"History","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"We are offline. Please leave us your contact information and your question, and we will get in touch with you later!","Introduce yourselves":"Introduce yourselves","Your question":"Your question",Send:"Send","Thank you!":"Thank you!","The message is sent.":"The message is sent.","Close the window":"Close the window",Sound:"Sound",Finish:"Finish","Send a file":"Send a file",Smile:"Smile","Search for an answer":"Search for an answer","Ask us anything":"Ask us anything","Please describe your question in more detail":"Please describe your question in more detail","got it, thank you":"Got it, thank you","Personal manager":"Personal manager","Personal Assistant":"Personal assistant",Hate:"Hate",Dislike:"No me gusta",Neutral:"Neutral",Like:"Like",Love:"Love","Your email address":"Your email address","Select topic":"Select a topic","Your last name":"Your last name","Please enter your last name":"Please enter your last name","What do you think of this dialogue?":"What do you think of this dialogue?","Please enter valid email":"Please enter valid email","You rated":"You rated","Please rate this conversation":"Please rate this conversation","Have I managed to help you?":"Have I managed to help you?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!","Go to LiveChat":"Go to LiveChat","show FAQ":"View FAQ","Do you want to close conversation?":"Do you want to end the conversation?","Top results":"Top results","Please enter":"Please enter","Back to start FAQ":"Back to start FAQ","Fill in the required fields or write to us if you have a question":"Fill in the required fields or contact us if you have a question","Enter your message...":"Enter your message...",required:"Required","Yes, thank you!":"Yes, thank you!","No, talk to support":"No, talk to support","Nothing found":"Nothing found","Contact me on LiveChat":"Contact me on LiveChat","Back to FAQ":"Back to FAQ","Reply to":"Reply to",Exit:"Exit","The dialogue transcript was sent to your email address":"The dialogue transcript was sent to your email address","Enter your email address":"Enter your email address","Error. The file must be less than 10 Mb":"Error. The file must be less than 10 MB","Contact me":"Contact me"},pe:{"Leave a request":"Escriba su solucitud","Please enter":"Por favor, introduzca","Please enter your name":"Por favor, introduzca su nombre","Visitors on the website":"Visitantes de la página web","Your name":"Su nombre","Start the dialogue":"Iniciar chat","Finish the dialogue":"Finalizar el diálogo","Open in a new window":"Abrir en una ventana nueva",Collapse:"Ocultar","The dialogue is over":"El chat ha finalizado","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Para asegurarnos de que Usted recibió el mejor servicio de nuestra parte, nos encantaría escuchar sus comentarios al respecto.
¿Hemos conseguido ayudarle?","Please leave us your contact information":"Por favor, déjenos su información de contacto",Email:"Dirección de correo electrónico",Phone:"Teléfono",Comment:"Comentario","Save the dialogue?":"¿Guardar el diálogo?",Back:"Regresar",Save:"Guardar","Save and exit":"Guardar y salir",History:"Historia","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"No estamos en línea. Déjenos sus datos de contacto y su pregunta, y nos pondremos en contacto con usted más tarde.","Introduce yourselves":"Preséntese","Your question":"Su pregunta",Send:"Enviar","Thank you!":"¡Gracias!","The message is sent.":"El mensaje ha sido enviado.","Close the window":"Cerrar la ventana",Sound:"Sonido",Finish:"Finalizar","Send a file":"Enviar un archivo",Smile:"Emoticon","Search for an answer":"Encuentre una respuesta ",Yes:"Si",No:"No","Ask us anything":"Deje un comentario","Please describe your question in more detail":"Por favor, describa su pregunta con más detalle","Got it, thank you":"Entendido, gracias","Personal manager":"Gerente personal","Personal Assistant":"Asistente personal","Email address":"Correo electrónico",Hate:"Lo odio",Dislike:"No me gusta",Neutral:"Me es indiferente",Like:"Me gusta",Love:"Me encanta","Your email address":"Su dirección de correo electrónico","Select topic":"Seleccione un tema","Your last name":"Su apellido","Please enter your last name":"Introduzca su apellido","What do you think of this dialogue?":"¿Qué opina de este diálogo?","Please enter valid email":"Introduzca una dirección de correo electrónico válida","You rated":"Usted ha calificado","Please rate this conversation":"Por favor, califique esta conversación","Have I managed to help you?":"¿He logrado ayudarte?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"¿Usted tiene una pregunta? ¡Quizás la respuesta a tu pregunta esté abajo! ¿No encontraste lo que estabas buscando? ¡Contacte con el operador!","Enter your message...":"Escriba su mensaje...","Go to LiveChat":"Ir a Chat en vivo","show FAQ":"Ver FAQ","Do you want to close conversation?":"¿Desea finalizar la conversación?","Back to start FAQ":"Preguntas frecuentes sobre volver a la página de inicio","Fill in the required fields or write to us if you have a question":"Rellene los campos obligatorios o póngase en contacto con nosotros si tiene alguna pregunta",required:"Campos obligatorios","Yes, thank you!":"¡Sí, gracias!","No, talk to support":"No, póngase en contacto con Soporte al cliente","Nothing found":"No se ha encontrado nada","Contact me on LiveChat":"Póngase en contacto conmigo por Chat en vivo","Back to FAQ":"Regresar a FAQ","Reply to":"Responder a",Exit:"Salir","The dialogue transcript was sent to your email address":"La transcripción del diálogo se ha enviado a su dirección de correo electrónico","Enter your email address":"Introduzca su correo electrónico","Error. The file must be less than 10 Mb":"Error. El archivo debe ser inferior a 10 Mb.","Contact me":"Contáctame"},pl:{"Leave a request":"Zostaw zapytanie","Please enter":"Proszę wpisać","Please enter your name":"Proszę wpisać swoje imię","Visitors on the website":"Odwiedzający na stronie","Your name":"Twoje imię","Start the dialogue":"Rozpocząć czat","Finish the dialogue":"Zakończ dialog","Open in a new window":"Otwórz nowe okno",Collapse:"Zwiń","The dialogue is over":"Czat został zakończony","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Aby upewnić się, że świadczymy usługi najwyższej jakości, będziemy bardzo wdzięczni za Twój feedback.
Czy byliśmy w stanie Ci pomóc?","Please leave us your contact information":"Prosimy o pozostawienie danych kontaktowych",Email:"E-mail",Phone:"Numer telefonu",Comment:"Komentarz","Save the dialogue?":"Zapisać dialog?",Back:"Wstecz",Save:"Zapisz","Save and exit":"Zapisz i wyjdź",History:"Historia","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Jesteśmy offline. Prosimy o pozostawienie nam swoich danych kontaktowych i pytania, a odezwiemy się do Ciebie później!","Introduce yourselves":"Przedstaw się","Your question":"Twoje pytanie",Send:"Wyślij","Thank you!":"Dziękujemy!","The message is sent.":"Wiadomość została wysłana.","Close the window":"Zamknij okno",Sound:"Dźwięk",Finish:"Zakończ","Send a file":"Wyślij plik",Smile:"Uśmiech","Search for an answer":"Wyszukaj odpowiedź",Yes:"Tak",No:"Nie","Ask us anything":"Zapytaj nas o cokolwiek","Please describe your question in more detail":"Proszę opisać swoje pytanie bardziej szczegółowo","Got it, thank you":"Rozumiem, dziękuję","Personal manager":"Menedżer osobisty","Personal Assistant":"Osobisty asystent","Email address":"Adres e-mail","Your email address":"Twój adres e-mail","Select topic":"Wybierz temat","Your last name":"Twoje nazwisko","Please enter your last name":"Proszę wpisać swoje nazwisko","What do you think of this dialogue?":"Jak oceniasz rozmowę?","Please enter valid email":"Proszę wpisać prawidłowy adres e-mail","You rated":"Oceniłeś","Please rate this conversation":"Proszę ocenić tę rozmowę","Have I managed to help you?":"Czy udało mi się pomóc Ci?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Masz jeszcze jakieś pytania? Może poniżej znajdziesz odpowiedzi na swoje pytania! Nie znalazłeś tego czego szukałeś? Skontaktuj się z nami na LiveChat!","Go to LiveChat":"Przejdź do czatu na żywo",Hate:"Bardzo źle",Dislike:"Niedobrze",Neutral:"Neutralny",Like:"Lubię",Love:"Miłość","show FAQ":"Zobacz FAQ","Enter your message...":"Wpisz wiadomość...","Do you want to close conversation?":"Czy chcesz zakończyć rozmowę?","Back to start FAQ":"Powrót do strony głównej Często zadawane pytania","Fill in the required fields or write to us if you have a question":"Wypełnij wymagane pola lub skontaktuj się z nami, jeśli masz pytanie",required:"Wymagane","Yes, thank you!":"Tak, dziękuję!","No, talk to support":"Nie, skontaktować się z działem wsparcia","Nothing found":"Nic nie znaleziono","Contact me on LiveChat":"Skontaktuj się ze mną na czacie na żywo","Back to FAQ":"Powrót do FAQ","Reply to":"Odpowiedź dla",Exit:"Wyjście","The dialogue transcript was sent to your email address":"Kopia dialogu została wysłana na Twój adres e-mail","Enter your email address":"Wprowadź swój adres e-mail","Error. The file must be less than 10 Mb":"Błąd. Plik musi być mniejszy niż 10 Mb.","Contact me":"Skontaktuj się ze mną"},pt:{Hate:"Ódio",Dislike:"Não gosto",Neutral:"Neutro",Like:"Gosto",Love:"Adoro","Leave a request":"Fazer uma solicitação","Please enter your name ":"Por favor, insira seu nome","Visitors on the website":"Visitantes no site","Your name":"Seu nome","Start the dialogue":"Começar o diálogo","Finish the dialogue":"Terminar o diálogo","Open in a new window":"Abrir em uma nova janela",Collapse:"Colapso","The dialogue is over":"O diálogo acabou","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Para teremos a certeza que você recebeu o melhor serviço nosso, adoraríamos ouvir seus comentários.
Conseguimos ajudá-lo?",Yes:"Sim",No:"Não","Please leave us your contact information":"Por favor, informe seus contatos",Email:"Email",Phone:"Telefone",Comment:"Comente","Save the dialogue?":"Salvar o diálogo?",Back:"Voltar",Save:"Salvar","Save and exit":"Salvar e sair",History:"História","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Nós estamos offline. Por favor, informe seus contatos e sua pergunta, e entraremos em contato com você mais tarde!","Introduce yourselves":"Apresente-se","Your question":"Sua pergunta",Send:"Enviar","Thank you!":"Obrigado!","The message is sent.":"A mensagem foi enviada.","Close the window":"Fechar a janela",Sound:"Som",Finish:"Terminar","Send a file":"Envie um arquivo ",Smile:"Sorria","Search for an answer":"Procure a resposta","Ask us anything":"Pergunte-nos qualquer coisa","Please describe your question in more detail":"Por favor, descreva sua pergunta em mais detalhes ","got it, thank you":"Entendi, obrigado","Personal manager":"Gerente pessoal","Personal Assistant":"Assistente pessoal","Select topic":"Escolha o tópico","You rated":"Você avaliou","Please rate this conversation":"Por favor, classifique esta conversa","Have I managed to help you?":"Consegui te ajudar?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Você tem alguma pergunta? Talvez a resposta à sua pergunta esteja abaixo! Não encontrou o que estava procurando? Contate a operadora!","Go to LiveChat":"Conecte-se com a operadora","show FAQ":"show FAQ","Do you want to close conversation?":"QUER ENCERRAR A CONVERSA?","Please enter":"Por favor, insira seu nome","Back to start FAQ":"Perguntas frequentes de volta para casa","Fill in the required fields or write to us if you have a question":"Preencha os campos obrigatórios ou envie-nos um e-mail se você tiver alguma dúvida","Enter your message...":"Digite sua mensagem... ",required:"required","Yes, thank you!":"Sim, obrigado!","No, talk to support":"Não, falar com o suporte","Nothing found":"Nothing found","Contact me on LiveChat":"Contacte-me no LiveChat","Back to FAQ":"Retornar para FAQ","Phone for VIP":"Telefone",Exit:"Saída","The dialogue transcript was sent to your email address":"A cópia foi enviada para o seu endereço de e-mail","Enter your email address":"Introduza o seu endereço de e-mail","Error. The file must be less than 10 Mb":"Erro. O ficheiro tem de ter menos de 10 Mb.","Contact me":"Contate-me"},ro:{Hate:"Urăsc",Dislike:"Nu-mi place",Neutral:"Neutru",Like:"Îmi place",Love:"Iubesc","Leave a request":"A lăsa o cerere","Please enter your name ":"Introduceți numele dvs.","Visitors on the website":"Vizitatori ai site-ului","Your name":"Numele dumneavoastră","Start the dialogue":"Începeți un dialog","Finish the dialogue":"Terminați dialogul","Open in a new window":"Deschideți într-o fereastră nouă",Collapse:"Se restrânge","The dialogue is over":"Dialog încheiat","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Pentru a ne asigura că ați primit cele mai bune servicii din partea noastră, ne-ar plăcea să auzim feedback-ul dumneavoastră. Am reușit să vă ajutăm?",Yes:"Da",No:"Nu","Please leave us your contact information":"Vă rugăm să lăsați informațiile de contact pentru a fi contactat",Email:"E-mail",Phone:"Telefon",Comment:"Comentariu","Save the dialogue?":"Salvați dialogul?",Back:"Înapoi",Save:"Salvați","Save and exit":"Salvați și ieșiți",History:"Istoric","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Nu suntem online. Vă rugăm să ne lăsați contactele și întrebarea dumneavoastră, vă vom răspunde!","Introduce yourselves":"Prezentați-vă","Your question":"Întrebarea ta",Send:"Trimiteți","Thank you!":"Mulțumesc!","The message is sent.":"Mesaj trimis","Close the window":"Închideți fereastra",Sound:"Sunet",Finish:"Terminat","Send a file":"Trimiteți fișierul",Smile:"Emoji","Search for an answer":"Căutați un răspuns","Ask us anything":"Vă rugăm să vă adresați întrebarea","Please describe your question in more detail":"Vă rugăm să descrieți mai detaliat întrebarea dvs.","got it, thank you":"Am înțeles, mulțumesc","Personal manager":"Asistent personal","Personal Assistant":"Asistent personal","Email address":"Adresa dvs. de e-mail","Select topic":"Selectați subiectul","Your last name":"Numele dvs. de familie","Please enter your last name":"Introduceți numele de familie","Please enter valid email":"Introduceți un e-mail corect","You rated":"Ați evaluat","Please rate this conversation":"Evaluați sfatul operatorului","Have I managed to help you?":"V-am ajutat?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Aveți vreo întrebare? Poate că răspunsul la întrebarea ta este mai jos! Nu ați găsit ceea ce căutați? Întrebați operatorul!","show FAQ":"Consultați FAQ","Do you want to close conversation?":"Vrei să încheiem conversația?","Please enter":"Vă rugăm să completați","Back to start FAQ":"Înapoi la start FAQ","Fill in the required fields or write to us if you have a question":"Completați câmpurile obligatorii sau trimiteți-ne un e-mail dacă aveți o întrebare","Enter your message...":"Completați mesajul..",required:"Obligatoriu","Yes, thank you!":"Da, vă mulțumim!","No, talk to support":"Nu, conectați operatorul","Nothing found":"Nu s-a găsit nimic","Contact me on LiveChat":"Scrie-mi un mesaj","Back to FAQ":"Înapoi la FAQ","Go to LiveChat":"Conectați-vă cu un operator","Phone for VIP":"Telefon",Exit:"Ieșire","The dialogue transcript was sent to your email address":"Transcrierea dialogului a fost trimisă la adresa dumneavoastră de e-mail","Enter your email address":"Introduceți adresa dvs. de e-mail","Error. The file must be less than 10 Mb":"Eroare. Fișierul trebuie să fie mai mic de 10 Mb.","Contact me":"Contacteaza-ma"},ru:{"Leave a request":"Оставить заявку","Please enter":"Пожалуйста, заполните","Please enter your name ":"Введите ваше имя","Visitors on the website":"Посетителей на сайте","Your name":"Ваше имя","Start the dialogue":"Начать диалог","Finish the dialogue":"Завершить диалог","Open in a new window":"Открыть в новом окне",Collapse:"Свернуть","The dialogue is over":"Диалог завершен","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Ваша проблема решена?",Yes:"Да",No:"Нет","Please leave us your contact information":"Пожалуйста оставьте Ваши контакты для связи",Email:"Емейл",Phone:"Телефон",Comment:"Комментарий","Save the dialogue?":"Сохранить диалог?",Back:"Назад","Save and exit":"Сохранить и выйти",History:"История","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Мы не в сети. Пожалуйста, оставьте свои контакты и ваш вопрос, мы с вами свяжемся!","Introduce yourselves":"Представьтесь","Your question":"Your question",Send:"Отправить","Thank you!":"Спасибо!","The message is sent.":"Сообщение отправлено.","Close the window":"Закрыть окно",Sound:"Звук",Finish:"Завершить","Send a file":"Отправить файл",Smile:"Смайлик","Search for an answer":"Искать ответ","Ask us anything":"Пожалуйста, задайте ваш вопрос","Please describe your question in more detail":"Пожалуйста, опишите ваш вопрос более детально","got it, thank you":"Понял, спасибо","Personal manager":"Личный помощник","Email address":"Ваш email","Select topic":"Выберите тематику","Your last name":"Ваша фамилия","Please enter your last name":"Введите фамилию","What do you think of this dialogue?":"Что Вы думаете о диалоге?","Please enter valid email":"Введите корректный email","You rated":"Вы оценили","Please rate this conversation":"Оцените консультацию оператора","Have I managed to help you?":"Мы Вам помогли?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Возникли вопросы? Возможно, ответ на ваш вопрос есть ниже! Не нашли нужного? Обратитесь к оператору!","Go to LiveChat":"Соединить с оператором","show FAQ":"посмотреть FAQ","Do you want to close conversation?":"Вы хотите завершить диалог?","Top results":"Top results","Back to start FAQ":"Назад к стартовому FAQ","Fill in the required fields or write to us if you have a question":"Заполните обязательные поля или напишите нам если у Вас есть вопрос","Enter your message...":"Введите текст сообщения...",required:"обязательно","Yes, thank you!":"Да, спасибо!","No, talk to support":"Нет, подключить оператора","Nothing found":"Ничего не найдено","Contact me on LiveChat":"Написать мне сообщение","Back to FAQ":"Назад к FAQ","Phone for VIP":"Телефон для VIP-клиентов",Exit:"Exit"},sv:{Hate:"Hata",Dislike:"Ogilla",Neutral:"Neutral",Like:"Gilla",Love:"Älska","Leave a request":"Lämna en förfrågan","Please enter your name ":"Ange ditt namn","Visitors on the website":"Besökare på hemsidan","Your name":"Ditt namn","Start the dialogue":"Börja konversationen","Finish the dialogue":"Avsluta konversationen","Open in a new window":"Öppna i ett nytt fönster",Collapse:"Stäng ner","The dialogue is over":"Konversationen är över","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Är problemet löst",Yes:"Ja",No:"Nej","Please leave us your contact information":"Ange dina kontaktuppgifter och kommentarer",Email:"E-post",Phone:"Telefon",Comment:"Kommentar","Save the dialogue?":"Spara konversationen?",Back:"Tillbaka",Save:"Spara","Save and exit":"Spara och avsluta",History:"Historik","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Vi är offline. Vänligen lämna din kontaktinformation och din fråga, och vi återkommer till dig senare!","Introduce yourselves":"Presentera dig själv","Your question":"Din fråga",Send:"Skicka","Thank you!":"Tack!","The message is sent.":"Meddelandet har skickats.","Close the window":"Stäng fönstret",Sound:"Ljud",Finish:"Klar","Send a file":"Skicka en fil",Smile:"Le","Search for an answer":"Skriv ditt meddelande...","Ask us anything":"Fråga oss något","Please describe your question in more detail":"Beskriv din fråga mer detaljerat","got it, thank you":"Jag fattar, tack","Personal manager":"Personal manager","Personal Assistant":"Personal assistant","You rated":"Du betygsatt","Please rate this conversation":"Vänligen betygsätt denna konversation","Have I managed to help you?":"Have I managed to help you?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!","Go to LiveChat":"Go to LiveChat","show FAQ":"show FAQ","Do you want to close conversation?":"Vill du avsluta konversationen?","Please enter":"Ange ditt namn","Back to start FAQ":"Tillbaka till hemmet FAQ","Fill in the required fields or write to us if you have a question":"Fyll i de obligatoriska fälten eller skriv till oss om du har en fråga","Enter your message...":"Skriv ditt meddelande...",required:"skyldig","Yes, thank you!":"Ja","No, talk to support":"Nej","Nothing found":"Nothing found","Back to FAQ":"Back to FAQ","Phone for VIP":"Telefon",Exit:"Exit"},tr:{Hate:"Nefret",Dislike:"Beğenmemek",Neutral:"nötr",Like:"Sevmek",Love:"Aşk","Please enter your name ":"Lütfen size nasıl hitap etmemiz gerektiğini belirtin.","Visitors on the website":"Web sitesindeki ziyaretçiler","Your name":"Adınız","Start the dialogue":"Diyaloğu başlat","Finish the dialogue":"Diyaloğu bitir","Open in a new window":"Yeni pencerede aç",Collapse:"Küçült","The dialogue is over":"Diyalog sona erdi","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Sorununuz çözüldü mü?",Yes:"Evet",No:"Hayır","Please leave us your contact information":"Lütfen bize iletişim bilgilerinizi bırakın",Email:"E-posta",Phone:"Telefon",Comment:"Yorum","Save the dialogue?":"Diyaloğu kaydetmek ister misiniz?",Back:"Geri git",Save:"Kaydet","Save and exit":"Kaydet ve çık",History:"Geçmiş","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Şu an offline durumdayız. Lütfen bize iletişim bilgilerinizi bırakın. Size daha sonra dönüş yapacağız!","Introduce yourselves":"Kendinizi tanıtın","Your question":"Sorunuz",Send:"Gönder","Thank you!":"Teşekkürler!","The message is sent.":"Mesaj gönderildi.","Close the window":"Pencereyi kapat",Sound:"Ses",Finish:"Bitir","Send a file":"Dosya gönder",Smile:"Gülümse","Search for an answer":"Mesajınızı girin...","got it, thank you":"Got it, thank you","Personal manager":"Personal manager","Personal Assistant":"Personal assistant","You rated":"Takdir ettin","Please rate this conversation":"Lütfen bu sohbeti değerlendirin","Have I managed to help you?":"Have I managed to help you?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!","Go to LiveChat":"Go to LiveChat","show FAQ":"show FAQ","Do you want to close conversation?":"Görüşmeyi kapatmak istiyor musunuz?","Please enter":"Lütfen size nasıl hitap etmemiz gerektiğini belirtin.","Back to start FAQ":"Ana sayfaya dön SSS","Fill in the required fields or write to us if you have a question":"Gerekli alanları doldurun veya bir sorunuz varsa bize e-posta gönderin","Enter your message...":"Mesajınızı girin...",required:"gerekli","Yes, thank you!":"Evet","No, talk to support":"Hayır","Nothing found":"Nothing found","Back to FAQ":"Back to FAQ","Phone for VIP":"Telefon",Exit:"Exit"},uy:{"Leave a request":"Escriba su solucitud","Please enter":"Ingrese su nombre","Please enter your name":"Ingrese su nombre","Visitors on the website":"Visitantes de la página web","Your name":"Nombre","Start the dialogue":"Iniciar una conversación","Finish the dialogue":"Terminar una conversación","Open in a new window":"Abrir en una nueva ventana",Collapse:"Error","The dialogue is over":"La conversación ha finalizado","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Para asegurarnos de que Usted recibió el mejor servicio de nuestra parte, nos encantaría escuchar sus comentarios al respecto.
¿Hemos conseguido ayudarle?","Please leave us your contact information":"Por favor, ingrese su información de contacto",Email:"Dirección de correo electrónico",Phone:"Teléfono",Comment:"Comentarios","Save the dialogue?":"¿Guardar la conversación?",Back:"Volver","Save and exit":"Guardar y salir",History:"Historial","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"En este momento no estamos en línea. Ingrese sus datos de contacto y su consulta. Lo contactaremos a la brevedad!","Introduce yourselves":"Nos gustaría saber más sobre ustedes","Your question":"Su pregunta/consulta",Send:"Enviar","Thank you!":"¡Gracias!","The message is sent.":"El mensaje ha sido enviado","Close the window":"Cerrar la ventana",Sound:"Sonido",Finish:"Terminar","Send a file":"Enviar un archivo",Smile:"Sonría","Search for an answer":"Búsqueda de la respuesta",Yes:"¡Si",No:"No","Ask us anything":"Hacer una consulta","Please describe your question in more detail":"Describa su consulta detalladamente","Got it, thank you":"Entendido, ¡muchas gracias!","Personal manager":"Representante personal","Personal Assistant":"Asistente personal","Email address":"Correo electrónico",Hate:"Lo odio",Dislike:"No me gusta",Neutral:"Me es indiferente",Like:"Me gusta",Love:"Me encanta","Select topic":"Seleccionar tema","You rated":"Você avaliou","Please rate this conversation":"Califica esta conversación","Have I managed to help you?":"¿He logrado ayudarte?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"¿Usted tiene una pregunta? ¡Quizás la respuesta a tu pregunta esté abajo! ¿No encontraste lo que estabas buscando? ¡Contacte con el operador!","Go to LiveChat":"Ve al Live chat","show FAQ":"show FAQ","Enter your message...":"Ingrese su mensaje…","Do you want to close conversation?":"¿Quieres cerrar la conversación?","Back to start FAQ":"Preguntas frecuentes sobre volver a la página de inicio","Fill in the required fields or write to us if you have a question":"Rellene los campos obligatorios o envíenos un correo electrónico si tiene alguna pregunta",required:"requerir","Yes, thank you!":"¡Si, gracias!","No, talk to support":"No, hablar con soporte","Nothing found":"Nothing found","Contact me on LiveChat":"Contáctame en el chat en vivo","Back to FAQ":"Back to FAQ"},uz:{Hate:"Ҳате",Dislike:"Қатий нафарлик",Neutral:"Нейтрал",Like:"Манга манзур",Love:"Жуда ҳам ёқади","Go to LiveChat":"Operator bilan bog'lanish","Leave a request":"Ariza qoldirish","Please enter your name ":"Исмингизни киритинг","Visitors on the website":"Сайтдаги турар жамоа","Your name":"Сизнинг исмингиз","Start the dialogue":"Суҳбатни бошлаш","Finish the dialogue":"Суҳбатни тугатиш","Open in a new window":"Янги ойнада очиш",Collapse:"Қисқартириш","The dialogue is over":"Суҳбат тугатилди","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Сизнинг муаммониз ҳал қилинди",Yes:"Ҳа",No:"Йўқ","Please leave us your contact information":"Боғланиш учун илтимос, тўлиқ маълумотларингизни қолдирин",Email:"Email",Phone:"Телефон",Comment:"Изоҳ","Save the dialogue?":"Суҳбатни сақлаш",Back:"Орқага",Save:"Сақлаш","Save and exit":"Сақлаш ва чиқиш",History:"Тарих","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"Биз онлайн эмасмиз. Илтимос, маълумотларингизни ва саволингизни қолдирин, биз сиз билан боғланишадиқ!","Introduce yourselves":"Танишинг","Your question":"Саволингиз",Send:"Юбориш","Thank you!":"Рахмат!","The message is sent.":"Хабар юборилди.","Close the window":"Ойни йопиш",Sound:"Овоз",Finish:"Тугатиш","Send a file":"Файл юбориш",Smile:"Кушикча","Search for an answer":"Javob toping","Ask us anything":"Илтимос, саволингизни ёзинг","Please describe your question in more detail":"Илтимос, саволингизни тўлиқроқ тавсифланг","got it, thank you":"Тушунилди, рахмат","Personal manager":"Шахсий ёрдамчи","Personal Assistant":"Personal assistant","Email address":"Сизнинг электрон почта манзилингиз","Select topic":"Тематикани танланг","Your last name":"Фамилиянгиз","Please enter your last name":"Фамилияни киритинг","Please enter valid email":"Тўғри электрон почта манзилини киритинг","You rated":"Сиз баҳолага чиқдингиз","Please rate this conversation":"Оператор маслаҳати баҳоланг","Have I managed to help you?":"Биз сизга ёрдам бердикми?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Саволларингиз мавжудми? Мумкин, жавобини тизимда топасиз! Кераклини топа олмадингизми? Операторга мурожаат қилинг!","show FAQ":"FAQни кўриб чиқиш","Do you want to close conversation?":"Сўровни тугатмоқчимисиз?","Please enter":"Илтимос, тўлдириңг","Back to start FAQ":"Бош саҳифага орқага қайтиш","Fill in the required fields or write to us if you have a question":"Қуйидаги мажбурий майдонларни тўлдиринг ёки саволингиз бўлса бизга ёзинг","Enter your message...":"Хабарни киритинг...",required:"мажбурий","Yes, thank you!":"Ҳа, рахмат!","No, talk to support":"Йўқ, операторни қўллаб-қувватлаш","Nothing found":"Hech narsa topilmadi","Contact me on LiveChat":"Менга хабар юборинг","Back to FAQ":"FAQга орқага қайтиш","Phone for VIP":"Телефон",Exit:"Exit","Error. The file must be less than 10 Mb":"Xato. Fayl hajmi 10 Mb dan kam bo'lishi kerak"},za:{"Leave a request":"Leave a request","Please enter your name ":"Please enter your name ","Visitors on the website":"Visitors on the website","Your name":"Your name","Start the dialogue":"Start the dialogue","Finish the dialogue":"Finish the dialogue","Open in a new window":"Open in a new window",Collapse:"Collapse","The dialogue is over":"The dialogue is over","To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?":"Is your problem solved?",Yes:"Yes",No:"No","Please leave us your contact information":"Please leave us your contact information",Email:"Email",Phone:"Phone",Comment:"Comment","Save the dialogue?":"Save the dialogue?",Back:"Back",Save:"Save","Save and exit":"Save and exit",History:"History","We are offline. Please leave us your contact information and your question, and we will get in touch with you later!":"We are offline. Please leave us your contact information and your question, and we will get in touch with you later!","Introduce yourselves":"Introduce yourselves","Your question":"Your question",Send:"Send","Thank you!":"Thank you!","The message is sent.":"The message is sent.","Close the window":"Close the window",Sound:"Sound",Finish:"Finish","Send a file":"Send a file",Smile:"Smile","Search for an answer":"Search for an answer","Ask us anything":"Ask us anything","Please describe your question in more detail":"Please describe your question in more detail","got it, thank you":"Got it, thank you","Personal manager":"Personal manager","Personal Assistant":"Personal assistant","Select topic":"Select topic","Your last name":"Your last name","Please enter your last name":"Please enter your last name","What do you think of this dialogue?":"What do you think of this dialogue?","Please enter valid email":"Please enter valid email","You rated":"You rated","Please rate this conversation":"Please rate this conversation","Have I managed to help you?":"Have I managed to help you?","Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!":"Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!","Go to LiveChat":"Go to LiveChat","show FAQ":"show FAQ","Do you want to close conversation?":"Do you want to close conversation?","Please enter":"Please enter","Back to start FAQ":"Back to start FAQ","Fill in the required fields or write to us if you have a question":"Fill in the required fields or write to us if you have a question","Enter your message...":"Enter your message...",required:"required","Yes, thank you!":"Yes, thank you!","No, talk to support":"No, talk to support","Nothing found":"Nothing found","Back to FAQ":"Back to FAQ","Phone for VIP":"Phone",Exit:"Exit"}},static_ver:1713513789902,language:"ru",history_id:0,connection_timeout:0,connection_timeout_num:0,token:"",user_info:null,callbacks:{},user:{},mute:!1,uploader:null,scripts:null,blockByBonusRequest:{level:0,text:""},newProject:!1,defaultProjectName:"",offlineBlock:!1,spammerBlock:!1,platforms:{web:1,mob:2},hided:!1,replyToMessageId:null,faqShow:!1,hasPredictAutoAnswers:!1,faqConnectHistoryId:0,faqUnsolvedHistoryId:0,faqEnabled:!1,faqOnTopAnswerWasShown:!1,isSkipPredict:!1,isBackToPredictFromOnTop:!1,isSkipOnTop:!1,faqData:{},faqTitle:"",firstMessageText:"",faqFormData:null,firstMessageFormId:"",alertHide:!1,isShowPmBlock:!1,isShowPaBlock:!1,isShowDialogBlock:!1,isShowBlockByBonusPage:!0,renderedMessages:{},methods:{},subjects:[],scenarios:[],forbiddenWords:{},locale:void 0,platform:void 0,settings:{widgetSize:{width:300,height:460},newWidgetSize:{width:320,height:572}},interval:null,timeOutAutoCloseWidget:null,forceChatDeferred:!1,scenario:null,lastFaqDetails:{topicId:null,questionId:null,refCode:null,widgetScreen:null},faqPredictList:null,tempWidgetCodesWithNewFunctions:["bb","sc","mb"],constants:{maxRefCodeLength:15,defaultScenarioName:"default",minimalNameLength:2,defaultSmilesTheme:"0",randomCharacters:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",messageType:{MESSAGE:0,ATTACH:7,FORM_SEND:10,MARK:15,SILENCE_RESPONSE:22,DEFERRED:16},widgetScreens:{DEFAULT:1,ONTOP:2,PREDICT:3,PREDICTANDONTOP:4,BLOCK_BY_BONUS:5},chatDecision:{DEFAULT:0,SOLVED:1,NOT_SOLVED:2,OFFLINE:3},notStartedDeferredChatsLogType:{DEFAULT:0,ANSWER_YES:1,ANSWER_NO:2,STARTED:3},blockByBonusReqType:{NOT_BLOCKED:0,LEVEL_ONE:1,LEVEL_TWO:2},userType:{GUEST:0,USER:1,OPERATOR:2},topicItemType:{TYPE_CHAT_CLIENT:0,TYPE_CHAT_DEFERRED:3,TYPE_MAIL_INBOX:4,TYPE_MAIL_OUTBOX:5,TYPE_API_CALL:6,TYPE_API_SMS:7,TYPE_CHAT_OFFLINE:8,TYPE_SERVICE_DESK_ISSUE:9,TYPE_JIRA_SYNEFORGE_ISSUE:13,TYPE_OFFLINE_ANSWER_DEFERRED:10,TYPE_OFFLINE_ANSWER_EMAIL:11,TYPE_OFFLINE_ANSWER_CALL:12}},create:function(e,t,s,i,n,o,a,r){wr.log("UserAssist->create"),i=null!==i&&"object"==typeof i?i:{},this.options=i,this.widget_id=e,this.token=s,this.user_info=wr.getInfoUser(),this.locale=o,this.platform=a,this.methods=r,this.lastFaqDetails.refCode=Cr(wr.constants.maxRefCodeLength),!wr.localStorage.get("sessionid-"+wr.widget_id)&&wr.localStorage.get("sessionid")&&(wr.localStorage.set("sessionid-"+wr.widget_id,wr.localStorage.get("sessionid")),wr.localStorage.remove("sessionid")),this.socketInit(),!this.sessionStorage.get("starttime")&&this.sessionStorage.set("starttime",+new Date),!this.localStorage.get("visited")&&this.sessionStorage.set("newvisitor",1),this.localStorage.set("visited",1);const l=this;document.body.onunload=document.body.onbeforeunload=function(){wr.socket&&wr.socket.disconnect()},jscd.mobile&&(window.addEventListener("orientationchange",(function(){l.mobileResize()})),window.addEventListener("resize",(function(){l.mobileResize()})));try{const t=function(){s.scripts&&s.scripts.init()},s=this;jscd.mobile&&(window.addEventListener("orientationchange",(function(){s.mobileResize()})),window.addEventListener("resize",(function(){s.mobileResize()})));try{if("onhashchange"in window)window.addEventListener?window.addEventListener("hashchange",t,!1):window.attachEvent&&window.attachEvent("onhashchange",t);else{let e=window.location.href;setInterval((function(){var s=window.location.href;if(e!==s){let i=e;e=s,t.call(window,{type:"hashchange",newURL:s,oldURL:i})}}),100)}}catch(e){}}catch(e){}},init:function(e,t,s,i,n,o,a,r){wr.log("UserAssist->init"),this.init=function(){},this.create(e,t,s,i,n,o,a,r),this.initWidgetResize()},setProjectName:function(){const e=document.querySelector(".sh_chat"),t=`sh_chat--${wr.settings.projectCode.toUpperCase()}`;e&&!e.classList.contains(t)&&e.classList.add(t)},getMessengers:function(){var e;if(null!==(e=this.settings)&&void 0!==e&&e.text)return this.isUseMessengers()?this.settings.messengers:[]},isUseMessengers:function(){if(!this.settings.text.showMessenger)return!1;let e=!1;return this.isGuest()&&(e=!!this.settings.button.messengersForGuest),this.isGuest()||(e=!!this.settings.button.messengersForUser),window.jscd.mobile&&e&&(e=!!this.settings.button.messengersForMobile),e},getTemplateForMessenger:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(e||this.settings.text.showMessenger)&&!e&&this.isUseMessengers()?this.tpl.button.messengers:this.tpl.button.block},hasActiveChosenMessenger:function(){return this.settings.button.messengersForGuest&&this.isGuest()&&this.settings.button.messengersForMobile&&window.jscd.mobile||this.settings.button.messengersForUser&&!this.isGuest()&&this.settings.button.messengersForMobile&&window.jscd.mobile||this.settings.button.messengersForMobile&&window.jscd.mobile},createButton:function(){wr.log("UserAssist->createButton");const e=document.getElementsByTagName("body")[0],t=this.getTemplateForMessenger(),s=this,i={};if(this.settings.messengers&&this.settings.messengers.length&&!this.settings.spammer&&this.settings.messengers.forEach((function(e){i[e]=s.makeHTML(s.tpl.button.messenger_button,{messenger:e})})),this.tempWidgetCodesWithNewFunctions.includes(wr.settings.projectCode.toLowerCase())){const t=this.getTemplateForMessenger(!0);this.appendHTML(e,this.makeHTML(t,Object.assign(i,{modificator:"new_btn additional_btn",side_appearance:!(window.jscd.mobile&&!this.hasActiveChosenMessenger())&&this.settings.button.appearance,side_position:!(window.jscd.mobile&&!this.hasActiveChosenMessenger())&&this.settings.button.position,host:window.location.protocol+"//uassist.biz",title:this.makeButtonTitle(this.settings.text.offline),style:"display: none;"})))}this.appendHTML(e,this.makeHTML(t,Object.assign(i,{modificator:"",side_appearance:!(window.jscd.mobile&&!this.hasActiveChosenMessenger())&&this.settings.button.appearance,side_position:!(window.jscd.mobile&&!this.hasActiveChosenMessenger())&&this.settings.button.position,host:window.location.protocol+"//uassist.biz",title:this.makeButtonTitle(this.settings.text.offline),style:this.settings.button.hide?"display: none;":"visibility: visible;"}))),document.querySelectorAll(".support-btn-messengers .messenger").forEach((function(e){e.addEventListener("click",(function(){if("web"===e.dataset.messenger)return wr.settings.faq.isNewHeaderEnabled&&(wr.hideMainMessengersBtn(),wr.hideAdditionalMessengersBtn()),s.show();wr.socket.emit("client:openbot",e.dataset)}))})),function(e,t){if(!window.jscd.mobile||!e)return;const s={x:0,y:0};function i(t){if(t.changedTouches[0].pageX!==s.x&&t.changedTouches[0].pageY!==s.y){var i=t.changedTouches[0].pageX-t.target.clientWidth/2,n=t.changedTouches[0].pageY-t.target.clientHeight/2;e.parentNode.style="left: "+i+"px; top: "+n+"px;"}}e.addEventListener("touchstart",(function(e){s.x=e.changedTouches[0].pageX,s.y=e.changedTouches[0].pageY})),e.addEventListener("touchmove",(function(e){e.preventDefault(),clearTimeout(t),t=setTimeout((function(){i(e)}),20)})),e.addEventListener("touchend",i)}(document.querySelector(".support-btn-messengers summary")),this.statusChange()},faqBackBtnEvent:{func:new Function,arg:[],load:function(){wr.log("UserAssist->loadFaqBackEvent"),"function"==typeof this.func&&this.func.apply(wr,this.arg)},back:function(){if(wr.log(`UserAssist->onFaqBackEvent->${this.func.name}`),wr.lastFaqDetails.refCode&&wr.socket.emit("client:faq.back",{topicId:wr.lastFaqDetails.topicId,levelId:wr.blockByBonusRequest.level,questionId:wr.lastFaqDetails.questionId,refCode:wr.lastFaqDetails.refCode,screenId:wr.lastFaqDetails.widgetScreen}),wr.clearLastFaqDetails(),!wr.getFaqBlock())return wr.blockByBonusRequest.level<=wr.constants.blockByBonusReqType.LEVEL_TWO?(wr.getChatBlock().remove(),wr.alertHide=!1,wr.isShowPmBlock=!1,wr.isShowPaBlock=!1,wr.isShowBlockByBonusPage=!1,wr.show({skipPredict:wr.isSkipPredict})):wr.close(),!1;switch(this.func.name){case"faqShowQuestions":wr.isBackToPredictFromOnTop=!1,wr.setFaqBackBtnEvent(),wr.faqShowTopics();break;case"faqShowAnswer":const e=this.arg[1]||0;0===e?(wr.setFaqBackBtnEvent(),wr.faqShowTopics()):wr.setFaqBackBtnEvent(wr.faqShowQuestions,[e])}this.load()}},onFaqLoaded:function(){wr.log("UserAssist->onFaqLoaded"),this.faqBackBtnEvent.load(),this.setProjectName()},backToFullFaqList:function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e&&e.preventDefault(),!this.settings.faq.isScrollViewEnabled){const e=this.getActiveChat();e&&e.remove()}if(this.socket.emit("client:faq.backToAllFaqs",{topicId:wr.lastFaqDetails.topicId,levelId:wr.blockByBonusRequest.level,questionId:wr.lastFaqDetails.questionId,refCode:wr.lastFaqDetails.refCode,screenId:wr.lastFaqDetails.widgetScreen}),this.settings.faq.isScrollViewEnabled){if(t&&wr.isChatInitiation)return;this.getFaqBlock().remove(),this.clearLastFaqDetails()}this.isSkipPredict=!this.isBackToPredictFromOnTop,this.isBackToPredictFromOnTop=!1,this.blockByBonusRequest.level>0&&(wr.settings.connectedAfterBlockByBonusLevel=wr.blockByBonusRequest.level),this.chatWithOperatorStarted=!1,this.isChatInitiation=!1,wr.openedInStart=!1,this.clearMessageState(),this.setFaqBackBtnEvent(),this.showFaqBlock({skipPredict:this.isSkipPredict,showPersonalManager:!0,showPaManager:!0})},setFaqBackBtnEvent:function(e,t){wr.log("UserAssist->setFaqBackEvent"),this.faqBackBtnEvent.func="function"==typeof e?e:new Function,this.faqBackBtnEvent.arg=t||[]},addMessageEvents:function(){const e=document.getElementsByClassName("sh_message");for(const s of Array.from(e)){const i=!wr.settings.faq.isReplyIconRight&&s.classList.contains("sh_other"),n=s.getAttribute("id");if(!n||!n.includes("cw-message-"))continue;const o=n.replace("cw-message-",""),a=s.getElementsByClassName("sh_message_items")[0],r=s.querySelector(".sh_message.sh_other .glyphicon-comment.right"),l=s.getElementsByClassName("glyphicon")[0];wr.settings.faq.isScrollViewEnabled&&(s.addEventListener("touchstart",f,!1),s.addEventListener("touchmove",m,!1));const c=s.getElementsByTagName("img");for(const g of Array.from(c)){const v=g.parentElement;if(!(g.classList.contains("sh_avatar")||v&&"gallery"==v.getAttribute("data-fancybox"))){var t=document.createElement("a");t.setAttribute("data-fancybox","gallery"),t.setAttribute("data-src",g.getAttribute("src")),g.after(t),t.appendChild(g)}}br.bind('[data-fancybox="gallery"]',{hideScrollbar:!1,compact:!0});let d=null,u=null;function h(e){return e.touches||e.originalEvent.touches}function f(e){const t=h(e)[0];d=t.clientX,u=t.clientY}let p=!1;async function m(e){if(!d||!u||p)return;const t=e.touches[0].clientX,s=e.touches[0].clientY;let n=d-t,r=u-s;Math.abs(n)>Math.abs(r)&&(p=!0,n>0?(await wr.moveAllMessagesBack(),wr.replyTo(l,o),await wr.moveObject(a,i?40:-40,0,30)):wr.closeQuoteBlock()),d=null,u=null,p=!1}this.settings.faq.isScrollViewEnabled&&(s.addEventListener("mouseenter",(function(){r&&!i&&(a.offsetWidth<350?r.style.marginLeft="165px":r.style.marginLeft="auto"),wr.moveObject(a,i?40:-40,0,30)})),s.addEventListener("mouseleave",(function(){o!=wr.replyToMessageId&&wr.moveObject(a,0,0,30)})))}},moveAllMessagesBack:async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=document.getElementsByClassName("sh_message"),s=[];for(const i of Array.from(t)){const t=i.getAttribute("id");if(!t||!t.includes("cw-message-"))continue;const n=t.replace("cw-message-","");if(e&&n==e)continue;const o=i.getElementsByClassName("sh_message_items")[0];i.getElementsByClassName("glyphicon-comment")[0].classList.remove("active"),s.push(wr.moveObject(o,0,0,30))}await Promise.all(s)},moveObject:function(e,t,s,i){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;return new Promise((o=>{const a=parseInt(this.getCssStyle(e,"left"),10),r=parseInt(this.getCssStyle(e,"top"),10),l=a-t,c=r-s;let d=1;!function t(){d>=i?o():(d+=1,e.style.left=(a-l*d/i).toFixed(0)+"px",e.style.top=(r-c*d/i).toFixed(0)+"px",setTimeout(t,n))}()}))},getCssStyle:function(e,t){return window.getComputedStyle(e,null).getPropertyValue(t)},makeResizableDiv:function(e){const t=document.querySelector(e),s=document.querySelectorAll(e+" .resizer");let i=0,n=0,o=0,a=0,r=0,l=0;for(let c=0;cwr.settings.widgetSize.width&&(t.style.width=s+"px"),a>wr.settings.widgetSize.height&&(t.style.height=a+"px")):d.classList.contains("bottom-left")&&(a=n+(e.pageY-l),s=i-(e.pageX-r),a>wr.settings.widgetSize.height&&(t.style.height=a+"px"),s>wr.settings.widgetSize.width&&(t.style.width=s+"px",t.style.left=o+(e.pageX-r)+"px")),s>wr.settings.widgetSize.width&&a>wr.settings.widgetSize.height&&wr.localStorage.set("widgetSize",JSON.stringify({width:s,height:a}))}function h(){window.removeEventListener("mousemove",u)}d.addEventListener("mousedown",(function(e){e.preventDefault(),i=parseFloat(getComputedStyle(t,null).getPropertyValue("width").replace("px","")),n=parseFloat(getComputedStyle(t,null).getPropertyValue("height").replace("px","")),o=t.getBoundingClientRect().left,a=t.getBoundingClientRect().top,r=e.pageX,l=e.pageY,window.addEventListener("mousemove",u),window.addEventListener("mouseup",h)}))}},addChatEvents:function(){wr.log("UserAssist->addChatEvents");const e=document.getElementsByClassName("sh_hico_hide")[0],t=document.getElementsByClassName("sh_ic_smiles")[0],s=t&&t.parentNode?t.parentNode:null,i=Array.from(document.getElementsByClassName("sh_textarea_field"));"undefined"!=typeof ResizeObserver&&this.makeResizableDiv(".sh_chat");const n=this;this.settings.block.operatorsBusyBlock&&(document.getElementById("cw-offline-request").onclick=function(e){e.preventDefault(),n.showOfflineBlock(!0)});const o=this.throttle((function(){n.preview()}),500),a=Array.from(document.getElementsByClassName("sh_footer_menu_send")),r=(e,t)=>wr.chat?this.isChatDeferred()&&this.validateOnForbiddenWords(null==t?void 0:t.value.trim(),wr.forbiddenWords.forDeferred)?(this.send(!1),this.showDelayedReactionMessage(),void(t.value="")):void this.send():(this.submitFaqForm(),e.preventDefault());for(let e=0;e0?e.style.cssText="top: -6px !important":e.style.cssText=""};this.settings.faq.isScrollViewEnabled&&(e.onchange=t),e.onkeypress=function(s){wr.settings.faq.isScrollViewEnabled&&t();try{if(13===s.keyCode){if(!jscd.mobile)return r(s,e),!1}else n.chat&&o()}catch(e){n.log(e)}}}e.onclick=function(e){e.preventDefault(),n.hide()},document.getElementsByClassName("sh_faq_back")[0].onclick=function(e){e.preventDefault(),n.faqBackBtnEvent.back()};const l=document.getElementsByClassName("sh_enter_ico")[0];l&&(l.onclick=function(e){if(e.preventDefault(),!wr.chat)return n.submitFaqForm();const t=document.getElementsByClassName("sh_textarea_field")[0];if(n.isChatDeferred()&&n.validateOnForbiddenWords(null==t?void 0:t.value.trim(),wr.forbiddenWords.forDeferred))return n.send(!1),n.showDelayedReactionMessage(),void(t.value="");n.send()});const c=document.getElementsByClassName("muting");for(const e of Array.from(c))e.onclick=function(t){t.preventDefault(),e.classList.contains("muted")?(e.classList.remove("muted"),n.mute=!1,e.src=e.src.replace("notification_mute","notification")):(e.classList.add("muted"),n.mute=!0,e.src=e.src.replace("notification","notification_mute"))};const d=document.getElementsByClassName("sh_ic_sound")[0];d&&(d.parentNode.onclick=function(e){e.preventDefault(),/\bsh_ic_off\b/.test(this.className)?(this.className=this.className.replace(/\bsh_ic_off\b/,""),wr.settings.faq.isScrollViewEnabled||(document.getElementsByClassName("sh_ic_sound_on")[0].style.display="block",document.getElementsByClassName("sh_ic_sound_off")[0].style.display="none"),n.mute=!1):(this.className+=" sh_ic_off",wr.settings.faq.isScrollViewEnabled||(document.getElementsByClassName("sh_ic_sound_off")[0].style.display="block",document.getElementsByClassName("sh_ic_sound_on")[0].style.display="none"),n.mute=!0)});const u=document.getElementsByClassName("sh_chat_end")[0].getElementsByClassName("sh_button_back")[0],h=document.getElementsByClassName("sh_button_gray_complete")[0];h&&(h.onclick=function(e){e.preventDefault(),u&&(u.style.display="block"),n.completeDialog(),n.autoCloseWidgetEventStart()}),u&&(wr.settings.faq.isScrollViewEnabled?u.style.display="none":u.onclick=function(e){e.preventDefault(),wr.clearLastFaqDetails(),wr.chatWithOperatorStarted=!0,wr.isChatInitiation=!1,n.changeTextarea(),n.getChatBlock().getElementsByClassName("sh_chat_end")[0].style.display="none",n.statusChange(),n.autoCloseWidgetEventRemove()}),document.getElementsByClassName("sh_button_save")[0].onclick=function(e){e.preventDefault();const t=this.classList.contains("old_button");n.save(!t)};const f=document.getElementsByClassName("sh_button_exit")[0];f&&(f.onclick=function(e){e.preventDefault(),n.save()&&n.close(),n.autoCloseWidgetEventRemove()});const p=document.getElementsByClassName("sh_hico_close"),m=this.getChatBlock();for(let e=0;e{e.preventDefault(),n.save(),n.autoCloseWidgetEventRemove(),n.completeDialog(),document.getElementsByClassName("sh_backdrop")[0].remove()},document.getElementsByClassName("backdrop_close_no")[0].onclick=()=>document.getElementsByClassName("sh_backdrop")[0].remove()):(n.completeDialog(),n.autoCloseWidgetEventStart()):(n.save(!0,!1)&&n.close(),n.autoCloseWidgetEventRemove())};const g=document.querySelectorAll(".assessment-block a");Array.from(g,(function(e){e.onclick=function(e){e.preventDefault(),n.isChatDeferred()?n.showDelayedReactionMessage():e.target.parentNode.classList.contains("active")||(Array.from(g,(function(e){e.classList="grey"})),e.target.parentNode.classList="active",wr.setMark(e.target.dataset.value))}}));const v=this.settings.faq.isScrollViewEnabled?document.getElementsByClassName("sh_chat_radio"):document.getElementsByClassName("sh_chat_vote");for(let e=0;e=0;t--){var s=e[t].scrollTop;e[t].addEventListener("focusout",(function(){window.scrollTo(s,0)}))}}(b),s&&function e(){s.onclick=function(t){t.preventDefault(),this.onclick=function(t){t.preventDefault(),s.removeChild(s.getElementsByClassName("sh_smiles")[0]),e(),s.classList.remove("active")},s.classList.add("active"),n.appendHTML(this,n.makeHTML(n.tpl.chat.smiles,{}));for(var o=this.getElementsByClassName("sh_smile"),a=0;ainitUploader");const e=document.getElementsByClassName("sh_attach_file")[0];e&&(wr.log("UserAssist->initUploader->attached"),wr.uploader.listenOnInput(e),wr.uploader.removeEventListener("error",wr.fileUploaderCallback),wr.uploader.addEventListener("error",wr.fileUploaderCallback))},fileUploaderCallback:function(e){if(1===e.code&&wr.lastUploadError!==e.timeStamp){if(wr.settings.faq.isScrollViewEnabled){const t=wr.getFaqList();return!!t&&(wr.lastUploadError=e.timeStamp,wr.appendHTML(t,wr.makeHTML(wr.tpl.message.item,{message_id:-1,isNewProject:wr.newProject,text:wr.htmlFunctions.translate("Error. The file must be less than 10 Mb"),modificator:"sh_silence_response sh_max_file_size_error"})),wr.scrollToEndOfChat(),!0)}wr.appendMessageToEndChat({message_id:-1,client:wr.chat.clients.user[0],timestamp:new Date},wr.getMessageHtmlData({type_id:wr.constants.messageType.SILENCE_RESPONSE,message_id:-1,chat_id:wr.chat.chat_id,text:wr.htmlFunctions.translate("Error. The file must be less than 10 Mb")}),""),wr.scrollToEndOfChat()}},replyTo:function(e,t){const s=document.getElementsByClassName("sh_quote_block")[0];if(!s)return;s.classList.remove("sh_hide_i");const i=wr.getMessage(t);if(!i)return;let n="",o=Er(i.messageObj.text);i.messageObj.type_id===this.constants.messageType.ATTACH?(wr.isImg(i.messageObj.text.name)&&(n=`${window.location.protocol+"//cdn.uassist.biz/public"}/mogile/${i.messageObj.message_id}-${i.messageObj.text.base}`),o=i.messageObj.text.name+" ("+wr.readableFileSize(i.messageObj.text.size)+")"):n=function(e){if(!e)return null;const t=document.createElement("div");t.innerHTML=e;const s=t.querySelector("img");return s?s.getAttribute("src"):null}(i.messageObj.text)||"";const a=+wr.settings.text.quoteTextLength;a&&(o=o.length>a?o.substring(0,a)+"...":o),s.innerHTML=wr.makeHTML(wr.tpl.message.quote,{text:o,name:i.name,image:n,time:wr.makeTime(i.messageObj.timestamp),isNewProject:wr.newProject}),wr.replyToMessageId=t,wr.activeReplyObject&&(wr.activeReplyObject.classList.remove("active"),wr.moveAllMessagesBack(t)),wr.activeReplyObject=e,e.classList.add("active");const r=document.getElementsByClassName("sh_textarea_field")[0];r&&r.focus()},closeQuoteBlock:function(){wr.replyToMessageId=null;const e=document.getElementsByClassName("sh_quote_block")[0];e&&(e.classList.add("sh_hide_i"),wr.moveAllMessagesBack())},isGuest:function(){return wr.log("UserAssist->isGuest"),wr.log("User ID: "+wr.token.user_id),wr.log("isGuest: "),wr.log(0===parseInt(wr.token.user_id)),0===parseInt(wr.token.user_id)},updateClientName:function(e){e&&this.localStorage.set("user-name",e)},isChatDeferred:function(){return wr.forceChatDeferred||wr.delayedReactionMessageShowed?wr.forceChatDeferred:wr.chat&&wr.chat.messages?wr.chat.messages.some((e=>e.type_id===wr.constants.messageType.DEFERRED))&&!wr.chat.messages.some((e=>e.type_id===wr.constants.messageType.MESSAGE)):wr.forceChatDeferred},removeAllConnectButtons:function(){this.settings.faq.isScrollViewEnabled&&(document.querySelectorAll(".sh_faq_bridge").forEach((e=>e.classList.add("disabled"))),document.querySelectorAll(".sh_faq_help__answer--yes").forEach((e=>e.classList.add("disabled"))),document.querySelectorAll(".sh_faq_help__answer--no").forEach((e=>e.classList.add("disabled"))),document.querySelectorAll(".sh_faq_bridge__button").forEach((e=>e.classList.add("disabled"))))},getClientNameMarkup:function(e){return this.user.name=this.getClientName(),this.settings.block.askClientNameFirstly&&this.user.name?"":this.makeHTML(this.tpl.chat.client_name,{name:this.user.name,userIdentification:this.settings.userIdentification&&this.settings.userIdentification.enabled&&this.isGuest()?this.makeHTML(this.tpl.chat.user_identification,{lastName:this.settings.userIdentification.lastName?this.makeHTML(this.tpl.chat.last_name,{}):""}):"",subject:this.settings.isSubjectEnabled&&this.subjects&&this.subjects.length?this.makeHTML(this.tpl.chat.subject,{isNewProject:wr.newProject,subjectsOptionsHtml:e}):""})},getFaqList:function(){const e=document.getElementsByClassName("sh_faq-list");return e.length?e[0]:null},getFaqBlock:function(){const e=document.getElementsByClassName("sh_faq_block");return e.length?e[0]:null},getActiveChat:function(){let e=this.getChatBlock();return this.settings.faq.isScrollViewEnabled&&this.getFaqList()&&(e=document.getElementsByTagName("body")[0].getElementsByClassName("chat_scroll_block")[0]),e},createBlock:function(){if(wr.log("UserAssist->createBlock"),this.getActiveChat())return this.addChatEvents(),!1;if(xr(),!wr.settings.faq.isScrollViewEnabled&&wr.isShowBlockByBonusPage&&this.showBlockByBonusRequestBlock())return!1;let e="";this.settings.block.operatorsBusyBlock&&(e=this.makeHTML(this.tpl.chat.busy,{operators_busy_text:this.settings.text.operatorsBusy}));let t="";if(this.settings.isSubjectEnabled&&this.subjects&&this.subjects.length)for(var s in this.subjects){var i=this.subjects[s];this.scenario=this.scenario||this.defaultScenario;var n=this.isScenarioDefault()?this.tpl.chat.subject_option:this.tpl.chat.subject_custom_scenario_option;i.scenarios.includes(this.scenario.id)&&(t+=this.makeHTML(n,{selected:this.subjectId==i.id?"selected":"",...i,isNewProject:wr.newProject}))}const o=document.getElementsByTagName("body")[0],a=this.getFaqList();let r=o,l=this.tpl.chat.block,c=this.tpl.chat.online;this.settings.faq.isScrollViewEnabled&&a&&(r=a,l=this.tpl.chat.block_scroll,c=this.tpl.chat.online_scroll);let d="";if(this.scenario&&void 0!==this.scenario.welcomeMessage&&(d=this.scenario.welcomeMessage.trim()),this.appendHTML(r,this.makeHTML(l,{title:this.settings.text.offline,offline:this.makeHTML(this.tpl.chat.offline,{}),auth:this.makeHTML(this.isScenarioDefault()?this.tpl.chat.auth:this.tpl.chat.auth_custom_scenario,{isNewProject:wr.newProject,welcomeMessage:""!==d?this.makeHTML(this.tpl.chat.welcome_message,{text:d}):"",clientName:this.getClientNameMarkup(t),firstMessage:this.settings.block.clientFirstMessage?this.makeHTML(this.tpl.chat.first_message,{}):""}),online:this.makeHTML(c,{wait:this.makeHTML(this.tpl.chat.wait,{text_waiting:this.settings.text.waiting,operators_busy_block:e,isNewProject:wr.newProject}),history:this.makeHTML(this.tpl.chat.history,{}),footer:this.makeHTML(this.tpl.chat.online_footer,{showAssessment:this.settings.text.marking?"":"sh_hide",isNewProject:wr.newProject,preset:this.settings.smilesTheme||this.constants.defaultSmilesTheme}),showAssessment:this.settings.text.marking?"":"sh_hide",preset:this.settings.smilesTheme||this.constants.defaultSmilesTheme}),delayed_reaction_message:this.makeHTML(this.tpl.chat.delayed_reaction_message,{delayedReactionMessage:this.settings.text.delayedReactionMessage}),finish:this.makeHTML(this.tpl.chat.finish,{isNewProject:wr.newProject,problemResolvedMessage:this.settings.text.problemResolvedMessage||this.htmlFunctions.translate("To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?"),problemResolvedYes:this.settings.text.problemResolvedYes||this.htmlFunctions.translate("Yes"),problemResolvedNo:this.settings.text.problemResolvedNo||this.htmlFunctions.translate("No")}),host:window.location.protocol+"//uassist.biz",sound:this.settings.sound,position:this.getBlockPosition(),widgetSize:this.getBlockSize(),projectCode:wr.settings.projectCode.toLowerCase()})),this.addChatEvents(),this.statusChange(),this.updateHeader(),jscd.mobile?this.mobileResize():this.draggable(),wr.settings.faq.isScrollViewEnabled&&wr.isShowBlockByBonusPage&&this.showBlockByBonusRequestBlock())return!1;const u=this.settings.isSubjectEnabled&&t;if(!this.isScenarioDefault()&&!u&&this.user.name)return this.dialogStart();u&&this.addSubjectEvents()},addSubjectEvents:function(){const e=this,t=function(t){e.subjectId=t.target.value;const s=e.subjects.find((t=>t.id==e.subjectId));if(s){let t="";for(const i of Object.keys(s.custom_fields)){const n=s.custom_fields[i];t+=e.makeHTML(e.tpl.chat.subject_custom_field,{id:i,name:n})}document.getElementsByClassName("subject-custom-fields")[0].innerHTML=t}};if(wr.settings.faq.isScrollViewEnabled){const e=document.getElementsByClassName("sh_subject_selector")[0];e&&e.addEventListener("change",t)}else{var s=document.querySelectorAll(".subject-radio");Array.from(s,(function(e){e.addEventListener("change",t)}))}},createSpammerBlock:function(){wr.log("UserAssist->createSpammerBlock");const e=document.getElementsByTagName("body")[0];xr(),this.appendHTML(e,this.makeHTML(this.tpl.chat.block,{title:this.settings.text.online,position:this.getBlockPosition(),widgetSize:this.getBlockSize(),online:this.makeHTML(this.tpl.chat.spammer,{spammer_block_text:this.settings.text.messageToDetectedSpammer})})),this.spammerBlock=!0,this.addSpammerBlockEvents()},addSpammerBlockEvents:function(){const e=this;document.getElementsByClassName("sh_hico_close")[0].onclick=function(t){t.preventDefault(),e.getChatBlock().style.display="none"},document.getElementsByClassName("sh_hico_hide")[0].onclick=function(t){t.preventDefault(),e.getChatBlock().style.display="none"},jscd.mobile?this.mobileResize():this.draggable()},checkShowBlockByBonusPage:function(){return wr.log("UserAssist->checkShowBlockByBonusPage"),this.isShowBlockByBonusPage&&(this.blockByBonusRequest.text.length||this.blockByBonusRequest.level)?(wr.isBackToPredictFromOnTop=!0,wr.faqOnTopAnswerWasShown=!1,!0):(wr.isShowBlockByBonusPage=!1,!1)},showBlockByBonusRequestBlock:function(){wr.log("UserAssist->showBlockByBonusRequestBlock");const e=document.getElementsByTagName("body")[0];if(this.getActiveChat()||!this.checkShowBlockByBonusPage())return!1;this.settings.faq.isScrollViewEnabled||xr(),wr.lastFaqDetails.widgetScreen=wr.constants.widgetScreens.BLOCK_BY_BONUS;let t="";this.settings.block.operatorsBusyBlock&&(t=this.makeHTML(this.tpl.chat.busy,{operators_busy_text:this.settings.text.operatorsBusy})),wr.socket.emit("client:blockByBonusRequest.showLog",{level:wr.blockByBonusRequest.level,project_id:wr.user.project_id,user_id:wr.user.user_id});const s=this.getFaqList(),i=this;this.appendHTML(this.settings.faq.isScrollViewEnabled?s:e,this.makeHTML(this.settings.faq.isScrollViewEnabled?this.tpl.chat.block_by_bonus_request_scroll:this.tpl.chat.block_by_bonus_request,{title:wr.online?this.settings.text.online:this.settings.text.offline,position:this.getBlockPosition(),widgetSize:this.getBlockSize(),offline:this.makeHTML(this.tpl.chat.offline,{}),text:this.blockByBonusRequest.text.nl2br(),show_faq_btn:this.faqEnabled&&(this.blockByBonusRequest.level0?i.user.name:i.localStorage.get("user-name")||""}),firstMessage:this.settings.block.clientFirstMessage?i.makeHTML(i.tpl.chat.first_message,{}):""}),online:this.makeHTML(this.tpl.chat.online,{wait:this.makeHTML(this.tpl.chat.wait,{text_waiting:this.settings.text.waiting,operators_busy_block:t,isNewProject:wr.newProject}),footer:this.makeHTML(this.tpl.chat.online_footer,{showAssessment:this.settings.text.marking?"":"sh_hide",isNewProject:wr.newProject,preset:this.settings.smilesTheme||this.constants.defaultSmilesTheme}),history:this.makeHTML(this.tpl.chat.history,{}),showAssessment:this.settings.text.marking?"":"sh_hide",preset:this.settings.smilesTheme||this.constants.defaultSmilesTheme}),delayed_reaction_message:this.makeHTML(this.tpl.chat.delayed_reaction_message,{delayedReactionMessage:this.settings.text.delayedReactionMessage}),finish:this.makeHTML(this.tpl.chat.finish,{isNewProject:wr.newProject,problemResolvedMessage:this.settings.text.problemResolvedMessage||this.htmlFunctions.translate("To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?"),problemResolvedYes:this.settings.text.problemResolvedYes||this.htmlFunctions.translate("Yes"),problemResolvedNo:this.settings.text.problemResolvedNo||this.htmlFunctions.translate("No")})}));const n=document.querySelector(".sh_faq_bridge_fake");n&&n.remove(),this.settings.faq.isScrollViewEnabled&&(this.blockByBonusRequest.levelcreateFaqBlock");var e=document.getElementsByTagName("body")[0];if(this.getActiveChat())return!1;xr();var t="";this.settings.block.operatorsBusyBlock&&(t=this.makeHTML(this.tpl.chat.busy,{operators_busy_text:this.settings.text.operatorsBusy}));var s=this.tpl.faq.block,i=this.makeHTML(this.tpl.faq.show_all_faqs_btn,{modificator:wr.settings.faq.isScrollViewEnabled?"sh_faq_bridge__button":"",name:this.settings.faq.isScrollViewEnabled?this.htmlFunctions.translate("Back to FAQ"):this.settings.text.faqShowOtherAnswers||this.htmlFunctions.translate("Show all answers")});const n=this.isShowAllFaqBtns();this.settings.faq.isScrollViewEnabled&&(s=this.tpl.faq.block_scroll),this.faqData.onTopAnswer&&this.faqOnTopAnswerWasShown&&(wr.lastFaqDetails.widgetScreen=wr.isQuestionIsPredict(wr.faqData.onTopQuestionId,wr.faqData.onTopTopicId)?wr.constants.widgetScreens.PREDICTANDONTOP:wr.constants.widgetScreens.ONTOP);var o=this.getClientName();this.appendHTML(e,this.makeHTML(s,{title:wr.online?this.settings.text.online:this.settings.text.offline,faq_title:this.settings.text.faqTitle||this.htmlFunctions.translate("Do you have any questions? Perhaps the answer to your question is below! Didn't find what you're looking for? Contact us in the LiveChat!"),host:window.location.protocol+"//uassist.biz",position:this.getBlockPosition(),widgetSize:this.getBlockSize(),offline:this.makeHTML(this.tpl.chat.offline,{}),connect_with_operator_btn:this.blockByBonusRequest.levelHave we managed to help you?"),problemResolvedYes:this.settings.text.problemResolvedYes||this.htmlFunctions.translate("Yes"),problemResolvedNo:this.settings.text.problemResolvedNo||this.htmlFunctions.translate("No")}),projectCode:wr.settings.projectCode.toLowerCase(),sound:this.settings.sound,isNewProject:wr.newProject,isNewHeaderEnabled:wr.settings.faq.isNewHeaderEnabled})),this.addChatEvents(),this.updateHeader(),this.hideOfflineBlocks(e),wr.setProjectName();const a=document.getElementsByClassName("sh_textarea_faq_field")[0];a&&(a.onblur=()=>setTimeout((()=>wr.clearFaqPredictionList()),500),a.onfocus=()=>wr.showFaqPredictList(),a.onkeyup=e=>{const t=e.target.value;if(13!==e.keyCode){if(t.length<4)return this.faqPredictList=null,void wr.clearFaqPredictionList();try{wr.socket.emit("client:faq.predict",{text:t})}catch(e){this.log(e)}}else e.preventDefault()});const r=document.getElementsByClassName("sh_faq__title")[0];if(r&&(this.faqTitle=r.innerHTML),this.alertHide||this.showAlert(),!this.faqShowTopics())return!1;if(jscd.mobile?this.mobileResize():this.draggable(),this.isShowPmBlock||this.isChatDeferred()||this.showPersonalManager(),this.isChatDeferred()||this.showPaManager(),n&&this.settings.faq.isScrollViewEnabled){const e=document.getElementsByClassName("sh_faq_back");for(const t of Array.from(e))t.style.display="none";const t=document.querySelector(".sh_faq_help__answer .sh_faq_bridge__button");t&&(t.style.display="none")}},disableAllConnectWithOperatorButton:function(){if(!this.settings.faq.isScrollViewEnabled)return;const e=document.getElementsByClassName("sh_faq_open_chat");for(const t of Array.from(e))t.classList.add("disabled")},prepareTopics:function(){wr.log("UserAssist->prepareTopics");const e=[];if(wr.log({faqData:this.faqData}),this.settings.faq.isScrollViewEnabled&&this.isChatInitiation)return[];if(this.faqData.onTopAnswer&&!wr.faqOnTopAnswerWasShown)return{onTopAnswer:this.faqData.onTopAnswer,onTopQuestionId:this.faqData.onTopQuestionId,onTopTopicId:this.faqData.onTopTopicId};const t=`/widget/images/svg/${wr.settings.projectCode.toLowerCase()}`,s=wr.settings.projectCode.toLowerCase(),i="sc"===s||"bb"===s?"webp":"svg",n=[`${t}/deposit_topic.${i}`,`${t}/bonuses_topic.${i}`,`${t}/games_topic.${i}`,`${t}/withdrawal_topic.${i}`,`${t}/verification_topic.${i}`,`${t}/myaccount_topic.${i}`,`${t}/other_topic.${i}`,`${t}/empty_topic.svg`],o=Object.keys(this.faqData).map((e=>this.faqData[e])).sort((function(e,t){if(t.priority==e.priority){const s=new Date(e.created_date),i=new Date(t.created_date);return s.getTime()-i.getTime()}return t.priority-e.priority}));let a=0;const r=n.length-1;for(const t of o)if(this.hasPredictAutoAnswers||!t.name){if(t.questions)for(const s in t.questions){if(wr.faqQuestionIsOutGroup(+s,+t.topic_id))continue;const i=t.questions[s];e.push({title:i.question,topic:"",isPredict:!0,topicId:'data-topicid="'+t.topic_id+'"',question:"question",formId:i.form_id,questionId:'data-id="'+s+'"',priority:i.priority,created_date:i.created_date,topicIcon:n[r],emptyIcon:"empty"})}a++}else e.push({title:t.name,topic:"topic",topicId:'data-id="'+t.topic_id+'"',question:"",formId:t.form_id,questionId:"",priority:t.priority,created_date:t.created_date,topicIcon:n[a>r?r:a],emptyIcon:a>r||n[a].includes("other_topic")||n[a].includes("empty_topic")?"empty":""}),a++;return e},faqQuestionIsOutGroup:function(e,t){return!!this.faqData.questionsOutGroup.find((s=>+s.id==+e&&+s.topicId==+t))},prepareQuestions:function(e){wr.log("UserAssist->prepareQuestions");const t=[];for(const s in this.faqData[e].questions)this.faqData[e].questions.hasOwnProperty(s)&&t.push({title:this.faqData[e].questions[s].question,topic:"",formId:this.faqData[e].questions[s].form_id,topicId:"",question:"question detailed",questionId:'data-id="'+s+'"',priority:this.faqData[e].questions[s].priority,created_date:this.faqData[e].questions[s].created_date});return t.sort((function(e,t){if(t.priority==e.priority){const s=new Date(e.created_date),i=new Date(t.created_date);return s.getTime()-i.getTime()}return t.priority-e.priority}))},faqAddTopicsEvents:function(){wr.log("UserAssist->faqAddTopicsEvents");const e=this,t=document.getElementsByClassName("topic");for(let s=0;sfaqAddQuestionsEvents");const t=this,s=document.getElementsByClassName("question");for(let i=0;i{e.classList.remove("active")})),this.classList.add("active");const i=+this.getAttribute("data-form-id"),n=this.getAttribute("data-id"),o=this.getAttribute("data-topicid");e=o||e||0,i?wr.socket.emit("client:chat.message.form",{formId:i,topicId:e,questionId:n}):t.faqShowAnswer(n,e,!1,(function(){t.setFaqBackBtnEvent(t.faqShowAnswer,[n,e])}))}},showBlockByBonusRequestEvent:function(){const e=this,t=document.getElementsByClassName("sh_block_by_bonus_open_chat")[0];t&&(t.onclick=function(s){s.preventDefault(),e.settings.faq.isScrollViewEnabled?(e.openChatByButton(!0),t.classList.add("disabled")):(document.getElementsByClassName("sh_block_by_bonus_block")[0].remove(),e.open(),e.createBlock(),e.showOnlineBlock()),wr.settings.connectedAfterBlockByBonusLevel=wr.blockByBonusRequest.level});const s=document.getElementsByClassName("sh_block_by_bonus_back_to_faq")[0];s&&(s.onclick=function(t){e.backToFullFaqList(t)});const i=document.getElementsByClassName("back-block-by-bonus-btn")[0];i&&(i.onclick=function(t){e.backToFullFaqList(t)})},faqShowTopics:function(){wr.log("UserAssist->faqShowTopics");const e=this.getFaqList();if(!e)return!1;this.lastFaqDetails.refCode=Cr(wr.constants.maxRefCodeLength);const t=document.getElementsByClassName("sh_faq__title")[0];t&&(t.innerHTML=this.faqTitle,t.classList.remove("faq_topic_title")),document.getElementsByClassName("sh_faq")[0].classList.remove("answer_detail"),e.innerHTML="",document.getElementsByClassName("sh_faq_help")[0].style.display="none";const s=document.getElementsByClassName("sh_faq_back");for(const e of Array.from(s))e.style.display="none";if(this.disableAllConnectWithOperatorButton(),this.settings.faq.isScrollViewEnabled&&this.isChatInitiation||this.openedInStart)return!1;!this.hasPredictAutoAnswers||this.faqData.onTopAnswer&&!this.faqOnTopAnswerWasShown?this.lastFaqDetails.widgetScreen=this.constants.widgetScreens.DEFAULT:this.lastFaqDetails.widgetScreen=this.constants.widgetScreens.PREDICT,document.getElementsByClassName("sh_show-all-faq-list").length&&(document.getElementsByClassName("sh_show-all-faq-list")[0].style.display="block");const i=this.prepareTopics(),n=this;if(i.onTopAnswer){if(wr.log("UserAssist->faqShowTopics->onTopAnswer"),!this.settings.faq.isScrollViewEnabled||!this.checkShowBlockByBonusPage()){const t=function(){n.setFaqBackBtnEvent(n.faqShowAnswer,[i.onTopQuestionId,i.onTopTopicId]),wr.hasPredictAutoAnswers||(wr.faqOnTopAnswerWasShown=!1)};wr.settings.text.scrollWelcomeMessagePersonal&&this.appendHTML(e,this.makeHTML(this.tpl.faq.link_scroll,{items:wr.settings.text.scrollWelcomeMessagePersonal,nick_sel:" sh_mess_nick_sel",modificator:"sh_other "+(wr.settings.text.scrollWelcomeMessagePersonalSecond?"sh_disabled--avatar":"sh_ende")})),wr.settings.text.scrollWelcomeMessagePersonalSecond&&this.appendHTML(e,this.makeHTML(this.tpl.faq.link_scroll,{items:wr.settings.text.scrollWelcomeMessagePersonalSecond,nick_sel:" sh_mess_nick_sel",modificator:"sh_other sh_ende"})),this.faqShowAnswer(i.onTopQuestionId,i.onTopTopicId,!1,t,!this.settings.faq.isScrollViewEnabled),this.faqConnectOperatorEvent(!0,i.onTopQuestionId,this.lastFaqDetails.refCode,t)}return wr.isBackToPredictFromOnTop=!0,wr.faqOnTopAnswerWasShown=!0,!0}if(wr.settings.faq.isScrollViewEnabled&&this.checkShowBlockByBonusPage())return this.isBackToPredictFromOnTop=!0,!0;if(this.settings.faq.isScrollViewEnabled&&(wr.faqOnTopAnswerWasShown=!0),!i.length){const e=this.getFaqBlock();return e&&!wr.settings.faq.isScrollViewEnabled&&e.remove(),this.faqShow=!1,this.open(),!1}if(this.settings.faq.isScrollViewEnabled){let t=!0;for(const e of i)if(!e.isPredict){t=!1;break}this.clearMessageState(),t?(wr.settings.text.scrollWelcomeMessagePersonal&&this.appendHTML(e,this.makeHTML(this.tpl.faq.link_scroll,{items:wr.settings.text.scrollWelcomeMessagePersonal,nick_sel:" sh_mess_nick_sel",modificator:"sh_other "+(wr.settings.text.scrollWelcomeMessagePersonalSecond?"sh_ende":"")})),wr.settings.text.scrollWelcomeMessagePersonalSecond&&this.appendHTML(e,this.makeHTML(this.tpl.faq.link_scroll,{items:wr.settings.text.scrollWelcomeMessagePersonalSecond,nick_sel:" sh_mess_nick_sel",modificator:"sh_other"}))):(wr.settings.text.scrollWelcomeMessageFirst&&this.appendHTML(e,this.makeHTML(this.tpl.faq.link_scroll,{items:wr.settings.text.scrollWelcomeMessageFirst,nick_sel:" sh_mess_nick_sel",time:wr.makeTime(new Date),modificator:"sh_other "+(wr.settings.text.scrollWelcomeMessageSecond?"sh_ende":"")})),wr.settings.text.scrollWelcomeMessageSecond&&this.appendHTML(e,this.makeHTML(this.tpl.faq.link_scroll,{items:wr.settings.text.scrollWelcomeMessageSecond,nick_sel:" sh_mess_nick_sel",modificator:"sh_other"}))),this.appendHTML(e,this.makeHTML(this.tpl.faq.link_scroll,{nick_sel:" sh_mess_nick_sel",items:this.getTopicsHTML(i).join(""),modificator:t?"sh_question sh_question_moder":"sh_message--topic",isNewProject:wr.newProject,needButton:wr.newProject&&wr.settings.faq.isConnectButtonUnderTopicsEnabled}));const s=document.querySelectorAll(".sh_faq_bridge__button.sh_faq_open_chat");s.length>1&&s[1].remove();const n=document.querySelector(".sh_faq_bridge_fake");this.blockByBonusRequest.level===wr.constants.blockByBonusReqType.LEVEL_TWO&&!this.settings.enable_opportunity_write_faq_page&&n&&n.remove()}else for(const t in i)this.appendHTML(e,this.makeHTML(this.tpl.faq.link,{...i[t],isNewProject:wr.newProject}));const o=document.getElementsByClassName("sh_faq__inputer")[0];return o&&(this.faqPredictList=null,o.style.display=this.isShowAllFaqBtns()||this.hasPredictAutoAnswers?"none":"block"),this.faqAddQuestionsEvents(),this.faqAddTopicsEvents(),this.faqConnectOperatorEvent(),this.onFaqLoaded(),!0},getTopicsHTML:function(e){const t=[];for(const s in e)t.push(this.makeHTML(this.tpl.faq.topic_scroll,{...e[s],isNewProject:wr.newProject}));return t},faqShowQuestions:function(e){if(wr.chatWithOperatorStarted||wr.isChatInitiation||wr.settings.faq.isScrollViewEnabled&&!wr.faqOnTopAnswerWasShown)return;wr.log("UserAssist->faqShowQuestions"),this.setFaqBackBtnEvent(this.faqShowQuestions,[e]);const t=this.getFaqList(),s=this.faqData[e].name;wr.lastFaqDetails.topicId=e;const i=this.prepareQuestions(e),n=document.getElementsByClassName("sh_textarea_faq_field")[0];if(n&&n.removeAttribute("disabled"),this.disableAllConnectWithOperatorButton(),this.hideInputer(),this.settings.faq.isScrollViewEnabled){const n=[];for(const t in i)n.push(this.makeHTML(this.tpl.faq.topic_scroll,{...i[t],topicId:`data-topicid="${e}"`}));(this.blockByBonusRequest.level2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(wr.chatWithOperatorStarted||wr.isChatInitiation||this.settings.faq.isScrollViewEnabled&&wr.lastFaqDetails.topicId==t&&wr.lastFaqDetails.questionId==e)return;this.hideInputer(),wr.lastFaqDetails.topicId=t,wr.lastFaqDetails.questionId=e,this.lastFaqDetails.refCode=Cr(wr.constants.maxRefCodeLength),wr.log("UserAssist->faqShowAnswer");const o=this;if(t=void 0!==t?t:0,this.disableAllConnectWithOperatorButton(),(void 0===s||!1===s)&&(this.hasPredictAutoAnswers||this.faqData.onTopAnswer&&!wr.faqOnTopAnswerWasShown||0==+t?(o.setFaqBackBtnEvent(o.faqShowQuestions),!this.faqOnTopAnswerWasShown&&this.faqData.onTopAnswer&&(wr.lastFaqDetails.widgetScreen=wr.isQuestionIsPredict(wr.faqData.onTopQuestionId,wr.faqData.onTopTopicId)?wr.constants.widgetScreens.PREDICTANDONTOP:wr.constants.widgetScreens.ONTOP)):this.setFaqBackBtnEvent(this.faqShowAnswer,[e,t]),!wr.settings.faq.isScrollViewEnabled)){const e=document.getElementsByClassName("sh_faq_back");for(const t of Array.from(e))t.style.display="block"}const a=document.getElementsByClassName("sh_textarea_faq_field")[0];a&&a.removeAttribute("disabled"),wr.log({questionId:e,topicId:t,question:this.faqData[t].questions[e]});const r=this.getFaqList();if(this.settings.faq.isScrollViewEnabled){const s=this.faqData[t].questions[e].answer.split("{break}");if(this.sendFAQByUser(this.faqData[t].questions[e].question,!1),s.forEach(((i,n)=>this.appendHTML(r,this.makeHTML(this.tpl.faq.link_scroll,{items:i,nick_sel:" sh_mess_nick_sel",time:wr.makeTime(new Date),title:this.faqData[t].questions[e].question,modificator:"sh_other "+(n!==s.length-1?"sh_ende":"")})))),this.appendHTML(r,this.makeHTML(this.tpl.faq.link_scroll_helped,{items:this.faqData[t].questions[e].answer,refCode:this.lastFaqDetails.refCode,questionId:e,title:this.faqData[t].questions[e].question,modificator:"sh_other"})),n&&this.scrollToLastMessage(2+s.length-1),this.faqAddQuestionsEvents(t),this.faqAddTopicsEvents(),this.faqConnectOperatorEvent(),this.isShowAllFaqBtns()){const e=document.querySelectorAll(".sh_faq_help__answer .sh_faq_bridge__button");if(e.length){const t=e[e.length-1];t&&(t.style.display="none")}}const i=document.querySelector(".sh_faq_bridge_fake");this.blockByBonusRequest.level===wr.constants.blockByBonusReqType.LEVEL_TWO&&!this.settings.enable_opportunity_write_faq_page&&i&&i.remove()}else{document.getElementsByClassName("sh_faq_help")[0].style.display="block",document.getElementsByClassName("sh_show-all-faq-list")[0].style.display="none";const s=document.getElementsByClassName("sh_faq__title")[0];s&&(s.innerHTML=this.faqData[t].questions[e].question,s.classList.remove("faq_topic_title")),document.getElementsByClassName("sh_faq")[0].classList.add("answer_detail"),document.getElementsByClassName("sh_faq-list")[0].innerHTML=this.faqData[t].questions[e].answer,r.innerHTML=this.faqData[t].questions[e].answer,document.getElementsByClassName("sh_faq_help__answer--yes")[0].onclick=function(e){e.preventDefault(),o.faqAnswerGood(wr.lastFaqDetails.refCode,wr.lastFaqDetails.questionId)},document.getElementsByClassName("sh_faq_help__answer--no")[0].onclick=function(e){e.preventDefault(),o.faqAnswerBad(wr.lastFaqDetails.refCode,wr.lastFaqDetails.questionId,i||function(){o.setFaqBackBtnEvent(o.faqShowAnswer,[wr.lastFaqDetails.questionId,t])})}}const l=document.querySelectorAll(this.settings.faq.isScrollViewEnabled?".sh_message .sh_message_items img":".sh_faq-list img");for(const e of Array.from(l)){const t=e.parentElement;if(!(e.classList.contains("sh_avatar")||t&&"gallery"==t.getAttribute("data-fancybox"))){var c=document.createElement("a");c.setAttribute("data-fancybox","gallery"),c.setAttribute("data-src",e.getAttribute("src")),e.after(c),c.appendChild(e)}}br.unbind('[data-fancybox="gallery"]'),br.bind('[data-fancybox="gallery"]',{hideScrollbar:!1,compact:!0}),wr.socket.emit("client:faq.anwser.opened",{topicId:wr.lastFaqDetails.topicId,questionId:e,question:this.faqData[t].questions[e].question,answer:this.faqData[t].questions[e].answer.replace(/\{break\}/g,""),projectId:wr.user.project_id,userId:wr.user.user_id,refCode:wr.lastFaqDetails.refCode,screenId:wr.lastFaqDetails.widgetScreen}),document.getElementsByClassName("sh_hico_close")[0].onclick=function(t){t.preventDefault(),o.socket.emit("client:faq.close",{topicId:wr.lastFaqDetails.topicId,levelId:wr.blockByBonusRequest.level,questionId:e,refCode:wr.lastFaqDetails.refCode,screenId:wr.lastFaqDetails.widgetScreen}),o.faqShow=!1,o.close()},this.faqConnectOperatorEvent(!0,e,this.lastFaqDetails.refCode,(function(){o.setFaqBackBtnEvent(o.faqShowAnswer,[e,t])}))},scrollToLastMessage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;const t=document.querySelectorAll(".sh_message");t.length&&t[t.length-e].scrollIntoView()},sendFAQByUser:function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.appendHTML(this.getFaqList(),this.makeHTML(this.tpl.faq.link_scroll,{items:e,time:wr.makeTime(new Date),title:this.getClientName(),modificator:"sh_other "+(t?"":"sh_ende"),modificator_bold:" sh_question_bold"}))},getClientName:function(){return this.user.name&&this.user.name_type_id>0?this.user.name:this.localStorage.get("user-name")||""},faqConnectOperatorEvent:function(e,t,s,i){wr.log("UserAssist->faqConnectOperatorEvent");const n=this,o=document.getElementsByClassName("sh_faq_open_chat");if(!o.length)return!1;for(let a=0;a0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(!this.isChatStarted()){if(wr.alertHide=!0,wr.isShowPmBlock=!0,wr.isShowPaBlock=!0,"function"==typeof i&&i(),this.blockByBonusRequest.level>0&&(wr.settings.connectedAfterBlockByBonusLevel=wr.blockByBonusRequest.level),!wr.faqData[0]){const e=document.querySelector(".chat_scroll_block .sh_online_box");e&&(e.style.display="block")}if(e&&t&&wr.socket.emit("client:faq.connectToOperator",{topicId:wr.lastFaqDetails.topicId,levelId:wr.blockByBonusRequest.level,questionId:t,refCode:s,screenId:wr.lastFaqDetails.widgetScreen}),wr.settings.faq.isScrollViewEnabled){wr.isChatInitiation=!0;const e=document.getElementsByClassName("sh_textarea_faq_field")[0];e&&e.setAttribute("disabled","")}else{const e=wr.getFaqBlock();e&&e.remove(),wr.faqShow=!1}wr.open(),wr.settings.faq.isScrollViewEnabled?document.getElementsByClassName("sh_show-all-faq-list")[0].style.display="none":document.getElementsByClassName("sh_faq_back_from_chat")[0].style.display="block"}},validationUserEmail:function(){wr.log("UserAssist->validationUserEmail");let e="",t=!1;if(this.isGuest()&&this.settings.userIdentification&&this.settings.userIdentification.enabled&&(t=!0,wr.log("UserAssist->validationUserEmail->userIdentification->enabled"),e=document.getElementById("cw-client-email").value.trim(),document.getElementById("email_error").classList.remove("active")),t&&this.settings.userIdentification.validation){if(wr.log("UserAssist->validationUserEmail->userIdentification->validation->enabled"),!e.length||!this.isEmail(e))return wr.log("UserAssist->validationUserEmail->userIdentification->validation->error"),document.getElementById("email_error").classList.add("active"),document.getElementById("cw-client-email").focus(),!1;wr.log("UserAssist->validationUserEmail->userIdentification->validation->success")}return e},validationSubjects:function(){if(wr.log("UserAssist->validationSubjects"),this.settings.isSubjectEnabled&&this.subjects.length){if(document.getElementById("subject_error").classList.remove("active"),document.getElementsByClassName("sh_form_subject")[0].classList.remove("error"),wr.log("UserAssist->validationSubjects->subject->enabled"),!this.subjectId)return wr.log("UserAssist->validationSubjects->subject->validation->error"),document.getElementById("subject_error").classList.add("active"),document.getElementsByClassName("sh_form_subject")[0].classList.add("error"),document.getElementById("cw-dialog-first-message").focus(),!1;const e=document.getElementsByClassName("subject_custom_field");if(e&&e.length){let t=!1;for(const s of Array.from(e)){const e=s.value,i=s.getAttribute("custom-field-id"),n=document.querySelector(`[custom-field-error-id="${i}"]`);n&&(e?n.classList.remove("active"):(n.classList.add("active"),t=!0))}if(t)return!1}wr.log("UserAssist->validationSubjects->subject->validation->success")}return this.subjectId},validationName:function(){wr.log("UserAssist->validationName");let e=this.getClientName();const t=document.getElementById("cw-client-name");return e&&this.settings.block.askClientNameFirstly||(document.getElementById("name_error")&&document.getElementById("name_error").classList.remove("active"),t.parentElement.classList.remove("error"),e=t&&t.value?t.value.trim():e),e.lengthvalidationName->validation->error"),document.getElementById("name_error").classList.add("active"),t.parentElement.classList.add("error"),t&&t.focus(),!1):(wr.log("UserAssist->validationName->validation->success"),e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/"))},validationFaqName:function(){wr.log("UserAssist->validationFaqName");let e="";const t=document.getElementsByClassName("user_name")[0],s=document.getElementById("question_has_error");return document.getElementById("name_error").classList.remove("active"),t&&t.classList.remove("error"),e=t?t.value.trim():"",e.length?(wr.log("UserAssist->validationName->validation->success"),e):(wr.log("UserAssist->validationName->validation->error"),s&&s.classList.add("active"),t&&t.classList.add("error"),t&&t.focus(),!1)},validationClientFirstMessage:function(){if(wr.log("UserAssist->validationClientFirstMessage"),this.isScenarioDefault()&&this.settings.block.clientFirstMessage&&document.getElementById("question_error")){wr.log("UserAssist->validationClientFirstMessage->enabled"),document.getElementById("question_error")&&(document.getElementById("question_error").classList.remove("active"),document.getElementById("cw-dialog-first-message").classList.remove("error"));const e=document.getElementById("cw-dialog-first-message")?document.getElementById("cw-dialog-first-message").value.trim():this.firstMessageText;if(this.settings.block.messageSymbolsCount>e.length||this.validateOnForbiddenWords(e,wr.forbiddenWords.forClient))return wr.log("UserAssist->validationClientFirstMessage->validation->error"),document.getElementById("cw-dialog-first-message").classList.add("error"),document.getElementById("question_error").classList.add("active"),!1;this.firstMessageText=e}return wr.log("UserAssist->validationClientFirstMessage->validation->success"),!0},validateOnForbiddenWords:function(e,t){return t.some((function(t){return t.text.toLowerCase().trim()==e.toLowerCase().trim()}))},validationLastName:function(){wr.log("UserAssist->validationLastName");let e="",t=!1;return this.isGuest()&&this.settings.userIdentification&&this.settings.userIdentification.enabled&&this.settings.userIdentification.lastName&&this.scenario.identityEnable&&(t=!0,wr.log("UserAssist->validationLastName->userIdentification->enabled"),e=document.getElementById("cw-client-last-name").value.trim(),document.getElementById("last_name_error").classList.remove("active")),t&&this.settings.userIdentification.lastNameValidation&&(wr.log("UserAssist->validationLastName->userIdentification->validation->enabled"),!e.length)?(wr.log("UserAssist->validationName->validation->error"),document.getElementById("last_name_error").classList.add("active"),document.getElementById("cw-client-name").focus(),!1):(wr.log("UserAssist->validationLastName->validation->success"),e)},dialogValidation:function(){wr.log("UserAssist->dialogValidation");const e=this.validationName(),t=this.validationUserEmail(),s=this.validationSubjects(),i=this.isScenarioDefault()?this.validationClientFirstMessage():"",n=this.validationLastName();let o=!1;if(this.scenario&&void 0!==this.scenario.identityEnable&&(o=this.scenario.identityEnable),!1===e||o&&!1===t||!1===s||!1===i||o&&!1===n)return!1;wr.log("UserAssist->dialogValidation->data");const a={name:e,email:t,subjectId:s,lastName:n};return wr.log(a),a},dialogFaqValidation:function(){wr.log("UserAssist->dialogValidation");const e=this.validationFaqName();return!!e&&(wr.log("UserAssist->dialogValidation->data"),wr.log({name:e}),{name:e,email:null,subjectId:null,lastName:null})},dialogStart:function(e){let t;if(wr.log("UserAssist->dialogStart"),t=e&&e.useFaqValidation?this.dialogFaqValidation():this.dialogValidation(),!t)return wr.log("UserAssist->dialogStart->validation->error"),!1;const s=document.querySelector(".sh_faq_bridge_fake");s&&s.remove();const i=document.getElementsByClassName("sh_show-all-faq-list")[0];i&&i.remove();const n=document.querySelector(".sh_faq_bridge__button.sh_faq_back");return n&&n.remove(),wr.log("UserAssist->dialogStart->validation->success"),this.start(t),this.showOnlineBlock(),!0},submitFaqForm:function(){wr.log("UserAssist->submitFaqForm->init");const e=document.getElementById("sh_messages");if(!e)return!1;const t=e.getElementsByClassName("cw-form-submit")[0];return!!t&&(wr.log("UserAssist->submitFaqForm->click"),t.click(),!0)},getInfoUser:function(){const e={},t=this.methods&&this.methods.getUserInfo?this.methods.getUserInfo():{};if(e.vipGroup=!!t.vipGroup,t.level&&(e.level=t.level),t.wallet)for(let s=0;sopen");const i=this.open;this.open=function(){};const n=this;if(setTimeout((function(){n.open=i}),2e3),this.delayedReactionMessageShowed=!1,this.start=function(i){wr.chatWithOperatorStarted=!0,wr.isChatInitiation=!1,wr.log("UserAssist->open->start"),wr.log(i),i&&i.hasOwnProperty("name")&&(wr.log("UserAssist->open->start->Set user-name"),n.updateClientName(i.name)),n.faqFormData&&n.firstMessageFormId&&(wr.log("UserAssist->open->start->faqFormData"),wr.log(n.faqFormData),n.firstMessageText=n.faqFormData),wr.log("UserAssist->open->start->emit->client:chat.get");const o=document.getElementsByClassName("subject_custom_field"),a={};let r="";for(let e=0;e0&&this.start(),this.hideShButtons(),document.getElementById("rh-arrow")&&(document.getElementById("rh-arrow").style.display="none"),this.settings.faq.isScrollViewEnabled&&!this.getFaqList())this.showFaqBlock({isStart:!0});else{this.createBlock();const e=n.getClientName();e&&n.settings.block.askClientNameFirstly&&!n.settings.block.clientFirstMessage&&this.start(e),jscd.mobile&&this.mobileResize(),this.trigger("open")}n.setProjectName()},disableTopicButtons:function(){document.querySelectorAll(".sh_message--topic .topic").forEach((e=>{e.classList.add("disabled")})),document.querySelectorAll(".sh_faq-list__new_item").forEach((e=>{e.classList.add("disabled")}))},showShButtons:function(){document.querySelectorAll('div[data-messenger="web"]').forEach((e=>{e.style.display="block"}))},hideShButtons:function(){document.querySelectorAll('div[data-messenger="web"]').forEach((e=>{e.style.display="none"}))},changeTextarea:function(){if(this.getFaqList()){const e=document.getElementsByClassName("sh_textarea_faq")[0];if(e&&!this.chatWithOperatorStarted){const t=document.getElementsByClassName("sh_footer_in")[0]||null;t&&t.remove(),this.isFaqEnabled()&&(e.style.display="block")}const t=document.getElementsByClassName("sh_textarea_field");if(!e||this.isFaqEnabled()&&"none"===e.style.display||!this.chatWithOperatorStarted||t.length>=2)return;e.style.display="none",this.appendHTML(document.getElementsByClassName("sh_chat_form")[0],this.makeHTML(this.tpl.chat.online_footer,{showAssessment:this.settings.text.marking?"":"sh_hide",isNewProject:wr.newProject,preset:this.settings.smilesTheme||this.constants.defaultSmilesTheme})),this.addChatEvents()}},clearOperatorTyping:function(){const e=document.getElementsByClassName("operator-typing-block")[0];e&&(e.innerHTML="")},moveOperatorTypingBlock:function(){const e=document.getElementsByClassName("operator-typing-block");for(const t of Array.from(e))t.remove();wr.appendHTML(this.getFaqList(),'
')},setMessagesViewed:function(){wr.log("UserAssist->setMessagesViewed");const e=[];for(const t in wr.renderedMessages){let s=!1;wr.renderedMessages[t]&&(!wr.renderedMessages[t].viewed&&wr.isShowDialogBlock&&(wr.renderedMessages[t].viewed=!0,s=!0),wr.renderedMessages[t].delivered||(wr.renderedMessages[t].delivered=!0,s=!0),s&&e.push(wr.renderedMessages[t]))}e.length&&wr.socket.emit("client:messages.viewed",e)},start:function(){},initWidgetResize:function(e){if("undefined"==typeof ResizeObserver)return!1;const t=this;this.resizeObserver=new ResizeObserver((function(s){clearTimeout(e),e=setTimeout((function(){const e=s[0].borderBoxSize[0];0===e.inlineSize||0===e.blockSize||e.inlineSizeshow"),wr.log("Widget Settings: "),wr.log(this.settings),this.scenario=this.scenarios.find((function(t){return t.name===e.scenario}))||this.defaultScenario,this.hided=!1,this.unreadMessages=0,this.showBlockCounter(),this.isShowDialogBlock=!0,this.faqEnabled=this.scenario&&this.scenario.faqEnable&&this.settings.faq&&this.settings.faq.enabled,this.lastFaqDetails.widgetScreen=wr.constants.widgetScreens.DEFAULT,this.lastFaqDetails.refCode=Cr(wr.constants.maxRefCodeLength),wr.log("faqEnabled: "+this.faqEnabled),xr();let t=this.getChatBlock();return this.settings.spammer?this.showSpammerBlock():(!this.faqEnabled||!this.settings.faq.isScrollViewEnabled&&this.checkShowBlockByBonusPage()||this.getFaqBlock()||t||this.showFaqBlock(e),this.alertHide||this.showAlert(),this.isShowPmBlock||this.isChatDeferred()||this.showPersonalManager(),this.isShowPaBlock||this.isChatDeferred()||this.showPaManager(),t||this.faqEnabled||wr.isShowBlockByBonusPage?(this.hideShButtons(),document.getElementById("rh-arrow")&&(document.getElementById("rh-arrow").style.display="none"),t=this.getChatBlock(),t&&(t.style.display="block",wr.busyBlock().showHistory()),!this.settings.faq.isScrollViewEnabled&&this.checkShowBlockByBonusPage()&&this.showBlockByBonusRequestBlock(),this.setMessagesViewed(),void this.trigger("show")):this.open())},showAlert:function(){wr.log("UserAssist->showAlert"),wr.socket.emit("client:alert.init")},showPersonalManager:function(){wr.log("UserAssist->showPersonalManager"),wr.socket.emit("client:personalManager.init")},showPaManager:function(){wr.log("UserAssist->showPersonalAssistantManager"),this.isShowPaBlock=!0,wr.socket.emit("client:personalAssistantManager.init")},hide:function(){this.hided=!0,this.isShowDialogBlock=!1,Sr();const e=this.getChatBlock();e&&(e.style.display="none"),wr.showShButtons(),wr.settings.faq.isNewHeaderEnabled&&(wr.hideMainMessengersBtn(),wr.showAdditionalMessengersBtn()),this.trigger("hide"),this.showBlockCounter()},close:function(){this.alertHide=!1,this.isShowPmBlock=!1,this.isShowPaBlock=!1,this.isShowDialogBlock=!1,this.isShowBlockByBonusPage=!1,this.isChatInitiation=!1,Sr();const e=this.getChatBlock();if(!e)return;const t=e.getElementsByClassName("sh_chat_end")[0];e&&t&&(e.getElementsByClassName("sh_chat_end")[0].style.display="none"),this.hideInputer(),this.clearLastFaqDetails(),this.setFaqBackBtnEvent(),document.getElementsByTagName("body")[0].removeChild(e),this.settings.button.hide||(wr.showShButtons(),wr.settings.faq.isNewHeaderEnabled&&(wr.hideAdditionalMessengersBtn(),wr.showMainMessengersBtn())),this.chat=null,this.firstMessageText="",this.statusChange(),this.trigger("close")},hideInputer:function(){const e=document.getElementsByClassName("sh_faq__inputer")[0];e&&(e.style.display="none")},hideMainMessengersBtn:function(){const e=document.querySelector("details.support-btn-messengers,span.support-btn-messengers:not(.additional_btn)");e&&(e.style.display="none")},showMainMessengersBtn:function(){const e=document.querySelector("details.support-btn-messengers,span.support-btn-messengers:not(.additional_btn)");e&&(e.style.display="block")},hideAdditionalMessengersBtn:function(){const e=document.querySelector("span.support-btn-messengers.additional_btn");e&&(e.style.display="none")},showAdditionalMessengersBtn:function(){const e=document.querySelector("span.support-btn-messengers.additional_btn");e&&(e.style.display="block")},on:function(e,t){this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t)},off:function(e){this.callbacks[e]=[]},trigger:function(e,t){if(this.callbacks[e])for(var s=0;se.chat_id)).length},sendMessage:function(e){return wr.log("UserAssist->sendMessage"),this.isChatStarted()?(e.form&&this.faqFormData&&(wr.log("UserAssist->sendMessage->faqFormData"),e.text=this.faqFormData,this.firstMessageText.length&&(e.text["form-answer-reserved-field"]=this.firstMessageText)),this.replyToMessageId&&(e.reply_to=this.replyToMessageId,this.closeQuoteBlock()),this.socket.emit("client:chat.message",e),this.faqFormData=null,!0):(this.faqFormData=e.text,this.firstMessageFormId=e.form,!!this.dialogStart({useFaqValidation:!0})&&(wr.busyBlock().showAll(),this.socket.emit("client:faq.connectToOperator",{topicId:wr.lastFaqDetails.topicId,levelId:wr.blockByBonusRequest.level,questionId:e.questionId,refCode:wr.lastFaqDetails.refCode,screenId:wr.lastFaqDetails.widgetScreen}),!0))},preview:function(){const e=document.getElementsByClassName("sh_enter_ico")[0].parentNode.getElementsByTagName("textarea")[0].value.trim();e.length&&this.socket.emit("client:chat.preview",{text:e})},request:function(){const e=document.getElementsByName("chat[offline][name]")[0],t=document.getElementsByName("chat[offline][email]")[0],s=document.getElementsByName("chat[offline][phone]")[0],i=document.getElementsByName("chat[offline][comment]")[0],n=e.value.replace(/^\s+/,"").replace(/\s+$/,""),o=t.value.replace(/^\s+/,"").replace(/\s+$/,""),a=s.value.replace(/^\s+/,"").replace(/\s+$/,""),r=i.value.replace(/^\s+/,"").replace(/\s+$/,"");return n.length?(e.style.cssText="border-color: #dadad9",!o.length&&!a.length||o.length&&!this.isEmail(o)||a.length&&!/\d+/.test(a)?(t.style.cssText="border-color: #f00 !important",s.style.cssText="border-color: #f00 !important",!1):(t.style.cssText="border-color: #dadad9 !important",s.style.cssText="border-color: #dadad9 !important",r.length?(i.style.cssText="border-color: #dadad9 !important",this.socket.emit("client:chat.request",{contacts:{name:n,email:o,phone:a,comment:r}}),this.offlineBlock=!1,!0):(i.style.cssText="border-color: #f00 !important",!1))):(e.style.cssText="border-color: #f00",!1)},save:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s=0;const i=document.getElementsByName("chat[decision]");for(let e=0;esocketInit");const e=window.jscd.oldMSIE?{}:this.socketOpts;wr.socket=t().connect(window.location.protocol+"//node.uassist.biz",e);const s=()=>{wr.connection_timeout=function(e){let t=1,s=1;for(let i=3;i<=e;i++){let e=t+s;t=s,s=e}return sthis.socketInit()),1e3*wr.connection_timeout),wr.connection_timeout_num++};wr.socket.on("connect_error",s),wr.socket.on("connect",(()=>{this.setListeners(wr.widget_id),wr.log("socket->on->connect");const e={session_id:wr.localStorage.get("sessionid-"+wr.widget_id),widget_id:wr.widget_id,current_page:window.location.href,navigator:window.jscd,new_visitor:wr.isNewVisitor(),user_info:wr.user_info,locale:wr.locale,platform:wr.platform};"string"==typeof wr.token?e.token=wr.token:"object"==typeof wr.token&&null!==wr.token&&(e.project_id=wr.token.project_id,e.user_id=wr.token.user_id,e.signature=wr.token.signature),wr.socket.send(e)}));const i=this;wr.socket.on("disconnect",(function(){wr.log("socket->on->disconnect"),s(),i.init=function(e,t,s,n,o,a,r,l){i.init=function(){},i.create(e,t,s,n,o,a,r,l)},i.options={},i.socketOpts.forceNew=!0})),wr.uploader=new(n())(wr.socket,{maxFileSize:this.maxFileSize,chunkSize:0}),wr.initUploader()},setListeners:function(e){const t=this;wr.socket.on("connected",(function(t){wr.log("socket->on->connected"),wr.widgetInit(e),wr.user=t,wr.trigger("connect")})),wr.socket.on("main:user.data",(function(e){wr.log("socket->on->main:user.data"),wr.user=e})),wr.socket.on("operator:chat.typing",(function(e){if(wr.log("socket->on->client:operator.typing"),clearTimeout(wr.interval),!wr.interval){const t=document.getElementsByClassName("operator-typing-block")[0];wr.appendHTML(t,wr.makeHTML(wr.tpl.chat.operator_typing,{operatorName:e.operatorName}))}wr.interval=setTimeout((function(){wr.clearOperatorTyping(),wr.interval=null}),1400)})),wr.socket.on("client:blockByBonusRequest.update",(function(e){wr.blockByBonusRequest.level=e.level||0,wr.blockByBonusRequest.text=e.text||""})),wr.socket.on("client:chat.updateClient",(function(e){wr.log("socket->on->client:chat.updateClient"),wr.updateClientName(e.clientName)})),wr.socket.on("client:alert.init",(function(e){wr.log("socket->on->client:alert.init");const s=document.querySelectorAll(".sh-alert-block");for(let i=0;i0)return;wr.appendHTML(n,wr.makeHTML(wr.tpl.chat.alert,{message:e.message&&e.message.nl2br(),topic:e.topic&&e.topic.nl2br()}));const o=n.querySelectorAll(".sh-button-alert-hide");o.length&&function(e,i){e.onclick=function(e){e.preventDefault(),t.alertHide=!0;for(var i=0;ion->client:personalManager.init");let s="",i="",n="",o="";wr.settings.text.showPMApk&&(wr.log("showPMApk"),s=wr.makeHTML(wr.tpl.chat.personal_manager_contact_apps,{text:wr.settings.text.PMApkMessage})),e.vip_phone&&(wr.log("showPMPhone"),o=wr.makeHTML(wr.tpl.chat.phone_block,{operator_phone:e.vip_phone.nl2br()})),wr.settings.text.showPMTelegram&&(wr.log("showPMTelegram"),i=wr.makeHTML(wr.tpl.chat.personal_manager_contact,{text:wr.settings.text.PMTelegramMessage,contact_type:"telegram"})),wr.settings.text.showPMViber&&(wr.log("showPMViber"),n=wr.makeHTML(wr.tpl.chat.personal_manager_contact,{text:wr.settings.text.PMViberMessage,contact_type:"viber"}));const a=wr.makeHTML(wr.tpl.chat.personal_manager_contact,{text_direct:wr.htmlFunctions.translate("Contact me on LiveChat"),contact_type:"direct",isDirect:!0}),r=document.querySelectorAll(".sh-pm-block");if(!r.length||!r[0])return!1;for(let t=0;ton->client:personalAssistantManager.init");const s=document.querySelectorAll(".sh-pa-block");if(!s.length)return!1;let i="",n="",o="";const a=wr.makeHTML(wr.tpl.chat.personal_manager_contact,{text_direct:wr.htmlFunctions.translate("Contact me on LiveChat"),contact_type:"direct",isDirect:!0});wr.settings.text.showPAApk&&(wr.log("showPAApk"),i=wr.makeHTML(wr.tpl.chat.personal_manager_contact_apps,{text:wr.settings.text.PMApkMessage})),wr.settings.text.showPATelegram&&(wr.log("showPATelegram"),n=wr.makeHTML(wr.tpl.chat.personal_manager_contact,{text:wr.settings.text.PMTelegramMessage,contact_type:"telegram"})),wr.settings.text.showPAViber&&(wr.log("showPAViber"),o=wr.makeHTML(wr.tpl.chat.personal_manager_contact,{text:wr.settings.text.PMViberMessage,contact_type:"viber"}));for(let t=0;ton->client:widget.init"),_r.setWidgetData(e),t.online=e.online,t.settings=Object.assign(t.settings,e.settings),t.subjects=e.subjects,t.scenarios=e.scenarios,e.blockByBonusRequest&&(t.blockByBonusRequest.level=e.blockByBonusRequest.level||0,t.blockByBonusRequest.text=e.blockByBonusRequest.text||""),t.defaultScenario=t.scenarios.find((function(e){return t.isScenarioDefault(e.name)})),t.scenarios=e.scenarios,t.forbiddenWords=e.forbiddenWords,t.cacheStaticId=e.cacheStaticId,t.newProject=t.settings.faq.isScrollViewEnabled&&t.tempWidgetCodesWithNewFunctions.includes(t.settings.projectCode.toLowerCase()),t.newProject){const e=t.localStorage.get("widgetSize");t.settings.widgetSize=t.settings.newWidgetSize,e&&(e.heightstart"),t.loadCss((function(){wr.log("loadcss->finish"),t.createButton(),"opened"===t.settings.status?(wr.openedInStart=!0,wr.open(),wr.start()):wr.socket.emit("client:widget.scripts"),"SC"===wr.settings.projectCode.toUpperCase()||wr.hideAdditionalMessengersBtn(),wr.platforms.mob!==wr.platform||wr.settings.faq.isScrollViewEnabled||wr.hide(),t.setProjectName()}))})),wr.socket.on("client:chat.online",(function(e){wr.log("socket->on->client:chat.online"),t.offlineBlock||t.faqShow||(wr.log("socket->on->client:chat.online"),wr.online=e,t.statusChange())})),wr.socket.on("client:chat.init",(function(e){wr.log("socket->on->client:chat.init"),wr.isChatInitiation=!0,"none"===document.getElementById("sh_button").style.display||wr.hided||(wr.hideShButtons(),document.getElementById("rh-arrow")&&(document.getElementById("rh-arrow").style.display="none")),wr.settings.faq.isScrollViewEnabled?wr.showFaqBlock({isInit:!0,initData:e}):(wr.createBlock(),wr.initChat(e));const s=document.getElementsByClassName("sh_show-all-faq-list")[0];s&&(s.style.display="none"),t.defferedMessageAfterCustomFields&&t.socket.emit("client:chat.message",{text:t.defferedMessageAfterCustomFields}),wr.removeAllConnectButtons()})),wr.socket.on("client:chat.toprocess",(function(e){wr.log("socket->on->client:chat.toprocess"),wr.newProject&&e.client&&e.client.user_type==wr.constants.userType.OPERATOR&&wr.updateHeader(e.client),wr.busyBlock().hideAll().showHistory(),wr.renderMessage(e),wr.addMessageEvents(),wr.setMessagesViewed()})),wr.socket.on("client:chat.message",(function(e){wr.log("socket->on->client:chat.message"),wr.pushReplyMessagesToStorage(e.replyToMessages),wr.pushMessagesToStorage([e]),wr.renderMessage(e),wr.addMessageEvents(),wr.setMessagesViewed(),wr.clearOperatorTyping(),e.client.user_type==wr.constants.userType.OPERATOR&&wr.updateHeader(e.client),wr.hided&&(wr.unreadMessages++,wr.showBlockCounter()),window.jscd.oldMSIE||wr.mute||e.client.user_type!=wr.constants.userType.OPERATOR||(document.getElementById("sh_container_audio").currentTime=0,document.getElementById("sh_container_audio").play())})),wr.socket.on("client:chat.message.form",(function(e){wr.log("socket->on->client:chat.message.form");const s=t.makeHTML(t.tpl.message.error_field,{}),i=t.makeHTML(t.tpl.message.faq_username,{}),n=t.faqData[e.topicId].questions[e.questionId].answer;t.settings.faq.isScrollViewEnabled&&t.sendFAQByUser(t.faqData[e.topicId].questions[e.questionId].question,!1);let o=t.settings.faq.isScrollViewEnabled?"":n;t.settings.faq.isScrollViewEnabled&&n.split("{break}").forEach((s=>{o+=t.makeHTML(t.tpl.faq.link_scroll,{items:s,nick_sel:" sh_mess_nick_sel",time:wr.makeTime(new Date),title:t.faqData[e.topicId].questions[e.questionId].question,modificator:"sh_ende"})})),e.form.html=t.makeHTML(t.tpl.message.form_autoanswer,{userNameField:i,message:s,...t.settings.faq.isScrollViewEnabled?{html:o}:{answer:n},form:e.form.html}),t.settings.faq.isScrollViewEnabled||t.getChatBlock().remove(),t.open(),t.settings.faq.isScrollViewEnabled&&t.createFaqBlock(),t.createBlock(),t.showOnlineBlock(!0),wr.busyBlock().hideAll(),wr.attachBtn().hide(),wr.renderForm(e),wr.addFaqFormEvents(e),wr.setMessagesViewed(),wr.clearOperatorTyping(),wr.scrollToStartOfChat()})),wr.socket.on("client:chat.resendMessage",(function(e){wr.log("socket->on->client:chat.resendMessage"),wr.renderResendMessage(e),wr.clearOperatorTyping(),wr.setMessagesViewed(),window.jscd.oldMSIE||wr.mute||e.client.user_type!=wr.constants.userType.OPERATOR||(document.getElementById("sh_container_audio").currentTime=0,document.getElementById("sh_container_audio").play())})),wr.socket.on("client:chat.form",(function(e){wr.log("socket->on->client:chat.form"),wr.renderForm(e),wr.clearOperatorTyping(),wr.setMessagesViewed(),window.jscd.oldMSIE||wr.mute||e.client.user_type!=wr.constants.userType.OPERATOR||(document.getElementById("sh_container_audio").currentTime=0,document.getElementById("sh_container_audio").play())})),wr.socket.on("storage",(function(e){wr.log("socket->on->storage");for(let t=0;ton->client:chat.deferred"),wr.forceChatDeferred=!0,wr.isChatInitiation=!0,wr.updateClientName(e.clientName),wr.autoCloseWidgetEventRemove(),wr.close(),wr.open(),wr.start()})),wr.socket.on("client:chat.finish",(function(){wr.log("socket->on->client:chat.finish");const e=document.getElementsByClassName("sh_chat_end")[0].getElementsByClassName("sh_button_back")[0];e&&e.setAttribute("style","display: none !important;"),wr.chatWithOperatorStarted=!1,wr.isChatInitiation=!1,wr.renderedMessages={},wr.clearMessageState(),t.completeDialog(),t.autoCloseWidgetEventStart()})),wr.socket.on("client:chat.close",(function(){if(wr.log("socket->on->client:chat.close"),wr.chatWithOperatorStarted=!1,wr.isChatInitiation=!1,wr.openedInStart=!1,wr.clearMessageState(),wr.settings.faq.isScrollViewEnabled)return wr.completeDialog(),!1;wr.close()})),wr.socket.on("client:chat.history",(function(e){if(wr.log("socket->on->client:chat.history"),e.chat_id){wr.pushReplyMessagesToStorage(e.replyToMessages),wr.pushMessagesToStorage(e.messages),wr.insertHTMLAfter(document.getElementsByClassName("sh_history_btn")[0],wr.makeHTML(wr.tpl.chat.history_block,{chat_id:e.chat_id,date:wr.makeDate(e.start_time)}));for(let t=0;ton->client:chat.updateMessage"),wr.replaceMessage(e),wr.addRenderedMessage(e),wr.updateMessageInMemory(e),wr.setMessagesViewed()})),wr.socket.on("client:chat.hideMessage",(function(e){wr.log("socket->on->client:chat.hideMessage"),wr.removeMessage(e.message_id)})),wr.socket.on("client:widget.scripts",(function(e){wr.log("socket->on->client:widget.scripts"),wr.log(e),t.scripts=new qr(e,t.user_info),t.scripts.init()})),wr.socket.on("client:chat.showOfflineBlock",(function(){wr.log("socket->on->client:chat.showOfflineBlock"),wr.showOfflineBlock()})),wr.socket.on("client:chat.faq",(function(e){wr.log("socket->client:chat.faq"),t.faqShow=!0,t.faqData=e.questions,t.faqData.questionsOutGroup=e.questionsOutGroup,t.hasPredictAutoAnswers=e.options.hasPredictAutoAnswers,"none"===document.getElementById("sh_button").style.display||wr.hided||(wr.hideShButtons(),document.getElementById("rh-arrow")&&(document.getElementById("rh-arrow").style.display="none")),t.getFaqBlock()||t.createFaqBlock(),wr.trigger("faqBlock",e)})),wr.socket.on("client:chat.spammerDetected",(function(){wr.log("socket->client:chat.spammerDetected"),t.settings.spammer=1,document.querySelectorAll(".support-btn-messengers .messenger:not(.web)").forEach((function(e){e.style.display="none"}))})),wr.socket.on("client:faq.predict.list",(e=>{wr.showFaqPredictList(e.list)})),wr.socket.on("client:faq.connect.history.id",(function(e){wr.log("socket->client:client:faq.connect.history.id"),t.faqConnectHistoryId=e.id})),wr.socket.on("client:faq.unsolved.history.id",(function(e){wr.log("socket->client:client:faq.unsolved.history.id"),t.faqUnsolvedHistoryId=e.id})),wr.socket.on("client:openbot",(function(e){if(wr.log("socket->client:openbot"),!e.link)return alert("Try another messenger");if(wr.platforms.mob===wr.platform){const t=document.createElement("a");t.id="link",window.document.body.appendChild(t);const s=document.getElementById("link");return s.setAttribute("href",e.link),void s.click()}window.open(e.link,"_blank")}))},updateHeader:function(e){if(!this.settings.faq.isNewHeaderEnabled)return;const t=document.getElementsByClassName("sh_header_logo")[0],s=document.getElementsByClassName("sh_assistant_block")[0],i=document.getElementsByClassName("sh_assistant_name")[0],n=document.getElementsByClassName("sh_assistant_role")[0],o=document.getElementsByClassName("main_logo")[0],a=document.getElementsByClassName("sh_assistant_image")[0];if(!(o&&a&&n&&i))return;const r="sc"===wr.settings.projectCode;if(o.style.display="none",a.style.display="block",!e)return r?(i.innerHTML=wr.defaultProjectName,n.innerHTML="Assistant"):(s.style.display="none",a.style.display="none",t.style.display="flex",i.innerHTML="",n.innerHTML="Chatbot"),r&&a.setAttribute("src","//cdn.uassist.biz/public/widget/images/svg/sc/bot2.png"),void a.classList.remove("sh_assistant_avatar");r||(a.style.display="block",t.style.display="none",s.style.display="flex"),a.setAttribute("src",e.photo.startsWith("//cdn.uassist.biz/public")?e.photo:`//cdn.uassist.biz/public/mogile/${e.photo}`),a.classList.add("sh_assistant_avatar"),i.innerHTML=e.name.length>20?e.name.slice(0,17)+"...":e.name,n.innerHTML=e.role?e.role.length>20?e.role.slice(0,17)+"...":e.role:r?"Assistant":e?"Support agent":"Chatbot"},initChat:function(e){var t;wr.attachBtn().show(),wr.appendHTML(document.getElementById("sh_messages"),wr.makeHTML(wr.tpl.chat.messages_block,{chat_id:e.chat_id})),wr.isShowDialogBlock=!0;let s=[];if(wr.chat&&wr.chat.messages&&(s=wr.chat.messages.filter((e=>e.message_id>=0))),wr.chat=e,s.length&&(wr.chat.messages=[...wr.chat.messages,...s]),e&&e.messages)for(let t=0;te.client.user_type===wr.constants.userType.OPERATOR));wr.updateHeader((null==t?void 0:t.client)||e.clients.operator[0])}this.addMessageEvents(),this.statusChange(),window.jscd.oldMSIE||"push"!==e.open_type||(document.getElementById("sh_container_audio").currentTime=0,document.getElementById("sh_container_audio").play()),this.history_id=wr.chat.chat_id,0==e.type_id&&(this.firstMessageText="",this.firstMessageFormId=""),this.forceChatDeferred=e.messages.some((function(e){return e.type_id===wr.constants.messageType.DEFERRED}))&&!e.messages.some((function(e){return e.type_id===wr.constants.messageType.MESSAGE})),wr.platforms.mob!==wr.platform||null===e.start_time||e.is_new||"push"===e.open_type?wr.show():wr.hide(),wr.setMessagesViewed(),wr.changeTextarea(),wr.scrollToEndOfChat()},loadCss:function(e){try{const e=document.createElement("style");e.type="text/css",e.innerHTML=this.css,document.body.appendChild(e)}catch(e){wr.log("UserAssist->appendCss->error:"+e)}try{let t=!1;const s=document.createElement("link");s.setAttribute("type","text/css"),s.setAttribute("rel","stylesheet"),s.setAttribute("href","//cdn.uassist.biz/public/widget/css/"+this.settings.projectCode.toUpperCase()+".css?v="+this.static_ver),s.onload=function(){t||(t=!0,e())},s.onreadystatechange=function(){t||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(t=!0,e())},document.head.appendChild(s),window.jscd.mobile&&!t&&(t=!0,e())}catch(e){wr.log("UserAssist->appendTheme->error:"+e)}},widgetInit:function(e){wr.log("UserAssist->widgetInit"),document.getElementById("sh_button")||wr.socket.emit("client:widget.get",{widget_id:e})},statusChange:function(){wr.log("UserAssist->statusChange");const e=document.getElementById("sh_button"),t=this.getChatBlock();wr.online?(t&&t.getElementsByClassName("sh_chat_end")[0]&&"none"===t.getElementsByClassName("sh_chat_end")[0].style.display&&(wr.isShowDialogBlock=!this.hided,wr.setMessagesViewed(),t.getElementsByClassName("sh_title").length&&(t.getElementsByClassName("sh_title")[0].innerHTML=wr.settings.text.online),wr.showOnlineBlock()),e&&e.getElementsByClassName("sh_title_text").length&&(e.getElementsByClassName("sh_title_text")[0].innerHTML=wr.makeButtonTitle(wr.settings.text.online))):t&&t.getElementsByClassName("sh_chat_end")[0]&&"none"===t.getElementsByClassName("sh_chat_end")[0].style.display&&(t.getElementsByClassName("sh_title").length&&(t.getElementsByClassName("sh_title")[0].innerHTML=wr.settings.text.offline),wr.showOfflineBlock())},addRenderedMessage:function(e){wr.pushMessagesToStorage([e]),wr.renderedMessages[e.message_id]={message_id:e.message_id,chat_id:e.chat_id,viewed:e.viewed||!1,delivered:e.delivered||!1}},getMessageHtmlData:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=document.getElementById("sh_messages-"+e.chat_id);this.settings.faq.isScrollViewEnabled&&this.getFaqBlock()&&!t&&(i=this.getFaqList()),i||(i=document.getElementById("sh_messages"));const n=i?i.getElementsByClassName("sh_message"):[];let o="";if(+e.type_id===this.constants.messageType.ATTACH){const t=wr.getReplyMessage(s),i=e.text.size&&e.text.base&&e.text.name?wr.makeHTML(wr.tpl.message.file_success_upload,{message_id:e.message_id,replyname:t?t.messageObj.client.name:"",filename:e.text.name,filesize:wr.readableFileSize(e.text.size),isNewProject:wr.newProject,isImg:wr.settings.faq.isScrollViewEnabled&&wr.newProject&&this.isImg(e.text.name),basename:e.text.base,host:window.location.protocol+"//cdn.uassist.biz/public"}):wr.makeHTML(wr.tpl.message.file_error_upload,{});o=wr.makeHTML(wr.tpl.message.file,{file:i,message_id:e.message_id,isNewProject:wr.newProject,textForQuoteTitle:wr.settings.text.textForQuoteTitle})}else o=+e.type_id===this.constants.messageType.FORM_SEND?wr.makeHTML(wr.tpl.message.form,{html:e.form.html,message_id:e.message_id}):+e.type_id===this.constants.messageType.MARK?wr.makeHTML(wr.tpl.message.mark_success,{message_id:e.message_id,preset:this.settings.smilesTheme||this.constants.defaultSmilesTheme,mark:e.text}):+e.type_id===this.constants.messageType.SILENCE_RESPONSE?wr.makeHTML(wr.tpl.message.item,{message_id:e.message_id,isNewProject:wr.newProject,text:e.text.toString(),modificator:"sh_silence_response"}):wr.makeHTML(wr.tpl.message.item,{message_id:e.message_id,isNewProject:wr.newProject,text:e.text.nl2br().replace(/\(\:([a-z_]+)\:\)/g,(function(e,t){return wr.makeHTML(wr.tpl.message.smile,{name:t})}))});return{type:e.type_id,html:o,parent:i,items:n}},appendMessageToEndChat:function(e,t,s){var i=t.html,n=t.parent,o=t.items,a=t.type;if(e.reply_to){var r=this.getReplyMessage(e.reply_to);if(r){const t=+wr.settings.text.quoteTextLength,s=Er(r.messageObj.text);r.messageObj.text=!r.messageObj.text.name&&t&&s.length>t?(function(e){const t=document.createElement("div");return t.innerHTML=e,t.innerHTML}(r.messageObj.text.substring(0,t))||s.substring(0,t))+"...":r.messageObj.text,i=wr.makeHTML(wr.tpl.message.reply_to_message,{item:wr.getMessageHtmlData(r.messageObj,!1,e.reply_to).html,from:r.name,date:wr.makeTime(r.messageObj.timestamp),message_id:e.reply_to,client_class:wr.settings.faq.isScrollViewEnabled&&e.client.user_type!==wr.constants.userType.OPERATOR||r.messageObj.client.user_type===wr.constants.userType.OPERATOR?"operator":"client",html:i})}}a!==this.constants.messageType.MARK&&(o.length&&o[o.length-1].getAttribute("data-id")==e.client.client_id&&!wr.settings.faq.isScrollViewEnabled?wr.appendHTML(o[o.length-1].getElementsByClassName("sh_message_items")[0],i):wr.newProject&&a===this.constants.messageType.SILENCE_RESPONSE?wr.appendHTML(n,wr.makeHTML(wr.tpl.message.silence_answer,{message_id:e.message_id,data_id:e.client.client_id,items:i})):wr.appendHTML(n,wr.makeHTML(wr.settings.faq.isScrollViewEnabled&&e.form?wr.tpl.faq.link_scroll:wr.tpl.message.block,{id:e.message_id,data_id:e.client.client_id,form_mod:+a===this.constants.messageType.FORM_SEND?" sh_form_block":"",name:s,modificator:wr.isChatStarted()&&e.client.user_type!=wr.constants.userType.OPERATOR?" sh_self":" sh_other",photo:e.client.photo,modificator_reply:wr.settings.faq.isReplyIconRight?"right":"",isNewProject:wr.newProject,photo_scroll:wr.settings.faq.isScrollViewEnabled&&2==e.client.user_type&&e.client.photo?"photo_scroll":"",time:wr.makeTime(e.timestamp),nick_sel:e.client.user_type==wr.constants.userType.OPERATOR?" sh_mess_nick_sel":"",items:i})),this.settings.faq.isScrollViewEnabled&&this.moveOperatorTypingBlock())},appendMessageToInnerChat:function(e,t,s,i,n,o){i&&i.getAttribute("data-id")==e.client.client_id?wr.insertHTMLAfter(i.querySelectorAll("#sh_"+o)[0],t):wr.insertHTMLAfter(i,wr.makeHTML(wr.tpl.message.block,{id:e.message_id,data_id:e.client.client_id,name:n,modificator:e.client.user_type==wr.constants.userType.OPERATOR?" sh_other":" sh_self",modificator_reply:wr.settings.faq.isReplyIconRight?"right":"",photo:e.client.photo,time:wr.makeTime(e.timestamp),nick_sel:e.client.user_type==wr.constants.userType.OPERATOR?" sh_mess_nick_sel":"",isNewProject:wr.newProject,items:t}))},isImg:function(e){const t=["png","gif","jpg","jpeg","bmp","svg"];for(const s of t)if(e.includes(s))return!0;return!1},showBlockCounter:function(){const e=document.getElementsByClassName("sh_block_counter")[0];e&&(this.unreadMessages>0?(e.classList.contains("sh_block_counter_active")||e.classList.add("sh_block_counter_active"),e.querySelector("span").innerHTML=this.unreadMessages>99?"99+":`${this.unreadMessages}`):e.classList.remove("sh_block_counter_active"))},renderResendMessage:function(e){if(wr.renderedMessages.hasOwnProperty(e.message_id))wr.replaceMessage(e);else{var t=e.client.name,s=wr.getMessageHtmlData(e),i=s.items,n=wr.getPreviousRenderedMessageById(e.message_id);for(var o in i)if("object"==typeof i[o]){var a=i[o].querySelectorAll("#sh_"+n);a&&a.length&&wr.appendMessageToInnerChat(e,s.html,s.parent,i[o],t,n)}}wr.addRenderedMessage(e)},messageExist:function(e){return!!document.getElementById("sh_"+e)},renderMessage:function(e){if(e.hidden||this.messageExist(e.message_id)||!e.client.client_id)return!1;e.client.user_type==wr.constants.userType.OPERATOR&&this.busyBlock().hideAll().showHistory();const t=e.client.user_type!=wr.constants.userType.OPERATOR?this.getClientName():e.client.name;this.appendMessageToEndChat(e,this.getMessageHtmlData(e),t),+e.type_id===this.constants.messageType.FORM_SEND&&this.addFormEvent(e),this.addRenderedMessage(e),this.scrollToEndOfChat()},renderMessageState:function(){if(this.settings.faq.isScrollViewEnabled){wr.log("UserAssist->renderMessageState");const e=this.localStorage.get("messageState");if(e){const t=e.split("|").reverse(),s=this.getFaqList();for(const e of t)e&&!s.innerHTML.includes(e)&&this.prependHTML(s,e);this.scrollToEndOfChat()}if(wr.removeAllConnectButtons(),wr.isChatDeferred()){const e=wr.getFaqList(),t=e.childNodes;let s=0;const i=e.getElementsByClassName("chat_scroll_block").length;for(const e of Array.from(t)){if(e.classList.contains("chat_scroll_block")&&s++,s===i)break;e.remove()}}}},saveMessageState:function(e){if(this.settings.faq.isScrollViewEnabled){const t=this.localStorage.get("messageState")||"";this.localStorage.set("messageState",t+"|"+e)}},clearMessageState:function(){wr.log("UserAssist->clearMessageState"),this.localStorage.remove("messageState")},getReplyMessage:function(e){return wr.getMessageFromStorage("replyToMessages",e)},getMessage:function(e){return wr.getMessageFromStorage("messages",e)},updateMessageInMemory:function(e){const t=wr.getMessage(e.message_id),s=wr.getReplyMessage(e.message_id);t&&t.messageObj&&(t.messageObj.text=e.text),s&&s.messageObj&&(s.messageObj.text=e.text)},pushReplyMessagesToStorage:function(e){wr.pushToStorageMessage("replyToMessages",e)},pushMessagesToStorage:function(e){wr.pushToStorageMessage("messages",e)},pushToStorageMessage:function(e,t){t&&t.length&&(wr.chat||(wr.chat={}),wr.chat[e]||(wr.chat[e]=t),t.forEach((function(t){wr.chat[e].find((e=>e.message_id===t.message_id))||wr.chat[e].push(t)})))},getMessageFromStorage:function(e,t){const s=wr.chat[e]&&wr.chat[e].find((function(e){return+e.message_id==+t}));if(s)return{messageObj:s,name:s.client.user_type!==wr.constants.userType.OPERATOR?wr.localStorage.get("user-name"):s.client.name}},renderHistoryMessage:function(e){e.client.client_id&&(wr.appendMessageToEndChat(e,wr.getMessageHtmlData(e,!0),e.client.name),wr.scrollToStartOfChat())},getPreviousRenderedMessageById:function(e){let t=null;for(const s in wr.renderedMessages)st)&&(t=s);return t},replaceMessage:function(e){wr.replaceWith(document.querySelectorAll("#sh_"+e.message_id),wr.makeHTML(wr.tpl.message.item,{message_id:e.message_id,isNewProject:wr.newProject,text:e.text.nl2br().replace(/\(\:([a-z_]+)\:\)/g,(function(e,t){return wr.makeHTML(wr.tpl.message.smile,{name:t})})),textForQuoteTitle:wr.settings.text.textForQuoteTitle}))},removeMessage:function(e){wr.log("socket->on->client:chat.removeMessage");const t=document.getElementById("cf-message-"+e);if(!t)return!1;const s=t.closest(".sh_message");return!!s&&(s.querySelectorAll(".sh_message_items > div").length>1?t.remove():s.remove(),!0)},renderForm:function(e){var t;wr.log("UserAssist->renderForm"),e.message_id||(e.message_id=(t=-99999,-1,Math.floor(Math.random()*(-1-t)+t))),wr.appendMessageToEndChat(e,wr.getMessageHtmlData(e),e.client.name),wr.addFormEvent(e),wr.addRenderedMessage(e);const s=document.getElementsByClassName("sh_textarea_faq_field")[0];s&&s.setAttribute("disabled",""),this.scrollToLastMessage()},addFaqFormEvents:function(e){function t(){const t=document.getElementsByClassName("sh_chat_end")[0].getElementsByClassName("sh_button_back")[0];t&&(t.style.display="block"),wr.socket.emit("client:faq.close",{topicId:wr.lastFaqDetails.topicId,levelId:wr.blockByBonusRequest.level,questionId:e.questionId,refCode:wr.lastFaqDetails.refCode,screenId:wr.lastFaqDetails.widgetScreen}),wr.close()}e&&(document.getElementsByClassName("sh_button_gray_complete").length&&(document.getElementsByClassName("sh_button_gray_complete")[0].onclick=function(e){e.preventDefault(),t()}),document.getElementsByClassName("sh_hico_close").length&&(document.getElementsByClassName("sh_hico_close")[0].onclick=function(e){e.preventDefault(),t()}))},busyBlock:function(){function e(e){const t=document.getElementsByClassName(e);return!!t.length&&t[0]}const t=e("sh_history_btn"),s=e("sh_busy"),i=e("sh_wait_connection");return{showHistory:function(){return t&&(t.style.display="block"),this},showAll:function(){return t&&(t.style.display="block"),s&&(s.style.display="block"),i&&(i.style.display="block"),this},hideAll:function(){return t&&(t.style.display="none"),s&&(s.style.display="none"),i&&(i.style.display="none"),this}}},attachBtn:function(){function e(){const e=document.getElementsByClassName("sh_footer_menu_list")[0];if(!e)return!1;return e.querySelector("[rel=attach]")||!1}return{show:function(){const t=e();t&&(t.style.display="block")},hide:function(){const t=e();t&&(t.style.display="none")}}},addFormEvent:function(e){const t=document.getElementById("cf-message-"+e.message_id);if(!t)return!1;const s=t.getElementsByClassName("custom-form")[0];t.getElementsByClassName("cw-form-submit")[0].onclick=function(i){i.preventDefault();const n=t.getElementsByClassName("question_has_error")[0];n&&n.classList.remove("active");const o=t.getElementsByClassName("question_field_error")[0];if(o&&o.classList.remove("active"),wr.firstMessageText=document.querySelector("textarea.sh_textarea_field").value.trim(),s&&!FormValidation.validateForm(s)){if(n&&n.classList.add("active"),wr.chat)return!1;if(!wr.chat&&!wr.firstMessageText.length)return!1}const a={},r=t.getElementsByClassName("cw-form")[0].getElementsByTagName("*");for(let e=0;erenderPushRequest");const i=this.getChatBlock();document.getElementById("rh-arrow")||i&&"none"!==i.style.display||(wr.socket.emit("client:chat.auto",{script_id:s}),wr.appendHTML(document.getElementsByTagName("body")[0],wr.makeHTML(wr.tpl.push.block,{host:window.location.protocol+"//uassist.biz",text:e})),document.getElementById("rh-choiceYes").onclick=function(e){e.preventDefault(),wr.open(t,wr.constants.topicItemType.TYPE_CHAT_DEFERRED,s),document.getElementsByTagName("body")[0].removeChild(document.getElementById("rh-arrow"))},document.getElementById("rh-choiceNo").onclick=function(e){e.preventDefault(),wr.socket.emit("client:chat.refuse",{script_id:s}),document.getElementsByTagName("body")[0].removeChild(document.getElementById("rh-arrow"))},document.getElementById("rh-choiceClose").onclick=function(e){e.preventDefault(),wr.socket.emit("client:chat.refuse",{script_id:s}),document.getElementsByTagName("body")[0].removeChild(document.getElementById("rh-arrow"))})},appendHTML:function(e,t,s){e.appendChild(this.makeObject(t,s)),this.settings.faq.isScrollViewEnabled&&!t.includes("cw-message")&&this.getFaqList()==e&&this.saveMessageState(t)},prependHTML:function(e,t,s){e.prepend(this.makeObject(t,s))},insertHTMLAfter:function(e,t,s){e.nextSibling?e.parentNode.insertBefore(this.makeObject(t,s),e.nextSibling):e.parentNode.appendChild(this.makeObject(t,s))},scrollToEndOfChat:function(e){if(this.settings.faq.isScrollViewEnabled){if(e){const t=document.getElementsByClassName(e)[0];if(t)return void t.scrollIntoView()}const t=document.getElementById("dummyblock");t&&t.scrollIntoView()}const t=document.getElementById("sh_messages");t&&(t.scrollTop=t.scrollHeight)},scrollToStartOfChat:function(){if(this.settings.faq.isScrollViewEnabled){const e=this.getFaqList();if(e)return void(e.scrollTop=0)}document.getElementById("sh_messages").scrollTop=0},replaceWith:function(e,t,s){e.forEach((e=>e.parentNode.replaceChild(this.makeObject(t,s),e)))},makeObject:function(e,t){"object"!=typeof t&&(t={});const s=document.createElement("div");for(s.innerHTML=e;s.firstChild;){for(const e in t)s.firstChild["on"+e]=t[e];return s.firstChild}},makeHTML:function(e,t){return t.public_url="//cdn.uassist.biz/public",wr.whiskRender(e.replace(/\{([a-zA-Z0-9_]+)\([\"\']?(.+?)[\"\']?\)\}/g,(function(e,t,s){return wr.htmlFunctions[t]?wr.htmlFunctions[t](s):e})),{...t})},whiskRender:function(e,t){return wr.whiskCompile(e)(t)},whiskCompile:function(e){const t=[];let s,i,n;e=(e=(e=(e||"")+"").replace(/\\/g,"\\\\").replace(/\'/g,"\\'").replace(/\n/g,"\\n").replace(/\r/g,"").replace(/(\\*){![\s\S]*?!}/g,(function(e,t){return t?e.replace("\\\\",""):""}))).replace(/(\\*){(?:([\w_.\-@:]+)|>([\w_.\-@:]+)|for +([\w_\-@:]+) +in +([\w_.\-@:]+)|if +(not +|)([\w_.\-@:]+)|\/(for|if))}/g,(function(e,i,o,a,r,l,c,d,u,h,f){if(i)return e.replace("\\\\","");if(o){if("else"==o){if(s=t[t.length-1],s&&!s.elsed){if(s.elsed=!0,"if"==s.statement)return"'}else{b+='";if("for"==s.statement)return"'}if(!g(c,'"+s.forKey+"')){b+='"}return""}return"'+g(c,'"+o+"')+'"}return a?"'+r(g(c,'"+a+"'),c)+'":l?(n=r.replace("-","__"),t.push({statement:"for",forKey:l,iterVar:r,safeIterVar:n}),"';var __"+n+"=g(c,'"+r+"');var "+n+"A=g(c,'"+l+"');for(var "+n+"I=0;"+n+"I<"+n+"A.length;"+n+"I++){c['"+r+"']="+n+"A["+n+"I];b+='"):d?(t.push({statement:"if"}),"';if("+(c?"!":"")+"g(c,'"+d+"')){b+='"):u?(s=t[t.length-1],s&&s.statement==u?(t.pop(),"'}"+("for"==s.statement?"c['"+s.iterVar+"']=__"+s.safeIterVar+";":"")+"b+='"):""):e}));for(let i=t.length-1;i>-1;i--)s=t[i],e+="'}b+='";return i=new Function("g","r","return function(c){var b='"+e+"';return b}"),i(wr.whiskGet,wr.whiskRender)},whiskGet:function(e,t){const s=t.split(".");let i=!0;for(let t=0;t=1024;)e/=1024,++t;return e.toFixed(1)+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][t]},draggable:function(){const e=document.getElementsByClassName("sh_chat")[0];let t=e.getElementsByClassName("sh_title")[0];if(wr.settings.faq.isScrollViewEnabled&&(t=e.getElementsByClassName("sh_block_drag")[0]),!t)return;var s={},i={},n=!1;navigator.userAgent.match(/opera/i)&&(e.style.position="absolute"),t.ondragstart=function(){return!1},t.onselectstart=function(){return!1};const o=this;document.onmousemove=function(t){var a,r,l=t||window.event;s.x=l.clientX,s.y=l.clientY,n&&((a=s.x-i.x)<0&&(a=0),(r=s.y-i.y)<0&&(r=0),e.style.left=a+"px",e.style.top=r+"px",o.localStorage.set("position","left:"+e.style.left+";top:"+e.style.top+";"))},document.onmouseup=function(){n=!1},t.onmousedown=function(){n=!0,i.x=s.x-e.offsetLeft,i.y=s.y-e.offsetTop}},getBlockPositionDefault:function(){var e=0,t=0;"number"==typeof window.innerWidth?(e=window.innerWidth,t=window.innerHeight):document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)?(e=document.documentElement.clientWidth,t=document.documentElement.clientHeight):document.body&&(document.body.clientWidth||document.body.clientHeight)&&(e=document.body.clientWidth,t=document.body.clientHeight);var s=this.getChatBlock(),i=s&&s.style.width?parseInt(s.style.width):302,n=s&&s.style.height?parseInt(s.style.height):462,o=Math.round((e-i)/2),a=Math.round((t-n)/2),r={"top-left":"left: 10px; top: 10px;","top-center":"left: "+o+"px; top: 10px;","top-right":"right: 10px; top: 10px;","bottom-left":"left: 10px; bottom: 10px;","bottom-center":"left: "+o+"px; bottom: 10px;","bottom-right":"right: 10px; bottom: 10px;","left-top":"left: 10px; top: 10px;","left-center":"left: 10px; top: "+a+"px;","left-bottom":"left: 10px; bottom: 10px;","right-top":"right: 10px; top: 10px;","right-center":"right: 10px; top: "+a+"px;","right-bottom":"right: 10px; bottom: 10px;"};return r[this.settings.block.appearance+"-"+this.settings.block.position]||r["right-bottom"]},getBlockPosition:function(){return this.localStorage.get("position")||this.getBlockPositionDefault()},getBlockSize:function(){let e;try{e=JSON.parse(this.localStorage.get("widgetSize"))||{}}catch(t){e=this.settings.widgetSize}finally{e.width=e.width||this.settings.widgetSize.width,e.height=e.height||this.settings.widgetSize.height}return`width: ${e.width}px;height: ${e.height}px;min-width: ${this.settings.widgetSize.width}px;${jscd.mobile?"":`min-height: ${this.settings.widgetSize.height}px;`}`},showOfflineBlocks:function(e){e||(e=document);const t=e.getElementsByClassName("sh_offline");for(let e=0;e1&&void 0!==arguments[1])||arguments[1];wr.log("UserAssist->showOnlineBlock");const s=this.getChatBlock();this.hideOfflineBlocks(s),s.getElementsByClassName("sh_chat_end")[0].style.display="none",this.settings.faq.isScrollViewEnabled||(s.getElementsByClassName("sh_faq_bridge").length&&(s.getElementsByClassName("sh_faq_bridge")[0].style.display="none"),this.hideFaqBlock()),e||this.chat?(s.getElementsByClassName("sh_online_box")[0].style.display="none",s.getElementsByClassName("sh_online_box")[1].style.display="block"):(s.getElementsByClassName("sh_online_box")[1].style.display="none",s.getElementsByClassName("sh_online_box")[0].style.display="block"),e&&this.settings.faq.isScrollViewEnabled&&(s.getElementsByClassName("sh_online_box")[1].style.display="none"),this.settings.faq.isScrollViewEnabled&&(t&&this.scrollToEndOfChat(),this.isFaqEnabled()||(s.getElementsByClassName("sh_start_back_faq")[0].style.display="none",s.getElementsByClassName("sh_textarea_faq")[0].style.display="none"))},isFaqEnabled:function(){return Object.keys(this.faqData).length>2},showOfflineBlock:function(e){wr.log("UserAssist->showOfflineBlock"),this.offlineBlock=!0,e&&(this.socket.emit("client:chat.offline",{}),this.offlineBlock=!0);const t=this.getChatBlock();t.getElementsByClassName("sh_online_box")[0].style.display="none",t.getElementsByClassName("sh_online_box")[1].style.display="none",t.getElementsByClassName("sh_chat_end")[0].style.display="none",this.showOfflineBlocks(t),wr.populateOfflineForm()},populateNotSolvedForm:function(){wr.populateChatForm({name:"chat[contacts][name]",email:"chat[contacts][email]",phone:"chat[contacts][phone]"})},populateOfflineForm:function(){wr.populateChatForm({name:"chat[offline][name]",email:"chat[offline][email]",phone:"chat[offline][phone]"})},populateChatForm:function(e){var t=e.name||null,s=e.email||null,i=e.phone||null,n=document.getElementsByName(t)[0],o=document.getElementsByName(s)[0],a=document.getElementsByName(i)[0];n&&(n.value=wr.getClientName()),o&&(o.value=wr.user&&wr.user.email?wr.user.email:null),a&&(a.value=wr.user&&wr.user.phone?wr.user.phone:null)},showSpammerBlock:function(){wr.log("UserAssist->showSpammerBlock"),this.spammerBlock||this.createSpammerBlock(),this.getChatBlock().style.display="block"},showFinishBlock:function(){wr.log("UserAssist->showFinishBlock"),wr.isShowDialogBlock=!1;var e=this.getChatBlock(),t=this.getFaqList();this.settings.faq.isScrollViewEnabled&&t&&(this.appendHTML(t,this.makeHTML(this.tpl.chat.finish_scroll,{finish:this.makeHTML(this.tpl.chat.finish,{isNewProject:wr.newProject,problemResolvedMessage:this.settings.text.problemResolvedMessage||this.htmlFunctions.translate("To ensure you received the best service from us, we`d love to hear your feedback.
Have we managed to help you?"),problemResolvedYes:this.settings.text.problemResolvedYes||this.htmlFunctions.translate("Yes"),problemResolvedNo:this.settings.text.problemResolvedNo||this.htmlFunctions.translate("No")})})),this.addChatEvents()),wr.chatWithOperatorStarted=!1,wr.isChatInitiation=!1,wr.openedInStart=!1,wr.clearMessageState(),this.clearLastFaqDetails(),e&&(e.getElementsByClassName("sh_chat_end")[0].style.display="block"),this.hideOfflineBlocks(e),this.changeTextarea(),e&&(e.getElementsByClassName("sh_online_box")[0].style.display="none",e.getElementsByClassName("sh_online_box")[1].style.display="none"),this.settings.faq.isScrollViewEnabled&&this.scrollToEndOfChat("sh_chat_title")},autoCloseWidgetEventStart:function(){var e=this;return!!+this.settings.block.closeWidgetInFinishedChat&&(this.timeOutAutoCloseWidget=setTimeout((function(){e.autoEndDialog()&&e.close(),e.autoCloseWidgetEventRemove()}),1e3*this.settings.block.closeWidgetInFinishedChat),!0)},autoCloseWidgetEventRemove:function(){clearTimeout(this.timeOutAutoCloseWidget)},autoEndDialog:function(){return wr.renderedMessages={},this.socket.emit("client:chat.finish",{decision:wr.constants.chatDecision.DEFAULT}),!0},showFaqBlock:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};wr.isSkipPredict=!!e&&+e.skipPredict,wr.isSkipPredict&&(wr.faqOnTopAnswerWasShown=!0),wr.off("faqBlock"),e.isInit?wr.on("faqBlock",(()=>{const t=this.getFaqList();this.off("faqBlock"),this.createBlock(),this.initChat(e.initData),wr.setProjectName(),(!t||this.openedInStart||wr.isChatDeferred())&&(this.renderMessageState(),wr.disableTopicButtons()),wr.settings.faq.isScrollViewEnabled&&wr.isChatDeferred()&&document.querySelectorAll(".sh-alert-block").forEach((e=>{e.style.display="none"}))})):e.isStart?wr.on("faqBlock",(()=>{wr.off("faqBlock"),wr.createBlock();const e=this.getClientName();e&&this.settings.block.askClientNameFirstly&&!this.settings.block.clientFirstMessage&&this.start(e),jscd.mobile&&this.mobileResize(),wr.setProjectName(),this.trigger("open")})):wr.on("faqBlock",(()=>{wr.isShowBlockByBonusPage&&wr.showBlockByBonusRequestBlock(),e.showPersonalManager&&wr.showPersonalManager(),e.showPaManager&&!this.isChatDeferred()&&wr.showPaManager()})),wr.log("UserAssist->showFaqBlock"),this.socket.emit("client:chat.faq",{skipPredict:+wr.isSkipPredict})},hideFaqBlock:function(){const e=this.getChatBlock();return!!e&&(e.getElementsByClassName("sh-faq-block").length&&(e.getElementsByClassName("sh-faq-block")[0].style.display="none"),!0)},showDelayedReactionMessage:function(){if(this.delayedReactionMessageShowed)return;wr.log("UserAssist->showDelayedReactionMessage");const e=this.getChatBlock();if(e){if(this.hideOfflineBlocks(e),e.getElementsByClassName("sh_chat_end")[0].style.display="none",e.getElementsByClassName("sh_online_box")[0].style.display="none",e.getElementsByClassName("sh_online_box")[1].style.display="block",this.settings.faq.isScrollViewEnabled){var t=this.getFaqList();if(!t)return!1;this.appendHTML(t,this.makeHTML(this.tpl.chat.delayed_reaction_message_scroll,{delayedReactionMessage:this.settings.text.delayedReactionMessage})),this.addChatEvents(),this.scrollToEndOfChat()}else e.getElementsByClassName("sh_delayed")[0].style.display="block";this.delayedReactionMessageShowed=!0}},hideDelayedReactionMessage:function(){wr.log("UserAssist->hideDelayedReactionMessage");var e=this.getChatBlock();if(e){if(this.settings.faq.isScrollViewEnabled){const t=e.getElementsByClassName("sh_delayed_scroll")[0];t&&t.remove()}else e.getElementsByClassName("sh_delayed")[0].style.display="none";this.hideOfflineBlocks(e),e.getElementsByClassName("sh_chat_end")[0].style.display="none",e.getElementsByClassName("sh_online_box")[0].style.display="none",e.getElementsByClassName("sh_online_box")[1].style.display="block"}},mobileResize:function(){wr.log("UserAssist->mobileResize"),kr();var e=this.getChatBlock();if(e){e.style.top=0,e.style.left=0,e.style.width=jscd.width-2+"px",e.style.height=jscd.height-2+"px";var t=document.getElementsByClassName("sh_header")[0].offsetHeight;document.getElementsByClassName("sh_container_root")[0].style.height=jscd.height-9-t+"px",this.faqShow&&document.getElementsByClassName("sh-faq-block").length&&(document.getElementsByClassName("sh-faq-block")[0].style.height=parseInt(e.style.height)-46+"px");var s=document.getElementsByClassName("sh_form_bottom")[0];if(!this.settings.faq.isScrollViewEnabled){var i=parseInt(e.style.height)-46;document.getElementsByClassName("sh_online_box")[0].style.height=i+"px",document.getElementsByClassName("main_block")[0].style.height=i-s.offsetHeight+"px"}document.getElementsByClassName("sh_textarea_field")[0].style.width="100%",document.getElementById("sh_messages").style.height=jscd.height-175+"px"}},log:function(e){(this.debug||this.personalDebug)&&(this.debug&&(window.jscd.mobile||console&&console.log),this.socket&&this.socket.emit("client:log",e))},destroy:function(){this.socket&&(this.socket&&this.socket.disconnect(),delete this.socket,this.socket=null)}};function Tr(e){this.on=function(e,t){wr.on(e,t)},this.off=function(e){wr.off(e)},this.trigger=function(e,t){wr.trigger(e,t)},this.show=function(){wr.show()},this.hide=function(){wr.hide()},function(e){var t={project_id:e.project_id,user_id:e.user_id,signature:e.signature};wr.init(e.widget_id,e.user_id,t,e.settings,e.user_info,e.locale,e.platform,{getUserInfo:e.getUserInfo})}(e)}function qr(e,t){var s,i=+new Date,n=parseInt(wr.sessionStorage.get("starttime"))||+new Date;function o(e){var s=-1;if(e.url_pattern&&-1===window.location.href.indexOf(e.url_pattern))return s;if(2==e.balance_type&&t.balancee.balance)return s;if(e.demo_timeout>0&&!t.is_demo_game)return s;if(e.last_invite_timeout>0){var o,a=wr.sessionStorage.get("lastcalltime")||0;s=a?(o=parseInt(a)+6e4*parseInt(e.last_invite_timeout))>s?o:s:(o=+new Date)>s?o:s}return e.visit_page_timeout>0&&(s=(o=i+1e3*parseInt(e.visit_page_timeout))>s?o:s),e.visit_site_timeout>0&&(s=(o=n+1e3*parseInt(e.visit_site_timeout))>s?o:s),e.after_auth_timeout>0&&t&&t.auth_date&&(s=(o=+new Date(t.auth_date)+1e3*parseInt(e.after_auth_timeout))>s?o:s),e.demo_timeout>0&&t&&t.is_demo_game&&(s=(o=i+1e3*parseInt(e.demo_timeout))>s?o:s),-1===s&&(s=+new Date),s}this.init=function(){if(wr.log("Scripts.init"),clearTimeout(s),!wr.online)return wr.log("Scripts>UserAssist.online = false"),!1;var t,i,n={};for(var a in e){var r=o(e[a]);-1!==r&&(n[a]=r)}for(var a in n)(!i||n[a]0?y.major+"."+y.minor+" r"+y.release:""}var b=0,_=0;window.visualViewport&&("Chrome"!==a||+r.split(".")[0]<112)?(b=window.visualViewport.width,_=window.visualViewport.height):"number"==typeof window.innerWidth?(b=window.innerWidth,_=window.innerHeight):document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)?(b=document.documentElement.clientWidth,_=document.documentElement.clientHeight):document.body&&(document.body.clientWidth||document.body.clientHeight)&&(b=document.body.clientWidth,_=document.body.clientHeight),window.jscd={screen:e,width:b,height:_,browser:a,browserVersion:r,mobile:d,os:h,osVersion:g,cookies:u,flashVersion:v,oldMSIE:c}}function xr(){if(jscd.mobile){var e="sh-modal-open",t="sh-modal-open-noscroll",s="is-mobile",i=document.body;i.classList?(i.classList.add(e),i.classList.add(t),i.classList.add(s)):i.className+=" "+e+" "+t+" "+s}}function Sr(){if(jscd.mobile){var e="sh-modal-open",t="sh-modal-open-noscroll",s="is-mobile",i=document.body;i.classList?(i.classList.remove(e),i.classList.remove(t),i.classList.remove(s)):(i.className=i.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "),i.className=i.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "),i.className=i.className.replace(new RegExp("(^|\\b)"+s.split(" ").join("|")+"(\\b|$)","gi")," "))}}function Cr(e){for(var t="",s=wr.constants.randomCharacters.length,i=0;i\n")},String.prototype.nl2br=String.nl2br),document.getElementsByClassName||(document.getElementsByClassName=function(e){for(var t=[],s=document.getElementsByTagName("*"),i=0;i