(self.webpackChunkcircle=self.webpackChunkcircle||[]).push([[8838],{79292:function(e,t){!function(e){"use strict";function t(e,t){return e(t={exports:{}},t.exports),t.exports}var n=t((function(e,t){!function(t){e.exports=t()}((function(e){var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function n(e,t){var n=e[0],r=e[1],i=e[2],o=e[3];r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&i|~r&o)+t[0]-680876936|0)<<7|n>>>25)+r|0)&r|~n&i)+t[1]-389564586|0)<<12|o>>>20)+n|0)&n|~o&r)+t[2]+606105819|0)<<17|i>>>15)+o|0)&o|~i&n)+t[3]-1044525330|0)<<22|r>>>10)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&i|~r&o)+t[4]-176418897|0)<<7|n>>>25)+r|0)&r|~n&i)+t[5]+1200080426|0)<<12|o>>>20)+n|0)&n|~o&r)+t[6]-1473231341|0)<<17|i>>>15)+o|0)&o|~i&n)+t[7]-45705983|0)<<22|r>>>10)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&i|~r&o)+t[8]+1770035416|0)<<7|n>>>25)+r|0)&r|~n&i)+t[9]-1958414417|0)<<12|o>>>20)+n|0)&n|~o&r)+t[10]-42063|0)<<17|i>>>15)+o|0)&o|~i&n)+t[11]-1990404162|0)<<22|r>>>10)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&i|~r&o)+t[12]+1804603682|0)<<7|n>>>25)+r|0)&r|~n&i)+t[13]-40341101|0)<<12|o>>>20)+n|0)&n|~o&r)+t[14]-1502002290|0)<<17|i>>>15)+o|0)&o|~i&n)+t[15]+1236535329|0)<<22|r>>>10)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&o|i&~o)+t[1]-165796510|0)<<5|n>>>27)+r|0)&i|r&~i)+t[6]-1069501632|0)<<9|o>>>23)+n|0)&r|n&~r)+t[11]+643717713|0)<<14|i>>>18)+o|0)&n|o&~n)+t[0]-373897302|0)<<20|r>>>12)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&o|i&~o)+t[5]-701558691|0)<<5|n>>>27)+r|0)&i|r&~i)+t[10]+38016083|0)<<9|o>>>23)+n|0)&r|n&~r)+t[15]-660478335|0)<<14|i>>>18)+o|0)&n|o&~n)+t[4]-405537848|0)<<20|r>>>12)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&o|i&~o)+t[9]+568446438|0)<<5|n>>>27)+r|0)&i|r&~i)+t[14]-1019803690|0)<<9|o>>>23)+n|0)&r|n&~r)+t[3]-187363961|0)<<14|i>>>18)+o|0)&n|o&~n)+t[8]+1163531501|0)<<20|r>>>12)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r&o|i&~o)+t[13]-1444681467|0)<<5|n>>>27)+r|0)&i|r&~i)+t[2]-51403784|0)<<9|o>>>23)+n|0)&r|n&~r)+t[7]+1735328473|0)<<14|i>>>18)+o|0)&n|o&~n)+t[12]-1926607734|0)<<20|r>>>12)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r^i^o)+t[5]-378558|0)<<4|n>>>28)+r|0)^r^i)+t[8]-2022574463|0)<<11|o>>>21)+n|0)^n^r)+t[11]+1839030562|0)<<16|i>>>16)+o|0)^o^n)+t[14]-35309556|0)<<23|r>>>9)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r^i^o)+t[1]-1530992060|0)<<4|n>>>28)+r|0)^r^i)+t[4]+1272893353|0)<<11|o>>>21)+n|0)^n^r)+t[7]-155497632|0)<<16|i>>>16)+o|0)^o^n)+t[10]-1094730640|0)<<23|r>>>9)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r^i^o)+t[13]+681279174|0)<<4|n>>>28)+r|0)^r^i)+t[0]-358537222|0)<<11|o>>>21)+n|0)^n^r)+t[3]-722521979|0)<<16|i>>>16)+o|0)^o^n)+t[6]+76029189|0)<<23|r>>>9)+i|0,r=((r+=((i=((i+=((o=((o+=((n=((n+=(r^i^o)+t[9]-640364487|0)<<4|n>>>28)+r|0)^r^i)+t[12]-421815835|0)<<11|o>>>21)+n|0)^n^r)+t[15]+530742520|0)<<16|i>>>16)+o|0)^o^n)+t[2]-995338651|0)<<23|r>>>9)+i|0,r=((r+=((o=((o+=(r^((n=((n+=(i^(r|~o))+t[0]-198630844|0)<<6|n>>>26)+r|0)|~i))+t[7]+1126891415|0)<<10|o>>>22)+n|0)^((i=((i+=(n^(o|~r))+t[14]-1416354905|0)<<15|i>>>17)+o|0)|~n))+t[5]-57434055|0)<<21|r>>>11)+i|0,r=((r+=((o=((o+=(r^((n=((n+=(i^(r|~o))+t[12]+1700485571|0)<<6|n>>>26)+r|0)|~i))+t[3]-1894986606|0)<<10|o>>>22)+n|0)^((i=((i+=(n^(o|~r))+t[10]-1051523|0)<<15|i>>>17)+o|0)|~n))+t[1]-2054922799|0)<<21|r>>>11)+i|0,r=((r+=((o=((o+=(r^((n=((n+=(i^(r|~o))+t[8]+1873313359|0)<<6|n>>>26)+r|0)|~i))+t[15]-30611744|0)<<10|o>>>22)+n|0)^((i=((i+=(n^(o|~r))+t[6]-1560198380|0)<<15|i>>>17)+o|0)|~n))+t[13]+1309151649|0)<<21|r>>>11)+i|0,r=((r+=((o=((o+=(r^((n=((n+=(i^(r|~o))+t[4]-145523070|0)<<6|n>>>26)+r|0)|~i))+t[11]-1120210379|0)<<10|o>>>22)+n|0)^((i=((i+=(n^(o|~r))+t[2]+718787259|0)<<15|i>>>17)+o|0)|~n))+t[9]-343485551|0)<<21|r>>>11)+i|0,e[0]=n+e[0]|0,e[1]=r+e[1]|0,e[2]=i+e[2]|0,e[3]=o+e[3]|0}function r(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function i(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return n}function o(e){var t,i,o,a,s,u,c=e.length,f=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=c;t+=64)n(f,r(e.substring(t-64,t)));for(i=(e=e.substring(t-64)).length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<i;t+=1)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(n(f,o),t=0;t<16;t+=1)o[t]=0;return a=(a=8*c).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),u=parseInt(a[1],16)||0,o[14]=s,o[15]=u,n(f,o),f}function a(e){var t,r,o,a,s,u,c=e.length,f=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=c;t+=64)n(f,i(e.subarray(t-64,t)));for(r=(e=t-64<c?e.subarray(t-64):new Uint8Array(0)).length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<r;t+=1)o[t>>2]|=e[t]<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(n(f,o),t=0;t<16;t+=1)o[t]=0;return a=(a=8*c).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),u=parseInt(a[1],16)||0,o[14]=s,o[15]=u,n(f,o),f}function s(e){var n,r="";for(n=0;n<4;n+=1)r+=t[e>>8*n+4&15]+t[e>>8*n&15];return r}function u(e){var t;for(t=0;t<e.length;t+=1)e[t]=s(e[t]);return e.join("")}function c(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function f(e,t){var n,r=e.length,i=new ArrayBuffer(r),o=new Uint8Array(i);for(n=0;n<r;n+=1)o[n]=e.charCodeAt(n);return t?o:i}function p(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function l(e,t,n){var r=new Uint8Array(e.byteLength+t.byteLength);return r.set(new Uint8Array(e)),r.set(new Uint8Array(t),e.byteLength),n?r:r.buffer}function d(e){var t,n=[],r=e.length;for(t=0;t<r-1;t+=2)n.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,n)}function h(){this.reset()}return u(o("hello")),"undefined"===typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(e,t){return(e=0|e||0)<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(n,r){var i,o,a,s,u=this.byteLength,c=t(n,u),f=u;return r!==e&&(f=t(r,u)),c>f?new ArrayBuffer(0):(i=f-c,o=new ArrayBuffer(i),a=new Uint8Array(o),s=new Uint8Array(this,c,i),a.set(s),o)}}(),h.prototype.append=function(e){return this.appendBinary(c(e)),this},h.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,i=this._buff.length;for(t=64;t<=i;t+=64)n(this._hash,r(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},h.prototype.end=function(e){var t,n,r=this._buff,i=r.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)o[t>>2]|=r.charCodeAt(t)<<(t%4<<3);return this._finish(o,i),n=u(this._hash),e&&(n=d(n)),this.reset(),n},h.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash}},h.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},h.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},h.prototype._finish=function(e,t){var r,i,o,a=t;if(e[a>>2]|=128<<(a%4<<3),a>55)for(n(this._hash,e),a=0;a<16;a+=1)e[a]=0;r=(r=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),i=parseInt(r[2],16),o=parseInt(r[1],16)||0,e[14]=i,e[15]=o,n(this._hash,e)},h.hash=function(e,t){return h.hashBinary(c(e),t)},h.hashBinary=function(e,t){var n=u(o(e));return t?d(n):n},h.ArrayBuffer=function(){this.reset()},h.ArrayBuffer.prototype.append=function(e){var t,r=l(this._buff.buffer,e,!0),o=r.length;for(this._length+=e.byteLength,t=64;t<=o;t+=64)n(this._hash,i(r.subarray(t-64,t)));return this._buff=t-64<o?new Uint8Array(r.buffer.slice(t-64)):new Uint8Array(0),this},h.ArrayBuffer.prototype.end=function(e){var t,n,r=this._buff,i=r.length,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<i;t+=1)o[t>>2]|=r[t]<<(t%4<<3);return this._finish(o,i),n=u(this._hash),e&&(n=d(n)),this.reset(),n},h.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.ArrayBuffer.prototype.getState=function(){var e=h.prototype.getState.call(this);return e.buff=p(e.buff),e},h.ArrayBuffer.prototype.setState=function(e){return e.buff=f(e.buff,!0),h.prototype.setState.call(this,e)},h.ArrayBuffer.prototype.destroy=h.prototype.destroy,h.ArrayBuffer.prototype._finish=h.prototype._finish,h.ArrayBuffer.hash=function(e,t){var n=u(a(new Uint8Array(e)));return t?d(n):n},h}))})),r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=File.prototype.slice||File.prototype.mozSlice||File.prototype.webkitSlice,a=function(){function e(t){r(this,e),this.file=t,this.chunkSize=2097152,this.chunkCount=Math.ceil(this.file.size/this.chunkSize),this.chunkIndex=0}return i(e,null,[{key:"create",value:function(t,n){new e(t).create(n)}}]),i(e,[{key:"create",value:function(e){var t=this;this.callback=e,this.md5Buffer=new n.ArrayBuffer,this.fileReader=new FileReader,this.fileReader.addEventListener("load",(function(e){return t.fileReaderDidLoad(e)})),this.fileReader.addEventListener("error",(function(e){return t.fileReaderDidError(e)})),this.readNextChunk()}},{key:"fileReaderDidLoad",value:function(e){if(this.md5Buffer.append(e.target.result),!this.readNextChunk()){var t=this.md5Buffer.end(!0),n=btoa(t);this.callback(null,n)}}},{key:"fileReaderDidError",value:function(e){this.callback("Error reading "+this.file.name)}},{key:"readNextChunk",value:function(){if(this.chunkIndex<this.chunkCount||0==this.chunkIndex&&0==this.chunkCount){var e=this.chunkIndex*this.chunkSize,t=Math.min(e+this.chunkSize,this.file.size),n=o.call(this.file,e,t);return this.fileReader.readAsArrayBuffer(n),this.chunkIndex++,!0}return!1}}]),e}();function s(e){var t=c(document.head,'meta[name="'+e+'"]');if(t)return t.getAttribute("content")}function u(e,t){return"string"==typeof e&&(t=e,e=document),p(e.querySelectorAll(t))}function c(e,t){return"string"==typeof e&&(t=e,e=document),e.querySelector(t)}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.disabled,i=n.bubbles,o=n.cancelable,a=n.detail,s=document.createEvent("Event");s.initEvent(t,i||!0,o||!0),s.detail=a||{};try{e.disabled=!1,e.dispatchEvent(s)}finally{e.disabled=r}return s}function p(e){return Array.isArray(e)?e:Array.from?Array.from(e):[].slice.call(e)}var l=function(){function e(t,n,i){var o=this;r(this,e),this.file=t,this.attributes={filename:t.name,content_type:t.type||"application/octet-stream",byte_size:t.size,checksum:n},this.xhr=new XMLHttpRequest,this.xhr.open("POST",i,!0),this.xhr.responseType="json",this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.setRequestHeader("Accept","application/json"),this.xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");var a=s("csrf-token");void 0!=a&&this.xhr.setRequestHeader("X-CSRF-Token",a),this.xhr.addEventListener("load",(function(e){return o.requestDidLoad(e)})),this.xhr.addEventListener("error",(function(e){return o.requestDidError(e)}))}return i(e,[{key:"create",value:function(e){this.callback=e,this.xhr.send(JSON.stringify({blob:this.attributes}))}},{key:"requestDidLoad",value:function(e){if(this.status>=200&&this.status<300){var t=this.response,n=t.direct_upload;delete t.direct_upload,this.attributes=t,this.directUploadData=n,this.callback(null,this.toJSON())}else this.requestDidError(e)}},{key:"requestDidError",value:function(e){this.callback('Error creating Blob for "'+this.file.name+'". Status: '+this.status)}},{key:"toJSON",value:function(){var e={};for(var t in this.attributes)e[t]=this.attributes[t];return e}},{key:"status",get:function(){return this.xhr.status}},{key:"response",get:function(){var e=this.xhr,t=e.responseType,n=e.response;return"json"==t?n:JSON.parse(n)}}]),e}(),d=function(){function e(t){var n=this;r(this,e),this.blob=t,this.file=t.file;var i=t.directUploadData,o=i.url,a=i.headers;for(var s in this.xhr=new XMLHttpRequest,this.xhr.open("PUT",o,!0),this.xhr.responseType="text",a)this.xhr.setRequestHeader(s,a[s]);this.xhr.addEventListener("load",(function(e){return n.requestDidLoad(e)})),this.xhr.addEventListener("error",(function(e){return n.requestDidError(e)}))}return i(e,[{key:"create",value:function(e){this.callback=e,this.xhr.send(this.file.slice())}},{key:"requestDidLoad",value:function(e){var t=this.xhr,n=t.status,r=t.response;n>=200&&n<300?this.callback(null,r):this.requestDidError(e)}},{key:"requestDidError",value:function(e){this.callback('Error storing "'+this.file.name+'". Status: '+this.xhr.status)}}]),e}(),h=0,v=function(){function e(t,n,i){r(this,e),this.id=++h,this.file=t,this.url=n,this.delegate=i}return i(e,[{key:"create",value:function(e){var t=this;a.create(this.file,(function(n,r){if(n)e(n);else{var i=new l(t.file,r,t.url);m(t.delegate,"directUploadWillCreateBlobWithXHR",i.xhr),i.create((function(n){if(n)e(n);else{var r=new d(i);m(t.delegate,"directUploadWillStoreFileWithXHR",r.xhr),r.create((function(t){t?e(t):e(null,i.toJSON())}))}}))}}))}}]),e}();function m(e,t){if(e&&"function"==typeof e[t]){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e[t].apply(e,r)}}var y=function(){function e(t,n){r(this,e),this.input=t,this.file=n,this.directUpload=new v(this.file,this.url,this),this.dispatch("initialize")}return i(e,[{key:"start",value:function(e){var t=this,n=document.createElement("input");n.type="hidden",n.name=this.input.name,this.input.insertAdjacentElement("beforebegin",n),this.dispatch("start"),this.directUpload.create((function(r,i){r?(n.parentNode.removeChild(n),t.dispatchError(r)):n.value=i.signed_id,t.dispatch("end"),e(r)}))}},{key:"uploadRequestDidProgress",value:function(e){var t=e.loaded/e.total*100;t&&this.dispatch("progress",{progress:t})}},{key:"dispatch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.file=this.file,t.id=this.directUpload.id,f(this.input,"direct-upload:"+e,{detail:t})}},{key:"dispatchError",value:function(e){this.dispatch("error",{error:e}).defaultPrevented||alert(e)}},{key:"directUploadWillCreateBlobWithXHR",value:function(e){this.dispatch("before-blob-request",{xhr:e})}},{key:"directUploadWillStoreFileWithXHR",value:function(e){var t=this;this.dispatch("before-storage-request",{xhr:e}),e.upload.addEventListener("progress",(function(e){return t.uploadRequestDidProgress(e)}))}},{key:"url",get:function(){return this.input.getAttribute("data-direct-upload-url")}}]),e}(),g="input[type=file][data-direct-upload-url]:not([disabled])",b=function(){function e(t){r(this,e),this.form=t,this.inputs=u(t,g).filter((function(e){return e.files.length}))}return i(e,[{key:"start",value:function(e){var t=this,n=this.createDirectUploadControllers(),r=function r(){var i=n.shift();i?i.start((function(n){n?(e(n),t.dispatch("end")):r()})):(e(),t.dispatch("end"))};this.dispatch("start"),r()}},{key:"createDirectUploadControllers",value:function(){var e=[];return this.inputs.forEach((function(t){p(t.files).forEach((function(n){var r=new y(t,n);e.push(r)}))})),e}},{key:"dispatch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f(this.form,"direct-uploads:"+e,{detail:t})}}]),e}(),w="data-direct-uploads-processing",x=new WeakMap,O=!1;function A(){O||(O=!0,document.addEventListener("click",E,!0),document.addEventListener("submit",k),document.addEventListener("ajax:before",T))}function E(e){var t=e.target;"INPUT"!=t.tagName&&"BUTTON"!=t.tagName||"submit"!=t.type||!t.form||x.set(t.form,t)}function k(e){D(e)}function T(e){"FORM"==e.target.tagName&&D(e)}function D(e){var t=e.target;if(t.hasAttribute(w))e.preventDefault();else{var n=new b(t),r=n.inputs;r.length&&(e.preventDefault(),t.setAttribute(w,""),r.forEach(L),n.start((function(e){t.removeAttribute(w),e?r.forEach(j):C(t)})))}}function C(e){var t=x.get(e)||c(e,"input[type=submit], button[type=submit]");if(t){var n=t.disabled;t.disabled=!1,t.focus(),t.click(),t.disabled=n}else(t=document.createElement("input")).type="submit",t.style.display="none",e.appendChild(t),t.click(),e.removeChild(t);x.delete(e)}function L(e){e.disabled=!0}function j(e){e.disabled=!1}function S(){window.ActiveStorage&&A()}setTimeout(S,1),e.start=A,e.DirectUpload=v,Object.defineProperty(e,"__esModule",{value:!0})}(t)},79253:(e,t,n)=>{"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return e instanceof r(e).Element||e instanceof Element}function o(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!==typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}n.d(t,{XB:()=>pt,ZP:()=>lt});var s=Math.max,u=Math.min,c=Math.round;function f(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(o(e)&&t){var a=e.offsetHeight,s=e.offsetWidth;s>0&&(r=c(n.width)/s||1),a>0&&(i=c(n.height)/a||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function p(e){var t=r(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function l(e){return e?(e.nodeName||"").toLowerCase():null}function d(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return f(d(e)).left+p(e).scrollLeft}function v(e){return r(e).getComputedStyle(e)}function m(e){var t=v(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function y(e,t,n){void 0===n&&(n=!1);var i,a,s=o(t),u=o(t)&&function(e){var t=e.getBoundingClientRect(),n=c(t.width)/e.offsetWidth||1,r=c(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),v=d(t),y=f(e,u),g={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(s||!s&&!n)&&(("body"!==l(t)||m(v))&&(g=(i=t)!==r(i)&&o(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:p(i)),o(t)?((b=f(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):v&&(b.x=h(v))),{x:y.left+g.scrollLeft-b.x,y:y.top+g.scrollTop-b.y,width:y.width,height:y.height}}function g(e){var t=f(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function b(e){return"html"===l(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||d(e)}function w(e){return["html","body","#document"].indexOf(l(e))>=0?e.ownerDocument.body:o(e)&&m(e)?e:w(b(e))}function x(e,t){var n;void 0===t&&(t=[]);var i=w(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),a=r(i),s=o?[a].concat(a.visualViewport||[],m(i)?i:[]):i,u=t.concat(s);return o?u:u.concat(x(b(s)))}function O(e){return["table","td","th"].indexOf(l(e))>=0}function A(e){return o(e)&&"fixed"!==v(e).position?e.offsetParent:null}function E(e){for(var t=r(e),n=A(e);n&&O(n)&&"static"===v(n).position;)n=A(n);return n&&("html"===l(n)||"body"===l(n)&&"static"===v(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&o(e)&&"fixed"===v(e).position)return null;var n=b(e);for(a(n)&&(n=n.host);o(n)&&["html","body"].indexOf(l(n))<0;){var r=v(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var k="top",T="bottom",D="right",C="left",L="auto",j=[k,T,D,C],S="start",R="end",_="clippingParents",B="viewport",P="popper",M="reference",U=j.reduce((function(e,t){return e.concat([t+"-"+S,t+"-"+R])}),[]),q=[].concat(j,[L]).reduce((function(e,t){return e.concat([t,t+"-"+S,t+"-"+R])}),[]),H=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function W(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}var N={placement:"bottom",modifiers:[],strategy:"absolute"};function I(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function V(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?N:o;return function(e,t,n){void 0===n&&(n=a);var o,s,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},N,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],f=!1,p={state:u,setOptions:function(n){var o="function"===typeof n?n(u.options):n;l(),u.options=Object.assign({},a,u.options,o),u.scrollParents={reference:i(e)?x(e):e.contextElement?x(e.contextElement):[],popper:x(t)};var s=function(e){var t=W(e);return H.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,u.options.modifiers)));return u.orderedModifiers=s.filter((function(e){return e.enabled})),u.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var o=i({state:u,name:t,instance:p,options:r}),a=function(){};c.push(o||a)}})),p.update()},forceUpdate:function(){if(!f){var e=u.elements,t=e.reference,n=e.popper;if(I(t,n)){u.rects={reference:y(t,E(n),"fixed"===u.options.strategy),popper:g(n)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(e){return u.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var i=u.orderedModifiers[r],o=i.fn,a=i.options,s=void 0===a?{}:a,c=i.name;"function"===typeof o&&(u=o({state:u,options:s,name:c,instance:p})||u)}else u.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){p.forceUpdate(),e(u)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){l(),f=!0}};if(!I(e,t))return p;function l(){c.forEach((function(e){return e()})),c=[]}return p.setOptions(n).then((function(e){!f&&n.onFirstUpdate&&n.onFirstUpdate(e)})),p}}var F={passive:!0};function z(e){return e.split("-")[0]}function X(e){return e.split("-")[1]}function $(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function J(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?z(i):null,a=i?X(i):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(o){case k:t={x:s,y:n.y-r.height};break;case T:t={x:s,y:n.y+n.height};break;case D:t={x:n.x+n.width,y:u};break;case C:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var c=o?$(o):null;if(null!=c){var f="y"===c?"height":"width";switch(a){case S:t[c]=t[c]-(n[f]/2-r[f]/2);break;case R:t[c]=t[c]+(n[f]/2-r[f]/2)}}return t}var Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z(e){var t,n=e.popper,i=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,u=e.position,f=e.gpuAcceleration,p=e.adaptive,l=e.roundOffsets,h=e.isFixed,m=s.x,y=void 0===m?0:m,g=s.y,b=void 0===g?0:g,w="function"===typeof l?l({x:y,y:b}):{x:y,y:b};y=w.x,b=w.y;var x=s.hasOwnProperty("x"),O=s.hasOwnProperty("y"),A=C,L=k,j=window;if(p){var S=E(n),_="clientHeight",B="clientWidth";if(S===r(n)&&"static"!==v(S=d(n)).position&&"absolute"===u&&(_="scrollHeight",B="scrollWidth"),o===k||(o===C||o===D)&&a===R)L=T,b-=(h&&S===j&&j.visualViewport?j.visualViewport.height:S[_])-i.height,b*=f?1:-1;if(o===C||(o===k||o===T)&&a===R)A=D,y-=(h&&S===j&&j.visualViewport?j.visualViewport.width:S[B])-i.width,y*=f?1:-1}var P,M=Object.assign({position:u},p&&Y),U=!0===l?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:c(t*r)/r||0,y:c(n*r)/r||0}}({x:y,y:b}):{x:y,y:b};return y=U.x,b=U.y,f?Object.assign({},M,((P={})[L]=O?"0":"",P[A]=x?"0":"",P.transform=(j.devicePixelRatio||1)<=1?"translate("+y+"px, "+b+"px)":"translate3d("+y+"px, "+b+"px, 0)",P)):Object.assign({},M,((t={})[L]=O?b+"px":"",t[A]=x?y+"px":"",t.transform="",t))}const G={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];o(i)&&l(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});o(r)&&l(r)&&(Object.assign(r.style,a),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};const K={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=q.reduce((function(e,n){return e[n]=function(e,t,n){var r=z(e),i=[C,k].indexOf(r)>=0?-1:1,o="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[C,D].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var Q={left:"right",right:"left",bottom:"top",top:"bottom"};function ee(e){return e.replace(/left|right|bottom|top/g,(function(e){return Q[e]}))}var te={start:"end",end:"start"};function ne(e){return e.replace(/start|end/g,(function(e){return te[e]}))}function re(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ie(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oe(e,t){return t===B?ie(function(e){var t=r(e),n=d(e),i=t.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,u=0;return i&&(o=i.width,a=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,u=i.offsetTop)),{width:o,height:a,x:s+h(e),y:u}}(e)):i(t)?function(e){var t=f(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ie(function(e){var t,n=d(e),r=p(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=s(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-r.scrollLeft+h(e),c=-r.scrollTop;return"rtl"===v(i||n).direction&&(u+=s(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:u,y:c}}(d(e)))}function ae(e,t,n){var r="clippingParents"===t?function(e){var t=x(b(e)),n=["absolute","fixed"].indexOf(v(e).position)>=0&&o(e)?E(e):e;return i(n)?t.filter((function(e){return i(e)&&re(e,n)&&"body"!==l(e)})):[]}(e):[].concat(t),a=[].concat(r,[n]),c=a[0],f=a.reduce((function(t,n){var r=oe(e,n);return t.top=s(r.top,t.top),t.right=u(r.right,t.right),t.bottom=u(r.bottom,t.bottom),t.left=s(r.left,t.left),t}),oe(e,c));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}function se(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ue(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ce(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,s=void 0===a?_:a,u=n.rootBoundary,c=void 0===u?B:u,p=n.elementContext,l=void 0===p?P:p,h=n.altBoundary,v=void 0!==h&&h,m=n.padding,y=void 0===m?0:m,g=se("number"!==typeof y?y:ue(y,j)),b=l===P?M:P,w=e.rects.popper,x=e.elements[v?b:l],O=ae(i(x)?x:x.contextElement||d(e.elements.popper),s,c),A=f(e.elements.reference),E=J({reference:A,element:w,strategy:"absolute",placement:o}),C=ie(Object.assign({},w,E)),L=l===P?C:A,S={top:O.top-L.top+g.top,bottom:L.bottom-O.bottom+g.bottom,left:O.left-L.left+g.left,right:L.right-O.right+g.right},R=e.modifiersData.offset;if(l===P&&R){var U=R[o];Object.keys(S).forEach((function(e){var t=[D,T].indexOf(e)>=0?1:-1,n=[k,T].indexOf(e)>=0?"y":"x";S[e]+=U[n]*t}))}return S}function fe(e,t,n){return s(e,u(t,n))}const pe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,c=void 0!==a&&a,f=n.boundary,p=n.rootBoundary,l=n.altBoundary,d=n.padding,h=n.tether,v=void 0===h||h,m=n.tetherOffset,y=void 0===m?0:m,b=ce(t,{boundary:f,rootBoundary:p,padding:d,altBoundary:l}),w=z(t.placement),x=X(t.placement),O=!x,A=$(w),L="x"===A?"y":"x",j=t.modifiersData.popperOffsets,R=t.rects.reference,_=t.rects.popper,B="function"===typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,P="number"===typeof B?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,U={x:0,y:0};if(j){if(o){var q,H="y"===A?k:C,W="y"===A?T:D,N="y"===A?"height":"width",I=j[A],V=I+b[H],F=I-b[W],J=v?-_[N]/2:0,Y=x===S?R[N]:_[N],Z=x===S?-_[N]:-R[N],G=t.elements.arrow,K=v&&G?g(G):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[H],te=Q[W],ne=fe(0,R[N],K[N]),re=O?R[N]/2-J-ne-ee-P.mainAxis:Y-ne-ee-P.mainAxis,ie=O?-R[N]/2+J+ne+te+P.mainAxis:Z+ne+te+P.mainAxis,oe=t.elements.arrow&&E(t.elements.arrow),ae=oe?"y"===A?oe.clientTop||0:oe.clientLeft||0:0,se=null!=(q=null==M?void 0:M[A])?q:0,ue=I+ie-se,pe=fe(v?u(V,I+re-se-ae):V,I,v?s(F,ue):F);j[A]=pe,U[A]=pe-I}if(c){var le,de="x"===A?k:C,he="x"===A?T:D,ve=j[L],me="y"===L?"height":"width",ye=ve+b[de],ge=ve-b[he],be=-1!==[k,C].indexOf(w),we=null!=(le=null==M?void 0:M[L])?le:0,xe=be?ye:ve-R[me]-_[me]-we+P.altAxis,Oe=be?ve+R[me]+_[me]-we-P.altAxis:ge,Ae=v&&be?function(e,t,n){var r=fe(e,t,n);return r>n?n:r}(xe,ve,Oe):fe(v?xe:ye,ve,v?Oe:ge);j[L]=Ae,U[L]=Ae-ve}t.modifiersData[r]=U}},requiresIfExists:["offset"]};const le={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=z(n.placement),u=$(s),c=[C,D].indexOf(s)>=0?"height":"width";if(o&&a){var f=function(e,t){return se("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ue(e,j))}(i.padding,n),p=g(o),l="y"===u?k:C,d="y"===u?T:D,h=n.rects.reference[c]+n.rects.reference[u]-a[u]-n.rects.popper[c],v=a[u]-n.rects.reference[u],m=E(o),y=m?"y"===u?m.clientHeight||0:m.clientWidth||0:0,b=h/2-v/2,w=f[l],x=y-p[c]-f[d],O=y/2-p[c]/2+b,A=fe(w,O,x),L=u;n.modifiersData[r]=((t={})[L]=A,t.centerOffset=A-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&re(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function de(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function he(e){return[k,D,T,C].some((function(t){return e[t]>=0}))}var ve=V({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,a=void 0===o||o,s=i.resize,u=void 0===s||s,c=r(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&f.forEach((function(e){e.addEventListener("scroll",n.update,F)})),u&&c.addEventListener("resize",n.update,F),function(){a&&f.forEach((function(e){e.removeEventListener("scroll",n.update,F)})),u&&c.removeEventListener("resize",n.update,F)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=J({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,u=void 0===s||s,c={placement:z(t.placement),variation:X(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Z(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Z(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},G,K,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,c=n.padding,f=n.boundary,p=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,h=void 0===d||d,v=n.allowedAutoPlacements,m=t.options.placement,y=z(m),g=u||(y===m||!h?[ee(m)]:function(e){if(z(e)===L)return[];var t=ee(e);return[ne(e),t,ne(t)]}(m)),b=[m].concat(g).reduce((function(e,n){return e.concat(z(n)===L?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?q:u,f=X(r),p=f?s?U:U.filter((function(e){return X(e)===f})):j,l=p.filter((function(e){return c.indexOf(e)>=0}));0===l.length&&(l=p);var d=l.reduce((function(t,n){return t[n]=ce(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[z(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:f,rootBoundary:p,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,A=!0,E=b[0],R=0;R<b.length;R++){var _=b[R],B=z(_),P=X(_)===S,M=[k,T].indexOf(B)>=0,H=M?"width":"height",W=ce(t,{placement:_,boundary:f,rootBoundary:p,altBoundary:l,padding:c}),N=M?P?D:C:P?T:k;w[H]>x[H]&&(N=ee(N));var I=ee(N),V=[];if(o&&V.push(W[B]<=0),s&&V.push(W[N]<=0,W[I]<=0),V.every((function(e){return e}))){E=_,A=!1;break}O.set(_,V)}if(A)for(var F=function(e){var t=b.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},$=h?3:1;$>0;$--){if("break"===F($))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},pe,le,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=ce(t,{elementContext:"reference"}),s=ce(t,{altBoundary:!0}),u=de(a,r),c=de(s,i,o),f=he(u),p=he(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":p})}}]}),me="tippy-content",ye="tippy-backdrop",ge="tippy-arrow",be="tippy-svg-arrow",we={passive:!0,capture:!0},xe=function(){return document.body};function Oe(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ae(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ee(e,t){return"function"===typeof e?e.apply(void 0,t):e}function ke(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Te(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}function De(e){return[].concat(e)}function Ce(e,t){-1===e.indexOf(t)&&e.push(t)}function Le(e){return e.split("-")[0]}function je(e){return[].slice.call(e)}function Se(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Re(){return document.createElement("div")}function _e(e){return["Element","Fragment"].some((function(t){return Ae(e,t)}))}function Be(e){return Ae(e,"MouseEvent")}function Pe(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Me(e){return _e(e)?[e]:function(e){return Ae(e,"NodeList")}(e)?je(e):Array.isArray(e)?e:je(document.querySelectorAll(e))}function Ue(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function qe(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function He(e){var t,n=De(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function We(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function Ne(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Ie={isTouch:!1},Ve=0;function Fe(){Ie.isTouch||(Ie.isTouch=!0,window.performance&&document.addEventListener("mousemove",ze))}function ze(){var e=performance.now();e-Ve<20&&(Ie.isTouch=!1,document.removeEventListener("mousemove",ze)),Ve=e}function Xe(){var e=document.activeElement;if(Pe(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var $e=!!("undefined"!==typeof window&&"undefined"!==typeof document)&&!!window.msCrypto;var Je={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ye=Object.assign({appendTo:xe,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Je,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Ze=Object.keys(Ye);function Ge(e){var t=(e.plugins||[]).reduce((function(t,n){var r,i=n.name,o=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=Ye[i])?r:o);return t}),{});return Object.assign({},e,t)}function Ke(e,t){var n=Object.assign({},t,{content:Ee(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Ge(Object.assign({},Ye,{plugins:t}))):Ze).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(i){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Ye.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var Qe=function(){return"innerHTML"};function et(e,t){e[Qe()]=t}function tt(e){var t=Re();return!0===e?t.className=ge:(t.className=be,_e(e)?t.appendChild(e):et(t,e)),t}function nt(e,t){_e(t.content)?(et(e,""),e.appendChild(t.content)):"function"!==typeof t.content&&(t.allowHTML?et(e,t.content):e.textContent=t.content)}function rt(e){var t=e.firstElementChild,n=je(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(me)})),arrow:n.find((function(e){return e.classList.contains(ge)||e.classList.contains(be)})),backdrop:n.find((function(e){return e.classList.contains(ye)}))}}function it(e){var t=Re(),n=Re();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Re();function i(n,r){var i=rt(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"===typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"===typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||nt(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(tt(r.arrow))):o.appendChild(tt(r.arrow)):s&&o.removeChild(s)}return r.className=me,r.setAttribute("data-state","hidden"),nt(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}it.$$tippy=!0;var ot=1,at=[],st=[];function ut(e,t){var n,r,i,o,a,s,u,c,f=Ke(e,Object.assign({},Ye,Ge(Se(t)))),p=!1,l=!1,d=!1,h=!1,v=[],m=ke($,f.interactiveDebounce),y=ot++,g=(c=f.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:y,reference:e,popper:Re(),popperInstance:null,props:f,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){0;if(b.state.isDestroyed)return;_("onBeforeUpdate",[b,t]),z();var n=b.props,r=Ke(e,Object.assign({},n,Se(t),{ignoreAttributes:!0}));b.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(M(),m=ke($,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?De(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");P(),R(),O&&O(n,r);b.popperInstance&&(G(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));_("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){0;var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Ie.isTouch&&!b.props.touch,i=Oe(b.props.duration,0,Ye.duration);if(e||t||n||r)return;if(C().hasAttribute("disabled"))return;if(_("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,D()&&(x.style.visibility="visible");R(),W(),b.state.isMounted||(x.style.transition="none");if(D()){var o=j();Ue([o.box,o.content],0)}s=function(){var e;if(b.state.isVisible&&!h){if(h=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,D()&&b.props.animation){var t=j(),n=t.box,r=t.content;Ue([n,r],i),qe([n,r],"visible")}B(),P(),Ce(st,b),null==(e=b.popperInstance)||e.forceUpdate(),_("onMount",[b]),b.props.animation&&D()&&function(e,t){I(e,t)}(i,(function(){b.state.isShown=!0,_("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=C();e=b.props.interactive&&t===xe||"parent"===t?n.parentNode:Ee(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,G(),!1}()},hide:function(){0;var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Oe(b.props.duration,1,Ye.duration);if(e||t||n)return;if(_("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,h=!1,p=!1,D()&&(x.style.visibility="hidden");if(M(),N(),R(!0),D()){var i=j(),o=i.box,a=i.content;b.props.animation&&(Ue([o,a],r),qe([o,a],"hidden"))}B(),P(),b.props.animation?D()&&function(e,t){I(e,(function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){0;L().addEventListener("mousemove",m),Ce(at,m),m(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){0;b.state.isVisible&&b.hide();if(!b.state.isMounted)return;K(),Q().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);st=st.filter((function(e){return e!==b})),b.state.isMounted=!1,_("onHidden",[b])},destroy:function(){0;if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),z(),delete e._tippy,b.state.isDestroyed=!0,_("onDestroy",[b])}};if(!f.render)return b;var w=f.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var A=g.map((function(e){return e.fn(b)})),E=e.hasAttribute("aria-expanded");return F(),P(),R(),_("onCreate",[b]),f.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&L().addEventListener("mousemove",m)})),b;function k(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function T(){return"hold"===k()[0]}function D(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function C(){return u||e}function L(){var e=C().parentNode;return e?He(e):document}function j(){return rt(x)}function S(e){return b.state.isMounted&&!b.state.isVisible||Ie.isTouch||o&&"focus"===o.type?0:Oe(b.props.delay,e?0:1,Ye.delay)}function R(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function _(e,t,n){var r;(void 0===n&&(n=!0),A.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=b.props)[e].apply(r,t)}function B(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;De(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function P(){!E&&b.props.aria.expanded&&De(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===C()?"true":"false"):e.removeAttribute("aria-expanded")}))}function M(){L().removeEventListener("mousemove",m),at=at.filter((function(e){return e!==m}))}function U(t){if(!Ie.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Ne(x,n)){if(De(b.props.triggerTarget||e).some((function(e){return Ne(e,n)}))){if(Ie.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else _("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout((function(){l=!1})),b.state.isMounted||N())}}}function q(){d=!0}function H(){d=!1}function W(){var e=L();e.addEventListener("mousedown",U,!0),e.addEventListener("touchend",U,we),e.addEventListener("touchstart",H,we),e.addEventListener("touchmove",q,we)}function N(){var e=L();e.removeEventListener("mousedown",U,!0),e.removeEventListener("touchend",U,we),e.removeEventListener("touchstart",H,we),e.removeEventListener("touchmove",q,we)}function I(e,t){var n=j().box;function r(e){e.target===n&&(We(n,"remove",r),t())}if(0===e)return t();We(n,"remove",a),We(n,"add",r),a=r}function V(t,n,r){void 0===r&&(r=!1),De(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),v.push({node:e,eventType:t,handler:n,options:r})}))}function F(){var e;T()&&(V("touchstart",X,{passive:!0}),V("touchend",J,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(V(e,X),e){case"mouseenter":V("mouseleave",J);break;case"focus":V($e?"focusout":"blur",Y);break;case"focusin":V("focusout",Y)}}))}function z(){v.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),v=[]}function X(e){var t,n=!1;if(b.state.isEnabled&&!Z(e)&&!l){var r="focus"===(null==(t=o)?void 0:t.type);o=e,u=e.currentTarget,P(),!b.state.isVisible&&Be(e)&&at.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||p)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(p=!n),n&&!r&&te(e)}}function $(e){var t=e.target,n=C().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Q().concat(x).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:f}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=Le(i.placement),s=i.modifiersData.offset;if(!s)return!0;var u="bottom"===a?s.top.y:0,c="top"===a?s.bottom.y:0,f="right"===a?s.left.x:0,p="left"===a?s.right.x:0,l=t.top-r+u>o,d=r-t.bottom-c>o,h=t.left-n+f>o,v=n-t.right-p>o;return l||d||h||v}))})(r,e)&&(M(),te(e))}}function J(e){Z(e)||b.props.trigger.indexOf("click")>=0&&p||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function Y(e){b.props.trigger.indexOf("focusin")<0&&e.target!==C()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function Z(e){return!!Ie.isTouch&&T()!==e.type.indexOf("touch")>=0}function G(){K();var t=b.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,u=D()?rt(x).arrow:null,c=o?{getBoundingClientRect:o,contextElement:o.contextElement||C()}:e,f={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=j().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},p=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},f];D()&&u&&p.push({name:"arrow",options:{element:u,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),b.popperInstance=ve(c,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:p}))}function K(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return je(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&_("onTrigger",[b,e]),W();var t=S(!0),r=k(),i=r[0],o=r[1];Ie.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),_("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&p)){var t=S(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else N()}}function ct(e,t){void 0===t&&(t={});var n=Ye.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Fe,we),window.addEventListener("blur",Xe);var r=Object.assign({},t,{plugins:n}),i=Me(e).reduce((function(e,t){var n=t&&ut(t,r);return n&&e.push(n),e}),[]);return _e(e)?i[0]:i}ct.defaultProps=Ye,ct.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Ye[t]=e[t]}))},ct.currentInput=Ie;var ft=Object.assign({},G,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),pt=function(e,t){var n;void 0===t&&(t={});var r,i=e,o=[],a=[],s=t.overrides,u=[],c=!1;function f(){a=i.map((function(e){return De(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function p(){o=i.map((function(e){return e.reference}))}function l(e){i.forEach((function(t){e?t.enable():t.disable()}))}function d(e){return i.map((function(t){var n=t.setProps;return t.setProps=function(i){n(i),t.reference===r&&e.setProps(i)},function(){t.setProps=n}}))}function h(e,t){var n=a.indexOf(t);if(t!==r){r=t;var u=(s||[]).concat("content").reduce((function(e,t){return e[t]=i[n].props[t],e}),{});e.setProps(Object.assign({},u,{getReferenceClientRect:"function"===typeof u.getReferenceClientRect?u.getReferenceClientRect:function(){var e;return null==(e=o[n])?void 0:e.getBoundingClientRect()}}))}}l(!1),p(),f();var v={fn:function(){return{onDestroy:function(){l(!0)},onHidden:function(){r=null},onClickOutside:function(e){e.props.showOnCreate&&!c&&(c=!0,r=null)},onShow:function(e){e.props.showOnCreate&&!c&&(c=!0,h(e,o[0]))},onTrigger:function(e,t){h(e,t.currentTarget)}}}},m=ct(Re(),Object.assign({},Te(t,["overrides"]),{plugins:[v].concat(t.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[ft])})})),y=m.show;m.show=function(e){if(y(),!r&&null==e)return h(m,o[0]);if(!r||null!=e){if("number"===typeof e)return o[e]&&h(m,o[e]);if(i.indexOf(e)>=0){var t=e.reference;return h(m,t)}return o.indexOf(e)>=0?h(m,e):void 0}},m.showNext=function(){var e=o[0];if(!r)return m.show(0);var t=o.indexOf(r);m.show(o[t+1]||e)},m.showPrevious=function(){var e=o[o.length-1];if(!r)return m.show(e);var t=o.indexOf(r),n=o[t-1]||e;m.show(n)};var g=m.setProps;return m.setProps=function(e){s=e.overrides||s,g(e)},m.setInstances=function(e){l(!0),u.forEach((function(e){return e()})),i=e,l(!1),p(),f(),u=d(m),m.setProps({triggerTarget:a})},u=d(m),m};ct.setDefaultProps({render:it});const lt=ct}}]);
//# sourceMappingURL=/packs/js/8838-b11d62c3863149306374.js.map