box-ui-elements 25.2.0-beta.13 → 25.2.0-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/openwith.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see openwith.js.LICENSE.txt */
2
- (()=>{var __webpack_modules__={53095:(e,t,r)=>{e.exports=r(44569)},85846:(e,t,r)=>{"use strict";var n=r(40898),i=r(7184),o=r(50310),a=r(81036),s=r(42629),l=r(30902),c=r(27004),u=r(77986),d=r(11279),h=r(46501),f=r(53834),p=r(68251);e.exports=function(e){return new Promise((function(t,r){var m,b=e.data,g=e.headers,y=e.responseType,v=e.withXSRFToken;function w(){e.cancelToken&&e.cancelToken.unsubscribe(m),e.signal&&e.signal.removeEventListener("abort",m)}n.isFormData(b)&&n.isStandardBrowserEnv()&&delete g["Content-Type"];var E=new XMLHttpRequest;if(e.auth){var S=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(S+":"+x)}var O=s(e.baseURL,e.url,e.allowAbsoluteUrls);function P(){if(E){var n="getAllResponseHeaders"in E?l(E.getAllResponseHeaders()):null,o={data:y&&"text"!==y&&"json"!==y?E.response:E.responseText,status:E.status,statusText:E.statusText,headers:n,config:e,request:E};i((function(e){t(e),w()}),(function(e){r(e),w()}),o),E=null}}if(E.open(e.method.toUpperCase(),a(O,e.params,e.paramsSerializer),!0),E.timeout=e.timeout,"onloadend"in E?E.onloadend=P:E.onreadystatechange=function(){E&&4===E.readyState&&(0!==E.status||E.responseURL&&0===E.responseURL.indexOf("file:"))&&setTimeout(P)},E.onabort=function(){E&&(r(new d("Request aborted",d.ECONNABORTED,e,E)),E=null)},E.onerror=function(){r(new d("Network Error",d.ERR_NETWORK,e,E)),E=null},E.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new d(t,n.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,e,E)),E=null},n.isStandardBrowserEnv()&&(v&&n.isFunction(v)&&(v=v(e)),v||!1!==v&&c(O))){var C=e.xsrfHeaderName&&e.xsrfCookieName&&o.read(e.xsrfCookieName);C&&(g[e.xsrfHeaderName]=C)}"setRequestHeader"in E&&n.forEach(g,(function(e,t){void 0===b&&"content-type"===t.toLowerCase()?delete g[t]:E.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(E.withCredentials=!!e.withCredentials),y&&"json"!==y&&(E.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&E.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&E.upload&&E.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(m=function(t){E&&(r(!t||t.type?new h(null,e,E):t),E.abort(),E=null)},e.cancelToken&&e.cancelToken.subscribe(m),e.signal&&(e.signal.aborted?m():e.signal.addEventListener("abort",m))),b||!1===b||0===b||""===b||(b=null);var k=f(O);k&&-1===p.protocols.indexOf(k)?r(new d("Unsupported protocol "+k+":",d.ERR_BAD_REQUEST,e)):E.send(b)}))}},44569:(e,t,r)=>{"use strict";var n=r(40898),i=r(6654),o=r(28905),a=r(1441),s=r(14538),l=r(22412),c=function e(t){var r=new o(t),s=i(o.prototype.request,r);return n.extend(s,o.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(s);c.Axios=o,c.CanceledError=r(46501),c.CancelToken=r(87709),c.isCancel=r(7770),c.VERSION=r(78219).version,c.toFormData=r(61234),c.AxiosError=r(11279),c.Cancel=c.CanceledError,c.all=function(e){return Promise.all(e)},c.spread=r(27238),c.isAxiosError=r(75657),c.formToJSON=function(e){return l(n.isHTMLForm(e)?new FormData(e):e)},e.exports=c,e.exports.default=c},87709:(e,t,r)=>{"use strict";var n=r(46501);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){for(var t=r._listeners.length;t-- >0;)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,i,o){r.reason||(r.reason=new n(e,i,o),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},46501:(e,t,r)=>{"use strict";var n=r(11279);function i(e,t,r){n.call(this,null==e?"canceled":e,n.ERR_CANCELED,t,r),this.name="CanceledError"}r(40898).inherits(i,n,{__CANCEL__:!0}),e.exports=i},7770:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},28905:(e,t,r)=>{"use strict";var n=r(40898),i=r(81036),o=r(761),a=r(68768),s=r(1441),l=r(42629),c=r(89419),u=c.validators;function d(e){this.defaults=e,this.interceptors={request:new o,response:new o}}d.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var i=t.paramsSerializer;null!=i&&(n.isFunction(i)?t.paramsSerializer={serialize:i}:c.assertOptions(i,{encode:u.function,serialize:u.function},!0));var o=[],l=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));var d,h=[];if(this.interceptors.response.forEach((function(e){h.push(e.fulfilled,e.rejected)})),!l){var f=[a,void 0];for(Array.prototype.unshift.apply(f,o),f=f.concat(h),d=Promise.resolve(t);f.length;)d=d.then(f.shift(),f.shift());return d}for(var p=t;o.length;){var m=o.shift(),b=o.shift();try{p=m(p)}catch(e){b(e);break}}try{d=a(p)}catch(e){return Promise.reject(e)}for(;h.length;)d=d.then(h.shift(),h.shift());return d},d.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url,e.allowAbsoluteUrls);return i(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,i){return this.request(s(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}d.prototype[e]=t(),d.prototype[e+"Form"]=t(!0)})),e.exports=d},11279:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}var i=r(40898);function o(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}i.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var a=o.prototype,s={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){s[e]={value:e}})),Object.defineProperties(o,s),Object.defineProperty(a,"isAxiosError",{value:!0}),o.from=function(e,t,r,s,l,c){var u=Object.create(a);return i.toFlatObject(e,u,(function(e){return e!==Error.prototype})),o.call(u,e.message,t,r,s,l),u.cause=e,u.name=e.name,c&&n(u,c),u},e.exports=o},761:(e,t,r)=>{"use strict";var n=r(40898);function i(){this.handlers=[]}i.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.clear=function(){this.handlers&&(this.handlers=[])},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},42629:(e,t,r)=>{"use strict";var n=r(97571),i=r(51190);e.exports=function(e,t,r){var o=!n(t);return e&&(o||!1===r)?i(e,t):t}},68768:(e,t,r)=>{"use strict";var n=r(40898),i=r(35871),o=r(7770),a=r(14538),s=r(46501),l=r(41752);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,null,e.transformRequest),l(e.headers,"Accept"),l(e.headers,"Content-Type"),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return c(e),t.data=i.call(e,t.data,t.headers,t.status,e.transformResponse),t}),(function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,t.response.status,e.transformResponse))),Promise.reject(t)}))}},1441:(e,t,r)=>{"use strict";var n=r(40898);e.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isEmptyObject(t)?n.merge({},e):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function l(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);n.isUndefined(i)&&t!==l||(r[e]=i)})),r}},7184:(e,t,r)=>{"use strict";var n=r(11279);e.exports=function(e,t,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}},35871:(e,t,r)=>{"use strict";var n=r(40898),i=r(14538);e.exports=function(e,t,r,o){var a=this||i;return n.forEach(o,(function(n){e=n.call(a,e,t,r)})),e}},14538:(e,t,r)=>{"use strict";var n=r(40898),i=r(41752),o=r(11279),a=r(77986),s=r(61234),l=r(96423),c=r(68251),u=r(22412),d={"Content-Type":"application/x-www-form-urlencoded"};function h(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var f,p={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(f=r(85846)),f),transformRequest:[function(e,t){i(t,"Accept"),i(t,"Content-Type");var r,o=t&&t["Content-Type"]||"",a=o.indexOf("application/json")>-1,c=n.isObject(e);if(c&&n.isHTMLForm(e)&&(e=new FormData(e)),n.isFormData(e))return a?JSON.stringify(u(e)):e;if(n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e))return e;if(n.isArrayBufferView(e))return e.buffer;if(n.isURLSearchParams(e))return h(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();if(c){if(-1!==o.indexOf("application/x-www-form-urlencoded"))return l(e,this.formSerializer).toString();if((r=n.isFileList(e))||o.indexOf("multipart/form-data")>-1){var d=this.env&&this.env.FormData;return s(r?{"files[]":e}:e,d&&new d,this.formSerializer)}}return c||a?(h(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||p.transitional,r=t&&t.forcedJSONParsing,i="json"===this.responseType;if(e&&n.isString(e)&&(r&&!this.responseType||i)){var a=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o.from(e,o.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:c.classes.FormData,Blob:c.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){p.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){p.headers[e]=n.merge(d)})),e.exports=p},77986:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},79652:(e,t,r)=>{e.exports=r(8276)},78219:e=>{e.exports={version:"0.30.1"}},61348:(e,t,r)=>{"use strict";var n=r(61234);function i(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,(function(e){return t[e]}))}function o(e,t){this._pairs=[],e&&n(e,this,t)}var a=o.prototype;a.append=function(e,t){this._pairs.push([e,t])},a.toString=function(e){var t=e?function(t){return e.call(this,t,i)}:i;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")},e.exports=o},6654:e=>{"use strict";e.exports=function(e,t){return function(){return e.apply(t,arguments)}}},81036:(e,t,r)=>{"use strict";var n=r(40898),i=r(61348);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a));var s,l=r&&r.encode||o,c=r&&r.serialize;return(s=c?c(t,r):n.isURLSearchParams(t)?t.toString():new i(t,r).toString(l))&&(e+=(-1===e.indexOf("?")?"?":"&")+s),e}},51190:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}},50310:(e,t,r)=>{"use strict";var n=r(40898);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},22412:(e,t,r)=>{"use strict";var n=r(40898);e.exports=function(e){function t(e,r,i,o){var a=e[o++];if("__proto__"===a)return!0;var s=Number.isFinite(+a),l=o>=e.length;return a=!a&&n.isArray(i)?i.length:a,l?(n.hasOwnProperty(i,a)?i[a]=[i[a],r]:i[a]=r,!s):(i[a]&&n.isObject(i[a])||(i[a]=[]),t(e,r,i[a],o)&&n.isArray(i[a])&&(i[a]=function(e){var t,r,n={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)n[r=i[t]]=e[r];return n}(i[a])),!s)}if(n.isFormData(e)&&n.isFunction(e.entries)){var r={};return n.forEachEntry(e,(function(e,i){t(function(e){return n.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),i,r,0)})),r}return null}},97571:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},75657:(e,t,r)=>{"use strict";var n=r(40898);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},27004:(e,t,r)=>{"use strict";var n=r(40898);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},41752:(e,t,r)=>{"use strict";var n=r(40898);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},30902:(e,t,r)=>{"use strict";var n=r(40898),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.slice(0,o)).toLowerCase(),r=n.trim(e.slice(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},53834:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},27238:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},61234:(e,t,r)=>{"use strict";var n=r(23913).hp;function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(null,arguments)}var o=r(40898),a=r(11279),s=r(79652);function l(e){return o.isPlainObject(e)||o.isArray(e)}function c(e){return o.endsWith(e,"[]")?e.slice(0,-2):e}function u(e,t,r){return e?e.concat(t).map((function(e,t){return e=c(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}var d=o.toFlatObject(o,{},null,(function(e){return/^is[A-Z]/.test(e)}));e.exports=function(e,t,r){if(!o.isObject(e))throw new TypeError("target must be an object");t=t||new(s||FormData);var h,f=(r=o.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!o.isUndefined(t[e])}))).metaTokens,p=r.visitor||v,m=r.dots,b=r.indexes,g=(r.Blob||"undefined"!=typeof Blob&&Blob)&&(h=t)&&o.isFunction(h.append)&&"FormData"===h[Symbol.toStringTag]&&h[Symbol.iterator];if(!o.isFunction(p))throw new TypeError("visitor must be a function");function y(e){if(null===e)return"";if(o.isDate(e))return e.toISOString();if(!g&&o.isBlob(e))throw new a("Blob is not supported. Use a Buffer instead.");return o.isArrayBuffer(e)||o.isTypedArray(e)?g&&"function"==typeof Blob?new Blob([e]):n.from(e):e}function v(e,r,n){var i=e;if(e&&!n&&"object"==typeof e)if(o.endsWith(r,"{}"))r=f?r:r.slice(0,-2),e=JSON.stringify(e);else if(o.isArray(e)&&function(e){return o.isArray(e)&&!e.some(l)}(e)||o.isFileList(e)||o.endsWith(r,"[]")&&(i=o.toArray(e)))return r=c(r),i.forEach((function(e,n){!o.isUndefined(e)&&null!==e&&t.append(!0===b?u([r],n,m):null===b?r:r+"[]",y(e))})),!1;return!!l(e)||(t.append(u(n,r,m),y(e)),!1)}var w=[],E=i(d,{defaultVisitor:v,convertValue:y,isVisitable:l});if(!o.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!o.isUndefined(r)){if(-1!==w.indexOf(r))throw Error("Circular reference detected in "+n.join("."));w.push(r),o.forEach(r,(function(r,i){!0===(!(o.isUndefined(r)||null===r)&&p.call(t,r,o.isString(i)?i.trim():i,n,E))&&e(r,n?n.concat(i):[i])})),w.pop()}}(e),t}},96423:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}var i=r(40898),o=r(61234),a=r(68251);e.exports=function(e,t){return o(e,new a.classes.URLSearchParams,n({visitor:function(e,t,r,n){return a.isNode&&i.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}},89419:(e,t,r)=>{"use strict";var n=r(78219).version,i=r(11279),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new i(o(n," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),o=n.length;o-- >0;){var a=n[o],s=t[a];if(s){var l=e[a],c=void 0===l||s(l,a,e);if(!0!==c)throw new i("option "+a+" must be "+c,i.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}},validators:o}},40657:e=>{"use strict";e.exports=FormData},37792:(e,t,r)=>{"use strict";var n=r(61348);e.exports="undefined"!=typeof URLSearchParams?URLSearchParams:n},11960:(e,t,r)=>{"use strict";e.exports={isBrowser:!0,classes:{URLSearchParams:r(37792),FormData:r(40657),Blob},protocols:["http","https","file","blob","url","data"]}},68251:(e,t,r)=>{"use strict";e.exports=r(11960)},40898:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}var i,o=r(6654),a=Object.prototype.toString,s=(i=Object.create(null),function(e){var t=a.call(e);return i[t]||(i[t]=t.slice(8,-1).toLowerCase())});function l(e){return e=e.toLowerCase(),function(t){return s(t)===e}}function c(e){return Array.isArray(e)}function u(e){return void 0===e}var d=l("ArrayBuffer");function h(e){return"number"==typeof e}function f(e){return null!==e&&"object"==typeof e}function p(e){if("object"!==s(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var m=l("Date"),b=l("File"),g=l("Blob"),y=l("FileList");function v(e){return"[object Function]"===a.call(e)}var w=l("URLSearchParams");function E(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),c(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var S,x,O=(S="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return S&&e instanceof S}),P=l("HTMLFormElement"),C=(x=Object.prototype.hasOwnProperty,function(e,t){return x.call(e,t)});e.exports={isArray:c,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!u(e)&&null!==e.constructor&&!u(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||a.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:h,isObject:f,isPlainObject:p,isEmptyObject:function(e){return e&&0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype},isUndefined:u,isDate:m,isFile:b,isBlob:g,isFunction:v,isStream:function(e){return f(e)&&v(e.pipe)},isURLSearchParams:w,isStandardBrowserEnv:function(){var e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:E,merge:function e(){var t={};function r(r,n){p(t[n])&&p(r)?t[n]=e(t[n],r):p(r)?t[n]=e({},r):c(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)E(arguments[n],r);return t},extend:function(e,t,r){return E(t,(function(t,n){e[n]=r&&"function"==typeof t?o(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,i){e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,r&&n(e.prototype,r)},toFlatObject:function(e,t,r,n){var i,o,a,s={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],n&&!n(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==r&&Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:l,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;if(c(e))return e;var t=e.length;if(!h(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:O,isFileList:y,forEachEntry:function(e,t){for(var r,n=(e&&e[Symbol.iterator]).call(e);(r=n.next())&&!r.done;){var i=r.value;t.call(e,i[0],i[1])}},matchAll:function(e,t){for(var r,n=[];null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:P,hasOwnProperty:C}},61480:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,o=s(e),a=o[0],l=o[1],c=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,l)),u=0,d=l>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===l&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===l&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,c=n-i;s<c;s+=a)o.push(l(e,s,s+a>c?c:s+a));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},23913:(e,t,r)=>{"use strict";var n=r(61480),i=r(71765),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.hp=l,t.IS=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|m(e,t),n=s(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(H(e,Uint8Array)){var t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer))return f(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(H(e,SharedArrayBuffer)||e&&H(e.buffer,SharedArrayBuffer)))return f(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return l.from(n,t,r);var i=function(e){if(l.isBuffer(e)){var t=0|p(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||V(e.length)?s(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),s(e<0?0:0|p(e))}function h(e){for(var t=e.length<0?0:0|p(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function f(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,l.prototype),n}function p(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(e).length;default:if(i)return n?-1:N(e).length;t=(""+t).toLowerCase(),i=!0}}function b(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,r);case"utf8":case"utf-8":return C(this,t,r);case"ascii":return _(this,t,r);case"latin1":case"binary":return A(this,t,r);case"base64":return P(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),V(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=r;o<s;o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(c(e,o+h)!==c(t,h)){d=!1;break}if(d)return o}return-1}function w(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(V(s))return a;e[r+a]=s}return a}function E(e,t,r,n){return B(N(t,e.length-r),e,r,n)}function S(e,t,r,n){return B(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function x(e,t,r,n){return B(U(t),e,r,n)}function O(e,t,r,n){return B(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function P(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function C(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=r)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=d}return function(e){var t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=k));return r}(n)}l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,r){return c(e,t,r)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,r){return function(e,t,r){return u(e),e<=0?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)}(e,t,r)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),H(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=l.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(H(o,Uint8Array))i+o.length>n.length?l.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else{if(!l.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i)}i+=o.length}return n},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?C(this,0,e):b.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(e,t,r,n,i){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(n,i),u=e.slice(t,r),d=0;d<s;++d)if(c[d]!==u[d]){o=c[d],a=u[d];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return E(this,e,t,r);case"ascii":case"latin1":case"binary":return S(this,e,t,r);case"base64":return x(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function _(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function A(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function T(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=z[e[o]];return i}function j(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function I(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,r,n,i,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function M(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function R(e,t,r,n,o){return t=+t,r>>>=0,o||M(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function F(e,t,r,n,o){return t=+t,r>>>=0,o||M(e,0,r,8),i.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,l.prototype),n},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||I(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||I(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||I(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||I(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||I(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||I(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||D(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||D(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);D(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);D(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,r){return R(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return R(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return F(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return F(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=l.isBuffer(e)?e:l.from(e,n),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var L=/[^+/0-9A-Za-z-_]/g;function N(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function U(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function B(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function H(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function V(e){return e!=e}var z=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},6224:e=>{"use strict";var t="%[a-f0-9]{2}",r=new RegExp("("+t+")|([^%]+?)","gi"),n=new RegExp("("+t+")+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],i(r),i(n))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r)||[],n=1;n<t.length;n++)t=(e=i(t,n).join("")).match(r)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=n.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){var i=o(r[0]);i!==r[0]&&(t[r[0]]=i)}r=n.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var l=a[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},57825:e=>{"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}m(e,t,o,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&m(e,"error",t,{once:!0})}(e,i)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,r,n){var i,o,a,c;if(s(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]),void 0===a)a=o[t]=r,++e._eventsCount;else if("function"==typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=l(e))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=u.bind(n);return i.listener=r,n.wrapFn=i,i}function h(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):p(i,i.length)}function f(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function p(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function m(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){n.once&&e.removeEventListener(t,i),r(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else{var c=l.length,u=p(l,c);for(r=0;r<c;++r)n(u[r],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,i,o,a;if(s(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},o.prototype.listenerCount=f,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},8276:e=>{"use strict";e.exports="object"==typeof self?self.FormData:window.FormData},57160:(e,t,r)=>{"use strict";var n=r(52305),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=f(r);i&&i!==p&&e(t,i,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),b=0;b<a.length;++b){var g=a[b];if(!(o[g]||n&&n[g]||m&&m[g]||s&&s[g])){var y=h(r,g);try{c(t,g,y)}catch(e){}}}}return t}},71765:(e,t)=>{t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,c=l>>1,u=-7,d=r?i-1:0,h=r?-1:1,f=e[t+d];for(d+=h,o=f&(1<<-u)-1,f>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=h,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=n;u>0;a=256*a+e[t+d],d+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),o-=c}return(f?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+f]=255&s,f+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[r+f]=255&a,f+=p,a/=256,c-=8);e[r+f-p]|=128*m}},5026:(module,exports,__webpack_require__)=>{var __WEBPACK_AMD_DEFINE_RESULT__;(function(){"use strict";var root="object"==typeof window?window:{},NODE_JS=!root.JS_SHA1_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS&&(root=__webpack_require__.g);var COMMON_JS=!root.JS_SHA1_NO_COMMON_JS&&module.exports,AMD=__webpack_require__.amdO,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[],createOutputMethod=function(e){return function(t){return new Sha1(!0).update(t)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.create=function(){return new Sha1},e.update=function(t){return e.create().update(t)};for(var t=0;t<OUTPUT_TYPES.length;++t){var r=OUTPUT_TYPES[t];e[r]=createOutputMethod(r)}return e},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if("string"==typeof e)return crypto.createHash("sha1").update(e,"utf8").digest("hex");if(e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(void 0===e.length)return method(e);return crypto.createHash("sha1").update(new Buffer(e)).digest("hex")};return nodeMethod};function Sha1(e){e?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Sha1.prototype.update=function(e){if(!this.finalized){var t="string"!=typeof e;t&&e.constructor===root.ArrayBuffer&&(e=new Uint8Array(e));for(var r,n,i=0,o=e.length||0,a=this.blocks;i<o;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),t)for(n=this.start;i<o&&n<64;++i)a[n>>2]|=e[i]<<SHIFT[3&n++];else for(n=this.start;i<o&&n<64;++i)(r=e.charCodeAt(i))<128?a[n>>2]|=r<<SHIFT[3&n++]:r<2048?(a[n>>2]|=(192|r>>6)<<SHIFT[3&n++],a[n>>2]|=(128|63&r)<<SHIFT[3&n++]):r<55296||r>=57344?(a[n>>2]|=(224|r>>12)<<SHIFT[3&n++],a[n>>2]|=(128|r>>6&63)<<SHIFT[3&n++],a[n>>2]|=(128|63&r)<<SHIFT[3&n++]):(r=65536+((1023&r)<<10|1023&e.charCodeAt(++i)),a[n>>2]|=(240|r>>18)<<SHIFT[3&n++],a[n>>2]|=(128|r>>12&63)<<SHIFT[3&n++],a[n>>2]|=(128|r>>6&63)<<SHIFT[3&n++],a[n>>2]|=(128|63&r)<<SHIFT[3&n++]);this.lastByteIndex=n,this.bytes+=n-this.start,n>=64?(this.block=a[16],this.start=n-64,this.hash(),this.hashed=!0):this.start=n}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this}},Sha1.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha1.prototype.hash=function(){var e,t,r=this.h0,n=this.h1,i=this.h2,o=this.h3,a=this.h4,s=this.blocks;for(e=16;e<80;++e)t=s[e-3]^s[e-8]^s[e-14]^s[e-16],s[e]=t<<1|t>>>31;for(e=0;e<20;e+=5)r=(t=(n=(t=(i=(t=(o=(t=(a=(t=r<<5|r>>>27)+(n&i|~n&o)+a+1518500249+s[e]|0)<<5|a>>>27)+(r&(n=n<<30|n>>>2)|~r&i)+o+1518500249+s[e+1]|0)<<5|o>>>27)+(a&(r=r<<30|r>>>2)|~a&n)+i+1518500249+s[e+2]|0)<<5|i>>>27)+(o&(a=a<<30|a>>>2)|~o&r)+n+1518500249+s[e+3]|0)<<5|n>>>27)+(i&(o=o<<30|o>>>2)|~i&a)+r+1518500249+s[e+4]|0,i=i<<30|i>>>2;for(;e<40;e+=5)r=(t=(n=(t=(i=(t=(o=(t=(a=(t=r<<5|r>>>27)+(n^i^o)+a+1859775393+s[e]|0)<<5|a>>>27)+(r^(n=n<<30|n>>>2)^i)+o+1859775393+s[e+1]|0)<<5|o>>>27)+(a^(r=r<<30|r>>>2)^n)+i+1859775393+s[e+2]|0)<<5|i>>>27)+(o^(a=a<<30|a>>>2)^r)+n+1859775393+s[e+3]|0)<<5|n>>>27)+(i^(o=o<<30|o>>>2)^a)+r+1859775393+s[e+4]|0,i=i<<30|i>>>2;for(;e<60;e+=5)r=(t=(n=(t=(i=(t=(o=(t=(a=(t=r<<5|r>>>27)+(n&i|n&o|i&o)+a-1894007588+s[e]|0)<<5|a>>>27)+(r&(n=n<<30|n>>>2)|r&i|n&i)+o-1894007588+s[e+1]|0)<<5|o>>>27)+(a&(r=r<<30|r>>>2)|a&n|r&n)+i-1894007588+s[e+2]|0)<<5|i>>>27)+(o&(a=a<<30|a>>>2)|o&r|a&r)+n-1894007588+s[e+3]|0)<<5|n>>>27)+(i&(o=o<<30|o>>>2)|i&a|o&a)+r-1894007588+s[e+4]|0,i=i<<30|i>>>2;for(;e<80;e+=5)r=(t=(n=(t=(i=(t=(o=(t=(a=(t=r<<5|r>>>27)+(n^i^o)+a-899497514+s[e]|0)<<5|a>>>27)+(r^(n=n<<30|n>>>2)^i)+o-899497514+s[e+1]|0)<<5|o>>>27)+(a^(r=r<<30|r>>>2)^n)+i-899497514+s[e+2]|0)<<5|i>>>27)+(o^(a=a<<30|a>>>2)^r)+n-899497514+s[e+3]|0)<<5|n>>>27)+(i^(o=o<<30|o>>>2)^a)+r-899497514+s[e+4]|0,i=i<<30|i>>>2;this.h0=this.h0+r|0,this.h1=this.h1+n|0,this.h2=this.h2+i|0,this.h3=this.h3+o|0,this.h4=this.h4+a|0},Sha1.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3,i=this.h4;return HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]},Sha1.prototype.toString=Sha1.prototype.hex,Sha1.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3,i=this.h4;return[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,r>>24&255,r>>16&255,r>>8&255,255&r,n>>24&255,n>>16&255,n>>8&255,255&n,i>>24&255,i>>16&255,i>>8&255,255&i]},Sha1.prototype.array=Sha1.prototype.digest,Sha1.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(20),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),e};var exports=createMethod();COMMON_JS?module.exports=exports:(root.sha1=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()},84708:function(e,t,r){var n;!function(i){var o={starts_with_slashes:/^\/+/,ends_with_slashes:/\/+$/,pluses:/\+/g,query_separator:/[&;]/,uri_parser:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*)(?::([^:@]*))?)?@)?(\[[0-9a-fA-F:.]+\]|[^:\/?#]*)(?::(\d+|(?=:)))?(:)?)((((?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/};function a(e){return e&&(e=e.toString().replace(o.pluses,"%20"),e=decodeURIComponent(e)),e}function s(e){var t,r,n,i,s,l,c,u=[];if(null==e||""===e)return u;for(0===e.indexOf("?")&&(e=e.substring(1)),t=0,c=(r=e.toString().split(o.query_separator)).length;t<c;t++)0!==(i=(n=r[t]).indexOf("="))&&(s=a(n.substring(0,i)),l=a(n.substring(i+1)),u.push(-1===i?[n,null]:[s,l]));return u}function l(e){this.uriParts=function(e){var t=o.uri_parser.exec(e||""),r={};return["source","protocol","authority","userInfo","user","password","host","port","isColonUri","relative","path","directory","file","query","anchor"].forEach((function(e,n){r[e]=t[n]||""})),r}(e),this.queryPairs=s(this.uriParts.query),this.hasAuthorityPrefixUserPref=null}Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var r,n;if(null==this)throw new TypeError(" this is null or not defined");var i=Object(this),o=i.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(r=t),n=0;n<o;){var a;n in i&&(a=i[n],e.call(r,a,n,i)),n++}}),["protocol","userInfo","host","port","path","anchor"].forEach((function(e){l.prototype[e]=function(t){return void 0!==t&&(this.uriParts[e]=t),this.uriParts[e]}})),l.prototype.hasAuthorityPrefix=function(e){return void 0!==e&&(this.hasAuthorityPrefixUserPref=e),null===this.hasAuthorityPrefixUserPref?-1!==this.uriParts.source.indexOf("//"):this.hasAuthorityPrefixUserPref},l.prototype.isColonUri=function(e){if(void 0===e)return!!this.uriParts.isColonUri;this.uriParts.isColonUri=!!e},l.prototype.query=function(e){var t,r,n,i="";for(void 0!==e&&(this.queryPairs=s(e)),t=0,n=this.queryPairs.length;t<n;t++)r=this.queryPairs[t],i.length>0&&(i+="&"),null===r[1]?i+=r[0]:(i+=r[0],i+="=",void 0!==r[1]&&(i+=encodeURIComponent(r[1])));return i.length>0?"?"+i:i},l.prototype.getQueryParamValue=function(e){var t,r,n;for(r=0,n=this.queryPairs.length;r<n;r++)if(e===(t=this.queryPairs[r])[0])return t[1]},l.prototype.getQueryParamValues=function(e){var t,r,n,i=[];for(t=0,n=this.queryPairs.length;t<n;t++)e===(r=this.queryPairs[t])[0]&&i.push(r[1]);return i},l.prototype.deleteQueryParam=function(e,t){var r,n,i,o,s,l=[];for(r=0,s=this.queryPairs.length;r<s;r++)i=a((n=this.queryPairs[r])[0])===a(e),o=n[1]===t,(1!==arguments.length||i)&&(2!==arguments.length||i&&o)||l.push(n);return this.queryPairs=l,this},l.prototype.addQueryParam=function(e,t,r){return 3===arguments.length&&-1!==r?(r=Math.min(r,this.queryPairs.length),this.queryPairs.splice(r,0,[e,t])):arguments.length>0&&this.queryPairs.push([e,t]),this},l.prototype.hasQueryParam=function(e){var t,r=this.queryPairs.length;for(t=0;t<r;t++)if(this.queryPairs[t][0]==e)return!0;return!1},l.prototype.replaceQueryParam=function(e,t,r){var n,i,o=-1,s=this.queryPairs.length;if(3===arguments.length){for(n=0;n<s;n++)if(a((i=this.queryPairs[n])[0])===a(e)&&decodeURIComponent(i[1])===a(r)){o=n;break}o>=0&&this.deleteQueryParam(e,a(r)).addQueryParam(e,t,o)}else{for(n=0;n<s;n++)if(a((i=this.queryPairs[n])[0])===a(e)){o=n;break}this.deleteQueryParam(e),this.addQueryParam(e,t,o)}return this},["protocol","hasAuthorityPrefix","isColonUri","userInfo","host","port","path","query","anchor"].forEach((function(e){var t="set"+e.charAt(0).toUpperCase()+e.slice(1);l.prototype[t]=function(t){return this[e](t),this}})),l.prototype.scheme=function(){var e="";return this.protocol()?(e+=this.protocol(),this.protocol().indexOf(":")!==this.protocol().length-1&&(e+=":"),e+="//"):this.hasAuthorityPrefix()&&this.host()&&(e+="//"),e},l.prototype.origin=function(){var e=this.scheme();return this.userInfo()&&this.host()&&(e+=this.userInfo(),this.userInfo().indexOf("@")!==this.userInfo().length-1&&(e+="@")),this.host()&&(e+=this.host(),(this.port()||this.path()&&this.path().substr(0,1).match(/[0-9]/))&&(e+=":"+this.port())),e},l.prototype.addTrailingSlash=function(){var e=this.path()||"";return"/"!==e.substr(-1)&&this.path(e+"/"),this},l.prototype.toString=function(){var e,t=this.origin();return this.isColonUri()?this.path()&&(t+=":"+this.path()):this.path()?(e=this.path(),o.ends_with_slashes.test(t)||o.starts_with_slashes.test(e)?(t&&t.replace(o.ends_with_slashes,"/"),e=e.replace(o.starts_with_slashes,"/")):t+="/",t+=e):this.host()&&(this.query().toString()||this.anchor())&&(t+="/"),this.query().toString()&&(t+=this.query().toString()),this.anchor()&&(0!==this.anchor().indexOf("#")&&(t+="#"),t+=this.anchor()),t},l.prototype.clone=function(){return new l(this.toString())},void 0===(n=function(){return l}.call(t,r,t,e))||(e.exports=n)}()},9438:(e,t,r)=>{var n=r(5264)(r(75619),"DataView");e.exports=n},22139:(e,t,r)=>{var n=r(45850),i=r(56988),o=r(71631),a=r(27699),s=r(76491);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},11649:(e,t,r)=>{var n=r(28924),i=r(48122),o=r(31381),a=r(14489),s=r(48721);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},56285:(e,t,r)=>{var n=r(5264)(r(75619),"Map");e.exports=n},22583:(e,t,r)=>{var n=r(40126),i=r(85464),o=r(45755),a=r(12343),s=r(55071);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},86974:(e,t,r)=>{var n=r(5264)(r(75619),"Promise");e.exports=n},75867:(e,t,r)=>{var n=r(5264)(r(75619),"Set");e.exports=n},77737:(e,t,r)=>{var n=r(22583),i=r(98694),o=r(12929);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},66787:(e,t,r)=>{var n=r(11649),i=r(73634),o=r(91636),a=r(19719),s=r(98971),l=r(89987);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},75799:(e,t,r)=>{var n=r(75619).Symbol;e.exports=n},86882:(e,t,r)=>{var n=r(75619).Uint8Array;e.exports=n},53173:(e,t,r)=>{var n=r(5264)(r(75619),"WeakMap");e.exports=n},44375:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},25047:e=>{e.exports=function(e,t,r,n){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(n,a,r(a),e)}return n}},7515:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},18472:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}},2983:(e,t,r)=>{var n=r(73989);e.exports=function(e,t){return!(null==e||!e.length)&&n(e,t,0)>-1}},40831:e=>{e.exports=function(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}},74113:(e,t,r)=>{var n=r(41458),i=r(24254),o=r(37603),a=r(23470),s=r(68327),l=r(24373),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),u=!r&&i(e),d=!r&&!u&&a(e),h=!r&&!u&&!d&&l(e),f=r||u||d||h,p=f?n(e.length,String):[],m=p.length;for(var b in e)!t&&!c.call(e,b)||f&&("length"==b||d&&("offset"==b||"parent"==b)||h&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,m))||p.push(b);return p}},22654:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},81026:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},70104:e=>{e.exports=function(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}},48574:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},25983:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},43379:(e,t,r)=>{var n=r(52162),i=r(91114);e.exports=function(e,t,r){(void 0!==r&&!i(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}},40581:(e,t,r)=>{var n=r(52162),i=r(91114),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];o.call(e,t)&&i(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},98639:(e,t,r)=>{var n=r(91114);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},75247:(e,t,r)=>{var n=r(17715);e.exports=function(e,t,r,i){return n(e,(function(e,n,o){t(i,e,r(e),o)})),i}},96239:(e,t,r)=>{var n=r(96945),i=r(45e3);e.exports=function(e,t){return e&&n(t,i(t),e)}},51412:(e,t,r)=>{var n=r(96945),i=r(83735);e.exports=function(e,t){return e&&n(t,i(t),e)}},52162:(e,t,r)=>{var n=r(72097);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},71649:(e,t,r)=>{var n=r(66787),i=r(7515),o=r(40581),a=r(96239),s=r(51412),l=r(71204),c=r(57861),u=r(47605),d=r(97478),h=r(23280),f=r(65279),p=r(42711),m=r(14503),b=r(9961),g=r(42631),y=r(37603),v=r(23470),w=r(31204),E=r(3715),S=r(13558),x=r(45e3),O=r(83735),P="[object Arguments]",C="[object Function]",k="[object Object]",_={};_[P]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_[k]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_[C]=_["[object WeakMap]"]=!1,e.exports=function e(t,r,A,T,j,I){var D,M=1&r,R=2&r,F=4&r;if(A&&(D=j?A(t,T,j,I):A(t)),void 0!==D)return D;if(!E(t))return t;var L=y(t);if(L){if(D=m(t),!M)return c(t,D)}else{var N=p(t),U=N==C||"[object GeneratorFunction]"==N;if(v(t))return l(t,M);if(N==k||N==P||U&&!j){if(D=R||U?{}:g(t),!M)return R?d(t,s(D,t)):u(t,a(D,t))}else{if(!_[N])return j?t:{};D=b(t,N,M)}}I||(I=new n);var B=I.get(t);if(B)return B;I.set(t,D),S(t)?t.forEach((function(n){D.add(e(n,r,A,n,t,I))})):w(t)&&t.forEach((function(n,i){D.set(i,e(n,r,A,i,t,I))}));var H=L?void 0:(F?R?f:h:R?O:x)(t);return i(H||t,(function(n,i){H&&(n=t[i=n]),o(D,i,e(n,r,A,i,t,I))})),D}},90938:(e,t,r)=>{var n=r(3715),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},17715:(e,t,r)=>{var n=r(72747),i=r(56559)(n);e.exports=i},36624:(e,t,r)=>{var n=r(17715);e.exports=function(e,t){var r=[];return n(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}},17621:e=>{e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},18142:(e,t,r)=>{var n=r(81026),i=r(46609);e.exports=function e(t,r,o,a,s){var l=-1,c=t.length;for(o||(o=i),s||(s=[]);++l<c;){var u=t[l];r>0&&o(u)?r>1?e(u,r-1,o,a,s):n(s,u):a||(s[s.length]=u)}return s}},6043:(e,t,r)=>{var n=r(68119)();e.exports=n},72747:(e,t,r)=>{var n=r(6043),i=r(45e3);e.exports=function(e,t){return e&&n(e,t,i)}},99216:(e,t,r)=>{var n=r(62323),i=r(60299);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},51141:(e,t,r)=>{var n=r(81026),i=r(37603);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},33754:(e,t,r)=>{var n=r(75799),i=r(36969),o=r(11916),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},38868:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e,r){return null!=e&&t.call(e,r)}},6011:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},73989:(e,t,r)=>{var n=r(17621),i=r(5641),o=r(5749);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},59720:(e,t,r)=>{var n=r(33754),i=r(34140);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},16504:(e,t,r)=>{var n=r(59446),i=r(34140);e.exports=function e(t,r,o,a,s){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,a,e,s))}},59446:(e,t,r)=>{var n=r(66787),i=r(73777),o=r(12948),a=r(8183),s=r(42711),l=r(37603),c=r(23470),u=r(24373),d="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,m,b,g){var y=l(e),v=l(t),w=y?h:s(e),E=v?h:s(t),S=(w=w==d?f:w)==f,x=(E=E==d?f:E)==f,O=w==E;if(O&&c(e)){if(!c(t))return!1;y=!0,S=!1}if(O&&!S)return g||(g=new n),y||u(e)?i(e,t,r,m,b,g):o(e,t,w,r,m,b,g);if(!(1&r)){var P=S&&p.call(e,"__wrapped__"),C=x&&p.call(t,"__wrapped__");if(P||C){var k=P?e.value():e,_=C?t.value():t;return g||(g=new n),b(k,_,r,m,g)}}return!!O&&(g||(g=new n),a(e,t,r,m,b,g))}},70422:(e,t,r)=>{var n=r(42711),i=r(34140);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},45997:(e,t,r)=>{var n=r(66787),i=r(16504);e.exports=function(e,t,r,o){var a=r.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=r[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=r[a])[0],d=e[u],h=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var f=new n;if(o)var p=o(d,h,u,e,t,f);if(!(void 0===p?i(h,d,3,o,f):p))return!1}}return!0}},5641:e=>{e.exports=function(e){return e!=e}},12185:(e,t,r)=>{var n=r(51028),i=r(33014),o=r(3715),a=r(10839),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,h=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?h:s).test(a(e))}},12068:(e,t,r)=>{var n=r(42711),i=r(34140);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},42875:(e,t,r)=>{var n=r(33754),i=r(25404),o=r(34140),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[n(e)]}},9019:(e,t,r)=>{var n=r(74389),i=r(85548),o=r(97286),a=r(37603),s=r(45877);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):n(e):s(e)}},27914:(e,t,r)=>{var n=r(50469),i=r(64756),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},28141:(e,t,r)=>{var n=r(3715),i=r(50469),o=r(83163),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=i(e),r=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&r.push(s);return r}},36550:(e,t,r)=>{var n=r(17715),i=r(52284);e.exports=function(e,t){var r=-1,o=i(e)?Array(e.length):[];return n(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}},74389:(e,t,r)=>{var n=r(45997),i=r(43682),o=r(32903);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},85548:(e,t,r)=>{var n=r(16504),i=r(25358),o=r(22141),a=r(688),s=r(50422),l=r(32903),c=r(60299);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(r){var a=i(r,e);return void 0===a&&a===t?o(r,e):n(t,a,3)}}},59584:(e,t,r)=>{var n=r(66787),i=r(43379),o=r(6043),a=r(58686),s=r(3715),l=r(83735),c=r(47400);e.exports=function e(t,r,u,d,h){t!==r&&o(r,(function(o,l){if(h||(h=new n),s(o))a(t,r,l,u,e,d,h);else{var f=d?d(c(t,l),o,l+"",t,r,h):void 0;void 0===f&&(f=o),i(t,l,f)}}),l)}},58686:(e,t,r)=>{var n=r(43379),i=r(71204),o=r(90467),a=r(57861),s=r(42631),l=r(24254),c=r(37603),u=r(53739),d=r(23470),h=r(51028),f=r(3715),p=r(19961),m=r(24373),b=r(47400),g=r(43082);e.exports=function(e,t,r,y,v,w,E){var S=b(e,r),x=b(t,r),O=E.get(x);if(O)n(e,r,O);else{var P=w?w(S,x,r+"",e,t,E):void 0,C=void 0===P;if(C){var k=c(x),_=!k&&d(x),A=!k&&!_&&m(x);P=x,k||_||A?c(S)?P=S:u(S)?P=a(S):_?(C=!1,P=i(x,!0)):A?(C=!1,P=o(x,!0)):P=[]:p(x)||l(x)?(P=S,l(S)?P=g(S):f(S)&&!h(S)||(P=s(x))):C=!1}C&&(E.set(x,P),v(P,x,y,w,E),E.delete(x)),n(e,r,P)}}},29683:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},19677:(e,t,r)=>{var n=r(99216);e.exports=function(e){return function(t){return n(t,e)}}},35022:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},84016:(e,t,r)=>{var n=r(97286),i=r(7539),o=r(81239);e.exports=function(e,t){return o(i(e,t,n),e+"")}},42612:(e,t,r)=>{var n=r(40581),i=r(62323),o=r(68327),a=r(3715),s=r(60299);e.exports=function(e,t,r,l){if(!a(e))return e;for(var c=-1,u=(t=i(t,e)).length,d=u-1,h=e;null!=h&&++c<u;){var f=s(t[c]),p=r;if("__proto__"===f||"constructor"===f||"prototype"===f)return e;if(c!=d){var m=h[f];void 0===(p=l?l(m,f,h):void 0)&&(p=a(m)?m:o(t[c+1])?[]:{})}n(h,f,p),h=h[f]}return e}},60280:(e,t,r)=>{var n=r(18620),i=r(72097),o=r(97286),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;e.exports=a},82982:e=>{e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}},41458:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},12258:(e,t,r)=>{var n=r(75799),i=r(22654),o=r(37603),a=r(9924),s=n?n.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},17406:(e,t,r)=>{var n=r(45362),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},45083:e=>{e.exports=function(e){return function(t){return e(t)}}},82067:(e,t,r)=>{var n=r(77737),i=r(2983),o=r(40831),a=r(625),s=r(70831),l=r(28737);e.exports=function(e,t,r){var c=-1,u=i,d=e.length,h=!0,f=[],p=f;if(r)h=!1,u=o;else if(d>=200){var m=t?null:s(e);if(m)return l(m);h=!1,u=a,p=new n}else p=t?[]:f;e:for(;++c<d;){var b=e[c],g=t?t(b):b;if(b=r||0!==b?b:0,h&&g==g){for(var y=p.length;y--;)if(p[y]===g)continue e;t&&p.push(g),f.push(b)}else u(p,g,r)||(p!==f&&p.push(g),f.push(b))}return f}},2937:(e,t,r)=>{var n=r(62323),i=r(85272),o=r(75019),a=r(60299);e.exports=function(e,t){return t=n(t,e),null==(e=o(e,t))||delete e[a(i(t))]}},73292:(e,t,r)=>{var n=r(22654);e.exports=function(e,t){return n(t,(function(t){return e[t]}))}},625:e=>{e.exports=function(e,t){return e.has(t)}},62323:(e,t,r)=>{var n=r(37603),i=r(688),o=r(16648),a=r(96004);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(a(e))}},86451:(e,t,r)=>{var n=r(86882);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},71204:(e,t,r)=>{e=r.nmd(e);var n=r(75619),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}},99915:(e,t,r)=>{var n=r(86451);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},90923:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},61310:(e,t,r)=>{var n=r(75799),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},90467:(e,t,r)=>{var n=r(86451);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},57861:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},96945:(e,t,r)=>{var n=r(40581),i=r(52162);e.exports=function(e,t,r,o){var a=!r;r||(r={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=o?o(r[c],e[c],c,r,e):void 0;void 0===u&&(u=e[c]),a?i(r,c,u):n(r,c,u)}return r}},47605:(e,t,r)=>{var n=r(96945),i=r(83270);e.exports=function(e,t){return n(e,i(e),t)}},97478:(e,t,r)=>{var n=r(96945),i=r(48145);e.exports=function(e,t){return n(e,i(e),t)}},80591:(e,t,r)=>{var n=r(75619)["__core-js_shared__"];e.exports=n},97050:(e,t,r)=>{var n=r(25047),i=r(75247),o=r(9019),a=r(37603);e.exports=function(e,t){return function(r,s){var l=a(r)?n:i,c=t?t():{};return l(r,e,o(s,2),c)}}},12317:(e,t,r)=>{var n=r(84016),i=r(14494);e.exports=function(e){return n((function(t,r){var n=-1,o=r.length,a=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(r[0],r[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++n<o;){var l=r[n];l&&e(t,l,n,a)}return t}))}},56559:(e,t,r)=>{var n=r(52284);e.exports=function(e,t){return function(r,i){if(null==r)return r;if(!n(r))return e(r,i);for(var o=r.length,a=t?o:-1,s=Object(r);(t?a--:++a<o)&&!1!==i(s[a],a,s););return r}}},68119:e=>{e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===r(o[l],l,o))break}return t}}},78073:(e,t,r)=>{var n=r(70104),i=r(70794),o=r(43243),a=RegExp("['’]","g");e.exports=function(e){return function(t){return n(o(i(t).replace(a,"")),e,"")}}},70831:(e,t,r)=>{var n=r(75867),i=r(18564),o=r(28737),a=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:i;e.exports=a},77292:(e,t,r)=>{var n=r(19961);e.exports=function(e){return n(e)?void 0:e}},46177:(e,t,r)=>{var n=r(35022)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});e.exports=n},72097:(e,t,r)=>{var n=r(5264),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},73777:(e,t,r)=>{var n=r(77737),i=r(48574),o=r(625);e.exports=function(e,t,r,a,s,l){var c=1&r,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var h=l.get(e),f=l.get(t);if(h&&f)return h==t&&f==e;var p=-1,m=!0,b=2&r?new n:void 0;for(l.set(e,t),l.set(t,e);++p<u;){var g=e[p],y=t[p];if(a)var v=c?a(y,g,p,t,e,l):a(g,y,p,e,t,l);if(void 0!==v){if(v)continue;m=!1;break}if(b){if(!i(t,(function(e,t){if(!o(b,t)&&(g===e||s(g,e,r,a,l)))return b.push(t)}))){m=!1;break}}else if(g!==y&&!s(g,y,r,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},12948:(e,t,r)=>{var n=r(75799),i=r(86882),o=r(91114),a=r(73777),s=r(29099),l=r(28737),c=n?n.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,d,h){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var p=1&n;if(f||(f=l),e.size!=t.size&&!p)return!1;var m=h.get(e);if(m)return m==t;n|=2,h.set(e,t);var b=a(f(e),f(t),n,c,d,h);return h.delete(e),b;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},8183:(e,t,r)=>{var n=r(23280),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,a,s){var l=1&r,c=n(e),u=c.length;if(u!=n(t).length&&!l)return!1;for(var d=u;d--;){var h=c[d];if(!(l?h in t:i.call(t,h)))return!1}var f=s.get(e),p=s.get(t);if(f&&p)return f==t&&p==e;var m=!0;s.set(e,t),s.set(t,e);for(var b=l;++d<u;){var g=e[h=c[d]],y=t[h];if(o)var v=l?o(y,g,h,t,e,s):o(g,y,h,e,t,s);if(!(void 0===v?g===y||a(g,y,r,o,s):v)){m=!1;break}b||(b="constructor"==h)}if(m&&!b){var w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(m=!1)}return s.delete(e),s.delete(t),m}},63126:(e,t,r)=>{var n=r(11616),i=r(7539),o=r(81239);e.exports=function(e){return o(i(e,void 0,n),e+"")}},57326:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},23280:(e,t,r)=>{var n=r(51141),i=r(83270),o=r(45e3);e.exports=function(e){return n(e,o,i)}},65279:(e,t,r)=>{var n=r(51141),i=r(48145),o=r(83735);e.exports=function(e){return n(e,o,i)}},60113:(e,t,r)=>{var n=r(63492);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},43682:(e,t,r)=>{var n=r(50422),i=r(45e3);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],a=e[o];t[r]=[o,a,n(a)]}return t}},5264:(e,t,r)=>{var n=r(12185),i=r(28050);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},86065:(e,t,r)=>{var n=r(38233)(Object.getPrototypeOf,Object);e.exports=n},36969:(e,t,r)=>{var n=r(75799),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[s]=r:delete e[s]),i}},83270:(e,t,r)=>{var n=r(18472),i=r(94759),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},48145:(e,t,r)=>{var n=r(81026),i=r(86065),o=r(83270),a=r(94759),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:a;e.exports=s},42711:(e,t,r)=>{var n=r(9438),i=r(56285),o=r(86974),a=r(75867),s=r(53173),l=r(33754),c=r(10839),u="[object Map]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",m=c(n),b=c(i),g=c(o),y=c(a),v=c(s),w=l;(n&&w(new n(new ArrayBuffer(1)))!=p||i&&w(new i)!=u||o&&w(o.resolve())!=d||a&&w(new a)!=h||s&&w(new s)!=f)&&(w=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case m:return p;case b:return u;case g:return d;case y:return h;case v:return f}return t}),e.exports=w},28050:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},5256:(e,t,r)=>{var n=r(62323),i=r(24254),o=r(37603),a=r(68327),s=r(25404),l=r(60299);e.exports=function(e,t,r){for(var c=-1,u=(t=n(t,e)).length,d=!1;++c<u;){var h=l(t[c]);if(!(d=null!=e&&r(e,h)))break;e=e[h]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(h,u)&&(o(e)||i(e))}},51856:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},45850:(e,t,r)=>{var n=r(73180);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},56988:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},71631:(e,t,r)=>{var n=r(73180),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},27699:(e,t,r)=>{var n=r(73180),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},76491:(e,t,r)=>{var n=r(73180);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},14503:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},9961:(e,t,r)=>{var n=r(86451),i=r(99915),o=r(90923),a=r(61310),s=r(90467);e.exports=function(e,t,r){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return i(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,r);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},42631:(e,t,r)=>{var n=r(90938),i=r(86065),o=r(50469);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},46609:(e,t,r)=>{var n=r(75799),i=r(24254),o=r(37603),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},68327:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},14494:(e,t,r)=>{var n=r(91114),i=r(52284),o=r(68327),a=r(3715);e.exports=function(e,t,r){if(!a(r))return!1;var s=typeof t;return!!("number"==s?i(r)&&o(t,r.length):"string"==s&&t in r)&&n(r[t],e)}},688:(e,t,r)=>{var n=r(37603),i=r(9924),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},63492:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},33014:(e,t,r)=>{var n,i=r(80591),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},50469:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},50422:(e,t,r)=>{var n=r(3715);e.exports=function(e){return e==e&&!n(e)}},28924:e=>{e.exports=function(){this.__data__=[],this.size=0}},48122:(e,t,r)=>{var n=r(98639),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():i.call(t,r,1),--this.size,0))}},31381:(e,t,r)=>{var n=r(98639);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},14489:(e,t,r)=>{var n=r(98639);e.exports=function(e){return n(this.__data__,e)>-1}},48721:(e,t,r)=>{var n=r(98639);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},40126:(e,t,r)=>{var n=r(22139),i=r(11649),o=r(56285);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},85464:(e,t,r)=>{var n=r(60113);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},45755:(e,t,r)=>{var n=r(60113);e.exports=function(e){return n(this,e).get(e)}},12343:(e,t,r)=>{var n=r(60113);e.exports=function(e){return n(this,e).has(e)}},55071:(e,t,r)=>{var n=r(60113);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},29099:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},32903:e=>{e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},27722:(e,t,r)=>{var n=r(35446);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},73180:(e,t,r)=>{var n=r(5264)(Object,"create");e.exports=n},64756:(e,t,r)=>{var n=r(38233)(Object.keys,Object);e.exports=n},83163:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},4187:(e,t,r)=>{e=r.nmd(e);var n=r(57326),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&n.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},11916:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},38233:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},7539:(e,t,r)=>{var n=r(44375),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a<s;)l[a]=o[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=o[a];return c[t]=r(l),n(e,this,c)}}},75019:(e,t,r)=>{var n=r(99216),i=r(82982);e.exports=function(e,t){return t.length<2?e:n(e,i(t,0,-1))}},75619:(e,t,r)=>{var n=r(57326),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},47400:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},98694:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},12929:e=>{e.exports=function(e){return this.__data__.has(e)}},28737:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},81239:(e,t,r)=>{var n=r(60280),i=r(84909)(n);e.exports=i},84909:e=>{var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var i=t(),o=16-(i-n);if(n=i,o>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},73634:(e,t,r)=>{var n=r(11649);e.exports=function(){this.__data__=new n,this.size=0}},91636:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},19719:e=>{e.exports=function(e){return this.__data__.get(e)}},98971:e=>{e.exports=function(e){return this.__data__.has(e)}},89987:(e,t,r)=>{var n=r(11649),i=r(56285),o=r(22583);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(e,t),this.size=r.size,this}},5749:e=>{e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}},16648:(e,t,r)=>{var n=r(27722),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)})),t}));e.exports=a},60299:(e,t,r)=>{var n=r(9924);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},10839:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},45362:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},51095:e=>{var t="\\ud800-\\udfff",r="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+o+"]",s="\\d+",l="["+r+"]",c="["+n+"]",u="[^"+t+o+s+r+n+i+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",f="["+i+"]",p="(?:"+c+"|"+u+")",m="(?:"+f+"|"+u+")",b="(?:['’](?:d|ll|m|re|s|t|ve))?",g="(?:['’](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",v="[\\ufe0e\\ufe0f]?",w=v+y+"(?:\\u200d(?:"+["[^"+t+"]",d,h].join("|")+")"+v+y+")*",E="(?:"+[l,d,h].join("|")+")"+w,S=RegExp([f+"?"+c+"+"+b+"(?="+[a,f,"$"].join("|")+")",m+"+"+g+"(?="+[a,f+p,"$"].join("|")+")",f+"?"+p+"+"+b,f+"+"+g,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,E].join("|"),"g");e.exports=function(e){return e.match(S)||[]}},47217:(e,t,r)=>{var n=r(71649);e.exports=function(e){return n(e,5)}},18620:e=>{e.exports=function(e){return function(){return e}}},70794:(e,t,r)=>{var n=r(46177),i=r(96004),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,n).replace(a,"")}},91114:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},92558:(e,t,r)=>{var n=r(18472),i=r(36624),o=r(9019),a=r(37603);e.exports=function(e,t){return(a(e)?n:i)(e,o(t,3))}},58965:(e,t,r)=>{var n=r(18142),i=r(39832);e.exports=function(e,t){return n(i(e,t),1)}},11616:(e,t,r)=>{var n=r(18142);e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},25358:(e,t,r)=>{var n=r(99216);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},75322:(e,t,r)=>{var n=r(38868),i=r(5256);e.exports=function(e,t){return null!=e&&i(e,t,n)}},22141:(e,t,r)=>{var n=r(6011),i=r(5256);e.exports=function(e,t){return null!=e&&i(e,t,n)}},97286:e=>{e.exports=function(e){return e}},69849:(e,t,r)=>{var n=r(73989),i=r(52284),o=r(67373),a=r(20263),s=r(5570),l=Math.max;e.exports=function(e,t,r,c){e=i(e)?e:s(e),r=r&&!c?a(r):0;var u=e.length;return r<0&&(r=l(u+r,0)),o(e)?r<=u&&e.indexOf(t,r)>-1:!!u&&n(e,t,r)>-1}},24254:(e,t,r)=>{var n=r(59720),i=r(34140),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},37603:e=>{var t=Array.isArray;e.exports=t},52284:(e,t,r)=>{var n=r(51028),i=r(25404);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},53739:(e,t,r)=>{var n=r(52284),i=r(34140);e.exports=function(e){return i(e)&&n(e)}},23470:(e,t,r)=>{e=r.nmd(e);var n=r(75619),i=r(55597),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l},87579:(e,t,r)=>{var n=r(27914),i=r(42711),o=r(24254),a=r(37603),s=r(52284),l=r(23470),c=r(50469),u=r(24373),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||o(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!n(e).length;for(var r in e)if(d.call(e,r))return!1;return!0}},51028:(e,t,r)=>{var n=r(33754),i=r(3715);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},25404:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},31204:(e,t,r)=>{var n=r(70422),i=r(45083),o=r(4187),a=o&&o.isMap,s=a?i(a):n;e.exports=s},76519:(e,t,r)=>{var n=r(91553);e.exports=function(e){return n(e)&&e!=+e}},91553:(e,t,r)=>{var n=r(33754),i=r(34140);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==n(e)}},3715:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},34140:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},19961:(e,t,r)=>{var n=r(33754),i=r(86065),o=r(34140),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==u}},13558:(e,t,r)=>{var n=r(12068),i=r(45083),o=r(4187),a=o&&o.isSet,s=a?i(a):n;e.exports=s},67373:(e,t,r)=>{var n=r(33754),i=r(37603),o=r(34140);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==n(e)}},9924:(e,t,r)=>{var n=r(33754),i=r(34140);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},24373:(e,t,r)=>{var n=r(42875),i=r(45083),o=r(4187),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},79464:(e,t,r)=>{var n=r(52162),i=r(97050)((function(e,t,r){n(e,r,t)}));e.exports=i},45e3:(e,t,r)=>{var n=r(74113),i=r(27914),o=r(52284);e.exports=function(e){return o(e)?n(e):i(e)}},83735:(e,t,r)=>{var n=r(74113),i=r(28141),o=r(52284);e.exports=function(e){return o(e)?n(e,!0):i(e)}},85272:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},59315:(e,t,r)=>{var n=r(78073)((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));e.exports=n},39832:(e,t,r)=>{var n=r(22654),i=r(9019),o=r(36550),a=r(37603);e.exports=function(e,t){return(a(e)?n:o)(e,i(t,3))}},35446:(e,t,r)=>{var n=r(22583);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},19474:(e,t,r)=>{var n=r(59584),i=r(12317)((function(e,t,r){n(e,t,r)}));e.exports=i},18564:e=>{e.exports=function(){}},64633:(e,t,r)=>{var n=r(22654),i=r(71649),o=r(2937),a=r(62323),s=r(96945),l=r(77292),c=r(63126),u=r(65279),d=c((function(e,t){var r={};if(null==e)return r;var c=!1;t=n(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,u(e),r),c&&(r=i(r,7,l));for(var d=t.length;d--;)o(r,t[d]);return r}));e.exports=d},94012:(e,t,r)=>{var n=r(97050)((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));e.exports=n},45877:(e,t,r)=>{var n=r(29683),i=r(19677),o=r(688),a=r(60299);e.exports=function(e){return o(e)?n(a(e)):i(e)}},19170:(e,t,r)=>{var n=r(42612);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},94759:e=>{e.exports=function(){return[]}},55597:e=>{e.exports=function(){return!1}},95134:(e,t,r)=>{var n=r(41888),i=1/0;e.exports=function(e){return e?(e=n(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},20263:(e,t,r)=>{var n=r(95134);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},41888:(e,t,r)=>{var n=r(17406),i=r(3715),o=r(9924),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=s.test(e);return r||l.test(e)?c(e.slice(2),r?2:8):a.test(e)?NaN:+e}},43082:(e,t,r)=>{var n=r(96945),i=r(83735);e.exports=function(e){return n(e,i(e))}},96004:(e,t,r)=>{var n=r(12258);e.exports=function(e){return null==e?"":n(e)}},78949:(e,t,r)=>{var n=r(82067);e.exports=function(e){return e&&e.length?n(e):[]}},70406:(e,t,r)=>{var n=r(96004),i=0;e.exports=function(e){var t=++i;return n(e)+t}},5570:(e,t,r)=>{var n=r(73292),i=r(45e3);e.exports=function(e){return null==e?[]:n(e,i(e))}},43243:(e,t,r)=>{var n=r(25983),i=r(51856),o=r(96004),a=r(51095);e.exports=function(e,t,r){return e=o(e),void 0===(t=r?void 0:t)?i(e)?a(e):n(e):e.match(t)||[]}},17466:e=>{"use strict";function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},t.apply(null,arguments)}var r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},n=0;n<10;n++)r["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(t({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))n.call(o,c)&&(s[c]=o[c]);if(r){a=r(o);for(var u=0;u<a.length;u++)i.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s}},74836:(e,t,r)=>{"use strict";var n=r(25059);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},39970:(e,t,r)=>{e.exports=r(74836)()},25059:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},43165:(e,t,r)=>{"use strict";var n=r(12010),i=r(17466),o=r(6224);function a(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function s(e){return Array.isArray(e)?e.sort():"object"==typeof e?s(Object.keys(e)).sort((function(e,t){return Number(e)-Number(t)})).map((function(t){return e[t]})):e}function l(e){var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function c(e,t){var r=function(e){var t;switch(e.arrayFormat){case"index":return function(e,r,n){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return function(e,r,n){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};default:return function(e,t,r){void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t=i({arrayFormat:"none"},t)),n=Object.create(null);return"string"!=typeof e?n:(e=e.trim().replace(/^[?#&]/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),i=t.shift(),a=t.length>0?t.join("="):void 0;a=void 0===a?null:o(a),r(o(i),a,n)})),Object.keys(n).sort().reduce((function(e,t){var r=n[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=s(r):e[t]=r,e}),Object.create(null))):n}t.extract=l,t.parse=c,t.stringify=function(e,t){!1===(t=i({encode:!0,strict:!0,arrayFormat:"none"},t)).sort&&(t.sort=function(){});var r=function(e){switch(e.arrayFormat){case"index":return function(t,r,n){return null===r?[a(t,e),"[",n,"]"].join(""):[a(t,e),"[",a(n,e),"]=",a(r,e)].join("")};case"bracket":return function(t,r){return null===r?a(t,e):[a(t,e),"[]=",a(r,e)].join("")};default:return function(t,r){return null===r?a(t,e):[a(t,e),"=",a(r,e)].join("")}}}(t);return e?Object.keys(e).sort(t.sort).map((function(n){var i=e[n];if(void 0===i)return"";if(null===i)return a(n,t);if(Array.isArray(i)){var o=[];return i.slice().forEach((function(e){void 0!==e&&o.push(r(n,e,o.length))})),o.join("&")}return a(n,t)+"="+a(i,t)})).filter((function(e){return e.length>0})).join("&"):""},t.parseUrl=function(e,t){return{url:e.split("?")[0]||"",query:c(l(e),t)}}},50213:(e,t,r)=>{"use strict";var n=r(1986),i=r(40552);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},p={};function m(e,t,r,n,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){b[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];b[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){b[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){b[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){b[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){b[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){b[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){b[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){b[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function v(e,t,r,n){var i=b.hasOwnProperty(t)?b[t]:null;(null!==i?0!==i.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,i,n)&&(r=null),n||null===i?function(e){return!!d.call(p,e)||!d.call(f,e)&&(h.test(e)?p[e]=!0:(f[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=null===r?3!==i.type&&"":r:(t=i.attributeName,n=i.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(i=i.type)||4===i&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);b[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);b[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);b[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){b[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),b.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){b[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=Symbol.for("react.element"),S=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),k=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),I=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var D=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var M=Symbol.iterator;function R(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=M&&e[M]||e["@@iterator"])?e:null}var F,L=Object.assign;function N(e){if(void 0===F)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);F=t&&t[1]||""}return"\n"+F+e}var U=!1;function B(e,t){if(!e||U)return"";U=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=n.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{U=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?N(e):""}function H(e){switch(e.tag){case 5:return N(e.type);case 16:return N("Lazy");case 13:return N("Suspense");case 19:return N("SuspenseList");case 0:case 2:case 15:return B(e.type,!1);case 11:return B(e.type.render,!1);case 1:return B(e.type,!0);default:return""}}function V(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case S:return"Portal";case P:return"Profiler";case O:return"StrictMode";case A:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case k:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case _:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case j:return null!==(t=e.displayName||null)?t:V(e.type)||"Memo";case I:t=e._payload,e=e._init;try{return V(e(t))}catch(e){}}return null}function z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(t);case 8:return t===O?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function $(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function W(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=q(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function Z(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var r=t.checked;return L({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function K(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=$(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function Y(e,t){Q(e,t);var r=$(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,r):t.hasOwnProperty("defaultValue")&&ee(e,t.type,$(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function ee(e,t,r){"number"===t&&Z(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var te=Array.isArray;function re(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+$(r),t=null,i=0;i<e.length;i++){if(e[i].value===r)return e[i].selected=!0,void(n&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return L({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(o(92));if(te(r)){if(1<r.length)throw Error(o(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:$(r)}}function oe(e,t){var r=$(t.value),n=$(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function he(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function me(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function be(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),i=me(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}Object.keys(fe).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ge=L({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function Ee(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,xe=null,Oe=null;function Pe(e){if(e=vi(e)){if("function"!=typeof Se)throw Error(o(280));var t=e.stateNode;t&&(t=Ei(t),Se(e.stateNode,e.type,t))}}function Ce(e){xe?Oe?Oe.push(e):Oe=[e]:xe=e}function ke(){if(xe){var e=xe,t=Oe;if(Oe=xe=null,Pe(e),t)for(e=0;e<t.length;e++)Pe(t[e])}}function _e(e,t){return e(t)}function Ae(){}var Te=!1;function je(e,t,r){if(Te)return e(t,r);Te=!0;try{return _e(e,t,r)}finally{Te=!1,(null!==xe||null!==Oe)&&(Ae(),ke())}}function Ie(e,t){var r=e.stateNode;if(null===r)return null;var n=Ei(r);if(null===n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(o(231,t,typeof r));return r}var De=!1;if(u)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){De=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(ue){De=!1}function Re(e,t,r,n,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(e){this.onError(e)}}var Fe=!1,Le=null,Ne=!1,Ue=null,Be={onError:function(e){Fe=!0,Le=e}};function He(e,t,r,n,i,o,a,s,l){Fe=!1,Le=null,Re.apply(Be,arguments)}function Ve(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function $e(e){if(Ve(e)!==e)throw Error(o(188))}function qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(o(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(n=i.return)){r=n;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return $e(i),e;if(a===n)return $e(i),t;a=a.sibling}throw Error(o(188))}if(r.return!==n.return)r=i,n=a;else{for(var s=!1,l=i.child;l;){if(l===r){s=!0,r=i,n=a;break}if(l===n){s=!0,n=i,r=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===r){s=!0,r=a,n=i;break}if(l===n){s=!0,n=a,r=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(r.alternate!==n)throw Error(o(190))}if(3!==r.tag)throw Error(o(188));return r.stateNode.current===r?e:t}(e))?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var We=i.unstable_scheduleCallback,Ze=i.unstable_cancelCallback,Xe=i.unstable_shouldYield,Ke=i.unstable_requestPaint,Qe=i.unstable_now,Ye=i.unstable_getCurrentPriorityLevel,Je=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,rt=i.unstable_LowPriority,nt=i.unstable_IdlePriority,it=null,ot=null,at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2,ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ht(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&r;if(0!==a){var s=a&~i;0!==s?n=dt(s):0!=(o&=a)&&(n=dt(o))}else 0!=(a=r&~i)?n=dt(a):0!==o&&(n=dt(o));if(0===n)return 0;if(0!==t&&t!==n&&!(t&i)&&((i=n&-n)>=(o=t&-t)||16===i&&4194240&o))return t;if(4&n&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)i=1<<(r=31-at(t)),n|=e[r],t&=~i;return n}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function bt(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function gt(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=r}function yt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-at(r),i=1<<n;i&t|e[n]&t&&(e[n]|=t),r&=~i}}var vt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Et,St,xt,Ot,Pt,Ct=!1,kt=[],_t=null,At=null,Tt=null,jt=new Map,It=new Map,Dt=[],Mt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Rt(e,t){switch(e){case"focusin":case"focusout":_t=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":jt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function Ft(e,t,r,n,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=vi(t))&&St(t),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Lt(e){var t=yi(e.target);if(null!==t){var r=Ve(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=ze(r)))return e.blockedOn=t,void Pt(e.priority,(function(){xt(r)}))}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function Nt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=vi(r))&&St(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);we=n,r.target.dispatchEvent(n),we=null,t.shift()}return!0}function Ut(e,t,r){Nt(e)&&r.delete(t)}function Bt(){Ct=!1,null!==_t&&Nt(_t)&&(_t=null),null!==At&&Nt(At)&&(At=null),null!==Tt&&Nt(Tt)&&(Tt=null),jt.forEach(Ut),It.forEach(Ut)}function Ht(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Bt)))}function Vt(e){function t(t){return Ht(t,e)}if(0<kt.length){Ht(kt[0],e);for(var r=1;r<kt.length;r++){var n=kt[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==_t&&Ht(_t,e),null!==At&&Ht(At,e),null!==Tt&&Ht(Tt,e),jt.forEach(t),It.forEach(t),r=0;r<Dt.length;r++)(n=Dt[r]).blockedOn===e&&(n.blockedOn=null);for(;0<Dt.length&&null===(r=Dt[0]).blockedOn;)Lt(r),null===r.blockedOn&&Dt.shift()}var zt=w.ReactCurrentBatchConfig,$t=!0;function qt(e,t,r,n){var i=vt,o=zt.transition;zt.transition=null;try{vt=1,Wt(e,t,r,n)}finally{vt=i,zt.transition=o}}function Gt(e,t,r,n){var i=vt,o=zt.transition;zt.transition=null;try{vt=4,Wt(e,t,r,n)}finally{vt=i,zt.transition=o}}function Wt(e,t,r,n){if($t){var i=Xt(e,t,r,n);if(null===i)$n(e,t,n,Zt,r),Rt(e,n);else if(function(e,t,r,n,i){switch(t){case"focusin":return _t=Ft(_t,e,t,r,n,i),!0;case"dragenter":return At=Ft(At,e,t,r,n,i),!0;case"mouseover":return Tt=Ft(Tt,e,t,r,n,i),!0;case"pointerover":var o=i.pointerId;return jt.set(o,Ft(jt.get(o)||null,e,t,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,It.set(o,Ft(It.get(o)||null,e,t,r,n,i)),!0}return!1}(i,e,t,r,n))n.stopPropagation();else if(Rt(e,n),4&t&&-1<Mt.indexOf(e)){for(;null!==i;){var o=vi(i);if(null!==o&&Et(o),null===(o=Xt(e,t,r,n))&&$n(e,t,n,Zt,r),o===i)break;i=o}null!==i&&n.stopPropagation()}else $n(e,t,n,null,r)}}var Zt=null;function Xt(e,t,r,n){if(Zt=null,null!==(e=yi(e=Ee(n))))if(null===(t=Ve(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=ze(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Zt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ye()){case Je:return 1;case et:return 4;case tt:case rt:return 16;case nt:return 536870912;default:return 16}default:return 16}}var Qt=null,Yt=null,Jt=null;function er(){if(Jt)return Jt;var e,t,r=Yt,n=r.length,i="value"in Qt?Qt.value:Qt.textContent,o=i.length;for(e=0;e<n&&r[e]===i[e];e++);var a=n-e;for(t=1;t<=a&&r[n-t]===i[o-t];t++);return Jt=i.slice(e,1<t?1-t:void 0)}function tr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rr(){return!0}function nr(){return!1}function ir(e){function t(t,r,n,i,o){for(var a in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?rr:nr,this.isPropagationStopped=nr,this}return L(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rr)},persist:function(){},isPersistent:rr}),t}var or,ar,sr,lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cr=ir(lr),ur=L({},lr,{view:0,detail:0}),dr=ir(ur),hr=L({},ur,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Or,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sr&&(sr&&"mousemove"===e.type?(or=e.screenX-sr.screenX,ar=e.screenY-sr.screenY):ar=or=0,sr=e),or)},movementY:function(e){return"movementY"in e?e.movementY:ar}}),fr=ir(hr),pr=ir(L({},hr,{dataTransfer:0})),mr=ir(L({},ur,{relatedTarget:0})),br=ir(L({},lr,{animationName:0,elapsedTime:0,pseudoElement:0})),gr=L({},lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yr=ir(gr),vr=ir(L({},lr,{data:0})),wr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Er={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sr[e])&&!!t[e]}function Or(){return xr}var Pr=L({},ur,{key:function(e){if(e.key){var t=wr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Er[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Or,charCode:function(e){return"keypress"===e.type?tr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cr=ir(Pr),kr=ir(L({},hr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),_r=ir(L({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Or})),Ar=ir(L({},lr,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tr=L({},hr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),jr=ir(Tr),Ir=[9,13,27,32],Dr=u&&"CompositionEvent"in window,Mr=null;u&&"documentMode"in document&&(Mr=document.documentMode);var Rr=u&&"TextEvent"in window&&!Mr,Fr=u&&(!Dr||Mr&&8<Mr&&11>=Mr),Lr=String.fromCharCode(32),Nr=!1;function Ur(e,t){switch(e){case"keyup":return-1!==Ir.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Br(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hr=!1,Vr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function zr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vr[e.type]:"textarea"===t}function $r(e,t,r,n){Ce(n),0<(t=Gn(t,"onChange")).length&&(r=new cr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var qr=null,Gr=null;function Wr(e){Nn(e,0)}function Zr(e){if(W(wi(e)))return e}function Xr(e,t){if("change"===e)return t}var Kr=!1;if(u){var Qr;if(u){var Yr="oninput"in document;if(!Yr){var Jr=document.createElement("div");Jr.setAttribute("oninput","return;"),Yr="function"==typeof Jr.oninput}Qr=Yr}else Qr=!1;Kr=Qr&&(!document.documentMode||9<document.documentMode)}function en(){qr&&(qr.detachEvent("onpropertychange",tn),Gr=qr=null)}function tn(e){if("value"===e.propertyName&&Zr(Gr)){var t=[];$r(t,Gr,e,Ee(e)),je(Wr,t)}}function rn(e,t,r){"focusin"===e?(en(),Gr=r,(qr=t).attachEvent("onpropertychange",tn)):"focusout"===e&&en()}function nn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Zr(Gr)}function on(e,t){if("click"===e)return Zr(t)}function an(e,t){if("input"===e||"change"===e)return Zr(t)}var sn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ln(e,t){if(sn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var i=r[n];if(!d.call(t,i)||!sn(e[i],t[i]))return!1}return!0}function cn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function un(e,t){var r,n=cn(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=cn(n)}}function dn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hn(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=Z((e=t.contentWindow).document)}return t}function fn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pn(e){var t=hn(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&dn(r.ownerDocument.documentElement,r)){if(null!==n&&fn(r))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=r.textContent.length,o=Math.min(n.start,i);n=void 0===n.end?o:Math.min(n.end,i),!e.extend&&o>n&&(i=n,n=o,o=i),i=un(r,o);var a=un(r,n);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mn=u&&"documentMode"in document&&11>=document.documentMode,bn=null,gn=null,yn=null,vn=!1;function wn(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;vn||null==bn||bn!==Z(n)||(n="selectionStart"in(n=bn)&&fn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},yn&&ln(yn,n)||(yn=n,0<(n=Gn(gn,"onSelect")).length&&(t=new cr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=bn)))}function En(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Sn={animationend:En("Animation","AnimationEnd"),animationiteration:En("Animation","AnimationIteration"),animationstart:En("Animation","AnimationStart"),transitionend:En("Transition","TransitionEnd")},xn={},On={};function Pn(e){if(xn[e])return xn[e];if(!Sn[e])return e;var t,r=Sn[e];for(t in r)if(r.hasOwnProperty(t)&&t in On)return xn[e]=r[t];return e}u&&(On=document.createElement("div").style,"AnimationEvent"in window||(delete Sn.animationend.animation,delete Sn.animationiteration.animation,delete Sn.animationstart.animation),"TransitionEvent"in window||delete Sn.transitionend.transition);var Cn=Pn("animationend"),kn=Pn("animationiteration"),_n=Pn("animationstart"),An=Pn("transitionend"),Tn=new Map,jn="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function In(e,t){Tn.set(e,t),l(t,[e])}for(var Dn=0;Dn<jn.length;Dn++){var Mn=jn[Dn];In(Mn.toLowerCase(),"on"+(Mn[0].toUpperCase()+Mn.slice(1)))}In(Cn,"onAnimationEnd"),In(kn,"onAnimationIteration"),In(_n,"onAnimationStart"),In("dblclick","onDoubleClick"),In("focusin","onFocus"),In("focusout","onBlur"),In(An,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Fn=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rn));function Ln(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,i,a,s,l,c){if(He.apply(this,arguments),Fe){if(!Fe)throw Error(o(198));var u=Le;Fe=!1,Le=null,Ne||(Ne=!0,Ue=u)}}(n,t,void 0,e),e.currentTarget=null}function Nn(e,t){t=!!(4&t);for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var a=n.length-1;0<=a;a--){var s=n[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;Ln(i,s,c),o=l}else for(a=0;a<n.length;a++){if(l=(s=n[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;Ln(i,s,c),o=l}}}if(Ne)throw e=Ue,Ne=!1,Ue=null,e}function Un(e,t){var r=t[mi];void 0===r&&(r=t[mi]=new Set);var n=e+"__bubble";r.has(n)||(zn(t,e,2,!1),r.add(n))}function Bn(e,t,r){var n=0;t&&(n|=4),zn(r,e,n,t)}var Hn="_reactListening"+Math.random().toString(36).slice(2);function Vn(e){if(!e[Hn]){e[Hn]=!0,a.forEach((function(t){"selectionchange"!==t&&(Fn.has(t)||Bn(t,!1,e),Bn(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hn]||(t[Hn]=!0,Bn("selectionchange",!1,t))}}function zn(e,t,r,n){switch(Kt(t)){case 1:var i=qt;break;case 4:i=Gt;break;default:i=Wt}r=i.bind(null,t,r,e),i=void 0,!De||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),n?void 0!==i?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):void 0!==i?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function $n(e,t,r,n,i){var o=n;if(!(1&t||2&t||null===n))e:for(;;){if(null===n)return;var a=n.tag;if(3===a||4===a){var s=n.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=n.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=yi(s)))return;if(5===(l=a.tag)||6===l){n=o=a;continue e}s=s.parentNode}}n=n.return}je((function(){var n=o,i=Ee(r),a=[];e:{var s=Tn.get(e);if(void 0!==s){var l=cr,c=e;switch(e){case"keypress":if(0===tr(r))break e;case"keydown":case"keyup":l=Cr;break;case"focusin":c="focus",l=mr;break;case"focusout":c="blur",l=mr;break;case"beforeblur":case"afterblur":l=mr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=fr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=pr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=_r;break;case Cn:case kn:case _n:l=br;break;case An:l=Ar;break;case"scroll":l=dr;break;case"wheel":l=jr;break;case"copy":case"cut":case"paste":l=yr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=kr}var u=!!(4&t),d=!u&&"scroll"===e,h=u?null!==s?s+"Capture":null:s;u=[];for(var f,p=n;null!==p;){var m=(f=p).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==h&&null!=(m=Ie(p,h))&&u.push(qn(p,m,f))),d)break;p=p.return}0<u.length&&(s=new l(s,c,null,r,i),a.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||r===we||!(c=r.relatedTarget||r.fromElement)||!yi(c)&&!c[pi])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=n,null!==(c=(c=r.relatedTarget||r.toElement)?yi(c):null)&&(c!==(d=Ve(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=n),l!==c)){if(u=fr,m="onMouseLeave",h="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=kr,m="onPointerLeave",h="onPointerEnter",p="pointer"),d=null==l?s:wi(l),f=null==c?s:wi(c),(s=new u(m,p+"leave",l,r,i)).target=d,s.relatedTarget=f,m=null,yi(i)===n&&((u=new u(h,p+"enter",c,r,i)).target=f,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(h=c,p=0,f=u=l;f;f=Wn(f))p++;for(f=0,m=h;m;m=Wn(m))f++;for(;0<p-f;)u=Wn(u),p--;for(;0<f-p;)h=Wn(h),f--;for(;p--;){if(u===h||null!==h&&u===h.alternate)break e;u=Wn(u),h=Wn(h)}u=null}else u=null;null!==l&&Zn(a,s,l,u,!1),null!==c&&null!==d&&Zn(a,d,c,u,!0)}if("select"===(l=(s=n?wi(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var b=Xr;else if(zr(s))if(Kr)b=an;else{b=nn;var g=rn}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(b=on);switch(b&&(b=b(e,n))?$r(a,b,r,i):(g&&g(e,s,n),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ee(s,"number",s.value)),g=n?wi(n):window,e){case"focusin":(zr(g)||"true"===g.contentEditable)&&(bn=g,gn=n,yn=null);break;case"focusout":yn=gn=bn=null;break;case"mousedown":vn=!0;break;case"contextmenu":case"mouseup":case"dragend":vn=!1,wn(a,r,i);break;case"selectionchange":if(mn)break;case"keydown":case"keyup":wn(a,r,i)}var y;if(Dr)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Hr?Ur(e,r)&&(v="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(v="onCompositionStart");v&&(Fr&&"ko"!==r.locale&&(Hr||"onCompositionStart"!==v?"onCompositionEnd"===v&&Hr&&(y=er()):(Yt="value"in(Qt=i)?Qt.value:Qt.textContent,Hr=!0)),0<(g=Gn(n,v)).length&&(v=new vr(v,e,null,r,i),a.push({event:v,listeners:g}),(y||null!==(y=Br(r)))&&(v.data=y))),(y=Rr?function(e,t){switch(e){case"compositionend":return Br(t);case"keypress":return 32!==t.which?null:(Nr=!0,Lr);case"textInput":return(e=t.data)===Lr&&Nr?null:e;default:return null}}(e,r):function(e,t){if(Hr)return"compositionend"===e||!Dr&&Ur(e,t)?(e=er(),Jt=Yt=Qt=null,Hr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fr&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(n=Gn(n,"onBeforeInput")).length&&(i=new vr("onBeforeInput","beforeinput",null,r,i),a.push({event:i,listeners:n}),i.data=y)}Nn(a,t)}))}function qn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Gn(e,t){for(var r=t+"Capture",n=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Ie(e,r))&&n.unshift(qn(e,o,i)),null!=(o=Ie(e,t))&&n.push(qn(e,o,i))),e=e.return}return n}function Wn(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Zn(e,t,r,n,i){for(var o=t._reactName,a=[];null!==r&&r!==n;){var s=r,l=s.alternate,c=s.stateNode;if(null!==l&&l===n)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=Ie(r,o))&&a.unshift(qn(r,l,s)):i||null!=(l=Ie(r,o))&&a.push(qn(r,l,s))),r=r.return}0!==a.length&&e.push({event:t,listeners:a})}var Xn=/\r\n?/g,Kn=/\u0000|\uFFFD/g;function Qn(e){return("string"==typeof e?e:""+e).replace(Xn,"\n").replace(Kn,"")}function Yn(e,t,r){if(t=Qn(t),Qn(e)!==t&&r)throw Error(o(425))}function Jn(){}var ei=null,ti=null;function ri(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ni="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,oi="function"==typeof Promise?Promise:void 0,ai="function"==typeof queueMicrotask?queueMicrotask:void 0!==oi?function(e){return oi.resolve(null).then(e).catch(si)}:ni;function si(e){setTimeout((function(){throw e}))}function li(e,t){var r=t,n=0;do{var i=r.nextSibling;if(e.removeChild(r),i&&8===i.nodeType)if("/$"===(r=i.data)){if(0===n)return e.removeChild(i),void Vt(t);n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++;r=i}while(r);Vt(t)}function ci(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ui(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var di=Math.random().toString(36).slice(2),hi="__reactFiber$"+di,fi="__reactProps$"+di,pi="__reactContainer$"+di,mi="__reactEvents$"+di,bi="__reactListeners$"+di,gi="__reactHandles$"+di;function yi(e){var t=e[hi];if(t)return t;for(var r=e.parentNode;r;){if(t=r[pi]||r[hi]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=ui(e);null!==e;){if(r=e[hi])return r;e=ui(e)}return t}r=(e=r).parentNode}return null}function vi(e){return!(e=e[hi]||e[pi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function Ei(e){return e[fi]||null}var Si=[],xi=-1;function Oi(e){return{current:e}}function Pi(e){0>xi||(e.current=Si[xi],Si[xi]=null,xi--)}function Ci(e,t){xi++,Si[xi]=e.current,e.current=t}var ki={},_i=Oi(ki),Ai=Oi(!1),Ti=ki;function ji(e,t){var r=e.type.contextTypes;if(!r)return ki;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in r)o[i]=t[i];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ii(e){return null!=e.childContextTypes}function Di(){Pi(Ai),Pi(_i)}function Mi(e,t,r){if(_i.current!==ki)throw Error(o(168));Ci(_i,t),Ci(Ai,r)}function Ri(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var i in n=n.getChildContext())if(!(i in t))throw Error(o(108,z(e)||"Unknown",i));return L({},r,n)}function Fi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ki,Ti=_i.current,Ci(_i,e),Ci(Ai,Ai.current),!0}function Li(e,t,r){var n=e.stateNode;if(!n)throw Error(o(169));r?(e=Ri(e,t,Ti),n.__reactInternalMemoizedMergedChildContext=e,Pi(Ai),Pi(_i),Ci(_i,e)):Pi(Ai),Ci(Ai,r)}var Ni=null,Ui=!1,Bi=!1;function Hi(e){null===Ni?Ni=[e]:Ni.push(e)}function Vi(){if(!Bi&&null!==Ni){Bi=!0;var e=0,t=vt;try{var r=Ni;for(vt=1;e<r.length;e++){var n=r[e];do{n=n(!0)}while(null!==n)}Ni=null,Ui=!1}catch(t){throw null!==Ni&&(Ni=Ni.slice(e+1)),We(Je,Vi),t}finally{vt=t,Bi=!1}}return null}var zi=[],$i=0,qi=null,Gi=0,Wi=[],Zi=0,Xi=null,Ki=1,Qi="";function Yi(e,t){zi[$i++]=Gi,zi[$i++]=qi,qi=e,Gi=t}function Ji(e,t,r){Wi[Zi++]=Ki,Wi[Zi++]=Qi,Wi[Zi++]=Xi,Xi=e;var n=Ki;e=Qi;var i=32-at(n)-1;n&=~(1<<i),r+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(n&(1<<a)-1).toString(32),n>>=a,i-=a,Ki=1<<32-at(t)+i|r<<i|n,Qi=o+e}else Ki=1<<o|r<<i|n,Qi=e}function eo(e){null!==e.return&&(Yi(e,1),Ji(e,1,0))}function to(e){for(;e===qi;)qi=zi[--$i],zi[$i]=null,Gi=zi[--$i],zi[$i]=null;for(;e===Xi;)Xi=Wi[--Zi],Wi[Zi]=null,Qi=Wi[--Zi],Wi[Zi]=null,Ki=Wi[--Zi],Wi[Zi]=null}var ro=null,no=null,io=!1,oo=null;function ao(e,t){var r=jc(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function so(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ro=e,no=ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ro=e,no=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Xi?{id:Ki,overflow:Qi}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=jc(18,null,null,0)).stateNode=t,r.return=e,e.child=r,ro=e,no=null,!0);default:return!1}}function lo(e){return!(!(1&e.mode)||128&e.flags)}function co(e){if(io){var t=no;if(t){var r=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ci(r.nextSibling);var n=ro;t&&so(e,t)?ao(n,r):(e.flags=-4097&e.flags|2,io=!1,ro=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,ro=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ro=e}function ho(e){if(e!==ro)return!1;if(!io)return uo(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ri(e.type,e.memoizedProps)),t&&(t=no)){if(lo(e))throw fo(),Error(o(418));for(;t;)ao(e,t),t=ci(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){no=ci(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}no=null}}else no=ro?ci(e.stateNode.nextSibling):null;return!0}function fo(){for(var e=no;e;)e=ci(e.nextSibling)}function po(){no=ro=null,io=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var bo=w.ReactCurrentBatchConfig;function go(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(o(309));var n=r.stateNode}if(!n)throw Error(o(147,e));var i=n,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(o(284));if(!r._owner)throw Error(o(290,e))}return e}function yo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vo(e){return(0,e._init)(e._payload)}function wo(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Dc(e,t)).index=0,e.sibling=null,e}function a(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,r,n){return null===t||6!==t.tag?((t=Lc(r,e.mode,n)).return=e,t):((t=i(t,r)).return=e,t)}function c(e,t,r,n){var o=r.type;return o===x?d(e,t,r.props.children,n,r.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===I&&vo(o)===t.type)?((n=i(t,r.props)).ref=go(e,t,r),n.return=e,n):((n=Mc(r.type,r.key,r.props,null,e.mode,n)).ref=go(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Nc(r,e.mode,n)).return=e,t):((t=i(t,r.children||[])).return=e,t)}function d(e,t,r,n,o){return null===t||7!==t.tag?((t=Rc(r,e.mode,n,o)).return=e,t):((t=i(t,r)).return=e,t)}function h(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Lc(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case E:return(r=Mc(t.type,t.key,t.props,null,e.mode,r)).ref=go(e,null,t),r.return=e,r;case S:return(t=Nc(t,e.mode,r)).return=e,t;case I:return h(e,(0,t._init)(t._payload),r)}if(te(t)||R(t))return(t=Rc(t,e.mode,r,null)).return=e,t;yo(e,t)}return null}function f(e,t,r,n){var i=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==i?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case E:return r.key===i?c(e,t,r,n):null;case S:return r.key===i?u(e,t,r,n):null;case I:return f(e,t,(i=r._init)(r._payload),n)}if(te(r)||R(r))return null!==i?null:d(e,t,r,n,null);yo(e,r)}return null}function p(e,t,r,n,i){if("string"==typeof n&&""!==n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,i);if("object"==typeof n&&null!==n){switch(n.$$typeof){case E:return c(t,e=e.get(null===n.key?r:n.key)||null,n,i);case S:return u(t,e=e.get(null===n.key?r:n.key)||null,n,i);case I:return p(e,t,r,(0,n._init)(n._payload),i)}if(te(n)||R(n))return d(t,e=e.get(r)||null,n,i,null);yo(t,n)}return null}function m(i,o,s,l){for(var c=null,u=null,d=o,m=o=0,b=null;null!==d&&m<s.length;m++){d.index>m?(b=d,d=null):b=d.sibling;var g=f(i,d,s[m],l);if(null===g){null===d&&(d=b);break}e&&d&&null===g.alternate&&t(i,d),o=a(g,o,m),null===u?c=g:u.sibling=g,u=g,d=b}if(m===s.length)return r(i,d),io&&Yi(i,m),c;if(null===d){for(;m<s.length;m++)null!==(d=h(i,s[m],l))&&(o=a(d,o,m),null===u?c=d:u.sibling=d,u=d);return io&&Yi(i,m),c}for(d=n(i,d);m<s.length;m++)null!==(b=p(d,i,m,s[m],l))&&(e&&null!==b.alternate&&d.delete(null===b.key?m:b.key),o=a(b,o,m),null===u?c=b:u.sibling=b,u=b);return e&&d.forEach((function(e){return t(i,e)})),io&&Yi(i,m),c}function b(i,s,l,c){var u=R(l);if("function"!=typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var d=u=null,m=s,b=s=0,g=null,y=l.next();null!==m&&!y.done;b++,y=l.next()){m.index>b?(g=m,m=null):g=m.sibling;var v=f(i,m,y.value,c);if(null===v){null===m&&(m=g);break}e&&m&&null===v.alternate&&t(i,m),s=a(v,s,b),null===d?u=v:d.sibling=v,d=v,m=g}if(y.done)return r(i,m),io&&Yi(i,b),u;if(null===m){for(;!y.done;b++,y=l.next())null!==(y=h(i,y.value,c))&&(s=a(y,s,b),null===d?u=y:d.sibling=y,d=y);return io&&Yi(i,b),u}for(m=n(i,m);!y.done;b++,y=l.next())null!==(y=p(m,i,b,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?b:y.key),s=a(y,s,b),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),io&&Yi(i,b),u}return function e(n,o,a,l){if("object"==typeof a&&null!==a&&a.type===x&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case E:e:{for(var c=a.key,u=o;null!==u;){if(u.key===c){if((c=a.type)===x){if(7===u.tag){r(n,u.sibling),(o=i(u,a.props.children)).return=n,n=o;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===I&&vo(c)===u.type){r(n,u.sibling),(o=i(u,a.props)).ref=go(n,u,a),o.return=n,n=o;break e}r(n,u);break}t(n,u),u=u.sibling}a.type===x?((o=Rc(a.props.children,n.mode,l,a.key)).return=n,n=o):((l=Mc(a.type,a.key,a.props,null,n.mode,l)).ref=go(n,o,a),l.return=n,n=l)}return s(n);case S:e:{for(u=a.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){r(n,o.sibling),(o=i(o,a.children||[])).return=n,n=o;break e}r(n,o);break}t(n,o),o=o.sibling}(o=Nc(a,n.mode,l)).return=n,n=o}return s(n);case I:return e(n,o,(u=a._init)(a._payload),l)}if(te(a))return m(n,o,a,l);if(R(a))return b(n,o,a,l);yo(n,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==o&&6===o.tag?(r(n,o.sibling),(o=i(o,a)).return=n,n=o):(r(n,o),(o=Lc(a,n.mode,l)).return=n,n=o),s(n)):r(n,o)}}var Eo=wo(!0),So=wo(!1),xo=Oi(null),Oo=null,Po=null,Co=null;function ko(){Co=Po=Oo=null}function _o(e){var t=xo.current;Pi(xo),e._currentValue=t}function Ao(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function To(e,t){Oo=e,Co=Po=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(vs=!0),e.firstContext=null)}function jo(e){var t=e._currentValue;if(Co!==e)if(e={context:e,memoizedValue:t,next:null},null===Po){if(null===Oo)throw Error(o(308));Po=e,Oo.dependencies={lanes:0,firstContext:e}}else Po=Po.next=e;return t}var Io=null;function Do(e){null===Io?Io=[e]:Io.push(e)}function Mo(e,t,r,n){var i=t.interleaved;return null===i?(r.next=r,Do(t)):(r.next=i.next,i.next=r),t.interleaved=r,Ro(e,n)}function Ro(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var Fo=!1;function Lo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function No(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Uo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bo(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,2&_l){var i=n.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),n.pending=t,Ro(e,r)}return null===(i=n.interleaved)?(t.next=t,Do(n)):(t.next=i.next,i.next=t),n.interleaved=t,Ro(e,r)}function Ho(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&r)){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,yt(e,r)}}function Vo(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var i=null,o=null;if(null!==(r=r.firstBaseUpdate)){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===o?i=o=a:o=o.next=a,r=r.next}while(null!==r);null===o?i=o=t:o=o.next=t}else i=o=t;return r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function zo(e,t,r,n){var i=e.updateQueue;Fo=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?o=c:a.next=c,a=l;var u=e.alternate;null!==u&&(s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l)}if(null!==o){var d=i.baseState;for(a=0,u=c=l=null,s=o;;){var h=s.lane,f=s.eventTime;if((n&h)===h){null!==u&&(u=u.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,m=s;switch(h=t,f=r,m.tag){case 1:if("function"==typeof(p=m.payload)){d=p.call(f,d,h);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(h="function"==typeof(p=m.payload)?p.call(f,d,h):p))break e;d=L({},d,h);break e;case 2:Fo=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(h=i.effects)?i.effects=[s]:h.push(s))}else f={eventTime:f,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=f,l=d):u=u.next=f,a|=h;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(h=s).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}if(null===u&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Fl|=a,e.lanes=a,e.memoizedState=d}}function $o(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(null!==i){if(n.callback=null,n=r,"function"!=typeof i)throw Error(o(191,i));i.call(n)}}}var qo={},Go=Oi(qo),Wo=Oi(qo),Zo=Oi(qo);function Xo(e){if(e===qo)throw Error(o(174));return e}function Ko(e,t){switch(Ci(Zo,t),Ci(Wo,e),Ci(Go,qo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Pi(Go),Ci(Go,t)}function Qo(){Pi(Go),Pi(Wo),Pi(Zo)}function Yo(e){Xo(Zo.current);var t=Xo(Go.current),r=le(t,e.type);t!==r&&(Ci(Wo,e),Ci(Go,r))}function Jo(e){Wo.current===e&&(Pi(Go),Pi(Wo))}var ea=Oi(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ra=[];function na(){for(var e=0;e<ra.length;e++)ra[e]._workInProgressVersionPrimary=null;ra.length=0}var ia=w.ReactCurrentDispatcher,oa=w.ReactCurrentBatchConfig,aa=0,sa=null,la=null,ca=null,ua=!1,da=!1,ha=0,fa=0;function pa(){throw Error(o(321))}function ma(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!sn(e[r],t[r]))return!1;return!0}function ba(e,t,r,n,i,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ia.current=null===e||null===e.memoizedState?Ja:es,e=r(n,i),da){a=0;do{if(da=!1,ha=0,25<=a)throw Error(o(301));a+=1,ca=la=null,t.updateQueue=null,ia.current=ts,e=r(n,i)}while(da)}if(ia.current=Ya,t=null!==la&&null!==la.next,aa=0,ca=la=sa=null,ua=!1,t)throw Error(o(300));return e}function ga(){var e=0!==ha;return ha=0,e}function ya(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function va(){if(null===la){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=la.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,la=e;else{if(null===e)throw Error(o(310));e={memoizedState:(la=e).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function wa(e,t){return"function"==typeof t?t(e):t}function Ea(e){var t=va(),r=t.queue;if(null===r)throw Error(o(311));r.lastRenderedReducer=e;var n=la,i=n.baseQueue,a=r.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}n.baseQueue=i=a,r.pending=null}if(null!==i){a=i.next,n=n.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((aa&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:e(n,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=h,s=n):c=c.next=h,sa.lanes|=d,Fl|=d}u=u.next}while(null!==u&&u!==a);null===c?s=n:c.next=l,sn(n,t.memoizedState)||(vs=!0),t.memoizedState=n,t.baseState=s,t.baseQueue=c,r.lastRenderedState=n}if(null!==(e=r.interleaved)){i=e;do{a=i.lane,sa.lanes|=a,Fl|=a,i=i.next}while(i!==e)}else null===i&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Sa(e){var t=va(),r=t.queue;if(null===r)throw Error(o(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,a=t.memoizedState;if(null!==i){r.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);sn(a,t.memoizedState)||(vs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function xa(){}function Oa(e,t){var r=sa,n=va(),i=t(),a=!sn(n.memoizedState,i);if(a&&(n.memoizedState=i,vs=!0),n=n.queue,Fa(ka.bind(null,r,n,e),[e]),n.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(r.flags|=2048,ja(9,Ca.bind(null,r,n,i,t),void 0,null),null===Al)throw Error(o(349));30&aa||Pa(r,t,i)}return i}function Pa(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function Ca(e,t,r,n){t.value=r,t.getSnapshot=n,_a(t)&&Aa(e)}function ka(e,t,r){return r((function(){_a(t)&&Aa(e)}))}function _a(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!sn(e,r)}catch(e){return!0}}function Aa(e){var t=Ro(e,1);null!==t&&rc(t,e,1,-1)}function Ta(e){var t=ya();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},t.queue=e,e=e.dispatch=Za.bind(null,sa,e),[t.memoizedState,e]}function ja(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function Ia(){return va().memoizedState}function Da(e,t,r,n){var i=ya();sa.flags|=e,i.memoizedState=ja(1|t,r,void 0,void 0===n?null:n)}function Ma(e,t,r,n){var i=va();n=void 0===n?null:n;var o=void 0;if(null!==la){var a=la.memoizedState;if(o=a.destroy,null!==n&&ma(n,a.deps))return void(i.memoizedState=ja(t,r,o,n))}sa.flags|=e,i.memoizedState=ja(1|t,r,o,n)}function Ra(e,t){return Da(8390656,8,e,t)}function Fa(e,t){return Ma(2048,8,e,t)}function La(e,t){return Ma(4,2,e,t)}function Na(e,t){return Ma(4,4,e,t)}function Ua(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ba(e,t,r){return r=null!=r?r.concat([e]):null,Ma(4,4,Ua.bind(null,t,e),r)}function Ha(){}function Va(e,t){var r=va();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ma(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function za(e,t){var r=va();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ma(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function $a(e,t,r){return 21&aa?(sn(r,t)||(r=mt(),sa.lanes|=r,Fl|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,vs=!0),e.memoizedState=r)}function qa(e,t){var r=vt;vt=0!==r&&4>r?r:4,e(!0);var n=oa.transition;oa.transition={};try{e(!1),t()}finally{vt=r,oa.transition=n}}function Ga(){return va().memoizedState}function Wa(e,t,r){var n=tc(e);r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Xa(e)?Ka(t,r):null!==(r=Mo(e,t,r,n))&&(rc(r,e,n,ec()),Qa(r,t,n))}function Za(e,t,r){var n=tc(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Xa(e))Ka(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,r);if(i.hasEagerState=!0,i.eagerState=s,sn(s,a)){var l=t.interleaved;return null===l?(i.next=i,Do(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(e){}null!==(r=Mo(e,t,i,n))&&(rc(r,e,n,i=ec()),Qa(r,t,n))}}function Xa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Ka(e,t){da=ua=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Qa(e,t,r){if(4194240&r){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,yt(e,r)}}var Ya={readContext:jo,useCallback:pa,useContext:pa,useEffect:pa,useImperativeHandle:pa,useInsertionEffect:pa,useLayoutEffect:pa,useMemo:pa,useReducer:pa,useRef:pa,useState:pa,useDebugValue:pa,useDeferredValue:pa,useTransition:pa,useMutableSource:pa,useSyncExternalStore:pa,useId:pa,unstable_isNewReconciler:!1},Ja={readContext:jo,useCallback:function(e,t){return ya().memoizedState=[e,void 0===t?null:t],e},useContext:jo,useEffect:Ra,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,Da(4194308,4,Ua.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Da(4194308,4,e,t)},useInsertionEffect:function(e,t){return Da(4,2,e,t)},useMemo:function(e,t){var r=ya();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=ya();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=Wa.bind(null,sa,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},ya().memoizedState=e},useState:Ta,useDebugValue:Ha,useDeferredValue:function(e){return ya().memoizedState=e},useTransition:function(){var e=Ta(!1),t=e[0];return e=qa.bind(null,e[1]),ya().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=sa,i=ya();if(io){if(void 0===r)throw Error(o(407));r=r()}else{if(r=t(),null===Al)throw Error(o(349));30&aa||Pa(n,t,r)}i.memoizedState=r;var a={value:r,getSnapshot:t};return i.queue=a,Ra(ka.bind(null,n,a,e),[e]),n.flags|=2048,ja(9,Ca.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=ya(),t=Al.identifierPrefix;if(io){var r=Qi;t=":"+t+"R"+(r=(Ki&~(1<<32-at(Ki)-1)).toString(32)+r),0<(r=ha++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=fa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:jo,useCallback:Va,useContext:jo,useEffect:Fa,useImperativeHandle:Ba,useInsertionEffect:La,useLayoutEffect:Na,useMemo:za,useReducer:Ea,useRef:Ia,useState:function(){return Ea(wa)},useDebugValue:Ha,useDeferredValue:function(e){return $a(va(),la.memoizedState,e)},useTransition:function(){return[Ea(wa)[0],va().memoizedState]},useMutableSource:xa,useSyncExternalStore:Oa,useId:Ga,unstable_isNewReconciler:!1},ts={readContext:jo,useCallback:Va,useContext:jo,useEffect:Fa,useImperativeHandle:Ba,useInsertionEffect:La,useLayoutEffect:Na,useMemo:za,useReducer:Sa,useRef:Ia,useState:function(){return Sa(wa)},useDebugValue:Ha,useDeferredValue:function(e){var t=va();return null===la?t.memoizedState=e:$a(t,la.memoizedState,e)},useTransition:function(){return[Sa(wa)[0],va().memoizedState]},useMutableSource:xa,useSyncExternalStore:Oa,useId:Ga,unstable_isNewReconciler:!1};function rs(e,t){if(e&&e.defaultProps){for(var r in t=L({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function ns(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:L({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var is={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=ec(),i=tc(e),o=Uo(n,i);o.payload=t,null!=r&&(o.callback=r),null!==(t=Bo(e,o,i))&&(rc(t,e,i,n),Ho(t,e,i))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=ec(),i=tc(e),o=Uo(n,i);o.tag=1,o.payload=t,null!=r&&(o.callback=r),null!==(t=Bo(e,o,i))&&(rc(t,e,i,n),Ho(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ec(),n=tc(e),i=Uo(r,n);i.tag=2,null!=t&&(i.callback=t),null!==(t=Bo(e,i,n))&&(rc(t,e,n,r),Ho(t,e,n))}};function os(e,t,r,n,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&ln(r,n)&&ln(i,o))}function as(e,t,r){var n=!1,i=ki,o=t.contextType;return"object"==typeof o&&null!==o?o=jo(o):(i=Ii(t)?Ti:_i.current,o=(n=null!=(n=t.contextTypes))?ji(e,i):ki),t=new t(r,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=is,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&is.enqueueReplaceState(t,t.state,null)}function ls(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs={},Lo(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=jo(o):(o=Ii(t)?Ti:_i.current,i.context=ji(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(ns(e,t,o,r),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&is.enqueueReplaceState(i,i.state,null),zo(e,r,i,n),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var r="",n=t;do{r+=H(n),n=n.return}while(n);var i=r}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function us(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var hs="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,r){(r=Uo(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){$l||($l=!0,ql=n),ds(0,t)},r}function ps(e,t,r){(r=Uo(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var i=t.value;r.payload=function(){return n(i)},r.callback=function(){ds(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(r.callback=function(){ds(0,t),"function"!=typeof n&&(null===Gl?Gl=new Set([this]):Gl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function ms(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new hs;var i=new Set;n.set(t,i)}else void 0===(i=n.get(t))&&(i=new Set,n.set(t,i));i.has(r)||(i.add(r),e=Pc.bind(null,e,t,r),t.then(e,e))}function bs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gs(e,t,r,n,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=Uo(-1,1)).tag=2,Bo(r,t,1))),r.lanes|=1),e)}var ys=w.ReactCurrentOwner,vs=!1;function ws(e,t,r,n){t.child=null===e?So(t,null,r,n):Eo(t,e.child,r,n)}function Es(e,t,r,n,i){r=r.render;var o=t.ref;return To(t,i),n=ba(e,t,r,n,o,i),r=ga(),null===e||vs?(io&&r&&eo(t),t.flags|=1,ws(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$s(e,t,i))}function Ss(e,t,r,n,i){if(null===e){var o=r.type;return"function"!=typeof o||Ic(o)||void 0!==o.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Mc(r.type,null,n,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,xs(e,t,o,n,i))}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if((r=null!==(r=r.compare)?r:ln)(a,n)&&e.ref===t.ref)return $s(e,t,i)}return t.flags|=1,(e=Dc(o,n)).ref=t.ref,e.return=t,t.child=e}function xs(e,t,r,n,i){if(null!==e){var o=e.memoizedProps;if(ln(o,n)&&e.ref===t.ref){if(vs=!1,t.pendingProps=n=o,!(e.lanes&i))return t.lanes=e.lanes,$s(e,t,i);131072&e.flags&&(vs=!0)}}return Cs(e,t,r,n,i)}function Os(e,t,r){var n=t.pendingProps,i=n.children,o=null!==e?e.memoizedState:null;if("hidden"===n.mode)if(1&t.mode){if(!(1073741824&r))return e=null!==o?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ci(Dl,Il),Il|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==o?o.baseLanes:r,Ci(Dl,Il),Il|=n}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ci(Dl,Il),Il|=r;else null!==o?(n=o.baseLanes|r,t.memoizedState=null):n=r,Ci(Dl,Il),Il|=n;return ws(e,t,i,r),t.child}function Ps(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Cs(e,t,r,n,i){var o=Ii(r)?Ti:_i.current;return o=ji(t,o),To(t,i),r=ba(e,t,r,n,o,i),n=ga(),null===e||vs?(io&&n&&eo(t),t.flags|=1,ws(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$s(e,t,i))}function ks(e,t,r,n,i){if(Ii(r)){var o=!0;Fi(t)}else o=!1;if(To(t,i),null===t.stateNode)zs(e,t),as(t,r,n),ls(t,r,n,i),n=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=r.contextType;c="object"==typeof c&&null!==c?jo(c):ji(t,c=Ii(r)?Ti:_i.current);var u=r.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==n||l!==c)&&ss(t,a,n,c),Fo=!1;var h=t.memoizedState;a.state=h,zo(t,n,a,i),l=t.memoizedState,s!==n||h!==l||Ai.current||Fo?("function"==typeof u&&(ns(t,r,u,n),l=t.memoizedState),(s=Fo||os(t,r,s,n,h,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),a.props=n,a.state=l,a.context=c,n=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),n=!1)}else{a=t.stateNode,No(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:rs(t.type,s),a.props=c,d=t.pendingProps,h=a.context,l="object"==typeof(l=r.contextType)&&null!==l?jo(l):ji(t,l=Ii(r)?Ti:_i.current);var f=r.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||h!==l)&&ss(t,a,n,l),Fo=!1,h=t.memoizedState,a.state=h,zo(t,n,a,i);var p=t.memoizedState;s!==d||h!==p||Ai.current||Fo?("function"==typeof f&&(ns(t,r,f,n),p=t.memoizedState),(c=Fo||os(t,r,c,n,h,p,l)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(n,p,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,p,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=p),a.props=n,a.state=p,a.context=l,n=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),n=!1)}return _s(e,t,r,n,o,i)}function _s(e,t,r,n,i,o){Ps(e,t);var a=!!(128&t.flags);if(!n&&!a)return i&&Li(t,r,!1),$s(e,t,o);n=t.stateNode,ys.current=t;var s=a&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&a?(t.child=Eo(t,e.child,null,o),t.child=Eo(t,null,s,o)):ws(e,t,s,o),t.memoizedState=n.state,i&&Li(t,r,!0),t.child}function As(e){var t=e.stateNode;t.pendingContext?Mi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Mi(0,t.context,!1),Ko(e,t.containerInfo)}function Ts(e,t,r,n,i){return po(),mo(i),t.flags|=256,ws(e,t,r,n),t.child}var js,Is,Ds,Ms,Rs={dehydrated:null,treeContext:null,retryLane:0};function Fs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ls(e,t,r){var n,i=t.pendingProps,a=ea.current,s=!1,l=!!(128&t.flags);if((n=l)||(n=(null===e||null!==e.memoizedState)&&!!(2&a)),n?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ci(ea,1&a),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=i.children,e=i.fallback,s?(i=t.mode,s=t.child,l={mode:"hidden",children:l},1&i||null===s?s=Fc(l,i,0,null):(s.childLanes=0,s.pendingProps=l),e=Rc(e,i,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Fs(r),t.memoizedState=Rs,e):Ns(t,l));if(null!==(a=e.memoizedState)&&null!==(n=a.dehydrated))return function(e,t,r,n,i,a,s){if(r)return 256&t.flags?(t.flags&=-257,Us(e,t,s,n=us(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=n.fallback,i=t.mode,n=Fc({mode:"visible",children:n.children},i,0,null),(a=Rc(a,i,s,null)).flags|=2,n.return=t,a.return=t,n.sibling=a,t.child=n,1&t.mode&&Eo(t,e.child,null,s),t.child.memoizedState=Fs(s),t.memoizedState=Rs,a);if(!(1&t.mode))return Us(e,t,s,null);if("$!"===i.data){if(n=i.nextSibling&&i.nextSibling.dataset)var l=n.dgst;return n=l,Us(e,t,s,n=us(a=Error(o(419)),n,void 0))}if(l=!!(s&e.childLanes),vs||l){if(null!==(n=Al)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=i&(n.suspendedLanes|s)?0:i)&&i!==a.retryLane&&(a.retryLane=i,Ro(e,i),rc(n,e,i,-1))}return mc(),Us(e,t,s,n=us(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=kc.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,no=ci(i.nextSibling),ro=t,io=!0,oo=null,null!==e&&(Wi[Zi++]=Ki,Wi[Zi++]=Qi,Wi[Zi++]=Xi,Ki=e.id,Qi=e.overflow,Xi=t),(t=Ns(t,n.children)).flags|=4096,t)}(e,t,l,i,n,a,r);if(s){s=i.fallback,l=t.mode,n=(a=e.child).sibling;var c={mode:"hidden",children:i.children};return 1&l||t.child===a?(i=Dc(a,c)).subtreeFlags=14680064&a.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null),null!==n?s=Dc(n,s):(s=Rc(s,l,r,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Fs(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~r,t.memoizedState=Rs,i}return e=(s=e.child).sibling,i=Dc(s,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=r),i.return=t,i.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=i,t.memoizedState=null,i}function Ns(e,t){return(t=Fc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Us(e,t,r,n){return null!==n&&mo(n),Eo(t,e.child,null,r),(e=Ns(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bs(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Ao(e.return,t,r)}function Hs(e,t,r,n,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=i)}function Vs(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if(ws(e,t,n.children,r),2&(n=ea.current))n=1&n|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bs(e,r,t);else if(19===e.tag)Bs(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Ci(ea,n),1&t.mode)switch(i){case"forwards":for(r=t.child,i=null;null!==r;)null!==(e=r.alternate)&&null===ta(e)&&(i=r),r=r.sibling;null===(r=i)?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Hs(t,!1,i,r,o);break;case"backwards":for(r=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ta(e)){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Hs(t,!0,r,null,o);break;case"together":Hs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function zs(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $s(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Fl|=t.lanes,!(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(r=Dc(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Dc(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function qs(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Gs(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var i=e.child;null!==i;)r|=i.lanes|i.childLanes,n|=14680064&i.subtreeFlags,n|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function Ws(e,t,r){var n=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gs(t),null;case 1:case 17:return Ii(t.type)&&Di(),Gs(t),null;case 3:return n=t.stateNode,Qo(),Pi(Ai),Pi(_i),na(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(ho(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(ac(oo),oo=null))),Is(e,t),Gs(t),null;case 5:Jo(t);var i=Xo(Zo.current);if(r=t.type,null!==e&&null!=t.stateNode)Ds(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error(o(166));return Gs(t),null}if(e=Xo(Go.current),ho(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[hi]=t,n[fi]=a,e=!!(1&t.mode),r){case"dialog":Un("cancel",n),Un("close",n);break;case"iframe":case"object":case"embed":Un("load",n);break;case"video":case"audio":for(i=0;i<Rn.length;i++)Un(Rn[i],n);break;case"source":Un("error",n);break;case"img":case"image":case"link":Un("error",n),Un("load",n);break;case"details":Un("toggle",n);break;case"input":K(n,a),Un("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Un("invalid",n);break;case"textarea":ie(n,a),Un("invalid",n)}for(var l in ye(r,a),i=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"==typeof c?n.textContent!==c&&(!0!==a.suppressHydrationWarning&&Yn(n.textContent,c,e),i=["children",c]):"number"==typeof c&&n.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Yn(n.textContent,c,e),i=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Un("scroll",n)}switch(r){case"input":G(n),J(n,a,!0);break;case"textarea":G(n),ae(n);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(n.onclick=Jn)}n=i,t.updateQueue=n,null!==n&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),"select"===r&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[hi]=t,e[fi]=n,js(e,t,!1,!1),t.stateNode=e;e:{switch(l=ve(r,n),r){case"dialog":Un("cancel",e),Un("close",e),i=n;break;case"iframe":case"object":case"embed":Un("load",e),i=n;break;case"video":case"audio":for(i=0;i<Rn.length;i++)Un(Rn[i],e);i=n;break;case"source":Un("error",e),i=n;break;case"img":case"image":case"link":Un("error",e),Un("load",e),i=n;break;case"details":Un("toggle",e),i=n;break;case"input":K(e,n),i=X(e,n),Un("invalid",e);break;case"option":default:i=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=L({},n,{value:void 0}),Un("invalid",e);break;case"textarea":ie(e,n),i=ne(e,n),Un("invalid",e)}for(a in ye(r,i),c=i)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?be(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"==typeof u?("textarea"!==r||""!==u)&&he(e,u):"number"==typeof u&&he(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Un("scroll",e):null!=u&&v(e,a,u,l))}switch(r){case"input":G(e),J(e,n,!1);break;case"textarea":G(e),ae(e);break;case"option":null!=n.value&&e.setAttribute("value",""+$(n.value));break;case"select":e.multiple=!!n.multiple,null!=(a=n.value)?re(e,!!n.multiple,a,!1):null!=n.defaultValue&&re(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Jn)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Gs(t),null;case 6:if(e&&null!=t.stateNode)Ms(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(o(166));if(r=Xo(Zo.current),Xo(Go.current),ho(t)){if(n=t.stateNode,r=t.memoizedProps,n[hi]=t,(a=n.nodeValue!==r)&&null!==(e=ro))switch(e.tag){case 3:Yn(n.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Yn(n.nodeValue,r,!!(1&e.mode))}a&&(t.flags|=4)}else(n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[hi]=t,t.stateNode=n}return Gs(t),null;case 13:if(Pi(ea),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==no&&1&t.mode&&!(128&t.flags))fo(),po(),t.flags|=98560,a=!1;else if(a=ho(t),null!==n&&null!==n.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[hi]=t}else po(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Gs(t),a=!1}else null!==oo&&(ac(oo),oo=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((n=null!==n)!=(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ea.current?0===Ml&&(Ml=3):mc())),null!==t.updateQueue&&(t.flags|=4),Gs(t),null);case 4:return Qo(),Is(e,t),null===e&&Vn(t.stateNode.containerInfo),Gs(t),null;case 10:return _o(t.type._context),Gs(t),null;case 19:if(Pi(ea),null===(a=t.memoizedState))return Gs(t),null;if(n=!!(128&t.flags),null===(l=a.rendering))if(n)qs(a,!1);else{if(0!==Ml||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ta(e))){for(t.flags|=128,qs(a,!1),null!==(n=l.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)e=n,(a=r).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ci(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Qe()>Vl&&(t.flags|=128,n=!0,qs(a,!1),t.lanes=4194304)}else{if(!n)if(null!==(e=ta(l))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),qs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!io)return Gs(t),null}else 2*Qe()-a.renderingStartTime>Vl&&1073741824!==r&&(t.flags|=128,n=!0,qs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(r=a.last)?r.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Qe(),t.sibling=null,r=ea.current,Ci(ea,n?1&r|2:1&r),t):(Gs(t),null);case 22:case 23:return dc(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&1&t.mode?!!(1073741824&Il)&&(Gs(t),6&t.subtreeFlags&&(t.flags|=8192)):Gs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Zs(e,t){switch(to(t),t.tag){case 1:return Ii(t.type)&&Di(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Qo(),Pi(Ai),Pi(_i),na(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Jo(t),null;case 13:if(Pi(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));po()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Pi(ea),null;case 4:return Qo(),null;case 10:return _o(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}js=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Is=function(){},Ds=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Xo(Go.current);var o,a=null;switch(r){case"input":i=X(e,i),n=X(e,n),a=[];break;case"select":i=L({},i,{value:void 0}),n=L({},n,{value:void 0}),a=[];break;case"textarea":i=ne(e,i),n=ne(e,n),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof n.onClick&&(e.onclick=Jn)}for(u in ye(r,n),r=null,i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var l=i[u];for(o in l)l.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in n){var c=n[u];if(l=null!=i?i[u]:void 0,n.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(r||(r={}),r[o]=c[o])}else r||(a||(a=[]),a.push(u,r)),r=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Un("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}r&&(a=a||[]).push("style",r);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Ms=function(e,t,r,n){r!==n&&(t.flags|=4)};var Xs=!1,Ks=!1,Qs="function"==typeof WeakSet?WeakSet:Set,Ys=null;function Js(e,t){var r=e.ref;if(null!==r)if("function"==typeof r)try{r(null)}catch(r){Oc(e,t,r)}else r.current=null}function el(e,t,r){try{r()}catch(r){Oc(e,t,r)}}var tl=!1;function rl(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var i=n=n.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&el(t,r,o)}i=i.next}while(i!==n)}}function nl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function il(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[hi],delete t[fi],delete t[mi],delete t[bi],delete t[gi]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=Jn));else if(4!==n&&null!==(e=e.child))for(ll(e,t,r),e=e.sibling;null!==e;)ll(e,t,r),e=e.sibling}function cl(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(cl(e,t,r),e=e.sibling;null!==e;)cl(e,t,r),e=e.sibling}var ul=null,dl=!1;function hl(e,t,r){for(r=r.child;null!==r;)fl(e,t,r),r=r.sibling}function fl(e,t,r){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,r)}catch(e){}switch(r.tag){case 5:Ks||Js(r,t);case 6:var n=ul,i=dl;ul=null,hl(e,t,r),dl=i,null!==(ul=n)&&(dl?(e=ul,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):ul.removeChild(r.stateNode));break;case 18:null!==ul&&(dl?(e=ul,r=r.stateNode,8===e.nodeType?li(e.parentNode,r):1===e.nodeType&&li(e,r),Vt(e)):li(ul,r.stateNode));break;case 4:n=ul,i=dl,ul=r.stateNode.containerInfo,dl=!0,hl(e,t,r),ul=n,dl=i;break;case 0:case 11:case 14:case 15:if(!Ks&&null!==(n=r.updateQueue)&&null!==(n=n.lastEffect)){i=n=n.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(2&o||4&o)&&el(r,t,a),i=i.next}while(i!==n)}hl(e,t,r);break;case 1:if(!Ks&&(Js(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){Oc(r,t,e)}hl(e,t,r);break;case 21:hl(e,t,r);break;case 22:1&r.mode?(Ks=(n=Ks)||null!==r.memoizedState,hl(e,t,r),Ks=n):hl(e,t,r);break;default:hl(e,t,r)}}function pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new Qs),t.forEach((function(t){var n=_c.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}function ml(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var i=r[n];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(o(160));fl(a,s,i),ul=null,dl=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(e){Oc(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)bl(t,e),t=t.sibling}function bl(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),gl(e),4&n){try{rl(3,e,e.return),nl(3,e)}catch(t){Oc(e,e.return,t)}try{rl(5,e,e.return)}catch(t){Oc(e,e.return,t)}}break;case 1:ml(t,e),gl(e),512&n&&null!==r&&Js(r,r.return);break;case 5:if(ml(t,e),gl(e),512&n&&null!==r&&Js(r,r.return),32&e.flags){var i=e.stateNode;try{he(i,"")}catch(t){Oc(e,e.return,t)}}if(4&n&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==r?r.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&Q(i,a),ve(l,s);var u=ve(l,a);for(s=0;s<c.length;s+=2){var d=c[s],h=c[s+1];"style"===d?be(i,h):"dangerouslySetInnerHTML"===d?de(i,h):"children"===d?he(i,h):v(i,d,h,u)}switch(l){case"input":Y(i,a);break;case"textarea":oe(i,a);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?re(i,!!a.multiple,p,!1):f!==!!a.multiple&&(null!=a.defaultValue?re(i,!!a.multiple,a.defaultValue,!0):re(i,!!a.multiple,a.multiple?[]:"",!1))}i[fi]=a}catch(t){Oc(e,e.return,t)}}break;case 6:if(ml(t,e),gl(e),4&n){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(t){Oc(e,e.return,t)}}break;case 3:if(ml(t,e),gl(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{Vt(t.containerInfo)}catch(t){Oc(e,e.return,t)}break;case 4:default:ml(t,e),gl(e);break;case 13:ml(t,e),gl(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(Hl=Qe())),4&n&&pl(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Ks=(u=Ks)||d,ml(t,e),Ks=u):ml(t,e),gl(e),8192&n){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Ys=e,d=e.child;null!==d;){for(h=Ys=d;null!==Ys;){switch(p=(f=Ys).child,f.tag){case 0:case 11:case 14:case 15:rl(4,f,f.return);break;case 1:Js(f,f.return);var m=f.stateNode;if("function"==typeof m.componentWillUnmount){n=f,r=f.return;try{t=n,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Oc(n,r,e)}}break;case 5:Js(f,f.return);break;case 22:if(null!==f.memoizedState){El(h);continue}}null!==p?(p.return=f,Ys=p):El(h)}d=d.sibling}e:for(d=null,h=e;;){if(5===h.tag){if(null===d){d=h;try{i=h.stateNode,u?"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=h.stateNode,s=null!=(c=h.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(t){Oc(e,e.return,t)}}}else if(6===h.tag){if(null===d)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(t){Oc(e,e.return,t)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===e)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;null===h.sibling;){if(null===h.return||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ml(t,e),gl(e),4&n&&pl(e);case 21:}}function gl(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(al(r)){var n=r;break e}r=r.return}throw Error(o(160))}switch(n.tag){case 5:var i=n.stateNode;32&n.flags&&(he(i,""),n.flags&=-33),cl(e,sl(e),i);break;case 3:case 4:var a=n.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(o(161))}}catch(t){Oc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,r){Ys=e,vl(e,t,r)}function vl(e,t,r){for(var n=!!(1&e.mode);null!==Ys;){var i=Ys,o=i.child;if(22===i.tag&&n){var a=null!==i.memoizedState||Xs;if(!a){var s=i.alternate,l=null!==s&&null!==s.memoizedState||Ks;s=Xs;var c=Ks;if(Xs=a,(Ks=l)&&!c)for(Ys=i;null!==Ys;)l=(a=Ys).child,22===a.tag&&null!==a.memoizedState?Sl(i):null!==l?(l.return=a,Ys=l):Sl(i);for(;null!==o;)Ys=o,vl(o,t,r),o=o.sibling;Ys=i,Xs=s,Ks=c}wl(e)}else 8772&i.subtreeFlags&&null!==o?(o.return=i,Ys=o):wl(e)}}function wl(e){for(;null!==Ys;){var t=Ys;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ks||nl(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!Ks)if(null===r)n.componentDidMount();else{var i=t.elementType===t.type?r.memoizedProps:rs(t.type,r.memoizedProps);n.componentDidUpdate(i,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&$o(t,a,n);break;case 3:var s=t.updateQueue;if(null!==s){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}$o(t,s,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus();break;case"img":c.src&&(r.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var h=d.dehydrated;null!==h&&Vt(h)}}}break;default:throw Error(o(163))}Ks||512&t.flags&&il(t)}catch(e){Oc(t,t.return,e)}}if(t===e){Ys=null;break}if(null!==(r=t.sibling)){r.return=t.return,Ys=r;break}Ys=t.return}}function El(e){for(;null!==Ys;){var t=Ys;if(t===e){Ys=null;break}var r=t.sibling;if(null!==r){r.return=t.return,Ys=r;break}Ys=t.return}}function Sl(e){for(;null!==Ys;){var t=Ys;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{nl(4,t)}catch(e){Oc(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var i=t.return;try{n.componentDidMount()}catch(e){Oc(t,i,e)}}var o=t.return;try{il(t)}catch(e){Oc(t,o,e)}break;case 5:var a=t.return;try{il(t)}catch(e){Oc(t,a,e)}}}catch(e){Oc(t,t.return,e)}if(t===e){Ys=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Ys=s;break}Ys=t.return}}var xl,Ol=Math.ceil,Pl=w.ReactCurrentDispatcher,Cl=w.ReactCurrentOwner,kl=w.ReactCurrentBatchConfig,_l=0,Al=null,Tl=null,jl=0,Il=0,Dl=Oi(0),Ml=0,Rl=null,Fl=0,Ll=0,Nl=0,Ul=null,Bl=null,Hl=0,Vl=1/0,zl=null,$l=!1,ql=null,Gl=null,Wl=!1,Zl=null,Xl=0,Kl=0,Ql=null,Yl=-1,Jl=0;function ec(){return 6&_l?Qe():-1!==Yl?Yl:Yl=Qe()}function tc(e){return 1&e.mode?2&_l&&0!==jl?jl&-jl:null!==bo.transition?(0===Jl&&(Jl=mt()),Jl):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Kt(e.type):1}function rc(e,t,r,n){if(50<Kl)throw Kl=0,Ql=null,Error(o(185));gt(e,r,n),2&_l&&e===Al||(e===Al&&(!(2&_l)&&(Ll|=r),4===Ml&&sc(e,jl)),nc(e,n),1===r&&0===_l&&!(1&t.mode)&&(Vl=Qe()+500,Ui&&Vi()))}function nc(e,t){var r=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),s=1<<a,l=i[a];-1===l?s&r&&!(s&n)||(i[a]=ft(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var n=ht(e,e===Al?jl:0);if(0===n)null!==r&&Ze(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(null!=r&&Ze(r),1===t)0===e.tag?function(e){Ui=!0,Hi(e)}(lc.bind(null,e)):Hi(lc.bind(null,e)),ai((function(){!(6&_l)&&Vi()})),r=null;else{switch(wt(n)){case 1:r=Je;break;case 4:r=et;break;case 16:default:r=tt;break;case 536870912:r=nt}r=Ac(r,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function ic(e,t){if(Yl=-1,Jl=0,6&_l)throw Error(o(327));var r=e.callbackNode;if(Sc()&&e.callbackNode!==r)return null;var n=ht(e,e===Al?jl:0);if(0===n)return null;if(30&n||n&e.expiredLanes||t)t=bc(e,n);else{t=n;var i=_l;_l|=2;var a=pc();for(Al===e&&jl===t||(zl=null,Vl=Qe()+500,hc(e,t));;)try{yc();break}catch(t){fc(e,t)}ko(),Pl.current=a,_l=i,null!==Tl?t=0:(Al=null,jl=0,t=Ml)}if(0!==t){if(2===t&&0!==(i=pt(e))&&(n=i,t=oc(e,i)),1===t)throw r=Rl,hc(e,0),sc(e,n),nc(e,Qe()),r;if(6===t)sc(e,n);else{if(i=e.current.alternate,!(30&n||function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var i=r[n],o=i.getSnapshot;i=i.value;try{if(!sn(o(),i))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=bc(e,n),2===t&&(a=pt(e),0!==a&&(n=a,t=oc(e,a))),1!==t)))throw r=Rl,hc(e,0),sc(e,n),nc(e,Qe()),r;switch(e.finishedWork=i,e.finishedLanes=n,t){case 0:case 1:throw Error(o(345));case 2:case 5:Ec(e,Bl,zl);break;case 3:if(sc(e,n),(130023424&n)===n&&10<(t=Hl+500-Qe())){if(0!==ht(e,0))break;if(((i=e.suspendedLanes)&n)!==n){ec(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ni(Ec.bind(null,e,Bl,zl),t);break}Ec(e,Bl,zl);break;case 4:if(sc(e,n),(4194240&n)===n)break;for(t=e.eventTimes,i=-1;0<n;){var s=31-at(n);a=1<<s,(s=t[s])>i&&(i=s),n&=~a}if(n=i,10<(n=(120>(n=Qe()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ol(n/1960))-n)){e.timeoutHandle=ni(Ec.bind(null,e,Bl,zl),n);break}Ec(e,Bl,zl);break;default:throw Error(o(329))}}}return nc(e,Qe()),e.callbackNode===r?ic.bind(null,e):null}function oc(e,t){var r=Ul;return e.current.memoizedState.isDehydrated&&(hc(e,t).flags|=256),2!==(e=bc(e,t))&&(t=Bl,Bl=r,null!==t&&ac(t)),e}function ac(e){null===Bl?Bl=e:Bl.push.apply(Bl,e)}function sc(e,t){for(t&=~Nl,t&=~Ll,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-at(t),n=1<<r;e[r]=-1,t&=~n}}function lc(e){if(6&_l)throw Error(o(327));Sc();var t=ht(e,0);if(!(1&t))return nc(e,Qe()),null;var r=bc(e,t);if(0!==e.tag&&2===r){var n=pt(e);0!==n&&(t=n,r=oc(e,n))}if(1===r)throw r=Rl,hc(e,0),sc(e,t),nc(e,Qe()),r;if(6===r)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ec(e,Bl,zl),nc(e,Qe()),null}function cc(e,t){var r=_l;_l|=1;try{return e(t)}finally{0===(_l=r)&&(Vl=Qe()+500,Ui&&Vi())}}function uc(e){null!==Zl&&0===Zl.tag&&!(6&_l)&&Sc();var t=_l;_l|=1;var r=kl.transition,n=vt;try{if(kl.transition=null,vt=1,e)return e()}finally{vt=n,kl.transition=r,!(6&(_l=t))&&Vi()}}function dc(){Il=Dl.current,Pi(Dl)}function hc(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,ii(r)),null!==Tl)for(r=Tl.return;null!==r;){var n=r;switch(to(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&Di();break;case 3:Qo(),Pi(Ai),Pi(_i),na();break;case 5:Jo(n);break;case 4:Qo();break;case 13:case 19:Pi(ea);break;case 10:_o(n.type._context);break;case 22:case 23:dc()}r=r.return}if(Al=e,Tl=e=Dc(e.current,null),jl=Il=t,Ml=0,Rl=null,Nl=Ll=Fl=0,Bl=Ul=null,null!==Io){for(t=0;t<Io.length;t++)if(null!==(n=(r=Io[t]).interleaved)){r.interleaved=null;var i=n.next,o=r.pending;if(null!==o){var a=o.next;o.next=i,n.next=a}r.pending=n}Io=null}return e}function fc(e,t){for(;;){var r=Tl;try{if(ko(),ia.current=Ya,ua){for(var n=sa.memoizedState;null!==n;){var i=n.queue;null!==i&&(i.pending=null),n=n.next}ua=!1}if(aa=0,ca=la=sa=null,da=!1,ha=0,Cl.current=null,null===r||null===r.return){Ml=1,Rl=t,Tl=null;break}e:{var a=e,s=r.return,l=r,c=t;if(t=jl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,h=d.tag;if(!(1&d.mode||0!==h&&11!==h&&15!==h)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=bs(s);if(null!==p){p.flags&=-257,gs(p,s,l,0,t),1&p.mode&&ms(a,u,t),c=u;var m=(t=p).updateQueue;if(null===m){var b=new Set;b.add(c),t.updateQueue=b}else m.add(c);break e}if(!(1&t)){ms(a,u,t),mc();break e}c=Error(o(426))}else if(io&&1&l.mode){var g=bs(s);if(null!==g){!(65536&g.flags)&&(g.flags|=256),gs(g,s,l,0,t),mo(cs(c,l));break e}}a=c=cs(c,l),4!==Ml&&(Ml=2),null===Ul?Ul=[a]:Ul.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Vo(a,fs(0,c,t));break e;case 1:l=c;var y=a.type,v=a.stateNode;if(!(128&a.flags||"function"!=typeof y.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==Gl&&Gl.has(v)))){a.flags|=65536,t&=-t,a.lanes|=t,Vo(a,ps(a,l,t));break e}}a=a.return}while(null!==a)}wc(r)}catch(e){t=e,Tl===r&&null!==r&&(Tl=r=r.return);continue}break}}function pc(){var e=Pl.current;return Pl.current=Ya,null===e?Ya:e}function mc(){0!==Ml&&3!==Ml&&2!==Ml||(Ml=4),null===Al||!(268435455&Fl)&&!(268435455&Ll)||sc(Al,jl)}function bc(e,t){var r=_l;_l|=2;var n=pc();for(Al===e&&jl===t||(zl=null,hc(e,t));;)try{gc();break}catch(t){fc(e,t)}if(ko(),_l=r,Pl.current=n,null!==Tl)throw Error(o(261));return Al=null,jl=0,Ml}function gc(){for(;null!==Tl;)vc(Tl)}function yc(){for(;null!==Tl&&!Xe();)vc(Tl)}function vc(e){var t=xl(e.alternate,e,Il);e.memoizedProps=e.pendingProps,null===t?wc(e):Tl=t,Cl.current=null}function wc(e){var t=e;do{var r=t.alternate;if(e=t.return,32768&t.flags){if(null!==(r=Zs(r,t)))return r.flags&=32767,void(Tl=r);if(null===e)return Ml=6,void(Tl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(r=Ws(r,t,Il)))return void(Tl=r);if(null!==(t=t.sibling))return void(Tl=t);Tl=t=e}while(null!==t);0===Ml&&(Ml=5)}function Ec(e,t,r){var n=vt,i=kl.transition;try{kl.transition=null,vt=1,function(e,t,r,n){do{Sc()}while(null!==Zl);if(6&_l)throw Error(o(327));r=e.finishedWork;var i=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var i=31-at(r),o=1<<i;t[i]=0,n[i]=-1,e[i]=-1,r&=~o}}(e,a),e===Al&&(Tl=Al=null,jl=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||Wl||(Wl=!0,Ac(tt,(function(){return Sc(),null}))),a=!!(15990&r.flags),15990&r.subtreeFlags||a){a=kl.transition,kl.transition=null;var s=vt;vt=1;var l=_l;_l|=4,Cl.current=null,function(e,t){if(ei=$t,fn(e=hn())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var i=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch(e){r=null;break e}var s=0,l=-1,c=-1,u=0,d=0,h=e,f=null;t:for(;;){for(var p;h!==r||0!==i&&3!==h.nodeType||(l=s+i),h!==a||0!==n&&3!==h.nodeType||(c=s+n),3===h.nodeType&&(s+=h.nodeValue.length),null!==(p=h.firstChild);)f=h,h=p;for(;;){if(h===e)break t;if(f===r&&++u===i&&(l=s),f===a&&++d===n&&(c=s),null!==(p=h.nextSibling))break;f=(h=f).parentNode}h=p}r=-1===l||-1===c?null:{start:l,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(ti={focusedElem:e,selectionRange:r},$t=!1,Ys=t;null!==Ys;)if(e=(t=Ys).child,1028&t.subtreeFlags&&null!==e)e.return=t,Ys=e;else for(;null!==Ys;){t=Ys;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var b=m.memoizedProps,g=m.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?b:rs(t.type,b),g);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(e){Oc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Ys=e;break}Ys=t.return}m=tl,tl=!1}(e,r),bl(r,e),pn(ti),$t=!!ei,ti=ei=null,e.current=r,yl(r,e,i),Ke(),_l=l,vt=s,kl.transition=a}else e.current=r;if(Wl&&(Wl=!1,Zl=e,Xl=i),0===(a=e.pendingLanes)&&(Gl=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),nc(e,Qe()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n((i=t[r]).value,{componentStack:i.stack,digest:i.digest});if($l)throw $l=!1,e=ql,ql=null,e;!!(1&Xl)&&0!==e.tag&&Sc(),1&(a=e.pendingLanes)?e===Ql?Kl++:(Kl=0,Ql=e):Kl=0,Vi()}(e,t,r,n)}finally{kl.transition=i,vt=n}return null}function Sc(){if(null!==Zl){var e=wt(Xl),t=kl.transition,r=vt;try{if(kl.transition=null,vt=16>e?16:e,null===Zl)var n=!1;else{if(e=Zl,Zl=null,Xl=0,6&_l)throw Error(o(331));var i=_l;for(_l|=4,Ys=e.current;null!==Ys;){var a=Ys,s=a.child;if(16&Ys.flags){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Ys=u;null!==Ys;){var d=Ys;switch(d.tag){case 0:case 11:case 15:rl(8,d,a)}var h=d.child;if(null!==h)h.return=d,Ys=h;else for(;null!==Ys;){var f=(d=Ys).sibling,p=d.return;if(ol(d),d===u){Ys=null;break}if(null!==f){f.return=p,Ys=f;break}Ys=p}}}var m=a.alternate;if(null!==m){var b=m.child;if(null!==b){m.child=null;do{var g=b.sibling;b.sibling=null,b=g}while(null!==b)}}Ys=a}}if(2064&a.subtreeFlags&&null!==s)s.return=a,Ys=s;else e:for(;null!==Ys;){if(2048&(a=Ys).flags)switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Ys=y;break e}Ys=a.return}}var v=e.current;for(Ys=v;null!==Ys;){var w=(s=Ys).child;if(2064&s.subtreeFlags&&null!==w)w.return=s,Ys=w;else e:for(s=v;null!==Ys;){if(2048&(l=Ys).flags)try{switch(l.tag){case 0:case 11:case 15:nl(9,l)}}catch(e){Oc(l,l.return,e)}if(l===s){Ys=null;break e}var E=l.sibling;if(null!==E){E.return=l.return,Ys=E;break e}Ys=l.return}}if(_l=i,Vi(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(e){}n=!0}return n}finally{vt=r,kl.transition=t}}return!1}function xc(e,t,r){e=Bo(e,t=fs(0,t=cs(r,t),1),1),t=ec(),null!==e&&(gt(e,1,t),nc(e,t))}function Oc(e,t,r){if(3===e.tag)xc(e,e,r);else for(;null!==t;){if(3===t.tag){xc(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===Gl||!Gl.has(n))){t=Bo(t,e=ps(t,e=cs(r,e),1),1),e=ec(),null!==t&&(gt(t,1,e),nc(t,e));break}}t=t.return}}function Pc(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&r,Al===e&&(jl&r)===r&&(4===Ml||3===Ml&&(130023424&jl)===jl&&500>Qe()-Hl?hc(e,0):Nl|=r),nc(e,t)}function Cc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var r=ec();null!==(e=Ro(e,t))&&(gt(e,t,r),nc(e,r))}function kc(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),Cc(e,r)}function _c(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;null!==i&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(o(314))}null!==n&&n.delete(t),Cc(e,r)}function Ac(e,t){return We(e,t)}function Tc(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function jc(e,t,r,n){return new Tc(e,t,r,n)}function Ic(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Dc(e,t){var r=e.alternate;return null===r?((r=jc(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Mc(e,t,r,n,i,a){var s=2;if(n=e,"function"==typeof e)Ic(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case x:return Rc(r.children,i,a,t);case O:s=8,i|=8;break;case P:return(e=jc(12,r,t,2|i)).elementType=P,e.lanes=a,e;case A:return(e=jc(13,r,t,i)).elementType=A,e.lanes=a,e;case T:return(e=jc(19,r,t,i)).elementType=T,e.lanes=a,e;case D:return Fc(r,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:s=10;break e;case k:s=9;break e;case _:s=11;break e;case j:s=14;break e;case I:s=16,n=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=jc(s,r,t,i)).elementType=e,t.type=n,t.lanes=a,t}function Rc(e,t,r,n){return(e=jc(7,e,n,t)).lanes=r,e}function Fc(e,t,r,n){return(e=jc(22,e,n,t)).elementType=D,e.lanes=r,e.stateNode={isHidden:!1},e}function Lc(e,t,r){return(e=jc(6,e,null,t)).lanes=r,e}function Nc(e,t,r){return(t=jc(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Uc(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=bt(0),this.expirationTimes=bt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bt(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Bc(e,t,r,n,i,o,a,s,l){return e=new Uc(e,t,r,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=jc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Lo(o),e}function Hc(e){if(!e)return ki;e:{if(Ve(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ii(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var r=e.type;if(Ii(r))return Ri(e,r,t)}return t}function Vc(e,t,r,n,i,o,a,s,l){return(e=Bc(r,n,!0,e,0,o,0,s,l)).context=Hc(null),r=e.current,(o=Uo(n=ec(),i=tc(r))).callback=null!=t?t:null,Bo(r,o,i),e.current.lanes=i,gt(e,i,n),nc(e,n),e}function zc(e,t,r,n){var i=t.current,o=ec(),a=tc(i);return r=Hc(r),null===t.context?t.context=r:t.pendingContext=r,(t=Uo(o,a)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=Bo(i,t,a))&&(rc(e,i,a,o),Ho(e,i,a)),a}function $c(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function Gc(e,t){qc(e,t),(e=e.alternate)&&qc(e,t)}xl=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ai.current)vs=!0;else{if(!(e.lanes&r||128&t.flags))return vs=!1,function(e,t,r){switch(t.tag){case 3:As(t),po();break;case 5:Yo(t);break;case 1:Ii(t.type)&&Fi(t);break;case 4:Ko(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,i=t.memoizedProps.value;Ci(xo,n._currentValue),n._currentValue=i;break;case 13:if(null!==(n=t.memoizedState))return null!==n.dehydrated?(Ci(ea,1&ea.current),t.flags|=128,null):r&t.child.childLanes?Ls(e,t,r):(Ci(ea,1&ea.current),null!==(e=$s(e,t,r))?e.sibling:null);Ci(ea,1&ea.current);break;case 19:if(n=!!(r&t.childLanes),128&e.flags){if(n)return Vs(e,t,r);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ci(ea,ea.current),n)break;return null;case 22:case 23:return t.lanes=0,Os(e,t,r)}return $s(e,t,r)}(e,t,r);vs=!!(131072&e.flags)}else vs=!1,io&&1048576&t.flags&&Ji(t,Gi,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;zs(e,t),e=t.pendingProps;var i=ji(t,_i.current);To(t,r),i=ba(null,t,n,e,i,r);var a=ga();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ii(n)?(a=!0,Fi(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Lo(t),i.updater=is,t.stateNode=i,i._reactInternals=t,ls(t,n,e,r),t=_s(null,t,n,!0,a,r)):(t.tag=0,io&&a&&eo(t),ws(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(zs(e,t),e=t.pendingProps,n=(i=n._init)(n._payload),t.type=n,i=t.tag=function(e){if("function"==typeof e)return Ic(e)?1:0;if(null!=e){if((e=e.$$typeof)===_)return 11;if(e===j)return 14}return 2}(n),e=rs(n,e),i){case 0:t=Cs(null,t,n,e,r);break e;case 1:t=ks(null,t,n,e,r);break e;case 11:t=Es(null,t,n,e,r);break e;case 14:t=Ss(null,t,n,rs(n.type,e),r);break e}throw Error(o(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,Cs(e,t,n,i=t.elementType===n?i:rs(n,i),r);case 1:return n=t.type,i=t.pendingProps,ks(e,t,n,i=t.elementType===n?i:rs(n,i),r);case 3:e:{if(As(t),null===e)throw Error(o(387));n=t.pendingProps,i=(a=t.memoizedState).element,No(e,t),zo(t,n,null,r);var s=t.memoizedState;if(n=s.element,a.isDehydrated){if(a={element:n,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ts(e,t,n,r,i=cs(Error(o(423)),t));break e}if(n!==i){t=Ts(e,t,n,r,i=cs(Error(o(424)),t));break e}for(no=ci(t.stateNode.containerInfo.firstChild),ro=t,io=!0,oo=null,r=So(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(po(),n===i){t=$s(e,t,r);break e}ws(e,t,n,r)}t=t.child}return t;case 5:return Yo(t),null===e&&co(t),n=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,ri(n,i)?s=null:null!==a&&ri(n,a)&&(t.flags|=32),Ps(e,t),ws(e,t,s,r),t.child;case 6:return null===e&&co(t),null;case 13:return Ls(e,t,r);case 4:return Ko(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=Eo(t,null,n,r):ws(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,Es(e,t,n,i=t.elementType===n?i:rs(n,i),r);case 7:return ws(e,t,t.pendingProps,r),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,Ci(xo,n._currentValue),n._currentValue=s,null!==a)if(sn(a.value,s)){if(a.children===i.children&&!Ai.current){t=$s(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===n){if(1===a.tag){(c=Uo(-1,r&-r)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=r,null!==(c=a.alternate)&&(c.lanes|=r),Ao(a.return,r,t),l.lanes|=r;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=r,null!==(l=s.alternate)&&(l.lanes|=r),Ao(s,r,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ws(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,To(t,r),n=n(i=jo(i)),t.flags|=1,ws(e,t,n,r),t.child;case 14:return i=rs(n=t.type,t.pendingProps),Ss(e,t,n,i=rs(n.type,i),r);case 15:return xs(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:rs(n,i),zs(e,t),t.tag=1,Ii(n)?(e=!0,Fi(t)):e=!1,To(t,r),as(t,n,i),ls(t,n,i,r),_s(null,t,n,!0,e,r);case 19:return Vs(e,t,r);case 22:return Os(e,t,r)}throw Error(o(156,t.tag))};var Wc="function"==typeof reportError?reportError:function(e){console.error(e)};function Zc(e){this._internalRoot=e}function Xc(e){this._internalRoot=e}function Kc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Yc(){}function Jc(e,t,r,n,i){var o=r._reactRootContainer;if(o){var a=o;if("function"==typeof i){var s=i;i=function(){var e=$c(a);s.call(e)}}zc(t,a,e,i)}else a=function(e,t,r,n,i){if(i){if("function"==typeof n){var o=n;n=function(){var e=$c(a);o.call(e)}}var a=Vc(t,n,e,0,null,!1,0,"",Yc);return e._reactRootContainer=a,e[pi]=a.current,Vn(8===e.nodeType?e.parentNode:e),uc(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof n){var s=n;n=function(){var e=$c(l);s.call(e)}}var l=Bc(e,0,!1,null,0,!1,0,"",Yc);return e._reactRootContainer=l,e[pi]=l.current,Vn(8===e.nodeType?e.parentNode:e),uc((function(){zc(t,l,r,n)})),l}(r,t,e,i,n);return $c(a)}Xc.prototype.render=Zc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));zc(e,t,null,null)},Xc.prototype.unmount=Zc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc((function(){zc(null,e,null,null)})),t[pi]=null}},Xc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ot();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Dt.length&&0!==t&&t<Dt[r].priority;r++);Dt.splice(r,0,e),0===r&&Lt(e)}},Et=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=dt(t.pendingLanes);0!==r&&(yt(t,1|r),nc(t,Qe()),!(6&_l)&&(Vl=Qe()+500,Vi()))}break;case 13:uc((function(){var t=Ro(e,1);if(null!==t){var r=ec();rc(t,e,1,r)}})),Gc(e,1)}},St=function(e){if(13===e.tag){var t=Ro(e,134217728);null!==t&&rc(t,e,134217728,ec()),Gc(e,134217728)}},xt=function(e){if(13===e.tag){var t=tc(e),r=Ro(e,t);null!==r&&rc(r,e,t,ec()),Gc(e,t)}},Ot=function(){return vt},Pt=function(e,t){var r=vt;try{return vt=e,t()}finally{vt=r}},Se=function(e,t,r){switch(t){case"input":if(Y(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=Ei(n);if(!i)throw Error(o(90));W(n),Y(n,i)}}}break;case"textarea":oe(e,r);break;case"select":null!=(t=r.value)&&re(e,!!r.multiple,t,!1)}},_e=cc,Ae=uc;var eu={usingClientEntryPoint:!1,Events:[vi,wi,Ei,Ce,ke,cc]},tu={findFiberByHostInstance:yi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ru={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=qe(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var nu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nu.isDisabled&&nu.supportsFiber)try{it=nu.inject(ru),ot=nu}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Kc(t))throw Error(o(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},t.createRoot=function(e,t){if(!Kc(e))throw Error(o(299));var r=!1,n="",i=Wc;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Bc(e,1,!1,null,0,r,0,n,i),e[pi]=t.current,Vn(8===e.nodeType?e.parentNode:e),new Zc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return null===(e=qe(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,r){if(!Qc(t))throw Error(o(200));return Jc(null,e,t,!0,r)},t.hydrateRoot=function(e,t,r){if(!Kc(e))throw Error(o(405));var n=null!=r&&r.hydratedSources||null,i=!1,a="",s=Wc;if(null!=r&&(!0===r.unstable_strictMode&&(i=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(s=r.onRecoverableError)),t=Vc(t,null,e,1,null!=r?r:null,i,0,a,s),e[pi]=t.current,Vn(e),n)for(e=0;e<n.length;e++)i=(i=(r=n[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,i]:t.mutableSourceEagerHydrationData.push(r,i);return new Xc(t)},t.render=function(e,t,r){if(!Qc(t))throw Error(o(200));return Jc(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(o(40));return!!e._reactRootContainer&&(uc((function(){Jc(null,null,e,!1,(function(){e._reactRootContainer=null,e[pi]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Qc(r))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Jc(e,t,r,!1,n)},t.version="18.3.1-next-f1338f8080-20240426"},62275:(e,t,r)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(50213)},10173:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case o:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case h:case b:case m:case l:return e;default:return t}}case i:return t}}}function S(e){return E(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=h,t.Fragment=o,t.Lazy=b,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||E(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return E(e)===h},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===b},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===a},t.isSuspense=function(e){return E(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===y||e.$$typeof===v||e.$$typeof===w||e.$$typeof===g)},t.typeOf=E},52305:(e,t,r)=>{"use strict";e.exports=r(10173)},86742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(1986)),i=s(r(39970)),o=s(r(62275)),a=s(r(88072));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a.default||console.error("It looks like Tether has not been included. Please load this dependency first https://github.com/HubSpot/tether");var m=void 0!==o.default.createPortal,b=[i.default.string,i.default.shape({appendChild:i.default.func.isRequired})],g=["auto auto","top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],y=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?f(e):t}(this,d(t).call(this,e)),p(f(f(r)),"_targetNode",null),p(f(f(r)),"_elementParentNode",null),p(f(f(r)),"_tether",null),p(f(f(r)),"_elementComponent",null),p(f(f(r)),"_targetComponent",null),r.updateChildrenComponents(r.props),r}var r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),r=t,i=[{key:"updateChildrenComponents",value:function(e){var t=n.Children.toArray(e.children);if(this._targetComponent=t[0],this._elementComponent=t[1],this._targetComponent&&this._elementComponent&&this._createContainer(),this._elementParentNode&&this.props.className!==e.className){var r,i,o=(this.props.className||"").split(" ").filter((function(e){return e.length>0})),a=(e.className||"").split(" ").filter((function(e){return e.length>0}));(r=this._elementParentNode.classList).remove.apply(r,c(o)),(i=this._elementParentNode.classList).add.apply(i,c(a))}}},{key:"componentDidMount",value:function(){this._update()}},{key:"componentDidUpdate",value:function(){this._update()}},{key:"componentWillUnmount",value:function(){this._destroy()}},{key:"getTetherInstance",value:function(){return this._tether}},{key:"disable",value:function(){this._tether.disable()}},{key:"enable",value:function(){this._tether.enable()}},{key:"on",value:function(e,t,r){this._tether.on(e,t,r)}},{key:"once",value:function(e,t,r){this._tether.once(e,t,r)}},{key:"off",value:function(e,t){this._tether.off(e,t)}},{key:"position",value:function(){this._tether.position()}},{key:"_registerEventListeners",value:function(){var e=this;this.on("update",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.props.onUpdate&&e.props.onUpdate.apply(e,r)})),this.on("repositioned",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.props.onRepositioned&&e.props.onRepositioned.apply(e,r)}))}},{key:"_destroy",value:function(){this._elementParentNode&&(m||o.default.unmountComponentAtNode(this._elementParentNode),this._elementParentNode.parentNode.removeChild(this._elementParentNode)),this._tether&&this._tether.destroy(),this._elementParentNode=null,this._tether=null,this._targetNode=null,this._targetComponent=null,this._elementComponent=null}},{key:"_createContainer",value:function(){if(!this._elementParentNode){var e=this.props,t=e.renderElementTag,r=e.className;this._elementParentNode=document.createElement(t),this._elementParentNode.className=r||"",this._renderNode.appendChild(this._elementParentNode)}}},{key:"_update",value:function(){var e=this,t=!this._elementComponent||!this._targetComponent;t||(this._targetNode=o.default.findDOMNode(this),t=!this._targetNode),t?this._destroy():m?this._updateTether():o.default.unstable_renderSubtreeIntoContainer(this,this._elementComponent,this._elementParentNode,(function(){e._elementParentNode&&e._updateTether()}))}},{key:"_updateTether",value:function(){var e=this.props,t=(e.children,e.renderElementTag,e.renderElementTo,e.id),r=(e.className,e.style),n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["children","renderElementTag","renderElementTo","id","className","style"]),i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){p(e,t,r[t])}))}return e}({target:this._targetNode,element:this._elementParentNode},n),o=t||"";if(this._elementParentNode.id!==o&&(this._elementParentNode.id=o),r){var s=this._elementParentNode.style;Object.keys(r).forEach((function(e){s[e]!==r[e]&&(s[e]=r[e])}))}this._tether?this._tether.setOptions(i):(this._tether=new a.default(i),this._registerEventListeners()),this._tether.position()}},{key:"render",value:function(){return this._targetComponent?m&&this._elementComponent?[this._targetComponent,o.default.createPortal(this._elementComponent,this._elementParentNode)]:this._targetComponent:null}},{key:"_renderNode",get:function(){var e=this.props.renderElementTo;return"string"==typeof e?document.querySelector(e):e||document.body}}],i&&u(r.prototype,i),t}(n.Component);function v(e){this.updateChildrenComponents(e)}p(y,"propTypes",{renderElementTag:i.default.string,renderElementTo:i.default.oneOfType(b),attachment:i.default.oneOf(g).isRequired,targetAttachment:i.default.oneOf(g),offset:i.default.string,targetOffset:i.default.string,targetModifier:i.default.string,enabled:i.default.bool,classes:i.default.object,classPrefix:i.default.string,optimizations:i.default.object,constraints:i.default.array,id:i.default.string,className:i.default.string,style:i.default.object,onUpdate:i.default.func,onRepositioned:i.default.func,children:function(e,t,r){var i=e.children,o=n.Children.count(i);return o<=0?new Error("".concat(r," expects at least one child to use as the target element.")):o>2?new Error("Only a max of two children allowed in ".concat(r,".")):void 0}}),p(y,"defaultProps",{renderElementTag:"div",renderElementTo:null});var w,E=function(e){if(Array.isArray(e))return e}(w=n.default.version.split(".").map(Number))||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),2!==r.length);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(w)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}(),S=E[0],x=E[1];S<16||16===S&&x<9?y.prototype.componentWillUpdate=v:y.prototype.UNSAFE_componentWillUpdate=v;var O=y;t.default=O},91695:(e,t,r)=>{"use strict";Object.defineProperty(t,"A",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(86742))&&n.__esModule?n:{default:n}},88674:(e,t,r)=>{"use strict";var n=r(1986),i=Symbol.for("react.element"),o=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,l={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)o.call(t,n)&&!s.hasOwnProperty(n)&&(l[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===l[n]&&(l[n]=t[n]);return{$$typeof:i,type:e,key:c,ref:u,props:l,_owner:a.current}}t.jsx=l,t.jsxs=l},16109:(e,t)=>{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,b={};function g(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||p}function y(){}function v(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var w=v.prototype=new y;w.constructor=v,m(w,g.prototype),w.isPureReactComponent=!0;var E=Array.isArray,S=Object.prototype.hasOwnProperty,x={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,n){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,i)&&!O.hasOwnProperty(i)&&(o[i]=t[i]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===o[i]&&(o[i]=l[i]);return{$$typeof:r,type:e,key:a,ref:s,props:o,_owner:x.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var k=/\/+/g;function _(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(e,t,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case r:case n:l=!0}}if(l)return a=a(l=e),e=""===o?"."+_(l,0):o,E(a)?(i="",null!=e&&(i=e.replace(k,"$&/")+"/"),A(a,t,i,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(k,"$&/")+"/")+e)),t.push(a)),1;if(l=0,o=""===o?".":o+":",E(e))for(var c=0;c<e.length;c++){var u=o+_(s=e[c],c);l+=A(s,t,i,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=A(s=s.value,t,i,u=o+_(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function T(e,t,r){if(null==e)return e;var n=[],i=0;return A(e,n,"","",(function(e){return t.call(r,e,i++)})),n}function j(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},D={transition:null},M={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:D,ReactCurrentOwner:x};function R(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:T,forEach:function(e,t,r){T(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=i,t.Profiler=a,t.PureComponent=v,t.StrictMode=o,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.act=R,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=x.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)S.call(t,c)&&!O.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}return{$$typeof:r,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=P,t.createFactory=function(e){var t=P.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:j}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=R,t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,r){return I.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,r){return I.current.useReducer(e,t,r)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return I.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return I.current.useTransition()},t.version="18.3.1"},1986:(e,t,r)=>{"use strict";e.exports=r(16109)},55562:(e,t,r)=>{"use strict";e.exports=r(88674)},46414:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),s=new T(n||[]);return i(a,"_invoke",{value:C(e,r,s)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var h="suspendedStart",f="suspendedYield",p="executing",m="completed",b={};function g(){}function y(){}function v(){}var w={};c(w,a,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(j([])));S&&S!==r&&n.call(S,a)&&(w=S);var x=v.prototype=g.prototype=Object.create(w);function O(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,o,a,s){var l=d(e[i],e,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var o;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){r(e,n,t,i)}))}return o=o?o.then(i,i):i()}})}function C(e,r,n){var i=h;return function(o,a){if(i===p)throw new Error("Generator is already running");if(i===m){if("throw"===o)throw a;return{value:t,done:!0}}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===b)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===h)throw i=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=p;var c=d(e,r,n);if("normal"===c.type){if(i=n.done?m:f,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=m,n.method="throw",n.arg=c.arg)}}}function k(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var o=d(i,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function j(e){if(null!=e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},O(P.prototype),c(P.prototype,s,(function(){return this})),e.AsyncIterator=P,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new P(u(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(x),c(x,l,"Generator"),c(x,a,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=j,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;A(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:j(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},97245:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,i=e[n];if(!(0<o(i,t)))break e;e[n]=t,e[r]=i,r=n}}function n(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,i=e.length,a=i>>>1;n<a;){var s=2*(n+1)-1,l=e[s],c=s+1,u=e[c];if(0>o(l,r))c<i&&0>o(u,l)?(e[n]=u,e[c]=r,n=c):(e[n]=l,e[s]=r,n=s);else{if(!(c<i&&0>o(u,r)))break e;e[n]=u,e[c]=r,n=c}}}return t}function o(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,h=null,f=3,p=!1,m=!1,b=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=n(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,r(c,t)}t=n(u)}}function E(e){if(b=!1,w(e),!m)if(null!==n(c))m=!0,D(S);else{var t=n(u);null!==t&&M(E,t.startTime-e)}}function S(e,r){m=!1,b&&(b=!1,y(C),C=-1),p=!0;var o=f;try{for(w(r),h=n(c);null!==h&&(!(h.expirationTime>r)||e&&!A());){var a=h.callback;if("function"==typeof a){h.callback=null,f=h.priorityLevel;var s=a(h.expirationTime<=r);r=t.unstable_now(),"function"==typeof s?h.callback=s:h===n(c)&&i(c),w(r)}else i(c);h=n(c)}if(null!==h)var l=!0;else{var d=n(u);null!==d&&M(E,d.startTime-r),l=!1}return l}finally{h=null,f=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,O=!1,P=null,C=-1,k=5,_=-1;function A(){return!(t.unstable_now()-_<k)}function T(){if(null!==P){var e=t.unstable_now();_=e;var r=!0;try{r=P(!0,e)}finally{r?x():(O=!1,P=null)}}else O=!1}if("function"==typeof v)x=function(){v(T)};else if("undefined"!=typeof MessageChannel){var j=new MessageChannel,I=j.port2;j.port1.onmessage=T,x=function(){I.postMessage(null)}}else x=function(){g(T,0)};function D(e){P=e,O||(O=!0,x())}function M(e,r){C=g((function(){e(t.unstable_now())}),r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,D(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return n(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var r=f;f=t;try{return e()}finally{f=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=f;f=e;try{return t()}finally{f=r}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,r(u,e),null===n(c)&&e===n(u)&&(b?(y(C),C=-1):b=!0,M(E,o-a))):(e.sortIndex=s,r(c,e),m||p||(m=!0,D(S))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}},40552:(e,t,r)=>{"use strict";e.exports=r(97245)},12010:e=>{"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},88072:function(e,t){var r,n;r=function(){"use strict";var e=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=void 0;void 0===r&&(r={modules:[]});var n=null;function i(e){var t=e.getBoundingClientRect(),r={};for(var n in t)r[n]=t[n];try{if(e.ownerDocument!==document){var o=e.ownerDocument.defaultView.frameElement;if(o){var a=i(o);r.top+=a.top,r.bottom+=a.top,r.left+=a.left,r.right+=a.left}}}catch(e){}return r}function o(e){var t=(getComputedStyle(e)||{}).position,r=[];if("fixed"===t)return[e];for(var n=e;(n=n.parentNode)&&n&&1===n.nodeType;){var i=void 0;try{i=getComputedStyle(n)}catch(e){}if(null==i)return r.push(n),r;var o=i,a=o.overflow,s=o.overflowX,l=o.overflowY;/(auto|scroll|overlay)/.test(a+l+s)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(i.position)>=0)&&r.push(n)}return r.push(e.ownerDocument.body),e.ownerDocument!==document&&r.push(e.ownerDocument.defaultView),r}var a,s=(a=0,function(){return++a}),l={},c=function(){var e=n;e&&document.body.contains(e)||((e=document.createElement("div")).setAttribute("data-tether-id",s()),m(e.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(e),n=e);var t=e.getAttribute("data-tether-id");return void 0===l[t]&&(l[t]=i(e),x((function(){delete l[t]}))),l[t]};function u(){n&&document.body.removeChild(n),n=null}function d(e){var t=void 0;e===document?(t=document,e=document.documentElement):t=e.ownerDocument;var r=t.documentElement,n=i(e),o=c();return n.top-=o.top,n.left-=o.left,void 0===n.width&&(n.width=document.body.scrollWidth-n.left-n.right),void 0===n.height&&(n.height=document.body.scrollHeight-n.top-n.bottom),n.top=n.top-r.clientTop,n.left=n.left-r.clientLeft,n.right=t.body.clientWidth-n.width-n.left,n.bottom=t.body.clientHeight-n.height-n.top,n}function h(e){return e.offsetParent||document.documentElement}var f=null;function p(){if(f)return f;var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");m(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);var r=e.offsetWidth;t.style.overflow="scroll";var n=e.offsetWidth;r===n&&(n=t.clientWidth),document.body.removeChild(t);var i=r-n;return f={width:i,height:i}}function m(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])})),e}function b(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}));else{var r=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi"),n=v(e).replace(r," ");w(e,n)}}function g(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}));else{b(e,t);var r=v(e)+" "+t;w(e,r)}}function y(e,t){if(void 0!==e.classList)return e.classList.contains(t);var r=v(e);return new RegExp("(^| )"+t+"( |$)","gi").test(r)}function v(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className}function w(e,t){e.setAttribute("class",t)}function E(e,t,r){r.forEach((function(r){-1===t.indexOf(r)&&y(e,r)&&b(e,r)})),t.forEach((function(t){y(e,t)||g(e,t)}))}var S=[],x=function(e){S.push(e)},O=function(){for(var e=void 0;e=S.pop();)e()},P=function(){function r(){t(this,r)}return e(r,[{key:"on",value:function(e,t,r){var n=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[e]&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:r,once:n})}},{key:"once",value:function(e,t,r){this.on(e,t,r,!0)}},{key:"off",value:function(e,t){if(void 0!==this.bindings&&void 0!==this.bindings[e])if(void 0===t)delete this.bindings[e];else for(var r=0;r<this.bindings[e].length;)this.bindings[e][r].handler===t?this.bindings[e].splice(r,1):++r}},{key:"trigger",value:function(e){if(void 0!==this.bindings&&this.bindings[e]){for(var t=0,r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];for(;t<this.bindings[e].length;){var o=this.bindings[e][t],a=o.handler,s=o.ctx,l=o.once,c=s;void 0===c&&(c=this),a.apply(c,n),l?this.bindings[e].splice(t,1):++t}}}}]),r}();r.Utils={getActualBoundingClientRect:i,getScrollParents:o,getBounds:d,getOffsetParent:h,extend:m,addClass:g,removeClass:b,hasClass:y,updateClasses:E,defer:x,flush:O,uniqueId:s,Evented:P,getScrollBarSize:p,removeUtilElements:u};var C=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},k=(e=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),function(e,t,r){for(var n=!0;n;){var i=e,o=t,a=r;n=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,o);if(void 0!==s){if("value"in s)return s.value;var l=s.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return;e=c,t=o,r=a,n=!0,s=c=void 0}});function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}if(void 0===r)throw new Error("You must include the utils.js file before tether.js");var o=(Z=r.Utils).getScrollParents,h=(d=Z.getBounds,Z.getOffsetParent),g=(m=Z.extend,Z.addClass),b=Z.removeClass,p=(E=Z.updateClasses,x=Z.defer,O=Z.flush,Z.getScrollBarSize),u=Z.removeUtilElements;function _(e,t){var r=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return e+r>=t&&t>=e-r}var A,T,j,I,D=function(){if("undefined"==typeof document)return"";for(var e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],r=0;r<t.length;++r){var n=t[r];if(void 0!==e.style[n])return n}}(),M=[],R=function(){M.forEach((function(e){e.position(!1)})),O()};function F(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}A=null,T=null,j=null,I=function e(){if(void 0!==T&&T>16)return T=Math.min(T-16,250),void(j=setTimeout(e,250));void 0!==A&&F()-A<10||(null!=j&&(clearTimeout(j),j=null),A=F(),R(),T=F()-A)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,I)}));var L={center:"center",left:"right",right:"left"},N={middle:"middle",top:"bottom",bottom:"top"},U={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},B=function(e){var t=e.left,r=e.top;return void 0!==U[e.left]&&(t=U[e.left]),void 0!==U[e.top]&&(r=U[e.top]),{left:t,top:r}};function H(){for(var e={top:0,left:0},t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){var r=t.top,n=t.left;"string"==typeof r&&(r=parseFloat(r,10)),"string"==typeof n&&(n=parseFloat(n,10)),e.top+=r,e.left+=n})),e}function V(e,t){return"string"==typeof e.left&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left,10)/100*t.width),"string"==typeof e.top&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top,10)/100*t.height),e}var z=function(e){var t=e.split(" "),r=C(t,2);return{top:r[0],left:r[1]}},$=z,q=function(n){function i(e){var n=this;t(this,i),k(Object.getPrototypeOf(i.prototype),"constructor",this).call(this),this.position=this.position.bind(this),M.push(this),this.history=[],this.setOptions(e,!1),r.modules.forEach((function(e){void 0!==e.initialize&&e.initialize.call(n)})),this.position()}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,n),e(i,[{key:"getClass",value:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.classes;return void 0!==t&&t[e]?this.options.classes[e]:this.options.classPrefix?this.options.classPrefix+"-"+e:e}},{key:"setOptions",value:function(e){var t=this,r=arguments.length<=1||void 0===arguments[1]||arguments[1];this.options=m({offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"},e);var n=this.options,i=n.element,a=n.target,s=n.targetModifier;if(this.element=i,this.target=a,this.targetModifier=s,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(void 0===t[e])throw new Error("Tether Error: Both element and target must be defined");void 0!==t[e].jquery?t[e]=t[e][0]:"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),g(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&g(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=$(this.options.targetAttachment),this.attachment=$(this.options.attachment),this.offset=z(this.options.offset),this.targetOffset=z(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=o(this.target),!1!==this.options.enabled&&this.enable(r)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return d(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((o={height:(e=d(this.target)).height,width:e.width,top:e.top,left:e.left}).height=Math.min(o.height,e.height-(pageYOffset-e.top)),o.height=Math.min(o.height,e.height-(e.top+e.height-(pageYOffset+innerHeight))),o.height=Math.min(innerHeight,o.height),o.height-=2,o.width=Math.min(o.width,e.width-(pageXOffset-e.left)),o.width=Math.min(o.width,e.width-(e.left+e.width-(pageXOffset+innerWidth))),o.width=Math.min(innerWidth,o.width),o.width-=2,o.top<pageYOffset&&(o.top=pageYOffset),o.left<pageXOffset&&(o.left=pageXOffset),o);if("scroll-handle"===this.targetModifier){var e=void 0,t=this.target;t===document.body?(t=document.documentElement,e={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):e=d(t);var r=getComputedStyle(t),n=0;(t.scrollWidth>t.clientWidth||[r.overflow,r.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(n=15);var i=e.height-parseFloat(r.borderTopWidth)-parseFloat(r.borderBottomWidth)-n,o={width:15,height:.975*i*(i/t.scrollHeight),left:e.left+e.width-parseFloat(r.borderLeftWidth)-15},a=0;i<408&&this.target===document.body&&(a=-11e-5*Math.pow(i,2)-.00727*i+22.58),this.target!==document.body&&(o.height=Math.max(o.height,24));var s=this.target.scrollTop/(t.scrollHeight-i);return o.top=s*(i-o.height-a)+e.top+parseFloat(r.borderTopWidth),this.target===document.body&&(o.height=Math.max(o.height,24)),o}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(e,t){return void 0===this._cache&&(this._cache={}),void 0===this._cache[e]&&(this._cache[e]=t.call(this)),this._cache[e]}},{key:"enable",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&g(this.target,this.getClass("enabled")),g(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach((function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)})),t&&this.position()}},{key:"disable",value:function(){var e=this;b(this.target,this.getClass("enabled")),b(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.position)}))}},{key:"destroy",value:function(){var e=this;this.disable(),M.forEach((function(t,r){t===e&&M.splice(r,1)})),0===M.length&&u()}},{key:"updateAttachClasses",value:function(e,t){var r=this;e=e||this.attachment,t=t||this.targetAttachment;void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var n=this._addAttachClasses;e.top&&n.push(this.getClass("element-attached")+"-"+e.top),e.left&&n.push(this.getClass("element-attached")+"-"+e.left),t.top&&n.push(this.getClass("target-attached")+"-"+t.top),t.left&&n.push(this.getClass("target-attached")+"-"+t.left);var i=[];["left","top","bottom","right","middle","center"].forEach((function(e){i.push(r.getClass("element-attached")+"-"+e),i.push(r.getClass("target-attached")+"-"+e)})),x((function(){void 0!==r._addAttachClasses&&(E(r.element,r._addAttachClasses,i),!1!==r.options.addTargetClasses&&E(r.target,r._addAttachClasses,i),delete r._addAttachClasses)}))}},{key:"position",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var n=function(e,t){var r=e.left,n=e.top;return"auto"===r&&(r=L[t.left]),"auto"===n&&(n=N[t.top]),{left:r,top:n}}(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var i=this.cache("element-bounds",(function(){return d(e.element)})),o=i.width,a=i.height;if(0===o&&0===a&&void 0!==this.lastSize){var s=this.lastSize;o=s.width,a=s.height}else this.lastSize={width:o,height:a};var l=this.cache("target-bounds",(function(){return e.getTargetBounds()})),c=l,u=V(B(this.attachment),{width:o,height:a}),f=V(B(n),c),m=V(this.offset,{width:o,height:a}),b=V(this.targetOffset,c);u=H(u,m),f=H(f,b);for(var g=l.left+f.left-u.left,y=l.top+f.top-u.top,v=0;v<r.modules.length;++v){var w=r.modules[v].position.call(this,{left:g,top:y,targetAttachment:n,targetPos:l,elementPos:i,offset:u,targetOffset:f,manualOffset:m,manualTargetOffset:b,scrollbarSize:P,attachment:this.attachment});if(!1===w)return!1;void 0!==w&&"object"==typeof w&&(y=w.top,g=w.left)}var E={page:{top:y,left:g},viewport:{top:y-pageYOffset,bottom:pageYOffset-y-a+innerHeight,left:g-pageXOffset,right:pageXOffset-g-o+innerWidth}},S=this.target.ownerDocument,x=S.defaultView,P=void 0;return x.innerHeight>S.documentElement.clientHeight&&(P=this.cache("scrollbar-size",p),E.viewport.bottom-=P.height),x.innerWidth>S.documentElement.clientWidth&&(P=this.cache("scrollbar-size",p),E.viewport.right-=P.width),-1!==["","static"].indexOf(S.body.style.position)&&-1!==["","static"].indexOf(S.body.parentElement.style.position)||(E.page.bottom=S.body.scrollHeight-y-a,E.page.right=S.body.scrollWidth-g-o),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var t=e.cache("target-offsetparent",(function(){return h(e.target)})),r=e.cache("target-offsetparent-bounds",(function(){return d(t)})),n=getComputedStyle(t),i=r,o={};if(["Top","Left","Bottom","Right"].forEach((function(e){o[e.toLowerCase()]=parseFloat(n["border"+e+"Width"])})),r.right=S.body.scrollWidth-r.left-i.width+o.right,r.bottom=S.body.scrollHeight-r.top-i.height+o.bottom,E.page.top>=r.top+o.top&&E.page.bottom>=r.bottom&&E.page.left>=r.left+o.left&&E.page.right>=r.right){var a=t.scrollTop,s=t.scrollLeft;E.offset={top:E.page.top-r.top+a-o.top,left:E.page.left-r.left+s-o.left}}}(),this.move(E),this.history.unshift(E),this.history.length>3&&this.history.pop(),t&&O(),!0}}},{key:"move",value:function(e){var t,r,n=this;if(void 0!==this.element.parentNode){var i={};for(var o in e)for(var a in i[o]={},e[o]){for(var s=!1,l=0;l<this.history.length;++l){var c=this.history[l];if(void 0!==c[o]&&!_(c[o][a],e[o][a])){s=!0;break}}s||(i[o][a]=!0)}var u={top:"",left:"",right:"",bottom:""},d=function(e,t){if(!1!==(void 0!==n.options.optimizations?n.options.optimizations.gpu:null)){var r=void 0,i=void 0;e.top?(u.top=0,r=t.top):(u.bottom=0,r=-t.bottom),e.left?(u.left=0,i=t.left):(u.right=0,i=-t.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(i=Math.round(i*devicePixelRatio)/devicePixelRatio,r=Math.round(r*devicePixelRatio)/devicePixelRatio),u[D]="translateX("+i+"px) translateY("+r+"px)","msTransform"!==D&&(u[D]+=" translateZ(0)")}else e.top?u.top=t.top+"px":u.bottom=t.bottom+"px",e.left?u.left=t.left+"px":u.right=t.right+"px"},f=!1;if((i.page.top||i.page.bottom)&&(i.page.left||i.page.right)?(u.position="absolute",d(i.page,e.page)):(i.viewport.top||i.viewport.bottom)&&(i.viewport.left||i.viewport.right)?(u.position="fixed",d(i.viewport,e.viewport)):void 0!==i.offset&&i.offset.top&&i.offset.left?function(){u.position="absolute";var t=n.cache("target-offsetparent",(function(){return h(n.target)}));h(n.element)!==t&&x((function(){n.element.parentNode.removeChild(n.element),t.appendChild(n.element)})),d(i.offset,e.offset),f=!0}():(u.position="absolute",d({top:!0,left:!0},e.page)),!f)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var p=!0,b=this.element.parentNode;b&&1===b.nodeType&&"BODY"!==b.tagName&&(r=void 0,((r=(t=b).ownerDocument).fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement)!==t);){if("static"!==getComputedStyle(b).position){p=!1;break}b=b.parentNode}p||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var g={},y=!1;for(var a in u){var v=u[a];this.element.style[a]!==v&&(y=!0,g[a]=v)}y&&x((function(){m(n.element.style,g),n.trigger("repositioned")}))}}}]),i}(P);q.modules=[],r.position=R;var G=m(q,r);C=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},d=(Z=r.Utils).getBounds;var m=Z.extend,W=(E=Z.updateClasses,x=Z.defer,["left","top","right","bottom"]);r.modules.push({position:function(e){var t=this,r=e.top,n=e.left,i=e.targetAttachment;if(!this.options.constraints)return!0;var o=this.cache("element-bounds",(function(){return d(t.element)})),a=o.height,s=o.width;if(0===s&&0===a&&void 0!==this.lastSize){var l=this.lastSize;s=l.width,a=l.height}var c=this.cache("target-bounds",(function(){return t.getTargetBounds()})),u=c.height,h=c.width,f=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(e){var t=e.outOfBoundsClass,r=e.pinnedClass;t&&f.push(t),r&&f.push(r)})),f.forEach((function(e){["left","top","right","bottom"].forEach((function(t){f.push(e+"-"+t)}))}));var p=[],b=m({},i),g=m({},this.attachment);return this.options.constraints.forEach((function(e){var o=e.to,l=e.attachment,c=e.pin;void 0===l&&(l="");var f=void 0,m=void 0;if(l.indexOf(" ")>=0){var y=l.split(" "),v=C(y,2);m=v[0],f=v[1]}else f=m=l;var w=function(e,t){return"scrollParent"===t?t=e.scrollParents[0]:"window"===t&&(t=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),t===document&&(t=t.documentElement),void 0!==t.nodeType&&function(){var e=t,r=d(t),n=r,i=getComputedStyle(t);if(t=[n.left,n.top,r.width+n.left,r.height+n.top],e.ownerDocument!==document){var o=e.ownerDocument.defaultView;t[0]+=o.pageXOffset,t[1]+=o.pageYOffset,t[2]+=o.pageXOffset,t[3]+=o.pageYOffset}W.forEach((function(e,r){"Top"===(e=e[0].toUpperCase()+e.substr(1))||"Left"===e?t[r]+=parseFloat(i["border"+e+"Width"]):t[r]-=parseFloat(i["border"+e+"Width"])}))}(),t}(t,o);"target"!==m&&"both"!==m||(r<w[1]&&"top"===b.top&&(r+=u,b.top="bottom"),r+a>w[3]&&"bottom"===b.top&&(r-=u,b.top="top")),"together"===m&&("top"===b.top&&("bottom"===g.top&&r<w[1]?(r+=u,b.top="bottom",r+=a,g.top="top"):"top"===g.top&&r+a>w[3]&&r-(a-u)>=w[1]&&(r-=a-u,b.top="bottom",g.top="bottom")),"bottom"===b.top&&("top"===g.top&&r+a>w[3]?(r-=u,b.top="top",r-=a,g.top="bottom"):"bottom"===g.top&&r<w[1]&&r+(2*a-u)<=w[3]&&(r+=a-u,b.top="top",g.top="top")),"middle"===b.top&&(r+a>w[3]&&"top"===g.top?(r-=a,g.top="bottom"):r<w[1]&&"bottom"===g.top&&(r+=a,g.top="top"))),"target"!==f&&"both"!==f||(n<w[0]&&"left"===b.left&&(n+=h,b.left="right"),n+s>w[2]&&"right"===b.left&&(n-=h,b.left="left")),"together"===f&&(n<w[0]&&"left"===b.left?"right"===g.left?(n+=h,b.left="right",n+=s,g.left="left"):"left"===g.left&&(n+=h,b.left="right",n-=s,g.left="right"):n+s>w[2]&&"right"===b.left?"left"===g.left?(n-=h,b.left="left",n-=s,g.left="right"):"right"===g.left&&(n-=h,b.left="left",n+=s,g.left="left"):"center"===b.left&&(n+s>w[2]&&"left"===g.left?(n-=s,g.left="right"):n<w[0]&&"right"===g.left&&(n+=s,g.left="left"))),"element"!==m&&"both"!==m||(r<w[1]&&"bottom"===g.top&&(r+=a,g.top="top"),r+a>w[3]&&"top"===g.top&&(r-=a,g.top="bottom")),"element"!==f&&"both"!==f||(n<w[0]&&("right"===g.left?(n+=s,g.left="left"):"center"===g.left&&(n+=s/2,g.left="left")),n+s>w[2]&&("left"===g.left?(n-=s,g.left="right"):"center"===g.left&&(n-=s/2,g.left="right"))),"string"==typeof c?c=c.split(",").map((function(e){return e.trim()})):!0===c&&(c=["top","left","right","bottom"]),c=c||[];var E,S,x=[],O=[];r<w[1]&&(c.indexOf("top")>=0?(r=w[1],x.push("top")):O.push("top")),r+a>w[3]&&(c.indexOf("bottom")>=0?(r=w[3]-a,x.push("bottom")):O.push("bottom")),n<w[0]&&(c.indexOf("left")>=0?(n=w[0],x.push("left")):O.push("left")),n+s>w[2]&&(c.indexOf("right")>=0?(n=w[2]-s,x.push("right")):O.push("right")),x.length&&(void 0,E=void 0!==t.options.pinnedClass?t.options.pinnedClass:t.getClass("pinned"),p.push(E),x.forEach((function(e){p.push(E+"-"+e)}))),O.length&&(void 0,S=void 0!==t.options.outOfBoundsClass?t.options.outOfBoundsClass:t.getClass("out-of-bounds"),p.push(S),O.forEach((function(e){p.push(S+"-"+e)}))),(x.indexOf("left")>=0||x.indexOf("right")>=0)&&(g.left=b.left=!1),(x.indexOf("top")>=0||x.indexOf("bottom")>=0)&&(g.top=b.top=!1),b.top===i.top&&b.left===i.left&&g.top===t.attachment.top&&g.left===t.attachment.left||(t.updateAttachClasses(g,b),t.trigger("update",{attachment:g,targetAttachment:b}))})),x((function(){!1!==t.options.addTargetClasses&&E(t.target,p,f),E(t.element,p,f)})),{top:r,left:n}}});var Z,d=(Z=r.Utils).getBounds,E=Z.updateClasses;return x=Z.defer,r.modules.push({position:function(e){var t=this,r=e.top,n=e.left,i=this.cache("element-bounds",(function(){return d(t.element)})),o=i.height,a=i.width,s=this.getTargetBounds(),l=r+o,c=n+a,u=[];r<=s.bottom&&l>=s.top&&["left","right"].forEach((function(e){var t=s[e];t!==n&&t!==c||u.push(e)})),n<=s.right&&c>=s.left&&["top","bottom"].forEach((function(e){var t=s[e];t!==r&&t!==l||u.push(e)}));var h=[],f=[];return h.push(this.getClass("abutted")),["left","top","right","bottom"].forEach((function(e){h.push(t.getClass("abutted")+"-"+e)})),u.length&&f.push(this.getClass("abutted")),u.forEach((function(e){f.push(t.getClass("abutted")+"-"+e)})),x((function(){!1!==t.options.addTargetClasses&&E(t.target,f,h),E(t.element,f,h)})),!0}}),C=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r.modules.push({position:function(e){var t=e.top,r=e.left;if(this.options.shift){var n=this.options.shift;"function"==typeof this.options.shift&&(n=this.options.shift.call(this,{top:t,left:r}));var i=void 0,o=void 0;if("string"==typeof n){(n=n.split(" "))[1]=n[1]||n[0];var a=C(n,2);i=a[0],o=a[1],i=parseFloat(i,10),o=parseFloat(o,10)}else i=n.top,o=n.left;return{top:t+=i,left:r+=o}}}}),G},void 0===(n=r.apply(t,[]))||(e.exports=n)},78444:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,o(r)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=a(t,r));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.amdO={},__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var __webpack_exports__={};(()=>{"use strict";__webpack_require__(46414);var e=__webpack_require__(1986),t=__webpack_require__(62275),r=__webpack_require__(57825),n=__webpack_require__.n(r);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a={language:"en-US",messages:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},{"be.accessStatsPermissionsError":"Sorry, you do not have permission to see the access stats for this file.","be.activityFeed.fullDateTime":"{time, date, full} at {time, time, short}","be.activityFeedItemApiError":"There was a problem loading the activity feed. Please refresh the page or try again later.","be.activitySidebar.activityFeed.annotationMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.commentMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.feedInlineErrorTitle":"Error","be.activitySidebar.activityFeed.hideReplies":"Hide replies","be.activitySidebar.activityFeed.reply":"Reply","be.activitySidebar.activityFeed.replyInThread":"Reply in thread","be.activitySidebar.activityFeed.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.activitySidebar.activityFeed.taskMissingError":"This task no longer exists","be.activitySidebarFilter.status.allActivity":"All Activity","be.activitySidebarFilter.status.allComments":"All Comments","be.activitySidebarFilter.status.open":"Unresolved Comments","be.activitySidebarFilter.status.resolved":"Resolved Comments","be.activitySidebarFilter.status.tasks":"Tasks","be.add":"Add","be.additionalTab.blockedByShieldAccessPolicy":"Use of this app is blocked due to a security policy.","be.annotationThread.errorDeleteAnnotation":"There was an error deleting this item.","be.annotationThread.errorEditAnnotation":"This annotation could not be modified.","be.annotattionThread.errorFetchAnnotation":"The annotation could not be fetched.","be.api.appActivityDeleteErrorMessage":"There was an error deleting this item.","be.api.commentCreateConflictMessage":"This comment already exists.","be.api.commentCreateErrorMessage":"There was an error creating this comment.","be.api.commentDeleteErrorMessage":"There was an error deleting this comment.","be.api.commentUpdateErrorMessage":"This comment could not be modified.","be.api.repliesFetchErrorMessage":"The replies to this comment could not be loaded.","be.api.taskActionErrorTitle":"Error","be.api.taskApproveErrorMessage":"An error has occurred while approving this task. Please refresh the page and try again.","be.api.taskCompleteErrorMessage":"An error has occurred while completing this task. Please refresh the page and try again.","be.api.taskCreateErrorMessage":"An error occurred while creating this task. Please try again.","be.api.taskDeleteErrorMessage":"There was an error while deleting this task. Please refresh the page and try again.","be.api.taskGroupExceedsWarningTitle":"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group.","be.api.taskRejectErrorMessage":"An error has occurred while rejecting this task. Please refresh the page and try again.","be.appActivity.altIcon":"{appActivityName} Icon","be.appActivity.deleteMenuItem":"Delete","be.appActivity.deletePrompt":"Are you sure you want to permanently delete this app activity?","be.archive":"Archive","be.archivedFolder":"Archived Folder","be.back":"Back","be.bookmark":"Bookmark","be.boxEditBlacklistedError":"This file cannot be opened locally","be.boxEditErrorBlockedByPolicy":"Local editing of this content has been disabled based on an access policy","be.boxToolsInstallMessage":"Install {boxTools} to open this file on your desktop","be.breadcrumb.breadcrumbLabel":"Breadcrumb","be.cancel":"Cancel","be.choose":"Choose","be.clearSelection":"Clear selection","be.close":"Close","be.collaboratedFolder":"Collaborated Folder","be.collapse":"Collapse","be.complete":"Complete","be.contentInsights.contentAnalyticsErrorText":"There was a problem loading content insights. Please try again.","be.contentInsights.contentAnalyticsPermissionError":"Oops! You no longer have access to view content insights.","be.contentInsights.contentInsightsTitle":"Content Insights","be.contentInsights.downloadGraphLabel":"Chart displaying the number of downloads over the selected time period","be.contentInsights.downloadGraphType":"DOWNLOADS","be.contentInsights.openContentInsightsButton":"See Details","be.contentInsights.peopleGraphLabel":"Chart displaying the number of users over the selected time period","be.contentInsights.peopleTitle":"PEOPLE","be.contentInsights.previewGraphLabel":"Chart displaying the number of previews over the selected time period","be.contentInsights.previewGraphType":"PREVIEWS","be.contentInsights.trendDown":"Trending down","be.contentInsights.trendMonth":"PAST MONTH","be.contentInsights.trendThreeMonths":"PAST 3 MONTHS","be.contentInsights.trendUp":"Trending up","be.contentInsights.trendWeek":"PAST WEEK","be.contentInsights.trendYear":"PAST YEAR","be.contentSharing.badRequestError":"The request for this item was malformed.","be.contentSharing.collaboratorsLoadingError":"Could not retrieve collaborators for this item.","be.contentSharing.defaultErrorNoticeText":"Something went wrong. Please try again later.","be.contentSharing.errorNoticeIcon":"Error","be.contentSharing.getContactsError":"Could not retrieve contacts.","be.contentSharing.groupContactLabel":"Group","be.contentSharing.loadingError":"Could not load shared link for this item.","be.contentSharing.noAccessError":"You do not have access to this item.","be.contentSharing.notFoundError":"Could not find shared link for this item.","be.contentSharing.noticeCloseLabel":"Close","be.contentSharing.sendInvitationsError":"{count, plural, one {Failed to invite a collaborator.} other {Failed to invite {count} collaborators.}}","be.contentSharing.sendInvitationsSuccess":"{count, plural, one {Successfully invited a collaborator.} other {Successfully invited {count} collaborators.}}","be.contentSharing.sendInvitesError":"Could not send invites.","be.contentSharing.sendInvitesSuccess":"Successfully invited collaborators.","be.contentSharing.sharedLinkRemovalSuccess":"The shared link for this item was removed.","be.contentSharing.sharedLinkSettingsUpdateSuccess":"The shared link for this item was successfully updated.","be.contentSharing.sharedLinkUpdateError":"Could not update the shared link for this item.","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.annotationActivity.annotationActivityEditMenuItem":"Modify","be.contentSidebar.activityFeed.annotationActivity.annotationActivityPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.annotationActivity.annotationActivityResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.annotationActivity.annotationActivityUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.annotationActivityPageItem":"Page {number}","be.contentSidebar.activityFeed.annotationActivityVersionLink":"Version {number}","be.contentSidebar.activityFeed.annotationActivityVersionUnavailable":"Version Unavailable","be.contentSidebar.activityFeed.comment.commentDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.comment.commentDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.comment.commentEditMenuItem":"Modify","be.contentSidebar.activityFeed.comment.commentPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.comment.commentResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.comment.commentUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.comment.hideReplies":"Hide replies","be.contentSidebar.activityFeed.comment.inlineCommentAnnotationIconTitle":"Inline Comment","be.contentSidebar.activityFeed.comment.reply":"Reply","be.contentSidebar.activityFeed.comment.replyInThread":"Reply in thread","be.contentSidebar.activityFeed.comment.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.contentSidebar.activityFeed.commentForm.approvalAddAssignee":"Add an assignee","be.contentSidebar.activityFeed.commentForm.approvalAddTask":"Add Task","be.contentSidebar.activityFeed.commentForm.approvalAddTaskTooltip":"Assigning a task to someone will send them a notification with the message in the comment box and allow them to approve or deny.","be.contentSidebar.activityFeed.commentForm.approvalAssignees":"Assignees","be.contentSidebar.activityFeed.commentForm.approvalDueDate":"Due Date","be.contentSidebar.activityFeed.commentForm.approvalSelectDate":"Select a date","be.contentSidebar.activityFeed.commentForm.atMentionTip":"@mention users to notify them.","be.contentSidebar.activityFeed.commentForm.atMentionTipDescription":"Use the @ symbol to mention users and use the up and down arrow keys to scroll through autocomplete suggestions.","be.contentSidebar.activityFeed.commentForm.commentCancel":"Cancel","be.contentSidebar.activityFeed.commentForm.commentLabel":"Write a comment","be.contentSidebar.activityFeed.commentForm.commentPost":"Post","be.contentSidebar.activityFeed.commentForm.commentTimestampLabel":"Comment with timestamp","be.contentSidebar.activityFeed.commentForm.commentWrite":"Write a comment","be.contentSidebar.activityFeed.commmon.showOriginalMessage":"Show Original","be.contentSidebar.activityFeed.common.activityStatusResolved":"RESOLVED","be.contentSidebar.activityFeed.common.editedMessage":" (edited)","be.contentSidebar.activityFeed.common.seeLessMessage":"See less","be.contentSidebar.activityFeed.common.seeMoreMessage":"See more","be.contentSidebar.activityFeed.common.timestampLabel":"Seek to video timestamp","be.contentSidebar.activityFeed.common.translateMessage":"Translate","be.contentSidebar.activityFeed.task.approvalTaskAnnotationIconTitle":"Approval Task","be.contentSidebar.activityFeed.task.generalTaskAnnotationIconTitle":"General Task","be.contentSidebar.activityFeed.task.taskAnyAffordanceTooltip":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.task.taskDeleteMenuItem":"Delete task","be.contentSidebar.activityFeed.task.taskDeletePrompt":"Are you sure you want to permanently delete this task?","be.contentSidebar.activityFeed.task.taskEditMenuItem":"Modify task","be.contentSidebar.activityFeed.task.taskMultipleFilesAffordanceTooltip":"There are multiple files associated with this task","be.contentSidebar.activityFeed.taskForm.taskAnyCheckboxLabel":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.taskForm.taskAnyInfoGroupTooltip":"Selecting this option will require only one assignee to complete this task. This will include assignees across all groups.","be.contentSidebar.activityFeed.taskForm.taskAnyInfoTooltip":"By default, all assignees are required to take action before a task is complete. Selecting this option will require only one assignee to complete this task.","be.contentSidebar.activityFeed.taskForm.taskApprovalAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now approved.","be.contentSidebar.activityFeed.taskForm.taskCreateErrorTitle":"Error","be.contentSidebar.activityFeed.taskForm.taskCreateGroupLabel":"Group","be.contentSidebar.activityFeed.taskForm.taskEditWarningTitle":"Task Updated with Errors","be.contentSidebar.activityFeed.taskForm.taskGeneralAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now completed.","be.contentSidebar.activityFeed.taskForm.taskGroupExceedsWarningTitle":"Exceeded max assignees per group","be.contentSidebar.activityFeed.taskForm.taskUpdateErrorMessage":"An error occurred while modifying this task. Please try again.","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormCancelLabel":"Cancel","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormDueDateLabel":"Due Date","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormMessageLabel":"Message","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSelectAssigneesLabel":"Select Assignees","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSubmitLabel":"Create","be.contentSidebar.activityFeed.taskForm.tasksEditTaskFormSubmitLabel":"Update","be.contentSidebar.activityFeed.taskNew.taskAssignmentCompleted":"Completed","be.contentSidebar.activityFeed.taskNew.taskCollaboratorLoadErrorMessage":"An error has occurred while loading collaborators for this task. Please try again.","be.contentSidebar.activityFeed.taskNew.taskDueDateLabel":"Due: {date}","be.contentSidebar.activityFeed.taskNew.taskFeedStatusDue":"DUE {dateTime}","be.contentSidebar.activityFeed.taskNew.taskShowLessAssignees":"Show Less","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssignees":"Show {additionalAssigneeCount} More","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssigneesOverflow":"{additionalAssigneeCount, plural, one {Show #+ More} other {Show #+ More}}","be.contentSidebar.activityFeed.taskNew.tasksFeedApproveAction":"Approve","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedLabel":"Approved","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedUppercaseLabel":"APPROVED","be.contentSidebar.activityFeed.taskNew.tasksFeedAssigneeListTitle":"Assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedCompleteAction":"Mark as Complete","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedLabel":"Completed","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedUppercaseLabel":"COMPLETED","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApproval":"{user} assigned an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApprovalCurrentUser":"{user} assigned you an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneral":"{user} assigned a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneralCurrentUser":"{user} assigned you a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressLabel":"In Progress","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressUppercaseLabel":"IN PROGRESS","be.contentSidebar.activityFeed.taskNew.tasksFeedMoreAssigneesLabel":"See all assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectAction":"Reject","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedLabel":"Rejected","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedUppercaseLabel":"REJECTED","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusApproved":"Approved {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusCompleted":"Completed {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusRejected":"Rejected {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedViewDetailsAction":"View Task Details","be.contentSidebar.addTask":"Add Task","be.contentSidebar.addTask.approval":"Approval Task","be.contentSidebar.addTask.approval.description":"Assignees will be responsible for approving or rejecting tasks","be.contentSidebar.addTask.approval.title":"Create Approval Task","be.contentSidebar.addTask.general":"General Task","be.contentSidebar.addTask.general.description":"Assignees will be responsible for marking tasks as complete","be.contentSidebar.addTask.general.title":"Create General Task","be.contentSidebar.boxSignFtuxBody":"Sign documents or send signature requests, right from where your content lives","be.contentSidebar.boxSignFtuxTitle":"Box Sign - Secure, seamless e-signatures in Box","be.contentSidebar.boxSignRequest":"Request Signature","be.contentSidebar.boxSignRequestSignature":"Request Signature","be.contentSidebar.boxSignSecurityBlockedTooltip":"This action is unavailable due to a security policy.","be.contentSidebar.boxSignSignMyself":"Sign Myself","be.contentSidebar.boxSignWatermarkBlockedTooltip":"This action is unavailable, because the file is watermarked.","be.contentSidebar.editTask.approval.title":"Modify Approval Task","be.contentSidebar.editTask.general.title":"Modify General Task","be.copy":"Copy","be.create":"Create","be.createDialogErrorInUse":"A folder with the same name already exists.","be.createDialogErrorInvalid":"This is an invalid folder name.","be.createDialogErrorTooLong":"This folder name is too long.","be.createDialogLabel":"New Folder","be.createDialogText":"Please enter a name.","be.currentUserErrorHeaderMessage":"Something went wrong when fetching the current user.","be.dateASC":"Date: Oldest → Newest","be.dateDESC":"Date: Newest → Oldest","be.dateValue.today":"Today","be.dateValue.yesterday":"Yesterday","be.defaultErrorMaskHeaderMessage":"We’re sorry, something went wrong.","be.defaultErrorMaskSubHeaderMessage":"Please refresh the page or try again later.","be.defaultInlineErrorContentMessage":"Please try again later.","be.defaultOpenWithDescription":"Open this file with a partner service","be.defaultSkill":"Skill Card","be.delete":"Delete","be.deleteDialogFileText":"Are you sure you want to delete {name}?","be.deleteDialogFolderText":"Are you sure you want to delete {name} and all its contents?","be.deleteDialogLabel":"Confirm Delete","be.description":"Description","be.descriptionPlaceholder":"Enter a description","be.docGenSidebar.docGenTags":"Doc Gen Tags","be.docGenSidebar.emptyTags":"This document has no tags","be.docGenSidebar.errorTags":"Looks like your recent changes to the Doc Gen template are yet to be processed.","be.docGenSidebar.imageTags":"Image tags","be.docGenSidebar.refreshButton":"Process document","be.docGenSidebar.textTags":"Text tags","be.download":"Download","be.drawAnnotation":"Drawing annotation mode","be.editLabel":"Edit","be.emptyOpenWithDescription":"No integrations are available for this file","be.emptyView.errorState":"A network error has occurred while trying to load.","be.emptyView.folderState":"There are no items in this folder.","be.emptyView.loadingState":"Please wait while the items load...","be.emptyView.metadataState":"There are no items in this folder.","be.emptyView.recentsState":"There are no recent items yet.","be.emptyView.searchState":"Sorry, we couldn't find what you're looking for.","be.emptyView.selectedState":"You haven't selected any items yet.","be.error":"Error","be.errorBreadcrumb":"Error","be.errorOccured":"An error occurred","be.errorOpenWithDescription":"Opening this file with other services is currently unavailable","be.executeIntegrationOpenWithErrorHeader":"We’re sorry, this integration is currently unavailable.","be.executeIntegrationOpenWithErrorSubHeader":"Please try again later.","be.expand":"Expand","be.externalFolder":"External Folder","be.faceSkill":"Faces","be.feedbackCtaText":"Click to provide feedback","be.feedbackFormDescription":"Beta Feedback Form","be.file":"File","be.fileAccessStatsErrorHeaderMessage":"Something went wrong when fetching the access stats.","be.fileClassificationErrorHeaderMessage":"Something went wrong when fetching classification.","be.fileDescriptionInlineErrorTitleMessage":"Something went wrong when saving the description.","be.fileRequestDisplayName":"File Request","be.folder":"Folder","be.getVersionInfo":"Get version information","be.gridView":"Switch to Grid View","be.gridView.decreaseColumnSize":"Decrease column size","be.gridView.increaseColumnSize":"Increase column size","be.gridView.sliderLabel":"Grid view size","be.iconFile":"{extension} File","be.in":"In","be.interactedDate":"Last accessed on {date}","be.item.archive":"Archive","be.item.archiveFolder":"Archive folder","be.item.bookmark":"Bookmark","be.item.collaboratedFolder":"Collaborated folder","be.item.externalFolder":"External folder","be.item.file":"File","be.item.fileExtension":"{extension} file","be.item.modifiedDateBy":"{date} by {name}","be.item.personalFolder":"Personal folder","be.item.viewedDate":"Viewed {date}","be.item.viewedToday":"Viewed today","be.item.viewedYesterday":"Viewed yesterday","be.itemCreated":"Created","be.itemGrid.gridView":"Grid view","be.itemInteracted":"Last Accessed","be.itemList.actionsColumn":"ACTIONS","be.itemList.dateColumn":"UPDATED","be.itemList.detailsColumn":"DETAILS","be.itemList.itemSubtitle":"{date} • {size}","be.itemList.listView":"List view","be.itemList.nameColumn":"NAME","be.itemList.sizeColumn":"SIZE","be.itemModified":"Modified","be.itemName":"Name","be.itemOwner":"Owner","be.itemSize":"Size","be.itemUploader":"Uploader","be.keywordSkill":"Topics","be.keywordsAppliedList":"Keywords were applied","be.keywordsList":"Keywords: {words}","be.listView":"Switch to List View","be.loading":"Loading","be.logo":"Logo","be.max":"max","be.messageCenter.all":"All","be.messageCenter.boxEducation":"Box Education","be.messageCenter.errorFetchingPosts":"Sorry, we are having trouble showing posts at the moment. It may help to refresh the page.","be.messageCenter.events":"Events","be.messageCenter.noPosts":"There are no posts for this category at the moment.","be.messageCenter.previewError":"Sorry, we're having trouble showing this image. ","be.messageCenter.product":"Product","be.messageCenter.title":"What's New","be.metadataUpdateErrorNotification":"Unable to save changes. Please try again.","be.metadataUpdateSuccessNotification":"{numSelected, plural, =1 {1 document updated} other {# documents updated} } ","be.modifiedDate":"Modified {date}","be.modifiedDateBy":"Modified {date} by {name}","be.moreOptions":"More options","be.multipleValues":"Multiple Values","be.nameASC":"Name: A → Z","be.nameDESC":"Name: Z → A","be.nameDate":"{date} by {name}","be.newFolder":"New Folder","be.nextFile":"Next File","be.nextSegment":"Next Segment","be.noActivity":"No activity to show","be.noActivityAnnotationPrompt":"Hover over the preview and use the controls at the bottom to annotate the file.","be.noActivityCommentPrompt":"Comment and @mention people to notify them.","be.numFilesSelected":"{numSelected, plural, =0 {0 files selected} one {1 file selected} other {# files selected} } ","be.open":"Open","be.pagination.nextPage":"Next Page","be.pagination.nextPageButton":"Next","be.pagination.pageEntryStatus":"Showing {startEntryIndex} to {endEntryIndex} of {totalCount} entries","be.pagination.pageStatus":"{pageNumber} of {pageCount}","be.pagination.previousPage":"Previous Page","be.pagination.previousPageButton":"Previous","be.personalFolder":"Personal Folder","be.pointAnnotation":"Point annotation mode","be.preview":"Preview","be.previewError":"This preview didn’t load. Please try to open or download the file to view.","be.previewErrorBlockedByPolicy":"Your access to this content is restricted due to a security policy.","be.previewUpdate":"A new version of this file is available.","be.previousFile":"Previous File","be.previousSegment":"Previous Segment","be.print":"Print","be.priorCollaborator":"A Prior Collaborator","be.recentsBreadcrumb":"Recents","be.reload":"Reload","be.remove":"Remove","be.rename":"Rename","be.renameDialogErrorInUse":"An item with the same name already exists.","be.renameDialogErrorInvalid":"This name is invalid.","be.renameDialogErrorTooLong":"This name is too long.","be.renameDialogLabel":"Rename","be.renameDialogText":"Please enter a new name for {name}:","be.resume":"Resume","be.resumeAll":"Resume All","be.retry":"Retry","be.rootBreadcrumb":"All Files","be.save":"Save","be.searchBreadcrumb":"Search Results","be.searchClear":"Clear search","be.searchPlaceholder":"Search files and folders","be.selected":"{count} Selected","be.selectedBreadcrumb":"Selected Items","be.share":"Share","be.shareAccessCollab":"Access: People in this folder","be.shareAccessCompany":"People in this company","be.shareAccessNone":"No shared link","be.shareAccessOpen":"Access: People with the link","be.shareAccessRemove":"Remove shared link","be.shareDialogLabel":"Share","be.shareDialogNone":"None","be.shareDialogText":"Shared Link:","be.sidebarAccessStats":"Access Stats","be.sidebarActivityTitle":"Activity","be.sidebarBoxAIContent":"content","be.sidebarBoxAISwitchToModalView":"Switch to modal view","be.sidebarBoxAITitle":"Box AI","be.sidebarContentInsights":"Content Insights","be.sidebarDetailsTitle":"Details","be.sidebarDocGenTitle":"Doc Gen Tags","be.sidebarDocGenTooltip":"Box Doc Gen","be.sidebarFileFetchingErrorContent":"An error has occurred while fetching your Box file. Please refresh the page and try again.","be.sidebarHide":"Hide Sidebar","be.sidebarMetadataEditingErrorContent":"An error has occurred while updating metadata. Please refresh the page and try again.","be.sidebarMetadataFetchingErrorContent":"An error has occurred while fetching metadata. Please refresh the page and try again.","be.sidebarMetadataTitle":"Metadata","be.sidebarNavLabel":"Sidebar","be.sidebarProperties":"File Properties","be.sidebarShow":"Show Sidebar","be.sidebarSkillsErrorContent":"An error has occurred while updating skills. Please refresh the page and try again.","be.sidebarSkillsErrorTitle":"Skills Error","be.sidebarSkillsTitle":"Skills","be.sidebarVersions.current":"Current Version","be.sidebarVersions.delete":"Delete","be.sidebarVersions.deleteError":"File version could not be deleted.","be.sidebarVersions.deletedBy":"Deleted by {name}","be.sidebarVersions.disabledByRetention":"Disabled by retention policy","be.sidebarVersions.download":"Download","be.sidebarVersions.downloadError":"File version could not be downloaded.","be.sidebarVersions.empty":"No prior versions are available for this file.","be.sidebarVersions.fetchError":"File versions could not be retrieved.","be.sidebarVersions.fileRequestDisplayName":"File Request","be.sidebarVersions.notAvailable":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.preview":"Preview","be.sidebarVersions.priorWeek":"Last Week","be.sidebarVersions.promote":"Make Current","be.sidebarVersions.promoteError":"File version could not be made current.","be.sidebarVersions.promotedBy":"Promoted from v{versionPromoted} by {name}","be.sidebarVersions.restore":"Restore","be.sidebarVersions.restoreError":"File version could not be restored.","be.sidebarVersions.restoredBy":"Restored by {name}","be.sidebarVersions.serverError":"Server Error","be.sidebarVersions.thisMonth":"This Month","be.sidebarVersions.title":"Version History","be.sidebarVersions.today":"Today","be.sidebarVersions.toggle":"Toggle Actions Menu","be.sidebarVersions.upgradeButton":"Upgrade","be.sidebarVersions.upgradeLink":"Upgrade Now","be.sidebarVersions.uploadedBy":"Uploaded by {name}","be.sidebarVersions.versionLimitExceeded":"You are limited to the last {versionLimit, number} {versionLimit, plural, one {version} other {versions}}.","be.sidebarVersions.versionMaxEntries":"Version history is limited to the last {maxVersions} entries.","be.sidebarVersions.versionNumberBadge":"V{versionNumber}","be.sidebarVersions.versionNumberLabel":"Version number {versionNumber}","be.sidebarVersions.versionRetentionDelete":"Will be deleted {time} by retention policy.","be.sidebarVersions.versionRetentionIndefinite":"Retained indefinitely by retention policy.","be.sidebarVersions.versionRetentionRemove":"Retention policy expires on {time}.","be.sidebarVersions.versionUpsell":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.versionUserUnknown":"Unknown","be.sidebarVersions.yesterday":"Yesterday","be.sizeASC":"Size: Smallest → Largest","be.sizeDESC":"Size: Largest → Smallest","be.skillFileProcessingError":"We’re sorry, something went wrong with processing the file.","be.skillInvalidFileExtensionError":"We’re sorry, no skills information was found. This file extension is currently not supported.","be.skillInvalidFileSizeError":"We’re sorry, no skills information was found. This file size is currently not supported.","be.skillInvokedStatus":"We’re preparing to process your file - please hold!","be.skillNoInfoFoundError":"We’re sorry, no skills information was found.","be.skillPendingStatus":"We’re working on processing your file - please hold!","be.skillUnknownError":"Something went wrong with running this skill or fetching its data.","be.sort":"Sort","be.statusSkill":"Status","be.success":"Success","be.today":"today","be.topicsSkill":"Topics","be.transcriptEdit":"Click any section to edit.","be.transcriptSkill":"Transcript","be.upload":"Upload","be.uploadEmptyFileInput":"Browse your device","be.uploadEmptyFolderInput":"Select Folders","be.uploadEmptyState":"Empty state","be.uploadEmptyWithFolderUploadDisabled":"Drag and drop files","be.uploadEmptyWithFolderUploadEnabled":"Drag and drop files and folders","be.uploadError":"A network error has occurred while trying to upload.","be.uploadErrorState":"Error state","be.uploadErrorTooManyFiles":"You can only upload up to {fileLimit} file(s) at a time.","be.uploadInProgress":"Drag and drop to add additional files","be.uploadNoDragDrop":"Select files from your device","be.uploadOptions":"{option1} or {option2}","be.uploadSuccess":"Success! Your files have been uploaded.","be.uploadSuccessFileInput":"Select More Files","be.uploadSuccessFolderInput":"Select More Folders","be.uploadSuccessState":"Success state","be.uploadsCancelButtonTooltip":"Cancel this upload","be.uploadsDefaultErrorMessage":"Something went wrong with the upload. Please try again.","be.uploadsFileSizeLimitExceededErrorMessage":"File size exceeds the folder owner’s file size limit","be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta":"This file exceeds your plan’s upload limit. Upgrade now to store larger files.","be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta":"Upgrade","be.uploadsItemNameInUseErrorMessage":"A file with this name already exists.","be.uploadsManagerUploadComplete":"Completed","be.uploadsManagerUploadFailed":"Some Uploads Failed","be.uploadsManagerUploadInProgress":"Uploading","be.uploadsManagerUploadPrompt":"Drop files on this page to upload them into this folder.","be.uploadsOneOrMoreChildFoldersFailedToUploadMessage":"One or more child folders failed to upload.","be.uploadsPackageUploadErrorMessage":"Failed to upload package file. Please retry by saving as a single file.","be.uploadsPendingFolderSizeLimitErrorMessage":"Pending app folder size limit exceeded","be.uploadsProvidedFolderNameInvalidMessage":"Provided folder name, {name}, could not be used to create a folder.","be.uploadsRetryButtonTooltip":"Retry upload","be.uploadsStorageLimitErrorMessage":"Account storage limit reached","be.versionDeleted":"{name} deleted v{version_number}","be.versionMultipleUsersRestored":"{numberOfCollaborators} collaborators restored v{versions}","be.versionMultipleUsersTrashed":"{numberOfCollaborators} collaborators deleted v{versions}","be.versionMultipleUsersUploaded":"{numberOfCollaborators} collaborators uploaded v{versions}","be.versionPromoted":"{name} promoted v{version_promoted} to v{version_number}","be.versionRestoreCollapsed":"{name} restored v{versions}","be.versionRestored":"{name} restored v{version_number}","be.versionTrashCollapsed":"{name} deleted v{versions}","be.versionUploadCollapsed":"{name} uploaded v{versions}","be.versionUploaded":"{name} uploaded v{version_number}","be.yesterday":"yesterday","boxui.accessStats.accessStatsComments":"Comments","boxui.accessStats.accessStatsDownloads":"Downloads","boxui.accessStats.accessStatsEdits":"Edits","boxui.accessStats.accessStatsPreviews":"Previews","boxui.accessStats.accessStatsViewDetails":"View Details","boxui.accessStats.accessStatsViews":"Views","boxui.advancedContentInsights.advancedContentInsightsDescription":"Get actionable insights into how viewers are engaging with this content. Measure average time spent, page-by-page engagement, per person and per visit details.","boxui.advancedContentInsights.advancedContentInsightsTitleDisabled":"Activate Engagement Insights","boxui.advancedContentInsights.advancedContentInsightsTitleEnabled":"Engagement Insights is activated","boxui.avatar.externalUser":"External user","boxui.badges.beta":"BETA","boxui.badges.trial":"TRIAL","boxui.badges.upgrade":"UPGRADE","boxui.base.nextMonth":"Next Month","boxui.base.previousMonth":"Previous Month","boxui.breadcrumb.breadcrumbLabel":"Breadcrumb","boxui.categorySelector.label.more":"More","boxui.checkboxTooltip.iconInfoText":"Info","boxui.classification.add":"Add","boxui.classification.appliedByBoxAi":"Box AI","boxui.classification.appliedByBoxAiOnDate":"Box AI on {modifiedAt}","boxui.classification.appliedByDetails":"{appliedBy} on {appliedAt}","boxui.classification.appliedByTitle":"Applied By","boxui.classification.classification":"Classification","boxui.classification.classificationDarkBlue":"Dark Blue","boxui.classification.classificationGreen":"Green","boxui.classification.classificationGrey":"Grey","boxui.classification.classificationLightBlue":"Light Blue","boxui.classification.classificationOrange":"Orange","boxui.classification.classificationPurple":"Purple","boxui.classification.classificationRed":"Red","boxui.classification.classificationYellow":"Yellow","boxui.classification.definition":"Definition","boxui.classification.edit":"Edit","boxui.classification.importedBy":"Imported from {modifiedBy} on {modifiedAt}","boxui.classification.missing":"Not classified","boxui.classification.modifiedBy":"Applied by {modifiedBy} on {modifiedAt}","boxui.classification.modifiedByLabel":"Classification Label","boxui.collaboratorAvatars.collaboration.pendingCollabText":"Pending","boxui.collaboratorAvatars.collaboratorAvatarsLabel":"Shared with","boxui.collaboratorAvatars.collaborators.expirationTooltipText":"Access expires on {date}","boxui.collaboratorAvatars.collaborators.externalCollabTooltipText":"{email} is from outside of your company","boxui.collaboratorAvatars.manageAllLinkText":"Manage All","boxui.collaboratorAvatars.viewAdditionalPeopleText":"View additional people","boxui.collapsiblesidebar.collapseBtnLabel":"Collapse","boxui.collapsiblesidebar.expandBtnLabel":"Expand","boxui.contentAnswers.contentAnswersTitle":"Box AI","boxui.contentAnswers.defaultTooltip":"Get instant answers about this document using Box AI","boxui.contentAnswers.disabledTooltipFileNotCompatible":"Box AI is not currently supported for this file type","boxui.contentAnswers.documentSuggestedQuestionLabel1":"Summarize this document","boxui.contentAnswers.documentSuggestedQuestionLabel2":"What are the key takeaways?","boxui.contentAnswers.documentSuggestedQuestionLabel3":"How can this document be improved?","boxui.contentAnswers.documentSuggestedQuestionLabel4":"Are there any next steps defined?","boxui.contentAnswers.documentSuggestedQuestionPrompt1":"Summarize this document","boxui.contentAnswers.documentSuggestedQuestionPrompt2":"What are the key takeaways?","boxui.contentAnswers.documentSuggestedQuestionPrompt3":"How can this document be improved?","boxui.contentAnswers.documentSuggestedQuestionPrompt4":"Are there any next steps defined?","boxui.contentAnswers.hasQuestionsTooltip":"Return to Box AI","boxui.contentAnswers.welcomeMessageIntelligentQueryNotice":"You can ask Box AI both simple and complex questions in your spreadsheet: total counts, averages, advanced comparisons, trend analyses and so on. Try it out today!","boxui.contentAnswers.welcomeMessageSpreadsheetNotice":"Spreadsheet support works best for text dense files","boxui.contentAnswers.welcomeMessageSpreadsheetNoticeAriaLabel":"spreadsheet support notification banner","boxui.contentExplorer.breadcrumb":"Breadcrumb","boxui.contentExplorer.cancel":"Cancel","boxui.contentExplorer.choose":"Choose","boxui.contentExplorer.clickToGoBack":"Click to go back","boxui.contentExplorer.clickToViewPath":"Click to view path","boxui.contentExplorer.copy":"Copy","boxui.contentExplorer.emptyFolder":"There are no subfolders in this folder.","boxui.contentExplorer.emptySearch":"Sorry, we couldn't find what you're looking for.","boxui.contentExplorer.filepath":"File path","boxui.contentExplorer.folderTreeBreadcrumbsText":"{folderName} ({totalItems})","boxui.contentExplorer.includeSubfolders":"Include Subfolders","boxui.contentExplorer.infoNoticeIconAriaLabel":"Info icon","boxui.contentExplorer.move":"Move","boxui.contentExplorer.name":"Name","boxui.contentExplorer.newFolder":"New Folder","boxui.contentExplorer.numFoldersSelected":"{numSelected, plural, =0 {0 folders selected} one {1 folder selected} other {# folders selected} } ","boxui.contentExplorer.numItemsSelected":"{numSelected, plural, =0 {0 items selected} one {1 item selected} other {# items selected} } ","boxui.contentExplorer.numSelected":"{numSelected} Selected","boxui.contentExplorer.result":"{itemsCount} result","boxui.contentExplorer.results":"{itemsCount} results","boxui.contentExplorer.searchPlaceholder":"Search","boxui.contentExplorer.searchResults":"Search Results","boxui.contentExplorer.selectAll":"Select All","boxui.contentExplorer.selectItem":"Select {name}","boxui.contentexplorer.newFolder.forbidden":"You do not have permission to create a folder here.","boxui.core.cancel":"Cancel","boxui.core.close":"Close","boxui.core.copied":"Copied","boxui.core.copy":"Copy","boxui.core.done":"Done","boxui.core.guidetooltip.navigation":"{currentStepIndex} of {totalNumSteps}","boxui.core.hotkeys.altKey":"Alt","boxui.core.hotkeys.ctrlKey":"Ctrl","boxui.core.hotkeys.enterKey":"Enter","boxui.core.hotkeys.escKey":"Esc","boxui.core.hotkeys.hotkeyModalTitle":"Keyboard Shortcuts","boxui.core.hotkeys.hotkeySequence":"{key1} then {key2}","boxui.core.hotkeys.shiftKey":"Shift","boxui.core.hotkeys.spacebarKey":"Spacebar","boxui.core.okay":"Okay","boxui.core.optional":"optional","boxui.core.save":"Save","boxui.core.selection.deselectAllDescription":"Deselect all items","boxui.core.selection.downDescription":"Select next item","boxui.core.selection.selectAllDescription":"Select all items","boxui.core.selection.shiftDownDescription":"Add next item to current selection","boxui.core.selection.shiftUpDescription":"Add previous item to current selection","boxui.core.selection.shiftXDescription":"Select current item","boxui.core.selection.upDescription":"Select previous item","boxui.core.send":"Send","boxui.datePicker.chooseDate":"Choose Date","boxui.datePicker.dateClearButton":"Clear Date","boxui.datePicker.dateInputMaxError":"Please enter a date before {maxLocaleDate}","boxui.datePicker.dateInputMinError":"Please enter a date after {minLocaleDate}","boxui.datePicker.dateInputRangeError":"Please enter a date between {minLocaleDate} and {maxLocaleDate}","boxui.datePicker.iconAlertText":"Invalid Date","boxui.draftjs.mentionSelector.commentTimestampLabel":"Comment Timestamp","boxui.draftjs.mentionSelector.noUsersFound":"No users found","boxui.draftjs.mentionSelector.startMention":"Mention someone to notify them","boxui.draftjs.mentionSelector.usersFound":"{usersCount, plural, one {one user found} other {{usersCount} users found}}","boxui.errorMask.iconSadCloudText":"Sad Box Cloud","boxui.features.VirtualizedTableRenderers.allFiles":"All Files","boxui.features.VirtualizedTableRenderers.anonymousUser":"Anonymous User","boxui.features.VirtualizedTableRenderers.externalFile":"External File","boxui.features.VirtualizedTableRenderers.externalFolder":"External Folder","boxui.features.VirtualizedTableRenderers.lastModifiedBy":"{lastModified} by {user}","boxui.features.VirtualizedTableRenderers.unknownUser":"Unknown User","boxui.itemDetails.archived":"Archived","boxui.itemDetails.bookmarkExpiration":"This bookmark will be deleted on {expiration}.","boxui.itemDetails.created":"Created","boxui.itemDetails.deleted":"Deleted","boxui.itemDetails.description":"Description","boxui.itemDetails.descriptionPlaceholder":"Enter a description","boxui.itemDetails.enterpriseOwner":"Enterprise Owner","boxui.itemDetails.fileExpiration":"This file will be deleted on {expiration}.","boxui.itemDetails.filesCountLabel":"{filesCount, plural, one {# File} other {# Files}}","boxui.itemDetails.folderExpiration":"This folder will be deleted on {expiration}.","boxui.itemDetails.modified":"Modified","boxui.itemDetails.owner":"Owner","boxui.itemDetails.retentionPolicyDescription":"Policy","boxui.itemDetails.retentionPolicyExpiration":"Policy Expiration","boxui.itemDetails.retentionPolicyExtend":"Extend","boxui.itemDetails.savedVersions":"{versionCount, number} Saved Versions","boxui.itemDetails.sharedLinkExpiration":"This shared link will be disabled on {expiration}.","boxui.itemDetails.size":"Size","boxui.itemDetails.uploader":"Uploader","boxui.itemDetails.url":"URL","boxui.itemDetails.urlPlaceholder":"Enter a valid url","boxui.media.menuButtonArialLabel":"Options","boxui.metadataInstanceEditor.aiAutofillDescription":"Use Box AI to automatically extract metadata values.","boxui.metadataInstanceEditor.aiAutofillLearnMore":"Learn more","boxui.metadataInstanceEditor.allAttributesAreHidden":"All attributes in this template have been hidden.","boxui.metadataInstanceEditor.applyCascadePolicyText":"Apply template and its values to all new and existing items in this folder and its subfolders.","boxui.metadataInstanceEditor.cannotApplyCascadePolicyText":"Cascade policy cannot be applied to custom metadata at this time.","boxui.metadataInstanceEditor.cascadePolicyLearnMore":"Learn more","boxui.metadataInstanceEditor.cascadePolicyModeQuestion":"In the case of conflicts when applying this template and its values to existing items, what would you like to do? This is a one time action.","boxui.metadataInstanceEditor.cascadePolicyOptionsDisabledNotice":"This cascade policy cannot be edited. To modify it, deactivate the current policy and then re-enable it to set up a new one.","boxui.metadataInstanceEditor.cascadePolicyOptionsDisabledNoticeIconAriaLabel":"Disabled cascade options information","boxui.metadataInstanceEditor.cascadePolicyOverwriteMode":"Overwrite all existing template values","boxui.metadataInstanceEditor.cascadePolicySkipMode":"Skip and keep all existing template values","boxui.metadataInstanceEditor.customAdd":"Add","boxui.metadataInstanceEditor.customErrorDuplicateKey":"A field with that key already exists.","boxui.metadataInstanceEditor.customErrorInternalKey":"Keys cannot begin with a $.","boxui.metadataInstanceEditor.customErrorRequired":"A key is required.","boxui.metadataInstanceEditor.customKey":"Key","boxui.metadataInstanceEditor.customKeyPlaceholder":"e.g. Order Number","boxui.metadataInstanceEditor.customNewField":"New Field","boxui.metadataInstanceEditor.customNewFieldMessage":"Add a custom metadata field. Other people will be able to see and search for this field.","boxui.metadataInstanceEditor.customRemove":"Remove","boxui.metadataInstanceEditor.customTitle":"Custom Metadata","boxui.metadataInstanceEditor.customValue":"Value","boxui.metadataInstanceEditor.customValuePlaceholder":"e.g. 42","boxui.metadataInstanceEditor.editTooltip":"Edit Metadata","boxui.metadataInstanceEditor.enableAIAutofill":"Box AI Autofill","boxui.metadataInstanceEditor.enableCascadePolicy":"Enable Cascade Policy","boxui.metadataInstanceEditor.enhancedAgentName":"Enhanced","boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values from this file?","boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values from this file?',"boxui.metadataInstanceEditor.folderMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values? Any metadata template values already applied to files in this folder will not be deleted.","boxui.metadataInstanceEditor.folderMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values? Any metadata template values already applied to files in this folder will not be deleted.',"boxui.metadataInstanceEditor.invalidValue":"Invalid Input!","boxui.metadataInstanceEditor.metadataCancel":"Cancel","boxui.metadataInstanceEditor.metadataCascadePolicyEnabledInfo":"This template and its values are being cascaded to all items in this folder and its subfolders.","boxui.metadataInstanceEditor.metadataSave":"Save","boxui.metadataInstanceEditor.noAttributesForTemplate":"There are no attributes in this template.","boxui.metadataInstanceEditor.noMetadata":"No Metadata Applied","boxui.metadataInstanceEditor.noMetadataAddTemplate":"Click 'Add' in the top right to add metadata to this item","boxui.metadataInstanceEditor.operationNotImmediate":"This operation is not immediate and may take some time.","boxui.metadataInstanceEditor.removeTemplate":"Remove","boxui.metadataInstanceEditor.standardAgentName":"Standard","boxui.metadataInstanceEditor.templateAdd":"Add","boxui.metadataInstanceEditor.templateSearchPlaceholder":"Search all templates","boxui.metadataInstanceEditor.templatesFetchFailed":"Sorry! We could not fetch templates. Please contact your administrator","boxui.metadataInstanceEditor.templatesNoRemainingTemplates":"All templates have been added","boxui.metadataInstanceEditor.templatesNoResults":"No Results","boxui.metadataInstanceEditor.templatesServerHasNoTemplates":"Zero templates","boxui.metadataInstanceEditor.templatesTitle":"Templates","boxui.metadataInstanceFields.customAdd":"Add","boxui.metadataInstanceFields.customRemove":"Remove","boxui.metadataInstanceFields.fieldMultiSelectValue":"Select Values","boxui.metadataInstanceFields.fieldNoValue":"No Value","boxui.metadataInstanceFields.fieldSelectValue":"Select Value","boxui.metadataInstanceFields.fieldSetDate":"Set Date","boxui.metadataInstanceFields.fieldSetValue":"Set Value","boxui.metadataInstanceFields.invalidMetadataFieldType":"Invalid metadata field type!","boxui.modalDialog.backModalText":"Back","boxui.modalDialog.closeModalText":"Close Modal","boxui.newFolderModal.cancel":"Cancel","boxui.newFolderModal.create":"Create","boxui.newFolderModal.folderName.label":"Folder Name","boxui.newFolderModal.folderName.placeholder":"My New Folder","boxui.newFolderModal.title":'Create a New Folder in "{parentFolderName}"',"boxui.notification.clearNotification":"Clear Notification","boxui.presence.accessedInTheLastMinute":"Viewed less than a minute ago","boxui.presence.activeNow":"Active now","boxui.presence.commentedIntheLastMinute":"Commented less than a minute ago","boxui.presence.getLinkButton":"Get Link","boxui.presence.inviteButton":"Invite People","boxui.presence.modifiedIntheLastMinute":"Edited less than a minute ago","boxui.presence.previewPresenceFlyoutAccessStatsLink":"See all activity","boxui.presence.previewPresenceFlyoutActivityCTA":"View Recent Activity","boxui.presence.previewPresenceFlyoutCopy":"Quickly see who has commented on, edited, or viewed this file.","boxui.presence.previewedIntheLastMinute":"Previewed less than a minute ago","boxui.presence.recentActivity":"Recent Activity","boxui.presence.timeSinceLastAccessed":"Viewed {timeAgo}","boxui.presence.timeSinceLastCommented":"Commented {timeAgo}","boxui.presence.timeSinceLastModified":"Edited {timeAgo}","boxui.presence.timeSinceLastPreviewed":"Previewed {timeAgo}","boxui.presence.toggleButtonLabel":"Recent Activity","boxui.queryBar.addFilterButtonText":"+ Add Filter","boxui.queryBar.applyFiltersButtonText":"Apply","boxui.queryBar.columnsButtonText":"Columns","boxui.queryBar.columnsHiddenButtonText":"{count, plural, one {1 Column Hidden} other {{count} Columns Hidden}}","boxui.queryBar.connectorAndText":"AND","boxui.queryBar.connectorOrText":"OR","boxui.queryBar.connectorWhereText":"WHERE","boxui.queryBar.filtersButtonText":"Modify Filters","boxui.queryBar.metadataViewTemplateListHeaderTitle":"METADATA TEMPLATES","boxui.queryBar.multipleFiltersButtonText":"{number} Filters","boxui.queryBar.noFiltersAppliedText":"No Filters Applied","boxui.queryBar.noTemplatesText":"No Templates Available","boxui.queryBar.selectValuePlaceholderText":"Select value","boxui.queryBar.templatesButtonText":"Select Metadata","boxui.queryBar.templatesLoadingButtonText":"Template Name","boxui.queryBar.tooltipEnterValueError":"Please Enter a Value","boxui.queryBar.tooltipInvalidFloatError":"Please Enter a Decimal Number","boxui.queryBar.tooltipInvalidNumberError":"Please Enter an Integer","boxui.queryBar.tooltipSelectDateError":"Please Select a Date","boxui.queryBar.tooltipSelectValueError":"Please Select a Value","boxui.quickSearch.bookmark":"Bookmark","boxui.quickSearch.collaboratedFolder":"Collaborated Folder","boxui.quickSearch.externalFolder":"External Folder","boxui.quickSearch.file":"File","boxui.quickSearch.parentFolder":"Parent Folder","boxui.quickSearch.personalFolder":"Personal Folder","boxui.quickSearch.updatedText":"{date, date, medium} by {user}","boxui.quickSearch.updatedTextToday":"Today by {user}","boxui.quickSearch.updatedTextYesterday":"Yesterday by {user}","boxui.readableTime.eventTime":"{time, date, medium}","boxui.readableTime.eventTimeDate":"{time, date, medium} at {time, time, short}","boxui.readableTime.eventTimeDateShort":"{date} at {time, time, short}","boxui.readableTime.eventTimeToday":"Today at {time, time, short}","boxui.readableTime.eventTimeWeekdayLong":"{weekday}, {time, date, medium}","boxui.readableTime.eventTimeYesterday":"Yesterday at {time, time, short}","boxui.searchForm.clearButtonTitle":"Clear","boxui.searchForm.searchButtonTitle":"Search","boxui.searchForm.searchLabel":"Search query","boxui.securityCloudGame.accessibilityInstructions":"For security purposes, please drag the cloud object onto the target. You are on a {row} by {column} grid with a movable cloud object and a target area. Press spacebar to grab the cloud object, arrow keys to move, and spacebar to drop on the target.","boxui.securityCloudGame.cloudDropped":"Cloud object dropped.","boxui.securityCloudGame.cloudGrabbed":"Cloud object grabbed.","boxui.securityCloudGame.cloudObject":"Cloud object","boxui.securityCloudGame.currentPosition":"Current position: Row {row}, Column {column}.","boxui.securityCloudGame.instructions":"For security purposes, please drag the white cloud onto the dark cloud. Keyboard users: Press spacebar to grab the cloud, arrow keys to move, and spacebar to drop.","boxui.securityCloudGame.reachBottomEdge":"Reached bottom edge of grid.","boxui.securityCloudGame.reachLeftEdge":"Reached left edge of grid.","boxui.securityCloudGame.reachRightEdge":"Reached right edge of grid.","boxui.securityCloudGame.reachTopEdge":"Reached top edge of grid.","boxui.securityCloudGame.success":"Success!","boxui.securityCloudGame.target":"Target","boxui.securityCloudGame.targetInRange":"Target in range, you can drop the cloud object.","boxui.securityCloudGame.targetPosition":"Target position: Row {row}, Column {column}.","boxui.securityControls.allAppNames":"All applications: {appsList}","boxui.securityControls.allIntegrationNames":"All integrations: {appsList}","boxui.securityControls.appDownloadBlacklist":"Download restricted for some applications: {appNames}","boxui.securityControls.appDownloadBlacklistOverflow":"Download restricted for some applications: {appNames} +{remainingAppCount} more","boxui.securityControls.appDownloadRestricted":"Download restricted for some applications.","boxui.securityControls.appDownloadWhitelist":"Only select applications are allowed: {appNames}","boxui.securityControls.appDownloadWhitelistOverflow":"Only select applications are allowed: {appNames} +{remainingAppCount} more","boxui.securityControls.boxSignRequestRestricted":"Sign restrictions apply.","boxui.securityControls.desktopDownloadExternalOwners":"Download restricted on Box Drive, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.desktopDownloadExternalOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.desktopDownloadOwners":"Download restricted on Box Drive, except Owners/Co-Owners.","boxui.securityControls.desktopDownloadOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors.","boxui.securityControls.downloadExternal":"Download restricted on Box Drive for external users.","boxui.securityControls.externalCollabBlock":"External collaboration restricted.","boxui.securityControls.externalCollabDomainList":"External collaboration limited to approved domains.","boxui.securityControls.integrationDownloadAllowlist":"Only select integrations are allowed: {appNames}","boxui.securityControls.integrationDownloadAllowlistOverflow":"Only select integrations are allowed: {appNames} +{remainingAppCount} more","boxui.securityControls.integrationDownloadDenylist":"Download restricted for some integrations: {appNames}","boxui.securityControls.integrationDownloadDenylistOverflow":"Download restricted for some integrations: {appNames} +{remainingAppCount} more","boxui.securityControls.integrationDownloadRestricted":"Download restricted for some integrations.","boxui.securityControls.mobileDownloadExternal":"Download restricted on mobile for external users.","boxui.securityControls.mobileDownloadExternalOwners":"Download restricted on mobile, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.mobileDownloadExternalOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.mobileDownloadOwners":"Download restricted on mobile, except Owners/Co-Owners.","boxui.securityControls.mobileDownloadOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors.","boxui.securityControls.modalDescription":"Classification labels defined by your administrator can be used to label content and apply security policies.","boxui.securityControls.modalTitle":"View Classification for “{itemName}”","boxui.securityControls.securityControlsLabel":"Restrictions","boxui.securityControls.sharingCollabAndCompanyOnly":"Shared links cannot be made publicly accessible.","boxui.securityControls.sharingCollabOnly":"Shared links allowed for collaborators only.","boxui.securityControls.shortApp":"Application restrictions apply","boxui.securityControls.shortAppSign":"App and Sign restrictions apply","boxui.securityControls.shortDownload":"Download restrictions apply","boxui.securityControls.shortDownloadApp":"Download and app restrictions apply","boxui.securityControls.shortDownloadAppSign":"Download, app and Sign restrictions apply","boxui.securityControls.shortDownloadIntegration":"Download and integration restrictions apply","boxui.securityControls.shortDownloadIntegrationSign":"Download, integration and Sign restrictions apply","boxui.securityControls.shortDownloadSign":"Download and Sign restrictions apply","boxui.securityControls.shortIntegration":"Integration restrictions apply","boxui.securityControls.shortIntegrationSign":"Integration and Sign restrictions apply","boxui.securityControls.shortSharing":"Sharing restriction applies","boxui.securityControls.shortSharingApp":"Sharing and app restrictions apply","boxui.securityControls.shortSharingAppSign":"Sharing, app and Sign restrictions apply","boxui.securityControls.shortSharingDownload":"Sharing and download restrictions apply","boxui.securityControls.shortSharingDownloadApp":"Sharing, download and app restrictions apply","boxui.securityControls.shortSharingDownloadAppSign":"Sharing, download, app and Sign restrictions apply","boxui.securityControls.shortSharingDownloadIntegration":"Sharing, download and integration restrictions apply","boxui.securityControls.shortSharingDownloadIntegrationSign":"Sharing, download, integration and Sign restrictions apply","boxui.securityControls.shortSharingDownloadSign":"Sharing, download and Sign restrictions apply","boxui.securityControls.shortSharingIntegration":"Sharing and integration restrictions apply","boxui.securityControls.shortSharingIntegrationSign":"Sharing, integration and Sign restrictions apply","boxui.securityControls.shortSharingSign":"Sharing and Sign restrictions apply","boxui.securityControls.shortSign":"Sign restrictions apply","boxui.securityControls.shortWatermarking":"Watermarking applies","boxui.securityControls.viewAll":"View All","boxui.securityControls.watermarkingApplied":"Watermarking will be applied.","boxui.securityControls.webDownloadExternal":"Download restricted on web for external users.","boxui.securityControls.webDownloadExternalOwners":"Download restricted on web, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.webDownloadExternalOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.webDownloadOwners":"Download restricted on web, except Owners/Co-Owners.","boxui.securityControls.webDownloadOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors.","boxui.select.moreInfo":"More Info","boxui.selectField.clearAll":"Clear All","boxui.selectField.noResults":"No Results","boxui.selectField.searchPlaceholder":"Search","boxui.share.accessType":"ACCESS TYPE","boxui.share.canEdit":"Can edit","boxui.share.canView":"Can view","boxui.share.coownerLevelText":"Co-owner","boxui.share.deleteTableHeaderText":"Delete","boxui.share.downloadTableHeaderText":"Download","boxui.share.editTableHeaderText":"Edit","boxui.share.editorLevelText":"Editor","boxui.share.emailSharedLink":"Email Shared Link","boxui.share.enterAtLeastOneEmail":"Enter at least one valid email","boxui.share.getLinkTableHeaderText":"Get Link","boxui.share.groupLabel":"Group","boxui.share.inviteCollaboratorsModalCancelButton":"Cancel","boxui.share.inviteCollaboratorsModalSendInvites":"Send Invites","boxui.share.inviteCollaboratorsModalTitle":"Invite to {itemName}","boxui.share.inviteFieldLabel":"Invite","boxui.share.inviteFileEditorsLabel":"Invite people to become editors of this file.","boxui.share.inviteePermissionsFieldLabel":"Invitee Permissions","boxui.share.inviteePermissionsLearnMore":"Learn More","boxui.share.message":"Message","boxui.share.messageSelectorPlaceholder":"Add a message","boxui.share.ownerTableHeaderText":"Owner","boxui.share.peopleInCompanyCanDownloadFile":"Anyone in your company with the link can view and download this file.","boxui.share.peopleInCompanyCanDownloadFolder":"Anyone in your company with the link can view this folder and download its contents.","boxui.share.peopleInCompanyCanEditFile":"Anyone in your company with the link can edit and download this file.","boxui.share.peopleInCompanyCanViewFile":"Anyone in your company with the link can view this file.","boxui.share.peopleInCompanyCanViewFolder":"Anyone in your company with the link can view this folder.","boxui.share.peopleInEnterprise":"People in {enterpriseName}","boxui.share.peopleInItemCanAccessFile":"Any collaborator on the file with the link can access this file.","boxui.share.peopleInItemCanAccessFolder":"Any collaborator on the folder with the link can access this folder.","boxui.share.peopleInItemCanDownloadFile":"Any collaborator on this file with the link can download this file.","boxui.share.peopleInItemCanDownloadFolder":"Any collaborator on this folder with the link can download this folder.","boxui.share.peopleInItemCanEditFile":"Any collaborator on this file with the link can edit this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFile":"Any collaborator on this file with the link can view this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFolder":"Any collaborator on this folder with the link can view this folder and download its contents.","boxui.share.peopleInItemCanPreviewFile":"Any collaborator on this file with the link can view this file.","boxui.share.peopleInItemCanPreviewFolder":"Any collaborator on this folder with the link can view this folder.","boxui.share.peopleInSpecifiedCompanyCanDownloadFile":"Anyone in {company} with the link can view and download this file.","boxui.share.peopleInSpecifiedCompanyCanDownloadFolder":"Anyone in {company} with the link can view this folder and download its contents.","boxui.share.peopleInSpecifiedCompanyCanEditFile":"Anyone in {company} with the link can edit and download this file.","boxui.share.peopleInSpecifiedCompanyCanViewFile":"Anyone in {company} with the link can view this file.","boxui.share.peopleInSpecifiedCompanyCanViewFolder":"Anyone in {company} with the link can view this folder.","boxui.share.peopleInThisFile":"People in this file","boxui.share.peopleInThisFolder":"People in this folder","boxui.share.peopleInYourCompany":"People in your company","boxui.share.peopleWithLinkCanDownloadFile":"Anyone with the link can view and download this file.","boxui.share.peopleWithLinkCanDownloadFolder":"Anyone with the link can view this folder and download its contents.","boxui.share.peopleWithLinkCanEditFile":"Anyone with the link can edit and download this file.","boxui.share.peopleWithLinkCanViewFile":"Anyone with the link can view this file.","boxui.share.peopleWithLinkCanViewFolder":"Anyone with the link can view this folder.","boxui.share.peopleWithTheLink":"People with the link","boxui.share.permissionLevelsTableHeaderText":"Permission Levels","boxui.share.personalMessageLabel":"Personal Message","boxui.share.pillSelectorPlaceholder":"Add names or email addresses","boxui.share.previewTableHeaderText":"Preview","boxui.share.previewerLevelText":"Previewer","boxui.share.previewerUploaderLevelText":"Previewer Uploader","boxui.share.referAFriendBadgeText":"REFER","boxui.share.referAFriendRewardCenterLinkText":"Click Here","boxui.share.referAFriendText":"Want a free month of Box? Refer your friend!","boxui.share.removeLink":"Remove Link","boxui.share.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.share.removeLinkConfirmationTitle":"Remove Shared Link","boxui.share.settingsButtonLabel":"Open shared link settings popup","boxui.share.sharedLinkExpirationTooltip":"This link will expire on {expiration, date, long}","boxui.share.sharedLinkLabel":"Shared Link","boxui.share.sharedLinkModalTitle":"Shared Link for {itemName}","boxui.share.sharedLinkSettings.accessLevel.inCompanyView":"This content is available to anyone within your company with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.inCompanyViewDownload":"This content is available to anyone within your company with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.accessLevel.inItem":"This content is available to invited collaborators with the link.","boxui.share.sharedLinkSettings.accessLevel.withLinkView":"This content is publicly available to anyone with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.withLinkViewDownload":"This content is publicly available to anyone with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.allowDownloadLabel":"Allow users with the shared link to download this item","boxui.share.sharedLinkSettings.allowDownloadTitle":"Allow Download","boxui.share.sharedLinkSettings.customURLLabel":"Non-private custom URL","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithClassification":"Download has been disabled for content due to the classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithoutClassification":"Download has been disabled for content without classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByMaliciousContent":"Download for this content has been disabled due to a security policy.","boxui.share.sharedLinkSettings.directLinkLabel":"Direct Link","boxui.share.sharedLinkSettings.expirationLabel":"Disable Shared Link on","boxui.share.sharedLinkSettings.expirationTitle":"Link Expiration","boxui.share.sharedLinkSettings.inaccessibleSettingsNotice":"Certain settings may not be available for this item due to permissions.","boxui.share.sharedLinkSettings.modalTitle":"Shared Link Settings","boxui.share.sharedLinkSettings.passwordLabel":"Require password","boxui.share.sharedLinkSettings.passwordPlaceholder":"Enter a password","boxui.share.sharedLinkSettings.passwordTitle":"Password Protect","boxui.share.sharedLinkSettings.sharedLinkSettingWarningLinkText":"Learn more about shared link settings.","boxui.share.sharedLinkSettings.sharedLinkWarningText":"This content is publicly available to anyone with the link.","boxui.share.sharedLinkSettings.vanityNameNotSet":"The custom URL has not been set","boxui.share.sharedLinkSettings.vanityNamePlaceholder":"Enter a custom path (12 or more characters)","boxui.share.sharedLinkSettings.vanityURLWarning":"Custom URLs should not be used when sharing sensitive content.","boxui.share.sharedLinkURLLabel":"URL","boxui.share.upgradeGetMoreAccessControls":"Get More Access Controls","boxui.share.uploadTableHeaderText":"Upload","boxui.share.uploaderLevelText":"Uploader","boxui.share.vanityURLEnableText":"Publish content broadly with a custom, non-private URL","boxui.share.viewerLevelText":"Viewer","boxui.share.viewerUploaderLevelText":"Viewer Uploader","boxui.shareMenu.downloadOnly":"Download Only","boxui.shareMenu.editAndComment":"Edit and Comment","boxui.shareMenu.getSharedLink":"Get Shared Link","boxui.shareMenu.insufficientPermissionsMenuOption":"Insufficient sharing permissions. Please contact the folder owner.","boxui.shareMenu.insufficientPermissionsTooltip":"You have insufficient permissions to invite collaborators.","boxui.shareMenu.inviteCollabs":"Invite Collaborators","boxui.shareMenu.ownerCoownerOnlyTooltip":"You have insufficient permissions to invite collaborators. Only the owner and co-owners can invite collaborators.","boxui.shareMenu.shortcutOnly":"Shortcut Only","boxui.shareMenu.viewAndDownload":"View and Download","boxui.shareMenu.viewOnly":"View Only","boxui.subHeader.bulkItemActionMenuAriaLabel":"Bulk actions","boxui.subHeader.metadata":"Metadata","boxui.timeInput.emptyTimeError":"Required field. Enter a time in the format HH:MM A.","boxui.timeInput.invalidTimeError":"Invalid time format. Enter a time in the format HH:MM A.","boxui.unifiedShare.collabAccess":"collaborator access","boxui.unifiedShare.collaboration.groupCollabText":"Group","boxui.unifiedShare.collaboration.userCollabText":"User","boxui.unifiedShare.collaboratorListTitle":"People in ‘{itemName}’","boxui.unifiedShare.collaborators.expirationTooltipClickableText":"Access expires on {date}. Click for details.","boxui.unifiedShare.contactEmailsTooltipText":"{emails}, and {remainingEmailsCount} more","boxui.unifiedShare.contactRestrictionNotice":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrier":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingular":"Invitations cannot be sent to {email} due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingularGroup":'Invitations cannot be sent to "{groupName}" due to a security policy.',"boxui.unifiedShare.contactRestrictionNoticeSingular":"Invitations cannot be sent to {email} because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionRemoveButtonLabel":"Remove to continue","boxui.unifiedShare.contactsExceedLimitError":"Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.","boxui.unifiedShare.contentSharedWithExternalCollaborators":"This content will be shared with external collaborators.","boxui.unifiedShare.coownerLevelButtonLabel":"Invite as Co-owner","boxui.unifiedShare.coownerLevelDescription":"Manage security, upload, download, preview, share, edit, and delete","boxui.unifiedShare.coownerLevelText":"Co-owner","boxui.unifiedShare.disabledCreateLinkTooltip":"You do not have permission to create the link.","boxui.unifiedShare.disabledMaliciousContentShareLinkPermission":"This option isn’t available for this item due to a security policy.","boxui.unifiedShare.disabledShareLinkPermission":"This option is not available due to a security policy.","boxui.unifiedShare.editorLevelButtonLabel":"Invite as Editor","boxui.unifiedShare.editorLevelDescription":"Upload, download, preview, share, edit, and delete","boxui.unifiedShare.editorLevelFileDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.editorLevelText":"Editor","boxui.unifiedShare.emailModalTitle":"Send Link to ‘{itemName}’","boxui.unifiedShare.enterAtLeastOneEmail":"Enter at least one valid email","boxui.unifiedShare.enterEmailAddressesCalloutText":"Share this item with coworkers by entering their email addresses","boxui.unifiedShare.expiresMessage":"Expires","boxui.unifiedShare.ftuxConfirmLabel":"Got it","boxui.unifiedShare.ftuxEditPermissionTooltipBody":"Select the new edit option to easily share your file with people or groups.","boxui.unifiedShare.ftuxEditPermissionTooltipTitle":"Collaboration made easy","boxui.unifiedShare.ftuxLinkText":"Read more about shared link security here.","boxui.unifiedShare.ftuxNewUSMUserBody":"We’ve simplified the sharing experience when you click 'Share'. Invite people to this item here and toggle the link on or off below for easy sharing.","boxui.unifiedShare.ftuxNewUsmUserTitle":"Simplified sharing for files and folders","boxui.unifiedShare.ftuxSharedLinkPermissionsEditTag":"NEW","boxui.unifiedShare.groupLabel":"Group","boxui.unifiedShare.inviteDisabledTooltip":"You do not have permission to invite collaborators.","boxui.unifiedShare.inviteDisabledWeblinkTooltip":"Collaborators cannot be added to bookmarks.","boxui.unifiedShare.inviteFieldLabel":"Invite People","boxui.unifiedShare.justifiableContactRestrictionNotice":"This content requires a business justification for {count, plural, one {{count} invitation} other {{count} invitations}}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionNoticeSingular":"This content requires a business justification to invite {email}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionRemoveButtonLabel":"Alternatively, remove to continue","boxui.unifiedShare.justificationRequiredError":"Select a justification or remove to continue","boxui.unifiedShare.justificationSelectPlaceholder":"Select Justification","boxui.unifiedShare.levelOfCollabAccess":"Set the level of {collaboratorAccess} and increase security through one of our paid plans. {upgradeLink}","boxui.unifiedShare.linkShareOff":"Create shared link","boxui.unifiedShare.linkShareOn":"Shared link is created","boxui.unifiedShare.message":"Message","boxui.unifiedShare.modalTitle":"Share ‘{itemName}’","boxui.unifiedShare.peopleInCompanyCanAccessFile":"Anyone in your company with the link or people invited to this file can access","boxui.unifiedShare.peopleInCompanyCanAccessFolder":"Anyone in your company with the link or people invited to this folder can access","boxui.unifiedShare.peopleInCompanyCanAccessHub":"Anyone in your company with the link or people invited to this hub can access","boxui.unifiedShare.peopleInEnterpriseName":"People in {enterpriseName}","boxui.unifiedShare.peopleInItemCanAccessFile":"Only invited people can access this file","boxui.unifiedShare.peopleInItemCanAccessFolder":"Only invited people can access this folder","boxui.unifiedShare.peopleInItemCanAccessHub":"Only invited people can access this hub","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFile":"Anyone at {company} with the link or people invited to this file can access","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFolder":"Anyone at {company} with the link or people invited to this folder can access","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessHub":"Anyone at {company} with the link or people invited to this hub can access","boxui.unifiedShare.peopleInThisFile":"Invited people only","boxui.unifiedShare.peopleInThisFolder":"Invited people only","boxui.unifiedShare.peopleInYourCompany":"People in your company","boxui.unifiedShare.peopleWithLinkDescription":"Publicly accessible and no sign-in required","boxui.unifiedShare.peopleWithTheLinkText":"People with the link","boxui.unifiedShare.previewerLevelButtonLabel":"Invite as Previewer","boxui.unifiedShare.previewerLevelDescription":"Preview only","boxui.unifiedShare.previewerLevelText":"Previewer","boxui.unifiedShare.previewerUploaderLevelButtonLabel":"Invite as Previewer Uploader","boxui.unifiedShare.previewerUploaderLevelDescription":"Upload and preview","boxui.unifiedShare.previewerUploaderLevelText":"Previewer Uploader","boxui.unifiedShare.recommendedSharingTooltipCalloutText":"Based on your usage, we think {fullName} would be interested in this file.","boxui.unifiedShare.removeCollaboratorConfirmationDescription":"Are you sure you want to remove {name} as a collaborator?","boxui.unifiedShare.removeCollaboratorConfirmationTitle":"Remove Collaborator","boxui.unifiedShare.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.unifiedShare.removeLinkConfirmationTitle":"Remove Shared Link","boxui.unifiedShare.removeLinkTooltip":"You do not have permission to remove the link.","boxui.unifiedShare.restrictedContactsError":"Remove to continue","boxui.unifiedShare.sendSharedLink":"Send Shared Link","boxui.unifiedShare.sendSharedLinkFieldLabel":"Email Shared Link","boxui.unifiedShare.sharedLinkDisabledTooltipCopy":"Create and copy link for sharing","boxui.unifiedShare.sharedLinkEditablePubliclyAvailable":"Publicly available for anyone to view and download. Any logged in users with the link can edit.","boxui.unifiedShare.sharedLinkElevatedEditableCompanyAvailable":"People who have access to this link can edit.","boxui.unifiedShare.sharedLinkExpirationTooltip":"This link will expire and be inaccessible on {expiration, date, long}.","boxui.unifiedShare.sharedLinkPermissionsEdit":"Can edit","boxui.unifiedShare.sharedLinkPermissionsEditTooltip":"This permission can only be changed in Box Notes","boxui.unifiedShare.sharedLinkPermissionsViewDownload":"Can view and download","boxui.unifiedShare.sharedLinkPermissionsViewOnly":"Can view only","boxui.unifiedShare.sharedLinkPubliclyAvailable":"This content is publicly available to anyone with the link.","boxui.unifiedShare.sharedLinkSectionLabel":"Share Link","boxui.unifiedShare.sharedLinkSettings":"Link Settings","boxui.unifiedShare.sharedLinkSettingsCalloutText":"Create a custom URL, enable password protection, enable link expiration, and much more","boxui.unifiedShare.suggestedCollabsTitle":"Suggested","boxui.unifiedShare.upgradeGetMoreAccessControlsDescription":"62% of customers on your plan {upgradeGetMoreAccessControlsLink} to manage collaborators’ access and permission settings","boxui.unifiedShare.upgradeGetMoreAccessControlsLink":"upgrade","boxui.unifiedShare.upgradeInlineNoticeTitle":"Upgrade Your Plan","boxui.unifiedShare.upgradeLink":"Upgrade now","boxui.unifiedShare.uploaderLevelButtonLabel":"Invite as Uploader","boxui.unifiedShare.uploaderLevelDescription":"Upload only","boxui.unifiedShare.uploaderLevelText":"Uploader","boxui.unifiedShare.viewerLevelButtonLabel":"Invite as Viewer","boxui.unifiedShare.viewerLevelDescription":"Download, preview, and share","boxui.unifiedShare.viewerLevelText":"Viewer","boxui.unifiedShare.viewerUploaderLevelButtonLabel":"Invite as Viewer Uploader","boxui.unifiedShare.viewerUploaderLevelDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.viewerUploaderLevelText":"Viewer Uploader","boxui.validation.URLError":"Invalid URL","boxui.validation.emailError":"Invalid Email Address","boxui.validation.genericError":"Invalid Input","boxui.validation.invalidDateError":"Invalid Date","boxui.validation.invalidUserError":"Invalid User","boxui.validation.requiredError":"Required Field","boxui.validation.tooLongError":"Input cannot exceed {max} characters","boxui.validation.tooShortError":"Input must be at least {min} characters"})};let s;class l{static getUserAgent(){return __webpack_require__.g.navigator.userAgent}static isMobile(){const e=l.getUserAgent();return/iphone|ipad|ipod|android|blackberry|bb10|mini|windows\sce|palm/i.test(e)||/Mobi/i.test(e)}static isIE(){return/Trident/i.test(l.getUserAgent())}static isFirefox(){const e=l.getUserAgent();return/Firefox/i.test(e)&&!/Seamonkey\//i.test(e)}static isSafari(){const e=l.getUserAgent();return/AppleWebKit/i.test(e)&&!/Chrome\//i.test(e)}static isMobileSafari(){return l.isMobile()&&l.isSafari()&&!l.isMobileChromeOniOS()}static isMobileChromeOniOS(){const e=l.getUserAgent();return l.isMobile()&&/AppleWebKit/i.test(e)&&/CriOS\//i.test(e)}static canDownload(){return!l.isMobile()||!window.externalHost&&"download"in document.createElement("a")}static canPlayDash(e=!1){if(void 0===s||e){const e=__webpack_require__.g.MediaSource;s=!!e&&"function"==typeof e.isTypeSupported&&e.isTypeSupported('video/mp4; codecs="avc1.64001E"')}return s}static canWriteToClipboard(){return!(!__webpack_require__.g.navigator.clipboard||!__webpack_require__.g.navigator.clipboard.writeText)}static canReadFromClipboard(){return!(!__webpack_require__.g.navigator.clipboard||!__webpack_require__.g.navigator.clipboard.readText)}}const c=l,u="folder",d="file",h="web_link",f="annotation",p="comment",m="file_version",b="folder_",g="file_",y=b,v=g,w="search_",E="metadata_",S="DESC",x="Content-Type",O="Accept-Language",P="securityClassification-6VMVochwUWo",C="boxSkillsCards",k="properties",_="global",A="enterprise",T="experimental",j="id",I="name",D="size",M="extension",R="permissions",F="modified_at",L="restored_at",N="restored_from",U="created_at",B="is_externally_owned",H="created_by",V="modified_by",z="promoted_by",$="restored_by",q="trashed_by",G="representations",W="authenticated_download_url",Z="file_version",X="is_download_available",K="version_number",Q="metadata",Y=`${Q}.${_}.archivedItemTemplate`,J=`${Q}.${_}.${C}`,ee="trashed_at",te="uploader_display_name",re="can_comment",ne="can_create_annotations",ie="can_delete",oe="can_edit",ae="can_resolve",se="can_upload",le="can_view_annotations",ce="https://api.box.com",ue="https://upload.box.com",de="https://upload.app.box.com",he="bcow-integration-icon",fe="fetch_comments_error",pe="fetch_replies_error",me="fetch_tasks_error",be="fetch_metadata_error",ge="execute_integrations_error",ye="create_comment_error",ve="create_reply_error",we="create_task_error",Ee="create_task_collaborator_error",Se="create_metadata_error",xe="delete_comment_error",Oe="group_exceeds_limit",Pe="update_task_error",Ce="update_comment_error",ke="update_metadata_error",_e="share_item_error",Ae="isErrorDisplayed",Te="[3d][pdf][text][mp3][json][jpg?dimensions=1024x1024&paged=false][webp?dimensions=1024x1024][jpg?dimensions=2048x2048,png?dimensions=2048x2048]"+(c.canPlayDash()?"[dash,mp4][filmstrip]":"[mp4]"),je=3e3,Ie=1e3,De="[jpg?dimensions=1024x1024&paged=false,png?dimensions=1024x1024][pdf][text]",Me="GET",Re="POST",Fe="PUT",Le="DELETE",Ne="OPTIONS",Ue=429,Be="upload",He={type:"user",id:"2",name:""},Ve="1338",ze="13418",$e=26,qe="NOT_STARTED",Ge="annotation",We="app_activity",Ze="comment",Xe="task",Ke="versions";function Qe(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Ye extends(n()){constructor(...e){super(...e),Qe(this,"language",a.language),Qe(this,"messages",a.messages),Qe(this,"setComponent",(e=>{this.component=e})),Qe(this,"onInteraction",(e=>{this.emit("interaction",e)}))}show(e,t,r={}){this.id=e,this.token=t,this.options=r,this.emit=this.emit.bind(this);const n=r.container||"body";this.container=n instanceof HTMLElement?n:document.querySelector(n),this.render()}hide(){this.removeAllListeners(),t.unmountComponentAtNode(this.container),this.container&&(this.container.innerHTML="")}render(){throw new Error("Unimplemented!")}getComponent(){return this.component}clearCache(){const e=this.getComponent();e&&"function"==typeof e.clearCache&&e.clearCache()}emit(e,t){try{return super.emit(e,t)}catch(e){}return!1}}const Je=Ye;var et=__webpack_require__(78444),tt=__webpack_require__.n(et),rt=__webpack_require__(70406),nt=__webpack_require__.n(rt),it=__webpack_require__(18564),ot=__webpack_require__.n(it),at=function(e,t){return at=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},at(e,t)};function st(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}at(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var lt=function(){return lt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},lt.apply(this,arguments)};function ct(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function ut(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var dt,ht,ft,pt=__webpack_require__(57160),mt=__webpack_require__.n(pt);function bt(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function gt(e){return e.type===ht.literal}function yt(e){return e.type===ht.argument}function vt(e){return e.type===ht.number}function wt(e){return e.type===ht.date}function Et(e){return e.type===ht.time}function St(e){return e.type===ht.select}function xt(e){return e.type===ht.plural}function Ot(e){return e.type===ht.pound}function Pt(e){return e.type===ht.tag}function Ct(e){return!(!e||"object"!=typeof e||e.type!==ft.number)}function kt(e){return!(!e||"object"!=typeof e||e.type!==ft.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(dt||(dt={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(ht||(ht={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ft||(ft={}));var _t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,At=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Tt(e){var t={};return e.replace(At,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var jt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,It=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Dt=/^(@+)?(\+|#+)?[rs]?$/g,Mt=/(\*)(0+)|(#+)(0+)|(0+)/g,Rt=/^(0+)$/;function Ft(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Dt,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function Lt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Nt(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Rt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ut(e){return Lt(e)||{}}function Bt(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=lt(lt(lt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return lt(lt({},e),Ut(t))}),{}));continue;case"engineering":t=lt(lt(lt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return lt(lt({},e),Ut(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Mt,(function(e,r,n,i,o,a){if(r)t.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Rt.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(It.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(It,(function(e,r,n,i,o,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var o=i.options[0];"w"===o?t=lt(lt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=lt(lt({},t),Ft(o)))}else if(Dt.test(i.stem))t=lt(lt({},t),Ft(i.stem));else{var a=Lt(i.stem);a&&(t=lt(lt({},t),a));var s=Nt(i.stem);s&&(t=lt(lt({},t),s))}}return t}var Ht,Vt={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function zt(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(Vt[r||""]||Vt[n||""]||Vt["".concat(n,"-001")]||Vt["001"])[0]}var $t=new RegExp("^".concat(_t.source,"*")),qt=new RegExp("".concat(_t.source,"*$"));function Gt(e,t){return{start:e,end:t}}var Wt=!!String.prototype.startsWith&&"_a".startsWith("a",1),Zt=!!String.fromCodePoint,Xt=!!Object.fromEntries,Kt=!!String.prototype.codePointAt,Qt=!!String.prototype.trimStart,Yt=!!String.prototype.trimEnd,Jt=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},er=!0;try{er="a"===(null===(Ht=lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ht?void 0:Ht[0])}catch(e){er=!1}var tr,rr=Wt?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},nr=Zt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;i>o;){if((r=e[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},ir=Xt?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],a=i[1];t[o]=a}return t},or=Kt?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},ar=Qt?function(e){return e.trimStart()}:function(e){return e.replace($t,"")},sr=Yt?function(e){return e.trimEnd()}:function(e){return e.replace(qt,"")};function lr(e,t){return new RegExp(e,t)}if(er){var cr=lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");tr=function(e,t){var r;return cr.lastIndex=t,null!==(r=cr.exec(e)[1])&&void 0!==r?r:""}}else tr=function(e,t){for(var r=[];;){var n=or(e,t);if(void 0===n||hr(n)||fr(n))break;r.push(n),t+=n>=65536?2:1}return nr.apply(void 0,r)};var ur=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(dt.UNMATCHED_CLOSING_TAG,Gt(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&dr(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:ht.pound,location:Gt(a,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ht.literal,value:"<".concat(n,"/>"),location:Gt(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!dr(this.char()))return this.error(dt.INVALID_TAG,Gt(a,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(dt.UNMATCHED_CLOSING_TAG,Gt(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ht.tag,value:n,children:o,location:Gt(r,this.clonePosition())},err:null}:this.error(dt.INVALID_TAG,Gt(a,this.clonePosition())))}return this.error(dt.UNCLOSED_TAG,Gt(r,this.clonePosition()))}return this.error(dt.INVALID_TAG,Gt(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var s=Gt(r,this.clonePosition());return{val:{type:ht.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(dr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return nr.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),nr(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(dt.EMPTY_ARGUMENT,Gt(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(dt.MALFORMED_ARGUMENT,Gt(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ht.argument,value:n,location:Gt(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(dt.MALFORMED_ARGUMENT,Gt(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=tr(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:Gt(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(dt.EXPECT_ARGUMENT_TYPE,Gt(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(f=sr(g.val)).length)return this.error(dt.EXPECT_ARGUMENT_STYLE,Gt(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Gt(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(n)).err)return y;var u=Gt(n,this.clonePosition());if(l&&rr(null==l?void 0:l.style,"::",0)){var d=ar(l.style.slice(2));if("number"===a)return(g=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?g:{val:{type:ht.number,value:r,location:u,style:g.val},err:null};if(0===d.length)return this.error(dt.EXPECT_DATE_TIME_SKELETON,u);var h=d;this.locale&&(h=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=zt(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)r+="a";for(;a-- >0;)r=l+r}else r+="J"===i?"H":i}return r}(d,this.locale));var f={type:ft.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Tt(h):{}};return{val:{type:"date"===a?ht.date:ht.time,value:r,location:u,style:f},err:null}}return{val:{type:"number"===a?ht.number:"date"===a?ht.date:ht.time,value:r,location:u,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(dt.EXPECT_SELECT_ARGUMENT_OPTIONS,Gt(p,lt({},p)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),b=0;if("select"!==a&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(dt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Gt(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(dt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,dt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),m=this.parseIdentifierIfPossible(),b=g.val}var y,v=this.tryParsePluralOrSelectOptions(e,a,t,m);if(v.err)return v;if((y=this.tryParseArgumentClose(n)).err)return y;var w=Gt(n,this.clonePosition());return"select"===a?{val:{type:ht.select,value:r,options:ir(v.val),location:w},err:null}:{val:{type:ht.plural,value:r,options:ir(v.val),offset:b,pluralType:"plural"===a?"cardinal":"ordinal",location:w},err:null};default:return this.error(dt.INVALID_ARGUMENT_TYPE,Gt(o,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(dt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Gt(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(jt).filter((function(e){return e.length>0}));r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],a=i.slice(1),s=0,l=a;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:a})}return t}(e)}catch(e){return this.error(dt.INVALID_NUMBER_SKELETON,t)}return{val:{type:ft.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Bt(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,o=!1,a=[],s=new Set,l=n.value,c=n.location;;){if(0===l.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(dt.EXPECT_PLURAL_ARGUMENT_SELECTOR,dt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=Gt(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}if(s.has(l))return this.error("select"===t?dt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:dt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?dt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:dt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Gt(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,r);if(f.err)return f;var p=this.tryParseArgumentClose(h);if(p.err)return p;a.push([l,{value:f.val,location:Gt(h,this.clonePosition())}]),s.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===a.length?this.error("select"===t?dt.EXPECT_SELECT_ARGUMENT_SELECTOR:dt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Gt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(dt.MISSING_OTHER_CLAUSE,Gt(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=Gt(n,this.clonePosition());return i?Jt(o*=r)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=or(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(rr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&hr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function dr(e){return e>=97&&e<=122||e>=65&&e<=90}function hr(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function fr(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function pr(e){e.forEach((function(e){if(delete e.location,St(e)||xt(e))for(var t in e.options)delete e.options[t].location,pr(e.options[t].value);else vt(e)&&Ct(e.style)||(wt(e)||Et(e))&&kt(e.style)?delete e.style.location:Pt(e)&&pr(e.children)}))}function mr(e,t){void 0===t&&(t={}),t=lt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ur(e,t).parse();if(r.err){var n=SyntaxError(dt[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||pr(r.val),r.val}function br(e,t){var r=t&&t.cache?t.cache:Pr,n=t&&t.serializer?t.serializer:Er;return(t&&t.strategy?t.strategy:wr)(e,{cache:r,serializer:n})}function gr(e,t,r,n){var i,o=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:r(n),a=t.get(o);return void 0===a&&(a=e.call(this,n),t.set(o,a)),a}function yr(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}function vr(e,t,r,n,i){return r.bind(t,e,n,i)}function wr(e,t){return vr(e,this,1===e.length?gr:yr,t.cache.create(),t.serializer)}var Er=function(){return JSON.stringify(arguments)};function Sr(){this.cache=Object.create(null)}Sr.prototype.get=function(e){return this.cache[e]},Sr.prototype.set=function(e,t){this.cache[e]=t};var xr,Or,Pr={create:function(){return new Sr}},Cr={variadic:function(e,t){return vr(e,this,yr,t.cache.create(),t.serializer)},monadic:function(e,t){return vr(e,this,gr,t.cache.create(),t.serializer)}};(Or=xr||(xr={})).MISSING_VALUE="MISSING_VALUE",Or.INVALID_VALUE="INVALID_VALUE",Or.MISSING_INTL_API="MISSING_INTL_API";var kr,_r=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return st(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ar=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),xr.INVALID_VALUE,i)||this}return st(t,e),t}(_r),Tr=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),xr.INVALID_VALUE,n)||this}return st(t,e),t}(_r),jr=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),xr.MISSING_VALUE,r)||this}return st(t,e),t}(_r);function Ir(e){return"function"==typeof e}function Dr(e,t,r,n,i,o,a){if(1===e.length&&gt(e[0]))return[{type:kr.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(gt(u))s.push({type:kr.literal,value:u.value});else if(Ot(u))"number"==typeof o&&s.push({type:kr.literal,value:r.getNumberFormat(t).format(o)});else{var d=u.value;if(!i||!(d in i))throw new jr(d,a);var h=i[d];if(yt(u))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?kr.literal:kr.object,value:h});else if(wt(u)){var f="string"==typeof u.style?n.date[u.style]:kt(u.style)?u.style.parsedOptions:void 0;s.push({type:kr.literal,value:r.getDateTimeFormat(t,f).format(h)})}else if(Et(u))f="string"==typeof u.style?n.time[u.style]:kt(u.style)?u.style.parsedOptions:n.time.medium,s.push({type:kr.literal,value:r.getDateTimeFormat(t,f).format(h)});else if(vt(u))(f="string"==typeof u.style?n.number[u.style]:Ct(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),s.push({type:kr.literal,value:r.getNumberFormat(t,f).format(h)});else{if(Pt(u)){var p=u.children,m=u.value,b=i[m];if(!Ir(b))throw new Tr(m,"function",a);var g=b(Dr(p,t,r,n,i,o).map((function(e){return e.value})));Array.isArray(g)||(g=[g]),s.push.apply(s,g.map((function(e){return{type:"string"==typeof e?kr.literal:kr.object,value:e}})))}if(St(u)){if(!(y=u.options[h]||u.options.other))throw new Ar(u.value,h,Object.keys(u.options),a);s.push.apply(s,Dr(y.value,t,r,n,i))}else if(xt(u)){var y;if(!(y=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new _r('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',xr.MISSING_INTL_API,a);var v=r.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0));y=u.options[v]||u.options.other}if(!y)throw new Ar(u.value,h,Object.keys(u.options),a);s.push.apply(s,Dr(y.value,t,r,n,i,h-(u.offset||0)))}}}}return(w=s).length<2?w:w.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===kr.literal&&t.type===kr.literal?r.value+=t.value:e.push(t),e}),[]);var w}function Mr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(kr||(kr={}));var Rr,Fr=function(){function e(t,r,n,i){var o,a,s,l=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=l.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===kr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return Dr(l.ast,l.locales,l.formatters,l.formats,e,void 0,l.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=l.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(l.locales)[0]}},this.getAst=function(){return l.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var c=i||{},u=(c.formatters,ct(c,["formatters"]));this.ast=e.__parse(t,lt(lt({},u),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(a=e.formats,(s=n)?Object.keys(a).reduce((function(e,t){var r,n;return e[t]=(r=a[t],(n=s[t])?lt(lt(lt({},r||{}),n||{}),Object.keys(r).reduce((function(e,t){return e[t]=lt(lt({},r[t]),n[t]||{}),e}),{})):r),e}),lt({},a)):a),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ut([void 0],t,!1)))}),{cache:Mr(o.number),strategy:Cr.variadic}),getDateTimeFormat:br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ut([void 0],t,!1)))}),{cache:Mr(o.dateTime),strategy:Cr.variadic}),getPluralRules:br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ut([void 0],t,!1)))}),{cache:Mr(o.pluralRules),strategy:Cr.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=mr,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(Rr||(Rr={}));var Lr=function(e){function t(r,n,i){var o=this,a=i?i instanceof Error?i:new Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return st(t,e),t}(Error),Nr=function(e){function t(t,r){return e.call(this,Rr.UNSUPPORTED_FORMATTER,t,r)||this}return st(t,e),t}(Lr),Ur=function(e){function t(t,r){return e.call(this,Rr.INVALID_CONFIG,t,r)||this}return st(t,e),t}(Lr),Br=function(e){function t(t,r){return e.call(this,Rr.MISSING_DATA,t,r)||this}return st(t,e),t}(Lr),Hr=function(e){function t(t,r,n){var i=e.call(this,Rr.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(r,"\n"),n)||this;return i.locale=r,i}return st(t,e),t}(Lr),Vr=function(e){function t(t,r,n,i){var o=e.call(this,"".concat(t,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),r,i)||this;return o.descriptor=n,o.locale=r,o}return st(t,e),t}(Hr),zr=function(e){function t(t,r){var n=e.call(this,Rr.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return n.descriptor=t,n}return st(t,e),t}(Lr);function $r(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var qr={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function Gr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Wr(e,t,r,n){var i,o=e&&e[t];if(o&&(i=o[r]),i)return i;n(new Nr("No ".concat(t," format named: ").concat(r)))}function Zr(e){bt(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Xr=lt(lt({},qr),{textComponent:e.Fragment});function Kr(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(var o=0;o<i;o++){var a=r[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}var Qr="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?e.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=e.createContext(null)),Yr=Qr.Consumer,Jr=Qr.Provider,en=Qr;function tn(){var t=e.useContext(en);return Zr(t),t}function rn(e,t){var r=e.values,n=ct(e,["values"]),i=t.values,o=ct(t,["values"]);return Kr(i,r)&&Kr(n,o)}function nn(t){var r=tn(),n=r.formatMessage,i=r.textComponent,o=void 0===i?e.Fragment:i,a=t.id,s=t.description,l=t.defaultMessage,c=t.values,u=t.children,d=t.tagName,h=void 0===d?o:d,f=n({id:a,description:s,defaultMessage:l},c,{ignoreTag:t.ignoreTag});return"function"==typeof u?u(Array.isArray(f)?f:[f]):h?e.createElement(h,null,e.Children.toArray(f)):e.createElement(e.Fragment,null,f)}nn.displayName="FormattedMessage";var on=e.memo(nn,rn);on.displayName="MemoizedFormattedMessage";const an=on;var sn=__webpack_require__(43165);function ln(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=lt({timeZone:t},e[n]),r}),{})}function cn(e,t){return Object.keys(lt(lt({},e),t)).reduce((function(r,n){return r[n]=lt(lt({},e[n]||{}),t[n]||{}),r}),{})}function un(e,t){if(!t)return e;var r=Fr.formats;return lt(lt(lt({},r),e),{date:cn(ln(r.date,t),ln(e.date||{},t)),time:cn(ln(r.time,t),ln(e.time||{},t))})}var dn=function(e,t,r,n,i){var o=e.locale,a=e.formats,s=e.messages,l=e.defaultLocale,c=e.defaultFormats,u=e.fallbackOnEmptyString,d=e.onError,h=e.timeZone,f=e.defaultRichTextElements;void 0===r&&(r={id:""});var p=r.id,m=r.defaultMessage;bt(!!p,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var b=String(p),g=s&&Object.prototype.hasOwnProperty.call(s,b)&&s[b];if(Array.isArray(g)&&1===g.length&&g[0].type===ht.literal)return g[0].value;if(!n&&g&&"string"==typeof g&&!f)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=lt(lt({},f),n||{}),a=un(a,h),c=un(c,h),!g){if(!1===u&&""===g)return g;if((!m||o&&o.toLowerCase()!==l.toLowerCase())&&d(new zr(r,o)),m)try{return t.getMessageFormat(m,l,c,i).format(n)}catch(e){return d(new Vr('Error formatting default message for: "'.concat(b,'", rendering default message verbatim'),o,r,e)),"string"==typeof m?m:b}return b}try{return t.getMessageFormat(g,o,a,lt({formatters:t},i||{})).format(n)}catch(e){d(new Vr('Error formatting message: "'.concat(b,'", using ').concat(m?"default message":"id"," as fallback."),o,r,e))}if(m)try{return t.getMessageFormat(m,l,c,i).format(n)}catch(e){d(new Vr('Error formatting the default message for: "'.concat(b,'", rendering message verbatim'),o,r,e))}return"string"==typeof g?g:"string"==typeof m?m:b},hn=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function fn(e,t,r){var n=e.locale,i=e.formats,o=e.onError;void 0===r&&(r={});var a=r.format,s=a&&Wr(i,"number",a,o)||{};return t(n,$r(r,hn,s))}function pn(e,t,r,n){void 0===n&&(n={});try{return fn(e,t,n).format(r)}catch(t){e.onError(new Hr("Error formatting number.",e.locale,t))}return String(r)}function mn(e,t,r,n){void 0===n&&(n={});try{return fn(e,t,n).formatToParts(r)}catch(t){e.onError(new Hr("Error formatting number.",e.locale,t))}return[]}var bn=["numeric","style"];function gn(e,t,r,n,i){void 0===i&&(i={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new _r('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',xr.MISSING_INTL_API));try{return function(e,t,r){var n=e.locale,i=e.formats,o=e.onError;void 0===r&&(r={});var a=r.format,s=!!a&&Wr(i,"relative",a,o)||{};return t(n,$r(r,bn,s))}(e,t,i).format(r,n)}catch(t){e.onError(new Hr("Error formatting relative time.",e.locale,t))}return String(r)}var yn=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function vn(e,t,r,n){var i=e.locale,o=e.formats,a=e.onError,s=e.timeZone;void 0===n&&(n={});var l=n.format,c=lt(lt({},s&&{timeZone:s}),l&&Wr(o,t,l,a)),u=$r(n,yn,c);return"time"!==t||u.hour||u.minute||u.second||u.timeStyle||u.dateStyle||(u=lt(lt({},u),{hour:"numeric",minute:"numeric"})),r(i,u)}function wn(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return vn(e,"date",t,a).format(s)}catch(t){e.onError(new Hr("Error formatting date.",e.locale,t))}return String(s)}function En(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return vn(e,"time",t,a).format(s)}catch(t){e.onError(new Hr("Error formatting time.",e.locale,t))}return String(s)}function Sn(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=r[2],s=void 0===a?{}:a,l=e.timeZone,c=e.locale,u=e.onError,d=$r(s,yn,l?{timeZone:l}:{});try{return t(c,d).formatRange(i,o)}catch(t){u(new Hr("Error formatting date time range.",e.locale,t))}return String(i)}function xn(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return vn(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new Hr("Error formatting date.",e.locale,t))}return[]}function On(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return vn(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new Hr("Error formatting time.",e.locale,t))}return[]}var Pn=["type"];function Cn(e,t,r,n){var i=e.locale,o=e.onError;void 0===n&&(n={}),Intl.PluralRules||o(new _r('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',xr.MISSING_INTL_API));var a=$r(n,Pn);try{return t(i,a).select(r)}catch(e){o(new Hr("Error formatting plural.",i,e))}return"other"}var kn=["type","style"],_n=Date.now();function An(e,t,r,n){void 0===n&&(n={});var i=Tn(e,t,r,n).reduce((function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]);return 1===i.length?i[0]:0===i.length?"":i}function Tn(e,t,r,n){var i=e.locale,o=e.onError;void 0===n&&(n={}),Intl.ListFormat||o(new _r('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',xr.MISSING_INTL_API));var a=$r(n,kn);try{var s={},l=r.map((function(e,t){if("object"==typeof e){var r=function(e){return"".concat(_n,"_").concat(e,"_").concat(_n)}(t);return s[r]=e,r}return String(e)}));return t(i,a).formatToParts(l).map((function(e){return"literal"===e.type?e:lt(lt({},e),{value:s[e.value]||e.value})}))}catch(e){o(new Hr("Error formatting list.",i,e))}return r}var jn,In=["style","type","fallback","languageDisplay"];function Dn(e,t,r,n){var i=e.locale,o=e.onError;Intl.DisplayNames||o(new _r('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',xr.MISSING_INTL_API));var a=$r(n,In);try{return t(i,a).of(r)}catch(e){o(new Hr("Error formatting display name.",i,e))}}function Mn(e,t){var r=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,i=br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ut([void 0],t,!1)))}),{cache:Gr(e.dateTime),strategy:Cr.variadic}),o=br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ut([void 0],t,!1)))}),{cache:Gr(e.number),strategy:Cr.variadic}),a=br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ut([void 0],t,!1)))}),{cache:Gr(e.pluralRules),strategy:Cr.variadic});return{getDateTimeFormat:i,getNumberFormat:o,getMessageFormat:br((function(e,t,r,n){return new Fr(e,t,r,lt({formatters:{getNumberFormat:o,getDateTimeFormat:i,getPluralRules:a}},n||{}))}),{cache:Gr(e.message),strategy:Cr.variadic}),getRelativeTimeFormat:br((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,ut([void 0],e,!1)))}),{cache:Gr(e.relativeTime),strategy:Cr.variadic}),getPluralRules:a,getListFormat:br((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,ut([void 0],e,!1)))}),{cache:Gr(e.list),strategy:Cr.variadic}),getDisplayNames:br((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,ut([void 0],e,!1)))}),{cache:Gr(e.displayNames),strategy:Cr.variadic})}}(t),n=lt(lt({},qr),e),i=n.locale,o=n.defaultLocale,a=n.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&a?a(new Br('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&a&&a(new Br('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(a&&a(new Ur('"locale" was not configured, using "'.concat(o,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),n.locale=n.defaultLocale||"en"),function(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}(n),lt(lt({},n),{formatters:r,formatNumber:pn.bind(null,n,r.getNumberFormat),formatNumberToParts:mn.bind(null,n,r.getNumberFormat),formatRelativeTime:gn.bind(null,n,r.getRelativeTimeFormat),formatDate:wn.bind(null,n,r.getDateTimeFormat),formatDateToParts:xn.bind(null,n,r.getDateTimeFormat),formatTime:En.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:Sn.bind(null,n,r.getDateTimeFormat),formatTimeToParts:On.bind(null,n,r.getDateTimeFormat),formatPlural:Cn.bind(null,n,r.getPluralRules),formatMessage:dn.bind(null,n,r),$t:dn.bind(null,n,r),formatList:An.bind(null,n,r.getListFormat),formatListToParts:Tn.bind(null,n,r.getListFormat),formatDisplayName:Dn.bind(null,n,r.getDisplayNames)})}function Rn(t){return t?Object.keys(t).reduce((function(r,n){var i,o=t[n];return r[n]="function"==typeof o?(i=o,function(t){return i(e.Children.toArray(t))}):o,r}),{}):t}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(jn||(jn={}));var Fn=function(t,r,n,i){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var s=Rn(i),l=dn.apply(void 0,ut([t,r,n,s],o,!1));return Array.isArray(l)?e.Children.toArray(l):l},Ln=function(e,t){var r=e.defaultRichTextElements,n=ct(e,["defaultRichTextElements"]),i=Rn(r),o=Mn(lt(lt(lt({},Xr),n),{defaultRichTextElements:i}),t),a={locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:i};return lt(lt({},o),{formatMessage:Fn.bind(null,a,o.formatters),$t:Fn.bind(null,a,o.formatters)})};function Nn(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}var Un=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},e.state={cache:e.cache,intl:Ln(Nn(e.props),e.cache),prevConfig:Nn(e.props)},e}return st(r,t),r.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,i=Nn(e);return Kr(r,i)?null:{intl:Ln(i,n),prevConfig:i}},r.prototype.render=function(){return Zr(this.state.intl),e.createElement(Jr,{value:this.state.intl},this.props.children)},r.displayName="IntlProvider",r.defaultProps=Xr,r}(e.PureComponent);const Bn=Un,Hn=({language:t,messages:r,children:n})=>t&&r?e.createElement(Bn,{locale:t,messages:r},n):e.Children.only(n);var Vn,zn;!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(Vn||(Vn={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(zn||(zn={}));var $n=function(e){var t=tn(),r=e.value,n=e.children,i=ct(e,["value","children"]);return n(t.formatNumberToParts(r,i))};function qn(e){var t=function(t){var r=tn(),n=t.value,i=t.children,o=ct(t,["value","children"]),a="string"==typeof n?new Date(n||0):n;return i("formatDate"===e?r.formatDateToParts(a,o):r.formatTimeToParts(a,o))};return t.displayName=zn[e],t}function Gn(t){var r=function(r){var n=tn(),i=r.value,o=r.children,a=ct(r,["value","children"]),s=n[t](i,a);if("function"==typeof o)return o(s);var l=n.textComponent||e.Fragment;return e.createElement(l,null,s)};return r.displayName=Vn[t],r}$n.displayName="FormattedNumberParts",$n.displayName="FormattedNumberParts",Gn("formatDate"),Gn("formatTime"),Gn("formatNumber"),Gn("formatList"),Gn("formatDisplayName"),qn("formatDate"),qn("formatTime");const Wn={today:{id:"be.today",defaultMessage:"today"},yesterday:{id:"be.yesterday",defaultMessage:"yesterday"},logo:{id:"be.logo",defaultMessage:"Logo"},error:{id:"be.error",defaultMessage:"Error"},success:{id:"be.success",defaultMessage:"Success"},preview:{id:"be.preview",defaultMessage:"Preview"},previewError:{id:"be.previewError",defaultMessage:"This preview didn’t load. Please try to open or download the file to view."},previewErrorBlockedByPolicy:{id:"be.previewErrorBlockedByPolicy",defaultMessage:"Your access to this content is restricted due to a security policy."},boxEditErrorBlockedByPolicy:{id:"be.boxEditErrorBlockedByPolicy",defaultMessage:"Local editing of this content has been disabled based on an access policy"},previewUpdate:{id:"be.previewUpdate",defaultMessage:"A new version of this file is available."},complete:{id:"be.complete",defaultMessage:"Complete"},loading:{id:"be.loading",defaultMessage:"Loading"},reload:{id:"be.reload",defaultMessage:"Reload"},open:{id:"be.open",defaultMessage:"Open"},close:{id:"be.close",defaultMessage:"Close"},copy:{id:"be.copy",defaultMessage:"Copy"},delete:{id:"be.delete",defaultMessage:"Delete"},rename:{id:"be.rename",defaultMessage:"Rename"},remove:{id:"be.remove",defaultMessage:"Remove"},resume:{id:"be.resume",defaultMessage:"Resume"},resumeAll:{id:"be.resumeAll",defaultMessage:"Resume All"},retry:{id:"be.retry",defaultMessage:"Retry"},share:{id:"be.share",defaultMessage:"Share"},download:{id:"be.download",defaultMessage:"Download"},save:{id:"be.save",defaultMessage:"Save"},cancel:{id:"be.cancel",defaultMessage:"Cancel"},create:{id:"be.create",defaultMessage:"Create"},choose:{id:"be.choose",defaultMessage:"Choose"},upload:{id:"be.upload",defaultMessage:"Upload"},uploadEmptyState:{id:"be.uploadEmptyState",defaultMessage:"Empty state"},uploadErrorState:{id:"be.uploadErrorState",defaultMessage:"Error state"},uploadSuccessState:{id:"be.uploadSuccessState",defaultMessage:"Success state"},add:{id:"be.add",defaultMessage:"Add"},gridView:{id:"be.gridView",defaultMessage:"Switch to Grid View"},gridViewIncreaseColumnSize:{id:"be.gridView.increaseColumnSize",defaultMessage:"Increase column size"},gridViewDecreaseColumnSize:{id:"be.gridView.decreaseColumnSize",defaultMessage:"Decrease column size"},gridViewSliderLabel:{id:"be.gridView.sliderLabel",defaultMessage:"Grid view size"},listView:{id:"be.listView",defaultMessage:"Switch to List View"},sort:{id:"be.sort",defaultMessage:"Sort"},newFolder:{id:"be.newFolder",defaultMessage:"New Folder"},in:{id:"be.in",defaultMessage:"In"},print:{id:"be.print",defaultMessage:"Print"},selected:{id:"be.selected",defaultMessage:"{count} Selected"},max:{id:"be.max",defaultMessage:"max"},nameDate:{id:"be.nameDate",defaultMessage:"{date} by {name}"},modified:{id:"be.itemModified",defaultMessage:"Modified"},modifiedDateBy:{id:"be.modifiedDateBy",defaultMessage:"Modified {date} by {name}"},modifiedDate:{id:"be.modifiedDate",defaultMessage:"Modified {date}"},created:{id:"be.itemCreated",defaultMessage:"Created"},owner:{id:"be.itemOwner",defaultMessage:"Owner"},uploader:{id:"be.itemUploader",defaultMessage:"Uploader"},interacted:{id:"be.itemInteracted",defaultMessage:"Last Accessed"},interactedDate:{id:"be.interactedDate",defaultMessage:"Last accessed on {date}"},name:{id:"be.itemName",defaultMessage:"Name"},size:{id:"be.itemSize",defaultMessage:"Size"},deleteDialogLabel:{id:"be.deleteDialogLabel",defaultMessage:"Confirm Delete"},deleteDialogFileText:{id:"be.deleteDialogFileText",defaultMessage:"Are you sure you want to delete {name}?"},deleteDialogFolderText:{id:"be.deleteDialogFolderText",defaultMessage:"Are you sure you want to delete {name} and all its contents?"},renameDialogLabel:{id:"be.renameDialogLabel",defaultMessage:"Rename"},renameDialogText:{id:"be.renameDialogText",defaultMessage:"Please enter a new name for {name}:"},renameDialogErrorInvalid:{id:"be.renameDialogErrorInvalid",defaultMessage:"This name is invalid."},renameDialogErrorInUse:{id:"be.renameDialogErrorInUse",defaultMessage:"An item with the same name already exists."},renameDialogErrorTooLong:{id:"be.renameDialogErrorTooLong",defaultMessage:"This name is too long."},createDialogLabel:{id:"be.createDialogLabel",defaultMessage:"New Folder"},createDialogText:{id:"be.createDialogText",defaultMessage:"Please enter a name."},createDialogErrorInvalid:{id:"be.createDialogErrorInvalid",defaultMessage:"This is an invalid folder name."},createDialogErrorTooLong:{id:"be.createDialogErrorTooLong",defaultMessage:"This folder name is too long."},createDialogErrorInUse:{id:"be.createDialogErrorInUse",defaultMessage:"A folder with the same name already exists."},shareDialogLabel:{id:"be.shareDialogLabel",defaultMessage:"Share"},shareDialogText:{id:"be.shareDialogText",defaultMessage:"Shared Link:"},shareDialogNone:{id:"be.shareDialogNone",defaultMessage:"None"},shareAccessOpen:{id:"be.shareAccessOpen",defaultMessage:"Access: People with the link"},shareAccessCollab:{id:"be.shareAccessCollab",defaultMessage:"Access: People in this folder"},shareAccessCompany:{id:"be.shareAccessCompany",defaultMessage:"People in this company"},shareAccessNone:{id:"be.shareAccessNone",defaultMessage:"No shared link"},shareAccessRemove:{id:"be.shareAccessRemove",defaultMessage:"Remove shared link"},searchClear:{id:"be.searchClear",defaultMessage:"Clear search"},clearSelection:{id:"be.clearSelection",defaultMessage:"Clear selection"},searchPlaceholder:{id:"be.searchPlaceholder",defaultMessage:"Search files and folders"},sidebarAccessStats:{id:"be.sidebarAccessStats",defaultMessage:"Access Stats"},sidebarContentInsights:{id:"be.sidebarContentInsights",defaultMessage:"Content Insights"},sidebarShow:{id:"be.sidebarShow",defaultMessage:"Show Sidebar"},sidebarHide:{id:"be.sidebarHide",defaultMessage:"Hide Sidebar"},description:{id:"be.description",defaultMessage:"Description"},descriptionPlaceholder:{id:"be.descriptionPlaceholder",defaultMessage:"Enter a description"},sidebarDetailsTitle:{id:"be.sidebarDetailsTitle",defaultMessage:"Details"},sidebarSkillsTitle:{id:"be.sidebarSkillsTitle",defaultMessage:"Skills"},sidebarSkillsErrorTitle:{id:"be.sidebarSkillsErrorTitle",defaultMessage:"Skills Error"},sidebarSkillsErrorContent:{id:"be.sidebarSkillsErrorContent",defaultMessage:"An error has occurred while updating skills. Please refresh the page and try again."},sidebarBoxAITitle:{id:"be.sidebarBoxAITitle",defaultMessage:"Box AI"},sidebarBoxAIContent:{id:"be.sidebarBoxAIContent",defaultMessage:"content"},sidebarBoxAISwitchToModalView:{id:"be.sidebarBoxAISwitchToModalView",defaultMessage:"Switch to modal view"},sidebarActivityTitle:{id:"be.sidebarActivityTitle",defaultMessage:"Activity"},sidebarDocGenTitle:{id:"be.sidebarDocGenTitle",defaultMessage:"Doc Gen Tags"},sidebarDocGenTooltip:{id:"be.sidebarDocGenTooltip",defaultMessage:"Box Doc Gen"},sidebarMetadataTitle:{id:"be.sidebarMetadataTitle",defaultMessage:"Metadata"},sidebarMetadataEditingErrorContent:{id:"be.sidebarMetadataEditingErrorContent",defaultMessage:"An error has occurred while updating metadata. Please refresh the page and try again."},sidebarMetadataFetchingErrorContent:{id:"be.sidebarMetadataFetchingErrorContent",defaultMessage:"An error has occurred while fetching metadata. Please refresh the page and try again."},sidebarFileFetchingErrorContent:{id:"be.sidebarFileFetchingErrorContent",defaultMessage:"An error has occurred while fetching your Box file. Please refresh the page and try again."},sidebarProperties:{id:"be.sidebarProperties",defaultMessage:"File Properties"},sidebarNavLabel:{id:"be.sidebarNavLabel",defaultMessage:"Sidebar"},defaultSkill:{id:"be.defaultSkill",defaultMessage:"Skill Card"},statusSkill:{id:"be.statusSkill",defaultMessage:"Status"},topicsSkill:{id:"be.topicsSkill",defaultMessage:"Topics"},keywordSkill:{id:"be.keywordSkill",defaultMessage:"Topics"},faceSkill:{id:"be.faceSkill",defaultMessage:"Faces"},transcriptSkill:{id:"be.transcriptSkill",defaultMessage:"Transcript"},skillPendingStatus:{id:"be.skillPendingStatus",defaultMessage:"We’re working on processing your file - please hold!"},skillInvokedStatus:{id:"be.skillInvokedStatus",defaultMessage:"We’re preparing to process your file - please hold!"},skillUnknownError:{id:"be.skillUnknownError",defaultMessage:"Something went wrong with running this skill or fetching its data."},skillInvalidFileSizeError:{id:"be.skillInvalidFileSizeError",defaultMessage:"We’re sorry, no skills information was found. This file size is currently not supported."},skillInvalidFileExtensionError:{id:"be.skillInvalidFileExtensionError",defaultMessage:"We’re sorry, no skills information was found. This file extension is currently not supported."},skillNoInfoFoundError:{id:"be.skillNoInfoFoundError",defaultMessage:"We’re sorry, no skills information was found."},skillFileProcessingError:{id:"be.skillFileProcessingError",defaultMessage:"We’re sorry, something went wrong with processing the file."},uploadErrorTooManyFiles:{id:"be.uploadErrorTooManyFiles",defaultMessage:"You can only upload up to {fileLimit} file(s) at a time."},uploadError:{id:"be.uploadError",defaultMessage:"A network error has occurred while trying to upload."},uploadEmptyWithFolderUploadEnabled:{id:"be.uploadEmptyWithFolderUploadEnabled",defaultMessage:"Drag and drop files and folders"},uploadEmptyWithFolderUploadDisabled:{id:"be.uploadEmptyWithFolderUploadDisabled",defaultMessage:"Drag and drop files"},uploadEmptyFileInput:{id:"be.uploadEmptyFileInput",defaultMessage:"Browse your device"},uploadEmptyFolderInput:{id:"be.uploadEmptyFolderInput",defaultMessage:"Select Folders"},uploadNoDragDrop:{id:"be.uploadNoDragDrop",defaultMessage:"Select files from your device"},uploadInProgress:{id:"be.uploadInProgress",defaultMessage:"Drag and drop to add additional files"},uploadSuccess:{id:"be.uploadSuccess",defaultMessage:"Success! Your files have been uploaded."},uploadSuccessFileInput:{id:"be.uploadSuccessFileInput",defaultMessage:"Select More Files"},uploadSuccessFolderInput:{id:"be.uploadSuccessFolderInput",defaultMessage:"Select More Folders"},uploadOptions:{id:"be.uploadOptions",defaultMessage:"{option1} or {option2}"},nameASC:{id:"be.nameASC",defaultMessage:"Name: A → Z"},nameDESC:{id:"be.nameDESC",defaultMessage:"Name: Z → A"},dateASC:{id:"be.dateASC",defaultMessage:"Date: Oldest → Newest"},dateDESC:{id:"be.dateDESC",defaultMessage:"Date: Newest → Oldest"},sizeASC:{id:"be.sizeASC",defaultMessage:"Size: Smallest → Largest"},sizeDESC:{id:"be.sizeDESC",defaultMessage:"Size: Largest → Smallest"},breadcrumbLabel:{id:"be.breadcrumb.breadcrumbLabel",defaultMessage:"Breadcrumb"},errorBreadcrumb:{id:"be.errorBreadcrumb",defaultMessage:"Error"},rootBreadcrumb:{id:"be.rootBreadcrumb",defaultMessage:"All Files"},searchBreadcrumb:{id:"be.searchBreadcrumb",defaultMessage:"Search Results"},recentsBreadcrumb:{id:"be.recentsBreadcrumb",defaultMessage:"Recents"},selectedBreadcrumb:{id:"be.selectedBreadcrumb",defaultMessage:"Selected Items"},uploadsManagerUploadInProgress:{id:"be.uploadsManagerUploadInProgress",defaultMessage:"Uploading"},uploadsManagerUploadPrompt:{id:"be.uploadsManagerUploadPrompt",defaultMessage:"Drop files on this page to upload them into this folder."},uploadsManagerUploadComplete:{id:"be.uploadsManagerUploadComplete",defaultMessage:"Completed"},uploadsManagerUploadFailed:{id:"be.uploadsManagerUploadFailed",defaultMessage:"Some Uploads Failed"},uploadsCancelButtonTooltip:{id:"be.uploadsCancelButtonTooltip",defaultMessage:"Cancel this upload"},uploadsRetryButtonTooltip:{id:"be.uploadsRetryButtonTooltip",defaultMessage:"Retry upload"},uploadsFileSizeLimitExceededErrorMessage:{id:"be.uploadsFileSizeLimitExceededErrorMessage",defaultMessage:"File size exceeds the folder owner’s file size limit"},uploadsFileSizeLimitExceededErrorMessageForUpgradeCta:{id:"be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta",defaultMessage:"This file exceeds your plan’s upload limit. Upgrade now to store larger files."},uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta:{id:"be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta",defaultMessage:"Upgrade"},uploadsStorageLimitErrorMessage:{id:"be.uploadsStorageLimitErrorMessage",defaultMessage:"Account storage limit reached"},uploadsPendingFolderSizeLimitErrorMessage:{id:"be.uploadsPendingFolderSizeLimitErrorMessage",defaultMessage:"Pending app folder size limit exceeded"},uploadsItemNameInUseErrorMessage:{id:"be.uploadsItemNameInUseErrorMessage",defaultMessage:"A file with this name already exists."},uploadsProvidedFolderNameInvalidMessage:{id:"be.uploadsProvidedFolderNameInvalidMessage",defaultMessage:"Provided folder name, {name}, could not be used to create a folder."},uploadsOneOrMoreChildFoldersFailedToUploadMessage:{id:"be.uploadsOneOrMoreChildFoldersFailedToUploadMessage",defaultMessage:"One or more child folders failed to upload."},uploadsPackageUploadErrorMessage:{id:"be.uploadsPackageUploadErrorMessage",defaultMessage:"Failed to upload package file. Please retry by saving as a single file."},uploadsDefaultErrorMessage:{id:"be.uploadsDefaultErrorMessage",defaultMessage:"Something went wrong with the upload. Please try again."},errorOccured:{id:"be.errorOccured",defaultMessage:"An error occurred"},editLabel:{id:"be.editLabel",defaultMessage:"Edit"},getVersionInfo:{id:"be.getVersionInfo",defaultMessage:"Get version information"},keywordsApplied:{id:"be.keywordsAppliedList",defaultMessage:"Keywords were applied"},keywordsList:{id:"be.keywordsList",defaultMessage:"Keywords: {words}"},noActivity:{id:"be.noActivity",defaultMessage:"No activity to show"},noActivityAnnotationPrompt:{id:"be.noActivityAnnotationPrompt",defaultMessage:"Hover over the preview and use the controls at the bottom to annotate the file."},noActivityCommentPrompt:{id:"be.noActivityCommentPrompt",defaultMessage:"Comment and @mention people to notify them."},versionDeleted:{id:"be.versionDeleted",defaultMessage:"{name} deleted v{version_number}"},versionPromoted:{id:"be.versionPromoted",defaultMessage:"{name} promoted v{version_promoted} to v{version_number}"},versionRestored:{id:"be.versionRestored",defaultMessage:"{name} restored v{version_number}"},versionMultipleUsersUploaded:{id:"be.versionMultipleUsersUploaded",defaultMessage:"{numberOfCollaborators} collaborators uploaded v{versions}"},versionMultipleUsersRestored:{id:"be.versionMultipleUsersRestored",defaultMessage:"{numberOfCollaborators} collaborators restored v{versions}"},versionMultipleUsersTrashed:{id:"be.versionMultipleUsersTrashed",defaultMessage:"{numberOfCollaborators} collaborators deleted v{versions}"},versionUploadCollapsed:{id:"be.versionUploadCollapsed",defaultMessage:"{name} uploaded v{versions}"},versionRestoreCollapsed:{id:"be.versionRestoreCollapsed",defaultMessage:"{name} restored v{versions}"},versionTrashCollapsed:{id:"be.versionTrashCollapsed",defaultMessage:"{name} deleted v{versions}"},versionUploaded:{id:"be.versionUploaded",defaultMessage:"{name} uploaded v{version_number}"},fileRequestDisplayName:{id:"be.fileRequestDisplayName",defaultMessage:"File Request"},defaultInlineErrorContentMessage:{id:"be.defaultInlineErrorContentMessage",defaultMessage:"Please try again later."},fileDescriptionInlineErrorTitleMessage:{id:"be.fileDescriptionInlineErrorTitleMessage",defaultMessage:"Something went wrong when saving the description."},defaultErrorMaskHeaderMessage:{id:"be.defaultErrorMaskHeaderMessage",defaultMessage:"We’re sorry, something went wrong."},defaultErrorMaskSubHeaderMessage:{id:"be.defaultErrorMaskSubHeaderMessage",defaultMessage:"Please refresh the page or try again later."},fileAccessStatsErrorHeaderMessage:{id:"be.fileAccessStatsErrorHeaderMessage",defaultMessage:"Something went wrong when fetching the access stats."},fileAccessStatsPermissionsError:{id:"be.accessStatsPermissionsError",defaultMessage:"Sorry, you do not have permission to see the access stats for this file."},fileClassificationErrorHeaderMessage:{id:"be.fileClassificationErrorHeaderMessage",defaultMessage:"Something went wrong when fetching classification."},currentUserErrorHeaderMessage:{id:"be.currentUserErrorHeaderMessage",defaultMessage:"Something went wrong when fetching the current user."},activityFeedItemApiError:{id:"be.activityFeedItemApiError",defaultMessage:"There was a problem loading the activity feed. Please refresh the page or try again later."},nextFile:{id:"be.nextFile",defaultMessage:"Next File"},nextPage:{id:"be.pagination.nextPage",defaultMessage:"Next Page"},nextPageButton:{id:"be.pagination.nextPageButton",defaultMessage:"Next"},pageStatus:{id:"be.pagination.pageStatus",defaultMessage:"{pageNumber} of {pageCount}"},pageEntryStatus:{id:"be.pagination.pageEntryStatus",defaultMessage:"Showing {startEntryIndex} to {endEntryIndex} of {totalCount} entries"},previousFile:{id:"be.previousFile",defaultMessage:"Previous File"},previousPage:{id:"be.pagination.previousPage",defaultMessage:"Previous Page"},previousPageButton:{id:"be.pagination.previousPageButton",defaultMessage:"Previous"},previousSegment:{id:"be.previousSegment",defaultMessage:"Previous Segment"},nextSegment:{id:"be.nextSegment",defaultMessage:"Next Segment"},transcriptEdit:{id:"be.transcriptEdit",defaultMessage:"Click any section to edit."},emptyOpenWithDescription:{id:"be.emptyOpenWithDescription",defaultMessage:"No integrations are available for this file"},errorOpenWithDescription:{id:"be.errorOpenWithDescription",defaultMessage:"Opening this file with other services is currently unavailable"},defaultOpenWithDescription:{id:"be.defaultOpenWithDescription",defaultMessage:"Open this file with a partner service"},executeIntegrationOpenWithErrorHeader:{id:"be.executeIntegrationOpenWithErrorHeader",defaultMessage:"We’re sorry, this integration is currently unavailable."},executeIntegrationOpenWithErrorSubHeader:{id:"be.executeIntegrationOpenWithErrorSubHeader",defaultMessage:"Please try again later."},boxToolsInstallMessage:{id:"be.boxToolsInstallMessage",defaultMessage:"Install {boxTools} to open this file on your desktop"},boxToolsBlacklistedError:{id:"be.boxEditBlacklistedError",defaultMessage:"This file cannot be opened locally"},drawAnnotation:{id:"be.drawAnnotation",defaultMessage:"Drawing annotation mode"},pointAnnotation:{id:"be.pointAnnotation",defaultMessage:"Point annotation mode"},expand:{id:"be.expand",defaultMessage:"Expand"},collapse:{id:"be.collapse",defaultMessage:"Collapse"},back:{id:"be.back",defaultMessage:"Back"},priorCollaborator:{id:"be.priorCollaborator",defaultMessage:"A Prior Collaborator"},moreOptions:{id:"be.moreOptions",defaultMessage:"More options"},bookmark:{id:"be.bookmark",defaultMessage:"Bookmark"},archive:{id:"be.archive",defaultMessage:"Archive"},archivedFolder:{id:"be.archivedFolder",defaultMessage:"Archived Folder"},collaboratedFolder:{id:"be.collaboratedFolder",defaultMessage:"Collaborated Folder"},externalFolder:{id:"be.externalFolder",defaultMessage:"External Folder"},file:{id:"be.file",defaultMessage:"File"},iconFile:{id:"be.iconFile",defaultMessage:"{extension} File"},folder:{id:"be.folder",defaultMessage:"Folder"},personalFolder:{id:"be.personalFolder",defaultMessage:"Personal Folder"},numFilesSelected:{id:"be.numFilesSelected",defaultMessage:"\n {numSelected, plural,\n =0 {0 files selected}\n one {1 file selected}\n other {# files selected}\n }\n "},multipleValues:{id:"be.multipleValues",defaultMessage:"Multiple Values"},metadataUpdateErrorNotification:{id:"be.metadataUpdateErrorNotification",defaultMessage:"Unable to save changes. Please try again."},metadataUpdateSuccessNotification:{id:"be.metadataUpdateSuccessNotification",defaultMessage:"\n {numSelected, plural,\n =1 {1 document updated}\n other {# documents updated}\n }\n "}};var Zn=__webpack_require__(64633),Xn=__webpack_require__.n(Zn);const Kn=["children","title"];class Qn extends e.Component{constructor(...e){var t,r,n;super(...e),t=this,r="id",n=nt()("icon"),(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}render(){const t=this.props,{children:r,title:n}=t,i=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,Kn),o=`${this.id}-title`,a=Xn()(i,["role","aria-labelledby"]);return a.focusable="false",n?(a["aria-labelledby"]=o,a.role="img"):(a["aria-hidden"]="true",a.role="presentation"),e.createElement("svg",a,n?e.createElement("title",{id:o},n):null,r)}}const Yn=Qn,Jn=({className:t="",color:r="#979797",height:n=64,title:i,width:o=64})=>e.createElement(Yn,{className:`icon-sad-cloud ${t}`,height:n,title:i,viewBox:"0 0 1224 792",width:o},e.createElement("g",{transform:"translate(1 1)"},e.createElement("path",{className:"fill-color",d:"M273.7 788.9c-142 0-257.6-116.5-257.6-259.7 0-140.3 110.9-255 249-259.6 4.6-70.2 33.9-135.4 83.6-185.3C402.8 29.7 475-.3 551.9-.3c56.8 0 110.7 11.3 156 32.7 43.7 20.7 78.4 50.5 101.3 86.9 7.8-1.9 16.2-2.9 25.1-2.9 43.4 0 97.3 23.8 128.2 56.6l.2.2c23.9 26 41.2 59.1 48.9 93.1 4.1 18.3 5 35.1 2.8 49.2 15.8 3.5 32.3 9.8 48.9 18.7 25.1 13.5 49.9 32.7 71.7 55.4 48.9 51.2 77 113.7 77 171.7 0 61.1-23.4 118.4-66 161.3-42.5 42.8-99.1 66.4-159.5 66.4l-712.8-.1zm0-479.5c-120 0-217.6 98.6-217.6 219.7 0 121.2 97.6 219.7 217.6 219.7h712.8c49.6 0 96.2-19.4 131.1-54.6 35.1-35.3 54.4-82.6 54.4-133.1 0-47.7-24-100.2-65.9-144-37.8-39.5-84.7-65-119.6-65-7.9 0-15.1-4.6-18.3-11.9-3.2-7.2-1.9-15.6 3.4-21.5 2.8-3.1 6.8-18 1-43.8-6.1-26.9-20.4-54.1-39.3-74.8-23.2-24.6-66.7-43.9-99-43.9-9.9 0-18.3 1.7-24.8 5.2-4.7 2.5-10.3 3-15.3 1.4-5.1-1.6-9.3-5.2-11.8-9.9-18.2-35.5-49.9-64.7-91.6-84.4-40-18.9-88-28.9-138.9-28.9-66.2 0-128.3 25.8-175 72.8-46.8 47.1-72.6 109.9-72.6 176.9 0 11-9 20-20 20h-10.6z",fill:r}),e.createElement("path",{className:"fill-color",d:"M442.7 585.5c-2.9 0-5.9-.6-8.7-2-10-4.8-14.1-16.7-9.3-26.7 15.4-32 39.7-59.1 70.3-78.1 31-19.3 66.9-29.5 104-29.5 75.5 0 141.4 40 176.2 107.1 5.1 9.8 1.3 21.9-8.5 27-9.8 5.1-21.9 1.3-27-8.5-27.8-53.6-80.3-85.5-140.6-85.5-29.6 0-58.2 8.1-82.8 23.5-24.1 15.1-43.3 36.3-55.4 61.5-3.6 7-10.7 11.2-18.2 11.2z",fill:r}),e.createElement("circle",{className:"fill-color",cx:"496.3",cy:"351.5",fill:r,r:"32.1"}),e.createElement("circle",{className:"fill-color",cx:"688.9",cy:"351.5",fill:r,r:"32.1"}))),ei={id:"boxui.errorMask.iconSadCloudText",defaultMessage:"Sad Box Cloud"},ti=({errorHeader:t,errorSubHeader:r})=>e.createElement("div",{className:"error-mask"},e.createElement(Jn,{className:"error-mask-sad-cloud",height:50,title:e.createElement(an,ei)}),e.createElement("h4",null,t),e.createElement("h5",null,r)),ri=()=>e.createElement("section",{className:"be-default-error"},e.createElement(ti,{errorHeader:e.createElement(an,Wn.defaultErrorMaskHeaderMessage),errorSubHeader:e.createElement(an,Wn.defaultErrorMaskSubHeaderMessage)})),ni=["children","errorComponent"];function ii(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function oi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ii(Object(r),!0).forEach((function(t){ai(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ii(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ai(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class si extends e.Component{constructor(...e){super(...e),ai(this,"state",{}),ai(this,"handleError",((e,t,r={},n=this.props.errorOrigin)=>{if(!e||!t||!n)return;const i={type:"error",code:t,message:e.message,origin:n,context_info:oi({[Ae]:!0},r)};this.props.onError(i)}))}componentDidCatch(e,t){this.setState({error:e},(()=>{this.handleError(e,"unexpected_exception_error",oi({},t),this.props.errorOrigin)}))}render(){const t=this.props,{children:r,errorComponent:n}=t,i=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,ni),{error:o}=this.state;return o?e.createElement(n,{error:o}):e.cloneElement(r,oi(oi({},i),{},{onError:this.handleError}))}}ai(si,"defaultProps",{errorComponent:ri,onError:ot()});const li=si;function ci(){return ci=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ci.apply(null,arguments)}var ui=__webpack_require__(19474),di=__webpack_require__.n(ui);const hi=class{constructor(){this.cache={}}set(e,t){this.cache[e]=t}merge(e,t){if(!this.has(e))throw new Error(`Key ${e} not in cache!`);this.set(e,di()({},this.get(e),t))}unset(e){delete this.cache[e]}unsetAll(e){Object.keys(this.cache).forEach((t=>{t.startsWith(e)&&delete this.cache[t]}))}has(e){return{}.hasOwnProperty.call(this.cache,e)}get(e){if(this.has(e))return this.cache[e]}};var fi=__webpack_require__(76519),pi=__webpack_require__.n(fi),mi=__webpack_require__(25358),bi=__webpack_require__.n(mi);function gi(e){const t=e.lastModified||e.lastModifiedDate;if(t){let e=null;if("number"==typeof t){if(t<0)return null;e=new Date(t)}else("string"==typeof t||t instanceof Date)&&(e=new Date(t));if(e&&(r=e,"[object Date]"===Object.prototype.toString.call(r)&&!Number.isNaN(r.getTime()))){const t=function(e){return e.toISOString().replace(/\.[0-9]{3}/,"")}(e);return t}}var r;return null}function yi(e,t,r){const n=e*r**2;return n>t?t:n}function vi(e,t,r=0,n=1){let i=0,o=r;return new Promise(((r,a)=>{!function s(l){setTimeout((()=>{i+=1,new Promise(((t,r)=>{e(t,r,a)})).then(r).catch((e=>{if(i<t)return o*=n,void s(o);a(e)}))}),l)}(o)}))}var wi=__webpack_require__(5026),Ei=__webpack_require__.n(wi);function Si(e,t){const r=window.crypto||window.msCrypto;return r!==window.msCrypto?r.subtle.digest(e,t):new Promise(((n,i)=>{if("SHA-1"===e)try{const e=Ei().arrayBuffer(t);n(e)}catch(e){i(e)}else{const o=r.subtle.digest({name:e},t);o.oncomplete=e=>{n(e.target.result)},o.onerror=i}}))}function xi(e,t,r){"use asm";var n=new e.Int32Array(r);function i(e,t){e=e|0;t=t|0;var r=0,i=0,o=0,a=0,s=0,l=0,c=0,u=0,d=0,h=0,f=0,p=0,m=0,b=0;o=n[t+320>>2]|0;s=n[t+324>>2]|0;c=n[t+328>>2]|0;d=n[t+332>>2]|0;f=n[t+336>>2]|0;for(r=0;(r|0)<(e|0);r=r+64|0){a=o;l=s;u=c;h=d;p=f;for(i=0;(i|0)<64;i=i+4|0){b=n[r+i>>2]|0;m=((o<<5|o>>>27)+(s&c|~s&d)|0)+((b+f|0)+1518500249|0)|0;f=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[e+i>>2]=b}for(i=e+64|0;(i|0)<(e+80|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s&c|~s&d)|0)+((b+f|0)+1518500249|0)|0;f=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}for(i=e+80|0;(i|0)<(e+160|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s^c^d)|0)+((b+f|0)+1859775393|0)|0;f=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}for(i=e+160|0;(i|0)<(e+240|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s&c|s&d|c&d)|0)+((b+f|0)-1894007588|0)|0;f=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}for(i=e+240|0;(i|0)<(e+320|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s^c^d)|0)+((b+f|0)-899497514|0)|0;f=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}o=o+a|0;s=s+l|0;c=c+u|0;d=d+h|0;f=f+p|0}n[t+320>>2]=o;n[t+324>>2]=s;n[t+328>>2]=c;n[t+332>>2]=d;n[t+336>>2]=f}return{hash:i}}const Oi=()=>{const e=new Blob([`const RushaCore = ${xi.toString()}`,";\n",'function Rusha(e){for(var r=function(e){if("string"==typeof e)return"string";if(e instanceof Array)return"array";if("undefined"!=typeof global&&global.Buffer&&global.Buffer.isBuffer(e))return"buffer";if(e instanceof ArrayBuffer)return"arraybuffer";if(e.buffer instanceof ArrayBuffer)return"view";if(e instanceof Blob)return"blob";throw new Error("Unsupported data type.")},n={fill:0},t=function(e){for(e+=9;e%64>0;e+=1);return e},a=function(e,r,n,t,a){var f,s=this,i=a%4,h=(t+i)%4,u=t-h;switch(i){case 0:e[a]=s[n+3];case 1:e[a+1-(i<<1)|0]=s[n+2];case 2:e[a+2-(i<<1)|0]=s[n+1];case 3:e[a+3-(i<<1)|0]=s[n]}if(!(t<h+i)){for(f=4-i;f<u;f=f+4|0)r[a+f>>2|0]=s[n+f]<<24|s[n+f+1]<<16|s[n+f+2]<<8|s[n+f+3];switch(h){case 3:e[a+u+1|0]=s[n+u+2];case 2:e[a+u+2|0]=s[n+u+1];case 1:e[a+u+3|0]=s[n+u]}}},f=function(e){switch(r(e)){case"string":return function(e,r,n,t,a){var f,s=this,i=a%4,h=(t+i)%4,u=t-h;switch(i){case 0:e[a]=s.charCodeAt(n+3);case 1:e[a+1-(i<<1)|0]=s.charCodeAt(n+2);case 2:e[a+2-(i<<1)|0]=s.charCodeAt(n+1);case 3:e[a+3-(i<<1)|0]=s.charCodeAt(n)}if(!(t<h+i)){for(f=4-i;f<u;f=f+4|0)r[a+f>>2]=s.charCodeAt(n+f)<<24|s.charCodeAt(n+f+1)<<16|s.charCodeAt(n+f+2)<<8|s.charCodeAt(n+f+3);switch(h){case 3:e[a+u+1|0]=s.charCodeAt(n+u+2);case 2:e[a+u+2|0]=s.charCodeAt(n+u+1);case 1:e[a+u+3|0]=s.charCodeAt(n+u)}}}.bind(e);case"array":case"buffer":return a.bind(e);case"arraybuffer":return a.bind(new Uint8Array(e));case"view":return a.bind(new Uint8Array(e.buffer,e.byteOffset,e.byteLength));case"blob":return function(e,r,n,t,a){var f,s=a%4,i=(t+s)%4,h=t-i,u=new Uint8Array(reader.readAsArrayBuffer(this.slice(n,n+t)));switch(s){case 0:e[a]=u[3];case 1:e[a+1-(s<<1)|0]=u[2];case 2:e[a+2-(s<<1)|0]=u[1];case 3:e[a+3-(s<<1)|0]=u[0]}if(!(t<i+s)){for(f=4-s;f<h;f=f+4|0)r[a+f>>2|0]=u[f]<<24|u[f+1]<<16|u[f+2]<<8|u[f+3];switch(i){case 3:e[a+h+1|0]=u[h+2];case 2:e[a+h+2|0]=u[h+1];case 1:e[a+h+3|0]=u[h]}}}.bind(e)}},s=new Array(256),i=0;i<256;i++)s[i]=(i<16?"0":"")+i.toString(16);var h=function(e){for(var r=new Uint8Array(e),n=new Array(e.byteLength),t=0;t<n.length;t++)n[t]=s[r[t]];return n.join("")};!function(e){if(e%64>0)throw new Error("Chunk size must be a multiple of 128 bit");n.offset=0,n.maxChunkLen=e,n.padMaxChunkLen=t(e),n.heap=new ArrayBuffer(function(e){var r;if(e<=65536)return 65536;if(e<16777216)for(r=1;r<e;r<<=1);else for(r=16777216;r<e;r+=16777216);return r}(n.padMaxChunkLen+320+20)),n.h32=new Int32Array(n.heap),n.h8=new Int8Array(n.heap),n.core=new RushaCore({Int32Array:Int32Array,DataView:DataView},{},n.heap),n.buffer=null}(e||65536);var u=function(e,r){n.offset=0;var t=new Int32Array(e,r+320,5);t[0]=1732584193,t[1]=-271733879,t[2]=-1732584194,t[3]=271733878,t[4]=-1009589776},c=function(e,r){var a,f,s,i=t(e),h=new Int32Array(n.heap,0,i>>2);return function(e,r){var n=new Uint8Array(e.buffer),t=r%4,a=r-t;switch(t){case 0:n[a+3]=0;case 1:n[a+2]=0;case 2:n[a+1]=0;case 3:n[a+0]=0}for(var f=1+(r>>2);f<e.length;f++)e[f]=0}(h,e),s=r,(a=h)[(f=e)>>2]|=128<<24-(f%4<<3),a[14+(2+(f>>2)&-16)]=s/(1<<29)|0,a[15+(2+(f>>2)&-16)]=s<<3,i},o=function(e,r,t,a){f(e)(n.h8,n.h32,r,t,a||0)},d=function(e,r,t,a,f){var s=t;o(e,r,t),f&&(s=c(t,a)),n.core.hash(s,n.padMaxChunkLen)},y=function(e,r){var n=new Int32Array(e,r+320,5),t=new Int32Array(5),a=new DataView(t.buffer);return a.setInt32(0,n[0],!1),a.setInt32(4,n[1],!1),a.setInt32(8,n[2],!1),a.setInt32(12,n[3],!1),a.setInt32(16,n[4],!1),t},w=this.rawDigest=function(e){var r=e.byteLength||e.length||e.size||0;u(n.heap,n.padMaxChunkLen);var t=0,a=n.maxChunkLen;for(t=0;r>t+a;t+=a)d(e,t,a,r,!1);return d(e,t,r-t,r,!0),y(n.heap,n.padMaxChunkLen)};this.digest=this.digestFromString=this.digestFromBuffer=this.digestFromArrayBuffer=function(e){return h(w(e).buffer)},this.resetState=function(){return u(n.heap,n.padMaxChunkLen),this},this.append=function(e){var r,t=0,a=e.byteLength||e.length||e.size||0,f=n.offset%n.maxChunkLen;for(n.offset+=a;t<a;)r=Math.min(a-t,n.maxChunkLen-f),o(e,t,r,f),t+=r,(f+=r)===n.maxChunkLen&&(n.core.hash(n.maxChunkLen,n.padMaxChunkLen),f=0);return this},this.getState=function(){var e;if(n.offset%n.maxChunkLen)e=n.heap.slice(0);else{var r=new Int32Array(n.heap,n.padMaxChunkLen+320,5);e=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)}return{offset:n.offset,heap:e}},this.setState=function(e){(n.offset=e.offset,20===e.heap.byteLength)?new Int32Array(n.heap,n.padMaxChunkLen+320,5).set(new Int32Array(e.heap)):n.h32.set(new Int32Array(e.heap));return this};var p=this.rawEnd=function(){var e=n.offset,r=e%n.maxChunkLen,t=c(r,e);n.core.hash(t,n.padMaxChunkLen);var a=y(n.heap,n.padMaxChunkLen);return u(n.heap,n.padMaxChunkLen),a};this.end=function(){return h(p().buffer)}}',";\n","var setupWorker = ",function(){const e=new Rusha;e.resetState();let t=0;self.onmessage=r=>{const{data:n}=r,{part:i,fileSize:o,partContents:a}=n,s=Date.now();try{if(i.offset!==t)throw new Error("Out of order parts given to worker");if(e.append(a),self.postMessage({type:"partDone",part:n.part,duration:Date.now()-s,partContents:a},[a]),t+=i.size,i.offset+i.size===o){const t=e.end();self.postMessage({type:"done",sha1:t})}}catch(e){const t={type:"error",name:e.name,message:e.message,part:i};self.postMessage(t)}}}.toString(),";\n","setupWorker();"],{type:"text/javascript"}),t=(window.URL||window.webkitURL).createObjectURL(e),r=new Worker(t);return r.oldTerminate=r.terminate,r.terminate=()=>{(window.URL||window.webkitURL).revokeObjectURL(t),r.oldTerminate()},r};var Pi=__webpack_require__(84708),Ci=__webpack_require__.n(Pi),ki=__webpack_require__(53095),_i=__webpack_require__.n(ki),Ai=__webpack_require__(69849),Ti=__webpack_require__.n(Ai),ji=__webpack_require__(59315),Ii=__webpack_require__.n(ji);const Di=new Error("Bad id or auth token. ID should be typed id like file_123 or folder_123! Token should be a string or function.");class Mi{static async getToken(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.startsWith(b)&&!e.startsWith(g))throw Di;if(!t||"string"==typeof t)return t;const r=await t(e);if(!r||"string"==typeof r||"object"==typeof r&&(r.read||r.write))return r;throw Di}static async getReadToken(e,t){const r=await Mi.getToken(e,t);return r&&"object"==typeof r?r.read:r}static async getReadTokens(e,t){const r=Array.isArray(e)?e:[e],n=r.map((e=>Mi.getReadToken(e,t))),i=await Promise.all(n),o={};return i.forEach(((e,t)=>{o[r[t]]=e})),Promise.resolve(o)}static async getWriteToken(e,t){const r=await Mi.getToken(e,t);return r&&"object"==typeof r?r.write||r.read:r}static async cacheTokens(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.every((e=>e.startsWith(b)||e.startsWith(g))))throw Di;return"function"==typeof t&&await t(e),Promise.resolve()}}const Ri=Mi;function Fi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Li(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ni=[Me,Ne,"HEAD"].map(Ii()),Ui=class{constructor({id:e,clientName:t,language:r,token:n,version:i,sharedLink:o,sharedLinkPassword:a,responseInterceptor:s,requestInterceptor:l,retryableStatusCodes:c=[Ue],shouldRetry:u=!0}={}){Li(this,"retryCount",0),Li(this,"errorInterceptor",(e=>{if(this.shouldRetryRequest(e)){this.retryCount+=1;const t=this.getExponentialRetryTimeoutInMs(this.retryCount);return new Promise(((r,n)=>{this.retryTimeout=setTimeout((()=>{this.axios(e.config).then(r,n)}),t)}))}const t=bi()(e,"response.data")||e;return this.responseInterceptor(t),Promise.reject(e)})),this.clientName=t,this.id=e,this.language=r,this.responseInterceptor=s||this.defaultResponseInterceptor,this.retryableStatusCodes=c,this.sharedLink=o,this.sharedLinkPassword=a,this.shouldRetry=u,this.token=n,this.version=i,this.axios=_i().create(),this.axiosSource=_i().CancelToken.source(),this.axios.interceptors.response.use(this.responseInterceptor,this.errorInterceptor),"function"==typeof l&&this.axios.interceptors.request.use(l)}defaultResponseInterceptor(e){return e}shouldRetryRequest(e){if(!this.shouldRetry||this.retryCount>=3)return!1;const{response:t,request:r,config:n}=e,i=bi()(t,"status"),o=bi()(n,"method"),a=r&&!t,s=i===Ue,l=Ti()(this.retryableStatusCodes,i)&&Ti()(Ni,o);return a||s||l}getExponentialRetryTimeoutInMs(e){return 2**(e-1)*1e3+Math.ceil(1e3*Math.random())}getParsedUrl(e){const t=document.createElement("a");return t.href=e,{api:e.replace(`${t.origin}/2.0`,""),host:t.host,hostname:t.hostname,pathname:t.pathname,origin:t.origin,protocol:t.protocol,hash:t.hash,port:t.port}}async getHeaders(e,t={}){const r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fi(Object(r),!0).forEach((function(t){Li(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({Accept:"application/json",[x]:"application/json"},t);this.language&&!r[O]&&(r[O]=this.language),this.sharedLink&&(r.BoxApi=`shared_link=${this.sharedLink}`,this.sharedLinkPassword&&(r.BoxApi=`${r.BoxApi}&shared_link_password=${this.sharedLinkPassword}`)),this.clientName&&(r["X-Box-Client-Name"]=this.clientName),this.version&&(r["X-Box-Client-Version"]=this.version);const n=e||this.id||"",i=await Ri.getWriteToken(n,this.token);return i&&(r.Authorization=`Bearer ${i}`),r}get({url:e,id:t,params:r={},headers:n={}}){return this.getHeaders(t,n).then((t=>this.axios.get(e,{cancelToken:this.axiosSource.token,params:r,headers:t,parsedUrl:this.getParsedUrl(e)})))}post({url:e,id:t,data:r,params:n,headers:i={},method:o=Re}){return this.getHeaders(t,i).then((t=>this.axios({url:e,data:r,params:n,method:o,parsedUrl:this.getParsedUrl(e),headers:t})))}put({url:e,id:t,data:r,params:n,headers:i={}}){return this.post({id:t,url:e,data:r,params:n,headers:i,method:Fe})}delete({url:e,id:t,data:r={},headers:n={}}){return this.post({id:t,url:e,data:r,headers:n,method:Le})}options({id:e,url:t,data:r,headers:n={},successHandler:i,errorHandler:o}){return this.getHeaders(e,n).then((e=>this.axios({url:t,data:r,method:Ne,headers:e}).then(i).catch(o))).catch(o)}uploadFile({id:e,url:t,data:r,headers:n={},method:i=Re,successHandler:o,errorHandler:a,progressHandler:s,withIdleTimeout:l=!1,idleTimeoutDuration:c=12e4,idleTimeoutHandler:u}){return this.getHeaders(e,n).then((e=>{let d,h=s;if(l){const e=()=>{this.abort(),u&&u()};d=setTimeout(e,c),h=t=>{clearTimeout(d),d=setTimeout(e,c),s(t)}}this.axios({url:t,data:r,transformRequest:(e,t)=>{if(delete t.Accept,delete t[x],n[x]&&(t[x]=n[x]),e&&!(e instanceof Blob)&&e.attributes){const t=new FormData;return Object.keys(e).forEach((r=>{t.append(r,e[r])})),t}return e},method:i,headers:e,onUploadProgress:h,cancelToken:this.axiosSource.token}).then((e=>{clearTimeout(d),o(e)})).catch((e=>{clearTimeout(d),a(e)}))})).catch(a)}abort(){this.retryTimeout&&clearTimeout(this.retryTimeout),this.axiosSource&&(this.axiosSource.cancel(),this.axiosSource=_i().CancelToken.source())}},Bi=class{constructor(){this.memoryStore=new hi;try{this.localStorage=window.localStorage,this.isLocalStorageAvailable=this.canUseLocalStorage()}catch(e){this.isLocalStorageAvailable=!1}}buildKey(e){return`localStore/0/${e}`}canUseLocalStorage(){if(!this.localStorage)return!1;try{return this.localStorage.setItem(this.buildKey("TestKey"),"testValue"),this.localStorage.removeItem(this.buildKey("TestKey")),!0}catch(e){return!1}}setItem(e,t){if(this.isLocalStorageAvailable)try{this.localStorage.setItem(this.buildKey(e),JSON.stringify(t))}catch(e){}else this.memoryStore.set(e,t)}getItem(e){if(!this.isLocalStorageAvailable)return this.memoryStore.get(e);try{const t=this.localStorage.getItem(this.buildKey(e));return t?JSON.parse(t):null}catch(e){return null}}removeItem(e){if(this.isLocalStorageAvailable)try{this.localStorage.removeItem(this.buildKey(e))}catch(e){}else this.memoryStore.unset(e)}},Hi="bcu-uploads-reachability-cached-results",Vi=class{constructor(){this.localStore=new Bi,this.cachedResults={},this.populateCachedResultsWithValidLocalStoreValues(),this.saveCachedResultsToLocalStore()}getCachedResultsFromLocalStore(){return this.localStore.getItem(Hi)}saveCachedResultsToLocalStore(){this.localStore.setItem(Hi,this.cachedResults)}isCachedHostValid(e){return e.expirationTimestampMS>Date.now()}getCachedResult(e){if(e in this.cachedResults){const t=this.cachedResults[e];if(this.isCachedHostValid(t))return t}return null}updateCachedResult(e,t){this.cachedResults[e]={isReachable:t,expirationTimestampMS:Date.now()+864e5},this.saveCachedResultsToLocalStore()}populateCachedResultsWithValidLocalStoreValues(){const e=this.getCachedResultsFromLocalStore();e&&Object.keys(e).forEach((t=>{const r=e[t];this.isCachedHostValid(r)&&(this.cachedResults[t]=r)}))}getUnreachableHostsUrls(){const e=[];return this.cachedResults?(Object.keys(this.cachedResults).forEach((t=>{const r=this.cachedResults[t];this.isCachedHostValid(r)&&!r.isReachable&&e.push(t)})),e):e}async isReachable(e){if(e===`${ue}/`||e===`${de}/`)return!0;const t=this.getCachedResult(e);if(t)return t.isReachable;const r=await this.makeReachabilityRequest(e);return this.updateCachedResult(e,r),r}async makeReachabilityRequest(e){const t=`${e}html5?reachability_test=run`,r={[x]:"application/x-www-form-urlencoded; charset=UTF-8","X-File-Name":"reachability_pseudofile.txt","X-File-Size":"1234"};try{await _i().post(t,"reachability_file=test_file_data",{headers:r})}catch(e){return!1}return!0}};function zi(e){return`${g}${e}`}function $i(e){return`${b}${e}`}function qi(){return new Error("Bad box item!")}function Gi(){return new Error("Insufficient Permissions!")}function Wi(){return new Error("Bad box user!")}function Zi(){return new Error("Missing text or status!")}function Xi(e){return e===Ue||401===e||409===e||e>=500}function Ki(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ki(Object(r),!0).forEach((function(t){Yi(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ki(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Yi(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ji=class{constructor(e){Yi(this,"successHandler",(e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)})),Yi(this,"errorHandler",(e=>{if(!this.isDestroyed()&&"function"==typeof this.errorCallback){const{response:t}=e;t&&t.data?this.errorCallback(t.data,this.errorCode):this.errorCallback(e,this.errorCode)}})),this.cache=e.cache||new hi,this.apiHost=e.apiHost||ce,this.uploadHost=e.uploadHost||ue,this.options=Qi(Qi({},e),{},{apiHost:this.apiHost,uploadHost:this.uploadHost,cache:this.cache}),this.xhr=new Ui(this.options),this.destroyed=!1,this.consoleLog=e.consoleLog&&window.console&&window.console.log||ot(),this.consoleError=e.consoleError&&window.console&&window.console.error||ot(),this.uploadsReachability=new Vi}destroy(){this.xhr.abort(),this.destroyed=!0}isDestroyed(){return this.destroyed}checkApiCallValidity(e,t,r){if(!r||!t)throw qi();if(!t[e])throw Gi()}getBaseApiUrl(){const e=this.apiHost.endsWith("/")?"2.0":"/2.0";return`${this.apiHost}${e}`}getBaseUploadUrl(){const e=this.uploadHost.endsWith("/")?"api/2.0":"/api/2.0";return`${this.uploadHost}${e}`}getCache(){return this.cache}getUrl(e){throw new Error("Implement me!")}format(e){throw new Error("Implement me!")}get({id:e,successCallback:t,errorCallback:r,requestData:n,url:i}){const o=i||this.getUrl(e);return this.makeRequest(Me,e,o,t,r,n)}post({id:e,url:t,data:r,successCallback:n,errorCallback:i}){return this.makeRequest(Re,e,t,n,i,r)}put({id:e,url:t,data:r,successCallback:n,errorCallback:i}){return this.makeRequest(Fe,e,t,n,i,r)}delete({id:e,url:t,data:r,successCallback:n,errorCallback:i}){return this.makeRequest(Le,e,t,n,i,r)}async makeRequest(e,t,r,n,i,o={}){if(this.isDestroyed())return;this.successCallback=n,this.errorCallback=i;const a=this.xhr[e.toLowerCase()].bind(this.xhr);try{const{data:e}=await a(Qi({id:zi(t),url:r},o));this.successHandler(e)}catch(e){this.errorHandler(e)}}};function eo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const to=class extends Ji{constructor(...e){super(...e),eo(this,"retryCount",0),eo(this,"reachabilityRetryCount",0),eo(this,"isUploadFallbackLogicEnabled",!1),eo(this,"makePreflightRequest",(()=>{if(this.isDestroyed())return;let e=`${this.getBaseApiUrl()}/files/content`;if(this.fileId&&(e=e.replace("content",`${this.fileId}/content`)),this.isUploadFallbackLogicEnabled){const t=this.uploadsReachability.getUnreachableHostsUrls();0!==t.length&&(e+=`?unreachable_hosts=${t.join(",")}`)}const{size:t,name:r}=this.file,n={name:this.fileName||r,parent:{id:this.folderId},description:this.fileDescription,size:t};this.xhr.options({url:e,data:n,successHandler:e=>{this.isUploadFallbackLogicEnabled?this.preflightSuccessReachabilityHandler(e):this.preflightSuccessHandler(e)},errorHandler:this.preflightErrorHandler})})),eo(this,"preflightSuccessReachabilityHandler",(async({data:e})=>{if(this.isDestroyed())return;const{upload_url:t}=e;if(!t)return void this.preflightSuccessHandler({data:e});const r=this.getUploadHostFromUrl(t);r!==`${ue}/`&&r!==`${de}/`&&"https://upload.app.box-gov.com/"!==r?await this.uploadsReachability.isReachable(r)?this.preflightSuccessHandler({data:e}):this.reachabilityRetryCount>=10?this.preflightSuccessHandler({data:{}}):(this.reachabilityRetryCount+=1,this.makePreflightRequest()):this.preflightSuccessHandler({data:e})})),eo(this,"preflightErrorHandler",(e=>{if(this.isDestroyed())return;this.fileName=this.file?this.file.name:"";let t=e;const{response:r}=e;if(r&&r.data&&(t=r.data),this.retryCount>=5)this.errorCallback(t);else if(t&&409===t.status){if("error"===this.overwrite)return void this.errorCallback(t);if(this.overwrite){const e=t.context_info.conflicts.id;!this.fileId&&e&&(this.fileId=e)}else if(this.conflictCallback)this.fileName=this.conflictCallback(this.fileName);else{const e=this.fileName.substr(this.fileName.lastIndexOf("."))||"";this.fileName=`${this.fileName.substr(0,this.fileName.lastIndexOf("."))}-${Date.now()}${e}`}this.makePreflightRequest(),this.retryCount+=1}else if(!t||429!==t.status&&"too_many_requests"!==t.code)t&&(t.status||"Failed to fetch"===t.message)&&"function"==typeof this.errorCallback?this.errorCallback(t):(this.retryTimeout=setTimeout(this.makePreflightRequest,2**this.retryCount*Ie),this.retryCount+=1);else{let e=je;if(t.headers){const r=parseInt(t.headers["retry-after"]||t.headers.get("Retry-After"),10);Number.isNaN(r)||(e=r*Ie)}this.retryTimeout=setTimeout(this.makePreflightRequest,e),this.retryCount+=1}}))}readFile(e,t){return new Promise(((r,n)=>{e.readAsArrayBuffer(t),e.onload=()=>{r({buffer:e.result,readCompleteTimestamp:Date.now()})},e.onerror=n}))}getUploadHostFromUrl(e){const t=e.split("/");return`${t[0]}//${t[2]}/`}};function ro(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function no(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ro(Object(r),!0).forEach((function(t){io(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ro(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function io(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const oo={digestReadahead:5,initialRetryDelayMs:5e3,maxRetryDelayMs:6e4,parallelism:4,requestTimeoutMs:12e4,retries:5},ao=class extends to{constructor(e,t,r){super(no(no({},e),{},{shouldRetry:!1})),io(this,"logEvent",((e,t)=>{const r={event_type:e};return t&&(r.event_info=t),this.xhr.post({url:this.sessionEndpoints.logEvent,data:r})})),this.config=r||oo,this.sessionEndpoints=t}};function so(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const lo=class extends ao{constructor(e,t,r,n,i,o,a,s,l,c,u,d){super(e,a,s),so(this,"toJSON",(()=>JSON.stringify({index:this.index,offset:this.offset,partSize:this.partSize,state:this.state,uploadedBytes:this.uploadedBytes,numUploadRetriesPerformed:this.numUploadRetriesPerformed,numDigestRetriesPerformed:this.numDigestRetriesPerformed,sha1:this.sha1,timing:this.timing}))),so(this,"getPart",(()=>this.data.part||{})),so(this,"upload",(()=>{if(this.isDestroyedOrPaused())return;if(!this.sha1)throw new Error("Part SHA-1 unavailable");if(!this.blob)throw new Error("Part blob unavailable");const e={documentHidden:document.hidden,digest_retries:this.numDigestRetriesPerformed,timing:this.timing,parts_uploading:this.getNumPartsUploading()},t={"Content-Type":"application/octet-stream",Digest:`sha=${this.sha1}`,"Content-Range":`bytes ${this.offset}-${this.rangeEnd}/${this.fileSize}`,"X-Box-Client-Event-Info":JSON.stringify(e)};this.state=2,this.startTimestamp=Date.now(),this.xhr.uploadFile({url:this.sessionEndpoints.uploadPart,data:this.blob,headers:t,method:Fe,successHandler:this.uploadSuccessHandler,errorHandler:this.uploadErrorHandler,progressHandler:this.uploadProgressHandler,withIdleTimeout:!0,idleTimeoutDuration:this.config.requestTimeoutMs})})),so(this,"uploadSuccessHandler",(({data:e})=>{this.isDestroyedOrPaused()||(this.state=3,this.consoleLog(`Upload completed: ${this.toJSON()}.`),this.data=e,this.blob=null,this.timing.uploadTime=Date.now()-this.startTimestamp,this.onSuccess(this),this.uploadedBytes=this.partSize)})),so(this,"uploadProgressHandler",(e=>{if(this.isDestroyedOrPaused())return;const t=parseInt(e.loaded,10),r=this.uploadedBytes;this.uploadedBytes=t,this.onProgress(r,t)})),so(this,"uploadErrorHandler",(async e=>{if(this.isDestroyedOrPaused())return;const t=bi()(this.xhr,"xhr.readyState",null),r=bi()(this.xhr,"xhr.statusText","");this.consoleLog(`Upload failure ${e.message} for part ${this.toJSON()}. XHR state: ${t}.`);const n={message:e.message,part:{uploadedBytes:this.uploadedBytes,id:this.id,index:this.index,offset:this.offset},xhr_ready_state:t,xhr_status_text:r},i=JSON.stringify(n);if(this.sessionEndpoints.logEvent?vi(((e,t)=>{this.logEvent("part_failure",i).then(e).catch(t)}),this.config.retries,this.config.initialRetryDelayMs).catch((e=>this.consoleLog(`Failure in logEvent: ${e.message}`))):this.consoleLog("logEvent endpoint not found"),this.numUploadRetriesPerformed>=this.config.retries)return void this.onError(e,i);const o=yi(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.numUploadRetriesPerformed);this.numUploadRetriesPerformed+=1,this.consoleLog(`Retrying uploading part ${this.toJSON()} in ${o} ms`),this.retryTimeout=setTimeout(this.retryUpload,o)})),so(this,"retryUpload",(async()=>{if(!this.isDestroyedOrPaused())try{const e=await this.listParts(this.index,1);if(e&&1===e.length&&e[0].offset===this.offset&&e[0].part_id)return this.consoleLog(`Part ${this.toJSON()} is available on server. Not re-uploading.`),this.id=e[0].part_id,void this.uploadSuccessHandler({data:{part:e[0]}});throw this.consoleLog(`Part ${this.toJSON()} is not available on server. Re-uploading.`),new Error("Part not found on the server")}catch(e){const{response:t}=e;t&&t.status&&this.consoleLog(`Error ${t.status} while listing part ${this.toJSON()}. Re-uploading.`),this.numUploadRetriesPerformed+=1,this.upload()}})),so(this,"listParts",(async(e,t)=>{const r={offset:e,limit:t},n=function(e,t){if(!t)return e;const r=new(Ci())(e);return Object.keys(t).forEach((e=>{const n=t[e];n&&(r.hasQueryParam(e)?r.replaceQueryParam(e,n):r.addQueryParam(e,n))})),r.toString()}(this.sessionEndpoints.listParts,r);return(await this.xhr.get({url:n})).data.entries})),this.index=t,this.numDigestRetriesPerformed=0,this.numUploadRetriesPerformed=0,this.offset=r,this.partSize=n,this.fileSize=i,this.state=0,this.timing={},this.uploadedBytes=0,this.data={},this.config=s,this.rangeEnd=r+n-1,this.rangeEnd>i-1&&(this.rangeEnd=i-1),this.isPaused=!1,this.onSuccess=c||ot(),this.onError=d||ot(),this.onProgress=u||ot(),this.getNumPartsUploading=l}cancel(){clearTimeout(this.retryTimeout),this.blob=null,this.data={},this.destroy()}pause(){clearTimeout(this.retryTimeout),this.isPaused=!0,this.state=1,this.xhr.abort()}unpause(){this.isPaused=!1,this.state=2,this.retryUpload()}reset(){this.numUploadRetriesPerformed=0,this.timing={},this.uploadedBytes=0}isDestroyedOrPaused(){return this.isDestroyed()||this.isPaused}};function co(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function uo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?co(Object(r),!0).forEach((function(t){ho(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):co(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ho(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const fo=class extends ao{constructor(e,t){super(e,{createSession:null,uploadPart:null,listParts:null,commit:null,abort:null,logEvent:null},t),ho(this,"getBaseUploadUrlFromPreflightResponse",(({data:e})=>{if(!e||!e.upload_url)return this.getBaseUploadUrl();const t=e.upload_url.split("/");return this.uploadHost=`${t[0]}//${t[2]}`,this.getBaseUploadUrl()})),ho(this,"preflightSuccessHandler",(async e=>{if(this.isDestroyed())return;let t=`${this.getBaseUploadUrlFromPreflightResponse(e)}/files/upload_sessions`;t.includes("fupload-ec2")&&(this.config.parallelism=1);const r={file_size:this.file.size,file_name:this.fileName};this.fileId?t=t.replace("upload_sessions",`${this.fileId}/upload_sessions`):r.folder_id=this.folderId;try{const e=await this.xhr.post({url:t,data:r});this.createSessionSuccessHandler(e.data)}catch(e){const t=this.getErrorResponse(e);if(t&&t.status>=500&&t.status<600)return void this.createSessionErrorHandler(e);if(t&&409===t.status&&"session_conflict"===t.code)return void this.createSessionSuccessHandler(t.context_info.session);if(t&&403===t.status&&"storage_limit_exceeded"===t.code||403===t.status&&"access_denied_insufficient_permissions"===t.code)return void this.errorCallback(t);if(t&&409===t.status)return"error"===this.overwrite?void this.errorCallback(t):(this.resolveConflict(t),void this.createSessionRetry());this.sessionErrorHandler(e,"create_session_misc_error",JSON.stringify(e))}})),ho(this,"createSessionErrorHandler",(e=>{this.isDestroyed()||(this.createSessionNumRetriesPerformed<this.config.retries?this.createSessionRetry():(this.consoleLog("Too many create session failures, failing upload"),this.sessionErrorHandler(e,"create_session_retries_exceeded",JSON.stringify(e))))})),ho(this,"getSessionInfo",(async()=>{const e=`${this.getBaseUploadUrl()}/files/upload_sessions/${this.sessionId}`;try{const t=await this.xhr.get({url:e});this.getSessionSuccessHandler(t.data)}catch(e){this.getSessionErrorHandler(e)}})),ho(this,"partUploadSuccessHandler",(e=>{this.numPartsUploading-=1,this.numPartsUploaded+=1,this.updateProgress(e.uploadedBytes,this.partSize),this.processNextParts()})),ho(this,"partUploadErrorHandler",((e,t)=>{if(this.sessionErrorHandler(e,"part_upload_retries_exceeded",t),this.isResumableUploadsEnabled){let e=this.firstUnuploadedPartIndex;for(;this.numPartsUploading>0;){const t=this.parts[e];t&&2===t.state&&(t.reset(),t.pause(),this.numPartsUploading-=1,this.numPartsDigestReady+=1),e+=1}}})),ho(this,"updateProgress",((e,t)=>{this.isDestroyed()||(this.totalUploadedBytes+=t-e,this.progressCallback({loaded:this.totalUploadedBytes,total:this.file.size}))})),ho(this,"processNextParts",(()=>{if(!this.failSessionIfFileChangeDetected())if(this.numPartsUploaded===this.parts.length&&this.fileSha1)this.commitSession();else{for(this.updateFirstUnuploadedPartIndex();this.canStartMorePartUploads();)this.uploadNextPart();this.shouldComputeDigestForNextPart()&&this.computeDigestForNextPart()}})),ho(this,"onWorkerMessage",(e=>{if(this.isDestroyed())return;const{data:t}=e;if("partDone"===t.type){const{part:e}=t;this.parts[e.index].timing.fileDigestTime=t.duration,this.processNextParts()}else"done"===t.type?(this.fileSha1=(r=t.sha1,btoa(String.fromCharCode.apply(null,r.replace(/\r|\n/g,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")))),this.sha1Worker.terminate(),this.processNextParts()):"error"===t.type&&this.sessionErrorHandler(null,"web_worker_error",JSON.stringify(t));var r})),ho(this,"sendPartToWorker",((e,t)=>{if(this.isDestroyed())return;const r={index:e.index,offset:e.offset,size:e.partSize};this.sha1Worker.postMessage({part:r,fileSize:this.file.size,partContents:t},[t]),this.consoleLog(`Part sent to worker: ${JSON.stringify(e)}.}`)})),ho(this,"onPartDigestError",((e,t)=>{if(this.consoleLog(`Error computing digest for part ${JSON.stringify(t)}: ${JSON.stringify(e)}`),"NotFoundError"===e.name||"NOT_FOUND_ERR"===e.name)return void this.sessionErrorHandler(null,"file_reader_received_not_found_error",JSON.stringify(e));if(this.failSessionIfFileChangeDetected())return;if(t.numDigestRetriesPerformed>=this.config.retries)return void this.sessionErrorHandler(null,"part_digest_retries_exceeded",JSON.stringify(e));const r=yi(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,t.numDigestRetriesPerformed);t.numDigestRetriesPerformed+=1,this.consoleLog(`Retrying digest work for part ${JSON.stringify(t)} in ${r} ms`),setTimeout((()=>{this.computeDigestForPart(t)}),r)})),ho(this,"commitSession",(()=>{if(this.isDestroyed())return;const e={totalPartReadTime:0,totalPartDigestTime:0,totalFileDigestTime:0,totalPartUploadTime:0},t={parts:this.parts.map((t=>(e.totalPartReadTime+=t.timing.readTime,e.totalPartDigestTime+=t.timing.subtleCryptoTime,e.totalFileDigestTime+=t.timing.fileDigestTime,e.totalPartUploadTime+=t.timing.uploadTime,t.getPart()))).sort(((e,t)=>e.offset-t.offset)),attributes:{}},r=gi(this.file);r&&(t.attributes.content_modified_at=r),this.fileDescription&&(t.attributes.description=this.fileDescription);const n={avg_part_read_time:Math.round(e.totalPartReadTime/this.parts.length),avg_part_digest_time:Math.round(e.totalPartDigestTime/this.parts.length),avg_file_digest_time:Math.round(e.totalFileDigestTime/this.parts.length),avg_part_upload_time:Math.round(e.totalPartUploadTime/this.parts.length)},i={Digest:`sha=${this.fileSha1}`,"X-Box-Client-Event-Info":JSON.stringify(n)};this.xhr.post({url:this.sessionEndpoints.commit,data:t,headers:i}).then(this.commitSessionSuccessHandler).catch(this.commitSessionErrorHandler)})),ho(this,"commitSessionSuccessHandler",(e=>{if(this.isDestroyed())return;const{status:t,data:r}=e;if(202===t)return void this.commitSessionRetry(e);let{entries:n}=r;!n&&r.id&&(n=[r]),this.destroy(),this.successCallback&&n&&this.successCallback(n)})),ho(this,"commitSessionErrorHandler",(e=>{if(this.isDestroyed())return;const{response:t}=e;if(t)return this.commitRetryCount>=this.config.retries?(this.consoleLog("Too many commit failures, failing upload"),void this.sessionErrorHandler(e,"commit_retries_exceeded",JSON.stringify(e))):void this.commitSessionRetry(t);this.consoleError(e)})),ho(this,"getNumPartsUploading",(()=>this.numPartsUploading)),this.parts=[],this.options=e,this.fileSha1=null,this.totalUploadedBytes=0,this.numPartsNotStarted=0,this.numPartsDigestComputing=0,this.numPartsDigestReady=0,this.numPartsUploading=0,this.numPartsUploaded=0,this.firstUnuploadedPartIndex=0,this.createSessionNumRetriesPerformed=0,this.partSize=0,this.commitRetryCount=0,this.clientId=null,this.isResumableUploadsEnabled=!1,this.numResumeRetries=0}reset(){this.parts=[],this.fileSha1=null,this.totalUploadedBytes=0,this.numPartsNotStarted=0,this.numPartsDigestComputing=0,this.numPartsDigestReady=0,this.numPartsUploading=0,this.numPartsUploaded=0,this.firstUnuploadedPartIndex=0,this.createSessionNumRetriesPerformed=0,this.partSize=0,this.commitRetryCount=0,this.numResumeRetries=0}setFileInfo({file:e,folderId:t,errorCallback:r,progressCallback:n,successCallback:i,overwrite:o=!0,conflictCallback:a,fileId:s}){this.file=e,this.fileName=this.file.name,this.folderId=t,this.errorCallback=r||ot(),this.progressCallback=n||ot(),this.successCallback=i||ot(),this.overwrite=o,this.conflictCallback=a,this.fileId=s}upload({file:e,fileDescription:t,folderId:r,errorCallback:n,progressCallback:i,successCallback:o,overwrite:a=!0,conflictCallback:s,fileId:l}){this.file=e,this.fileName=this.file.name,this.initialFileSize=this.file.size,this.initialFileLastModified=gi(this.file),this.folderId=r,this.errorCallback=n||ot(),this.progressCallback=i||ot(),this.successCallback=o||ot(),this.sha1Worker=Oi(),this.sha1Worker.addEventListener("message",this.onWorkerMessage),this.conflictCallback=s,this.overwrite=a,this.fileId=l,this.fileDescription=t,this.makePreflightRequest()}createSessionRetry(){const e=yi(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.createSessionNumRetriesPerformed);this.createSessionNumRetriesPerformed+=1,this.consoleLog(`Retrying create session in ${e} ms`),this.createSessionTimeout=setTimeout(this.makePreflightRequest,e)}createSessionSuccessHandler(e){if(this.isDestroyed())return;const{id:t,part_size:r,session_endpoints:n}=e;this.sessionId=t,this.partSize=r,this.sessionEndpoints=uo(uo({},this.sessionEndpoints),{},{uploadPart:n.upload_part,listParts:n.list_parts,commit:n.commit,abort:n.abort,logEvent:n.log_event}),this.populateParts(),this.processNextParts()}resume({file:e,folderId:t,errorCallback:r,progressCallback:n,sessionId:i,successCallback:o,overwrite:a=!0,conflictCallback:s,fileId:l}){this.setFileInfo({file:e,folderId:t,errorCallback:r,progressCallback:n,successCallback:o,conflictCallback:s,overwrite:a,fileId:l}),this.sessionId=i,this.sha1Worker||(this.sha1Worker=Oi()),this.sha1Worker.addEventListener("message",this.onWorkerMessage),this.getSessionInfo()}getSessionSuccessHandler(e){const{part_size:t,session_endpoints:r}=e;this.partSize=t,this.sessionEndpoints=uo(uo({},this.sessionEndpoints),{},{uploadPart:r.upload_part,listParts:r.list_parts,commit:r.commit,abort:r.abort,logEvent:r.log_event}),this.processNextParts()}getSessionErrorHandler(e){if(this.isDestroyed())return;const t=this.getErrorResponse(e);if(this.numResumeRetries>this.config.retries)this.errorCallback(t);else if(t&&429===t.status){let e=je;if(t.headers){const r=parseInt(t.headers["retry-after"]||t.headers.get("Retry-After"),10);pi()(r)||(e=r*Ie)}this.retryTimeout=setTimeout(this.getSessionInfo,e),this.numResumeRetries+=1}else if(t&&t.status>=400&&t.status<500){this.parts.forEach((e=>{e.cancel()})),this.reset(),clearTimeout(this.createSessionTimeout),clearTimeout(this.commitSessionTimeout),this.abortSession();const e={file:this.file,folderId:this.folderId,errorCallback:this.errorCallback,progressCallback:this.progressCallback,successCallback:this.successCallback,overwrite:this.overwrite,fileId:this.fileId};this.upload(e)}else this.retryTimeout=setTimeout(this.getSessionInfo,2**this.numResumeRetries*Ie),this.numResumeRetries+=1}async sessionErrorHandler(e,t,r){this.isResumableUploadsEnabled||this.destroy();const n=this.getErrorResponse(e);this.errorCallback(n);try{if(!this.sessionEndpoints.logEvent)throw new Error("logEvent endpoint not found");await vi(((e,n)=>{this.logEvent(t,r).then(e).catch(n)}),this.config.retries,this.config.initialRetryDelayMs),this.isResumableUploadsEnabled||this.abortSession()}catch(e){this.isResumableUploadsEnabled||this.abortSession()}}abortSession(){this.sha1Worker&&this.sha1Worker.terminate(),this.sessionEndpoints.abort&&this.sessionId&&this.xhr.delete({url:this.sessionEndpoints.abort}).then((()=>{this.sessionId=""}))}shouldComputeDigestForNextPart(){return!this.isDestroyed()&&0===this.numPartsDigestComputing&&this.numPartsNotStarted>0&&this.numPartsDigestReady<this.config.digestReadahead}computeDigestForNextPart(){for(let e=this.firstUnuploadedPartIndex;e<this.parts.length;e+=1){const t=this.parts[e];if(0===t.state)return this.numPartsNotStarted-=1,this.numPartsDigestComputing+=1,void this.computeDigestForPart(t)}}async computeDigestForPart(e){const t=this.file.slice(e.offset,e.offset+this.partSize),r=new window.FileReader,n=Date.now();try{const{buffer:i,readCompleteTimestamp:o}=await this.readFile(r,t),a=await Si("SHA-1",i),s=btoa([].reduce.call(new Uint8Array(a),((e,t)=>e+String.fromCharCode(t)),""));this.sendPartToWorker(e,i),e.sha1=s,e.state=1,e.blob=t,this.numPartsDigestReady+=1,this.numPartsDigestComputing-=1;const l=Date.now();e.timing={partDigestTime:l-n,readTime:o-n,subtleCryptoTime:l-o},this.processNextParts()}catch(t){this.onPartDigestError(t,e)}}commitSessionRetry(e){const{status:t,headers:r}=e;let n=je;if(r){const e=parseInt(r["retry-after"],10);Number.isNaN(e)||(n=1e3*e)}const i=yi(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.commitRetryCount);202!==t&&(this.commitRetryCount+=1);const o=n||i;this.consoleLog(`Retrying commit in ${o} ms`),this.commitSessionTimeout=setTimeout(this.commitSession,o)}uploadNextPart(){for(let e=this.firstUnuploadedPartIndex;e<this.parts.length;e+=1){const t=this.parts[e];if(1===t.state){this.numPartsDigestReady-=1,this.numPartsUploading+=1,t.isPaused?t.unpause():t.upload();break}}}canStartMorePartUploads(){return!this.isDestroyed()&&this.numPartsUploading<this.config.parallelism&&this.numPartsDigestReady>0}updateFirstUnuploadedPartIndex(){let e=this.parts[this.firstUnuploadedPartIndex];for(;e&&3===e.state;)this.firstUnuploadedPartIndex+=1,e=this.parts[this.firstUnuploadedPartIndex]}populateParts(){this.numPartsNotStarted=Math.ceil(this.file.size/this.partSize);for(let e=0;e<this.numPartsNotStarted;e+=1){const t=e*this.partSize,r=Math.min(t+this.partSize,this.file.size)-t,n=new lo(this.options,e,t,r,this.file.size,this.sessionId,this.sessionEndpoints,this.config,this.getNumPartsUploading,this.partUploadSuccessHandler,this.updateProgress,this.partUploadErrorHandler);this.parts.push(n)}}failSessionIfFileChangeDetected(){const e=this.file.size,t=gi(this.file);if(e!==this.initialFileSize||t!==this.initialFileLastModified){const r=JSON.stringify({oldSize:this.initialFileSize,newSize:e,oldLastModified:this.initialFileLastModified,newLastModified:t});return c.isIE()?(this.sessionErrorHandler(null,"file_changed_during_upload",r),!0):(this.consoleLog(`file properties changed during upload: ${r}`),!1)}return!1}cancel(){this.isDestroyed()||(this.parts.forEach((e=>{e.cancel()})),this.parts=[],clearTimeout(this.createSessionTimeout),clearTimeout(this.commitSessionTimeout),this.abortSession(),this.destroy())}async resolveConflict(e){if(this.overwrite&&e.context_info)return void(this.fileId=e.context_info.conflicts.id);if(this.conflictCallback)return void(this.fileName=this.conflictCallback(this.fileName));const t=this.fileName.substr(this.fileName.lastIndexOf("."))||"";this.fileName=`${this.fileName.substr(0,this.fileName.lastIndexOf("."))}-${Date.now()}${t}`}getErrorResponse(e){if(!e)return{};const{response:t}=e;return t?401===t.status?t:t.data:{}}};function po(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const mo="Content-MD5",bo=class extends to{constructor(...e){super(...e),po(this,"uploadSuccessHandler",(({data:e})=>{const{entries:t}=e;this.isDestroyed()||"function"==typeof this.successCallback&&this.successCallback(t)})),po(this,"uploadProgressHandler",(e=>{this.isDestroyed()||"function"==typeof this.progressCallback&&this.progressCallback(e)})),po(this,"preflightSuccessHandler",(async({data:e})=>{if(this.isDestroyed())return;let t=e.upload_url;t||(t=`${this.getBaseUploadUrl()}/files/content`,this.fileId&&(t=t.replace("content",`${this.fileId}/content`)));const r={url:t,data:{attributes:JSON.stringify({name:this.fileName,parent:{id:this.folderId},description:this.fileDescription,content_modified_at:gi(this.file)}),file:this.file},headers:{},successHandler:this.uploadSuccessHandler,errorHandler:this.preflightErrorHandler,progressHandler:this.uploadProgressHandler},n=await this.computeSHA1(this.file);n&&(r.headers={[mo]:n}),this.xhr.uploadFile(r)}))}upload({folderId:e,fileId:t,file:r,fileDescription:n,successCallback:i=ot(),errorCallback:o=ot(),progressCallback:a=ot(),conflictCallback:s,overwrite:l=!0}){this.isDestroyed()||(this.folderId=e,this.fileId=t,this.file=r,this.fileDescription=n,this.fileName=this.file.name,this.successCallback=i,this.errorCallback=o,this.progressCallback=a,this.overwrite=l,this.conflictCallback=s,this.makePreflightRequest())}cancel(){this.isDestroyed()||(clearTimeout(this.retryTimeout),this.destroy())}async computeSHA1(e){let t="";try{const r=new window.FileReader,{buffer:n}=await this.readFile(r,e),i=await Si("SHA-1",n);t=Array.from(new Uint8Array(i)).map((e=>`00${e.toString(16)}`.slice(-2))).join("")}catch(e){}return t}};function go(e,t,r,n){const i=[];return e.forEach((e=>{const{id:o,type:a}=e;if(!o||!a)throw qi();let s;switch(a){case u:s=t;break;case d:s=r;break;case h:s=n;break;default:throw new Error("Unknown Type!")}const l=s.getCache(),c=s.getCacheKey(o);l.has(c)?l.merge(c,e):l.set(c,e),i.push(c)})),i}var yo=__webpack_require__(75322),vo=__webpack_require__.n(yo),wo=__webpack_require__(19170),Eo=__webpack_require__.n(wo);function So(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Oo=[j,I,"type",D,"parent",M,R,"path_collection",F,U,V,"has_collaborations",B,"item_collection",W,X,G,"url"],Po=([j,I,D,M,Z,"shared_link",R,"content_created_at","content_modified_at",U,H,F,V,"owned_by","description",J,"expires_at","version_limit",K,B,N,W,X,te].concat(Y),[U,M,X,F,V,I,L,$,D,ee,q,te,K]),Co=([Z,F,V,N,D,z,te,K].concat(Y),[W,U,M,X,F,V,I,R,z,L,$,"retention",D,ee,q,te,K]),ko=["tagged_message","message",U,H,F,R],_o=["activity_template","app",H,"occurred_at","rendered_text"];function Ao(e,t=[]){return e&&"object"==typeof e&&0!==Object.keys(e).length?t.filter((t=>!vo()(e,t))):t}function To(e={},t){if(!Array.isArray(t)||0===t.length)return e;const r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?So(Object(r),!0).forEach((function(t){xo(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):So(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e);return Ao(e,t).forEach((e=>{Eo()(r,e,null)})),r}function jo(){return jo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},jo.apply(null,arguments)}function Io(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Do=class extends Ji{constructor(...e){super(...e),Io(this,"deleteSuccessHandler",(()=>{if(this.isDestroyed())return;const e=this.getParentCacheKey(this.parentId),t=this.getCache().get(e);if(!t)return void this.postDeleteCleanup();const{item_collection:r}=t;if(!r)return void this.postDeleteCleanup();const{entries:n,total_count:i}=r;if(!Array.isArray(n)||"number"!=typeof i)throw qi();const o=this.getCacheKey(this.id),a=n.length,s=n.filter((e=>e!==o)),l=s.length,c=this.merge(e,"item_collection",jo(r,{entries:s,total_count:i-(a-l)}));this.successCallback(c),this.postDeleteCleanup()})),Io(this,"renameSuccessHandler",(({data:e})=>{if(!this.isDestroyed()){this.getCache().unsetAll(w);const t=this.merge(this.getCacheKey(this.id),"name",e.name);this.successCallback(t)}})),Io(this,"shareSuccessHandler",((e,t)=>{if(!this.isDestroyed()){const r=t?To(e,t):e,n=this.getCache(),i=this.getCacheKey(this.id);n.has(i)?n.merge(i,r):n.set(i,r),this.successCallback(n.get(i))}}))}getParentCacheKey(e){return`${y}${e}`}getCacheKey(e){return`getCacheKey(${e}) should be overriden`}getUrl(e){return`getUrl(${e}) should be overriden`}merge(e,t,r){const n=this.getCache();return n.merge(e,Eo()({},t,r)),n.get(e)}postDeleteCleanup(){this.isDestroyed()||(this.getCache().unsetAll(w),this.successCallback())}deleteItem(e,t,r=ot()){if(this.isDestroyed())return Promise.reject();this.errorCode="delete_item_error";const{id:n,permissions:i,parent:o,type:a}=e;if(!(n&&i&&o&&a))return r(qi(),this.errorCode),Promise.reject();const{id:s}=o,{can_delete:l}=i;if(!l||!s)return r(Gi(),this.errorCode),Promise.reject();this.id=n,this.parentId=s,this.successCallback=t,this.errorCallback=r;const c=`${this.getUrl(n)}${a===u?"?recursive=true":""}`;return this.xhr.delete({url:c}).then(this.deleteSuccessHandler).catch((e=>{this.errorHandler(e)}))}rename(e,t,r,n=ot()){if(this.isDestroyed())return Promise.reject();this.errorCode="rename_item_error";const{id:i,permissions:o}=e;if(!i||!o)return n(qi(),this.errorCode),Promise.reject();const{can_rename:a}=o;return a?(this.id=i,this.successCallback=r,this.errorCallback=n,this.xhr.put({url:`${this.getUrl(i)}`,data:{name:t}}).then(this.renameSuccessHandler).catch((e=>{this.errorHandler(e)}))):(n(Gi(),this.errorCode),Promise.reject())}validateSharedLinkRequest(e,t,r=!1){if(!e||!t)throw this.errorCode=_e,qi();const{can_share:n,can_set_share_access:i}=t;if(!n||!r&&!i)throw this.errorCode=_e,Gi()}async share(e,t,r,n=ot(),i={}){if(this.isDestroyed())return Promise.reject();try{const{id:o,permissions:a,shared_link:s}=e;this.id=o,this.successCallback=r,this.errorCallback=n;const l=!s&&void 0===t;this.validateSharedLinkRequest(o,a,l);const{fields:c}=i,u={url:this.getUrl(this.id),data:{shared_link:"none"===t?null:{access:t}}};c&&(u.params={fields:c.toString()});const{data:d}=await this.xhr.put(u);return this.shareSuccessHandler(d,c)}catch(e){return this.errorHandler(e)}}async updateSharedLink(e,t,r,n=ot(),i={}){if(this.isDestroyed())return Promise.reject();try{const{id:o,permissions:a}=e;this.id=o,this.successCallback=r,this.errorCallback=n,this.validateSharedLinkRequest(o,a);const{fields:s}=i,l={url:this.getUrl(this.id),data:{shared_link:t}};s&&(l.params={fields:s.toString()});const{data:c}=await this.xhr.put(l);return this.shareSuccessHandler(c,s)}catch(e){return this.errorHandler(e)}}};function Mo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ro(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Mo(Object(r),!0).forEach((function(t){Fo(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Fo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Lo=class extends Do{getCacheKey(e){return`${v}${e}`}getUrl(e){const t=e?`/${e}`:"";return`${this.getBaseApiUrl()}/files${t}`}async getDownloadUrl(e,t,r,n){this.errorCode="get_download_url_error",this.errorCallback=n,this.successCallback=r;const i=t[X],o=t[W],a=await Ri.getReadToken(zi(e),this.options.token);if(!i||!o||!a)return void this.errorHandler(new Error("Download is missing required fields or token."));const{query:s,url:l}=sn.parseUrl(o),c=Ro(Ro({},s),{},{access_token:a}),u=sn.stringify(c);this.successHandler(`${l}?${u}`)}isRepresentationsCallComplete(e){const t=bi()(e,"data.status.state");return!t||"error"===t||"success"===t||"viewable"===t}async generateRepresentation(e){const t=bi()(e,"info.url");return t?vi(((e,r)=>this.xhr.get({successCallback:e,errorCallback:r,url:t}).then((t=>this.isRepresentationsCallComplete(t)?e(t.data):r(t.data))).catch((e=>{r(e)}))),4,2e3,2):e}async getThumbnailUrl(e){const t=bi()(e,"representations.entries[0]"),r=bi()(t,"representation"),n=bi()(t,"content.url_template"),i=await Ri.getReadToken(zi(e.id),this.options.token);if(!r||!n||!i)return null;const o=n.replace("{+asset_path}","jpg"===r?"":"1.png"),{query:a,url:s}=sn.parseUrl(o),l=Ro(Ro({},a),{},{access_token:i});return`${s}?${sn.stringify(l)}`}setFileDescription(e,t,r,n){const{id:i,permissions:o}=e;return i&&o?o.can_rename?this.xhr.put({id:zi(i),url:this.getUrl(i),data:{description:t}}).then((({data:e})=>{if(!this.isDestroyed()){const t=this.merge(this.getCacheKey(i),"description",e.description);r(t)}})).catch((()=>{if(!this.isDestroyed()){const t=this.merge(this.getCacheKey(i),"description",e.description);n(t)}})):(n(Gi()),Promise.reject()):(n(qi()),Promise.reject())}async getFile(e,t,r,n={}){if(this.isDestroyed())return;const i=this.getCache(),o=this.getCacheKey(e),a=!n.forceFetch&&i.has(o),s=a?i.get(o):{id:e};let l=Ao(s,n.fields);const c={id:zi(e),url:this.getUrl(e),headers:{"X-Rep-Hints":Te}};if(this.errorCode="fetch_file_error",this.successCallback=t,this.errorCallback=r,!a||0!==l.length||(t(s),l=n.fields||[],n.refreshCache)){l.length>0&&(c.params={fields:l.toString()});try{const{data:e}=await this.xhr.get(c);if(this.isDestroyed())return;const t=To(e,l);i.has(o)?i.merge(o,t):i.set(o,t),this.successHandler(i.get(o))}catch(e){this.errorHandler(e)}}}getFileExtension(e,t,r){this.isDestroyed()||this.getFile(e,t,r,{fields:[M]})}},No=class extends Do{getCacheKey(e){return`web_link_${e}`}getUrl(e){const t=e?`/${e}`:"";return`${this.getBaseApiUrl()}/web_links${t}`}async getWeblink(e,t,r,{fields:n}={}){if(this.isDestroyed())return;const i=this.getCache(),o=this.getCacheKey(e);if(this.errorCode="fetch_weblink_error",this.successCallback=t,this.errorCallback=r,i.has(o)&&0===Ao(i.get(o),n).length)return void t(i.get(o));const a={url:this.getUrl(e)};n&&(a.params={fields:n.toString()});try{const{data:e}=await this.xhr.get(a);if(this.isDestroyed())return;i.has(o)?i.merge(o,e):i.set(o,e),this.successHandler(i.get(o))}catch(e){this.errorHandler(e)}}};function Uo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Uo(Object(r),!0).forEach((function(t){Ho(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Uo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ho(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Vo extends Do{constructor(...e){super(...e),Ho(this,"folderSuccessHandler",(({data:e})=>{if(this.isDestroyed())return;const{item_collection:t}=e;if(!t)throw qi();const{entries:r,total_count:n,limit:i,offset:o}=t;if(!Array.isArray(r)||"number"!=typeof n||"number"!=typeof i||"number"!=typeof o)throw qi();const a=go(r,new Vo(this.options),new Lo(this.options),new No(this.options));this.itemCache=(this.itemCache||[]).concat(a),this.getCache().set(this.key,Bo(Bo({},e),{},{item_collection:Bo(Bo({},t),{},{entries:this.itemCache})})),this.finish()})),Ho(this,"folderDetailsSuccessHandler",(({data:e})=>{if(this.isDestroyed())return;const t=Bo(Bo({},this.getCache().get(this.key)),e);this.getCache().set(this.key,t),this.successCallback(t)})),Ho(this,"createSuccessHandler",(({data:e})=>{const{id:t}=e;if(this.isDestroyed()||!t)return;const r=this.getCacheKey(t),n=this.getCache(),i=n.get(this.key);if(!i)return void this.successCallback(e);const{item_collection:o}=i;if(!o)throw qi();const{total_count:a,entries:s}=o;if(!Array.isArray(s)||"number"!=typeof a)throw qi();n.set(r,e),o.entries=[r].concat(s),o.total_count=a+1,this.successCallback(e)}))}getCacheKey(e){return`${y}${e}`}getUrl(e){const t=e?`/${e}`:"";return`${this.getBaseApiUrl()}/folders${t}`}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{id:r,name:n,permissions:i,path_collection:o,item_collection:a}=t;if(!a||!o)throw qi();const{entries:s,offset:l,total_count:c}=a;if(!Array.isArray(s)||"number"!=typeof c)throw qi();const u={id:r,name:n,offset:l,percentLoaded:100,permissions:i,boxItem:t,breadcrumbs:o.entries,items:s.map((t=>e.get(t))),sortBy:this.sortBy,sortDirection:this.sortDirection,totalCount:c};this.successCallback(u)}folderRequest({fields:e,noPagination:t}={},r=this.folderSuccessHandler){if(this.isDestroyed())return Promise.reject();const n=e||Oo;this.errorCode="fetch_folder_error";let i={fields:n.toString()};return t||(i=Bo(Bo({},i),{},{direction:this.sortDirection.toLowerCase(),limit:this.limit,offset:this.offset,fields:n.toString(),sort:this.sortBy.toLowerCase()})),this.xhr.get({url:this.getUrl(this.id),params:i,headers:n.includes(G)?{"X-Rep-Hints":De}:{}}).then(r).catch(this.errorHandler)}getFolderFields(e,t,r,n={}){this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.successCallback=t,this.errorCallback=r,this.folderRequest(Bo(Bo({},n),{},{noPagination:!0}),this.folderDetailsSuccessHandler))}getFolder(e,t,r,n,i,o,a,s={}){this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.limit=t,this.offset=r,this.sortBy=n,this.sortDirection=i,this.successCallback=o,this.errorCallback=a,s.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.folderRequest(s))}folderCreateRequest(e){if(this.isDestroyed())return Promise.reject();this.errorCode="create_folder_error";const t=`${this.getUrl()}?fields=${Oo.toString()}`;return this.xhr.post({url:t,data:{name:e,parent:{id:this.id}}}).then(this.createSuccessHandler).catch(this.errorHandler)}create(e,t,r,n=ot()){this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.successCallback=r,this.errorCallback=n,this.folderCreateRequest(t))}}const zo=Vo;function $o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$o(Object(r),!0).forEach((function(t){Go(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Go(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Wo=class extends Ji{constructor(...e){super(...e),Go(this,"searchSuccessHandler",(({data:e})=>{if(this.isDestroyed())return;const{entries:t,total_count:r,limit:n,offset:i}=e;if(!Array.isArray(t)||"number"!=typeof r||"number"!=typeof n||"number"!=typeof i)throw qi();const o=go(t,new zo(this.options),new Lo(this.options),new No(this.options));this.itemCache=(this.itemCache||[]).concat(o),this.getCache().set(this.key,{item_collection:qo(qo({},e),{},{entries:this.itemCache})}),this.finish()})),Go(this,"searchErrorHandler",(e=>{this.isDestroyed()||this.errorCallback(e,this.errorCode)}))}getEncodedQuery(e){return encodeURIComponent(e)}getCacheKey(e,t){return`${w}${e}|${t}`}getUrl(){return`${this.getBaseApiUrl()}/search`}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{item_collection:r}=t;if(!r)throw qi();const{entries:n,total_count:i}=r;if(!Array.isArray(n)||"number"!=typeof i)throw qi();const o={id:this.id,items:n.map((t=>e.get(t))),offset:this.offset,percentLoaded:100,sortBy:"",sortDirection:S,totalCount:i};this.successCallback(o)}searchRequest(e={}){if(this.isDestroyed())return Promise.reject();const{fields:t}=e,r=t||Oo;return this.errorCode="search_error",this.xhr.get({url:this.getUrl(),params:{offset:this.offset,query:this.query,ancestor_folder_ids:this.id,limit:this.limit,fields:r.toString()},headers:r.includes(G)?{"X-Rep-Hints":De}:{}}).then(this.searchSuccessHandler).catch(this.searchErrorHandler)}search(e,t,r,n,i,o,a={}){this.isDestroyed()||(this.limit=r,this.offset=n,this.query=t,this.id=e,this.key=this.getCacheKey(e,this.getEncodedQuery(this.query)),this.successCallback=i,this.errorCallback=o,a.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.searchRequest(a))}};function Zo(){return Zo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zo.apply(null,arguments)}function Xo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ko=class extends Ji{constructor(...e){super(...e),Xo(this,"recentsSuccessHandler",(({data:e})=>{if(this.isDestroyed())return;const{entries:t,order:{by:r,direction:n}}=e,i=[];t.forEach((({item:e,interacted_at:t})=>{const{path_collection:r}=e;("0"===this.id||r&&-1!==r.entries.findIndex((e=>e.id===this.id)))&&i.push(Zo(e,{interacted_at:t}))}));const o=go(i,new zo(this.options),new Lo(this.options),new No(this.options));this.getCache().set(this.key,{item_collection:{entries:o,order:[{by:r,direction:n}]}}),this.finish()})),Xo(this,"recentsErrorHandler",(e=>{this.isDestroyed()||this.errorCallback(e,this.errorCode)}))}getCacheKey(e){return`recents_${e}`}getUrl(){return`${this.getBaseApiUrl()}/recent_items`}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{item_collection:r}=t;if(!r)throw qi();const{entries:n}=r;if(!Array.isArray(n))throw qi();const i={id:this.id,items:n.map((t=>e.get(t))),percentLoaded:100,sortBy:"date",sortDirection:S};this.successCallback(i)}recentsRequest(e={}){if(this.isDestroyed())return Promise.reject();const{fields:t}=e,r=t||Oo;return this.errorCode="fetch_recents_error",this.xhr.get({url:this.getUrl(),params:{fields:r.toString()},headers:r.includes(G)?{"X-Rep-Hints":De}:{}}).then(this.recentsSuccessHandler).catch(this.recentsErrorHandler)}recents(e,t,r,n={}){if(this.isDestroyed())return;this.id=e,this.successCallback=t,this.errorCallback=r;const i=this.getCache();this.key=this.getCacheKey(this.id),n.forceFetch&&i.unset(this.key),i.has(this.key)?this.finish():this.recentsRequest(n)}};function Qo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qo(Object(r),!0).forEach((function(t){Jo(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Jo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ea=class extends Ji{getQueryParameters(e,t,r){const n={offset:e,limit:t};return r&&r.length>0&&(n.fields=r.toString()),n}hasMoreItems(e,t){return void 0===t||e<t}async offsetGetRequest(e,t,r,n,i){if(!this.isDestroyed())try{const o=this.getQueryParameters(t,r,i),a=this.getUrl(e),{data:s}=await this.xhr.get({url:a,id:zi(e),params:o}),l=this.data?this.data.entries:[];this.data=Yo(Yo({},s),{},{entries:l.concat(s.entries)});const c=s.total_count,u=t+r;if(n&&this.hasMoreItems(u,c))return void this.offsetGetRequest(e,u,r,n,i);this.successHandler(this.data)}catch(e){this.errorHandler(e)}}async offsetGet(e,t,r,n=0,i=1e3,o,a=!0){return this.successCallback=t,this.errorCallback=r,this.offsetGetRequest(e,n,i,a,o)}},ta=["permissions"];function ra(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function na(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ra(Object(r),!0).forEach((function(t){ia(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ra(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ia(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const oa=class extends ea{constructor(...e){super(...e),ia(this,"successHandler",(e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)}))}getUrl(e){if(!e)throw new Error("Missing file id!");return`${this.getBaseApiUrl()}/files/${e}/versions`}getVersionUrl(e,t){if(!t)throw new Error("Missing version id!");return`${this.getUrl(e)}/${t}`}addPermissions(e,t){if(!e)return e;const{entries:r,total_count:n}=e,i=bi()(t,["permissions",se],!1);return{entries:r.map((e=>{let{permissions:t}=e;return na(na({},function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ta)),{},{permissions:na({can_upload:i},t)})})),total_count:n}}deleteVersion({errorCallback:e,fileId:t,permissions:r,successCallback:n,versionId:i}){this.errorCode="delete_version_error";try{this.checkApiCallValidity(ie,r,t)}catch(t){return void e(t,this.errorCode)}this.delete({id:t,url:this.getVersionUrl(t,i),successCallback:n,errorCallback:e})}getVersions(e,t,r,n=0,i=1e3,o=Co,a=!0){this.errorCode="fetch_versions_error",this.offsetGet(e,t,r,n,i,o,a)}getVersion(e,t,r,n){this.errorCode="fetch_version_error",this.get({id:e,successCallback:r,errorCallback:n,url:this.getVersionUrl(e,t),requestData:{params:{fields:Co.toString()}}})}addCurrentVersion(e,t,r){if(!e)return t||{entries:[],total_count:0};if(!t)return{entries:[e],total_count:1};const n=bi()(r,"restored_from.id"),i=t.entries.find((e=>e.id===n));return i&&(e.version_promoted=i.version_number),{entries:[...t.entries,e],total_count:t.total_count+1}}promoteVersion({errorCallback:e,fileId:t,permissions:r,successCallback:n,versionId:i}){this.errorCode="promote_version_error";try{this.checkApiCallValidity(se,r,t)}catch(t){return void e(t,this.errorCode)}this.post({id:t,data:{data:{id:i,type:"file_version"}},url:this.getVersionUrl(t,"current"),successCallback:n,errorCallback:e})}restoreVersion({errorCallback:e,fileId:t,permissions:r,successCallback:n,versionId:i}){this.errorCode="restore_version_error";try{this.checkApiCallValidity(ie,r,t)}catch(t){return void e(t,this.errorCode)}this.put({id:t,data:{data:{trashed_at:null}},url:this.getVersionUrl(t,i),successCallback:n,errorCallback:e})}};function aa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function sa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?aa(Object(r),!0).forEach((function(t){la(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function la(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ca=class extends ea{constructor(...e){super(...e),la(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return void this.successCallback(this.format(e));const t=e.entries.map(this.format);this.successCallback(sa(sa({},e),{},{entries:t}))}))}getUrl(e){if(!e)throw new Error("Missing file id!");return`${this.getBaseApiUrl()}/files/${e}/comments`}commentsUrl(e){const t=`${this.getBaseApiUrl()}/comments`;return e?`${t}/${e}`:t}format(e){return sa(sa({},e),{},{tagged_message:""!==e.tagged_message?e.tagged_message:e.message})}createComment({file:e,message:t,taggedMessage:r,successCallback:n,errorCallback:i}){this.errorCode=ye;const{id:o="",permissions:a}=e;try{this.checkApiCallValidity(re,a,o)}catch(e){return void i(e,this.errorCode)}const s={data:{item:{id:o,type:"file"},message:t,tagged_message:r},params:{fields:ko.toString()}};this.post({id:o,url:this.commentsUrl(),data:s,successCallback:n,errorCallback:i})}updateComment({file:e,commentId:t,message:r,tagged_message:n,permissions:i,successCallback:o,errorCallback:a}){this.errorCode=Ce;const{id:s=""}=e;try{this.checkApiCallValidity(oe,i,s)}catch(e){return void a(e,this.errorCode)}const l={data:{message:r,tagged_message:n}};this.put({id:s,url:this.commentsUrl(t),data:l,successCallback:o,errorCallback:a})}deleteComment({file:e,commentId:t,permissions:r,successCallback:n,errorCallback:i}){this.errorCode=xe;const{id:o=""}=e;try{this.checkApiCallValidity(ie,r,o)}catch(e){return void i(e,this.errorCode)}this.delete({id:o,url:this.commentsUrl(t),successCallback:n,errorCallback:i})}getComments(e,t,r,n,i=ko,o,a,s){this.errorCode=fe;try{this.checkApiCallValidity(re,t,e)}catch(e){return void n(e,this.errorCode)}this.offsetGet(e,r,n,o,a,i,s)}},ua=["retryableStatusCodes"];function da(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ha(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?da(Object(r),!0).forEach((function(t){fa(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):da(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fa(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const pa=[Ue,500,501,502,503,504],ma=class extends Ji{constructor(e){let{retryableStatusCodes:t=pa}=e;super(ha(ha({},function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ua)),{},{retryableStatusCodes:t}))}},ba=["id","addedAssignees","removedAssignees"];function ga(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ya(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ga(Object(r),!0).forEach((function(t){va(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ga(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function va(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const wa=class extends ma{getUrlForFileTasks(e){return`${this.getBaseApiUrl()}/undoc/files/${e}/linked_tasks?limit=1000`}getUrlForTaskCreateWithDeps(){return`${this.getBaseApiUrl()}/undoc/tasks/with_dependencies`}getUrlForTask(e){return`${this.getBaseApiUrl()}/undoc/tasks/${e}`}getUrlForTaskWithDeps(e){return`${this.getBaseApiUrl()}/undoc/tasks/${e}/with_dependencies`}updateTaskWithDeps({errorCallback:e,file:t,successCallback:r,task:n}){this.errorCode=Pe;const i=n.addedAssignees.map((e=>({op:e.item&&"group"===e.item.type?"add_task_collaborators_expand_group":"add_task_collaborator",payload:{target:{type:e.item&&"group"===e.item.type?"group":"user",id:e.id}}}))),o=n.removedAssignees.map((e=>({op:"delete_task_collaborator",id:e.id}))),{id:a,addedAssignees:s,removedAssignees:l}=n,c=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(n,ba);this.put({id:t.id,url:this.getUrlForTaskWithDeps(n.id),data:{data:[{op:"update_task",payload:ya({},c)},...i,...o]},successCallback:r,errorCallback:e})}deleteTask({errorCallback:e,file:t,successCallback:r,task:n}){this.errorCode="delete_task_error",this.delete({id:t.id,url:this.getUrlForTask(n.id),successCallback:r,errorCallback:e})}getTasksForFile({errorCallback:e,file:t,successCallback:r}){this.errorCode=me,this.get({id:t.id,url:this.getUrlForFileTasks(t.id),successCallback:r,errorCallback:e})}getTask({errorCallback:e,file:t,id:r,successCallback:n}){this.errorCode=me,this.get({id:t.id,url:this.getUrlForTask(r),successCallback:n,errorCallback:e})}createTaskWithDeps({errorCallback:e,file:t,successCallback:r,task:n,assignees:i}){this.errorCode=we;const o=i.map((e=>({target:{type:e.item&&"group"===e.item.type?"group":"user",id:e.id}}))),a=[{target:{id:t.id,type:"file"}}],s={task:ya({},n),assigned_to:o,task_links:a};this.post({id:t.id,url:this.getUrlForTaskCreateWithDeps(),data:{data:ya({},s)},successCallback:r,errorCallback:e})}};function Ea(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ea(Object(r),!0).forEach((function(t){xa(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ea(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xa(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Oa=class extends ma{getUrlForTaskCollaborators(e){return`${this.getBaseApiUrl()}/undoc/tasks/${e}/task_collaborators?role=ASSIGNEE&limit=1000`}getUrlForTaskCollaboratorCreate(){return`${this.getBaseApiUrl()}/undoc/task_collaborators`}getUrlForTaskCollaborator(e){return`${this.getBaseApiUrl()}/undoc/task_collaborators/${e}`}getUrlForTaskGroupCreate(){return`${this.getBaseApiUrl()}/undoc/task_collaborators/expand_group`}createTaskCollaborator({errorCallback:e,file:t,successCallback:r,task:n,user:i}){this.errorCode=Ee;const o={data:{task:{type:"task",id:n.id},target:{type:"user",id:i.id}}};this.post({id:t.id,url:this.getUrlForTaskCollaboratorCreate(),data:Sa({},o),successCallback:r,errorCallback:e})}createTaskCollaboratorsforGroup({errorCallback:e,file:t,successCallback:r,task:n,group:i}){this.errorCode=Ee;const o={data:{task:{type:"task",id:n.id},target:{type:"group",id:i.id}}};this.post({id:t.id,url:this.getUrlForTaskGroupCreate(),data:Sa({},o),successCallback:r,errorCallback:e})}getTaskCollaborators({errorCallback:e,file:t,successCallback:r,task:n}){this.errorCode="fetch_task_collaborator_error";const i=this.getUrlForTaskCollaborators(n.id);this.get({id:t.id,successCallback:r,errorCallback:e,url:i})}updateTaskCollaborator({errorCallback:e,file:t,successCallback:r,taskCollaborator:n}){this.errorCode="update_task_collaborator_error";const i={data:Xn()(n,"id")};this.put({id:t.id,url:this.getUrlForTaskCollaborator(n.id),data:Sa({},i),successCallback:r,errorCallback:e})}deleteTaskCollaborator({errorCallback:e,file:t,successCallback:r,taskCollaborator:n}){this.errorCode="delete_task_collaborator_error",this.delete({id:t.id,url:this.getUrlForTaskCollaborator(n.id),successCallback:r,errorCallback:e})}};function Pa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ca(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pa(Object(r),!0).forEach((function(t){ka(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ka(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _a=class extends ma{getUrlForTaskLinkCreate(){return`${this.getBaseApiUrl()}/undoc/task_links`}createTaskLink({errorCallback:e,file:t,successCallback:r,task:n}){this.errorCode="create_task_link_error";const i={data:{target:{id:t.id,type:"file"},task:{id:n.id,type:"task"}}};this.post({id:t.id,url:this.getUrlForTaskLinkCreate(),data:Ca({},i),successCallback:r,errorCallback:e})}};function Aa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ta(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Aa(Object(r),!0).forEach((function(t){ja(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Aa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ja(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ia=class extends Ji{hasMoreItems(e){return null!==e&&""!==e}async markerGetRequest(e,t,r,n,i={}){if(!this.isDestroyed())try{const o=this.getUrl(e),a=Ta(Ta({},i),{},{marker:t,limit:r}),{data:s}=await this.xhr.get({url:o,id:zi(e),params:a}),l=this.data?this.data.entries:[];this.data=Ta(Ta({},s),{},{entries:l.concat(s.entries)});const c=s.next_marker;if(n&&this.hasMoreItems(c))return void this.markerGetRequest(e,c,r,n,i);this.successHandler(this.data)}catch(e){this.errorHandler(e)}}async markerGet({id:e,successCallback:t,errorCallback:r,marker:n="",limit:i=1e3,requestData:o,shouldFetchAll:a=!0}){return this.successCallback=t,this.errorCallback=r,this.markerGetRequest(e,n,i,a,o)}};function Da(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ma(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Da(Object(r),!0).forEach((function(t){Ra(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Da(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ra(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Fa=e=>{const t=Ma(Ma({},e),{},{tagged_message:e.message});return e.replies&&e.replies.length&&(t.replies=e.replies.map(Fa)),t},La=e=>{throw e.abort(),function(){class e extends Error{constructor(e){super(e),this.name="AbortError"}}return new e("Aborted")}()};function Na(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ua(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Na(Object(r),!0).forEach((function(t){Ba(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Na(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ba(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ha=class extends Ia{constructor(...e){super(...e),Ba(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return void this.successCallback(Fa(e));const t=e.entries.map(Fa);this.successCallback(Ua(Ua({},e),{},{entries:t}))}))}getUrl(e){return`${this.getBaseApiUrl()}/undoc/comments${e?`?file_id=${e}`:""}`}getUrlForId(e){return`${this.getUrl()}/${e}`}getUrlWithRepliesForId(e,t){return`${this.getUrlForId(e)}/replies${t?`?file_id=${t}`:""}`}createComment({file:e,message:t,successCallback:r,errorCallback:n}){this.errorCode=ye;const{id:i,permissions:o}=e;try{this.checkApiCallValidity(re,o,i)}catch(e){return void n(e,this.errorCode)}this.post({id:i,url:this.getUrl(i),data:{data:{message:t}},successCallback:r,errorCallback:n})}updateComment({fileId:e,commentId:t,status:r,message:n,permissions:i,successCallback:o,errorCallback:a}){if(this.errorCode=Ce,n)try{this.checkApiCallValidity(oe,i,e)}catch(e){return void a(e,this.errorCode)}if(r)try{this.checkApiCallValidity(ae,i,e)}catch(e){return void a(e,this.errorCode)}const s={data:{status:r,message:n}};this.put({id:e,url:this.getUrlForId(t),data:s,successCallback:o,errorCallback:a})}deleteComment({fileId:e,commentId:t,permissions:r,successCallback:n,errorCallback:i}){this.errorCode=xe;try{this.checkApiCallValidity(ie,r,e)}catch(e){return void i(e,this.errorCode)}this.delete({id:e,url:this.getUrlForId(t),successCallback:n,errorCallback:i})}getComment({commentId:e,errorCallback:t,fileId:r,permissions:n,successCallback:i}){this.errorCode="fetch_comment_error";try{this.checkApiCallValidity(re,n,r)}catch(e){return void t(e,this.errorCode)}this.get({id:r,errorCallback:t,successCallback:i,url:this.getUrlForId(e)})}getComments({fileId:e,permissions:t,successCallback:r,errorCallback:n,marker:i,limit:o,shouldFetchAll:a,repliesCount:s}){this.errorCode=fe;try{this.checkApiCallValidity(re,t,e)}catch(e){return void n(e,this.errorCode)}this.markerGet({id:e,successCallback:r,errorCallback:n,marker:i,limit:o,requestData:Ua({},s?{replies_count:s}:null),shouldFetchAll:a})}getCommentReplies({fileId:e,commentId:t,permissions:r,successCallback:n,errorCallback:i}){this.errorCode=pe;try{this.checkApiCallValidity(re,r,e)}catch(e){return void i(e,this.errorCode)}this.get({id:e,errorCallback:i,successCallback:n,url:this.getUrlWithRepliesForId(t)})}createCommentReply({fileId:e,commentId:t,permissions:r,successCallback:n,errorCallback:i,message:o}){this.errorCode=ve;try{this.checkApiCallValidity(re,r,e)}catch(e){return void i(e,this.errorCode)}this.post({id:e,data:{data:{message:o}},errorCallback:i,successCallback:n,url:this.getUrlWithRepliesForId(t,e)})}},Va=class extends Ji{getUrl(e){if(!e)throw new Error("Missing file id!");return`${this.getBaseApiUrl()}/file_access_stats/${e}`}getFileAccessStats(e,t,r){this.errorCode="fetch_access_stats_error",this.get({id:e,successCallback:t,errorCallback:r})}};function za(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?za(Object(r),!0).forEach((function(t){qa(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):za(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qa(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ga=class extends Ji{getFilteredUrl(e,t,r){return`${this.getBaseApiUrl()}${((e,t=[],r=!1)=>{const n=`&enable_replies=${r?"true":"false"}&reply_limit=1`;return`/file_activities?file_id=${e}${t&&t.length?`&activity_types=${t.join()}`:""}${n}`})(e,t,r)}`}getActivities({activityTypes:e,errorCallback:t,fileID:r,permissions:n,repliesCount:i,shouldShowReplies:o,successCallback:a}){this.errorCode="fetch_activity_error";try{if(!r)throw new Error("Missing file id!");e.includes(Ze)&&this.checkApiCallValidity(re,n,r),e.includes(Ge)&&this.checkApiCallValidity(le,n,r)}catch(e){return void t(e,this.errorCode)}this.get({id:r,successCallback:a,errorCallback:t,requestData:$a({},i?{replies_count:i}:null),url:this.getFilteredUrl(r,e,o)})}};function Wa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Za(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wa(Object(r),!0).forEach((function(t){Xa(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xa(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ka=class extends Ia{getUrl(){return`${this.getBaseApiUrl()}/groups`}getGroupsInEnterprise(e,t,r,n,i=50){this.errorCode="fetch_enterprise_groups_error",this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:Za({usemarker:!0},n),shouldFetchAll:!1})}};function Qa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ya(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qa(Object(r),!0).forEach((function(t){Ja(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ja(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const es=class extends Ia{getUrl(){return`${this.getBaseApiUrl()}/users`}getUsersInEnterprise(e,t,r,n,i=50){this.errorCode="fetch_enterprise_users_error",this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:Ya({usemarker:!0},n),shouldFetchAll:!1})}},ts=class extends Ji{getUrlForGroupCount(e){return`${this.getBaseApiUrl()}/groups/${e}/memberships`}getGroupCount({errorCallback:e=ot(),successCallback:t=ot(),group:r,file:n}){return new Promise(((i,o)=>this.get({id:n.id,url:this.getUrlForGroupCount(r.id),successCallback:(...e)=>{t(...e),i(...e)},errorCallback:(...t)=>{e(...t),o()},requestData:{params:{limit:1}}})))}},rs=class extends Ji{getUrl(){return`${this.getBaseApiUrl()}/users/me`}getAvatarUrl(e){if(!e)throw new Error("Missing user id");return`${this.getBaseApiUrl()}/users/${e}/avatar`}async getAvatarUrlWithAccessToken(e,t){if(!e)return null;const r=this.getCache();if(r.has(e))return r.get(e);const n=await Ri.getReadToken(zi(t),this.options.token);if("string"==typeof n){const t={access_token:n,pic_type:"large"},i=sn.stringify(t),o=`${this.getAvatarUrl(e)}?${i}`;return r.set(e,o),o}return null}getUser(e,t,r,n={}){this.errorCode="fetch_current_user_error",this.get({id:e,successCallback:t,errorCallback:r,requestData:n})}};var ns=__webpack_require__(47217),is=__webpack_require__.n(ns),os=__webpack_require__(92558),as=__webpack_require__.n(os),ss=__webpack_require__(58965),ls=__webpack_require__.n(ss),cs=__webpack_require__(87579),us=__webpack_require__.n(cs),ds=__webpack_require__(79464),hs=__webpack_require__.n(ds),fs=__webpack_require__(39832),ps=__webpack_require__.n(fs),ms=__webpack_require__(94012),bs=__webpack_require__.n(ms),gs=__webpack_require__(78949),ys=__webpack_require__.n(gs);const vs=["displayName","display_name"];function ws(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Es(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ws(Object(r),!0).forEach((function(t){Ss(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ws(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ss(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const xs=class extends Lo{getMetadataCacheKey(e){return`${E}${e}`}getSkillsCacheKey(e){return`${this.getMetadataCacheKey(e)}_skills`}getClassificationCacheKey(e){return`${this.getMetadataCacheKey(e)}_classification`}getMetadataTemplateSchemaCacheKey(e){return`${E}template_schema_${e}`}getMetadataUrl(e,t,r){const n=`${this.getUrl(e)}/metadata`;return t&&r?`${n}/${t}/${r}`:n}getMetadataUrlForFolder(e,t,r){const n=`${this.getBaseApiUrl()}/folders/${e}/metadata`;return t&&r?`${n}/${t}/${r}`:n}getMetadataTemplateUrl(){return`${this.getBaseApiUrl()}/metadata_templates`}getMetadataTemplateUrlForInstance(e){return`${this.getMetadataTemplateUrl()}?metadata_instance_id=${e}`}getMetadataTemplateSchemaUrl(e){return`${this.getMetadataTemplateUrl()}/enterprise/${e}/schema`}getMetadataTemplateUrlForScope(e){return`${this.getMetadataTemplateUrl()}/${e}`}getCustomPropertiesTemplate(){return{id:nt()("metadata_template_"),scope:_,templateKey:k,hidden:!1,fields:[]}}createEditor(e,t,r){const n={};return Object.keys(e).forEach((t=>{t.startsWith("$")||(n[t]=e[t])})),{template:t,instance:{id:e.$id,canEdit:e.$canEdit&&r,data:n}}}getTaxonomyLevelsForTemplatesUrl(e){return`${this.getBaseApiUrl()}/${e}`}getTaxonomyPath(e,t){return e&&t?`metadata_taxonomies/${e}/${t}`:null}async getTaxonomyLevelsForTemplates(e,t){const r=is()(e),n=ls()(r,(e=>as()(e.fields,(e=>"taxonomy"===e.type&&!e.levels&&(e.taxonomyKey||e.taxonomy_key)))));if(us()(n))return r;const i=ys()(n.map((e=>this.getTaxonomyPath(e.namespace,e.taxonomyKey||e.taxonomy_key))).filter(Boolean)).map((async e=>{try{return{path:e,levels:(await this.xhr.get({url:this.getTaxonomyLevelsForTemplatesUrl(e),id:zi(t)})).data.levels||[]}}catch(t){throw new Error(`Failed to fetch taxonomy for path: ${e}`)}})),o=await Promise.all(i),a=hs()(o,"path");return ps()(r,(e=>{if(!e.fields)return e;const[t,r]=bs()(e.fields,(e=>"taxonomy"===e.type&&!e.levels));if(us()(t))return e;const n=ps()(t,(e=>{const t=this.getTaxonomyPath(e.namespace,e.taxonomyKey||e.taxonomy_key),r=a[t]?.levels||[],n=e.taxonomyKey||e.taxonomy_key;return delete e.taxonomy_key,Es(Es({},e),{},{levels:ps()(r,(e=>{let{displayName:t,display_name:r}=e;return Es(Es({},function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,vs)),{},{displayName:t||r})})),taxonomyKey:n})}));return Es(Es({},e),{},{fields:r.concat(n)})}))}async getTemplates(e,t,r){this.errorCode="fetch_metadata_templates_error";let n={};const i=r?this.getMetadataTemplateUrlForInstance(r):this.getMetadataTemplateUrlForScope(t);try{n=await this.xhr.get({url:i,id:zi(e),params:{limit:1e3}})}catch(e){const{status:t}=e;if(Xi(t))throw e}return n=bi()(n,"data.entries",[]),await this.getTaxonomyLevelsForTemplates(n,e)}async getSchemaByTemplateKey(e){const t=this.getCache(),r=this.getMetadataTemplateSchemaCacheKey(e);if(t.has(r))return t.get(r);const n=this.getMetadataTemplateSchemaUrl(e),i=await this.xhr.get({url:n});return t.set(r,i),i}async getInstances(e,t=!1){this.errorCode=be;const r=this.getMetadataUrl(e),n=t?`${r}?view=hydrated`:r;let i={};try{i=await this.xhr.get({url:n,id:zi(e)})}catch(e){const{status:t}=e;if(Xi(t))throw e}return bi()(i,"data.entries",[])}getUserAddableTemplates(e,t,r,n){let i=[];return r&&(i=n?[e]:[e].concat(t)),i.filter((e=>!e.hidden&&e.templateKey!==P))}extractClassification(e,t){const r=t.find((e=>e.$template===P));if(r){t.splice(t.indexOf(r),1);const n=this.getCache(),i=this.getClassificationCacheKey(e);n.set(i,r)}return t}async getTemplateForInstance(e,t,r){const n=t.$id,i=t.$template,o=t.$scope;let a=r.find((e=>e.templateKey===i&&e.scope===o));return!a&&o.startsWith(A)&&(a=(await this.getTemplates(e,o,n))[0]),a}async getEditors(e,t,r,n,i,o){const a=[r].concat(n,i),s=[];return await Promise.all(t.map((async t=>{const r=await this.getTemplateForInstance(e,t,a);r&&s.push(this.createEditor(t,r,o))}))),s}createTemplateInstance(e,t,r){const n=[];return t.templateKey!==k?(t.fields||[]).forEach((t=>{const r=((e,t)=>"taxonomy"===e.type&&Array.isArray(t)?t.map((e=>({value:e.id,displayValue:e.displayName}))):t)(t,e[t.key]);n.push(Es(Es({},t),{},{value:r}))})):Object.keys(e).forEach((t=>{t.startsWith("$")||n.push({key:t,type:"string",value:e[t]})})),{canEdit:e.$canEdit&&r,displayName:t.displayName,hidden:t.hidden,id:t.id,fields:n,scope:t.scope,templateKey:t.templateKey,type:e.$type}}async getTemplateInstances(e,t,r,n,i,o){const a=[r].concat(n,i),s=[];return await Promise.all(t.map((async t=>{const r=await this.getTemplateForInstance(e,t,a);r&&s.push(this.createTemplateInstance(t,r,o))}))),s}async getMetadata(e,t,r,n,i={},o=!1){const{id:a,permissions:s,is_externally_owned:l}=e;if(this.errorCode=be,this.successCallback=t,this.errorCallback=r,!a||!s)return void this.errorHandler(qi());const c=this.getCache(),u=this.getMetadataCacheKey(a);if(i.forceFetch&&c.unset(u),!c.has(u)||(this.successHandler(c.get(u)),i.refreshCache))try{const e=this.getCustomPropertiesTemplate(),[t,r,i]=await Promise.all([this.getInstances(a,o),this.getTemplates(a,_),n?this.getTemplates(a,A):Promise.resolve([])]),d=this.extractClassification(a,t),h=o?await this.getTemplateInstances(a,d,e,i,r,!!s.can_upload):[],f={editors:o?[]:await this.getEditors(a,d,e,i,r,!!s.can_upload),templateInstances:h,templates:this.getUserAddableTemplates(e,i,n,l)};c.set(u,f),this.isDestroyed()||this.successHandler(f)}catch(e){this.errorHandler(e)}}async getSkills(e,t,r,n=!1){this.errorCode="fetch_skills_error";const{id:i}=e;if(!i)return void r(qi(),this.errorCode);const o=this.getCache(),a=this.getSkillsCacheKey(i);if(this.successCallback=t,this.errorCallback=r,n&&o.unset(a),o.has(a))return void this.successHandler(o.get(a));let s={data:bi()(e,J)};try{if(s.data||(s=await this.xhr.get({url:this.getMetadataUrl(i,_,C),id:zi(i)})),!this.isDestroyed()){const e=s.data.cards||[];o.set(a,e),this.successHandler(e)}}catch(e){this.errorHandler(e)}}async updateSkills(e,t,r,n){this.errorCode="update_skills_error";const{id:i,permissions:o}=e;if(i&&o)if(o.can_upload){this.successCallback=r,this.errorCallback=n;try{const e=await this.xhr.put({url:this.getMetadataUrl(i,_,C),headers:{[x]:"application/json-patch+json"},id:zi(i),data:t});if(!this.isDestroyed()){const t=e.data.cards||[];this.merge(this.getCacheKey(i),J,e.data),this.getCache().set(this.getSkillsCacheKey(i),t),this.successHandler(t)}}catch(e){this.errorHandler(e)}}else n(Gi(),this.errorCode);else n(qi(),this.errorCode)}async updateMetadata(e,t,r,n,i,o){this.errorCode=ke,o||(this.successCallback=n,this.errorCallback=i);const{id:a,permissions:s,type:l}=e;if(!a||!s)return void this.errorHandler(qi());const c=!!s.can_upload;if(c)try{const e=await this.xhr.put({url:"file"===l?this.getMetadataUrl(a,t.scope,t.templateKey):this.getMetadataUrlForFolder(a,t.scope,t.templateKey),headers:{[x]:"application/json-patch+json"},id:"file"===l?zi(a):$i(a),data:r});if(!this.isDestroyed()){const r=this.getCache(),n=this.getMetadataCacheKey(a),i=r.get(n),s=this.createEditor(e.data,t,c);i&&i.editors&&i.editors.splice(i.editors.findIndex((({instance:e})=>e.id===s.instance.id)),1,s),o||this.successHandler(s)}}catch(e){if(o)throw e;this.errorHandler(e)}else this.errorHandler(Gi())}async bulkUpdateMetadata(e,t,r,n,i){this.errorCode=ke,this.successCallback=n,this.errorCallback=i;try{const o=e.map((async(e,o)=>{try{await this.updateMetadata(e,t,r[o],n,i,!0)}catch(e){throw new Error(`Failed to update metadata: ${e.message||e}`)}}));await Promise.all(o),this.isDestroyed()||this.successHandler()}catch(e){this.isDestroyed()||this.errorHandler(e)}}async updateMetadataRedesign(e,t,r,n,i){this.errorCode=ke,this.successCallback=n,this.errorCallback=i;const{id:o,permissions:a}=e;if(o&&a)if(a.can_upload)try{if(await this.xhr.put({url:this.getMetadataUrl(o,t.scope,t.templateKey),headers:{[x]:"application/json-patch+json"},id:zi(o),data:r}),!this.isDestroyed()){const e=this.getCache(),r=this.getMetadataCacheKey(o),n=e.get(r);n&&n.templateInstances&&n.templateInstances.splice(n.templateInstances.findIndex((e=>e.scope===t.scope&&e.templateKey===t.templateKey)),1,t),this.successHandler()}}catch(e){this.errorHandler(e)}else this.errorHandler(Gi());else this.errorHandler(qi())}async createMetadata(e,t,r,n){if(this.errorCode=Se,!e||!t)return void n(qi(),this.errorCode);const{id:i,permissions:o,is_externally_owned:a}=e;if(!i||!o)return void n(qi(),this.errorCode);const s=!!o.can_upload,l=t.templateKey===k&&t.scope===_;if(!s||a&&!l)n(Gi(),this.errorCode);else{this.successCallback=r,this.errorCallback=n;try{const e=await this.xhr.post({url:this.getMetadataUrl(i,t.scope,t.templateKey),id:zi(i),data:{}});if(!this.isDestroyed()){const r=this.getCache(),n=this.getMetadataCacheKey(i),o=r.get(n),a=this.createEditor(e.data,t,s);o.editors.push(a),this.successHandler(a)}}catch(e){this.errorHandler(e)}}}async createMetadataRedesign(e,t,r,n){if(this.errorCode=Se,!e||!t)return void n(qi(),this.errorCode);const{id:i,permissions:o,is_externally_owned:a}=e;if(!i||!o)return void n(qi(),this.errorCode);const s=!!o.can_upload,l=t.templateKey===k&&t.scope===_;if(!s||a&&!l)n(Gi(),this.errorCode);else{this.successCallback=r,this.errorCallback=n;try{const e=t.fields.reduce(((e,t)=>{let{value:r}=t;return"float"===t.type&&r&&(r=parseFloat(t.value)),"enum"===t.type&&r&&0===r.length&&(r=void 0),"taxonomy"===t.type&&r&&Array.isArray(r)&&(r=r.map((e=>e.value))),e[t.key]=r,e}),{}),r=await this.xhr.post({url:this.getMetadataUrl(i,t.scope,t.templateKey),id:zi(i),data:e});if(!this.isDestroyed()){const e=this.getCache(),n=this.getMetadataCacheKey(i),o=e.get(n),a=Es(Es({},t),{},{type:r.data.$type});o.templateInstances.push(a),this.successHandler(a)}}catch(e){this.errorHandler(e)}}}async deleteMetadata(e,t,r,n,i=!1){if(this.errorCode="delete_metadata_error",!e||!t)return void n(qi(),this.errorCode);const{scope:o,templateKey:a}=t,{id:s,permissions:l}=e;if(s&&l)if(l.can_upload){this.successCallback=r,this.errorCallback=n;try{if(await this.xhr.delete({url:this.getMetadataUrl(s,o,a),id:zi(s)}),!this.isDestroyed()){const e=this.getCache(),t=this.getMetadataCacheKey(s),r=e.get(t);i?r.templateInstances.splice(r.templateInstances.findIndex((e=>e.scope===o&&e.templateKey===a)),1):r.editors.splice(r.editors.findIndex((e=>e.template.scope===o&&e.template.templateKey===a)),1),this.successHandler()}}catch(e){this.errorHandler(e)}}else n(Gi(),this.errorCode);else n(qi(),this.errorCode)}getMetadataSuggestionsUrl(){return`${this.getBaseApiUrl()}/metadata_instances/suggestions`}async getMetadataSuggestions(e,t,r,n,i=T){if(this.errorCode="fetch_metadata_suggestions_error",!e||t!==d)throw qi();if(!r)throw new Error("Missing scope");if(!n)throw new Error("Missing templateKey");if(i!==T)throw new Error(`Invalid confidence level: "${i}"`);let o={};try{o=await this.xhr.get({url:this.getMetadataSuggestionsUrl(),id:zi(e),params:{item:`${t}_${e}`,scope:r,template_key:n,confidence:i}})}catch(e){const{status:t}=e;if(Xi(t))throw e}if(!us()(o)&&0===bi()(o,"data.suggestions").length)throw this.errorCode="empty_metadata_suggestions_error",new Error("No suggestions found.");return bi()(o,"data.suggestions",[])}getMetadataOptionsUrl(e,t,r){return`${this.getBaseApiUrl()}/metadata_templates/${e}/${t}/fields/${r}/options`}async getMetadataOptions(e,t,r,n,i,o){if(this.errorCode="fetch_metadata_options_error",!e)throw qi();if(!t)throw new Error("Missing scope");if(!r)throw new Error("Missing templateKey");if(!n)throw new Error("Missing fieldKey");if(!i&&0!==i)throw new Error("Missing level");const{marker:a,searchInput:s,onlySelectableOptions:l,ancestorId:c,level:u,signal:d}=o,h=Es(Es(Es(Es(Es(Es({},a?{marker:a}:{}),s?{query_text:s}:{}),u?{level:u}:{}),c?{ancestor_id:c}:{}),void 0!==l?{only_selectable_options:!!l}:{}),{},{limit:100}),f=this.getMetadataOptionsUrl(t,r,n);d&&(d.onabort=()=>La(this.xhr));const p=await this.xhr.get({url:f,id:zi(e),params:h});return bi()(p,"data",{})}getMetadataTaxonomyUrl(e,t){return`${this.getBaseApiUrl()}/metadata_taxonomies/${e}/${t}`}async getMetadataTaxonomy(e,t,r){if(this.errorCode="fetch_metadata_taxonomy_error",!e)throw qi();if(!t)throw new Error("Missing scope");if(!r)throw new Error("Missing taxonomyKey");const n=this.getMetadataTaxonomyUrl(t,r),i=await this.xhr.get({url:n,id:zi(e)});return bi()(i,"data",{})}getMetadataTaxonomyNodeUrl(e,t,r,n=!1){const i=n?"?include-ancestors=true":"";return`${this.getBaseApiUrl()}/metadata_taxonomies/${e}/${t}/nodes/${r}${i}`}async getMetadataTaxonomyNode(e,t,r,n,i){if(this.errorCode="fetch_metadata_taxonomy_node_error",!e)throw qi();if(!n)throw new Error("Missing nodeID");if(!t)throw new Error("Missing scope");if(!r)throw new Error("Missing taxonomyKey");const o=this.getMetadataTaxonomyNodeUrl(t,r,n,i),a=await this.xhr.get({url:o,id:zi(e)});return bi()(a,"data",{})}};function Os(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ps(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Os(Object(r),!0).forEach((function(t){Cs(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Os(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Cs(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ks=class extends Ia{constructor(...e){super(...e),Cs(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;const t=e.entries.map((e=>{let t;return"group"===e.type?t=e:(t=e,t.email=t.login),{id:e.id,name:e.name,item:t}}));this.successCallback(Ps(Ps({},e),{},{entries:t}))})),Cs(this,"getCollaboratorsWithQuery",((e,t,r,n,{includeGroups:i=!1,respectHiddenCollabs:o=!1}={})=>{n&&""!==n.trim()&&this.getFileCollaborators(e,t,r,{filter_term:n,include_groups:i,include_uploader_collabs:!1,respect_hidden_collabs:o})}))}getUrl(e){if(!e)throw new Error("Missing file id!");return`${this.getBaseApiUrl()}/files/${e}/collaborators`}getFileCollaborators(e,t,r,n={},i=25){this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:n})}};function _s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const As=class extends Ia{constructor(...e){super(...e),_s(this,"getCollaborations",((e,t,r,n={},i=25)=>{this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:n})})),_s(this,"successHandler",(e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)}))}getUrl(e){return`getUrl(${e}) should be overridden`}},Ts=class extends As{getUrl(e){if(!e)throw new Error("Missing file ID!");return`${this.getBaseApiUrl()}/files/${e}/collaborations`}},js=class extends As{getUrl(e){if(!e)throw new Error("Missing folder ID!");return`${this.getBaseApiUrl()}/folders/${e}/collaborations`}};function Is(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ds(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Is(Object(r),!0).forEach((function(t){Ms(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Is(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ms(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Rs=class extends Ji{constructor(...e){super(...e),Ms(this,"addCollaboration",((e,t,r,n)=>{const{id:i}=e;this.post({id:i,data:{data:Ds({item:e},t)},errorCallback:n,successCallback:r,url:this.getUrl()})}))}getUrl(){return`${this.getBaseApiUrl()}/collaborations`}},Fs={appActivityDeleteErrorMessage:{id:"be.api.appActivityDeleteErrorMessage",defaultMessage:"There was an error deleting this item."},commentCreateErrorMessage:{id:"be.api.commentCreateErrorMessage",defaultMessage:"There was an error creating this comment."},commentCreateConflictMessage:{id:"be.api.commentCreateConflictMessage",defaultMessage:"This comment already exists."},commentDeleteErrorMessage:{id:"be.api.commentDeleteErrorMessage",defaultMessage:"There was an error deleting this comment."},commentUpdateErrorMessage:{id:"be.api.commentUpdateErrorMessage",defaultMessage:"This comment could not be modified."},repliesFetchErrorMessage:{id:"be.api.repliesFetchErrorMessage",defaultMessage:"The replies to this comment could not be loaded."},taskActionErrorTitle:{id:"be.api.taskActionErrorTitle",defaultMessage:"Error"},taskApproveErrorMessage:{id:"be.api.taskApproveErrorMessage",defaultMessage:"An error has occurred while approving this task. Please refresh the page and try again."},taskCompleteErrorMessage:{id:"be.api.taskCompleteErrorMessage",defaultMessage:"An error has occurred while completing this task. Please refresh the page and try again."},taskRejectErrorMessage:{id:"be.api.taskRejectErrorMessage",defaultMessage:"An error has occurred while rejecting this task. Please refresh the page and try again."},taskDeleteErrorMessage:{id:"be.api.taskDeleteErrorMessage",defaultMessage:"There was an error while deleting this task. Please refresh the page and try again."},taskCreateErrorMessage:{id:"be.api.taskCreateErrorMessage",defaultMessage:"An error occurred while creating this task. Please try again."},taskGroupExceedsLimitWarningMessage:{id:"be.api.taskGroupExceedsWarningTitle",defaultMessage:"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group."}};function Ls(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ns(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ls(Object(r),!0).forEach((function(t){Us(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ls(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Us(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Bs extends Ia{constructor(...e){super(...e),Us(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return e.type&&"comment"===e.type?void this.successCallback(Fa(e)):void this.successCallback(this.formatReplies(e));if(e.entries.length&&"comment"===e.entries[0].type){const t=e.entries.map(Fa);return void this.successCallback(Ns(Ns({},e),{},{entries:t}))}const t=e.entries.map(this.formatReplies);this.successCallback(Ns(Ns({},e),{},{entries:t}))}))}formatReplies(e){return e.replies&&e.replies.length?Ns(Ns({},e),{},{replies:e.replies.map(Fa)}):e}getUrl(){return`${this.getBaseApiUrl()}/undoc/annotations`}getUrlForId(e){return`${this.getUrl()}/${e}`}getUrlWithRepliesForId(e){return`${this.getUrlForId(e)}/replies`}createAnnotation(e,t,r,n,i,o){this.errorCode="create_annotation_error";try{this.checkApiCallValidity(ne,n,e)}catch(e){return void o(e,this.errorCode)}const a={description:{type:"reply"},file_version:{id:t,type:"file_version"}};this.post({id:e,data:{data:di()(a,r)},errorCallback:o,successCallback:i,url:this.getUrl()})}updateAnnotation(e,t,r,n,i,o){this.errorCode="edit_annotation_error";const{message:a,status:s}=n;if(a)try{this.checkApiCallValidity(oe,r,e)}catch(e){return void o(e,this.errorCode)}if(s)try{this.checkApiCallValidity(ae,r,e)}catch(e){return void o(e,this.errorCode)}this.put({id:e,data:{data:{description:a?{message:a}:void 0,status:s}},errorCallback:o,successCallback:i,url:this.getUrlForId(t)})}deleteAnnotation(e,t,r,n,i){this.errorCode="delete_annotation_error";try{this.checkApiCallValidity(ie,r,e)}catch(e){return void i(e,this.errorCode)}this.delete({id:e,errorCallback:i,successCallback:n,url:this.getUrlForId(t)})}getAnnotation(e,t,r,n,i,o){this.errorCode="fetch_annotation_error";try{this.checkApiCallValidity(le,r,e)}catch(e){return void i(e,this.errorCode)}const a=o?{params:{fields:"replies"}}:void 0;this.get({id:e,errorCallback:i,successCallback:n,url:this.getUrlForId(t),requestData:a})}getAnnotations(e,t,r,n,i,o,a,s){this.errorCode="fetch_annotations_error";try{this.checkApiCallValidity(le,r,e)}catch(e){return void i(e,this.errorCode)}const l=Ns({file_id:e,file_version_id:t},s?{fields:"replies"}:null);this.markerGet({id:e,errorCallback:i,limit:o,requestData:l,shouldFetchAll:a,successCallback:n})}getAnnotationReplies(e,t,r,n,i){this.errorCode=pe;try{this.checkApiCallValidity(le,r,e)}catch(e){return void i(e,this.errorCode)}this.get({id:e,errorCallback:i,successCallback:n,url:this.getUrlWithRepliesForId(t)})}createAnnotationReply(e,t,r,n,i,o){this.errorCode=ve;try{this.checkApiCallValidity(ne,r,e)}catch(e){return void o(e,this.errorCode)}this.post({id:e,data:{data:{message:n}},errorCallback:o,successCallback:i,url:`${this.getUrlWithRepliesForId(t)}?file_id=${e}`})}}function Hs(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Vs=class extends Ia{constructor(...e){super(...e),Hs(this,"permissions",{}),Hs(this,"mapAppActivityItem",(e=>{const{activity_template:t,app:r,created_by:n,id:i,occurred_at:o,rendered_text:a,type:s}=e,{can_delete:l}=this.permissions;return{activity_template:t,app:r,created_at:o,created_by:n,id:i,permissions:{can_delete:l},rendered_text:a,type:s}})),Hs(this,"successHandler",(({entries:e=[]})=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;const t=e.map(this.mapAppActivityItem);this.successCallback({entries:t,total_count:t.length})})),Hs(this,"errorHandler",(e=>{if(this.isDestroyed()&&"function"!=typeof this.errorCallback)return;const{response:t}=e;404===t.status?this.successHandler({entries:[],total_count:0}):this.errorCallback(e,t.status)}))}getUrl(){return`${this.getBaseApiUrl()}/app_activities`}getDeleteUrl(e){if(!e)throw new Error("Missing file id!");return`${this.getUrl()}/${e}`}getAppActivity(e,t,r,n){const i={item_id:e,item_type:"file",fields:_o.toString()};this.permissions=t,this.markerGet({id:e,successCallback:r,errorCallback:n,requestData:i})}deleteAppActivity({id:e,appActivityId:t,successCallback:r,errorCallback:n}){this.errorCode="delete_app_activity_error",this.delete({id:e,url:this.getDeleteUrl(t),successCallback:r,errorCallback:n})}},zs=({restored_at:e,trashed_at:t,version_promoted:r})=>{let n=Be;return t&&(n="delete"),e&&(n="restore"),r&&(n="promote"),n};function $s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$s(Object(r),!0).forEach((function(t){Gs(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Gs(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ws=m;function Zs(e){return e?e.reduce(((e,t)=>{const r=e.pop();if(!r)return e.concat([t]);if(t.type===Ws&&r.type===Ws&&zs(t)===Be&&zs(r)===Be){const{modified_by:n,versions:i=[r],version_start:o=parseInt(r.version_number,10),version_end:a=parseInt(r.version_number,10)}=r,s=n||He,{modified_by:l,created_at:c,trashed_at:u,id:d,version_number:h}=t,f=parseInt(h,10),p=r.collaborators||{[s.id]:qs({},s)},m=l||He;return p[m.id]=qs({},m),e.concat([{collaborators:p,created_at:c,modified_by:m,trashed_at:u,id:d,type:Ws,version_number:h,versions:i.concat([t]),version_start:Math.min(o,f),version_end:Math.max(a,f)}])}return e.concat([r,t])}),[]):[]}const Xs=["replies"],Ks=["replies"],Qs=["replies","total_reply_count"],Ys=["replies","total_reply_count"];function Js(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function el(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Js(Object(r),!0).forEach((function(t){tl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Js(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tl(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rl(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}const nl=qe,il=e=>[...e].map((e=>el(el({},e),{},{tagged_message:e.tagged_message||e.message||""}))),ol=class extends Ji{constructor(e){super(e),tl(this,"updateAnnotation",((e,t,r,n,i,o,a)=>{if(!e.id)throw qi();if(!r&&!n)throw Zi();this.annotationsAPI=new Bs(this.options),this.file=e,this.errorCallback=a;const s={};r&&(s.message=r),n&&(s.status=n),this.updateFeedItem(el(el({},s),{},{isPending:!0}),t),this.annotationsAPI.updateAnnotation(this.file.id,t,i,s,(e=>{const{replies:r,total_reply_count:n}=e,i=rl(e,Qs);this.updateFeedItem(el(el({},i),{},{isPending:!1}),t),this.isDestroyed()||o(e)}),((e,r)=>{this.updateCommentErrorCallback(e,r,t)}))})),tl(this,"updateCommentErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(Fs.commentUpdateErrorMessage),r),this.feedErrorCallback(!0,e,t)})),tl(this,"updateReplyErrorCallback",((e,t,r,n)=>{this.updateReplyItem(this.createFeedError(Fs.commentUpdateErrorMessage),n,r),this.feedErrorCallback(!0,e,t)})),tl(this,"fetchRepliesErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(Fs.repliesFetchErrorMessage),r),this.feedErrorCallback(!0,e,t)})),tl(this,"deleteAnnotation",((e,t,r,n,i)=>{if(this.annotationsAPI=new Bs(this.options),!e.id)throw qi();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t),this.annotationsAPI.deleteAnnotation(this.file.id,t,r,this.deleteFeedItem.bind(this,t,n),((e,r)=>{this.deleteCommentErrorCallback(e,r,t)}))})),tl(this,"fetchThreadedCommentSuccessCallback",((e,t,r)=>{t(r),e()})),tl(this,"updateTaskCollaborator",((e,t,r,n,i,o)=>{if(!e.id)throw qi();this.file=e,this.errorCallback=o,this.updateFeedItem({isPending:!0},t);const a=new Oa(this.options);this.taskCollaboratorsAPI.push(a);const s={id:r,status:n},l=(e,r)=>{let i;switch(n){case"APPROVED":i=Fs.taskApproveErrorMessage;break;case"COMPLETED":default:i=Fs.taskCompleteErrorMessage;break;case"REJECTED":i=Fs.taskRejectErrorMessage}this.updateFeedItem(this.createFeedError(i,Fs.taskActionErrorTitle),t),this.feedErrorCallback(!0,e,r)};a.updateTaskCollaborator({file:e,taskCollaborator:s,successCallback:r=>{this.updateTaskCollaboratorSuccessCallback(t,e,r,i,l)},errorCallback:l})})),tl(this,"updateTaskCollaboratorSuccessCallback",((e,t,r,n,i)=>{this.tasksNewAPI=new wa(this.options),this.tasksNewAPI.getTask({id:e,file:t,successCallback:t=>{this.updateFeedItem(el(el({},t),{},{isPending:!1}),e),n(r)},errorCallback:i})})),tl(this,"updateTaskNew",(async(e,t,r=ot(),n=ot())=>{if(!e.id)throw qi();this.file=e,this.errorCallback=n,this.tasksNewAPI=new wa(this.options),this.updateFeedItem({isPending:!0},t.id);try{const n=t.addedAssignees.filter((e=>e.item&&"group"===e.item.type)).map((e=>e.id)).map((t=>new ts(this.options).getGroupCount({file:e,group:{id:t}}))),i=(await Promise.all(n)).some((e=>e.total_count>250)),o={code:Oe,type:"warning"};if(i)return void this.feedErrorCallback(!1,o,Oe);await new Promise(((r,n)=>{this.tasksNewAPI.updateTaskWithDeps({file:e,task:t,successCallback:r,errorCallback:n})})),await new Promise(((r,n)=>{this.tasksNewAPI.getTask({file:e,id:t.id,successCallback:e=>{this.updateFeedItem(el(el({},e),{},{isPending:!1}),t.id),r()},errorCallback:e=>{this.updateFeedItem({isPending:!1},t.id),this.feedErrorCallback(!1,e,Pe),n()}})})),this.isDestroyed()||r()}catch(e){this.updateFeedItem({isPending:!1},t.id),this.feedErrorCallback(!1,e,Pe)}})),tl(this,"deleteComment",((e,t,r,n,i)=>{if(this.commentsAPI=new ca(this.options),!e.id)throw qi();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t),this.commentsAPI.deleteComment({file:e,commentId:t,permissions:r,successCallback:this.deleteFeedItem.bind(this,t,n),errorCallback:(e,r)=>{this.deleteCommentErrorCallback(e,r,t)}})})),tl(this,"deleteThreadedComment",((e,t,r,n,i)=>{if(!e.id)throw qi();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t),this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.deleteComment({fileId:e.id,commentId:t,permissions:r,successCallback:this.deleteFeedItem.bind(this,t,n),errorCallback:(e,r)=>{this.deleteCommentErrorCallback(e,r,t)}})})),tl(this,"deleteReply",((e,t,r,n,i,o)=>{if(!e.id)throw qi();this.file=e,this.errorCallback=o,this.updateReplyItem({isPending:!0},r,t),this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.deleteComment({fileId:e.id,commentId:t,permissions:n,successCallback:this.deleteReplySuccessCallback.bind(this,t,r,i),errorCallback:(e,n)=>{this.deleteReplyErrorCallback(e,n,t,r)}})})),tl(this,"deleteReplySuccessCallback",((e,t,r)=>{this.modifyFeedItemRepliesCountBy(t,-1),this.deleteReplyItem(e,t,r)})),tl(this,"deleteCommentErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(Fs.commentDeleteErrorMessage),r),this.feedErrorCallback(!0,e,t)})),tl(this,"deleteReplyErrorCallback",((e,t,r,n)=>{this.updateReplyItem(this.createFeedError(Fs.commentDeleteErrorMessage),n,r),this.feedErrorCallback(!0,e,t)})),tl(this,"createTaskNew",((e,t,r,n,i,o,a,s,l)=>{if(!e.id)throw qi();this.file=e,this.errorCallback=l;const c=nt()("task_");let u;o&&(u=new Date(o).toISOString());const d={created_by:{type:"task_collaborator",target:t,id:nt()(),role:"CREATOR",status:nl},completion_rule:a,created_at:(new Date).toISOString(),due_at:u,id:c,description:r,type:"task",assigned_to:{entries:n.map((e=>({id:nt()(),target:el(el({},e),{},{avatar_url:"",type:"user"}),status:nl,permissions:{can_delete:!1,can_update:!1},role:"ASSIGNEE",type:"task_collaborator"}))),limit:10,next_marker:null},permissions:{can_update:!1,can_delete:!1,can_create_task_collaborator:!1,can_create_task_link:!1},task_links:{entries:[{id:nt()(),type:"task_link",target:el({type:"file"},e),permissions:{can_delete:!1,can_update:!1}}],limit:1,next_marker:null},task_type:i,status:qe},h={description:r,due_at:u,task_type:i,completion_rule:a},f=n.filter((e=>"group"===(e.item&&e.item.type))).map((e=>e.id)).map((t=>new ts(this.options).getGroupCount({file:e,group:{id:t}})));Promise.all(f).then((r=>{const i=r.some((e=>e.total_count>250)),o={code:Oe,type:"warning"};i?this.feedErrorCallback(!1,o,Oe):(this.tasksNewAPI=new wa(this.options),this.tasksNewAPI.createTaskWithDeps({file:e,task:h,assignees:n,successCallback:e=>{this.addPendingItem(this.file.id,t,d),this.updateFeedItem(el(el({},e),{},{task_links:{entries:e.task_links,next_marker:null,limit:1},assigned_to:{entries:e.assigned_to,next_marker:null,limit:e.assigned_to.length},isPending:!1}),c),s(e)},errorCallback:(e,t)=>{this.feedErrorCallback(!1,e,t)}}))})).catch((e=>{this.feedErrorCallback(!1,e,we)}))})),tl(this,"deleteTaskNew",((e,t,r=ot(),n=ot())=>{if(!e.id)throw qi();this.file=e,this.errorCallback=n,this.tasksNewAPI=new wa(this.options),this.updateFeedItem({isPending:!0},t.id),this.tasksNewAPI.deleteTask({file:e,task:t,successCallback:this.deleteFeedItem.bind(this,t.id,r),errorCallback:(e,r)=>{this.updateFeedItem(this.createFeedError(Fs.taskDeleteErrorMessage),t.id),this.feedErrorCallback(!0,e,r)}})})),tl(this,"deleteFeedItem",((e,t=ot())=>{const r=this.getCachedItems(this.file.id);if(r){const n=r.items.filter((t=>t.id!==e));this.setCachedItems(this.file.id,n),this.isDestroyed()||t(e)}})),tl(this,"deleteReplyItem",((e,t,r=ot())=>{const n=(this.getCachedItems(this.file.id)||{items:[],errors:[]}).items.map((r=>r.id!==t?r:r.type===f||r.type===p?((e,t)=>{const{replies:r=[]}=e,n=rl(e,Xs);return el({replies:r.filter((({id:e})=>e!==t))},n)})(r,e):r));this.setCachedItems(this.file.id,n),this.isDestroyed()||r(e,t)})),tl(this,"feedErrorCallback",((e=!1,t,r)=>{e&&this.errors.push(el(el({},t),{},{code:r})),!this.isDestroyed()&&this.errorCallback&&this.errorCallback(t,r,{error:t,[Ae]:e}),console.error(t)})),tl(this,"addPendingItem",((e,t,r)=>{if(!t)throw Wi();const n=(new Date).toISOString(),i=el({created_at:n,created_by:t,modified_at:n,isPending:!0},r),o=this.getCachedItems(this.file.id),a=[...o?o.items:[],i];return this.setCachedItems(e,a),i})),tl(this,"addPendingReply",((e,t,r)=>{if(!this.file.id)throw qi();if(!t)throw Wi();const n=(new Date).toISOString(),i=el({created_at:n,created_by:t,modified_at:n,isPending:!0},r),o=this.getCachedItems(this.file.id);if(o){const t=o.items.map((t=>t.id===e&&t.type===p||t.id===e&&t.type===f?((e,t)=>{const{replies:r=[]}=e;return el({replies:[...r,t]},rl(e,Ks))})(t,i):t));this.setCachedItems(this.file.id,t)}return i})),tl(this,"createCommentSuccessCallback",((e,t,r)=>{const{message:n="",tagged_message:i=""}=e;e.tagged_message=i||n,this.updateFeedItem(el(el({},e),{},{isPending:!1}),t),this.isDestroyed()||r(e)})),tl(this,"createCommentErrorCallback",((e,t,r)=>{const n=409===e.status?Fs.commentCreateConflictMessage:Fs.commentCreateErrorMessage;this.updateFeedItem(this.createFeedError(n),r),this.feedErrorCallback(!1,e,t)})),tl(this,"createReplySuccessCallback",((e,t,r,n)=>{this.updateReplyItem(el(el({},e),{},{isPending:!1}),t,r),this.isDestroyed()||n(e)})),tl(this,"createReplyErrorCallback",((e,t,r,n)=>{const i=409===e.status?Fs.commentCreateConflictMessage:Fs.commentCreateErrorMessage;this.updateReplyItem(this.createFeedError(i),r,n),this.feedErrorCallback(!1,e,t)})),tl(this,"updateFeedItem",((e,t)=>{if(!this.file.id)throw qi();const r=this.getCachedItems(this.file.id);if(r){const n=r.items.map((r=>r.id===t?el(el({},r),e):r));return this.setCachedItems(this.file.id,n),n}return null})),tl(this,"updateReplyItem",((e,t,r)=>{if(!this.file.id)throw qi();const n=this.getCachedItems(this.file.id);if(n){const i=n.items.map((n=>n.id===t&&n.type===p||n.id===t&&n.type===f?((e,t,r)=>{const n=el({},e);return n.replies&&(n.replies=n.replies.map((e=>e.id===t?el(el({},e),r):e))),n})(n,r,e):n));this.setCachedItems(this.file.id,i)}})),tl(this,"createComment",((e,t,r,n,i,o)=>{const a=nt()("comment_"),s={id:a,tagged_message:r,type:p};if(!e.id)throw qi();this.file=e,this.errorCallback=o,this.addPendingItem(this.file.id,t,s);const l={};n?l.taggedMessage=r:l.message=r,this.commentsAPI=new ca(this.options),this.commentsAPI.createComment(el(el({file:e},l),{},{successCallback:e=>{this.createCommentSuccessCallback(e,a,i)},errorCallback:(e,t)=>{this.createCommentErrorCallback(e,t,a)}}))})),tl(this,"createThreadedComment",((e,t,r,n,i)=>{if(!e.id)throw qi();const o=nt()("comment_"),a={id:o,tagged_message:r,type:p};this.file=e,this.errorCallback=i,this.addPendingItem(this.file.id,t,a),this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.createComment({file:e,message:r,successCallback:e=>{this.createCommentSuccessCallback(e,o,n)},errorCallback:(e,t)=>{this.createCommentErrorCallback(e,t,o)}})})),tl(this,"updateComment",((e,t,r,n,i,o,a)=>{const s={tagged_message:r};if(!e.id)throw qi();this.file=e,this.errorCallback=a,this.updateFeedItem(el(el({},s),{},{isPending:!0}),t);const l={};n?l.tagged_message=r:l.message=r,this.commentsAPI=new ca(this.options),this.commentsAPI.updateComment(el(el({file:e,commentId:t,permissions:i},l),{},{successCallback:e=>{this.updateFeedItem(el(el({},l),{},{isPending:!1}),t),this.isDestroyed()||o(e)},errorCallback:(e,r)=>{this.updateCommentErrorCallback(e,r,t)}}))})),tl(this,"updateThreadedComment",((e,t,r,n,i,o,a)=>{if(!e.id)throw qi();if(!r&&!n)throw Zi();const s={};r&&(s.tagged_message=r),n&&(s.status=n),this.file=e,this.errorCallback=a,this.updateFeedItem(el(el({},s),{},{isPending:!0}),t),this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.updateComment({fileId:e.id,commentId:t,permissions:i,message:r,status:n,successCallback:e=>{const{replies:r,total_reply_count:n}=e,i=rl(e,Ys);this.updateFeedItem(el(el({},i),{},{isPending:!1}),t),this.isDestroyed()||o(e)},errorCallback:(e,r)=>{this.updateCommentErrorCallback(e,r,t)}})})),tl(this,"updateReply",((e,t,r,n,i,o,a)=>{if(!e.id)throw qi();this.file=e,this.errorCallback=a,this.updateReplyItem({tagged_message:n,isPending:!0},r,t),this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.updateComment({fileId:e.id,commentId:t,permissions:i,message:n,undefined:void 0,successCallback:e=>{this.updateReplyItem(el(el({},e),{},{isPending:!1}),r,t),this.isDestroyed()||o(e)},errorCallback:(e,n)=>{this.updateReplyErrorCallback(e,n,t,r)}})})),tl(this,"modifyFeedItemRepliesCountBy",((e,t)=>{if(!this.file.id)throw qi();const{items:r=[]}=this.getCachedItems(this.file.id)||{},n=r.find((({id:t})=>t===e));if(!n||"annotation"!==n.type&&"comment"!==n.type)return;const i=(n.total_reply_count||0)+t;i>=0&&this.updateFeedItem({total_reply_count:i},e)})),tl(this,"deleteAppActivity",((e,t,r,n)=>{const{id:i}=e;if(!i)throw qi();this.appActivityAPI=new Vs(this.options),this.file=e,this.errorCallback=n,this.updateFeedItem({isPending:!0},t),this.appActivityAPI.deleteAppActivity({id:i,appActivityId:t,successCallback:this.deleteFeedItem.bind(this,t,r),errorCallback:(e,r)=>{this.deleteAppActivityErrorCallback(e,r,t)}})})),tl(this,"deleteAppActivityErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(Fs.appActivityDeleteErrorMessage),r),this.feedErrorCallback(!0,e,t)})),this.taskCollaboratorsAPI=[],this.taskLinksAPI=[],this.errors=[]}addAnnotation(e,t,r,n,i){if(!e.id)throw qi();if(this.file=e,i){const e=el(el({},r),{},{created_by:t,id:n,type:f});this.addPendingItem(this.file.id,t,e)}else this.updateFeedItem(el(el({},r),{},{isPending:!1}),n)}getCacheKey(e){return`feedItems_${e}`}getCachedItems(e){const t=this.getCache(),r=this.getCacheKey(e);return t.get(r)}setCachedItems(e,t){const r=this.getCache(),n=this.getCacheKey(e);r.set(n,{errors:this.errors,items:t})}feedItems(e,t,r,n,i,{shouldShowAnnotations:o=!1,shouldShowAppActivity:a=!1,shouldShowReplies:s=!1,shouldShowTasks:l=!0,shouldShowVersions:c=!0,shouldUseUAA:u=!1}={},d){const{id:h,permissions:f={}}=e,p=this.getCachedItems(h);if(p){const{errors:e,items:i}=p;if(e.length?n(i,e):r(i),!t)return}this.file=e,this.errors=[],this.errorCallback=i;const b=o?this.fetchAnnotations(f,s):Promise.resolve(),g=l?this.fetchTasksNew():Promise.resolve(),y=a?this.fetchAppActivity(f):Promise.resolve(),v=c?this.fetchVersions():Promise.resolve(),w=c?this.fetchCurrentVersion():Promise.resolve(),E=o&&f[le]?[Ge]:[],S=l?[Xe]:[],x=c?[Ke]:[],O=[...E,...a?[We]:[],...f[re]?[Ze]:[],...S,...x],P=u&&O.length?this.fetchFileActivities(f,O,s):Promise.resolve(),C=e=>{this.isDestroyed()||(this.setCachedItems(h,e),this.errors.length?n(e,this.errors):r(e))},k=[v,w,(()=>s?this.fetchThreadedComments(f):this.fetchComments(f))(),g,y,b],_=async e=>Promise.all(e).then((([e,t,...r])=>function(...e){return e.reduce(((e,t)=>t?e.concat(t.entries):e),[]).sort(((e,t)=>Date.parse(e.created_at)-Date.parse(t.created_at)))}(t?this.versionsAPI.addCurrentVersion(t,e,this.file):void 0,...r)));u?P.then((e=>{const t=((e,t={})=>e&&e.entries&&e.entries.length?e.entries.map((e=>{if(!e.source)return null;const r=el({},e.source);switch(e.activity_type){case Xe:{const e=el({},r[Xe]);if(e.assigned_to?.entries){const t=e.assigned_to.entries.map((e=>{const t=el({},e);return t.role=e.role.toUpperCase(),t.status=e.status.toUpperCase(),t}));e.assigned_to.entries=t}return e.completion_rule&&(e.completion_rule=e.completion_rule.toUpperCase()),e.status&&(e.status=e.status.toUpperCase()),e.task_type&&(e.task_type=e.task_type.toUpperCase()),e.created_by={target:e.created_by},e}case Ze:{const e=el({},r[Ze]);if(e.replies&&e.replies.length){const t=il(e.replies);e.replies=t}return e.tagged_message=e.tagged_message||e.message||"",e}case Ge:{const e=el({},r[Ge]);if(e.replies&&e.replies.length){const t=il(e.replies);e.replies=t}return e}case We:{const e=el({},r[We]),{can_delete:n}=t;return e.created_at=e.occurred_at,e.permissions={can_delete:n},e}case Ke:{const e=el({},r[Ke]);if(e.type=m,e.action_by){const t={};e.action_by.map((e=>(t[e.id]=el({},e),e))),e.collaborators=t}return e.end?.number&&(e.version_end=e.end.number,e.id=e.end.id),e.start?.number&&(e.version_start=e.start.number),e.version_start===e.version_end&&(e.version_number=e.version_start,e.uploader_display_name=e.start?.uploader_display_name,"created"===e.action_type&&e.start?.created_at&&e.start?.created_by&&(e.modified_at=e.start.created_at,e.modified_by=el({},e.start.created_by)),"trashed"===e.action_type&&e.start?.trashed_at&&e.start?.trashed_by&&(e.trashed_at=e.start.trashed_at,e.trashed_by=el({},e.start.trashed_by)),"restored"===e.action_type&&e.start?.restored_at&&e.start?.restored_by&&(e.restored_at=e.start.restored_at,e.restored_by=el({},e.start.restored_by)),"promoted"===e.action_type&&e.start?.promoted_from&&e.start?.promoted_by&&(e.version_promoted=e.start?.promoted_from,e.promoted_by=el({},e.start?.promoted_by))),e}default:return null}})).filter((e=>!!e)).reverse():[])(e,f);(async(e,t)=>{_(k).then((r=>{const n=Zs(r),i=Zs(e);d&&d({uaaResponse:t,uaaFeedItems:i,v2FeedItems:n})}))})(t,e),C(t)})):_(k).then((e=>{C(e)}))}fetchAnnotations(e,t){return this.annotationsAPI=new Bs(this.options),new Promise((r=>{this.annotationsAPI.getAnnotations(this.file.id,void 0,e,r,this.fetchFeedItemErrorCallback.bind(this,r),void 0,void 0,t)}))}fetchComments(e){return this.commentsAPI=new ca(this.options),new Promise((t=>{this.commentsAPI.getComments(this.file.id,e,t,this.fetchFeedItemErrorCallback.bind(this,t))}))}fetchThreadedComment(e,t,r,n){const{id:i,permissions:o}=e;if(!i||!o)throw qi();return this.threadedCommentsAPI=new Ha(this.options),new Promise((e=>{this.threadedCommentsAPI.getComment({commentId:t,errorCallback:n,fileId:i,permissions:o,successCallback:this.fetchThreadedCommentSuccessCallback.bind(this,e,r)})}))}fetchThreadedComments(e){return this.threadedCommentsAPI=new Ha(this.options),new Promise((t=>{this.threadedCommentsAPI.getComments({errorCallback:this.fetchFeedItemErrorCallback.bind(this,t),fileId:this.file.id,permissions:e,successCallback:t})}))}fetchFileActivities(e,t,r=!1){return this.fileActivitiesAPI=new Ga(this.options),new Promise((n=>{this.fileActivitiesAPI.getActivities({errorCallback:this.fetchFeedItemErrorCallback.bind(this,n),fileID:this.file.id,permissions:e,successCallback:n,activityTypes:t,shouldShowReplies:r})}))}fetchReplies(e,t,r,n,i){const{id:o,permissions:a}=e;if(!o||!a)throw qi();this.file=e,this.errorCallback=i,this.updateFeedItem({isRepliesLoading:!0},t);const s=({entries:e})=>{this.updateFeedItem({isRepliesLoading:!1,replies:e,total_reply_count:e.length},t),n(e)},l=(e,r)=>{this.fetchRepliesErrorCallback(e,r,t)};r===f?(this.annotationsAPI=new Bs(this.options),this.annotationsAPI.getAnnotationReplies(e.id,t,a,s,l)):r===p&&(this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.getCommentReplies({fileId:e.id,commentId:t,permissions:a,successCallback:s,errorCallback:l}))}fetchVersions(){return this.versionsAPI=new oa(this.options),new Promise((e=>{this.versionsAPI.getVersions(this.file.id,e,this.fetchFeedItemErrorCallback.bind(this,e),void 0,void 0,Po)}))}fetchCurrentVersion(){return this.versionsAPI=new oa(this.options),new Promise((e=>{const{file_version:t={}}=this.file;this.versionsAPI.getVersion(this.file.id,t.id,e,this.fetchFeedItemErrorCallback.bind(this,e))}))}fetchTasksNew(){return this.tasksNewAPI=new wa(this.options),new Promise((e=>{this.tasksNewAPI.getTasksForFile({file:{id:this.file.id},successCallback:e,errorCallback:(t,r)=>this.fetchFeedItemErrorCallback(e,t,r)})}))}fetchFeedItemErrorCallback(e,t,r){const{status:n}=t,i=Xi(n);this.feedErrorCallback(i,t,r),e()}createTaskCollaboratorsforGroup(e,t,r){if(!e.id)throw qi();return this.file=e,new Promise(((n,i)=>{const o=new Oa(this.options);this.taskCollaboratorsAPI.push(o),o.createTaskCollaboratorsforGroup({file:e,task:t,group:r,successCallback:n,errorCallback:e=>{i(e)}})}))}createTaskCollaborator(e,t,r){if(!e.id)throw qi();return this.file=e,new Promise(((n,i)=>{const o=new Oa(this.options);this.taskCollaboratorsAPI.push(o),o.createTaskCollaborator({file:e,task:t,user:r,successCallback:n,errorCallback:e=>{i(e)}})}))}deleteTaskCollaborator(e,t,r){if(!e.id)throw qi();return this.file.id=e.id,new Promise(((n,i)=>{const o=new Oa(this.options);this.taskCollaboratorsAPI.push(o),o.deleteTaskCollaborator({file:e,task:t,taskCollaborator:{id:r.id},successCallback:n,errorCallback:e=>{i(e)}})}))}createTaskLink(e,t){if(!e.id)throw qi();return this.file=e,new Promise(((r,n)=>{const i=new _a(this.options);this.taskLinksAPI.push(i),i.createTaskLink({file:e,task:t,successCallback:r,errorCallback:n})}))}createFeedError(e,t=Wn.errorOccured){return{error:{message:e,title:t}}}createReply(e,t,r,n,i,o,a){const{id:s,permissions:l}=e;if(!s||!l)throw qi();const c=nt()("comment_"),u={id:c,tagged_message:i,type:p};this.file=e,this.errorCallback=a,this.addPendingReply(r,t,u),this.modifyFeedItemRepliesCountBy(r,1);const d=e=>{this.createReplySuccessCallback(e,r,c,o)},h=(e,t)=>{this.createReplyErrorCallback(e,t,r,c)};n===f?(this.annotationsAPI=new Bs(this.options),this.annotationsAPI.createAnnotationReply(e.id,r,l,i,d,h)):n===p&&(this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.createCommentReply({fileId:e.id,commentId:r,permissions:l,message:i,successCallback:d,errorCallback:h}))}destroyTaskCollaborators(){Array.isArray(this.taskCollaboratorsAPI)&&(this.taskCollaboratorsAPI.forEach((e=>e.destroy())),this.taskCollaboratorsAPI=[])}destroyTaskLinks(){Array.isArray(this.taskLinksAPI)&&(this.taskLinksAPI.forEach((e=>e.destroy())),this.taskLinksAPI=[])}fetchAppActivity(e){return this.appActivityAPI=new Vs(this.options),new Promise((t=>{this.appActivityAPI.getAppActivity(this.file.id,e,t,this.fetchFeedItemErrorCallback.bind(this,t))}))}destroy(){super.destroy(),this.annotationsAPI&&(this.annotationsAPI.destroy(),delete this.annotationsAPI),this.commentsAPI&&(this.commentsAPI.destroy(),delete this.commentsAPI),this.threadedCommentsAPI&&(this.threadedCommentsAPI.destroy(),delete this.threadedCommentsAPI),this.versionsAPI&&(this.versionsAPI.destroy(),delete this.versionsAPI),this.appActivityAPI&&(this.appActivityAPI.destroy(),delete this.appActivityAPI),this.tasksNewAPI&&(this.tasksNewAPI.destroy(),delete this.tasksNewAPI),this.destroyTaskCollaborators(),this.destroyTaskLinks()}},al=class extends Ji{getUrl(e){if(!e)throw new Error("Missing app integration id!");return`${this.getBaseApiUrl()}/app_integrations/${e}`}execute(e,t,r,n){if(!e)throw new Error("Missing integration id!");if(!t)throw new Error("Missing file id!");this.errorCode=ge;const i=`${this.getUrl(e)}/execute`,o={data:{item:{id:t,type:d}}};this.post({id:t,url:i,data:o,successCallback:r,errorCallback:n})}},sl=class extends Ji{getUrl(e){if(!e)throw new Error("Missing file id!");return`${this.getBaseApiUrl()}/files/${e}/open_with_integrations`}getOpenWithIntegrations(e,t,r){this.errorCode="fetch_integrations_error",this.get({id:e,successCallback:e=>{const r=this.formatOpenWithData(e),n=this.consolidateBoxEditIntegrations(r);t(n)},errorCallback:r})}consolidateBoxEditIntegrations(e){let t=[...e];return e.some((e=>e.appIntegrationId===Ve))&&(t=e.filter((e=>e.appIntegrationId!==ze))),t}formatOpenWithData(e){const{items:t,default_app_integration:r}=e;return t.map((({app_integration:e,disabled_reasons:t,display_name:n,display_description:i,display_order:o,is_disabled:a,should_show_consent_popup:s})=>{const{id:l,type:c}=e;return{appIntegrationId:l,displayDescription:i,disabledReasons:t||[],displayOrder:o,isDefault:!!r&&l===r.id,isDisabled:a,displayName:n,requiresConsent:s,type:c}})).sort(((e,t)=>e.displayOrder-t.displayOrder))}};const ll=class extends Ji{constructor(...e){var t,r,n;super(...e),t=this,n=({data:e})=>{this.getCache().set(this.key,e),this.finish()},(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(r="queryMetadataSuccessHandler"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}getCacheKey(e){return`metadata_query_${e}`}getUrl(){return`${this.getBaseApiUrl()}/metadata_queries/execute_read`}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache().get(this.key);this.successCallback(e)}queryMetadataRequest(e){this.isDestroyed()||(this.errorCode="metadata_query_error",this.xhr.post({url:this.getUrl(),data:e}).then(this.queryMetadataSuccessHandler).catch(this.errorHandler))}queryMetadata(e,t,r,n={}){if(this.isDestroyed())return;const{context:i={}}=n;this.key=this.getCacheKey(i.id),this.successCallback=t,this.errorCallback=r,n.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.queryMetadataRequest(e)}},cl={CHROME:"Chrome",EDGE:"Edge",FIREFOX:"Firefox",MAC:"Mac",SAFARI:"Safari",IE:"Explorer"},ul=[{key:"userAgent",subString:cl.EDGE,identity:cl.EDGE},{key:"userAgent",subString:cl.CHROME,identity:cl.CHROME},{key:"userAgent",subString:"criOS",identity:cl.CHROME,versionSearch:"criOS"},{key:"vendor",subString:"Apple",identity:cl.SAFARI,versionSearch:"Version"},{key:"userAgent",subString:cl.FIREFOX,identity:cl.FIREFOX},{key:"userAgent",subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{key:"userAgent",subString:"Trident",identity:"Explorer",versionSearch:"rv"},{key:"userAgent",subString:"Gecko",identity:"Mozilla",versionSearch:"rv"}],dl=[{key:"platform",subString:"Win",identity:"Windows"},{key:"userAgent",subString:"iPod",identity:"iOS",device:"iPod"},{key:"userAgent",subString:"iPhone",identity:"iOS",device:"iPhone"},{key:"userAgent",subString:"iPad",identity:"iOS",device:"iPad"},{key:"platform",subString:cl.MAC,identity:cl.MAC},{key:"userAgent",subString:"Android",identity:"Android"},{key:"platform",subString:"Linux",identity:"Linux"}];function hl(e,t){let r,n=null,i=null,o="";for(let a=0,s=t.length;a<s;a+=1)if(r=e[t[a].key],o=t[a].versionSearch||t[a].identity,r&&-1!==r.indexOf(t[a].subString)){n=t[a].identity,i=t[a].device;break}return{identity:n,device:i,versionSearchString:o}}function fl(e,t){const r=e.indexOf(t);if(-1===r)return"";const n=e.substring(r+t.length+1).match(/[0-9]+(?:\.[0-9]*)?/);return n&&n.length?n[0]:""}const pl=new class{constructor(){const{navigator:e}=window,t=hl(e,ul),r=hl(e,dl);this.browser=t.identity||"unknown",this.version=fl(e.userAgent,t.versionSearchString)||fl(e.appVersion,t.versionSearchString)||"unknown",this.OS=r.identity||"unknown",this.device=r.device||"unknown"}getName(){return this.browser}getVersion(){return this.version}isMinBrowser(e,t){return this.browser.toLowerCase()===e.toLowerCase()&&parseFloat(this.version)>=parseFloat(t)}isSafari(){return this.browser===cl.SAFARI}isFirefox(){return this.browser===cl.FIREFOX}isChrome(){return this.browser===cl.CHROME}isIE(){return this.browser===cl.IE}isEdge(){return this.browser===cl.EDGE}isIEAndSpecificBrowserPluginSupported(e){return this.isIE()&&function(e){const t=e||"htmlfile";let r=!1;try{if("ActiveXObject"in window){const{ActiveXObject:e}=window;r=!!new e(t)}}catch(e){r=!1}return r}(e)}},ml={SAFARI_CHANNEL_NAME:"safari_channel",SECRET_STORE_COOKIE_NAME:"box-edit-secret-cookie-name",BOX_EDIT_APP_NAME:"BoxEdit",BOX_EDIT_NOT_SUPPORTED_ERROR:"box_edit_not_supported_error",BOX_EDIT_UNINSTALLED_ERROR:"box_edit_uninstalled_error",BOX_EDIT_UPGRADE_BROWSER_ERROR:"box_edit_upgrade_browser_error",BOX_EDIT_SAFARI_ERROR:"box_edit_safari_error",BOX_EDIT_INSECURE_REQUESTS_UPGRADED_ERROR:"box_edit_insecure_requests_upgraded_error",BOX_TOOLS_PLUGIN_NAME:"Box.BoxTools",BOX_SECURE_LOCAL_BASE_URL:"https://edit.boxlocalhost.com:",BOX_UNSECURE_LOCAL_BASE_URL:"http://127.0.0.1:",ACTIVEX_CHANNEL_NAME:"activex_channel",HTTP_CHANNEL_NAME:"http_channel",HTTPS_CHANNEL_NAME:"https_channel",OPERATION_STATUS:"status",OPERATION_REQUEST:"application_request",OPERATION_COMMAND:"application_command",UNCREATED_STATUS:"uncreated",CREATED_STATUS:"created",ACTIVE_STATUS:"active",HIVE_TABLE_WEBAPP_BOXTOOLS_ANALYTICS:"webapp_boxtools_analytics",KEY_LENGTH:16,KEY_ID_LENGTH:8,IV:"75392C57F66CE7E7EF47110410280DD7",OUTPUT_EVENT:"box_extension_output",REQUEST_ID_PRE:"BOX-EXT-REQ-ID-",REQUEST_TIMEOUT_RESPONSE_CODE:408,EXTENSION_BLACKLIST:{A6P:1,AC:1,AS:1,ACR:1,ACTION:1,AIR:1,APP:1,AWK:1,BAT:1,BOXNOTE:1,CGI:1,CHM:1,CMD:1,COM:1,CSH:1,DEK:1,DLD:1,DS:1,EBM:1,ESH:1,EXE:1,EZS:1,FKY:1,FRS:1,FXP:1,GADGET:1,HMS:1,HTA:1,ICD:1,INX:1,IPF:1,ISU:1,JAR:1,JS:1,JSE:1,JSX:1,KIX:1,LNK:1,LUA:1,MCR:1,MEM:1,MPX:1,MS:1,MSI:1,MST:1,OBS:1,PAF:1,PEX:1,PIF:1,PL:1,PRC:1,PRG:1,PVD:1,PWC:1,PY:1,PYC:1,PYO:1,QPX:1,RBX:1,REG:1,RGS:1,ROX:1,RPJ:1,SCAR:1,SCR:1,SCRIPT:1,SCPT:1,SCT:1,SH:1,SHB:1,SHS:1,SPR:1,TLB:1,TMS:1,U3P:1,UDF:1,URL:1,VB:1,VBE:1,VBS:1,VBSCRIPT:1,WCM:1,WPK:1,WS:1,WSF:1,XQT:1}};function bl(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const gl=class{constructor(e){bl(this,"buildNextRequestID",(()=>`${ml.REQUEST_ID_PRE}${this.window.performance.now()}`)),bl(this,"buildDetailsObj",((e,t,r)=>{const n=r.toString(),i={data:void 0,operation:e,properties:{application:this.appName,timeout:n},req_id:this.buildNextRequestID()};if(e!==ml.OPERATION_STATUS){if(!t)throw new TypeError(`Data cannot be undefined for ${e}`);i.data=t}return i})),this.appName=e,this.window=window}sendCommand(e,t,r){return Promise.resolve("TODO")}sendRequest(e,t,r){return Promise.resolve("TODO")}getComServerStatus(e,t){return Promise.resolve("TODO")}destroy(){}};function yl(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const vl=class extends gl{constructor(e,t){super(e),yl(this,"executeOperation",((e="",t={},r=0,n=0)=>new Promise(((i,o)=>{const a=this.buildDetailsObj(e,t,n),s=setTimeout((()=>{o(new Error({status_code:ml.REQUEST_TIMEOUT_RESPONSE_CODE}))}),r);this.reqIdToPromiseMap.set(a.req_id,{resolve:i,rejectTimeout:s}),this.executeActiveXEvent({detail:a})})))),yl(this,"repairActiveXConnection",(e=>{pl.isIEAndSpecificBrowserPluginSupported(ml.BOX_TOOLS_PLUGIN_NAME)&&(this.retryAttempt>=2||(this.retryAttempt+=1,setTimeout((()=>{this.executeActiveXEvent(e)}),100)))})),yl(this,"executeActiveXEvent",(e=>{const t=this.createActiveXObjectJSRef(),r="ExecuteSync"in t;try{this.isSynchronous&&r?t.ExecuteSync(JSON.stringify(e)):t.Execute(JSON.stringify(e))}catch(t){this.repairActiveXConnection(e)}})),yl(this,"createActiveXObjectJSRef",(()=>{const{ActiveXObject:e}=this.window;return new e(ml.BOX_TOOLS_PLUGIN_NAME)})),yl(this,"setupActiveXCommunication",(()=>{this.isActiveXExtensionListenerAttached||(this.document.addEventListener(ml.OUTPUT_EVENT,this.appExtensionEventResponseHandler),this.isActiveXExtensionListenerAttached=!0)})),yl(this,"tearDownActiveXCommunication",(()=>{this.isActiveXExtensionListenerAttached&&(this.document.removeEventListener(ml.OUTPUT_EVENT,this.appExtensionEventResponseHandler),this.isActiveXExtensionListenerAttached=!1)})),yl(this,"appExtensionEventResponseHandler",(e=>{this.retryAttempt>0&&(this.retryAttempt=0);const t="string"==typeof e.detail?JSON.parse(e.detail):e.detail;if(this.reqIdToPromiseMap.has(t.req_id)){const e=this.reqIdToPromiseMap.get(t.req_id);if(e){clearTimeout(e.rejectTimeout),this.reqIdToPromiseMap.delete(t.req_id);const r="string"==typeof t.com_server_response.data?JSON.parse(t.com_server_response.data):t.com_server_response.data;e.resolve(r)}}})),yl(this,"getComServerStatus",((e,t)=>this.executeOperation(ml.OPERATION_STATUS,null,e,t))),yl(this,"sendRequest",((e,t,r)=>this.executeOperation(ml.OPERATION_REQUEST,e,t,r))),yl(this,"sendCommand",((e,t,r)=>this.executeOperation(ml.OPERATION_COMMAND,e,t,r))),yl(this,"destroy",(()=>{this.tearDownActiveXCommunication()})),this.isSynchronous=t,this.channelName=ml.ACTIVEX_CHANNEL_NAME,this.reqIdToPromiseMap=new Map,this.isActiveXExtensionListenerAttached=!1,this.retryAttempt=0,this.document=document,this.window=window,this.setupActiveXCommunication()}};function wl(e,t,r,n="/",i=""){const{document:o}=window,a=new Date,s=[];void 0===r&&(r=a.getTime()+5184e6),a.setTime(r),s.push(`${e}=${encodeURIComponent(t)}`),0!==r&&s.push(`; expires=${a.toUTCString()}`),s.push(`; path=${n}`),i&&s.push(`; domain=${i}`),s.push("; secure"),o.cookie=s.join("")}function El(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Sl="POST",xl=17223,Ol="notrunning",Pl=new Bi;function Cl(){return Pl.getItem("comUseFallback")?{primary:17224,fallback:xl}:{primary:xl,fallback:17224}}const kl=class extends gl{constructor(e,t,r){super(e),El(this,"createCORSRequest",((e,t)=>{let r;try{const{XMLHttpRequest:n}=this.window;return r=new n,r.open(e,t,!0),r}catch(r){if(this.retryCounter<3)return this.retryCounter+=1,this.createCORSRequest(e,t);throw new Error("could not create xhr")}})),El(this,"getComServerStatusInstallationPromise",(e=>{let t,r;const n=new Promise(((e,n)=>{t=e,r=n})),i=(e,r)=>{this.currentPort=e,e===xl?Pl.removeItem("comUseFallback"):Pl.setItem("comUseFallback",1),this.comServerInstallationPromiseRejected=!1,t(r)},o=Cl(),a=o.primary,s=o.fallback;return this.checkInstallStatus(a,e).then(i.bind(this,a)).catch((t=>{if(t===Ol)return this.comServerInstallationPromiseRejected=!0,void r();this.checkInstallStatus(s,e).then(i.bind(this,s)).catch((()=>{this.comServerInstallationPromiseRejected=!0,r()}))})),n})),El(this,"sendComServerRequest",((e,t,r,n)=>new Promise(((i,o)=>{try{const a=this.createCORSRequest(e,t);a.setRequestHeader("Content-Type","text/plain; charset=UTF-8"),a.onload=()=>{i(a)},a.onerror=()=>{o(a)},n>0&&(a.timeout=n,a.ontimeout=()=>{o(a)}),setTimeout((()=>{a.send(r)}),0)}catch(e){o()}})))),El(this,"checkInstallStatus",((e,t)=>this.sendComServerRequest("GET",`${this.url}${e}/status`,null,t).then((e=>{const t=JSON.parse(e.responseText);if(t.running)return t;throw this.comServerInstallationPromiseRejected=!0,new Error(Ol)})))),El(this,"getComChannel",(e=>function(e){const{document:t}=window,r=t.cookie.split("; "),n=r.length;let i,o;for(o=0;o<n;o+=1)if(i=r[o].split("="),i[0]===e)return i[1]?decodeURIComponent(i[1]):"";return""}(`${e}-bgp-id`))),El(this,"setComChannel",(e=>{const t=this.getComChannel(e)||this.generateId(),r=`bgp-${t}`,n=(new Date).getTime()+31536e6;return wl(`${e}-bgp-id`,t,n),wl(`bgp-${t}`,"generic",n),r})),El(this,"getComServerStatus",(e=>!this.comServerInstallationPromise||this.comServerInstallationPromiseRejected?(this.comServerInstallationPromise=null,this.comServerInstallationPromise=this.getComServerStatusInstallationPromise(e),this.comServerInstallationPromise):this.comServerInstallationPromise)),El(this,"sendRequest",((e,t,r)=>{const n=`${this.url}${this.currentPort}/application_request?application=${this.appName}&com=${this.comChannelName}&timeout=${r}`;return this.sendComServerRequest(Sl,n,e,t).then((e=>{const t=JSON.parse(e.responseText);if(t.response_type&&"error"===t.response_type)throw new Error(`Communication error: ${t.message}`);return t}))})),El(this,"sendCommand",((e,t,r)=>{const n=`${this.url}${this.currentPort}/application_command?application=${this.appName}&com=${this.comChannelName}&timeout=${r}`;return this.sendComServerRequest(Sl,n,e,t).then((e=>JSON.parse(e.responseText)))})),El(this,"generateId",(()=>{const e=(new Date).getTime();return"xxxxxxxx".replace(/x/g,(()=>Math.floor((e+16*Math.random())%16).toString(16)))})),this.url=t,this.comChannelName=this.setComChannel(e),this.channelName=r,this.comServerInstallationPromise=null,this.comServerInstallationPromiseRejected=!1,this.retryCounter=0,this.sendCount=0,this.currentPort=Cl().primary,this.window=window}};function _l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Al="box_extension_output",Tl=class extends gl{constructor(e){super(e),_l(this,"executeOperation",((e="",t={},r=0,n=0)=>new Promise(((i,o)=>{const a=this.buildDetailsObj(e,t,n),s=setTimeout((()=>{o(new Error({status_code:ml.REQUEST_TIMEOUT_RESPONSE_CODE}))}),r);this.reqIdToPromiseMap.set(a.req_id,{resolve:i,rejectTimeout:s}),this.createAndDispatchAppExtensionEvent({detail:a})})))),_l(this,"setupSafariExtensionCommunication",(()=>{this.isAppExtensionListenerAttached||(this.isAppExtensionListenerAttached=!0,this.document.addEventListener(Al,this.appExtensionEventResponseHandler))})),_l(this,"tearDownSafariExtensionCommunication",(()=>{this.isAppExtensionListenerAttached&&(this.isAppExtensionListenerAttached=!1,this.document.removeEventListener(Al,this.appExtensionEventResponseHandler))})),_l(this,"appExtensionEventResponseHandler",(e=>{const t="string"==typeof e.detail?JSON.parse(e.detail):e.detail;if(this.reqIdToPromiseMap.has(t.req_id)){const e=this.reqIdToPromiseMap.get(t.req_id);if(e){clearTimeout(e.rejectTimeout),this.reqIdToPromiseMap.delete(t.req_id);const r="string"==typeof t.com_server_response.data?JSON.parse(t.com_server_response.data):t.com_server_response.data;e.resolve(r)}}})),_l(this,"createAndDispatchAppExtensionEvent",(e=>{const{CustomEvent:t}=this.window,r=new t("box_extension_input",e);this.document.dispatchEvent(r)})),_l(this,"getComServerStatus",((e,t)=>this.executeOperation(ml.OPERATION_STATUS,null,e,t))),_l(this,"sendRequest",((e,t,r)=>this.executeOperation(ml.OPERATION_REQUEST,e,t,r))),_l(this,"sendCommand",((e,t,r)=>this.executeOperation(ml.OPERATION_COMMAND,e,t,r))),_l(this,"destroy",(()=>{this.tearDownSafariExtensionCommunication()})),this.reqIdToPromiseMap=new Map,this.channelName=ml.SAFARI_CHANNEL_NAME,this.window=window,this.document=document,this.setupSafariExtensionCommunication()}};const jl=55,Il="16.16299",Dl="17.17134";let Ml;function Rl(e){const{BOX_UNSECURE_LOCAL_BASE_URL:t,CREATED_STATUS:r,HTTP_CHANNEL_NAME:n}=ml;return Ml.http_channel_status=r,new kl(e,t,n)}function Fl(e){const{CREATED_STATUS:t}=ml;return Ml.safari_channel_status=t,new Tl(e)}function Ll(e){const{CREATED_STATUS:t}=ml;return Ml.activex_channel_status=t,new vl(e,!0)}function Nl(){const{EDGE:e}=cl;return pl.isMinBrowser(e,Dl)||pl.isMinBrowser(e,Il)&&pl.getVersion().startsWith("16.")}function Ul(){return pl.isEdge()&&!Nl()}function Bl(){const{CHROME:e,FIREFOX:t}=cl;return pl.isMinBrowser(e,53)||pl.isMinBrowser(t,jl)||Nl()}function Hl(){return pl.isMinBrowser(cl.SAFARI,10)}function Vl(){return pl.isMinBrowser(cl.IE,11)}function zl(e){const{BOX_EDIT_NOT_SUPPORTED_ERROR:t,BOX_EDIT_SAFARI_ERROR:r,BOX_EDIT_UNINSTALLED_ERROR:n,BOX_EDIT_UPGRADE_BROWSER_ERROR:i}=ml;let o=t;return Bl()||Vl()?o=n:pl.isFirefox()||pl.isChrome()||pl.isSafari()&&!Hl()||Ul()?o=i:Hl()&&(o=r),Ml.error_message=o,e(new Error(o))}function $l(e){let t=5e3;return"number"==typeof e&&e>=0&&(t=Math.floor(e)),t}function ql(e){let t=+(e/1e3).toFixed(2);return e<2?t/=2:t-=1,t}const Gl=class{constructor(e){var t,r,n;t=this,n=!1,(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(r="isInitialized"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.channels=[],this.isInitialized=!0,function(){const e=pl.getName(),t=pl.getVersion(),{UNCREATED_STATUS:r}=ml;Ml={box_tools_version:null,browser_name:e,browser_version:t,error_message:null,installation_type:null,http_channel_status:r,https_channel_status:r,activex_channel_status:r,safari_channel_status:r}}(),Bl()?this.channels.push(Rl(e)):Hl()?this.channels.push(Fl(e)):Vl()&&pl.isIEAndSpecificBrowserPluginSupported(ml.BOX_TOOLS_PLUGIN_NAME)?this.channels.push(function(e){const{CREATED_STATUS:t}=ml;return Ml.activex_channel_status=t,new vl(e,!1)}(e)):pl.isFirefox()&&!pl.isMinBrowser(cl.FIREFOX,jl)||Ul()||(this.channels=this.channels.concat([Rl(e),Fl(e),Ll(e)]))}getComServerStatus(e){const{ACTIVE_STATUS:t}=ml,r=$l(e),n=ql(r),i=Ul();return new Promise(((e,o)=>i?zl.call(null,o):this.channels.length?function(e){const t=[];let r,n=0;return new Promise(((i,o)=>{e.forEach(((a,s)=>{a.then(i).catch((i=>a=>{t[i]=a,n+=1,n===e.length&&(r=new Error("no promises resolved"),o(r))})(s))}))}))}(this.channels.map((i=>i.getComServerStatus(r,n).then((r=>(this.activeChannel=i,r&&(Ml.installation_type=r.installation_type,Ml.box_tools_version=r.version),Ml[`${i.channelName}_status`]=t,e(r))))))).catch(zl.bind(null,o)):zl.call(null,o)))}sendRequest(e,t,r){const n=$l(r),i=ql(n);return this.activeChannel?this.activeChannel.sendRequest(e,n,i):this.getComServerStatus().then((()=>this.activeChannel.sendRequest(e,n,i)))}sendCommand(e,t){const r=$l(t),n=ql(r);return this.activeChannel?this.activeChannel.sendCommand(e,r,n):this.getComServerStatus().then((()=>this.activeChannel.sendCommand(e,r,n)))}};let Wl,Zl=null;class Xl{constructor(){return Zl instanceof Xl||(Zl=this),this.extensionRequestQueue=new Map,Zl}queueGetNativeAppNameFromLocal(e){if(this.extensionRequestQueue.has(e)){const t=this.extensionRequestQueue.get(e);if(!t)throw new Error("Race condition re: queueGetNativeAppNameFromLocal");return t.promise}const t={},r=new Promise(((e,r)=>{t.resolve=e,t.reject=r}));return t.promise=r,this.extensionRequestQueue.set(e,t),r}checkBoxEditAvailability(){return this.getBoxEditAvailability()}getBoxEditAvailability(){return this.client=new Gl(ml.BOX_EDIT_APP_NAME),this.client.getComServerStatus()}async canOpenWithBoxEdit(e){const t=await Promise.all(e.map((async e=>{try{return[e,await this.getAppForExtension(e)]}catch(t){return[e,""]}}))),r=new Map;return t.forEach((e=>r.set(...e))),Promise.resolve(r)}openFile(e,t){const r=function(e,t,r,n){return JSON.stringify({auth_code:r,auth_token:t,browser_type:pl.getName(),command_type:"launch_application",file_id:e.toString(),token_scope:n})}(e,t.data.token,t.data.auth_code,t.data.token_scope);return this.client.sendCommand(r,5e3)}getAppForExtension(e){try{if(function(e){const{EXTENSION_BLACKLIST:t}=ml;let r=e.toUpperCase();return"."===r.charAt(0)&&(r=r.substr(1)),r in t}(e))throw new Error("blacklisted");const t=this.queueGetNativeAppNameFromLocal(e);return Wl||(Wl=setTimeout((()=>{this.processExtensionRequestQueue()}),100)),t}catch(e){return Promise.reject()}}processExtensionRequestQueue(){const e=new Map,t=[];this.extensionRequestQueue.forEach(((r,n)=>{e.set(n,r),t.push(n)})),this.extensionRequestQueue.clear(),Wl=null;const r=function(e){return JSON.stringify({request_type:"get_default_application",extension:e})}(t);return this.client.sendRequest(r).then((r=>{if(r&&r.default_application_name){let t=r.default_application_name;"[object Object]"===Object.prototype.toString.call(t)&&(t=[t]),t.forEach((t=>{const r=Object.keys(t)[0],n=decodeURIComponent(t[r]);if(n){const t=e.get(r);t&&(t.resolve(n),e.delete(r))}}))}t.forEach((t=>{const r=e.get(t);r&&r.reject()}))}))}}const Kl=Xl;function Ql(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ql(Object(r),!0).forEach((function(t){Jl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ql(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Jl(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ec=class extends Ji{async ask(e,t,r=[],n={}){const{prompt:i}=e;if(!i)throw new Error("Missing prompt!");if(!t||0===t.length)throw new Error("Missing items!");t.forEach((e=>{if(!e.id||!e.type)throw new Error("Invalid item!")}));const o=`${this.getBaseApiUrl()}/ai/ask`;return this.xhr.post({url:o,id:`file_${t[0].id}`,data:Yl({mode:"single_item_qa",prompt:i,items:t,dialogue_history:r},n)})}async extractStructured(e){this.errorCode="extract_structured_error";const{items:t}=e;if(!t||0===t.length)throw new Error("Missing items!");const r=t[0];if(!r.id||!r.type)throw new Error("Invalid item!");const n=`${this.getBaseApiUrl()}/ai/extract_structured`,i=await this.xhr.post({url:n,data:e,id:`file_${r.id}`});return i?.data?.answer&&"object"==typeof i.data.answer?i.data.answer:i.data}};function tc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tc(Object(r),!0).forEach((function(t){nc(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ic=class{constructor(e){this.options=rc(rc({},e),{},{apiHost:e.apiHost||ce,uploadHost:e.uploadHost||ue,cache:e.cache||new hi,language:e.language})}destroy(e=!1){this.fileAPI&&(this.fileAPI.destroy(),delete this.fileAPI),this.weblinkAPI&&(this.weblinkAPI.destroy(),delete this.weblinkAPI),this.plainUploadAPI&&(this.plainUploadAPI.destroy(),delete this.plainUploadAPI),this.chunkedUploadAPI&&(this.chunkedUploadAPI.destroy(),delete this.chunkedUploadAPI),this.folderAPI&&(this.folderAPI.destroy(),delete this.folderAPI),this.searchAPI&&(this.searchAPI.destroy(),delete this.searchAPI),this.recentsAPI&&(this.recentsAPI.destroy(),delete this.recentsAPI),this.versionsAPI&&(this.versionsAPI.destroy(),delete this.versionsAPI),this.fileAccessStatsAPI&&(this.fileAccessStatsAPI.destroy(),delete this.fileAccessStatsAPI),this.fileActivitiesAPI&&(this.fileActivitiesAPI.destroy(),delete this.fileActivitiesAPI),this.tasksNewAPI&&(this.tasksNewAPI.destroy(),delete this.tasksNewAPI),this.taskCollaboratorsAPI&&(this.taskCollaboratorsAPI.destroy(),delete this.taskCollaboratorsAPI),this.taskLinksAPI&&(this.taskLinksAPI.destroy(),delete this.taskLinksAPI),this.commentsAPI&&(this.commentsAPI.destroy(),delete this.commentsAPI),this.threadedCommentsAPI&&(this.threadedCommentsAPI.destroy(),delete this.threadedCommentsAPI),this.markerBasedGroupsAPI&&(this.markerBasedGroupsAPI.destroy(),delete this.markerBasedGroupsAPI),this.markerBasedUsersAPI&&(this.markerBasedUsersAPI.destroy(),delete this.markerBasedUsersAPI),this.groupsAPI&&(this.groupsAPI.destroy(),delete this.groupsAPI),this.usersAPI&&(this.usersAPI.destroy(),delete this.usersAPI),this.metadataAPI&&(this.metadataAPI.destroy(),delete this.metadataAPI),this.fileCollaboratorsAPI&&(this.fileCollaboratorsAPI.destroy(),delete this.fileCollaboratorsAPI),this.fileCollaborationsAPI&&(this.fileCollaborationsAPI.destroy(),delete this.fileCollaborationsAPI),this.folderCollaborationsAPI&&(this.folderCollaborationsAPI.destroy(),delete this.folderCollaborationsAPI),this.collaborationsAPI&&(this.collaborationsAPI.destroy(),delete this.collaborationsAPI),this.appIntegrationsAPI&&(this.appIntegrationsAPI.destroy(),delete this.appIntegrationsAPI),this.metadataQueryAPI&&(this.metadataQueryAPI.destroy(),delete this.metadataQueryAPI),this.openWithAPI&&(this.openWithAPI.destroy(),delete this.openWithAPI),this.annotationsAPI&&(this.annotationsAPI.destroy(),delete this.annotationsAPI),this.intelligenceAPI&&(this.intelligenceAPI.destroy(),delete this.intelligenceAPI),e&&(this.options.cache=new hi)}getCache(){return this.options.cache}getAPI(e){let t;switch(e){case u:t=this.getFolderAPI();break;case d:t=this.getFileAPI();break;case h:t=this.getWebLinkAPI();break;default:throw new Error("Unknown Type!")}return t}getFileAPI(e=!0){return e&&this.destroy(),this.fileAPI=new Lo(this.options),this.fileAPI}getWebLinkAPI(){return this.destroy(),this.weblinkAPI=new No(this.options),this.weblinkAPI}getPlainUploadAPI(){return this.destroy(),this.plainUploadAPI=new bo(this.options),this.plainUploadAPI}getChunkedUploadAPI(){return this.destroy(),this.chunkedUploadAPI=new fo(this.options),this.chunkedUploadAPI}getFolderAPI(e=!0){return e&&this.destroy(),this.folderAPI=new zo(this.options),this.folderAPI}getSearchAPI(){return this.destroy(),this.searchAPI=new Wo(this.options),this.searchAPI}getRecentsAPI(){return this.destroy(),this.recentsAPI=new Ko(this.options),this.recentsAPI}getMetadataAPI(e){return e&&this.destroy(),this.metadataAPI=new xs(this.options),this.metadataAPI}getVersionsAPI(e){return e&&this.destroy(),this.versionsAPI=new oa(this.options),this.versionsAPI}getCommentsAPI(e){return e&&this.destroy(),this.commentsAPI=new ca(this.options),this.commentsAPI}getThreadedCommentsAPI(e){return e&&this.destroy(),this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI}getTasksNewAPI(e){return e&&this.destroy(),this.tasksNewAPI=new wa(this.options),this.tasksNewAPI}getTaskCollaboratorsAPI(e){return e&&this.destroy(),this.taskCollaboratorsAPI=new Oa(this.options),this.taskCollaboratorsAPI}getTaskLinksAPI(e){return e&&this.destroy(),this.taskLinksAPI=new _a(this.options),this.taskLinksAPI}getFileAccessStatsAPI(e){return e&&this.destroy(),this.fileAccessStatsAPI=new Va(this.options),this.fileAccessStatsAPI}getFileActivitiesAPI(e){return e&&this.destroy(),this.fileActivitiesAPI=new Ga(this.options),this.fileActivitiesAPI}getFileCollaboratorsAPI(e){return e&&this.destroy(),this.fileCollaboratorsAPI=new ks(this.options),this.fileCollaboratorsAPI}getFileCollaborationsAPI(e){return e&&this.destroy(),this.fileCollaborationsAPI=new Ts(this.options),this.fileCollaborationsAPI}getFolderCollaborationsAPI(e){return e&&this.destroy(),this.folderCollaborationsAPI=new js(this.options),this.folderCollaborationsAPI}getCollaborationsAPI(e){return e&&this.destroy(),this.collaborationsAPI=new Rs(this.options),this.collaborationsAPI}getMarkerBasedGroupsAPI(e){return e&&this.destroy(),this.markerBasedGroupsAPI=new Ka(this.options),this.markerBasedGroupsAPI}getMarkerBasedUsersAPI(e){return e&&this.destroy(),this.markerBasedUsersAPI=new es(this.options),this.markerBasedUsersAPI}getGroupsAPI(e){return e&&this.destroy(),this.groupsAPI=new ts(this.options),this.groupsAPI}getUsersAPI(e){return e&&this.destroy(),this.usersAPI=new rs(this.options),this.usersAPI}getFeedAPI(e){return e&&this.destroy(),this.feedItemsAPI=new ol(this.options),this.feedItemsAPI}getOpenWithAPI(e){return e&&this.destroy(),this.openWithAPI=new sl(this.options),this.openWithAPI}getAppIntegrationsAPI(e){return e&&this.destroy(),this.appIntegrationsAPI=new al(this.options),this.appIntegrationsAPI}getMetadataQueryAPI(e=!1){return e&&this.destroy(),this.metadataQueryAPI=new ll(this.options),this.metadataQueryAPI}getBoxEditAPI(){return this.boxEditAPI=new Kl,this.boxEditAPI}getAnnotationsAPI(e){return e&&this.destroy(),this.annotationsAPI=new Bs(this.options),this.annotationsAPI}getIntelligenceAPI(e){return e&&this.destroy(),this.intelligenceAPI=new ec(this.options),this.intelligenceAPI}};let oc=function(e){return e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e.DEFAULT="default",e}({});const ac=({className:t="",size:r=oc.DEFAULT})=>e.createElement("div",{className:`crawler ${t} is-${r}`},e.createElement("div",null),e.createElement("div",null),e.createElement("div",null)),sc=({integrationWindow:e,children:r})=>{const n=e.document.createElement("div");return function(e,t){Array.from(e.styleSheets).forEach((e=>{if(!e.href)return;const r=t.document.createElement("link");r.rel="stylesheet",r.href=e.href,t.document.head.appendChild(r)})),t.document.body.style.margin=0,t.document.body.style.padding=0}(document,e),e.document.body.appendChild(n),(0,t.createPortal)(r,n)},lc=({hasError:t,integrationWindow:r})=>e.createElement(sc,{integrationWindow:r},e.createElement("div",{className:"be bcow bcow-portal-container"},t?e.createElement(ti,{errorHeader:e.createElement(an,Wn.executeIntegrationOpenWithErrorHeader),errorSubHeader:e.createElement(an,Wn.executeIntegrationOpenWithErrorSubHeader)}):e.createElement(ac,{className:"bcow-portal-loading-indicator",size:"large"})));var cc=__webpack_require__(91695);function uc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class dc extends e.Component{constructor(...e){super(...e),uc(this,"menuID",nt()("menu")),uc(this,"menuButtonID",nt()("menubutton")),uc(this,"state",{initialFocusIndex:null,isOpen:!1}),uc(this,"openMenuAndSetFocusIndex",(e=>{this.setState({initialFocusIndex:e,isOpen:!0})})),uc(this,"closeMenu",(e=>{const{onMenuClose:t=ot()}=this.props;this.setState({isOpen:!1},(()=>t(e)))})),uc(this,"focusButton",(()=>{const e=document.getElementById(this.menuButtonID);e&&e.focus()})),uc(this,"handleButtonClick",(e=>{const{isOpen:t}=this.state;e.stopPropagation(),e.preventDefault(),t?this.closeMenu(e):this.openMenuAndSetFocusIndex(null)})),uc(this,"handleButtonKeyDown",(e=>{const{isOpen:t}=this.state;switch(e.key){case" ":case"Enter":case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.openMenuAndSetFocusIndex(0);break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.openMenuAndSetFocusIndex(-1);break;case"Escape":t&&e.stopPropagation(),e.preventDefault(),this.closeMenu(e)}})),uc(this,"handleMenuClose",((e,t)=>{this.closeMenu(t),this.focusButton()})),uc(this,"handleDocumentClick",(e=>{const t=document.getElementById(this.menuID),r=document.getElementById(this.menuButtonID);t&&r&&e.target instanceof Node&&!t.contains(e.target)&&!r.contains(e.target)&&this.closeMenu(e)}))}componentDidUpdate(e,t){const{useBubble:r}=this.props;if(!t.isOpen&&this.state.isOpen){document.addEventListener("click",this.handleDocumentClick,!r),document.addEventListener("contextmenu",this.handleDocumentClick,!r);const{onMenuOpen:e}=this.props;e&&e()}else t.isOpen&&!this.state.isOpen&&(document.removeEventListener("contextmenu",this.handleDocumentClick,!r),document.removeEventListener("click",this.handleDocumentClick,!r))}componentWillUnmount(){const{useBubble:e}=this.props;this.state.isOpen&&(document.removeEventListener("contextmenu",this.handleDocumentClick,!e),document.removeEventListener("click",this.handleDocumentClick,!e))}render(){const{bodyElement:t,children:r,className:n,constrainToScrollParent:i,constrainToWindow:o,constrainToWindowWithPin:a,isResponsive:s,isRightAligned:l,tetherAttachment:c,tetherTargetAttachment:u}=this.props,{isOpen:d,initialFocusIndex:h}=this.state,f=e.Children.toArray(r);if(2!==f.length)throw new Error("DropdownMenu must have exactly two children: A button component and a <Menu>");const p=f[0],m=f[1],b={id:this.menuButtonID,key:this.menuButtonID,onClick:this.handleButtonClick,onKeyDown:this.handleButtonKeyDown,"aria-expanded":d?"true":"false"};void 0===p.props["aria-haspopup"]&&(b["aria-haspopup"]="true"),d&&(b["aria-controls"]=this.menuID);const g={id:this.menuID,key:this.menuID,initialFocusIndex:h,onClose:this.handleMenuClose,"aria-labelledby":this.menuButtonID};let y="top left",v="bottom left";l&&(y="top right",v="bottom right");const w=[];i&&w.push({to:"scrollParent",attachment:"together"}),o&&w.push({to:"window",attachment:"together"}),a&&w.push({to:"window",attachment:"together",pin:!0});const E=t instanceof HTMLElement?t:document.body;return e.createElement(cc.A,{attachment:c||y,bodyElement:E,className:tt()({"bdl-DropdownMenu--responsive":s},n),classPrefix:"dropdown-menu",constraints:w,enabled:d,targetAttachment:u||v},e.cloneElement(p,b),d&&e.cloneElement(m,g))}}uc(dc,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!1,isResponsive:!1,isRightAligned:!1});const hc=dc,fc=e.createContext({closeMenu:ot()}),pc=["children","className","isHidden","setRef","shouldOutlineFocus"];function mc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const bc=".menu-item:not([aria-disabled])",gc=`ul:not(.submenu) > ${bc}, ul:not(.submenu) > li > ${bc}, ul:not(.submenu) > span > ${bc}`,yc=`ul.submenu > ${bc}, ul.submenu > li > ${bc}, ul.submenu > span > ${bc}`;function vc(e){e.stopPropagation(),e.preventDefault()}class wc extends e.Component{constructor(e){super(e),mc(this,"setInitialFocusIndex",((e=this.props)=>{const{initialFocusIndex:t,isHidden:r}=e;r||void 0===t||("number"==typeof t?setTimeout((()=>{this.setFocus(t)}),0):null===t&&setTimeout((()=>{this.menuEl&&this.menuEl.focus()}),0))})),mc(this,"setMenuItemEls",(()=>{const{isSubmenu:e,menuItemSelector:t}=this.props,r=t||(e?yc:gc);this.menuItemEls=this.menuEl?[].slice.call(this.menuEl.querySelectorAll(r)):[]})),mc(this,"getMenuItemElFromEventTarget",(e=>{let t=null,r=-1;for(let n=0;n<this.menuItemEls.length;n+=1)if(this.menuItemEls[n].contains(e)){t=this.menuItemEls[n],r=n;break}return{menuItemEl:t,menuIndex:r}})),mc(this,"setFocus",(e=>{if(!this.menuItemEls.length)return;const t=this.menuItemEls.length;this.focusIndex=e>=t?0:e<0?t-1:e,this.menuItemEls[this.focusIndex].focus()})),mc(this,"focusFirstItem",(()=>{this.setFocus(0)})),mc(this,"focusLastItem",(()=>{this.setFocus(-1)})),mc(this,"focusNextItem",(()=>{this.setFocus(this.focusIndex+1)})),mc(this,"focusPreviousItem",(()=>{this.setFocus(this.focusIndex-1)})),mc(this,"fireOnCloseHandler",((e,t)=>{const{onClose:r}=this.props;r&&r(e,t)})),mc(this,"handleClick",(e=>{const{menuItemEl:t}=e.target instanceof Node?this.getMenuItemElFromEventTarget(e.target):{};t&&this.fireOnCloseHandler(!1,e)})),mc(this,"handleKeyDown",(e=>{const{isSubmenu:t,initialFocusIndex:r}=this.props;switch(e.key){case"ArrowDown":vc(e),null!==r||this.keyboardPressed?this.focusNextItem():this.focusFirstItem();break;case"ArrowUp":vc(e),this.focusPreviousItem();break;case"ArrowLeft":if(!t)return;vc(e),this.fireOnCloseHandler(!0,e);break;case"Home":case"PageUp":vc(e),this.focusFirstItem();break;case"End":case"PageDown":vc(e),this.focusLastItem();break;case"Escape":vc(e),this.fireOnCloseHandler(!0,e);break;case"Tab":this.fireOnCloseHandler(!0,e);break;case" ":case"Enter":vc(e),e.target instanceof HTMLElement&&e.target.click()}this.keyboardPressed=!0})),this.focusIndex=0,this.menuEl=null,this.menuItemEls=[]}componentDidMount(){this.setMenuItemEls(),this.setInitialFocusIndex()}componentDidUpdate({isHidden:t,children:r}){const{children:n,isHidden:i,isSubmenu:o}=this.props;if(o&&t&&!i&&(this.setMenuItemEls(),this.setInitialFocusIndex(this.props)),e.Children.toArray(r).length!==e.Children.toArray(n).length){const e=this.menuItemEls[this.focusIndex];this.setMenuItemEls();const{menuIndex:t}=this.getMenuItemElFromEventTarget(e),r=-1===t,n=this.focusIndex>=this.menuItemEls.length;this.setFocus(r&&!n?this.focusIndex:t)}}render(){const t=this.props,{children:r,className:n,isHidden:i,setRef:o,shouldOutlineFocus:a}=t,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,pc),l=Xn()(s,["onClose","initialFocusIndex","isSubmenu","menuItemSelector"]);return l.className=tt()("aria-menu",n,{"is-hidden":i,"should-outline-focus":a}),l.ref=e=>{this.menuEl=e,o&&o(e)},void 0===l.role&&(l.role="menu"),l.tabIndex=-1,l.onClick=this.handleClick,l.onKeyDown=this.handleKeyDown,e.createElement("ul",l,e.createElement(fc.Provider,{value:{closeMenu:this.fireOnCloseHandler}},r))}}mc(wc,"defaultProps",{className:"",isSubmenu:!1,isHidden:!1});const Ec=wc,Sc=["children","className","constrainToScrollParent","constrainToWindow","position","isShown","offset","tetherElementClassName"];function xc(){return xc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xc.apply(null,arguments)}function Oc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let Pc=function(e){return e.BOTTOM_CENTER="bottom-center",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right",e.MIDDLE_CENTER="middle-center",e.MIDDLE_LEFT="middle-left",e.MIDDLE_RIGHT="middle-right",e.TOP_CENTER="top-center",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right",e}({});const Cc={[Pc.BOTTOM_CENTER]:{attachment:"top center",targetAttachment:"bottom center"},[Pc.BOTTOM_LEFT]:{attachment:"top left",targetAttachment:"bottom left"},[Pc.BOTTOM_RIGHT]:{attachment:"top right",targetAttachment:"bottom right"},[Pc.MIDDLE_CENTER]:{attachment:"middle center",targetAttachment:"middle center"},[Pc.MIDDLE_LEFT]:{attachment:"middle right",targetAttachment:"middle left"},[Pc.MIDDLE_RIGHT]:{attachment:"middle left",targetAttachment:"middle right"},[Pc.TOP_CENTER]:{attachment:"bottom center",targetAttachment:"top center"},[Pc.TOP_LEFT]:{attachment:"bottom left",targetAttachment:"top left"},[Pc.TOP_RIGHT]:{attachment:"bottom right",targetAttachment:"top right"}};class kc extends e.Component{constructor(...t){super(...t),Oc(this,"tetherRef",e.createRef()),Oc(this,"radarAnimationID",nt()("radarAnimation")),Oc(this,"position",(()=>{const{isShown:e}=this.props;this.tetherRef.current&&e&&this.tetherRef.current.position()}))}render(){const t=this.props,{children:r,className:n="",constrainToScrollParent:i,constrainToWindow:o,position:a,isShown:s,offset:l,tetherElementClassName:c}=t,u=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,Sc),d=[];i&&d.push({to:"scrollParent",attachment:"together"}),o&&d.push({to:"window",attachment:"together"});const{attachment:h,targetAttachment:f}=Cc[a],p=e.Children.only(r),m=e.cloneElement(p,{"aria-describedby":this.radarAnimationID}),b={attachment:h,classPrefix:"radar-animation",constraints:d,targetAttachment:f};return c&&(b.className=c),l&&(b.offset=l),e.createElement(cc.A,xc({ref:this.tetherRef},b),m,s&&e.createElement("div",xc({className:`radar ${n}`,id:this.radarAnimationID},u),e.createElement("div",{className:"radar-dot"}),e.createElement("div",{className:"radar-circle"})))}}Oc(kc,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!0,isShown:!0,position:Pc.MIDDLE_RIGHT});const _c=kc,Ac=["children","className","isDisabled","isSelectItem","isSelected","showRadar"];class Tc extends e.Component{constructor(...e){var t,r,n;super(...e),t=this,n=e=>{const{isDisabled:t,onClick:r}=this.props;if(t)return e.stopPropagation(),void e.preventDefault();r&&r(e)},(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(r="onClickHandler"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}render(){const t=this.props,{children:r,className:n,isDisabled:i,isSelectItem:o,isSelected:a,showRadar:s}=t,l=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,Ac),c=Xn()(l,["role","tabIndex","onClick"]);c.className=tt()("menu-item",n,{"is-select-item":o,"is-selected":a}),c.role=o?"menuitemradio":"menuitem",c.tabIndex=-1,c.onClick=this.onClickHandler,o&&(c["aria-checked"]=a),i&&(c["aria-disabled"]="true");let u=e.createElement("li",c,r);return s&&(u=e.createElement(_c,null,u)),u}}const jc=Tc;function Ic(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Dc="icon-google-docs";class Mc extends e.Component{constructor(...e){super(...e),Ic(this,"idPrefix",`${nt()(Dc)}-`)}render(){const{className:t,height:r,title:n,width:i}=this.props;return e.createElement(Yn,{className:`${Dc} ${t}`,height:r,title:n,viewBox:"0 0 30 30",width:i},e.createElement("defs",null,e.createElement("linearGradient",{gradientTransform:"matrix(2.67 0 0 -2.67 596.67 1357)",gradientUnits:"userSpaceOnUse",id:`${this.idPrefix}a`,x1:"-215.49",x2:"-215.49",y1:"505.79",y2:"503.19"},e.createElement("stop",{offset:"0",stopColor:"#1a237e",stopOpacity:".2"}),e.createElement("stop",{offset:"1",stopColor:"#1a237e",stopOpacity:".02"}))),e.createElement("path",{d:"M17.64 0H6.05A2.05 2.05 0 0 0 4 2.05V28a2.05 2.05 0 0 0 2.05 2h17.72a2.05 2.05 0 0 0 2.05-2V8.18l-4.77-3.41z",fill:"#4285f4"}),e.createElement("path",{d:"M18.23 7.58l7.59 7.58V8.18l-7.59-.6z",fill:`url(#${this.idPrefix}a)`}),e.createElement("path",{d:"M9.45 21.82h10.91v-1.37H9.45zm0 2.73h8.19v-1.37H9.45zm0-9.55v1.36h10.91V15zm0 4.09h10.91v-1.36H9.45z",fill:"#f1f1f1"}),e.createElement("path",{d:"M17.64 0v6.14a2 2 0 0 0 2 2h6.14z",fill:"#a1c2fa"}),e.createElement("path",{d:"M6.05 0A2.05 2.05 0 0 0 4 2.05v.17A2.05 2.05 0 0 1 6.05.17h11.59V0z",fill:"#fff",fillOpacity:".2"}),e.createElement("path",{d:"M19.68 8.18a2 2 0 0 1-2-2v.17a2 2 0 0 0 2 2h6.14v-.17z",fill:"#1a237e",fillOpacity:".1"}))}}Ic(Mc,"defaultProps",{className:"",height:30,width:30});const Rc=Mc;function Fc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Lc="icon-google-sheets";class Nc extends e.Component{constructor(...e){super(...e),Fc(this,"idPrefix",`${nt()(Lc)}-`)}render(){const{className:t,height:r,title:n,width:i}=this.props;return e.createElement(Yn,{className:`${Lc} ${t}`,height:r,title:n,viewBox:"0 0 30 30",width:i},e.createElement("defs",null,e.createElement("linearGradient",{gradientTransform:"matrix(2.67 0 0 -2.67 596.67 1357)",gradientUnits:"userSpaceOnUse",id:`${this.idPrefix}a`,x1:"-215.49",x2:"-215.49",y1:"505.79",y2:"503.19"},e.createElement("stop",{offset:"0",stopColor:"#208256"}),e.createElement("stop",{offset:".55",stopColor:"#19955a",stopOpacity:".2"}))),e.createElement("path",{d:"M17.64 0H6.05A2.05 2.05 0 0 0 4 2.05V28a2.05 2.05 0 0 0 2.05 2h17.72a2.05 2.05 0 0 0 2.05-2V8.18l-4.77-3.41z",fill:"#22a565"}),e.createElement("path",{d:"M18.23 7.58l7.59 7.58V8.18l-7.59-.6z",fill:`url(#${this.idPrefix}a)`}),e.createElement("path",{d:"M17.64 0v6.14a2 2 0 0 0 2 2h6.14z",fill:"#8ed1b1"}),e.createElement("path",{d:"M6.05 0A2.05 2.05 0 0 0 4 2.05v.17A2.05 2.05 0 0 1 6.05.17h11.59V0z",fill:"#fff",fillOpacity:".2"}),e.createElement("path",{d:"M19.68 8.18a2 2 0 0 1-2-2v.17a2 2 0 0 0 2 2h6.14v-.17z",fill:"#1a237e",fillOpacity:".1"}),e.createElement("path",{d:"M10 14v10h10V14zm1 1h3.5v2H11zm0 3h3.5v2H11zm0 5v-2h3.5v2zm8 0h-3.5v-2H19zm0-3h-3.5v-2H19zm0-3h-3.5v-2H19z",fill:"#f1f1f1"}))}}Fc(Nc,"defaultProps",{className:"",height:30,width:30});const Uc=Nc;function Bc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Hc="icon-google-slides";class Vc extends e.Component{constructor(...e){super(...e),Bc(this,"idPrefix",`${nt()(Hc)}-`)}render(){const{className:t,height:r,title:n,width:i}=this.props;return e.createElement(Yn,{className:`${Hc} ${t}`,height:r,title:n,viewBox:"0 0 30 30",width:i},e.createElement("defs",null,e.createElement("linearGradient",{gradientTransform:"matrix(2.67 0 0 -2.67 596.67 1357)",gradientUnits:"userSpaceOnUse",id:`${this.idPrefix}a`,x1:"-215.49",x2:"-215.49",y1:"505.79",y2:"503.19"},e.createElement("stop",{offset:"0",stopColor:"#d08714",stopOpacity:".88"}),e.createElement("stop",{offset:".55",stopColor:"#cf8714",stopOpacity:".2"}))),e.createElement("path",{d:"M17.64 0H6.05A2.05 2.05 0 0 0 4 2.05V28a2.05 2.05 0 0 0 2.05 2h17.72a2.05 2.05 0 0 0 2.05-2V8.18l-4.77-3.41z",fill:"#f4b912"}),e.createElement("path",{d:"M18.23 7.58l7.59 7.58V8.18l-7.59-.6z",fill:`url(#${this.idPrefix}a)`}),e.createElement("path",{d:"M17.64 0v6.14a2 2 0 0 0 2 2h6.14z",fill:"#fadc87"}),e.createElement("path",{d:"M6.05 0A2.05 2.05 0 0 0 4 2.05v.17A2.05 2.05 0 0 1 6.05.17h11.59V0z",fill:"#fff",fillOpacity:".2"}),e.createElement("path",{d:"M19.68 8.18a2 2 0 0 1-2-2v.17a2 2 0 0 0 2 2h6.14v-.17z",fill:"#1a237e",fillOpacity:".1"}),e.createElement("path",{d:"M10 15v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1zm9 6h-8v-4h8z",fill:"#f1f1f1"}))}}Bc(Vc,"defaultProps",{className:"",height:30,width:30});const zc=Vc;var $c=__webpack_require__(55562);function qc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Gc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qc(Object(r),!0).forEach((function(t){Wc(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Wc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Zc=(e,t)=>(0,$c.jsxs)("svg",Gc(Gc({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#000B1D",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 6.422 6.421a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("mask",{id:"FileAdobeExpress_svg__a",width:10,height:11,x:11,y:12,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"},children:(0,$c.jsx)("path",{fill:"white",d:"M18.023 13.892a2.202 2.202 0 0 0-2.028-1.345 2.21 2.21 0 0 0-2.036 1.35l-2.785 6.632a1.374 1.374 0 0 0 1.266 1.909h3.101a1.382 1.382 0 0 0-.004-2.765l-.53.004a.314.314 0 0 1-.289-.436l.989-2.355a.305.305 0 0 1 .567-.002L18.29 21.6c.277.63.804.835 1.269.836.985 0 1.65-1.003 1.266-1.91l-2.803-6.634Z"})}),(0,$c.jsxs)("g",{mask:"url(#FileAdobeExpress_svg__a)",children:[(0,$c.jsx)("path",{fill:"#FFFEFE",d:"M10.871 12.363H21.08v10.209H10.871z"}),(0,$c.jsx)("circle",{cx:15.124,cy:21.381,r:6.295,fill:"url(#FileAdobeExpress_svg__b)"}),(0,$c.jsx)("circle",{cx:14.954,cy:22.061,r:6.295,fill:"url(#FileAdobeExpress_svg__c)"}),(0,$c.jsx)("circle",{cx:20.229,cy:21.381,r:3.233,fill:"url(#FileAdobeExpress_svg__d)"}),(0,$c.jsx)("circle",{cx:15.805,cy:13.554,r:6.976,fill:"url(#FileAdobeExpress_svg__e)"}),(0,$c.jsx)("circle",{cx:13.253,cy:16.277,r:3.913,fill:"url(#FileAdobeExpress_svg__f)"}),(0,$c.jsx)("circle",{cx:14.955,cy:13.384,r:3.403,fill:"url(#FileAdobeExpress_svg__g)"}),(0,$c.jsx)("circle",{cx:17.336,cy:14.065,r:3.403,fill:"url(#FileAdobeExpress_svg__h)"}),(0,$c.jsx)("circle",{cx:18.698,cy:17.298,r:3.573,fill:"url(#FileAdobeExpress_svg__i)"}),(0,$c.jsx)("circle",{cx:11.552,cy:19.169,r:3.573,fill:"url(#FileAdobeExpress_svg__j)"}),(0,$c.jsx)("circle",{cx:19.208,cy:18.999,r:2.212,fill:"url(#FileAdobeExpress_svg__k)"})]}),(0,$c.jsxs)("defs",{children:[(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__b",cx:0,cy:0,r:1,gradientTransform:"rotate(90 -3.128 18.253) scale(6.29521)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#3084FE"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#3084FE",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__c",cx:0,cy:0,r:1,gradientTransform:"rotate(90 -3.554 18.508) scale(6.29521)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#3084FE"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#3084FE",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__d",cx:0,cy:0,r:1,gradientTransform:"rotate(90 -.576 20.805) scale(3.23268)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#6CE342"}),(0,$c.jsx)("stop",{offset:.585,stopColor:"#6CE342"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#6CE342",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__e",cx:0,cy:0,r:1,gradientTransform:"rotate(90 1.125 14.68) scale(6.97577)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#F20A00"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#F20A00",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__f",cx:0,cy:0,r:1,gradientTransform:"rotate(90 -1.512 14.765) scale(3.91324)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#FF43E3"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#FF43E3",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__g",cx:0,cy:0,r:1,gradientTransform:"rotate(90 .785 14.17) scale(3.40282)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#F20A00"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#F20A00",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__h",cx:0,cy:0,r:1,gradientTransform:"rotate(90 1.636 15.7) scale(3.40282)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#FE3E00"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#FE3E00",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__i",cx:0,cy:0,r:1,gradientTransform:"rotate(90 .7 17.998) scale(3.57296)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#FFC800"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#FFC800",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__j",cx:0,cy:0,r:1,gradientTransform:"rotate(90 -3.809 15.36) scale(3.57296)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#E059FD"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#E059FD",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__k",cx:0,cy:0,r:1,gradientTransform:"rotate(90 .104 19.103) scale(2.21183)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#F6E30A"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#FFCF6E",stopOpacity:0})]})]})]})),Xc=(0,e.forwardRef)(Zc);function Kc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Kc(Object(r),!0).forEach((function(t){Yc(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Yc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Jc=(e,t)=>(0,$c.jsxs)("svg",Qc(Qc({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#9F3FED",d:"M9 3h9.172a2 2 0 0 1 1.414.586l5.83 5.828A2 2 0 0 1 26 10.83V26a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M18.75 17h-5.5a.25.25 0 0 0-.25.25v4.25a1.5 1.5 0 1 1-1.5-1.5.9.9 0 0 1 .5.1v-6.35a.75.75 0 0 1 .75-.75h6.5a.75.75 0 0 1 .75.75v7.75a1.5 1.5 0 1 1-1.5-1.5.9.9 0 0 1 .5.1v-2.85a.25.25 0 0 0-.25-.25Zm-5.5-1h5.5a.25.25 0 0 0 .25-.25V14.5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0-.5.5v1.25c0 .138.112.25.25.25Z"})]})),eu=(0,e.forwardRef)(Jc);function tu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ru(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tu(Object(r),!0).forEach((function(t){nu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const iu=(e,t)=>(0,$c.jsxs)("svg",ru(ru({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D3D3D3",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#4E4E4E",d:"M16.488 21.04c.242-.243.523-.3.772-.065.25.237.177.53-.065.773l-.745.745c-1.376 1.376-3.538 1.2-4.841-.109-1.294-1.299-1.48-3.46-.12-4.818l.735-.737c.242-.243.55-.34.8-.103.25.236.17.537-.073.78l-.736.737c-.958.961-.93 2.4.1 3.434 1.032 1.035 2.48 1.059 3.404.133l.769-.77Zm1.557-1.557.77-.77c.926-.922.9-2.37-.133-3.402-1.035-1.03-2.473-1.059-3.434-.101l-.737.736c-.243.242-.545.324-.78.074-.237-.25-.14-.558.102-.8l.738-.735c1.358-1.36 3.519-1.175 4.818.12 1.308 1.302 1.485 3.464.108 4.84l-.745.745c-.243.243-.536.315-.772.065s-.178-.53.065-.772Zm-3.518.695c-.244.244-.6.282-.794.087-.196-.195-.157-.55.087-.794l2.654-2.654c.243-.244.599-.283.794-.087.195.195.156.55-.087.794l-2.654 2.654Z"})]})),ou=(0,e.forwardRef)(iu);function au(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function su(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?au(Object(r),!0).forEach((function(t){lu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):au(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function lu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const cu=(e,t)=>(0,$c.jsxs)("svg",su(su({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D3D3D3",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#9725DD",fillRule:"evenodd",d:"m18.526 14.146-.92 1.375h-6.92a.686.686 0 1 1 .001-1.375h7.839Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#0061D5",fillRule:"evenodd",d:"m16.379 17.583-.92 1.375h-4.762a.69.69 0 0 1-.697-.687c0-.38.31-.688.697-.688h5.682Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#00C8C0",fillRule:"evenodd",d:"m14.23 21.02-.423.637c-.097.154-.174.32-.23.493l-.03.118-.028.127h-2.83a.687.687 0 0 1 0-1.374h3.542v-.001Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"black",fillRule:"evenodd",d:"m14.841 21.332 4.64-6.72.053.092c.074.114.235.322.538.541.456.329.797.374.797.374l-4.64 6.72a2.558 2.558 0 0 1-.461.483l-1.373 1.037c-.146.11-.234.054-.193-.14l.372-1.764c.04-.187.156-.46.267-.623Zm6.648-8.163c.373.272.407.704.407.704a3.57 3.57 0 0 1-.314.607l-.28.417-.09-.016a1.714 1.714 0 0 1-.632-.282c-.35-.255-.628-.687-.628-.687l.28-.418c.106-.158.284-.397.448-.51l.074-.009c.14-.012.456-.01.735.194Z",clipRule:"evenodd"})]})),uu=(0,e.forwardRef)(cu);function du(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?du(Object(r),!0).forEach((function(t){fu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):du(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const pu=(e,t)=>(0,$c.jsxs)("svg",hu(hu({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#F1811A",d:"M9 3h9.585a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M14.999 15.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm3.73 4.521c.125-.016.439-.059.912.059l.09.022c.674.164 2.394.583 4.479 2.218.197.167.698.602.781.675.038.034.214.211.411.41.24.242.51.515.6.598V26a99.96 99.96 0 0 0-.238-.237 71.28 71.28 0 0 1-.925-.934c-.523-.542-.878-.87-1.346-1.301-.47-.43-1.733-1.361-2.489-1.675-.755-.313-1.08-.444-1.397-.49l.007.021a1.284 1.284 0 0 0 .067.172c.016.034.029.06.04.104l.238.524.031.067.009.02a.627.627 0 0 1 .017.038l.182.422c.266.613.465 1.108.594 1.473.177.502.27.925.153 1.285-.116.36-.398.508-.755.508-.537 0-1.302-.421-1.543-.567l-.085-.052a7.184 7.184 0 0 1-.622-.413 2.96 2.96 0 0 1-.529-.455l-.045-.049c-.094-.097-.319-.333-.36-.657-.022-.183.002-.398.108-.55.061-.088.159-.215.44-.25a.649.649 0 0 1 .436.133c.051.036.151.137.27.255a6.03 6.03 0 0 0 .608.555c.203.166.445.364.602.425-.031-.072-.089-.195-.146-.318v-.001a27.93 27.93 0 0 1-.138-.297 11.238 11.238 0 0 0-.193-.41c-.333-.684-.664-1.381-.808-1.814l-.024-.073c-.13-.387-.204-.612-.128-.884.052-.185.11-.32.337-.438.09-.047.23-.098.348-.113l.01-.002Zm.709-6.778 2.483 3.974a.511.511 0 0 1-.439.783h-4.966a.515.515 0 0 1-.44-.783l2.484-3.974a.519.519 0 0 1 .878 0Zm-9.439 7.579c0-.454.368-.822.822-.822h3.356c.454 0 .822.368.822.822v3.356a.822.822 0 0 1-.822.822h-3.356a.822.822 0 0 1-.822-.822v-3.356Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.285 3.286 6.421 6.421a.999.999 0 0 1 .203.293H21a2 2 0 0 1-1.995-1.85L18.998 8V3.09a.999.999 0 0 1 .287.196Z"})]})),mu=(0,e.forwardRef)(pu);function bu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bu(Object(r),!0).forEach((function(t){yu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const vu=(e,t)=>(0,$c.jsxs)("svg",gu(gu({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#E33D55",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M17.553 13.776a.5.5 0 0 1 .894.448l-4 8a.5.5 0 0 1-.894-.448l4-8Zm-4.83 1.808a.5.5 0 1 1 .554.832L10.901 18l2.376 1.584a.5.5 0 1 1-.554.832l-3-2a.5.5 0 0 1 0-.832l3-2Zm6.554 0 3 2a.5.5 0 0 1 0 .832l-3 2a.502.502 0 0 1-.778-.513.5.5 0 0 1 .224-.319L21.1 18l-2.376-1.584a.5.5 0 0 1 .554-.832Z"})]})),wu=(0,e.forwardRef)(vu);function Eu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Su(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Eu(Object(r),!0).forEach((function(t){xu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Eu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ou=(e,t)=>(0,$c.jsxs)("svg",Su(Su({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D3D3D3",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"})]})),Pu=(0,e.forwardRef)(Ou);function Cu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ku(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Cu(Object(r),!0).forEach((function(t){_u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Au=(e,t)=>(0,$c.jsxs)("svg",ku(ku({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D0021B",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 6.422 6.421a1 1 0 0 1 .203.293H21a2 2 0 0 1-1.995-1.85L19 8V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M21.5 24c.245 0 .45.183.492.412L22 24.5c0 .276-.23.5-.5.5h-7a.505.505 0 0 1-.5-.5c0-.276.23-.5.5-.5h7Zm0-3c.245 0 .45.183.492.412L22 21.5c0 .276-.229.5-.5.5h-11a.505.505 0 0 1-.5-.5c0-.276.229-.5.5-.5h11ZM17 12v2.5h2.5v2H17V19h-2v-2.5h-2.5v-2H15V12h2Z",clipRule:"evenodd"})]})),Tu=(0,e.forwardRef)(Au);function ju(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Iu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ju(Object(r),!0).forEach((function(t){Du(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ju(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Du(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Mu=(e,t)=>(0,$c.jsxs)("svg",Iu(Iu({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#4826C2",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M10 22.923c0-.51.413-.923.923-.923h7.385c.51 0 .923.413.923.923v.154c0 .51-.414.923-.923.923h-7.385a.923.923 0 0 1-.923-.923v-.154ZM12.77 18.923c0-.51.412-.923.922-.923h7.385c.51 0 .923.413.923.923v.154c0 .51-.413.923-.923.923h-7.385a.923.923 0 0 1-.923-.923v-.154ZM10 14.923c0-.51.413-.923.923-.923h6.154c.51 0 .923.413.923.923v.154c0 .51-.413.923-.923.923h-6.154a.923.923 0 0 1-.923-.923v-.154Z"})]})),Ru=(0,e.forwardRef)(Mu);function Fu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Lu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fu(Object(r),!0).forEach((function(t){Nu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Nu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Uu=(e,t)=>(0,$c.jsxs)("svg",Lu(Lu({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#0061D5",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M17.5 21c.245 0 .45.183.492.412L18 21.5c0 .276-.23.5-.5.5h-7a.505.505 0 0 1-.5-.5c0-.276.23-.5.5-.5h7Zm4-3c.245 0 .45.183.492.412L22 18.5c0 .276-.229.5-.5.5h-11a.505.505 0 0 1-.5-.5c0-.276.229-.5.5-.5h11Zm-1.001-3c.246 0 .45.183.493.412L21 15.5c0 .276-.23.5-.501.5H10.5a.506.506 0 0 1-.501-.5c0-.276.23-.5.501-.5h10-.001Z",clipRule:"evenodd"})]})),Bu=(0,e.forwardRef)(Uu);function Hu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hu(Object(r),!0).forEach((function(t){zu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function zu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const $u=(e,t)=>(0,$c.jsxs)("svg",Vu(Vu({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#4083F7",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M16 23v1h-6v-1h6Zm5-3v1H10v-1h11Zm0-3v1H10v-1h11Zm0-3v1H10v-1h11Z",clipRule:"evenodd"})]}));function qu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Gu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qu(Object(r),!0).forEach((function(t){Wu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Wu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Zu=(e,t)=>(0,$c.jsxs)("svg",Gu(Gu({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#009AED",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M18 18v-2h-2v-4h-1v4h-2v2H9v1h4v2h2v4h1v-4h2v-2h4v-1h-4Zm-1 2h-3v-3h3v3Z"})]}));function Xu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ku(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xu(Object(r),!0).forEach((function(t){Qu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Yu=(e,t)=>(0,$c.jsxs)("svg",Ku(Ku({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#107C41",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 0 1 .293.707V26A3.002 3.002 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"#87BDA0",d:"m19.286 3.286 6.422 6.421a.994.994 0 0 1 .203.293H21a2.001 2.001 0 0 1-1.995-1.85L19 8V3.09c.105.048.202.114.286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M20.25 25a.748.748 0 0 0 .75-.75v-10.5a.748.748 0 0 0-.75-.75H12a.748.748 0 0 0-.75.75v1.5h-1.5A.748.748 0 0 0 9 16v6a.748.748 0 0 0 .75.75h1.5v1.5A.748.748 0 0 0 12 25h8.25Zm-4.5-9.75H12v-1.5h3.75v1.5Zm4.5 0H16.5v-1.5h3.75v1.5Zm0 3H16.5V16h3.75v2.25Zm-8.344 3.188h-1.511l1.582-2.45-1.442-2.425h1.518l.756 1.494.82-1.494h1.43l-1.483 2.42 1.518 2.454H13.6l-.838-1.564-.856 1.564v.001Zm8.344-.188H16.5V19h3.75v2.25Zm0 3H16.5V22h3.75v2.25Zm-4.5 0H12v-1.5h3.75v1.5Z"})]}));function Ju(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ed(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ju(Object(r),!0).forEach((function(t){td(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ju(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function td(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const rd=(e,t)=>(0,$c.jsxs)("svg",ed(ed({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#051E25",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#FF9400",fillRule:"evenodd",d:"M20.42 15.805c.072 0 .108.027.108.107v6.982c0 .07-.018.106-.107.106h-1.393c-.09 0-.117-.044-.117-.115v-6.973h-.009c0-.071.027-.107.108-.107h1.41Zm-5.813-2.557c.063 0 .09.017.108.088l2.857 9.549c.018.07 0 .115-.072.115h-1.49c-.072 0-.117-.018-.135-.08l-.737-2.663h-2.875l-.71 2.655c-.018.07-.045.088-.135.088h-1.32c-.09 0-.109-.027-.09-.133l2.551-8.796c.045-.16.072-.301.09-.735 0-.062.027-.088.072-.088h1.887Zm-.917 1.416h-.018c-.188 1.035-.665 2.787-1.042 4.159h2.13c-.252-.982-.845-3.124-1.07-4.16v.001ZM19.72 13c.548 0 .916.363.916.903 0 .584-.386.902-.934.902-.52 0-.899-.318-.899-.902 0-.567.404-.903.917-.903Z",clipRule:"evenodd"})]}));function nd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function id(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nd(Object(r),!0).forEach((function(t){od(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function od(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ad=(e,t)=>(0,$c.jsxs)("svg",id(id({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#3FB87F",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"m14.754 18.128 3.102 3.204 1.327-1.625c.158-.193.415-.193.575 0l2.06 2.485c.37.446.159.808-.472.808H10.63c-.633 0-.82-.341-.414-.767l3.9-4.089a.444.444 0 0 1 .64-.016h-.002ZM17.5 14a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z",clipRule:"evenodd"})]}));function sd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ld(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sd(Object(r),!0).forEach((function(t){cd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function cd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ud=(e,t)=>(0,$c.jsxs)("svg",ld(ld({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#051E25",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#FF57A1",fillRule:"evenodd",d:"M19.866 13c.071 0 .09.027.09.072v8.385c0 .251 0 .565.044.906 0 .063-.018.072-.08.108a5.448 5.448 0 0 1-2.342.529c-1.975 0-3.387-1.229-3.387-3.73-.01-2.144 1.403-3.813 3.664-3.813.188 0 .295 0 .474.018V13.09c0-.063.044-.09.09-.09h1.447Zm-7.364 0c.071 0 .107.027.107.108v9.64c0 .09-.018.117-.116.117h-1.377c-.09 0-.116-.044-.116-.116v-9.632c0-.09.045-.117.116-.117h1.386Zm5.3 3.83c-1.154 0-1.958.888-1.958 2.367 0 1.686.822 2.368 1.85 2.368.224 0 .456-.027.635-.108V16.92a1.282 1.282 0 0 0-.528-.09h.001Z",clipRule:"evenodd"})]}));function dd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dd(Object(r),!0).forEach((function(t){fd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const pd=(e,t)=>(0,$c.jsxs)("svg",hd(hd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#0A84FF",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"m20.991 16.925-.697-4.338a.697.697 0 0 0-.688-.587h-8.212a.697.697 0 0 0-.688.587l-.697 4.338a.698.698 0 0 0 .688.807h9.606a.698.698 0 0 0 .688-.807Zm-3.012 7.3h-2.092V18.2h-.774v6.025H13.02c-.31 0-.465.155-.465.387 0 .233.155.388.465.388h4.958c.31 0 .465-.155.465-.387 0-.233-.155-.388-.465-.388Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#66C155",fillRule:"evenodd",d:"m15.5 14.169-1.047 1.253c.294.186.656.296 1.047.296.391 0 .753-.11 1.047-.296.301-.19.53-.46.648-.774l-1.695-.479Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#FA9E27",fillRule:"evenodd",d:"M13.805 14.648a1.365 1.365 0 0 1 0-.958l1.695.479-1.695.479Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#AB4287",fillRule:"evenodd",d:"M14.453 12.916a1.958 1.958 0 0 1 1.047-.296v1.549l-1.047-1.253Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#61D9FE",fillRule:"evenodd",d:"M17.195 13.69a1.584 1.584 0 0 0-.648-.774 1.957 1.957 0 0 0-1.047-.296v1.549l1.695.479a1.365 1.365 0 0 0 0-.958Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#FBCE5A",fillRule:"evenodd",d:"M14.453 15.422c-.301-.19-.53-.46-.648-.774l1.695-.479-1.047 1.253Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#E85A5E",fillRule:"evenodd",d:"M13.805 13.69a1.58 1.58 0 0 1 .648-.774l1.047 1.253-1.695-.479Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#C7E8FD",fillRule:"evenodd",d:"M19.311 16.338H11.69c-.248 0-.372.124-.372.31s.124.31.372.31h7.622c.248 0 .372-.124.372-.31s-.124-.31-.372-.31Z",clipRule:"evenodd"})]}));function md(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?md(Object(r),!0).forEach((function(t){gd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):md(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function gd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const yd=(e,t)=>(0,$c.jsxs)("svg",bd(bd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#00A650",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M10 21.529v-.1l.001-.084c.002-.062.006-.123.017-.184a.616.616 0 0 1 .164-.322.584.584 0 0 1 .322-.165c.06-.011.123-.015.184-.017h.084l.1-.001h.47a16.617 16.617 0 0 1 .185.001c.06.002.122.006.183.017a.616.616 0 0 1 .322.165.585.585 0 0 1 .165.322c.01.06.014.122.016.183a3.95 3.95 0 0 1 .001.185v2.003l-.001.084a1.224 1.224 0 0 1-.016.183.618.618 0 0 1-.165.323.584.584 0 0 1-.322.165 1.21 1.21 0 0 1-.183.016l-.084.001h-.673l-.084-.001a1.207 1.207 0 0 1-.182-.016.616.616 0 0 1-.323-.165.587.587 0 0 1-.165-.323 1.24 1.24 0 0 1-.016-.183v-.084l-.001-.1v-1.903Zm2.928-3.076v-.1l.002-.085a1.14 1.14 0 0 1 .016-.183.62.62 0 0 1 .165-.322.587.587 0 0 1 .322-.166c.06-.01.122-.014.183-.016h.084l.1-.001h.571l.084.001c.061.002.123.006.183.017a.616.616 0 0 1 .322.165.588.588 0 0 1 .165.322c.01.06.014.122.016.183l.001.085v5.263a1.237 1.237 0 0 1-.017.183.618.618 0 0 1-.165.323.585.585 0 0 1-.322.165 1.21 1.21 0 0 1-.183.016 3.93 3.93 0 0 1-.084.001H13.7l-.084-.001a1.208 1.208 0 0 1-.183-.016.616.616 0 0 1-.322-.165.585.585 0 0 1-.165-.323 1.212 1.212 0 0 1-.016-.183 3.93 3.93 0 0 1-.002-.084v-5.08Zm2.929-5.58v-.1c0-.028 0-.056.002-.084.001-.062.005-.123.016-.184a.62.62 0 0 1 .165-.322.586.586 0 0 1 .322-.165c.06-.011.122-.015.183-.017h.084l.1-.001h.471a16.584 16.584 0 0 1 .184.001c.06.002.122.006.183.017a.619.619 0 0 1 .322.165.588.588 0 0 1 .165.322c.01.06.014.122.016.184l.001.084v10.759l-.001.084a1.238 1.238 0 0 1-.016.183.62.62 0 0 1-.165.323.585.585 0 0 1-.322.165c-.06.01-.122.014-.183.016a3.93 3.93 0 0 1-.084.001h-.671l-.084-.001a1.234 1.234 0 0 1-.183-.016.619.619 0 0 1-.322-.165.585.585 0 0 1-.165-.323 1.21 1.21 0 0 1-.016-.183 3.93 3.93 0 0 1-.002-.084v-10.66Zm2.928 3.147v-.1l.002-.084a1.21 1.21 0 0 1 .016-.183.62.62 0 0 1 .165-.323.587.587 0 0 1 .322-.165c.06-.01.122-.014.183-.016l.084-.001h.571a16.584 16.584 0 0 1 .184.001c.061.002.123.005.183.016a.615.615 0 0 1 .322.165.587.587 0 0 1 .165.323c.011.06.015.122.016.183l.002.085v7.609c0 .029 0 .057-.002.085a1.224 1.224 0 0 1-.016.183.62.62 0 0 1-.165.323.585.585 0 0 1-.322.165c-.06.01-.122.014-.183.016a3.92 3.92 0 0 1-.084.001h-.671l-.084-.001a1.208 1.208 0 0 1-.183-.016.617.617 0 0 1-.322-.165.585.585 0 0 1-.165-.323 1.213 1.213 0 0 1-.016-.183 3.94 3.94 0 0 1-.001-.084V16.02Z",clipRule:"evenodd"})]}));function vd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vd(Object(r),!0).forEach((function(t){Ed(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ed(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Sd=(e,t)=>(0,$c.jsxs)("svg",wd(wd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D0021B",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M13.133 16.998c0 .354-.054.66-.162.918a1.744 1.744 0 0 1-1.044 1.012c-.222.08-.457.121-.693.122h-.62v2.322H9.2V15h1.98c.228 0 .457.033.688.099a1.655 1.655 0 0 1 1.09.945c.117.258.175.576.175.954Zm-1.35.027c0-.288-.069-.495-.207-.621a.72.72 0 0 0-.504-.189h-.459v1.665h.46a.664.664 0 0 0 .503-.22c.138-.148.207-.359.207-.635Zm6.854 1.179c0 .48-.052.915-.157 1.305-.106.39-.266.723-.482.999a2.14 2.14 0 0 1-.824.639c-.333.15-.727.225-1.183.225h-1.79V15h1.79c.456 0 .85.075 1.183.225.334.15.608.364.824.643.216.28.376.615.482 1.008.105.394.157.836.157 1.328Zm-1.449 0c0-.642-.11-1.126-.328-1.454-.22-.327-.503-.49-.85-.49h-.352v3.852h.351c.348 0 .631-.163.85-.49.22-.328.33-.8.33-1.418Zm3.961-1.899v1.296h1.521v1.233h-1.512v2.538H19.7V15h3.105v1.305H21.15Z"})]}));function xd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Od(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xd(Object(r),!0).forEach((function(t){Pd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Cd=(e,t)=>(0,$c.jsxs)("svg",Od(Od({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#FF9500",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.414 6.414a1 1 0 0 1 .293.707V26a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#FFC78A",fillRule:"evenodd",d:"M21.686 24.179H11.52l-1.418.63h11.583c.173 0 .314-.14.314-.314v-.002a.314.314 0 0 0-.314-.314Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"m9.42 23.653-.399.683a.158.158 0 0 0 .216.216l.683-.399-.5-.5Zm.233-.397.664.664c.049.05.124.06.185.028a7.674 7.674 0 0 0 1.863-1.368l3.427-3.427-1.372-1.372-3.427 3.427a7.677 7.677 0 0 0-1.368 1.863.158.158 0 0 0 .028.185Zm6.454-4.418a.158.158 0 0 0 .223 0l.785-.804c4.412-4.412 4.727-5.515 4.333-5.91-.394-.393-1.497-.078-5.909 4.334l-.804.785a.158.158 0 0 0 0 .223l1.372 1.372Z",clipRule:"evenodd"})]}));function kd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kd(Object(r),!0).forEach((function(t){Ad(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ad(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Td=(e,t)=>(0,$c.jsxs)("svg",_d(_d({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#051E25",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#26C9FF",fillRule:"evenodd",d:"M19.527 15.491c.79 0 1.34.116 1.643.25.074.045.092.116.092.179v1.223c0 .071-.046.116-.138.09-.403-.25-1-.403-1.597-.403-.725 0-.973.358-.973.652 0 .322.166.545 1.139 1.036 1.44.678 1.89 1.33 1.89 2.286 0 1.428-1.12 2.196-2.634 2.196-.798 0-1.487-.16-1.881-.384-.065-.027-.074-.071-.074-.143v-1.312c0-.09.046-.116.11-.072.579.366 1.24.527 1.845.527.725 0 1.028-.295 1.028-.696 0-.322-.211-.607-1.138-1.072-1.303-.607-1.845-1.223-1.845-2.25 0-1.152.927-2.107 2.533-2.107ZM12.57 13c2.542 0 3.534 1.357 3.534 3.09 0 2.267-1.69 3.24-3.763 3.24-.35 0-.469-.017-.716-.017v3.428c0 .071-.028.107-.11.107H10.11c-.073 0-.11-.027-.11-.107v-9.59c0-.062.129-.106.202-.106.587-.027 1.46-.045 2.368-.045Zm-.055 1.42c-.367 0-.716.018-.881.026v3.447c.21.018.376.018.743.018 1.074 0 2.084-.366 2.084-1.786 0-1.134-.725-1.705-1.946-1.705Z",clipRule:"evenodd"})]}));function jd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Id(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jd(Object(r),!0).forEach((function(t){Dd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Dd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Md=(e,t)=>(0,$c.jsxs)("svg",Id(Id({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#C43E1C",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 0 1 .293.707V26A3.002 3.002 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"#E19E8D",d:"m19.286 3.286 6.422 6.421a.994.994 0 0 1 .203.293H21a2.001 2.001 0 0 1-1.995-1.85L19 8V3.09c.105.048.202.114.286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M16 24a5.947 5.947 0 0 0 4.239-1.76 6.07 6.07 0 0 0 .94-1.214c.262-.443.465-.92.607-1.432A5.862 5.862 0 0 0 22 18a5.947 5.947 0 0 0-1.76-4.239 6.07 6.07 0 0 0-1.214-.94 5.894 5.894 0 0 0-1.432-.607A5.862 5.862 0 0 0 16 12c-.457 0-.904.05-1.342.152a6.123 6.123 0 0 0-1.257.44c-.4.191-.776.427-1.128.706-.351.28-.67.597-.955.952h-.568A.748.748 0 0 0 10 15v6a.748.748 0 0 0 .75.75h.568c.286.355.604.673.955.952.352.28.728.515 1.128.706.4.192.82.338 1.257.44.438.101.885.152 1.342.152Zm0-9.75h-3.668A5.186 5.186 0 0 1 16 12.75v1.5Zm5.197 3H17.5V15a.73.73 0 0 0-.219-.527.847.847 0 0 0-.241-.161.703.703 0 0 0-.29-.062v-1.447a5.086 5.086 0 0 1 1.617.512c.504.26.951.585 1.342.976.39.39.716.838.976 1.342.26.504.43 1.043.512 1.617Zm-7.869 3.188h-1.213v-4.875h1.887c.258 0 .495.03.712.093.217.063.402.16.557.29.154.131.275.297.363.498.088.202.132.439.132.712 0 .266-.047.503-.141.712-.094.21-.223.386-.387.53a1.688 1.688 0 0 1-.577.331c-.22.077-.458.115-.712.115h-.62v1.593l-.001.001Zm.527-2.655c.207 0 .369-.043.484-.129.115-.086.173-.24.173-.463 0-.214-.056-.36-.167-.439-.112-.078-.267-.117-.466-.117h-.55v1.148h.526ZM16 23.25a5.186 5.186 0 0 1-3.668-1.5h4.418a.748.748 0 0 0 .75-.75v-3.006h3.75c0 .485-.063.95-.188 1.395a5.251 5.251 0 0 1-1.353 2.32 5.258 5.258 0 0 1-2.317 1.353A5.155 5.155 0 0 1 16 23.25Z"})]}));function Rd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rd(Object(r),!0).forEach((function(t){Ld(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ld(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Nd=(e,t)=>(0,$c.jsxs)("svg",Fd(Fd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M15.643 20.354a.5.5 0 0 0 .707 0l5.003-5a.5.5 0 1 0-.706-.708l-4.65 4.647-1.647-1.647a.5.5 0 0 0-.707 0L9.646 21.65a.5.5 0 0 0 .708.707l3.643-3.649 1.646 1.647v-.001Z"})]}));function Ud(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ud(Object(r),!0).forEach((function(t){Hd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ud(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Hd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Vd=(e,t)=>(0,$c.jsxs)("svg",Bd(Bd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#21A464",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M20.499 14c.277 0 .501.228.501.51v8.98c0 .282-.23.51-.501.51H10.5a.503.503 0 0 1-.5-.51v-8.98c0-.282.229-.51.5-.51h10-.001ZM11 21v2h4v-2.001L11 21Zm5 0v2h4v-2h-4Zm4-3h-4v2h4v-2Zm0-3h-4v2h4v-2Zm-5 0h-4v2l4-.001V15Zm-4 5 4-.001v-2L11 18v2Z"})]}));function zd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zd(Object(r),!0).forEach((function(t){qd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Gd=(e,t)=>(0,$c.jsxs)("svg",$d($d({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#F7BA00",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M10 14v9c0 .6.4 1 1 1h9c.6 0 1-.4 1-1v-9c0-.6-.4-1-1-1h-9c-.6 0-1 .4-1 1Zm10 7h-9v-5h9v5Z"})]}));function Wd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wd(Object(r),!0).forEach((function(t){Xd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Kd=(e,t)=>(0,$c.jsxs)("svg",Zd(Zd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#3FB87F",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M22 23.49c0 .282-.229.51-.5.51h-11a.508.508 0 0 1-.5-.51v-8.98c0-.282.229-.51.5-.51h11c.276 0 .5.228.5.51v8.98ZM11 23h2v-2h-2v2Zm10-2h-7v2h7v-2Zm0-1v-2h-7v2h7Zm-10 0h2v-2h-2v2Zm10-3v-2h-7v2h7Zm-8-2h-2v2h2v-2Z"})]}));function Qd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qd(Object(r),!0).forEach((function(t){Jd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Jd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const eh=(e,t)=>(0,$c.jsxs)("svg",Yd(Yd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"m20 14.068-3.6-1.85c-.5-.291-1.3-.291-1.8 0l-3.6 1.85c-.6.292-1 .973-1 1.556v4.768c0 .681.4 1.265 1 1.557l3.6 1.849c.496.27 1.234.27 1.8 0l3.6-1.849c.6-.292 1-.973 1-1.557v-4.768c0-.583-.4-1.264-1-1.556Zm-8.6 7.103c-.2-.098-.4-.487-.4-.681v-4.768c0-.292.2-.584.4-.681l3.6-1.85c.2-.096.6-.096.9 0l3.6 1.85c.1.061.154.134.2.194l-4.2 1.761v6.12c-.2 0-.282-.05-.4-.097l-3.7-1.848Z"})]}));function th(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?th(Object(r),!0).forEach((function(t){nh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):th(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ih=(e,t)=>(0,$c.jsxs)("svg",rh(rh({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D3D3D3",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 0 1 .293.707V26A3.002 3.002 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"#222222",fillRule:"evenodd",d:"M15.22 11.375c.4-.5 1.16-.5 1.56 0l4 5A.999.999 0 0 1 20 18h-2.005l-.009 4.002a1 1 0 0 1-1 .998H15a1 1 0 0 1-1-1v-.002L14.007 18H12a1 1 0 0 1-.846-1.534l.065-.09 4.001-5.001Z",clipRule:"evenodd"})]}));function oh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ah(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oh(Object(r),!0).forEach((function(t){sh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function sh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const lh=(e,t)=>(0,$c.jsxs)("svg",ah(ah({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"m13.195 17.07.005.01c.12.312.292.6.504.851l-.424.254c-1.414.847-2.452 2.33-2.715 3.992a1 1 0 1 1-1-.078c.29-1.994 1.517-3.763 3.2-4.772l.43-.257Zm5.618.003.429.256c1.687 1.008 2.91 2.77 3.197 4.77a1 1 0 1 1-1.002.073c-.26-1.664-1.293-3.14-2.708-3.985l-.43-.256.013-.019c.194-.235.354-.5.47-.787l.03-.052ZM16 14a2 2 0 0 1 1.937 1.5h4.592c.26 0 .47.21.47.47v.06c0 .26-.21.47-.47.47l-4.592.001a2 2 0 0 1-3.874 0L9.47 16.5a.47.47 0 0 1-.47-.47v-.06c0-.26.21-.47.47-.47h4.592A2 2 0 0 1 16 14Zm0 1a1 1 0 0 0-1 .98v.039l.007.098A1 1 0 1 0 16 15Z"})]}));function ch(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function uh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ch(Object(r),!0).forEach((function(t){dh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ch(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const hh=(e,t)=>(0,$c.jsxs)("svg",uh(uh({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#009AED",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"m19.723 18.973-5.914 3.957a.543.543 0 0 1-.809-.473v-7.914a.543.543 0 0 1 .809-.473l5.914 3.957a.544.544 0 0 1 0 .946Z",clipRule:"evenodd"})]}));function fh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ph(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fh(Object(r),!0).forEach((function(t){mh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function mh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const bh=(e,t)=>(0,$c.jsxs)("svg",ph(ph({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#185ABD",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 0 1 .293.707V26A3.002 3.002 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"#8BACDE",d:"m19.286 3.286 6.422 6.421a.994.994 0 0 1 .203.293H21a2.001 2.001 0 0 1-1.995-1.85L19 8V3.09c.105.048.202.114.286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M20.25 25a.748.748 0 0 0 .75-.75v-10.5a.748.748 0 0 0-.75-.75H12a.748.748 0 0 0-.75.75v1.5h-1.5A.748.748 0 0 0 9 16v6a.748.748 0 0 0 .75.75h1.5v1.5A.748.748 0 0 0 12 25h8.25Zm0-9.75H12v-1.5h8.25v1.5Zm0 3H16.5V16h3.75v2.25Zm-8.104 3.188h-1.26l-1.083-4.875h1.207l.55 2.8.61-2.8h1.184l.638 2.783.51-2.784h1.195l-1.078 4.875h-1.242l-.633-2.8-.598 2.8v.001Zm8.104-.188H16.5V19h3.75v2.25Zm0 3H12v-1.5h3.75a.748.748 0 0 0 .75-.75h3.75v2.25Z"})]}));function gh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?gh(Object(r),!0).forEach((function(t){vh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function vh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const wh=(e,t)=>(0,$c.jsxs)("svg",yh(yh({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#00838D",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M14.583 16v5h2.122c.498 0 .913-.137 1.205-.395.294-.259.452-.63.452-1.076v-.007c0-.565-.34-1.026-.84-1.186.372-.18.625-.588.625-1.034v-.007c0-.394-.14-.722-.404-.95-.263-.227-.638-.345-1.09-.345h-2.07Zm4.594 0v5h1.872c.697 0 1.255-.228 1.637-.667.38-.438.575-1.071.575-1.861v-.007c0-.767-.197-1.386-.58-1.813-.383-.429-.94-.652-1.632-.652h-1.872Zm-2.765.948c.208 0 .358.054.455.14.095.084.15.21.15.38v.007c0 .171-.058.295-.163.38-.108.086-.279.14-.52.14h-.605v-1.047h.683Zm.031 1.911c.265 0 .453.058.573.154.117.092.182.232.182.43v.006c0 .205-.064.348-.178.443-.116.098-.297.157-.555.157h-.737v-1.19h.715Zm3.879 1.11V17.03h.578c.383 0 .677.132.878.37.203.24.32.602.32 1.08v.007c0 .498-.114.868-.315 1.11-.198.24-.492.37-.883.37h-.578ZM9 20.996h1.35l1.033-1.62 1.035 1.62h1.415l-1.656-2.503L13.858 16H12.46l-.996 1.665L10.461 16H9.005l1.62 2.475L9 20.995Z",clipRule:"evenodd"})]}));function Eh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Eh(Object(r),!0).forEach((function(t){xh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Eh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Oh=(e,t)=>(0,$c.jsxs)("svg",Sh(Sh({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#00838D",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M9.352 21H8l1.627-2.523L8.005 16h1.457l1.004 1.666.997-1.666h1.4l-1.683 2.495L12.837 21H11.42l-1.036-1.62L9.352 21Zm3.918 0v-5h2.035c.75 0 1.354.222 1.771.649.417.427.634 1.046.634 1.816v.007c0 .792-.214 1.427-.629 1.864-.416.438-1.021.664-1.776.664H13.27Zm6.01 0-1.356-5h1.283l.717 3.208.838-3.208h1.024l.854 3.21.71-3.21h1.277l-1.358 5h-1.117l-.88-3.057L20.405 21H19.28Zm-4.78-3.969v2.938h.64c.433 0 .757-.133.975-.374.218-.243.342-.61.342-1.107v-.006c0-.476-.127-.837-.348-1.078-.22-.239-.545-.373-.969-.373h-.64Z",clipRule:"evenodd"})]}));function Ph(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ch(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ph(Object(r),!0).forEach((function(t){kh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ph(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function kh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _h=(e,t)=>(0,$c.jsxs)("svg",Ch(Ch({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D3D3D3",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#4E4E4E",d:"M10 24h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1V8Zm1 15h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1V9Z"})]})),Ah={FileAdobeExpress:Xc,FileAudio:eu,FileBookmark:ou,FileBoxNote:uu,FileCanvas:mu,FileCode:wu,FileDefault:Pu,FileDicom:Tu,FileDocGen:Ru,FileDocument:Bu,FileDocs:(0,e.forwardRef)($u),FileDwg:(0,e.forwardRef)(Zu),FileExcel:(0,e.forwardRef)(Yu),FileIllustrator:(0,e.forwardRef)(rd),FileImage:(0,e.forwardRef)(ad),FileIndesign:(0,e.forwardRef)(ud),FileKeynote:(0,e.forwardRef)(pd),FileNumbers:(0,e.forwardRef)(yd),FilePdf:(0,e.forwardRef)(Sd),FilePages:(0,e.forwardRef)(Cd),FilePhotoshop:(0,e.forwardRef)(Td),FilePowerpoint:(0,e.forwardRef)(Md),FilePresentation:(0,e.forwardRef)(Nd),FileSheets:(0,e.forwardRef)(Vd),FileSlides:(0,e.forwardRef)(Gd),FileSpreadsheet:(0,e.forwardRef)(Kd),FileText:Bu,FileThreeD:(0,e.forwardRef)(eh),FileUpload:(0,e.forwardRef)(ih),FileVector:(0,e.forwardRef)(lh),FileVideo:(0,e.forwardRef)(hh),FileWord:(0,e.forwardRef)(bh),FileXbd:(0,e.forwardRef)(wh),FileXdw:(0,e.forwardRef)(Oh),FileZip:(0,e.forwardRef)(_h)},Th=e=>e.reduce(((e,t)=>(e[t]=t,e)),{}),jh={FileAdobeExpress:Th(["adobeexpress"]),FileAudio:Th(["aac","aif","aifc","aiff","amr","au","flac","m3u","m4a","mid","mp3","ra","wav","wma","wpl"]),FileCanvas:Th(["boxcanvas"]),FileBoxNote:Th(["boxnote"]),FileCode:Th(["as","as3","asm","aspx","c","cpp","bat","c","cc","cmake","cs","css","cxx","db","diff","erb","groovy","h","haml","hh","htm","html","java","js","less","m","make","md","ml","mm","php","pl","plist","properties","py","rb","sass","scala","script","scm","sml","sql","sh","wabba","yaml"]),FileDocument:Th(["dot","dotx","msg","odt","rtf","wpd","xhtml","xml","xsd","xsl"]),FileDwg:Th(["dwg","dwgzip"]),FileExcel:Th(["xls","xlsx","xlsm","xlsb"]),FileDocs:Th(["gdoc"]),FileSheets:Th(["gsheet"]),FileSlides:Th(["gslide","gslides"]),FileVector:Th(["eps"]),FileIllustrator:Th(["ai"]),FileIndesign:Th(["idml","indd","indt","inx"]),FileKeynote:Th(["key"]),FileNumbers:Th(["numbers"]),FilePages:Th(["pages"]),FileImage:Th(["bmp","gif","gdraw","jpeg","jpg","png","ps","svs","svg","tif","tiff","heic","heif"]),FilePdf:Th(["pdf"]),FilePresentation:Th(["odp","otp","pot","potx"]),FilePowerpoint:Th(["ppt","pptx","pptm"]),FilePhotoshop:Th(["psd"]),FileSpreadsheet:Th(["csv","ods","tsv","xlt","xltx"]),FileText:Th(["txt","vi","vim","webdoc"]),FileThreeD:Th(["3ds","dae","fbx","obj","ply","stl"]),FileVideo:Th(["3g2","3gp","avi","flv","m2v","m2ts","m4v","mkv","mov","mp4","mpeg","mpg","ogg","mts","qt","wmv"]),FileWord:Th(["docx","doc","docm"]),FileXbd:Th(["xbd"]),FileXdw:Th(["xdw"]),FileZip:Th(["rar","tgz","zip"])},Ih=({dimension:t=32,extension:r="",title:n})=>{const{formatMessage:i}=tn(),o=((e="")=>Object.keys(jh).filter((t=>!!jh[t][e.toLowerCase()]))[0]||"FileDefault")(r),a=Ah[o];return e.createElement(a,{"aria-label":n||("FileDefault"===o?i(Wn.file):i(Wn.iconFile,{extension:r.toUpperCase()})),height:t,width:t})},Dh={"Google Docs":Rc,"Google Docs (beta)":Rc,"Google Sheets":Uc,"Google Sheets (beta)":Uc,"Google Slides":zc,"Google Slides (beta)":zc},Mh=function(e){return Dh[e]||Ih};function Rh(){return Rh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Rh.apply(null,arguments)}const Fh=({boxToolsName:t="Box Tools",boxToolsInstallUrl:r="https://cloud.box.com/v/installboxtools"})=>e.createElement(an,Rh({},Wn.boxToolsInstallMessage,{values:{boxTools:e.createElement("a",{href:"#",onClick:()=>{window.open(r)},rel:"noopener noreferrer"},t)}})),Lh=e=>bi()(e,"disabledReasons.0.type")===Fh,Nh=({integration:t,onClick:r})=>{const{displayName:n,displayDescription:i,isDisabled:o,extension:a,disabledReasons:s}=t,l=Mh(n),c=o?function(t=[]){let r;const n=t[0],i=e.createElement(an,Wn.errorOpenWithDescription);switch(n){case"blocked_by_shield_access_policy":r=e.createElement(an,Wn.boxEditErrorBlockedByPolicy);break;case"collaborators_hidden":r=i;break;default:r=t[0]||i}return r}(s):i,u=tt()({"bcow-box-tools-uninstalled":Lh(t)});return e.createElement(jc,{className:u,isDisabled:o,onClick:()=>r(t)},e.createElement(l,{dimension:30,extension:a,height:30,width:30}),e.createElement("span",null,e.createElement("p",{className:"bcow-menu-item-title"},n),e.createElement("p",{className:"bcow-menu-item-description"},c)))},Uh=({className:t="",color:r="#000",height:n=6,title:i,width:o=10})=>e.createElement(Yn,{className:`icon-caret-down ${t}`,height:n,title:i,viewBox:"0 0 10 6",width:o},e.createElement("path",{className:"fill-color",d:"M0 .5l5 5 5-5H0z",fill:r,fillRule:"evenodd"})),Bh=({children:t})=>e.createElement("span",{className:"menu-toggle"},t,e.createElement(Uh,{className:"toggle-arrow",width:7})),Hh=({className:t="",color:r="#4e4e4e",height:n=16,title:i,width:o=16})=>e.createElement(Yn,{className:`icon-open-with ${t}`,height:n,title:i,viewBox:"0 0 16 16",width:o},e.createElement("path",{className:"fill-color",fill:r,fillRule:"evenodd",d:"M12 2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm0 1H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zm-1 2v6h-1V6.71l-4.65 4.64-.7-.7L9.29 6H5V5h6z"})),Vh=["children","className","icon","isDisabled","isLoading","isSelected","setRef","size","type","showRadar"];function zh(){return zh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zh.apply(null,arguments)}function $h(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let qh=function(e){return e.BUTTON="button",e.RESET="reset",e.SUBMIT="submit",e}({});class Gh extends e.Component{constructor(...e){super(...e),$h(this,"btnElement",null),$h(this,"handleClick",(e=>{const{isDisabled:t,onClick:r}=this.props;if(t||this.btnElement&&this.btnElement.classList.contains("is-disabled"))return e.preventDefault(),void e.stopPropagation();r&&r(e)}))}render(){const t=this.props,{children:r,className:n,icon:i,isDisabled:o,isLoading:a,isSelected:s,setRef:l,size:c,type:u,showRadar:d}=t,h=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,Vh),f=Xn()(h,["onClick"]);o&&(f["aria-disabled"]=!0);const p=tt()("btn",{"is-disabled":o,"is-loading":a,"is-selected":s,"bdl-is-disabled":o,"bdl-btn--large":"large"===c,"bdl-has-icon":!!i},n);let m=e.createElement("button",zh({ref:e=>{this.btnElement=e,l&&l(e)},className:p,onClick:this.handleClick,type:u},f),r?e.createElement("span",{className:"btn-content"},r):null,i?e.createElement("span",{className:"bdl-btn-icon"},e.cloneElement(i,{width:i&&r?16:20,height:i&&r?16:20})):null,a&&e.createElement(ac,{className:"btn-loading-indicator"}));return d&&(m=e.createElement(_c,null,m)),m}}$h(Gh,"defaultProps",{className:"",isLoading:!1,showRadar:!1,type:qh.SUBMIT});const Wh=Gh;var Zh=function(e){return e.TOP_LEFT="top left",e.TOP_CENTER="top center",e.TOP_RIGHT="top right",e.MIDDLE_LEFT="middle left",e.MIDDLE_CENTER="middle center",e.MIDDLE_RIGHT="middle right",e.BOTTOM_LEFT="bottom left",e.BOTTOM_CENTER="bottom center",e.BOTTOM_RIGHT="bottom right",e}(Zh||{});const Xh=Zh,Kh=["children","title"];class Qh extends e.Component{constructor(...e){var t,r,n;super(...e),t=this,r="id",n=nt()("icon"),(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}render(){const t=this.props,{children:r,title:n}=t,i=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,Kh),o=`${this.id}-title`,a=Xn()(i,["role","aria-labelledby"]);return a.focusable="false",n?(a["aria-labelledby"]=o,a.role="img"):(a["aria-hidden"]="true",a.role="presentation"),e.createElement("svg",a,n?e.createElement("title",{id:o},n):null,r)}}const Yh=Qh;function Jh(){return Jh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jh.apply(null,arguments)}const ef=t=>e.createElement(Yh,Jh({width:16,height:16,viewBox:"0 0 16 16"},t),e.createElement("path",{fill:"#909090",fillRule:"evenodd",d:"M8 6.586l4.182-4.182a.5.5 0 01.707 0l.707.707a.5.5 0 010 .707L9.414 8l4.182 4.182a.5.5 0 010 .707l-.707.707a.5.5 0 01-.707 0L8 9.414l-4.182 4.182a.5.5 0 01-.707 0l-.707-.707a.5.5 0 010-.707L6.586 8 2.404 3.818a.5.5 0 010-.707l.707-.707a.5.5 0 01.707 0L8 6.586z"})),tf=["children","className","getDOMRef","isDisabled","type"];function rf(){return rf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rf.apply(null,arguments)}const nf=t=>{let{children:r,className:n="",getDOMRef:i=ot(),isDisabled:o=!1,type:a=qh.SUBMIT}=t,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,tf);const l={};return o&&(l["aria-disabled"]=!0,l.onClick=e=>{e.preventDefault(),e.stopPropagation()}),e.createElement("button",rf({className:`btn-plain ${n}`,ref:i,type:a},s,l),r)},of={id:"boxui.core.close",defaultMessage:"Close"},af=function(t,r){var n,i={},o=i.intlPropName,a=void 0===o?"intl":o,s=i.forwardRef,l=void 0!==s&&s,c=i.enforceContext,u=void 0===c||c,d=function(r){return e.createElement(Yr,null,(function(n){var i;u&&Zr(n);var o=((i={})[a]=n,i);return e.createElement(t,lt({},r,o,{ref:l?r.forwardedRef:null}))}))};return d.displayName="injectIntl(".concat((n=t).displayName||n.name||"Component",")"),d.WrappedComponent=t,l?mt()(e.forwardRef((function(t,r){return e.createElement(d,lt({},t,{forwardedRef:r}))})),t):mt()(d,t)}((({intl:t,onClick:r})=>e.createElement(nf,{"aria-label":t.formatMessage(of),className:"tooltip-close-button",onClick:r},e.createElement(ef,{className:"bdl-Tooltip-iconClose",width:14,height:14}))));function sf(){return sf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sf.apply(null,arguments)}function lf(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let cf=function(e){return e.CALLOUT="callout",e.DEFAULT="default",e.ERROR="error",e}({}),uf=function(e){return e.BOTTOM_CENTER="bottom-center",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right",e.MIDDLE_LEFT="middle-left",e.MIDDLE_RIGHT="middle-right",e.TOP_CENTER="top-center",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right",e}({});const df={[uf.BOTTOM_CENTER]:{attachment:Xh.TOP_CENTER,targetAttachment:Xh.BOTTOM_CENTER},[uf.BOTTOM_LEFT]:{attachment:Xh.TOP_RIGHT,targetAttachment:Xh.BOTTOM_RIGHT},[uf.BOTTOM_RIGHT]:{attachment:Xh.TOP_LEFT,targetAttachment:Xh.BOTTOM_LEFT},[uf.MIDDLE_LEFT]:{attachment:Xh.MIDDLE_RIGHT,targetAttachment:Xh.MIDDLE_LEFT},[uf.MIDDLE_RIGHT]:{attachment:Xh.MIDDLE_LEFT,targetAttachment:Xh.MIDDLE_RIGHT},[uf.TOP_CENTER]:{attachment:Xh.BOTTOM_CENTER,targetAttachment:Xh.TOP_CENTER},[uf.TOP_LEFT]:{attachment:Xh.BOTTOM_RIGHT,targetAttachment:Xh.TOP_RIGHT},[uf.TOP_RIGHT]:{attachment:Xh.BOTTOM_LEFT,targetAttachment:Xh.TOP_LEFT}};class hf extends e.Component{constructor(t){super(t),lf(this,"tooltipID",nt()("tooltip")),lf(this,"tetherRef",e.createRef()),lf(this,"position",(()=>{this.tetherRef.current&&this.isShown()&&this.tetherRef.current.position()})),lf(this,"closeTooltip",(()=>{const{onDismiss:e}=this.props;this.setState({wasClosedByUser:!0}),e&&e()})),lf(this,"fireChildEvent",((e,t)=>{const{children:r}=this.props,n=r.props[e];n&&n(t)})),lf(this,"handleTooltipEvent",(e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()})),lf(this,"handleMouseEnter",(e=>{this.setState({isShown:!0}),this.fireChildEvent("onMouseEnter",e)})),lf(this,"handleMouseLeave",(e=>{this.setState({isShown:!1}),this.fireChildEvent("onMouseLeave",e)})),lf(this,"handleFocus",(e=>{this.setState({isShown:!0}),this.fireChildEvent("onFocus",e)})),lf(this,"handleBlur",(e=>{this.setState({isShown:!1}),this.fireChildEvent("onBlur",e)})),lf(this,"isControlled",(()=>{const{isShown:e}=this.props;return void 0!==e})),lf(this,"handleKeyDown",(e=>{"Escape"===e.key&&(e.stopPropagation(),this.setState({isShown:!1})),this.fireChildEvent("onKeyDown",e)})),lf(this,"isShown",(()=>{const{isShown:e}=this.props;return(this.isControlled()?e:this.state.isShown)&&!this.state.wasClosedByUser&&this.state.hasRendered})),this.state={isShown:!!t.isShown,hasRendered:!1,wasClosedByUser:!1}}componentDidMount(){this.setState({hasRendered:!0})}componentDidUpdate(e,t){this.isControlled()?!e.isShown&&this.props.isShown&&this.setState({wasClosedByUser:!1}):(!t.isShown&&this.state.isShown&&document.addEventListener("keydown",this.handleKeyDown,!0),t.isShown&&!this.state.isShown&&document.removeEventListener("keydown",this.handleKeyDown,!0))}componentWillUnmount(){document.removeEventListener("keydown",this.handleKeyDown,!0)}render(){const{ariaHidden:t,bodyElement:r,children:n,className:i,constrainToScrollParent:o,constrainToWindow:a,isDisabled:s,isTabbable:l=!0,offset:c,position:u=uf.TOP_CENTER,showCloseButton:d,stopBubble:h,tetherElementClassName:f,text:p,theme:m}=this.props,b=bi()(n,"props.aria-label"),g=!!b&&b===p;if(s)return e.Children.only(n);const y=this.isControlled(),v=this.isShown(),w=d&&y,E="string"==typeof u?df[u]:u,S=[],x={};o&&S.push({to:"scrollParent",attachment:"together"}),a&&S.push({to:"window",attachment:"together"}),v&&!t&&(g&&void 0!==b||(x["aria-describedby"]=this.tooltipID),m===cf.ERROR&&(x["aria-errormessage"]=this.tooltipID)),y||(x.onBlur=this.handleBlur,x.onFocus=this.handleFocus,x.onMouseEnter=this.handleMouseEnter,x.onMouseLeave=this.handleMouseLeave,l&&(x.tabIndex="0"));const O=r instanceof HTMLElement?r:document.body,P=tt()("tooltip","bdl-Tooltip",i,{"is-callout":m===cf.CALLOUT,"is-error":m===cf.ERROR,"with-close-button":w}),C={attachment:E.attachment,bodyElement:O,classPrefix:"tooltip",constraints:S,enabled:v,targetAttachment:E.targetAttachment};f&&(C.className=f),c&&(C.offset=c);const k=e.createElement(e.Fragment,null,p,w&&e.createElement(af,{onClick:this.closeTooltip})),_=h?e.createElement("div",{className:P,id:this.tooltipID,onClick:this.handleTooltipEvent,onContextMenu:this.handleTooltipEvent,onKeyPress:this.handleTooltipEvent,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:"presentation"},e.createElement("div",{role:m===cf.ERROR?void 0:"tooltip","aria-live":"polite","aria-hidden":t||g,"data-testid":"bdl-Tooltip"},k)):e.createElement("div",{"aria-live":"polite","aria-hidden":t||g,className:P,"data-testid":"bdl-Tooltip",id:this.tooltipID,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:m===cf.ERROR?void 0:"tooltip"},k);return e.createElement(cc.A,sf({ref:this.tetherRef},C),e.cloneElement(e.Children.only(n),x),v&&_)}}lf(hf,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!0,isDisabled:!1,position:uf.TOP_CENTER,theme:cf.DEFAULT});const ff=hf,pf=["children","isDisabled","text"];function mf(){return mf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mf.apply(null,arguments)}const bf=t=>{let{children:r,isDisabled:n,text:i}=t,o=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,pf);return n||!i?r:e.createElement(ff,mf({text:i},o),r)},gf=({children:t})=>e.createElement(e.Fragment,null,t,e.createElement("span",{className:"bcow-btn-header-text"},e.createElement(an,Wn.open)));function yf(){return yf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yf.apply(null,arguments)}const vf=t=>e.createElement(bf,{position:"middle-left",text:e.createElement(an,Wn.defaultOpenWithDescription)},e.createElement(Wh,yf({"data-testid":"multipleintegrationsbutton"},t),e.createElement(Bh,null,e.createElement(gf,null,e.createElement(Hh,{className:he,dimension:$e,height:$e,width:$e}))))),wf="right",Ef=({dropdownAlignment:t=wf,integrations:r,onClick:n})=>e.createElement(hc,{isRightAligned:t===wf},e.createElement(vf,null),e.createElement(Ec,{className:"bcow-menu"},r.map((t=>e.createElement(Nh,{key:t.appIntegrationId,integration:t,onClick:n})))));function Sf(){return Sf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Sf.apply(null,arguments)}const xf=(t,r,n,i=[])=>{if(r)return null;let o=e.createElement(an,Wn.emptyOpenWithDescription);return i.length>0?[o]=i:n?o=e.createElement(an,Wn.errorOpenWithDescription):t&&(o=t),o},Of=({error:t,onClick:r=ot(),displayIntegration:n,isLoading:i})=>{const{displayName:o,isDisabled:a,extension:s,disabledReasons:l,displayDescription:c}=n||{},u=!!a||!o,d=o?Mh(o):Hh,h=Lh(n)?{isShown:!0,showCloseButton:!0}:{};return e.createElement(bf,Sf({className:"bcow-tooltip",position:"bottom-center",text:xf(c,i,t,l)},h),e.createElement(Wh,{"data-testid":"singleintegrationbutton",isDisabled:u,onClick:()=>n?r(n):ot()},e.createElement(gf,null,e.createElement(d,{className:he,dimension:$e,extension:s,height:$e,width:$e}))))};class Pf extends e.PureComponent{constructor(t){super(t),this.ref=e.createRef()}componentDidMount(){const{onSubmit:e}=this.props;this.ref.current.submit(),e()}render(){const{executePostData:{url:t,params:r},id:n,windowName:i}=this.props;return e.createElement("form",{ref:this.ref,action:t,id:`bcow-execute-form-${n}`,method:Re,rel:"noreferrer noopener",target:i||"_blank"},r&&r.map((({key:t,value:r})=>e.createElement("input",{key:t,name:t,type:"hidden",value:r}))))}}const Cf=Pf;function kf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kf(Object(r),!0).forEach((function(t){Af(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kf(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Af(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Tf="boxToolsInstallErrorMessage",jf="executeIntegrationOpenWithErrorHeader";class If extends e.PureComponent{constructor(t){super(t),Af(this,"initialState",{isDropdownOpen:!1,integrations:null,isLoading:!0,fetchError:null,executePostData:null,shouldRenderErrorIntegrationPortal:!1,shouldRenderLoadingIntegrationPortal:!1}),Af(this,"fetchOpenWithSuccessHandler",(async t=>{const{boxToolsName:r,boxToolsInstallUrl:n}=this.props,i=t.find((({appIntegrationId:e})=>this.isBoxEditIntegration(e)));if(i&&!i.isDisabled)try{const{extension:e}=await this.getIntegrationFileExtension();i.extension=e,await this.isBoxEditAvailable(),await this.canOpenExtensionWithBoxEdit(i)}catch(t){const o=Wn[t.message]||Wn[jf];let a=e.createElement(an,o);t.message===Tf&&(a=e.createElement(Fh,{boxToolsInstallUrl:n,boxToolsName:r})),i.disabledReasons.push(a),i.isDisabled=!0}this.setState({integrations:t,isLoading:!1})})),Af(this,"getIntegrationFileExtension",(()=>{const{fileId:e}=this.props;return new Promise(((t,r)=>{this.api.getFileAPI().getFileExtension(e,t,(()=>r(new Error(jf))))}))})),Af(this,"isBoxEditAvailable",(()=>this.api.getBoxEditAPI().checkBoxEditAvailability().catch((()=>{throw new Error(Tf)})))),Af(this,"canOpenExtensionWithBoxEdit",(({extension:e=""})=>this.api.getBoxEditAPI().getAppForExtension(e).catch((()=>{throw new Error("boxToolsBlacklistedError")})))),Af(this,"fetchErrorHandler",((e,t)=>{this.props.onError(e,t,{error:e}),this.setState({fetchError:e,isLoading:!1})})),Af(this,"onIntegrationClick",(({appIntegrationId:e,displayName:t})=>{const{fileId:r}=this.props,n=this.isBoxEditIntegration(e);if(this.api.getAppIntegrationsAPI(!1).execute(e,r,this.executeIntegrationSuccessHandler.bind(this,e),n?this.executeBoxEditErrorHandler:this.executeIntegrationErrorHandler),n)return;const i=`left=${window.screenX},top=${window.screenY},height=${window.outerHeight},width=${window.innerWidth},toolbar=0`;this.integrationWindow=this.window.open("",`${nt()(e)}`,i),this.integrationWindow.document.title=t,this.integrationWindow.onunload=this.cleanupIntegrationWindow,this.setState({shouldRenderLoadingIntegrationPortal:!0,shouldRenderErrorIntegrationPortal:!1})})),Af(this,"cleanupIntegrationWindow",(()=>{this.setState({shouldRenderLoadingIntegrationPortal:!1,shouldRenderErrorIntegrationPortal:!1})})),Af(this,"executeIntegrationSuccessHandler",((e,t)=>{this.isBoxEditIntegration(e)?this.executeBoxEditSuccessHandler(e,t):this.executeOnlineIntegrationSuccessHandler(t),this.onExecute(e)})),Af(this,"executeOnlineIntegrationSuccessHandler",(e=>{const{method:t,url:r}=e;switch(t){case Re:this.setState({executePostData:e});break;case Me:if(!this.integrationWindow)return;this.integrationWindow.location=r,this.integrationWindow.opener=null;break;default:this.executeIntegrationErrorHandler(Error("Integration invocation using this HTTP method type is not supported"),ge)}this.integrationWindow=null})),Af(this,"executeBoxEditSuccessHandler",((e,{url:t})=>{const{fileId:r,token:n,onError:i}=this.props,o=sn.parse(t).auth_code,a=this.isBoxEditSFCIntegration(e);this.api.getBoxEditAPI().openFile(r,{data:{auth_code:o,token:n,token_scope:a?d:u}}).catch((e=>{i(e,ge,{error:e})}))})),Af(this,"onExecuteFormSubmit",(()=>{this.setState({executePostData:null})})),Af(this,"executeIntegrationErrorHandler",((e,t)=>{this.props.onError(e,t,{error:e}),console.error(e),this.setState({shouldRenderLoadingIntegrationPortal:!1,shouldRenderErrorIntegrationPortal:!0})})),Af(this,"executeBoxEditErrorHandler",(e=>{this.props.onError(e),console.error(e)}));const{token:r,apiHost:n,clientName:i,language:o,requestInterceptor:a,responseInterceptor:s}=t;this.id=nt()("bcow_"),this.api=new ic({apiHost:n,clientName:i,language:o,requestInterceptor:a,responseInterceptor:s,token:r,version:"25.2.0-beta.13"}),this.state=_f({},this.initialState)}clearCache(){this.api.destroy(!0)}componentWillUnmount(){this.api.destroy(!1)}componentDidMount(){const{fileId:e}=this.props;e&&(this.window=window,this.fetchOpenWithData())}componentDidUpdate(e){const{fileId:t}=this.props,{fileId:r}=e;t&&t!==r&&(this.setState(_f({},this.initialState)),this.fetchOpenWithData())}isBoxEditIntegration(e){return e===Ve||this.isBoxEditSFCIntegration(e)}isBoxEditSFCIntegration(e){return e===ze}fetchOpenWithData(){const{fileId:e}=this.props;this.api.getOpenWithAPI(!1).getOpenWithIntegrations(e,this.fetchOpenWithSuccessHandler,this.fetchErrorHandler)}onExecute(e){this.props.onExecute(e),this.setState({shouldRenderLoadingIntegrationPortal:!1})}getDisplayIntegration(){const{integrations:e}=this.state;return Array.isArray(e)&&1===e.length?e[0]:null}render(){const{language:t,messages:r,dropdownAlignment:n}=this.props,{fetchError:i,isLoading:o,integrations:a,executePostData:s,shouldRenderLoadingIntegrationPortal:l,shouldRenderErrorIntegrationPortal:c}=this.state,u=tt()("be bcow",this.props.className),d=this.getDisplayIntegration(),h=a?a.length:0;return e.createElement(Hn,{language:t,messages:r},e.createElement("div",{className:u,"data-testid":"bcow-content",id:this.id},h<=1?e.createElement(Of,{displayIntegration:d,error:i,isLoading:o,onClick:this.onIntegrationClick}):e.createElement(Ef,{dropdownAlignment:n,integrations:a,onClick:this.onIntegrationClick}),(l||c)&&e.createElement(lc,{hasError:c,integrationWindow:this.integrationWindow}),s&&e.createElement(Cf,{executePostData:s,id:this.id,onSubmit:this.onExecuteFormSubmit,windowName:this.integrationWindow&&this.integrationWindow.name})))}}Af(If,"defaultProps",{apiHost:ce,className:"",clientName:"ContentOpenWith",onExecute:ot(),onError:ot()});const Df=((t,r=ri)=>n=>e.forwardRef(((i,o)=>e.createElement(li,ci({errorComponent:r,errorOrigin:t},i),e.createElement(n,{ref:o})))))("open_with",(({error:t})=>e.createElement("div",{className:"be bcow"},e.createElement(Of,{error:t,isLoading:!1}))))(If);function Mf(){return Mf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Mf.apply(null,arguments)}function Rf(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}__webpack_require__.g.Box=__webpack_require__.g.Box||{},__webpack_require__.g.Box.ContentOpenWith=class extends Je{constructor(...e){super(...e),Rf(this,"onExecute",(e=>{this.emit("execute",e)})),Rf(this,"onError",(e=>{this.emit("error",e)}))}render(){(0,t.render)(e.createElement(Df,Mf({componentRef:this.setComponent,fileId:this.id,language:this.language,messages:this.messages,onError:this.onError,onExecute:this.onExecute,onInteraction:this.onInteraction,token:this.token},this.options)),this.container)}}})()})();
2
+ (()=>{var __webpack_modules__={53095:(e,t,r)=>{e.exports=r(44569)},85846:(e,t,r)=>{"use strict";var n=r(40898),i=r(7184),o=r(50310),a=r(81036),s=r(42629),l=r(30902),c=r(27004),u=r(77986),d=r(11279),h=r(46501),f=r(53834),p=r(68251);e.exports=function(e){return new Promise((function(t,r){var m,b=e.data,g=e.headers,y=e.responseType,v=e.withXSRFToken;function w(){e.cancelToken&&e.cancelToken.unsubscribe(m),e.signal&&e.signal.removeEventListener("abort",m)}n.isFormData(b)&&n.isStandardBrowserEnv()&&delete g["Content-Type"];var E=new XMLHttpRequest;if(e.auth){var S=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(S+":"+x)}var O=s(e.baseURL,e.url,e.allowAbsoluteUrls);function P(){if(E){var n="getAllResponseHeaders"in E?l(E.getAllResponseHeaders()):null,o={data:y&&"text"!==y&&"json"!==y?E.response:E.responseText,status:E.status,statusText:E.statusText,headers:n,config:e,request:E};i((function(e){t(e),w()}),(function(e){r(e),w()}),o),E=null}}if(E.open(e.method.toUpperCase(),a(O,e.params,e.paramsSerializer),!0),E.timeout=e.timeout,"onloadend"in E?E.onloadend=P:E.onreadystatechange=function(){E&&4===E.readyState&&(0!==E.status||E.responseURL&&0===E.responseURL.indexOf("file:"))&&setTimeout(P)},E.onabort=function(){E&&(r(new d("Request aborted",d.ECONNABORTED,e,E)),E=null)},E.onerror=function(){r(new d("Network Error",d.ERR_NETWORK,e,E)),E=null},E.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new d(t,n.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,e,E)),E=null},n.isStandardBrowserEnv()&&(v&&n.isFunction(v)&&(v=v(e)),v||!1!==v&&c(O))){var C=e.xsrfHeaderName&&e.xsrfCookieName&&o.read(e.xsrfCookieName);C&&(g[e.xsrfHeaderName]=C)}"setRequestHeader"in E&&n.forEach(g,(function(e,t){void 0===b&&"content-type"===t.toLowerCase()?delete g[t]:E.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(E.withCredentials=!!e.withCredentials),y&&"json"!==y&&(E.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&E.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&E.upload&&E.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(m=function(t){E&&(r(!t||t.type?new h(null,e,E):t),E.abort(),E=null)},e.cancelToken&&e.cancelToken.subscribe(m),e.signal&&(e.signal.aborted?m():e.signal.addEventListener("abort",m))),b||!1===b||0===b||""===b||(b=null);var k=f(O);k&&-1===p.protocols.indexOf(k)?r(new d("Unsupported protocol "+k+":",d.ERR_BAD_REQUEST,e)):E.send(b)}))}},44569:(e,t,r)=>{"use strict";var n=r(40898),i=r(6654),o=r(28905),a=r(1441),s=r(14538),l=r(22412),c=function e(t){var r=new o(t),s=i(o.prototype.request,r);return n.extend(s,o.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(s);c.Axios=o,c.CanceledError=r(46501),c.CancelToken=r(87709),c.isCancel=r(7770),c.VERSION=r(78219).version,c.toFormData=r(61234),c.AxiosError=r(11279),c.Cancel=c.CanceledError,c.all=function(e){return Promise.all(e)},c.spread=r(27238),c.isAxiosError=r(75657),c.formToJSON=function(e){return l(n.isHTMLForm(e)?new FormData(e):e)},e.exports=c,e.exports.default=c},87709:(e,t,r)=>{"use strict";var n=r(46501);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){for(var t=r._listeners.length;t-- >0;)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,i,o){r.reason||(r.reason=new n(e,i,o),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},46501:(e,t,r)=>{"use strict";var n=r(11279);function i(e,t,r){n.call(this,null==e?"canceled":e,n.ERR_CANCELED,t,r),this.name="CanceledError"}r(40898).inherits(i,n,{__CANCEL__:!0}),e.exports=i},7770:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},28905:(e,t,r)=>{"use strict";var n=r(40898),i=r(81036),o=r(761),a=r(68768),s=r(1441),l=r(42629),c=r(89419),u=c.validators;function d(e){this.defaults=e,this.interceptors={request:new o,response:new o}}d.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var i=t.paramsSerializer;null!=i&&(n.isFunction(i)?t.paramsSerializer={serialize:i}:c.assertOptions(i,{encode:u.function,serialize:u.function},!0));var o=[],l=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));var d,h=[];if(this.interceptors.response.forEach((function(e){h.push(e.fulfilled,e.rejected)})),!l){var f=[a,void 0];for(Array.prototype.unshift.apply(f,o),f=f.concat(h),d=Promise.resolve(t);f.length;)d=d.then(f.shift(),f.shift());return d}for(var p=t;o.length;){var m=o.shift(),b=o.shift();try{p=m(p)}catch(e){b(e);break}}try{d=a(p)}catch(e){return Promise.reject(e)}for(;h.length;)d=d.then(h.shift(),h.shift());return d},d.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url,e.allowAbsoluteUrls);return i(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,i){return this.request(s(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}d.prototype[e]=t(),d.prototype[e+"Form"]=t(!0)})),e.exports=d},11279:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}var i=r(40898);function o(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}i.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var a=o.prototype,s={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){s[e]={value:e}})),Object.defineProperties(o,s),Object.defineProperty(a,"isAxiosError",{value:!0}),o.from=function(e,t,r,s,l,c){var u=Object.create(a);return i.toFlatObject(e,u,(function(e){return e!==Error.prototype})),o.call(u,e.message,t,r,s,l),u.cause=e,u.name=e.name,c&&n(u,c),u},e.exports=o},761:(e,t,r)=>{"use strict";var n=r(40898);function i(){this.handlers=[]}i.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.clear=function(){this.handlers&&(this.handlers=[])},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},42629:(e,t,r)=>{"use strict";var n=r(97571),i=r(51190);e.exports=function(e,t,r){var o=!n(t);return e&&(o||!1===r)?i(e,t):t}},68768:(e,t,r)=>{"use strict";var n=r(40898),i=r(35871),o=r(7770),a=r(14538),s=r(46501),l=r(41752);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,null,e.transformRequest),l(e.headers,"Accept"),l(e.headers,"Content-Type"),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return c(e),t.data=i.call(e,t.data,t.headers,t.status,e.transformResponse),t}),(function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,t.response.status,e.transformResponse))),Promise.reject(t)}))}},1441:(e,t,r)=>{"use strict";var n=r(40898);e.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isEmptyObject(t)?n.merge({},e):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function l(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);n.isUndefined(i)&&t!==l||(r[e]=i)})),r}},7184:(e,t,r)=>{"use strict";var n=r(11279);e.exports=function(e,t,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}},35871:(e,t,r)=>{"use strict";var n=r(40898),i=r(14538);e.exports=function(e,t,r,o){var a=this||i;return n.forEach(o,(function(n){e=n.call(a,e,t,r)})),e}},14538:(e,t,r)=>{"use strict";var n=r(40898),i=r(41752),o=r(11279),a=r(77986),s=r(61234),l=r(96423),c=r(68251),u=r(22412),d={"Content-Type":"application/x-www-form-urlencoded"};function h(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var f,p={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(f=r(85846)),f),transformRequest:[function(e,t){i(t,"Accept"),i(t,"Content-Type");var r,o=t&&t["Content-Type"]||"",a=o.indexOf("application/json")>-1,c=n.isObject(e);if(c&&n.isHTMLForm(e)&&(e=new FormData(e)),n.isFormData(e))return a?JSON.stringify(u(e)):e;if(n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e))return e;if(n.isArrayBufferView(e))return e.buffer;if(n.isURLSearchParams(e))return h(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();if(c){if(-1!==o.indexOf("application/x-www-form-urlencoded"))return l(e,this.formSerializer).toString();if((r=n.isFileList(e))||o.indexOf("multipart/form-data")>-1){var d=this.env&&this.env.FormData;return s(r?{"files[]":e}:e,d&&new d,this.formSerializer)}}return c||a?(h(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||p.transitional,r=t&&t.forcedJSONParsing,i="json"===this.responseType;if(e&&n.isString(e)&&(r&&!this.responseType||i)){var a=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o.from(e,o.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:c.classes.FormData,Blob:c.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){p.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){p.headers[e]=n.merge(d)})),e.exports=p},77986:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},79652:(e,t,r)=>{e.exports=r(8276)},78219:e=>{e.exports={version:"0.30.1"}},61348:(e,t,r)=>{"use strict";var n=r(61234);function i(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,(function(e){return t[e]}))}function o(e,t){this._pairs=[],e&&n(e,this,t)}var a=o.prototype;a.append=function(e,t){this._pairs.push([e,t])},a.toString=function(e){var t=e?function(t){return e.call(this,t,i)}:i;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")},e.exports=o},6654:e=>{"use strict";e.exports=function(e,t){return function(){return e.apply(t,arguments)}}},81036:(e,t,r)=>{"use strict";var n=r(40898),i=r(61348);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a));var s,l=r&&r.encode||o,c=r&&r.serialize;return(s=c?c(t,r):n.isURLSearchParams(t)?t.toString():new i(t,r).toString(l))&&(e+=(-1===e.indexOf("?")?"?":"&")+s),e}},51190:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}},50310:(e,t,r)=>{"use strict";var n=r(40898);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},22412:(e,t,r)=>{"use strict";var n=r(40898);e.exports=function(e){function t(e,r,i,o){var a=e[o++];if("__proto__"===a)return!0;var s=Number.isFinite(+a),l=o>=e.length;return a=!a&&n.isArray(i)?i.length:a,l?(n.hasOwnProperty(i,a)?i[a]=[i[a],r]:i[a]=r,!s):(i[a]&&n.isObject(i[a])||(i[a]=[]),t(e,r,i[a],o)&&n.isArray(i[a])&&(i[a]=function(e){var t,r,n={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)n[r=i[t]]=e[r];return n}(i[a])),!s)}if(n.isFormData(e)&&n.isFunction(e.entries)){var r={};return n.forEachEntry(e,(function(e,i){t(function(e){return n.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),i,r,0)})),r}return null}},97571:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},75657:(e,t,r)=>{"use strict";var n=r(40898);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},27004:(e,t,r)=>{"use strict";var n=r(40898);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},41752:(e,t,r)=>{"use strict";var n=r(40898);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},30902:(e,t,r)=>{"use strict";var n=r(40898),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.slice(0,o)).toLowerCase(),r=n.trim(e.slice(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},53834:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},27238:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},61234:(e,t,r)=>{"use strict";var n=r(23913).hp;function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(null,arguments)}var o=r(40898),a=r(11279),s=r(79652);function l(e){return o.isPlainObject(e)||o.isArray(e)}function c(e){return o.endsWith(e,"[]")?e.slice(0,-2):e}function u(e,t,r){return e?e.concat(t).map((function(e,t){return e=c(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}var d=o.toFlatObject(o,{},null,(function(e){return/^is[A-Z]/.test(e)}));e.exports=function(e,t,r){if(!o.isObject(e))throw new TypeError("target must be an object");t=t||new(s||FormData);var h,f=(r=o.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!o.isUndefined(t[e])}))).metaTokens,p=r.visitor||v,m=r.dots,b=r.indexes,g=(r.Blob||"undefined"!=typeof Blob&&Blob)&&(h=t)&&o.isFunction(h.append)&&"FormData"===h[Symbol.toStringTag]&&h[Symbol.iterator];if(!o.isFunction(p))throw new TypeError("visitor must be a function");function y(e){if(null===e)return"";if(o.isDate(e))return e.toISOString();if(!g&&o.isBlob(e))throw new a("Blob is not supported. Use a Buffer instead.");return o.isArrayBuffer(e)||o.isTypedArray(e)?g&&"function"==typeof Blob?new Blob([e]):n.from(e):e}function v(e,r,n){var i=e;if(e&&!n&&"object"==typeof e)if(o.endsWith(r,"{}"))r=f?r:r.slice(0,-2),e=JSON.stringify(e);else if(o.isArray(e)&&function(e){return o.isArray(e)&&!e.some(l)}(e)||o.isFileList(e)||o.endsWith(r,"[]")&&(i=o.toArray(e)))return r=c(r),i.forEach((function(e,n){!o.isUndefined(e)&&null!==e&&t.append(!0===b?u([r],n,m):null===b?r:r+"[]",y(e))})),!1;return!!l(e)||(t.append(u(n,r,m),y(e)),!1)}var w=[],E=i(d,{defaultVisitor:v,convertValue:y,isVisitable:l});if(!o.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!o.isUndefined(r)){if(-1!==w.indexOf(r))throw Error("Circular reference detected in "+n.join("."));w.push(r),o.forEach(r,(function(r,i){!0===(!(o.isUndefined(r)||null===r)&&p.call(t,r,o.isString(i)?i.trim():i,n,E))&&e(r,n?n.concat(i):[i])})),w.pop()}}(e),t}},96423:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}var i=r(40898),o=r(61234),a=r(68251);e.exports=function(e,t){return o(e,new a.classes.URLSearchParams,n({visitor:function(e,t,r,n){return a.isNode&&i.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}},89419:(e,t,r)=>{"use strict";var n=r(78219).version,i=r(11279),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new i(o(n," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),o=n.length;o-- >0;){var a=n[o],s=t[a];if(s){var l=e[a],c=void 0===l||s(l,a,e);if(!0!==c)throw new i("option "+a+" must be "+c,i.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}},validators:o}},40657:e=>{"use strict";e.exports=FormData},37792:(e,t,r)=>{"use strict";var n=r(61348);e.exports="undefined"!=typeof URLSearchParams?URLSearchParams:n},11960:(e,t,r)=>{"use strict";e.exports={isBrowser:!0,classes:{URLSearchParams:r(37792),FormData:r(40657),Blob},protocols:["http","https","file","blob","url","data"]}},68251:(e,t,r)=>{"use strict";e.exports=r(11960)},40898:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}var i,o=r(6654),a=Object.prototype.toString,s=(i=Object.create(null),function(e){var t=a.call(e);return i[t]||(i[t]=t.slice(8,-1).toLowerCase())});function l(e){return e=e.toLowerCase(),function(t){return s(t)===e}}function c(e){return Array.isArray(e)}function u(e){return void 0===e}var d=l("ArrayBuffer");function h(e){return"number"==typeof e}function f(e){return null!==e&&"object"==typeof e}function p(e){if("object"!==s(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var m=l("Date"),b=l("File"),g=l("Blob"),y=l("FileList");function v(e){return"[object Function]"===a.call(e)}var w=l("URLSearchParams");function E(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),c(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}var S,x,O=(S="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return S&&e instanceof S}),P=l("HTMLFormElement"),C=(x=Object.prototype.hasOwnProperty,function(e,t){return x.call(e,t)});e.exports={isArray:c,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!u(e)&&null!==e.constructor&&!u(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||a.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:h,isObject:f,isPlainObject:p,isEmptyObject:function(e){return e&&0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype},isUndefined:u,isDate:m,isFile:b,isBlob:g,isFunction:v,isStream:function(e){return f(e)&&v(e.pipe)},isURLSearchParams:w,isStandardBrowserEnv:function(){var e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:E,merge:function e(){var t={};function r(r,n){p(t[n])&&p(r)?t[n]=e(t[n],r):p(r)?t[n]=e({},r):c(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)E(arguments[n],r);return t},extend:function(e,t,r){return E(t,(function(t,n){e[n]=r&&"function"==typeof t?o(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,i){e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,r&&n(e.prototype,r)},toFlatObject:function(e,t,r,n){var i,o,a,s={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],n&&!n(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==r&&Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:l,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;if(c(e))return e;var t=e.length;if(!h(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:O,isFileList:y,forEachEntry:function(e,t){for(var r,n=(e&&e[Symbol.iterator]).call(e);(r=n.next())&&!r.done;){var i=r.value;t.call(e,i[0],i[1])}},matchAll:function(e,t){for(var r,n=[];null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:P,hasOwnProperty:C}},61480:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,o=s(e),a=o[0],l=o[1],c=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,l)),u=0,d=l>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===l&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===l&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,c=n-i;s<c;s+=a)o.push(l(e,s,s+a>c?c:s+a));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},23913:(e,t,r)=>{"use strict";var n=r(61480),i=r(71765),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.hp=l,t.IS=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|m(e,t),n=s(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(H(e,Uint8Array)){var t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer))return f(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(H(e,SharedArrayBuffer)||e&&H(e.buffer,SharedArrayBuffer)))return f(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return l.from(n,t,r);var i=function(e){if(l.isBuffer(e)){var t=0|p(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||V(e.length)?s(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),s(e<0?0:0|p(e))}function h(e){for(var t=e.length<0?0:0|p(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function f(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,l.prototype),n}function p(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(e).length;default:if(i)return n?-1:N(e).length;t=(""+t).toLowerCase(),i=!0}}function b(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,r);case"utf8":case"utf-8":return C(this,t,r);case"ascii":return _(this,t,r);case"latin1":case"binary":return A(this,t,r);case"base64":return P(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),V(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=r;o<s;o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(c(e,o+h)!==c(t,h)){d=!1;break}if(d)return o}return-1}function w(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(V(s))return a;e[r+a]=s}return a}function E(e,t,r,n){return B(N(t,e.length-r),e,r,n)}function S(e,t,r,n){return B(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function x(e,t,r,n){return B(U(t),e,r,n)}function O(e,t,r,n){return B(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function P(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function C(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=r)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=d}return function(e){var t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=k));return r}(n)}l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,r){return c(e,t,r)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,r){return function(e,t,r){return u(e),e<=0?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)}(e,t,r)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),H(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=l.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(H(o,Uint8Array))i+o.length>n.length?l.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else{if(!l.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i)}i+=o.length}return n},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?C(this,0,e):b.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(e,t,r,n,i){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(n,i),u=e.slice(t,r),d=0;d<s;++d)if(c[d]!==u[d]){o=c[d],a=u[d];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return E(this,e,t,r);case"ascii":case"latin1":case"binary":return S(this,e,t,r);case"base64":return x(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function _(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function A(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function T(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=z[e[o]];return i}function j(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function I(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,r,n,i,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function M(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function R(e,t,r,n,o){return t=+t,r>>>=0,o||M(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function F(e,t,r,n,o){return t=+t,r>>>=0,o||M(e,0,r,8),i.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,l.prototype),n},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||I(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||I(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||I(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||I(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||I(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||I(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||D(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||D(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);D(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);D(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,r){return R(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return R(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return F(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return F(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=l.isBuffer(e)?e:l.from(e,n),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var L=/[^+/0-9A-Za-z-_]/g;function N(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function U(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function B(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function H(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function V(e){return e!=e}var z=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},6224:e=>{"use strict";var t="%[a-f0-9]{2}",r=new RegExp("("+t+")|([^%]+?)","gi"),n=new RegExp("("+t+")+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],i(r),i(n))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r)||[],n=1;n<t.length;n++)t=(e=i(t,n).join("")).match(r)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=n.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){var i=o(r[0]);i!==r[0]&&(t[r[0]]=i)}r=n.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var l=a[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},57825:e=>{"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}m(e,t,o,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&m(e,"error",t,{once:!0})}(e,i)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,r,n){var i,o,a,c;if(s(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]),void 0===a)a=o[t]=r,++e._eventsCount;else if("function"==typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=l(e))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=u.bind(n);return i.listener=r,n.wrapFn=i,i}function h(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):p(i,i.length)}function f(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function p(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function m(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){n.once&&e.removeEventListener(t,i),r(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else{var c=l.length,u=p(l,c);for(r=0;r<c;++r)n(u[r],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,i,o,a;if(s(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},o.prototype.listenerCount=f,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},8276:e=>{"use strict";e.exports="object"==typeof self?self.FormData:window.FormData},57160:(e,t,r)=>{"use strict";var n=r(52305),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=f(r);i&&i!==p&&e(t,i,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),b=0;b<a.length;++b){var g=a[b];if(!(o[g]||n&&n[g]||m&&m[g]||s&&s[g])){var y=h(r,g);try{c(t,g,y)}catch(e){}}}}return t}},71765:(e,t)=>{t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,c=l>>1,u=-7,d=r?i-1:0,h=r?-1:1,f=e[t+d];for(d+=h,o=f&(1<<-u)-1,f>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=h,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=n;u>0;a=256*a+e[t+d],d+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),o-=c}return(f?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+f]=255&s,f+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[r+f]=255&a,f+=p,a/=256,c-=8);e[r+f-p]|=128*m}},5026:(module,exports,__webpack_require__)=>{var __WEBPACK_AMD_DEFINE_RESULT__;(function(){"use strict";var root="object"==typeof window?window:{},NODE_JS=!root.JS_SHA1_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS&&(root=__webpack_require__.g);var COMMON_JS=!root.JS_SHA1_NO_COMMON_JS&&module.exports,AMD=__webpack_require__.amdO,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[],createOutputMethod=function(e){return function(t){return new Sha1(!0).update(t)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.create=function(){return new Sha1},e.update=function(t){return e.create().update(t)};for(var t=0;t<OUTPUT_TYPES.length;++t){var r=OUTPUT_TYPES[t];e[r]=createOutputMethod(r)}return e},nodeWrap=function(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if("string"==typeof e)return crypto.createHash("sha1").update(e,"utf8").digest("hex");if(e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(void 0===e.length)return method(e);return crypto.createHash("sha1").update(new Buffer(e)).digest("hex")};return nodeMethod};function Sha1(e){e?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Sha1.prototype.update=function(e){if(!this.finalized){var t="string"!=typeof e;t&&e.constructor===root.ArrayBuffer&&(e=new Uint8Array(e));for(var r,n,i=0,o=e.length||0,a=this.blocks;i<o;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),t)for(n=this.start;i<o&&n<64;++i)a[n>>2]|=e[i]<<SHIFT[3&n++];else for(n=this.start;i<o&&n<64;++i)(r=e.charCodeAt(i))<128?a[n>>2]|=r<<SHIFT[3&n++]:r<2048?(a[n>>2]|=(192|r>>6)<<SHIFT[3&n++],a[n>>2]|=(128|63&r)<<SHIFT[3&n++]):r<55296||r>=57344?(a[n>>2]|=(224|r>>12)<<SHIFT[3&n++],a[n>>2]|=(128|r>>6&63)<<SHIFT[3&n++],a[n>>2]|=(128|63&r)<<SHIFT[3&n++]):(r=65536+((1023&r)<<10|1023&e.charCodeAt(++i)),a[n>>2]|=(240|r>>18)<<SHIFT[3&n++],a[n>>2]|=(128|r>>12&63)<<SHIFT[3&n++],a[n>>2]|=(128|r>>6&63)<<SHIFT[3&n++],a[n>>2]|=(128|63&r)<<SHIFT[3&n++]);this.lastByteIndex=n,this.bytes+=n-this.start,n>=64?(this.block=a[16],this.start=n-64,this.hash(),this.hashed=!0):this.start=n}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this}},Sha1.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha1.prototype.hash=function(){var e,t,r=this.h0,n=this.h1,i=this.h2,o=this.h3,a=this.h4,s=this.blocks;for(e=16;e<80;++e)t=s[e-3]^s[e-8]^s[e-14]^s[e-16],s[e]=t<<1|t>>>31;for(e=0;e<20;e+=5)r=(t=(n=(t=(i=(t=(o=(t=(a=(t=r<<5|r>>>27)+(n&i|~n&o)+a+1518500249+s[e]|0)<<5|a>>>27)+(r&(n=n<<30|n>>>2)|~r&i)+o+1518500249+s[e+1]|0)<<5|o>>>27)+(a&(r=r<<30|r>>>2)|~a&n)+i+1518500249+s[e+2]|0)<<5|i>>>27)+(o&(a=a<<30|a>>>2)|~o&r)+n+1518500249+s[e+3]|0)<<5|n>>>27)+(i&(o=o<<30|o>>>2)|~i&a)+r+1518500249+s[e+4]|0,i=i<<30|i>>>2;for(;e<40;e+=5)r=(t=(n=(t=(i=(t=(o=(t=(a=(t=r<<5|r>>>27)+(n^i^o)+a+1859775393+s[e]|0)<<5|a>>>27)+(r^(n=n<<30|n>>>2)^i)+o+1859775393+s[e+1]|0)<<5|o>>>27)+(a^(r=r<<30|r>>>2)^n)+i+1859775393+s[e+2]|0)<<5|i>>>27)+(o^(a=a<<30|a>>>2)^r)+n+1859775393+s[e+3]|0)<<5|n>>>27)+(i^(o=o<<30|o>>>2)^a)+r+1859775393+s[e+4]|0,i=i<<30|i>>>2;for(;e<60;e+=5)r=(t=(n=(t=(i=(t=(o=(t=(a=(t=r<<5|r>>>27)+(n&i|n&o|i&o)+a-1894007588+s[e]|0)<<5|a>>>27)+(r&(n=n<<30|n>>>2)|r&i|n&i)+o-1894007588+s[e+1]|0)<<5|o>>>27)+(a&(r=r<<30|r>>>2)|a&n|r&n)+i-1894007588+s[e+2]|0)<<5|i>>>27)+(o&(a=a<<30|a>>>2)|o&r|a&r)+n-1894007588+s[e+3]|0)<<5|n>>>27)+(i&(o=o<<30|o>>>2)|i&a|o&a)+r-1894007588+s[e+4]|0,i=i<<30|i>>>2;for(;e<80;e+=5)r=(t=(n=(t=(i=(t=(o=(t=(a=(t=r<<5|r>>>27)+(n^i^o)+a-899497514+s[e]|0)<<5|a>>>27)+(r^(n=n<<30|n>>>2)^i)+o-899497514+s[e+1]|0)<<5|o>>>27)+(a^(r=r<<30|r>>>2)^n)+i-899497514+s[e+2]|0)<<5|i>>>27)+(o^(a=a<<30|a>>>2)^r)+n-899497514+s[e+3]|0)<<5|n>>>27)+(i^(o=o<<30|o>>>2)^a)+r-899497514+s[e+4]|0,i=i<<30|i>>>2;this.h0=this.h0+r|0,this.h1=this.h1+n|0,this.h2=this.h2+i|0,this.h3=this.h3+o|0,this.h4=this.h4+a|0},Sha1.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3,i=this.h4;return HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]},Sha1.prototype.toString=Sha1.prototype.hex,Sha1.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3,i=this.h4;return[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,r>>24&255,r>>16&255,r>>8&255,255&r,n>>24&255,n>>16&255,n>>8&255,255&n,i>>24&255,i>>16&255,i>>8&255,255&i]},Sha1.prototype.array=Sha1.prototype.digest,Sha1.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(20),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),e};var exports=createMethod();COMMON_JS?module.exports=exports:(root.sha1=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()},84708:function(e,t,r){var n;!function(i){var o={starts_with_slashes:/^\/+/,ends_with_slashes:/\/+$/,pluses:/\+/g,query_separator:/[&;]/,uri_parser:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*)(?::([^:@]*))?)?@)?(\[[0-9a-fA-F:.]+\]|[^:\/?#]*)(?::(\d+|(?=:)))?(:)?)((((?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/};function a(e){return e&&(e=e.toString().replace(o.pluses,"%20"),e=decodeURIComponent(e)),e}function s(e){var t,r,n,i,s,l,c,u=[];if(null==e||""===e)return u;for(0===e.indexOf("?")&&(e=e.substring(1)),t=0,c=(r=e.toString().split(o.query_separator)).length;t<c;t++)0!==(i=(n=r[t]).indexOf("="))&&(s=a(n.substring(0,i)),l=a(n.substring(i+1)),u.push(-1===i?[n,null]:[s,l]));return u}function l(e){this.uriParts=function(e){var t=o.uri_parser.exec(e||""),r={};return["source","protocol","authority","userInfo","user","password","host","port","isColonUri","relative","path","directory","file","query","anchor"].forEach((function(e,n){r[e]=t[n]||""})),r}(e),this.queryPairs=s(this.uriParts.query),this.hasAuthorityPrefixUserPref=null}Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var r,n;if(null==this)throw new TypeError(" this is null or not defined");var i=Object(this),o=i.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(r=t),n=0;n<o;){var a;n in i&&(a=i[n],e.call(r,a,n,i)),n++}}),["protocol","userInfo","host","port","path","anchor"].forEach((function(e){l.prototype[e]=function(t){return void 0!==t&&(this.uriParts[e]=t),this.uriParts[e]}})),l.prototype.hasAuthorityPrefix=function(e){return void 0!==e&&(this.hasAuthorityPrefixUserPref=e),null===this.hasAuthorityPrefixUserPref?-1!==this.uriParts.source.indexOf("//"):this.hasAuthorityPrefixUserPref},l.prototype.isColonUri=function(e){if(void 0===e)return!!this.uriParts.isColonUri;this.uriParts.isColonUri=!!e},l.prototype.query=function(e){var t,r,n,i="";for(void 0!==e&&(this.queryPairs=s(e)),t=0,n=this.queryPairs.length;t<n;t++)r=this.queryPairs[t],i.length>0&&(i+="&"),null===r[1]?i+=r[0]:(i+=r[0],i+="=",void 0!==r[1]&&(i+=encodeURIComponent(r[1])));return i.length>0?"?"+i:i},l.prototype.getQueryParamValue=function(e){var t,r,n;for(r=0,n=this.queryPairs.length;r<n;r++)if(e===(t=this.queryPairs[r])[0])return t[1]},l.prototype.getQueryParamValues=function(e){var t,r,n,i=[];for(t=0,n=this.queryPairs.length;t<n;t++)e===(r=this.queryPairs[t])[0]&&i.push(r[1]);return i},l.prototype.deleteQueryParam=function(e,t){var r,n,i,o,s,l=[];for(r=0,s=this.queryPairs.length;r<s;r++)i=a((n=this.queryPairs[r])[0])===a(e),o=n[1]===t,(1!==arguments.length||i)&&(2!==arguments.length||i&&o)||l.push(n);return this.queryPairs=l,this},l.prototype.addQueryParam=function(e,t,r){return 3===arguments.length&&-1!==r?(r=Math.min(r,this.queryPairs.length),this.queryPairs.splice(r,0,[e,t])):arguments.length>0&&this.queryPairs.push([e,t]),this},l.prototype.hasQueryParam=function(e){var t,r=this.queryPairs.length;for(t=0;t<r;t++)if(this.queryPairs[t][0]==e)return!0;return!1},l.prototype.replaceQueryParam=function(e,t,r){var n,i,o=-1,s=this.queryPairs.length;if(3===arguments.length){for(n=0;n<s;n++)if(a((i=this.queryPairs[n])[0])===a(e)&&decodeURIComponent(i[1])===a(r)){o=n;break}o>=0&&this.deleteQueryParam(e,a(r)).addQueryParam(e,t,o)}else{for(n=0;n<s;n++)if(a((i=this.queryPairs[n])[0])===a(e)){o=n;break}this.deleteQueryParam(e),this.addQueryParam(e,t,o)}return this},["protocol","hasAuthorityPrefix","isColonUri","userInfo","host","port","path","query","anchor"].forEach((function(e){var t="set"+e.charAt(0).toUpperCase()+e.slice(1);l.prototype[t]=function(t){return this[e](t),this}})),l.prototype.scheme=function(){var e="";return this.protocol()?(e+=this.protocol(),this.protocol().indexOf(":")!==this.protocol().length-1&&(e+=":"),e+="//"):this.hasAuthorityPrefix()&&this.host()&&(e+="//"),e},l.prototype.origin=function(){var e=this.scheme();return this.userInfo()&&this.host()&&(e+=this.userInfo(),this.userInfo().indexOf("@")!==this.userInfo().length-1&&(e+="@")),this.host()&&(e+=this.host(),(this.port()||this.path()&&this.path().substr(0,1).match(/[0-9]/))&&(e+=":"+this.port())),e},l.prototype.addTrailingSlash=function(){var e=this.path()||"";return"/"!==e.substr(-1)&&this.path(e+"/"),this},l.prototype.toString=function(){var e,t=this.origin();return this.isColonUri()?this.path()&&(t+=":"+this.path()):this.path()?(e=this.path(),o.ends_with_slashes.test(t)||o.starts_with_slashes.test(e)?(t&&t.replace(o.ends_with_slashes,"/"),e=e.replace(o.starts_with_slashes,"/")):t+="/",t+=e):this.host()&&(this.query().toString()||this.anchor())&&(t+="/"),this.query().toString()&&(t+=this.query().toString()),this.anchor()&&(0!==this.anchor().indexOf("#")&&(t+="#"),t+=this.anchor()),t},l.prototype.clone=function(){return new l(this.toString())},void 0===(n=function(){return l}.call(t,r,t,e))||(e.exports=n)}()},9438:(e,t,r)=>{var n=r(5264)(r(75619),"DataView");e.exports=n},22139:(e,t,r)=>{var n=r(45850),i=r(56988),o=r(71631),a=r(27699),s=r(76491);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},11649:(e,t,r)=>{var n=r(28924),i=r(48122),o=r(31381),a=r(14489),s=r(48721);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},56285:(e,t,r)=>{var n=r(5264)(r(75619),"Map");e.exports=n},22583:(e,t,r)=>{var n=r(40126),i=r(85464),o=r(45755),a=r(12343),s=r(55071);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},86974:(e,t,r)=>{var n=r(5264)(r(75619),"Promise");e.exports=n},75867:(e,t,r)=>{var n=r(5264)(r(75619),"Set");e.exports=n},77737:(e,t,r)=>{var n=r(22583),i=r(98694),o=r(12929);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},66787:(e,t,r)=>{var n=r(11649),i=r(73634),o=r(91636),a=r(19719),s=r(98971),l=r(89987);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},75799:(e,t,r)=>{var n=r(75619).Symbol;e.exports=n},86882:(e,t,r)=>{var n=r(75619).Uint8Array;e.exports=n},53173:(e,t,r)=>{var n=r(5264)(r(75619),"WeakMap");e.exports=n},44375:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},25047:e=>{e.exports=function(e,t,r,n){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(n,a,r(a),e)}return n}},7515:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},18472:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}},2983:(e,t,r)=>{var n=r(73989);e.exports=function(e,t){return!(null==e||!e.length)&&n(e,t,0)>-1}},40831:e=>{e.exports=function(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}},74113:(e,t,r)=>{var n=r(41458),i=r(24254),o=r(37603),a=r(23470),s=r(68327),l=r(24373),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),u=!r&&i(e),d=!r&&!u&&a(e),h=!r&&!u&&!d&&l(e),f=r||u||d||h,p=f?n(e.length,String):[],m=p.length;for(var b in e)!t&&!c.call(e,b)||f&&("length"==b||d&&("offset"==b||"parent"==b)||h&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,m))||p.push(b);return p}},22654:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},81026:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},70104:e=>{e.exports=function(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}},48574:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},25983:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},43379:(e,t,r)=>{var n=r(52162),i=r(91114);e.exports=function(e,t,r){(void 0!==r&&!i(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}},40581:(e,t,r)=>{var n=r(52162),i=r(91114),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];o.call(e,t)&&i(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},98639:(e,t,r)=>{var n=r(91114);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},75247:(e,t,r)=>{var n=r(17715);e.exports=function(e,t,r,i){return n(e,(function(e,n,o){t(i,e,r(e),o)})),i}},96239:(e,t,r)=>{var n=r(96945),i=r(45e3);e.exports=function(e,t){return e&&n(t,i(t),e)}},51412:(e,t,r)=>{var n=r(96945),i=r(83735);e.exports=function(e,t){return e&&n(t,i(t),e)}},52162:(e,t,r)=>{var n=r(72097);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},71649:(e,t,r)=>{var n=r(66787),i=r(7515),o=r(40581),a=r(96239),s=r(51412),l=r(71204),c=r(57861),u=r(47605),d=r(97478),h=r(23280),f=r(65279),p=r(42711),m=r(14503),b=r(9961),g=r(42631),y=r(37603),v=r(23470),w=r(31204),E=r(3715),S=r(13558),x=r(45e3),O=r(83735),P="[object Arguments]",C="[object Function]",k="[object Object]",_={};_[P]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_[k]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_[C]=_["[object WeakMap]"]=!1,e.exports=function e(t,r,A,T,j,I){var D,M=1&r,R=2&r,F=4&r;if(A&&(D=j?A(t,T,j,I):A(t)),void 0!==D)return D;if(!E(t))return t;var L=y(t);if(L){if(D=m(t),!M)return c(t,D)}else{var N=p(t),U=N==C||"[object GeneratorFunction]"==N;if(v(t))return l(t,M);if(N==k||N==P||U&&!j){if(D=R||U?{}:g(t),!M)return R?d(t,s(D,t)):u(t,a(D,t))}else{if(!_[N])return j?t:{};D=b(t,N,M)}}I||(I=new n);var B=I.get(t);if(B)return B;I.set(t,D),S(t)?t.forEach((function(n){D.add(e(n,r,A,n,t,I))})):w(t)&&t.forEach((function(n,i){D.set(i,e(n,r,A,i,t,I))}));var H=L?void 0:(F?R?f:h:R?O:x)(t);return i(H||t,(function(n,i){H&&(n=t[i=n]),o(D,i,e(n,r,A,i,t,I))})),D}},90938:(e,t,r)=>{var n=r(3715),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},17715:(e,t,r)=>{var n=r(72747),i=r(56559)(n);e.exports=i},36624:(e,t,r)=>{var n=r(17715);e.exports=function(e,t){var r=[];return n(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}},17621:e=>{e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},18142:(e,t,r)=>{var n=r(81026),i=r(46609);e.exports=function e(t,r,o,a,s){var l=-1,c=t.length;for(o||(o=i),s||(s=[]);++l<c;){var u=t[l];r>0&&o(u)?r>1?e(u,r-1,o,a,s):n(s,u):a||(s[s.length]=u)}return s}},6043:(e,t,r)=>{var n=r(68119)();e.exports=n},72747:(e,t,r)=>{var n=r(6043),i=r(45e3);e.exports=function(e,t){return e&&n(e,t,i)}},99216:(e,t,r)=>{var n=r(62323),i=r(60299);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},51141:(e,t,r)=>{var n=r(81026),i=r(37603);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},33754:(e,t,r)=>{var n=r(75799),i=r(36969),o=r(11916),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},38868:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e,r){return null!=e&&t.call(e,r)}},6011:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},73989:(e,t,r)=>{var n=r(17621),i=r(5641),o=r(5749);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},59720:(e,t,r)=>{var n=r(33754),i=r(34140);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},16504:(e,t,r)=>{var n=r(59446),i=r(34140);e.exports=function e(t,r,o,a,s){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,a,e,s))}},59446:(e,t,r)=>{var n=r(66787),i=r(73777),o=r(12948),a=r(8183),s=r(42711),l=r(37603),c=r(23470),u=r(24373),d="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,m,b,g){var y=l(e),v=l(t),w=y?h:s(e),E=v?h:s(t),S=(w=w==d?f:w)==f,x=(E=E==d?f:E)==f,O=w==E;if(O&&c(e)){if(!c(t))return!1;y=!0,S=!1}if(O&&!S)return g||(g=new n),y||u(e)?i(e,t,r,m,b,g):o(e,t,w,r,m,b,g);if(!(1&r)){var P=S&&p.call(e,"__wrapped__"),C=x&&p.call(t,"__wrapped__");if(P||C){var k=P?e.value():e,_=C?t.value():t;return g||(g=new n),b(k,_,r,m,g)}}return!!O&&(g||(g=new n),a(e,t,r,m,b,g))}},70422:(e,t,r)=>{var n=r(42711),i=r(34140);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},45997:(e,t,r)=>{var n=r(66787),i=r(16504);e.exports=function(e,t,r,o){var a=r.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var c=r[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=r[a])[0],d=e[u],h=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var f=new n;if(o)var p=o(d,h,u,e,t,f);if(!(void 0===p?i(h,d,3,o,f):p))return!1}}return!0}},5641:e=>{e.exports=function(e){return e!=e}},12185:(e,t,r)=>{var n=r(51028),i=r(33014),o=r(3715),a=r(10839),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,h=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?h:s).test(a(e))}},12068:(e,t,r)=>{var n=r(42711),i=r(34140);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},42875:(e,t,r)=>{var n=r(33754),i=r(25404),o=r(34140),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[n(e)]}},9019:(e,t,r)=>{var n=r(74389),i=r(85548),o=r(97286),a=r(37603),s=r(45877);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):n(e):s(e)}},27914:(e,t,r)=>{var n=r(50469),i=r(64756),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},28141:(e,t,r)=>{var n=r(3715),i=r(50469),o=r(83163),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=i(e),r=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&r.push(s);return r}},36550:(e,t,r)=>{var n=r(17715),i=r(52284);e.exports=function(e,t){var r=-1,o=i(e)?Array(e.length):[];return n(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}},74389:(e,t,r)=>{var n=r(45997),i=r(43682),o=r(32903);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},85548:(e,t,r)=>{var n=r(16504),i=r(25358),o=r(22141),a=r(688),s=r(50422),l=r(32903),c=r(60299);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(r){var a=i(r,e);return void 0===a&&a===t?o(r,e):n(t,a,3)}}},59584:(e,t,r)=>{var n=r(66787),i=r(43379),o=r(6043),a=r(58686),s=r(3715),l=r(83735),c=r(47400);e.exports=function e(t,r,u,d,h){t!==r&&o(r,(function(o,l){if(h||(h=new n),s(o))a(t,r,l,u,e,d,h);else{var f=d?d(c(t,l),o,l+"",t,r,h):void 0;void 0===f&&(f=o),i(t,l,f)}}),l)}},58686:(e,t,r)=>{var n=r(43379),i=r(71204),o=r(90467),a=r(57861),s=r(42631),l=r(24254),c=r(37603),u=r(53739),d=r(23470),h=r(51028),f=r(3715),p=r(19961),m=r(24373),b=r(47400),g=r(43082);e.exports=function(e,t,r,y,v,w,E){var S=b(e,r),x=b(t,r),O=E.get(x);if(O)n(e,r,O);else{var P=w?w(S,x,r+"",e,t,E):void 0,C=void 0===P;if(C){var k=c(x),_=!k&&d(x),A=!k&&!_&&m(x);P=x,k||_||A?c(S)?P=S:u(S)?P=a(S):_?(C=!1,P=i(x,!0)):A?(C=!1,P=o(x,!0)):P=[]:p(x)||l(x)?(P=S,l(S)?P=g(S):f(S)&&!h(S)||(P=s(x))):C=!1}C&&(E.set(x,P),v(P,x,y,w,E),E.delete(x)),n(e,r,P)}}},29683:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},19677:(e,t,r)=>{var n=r(99216);e.exports=function(e){return function(t){return n(t,e)}}},35022:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},84016:(e,t,r)=>{var n=r(97286),i=r(7539),o=r(81239);e.exports=function(e,t){return o(i(e,t,n),e+"")}},42612:(e,t,r)=>{var n=r(40581),i=r(62323),o=r(68327),a=r(3715),s=r(60299);e.exports=function(e,t,r,l){if(!a(e))return e;for(var c=-1,u=(t=i(t,e)).length,d=u-1,h=e;null!=h&&++c<u;){var f=s(t[c]),p=r;if("__proto__"===f||"constructor"===f||"prototype"===f)return e;if(c!=d){var m=h[f];void 0===(p=l?l(m,f,h):void 0)&&(p=a(m)?m:o(t[c+1])?[]:{})}n(h,f,p),h=h[f]}return e}},60280:(e,t,r)=>{var n=r(18620),i=r(72097),o=r(97286),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;e.exports=a},82982:e=>{e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}},41458:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},12258:(e,t,r)=>{var n=r(75799),i=r(22654),o=r(37603),a=r(9924),s=n?n.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},17406:(e,t,r)=>{var n=r(45362),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},45083:e=>{e.exports=function(e){return function(t){return e(t)}}},82067:(e,t,r)=>{var n=r(77737),i=r(2983),o=r(40831),a=r(625),s=r(70831),l=r(28737);e.exports=function(e,t,r){var c=-1,u=i,d=e.length,h=!0,f=[],p=f;if(r)h=!1,u=o;else if(d>=200){var m=t?null:s(e);if(m)return l(m);h=!1,u=a,p=new n}else p=t?[]:f;e:for(;++c<d;){var b=e[c],g=t?t(b):b;if(b=r||0!==b?b:0,h&&g==g){for(var y=p.length;y--;)if(p[y]===g)continue e;t&&p.push(g),f.push(b)}else u(p,g,r)||(p!==f&&p.push(g),f.push(b))}return f}},2937:(e,t,r)=>{var n=r(62323),i=r(85272),o=r(75019),a=r(60299);e.exports=function(e,t){return t=n(t,e),null==(e=o(e,t))||delete e[a(i(t))]}},73292:(e,t,r)=>{var n=r(22654);e.exports=function(e,t){return n(t,(function(t){return e[t]}))}},625:e=>{e.exports=function(e,t){return e.has(t)}},62323:(e,t,r)=>{var n=r(37603),i=r(688),o=r(16648),a=r(96004);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(a(e))}},86451:(e,t,r)=>{var n=r(86882);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},71204:(e,t,r)=>{e=r.nmd(e);var n=r(75619),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}},99915:(e,t,r)=>{var n=r(86451);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},90923:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},61310:(e,t,r)=>{var n=r(75799),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},90467:(e,t,r)=>{var n=r(86451);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},57861:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},96945:(e,t,r)=>{var n=r(40581),i=r(52162);e.exports=function(e,t,r,o){var a=!r;r||(r={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=o?o(r[c],e[c],c,r,e):void 0;void 0===u&&(u=e[c]),a?i(r,c,u):n(r,c,u)}return r}},47605:(e,t,r)=>{var n=r(96945),i=r(83270);e.exports=function(e,t){return n(e,i(e),t)}},97478:(e,t,r)=>{var n=r(96945),i=r(48145);e.exports=function(e,t){return n(e,i(e),t)}},80591:(e,t,r)=>{var n=r(75619)["__core-js_shared__"];e.exports=n},97050:(e,t,r)=>{var n=r(25047),i=r(75247),o=r(9019),a=r(37603);e.exports=function(e,t){return function(r,s){var l=a(r)?n:i,c=t?t():{};return l(r,e,o(s,2),c)}}},12317:(e,t,r)=>{var n=r(84016),i=r(14494);e.exports=function(e){return n((function(t,r){var n=-1,o=r.length,a=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(r[0],r[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++n<o;){var l=r[n];l&&e(t,l,n,a)}return t}))}},56559:(e,t,r)=>{var n=r(52284);e.exports=function(e,t){return function(r,i){if(null==r)return r;if(!n(r))return e(r,i);for(var o=r.length,a=t?o:-1,s=Object(r);(t?a--:++a<o)&&!1!==i(s[a],a,s););return r}}},68119:e=>{e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===r(o[l],l,o))break}return t}}},78073:(e,t,r)=>{var n=r(70104),i=r(70794),o=r(43243),a=RegExp("['’]","g");e.exports=function(e){return function(t){return n(o(i(t).replace(a,"")),e,"")}}},70831:(e,t,r)=>{var n=r(75867),i=r(18564),o=r(28737),a=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:i;e.exports=a},77292:(e,t,r)=>{var n=r(19961);e.exports=function(e){return n(e)?void 0:e}},46177:(e,t,r)=>{var n=r(35022)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});e.exports=n},72097:(e,t,r)=>{var n=r(5264),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},73777:(e,t,r)=>{var n=r(77737),i=r(48574),o=r(625);e.exports=function(e,t,r,a,s,l){var c=1&r,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var h=l.get(e),f=l.get(t);if(h&&f)return h==t&&f==e;var p=-1,m=!0,b=2&r?new n:void 0;for(l.set(e,t),l.set(t,e);++p<u;){var g=e[p],y=t[p];if(a)var v=c?a(y,g,p,t,e,l):a(g,y,p,e,t,l);if(void 0!==v){if(v)continue;m=!1;break}if(b){if(!i(t,(function(e,t){if(!o(b,t)&&(g===e||s(g,e,r,a,l)))return b.push(t)}))){m=!1;break}}else if(g!==y&&!s(g,y,r,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},12948:(e,t,r)=>{var n=r(75799),i=r(86882),o=r(91114),a=r(73777),s=r(29099),l=r(28737),c=n?n.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,d,h){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var p=1&n;if(f||(f=l),e.size!=t.size&&!p)return!1;var m=h.get(e);if(m)return m==t;n|=2,h.set(e,t);var b=a(f(e),f(t),n,c,d,h);return h.delete(e),b;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},8183:(e,t,r)=>{var n=r(23280),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,a,s){var l=1&r,c=n(e),u=c.length;if(u!=n(t).length&&!l)return!1;for(var d=u;d--;){var h=c[d];if(!(l?h in t:i.call(t,h)))return!1}var f=s.get(e),p=s.get(t);if(f&&p)return f==t&&p==e;var m=!0;s.set(e,t),s.set(t,e);for(var b=l;++d<u;){var g=e[h=c[d]],y=t[h];if(o)var v=l?o(y,g,h,t,e,s):o(g,y,h,e,t,s);if(!(void 0===v?g===y||a(g,y,r,o,s):v)){m=!1;break}b||(b="constructor"==h)}if(m&&!b){var w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(m=!1)}return s.delete(e),s.delete(t),m}},63126:(e,t,r)=>{var n=r(11616),i=r(7539),o=r(81239);e.exports=function(e){return o(i(e,void 0,n),e+"")}},57326:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},23280:(e,t,r)=>{var n=r(51141),i=r(83270),o=r(45e3);e.exports=function(e){return n(e,o,i)}},65279:(e,t,r)=>{var n=r(51141),i=r(48145),o=r(83735);e.exports=function(e){return n(e,o,i)}},60113:(e,t,r)=>{var n=r(63492);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},43682:(e,t,r)=>{var n=r(50422),i=r(45e3);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],a=e[o];t[r]=[o,a,n(a)]}return t}},5264:(e,t,r)=>{var n=r(12185),i=r(28050);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},86065:(e,t,r)=>{var n=r(38233)(Object.getPrototypeOf,Object);e.exports=n},36969:(e,t,r)=>{var n=r(75799),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[s]=r:delete e[s]),i}},83270:(e,t,r)=>{var n=r(18472),i=r(94759),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},48145:(e,t,r)=>{var n=r(81026),i=r(86065),o=r(83270),a=r(94759),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:a;e.exports=s},42711:(e,t,r)=>{var n=r(9438),i=r(56285),o=r(86974),a=r(75867),s=r(53173),l=r(33754),c=r(10839),u="[object Map]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",m=c(n),b=c(i),g=c(o),y=c(a),v=c(s),w=l;(n&&w(new n(new ArrayBuffer(1)))!=p||i&&w(new i)!=u||o&&w(o.resolve())!=d||a&&w(new a)!=h||s&&w(new s)!=f)&&(w=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case m:return p;case b:return u;case g:return d;case y:return h;case v:return f}return t}),e.exports=w},28050:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},5256:(e,t,r)=>{var n=r(62323),i=r(24254),o=r(37603),a=r(68327),s=r(25404),l=r(60299);e.exports=function(e,t,r){for(var c=-1,u=(t=n(t,e)).length,d=!1;++c<u;){var h=l(t[c]);if(!(d=null!=e&&r(e,h)))break;e=e[h]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(h,u)&&(o(e)||i(e))}},51856:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},45850:(e,t,r)=>{var n=r(73180);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},56988:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},71631:(e,t,r)=>{var n=r(73180),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},27699:(e,t,r)=>{var n=r(73180),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},76491:(e,t,r)=>{var n=r(73180);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},14503:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},9961:(e,t,r)=>{var n=r(86451),i=r(99915),o=r(90923),a=r(61310),s=r(90467);e.exports=function(e,t,r){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return i(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,r);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},42631:(e,t,r)=>{var n=r(90938),i=r(86065),o=r(50469);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},46609:(e,t,r)=>{var n=r(75799),i=r(24254),o=r(37603),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},68327:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},14494:(e,t,r)=>{var n=r(91114),i=r(52284),o=r(68327),a=r(3715);e.exports=function(e,t,r){if(!a(r))return!1;var s=typeof t;return!!("number"==s?i(r)&&o(t,r.length):"string"==s&&t in r)&&n(r[t],e)}},688:(e,t,r)=>{var n=r(37603),i=r(9924),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},63492:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},33014:(e,t,r)=>{var n,i=r(80591),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o in e}},50469:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},50422:(e,t,r)=>{var n=r(3715);e.exports=function(e){return e==e&&!n(e)}},28924:e=>{e.exports=function(){this.__data__=[],this.size=0}},48122:(e,t,r)=>{var n=r(98639),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():i.call(t,r,1),--this.size,0))}},31381:(e,t,r)=>{var n=r(98639);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},14489:(e,t,r)=>{var n=r(98639);e.exports=function(e){return n(this.__data__,e)>-1}},48721:(e,t,r)=>{var n=r(98639);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},40126:(e,t,r)=>{var n=r(22139),i=r(11649),o=r(56285);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},85464:(e,t,r)=>{var n=r(60113);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},45755:(e,t,r)=>{var n=r(60113);e.exports=function(e){return n(this,e).get(e)}},12343:(e,t,r)=>{var n=r(60113);e.exports=function(e){return n(this,e).has(e)}},55071:(e,t,r)=>{var n=r(60113);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},29099:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},32903:e=>{e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},27722:(e,t,r)=>{var n=r(35446);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},73180:(e,t,r)=>{var n=r(5264)(Object,"create");e.exports=n},64756:(e,t,r)=>{var n=r(38233)(Object.keys,Object);e.exports=n},83163:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},4187:(e,t,r)=>{e=r.nmd(e);var n=r(57326),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&n.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},11916:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},38233:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},7539:(e,t,r)=>{var n=r(44375),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a<s;)l[a]=o[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=o[a];return c[t]=r(l),n(e,this,c)}}},75019:(e,t,r)=>{var n=r(99216),i=r(82982);e.exports=function(e,t){return t.length<2?e:n(e,i(t,0,-1))}},75619:(e,t,r)=>{var n=r(57326),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},47400:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},98694:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},12929:e=>{e.exports=function(e){return this.__data__.has(e)}},28737:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},81239:(e,t,r)=>{var n=r(60280),i=r(84909)(n);e.exports=i},84909:e=>{var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var i=t(),o=16-(i-n);if(n=i,o>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},73634:(e,t,r)=>{var n=r(11649);e.exports=function(){this.__data__=new n,this.size=0}},91636:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},19719:e=>{e.exports=function(e){return this.__data__.get(e)}},98971:e=>{e.exports=function(e){return this.__data__.has(e)}},89987:(e,t,r)=>{var n=r(11649),i=r(56285),o=r(22583);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(e,t),this.size=r.size,this}},5749:e=>{e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}},16648:(e,t,r)=>{var n=r(27722),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,r,n,i){t.push(n?i.replace(o,"$1"):r||e)})),t}));e.exports=a},60299:(e,t,r)=>{var n=r(9924);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},10839:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},45362:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},51095:e=>{var t="\\ud800-\\udfff",r="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+o+"]",s="\\d+",l="["+r+"]",c="["+n+"]",u="[^"+t+o+s+r+n+i+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",f="["+i+"]",p="(?:"+c+"|"+u+")",m="(?:"+f+"|"+u+")",b="(?:['’](?:d|ll|m|re|s|t|ve))?",g="(?:['’](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",v="[\\ufe0e\\ufe0f]?",w=v+y+"(?:\\u200d(?:"+["[^"+t+"]",d,h].join("|")+")"+v+y+")*",E="(?:"+[l,d,h].join("|")+")"+w,S=RegExp([f+"?"+c+"+"+b+"(?="+[a,f,"$"].join("|")+")",m+"+"+g+"(?="+[a,f+p,"$"].join("|")+")",f+"?"+p+"+"+b,f+"+"+g,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,E].join("|"),"g");e.exports=function(e){return e.match(S)||[]}},47217:(e,t,r)=>{var n=r(71649);e.exports=function(e){return n(e,5)}},18620:e=>{e.exports=function(e){return function(){return e}}},70794:(e,t,r)=>{var n=r(46177),i=r(96004),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,n).replace(a,"")}},91114:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},92558:(e,t,r)=>{var n=r(18472),i=r(36624),o=r(9019),a=r(37603);e.exports=function(e,t){return(a(e)?n:i)(e,o(t,3))}},58965:(e,t,r)=>{var n=r(18142),i=r(39832);e.exports=function(e,t){return n(i(e,t),1)}},11616:(e,t,r)=>{var n=r(18142);e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},25358:(e,t,r)=>{var n=r(99216);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},75322:(e,t,r)=>{var n=r(38868),i=r(5256);e.exports=function(e,t){return null!=e&&i(e,t,n)}},22141:(e,t,r)=>{var n=r(6011),i=r(5256);e.exports=function(e,t){return null!=e&&i(e,t,n)}},97286:e=>{e.exports=function(e){return e}},69849:(e,t,r)=>{var n=r(73989),i=r(52284),o=r(67373),a=r(20263),s=r(5570),l=Math.max;e.exports=function(e,t,r,c){e=i(e)?e:s(e),r=r&&!c?a(r):0;var u=e.length;return r<0&&(r=l(u+r,0)),o(e)?r<=u&&e.indexOf(t,r)>-1:!!u&&n(e,t,r)>-1}},24254:(e,t,r)=>{var n=r(59720),i=r(34140),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},37603:e=>{var t=Array.isArray;e.exports=t},52284:(e,t,r)=>{var n=r(51028),i=r(25404);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},53739:(e,t,r)=>{var n=r(52284),i=r(34140);e.exports=function(e){return i(e)&&n(e)}},23470:(e,t,r)=>{e=r.nmd(e);var n=r(75619),i=r(55597),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l},87579:(e,t,r)=>{var n=r(27914),i=r(42711),o=r(24254),a=r(37603),s=r(52284),l=r(23470),c=r(50469),u=r(24373),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||o(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!n(e).length;for(var r in e)if(d.call(e,r))return!1;return!0}},51028:(e,t,r)=>{var n=r(33754),i=r(3715);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},25404:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},31204:(e,t,r)=>{var n=r(70422),i=r(45083),o=r(4187),a=o&&o.isMap,s=a?i(a):n;e.exports=s},76519:(e,t,r)=>{var n=r(91553);e.exports=function(e){return n(e)&&e!=+e}},91553:(e,t,r)=>{var n=r(33754),i=r(34140);e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==n(e)}},3715:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},34140:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},19961:(e,t,r)=>{var n=r(33754),i=r(86065),o=r(34140),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==u}},13558:(e,t,r)=>{var n=r(12068),i=r(45083),o=r(4187),a=o&&o.isSet,s=a?i(a):n;e.exports=s},67373:(e,t,r)=>{var n=r(33754),i=r(37603),o=r(34140);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==n(e)}},9924:(e,t,r)=>{var n=r(33754),i=r(34140);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},24373:(e,t,r)=>{var n=r(42875),i=r(45083),o=r(4187),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},79464:(e,t,r)=>{var n=r(52162),i=r(97050)((function(e,t,r){n(e,r,t)}));e.exports=i},45e3:(e,t,r)=>{var n=r(74113),i=r(27914),o=r(52284);e.exports=function(e){return o(e)?n(e):i(e)}},83735:(e,t,r)=>{var n=r(74113),i=r(28141),o=r(52284);e.exports=function(e){return o(e)?n(e,!0):i(e)}},85272:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},59315:(e,t,r)=>{var n=r(78073)((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));e.exports=n},39832:(e,t,r)=>{var n=r(22654),i=r(9019),o=r(36550),a=r(37603);e.exports=function(e,t){return(a(e)?n:o)(e,i(t,3))}},35446:(e,t,r)=>{var n=r(22583);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},19474:(e,t,r)=>{var n=r(59584),i=r(12317)((function(e,t,r){n(e,t,r)}));e.exports=i},18564:e=>{e.exports=function(){}},64633:(e,t,r)=>{var n=r(22654),i=r(71649),o=r(2937),a=r(62323),s=r(96945),l=r(77292),c=r(63126),u=r(65279),d=c((function(e,t){var r={};if(null==e)return r;var c=!1;t=n(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,u(e),r),c&&(r=i(r,7,l));for(var d=t.length;d--;)o(r,t[d]);return r}));e.exports=d},94012:(e,t,r)=>{var n=r(97050)((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));e.exports=n},45877:(e,t,r)=>{var n=r(29683),i=r(19677),o=r(688),a=r(60299);e.exports=function(e){return o(e)?n(a(e)):i(e)}},19170:(e,t,r)=>{var n=r(42612);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},94759:e=>{e.exports=function(){return[]}},55597:e=>{e.exports=function(){return!1}},95134:(e,t,r)=>{var n=r(41888),i=1/0;e.exports=function(e){return e?(e=n(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},20263:(e,t,r)=>{var n=r(95134);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},41888:(e,t,r)=>{var n=r(17406),i=r(3715),o=r(9924),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=s.test(e);return r||l.test(e)?c(e.slice(2),r?2:8):a.test(e)?NaN:+e}},43082:(e,t,r)=>{var n=r(96945),i=r(83735);e.exports=function(e){return n(e,i(e))}},96004:(e,t,r)=>{var n=r(12258);e.exports=function(e){return null==e?"":n(e)}},78949:(e,t,r)=>{var n=r(82067);e.exports=function(e){return e&&e.length?n(e):[]}},70406:(e,t,r)=>{var n=r(96004),i=0;e.exports=function(e){var t=++i;return n(e)+t}},5570:(e,t,r)=>{var n=r(73292),i=r(45e3);e.exports=function(e){return null==e?[]:n(e,i(e))}},43243:(e,t,r)=>{var n=r(25983),i=r(51856),o=r(96004),a=r(51095);e.exports=function(e,t,r){return e=o(e),void 0===(t=r?void 0:t)?i(e)?a(e):n(e):e.match(t)||[]}},17466:e=>{"use strict";function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},t.apply(null,arguments)}var r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},n=0;n<10;n++)r["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(t({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))n.call(o,c)&&(s[c]=o[c]);if(r){a=r(o);for(var u=0;u<a.length;u++)i.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s}},74836:(e,t,r)=>{"use strict";var n=r(25059);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},39970:(e,t,r)=>{e.exports=r(74836)()},25059:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},43165:(e,t,r)=>{"use strict";var n=r(12010),i=r(17466),o=r(6224);function a(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function s(e){return Array.isArray(e)?e.sort():"object"==typeof e?s(Object.keys(e)).sort((function(e,t){return Number(e)-Number(t)})).map((function(t){return e[t]})):e}function l(e){var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function c(e,t){var r=function(e){var t;switch(e.arrayFormat){case"index":return function(e,r,n){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return function(e,r,n){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};default:return function(e,t,r){void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t=i({arrayFormat:"none"},t)),n=Object.create(null);return"string"!=typeof e?n:(e=e.trim().replace(/^[?#&]/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),i=t.shift(),a=t.length>0?t.join("="):void 0;a=void 0===a?null:o(a),r(o(i),a,n)})),Object.keys(n).sort().reduce((function(e,t){var r=n[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=s(r):e[t]=r,e}),Object.create(null))):n}t.extract=l,t.parse=c,t.stringify=function(e,t){!1===(t=i({encode:!0,strict:!0,arrayFormat:"none"},t)).sort&&(t.sort=function(){});var r=function(e){switch(e.arrayFormat){case"index":return function(t,r,n){return null===r?[a(t,e),"[",n,"]"].join(""):[a(t,e),"[",a(n,e),"]=",a(r,e)].join("")};case"bracket":return function(t,r){return null===r?a(t,e):[a(t,e),"[]=",a(r,e)].join("")};default:return function(t,r){return null===r?a(t,e):[a(t,e),"=",a(r,e)].join("")}}}(t);return e?Object.keys(e).sort(t.sort).map((function(n){var i=e[n];if(void 0===i)return"";if(null===i)return a(n,t);if(Array.isArray(i)){var o=[];return i.slice().forEach((function(e){void 0!==e&&o.push(r(n,e,o.length))})),o.join("&")}return a(n,t)+"="+a(i,t)})).filter((function(e){return e.length>0})).join("&"):""},t.parseUrl=function(e,t){return{url:e.split("?")[0]||"",query:c(l(e),t)}}},50213:(e,t,r)=>{"use strict";var n=r(1986),i=r(40552);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},p={};function m(e,t,r,n,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){b[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];b[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){b[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){b[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){b[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){b[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){b[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){b[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){b[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function v(e,t,r,n){var i=b.hasOwnProperty(t)?b[t]:null;(null!==i?0!==i.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,i,n)&&(r=null),n||null===i?function(e){return!!d.call(p,e)||!d.call(f,e)&&(h.test(e)?p[e]=!0:(f[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=null===r?3!==i.type&&"":r:(t=i.attributeName,n=i.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(i=i.type)||4===i&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);b[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);b[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);b[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){b[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),b.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){b[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=Symbol.for("react.element"),S=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),k=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),I=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var D=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var M=Symbol.iterator;function R(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=M&&e[M]||e["@@iterator"])?e:null}var F,L=Object.assign;function N(e){if(void 0===F)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);F=t&&t[1]||""}return"\n"+F+e}var U=!1;function B(e,t){if(!e||U)return"";U=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=n.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{U=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?N(e):""}function H(e){switch(e.tag){case 5:return N(e.type);case 16:return N("Lazy");case 13:return N("Suspense");case 19:return N("SuspenseList");case 0:case 2:case 15:return B(e.type,!1);case 11:return B(e.type.render,!1);case 1:return B(e.type,!0);default:return""}}function V(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case S:return"Portal";case P:return"Profiler";case O:return"StrictMode";case A:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case k:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case _:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case j:return null!==(t=e.displayName||null)?t:V(e.type)||"Memo";case I:t=e._payload,e=e._init;try{return V(e(t))}catch(e){}}return null}function z(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(t);case 8:return t===O?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function $(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function W(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=q(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function Z(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var r=t.checked;return L({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function K(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=$(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function Y(e,t){Q(e,t);var r=$(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,r):t.hasOwnProperty("defaultValue")&&ee(e,t.type,$(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function ee(e,t,r){"number"===t&&Z(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var te=Array.isArray;function re(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+$(r),t=null,i=0;i<e.length;i++){if(e[i].value===r)return e[i].selected=!0,void(n&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return L({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(o(92));if(te(r)){if(1<r.length)throw Error(o(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:$(r)}}function oe(e,t){var r=$(t.value),n=$(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function he(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function me(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function be(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),i=me(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}Object.keys(fe).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ge=L({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function Ee(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,xe=null,Oe=null;function Pe(e){if(e=vi(e)){if("function"!=typeof Se)throw Error(o(280));var t=e.stateNode;t&&(t=Ei(t),Se(e.stateNode,e.type,t))}}function Ce(e){xe?Oe?Oe.push(e):Oe=[e]:xe=e}function ke(){if(xe){var e=xe,t=Oe;if(Oe=xe=null,Pe(e),t)for(e=0;e<t.length;e++)Pe(t[e])}}function _e(e,t){return e(t)}function Ae(){}var Te=!1;function je(e,t,r){if(Te)return e(t,r);Te=!0;try{return _e(e,t,r)}finally{Te=!1,(null!==xe||null!==Oe)&&(Ae(),ke())}}function Ie(e,t){var r=e.stateNode;if(null===r)return null;var n=Ei(r);if(null===n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(o(231,t,typeof r));return r}var De=!1;if(u)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){De=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(ue){De=!1}function Re(e,t,r,n,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(e){this.onError(e)}}var Fe=!1,Le=null,Ne=!1,Ue=null,Be={onError:function(e){Fe=!0,Le=e}};function He(e,t,r,n,i,o,a,s,l){Fe=!1,Le=null,Re.apply(Be,arguments)}function Ve(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function $e(e){if(Ve(e)!==e)throw Error(o(188))}function qe(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(o(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(n=i.return)){r=n;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return $e(i),e;if(a===n)return $e(i),t;a=a.sibling}throw Error(o(188))}if(r.return!==n.return)r=i,n=a;else{for(var s=!1,l=i.child;l;){if(l===r){s=!0,r=i,n=a;break}if(l===n){s=!0,n=i,r=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===r){s=!0,r=a,n=i;break}if(l===n){s=!0,n=a,r=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(r.alternate!==n)throw Error(o(190))}if(3!==r.tag)throw Error(o(188));return r.stateNode.current===r?e:t}(e))?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var We=i.unstable_scheduleCallback,Ze=i.unstable_cancelCallback,Xe=i.unstable_shouldYield,Ke=i.unstable_requestPaint,Qe=i.unstable_now,Ye=i.unstable_getCurrentPriorityLevel,Je=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,rt=i.unstable_LowPriority,nt=i.unstable_IdlePriority,it=null,ot=null,at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2,ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ht(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&r;if(0!==a){var s=a&~i;0!==s?n=dt(s):0!=(o&=a)&&(n=dt(o))}else 0!=(a=r&~i)?n=dt(a):0!==o&&(n=dt(o));if(0===n)return 0;if(0!==t&&t!==n&&!(t&i)&&((i=n&-n)>=(o=t&-t)||16===i&&4194240&o))return t;if(4&n&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)i=1<<(r=31-at(t)),n|=e[r],t&=~i;return n}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function bt(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function gt(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=r}function yt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-at(r),i=1<<n;i&t|e[n]&t&&(e[n]|=t),r&=~i}}var vt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Et,St,xt,Ot,Pt,Ct=!1,kt=[],_t=null,At=null,Tt=null,jt=new Map,It=new Map,Dt=[],Mt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Rt(e,t){switch(e){case"focusin":case"focusout":_t=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":jt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function Ft(e,t,r,n,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=vi(t))&&St(t),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Lt(e){var t=yi(e.target);if(null!==t){var r=Ve(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=ze(r)))return e.blockedOn=t,void Pt(e.priority,(function(){xt(r)}))}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function Nt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=vi(r))&&St(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);we=n,r.target.dispatchEvent(n),we=null,t.shift()}return!0}function Ut(e,t,r){Nt(e)&&r.delete(t)}function Bt(){Ct=!1,null!==_t&&Nt(_t)&&(_t=null),null!==At&&Nt(At)&&(At=null),null!==Tt&&Nt(Tt)&&(Tt=null),jt.forEach(Ut),It.forEach(Ut)}function Ht(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Bt)))}function Vt(e){function t(t){return Ht(t,e)}if(0<kt.length){Ht(kt[0],e);for(var r=1;r<kt.length;r++){var n=kt[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==_t&&Ht(_t,e),null!==At&&Ht(At,e),null!==Tt&&Ht(Tt,e),jt.forEach(t),It.forEach(t),r=0;r<Dt.length;r++)(n=Dt[r]).blockedOn===e&&(n.blockedOn=null);for(;0<Dt.length&&null===(r=Dt[0]).blockedOn;)Lt(r),null===r.blockedOn&&Dt.shift()}var zt=w.ReactCurrentBatchConfig,$t=!0;function qt(e,t,r,n){var i=vt,o=zt.transition;zt.transition=null;try{vt=1,Wt(e,t,r,n)}finally{vt=i,zt.transition=o}}function Gt(e,t,r,n){var i=vt,o=zt.transition;zt.transition=null;try{vt=4,Wt(e,t,r,n)}finally{vt=i,zt.transition=o}}function Wt(e,t,r,n){if($t){var i=Xt(e,t,r,n);if(null===i)$n(e,t,n,Zt,r),Rt(e,n);else if(function(e,t,r,n,i){switch(t){case"focusin":return _t=Ft(_t,e,t,r,n,i),!0;case"dragenter":return At=Ft(At,e,t,r,n,i),!0;case"mouseover":return Tt=Ft(Tt,e,t,r,n,i),!0;case"pointerover":var o=i.pointerId;return jt.set(o,Ft(jt.get(o)||null,e,t,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,It.set(o,Ft(It.get(o)||null,e,t,r,n,i)),!0}return!1}(i,e,t,r,n))n.stopPropagation();else if(Rt(e,n),4&t&&-1<Mt.indexOf(e)){for(;null!==i;){var o=vi(i);if(null!==o&&Et(o),null===(o=Xt(e,t,r,n))&&$n(e,t,n,Zt,r),o===i)break;i=o}null!==i&&n.stopPropagation()}else $n(e,t,n,null,r)}}var Zt=null;function Xt(e,t,r,n){if(Zt=null,null!==(e=yi(e=Ee(n))))if(null===(t=Ve(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=ze(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Zt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ye()){case Je:return 1;case et:return 4;case tt:case rt:return 16;case nt:return 536870912;default:return 16}default:return 16}}var Qt=null,Yt=null,Jt=null;function er(){if(Jt)return Jt;var e,t,r=Yt,n=r.length,i="value"in Qt?Qt.value:Qt.textContent,o=i.length;for(e=0;e<n&&r[e]===i[e];e++);var a=n-e;for(t=1;t<=a&&r[n-t]===i[o-t];t++);return Jt=i.slice(e,1<t?1-t:void 0)}function tr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rr(){return!0}function nr(){return!1}function ir(e){function t(t,r,n,i,o){for(var a in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?rr:nr,this.isPropagationStopped=nr,this}return L(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rr)},persist:function(){},isPersistent:rr}),t}var or,ar,sr,lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cr=ir(lr),ur=L({},lr,{view:0,detail:0}),dr=ir(ur),hr=L({},ur,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Or,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sr&&(sr&&"mousemove"===e.type?(or=e.screenX-sr.screenX,ar=e.screenY-sr.screenY):ar=or=0,sr=e),or)},movementY:function(e){return"movementY"in e?e.movementY:ar}}),fr=ir(hr),pr=ir(L({},hr,{dataTransfer:0})),mr=ir(L({},ur,{relatedTarget:0})),br=ir(L({},lr,{animationName:0,elapsedTime:0,pseudoElement:0})),gr=L({},lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yr=ir(gr),vr=ir(L({},lr,{data:0})),wr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Er={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sr[e])&&!!t[e]}function Or(){return xr}var Pr=L({},ur,{key:function(e){if(e.key){var t=wr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Er[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Or,charCode:function(e){return"keypress"===e.type?tr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cr=ir(Pr),kr=ir(L({},hr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),_r=ir(L({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Or})),Ar=ir(L({},lr,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tr=L({},hr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),jr=ir(Tr),Ir=[9,13,27,32],Dr=u&&"CompositionEvent"in window,Mr=null;u&&"documentMode"in document&&(Mr=document.documentMode);var Rr=u&&"TextEvent"in window&&!Mr,Fr=u&&(!Dr||Mr&&8<Mr&&11>=Mr),Lr=String.fromCharCode(32),Nr=!1;function Ur(e,t){switch(e){case"keyup":return-1!==Ir.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Br(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hr=!1,Vr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function zr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vr[e.type]:"textarea"===t}function $r(e,t,r,n){Ce(n),0<(t=Gn(t,"onChange")).length&&(r=new cr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var qr=null,Gr=null;function Wr(e){Nn(e,0)}function Zr(e){if(W(wi(e)))return e}function Xr(e,t){if("change"===e)return t}var Kr=!1;if(u){var Qr;if(u){var Yr="oninput"in document;if(!Yr){var Jr=document.createElement("div");Jr.setAttribute("oninput","return;"),Yr="function"==typeof Jr.oninput}Qr=Yr}else Qr=!1;Kr=Qr&&(!document.documentMode||9<document.documentMode)}function en(){qr&&(qr.detachEvent("onpropertychange",tn),Gr=qr=null)}function tn(e){if("value"===e.propertyName&&Zr(Gr)){var t=[];$r(t,Gr,e,Ee(e)),je(Wr,t)}}function rn(e,t,r){"focusin"===e?(en(),Gr=r,(qr=t).attachEvent("onpropertychange",tn)):"focusout"===e&&en()}function nn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Zr(Gr)}function on(e,t){if("click"===e)return Zr(t)}function an(e,t){if("input"===e||"change"===e)return Zr(t)}var sn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ln(e,t){if(sn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var i=r[n];if(!d.call(t,i)||!sn(e[i],t[i]))return!1}return!0}function cn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function un(e,t){var r,n=cn(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=cn(n)}}function dn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hn(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=Z((e=t.contentWindow).document)}return t}function fn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pn(e){var t=hn(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&dn(r.ownerDocument.documentElement,r)){if(null!==n&&fn(r))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=r.textContent.length,o=Math.min(n.start,i);n=void 0===n.end?o:Math.min(n.end,i),!e.extend&&o>n&&(i=n,n=o,o=i),i=un(r,o);var a=un(r,n);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mn=u&&"documentMode"in document&&11>=document.documentMode,bn=null,gn=null,yn=null,vn=!1;function wn(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;vn||null==bn||bn!==Z(n)||(n="selectionStart"in(n=bn)&&fn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},yn&&ln(yn,n)||(yn=n,0<(n=Gn(gn,"onSelect")).length&&(t=new cr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=bn)))}function En(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Sn={animationend:En("Animation","AnimationEnd"),animationiteration:En("Animation","AnimationIteration"),animationstart:En("Animation","AnimationStart"),transitionend:En("Transition","TransitionEnd")},xn={},On={};function Pn(e){if(xn[e])return xn[e];if(!Sn[e])return e;var t,r=Sn[e];for(t in r)if(r.hasOwnProperty(t)&&t in On)return xn[e]=r[t];return e}u&&(On=document.createElement("div").style,"AnimationEvent"in window||(delete Sn.animationend.animation,delete Sn.animationiteration.animation,delete Sn.animationstart.animation),"TransitionEvent"in window||delete Sn.transitionend.transition);var Cn=Pn("animationend"),kn=Pn("animationiteration"),_n=Pn("animationstart"),An=Pn("transitionend"),Tn=new Map,jn="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function In(e,t){Tn.set(e,t),l(t,[e])}for(var Dn=0;Dn<jn.length;Dn++){var Mn=jn[Dn];In(Mn.toLowerCase(),"on"+(Mn[0].toUpperCase()+Mn.slice(1)))}In(Cn,"onAnimationEnd"),In(kn,"onAnimationIteration"),In(_n,"onAnimationStart"),In("dblclick","onDoubleClick"),In("focusin","onFocus"),In("focusout","onBlur"),In(An,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Fn=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rn));function Ln(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,i,a,s,l,c){if(He.apply(this,arguments),Fe){if(!Fe)throw Error(o(198));var u=Le;Fe=!1,Le=null,Ne||(Ne=!0,Ue=u)}}(n,t,void 0,e),e.currentTarget=null}function Nn(e,t){t=!!(4&t);for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var a=n.length-1;0<=a;a--){var s=n[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;Ln(i,s,c),o=l}else for(a=0;a<n.length;a++){if(l=(s=n[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;Ln(i,s,c),o=l}}}if(Ne)throw e=Ue,Ne=!1,Ue=null,e}function Un(e,t){var r=t[mi];void 0===r&&(r=t[mi]=new Set);var n=e+"__bubble";r.has(n)||(zn(t,e,2,!1),r.add(n))}function Bn(e,t,r){var n=0;t&&(n|=4),zn(r,e,n,t)}var Hn="_reactListening"+Math.random().toString(36).slice(2);function Vn(e){if(!e[Hn]){e[Hn]=!0,a.forEach((function(t){"selectionchange"!==t&&(Fn.has(t)||Bn(t,!1,e),Bn(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hn]||(t[Hn]=!0,Bn("selectionchange",!1,t))}}function zn(e,t,r,n){switch(Kt(t)){case 1:var i=qt;break;case 4:i=Gt;break;default:i=Wt}r=i.bind(null,t,r,e),i=void 0,!De||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),n?void 0!==i?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):void 0!==i?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function $n(e,t,r,n,i){var o=n;if(!(1&t||2&t||null===n))e:for(;;){if(null===n)return;var a=n.tag;if(3===a||4===a){var s=n.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=n.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=yi(s)))return;if(5===(l=a.tag)||6===l){n=o=a;continue e}s=s.parentNode}}n=n.return}je((function(){var n=o,i=Ee(r),a=[];e:{var s=Tn.get(e);if(void 0!==s){var l=cr,c=e;switch(e){case"keypress":if(0===tr(r))break e;case"keydown":case"keyup":l=Cr;break;case"focusin":c="focus",l=mr;break;case"focusout":c="blur",l=mr;break;case"beforeblur":case"afterblur":l=mr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=fr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=pr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=_r;break;case Cn:case kn:case _n:l=br;break;case An:l=Ar;break;case"scroll":l=dr;break;case"wheel":l=jr;break;case"copy":case"cut":case"paste":l=yr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=kr}var u=!!(4&t),d=!u&&"scroll"===e,h=u?null!==s?s+"Capture":null:s;u=[];for(var f,p=n;null!==p;){var m=(f=p).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==h&&null!=(m=Ie(p,h))&&u.push(qn(p,m,f))),d)break;p=p.return}0<u.length&&(s=new l(s,c,null,r,i),a.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||r===we||!(c=r.relatedTarget||r.fromElement)||!yi(c)&&!c[pi])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=n,null!==(c=(c=r.relatedTarget||r.toElement)?yi(c):null)&&(c!==(d=Ve(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=n),l!==c)){if(u=fr,m="onMouseLeave",h="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=kr,m="onPointerLeave",h="onPointerEnter",p="pointer"),d=null==l?s:wi(l),f=null==c?s:wi(c),(s=new u(m,p+"leave",l,r,i)).target=d,s.relatedTarget=f,m=null,yi(i)===n&&((u=new u(h,p+"enter",c,r,i)).target=f,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(h=c,p=0,f=u=l;f;f=Wn(f))p++;for(f=0,m=h;m;m=Wn(m))f++;for(;0<p-f;)u=Wn(u),p--;for(;0<f-p;)h=Wn(h),f--;for(;p--;){if(u===h||null!==h&&u===h.alternate)break e;u=Wn(u),h=Wn(h)}u=null}else u=null;null!==l&&Zn(a,s,l,u,!1),null!==c&&null!==d&&Zn(a,d,c,u,!0)}if("select"===(l=(s=n?wi(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var b=Xr;else if(zr(s))if(Kr)b=an;else{b=nn;var g=rn}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(b=on);switch(b&&(b=b(e,n))?$r(a,b,r,i):(g&&g(e,s,n),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ee(s,"number",s.value)),g=n?wi(n):window,e){case"focusin":(zr(g)||"true"===g.contentEditable)&&(bn=g,gn=n,yn=null);break;case"focusout":yn=gn=bn=null;break;case"mousedown":vn=!0;break;case"contextmenu":case"mouseup":case"dragend":vn=!1,wn(a,r,i);break;case"selectionchange":if(mn)break;case"keydown":case"keyup":wn(a,r,i)}var y;if(Dr)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Hr?Ur(e,r)&&(v="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(v="onCompositionStart");v&&(Fr&&"ko"!==r.locale&&(Hr||"onCompositionStart"!==v?"onCompositionEnd"===v&&Hr&&(y=er()):(Yt="value"in(Qt=i)?Qt.value:Qt.textContent,Hr=!0)),0<(g=Gn(n,v)).length&&(v=new vr(v,e,null,r,i),a.push({event:v,listeners:g}),(y||null!==(y=Br(r)))&&(v.data=y))),(y=Rr?function(e,t){switch(e){case"compositionend":return Br(t);case"keypress":return 32!==t.which?null:(Nr=!0,Lr);case"textInput":return(e=t.data)===Lr&&Nr?null:e;default:return null}}(e,r):function(e,t){if(Hr)return"compositionend"===e||!Dr&&Ur(e,t)?(e=er(),Jt=Yt=Qt=null,Hr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fr&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(n=Gn(n,"onBeforeInput")).length&&(i=new vr("onBeforeInput","beforeinput",null,r,i),a.push({event:i,listeners:n}),i.data=y)}Nn(a,t)}))}function qn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Gn(e,t){for(var r=t+"Capture",n=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Ie(e,r))&&n.unshift(qn(e,o,i)),null!=(o=Ie(e,t))&&n.push(qn(e,o,i))),e=e.return}return n}function Wn(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Zn(e,t,r,n,i){for(var o=t._reactName,a=[];null!==r&&r!==n;){var s=r,l=s.alternate,c=s.stateNode;if(null!==l&&l===n)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=Ie(r,o))&&a.unshift(qn(r,l,s)):i||null!=(l=Ie(r,o))&&a.push(qn(r,l,s))),r=r.return}0!==a.length&&e.push({event:t,listeners:a})}var Xn=/\r\n?/g,Kn=/\u0000|\uFFFD/g;function Qn(e){return("string"==typeof e?e:""+e).replace(Xn,"\n").replace(Kn,"")}function Yn(e,t,r){if(t=Qn(t),Qn(e)!==t&&r)throw Error(o(425))}function Jn(){}var ei=null,ti=null;function ri(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ni="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,oi="function"==typeof Promise?Promise:void 0,ai="function"==typeof queueMicrotask?queueMicrotask:void 0!==oi?function(e){return oi.resolve(null).then(e).catch(si)}:ni;function si(e){setTimeout((function(){throw e}))}function li(e,t){var r=t,n=0;do{var i=r.nextSibling;if(e.removeChild(r),i&&8===i.nodeType)if("/$"===(r=i.data)){if(0===n)return e.removeChild(i),void Vt(t);n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++;r=i}while(r);Vt(t)}function ci(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ui(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var di=Math.random().toString(36).slice(2),hi="__reactFiber$"+di,fi="__reactProps$"+di,pi="__reactContainer$"+di,mi="__reactEvents$"+di,bi="__reactListeners$"+di,gi="__reactHandles$"+di;function yi(e){var t=e[hi];if(t)return t;for(var r=e.parentNode;r;){if(t=r[pi]||r[hi]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=ui(e);null!==e;){if(r=e[hi])return r;e=ui(e)}return t}r=(e=r).parentNode}return null}function vi(e){return!(e=e[hi]||e[pi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function Ei(e){return e[fi]||null}var Si=[],xi=-1;function Oi(e){return{current:e}}function Pi(e){0>xi||(e.current=Si[xi],Si[xi]=null,xi--)}function Ci(e,t){xi++,Si[xi]=e.current,e.current=t}var ki={},_i=Oi(ki),Ai=Oi(!1),Ti=ki;function ji(e,t){var r=e.type.contextTypes;if(!r)return ki;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in r)o[i]=t[i];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ii(e){return null!=e.childContextTypes}function Di(){Pi(Ai),Pi(_i)}function Mi(e,t,r){if(_i.current!==ki)throw Error(o(168));Ci(_i,t),Ci(Ai,r)}function Ri(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var i in n=n.getChildContext())if(!(i in t))throw Error(o(108,z(e)||"Unknown",i));return L({},r,n)}function Fi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ki,Ti=_i.current,Ci(_i,e),Ci(Ai,Ai.current),!0}function Li(e,t,r){var n=e.stateNode;if(!n)throw Error(o(169));r?(e=Ri(e,t,Ti),n.__reactInternalMemoizedMergedChildContext=e,Pi(Ai),Pi(_i),Ci(_i,e)):Pi(Ai),Ci(Ai,r)}var Ni=null,Ui=!1,Bi=!1;function Hi(e){null===Ni?Ni=[e]:Ni.push(e)}function Vi(){if(!Bi&&null!==Ni){Bi=!0;var e=0,t=vt;try{var r=Ni;for(vt=1;e<r.length;e++){var n=r[e];do{n=n(!0)}while(null!==n)}Ni=null,Ui=!1}catch(t){throw null!==Ni&&(Ni=Ni.slice(e+1)),We(Je,Vi),t}finally{vt=t,Bi=!1}}return null}var zi=[],$i=0,qi=null,Gi=0,Wi=[],Zi=0,Xi=null,Ki=1,Qi="";function Yi(e,t){zi[$i++]=Gi,zi[$i++]=qi,qi=e,Gi=t}function Ji(e,t,r){Wi[Zi++]=Ki,Wi[Zi++]=Qi,Wi[Zi++]=Xi,Xi=e;var n=Ki;e=Qi;var i=32-at(n)-1;n&=~(1<<i),r+=1;var o=32-at(t)+i;if(30<o){var a=i-i%5;o=(n&(1<<a)-1).toString(32),n>>=a,i-=a,Ki=1<<32-at(t)+i|r<<i|n,Qi=o+e}else Ki=1<<o|r<<i|n,Qi=e}function eo(e){null!==e.return&&(Yi(e,1),Ji(e,1,0))}function to(e){for(;e===qi;)qi=zi[--$i],zi[$i]=null,Gi=zi[--$i],zi[$i]=null;for(;e===Xi;)Xi=Wi[--Zi],Wi[Zi]=null,Qi=Wi[--Zi],Wi[Zi]=null,Ki=Wi[--Zi],Wi[Zi]=null}var ro=null,no=null,io=!1,oo=null;function ao(e,t){var r=jc(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function so(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ro=e,no=ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ro=e,no=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Xi?{id:Ki,overflow:Qi}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=jc(18,null,null,0)).stateNode=t,r.return=e,e.child=r,ro=e,no=null,!0);default:return!1}}function lo(e){return!(!(1&e.mode)||128&e.flags)}function co(e){if(io){var t=no;if(t){var r=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ci(r.nextSibling);var n=ro;t&&so(e,t)?ao(n,r):(e.flags=-4097&e.flags|2,io=!1,ro=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,io=!1,ro=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ro=e}function ho(e){if(e!==ro)return!1;if(!io)return uo(e),io=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ri(e.type,e.memoizedProps)),t&&(t=no)){if(lo(e))throw fo(),Error(o(418));for(;t;)ao(e,t),t=ci(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){no=ci(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}no=null}}else no=ro?ci(e.stateNode.nextSibling):null;return!0}function fo(){for(var e=no;e;)e=ci(e.nextSibling)}function po(){no=ro=null,io=!1}function mo(e){null===oo?oo=[e]:oo.push(e)}var bo=w.ReactCurrentBatchConfig;function go(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(o(309));var n=r.stateNode}if(!n)throw Error(o(147,e));var i=n,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(o(284));if(!r._owner)throw Error(o(290,e))}return e}function yo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vo(e){return(0,e._init)(e._payload)}function wo(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Dc(e,t)).index=0,e.sibling=null,e}function a(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,r,n){return null===t||6!==t.tag?((t=Lc(r,e.mode,n)).return=e,t):((t=i(t,r)).return=e,t)}function c(e,t,r,n){var o=r.type;return o===x?d(e,t,r.props.children,n,r.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===I&&vo(o)===t.type)?((n=i(t,r.props)).ref=go(e,t,r),n.return=e,n):((n=Mc(r.type,r.key,r.props,null,e.mode,n)).ref=go(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Nc(r,e.mode,n)).return=e,t):((t=i(t,r.children||[])).return=e,t)}function d(e,t,r,n,o){return null===t||7!==t.tag?((t=Rc(r,e.mode,n,o)).return=e,t):((t=i(t,r)).return=e,t)}function h(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Lc(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case E:return(r=Mc(t.type,t.key,t.props,null,e.mode,r)).ref=go(e,null,t),r.return=e,r;case S:return(t=Nc(t,e.mode,r)).return=e,t;case I:return h(e,(0,t._init)(t._payload),r)}if(te(t)||R(t))return(t=Rc(t,e.mode,r,null)).return=e,t;yo(e,t)}return null}function f(e,t,r,n){var i=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==i?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case E:return r.key===i?c(e,t,r,n):null;case S:return r.key===i?u(e,t,r,n):null;case I:return f(e,t,(i=r._init)(r._payload),n)}if(te(r)||R(r))return null!==i?null:d(e,t,r,n,null);yo(e,r)}return null}function p(e,t,r,n,i){if("string"==typeof n&&""!==n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,i);if("object"==typeof n&&null!==n){switch(n.$$typeof){case E:return c(t,e=e.get(null===n.key?r:n.key)||null,n,i);case S:return u(t,e=e.get(null===n.key?r:n.key)||null,n,i);case I:return p(e,t,r,(0,n._init)(n._payload),i)}if(te(n)||R(n))return d(t,e=e.get(r)||null,n,i,null);yo(t,n)}return null}function m(i,o,s,l){for(var c=null,u=null,d=o,m=o=0,b=null;null!==d&&m<s.length;m++){d.index>m?(b=d,d=null):b=d.sibling;var g=f(i,d,s[m],l);if(null===g){null===d&&(d=b);break}e&&d&&null===g.alternate&&t(i,d),o=a(g,o,m),null===u?c=g:u.sibling=g,u=g,d=b}if(m===s.length)return r(i,d),io&&Yi(i,m),c;if(null===d){for(;m<s.length;m++)null!==(d=h(i,s[m],l))&&(o=a(d,o,m),null===u?c=d:u.sibling=d,u=d);return io&&Yi(i,m),c}for(d=n(i,d);m<s.length;m++)null!==(b=p(d,i,m,s[m],l))&&(e&&null!==b.alternate&&d.delete(null===b.key?m:b.key),o=a(b,o,m),null===u?c=b:u.sibling=b,u=b);return e&&d.forEach((function(e){return t(i,e)})),io&&Yi(i,m),c}function b(i,s,l,c){var u=R(l);if("function"!=typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var d=u=null,m=s,b=s=0,g=null,y=l.next();null!==m&&!y.done;b++,y=l.next()){m.index>b?(g=m,m=null):g=m.sibling;var v=f(i,m,y.value,c);if(null===v){null===m&&(m=g);break}e&&m&&null===v.alternate&&t(i,m),s=a(v,s,b),null===d?u=v:d.sibling=v,d=v,m=g}if(y.done)return r(i,m),io&&Yi(i,b),u;if(null===m){for(;!y.done;b++,y=l.next())null!==(y=h(i,y.value,c))&&(s=a(y,s,b),null===d?u=y:d.sibling=y,d=y);return io&&Yi(i,b),u}for(m=n(i,m);!y.done;b++,y=l.next())null!==(y=p(m,i,b,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?b:y.key),s=a(y,s,b),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),io&&Yi(i,b),u}return function e(n,o,a,l){if("object"==typeof a&&null!==a&&a.type===x&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case E:e:{for(var c=a.key,u=o;null!==u;){if(u.key===c){if((c=a.type)===x){if(7===u.tag){r(n,u.sibling),(o=i(u,a.props.children)).return=n,n=o;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===I&&vo(c)===u.type){r(n,u.sibling),(o=i(u,a.props)).ref=go(n,u,a),o.return=n,n=o;break e}r(n,u);break}t(n,u),u=u.sibling}a.type===x?((o=Rc(a.props.children,n.mode,l,a.key)).return=n,n=o):((l=Mc(a.type,a.key,a.props,null,n.mode,l)).ref=go(n,o,a),l.return=n,n=l)}return s(n);case S:e:{for(u=a.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){r(n,o.sibling),(o=i(o,a.children||[])).return=n,n=o;break e}r(n,o);break}t(n,o),o=o.sibling}(o=Nc(a,n.mode,l)).return=n,n=o}return s(n);case I:return e(n,o,(u=a._init)(a._payload),l)}if(te(a))return m(n,o,a,l);if(R(a))return b(n,o,a,l);yo(n,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==o&&6===o.tag?(r(n,o.sibling),(o=i(o,a)).return=n,n=o):(r(n,o),(o=Lc(a,n.mode,l)).return=n,n=o),s(n)):r(n,o)}}var Eo=wo(!0),So=wo(!1),xo=Oi(null),Oo=null,Po=null,Co=null;function ko(){Co=Po=Oo=null}function _o(e){var t=xo.current;Pi(xo),e._currentValue=t}function Ao(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function To(e,t){Oo=e,Co=Po=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(vs=!0),e.firstContext=null)}function jo(e){var t=e._currentValue;if(Co!==e)if(e={context:e,memoizedValue:t,next:null},null===Po){if(null===Oo)throw Error(o(308));Po=e,Oo.dependencies={lanes:0,firstContext:e}}else Po=Po.next=e;return t}var Io=null;function Do(e){null===Io?Io=[e]:Io.push(e)}function Mo(e,t,r,n){var i=t.interleaved;return null===i?(r.next=r,Do(t)):(r.next=i.next,i.next=r),t.interleaved=r,Ro(e,n)}function Ro(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var Fo=!1;function Lo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function No(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Uo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bo(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,2&_l){var i=n.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),n.pending=t,Ro(e,r)}return null===(i=n.interleaved)?(t.next=t,Do(n)):(t.next=i.next,i.next=t),n.interleaved=t,Ro(e,r)}function Ho(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&r)){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,yt(e,r)}}function Vo(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var i=null,o=null;if(null!==(r=r.firstBaseUpdate)){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===o?i=o=a:o=o.next=a,r=r.next}while(null!==r);null===o?i=o=t:o=o.next=t}else i=o=t;return r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function zo(e,t,r,n){var i=e.updateQueue;Fo=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?o=c:a.next=c,a=l;var u=e.alternate;null!==u&&(s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l)}if(null!==o){var d=i.baseState;for(a=0,u=c=l=null,s=o;;){var h=s.lane,f=s.eventTime;if((n&h)===h){null!==u&&(u=u.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,m=s;switch(h=t,f=r,m.tag){case 1:if("function"==typeof(p=m.payload)){d=p.call(f,d,h);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(h="function"==typeof(p=m.payload)?p.call(f,d,h):p))break e;d=L({},d,h);break e;case 2:Fo=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(h=i.effects)?i.effects=[s]:h.push(s))}else f={eventTime:f,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=f,l=d):u=u.next=f,a|=h;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(h=s).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}if(null===u&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Fl|=a,e.lanes=a,e.memoizedState=d}}function $o(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(null!==i){if(n.callback=null,n=r,"function"!=typeof i)throw Error(o(191,i));i.call(n)}}}var qo={},Go=Oi(qo),Wo=Oi(qo),Zo=Oi(qo);function Xo(e){if(e===qo)throw Error(o(174));return e}function Ko(e,t){switch(Ci(Zo,t),Ci(Wo,e),Ci(Go,qo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Pi(Go),Ci(Go,t)}function Qo(){Pi(Go),Pi(Wo),Pi(Zo)}function Yo(e){Xo(Zo.current);var t=Xo(Go.current),r=le(t,e.type);t!==r&&(Ci(Wo,e),Ci(Go,r))}function Jo(e){Wo.current===e&&(Pi(Go),Pi(Wo))}var ea=Oi(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ra=[];function na(){for(var e=0;e<ra.length;e++)ra[e]._workInProgressVersionPrimary=null;ra.length=0}var ia=w.ReactCurrentDispatcher,oa=w.ReactCurrentBatchConfig,aa=0,sa=null,la=null,ca=null,ua=!1,da=!1,ha=0,fa=0;function pa(){throw Error(o(321))}function ma(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!sn(e[r],t[r]))return!1;return!0}function ba(e,t,r,n,i,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ia.current=null===e||null===e.memoizedState?Ja:es,e=r(n,i),da){a=0;do{if(da=!1,ha=0,25<=a)throw Error(o(301));a+=1,ca=la=null,t.updateQueue=null,ia.current=ts,e=r(n,i)}while(da)}if(ia.current=Ya,t=null!==la&&null!==la.next,aa=0,ca=la=sa=null,ua=!1,t)throw Error(o(300));return e}function ga(){var e=0!==ha;return ha=0,e}function ya(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function va(){if(null===la){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=la.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,la=e;else{if(null===e)throw Error(o(310));e={memoizedState:(la=e).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function wa(e,t){return"function"==typeof t?t(e):t}function Ea(e){var t=va(),r=t.queue;if(null===r)throw Error(o(311));r.lastRenderedReducer=e;var n=la,i=n.baseQueue,a=r.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}n.baseQueue=i=a,r.pending=null}if(null!==i){a=i.next,n=n.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((aa&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:e(n,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=h,s=n):c=c.next=h,sa.lanes|=d,Fl|=d}u=u.next}while(null!==u&&u!==a);null===c?s=n:c.next=l,sn(n,t.memoizedState)||(vs=!0),t.memoizedState=n,t.baseState=s,t.baseQueue=c,r.lastRenderedState=n}if(null!==(e=r.interleaved)){i=e;do{a=i.lane,sa.lanes|=a,Fl|=a,i=i.next}while(i!==e)}else null===i&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Sa(e){var t=va(),r=t.queue;if(null===r)throw Error(o(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,a=t.memoizedState;if(null!==i){r.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);sn(a,t.memoizedState)||(vs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function xa(){}function Oa(e,t){var r=sa,n=va(),i=t(),a=!sn(n.memoizedState,i);if(a&&(n.memoizedState=i,vs=!0),n=n.queue,Fa(ka.bind(null,r,n,e),[e]),n.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(r.flags|=2048,ja(9,Ca.bind(null,r,n,i,t),void 0,null),null===Al)throw Error(o(349));30&aa||Pa(r,t,i)}return i}function Pa(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function Ca(e,t,r,n){t.value=r,t.getSnapshot=n,_a(t)&&Aa(e)}function ka(e,t,r){return r((function(){_a(t)&&Aa(e)}))}function _a(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!sn(e,r)}catch(e){return!0}}function Aa(e){var t=Ro(e,1);null!==t&&rc(t,e,1,-1)}function Ta(e){var t=ya();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},t.queue=e,e=e.dispatch=Za.bind(null,sa,e),[t.memoizedState,e]}function ja(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function Ia(){return va().memoizedState}function Da(e,t,r,n){var i=ya();sa.flags|=e,i.memoizedState=ja(1|t,r,void 0,void 0===n?null:n)}function Ma(e,t,r,n){var i=va();n=void 0===n?null:n;var o=void 0;if(null!==la){var a=la.memoizedState;if(o=a.destroy,null!==n&&ma(n,a.deps))return void(i.memoizedState=ja(t,r,o,n))}sa.flags|=e,i.memoizedState=ja(1|t,r,o,n)}function Ra(e,t){return Da(8390656,8,e,t)}function Fa(e,t){return Ma(2048,8,e,t)}function La(e,t){return Ma(4,2,e,t)}function Na(e,t){return Ma(4,4,e,t)}function Ua(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ba(e,t,r){return r=null!=r?r.concat([e]):null,Ma(4,4,Ua.bind(null,t,e),r)}function Ha(){}function Va(e,t){var r=va();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ma(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function za(e,t){var r=va();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ma(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function $a(e,t,r){return 21&aa?(sn(r,t)||(r=mt(),sa.lanes|=r,Fl|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,vs=!0),e.memoizedState=r)}function qa(e,t){var r=vt;vt=0!==r&&4>r?r:4,e(!0);var n=oa.transition;oa.transition={};try{e(!1),t()}finally{vt=r,oa.transition=n}}function Ga(){return va().memoizedState}function Wa(e,t,r){var n=tc(e);r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Xa(e)?Ka(t,r):null!==(r=Mo(e,t,r,n))&&(rc(r,e,n,ec()),Qa(r,t,n))}function Za(e,t,r){var n=tc(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Xa(e))Ka(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,r);if(i.hasEagerState=!0,i.eagerState=s,sn(s,a)){var l=t.interleaved;return null===l?(i.next=i,Do(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(e){}null!==(r=Mo(e,t,i,n))&&(rc(r,e,n,i=ec()),Qa(r,t,n))}}function Xa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Ka(e,t){da=ua=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Qa(e,t,r){if(4194240&r){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,yt(e,r)}}var Ya={readContext:jo,useCallback:pa,useContext:pa,useEffect:pa,useImperativeHandle:pa,useInsertionEffect:pa,useLayoutEffect:pa,useMemo:pa,useReducer:pa,useRef:pa,useState:pa,useDebugValue:pa,useDeferredValue:pa,useTransition:pa,useMutableSource:pa,useSyncExternalStore:pa,useId:pa,unstable_isNewReconciler:!1},Ja={readContext:jo,useCallback:function(e,t){return ya().memoizedState=[e,void 0===t?null:t],e},useContext:jo,useEffect:Ra,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,Da(4194308,4,Ua.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Da(4194308,4,e,t)},useInsertionEffect:function(e,t){return Da(4,2,e,t)},useMemo:function(e,t){var r=ya();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=ya();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=Wa.bind(null,sa,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},ya().memoizedState=e},useState:Ta,useDebugValue:Ha,useDeferredValue:function(e){return ya().memoizedState=e},useTransition:function(){var e=Ta(!1),t=e[0];return e=qa.bind(null,e[1]),ya().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=sa,i=ya();if(io){if(void 0===r)throw Error(o(407));r=r()}else{if(r=t(),null===Al)throw Error(o(349));30&aa||Pa(n,t,r)}i.memoizedState=r;var a={value:r,getSnapshot:t};return i.queue=a,Ra(ka.bind(null,n,a,e),[e]),n.flags|=2048,ja(9,Ca.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=ya(),t=Al.identifierPrefix;if(io){var r=Qi;t=":"+t+"R"+(r=(Ki&~(1<<32-at(Ki)-1)).toString(32)+r),0<(r=ha++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=fa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:jo,useCallback:Va,useContext:jo,useEffect:Fa,useImperativeHandle:Ba,useInsertionEffect:La,useLayoutEffect:Na,useMemo:za,useReducer:Ea,useRef:Ia,useState:function(){return Ea(wa)},useDebugValue:Ha,useDeferredValue:function(e){return $a(va(),la.memoizedState,e)},useTransition:function(){return[Ea(wa)[0],va().memoizedState]},useMutableSource:xa,useSyncExternalStore:Oa,useId:Ga,unstable_isNewReconciler:!1},ts={readContext:jo,useCallback:Va,useContext:jo,useEffect:Fa,useImperativeHandle:Ba,useInsertionEffect:La,useLayoutEffect:Na,useMemo:za,useReducer:Sa,useRef:Ia,useState:function(){return Sa(wa)},useDebugValue:Ha,useDeferredValue:function(e){var t=va();return null===la?t.memoizedState=e:$a(t,la.memoizedState,e)},useTransition:function(){return[Sa(wa)[0],va().memoizedState]},useMutableSource:xa,useSyncExternalStore:Oa,useId:Ga,unstable_isNewReconciler:!1};function rs(e,t){if(e&&e.defaultProps){for(var r in t=L({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function ns(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:L({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var is={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=ec(),i=tc(e),o=Uo(n,i);o.payload=t,null!=r&&(o.callback=r),null!==(t=Bo(e,o,i))&&(rc(t,e,i,n),Ho(t,e,i))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=ec(),i=tc(e),o=Uo(n,i);o.tag=1,o.payload=t,null!=r&&(o.callback=r),null!==(t=Bo(e,o,i))&&(rc(t,e,i,n),Ho(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ec(),n=tc(e),i=Uo(r,n);i.tag=2,null!=t&&(i.callback=t),null!==(t=Bo(e,i,n))&&(rc(t,e,n,r),Ho(t,e,n))}};function os(e,t,r,n,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&ln(r,n)&&ln(i,o))}function as(e,t,r){var n=!1,i=ki,o=t.contextType;return"object"==typeof o&&null!==o?o=jo(o):(i=Ii(t)?Ti:_i.current,o=(n=null!=(n=t.contextTypes))?ji(e,i):ki),t=new t(r,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=is,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ss(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&is.enqueueReplaceState(t,t.state,null)}function ls(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs={},Lo(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=jo(o):(o=Ii(t)?Ti:_i.current,i.context=ji(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(ns(e,t,o,r),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&is.enqueueReplaceState(i,i.state,null),zo(e,r,i,n),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var r="",n=t;do{r+=H(n),n=n.return}while(n);var i=r}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function us(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var hs="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,r){(r=Uo(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){$l||($l=!0,ql=n),ds(0,t)},r}function ps(e,t,r){(r=Uo(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var i=t.value;r.payload=function(){return n(i)},r.callback=function(){ds(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(r.callback=function(){ds(0,t),"function"!=typeof n&&(null===Gl?Gl=new Set([this]):Gl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function ms(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new hs;var i=new Set;n.set(t,i)}else void 0===(i=n.get(t))&&(i=new Set,n.set(t,i));i.has(r)||(i.add(r),e=Pc.bind(null,e,t,r),t.then(e,e))}function bs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gs(e,t,r,n,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=Uo(-1,1)).tag=2,Bo(r,t,1))),r.lanes|=1),e)}var ys=w.ReactCurrentOwner,vs=!1;function ws(e,t,r,n){t.child=null===e?So(t,null,r,n):Eo(t,e.child,r,n)}function Es(e,t,r,n,i){r=r.render;var o=t.ref;return To(t,i),n=ba(e,t,r,n,o,i),r=ga(),null===e||vs?(io&&r&&eo(t),t.flags|=1,ws(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$s(e,t,i))}function Ss(e,t,r,n,i){if(null===e){var o=r.type;return"function"!=typeof o||Ic(o)||void 0!==o.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Mc(r.type,null,n,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,xs(e,t,o,n,i))}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if((r=null!==(r=r.compare)?r:ln)(a,n)&&e.ref===t.ref)return $s(e,t,i)}return t.flags|=1,(e=Dc(o,n)).ref=t.ref,e.return=t,t.child=e}function xs(e,t,r,n,i){if(null!==e){var o=e.memoizedProps;if(ln(o,n)&&e.ref===t.ref){if(vs=!1,t.pendingProps=n=o,!(e.lanes&i))return t.lanes=e.lanes,$s(e,t,i);131072&e.flags&&(vs=!0)}}return Cs(e,t,r,n,i)}function Os(e,t,r){var n=t.pendingProps,i=n.children,o=null!==e?e.memoizedState:null;if("hidden"===n.mode)if(1&t.mode){if(!(1073741824&r))return e=null!==o?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ci(Dl,Il),Il|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==o?o.baseLanes:r,Ci(Dl,Il),Il|=n}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ci(Dl,Il),Il|=r;else null!==o?(n=o.baseLanes|r,t.memoizedState=null):n=r,Ci(Dl,Il),Il|=n;return ws(e,t,i,r),t.child}function Ps(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Cs(e,t,r,n,i){var o=Ii(r)?Ti:_i.current;return o=ji(t,o),To(t,i),r=ba(e,t,r,n,o,i),n=ga(),null===e||vs?(io&&n&&eo(t),t.flags|=1,ws(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$s(e,t,i))}function ks(e,t,r,n,i){if(Ii(r)){var o=!0;Fi(t)}else o=!1;if(To(t,i),null===t.stateNode)zs(e,t),as(t,r,n),ls(t,r,n,i),n=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=r.contextType;c="object"==typeof c&&null!==c?jo(c):ji(t,c=Ii(r)?Ti:_i.current);var u=r.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==n||l!==c)&&ss(t,a,n,c),Fo=!1;var h=t.memoizedState;a.state=h,zo(t,n,a,i),l=t.memoizedState,s!==n||h!==l||Ai.current||Fo?("function"==typeof u&&(ns(t,r,u,n),l=t.memoizedState),(s=Fo||os(t,r,s,n,h,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),a.props=n,a.state=l,a.context=c,n=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),n=!1)}else{a=t.stateNode,No(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:rs(t.type,s),a.props=c,d=t.pendingProps,h=a.context,l="object"==typeof(l=r.contextType)&&null!==l?jo(l):ji(t,l=Ii(r)?Ti:_i.current);var f=r.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||h!==l)&&ss(t,a,n,l),Fo=!1,h=t.memoizedState,a.state=h,zo(t,n,a,i);var p=t.memoizedState;s!==d||h!==p||Ai.current||Fo?("function"==typeof f&&(ns(t,r,f,n),p=t.memoizedState),(c=Fo||os(t,r,c,n,h,p,l)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(n,p,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,p,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=p),a.props=n,a.state=p,a.context=l,n=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),n=!1)}return _s(e,t,r,n,o,i)}function _s(e,t,r,n,i,o){Ps(e,t);var a=!!(128&t.flags);if(!n&&!a)return i&&Li(t,r,!1),$s(e,t,o);n=t.stateNode,ys.current=t;var s=a&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&a?(t.child=Eo(t,e.child,null,o),t.child=Eo(t,null,s,o)):ws(e,t,s,o),t.memoizedState=n.state,i&&Li(t,r,!0),t.child}function As(e){var t=e.stateNode;t.pendingContext?Mi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Mi(0,t.context,!1),Ko(e,t.containerInfo)}function Ts(e,t,r,n,i){return po(),mo(i),t.flags|=256,ws(e,t,r,n),t.child}var js,Is,Ds,Ms,Rs={dehydrated:null,treeContext:null,retryLane:0};function Fs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ls(e,t,r){var n,i=t.pendingProps,a=ea.current,s=!1,l=!!(128&t.flags);if((n=l)||(n=(null===e||null!==e.memoizedState)&&!!(2&a)),n?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ci(ea,1&a),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=i.children,e=i.fallback,s?(i=t.mode,s=t.child,l={mode:"hidden",children:l},1&i||null===s?s=Fc(l,i,0,null):(s.childLanes=0,s.pendingProps=l),e=Rc(e,i,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Fs(r),t.memoizedState=Rs,e):Ns(t,l));if(null!==(a=e.memoizedState)&&null!==(n=a.dehydrated))return function(e,t,r,n,i,a,s){if(r)return 256&t.flags?(t.flags&=-257,Us(e,t,s,n=us(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=n.fallback,i=t.mode,n=Fc({mode:"visible",children:n.children},i,0,null),(a=Rc(a,i,s,null)).flags|=2,n.return=t,a.return=t,n.sibling=a,t.child=n,1&t.mode&&Eo(t,e.child,null,s),t.child.memoizedState=Fs(s),t.memoizedState=Rs,a);if(!(1&t.mode))return Us(e,t,s,null);if("$!"===i.data){if(n=i.nextSibling&&i.nextSibling.dataset)var l=n.dgst;return n=l,Us(e,t,s,n=us(a=Error(o(419)),n,void 0))}if(l=!!(s&e.childLanes),vs||l){if(null!==(n=Al)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=i&(n.suspendedLanes|s)?0:i)&&i!==a.retryLane&&(a.retryLane=i,Ro(e,i),rc(n,e,i,-1))}return mc(),Us(e,t,s,n=us(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=kc.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,no=ci(i.nextSibling),ro=t,io=!0,oo=null,null!==e&&(Wi[Zi++]=Ki,Wi[Zi++]=Qi,Wi[Zi++]=Xi,Ki=e.id,Qi=e.overflow,Xi=t),(t=Ns(t,n.children)).flags|=4096,t)}(e,t,l,i,n,a,r);if(s){s=i.fallback,l=t.mode,n=(a=e.child).sibling;var c={mode:"hidden",children:i.children};return 1&l||t.child===a?(i=Dc(a,c)).subtreeFlags=14680064&a.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null),null!==n?s=Dc(n,s):(s=Rc(s,l,r,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Fs(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~r,t.memoizedState=Rs,i}return e=(s=e.child).sibling,i=Dc(s,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=r),i.return=t,i.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=i,t.memoizedState=null,i}function Ns(e,t){return(t=Fc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Us(e,t,r,n){return null!==n&&mo(n),Eo(t,e.child,null,r),(e=Ns(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bs(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Ao(e.return,t,r)}function Hs(e,t,r,n,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=i)}function Vs(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if(ws(e,t,n.children,r),2&(n=ea.current))n=1&n|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bs(e,r,t);else if(19===e.tag)Bs(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Ci(ea,n),1&t.mode)switch(i){case"forwards":for(r=t.child,i=null;null!==r;)null!==(e=r.alternate)&&null===ta(e)&&(i=r),r=r.sibling;null===(r=i)?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Hs(t,!1,i,r,o);break;case"backwards":for(r=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ta(e)){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Hs(t,!0,r,null,o);break;case"together":Hs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function zs(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $s(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Fl|=t.lanes,!(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(r=Dc(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Dc(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function qs(e,t){if(!io)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Gs(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var i=e.child;null!==i;)r|=i.lanes|i.childLanes,n|=14680064&i.subtreeFlags,n|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function Ws(e,t,r){var n=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gs(t),null;case 1:case 17:return Ii(t.type)&&Di(),Gs(t),null;case 3:return n=t.stateNode,Qo(),Pi(Ai),Pi(_i),na(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(ho(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(ac(oo),oo=null))),Is(e,t),Gs(t),null;case 5:Jo(t);var i=Xo(Zo.current);if(r=t.type,null!==e&&null!=t.stateNode)Ds(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error(o(166));return Gs(t),null}if(e=Xo(Go.current),ho(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[hi]=t,n[fi]=a,e=!!(1&t.mode),r){case"dialog":Un("cancel",n),Un("close",n);break;case"iframe":case"object":case"embed":Un("load",n);break;case"video":case"audio":for(i=0;i<Rn.length;i++)Un(Rn[i],n);break;case"source":Un("error",n);break;case"img":case"image":case"link":Un("error",n),Un("load",n);break;case"details":Un("toggle",n);break;case"input":K(n,a),Un("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Un("invalid",n);break;case"textarea":ie(n,a),Un("invalid",n)}for(var l in ye(r,a),i=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"==typeof c?n.textContent!==c&&(!0!==a.suppressHydrationWarning&&Yn(n.textContent,c,e),i=["children",c]):"number"==typeof c&&n.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Yn(n.textContent,c,e),i=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Un("scroll",n)}switch(r){case"input":G(n),J(n,a,!0);break;case"textarea":G(n),ae(n);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(n.onclick=Jn)}n=i,t.updateQueue=n,null!==n&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),"select"===r&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[hi]=t,e[fi]=n,js(e,t,!1,!1),t.stateNode=e;e:{switch(l=ve(r,n),r){case"dialog":Un("cancel",e),Un("close",e),i=n;break;case"iframe":case"object":case"embed":Un("load",e),i=n;break;case"video":case"audio":for(i=0;i<Rn.length;i++)Un(Rn[i],e);i=n;break;case"source":Un("error",e),i=n;break;case"img":case"image":case"link":Un("error",e),Un("load",e),i=n;break;case"details":Un("toggle",e),i=n;break;case"input":K(e,n),i=X(e,n),Un("invalid",e);break;case"option":default:i=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=L({},n,{value:void 0}),Un("invalid",e);break;case"textarea":ie(e,n),i=ne(e,n),Un("invalid",e)}for(a in ye(r,i),c=i)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?be(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"==typeof u?("textarea"!==r||""!==u)&&he(e,u):"number"==typeof u&&he(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Un("scroll",e):null!=u&&v(e,a,u,l))}switch(r){case"input":G(e),J(e,n,!1);break;case"textarea":G(e),ae(e);break;case"option":null!=n.value&&e.setAttribute("value",""+$(n.value));break;case"select":e.multiple=!!n.multiple,null!=(a=n.value)?re(e,!!n.multiple,a,!1):null!=n.defaultValue&&re(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Jn)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Gs(t),null;case 6:if(e&&null!=t.stateNode)Ms(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(o(166));if(r=Xo(Zo.current),Xo(Go.current),ho(t)){if(n=t.stateNode,r=t.memoizedProps,n[hi]=t,(a=n.nodeValue!==r)&&null!==(e=ro))switch(e.tag){case 3:Yn(n.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Yn(n.nodeValue,r,!!(1&e.mode))}a&&(t.flags|=4)}else(n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[hi]=t,t.stateNode=n}return Gs(t),null;case 13:if(Pi(ea),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(io&&null!==no&&1&t.mode&&!(128&t.flags))fo(),po(),t.flags|=98560,a=!1;else if(a=ho(t),null!==n&&null!==n.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[hi]=t}else po(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Gs(t),a=!1}else null!==oo&&(ac(oo),oo=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((n=null!==n)!=(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ea.current?0===Ml&&(Ml=3):mc())),null!==t.updateQueue&&(t.flags|=4),Gs(t),null);case 4:return Qo(),Is(e,t),null===e&&Vn(t.stateNode.containerInfo),Gs(t),null;case 10:return _o(t.type._context),Gs(t),null;case 19:if(Pi(ea),null===(a=t.memoizedState))return Gs(t),null;if(n=!!(128&t.flags),null===(l=a.rendering))if(n)qs(a,!1);else{if(0!==Ml||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ta(e))){for(t.flags|=128,qs(a,!1),null!==(n=l.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)e=n,(a=r).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ci(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Qe()>Vl&&(t.flags|=128,n=!0,qs(a,!1),t.lanes=4194304)}else{if(!n)if(null!==(e=ta(l))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),qs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!io)return Gs(t),null}else 2*Qe()-a.renderingStartTime>Vl&&1073741824!==r&&(t.flags|=128,n=!0,qs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(r=a.last)?r.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Qe(),t.sibling=null,r=ea.current,Ci(ea,n?1&r|2:1&r),t):(Gs(t),null);case 22:case 23:return dc(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&1&t.mode?!!(1073741824&Il)&&(Gs(t),6&t.subtreeFlags&&(t.flags|=8192)):Gs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Zs(e,t){switch(to(t),t.tag){case 1:return Ii(t.type)&&Di(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Qo(),Pi(Ai),Pi(_i),na(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Jo(t),null;case 13:if(Pi(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));po()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Pi(ea),null;case 4:return Qo(),null;case 10:return _o(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}js=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Is=function(){},Ds=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Xo(Go.current);var o,a=null;switch(r){case"input":i=X(e,i),n=X(e,n),a=[];break;case"select":i=L({},i,{value:void 0}),n=L({},n,{value:void 0}),a=[];break;case"textarea":i=ne(e,i),n=ne(e,n),a=[];break;default:"function"!=typeof i.onClick&&"function"==typeof n.onClick&&(e.onclick=Jn)}for(u in ye(r,n),r=null,i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var l=i[u];for(o in l)l.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in n){var c=n[u];if(l=null!=i?i[u]:void 0,n.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(r||(r={}),r[o]=c[o])}else r||(a||(a=[]),a.push(u,r)),r=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Un("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}r&&(a=a||[]).push("style",r);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Ms=function(e,t,r,n){r!==n&&(t.flags|=4)};var Xs=!1,Ks=!1,Qs="function"==typeof WeakSet?WeakSet:Set,Ys=null;function Js(e,t){var r=e.ref;if(null!==r)if("function"==typeof r)try{r(null)}catch(r){Oc(e,t,r)}else r.current=null}function el(e,t,r){try{r()}catch(r){Oc(e,t,r)}}var tl=!1;function rl(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var i=n=n.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&el(t,r,o)}i=i.next}while(i!==n)}}function nl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function il(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[hi],delete t[fi],delete t[mi],delete t[bi],delete t[gi]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=Jn));else if(4!==n&&null!==(e=e.child))for(ll(e,t,r),e=e.sibling;null!==e;)ll(e,t,r),e=e.sibling}function cl(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(cl(e,t,r),e=e.sibling;null!==e;)cl(e,t,r),e=e.sibling}var ul=null,dl=!1;function hl(e,t,r){for(r=r.child;null!==r;)fl(e,t,r),r=r.sibling}function fl(e,t,r){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(it,r)}catch(e){}switch(r.tag){case 5:Ks||Js(r,t);case 6:var n=ul,i=dl;ul=null,hl(e,t,r),dl=i,null!==(ul=n)&&(dl?(e=ul,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):ul.removeChild(r.stateNode));break;case 18:null!==ul&&(dl?(e=ul,r=r.stateNode,8===e.nodeType?li(e.parentNode,r):1===e.nodeType&&li(e,r),Vt(e)):li(ul,r.stateNode));break;case 4:n=ul,i=dl,ul=r.stateNode.containerInfo,dl=!0,hl(e,t,r),ul=n,dl=i;break;case 0:case 11:case 14:case 15:if(!Ks&&null!==(n=r.updateQueue)&&null!==(n=n.lastEffect)){i=n=n.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(2&o||4&o)&&el(r,t,a),i=i.next}while(i!==n)}hl(e,t,r);break;case 1:if(!Ks&&(Js(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){Oc(r,t,e)}hl(e,t,r);break;case 21:hl(e,t,r);break;case 22:1&r.mode?(Ks=(n=Ks)||null!==r.memoizedState,hl(e,t,r),Ks=n):hl(e,t,r);break;default:hl(e,t,r)}}function pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new Qs),t.forEach((function(t){var n=_c.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}function ml(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var i=r[n];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(o(160));fl(a,s,i),ul=null,dl=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(e){Oc(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)bl(t,e),t=t.sibling}function bl(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),gl(e),4&n){try{rl(3,e,e.return),nl(3,e)}catch(t){Oc(e,e.return,t)}try{rl(5,e,e.return)}catch(t){Oc(e,e.return,t)}}break;case 1:ml(t,e),gl(e),512&n&&null!==r&&Js(r,r.return);break;case 5:if(ml(t,e),gl(e),512&n&&null!==r&&Js(r,r.return),32&e.flags){var i=e.stateNode;try{he(i,"")}catch(t){Oc(e,e.return,t)}}if(4&n&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==r?r.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&Q(i,a),ve(l,s);var u=ve(l,a);for(s=0;s<c.length;s+=2){var d=c[s],h=c[s+1];"style"===d?be(i,h):"dangerouslySetInnerHTML"===d?de(i,h):"children"===d?he(i,h):v(i,d,h,u)}switch(l){case"input":Y(i,a);break;case"textarea":oe(i,a);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?re(i,!!a.multiple,p,!1):f!==!!a.multiple&&(null!=a.defaultValue?re(i,!!a.multiple,a.defaultValue,!0):re(i,!!a.multiple,a.multiple?[]:"",!1))}i[fi]=a}catch(t){Oc(e,e.return,t)}}break;case 6:if(ml(t,e),gl(e),4&n){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(t){Oc(e,e.return,t)}}break;case 3:if(ml(t,e),gl(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{Vt(t.containerInfo)}catch(t){Oc(e,e.return,t)}break;case 4:default:ml(t,e),gl(e);break;case 13:ml(t,e),gl(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(Hl=Qe())),4&n&&pl(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Ks=(u=Ks)||d,ml(t,e),Ks=u):ml(t,e),gl(e),8192&n){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Ys=e,d=e.child;null!==d;){for(h=Ys=d;null!==Ys;){switch(p=(f=Ys).child,f.tag){case 0:case 11:case 14:case 15:rl(4,f,f.return);break;case 1:Js(f,f.return);var m=f.stateNode;if("function"==typeof m.componentWillUnmount){n=f,r=f.return;try{t=n,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Oc(n,r,e)}}break;case 5:Js(f,f.return);break;case 22:if(null!==f.memoizedState){El(h);continue}}null!==p?(p.return=f,Ys=p):El(h)}d=d.sibling}e:for(d=null,h=e;;){if(5===h.tag){if(null===d){d=h;try{i=h.stateNode,u?"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=h.stateNode,s=null!=(c=h.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(t){Oc(e,e.return,t)}}}else if(6===h.tag){if(null===d)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(t){Oc(e,e.return,t)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===e)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;null===h.sibling;){if(null===h.return||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ml(t,e),gl(e),4&n&&pl(e);case 21:}}function gl(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(al(r)){var n=r;break e}r=r.return}throw Error(o(160))}switch(n.tag){case 5:var i=n.stateNode;32&n.flags&&(he(i,""),n.flags&=-33),cl(e,sl(e),i);break;case 3:case 4:var a=n.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(o(161))}}catch(t){Oc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,r){Ys=e,vl(e,t,r)}function vl(e,t,r){for(var n=!!(1&e.mode);null!==Ys;){var i=Ys,o=i.child;if(22===i.tag&&n){var a=null!==i.memoizedState||Xs;if(!a){var s=i.alternate,l=null!==s&&null!==s.memoizedState||Ks;s=Xs;var c=Ks;if(Xs=a,(Ks=l)&&!c)for(Ys=i;null!==Ys;)l=(a=Ys).child,22===a.tag&&null!==a.memoizedState?Sl(i):null!==l?(l.return=a,Ys=l):Sl(i);for(;null!==o;)Ys=o,vl(o,t,r),o=o.sibling;Ys=i,Xs=s,Ks=c}wl(e)}else 8772&i.subtreeFlags&&null!==o?(o.return=i,Ys=o):wl(e)}}function wl(e){for(;null!==Ys;){var t=Ys;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ks||nl(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!Ks)if(null===r)n.componentDidMount();else{var i=t.elementType===t.type?r.memoizedProps:rs(t.type,r.memoizedProps);n.componentDidUpdate(i,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&$o(t,a,n);break;case 3:var s=t.updateQueue;if(null!==s){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}$o(t,s,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus();break;case"img":c.src&&(r.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var h=d.dehydrated;null!==h&&Vt(h)}}}break;default:throw Error(o(163))}Ks||512&t.flags&&il(t)}catch(e){Oc(t,t.return,e)}}if(t===e){Ys=null;break}if(null!==(r=t.sibling)){r.return=t.return,Ys=r;break}Ys=t.return}}function El(e){for(;null!==Ys;){var t=Ys;if(t===e){Ys=null;break}var r=t.sibling;if(null!==r){r.return=t.return,Ys=r;break}Ys=t.return}}function Sl(e){for(;null!==Ys;){var t=Ys;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{nl(4,t)}catch(e){Oc(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var i=t.return;try{n.componentDidMount()}catch(e){Oc(t,i,e)}}var o=t.return;try{il(t)}catch(e){Oc(t,o,e)}break;case 5:var a=t.return;try{il(t)}catch(e){Oc(t,a,e)}}}catch(e){Oc(t,t.return,e)}if(t===e){Ys=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Ys=s;break}Ys=t.return}}var xl,Ol=Math.ceil,Pl=w.ReactCurrentDispatcher,Cl=w.ReactCurrentOwner,kl=w.ReactCurrentBatchConfig,_l=0,Al=null,Tl=null,jl=0,Il=0,Dl=Oi(0),Ml=0,Rl=null,Fl=0,Ll=0,Nl=0,Ul=null,Bl=null,Hl=0,Vl=1/0,zl=null,$l=!1,ql=null,Gl=null,Wl=!1,Zl=null,Xl=0,Kl=0,Ql=null,Yl=-1,Jl=0;function ec(){return 6&_l?Qe():-1!==Yl?Yl:Yl=Qe()}function tc(e){return 1&e.mode?2&_l&&0!==jl?jl&-jl:null!==bo.transition?(0===Jl&&(Jl=mt()),Jl):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Kt(e.type):1}function rc(e,t,r,n){if(50<Kl)throw Kl=0,Ql=null,Error(o(185));gt(e,r,n),2&_l&&e===Al||(e===Al&&(!(2&_l)&&(Ll|=r),4===Ml&&sc(e,jl)),nc(e,n),1===r&&0===_l&&!(1&t.mode)&&(Vl=Qe()+500,Ui&&Vi()))}function nc(e,t){var r=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-at(o),s=1<<a,l=i[a];-1===l?s&r&&!(s&n)||(i[a]=ft(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var n=ht(e,e===Al?jl:0);if(0===n)null!==r&&Ze(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(null!=r&&Ze(r),1===t)0===e.tag?function(e){Ui=!0,Hi(e)}(lc.bind(null,e)):Hi(lc.bind(null,e)),ai((function(){!(6&_l)&&Vi()})),r=null;else{switch(wt(n)){case 1:r=Je;break;case 4:r=et;break;case 16:default:r=tt;break;case 536870912:r=nt}r=Ac(r,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function ic(e,t){if(Yl=-1,Jl=0,6&_l)throw Error(o(327));var r=e.callbackNode;if(Sc()&&e.callbackNode!==r)return null;var n=ht(e,e===Al?jl:0);if(0===n)return null;if(30&n||n&e.expiredLanes||t)t=bc(e,n);else{t=n;var i=_l;_l|=2;var a=pc();for(Al===e&&jl===t||(zl=null,Vl=Qe()+500,hc(e,t));;)try{yc();break}catch(t){fc(e,t)}ko(),Pl.current=a,_l=i,null!==Tl?t=0:(Al=null,jl=0,t=Ml)}if(0!==t){if(2===t&&0!==(i=pt(e))&&(n=i,t=oc(e,i)),1===t)throw r=Rl,hc(e,0),sc(e,n),nc(e,Qe()),r;if(6===t)sc(e,n);else{if(i=e.current.alternate,!(30&n||function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var i=r[n],o=i.getSnapshot;i=i.value;try{if(!sn(o(),i))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=bc(e,n),2===t&&(a=pt(e),0!==a&&(n=a,t=oc(e,a))),1!==t)))throw r=Rl,hc(e,0),sc(e,n),nc(e,Qe()),r;switch(e.finishedWork=i,e.finishedLanes=n,t){case 0:case 1:throw Error(o(345));case 2:case 5:Ec(e,Bl,zl);break;case 3:if(sc(e,n),(130023424&n)===n&&10<(t=Hl+500-Qe())){if(0!==ht(e,0))break;if(((i=e.suspendedLanes)&n)!==n){ec(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ni(Ec.bind(null,e,Bl,zl),t);break}Ec(e,Bl,zl);break;case 4:if(sc(e,n),(4194240&n)===n)break;for(t=e.eventTimes,i=-1;0<n;){var s=31-at(n);a=1<<s,(s=t[s])>i&&(i=s),n&=~a}if(n=i,10<(n=(120>(n=Qe()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ol(n/1960))-n)){e.timeoutHandle=ni(Ec.bind(null,e,Bl,zl),n);break}Ec(e,Bl,zl);break;default:throw Error(o(329))}}}return nc(e,Qe()),e.callbackNode===r?ic.bind(null,e):null}function oc(e,t){var r=Ul;return e.current.memoizedState.isDehydrated&&(hc(e,t).flags|=256),2!==(e=bc(e,t))&&(t=Bl,Bl=r,null!==t&&ac(t)),e}function ac(e){null===Bl?Bl=e:Bl.push.apply(Bl,e)}function sc(e,t){for(t&=~Nl,t&=~Ll,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-at(t),n=1<<r;e[r]=-1,t&=~n}}function lc(e){if(6&_l)throw Error(o(327));Sc();var t=ht(e,0);if(!(1&t))return nc(e,Qe()),null;var r=bc(e,t);if(0!==e.tag&&2===r){var n=pt(e);0!==n&&(t=n,r=oc(e,n))}if(1===r)throw r=Rl,hc(e,0),sc(e,t),nc(e,Qe()),r;if(6===r)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ec(e,Bl,zl),nc(e,Qe()),null}function cc(e,t){var r=_l;_l|=1;try{return e(t)}finally{0===(_l=r)&&(Vl=Qe()+500,Ui&&Vi())}}function uc(e){null!==Zl&&0===Zl.tag&&!(6&_l)&&Sc();var t=_l;_l|=1;var r=kl.transition,n=vt;try{if(kl.transition=null,vt=1,e)return e()}finally{vt=n,kl.transition=r,!(6&(_l=t))&&Vi()}}function dc(){Il=Dl.current,Pi(Dl)}function hc(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,ii(r)),null!==Tl)for(r=Tl.return;null!==r;){var n=r;switch(to(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&Di();break;case 3:Qo(),Pi(Ai),Pi(_i),na();break;case 5:Jo(n);break;case 4:Qo();break;case 13:case 19:Pi(ea);break;case 10:_o(n.type._context);break;case 22:case 23:dc()}r=r.return}if(Al=e,Tl=e=Dc(e.current,null),jl=Il=t,Ml=0,Rl=null,Nl=Ll=Fl=0,Bl=Ul=null,null!==Io){for(t=0;t<Io.length;t++)if(null!==(n=(r=Io[t]).interleaved)){r.interleaved=null;var i=n.next,o=r.pending;if(null!==o){var a=o.next;o.next=i,n.next=a}r.pending=n}Io=null}return e}function fc(e,t){for(;;){var r=Tl;try{if(ko(),ia.current=Ya,ua){for(var n=sa.memoizedState;null!==n;){var i=n.queue;null!==i&&(i.pending=null),n=n.next}ua=!1}if(aa=0,ca=la=sa=null,da=!1,ha=0,Cl.current=null,null===r||null===r.return){Ml=1,Rl=t,Tl=null;break}e:{var a=e,s=r.return,l=r,c=t;if(t=jl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,h=d.tag;if(!(1&d.mode||0!==h&&11!==h&&15!==h)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=bs(s);if(null!==p){p.flags&=-257,gs(p,s,l,0,t),1&p.mode&&ms(a,u,t),c=u;var m=(t=p).updateQueue;if(null===m){var b=new Set;b.add(c),t.updateQueue=b}else m.add(c);break e}if(!(1&t)){ms(a,u,t),mc();break e}c=Error(o(426))}else if(io&&1&l.mode){var g=bs(s);if(null!==g){!(65536&g.flags)&&(g.flags|=256),gs(g,s,l,0,t),mo(cs(c,l));break e}}a=c=cs(c,l),4!==Ml&&(Ml=2),null===Ul?Ul=[a]:Ul.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Vo(a,fs(0,c,t));break e;case 1:l=c;var y=a.type,v=a.stateNode;if(!(128&a.flags||"function"!=typeof y.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==Gl&&Gl.has(v)))){a.flags|=65536,t&=-t,a.lanes|=t,Vo(a,ps(a,l,t));break e}}a=a.return}while(null!==a)}wc(r)}catch(e){t=e,Tl===r&&null!==r&&(Tl=r=r.return);continue}break}}function pc(){var e=Pl.current;return Pl.current=Ya,null===e?Ya:e}function mc(){0!==Ml&&3!==Ml&&2!==Ml||(Ml=4),null===Al||!(268435455&Fl)&&!(268435455&Ll)||sc(Al,jl)}function bc(e,t){var r=_l;_l|=2;var n=pc();for(Al===e&&jl===t||(zl=null,hc(e,t));;)try{gc();break}catch(t){fc(e,t)}if(ko(),_l=r,Pl.current=n,null!==Tl)throw Error(o(261));return Al=null,jl=0,Ml}function gc(){for(;null!==Tl;)vc(Tl)}function yc(){for(;null!==Tl&&!Xe();)vc(Tl)}function vc(e){var t=xl(e.alternate,e,Il);e.memoizedProps=e.pendingProps,null===t?wc(e):Tl=t,Cl.current=null}function wc(e){var t=e;do{var r=t.alternate;if(e=t.return,32768&t.flags){if(null!==(r=Zs(r,t)))return r.flags&=32767,void(Tl=r);if(null===e)return Ml=6,void(Tl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(r=Ws(r,t,Il)))return void(Tl=r);if(null!==(t=t.sibling))return void(Tl=t);Tl=t=e}while(null!==t);0===Ml&&(Ml=5)}function Ec(e,t,r){var n=vt,i=kl.transition;try{kl.transition=null,vt=1,function(e,t,r,n){do{Sc()}while(null!==Zl);if(6&_l)throw Error(o(327));r=e.finishedWork;var i=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var i=31-at(r),o=1<<i;t[i]=0,n[i]=-1,e[i]=-1,r&=~o}}(e,a),e===Al&&(Tl=Al=null,jl=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||Wl||(Wl=!0,Ac(tt,(function(){return Sc(),null}))),a=!!(15990&r.flags),15990&r.subtreeFlags||a){a=kl.transition,kl.transition=null;var s=vt;vt=1;var l=_l;_l|=4,Cl.current=null,function(e,t){if(ei=$t,fn(e=hn())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var i=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch(e){r=null;break e}var s=0,l=-1,c=-1,u=0,d=0,h=e,f=null;t:for(;;){for(var p;h!==r||0!==i&&3!==h.nodeType||(l=s+i),h!==a||0!==n&&3!==h.nodeType||(c=s+n),3===h.nodeType&&(s+=h.nodeValue.length),null!==(p=h.firstChild);)f=h,h=p;for(;;){if(h===e)break t;if(f===r&&++u===i&&(l=s),f===a&&++d===n&&(c=s),null!==(p=h.nextSibling))break;f=(h=f).parentNode}h=p}r=-1===l||-1===c?null:{start:l,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(ti={focusedElem:e,selectionRange:r},$t=!1,Ys=t;null!==Ys;)if(e=(t=Ys).child,1028&t.subtreeFlags&&null!==e)e.return=t,Ys=e;else for(;null!==Ys;){t=Ys;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var b=m.memoizedProps,g=m.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?b:rs(t.type,b),g);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(e){Oc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Ys=e;break}Ys=t.return}m=tl,tl=!1}(e,r),bl(r,e),pn(ti),$t=!!ei,ti=ei=null,e.current=r,yl(r,e,i),Ke(),_l=l,vt=s,kl.transition=a}else e.current=r;if(Wl&&(Wl=!1,Zl=e,Xl=i),0===(a=e.pendingLanes)&&(Gl=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(it,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),nc(e,Qe()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n((i=t[r]).value,{componentStack:i.stack,digest:i.digest});if($l)throw $l=!1,e=ql,ql=null,e;!!(1&Xl)&&0!==e.tag&&Sc(),1&(a=e.pendingLanes)?e===Ql?Kl++:(Kl=0,Ql=e):Kl=0,Vi()}(e,t,r,n)}finally{kl.transition=i,vt=n}return null}function Sc(){if(null!==Zl){var e=wt(Xl),t=kl.transition,r=vt;try{if(kl.transition=null,vt=16>e?16:e,null===Zl)var n=!1;else{if(e=Zl,Zl=null,Xl=0,6&_l)throw Error(o(331));var i=_l;for(_l|=4,Ys=e.current;null!==Ys;){var a=Ys,s=a.child;if(16&Ys.flags){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Ys=u;null!==Ys;){var d=Ys;switch(d.tag){case 0:case 11:case 15:rl(8,d,a)}var h=d.child;if(null!==h)h.return=d,Ys=h;else for(;null!==Ys;){var f=(d=Ys).sibling,p=d.return;if(ol(d),d===u){Ys=null;break}if(null!==f){f.return=p,Ys=f;break}Ys=p}}}var m=a.alternate;if(null!==m){var b=m.child;if(null!==b){m.child=null;do{var g=b.sibling;b.sibling=null,b=g}while(null!==b)}}Ys=a}}if(2064&a.subtreeFlags&&null!==s)s.return=a,Ys=s;else e:for(;null!==Ys;){if(2048&(a=Ys).flags)switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Ys=y;break e}Ys=a.return}}var v=e.current;for(Ys=v;null!==Ys;){var w=(s=Ys).child;if(2064&s.subtreeFlags&&null!==w)w.return=s,Ys=w;else e:for(s=v;null!==Ys;){if(2048&(l=Ys).flags)try{switch(l.tag){case 0:case 11:case 15:nl(9,l)}}catch(e){Oc(l,l.return,e)}if(l===s){Ys=null;break e}var E=l.sibling;if(null!==E){E.return=l.return,Ys=E;break e}Ys=l.return}}if(_l=i,Vi(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(it,e)}catch(e){}n=!0}return n}finally{vt=r,kl.transition=t}}return!1}function xc(e,t,r){e=Bo(e,t=fs(0,t=cs(r,t),1),1),t=ec(),null!==e&&(gt(e,1,t),nc(e,t))}function Oc(e,t,r){if(3===e.tag)xc(e,e,r);else for(;null!==t;){if(3===t.tag){xc(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===Gl||!Gl.has(n))){t=Bo(t,e=ps(t,e=cs(r,e),1),1),e=ec(),null!==t&&(gt(t,1,e),nc(t,e));break}}t=t.return}}function Pc(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&r,Al===e&&(jl&r)===r&&(4===Ml||3===Ml&&(130023424&jl)===jl&&500>Qe()-Hl?hc(e,0):Nl|=r),nc(e,t)}function Cc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var r=ec();null!==(e=Ro(e,t))&&(gt(e,t,r),nc(e,r))}function kc(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),Cc(e,r)}function _c(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;null!==i&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(o(314))}null!==n&&n.delete(t),Cc(e,r)}function Ac(e,t){return We(e,t)}function Tc(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function jc(e,t,r,n){return new Tc(e,t,r,n)}function Ic(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Dc(e,t){var r=e.alternate;return null===r?((r=jc(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Mc(e,t,r,n,i,a){var s=2;if(n=e,"function"==typeof e)Ic(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case x:return Rc(r.children,i,a,t);case O:s=8,i|=8;break;case P:return(e=jc(12,r,t,2|i)).elementType=P,e.lanes=a,e;case A:return(e=jc(13,r,t,i)).elementType=A,e.lanes=a,e;case T:return(e=jc(19,r,t,i)).elementType=T,e.lanes=a,e;case D:return Fc(r,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:s=10;break e;case k:s=9;break e;case _:s=11;break e;case j:s=14;break e;case I:s=16,n=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=jc(s,r,t,i)).elementType=e,t.type=n,t.lanes=a,t}function Rc(e,t,r,n){return(e=jc(7,e,n,t)).lanes=r,e}function Fc(e,t,r,n){return(e=jc(22,e,n,t)).elementType=D,e.lanes=r,e.stateNode={isHidden:!1},e}function Lc(e,t,r){return(e=jc(6,e,null,t)).lanes=r,e}function Nc(e,t,r){return(t=jc(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Uc(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=bt(0),this.expirationTimes=bt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bt(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Bc(e,t,r,n,i,o,a,s,l){return e=new Uc(e,t,r,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=jc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Lo(o),e}function Hc(e){if(!e)return ki;e:{if(Ve(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ii(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var r=e.type;if(Ii(r))return Ri(e,r,t)}return t}function Vc(e,t,r,n,i,o,a,s,l){return(e=Bc(r,n,!0,e,0,o,0,s,l)).context=Hc(null),r=e.current,(o=Uo(n=ec(),i=tc(r))).callback=null!=t?t:null,Bo(r,o,i),e.current.lanes=i,gt(e,i,n),nc(e,n),e}function zc(e,t,r,n){var i=t.current,o=ec(),a=tc(i);return r=Hc(r),null===t.context?t.context=r:t.pendingContext=r,(t=Uo(o,a)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=Bo(i,t,a))&&(rc(e,i,a,o),Ho(e,i,a)),a}function $c(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function Gc(e,t){qc(e,t),(e=e.alternate)&&qc(e,t)}xl=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ai.current)vs=!0;else{if(!(e.lanes&r||128&t.flags))return vs=!1,function(e,t,r){switch(t.tag){case 3:As(t),po();break;case 5:Yo(t);break;case 1:Ii(t.type)&&Fi(t);break;case 4:Ko(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,i=t.memoizedProps.value;Ci(xo,n._currentValue),n._currentValue=i;break;case 13:if(null!==(n=t.memoizedState))return null!==n.dehydrated?(Ci(ea,1&ea.current),t.flags|=128,null):r&t.child.childLanes?Ls(e,t,r):(Ci(ea,1&ea.current),null!==(e=$s(e,t,r))?e.sibling:null);Ci(ea,1&ea.current);break;case 19:if(n=!!(r&t.childLanes),128&e.flags){if(n)return Vs(e,t,r);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ci(ea,ea.current),n)break;return null;case 22:case 23:return t.lanes=0,Os(e,t,r)}return $s(e,t,r)}(e,t,r);vs=!!(131072&e.flags)}else vs=!1,io&&1048576&t.flags&&Ji(t,Gi,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;zs(e,t),e=t.pendingProps;var i=ji(t,_i.current);To(t,r),i=ba(null,t,n,e,i,r);var a=ga();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ii(n)?(a=!0,Fi(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Lo(t),i.updater=is,t.stateNode=i,i._reactInternals=t,ls(t,n,e,r),t=_s(null,t,n,!0,a,r)):(t.tag=0,io&&a&&eo(t),ws(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(zs(e,t),e=t.pendingProps,n=(i=n._init)(n._payload),t.type=n,i=t.tag=function(e){if("function"==typeof e)return Ic(e)?1:0;if(null!=e){if((e=e.$$typeof)===_)return 11;if(e===j)return 14}return 2}(n),e=rs(n,e),i){case 0:t=Cs(null,t,n,e,r);break e;case 1:t=ks(null,t,n,e,r);break e;case 11:t=Es(null,t,n,e,r);break e;case 14:t=Ss(null,t,n,rs(n.type,e),r);break e}throw Error(o(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,Cs(e,t,n,i=t.elementType===n?i:rs(n,i),r);case 1:return n=t.type,i=t.pendingProps,ks(e,t,n,i=t.elementType===n?i:rs(n,i),r);case 3:e:{if(As(t),null===e)throw Error(o(387));n=t.pendingProps,i=(a=t.memoizedState).element,No(e,t),zo(t,n,null,r);var s=t.memoizedState;if(n=s.element,a.isDehydrated){if(a={element:n,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ts(e,t,n,r,i=cs(Error(o(423)),t));break e}if(n!==i){t=Ts(e,t,n,r,i=cs(Error(o(424)),t));break e}for(no=ci(t.stateNode.containerInfo.firstChild),ro=t,io=!0,oo=null,r=So(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(po(),n===i){t=$s(e,t,r);break e}ws(e,t,n,r)}t=t.child}return t;case 5:return Yo(t),null===e&&co(t),n=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,ri(n,i)?s=null:null!==a&&ri(n,a)&&(t.flags|=32),Ps(e,t),ws(e,t,s,r),t.child;case 6:return null===e&&co(t),null;case 13:return Ls(e,t,r);case 4:return Ko(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=Eo(t,null,n,r):ws(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,Es(e,t,n,i=t.elementType===n?i:rs(n,i),r);case 7:return ws(e,t,t.pendingProps,r),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,Ci(xo,n._currentValue),n._currentValue=s,null!==a)if(sn(a.value,s)){if(a.children===i.children&&!Ai.current){t=$s(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===n){if(1===a.tag){(c=Uo(-1,r&-r)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=r,null!==(c=a.alternate)&&(c.lanes|=r),Ao(a.return,r,t),l.lanes|=r;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=r,null!==(l=s.alternate)&&(l.lanes|=r),Ao(s,r,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ws(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,To(t,r),n=n(i=jo(i)),t.flags|=1,ws(e,t,n,r),t.child;case 14:return i=rs(n=t.type,t.pendingProps),Ss(e,t,n,i=rs(n.type,i),r);case 15:return xs(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:rs(n,i),zs(e,t),t.tag=1,Ii(n)?(e=!0,Fi(t)):e=!1,To(t,r),as(t,n,i),ls(t,n,i,r),_s(null,t,n,!0,e,r);case 19:return Vs(e,t,r);case 22:return Os(e,t,r)}throw Error(o(156,t.tag))};var Wc="function"==typeof reportError?reportError:function(e){console.error(e)};function Zc(e){this._internalRoot=e}function Xc(e){this._internalRoot=e}function Kc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Yc(){}function Jc(e,t,r,n,i){var o=r._reactRootContainer;if(o){var a=o;if("function"==typeof i){var s=i;i=function(){var e=$c(a);s.call(e)}}zc(t,a,e,i)}else a=function(e,t,r,n,i){if(i){if("function"==typeof n){var o=n;n=function(){var e=$c(a);o.call(e)}}var a=Vc(t,n,e,0,null,!1,0,"",Yc);return e._reactRootContainer=a,e[pi]=a.current,Vn(8===e.nodeType?e.parentNode:e),uc(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof n){var s=n;n=function(){var e=$c(l);s.call(e)}}var l=Bc(e,0,!1,null,0,!1,0,"",Yc);return e._reactRootContainer=l,e[pi]=l.current,Vn(8===e.nodeType?e.parentNode:e),uc((function(){zc(t,l,r,n)})),l}(r,t,e,i,n);return $c(a)}Xc.prototype.render=Zc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));zc(e,t,null,null)},Xc.prototype.unmount=Zc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc((function(){zc(null,e,null,null)})),t[pi]=null}},Xc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ot();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Dt.length&&0!==t&&t<Dt[r].priority;r++);Dt.splice(r,0,e),0===r&&Lt(e)}},Et=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=dt(t.pendingLanes);0!==r&&(yt(t,1|r),nc(t,Qe()),!(6&_l)&&(Vl=Qe()+500,Vi()))}break;case 13:uc((function(){var t=Ro(e,1);if(null!==t){var r=ec();rc(t,e,1,r)}})),Gc(e,1)}},St=function(e){if(13===e.tag){var t=Ro(e,134217728);null!==t&&rc(t,e,134217728,ec()),Gc(e,134217728)}},xt=function(e){if(13===e.tag){var t=tc(e),r=Ro(e,t);null!==r&&rc(r,e,t,ec()),Gc(e,t)}},Ot=function(){return vt},Pt=function(e,t){var r=vt;try{return vt=e,t()}finally{vt=r}},Se=function(e,t,r){switch(t){case"input":if(Y(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=Ei(n);if(!i)throw Error(o(90));W(n),Y(n,i)}}}break;case"textarea":oe(e,r);break;case"select":null!=(t=r.value)&&re(e,!!r.multiple,t,!1)}},_e=cc,Ae=uc;var eu={usingClientEntryPoint:!1,Events:[vi,wi,Ei,Ce,ke,cc]},tu={findFiberByHostInstance:yi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ru={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=qe(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var nu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nu.isDisabled&&nu.supportsFiber)try{it=nu.inject(ru),ot=nu}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Kc(t))throw Error(o(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},t.createRoot=function(e,t){if(!Kc(e))throw Error(o(299));var r=!1,n="",i=Wc;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Bc(e,1,!1,null,0,r,0,n,i),e[pi]=t.current,Vn(8===e.nodeType?e.parentNode:e),new Zc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return null===(e=qe(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,r){if(!Qc(t))throw Error(o(200));return Jc(null,e,t,!0,r)},t.hydrateRoot=function(e,t,r){if(!Kc(e))throw Error(o(405));var n=null!=r&&r.hydratedSources||null,i=!1,a="",s=Wc;if(null!=r&&(!0===r.unstable_strictMode&&(i=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(s=r.onRecoverableError)),t=Vc(t,null,e,1,null!=r?r:null,i,0,a,s),e[pi]=t.current,Vn(e),n)for(e=0;e<n.length;e++)i=(i=(r=n[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,i]:t.mutableSourceEagerHydrationData.push(r,i);return new Xc(t)},t.render=function(e,t,r){if(!Qc(t))throw Error(o(200));return Jc(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(o(40));return!!e._reactRootContainer&&(uc((function(){Jc(null,null,e,!1,(function(){e._reactRootContainer=null,e[pi]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Qc(r))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Jc(e,t,r,!1,n)},t.version="18.3.1-next-f1338f8080-20240426"},62275:(e,t,r)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(50213)},10173:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case o:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case h:case b:case m:case l:return e;default:return t}}case i:return t}}}function S(e){return E(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=h,t.Fragment=o,t.Lazy=b,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||E(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return E(e)===h},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===b},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===a},t.isSuspense=function(e){return E(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===y||e.$$typeof===v||e.$$typeof===w||e.$$typeof===g)},t.typeOf=E},52305:(e,t,r)=>{"use strict";e.exports=r(10173)},86742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(1986)),i=s(r(39970)),o=s(r(62275)),a=s(r(88072));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a.default||console.error("It looks like Tether has not been included. Please load this dependency first https://github.com/HubSpot/tether");var m=void 0!==o.default.createPortal,b=[i.default.string,i.default.shape({appendChild:i.default.func.isRequired})],g=["auto auto","top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],y=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?f(e):t}(this,d(t).call(this,e)),p(f(f(r)),"_targetNode",null),p(f(f(r)),"_elementParentNode",null),p(f(f(r)),"_tether",null),p(f(f(r)),"_elementComponent",null),p(f(f(r)),"_targetComponent",null),r.updateChildrenComponents(r.props),r}var r,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),r=t,i=[{key:"updateChildrenComponents",value:function(e){var t=n.Children.toArray(e.children);if(this._targetComponent=t[0],this._elementComponent=t[1],this._targetComponent&&this._elementComponent&&this._createContainer(),this._elementParentNode&&this.props.className!==e.className){var r,i,o=(this.props.className||"").split(" ").filter((function(e){return e.length>0})),a=(e.className||"").split(" ").filter((function(e){return e.length>0}));(r=this._elementParentNode.classList).remove.apply(r,c(o)),(i=this._elementParentNode.classList).add.apply(i,c(a))}}},{key:"componentDidMount",value:function(){this._update()}},{key:"componentDidUpdate",value:function(){this._update()}},{key:"componentWillUnmount",value:function(){this._destroy()}},{key:"getTetherInstance",value:function(){return this._tether}},{key:"disable",value:function(){this._tether.disable()}},{key:"enable",value:function(){this._tether.enable()}},{key:"on",value:function(e,t,r){this._tether.on(e,t,r)}},{key:"once",value:function(e,t,r){this._tether.once(e,t,r)}},{key:"off",value:function(e,t){this._tether.off(e,t)}},{key:"position",value:function(){this._tether.position()}},{key:"_registerEventListeners",value:function(){var e=this;this.on("update",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.props.onUpdate&&e.props.onUpdate.apply(e,r)})),this.on("repositioned",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.props.onRepositioned&&e.props.onRepositioned.apply(e,r)}))}},{key:"_destroy",value:function(){this._elementParentNode&&(m||o.default.unmountComponentAtNode(this._elementParentNode),this._elementParentNode.parentNode.removeChild(this._elementParentNode)),this._tether&&this._tether.destroy(),this._elementParentNode=null,this._tether=null,this._targetNode=null,this._targetComponent=null,this._elementComponent=null}},{key:"_createContainer",value:function(){if(!this._elementParentNode){var e=this.props,t=e.renderElementTag,r=e.className;this._elementParentNode=document.createElement(t),this._elementParentNode.className=r||"",this._renderNode.appendChild(this._elementParentNode)}}},{key:"_update",value:function(){var e=this,t=!this._elementComponent||!this._targetComponent;t||(this._targetNode=o.default.findDOMNode(this),t=!this._targetNode),t?this._destroy():m?this._updateTether():o.default.unstable_renderSubtreeIntoContainer(this,this._elementComponent,this._elementParentNode,(function(){e._elementParentNode&&e._updateTether()}))}},{key:"_updateTether",value:function(){var e=this.props,t=(e.children,e.renderElementTag,e.renderElementTo,e.id),r=(e.className,e.style),n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["children","renderElementTag","renderElementTo","id","className","style"]),i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){p(e,t,r[t])}))}return e}({target:this._targetNode,element:this._elementParentNode},n),o=t||"";if(this._elementParentNode.id!==o&&(this._elementParentNode.id=o),r){var s=this._elementParentNode.style;Object.keys(r).forEach((function(e){s[e]!==r[e]&&(s[e]=r[e])}))}this._tether?this._tether.setOptions(i):(this._tether=new a.default(i),this._registerEventListeners()),this._tether.position()}},{key:"render",value:function(){return this._targetComponent?m&&this._elementComponent?[this._targetComponent,o.default.createPortal(this._elementComponent,this._elementParentNode)]:this._targetComponent:null}},{key:"_renderNode",get:function(){var e=this.props.renderElementTo;return"string"==typeof e?document.querySelector(e):e||document.body}}],i&&u(r.prototype,i),t}(n.Component);function v(e){this.updateChildrenComponents(e)}p(y,"propTypes",{renderElementTag:i.default.string,renderElementTo:i.default.oneOfType(b),attachment:i.default.oneOf(g).isRequired,targetAttachment:i.default.oneOf(g),offset:i.default.string,targetOffset:i.default.string,targetModifier:i.default.string,enabled:i.default.bool,classes:i.default.object,classPrefix:i.default.string,optimizations:i.default.object,constraints:i.default.array,id:i.default.string,className:i.default.string,style:i.default.object,onUpdate:i.default.func,onRepositioned:i.default.func,children:function(e,t,r){var i=e.children,o=n.Children.count(i);return o<=0?new Error("".concat(r," expects at least one child to use as the target element.")):o>2?new Error("Only a max of two children allowed in ".concat(r,".")):void 0}}),p(y,"defaultProps",{renderElementTag:"div",renderElementTo:null});var w,E=function(e){if(Array.isArray(e))return e}(w=n.default.version.split(".").map(Number))||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),2!==r.length);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(w)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}(),S=E[0],x=E[1];S<16||16===S&&x<9?y.prototype.componentWillUpdate=v:y.prototype.UNSAFE_componentWillUpdate=v;var O=y;t.default=O},91695:(e,t,r)=>{"use strict";Object.defineProperty(t,"A",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(86742))&&n.__esModule?n:{default:n}},88674:(e,t,r)=>{"use strict";var n=r(1986),i=Symbol.for("react.element"),o=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,l={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)o.call(t,n)&&!s.hasOwnProperty(n)&&(l[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===l[n]&&(l[n]=t[n]);return{$$typeof:i,type:e,key:c,ref:u,props:l,_owner:a.current}}t.jsx=l,t.jsxs=l},16109:(e,t)=>{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,b={};function g(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||p}function y(){}function v(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var w=v.prototype=new y;w.constructor=v,m(w,g.prototype),w.isPureReactComponent=!0;var E=Array.isArray,S=Object.prototype.hasOwnProperty,x={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,n){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,i)&&!O.hasOwnProperty(i)&&(o[i]=t[i]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===o[i]&&(o[i]=l[i]);return{$$typeof:r,type:e,key:a,ref:s,props:o,_owner:x.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var k=/\/+/g;function _(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(e,t,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case r:case n:l=!0}}if(l)return a=a(l=e),e=""===o?"."+_(l,0):o,E(a)?(i="",null!=e&&(i=e.replace(k,"$&/")+"/"),A(a,t,i,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(k,"$&/")+"/")+e)),t.push(a)),1;if(l=0,o=""===o?".":o+":",E(e))for(var c=0;c<e.length;c++){var u=o+_(s=e[c],c);l+=A(s,t,i,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=A(s=s.value,t,i,u=o+_(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function T(e,t,r){if(null==e)return e;var n=[],i=0;return A(e,n,"","",(function(e){return t.call(r,e,i++)})),n}function j(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},D={transition:null},M={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:D,ReactCurrentOwner:x};function R(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:T,forEach:function(e,t,r){T(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=i,t.Profiler=a,t.PureComponent=v,t.StrictMode=o,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.act=R,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=x.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)S.call(t,c)&&!O.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}return{$$typeof:r,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=P,t.createFactory=function(e){var t=P.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:j}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=R,t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,r){return I.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,r){return I.current.useReducer(e,t,r)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return I.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return I.current.useTransition()},t.version="18.3.1"},1986:(e,t,r)=>{"use strict";e.exports=r(16109)},55562:(e,t,r)=>{"use strict";e.exports=r(88674)},46414:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),s=new T(n||[]);return i(a,"_invoke",{value:C(e,r,s)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var h="suspendedStart",f="suspendedYield",p="executing",m="completed",b={};function g(){}function y(){}function v(){}var w={};c(w,a,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(j([])));S&&S!==r&&n.call(S,a)&&(w=S);var x=v.prototype=g.prototype=Object.create(w);function O(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(i,o,a,s){var l=d(e[i],e,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var o;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){r(e,n,t,i)}))}return o=o?o.then(i,i):i()}})}function C(e,r,n){var i=h;return function(o,a){if(i===p)throw new Error("Generator is already running");if(i===m){if("throw"===o)throw a;return{value:t,done:!0}}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===b)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===h)throw i=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=p;var c=d(e,r,n);if("normal"===c.type){if(i=n.done?m:f,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=m,n.method="throw",n.arg=c.arg)}}}function k(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var o=d(i,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,b;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,b):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function j(e){if(null!=e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},O(P.prototype),c(P.prototype,s,(function(){return this})),e.AsyncIterator=P,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new P(u(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(x),c(x,l,"Generator"),c(x,a,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=j,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;A(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:j(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),b}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},97245:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,i=e[n];if(!(0<o(i,t)))break e;e[n]=t,e[r]=i,r=n}}function n(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,i=e.length,a=i>>>1;n<a;){var s=2*(n+1)-1,l=e[s],c=s+1,u=e[c];if(0>o(l,r))c<i&&0>o(u,l)?(e[n]=u,e[c]=r,n=c):(e[n]=l,e[s]=r,n=s);else{if(!(c<i&&0>o(u,r)))break e;e[n]=u,e[c]=r,n=c}}}return t}function o(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,h=null,f=3,p=!1,m=!1,b=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=n(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,r(c,t)}t=n(u)}}function E(e){if(b=!1,w(e),!m)if(null!==n(c))m=!0,D(S);else{var t=n(u);null!==t&&M(E,t.startTime-e)}}function S(e,r){m=!1,b&&(b=!1,y(C),C=-1),p=!0;var o=f;try{for(w(r),h=n(c);null!==h&&(!(h.expirationTime>r)||e&&!A());){var a=h.callback;if("function"==typeof a){h.callback=null,f=h.priorityLevel;var s=a(h.expirationTime<=r);r=t.unstable_now(),"function"==typeof s?h.callback=s:h===n(c)&&i(c),w(r)}else i(c);h=n(c)}if(null!==h)var l=!0;else{var d=n(u);null!==d&&M(E,d.startTime-r),l=!1}return l}finally{h=null,f=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,O=!1,P=null,C=-1,k=5,_=-1;function A(){return!(t.unstable_now()-_<k)}function T(){if(null!==P){var e=t.unstable_now();_=e;var r=!0;try{r=P(!0,e)}finally{r?x():(O=!1,P=null)}}else O=!1}if("function"==typeof v)x=function(){v(T)};else if("undefined"!=typeof MessageChannel){var j=new MessageChannel,I=j.port2;j.port1.onmessage=T,x=function(){I.postMessage(null)}}else x=function(){g(T,0)};function D(e){P=e,O||(O=!0,x())}function M(e,r){C=g((function(){e(t.unstable_now())}),r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,D(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return n(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var r=f;f=t;try{return e()}finally{f=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=f;f=e;try{return t()}finally{f=r}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,r(u,e),null===n(c)&&e===n(u)&&(b?(y(C),C=-1):b=!0,M(E,o-a))):(e.sortIndex=s,r(c,e),m||p||(m=!0,D(S))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}},40552:(e,t,r)=>{"use strict";e.exports=r(97245)},12010:e=>{"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},88072:function(e,t){var r,n;r=function(){"use strict";var e=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=void 0;void 0===r&&(r={modules:[]});var n=null;function i(e){var t=e.getBoundingClientRect(),r={};for(var n in t)r[n]=t[n];try{if(e.ownerDocument!==document){var o=e.ownerDocument.defaultView.frameElement;if(o){var a=i(o);r.top+=a.top,r.bottom+=a.top,r.left+=a.left,r.right+=a.left}}}catch(e){}return r}function o(e){var t=(getComputedStyle(e)||{}).position,r=[];if("fixed"===t)return[e];for(var n=e;(n=n.parentNode)&&n&&1===n.nodeType;){var i=void 0;try{i=getComputedStyle(n)}catch(e){}if(null==i)return r.push(n),r;var o=i,a=o.overflow,s=o.overflowX,l=o.overflowY;/(auto|scroll|overlay)/.test(a+l+s)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(i.position)>=0)&&r.push(n)}return r.push(e.ownerDocument.body),e.ownerDocument!==document&&r.push(e.ownerDocument.defaultView),r}var a,s=(a=0,function(){return++a}),l={},c=function(){var e=n;e&&document.body.contains(e)||((e=document.createElement("div")).setAttribute("data-tether-id",s()),m(e.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(e),n=e);var t=e.getAttribute("data-tether-id");return void 0===l[t]&&(l[t]=i(e),x((function(){delete l[t]}))),l[t]};function u(){n&&document.body.removeChild(n),n=null}function d(e){var t=void 0;e===document?(t=document,e=document.documentElement):t=e.ownerDocument;var r=t.documentElement,n=i(e),o=c();return n.top-=o.top,n.left-=o.left,void 0===n.width&&(n.width=document.body.scrollWidth-n.left-n.right),void 0===n.height&&(n.height=document.body.scrollHeight-n.top-n.bottom),n.top=n.top-r.clientTop,n.left=n.left-r.clientLeft,n.right=t.body.clientWidth-n.width-n.left,n.bottom=t.body.clientHeight-n.height-n.top,n}function h(e){return e.offsetParent||document.documentElement}var f=null;function p(){if(f)return f;var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");m(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);var r=e.offsetWidth;t.style.overflow="scroll";var n=e.offsetWidth;r===n&&(n=t.clientWidth),document.body.removeChild(t);var i=r-n;return f={width:i,height:i}}function m(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])})),e}function b(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}));else{var r=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi"),n=v(e).replace(r," ");w(e,n)}}function g(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}));else{b(e,t);var r=v(e)+" "+t;w(e,r)}}function y(e,t){if(void 0!==e.classList)return e.classList.contains(t);var r=v(e);return new RegExp("(^| )"+t+"( |$)","gi").test(r)}function v(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className}function w(e,t){e.setAttribute("class",t)}function E(e,t,r){r.forEach((function(r){-1===t.indexOf(r)&&y(e,r)&&b(e,r)})),t.forEach((function(t){y(e,t)||g(e,t)}))}var S=[],x=function(e){S.push(e)},O=function(){for(var e=void 0;e=S.pop();)e()},P=function(){function r(){t(this,r)}return e(r,[{key:"on",value:function(e,t,r){var n=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[e]&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:r,once:n})}},{key:"once",value:function(e,t,r){this.on(e,t,r,!0)}},{key:"off",value:function(e,t){if(void 0!==this.bindings&&void 0!==this.bindings[e])if(void 0===t)delete this.bindings[e];else for(var r=0;r<this.bindings[e].length;)this.bindings[e][r].handler===t?this.bindings[e].splice(r,1):++r}},{key:"trigger",value:function(e){if(void 0!==this.bindings&&this.bindings[e]){for(var t=0,r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];for(;t<this.bindings[e].length;){var o=this.bindings[e][t],a=o.handler,s=o.ctx,l=o.once,c=s;void 0===c&&(c=this),a.apply(c,n),l?this.bindings[e].splice(t,1):++t}}}}]),r}();r.Utils={getActualBoundingClientRect:i,getScrollParents:o,getBounds:d,getOffsetParent:h,extend:m,addClass:g,removeClass:b,hasClass:y,updateClasses:E,defer:x,flush:O,uniqueId:s,Evented:P,getScrollBarSize:p,removeUtilElements:u};var C=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},k=(e=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),function(e,t,r){for(var n=!0;n;){var i=e,o=t,a=r;n=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,o);if(void 0!==s){if("value"in s)return s.value;var l=s.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return;e=c,t=o,r=a,n=!0,s=c=void 0}});function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}if(void 0===r)throw new Error("You must include the utils.js file before tether.js");var o=(Z=r.Utils).getScrollParents,h=(d=Z.getBounds,Z.getOffsetParent),g=(m=Z.extend,Z.addClass),b=Z.removeClass,p=(E=Z.updateClasses,x=Z.defer,O=Z.flush,Z.getScrollBarSize),u=Z.removeUtilElements;function _(e,t){var r=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return e+r>=t&&t>=e-r}var A,T,j,I,D=function(){if("undefined"==typeof document)return"";for(var e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],r=0;r<t.length;++r){var n=t[r];if(void 0!==e.style[n])return n}}(),M=[],R=function(){M.forEach((function(e){e.position(!1)})),O()};function F(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}A=null,T=null,j=null,I=function e(){if(void 0!==T&&T>16)return T=Math.min(T-16,250),void(j=setTimeout(e,250));void 0!==A&&F()-A<10||(null!=j&&(clearTimeout(j),j=null),A=F(),R(),T=F()-A)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,I)}));var L={center:"center",left:"right",right:"left"},N={middle:"middle",top:"bottom",bottom:"top"},U={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},B=function(e){var t=e.left,r=e.top;return void 0!==U[e.left]&&(t=U[e.left]),void 0!==U[e.top]&&(r=U[e.top]),{left:t,top:r}};function H(){for(var e={top:0,left:0},t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){var r=t.top,n=t.left;"string"==typeof r&&(r=parseFloat(r,10)),"string"==typeof n&&(n=parseFloat(n,10)),e.top+=r,e.left+=n})),e}function V(e,t){return"string"==typeof e.left&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left,10)/100*t.width),"string"==typeof e.top&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top,10)/100*t.height),e}var z=function(e){var t=e.split(" "),r=C(t,2);return{top:r[0],left:r[1]}},$=z,q=function(n){function i(e){var n=this;t(this,i),k(Object.getPrototypeOf(i.prototype),"constructor",this).call(this),this.position=this.position.bind(this),M.push(this),this.history=[],this.setOptions(e,!1),r.modules.forEach((function(e){void 0!==e.initialize&&e.initialize.call(n)})),this.position()}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,n),e(i,[{key:"getClass",value:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.classes;return void 0!==t&&t[e]?this.options.classes[e]:this.options.classPrefix?this.options.classPrefix+"-"+e:e}},{key:"setOptions",value:function(e){var t=this,r=arguments.length<=1||void 0===arguments[1]||arguments[1];this.options=m({offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"},e);var n=this.options,i=n.element,a=n.target,s=n.targetModifier;if(this.element=i,this.target=a,this.targetModifier=s,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(void 0===t[e])throw new Error("Tether Error: Both element and target must be defined");void 0!==t[e].jquery?t[e]=t[e][0]:"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),g(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&g(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=$(this.options.targetAttachment),this.attachment=$(this.options.attachment),this.offset=z(this.options.offset),this.targetOffset=z(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=o(this.target),!1!==this.options.enabled&&this.enable(r)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return d(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((o={height:(e=d(this.target)).height,width:e.width,top:e.top,left:e.left}).height=Math.min(o.height,e.height-(pageYOffset-e.top)),o.height=Math.min(o.height,e.height-(e.top+e.height-(pageYOffset+innerHeight))),o.height=Math.min(innerHeight,o.height),o.height-=2,o.width=Math.min(o.width,e.width-(pageXOffset-e.left)),o.width=Math.min(o.width,e.width-(e.left+e.width-(pageXOffset+innerWidth))),o.width=Math.min(innerWidth,o.width),o.width-=2,o.top<pageYOffset&&(o.top=pageYOffset),o.left<pageXOffset&&(o.left=pageXOffset),o);if("scroll-handle"===this.targetModifier){var e=void 0,t=this.target;t===document.body?(t=document.documentElement,e={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):e=d(t);var r=getComputedStyle(t),n=0;(t.scrollWidth>t.clientWidth||[r.overflow,r.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(n=15);var i=e.height-parseFloat(r.borderTopWidth)-parseFloat(r.borderBottomWidth)-n,o={width:15,height:.975*i*(i/t.scrollHeight),left:e.left+e.width-parseFloat(r.borderLeftWidth)-15},a=0;i<408&&this.target===document.body&&(a=-11e-5*Math.pow(i,2)-.00727*i+22.58),this.target!==document.body&&(o.height=Math.max(o.height,24));var s=this.target.scrollTop/(t.scrollHeight-i);return o.top=s*(i-o.height-a)+e.top+parseFloat(r.borderTopWidth),this.target===document.body&&(o.height=Math.max(o.height,24)),o}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(e,t){return void 0===this._cache&&(this._cache={}),void 0===this._cache[e]&&(this._cache[e]=t.call(this)),this._cache[e]}},{key:"enable",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&g(this.target,this.getClass("enabled")),g(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach((function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)})),t&&this.position()}},{key:"disable",value:function(){var e=this;b(this.target,this.getClass("enabled")),b(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.position)}))}},{key:"destroy",value:function(){var e=this;this.disable(),M.forEach((function(t,r){t===e&&M.splice(r,1)})),0===M.length&&u()}},{key:"updateAttachClasses",value:function(e,t){var r=this;e=e||this.attachment,t=t||this.targetAttachment;void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var n=this._addAttachClasses;e.top&&n.push(this.getClass("element-attached")+"-"+e.top),e.left&&n.push(this.getClass("element-attached")+"-"+e.left),t.top&&n.push(this.getClass("target-attached")+"-"+t.top),t.left&&n.push(this.getClass("target-attached")+"-"+t.left);var i=[];["left","top","bottom","right","middle","center"].forEach((function(e){i.push(r.getClass("element-attached")+"-"+e),i.push(r.getClass("target-attached")+"-"+e)})),x((function(){void 0!==r._addAttachClasses&&(E(r.element,r._addAttachClasses,i),!1!==r.options.addTargetClasses&&E(r.target,r._addAttachClasses,i),delete r._addAttachClasses)}))}},{key:"position",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var n=function(e,t){var r=e.left,n=e.top;return"auto"===r&&(r=L[t.left]),"auto"===n&&(n=N[t.top]),{left:r,top:n}}(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var i=this.cache("element-bounds",(function(){return d(e.element)})),o=i.width,a=i.height;if(0===o&&0===a&&void 0!==this.lastSize){var s=this.lastSize;o=s.width,a=s.height}else this.lastSize={width:o,height:a};var l=this.cache("target-bounds",(function(){return e.getTargetBounds()})),c=l,u=V(B(this.attachment),{width:o,height:a}),f=V(B(n),c),m=V(this.offset,{width:o,height:a}),b=V(this.targetOffset,c);u=H(u,m),f=H(f,b);for(var g=l.left+f.left-u.left,y=l.top+f.top-u.top,v=0;v<r.modules.length;++v){var w=r.modules[v].position.call(this,{left:g,top:y,targetAttachment:n,targetPos:l,elementPos:i,offset:u,targetOffset:f,manualOffset:m,manualTargetOffset:b,scrollbarSize:P,attachment:this.attachment});if(!1===w)return!1;void 0!==w&&"object"==typeof w&&(y=w.top,g=w.left)}var E={page:{top:y,left:g},viewport:{top:y-pageYOffset,bottom:pageYOffset-y-a+innerHeight,left:g-pageXOffset,right:pageXOffset-g-o+innerWidth}},S=this.target.ownerDocument,x=S.defaultView,P=void 0;return x.innerHeight>S.documentElement.clientHeight&&(P=this.cache("scrollbar-size",p),E.viewport.bottom-=P.height),x.innerWidth>S.documentElement.clientWidth&&(P=this.cache("scrollbar-size",p),E.viewport.right-=P.width),-1!==["","static"].indexOf(S.body.style.position)&&-1!==["","static"].indexOf(S.body.parentElement.style.position)||(E.page.bottom=S.body.scrollHeight-y-a,E.page.right=S.body.scrollWidth-g-o),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var t=e.cache("target-offsetparent",(function(){return h(e.target)})),r=e.cache("target-offsetparent-bounds",(function(){return d(t)})),n=getComputedStyle(t),i=r,o={};if(["Top","Left","Bottom","Right"].forEach((function(e){o[e.toLowerCase()]=parseFloat(n["border"+e+"Width"])})),r.right=S.body.scrollWidth-r.left-i.width+o.right,r.bottom=S.body.scrollHeight-r.top-i.height+o.bottom,E.page.top>=r.top+o.top&&E.page.bottom>=r.bottom&&E.page.left>=r.left+o.left&&E.page.right>=r.right){var a=t.scrollTop,s=t.scrollLeft;E.offset={top:E.page.top-r.top+a-o.top,left:E.page.left-r.left+s-o.left}}}(),this.move(E),this.history.unshift(E),this.history.length>3&&this.history.pop(),t&&O(),!0}}},{key:"move",value:function(e){var t,r,n=this;if(void 0!==this.element.parentNode){var i={};for(var o in e)for(var a in i[o]={},e[o]){for(var s=!1,l=0;l<this.history.length;++l){var c=this.history[l];if(void 0!==c[o]&&!_(c[o][a],e[o][a])){s=!0;break}}s||(i[o][a]=!0)}var u={top:"",left:"",right:"",bottom:""},d=function(e,t){if(!1!==(void 0!==n.options.optimizations?n.options.optimizations.gpu:null)){var r=void 0,i=void 0;e.top?(u.top=0,r=t.top):(u.bottom=0,r=-t.bottom),e.left?(u.left=0,i=t.left):(u.right=0,i=-t.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(i=Math.round(i*devicePixelRatio)/devicePixelRatio,r=Math.round(r*devicePixelRatio)/devicePixelRatio),u[D]="translateX("+i+"px) translateY("+r+"px)","msTransform"!==D&&(u[D]+=" translateZ(0)")}else e.top?u.top=t.top+"px":u.bottom=t.bottom+"px",e.left?u.left=t.left+"px":u.right=t.right+"px"},f=!1;if((i.page.top||i.page.bottom)&&(i.page.left||i.page.right)?(u.position="absolute",d(i.page,e.page)):(i.viewport.top||i.viewport.bottom)&&(i.viewport.left||i.viewport.right)?(u.position="fixed",d(i.viewport,e.viewport)):void 0!==i.offset&&i.offset.top&&i.offset.left?function(){u.position="absolute";var t=n.cache("target-offsetparent",(function(){return h(n.target)}));h(n.element)!==t&&x((function(){n.element.parentNode.removeChild(n.element),t.appendChild(n.element)})),d(i.offset,e.offset),f=!0}():(u.position="absolute",d({top:!0,left:!0},e.page)),!f)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var p=!0,b=this.element.parentNode;b&&1===b.nodeType&&"BODY"!==b.tagName&&(r=void 0,((r=(t=b).ownerDocument).fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement)!==t);){if("static"!==getComputedStyle(b).position){p=!1;break}b=b.parentNode}p||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var g={},y=!1;for(var a in u){var v=u[a];this.element.style[a]!==v&&(y=!0,g[a]=v)}y&&x((function(){m(n.element.style,g),n.trigger("repositioned")}))}}}]),i}(P);q.modules=[],r.position=R;var G=m(q,r);C=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},d=(Z=r.Utils).getBounds;var m=Z.extend,W=(E=Z.updateClasses,x=Z.defer,["left","top","right","bottom"]);r.modules.push({position:function(e){var t=this,r=e.top,n=e.left,i=e.targetAttachment;if(!this.options.constraints)return!0;var o=this.cache("element-bounds",(function(){return d(t.element)})),a=o.height,s=o.width;if(0===s&&0===a&&void 0!==this.lastSize){var l=this.lastSize;s=l.width,a=l.height}var c=this.cache("target-bounds",(function(){return t.getTargetBounds()})),u=c.height,h=c.width,f=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(e){var t=e.outOfBoundsClass,r=e.pinnedClass;t&&f.push(t),r&&f.push(r)})),f.forEach((function(e){["left","top","right","bottom"].forEach((function(t){f.push(e+"-"+t)}))}));var p=[],b=m({},i),g=m({},this.attachment);return this.options.constraints.forEach((function(e){var o=e.to,l=e.attachment,c=e.pin;void 0===l&&(l="");var f=void 0,m=void 0;if(l.indexOf(" ")>=0){var y=l.split(" "),v=C(y,2);m=v[0],f=v[1]}else f=m=l;var w=function(e,t){return"scrollParent"===t?t=e.scrollParents[0]:"window"===t&&(t=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),t===document&&(t=t.documentElement),void 0!==t.nodeType&&function(){var e=t,r=d(t),n=r,i=getComputedStyle(t);if(t=[n.left,n.top,r.width+n.left,r.height+n.top],e.ownerDocument!==document){var o=e.ownerDocument.defaultView;t[0]+=o.pageXOffset,t[1]+=o.pageYOffset,t[2]+=o.pageXOffset,t[3]+=o.pageYOffset}W.forEach((function(e,r){"Top"===(e=e[0].toUpperCase()+e.substr(1))||"Left"===e?t[r]+=parseFloat(i["border"+e+"Width"]):t[r]-=parseFloat(i["border"+e+"Width"])}))}(),t}(t,o);"target"!==m&&"both"!==m||(r<w[1]&&"top"===b.top&&(r+=u,b.top="bottom"),r+a>w[3]&&"bottom"===b.top&&(r-=u,b.top="top")),"together"===m&&("top"===b.top&&("bottom"===g.top&&r<w[1]?(r+=u,b.top="bottom",r+=a,g.top="top"):"top"===g.top&&r+a>w[3]&&r-(a-u)>=w[1]&&(r-=a-u,b.top="bottom",g.top="bottom")),"bottom"===b.top&&("top"===g.top&&r+a>w[3]?(r-=u,b.top="top",r-=a,g.top="bottom"):"bottom"===g.top&&r<w[1]&&r+(2*a-u)<=w[3]&&(r+=a-u,b.top="top",g.top="top")),"middle"===b.top&&(r+a>w[3]&&"top"===g.top?(r-=a,g.top="bottom"):r<w[1]&&"bottom"===g.top&&(r+=a,g.top="top"))),"target"!==f&&"both"!==f||(n<w[0]&&"left"===b.left&&(n+=h,b.left="right"),n+s>w[2]&&"right"===b.left&&(n-=h,b.left="left")),"together"===f&&(n<w[0]&&"left"===b.left?"right"===g.left?(n+=h,b.left="right",n+=s,g.left="left"):"left"===g.left&&(n+=h,b.left="right",n-=s,g.left="right"):n+s>w[2]&&"right"===b.left?"left"===g.left?(n-=h,b.left="left",n-=s,g.left="right"):"right"===g.left&&(n-=h,b.left="left",n+=s,g.left="left"):"center"===b.left&&(n+s>w[2]&&"left"===g.left?(n-=s,g.left="right"):n<w[0]&&"right"===g.left&&(n+=s,g.left="left"))),"element"!==m&&"both"!==m||(r<w[1]&&"bottom"===g.top&&(r+=a,g.top="top"),r+a>w[3]&&"top"===g.top&&(r-=a,g.top="bottom")),"element"!==f&&"both"!==f||(n<w[0]&&("right"===g.left?(n+=s,g.left="left"):"center"===g.left&&(n+=s/2,g.left="left")),n+s>w[2]&&("left"===g.left?(n-=s,g.left="right"):"center"===g.left&&(n-=s/2,g.left="right"))),"string"==typeof c?c=c.split(",").map((function(e){return e.trim()})):!0===c&&(c=["top","left","right","bottom"]),c=c||[];var E,S,x=[],O=[];r<w[1]&&(c.indexOf("top")>=0?(r=w[1],x.push("top")):O.push("top")),r+a>w[3]&&(c.indexOf("bottom")>=0?(r=w[3]-a,x.push("bottom")):O.push("bottom")),n<w[0]&&(c.indexOf("left")>=0?(n=w[0],x.push("left")):O.push("left")),n+s>w[2]&&(c.indexOf("right")>=0?(n=w[2]-s,x.push("right")):O.push("right")),x.length&&(void 0,E=void 0!==t.options.pinnedClass?t.options.pinnedClass:t.getClass("pinned"),p.push(E),x.forEach((function(e){p.push(E+"-"+e)}))),O.length&&(void 0,S=void 0!==t.options.outOfBoundsClass?t.options.outOfBoundsClass:t.getClass("out-of-bounds"),p.push(S),O.forEach((function(e){p.push(S+"-"+e)}))),(x.indexOf("left")>=0||x.indexOf("right")>=0)&&(g.left=b.left=!1),(x.indexOf("top")>=0||x.indexOf("bottom")>=0)&&(g.top=b.top=!1),b.top===i.top&&b.left===i.left&&g.top===t.attachment.top&&g.left===t.attachment.left||(t.updateAttachClasses(g,b),t.trigger("update",{attachment:g,targetAttachment:b}))})),x((function(){!1!==t.options.addTargetClasses&&E(t.target,p,f),E(t.element,p,f)})),{top:r,left:n}}});var Z,d=(Z=r.Utils).getBounds,E=Z.updateClasses;return x=Z.defer,r.modules.push({position:function(e){var t=this,r=e.top,n=e.left,i=this.cache("element-bounds",(function(){return d(t.element)})),o=i.height,a=i.width,s=this.getTargetBounds(),l=r+o,c=n+a,u=[];r<=s.bottom&&l>=s.top&&["left","right"].forEach((function(e){var t=s[e];t!==n&&t!==c||u.push(e)})),n<=s.right&&c>=s.left&&["top","bottom"].forEach((function(e){var t=s[e];t!==r&&t!==l||u.push(e)}));var h=[],f=[];return h.push(this.getClass("abutted")),["left","top","right","bottom"].forEach((function(e){h.push(t.getClass("abutted")+"-"+e)})),u.length&&f.push(this.getClass("abutted")),u.forEach((function(e){f.push(t.getClass("abutted")+"-"+e)})),x((function(){!1!==t.options.addTargetClasses&&E(t.target,f,h),E(t.element,f,h)})),!0}}),C=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r.modules.push({position:function(e){var t=e.top,r=e.left;if(this.options.shift){var n=this.options.shift;"function"==typeof this.options.shift&&(n=this.options.shift.call(this,{top:t,left:r}));var i=void 0,o=void 0;if("string"==typeof n){(n=n.split(" "))[1]=n[1]||n[0];var a=C(n,2);i=a[0],o=a[1],i=parseFloat(i,10),o=parseFloat(o,10)}else i=n.top,o=n.left;return{top:t+=i,left:r+=o}}}}),G},void 0===(n=r.apply(t,[]))||(e.exports=n)},78444:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,o(r)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=a(t,r));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.amdO={},__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var __webpack_exports__={};(()=>{"use strict";__webpack_require__(46414);var e=__webpack_require__(1986),t=__webpack_require__(62275),r=__webpack_require__(57825),n=__webpack_require__.n(r);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a={language:"en-US",messages:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},{"be.accessStatsPermissionsError":"Sorry, you do not have permission to see the access stats for this file.","be.activityFeed.fullDateTime":"{time, date, full} at {time, time, short}","be.activityFeedItemApiError":"There was a problem loading the activity feed. Please refresh the page or try again later.","be.activitySidebar.activityFeed.annotationMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.commentMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.feedInlineErrorTitle":"Error","be.activitySidebar.activityFeed.hideReplies":"Hide replies","be.activitySidebar.activityFeed.reply":"Reply","be.activitySidebar.activityFeed.replyInThread":"Reply in thread","be.activitySidebar.activityFeed.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.activitySidebar.activityFeed.taskMissingError":"This task no longer exists","be.activitySidebarFilter.status.allActivity":"All Activity","be.activitySidebarFilter.status.allComments":"All Comments","be.activitySidebarFilter.status.open":"Unresolved Comments","be.activitySidebarFilter.status.resolved":"Resolved Comments","be.activitySidebarFilter.status.tasks":"Tasks","be.add":"Add","be.additionalTab.blockedByShieldAccessPolicy":"Use of this app is blocked due to a security policy.","be.annotationThread.errorDeleteAnnotation":"There was an error deleting this item.","be.annotationThread.errorEditAnnotation":"This annotation could not be modified.","be.annotattionThread.errorFetchAnnotation":"The annotation could not be fetched.","be.api.appActivityDeleteErrorMessage":"There was an error deleting this item.","be.api.commentCreateConflictMessage":"This comment already exists.","be.api.commentCreateErrorMessage":"There was an error creating this comment.","be.api.commentDeleteErrorMessage":"There was an error deleting this comment.","be.api.commentUpdateErrorMessage":"This comment could not be modified.","be.api.repliesFetchErrorMessage":"The replies to this comment could not be loaded.","be.api.taskActionErrorTitle":"Error","be.api.taskApproveErrorMessage":"An error has occurred while approving this task. Please refresh the page and try again.","be.api.taskCompleteErrorMessage":"An error has occurred while completing this task. Please refresh the page and try again.","be.api.taskCreateErrorMessage":"An error occurred while creating this task. Please try again.","be.api.taskDeleteErrorMessage":"There was an error while deleting this task. Please refresh the page and try again.","be.api.taskGroupExceedsWarningTitle":"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group.","be.api.taskRejectErrorMessage":"An error has occurred while rejecting this task. Please refresh the page and try again.","be.appActivity.altIcon":"{appActivityName} Icon","be.appActivity.deleteMenuItem":"Delete","be.appActivity.deletePrompt":"Are you sure you want to permanently delete this app activity?","be.archive":"Archive","be.archivedFolder":"Archived Folder","be.back":"Back","be.bookmark":"Bookmark","be.boxEditBlacklistedError":"This file cannot be opened locally","be.boxEditErrorBlockedByPolicy":"Local editing of this content has been disabled based on an access policy","be.boxToolsInstallMessage":"Install {boxTools} to open this file on your desktop","be.breadcrumb.breadcrumbLabel":"Breadcrumb","be.cancel":"Cancel","be.choose":"Choose","be.clearSelection":"Clear selection","be.close":"Close","be.collaboratedFolder":"Collaborated Folder","be.collapse":"Collapse","be.complete":"Complete","be.contentInsights.contentAnalyticsErrorText":"There was a problem loading content insights. Please try again.","be.contentInsights.contentAnalyticsPermissionError":"Oops! You no longer have access to view content insights.","be.contentInsights.contentInsightsTitle":"Content Insights","be.contentInsights.downloadGraphLabel":"Chart displaying the number of downloads over the selected time period","be.contentInsights.downloadGraphType":"DOWNLOADS","be.contentInsights.openContentInsightsButton":"See Details","be.contentInsights.peopleGraphLabel":"Chart displaying the number of users over the selected time period","be.contentInsights.peopleTitle":"PEOPLE","be.contentInsights.previewGraphLabel":"Chart displaying the number of previews over the selected time period","be.contentInsights.previewGraphType":"PREVIEWS","be.contentInsights.trendDown":"Trending down","be.contentInsights.trendMonth":"PAST MONTH","be.contentInsights.trendThreeMonths":"PAST 3 MONTHS","be.contentInsights.trendUp":"Trending up","be.contentInsights.trendWeek":"PAST WEEK","be.contentInsights.trendYear":"PAST YEAR","be.contentSharing.badRequestError":"The request for this item was malformed.","be.contentSharing.collaboratorsLoadingError":"Could not retrieve collaborators for this item.","be.contentSharing.defaultErrorNoticeText":"Something went wrong. Please try again later.","be.contentSharing.errorNoticeIcon":"Error","be.contentSharing.getContactsError":"Could not retrieve contacts.","be.contentSharing.groupContactLabel":"Group","be.contentSharing.loadingError":"Could not load shared link for this item.","be.contentSharing.noAccessError":"You do not have access to this item.","be.contentSharing.notFoundError":"Could not find shared link for this item.","be.contentSharing.noticeCloseLabel":"Close","be.contentSharing.sendInvitationsError":"{count, plural, one {Failed to invite a collaborator.} other {Failed to invite {count} collaborators.}}","be.contentSharing.sendInvitationsSuccess":"{count, plural, one {Successfully invited a collaborator.} other {Successfully invited {count} collaborators.}}","be.contentSharing.sendInvitesError":"Could not send invites.","be.contentSharing.sendInvitesSuccess":"Successfully invited collaborators.","be.contentSharing.sharedLinkRemovalSuccess":"The shared link for this item was removed.","be.contentSharing.sharedLinkSettingsUpdateSuccess":"The shared link for this item was successfully updated.","be.contentSharing.sharedLinkUpdateError":"Could not update the shared link for this item.","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.annotationActivity.annotationActivityEditMenuItem":"Modify","be.contentSidebar.activityFeed.annotationActivity.annotationActivityPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.annotationActivity.annotationActivityResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.annotationActivity.annotationActivityUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.annotationActivityPageItem":"Page {number}","be.contentSidebar.activityFeed.annotationActivityVersionLink":"Version {number}","be.contentSidebar.activityFeed.annotationActivityVersionUnavailable":"Version Unavailable","be.contentSidebar.activityFeed.comment.commentDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.comment.commentDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.comment.commentEditMenuItem":"Modify","be.contentSidebar.activityFeed.comment.commentPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.comment.commentResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.comment.commentUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.comment.hideReplies":"Hide replies","be.contentSidebar.activityFeed.comment.inlineCommentAnnotationIconTitle":"Inline Comment","be.contentSidebar.activityFeed.comment.reply":"Reply","be.contentSidebar.activityFeed.comment.replyInThread":"Reply in thread","be.contentSidebar.activityFeed.comment.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.contentSidebar.activityFeed.commentForm.approvalAddAssignee":"Add an assignee","be.contentSidebar.activityFeed.commentForm.approvalAddTask":"Add Task","be.contentSidebar.activityFeed.commentForm.approvalAddTaskTooltip":"Assigning a task to someone will send them a notification with the message in the comment box and allow them to approve or deny.","be.contentSidebar.activityFeed.commentForm.approvalAssignees":"Assignees","be.contentSidebar.activityFeed.commentForm.approvalDueDate":"Due Date","be.contentSidebar.activityFeed.commentForm.approvalSelectDate":"Select a date","be.contentSidebar.activityFeed.commentForm.atMentionTip":"@mention users to notify them.","be.contentSidebar.activityFeed.commentForm.atMentionTipDescription":"Use the @ symbol to mention users and use the up and down arrow keys to scroll through autocomplete suggestions.","be.contentSidebar.activityFeed.commentForm.commentCancel":"Cancel","be.contentSidebar.activityFeed.commentForm.commentLabel":"Write a comment","be.contentSidebar.activityFeed.commentForm.commentPost":"Post","be.contentSidebar.activityFeed.commentForm.commentTimestampLabel":"Comment with timestamp","be.contentSidebar.activityFeed.commentForm.commentWrite":"Write a comment","be.contentSidebar.activityFeed.commmon.showOriginalMessage":"Show Original","be.contentSidebar.activityFeed.common.activityStatusResolved":"RESOLVED","be.contentSidebar.activityFeed.common.editedMessage":" (edited)","be.contentSidebar.activityFeed.common.seeLessMessage":"See less","be.contentSidebar.activityFeed.common.seeMoreMessage":"See more","be.contentSidebar.activityFeed.common.timestampLabel":"Seek to video timestamp","be.contentSidebar.activityFeed.common.translateMessage":"Translate","be.contentSidebar.activityFeed.task.approvalTaskAnnotationIconTitle":"Approval Task","be.contentSidebar.activityFeed.task.generalTaskAnnotationIconTitle":"General Task","be.contentSidebar.activityFeed.task.taskAnyAffordanceTooltip":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.task.taskDeleteMenuItem":"Delete task","be.contentSidebar.activityFeed.task.taskDeletePrompt":"Are you sure you want to permanently delete this task?","be.contentSidebar.activityFeed.task.taskEditMenuItem":"Modify task","be.contentSidebar.activityFeed.task.taskMultipleFilesAffordanceTooltip":"There are multiple files associated with this task","be.contentSidebar.activityFeed.taskForm.taskAnyCheckboxLabel":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.taskForm.taskAnyInfoGroupTooltip":"Selecting this option will require only one assignee to complete this task. This will include assignees across all groups.","be.contentSidebar.activityFeed.taskForm.taskAnyInfoTooltip":"By default, all assignees are required to take action before a task is complete. Selecting this option will require only one assignee to complete this task.","be.contentSidebar.activityFeed.taskForm.taskApprovalAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now approved.","be.contentSidebar.activityFeed.taskForm.taskCreateErrorTitle":"Error","be.contentSidebar.activityFeed.taskForm.taskCreateGroupLabel":"Group","be.contentSidebar.activityFeed.taskForm.taskEditWarningTitle":"Task Updated with Errors","be.contentSidebar.activityFeed.taskForm.taskGeneralAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now completed.","be.contentSidebar.activityFeed.taskForm.taskGroupExceedsWarningTitle":"Exceeded max assignees per group","be.contentSidebar.activityFeed.taskForm.taskUpdateErrorMessage":"An error occurred while modifying this task. Please try again.","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormCancelLabel":"Cancel","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormDueDateLabel":"Due Date","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormMessageLabel":"Message","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSelectAssigneesLabel":"Select Assignees","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSubmitLabel":"Create","be.contentSidebar.activityFeed.taskForm.tasksEditTaskFormSubmitLabel":"Update","be.contentSidebar.activityFeed.taskNew.taskAssignmentCompleted":"Completed","be.contentSidebar.activityFeed.taskNew.taskCollaboratorLoadErrorMessage":"An error has occurred while loading collaborators for this task. Please try again.","be.contentSidebar.activityFeed.taskNew.taskDueDateLabel":"Due: {date}","be.contentSidebar.activityFeed.taskNew.taskFeedStatusDue":"DUE {dateTime}","be.contentSidebar.activityFeed.taskNew.taskShowLessAssignees":"Show Less","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssignees":"Show {additionalAssigneeCount} More","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssigneesOverflow":"{additionalAssigneeCount, plural, one {Show #+ More} other {Show #+ More}}","be.contentSidebar.activityFeed.taskNew.tasksFeedApproveAction":"Approve","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedLabel":"Approved","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedUppercaseLabel":"APPROVED","be.contentSidebar.activityFeed.taskNew.tasksFeedAssigneeListTitle":"Assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedCompleteAction":"Mark as Complete","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedLabel":"Completed","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedUppercaseLabel":"COMPLETED","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApproval":"{user} assigned an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApprovalCurrentUser":"{user} assigned you an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneral":"{user} assigned a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneralCurrentUser":"{user} assigned you a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressLabel":"In Progress","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressUppercaseLabel":"IN PROGRESS","be.contentSidebar.activityFeed.taskNew.tasksFeedMoreAssigneesLabel":"See all assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectAction":"Reject","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedLabel":"Rejected","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedUppercaseLabel":"REJECTED","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusApproved":"Approved {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusCompleted":"Completed {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusRejected":"Rejected {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedViewDetailsAction":"View Task Details","be.contentSidebar.addTask":"Add Task","be.contentSidebar.addTask.approval":"Approval Task","be.contentSidebar.addTask.approval.description":"Assignees will be responsible for approving or rejecting tasks","be.contentSidebar.addTask.approval.title":"Create Approval Task","be.contentSidebar.addTask.general":"General Task","be.contentSidebar.addTask.general.description":"Assignees will be responsible for marking tasks as complete","be.contentSidebar.addTask.general.title":"Create General Task","be.contentSidebar.boxSignFtuxBody":"Sign documents or send signature requests, right from where your content lives","be.contentSidebar.boxSignFtuxTitle":"Box Sign - Secure, seamless e-signatures in Box","be.contentSidebar.boxSignRequest":"Request Signature","be.contentSidebar.boxSignRequestSignature":"Request Signature","be.contentSidebar.boxSignSecurityBlockedTooltip":"This action is unavailable due to a security policy.","be.contentSidebar.boxSignSignMyself":"Sign Myself","be.contentSidebar.boxSignWatermarkBlockedTooltip":"This action is unavailable, because the file is watermarked.","be.contentSidebar.editTask.approval.title":"Modify Approval Task","be.contentSidebar.editTask.general.title":"Modify General Task","be.copy":"Copy","be.create":"Create","be.createDialogErrorInUse":"A folder with the same name already exists.","be.createDialogErrorInvalid":"This is an invalid folder name.","be.createDialogErrorTooLong":"This folder name is too long.","be.createDialogLabel":"New Folder","be.createDialogText":"Please enter a name.","be.currentUserErrorHeaderMessage":"Something went wrong when fetching the current user.","be.dateASC":"Date: Oldest → Newest","be.dateDESC":"Date: Newest → Oldest","be.dateValue.today":"Today","be.dateValue.yesterday":"Yesterday","be.defaultErrorMaskHeaderMessage":"We’re sorry, something went wrong.","be.defaultErrorMaskSubHeaderMessage":"Please refresh the page or try again later.","be.defaultInlineErrorContentMessage":"Please try again later.","be.defaultOpenWithDescription":"Open this file with a partner service","be.defaultSkill":"Skill Card","be.delete":"Delete","be.deleteDialogFileText":"Are you sure you want to delete {name}?","be.deleteDialogFolderText":"Are you sure you want to delete {name} and all its contents?","be.deleteDialogLabel":"Confirm Delete","be.description":"Description","be.descriptionPlaceholder":"Enter a description","be.docGenSidebar.docGenTags":"Doc Gen Tags","be.docGenSidebar.emptyTags":"This document has no tags","be.docGenSidebar.errorTags":"Looks like your recent changes to the Doc Gen template are yet to be processed.","be.docGenSidebar.imageTags":"Image tags","be.docGenSidebar.refreshButton":"Process document","be.docGenSidebar.textTags":"Text tags","be.download":"Download","be.drawAnnotation":"Drawing annotation mode","be.editLabel":"Edit","be.emptyOpenWithDescription":"No integrations are available for this file","be.emptyView.errorState":"A network error has occurred while trying to load.","be.emptyView.folderState":"There are no items in this folder.","be.emptyView.loadingState":"Please wait while the items load...","be.emptyView.metadataState":"There are no items in this folder.","be.emptyView.recentsState":"There are no recent items yet.","be.emptyView.searchState":"Sorry, we couldn't find what you're looking for.","be.emptyView.selectedState":"You haven't selected any items yet.","be.error":"Error","be.errorBreadcrumb":"Error","be.errorOccured":"An error occurred","be.errorOpenWithDescription":"Opening this file with other services is currently unavailable","be.executeIntegrationOpenWithErrorHeader":"We’re sorry, this integration is currently unavailable.","be.executeIntegrationOpenWithErrorSubHeader":"Please try again later.","be.expand":"Expand","be.externalFolder":"External Folder","be.faceSkill":"Faces","be.feedbackCtaText":"Click to provide feedback","be.feedbackFormDescription":"Beta Feedback Form","be.file":"File","be.fileAccessStatsErrorHeaderMessage":"Something went wrong when fetching the access stats.","be.fileClassificationErrorHeaderMessage":"Something went wrong when fetching classification.","be.fileDescriptionInlineErrorTitleMessage":"Something went wrong when saving the description.","be.fileRequestDisplayName":"File Request","be.folder":"Folder","be.getVersionInfo":"Get version information","be.gridView":"Switch to Grid View","be.gridView.decreaseColumnSize":"Decrease column size","be.gridView.increaseColumnSize":"Increase column size","be.gridView.sliderLabel":"Grid view size","be.iconFile":"{extension} File","be.in":"In","be.interactedDate":"Last accessed on {date}","be.item.archive":"Archive","be.item.archiveFolder":"Archive folder","be.item.bookmark":"Bookmark","be.item.collaboratedFolder":"Collaborated folder","be.item.externalFolder":"External folder","be.item.file":"File","be.item.fileExtension":"{extension} file","be.item.modifiedDateBy":"{date} by {name}","be.item.personalFolder":"Personal folder","be.item.viewedDate":"Viewed {date}","be.item.viewedToday":"Viewed today","be.item.viewedYesterday":"Viewed yesterday","be.itemCreated":"Created","be.itemGrid.gridView":"Grid view","be.itemInteracted":"Last Accessed","be.itemList.actionsColumn":"ACTIONS","be.itemList.dateColumn":"UPDATED","be.itemList.detailsColumn":"DETAILS","be.itemList.itemSubtitle":"{date} • {size}","be.itemList.listView":"List view","be.itemList.nameColumn":"NAME","be.itemList.sizeColumn":"SIZE","be.itemModified":"Modified","be.itemName":"Name","be.itemOwner":"Owner","be.itemSize":"Size","be.itemUploader":"Uploader","be.keywordSkill":"Topics","be.keywordsAppliedList":"Keywords were applied","be.keywordsList":"Keywords: {words}","be.listView":"Switch to List View","be.loading":"Loading","be.logo":"Logo","be.max":"max","be.messageCenter.all":"All","be.messageCenter.boxEducation":"Box Education","be.messageCenter.errorFetchingPosts":"Sorry, we are having trouble showing posts at the moment. It may help to refresh the page.","be.messageCenter.events":"Events","be.messageCenter.noPosts":"There are no posts for this category at the moment.","be.messageCenter.previewError":"Sorry, we're having trouble showing this image. ","be.messageCenter.product":"Product","be.messageCenter.title":"What's New","be.metadataUpdateErrorNotification":"Unable to save changes. Please try again.","be.metadataUpdateSuccessNotification":"{numSelected, plural, =1 {1 document updated} other {# documents updated} } ","be.modifiedDate":"Modified {date}","be.modifiedDateBy":"Modified {date} by {name}","be.moreOptions":"More options","be.multipleValues":"Multiple Values","be.nameASC":"Name: A → Z","be.nameDESC":"Name: Z → A","be.nameDate":"{date} by {name}","be.newFolder":"New Folder","be.nextFile":"Next File","be.nextSegment":"Next Segment","be.noActivity":"No activity to show","be.noActivityAnnotationPrompt":"Hover over the preview and use the controls at the bottom to annotate the file.","be.noActivityCommentPrompt":"Comment and @mention people to notify them.","be.numFilesSelected":"{numSelected, plural, =0 {0 files selected} one {1 file selected} other {# files selected} } ","be.open":"Open","be.pagination.nextPage":"Next Page","be.pagination.nextPageButton":"Next","be.pagination.pageEntryStatus":"Showing {startEntryIndex} to {endEntryIndex} of {totalCount} entries","be.pagination.pageStatus":"{pageNumber} of {pageCount}","be.pagination.previousPage":"Previous Page","be.pagination.previousPageButton":"Previous","be.personalFolder":"Personal Folder","be.pointAnnotation":"Point annotation mode","be.preview":"Preview","be.previewError":"This preview didn’t load. Please try to open or download the file to view.","be.previewErrorBlockedByPolicy":"Your access to this content is restricted due to a security policy.","be.previewUpdate":"A new version of this file is available.","be.previousFile":"Previous File","be.previousSegment":"Previous Segment","be.print":"Print","be.priorCollaborator":"A Prior Collaborator","be.recentsBreadcrumb":"Recents","be.reload":"Reload","be.remove":"Remove","be.rename":"Rename","be.renameDialogErrorInUse":"An item with the same name already exists.","be.renameDialogErrorInvalid":"This name is invalid.","be.renameDialogErrorTooLong":"This name is too long.","be.renameDialogLabel":"Rename","be.renameDialogText":"Please enter a new name for {name}:","be.resume":"Resume","be.resumeAll":"Resume All","be.retry":"Retry","be.rootBreadcrumb":"All Files","be.save":"Save","be.searchBreadcrumb":"Search Results","be.searchClear":"Clear search","be.searchPlaceholder":"Search files and folders","be.selected":"{count} Selected","be.selectedBreadcrumb":"Selected Items","be.share":"Share","be.shareAccessCollab":"Access: People in this folder","be.shareAccessCompany":"People in this company","be.shareAccessNone":"No shared link","be.shareAccessOpen":"Access: People with the link","be.shareAccessRemove":"Remove shared link","be.shareDialogLabel":"Share","be.shareDialogNone":"None","be.shareDialogText":"Shared Link:","be.sidebarAccessStats":"Access Stats","be.sidebarActivityTitle":"Activity","be.sidebarBoxAIContent":"content","be.sidebarBoxAISwitchToModalView":"Switch to modal view","be.sidebarBoxAITitle":"Box AI","be.sidebarContentInsights":"Content Insights","be.sidebarDetailsTitle":"Details","be.sidebarDocGenTitle":"Doc Gen Tags","be.sidebarDocGenTooltip":"Box Doc Gen","be.sidebarFileFetchingErrorContent":"An error has occurred while fetching your Box file. Please refresh the page and try again.","be.sidebarHide":"Hide Sidebar","be.sidebarMetadataEditingErrorContent":"An error has occurred while updating metadata. Please refresh the page and try again.","be.sidebarMetadataFetchingErrorContent":"An error has occurred while fetching metadata. Please refresh the page and try again.","be.sidebarMetadataTitle":"Metadata","be.sidebarNavLabel":"Sidebar","be.sidebarProperties":"File Properties","be.sidebarShow":"Show Sidebar","be.sidebarSkillsErrorContent":"An error has occurred while updating skills. Please refresh the page and try again.","be.sidebarSkillsErrorTitle":"Skills Error","be.sidebarSkillsTitle":"Skills","be.sidebarVersions.current":"Current Version","be.sidebarVersions.delete":"Delete","be.sidebarVersions.deleteError":"File version could not be deleted.","be.sidebarVersions.deletedBy":"Deleted by {name}","be.sidebarVersions.disabledByRetention":"Disabled by retention policy","be.sidebarVersions.download":"Download","be.sidebarVersions.downloadError":"File version could not be downloaded.","be.sidebarVersions.empty":"No prior versions are available for this file.","be.sidebarVersions.fetchError":"File versions could not be retrieved.","be.sidebarVersions.fileRequestDisplayName":"File Request","be.sidebarVersions.notAvailable":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.preview":"Preview","be.sidebarVersions.priorWeek":"Last Week","be.sidebarVersions.promote":"Make Current","be.sidebarVersions.promoteError":"File version could not be made current.","be.sidebarVersions.promotedBy":"Promoted from v{versionPromoted} by {name}","be.sidebarVersions.restore":"Restore","be.sidebarVersions.restoreError":"File version could not be restored.","be.sidebarVersions.restoredBy":"Restored by {name}","be.sidebarVersions.serverError":"Server Error","be.sidebarVersions.thisMonth":"This Month","be.sidebarVersions.title":"Version History","be.sidebarVersions.today":"Today","be.sidebarVersions.toggle":"Toggle Actions Menu","be.sidebarVersions.upgradeButton":"Upgrade","be.sidebarVersions.upgradeLink":"Upgrade Now","be.sidebarVersions.uploadedBy":"Uploaded by {name}","be.sidebarVersions.versionLimitExceeded":"You are limited to the last {versionLimit, number} {versionLimit, plural, one {version} other {versions}}.","be.sidebarVersions.versionMaxEntries":"Version history is limited to the last {maxVersions} entries.","be.sidebarVersions.versionNumberBadge":"V{versionNumber}","be.sidebarVersions.versionNumberLabel":"Version number {versionNumber}","be.sidebarVersions.versionRetentionDelete":"Will be deleted {time} by retention policy.","be.sidebarVersions.versionRetentionIndefinite":"Retained indefinitely by retention policy.","be.sidebarVersions.versionRetentionRemove":"Retention policy expires on {time}.","be.sidebarVersions.versionUpsell":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.versionUserUnknown":"Unknown","be.sidebarVersions.yesterday":"Yesterday","be.sizeASC":"Size: Smallest → Largest","be.sizeDESC":"Size: Largest → Smallest","be.skillFileProcessingError":"We’re sorry, something went wrong with processing the file.","be.skillInvalidFileExtensionError":"We’re sorry, no skills information was found. This file extension is currently not supported.","be.skillInvalidFileSizeError":"We’re sorry, no skills information was found. This file size is currently not supported.","be.skillInvokedStatus":"We’re preparing to process your file - please hold!","be.skillNoInfoFoundError":"We’re sorry, no skills information was found.","be.skillPendingStatus":"We’re working on processing your file - please hold!","be.skillUnknownError":"Something went wrong with running this skill or fetching its data.","be.sort":"Sort","be.statusSkill":"Status","be.success":"Success","be.today":"today","be.topicsSkill":"Topics","be.transcriptEdit":"Click any section to edit.","be.transcriptSkill":"Transcript","be.upload":"Upload","be.uploadEmptyFileInput":"Browse your device","be.uploadEmptyFolderInput":"Select Folders","be.uploadEmptyState":"Empty state","be.uploadEmptyWithFolderUploadDisabled":"Drag and drop files","be.uploadEmptyWithFolderUploadEnabled":"Drag and drop files and folders","be.uploadError":"A network error has occurred while trying to upload.","be.uploadErrorState":"Error state","be.uploadErrorTooManyFiles":"You can only upload up to {fileLimit} file(s) at a time.","be.uploadInProgress":"Drag and drop to add additional files","be.uploadNoDragDrop":"Select files from your device","be.uploadOptions":"{option1} or {option2}","be.uploadSuccess":"Success! Your files have been uploaded.","be.uploadSuccessFileInput":"Select More Files","be.uploadSuccessFolderInput":"Select More Folders","be.uploadSuccessState":"Success state","be.uploadsCancelButtonTooltip":"Cancel this upload","be.uploadsDefaultErrorMessage":"Something went wrong with the upload. Please try again.","be.uploadsFileSizeLimitExceededErrorMessage":"File size exceeds the folder owner’s file size limit","be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta":"This file exceeds your plan’s upload limit. Upgrade now to store larger files.","be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta":"Upgrade","be.uploadsItemNameInUseErrorMessage":"A file with this name already exists.","be.uploadsManagerUploadComplete":"Completed","be.uploadsManagerUploadFailed":"Some Uploads Failed","be.uploadsManagerUploadInProgress":"Uploading","be.uploadsManagerUploadPrompt":"Drop files on this page to upload them into this folder.","be.uploadsOneOrMoreChildFoldersFailedToUploadMessage":"One or more child folders failed to upload.","be.uploadsPackageUploadErrorMessage":"Failed to upload package file. Please retry by saving as a single file.","be.uploadsPendingFolderSizeLimitErrorMessage":"Pending app folder size limit exceeded","be.uploadsProvidedFolderNameInvalidMessage":"Provided folder name, {name}, could not be used to create a folder.","be.uploadsRetryButtonTooltip":"Retry upload","be.uploadsStorageLimitErrorMessage":"Account storage limit reached","be.versionDeleted":"{name} deleted v{version_number}","be.versionMultipleUsersRestored":"{numberOfCollaborators} collaborators restored v{versions}","be.versionMultipleUsersTrashed":"{numberOfCollaborators} collaborators deleted v{versions}","be.versionMultipleUsersUploaded":"{numberOfCollaborators} collaborators uploaded v{versions}","be.versionPromoted":"{name} promoted v{version_promoted} to v{version_number}","be.versionRestoreCollapsed":"{name} restored v{versions}","be.versionRestored":"{name} restored v{version_number}","be.versionTrashCollapsed":"{name} deleted v{versions}","be.versionUploadCollapsed":"{name} uploaded v{versions}","be.versionUploaded":"{name} uploaded v{version_number}","be.yesterday":"yesterday","boxui.accessStats.accessStatsComments":"Comments","boxui.accessStats.accessStatsDownloads":"Downloads","boxui.accessStats.accessStatsEdits":"Edits","boxui.accessStats.accessStatsPreviews":"Previews","boxui.accessStats.accessStatsViewDetails":"View Details","boxui.accessStats.accessStatsViews":"Views","boxui.advancedContentInsights.advancedContentInsightsDescription":"Get actionable insights into how viewers are engaging with this content. Measure average time spent, page-by-page engagement, per person and per visit details.","boxui.advancedContentInsights.advancedContentInsightsTitleDisabled":"Activate Engagement Insights","boxui.advancedContentInsights.advancedContentInsightsTitleEnabled":"Engagement Insights is activated","boxui.avatar.externalUser":"External user","boxui.badges.beta":"BETA","boxui.badges.trial":"TRIAL","boxui.badges.upgrade":"UPGRADE","boxui.base.nextMonth":"Next Month","boxui.base.previousMonth":"Previous Month","boxui.breadcrumb.breadcrumbLabel":"Breadcrumb","boxui.categorySelector.label.more":"More","boxui.checkboxTooltip.iconInfoText":"Info","boxui.classification.add":"Add","boxui.classification.appliedByBoxAi":"Box AI","boxui.classification.appliedByBoxAiOnDate":"Box AI on {modifiedAt}","boxui.classification.appliedByDetails":"{appliedBy} on {appliedAt}","boxui.classification.appliedByTitle":"Applied By","boxui.classification.classification":"Classification","boxui.classification.classificationDarkBlue":"Dark Blue","boxui.classification.classificationGreen":"Green","boxui.classification.classificationGrey":"Grey","boxui.classification.classificationLightBlue":"Light Blue","boxui.classification.classificationOrange":"Orange","boxui.classification.classificationPurple":"Purple","boxui.classification.classificationRed":"Red","boxui.classification.classificationYellow":"Yellow","boxui.classification.definition":"Definition","boxui.classification.edit":"Edit","boxui.classification.importedBy":"Imported from {modifiedBy} on {modifiedAt}","boxui.classification.missing":"Not classified","boxui.classification.modifiedBy":"Applied by {modifiedBy} on {modifiedAt}","boxui.classification.modifiedByLabel":"Classification Label","boxui.collaboratorAvatars.collaboration.pendingCollabText":"Pending","boxui.collaboratorAvatars.collaboratorAvatarsLabel":"Shared with","boxui.collaboratorAvatars.collaborators.expirationTooltipText":"Access expires on {date}","boxui.collaboratorAvatars.collaborators.externalCollabTooltipText":"{email} is from outside of your company","boxui.collaboratorAvatars.manageAllLinkText":"Manage All","boxui.collaboratorAvatars.viewAdditionalPeopleText":"View additional people","boxui.collapsiblesidebar.collapseBtnLabel":"Collapse","boxui.collapsiblesidebar.expandBtnLabel":"Expand","boxui.contentAnswers.contentAnswersTitle":"Box AI","boxui.contentAnswers.defaultTooltip":"Get instant answers about this document using Box AI","boxui.contentAnswers.disabledTooltipFileNotCompatible":"Box AI is not currently supported for this file type","boxui.contentAnswers.documentSuggestedQuestionLabel1":"Summarize this document","boxui.contentAnswers.documentSuggestedQuestionLabel2":"What are the key takeaways?","boxui.contentAnswers.documentSuggestedQuestionLabel3":"How can this document be improved?","boxui.contentAnswers.documentSuggestedQuestionLabel4":"Are there any next steps defined?","boxui.contentAnswers.documentSuggestedQuestionPrompt1":"Summarize this document","boxui.contentAnswers.documentSuggestedQuestionPrompt2":"What are the key takeaways?","boxui.contentAnswers.documentSuggestedQuestionPrompt3":"How can this document be improved?","boxui.contentAnswers.documentSuggestedQuestionPrompt4":"Are there any next steps defined?","boxui.contentAnswers.hasQuestionsTooltip":"Return to Box AI","boxui.contentAnswers.welcomeMessageIntelligentQueryNotice":"You can ask Box AI both simple and complex questions in your spreadsheet: total counts, averages, advanced comparisons, trend analyses and so on. Try it out today!","boxui.contentAnswers.welcomeMessageSpreadsheetNotice":"Spreadsheet support works best for text dense files","boxui.contentAnswers.welcomeMessageSpreadsheetNoticeAriaLabel":"spreadsheet support notification banner","boxui.contentExplorer.breadcrumb":"Breadcrumb","boxui.contentExplorer.cancel":"Cancel","boxui.contentExplorer.choose":"Choose","boxui.contentExplorer.clickToGoBack":"Click to go back","boxui.contentExplorer.clickToViewPath":"Click to view path","boxui.contentExplorer.copy":"Copy","boxui.contentExplorer.emptyFolder":"There are no subfolders in this folder.","boxui.contentExplorer.emptySearch":"Sorry, we couldn't find what you're looking for.","boxui.contentExplorer.filepath":"File path","boxui.contentExplorer.folderTreeBreadcrumbsText":"{folderName} ({totalItems})","boxui.contentExplorer.includeSubfolders":"Include Subfolders","boxui.contentExplorer.infoNoticeIconAriaLabel":"Info icon","boxui.contentExplorer.move":"Move","boxui.contentExplorer.name":"Name","boxui.contentExplorer.newFolder":"New Folder","boxui.contentExplorer.numFoldersSelected":"{numSelected, plural, =0 {0 folders selected} one {1 folder selected} other {# folders selected} } ","boxui.contentExplorer.numItemsSelected":"{numSelected, plural, =0 {0 items selected} one {1 item selected} other {# items selected} } ","boxui.contentExplorer.numSelected":"{numSelected} Selected","boxui.contentExplorer.result":"{itemsCount} result","boxui.contentExplorer.results":"{itemsCount} results","boxui.contentExplorer.searchPlaceholder":"Search","boxui.contentExplorer.searchResults":"Search Results","boxui.contentExplorer.selectAll":"Select All","boxui.contentExplorer.selectItem":"Select {name}","boxui.contentexplorer.newFolder.forbidden":"You do not have permission to create a folder here.","boxui.core.cancel":"Cancel","boxui.core.close":"Close","boxui.core.copied":"Copied","boxui.core.copy":"Copy","boxui.core.done":"Done","boxui.core.guidetooltip.navigation":"{currentStepIndex} of {totalNumSteps}","boxui.core.hotkeys.altKey":"Alt","boxui.core.hotkeys.ctrlKey":"Ctrl","boxui.core.hotkeys.enterKey":"Enter","boxui.core.hotkeys.escKey":"Esc","boxui.core.hotkeys.hotkeyModalTitle":"Keyboard Shortcuts","boxui.core.hotkeys.hotkeySequence":"{key1} then {key2}","boxui.core.hotkeys.shiftKey":"Shift","boxui.core.hotkeys.spacebarKey":"Spacebar","boxui.core.okay":"Okay","boxui.core.optional":"optional","boxui.core.save":"Save","boxui.core.selection.deselectAllDescription":"Deselect all items","boxui.core.selection.downDescription":"Select next item","boxui.core.selection.selectAllDescription":"Select all items","boxui.core.selection.shiftDownDescription":"Add next item to current selection","boxui.core.selection.shiftUpDescription":"Add previous item to current selection","boxui.core.selection.shiftXDescription":"Select current item","boxui.core.selection.upDescription":"Select previous item","boxui.core.send":"Send","boxui.datePicker.chooseDate":"Choose Date","boxui.datePicker.dateClearButton":"Clear Date","boxui.datePicker.dateInputMaxError":"Please enter a date before {maxLocaleDate}","boxui.datePicker.dateInputMinError":"Please enter a date after {minLocaleDate}","boxui.datePicker.dateInputRangeError":"Please enter a date between {minLocaleDate} and {maxLocaleDate}","boxui.datePicker.iconAlertText":"Invalid Date","boxui.draftjs.mentionSelector.commentTimestampLabel":"Comment Timestamp","boxui.draftjs.mentionSelector.noUsersFound":"No users found","boxui.draftjs.mentionSelector.startMention":"Mention someone to notify them","boxui.draftjs.mentionSelector.usersFound":"{usersCount, plural, one {one user found} other {{usersCount} users found}}","boxui.errorMask.iconSadCloudText":"Sad Box Cloud","boxui.features.VirtualizedTableRenderers.allFiles":"All Files","boxui.features.VirtualizedTableRenderers.anonymousUser":"Anonymous User","boxui.features.VirtualizedTableRenderers.externalFile":"External File","boxui.features.VirtualizedTableRenderers.externalFolder":"External Folder","boxui.features.VirtualizedTableRenderers.lastModifiedBy":"{lastModified} by {user}","boxui.features.VirtualizedTableRenderers.unknownUser":"Unknown User","boxui.itemDetails.archived":"Archived","boxui.itemDetails.bookmarkExpiration":"This bookmark will be deleted on {expiration}.","boxui.itemDetails.created":"Created","boxui.itemDetails.deleted":"Deleted","boxui.itemDetails.description":"Description","boxui.itemDetails.descriptionPlaceholder":"Enter a description","boxui.itemDetails.enterpriseOwner":"Enterprise Owner","boxui.itemDetails.fileExpiration":"This file will be deleted on {expiration}.","boxui.itemDetails.filesCountLabel":"{filesCount, plural, one {# File} other {# Files}}","boxui.itemDetails.folderExpiration":"This folder will be deleted on {expiration}.","boxui.itemDetails.modified":"Modified","boxui.itemDetails.owner":"Owner","boxui.itemDetails.retentionPolicyDescription":"Policy","boxui.itemDetails.retentionPolicyExpiration":"Policy Expiration","boxui.itemDetails.retentionPolicyExtend":"Extend","boxui.itemDetails.savedVersions":"{versionCount, number} Saved Versions","boxui.itemDetails.sharedLinkExpiration":"This shared link will be disabled on {expiration}.","boxui.itemDetails.size":"Size","boxui.itemDetails.uploader":"Uploader","boxui.itemDetails.url":"URL","boxui.itemDetails.urlPlaceholder":"Enter a valid url","boxui.media.menuButtonArialLabel":"Options","boxui.metadataInstanceEditor.aiAutofillDescription":"Use Box AI to automatically extract metadata values.","boxui.metadataInstanceEditor.aiAutofillLearnMore":"Learn more","boxui.metadataInstanceEditor.allAttributesAreHidden":"All attributes in this template have been hidden.","boxui.metadataInstanceEditor.applyCascadePolicyText":"Apply template and its values to all new and existing items in this folder and its subfolders.","boxui.metadataInstanceEditor.cannotApplyCascadePolicyText":"Cascade policy cannot be applied to custom metadata at this time.","boxui.metadataInstanceEditor.cascadePolicyLearnMore":"Learn more","boxui.metadataInstanceEditor.cascadePolicyModeQuestion":"In the case of conflicts when applying this template and its values to existing items, what would you like to do? This is a one time action.","boxui.metadataInstanceEditor.cascadePolicyOptionsDisabledNotice":"This cascade policy cannot be edited. To modify it, deactivate the current policy and then re-enable it to set up a new one.","boxui.metadataInstanceEditor.cascadePolicyOptionsDisabledNoticeIconAriaLabel":"Disabled cascade options information","boxui.metadataInstanceEditor.cascadePolicyOverwriteMode":"Overwrite all existing template values","boxui.metadataInstanceEditor.cascadePolicySkipMode":"Skip and keep all existing template values","boxui.metadataInstanceEditor.customAdd":"Add","boxui.metadataInstanceEditor.customErrorDuplicateKey":"A field with that key already exists.","boxui.metadataInstanceEditor.customErrorInternalKey":"Keys cannot begin with a $.","boxui.metadataInstanceEditor.customErrorRequired":"A key is required.","boxui.metadataInstanceEditor.customKey":"Key","boxui.metadataInstanceEditor.customKeyPlaceholder":"e.g. Order Number","boxui.metadataInstanceEditor.customNewField":"New Field","boxui.metadataInstanceEditor.customNewFieldMessage":"Add a custom metadata field. Other people will be able to see and search for this field.","boxui.metadataInstanceEditor.customRemove":"Remove","boxui.metadataInstanceEditor.customTitle":"Custom Metadata","boxui.metadataInstanceEditor.customValue":"Value","boxui.metadataInstanceEditor.customValuePlaceholder":"e.g. 42","boxui.metadataInstanceEditor.editTooltip":"Edit Metadata","boxui.metadataInstanceEditor.enableAIAutofill":"Box AI Autofill","boxui.metadataInstanceEditor.enableCascadePolicy":"Enable Cascade Policy","boxui.metadataInstanceEditor.enhancedAgentName":"Enhanced","boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values from this file?","boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values from this file?',"boxui.metadataInstanceEditor.folderMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values? Any metadata template values already applied to files in this folder will not be deleted.","boxui.metadataInstanceEditor.folderMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values? Any metadata template values already applied to files in this folder will not be deleted.',"boxui.metadataInstanceEditor.invalidValue":"Invalid Input!","boxui.metadataInstanceEditor.metadataCancel":"Cancel","boxui.metadataInstanceEditor.metadataCascadePolicyEnabledInfo":"This template and its values are being cascaded to all items in this folder and its subfolders.","boxui.metadataInstanceEditor.metadataSave":"Save","boxui.metadataInstanceEditor.noAttributesForTemplate":"There are no attributes in this template.","boxui.metadataInstanceEditor.noMetadata":"No Metadata Applied","boxui.metadataInstanceEditor.noMetadataAddTemplate":"Click 'Add' in the top right to add metadata to this item","boxui.metadataInstanceEditor.operationNotImmediate":"This operation is not immediate and may take some time.","boxui.metadataInstanceEditor.removeTemplate":"Remove","boxui.metadataInstanceEditor.standardAgentName":"Standard","boxui.metadataInstanceEditor.templateAdd":"Add","boxui.metadataInstanceEditor.templateSearchPlaceholder":"Search all templates","boxui.metadataInstanceEditor.templatesFetchFailed":"Sorry! We could not fetch templates. Please contact your administrator","boxui.metadataInstanceEditor.templatesNoRemainingTemplates":"All templates have been added","boxui.metadataInstanceEditor.templatesNoResults":"No Results","boxui.metadataInstanceEditor.templatesServerHasNoTemplates":"Zero templates","boxui.metadataInstanceEditor.templatesTitle":"Templates","boxui.metadataInstanceFields.customAdd":"Add","boxui.metadataInstanceFields.customRemove":"Remove","boxui.metadataInstanceFields.fieldMultiSelectValue":"Select Values","boxui.metadataInstanceFields.fieldNoValue":"No Value","boxui.metadataInstanceFields.fieldSelectValue":"Select Value","boxui.metadataInstanceFields.fieldSetDate":"Set Date","boxui.metadataInstanceFields.fieldSetValue":"Set Value","boxui.metadataInstanceFields.invalidMetadataFieldType":"Invalid metadata field type!","boxui.modalDialog.backModalText":"Back","boxui.modalDialog.closeModalText":"Close Modal","boxui.newFolderModal.cancel":"Cancel","boxui.newFolderModal.create":"Create","boxui.newFolderModal.folderName.label":"Folder Name","boxui.newFolderModal.folderName.placeholder":"My New Folder","boxui.newFolderModal.title":'Create a New Folder in "{parentFolderName}"',"boxui.notification.clearNotification":"Clear Notification","boxui.presence.accessedInTheLastMinute":"Viewed less than a minute ago","boxui.presence.activeNow":"Active now","boxui.presence.commentedIntheLastMinute":"Commented less than a minute ago","boxui.presence.getLinkButton":"Get Link","boxui.presence.inviteButton":"Invite People","boxui.presence.modifiedIntheLastMinute":"Edited less than a minute ago","boxui.presence.previewPresenceFlyoutAccessStatsLink":"See all activity","boxui.presence.previewPresenceFlyoutActivityCTA":"View Recent Activity","boxui.presence.previewPresenceFlyoutCopy":"Quickly see who has commented on, edited, or viewed this file.","boxui.presence.previewedIntheLastMinute":"Previewed less than a minute ago","boxui.presence.recentActivity":"Recent Activity","boxui.presence.timeSinceLastAccessed":"Viewed {timeAgo}","boxui.presence.timeSinceLastCommented":"Commented {timeAgo}","boxui.presence.timeSinceLastModified":"Edited {timeAgo}","boxui.presence.timeSinceLastPreviewed":"Previewed {timeAgo}","boxui.presence.toggleButtonLabel":"Recent Activity","boxui.queryBar.addFilterButtonText":"+ Add Filter","boxui.queryBar.applyFiltersButtonText":"Apply","boxui.queryBar.columnsButtonText":"Columns","boxui.queryBar.columnsHiddenButtonText":"{count, plural, one {1 Column Hidden} other {{count} Columns Hidden}}","boxui.queryBar.connectorAndText":"AND","boxui.queryBar.connectorOrText":"OR","boxui.queryBar.connectorWhereText":"WHERE","boxui.queryBar.filtersButtonText":"Modify Filters","boxui.queryBar.metadataViewTemplateListHeaderTitle":"METADATA TEMPLATES","boxui.queryBar.multipleFiltersButtonText":"{number} Filters","boxui.queryBar.noFiltersAppliedText":"No Filters Applied","boxui.queryBar.noTemplatesText":"No Templates Available","boxui.queryBar.selectValuePlaceholderText":"Select value","boxui.queryBar.templatesButtonText":"Select Metadata","boxui.queryBar.templatesLoadingButtonText":"Template Name","boxui.queryBar.tooltipEnterValueError":"Please Enter a Value","boxui.queryBar.tooltipInvalidFloatError":"Please Enter a Decimal Number","boxui.queryBar.tooltipInvalidNumberError":"Please Enter an Integer","boxui.queryBar.tooltipSelectDateError":"Please Select a Date","boxui.queryBar.tooltipSelectValueError":"Please Select a Value","boxui.quickSearch.bookmark":"Bookmark","boxui.quickSearch.collaboratedFolder":"Collaborated Folder","boxui.quickSearch.externalFolder":"External Folder","boxui.quickSearch.file":"File","boxui.quickSearch.parentFolder":"Parent Folder","boxui.quickSearch.personalFolder":"Personal Folder","boxui.quickSearch.updatedText":"{date, date, medium} by {user}","boxui.quickSearch.updatedTextToday":"Today by {user}","boxui.quickSearch.updatedTextYesterday":"Yesterday by {user}","boxui.readableTime.eventTime":"{time, date, medium}","boxui.readableTime.eventTimeDate":"{time, date, medium} at {time, time, short}","boxui.readableTime.eventTimeDateShort":"{date} at {time, time, short}","boxui.readableTime.eventTimeToday":"Today at {time, time, short}","boxui.readableTime.eventTimeWeekdayLong":"{weekday}, {time, date, medium}","boxui.readableTime.eventTimeYesterday":"Yesterday at {time, time, short}","boxui.searchForm.clearButtonTitle":"Clear","boxui.searchForm.searchButtonTitle":"Search","boxui.searchForm.searchLabel":"Search query","boxui.securityCloudGame.accessibilityInstructions":"For security purposes, please drag the cloud object onto the target. You are on a {row} by {column} grid with a movable cloud object and a target area. Press spacebar to grab the cloud object, arrow keys to move, and spacebar to drop on the target.","boxui.securityCloudGame.cloudDropped":"Cloud object dropped.","boxui.securityCloudGame.cloudGrabbed":"Cloud object grabbed.","boxui.securityCloudGame.cloudObject":"Cloud object","boxui.securityCloudGame.currentPosition":"Current position: Row {row}, Column {column}.","boxui.securityCloudGame.instructions":"For security purposes, please drag the white cloud onto the dark cloud. Keyboard users: Press spacebar to grab the cloud, arrow keys to move, and spacebar to drop.","boxui.securityCloudGame.reachBottomEdge":"Reached bottom edge of grid.","boxui.securityCloudGame.reachLeftEdge":"Reached left edge of grid.","boxui.securityCloudGame.reachRightEdge":"Reached right edge of grid.","boxui.securityCloudGame.reachTopEdge":"Reached top edge of grid.","boxui.securityCloudGame.success":"Success!","boxui.securityCloudGame.target":"Target","boxui.securityCloudGame.targetInRange":"Target in range, you can drop the cloud object.","boxui.securityCloudGame.targetPosition":"Target position: Row {row}, Column {column}.","boxui.securityControls.allAppNames":"All applications: {appsList}","boxui.securityControls.allIntegrationNames":"All integrations: {appsList}","boxui.securityControls.appDownloadBlacklist":"Download restricted for some applications: {appNames}","boxui.securityControls.appDownloadBlacklistOverflow":"Download restricted for some applications: {appNames} +{remainingAppCount} more","boxui.securityControls.appDownloadRestricted":"Download restricted for some applications.","boxui.securityControls.appDownloadWhitelist":"Only select applications are allowed: {appNames}","boxui.securityControls.appDownloadWhitelistOverflow":"Only select applications are allowed: {appNames} +{remainingAppCount} more","boxui.securityControls.boxSignRequestRestricted":"Sign restrictions apply.","boxui.securityControls.desktopDownloadExternalOwners":"Download restricted on Box Drive, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.desktopDownloadExternalOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.desktopDownloadOwners":"Download restricted on Box Drive, except Owners/Co-Owners.","boxui.securityControls.desktopDownloadOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors.","boxui.securityControls.downloadExternal":"Download restricted on Box Drive for external users.","boxui.securityControls.externalCollabBlock":"External collaboration restricted.","boxui.securityControls.externalCollabDomainList":"External collaboration limited to approved domains.","boxui.securityControls.integrationDownloadAllowlist":"Only select integrations are allowed: {appNames}","boxui.securityControls.integrationDownloadAllowlistOverflow":"Only select integrations are allowed: {appNames} +{remainingAppCount} more","boxui.securityControls.integrationDownloadDenylist":"Download restricted for some integrations: {appNames}","boxui.securityControls.integrationDownloadDenylistOverflow":"Download restricted for some integrations: {appNames} +{remainingAppCount} more","boxui.securityControls.integrationDownloadRestricted":"Download restricted for some integrations.","boxui.securityControls.mobileDownloadExternal":"Download restricted on mobile for external users.","boxui.securityControls.mobileDownloadExternalOwners":"Download restricted on mobile, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.mobileDownloadExternalOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.mobileDownloadOwners":"Download restricted on mobile, except Owners/Co-Owners.","boxui.securityControls.mobileDownloadOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors.","boxui.securityControls.modalDescription":"Classification labels defined by your administrator can be used to label content and apply security policies.","boxui.securityControls.modalTitle":"View Classification for “{itemName}”","boxui.securityControls.securityControlsLabel":"Restrictions","boxui.securityControls.sharingCollabAndCompanyOnly":"Shared links cannot be made publicly accessible.","boxui.securityControls.sharingCollabOnly":"Shared links allowed for collaborators only.","boxui.securityControls.shortApp":"Application restrictions apply","boxui.securityControls.shortAppSign":"App and Sign restrictions apply","boxui.securityControls.shortDownload":"Download restrictions apply","boxui.securityControls.shortDownloadApp":"Download and app restrictions apply","boxui.securityControls.shortDownloadAppSign":"Download, app and Sign restrictions apply","boxui.securityControls.shortDownloadIntegration":"Download and integration restrictions apply","boxui.securityControls.shortDownloadIntegrationSign":"Download, integration and Sign restrictions apply","boxui.securityControls.shortDownloadSign":"Download and Sign restrictions apply","boxui.securityControls.shortIntegration":"Integration restrictions apply","boxui.securityControls.shortIntegrationSign":"Integration and Sign restrictions apply","boxui.securityControls.shortSharing":"Sharing restriction applies","boxui.securityControls.shortSharingApp":"Sharing and app restrictions apply","boxui.securityControls.shortSharingAppSign":"Sharing, app and Sign restrictions apply","boxui.securityControls.shortSharingDownload":"Sharing and download restrictions apply","boxui.securityControls.shortSharingDownloadApp":"Sharing, download and app restrictions apply","boxui.securityControls.shortSharingDownloadAppSign":"Sharing, download, app and Sign restrictions apply","boxui.securityControls.shortSharingDownloadIntegration":"Sharing, download and integration restrictions apply","boxui.securityControls.shortSharingDownloadIntegrationSign":"Sharing, download, integration and Sign restrictions apply","boxui.securityControls.shortSharingDownloadSign":"Sharing, download and Sign restrictions apply","boxui.securityControls.shortSharingIntegration":"Sharing and integration restrictions apply","boxui.securityControls.shortSharingIntegrationSign":"Sharing, integration and Sign restrictions apply","boxui.securityControls.shortSharingSign":"Sharing and Sign restrictions apply","boxui.securityControls.shortSign":"Sign restrictions apply","boxui.securityControls.shortWatermarking":"Watermarking applies","boxui.securityControls.viewAll":"View All","boxui.securityControls.watermarkingApplied":"Watermarking will be applied.","boxui.securityControls.webDownloadExternal":"Download restricted on web for external users.","boxui.securityControls.webDownloadExternalOwners":"Download restricted on web, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.webDownloadExternalOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.webDownloadOwners":"Download restricted on web, except Owners/Co-Owners.","boxui.securityControls.webDownloadOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors.","boxui.select.moreInfo":"More Info","boxui.selectField.clearAll":"Clear All","boxui.selectField.noResults":"No Results","boxui.selectField.searchPlaceholder":"Search","boxui.share.accessType":"ACCESS TYPE","boxui.share.canEdit":"Can edit","boxui.share.canView":"Can view","boxui.share.coownerLevelText":"Co-owner","boxui.share.deleteTableHeaderText":"Delete","boxui.share.downloadTableHeaderText":"Download","boxui.share.editTableHeaderText":"Edit","boxui.share.editorLevelText":"Editor","boxui.share.emailSharedLink":"Email Shared Link","boxui.share.enterAtLeastOneEmail":"Enter at least one valid email","boxui.share.getLinkTableHeaderText":"Get Link","boxui.share.groupLabel":"Group","boxui.share.inviteCollaboratorsModalCancelButton":"Cancel","boxui.share.inviteCollaboratorsModalSendInvites":"Send Invites","boxui.share.inviteCollaboratorsModalTitle":"Invite to {itemName}","boxui.share.inviteFieldLabel":"Invite","boxui.share.inviteFileEditorsLabel":"Invite people to become editors of this file.","boxui.share.inviteePermissionsFieldLabel":"Invitee Permissions","boxui.share.inviteePermissionsLearnMore":"Learn More","boxui.share.message":"Message","boxui.share.messageSelectorPlaceholder":"Add a message","boxui.share.ownerTableHeaderText":"Owner","boxui.share.peopleInCompanyCanDownloadFile":"Anyone in your company with the link can view and download this file.","boxui.share.peopleInCompanyCanDownloadFolder":"Anyone in your company with the link can view this folder and download its contents.","boxui.share.peopleInCompanyCanEditFile":"Anyone in your company with the link can edit and download this file.","boxui.share.peopleInCompanyCanViewFile":"Anyone in your company with the link can view this file.","boxui.share.peopleInCompanyCanViewFolder":"Anyone in your company with the link can view this folder.","boxui.share.peopleInEnterprise":"People in {enterpriseName}","boxui.share.peopleInItemCanAccessFile":"Any collaborator on the file with the link can access this file.","boxui.share.peopleInItemCanAccessFolder":"Any collaborator on the folder with the link can access this folder.","boxui.share.peopleInItemCanDownloadFile":"Any collaborator on this file with the link can download this file.","boxui.share.peopleInItemCanDownloadFolder":"Any collaborator on this folder with the link can download this folder.","boxui.share.peopleInItemCanEditFile":"Any collaborator on this file with the link can edit this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFile":"Any collaborator on this file with the link can view this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFolder":"Any collaborator on this folder with the link can view this folder and download its contents.","boxui.share.peopleInItemCanPreviewFile":"Any collaborator on this file with the link can view this file.","boxui.share.peopleInItemCanPreviewFolder":"Any collaborator on this folder with the link can view this folder.","boxui.share.peopleInSpecifiedCompanyCanDownloadFile":"Anyone in {company} with the link can view and download this file.","boxui.share.peopleInSpecifiedCompanyCanDownloadFolder":"Anyone in {company} with the link can view this folder and download its contents.","boxui.share.peopleInSpecifiedCompanyCanEditFile":"Anyone in {company} with the link can edit and download this file.","boxui.share.peopleInSpecifiedCompanyCanViewFile":"Anyone in {company} with the link can view this file.","boxui.share.peopleInSpecifiedCompanyCanViewFolder":"Anyone in {company} with the link can view this folder.","boxui.share.peopleInThisFile":"People in this file","boxui.share.peopleInThisFolder":"People in this folder","boxui.share.peopleInYourCompany":"People in your company","boxui.share.peopleWithLinkCanDownloadFile":"Anyone with the link can view and download this file.","boxui.share.peopleWithLinkCanDownloadFolder":"Anyone with the link can view this folder and download its contents.","boxui.share.peopleWithLinkCanEditFile":"Anyone with the link can edit and download this file.","boxui.share.peopleWithLinkCanViewFile":"Anyone with the link can view this file.","boxui.share.peopleWithLinkCanViewFolder":"Anyone with the link can view this folder.","boxui.share.peopleWithTheLink":"People with the link","boxui.share.permissionLevelsTableHeaderText":"Permission Levels","boxui.share.personalMessageLabel":"Personal Message","boxui.share.pillSelectorPlaceholder":"Add names or email addresses","boxui.share.previewTableHeaderText":"Preview","boxui.share.previewerLevelText":"Previewer","boxui.share.previewerUploaderLevelText":"Previewer Uploader","boxui.share.referAFriendBadgeText":"REFER","boxui.share.referAFriendRewardCenterLinkText":"Click Here","boxui.share.referAFriendText":"Want a free month of Box? Refer your friend!","boxui.share.removeLink":"Remove Link","boxui.share.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.share.removeLinkConfirmationTitle":"Remove Shared Link","boxui.share.settingsButtonLabel":"Open shared link settings popup","boxui.share.sharedLinkExpirationTooltip":"This link will expire on {expiration, date, long}","boxui.share.sharedLinkLabel":"Shared Link","boxui.share.sharedLinkModalTitle":"Shared Link for {itemName}","boxui.share.sharedLinkSettings.accessLevel.inCompanyView":"This content is available to anyone within your company with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.inCompanyViewDownload":"This content is available to anyone within your company with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.accessLevel.inItem":"This content is available to invited collaborators with the link.","boxui.share.sharedLinkSettings.accessLevel.withLinkView":"This content is publicly available to anyone with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.withLinkViewDownload":"This content is publicly available to anyone with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.allowDownloadLabel":"Allow users with the shared link to download this item","boxui.share.sharedLinkSettings.allowDownloadTitle":"Allow Download","boxui.share.sharedLinkSettings.customURLLabel":"Non-private custom URL","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithClassification":"Download has been disabled for content due to the classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithoutClassification":"Download has been disabled for content without classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByMaliciousContent":"Download for this content has been disabled due to a security policy.","boxui.share.sharedLinkSettings.directLinkLabel":"Direct Link","boxui.share.sharedLinkSettings.expirationLabel":"Disable Shared Link on","boxui.share.sharedLinkSettings.expirationTitle":"Link Expiration","boxui.share.sharedLinkSettings.inaccessibleSettingsNotice":"Certain settings may not be available for this item due to permissions.","boxui.share.sharedLinkSettings.modalTitle":"Shared Link Settings","boxui.share.sharedLinkSettings.passwordLabel":"Require password","boxui.share.sharedLinkSettings.passwordPlaceholder":"Enter a password","boxui.share.sharedLinkSettings.passwordTitle":"Password Protect","boxui.share.sharedLinkSettings.sharedLinkSettingWarningLinkText":"Learn more about shared link settings.","boxui.share.sharedLinkSettings.sharedLinkWarningText":"This content is publicly available to anyone with the link.","boxui.share.sharedLinkSettings.vanityNameNotSet":"The custom URL has not been set","boxui.share.sharedLinkSettings.vanityNamePlaceholder":"Enter a custom path (12 or more characters)","boxui.share.sharedLinkSettings.vanityURLWarning":"Custom URLs should not be used when sharing sensitive content.","boxui.share.sharedLinkURLLabel":"URL","boxui.share.upgradeGetMoreAccessControls":"Get More Access Controls","boxui.share.uploadTableHeaderText":"Upload","boxui.share.uploaderLevelText":"Uploader","boxui.share.vanityURLEnableText":"Publish content broadly with a custom, non-private URL","boxui.share.viewerLevelText":"Viewer","boxui.share.viewerUploaderLevelText":"Viewer Uploader","boxui.shareMenu.downloadOnly":"Download Only","boxui.shareMenu.editAndComment":"Edit and Comment","boxui.shareMenu.getSharedLink":"Get Shared Link","boxui.shareMenu.insufficientPermissionsMenuOption":"Insufficient sharing permissions. Please contact the folder owner.","boxui.shareMenu.insufficientPermissionsTooltip":"You have insufficient permissions to invite collaborators.","boxui.shareMenu.inviteCollabs":"Invite Collaborators","boxui.shareMenu.ownerCoownerOnlyTooltip":"You have insufficient permissions to invite collaborators. Only the owner and co-owners can invite collaborators.","boxui.shareMenu.shortcutOnly":"Shortcut Only","boxui.shareMenu.viewAndDownload":"View and Download","boxui.shareMenu.viewOnly":"View Only","boxui.subHeader.bulkItemActionMenuAriaLabel":"Bulk actions","boxui.subHeader.metadata":"Metadata","boxui.timeInput.emptyTimeError":"Required field. Enter a time in the format HH:MM A.","boxui.timeInput.invalidTimeError":"Invalid time format. Enter a time in the format HH:MM A.","boxui.unifiedShare.collabAccess":"collaborator access","boxui.unifiedShare.collaboration.groupCollabText":"Group","boxui.unifiedShare.collaboration.userCollabText":"User","boxui.unifiedShare.collaboratorListTitle":"People in ‘{itemName}’","boxui.unifiedShare.collaborators.expirationTooltipClickableText":"Access expires on {date}. Click for details.","boxui.unifiedShare.contactEmailsTooltipText":"{emails}, and {remainingEmailsCount} more","boxui.unifiedShare.contactRestrictionNotice":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrier":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingular":"Invitations cannot be sent to {email} due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingularGroup":'Invitations cannot be sent to "{groupName}" due to a security policy.',"boxui.unifiedShare.contactRestrictionNoticeSingular":"Invitations cannot be sent to {email} because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionRemoveButtonLabel":"Remove to continue","boxui.unifiedShare.contactsExceedLimitError":"Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.","boxui.unifiedShare.contentSharedWithExternalCollaborators":"This content will be shared with external collaborators.","boxui.unifiedShare.coownerLevelButtonLabel":"Invite as Co-owner","boxui.unifiedShare.coownerLevelDescription":"Manage security, upload, download, preview, share, edit, and delete","boxui.unifiedShare.coownerLevelText":"Co-owner","boxui.unifiedShare.disabledCreateLinkTooltip":"You do not have permission to create the link.","boxui.unifiedShare.disabledMaliciousContentShareLinkPermission":"This option isn’t available for this item due to a security policy.","boxui.unifiedShare.disabledShareLinkPermission":"This option is not available due to a security policy.","boxui.unifiedShare.editorLevelButtonLabel":"Invite as Editor","boxui.unifiedShare.editorLevelDescription":"Upload, download, preview, share, edit, and delete","boxui.unifiedShare.editorLevelFileDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.editorLevelText":"Editor","boxui.unifiedShare.emailModalTitle":"Send Link to ‘{itemName}’","boxui.unifiedShare.enterAtLeastOneEmail":"Enter at least one valid email","boxui.unifiedShare.enterEmailAddressesCalloutText":"Share this item with coworkers by entering their email addresses","boxui.unifiedShare.expiresMessage":"Expires","boxui.unifiedShare.ftuxConfirmLabel":"Got it","boxui.unifiedShare.ftuxEditPermissionTooltipBody":"Select the new edit option to easily share your file with people or groups.","boxui.unifiedShare.ftuxEditPermissionTooltipTitle":"Collaboration made easy","boxui.unifiedShare.ftuxLinkText":"Read more about shared link security here.","boxui.unifiedShare.ftuxNewUSMUserBody":"We’ve simplified the sharing experience when you click 'Share'. Invite people to this item here and toggle the link on or off below for easy sharing.","boxui.unifiedShare.ftuxNewUsmUserTitle":"Simplified sharing for files and folders","boxui.unifiedShare.ftuxSharedLinkPermissionsEditTag":"NEW","boxui.unifiedShare.groupLabel":"Group","boxui.unifiedShare.inviteDisabledTooltip":"You do not have permission to invite collaborators.","boxui.unifiedShare.inviteDisabledWeblinkTooltip":"Collaborators cannot be added to bookmarks.","boxui.unifiedShare.inviteFieldLabel":"Invite People","boxui.unifiedShare.justifiableContactRestrictionNotice":"This content requires a business justification for {count, plural, one {{count} invitation} other {{count} invitations}}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionNoticeSingular":"This content requires a business justification to invite {email}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionRemoveButtonLabel":"Alternatively, remove to continue","boxui.unifiedShare.justificationRequiredError":"Select a justification or remove to continue","boxui.unifiedShare.justificationSelectPlaceholder":"Select Justification","boxui.unifiedShare.levelOfCollabAccess":"Set the level of {collaboratorAccess} and increase security through one of our paid plans. {upgradeLink}","boxui.unifiedShare.linkShareOff":"Create shared link","boxui.unifiedShare.linkShareOn":"Shared link is created","boxui.unifiedShare.message":"Message","boxui.unifiedShare.modalTitle":"Share ‘{itemName}’","boxui.unifiedShare.peopleInCompanyCanAccessFile":"Anyone in your company with the link or people invited to this file can access","boxui.unifiedShare.peopleInCompanyCanAccessFolder":"Anyone in your company with the link or people invited to this folder can access","boxui.unifiedShare.peopleInCompanyCanAccessHub":"Anyone in your company with the link or people invited to this hub can access","boxui.unifiedShare.peopleInEnterpriseName":"People in {enterpriseName}","boxui.unifiedShare.peopleInItemCanAccessFile":"Only invited people can access this file","boxui.unifiedShare.peopleInItemCanAccessFolder":"Only invited people can access this folder","boxui.unifiedShare.peopleInItemCanAccessHub":"Only invited people can access this hub","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFile":"Anyone at {company} with the link or people invited to this file can access","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFolder":"Anyone at {company} with the link or people invited to this folder can access","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessHub":"Anyone at {company} with the link or people invited to this hub can access","boxui.unifiedShare.peopleInThisFile":"Invited people only","boxui.unifiedShare.peopleInThisFolder":"Invited people only","boxui.unifiedShare.peopleInYourCompany":"People in your company","boxui.unifiedShare.peopleWithLinkDescription":"Publicly accessible and no sign-in required","boxui.unifiedShare.peopleWithTheLinkText":"People with the link","boxui.unifiedShare.previewerLevelButtonLabel":"Invite as Previewer","boxui.unifiedShare.previewerLevelDescription":"Preview only","boxui.unifiedShare.previewerLevelText":"Previewer","boxui.unifiedShare.previewerUploaderLevelButtonLabel":"Invite as Previewer Uploader","boxui.unifiedShare.previewerUploaderLevelDescription":"Upload and preview","boxui.unifiedShare.previewerUploaderLevelText":"Previewer Uploader","boxui.unifiedShare.recommendedSharingTooltipCalloutText":"Based on your usage, we think {fullName} would be interested in this file.","boxui.unifiedShare.removeCollaboratorConfirmationDescription":"Are you sure you want to remove {name} as a collaborator?","boxui.unifiedShare.removeCollaboratorConfirmationTitle":"Remove Collaborator","boxui.unifiedShare.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.unifiedShare.removeLinkConfirmationTitle":"Remove Shared Link","boxui.unifiedShare.removeLinkTooltip":"You do not have permission to remove the link.","boxui.unifiedShare.restrictedContactsError":"Remove to continue","boxui.unifiedShare.sendSharedLink":"Send Shared Link","boxui.unifiedShare.sendSharedLinkFieldLabel":"Email Shared Link","boxui.unifiedShare.sharedLinkDisabledTooltipCopy":"Create and copy link for sharing","boxui.unifiedShare.sharedLinkEditablePubliclyAvailable":"Publicly available for anyone to view and download. Any logged in users with the link can edit.","boxui.unifiedShare.sharedLinkElevatedEditableCompanyAvailable":"People who have access to this link can edit.","boxui.unifiedShare.sharedLinkExpirationTooltip":"This link will expire and be inaccessible on {expiration, date, long}.","boxui.unifiedShare.sharedLinkPermissionsEdit":"Can edit","boxui.unifiedShare.sharedLinkPermissionsEditTooltip":"This permission can only be changed in Box Notes","boxui.unifiedShare.sharedLinkPermissionsViewDownload":"Can view and download","boxui.unifiedShare.sharedLinkPermissionsViewOnly":"Can view only","boxui.unifiedShare.sharedLinkPubliclyAvailable":"This content is publicly available to anyone with the link.","boxui.unifiedShare.sharedLinkSectionLabel":"Share Link","boxui.unifiedShare.sharedLinkSettings":"Link Settings","boxui.unifiedShare.sharedLinkSettingsCalloutText":"Create a custom URL, enable password protection, enable link expiration, and much more","boxui.unifiedShare.suggestedCollabsTitle":"Suggested","boxui.unifiedShare.upgradeGetMoreAccessControlsDescription":"62% of customers on your plan {upgradeGetMoreAccessControlsLink} to manage collaborators’ access and permission settings","boxui.unifiedShare.upgradeGetMoreAccessControlsLink":"upgrade","boxui.unifiedShare.upgradeInlineNoticeTitle":"Upgrade Your Plan","boxui.unifiedShare.upgradeLink":"Upgrade now","boxui.unifiedShare.uploaderLevelButtonLabel":"Invite as Uploader","boxui.unifiedShare.uploaderLevelDescription":"Upload only","boxui.unifiedShare.uploaderLevelText":"Uploader","boxui.unifiedShare.viewerLevelButtonLabel":"Invite as Viewer","boxui.unifiedShare.viewerLevelDescription":"Download, preview, and share","boxui.unifiedShare.viewerLevelText":"Viewer","boxui.unifiedShare.viewerUploaderLevelButtonLabel":"Invite as Viewer Uploader","boxui.unifiedShare.viewerUploaderLevelDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.viewerUploaderLevelText":"Viewer Uploader","boxui.validation.URLError":"Invalid URL","boxui.validation.emailError":"Invalid Email Address","boxui.validation.genericError":"Invalid Input","boxui.validation.invalidDateError":"Invalid Date","boxui.validation.invalidUserError":"Invalid User","boxui.validation.requiredError":"Required Field","boxui.validation.tooLongError":"Input cannot exceed {max} characters","boxui.validation.tooShortError":"Input must be at least {min} characters"})};let s;class l{static getUserAgent(){return __webpack_require__.g.navigator.userAgent}static isMobile(){const e=l.getUserAgent();return/iphone|ipad|ipod|android|blackberry|bb10|mini|windows\sce|palm/i.test(e)||/Mobi/i.test(e)}static isIE(){return/Trident/i.test(l.getUserAgent())}static isFirefox(){const e=l.getUserAgent();return/Firefox/i.test(e)&&!/Seamonkey\//i.test(e)}static isSafari(){const e=l.getUserAgent();return/AppleWebKit/i.test(e)&&!/Chrome\//i.test(e)}static isMobileSafari(){return l.isMobile()&&l.isSafari()&&!l.isMobileChromeOniOS()}static isMobileChromeOniOS(){const e=l.getUserAgent();return l.isMobile()&&/AppleWebKit/i.test(e)&&/CriOS\//i.test(e)}static canDownload(){return!l.isMobile()||!window.externalHost&&"download"in document.createElement("a")}static canPlayDash(e=!1){if(void 0===s||e){const e=__webpack_require__.g.MediaSource;s=!!e&&"function"==typeof e.isTypeSupported&&e.isTypeSupported('video/mp4; codecs="avc1.64001E"')}return s}static canWriteToClipboard(){return!(!__webpack_require__.g.navigator.clipboard||!__webpack_require__.g.navigator.clipboard.writeText)}static canReadFromClipboard(){return!(!__webpack_require__.g.navigator.clipboard||!__webpack_require__.g.navigator.clipboard.readText)}}const c=l,u="folder",d="file",h="web_link",f="annotation",p="comment",m="file_version",b="folder_",g="file_",y=b,v=g,w="search_",E="metadata_",S="DESC",x="Content-Type",O="Accept-Language",P="securityClassification-6VMVochwUWo",C="boxSkillsCards",k="properties",_="global",A="enterprise",T="experimental",j="id",I="name",D="size",M="extension",R="permissions",F="modified_at",L="restored_at",N="restored_from",U="created_at",B="is_externally_owned",H="created_by",V="modified_by",z="promoted_by",$="restored_by",q="trashed_by",G="representations",W="authenticated_download_url",Z="file_version",X="is_download_available",K="version_number",Q="metadata",Y=`${Q}.${_}.archivedItemTemplate`,J=`${Q}.${_}.${C}`,ee="trashed_at",te="uploader_display_name",re="can_comment",ne="can_create_annotations",ie="can_delete",oe="can_edit",ae="can_resolve",se="can_upload",le="can_view_annotations",ce="https://api.box.com",ue="https://upload.box.com",de="https://upload.app.box.com",he="bcow-integration-icon",fe="fetch_comments_error",pe="fetch_replies_error",me="fetch_tasks_error",be="fetch_metadata_error",ge="execute_integrations_error",ye="create_comment_error",ve="create_reply_error",we="create_task_error",Ee="create_task_collaborator_error",Se="create_metadata_error",xe="delete_comment_error",Oe="group_exceeds_limit",Pe="update_task_error",Ce="update_comment_error",ke="update_metadata_error",_e="share_item_error",Ae="isErrorDisplayed",Te="[3d][pdf][text][mp3][json][jpg?dimensions=1024x1024&paged=false][webp?dimensions=1024x1024][jpg?dimensions=2048x2048,png?dimensions=2048x2048]"+(c.canPlayDash()?"[dash,mp4][filmstrip]":"[mp4]"),je=3e3,Ie=1e3,De="[jpg?dimensions=1024x1024&paged=false,png?dimensions=1024x1024][pdf][text]",Me="GET",Re="POST",Fe="PUT",Le="DELETE",Ne="OPTIONS",Ue=429,Be="upload",He={type:"user",id:"2",name:""},Ve="1338",ze="13418",$e=26,qe="NOT_STARTED",Ge="annotation",We="app_activity",Ze="comment",Xe="task",Ke="versions";function Qe(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Ye extends(n()){constructor(...e){super(...e),Qe(this,"language",a.language),Qe(this,"messages",a.messages),Qe(this,"setComponent",(e=>{this.component=e})),Qe(this,"onInteraction",(e=>{this.emit("interaction",e)}))}show(e,t,r={}){this.id=e,this.token=t,this.options=r,this.emit=this.emit.bind(this);const n=r.container||"body";this.container=n instanceof HTMLElement?n:document.querySelector(n),this.render()}hide(){this.removeAllListeners(),t.unmountComponentAtNode(this.container),this.container&&(this.container.innerHTML="")}render(){throw new Error("Unimplemented!")}getComponent(){return this.component}clearCache(){const e=this.getComponent();e&&"function"==typeof e.clearCache&&e.clearCache()}emit(e,t){try{return super.emit(e,t)}catch(e){}return!1}}const Je=Ye;var et=__webpack_require__(78444),tt=__webpack_require__.n(et),rt=__webpack_require__(70406),nt=__webpack_require__.n(rt),it=__webpack_require__(18564),ot=__webpack_require__.n(it),at=function(e,t){return at=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},at(e,t)};function st(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}at(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var lt=function(){return lt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},lt.apply(this,arguments)};function ct(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function ut(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var dt,ht,ft,pt=__webpack_require__(57160),mt=__webpack_require__.n(pt);function bt(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function gt(e){return e.type===ht.literal}function yt(e){return e.type===ht.argument}function vt(e){return e.type===ht.number}function wt(e){return e.type===ht.date}function Et(e){return e.type===ht.time}function St(e){return e.type===ht.select}function xt(e){return e.type===ht.plural}function Ot(e){return e.type===ht.pound}function Pt(e){return e.type===ht.tag}function Ct(e){return!(!e||"object"!=typeof e||e.type!==ft.number)}function kt(e){return!(!e||"object"!=typeof e||e.type!==ft.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(dt||(dt={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(ht||(ht={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ft||(ft={}));var _t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,At=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Tt(e){var t={};return e.replace(At,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var jt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,It=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Dt=/^(@+)?(\+|#+)?[rs]?$/g,Mt=/(\*)(0+)|(#+)(0+)|(0+)/g,Rt=/^(0+)$/;function Ft(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Dt,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function Lt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Nt(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Rt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ut(e){return Lt(e)||{}}function Bt(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=lt(lt(lt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return lt(lt({},e),Ut(t))}),{}));continue;case"engineering":t=lt(lt(lt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return lt(lt({},e),Ut(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Mt,(function(e,r,n,i,o,a){if(r)t.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Rt.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(It.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(It,(function(e,r,n,i,o,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var o=i.options[0];"w"===o?t=lt(lt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=lt(lt({},t),Ft(o)))}else if(Dt.test(i.stem))t=lt(lt({},t),Ft(i.stem));else{var a=Lt(i.stem);a&&(t=lt(lt({},t),a));var s=Nt(i.stem);s&&(t=lt(lt({},t),s))}}return t}var Ht,Vt={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function zt(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(Vt[r||""]||Vt[n||""]||Vt["".concat(n,"-001")]||Vt["001"])[0]}var $t=new RegExp("^".concat(_t.source,"*")),qt=new RegExp("".concat(_t.source,"*$"));function Gt(e,t){return{start:e,end:t}}var Wt=!!String.prototype.startsWith&&"_a".startsWith("a",1),Zt=!!String.fromCodePoint,Xt=!!Object.fromEntries,Kt=!!String.prototype.codePointAt,Qt=!!String.prototype.trimStart,Yt=!!String.prototype.trimEnd,Jt=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},er=!0;try{er="a"===(null===(Ht=lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ht?void 0:Ht[0])}catch(e){er=!1}var tr,rr=Wt?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},nr=Zt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;i>o;){if((r=e[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},ir=Xt?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],a=i[1];t[o]=a}return t},or=Kt?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},ar=Qt?function(e){return e.trimStart()}:function(e){return e.replace($t,"")},sr=Yt?function(e){return e.trimEnd()}:function(e){return e.replace(qt,"")};function lr(e,t){return new RegExp(e,t)}if(er){var cr=lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");tr=function(e,t){var r;return cr.lastIndex=t,null!==(r=cr.exec(e)[1])&&void 0!==r?r:""}}else tr=function(e,t){for(var r=[];;){var n=or(e,t);if(void 0===n||hr(n)||fr(n))break;r.push(n),t+=n>=65536?2:1}return nr.apply(void 0,r)};var ur=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(dt.UNMATCHED_CLOSING_TAG,Gt(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&dr(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:ht.pound,location:Gt(a,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ht.literal,value:"<".concat(n,"/>"),location:Gt(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!dr(this.char()))return this.error(dt.INVALID_TAG,Gt(a,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(dt.UNMATCHED_CLOSING_TAG,Gt(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ht.tag,value:n,children:o,location:Gt(r,this.clonePosition())},err:null}:this.error(dt.INVALID_TAG,Gt(a,this.clonePosition())))}return this.error(dt.UNCLOSED_TAG,Gt(r,this.clonePosition()))}return this.error(dt.INVALID_TAG,Gt(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var s=Gt(r,this.clonePosition());return{val:{type:ht.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(dr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return nr.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),nr(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(dt.EMPTY_ARGUMENT,Gt(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(dt.MALFORMED_ARGUMENT,Gt(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ht.argument,value:n,location:Gt(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(dt.MALFORMED_ARGUMENT,Gt(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=tr(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:Gt(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(dt.EXPECT_ARGUMENT_TYPE,Gt(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(f=sr(g.val)).length)return this.error(dt.EXPECT_ARGUMENT_STYLE,Gt(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Gt(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(n)).err)return y;var u=Gt(n,this.clonePosition());if(l&&rr(null==l?void 0:l.style,"::",0)){var d=ar(l.style.slice(2));if("number"===a)return(g=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?g:{val:{type:ht.number,value:r,location:u,style:g.val},err:null};if(0===d.length)return this.error(dt.EXPECT_DATE_TIME_SKELETON,u);var h=d;this.locale&&(h=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=zt(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)r+="a";for(;a-- >0;)r=l+r}else r+="J"===i?"H":i}return r}(d,this.locale));var f={type:ft.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Tt(h):{}};return{val:{type:"date"===a?ht.date:ht.time,value:r,location:u,style:f},err:null}}return{val:{type:"number"===a?ht.number:"date"===a?ht.date:ht.time,value:r,location:u,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(dt.EXPECT_SELECT_ARGUMENT_OPTIONS,Gt(p,lt({},p)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),b=0;if("select"!==a&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(dt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Gt(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(dt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,dt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),m=this.parseIdentifierIfPossible(),b=g.val}var y,v=this.tryParsePluralOrSelectOptions(e,a,t,m);if(v.err)return v;if((y=this.tryParseArgumentClose(n)).err)return y;var w=Gt(n,this.clonePosition());return"select"===a?{val:{type:ht.select,value:r,options:ir(v.val),location:w},err:null}:{val:{type:ht.plural,value:r,options:ir(v.val),offset:b,pluralType:"plural"===a?"cardinal":"ordinal",location:w},err:null};default:return this.error(dt.INVALID_ARGUMENT_TYPE,Gt(o,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,Gt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(dt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Gt(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(jt).filter((function(e){return e.length>0}));r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],a=i.slice(1),s=0,l=a;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:a})}return t}(e)}catch(e){return this.error(dt.INVALID_NUMBER_SKELETON,t)}return{val:{type:ft.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Bt(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,o=!1,a=[],s=new Set,l=n.value,c=n.location;;){if(0===l.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(dt.EXPECT_PLURAL_ARGUMENT_SELECTOR,dt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=Gt(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}if(s.has(l))return this.error("select"===t?dt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:dt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?dt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:dt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Gt(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,r);if(f.err)return f;var p=this.tryParseArgumentClose(h);if(p.err)return p;a.push([l,{value:f.val,location:Gt(h,this.clonePosition())}]),s.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===a.length?this.error("select"===t?dt.EXPECT_SELECT_ARGUMENT_SELECTOR:dt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Gt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(dt.MISSING_OTHER_CLAUSE,Gt(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=Gt(n,this.clonePosition());return i?Jt(o*=r)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=or(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(rr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&hr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function dr(e){return e>=97&&e<=122||e>=65&&e<=90}function hr(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function fr(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function pr(e){e.forEach((function(e){if(delete e.location,St(e)||xt(e))for(var t in e.options)delete e.options[t].location,pr(e.options[t].value);else vt(e)&&Ct(e.style)||(wt(e)||Et(e))&&kt(e.style)?delete e.style.location:Pt(e)&&pr(e.children)}))}function mr(e,t){void 0===t&&(t={}),t=lt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ur(e,t).parse();if(r.err){var n=SyntaxError(dt[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||pr(r.val),r.val}function br(e,t){var r=t&&t.cache?t.cache:Pr,n=t&&t.serializer?t.serializer:Er;return(t&&t.strategy?t.strategy:wr)(e,{cache:r,serializer:n})}function gr(e,t,r,n){var i,o=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:r(n),a=t.get(o);return void 0===a&&(a=e.call(this,n),t.set(o,a)),a}function yr(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}function vr(e,t,r,n,i){return r.bind(t,e,n,i)}function wr(e,t){return vr(e,this,1===e.length?gr:yr,t.cache.create(),t.serializer)}var Er=function(){return JSON.stringify(arguments)};function Sr(){this.cache=Object.create(null)}Sr.prototype.get=function(e){return this.cache[e]},Sr.prototype.set=function(e,t){this.cache[e]=t};var xr,Or,Pr={create:function(){return new Sr}},Cr={variadic:function(e,t){return vr(e,this,yr,t.cache.create(),t.serializer)},monadic:function(e,t){return vr(e,this,gr,t.cache.create(),t.serializer)}};(Or=xr||(xr={})).MISSING_VALUE="MISSING_VALUE",Or.INVALID_VALUE="INVALID_VALUE",Or.MISSING_INTL_API="MISSING_INTL_API";var kr,_r=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return st(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ar=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),xr.INVALID_VALUE,i)||this}return st(t,e),t}(_r),Tr=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),xr.INVALID_VALUE,n)||this}return st(t,e),t}(_r),jr=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),xr.MISSING_VALUE,r)||this}return st(t,e),t}(_r);function Ir(e){return"function"==typeof e}function Dr(e,t,r,n,i,o,a){if(1===e.length&&gt(e[0]))return[{type:kr.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(gt(u))s.push({type:kr.literal,value:u.value});else if(Ot(u))"number"==typeof o&&s.push({type:kr.literal,value:r.getNumberFormat(t).format(o)});else{var d=u.value;if(!i||!(d in i))throw new jr(d,a);var h=i[d];if(yt(u))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?kr.literal:kr.object,value:h});else if(wt(u)){var f="string"==typeof u.style?n.date[u.style]:kt(u.style)?u.style.parsedOptions:void 0;s.push({type:kr.literal,value:r.getDateTimeFormat(t,f).format(h)})}else if(Et(u))f="string"==typeof u.style?n.time[u.style]:kt(u.style)?u.style.parsedOptions:n.time.medium,s.push({type:kr.literal,value:r.getDateTimeFormat(t,f).format(h)});else if(vt(u))(f="string"==typeof u.style?n.number[u.style]:Ct(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),s.push({type:kr.literal,value:r.getNumberFormat(t,f).format(h)});else{if(Pt(u)){var p=u.children,m=u.value,b=i[m];if(!Ir(b))throw new Tr(m,"function",a);var g=b(Dr(p,t,r,n,i,o).map((function(e){return e.value})));Array.isArray(g)||(g=[g]),s.push.apply(s,g.map((function(e){return{type:"string"==typeof e?kr.literal:kr.object,value:e}})))}if(St(u)){if(!(y=u.options[h]||u.options.other))throw new Ar(u.value,h,Object.keys(u.options),a);s.push.apply(s,Dr(y.value,t,r,n,i))}else if(xt(u)){var y;if(!(y=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new _r('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',xr.MISSING_INTL_API,a);var v=r.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0));y=u.options[v]||u.options.other}if(!y)throw new Ar(u.value,h,Object.keys(u.options),a);s.push.apply(s,Dr(y.value,t,r,n,i,h-(u.offset||0)))}}}}return(w=s).length<2?w:w.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===kr.literal&&t.type===kr.literal?r.value+=t.value:e.push(t),e}),[]);var w}function Mr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(kr||(kr={}));var Rr,Fr=function(){function e(t,r,n,i){var o,a,s,l=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=l.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===kr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return Dr(l.ast,l.locales,l.formatters,l.formats,e,void 0,l.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=l.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(l.locales)[0]}},this.getAst=function(){return l.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var c=i||{},u=(c.formatters,ct(c,["formatters"]));this.ast=e.__parse(t,lt(lt({},u),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(a=e.formats,(s=n)?Object.keys(a).reduce((function(e,t){var r,n;return e[t]=(r=a[t],(n=s[t])?lt(lt(lt({},r||{}),n||{}),Object.keys(r).reduce((function(e,t){return e[t]=lt(lt({},r[t]),n[t]||{}),e}),{})):r),e}),lt({},a)):a),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ut([void 0],t,!1)))}),{cache:Mr(o.number),strategy:Cr.variadic}),getDateTimeFormat:br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ut([void 0],t,!1)))}),{cache:Mr(o.dateTime),strategy:Cr.variadic}),getPluralRules:br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ut([void 0],t,!1)))}),{cache:Mr(o.pluralRules),strategy:Cr.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=mr,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(Rr||(Rr={}));var Lr=function(e){function t(r,n,i){var o=this,a=i?i instanceof Error?i:new Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return st(t,e),t}(Error),Nr=function(e){function t(t,r){return e.call(this,Rr.UNSUPPORTED_FORMATTER,t,r)||this}return st(t,e),t}(Lr),Ur=function(e){function t(t,r){return e.call(this,Rr.INVALID_CONFIG,t,r)||this}return st(t,e),t}(Lr),Br=function(e){function t(t,r){return e.call(this,Rr.MISSING_DATA,t,r)||this}return st(t,e),t}(Lr),Hr=function(e){function t(t,r,n){var i=e.call(this,Rr.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(r,"\n"),n)||this;return i.locale=r,i}return st(t,e),t}(Lr),Vr=function(e){function t(t,r,n,i){var o=e.call(this,"".concat(t,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),r,i)||this;return o.descriptor=n,o.locale=r,o}return st(t,e),t}(Hr),zr=function(e){function t(t,r){var n=e.call(this,Rr.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return n.descriptor=t,n}return st(t,e),t}(Lr);function $r(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var qr={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function Gr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Wr(e,t,r,n){var i,o=e&&e[t];if(o&&(i=o[r]),i)return i;n(new Nr("No ".concat(t," format named: ").concat(r)))}function Zr(e){bt(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Xr=lt(lt({},qr),{textComponent:e.Fragment});function Kr(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(var o=0;o<i;o++){var a=r[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}var Qr="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?e.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=e.createContext(null)),Yr=Qr.Consumer,Jr=Qr.Provider,en=Qr;function tn(){var t=e.useContext(en);return Zr(t),t}function rn(e,t){var r=e.values,n=ct(e,["values"]),i=t.values,o=ct(t,["values"]);return Kr(i,r)&&Kr(n,o)}function nn(t){var r=tn(),n=r.formatMessage,i=r.textComponent,o=void 0===i?e.Fragment:i,a=t.id,s=t.description,l=t.defaultMessage,c=t.values,u=t.children,d=t.tagName,h=void 0===d?o:d,f=n({id:a,description:s,defaultMessage:l},c,{ignoreTag:t.ignoreTag});return"function"==typeof u?u(Array.isArray(f)?f:[f]):h?e.createElement(h,null,e.Children.toArray(f)):e.createElement(e.Fragment,null,f)}nn.displayName="FormattedMessage";var on=e.memo(nn,rn);on.displayName="MemoizedFormattedMessage";const an=on;var sn=__webpack_require__(43165);function ln(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=lt({timeZone:t},e[n]),r}),{})}function cn(e,t){return Object.keys(lt(lt({},e),t)).reduce((function(r,n){return r[n]=lt(lt({},e[n]||{}),t[n]||{}),r}),{})}function un(e,t){if(!t)return e;var r=Fr.formats;return lt(lt(lt({},r),e),{date:cn(ln(r.date,t),ln(e.date||{},t)),time:cn(ln(r.time,t),ln(e.time||{},t))})}var dn=function(e,t,r,n,i){var o=e.locale,a=e.formats,s=e.messages,l=e.defaultLocale,c=e.defaultFormats,u=e.fallbackOnEmptyString,d=e.onError,h=e.timeZone,f=e.defaultRichTextElements;void 0===r&&(r={id:""});var p=r.id,m=r.defaultMessage;bt(!!p,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var b=String(p),g=s&&Object.prototype.hasOwnProperty.call(s,b)&&s[b];if(Array.isArray(g)&&1===g.length&&g[0].type===ht.literal)return g[0].value;if(!n&&g&&"string"==typeof g&&!f)return g.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=lt(lt({},f),n||{}),a=un(a,h),c=un(c,h),!g){if(!1===u&&""===g)return g;if((!m||o&&o.toLowerCase()!==l.toLowerCase())&&d(new zr(r,o)),m)try{return t.getMessageFormat(m,l,c,i).format(n)}catch(e){return d(new Vr('Error formatting default message for: "'.concat(b,'", rendering default message verbatim'),o,r,e)),"string"==typeof m?m:b}return b}try{return t.getMessageFormat(g,o,a,lt({formatters:t},i||{})).format(n)}catch(e){d(new Vr('Error formatting message: "'.concat(b,'", using ').concat(m?"default message":"id"," as fallback."),o,r,e))}if(m)try{return t.getMessageFormat(m,l,c,i).format(n)}catch(e){d(new Vr('Error formatting the default message for: "'.concat(b,'", rendering message verbatim'),o,r,e))}return"string"==typeof g?g:"string"==typeof m?m:b},hn=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function fn(e,t,r){var n=e.locale,i=e.formats,o=e.onError;void 0===r&&(r={});var a=r.format,s=a&&Wr(i,"number",a,o)||{};return t(n,$r(r,hn,s))}function pn(e,t,r,n){void 0===n&&(n={});try{return fn(e,t,n).format(r)}catch(t){e.onError(new Hr("Error formatting number.",e.locale,t))}return String(r)}function mn(e,t,r,n){void 0===n&&(n={});try{return fn(e,t,n).formatToParts(r)}catch(t){e.onError(new Hr("Error formatting number.",e.locale,t))}return[]}var bn=["numeric","style"];function gn(e,t,r,n,i){void 0===i&&(i={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new _r('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',xr.MISSING_INTL_API));try{return function(e,t,r){var n=e.locale,i=e.formats,o=e.onError;void 0===r&&(r={});var a=r.format,s=!!a&&Wr(i,"relative",a,o)||{};return t(n,$r(r,bn,s))}(e,t,i).format(r,n)}catch(t){e.onError(new Hr("Error formatting relative time.",e.locale,t))}return String(r)}var yn=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function vn(e,t,r,n){var i=e.locale,o=e.formats,a=e.onError,s=e.timeZone;void 0===n&&(n={});var l=n.format,c=lt(lt({},s&&{timeZone:s}),l&&Wr(o,t,l,a)),u=$r(n,yn,c);return"time"!==t||u.hour||u.minute||u.second||u.timeStyle||u.dateStyle||(u=lt(lt({},u),{hour:"numeric",minute:"numeric"})),r(i,u)}function wn(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return vn(e,"date",t,a).format(s)}catch(t){e.onError(new Hr("Error formatting date.",e.locale,t))}return String(s)}function En(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return vn(e,"time",t,a).format(s)}catch(t){e.onError(new Hr("Error formatting time.",e.locale,t))}return String(s)}function Sn(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=r[2],s=void 0===a?{}:a,l=e.timeZone,c=e.locale,u=e.onError,d=$r(s,yn,l?{timeZone:l}:{});try{return t(c,d).formatRange(i,o)}catch(t){u(new Hr("Error formatting date time range.",e.locale,t))}return String(i)}function xn(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return vn(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new Hr("Error formatting date.",e.locale,t))}return[]}function On(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=void 0===o?{}:o,s="string"==typeof i?new Date(i||0):i;try{return vn(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new Hr("Error formatting time.",e.locale,t))}return[]}var Pn=["type"];function Cn(e,t,r,n){var i=e.locale,o=e.onError;void 0===n&&(n={}),Intl.PluralRules||o(new _r('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',xr.MISSING_INTL_API));var a=$r(n,Pn);try{return t(i,a).select(r)}catch(e){o(new Hr("Error formatting plural.",i,e))}return"other"}var kn=["type","style"],_n=Date.now();function An(e,t,r,n){void 0===n&&(n={});var i=Tn(e,t,r,n).reduce((function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]);return 1===i.length?i[0]:0===i.length?"":i}function Tn(e,t,r,n){var i=e.locale,o=e.onError;void 0===n&&(n={}),Intl.ListFormat||o(new _r('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',xr.MISSING_INTL_API));var a=$r(n,kn);try{var s={},l=r.map((function(e,t){if("object"==typeof e){var r=function(e){return"".concat(_n,"_").concat(e,"_").concat(_n)}(t);return s[r]=e,r}return String(e)}));return t(i,a).formatToParts(l).map((function(e){return"literal"===e.type?e:lt(lt({},e),{value:s[e.value]||e.value})}))}catch(e){o(new Hr("Error formatting list.",i,e))}return r}var jn,In=["style","type","fallback","languageDisplay"];function Dn(e,t,r,n){var i=e.locale,o=e.onError;Intl.DisplayNames||o(new _r('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',xr.MISSING_INTL_API));var a=$r(n,In);try{return t(i,a).of(r)}catch(e){o(new Hr("Error formatting display name.",i,e))}}function Mn(e,t){var r=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,i=br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,ut([void 0],t,!1)))}),{cache:Gr(e.dateTime),strategy:Cr.variadic}),o=br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,ut([void 0],t,!1)))}),{cache:Gr(e.number),strategy:Cr.variadic}),a=br((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,ut([void 0],t,!1)))}),{cache:Gr(e.pluralRules),strategy:Cr.variadic});return{getDateTimeFormat:i,getNumberFormat:o,getMessageFormat:br((function(e,t,r,n){return new Fr(e,t,r,lt({formatters:{getNumberFormat:o,getDateTimeFormat:i,getPluralRules:a}},n||{}))}),{cache:Gr(e.message),strategy:Cr.variadic}),getRelativeTimeFormat:br((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,ut([void 0],e,!1)))}),{cache:Gr(e.relativeTime),strategy:Cr.variadic}),getPluralRules:a,getListFormat:br((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,ut([void 0],e,!1)))}),{cache:Gr(e.list),strategy:Cr.variadic}),getDisplayNames:br((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,ut([void 0],e,!1)))}),{cache:Gr(e.displayNames),strategy:Cr.variadic})}}(t),n=lt(lt({},qr),e),i=n.locale,o=n.defaultLocale,a=n.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&a?a(new Br('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&a&&a(new Br('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(o,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(a&&a(new Ur('"locale" was not configured, using "'.concat(o,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),n.locale=n.defaultLocale||"en"),function(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}(n),lt(lt({},n),{formatters:r,formatNumber:pn.bind(null,n,r.getNumberFormat),formatNumberToParts:mn.bind(null,n,r.getNumberFormat),formatRelativeTime:gn.bind(null,n,r.getRelativeTimeFormat),formatDate:wn.bind(null,n,r.getDateTimeFormat),formatDateToParts:xn.bind(null,n,r.getDateTimeFormat),formatTime:En.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:Sn.bind(null,n,r.getDateTimeFormat),formatTimeToParts:On.bind(null,n,r.getDateTimeFormat),formatPlural:Cn.bind(null,n,r.getPluralRules),formatMessage:dn.bind(null,n,r),$t:dn.bind(null,n,r),formatList:An.bind(null,n,r.getListFormat),formatListToParts:Tn.bind(null,n,r.getListFormat),formatDisplayName:Dn.bind(null,n,r.getDisplayNames)})}function Rn(t){return t?Object.keys(t).reduce((function(r,n){var i,o=t[n];return r[n]="function"==typeof o?(i=o,function(t){return i(e.Children.toArray(t))}):o,r}),{}):t}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(jn||(jn={}));var Fn=function(t,r,n,i){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var s=Rn(i),l=dn.apply(void 0,ut([t,r,n,s],o,!1));return Array.isArray(l)?e.Children.toArray(l):l},Ln=function(e,t){var r=e.defaultRichTextElements,n=ct(e,["defaultRichTextElements"]),i=Rn(r),o=Mn(lt(lt(lt({},Xr),n),{defaultRichTextElements:i}),t),a={locale:o.locale,timeZone:o.timeZone,fallbackOnEmptyString:o.fallbackOnEmptyString,formats:o.formats,defaultLocale:o.defaultLocale,defaultFormats:o.defaultFormats,messages:o.messages,onError:o.onError,defaultRichTextElements:i};return lt(lt({},o),{formatMessage:Fn.bind(null,a,o.formatters),$t:Fn.bind(null,a,o.formatters)})};function Nn(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}var Un=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},e.state={cache:e.cache,intl:Ln(Nn(e.props),e.cache),prevConfig:Nn(e.props)},e}return st(r,t),r.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,i=Nn(e);return Kr(r,i)?null:{intl:Ln(i,n),prevConfig:i}},r.prototype.render=function(){return Zr(this.state.intl),e.createElement(Jr,{value:this.state.intl},this.props.children)},r.displayName="IntlProvider",r.defaultProps=Xr,r}(e.PureComponent);const Bn=Un,Hn=({language:t,messages:r,children:n})=>t&&r?e.createElement(Bn,{locale:t,messages:r},n):e.Children.only(n);var Vn,zn;!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(Vn||(Vn={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(zn||(zn={}));var $n=function(e){var t=tn(),r=e.value,n=e.children,i=ct(e,["value","children"]);return n(t.formatNumberToParts(r,i))};function qn(e){var t=function(t){var r=tn(),n=t.value,i=t.children,o=ct(t,["value","children"]),a="string"==typeof n?new Date(n||0):n;return i("formatDate"===e?r.formatDateToParts(a,o):r.formatTimeToParts(a,o))};return t.displayName=zn[e],t}function Gn(t){var r=function(r){var n=tn(),i=r.value,o=r.children,a=ct(r,["value","children"]),s=n[t](i,a);if("function"==typeof o)return o(s);var l=n.textComponent||e.Fragment;return e.createElement(l,null,s)};return r.displayName=Vn[t],r}$n.displayName="FormattedNumberParts",$n.displayName="FormattedNumberParts",Gn("formatDate"),Gn("formatTime"),Gn("formatNumber"),Gn("formatList"),Gn("formatDisplayName"),qn("formatDate"),qn("formatTime");const Wn={today:{id:"be.today",defaultMessage:"today"},yesterday:{id:"be.yesterday",defaultMessage:"yesterday"},logo:{id:"be.logo",defaultMessage:"Logo"},error:{id:"be.error",defaultMessage:"Error"},success:{id:"be.success",defaultMessage:"Success"},preview:{id:"be.preview",defaultMessage:"Preview"},previewError:{id:"be.previewError",defaultMessage:"This preview didn’t load. Please try to open or download the file to view."},previewErrorBlockedByPolicy:{id:"be.previewErrorBlockedByPolicy",defaultMessage:"Your access to this content is restricted due to a security policy."},boxEditErrorBlockedByPolicy:{id:"be.boxEditErrorBlockedByPolicy",defaultMessage:"Local editing of this content has been disabled based on an access policy"},previewUpdate:{id:"be.previewUpdate",defaultMessage:"A new version of this file is available."},complete:{id:"be.complete",defaultMessage:"Complete"},loading:{id:"be.loading",defaultMessage:"Loading"},reload:{id:"be.reload",defaultMessage:"Reload"},open:{id:"be.open",defaultMessage:"Open"},close:{id:"be.close",defaultMessage:"Close"},copy:{id:"be.copy",defaultMessage:"Copy"},delete:{id:"be.delete",defaultMessage:"Delete"},rename:{id:"be.rename",defaultMessage:"Rename"},remove:{id:"be.remove",defaultMessage:"Remove"},resume:{id:"be.resume",defaultMessage:"Resume"},resumeAll:{id:"be.resumeAll",defaultMessage:"Resume All"},retry:{id:"be.retry",defaultMessage:"Retry"},share:{id:"be.share",defaultMessage:"Share"},download:{id:"be.download",defaultMessage:"Download"},save:{id:"be.save",defaultMessage:"Save"},cancel:{id:"be.cancel",defaultMessage:"Cancel"},create:{id:"be.create",defaultMessage:"Create"},choose:{id:"be.choose",defaultMessage:"Choose"},upload:{id:"be.upload",defaultMessage:"Upload"},uploadEmptyState:{id:"be.uploadEmptyState",defaultMessage:"Empty state"},uploadErrorState:{id:"be.uploadErrorState",defaultMessage:"Error state"},uploadSuccessState:{id:"be.uploadSuccessState",defaultMessage:"Success state"},add:{id:"be.add",defaultMessage:"Add"},gridView:{id:"be.gridView",defaultMessage:"Switch to Grid View"},gridViewIncreaseColumnSize:{id:"be.gridView.increaseColumnSize",defaultMessage:"Increase column size"},gridViewDecreaseColumnSize:{id:"be.gridView.decreaseColumnSize",defaultMessage:"Decrease column size"},gridViewSliderLabel:{id:"be.gridView.sliderLabel",defaultMessage:"Grid view size"},listView:{id:"be.listView",defaultMessage:"Switch to List View"},sort:{id:"be.sort",defaultMessage:"Sort"},newFolder:{id:"be.newFolder",defaultMessage:"New Folder"},in:{id:"be.in",defaultMessage:"In"},print:{id:"be.print",defaultMessage:"Print"},selected:{id:"be.selected",defaultMessage:"{count} Selected"},max:{id:"be.max",defaultMessage:"max"},nameDate:{id:"be.nameDate",defaultMessage:"{date} by {name}"},modified:{id:"be.itemModified",defaultMessage:"Modified"},modifiedDateBy:{id:"be.modifiedDateBy",defaultMessage:"Modified {date} by {name}"},modifiedDate:{id:"be.modifiedDate",defaultMessage:"Modified {date}"},created:{id:"be.itemCreated",defaultMessage:"Created"},owner:{id:"be.itemOwner",defaultMessage:"Owner"},uploader:{id:"be.itemUploader",defaultMessage:"Uploader"},interacted:{id:"be.itemInteracted",defaultMessage:"Last Accessed"},interactedDate:{id:"be.interactedDate",defaultMessage:"Last accessed on {date}"},name:{id:"be.itemName",defaultMessage:"Name"},size:{id:"be.itemSize",defaultMessage:"Size"},deleteDialogLabel:{id:"be.deleteDialogLabel",defaultMessage:"Confirm Delete"},deleteDialogFileText:{id:"be.deleteDialogFileText",defaultMessage:"Are you sure you want to delete {name}?"},deleteDialogFolderText:{id:"be.deleteDialogFolderText",defaultMessage:"Are you sure you want to delete {name} and all its contents?"},renameDialogLabel:{id:"be.renameDialogLabel",defaultMessage:"Rename"},renameDialogText:{id:"be.renameDialogText",defaultMessage:"Please enter a new name for {name}:"},renameDialogErrorInvalid:{id:"be.renameDialogErrorInvalid",defaultMessage:"This name is invalid."},renameDialogErrorInUse:{id:"be.renameDialogErrorInUse",defaultMessage:"An item with the same name already exists."},renameDialogErrorTooLong:{id:"be.renameDialogErrorTooLong",defaultMessage:"This name is too long."},createDialogLabel:{id:"be.createDialogLabel",defaultMessage:"New Folder"},createDialogText:{id:"be.createDialogText",defaultMessage:"Please enter a name."},createDialogErrorInvalid:{id:"be.createDialogErrorInvalid",defaultMessage:"This is an invalid folder name."},createDialogErrorTooLong:{id:"be.createDialogErrorTooLong",defaultMessage:"This folder name is too long."},createDialogErrorInUse:{id:"be.createDialogErrorInUse",defaultMessage:"A folder with the same name already exists."},shareDialogLabel:{id:"be.shareDialogLabel",defaultMessage:"Share"},shareDialogText:{id:"be.shareDialogText",defaultMessage:"Shared Link:"},shareDialogNone:{id:"be.shareDialogNone",defaultMessage:"None"},shareAccessOpen:{id:"be.shareAccessOpen",defaultMessage:"Access: People with the link"},shareAccessCollab:{id:"be.shareAccessCollab",defaultMessage:"Access: People in this folder"},shareAccessCompany:{id:"be.shareAccessCompany",defaultMessage:"People in this company"},shareAccessNone:{id:"be.shareAccessNone",defaultMessage:"No shared link"},shareAccessRemove:{id:"be.shareAccessRemove",defaultMessage:"Remove shared link"},searchClear:{id:"be.searchClear",defaultMessage:"Clear search"},clearSelection:{id:"be.clearSelection",defaultMessage:"Clear selection"},searchPlaceholder:{id:"be.searchPlaceholder",defaultMessage:"Search files and folders"},sidebarAccessStats:{id:"be.sidebarAccessStats",defaultMessage:"Access Stats"},sidebarContentInsights:{id:"be.sidebarContentInsights",defaultMessage:"Content Insights"},sidebarShow:{id:"be.sidebarShow",defaultMessage:"Show Sidebar"},sidebarHide:{id:"be.sidebarHide",defaultMessage:"Hide Sidebar"},description:{id:"be.description",defaultMessage:"Description"},descriptionPlaceholder:{id:"be.descriptionPlaceholder",defaultMessage:"Enter a description"},sidebarDetailsTitle:{id:"be.sidebarDetailsTitle",defaultMessage:"Details"},sidebarSkillsTitle:{id:"be.sidebarSkillsTitle",defaultMessage:"Skills"},sidebarSkillsErrorTitle:{id:"be.sidebarSkillsErrorTitle",defaultMessage:"Skills Error"},sidebarSkillsErrorContent:{id:"be.sidebarSkillsErrorContent",defaultMessage:"An error has occurred while updating skills. Please refresh the page and try again."},sidebarBoxAITitle:{id:"be.sidebarBoxAITitle",defaultMessage:"Box AI"},sidebarBoxAIContent:{id:"be.sidebarBoxAIContent",defaultMessage:"content"},sidebarBoxAISwitchToModalView:{id:"be.sidebarBoxAISwitchToModalView",defaultMessage:"Switch to modal view"},sidebarActivityTitle:{id:"be.sidebarActivityTitle",defaultMessage:"Activity"},sidebarDocGenTitle:{id:"be.sidebarDocGenTitle",defaultMessage:"Doc Gen Tags"},sidebarDocGenTooltip:{id:"be.sidebarDocGenTooltip",defaultMessage:"Box Doc Gen"},sidebarMetadataTitle:{id:"be.sidebarMetadataTitle",defaultMessage:"Metadata"},sidebarMetadataEditingErrorContent:{id:"be.sidebarMetadataEditingErrorContent",defaultMessage:"An error has occurred while updating metadata. Please refresh the page and try again."},sidebarMetadataFetchingErrorContent:{id:"be.sidebarMetadataFetchingErrorContent",defaultMessage:"An error has occurred while fetching metadata. Please refresh the page and try again."},sidebarFileFetchingErrorContent:{id:"be.sidebarFileFetchingErrorContent",defaultMessage:"An error has occurred while fetching your Box file. Please refresh the page and try again."},sidebarProperties:{id:"be.sidebarProperties",defaultMessage:"File Properties"},sidebarNavLabel:{id:"be.sidebarNavLabel",defaultMessage:"Sidebar"},defaultSkill:{id:"be.defaultSkill",defaultMessage:"Skill Card"},statusSkill:{id:"be.statusSkill",defaultMessage:"Status"},topicsSkill:{id:"be.topicsSkill",defaultMessage:"Topics"},keywordSkill:{id:"be.keywordSkill",defaultMessage:"Topics"},faceSkill:{id:"be.faceSkill",defaultMessage:"Faces"},transcriptSkill:{id:"be.transcriptSkill",defaultMessage:"Transcript"},skillPendingStatus:{id:"be.skillPendingStatus",defaultMessage:"We’re working on processing your file - please hold!"},skillInvokedStatus:{id:"be.skillInvokedStatus",defaultMessage:"We’re preparing to process your file - please hold!"},skillUnknownError:{id:"be.skillUnknownError",defaultMessage:"Something went wrong with running this skill or fetching its data."},skillInvalidFileSizeError:{id:"be.skillInvalidFileSizeError",defaultMessage:"We’re sorry, no skills information was found. This file size is currently not supported."},skillInvalidFileExtensionError:{id:"be.skillInvalidFileExtensionError",defaultMessage:"We’re sorry, no skills information was found. This file extension is currently not supported."},skillNoInfoFoundError:{id:"be.skillNoInfoFoundError",defaultMessage:"We’re sorry, no skills information was found."},skillFileProcessingError:{id:"be.skillFileProcessingError",defaultMessage:"We’re sorry, something went wrong with processing the file."},uploadErrorTooManyFiles:{id:"be.uploadErrorTooManyFiles",defaultMessage:"You can only upload up to {fileLimit} file(s) at a time."},uploadError:{id:"be.uploadError",defaultMessage:"A network error has occurred while trying to upload."},uploadEmptyWithFolderUploadEnabled:{id:"be.uploadEmptyWithFolderUploadEnabled",defaultMessage:"Drag and drop files and folders"},uploadEmptyWithFolderUploadDisabled:{id:"be.uploadEmptyWithFolderUploadDisabled",defaultMessage:"Drag and drop files"},uploadEmptyFileInput:{id:"be.uploadEmptyFileInput",defaultMessage:"Browse your device"},uploadEmptyFolderInput:{id:"be.uploadEmptyFolderInput",defaultMessage:"Select Folders"},uploadNoDragDrop:{id:"be.uploadNoDragDrop",defaultMessage:"Select files from your device"},uploadInProgress:{id:"be.uploadInProgress",defaultMessage:"Drag and drop to add additional files"},uploadSuccess:{id:"be.uploadSuccess",defaultMessage:"Success! Your files have been uploaded."},uploadSuccessFileInput:{id:"be.uploadSuccessFileInput",defaultMessage:"Select More Files"},uploadSuccessFolderInput:{id:"be.uploadSuccessFolderInput",defaultMessage:"Select More Folders"},uploadOptions:{id:"be.uploadOptions",defaultMessage:"{option1} or {option2}"},nameASC:{id:"be.nameASC",defaultMessage:"Name: A → Z"},nameDESC:{id:"be.nameDESC",defaultMessage:"Name: Z → A"},dateASC:{id:"be.dateASC",defaultMessage:"Date: Oldest → Newest"},dateDESC:{id:"be.dateDESC",defaultMessage:"Date: Newest → Oldest"},sizeASC:{id:"be.sizeASC",defaultMessage:"Size: Smallest → Largest"},sizeDESC:{id:"be.sizeDESC",defaultMessage:"Size: Largest → Smallest"},breadcrumbLabel:{id:"be.breadcrumb.breadcrumbLabel",defaultMessage:"Breadcrumb"},errorBreadcrumb:{id:"be.errorBreadcrumb",defaultMessage:"Error"},rootBreadcrumb:{id:"be.rootBreadcrumb",defaultMessage:"All Files"},searchBreadcrumb:{id:"be.searchBreadcrumb",defaultMessage:"Search Results"},recentsBreadcrumb:{id:"be.recentsBreadcrumb",defaultMessage:"Recents"},selectedBreadcrumb:{id:"be.selectedBreadcrumb",defaultMessage:"Selected Items"},uploadsManagerUploadInProgress:{id:"be.uploadsManagerUploadInProgress",defaultMessage:"Uploading"},uploadsManagerUploadPrompt:{id:"be.uploadsManagerUploadPrompt",defaultMessage:"Drop files on this page to upload them into this folder."},uploadsManagerUploadComplete:{id:"be.uploadsManagerUploadComplete",defaultMessage:"Completed"},uploadsManagerUploadFailed:{id:"be.uploadsManagerUploadFailed",defaultMessage:"Some Uploads Failed"},uploadsCancelButtonTooltip:{id:"be.uploadsCancelButtonTooltip",defaultMessage:"Cancel this upload"},uploadsRetryButtonTooltip:{id:"be.uploadsRetryButtonTooltip",defaultMessage:"Retry upload"},uploadsFileSizeLimitExceededErrorMessage:{id:"be.uploadsFileSizeLimitExceededErrorMessage",defaultMessage:"File size exceeds the folder owner’s file size limit"},uploadsFileSizeLimitExceededErrorMessageForUpgradeCta:{id:"be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta",defaultMessage:"This file exceeds your plan’s upload limit. Upgrade now to store larger files."},uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta:{id:"be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta",defaultMessage:"Upgrade"},uploadsStorageLimitErrorMessage:{id:"be.uploadsStorageLimitErrorMessage",defaultMessage:"Account storage limit reached"},uploadsPendingFolderSizeLimitErrorMessage:{id:"be.uploadsPendingFolderSizeLimitErrorMessage",defaultMessage:"Pending app folder size limit exceeded"},uploadsItemNameInUseErrorMessage:{id:"be.uploadsItemNameInUseErrorMessage",defaultMessage:"A file with this name already exists."},uploadsProvidedFolderNameInvalidMessage:{id:"be.uploadsProvidedFolderNameInvalidMessage",defaultMessage:"Provided folder name, {name}, could not be used to create a folder."},uploadsOneOrMoreChildFoldersFailedToUploadMessage:{id:"be.uploadsOneOrMoreChildFoldersFailedToUploadMessage",defaultMessage:"One or more child folders failed to upload."},uploadsPackageUploadErrorMessage:{id:"be.uploadsPackageUploadErrorMessage",defaultMessage:"Failed to upload package file. Please retry by saving as a single file."},uploadsDefaultErrorMessage:{id:"be.uploadsDefaultErrorMessage",defaultMessage:"Something went wrong with the upload. Please try again."},errorOccured:{id:"be.errorOccured",defaultMessage:"An error occurred"},editLabel:{id:"be.editLabel",defaultMessage:"Edit"},getVersionInfo:{id:"be.getVersionInfo",defaultMessage:"Get version information"},keywordsApplied:{id:"be.keywordsAppliedList",defaultMessage:"Keywords were applied"},keywordsList:{id:"be.keywordsList",defaultMessage:"Keywords: {words}"},noActivity:{id:"be.noActivity",defaultMessage:"No activity to show"},noActivityAnnotationPrompt:{id:"be.noActivityAnnotationPrompt",defaultMessage:"Hover over the preview and use the controls at the bottom to annotate the file."},noActivityCommentPrompt:{id:"be.noActivityCommentPrompt",defaultMessage:"Comment and @mention people to notify them."},versionDeleted:{id:"be.versionDeleted",defaultMessage:"{name} deleted v{version_number}"},versionPromoted:{id:"be.versionPromoted",defaultMessage:"{name} promoted v{version_promoted} to v{version_number}"},versionRestored:{id:"be.versionRestored",defaultMessage:"{name} restored v{version_number}"},versionMultipleUsersUploaded:{id:"be.versionMultipleUsersUploaded",defaultMessage:"{numberOfCollaborators} collaborators uploaded v{versions}"},versionMultipleUsersRestored:{id:"be.versionMultipleUsersRestored",defaultMessage:"{numberOfCollaborators} collaborators restored v{versions}"},versionMultipleUsersTrashed:{id:"be.versionMultipleUsersTrashed",defaultMessage:"{numberOfCollaborators} collaborators deleted v{versions}"},versionUploadCollapsed:{id:"be.versionUploadCollapsed",defaultMessage:"{name} uploaded v{versions}"},versionRestoreCollapsed:{id:"be.versionRestoreCollapsed",defaultMessage:"{name} restored v{versions}"},versionTrashCollapsed:{id:"be.versionTrashCollapsed",defaultMessage:"{name} deleted v{versions}"},versionUploaded:{id:"be.versionUploaded",defaultMessage:"{name} uploaded v{version_number}"},fileRequestDisplayName:{id:"be.fileRequestDisplayName",defaultMessage:"File Request"},defaultInlineErrorContentMessage:{id:"be.defaultInlineErrorContentMessage",defaultMessage:"Please try again later."},fileDescriptionInlineErrorTitleMessage:{id:"be.fileDescriptionInlineErrorTitleMessage",defaultMessage:"Something went wrong when saving the description."},defaultErrorMaskHeaderMessage:{id:"be.defaultErrorMaskHeaderMessage",defaultMessage:"We’re sorry, something went wrong."},defaultErrorMaskSubHeaderMessage:{id:"be.defaultErrorMaskSubHeaderMessage",defaultMessage:"Please refresh the page or try again later."},fileAccessStatsErrorHeaderMessage:{id:"be.fileAccessStatsErrorHeaderMessage",defaultMessage:"Something went wrong when fetching the access stats."},fileAccessStatsPermissionsError:{id:"be.accessStatsPermissionsError",defaultMessage:"Sorry, you do not have permission to see the access stats for this file."},fileClassificationErrorHeaderMessage:{id:"be.fileClassificationErrorHeaderMessage",defaultMessage:"Something went wrong when fetching classification."},currentUserErrorHeaderMessage:{id:"be.currentUserErrorHeaderMessage",defaultMessage:"Something went wrong when fetching the current user."},activityFeedItemApiError:{id:"be.activityFeedItemApiError",defaultMessage:"There was a problem loading the activity feed. Please refresh the page or try again later."},nextFile:{id:"be.nextFile",defaultMessage:"Next File"},nextPage:{id:"be.pagination.nextPage",defaultMessage:"Next Page"},nextPageButton:{id:"be.pagination.nextPageButton",defaultMessage:"Next"},pageStatus:{id:"be.pagination.pageStatus",defaultMessage:"{pageNumber} of {pageCount}"},pageEntryStatus:{id:"be.pagination.pageEntryStatus",defaultMessage:"Showing {startEntryIndex} to {endEntryIndex} of {totalCount} entries"},previousFile:{id:"be.previousFile",defaultMessage:"Previous File"},previousPage:{id:"be.pagination.previousPage",defaultMessage:"Previous Page"},previousPageButton:{id:"be.pagination.previousPageButton",defaultMessage:"Previous"},previousSegment:{id:"be.previousSegment",defaultMessage:"Previous Segment"},nextSegment:{id:"be.nextSegment",defaultMessage:"Next Segment"},transcriptEdit:{id:"be.transcriptEdit",defaultMessage:"Click any section to edit."},emptyOpenWithDescription:{id:"be.emptyOpenWithDescription",defaultMessage:"No integrations are available for this file"},errorOpenWithDescription:{id:"be.errorOpenWithDescription",defaultMessage:"Opening this file with other services is currently unavailable"},defaultOpenWithDescription:{id:"be.defaultOpenWithDescription",defaultMessage:"Open this file with a partner service"},executeIntegrationOpenWithErrorHeader:{id:"be.executeIntegrationOpenWithErrorHeader",defaultMessage:"We’re sorry, this integration is currently unavailable."},executeIntegrationOpenWithErrorSubHeader:{id:"be.executeIntegrationOpenWithErrorSubHeader",defaultMessage:"Please try again later."},boxToolsInstallMessage:{id:"be.boxToolsInstallMessage",defaultMessage:"Install {boxTools} to open this file on your desktop"},boxToolsBlacklistedError:{id:"be.boxEditBlacklistedError",defaultMessage:"This file cannot be opened locally"},drawAnnotation:{id:"be.drawAnnotation",defaultMessage:"Drawing annotation mode"},pointAnnotation:{id:"be.pointAnnotation",defaultMessage:"Point annotation mode"},expand:{id:"be.expand",defaultMessage:"Expand"},collapse:{id:"be.collapse",defaultMessage:"Collapse"},back:{id:"be.back",defaultMessage:"Back"},priorCollaborator:{id:"be.priorCollaborator",defaultMessage:"A Prior Collaborator"},moreOptions:{id:"be.moreOptions",defaultMessage:"More options"},bookmark:{id:"be.bookmark",defaultMessage:"Bookmark"},archive:{id:"be.archive",defaultMessage:"Archive"},archivedFolder:{id:"be.archivedFolder",defaultMessage:"Archived Folder"},collaboratedFolder:{id:"be.collaboratedFolder",defaultMessage:"Collaborated Folder"},externalFolder:{id:"be.externalFolder",defaultMessage:"External Folder"},file:{id:"be.file",defaultMessage:"File"},iconFile:{id:"be.iconFile",defaultMessage:"{extension} File"},folder:{id:"be.folder",defaultMessage:"Folder"},personalFolder:{id:"be.personalFolder",defaultMessage:"Personal Folder"},numFilesSelected:{id:"be.numFilesSelected",defaultMessage:"\n {numSelected, plural,\n =0 {0 files selected}\n one {1 file selected}\n other {# files selected}\n }\n "},multipleValues:{id:"be.multipleValues",defaultMessage:"Multiple Values"},metadataUpdateErrorNotification:{id:"be.metadataUpdateErrorNotification",defaultMessage:"Unable to save changes. Please try again."},metadataUpdateSuccessNotification:{id:"be.metadataUpdateSuccessNotification",defaultMessage:"\n {numSelected, plural,\n =1 {1 document updated}\n other {# documents updated}\n }\n "}};var Zn=__webpack_require__(64633),Xn=__webpack_require__.n(Zn);const Kn=["children","title"];class Qn extends e.Component{constructor(...e){var t,r,n;super(...e),t=this,r="id",n=nt()("icon"),(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}render(){const t=this.props,{children:r,title:n}=t,i=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,Kn),o=`${this.id}-title`,a=Xn()(i,["role","aria-labelledby"]);return a.focusable="false",n?(a["aria-labelledby"]=o,a.role="img"):(a["aria-hidden"]="true",a.role="presentation"),e.createElement("svg",a,n?e.createElement("title",{id:o},n):null,r)}}const Yn=Qn,Jn=({className:t="",color:r="#979797",height:n=64,title:i,width:o=64})=>e.createElement(Yn,{className:`icon-sad-cloud ${t}`,height:n,title:i,viewBox:"0 0 1224 792",width:o},e.createElement("g",{transform:"translate(1 1)"},e.createElement("path",{className:"fill-color",d:"M273.7 788.9c-142 0-257.6-116.5-257.6-259.7 0-140.3 110.9-255 249-259.6 4.6-70.2 33.9-135.4 83.6-185.3C402.8 29.7 475-.3 551.9-.3c56.8 0 110.7 11.3 156 32.7 43.7 20.7 78.4 50.5 101.3 86.9 7.8-1.9 16.2-2.9 25.1-2.9 43.4 0 97.3 23.8 128.2 56.6l.2.2c23.9 26 41.2 59.1 48.9 93.1 4.1 18.3 5 35.1 2.8 49.2 15.8 3.5 32.3 9.8 48.9 18.7 25.1 13.5 49.9 32.7 71.7 55.4 48.9 51.2 77 113.7 77 171.7 0 61.1-23.4 118.4-66 161.3-42.5 42.8-99.1 66.4-159.5 66.4l-712.8-.1zm0-479.5c-120 0-217.6 98.6-217.6 219.7 0 121.2 97.6 219.7 217.6 219.7h712.8c49.6 0 96.2-19.4 131.1-54.6 35.1-35.3 54.4-82.6 54.4-133.1 0-47.7-24-100.2-65.9-144-37.8-39.5-84.7-65-119.6-65-7.9 0-15.1-4.6-18.3-11.9-3.2-7.2-1.9-15.6 3.4-21.5 2.8-3.1 6.8-18 1-43.8-6.1-26.9-20.4-54.1-39.3-74.8-23.2-24.6-66.7-43.9-99-43.9-9.9 0-18.3 1.7-24.8 5.2-4.7 2.5-10.3 3-15.3 1.4-5.1-1.6-9.3-5.2-11.8-9.9-18.2-35.5-49.9-64.7-91.6-84.4-40-18.9-88-28.9-138.9-28.9-66.2 0-128.3 25.8-175 72.8-46.8 47.1-72.6 109.9-72.6 176.9 0 11-9 20-20 20h-10.6z",fill:r}),e.createElement("path",{className:"fill-color",d:"M442.7 585.5c-2.9 0-5.9-.6-8.7-2-10-4.8-14.1-16.7-9.3-26.7 15.4-32 39.7-59.1 70.3-78.1 31-19.3 66.9-29.5 104-29.5 75.5 0 141.4 40 176.2 107.1 5.1 9.8 1.3 21.9-8.5 27-9.8 5.1-21.9 1.3-27-8.5-27.8-53.6-80.3-85.5-140.6-85.5-29.6 0-58.2 8.1-82.8 23.5-24.1 15.1-43.3 36.3-55.4 61.5-3.6 7-10.7 11.2-18.2 11.2z",fill:r}),e.createElement("circle",{className:"fill-color",cx:"496.3",cy:"351.5",fill:r,r:"32.1"}),e.createElement("circle",{className:"fill-color",cx:"688.9",cy:"351.5",fill:r,r:"32.1"}))),ei={id:"boxui.errorMask.iconSadCloudText",defaultMessage:"Sad Box Cloud"},ti=({errorHeader:t,errorSubHeader:r})=>e.createElement("div",{className:"error-mask"},e.createElement(Jn,{className:"error-mask-sad-cloud",height:50,title:e.createElement(an,ei)}),e.createElement("h4",null,t),e.createElement("h5",null,r)),ri=()=>e.createElement("section",{className:"be-default-error"},e.createElement(ti,{errorHeader:e.createElement(an,Wn.defaultErrorMaskHeaderMessage),errorSubHeader:e.createElement(an,Wn.defaultErrorMaskSubHeaderMessage)})),ni=["children","errorComponent"];function ii(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function oi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ii(Object(r),!0).forEach((function(t){ai(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ii(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ai(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class si extends e.Component{constructor(...e){super(...e),ai(this,"state",{}),ai(this,"handleError",((e,t,r={},n=this.props.errorOrigin)=>{if(!e||!t||!n)return;const i={type:"error",code:t,message:e.message,origin:n,context_info:oi({[Ae]:!0},r)};this.props.onError(i)}))}componentDidCatch(e,t){this.setState({error:e},(()=>{this.handleError(e,"unexpected_exception_error",oi({},t),this.props.errorOrigin)}))}render(){const t=this.props,{children:r,errorComponent:n}=t,i=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,ni),{error:o}=this.state;return o?e.createElement(n,{error:o}):e.cloneElement(r,oi(oi({},i),{},{onError:this.handleError}))}}ai(si,"defaultProps",{errorComponent:ri,onError:ot()});const li=si;function ci(){return ci=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ci.apply(null,arguments)}var ui=__webpack_require__(19474),di=__webpack_require__.n(ui);const hi=class{constructor(){this.cache={}}set(e,t){this.cache[e]=t}merge(e,t){if(!this.has(e))throw new Error(`Key ${e} not in cache!`);this.set(e,di()({},this.get(e),t))}unset(e){delete this.cache[e]}unsetAll(e){Object.keys(this.cache).forEach((t=>{t.startsWith(e)&&delete this.cache[t]}))}has(e){return{}.hasOwnProperty.call(this.cache,e)}get(e){if(this.has(e))return this.cache[e]}};var fi=__webpack_require__(76519),pi=__webpack_require__.n(fi),mi=__webpack_require__(25358),bi=__webpack_require__.n(mi);function gi(e){const t=e.lastModified||e.lastModifiedDate;if(t){let e=null;if("number"==typeof t){if(t<0)return null;e=new Date(t)}else("string"==typeof t||t instanceof Date)&&(e=new Date(t));if(e&&(r=e,"[object Date]"===Object.prototype.toString.call(r)&&!Number.isNaN(r.getTime()))){const t=function(e){return e.toISOString().replace(/\.[0-9]{3}/,"")}(e);return t}}var r;return null}function yi(e,t,r){const n=e*r**2;return n>t?t:n}function vi(e,t,r=0,n=1){let i=0,o=r;return new Promise(((r,a)=>{!function s(l){setTimeout((()=>{i+=1,new Promise(((t,r)=>{e(t,r,a)})).then(r).catch((e=>{if(i<t)return o*=n,void s(o);a(e)}))}),l)}(o)}))}var wi=__webpack_require__(5026),Ei=__webpack_require__.n(wi);function Si(e,t){const r=window.crypto||window.msCrypto;return r!==window.msCrypto?r.subtle.digest(e,t):new Promise(((n,i)=>{if("SHA-1"===e)try{const e=Ei().arrayBuffer(t);n(e)}catch(e){i(e)}else{const o=r.subtle.digest({name:e},t);o.oncomplete=e=>{n(e.target.result)},o.onerror=i}}))}function xi(e,t,r){"use asm";var n=new e.Int32Array(r);function i(e,t){e=e|0;t=t|0;var r=0,i=0,o=0,a=0,s=0,l=0,c=0,u=0,d=0,h=0,f=0,p=0,m=0,b=0;o=n[t+320>>2]|0;s=n[t+324>>2]|0;c=n[t+328>>2]|0;d=n[t+332>>2]|0;f=n[t+336>>2]|0;for(r=0;(r|0)<(e|0);r=r+64|0){a=o;l=s;u=c;h=d;p=f;for(i=0;(i|0)<64;i=i+4|0){b=n[r+i>>2]|0;m=((o<<5|o>>>27)+(s&c|~s&d)|0)+((b+f|0)+1518500249|0)|0;f=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[e+i>>2]=b}for(i=e+64|0;(i|0)<(e+80|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s&c|~s&d)|0)+((b+f|0)+1518500249|0)|0;f=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}for(i=e+80|0;(i|0)<(e+160|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s^c^d)|0)+((b+f|0)+1859775393|0)|0;f=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}for(i=e+160|0;(i|0)<(e+240|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s&c|s&d|c&d)|0)+((b+f|0)-1894007588|0)|0;f=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}for(i=e+240|0;(i|0)<(e+320|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s^c^d)|0)+((b+f|0)-899497514|0)|0;f=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}o=o+a|0;s=s+l|0;c=c+u|0;d=d+h|0;f=f+p|0}n[t+320>>2]=o;n[t+324>>2]=s;n[t+328>>2]=c;n[t+332>>2]=d;n[t+336>>2]=f}return{hash:i}}const Oi=()=>{const e=new Blob([`const RushaCore = ${xi.toString()}`,";\n",'function Rusha(e){for(var r=function(e){if("string"==typeof e)return"string";if(e instanceof Array)return"array";if("undefined"!=typeof global&&global.Buffer&&global.Buffer.isBuffer(e))return"buffer";if(e instanceof ArrayBuffer)return"arraybuffer";if(e.buffer instanceof ArrayBuffer)return"view";if(e instanceof Blob)return"blob";throw new Error("Unsupported data type.")},n={fill:0},t=function(e){for(e+=9;e%64>0;e+=1);return e},a=function(e,r,n,t,a){var f,s=this,i=a%4,h=(t+i)%4,u=t-h;switch(i){case 0:e[a]=s[n+3];case 1:e[a+1-(i<<1)|0]=s[n+2];case 2:e[a+2-(i<<1)|0]=s[n+1];case 3:e[a+3-(i<<1)|0]=s[n]}if(!(t<h+i)){for(f=4-i;f<u;f=f+4|0)r[a+f>>2|0]=s[n+f]<<24|s[n+f+1]<<16|s[n+f+2]<<8|s[n+f+3];switch(h){case 3:e[a+u+1|0]=s[n+u+2];case 2:e[a+u+2|0]=s[n+u+1];case 1:e[a+u+3|0]=s[n+u]}}},f=function(e){switch(r(e)){case"string":return function(e,r,n,t,a){var f,s=this,i=a%4,h=(t+i)%4,u=t-h;switch(i){case 0:e[a]=s.charCodeAt(n+3);case 1:e[a+1-(i<<1)|0]=s.charCodeAt(n+2);case 2:e[a+2-(i<<1)|0]=s.charCodeAt(n+1);case 3:e[a+3-(i<<1)|0]=s.charCodeAt(n)}if(!(t<h+i)){for(f=4-i;f<u;f=f+4|0)r[a+f>>2]=s.charCodeAt(n+f)<<24|s.charCodeAt(n+f+1)<<16|s.charCodeAt(n+f+2)<<8|s.charCodeAt(n+f+3);switch(h){case 3:e[a+u+1|0]=s.charCodeAt(n+u+2);case 2:e[a+u+2|0]=s.charCodeAt(n+u+1);case 1:e[a+u+3|0]=s.charCodeAt(n+u)}}}.bind(e);case"array":case"buffer":return a.bind(e);case"arraybuffer":return a.bind(new Uint8Array(e));case"view":return a.bind(new Uint8Array(e.buffer,e.byteOffset,e.byteLength));case"blob":return function(e,r,n,t,a){var f,s=a%4,i=(t+s)%4,h=t-i,u=new Uint8Array(reader.readAsArrayBuffer(this.slice(n,n+t)));switch(s){case 0:e[a]=u[3];case 1:e[a+1-(s<<1)|0]=u[2];case 2:e[a+2-(s<<1)|0]=u[1];case 3:e[a+3-(s<<1)|0]=u[0]}if(!(t<i+s)){for(f=4-s;f<h;f=f+4|0)r[a+f>>2|0]=u[f]<<24|u[f+1]<<16|u[f+2]<<8|u[f+3];switch(i){case 3:e[a+h+1|0]=u[h+2];case 2:e[a+h+2|0]=u[h+1];case 1:e[a+h+3|0]=u[h]}}}.bind(e)}},s=new Array(256),i=0;i<256;i++)s[i]=(i<16?"0":"")+i.toString(16);var h=function(e){for(var r=new Uint8Array(e),n=new Array(e.byteLength),t=0;t<n.length;t++)n[t]=s[r[t]];return n.join("")};!function(e){if(e%64>0)throw new Error("Chunk size must be a multiple of 128 bit");n.offset=0,n.maxChunkLen=e,n.padMaxChunkLen=t(e),n.heap=new ArrayBuffer(function(e){var r;if(e<=65536)return 65536;if(e<16777216)for(r=1;r<e;r<<=1);else for(r=16777216;r<e;r+=16777216);return r}(n.padMaxChunkLen+320+20)),n.h32=new Int32Array(n.heap),n.h8=new Int8Array(n.heap),n.core=new RushaCore({Int32Array:Int32Array,DataView:DataView},{},n.heap),n.buffer=null}(e||65536);var u=function(e,r){n.offset=0;var t=new Int32Array(e,r+320,5);t[0]=1732584193,t[1]=-271733879,t[2]=-1732584194,t[3]=271733878,t[4]=-1009589776},c=function(e,r){var a,f,s,i=t(e),h=new Int32Array(n.heap,0,i>>2);return function(e,r){var n=new Uint8Array(e.buffer),t=r%4,a=r-t;switch(t){case 0:n[a+3]=0;case 1:n[a+2]=0;case 2:n[a+1]=0;case 3:n[a+0]=0}for(var f=1+(r>>2);f<e.length;f++)e[f]=0}(h,e),s=r,(a=h)[(f=e)>>2]|=128<<24-(f%4<<3),a[14+(2+(f>>2)&-16)]=s/(1<<29)|0,a[15+(2+(f>>2)&-16)]=s<<3,i},o=function(e,r,t,a){f(e)(n.h8,n.h32,r,t,a||0)},d=function(e,r,t,a,f){var s=t;o(e,r,t),f&&(s=c(t,a)),n.core.hash(s,n.padMaxChunkLen)},y=function(e,r){var n=new Int32Array(e,r+320,5),t=new Int32Array(5),a=new DataView(t.buffer);return a.setInt32(0,n[0],!1),a.setInt32(4,n[1],!1),a.setInt32(8,n[2],!1),a.setInt32(12,n[3],!1),a.setInt32(16,n[4],!1),t},w=this.rawDigest=function(e){var r=e.byteLength||e.length||e.size||0;u(n.heap,n.padMaxChunkLen);var t=0,a=n.maxChunkLen;for(t=0;r>t+a;t+=a)d(e,t,a,r,!1);return d(e,t,r-t,r,!0),y(n.heap,n.padMaxChunkLen)};this.digest=this.digestFromString=this.digestFromBuffer=this.digestFromArrayBuffer=function(e){return h(w(e).buffer)},this.resetState=function(){return u(n.heap,n.padMaxChunkLen),this},this.append=function(e){var r,t=0,a=e.byteLength||e.length||e.size||0,f=n.offset%n.maxChunkLen;for(n.offset+=a;t<a;)r=Math.min(a-t,n.maxChunkLen-f),o(e,t,r,f),t+=r,(f+=r)===n.maxChunkLen&&(n.core.hash(n.maxChunkLen,n.padMaxChunkLen),f=0);return this},this.getState=function(){var e;if(n.offset%n.maxChunkLen)e=n.heap.slice(0);else{var r=new Int32Array(n.heap,n.padMaxChunkLen+320,5);e=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)}return{offset:n.offset,heap:e}},this.setState=function(e){(n.offset=e.offset,20===e.heap.byteLength)?new Int32Array(n.heap,n.padMaxChunkLen+320,5).set(new Int32Array(e.heap)):n.h32.set(new Int32Array(e.heap));return this};var p=this.rawEnd=function(){var e=n.offset,r=e%n.maxChunkLen,t=c(r,e);n.core.hash(t,n.padMaxChunkLen);var a=y(n.heap,n.padMaxChunkLen);return u(n.heap,n.padMaxChunkLen),a};this.end=function(){return h(p().buffer)}}',";\n","var setupWorker = ",function(){const e=new Rusha;e.resetState();let t=0;self.onmessage=r=>{const{data:n}=r,{part:i,fileSize:o,partContents:a}=n,s=Date.now();try{if(i.offset!==t)throw new Error("Out of order parts given to worker");if(e.append(a),self.postMessage({type:"partDone",part:n.part,duration:Date.now()-s,partContents:a},[a]),t+=i.size,i.offset+i.size===o){const t=e.end();self.postMessage({type:"done",sha1:t})}}catch(e){const t={type:"error",name:e.name,message:e.message,part:i};self.postMessage(t)}}}.toString(),";\n","setupWorker();"],{type:"text/javascript"}),t=(window.URL||window.webkitURL).createObjectURL(e),r=new Worker(t);return r.oldTerminate=r.terminate,r.terminate=()=>{(window.URL||window.webkitURL).revokeObjectURL(t),r.oldTerminate()},r};var Pi=__webpack_require__(84708),Ci=__webpack_require__.n(Pi),ki=__webpack_require__(53095),_i=__webpack_require__.n(ki),Ai=__webpack_require__(69849),Ti=__webpack_require__.n(Ai),ji=__webpack_require__(59315),Ii=__webpack_require__.n(ji);const Di=new Error("Bad id or auth token. ID should be typed id like file_123 or folder_123! Token should be a string or function.");class Mi{static async getToken(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.startsWith(b)&&!e.startsWith(g))throw Di;if(!t||"string"==typeof t)return t;const r=await t(e);if(!r||"string"==typeof r||"object"==typeof r&&(r.read||r.write))return r;throw Di}static async getReadToken(e,t){const r=await Mi.getToken(e,t);return r&&"object"==typeof r?r.read:r}static async getReadTokens(e,t){const r=Array.isArray(e)?e:[e],n=r.map((e=>Mi.getReadToken(e,t))),i=await Promise.all(n),o={};return i.forEach(((e,t)=>{o[r[t]]=e})),Promise.resolve(o)}static async getWriteToken(e,t){const r=await Mi.getToken(e,t);return r&&"object"==typeof r?r.write||r.read:r}static async cacheTokens(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.every((e=>e.startsWith(b)||e.startsWith(g))))throw Di;return"function"==typeof t&&await t(e),Promise.resolve()}}const Ri=Mi;function Fi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Li(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ni=[Me,Ne,"HEAD"].map(Ii()),Ui=class{constructor({id:e,clientName:t,language:r,token:n,version:i,sharedLink:o,sharedLinkPassword:a,responseInterceptor:s,requestInterceptor:l,retryableStatusCodes:c=[Ue],shouldRetry:u=!0}={}){Li(this,"retryCount",0),Li(this,"errorInterceptor",(e=>{if(this.shouldRetryRequest(e)){this.retryCount+=1;const t=this.getExponentialRetryTimeoutInMs(this.retryCount);return new Promise(((r,n)=>{this.retryTimeout=setTimeout((()=>{this.axios(e.config).then(r,n)}),t)}))}const t=bi()(e,"response.data")||e;return this.responseInterceptor(t),Promise.reject(e)})),this.clientName=t,this.id=e,this.language=r,this.responseInterceptor=s||this.defaultResponseInterceptor,this.retryableStatusCodes=c,this.sharedLink=o,this.sharedLinkPassword=a,this.shouldRetry=u,this.token=n,this.version=i,this.axios=_i().create(),this.axiosSource=_i().CancelToken.source(),this.axios.interceptors.response.use(this.responseInterceptor,this.errorInterceptor),"function"==typeof l&&this.axios.interceptors.request.use(l)}defaultResponseInterceptor(e){return e}shouldRetryRequest(e){if(!this.shouldRetry||this.retryCount>=3)return!1;const{response:t,request:r,config:n}=e,i=bi()(t,"status"),o=bi()(n,"method"),a=r&&!t,s=i===Ue,l=Ti()(this.retryableStatusCodes,i)&&Ti()(Ni,o);return a||s||l}getExponentialRetryTimeoutInMs(e){return 2**(e-1)*1e3+Math.ceil(1e3*Math.random())}getParsedUrl(e){const t=document.createElement("a");return t.href=e,{api:e.replace(`${t.origin}/2.0`,""),host:t.host,hostname:t.hostname,pathname:t.pathname,origin:t.origin,protocol:t.protocol,hash:t.hash,port:t.port}}async getHeaders(e,t={}){const r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fi(Object(r),!0).forEach((function(t){Li(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({Accept:"application/json",[x]:"application/json"},t);this.language&&!r[O]&&(r[O]=this.language),this.sharedLink&&(r.BoxApi=`shared_link=${this.sharedLink}`,this.sharedLinkPassword&&(r.BoxApi=`${r.BoxApi}&shared_link_password=${this.sharedLinkPassword}`)),this.clientName&&(r["X-Box-Client-Name"]=this.clientName),this.version&&(r["X-Box-Client-Version"]=this.version);const n=e||this.id||"",i=await Ri.getWriteToken(n,this.token);return i&&(r.Authorization=`Bearer ${i}`),r}get({url:e,id:t,params:r={},headers:n={}}){return this.getHeaders(t,n).then((t=>this.axios.get(e,{cancelToken:this.axiosSource.token,params:r,headers:t,parsedUrl:this.getParsedUrl(e)})))}post({url:e,id:t,data:r,params:n,headers:i={},method:o=Re}){return this.getHeaders(t,i).then((t=>this.axios({url:e,data:r,params:n,method:o,parsedUrl:this.getParsedUrl(e),headers:t})))}put({url:e,id:t,data:r,params:n,headers:i={}}){return this.post({id:t,url:e,data:r,params:n,headers:i,method:Fe})}delete({url:e,id:t,data:r={},headers:n={}}){return this.post({id:t,url:e,data:r,headers:n,method:Le})}options({id:e,url:t,data:r,headers:n={},successHandler:i,errorHandler:o}){return this.getHeaders(e,n).then((e=>this.axios({url:t,data:r,method:Ne,headers:e}).then(i).catch(o))).catch(o)}uploadFile({id:e,url:t,data:r,headers:n={},method:i=Re,successHandler:o,errorHandler:a,progressHandler:s,withIdleTimeout:l=!1,idleTimeoutDuration:c=12e4,idleTimeoutHandler:u}){return this.getHeaders(e,n).then((e=>{let d,h=s;if(l){const e=()=>{this.abort(),u&&u()};d=setTimeout(e,c),h=t=>{clearTimeout(d),d=setTimeout(e,c),s(t)}}this.axios({url:t,data:r,transformRequest:(e,t)=>{if(delete t.Accept,delete t[x],n[x]&&(t[x]=n[x]),e&&!(e instanceof Blob)&&e.attributes){const t=new FormData;return Object.keys(e).forEach((r=>{t.append(r,e[r])})),t}return e},method:i,headers:e,onUploadProgress:h,cancelToken:this.axiosSource.token}).then((e=>{clearTimeout(d),o(e)})).catch((e=>{clearTimeout(d),a(e)}))})).catch(a)}abort(){this.retryTimeout&&clearTimeout(this.retryTimeout),this.axiosSource&&(this.axiosSource.cancel(),this.axiosSource=_i().CancelToken.source())}},Bi=class{constructor(){this.memoryStore=new hi;try{this.localStorage=window.localStorage,this.isLocalStorageAvailable=this.canUseLocalStorage()}catch(e){this.isLocalStorageAvailable=!1}}buildKey(e){return`localStore/0/${e}`}canUseLocalStorage(){if(!this.localStorage)return!1;try{return this.localStorage.setItem(this.buildKey("TestKey"),"testValue"),this.localStorage.removeItem(this.buildKey("TestKey")),!0}catch(e){return!1}}setItem(e,t){if(this.isLocalStorageAvailable)try{this.localStorage.setItem(this.buildKey(e),JSON.stringify(t))}catch(e){}else this.memoryStore.set(e,t)}getItem(e){if(!this.isLocalStorageAvailable)return this.memoryStore.get(e);try{const t=this.localStorage.getItem(this.buildKey(e));return t?JSON.parse(t):null}catch(e){return null}}removeItem(e){if(this.isLocalStorageAvailable)try{this.localStorage.removeItem(this.buildKey(e))}catch(e){}else this.memoryStore.unset(e)}},Hi="bcu-uploads-reachability-cached-results",Vi=class{constructor(){this.localStore=new Bi,this.cachedResults={},this.populateCachedResultsWithValidLocalStoreValues(),this.saveCachedResultsToLocalStore()}getCachedResultsFromLocalStore(){return this.localStore.getItem(Hi)}saveCachedResultsToLocalStore(){this.localStore.setItem(Hi,this.cachedResults)}isCachedHostValid(e){return e.expirationTimestampMS>Date.now()}getCachedResult(e){if(e in this.cachedResults){const t=this.cachedResults[e];if(this.isCachedHostValid(t))return t}return null}updateCachedResult(e,t){this.cachedResults[e]={isReachable:t,expirationTimestampMS:Date.now()+864e5},this.saveCachedResultsToLocalStore()}populateCachedResultsWithValidLocalStoreValues(){const e=this.getCachedResultsFromLocalStore();e&&Object.keys(e).forEach((t=>{const r=e[t];this.isCachedHostValid(r)&&(this.cachedResults[t]=r)}))}getUnreachableHostsUrls(){const e=[];return this.cachedResults?(Object.keys(this.cachedResults).forEach((t=>{const r=this.cachedResults[t];this.isCachedHostValid(r)&&!r.isReachable&&e.push(t)})),e):e}async isReachable(e){if(e===`${ue}/`||e===`${de}/`)return!0;const t=this.getCachedResult(e);if(t)return t.isReachable;const r=await this.makeReachabilityRequest(e);return this.updateCachedResult(e,r),r}async makeReachabilityRequest(e){const t=`${e}html5?reachability_test=run`,r={[x]:"application/x-www-form-urlencoded; charset=UTF-8","X-File-Name":"reachability_pseudofile.txt","X-File-Size":"1234"};try{await _i().post(t,"reachability_file=test_file_data",{headers:r})}catch(e){return!1}return!0}};function zi(e){return`${g}${e}`}function $i(e){return`${b}${e}`}function qi(){return new Error("Bad box item!")}function Gi(){return new Error("Insufficient Permissions!")}function Wi(){return new Error("Bad box user!")}function Zi(){return new Error("Missing text or status!")}function Xi(e){return e===Ue||401===e||409===e||e>=500}function Ki(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ki(Object(r),!0).forEach((function(t){Yi(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ki(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Yi(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ji=class{constructor(e){Yi(this,"successHandler",(e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)})),Yi(this,"errorHandler",(e=>{if(!this.isDestroyed()&&"function"==typeof this.errorCallback){const{response:t}=e;t&&t.data?this.errorCallback(t.data,this.errorCode):this.errorCallback(e,this.errorCode)}})),this.cache=e.cache||new hi,this.apiHost=e.apiHost||ce,this.uploadHost=e.uploadHost||ue,this.options=Qi(Qi({},e),{},{apiHost:this.apiHost,uploadHost:this.uploadHost,cache:this.cache}),this.xhr=new Ui(this.options),this.destroyed=!1,this.consoleLog=e.consoleLog&&window.console&&window.console.log||ot(),this.consoleError=e.consoleError&&window.console&&window.console.error||ot(),this.uploadsReachability=new Vi}destroy(){this.xhr.abort(),this.destroyed=!0}isDestroyed(){return this.destroyed}checkApiCallValidity(e,t,r){if(!r||!t)throw qi();if(!t[e])throw Gi()}getBaseApiUrl(){const e=this.apiHost.endsWith("/")?"2.0":"/2.0";return`${this.apiHost}${e}`}getBaseUploadUrl(){const e=this.uploadHost.endsWith("/")?"api/2.0":"/api/2.0";return`${this.uploadHost}${e}`}getCache(){return this.cache}getUrl(e){throw new Error("Implement me!")}format(e){throw new Error("Implement me!")}get({id:e,successCallback:t,errorCallback:r,requestData:n,url:i}){const o=i||this.getUrl(e);return this.makeRequest(Me,e,o,t,r,n)}post({id:e,url:t,data:r,successCallback:n,errorCallback:i}){return this.makeRequest(Re,e,t,n,i,r)}put({id:e,url:t,data:r,successCallback:n,errorCallback:i}){return this.makeRequest(Fe,e,t,n,i,r)}delete({id:e,url:t,data:r,successCallback:n,errorCallback:i}){return this.makeRequest(Le,e,t,n,i,r)}async makeRequest(e,t,r,n,i,o={}){if(this.isDestroyed())return;this.successCallback=n,this.errorCallback=i;const a=this.xhr[e.toLowerCase()].bind(this.xhr);try{const{data:e}=await a(Qi({id:zi(t),url:r},o));this.successHandler(e)}catch(e){this.errorHandler(e)}}};function eo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const to=class extends Ji{constructor(...e){super(...e),eo(this,"retryCount",0),eo(this,"reachabilityRetryCount",0),eo(this,"isUploadFallbackLogicEnabled",!1),eo(this,"makePreflightRequest",(()=>{if(this.isDestroyed())return;let e=`${this.getBaseApiUrl()}/files/content`;if(this.fileId&&(e=e.replace("content",`${this.fileId}/content`)),this.isUploadFallbackLogicEnabled){const t=this.uploadsReachability.getUnreachableHostsUrls();0!==t.length&&(e+=`?unreachable_hosts=${t.join(",")}`)}const{size:t,name:r}=this.file,n={name:this.fileName||r,parent:{id:this.folderId},description:this.fileDescription,size:t};this.xhr.options({url:e,data:n,successHandler:e=>{this.isUploadFallbackLogicEnabled?this.preflightSuccessReachabilityHandler(e):this.preflightSuccessHandler(e)},errorHandler:this.preflightErrorHandler})})),eo(this,"preflightSuccessReachabilityHandler",(async({data:e})=>{if(this.isDestroyed())return;const{upload_url:t}=e;if(!t)return void this.preflightSuccessHandler({data:e});const r=this.getUploadHostFromUrl(t);r!==`${ue}/`&&r!==`${de}/`&&"https://upload.app.box-gov.com/"!==r?await this.uploadsReachability.isReachable(r)?this.preflightSuccessHandler({data:e}):this.reachabilityRetryCount>=10?this.preflightSuccessHandler({data:{}}):(this.reachabilityRetryCount+=1,this.makePreflightRequest()):this.preflightSuccessHandler({data:e})})),eo(this,"preflightErrorHandler",(e=>{if(this.isDestroyed())return;this.fileName=this.file?this.file.name:"";let t=e;const{response:r}=e;if(r&&r.data&&(t=r.data),this.retryCount>=5)this.errorCallback(t);else if(t&&409===t.status){if("error"===this.overwrite)return void this.errorCallback(t);if(this.overwrite){const e=t.context_info.conflicts.id;!this.fileId&&e&&(this.fileId=e)}else if(this.conflictCallback)this.fileName=this.conflictCallback(this.fileName);else{const e=this.fileName.substr(this.fileName.lastIndexOf("."))||"";this.fileName=`${this.fileName.substr(0,this.fileName.lastIndexOf("."))}-${Date.now()}${e}`}this.makePreflightRequest(),this.retryCount+=1}else if(!t||429!==t.status&&"too_many_requests"!==t.code)t&&(t.status||"Failed to fetch"===t.message)&&"function"==typeof this.errorCallback?this.errorCallback(t):(this.retryTimeout=setTimeout(this.makePreflightRequest,2**this.retryCount*Ie),this.retryCount+=1);else{let e=je;if(t.headers){const r=parseInt(t.headers["retry-after"]||t.headers.get("Retry-After"),10);Number.isNaN(r)||(e=r*Ie)}this.retryTimeout=setTimeout(this.makePreflightRequest,e),this.retryCount+=1}}))}readFile(e,t){return new Promise(((r,n)=>{e.readAsArrayBuffer(t),e.onload=()=>{r({buffer:e.result,readCompleteTimestamp:Date.now()})},e.onerror=n}))}getUploadHostFromUrl(e){const t=e.split("/");return`${t[0]}//${t[2]}/`}};function ro(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function no(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ro(Object(r),!0).forEach((function(t){io(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ro(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function io(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const oo={digestReadahead:5,initialRetryDelayMs:5e3,maxRetryDelayMs:6e4,parallelism:4,requestTimeoutMs:12e4,retries:5},ao=class extends to{constructor(e,t,r){super(no(no({},e),{},{shouldRetry:!1})),io(this,"logEvent",((e,t)=>{const r={event_type:e};return t&&(r.event_info=t),this.xhr.post({url:this.sessionEndpoints.logEvent,data:r})})),this.config=r||oo,this.sessionEndpoints=t}};function so(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const lo=class extends ao{constructor(e,t,r,n,i,o,a,s,l,c,u,d){super(e,a,s),so(this,"toJSON",(()=>JSON.stringify({index:this.index,offset:this.offset,partSize:this.partSize,state:this.state,uploadedBytes:this.uploadedBytes,numUploadRetriesPerformed:this.numUploadRetriesPerformed,numDigestRetriesPerformed:this.numDigestRetriesPerformed,sha1:this.sha1,timing:this.timing}))),so(this,"getPart",(()=>this.data.part||{})),so(this,"upload",(()=>{if(this.isDestroyedOrPaused())return;if(!this.sha1)throw new Error("Part SHA-1 unavailable");if(!this.blob)throw new Error("Part blob unavailable");const e={documentHidden:document.hidden,digest_retries:this.numDigestRetriesPerformed,timing:this.timing,parts_uploading:this.getNumPartsUploading()},t={"Content-Type":"application/octet-stream",Digest:`sha=${this.sha1}`,"Content-Range":`bytes ${this.offset}-${this.rangeEnd}/${this.fileSize}`,"X-Box-Client-Event-Info":JSON.stringify(e)};this.state=2,this.startTimestamp=Date.now(),this.xhr.uploadFile({url:this.sessionEndpoints.uploadPart,data:this.blob,headers:t,method:Fe,successHandler:this.uploadSuccessHandler,errorHandler:this.uploadErrorHandler,progressHandler:this.uploadProgressHandler,withIdleTimeout:!0,idleTimeoutDuration:this.config.requestTimeoutMs})})),so(this,"uploadSuccessHandler",(({data:e})=>{this.isDestroyedOrPaused()||(this.state=3,this.consoleLog(`Upload completed: ${this.toJSON()}.`),this.data=e,this.blob=null,this.timing.uploadTime=Date.now()-this.startTimestamp,this.onSuccess(this),this.uploadedBytes=this.partSize)})),so(this,"uploadProgressHandler",(e=>{if(this.isDestroyedOrPaused())return;const t=parseInt(e.loaded,10),r=this.uploadedBytes;this.uploadedBytes=t,this.onProgress(r,t)})),so(this,"uploadErrorHandler",(async e=>{if(this.isDestroyedOrPaused())return;const t=bi()(this.xhr,"xhr.readyState",null),r=bi()(this.xhr,"xhr.statusText","");this.consoleLog(`Upload failure ${e.message} for part ${this.toJSON()}. XHR state: ${t}.`);const n={message:e.message,part:{uploadedBytes:this.uploadedBytes,id:this.id,index:this.index,offset:this.offset},xhr_ready_state:t,xhr_status_text:r},i=JSON.stringify(n);if(this.sessionEndpoints.logEvent?vi(((e,t)=>{this.logEvent("part_failure",i).then(e).catch(t)}),this.config.retries,this.config.initialRetryDelayMs).catch((e=>this.consoleLog(`Failure in logEvent: ${e.message}`))):this.consoleLog("logEvent endpoint not found"),this.numUploadRetriesPerformed>=this.config.retries)return void this.onError(e,i);const o=yi(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.numUploadRetriesPerformed);this.numUploadRetriesPerformed+=1,this.consoleLog(`Retrying uploading part ${this.toJSON()} in ${o} ms`),this.retryTimeout=setTimeout(this.retryUpload,o)})),so(this,"retryUpload",(async()=>{if(!this.isDestroyedOrPaused())try{const e=await this.listParts(this.index,1);if(e&&1===e.length&&e[0].offset===this.offset&&e[0].part_id)return this.consoleLog(`Part ${this.toJSON()} is available on server. Not re-uploading.`),this.id=e[0].part_id,void this.uploadSuccessHandler({data:{part:e[0]}});throw this.consoleLog(`Part ${this.toJSON()} is not available on server. Re-uploading.`),new Error("Part not found on the server")}catch(e){const{response:t}=e;t&&t.status&&this.consoleLog(`Error ${t.status} while listing part ${this.toJSON()}. Re-uploading.`),this.numUploadRetriesPerformed+=1,this.upload()}})),so(this,"listParts",(async(e,t)=>{const r={offset:e,limit:t},n=function(e,t){if(!t)return e;const r=new(Ci())(e);return Object.keys(t).forEach((e=>{const n=t[e];n&&(r.hasQueryParam(e)?r.replaceQueryParam(e,n):r.addQueryParam(e,n))})),r.toString()}(this.sessionEndpoints.listParts,r);return(await this.xhr.get({url:n})).data.entries})),this.index=t,this.numDigestRetriesPerformed=0,this.numUploadRetriesPerformed=0,this.offset=r,this.partSize=n,this.fileSize=i,this.state=0,this.timing={},this.uploadedBytes=0,this.data={},this.config=s,this.rangeEnd=r+n-1,this.rangeEnd>i-1&&(this.rangeEnd=i-1),this.isPaused=!1,this.onSuccess=c||ot(),this.onError=d||ot(),this.onProgress=u||ot(),this.getNumPartsUploading=l}cancel(){clearTimeout(this.retryTimeout),this.blob=null,this.data={},this.destroy()}pause(){clearTimeout(this.retryTimeout),this.isPaused=!0,this.state=1,this.xhr.abort()}unpause(){this.isPaused=!1,this.state=2,this.retryUpload()}reset(){this.numUploadRetriesPerformed=0,this.timing={},this.uploadedBytes=0}isDestroyedOrPaused(){return this.isDestroyed()||this.isPaused}};function co(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function uo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?co(Object(r),!0).forEach((function(t){ho(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):co(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ho(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const fo=class extends ao{constructor(e,t){super(e,{createSession:null,uploadPart:null,listParts:null,commit:null,abort:null,logEvent:null},t),ho(this,"getBaseUploadUrlFromPreflightResponse",(({data:e})=>{if(!e||!e.upload_url)return this.getBaseUploadUrl();const t=e.upload_url.split("/");return this.uploadHost=`${t[0]}//${t[2]}`,this.getBaseUploadUrl()})),ho(this,"preflightSuccessHandler",(async e=>{if(this.isDestroyed())return;let t=`${this.getBaseUploadUrlFromPreflightResponse(e)}/files/upload_sessions`;t.includes("fupload-ec2")&&(this.config.parallelism=1);const r={file_size:this.file.size,file_name:this.fileName};this.fileId?t=t.replace("upload_sessions",`${this.fileId}/upload_sessions`):r.folder_id=this.folderId;try{const e=await this.xhr.post({url:t,data:r});this.createSessionSuccessHandler(e.data)}catch(e){const t=this.getErrorResponse(e);if(t&&t.status>=500&&t.status<600)return void this.createSessionErrorHandler(e);if(t&&409===t.status&&"session_conflict"===t.code)return void this.createSessionSuccessHandler(t.context_info.session);if(t&&403===t.status&&"storage_limit_exceeded"===t.code||403===t.status&&"access_denied_insufficient_permissions"===t.code)return void this.errorCallback(t);if(t&&409===t.status)return"error"===this.overwrite?void this.errorCallback(t):(this.resolveConflict(t),void this.createSessionRetry());this.sessionErrorHandler(e,"create_session_misc_error",JSON.stringify(e))}})),ho(this,"createSessionErrorHandler",(e=>{this.isDestroyed()||(this.createSessionNumRetriesPerformed<this.config.retries?this.createSessionRetry():(this.consoleLog("Too many create session failures, failing upload"),this.sessionErrorHandler(e,"create_session_retries_exceeded",JSON.stringify(e))))})),ho(this,"getSessionInfo",(async()=>{const e=`${this.getBaseUploadUrl()}/files/upload_sessions/${this.sessionId}`;try{const t=await this.xhr.get({url:e});this.getSessionSuccessHandler(t.data)}catch(e){this.getSessionErrorHandler(e)}})),ho(this,"partUploadSuccessHandler",(e=>{this.numPartsUploading-=1,this.numPartsUploaded+=1,this.updateProgress(e.uploadedBytes,this.partSize),this.processNextParts()})),ho(this,"partUploadErrorHandler",((e,t)=>{if(this.sessionErrorHandler(e,"part_upload_retries_exceeded",t),this.isResumableUploadsEnabled){let e=this.firstUnuploadedPartIndex;for(;this.numPartsUploading>0;){const t=this.parts[e];t&&2===t.state&&(t.reset(),t.pause(),this.numPartsUploading-=1,this.numPartsDigestReady+=1),e+=1}}})),ho(this,"updateProgress",((e,t)=>{this.isDestroyed()||(this.totalUploadedBytes+=t-e,this.progressCallback({loaded:this.totalUploadedBytes,total:this.file.size}))})),ho(this,"processNextParts",(()=>{if(!this.failSessionIfFileChangeDetected())if(this.numPartsUploaded===this.parts.length&&this.fileSha1)this.commitSession();else{for(this.updateFirstUnuploadedPartIndex();this.canStartMorePartUploads();)this.uploadNextPart();this.shouldComputeDigestForNextPart()&&this.computeDigestForNextPart()}})),ho(this,"onWorkerMessage",(e=>{if(this.isDestroyed())return;const{data:t}=e;if("partDone"===t.type){const{part:e}=t;this.parts[e.index].timing.fileDigestTime=t.duration,this.processNextParts()}else"done"===t.type?(this.fileSha1=(r=t.sha1,btoa(String.fromCharCode.apply(null,r.replace(/\r|\n/g,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")))),this.sha1Worker.terminate(),this.processNextParts()):"error"===t.type&&this.sessionErrorHandler(null,"web_worker_error",JSON.stringify(t));var r})),ho(this,"sendPartToWorker",((e,t)=>{if(this.isDestroyed())return;const r={index:e.index,offset:e.offset,size:e.partSize};this.sha1Worker.postMessage({part:r,fileSize:this.file.size,partContents:t},[t]),this.consoleLog(`Part sent to worker: ${JSON.stringify(e)}.}`)})),ho(this,"onPartDigestError",((e,t)=>{if(this.consoleLog(`Error computing digest for part ${JSON.stringify(t)}: ${JSON.stringify(e)}`),"NotFoundError"===e.name||"NOT_FOUND_ERR"===e.name)return void this.sessionErrorHandler(null,"file_reader_received_not_found_error",JSON.stringify(e));if(this.failSessionIfFileChangeDetected())return;if(t.numDigestRetriesPerformed>=this.config.retries)return void this.sessionErrorHandler(null,"part_digest_retries_exceeded",JSON.stringify(e));const r=yi(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,t.numDigestRetriesPerformed);t.numDigestRetriesPerformed+=1,this.consoleLog(`Retrying digest work for part ${JSON.stringify(t)} in ${r} ms`),setTimeout((()=>{this.computeDigestForPart(t)}),r)})),ho(this,"commitSession",(()=>{if(this.isDestroyed())return;const e={totalPartReadTime:0,totalPartDigestTime:0,totalFileDigestTime:0,totalPartUploadTime:0},t={parts:this.parts.map((t=>(e.totalPartReadTime+=t.timing.readTime,e.totalPartDigestTime+=t.timing.subtleCryptoTime,e.totalFileDigestTime+=t.timing.fileDigestTime,e.totalPartUploadTime+=t.timing.uploadTime,t.getPart()))).sort(((e,t)=>e.offset-t.offset)),attributes:{}},r=gi(this.file);r&&(t.attributes.content_modified_at=r),this.fileDescription&&(t.attributes.description=this.fileDescription);const n={avg_part_read_time:Math.round(e.totalPartReadTime/this.parts.length),avg_part_digest_time:Math.round(e.totalPartDigestTime/this.parts.length),avg_file_digest_time:Math.round(e.totalFileDigestTime/this.parts.length),avg_part_upload_time:Math.round(e.totalPartUploadTime/this.parts.length)},i={Digest:`sha=${this.fileSha1}`,"X-Box-Client-Event-Info":JSON.stringify(n)};this.xhr.post({url:this.sessionEndpoints.commit,data:t,headers:i}).then(this.commitSessionSuccessHandler).catch(this.commitSessionErrorHandler)})),ho(this,"commitSessionSuccessHandler",(e=>{if(this.isDestroyed())return;const{status:t,data:r}=e;if(202===t)return void this.commitSessionRetry(e);let{entries:n}=r;!n&&r.id&&(n=[r]),this.destroy(),this.successCallback&&n&&this.successCallback(n)})),ho(this,"commitSessionErrorHandler",(e=>{if(this.isDestroyed())return;const{response:t}=e;if(t)return this.commitRetryCount>=this.config.retries?(this.consoleLog("Too many commit failures, failing upload"),void this.sessionErrorHandler(e,"commit_retries_exceeded",JSON.stringify(e))):void this.commitSessionRetry(t);this.consoleError(e)})),ho(this,"getNumPartsUploading",(()=>this.numPartsUploading)),this.parts=[],this.options=e,this.fileSha1=null,this.totalUploadedBytes=0,this.numPartsNotStarted=0,this.numPartsDigestComputing=0,this.numPartsDigestReady=0,this.numPartsUploading=0,this.numPartsUploaded=0,this.firstUnuploadedPartIndex=0,this.createSessionNumRetriesPerformed=0,this.partSize=0,this.commitRetryCount=0,this.clientId=null,this.isResumableUploadsEnabled=!1,this.numResumeRetries=0}reset(){this.parts=[],this.fileSha1=null,this.totalUploadedBytes=0,this.numPartsNotStarted=0,this.numPartsDigestComputing=0,this.numPartsDigestReady=0,this.numPartsUploading=0,this.numPartsUploaded=0,this.firstUnuploadedPartIndex=0,this.createSessionNumRetriesPerformed=0,this.partSize=0,this.commitRetryCount=0,this.numResumeRetries=0}setFileInfo({file:e,folderId:t,errorCallback:r,progressCallback:n,successCallback:i,overwrite:o=!0,conflictCallback:a,fileId:s}){this.file=e,this.fileName=this.file.name,this.folderId=t,this.errorCallback=r||ot(),this.progressCallback=n||ot(),this.successCallback=i||ot(),this.overwrite=o,this.conflictCallback=a,this.fileId=s}upload({file:e,fileDescription:t,folderId:r,errorCallback:n,progressCallback:i,successCallback:o,overwrite:a=!0,conflictCallback:s,fileId:l}){this.file=e,this.fileName=this.file.name,this.initialFileSize=this.file.size,this.initialFileLastModified=gi(this.file),this.folderId=r,this.errorCallback=n||ot(),this.progressCallback=i||ot(),this.successCallback=o||ot(),this.sha1Worker=Oi(),this.sha1Worker.addEventListener("message",this.onWorkerMessage),this.conflictCallback=s,this.overwrite=a,this.fileId=l,this.fileDescription=t,this.makePreflightRequest()}createSessionRetry(){const e=yi(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.createSessionNumRetriesPerformed);this.createSessionNumRetriesPerformed+=1,this.consoleLog(`Retrying create session in ${e} ms`),this.createSessionTimeout=setTimeout(this.makePreflightRequest,e)}createSessionSuccessHandler(e){if(this.isDestroyed())return;const{id:t,part_size:r,session_endpoints:n}=e;this.sessionId=t,this.partSize=r,this.sessionEndpoints=uo(uo({},this.sessionEndpoints),{},{uploadPart:n.upload_part,listParts:n.list_parts,commit:n.commit,abort:n.abort,logEvent:n.log_event}),this.populateParts(),this.processNextParts()}resume({file:e,folderId:t,errorCallback:r,progressCallback:n,sessionId:i,successCallback:o,overwrite:a=!0,conflictCallback:s,fileId:l}){this.setFileInfo({file:e,folderId:t,errorCallback:r,progressCallback:n,successCallback:o,conflictCallback:s,overwrite:a,fileId:l}),this.sessionId=i,this.sha1Worker||(this.sha1Worker=Oi()),this.sha1Worker.addEventListener("message",this.onWorkerMessage),this.getSessionInfo()}getSessionSuccessHandler(e){const{part_size:t,session_endpoints:r}=e;this.partSize=t,this.sessionEndpoints=uo(uo({},this.sessionEndpoints),{},{uploadPart:r.upload_part,listParts:r.list_parts,commit:r.commit,abort:r.abort,logEvent:r.log_event}),this.processNextParts()}getSessionErrorHandler(e){if(this.isDestroyed())return;const t=this.getErrorResponse(e);if(this.numResumeRetries>this.config.retries)this.errorCallback(t);else if(t&&429===t.status){let e=je;if(t.headers){const r=parseInt(t.headers["retry-after"]||t.headers.get("Retry-After"),10);pi()(r)||(e=r*Ie)}this.retryTimeout=setTimeout(this.getSessionInfo,e),this.numResumeRetries+=1}else if(t&&t.status>=400&&t.status<500){this.parts.forEach((e=>{e.cancel()})),this.reset(),clearTimeout(this.createSessionTimeout),clearTimeout(this.commitSessionTimeout),this.abortSession();const e={file:this.file,folderId:this.folderId,errorCallback:this.errorCallback,progressCallback:this.progressCallback,successCallback:this.successCallback,overwrite:this.overwrite,fileId:this.fileId};this.upload(e)}else this.retryTimeout=setTimeout(this.getSessionInfo,2**this.numResumeRetries*Ie),this.numResumeRetries+=1}async sessionErrorHandler(e,t,r){this.isResumableUploadsEnabled||this.destroy();const n=this.getErrorResponse(e);this.errorCallback(n);try{if(!this.sessionEndpoints.logEvent)throw new Error("logEvent endpoint not found");await vi(((e,n)=>{this.logEvent(t,r).then(e).catch(n)}),this.config.retries,this.config.initialRetryDelayMs),this.isResumableUploadsEnabled||this.abortSession()}catch(e){this.isResumableUploadsEnabled||this.abortSession()}}abortSession(){this.sha1Worker&&this.sha1Worker.terminate(),this.sessionEndpoints.abort&&this.sessionId&&this.xhr.delete({url:this.sessionEndpoints.abort}).then((()=>{this.sessionId=""}))}shouldComputeDigestForNextPart(){return!this.isDestroyed()&&0===this.numPartsDigestComputing&&this.numPartsNotStarted>0&&this.numPartsDigestReady<this.config.digestReadahead}computeDigestForNextPart(){for(let e=this.firstUnuploadedPartIndex;e<this.parts.length;e+=1){const t=this.parts[e];if(0===t.state)return this.numPartsNotStarted-=1,this.numPartsDigestComputing+=1,void this.computeDigestForPart(t)}}async computeDigestForPart(e){const t=this.file.slice(e.offset,e.offset+this.partSize),r=new window.FileReader,n=Date.now();try{const{buffer:i,readCompleteTimestamp:o}=await this.readFile(r,t),a=await Si("SHA-1",i),s=btoa([].reduce.call(new Uint8Array(a),((e,t)=>e+String.fromCharCode(t)),""));this.sendPartToWorker(e,i),e.sha1=s,e.state=1,e.blob=t,this.numPartsDigestReady+=1,this.numPartsDigestComputing-=1;const l=Date.now();e.timing={partDigestTime:l-n,readTime:o-n,subtleCryptoTime:l-o},this.processNextParts()}catch(t){this.onPartDigestError(t,e)}}commitSessionRetry(e){const{status:t,headers:r}=e;let n=je;if(r){const e=parseInt(r["retry-after"],10);Number.isNaN(e)||(n=1e3*e)}const i=yi(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.commitRetryCount);202!==t&&(this.commitRetryCount+=1);const o=n||i;this.consoleLog(`Retrying commit in ${o} ms`),this.commitSessionTimeout=setTimeout(this.commitSession,o)}uploadNextPart(){for(let e=this.firstUnuploadedPartIndex;e<this.parts.length;e+=1){const t=this.parts[e];if(1===t.state){this.numPartsDigestReady-=1,this.numPartsUploading+=1,t.isPaused?t.unpause():t.upload();break}}}canStartMorePartUploads(){return!this.isDestroyed()&&this.numPartsUploading<this.config.parallelism&&this.numPartsDigestReady>0}updateFirstUnuploadedPartIndex(){let e=this.parts[this.firstUnuploadedPartIndex];for(;e&&3===e.state;)this.firstUnuploadedPartIndex+=1,e=this.parts[this.firstUnuploadedPartIndex]}populateParts(){this.numPartsNotStarted=Math.ceil(this.file.size/this.partSize);for(let e=0;e<this.numPartsNotStarted;e+=1){const t=e*this.partSize,r=Math.min(t+this.partSize,this.file.size)-t,n=new lo(this.options,e,t,r,this.file.size,this.sessionId,this.sessionEndpoints,this.config,this.getNumPartsUploading,this.partUploadSuccessHandler,this.updateProgress,this.partUploadErrorHandler);this.parts.push(n)}}failSessionIfFileChangeDetected(){const e=this.file.size,t=gi(this.file);if(e!==this.initialFileSize||t!==this.initialFileLastModified){const r=JSON.stringify({oldSize:this.initialFileSize,newSize:e,oldLastModified:this.initialFileLastModified,newLastModified:t});return c.isIE()?(this.sessionErrorHandler(null,"file_changed_during_upload",r),!0):(this.consoleLog(`file properties changed during upload: ${r}`),!1)}return!1}cancel(){this.isDestroyed()||(this.parts.forEach((e=>{e.cancel()})),this.parts=[],clearTimeout(this.createSessionTimeout),clearTimeout(this.commitSessionTimeout),this.abortSession(),this.destroy())}async resolveConflict(e){if(this.overwrite&&e.context_info)return void(this.fileId=e.context_info.conflicts.id);if(this.conflictCallback)return void(this.fileName=this.conflictCallback(this.fileName));const t=this.fileName.substr(this.fileName.lastIndexOf("."))||"";this.fileName=`${this.fileName.substr(0,this.fileName.lastIndexOf("."))}-${Date.now()}${t}`}getErrorResponse(e){if(!e)return{};const{response:t}=e;return t?401===t.status?t:t.data:{}}};function po(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const mo="Content-MD5",bo=class extends to{constructor(...e){super(...e),po(this,"uploadSuccessHandler",(({data:e})=>{const{entries:t}=e;this.isDestroyed()||"function"==typeof this.successCallback&&this.successCallback(t)})),po(this,"uploadProgressHandler",(e=>{this.isDestroyed()||"function"==typeof this.progressCallback&&this.progressCallback(e)})),po(this,"preflightSuccessHandler",(async({data:e})=>{if(this.isDestroyed())return;let t=e.upload_url;t||(t=`${this.getBaseUploadUrl()}/files/content`,this.fileId&&(t=t.replace("content",`${this.fileId}/content`)));const r={url:t,data:{attributes:JSON.stringify({name:this.fileName,parent:{id:this.folderId},description:this.fileDescription,content_modified_at:gi(this.file)}),file:this.file},headers:{},successHandler:this.uploadSuccessHandler,errorHandler:this.preflightErrorHandler,progressHandler:this.uploadProgressHandler},n=await this.computeSHA1(this.file);n&&(r.headers={[mo]:n}),this.xhr.uploadFile(r)}))}upload({folderId:e,fileId:t,file:r,fileDescription:n,successCallback:i=ot(),errorCallback:o=ot(),progressCallback:a=ot(),conflictCallback:s,overwrite:l=!0}){this.isDestroyed()||(this.folderId=e,this.fileId=t,this.file=r,this.fileDescription=n,this.fileName=this.file.name,this.successCallback=i,this.errorCallback=o,this.progressCallback=a,this.overwrite=l,this.conflictCallback=s,this.makePreflightRequest())}cancel(){this.isDestroyed()||(clearTimeout(this.retryTimeout),this.destroy())}async computeSHA1(e){let t="";try{const r=new window.FileReader,{buffer:n}=await this.readFile(r,e),i=await Si("SHA-1",n);t=Array.from(new Uint8Array(i)).map((e=>`00${e.toString(16)}`.slice(-2))).join("")}catch(e){}return t}};function go(e,t,r,n){const i=[];return e.forEach((e=>{const{id:o,type:a}=e;if(!o||!a)throw qi();let s;switch(a){case u:s=t;break;case d:s=r;break;case h:s=n;break;default:throw new Error("Unknown Type!")}const l=s.getCache(),c=s.getCacheKey(o);l.has(c)?l.merge(c,e):l.set(c,e),i.push(c)})),i}var yo=__webpack_require__(75322),vo=__webpack_require__.n(yo),wo=__webpack_require__(19170),Eo=__webpack_require__.n(wo);function So(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Oo=[j,I,"type",D,"parent",M,R,"path_collection",F,U,V,"has_collaborations",B,"item_collection",W,X,G,"url"],Po=([j,I,D,M,Z,"shared_link",R,"content_created_at","content_modified_at",U,H,F,V,"owned_by","description",J,"expires_at","version_limit",K,B,N,W,X,te].concat(Y),[U,M,X,F,V,I,L,$,D,ee,q,te,K]),Co=([Z,F,V,N,D,z,te,K].concat(Y),[W,U,M,X,F,V,I,R,z,L,$,"retention",D,ee,q,te,K]),ko=["tagged_message","message",U,H,F,R],_o=["activity_template","app",H,"occurred_at","rendered_text"];function Ao(e,t=[]){return e&&"object"==typeof e&&0!==Object.keys(e).length?t.filter((t=>!vo()(e,t))):t}function To(e={},t){if(!Array.isArray(t)||0===t.length)return e;const r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?So(Object(r),!0).forEach((function(t){xo(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):So(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e);return Ao(e,t).forEach((e=>{Eo()(r,e,null)})),r}function jo(){return jo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},jo.apply(null,arguments)}function Io(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Do=class extends Ji{constructor(...e){super(...e),Io(this,"deleteSuccessHandler",(()=>{if(this.isDestroyed())return;const e=this.getParentCacheKey(this.parentId),t=this.getCache().get(e);if(!t)return void this.postDeleteCleanup();const{item_collection:r}=t;if(!r)return void this.postDeleteCleanup();const{entries:n,total_count:i}=r;if(!Array.isArray(n)||"number"!=typeof i)throw qi();const o=this.getCacheKey(this.id),a=n.length,s=n.filter((e=>e!==o)),l=s.length,c=this.merge(e,"item_collection",jo(r,{entries:s,total_count:i-(a-l)}));this.successCallback(c),this.postDeleteCleanup()})),Io(this,"renameSuccessHandler",(({data:e})=>{if(!this.isDestroyed()){this.getCache().unsetAll(w);const t=this.merge(this.getCacheKey(this.id),"name",e.name);this.successCallback(t)}})),Io(this,"shareSuccessHandler",((e,t)=>{if(!this.isDestroyed()){const r=t?To(e,t):e,n=this.getCache(),i=this.getCacheKey(this.id);n.has(i)?n.merge(i,r):n.set(i,r),this.successCallback(n.get(i))}}))}getParentCacheKey(e){return`${y}${e}`}getCacheKey(e){return`getCacheKey(${e}) should be overriden`}getUrl(e){return`getUrl(${e}) should be overriden`}merge(e,t,r){const n=this.getCache();return n.merge(e,Eo()({},t,r)),n.get(e)}postDeleteCleanup(){this.isDestroyed()||(this.getCache().unsetAll(w),this.successCallback())}deleteItem(e,t,r=ot()){if(this.isDestroyed())return Promise.reject();this.errorCode="delete_item_error";const{id:n,permissions:i,parent:o,type:a}=e;if(!(n&&i&&o&&a))return r(qi(),this.errorCode),Promise.reject();const{id:s}=o,{can_delete:l}=i;if(!l||!s)return r(Gi(),this.errorCode),Promise.reject();this.id=n,this.parentId=s,this.successCallback=t,this.errorCallback=r;const c=`${this.getUrl(n)}${a===u?"?recursive=true":""}`;return this.xhr.delete({url:c}).then(this.deleteSuccessHandler).catch((e=>{this.errorHandler(e)}))}rename(e,t,r,n=ot()){if(this.isDestroyed())return Promise.reject();this.errorCode="rename_item_error";const{id:i,permissions:o}=e;if(!i||!o)return n(qi(),this.errorCode),Promise.reject();const{can_rename:a}=o;return a?(this.id=i,this.successCallback=r,this.errorCallback=n,this.xhr.put({url:`${this.getUrl(i)}`,data:{name:t}}).then(this.renameSuccessHandler).catch((e=>{this.errorHandler(e)}))):(n(Gi(),this.errorCode),Promise.reject())}validateSharedLinkRequest(e,t,r=!1){if(!e||!t)throw this.errorCode=_e,qi();const{can_share:n,can_set_share_access:i}=t;if(!n||!r&&!i)throw this.errorCode=_e,Gi()}async share(e,t,r,n=ot(),i={}){if(this.isDestroyed())return Promise.reject();try{const{id:o,permissions:a,shared_link:s}=e;this.id=o,this.successCallback=r,this.errorCallback=n;const l=!s&&void 0===t;this.validateSharedLinkRequest(o,a,l);const{fields:c}=i,u={url:this.getUrl(this.id),data:{shared_link:"none"===t?null:{access:t}}};c&&(u.params={fields:c.toString()});const{data:d}=await this.xhr.put(u);return this.shareSuccessHandler(d,c)}catch(e){return this.errorHandler(e)}}async updateSharedLink(e,t,r,n=ot(),i={}){if(this.isDestroyed())return Promise.reject();try{const{id:o,permissions:a}=e;this.id=o,this.successCallback=r,this.errorCallback=n,this.validateSharedLinkRequest(o,a);const{fields:s}=i,l={url:this.getUrl(this.id),data:{shared_link:t}};s&&(l.params={fields:s.toString()});const{data:c}=await this.xhr.put(l);return this.shareSuccessHandler(c,s)}catch(e){return this.errorHandler(e)}}};function Mo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ro(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Mo(Object(r),!0).forEach((function(t){Fo(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Fo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Lo=class extends Do{getCacheKey(e){return`${v}${e}`}getUrl(e){const t=e?`/${e}`:"";return`${this.getBaseApiUrl()}/files${t}`}async getDownloadUrl(e,t,r,n){this.errorCode="get_download_url_error",this.errorCallback=n,this.successCallback=r;const i=t[X],o=t[W],a=await Ri.getReadToken(zi(e),this.options.token);if(!i||!o||!a)return void this.errorHandler(new Error("Download is missing required fields or token."));const{query:s,url:l}=sn.parseUrl(o),c=Ro(Ro({},s),{},{access_token:a}),u=sn.stringify(c);this.successHandler(`${l}?${u}`)}isRepresentationsCallComplete(e){const t=bi()(e,"data.status.state");return!t||"error"===t||"success"===t||"viewable"===t}async generateRepresentation(e){const t=bi()(e,"info.url");return t?vi(((e,r)=>this.xhr.get({successCallback:e,errorCallback:r,url:t}).then((t=>this.isRepresentationsCallComplete(t)?e(t.data):r(t.data))).catch((e=>{r(e)}))),4,2e3,2):e}async getThumbnailUrl(e){const t=bi()(e,"representations.entries[0]"),r=bi()(t,"representation"),n=bi()(t,"content.url_template"),i=await Ri.getReadToken(zi(e.id),this.options.token);if(!r||!n||!i)return null;const o=n.replace("{+asset_path}","jpg"===r?"":"1.png"),{query:a,url:s}=sn.parseUrl(o),l=Ro(Ro({},a),{},{access_token:i});return`${s}?${sn.stringify(l)}`}setFileDescription(e,t,r,n){const{id:i,permissions:o}=e;return i&&o?o.can_rename?this.xhr.put({id:zi(i),url:this.getUrl(i),data:{description:t}}).then((({data:e})=>{if(!this.isDestroyed()){const t=this.merge(this.getCacheKey(i),"description",e.description);r(t)}})).catch((()=>{if(!this.isDestroyed()){const t=this.merge(this.getCacheKey(i),"description",e.description);n(t)}})):(n(Gi()),Promise.reject()):(n(qi()),Promise.reject())}async getFile(e,t,r,n={}){if(this.isDestroyed())return;const i=this.getCache(),o=this.getCacheKey(e),a=!n.forceFetch&&i.has(o),s=a?i.get(o):{id:e};let l=Ao(s,n.fields);const c={id:zi(e),url:this.getUrl(e),headers:{"X-Rep-Hints":Te}};if(this.errorCode="fetch_file_error",this.successCallback=t,this.errorCallback=r,!a||0!==l.length||(t(s),l=n.fields||[],n.refreshCache)){l.length>0&&(c.params={fields:l.toString()});try{const{data:e}=await this.xhr.get(c);if(this.isDestroyed())return;const t=To(e,l);i.has(o)?i.merge(o,t):i.set(o,t),this.successHandler(i.get(o))}catch(e){this.errorHandler(e)}}}getFileExtension(e,t,r){this.isDestroyed()||this.getFile(e,t,r,{fields:[M]})}},No=class extends Do{getCacheKey(e){return`web_link_${e}`}getUrl(e){const t=e?`/${e}`:"";return`${this.getBaseApiUrl()}/web_links${t}`}async getWeblink(e,t,r,{fields:n}={}){if(this.isDestroyed())return;const i=this.getCache(),o=this.getCacheKey(e);if(this.errorCode="fetch_weblink_error",this.successCallback=t,this.errorCallback=r,i.has(o)&&0===Ao(i.get(o),n).length)return void t(i.get(o));const a={url:this.getUrl(e)};n&&(a.params={fields:n.toString()});try{const{data:e}=await this.xhr.get(a);if(this.isDestroyed())return;i.has(o)?i.merge(o,e):i.set(o,e),this.successHandler(i.get(o))}catch(e){this.errorHandler(e)}}};function Uo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Uo(Object(r),!0).forEach((function(t){Ho(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Uo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ho(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Vo extends Do{constructor(...e){super(...e),Ho(this,"folderSuccessHandler",(({data:e})=>{if(this.isDestroyed())return;const{item_collection:t}=e;if(!t)throw qi();const{entries:r,total_count:n,limit:i,offset:o}=t;if(!Array.isArray(r)||"number"!=typeof n||"number"!=typeof i||"number"!=typeof o)throw qi();const a=go(r,new Vo(this.options),new Lo(this.options),new No(this.options));this.itemCache=(this.itemCache||[]).concat(a),this.getCache().set(this.key,Bo(Bo({},e),{},{item_collection:Bo(Bo({},t),{},{entries:this.itemCache})})),this.finish()})),Ho(this,"folderDetailsSuccessHandler",(({data:e})=>{if(this.isDestroyed())return;const t=Bo(Bo({},this.getCache().get(this.key)),e);this.getCache().set(this.key,t),this.successCallback(t)})),Ho(this,"createSuccessHandler",(({data:e})=>{const{id:t}=e;if(this.isDestroyed()||!t)return;const r=this.getCacheKey(t),n=this.getCache(),i=n.get(this.key);if(!i)return void this.successCallback(e);const{item_collection:o}=i;if(!o)throw qi();const{total_count:a,entries:s}=o;if(!Array.isArray(s)||"number"!=typeof a)throw qi();n.set(r,e),o.entries=[r].concat(s),o.total_count=a+1,this.successCallback(e)}))}getCacheKey(e){return`${y}${e}`}getUrl(e){const t=e?`/${e}`:"";return`${this.getBaseApiUrl()}/folders${t}`}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{id:r,name:n,permissions:i,path_collection:o,item_collection:a}=t;if(!a||!o)throw qi();const{entries:s,offset:l,total_count:c}=a;if(!Array.isArray(s)||"number"!=typeof c)throw qi();const u={id:r,name:n,offset:l,percentLoaded:100,permissions:i,boxItem:t,breadcrumbs:o.entries,items:s.map((t=>e.get(t))),sortBy:this.sortBy,sortDirection:this.sortDirection,totalCount:c};this.successCallback(u)}folderRequest({fields:e,noPagination:t}={},r=this.folderSuccessHandler){if(this.isDestroyed())return Promise.reject();const n=e||Oo;this.errorCode="fetch_folder_error";let i={fields:n.toString()};return t||(i=Bo(Bo({},i),{},{direction:this.sortDirection.toLowerCase(),limit:this.limit,offset:this.offset,fields:n.toString(),sort:this.sortBy.toLowerCase()})),this.xhr.get({url:this.getUrl(this.id),params:i,headers:n.includes(G)?{"X-Rep-Hints":De}:{}}).then(r).catch(this.errorHandler)}getFolderFields(e,t,r,n={}){this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.successCallback=t,this.errorCallback=r,this.folderRequest(Bo(Bo({},n),{},{noPagination:!0}),this.folderDetailsSuccessHandler))}getFolder(e,t,r,n,i,o,a,s={}){this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.limit=t,this.offset=r,this.sortBy=n,this.sortDirection=i,this.successCallback=o,this.errorCallback=a,s.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.folderRequest(s))}folderCreateRequest(e){if(this.isDestroyed())return Promise.reject();this.errorCode="create_folder_error";const t=`${this.getUrl()}?fields=${Oo.toString()}`;return this.xhr.post({url:t,data:{name:e,parent:{id:this.id}}}).then(this.createSuccessHandler).catch(this.errorHandler)}create(e,t,r,n=ot()){this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.successCallback=r,this.errorCallback=n,this.folderCreateRequest(t))}}const zo=Vo;function $o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$o(Object(r),!0).forEach((function(t){Go(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Go(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Wo=class extends Ji{constructor(...e){super(...e),Go(this,"searchSuccessHandler",(({data:e})=>{if(this.isDestroyed())return;const{entries:t,total_count:r,limit:n,offset:i}=e;if(!Array.isArray(t)||"number"!=typeof r||"number"!=typeof n||"number"!=typeof i)throw qi();const o=go(t,new zo(this.options),new Lo(this.options),new No(this.options));this.itemCache=(this.itemCache||[]).concat(o),this.getCache().set(this.key,{item_collection:qo(qo({},e),{},{entries:this.itemCache})}),this.finish()})),Go(this,"searchErrorHandler",(e=>{this.isDestroyed()||this.errorCallback(e,this.errorCode)}))}getEncodedQuery(e){return encodeURIComponent(e)}getCacheKey(e,t){return`${w}${e}|${t}`}getUrl(){return`${this.getBaseApiUrl()}/search`}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{item_collection:r}=t;if(!r)throw qi();const{entries:n,total_count:i}=r;if(!Array.isArray(n)||"number"!=typeof i)throw qi();const o={id:this.id,items:n.map((t=>e.get(t))),offset:this.offset,percentLoaded:100,sortBy:"",sortDirection:S,totalCount:i};this.successCallback(o)}searchRequest(e={}){if(this.isDestroyed())return Promise.reject();const{fields:t}=e,r=t||Oo;return this.errorCode="search_error",this.xhr.get({url:this.getUrl(),params:{offset:this.offset,query:this.query,ancestor_folder_ids:this.id,limit:this.limit,fields:r.toString()},headers:r.includes(G)?{"X-Rep-Hints":De}:{}}).then(this.searchSuccessHandler).catch(this.searchErrorHandler)}search(e,t,r,n,i,o,a={}){this.isDestroyed()||(this.limit=r,this.offset=n,this.query=t,this.id=e,this.key=this.getCacheKey(e,this.getEncodedQuery(this.query)),this.successCallback=i,this.errorCallback=o,a.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.searchRequest(a))}};function Zo(){return Zo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zo.apply(null,arguments)}function Xo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ko=class extends Ji{constructor(...e){super(...e),Xo(this,"recentsSuccessHandler",(({data:e})=>{if(this.isDestroyed())return;const{entries:t,order:{by:r,direction:n}}=e,i=[];t.forEach((({item:e,interacted_at:t})=>{const{path_collection:r}=e;("0"===this.id||r&&-1!==r.entries.findIndex((e=>e.id===this.id)))&&i.push(Zo(e,{interacted_at:t}))}));const o=go(i,new zo(this.options),new Lo(this.options),new No(this.options));this.getCache().set(this.key,{item_collection:{entries:o,order:[{by:r,direction:n}]}}),this.finish()})),Xo(this,"recentsErrorHandler",(e=>{this.isDestroyed()||this.errorCallback(e,this.errorCode)}))}getCacheKey(e){return`recents_${e}`}getUrl(){return`${this.getBaseApiUrl()}/recent_items`}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{item_collection:r}=t;if(!r)throw qi();const{entries:n}=r;if(!Array.isArray(n))throw qi();const i={id:this.id,items:n.map((t=>e.get(t))),percentLoaded:100,sortBy:"date",sortDirection:S};this.successCallback(i)}recentsRequest(e={}){if(this.isDestroyed())return Promise.reject();const{fields:t}=e,r=t||Oo;return this.errorCode="fetch_recents_error",this.xhr.get({url:this.getUrl(),params:{fields:r.toString()},headers:r.includes(G)?{"X-Rep-Hints":De}:{}}).then(this.recentsSuccessHandler).catch(this.recentsErrorHandler)}recents(e,t,r,n={}){if(this.isDestroyed())return;this.id=e,this.successCallback=t,this.errorCallback=r;const i=this.getCache();this.key=this.getCacheKey(this.id),n.forceFetch&&i.unset(this.key),i.has(this.key)?this.finish():this.recentsRequest(n)}};function Qo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qo(Object(r),!0).forEach((function(t){Jo(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Jo(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ea=class extends Ji{getQueryParameters(e,t,r){const n={offset:e,limit:t};return r&&r.length>0&&(n.fields=r.toString()),n}hasMoreItems(e,t){return void 0===t||e<t}async offsetGetRequest(e,t,r,n,i){if(!this.isDestroyed())try{const o=this.getQueryParameters(t,r,i),a=this.getUrl(e),{data:s}=await this.xhr.get({url:a,id:zi(e),params:o}),l=this.data?this.data.entries:[];this.data=Yo(Yo({},s),{},{entries:l.concat(s.entries)});const c=s.total_count,u=t+r;if(n&&this.hasMoreItems(u,c))return void this.offsetGetRequest(e,u,r,n,i);this.successHandler(this.data)}catch(e){this.errorHandler(e)}}async offsetGet(e,t,r,n=0,i=1e3,o,a=!0){return this.successCallback=t,this.errorCallback=r,this.offsetGetRequest(e,n,i,a,o)}},ta=["permissions"];function ra(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function na(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ra(Object(r),!0).forEach((function(t){ia(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ra(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ia(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const oa=class extends ea{constructor(...e){super(...e),ia(this,"successHandler",(e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)}))}getUrl(e){if(!e)throw new Error("Missing file id!");return`${this.getBaseApiUrl()}/files/${e}/versions`}getVersionUrl(e,t){if(!t)throw new Error("Missing version id!");return`${this.getUrl(e)}/${t}`}addPermissions(e,t){if(!e)return e;const{entries:r,total_count:n}=e,i=bi()(t,["permissions",se],!1);return{entries:r.map((e=>{let{permissions:t}=e;return na(na({},function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ta)),{},{permissions:na({can_upload:i},t)})})),total_count:n}}deleteVersion({errorCallback:e,fileId:t,permissions:r,successCallback:n,versionId:i}){this.errorCode="delete_version_error";try{this.checkApiCallValidity(ie,r,t)}catch(t){return void e(t,this.errorCode)}this.delete({id:t,url:this.getVersionUrl(t,i),successCallback:n,errorCallback:e})}getVersions(e,t,r,n=0,i=1e3,o=Co,a=!0){this.errorCode="fetch_versions_error",this.offsetGet(e,t,r,n,i,o,a)}getVersion(e,t,r,n){this.errorCode="fetch_version_error",this.get({id:e,successCallback:r,errorCallback:n,url:this.getVersionUrl(e,t),requestData:{params:{fields:Co.toString()}}})}addCurrentVersion(e,t,r){if(!e)return t||{entries:[],total_count:0};if(!t)return{entries:[e],total_count:1};const n=bi()(r,"restored_from.id"),i=t.entries.find((e=>e.id===n));return i&&(e.version_promoted=i.version_number),{entries:[...t.entries,e],total_count:t.total_count+1}}promoteVersion({errorCallback:e,fileId:t,permissions:r,successCallback:n,versionId:i}){this.errorCode="promote_version_error";try{this.checkApiCallValidity(se,r,t)}catch(t){return void e(t,this.errorCode)}this.post({id:t,data:{data:{id:i,type:"file_version"}},url:this.getVersionUrl(t,"current"),successCallback:n,errorCallback:e})}restoreVersion({errorCallback:e,fileId:t,permissions:r,successCallback:n,versionId:i}){this.errorCode="restore_version_error";try{this.checkApiCallValidity(ie,r,t)}catch(t){return void e(t,this.errorCode)}this.put({id:t,data:{data:{trashed_at:null}},url:this.getVersionUrl(t,i),successCallback:n,errorCallback:e})}};function aa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function sa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?aa(Object(r),!0).forEach((function(t){la(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function la(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ca=class extends ea{constructor(...e){super(...e),la(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return void this.successCallback(this.format(e));const t=e.entries.map(this.format);this.successCallback(sa(sa({},e),{},{entries:t}))}))}getUrl(e){if(!e)throw new Error("Missing file id!");return`${this.getBaseApiUrl()}/files/${e}/comments`}commentsUrl(e){const t=`${this.getBaseApiUrl()}/comments`;return e?`${t}/${e}`:t}format(e){return sa(sa({},e),{},{tagged_message:""!==e.tagged_message?e.tagged_message:e.message})}createComment({file:e,message:t,taggedMessage:r,successCallback:n,errorCallback:i}){this.errorCode=ye;const{id:o="",permissions:a}=e;try{this.checkApiCallValidity(re,a,o)}catch(e){return void i(e,this.errorCode)}const s={data:{item:{id:o,type:"file"},message:t,tagged_message:r},params:{fields:ko.toString()}};this.post({id:o,url:this.commentsUrl(),data:s,successCallback:n,errorCallback:i})}updateComment({file:e,commentId:t,message:r,tagged_message:n,permissions:i,successCallback:o,errorCallback:a}){this.errorCode=Ce;const{id:s=""}=e;try{this.checkApiCallValidity(oe,i,s)}catch(e){return void a(e,this.errorCode)}const l={data:{message:r,tagged_message:n}};this.put({id:s,url:this.commentsUrl(t),data:l,successCallback:o,errorCallback:a})}deleteComment({file:e,commentId:t,permissions:r,successCallback:n,errorCallback:i}){this.errorCode=xe;const{id:o=""}=e;try{this.checkApiCallValidity(ie,r,o)}catch(e){return void i(e,this.errorCode)}this.delete({id:o,url:this.commentsUrl(t),successCallback:n,errorCallback:i})}getComments(e,t,r,n,i=ko,o,a,s){this.errorCode=fe;try{this.checkApiCallValidity(re,t,e)}catch(e){return void n(e,this.errorCode)}this.offsetGet(e,r,n,o,a,i,s)}},ua=["retryableStatusCodes"];function da(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ha(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?da(Object(r),!0).forEach((function(t){fa(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):da(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fa(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const pa=[Ue,500,501,502,503,504],ma=class extends Ji{constructor(e){let{retryableStatusCodes:t=pa}=e;super(ha(ha({},function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,ua)),{},{retryableStatusCodes:t}))}},ba=["id","addedAssignees","removedAssignees"];function ga(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ya(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ga(Object(r),!0).forEach((function(t){va(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ga(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function va(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const wa=class extends ma{getUrlForFileTasks(e){return`${this.getBaseApiUrl()}/undoc/files/${e}/linked_tasks?limit=1000`}getUrlForTaskCreateWithDeps(){return`${this.getBaseApiUrl()}/undoc/tasks/with_dependencies`}getUrlForTask(e){return`${this.getBaseApiUrl()}/undoc/tasks/${e}`}getUrlForTaskWithDeps(e){return`${this.getBaseApiUrl()}/undoc/tasks/${e}/with_dependencies`}updateTaskWithDeps({errorCallback:e,file:t,successCallback:r,task:n}){this.errorCode=Pe;const i=n.addedAssignees.map((e=>({op:e.item&&"group"===e.item.type?"add_task_collaborators_expand_group":"add_task_collaborator",payload:{target:{type:e.item&&"group"===e.item.type?"group":"user",id:e.id}}}))),o=n.removedAssignees.map((e=>({op:"delete_task_collaborator",id:e.id}))),{id:a,addedAssignees:s,removedAssignees:l}=n,c=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(n,ba);this.put({id:t.id,url:this.getUrlForTaskWithDeps(n.id),data:{data:[{op:"update_task",payload:ya({},c)},...i,...o]},successCallback:r,errorCallback:e})}deleteTask({errorCallback:e,file:t,successCallback:r,task:n}){this.errorCode="delete_task_error",this.delete({id:t.id,url:this.getUrlForTask(n.id),successCallback:r,errorCallback:e})}getTasksForFile({errorCallback:e,file:t,successCallback:r}){this.errorCode=me,this.get({id:t.id,url:this.getUrlForFileTasks(t.id),successCallback:r,errorCallback:e})}getTask({errorCallback:e,file:t,id:r,successCallback:n}){this.errorCode=me,this.get({id:t.id,url:this.getUrlForTask(r),successCallback:n,errorCallback:e})}createTaskWithDeps({errorCallback:e,file:t,successCallback:r,task:n,assignees:i}){this.errorCode=we;const o=i.map((e=>({target:{type:e.item&&"group"===e.item.type?"group":"user",id:e.id}}))),a=[{target:{id:t.id,type:"file"}}],s={task:ya({},n),assigned_to:o,task_links:a};this.post({id:t.id,url:this.getUrlForTaskCreateWithDeps(),data:{data:ya({},s)},successCallback:r,errorCallback:e})}};function Ea(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ea(Object(r),!0).forEach((function(t){xa(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ea(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xa(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Oa=class extends ma{getUrlForTaskCollaborators(e){return`${this.getBaseApiUrl()}/undoc/tasks/${e}/task_collaborators?role=ASSIGNEE&limit=1000`}getUrlForTaskCollaboratorCreate(){return`${this.getBaseApiUrl()}/undoc/task_collaborators`}getUrlForTaskCollaborator(e){return`${this.getBaseApiUrl()}/undoc/task_collaborators/${e}`}getUrlForTaskGroupCreate(){return`${this.getBaseApiUrl()}/undoc/task_collaborators/expand_group`}createTaskCollaborator({errorCallback:e,file:t,successCallback:r,task:n,user:i}){this.errorCode=Ee;const o={data:{task:{type:"task",id:n.id},target:{type:"user",id:i.id}}};this.post({id:t.id,url:this.getUrlForTaskCollaboratorCreate(),data:Sa({},o),successCallback:r,errorCallback:e})}createTaskCollaboratorsforGroup({errorCallback:e,file:t,successCallback:r,task:n,group:i}){this.errorCode=Ee;const o={data:{task:{type:"task",id:n.id},target:{type:"group",id:i.id}}};this.post({id:t.id,url:this.getUrlForTaskGroupCreate(),data:Sa({},o),successCallback:r,errorCallback:e})}getTaskCollaborators({errorCallback:e,file:t,successCallback:r,task:n}){this.errorCode="fetch_task_collaborator_error";const i=this.getUrlForTaskCollaborators(n.id);this.get({id:t.id,successCallback:r,errorCallback:e,url:i})}updateTaskCollaborator({errorCallback:e,file:t,successCallback:r,taskCollaborator:n}){this.errorCode="update_task_collaborator_error";const i={data:Xn()(n,"id")};this.put({id:t.id,url:this.getUrlForTaskCollaborator(n.id),data:Sa({},i),successCallback:r,errorCallback:e})}deleteTaskCollaborator({errorCallback:e,file:t,successCallback:r,taskCollaborator:n}){this.errorCode="delete_task_collaborator_error",this.delete({id:t.id,url:this.getUrlForTaskCollaborator(n.id),successCallback:r,errorCallback:e})}};function Pa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ca(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pa(Object(r),!0).forEach((function(t){ka(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ka(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _a=class extends ma{getUrlForTaskLinkCreate(){return`${this.getBaseApiUrl()}/undoc/task_links`}createTaskLink({errorCallback:e,file:t,successCallback:r,task:n}){this.errorCode="create_task_link_error";const i={data:{target:{id:t.id,type:"file"},task:{id:n.id,type:"task"}}};this.post({id:t.id,url:this.getUrlForTaskLinkCreate(),data:Ca({},i),successCallback:r,errorCallback:e})}};function Aa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ta(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Aa(Object(r),!0).forEach((function(t){ja(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Aa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ja(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ia=class extends Ji{hasMoreItems(e){return null!==e&&""!==e}async markerGetRequest(e,t,r,n,i={}){if(!this.isDestroyed())try{const o=this.getUrl(e),a=Ta(Ta({},i),{},{marker:t,limit:r}),{data:s}=await this.xhr.get({url:o,id:zi(e),params:a}),l=this.data?this.data.entries:[];this.data=Ta(Ta({},s),{},{entries:l.concat(s.entries)});const c=s.next_marker;if(n&&this.hasMoreItems(c))return void this.markerGetRequest(e,c,r,n,i);this.successHandler(this.data)}catch(e){this.errorHandler(e)}}async markerGet({id:e,successCallback:t,errorCallback:r,marker:n="",limit:i=1e3,requestData:o,shouldFetchAll:a=!0}){return this.successCallback=t,this.errorCallback=r,this.markerGetRequest(e,n,i,a,o)}};function Da(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ma(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Da(Object(r),!0).forEach((function(t){Ra(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Da(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ra(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Fa=e=>{const t=Ma(Ma({},e),{},{tagged_message:e.message});return e.replies&&e.replies.length&&(t.replies=e.replies.map(Fa)),t},La=e=>{throw e.abort(),function(){class e extends Error{constructor(e){super(e),this.name="AbortError"}}return new e("Aborted")}()};function Na(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ua(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Na(Object(r),!0).forEach((function(t){Ba(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Na(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ba(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ha=class extends Ia{constructor(...e){super(...e),Ba(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return void this.successCallback(Fa(e));const t=e.entries.map(Fa);this.successCallback(Ua(Ua({},e),{},{entries:t}))}))}getUrl(e){return`${this.getBaseApiUrl()}/undoc/comments${e?`?file_id=${e}`:""}`}getUrlForId(e){return`${this.getUrl()}/${e}`}getUrlWithRepliesForId(e,t){return`${this.getUrlForId(e)}/replies${t?`?file_id=${t}`:""}`}createComment({file:e,message:t,successCallback:r,errorCallback:n}){this.errorCode=ye;const{id:i,permissions:o}=e;try{this.checkApiCallValidity(re,o,i)}catch(e){return void n(e,this.errorCode)}this.post({id:i,url:this.getUrl(i),data:{data:{message:t}},successCallback:r,errorCallback:n})}updateComment({fileId:e,commentId:t,status:r,message:n,permissions:i,successCallback:o,errorCallback:a}){if(this.errorCode=Ce,n)try{this.checkApiCallValidity(oe,i,e)}catch(e){return void a(e,this.errorCode)}if(r)try{this.checkApiCallValidity(ae,i,e)}catch(e){return void a(e,this.errorCode)}const s={data:{status:r,message:n}};this.put({id:e,url:this.getUrlForId(t),data:s,successCallback:o,errorCallback:a})}deleteComment({fileId:e,commentId:t,permissions:r,successCallback:n,errorCallback:i}){this.errorCode=xe;try{this.checkApiCallValidity(ie,r,e)}catch(e){return void i(e,this.errorCode)}this.delete({id:e,url:this.getUrlForId(t),successCallback:n,errorCallback:i})}getComment({commentId:e,errorCallback:t,fileId:r,permissions:n,successCallback:i}){this.errorCode="fetch_comment_error";try{this.checkApiCallValidity(re,n,r)}catch(e){return void t(e,this.errorCode)}this.get({id:r,errorCallback:t,successCallback:i,url:this.getUrlForId(e)})}getComments({fileId:e,permissions:t,successCallback:r,errorCallback:n,marker:i,limit:o,shouldFetchAll:a,repliesCount:s}){this.errorCode=fe;try{this.checkApiCallValidity(re,t,e)}catch(e){return void n(e,this.errorCode)}this.markerGet({id:e,successCallback:r,errorCallback:n,marker:i,limit:o,requestData:Ua({},s?{replies_count:s}:null),shouldFetchAll:a})}getCommentReplies({fileId:e,commentId:t,permissions:r,successCallback:n,errorCallback:i}){this.errorCode=pe;try{this.checkApiCallValidity(re,r,e)}catch(e){return void i(e,this.errorCode)}this.get({id:e,errorCallback:i,successCallback:n,url:this.getUrlWithRepliesForId(t)})}createCommentReply({fileId:e,commentId:t,permissions:r,successCallback:n,errorCallback:i,message:o}){this.errorCode=ve;try{this.checkApiCallValidity(re,r,e)}catch(e){return void i(e,this.errorCode)}this.post({id:e,data:{data:{message:o}},errorCallback:i,successCallback:n,url:this.getUrlWithRepliesForId(t,e)})}},Va=class extends Ji{getUrl(e){if(!e)throw new Error("Missing file id!");return`${this.getBaseApiUrl()}/file_access_stats/${e}`}getFileAccessStats(e,t,r){this.errorCode="fetch_access_stats_error",this.get({id:e,successCallback:t,errorCallback:r})}};function za(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?za(Object(r),!0).forEach((function(t){qa(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):za(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qa(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ga=class extends Ji{getFilteredUrl(e,t,r){return`${this.getBaseApiUrl()}${((e,t=[],r=!1)=>{const n=`&enable_replies=${r?"true":"false"}&reply_limit=1`;return`/file_activities?file_id=${e}${t&&t.length?`&activity_types=${t.join()}`:""}${n}`})(e,t,r)}`}getActivities({activityTypes:e,errorCallback:t,fileID:r,permissions:n,repliesCount:i,shouldShowReplies:o,successCallback:a}){this.errorCode="fetch_activity_error";try{if(!r)throw new Error("Missing file id!");e.includes(Ze)&&this.checkApiCallValidity(re,n,r),e.includes(Ge)&&this.checkApiCallValidity(le,n,r)}catch(e){return void t(e,this.errorCode)}this.get({id:r,successCallback:a,errorCallback:t,requestData:$a({},i?{replies_count:i}:null),url:this.getFilteredUrl(r,e,o)})}};function Wa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Za(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wa(Object(r),!0).forEach((function(t){Xa(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xa(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ka=class extends Ia{getUrl(){return`${this.getBaseApiUrl()}/groups`}getGroupsInEnterprise(e,t,r,n,i=50){this.errorCode="fetch_enterprise_groups_error",this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:Za({usemarker:!0},n),shouldFetchAll:!1})}};function Qa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ya(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qa(Object(r),!0).forEach((function(t){Ja(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ja(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const es=class extends Ia{getUrl(){return`${this.getBaseApiUrl()}/users`}getUsersInEnterprise(e,t,r,n,i=50){this.errorCode="fetch_enterprise_users_error",this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:Ya({usemarker:!0},n),shouldFetchAll:!1})}},ts=class extends Ji{getUrlForGroupCount(e){return`${this.getBaseApiUrl()}/groups/${e}/memberships`}getGroupCount({errorCallback:e=ot(),successCallback:t=ot(),group:r,file:n}){return new Promise(((i,o)=>this.get({id:n.id,url:this.getUrlForGroupCount(r.id),successCallback:(...e)=>{t(...e),i(...e)},errorCallback:(...t)=>{e(...t),o()},requestData:{params:{limit:1}}})))}},rs=class extends Ji{getUrl(){return`${this.getBaseApiUrl()}/users/me`}getAvatarUrl(e){if(!e)throw new Error("Missing user id");return`${this.getBaseApiUrl()}/users/${e}/avatar`}async getAvatarUrlWithAccessToken(e,t){if(!e)return null;const r=this.getCache();if(r.has(e))return r.get(e);const n=await Ri.getReadToken(zi(t),this.options.token);if("string"==typeof n){const t={access_token:n,pic_type:"large"},i=sn.stringify(t),o=`${this.getAvatarUrl(e)}?${i}`;return r.set(e,o),o}return null}getUser(e,t,r,n={}){this.errorCode="fetch_current_user_error",this.get({id:e,successCallback:t,errorCallback:r,requestData:n})}};var ns=__webpack_require__(47217),is=__webpack_require__.n(ns),os=__webpack_require__(92558),as=__webpack_require__.n(os),ss=__webpack_require__(58965),ls=__webpack_require__.n(ss),cs=__webpack_require__(87579),us=__webpack_require__.n(cs),ds=__webpack_require__(79464),hs=__webpack_require__.n(ds),fs=__webpack_require__(39832),ps=__webpack_require__.n(fs),ms=__webpack_require__(94012),bs=__webpack_require__.n(ms),gs=__webpack_require__(78949),ys=__webpack_require__.n(gs);const vs=["displayName","display_name"];function ws(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Es(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ws(Object(r),!0).forEach((function(t){Ss(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ws(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ss(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const xs=class extends Lo{getMetadataCacheKey(e){return`${E}${e}`}getSkillsCacheKey(e){return`${this.getMetadataCacheKey(e)}_skills`}getClassificationCacheKey(e){return`${this.getMetadataCacheKey(e)}_classification`}getMetadataTemplateSchemaCacheKey(e){return`${E}template_schema_${e}`}getMetadataUrl(e,t,r){const n=`${this.getUrl(e)}/metadata`;return t&&r?`${n}/${t}/${r}`:n}getMetadataUrlForFolder(e,t,r){const n=`${this.getBaseApiUrl()}/folders/${e}/metadata`;return t&&r?`${n}/${t}/${r}`:n}getMetadataTemplateUrl(){return`${this.getBaseApiUrl()}/metadata_templates`}getMetadataTemplateUrlForInstance(e){return`${this.getMetadataTemplateUrl()}?metadata_instance_id=${e}`}getMetadataTemplateSchemaUrl(e){return`${this.getMetadataTemplateUrl()}/enterprise/${e}/schema`}getMetadataTemplateUrlForScope(e){return`${this.getMetadataTemplateUrl()}/${e}`}getCustomPropertiesTemplate(){return{id:nt()("metadata_template_"),scope:_,templateKey:k,hidden:!1,fields:[]}}createEditor(e,t,r){const n={};return Object.keys(e).forEach((t=>{t.startsWith("$")||(n[t]=e[t])})),{template:t,instance:{id:e.$id,canEdit:e.$canEdit&&r,data:n}}}getTaxonomyLevelsForTemplatesUrl(e){return`${this.getBaseApiUrl()}/${e}`}getTaxonomyPath(e,t){return e&&t?`metadata_taxonomies/${e}/${t}`:null}async getTaxonomyLevelsForTemplates(e,t){const r=is()(e),n=ls()(r,(e=>as()(e.fields,(e=>"taxonomy"===e.type&&!e.levels&&(e.taxonomyKey||e.taxonomy_key)))));if(us()(n))return r;const i=ys()(n.map((e=>this.getTaxonomyPath(e.namespace,e.taxonomyKey||e.taxonomy_key))).filter(Boolean)).map((async e=>{try{return{path:e,levels:(await this.xhr.get({url:this.getTaxonomyLevelsForTemplatesUrl(e),id:zi(t)})).data.levels||[]}}catch(t){throw new Error(`Failed to fetch taxonomy for path: ${e}`)}})),o=await Promise.all(i),a=hs()(o,"path");return ps()(r,(e=>{if(!e.fields)return e;const[t,r]=bs()(e.fields,(e=>"taxonomy"===e.type&&!e.levels));if(us()(t))return e;const n=ps()(t,(e=>{const t=this.getTaxonomyPath(e.namespace,e.taxonomyKey||e.taxonomy_key),r=a[t]?.levels||[],n=e.taxonomyKey||e.taxonomy_key;return delete e.taxonomy_key,Es(Es({},e),{},{levels:ps()(r,(e=>{let{displayName:t,display_name:r}=e;return Es(Es({},function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,vs)),{},{displayName:t||r})})),taxonomyKey:n})}));return Es(Es({},e),{},{fields:r.concat(n)})}))}async getTemplates(e,t,r){this.errorCode="fetch_metadata_templates_error";let n={};const i=r?this.getMetadataTemplateUrlForInstance(r):this.getMetadataTemplateUrlForScope(t);try{n=await this.xhr.get({url:i,id:zi(e),params:{limit:1e3}})}catch(e){const{status:t}=e;if(Xi(t))throw e}return n=bi()(n,"data.entries",[]),await this.getTaxonomyLevelsForTemplates(n,e)}async getSchemaByTemplateKey(e){const t=this.getCache(),r=this.getMetadataTemplateSchemaCacheKey(e);if(t.has(r))return t.get(r);const n=this.getMetadataTemplateSchemaUrl(e),i=await this.xhr.get({url:n});return t.set(r,i),i}async getInstances(e,t=!1){this.errorCode=be;const r=this.getMetadataUrl(e),n=t?`${r}?view=hydrated`:r;let i={};try{i=await this.xhr.get({url:n,id:zi(e)})}catch(e){const{status:t}=e;if(Xi(t))throw e}return bi()(i,"data.entries",[])}getUserAddableTemplates(e,t,r,n){let i=[];return r&&(i=n?[e]:[e].concat(t)),i.filter((e=>!e.hidden&&e.templateKey!==P))}extractClassification(e,t){const r=t.find((e=>e.$template===P));if(r){t.splice(t.indexOf(r),1);const n=this.getCache(),i=this.getClassificationCacheKey(e);n.set(i,r)}return t}async getTemplateForInstance(e,t,r){const n=t.$id,i=t.$template,o=t.$scope;let a=r.find((e=>e.templateKey===i&&e.scope===o));return!a&&o.startsWith(A)&&(a=(await this.getTemplates(e,o,n))[0]),a}async getEditors(e,t,r,n,i,o){const a=[r].concat(n,i),s=[];return await Promise.all(t.map((async t=>{const r=await this.getTemplateForInstance(e,t,a);r&&s.push(this.createEditor(t,r,o))}))),s}createTemplateInstance(e,t,r){const n=[];return t.templateKey!==k?(t.fields||[]).forEach((t=>{const r=((e,t)=>"taxonomy"===e.type&&Array.isArray(t)?t.map((e=>({value:e.id,displayValue:e.displayName}))):t)(t,e[t.key]);n.push(Es(Es({},t),{},{value:r}))})):Object.keys(e).forEach((t=>{t.startsWith("$")||n.push({key:t,type:"string",value:e[t]})})),{canEdit:e.$canEdit&&r,displayName:t.displayName,hidden:t.hidden,id:t.id,fields:n,scope:t.scope,templateKey:t.templateKey,type:e.$type}}async getTemplateInstances(e,t,r,n,i,o){const a=[r].concat(n,i),s=[];return await Promise.all(t.map((async t=>{const r=await this.getTemplateForInstance(e,t,a);r&&s.push(this.createTemplateInstance(t,r,o))}))),s}async getMetadata(e,t,r,n,i={},o=!1){const{id:a,permissions:s,is_externally_owned:l}=e;if(this.errorCode=be,this.successCallback=t,this.errorCallback=r,!a||!s)return void this.errorHandler(qi());const c=this.getCache(),u=this.getMetadataCacheKey(a);if(i.forceFetch&&c.unset(u),!c.has(u)||(this.successHandler(c.get(u)),i.refreshCache))try{const e=this.getCustomPropertiesTemplate(),[t,r,i]=await Promise.all([this.getInstances(a,o),this.getTemplates(a,_),n?this.getTemplates(a,A):Promise.resolve([])]),d=this.extractClassification(a,t),h=o?await this.getTemplateInstances(a,d,e,i,r,!!s.can_upload):[],f={editors:o?[]:await this.getEditors(a,d,e,i,r,!!s.can_upload),templateInstances:h,templates:this.getUserAddableTemplates(e,i,n,l)};c.set(u,f),this.isDestroyed()||this.successHandler(f)}catch(e){this.errorHandler(e)}}async getSkills(e,t,r,n=!1){this.errorCode="fetch_skills_error";const{id:i}=e;if(!i)return void r(qi(),this.errorCode);const o=this.getCache(),a=this.getSkillsCacheKey(i);if(this.successCallback=t,this.errorCallback=r,n&&o.unset(a),o.has(a))return void this.successHandler(o.get(a));let s={data:bi()(e,J)};try{if(s.data||(s=await this.xhr.get({url:this.getMetadataUrl(i,_,C),id:zi(i)})),!this.isDestroyed()){const e=s.data.cards||[];o.set(a,e),this.successHandler(e)}}catch(e){this.errorHandler(e)}}async updateSkills(e,t,r,n){this.errorCode="update_skills_error";const{id:i,permissions:o}=e;if(i&&o)if(o.can_upload){this.successCallback=r,this.errorCallback=n;try{const e=await this.xhr.put({url:this.getMetadataUrl(i,_,C),headers:{[x]:"application/json-patch+json"},id:zi(i),data:t});if(!this.isDestroyed()){const t=e.data.cards||[];this.merge(this.getCacheKey(i),J,e.data),this.getCache().set(this.getSkillsCacheKey(i),t),this.successHandler(t)}}catch(e){this.errorHandler(e)}}else n(Gi(),this.errorCode);else n(qi(),this.errorCode)}async updateMetadata(e,t,r,n,i,o){this.errorCode=ke,o||(this.successCallback=n,this.errorCallback=i);const{id:a,permissions:s,type:l}=e;if(!a||!s)return void this.errorHandler(qi());const c=!!s.can_upload;if(c)try{const e=await this.xhr.put({url:"file"===l?this.getMetadataUrl(a,t.scope,t.templateKey):this.getMetadataUrlForFolder(a,t.scope,t.templateKey),headers:{[x]:"application/json-patch+json"},id:"file"===l?zi(a):$i(a),data:r});if(!this.isDestroyed()){const r=this.getCache(),n=this.getMetadataCacheKey(a),i=r.get(n),s=this.createEditor(e.data,t,c);i&&i.editors&&i.editors.splice(i.editors.findIndex((({instance:e})=>e.id===s.instance.id)),1,s),o||this.successHandler(s)}}catch(e){if(o)throw e;this.errorHandler(e)}else this.errorHandler(Gi())}async bulkUpdateMetadata(e,t,r,n,i){this.errorCode=ke,this.successCallback=n,this.errorCallback=i;try{const o=e.map((async(e,o)=>{try{await this.updateMetadata(e,t,r[o],n,i,!0)}catch(e){throw new Error(`Failed to update metadata: ${e.message||e}`)}}));await Promise.all(o),this.isDestroyed()||this.successHandler()}catch(e){this.isDestroyed()||this.errorHandler(e)}}async updateMetadataRedesign(e,t,r,n,i){this.errorCode=ke,this.successCallback=n,this.errorCallback=i;const{id:o,permissions:a}=e;if(o&&a)if(a.can_upload)try{if(await this.xhr.put({url:this.getMetadataUrl(o,t.scope,t.templateKey),headers:{[x]:"application/json-patch+json"},id:zi(o),data:r}),!this.isDestroyed()){const e=this.getCache(),r=this.getMetadataCacheKey(o),n=e.get(r);n&&n.templateInstances&&n.templateInstances.splice(n.templateInstances.findIndex((e=>e.scope===t.scope&&e.templateKey===t.templateKey)),1,t),this.successHandler()}}catch(e){this.errorHandler(e)}else this.errorHandler(Gi());else this.errorHandler(qi())}async createMetadata(e,t,r,n){if(this.errorCode=Se,!e||!t)return void n(qi(),this.errorCode);const{id:i,permissions:o,is_externally_owned:a}=e;if(!i||!o)return void n(qi(),this.errorCode);const s=!!o.can_upload,l=t.templateKey===k&&t.scope===_;if(!s||a&&!l)n(Gi(),this.errorCode);else{this.successCallback=r,this.errorCallback=n;try{const e=await this.xhr.post({url:this.getMetadataUrl(i,t.scope,t.templateKey),id:zi(i),data:{}});if(!this.isDestroyed()){const r=this.getCache(),n=this.getMetadataCacheKey(i),o=r.get(n),a=this.createEditor(e.data,t,s);o.editors.push(a),this.successHandler(a)}}catch(e){this.errorHandler(e)}}}async createMetadataRedesign(e,t,r,n){if(this.errorCode=Se,!e||!t)return void n(qi(),this.errorCode);const{id:i,permissions:o,is_externally_owned:a}=e;if(!i||!o)return void n(qi(),this.errorCode);const s=!!o.can_upload,l=t.templateKey===k&&t.scope===_;if(!s||a&&!l)n(Gi(),this.errorCode);else{this.successCallback=r,this.errorCallback=n;try{const e=t.fields.reduce(((e,t)=>{let{value:r}=t;return"float"===t.type&&r&&(r=parseFloat(t.value)),"enum"===t.type&&r&&0===r.length&&(r=void 0),"taxonomy"===t.type&&r&&Array.isArray(r)&&(r=r.map((e=>e.value))),e[t.key]=r,e}),{}),r=await this.xhr.post({url:this.getMetadataUrl(i,t.scope,t.templateKey),id:zi(i),data:e});if(!this.isDestroyed()){const e=this.getCache(),n=this.getMetadataCacheKey(i),o=e.get(n),a=Es(Es({},t),{},{type:r.data.$type});o.templateInstances.push(a),this.successHandler(a)}}catch(e){this.errorHandler(e)}}}async deleteMetadata(e,t,r,n,i=!1){if(this.errorCode="delete_metadata_error",!e||!t)return void n(qi(),this.errorCode);const{scope:o,templateKey:a}=t,{id:s,permissions:l}=e;if(s&&l)if(l.can_upload){this.successCallback=r,this.errorCallback=n;try{if(await this.xhr.delete({url:this.getMetadataUrl(s,o,a),id:zi(s)}),!this.isDestroyed()){const e=this.getCache(),t=this.getMetadataCacheKey(s),r=e.get(t);i?r.templateInstances.splice(r.templateInstances.findIndex((e=>e.scope===o&&e.templateKey===a)),1):r.editors.splice(r.editors.findIndex((e=>e.template.scope===o&&e.template.templateKey===a)),1),this.successHandler()}}catch(e){this.errorHandler(e)}}else n(Gi(),this.errorCode);else n(qi(),this.errorCode)}getMetadataSuggestionsUrl(){return`${this.getBaseApiUrl()}/metadata_instances/suggestions`}async getMetadataSuggestions(e,t,r,n,i=T){if(this.errorCode="fetch_metadata_suggestions_error",!e||t!==d)throw qi();if(!r)throw new Error("Missing scope");if(!n)throw new Error("Missing templateKey");if(i!==T)throw new Error(`Invalid confidence level: "${i}"`);let o={};try{o=await this.xhr.get({url:this.getMetadataSuggestionsUrl(),id:zi(e),params:{item:`${t}_${e}`,scope:r,template_key:n,confidence:i}})}catch(e){const{status:t}=e;if(Xi(t))throw e}if(!us()(o)&&0===bi()(o,"data.suggestions").length)throw this.errorCode="empty_metadata_suggestions_error",new Error("No suggestions found.");return bi()(o,"data.suggestions",[])}getMetadataOptionsUrl(e,t,r){return`${this.getBaseApiUrl()}/metadata_templates/${e}/${t}/fields/${r}/options`}async getMetadataOptions(e,t,r,n,i,o){if(this.errorCode="fetch_metadata_options_error",!e)throw qi();if(!t)throw new Error("Missing scope");if(!r)throw new Error("Missing templateKey");if(!n)throw new Error("Missing fieldKey");if(!i&&0!==i)throw new Error("Missing level");const{marker:a,searchInput:s,onlySelectableOptions:l,ancestorId:c,level:u,signal:d}=o,h=Es(Es(Es(Es(Es(Es({},a?{marker:a}:{}),s?{query_text:s}:{}),u?{level:u}:{}),c?{ancestor_id:c}:{}),void 0!==l?{only_selectable_options:!!l}:{}),{},{limit:100}),f=this.getMetadataOptionsUrl(t,r,n);d&&(d.onabort=()=>La(this.xhr));const p=await this.xhr.get({url:f,id:zi(e),params:h});return bi()(p,"data",{})}getMetadataTaxonomyUrl(e,t){return`${this.getBaseApiUrl()}/metadata_taxonomies/${e}/${t}`}async getMetadataTaxonomy(e,t,r){if(this.errorCode="fetch_metadata_taxonomy_error",!e)throw qi();if(!t)throw new Error("Missing scope");if(!r)throw new Error("Missing taxonomyKey");const n=this.getMetadataTaxonomyUrl(t,r),i=await this.xhr.get({url:n,id:zi(e)});return bi()(i,"data",{})}getMetadataTaxonomyNodeUrl(e,t,r,n=!1){const i=n?"?include-ancestors=true":"";return`${this.getBaseApiUrl()}/metadata_taxonomies/${e}/${t}/nodes/${r}${i}`}async getMetadataTaxonomyNode(e,t,r,n,i){if(this.errorCode="fetch_metadata_taxonomy_node_error",!e)throw qi();if(!n)throw new Error("Missing nodeID");if(!t)throw new Error("Missing scope");if(!r)throw new Error("Missing taxonomyKey");const o=this.getMetadataTaxonomyNodeUrl(t,r,n,i),a=await this.xhr.get({url:o,id:zi(e)});return bi()(a,"data",{})}};function Os(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ps(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Os(Object(r),!0).forEach((function(t){Cs(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Os(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Cs(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ks=class extends Ia{constructor(...e){super(...e),Cs(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;const t=e.entries.map((e=>{let t;return"group"===e.type?t=e:(t=e,t.email=t.login),{id:e.id,name:e.name,item:t}}));this.successCallback(Ps(Ps({},e),{},{entries:t}))})),Cs(this,"getCollaboratorsWithQuery",((e,t,r,n,{includeGroups:i=!1,respectHiddenCollabs:o=!1}={})=>{n&&""!==n.trim()&&this.getFileCollaborators(e,t,r,{filter_term:n,include_groups:i,include_uploader_collabs:!1,respect_hidden_collabs:o})}))}getUrl(e){if(!e)throw new Error("Missing file id!");return`${this.getBaseApiUrl()}/files/${e}/collaborators`}getFileCollaborators(e,t,r,n={},i=25){this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:n})}};function _s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const As=class extends Ia{constructor(...e){super(...e),_s(this,"getCollaborations",((e,t,r,n={},i=25)=>{this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:n})})),_s(this,"successHandler",(e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)}))}getUrl(e){return`getUrl(${e}) should be overridden`}},Ts=class extends As{getUrl(e){if(!e)throw new Error("Missing file ID!");return`${this.getBaseApiUrl()}/files/${e}/collaborations`}},js=class extends As{getUrl(e){if(!e)throw new Error("Missing folder ID!");return`${this.getBaseApiUrl()}/folders/${e}/collaborations`}};function Is(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ds(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Is(Object(r),!0).forEach((function(t){Ms(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Is(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ms(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Rs=class extends Ji{constructor(...e){super(...e),Ms(this,"addCollaboration",((e,t,r,n)=>{const{id:i}=e;this.post({id:i,data:{data:Ds({item:e},t)},errorCallback:n,successCallback:r,url:this.getUrl()})}))}getUrl(){return`${this.getBaseApiUrl()}/collaborations`}},Fs={appActivityDeleteErrorMessage:{id:"be.api.appActivityDeleteErrorMessage",defaultMessage:"There was an error deleting this item."},commentCreateErrorMessage:{id:"be.api.commentCreateErrorMessage",defaultMessage:"There was an error creating this comment."},commentCreateConflictMessage:{id:"be.api.commentCreateConflictMessage",defaultMessage:"This comment already exists."},commentDeleteErrorMessage:{id:"be.api.commentDeleteErrorMessage",defaultMessage:"There was an error deleting this comment."},commentUpdateErrorMessage:{id:"be.api.commentUpdateErrorMessage",defaultMessage:"This comment could not be modified."},repliesFetchErrorMessage:{id:"be.api.repliesFetchErrorMessage",defaultMessage:"The replies to this comment could not be loaded."},taskActionErrorTitle:{id:"be.api.taskActionErrorTitle",defaultMessage:"Error"},taskApproveErrorMessage:{id:"be.api.taskApproveErrorMessage",defaultMessage:"An error has occurred while approving this task. Please refresh the page and try again."},taskCompleteErrorMessage:{id:"be.api.taskCompleteErrorMessage",defaultMessage:"An error has occurred while completing this task. Please refresh the page and try again."},taskRejectErrorMessage:{id:"be.api.taskRejectErrorMessage",defaultMessage:"An error has occurred while rejecting this task. Please refresh the page and try again."},taskDeleteErrorMessage:{id:"be.api.taskDeleteErrorMessage",defaultMessage:"There was an error while deleting this task. Please refresh the page and try again."},taskCreateErrorMessage:{id:"be.api.taskCreateErrorMessage",defaultMessage:"An error occurred while creating this task. Please try again."},taskGroupExceedsLimitWarningMessage:{id:"be.api.taskGroupExceedsWarningTitle",defaultMessage:"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group."}};function Ls(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ns(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ls(Object(r),!0).forEach((function(t){Us(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ls(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Us(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Bs extends Ia{constructor(...e){super(...e),Us(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return e.type&&"comment"===e.type?void this.successCallback(Fa(e)):void this.successCallback(this.formatReplies(e));if(e.entries.length&&"comment"===e.entries[0].type){const t=e.entries.map(Fa);return void this.successCallback(Ns(Ns({},e),{},{entries:t}))}const t=e.entries.map(this.formatReplies);this.successCallback(Ns(Ns({},e),{},{entries:t}))}))}formatReplies(e){return e.replies&&e.replies.length?Ns(Ns({},e),{},{replies:e.replies.map(Fa)}):e}getUrl(){return`${this.getBaseApiUrl()}/undoc/annotations`}getUrlForId(e){return`${this.getUrl()}/${e}`}getUrlWithRepliesForId(e){return`${this.getUrlForId(e)}/replies`}createAnnotation(e,t,r,n,i,o){this.errorCode="create_annotation_error";try{this.checkApiCallValidity(ne,n,e)}catch(e){return void o(e,this.errorCode)}const a={description:{type:"reply"},file_version:{id:t,type:"file_version"}};this.post({id:e,data:{data:di()(a,r)},errorCallback:o,successCallback:i,url:this.getUrl()})}updateAnnotation(e,t,r,n,i,o){this.errorCode="edit_annotation_error";const{message:a,status:s}=n;if(a)try{this.checkApiCallValidity(oe,r,e)}catch(e){return void o(e,this.errorCode)}if(s)try{this.checkApiCallValidity(ae,r,e)}catch(e){return void o(e,this.errorCode)}this.put({id:e,data:{data:{description:a?{message:a}:void 0,status:s}},errorCallback:o,successCallback:i,url:this.getUrlForId(t)})}deleteAnnotation(e,t,r,n,i){this.errorCode="delete_annotation_error";try{this.checkApiCallValidity(ie,r,e)}catch(e){return void i(e,this.errorCode)}this.delete({id:e,errorCallback:i,successCallback:n,url:this.getUrlForId(t)})}getAnnotation(e,t,r,n,i,o){this.errorCode="fetch_annotation_error";try{this.checkApiCallValidity(le,r,e)}catch(e){return void i(e,this.errorCode)}const a=o?{params:{fields:"replies"}}:void 0;this.get({id:e,errorCallback:i,successCallback:n,url:this.getUrlForId(t),requestData:a})}getAnnotations(e,t,r,n,i,o,a,s){this.errorCode="fetch_annotations_error";try{this.checkApiCallValidity(le,r,e)}catch(e){return void i(e,this.errorCode)}const l=Ns({file_id:e,file_version_id:t},s?{fields:"replies"}:null);this.markerGet({id:e,errorCallback:i,limit:o,requestData:l,shouldFetchAll:a,successCallback:n})}getAnnotationReplies(e,t,r,n,i){this.errorCode=pe;try{this.checkApiCallValidity(le,r,e)}catch(e){return void i(e,this.errorCode)}this.get({id:e,errorCallback:i,successCallback:n,url:this.getUrlWithRepliesForId(t)})}createAnnotationReply(e,t,r,n,i,o){this.errorCode=ve;try{this.checkApiCallValidity(ne,r,e)}catch(e){return void o(e,this.errorCode)}this.post({id:e,data:{data:{message:n}},errorCallback:o,successCallback:i,url:`${this.getUrlWithRepliesForId(t)}?file_id=${e}`})}}function Hs(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Vs=class extends Ia{constructor(...e){super(...e),Hs(this,"permissions",{}),Hs(this,"mapAppActivityItem",(e=>{const{activity_template:t,app:r,created_by:n,id:i,occurred_at:o,rendered_text:a,type:s}=e,{can_delete:l}=this.permissions;return{activity_template:t,app:r,created_at:o,created_by:n,id:i,permissions:{can_delete:l},rendered_text:a,type:s}})),Hs(this,"successHandler",(({entries:e=[]})=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;const t=e.map(this.mapAppActivityItem);this.successCallback({entries:t,total_count:t.length})})),Hs(this,"errorHandler",(e=>{if(this.isDestroyed()&&"function"!=typeof this.errorCallback)return;const{response:t}=e;404===t.status?this.successHandler({entries:[],total_count:0}):this.errorCallback(e,t.status)}))}getUrl(){return`${this.getBaseApiUrl()}/app_activities`}getDeleteUrl(e){if(!e)throw new Error("Missing file id!");return`${this.getUrl()}/${e}`}getAppActivity(e,t,r,n){const i={item_id:e,item_type:"file",fields:_o.toString()};this.permissions=t,this.markerGet({id:e,successCallback:r,errorCallback:n,requestData:i})}deleteAppActivity({id:e,appActivityId:t,successCallback:r,errorCallback:n}){this.errorCode="delete_app_activity_error",this.delete({id:e,url:this.getDeleteUrl(t),successCallback:r,errorCallback:n})}},zs=({restored_at:e,trashed_at:t,version_promoted:r})=>{let n=Be;return t&&(n="delete"),e&&(n="restore"),r&&(n="promote"),n};function $s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$s(Object(r),!0).forEach((function(t){Gs(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Gs(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ws=m;function Zs(e){return e?e.reduce(((e,t)=>{const r=e.pop();if(!r)return e.concat([t]);if(t.type===Ws&&r.type===Ws&&zs(t)===Be&&zs(r)===Be){const{modified_by:n,versions:i=[r],version_start:o=parseInt(r.version_number,10),version_end:a=parseInt(r.version_number,10)}=r,s=n||He,{modified_by:l,created_at:c,trashed_at:u,id:d,version_number:h}=t,f=parseInt(h,10),p=r.collaborators||{[s.id]:qs({},s)},m=l||He;return p[m.id]=qs({},m),e.concat([{collaborators:p,created_at:c,modified_by:m,trashed_at:u,id:d,type:Ws,version_number:h,versions:i.concat([t]),version_start:Math.min(o,f),version_end:Math.max(a,f)}])}return e.concat([r,t])}),[]):[]}const Xs=["replies"],Ks=["replies"],Qs=["replies","total_reply_count"],Ys=["replies","total_reply_count"];function Js(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function el(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Js(Object(r),!0).forEach((function(t){tl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Js(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tl(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rl(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}const nl=qe,il=e=>[...e].map((e=>el(el({},e),{},{tagged_message:e.tagged_message||e.message||""}))),ol=class extends Ji{constructor(e){super(e),tl(this,"updateAnnotation",((e,t,r,n,i,o,a)=>{if(!e.id)throw qi();if(!r&&!n)throw Zi();this.annotationsAPI=new Bs(this.options),this.file=e,this.errorCallback=a;const s={};r&&(s.message=r),n&&(s.status=n),this.updateFeedItem(el(el({},s),{},{isPending:!0}),t),this.annotationsAPI.updateAnnotation(this.file.id,t,i,s,(e=>{const{replies:r,total_reply_count:n}=e,i=rl(e,Qs);this.updateFeedItem(el(el({},i),{},{isPending:!1}),t),this.isDestroyed()||o(e)}),((e,r)=>{this.updateCommentErrorCallback(e,r,t)}))})),tl(this,"updateCommentErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(Fs.commentUpdateErrorMessage),r),this.feedErrorCallback(!0,e,t)})),tl(this,"updateReplyErrorCallback",((e,t,r,n)=>{this.updateReplyItem(this.createFeedError(Fs.commentUpdateErrorMessage),n,r),this.feedErrorCallback(!0,e,t)})),tl(this,"fetchRepliesErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(Fs.repliesFetchErrorMessage),r),this.feedErrorCallback(!0,e,t)})),tl(this,"deleteAnnotation",((e,t,r,n,i)=>{if(this.annotationsAPI=new Bs(this.options),!e.id)throw qi();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t),this.annotationsAPI.deleteAnnotation(this.file.id,t,r,this.deleteFeedItem.bind(this,t,n),((e,r)=>{this.deleteCommentErrorCallback(e,r,t)}))})),tl(this,"fetchThreadedCommentSuccessCallback",((e,t,r)=>{t(r),e()})),tl(this,"updateTaskCollaborator",((e,t,r,n,i,o)=>{if(!e.id)throw qi();this.file=e,this.errorCallback=o,this.updateFeedItem({isPending:!0},t);const a=new Oa(this.options);this.taskCollaboratorsAPI.push(a);const s={id:r,status:n},l=(e,r)=>{let i;switch(n){case"APPROVED":i=Fs.taskApproveErrorMessage;break;case"COMPLETED":default:i=Fs.taskCompleteErrorMessage;break;case"REJECTED":i=Fs.taskRejectErrorMessage}this.updateFeedItem(this.createFeedError(i,Fs.taskActionErrorTitle),t),this.feedErrorCallback(!0,e,r)};a.updateTaskCollaborator({file:e,taskCollaborator:s,successCallback:r=>{this.updateTaskCollaboratorSuccessCallback(t,e,r,i,l)},errorCallback:l})})),tl(this,"updateTaskCollaboratorSuccessCallback",((e,t,r,n,i)=>{this.tasksNewAPI=new wa(this.options),this.tasksNewAPI.getTask({id:e,file:t,successCallback:t=>{this.updateFeedItem(el(el({},t),{},{isPending:!1}),e),n(r)},errorCallback:i})})),tl(this,"updateTaskNew",(async(e,t,r=ot(),n=ot())=>{if(!e.id)throw qi();this.file=e,this.errorCallback=n,this.tasksNewAPI=new wa(this.options),this.updateFeedItem({isPending:!0},t.id);try{const n=t.addedAssignees.filter((e=>e.item&&"group"===e.item.type)).map((e=>e.id)).map((t=>new ts(this.options).getGroupCount({file:e,group:{id:t}}))),i=(await Promise.all(n)).some((e=>e.total_count>250)),o={code:Oe,type:"warning"};if(i)return void this.feedErrorCallback(!1,o,Oe);await new Promise(((r,n)=>{this.tasksNewAPI.updateTaskWithDeps({file:e,task:t,successCallback:r,errorCallback:n})})),await new Promise(((r,n)=>{this.tasksNewAPI.getTask({file:e,id:t.id,successCallback:e=>{this.updateFeedItem(el(el({},e),{},{isPending:!1}),t.id),r()},errorCallback:e=>{this.updateFeedItem({isPending:!1},t.id),this.feedErrorCallback(!1,e,Pe),n()}})})),this.isDestroyed()||r()}catch(e){this.updateFeedItem({isPending:!1},t.id),this.feedErrorCallback(!1,e,Pe)}})),tl(this,"deleteComment",((e,t,r,n,i)=>{if(this.commentsAPI=new ca(this.options),!e.id)throw qi();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t),this.commentsAPI.deleteComment({file:e,commentId:t,permissions:r,successCallback:this.deleteFeedItem.bind(this,t,n),errorCallback:(e,r)=>{this.deleteCommentErrorCallback(e,r,t)}})})),tl(this,"deleteThreadedComment",((e,t,r,n,i)=>{if(!e.id)throw qi();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t),this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.deleteComment({fileId:e.id,commentId:t,permissions:r,successCallback:this.deleteFeedItem.bind(this,t,n),errorCallback:(e,r)=>{this.deleteCommentErrorCallback(e,r,t)}})})),tl(this,"deleteReply",((e,t,r,n,i,o)=>{if(!e.id)throw qi();this.file=e,this.errorCallback=o,this.updateReplyItem({isPending:!0},r,t),this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.deleteComment({fileId:e.id,commentId:t,permissions:n,successCallback:this.deleteReplySuccessCallback.bind(this,t,r,i),errorCallback:(e,n)=>{this.deleteReplyErrorCallback(e,n,t,r)}})})),tl(this,"deleteReplySuccessCallback",((e,t,r)=>{this.modifyFeedItemRepliesCountBy(t,-1),this.deleteReplyItem(e,t,r)})),tl(this,"deleteCommentErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(Fs.commentDeleteErrorMessage),r),this.feedErrorCallback(!0,e,t)})),tl(this,"deleteReplyErrorCallback",((e,t,r,n)=>{this.updateReplyItem(this.createFeedError(Fs.commentDeleteErrorMessage),n,r),this.feedErrorCallback(!0,e,t)})),tl(this,"createTaskNew",((e,t,r,n,i,o,a,s,l)=>{if(!e.id)throw qi();this.file=e,this.errorCallback=l;const c=nt()("task_");let u;o&&(u=new Date(o).toISOString());const d={created_by:{type:"task_collaborator",target:t,id:nt()(),role:"CREATOR",status:nl},completion_rule:a,created_at:(new Date).toISOString(),due_at:u,id:c,description:r,type:"task",assigned_to:{entries:n.map((e=>({id:nt()(),target:el(el({},e),{},{avatar_url:"",type:"user"}),status:nl,permissions:{can_delete:!1,can_update:!1},role:"ASSIGNEE",type:"task_collaborator"}))),limit:10,next_marker:null},permissions:{can_update:!1,can_delete:!1,can_create_task_collaborator:!1,can_create_task_link:!1},task_links:{entries:[{id:nt()(),type:"task_link",target:el({type:"file"},e),permissions:{can_delete:!1,can_update:!1}}],limit:1,next_marker:null},task_type:i,status:qe},h={description:r,due_at:u,task_type:i,completion_rule:a},f=n.filter((e=>"group"===(e.item&&e.item.type))).map((e=>e.id)).map((t=>new ts(this.options).getGroupCount({file:e,group:{id:t}})));Promise.all(f).then((r=>{const i=r.some((e=>e.total_count>250)),o={code:Oe,type:"warning"};i?this.feedErrorCallback(!1,o,Oe):(this.tasksNewAPI=new wa(this.options),this.tasksNewAPI.createTaskWithDeps({file:e,task:h,assignees:n,successCallback:e=>{this.addPendingItem(this.file.id,t,d),this.updateFeedItem(el(el({},e),{},{task_links:{entries:e.task_links,next_marker:null,limit:1},assigned_to:{entries:e.assigned_to,next_marker:null,limit:e.assigned_to.length},isPending:!1}),c),s(e)},errorCallback:(e,t)=>{this.feedErrorCallback(!1,e,t)}}))})).catch((e=>{this.feedErrorCallback(!1,e,we)}))})),tl(this,"deleteTaskNew",((e,t,r=ot(),n=ot())=>{if(!e.id)throw qi();this.file=e,this.errorCallback=n,this.tasksNewAPI=new wa(this.options),this.updateFeedItem({isPending:!0},t.id),this.tasksNewAPI.deleteTask({file:e,task:t,successCallback:this.deleteFeedItem.bind(this,t.id,r),errorCallback:(e,r)=>{this.updateFeedItem(this.createFeedError(Fs.taskDeleteErrorMessage),t.id),this.feedErrorCallback(!0,e,r)}})})),tl(this,"deleteFeedItem",((e,t=ot())=>{const r=this.getCachedItems(this.file.id);if(r){const n=r.items.filter((t=>t.id!==e));this.setCachedItems(this.file.id,n),this.isDestroyed()||t(e)}})),tl(this,"deleteReplyItem",((e,t,r=ot())=>{const n=(this.getCachedItems(this.file.id)||{items:[],errors:[]}).items.map((r=>r.id!==t?r:r.type===f||r.type===p?((e,t)=>{const{replies:r=[]}=e,n=rl(e,Xs);return el({replies:r.filter((({id:e})=>e!==t))},n)})(r,e):r));this.setCachedItems(this.file.id,n),this.isDestroyed()||r(e,t)})),tl(this,"feedErrorCallback",((e=!1,t,r)=>{e&&this.errors.push(el(el({},t),{},{code:r})),!this.isDestroyed()&&this.errorCallback&&this.errorCallback(t,r,{error:t,[Ae]:e}),console.error(t)})),tl(this,"addPendingItem",((e,t,r)=>{if(!t)throw Wi();const n=(new Date).toISOString(),i=el({created_at:n,created_by:t,modified_at:n,isPending:!0},r),o=this.getCachedItems(this.file.id),a=[...o?o.items:[],i];return this.setCachedItems(e,a),i})),tl(this,"addPendingReply",((e,t,r)=>{if(!this.file.id)throw qi();if(!t)throw Wi();const n=(new Date).toISOString(),i=el({created_at:n,created_by:t,modified_at:n,isPending:!0},r),o=this.getCachedItems(this.file.id);if(o){const t=o.items.map((t=>t.id===e&&t.type===p||t.id===e&&t.type===f?((e,t)=>{const{replies:r=[]}=e;return el({replies:[...r,t]},rl(e,Ks))})(t,i):t));this.setCachedItems(this.file.id,t)}return i})),tl(this,"createCommentSuccessCallback",((e,t,r)=>{const{message:n="",tagged_message:i=""}=e;e.tagged_message=i||n,this.updateFeedItem(el(el({},e),{},{isPending:!1}),t),this.isDestroyed()||r(e)})),tl(this,"createCommentErrorCallback",((e,t,r)=>{const n=409===e.status?Fs.commentCreateConflictMessage:Fs.commentCreateErrorMessage;this.updateFeedItem(this.createFeedError(n),r),this.feedErrorCallback(!1,e,t)})),tl(this,"createReplySuccessCallback",((e,t,r,n)=>{this.updateReplyItem(el(el({},e),{},{isPending:!1}),t,r),this.isDestroyed()||n(e)})),tl(this,"createReplyErrorCallback",((e,t,r,n)=>{const i=409===e.status?Fs.commentCreateConflictMessage:Fs.commentCreateErrorMessage;this.updateReplyItem(this.createFeedError(i),r,n),this.feedErrorCallback(!1,e,t)})),tl(this,"updateFeedItem",((e,t)=>{if(!this.file.id)throw qi();const r=this.getCachedItems(this.file.id);if(r){const n=r.items.map((r=>r.id===t?el(el({},r),e):r));return this.setCachedItems(this.file.id,n),n}return null})),tl(this,"updateReplyItem",((e,t,r)=>{if(!this.file.id)throw qi();const n=this.getCachedItems(this.file.id);if(n){const i=n.items.map((n=>n.id===t&&n.type===p||n.id===t&&n.type===f?((e,t,r)=>{const n=el({},e);return n.replies&&(n.replies=n.replies.map((e=>e.id===t?el(el({},e),r):e))),n})(n,r,e):n));this.setCachedItems(this.file.id,i)}})),tl(this,"createComment",((e,t,r,n,i,o)=>{const a=nt()("comment_"),s={id:a,tagged_message:r,type:p};if(!e.id)throw qi();this.file=e,this.errorCallback=o,this.addPendingItem(this.file.id,t,s);const l={};n?l.taggedMessage=r:l.message=r,this.commentsAPI=new ca(this.options),this.commentsAPI.createComment(el(el({file:e},l),{},{successCallback:e=>{this.createCommentSuccessCallback(e,a,i)},errorCallback:(e,t)=>{this.createCommentErrorCallback(e,t,a)}}))})),tl(this,"createThreadedComment",((e,t,r,n,i)=>{if(!e.id)throw qi();const o=nt()("comment_"),a={id:o,tagged_message:r,type:p};this.file=e,this.errorCallback=i,this.addPendingItem(this.file.id,t,a),this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.createComment({file:e,message:r,successCallback:e=>{this.createCommentSuccessCallback(e,o,n)},errorCallback:(e,t)=>{this.createCommentErrorCallback(e,t,o)}})})),tl(this,"updateComment",((e,t,r,n,i,o,a)=>{const s={tagged_message:r};if(!e.id)throw qi();this.file=e,this.errorCallback=a,this.updateFeedItem(el(el({},s),{},{isPending:!0}),t);const l={};n?l.tagged_message=r:l.message=r,this.commentsAPI=new ca(this.options),this.commentsAPI.updateComment(el(el({file:e,commentId:t,permissions:i},l),{},{successCallback:e=>{this.updateFeedItem(el(el({},l),{},{isPending:!1}),t),this.isDestroyed()||o(e)},errorCallback:(e,r)=>{this.updateCommentErrorCallback(e,r,t)}}))})),tl(this,"updateThreadedComment",((e,t,r,n,i,o,a)=>{if(!e.id)throw qi();if(!r&&!n)throw Zi();const s={};r&&(s.tagged_message=r),n&&(s.status=n),this.file=e,this.errorCallback=a,this.updateFeedItem(el(el({},s),{},{isPending:!0}),t),this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.updateComment({fileId:e.id,commentId:t,permissions:i,message:r,status:n,successCallback:e=>{const{replies:r,total_reply_count:n}=e,i=rl(e,Ys);this.updateFeedItem(el(el({},i),{},{isPending:!1}),t),this.isDestroyed()||o(e)},errorCallback:(e,r)=>{this.updateCommentErrorCallback(e,r,t)}})})),tl(this,"updateReply",((e,t,r,n,i,o,a)=>{if(!e.id)throw qi();this.file=e,this.errorCallback=a,this.updateReplyItem({tagged_message:n,isPending:!0},r,t),this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.updateComment({fileId:e.id,commentId:t,permissions:i,message:n,undefined:void 0,successCallback:e=>{this.updateReplyItem(el(el({},e),{},{isPending:!1}),r,t),this.isDestroyed()||o(e)},errorCallback:(e,n)=>{this.updateReplyErrorCallback(e,n,t,r)}})})),tl(this,"modifyFeedItemRepliesCountBy",((e,t)=>{if(!this.file.id)throw qi();const{items:r=[]}=this.getCachedItems(this.file.id)||{},n=r.find((({id:t})=>t===e));if(!n||"annotation"!==n.type&&"comment"!==n.type)return;const i=(n.total_reply_count||0)+t;i>=0&&this.updateFeedItem({total_reply_count:i},e)})),tl(this,"deleteAppActivity",((e,t,r,n)=>{const{id:i}=e;if(!i)throw qi();this.appActivityAPI=new Vs(this.options),this.file=e,this.errorCallback=n,this.updateFeedItem({isPending:!0},t),this.appActivityAPI.deleteAppActivity({id:i,appActivityId:t,successCallback:this.deleteFeedItem.bind(this,t,r),errorCallback:(e,r)=>{this.deleteAppActivityErrorCallback(e,r,t)}})})),tl(this,"deleteAppActivityErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(Fs.appActivityDeleteErrorMessage),r),this.feedErrorCallback(!0,e,t)})),this.taskCollaboratorsAPI=[],this.taskLinksAPI=[],this.errors=[]}addAnnotation(e,t,r,n,i){if(!e.id)throw qi();if(this.file=e,i){const e=el(el({},r),{},{created_by:t,id:n,type:f});this.addPendingItem(this.file.id,t,e)}else this.updateFeedItem(el(el({},r),{},{isPending:!1}),n)}getCacheKey(e){return`feedItems_${e}`}getCachedItems(e){const t=this.getCache(),r=this.getCacheKey(e);return t.get(r)}setCachedItems(e,t){const r=this.getCache(),n=this.getCacheKey(e);r.set(n,{errors:this.errors,items:t})}feedItems(e,t,r,n,i,{shouldShowAnnotations:o=!1,shouldShowAppActivity:a=!1,shouldShowReplies:s=!1,shouldShowTasks:l=!0,shouldShowVersions:c=!0,shouldUseUAA:u=!1}={},d){const{id:h,permissions:f={}}=e,p=this.getCachedItems(h);if(p){const{errors:e,items:i}=p;if(e.length?n(i,e):r(i),!t)return}this.file=e,this.errors=[],this.errorCallback=i;const b=o?this.fetchAnnotations(f,s):Promise.resolve(),g=l?this.fetchTasksNew():Promise.resolve(),y=a?this.fetchAppActivity(f):Promise.resolve(),v=c?this.fetchVersions():Promise.resolve(),w=c?this.fetchCurrentVersion():Promise.resolve(),E=o&&f[le]?[Ge]:[],S=l?[Xe]:[],x=c?[Ke]:[],O=[...E,...a?[We]:[],...f[re]?[Ze]:[],...S,...x],P=u&&O.length?this.fetchFileActivities(f,O,s):Promise.resolve(),C=e=>{this.isDestroyed()||(this.setCachedItems(h,e),this.errors.length?n(e,this.errors):r(e))},k=[v,w,(()=>s?this.fetchThreadedComments(f):this.fetchComments(f))(),g,y,b],_=async e=>Promise.all(e).then((([e,t,...r])=>function(...e){return e.reduce(((e,t)=>t?e.concat(t.entries):e),[]).sort(((e,t)=>Date.parse(e.created_at)-Date.parse(t.created_at)))}(t?this.versionsAPI.addCurrentVersion(t,e,this.file):void 0,...r)));u?P.then((e=>{const t=((e,t={})=>e&&e.entries&&e.entries.length?e.entries.map((e=>{if(!e.source)return null;const r=el({},e.source);switch(e.activity_type){case Xe:{const e=el({},r[Xe]);if(e.assigned_to?.entries){const t=e.assigned_to.entries.map((e=>{const t=el({},e);return t.role=e.role.toUpperCase(),t.status=e.status.toUpperCase(),t}));e.assigned_to.entries=t}return e.completion_rule&&(e.completion_rule=e.completion_rule.toUpperCase()),e.status&&(e.status=e.status.toUpperCase()),e.task_type&&(e.task_type=e.task_type.toUpperCase()),e.created_by={target:e.created_by},e}case Ze:{const e=el({},r[Ze]);if(e.replies&&e.replies.length){const t=il(e.replies);e.replies=t}return e.tagged_message=e.tagged_message||e.message||"",e}case Ge:{const e=el({},r[Ge]);if(e.replies&&e.replies.length){const t=il(e.replies);e.replies=t}return e}case We:{const e=el({},r[We]),{can_delete:n}=t;return e.created_at=e.occurred_at,e.permissions={can_delete:n},e}case Ke:{const e=el({},r[Ke]);if(e.type=m,e.action_by){const t={};e.action_by.map((e=>(t[e.id]=el({},e),e))),e.collaborators=t}return e.end?.number&&(e.version_end=e.end.number,e.id=e.end.id),e.start?.number&&(e.version_start=e.start.number),e.version_start===e.version_end&&(e.version_number=e.version_start,e.uploader_display_name=e.start?.uploader_display_name,"created"===e.action_type&&e.start?.created_at&&e.start?.created_by&&(e.modified_at=e.start.created_at,e.modified_by=el({},e.start.created_by)),"trashed"===e.action_type&&e.start?.trashed_at&&e.start?.trashed_by&&(e.trashed_at=e.start.trashed_at,e.trashed_by=el({},e.start.trashed_by)),"restored"===e.action_type&&e.start?.restored_at&&e.start?.restored_by&&(e.restored_at=e.start.restored_at,e.restored_by=el({},e.start.restored_by)),"promoted"===e.action_type&&e.start?.promoted_from&&e.start?.promoted_by&&(e.version_promoted=e.start?.promoted_from,e.promoted_by=el({},e.start?.promoted_by))),e}default:return null}})).filter((e=>!!e)).reverse():[])(e,f);(async(e,t)=>{_(k).then((r=>{const n=Zs(r),i=Zs(e);d&&d({uaaResponse:t,uaaFeedItems:i,v2FeedItems:n})}))})(t,e),C(t)})):_(k).then((e=>{C(e)}))}fetchAnnotations(e,t){return this.annotationsAPI=new Bs(this.options),new Promise((r=>{this.annotationsAPI.getAnnotations(this.file.id,void 0,e,r,this.fetchFeedItemErrorCallback.bind(this,r),void 0,void 0,t)}))}fetchComments(e){return this.commentsAPI=new ca(this.options),new Promise((t=>{this.commentsAPI.getComments(this.file.id,e,t,this.fetchFeedItemErrorCallback.bind(this,t))}))}fetchThreadedComment(e,t,r,n){const{id:i,permissions:o}=e;if(!i||!o)throw qi();return this.threadedCommentsAPI=new Ha(this.options),new Promise((e=>{this.threadedCommentsAPI.getComment({commentId:t,errorCallback:n,fileId:i,permissions:o,successCallback:this.fetchThreadedCommentSuccessCallback.bind(this,e,r)})}))}fetchThreadedComments(e){return this.threadedCommentsAPI=new Ha(this.options),new Promise((t=>{this.threadedCommentsAPI.getComments({errorCallback:this.fetchFeedItemErrorCallback.bind(this,t),fileId:this.file.id,permissions:e,successCallback:t})}))}fetchFileActivities(e,t,r=!1){return this.fileActivitiesAPI=new Ga(this.options),new Promise((n=>{this.fileActivitiesAPI.getActivities({errorCallback:this.fetchFeedItemErrorCallback.bind(this,n),fileID:this.file.id,permissions:e,successCallback:n,activityTypes:t,shouldShowReplies:r})}))}fetchReplies(e,t,r,n,i){const{id:o,permissions:a}=e;if(!o||!a)throw qi();this.file=e,this.errorCallback=i,this.updateFeedItem({isRepliesLoading:!0},t);const s=({entries:e})=>{this.updateFeedItem({isRepliesLoading:!1,replies:e,total_reply_count:e.length},t),n(e)},l=(e,r)=>{this.fetchRepliesErrorCallback(e,r,t)};r===f?(this.annotationsAPI=new Bs(this.options),this.annotationsAPI.getAnnotationReplies(e.id,t,a,s,l)):r===p&&(this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.getCommentReplies({fileId:e.id,commentId:t,permissions:a,successCallback:s,errorCallback:l}))}fetchVersions(){return this.versionsAPI=new oa(this.options),new Promise((e=>{this.versionsAPI.getVersions(this.file.id,e,this.fetchFeedItemErrorCallback.bind(this,e),void 0,void 0,Po)}))}fetchCurrentVersion(){return this.versionsAPI=new oa(this.options),new Promise((e=>{const{file_version:t={}}=this.file;this.versionsAPI.getVersion(this.file.id,t.id,e,this.fetchFeedItemErrorCallback.bind(this,e))}))}fetchTasksNew(){return this.tasksNewAPI=new wa(this.options),new Promise((e=>{this.tasksNewAPI.getTasksForFile({file:{id:this.file.id},successCallback:e,errorCallback:(t,r)=>this.fetchFeedItemErrorCallback(e,t,r)})}))}fetchFeedItemErrorCallback(e,t,r){const{status:n}=t,i=Xi(n);this.feedErrorCallback(i,t,r),e()}createTaskCollaboratorsforGroup(e,t,r){if(!e.id)throw qi();return this.file=e,new Promise(((n,i)=>{const o=new Oa(this.options);this.taskCollaboratorsAPI.push(o),o.createTaskCollaboratorsforGroup({file:e,task:t,group:r,successCallback:n,errorCallback:e=>{i(e)}})}))}createTaskCollaborator(e,t,r){if(!e.id)throw qi();return this.file=e,new Promise(((n,i)=>{const o=new Oa(this.options);this.taskCollaboratorsAPI.push(o),o.createTaskCollaborator({file:e,task:t,user:r,successCallback:n,errorCallback:e=>{i(e)}})}))}deleteTaskCollaborator(e,t,r){if(!e.id)throw qi();return this.file.id=e.id,new Promise(((n,i)=>{const o=new Oa(this.options);this.taskCollaboratorsAPI.push(o),o.deleteTaskCollaborator({file:e,task:t,taskCollaborator:{id:r.id},successCallback:n,errorCallback:e=>{i(e)}})}))}createTaskLink(e,t){if(!e.id)throw qi();return this.file=e,new Promise(((r,n)=>{const i=new _a(this.options);this.taskLinksAPI.push(i),i.createTaskLink({file:e,task:t,successCallback:r,errorCallback:n})}))}createFeedError(e,t=Wn.errorOccured){return{error:{message:e,title:t}}}createReply(e,t,r,n,i,o,a){const{id:s,permissions:l}=e;if(!s||!l)throw qi();const c=nt()("comment_"),u={id:c,tagged_message:i,type:p};this.file=e,this.errorCallback=a,this.addPendingReply(r,t,u),this.modifyFeedItemRepliesCountBy(r,1);const d=e=>{this.createReplySuccessCallback(e,r,c,o)},h=(e,t)=>{this.createReplyErrorCallback(e,t,r,c)};n===f?(this.annotationsAPI=new Bs(this.options),this.annotationsAPI.createAnnotationReply(e.id,r,l,i,d,h)):n===p&&(this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI.createCommentReply({fileId:e.id,commentId:r,permissions:l,message:i,successCallback:d,errorCallback:h}))}destroyTaskCollaborators(){Array.isArray(this.taskCollaboratorsAPI)&&(this.taskCollaboratorsAPI.forEach((e=>e.destroy())),this.taskCollaboratorsAPI=[])}destroyTaskLinks(){Array.isArray(this.taskLinksAPI)&&(this.taskLinksAPI.forEach((e=>e.destroy())),this.taskLinksAPI=[])}fetchAppActivity(e){return this.appActivityAPI=new Vs(this.options),new Promise((t=>{this.appActivityAPI.getAppActivity(this.file.id,e,t,this.fetchFeedItemErrorCallback.bind(this,t))}))}destroy(){super.destroy(),this.annotationsAPI&&(this.annotationsAPI.destroy(),delete this.annotationsAPI),this.commentsAPI&&(this.commentsAPI.destroy(),delete this.commentsAPI),this.threadedCommentsAPI&&(this.threadedCommentsAPI.destroy(),delete this.threadedCommentsAPI),this.versionsAPI&&(this.versionsAPI.destroy(),delete this.versionsAPI),this.appActivityAPI&&(this.appActivityAPI.destroy(),delete this.appActivityAPI),this.tasksNewAPI&&(this.tasksNewAPI.destroy(),delete this.tasksNewAPI),this.destroyTaskCollaborators(),this.destroyTaskLinks()}},al=class extends Ji{getUrl(e){if(!e)throw new Error("Missing app integration id!");return`${this.getBaseApiUrl()}/app_integrations/${e}`}execute(e,t,r,n){if(!e)throw new Error("Missing integration id!");if(!t)throw new Error("Missing file id!");this.errorCode=ge;const i=`${this.getUrl(e)}/execute`,o={data:{item:{id:t,type:d}}};this.post({id:t,url:i,data:o,successCallback:r,errorCallback:n})}},sl=class extends Ji{getUrl(e){if(!e)throw new Error("Missing file id!");return`${this.getBaseApiUrl()}/files/${e}/open_with_integrations`}getOpenWithIntegrations(e,t,r){this.errorCode="fetch_integrations_error",this.get({id:e,successCallback:e=>{const r=this.formatOpenWithData(e),n=this.consolidateBoxEditIntegrations(r);t(n)},errorCallback:r})}consolidateBoxEditIntegrations(e){let t=[...e];return e.some((e=>e.appIntegrationId===Ve))&&(t=e.filter((e=>e.appIntegrationId!==ze))),t}formatOpenWithData(e){const{items:t,default_app_integration:r}=e;return t.map((({app_integration:e,disabled_reasons:t,display_name:n,display_description:i,display_order:o,is_disabled:a,should_show_consent_popup:s})=>{const{id:l,type:c}=e;return{appIntegrationId:l,displayDescription:i,disabledReasons:t||[],displayOrder:o,isDefault:!!r&&l===r.id,isDisabled:a,displayName:n,requiresConsent:s,type:c}})).sort(((e,t)=>e.displayOrder-t.displayOrder))}};const ll=class extends Ji{constructor(...e){var t,r,n;super(...e),t=this,n=({data:e})=>{this.getCache().set(this.key,e),this.finish()},(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(r="queryMetadataSuccessHandler"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}getCacheKey(e){return`metadata_query_${e}`}getUrl(){return`${this.getBaseApiUrl()}/metadata_queries/execute_read`}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache().get(this.key);this.successCallback(e)}queryMetadataRequest(e){this.isDestroyed()||(this.errorCode="metadata_query_error",this.xhr.post({url:this.getUrl(),data:e}).then(this.queryMetadataSuccessHandler).catch(this.errorHandler))}queryMetadata(e,t,r,n={}){if(this.isDestroyed())return;const{context:i={}}=n;this.key=this.getCacheKey(i.id),this.successCallback=t,this.errorCallback=r,n.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.queryMetadataRequest(e)}},cl={CHROME:"Chrome",EDGE:"Edge",FIREFOX:"Firefox",MAC:"Mac",SAFARI:"Safari",IE:"Explorer"},ul=[{key:"userAgent",subString:cl.EDGE,identity:cl.EDGE},{key:"userAgent",subString:cl.CHROME,identity:cl.CHROME},{key:"userAgent",subString:"criOS",identity:cl.CHROME,versionSearch:"criOS"},{key:"vendor",subString:"Apple",identity:cl.SAFARI,versionSearch:"Version"},{key:"userAgent",subString:cl.FIREFOX,identity:cl.FIREFOX},{key:"userAgent",subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{key:"userAgent",subString:"Trident",identity:"Explorer",versionSearch:"rv"},{key:"userAgent",subString:"Gecko",identity:"Mozilla",versionSearch:"rv"}],dl=[{key:"platform",subString:"Win",identity:"Windows"},{key:"userAgent",subString:"iPod",identity:"iOS",device:"iPod"},{key:"userAgent",subString:"iPhone",identity:"iOS",device:"iPhone"},{key:"userAgent",subString:"iPad",identity:"iOS",device:"iPad"},{key:"platform",subString:cl.MAC,identity:cl.MAC},{key:"userAgent",subString:"Android",identity:"Android"},{key:"platform",subString:"Linux",identity:"Linux"}];function hl(e,t){let r,n=null,i=null,o="";for(let a=0,s=t.length;a<s;a+=1)if(r=e[t[a].key],o=t[a].versionSearch||t[a].identity,r&&-1!==r.indexOf(t[a].subString)){n=t[a].identity,i=t[a].device;break}return{identity:n,device:i,versionSearchString:o}}function fl(e,t){const r=e.indexOf(t);if(-1===r)return"";const n=e.substring(r+t.length+1).match(/[0-9]+(?:\.[0-9]*)?/);return n&&n.length?n[0]:""}const pl=new class{constructor(){const{navigator:e}=window,t=hl(e,ul),r=hl(e,dl);this.browser=t.identity||"unknown",this.version=fl(e.userAgent,t.versionSearchString)||fl(e.appVersion,t.versionSearchString)||"unknown",this.OS=r.identity||"unknown",this.device=r.device||"unknown"}getName(){return this.browser}getVersion(){return this.version}isMinBrowser(e,t){return this.browser.toLowerCase()===e.toLowerCase()&&parseFloat(this.version)>=parseFloat(t)}isSafari(){return this.browser===cl.SAFARI}isFirefox(){return this.browser===cl.FIREFOX}isChrome(){return this.browser===cl.CHROME}isIE(){return this.browser===cl.IE}isEdge(){return this.browser===cl.EDGE}isIEAndSpecificBrowserPluginSupported(e){return this.isIE()&&function(e){const t=e||"htmlfile";let r=!1;try{if("ActiveXObject"in window){const{ActiveXObject:e}=window;r=!!new e(t)}}catch(e){r=!1}return r}(e)}},ml={SAFARI_CHANNEL_NAME:"safari_channel",SECRET_STORE_COOKIE_NAME:"box-edit-secret-cookie-name",BOX_EDIT_APP_NAME:"BoxEdit",BOX_EDIT_NOT_SUPPORTED_ERROR:"box_edit_not_supported_error",BOX_EDIT_UNINSTALLED_ERROR:"box_edit_uninstalled_error",BOX_EDIT_UPGRADE_BROWSER_ERROR:"box_edit_upgrade_browser_error",BOX_EDIT_SAFARI_ERROR:"box_edit_safari_error",BOX_EDIT_INSECURE_REQUESTS_UPGRADED_ERROR:"box_edit_insecure_requests_upgraded_error",BOX_TOOLS_PLUGIN_NAME:"Box.BoxTools",BOX_SECURE_LOCAL_BASE_URL:"https://edit.boxlocalhost.com:",BOX_UNSECURE_LOCAL_BASE_URL:"http://127.0.0.1:",ACTIVEX_CHANNEL_NAME:"activex_channel",HTTP_CHANNEL_NAME:"http_channel",HTTPS_CHANNEL_NAME:"https_channel",OPERATION_STATUS:"status",OPERATION_REQUEST:"application_request",OPERATION_COMMAND:"application_command",UNCREATED_STATUS:"uncreated",CREATED_STATUS:"created",ACTIVE_STATUS:"active",HIVE_TABLE_WEBAPP_BOXTOOLS_ANALYTICS:"webapp_boxtools_analytics",KEY_LENGTH:16,KEY_ID_LENGTH:8,IV:"75392C57F66CE7E7EF47110410280DD7",OUTPUT_EVENT:"box_extension_output",REQUEST_ID_PRE:"BOX-EXT-REQ-ID-",REQUEST_TIMEOUT_RESPONSE_CODE:408,EXTENSION_BLACKLIST:{A6P:1,AC:1,AS:1,ACR:1,ACTION:1,AIR:1,APP:1,AWK:1,BAT:1,BOXNOTE:1,CGI:1,CHM:1,CMD:1,COM:1,CSH:1,DEK:1,DLD:1,DS:1,EBM:1,ESH:1,EXE:1,EZS:1,FKY:1,FRS:1,FXP:1,GADGET:1,HMS:1,HTA:1,ICD:1,INX:1,IPF:1,ISU:1,JAR:1,JS:1,JSE:1,JSX:1,KIX:1,LNK:1,LUA:1,MCR:1,MEM:1,MPX:1,MS:1,MSI:1,MST:1,OBS:1,PAF:1,PEX:1,PIF:1,PL:1,PRC:1,PRG:1,PVD:1,PWC:1,PY:1,PYC:1,PYO:1,QPX:1,RBX:1,REG:1,RGS:1,ROX:1,RPJ:1,SCAR:1,SCR:1,SCRIPT:1,SCPT:1,SCT:1,SH:1,SHB:1,SHS:1,SPR:1,TLB:1,TMS:1,U3P:1,UDF:1,URL:1,VB:1,VBE:1,VBS:1,VBSCRIPT:1,WCM:1,WPK:1,WS:1,WSF:1,XQT:1}};function bl(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const gl=class{constructor(e){bl(this,"buildNextRequestID",(()=>`${ml.REQUEST_ID_PRE}${this.window.performance.now()}`)),bl(this,"buildDetailsObj",((e,t,r)=>{const n=r.toString(),i={data:void 0,operation:e,properties:{application:this.appName,timeout:n},req_id:this.buildNextRequestID()};if(e!==ml.OPERATION_STATUS){if(!t)throw new TypeError(`Data cannot be undefined for ${e}`);i.data=t}return i})),this.appName=e,this.window=window}sendCommand(e,t,r){return Promise.resolve("TODO")}sendRequest(e,t,r){return Promise.resolve("TODO")}getComServerStatus(e,t){return Promise.resolve("TODO")}destroy(){}};function yl(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const vl=class extends gl{constructor(e,t){super(e),yl(this,"executeOperation",((e="",t={},r=0,n=0)=>new Promise(((i,o)=>{const a=this.buildDetailsObj(e,t,n),s=setTimeout((()=>{o(new Error({status_code:ml.REQUEST_TIMEOUT_RESPONSE_CODE}))}),r);this.reqIdToPromiseMap.set(a.req_id,{resolve:i,rejectTimeout:s}),this.executeActiveXEvent({detail:a})})))),yl(this,"repairActiveXConnection",(e=>{pl.isIEAndSpecificBrowserPluginSupported(ml.BOX_TOOLS_PLUGIN_NAME)&&(this.retryAttempt>=2||(this.retryAttempt+=1,setTimeout((()=>{this.executeActiveXEvent(e)}),100)))})),yl(this,"executeActiveXEvent",(e=>{const t=this.createActiveXObjectJSRef(),r="ExecuteSync"in t;try{this.isSynchronous&&r?t.ExecuteSync(JSON.stringify(e)):t.Execute(JSON.stringify(e))}catch(t){this.repairActiveXConnection(e)}})),yl(this,"createActiveXObjectJSRef",(()=>{const{ActiveXObject:e}=this.window;return new e(ml.BOX_TOOLS_PLUGIN_NAME)})),yl(this,"setupActiveXCommunication",(()=>{this.isActiveXExtensionListenerAttached||(this.document.addEventListener(ml.OUTPUT_EVENT,this.appExtensionEventResponseHandler),this.isActiveXExtensionListenerAttached=!0)})),yl(this,"tearDownActiveXCommunication",(()=>{this.isActiveXExtensionListenerAttached&&(this.document.removeEventListener(ml.OUTPUT_EVENT,this.appExtensionEventResponseHandler),this.isActiveXExtensionListenerAttached=!1)})),yl(this,"appExtensionEventResponseHandler",(e=>{this.retryAttempt>0&&(this.retryAttempt=0);const t="string"==typeof e.detail?JSON.parse(e.detail):e.detail;if(this.reqIdToPromiseMap.has(t.req_id)){const e=this.reqIdToPromiseMap.get(t.req_id);if(e){clearTimeout(e.rejectTimeout),this.reqIdToPromiseMap.delete(t.req_id);const r="string"==typeof t.com_server_response.data?JSON.parse(t.com_server_response.data):t.com_server_response.data;e.resolve(r)}}})),yl(this,"getComServerStatus",((e,t)=>this.executeOperation(ml.OPERATION_STATUS,null,e,t))),yl(this,"sendRequest",((e,t,r)=>this.executeOperation(ml.OPERATION_REQUEST,e,t,r))),yl(this,"sendCommand",((e,t,r)=>this.executeOperation(ml.OPERATION_COMMAND,e,t,r))),yl(this,"destroy",(()=>{this.tearDownActiveXCommunication()})),this.isSynchronous=t,this.channelName=ml.ACTIVEX_CHANNEL_NAME,this.reqIdToPromiseMap=new Map,this.isActiveXExtensionListenerAttached=!1,this.retryAttempt=0,this.document=document,this.window=window,this.setupActiveXCommunication()}};function wl(e,t,r,n="/",i=""){const{document:o}=window,a=new Date,s=[];void 0===r&&(r=a.getTime()+5184e6),a.setTime(r),s.push(`${e}=${encodeURIComponent(t)}`),0!==r&&s.push(`; expires=${a.toUTCString()}`),s.push(`; path=${n}`),i&&s.push(`; domain=${i}`),s.push("; secure"),o.cookie=s.join("")}function El(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Sl="POST",xl=17223,Ol="notrunning",Pl=new Bi;function Cl(){return Pl.getItem("comUseFallback")?{primary:17224,fallback:xl}:{primary:xl,fallback:17224}}const kl=class extends gl{constructor(e,t,r){super(e),El(this,"createCORSRequest",((e,t)=>{let r;try{const{XMLHttpRequest:n}=this.window;return r=new n,r.open(e,t,!0),r}catch(r){if(this.retryCounter<3)return this.retryCounter+=1,this.createCORSRequest(e,t);throw new Error("could not create xhr")}})),El(this,"getComServerStatusInstallationPromise",(e=>{let t,r;const n=new Promise(((e,n)=>{t=e,r=n})),i=(e,r)=>{this.currentPort=e,e===xl?Pl.removeItem("comUseFallback"):Pl.setItem("comUseFallback",1),this.comServerInstallationPromiseRejected=!1,t(r)},o=Cl(),a=o.primary,s=o.fallback;return this.checkInstallStatus(a,e).then(i.bind(this,a)).catch((t=>{if(t===Ol)return this.comServerInstallationPromiseRejected=!0,void r();this.checkInstallStatus(s,e).then(i.bind(this,s)).catch((()=>{this.comServerInstallationPromiseRejected=!0,r()}))})),n})),El(this,"sendComServerRequest",((e,t,r,n)=>new Promise(((i,o)=>{try{const a=this.createCORSRequest(e,t);a.setRequestHeader("Content-Type","text/plain; charset=UTF-8"),a.onload=()=>{i(a)},a.onerror=()=>{o(a)},n>0&&(a.timeout=n,a.ontimeout=()=>{o(a)}),setTimeout((()=>{a.send(r)}),0)}catch(e){o()}})))),El(this,"checkInstallStatus",((e,t)=>this.sendComServerRequest("GET",`${this.url}${e}/status`,null,t).then((e=>{const t=JSON.parse(e.responseText);if(t.running)return t;throw this.comServerInstallationPromiseRejected=!0,new Error(Ol)})))),El(this,"getComChannel",(e=>function(e){const{document:t}=window,r=t.cookie.split("; "),n=r.length;let i,o;for(o=0;o<n;o+=1)if(i=r[o].split("="),i[0]===e)return i[1]?decodeURIComponent(i[1]):"";return""}(`${e}-bgp-id`))),El(this,"setComChannel",(e=>{const t=this.getComChannel(e)||this.generateId(),r=`bgp-${t}`,n=(new Date).getTime()+31536e6;return wl(`${e}-bgp-id`,t,n),wl(`bgp-${t}`,"generic",n),r})),El(this,"getComServerStatus",(e=>!this.comServerInstallationPromise||this.comServerInstallationPromiseRejected?(this.comServerInstallationPromise=null,this.comServerInstallationPromise=this.getComServerStatusInstallationPromise(e),this.comServerInstallationPromise):this.comServerInstallationPromise)),El(this,"sendRequest",((e,t,r)=>{const n=`${this.url}${this.currentPort}/application_request?application=${this.appName}&com=${this.comChannelName}&timeout=${r}`;return this.sendComServerRequest(Sl,n,e,t).then((e=>{const t=JSON.parse(e.responseText);if(t.response_type&&"error"===t.response_type)throw new Error(`Communication error: ${t.message}`);return t}))})),El(this,"sendCommand",((e,t,r)=>{const n=`${this.url}${this.currentPort}/application_command?application=${this.appName}&com=${this.comChannelName}&timeout=${r}`;return this.sendComServerRequest(Sl,n,e,t).then((e=>JSON.parse(e.responseText)))})),El(this,"generateId",(()=>{const e=(new Date).getTime();return"xxxxxxxx".replace(/x/g,(()=>Math.floor((e+16*Math.random())%16).toString(16)))})),this.url=t,this.comChannelName=this.setComChannel(e),this.channelName=r,this.comServerInstallationPromise=null,this.comServerInstallationPromiseRejected=!1,this.retryCounter=0,this.sendCount=0,this.currentPort=Cl().primary,this.window=window}};function _l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Al="box_extension_output",Tl=class extends gl{constructor(e){super(e),_l(this,"executeOperation",((e="",t={},r=0,n=0)=>new Promise(((i,o)=>{const a=this.buildDetailsObj(e,t,n),s=setTimeout((()=>{o(new Error({status_code:ml.REQUEST_TIMEOUT_RESPONSE_CODE}))}),r);this.reqIdToPromiseMap.set(a.req_id,{resolve:i,rejectTimeout:s}),this.createAndDispatchAppExtensionEvent({detail:a})})))),_l(this,"setupSafariExtensionCommunication",(()=>{this.isAppExtensionListenerAttached||(this.isAppExtensionListenerAttached=!0,this.document.addEventListener(Al,this.appExtensionEventResponseHandler))})),_l(this,"tearDownSafariExtensionCommunication",(()=>{this.isAppExtensionListenerAttached&&(this.isAppExtensionListenerAttached=!1,this.document.removeEventListener(Al,this.appExtensionEventResponseHandler))})),_l(this,"appExtensionEventResponseHandler",(e=>{const t="string"==typeof e.detail?JSON.parse(e.detail):e.detail;if(this.reqIdToPromiseMap.has(t.req_id)){const e=this.reqIdToPromiseMap.get(t.req_id);if(e){clearTimeout(e.rejectTimeout),this.reqIdToPromiseMap.delete(t.req_id);const r="string"==typeof t.com_server_response.data?JSON.parse(t.com_server_response.data):t.com_server_response.data;e.resolve(r)}}})),_l(this,"createAndDispatchAppExtensionEvent",(e=>{const{CustomEvent:t}=this.window,r=new t("box_extension_input",e);this.document.dispatchEvent(r)})),_l(this,"getComServerStatus",((e,t)=>this.executeOperation(ml.OPERATION_STATUS,null,e,t))),_l(this,"sendRequest",((e,t,r)=>this.executeOperation(ml.OPERATION_REQUEST,e,t,r))),_l(this,"sendCommand",((e,t,r)=>this.executeOperation(ml.OPERATION_COMMAND,e,t,r))),_l(this,"destroy",(()=>{this.tearDownSafariExtensionCommunication()})),this.reqIdToPromiseMap=new Map,this.channelName=ml.SAFARI_CHANNEL_NAME,this.window=window,this.document=document,this.setupSafariExtensionCommunication()}};const jl=55,Il="16.16299",Dl="17.17134";let Ml;function Rl(e){const{BOX_UNSECURE_LOCAL_BASE_URL:t,CREATED_STATUS:r,HTTP_CHANNEL_NAME:n}=ml;return Ml.http_channel_status=r,new kl(e,t,n)}function Fl(e){const{CREATED_STATUS:t}=ml;return Ml.safari_channel_status=t,new Tl(e)}function Ll(e){const{CREATED_STATUS:t}=ml;return Ml.activex_channel_status=t,new vl(e,!0)}function Nl(){const{EDGE:e}=cl;return pl.isMinBrowser(e,Dl)||pl.isMinBrowser(e,Il)&&pl.getVersion().startsWith("16.")}function Ul(){return pl.isEdge()&&!Nl()}function Bl(){const{CHROME:e,FIREFOX:t}=cl;return pl.isMinBrowser(e,53)||pl.isMinBrowser(t,jl)||Nl()}function Hl(){return pl.isMinBrowser(cl.SAFARI,10)}function Vl(){return pl.isMinBrowser(cl.IE,11)}function zl(e){const{BOX_EDIT_NOT_SUPPORTED_ERROR:t,BOX_EDIT_SAFARI_ERROR:r,BOX_EDIT_UNINSTALLED_ERROR:n,BOX_EDIT_UPGRADE_BROWSER_ERROR:i}=ml;let o=t;return Bl()||Vl()?o=n:pl.isFirefox()||pl.isChrome()||pl.isSafari()&&!Hl()||Ul()?o=i:Hl()&&(o=r),Ml.error_message=o,e(new Error(o))}function $l(e){let t=5e3;return"number"==typeof e&&e>=0&&(t=Math.floor(e)),t}function ql(e){let t=+(e/1e3).toFixed(2);return e<2?t/=2:t-=1,t}const Gl=class{constructor(e){var t,r,n;t=this,n=!1,(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(r="isInitialized"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.channels=[],this.isInitialized=!0,function(){const e=pl.getName(),t=pl.getVersion(),{UNCREATED_STATUS:r}=ml;Ml={box_tools_version:null,browser_name:e,browser_version:t,error_message:null,installation_type:null,http_channel_status:r,https_channel_status:r,activex_channel_status:r,safari_channel_status:r}}(),Bl()?this.channels.push(Rl(e)):Hl()?this.channels.push(Fl(e)):Vl()&&pl.isIEAndSpecificBrowserPluginSupported(ml.BOX_TOOLS_PLUGIN_NAME)?this.channels.push(function(e){const{CREATED_STATUS:t}=ml;return Ml.activex_channel_status=t,new vl(e,!1)}(e)):pl.isFirefox()&&!pl.isMinBrowser(cl.FIREFOX,jl)||Ul()||(this.channels=this.channels.concat([Rl(e),Fl(e),Ll(e)]))}getComServerStatus(e){const{ACTIVE_STATUS:t}=ml,r=$l(e),n=ql(r),i=Ul();return new Promise(((e,o)=>i?zl.call(null,o):this.channels.length?function(e){const t=[];let r,n=0;return new Promise(((i,o)=>{e.forEach(((a,s)=>{a.then(i).catch((i=>a=>{t[i]=a,n+=1,n===e.length&&(r=new Error("no promises resolved"),o(r))})(s))}))}))}(this.channels.map((i=>i.getComServerStatus(r,n).then((r=>(this.activeChannel=i,r&&(Ml.installation_type=r.installation_type,Ml.box_tools_version=r.version),Ml[`${i.channelName}_status`]=t,e(r))))))).catch(zl.bind(null,o)):zl.call(null,o)))}sendRequest(e,t,r){const n=$l(r),i=ql(n);return this.activeChannel?this.activeChannel.sendRequest(e,n,i):this.getComServerStatus().then((()=>this.activeChannel.sendRequest(e,n,i)))}sendCommand(e,t){const r=$l(t),n=ql(r);return this.activeChannel?this.activeChannel.sendCommand(e,r,n):this.getComServerStatus().then((()=>this.activeChannel.sendCommand(e,r,n)))}};let Wl,Zl=null;class Xl{constructor(){return Zl instanceof Xl||(Zl=this),this.extensionRequestQueue=new Map,Zl}queueGetNativeAppNameFromLocal(e){if(this.extensionRequestQueue.has(e)){const t=this.extensionRequestQueue.get(e);if(!t)throw new Error("Race condition re: queueGetNativeAppNameFromLocal");return t.promise}const t={},r=new Promise(((e,r)=>{t.resolve=e,t.reject=r}));return t.promise=r,this.extensionRequestQueue.set(e,t),r}checkBoxEditAvailability(){return this.getBoxEditAvailability()}getBoxEditAvailability(){return this.client=new Gl(ml.BOX_EDIT_APP_NAME),this.client.getComServerStatus()}async canOpenWithBoxEdit(e){const t=await Promise.all(e.map((async e=>{try{return[e,await this.getAppForExtension(e)]}catch(t){return[e,""]}}))),r=new Map;return t.forEach((e=>r.set(...e))),Promise.resolve(r)}openFile(e,t){const r=function(e,t,r,n){return JSON.stringify({auth_code:r,auth_token:t,browser_type:pl.getName(),command_type:"launch_application",file_id:e.toString(),token_scope:n})}(e,t.data.token,t.data.auth_code,t.data.token_scope);return this.client.sendCommand(r,5e3)}getAppForExtension(e){try{if(function(e){const{EXTENSION_BLACKLIST:t}=ml;let r=e.toUpperCase();return"."===r.charAt(0)&&(r=r.substr(1)),r in t}(e))throw new Error("blacklisted");const t=this.queueGetNativeAppNameFromLocal(e);return Wl||(Wl=setTimeout((()=>{this.processExtensionRequestQueue()}),100)),t}catch(e){return Promise.reject()}}processExtensionRequestQueue(){const e=new Map,t=[];this.extensionRequestQueue.forEach(((r,n)=>{e.set(n,r),t.push(n)})),this.extensionRequestQueue.clear(),Wl=null;const r=function(e){return JSON.stringify({request_type:"get_default_application",extension:e})}(t);return this.client.sendRequest(r).then((r=>{if(r&&r.default_application_name){let t=r.default_application_name;"[object Object]"===Object.prototype.toString.call(t)&&(t=[t]),t.forEach((t=>{const r=Object.keys(t)[0],n=decodeURIComponent(t[r]);if(n){const t=e.get(r);t&&(t.resolve(n),e.delete(r))}}))}t.forEach((t=>{const r=e.get(t);r&&r.reject()}))}))}}const Kl=Xl;function Ql(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ql(Object(r),!0).forEach((function(t){Jl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ql(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Jl(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ec=class extends Ji{async ask(e,t,r=[],n={}){const{prompt:i}=e;if(!i)throw new Error("Missing prompt!");if(!t||0===t.length)throw new Error("Missing items!");t.forEach((e=>{if(!e.id||!e.type)throw new Error("Invalid item!")}));const o=`${this.getBaseApiUrl()}/ai/ask`;return this.xhr.post({url:o,id:`file_${t[0].id}`,data:Yl({mode:"single_item_qa",prompt:i,items:t,dialogue_history:r},n)})}async extractStructured(e){this.errorCode="extract_structured_error";const{items:t}=e;if(!t||0===t.length)throw new Error("Missing items!");const r=t[0];if(!r.id||!r.type)throw new Error("Invalid item!");const n=`${this.getBaseApiUrl()}/ai/extract_structured`,i=await this.xhr.post({url:n,data:e,id:`file_${r.id}`});return i?.data?.answer&&"object"==typeof i.data.answer?i.data.answer:i.data}};function tc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tc(Object(r),!0).forEach((function(t){nc(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ic=class{constructor(e){this.options=rc(rc({},e),{},{apiHost:e.apiHost||ce,uploadHost:e.uploadHost||ue,cache:e.cache||new hi,language:e.language})}destroy(e=!1){this.fileAPI&&(this.fileAPI.destroy(),delete this.fileAPI),this.weblinkAPI&&(this.weblinkAPI.destroy(),delete this.weblinkAPI),this.plainUploadAPI&&(this.plainUploadAPI.destroy(),delete this.plainUploadAPI),this.chunkedUploadAPI&&(this.chunkedUploadAPI.destroy(),delete this.chunkedUploadAPI),this.folderAPI&&(this.folderAPI.destroy(),delete this.folderAPI),this.searchAPI&&(this.searchAPI.destroy(),delete this.searchAPI),this.recentsAPI&&(this.recentsAPI.destroy(),delete this.recentsAPI),this.versionsAPI&&(this.versionsAPI.destroy(),delete this.versionsAPI),this.fileAccessStatsAPI&&(this.fileAccessStatsAPI.destroy(),delete this.fileAccessStatsAPI),this.fileActivitiesAPI&&(this.fileActivitiesAPI.destroy(),delete this.fileActivitiesAPI),this.tasksNewAPI&&(this.tasksNewAPI.destroy(),delete this.tasksNewAPI),this.taskCollaboratorsAPI&&(this.taskCollaboratorsAPI.destroy(),delete this.taskCollaboratorsAPI),this.taskLinksAPI&&(this.taskLinksAPI.destroy(),delete this.taskLinksAPI),this.commentsAPI&&(this.commentsAPI.destroy(),delete this.commentsAPI),this.threadedCommentsAPI&&(this.threadedCommentsAPI.destroy(),delete this.threadedCommentsAPI),this.markerBasedGroupsAPI&&(this.markerBasedGroupsAPI.destroy(),delete this.markerBasedGroupsAPI),this.markerBasedUsersAPI&&(this.markerBasedUsersAPI.destroy(),delete this.markerBasedUsersAPI),this.groupsAPI&&(this.groupsAPI.destroy(),delete this.groupsAPI),this.usersAPI&&(this.usersAPI.destroy(),delete this.usersAPI),this.metadataAPI&&(this.metadataAPI.destroy(),delete this.metadataAPI),this.fileCollaboratorsAPI&&(this.fileCollaboratorsAPI.destroy(),delete this.fileCollaboratorsAPI),this.fileCollaborationsAPI&&(this.fileCollaborationsAPI.destroy(),delete this.fileCollaborationsAPI),this.folderCollaborationsAPI&&(this.folderCollaborationsAPI.destroy(),delete this.folderCollaborationsAPI),this.collaborationsAPI&&(this.collaborationsAPI.destroy(),delete this.collaborationsAPI),this.appIntegrationsAPI&&(this.appIntegrationsAPI.destroy(),delete this.appIntegrationsAPI),this.metadataQueryAPI&&(this.metadataQueryAPI.destroy(),delete this.metadataQueryAPI),this.openWithAPI&&(this.openWithAPI.destroy(),delete this.openWithAPI),this.annotationsAPI&&(this.annotationsAPI.destroy(),delete this.annotationsAPI),this.intelligenceAPI&&(this.intelligenceAPI.destroy(),delete this.intelligenceAPI),e&&(this.options.cache=new hi)}getCache(){return this.options.cache}getAPI(e){let t;switch(e){case u:t=this.getFolderAPI();break;case d:t=this.getFileAPI();break;case h:t=this.getWebLinkAPI();break;default:throw new Error("Unknown Type!")}return t}getFileAPI(e=!0){return e&&this.destroy(),this.fileAPI=new Lo(this.options),this.fileAPI}getWebLinkAPI(){return this.destroy(),this.weblinkAPI=new No(this.options),this.weblinkAPI}getPlainUploadAPI(){return this.destroy(),this.plainUploadAPI=new bo(this.options),this.plainUploadAPI}getChunkedUploadAPI(){return this.destroy(),this.chunkedUploadAPI=new fo(this.options),this.chunkedUploadAPI}getFolderAPI(e=!0){return e&&this.destroy(),this.folderAPI=new zo(this.options),this.folderAPI}getSearchAPI(){return this.destroy(),this.searchAPI=new Wo(this.options),this.searchAPI}getRecentsAPI(){return this.destroy(),this.recentsAPI=new Ko(this.options),this.recentsAPI}getMetadataAPI(e){return e&&this.destroy(),this.metadataAPI=new xs(this.options),this.metadataAPI}getVersionsAPI(e){return e&&this.destroy(),this.versionsAPI=new oa(this.options),this.versionsAPI}getCommentsAPI(e){return e&&this.destroy(),this.commentsAPI=new ca(this.options),this.commentsAPI}getThreadedCommentsAPI(e){return e&&this.destroy(),this.threadedCommentsAPI=new Ha(this.options),this.threadedCommentsAPI}getTasksNewAPI(e){return e&&this.destroy(),this.tasksNewAPI=new wa(this.options),this.tasksNewAPI}getTaskCollaboratorsAPI(e){return e&&this.destroy(),this.taskCollaboratorsAPI=new Oa(this.options),this.taskCollaboratorsAPI}getTaskLinksAPI(e){return e&&this.destroy(),this.taskLinksAPI=new _a(this.options),this.taskLinksAPI}getFileAccessStatsAPI(e){return e&&this.destroy(),this.fileAccessStatsAPI=new Va(this.options),this.fileAccessStatsAPI}getFileActivitiesAPI(e){return e&&this.destroy(),this.fileActivitiesAPI=new Ga(this.options),this.fileActivitiesAPI}getFileCollaboratorsAPI(e){return e&&this.destroy(),this.fileCollaboratorsAPI=new ks(this.options),this.fileCollaboratorsAPI}getFileCollaborationsAPI(e){return e&&this.destroy(),this.fileCollaborationsAPI=new Ts(this.options),this.fileCollaborationsAPI}getFolderCollaborationsAPI(e){return e&&this.destroy(),this.folderCollaborationsAPI=new js(this.options),this.folderCollaborationsAPI}getCollaborationsAPI(e){return e&&this.destroy(),this.collaborationsAPI=new Rs(this.options),this.collaborationsAPI}getMarkerBasedGroupsAPI(e){return e&&this.destroy(),this.markerBasedGroupsAPI=new Ka(this.options),this.markerBasedGroupsAPI}getMarkerBasedUsersAPI(e){return e&&this.destroy(),this.markerBasedUsersAPI=new es(this.options),this.markerBasedUsersAPI}getGroupsAPI(e){return e&&this.destroy(),this.groupsAPI=new ts(this.options),this.groupsAPI}getUsersAPI(e){return e&&this.destroy(),this.usersAPI=new rs(this.options),this.usersAPI}getFeedAPI(e){return e&&this.destroy(),this.feedItemsAPI=new ol(this.options),this.feedItemsAPI}getOpenWithAPI(e){return e&&this.destroy(),this.openWithAPI=new sl(this.options),this.openWithAPI}getAppIntegrationsAPI(e){return e&&this.destroy(),this.appIntegrationsAPI=new al(this.options),this.appIntegrationsAPI}getMetadataQueryAPI(e=!1){return e&&this.destroy(),this.metadataQueryAPI=new ll(this.options),this.metadataQueryAPI}getBoxEditAPI(){return this.boxEditAPI=new Kl,this.boxEditAPI}getAnnotationsAPI(e){return e&&this.destroy(),this.annotationsAPI=new Bs(this.options),this.annotationsAPI}getIntelligenceAPI(e){return e&&this.destroy(),this.intelligenceAPI=new ec(this.options),this.intelligenceAPI}};let oc=function(e){return e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e.DEFAULT="default",e}({});const ac=({className:t="",size:r=oc.DEFAULT})=>e.createElement("div",{className:`crawler ${t} is-${r}`},e.createElement("div",null),e.createElement("div",null),e.createElement("div",null)),sc=({integrationWindow:e,children:r})=>{const n=e.document.createElement("div");return function(e,t){Array.from(e.styleSheets).forEach((e=>{if(!e.href)return;const r=t.document.createElement("link");r.rel="stylesheet",r.href=e.href,t.document.head.appendChild(r)})),t.document.body.style.margin=0,t.document.body.style.padding=0}(document,e),e.document.body.appendChild(n),(0,t.createPortal)(r,n)},lc=({hasError:t,integrationWindow:r})=>e.createElement(sc,{integrationWindow:r},e.createElement("div",{className:"be bcow bcow-portal-container"},t?e.createElement(ti,{errorHeader:e.createElement(an,Wn.executeIntegrationOpenWithErrorHeader),errorSubHeader:e.createElement(an,Wn.executeIntegrationOpenWithErrorSubHeader)}):e.createElement(ac,{className:"bcow-portal-loading-indicator",size:"large"})));var cc=__webpack_require__(91695);function uc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class dc extends e.Component{constructor(...e){super(...e),uc(this,"menuID",nt()("menu")),uc(this,"menuButtonID",nt()("menubutton")),uc(this,"state",{initialFocusIndex:null,isOpen:!1}),uc(this,"openMenuAndSetFocusIndex",(e=>{this.setState({initialFocusIndex:e,isOpen:!0})})),uc(this,"closeMenu",(e=>{const{onMenuClose:t=ot()}=this.props;this.setState({isOpen:!1},(()=>t(e)))})),uc(this,"focusButton",(()=>{const e=document.getElementById(this.menuButtonID);e&&e.focus()})),uc(this,"handleButtonClick",(e=>{const{isOpen:t}=this.state;e.stopPropagation(),e.preventDefault(),t?this.closeMenu(e):this.openMenuAndSetFocusIndex(null)})),uc(this,"handleButtonKeyDown",(e=>{const{isOpen:t}=this.state;switch(e.key){case" ":case"Enter":case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.openMenuAndSetFocusIndex(0);break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.openMenuAndSetFocusIndex(-1);break;case"Escape":t&&e.stopPropagation(),e.preventDefault(),this.closeMenu(e)}})),uc(this,"handleMenuClose",((e,t)=>{this.closeMenu(t),this.focusButton()})),uc(this,"handleDocumentClick",(e=>{const t=document.getElementById(this.menuID),r=document.getElementById(this.menuButtonID);t&&r&&e.target instanceof Node&&!t.contains(e.target)&&!r.contains(e.target)&&this.closeMenu(e)}))}componentDidUpdate(e,t){const{useBubble:r}=this.props;if(!t.isOpen&&this.state.isOpen){document.addEventListener("click",this.handleDocumentClick,!r),document.addEventListener("contextmenu",this.handleDocumentClick,!r);const{onMenuOpen:e}=this.props;e&&e()}else t.isOpen&&!this.state.isOpen&&(document.removeEventListener("contextmenu",this.handleDocumentClick,!r),document.removeEventListener("click",this.handleDocumentClick,!r))}componentWillUnmount(){const{useBubble:e}=this.props;this.state.isOpen&&(document.removeEventListener("contextmenu",this.handleDocumentClick,!e),document.removeEventListener("click",this.handleDocumentClick,!e))}render(){const{bodyElement:t,children:r,className:n,constrainToScrollParent:i,constrainToWindow:o,constrainToWindowWithPin:a,isResponsive:s,isRightAligned:l,tetherAttachment:c,tetherTargetAttachment:u}=this.props,{isOpen:d,initialFocusIndex:h}=this.state,f=e.Children.toArray(r);if(2!==f.length)throw new Error("DropdownMenu must have exactly two children: A button component and a <Menu>");const p=f[0],m=f[1],b={id:this.menuButtonID,key:this.menuButtonID,onClick:this.handleButtonClick,onKeyDown:this.handleButtonKeyDown,"aria-expanded":d?"true":"false"};void 0===p.props["aria-haspopup"]&&(b["aria-haspopup"]="true"),d&&(b["aria-controls"]=this.menuID);const g={id:this.menuID,key:this.menuID,initialFocusIndex:h,onClose:this.handleMenuClose,"aria-labelledby":this.menuButtonID};let y="top left",v="bottom left";l&&(y="top right",v="bottom right");const w=[];i&&w.push({to:"scrollParent",attachment:"together"}),o&&w.push({to:"window",attachment:"together"}),a&&w.push({to:"window",attachment:"together",pin:!0});const E=t instanceof HTMLElement?t:document.body;return e.createElement(cc.A,{attachment:c||y,bodyElement:E,className:tt()({"bdl-DropdownMenu--responsive":s},n),classPrefix:"dropdown-menu",constraints:w,enabled:d,targetAttachment:u||v},e.cloneElement(p,b),d&&e.cloneElement(m,g))}}uc(dc,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!1,isResponsive:!1,isRightAligned:!1});const hc=dc,fc=e.createContext({closeMenu:ot()}),pc=["children","className","isHidden","setRef","shouldOutlineFocus"];function mc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const bc=".menu-item:not([aria-disabled])",gc=`ul:not(.submenu) > ${bc}, ul:not(.submenu) > li > ${bc}, ul:not(.submenu) > span > ${bc}`,yc=`ul.submenu > ${bc}, ul.submenu > li > ${bc}, ul.submenu > span > ${bc}`;function vc(e){e.stopPropagation(),e.preventDefault()}class wc extends e.Component{constructor(e){super(e),mc(this,"setInitialFocusIndex",((e=this.props)=>{const{initialFocusIndex:t,isHidden:r}=e;r||void 0===t||("number"==typeof t?setTimeout((()=>{this.setFocus(t)}),0):null===t&&setTimeout((()=>{this.menuEl&&this.menuEl.focus()}),0))})),mc(this,"setMenuItemEls",(()=>{const{isSubmenu:e,menuItemSelector:t}=this.props,r=t||(e?yc:gc);this.menuItemEls=this.menuEl?[].slice.call(this.menuEl.querySelectorAll(r)):[]})),mc(this,"getMenuItemElFromEventTarget",(e=>{let t=null,r=-1;for(let n=0;n<this.menuItemEls.length;n+=1)if(this.menuItemEls[n].contains(e)){t=this.menuItemEls[n],r=n;break}return{menuItemEl:t,menuIndex:r}})),mc(this,"setFocus",(e=>{if(!this.menuItemEls.length)return;const t=this.menuItemEls.length;this.focusIndex=e>=t?0:e<0?t-1:e,this.menuItemEls[this.focusIndex].focus()})),mc(this,"focusFirstItem",(()=>{this.setFocus(0)})),mc(this,"focusLastItem",(()=>{this.setFocus(-1)})),mc(this,"focusNextItem",(()=>{this.setFocus(this.focusIndex+1)})),mc(this,"focusPreviousItem",(()=>{this.setFocus(this.focusIndex-1)})),mc(this,"fireOnCloseHandler",((e,t)=>{const{onClose:r}=this.props;r&&r(e,t)})),mc(this,"handleClick",(e=>{const{menuItemEl:t}=e.target instanceof Node?this.getMenuItemElFromEventTarget(e.target):{};t&&this.fireOnCloseHandler(!1,e)})),mc(this,"handleKeyDown",(e=>{const{isSubmenu:t,initialFocusIndex:r}=this.props;switch(e.key){case"ArrowDown":vc(e),null!==r||this.keyboardPressed?this.focusNextItem():this.focusFirstItem();break;case"ArrowUp":vc(e),this.focusPreviousItem();break;case"ArrowLeft":if(!t)return;vc(e),this.fireOnCloseHandler(!0,e);break;case"Home":case"PageUp":vc(e),this.focusFirstItem();break;case"End":case"PageDown":vc(e),this.focusLastItem();break;case"Escape":vc(e),this.fireOnCloseHandler(!0,e);break;case"Tab":this.fireOnCloseHandler(!0,e);break;case" ":case"Enter":vc(e),e.target instanceof HTMLElement&&e.target.click()}this.keyboardPressed=!0})),this.focusIndex=0,this.menuEl=null,this.menuItemEls=[]}componentDidMount(){this.setMenuItemEls(),this.setInitialFocusIndex()}componentDidUpdate({isHidden:t,children:r}){const{children:n,isHidden:i,isSubmenu:o}=this.props;if(o&&t&&!i&&(this.setMenuItemEls(),this.setInitialFocusIndex(this.props)),e.Children.toArray(r).length!==e.Children.toArray(n).length){const e=this.menuItemEls[this.focusIndex];this.setMenuItemEls();const{menuIndex:t}=this.getMenuItemElFromEventTarget(e),r=-1===t,n=this.focusIndex>=this.menuItemEls.length;this.setFocus(r&&!n?this.focusIndex:t)}}render(){const t=this.props,{children:r,className:n,isHidden:i,setRef:o,shouldOutlineFocus:a}=t,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,pc),l=Xn()(s,["onClose","initialFocusIndex","isSubmenu","menuItemSelector"]);return l.className=tt()("aria-menu",n,{"is-hidden":i,"should-outline-focus":a}),l.ref=e=>{this.menuEl=e,o&&o(e)},void 0===l.role&&(l.role="menu"),l.tabIndex=-1,l.onClick=this.handleClick,l.onKeyDown=this.handleKeyDown,e.createElement("ul",l,e.createElement(fc.Provider,{value:{closeMenu:this.fireOnCloseHandler}},r))}}mc(wc,"defaultProps",{className:"",isSubmenu:!1,isHidden:!1});const Ec=wc,Sc=["children","className","constrainToScrollParent","constrainToWindow","position","isShown","offset","tetherElementClassName"];function xc(){return xc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xc.apply(null,arguments)}function Oc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let Pc=function(e){return e.BOTTOM_CENTER="bottom-center",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right",e.MIDDLE_CENTER="middle-center",e.MIDDLE_LEFT="middle-left",e.MIDDLE_RIGHT="middle-right",e.TOP_CENTER="top-center",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right",e}({});const Cc={[Pc.BOTTOM_CENTER]:{attachment:"top center",targetAttachment:"bottom center"},[Pc.BOTTOM_LEFT]:{attachment:"top left",targetAttachment:"bottom left"},[Pc.BOTTOM_RIGHT]:{attachment:"top right",targetAttachment:"bottom right"},[Pc.MIDDLE_CENTER]:{attachment:"middle center",targetAttachment:"middle center"},[Pc.MIDDLE_LEFT]:{attachment:"middle right",targetAttachment:"middle left"},[Pc.MIDDLE_RIGHT]:{attachment:"middle left",targetAttachment:"middle right"},[Pc.TOP_CENTER]:{attachment:"bottom center",targetAttachment:"top center"},[Pc.TOP_LEFT]:{attachment:"bottom left",targetAttachment:"top left"},[Pc.TOP_RIGHT]:{attachment:"bottom right",targetAttachment:"top right"}};class kc extends e.Component{constructor(...t){super(...t),Oc(this,"tetherRef",e.createRef()),Oc(this,"radarAnimationID",nt()("radarAnimation")),Oc(this,"position",(()=>{const{isShown:e}=this.props;this.tetherRef.current&&e&&this.tetherRef.current.position()}))}render(){const t=this.props,{children:r,className:n="",constrainToScrollParent:i,constrainToWindow:o,position:a,isShown:s,offset:l,tetherElementClassName:c}=t,u=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,Sc),d=[];i&&d.push({to:"scrollParent",attachment:"together"}),o&&d.push({to:"window",attachment:"together"});const{attachment:h,targetAttachment:f}=Cc[a],p=e.Children.only(r),m=e.cloneElement(p,{"aria-describedby":this.radarAnimationID}),b={attachment:h,classPrefix:"radar-animation",constraints:d,targetAttachment:f};return c&&(b.className=c),l&&(b.offset=l),e.createElement(cc.A,xc({ref:this.tetherRef},b),m,s&&e.createElement("div",xc({className:`radar ${n}`,id:this.radarAnimationID},u),e.createElement("div",{className:"radar-dot"}),e.createElement("div",{className:"radar-circle"})))}}Oc(kc,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!0,isShown:!0,position:Pc.MIDDLE_RIGHT});const _c=kc,Ac=["children","className","isDisabled","isSelectItem","isSelected","showRadar"];class Tc extends e.Component{constructor(...e){var t,r,n;super(...e),t=this,n=e=>{const{isDisabled:t,onClick:r}=this.props;if(t)return e.stopPropagation(),void e.preventDefault();r&&r(e)},(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(r="onClickHandler"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}render(){const t=this.props,{children:r,className:n,isDisabled:i,isSelectItem:o,isSelected:a,showRadar:s}=t,l=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,Ac),c=Xn()(l,["role","tabIndex","onClick"]);c.className=tt()("menu-item",n,{"is-select-item":o,"is-selected":a}),c.role=o?"menuitemradio":"menuitem",c.tabIndex=-1,c.onClick=this.onClickHandler,o&&(c["aria-checked"]=a),i&&(c["aria-disabled"]="true");let u=e.createElement("li",c,r);return s&&(u=e.createElement(_c,null,u)),u}}const jc=Tc;function Ic(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Dc="icon-google-docs";class Mc extends e.Component{constructor(...e){super(...e),Ic(this,"idPrefix",`${nt()(Dc)}-`)}render(){const{className:t,height:r,title:n,width:i}=this.props;return e.createElement(Yn,{className:`${Dc} ${t}`,height:r,title:n,viewBox:"0 0 30 30",width:i},e.createElement("defs",null,e.createElement("linearGradient",{gradientTransform:"matrix(2.67 0 0 -2.67 596.67 1357)",gradientUnits:"userSpaceOnUse",id:`${this.idPrefix}a`,x1:"-215.49",x2:"-215.49",y1:"505.79",y2:"503.19"},e.createElement("stop",{offset:"0",stopColor:"#1a237e",stopOpacity:".2"}),e.createElement("stop",{offset:"1",stopColor:"#1a237e",stopOpacity:".02"}))),e.createElement("path",{d:"M17.64 0H6.05A2.05 2.05 0 0 0 4 2.05V28a2.05 2.05 0 0 0 2.05 2h17.72a2.05 2.05 0 0 0 2.05-2V8.18l-4.77-3.41z",fill:"#4285f4"}),e.createElement("path",{d:"M18.23 7.58l7.59 7.58V8.18l-7.59-.6z",fill:`url(#${this.idPrefix}a)`}),e.createElement("path",{d:"M9.45 21.82h10.91v-1.37H9.45zm0 2.73h8.19v-1.37H9.45zm0-9.55v1.36h10.91V15zm0 4.09h10.91v-1.36H9.45z",fill:"#f1f1f1"}),e.createElement("path",{d:"M17.64 0v6.14a2 2 0 0 0 2 2h6.14z",fill:"#a1c2fa"}),e.createElement("path",{d:"M6.05 0A2.05 2.05 0 0 0 4 2.05v.17A2.05 2.05 0 0 1 6.05.17h11.59V0z",fill:"#fff",fillOpacity:".2"}),e.createElement("path",{d:"M19.68 8.18a2 2 0 0 1-2-2v.17a2 2 0 0 0 2 2h6.14v-.17z",fill:"#1a237e",fillOpacity:".1"}))}}Ic(Mc,"defaultProps",{className:"",height:30,width:30});const Rc=Mc;function Fc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Lc="icon-google-sheets";class Nc extends e.Component{constructor(...e){super(...e),Fc(this,"idPrefix",`${nt()(Lc)}-`)}render(){const{className:t,height:r,title:n,width:i}=this.props;return e.createElement(Yn,{className:`${Lc} ${t}`,height:r,title:n,viewBox:"0 0 30 30",width:i},e.createElement("defs",null,e.createElement("linearGradient",{gradientTransform:"matrix(2.67 0 0 -2.67 596.67 1357)",gradientUnits:"userSpaceOnUse",id:`${this.idPrefix}a`,x1:"-215.49",x2:"-215.49",y1:"505.79",y2:"503.19"},e.createElement("stop",{offset:"0",stopColor:"#208256"}),e.createElement("stop",{offset:".55",stopColor:"#19955a",stopOpacity:".2"}))),e.createElement("path",{d:"M17.64 0H6.05A2.05 2.05 0 0 0 4 2.05V28a2.05 2.05 0 0 0 2.05 2h17.72a2.05 2.05 0 0 0 2.05-2V8.18l-4.77-3.41z",fill:"#22a565"}),e.createElement("path",{d:"M18.23 7.58l7.59 7.58V8.18l-7.59-.6z",fill:`url(#${this.idPrefix}a)`}),e.createElement("path",{d:"M17.64 0v6.14a2 2 0 0 0 2 2h6.14z",fill:"#8ed1b1"}),e.createElement("path",{d:"M6.05 0A2.05 2.05 0 0 0 4 2.05v.17A2.05 2.05 0 0 1 6.05.17h11.59V0z",fill:"#fff",fillOpacity:".2"}),e.createElement("path",{d:"M19.68 8.18a2 2 0 0 1-2-2v.17a2 2 0 0 0 2 2h6.14v-.17z",fill:"#1a237e",fillOpacity:".1"}),e.createElement("path",{d:"M10 14v10h10V14zm1 1h3.5v2H11zm0 3h3.5v2H11zm0 5v-2h3.5v2zm8 0h-3.5v-2H19zm0-3h-3.5v-2H19zm0-3h-3.5v-2H19z",fill:"#f1f1f1"}))}}Fc(Nc,"defaultProps",{className:"",height:30,width:30});const Uc=Nc;function Bc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Hc="icon-google-slides";class Vc extends e.Component{constructor(...e){super(...e),Bc(this,"idPrefix",`${nt()(Hc)}-`)}render(){const{className:t,height:r,title:n,width:i}=this.props;return e.createElement(Yn,{className:`${Hc} ${t}`,height:r,title:n,viewBox:"0 0 30 30",width:i},e.createElement("defs",null,e.createElement("linearGradient",{gradientTransform:"matrix(2.67 0 0 -2.67 596.67 1357)",gradientUnits:"userSpaceOnUse",id:`${this.idPrefix}a`,x1:"-215.49",x2:"-215.49",y1:"505.79",y2:"503.19"},e.createElement("stop",{offset:"0",stopColor:"#d08714",stopOpacity:".88"}),e.createElement("stop",{offset:".55",stopColor:"#cf8714",stopOpacity:".2"}))),e.createElement("path",{d:"M17.64 0H6.05A2.05 2.05 0 0 0 4 2.05V28a2.05 2.05 0 0 0 2.05 2h17.72a2.05 2.05 0 0 0 2.05-2V8.18l-4.77-3.41z",fill:"#f4b912"}),e.createElement("path",{d:"M18.23 7.58l7.59 7.58V8.18l-7.59-.6z",fill:`url(#${this.idPrefix}a)`}),e.createElement("path",{d:"M17.64 0v6.14a2 2 0 0 0 2 2h6.14z",fill:"#fadc87"}),e.createElement("path",{d:"M6.05 0A2.05 2.05 0 0 0 4 2.05v.17A2.05 2.05 0 0 1 6.05.17h11.59V0z",fill:"#fff",fillOpacity:".2"}),e.createElement("path",{d:"M19.68 8.18a2 2 0 0 1-2-2v.17a2 2 0 0 0 2 2h6.14v-.17z",fill:"#1a237e",fillOpacity:".1"}),e.createElement("path",{d:"M10 15v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1zm9 6h-8v-4h8z",fill:"#f1f1f1"}))}}Bc(Vc,"defaultProps",{className:"",height:30,width:30});const zc=Vc;var $c=__webpack_require__(55562);function qc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Gc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qc(Object(r),!0).forEach((function(t){Wc(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Wc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Zc=(e,t)=>(0,$c.jsxs)("svg",Gc(Gc({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#000B1D",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 6.422 6.421a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("mask",{id:"FileAdobeExpress_svg__a",width:10,height:11,x:11,y:12,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"},children:(0,$c.jsx)("path",{fill:"white",d:"M18.023 13.892a2.202 2.202 0 0 0-2.028-1.345 2.21 2.21 0 0 0-2.036 1.35l-2.785 6.632a1.374 1.374 0 0 0 1.266 1.909h3.101a1.382 1.382 0 0 0-.004-2.765l-.53.004a.314.314 0 0 1-.289-.436l.989-2.355a.305.305 0 0 1 .567-.002L18.29 21.6c.277.63.804.835 1.269.836.985 0 1.65-1.003 1.266-1.91l-2.803-6.634Z"})}),(0,$c.jsxs)("g",{mask:"url(#FileAdobeExpress_svg__a)",children:[(0,$c.jsx)("path",{fill:"#FFFEFE",d:"M10.871 12.363H21.08v10.209H10.871z"}),(0,$c.jsx)("circle",{cx:15.124,cy:21.381,r:6.295,fill:"url(#FileAdobeExpress_svg__b)"}),(0,$c.jsx)("circle",{cx:14.954,cy:22.061,r:6.295,fill:"url(#FileAdobeExpress_svg__c)"}),(0,$c.jsx)("circle",{cx:20.229,cy:21.381,r:3.233,fill:"url(#FileAdobeExpress_svg__d)"}),(0,$c.jsx)("circle",{cx:15.805,cy:13.554,r:6.976,fill:"url(#FileAdobeExpress_svg__e)"}),(0,$c.jsx)("circle",{cx:13.253,cy:16.277,r:3.913,fill:"url(#FileAdobeExpress_svg__f)"}),(0,$c.jsx)("circle",{cx:14.955,cy:13.384,r:3.403,fill:"url(#FileAdobeExpress_svg__g)"}),(0,$c.jsx)("circle",{cx:17.336,cy:14.065,r:3.403,fill:"url(#FileAdobeExpress_svg__h)"}),(0,$c.jsx)("circle",{cx:18.698,cy:17.298,r:3.573,fill:"url(#FileAdobeExpress_svg__i)"}),(0,$c.jsx)("circle",{cx:11.552,cy:19.169,r:3.573,fill:"url(#FileAdobeExpress_svg__j)"}),(0,$c.jsx)("circle",{cx:19.208,cy:18.999,r:2.212,fill:"url(#FileAdobeExpress_svg__k)"})]}),(0,$c.jsxs)("defs",{children:[(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__b",cx:0,cy:0,r:1,gradientTransform:"rotate(90 -3.128 18.253) scale(6.29521)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#3084FE"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#3084FE",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__c",cx:0,cy:0,r:1,gradientTransform:"rotate(90 -3.554 18.508) scale(6.29521)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#3084FE"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#3084FE",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__d",cx:0,cy:0,r:1,gradientTransform:"rotate(90 -.576 20.805) scale(3.23268)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#6CE342"}),(0,$c.jsx)("stop",{offset:.585,stopColor:"#6CE342"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#6CE342",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__e",cx:0,cy:0,r:1,gradientTransform:"rotate(90 1.125 14.68) scale(6.97577)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#F20A00"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#F20A00",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__f",cx:0,cy:0,r:1,gradientTransform:"rotate(90 -1.512 14.765) scale(3.91324)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#FF43E3"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#FF43E3",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__g",cx:0,cy:0,r:1,gradientTransform:"rotate(90 .785 14.17) scale(3.40282)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#F20A00"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#F20A00",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__h",cx:0,cy:0,r:1,gradientTransform:"rotate(90 1.636 15.7) scale(3.40282)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#FE3E00"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#FE3E00",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__i",cx:0,cy:0,r:1,gradientTransform:"rotate(90 .7 17.998) scale(3.57296)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#FFC800"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#FFC800",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__j",cx:0,cy:0,r:1,gradientTransform:"rotate(90 -3.809 15.36) scale(3.57296)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#E059FD"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#E059FD",stopOpacity:0})]}),(0,$c.jsxs)("radialGradient",{id:"FileAdobeExpress_svg__k",cx:0,cy:0,r:1,gradientTransform:"rotate(90 .104 19.103) scale(2.21183)",gradientUnits:"userSpaceOnUse",children:[(0,$c.jsx)("stop",{stopColor:"#F6E30A"}),(0,$c.jsx)("stop",{offset:1,stopColor:"#FFCF6E",stopOpacity:0})]})]})]})),Xc=(0,e.forwardRef)(Zc);function Kc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Kc(Object(r),!0).forEach((function(t){Yc(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Yc(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Jc=(e,t)=>(0,$c.jsxs)("svg",Qc(Qc({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#9F3FED",d:"M9 3h9.172a2 2 0 0 1 1.414.586l5.83 5.828A2 2 0 0 1 26 10.83V26a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M18.75 17h-5.5a.25.25 0 0 0-.25.25v4.25a1.5 1.5 0 1 1-1.5-1.5.9.9 0 0 1 .5.1v-6.35a.75.75 0 0 1 .75-.75h6.5a.75.75 0 0 1 .75.75v7.75a1.5 1.5 0 1 1-1.5-1.5.9.9 0 0 1 .5.1v-2.85a.25.25 0 0 0-.25-.25Zm-5.5-1h5.5a.25.25 0 0 0 .25-.25V14.5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0-.5.5v1.25c0 .138.112.25.25.25Z"})]})),eu=(0,e.forwardRef)(Jc);function tu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ru(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tu(Object(r),!0).forEach((function(t){nu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const iu=(e,t)=>(0,$c.jsxs)("svg",ru(ru({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D3D3D3",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#4E4E4E",d:"M16.488 21.04c.242-.243.523-.3.772-.065.25.237.177.53-.065.773l-.745.745c-1.376 1.376-3.538 1.2-4.841-.109-1.294-1.299-1.48-3.46-.12-4.818l.735-.737c.242-.243.55-.34.8-.103.25.236.17.537-.073.78l-.736.737c-.958.961-.93 2.4.1 3.434 1.032 1.035 2.48 1.059 3.404.133l.769-.77Zm1.557-1.557.77-.77c.926-.922.9-2.37-.133-3.402-1.035-1.03-2.473-1.059-3.434-.101l-.737.736c-.243.242-.545.324-.78.074-.237-.25-.14-.558.102-.8l.738-.735c1.358-1.36 3.519-1.175 4.818.12 1.308 1.302 1.485 3.464.108 4.84l-.745.745c-.243.243-.536.315-.772.065s-.178-.53.065-.772Zm-3.518.695c-.244.244-.6.282-.794.087-.196-.195-.157-.55.087-.794l2.654-2.654c.243-.244.599-.283.794-.087.195.195.156.55-.087.794l-2.654 2.654Z"})]})),ou=(0,e.forwardRef)(iu);function au(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function su(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?au(Object(r),!0).forEach((function(t){lu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):au(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function lu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const cu=(e,t)=>(0,$c.jsxs)("svg",su(su({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D3D3D3",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#9725DD",fillRule:"evenodd",d:"m18.526 14.146-.92 1.375h-6.92a.686.686 0 1 1 .001-1.375h7.839Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#0061D5",fillRule:"evenodd",d:"m16.379 17.583-.92 1.375h-4.762a.69.69 0 0 1-.697-.687c0-.38.31-.688.697-.688h5.682Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#00C8C0",fillRule:"evenodd",d:"m14.23 21.02-.423.637c-.097.154-.174.32-.23.493l-.03.118-.028.127h-2.83a.687.687 0 0 1 0-1.374h3.542v-.001Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"black",fillRule:"evenodd",d:"m14.841 21.332 4.64-6.72.053.092c.074.114.235.322.538.541.456.329.797.374.797.374l-4.64 6.72a2.558 2.558 0 0 1-.461.483l-1.373 1.037c-.146.11-.234.054-.193-.14l.372-1.764c.04-.187.156-.46.267-.623Zm6.648-8.163c.373.272.407.704.407.704a3.57 3.57 0 0 1-.314.607l-.28.417-.09-.016a1.714 1.714 0 0 1-.632-.282c-.35-.255-.628-.687-.628-.687l.28-.418c.106-.158.284-.397.448-.51l.074-.009c.14-.012.456-.01.735.194Z",clipRule:"evenodd"})]})),uu=(0,e.forwardRef)(cu);function du(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?du(Object(r),!0).forEach((function(t){fu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):du(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const pu=(e,t)=>(0,$c.jsxs)("svg",hu(hu({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#F1811A",d:"M9 3h9.585a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M14.999 15.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm3.73 4.521c.125-.016.439-.059.912.059l.09.022c.674.164 2.394.583 4.479 2.218.197.167.698.602.781.675.038.034.214.211.411.41.24.242.51.515.6.598V26a99.96 99.96 0 0 0-.238-.237 71.28 71.28 0 0 1-.925-.934c-.523-.542-.878-.87-1.346-1.301-.47-.43-1.733-1.361-2.489-1.675-.755-.313-1.08-.444-1.397-.49l.007.021a1.284 1.284 0 0 0 .067.172c.016.034.029.06.04.104l.238.524.031.067.009.02a.627.627 0 0 1 .017.038l.182.422c.266.613.465 1.108.594 1.473.177.502.27.925.153 1.285-.116.36-.398.508-.755.508-.537 0-1.302-.421-1.543-.567l-.085-.052a7.184 7.184 0 0 1-.622-.413 2.96 2.96 0 0 1-.529-.455l-.045-.049c-.094-.097-.319-.333-.36-.657-.022-.183.002-.398.108-.55.061-.088.159-.215.44-.25a.649.649 0 0 1 .436.133c.051.036.151.137.27.255a6.03 6.03 0 0 0 .608.555c.203.166.445.364.602.425-.031-.072-.089-.195-.146-.318v-.001a27.93 27.93 0 0 1-.138-.297 11.238 11.238 0 0 0-.193-.41c-.333-.684-.664-1.381-.808-1.814l-.024-.073c-.13-.387-.204-.612-.128-.884.052-.185.11-.32.337-.438.09-.047.23-.098.348-.113l.01-.002Zm.709-6.778 2.483 3.974a.511.511 0 0 1-.439.783h-4.966a.515.515 0 0 1-.44-.783l2.484-3.974a.519.519 0 0 1 .878 0Zm-9.439 7.579c0-.454.368-.822.822-.822h3.356c.454 0 .822.368.822.822v3.356a.822.822 0 0 1-.822.822h-3.356a.822.822 0 0 1-.822-.822v-3.356Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.285 3.286 6.421 6.421a.999.999 0 0 1 .203.293H21a2 2 0 0 1-1.995-1.85L18.998 8V3.09a.999.999 0 0 1 .287.196Z"})]})),mu=(0,e.forwardRef)(pu);function bu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bu(Object(r),!0).forEach((function(t){yu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const vu=(e,t)=>(0,$c.jsxs)("svg",gu(gu({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#E33D55",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M17.553 13.776a.5.5 0 0 1 .894.448l-4 8a.5.5 0 0 1-.894-.448l4-8Zm-4.83 1.808a.5.5 0 1 1 .554.832L10.901 18l2.376 1.584a.5.5 0 1 1-.554.832l-3-2a.5.5 0 0 1 0-.832l3-2Zm6.554 0 3 2a.5.5 0 0 1 0 .832l-3 2a.502.502 0 0 1-.778-.513.5.5 0 0 1 .224-.319L21.1 18l-2.376-1.584a.5.5 0 0 1 .554-.832Z"})]})),wu=(0,e.forwardRef)(vu);function Eu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Su(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Eu(Object(r),!0).forEach((function(t){xu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Eu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ou=(e,t)=>(0,$c.jsxs)("svg",Su(Su({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D3D3D3",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"})]})),Pu=(0,e.forwardRef)(Ou);function Cu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ku(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Cu(Object(r),!0).forEach((function(t){_u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Au=(e,t)=>(0,$c.jsxs)("svg",ku(ku({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D0021B",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 6.422 6.421a1 1 0 0 1 .203.293H21a2 2 0 0 1-1.995-1.85L19 8V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M21.5 24c.245 0 .45.183.492.412L22 24.5c0 .276-.23.5-.5.5h-7a.505.505 0 0 1-.5-.5c0-.276.23-.5.5-.5h7Zm0-3c.245 0 .45.183.492.412L22 21.5c0 .276-.229.5-.5.5h-11a.505.505 0 0 1-.5-.5c0-.276.229-.5.5-.5h11ZM17 12v2.5h2.5v2H17V19h-2v-2.5h-2.5v-2H15V12h2Z",clipRule:"evenodd"})]})),Tu=(0,e.forwardRef)(Au);function ju(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Iu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ju(Object(r),!0).forEach((function(t){Du(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ju(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Du(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Mu=(e,t)=>(0,$c.jsxs)("svg",Iu(Iu({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#4826C2",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M10 22.923c0-.51.413-.923.923-.923h7.385c.51 0 .923.413.923.923v.154c0 .51-.414.923-.923.923h-7.385a.923.923 0 0 1-.923-.923v-.154ZM12.77 18.923c0-.51.412-.923.922-.923h7.385c.51 0 .923.413.923.923v.154c0 .51-.413.923-.923.923h-7.385a.923.923 0 0 1-.923-.923v-.154ZM10 14.923c0-.51.413-.923.923-.923h6.154c.51 0 .923.413.923.923v.154c0 .51-.413.923-.923.923h-6.154a.923.923 0 0 1-.923-.923v-.154Z"})]})),Ru=(0,e.forwardRef)(Mu);function Fu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Lu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fu(Object(r),!0).forEach((function(t){Nu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Nu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Uu=(e,t)=>(0,$c.jsxs)("svg",Lu(Lu({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#0061D5",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M17.5 21c.245 0 .45.183.492.412L18 21.5c0 .276-.23.5-.5.5h-7a.505.505 0 0 1-.5-.5c0-.276.23-.5.5-.5h7Zm4-3c.245 0 .45.183.492.412L22 18.5c0 .276-.229.5-.5.5h-11a.505.505 0 0 1-.5-.5c0-.276.229-.5.5-.5h11Zm-1.001-3c.246 0 .45.183.493.412L21 15.5c0 .276-.23.5-.501.5H10.5a.506.506 0 0 1-.501-.5c0-.276.23-.5.501-.5h10-.001Z",clipRule:"evenodd"})]})),Bu=(0,e.forwardRef)(Uu);function Hu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hu(Object(r),!0).forEach((function(t){zu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function zu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const $u=(e,t)=>(0,$c.jsxs)("svg",Vu(Vu({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#4083F7",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M16 23v1h-6v-1h6Zm5-3v1H10v-1h11Zm0-3v1H10v-1h11Zm0-3v1H10v-1h11Z",clipRule:"evenodd"})]}));function qu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Gu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qu(Object(r),!0).forEach((function(t){Wu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Wu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Zu=(e,t)=>(0,$c.jsxs)("svg",Gu(Gu({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#009AED",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M18 18v-2h-2v-4h-1v4h-2v2H9v1h4v2h2v4h1v-4h2v-2h4v-1h-4Zm-1 2h-3v-3h3v3Z"})]}));function Xu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ku(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xu(Object(r),!0).forEach((function(t){Qu(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qu(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Yu=(e,t)=>(0,$c.jsxs)("svg",Ku(Ku({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#107C41",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 0 1 .293.707V26A3.002 3.002 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"#87BDA0",d:"m19.286 3.286 6.422 6.421a.994.994 0 0 1 .203.293H21a2.001 2.001 0 0 1-1.995-1.85L19 8V3.09c.105.048.202.114.286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M20.25 25a.748.748 0 0 0 .75-.75v-10.5a.748.748 0 0 0-.75-.75H12a.748.748 0 0 0-.75.75v1.5h-1.5A.748.748 0 0 0 9 16v6a.748.748 0 0 0 .75.75h1.5v1.5A.748.748 0 0 0 12 25h8.25Zm-4.5-9.75H12v-1.5h3.75v1.5Zm4.5 0H16.5v-1.5h3.75v1.5Zm0 3H16.5V16h3.75v2.25Zm-8.344 3.188h-1.511l1.582-2.45-1.442-2.425h1.518l.756 1.494.82-1.494h1.43l-1.483 2.42 1.518 2.454H13.6l-.838-1.564-.856 1.564v.001Zm8.344-.188H16.5V19h3.75v2.25Zm0 3H16.5V22h3.75v2.25Zm-4.5 0H12v-1.5h3.75v1.5Z"})]}));function Ju(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ed(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ju(Object(r),!0).forEach((function(t){td(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ju(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function td(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const rd=(e,t)=>(0,$c.jsxs)("svg",ed(ed({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#051E25",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#FF9400",fillRule:"evenodd",d:"M20.42 15.805c.072 0 .108.027.108.107v6.982c0 .07-.018.106-.107.106h-1.393c-.09 0-.117-.044-.117-.115v-6.973h-.009c0-.071.027-.107.108-.107h1.41Zm-5.813-2.557c.063 0 .09.017.108.088l2.857 9.549c.018.07 0 .115-.072.115h-1.49c-.072 0-.117-.018-.135-.08l-.737-2.663h-2.875l-.71 2.655c-.018.07-.045.088-.135.088h-1.32c-.09 0-.109-.027-.09-.133l2.551-8.796c.045-.16.072-.301.09-.735 0-.062.027-.088.072-.088h1.887Zm-.917 1.416h-.018c-.188 1.035-.665 2.787-1.042 4.159h2.13c-.252-.982-.845-3.124-1.07-4.16v.001ZM19.72 13c.548 0 .916.363.916.903 0 .584-.386.902-.934.902-.52 0-.899-.318-.899-.902 0-.567.404-.903.917-.903Z",clipRule:"evenodd"})]}));function nd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function id(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nd(Object(r),!0).forEach((function(t){od(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function od(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ad=(e,t)=>(0,$c.jsxs)("svg",id(id({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#3FB87F",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"m14.754 18.128 3.102 3.204 1.327-1.625c.158-.193.415-.193.575 0l2.06 2.485c.37.446.159.808-.472.808H10.63c-.633 0-.82-.341-.414-.767l3.9-4.089a.444.444 0 0 1 .64-.016h-.002ZM17.5 14a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z",clipRule:"evenodd"})]}));function sd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ld(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sd(Object(r),!0).forEach((function(t){cd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function cd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ud=(e,t)=>(0,$c.jsxs)("svg",ld(ld({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#051E25",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#FF57A1",fillRule:"evenodd",d:"M19.866 13c.071 0 .09.027.09.072v8.385c0 .251 0 .565.044.906 0 .063-.018.072-.08.108a5.448 5.448 0 0 1-2.342.529c-1.975 0-3.387-1.229-3.387-3.73-.01-2.144 1.403-3.813 3.664-3.813.188 0 .295 0 .474.018V13.09c0-.063.044-.09.09-.09h1.447Zm-7.364 0c.071 0 .107.027.107.108v9.64c0 .09-.018.117-.116.117h-1.377c-.09 0-.116-.044-.116-.116v-9.632c0-.09.045-.117.116-.117h1.386Zm5.3 3.83c-1.154 0-1.958.888-1.958 2.367 0 1.686.822 2.368 1.85 2.368.224 0 .456-.027.635-.108V16.92a1.282 1.282 0 0 0-.528-.09h.001Z",clipRule:"evenodd"})]}));function dd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dd(Object(r),!0).forEach((function(t){fd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const pd=(e,t)=>(0,$c.jsxs)("svg",hd(hd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#0A84FF",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"m20.991 16.925-.697-4.338a.697.697 0 0 0-.688-.587h-8.212a.697.697 0 0 0-.688.587l-.697 4.338a.698.698 0 0 0 .688.807h9.606a.698.698 0 0 0 .688-.807Zm-3.012 7.3h-2.092V18.2h-.774v6.025H13.02c-.31 0-.465.155-.465.387 0 .233.155.388.465.388h4.958c.31 0 .465-.155.465-.387 0-.233-.155-.388-.465-.388Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#66C155",fillRule:"evenodd",d:"m15.5 14.169-1.047 1.253c.294.186.656.296 1.047.296.391 0 .753-.11 1.047-.296.301-.19.53-.46.648-.774l-1.695-.479Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#FA9E27",fillRule:"evenodd",d:"M13.805 14.648a1.365 1.365 0 0 1 0-.958l1.695.479-1.695.479Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#AB4287",fillRule:"evenodd",d:"M14.453 12.916a1.958 1.958 0 0 1 1.047-.296v1.549l-1.047-1.253Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#61D9FE",fillRule:"evenodd",d:"M17.195 13.69a1.584 1.584 0 0 0-.648-.774 1.957 1.957 0 0 0-1.047-.296v1.549l1.695.479a1.365 1.365 0 0 0 0-.958Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#FBCE5A",fillRule:"evenodd",d:"M14.453 15.422c-.301-.19-.53-.46-.648-.774l1.695-.479-1.047 1.253Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#E85A5E",fillRule:"evenodd",d:"M13.805 13.69a1.58 1.58 0 0 1 .648-.774l1.047 1.253-1.695-.479Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"#C7E8FD",fillRule:"evenodd",d:"M19.311 16.338H11.69c-.248 0-.372.124-.372.31s.124.31.372.31h7.622c.248 0 .372-.124.372-.31s-.124-.31-.372-.31Z",clipRule:"evenodd"})]}));function md(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?md(Object(r),!0).forEach((function(t){gd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):md(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function gd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const yd=(e,t)=>(0,$c.jsxs)("svg",bd(bd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#00A650",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M10 21.529v-.1l.001-.084c.002-.062.006-.123.017-.184a.616.616 0 0 1 .164-.322.584.584 0 0 1 .322-.165c.06-.011.123-.015.184-.017h.084l.1-.001h.47a16.617 16.617 0 0 1 .185.001c.06.002.122.006.183.017a.616.616 0 0 1 .322.165.585.585 0 0 1 .165.322c.01.06.014.122.016.183a3.95 3.95 0 0 1 .001.185v2.003l-.001.084a1.224 1.224 0 0 1-.016.183.618.618 0 0 1-.165.323.584.584 0 0 1-.322.165 1.21 1.21 0 0 1-.183.016l-.084.001h-.673l-.084-.001a1.207 1.207 0 0 1-.182-.016.616.616 0 0 1-.323-.165.587.587 0 0 1-.165-.323 1.24 1.24 0 0 1-.016-.183v-.084l-.001-.1v-1.903Zm2.928-3.076v-.1l.002-.085a1.14 1.14 0 0 1 .016-.183.62.62 0 0 1 .165-.322.587.587 0 0 1 .322-.166c.06-.01.122-.014.183-.016h.084l.1-.001h.571l.084.001c.061.002.123.006.183.017a.616.616 0 0 1 .322.165.588.588 0 0 1 .165.322c.01.06.014.122.016.183l.001.085v5.263a1.237 1.237 0 0 1-.017.183.618.618 0 0 1-.165.323.585.585 0 0 1-.322.165 1.21 1.21 0 0 1-.183.016 3.93 3.93 0 0 1-.084.001H13.7l-.084-.001a1.208 1.208 0 0 1-.183-.016.616.616 0 0 1-.322-.165.585.585 0 0 1-.165-.323 1.212 1.212 0 0 1-.016-.183 3.93 3.93 0 0 1-.002-.084v-5.08Zm2.929-5.58v-.1c0-.028 0-.056.002-.084.001-.062.005-.123.016-.184a.62.62 0 0 1 .165-.322.586.586 0 0 1 .322-.165c.06-.011.122-.015.183-.017h.084l.1-.001h.471a16.584 16.584 0 0 1 .184.001c.06.002.122.006.183.017a.619.619 0 0 1 .322.165.588.588 0 0 1 .165.322c.01.06.014.122.016.184l.001.084v10.759l-.001.084a1.238 1.238 0 0 1-.016.183.62.62 0 0 1-.165.323.585.585 0 0 1-.322.165c-.06.01-.122.014-.183.016a3.93 3.93 0 0 1-.084.001h-.671l-.084-.001a1.234 1.234 0 0 1-.183-.016.619.619 0 0 1-.322-.165.585.585 0 0 1-.165-.323 1.21 1.21 0 0 1-.016-.183 3.93 3.93 0 0 1-.002-.084v-10.66Zm2.928 3.147v-.1l.002-.084a1.21 1.21 0 0 1 .016-.183.62.62 0 0 1 .165-.323.587.587 0 0 1 .322-.165c.06-.01.122-.014.183-.016l.084-.001h.571a16.584 16.584 0 0 1 .184.001c.061.002.123.005.183.016a.615.615 0 0 1 .322.165.587.587 0 0 1 .165.323c.011.06.015.122.016.183l.002.085v7.609c0 .029 0 .057-.002.085a1.224 1.224 0 0 1-.016.183.62.62 0 0 1-.165.323.585.585 0 0 1-.322.165c-.06.01-.122.014-.183.016a3.92 3.92 0 0 1-.084.001h-.671l-.084-.001a1.208 1.208 0 0 1-.183-.016.617.617 0 0 1-.322-.165.585.585 0 0 1-.165-.323 1.213 1.213 0 0 1-.016-.183 3.94 3.94 0 0 1-.001-.084V16.02Z",clipRule:"evenodd"})]}));function vd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vd(Object(r),!0).forEach((function(t){Ed(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ed(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Sd=(e,t)=>(0,$c.jsxs)("svg",wd(wd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D0021B",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M13.133 16.998c0 .354-.054.66-.162.918a1.744 1.744 0 0 1-1.044 1.012c-.222.08-.457.121-.693.122h-.62v2.322H9.2V15h1.98c.228 0 .457.033.688.099a1.655 1.655 0 0 1 1.09.945c.117.258.175.576.175.954Zm-1.35.027c0-.288-.069-.495-.207-.621a.72.72 0 0 0-.504-.189h-.459v1.665h.46a.664.664 0 0 0 .503-.22c.138-.148.207-.359.207-.635Zm6.854 1.179c0 .48-.052.915-.157 1.305-.106.39-.266.723-.482.999a2.14 2.14 0 0 1-.824.639c-.333.15-.727.225-1.183.225h-1.79V15h1.79c.456 0 .85.075 1.183.225.334.15.608.364.824.643.216.28.376.615.482 1.008.105.394.157.836.157 1.328Zm-1.449 0c0-.642-.11-1.126-.328-1.454-.22-.327-.503-.49-.85-.49h-.352v3.852h.351c.348 0 .631-.163.85-.49.22-.328.33-.8.33-1.418Zm3.961-1.899v1.296h1.521v1.233h-1.512v2.538H19.7V15h3.105v1.305H21.15Z"})]}));function xd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Od(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xd(Object(r),!0).forEach((function(t){Pd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Cd=(e,t)=>(0,$c.jsxs)("svg",Od(Od({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#FF9500",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.414 6.414a1 1 0 0 1 .293.707V26a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#FFC78A",fillRule:"evenodd",d:"M21.686 24.179H11.52l-1.418.63h11.583c.173 0 .314-.14.314-.314v-.002a.314.314 0 0 0-.314-.314Z",clipRule:"evenodd"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"m9.42 23.653-.399.683a.158.158 0 0 0 .216.216l.683-.399-.5-.5Zm.233-.397.664.664c.049.05.124.06.185.028a7.674 7.674 0 0 0 1.863-1.368l3.427-3.427-1.372-1.372-3.427 3.427a7.677 7.677 0 0 0-1.368 1.863.158.158 0 0 0 .028.185Zm6.454-4.418a.158.158 0 0 0 .223 0l.785-.804c4.412-4.412 4.727-5.515 4.333-5.91-.394-.393-1.497-.078-5.909 4.334l-.804.785a.158.158 0 0 0 0 .223l1.372 1.372Z",clipRule:"evenodd"})]}));function kd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kd(Object(r),!0).forEach((function(t){Ad(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ad(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Td=(e,t)=>(0,$c.jsxs)("svg",_d(_d({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#051E25",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#26C9FF",fillRule:"evenodd",d:"M19.527 15.491c.79 0 1.34.116 1.643.25.074.045.092.116.092.179v1.223c0 .071-.046.116-.138.09-.403-.25-1-.403-1.597-.403-.725 0-.973.358-.973.652 0 .322.166.545 1.139 1.036 1.44.678 1.89 1.33 1.89 2.286 0 1.428-1.12 2.196-2.634 2.196-.798 0-1.487-.16-1.881-.384-.065-.027-.074-.071-.074-.143v-1.312c0-.09.046-.116.11-.072.579.366 1.24.527 1.845.527.725 0 1.028-.295 1.028-.696 0-.322-.211-.607-1.138-1.072-1.303-.607-1.845-1.223-1.845-2.25 0-1.152.927-2.107 2.533-2.107ZM12.57 13c2.542 0 3.534 1.357 3.534 3.09 0 2.267-1.69 3.24-3.763 3.24-.35 0-.469-.017-.716-.017v3.428c0 .071-.028.107-.11.107H10.11c-.073 0-.11-.027-.11-.107v-9.59c0-.062.129-.106.202-.106.587-.027 1.46-.045 2.368-.045Zm-.055 1.42c-.367 0-.716.018-.881.026v3.447c.21.018.376.018.743.018 1.074 0 2.084-.366 2.084-1.786 0-1.134-.725-1.705-1.946-1.705Z",clipRule:"evenodd"})]}));function jd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Id(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jd(Object(r),!0).forEach((function(t){Dd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Dd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Md=(e,t)=>(0,$c.jsxs)("svg",Id(Id({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#C43E1C",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 0 1 .293.707V26A3.002 3.002 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"#E19E8D",d:"m19.286 3.286 6.422 6.421a.994.994 0 0 1 .203.293H21a2.001 2.001 0 0 1-1.995-1.85L19 8V3.09c.105.048.202.114.286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M16 24a5.947 5.947 0 0 0 4.239-1.76 6.07 6.07 0 0 0 .94-1.214c.262-.443.465-.92.607-1.432A5.862 5.862 0 0 0 22 18a5.947 5.947 0 0 0-1.76-4.239 6.07 6.07 0 0 0-1.214-.94 5.894 5.894 0 0 0-1.432-.607A5.862 5.862 0 0 0 16 12c-.457 0-.904.05-1.342.152a6.123 6.123 0 0 0-1.257.44c-.4.191-.776.427-1.128.706-.351.28-.67.597-.955.952h-.568A.748.748 0 0 0 10 15v6a.748.748 0 0 0 .75.75h.568c.286.355.604.673.955.952.352.28.728.515 1.128.706.4.192.82.338 1.257.44.438.101.885.152 1.342.152Zm0-9.75h-3.668A5.186 5.186 0 0 1 16 12.75v1.5Zm5.197 3H17.5V15a.73.73 0 0 0-.219-.527.847.847 0 0 0-.241-.161.703.703 0 0 0-.29-.062v-1.447a5.086 5.086 0 0 1 1.617.512c.504.26.951.585 1.342.976.39.39.716.838.976 1.342.26.504.43 1.043.512 1.617Zm-7.869 3.188h-1.213v-4.875h1.887c.258 0 .495.03.712.093.217.063.402.16.557.29.154.131.275.297.363.498.088.202.132.439.132.712 0 .266-.047.503-.141.712-.094.21-.223.386-.387.53a1.688 1.688 0 0 1-.577.331c-.22.077-.458.115-.712.115h-.62v1.593l-.001.001Zm.527-2.655c.207 0 .369-.043.484-.129.115-.086.173-.24.173-.463 0-.214-.056-.36-.167-.439-.112-.078-.267-.117-.466-.117h-.55v1.148h.526ZM16 23.25a5.186 5.186 0 0 1-3.668-1.5h4.418a.748.748 0 0 0 .75-.75v-3.006h3.75c0 .485-.063.95-.188 1.395a5.251 5.251 0 0 1-1.353 2.32 5.258 5.258 0 0 1-2.317 1.353A5.155 5.155 0 0 1 16 23.25Z"})]}));function Rd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rd(Object(r),!0).forEach((function(t){Ld(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ld(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Nd=(e,t)=>(0,$c.jsxs)("svg",Fd(Fd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M15.643 20.354a.5.5 0 0 0 .707 0l5.003-5a.5.5 0 1 0-.706-.708l-4.65 4.647-1.647-1.647a.5.5 0 0 0-.707 0L9.646 21.65a.5.5 0 0 0 .708.707l3.643-3.649 1.646 1.647v-.001Z"})]}));function Ud(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ud(Object(r),!0).forEach((function(t){Hd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ud(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Hd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Vd=(e,t)=>(0,$c.jsxs)("svg",Bd(Bd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#21A464",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M20.499 14c.277 0 .501.228.501.51v8.98c0 .282-.23.51-.501.51H10.5a.503.503 0 0 1-.5-.51v-8.98c0-.282.229-.51.5-.51h10-.001ZM11 21v2h4v-2.001L11 21Zm5 0v2h4v-2h-4Zm4-3h-4v2h4v-2Zm0-3h-4v2h4v-2Zm-5 0h-4v2l4-.001V15Zm-4 5 4-.001v-2L11 18v2Z"})]}));function zd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zd(Object(r),!0).forEach((function(t){qd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Gd=(e,t)=>(0,$c.jsxs)("svg",$d($d({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#F7BA00",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M10 14v9c0 .6.4 1 1 1h9c.6 0 1-.4 1-1v-9c0-.6-.4-1-1-1h-9c-.6 0-1 .4-1 1Zm10 7h-9v-5h9v5Z"})]}));function Wd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wd(Object(r),!0).forEach((function(t){Xd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Kd=(e,t)=>(0,$c.jsxs)("svg",Zd(Zd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#3FB87F",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M22 23.49c0 .282-.229.51-.5.51h-11a.508.508 0 0 1-.5-.51v-8.98c0-.282.229-.51.5-.51h11c.276 0 .5.228.5.51v8.98ZM11 23h2v-2h-2v2Zm10-2h-7v2h7v-2Zm0-1v-2h-7v2h7Zm-10 0h2v-2h-2v2Zm10-3v-2h-7v2h7Zm-8-2h-2v2h2v-2Z"})]}));function Qd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qd(Object(r),!0).forEach((function(t){Jd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Jd(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const eh=(e,t)=>(0,$c.jsxs)("svg",Yd(Yd({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"m20 14.068-3.6-1.85c-.5-.291-1.3-.291-1.8 0l-3.6 1.85c-.6.292-1 .973-1 1.556v4.768c0 .681.4 1.265 1 1.557l3.6 1.849c.496.27 1.234.27 1.8 0l3.6-1.849c.6-.292 1-.973 1-1.557v-4.768c0-.583-.4-1.264-1-1.556Zm-8.6 7.103c-.2-.098-.4-.487-.4-.681v-4.768c0-.292.2-.584.4-.681l3.6-1.85c.2-.096.6-.096.9 0l3.6 1.85c.1.061.154.134.2.194l-4.2 1.761v6.12c-.2 0-.282-.05-.4-.097l-3.7-1.848Z"})]}));function th(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?th(Object(r),!0).forEach((function(t){nh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):th(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ih=(e,t)=>(0,$c.jsxs)("svg",rh(rh({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D3D3D3",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 0 1 .293.707V26A3.002 3.002 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"#222222",fillRule:"evenodd",d:"M15.22 11.375c.4-.5 1.16-.5 1.56 0l4 5A.999.999 0 0 1 20 18h-2.005l-.009 4.002a1 1 0 0 1-1 .998H15a1 1 0 0 1-1-1v-.002L14.007 18H12a1 1 0 0 1-.846-1.534l.065-.09 4.001-5.001Z",clipRule:"evenodd"})]}));function oh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ah(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oh(Object(r),!0).forEach((function(t){sh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function sh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const lh=(e,t)=>(0,$c.jsxs)("svg",ah(ah({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"m13.195 17.07.005.01c.12.312.292.6.504.851l-.424.254c-1.414.847-2.452 2.33-2.715 3.992a1 1 0 1 1-1-.078c.29-1.994 1.517-3.763 3.2-4.772l.43-.257Zm5.618.003.429.256c1.687 1.008 2.91 2.77 3.197 4.77a1 1 0 1 1-1.002.073c-.26-1.664-1.293-3.14-2.708-3.985l-.43-.256.013-.019c.194-.235.354-.5.47-.787l.03-.052ZM16 14a2 2 0 0 1 1.937 1.5h4.592c.26 0 .47.21.47.47v.06c0 .26-.21.47-.47.47l-4.592.001a2 2 0 0 1-3.874 0L9.47 16.5a.47.47 0 0 1-.47-.47v-.06c0-.26.21-.47.47-.47h4.592A2 2 0 0 1 16 14Zm0 1a1 1 0 0 0-1 .98v.039l.007.098A1 1 0 1 0 16 15Z"})]}));function ch(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function uh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ch(Object(r),!0).forEach((function(t){dh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ch(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const hh=(e,t)=>(0,$c.jsxs)("svg",uh(uh({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#009AED",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"m19.723 18.973-5.914 3.957a.543.543 0 0 1-.809-.473v-7.914a.543.543 0 0 1 .809-.473l5.914 3.957a.544.544 0 0 1 0 .946Z",clipRule:"evenodd"})]}));function fh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ph(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fh(Object(r),!0).forEach((function(t){mh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function mh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const bh=(e,t)=>(0,$c.jsxs)("svg",ph(ph({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#185ABD",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 0 1 .293.707V26A3.002 3.002 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"#8BACDE",d:"m19.286 3.286 6.422 6.421a.994.994 0 0 1 .203.293H21a2.001 2.001 0 0 1-1.995-1.85L19 8V3.09c.105.048.202.114.286.196Z"}),(0,$c.jsx)("path",{fill:"white",d:"M20.25 25a.748.748 0 0 0 .75-.75v-10.5a.748.748 0 0 0-.75-.75H12a.748.748 0 0 0-.75.75v1.5h-1.5A.748.748 0 0 0 9 16v6a.748.748 0 0 0 .75.75h1.5v1.5A.748.748 0 0 0 12 25h8.25Zm0-9.75H12v-1.5h8.25v1.5Zm0 3H16.5V16h3.75v2.25Zm-8.104 3.188h-1.26l-1.083-4.875h1.207l.55 2.8.61-2.8h1.184l.638 2.783.51-2.784h1.195l-1.078 4.875h-1.242l-.633-2.8-.598 2.8v.001Zm8.104-.188H16.5V19h3.75v2.25Zm0 3H12v-1.5h3.75a.748.748 0 0 0 .75-.75h3.75v2.25Z"})]}));function gh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?gh(Object(r),!0).forEach((function(t){vh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function vh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const wh=(e,t)=>(0,$c.jsxs)("svg",yh(yh({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#00838D",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M14.583 16v5h2.122c.498 0 .913-.137 1.205-.395.294-.259.452-.63.452-1.076v-.007c0-.565-.34-1.026-.84-1.186.372-.18.625-.588.625-1.034v-.007c0-.394-.14-.722-.404-.95-.263-.227-.638-.345-1.09-.345h-2.07Zm4.594 0v5h1.872c.697 0 1.255-.228 1.637-.667.38-.438.575-1.071.575-1.861v-.007c0-.767-.197-1.386-.58-1.813-.383-.429-.94-.652-1.632-.652h-1.872Zm-2.765.948c.208 0 .358.054.455.14.095.084.15.21.15.38v.007c0 .171-.058.295-.163.38-.108.086-.279.14-.52.14h-.605v-1.047h.683Zm.031 1.911c.265 0 .453.058.573.154.117.092.182.232.182.43v.006c0 .205-.064.348-.178.443-.116.098-.297.157-.555.157h-.737v-1.19h.715Zm3.879 1.11V17.03h.578c.383 0 .677.132.878.37.203.24.32.602.32 1.08v.007c0 .498-.114.868-.315 1.11-.198.24-.492.37-.883.37h-.578ZM9 20.996h1.35l1.033-1.62 1.035 1.62h1.415l-1.656-2.503L13.858 16H12.46l-.996 1.665L10.461 16H9.005l1.62 2.475L9 20.995Z",clipRule:"evenodd"})]}));function Eh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Eh(Object(r),!0).forEach((function(t){xh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Eh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Oh=(e,t)=>(0,$c.jsxs)("svg",Sh(Sh({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#00838D",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"white",fillRule:"evenodd",d:"M9.352 21H8l1.627-2.523L8.005 16h1.457l1.004 1.666.997-1.666h1.4l-1.683 2.495L12.837 21H11.42l-1.036-1.62L9.352 21Zm3.918 0v-5h2.035c.75 0 1.354.222 1.771.649.417.427.634 1.046.634 1.816v.007c0 .792-.214 1.427-.629 1.864-.416.438-1.021.664-1.776.664H13.27Zm6.01 0-1.356-5h1.283l.717 3.208.838-3.208h1.024l.854 3.21.71-3.21h1.277l-1.358 5h-1.117l-.88-3.057L20.405 21H19.28Zm-4.78-3.969v2.938h.64c.433 0 .757-.133.975-.374.218-.243.342-.61.342-1.107v-.006c0-.476-.127-.837-.348-1.078-.22-.239-.545-.373-.969-.373h-.64Z",clipRule:"evenodd"})]}));function Ph(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ch(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ph(Object(r),!0).forEach((function(t){kh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ph(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function kh(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _h=(e,t)=>(0,$c.jsxs)("svg",Ch(Ch({width:"1em",height:"1em",viewBox:"0 0 32 32",role:"img",ref:t},e),{},{children:[(0,$c.jsx)("path",{fill:"#D3D3D3",d:"M9 3h9.586a1 1 0 0 1 .707.293l6.415 6.414a1 1 0 0 1 .293.707V26A2.999 2.999 0 0 1 23 29H9a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z"}),(0,$c.jsx)("path",{fill:"white",fillOpacity:.5,d:"m19.286 3.286 5.01 5.009 1.412 1.412a1 1 0 0 1 .203.293H21a2 2 0 0 1-2-2V3.09a1 1 0 0 1 .286.196Z"}),(0,$c.jsx)("path",{fill:"#4E4E4E",d:"M10 24h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1V8Zm1 15h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1v-1Zm0-2h1v1h-1V9Z"})]})),Ah={FileAdobeExpress:Xc,FileAudio:eu,FileBookmark:ou,FileBoxNote:uu,FileCanvas:mu,FileCode:wu,FileDefault:Pu,FileDicom:Tu,FileDocGen:Ru,FileDocument:Bu,FileDocs:(0,e.forwardRef)($u),FileDwg:(0,e.forwardRef)(Zu),FileExcel:(0,e.forwardRef)(Yu),FileIllustrator:(0,e.forwardRef)(rd),FileImage:(0,e.forwardRef)(ad),FileIndesign:(0,e.forwardRef)(ud),FileKeynote:(0,e.forwardRef)(pd),FileNumbers:(0,e.forwardRef)(yd),FilePdf:(0,e.forwardRef)(Sd),FilePages:(0,e.forwardRef)(Cd),FilePhotoshop:(0,e.forwardRef)(Td),FilePowerpoint:(0,e.forwardRef)(Md),FilePresentation:(0,e.forwardRef)(Nd),FileSheets:(0,e.forwardRef)(Vd),FileSlides:(0,e.forwardRef)(Gd),FileSpreadsheet:(0,e.forwardRef)(Kd),FileText:Bu,FileThreeD:(0,e.forwardRef)(eh),FileUpload:(0,e.forwardRef)(ih),FileVector:(0,e.forwardRef)(lh),FileVideo:(0,e.forwardRef)(hh),FileWord:(0,e.forwardRef)(bh),FileXbd:(0,e.forwardRef)(wh),FileXdw:(0,e.forwardRef)(Oh),FileZip:(0,e.forwardRef)(_h)},Th=e=>e.reduce(((e,t)=>(e[t]=t,e)),{}),jh={FileAdobeExpress:Th(["adobeexpress"]),FileAudio:Th(["aac","aif","aifc","aiff","amr","au","flac","m3u","m4a","mid","mp3","ra","wav","wma","wpl"]),FileCanvas:Th(["boxcanvas"]),FileBoxNote:Th(["boxnote"]),FileCode:Th(["as","as3","asm","aspx","c","cpp","bat","c","cc","cmake","cs","css","cxx","db","diff","erb","groovy","h","haml","hh","htm","html","java","js","less","m","make","md","ml","mm","php","pl","plist","properties","py","rb","sass","scala","script","scm","sml","sql","sh","wabba","yaml"]),FileDocument:Th(["dot","dotx","msg","odt","rtf","wpd","xhtml","xml","xsd","xsl"]),FileDwg:Th(["dwg","dwgzip"]),FileExcel:Th(["xls","xlsx","xlsm","xlsb"]),FileDocs:Th(["gdoc"]),FileSheets:Th(["gsheet"]),FileSlides:Th(["gslide","gslides"]),FileVector:Th(["eps"]),FileIllustrator:Th(["ai"]),FileIndesign:Th(["idml","indd","indt","inx"]),FileKeynote:Th(["key"]),FileNumbers:Th(["numbers"]),FilePages:Th(["pages"]),FileImage:Th(["bmp","gif","gdraw","jpeg","jpg","png","ps","svs","svg","tif","tiff","heic","heif"]),FilePdf:Th(["pdf"]),FilePresentation:Th(["odp","otp","pot","potx"]),FilePowerpoint:Th(["ppt","pptx","pptm"]),FilePhotoshop:Th(["psd"]),FileSpreadsheet:Th(["csv","ods","tsv","xlt","xltx"]),FileText:Th(["txt","vi","vim","webdoc"]),FileThreeD:Th(["3ds","dae","fbx","obj","ply","stl"]),FileVideo:Th(["3g2","3gp","avi","flv","m2v","m2ts","m4v","mkv","mov","mp4","mpeg","mpg","ogg","mts","qt","wmv"]),FileWord:Th(["docx","doc","docm"]),FileXbd:Th(["xbd"]),FileXdw:Th(["xdw"]),FileZip:Th(["rar","tgz","zip"])},Ih=({dimension:t=32,extension:r="",title:n})=>{const{formatMessage:i}=tn(),o=((e="")=>Object.keys(jh).filter((t=>!!jh[t][e.toLowerCase()]))[0]||"FileDefault")(r),a=Ah[o];return e.createElement(a,{"aria-label":n||("FileDefault"===o?i(Wn.file):i(Wn.iconFile,{extension:r.toUpperCase()})),height:t,width:t})},Dh={"Google Docs":Rc,"Google Docs (beta)":Rc,"Google Sheets":Uc,"Google Sheets (beta)":Uc,"Google Slides":zc,"Google Slides (beta)":zc},Mh=function(e){return Dh[e]||Ih};function Rh(){return Rh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Rh.apply(null,arguments)}const Fh=({boxToolsName:t="Box Tools",boxToolsInstallUrl:r="https://cloud.box.com/v/installboxtools"})=>e.createElement(an,Rh({},Wn.boxToolsInstallMessage,{values:{boxTools:e.createElement("a",{href:"#",onClick:()=>{window.open(r)},rel:"noopener noreferrer"},t)}})),Lh=e=>bi()(e,"disabledReasons.0.type")===Fh,Nh=({integration:t,onClick:r})=>{const{displayName:n,displayDescription:i,isDisabled:o,extension:a,disabledReasons:s}=t,l=Mh(n),c=o?function(t=[]){let r;const n=t[0],i=e.createElement(an,Wn.errorOpenWithDescription);switch(n){case"blocked_by_shield_access_policy":r=e.createElement(an,Wn.boxEditErrorBlockedByPolicy);break;case"collaborators_hidden":r=i;break;default:r=t[0]||i}return r}(s):i,u=tt()({"bcow-box-tools-uninstalled":Lh(t)});return e.createElement(jc,{className:u,isDisabled:o,onClick:()=>r(t)},e.createElement(l,{dimension:30,extension:a,height:30,width:30}),e.createElement("span",null,e.createElement("p",{className:"bcow-menu-item-title"},n),e.createElement("p",{className:"bcow-menu-item-description"},c)))},Uh=({className:t="",color:r="#000",height:n=6,title:i,width:o=10})=>e.createElement(Yn,{className:`icon-caret-down ${t}`,height:n,title:i,viewBox:"0 0 10 6",width:o},e.createElement("path",{className:"fill-color",d:"M0 .5l5 5 5-5H0z",fill:r,fillRule:"evenodd"})),Bh=({children:t})=>e.createElement("span",{className:"menu-toggle"},t,e.createElement(Uh,{className:"toggle-arrow",width:7})),Hh=({className:t="",color:r="#4e4e4e",height:n=16,title:i,width:o=16})=>e.createElement(Yn,{className:`icon-open-with ${t}`,height:n,title:i,viewBox:"0 0 16 16",width:o},e.createElement("path",{className:"fill-color",fill:r,fillRule:"evenodd",d:"M12 2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm0 1H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zm-1 2v6h-1V6.71l-4.65 4.64-.7-.7L9.29 6H5V5h6z"})),Vh=["children","className","icon","isDisabled","isLoading","isSelected","setRef","size","type","showRadar"];function zh(){return zh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zh.apply(null,arguments)}function $h(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let qh=function(e){return e.BUTTON="button",e.RESET="reset",e.SUBMIT="submit",e}({});class Gh extends e.Component{constructor(...e){super(...e),$h(this,"btnElement",null),$h(this,"handleClick",(e=>{const{isDisabled:t,onClick:r}=this.props;if(t||this.btnElement&&this.btnElement.classList.contains("is-disabled"))return e.preventDefault(),void e.stopPropagation();r&&r(e)}))}render(){const t=this.props,{children:r,className:n,icon:i,isDisabled:o,isLoading:a,isSelected:s,setRef:l,size:c,type:u,showRadar:d}=t,h=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,Vh),f=Xn()(h,["onClick"]);o&&(f["aria-disabled"]=!0);const p=tt()("btn",{"is-disabled":o,"is-loading":a,"is-selected":s,"bdl-is-disabled":o,"bdl-btn--large":"large"===c,"bdl-has-icon":!!i},n);let m=e.createElement("button",zh({ref:e=>{this.btnElement=e,l&&l(e)},className:p,onClick:this.handleClick,type:u},f),r?e.createElement("span",{className:"btn-content"},r):null,i?e.createElement("span",{className:"bdl-btn-icon"},e.cloneElement(i,{width:i&&r?16:20,height:i&&r?16:20})):null,a&&e.createElement(ac,{className:"btn-loading-indicator"}));return d&&(m=e.createElement(_c,null,m)),m}}$h(Gh,"defaultProps",{className:"",isLoading:!1,showRadar:!1,type:qh.SUBMIT});const Wh=Gh;var Zh=function(e){return e.TOP_LEFT="top left",e.TOP_CENTER="top center",e.TOP_RIGHT="top right",e.MIDDLE_LEFT="middle left",e.MIDDLE_CENTER="middle center",e.MIDDLE_RIGHT="middle right",e.BOTTOM_LEFT="bottom left",e.BOTTOM_CENTER="bottom center",e.BOTTOM_RIGHT="bottom right",e}(Zh||{});const Xh=Zh,Kh=["children","title"];class Qh extends e.Component{constructor(...e){var t,r,n;super(...e),t=this,r="id",n=nt()("icon"),(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}render(){const t=this.props,{children:r,title:n}=t,i=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,Kh),o=`${this.id}-title`,a=Xn()(i,["role","aria-labelledby"]);return a.focusable="false",n?(a["aria-labelledby"]=o,a.role="img"):(a["aria-hidden"]="true",a.role="presentation"),e.createElement("svg",a,n?e.createElement("title",{id:o},n):null,r)}}const Yh=Qh;function Jh(){return Jh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jh.apply(null,arguments)}const ef=t=>e.createElement(Yh,Jh({width:16,height:16,viewBox:"0 0 16 16"},t),e.createElement("path",{fill:"#909090",fillRule:"evenodd",d:"M8 6.586l4.182-4.182a.5.5 0 01.707 0l.707.707a.5.5 0 010 .707L9.414 8l4.182 4.182a.5.5 0 010 .707l-.707.707a.5.5 0 01-.707 0L8 9.414l-4.182 4.182a.5.5 0 01-.707 0l-.707-.707a.5.5 0 010-.707L6.586 8 2.404 3.818a.5.5 0 010-.707l.707-.707a.5.5 0 01.707 0L8 6.586z"})),tf=["children","className","getDOMRef","isDisabled","type"];function rf(){return rf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rf.apply(null,arguments)}const nf=t=>{let{children:r,className:n="",getDOMRef:i=ot(),isDisabled:o=!1,type:a=qh.SUBMIT}=t,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,tf);const l={};return o&&(l["aria-disabled"]=!0,l.onClick=e=>{e.preventDefault(),e.stopPropagation()}),e.createElement("button",rf({className:`btn-plain ${n}`,ref:i,type:a},s,l),r)},of={id:"boxui.core.close",defaultMessage:"Close"},af=function(t,r){var n,i={},o=i.intlPropName,a=void 0===o?"intl":o,s=i.forwardRef,l=void 0!==s&&s,c=i.enforceContext,u=void 0===c||c,d=function(r){return e.createElement(Yr,null,(function(n){var i;u&&Zr(n);var o=((i={})[a]=n,i);return e.createElement(t,lt({},r,o,{ref:l?r.forwardedRef:null}))}))};return d.displayName="injectIntl(".concat((n=t).displayName||n.name||"Component",")"),d.WrappedComponent=t,l?mt()(e.forwardRef((function(t,r){return e.createElement(d,lt({},t,{forwardedRef:r}))})),t):mt()(d,t)}((({intl:t,onClick:r})=>e.createElement(nf,{"aria-label":t.formatMessage(of),className:"tooltip-close-button",onClick:r},e.createElement(ef,{className:"bdl-Tooltip-iconClose",width:14,height:14}))));function sf(){return sf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sf.apply(null,arguments)}function lf(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let cf=function(e){return e.CALLOUT="callout",e.DEFAULT="default",e.ERROR="error",e}({}),uf=function(e){return e.BOTTOM_CENTER="bottom-center",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right",e.MIDDLE_LEFT="middle-left",e.MIDDLE_RIGHT="middle-right",e.TOP_CENTER="top-center",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right",e}({});const df={[uf.BOTTOM_CENTER]:{attachment:Xh.TOP_CENTER,targetAttachment:Xh.BOTTOM_CENTER},[uf.BOTTOM_LEFT]:{attachment:Xh.TOP_RIGHT,targetAttachment:Xh.BOTTOM_RIGHT},[uf.BOTTOM_RIGHT]:{attachment:Xh.TOP_LEFT,targetAttachment:Xh.BOTTOM_LEFT},[uf.MIDDLE_LEFT]:{attachment:Xh.MIDDLE_RIGHT,targetAttachment:Xh.MIDDLE_LEFT},[uf.MIDDLE_RIGHT]:{attachment:Xh.MIDDLE_LEFT,targetAttachment:Xh.MIDDLE_RIGHT},[uf.TOP_CENTER]:{attachment:Xh.BOTTOM_CENTER,targetAttachment:Xh.TOP_CENTER},[uf.TOP_LEFT]:{attachment:Xh.BOTTOM_RIGHT,targetAttachment:Xh.TOP_RIGHT},[uf.TOP_RIGHT]:{attachment:Xh.BOTTOM_LEFT,targetAttachment:Xh.TOP_LEFT}};class hf extends e.Component{constructor(t){super(t),lf(this,"tooltipID",nt()("tooltip")),lf(this,"tetherRef",e.createRef()),lf(this,"position",(()=>{this.tetherRef.current&&this.isShown()&&this.tetherRef.current.position()})),lf(this,"closeTooltip",(()=>{const{onDismiss:e}=this.props;this.setState({wasClosedByUser:!0}),e&&e()})),lf(this,"fireChildEvent",((e,t)=>{const{children:r}=this.props,n=r.props[e];n&&n(t)})),lf(this,"handleTooltipEvent",(e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()})),lf(this,"handleMouseEnter",(e=>{this.setState({isShown:!0}),this.fireChildEvent("onMouseEnter",e)})),lf(this,"handleMouseLeave",(e=>{this.setState({isShown:!1}),this.fireChildEvent("onMouseLeave",e)})),lf(this,"handleFocus",(e=>{this.setState({isShown:!0}),this.fireChildEvent("onFocus",e)})),lf(this,"handleBlur",(e=>{this.setState({isShown:!1}),this.fireChildEvent("onBlur",e)})),lf(this,"isControlled",(()=>{const{isShown:e}=this.props;return void 0!==e})),lf(this,"handleKeyDown",(e=>{"Escape"===e.key&&(e.stopPropagation(),this.setState({isShown:!1})),this.fireChildEvent("onKeyDown",e)})),lf(this,"isShown",(()=>{const{isShown:e}=this.props;return(this.isControlled()?e:this.state.isShown)&&!this.state.wasClosedByUser&&this.state.hasRendered})),this.state={isShown:!!t.isShown,hasRendered:!1,wasClosedByUser:!1}}componentDidMount(){this.setState({hasRendered:!0})}componentDidUpdate(e,t){this.isControlled()?!e.isShown&&this.props.isShown&&this.setState({wasClosedByUser:!1}):(!t.isShown&&this.state.isShown&&document.addEventListener("keydown",this.handleKeyDown,!0),t.isShown&&!this.state.isShown&&document.removeEventListener("keydown",this.handleKeyDown,!0))}componentWillUnmount(){document.removeEventListener("keydown",this.handleKeyDown,!0)}render(){const{ariaHidden:t,bodyElement:r,children:n,className:i,constrainToScrollParent:o,constrainToWindow:a,isDisabled:s,isTabbable:l=!0,offset:c,position:u=uf.TOP_CENTER,showCloseButton:d,stopBubble:h,tetherElementClassName:f,text:p,theme:m}=this.props,b=bi()(n,"props.aria-label"),g=!!b&&b===p;if(s)return e.Children.only(n);const y=this.isControlled(),v=this.isShown(),w=d&&y,E="string"==typeof u?df[u]:u,S=[],x={};o&&S.push({to:"scrollParent",attachment:"together"}),a&&S.push({to:"window",attachment:"together"}),v&&!t&&(g&&void 0!==b||(x["aria-describedby"]=this.tooltipID),m===cf.ERROR&&(x["aria-errormessage"]=this.tooltipID)),y||(x.onBlur=this.handleBlur,x.onFocus=this.handleFocus,x.onMouseEnter=this.handleMouseEnter,x.onMouseLeave=this.handleMouseLeave,l&&(x.tabIndex="0"));const O=r instanceof HTMLElement?r:document.body,P=tt()("tooltip","bdl-Tooltip",i,{"is-callout":m===cf.CALLOUT,"is-error":m===cf.ERROR,"with-close-button":w}),C={attachment:E.attachment,bodyElement:O,classPrefix:"tooltip",constraints:S,enabled:v,targetAttachment:E.targetAttachment};f&&(C.className=f),c&&(C.offset=c);const k=e.createElement(e.Fragment,null,p,w&&e.createElement(af,{onClick:this.closeTooltip})),_=h?e.createElement("div",{className:P,id:this.tooltipID,onClick:this.handleTooltipEvent,onContextMenu:this.handleTooltipEvent,onKeyPress:this.handleTooltipEvent,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:"presentation"},e.createElement("div",{role:m===cf.ERROR?void 0:"tooltip","aria-live":"polite","aria-hidden":t||g,"data-testid":"bdl-Tooltip"},k)):e.createElement("div",{"aria-live":"polite","aria-hidden":t||g,className:P,"data-testid":"bdl-Tooltip",id:this.tooltipID,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:m===cf.ERROR?void 0:"tooltip"},k);return e.createElement(cc.A,sf({ref:this.tetherRef},C),e.cloneElement(e.Children.only(n),x),v&&_)}}lf(hf,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!0,isDisabled:!1,position:uf.TOP_CENTER,theme:cf.DEFAULT});const ff=hf,pf=["children","isDisabled","text"];function mf(){return mf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mf.apply(null,arguments)}const bf=t=>{let{children:r,isDisabled:n,text:i}=t,o=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,pf);return n||!i?r:e.createElement(ff,mf({text:i},o),r)},gf=({children:t})=>e.createElement(e.Fragment,null,t,e.createElement("span",{className:"bcow-btn-header-text"},e.createElement(an,Wn.open)));function yf(){return yf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yf.apply(null,arguments)}const vf=t=>e.createElement(bf,{position:"middle-left",text:e.createElement(an,Wn.defaultOpenWithDescription)},e.createElement(Wh,yf({"data-testid":"multipleintegrationsbutton"},t),e.createElement(Bh,null,e.createElement(gf,null,e.createElement(Hh,{className:he,dimension:$e,height:$e,width:$e}))))),wf="right",Ef=({dropdownAlignment:t=wf,integrations:r,onClick:n})=>e.createElement(hc,{isRightAligned:t===wf},e.createElement(vf,null),e.createElement(Ec,{className:"bcow-menu"},r.map((t=>e.createElement(Nh,{key:t.appIntegrationId,integration:t,onClick:n})))));function Sf(){return Sf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Sf.apply(null,arguments)}const xf=(t,r,n,i=[])=>{if(r)return null;let o=e.createElement(an,Wn.emptyOpenWithDescription);return i.length>0?[o]=i:n?o=e.createElement(an,Wn.errorOpenWithDescription):t&&(o=t),o},Of=({error:t,onClick:r=ot(),displayIntegration:n,isLoading:i})=>{const{displayName:o,isDisabled:a,extension:s,disabledReasons:l,displayDescription:c}=n||{},u=!!a||!o,d=o?Mh(o):Hh,h=Lh(n)?{isShown:!0,showCloseButton:!0}:{};return e.createElement(bf,Sf({className:"bcow-tooltip",position:"bottom-center",text:xf(c,i,t,l)},h),e.createElement(Wh,{"data-testid":"singleintegrationbutton",isDisabled:u,onClick:()=>n?r(n):ot()},e.createElement(gf,null,e.createElement(d,{className:he,dimension:$e,extension:s,height:$e,width:$e}))))};class Pf extends e.PureComponent{constructor(t){super(t),this.ref=e.createRef()}componentDidMount(){const{onSubmit:e}=this.props;this.ref.current.submit(),e()}render(){const{executePostData:{url:t,params:r},id:n,windowName:i}=this.props;return e.createElement("form",{ref:this.ref,action:t,id:`bcow-execute-form-${n}`,method:Re,rel:"noreferrer noopener",target:i||"_blank"},r&&r.map((({key:t,value:r})=>e.createElement("input",{key:t,name:t,type:"hidden",value:r}))))}}const Cf=Pf;function kf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kf(Object(r),!0).forEach((function(t){Af(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kf(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Af(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Tf="boxToolsInstallErrorMessage",jf="executeIntegrationOpenWithErrorHeader";class If extends e.PureComponent{constructor(t){super(t),Af(this,"initialState",{isDropdownOpen:!1,integrations:null,isLoading:!0,fetchError:null,executePostData:null,shouldRenderErrorIntegrationPortal:!1,shouldRenderLoadingIntegrationPortal:!1}),Af(this,"fetchOpenWithSuccessHandler",(async t=>{const{boxToolsName:r,boxToolsInstallUrl:n}=this.props,i=t.find((({appIntegrationId:e})=>this.isBoxEditIntegration(e)));if(i&&!i.isDisabled)try{const{extension:e}=await this.getIntegrationFileExtension();i.extension=e,await this.isBoxEditAvailable(),await this.canOpenExtensionWithBoxEdit(i)}catch(t){const o=Wn[t.message]||Wn[jf];let a=e.createElement(an,o);t.message===Tf&&(a=e.createElement(Fh,{boxToolsInstallUrl:n,boxToolsName:r})),i.disabledReasons.push(a),i.isDisabled=!0}this.setState({integrations:t,isLoading:!1})})),Af(this,"getIntegrationFileExtension",(()=>{const{fileId:e}=this.props;return new Promise(((t,r)=>{this.api.getFileAPI().getFileExtension(e,t,(()=>r(new Error(jf))))}))})),Af(this,"isBoxEditAvailable",(()=>this.api.getBoxEditAPI().checkBoxEditAvailability().catch((()=>{throw new Error(Tf)})))),Af(this,"canOpenExtensionWithBoxEdit",(({extension:e=""})=>this.api.getBoxEditAPI().getAppForExtension(e).catch((()=>{throw new Error("boxToolsBlacklistedError")})))),Af(this,"fetchErrorHandler",((e,t)=>{this.props.onError(e,t,{error:e}),this.setState({fetchError:e,isLoading:!1})})),Af(this,"onIntegrationClick",(({appIntegrationId:e,displayName:t})=>{const{fileId:r}=this.props,n=this.isBoxEditIntegration(e);if(this.api.getAppIntegrationsAPI(!1).execute(e,r,this.executeIntegrationSuccessHandler.bind(this,e),n?this.executeBoxEditErrorHandler:this.executeIntegrationErrorHandler),n)return;const i=`left=${window.screenX},top=${window.screenY},height=${window.outerHeight},width=${window.innerWidth},toolbar=0`;this.integrationWindow=this.window.open("",`${nt()(e)}`,i),this.integrationWindow.document.title=t,this.integrationWindow.onunload=this.cleanupIntegrationWindow,this.setState({shouldRenderLoadingIntegrationPortal:!0,shouldRenderErrorIntegrationPortal:!1})})),Af(this,"cleanupIntegrationWindow",(()=>{this.setState({shouldRenderLoadingIntegrationPortal:!1,shouldRenderErrorIntegrationPortal:!1})})),Af(this,"executeIntegrationSuccessHandler",((e,t)=>{this.isBoxEditIntegration(e)?this.executeBoxEditSuccessHandler(e,t):this.executeOnlineIntegrationSuccessHandler(t),this.onExecute(e)})),Af(this,"executeOnlineIntegrationSuccessHandler",(e=>{const{method:t,url:r}=e;switch(t){case Re:this.setState({executePostData:e});break;case Me:if(!this.integrationWindow)return;this.integrationWindow.location=r,this.integrationWindow.opener=null;break;default:this.executeIntegrationErrorHandler(Error("Integration invocation using this HTTP method type is not supported"),ge)}this.integrationWindow=null})),Af(this,"executeBoxEditSuccessHandler",((e,{url:t})=>{const{fileId:r,token:n,onError:i}=this.props,o=sn.parse(t).auth_code,a=this.isBoxEditSFCIntegration(e);this.api.getBoxEditAPI().openFile(r,{data:{auth_code:o,token:n,token_scope:a?d:u}}).catch((e=>{i(e,ge,{error:e})}))})),Af(this,"onExecuteFormSubmit",(()=>{this.setState({executePostData:null})})),Af(this,"executeIntegrationErrorHandler",((e,t)=>{this.props.onError(e,t,{error:e}),console.error(e),this.setState({shouldRenderLoadingIntegrationPortal:!1,shouldRenderErrorIntegrationPortal:!0})})),Af(this,"executeBoxEditErrorHandler",(e=>{this.props.onError(e),console.error(e)}));const{token:r,apiHost:n,clientName:i,language:o,requestInterceptor:a,responseInterceptor:s}=t;this.id=nt()("bcow_"),this.api=new ic({apiHost:n,clientName:i,language:o,requestInterceptor:a,responseInterceptor:s,token:r,version:"25.2.0-beta.14"}),this.state=_f({},this.initialState)}clearCache(){this.api.destroy(!0)}componentWillUnmount(){this.api.destroy(!1)}componentDidMount(){const{fileId:e}=this.props;e&&(this.window=window,this.fetchOpenWithData())}componentDidUpdate(e){const{fileId:t}=this.props,{fileId:r}=e;t&&t!==r&&(this.setState(_f({},this.initialState)),this.fetchOpenWithData())}isBoxEditIntegration(e){return e===Ve||this.isBoxEditSFCIntegration(e)}isBoxEditSFCIntegration(e){return e===ze}fetchOpenWithData(){const{fileId:e}=this.props;this.api.getOpenWithAPI(!1).getOpenWithIntegrations(e,this.fetchOpenWithSuccessHandler,this.fetchErrorHandler)}onExecute(e){this.props.onExecute(e),this.setState({shouldRenderLoadingIntegrationPortal:!1})}getDisplayIntegration(){const{integrations:e}=this.state;return Array.isArray(e)&&1===e.length?e[0]:null}render(){const{language:t,messages:r,dropdownAlignment:n}=this.props,{fetchError:i,isLoading:o,integrations:a,executePostData:s,shouldRenderLoadingIntegrationPortal:l,shouldRenderErrorIntegrationPortal:c}=this.state,u=tt()("be bcow",this.props.className),d=this.getDisplayIntegration(),h=a?a.length:0;return e.createElement(Hn,{language:t,messages:r},e.createElement("div",{className:u,"data-testid":"bcow-content",id:this.id},h<=1?e.createElement(Of,{displayIntegration:d,error:i,isLoading:o,onClick:this.onIntegrationClick}):e.createElement(Ef,{dropdownAlignment:n,integrations:a,onClick:this.onIntegrationClick}),(l||c)&&e.createElement(lc,{hasError:c,integrationWindow:this.integrationWindow}),s&&e.createElement(Cf,{executePostData:s,id:this.id,onSubmit:this.onExecuteFormSubmit,windowName:this.integrationWindow&&this.integrationWindow.name})))}}Af(If,"defaultProps",{apiHost:ce,className:"",clientName:"ContentOpenWith",onExecute:ot(),onError:ot()});const Df=((t,r=ri)=>n=>e.forwardRef(((i,o)=>e.createElement(li,ci({errorComponent:r,errorOrigin:t},i),e.createElement(n,{ref:o})))))("open_with",(({error:t})=>e.createElement("div",{className:"be bcow"},e.createElement(Of,{error:t,isLoading:!1}))))(If);function Mf(){return Mf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Mf.apply(null,arguments)}function Rf(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}__webpack_require__.g.Box=__webpack_require__.g.Box||{},__webpack_require__.g.Box.ContentOpenWith=class extends Je{constructor(...e){super(...e),Rf(this,"onExecute",(e=>{this.emit("execute",e)})),Rf(this,"onError",(e=>{this.emit("error",e)}))}render(){(0,t.render)(e.createElement(Df,Mf({componentRef:this.setComponent,fileId:this.id,language:this.language,messages:this.messages,onError:this.onError,onExecute:this.onExecute,onInteraction:this.onInteraction,token:this.token},this.options)),this.container)}}})()})();