From 4a6cefe67ac0bb08ef96cd81a47e6ce1b8ea52b2 Mon Sep 17 00:00:00 2001 From: robot-ci-heartex Date: Fri, 8 Nov 2024 22:46:31 +0000 Subject: [PATCH] ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/11750636453 --- web/dist/apps/labelstudio/main.js | 2 +- web/dist/apps/labelstudio/main.js.map | 2 +- web/dist/apps/labelstudio/vendor.js | 2 +- web/dist/apps/labelstudio/vendor.js.map | 2 +- web/dist/apps/labelstudio/version.json | 6 +++--- web/dist/libs/datamanager/version.json | 6 +++--- web/dist/libs/editor/version.json | 6 +++--- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/web/dist/apps/labelstudio/main.js b/web/dist/apps/labelstudio/main.js index a34e8d5e5eb0..092f74f85d2c 100644 --- a/web/dist/apps/labelstudio/main.js +++ b/web/dist/apps/labelstudio/main.js @@ -1,3 +1,3 @@ /*! For license information please see main.js.LICENSE.txt */ -(self.webpackChunklabelstudio=self.webpackChunklabelstudio||[]).push([[792],{62150:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})},78041:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(73944);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},29763:(e,t,n)=>{"use strict";function r(e){if(null==e)throw new TypeError("Cannot destructure "+e)}n.d(t,{A:()=>r})},73033:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}n.d(t,{A:()=>r})},73944:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},24086:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}n.d(t,{A:()=>r})},54975:(e,t,n)=>{"use strict";n.d(t,{S:()=>bg});var r={};n.r(r),n.d(r,{json:()=>Mu,matchPattern:()=>Nu,regexp:()=>Lu,required:()=>Au});var i=n(13940),o=n(43144),a=n(86090),s=n(14041);const l="[data-leave]",c="LEAVE_BLOCKER",u={current:void 0},d=({active:e=!0,onBeforeBlock:t,onBlock:n})=>{const r=(0,s.useRef)(e);r.current=e;const i=(0,a.W6)(),o=(0,s.useCallback)((e=>{if(!r.current)return;return!(!t||t())||(e.preventDefault(),e.returnValue=!1,!1)}),[t]),d=(0,s.useRef)(!1),f=(0,s.useCallback)((e=>{if(!r.current)return;if(d.current)return;const i=e.target;if(null!=i&&null!=i.matches&&i.matches(l)?e.target:null==i?void 0:i.closest(l)){if(!(!t||t()))return;return e.preventDefault(),e.stopPropagation(),n&&n({continueCallback(){d.current=!0,i.click(),d.current=!1}}),!1}}),[t,n]);return(0,s.useEffect)((()=>{let e=null;return window.addEventListener("beforeunload",o),window.addEventListener("click",f,{capture:!0}),e=i.block((()=>{if(!r.current)return;return!t||t()?(null==n||n({continueCallback:()=>{null==u.current||u.current(!0),u.current=void 0,null==e||e()},cancelCallback:()=>{null==u.current||u.current(!1),u.current=void 0}}),c):void 0})),()=>{window.removeEventListener("beforeunload",o),window.removeEventListener("click",f,{capture:!0}),e&&e()}}),[t,n,o,f]),null},f="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,h="8.33.0",p=globalThis;function m(e,t,n){const r=n||p,i=r.__SENTRY__=r.__SENTRY__||{},o=i[h]=i[h]||{};return o[e]||(o[e]=t())}const g=["debug","info","warn","error","log","assert","trace"],v={};function y(e){if(!("console"in p))return e();const t=p.console,n={},r=Object.keys(v);r.forEach((e=>{const r=v[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}const b=m("logger",(function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return f?g.forEach((n=>{t[n]=(...t)=>{e&&y((()=>{p.console[n](`Sentry Logger [${n}]:`,...t)}))}})):g.forEach((e=>{t[e]=()=>{}})),t})),C=Object.prototype.toString;function w(e){switch(C.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return N(e,Error)}}function x(e,t){return C.call(e)===`[object ${t}]`}function k(e){return x(e,"ErrorEvent")}function S(e){return x(e,"DOMError")}function _(e){return x(e,"String")}function j(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function E(e){return null===e||j(e)||"object"!=typeof e&&"function"!=typeof e}function T(e){return x(e,"Object")}function O(e){return"undefined"!=typeof Event&&N(e,Event)}function A(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function N(e,t){try{return e instanceof t}catch(e){return!1}}function M(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}const L=p,P=80;function D(e,t={}){if(!e)return"";try{let n=e;const r=5,i=[];let o=0,a=0;const s=" > ",l=s.length;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||P;for(;n&&o++1&&a+i.length*l+c.length>=d));)i.push(c),a+=c.length,n=n.parentNode;return i.reverse().join(s)}catch(e){return""}}function I(e,t){const n=e,r=[];if(!n||!n.tagName)return"";if(L.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const i=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(i&&i.length)i.forEach((e=>{r.push(`[${e[0]}="${e[1]}"]`)}));else{n.id&&r.push(`#${n.id}`);const e=n.className;if(e&&_(e)){const t=e.split(/\s+/);for(const e of t)r.push(`.${e}`)}}const o=["aria-label","type","name","title","alt"];for(const e of o){const t=n.getAttribute(e);t&&r.push(`[${e}="${t}"]`)}return r.join("")}function R(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function q(e,t){if(!Array.isArray(e))return"";const n=[];for(let t=0;tF(e,t,n)))}function B(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);"function"==typeof i&&z(i,r),e[t]=i}function U(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){f&&b.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function z(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,U(e,"__sentry_original__",t)}catch(e){}}function W(e){return e.__sentry_original__}function V(e){if(w(e))return{message:e.message,name:e.name,stack:e.stack,...G(e)};if(O(e)){const t={type:e.type,target:$(e.target),currentTarget:$(e.currentTarget),...G(e)};return"undefined"!=typeof CustomEvent&&N(e,CustomEvent)&&(t.detail=e.detail),t}return e}function $(e){try{return t=e,"undefined"!=typeof Element&&N(t,Element)?D(e):Object.prototype.toString.call(e)}catch(e){return""}var t}function G(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function Z(e){return Y(e,new Map)}function Y(e,t){if(function(e){if(!T(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const n of Object.getOwnPropertyNames(e))void 0!==e[n]&&(r[n]=Y(e[n],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(Y(e,t))})),r}return e}function K(){const e=p,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function X(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function J(e){const{message:t,event_id:n}=e;if(t)return t;const r=X(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function Q(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function ee(e,t){const n=X(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r&&r.data,...t.data};n.mechanism.data=e}}function te(e){if(e&&e.__sentry_captured__)return!0;try{U(e,"__sentry_captured__",!0)}catch(e){}return!1}function ne(e){return Array.isArray(e)?e:[e]}const re="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,ie=[];function oe(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;t.forEach((e=>{e.isDefaultInstance=!0})),r=Array.isArray(n)?[...t,...n]:"function"==typeof n?ne(n(t)):t;const i=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.values(t)}(r),o=i.findIndex((e=>"Debug"===e.name));if(o>-1){const[e]=i.splice(o,1);i.push(e)}return i}function ae(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function se(e,t,n){if(n[t.name])re&&b.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===ie.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),ie.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}re&&b.log(`Integration installed: ${t.name}`)}}const le=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],ce=(e={})=>({name:"InboundFilters",processEvent(t,n,r){const i=r.getOptions(),o=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:le],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,i);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e))return re&&b.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${J(e)}`),!0;if(function(e,t){if(e.type||!t||!t.length)return!1;return function(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch(e){}n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`));return t}(e).some((e=>H(e,t)))}(e,t.ignoreErrors))return re&&b.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${J(e)}`),!0;if(function(e){if(e.type)return!1;if(!e.exception||!e.exception.values||0===e.exception.values.length)return!1;return!e.message&&!e.exception.values.some((e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))}(e))return re&&b.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${J(e)}`),!0;if(function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&H(n,t)}(e,t.ignoreTransactions))return re&&b.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${J(e)}`),!0;if(function(e,t){if(!t||!t.length)return!1;const n=ue(e);return!!n&&H(n,t)}(e,t.denyUrls))return re&&b.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${J(e)}.\nUrl: ${ue(e)}`),!0;if(!function(e,t){if(!t||!t.length)return!0;const n=ue(e);return!n||H(n,t)}(e,t.allowUrls))return re&&b.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${J(e)}.\nUrl: ${ue(e)}`),!0;return!1}(t,o)?null:t}});function ue(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return re&&b.error(`Cannot extract url for event ${J(e)}`),null}}function de(){return fe(p),p}function fe(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||h,t[h]=t[h]||{}}function he(){return{traceId:K(),spanId:K().substring(16)}}const pe=1e3;function me(){return Date.now()/pe}const ge=function(){const{performance:e}=p;if(!e||!e.now)return me;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/pe}();let ve;(()=>{const{performance:e}=p;if(!e||!e.now)return void(ve="none");const t=36e5,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=ifunction(e){return Z({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&be(n,e),n}function be(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||ge(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:K()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}const Ce="_sentrySpan";function we(e,t){t?U(e,Ce,t):delete e[Ce]}function xe(e){return e[Ce]}class ke{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=he()}clone(){const e=new ke;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,we(e,xe(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&be(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,[n,r]=t instanceof Se?[t.getScopeData(),t.getRequestSession()]:T(t)?[e,e.requestSession]:[],{tags:i,extra:o,user:a,contexts:s,level:l,fingerprint:c=[],propagationContext:u}=n||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...o},this._contexts={...this._contexts,...s},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),c.length&&(this._fingerprint=c),u&&(this._propagationContext=u),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,we(this,void 0),this._attachments=[],this._propagationContext=he(),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:me(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:xe(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:K();if(!this._client)return b.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:K();if(!this._client)return b.warn("No client configured on scope - will not capture message!"),r;const i=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:K();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(b.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}const Se=ke;class _e{constructor(e,t){let n,r;n=e||new Se,r=t||new Se,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(e){throw this._popScope(),e}return A(n)?n.then((e=>(this._popScope(),e)),(e=>{throw this._popScope(),e})):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function je(){const e=fe(de());return e.stack=e.stack||new _e(m("defaultCurrentScope",(()=>new Se)),m("defaultIsolationScope",(()=>new Se)))}function Ee(e){return je().withScope(e)}function Te(e,t){const n=je();return n.withScope((()=>(n.getStackTop().scope=e,t(e))))}function Oe(e){return je().withScope((()=>e(je().getIsolationScope())))}function Ae(e){const t=fe(e);return t.acs?t.acs:{withIsolationScope:Oe,withScope:Ee,withSetScope:Te,withSetIsolationScope:(e,t)=>Oe(t),getCurrentScope:()=>je().getScope(),getIsolationScope:()=>je().getIsolationScope()}}function Ne(){return Ae(de()).getCurrentScope()}function Me(){return Ae(de()).getIsolationScope()}function Le(){return Ne().getClient()}let Pe;const De=new WeakMap,Ie=()=>({name:"FunctionToString",setupOnce(){Pe=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=W(this),n=De.has(Le())&&void 0!==t?t:this;return Pe.apply(n,e)}}catch(e){}},setup(e){De.set(e,!0)}}),Re=50,qe="?",Fe=/\(error: (.*)\)/,He=/captureMessage|captureException/;function Be(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0,r=0)=>{const i=[],o=e.split("\n");for(let e=n;e1024)continue;const a=Fe.test(n)?n.replace(Fe,"$1"):n;if(!a.match(/\S*Error: /)){for(const e of t){const t=e(a);if(t){i.push(t);break}}if(i.length>=Re+r)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(Ue(t).function||"")&&t.pop();t.reverse(),He.test(Ue(t).function||"")&&(t.pop(),He.test(Ue(t).function||"")&&t.pop());return t.slice(0,Re).map((e=>({...e,filename:e.filename||Ue(t).filename,function:e.function||qe})))}(i.slice(r))}}function Ue(e){return e[e.length-1]||{}}const ze="";function We(e){try{return e&&"function"==typeof e&&e.name||ze}catch(e){return ze}}function Ve(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach((t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)})),e}catch(e){return}}}const $e=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!Ze(e,t))return!1;if(!Ge(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=Ye(t),r=Ye(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!Ze(e,t))return!1;if(!Ge(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return re&&b.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function Ge(e,t){let n=Ve(e),r=Ve(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;e{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})));Ne().update(t.initialScope);const n=new e(t);return function(e){Ne().setClient(e)}(n),n.init(),n}const Xe="production";function Je(e,t=100,n=1/0){try{return et("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Qe(e,t=3,n=102400){const r=Je(e,t);return i=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>n?Qe(e,t-1,n):r;var i}function et(e,t,r=1/0,i=1/0,o=function(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e=i){d[e]="[MaxProperties ~]";break}const t=h[e];d[e]=et(e,t,c-1,i,o),f++}return s(t),d}var tt;function nt(e){return new it((t=>{t(e)}))}function rt(e){return new it(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(tt||(tt={}));class it{constructor(e){it.prototype.__init.call(this),it.prototype.__init2.call(this),it.prototype.__init3.call(this),it.prototype.__init4.call(this),this._state=tt.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new it(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new it(((t,n)=>{let r,i;return this.then((t=>{i=!1,r=t,e&&e()}),(t=>{i=!0,r=t,e&&e()})).then((()=>{i?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(tt.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(tt.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===tt.PENDING&&(A(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===tt.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===tt.RESOLVED&&e[1](this._value),this._state===tt.REJECTED&&e[2](this._value),e[0]=!0)}))}}}function ot(e,t,n,r=0){return new it(((i,o)=>{const a=e[r];if(null===t||"function"!=typeof a)i(t);else{const s=a({...t},n);re&&a.id&&null===s&&b.log(`Event processor "${a.id}" dropped event`),A(s)?s.then((t=>ot(e,t,n,r+1).then(i))).then(null,o):ot(e,s,n,r+1).then(i).then(null,o)}}))}const at="sentry-",st=/^sentry-/;function lt(e){const t=function(e){if(!e||!_(e)&&!Array.isArray(e))return;if(Array.isArray(e))return e.reduce(((e,t)=>{const n=ct(t);return Object.entries(n).forEach((([t,n])=>{e[t]=n})),e}),{});return ct(e)}(e);if(!t)return;const n=Object.entries(t).reduce(((e,[t,n])=>{if(t.match(st)){e[t.slice(at.length)]=n}return e}),{});return Object.keys(n).length>0?n:void 0}function ct(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(t&&n&&(e[t]=n),e)),{})}const ut="sentry.source",dt="sentry.sample_rate",ft="sentry.op",ht="sentry.origin";const pt="_sentryMetrics";function mt(e){const t=e[pt];if(!t)return;const n={};for(const[,[e,r]]of t){(n[e]||(n[e]=[])).push(Z(r))}return n}const gt=0,vt=1;const yt=1;function bt(e){const{spanId:t,traceId:n}=e.spanContext(),{parent_span_id:r}=xt(e);return Z({parent_span_id:r,span_id:t,trace_id:n})}function Ct(e){return"number"==typeof e?wt(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?wt(e.getTime()):ge()}function wt(e){return e>9999999999?e/1e3:e}function xt(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:r,startTime:i,name:o,endTime:a,parentSpanId:s,status:l}=e;return Z({span_id:t,trace_id:n,data:r,description:o,parent_span_id:s,start_timestamp:Ct(i),timestamp:Ct(a)||void 0,status:St(l),op:r[ft],origin:r[ht],_metrics_summary:mt(e)})}return{span_id:t,trace_id:n}}catch(e){return{}}}function kt(e){const{traceFlags:t}=e.spanContext();return t===yt}function St(e){if(e&&e.code!==gt)return e.code===vt?"ok":e.message||"unknown_error"}const _t="_sentryRootSpan";function jt(e){return e[_t]||e}const Et="_frozenDsc";function Tt(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i=Z({environment:n.environment||Xe,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",i),i}function Ot(e){const t=Le();if(!t)return{};const n=Tt(xt(e).trace_id||"",t),r=jt(e),i=r[Et];if(i)return i;const o=r.spanContext().traceState,a=o&&o.get("sentry.dsc"),s=a&<(a);if(s)return s;const l=xt(r),c=l.data||{},u=c[dt];null!=u&&(n.sample_rate=`${u}`);const d=c[ut],f=l.description;return"url"!==d&&f&&(n.transaction=f),function(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=Le(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}()&&(n.sampled=String(kt(r))),t.emit("createDsc",n,r),n}function At(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:o}=t;!function(e,t){const{extra:n,tags:r,user:i,contexts:o,level:a,transactionName:s}=t,l=Z(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const c=Z(r);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});const u=Z(i);u&&Object.keys(u).length&&(e.user={...u,...e.user});const d=Z(o);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts});a&&(e.level=a);s&&"transaction"!==e.type&&(e.transaction=s)}(e,t),r&&function(e,t){e.contexts={trace:bt(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Ot(t),...e.sdkProcessingMetadata};const n=jt(t),r=xt(n).description;r&&!e.transaction&&"transaction"===e.type&&(e.transaction=r)}(e,r),function(e,t){e.fingerprint=e.fingerprint?ne(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,o)}function Nt(e,t){const{extra:n,tags:r,user:i,contexts:o,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:f,transactionName:h,span:p}=t;Mt(e,"extra",n),Mt(e,"tags",r),Mt(e,"user",i),Mt(e,"contexts",o),Mt(e,"sdkProcessingMetadata",s),a&&(e.level=a),h&&(e.transactionName=h),p&&(e.span=p),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...f}}function Mt(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function Lt(e,t,n,r,i,o){const{normalizeDepth:a=3,normalizeMaxBreadth:s=1e3}=e,l={...t,event_id:t.event_id||n.event_id||K(),timestamp:t.timestamp||me()},c=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:i,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:Xe);void 0===e.release&&void 0!==r&&(e.release=r);void 0===e.dist&&void 0!==i&&(e.dist=i);e.message&&(e.message=R(e.message,o));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=R(a.value,o));const s=e.request;s&&s.url&&(s.url=R(s.url,o))}(l,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(l,c),i&&i.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=p._sentryDebugIds;if(!n)return;let r;const i=Pt.get(t);i?r=i:(r=new Map,Pt.set(t,r));const o=Object.entries(n).reduce(((e,[n,i])=>{let o;const a=r.get(n);a?o=a:(o=t(n),r.set(n,o));for(let t=o.length-1;t>=0;t--){const n=o[t];if(n.filename){e[n.filename]=i;break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=o[e.filename])}))}))}catch(e){}}(l,e.stackParser);const u=function(e,t){if(!t)return e;const n=e?e.clone():new Se;return n.update(t),n}(r,n.captureContext);n.mechanism&&ee(l,n.mechanism);const d=i?i.getEventProcessors():[],f=m("globalScope",(()=>new Se)).getScopeData();if(o){Nt(f,o.getScopeData())}if(u){Nt(f,u.getScopeData())}const h=[...n.attachments||[],...f.attachments];h.length&&(n.attachments=h),At(l,f);return ot([...d,...f.eventProcessors],l,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach((([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})}))}(e),"number"==typeof a&&a>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:Je(e.data,t,n)}})))},...e.user&&{user:Je(e.user,t,n)},...e.contexts&&{contexts:Je(e.contexts,t,n)},...e.extra&&{extra:Je(e.extra,t,n)}};e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Je(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map((e=>({...e,...e.data&&{data:Je(e.data,t,n)}}))));return r}(e,a,s):e)))}const Pt=new WeakMap;function Dt(e){if(e)return function(e){return e instanceof Se||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>It.includes(e)))}(e)?{captureContext:e}:e}const It=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Rt(e,t){return Ne().captureEvent(e,t)}function qt(e){const t=Le(),n=Me(),r=Ne(),{release:i,environment:o=Xe}=t&&t.getOptions()||{},{userAgent:a}=p.navigator||{},s=ye({release:i,environment:o,user:r.getUser()||n.getUser(),...a&&{userAgent:a},...e}),l=n.getSession();return l&&"ok"===l.status&&be(l,{status:"exited"}),Ft(),n.setSession(s),r.setSession(s),s}function Ft(){const e=Me(),t=Ne(),n=t.getSession()||e.getSession();n&&function(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),be(e,n)}(n),Ht(),e.setSession(),t.setSession()}function Ht(){const e=Me(),t=Ne(),n=Le(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function Bt(e=!1){e?Ft():Ht()}const Ut=p;function zt(){if(!("fetch"in Ut))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function Wt(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}const Vt={},$t={};function Gt(e,t){Vt[e]=Vt[e]||[],Vt[e].push(t)}function Zt(e,t){$t[e]||(t(),$t[e]=!0)}function Yt(e,t){const n=e&&Vt[e];if(n)for(const r of n)try{r(t)}catch(t){f&&b.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${We(r)}\nError:`,t)}}const Kt=p;const Xt=p;let Jt;function Qt(e){const t="history";Gt(t,e),Zt(t,en)}function en(){if(!function(){const e=Kt.chrome,t=e&&e.app&&e.app.runtime,n="history"in Kt&&!!Kt.history.pushState&&!!Kt.history.replaceState;return!t&&n}())return;const e=Xt.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=Jt,t=String(n);Jt=t;Yt("history",{from:e,to:t})}return e.apply(this,t)}}Xt.onpopstate=function(...t){const n=Xt.location.href,r=Jt;Jt=n;if(Yt("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(e){}},B(Xt.history,"pushState",t),B(Xt.history,"replaceState",t)}const tn=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function nn(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${a}`}function rn(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function on(e){const t="string"==typeof e?function(e){const t=tn.exec(e);if(!t)return void y((()=>{console.error(`Invalid Sentry Dsn: ${e}`)}));const[n,r,i="",o="",a="",s=""]=t.slice(1);let l="",c=s;const u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){const e=c.match(/^\d+/);e&&(c=e[0])}return rn({host:o,pass:i,path:l,projectId:c,port:a,protocol:n,publicKey:r})}(e):rn(e);if(t&&function(e){if(!f)return!0;const{port:t,projectId:n,protocol:r}=e;return!(["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(b.error(`Invalid Sentry Dsn: ${t} missing`),!0)))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(r)?t&&isNaN(parseInt(t,10))&&(b.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(b.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),1):(b.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}function an(e,t=[]){return[e,t]}function sn(e,t){const[n,r]=e;return[n,[...r,t]]}function ln(e,t){const n=e[1];for(const e of n){if(t(e,e[0].type))return!0}return!1}function cn(e){return p.__SENTRY__&&p.__SENTRY__.encodePolyfill?p.__SENTRY__.encodePolyfill(e):(new TextEncoder).encode(e)}function un(e){const[t,n]=e;let r=JSON.stringify(t);function i(e){"string"==typeof r?r="string"==typeof e?r+e:[cn(r),e]:r.push("string"==typeof e?cn(e):e)}for(const e of n){const[t,n]=e;if(i(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify(Je(n))}i(e)}}return"string"==typeof r?r:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(r)}function dn(e){const t="string"==typeof e.data?cn(e.data):e.data;return[Z({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const fn={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function hn(e){return fn[e]}function pn(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}class mn extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}const gn="7";function vn(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function yn(e,t){return n={sentry_key:e.publicKey,sentry_version:gn,...t&&{sentry_client:`${t.name}/${t.version}`}},Object.keys(n).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`)).join("&");var n}function bn(e,t,n){return t||`${function(e){return`${vn(e)}${e.projectId}/envelope/`}(e)}?${yn(e,n)}`}function Cn(e,t,n,r){const i=pn(n),o=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const a=function(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:nn(r)},...i&&{trace:Z({...i})}}}(e,i,r,t);delete e.sdkProcessingMetadata;return an(a,[[{type:o},e]])}const wn="Not capturing exception because it's already been captured.";class xn{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=on(e.dsn):re&&b.warn("No DSN provided, client will not send events."),this._dsn){const t=bn(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){const r=K();if(te(e))return re&&b.log(wn),r;const i={event_id:r,...t};return this._process(this.eventFromException(e,i).then((e=>this._captureEvent(e,i,n)))),i.event_id}captureMessage(e,t,n,r){const i={event_id:K(),...n},o=j(e)?e:String(e),a=E(e)?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(a.then((e=>this._captureEvent(e,i,r)))),i.event_id}captureEvent(e,t,n){const r=K();if(t&&t.originalException&&te(t.originalException))return re&&b.log(wn),r;const i={event_id:r,...t},o=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,i,o||n)),i.event_id}captureSession(e){"string"!=typeof e.release?re&&b.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),be(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):nt(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.emit("close"),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some((({name:e})=>e.startsWith("Spotlight"))))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];se(this,e,this._integrations),t||ae(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=Cn(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=sn(n,dn(e));const r=this.sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=function(e,t,n,r){const i=pn(n);return an({sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:nn(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const r="number"==typeof n?n:1,i=`${e}:${t}`;re&&b.log(`Recording outcome: "${i}"${r>1?` (${r} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+r}}on(e,t){const n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{const e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach((e=>e(...t)))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,(e=>(re&&b.error("Error while sending event:",e),e))):(re&&b.error("Transport disabled"),nt({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach((t=>{t&&se(e,t,n)})),n}(this,e),ae(this,e)}_updateSessionFromEvent(e,t){let n=!1,r=!1;const i=t.exception&&t.exception.values;if(i){r=!0;for(const e of i){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&(be(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new it((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r=Me()){const i=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o.length>0&&(t.integrations=o),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),Lt(i,e,t,n,this,r).then((e=>{if(null===e)return e;const t={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&t){const{traceId:n,spanId:r,parentSpanId:i,dsc:o}=t;e.contexts={trace:Z({trace_id:n,span_id:r,parent_span_id:i}),...e.contexts};const a=o||Tt(n,this);e.sdkProcessingMetadata={dynamicSamplingContext:a,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if(re){const t=e;"log"===t.logLevel?b.log(t.message):b.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:i}=r,o=Sn(e),a=kn(e),s=e.type||"error",l=`before send for type \`${s}\``,c=void 0===i?void 0:function(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t)||t<0||t>1))return t;re&&b.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`)}(i);if(a&&"number"==typeof c&&Math.random()>c)return this.recordDroppedEvent("sample_rate","error",e),rt(new mn(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const u="replay_event"===s?"replay":s,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,d).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",u,e),new mn("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const i=function(e,t,n,r){const{beforeSend:i,beforeSendTransaction:o,beforeSendSpan:a}=t;if(kn(n)&&i)return i(n,r);if(Sn(n)){if(n.spans&&a){const t=[];for(const r of n.spans){const n=a(r);n?t.push(n):e.recordDroppedEvent("before_send","span")}n.spans=t}if(o){if(n.spans){const e=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(n,r)}}return n}(this,r,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(A(e))return e.then((e=>{if(!T(e)&&null!==e)throw new mn(n);return e}),(e=>{throw new mn(`${t} rejected with ${e}`)}));if(!T(e)&&null!==e)throw new mn(n);return e}(i,l)})).then((r=>{if(null===r){if(this.recordDroppedEvent("before_send",u,e),o){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new mn(`${l} returned \`null\`, will not send event.`,"log")}const i=n&&n.getSession();if(!o&&i&&this._updateSessionFromEvent(i,r),o){const e=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const a=r.transaction_info;if(o&&a&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...a,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof mn)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new mn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map((([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}}))}_flushOutcomes(){re&&b.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(re&&b.log("No outcomes to send"));if(!this._dsn)return void(re&&b.log("No dsn provided, will not send outcomes"));re&&b.log("Sending outcomes:",e);const t=(n=e,an((r=this._options.tunnel&&nn(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:i||me(),discarded_events:n}]]));var n,r,i;this.sendEnvelope(t)}}function kn(e){return void 0===e.type}function Sn(e){return"transaction"===e.type}const _n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function jn(e,t){const n=On(e,t),r={type:t&&t.name,value:Nn(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function En(e,t,n,r){const i=Le(),o=i&&i.getOptions().normalizeDepth,a=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}return}(t),s={__serialized__:Qe(t,o)};if(a)return{exception:{values:[jn(e,a)]},extra:s};const l={exception:{values:[{type:O(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Pn(t,{isUnhandledRejection:r})}]},extra:s};if(n){const t=On(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}function Tn(e,t){return{exception:{values:[jn(e,t)]}}}function On(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e&&An.test(e.message))return 1;return 0}(t),i=function(e){if("number"==typeof e.framesToPop)return e.framesToPop;return 0}(t);try{return e(n,r,i)}catch(e){}return[]}const An=/Minified React error #\d+;/i;function Nn(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function Mn(e,t,n,r,i){let o;if(k(t)&&t.error){return Tn(e,t.error)}if(S(t)||x(t,"DOMException")){const i=t;if("stack"in t)o=Tn(e,t);else{const t=i.name||(S(i)?"DOMError":"DOMException"),a=i.message?`${t}: ${i.message}`:t;o=Ln(e,a,n,r),Q(o,a)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":`${i.code}`}),o}if(w(t))return Tn(e,t);if(T(t)||O(t)){return o=En(e,t,n,i),ee(o,{synthetic:!0}),o}return o=Ln(e,t,n,r),Q(o,`${t}`,void 0),ee(o,{synthetic:!0}),o}function Ln(e,t,n,r){const i={};if(r&&n){const r=On(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}if(j(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function Pn(e,{isUnhandledRejection:t}){const n=function(e,t=40){const n=Object.keys(V(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return R(r,t);for(let e=n.length;e>0;e--){const r=n.slice(0,e).join(", ");if(!(r.length>t))return e===n.length?r:R(r,t)}return""}(e),r=t?"promise rejection":"exception";if(k(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if(O(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e)}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}const Dn=p;let In=0;function Rn(){return In>0}function qn(e,t={},n){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return"function"==typeof t?t:e;if(W(e))return e}catch(t){return e}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const i=r.map((e=>qn(e,t)));return e.apply(this,i)}catch(e){throw In++,setTimeout((()=>{In--})),function(...e){const t=Ae(de());if(2===e.length){const[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}t.withScope(e[0])}((n=>{var i,o;n.addEventProcessor((e=>(t.mechanism&&(Q(e,void 0,void 0),ee(e,t.mechanism)),e.extra={...e.extra,arguments:r},e))),i=e,Ne().captureException(i,Dt(o))})),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(e){}z(r,e),U(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}class Fn extends xn{constructor(e){const t={parentSpanIsAlwaysRootSpan:!0,...e};!function(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${r}:@sentry/${e}`,version:h}))),version:h}),e._metadata=i}(t,"browser",["browser"],Dn.SENTRY_SDK_SOURCE||"npm"),super(t),t.sendClientReports&&Dn.document&&Dn.document.addEventListener("visibilitychange",(()=>{"hidden"===Dn.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return function(e,t,n,r){const i=Mn(e,t,n&&n.syntheticException||void 0,r);return ee(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),nt(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){const o=Ln(e,t,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),nt(o)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(_n&&b.warn("SDK not enabled, will not capture user feedback."));const t=function(e,{metadata:t,tunnel:n,dsn:r}){const i={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:nn(r)}},o=function(e){return[{type:"user_report"},e]}(e);return an(i,[o])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}}const Hn=1e3;let Bn,Un,zn;function Wn(){if(!Xt.document)return;const e=Yt.bind(null,"dom"),t=Vn(e,!0);Xt.document.addEventListener("click",t,!1),Xt.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=Xt[t]&&Xt[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(B(n,"addEventListener",(function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},a=o[n]=o[n]||{refCount:0};if(!a.handler){const r=Vn(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch(e){}return t.call(this,n,r,i)}})),B(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,i=n.__sentry_instrumentation_handlers__||{},o=i[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}function Vn(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch(e){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;U(n,"_sentryCaptured",!0),r&&!r._sentryId&&U(r,"_sentryId",K());const i="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==Un)return!1;try{if(!e.target||e.target._sentryId!==zn)return!1}catch(e){}return!0}(n)){e({event:n,name:i,global:t}),Un=n.type,zn=r?r._sentryId:void 0}clearTimeout(Bn),Bn=Xt.setTimeout((()=>{zn=void 0,Un=void 0}),Hn)}}const $n="__sentry_xhr_v3__";function Gn(){if(!Xt.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const r=1e3*ge(),i=_(n[0])?n[0].toUpperCase():void 0,o=function(e){if(_(e))return e;try{return e.toString()}catch(e){}return}(n[1]);if(!i||!o)return e.apply(t,n);t[$n]={method:i,url:o,request_headers:{}},"POST"===i&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const a=()=>{const e=t[$n];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}Yt("xhr",{endTimestamp:1e3*ge(),startTimestamp:r,xhr:t})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(a(),e.apply(t,n))}):t.addEventListener("readystatechange",a),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[r,i]=n,o=t[$n];return o&&_(r)&&_(i)&&(o.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const r=t[$n];if(!r)return e.apply(t,n);void 0!==n[0]&&(r.body=n[0]);return Yt("xhr",{startTimestamp:1e3*ge(),xhr:t}),e.apply(t,n)}})}const Zn=100;function Yn(e,t){const n=Le(),r=Me();if(!n)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:o=Zn}=n.getOptions();if(o<=0)return;const a={timestamp:me(),...e},s=i?y((()=>i(a,t))):a;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),r.addBreadcrumb(s,o))}function Kn(){"console"in p&&g.forEach((function(e){e in p.console&&B(p.console,e,(function(t){return v[e]=t,function(...t){Yt("console",{args:t,level:e});const n=v[e];n&&n.apply(p.console,t)}}))}))}function Xn(e,t=!1){t&&!function(){if("string"==typeof EdgeRuntime)return!0;if(!zt())return!1;if(Wt(Ut.fetch))return!0;let e=!1;const t=Ut.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=Wt(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){f&&b.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}()||B(p,"fetch",(function(t){return function(...n){const{method:r,url:i}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:Qn(t),method:Jn(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:Qn(t),method:Jn(t,"method")?String(t.method).toUpperCase():"GET"}}(n),o={args:n,fetchData:{method:r,url:i},startTimestamp:1e3*ge()};e||Yt("fetch",{...o});const a=(new Error).stack;return t.apply(p,n).then((async t=>(e?e(t):Yt("fetch",{...o,endTimestamp:1e3*ge(),response:t}),t)),(e=>{throw Yt("fetch",{...o,endTimestamp:1e3*ge(),error:e}),w(e)&&void 0===e.stack&&(e.stack=a,U(e,"framesToPop",1)),e}))}}))}function Jn(e,t){return!!e&&"object"==typeof e&&!!e[t]}function Qn(e){return"string"==typeof e?e:e?Jn(e,"url")?e.url:e.toString?e.toString():"":""}const er=["fatal","error","warning","log","info","debug"];function tr(e){return"warn"===e?"warning":er.includes(e)?e:"log"}function nr(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}function rr(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const ir=1024,or=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){const t="console";Gt(t,e),Zt(t,Kn)}(function(e){return function(t){if(Le()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:tr(t.level),message:q(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${q(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}Yn(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if(Le()!==e)return;let r,i,o="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>ir&&(_n&&b.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=ir),"string"==typeof o&&(o=[o]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=D(t,{keyAttrs:o,maxStringLength:a}),i=function(e){if(!L.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}(t)}catch(e){r=""}if(0===r.length)return;const s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),Yn(s,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),Gt("dom",n),Zt("dom",Wn)),t.xhr&&function(e){Gt("xhr",e),Zt("xhr",Gn)}(function(e){return function(t){if(Le()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[$n];if(!n||!r||!i)return;const{method:o,url:a,status_code:s,body:l}=i,c={method:o,url:a,status_code:s},u={xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r};Yn({category:"xhr",data:c,type:"http",level:nr(s)},u)}}(e)),t.fetch&&function(e,t){const n="fetch";Gt(n,e),Zt(n,(()=>Xn(void 0,t)))}(function(e){return function(t){if(Le()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){Yn({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:r})}else{const e=t.response,i={...t.fetchData,status_code:e&&e.status},o={input:t.args,response:e,startTimestamp:n,endTimestamp:r};Yn({category:"fetch",data:i,type:"http",level:nr(i.status_code)},o)}}}(e)),t.history&&Qt(function(e){return function(t){if(Le()!==e)return;let n=t.from,r=t.to;const i=rr(Dn.location.href);let o=n?rr(n):void 0;const a=rr(r);o&&o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),Yn({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){Le()===e&&Yn({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:J(t)},{event:t})}}(e))}}};const ar=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],sr=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&B(Dn,"setTimeout",lr),t.setInterval&&B(Dn,"setInterval",lr),t.requestAnimationFrame&&B(Dn,"requestAnimationFrame",cr),t.XMLHttpRequest&&"XMLHttpRequest"in Dn&&B(XMLHttpRequest.prototype,"send",ur);const e=t.eventTarget;if(e){(Array.isArray(e)?e:ar).forEach(dr)}}}};function lr(e){return function(...t){const n=t[0];return t[0]=qn(n,{mechanism:{data:{function:We(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function cr(e){return function(t){return e.apply(this,[qn(t,{mechanism:{data:{function:"requestAnimationFrame",handler:We(e)},handled:!1,type:"instrument"}})])}}function ur(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&B(n,e,(function(t){const n={mechanism:{data:{function:e,handler:We(t)},handled:!1,type:"instrument"}},r=W(t);return r&&(n.mechanism.data.handler=We(r)),qn(t,n)}))})),e.apply(this,t)}}function dr(e){const t=Dn,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(B(n,"addEventListener",(function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=qn(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:We(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,qn(r,{mechanism:{data:{function:"addEventListener",handler:We(r),target:e},handled:!1,type:"instrument"}}),i])}})),B(n,"removeEventListener",(function(e){return function(t,n,r){const i=n;try{const n=i&&i.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(e){}return e.call(this,t,i,r)}})))}let fr=null;function hr(){fr=p.onerror,p.onerror=function(e,t,n,r,i){return Yt("error",{column:r,error:i,line:n,msg:e,url:t}),!(!fr||fr.__SENTRY_LOADER__)&&fr.apply(this,arguments)},p.onerror.__SENTRY_INSTRUMENTED__=!0}let pr=null;function mr(){pr=p.onunhandledrejection,p.onunhandledrejection=function(e){return Yt("unhandledrejection",e),!(pr&&!pr.__SENTRY_LOADER__)||pr.apply(this,arguments)},p.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const gr=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(!function(e){!function(e){const t="error";Gt(t,e),Zt(t,hr)}((t=>{const{stackParser:n,attachStacktrace:r}=yr();if(Le()!==e||Rn())return;const{msg:i,url:o,line:a,column:s,error:l}=t,c=function(e,t,n,r){const i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],c=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=_(t)&&t.length>0?t:function(){try{return L.document.location.href}catch(e){return""}}();0===l.length&&l.push({colno:c,filename:d,function:qe,in_app:!0,lineno:u});return e}(Mn(n,l||i,void 0,r,!1),o,a,s);c.level="error",Rt(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})}))}(e),vr("onerror")),t.onunhandledrejection&&(!function(e){!function(e){const t="unhandledrejection";Gt(t,e),Zt(t,mr)}((t=>{const{stackParser:n,attachStacktrace:r}=yr();if(Le()!==e||Rn())return;const i=function(e){if(E(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),o=E(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:Mn(n,i,void 0,r,!0);o.level="error",Rt(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(e),vr("onunhandledrejection"))}}};function vr(e){_n&&b.log(`Global Handler attached: ${e}`)}function yr(){const e=Le();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const br=()=>({name:"HttpContext",preprocessEvent(e){if(!Dn.navigator&&!Dn.location&&!Dn.document)return;const t=e.request&&e.request.url||Dn.location&&Dn.location.href,{referrer:n}=Dn.document||{},{userAgent:r}=Dn.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:i};e.request=o}});function Cr(e,t,n=250,r,i,o,a){if(!(o.exception&&o.exception.values&&a&&N(a.originalException,Error)))return;const s=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;var l,c;s&&(o.exception.values=(l=wr(e,t,i,a.originalException,r,o.exception.values,s,0),c=n,l.map((e=>(e.value&&(e.value=R(e.value,c)),e)))))}function wr(e,t,n,r,i,o,a,s){if(o.length>=n+1)return o;let l=[...o];if(N(r[i],Error)){xr(a,s);const o=e(t,r[i]),c=l.length;kr(o,i,c,s),l=wr(e,t,n,r[i],i,[o,...l],o,c)}return Array.isArray(r.errors)&&r.errors.forEach(((r,o)=>{if(N(r,Error)){xr(a,s);const c=e(t,r),u=l.length;kr(c,`errors[${o}]`,u,s),l=wr(e,t,n,r,i,[c,...l],c,u)}})),l}function xr(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function kr(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}const Sr=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){const o=i.getOptions();Cr(jn,o.stackParser,o.maxValueLength,n,t,e,r)}}};function _r(e,t,n,r){const i={filename:e,function:""===t?qe:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const jr=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Er=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Tr=/\((\S*)(?::(\d+))(?::(\d+))\)/,Or=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Ar=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Nr=Be(...[[30,e=>{const t=jr.exec(e);if(t){const[,e,n,r]=t;return _r(e,qe,+n,+r)}const n=Er.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){const e=Tr.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}const[e,t]=Mr(n[1]||qe,n[2]);return _r(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{const t=Or.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Ar.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||qe;return[n,e]=Mr(n,e),_r(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]]),Mr=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:qe,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Lr="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Pr={};function Dr(e){const t=Pr[e];if(t)return t;let n=Xt[e];if(Wt(n))return Pr[e]=n.bind(Xt);const r=Xt.document;if(r&&"function"==typeof r.createElement)try{const t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);const i=t.contentWindow;i&&i[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){Lr&&b.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?Pr[e]=n.bind(Xt):n}function Ir(e){Pr[e]=void 0}function Rr(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.lengthn(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(e){return new it(((n,r)=>{let i=t.length;if(!i)return n(!0);const o=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{nt(e).then((()=>{--i||(clearTimeout(o),n(!0))}),r)}))}))}}}const qr=6e4;function Fr(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},o=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(o)for(const e of o.trim().split(",")){const[t,n,,,o]=e.split(":",5),a=parseInt(t,10),s=1e3*(isNaN(a)?60:a);if(n)for(const e of n.split(";"))"metric_bucket"===e&&o&&!o.split(";").includes("custom")||(i[e]=r+s);else i.all=r+s}else a?i.all=r+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?qr:r-t}(a,r):429===t&&(i.all=r+6e4);return i}const Hr=64;function Br(e,t,n=Rr(e.bufferSize||Hr)){let r={};return{send:function(i){const o=[];if(ln(i,((t,n)=>{const i=hn(n);if(function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,i)){const r=Ur(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else o.push(t)})),0===o.length)return nt({});const a=an(i[0],o),s=t=>{ln(a,((n,r)=>{const i=Ur(n,r);e.recordDroppedEvent(t,hn(r),i)}))};return n.add((()=>t({body:un(a)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&re&&b.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=Fr(r,e),e)),(e=>{throw s("network_error"),e})))).then((e=>e),(e=>{if(e instanceof mn)return re&&b.error("Skipped sending event because buffer is full."),s("queue_overflow"),nt({});throw e}))},flush:e=>n.drain(e)}}function Ur(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function zr(e,t=Dr("fetch")){let n=0,r=0;return Br(e,(function(i){const o=i.body.length;n+=o,r++;const a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return Ir("fetch"),rt("No fetch implementation available");try{return t(e.url,a).then((e=>(n-=o,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(e){return Ir("fetch"),n-=o,r--,rt(e)}}))}function Wr(e={}){const t=function(e={}){const t={defaultIntegrations:[ce(),Ie(),sr(),or(),gr(),Sr(),$e(),br()],release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:Dn.SENTRY_RELEASE&&Dn.SENTRY_RELEASE.id?Dn.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==e.defaultIntegrations&&delete e.defaultIntegrations,{...t,...e}}(e);if(function(){const e=void 0!==Dn.window&&Dn;if(!e)return!1;const t=e[e.chrome?"chrome":"browser"],n=t&&t.runtime&&t.runtime.id,r=Dn.location&&Dn.location.href||"",i=!!n&&Dn===Dn.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some((e=>r.startsWith(`${e}//`))),o=void 0!==e.nw;return!!n&&!i&&!o}())return void y((()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}));_n&&(zt()||b.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...t,stackParser:(r=t.stackParser||Nr,Array.isArray(r)?Be(...r):r),integrations:oe(t),transport:t.transport||zr};var r;const i=Ke(Fn,n);return t.autoSessionTracking&&function(){if(void 0===Dn.document)return void(_n&&b.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));qt({ignoreDuration:!0}),Bt(),Qt((({from:e,to:t})=>{void 0!==e&&e!==t&&(qt({ignoreDuration:!0}),Bt())}))}(),i}var Vr=function(){return Vr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&o+3*r.length+a.length>=80);)r.push(a),o+=a.length,n=n.parentNode;return r.reverse().join(" > ")}catch(e){return""}}function gi(e,t){var n,r,i,o,a,s=e,l=[];if(!s||!s.tagName)return"";l.push(s.tagName.toLowerCase());var c=t&&t.length?t.filter((function(e){return s.getAttribute(e)})).map((function(e){return[e,s.getAttribute(e)]})):null;if(c&&c.length)c.forEach((function(e){l.push("["+e[0]+'="'+e[1]+'"]')}));else if(s.id&&l.push("#"+s.id),(n=s.className)&&(0,pi.Kg)(n))for(r=n.split(/\s+/),a=0;a=0&&(i||n)&&(t.delta=t.value-(r||0),(t.delta||void 0===r)&&(r=t.value,e(t)))}},yi=function(e,t){return{name:e,value:null!=t?t:-1,delta:0,entries:[],id:"v2-"+Date.now()+"-"+(Math.floor(8999999999999*Math.random())+1e12)}},bi=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},Ci=function(e,t){var n=function(r){"pagehide"!==r.type&&"hidden"!==(0,oi.V)().document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},wi=-1,xi=function(){return wi<0&&(wi="hidden"===(0,oi.V)().document.visibilityState?0:1/0,Ci((function(e){var t=e.timeStamp;wi=t}),!0)),{get firstHiddenTime(){return wi}}},ki={},Si=(0,oi.V)(),_i=function(){function e(e){void 0===e&&(e=!1),this._reportAllChanges=e,this._measurements={},this._performanceCursor=0,!(0,fi.wD)()&&Si&&Si.performance&&Si.document&&(Si.performance.mark&&Si.performance.mark("sentry-tracing-init"),this._trackCLS(),this._trackLCP(),this._trackFID())}return e.prototype.addPerformanceEntries=function(e){var t=this;if(Si&&Si.performance&&Si.performance.getEntries&&hi.k3){ai.w&&ii.vF.log("[Tracing] Adding & adjusting spans using Performance API");var n,r,i=(0,li.rv)(hi.k3);if(Si.performance.getEntries().slice(this._performanceCursor).forEach((function(o){var a=(0,li.rv)(o.startTime),s=(0,li.rv)(o.duration);if(!("navigation"===e.op&&i+a=e.startTimestamp)){var r=t._measurements[n].value,i=o+(0,li.rv)(r),a=Math.abs(1e3*(i-e.startTimestamp)),s=a-r;ai.w&&ii.vF.log("[Measurements] Normalized "+n+" from "+r+" to "+a+" ("+s+")"),t._measurements[n].value=a}})),this._measurements["mark.fid"]&&this._measurements.fid&&Ei(e,{description:"first input delay",endTimestamp:this._measurements["mark.fid"].value+(0,li.rv)(this._measurements.fid.value),op:"web.vitals",startTimestamp:this._measurements["mark.fid"].value}),"fcp"in this._measurements||delete this._measurements.cls,e.setMeasurements(this._measurements),function(e,t,n){t&&(ai.w&&ii.vF.log("[Measurements] Adding LCP Data"),t.element&&e.setTag("lcp.element",mi(t.element)),t.id&&e.setTag("lcp.id",t.id),t.url&&e.setTag("lcp.url",t.url.trim().slice(0,200)),e.setTag("lcp.size",t.size));n&&n.sources&&(ai.w&&ii.vF.log("[Measurements] Adding CLS Data"),n.sources.forEach((function(t,n){return e.setTag("cls.source."+(n+1),mi(t.node))})))}(e,this._lcpEntry,this._clsEntry),e.setTag("sentry_reportAllChanges",this._reportAllChanges)}}},e.prototype._trackNavigator=function(e){var t=Si.navigator;if(t){var n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),Ti(n.rtt)&&(this._measurements["connection.rtt"]={value:n.rtt}),Ti(n.downlink)&&(this._measurements["connection.downlink"]={value:n.downlink})),Ti(t.deviceMemory)&&e.setTag("deviceMemory",String(t.deviceMemory)),Ti(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}},e.prototype._trackCLS=function(){var e,t,n,r,i,o,a,s,l=this;e=function(e){var t=e.entries.pop();t&&(ai.w&&ii.vF.log("[Measurements] Adding CLS"),l._measurements.cls={value:e.value},l._clsEntry=t)},r=yi("CLS",0),i=0,o=[],(s=bi("layout-shift",a=function(e){if(e&&!e.hadRecentInput){var t=o[0],a=o[o.length-1];i&&0!==o.length&&e.startTime-a.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,o.push(e)):(i=e.value,o=[e]),i>r.value&&(r.value=i,r.entries=o,n&&n())}}))&&(n=vi(e,r,t),Ci((function(){s.takeRecords().map(a),n(!0)})))},e.prototype._trackLCP=function(){var e=this;!function(e,t){var n,r=xi(),i=yi("LCP"),o=function(e){var t=e.startTime;tn&&(e.startTimestamp=n),e.startChild((0,ri.Cl)({startTimestamp:n},r))}function Ti(e){return"number"==typeof e&&isFinite(e)}function Oi(e,t){return!!(0,pi.Kg)(e)&&((0,pi.gd)(t)?t.test(e):"string"==typeof t&&-1!==e.indexOf(t))}var Ai=n(27011),Ni={traceFetch:!0,traceXHR:!0,tracingOrigins:["localhost",/^\//]};function Mi(e){var t=(0,ri.Cl)((0,ri.Cl)({},Ni),e),n=t.traceFetch,r=t.traceXHR,i=t.tracingOrigins,o=t.shouldCreateSpanForRequest,a={},s=function(e){if(a[e])return a[e];var t=i;return a[e]=t.some((function(t){return Oi(e,t)}))&&!Oi(e,"sentry_key"),a[e]},l=s;"function"==typeof o&&(l=function(e){return s(e)&&o(e)});var c={};n&&(0,Ai.O)("fetch",(function(e){!function(e,t,n){if(!(0,li.wt)()||!e.fetchData||!t(e.fetchData.url))return;if(e.endTimestamp){var r=e.fetchData.__span;if(!r)return;return void((o=n[r])&&(e.response?o.setHttpStatus(e.response.status):e.error&&o.setStatus("internal_error"),o.finish(),delete n[r]))}var i=(0,li.Z7)();if(i){var o=i.startChild({data:(0,ri.Cl)((0,ri.Cl)({},e.fetchData),{type:"fetch"}),description:e.fetchData.method+" "+e.fetchData.url,op:"http.client"});e.fetchData.__span=o.spanId,n[o.spanId]=o;var a=e.args[0]=e.args[0],s=e.args[1]=e.args[1]||{},l=s.headers;(0,pi.tH)(a,Request)&&(l=a.headers),l?"function"==typeof l.append?l.append("sentry-trace",o.toTraceparent()):l=Array.isArray(l)?(0,ri.gz)(l,[["sentry-trace",o.toTraceparent()]]):(0,ri.Cl)((0,ri.Cl)({},l),{"sentry-trace":o.toTraceparent()}):l={"sentry-trace":o.toTraceparent()},s.headers=l}}(e,l,c)})),r&&(0,Ai.O)("xhr",(function(e){!function(e,t,n){if(!(0,li.wt)()||e.xhr&&e.xhr.__sentry_own_request__||!(e.xhr&&e.xhr.__sentry_xhr__&&t(e.xhr.__sentry_xhr__.url)))return;var r=e.xhr.__sentry_xhr__;if(e.endTimestamp){var i=e.xhr.__sentry_xhr_span_id__;if(!i)return;return void((a=n[i])&&(a.setHttpStatus(r.status_code),a.finish(),delete n[i]))}var o=(0,li.Z7)();if(o){var a=o.startChild({data:(0,ri.Cl)((0,ri.Cl)({},r.data),{type:"xhr",method:r.method,url:r.url}),description:r.method+" "+r.url,op:"http.client"});if(e.xhr.__sentry_xhr_span_id__=a.spanId,n[e.xhr.__sentry_xhr_span_id__]=a,e.xhr.setRequestHeader)try{e.xhr.setRequestHeader("sentry-trace",a.toTraceparent())}catch(e){}}}(e,l,c)}))}var Li=(0,oi.V)();var Pi=(0,ri.Cl)({idleTimeout:si.$F,markBackgroundTransactions:!0,maxTransactionDuration:600,routingInstrumentation:function(e,t,n){if(void 0===t&&(t=!0),void 0===n&&(n=!0),Li&&Li.location){var r,i=Li.location.href;t&&(r=e({name:Li.location.pathname,op:"pageload"})),n&&(0,Ai.O)("history",(function(t){var n=t.to,o=t.from;void 0===o&&i&&-1!==i.indexOf(n)?i=void 0:o!==n&&(i=void 0,r&&(ai.w&&ii.vF.log("[Tracing] Finishing current transaction with op: "+r.op),r.finish()),r=e({name:Li.location.pathname,op:"navigation"}))}))}else ai.w&&ii.vF.warn("Could not initialize routing instrumentation due to invalid location")},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0},Ni),Di=function(){function e(t){this.name=e.id,this._configuredIdleTimeout=void 0;var n=Ni.tracingOrigins;t&&(this._configuredIdleTimeout=t.idleTimeout,t.tracingOrigins&&Array.isArray(t.tracingOrigins)&&0!==t.tracingOrigins.length?n=t.tracingOrigins:ai.w&&(this._emitOptionsWarning=!0)),this.options=(0,ri.Cl)((0,ri.Cl)((0,ri.Cl)({},Pi),t),{tracingOrigins:n});var r=this.options._metricOptions;this._metrics=new _i(r&&r._reportAllChanges)}return e.prototype.setupOnce=function(e,t){var n=this;this._getCurrentHub=t,this._emitOptionsWarning&&(ai.w&&ii.vF.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),ai.w&&ii.vF.warn("[Tracing] We added a reasonable default for you: "+Ni.tracingOrigins));var r=this.options,i=r.routingInstrumentation,o=r.startTransactionOnLocationChange,a=r.startTransactionOnPageLoad,s=r.markBackgroundTransactions,l=r.traceFetch,c=r.traceXHR,u=r.tracingOrigins,d=r.shouldCreateSpanForRequest;i((function(e){return n._createRouteTransaction(e)}),a,o),s&&(di&&di.document?di.document.addEventListener("visibilitychange",(function(){var e=(0,li.Z7)();if(di.document.hidden&&e){var t="cancelled";ai.w&&ii.vF.log("[Tracing] Transaction: "+t+" -> since tab moved to the background, op: "+e.op),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.setTag(ui._,ui.e[2]),e.finish()}})):ai.w&&ii.vF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),Mi({traceFetch:l,traceXHR:c,tracingOrigins:u,shouldCreateSpanForRequest:d})},e.prototype._createRouteTransaction=function(e){var t=this;if(this._getCurrentHub){var n=this.options,r=n.beforeNavigate,i=n.idleTimeout,o=n.maxTransactionDuration,a="pageload"===e.op?function(){var e=(t="sentry-trace",n=(0,oi.V)().document.querySelector("meta[name="+t+"]"),n?n.getAttribute("content"):null);var t,n;if(e)return function(e){var t=e.match(ci);if(t){var n=void 0;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}}(e);return}():void 0,s=(0,ri.Cl)((0,ri.Cl)((0,ri.Cl)({},e),a),{trimEnd:!0}),l="function"==typeof r?r(s):s,c=void 0===l?(0,ri.Cl)((0,ri.Cl)({},s),{sampled:!1}):l;!1===c.sampled&&ai.w&&ii.vF.log("[Tracing] Will not send "+c.op+" transaction because of beforeNavigate."),ai.w&&ii.vF.log("[Tracing] Starting "+c.op+" transaction on scope");var u=this._getCurrentHub(),d=(0,oi.V)().location,f=(0,ni.pd)(u,c,i,!0,{location:d});return f.registerBeforeFinishCallback((function(e,n){t._metrics.addPerformanceEntries(e),function(e,t,n){var r=n-t.startTimestamp,i=n&&(r>e||r<0);i&&(t.setStatus("deadline_exceeded"),t.setTag("maxTransactionDurationExceeded","true"))}((0,li.vO)(o),e,n)})),f.setTag("idleTimeout",this._configuredIdleTimeout),f}ai.w&&ii.vF.warn("[Tracing] Did not create "+e.op+" transaction because _getCurrentHub is invalid.")},e.id="BrowserTracing",e}();(0,ni.lk)();const Ii=()=>{const e={};var t;APP_SETTINGS.user.email&&(t={email:APP_SETTINGS.user.email,username:APP_SETTINGS.user.username},Me().setUser(t)),APP_SETTINGS.version&&Object.entries(APP_SETTINGS.version).forEach((([t,n])=>{const{version:r,commit:i}=null!=n?n:{};r&&(e[`version-${t}`]=r),i&&(e[`commit-${t}`]=i)})),function(e){Me().setTags(e)}(e)},Ri=()=>{var e;const t=null==(e=APP_SETTINGS.version)||null==(e=e["label-studio-os-package"])?void 0:e.version;return t||"label-studio@1.14.1.dev0-frontend"},qi=(Fi=a.qh,Hi=Fi.displayName||Fi.name,(Bi=function(e){return Yr&&e&&e.computedMatch&&e.computedMatch.isExact&&Yr.setName(e.computedMatch.path),s.createElement(Fi,Vr({},e))}).displayName="sentryRoute("+Hi+")",Xr()(Bi,Fi),Bi);var Fi,Hi,Bi,Ui=n(73033),zi=n(47521),Wi=n.n(zi);n.p;var Vi,$i,Gi=["title","titleId"];function Zi(){return Zi=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Ki=function(e,t){var n=e.title,r=e.titleId,i=Yi(e,Gi);return s.createElement("svg",Zi({width:18,height:20,viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,Vi||(Vi=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 0C8.17157 0 7.5 0.671573 7.5 1.5V5H10.5V1.5C10.5 0.671573 9.82843 0 9 0ZM9 20C10.3807 20 11.5 18.6569 11.5 17C11.5 15.3431 10.3807 14 9 14C7.61929 14 6.5 15.3431 6.5 17C6.5 18.6569 7.61929 20 9 20Z",fill:"#0077FF",fillOpacity:.5})),$i||($i=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.500002 14C0.0424796 14.4575 0.0424796 15.1993 0.500002 15.6568C0.719713 15.8765 1.0177 16 1.32842 16H16.6716C17.3186 16 17.8431 15.4755 17.8431 14.8284C17.8431 14.5177 17.7197 14.2197 17.5 14C15.9786 12.4786 15.3387 13.7675 15 9C14.6851 4.56704 13 2.5 9 2.5C5 2.5 3.32008 4.59195 3 9C2.65406 13.7644 2.03054 12.4695 0.500002 14Z",fill:"#0077FF"})))},Xi=(0,s.forwardRef)(Ki);n.p;var Ji,Qi=["title","titleId"];function eo(){return eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var no=function(e,t){var n=e.title,r=e.titleId,i=to(e,Qi);return s.createElement("svg",eo({width:18,height:17,viewBox:"0 0 18 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,Ji||(Ji=s.createElement("g",null,s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.99188C0 1.96885 0 1.45734 0.211006 1.10279C0.39602 0.791917 0.68715 0.55838 1.03076 0.44521C1.42263 0.316141 1.92197 0.427104 2.92063 0.64903L7.95873 1.76861C8.34731 1.85496 8.5416 1.89813 8.73793 1.91535C8.91231 1.93064 9.08769 1.93064 9.26207 1.91535C9.4584 1.89813 9.65269 1.85496 10.0413 1.76861L15.0794 0.649029C16.078 0.427104 16.5774 0.316141 16.9692 0.44521C17.3128 0.55838 17.604 0.791917 17.789 1.10279C18 1.45734 18 1.96885 18 2.99188V12.4331C18 13.349 18 13.807 17.8377 14.1849C17.6945 14.5182 17.4634 14.8063 17.1691 15.0184C16.8354 15.2588 16.3883 15.3582 15.4942 15.5568L10.3884 16.6915C9.87025 16.8066 9.6112 16.8642 9.34942 16.8871C9.11692 16.9075 8.88308 16.9075 8.65058 16.8871C8.3888 16.8642 8.12975 16.8066 7.61165 16.6915L2.50582 15.5568C1.6117 15.3582 1.16464 15.2588 0.830929 15.0184C0.536581 14.8063 0.305454 14.5182 0.162299 14.1849C0 13.807 0 13.349 0 12.4331V2.99188Z",fill:"currentColor",fillOpacity:.4}),s.createElement("mask",{id:"maskBook","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:0,y:0,width:18,height:17},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.99188C0 1.96885 0 1.45734 0.211006 1.10279C0.39602 0.791917 0.68715 0.55838 1.03076 0.44521C1.42263 0.316141 1.92197 0.427104 2.92063 0.64903L7.95873 1.76861C8.34731 1.85496 8.5416 1.89813 8.73793 1.91535C8.91231 1.93064 9.08769 1.93064 9.26207 1.91535C9.4584 1.89813 9.65269 1.85496 10.0413 1.76861L15.0794 0.649029C16.078 0.427104 16.5774 0.316141 16.9692 0.44521C17.3128 0.55838 17.604 0.791917 17.789 1.10279C18 1.45734 18 1.96885 18 2.99188V12.4331C18 13.349 18 13.807 17.8377 14.1849C17.6945 14.5182 17.4634 14.8063 17.1691 15.0184C16.8354 15.2588 16.3883 15.3582 15.4942 15.5568L10.3884 16.6915C9.87025 16.8066 9.6112 16.8642 9.34942 16.8871C9.11692 16.9075 8.88308 16.9075 8.65058 16.8871C8.3888 16.8642 8.12975 16.8066 7.61165 16.6915L2.50582 15.5568C1.6117 15.3582 1.16464 15.2588 0.830929 15.0184C0.536581 14.8063 0.305454 14.5182 0.162299 14.1849C0 13.807 0 13.349 0 12.4331V2.99188Z",fill:"white"})),s.createElement("g",{mask:"url(#maskBook)"},s.createElement("rect",{x:10,y:-1,width:9,height:19,fill:"currentColor"}),s.createElement("rect",{x:-1,y:-1,width:9,height:19,fill:"currentColor"})))))},ro=(0,s.forwardRef)(no);n.p;var io,oo,ao=["title","titleId"];function so(){return so=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var co=function(e,t){var n=e.title,r=e.titleId,i=lo(e,ao);return s.createElement("svg",so({width:10,height:12,viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,io||(io=s.createElement("path",{opacity:.9,d:"M4 11H6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"square"})),oo||(oo=s.createElement("path",{opacity:.9,d:"M3 8C3 6 1.5 5.5 1.5 4C1.5 2.5 2.5 1 5 1C7.5 1 8.5 2.5 8.5 4C8.5 5.5 7 6 7 8",stroke:"currentColor",strokeWidth:2,strokeLinecap:"square"})))},uo=(0,s.forwardRef)(co);n.p;var fo,ho=["title","titleId"];function po(){return po=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var go=function(e,t){var n=e.title,r=e.titleId,i=mo(e,ho);return s.createElement("svg",po({width:12,height:9,viewBox:"0 0 12 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,fo||(fo=s.createElement("path",{d:"M2 4L5 7L10 2",stroke:"currentColor",strokeWidth:2,strokeLinecap:"square"})))},vo=(0,s.forwardRef)(go);n.p;n.p;n.p;var yo,bo,Co=["title","titleId"];function wo(){return wo=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var ko=function(e,t){var n=e.title,r=e.titleId,i=xo(e,Co);return s.createElement("svg",wo({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,yo||(yo=s.createElement("path",{d:"M14 2L2 14",stroke:"currentColor",strokeWidth:2,strokeLinecap:"square"})),bo||(bo=s.createElement("path",{d:"M2 2L14 14",stroke:"currentColor",strokeWidth:2,strokeLinecap:"square"})))},So=(0,s.forwardRef)(ko);n.p;var _o,jo=["title","titleId"];function Eo(){return Eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Oo=function(e,t){var n=e.title,r=e.titleId,i=To(e,jo);return s.createElement("svg",Eo({width:14,height:18,viewBox:"0 0 14 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,_o||(_o=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.16349 0.819014C0 1.13988 0 1.55992 0 2.4V15.6C0 16.4401 0 16.8601 0.16349 17.181C0.3073 17.4632 0.536771 17.6927 0.819014 17.8365C1.13988 18 1.55992 18 2.4 18H11.6C12.4401 18 12.8601 18 13.181 17.8365C13.4632 17.6927 13.6927 17.4632 13.8365 17.181C14 16.8601 14 16.4401 14 15.6V2.4C14 1.55992 14 1.13988 13.8365 0.819014C13.6927 0.536771 13.4632 0.3073 13.181 0.16349C12.8601 0 12.4401 0 11.6 0H2.4C1.55992 0 1.13988 0 0.819014 0.16349C0.536771 0.3073 0.3073 0.536771 0.16349 0.819014ZM10 11C11.1046 11 12 10.1046 12 9C12 7.89543 11.1046 7 10 7C8.89543 7 8 7.89543 8 9C8 10.1046 8.89543 11 10 11Z",fill:"currentColor"})))},Ao=(0,s.forwardRef)(Oo);n.p;var No,Mo=["title","titleId"];function Lo(){return Lo=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Do=function(e,t){var n=e.title,r=e.titleId,i=Po(e,Mo);return s.createElement("svg",Lo({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,No||(No=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 7C0.895431 7 0 7.89543 0 9C0 10.1046 0.895431 11 2 11C3.10457 11 4 10.1046 4 9C4 7.89543 3.10457 7 2 7ZM7 9C7 7.89543 7.89543 7 9 7C10.1046 7 11 7.89543 11 9C11 10.1046 10.1046 11 9 11C7.89543 11 7 10.1046 7 9ZM14 9C14 7.89543 14.8954 7 16 7C17.1046 7 18 7.89543 18 9C18 10.1046 17.1046 11 16 11C14.8954 11 14 10.1046 14 9Z",fill:"currentColor"})))},Io=(0,s.forwardRef)(Do);n.p;n.p;var Ro,qo=["title","titleId"];function Fo(){return Fo=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Bo=function(e,t){var n=e.title,r=e.titleId,i=Ho(e,qo);return s.createElement("svg",Fo({width:14,height:12,viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,Ro||(Ro=s.createElement("path",{d:"M13.3481 10.3128C13.7807 11.0627 13.2376 12 12.3736 12H1.12627C0.260561 12 -0.279954 11.0612 0.151811 10.3128L5.77555 0.562149C6.20837 -0.188062 7.29242 -0.186703 7.72447 0.562149L13.3481 10.3128ZM6.75001 8.29688C6.15458 8.29688 5.67188 8.77957 5.67188 9.375C5.67188 9.97043 6.15458 10.4531 6.75001 10.4531C7.34544 10.4531 7.82813 9.97043 7.82813 9.375C7.82813 8.77957 7.34544 8.29688 6.75001 8.29688ZM5.72642 4.42158L5.90028 7.60908C5.90841 7.75823 6.03174 7.875 6.18111 7.875H7.3189C7.46827 7.875 7.5916 7.75823 7.59973 7.60908L7.77359 4.42158C7.78238 4.26047 7.65411 4.125 7.49276 4.125H6.00723C5.84588 4.125 5.71763 4.26047 5.72642 4.42158Z",fill:"#F5222D"})))},Uo=(0,s.forwardRef)(Bo);n.p;var zo,Wo,Vo=["title","titleId"];function $o(){return $o=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Zo=function(e,t){var n=e.title,r=e.titleId,i=Go(e,Vo);return s.createElement("svg",$o({width:18,height:16,viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,zo||(zo=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 3.2C0 2.0799 0 1.51984 0.217987 1.09202C0.409734 0.715695 0.715695 0.409734 1.09202 0.217987C1.51984 0 2.0799 0 3.2 0H5.6C6.48 0 6.91999 0 7.32384 0.115337C7.68153 0.217489 8.01709 0.385272 8.31343 0.610128C8.648 0.864004 8.912 1.216 9.44 1.92L11 4H0V3.2Z",fill:"currentColor",fillOpacity:.4})),Wo||(Wo=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 5.4C0 4.55992 0 4.13988 0.16349 3.81901C0.3073 3.53677 0.536771 3.3073 0.819014 3.16349C1.13988 3 1.55992 3 2.4 3L15.6 3C16.4401 3 16.8601 3 17.181 3.16349C17.4632 3.3073 17.6927 3.53677 17.8365 3.81901C18 4.13988 18 4.55992 18 5.4V13.6C18 14.4401 18 14.8601 17.8365 15.181C17.6927 15.4632 17.4632 15.6927 17.181 15.8365C16.8601 16 16.4401 16 15.6 16H2.4C1.55992 16 1.13988 16 0.819014 15.8365C0.536771 15.6927 0.3073 15.4632 0.16349 15.181C0 14.8601 0 14.4401 0 13.6V5.4Z",fill:"currentColor"})))},Yo=(0,s.forwardRef)(Zo);n.p;n.p;var Ko,Xo,Jo=["title","titleId"];function Qo(){return Qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var ta=function(e,t){var n=e.title,r=e.titleId,i=ea(e,Jo);return s.createElement("svg",Qo({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,Ko||(Ko=s.createElement("g",{clipPath:"url(#clip0)"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 0.222656C4.02981 0.222656 0 4.25246 0 9.22266C0 13.1988 2.57824 16.5729 6.15499 17.7621C6.60507 17.8456 6.77049 17.5669 6.77049 17.3285C6.77049 17.1139 6.76155 16.4045 6.75857 15.6534C4.25335 16.1973 3.72578 14.5923 3.72578 14.5923C3.31595 13.552 2.72727 13.2748 2.72727 13.2748C1.91058 12.716 2.78838 12.7279 2.78838 12.7279C3.69151 12.792 4.16841 13.6548 4.16841 13.6548C4.97168 15.0304 6.27422 14.6325 6.78689 14.403C6.86736 13.8218 7.10134 13.4238 7.35767 13.1988C5.35917 12.9708 3.25782 12.1988 3.25782 8.75172C3.25782 7.7696 3.60954 6.96632 4.1848 6.33592C4.09091 6.10939 3.7839 5.19434 4.27124 3.9544C4.27124 3.9544 5.02683 3.71297 6.74665 4.8769C7.46498 4.6772 8.23398 4.57735 9 4.57437C9.76453 4.57735 10.535 4.6772 11.2548 4.8769C12.9732 3.71297 13.7273 3.9544 13.7273 3.9544C14.2176 5.19434 13.9091 6.10939 13.8152 6.33592C14.392 6.96632 14.7407 7.7696 14.7407 8.75172C14.7407 12.2078 12.6349 12.9693 10.6319 13.1928C10.9553 13.4715 11.2429 14.02 11.2429 14.859C11.2429 16.0632 11.2325 17.0319 11.2325 17.3285C11.2325 17.5684 11.3949 17.8486 11.851 17.7607C15.4247 16.5699 18 13.1973 18 9.22266C18 4.25246 13.9702 0.222656 9 0.222656Z",fill:"currentColor",fillOpacity:.8}),s.createElement("path",{d:"M3.40792 13.1437C3.38854 13.1884 3.31701 13.2018 3.25293 13.1705C3.18735 13.1407 3.15158 13.0796 3.17245 13.0349C3.19182 12.9887 3.26187 12.9768 3.32744 13.0066C3.39301 13.0379 3.43027 13.099 3.40792 13.1437Z",fill:"currentColor",fillOpacity:.8}),s.createElement("path",{d:"M3.77317 13.5498C3.72995 13.5901 3.64649 13.5707 3.58986 13.5081C3.53025 13.4455 3.51981 13.3621 3.56303 13.3218C3.60774 13.2816 3.68822 13.301 3.74783 13.3636C3.80595 13.4262 3.81788 13.5096 3.77317 13.5498Z",fill:"currentColor",fillOpacity:.8}),s.createElement("path",{d:"M4.12811 14.0688C4.07296 14.1076 3.98206 14.0718 3.92691 13.9913C3.87177 13.9108 3.87177 13.8155 3.9284 13.7767C3.98355 13.738 4.07296 13.7722 4.1296 13.8527C4.18474 13.9332 4.18474 14.0301 4.12811 14.0688Z",fill:"currentColor",fillOpacity:.8}),s.createElement("path",{d:"M4.61377 14.57C4.56459 14.6252 4.45878 14.6102 4.38277 14.5357C4.30379 14.4627 4.28292 14.3599 4.3321 14.3062C4.38277 14.2511 4.4871 14.2675 4.56459 14.3405C4.64209 14.412 4.66593 14.5164 4.61377 14.57Z",fill:"currentColor",fillOpacity:.8}),s.createElement("path",{d:"M5.28459 14.8607C5.26223 14.9308 5.16089 14.9636 5.05955 14.9337C4.95821 14.9025 4.89115 14.8205 4.91201 14.7489C4.93288 14.6774 5.03422 14.6446 5.13705 14.6759C5.23988 14.7072 5.30545 14.7892 5.28459 14.8607Z",fill:"currentColor",fillOpacity:.8}),s.createElement("path",{d:"M6.02076 14.9144C6.02374 14.9889 5.9373 15.05 5.83 15.0515C5.72269 15.0545 5.63477 14.9934 5.63477 14.9203C5.63477 14.8458 5.71971 14.7847 5.82702 14.7832C5.93283 14.7817 6.02076 14.8414 6.02076 14.9144Z",fill:"currentColor",fillOpacity:.8}),s.createElement("path",{d:"M6.70584 14.7982C6.71925 14.8712 6.64473 14.9442 6.53743 14.9651C6.43311 14.9845 6.33624 14.9398 6.32282 14.8682C6.30941 14.7937 6.38542 14.7192 6.48974 14.6998C6.59704 14.6805 6.69242 14.7252 6.70584 14.7982Z",fill:"currentColor",fillOpacity:.8}))),Xo||(Xo=s.createElement("defs",null,s.createElement("clipPath",{id:"clip0"},s.createElement("rect",{width:18,height:17.5544,fill:"white",transform:"translate(0 0.222656)"})))))},na=(0,s.forwardRef)(ta);n.p;var ra,ia,oa=["title","titleId"];function aa(){return aa=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var la=function(e,t){var n=e.title,r=e.titleId,i=sa(e,oa);return s.createElement("svg",aa({width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,ra||(ra=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 2C18.7019 2 21.1582 2.65491 23.2322 3.82833C25.3063 5.00176 26.9982 6.6937 28.1717 8.76777C29.3451 10.8418 30 13.2981 30 16C30 18.7019 29.3451 21.1582 28.1717 23.2322C26.9982 25.3063 25.3063 26.9982 23.2322 28.1717C21.1582 29.3451 18.7019 30 16 30C13.2981 30 10.8418 29.3451 8.76777 28.1717C6.6937 26.9982 5.00176 25.3063 3.82833 23.2322C2.65491 21.1582 2 18.7019 2 16C2 13.2981 2.65491 10.8418 3.82833 8.76777C5.00176 6.6937 6.6937 5.00176 8.76777 3.82833C10.8418 2.65491 13.2981 2 16 2Z",fill:"#617ADA"})),ia||(ia=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.501 12.5C17.0528 12.5 17.481 12.9558 17.4582 13.5025L17.0418 23.4975C17.0203 24.0116 16.62 24.4353 16.1176 24.4933L16 24.5C15.4477 24.5 14.981 24.0442 14.9582 23.4975L14.6031 14.9954C14.5904 14.7218 14.373 14.4005 14.1287 14.283L12.8069 13.6476C12.6374 13.5661 12.5 13.3438 12.5 13.1502V13C12.5 12.7239 12.7296 12.5 13.0015 12.5H16.501ZM16 7.5C16.8284 7.5 17.5 8.17157 17.5 9C17.5 9.82843 16.8284 10.5 16 10.5C15.1716 10.5 14.5 9.82843 14.5 9C14.5 8.17157 15.1716 7.5 16 7.5Z",fill:"white"})))},ca=(0,s.forwardRef)(la);n.p;var ua,da=["title","titleId"];function fa(){return fa=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var pa=function(e,t){var n=e.title,r=e.titleId,i=ha(e,da);return s.createElement("svg",fa({width:10,height:2,viewBox:"0 0 10 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,ua||(ua=s.createElement("path",{opacity:.9,d:"M1 1H9",stroke:"currentColor",strokeWidth:2,strokeLinecap:"square"})))},ma=(0,s.forwardRef)(pa);n.p;var ga,va,ya=["title","titleId"];function ba(){return ba=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var wa=function(e,t){var n=e.title,r=e.titleId,i=Ca(e,ya);return s.createElement("svg",ba({fill:"none",height:20,viewBox:"0 0 20 20",width:20,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,ga||(ga=s.createElement("mask",{id:"a",height:20,maskUnits:"userSpaceOnUse",width:20,x:0,y:0},s.createElement("circle",{cx:10,cy:10,fill:"#fff",r:10}))),va||(va=s.createElement("g",null,s.createElement("circle",{cx:10,cy:10,fill:"currentColor",fillOpacity:.4,r:10}),s.createElement("g",{mask:"url(#a)"},s.createElement("path",{d:"m3.60487 17.411c.08933-.8933.57403-1.6996 1.32101-2.1976l2.18219-1.4548c.56314-.3754.60787-1.2037.1527-1.7046-.69943-.7696-1.5148-1.9118-1.5148-3.054 0-2 .25-6 4.25-6 4.00003 0 4.25003 4 4.25003 6 0 1.1422-.8154 2.2844-1.5148 3.054-.4552.5009-.4105 1.3292.1527 1.7046l2.1822 1.4548c.7469.498 1.2316 1.3043 1.321 2.1976l.2489 2.4895c.0589.5887-.4034 1.0995-.995 1.0995h-11.29004c-.59162 0-1.05391-.5108-.99504-1.0995z",fill:"currentColor"})))))},xa=(0,s.forwardRef)(wa);n.p;var ka,Sa=["title","titleId"];function _a(){return _a=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Ea=function(e,t){var n=e.title,r=e.titleId,i=ja(e,Sa);return s.createElement("svg",_a({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,ka||(ka=s.createElement("g",null,s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.07964 11.0738C5.28033 10.8396 5.38067 10.7226 5.48598 10.6494C5.80605 10.4271 6.22613 10.4109 6.56232 10.6081C6.67292 10.6729 6.78195 10.7819 7 11C7.21805 11.2181 7.32708 11.3271 7.39193 11.4377C7.58907 11.7739 7.57294 12.194 7.3506 12.514C7.27745 12.6193 7.16038 12.7197 6.92625 12.9204L1.53688 17.5398C1.23393 17.7995 0.782138 17.7821 0.5 17.5C0.217862 17.2179 0.200511 16.7661 0.460179 16.4631L5.07964 11.0738Z",fill:"currentColor",fillOpacity:.6}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.3029 1.69705C10.897 1.10303 11.194 0.806018 11.5365 0.694736C11.8377 0.596849 12.1623 0.596849 12.4635 0.694736C12.806 0.806018 13.103 1.10303 13.6971 1.69706L16.3029 4.30294C16.897 4.89697 17.194 5.19398 17.3053 5.53647C17.4032 5.83774 17.4032 6.16226 17.3053 6.46353C17.194 6.80602 16.897 7.10303 16.3029 7.69706L13.5342 10.4658C13.3349 10.6651 13.2353 10.7647 13.1514 10.8759C13.0769 10.9747 13.0117 11.0801 12.9567 11.191C12.8948 11.3157 12.8502 11.4494 12.7611 11.7167L11.8187 14.544C11.5476 15.3572 11.4121 15.7638 11.1591 15.9516C10.9383 16.1156 10.6597 16.1814 10.3888 16.1335C10.0786 16.0786 9.77555 15.7755 9.1694 15.1694L2.83059 8.8306C2.22445 8.22445 1.92138 7.92138 1.86651 7.61119C1.81861 7.34033 1.88438 7.06169 2.04837 6.84085C2.23616 6.58795 2.64277 6.45241 3.456 6.18133L6.28335 5.23888C6.55062 5.14979 6.68426 5.10525 6.80905 5.04329C6.91987 4.98827 7.02534 4.92308 7.12412 4.84857C7.23534 4.76466 7.33495 4.66505 7.53416 4.46584L10.3029 1.69705Z",fill:"currentColor"}))))},Ta=(0,s.forwardRef)(Ea);n.p;var Oa,Aa=["title","titleId"];function Na(){return Na=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var La=function(e,t){var n=e.title,r=e.titleId,i=Ma(e,Aa);return s.createElement("svg",Na({width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,Oa||(Oa=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 0V6H14V8H8V14H6V8H0V6H6V0H8Z",fill:"currentColor"})))},Pa=(0,s.forwardRef)(La);n.p;var Da,Ia=["title","titleId"];function Ra(){return Ra=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Fa=function(e,t){var n=e.title,r=e.titleId,i=qa(e,Ia);return s.createElement("svg",Ra({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,Da||(Da=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 0C1.79086 0 0 1.79086 0 4C0 6.20914 1.79086 8 4 8H14C16.2091 8 18 6.20914 18 4C18 1.79086 16.2091 0 14 0H4ZM4 10C1.79086 10 0 11.7909 0 14C0 16.2091 1.79086 18 4 18H14C16.2091 18 18 16.2091 18 14C18 11.7909 16.2091 10 14 10H4ZM6 14C6 15.1046 5.10457 16 4 16C2.89543 16 2 15.1046 2 14C2 12.8954 2.89543 12 4 12C5.10457 12 6 12.8954 6 14ZM14 6C15.1046 6 16 5.10457 16 4C16 2.89543 15.1046 2 14 2C12.8954 2 12 2.89543 12 4C12 5.10457 12.8954 6 14 6Z",fill:"currentColor"})))},Ha=(0,s.forwardRef)(Fa);n.p;var Ba,Ua,za,Wa,Va,$a,Ga,Za,Ya=["title","titleId"];function Ka(){return Ka=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Ja=function(e,t){var n=e.title,r=e.titleId,i=Xa(e,Ya);return s.createElement("svg",Ka({width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,Ba||(Ba=s.createElement("path",{d:"M3.78141 11.3753C3.78141 12.4161 2.93121 13.2663 1.89046 13.2663C0.849705 13.2663 -0.000488281 12.4161 -0.000488281 11.3753C-0.000488281 10.3346 0.849705 9.48438 1.89046 9.48438H3.78141V11.3753Z",fill:"#E01E5A"})),Ua||(Ua=s.createElement("path",{d:"M4.73438 11.3753C4.73438 10.3346 5.58457 9.48438 6.62532 9.48438C7.66608 9.48438 8.51627 10.3346 8.51627 11.3753V16.11C8.51627 17.1508 7.66608 18.001 6.62532 18.001C5.58457 18.001 4.73438 17.1508 4.73438 16.11V11.3753Z",fill:"#E01E5A"})),za||(za=s.createElement("path",{d:"M6.62532 3.78189C5.58457 3.78189 4.73438 2.9317 4.73438 1.89095C4.73438 0.850194 5.58457 0 6.62532 0C7.66608 0 8.51627 0.850194 8.51627 1.89095V3.78189H6.62532Z",fill:"#36C5F0"})),Wa||(Wa=s.createElement("path",{d:"M6.62516 4.73438C7.66591 4.73438 8.5161 5.58457 8.5161 6.62532C8.5161 7.66608 7.66591 8.51627 6.62516 8.51627H1.89046C0.849705 8.51627 -0.000488281 7.66608 -0.000488281 6.62532C-0.000488281 5.58457 0.849705 4.73438 1.89046 4.73438H6.62516Z",fill:"#36C5F0"})),Va||(Va=s.createElement("path",{d:"M14.2188 6.62532C14.2188 5.58457 15.0689 4.73438 16.1097 4.73438C17.1505 4.73438 18.0006 5.58457 18.0006 6.62532C18.0006 7.66608 17.1505 8.51627 16.1097 8.51627H14.2188V6.62532Z",fill:"#2EB67D"})),$a||($a=s.createElement("path",{d:"M13.2658 6.62564C13.2658 7.6664 12.4156 8.51659 11.3748 8.51659C10.3341 8.51659 9.48389 7.6664 9.48389 6.62564V1.89095C9.48389 0.850194 10.3341 0 11.3748 0C12.4156 0 13.2658 0.850194 13.2658 1.89095V6.62564Z",fill:"#2EB67D"})),Ga||(Ga=s.createElement("path",{d:"M11.3739 14.2188C12.4146 14.2188 13.2648 15.0689 13.2648 16.1097C13.2648 17.1505 12.4146 18.0006 11.3739 18.0006C10.3331 18.0006 9.48291 17.1505 9.48291 16.1097V14.2188H11.3739Z",fill:"#ECB22E"})),Za||(Za=s.createElement("path",{d:"M11.3743 13.2663C10.3336 13.2663 9.4834 12.4161 9.4834 11.3753C9.4834 10.3346 10.3336 9.48438 11.3743 9.48438H16.109C17.1498 9.48438 18 10.3346 18 11.3753C18 12.4161 17.1498 13.2663 16.109 13.2663H11.3743Z",fill:"#ECB22E"})))},Qa=(0,s.forwardRef)(Ja);n.p;var es,ts=["title","titleId"];function ns(){return ns=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var is=function(e,t){var n=e.title,r=e.titleId,i=rs(e,ts);return s.createElement("svg",ns({width:20,height:16,viewBox:"0 0 20 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,es||(es=s.createElement("g",null,s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1H19V15H1V1Z",fill:"currentColor",fillOpacity:.4}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.16349 0.819014C0 1.13988 0 1.55992 0 2.4V13.6C0 14.4401 0 14.8601 0.16349 15.181C0.3073 15.4632 0.536771 15.6927 0.819014 15.8365C1.13988 16 1.55992 16 2.4 16H17.6C18.4401 16 18.8601 16 19.181 15.8365C19.4632 15.6927 19.6927 15.4632 19.8365 15.181C20 14.8601 20 14.4401 20 13.6V2.4C20 1.55992 20 1.13988 19.8365 0.819014C19.6927 0.536771 19.4632 0.3073 19.181 0.16349C18.8601 0 18.4401 0 17.6 0H2.4C1.55992 0 1.13988 0 0.819014 0.16349C0.536771 0.3073 0.3073 0.536771 0.16349 0.819014ZM5.41935 3.81456C4.83091 3.35702 3.98007 3.39861 3.43934 3.93934L3.31456 4.08065C2.85702 4.66909 2.89861 5.51993 3.43934 6.06066L5.3775 8L3.43934 9.93934L3.31456 10.0807C2.85702 10.6691 2.89861 11.5199 3.43934 12.0607C4.02513 12.6464 4.97487 12.6464 5.56066 12.0607L8.56066 9.06066L8.68544 8.91935C9.14298 8.33091 9.10139 7.48007 8.56066 6.93934L5.56066 3.93934L5.41935 3.81456Z",fill:"currentColor"}))))},os=(0,s.forwardRef)(is);n.p;n.p;n.p;var as,ss=["title","titleId"];function ls(){return ls=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var us=function(e,t){var n=e.title,r=e.titleId,i=cs(e,ss);return s.createElement("svg",ls({width:48,height:64,viewBox:"0 0 48 64",fill:"#617ADA",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,as||(as=s.createElement("path",{d:"M28 17V0H3C1.3375 0 0 1.3375 0 3V61C0 62.6625 1.3375 64 3 64H45C46.6625 64 48 62.6625 48 61V20H31C29.35 20 28 18.65 28 17ZM36.1475 44.0013H28V54.0013C28 55.1063 27.105 56.0013 26 56.0013H22C20.895 56.0013 20 55.1063 20 54.0013V44.0013H11.8525C10.0675 44.0013 9.17625 41.84 10.4438 40.5812L22.4963 28.6187C23.3275 27.7925 24.67 27.7925 25.5012 28.6187L37.5537 40.5812C38.8225 41.84 37.9325 44.0013 36.1475 44.0013ZM47.125 13.125L34.8875 0.875C34.325 0.3125 33.5625 0 32.7625 0H32V16H48V15.2375C48 14.45 47.6875 13.6875 47.125 13.125Z"})))},ds=(0,s.forwardRef)(us);n.p;var fs,hs=["title","titleId"];function ps(){return ps=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var gs=function(e,t){var n=e.title,r=e.titleId,i=ms(e,hs);return s.createElement("svg",ps({width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,fs||(fs=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.548 0.452511C10.9453 -0.150186 10.3426 -0.150186 9.73989 0.452511L8.96061 1.23179L10.7687 3.03988L11.548 2.2606C12.1507 1.65791 12.1507 1.05521 11.548 0.452511ZM9.91636 3.89222L8.10827 2.08413L1.90482 8.28758C1.90482 8.28758 -0.505968 11.3011 0.0967292 11.9038C0.699426 12.5065 3.71291 10.0957 3.71291 10.0957L9.91636 3.89222Z",fill:"#617ADA"})))},vs=(0,s.forwardRef)(gs);n.p;var ys,bs=["title","titleId"];function Cs(){return Cs=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var xs=function(e,t){var n=e.title,r=e.titleId,i=ws(e,bs);return s.createElement("svg",Cs({width:14,height:14,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,ys||(ys=s.createElement("path",{d:"M6.33334 3.66668H7.66668V5.00001H6.33334V3.66668ZM6.33334 6.33334H7.66668V10.3333H6.33334V6.33334ZM7.00001 0.333344C3.32001 0.333344 0.333344 3.32001 0.333344 7.00001C0.333344 10.68 3.32001 13.6667 7.00001 13.6667C10.68 13.6667 13.6667 10.68 13.6667 7.00001C13.6667 3.32001 10.68 0.333344 7.00001 0.333344ZM7.00001 12.3333C4.06001 12.3333 1.66668 9.94001 1.66668 7.00001C1.66668 4.06001 4.06001 1.66668 7.00001 1.66668C9.94001 1.66668 12.3333 4.06001 12.3333 7.00001C12.3333 9.94001 9.94001 12.3333 7.00001 12.3333Z",fill:"currentColor"})))},ks=(0,s.forwardRef)(xs);n.p;n.p;var Ss,_s,js=["title","titleId"];function Es(){return Es=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Os=function(e,t){var n=e.title,r=e.titleId,i=Ts(e,js);return s.createElement("svg",Es({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,Ss||(Ss=s.createElement("path",{d:"M13.2391 9.80435C13.4455 8.77225 13.5488 8.25621 13.7113 8.14125C13.8843 8.01893 14.1157 8.01893 14.2887 8.14125C14.4512 8.25621 14.5545 8.77225 14.7609 9.80435C14.8999 10.4994 14.9694 10.8469 15.1326 11.1307C15.3088 11.437 15.563 11.6912 15.8693 11.8674C16.1531 12.0306 16.5006 12.1001 17.1957 12.2391C18.2277 12.4455 18.7438 12.5488 18.8587 12.7113C18.9811 12.8843 18.9811 13.1157 18.8587 13.2887C18.7438 13.4512 18.2277 13.5545 17.1957 13.7609C16.5006 13.8999 16.1531 13.9694 15.8693 14.1326C15.563 14.3088 15.3088 14.563 15.1326 14.8693C14.9694 15.1531 14.8999 15.5006 14.7609 16.1957C14.5545 17.2277 14.4512 17.7438 14.2887 17.8587C14.1157 17.9811 13.8843 17.9811 13.7113 17.8587C13.5488 17.7438 13.4455 17.2277 13.2391 16.1957C13.1001 15.5006 13.0306 15.1531 12.8674 14.8693C12.6912 14.563 12.437 14.3088 12.1307 14.1326C11.8469 13.9694 11.4994 13.8999 10.8043 13.7609C9.77225 13.5545 9.25621 13.4512 9.14125 13.2887C9.01893 13.1157 9.01893 12.8843 9.14125 12.7113C9.25621 12.5488 9.77225 12.4455 10.8043 12.2391C11.4994 12.1001 11.8469 12.0306 12.1307 11.8674C12.437 11.6912 12.6912 11.437 12.8674 11.1307C13.0306 10.8469 13.1001 10.4994 13.2391 9.80435Z",fill:"#898098"})),_s||(_s=s.createElement("path",{d:"M5.23913 3.80435C5.44555 2.77225 5.54876 2.25621 5.71133 2.14125C5.88434 2.01893 6.11566 2.01893 6.28866 2.14125C6.45124 2.25621 6.55445 2.77225 6.76087 3.80435C6.89988 4.49939 6.96938 4.84692 7.13259 5.13072C7.30876 5.43705 7.56295 5.69124 7.86928 5.86741C8.15308 6.03062 8.50061 6.10012 9.19565 6.23913C10.2277 6.44555 10.7438 6.54876 10.8587 6.71133C10.9811 6.88434 10.9811 7.11566 10.8587 7.28866C10.7438 7.45124 10.2277 7.55445 9.19565 7.76087C8.50061 7.89988 8.15308 7.96938 7.86928 8.13259C7.56295 8.30876 7.30876 8.56295 7.13259 8.86928C6.96938 9.15308 6.89988 9.50061 6.76087 10.1957C6.55445 11.2277 6.45124 11.7438 6.28866 11.8587C6.11566 11.9811 5.88434 11.9811 5.71133 11.8587C5.54876 11.7438 5.44555 11.2277 5.23913 10.1957C5.10012 9.50061 5.03062 9.15308 4.86741 8.86928C4.69124 8.56295 4.43705 8.30876 4.13072 8.13259C3.84692 7.96938 3.49939 7.89988 2.80435 7.76087C1.77225 7.55445 1.25621 7.45124 1.14125 7.28866C1.01893 7.11566 1.01893 6.88434 1.14125 6.71133C1.25621 6.54876 1.77225 6.44555 2.80435 6.23913C3.49939 6.10012 3.84692 6.03062 4.13072 5.86741C4.43705 5.69124 4.69124 5.43705 4.86741 5.13072C5.03062 4.84692 5.10012 4.49939 5.23913 3.80435Z",fill:"#898098"})))},As=(0,s.forwardRef)(Os);n.p;n.p;var Ns,Ms,Ls=["title","titleId"];function Ps(){return Ps=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Is=function(e,t){var n=e.title,r=e.titleId,i=Ds(e,Ls);return s.createElement("svg",Ps({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 14 14",fill:"none",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,Ns||(Ns=s.createElement("g",null,s.createElement("path",{d:"M11.0833 0.583332L10.3483 2.1875L8.75001 2.91667L10.3483 3.65167L11.0833 5.25L11.8125 3.65167L13.4167 2.91667L11.8125 2.1875M5.25001 2.33333L3.79168 5.54167L0.583344 7L3.79168 8.45833L5.25001 11.6667L6.70834 8.45833L9.91668 7L6.70834 5.54167M11.0833 8.75L10.3483 10.3483L8.75001 11.0833L10.3483 11.8125L11.0833 13.4167L11.8125 11.8125L13.4167 11.0833L11.8125 10.3483",fill:"url(#paint0_linear_3_2598)"}))),Ms||(Ms=s.createElement("defs",null,s.createElement("linearGradient",{id:"paint0_linear_3_2598",x1:.583344,y1:.583332,x2:16.0237,y2:6.0408,gradientUnits:"userSpaceOnUse"},s.createElement("stop",{className:"stop1",stopColor:"#FFA663"}),s.createElement("stop",{className:"stop2",offset:.515625,stopColor:"#FF7557"}),s.createElement("stop",{className:"stop3",offset:1,stopColor:"#E37BD3"})))))},Rs=(0,s.forwardRef)(Is);n.p;var qs,Fs=["title","titleId"];function Hs(){return Hs=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Us=function(e,t){var n=e.title,r=e.titleId,i=Bs(e,Fs);return s.createElement("svg",Hs({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,qs||(qs=s.createElement("g",{id:"models",opacity:.6},s.createElement("path",{id:"stars",d:"M14.5469 11.5177C14.4673 11.4132 14.3972 11.0629 14.2571 10.3623C14.1625 9.88949 14.1153 9.65305 14.0306 9.44799C13.7993 8.88781 13.3544 8.44287 12.7942 8.21159C12.5891 8.12693 12.3527 8.07965 11.8799 7.98508C11.1793 7.84496 10.829 7.77491 10.7245 7.6953C10.4252 7.46736 10.4252 7.01701 10.7245 6.78908C10.829 6.70947 11.1793 6.63941 11.8798 6.4993C12.3527 6.40473 12.5891 6.35744 12.7942 6.27278C13.3544 6.04151 13.7993 5.59656 14.0306 5.03638C14.1153 4.83133 14.1625 4.5949 14.2571 4.12207C14.3972 3.4215 14.4673 3.07119 14.5469 2.96666C14.7748 2.66736 15.2252 2.66736 15.4531 2.96666C15.5327 3.07119 15.6028 3.42147 15.7429 4.12203C15.8375 4.59488 15.8847 4.83132 15.9694 5.03638C16.2007 5.59656 16.6456 6.04151 17.2058 6.27278C17.4109 6.35744 17.6473 6.40473 18.1201 6.4993C18.8207 6.63941 19.171 6.70947 19.2755 6.78908C19.5748 7.01701 19.5748 7.46736 19.2755 7.6953C19.171 7.77491 18.8207 7.84496 18.1201 7.98508C17.6473 8.07965 17.4109 8.12693 17.2058 8.21159C16.6456 8.44287 16.2007 8.88781 15.9694 9.44799C15.8847 9.65305 15.8375 9.88948 15.7429 10.3623C15.6028 11.0629 15.5327 11.4132 15.4531 11.5177C15.2252 11.817 14.7748 11.817 14.5469 11.5177Z",fill:"black"}),s.createElement("path",{id:"stars_2",d:"M7.74827 11.8753C7.70404 11.8172 7.66512 11.6226 7.58728 11.2334C7.53474 10.9707 7.50847 10.8394 7.46144 10.7254C7.33296 10.4142 7.08576 10.167 6.77455 10.0386C6.66063 9.99153 6.52928 9.96526 6.26659 9.91272C5.87738 9.83488 5.68278 9.79596 5.62471 9.75173C5.45843 9.6251 5.45843 9.3749 5.62471 9.24827C5.68278 9.20404 5.87738 9.16513 6.26658 9.08728C6.52927 9.03475 6.66063 9.00847 6.77455 8.96144C7.08576 8.83295 7.33296 8.58576 7.46144 8.27455C7.50847 8.16063 7.53474 8.02929 7.58728 7.7666C7.66512 7.37739 7.70404 7.18278 7.74827 7.12471C7.8749 6.95843 8.1251 6.95843 8.25173 7.12471C8.29595 7.18278 8.33488 7.37738 8.41272 7.76658C8.46525 8.02927 8.49153 8.16063 8.53856 8.27455C8.66705 8.58576 8.91423 8.83295 9.22545 8.96144C9.33937 9.00847 9.47072 9.03474 9.73341 9.08728C10.1226 9.16512 10.3172 9.20404 10.3753 9.24827C10.5416 9.3749 10.5416 9.6251 10.3753 9.75173C10.3172 9.79596 10.1226 9.83488 9.73341 9.91272C9.47072 9.96526 9.33937 9.99153 9.22545 10.0386C8.91423 10.167 8.66705 10.4142 8.53856 10.7254C8.49153 10.8394 8.46526 10.9707 8.41272 11.2334C8.33488 11.6226 8.29595 11.8172 8.25173 11.8753C8.1251 12.0416 7.8749 12.0416 7.74827 11.8753Z",fill:"black",fillOpacity:.7}),s.createElement("path",{id:"stars_3",d:"M5.34896 14.6673C5.32243 14.6325 5.29907 14.5157 5.25237 14.2822C5.22085 14.1246 5.20508 14.0458 5.17686 13.9774C5.09977 13.7907 4.95146 13.6424 4.76473 13.5653C4.69638 13.5371 4.61757 13.5213 4.45995 13.4898C4.22643 13.4431 4.10967 13.4197 4.07482 13.3932C3.97506 13.3172 3.97506 13.1671 4.07482 13.0911C4.10967 13.0646 4.22643 13.0412 4.45995 12.9945C4.61756 12.963 4.69638 12.9472 4.76473 12.919C4.95146 12.8419 5.09977 12.6936 5.17686 12.5069C5.20508 12.4385 5.22085 12.3597 5.25237 12.2021C5.29907 11.9686 5.32243 11.8518 5.34896 11.817C5.42494 11.7172 5.57506 11.7172 5.65104 11.817C5.67757 11.8518 5.70093 11.9686 5.74763 12.2021C5.77915 12.3597 5.79492 12.4385 5.82314 12.5069C5.90023 12.6936 6.04854 12.8419 6.23527 12.919C6.30362 12.9472 6.38243 12.963 6.54005 12.9945C6.77357 13.0412 6.89033 13.0646 6.92518 13.0911C7.02494 13.1671 7.02494 13.3172 6.92518 13.3932C6.89033 13.4197 6.77357 13.4431 6.54005 13.4898C6.38243 13.5213 6.30362 13.5371 6.23527 13.5653C6.04854 13.6424 5.90023 13.7907 5.82314 13.9774C5.79492 14.0458 5.77915 14.1246 5.74763 14.2822C5.70093 14.5157 5.67757 14.6325 5.65104 14.6673C5.57506 14.7671 5.42494 14.7671 5.34896 14.6673Z",fill:"black",fillOpacity:.6}),s.createElement("path",{id:"Ellipse 3",d:"M6.00992 15.7837C5.61293 15.9019 5.38323 16.3217 5.54321 16.7038C6.04024 17.8908 6.85711 18.9226 7.90919 19.6803C8.96126 20.438 10.1988 20.8857 11.4822 20.9809C11.8952 21.0115 12.2206 20.6606 12.2069 20.2467L12.1754 19.2972C12.1617 18.8832 11.813 18.5651 11.4023 18.5107C10.662 18.4126 9.95318 18.1331 9.34097 17.6922C8.72876 17.2513 8.23908 16.6676 7.9114 15.9966C7.72965 15.6243 7.3174 15.3944 6.92041 15.5126L6.00992 15.7837Z",fill:"black",fillOpacity:.6}),s.createElement("path",{id:"Ellipse 4",d:"M13.5198 20.0625C13.6206 20.4642 14.0299 20.7121 14.4186 20.569C15.1405 20.3032 15.8154 19.9195 16.4151 19.4321C17.0147 18.9447 17.5282 18.3625 17.9359 17.7101C18.1555 17.3589 17.9965 16.9076 17.6238 16.7269L16.769 16.3124C16.3963 16.1317 15.9523 16.2921 15.7129 16.6301C15.4747 16.9663 15.1913 17.2696 14.8698 17.5309C14.5482 17.7923 14.1935 18.0077 13.8157 18.1721C13.4358 18.3374 13.1881 18.7392 13.2888 19.141L13.5198 20.0625Z",fill:"black",fillOpacity:.4}),s.createElement("path",{id:"Ellipse 5",d:"M18.0939 15.3882C18.4978 15.4802 18.904 15.2274 18.9523 14.816C19.0692 13.8198 18.9706 12.8099 18.6633 11.8551C18.5363 11.4608 18.0889 11.2913 17.7104 11.4596L16.8424 11.8458C16.464 12.0142 16.3003 12.4569 16.4043 12.8579C16.5237 13.3181 16.5701 13.7943 16.5421 14.269C16.5176 14.6825 16.7638 15.0852 17.1676 15.1772L18.0939 15.3882Z",fill:"black",fillOpacity:.2}))))},zs=(0,s.forwardRef)(Us);n.p;var Ws,Vs,$s,Gs,Zs,Ys,Ks,Xs,Js,Qs,el,tl,nl,rl,il,ol,al=["title","titleId"];function sl(){return sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var cl=function(e,t){var n=e.title,r=e.titleId,i=ll(e,al);return s.createElement("svg",sl({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,Ws||(Ws=s.createElement("path",{d:"M7.93412 5.62846C7.82623 6.13461 7.59068 6.59351 7.26279 6.96984L9.066 7.87145C9.17391 7.3653 9.40947 6.90641 9.73738 6.53009L7.93412 5.62846Z",fill:"#262626"})),Vs||(Vs=s.createElement("path",{d:"M14.2627 6.53006C14.5906 6.90637 14.8262 7.36526 14.9341 7.87141L16.7373 6.96981C16.4094 6.59348 16.1739 6.13458 16.066 5.62842L14.2627 6.53006Z",fill:"#262626"})),$s||($s=s.createElement("path",{d:"M14.934 9.12878C14.8261 9.63492 14.5905 10.0938 14.2626 10.4701L16.0659 11.372C16.1737 10.8658 16.4092 10.4069 16.737 10.0305L14.934 9.12878Z",fill:"#262626"})),Gs||(Gs=s.createElement("path",{d:"M16.7377 13.9702C16.4097 13.594 16.1741 13.1351 16.0661 12.629L14.2629 13.5303C14.5908 13.9067 14.8263 14.3656 14.9342 14.8717L16.7377 13.9702Z",fill:"#262626"})),Zs||(Zs=s.createElement("path",{d:"M14.9341 16.1285C14.8262 16.6346 14.5907 17.0935 14.2628 17.4698L16.066 18.3714C16.1739 17.8653 16.4095 17.4064 16.7374 17.0301L14.9341 16.1285Z",fill:"#262626"})),Ys||(Ys=s.createElement("path",{d:"M9.73728 17.4698C9.40939 17.0935 9.17385 16.6346 9.06597 16.1284L7.2627 17.0301C7.59061 17.4064 7.82618 17.8653 7.93409 18.3714L9.73728 17.4698Z",fill:"#262626"})),Ks||(Ks=s.createElement("path",{d:"M9.066 14.8714C9.17391 14.3653 9.40947 13.9064 9.73738 13.5301L7.93412 12.6285C7.82623 13.1346 7.59068 13.5935 7.26279 13.9698L9.066 14.8714Z",fill:"#262626"})),Xs||(Xs=s.createElement("path",{d:"M7.2627 10.0301C7.59061 10.4064 7.82618 10.8653 7.93409 11.3714L9.73728 10.4698C9.40939 10.0935 9.17385 9.63458 9.06597 9.12842L7.2627 10.0301Z",fill:"#262626"})),Js||(Js=s.createElement("path",{d:"M7 5C7 6.10457 6.10457 7 5 7C3.89543 7 3 6.10457 3 5C3 3.89543 3.89543 3 5 3C6.10457 3 7 3.89543 7 5Z",fill:"#262626"})),Qs||(Qs=s.createElement("path",{d:"M14 8.5C14 9.60457 13.1046 10.5 12 10.5C10.8954 10.5 10 9.60457 10 8.5C10 7.39543 10.8954 6.5 12 6.5C13.1046 6.5 14 7.39543 14 8.5Z",fill:"#262626"})),el||(el=s.createElement("path",{d:"M21 5C21 6.10457 20.1046 7 19 7C17.8954 7 17 6.10457 17 5C17 3.89543 17.8954 3 19 3C20.1046 3 21 3.89543 21 5Z",fill:"#262626"})),tl||(tl=s.createElement("path",{d:"M7 12C7 13.1046 6.10457 14 5 14C3.89543 14 3 13.1046 3 12C3 10.8954 3.89543 10 5 10C6.10457 10 7 10.8954 7 12Z",fill:"#262626"})),nl||(nl=s.createElement("path",{d:"M21 12C21 13.1046 20.1046 14 19 14C17.8954 14 17 13.1046 17 12C17 10.8954 17.8954 10 19 10C20.1046 10 21 10.8954 21 12Z",fill:"#262626"})),rl||(rl=s.createElement("path",{d:"M14 15.5C14 16.6046 13.1046 17.5 12 17.5C10.8954 17.5 10 16.6046 10 15.5C10 14.3954 10.8954 13.5 12 13.5C13.1046 13.5 14 14.3954 14 15.5Z",fill:"#262626"})),il||(il=s.createElement("path",{d:"M7 19C7 20.1046 6.10457 21 5 21C3.89543 21 3 20.1046 3 19C3 17.8954 3.89543 17 5 17C6.10457 17 7 17.8954 7 19Z",fill:"#262626"})),ol||(ol=s.createElement("path",{d:"M21 19C21 20.1046 20.1046 21 19 21C17.8954 21 17 20.1046 17 19C17 17.8954 17.8954 17 19 17C20.1046 17 21 17.8954 21 19Z",fill:"#262626"})))},ul=(0,s.forwardRef)(cl);n.p;var dl=n(67755),fl=n(31085);const hl=["tag","name","mod","mix"],pl=["component","block","name","mod","mix"];const ml=null!="lsf-"?"lsf-":"dm-",gl=(0,s.createContext)(null),vl=(e,t={})=>{const{elem:n,mix:r,mod:i}=null!=t?t:{},o=e,a={block:e=>vl(e,{elem:n,mix:r,mod:i}),elem:t=>vl(e,{elem:t,mix:r,mod:i}),mod(t={}){const a=Object.assign({},null!=i?i:{},t);return vl(null!=e?e:o,{elem:n,mix:r,mod:a})},mix:(...t)=>vl(e,{elem:n,mix:t,mod:i}),select(e=document){return e.querySelector(this.toCSSSelector())},selectAll(e=document){return e.querySelectorAll(this.toCSSSelector())},closest(e){return e.closest(this.toCSSSelector())},toString:()=>((e,t,n,r)=>{const i=e,o=t?`${i}__${t}`:null,a=Object.entries(null!=r?r:{}).reduce(((e,[t,n])=>{const r=[null!=o?o:i];return null==n||!1!==n&&(r.push(t),!0!==n&&r.push(n),e.push(r.join("_"))),e}),[]),s=[];if(s.push(null!=o?o:i),s.push(...a),n){const e=Array.isArray(n)?n:[n],t=[].concat(...e).filter((e=>(0,dl.O9)(e)&&""!==e)).map((e=>"string"==typeof e?e:null==e||null==e.toClassName?void 0:e.toClassName())).reduce(((e,t)=>[...e,...t.split(/\s+/)]),[]);s.push(...t)}return s.filter((e=>!(0,dl.jw)(e))).map((e=>("string"!=typeof e&&console.error("Non-string classname: ",e),String(e).startsWith(ml)?e:`${ml}${e}`))).join(" ")})(e,n,r,i),toClassName(){return this.toString()},toCSSSelector(){return`.${this.toClassName().replace(/(\s+)/g,".")}`}};return Object.defineProperty(a,"Block",{value:bl}),Object.defineProperty(a,"Elem",{value:Cl}),Object.defineProperty(a,"__class",{value:{block:e,elem:n,mix:r,mod:i}}),a},yl=e=>{const t=null!=e?e:(0,s.createContext)(null),n=(0,s.forwardRef)(((e,n)=>{let{tag:r="div",name:i,mod:o,mix:a}=e,l=(0,Ui.A)(e,hl);const c=vl(i),u=[].concat(a).filter((e=>!!e)),d=c.mod(o).mix(...u,l.className).toClassName(),f=Object.assign({},l,{ref:n,className:d});return(0,fl.jsx)(t.Provider,{value:c,children:(0,s.createElement)(r,f)})}));n.displayName="Block";const r=(0,s.forwardRef)(((e,n)=>{var r;let{component:i,block:o,name:a,mod:l,mix:c}=e,u=(0,Ui.A)(e,pl);const d=(0,s.useContext)(t),f=[].concat(c).filter((e=>!!e)),h=null!=(r=u.tag)?r:"div",p=(o?vl(o):d).elem(a).mod(l).mix(...f,u.className).toClassName(),m=Object.assign({},u,{ref:n,className:p});return"string"!=typeof h&&(m.block=d),(0,s.createElement)(null!=i?i:h,m)}));return r.displayName="Elem",{Block:n,Elem:r,Context:t}},{Block:bl,Elem:Cl}=yl(gl),wl=(0,s.createContext)();wl.displayName="FormContext";const xl=(0,s.createContext)();xl.displayName="FormValidationContext";const kl=(0,s.createContext)();kl.displayName="FormSubmissionContext";const Sl=(0,s.createContext)();Sl.displayName="FormStateContext";const _l=(0,s.createContext)();_l.displayName="FormResponseContext";const jl=["children","type","extra","className","size","waiting","icon","tag","look"],El=s.forwardRef(((e,t)=>{let{children:n,type:r,extra:i,className:o,size:a,waiting:l,icon:c,tag:u,look:d}=e,f=(0,Ui.A)(e,jl);const h=null!=u?u:f.href?"a":"button",p={size:a,waiting:l,type:r,look:null!=d?d:[],withIcon:!!c,withExtra:!!i};var m;!0===s.useContext(kl)&&(null!=(m=p.look)&&null!=m.includes&&m.includes("primary")&&"submit"===r?p.waiting=!0:f.disabled=!0);f.primary&&(p.look="primary",delete f.primary);const g=s.useMemo((()=>{if(!c)return null;if((0,dl.O9)(c.props.size))return c;switch(a){case"small":return s.cloneElement(c,Object.assign({},c.props,{size:12,width:12,height:12}));case"compact":return s.cloneElement(c,Object.assign({},c.props,{size:14,width:14,height:14}));default:return c}}),[c,a]);return(0,fl.jsx)(bl,Object.assign({name:"button-ls",mod:p,mix:o,ref:t,tag:h,type:r},f,{children:(0,fl.jsxs)(fl.Fragment,{children:[g&&(0,fl.jsx)(Cl,{tag:"span",name:"icon",children:g}),g&&n?(0,fl.jsx)("span",{children:n}):n,void 0!==i?(0,fl.jsx)(Cl,{name:"extra",children:i}):null]})}))}));El.displayName="Button",El.Group=({className:e,children:t,collapsed:n})=>(0,fl.jsx)(bl,{name:"button-group-ls",mod:{collapsed:n},mix:e,children:t});const{Block:Tl}=yl(),Ol=({direction:e="horizontal",size:t,className:n,style:r,children:i,spread:o,stretch:a,align:s})=>(0,fl.jsx)(Tl,{name:"space-ls",mod:{direction:e,size:t,spread:o,stretch:a,align:s},mix:n,style:r,children:i}),Al=({title:e,message:t,errorId:n,stacktrace:r,validation:i,version:o,onGoBack:a,onReload:l,possum:c=!1})=>{const u=(0,s.useMemo)((()=>(null!=r?r:"").trim()),[r]),[d,f]=(0,s.useState)(!1),h=(0,s.useCallback)((()=>{f(!0),(0,dl.Dk)(u),setTimeout((()=>f(!1)),1200)}),[u]);return(0,fl.jsxs)(bl,{name:"error-message",children:[!1!==c&&(0,fl.jsx)(Cl,{tag:"img",name:"heidi",src:(0,dl.xS)("/static/images/opossum_broken.svg"),height:"111",alt:"Heidi's down"}),e&&(0,fl.jsx)(Cl,{name:"title",children:e}),t&&(0,fl.jsx)(Cl,{name:"detail",dangerouslySetInnerHTML:{__html:Wi()(String(t))}}),u&&(0,fl.jsx)(Cl,{name:"stracktrace",dangerouslySetInnerHTML:{__html:Wi()(u.replace(/(\n)/g,"
"))}}),(null==i?void 0:i.length)>0&&(0,fl.jsx)(Cl,{tag:"ul",name:"validation",children:i.map((([e,t])=>(0,fl.jsx)(s.Fragment,{children:[].concat(t).map(((e,t)=>(0,fl.jsx)(Cl,{tag:"li",name:"message",dangerouslySetInnerHTML:{__html:Wi()(e)}},t)))},e)))}),(o||n)&&(0,fl.jsx)(Cl,{name:"version",children:(0,fl.jsxs)(Ol,{children:[o&&`Version: ${o}`,n&&`Error ID: ${n}`]})}),(0,fl.jsx)(Cl,{name:"actions",children:(0,fl.jsxs)(Ol,{spread:!0,children:[(0,fl.jsx)(Cl,{tag:El,name:"action-slack",target:"_blank",icon:(0,fl.jsx)(Qa,{}),href:"https://slack.labelstud.io/?source=product-error-msg",children:"Ask on Slack"}),(0,fl.jsxs)(Ol,{size:"small",children:[u&&(0,fl.jsx)(El,{disabled:d,onClick:h,style:{width:180},children:d?"Copied":"Copy Stacktrace"}),a&&(0,fl.jsx)(El,{onClick:a,children:"Go Back"}),l&&(0,fl.jsx)(El,{onClick:l,children:"Reload"})]})]})})]})},Nl=(0,s.createContext)(window.APP_SETTINGS);Nl.displayName="ConfigContext";Nl.Consumer;const Ml=({children:e})=>{var t;const[n,r]=(0,s.useState)(null!=(t=window.APP_SETTINGS)?t:{}),i=e=>{e&&r(e)},o=(0,s.useMemo)((()=>Object.assign({},n,{update:i})),[n]);return(0,fl.jsx)(Nl.Provider,{value:o,children:e})},Ll=()=>(0,s.useContext)(Nl),Pl=(0,s.createContext)(),Dl=({children:e})=>{const t=rc(),[n,r]=(0,s.useState)(),i=(0,s.useCallback)((()=>{t.callApi("me").then((e=>{r(e)}))}),[]);return(0,s.useEffect)((()=>{i()}),[i]),(0,fl.jsx)(Pl.Provider,{value:{user:n,fetch:i},children:e})},Il=e=>{var t;let n=e.children||null;if(!e.providers)throw"MultiProvider: Missing providers prop";if(!e.children)throw"MultiProvider: Missing children";return e.providers.length?([...null!=(t=e.providers)?t:[]].reverse().forEach((e=>{n=s.cloneElement(e,null,n)})),n):n},Rl=(e,{init:t,transition:n,onStart:r,beforeTransition:i,afterTransition:o}={})=>new Promise((async a=>{null==t||t(e);const s=()=>{null==r||r(e)},l=async()=>{await(null==o?void 0:o(e)),e.removeEventListener("transitionstart",s),e.removeEventListener("transitionend",l),a()};e.addEventListener("transitionstart",s),e.addEventListener("transitionend",l),await(null==i?void 0:i()),setTimeout((()=>n(e)),30)})),{Block:ql,Elem:Fl}=yl(),Hl=(0,s.createContext)();class Bl extends s.Component{constructor(e){var t;super(e),this.modalRef=s.createRef(),this.onClickOutside=e=>{if(!this.modalRef.current)return;const{closeOnClickOutside:t}=this.props,n=!1!==this.props.allowClose,r=this.modalRef.current.contains(e.target),i=vl("modal").elem("content").closest(e.target),o=vl("modal").elem("close").closest(e.target);n&&(r&&o||null===i&&!1!==t)&&this.hide()},this.closeOnEscape=e=>{!1!==this.props.allowClose&&"Escape"===e.key&&this.state.visible&&(e.stopPropagation(),e.preventDefault(),this.hide())},this.state={title:e.title,body:e.body,footer:e.footer,visible:!e.animateAppearance&&(null!=(t=e.visible)&&t),transition:e.visible?"visible":null}}componentDidMount(){this.props.animateAppearance&&setTimeout((()=>this.show()),30),document.addEventListener("keydown",this.closeOnEscape,{capture:!this.props.allowToInterceptEscape})}componentWillUnmount(){document.removeEventListener("keydown",this.closeOnEscape,{capture:!this.props.allowToInterceptEscape})}componentDidUpdate(e,t){t.visible!==this.state.visible&&(document.body.style.overflow=this.state.visible?"hidden":"")}setBody(e){this.setState({body:e})}show(e){var t=this;return new Promise((n=>{this.setState({visible:!0},(async function(){null==e||e(),null==t.props.onShow||t.props.onShow(),await t.transition("appear",n)}))}))}hide(e){return new Promise((t=>{this.transition("disappear",(()=>{this.setState({visible:!1},(()=>{var n,r;null==(n=(r=this.props).onHide)||n.call(r),t(),null==e||e()}))}))}))}render(){if(!this.state.visible)return null;const e=this.props.bare,t={fullscreen:!!this.props.fullscreen,bare:this.props.bare,visible:this.props.visible||this.state.visible},n=[this.transitionClass,this.props.className],r={};this.props.width&&(r.width=this.props.width),this.props.height&&(r.height=this.props.height);const i=(0,fl.jsx)(Hl.Provider,{value:this,children:(0,fl.jsx)(ql,{name:"modal",ref:this.modalRef,mod:t,mix:n,onClick:this.onClickOutside,children:(0,fl.jsx)(Fl,{name:"wrapper",children:(0,fl.jsxs)(Fl,{name:"content",style:Object.assign({},this.props.style,r),children:[!e&&(0,fl.jsxs)(Bl.Header,{children:[(0,fl.jsx)(Fl,{name:"title",children:this.state.title}),!1!==this.props.allowClose&&(0,fl.jsx)(Fl,{tag:El,name:"close",type:"text",icon:(0,fl.jsx)(So,{})})]}),(0,fl.jsx)(Fl,{name:"body",mod:{bare:e},children:this.body}),this.props.footer&&(0,fl.jsx)(Bl.Footer,{bare:this.props.bareFooter,children:this.footer})]})})})});return(0,o.createPortal)(i,document.body)}transition(e,t){var n=this;return Rl(this.modalRef.current,{transition:async function(){return new Promise((t=>{n.setState({transition:e},(()=>{t()}))}))},beforeTransition:async function(){return new Promise((t=>{n.setState({transition:`before-${e}`},(()=>{t()}))}))},afterTransition:async function(){return new Promise((r=>{n.setState({transition:"appear"===e?"visible":null},(()=>{null==t||t(),r()}))}))}})}get transitionClass(){switch(this.state.transition){case"before-appear":return"before-appear";case"appear":return"appear before-appear";case"before-disappear":return"before-disappear";case"disappear":return"disappear before-disappear";case"visible":return"visible"}return null}get body(){if(this.state.body){const e=this.state.body;return e instanceof Function?(0,fl.jsx)(e,{}):e}return this.props.children}get footer(){if(this.state.footer){const e=this.state.footer;return e instanceof Function?(0,fl.jsx)(e,{}):e}return null}}Bl.Header=({children:e,divided:t})=>(0,fl.jsx)(Fl,{name:"header",mod:{divided:t},children:e}),Bl.Footer=({children:e,bare:t})=>(0,fl.jsx)(Fl,{name:"footer",mod:{bare:t},children:e});const Ul=()=>(0,s.useContext)(Hl),zl=["okText","onOk","cancelText","onCancel","buttonLook"],Wl=["okText","onOkPress"],Vl=e=>{const t=(0,s.createRef)(),n=document.createElement("div");let r=0;n.className=vl("modal-holder").toClassName(),document.body.appendChild(n);const i=(e,i)=>{r++,(0,o.render)((0,fl.jsx)(Il,{providers:e.simple?[]:[(0,fl.jsx)(Ml,{},"config"),(0,fl.jsx)(nc,{},"api"),(0,fl.jsx)(Dl,{},"current-user")],children:(0,fl.jsx)(Bl,Object.assign({ref:t},e,{onHide:()=>{null==e.onHidden||e.onHidden(),(0,o.unmountComponentAtNode)(n),n.remove()},animateAppearance:i}))},`modal-${r}`),n)};return i(e,!0),{update(t){i(Object.assign({},e,null!=t?t:{},{visible:!0}),!1)},close(){const e=t.current.hide();return(0,o.unmountComponentAtNode)(n),n.remove(),e}}},$l=e=>{let{okText:t,onOk:n,cancelText:r,onCancel:i,buttonLook:o}=e,a=(0,Ui.A)(e,zl);const s=Vl(Object.assign({},a,{allowClose:!1,footer:(0,fl.jsxs)(Ol,{align:"end",children:[(0,fl.jsx)(El,{onClick:()=>{null==i||i(),s.close()},size:"compact",autoFocus:!0,children:null!=r?r:"Cancel"}),(0,fl.jsx)(El,{onClick:()=>{null==n||n(),s.close()},size:"compact",look:null!=o?o:"primary",children:null!=t?t:"OK"})]})}));return s};Object.assign(Bl,{info:e=>{let{okText:t,onOkPress:n}=e,r=(0,Ui.A)(e,Wl);const i=Vl(Object.assign({},r,{footer:(0,fl.jsx)(Ol,{align:"end",children:(0,fl.jsx)(El,{onClick:()=>{null==n||n(),i.close()},look:"primary",size:"compact",children:null!=t?t:"OK"})})}));return i},confirm:$l,modal:Vl});const Gl={gateway:`${window.APP_SETTINGS.hostname}/api`,endpoints:{users:"/users",me:"/current-user/whoami",memberships:"/organizations/:pk/memberships",inviteLink:"/invite",resetInviteLink:"POST:/invite/reset-token",projects:"/projects",project:"/projects/:pk",updateProject:"PATCH:/projects/:pk",createProject:"POST:/projects",deleteProject:"DELETE:/projects/:pk",projectResetCache:"POST:/projects/:pk/summary/reset",presignUrlForTask:"/../tasks/:taskID/presign",presignUrlForProject:"/../projects/:projectId/presign",configTemplates:"/templates",validateConfig:"POST:/projects/:pk/validate",createSampleTask:"POST:/projects/:pk/sample-task",fileUploads:"/projects/:pk/file-uploads",deleteFileUploads:"DELETE:/projects/:pk/file-uploads",importFiles:"POST:/projects/:pk/import",reimportFiles:"POST:/projects/:pk/reimport",dataSummary:"/projects/:pk/summary",deleteTabs:"DELETE:/dm/views/reset",listStorages:"/storages/:target?",storageTypes:"/storages/:target?/types",storageForms:"/storages/:target?/:type/form",createStorage:"POST:/storages/:target?/:type",deleteStorage:"DELETE:/storages/:target?/:type/:pk",updateStorage:"PATCH:/storages/:target?/:type/:pk",syncStorage:"POST:/storages/:target?/:type/:pk/sync",validateStorage:"POST:/storages/:target?/:type/validate",mlBackends:"GET:/ml",mlBackend:"GET:/ml/:pk",addMLBackend:"POST:/ml",updateMLBackend:"PATCH:/ml/:pk",deleteMLBackend:"DELETE:/ml/:pk",trainMLBackend:"POST:/ml/:pk/train",predictWithML:"POST:/ml/:pk/predict/test",projectModelVersions:"/projects/:pk/model-versions",deletePredictions:"DELETE:/projects/:pk/model-versions",modelVersions:"/ml/:pk/versions",mlInteractive:"POST:/ml/:pk/interactive-annotating",export:"/projects/:pk/export",previousExports:"/projects/:pk/export/files",exportFormats:"/projects/:pk/export/formats",version:"/version",webhooks:"/webhooks",webhook:"/webhooks/:pk",updateWebhook:"PATCH:/webhooks/:pk",createWebhook:"POST:/webhooks",deleteWebhook:"DELETE:/webhooks/:pk",webhooksInfo:"/webhooks/info"},alwaysExpectJSON:!1},Zl=["scope"];const Yl=["isShutdown"],Kl=["params","errorFilter"],Xl=new class{constructor(e){var t,n,r,i,o;this.gateway=null,this.commonHeaders={},this.mockDelay=0,this.mockDisabled=!1,this.requestMode="same-origin",this.sharedParams={},this.commonHeaders=null!=(t=e.commonHeaders)?t:{},this.gateway=this.resolveGateway(e.gateway),this.requestMode=this.detectMode(),this.mockDelay=null!=(n=e.mockDelay)?n:0,this.mockDisabled=null!=(r=e.mockDisabled)&&r,this.sharedParams=null!=(i=e.sharedParams)?i:{},this.alwaysExpectJSON=null==(o=e.alwaysExpectJSON)||o,this.resolveMethods(e.endpoints)}isValidMethod(e){return this[e]instanceof Function}resolveGateway(e){if(e instanceof URL)return e.toString();try{return new URL(e).toString()}catch(t){const n=new URL(window.location.href);return n.search="",n.hash="","/"===e[0]?n.pathname=e.replace(/([/])$/,""):n.pathname=`${n.pathname}/${e}`.replace(/([/]+)/g,"/").replace(/([/])$/,""),n.toString()}}detectMode(){return window.location.origin===new URL(this.gateway).origin?"same-origin":"cors"}resolveMethods(e,t){if(e){new Map(Object.entries(e)).forEach(((e,n)=>{const r=this.getSettings(e),{scope:i}=r,o=(0,Ui.A)(r,Zl);Object.defineProperty(this,n,{value:this.createApiCallExecutor(o,[t])}),Object.defineProperty(this,`${n}Raw`,{value:this.createApiCallExecutor(o,[t],!0)}),i&&this.resolveMethods(i,[...null!=t?t:[],o.path])}))}}createApiCallExecutor(e,t,n=!1){var r=this;return async function(i,{headers:o,signal:a,body:s}={}){let l,c;try{var u,d,f,h;const p=Object.assign({},null!=i?i:{},null!=(u=r.sharedParams)?u:{}),{method:m,url:g}=r.createUrl(e.path,p,t),v=null!=m?m:(null!=(d=e.method)?d:"get").toUpperCase(),y=Object.assign(r.getDefaultHeaders(v),null!=(f=r.commonHeaders)?f:{},null!=(h=e.headers)?h:{},null!=o?o:{}),b=new Headers(y),C={method:v,headers:b,mode:r.requestMode,credentials:"cors"===r.requestMode?"omit":"same-origin"};if(a&&(C.signal=a),"GET"!==v){const e=b.get("Content-Type"),{sharedParams:t}=r,n=null!=s?s:{};n instanceof FormData?Object.entries(null!=t?t:{}).forEach((([e,t])=>{n.append(e,t)})):Object.assign(n,Object.assign({},null!=t?t:{},null!=s?s:{})),n instanceof FormData?C.body=n:C.body="multipart/form-data"===e?r.createRequestBody(n):"application/json"===e?r.bodyToJSON(n):n,"multipart/form-data"===e&&b.delete("Content-Type")}let w;if(e.mock,w=await fetch(g,C),c={headers:new Map(Array.from(w.headers)),status:w.status,url:w.url,ok:w.ok},n)return w;if(w.ok){const t=await w.text();try{const n=204!==w.status?JSON.parse(r.alwaysExpectJSON?t:t||"{}"):{ok:!0};if(e.convert instanceof Function)return await e.convert(n);l=n}catch(e){l=r.generateException(e,t)}}else l=r.generateError(w)}catch(e){l=r.generateException(e)}return Object.defineProperty(l,"$meta",{value:c,configurable:!1,enumerable:!1,writable:!1}),l}}getSettings(e){return"string"==typeof e&&(e={path:e}),Object.assign({method:"GET",mock:void 0,convert:void 0,scope:void 0},e)}getDefaultHeaders(e){switch(e){case"POST":case"PATCH":case"DELETE":return{"Content-Type":"application/json"};default:return{}}}createUrl(e,t={},n){const r=new URL(this.gateway),i=[],{path:o,method:a}=this.resolveEndpoint(e,t),s=[].concat(...null!=n?n:[],o).filter((e=>void 0!==e)).join("/").replace(/([/]+)/g,"/").replace(/:([^/]+)/g,((...e)=>{const n=e[1],[r,o]=n.match(/([^?]+)(\??)/).slice(1,3),a=t[r];if(i.push(r),void 0===a){if("?"===o)return"";throw new Error(`Can't find key \`${r}\` in data`)}return a}));return r.pathname+=s.replace(/\/+/g,"/").replace(/\/+$/g,""),t&&"object"==typeof t&&Object.entries(t).forEach((([e,t])=>{i.includes(e)||r.searchParams.set(e,t)})),{url:r.toString(),method:a}}resolveEndpoint(e,t){var n;let r;r=e instanceof Function?e(t):e;const i=/^(GET|POST|PATCH|DELETE|PUT|HEAD|OPTIONS):/;return{method:null==(n=r.match(i))?void 0:n[1],path:r.replace(i,"")}}createRequestBody(e){if(e instanceof FormData)return e;const t=new FormData;return Object.entries(e).forEach((([e,n])=>{t.append(e,n)})),t}bodyToJSON(e){const t=(0,dl.Z_)(e);return JSON.stringify(t)}async generateError(e,t){var n;const r=async function(){const t=await e.text();try{return JSON.parse(t)}catch(e){return t}}();return{status:e.status,error:(null!=(n=null==t?void 0:t.message)?n:e.statusText)||"Server Error",response:await r}}generateException(e,t){console.error(e);return{error:e.message,details:(()=>{try{return JSON.parse(t)}catch(e){return t}})()}}mockRequest(e,t,n,r){var i=this;return new Promise((async function(o){let a=null,s=!0;try{const i=new Request(n);"string"==typeof n.body&&(i.body=JSON.parse(n.body)),a=await r.mock(e,null!=t?t:{},i)}catch(e){console.error(e),s=!1}setTimeout((()=>{o({ok:s,json:()=>Promise.resolve(a),text:()=>"string"==typeof a?a:JSON.stringify(a),headers:{},status:200})}),i.mockDelay)}))}}(Gl),Jl=(0,s.createContext)();Jl.displayName="ApiContext";let Ql=!1;const ec=e=>{var t,n,r,i;const{response:o}=e;return{isShutdown:"Failed to fetch"===String(null!=(t=null==o?void 0:o.detail)?t:null==e?void 0:e.error),title:e.error?"Runtime error":"Server error",message:null!=(n=null==o?void 0:o.detail)?n:null==e?void 0:e.error,stacktrace:null!=(r=null==o?void 0:o.exc_info)?r:null,version:null==o?void 0:o.version,validation:Object.entries(null!=(i=null==o?void 0:o.validation_errors)?i:{})}},tc=async(e,t=!0)=>{let n=e;if(n instanceof Response&&(n=await Xl.generateError(e)),401===e.status)return void(location.href=(0,dl.xS)("/"));const r=ec(n),{isShutdown:i}=r,o=(0,Ui.A)(r,Yl);return t&&Vl({allowClose:!i,body:i?(0,fl.jsx)(Al,{possum:!1,title:"Connection refused",message:"Server not responding. Is it still running?"}):(0,fl.jsx)(Al,Object.assign({},o)),simple:!0,style:{width:680}}),i},nc=(0,s.forwardRef)((({children:e},t)=>{const[n,r]=(0,s.useState)(null),i=(0,s.useCallback)((async(e,t={})=>{let{params:n={},errorFilter:i}=t,a=(0,Ui.A)(t,Kl);if(Ql)return;r(null);const s=await Xl[e](n,a);if(401===s.status)return Ql=!0,void(location.href=(0,dl.xS)("/"));if(s.error){const e=!1===(null==i?void 0:i(s));if(!i||e){r(s);const e=await tc(s,o.showModal);return Ql=Ql||e,null}}return s}),[]),o=(0,s.useMemo)((()=>({api:Xl,callApi:i,handleError:tc,error:n,showModal:!0,errorFormatter:ec,isValidMethod:(...e)=>Xl.isValidMethod(...e)})),[n]);return(0,s.useEffect)((()=>{t&&(t.current=o)}),[t]),(0,fl.jsx)(Jl.Provider,{value:o,children:e})})),rc=()=>(0,s.useContext)(Jl),ic=s.createContext({});ic.displayName="AppStoreContext";const oc=({children:e})=>{const[t,n]=s.useState({}),r=s.useCallback((e=>{n(Object.assign({},t,null!=e?e:{}))}),[t]),i=s.useMemo((()=>({store:t,update:r})),[t,r]);return(0,fl.jsx)(ic.Provider,{value:i,children:e})},ac=()=>s.useContext(ic);var sc=n(8009),lc=n(49442),cc=n(33664);const uc=(e,t,n="bottom-left",r=0)=>{let i=0,o=0;const a=((e,t)=>{const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return{source:n,target:r,get top(){return n.top-r.height},get bottom(){return n.top+n.height},get horizontalCenter(){return n.left+n.width/2-r.width/2},get horizontalLeft(){return n.left},get horizontalRight(){return n.left+n.width-r.width}}})(e,t),s=n.split("-");switch(n){case"top-center":o=a.top-r,i=a.horizontalCenter;break;case"top-left":o=a.top-r,i=a.horizontalLeft;break;case"top-right":o=a.top-r,i=a.horizontalRight;break;case"bottom-center":o=a.bottom+r,i=a.horizontalCenter;break;case"bottom-left":o=a.bottom+r,i=a.horizontalLeft;break;case"bottom-right":o=a.bottom+r,i=a.horizontalRight}return owindow.scrollX+window.innerHeight&&(o=a.top-r,s[0]="top"),i<0?(i=a.horizontalLeft,s[1]="left"):i+a.target.width>window.innerWidth&&(i=a.horizontalRight,s[1]="right"),{top:o,left:i,pos:a,align:s.join("-")}},dc=s.createContext(),fc=["tag","children","dropdown","content","toggle","closeOnClickOutside"],hc=(0,s.forwardRef)(((e,t)=>{var n,r,i;let{tag:o,children:a,dropdown:l,content:c,toggle:u,closeOnClickOutside:d=!0}=e,f=(0,Ui.A)(e,fc);const h=null!=(n=null!=t?t:l)?n:(0,s.useRef)(),p=s.Children.only(a),[m]=(0,s.useState)(new Set),g=null!=(r=p.props.ref)?r:(0,s.useRef)(),v=(0,s.useContext)(dc),y=(0,s.useCallback)((e=>{var t,n;const r=null==(t=g.current)||null==t.contains?void 0:t.contains(e),i=null==(n=h.current)||null==(n=n.dropdown)||null==n.contains?void 0:n.contains(e),o=Array.from(m).reduce(((t,n)=>t||n.hasTarget(e)),!1);return r||i||o}),[g,h]),b=(0,s.useCallback)((e=>{var t;d&&(y(e.target)||null==(t=h.current)||null==t.close||t.close())}),[d,y]),C=(0,s.useCallback)((e=>{var t,n,r;return(null==(t=h.current)||null==(t=t.dropdown)||null==t.contains?void 0:t.contains(e.target))?e.stopPropagation():!1===u?null==h||null==(n=h.current)?void 0:n.open():void(null==h||null==(r=h.current)||r.toggle())}),[h]),w=(0,s.cloneElement)(p,Object.assign({},p.props,{tag:o,key:"dd-trigger",ref:g,onClickCapture:null!=(i=p.props)&&i.onClick?null:C})),x=c?(0,fl.jsx)(gc,Object.assign({},f,{ref:h,children:c})):null;(0,s.useEffect)((()=>(document.addEventListener("click",b,{capture:!0}),()=>document.removeEventListener("click",b,{capture:!0}))),[b]);const k=(0,s.useMemo)((()=>({triggerRef:g,dropdown:h,hasTarget:y,addChild:e=>m.add(e),removeChild:e=>m.delete(e),open:()=>{var e;return null==h||null==(e=h.current)||null==e.open?void 0:e.open()},close:()=>{var e;return null==h||null==(e=h.current)||null==e.close?void 0:e.close()}})),[g,h]);return(0,s.useEffect)((()=>{if(v)return v.addChild(k),()=>v.removeChild(k)}),[]),(0,fl.jsxs)(dc.Provider,{value:k,children:[w,x]})})),pc=["animated","visible"];let mc=1;const gc=(0,s.forwardRef)(((e,t)=>{var n,r;let{animated:i=!0,visible:a=!1}=e,l=(0,Ui.A)(e,pc);const c=vl("dropdown-ls"),u=(0,s.useRef)(),{triggerRef:d}=null!=(n=(0,s.useContext)(dc))?n:{},f=void 0===d,{children:h}=l,[p,m]=(0,s.useState)(a),[g,v]=(0,s.useState)(a),[y,b]=(0,s.useState)({}),[C,w]=(0,s.useState)(a?"visible":null),x=(0,s.useCallback)((()=>{var e,t;const n=u.current,r=null!=(e=null==d?void 0:d.current)?e:n.parentNode,{left:i,top:o}=uc(r,n,`bottom-${null!=(t=l.align)?t:"left"}`);b({left:i,top:o})}),[d]),k=(0,s.useMemo)((()=>mc++),[]),S=(0,s.useCallback)((async(e=!1)=>{if(!1!==l.enabled||!0!==e)return new Promise((t=>{const n=u.current;!1!==i?Rl(n,{transition:()=>{w(e?"appear":"disappear")},beforeTransition:()=>{w(e?"before-appear":"before-disappear")},afterTransition:()=>{w(e?"visible":null),t()}}):(w(e?"visible":null),t())}))}),[i]),_=(0,s.useCallback)((async e=>{null==l.onToggle||l.onToggle(e),await S(e),v(e),null==l.onVisibilityChanged||l.onVisibilityChanged(e)}),[l,S]),j=(0,s.useCallback)((async()=>{!1!==g&&!1!==p&&(await _(!1),m(!1))}),[g,S,l,p]),E=(0,s.useCallback)((async()=>{!0!==g&&!0!==p&&m(!0)}),[g,S,l,p]),T=(0,s.useCallback)((async()=>{!g?E():j()}),[j,g,E]);(0,s.useEffect)((()=>{t&&(t.current={dropdown:u.current,visible:null!==C,toggle:T,open:E,close:j})}),[j,E,t,T,u,C]),(0,s.useEffect)((()=>{v(a)}),[a]),(0,s.useEffect)((()=>{f||"before-appear"!==C||x()}),[C,x,f]),(0,s.useEffect)((()=>{!1===l.enabled&&S(!1)}),[l.enabled]),(0,s.useEffect)((()=>{p&&_(!0)}),[p]);const O=h.props&&"Menu"===h.props.type?(0,s.cloneElement)(h,Object.assign({},h.props,{className:c.elem("menu").mix(h.props.className)})):h,A=(0,s.useMemo)((()=>{switch(C){case"before-appear":return"before-appear";case"appear":return"appear before-appear";case"before-disappear":return"before-disappear";case"disappear":return"disappear before-disappear";case"visible":return"visible";default:return a?"visible":null}}),[C,a]),N=Object.assign({},null!=(r=l.style)?r:{},null!=y?y:{},{zIndex:1e3+k}),M=(0,fl.jsx)(bl,{ref:u,name:"dropdown-ls",mix:[l.className,A],style:N,onClick:e=>e.stopPropagation(),children:O});return p?!0===l.inline?M:o.createPortal(M,document.body):null}));gc.displayName="Dropdown",gc.Trigger=hc,gc.Trigger=hc;const vc=s.createContext(),{Block:yc,Elem:bc}=yl(),Cc=["children","label","icon","to","className","href","exact","forceReload","active","isDangerous","onClick"],wc=(0,s.forwardRef)((({children:e,className:t,style:n,size:r,selectedKeys:i,closeDropdownOnItemClick:o,contextual:a},l)=>{const c=(0,s.useContext)(dc),u=(0,s.useMemo)((()=>new Set(null!=i?i:[])),[i]),d=(0,s.useCallback)((e=>{const t=vl("main-menu").elem("item").closest(e.target);c&&t&&!1!==o&&c.close()}),[c]),f=(0,s.useMemo)((()=>!!c),[c]);return(0,fl.jsx)(vc.Provider,{value:{selected:u},children:(0,fl.jsx)(yc,{ref:l,tag:"ul",name:"main-menu",mod:{size:r,collapsed:f,contextual:a},mix:t,style:n,onClick:d,children:e})})}));wc.Item=e=>{let{children:t,label:n,icon:r,to:i,className:o,href:a,exact:s=!1,forceReload:l=!1,active:c=!1,isDangerous:u=!1,onClick:d}=e,f=(0,Ui.A)(e,Cc);const h=vl("main-menu",{elem:"item"}),p=[h.toClassName()];((()=>{const e=location.pathname.replace(/\/$/,""),t=null!=i?i:a;return s?e===t:e.includes(t)})()||c)&&p.push(h.mod({active:!0})),u&&p.push(h.mod({dangerous:!0})),o&&p.push(o);const m=(0,fl.jsxs)(fl.Fragment,{children:[r&&(0,fl.jsx)("span",{className:h.elem("item-icon"),children:r}),null!=t?t:n]}),g=Object.assign({className:p.join(" "),onClick:d},f),v=h.mod({active:!0}).toClassName(),y=null!=i?i:a;return l&&(g.onClick=()=>location.href=null!=i?i:a),(0,fl.jsx)("li",{children:i?(0,fl.jsx)(cc.k2,Object.assign({to:y},g,{exact:s,activeClassName:v,"data-external":!0,children:m})):y?(0,fl.jsx)("a",Object.assign({href:(0,dl.xS)(y)},g,{children:m})):(0,fl.jsx)("span",Object.assign({},g,{children:m}))})},wc.Spacer=()=>(0,fl.jsx)(bc,{block:"main-menu",tag:"li",name:"spacer"}),wc.Divider=()=>(0,fl.jsx)(bc,{block:"main-menu",tag:"li",name:"divider"}),wc.Builder=(e,t)=>(null!=t?t:[]).map(((t,n)=>{if("SPACER"===t)return(0,fl.jsx)(wc.Spacer,{},n);if("DIVIDER"===t)return(0,fl.jsx)(wc.Divider,{},n);let r,i;if(Array.isArray(t))[i,r]=t;else{const{menuItem:e,title:n,path:o}=t;r=null!=n?n:e,i=o}if("function"==typeof i)return(0,fl.jsx)(wc.Item,{onClick:i,children:r},n);const o=`${e}${i}`.replace(/([/]+)/g,"/");return(0,fl.jsx)(wc.Item,{to:o,exact:!0,children:r},n)})),wc.Group=({children:e,title:t,className:n,style:r})=>(0,fl.jsxs)(yc,{name:"menu-group",mix:n,style:r,children:[(0,fl.jsx)(bc,{name:"title",children:t}),(0,fl.jsx)(bc,{tag:"ul",name:"list",children:e})]});const{Block:xc,Elem:kc}=yl(),Sc=()=>{const e=Ll(),t=tg(),n=eg(),[r,i]=(0,s.useState)(t);return(0,s.useEffect)((()=>{t.length?i(t):e.breadcrumbs&&i(e.breadcrumbs)}),[t,e]),(0,fl.jsx)(xc,{name:"breadcrumbs",children:(0,fl.jsx)(kc,{tag:"ul",name:"list",children:r.map(((e,t,r)=>{var i;const o=t===r.length-1,a=`item-${t}-${e.title}`,s=null!=(i=e.href)?i:e.path,l=null!==n(s),c=(0,fl.jsx)(kc,{tag:"span",name:"label",mod:{faded:t===e.length-1},children:e.title}),u=e.submenu?(0,fl.jsx)(gc,{children:(0,fl.jsx)(wc,{children:e.submenu.map(((t,n)=>{var r;return(0,fl.jsx)(wc.Item,{label:t.title,icon:t.icon,href:null!=(r=t.href)?r:t.path,active:t.active},`${n}-${e.title}`)}))})}):null;return e.onClick?(0,fl.jsx)(kc,{tag:"li",name:"item",mod:{last:o},children:(0,fl.jsx)("span",{onClick:e.onClick,children:c})},a):u?(0,fl.jsx)(kc,{tag:"li",component:gc.Trigger,name:"item",mod:{last:o},content:u,children:(0,fl.jsx)("span",{children:c})},a):s&&!o?(0,fl.jsx)(kc,{tag:"li",name:"item",mod:{last:o},children:l?(0,fl.jsx)(cc.k2,{to:s,"data-external":!0,children:c}):(0,fl.jsx)("a",{href:(0,dl.xS)(s),children:c})},a):(0,fl.jsx)(kc,{tag:"li",name:"item",mod:{last:o},children:c},a)}))})})},_c=({header:e,extra:t,children:n,style:r})=>{const i=vl("card");return(0,fl.jsxs)("div",{className:i,style:r,children:[(e||t)&&(0,fl.jsxs)("div",{className:i.elem("header"),children:[(0,fl.jsx)("div",{className:i.elem("header-content"),children:e}),t&&(0,fl.jsx)("div",{className:i.elem("header-extra"),children:t})]}),(0,fl.jsx)("div",{className:i.elem("content"),children:n})]})},jc=({children:e,count:t,size:n,gap:r})=>{const i=s.useRef(),o={"--columns":Math.max(1,null!=t?t:1),"--column-width":n,"--column-gap":r};return(0,fl.jsx)("div",{ref:i,className:vl("columns"),style:o,children:e})};jc.Column=({title:e,children:t})=>(0,fl.jsxs)("div",{className:vl("columns").elem("item"),children:[(0,fl.jsx)("div",{className:vl("columns").elem("title"),children:e}),t]});const Ec=({opened:e,animated:t=!0})=>{const n=vl("hamburger");return(0,fl.jsxs)("span",{className:n.mod({animated:t,opened:e}),children:[(0,fl.jsx)("span",{}),(0,fl.jsx)("span",{}),(0,fl.jsx)("span",{})]})};var Tc=n(14371);Tc.domToReact,Tc.htmlToDOM,Tc.attributesToProps,Tc.Element;const Oc=Tc;function Ac(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return Ac=function(e){this.s=e,this.n=e.next},Ac.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return void 0===n?Promise.resolve({value:e,done:!0}):t(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return void 0===n?Promise.reject(e):t(n.apply(this.s,arguments))}},new Ac(e)}const Nc=new Set,Mc=(e,t)=>!![null,void 0,"","text/javascript"].includes(e.type)&&((void 0!==e.dataset.alwaysReload||!0===t||!Nc.has(e.outerHTML))&&!!e.parentNode),Lc=(e,t)=>new Promise((n=>{var r;const i=document.createElement("script"),o=(t=null!=(r=t)?r:e).src||(e=>{const t=new Blob([e],{type:"text/javascript"});return URL.createObjectURL(t).toString()})(t.text);if(Nc.add(t.outerHTML),t.async)n();else{const e=({type:t})=>{i.removeEventListener("load",e),i.removeEventListener("error",e),n("error"!==t&&i)};i.addEventListener("load",e),i.addEventListener("error",e)}void 0!==t.dataset.alwaysReload&&(i.dataset.alwaysReload=""),t.id&&(i.id=t.id),t.className&&(i.className=t.className),i.dataset.replaced="true",i.async=t.async,i.defer=t.defer,i.type="text/javascript",i.src=o,e.parentNode.insertBefore(i,e),e.remove()})),Pc=async(e,{sourceScript:t,forceUpdate:n=!1}={})=>{var r;if(t=null!=(r=t)?r:e,Mc(e,n)&&(t===e||Mc(t,n)))return Lc(e,t)},Dc=async e=>{const t=e.querySelectorAll("script");if(!t.length)return[];const n=function*(e){for(;e.length;){const t=e.shift();yield Pc(t).then((e=>e))}}(Array.from(t)),r=[];var i,o=!1,a=!1;try{for(var s,l=function(e){var t,n,r,i=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(n&&null!=(t=e[n]))return t.call(e);if(r&&null!=(t=e[r]))return new Ac(t.call(e));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}(n);o=!(s=await l.next()).done;o=!1){const e=s.value;r.push(e)}}catch(e){a=!0,i=e}finally{try{o&&null!=l.return&&await l.return()}finally{if(a)throw i}}return r},Ic=new Map,Rc=async(e,t)=>{e&&t&&(e.replaceWith(t),await Dc(t))},qc=async(e,t)=>{const n=["style:not([data-replaced])","link[rel=stylesheet]:not([data-replaced])"].join(", "),r=Array.from(e.querySelectorAll(n)),i=Array.from(t.querySelectorAll(n)),o=(a=r,new Set(Array.from(a).map((e=>e.outerHTML))));var a;const s=i.filter((e=>!o.has(e.outerHTML)));await Promise.all(s.map((e=>new Promise((t=>{e.onload=()=>t(e.outerHTML),document.head.append(e)})))))},Fc=async(e,t)=>{document.title=e.title,await qc(document,e),await(async(e,t)=>{Rc(e.querySelector("title"),t.querySelector("title"));const n=document.createDocumentFragment();Array.from(t.querySelectorAll("script")).filter((e=>Mc(e))).forEach((e=>n.appendChild(e))),Array.from(e.querySelectorAll("script")).filter((e=>Mc(e))).forEach((e=>e.remove())),e.appendChild(n),await Dc(e)})(document.head,e.head),await(async(e,t)=>{const n=e.querySelector("script#app-settings"),r=t.querySelector("script#app-settings");n&&r&&await Pc(n,{sourceScript:r,forceUpdate:!0})})(document,e),await(async(e,t)=>{const n=e.querySelector("#dynamic-content"),r=t.querySelector("#dynamic-content");n&&r?await Rc(n,r):await Rc(e.body.children[0],r)})(document,e),null==t||t()},Hc=()=>{const{href:e}=location;return e.replace(/#(.*)/g,"")},Bc=async e=>{const t=await(async e=>{try{if(Ic.has(e))return Ic.get(e);const t=await fetch(e),n=await t.text();return 401===t.status?void(location.href=(0,dl.xS)("/")):t.ok?(Ic.set(e,n),n):(Vl({body:()=>(0,fl.jsx)(Al,{title:`Error ${t.status}: ${t.statusText}`,errorId:t.status,stacktrace:`Cannot load url ${e}\n\n${n}`}),allowClose:!1,style:{width:680}}),null)}catch(e){return Vl({body:()=>(0,fl.jsx)(Al,{possum:!1,title:"Connection refused",message:"Server not responding. Is it still running?"}),simple:!0,allowClose:!1,style:{width:680}}),null}})(e);return t?(e=>(new DOMParser).parseFromString(e,"text/html"))(t):null};let Uc=Hc();const zc=(e,t)=>{const[n,r]=(0,s.useState)(e);return[n,(0,s.useCallback)((async e=>{Uc=e,Nc.clear();const n=await Bc(e);return!!n&&(await Fc(n,t),r(n),!0)}),[])]},Wc=(0,s.createContext)(null),Vc=(Wc.Consumer,({children:e})=>{const t=document,n=(0,a.W6)(),r=(0,s.useContext)(Nl),i=(0,s.useCallback)((()=>{r.update(window.APP_SETTINGS)}),[]),[o,l]=zc(t,i),c=(0,s.useCallback)((async e=>{const t=e.target.closest("a[href]:not([target]):not([download])");if(!(e=>!!e&&!e.dataset.external&&!e.getAttribute("href").match(/#/)&&e.origin===location.origin)(t))return;if(t.matches("[data-external]"))return;if(e.metaKey||e.ctrlKey)return;e.preventDefault();await l(t.href)&&n.push(`${(0,dl.f9)(t.pathname)}${t.search}`)}),[]),u=(0,s.useCallback)((()=>{if((0,lc.VS)(lc.E2)&&n.isBlocking)return;const e=Hc();e===Uc||(Uc=e,l(e))}),[]),d=(0,s.useCallback)((e=>{var t,n;e.origin===window.origin&&"label-studio"===(null==(t=e.data)?void 0:t.source)&&(null==(n=e.data)?void 0:n.payload)===bg&&u()}),[]);return(0,s.useEffect)((()=>(document.addEventListener("click",c,{capture:!0}),window.addEventListener("popstate",u),(0,lc.VS)(lc.E2)&&window.addEventListener("message",d),()=>{document.removeEventListener("click",c,{capture:!0}),window.removeEventListener("popstate",u),(0,lc.VS)(lc.E2)&&window.removeEventListener("message",d)})),[]),(0,fl.jsx)(Wc.Provider,{value:o,children:e})}),$c=["id","tagName","children","source","onRenderFinished","parse","raw"],Gc=(e,t,n,r)=>{let i,o=!1;if(!n||0===n.length||n instanceof Function){var a;const s=t.querySelector(`template#${e}`),l=null!=(a=s.innerHTML)?a:"";if(r){const e=Oc(l);i=n instanceof Function&&n(e)||e}else{const e=n instanceof Function&&n(s);e?i=e:(i=l,o=!0)}}else i=n;return{children:i,setInnerHTML:o}},Zc=s.forwardRef(((e,t)=>{let{id:n,tagName:r,children:i,source:o,onRenderFinished:a,parse:l=!1,raw:c=!1}=e,u=(0,Ui.A)(e,$c);const d=null!=t?t:s.useRef(),[f,h]=s.useState(Gc(n,o,i,l));return s.useEffect((()=>{h(Gc(n,o,i,l))}),[o,i]),s.useEffect((()=>{d.current&&Dc(d.current),null==a||a()}),[f]),f.setInnerHTML?u.dangerouslySetInnerHTML={__html:f.children}:u.children=f.children,!0===c&&f.children?(0,fl.jsx)(s.Fragment,{children:f.children}):s.createElement(null!=r?r:"div",Object.assign({},u,{ref:d}))})),Yc=s.forwardRef(((e,t)=>{const n=s.useContext(Wc);return n?(0,fl.jsx)(Zc,Object.assign({},e,{source:n,ref:t})):null})),Kc=(0,s.forwardRef)((({title:e,children:t,alignment:n,defaultVisible:r,disabled:i,style:a},l)=>{if(!t||Array.isArray(t))throw new Error("Tooltip does accept a single child only");const c=null!=l?l:(0,s.useRef)(),u=(0,s.useRef)(),[d,f]=(0,s.useState)({}),[h,p]=(0,s.useState)(r?"visible":null),[m,g]=(0,s.useState)(!1),[v,y]=(0,s.useState)(null!=n?n:"top-center"),b=(0,s.useCallback)((()=>{const e=c.current,t=u.current;if((0,dl.O9)(e)&&(0,dl.O9)(t)){const{left:n,top:r,align:i}=uc(e,t,v,10);f({left:n,top:r}),y(i)}}),[c.current,u.current]),C=(0,s.useCallback)((e=>{u.current&&Rl(u.current,{beforeTransition(){p(e?"before-appear":"before-disappear")},transition(){e&&b(),p(e?"appear":"disappear")},afterTransition(){p(e?"visible":null),!1===e&&g(!1)}})}),[m,b,u]),w=(0,s.useMemo)((()=>{switch(h){case"before-appear":return"before-appear";case"appear":return"appear before-appear";case"before-disappear":return"before-disappear";case"disappear":return"disappear before-disappear";case"visible":return"visible";default:return h?"visible":null}}),[h]),x=(0,s.useMemo)((()=>m?(0,fl.jsx)(bl,{ref:u,name:"tooltip",mod:{align:v},mix:w,style:Object.assign({},d,null!=a?a:{}),children:(0,fl.jsx)(Cl,{name:"body",children:e})}):null),[m,d,e,w,u]),k=s.Children.only(t),S=(0,s.cloneElement)(k,Object.assign({},k.props,{ref:c,onMouseEnter(e){!0!==i&&(g(!0),null==k.props.onMouseEnter||k.props.onMouseEnter(e))},onMouseLeave(e){!0!==i&&(C(!1),null==k.props.onMouseLeave||k.props.onMouseLeave(e))}}));return(0,s.useEffect)((()=>{m&&C(!0)}),[m]),(0,fl.jsxs)(fl.Fragment,{children:[S,(0,o.createPortal)(x,document.body)]})}));Kc.displayName="Tooltip";const Xc=["username","size","src","user","className","showUsername","style"],Jc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=",Qc=(0,s.forwardRef)(((e,t)=>{var n;let{username:r,size:i,src:o,user:a,className:l,showUsername:c,style:u}=e,d=(0,Ui.A)(e,Xc);const f=(0,s.useRef)(),[h,p]=(0,s.useState)(r),[m,g]=(0,s.useState)(null!=(n=null==a?void 0:a.avatar)?n:o),[v,y]=(0,s.useState)(!1),[b,C]=(0,s.useState)(!0);i&&(u=Object.assign({width:i,height:i,fontSize:.4*i},u)),(0,s.useEffect)((()=>{if(a){const{first_name:e,last_name:t,email:n,initials:r,username:i}=a;r?p(r):i?p(i):e&&t?p(`${e[0]}${t[0]}`):n&&p(n.substring(0,2)),a.avatar&&g(a.avatar)}else p(r),g(o)}),[a]);const w=(0,s.useCallback)((()=>{y(!0),m!==Jc&&C(!1)}),[m]),x=(0,fl.jsxs)(bl,Object.assign({ref:t,name:"userpic-ls",mix:l,style:u},d,{children:[(0,fl.jsx)(Cl,{tag:"img",name:"avatar",ref:f,src:m,alt:(null!=h?h:"").toUpperCase(),style:{opacity:v?1:0},onLoad:w,onError:()=>g(Jc)}),b&&(0,fl.jsx)(Cl,{tag:"span",name:"username",children:(null!=h?h:"").toUpperCase()})]})),k=(0,s.useMemo)((()=>{var e,t;return null!=a&&a.first_name||null!=a&&a.last_name?`${null!=(e=null==a?void 0:a.first_name)?e:""} ${null!=(t=null==a?void 0:a.last_name)?t:""}`.trim():null!=a&&a.email?a.email:r}),[a,r]);return c&&k?(0,fl.jsx)(Kc,{title:k,children:x}):x}));Qc.displayName="Userpic";var eu=n(8593);const tu=(0,s.createContext)(),nu=({children:e})=>{const t=rc(),[n,r]=(0,s.useReducer)(((e,t)=>{if("fetch-version"===t.type)return Object.assign({},e,t.payload)})),i=(0,s.useCallback)((async()=>{const e=await t.callApi("version");if(null!==e){const t=e["label-studio-os-package"];r({type:"fetch-version",payload:{version:t.version,latestVersion:t.latest_version_from_pypi,newVersion:t.current_version_is_outdated,updateTime:(0,eu.default)(new Date(t.latest_version_upload_time),"MMM d")}})}}),[]);return(0,s.useEffect)((()=>{i()}),[]),(0,fl.jsx)(tu.Provider,{value:n,children:e})},ru=({showNewVersion:e,showCurrentVersion:t})=>{var n;const{newVersion:r,updateTime:i,latestVersion:o,version:a}=null!=(n=(0,s.useContext)(tu))?n:{};return r&&e?(0,fl.jsx)(bl,{tag:"li",name:"version-notifier",children:(0,fl.jsxs)("a",{href:"https://pypi.org/project/label-studio/#history",target:"_blank",rel:"noreferrer",children:[(0,fl.jsx)(Cl,{name:"icon",children:(0,fl.jsx)(Xi,{})}),(0,fl.jsxs)(Cl,{name:"content",children:[(0,fl.jsxs)(Cl,{name:"title","data-date":i,children:[o," Available"]}),(0,fl.jsxs)(Cl,{name:"description",children:["Current version: ",a]})]})]})}):a&&t?(0,fl.jsxs)(bl,{tag:cc.N_,name:"current-version",to:"/version",target:"_blank",children:["v",a]}):null};var iu,ou=["title","titleId"];function au(){return au=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var lu=function(e,t){var n=e.title,r=e.titleId,i=su(e,ou);return s.createElement("svg",au({width:116,height:84,viewBox:"0 0 116 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,iu||(iu=s.createElement("g",{id:"Group 1"},s.createElement("path",{id:"Vector",d:"M15.0454 69.3683C15.3622 69.1877 15.6614 68.9774 15.9389 68.7401C16.5731 68.2954 17.0601 68.5319 17.1302 69.3224C17.143 69.5258 17.143 69.7297 17.1302 69.933C17.1193 70.017 17.1342 70.1024 17.1731 70.1775C17.212 70.2526 17.2728 70.3139 17.3474 70.353C17.5401 70.4448 17.6382 70.2577 17.7469 70.1448C18.5142 69.3507 18.7104 67.7025 18.2934 66.6719C17.6242 65.0237 16.4189 63.7848 15.3222 62.4613C15.0665 62.1543 11.7484 59.9907 11.1913 58.9566C11.4155 60.0719 11.0511 61.219 11.3279 62.2566C11.836 64.166 10.8304 66.0048 11.2333 67.9036C11.2754 68.1013 10.9285 68.4189 11.2123 68.6095C11.4961 68.8001 11.6888 68.5213 11.9131 68.3519C12.8451 67.6142 13.0938 67.646 13.4232 68.7295C13.714 69.7354 14.3061 69.6965 15.0454 69.3683Z",fill:"#A49F95"}),s.createElement("ellipse",{id:"Ellipse 1",opacity:.5,cx:38.5,cy:80.4668,rx:38.5,ry:2.5,fill:"#E1DED5"}),s.createElement("path",{id:"Vector_2",d:"M69.1553 54.4689C69.0978 56.1424 68.9519 57.8115 68.7182 59.4692C68.6518 59.9682 70.4037 62.3604 72.0087 59.2109C72.4877 57.9865 73.2675 56.9036 73.5402 55.573C74.0473 53.0959 73.6137 50.7355 72.8968 48.3928C72.8291 48.2412 72.7135 48.1167 72.5681 48.0389C71.6975 47.5046 70.8757 46.8994 70.0505 46.3014C69.5015 45.9015 69.1693 45.169 68.2042 45.0663C68.6024 46.8531 68.877 48.6658 69.026 50.4913C69.1344 51.8184 69.1868 53.1383 69.1553 54.4689Z",fill:"#FF7557"}),s.createElement("path",{id:"Vector_3",d:"M14.9188 60.0686C15.0523 60.0962 15.1745 60.1636 15.2692 60.2621C16.3205 61.5252 17.3717 62.7812 18.395 64.0689C19.9193 66.004 20.1471 68.4246 20.7954 70.694C20.897 71.0458 21.0162 71.3976 21.314 71.4856C21.703 71.6228 21.8712 71.2288 22.0149 70.9403C22.2707 70.4688 22.6912 70.3175 22.9295 70.7995C23.4866 71.9219 23.9807 71.3062 24.4153 70.7995C24.9689 70.1486 25.4175 70.2964 25.6172 70.9825C25.8835 71.8902 26.2515 71.3625 26.5739 71.1232C26.7736 70.9719 26.8612 70.6834 27.0364 70.4864C27.4464 70.0255 27.8459 69.9199 28.1928 70.5743C28.2734 70.7256 28.2804 71.0141 28.6344 70.8769C28.8586 68.882 29.0058 66.8625 29.125 64.8289C29.2761 63.1358 29.2632 61.432 29.0864 59.7414C29.0233 59.291 29.1039 58.8829 29.5875 58.6859C30.432 59.6675 30.3199 60.8602 30.2884 62.0142C30.267 62.124 30.2675 62.2369 30.2899 62.3465C30.3122 62.4561 30.3559 62.5601 30.4184 62.6527C30.4809 62.7452 30.5611 62.8244 30.6542 62.8857C30.7474 62.947 30.8517 62.9893 30.9612 63.0099C31.368 63.1332 31.784 63.2238 32.2052 63.2808C32.906 63.4005 33.4632 62.929 34.1115 62.929C35.9968 62.9888 37.8996 63.2034 39.7603 62.8199C40.8116 62.6053 41.8103 62.8903 42.802 62.7883C44.8227 62.5683 46.8612 62.5683 48.8819 62.7883C50.2081 62.9668 51.5542 62.9324 52.8697 62.6862C53.8264 62.4892 53.6581 62.1163 53.1956 61.6307C52.5894 61.015 51.8675 60.5049 51.2788 59.8716C49.008 57.4404 47.8902 54.4217 47.0737 51.2692C46.9833 50.8045 46.9833 50.3266 47.0737 49.8619C47.0912 49.7099 47.1623 49.5692 47.2741 49.4653C47.3859 49.3614 47.5311 49.3012 47.6834 49.2955C47.9357 49.2955 48.0584 49.5453 48.0338 49.8091C47.9638 51.5261 48.7347 53.0284 49.2849 54.573C49.9654 56.4808 51.1283 58.1782 52.6594 59.4986C53.5888 60.3175 54.3971 61.2652 55.0598 62.3133C56.8856 65.1702 57.8632 68.393 58.9776 71.6123C59.3042 71.4812 59.5771 71.2432 59.752 70.9367C60.1024 70.4125 60.551 69.8109 60.9505 70.9367C61.0591 71.2464 61.2098 71.1689 61.385 71.0247C61.5602 70.8804 61.7354 70.6201 61.9667 70.898C62.4363 71.4786 62.8708 71.5137 63.3404 70.898C63.403 70.8155 63.4955 70.761 63.5978 70.7465C63.7002 70.732 63.8041 70.7587 63.887 70.8206C64.3286 71.1373 64.5879 70.7573 64.679 70.5145C65.0645 69.5294 65.6462 68.5865 65.4044 67.436C65.3195 67.1076 65.3582 66.7594 65.513 66.4579C66.2558 65.0582 66.8007 63.5614 67.132 62.0107C67.6716 59.6147 68.2043 57.2223 68.2043 54.7489C68.2043 53.4084 68.0886 52.0679 68.0536 50.7344C67.9764 48.9426 67.7098 47.164 67.2581 45.4288C66.6414 42.8921 66.1157 40.2744 64.5528 38.0896C63.3684 36.4289 62.4993 34.5149 60.6982 33.3257C59.2719 32.3723 57.625 31.7671 56.2688 30.7784C53.9385 29.0826 51.3068 28.6217 48.605 28.2136C46.8109 27.9427 45.0237 27.6049 43.219 27.4501C41.6807 27.3164 40.1178 27.4501 38.5724 27.3762C37.3774 27.3305 36.3542 27.9532 35.2048 28.108C34.3064 28.2865 33.5032 28.7867 32.9446 29.5154C31.9809 30.6377 31.1925 31.9043 30.015 32.8507C29.7102 33.097 29.4298 33.5544 29.0303 33.0935C28.6309 32.6326 28.9322 32.1999 29.3597 31.9219C29.7581 31.711 30.1144 31.4283 30.411 31.0881C31.3749 29.8524 32.4043 28.6697 33.4947 27.5451C35.7725 25.1667 38.3166 23.0768 40.7345 20.8603C40.8572 20.7477 41.0219 20.628 40.9413 20.4451C40.8607 20.2621 40.6749 20.2938 40.4682 20.2797C39.1611 20.1918 37.8961 20.5401 36.6766 20.8251C34.8509 21.2508 32.9761 21.3845 31.1714 21.9087C30.9577 21.9735 30.7271 21.9506 30.5301 21.8451C30.3331 21.7396 30.1857 21.5601 30.1202 21.3458C29.973 20.8497 30.4531 20.8462 30.779 20.6738C31.9704 20.051 33.2319 19.5409 34.3638 18.8513C36.617 17.4721 38.9193 16.2266 41.2742 15.0057C43.1139 14.0488 44.9887 13.1164 46.4044 11.5191C46.555 11.3502 46.916 11.1497 46.7793 10.9808C46.3027 10.4073 45.8051 9.57344 45.1884 9.45382C44.0343 9.20552 42.842 9.19595 41.6842 9.42567C37.7734 10.2349 33.7996 10.1293 29.8573 10.4214C27.8354 10.5726 25.7994 10.7732 23.7915 10.8682C22.6526 10.9245 21.6399 12.5429 20.4169 11.22C20.4169 11.22 20.3574 11.2376 20.3223 11.2411C19.3937 11.3643 18.4651 11.4733 17.5434 11.6176C16.6218 11.7618 15.914 12.0152 16.1628 13.1868C16.2259 13.4718 16.0506 13.6758 15.8649 13.9362C15.3288 14.6785 14.6735 14.8721 13.8219 14.8685C13.2823 14.8685 12.634 14.58 12.2065 15.1113C11.2514 16.2088 10.4454 17.4285 9.80959 18.7387C8.86344 20.906 8.01542 23.1155 7.16389 25.3215C5.80424 28.8398 5.82176 32.5306 5.32416 36.1545C5.17051 37.6256 5.2153 39.1109 5.45732 40.57C5.76219 42.8323 5.90236 45.1438 6.71885 47.2794C8.07499 50.7978 9.38207 54.3794 11.9156 57.3384C12.8197 58.3728 13.4155 59.6745 14.9188 60.0686ZM65.534 44.4261C66.2349 44.5316 66.3365 45.179 66.5853 45.654C66.5678 46.0058 66.4031 46.2486 66.1017 46.2099C65.4429 46.1289 65.117 45.6399 64.9909 45.0453C64.9617 44.9663 64.9543 44.8808 64.9694 44.7979C64.9846 44.715 65.0218 44.6378 65.0771 44.5744C65.1323 44.5109 65.2037 44.4637 65.2835 44.4376C65.3633 44.4115 65.4486 44.4075 65.5305 44.4261H65.534ZM63.5506 44.507C63.7398 44.7286 63.9256 44.9468 63.8099 45.2705C63.7258 45.5097 63.7924 45.8897 63.477 45.9319C63.3501 45.9357 63.2254 45.8979 63.1217 45.8243C63.0181 45.7507 62.9411 45.6452 62.9023 45.5238C62.5694 44.7111 61.5847 44.2959 61.5182 43.3459C61.5847 43.1243 61.4376 42.871 61.7319 42.8041C61.8287 42.7718 61.9339 42.7753 62.0284 42.814C62.1228 42.8527 62.2004 42.9241 62.247 43.0152C62.5344 43.645 63.1196 44.0039 63.5471 44.507H63.5506ZM60.0008 36.5556C60.0595 36.4534 60.1516 36.3747 60.2615 36.333C60.3714 36.2913 60.4922 36.2892 60.6036 36.3269C61.5497 36.5309 62.9549 38.2725 62.9479 39.2647C62.9804 39.3916 62.9661 39.5261 62.9074 39.6431C62.8488 39.7602 62.7499 39.852 62.629 39.9015C62.3592 39.9965 62.1699 39.7397 62.0788 39.5497C61.602 38.6227 60.9286 37.8121 60.106 37.1748C60.0108 37.1062 59.9464 37.0028 59.9267 36.8868C59.907 36.7709 59.9337 36.6519 60.0008 36.5556ZM57.3761 39.0571C56.7815 38.5063 56.2449 37.8956 55.7747 37.2346C55.5049 36.8476 55.7992 36.5556 56.1952 36.5098C56.7874 36.545 58.1716 38.2444 58.1085 38.7827C58.0455 39.321 57.5479 39.2154 57.3691 39.0571H57.3761ZM54.9232 31.8621C54.9582 31.5841 55.214 31.6475 55.3998 31.644C55.9464 31.644 58.1331 33.1041 58.2943 33.6002C58.3146 33.6843 58.3252 33.7704 58.3258 33.857C58.3258 34.3496 58.0945 34.5184 57.7161 34.2651C56.8365 33.6846 56.0165 33.0161 55.0318 32.6009C54.7445 32.4919 54.8741 32.1154 54.9057 31.8797L54.9232 31.8621ZM53.8719 37.4246C53.7107 37.9383 53.2482 37.7975 53.0414 37.5266C52.5368 36.8652 51.913 36.3198 51.4014 35.676C51.1631 35.3769 51.051 34.8914 51.9516 34.8703C52.4667 34.8492 54.0716 36.7244 53.8509 37.4246H53.8719ZM48.4368 30.0642C48.5735 29.5611 49.0255 29.9868 49.2183 29.8074C50.1119 29.8531 50.7636 30.3035 51.4189 30.7327C51.5439 30.8222 51.6299 30.9563 51.6592 31.1075C51.6885 31.2587 51.659 31.4155 51.5766 31.5454C51.4259 31.8727 51.1596 31.841 50.8197 31.753C50.0523 31.5595 49.6002 30.7433 48.7172 30.7397C48.6015 30.7433 48.3738 30.3351 48.4368 30.0642ZM45.0377 30.1909C45.311 30.0713 45.4828 30.0079 45.7386 30.2472C46.138 30.6377 46.5796 30.9825 47.0106 31.3414C47.1132 31.4298 47.1851 31.5487 47.2159 31.6809C47.2468 31.8131 47.235 31.9517 47.1823 32.0767C47.1122 32.3054 46.8564 32.3371 46.6847 32.3723C45.8332 32.0978 45.1043 31.7319 44.8204 30.8629C44.7574 30.6483 44.6838 30.3492 45.0517 30.1874L45.0377 30.1909ZM42.7775 33.0056C42.7459 32.7417 42.9317 32.6924 43.1559 32.6537C43.5835 32.6115 45.7105 33.5368 45.8963 33.8887C45.9734 34.0496 46.0114 34.2267 46.0071 34.4053C46.0028 34.5839 45.9564 34.7589 45.8717 34.916C44.9651 34.3963 44.0052 33.9763 43.0088 33.6635C42.6338 33.5228 42.83 33.2202 42.7915 32.988L42.7775 33.0056ZM38.9228 29.4872C39.9379 29.4853 40.9476 29.6347 41.9189 29.9305C42.0133 29.9718 42.0887 30.0472 42.1302 30.1417C42.1718 30.2362 42.1764 30.3429 42.1432 30.4407C42.0696 30.7503 41.8454 30.8312 41.5475 30.8594C41.0394 30.9086 40.6084 30.4477 40.2965 30.6096C39.7884 30.6553 39.4379 30.5885 39.2032 30.7292C38.7091 31.0247 38.5409 30.7292 38.3972 30.3774C38.3473 30.2831 38.3224 30.1775 38.3249 30.0708C38.3274 29.9641 38.3571 29.8598 38.4113 29.7679C38.4655 29.6761 38.5423 29.5997 38.6343 29.5463C38.7263 29.4928 38.8305 29.464 38.9368 29.4626L38.9228 29.4872ZM38.2745 34.6944C38.9672 34.6505 39.6514 34.8661 40.1949 35.2995C40.2389 35.3229 40.2774 35.3554 40.3079 35.3949C40.3384 35.4344 40.3602 35.4799 40.3718 35.5285C40.3834 35.5771 40.3846 35.6276 40.3752 35.6767C40.3658 35.7258 40.3462 35.7723 40.3175 35.8132C40.1598 36.1474 39.8339 36.1122 39.2873 36.0911C38.8595 35.9663 38.4183 35.8942 37.9732 35.8765C37.9136 35.8784 37.8543 35.867 37.7996 35.843C37.7449 35.8191 37.6963 35.7833 37.657 35.7382C37.6178 35.6931 37.589 35.6398 37.5728 35.5822C37.5566 35.5246 37.5533 35.4641 37.5632 35.4051C37.5741 35.2196 37.6526 35.0446 37.7838 34.9135C37.915 34.7824 38.0897 34.7044 38.2745 34.6944ZM33.7926 30.4724C34.4935 30.2718 35.2469 30.1698 35.8952 30.687C36.3507 31.0564 36.0599 31.2042 35.6814 31.4505C34.9525 31.9289 34.101 31.0107 33.3791 31.9465C33.302 31.2253 33.1163 30.6659 33.7821 30.4724H33.7926ZM30.7369 33.6072C31.3221 33.192 32.0265 33.2026 32.7168 33.28C32.8745 33.28 32.9025 33.4383 32.899 33.5826C32.8934 33.7176 32.8467 33.8476 32.7653 33.9551C32.6838 34.0627 32.5715 34.1426 32.4435 34.1842C31.9459 34.3249 31.4167 34.3285 30.9612 34.6416C30.821 34.7366 30.6563 34.5607 30.5652 34.4199C30.4881 34.2891 30.4623 34.1341 30.4927 33.9852C30.5232 33.8362 30.6077 33.704 30.7299 33.6142L30.7369 33.6072ZM24.0789 12.849C24.3347 12.2755 24.9689 12.7294 25.3264 12.5887C26.262 12.5887 27.0785 12.5887 27.7513 13.2923C27.9966 13.5492 28.1017 13.7497 28.0281 14.0417C27.9876 14.1709 27.8991 14.2794 27.781 14.3449C27.663 14.4104 27.5244 14.4278 27.3939 14.3936C26.7364 14.3391 26.0747 14.4193 25.449 14.6293C24.8182 14.8122 24.5449 14.4041 24.212 14.0628C24.0758 13.8961 23.991 13.6932 23.968 13.4788C23.945 13.2645 23.9847 13.0481 24.0824 12.856L24.0789 12.849Z",fill:"#A49F95"}),s.createElement("path",{id:"Vector_4",d:"M14.8037 14.3213C15.6539 18.2952 15.5763 21.0675 17.3403 24.8622C18.7762 27.9506 20.9882 32.0264 24.4491 33.2948C28.6121 34.8197 30.3514 31.032 32.7398 28.4355C35.1283 25.8389 37.9259 23.7273 40.3849 21.2923C41.0905 20.5896 41.6903 20.1961 41.8173 19.279C40.4061 19.149 39.0619 20.0415 37.619 20.182C35.855 20.3542 34.1404 19.9501 32.5352 20.6669C35.1918 19.4477 37.7425 17.7541 40.2614 16.2503C41.9901 15.2173 47.275 13.0881 47.5114 10.8218C47.8642 7.39252 40.1344 8.99121 38.0918 9.17041C34.4121 9.49366 30.616 9.30041 26.8023 9.63772C23.5107 9.92934 15.848 9.10013 15.0436 13.1513L14.8037 14.3213Z",fill:"white"}),s.createElement("path",{id:"Vector_5",d:"M48.5185 64.2063C47.9899 64.2643 47.5291 64.0152 47.0361 63.9572C45.9145 63.8344 44.7821 63.3327 43.6605 63.749C43.0599 63.9629 42.4153 64.04 41.778 63.9743C41.2946 63.9192 40.8044 63.9766 40.3492 64.1415C40.1027 64.2405 39.7098 64.3462 39.8277 64.6363C40.3599 65.9263 40.3456 67.2777 40.4707 68.6223C40.4921 68.8543 40.4707 69.3765 40.8957 69.4038C41.1851 69.4243 41.328 69.0625 41.4851 68.7997C41.5559 68.6499 41.6728 68.5243 41.8202 68.4396C41.9676 68.3548 42.1386 68.315 42.3103 68.3254C42.8354 68.3629 42.5568 68.7759 42.6961 68.984C42.8354 69.1922 42.8961 69.6666 43.3283 69.4823C43.9284 69.1683 44.0106 69.4823 44.1213 69.8918C44.1713 70.0692 44.2678 70.5573 44.5321 70.3081C45.1786 69.7041 45.8145 69.2024 46.7682 69.1785C46.879 69.1785 46.979 68.8714 47.0826 68.711C47.8648 67.5098 48.0827 66.0628 48.9579 64.8923C49.1544 64.6158 49.1258 64.1381 48.5185 64.2063Z",fill:"#A49F95"}),s.createElement("path",{id:"Vector_6",d:"M95.1387 59.7442C94.9273 60.0032 95.1595 60.6171 95.5546 60.8087C97.0691 60.4822 98.6737 60.1984 100.223 59.7442C101.9 59.2723 103.266 57.374 103.065 55.6637C103.033 55.4011 103.023 55.167 102.694 55.2273C100.892 55.5821 99.1485 54.7696 97.3429 54.9789C96.674 55.057 96.3967 55.167 96.473 55.8908C96.6185 57.3882 96.0467 58.6371 95.1387 59.7442Z",fill:"#FF7557"}),s.createElement("path",{id:"Vector_7",d:"M103.976 58.8714C104.994 58.6338 109.816 55.8781 111.418 54.683C110.573 54.5222 105.028 54.7853 104.261 55.202C104.044 55.3189 103.857 55.2751 104 55.6661C104.339 56.62 103.85 57.4935 103.613 58.356C103.568 58.5205 103.249 58.5863 103.47 58.8494C103.643 59.0504 103.786 58.9152 103.976 58.8714Z",fill:"#FF7557"}),s.createElement("path",{id:"Vector_8",d:"M71.2908 60.9843C73.1585 61.4831 75.0833 61.7353 77.0164 61.7347C81.3517 61.6505 85.6871 61.6505 90.0154 61.2999C91.3776 61.1912 92.6383 61.2473 93.7344 59.9605C94.7463 58.8491 95.3255 57.4105 95.3663 55.9071C95.3873 55.2584 95.0861 54.6343 94.2702 54.6378C92.3722 54.6378 90.6247 53.8138 88.7372 53.677C87.9423 53.6209 87.7742 53.8804 87.9598 54.4239C88.2785 55.3566 87.9598 56.1981 87.7006 57.0081C87.2315 58.4287 86.2484 59.622 84.9446 60.3532C84.8402 60.437 84.7125 60.4863 84.5789 60.4945C84.4454 60.5027 84.3126 60.4692 84.1987 60.3988C83.9851 60.2199 84.2268 60.0481 84.3773 59.9324C85.1152 59.4327 85.7331 58.7754 86.1866 58.0078C86.6402 57.2402 86.9181 56.3814 87.0003 55.4933C87.1263 54.4029 86.7901 53.2703 86.0723 53.0389C84.6451 52.584 83.1835 52.2451 81.7019 52.0255C81.3517 51.9694 80.97 51.9729 81.1206 52.5199C81.5443 54.0873 81.1416 55.5214 80.3642 56.8643C79.6638 58.0916 79.1595 59.4941 77.9129 60.3251C77.6257 60.5145 77.2125 60.9878 76.9148 60.518C76.6627 60.1288 77.7097 59.7536 77.7798 59.6484C78.7638 58.1722 79.7058 56.661 80.2311 54.9499C80.6934 53.4351 79.9334 51.4996 78.7918 51.0508C77.5136 50.5494 76.2249 50.0585 74.9397 49.5465C74.7506 49.4694 74.5615 49.3151 74.3829 49.4273C74.0678 49.6237 74.6456 51.1244 74.6596 51.703C74.7261 55.1673 73.8542 58.2844 71.2908 60.9843Z",fill:"#FF7557"}),s.createElement("path",{id:"Vector_9",d:"M16.324 75.2686C17.1584 73.8258 18.5678 72.7472 19.0095 71.0662C19.0691 70.8351 19.0656 70.597 19.3601 70.569C19.7547 72.2344 20.0416 73.9235 20.2191 75.6258C20.3488 76.6519 19.9211 77.9756 18.6975 78.1437C18.5122 78.1653 18.3414 78.2544 18.2178 78.394C18.0943 78.5336 18.0266 78.7138 18.0279 78.9001C18.0033 79.2853 18.0279 79.6005 18.4977 79.7721C18.7255 79.8206 18.928 79.9497 19.0679 80.1358C19.2077 80.3218 19.2754 80.5521 19.2584 80.7842C19.2584 81.6492 19.8755 81.9643 20.6363 81.7227C21.2218 81.5371 21.4181 81.6351 21.4637 82.234C21.5163 82.9344 22.0702 83.2355 22.568 82.8888C24.4893 81.5511 26.5473 80.4025 27.3852 77.8881C27.862 76.4593 28.2056 74.9919 28.7034 73.5771C29.6185 70.9857 29.8499 68.2962 29.92 65.5822C29.9551 64.1814 32.1498 64.4826 32.5319 64.395C34.1937 64.0168 35.8696 64.3005 37.5349 64.2129C37.8855 64.1954 38.2361 64.1604 38.3763 64.5631C38.8005 65.8763 39.4667 67.0565 39.2598 68.6044C38.8496 71.6406 38.5586 74.6137 35.4839 76.3087C35.2631 76.4312 34.8599 76.6589 35.0352 77.0091C35.1065 77.1978 35.2288 77.3632 35.3884 77.4868C35.5481 77.6105 35.7389 77.6875 35.9397 77.7094C36.2061 77.7094 36.4761 77.7094 36.7461 77.7094C36.9424 77.7094 37.1668 77.7095 37.1808 77.9861C37.2369 79.1663 37.917 78.9632 38.7024 78.739C39.053 78.6375 39.5403 78.3118 39.7927 79.0262C40.0872 79.8632 40.8024 80.0102 41.437 79.4044C43.9525 76.9616 45.9476 74.0361 47.3024 70.8036C48.0492 69.0911 48.5926 67.2771 49.6654 65.7153C50.0651 65.1304 50.3666 64.4826 51.1449 64.2549C52.1173 64.027 53.1172 63.9386 54.1145 63.9923C54.2476 63.9776 54.3817 64.0084 54.495 64.0796C54.6083 64.1509 54.6942 64.2583 54.7385 64.3845C55.2153 65.5752 55.9656 66.6223 56.3933 67.8479C57.0174 69.6339 57.1436 71.518 57.6204 73.3215C57.9114 74.4246 57.5222 75.1145 56.7194 75.6888C56.1058 76.1301 55.4187 76.4663 54.7981 76.9005C54.3529 77.2122 54.125 77.6009 54.6298 78.1087C55.331 78.8091 56.5266 79.1348 56.2706 80.504C56.2857 80.578 56.3174 80.6475 56.3633 80.7074C56.4093 80.7673 56.4683 80.8159 56.5358 80.8497C56.6034 80.8834 56.6778 80.9014 56.7533 80.9022C56.8288 80.9029 56.9036 80.8865 56.9718 80.8542C57.2313 80.7351 57.5748 80.8087 57.8448 80.7001C58.4198 80.469 58.8265 80.3814 59.0368 81.1834C59.135 81.5616 59.5452 81.7297 60.0886 81.6281C61.491 81.355 62.108 80.4725 62.5428 79.1768C63.2825 76.9775 63.7137 74.6803 64.6708 72.5406C65.2143 71.3219 66.0136 70.1978 66.1924 68.818C66.3116 67.9075 67.8262 63.3899 68.0786 61.9226C68.1838 61.3133 68.4748 61.3308 68.913 61.5724C69.4626 61.9227 70.0706 62.1717 70.7081 62.3079C72.9308 62.56 75.1115 63.1938 77.3694 63.0958C80.0865 62.9767 82.8071 62.9102 85.5242 62.7771C87.8767 62.6615 90.2361 62.7211 92.5676 62.2238C93.1987 62.0907 94.4924 61.5234 94.1348 63.2289C94.1032 63.3829 94.282 63.5791 94.3837 63.7577C94.6431 64.2129 95.0428 63.8942 95.3653 63.8907C95.6879 63.8872 95.8492 63.6246 95.9158 63.3024C95.9964 62.9067 95.7229 62.8016 95.46 62.644C95.1971 62.4865 94.8079 62.504 94.7203 62.0557C96.3961 61.7545 98.0579 61.5409 99.6776 61.1452C101.431 60.7215 103.184 60.3047 104.814 59.5728C107.11 58.5222 109.372 57.4366 111.643 56.302C112.87 55.6821 113.835 54.8102 114.883 54.0012C115.065 53.8548 115.211 53.6692 115.311 53.4584C115.451 53.1817 115.51 53.0031 115.255 52.758C115.174 52.6525 115.056 52.5809 114.925 52.5569C114.795 52.533 114.659 52.5585 114.546 52.6284C111.927 53.6265 109.154 53.8856 106.402 54.0502C104.26 54.1763 102.093 54.1518 99.9336 54.1413C96.908 54.1413 93.9735 53.5179 91.0635 52.9646C89.1353 52.6144 87.207 52.2362 85.2998 51.7074C83.07 51.0841 80.7596 50.7549 78.5999 49.8619C76.3211 48.9426 74.1391 47.8001 72.0859 46.451C71.1198 45.7833 70.2152 45.0309 69.3828 44.2027C68.331 43.1767 66.3853 39.2545 66.0066 38.6381C65.5578 37.9097 65.1477 37.1533 64.6463 36.4599C63.5945 35.0241 62.7286 33.4552 61.2035 32.4116C59.9694 31.5712 53.4483 27.9887 51.201 27.642C49.0975 27.3128 46.9939 26.8365 44.8623 26.6194C42.1733 26.3463 39.5087 26.0731 36.7987 26.4688C36.6023 26.4968 36.2903 26.0101 36.5006 25.835C37.6716 24.8614 38.8847 23.9369 40.0066 22.9108C40.9979 22.0882 41.8783 21.1406 42.6255 20.0918C43.0918 19.3704 42.8885 19.0062 42.0365 19.0097C40.845 19.0275 39.658 19.16 38.492 19.4054L34.4567 20.2038C34.6039 19.9552 34.639 19.8046 34.7337 19.7486C36.1991 18.8661 37.6155 17.882 39.1546 17.1606C40.6341 16.4602 42.0015 15.5637 43.516 14.9369C45.8966 13.9528 47.4111 11.8902 49.2517 10.2373C49.4662 10.0454 49.6153 9.79135 49.6782 9.51068C49.741 9.23002 49.7145 8.93676 49.6023 8.67188C49.413 8.19562 45.0972 8.51429 43.6212 8.46877C41.625 8.46841 39.6319 8.62767 37.6611 8.94503C36.3253 9.12013 34.9896 9.02558 33.6643 9.15165C31.0103 9.40029 28.3493 9.50184 25.6883 9.52986C25.222 9.52986 24.903 9.52986 25.1484 8.87149C25.3592 8.35172 25.4406 7.78864 25.3856 7.23054C25.3307 6.67244 25.141 6.13599 24.8329 5.6672C24.1527 4.59911 22.2911 3.61856 21.1587 5.00533C20.6436 5.60261 20.2679 6.30676 20.0588 7.06685C19.8496 7.82694 19.8121 8.62397 19.9491 9.40029C20.0508 10.0517 19.9 10.3598 19.2059 10.3423C18.2803 10.3178 15.5246 10.6295 15.3844 10.1567C15.0759 9.10612 14.4167 8.28666 13.7892 7.4497C12.4184 5.61467 10.9844 5.65669 9.70827 7.47421C8.2498 9.55437 8.958 12.1108 10.2973 13.4486C11.3491 14.4991 11.3315 14.4991 10.2166 15.6268C10.1363 15.7345 10.0703 15.8522 10.0203 15.977C9.19889 17.3518 8.47602 18.783 7.85714 20.2599C6.93858 22.6132 5.96744 24.942 5.26975 27.3723C4.48793 30.0863 4.36522 32.9089 4.10578 35.6895C3.75519 39.377 4.31965 43.0436 5.15756 46.6471C5.58529 48.5276 6.44775 50.2086 7.21906 51.9386C7.81857 53.2798 8.28837 54.6771 8.89139 56.0148C10.6276 59.7536 10.921 64.001 9.71528 67.9425C8.62494 71.6231 7.44694 75.2966 4.83502 78.2803C4.69548 78.4293 4.62051 78.6273 4.62642 78.8313C4.63232 79.0353 4.71864 79.2287 4.86657 79.3694C5.1751 79.667 5.51166 79.5305 5.84823 79.2783C6.29744 78.8747 6.8609 78.6202 7.46097 78.5499C7.46097 78.7635 7.46097 78.9632 7.50654 79.1558C7.67132 80.0943 8.04646 80.3079 8.90892 79.9192C9.46987 79.6635 9.45935 79.9962 9.547 80.4025C9.74684 81.3165 10.4936 81.5931 11.1212 80.9908C12.9898 79.2013 15.0022 77.5554 16.324 75.2686ZM48.81 64.9063C47.951 66.104 47.7372 67.5923 46.9694 68.825C46.8677 68.9931 46.7695 69.3013 46.6609 69.3048C45.7248 69.3328 45.0972 69.8441 44.4661 70.4639C44.2067 70.7195 44.1155 70.2188 44.063 70.0367C43.9578 69.6339 43.8736 69.2978 43.2846 69.6164C42.8604 69.8055 42.8183 69.3573 42.6641 69.1051C42.5098 68.853 42.8008 68.4678 42.2854 68.4293C42.1169 68.4186 41.9491 68.4595 41.8045 68.5464C41.6598 68.6334 41.5451 68.7623 41.4756 68.916C41.3213 69.1857 41.1776 69.5534 40.8971 69.5359C40.4869 69.5079 40.5009 68.9721 40.4799 68.7339C40.3572 67.3577 40.3712 65.9674 39.8488 64.6437C39.7331 64.3495 40.1188 64.2409 40.3607 64.1359C40.8075 63.9667 41.2886 63.9078 41.7631 63.9643C42.3885 64.0318 43.0212 63.9526 43.6107 63.7331C44.7116 63.3059 45.8229 63.8207 46.9238 63.9468C47.4111 64.0028 47.8634 64.2619 48.3788 64.2024C48.9853 64.1324 49.0133 64.6226 48.81 64.9063ZM103.454 58.3261C103.699 57.4822 104.204 56.6662 103.853 55.7487C103.709 55.3775 103.902 55.4195 104.123 55.3039C104.916 54.9047 110.641 54.6526 111.514 54.8067C109.859 55.9483 104.877 58.5923 103.829 58.8199C103.632 58.8619 103.478 58.995 103.306 58.7989C103.078 58.5467 103.408 58.4837 103.454 58.3261ZM97.3672 55.0798C99.1938 54.8732 100.961 55.6646 102.78 55.3249C103.113 55.2619 103.131 55.493 103.156 55.7557C103.359 57.4436 101.981 59.3172 100.281 59.7829C98.6995 60.2172 97.0938 60.4833 95.5582 60.8335C95.1585 60.6514 94.9236 60.0456 95.1375 59.7829C96.056 58.6868 96.6345 57.4576 96.4802 55.9903C96.4031 55.2759 96.666 55.1639 97.3672 55.0798ZM74.4524 49.5047C74.6312 49.3926 74.803 49.5467 75.0099 49.6238C76.286 50.1385 77.5727 50.6253 78.8664 51.1261C80.0128 51.5744 80.7701 53.5109 80.3073 55.0203C79.7849 56.7292 78.8454 58.2386 77.8532 59.7129C77.7831 59.8145 76.7348 60.1892 76.9872 60.5814C77.2957 61.0506 77.6884 60.5814 77.9864 60.3888C79.245 59.5588 79.7394 58.158 80.4406 56.9323C81.2189 55.5911 81.6221 54.1623 81.1978 52.5934C81.0471 52.0471 81.4468 52.0401 81.7798 52.0996C83.2611 52.3227 84.722 52.6647 86.1482 53.1222C86.8494 53.3674 87.2 54.4985 87.0773 55.5736C86.995 56.4605 86.7168 57.3182 86.2627 58.0849C85.8087 58.8515 85.19 59.508 84.4514 60.0071C84.3006 60.1121 84.0587 60.2977 84.2725 60.4728C84.3865 60.5432 84.5194 60.5766 84.6532 60.5684C84.7869 60.5603 84.9148 60.511 85.0193 60.4273C86.3245 59.697 87.3089 58.5052 87.7785 57.0864C88.0519 56.2775 88.357 55.4335 88.0379 54.5055C87.8521 53.9592 88.0204 53.7035 88.8162 53.7596C90.7024 53.8961 92.4519 54.7296 94.3556 54.7191C95.169 54.7191 95.474 55.339 95.453 55.9868C95.4121 57.4883 94.8323 58.9251 93.8192 60.0351C92.7184 61.3203 91.4597 61.2608 90.0959 61.3728C85.7626 61.723 81.4222 61.723 77.0819 61.8071C75.1466 61.8077 73.2196 61.5558 71.3497 61.0577C73.916 58.3611 74.789 55.2479 74.7189 51.781C74.7084 51.2101 74.1299 49.7113 74.4454 49.5152L74.4524 49.5047ZM69.9999 46.3529C70.8308 46.9448 71.6547 47.5436 72.5242 48.0724C72.6698 48.1494 72.7858 48.2726 72.8537 48.4226C73.5549 50.7444 74.0072 53.0802 73.4988 55.5281C73.2253 56.8448 72.447 57.9164 71.9632 59.1281C70.354 62.2448 68.601 59.8775 68.6641 59.3837C68.8984 57.7433 69.0447 56.0915 69.1024 54.4355C69.1339 53.1187 69.0813 51.8125 68.9832 50.4958C68.8288 48.6913 68.5488 46.8998 68.1452 45.1343C69.1094 45.2358 69.4424 45.9747 69.9929 46.3599L69.9999 46.3529ZM6.54241 47.2634C5.72202 45.1448 5.58529 42.8405 5.28027 40.5852C5.04344 39.1345 5.00334 37.6586 5.16107 36.1973C5.65891 32.5902 5.64138 28.9202 7.00169 25.4147C7.85363 23.219 8.70207 21.0198 9.64867 18.8626C10.2848 17.5585 11.0912 16.3444 12.0467 15.2521C12.4745 14.7198 13.1231 15.0069 13.663 15.0104C14.5114 15.0104 15.1705 14.8213 15.7069 14.0824C15.8963 13.8233 16.0575 13.6166 16.0049 13.3365C15.7525 12.1703 16.5098 11.9112 17.3863 11.7746C18.2628 11.638 19.2374 11.5225 20.1665 11.3999C20.198 11.3999 20.2471 11.3649 20.2611 11.3789C21.4812 12.6921 22.4944 11.0812 23.6374 11.0287C25.6463 10.9306 27.6832 10.7345 29.7061 10.5839C33.6538 10.2898 37.626 10.3983 41.5387 9.5929C42.6971 9.36424 43.89 9.37378 45.0446 9.62091C45.6617 9.75399 46.1595 10.5699 46.6363 11.1408C46.7766 11.3054 46.4119 11.491 46.2612 11.6766C44.8588 13.2629 42.9691 14.1945 41.1285 15.147C38.7865 16.3587 36.4691 17.5984 34.2148 18.9746C33.0824 19.675 31.8202 20.1688 30.6282 20.7887C30.3021 20.9567 29.8218 20.9638 29.9691 21.4575C30.0346 21.6708 30.1821 21.8495 30.3792 21.9545C30.5763 22.0595 30.807 22.0823 31.0209 22.0178C32.8264 21.496 34.7021 21.363 36.5287 20.9392C37.7488 20.6556 39.0144 20.3124 40.3221 20.3964C40.5325 20.3964 40.7078 20.3614 40.7954 20.561C40.8831 20.7606 40.7113 20.8587 40.5886 20.9743C38.1695 23.1945 35.6242 25.2747 33.3453 27.628C32.2543 28.7474 31.2244 29.9245 30.2601 31.1544C29.9633 31.4931 29.6068 31.7744 29.2083 31.9844C28.7841 32.2611 28.4756 32.6848 28.8787 33.1506C29.2819 33.6163 29.5589 33.1506 29.8639 32.9089C31.0279 31.9669 31.8307 30.7062 32.7949 29.5891C33.3537 28.8638 34.1574 28.366 35.0562 28.1883C36.2062 28.0342 37.2334 27.4109 38.4254 27.4599C39.975 27.5194 41.5352 27.4003 43.0743 27.5334C44.8798 27.6875 46.6679 28.0272 48.4629 28.2933C51.1625 28.6996 53.7954 29.1583 56.1304 30.8463C57.4872 31.8303 59.135 32.4327 60.5619 33.3817C62.3464 34.5653 63.2159 36.4739 64.4184 38.1233C65.9821 40.2981 66.522 42.9035 67.125 45.4284C67.5769 47.1556 67.8437 48.9259 67.9209 50.7094C67.9594 52.0366 68.0716 53.3709 68.0716 54.7051C68.0716 57.1565 67.5352 59.5483 66.9988 61.9331C66.6674 63.4766 66.1222 64.9664 65.3791 66.3596C65.2242 66.6597 65.1855 67.0063 65.2704 67.3332C65.5158 68.4783 64.9198 69.4343 64.5446 70.3974C64.45 70.639 64.194 71.0172 63.7523 70.702C63.6693 70.6404 63.5654 70.6138 63.463 70.6283C63.3606 70.6427 63.268 70.6969 63.2054 70.7791C62.7356 71.3849 62.3043 71.3464 61.831 70.7791C61.6067 70.5024 61.4244 70.7616 61.2491 70.9052C61.0738 71.0487 60.923 71.1258 60.8143 70.8176C60.4146 69.7075 59.9799 70.3063 59.6153 70.8176C59.4331 71.1346 59.1452 71.3775 58.8019 71.504C57.6765 68.2997 56.6984 65.0919 54.8823 62.2483C54.2192 61.2051 53.4105 60.2618 52.4807 59.4468C50.9488 58.1325 49.7853 56.443 49.1045 54.544C48.5541 53.0067 47.7828 51.5113 47.8529 49.8024C47.8529 49.5397 47.7442 49.2946 47.5023 49.2911C47.3499 49.2968 47.2047 49.3568 47.0928 49.4602C46.9809 49.5636 46.9097 49.7036 46.8922 49.8549C46.8019 50.3175 46.8019 50.7931 46.8922 51.2557C47.7126 54.4074 48.8345 57.3946 51.0994 59.818C51.6884 60.4483 52.4106 60.9526 53.0171 61.5689C53.4799 62.0382 53.6482 62.4094 52.6911 62.6195C51.375 62.8645 50.0282 62.8988 48.7013 62.7211C46.6796 62.5022 44.6402 62.5022 42.6185 62.7211C41.6263 62.8191 40.6166 62.539 39.5754 62.7526C37.7102 63.1343 35.81 62.9207 33.9238 62.8612C33.2752 62.8401 32.7177 63.3269 32.0166 63.2114C31.5952 63.1546 31.179 63.0644 30.7719 62.9417C30.6624 62.9211 30.5581 62.8791 30.4649 62.8181C30.3717 62.7571 30.2915 62.6782 30.2289 62.5861C30.1663 62.494 30.1226 62.3904 30.1003 62.2814C30.078 62.1723 30.0775 62.0599 30.0988 61.9506C30.1409 60.802 30.2566 59.6183 29.3976 58.6378C28.9138 58.8304 28.8332 59.2366 28.8963 59.6884C29.0731 61.3711 29.0861 63.067 28.9348 64.7522C28.8191 66.7728 28.6684 68.7865 28.444 70.7721C28.0934 70.9087 28.0934 70.6215 28.0023 70.4709C27.6517 69.8231 27.2555 69.9281 26.8453 70.3834C26.67 70.5795 26.5823 70.8666 26.3825 71.0172C26.0635 71.2589 25.6813 71.7841 25.4254 70.8771C25.2256 70.1943 24.7803 70.0472 24.2229 70.695C23.7881 71.2063 23.2938 71.8227 22.7363 70.695C22.4979 70.2153 22.0772 70.3658 21.8213 70.8351C21.667 71.1223 21.4987 71.5145 21.1201 71.3779C20.8256 71.2764 20.7029 70.9472 20.6012 70.59C19.9666 68.3347 19.7247 65.9219 18.1997 63.9958C17.1829 62.7106 16.1206 61.4639 15.0724 60.2067C14.9776 60.1086 14.8554 60.0415 14.7218 60.0141C13.2212 59.6359 12.6182 58.3261 11.7172 57.272C9.20692 54.3374 7.89921 50.7864 6.54241 47.2704V47.2634ZM13.4912 68.6989C13.1581 67.6098 12.9092 67.5923 11.9801 68.3242C11.7663 68.4923 11.5489 68.7549 11.2789 68.5798C11.009 68.4047 11.3455 68.0756 11.3 67.8795C10.8968 66.0094 11.8995 64.1884 11.3946 62.2763C11.1212 61.2467 11.4858 60.1086 11.2579 59.002C11.8153 60.0141 15.1355 62.1748 15.3914 62.4794C16.4888 63.7962 17.6948 65.0254 18.3644 66.6573C18.7816 67.6798 18.5818 69.3153 17.8175 70.1032C17.7088 70.2153 17.6107 70.3974 17.4178 70.3098C17.3432 70.271 17.2823 70.2102 17.2434 70.1357C17.2045 70.0611 17.1895 69.9764 17.2005 69.8931C17.2133 69.6913 17.2133 69.489 17.2005 69.2872C17.1268 68.5028 16.643 68.2682 16.0084 68.7094C15.7357 68.9478 15.441 69.16 15.1285 69.3433C14.3957 69.6865 13.8032 69.725 13.4912 68.7024V68.6989Z",fill:"black"}),s.createElement("path",{id:"Vector_10",d:"M45.6382 5.8648C45.9156 5.47549 46.2596 5.27905 46.4527 4.83259C47.0564 3.44323 47.6251 2.011 48.7976 0.97523C49.0644 0.739502 49.1802 0.482345 48.9205 0.189471C48.6607 -0.103403 48.408 -0.0283996 48.1412 0.221615C46.7546 1.5324 46.056 3.29322 45.1468 4.91474C44.8414 5.42549 45.3609 5.50406 45.6382 5.8648Z",fill:"black"}),s.createElement("path",{id:"Vector_11",d:"M47.6772 5.37937C48.0347 5.79152 48.4102 5.37937 48.6462 5.18629C49.4317 4.52921 50.2772 3.95342 51.1706 3.46715C51.3422 3.37433 51.5818 3.34462 51.5282 2.89906C51.2636 2.3124 50.7308 2.40151 50.2481 2.72084C49.4901 3.23443 48.7573 3.78713 48.0526 4.37685C47.7487 4.61077 47.2767 4.90039 47.6772 5.37937Z",fill:"black"}),s.createElement("path",{id:"Vector_12",d:"M89.4471 63.2814C88.8523 63.3873 87.9935 63.4157 87.96 64.3683C87.934 65.1377 88.5363 65.1825 89.0531 65.101C89.7185 65.1458 90.4175 65.1499 90.4286 64.2543C90.4265 64.1185 90.3989 63.9845 90.3476 63.8608C90.2964 63.7371 90.2224 63.6262 90.1304 63.535C90.0384 63.4438 89.9303 63.3742 89.8128 63.3306C89.6953 63.287 89.5708 63.2703 89.4471 63.2814Z",fill:"black"}),s.createElement("path",{id:"Vector_13",d:"M50.6816 5.12805C50.8456 5.34761 51.0234 5.21325 51.184 5.12805C51.7913 4.81392 52.4193 4.53806 53.064 4.30222C53.3237 4.22357 53.8262 4.12853 53.6656 3.72872C53.5767 3.50588 53.1597 3.36496 52.7974 3.40101C52.0217 3.60892 51.3281 4.03326 50.8046 4.6201C50.6679 4.78723 50.5175 4.91504 50.6816 5.12805Z",fill:"black"}),s.createElement("path",{id:"Vector_14",d:"M95.0627 50.0039C95.3017 49.6758 95.5897 49.3973 95.9137 49.1811C96.1017 49.088 96.3623 48.9353 96.2765 48.5519C96.1908 48.1684 95.9104 48.1386 95.6168 48.1572C95.3058 48.1567 95.0021 48.2634 94.7463 48.463C94.4905 48.6626 94.2947 48.9456 94.1853 49.2741C94.1257 49.4387 94.1164 49.621 94.1588 49.7923C94.2012 49.9635 94.2929 50.1139 94.4195 50.2198C94.6405 50.4581 94.8714 50.19 95.0627 50.0039Z",fill:"black"}),s.createElement("path",{id:"Vector_15",d:"M100.228 52.1549C100.871 52.1549 101.232 51.8838 101.232 51.2119C101.232 50.7614 101.011 50.6049 100.617 50.624C100.031 50.6469 99.4387 50.8072 99.3818 51.5135C99.3483 51.964 99.8436 52.2236 100.228 52.1549Z",fill:"black"}),s.createElement("path",{id:"Vector_16",d:"M102.769 62.8186C102.645 62.2372 101.932 62.2294 101.4 62.0434C101.3 62.555 100.551 61.8341 100.619 62.3806C100.687 62.9272 100.972 63.6094 101.82 63.5862C102.349 63.5745 102.837 63.0667 102.769 62.8186Z",fill:"black"}),s.createElement("path",{id:"Vector_17",d:"M88.6248 50.0051C88.8475 50.0067 89.0624 49.9045 89.2255 49.7193C89.3887 49.5342 89.4877 49.28 89.5026 49.0087C89.4022 48.8348 89.3989 48.3129 89.1074 48.5027C88.7252 48.7518 88.0644 48.4038 87.9608 49.1353C87.9546 49.2465 87.9671 49.358 87.9977 49.463C88.0282 49.5681 88.0761 49.6643 88.1383 49.7459C88.2006 49.8274 88.2758 49.8925 88.3595 49.9371C88.4432 49.9816 88.5335 50.0048 88.6248 50.0051Z",fill:"black"}),s.createElement("path",{id:"Vector_18",d:"M84.2942 48.1394C84.3804 48.208 84.6556 48.0094 84.5329 47.7457C84.3075 47.2654 84.4865 46.5575 83.9925 46.301C83.389 46.3516 83.3293 46.6622 83.3293 47.0992C83.3194 47.8143 83.9262 47.8577 84.2942 48.1394Z",fill:"black"}),s.createElement("path",{id:"Vector_19",d:"M108.289 62.2877C108.043 61.6878 107.479 61.7076 106.788 61.757C107.125 62.291 106.987 63.0194 107.819 62.9667C107.905 62.9634 107.99 62.9411 108.065 62.9015C108.14 62.862 108.203 62.8064 108.249 62.7396C108.295 62.6728 108.323 62.5968 108.33 62.5181C108.337 62.4394 108.323 62.3603 108.289 62.2877Z",fill:"black"}),s.createElement("path",{id:"Vector_20",d:"M105.921 51.5485C106.446 51.5485 106.843 51.5201 106.782 51.117C106.736 50.802 106.457 50.6193 105.993 50.6225C105.528 50.6256 105.225 50.8366 105.246 51.1359C105.275 51.4855 105.725 51.5422 105.921 51.5485Z",fill:"black"}),s.createElement("path",{id:"Vector_21",d:"M84.1111 65.7469C84.4851 65.73 84.4884 65.3216 84.5638 65.0717C84.5638 64.7578 84.5442 64.4573 84.2062 64.5215C83.9471 64.5687 83.619 64.6801 83.6387 65.0515C83.6583 65.3688 83.7338 65.7638 84.1111 65.7469Z",fill:"black"}),s.createElement("path",{id:"Vector_22",d:"M25.3308 14.7657C25.9903 14.5526 26.6877 14.4712 27.3808 14.5264C27.5183 14.5612 27.6644 14.5435 27.7889 14.4771C27.9133 14.4106 28.0065 14.3005 28.0493 14.1694C28.1343 13.8731 28.0161 13.6696 27.7575 13.409C27.0483 12.6949 26.1877 12.6949 25.2015 12.6949C24.8322 12.8377 24.1562 12.3772 23.8866 12.9591C23.7799 13.1572 23.7367 13.3814 23.7623 13.6033C23.788 13.8252 23.8814 14.0347 24.0307 14.2051C24.3779 14.5479 24.666 14.962 25.3308 14.7657Z",fill:"black"}),s.createElement("path",{id:"Vector_23",d:"M62.059 39.4712C62.1513 39.6427 62.3395 39.8869 62.6164 39.8011C62.7388 39.7547 62.8391 39.6686 62.8985 39.5588C62.9579 39.449 62.9724 39.3229 62.9395 39.2039C62.9395 38.2733 61.5193 36.6367 60.5643 36.4486C60.4515 36.4132 60.3291 36.4152 60.2177 36.4544C60.1064 36.4935 60.0131 36.5672 59.9536 36.6631C59.919 36.7082 59.8944 36.7593 59.8812 36.8134C59.868 36.8675 59.8664 36.9235 59.8767 36.9781C59.8869 37.0327 59.9087 37.0849 59.9408 37.1317C59.9729 37.1784 60.0147 37.2188 60.0637 37.2504C60.8951 37.8466 61.5761 38.6045 62.059 39.4712Z",fill:"black"}),s.createElement("path",{id:"Vector_24",d:"M54.8016 32.4593C55.859 32.8797 56.7328 33.5566 57.674 34.1445C58.0828 34.401 58.319 34.23 58.3265 33.7312C58.3259 33.6435 58.3146 33.5563 58.2928 33.4711C58.1203 32.9687 55.7803 31.4759 55.1953 31.4902C54.9966 31.4902 54.7228 31.4296 54.6853 31.7111C54.6478 31.9925 54.5166 32.3488 54.8016 32.4593Z",fill:"black"}),s.createElement("path",{id:"Vector_25",d:"M39.0998 30.7171C39.3237 30.5632 39.6663 30.6343 40.1581 30.583C40.4634 30.4014 40.8772 30.9184 41.3691 30.8632C41.6574 30.8316 41.8744 30.7408 41.9457 30.3935C41.9778 30.2838 41.9733 30.1641 41.9331 30.0581C41.8929 29.9521 41.8199 29.8676 41.7286 29.8213C40.7884 29.4894 39.811 29.3218 38.8285 29.324C38.7298 29.3306 38.6341 29.3655 38.5499 29.4255C38.4656 29.4855 38.3953 29.5687 38.3453 29.6679C38.2953 29.7671 38.2672 29.879 38.2633 29.9939C38.2594 30.1088 38.2799 30.223 38.3231 30.3264C38.4588 30.725 38.6216 31.0487 39.0998 30.7171Z",fill:"black"}),s.createElement("path",{id:"Vector_26",d:"M48.7323 30.8026C49.5607 30.8026 49.9931 31.5566 50.7283 31.7386C51.061 31.8198 51.3038 31.8491 51.4468 31.5468C51.525 31.4268 51.5531 31.282 51.5252 31.1423C51.4974 31.0026 51.4157 30.8787 51.2971 30.7961C50.6751 30.3996 50.0563 29.9836 49.208 29.9413C49.0217 30.1071 48.5959 29.7138 48.4662 30.1786C48.3864 30.4256 48.6026 30.8026 48.7323 30.8026Z",fill:"black"}),s.createElement("path",{id:"Vector_27",d:"M51.3845 35.6497C51.8593 36.2673 52.4349 36.7903 52.9065 37.4247C53.0984 37.6846 53.5276 37.8195 53.6772 37.3269C53.8821 36.652 52.3927 34.8567 51.8951 34.8803C51.0561 34.8972 51.1634 35.3629 51.3845 35.6497Z",fill:"black"}),s.createElement("path",{id:"Vector_28",d:"M42.8457 33.6847C43.8871 33.9832 44.8903 34.384 45.8378 34.8801C45.9264 34.7302 45.9748 34.5631 45.9793 34.3927C45.9838 34.2222 45.944 34.0532 45.8634 33.8996C45.673 33.5638 43.45 32.6773 42.9995 32.7209C42.7651 32.7444 42.571 32.7881 42.604 33.0567C42.6369 33.3254 42.4392 33.5537 42.8457 33.6847Z",fill:"black"}),s.createElement("path",{id:"Vector_29",d:"M62.09 42.8481C62.0467 42.7499 61.9747 42.673 61.887 42.6312C61.7993 42.5895 61.7017 42.5857 61.6118 42.6206C61.3385 42.6926 61.4719 42.9657 61.4133 43.2046C61.4751 44.2286 62.3893 44.6761 62.6983 45.5521C62.7342 45.683 62.8057 45.7967 62.902 45.8761C62.9982 45.9554 63.114 45.9961 63.2318 45.9921C63.5213 45.9465 63.4595 45.537 63.5409 45.2791C63.6482 44.9302 63.4758 44.695 63.3001 44.4561C62.9032 43.9138 62.36 43.527 62.09 42.8481Z",fill:"black"}),s.createElement("path",{id:"Vector_30",d:"M46.667 32.4107C46.8385 32.3728 47.094 32.3386 47.164 32.0919C47.2166 31.957 47.2284 31.8075 47.1976 31.6649C47.1667 31.5224 47.0949 31.3941 46.9925 31.2987C46.562 30.9191 46.1175 30.5396 45.722 30.1183C45.477 29.8602 45.309 29.9247 45.0221 30.0576C44.6721 30.2322 44.7281 30.551 44.7946 30.7787C45.0921 31.72 45.8235 32.1147 46.667 32.4107Z",fill:"black"}),s.createElement("path",{id:"Vector_31",d:"M56.0832 36.4235C55.6833 36.4707 55.3753 36.7871 55.6585 37.1725C56.1334 37.8557 56.6754 38.4868 57.2759 39.056C57.4423 39.2197 57.9484 39.3688 58.0156 38.7724C58.0829 38.1761 56.6813 36.4598 56.0832 36.4235Z",fill:"black"}),s.createElement("path",{id:"Vector_32",d:"M37.7278 35.8662C38.169 35.8856 38.6064 35.9647 39.0303 36.1016C39.5721 36.1247 39.8952 36.1594 40.0515 35.7967C40.0799 35.7519 40.0994 35.7009 40.1087 35.6471C40.1179 35.5933 40.1168 35.5378 40.1053 35.4845C40.0938 35.4312 40.0722 35.3813 40.0419 35.338C40.0117 35.2947 39.9735 35.259 39.9299 35.2334C39.393 34.7636 38.7191 34.53 38.037 34.5775C37.8567 34.591 37.687 34.6766 37.5593 34.8185C37.4316 34.9604 37.3545 35.1489 37.3423 35.3492C37.3328 35.412 37.3356 35.4763 37.3505 35.5378C37.3654 35.5993 37.392 35.6566 37.4286 35.7056C37.4652 35.7547 37.5109 35.7944 37.5625 35.8221C37.6141 35.8498 37.6705 35.8649 37.7278 35.8662Z",fill:"black"}),s.createElement("path",{id:"Vector_33",d:"M35.6181 31.3251C36.0285 31.0926 36.344 30.9532 35.8499 30.6045C35.1621 30.1196 34.3564 30.2159 33.5698 30.4019C32.7831 30.5879 33.0453 31.1092 33.1062 31.7934C33.8928 30.91 34.8277 31.7768 35.6181 31.3251Z",fill:"black"}),s.createElement("path",{id:"Vector_34",d:"M30.7276 34.547C31.1928 34.2767 31.7332 34.2737 32.2414 34.1522C32.3721 34.1163 32.4868 34.0473 32.57 33.9545C32.6531 33.8616 32.7008 33.7494 32.7066 33.6329C32.7066 33.5083 32.6815 33.3869 32.5205 33.3717C31.8048 33.3079 31.0891 33.2957 30.4986 33.6541C30.3717 33.7308 30.2833 33.8451 30.2509 33.9744C30.2184 34.1038 30.2442 34.2387 30.3233 34.3527C30.4163 34.4772 30.5809 34.6321 30.7276 34.547Z",fill:"black"}),s.createElement("path",{id:"Vector_35",d:"M65.8953 46.2968C66.18 46.3366 66.3355 46.0908 66.3521 45.7257C66.127 45.2414 66.0211 44.5727 65.3591 44.4643C65.2813 44.4423 65.1994 44.444 65.1223 44.4693C65.0453 44.4945 64.9761 44.5424 64.9222 44.6075C64.8683 44.6727 64.8318 44.7528 64.8166 44.8391C64.8014 44.9253 64.8082 45.0145 64.8362 45.0968C64.9653 45.7113 65.2731 46.2173 65.8953 46.2968Z",fill:"black"}),s.createElement("path",{id:"Polygon 1",d:"M53 18L56 11.5V10.5H68V11.5L53 18Z",fill:"white"}),s.createElement("path",{id:"Polygon 2",d:"M56 11.5L53 18L68 11.5",stroke:"#CAC5B8",strokeLinecap:"round"}))))},cu=(0,s.forwardRef)(lu);n.p;var uu,du,fu=["title","titleId"];function hu(){return hu=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var mu=function(e,t){var n=e.title,r=e.titleId,i=pu(e,fu);return s.createElement("svg",hu({width:236,height:195,viewBox:"0 0 236 195",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?s.createElement("title",{id:r},n):null,uu||(uu=s.createElement("g",{id:"pictogram2",clipPath:"url(#clip0_1366_658536)"},s.createElement("circle",{id:"Ellipse 24",cx:118,cy:97.5,r:97,fill:"white"}),s.createElement("path",{id:"stars",d:"M189.342 23.9263C189.139 23.6592 188.96 22.764 188.602 20.9737C188.36 19.7653 188.239 19.1611 188.023 18.6371C187.432 17.2055 186.295 16.0684 184.863 15.4774C184.339 15.261 183.735 15.1402 182.526 14.8985C180.736 14.5404 179.841 14.3614 179.574 14.158C178.809 13.5754 178.809 12.4246 179.574 11.842C179.841 11.6386 180.736 11.4596 182.526 11.1015C183.735 10.8598 184.339 10.739 184.863 10.5226C186.295 9.93159 187.432 8.79452 188.023 7.36295C188.239 6.83891 188.36 6.23472 188.601 5.02636C188.96 3.23602 189.139 2.3408 189.342 2.07366C189.925 1.30878 191.075 1.30878 191.658 2.07366C191.861 2.34079 192.04 3.23595 192.398 5.02625C192.64 6.23465 192.761 6.83891 192.977 7.36295C193.568 8.79452 194.705 9.93159 196.137 10.5226C196.661 10.739 197.265 10.8598 198.474 11.1015C200.264 11.4596 201.159 11.6386 201.426 11.842C202.191 12.4246 202.191 13.5754 201.426 14.158C201.159 14.3614 200.264 14.5404 198.474 14.8985C197.265 15.1402 196.661 15.261 196.137 15.4774C194.705 16.0684 193.568 17.2055 192.977 18.6371C192.761 19.1611 192.64 19.7653 192.398 20.9737C192.04 22.764 191.861 23.6592 191.658 23.9263C191.075 24.6912 189.925 24.6912 189.342 23.9263Z",fill:"#5296E0"}),s.createElement("g",{id:"Frame 1"},s.createElement("path",{id:"Vector 2",d:"M217.127 119.074H224.325L222.076 121.773L215.328 124.922L209.03 127.621L199.583 129.87H194.634L184.738 131.22L168.093 131.67L160.445 130.32L155.497 127.621L156.397 123.122V117.724L155.497 108.277L154.147 102.879L164.044 109.177L173.941 113.675L184.738 115.925L195.984 119.074H202.282L209.93 119.524L217.127 119.074Z",fill:"#DFEAF6",stroke:"black"}),s.createElement("path",{id:"Vector",d:"M73.2377 142.271C73.7298 141.991 74.1946 141.664 74.6257 141.295C75.611 140.604 76.3676 140.972 76.4765 142.2C76.4964 142.516 76.4964 142.833 76.4765 143.149C76.4595 143.279 76.4828 143.412 76.5432 143.528C76.6036 143.645 76.6981 143.74 76.814 143.801C77.1134 143.944 77.2658 143.653 77.4346 143.478C78.6267 142.244 78.9315 139.683 78.2838 138.082C77.244 135.521 75.3715 133.597 73.6677 131.541C73.2703 131.064 68.1153 127.702 67.2498 126.096C67.5982 127.828 67.0321 129.61 67.4621 131.223C68.2514 134.189 66.6892 137.046 67.3152 139.996C67.3805 140.303 66.8416 140.796 67.2825 141.092C67.7234 141.388 68.0228 140.955 68.3712 140.692C69.8192 139.546 70.2056 139.595 70.7173 141.279C71.1691 142.842 72.0891 142.781 73.2377 142.271Z",fill:"#CFE1F4"}),s.createElement("path",{id:"Vector_2",d:"M73.0409 127.823C73.2484 127.865 73.4382 127.97 73.5854 128.123C75.2186 130.085 76.8519 132.037 78.4416 134.037C80.8098 137.044 81.1636 140.804 82.1708 144.33C82.3287 144.877 82.5138 145.423 82.9766 145.56C83.5809 145.773 83.8422 145.161 84.0654 144.713C84.4628 143.98 85.1161 143.745 85.4863 144.494C86.352 146.238 87.1196 145.281 87.7947 144.494C88.6548 143.483 89.3517 143.712 89.662 144.778C90.0758 146.189 90.6474 145.369 91.1483 144.997C91.4586 144.762 91.5947 144.314 91.8669 144.008C92.5039 143.292 93.1245 143.128 93.6635 144.144C93.7887 144.379 93.7996 144.828 94.3495 144.614C94.6979 141.515 94.9265 138.378 95.1116 135.218C95.3465 132.588 95.3264 129.941 95.0518 127.314C94.9538 126.615 95.079 125.98 95.8303 125.674C97.1423 127.199 96.9681 129.052 96.9191 130.845C96.886 131.016 96.8868 131.191 96.9214 131.361C96.9561 131.532 97.024 131.693 97.1211 131.837C97.2183 131.981 97.3428 132.104 97.4875 132.199C97.6323 132.294 97.7943 132.36 97.9644 132.392C98.5965 132.584 99.2427 132.724 99.8971 132.813C100.986 132.999 101.852 132.266 102.859 132.266C105.788 132.359 108.744 132.693 111.635 132.097C113.268 131.764 114.82 132.206 116.36 132.048C119.5 131.706 122.667 131.706 125.806 132.048C127.866 132.325 129.958 132.272 132.001 131.889C133.488 131.583 133.226 131.004 132.508 130.249C131.566 129.293 130.444 128.5 129.53 127.516C126.002 123.739 124.265 119.049 122.997 114.152C122.856 113.43 122.856 112.687 122.997 111.965C123.024 111.729 123.134 111.511 123.308 111.349C123.482 111.188 123.707 111.094 123.944 111.085C124.336 111.085 124.527 111.473 124.488 111.883C124.38 114.551 125.577 116.885 126.432 119.285C127.489 122.249 129.296 124.886 131.675 126.937C133.119 128.209 134.374 129.682 135.404 131.31C138.24 135.748 139.759 140.755 141.491 145.757C141.998 145.553 142.422 145.183 142.694 144.707C143.238 143.893 143.935 142.958 144.556 144.707C144.724 145.188 144.959 145.068 145.231 144.844C145.503 144.62 145.775 144.215 146.134 144.647C146.864 145.549 147.539 145.604 148.269 144.647C148.366 144.519 148.51 144.434 148.669 144.412C148.828 144.389 148.989 144.431 149.118 144.527C149.804 145.019 150.207 144.428 150.348 144.051C150.947 142.521 151.851 141.056 151.475 139.269C151.343 138.758 151.404 138.217 151.644 137.749C152.798 135.574 153.645 133.249 154.159 130.84C154.998 127.117 155.825 123.4 155.825 119.558C155.825 117.475 155.645 115.393 155.591 113.321C155.471 110.537 155.057 107.774 154.355 105.078C153.397 101.137 152.58 97.0704 150.152 93.6759C148.312 91.0959 146.962 88.1224 144.164 86.2749C141.948 84.7936 139.389 83.8534 137.282 82.3174C133.662 79.6828 129.573 78.9667 125.376 78.3326C122.588 77.9118 119.812 77.387 117.008 77.1465C114.618 76.9388 112.19 77.1465 109.789 77.0317C107.933 76.9607 106.343 77.9282 104.557 78.1687C103.162 78.446 101.914 79.223 101.046 80.3551C99.5486 82.0988 98.3237 84.0666 96.4945 85.5369C96.0208 85.9196 95.5853 86.6302 94.9646 85.9141C94.344 85.198 94.8122 84.5257 95.4764 84.0939C96.0953 83.7662 96.6489 83.3271 97.1097 82.7984C98.6072 80.8787 100.206 79.0413 101.901 77.2941C105.439 73.599 109.392 70.3522 113.148 66.9085C113.339 66.7336 113.595 66.5478 113.469 66.2635C113.344 65.9793 113.056 66.0285 112.734 66.0066C110.704 65.87 108.738 66.4111 106.844 66.8539C104.007 67.5153 101.095 67.723 98.291 68.5374C97.959 68.638 97.6007 68.6025 97.2946 68.4386C96.9886 68.2747 96.7596 67.9958 96.6578 67.6629C96.4291 66.8921 97.175 66.8867 97.6813 66.6188C99.5323 65.6513 101.492 64.8588 103.251 63.7874C106.751 61.6447 110.328 59.7097 113.987 57.813C116.845 56.3262 119.757 54.8777 121.957 52.3961C122.191 52.1337 122.752 51.8222 122.539 51.5598C121.799 50.6688 121.026 49.3734 120.068 49.1875C118.275 48.8018 116.422 48.7869 114.624 49.1438C108.548 50.401 102.374 50.237 96.2495 50.6907C93.1082 50.9257 89.9451 51.2373 86.8256 51.3849C85.0562 51.4723 83.4829 53.9867 81.5828 51.9315C81.5828 51.9315 81.4903 51.9588 81.4359 51.9643C79.9932 52.1556 78.5504 52.325 77.1186 52.5491C75.6868 52.7733 74.5871 53.1668 74.9736 54.987C75.0716 55.4298 74.7994 55.7468 74.5109 56.1513C73.6779 57.3046 72.6598 57.6053 71.3369 57.5998C70.4985 57.5998 69.4913 57.1516 68.8271 57.977C67.3433 59.682 66.0911 61.577 65.1033 63.6125C63.6334 66.9796 62.3159 70.4123 60.993 73.8395C58.8806 79.3056 58.9078 85.0395 58.1348 90.6696C57.8961 92.9552 57.9656 95.2626 58.3416 97.5295C58.8153 101.044 59.0331 104.635 60.3015 107.953C62.4084 113.419 64.4391 118.984 68.3753 123.581C69.7799 125.188 70.7054 127.21 73.0409 127.823ZM151.677 103.52C152.766 103.684 152.923 104.69 153.31 105.428C153.283 105.975 153.027 106.352 152.559 106.292C151.535 106.166 151.029 105.406 150.833 104.482C150.787 104.36 150.776 104.227 150.8 104.098C150.823 103.969 150.881 103.849 150.967 103.751C151.053 103.652 151.163 103.579 151.287 103.538C151.411 103.498 151.544 103.491 151.671 103.52H151.677ZM148.595 103.646C148.889 103.99 149.178 104.329 148.998 104.832C148.867 105.204 148.971 105.794 148.481 105.86C148.284 105.866 148.09 105.807 147.929 105.693C147.768 105.578 147.648 105.414 147.588 105.226C147.071 103.963 145.541 103.318 145.438 101.842C145.541 101.498 145.312 101.104 145.77 101C145.92 100.95 146.084 100.956 146.23 101.016C146.377 101.076 146.498 101.187 146.57 101.328C147.016 102.307 147.926 102.864 148.59 103.646H148.595ZM143.08 91.2927C143.171 91.1339 143.315 91.0118 143.485 90.947C143.656 90.8822 143.844 90.8788 144.017 90.9374C145.487 91.2545 147.67 93.9602 147.659 95.5016C147.709 95.6988 147.687 95.9077 147.596 96.0896C147.505 96.2715 147.351 96.4141 147.163 96.491C146.744 96.6385 146.45 96.2395 146.309 95.9444C145.568 94.5043 144.522 93.2449 143.244 92.2548C143.096 92.1482 142.996 91.9875 142.965 91.8074C142.935 91.6273 142.976 91.4424 143.08 91.2927ZM139.003 95.1791C138.079 94.3234 137.245 93.3746 136.515 92.3477C136.095 91.7464 136.553 91.2927 137.168 91.2217C138.088 91.2763 140.238 93.9164 140.14 94.7527C140.042 95.5891 139.269 95.4251 138.992 95.1791H139.003ZM135.192 84.001C135.246 83.5691 135.644 83.6675 135.932 83.6621C136.781 83.6621 140.179 85.9305 140.429 86.7012C140.461 86.8319 140.477 86.9658 140.478 87.1002C140.478 87.8655 140.119 88.1279 139.531 87.7343C138.164 86.8324 136.89 85.7938 135.36 85.1488C134.914 84.9794 135.115 84.3945 135.164 84.0283L135.192 84.001ZM133.558 92.6428C133.308 93.4409 132.589 93.2222 132.268 92.8014C131.484 91.7737 130.515 90.9265 129.72 89.9262C129.35 89.4616 129.176 88.7073 130.575 88.6745C131.375 88.6417 133.869 91.5551 133.526 92.6428H133.558ZM125.115 81.2078C125.327 80.4261 126.029 81.0875 126.329 80.8088C127.717 80.8798 128.729 81.5795 129.748 82.2464C129.942 82.3853 130.075 82.5937 130.121 82.8286C130.166 83.0636 130.12 83.3071 129.993 83.509C129.758 84.0174 129.345 83.9682 128.817 83.8315C127.624 83.5309 126.922 82.2628 125.55 82.2573C125.37 82.2628 125.017 81.6287 125.115 81.2078ZM119.834 81.4046C120.258 81.2187 120.525 81.1203 120.923 81.492C121.543 82.0988 122.229 82.6344 122.899 83.192C123.058 83.3294 123.17 83.5142 123.218 83.7195C123.266 83.9248 123.247 84.1402 123.166 84.3344C123.057 84.6897 122.659 84.7389 122.392 84.7935C121.069 84.3672 119.937 83.7987 119.496 82.4486C119.398 82.1152 119.284 81.6506 119.855 81.3991L119.834 81.4046ZM116.322 85.7774C116.273 85.3675 116.562 85.291 116.91 85.2308C117.574 85.1652 120.879 86.6028 121.167 87.1494C121.287 87.3995 121.346 87.6746 121.34 87.9521C121.333 88.2295 121.261 88.5015 121.129 88.7455C119.721 87.9381 118.23 87.2856 116.681 86.7996C116.099 86.581 116.404 86.1109 116.344 85.7501L116.322 85.7774ZM110.334 80.3114C111.911 80.3083 113.479 80.5405 114.988 81.0001C115.135 81.0642 115.252 81.1813 115.317 81.3281C115.381 81.4749 115.388 81.6408 115.337 81.7927C115.222 82.2737 114.874 82.3994 114.411 82.4431C113.622 82.5197 112.952 81.8036 112.468 82.055C111.678 82.1261 111.134 82.0222 110.769 82.2409C110.001 82.7 109.74 82.2409 109.517 81.6943C109.439 81.5478 109.401 81.3838 109.405 81.218C109.408 81.0522 109.455 80.8902 109.539 80.7475C109.623 80.6048 109.742 80.4862 109.885 80.4031C110.028 80.32 110.19 80.2753 110.355 80.2731L110.334 80.3114ZM109.326 88.4012C110.402 88.333 111.466 88.668 112.31 89.3413C112.378 89.3776 112.438 89.4281 112.485 89.4895C112.533 89.5508 112.567 89.6216 112.585 89.6971C112.603 89.7726 112.605 89.8511 112.59 89.9274C112.575 90.0036 112.545 90.0759 112.5 90.1394C112.255 90.6586 111.749 90.604 110.9 90.5712C110.235 90.3773 109.55 90.2653 108.858 90.2378C108.766 90.2407 108.674 90.2229 108.589 90.1857C108.504 90.1486 108.428 90.093 108.367 90.0229C108.306 89.9528 108.261 89.8701 108.236 89.7806C108.211 89.6911 108.206 89.597 108.221 89.5053C108.238 89.2171 108.36 88.9453 108.564 88.7416C108.768 88.538 109.039 88.4168 109.326 88.4012ZM102.363 81.8419C103.452 81.5303 104.623 81.3718 105.63 82.1753C106.338 82.7492 105.886 82.9788 105.298 83.3614C104.165 84.1048 102.842 82.6782 101.721 84.1322C101.601 83.0116 101.313 82.1425 102.347 81.8419H102.363ZM97.616 86.7121C98.5251 86.0672 99.6194 86.0835 100.692 86.2038C100.937 86.2038 100.98 86.4498 100.975 86.6739C100.966 86.8836 100.894 87.0856 100.767 87.2527C100.641 87.4198 100.466 87.544 100.267 87.6086C99.4942 87.8272 98.6721 87.8327 97.9644 88.3192C97.7466 88.4668 97.4907 88.1935 97.3492 87.9748C97.2294 87.7715 97.1893 87.5308 97.2366 87.2994C97.2839 87.068 97.4152 86.8626 97.6051 86.7231L97.616 86.7121ZM87.272 54.4623C87.6694 53.5713 88.6548 54.2764 89.2102 54.0578C90.6637 54.0578 91.9322 54.0578 92.9775 55.151C93.3586 55.55 93.5219 55.8616 93.4076 56.3153C93.3446 56.5159 93.2071 56.6846 93.0237 56.7863C92.8403 56.888 92.6249 56.9151 92.4222 56.8619C91.4007 56.7773 90.3728 56.9018 89.4007 57.2281C88.4207 57.5123 87.9961 56.8783 87.4789 56.3481C87.2673 56.0891 87.1356 55.7738 87.0998 55.4408C87.064 55.1078 87.1258 54.7715 87.2775 54.4732L87.272 54.4623Z",fill:"#CFE1F4"}),s.createElement("path",{id:"Vector_3",d:"M72.8622 56.7498C74.1831 62.9237 74.0625 67.2306 76.803 73.126C79.0338 77.9242 82.4704 84.2564 87.8473 86.227C94.3149 88.596 97.0171 82.7115 100.728 78.6775C104.438 74.6435 108.785 71.3628 112.605 67.5799C113.701 66.4882 114.633 65.8768 114.83 64.4521C112.638 64.2501 110.55 65.6366 108.308 65.855C105.567 66.1225 102.904 65.4947 100.41 66.6083C104.537 64.7141 108.5 62.083 112.413 59.7467C115.099 58.1418 123.31 54.8338 123.677 51.3129C124.225 45.9852 112.216 48.4689 109.042 48.7473C103.326 49.2495 97.4281 48.9493 91.5032 49.4734C86.3894 49.9264 74.4846 48.6382 73.2349 54.9321L72.8622 56.7498Z",fill:"white"}),s.createElement("path",{id:"Vector_4",d:"M125.242 134.25C124.421 134.34 123.705 133.953 122.939 133.863C121.197 133.672 119.437 132.892 117.695 133.539C116.762 133.872 115.76 133.991 114.77 133.889C114.019 133.804 113.258 133.893 112.55 134.149C112.168 134.303 111.557 134.467 111.74 134.918C112.567 136.922 112.545 139.021 112.739 141.11C112.772 141.471 112.739 142.282 113.4 142.324C113.849 142.356 114.071 141.794 114.315 141.386C114.425 141.153 114.607 140.958 114.836 140.826C115.065 140.695 115.33 140.633 115.597 140.649C116.413 140.707 115.98 141.349 116.197 141.672C116.413 141.996 116.507 142.733 117.179 142.446C118.111 141.959 118.239 142.446 118.411 143.083C118.489 143.358 118.638 144.116 119.049 143.729C120.053 142.791 121.041 142.012 122.523 141.975C122.695 141.975 122.85 141.497 123.011 141.248C124.227 139.382 124.565 137.134 125.925 135.315C126.23 134.886 126.186 134.144 125.242 134.25Z",fill:"#CFE1F4"}),s.createElement("path",{id:"Vector_5",d:"M75.2246 151.436C76.5209 149.195 78.7106 147.519 79.3969 144.907C79.4895 144.548 79.484 144.178 79.9415 144.135C80.5546 146.722 81.0003 149.347 81.276 151.991C81.4775 153.585 80.813 155.642 78.9121 155.903C78.6242 155.937 78.3589 156.075 78.1669 156.292C77.9749 156.509 77.8698 156.789 77.8717 157.078C77.8336 157.677 77.8717 158.166 78.6016 158.433C78.9555 158.508 79.2702 158.709 79.4875 158.998C79.7048 159.287 79.8099 159.645 79.7836 160.005C79.7836 161.349 80.7422 161.839 81.9242 161.463C82.8338 161.175 83.1388 161.327 83.2096 162.258C83.2913 163.346 84.1519 163.814 84.9254 163.275C87.9102 161.197 91.1075 159.412 92.4093 155.506C93.1501 153.286 93.6839 151.006 94.4573 148.808C95.8789 144.782 96.2384 140.604 96.3474 136.387C96.4018 134.211 99.8115 134.679 100.405 134.543C102.987 133.956 105.591 134.396 108.178 134.26C108.723 134.233 109.267 134.179 109.485 134.804C110.144 136.844 111.179 138.678 110.858 141.083C110.22 145.8 109.768 150.419 104.991 153.052C104.648 153.243 104.022 153.596 104.294 154.14C104.405 154.434 104.595 154.69 104.843 154.883C105.091 155.075 105.388 155.194 105.7 155.228C106.113 155.228 106.533 155.228 106.952 155.228C107.257 155.228 107.606 155.228 107.628 155.658C107.715 157.492 108.772 157.176 109.992 156.828C110.536 156.67 111.293 156.164 111.686 157.274C112.143 158.574 113.254 158.803 114.24 157.862C118.148 154.067 121.248 149.521 123.353 144.499C124.513 141.839 125.357 139.021 127.024 136.594C127.645 135.686 128.113 134.679 129.322 134.325C130.833 133.971 132.386 133.834 133.936 133.917C134.143 133.895 134.351 133.942 134.527 134.053C134.703 134.164 134.836 134.331 134.905 134.527C135.646 136.377 136.812 138.003 137.476 139.908C138.446 142.682 138.642 145.609 139.383 148.411C139.835 150.125 139.23 151.197 137.983 152.089C137.03 152.775 135.962 153.297 134.998 153.972C134.306 154.456 133.952 155.06 134.737 155.849C135.826 156.937 137.683 157.443 137.286 159.57C137.309 159.685 137.358 159.793 137.43 159.886C137.501 159.979 137.593 160.055 137.698 160.107C137.803 160.159 137.918 160.187 138.036 160.189C138.153 160.19 138.269 160.164 138.375 160.114C138.778 159.929 139.312 160.043 139.731 159.875C140.625 159.516 141.256 159.38 141.583 160.625C141.736 161.213 142.373 161.474 143.217 161.316C145.396 160.892 146.355 159.521 147.03 157.508C148.179 154.091 148.849 150.522 150.336 147.198C151.18 145.305 152.422 143.558 152.7 141.415C152.885 140 155.238 132.982 155.631 130.702C155.794 129.755 156.246 129.783 156.927 130.158C157.781 130.702 158.725 131.089 159.716 131.3C163.169 131.692 166.557 132.677 170.065 132.525C174.286 132.34 178.513 132.236 182.734 132.03C186.389 131.85 190.054 131.942 193.677 131.17C194.657 130.963 196.667 130.082 196.111 132.731C196.062 132.971 196.34 133.275 196.498 133.553C196.901 134.26 197.522 133.765 198.023 133.76C198.524 133.754 198.775 133.346 198.878 132.846C199.004 132.231 198.579 132.068 198.17 131.823C197.762 131.578 197.157 131.605 197.021 130.909C199.624 130.441 202.206 130.109 204.723 129.494C207.446 128.836 210.169 128.188 212.702 127.051C216.27 125.419 219.783 123.733 223.313 121.97C225.219 121.007 226.717 119.652 228.346 118.395C228.628 118.168 228.855 117.88 229.01 117.552C229.228 117.122 229.321 116.845 228.923 116.464C228.797 116.3 228.615 116.189 228.412 116.151C228.208 116.114 227.998 116.154 227.823 116.263C223.754 117.813 219.445 118.216 215.17 118.471C211.842 118.667 208.476 118.629 205.12 118.613C200.42 118.613 195.861 117.644 191.34 116.785C188.344 116.241 185.348 115.653 182.385 114.832C178.921 113.863 175.332 113.352 171.976 111.964C168.436 110.536 165.046 108.761 161.856 106.665C160.355 105.628 158.95 104.459 157.657 103.172C156.023 101.578 153 95.4848 152.411 94.5272C151.714 93.3956 151.077 92.2204 150.298 91.1432C148.664 88.9125 147.319 86.4751 144.949 84.8538C143.032 83.548 132.901 77.9823 129.41 77.4437C126.141 76.9322 122.873 76.1923 119.562 75.855C115.384 75.4306 111.244 75.0063 107.034 75.621C106.729 75.6646 106.244 74.9083 106.571 74.6363C108.39 73.1238 110.275 71.6875 112.018 70.0934C113.558 68.8154 114.926 67.3432 116.087 65.7136C116.811 64.5929 116.495 64.0271 115.172 64.0325C113.32 64.0602 111.476 64.2661 109.665 64.6473L103.396 65.8878C103.624 65.5015 103.679 65.2675 103.826 65.1805C106.103 63.8094 108.303 62.2806 110.694 61.1598C112.993 60.0717 115.117 58.6789 117.47 57.705C121.169 56.1762 123.522 52.9717 126.381 50.4037C126.714 50.1056 126.946 49.7109 127.044 49.2749C127.141 48.8389 127.1 48.3833 126.926 47.9717C126.632 47.2318 119.927 47.7269 117.634 47.6562C114.532 47.6556 111.436 47.9031 108.374 48.3961C106.299 48.6681 104.223 48.5212 102.165 48.7171C98.0413 49.1034 93.9072 49.2612 89.773 49.3047C89.0486 49.3047 88.553 49.3047 88.9342 48.2819C89.2617 47.4744 89.3882 46.5995 89.3028 45.7325C89.2174 44.8654 88.9227 44.032 88.444 43.3037C87.3873 41.6443 84.4951 40.1209 82.7358 42.2754C81.9356 43.2033 81.3519 44.2973 81.0269 45.4782C80.702 46.6591 80.6438 47.8973 80.8566 49.1034C81.0146 50.1154 80.7804 50.5941 79.7019 50.5669C78.2639 50.5288 73.9827 51.0131 73.7649 50.2786C73.2855 48.6464 72.2615 47.3733 71.2865 46.073C69.1568 43.2221 66.9291 43.2874 64.9465 46.111C62.6806 49.3428 63.7808 53.3144 65.8615 55.3928C67.4956 57.025 67.4683 57.025 65.7362 58.7768C65.6115 58.9443 65.5089 59.1271 65.4312 59.3209C64.1551 61.4568 63.032 63.6803 62.0705 65.9748C60.6435 69.6309 59.1347 73.2489 58.0508 77.0247C56.8361 81.2412 56.6455 85.6264 56.2424 89.9462C55.6978 95.6752 56.5747 101.372 57.8765 106.97C58.541 109.892 59.8809 112.503 61.0792 115.191C62.0106 117.275 62.7405 119.445 63.6773 121.524C66.3747 127.332 66.8305 133.931 64.9573 140.054C63.2634 145.773 61.4333 151.48 57.3754 156.115C57.1586 156.347 57.0421 156.654 57.0513 156.971C57.0605 157.288 57.1946 157.589 57.4244 157.807C57.9037 158.27 58.4266 158.058 58.9495 157.666C59.6474 157.039 60.5228 156.643 61.455 156.534C61.455 156.866 61.455 157.176 61.5259 157.475C61.7819 158.933 62.3647 159.265 63.7046 158.661C64.5761 158.264 64.5597 158.781 64.6959 159.412C65.0064 160.832 66.1665 161.262 67.1415 160.326C70.0447 157.546 73.1711 154.989 75.2246 151.436ZM125.695 135.337C124.36 137.198 124.028 139.51 122.835 141.425C122.677 141.687 122.525 142.165 122.356 142.171C120.902 142.214 119.927 143.009 118.946 143.972C118.543 144.369 118.402 143.591 118.32 143.308C118.156 142.682 118.026 142.16 117.111 142.655C116.452 142.949 116.386 142.252 116.147 141.861C115.907 141.469 116.359 140.871 115.558 140.811C115.296 140.794 115.036 140.858 114.811 140.993C114.586 141.128 114.408 141.328 114.3 141.567C114.06 141.986 113.837 142.557 113.401 142.53C112.764 142.486 112.786 141.654 112.753 141.284C112.563 139.146 112.584 136.986 111.773 134.929C111.593 134.472 112.192 134.304 112.568 134.14C113.262 133.878 114.01 133.786 114.747 133.874C115.718 133.979 116.701 133.856 117.617 133.515C119.327 132.851 121.054 133.651 122.764 133.847C123.522 133.934 124.224 134.336 125.025 134.244C125.967 134.135 126.011 134.897 125.695 135.337ZM210.589 125.114C210.97 123.803 211.755 122.536 211.21 121.11C210.987 120.533 211.286 120.599 211.629 120.419C212.86 119.799 221.755 119.407 223.111 119.647C220.54 121.42 212.8 125.528 211.172 125.882C210.867 125.947 210.627 126.154 210.36 125.849C210.006 125.457 210.518 125.359 210.589 125.114ZM201.133 120.071C203.971 119.75 206.716 120.98 209.543 120.452C210.061 120.354 210.088 120.713 210.126 121.121C210.442 123.743 208.301 126.654 205.66 127.378C203.203 128.052 200.708 128.466 198.323 129.01C197.702 128.727 197.337 127.786 197.669 127.378C199.096 125.675 199.995 123.765 199.755 121.486C199.635 120.376 200.044 120.202 201.133 120.071ZM165.533 111.41C165.811 111.235 166.078 111.475 166.399 111.594C168.382 112.394 170.381 113.151 172.39 113.929C174.171 114.625 175.348 117.634 174.629 119.979C173.817 122.634 172.358 124.978 170.816 127.269C170.707 127.427 169.079 128.009 169.471 128.618C169.95 129.347 170.56 128.618 171.023 128.319C172.979 127.03 173.747 124.853 174.836 122.949C176.045 120.865 176.672 118.646 176.013 116.208C175.778 115.359 176.399 115.349 176.917 115.441C179.218 115.788 181.488 116.319 183.703 117.03C184.793 117.411 185.337 119.168 185.147 120.838C185.019 122.216 184.587 123.549 183.881 124.74C183.176 125.931 182.215 126.951 181.067 127.726C180.833 127.889 180.457 128.178 180.789 128.45C180.966 128.559 181.173 128.611 181.381 128.598C181.588 128.585 181.787 128.509 181.95 128.379C183.977 127.244 185.507 125.393 186.236 123.188C186.661 121.932 187.135 120.621 186.639 119.179C186.351 118.33 186.612 117.933 187.848 118.02C190.779 118.232 193.497 119.527 196.454 119.511C197.718 119.511 198.192 120.474 198.159 121.48C198.096 123.813 197.195 126.045 195.621 127.77C193.911 129.766 191.955 129.674 189.837 129.848C183.104 130.392 176.361 130.392 169.618 130.522C166.611 130.523 163.617 130.132 160.712 129.358C164.699 125.169 166.056 120.332 165.947 114.946C165.93 114.059 165.032 111.731 165.522 111.426L165.533 111.41ZM158.615 106.513C159.906 107.432 161.186 108.363 162.537 109.184C162.763 109.304 162.944 109.495 163.049 109.728C164.138 113.336 164.841 116.964 164.051 120.767C163.626 122.813 162.417 124.478 161.666 126.36C159.166 131.203 156.442 127.525 156.54 126.758C156.904 124.209 157.131 121.643 157.221 119.07C157.27 117.024 157.188 114.995 157.036 112.949C156.796 110.146 156.361 107.363 155.734 104.62C157.232 104.777 157.749 105.925 158.604 106.524L158.615 106.513ZM60.028 107.928C58.7534 104.636 58.541 101.056 58.0671 97.5522C57.6992 95.2985 57.6369 93.0055 57.8819 90.7351C58.6554 85.1313 58.6281 79.4295 60.7415 73.9834C62.0651 70.5721 63.3832 67.1554 64.8539 63.804C65.8421 61.778 67.0949 59.8918 68.5795 58.1947C69.244 57.3677 70.2517 57.8139 71.0905 57.8193C72.4086 57.8193 73.4326 57.5255 74.266 56.3775C74.5601 55.9749 74.8106 55.6539 74.7289 55.2187C74.3368 53.4069 75.5133 53.0043 76.875 52.7921C78.2367 52.58 79.7509 52.4004 81.1943 52.21C81.2433 52.21 81.3196 52.1556 81.3414 52.1774C83.2369 54.2176 84.811 51.7149 86.5867 51.6333C89.7077 51.481 92.8723 51.1763 96.0151 50.9423C102.148 50.4853 108.319 50.654 114.398 49.4026C116.198 49.0474 118.051 49.0622 119.845 49.4462C120.804 49.6529 121.577 50.9206 122.318 51.8074C122.536 52.0631 121.969 52.3515 121.735 52.6398C119.556 55.1044 116.62 56.5516 113.761 58.0315C110.122 59.9139 106.522 61.8399 103.02 63.9781C101.26 65.0662 99.2995 65.8333 97.4476 66.7963C96.9411 67.0575 96.1948 67.0684 96.4236 67.8355C96.5255 68.1669 96.7545 68.4445 97.0608 68.6076C97.367 68.7708 97.7254 68.8061 98.0577 68.706C100.863 67.8953 103.777 67.6886 106.615 67.0303C108.51 66.5896 110.476 66.0564 112.508 66.187C112.835 66.187 113.107 66.1326 113.243 66.4427C113.38 66.7528 113.113 66.9051 112.922 67.0847C109.164 70.5341 105.209 73.7658 101.669 77.4219C99.974 79.161 98.3739 80.9898 96.8757 82.9006C96.4147 83.4268 95.8608 83.8638 95.2416 84.19C94.5826 84.6199 94.1033 85.2782 94.7296 86.0018C95.356 86.7254 95.7863 86.0018 96.2602 85.6264C98.0686 84.1628 99.3159 82.2042 100.814 80.4687C101.682 79.3418 102.93 78.5684 104.327 78.2924C106.114 78.053 107.709 77.0846 109.561 77.1607C111.969 77.2532 114.393 77.0682 116.784 77.275C119.589 77.5144 122.367 78.0421 125.156 78.4556C129.35 79.0867 133.44 79.7994 137.068 82.4218C139.176 83.9507 141.736 84.8864 143.953 86.3608C146.725 88.1998 148.076 91.1649 149.944 93.7275C152.373 97.1061 153.212 101.154 154.149 105.077C154.851 107.76 155.266 110.51 155.385 113.281C155.445 115.343 155.62 117.416 155.62 119.489C155.62 123.297 154.786 127.013 153.953 130.718C153.438 133.116 152.591 135.431 151.436 137.595C151.196 138.062 151.136 138.6 151.268 139.108C151.649 140.887 150.723 142.372 150.14 143.868C149.993 144.244 149.595 144.831 148.909 144.342C148.78 144.246 148.619 144.205 148.46 144.227C148.301 144.249 148.157 144.334 148.059 144.461C147.33 145.403 146.66 145.343 145.924 144.461C145.576 144.032 145.292 144.434 145.02 144.657C144.748 144.88 144.514 145 144.345 144.521C143.724 142.797 143.048 143.727 142.482 144.521C142.199 145.014 141.752 145.391 141.218 145.588C139.47 140.609 137.95 135.626 135.129 131.208C134.099 129.587 132.842 128.122 131.398 126.855C129.018 124.814 127.21 122.189 126.152 119.239C125.297 116.85 124.099 114.527 124.208 111.872C124.208 111.464 124.039 111.083 123.663 111.078C123.426 111.086 123.201 111.18 123.027 111.34C122.853 111.501 122.743 111.719 122.715 111.954C122.575 112.672 122.575 113.411 122.715 114.13C123.99 119.026 125.733 123.667 129.252 127.432C130.167 128.411 131.289 129.195 132.231 130.152C132.95 130.882 133.211 131.458 131.724 131.785C129.68 132.165 127.587 132.219 125.526 131.942C122.385 131.602 119.217 131.602 116.076 131.942C114.534 132.095 112.966 131.66 111.348 131.991C108.45 132.584 105.498 132.253 102.568 132.16C101.56 132.127 100.694 132.884 99.6046 132.704C98.9499 132.616 98.3033 132.476 97.6709 132.285C97.5008 132.253 97.3386 132.188 97.1938 132.093C97.049 131.998 96.9245 131.876 96.8273 131.733C96.7301 131.59 96.6622 131.429 96.6275 131.259C96.5928 131.09 96.592 130.915 96.6251 130.746C96.6905 128.961 96.8703 127.122 95.5358 125.599C94.7841 125.898 94.6588 126.529 94.7569 127.231C95.0317 129.845 95.0518 132.48 94.8168 135.098C94.6371 138.237 94.4028 141.366 94.0542 144.45C93.5096 144.663 93.5096 144.217 93.3679 143.983C92.8233 142.976 92.2078 143.139 91.5705 143.847C91.2982 144.151 91.162 144.597 90.8515 144.831C90.3559 145.207 89.7622 146.023 89.3645 144.614C89.0541 143.553 88.3623 143.324 87.4963 144.331C86.8209 145.125 86.0529 146.083 85.1868 144.331C84.8164 143.585 84.1628 143.819 83.7652 144.548C83.5256 144.995 83.2641 145.604 82.6758 145.392C82.2183 145.234 82.0277 144.723 81.8697 144.168C80.8838 140.664 80.508 136.915 78.1386 133.923C76.5591 131.926 74.9087 129.989 73.2801 128.036C73.1329 127.884 72.943 127.779 72.7354 127.737C70.4042 127.149 69.4673 125.114 68.0675 123.477C64.1676 118.918 62.1359 113.401 60.028 107.938V107.928ZM70.8236 141.23C70.3061 139.538 69.9194 139.51 68.476 140.647C68.1437 140.909 67.806 141.317 67.3866 141.045C66.9672 140.773 67.4901 140.261 67.4193 139.957C66.7929 137.051 68.3507 134.222 67.5664 131.252C67.1415 129.652 67.708 127.884 67.3539 126.165C68.22 127.737 73.3781 131.094 73.7757 131.567C75.4806 133.613 77.3543 135.522 78.3946 138.058C79.0428 139.646 78.7324 142.187 77.5449 143.411C77.3761 143.585 77.2236 143.868 76.924 143.732C76.808 143.672 76.7134 143.578 76.653 143.462C76.5926 143.346 76.5693 143.214 76.5863 143.085C76.6062 142.771 76.6062 142.457 76.5863 142.144C76.4719 140.925 75.7203 140.56 74.7344 141.246C74.3106 141.616 73.8528 141.946 73.3672 142.231C72.2288 142.764 71.3083 142.824 70.8236 141.235V141.23Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_6",d:"M120.767 43.6115C121.198 43.0067 121.732 42.7015 122.032 42.0079C122.97 39.8494 123.854 37.6243 125.675 36.0151C126.09 35.6489 126.27 35.2494 125.866 34.7944C125.463 34.3394 125.07 34.4559 124.656 34.8443C122.501 36.8807 121.416 39.6163 120.004 42.1355C119.529 42.929 120.336 43.0511 120.767 43.6115Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_7",d:"M123.935 42.8569C124.49 43.4972 125.074 42.8569 125.44 42.5569C126.661 41.5361 127.974 40.6415 129.362 39.8861C129.629 39.7419 130.001 39.6957 129.918 39.0035C129.507 38.0921 128.679 38.2305 127.929 38.7266C126.752 39.5245 125.613 40.3832 124.518 41.2994C124.046 41.6628 123.313 42.1128 123.935 42.8569Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_8",d:"M188.828 132.814C187.904 132.978 186.57 133.022 186.518 134.502C186.478 135.698 187.413 135.767 188.216 135.641C189.25 135.71 190.336 135.717 190.353 134.325C190.35 134.114 190.307 133.906 190.227 133.714C190.148 133.522 190.033 133.349 189.89 133.208C189.747 133.066 189.579 132.958 189.396 132.89C189.214 132.822 189.021 132.796 188.828 132.814Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_9",d:"M128.602 42.4672C128.857 42.8083 129.133 42.5996 129.383 42.4672C130.326 41.9792 131.302 41.5506 132.304 41.1842C132.707 41.062 133.488 40.9144 133.238 40.2932C133.1 39.947 132.452 39.7281 131.889 39.7841C130.684 40.1071 129.607 40.7664 128.793 41.6781C128.581 41.9377 128.347 42.1363 128.602 42.4672Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_10",d:"M197.552 112.186C197.924 111.676 198.371 111.244 198.874 110.908C199.167 110.763 199.571 110.526 199.438 109.93C199.305 109.334 198.869 109.288 198.413 109.317C197.93 109.316 197.458 109.482 197.061 109.792C196.663 110.102 196.359 110.542 196.189 111.052C196.097 111.308 196.082 111.591 196.148 111.857C196.214 112.123 196.356 112.357 196.553 112.521C196.896 112.892 197.255 112.475 197.552 112.186Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_11",d:"M205.578 115.527C206.576 115.527 207.138 115.106 207.138 114.062C207.138 113.362 206.795 113.119 206.181 113.149C205.271 113.184 204.351 113.434 204.263 114.531C204.211 115.231 204.98 115.634 205.578 115.527Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_12",d:"M209.525 132.095C209.332 131.192 208.225 131.18 207.398 130.891C207.242 131.686 206.079 130.565 206.185 131.415C206.291 132.264 206.732 133.324 208.051 133.287C208.872 133.269 209.631 132.481 209.525 132.095Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_13",d:"M187.551 112.189C187.897 112.191 188.231 112.032 188.484 111.745C188.738 111.457 188.891 111.062 188.915 110.641C188.759 110.371 188.754 109.56 188.301 109.855C187.707 110.242 186.68 109.701 186.519 110.837C186.51 111.01 186.529 111.183 186.576 111.347C186.624 111.51 186.698 111.659 186.795 111.786C186.892 111.913 187.009 112.014 187.139 112.083C187.269 112.152 187.409 112.188 187.551 112.189Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_14",d:"M180.823 109.29C180.956 109.396 181.384 109.088 181.193 108.678C180.843 107.932 181.121 106.832 180.354 106.434C179.416 106.512 179.324 106.995 179.324 107.674C179.308 108.785 180.251 108.852 180.823 109.29Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_15",d:"M218.101 131.269C217.719 130.337 216.843 130.368 215.77 130.445C216.292 131.274 216.079 132.406 217.371 132.324C217.505 132.319 217.636 132.284 217.753 132.223C217.869 132.161 217.968 132.075 218.039 131.971C218.111 131.868 218.154 131.75 218.165 131.627C218.176 131.505 218.154 131.382 218.101 131.269Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_16",d:"M214.422 114.585C215.238 114.585 215.854 114.541 215.76 113.915C215.688 113.425 215.255 113.142 214.533 113.147C213.812 113.151 213.34 113.479 213.373 113.944C213.418 114.487 214.117 114.575 214.422 114.585Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_17",d:"M180.538 136.644C181.119 136.618 181.124 135.983 181.241 135.595C181.241 135.107 181.211 134.64 180.686 134.74C180.283 134.814 179.773 134.987 179.804 135.564C179.835 136.057 179.952 136.67 180.538 136.644Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_18",d:"M89.2178 57.4403C90.2424 57.1092 91.3259 56.9828 92.4026 57.0686C92.6163 57.1226 92.8433 57.0952 93.0366 56.9919C93.2299 56.8887 93.3748 56.7176 93.4412 56.514C93.5732 56.0536 93.3896 55.7374 92.9879 55.3325C91.8861 54.2232 90.5491 54.2232 89.0169 54.2232C88.4431 54.4451 87.393 53.7296 86.9741 54.6337C86.8083 54.9413 86.7411 55.2898 86.781 55.6345C86.8208 55.9792 86.966 56.3047 87.1979 56.5694C87.7373 57.1019 88.1849 57.7453 89.2178 57.4403Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_19",d:"M146.279 95.8228C146.422 96.0894 146.714 96.4687 147.145 96.3354C147.335 96.2633 147.491 96.1296 147.583 95.959C147.675 95.7884 147.698 95.5925 147.646 95.4075C147.646 93.9619 145.44 91.4191 143.956 91.1269C143.781 91.072 143.591 91.0751 143.418 91.1359C143.245 91.1966 143.1 91.3112 143.008 91.4601C142.954 91.5303 142.916 91.6097 142.895 91.6937C142.875 91.7777 142.872 91.8647 142.888 91.9496C142.904 92.0345 142.938 92.1156 142.988 92.1882C143.038 92.2608 143.103 92.3235 143.179 92.3726C144.47 93.2988 145.528 94.4764 146.279 95.8228Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_20",d:"M135.003 84.9282C136.646 85.5813 138.004 86.633 139.466 87.5463C140.101 87.9448 140.468 87.6791 140.48 86.9042C140.479 86.768 140.461 86.6325 140.427 86.5001C140.159 85.7197 136.524 83.4004 135.615 83.4226C135.306 83.4226 134.881 83.3285 134.823 83.7658C134.764 84.203 134.56 84.7566 135.003 84.9282Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_21",d:"M110.609 82.223C110.957 81.9839 111.489 82.0943 112.253 82.0146C112.727 81.7325 113.37 82.5357 114.134 82.4499C114.582 82.4009 114.92 82.2598 115.03 81.7203C115.08 81.5499 115.073 81.3639 115.011 81.1992C114.948 81.0345 114.835 80.9031 114.693 80.8312C113.232 80.3156 111.714 80.0552 110.187 80.0586C110.034 80.0689 109.886 80.1231 109.755 80.2163C109.624 80.3095 109.515 80.4389 109.437 80.593C109.359 80.747 109.315 80.921 109.309 81.0994C109.303 81.2779 109.335 81.4554 109.402 81.616C109.613 82.2353 109.866 82.7381 110.609 82.223Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_22",d:"M125.574 82.3556C126.861 82.3556 127.533 83.5271 128.675 83.8098C129.192 83.936 129.569 83.9815 129.792 83.5119C129.913 83.3254 129.957 83.1004 129.913 82.8834C129.87 82.6664 129.743 82.4739 129.559 82.3455C128.593 81.7295 127.631 81.0832 126.314 81.0176C126.024 81.2751 125.363 80.6641 125.161 81.3862C125.037 81.7699 125.373 82.3556 125.574 82.3556Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_23",d:"M129.694 89.8851C130.432 90.8445 131.326 91.6572 132.059 92.6428C132.357 93.0465 133.024 93.2562 133.256 92.4907C133.574 91.4422 131.26 88.6531 130.487 88.6898C129.184 88.716 129.35 89.4395 129.694 89.8851Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_24",d:"M116.429 86.8317C118.047 87.2956 119.606 87.9182 121.078 88.6889C121.215 88.456 121.291 88.1965 121.297 87.9316C121.304 87.6668 121.243 87.4043 121.117 87.1656C120.822 86.6439 117.368 85.2666 116.668 85.3344C116.304 85.371 116.002 85.4388 116.054 85.8561C116.105 86.2735 115.797 86.6282 116.429 86.8317Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_25",d:"M146.327 101.07C146.26 100.917 146.148 100.798 146.012 100.733C145.875 100.668 145.724 100.662 145.584 100.716C145.16 100.828 145.367 101.253 145.276 101.624C145.372 103.215 146.792 103.91 147.272 105.271C147.328 105.474 147.439 105.651 147.589 105.774C147.738 105.897 147.918 105.961 148.101 105.954C148.551 105.884 148.455 105.247 148.581 104.847C148.748 104.305 148.48 103.939 148.207 103.568C147.591 102.726 146.747 102.125 146.327 101.07Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_26",d:"M122.366 84.854C122.632 84.795 123.029 84.742 123.138 84.3587C123.219 84.1492 123.238 83.9169 123.19 83.6954C123.142 83.4739 123.03 83.2746 122.871 83.1263C122.202 82.5367 121.512 81.947 120.897 81.2925C120.517 80.8915 120.256 80.9918 119.81 81.1982C119.266 81.4694 119.353 81.9647 119.456 82.3185C119.919 83.7808 121.055 84.3941 122.366 84.854Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_27",d:"M136.994 91.0879C136.373 91.1613 135.894 91.6528 136.334 92.2516C137.072 93.313 137.914 94.2935 138.847 95.1779C139.106 95.4321 139.892 95.6637 139.996 94.7372C140.101 93.8108 137.923 91.1444 136.994 91.0879Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_28",d:"M108.478 90.2225C109.163 90.2527 109.842 90.3755 110.501 90.5881C111.343 90.6241 111.845 90.6781 112.087 90.1146C112.132 90.045 112.162 89.9657 112.176 89.8821C112.191 89.7985 112.189 89.7124 112.171 89.6296C112.153 89.5468 112.12 89.4691 112.073 89.4018C112.026 89.3346 111.966 89.2792 111.899 89.2394C111.065 88.5094 110.018 88.1466 108.958 88.2203C108.678 88.2413 108.414 88.3744 108.216 88.5949C108.017 88.8153 107.897 89.1082 107.879 89.4192C107.864 89.5168 107.868 89.6168 107.891 89.7123C107.914 89.8079 107.956 89.8968 108.013 89.973C108.069 90.0492 108.14 90.111 108.221 90.154C108.301 90.1971 108.388 90.2204 108.478 90.2225Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_29",d:"M105.199 83.1664C105.837 82.8052 106.327 82.5885 105.56 82.0468C104.491 81.2935 103.239 81.4431 102.017 81.7321C100.795 82.021 101.202 82.831 101.297 83.8939C102.519 82.5215 103.971 83.8681 105.199 83.1664Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_30",d:"M97.6026 88.1713C98.3254 87.7514 99.1649 87.7467 99.9543 87.5579C100.157 87.5022 100.336 87.395 100.465 87.2507C100.594 87.1065 100.668 86.9321 100.677 86.7511C100.677 86.5576 100.638 86.3689 100.388 86.3453C99.276 86.2462 98.1641 86.2273 97.2468 86.7841C97.0496 86.9033 96.9123 87.0808 96.8619 87.2818C96.8114 87.4827 96.8516 87.6923 96.9744 87.8694C97.1189 88.0628 97.3747 88.3035 97.6026 88.1713Z",fill:"#5296E0"}),s.createElement("path",{id:"Vector_31",d:"M152.238 106.427C152.68 106.489 152.922 106.107 152.947 105.54C152.598 104.788 152.433 103.749 151.405 103.58C151.284 103.546 151.156 103.549 151.037 103.588C150.917 103.627 150.81 103.702 150.726 103.803C150.642 103.904 150.585 104.029 150.562 104.163C150.538 104.297 150.549 104.435 150.592 104.563C150.793 105.518 151.271 106.304 152.238 106.427Z",fill:"#5296E0"})),s.createElement("path",{id:"stars_2",d:"M156.946 47.2256C156.849 47.0979 156.763 46.6698 156.592 45.8135C156.476 45.2356 156.419 44.9466 156.315 44.696C156.033 44.0113 155.489 43.4675 154.804 43.1848C154.553 43.0814 154.264 43.0236 153.686 42.908C152.83 42.7367 152.402 42.6511 152.274 42.5538C151.909 42.2752 151.909 41.7248 152.274 41.4462C152.402 41.3489 152.83 41.2633 153.686 41.092C154.264 40.9764 154.553 40.9186 154.804 40.8152C155.489 40.5325 156.033 39.9887 156.315 39.304C156.419 39.0534 156.476 38.7644 156.592 38.1865C156.763 37.3303 156.849 36.9021 156.946 36.7744C157.225 36.4085 157.775 36.4085 158.054 36.7744C158.151 36.9021 158.237 37.3302 158.408 38.1865C158.524 38.7644 158.581 39.0534 158.685 39.304C158.967 39.9887 159.511 40.5325 160.196 40.8152C160.447 40.9186 160.736 40.9764 161.314 41.092C162.17 41.2633 162.598 41.3489 162.726 41.4462C163.091 41.7248 163.091 42.2752 162.726 42.5538C162.598 42.6511 162.17 42.7367 161.314 42.908C160.736 43.0236 160.447 43.0814 160.196 43.1848C159.511 43.4675 158.967 44.0113 158.685 44.696C158.581 44.9466 158.524 45.2356 158.408 45.8135C158.237 46.6697 158.151 47.0979 158.054 47.2256C157.775 47.5915 157.225 47.5915 156.946 47.2256Z",fill:"#5296E0"}),s.createElement("path",{id:"stars_3",d:"M142.047 64.2755C141.967 64.171 141.897 63.8207 141.757 63.1201C141.663 62.6473 141.615 62.4109 141.531 62.2058C141.299 61.6456 140.854 61.2007 140.294 60.9694C140.089 60.8847 139.853 60.8375 139.38 60.7429C138.679 60.6028 138.329 60.5327 138.224 60.4531C137.925 60.2252 137.925 59.7748 138.224 59.5469C138.329 59.4673 138.679 59.3972 139.38 59.2571C139.853 59.1625 140.089 59.1153 140.294 59.0306C140.854 58.7993 141.299 58.3544 141.531 57.7942C141.615 57.5891 141.663 57.3527 141.757 56.8799C141.897 56.1793 141.967 55.829 142.047 55.7245C142.275 55.4252 142.725 55.4252 142.953 55.7245C143.033 55.829 143.103 56.1793 143.243 56.8798C143.337 57.3527 143.385 57.5891 143.469 57.7942C143.701 58.3544 144.146 58.7993 144.706 59.0306C144.911 59.1153 145.147 59.1625 145.62 59.2571C146.321 59.3972 146.671 59.4673 146.776 59.5469C147.075 59.7748 147.075 60.2252 146.776 60.4531C146.671 60.5327 146.321 60.6028 145.62 60.7429C145.147 60.8375 144.911 60.8847 144.706 60.9694C144.146 61.2007 143.701 61.6456 143.469 62.2058C143.385 62.4109 143.337 62.6473 143.243 63.1201C143.103 63.8207 143.033 64.171 142.953 64.2755C142.725 64.5748 142.275 64.5748 142.047 64.2755Z",fill:"#5296E0"}),s.createElement("path",{id:"stars_4",d:"M150.148 81.3254C150.086 81.2441 150.031 80.9717 149.922 80.4268C149.849 80.059 149.812 79.8751 149.746 79.7156C149.566 79.2799 149.22 78.9339 148.784 78.754C148.625 78.6881 148.441 78.6514 148.073 78.5778C147.528 78.4688 147.256 78.4143 147.175 78.3524C146.942 78.1751 146.942 77.8249 147.175 77.6476C147.256 77.5857 147.528 77.5312 148.073 77.4222C148.441 77.3486 148.625 77.3119 148.784 77.246C149.22 77.0661 149.566 76.7201 149.746 76.2844C149.812 76.1249 149.849 75.941 149.922 75.5732C150.031 75.0284 150.086 74.7559 150.148 74.6746C150.325 74.4418 150.675 74.4418 150.852 74.6746C150.914 74.7559 150.969 75.0283 151.078 75.5732C151.151 75.941 151.188 76.1249 151.254 76.2844C151.434 76.7201 151.78 77.0661 152.216 77.246C152.375 77.3119 152.559 77.3486 152.927 77.4222C153.472 77.5312 153.744 77.5857 153.825 77.6476C154.058 77.8249 154.058 78.1751 153.825 78.3524C153.744 78.4143 153.472 78.4688 152.927 78.5778C152.559 78.6514 152.375 78.6881 152.216 78.754C151.78 78.9339 151.434 79.2799 151.254 79.7156C151.188 79.8751 151.151 80.059 151.078 80.4268C150.969 80.9717 150.914 81.2441 150.852 81.3254C150.675 81.5582 150.325 81.5582 150.148 81.3254Z",fill:"#5296E0"}),s.createElement("path",{id:"stars_5",d:"M160.295 27.1508C160.171 26.9882 160.062 26.4433 159.844 25.3536C159.697 24.618 159.624 24.2502 159.492 23.9312C159.132 23.0599 158.44 22.3677 157.569 22.008C157.25 21.8763 156.882 21.8027 156.146 21.6556C155.057 21.4377 154.512 21.3287 154.349 21.2048C153.884 20.8503 153.884 20.1497 154.349 19.7952C154.512 19.6713 155.057 19.5624 156.146 19.3444C156.882 19.1973 157.25 19.1237 157.569 18.992C158.44 18.6323 159.132 17.9401 159.492 17.0687C159.624 16.7498 159.697 16.382 159.844 15.6465C160.062 14.5567 160.171 14.0118 160.295 13.8492C160.65 13.3836 161.35 13.3836 161.705 13.8492C161.829 14.0118 161.938 14.5567 162.156 15.6464C162.303 16.382 162.376 16.7498 162.508 17.0687C162.868 17.9401 163.56 18.6323 164.431 18.992C164.75 19.1237 165.118 19.1973 165.854 19.3444C166.943 19.5623 167.488 19.6713 167.651 19.7952C168.116 20.1497 168.116 20.8503 167.651 21.2048C167.488 21.3287 166.943 21.4377 165.854 21.6556C165.118 21.8027 164.75 21.8763 164.431 22.008C163.56 22.3677 162.868 23.0599 162.508 23.9312C162.376 24.2502 162.303 24.618 162.156 25.3536C161.938 26.4433 161.829 26.9882 161.705 27.1508C161.35 27.6164 160.65 27.6164 160.295 27.1508Z",fill:"#5296E0"}))),du||(du=s.createElement("defs",null,s.createElement("clipPath",{id:"clip0_1366_658536"},s.createElement("rect",{width:236,height:194,fill:"white",transform:"translate(0 0.5)"})))))},gu=(0,s.forwardRef)(mu);n.p;const vu=()=>(0,fl.jsx)(bl,{name:"empty-models-list",children:(0,fl.jsxs)(Cl,{name:"content",children:[(0,fl.jsx)(Cl,{name:"heidy",children:(0,fl.jsx)(gu,{})}),(0,fl.jsx)(Cl,{name:"title",children:"Create a Model"}),(0,fl.jsx)(Cl,{name:"caption",children:"Build a high quality model to auto-label your data using LLMs"}),(0,fl.jsx)(El,{look:"primary",children:"Create a Model"})]})}),yu=()=>(0,fl.jsx)(bl,{name:"prompter",children:(0,fl.jsx)(vu,{})});yu.title=()=>"Models",yu.titleRaw="Models",yu.path="/models",yu.context=()=>(0,fl.jsx)(Ol,{size:"small",children:(0,fl.jsx)(El,{to:"/prompt/settings",size:"compact",look:"primary",children:"Create Model"})});const bu=["className"],Cu=(0,s.createContext)(),wu=({className:e})=>(0,fl.jsx)(Yc,{id:"context-menu-left",className:e,children:e=>(0,fl.jsx)(Sc,{fromTemplate:e})}),xu=e=>{let{className:t}=e,n=(0,Ui.A)(e,bu);const{ContextComponent:r,contextProps:i}=rg();return r?(0,fl.jsx)("div",{className:t,children:(0,fl.jsx)(r,Object.assign({},n,null!=i?i:{}))}):(0,fl.jsx)(Yc,{id:"context-menu-right",className:t})},ku=({enabled:e,defaultOpened:t,defaultPinned:n,children:r,onSidebarToggle:i,onSidebarPin:o})=>{const a=(0,s.useRef)(),l=(0,s.useRef)(),c=ig(),u=Ll(),[d,f]=(0,s.useState)(null!=t&&t),[h,p]=(0,s.useState)(null!=n&&n),[m,g]=(0,s.useState)({Component:null,props:{}}),v=vl("menu-header"),y=v.elem("context"),b=vl("sidebar"),C=vl("content-wrapper"),w=v.elem("context-item"),x=!(0,dl.O9)(u.user.allow_newsletters),k=(0,s.useCallback)((e=>{e.preventDefault();const t=!h;p(t),null==o||o(t)}),[h]),S=(0,s.useCallback)((e=>{const t=e;f(t),null==i||i(t)}),[d]),_=(0,s.useMemo)((()=>({PageContext:m,setContext(e){setTimeout((()=>{g(Object.assign({},m,{Component:e}))}))},setProps(e){setTimeout((()=>{g(Object.assign({},m,{props:e}))}))},contextIsSet:e=>m.Component===e})),[m]);return(0,s.useEffect)((()=>{var e,t;h||(null==a||null==(t=a.current)||t.close());null==l||null==(e=l.current)||e.close()}),[c]),(0,fl.jsxs)("div",{className:C,children:[e&&(0,fl.jsxs)("div",{className:v,children:[(0,fl.jsx)(gc.Trigger,{dropdown:a,closeOnClickOutside:!h,children:(0,fl.jsxs)("div",{className:`${v.elem("trigger")} main-menu-trigger`,children:[(0,fl.jsx)("img",{src:(0,dl.xS)("/static/icons/logo.svg"),alt:"Label Studio Logo",height:"22"}),(0,fl.jsx)(Ec,{opened:d})]})}),(0,fl.jsxs)("div",{className:y,children:[(0,fl.jsx)(wu,{className:w.mod({left:!0})}),(0,fl.jsx)(xu,{className:w.mod({right:!0})})]}),(0,fl.jsx)(gc.Trigger,{ref:l,align:"right",content:(0,fl.jsxs)(wc,{children:[(0,fl.jsx)(wc.Item,{icon:(0,fl.jsx)(Ha,{}),label:"Account & Settings",href:"/user/account","data-external":!0}),(0,fl.jsx)(wc.Item,{icon:(0,fl.jsx)(Ao,{}),label:"Log Out",href:(0,dl.xS)("/logout"),"data-external":!0}),x&&(0,fl.jsxs)(fl.Fragment,{children:[(0,fl.jsx)(wc.Divider,{}),(0,fl.jsxs)(wc.Item,{className:vl("newsletter-menu-item"),href:"/user/account","data-external":!0,children:[(0,fl.jsx)("span",{children:"Please check new notification settings in the Account & Settings page"}),(0,fl.jsx)("span",{className:vl("newsletter-menu-badge")})]})]})]}),children:(0,fl.jsxs)("div",{title:u.user.email,className:v.elem("user"),children:[(0,fl.jsx)(Qc,{user:u.user}),x&&(0,fl.jsx)("div",{className:v.elem("userpic-badge")})]})})]}),(0,fl.jsx)(nu,{children:(0,fl.jsxs)("div",{className:C.elem("body"),children:[e&&(0,fl.jsx)(gc,{ref:a,onToggle:S,onVisibilityChanged:()=>window.dispatchEvent(new Event("resize")),visible:d,className:[b,b.mod({floating:!h})].join(" "),style:{width:240},children:(0,fl.jsxs)(wc,{children:[(0,fl.jsx)(wc.Item,{label:"Projects",to:"/projects",icon:(0,fl.jsx)(Yo,{}),"data-external":!0,exact:!0}),(0,fl.jsx)(wc.Item,{label:"Organization",to:"/organization",icon:(0,fl.jsx)(xa,{}),"data-external":!0,exact:!0}),(0,lc.VS)(lc.JZ)&&(0,fl.jsx)(wc.Item,{label:"Models",to:yu.path,icon:(0,fl.jsx)(zs,{}),exact:!0}),(0,fl.jsx)(wc.Spacer,{}),(0,fl.jsx)(ru,{showNewVersion:!0}),(0,fl.jsx)(wc.Item,{label:"API",href:"https://api.labelstud.io/api-reference/introduction/getting-started",icon:(0,fl.jsx)(os,{}),target:"_blank"}),(0,fl.jsx)(wc.Item,{label:"Docs",href:"https://labelstud.io/guide",icon:(0,fl.jsx)(ro,{}),target:"_blank"}),(0,fl.jsx)(wc.Item,{label:"GitHub",href:"https://github.com/HumanSignal/label-studio",icon:(0,fl.jsx)(na,{}),target:"_blank",rel:"noreferrer"}),(0,fl.jsx)(wc.Item,{label:"Slack Community",href:"https://slack.labelstud.io/?source=product-menu",icon:(0,fl.jsx)(Qa,{}),target:"_blank",rel:"noreferrer"}),(0,fl.jsx)(ru,{showCurrentVersion:!0}),(0,fl.jsx)(wc.Divider,{}),(0,fl.jsx)(wc.Item,{icon:(0,fl.jsx)(Ta,{}),className:b.elem("pin"),onClick:k,active:h,children:h?"Unpin menu":"Pin menu"})]})}),(0,fl.jsx)(Cu.Provider,{value:_,children:(0,fl.jsx)("div",{className:C.elem("content").mod({withSidebar:h&&d}),children:r})})]})})]})},Su=({children:e,menu:t,path:n,menuItems:r})=>{const i=vl("sidebar-menu");return(0,fl.jsxs)("div",{className:i,children:[r&&r.length>1?(0,fl.jsx)("div",{className:i.elem("navigation"),children:(0,fl.jsx)(wc,{children:r?wc.Builder(n,r):t})}):null,(0,fl.jsx)("div",{className:i.elem("content"),children:e})]})},_u=({className:e,style:t,size:n=32,stopped:r=!1})=>{const i=vl("spinner-ls"),o="number"==typeof n?`${n}px`:n;return(0,fl.jsx)("div",{className:i.mix(e),style:Object.assign({},null!=t?t:{},{"--spinner-size":o}),children:(0,fl.jsxs)("div",{className:i.elem("body").mod({stopped:r}),children:[(0,fl.jsx)("span",{}),(0,fl.jsx)("span",{}),(0,fl.jsx)("span",{}),(0,fl.jsx)("span",{})]})})},ju=({className:e,style:t,big:n,items:r,active:i,onSelect:o})=>{const a=vl("toggle-items");return(0,fl.jsx)("ul",{className:a.mod({big:n}).mix(e).toString(),style:t,children:Object.keys(r).map((e=>(0,fl.jsx)("li",{className:a.elem("item").mod({active:e===i}).toString(),onClick:()=>o(e),children:r[e]},e)))})},Eu=(e,t)=>{const n=(0,s.useMemo)((()=>{var n;return null!=(n=null!=e?e:t)?n:""}),[e,t]),[r,i]=(0,s.useState)(n);return(0,s.useEffect)((()=>{i(n)}),[n]),[r,i]};var Tu=n(51987);const Ou=({value:e,children:t,className:n})=>{const r=(0,s.useMemo)((()=>Array.isArray(t)?t.find((t=>t.props.case===e))||null:t.props.case===e?t:void 0),[t,e]);return r?s.cloneElement(r,Object.assign({},r.props,{className:[n,r.props.className].join(" ")})):null},Au=(e,t)=>{if(!(0,dl.O9)(t)||(0,dl.jw)(t))return`${e} is required`},Nu=e=>(t,n)=>{if(e="string"==typeof e?new RegExp(e):e,!(0,dl.jw)(n)&&null===n.match(e))return`${t} must match the pattern ${e}`},Mu=(e,t)=>{const n=`${e} must be valid JSON string`;if((0,dl.O9)(t)&&0!==t.trim().length){if(!1===/^(\{|\[)/.test(t)||!1===/(\}|\])$/.test(t))return n;try{JSON.parse(t)}catch(e){return n}}},Lu=(e,t)=>{try{new RegExp(t)}catch(t){return`${e} must be a valid regular expression`}},Pu=["label","name","children","required","validate","skip","allowEmpty","protectedValue","skipAutofill","setValue","dependency","validators"],Du=(0,s.forwardRef)(((e,t)=>{let{label:n,name:i,children:o,required:a,validate:l,skip:c,allowEmpty:u,protectedValue:d,skipAutofill:f,setValue:h,dependency:p,validators:m}=e,g=(0,Ui.A)(e,Pu);const v=(0,s.useContext)(wl),[y,b]=(0,s.useState)(null),C=null!=t?t:(0,s.useRef)(),w=[...null!=l?l:[]];null==m||null==m.forEach||m.forEach((e=>{const[t,n]=e.split(/:(.+)/).slice(0,2),i=r[t];(0,dl.O9)(i)&&((0,dl.O9)(n)?w.push(i(n)):w.push(i))})),a&&w.push(Au),(0,s.useEffect)((()=>{if(!v||!p)return;let e=null;const t=v.getFieldContext(p),n=()=>{null==g.onDependencyChanged||g.onDependencyChanged(t.field)};return t?(t.field.addEventListener("change",n),e=t.field):console.warn(`Dependency field not found ${p}`),b(e),()=>t.field.removeEventListener("change",n)}),[v,C,p]);const x=(0,s.useCallback)((e=>{if(!C||!C.current)return;const t=C.current;h instanceof Function?h(e):"checkbox"===t.type||"radio"===t.type?t.checked=null!=e?e:t.checked:t.value=null===e?"":e;const n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),t.dispatchEvent(n)}),[C]);return(0,s.useEffect)((()=>{const e=f&&(!u||d)&&"password"===C.current.type;return null==v||v.registerField({label:n,name:i,validation:w,skip:c,allowEmpty:u,skipAutofill:f,isProtected:e,protectedValue:d,field:C.current,setValue:x}),()=>null==v?void 0:v.unregisterField(i)}),[C,x]),o(C,y,v)})),Iu=({text:e,children:t,required:n,placement:r,description:i,size:o,large:a,style:l,simple:c,flat:u})=>{const d=vl("label-ls"),f=[d],h=c?"div":"label",p={size:o,large:a,flat:u,placement:r,withDescription:!!i,empty:!t};return f.push(d.mod(p)),(0,s.createElement)(h,{className:f.join(" "),"data-required":n,style:l},(0,fl.jsxs)(fl.Fragment,{children:[(0,fl.jsx)("div",{className:d.elem("text"),children:(0,fl.jsxs)("div",{className:d.elem("content"),children:[(0,fl.jsx)("div",{className:d.elem("label"),children:e}),i&&(0,fl.jsx)("div",{className:d.elem("description"),children:i})]})}),(0,fl.jsx)("div",{className:d.elem("field"),children:t})]}))},Ru=["label","className","validate","required","skip","labelProps"],qu=["ArrowUp","ArrowDown","Backspace","Delete",/[0-9]/],Fu=s.createContext(null),Hu=({type:e})=>{const{currentValue:t,min:n,max:r,disabled:i,ref:o,onClickHandler:a}=s.useContext(Fu),l="increase"===e?r:n;return(0,fl.jsx)(Cl,{tag:"a",href:"#",name:"btn",mod:{type:e,disabled:t===l||i},onClick:a(e,o),onMouseDownCapture:e=>e.preventDefault(),children:(0,fl.jsxs)(Ou,{value:e,children:[(0,fl.jsx)(Tu.iu5,{case:"decrease"}),(0,fl.jsx)(Tu.OiG,{case:"increase"})]})})},Bu=e=>{var t,n,r,i,o;let{label:a,className:l,validate:c,required:u,skip:d,labelProps:f}=e,h=(0,Ui.A)(e,Ru);const[p,m]=[null!=(t=h.min)?t:Number.NEGATIVE_INFINITY,null!=(n=h.max)?n:Number.POSITIVE_INFINITY],g=e=>Math.max(p,Math.min(m,e)),[v,y]=s.useState(g(null!=(r=h.value)?r:0)),[b,C]=s.useState(null!=(i=h.autofocus)&&i),[w,x]=s.useState(null!=(o=h.disabled)?o:null),k=e=>{y(g(Number(e)))},S=s.useCallback((()=>{var e;k((null!=v?v:0)+(null!=(e=h.step)?e:1))}),[v,h.step]),_=s.useCallback((()=>{var e;k((null!=v?v:0)-(null!=(e=h.step)?e:1))}),[v,h.step]),j=e=>{const t=qu.find((t=>t instanceof RegExp?t.test(e.key):t===e.key));t||e.metaKey||e.preventDefault(),"ArrowUp"===t?(S(),e.preventDefault()):"ArrowDown"===t&&(_(),e.preventDefault())},E=e=>{const t=e.nativeEvent.clipboardData.getData("text");/([0-9]+)/.test(t)||e.preventDefault()},T=e=>{e.target.value?y(g(Number(e.target.value))):y(""),null==h.onChange||h.onChange(e)},O=e=>{C(!0),null==h.onFocus||h.onFocus(e)},A=e=>{C(!1),null==h.onBlur||h.onBlur(e)},N=(e,t)=>n=>{var r;return n.preventDefault(),n.stopPropagation(),null==(r=document.activeElement)||r.blur(),C(),t.current.focus(),getSelection().removeAllRanges(),"increase"===e?S():"decrease"===e?_():void 0},M=(0,fl.jsx)(Du,Object.assign({label:a,name:h.name,validate:c,required:u,setValue:k,skip:d,onDependencyChanged:e=>{"checkbox"===e.type&&x(!e.checked)}},h,{children:(e,t)=>{const n="checkbox"===(null==t?void 0:t.type)&&!1===(null==t?void 0:t.checked)||!1,r=null!=w?w:n,i={currentValue:v,min:p,max:m,disabled:r,ref:e,onClickHandler:N};return(0,fl.jsx)(Fu.Provider,{value:i,children:(0,fl.jsxs)(bl,{name:"counter",mod:{focused:b,disabled:r},mix:l,children:[(0,fl.jsx)(Hu,{type:"decrease"}),(0,fl.jsx)(Cl,{ref:e,tag:"input",name:"input",type:"text",disabled:r,value:v,onKeyDown:j,onPaste:E,onChange:T,onFocus:O,onBlur:A}),(0,fl.jsx)(Hu,{type:"increase"})]})})}}));return a?(0,fl.jsx)(Iu,Object.assign({},null!=f?f:{},{text:a,required:u,children:M})):M},Uu=["label","className","validate","required","skip","labelProps","ghost"],zu=e=>{let{label:t,className:n,validate:r,required:i,skip:o,labelProps:a,ghost:s}=e,l=(0,Ui.A)(e,Uu);const c=[vl("input-ls").mod({ghost:s}),n].join(" ").trim(),u=(0,fl.jsx)(Du,Object.assign({label:t,name:l.name,validate:r,required:i,skip:o},l,{children:e=>(0,fl.jsx)("input",Object.assign({},l,{ref:e,className:c}))}));return t?(0,fl.jsx)(Iu,Object.assign({},null!=a?a:{},{text:t,required:i,children:u})):u},Wu=["value","label","disabled","hidden"],Vu=["label","className","options","validate","required","skip","labelProps","groupProps","ghost"],$u=e=>{let{value:t,label:n,disabled:r=!1,hidden:i=!1}=e,o=(0,Ui.A)(e,Wu);return(0,fl.jsx)("option",Object.assign({value:t,disabled:r,hidden:i},o,{children:null!=n?n:t}))},Gu=e=>{let{label:t,className:n,options:r,validate:i,required:o,skip:a,labelProps:l,ghost:c}=e,u=(0,Ui.A)(e,Vu);const d=vl("select-ls"),f=(0,s.useMemo)((()=>{var e;return null!=(e=u.value)?e:""}),[u.value]),[h,p]=(0,s.useState)(f),m=r.reduce(((e,t)=>{const n=t.group||"NoGroup";return(e[n]=e[n]||[]).push(t),e}),{}),g=e=>(0,fl.jsx)($u,Object.assign({},e.value?Object.assign({},e,{key:e.value}):{value:e,key:e})),v=d.mod({ghost:c}).mix(n);(0,s.useEffect)((()=>{p(f)}),[f]);const y=(0,fl.jsx)(Du,Object.assign({name:u.name,label:t,validate:i,required:o,skip:a,setValue:e=>p(e)},u,{children:e=>(0,fl.jsx)("div",{className:v,children:(0,fl.jsxs)("select",Object.assign({},u,{value:h,onChange:e=>{p(e.target.value),null==u.onChange||u.onChange(e)},ref:e,className:d.elem("list"),children:[u.placeholder&&(!u.defaulValue||!u.value)&&(0,fl.jsx)("option",{value:"",disabled:!0,hidden:!0,children:u.placeholder}),Object.keys(m).map((e=>"NoGroup"===e?m[e].map(g):(0,fl.jsx)("optgroup",{label:e,children:m[e].map(g)})))]}))})}));return t?(0,fl.jsx)(Iu,Object.assign({},null!=l?l:{},{text:t,required:o,children:y})):y},Zu=["label","className","validate","required","skip","labelProps"],Yu=e=>{let{label:t,className:n,validate:r,required:i,skip:o,labelProps:a}=e,s=(0,Ui.A)(e,Zu);const l=[vl("textarea-ls"),n].join(" ").trim(),c=(0,fl.jsx)(Du,Object.assign({label:t,name:s.name,validate:r,required:i,skip:o},s,{children:e=>(0,fl.jsx)("textarea",Object.assign({},s,{ref:e,className:l}))}));return t?(0,fl.jsx)(Iu,Object.assign({},null!=a?a:{},{text:t,required:i,children:c})):c},Ku=["className","label","labelProps","description","checked","defaultChecked","onChange","validate","required","skip"],Xu=(0,s.forwardRef)(((e,t)=>{let{className:n,label:r,labelProps:i,description:o,checked:a,defaultChecked:l,onChange:c,validate:u,required:d,skip:f}=e,h=(0,Ui.A)(e,Ku);const p=vl("toggle"),m=(0,s.useMemo)((()=>{var e;return null!=(e=null!=l?l:a)&&e}),[l,a]),[g,v]=Eu(a,null!=l&&l),y=[p],b={};(0,s.useEffect)((()=>{v(m)}),[m]),g&&(b.checked=g),b.disabled=h.disabled,y.push(p.mod(b),n);const C=(0,fl.jsx)(Du,Object.assign({ref:r?null:t,label:r,name:h.name,validate:u,required:d,skip:f,setValue:e=>v(e)},h,{children:e=>(0,fl.jsxs)("div",{className:y.join(" "),children:[(0,fl.jsx)("input",Object.assign({ref:e},h,{className:p.elem("input"),type:"checkbox",checked:g,onChange:e=>{v(e.target.checked),null==c||c(e)}})),(0,fl.jsx)("span",{className:p.elem("indicator")})]})}));return r?(0,fl.jsx)(Iu,Object.assign({ref:t,placement:"right",required:d,text:r,children:C,description:o},null!=i?i:{})):C}));const Ju=(e,t)=>{const n=function(){const e=(0,s.useRef)(!0);return e.current?(e.current=!1,!0):e.current}();(0,s.useEffect)((()=>{if(!n)return e()}),t)},Qu=["allowInput","allowRewind","disabled","size","pageSizeOptions"],ed=(0,s.forwardRef)(((e,t)=>{var n,r;let{allowInput:i=!0,allowRewind:o=!0,disabled:a=!1,size:l="medium",pageSizeOptions:c=[]}=e,u=(0,Ui.A)(e,Qu);const[d,f]=(0,s.useState)(!1),[h,p]=Eu(u.page),[m,g]=Eu(u.waiting),[v,y]=Eu(u.pageSize,null!=(n=null!=(r=(e=>{const t=localStorage.getItem(`pages:${e}`);if((0,dl.O9)(t))return Number.parseInt(t)})(u.name))?r:null==c?void 0:c[0])?n:10),b=(0,s.useMemo)((()=>{var e;return null!=(e=u.totalPages)?e:Math.ceil(u.totalItems/v)}),[v,u.totalItems,u.totalPages]),C=(0,s.useMemo)((()=>{const{totalItems:e}=u,t=v*h-v+1,n=t+v-1;return{start:(0,dl.qE)(t,1,e),end:(0,dl.qE)(n,1,e)}}),[h,b,v,u.totalItems]),w=(0,s.useCallback)((async(e,t)=>{u.onPageLoad&&(g(!0),await u.onPageLoad(e,t),g(!1))}),[u.onPageLoad]),x=(0,s.useCallback)(((e,t=!1)=>{const n=(0,dl.qE)(e,1,b);n===h&&!0!==t||(p(n),k(n))}),[b,h,v,w]),k=(0,s.useCallback)(((e,t={})=>{if(!u.urlParamName)return;const n=new URLSearchParams(location.search);n.set(u.urlParamName,e.toString());const r=[{page:e},"",`${location.pathname}?${n.toString()}`];t.replace?history.replaceState(...r):history.pushState(...r)}),[u.urlParamName]),S=e=>{const t=Number.parseInt(e.target.value);x(t),f(!1)};return(0,s.useEffect)((()=>{null==u.onInit||u.onInit(h,v),k(h,{replace:!0})}),[]),Ju((()=>{h>b?x(1,!0):(null==u.onChange||u.onChange(h,v),w(h,v))}),[v,b]),Ju((()=>{null==u.onChange||u.onChange(h,v),w(h,v)}),[h]),(0,s.useEffect)((()=>{const e=()=>{var e;if(!u.urlParamName)return;const t=new URLSearchParams(location.search),n=Number.parseInt(null!=(e=t.get(u.urlParamName))?e:"");isNaN(n)||n===h||p(n)};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)}),[u.urlParamName]),b>1?(0,fl.jsxs)(bl,{name:"pagination-ls",mod:{disabled:a,size:l,waiting:m},style:u.style,children:[u.label&&(0,dl.O9)(v)&&(0,fl.jsxs)(Cl,{name:"label",children:[u.label,": ",C.start,"-",C.end]}),(0,fl.jsxs)(Cl,{name:"navigation",children:[o&&(0,fl.jsxs)(fl.Fragment,{children:[(0,fl.jsx)(td,{mod:["arrow-left","arrow-left-double"],onClick:()=>x(1),disabled:1===h}),(0,fl.jsx)(Cl,{name:"divider"})]}),(0,fl.jsx)(td,{mod:["arrow-left"],onClick:()=>x(h-1),disabled:1===h}),(0,fl.jsx)(Cl,{name:"input",children:d?(0,fl.jsx)("input",{type:"text",autoFocus:!0,defaultValue:h,pattern:"[0-9]",onKeyDown:e=>{"Escape"===e.code?f(!1):"Enter"===e.code?S(e):null!==e.code.match(/[0-9]/)||(e=>null!==e.code.match(/arrow/i)||e.shiftKey&&null!==e.code.match(/arrow/i)||e.metaKey||e.ctrlKey||"Backspace"===e.code)(e)||(e.preventDefault(),e.stopPropagation())},onBlur:e=>{S(e)}}):(0,fl.jsxs)(Cl,{name:"page-indicator",onClick:()=>{i&&f(!0)},children:[h," ",(0,fl.jsxs)("span",{children:["of ",b]}),(0,fl.jsx)("div",{onClick:()=>{}})]})}),(0,fl.jsx)(td,{mod:["arrow-right"],onClick:()=>x(h+1),disabled:h===b}),o&&(0,fl.jsxs)(fl.Fragment,{children:[(0,fl.jsx)(Cl,{name:"divider"}),(0,fl.jsx)(td,{mod:["arrow-right","arrow-right-double"],onClick:()=>x(b),disabled:h===b})]})]}),(null==c?void 0:c.length)>0&&(0,fl.jsx)(Cl,{name:"page-size",children:(0,fl.jsx)(Gu,{value:v,options:c.map((e=>({label:`${e} per page`,value:e}))),onChange:e=>{const t=Number.parseInt(e.target.value);y(t),u.name&&((e,t)=>{localStorage.setItem(`pages:${e}`,t.toString())})(u.name,t)}})})]}):null})),td=e=>{const t=Object.fromEntries(e.mod.map((e=>[e,!0])));return t.disabled=!0===e.disabled,(0,fl.jsx)(Cl,{name:"btn",mod:t,onClick:e.onClick})},nd={projectCreation:[{title:"Did you know?",content:"It’s easier to find the projects when you organize them into workspaces using Label Studio Enterprise.",closable:!0,link:{label:"Learn more",url:"https://docs.humansignal.com/guide/manage_projects#Create-workspaces-to-organize-projects",params:{experiment:"project_creation_tip",treatment:"find_and_manage_projects"}}},{title:"Unlock faster access provisioning",content:"Streamline assigning staff to multiple projects by assigning them to workspaces in Label Studio Enterprise.",closable:!0,link:{label:"Learn more",url:"https://docs.humansignal.com/guide/manage_projects#Add-or-remove-members-to-a-workspace",params:{experiment:"project_creation_tip",treatment:"faster_provisioning"}}},{title:"Did you know?",content:"In the Enterprise platform, admins can view annotator performance dashboards to optimize resource allocation, improve team management, and inform compensation.",closable:!0,link:{label:"Learn more",url:"https://docs.humansignal.com/guide/dashboard_annotator",params:{experiment:"project_creation_tip",treatment:"annotator_dashboard"}}},{title:"Did you know?",content:"You can control access to specific projects and workspaces for internal team members and external annotators using Label Studio Enterprise.",closable:!0,link:{label:"Learn more",url:"https://docs.humansignal.com/guide/manage_users#Roles-in-Label-Studio-Enterprise",params:{experiment:"project_creation_tip",treatment:"access_to_projects"}}},{title:"Did you know?",content:"You can use or modify dozens or templates to configure your labeling UI, or create a custom configuration from scratch using simple XML-like tag.",closable:!0,link:{label:"Learn more",url:"https://labelstud.io/guide/setup",params:{experiment:"project_creation_tip",treatment:"templates"}}},{title:"Labeling for GenAI",content:"Label Studio has templates available for supervised LLM fine-tuning, RAG retrieval ranking, RLHF, chatbot evaluation, and more.",closable:!0,link:{label:"Explore templates",url:"https://labelstud.io/templates/gallery_generative_ai",params:{experiment:"project_creation_tip",treatment:"genai_templates"}}}],organizationPage:[{title:"It looks like your team is growing!",content:"Assign roles to your team using Label Studio Enterprise and control access to sensitive data at the project and workspace levels.",closable:!0,link:{label:"Learn more",url:"https://docs.humansignal.com/guide/manage_users#Roles-in-Label-Studio-Enterprise",params:{experiment:"organization_page_tip",treatment:"team_growing"}}},{title:"Want to simplify and secure logging in?",content:"Enable Single Sign-On for your team using SAML, SCIM2 or LDAP with Label Studio Enterprise.",closable:!0,link:{label:"Learn more",url:"https://docs.humansignal.com/guide/auth_setup",params:{experiment:"organization_page_tip",treatment:"enable_sso"}}},{title:"Source data faster",content:"Use semantic search, similarity search, and filters to curate optimal datasets and automatically assign labeling tasks in the Enterprise platform.",closable:!0,link:{label:"Learn more",url:"https://docs.humansignal.com/guide/dataset_overview",params:{experiment:"organization_page_tip",treatment:"data_discovery"}}},{title:"Want to automate task distribution?",content:"Create rules, automate how tasks are distributed to annotators, and only show tasks assigned to each annotator in their view.and control task visibility for each annotator.",closable:!0,link:{label:"Learn more",url:"https://docs.humansignal.com/guide/setup_project#Set-up-annotation-settings-for-your-project",params:{experiment:"organization_page_tip",treatment:"automate_distribution"}}},{title:"Share knowledge with the community",content:"Have questions or a tip to share with other Label Studio users? Join the community slack channel for the latest updates. ",closable:!0,link:{label:"Join the community",url:"https://label-studio.slack.com",params:{experiment:"organization_page_tip",treatment:"share_knowledge"}}},{title:"Did you know?",content:"Label Studio supports multiple points of integration with cloud storage, machine learning models, and popular tools to automate your machine learning pipeline.",closable:!0,link:{label:"Check out the integrations directory",url:"https://labelstud.io/integrations/",params:{experiment:"organization_page_tip",treatment:"integration_points"}}}],projectSettings:[{title:"Save time with Auto-Labeling",content:"Use automation to instantly label large-scale datasets without sacrificing quality in the Enterprise platform.",closable:!0,link:{label:"Learn more",url:"https://docs.humansignal.com/guide/prompts_overview#Auto-labeling-with-Prompts",params:{experiment:"project_settings_tip",treatment:"auto_labeling"}}},{title:"Did you know?",content:"You can increase the quality of your labeled data with reviewer workflows and task agreement scores using Label Studio Enterprise.",closable:!0,link:{label:"Learn more",url:"https://docs.humansignal.com/guide/quality",params:{experiment:"project_settings_tip",treatment:"quality_and_agreement"}}},{title:"Evaluate GenAI models",content:"Combine automation plus human supervision to evaluate and ensure LLM quality in the Enterprise platform.",closable:!0,link:{label:"Learn more",url:"https://humansignal.com/evals/",params:{experiment:"project_settings_tip",treatment:"evals"}}},{title:"Did you know?",content:"You can save time managing infrastructure and upgrades, plus access more features for automation, quality, and team management, by using the Enterprise cloud service.",closable:!0,link:{label:"Learn more",url:"https://humansignal.com/platform/",params:{experiment:"project_settings_tip",treatment:"infrastructure_and_upgrades"}}},{title:"Did you know?",content:"You can connect ML models using the backend SDK to save time with pre-labeling or active learning.",closable:!0,link:{label:"Learn more",url:"https://labelstud.io/guide/ml",params:{experiment:"project_settings_tip",treatment:"connect_ml_models"}}},{title:"Faster image labeling",content:"You can add a rectangle or an ellipse to your image with just two clicks, or double click to create a polygon, rectangle, or ellipse.",closable:!0,link:{label:"Learn more",url:"https://labelstud.io/guide/labeling#Faster-image-labeling",params:{experiment:"project_settings_tip",treatment:"two_clicks"}}}]},rd="heidi_ignored_tips";function id(e){return`${rd}:${e}`}function od(e){if(function(e){const t=Object.fromEntries(document.cookie.split(";").map((e=>e.trim().split("=")))),n=id(e);return"true"===t[n]}(e))return null;const t=nd[e];return t[Math.floor(Math.random()*t.length)]}function ad(e,t){var n;const r=new URL(e);Object.entries(null!=t?t:{}).forEach((([e,t])=>{r.searchParams.set(e,t)}));const i=null==(n=APP_SETTINGS.user)?void 0:n.id,o=APP_SETTINGS.server_id;return o&&r.searchParams.set("server_id",o),i&&r.searchParams.set("user_id",i),r.toString()}const sd=({link:e})=>{const t=(0,s.useMemo)((()=>{var t;const n=null!=(t=e.params)?t:{};return ad(e.url,n)}),[e]);return(0,fl.jsx)(Cl,{name:"link",tag:"a",href:t,target:"_blank",children:e.label})},ld=({tip:e,onDismiss:t})=>{const n=(0,s.useCallback)((e=>{e.preventDefault(),e.stopPropagation(),t()}),[]);return(0,fl.jsxs)(bl,{name:"heidy-tip",children:[(0,fl.jsxs)(Cl,{name:"content",children:[(0,fl.jsxs)(Cl,{name:"header",children:[(0,fl.jsx)(Cl,{name:"title",children:e.title}),e.closable&&(0,fl.jsx)(Kc,{title:"Don't show",children:(0,fl.jsx)(Cl,{name:"dismiss",tag:El,type:"text",onClick:n,children:(0,fl.jsx)(So,{})})})]}),(0,fl.jsxs)(Cl,{name:"text",children:[e.content,(0,fl.jsx)(sd,{link:e.link})]})]}),(0,fl.jsx)(Cl,{name:"heidi",children:(0,fl.jsx)(cu,{})})]})},cd=(0,s.memo)((({collection:e})=>{const[t,n]=(0,s.useState)(od(e)),r=(0,s.useCallback)((()=>{!function(e){const t=new Date;t.setTime(t.getTime()+2592e6);const n=[`${id(e)}=true`,`expires=${t.toUTCString()}`,"path=/"].join("; ");document.cookie=n}(e),n(null)}),[]);return t&&(0,fl.jsx)(ld,{tip:t,onDismiss:r})}));n(84789);var ud=n(28036),dd=n(11448),fd=n.n(dd);n(57122);const hd=["fields","formData","fetchFields","fetchFormData","children","formRowStyle","onSubmit","withActions"],pd="got ya, suspicious hacker!";class md extends s.Component{constructor(...e){var t;super(...e),t=this,this.state={validation:null,showValidation:!0,submitting:!1},this.formElement=s.createRef(),this.apiRef=s.createRef(),this.fields=new Set,this.validation=new Map,this.onFormSubmitted=async function(e){e.preventDefault(),t.validateFields(),t.validation.size?t.setState({step:"invalid"}):(t.setState({step:"submitting"}),t.submit())},this._onAutoSubmit=()=>{this.validateFields(),this.validation.size||this.submit()},this.onAutoSubmit=this.props.debounce?function(e,t,n){let r;return function(...i){const o=n&&!r;clearTimeout(r),r=setTimeout((()=>{r=null,n||e.apply(this,i)}),t),o&&e.apply(this,i)}}(this._onAutoSubmit,this.props.debounce):this._onAutoSubmit,this.onFormChanged=async function(e){e.stopPropagation(),null==t.props.onChange||t.props.onChange(e),t.autosubmit()}}get api(){return this.apiRef.current}componentDidMount(){this.props.formData&&setTimeout((()=>{this.fillFormData()}),50)}componentDidUpdate(e){var t,n;(0,sc.f)(null!=(t=e.formData)?t:{},null!=(n=this.props.formData)?n:{})||this.fillFormData()}render(){const e=[(0,fl.jsx)(wl.Provider,{value:this},"form-ctx"),(0,fl.jsx)(xl.Provider,{value:this.state.validation},"form-validation-ctx"),(0,fl.jsx)(kl.Provider,{value:this.state.submitting},"form-submission-ctx"),(0,fl.jsx)(Sl.Provider,{value:this.state.state},"form-state-ctx"),(0,fl.jsx)(_l.Provider,{value:this.state.lastResponse},"form-response"),(0,fl.jsx)(nc,{ref:this.apiRef},"form-api")];return(0,fl.jsx)(Il,{providers:e,children:(0,fl.jsxs)("form",{ref:this.formElement,className:vl("form"),action:this.props.action,onSubmit:this.onFormSubmitted,onChange:this.onFormChanged,autoComplete:this.props.autoComplete,autoSave:this.props.autoSave,style:this.props.style,children:[this.props.children,this.state.validation&&this.state.showValidation&&(0,fl.jsx)(gd,{validation:this.state.validation})]})})}registerField(e){const t=this.getFieldContext(e.name);t?Object.assign(t,e):(this.fields.add(e),setTimeout((()=>{this.fillWithFormData(e)}),0))}unregisterField(e){const t=this.getFieldContext(e);t&&this.fields.delete(t)}getField(e){var t;return null==(t=this.getFieldContext(e))?void 0:t.field}getFieldContext(e){return Array.from(this.fields).find((t=>t.name===e))}disableValidationMessage(){this.setState({showValidation:!1})}enableValidationMessage(){this.setState({showValidation:!0})}autosubmit(){this.props.autosubmit&&setTimeout((()=>{this.onAutoSubmit()}),100)}assembleFormData({asJSON:e=!1,full:t=!1,booleansAsNumbers:n=!1,fieldsFilter:r}={}){let i=Array.from(this.fields);r instanceof Function&&(i=i.filter(r));const o=i.reduce(((e,{name:r,field:i,skip:o,allowEmpty:a,isProtected:s})=>{const l=s&&i.value===pd,c=o||l||(this.props.skipEmpty||!1===a)&&!i.value;if(!0===t||!c){const t=(()=>{const e=i.value;return["checkbox","radio"].includes(i.type)?(0,dl.O9)(e)&&!["","on","off","true","false"].includes(e)?i.checked?e:null:n?Number(i.checked):i.checked:e})();null!==t&&e.push([r,t])}return e}),[]);if(e)return o.reduce(((e,[t,n])=>Object.assign({},e,{[t]:n})),{});const a=new FormData;return o.forEach((([e,t])=>a.append(e,t))),a}async submit({fieldsFilter:e}={}){var t,n,r;this.setState({submitting:!0,lastResponse:null});const i=this.formElement.current.getAttribute("action"),o=this.api.isValidMethod(i),a=this.assembleFormData({asJSON:o,fieldsFilter:e}),s=null!=(t=null==(n=(r=this.props).prepareData)?void 0:n.call(r,a))?t:a;let l=!1;l=o?await this.submitWithAPI(i,s):await this.submitWithFetch(s),this.setState({submitting:!1,state:l?"success":"fail"},(()=>{setTimeout((()=>{this.setState({state:null})}),1500)}))}async submitWithAPI(e,t){var n,r,i;const o=(0,dl.HM)(null!=(n=this.props.params)?n:{}),a=await this.api.callApi(e,{params:o,body:t});var s,l;return this.setState({lastResponse:a}),null===a?(null==(s=(l=this.props).onError)||s.call(l),!1):(null==(r=(i=this.props).onSubmit)||r.call(i,a),!0)}async submitWithFetch(e){var t;const n=this.formElement.current.action,r=(null!=(t=this.props.method)?t:"POST").toUpperCase(),i=await fetch(n,{method:r,body:e});try{var o,a;const e=await i.json();var s,l;if(this.setState({lastResponse:e}),e.validation_errors&&(Object.entries(e.validation_errors).forEach((([e,t])=>{const n=this.getField(e);this.validation.set(n.name,{label:n.label,field:n.field,messages:t})})),this.setState({validation:this.validation})),i.ok)return null==(s=(l=this.props).onSubmit)||s.call(l,e),!0;null==(o=(a=this.props).onError)||o.call(a,e)}catch(e){var c,u;console.log(e),null==(c=(u=this.props).onError)||c.call(u,e)}return!1}validateFields(){this.validation.clear();for(const e of this.fields){const t=this.validateField(e);t.length&&this.validation.set(e.name,{label:e.label,messages:t,field:e.field})}return this.validation.size?this.setState({validation:this.validation}):this.setState({validation:null}),0===this.validation.size}validateField(e){var t;const n=[],{validation:r,field:i}=e,o=(null==(t=i.value)?void 0:t.trim())||null;return e.isProtected&&o===pd||r.forEach((t=>{const r=t(e.label,o);r&&n.push(r)})),n}fillFormData(){this.props.formData&&0!==this.fields.size&&Array.from(this.fields).forEach((e=>{this.fillWithFormData(e)}))}fillWithFormData(e){var t;const n=(null!=(t=this.props.formData)?t:{})[e.name];e.isProtected&&this.props.formData?e.setValue(pd):(0,dl.O9)(n)&&e.value!==n&&!e.skipAutofill&&e.setValue(n)}}const gd=({validation:e})=>{const t=vl("form-validation");return(0,fl.jsx)("div",{className:t,children:Array.from(e).map((([e,n])=>(0,fl.jsxs)("div",{className:t.elem("group"),onClick:()=>n.field.focus(),children:[(0,fl.jsx)("div",{className:t.elem("field"),children:n.label}),(0,fl.jsx)("div",{className:t.elem("messages"),children:n.messages.map(((n,r)=>(0,fl.jsx)("div",{className:t.elem("message"),children:n},`${e}-${r}`)))})]},e)))})};md.Validator=r,md.Row=({columnCount:e,rowGap:t,children:n,style:r,spread:i=!1})=>{const o={};return e&&(o["--column-count"]=e),t&&(o["--row-gap"]=t),(0,fl.jsx)("div",{className:vl("form").elem("row").mod({spread:i}),style:Object.assign({},null!=r?r:{},o),children:n})},md.Builder=s.forwardRef(((e,t)=>{let{fields:n,formData:r,fetchFields:i,fetchFormData:o,children:a,formRowStyle:l,onSubmit:c,withActions:u}=e,d=(0,Ui.A)(e,hd);const f=null!=t?t:(0,s.useRef)(),[h,p]=(0,s.useState)(null!=n?n:[]),[m,g]=(0,s.useState)(null!=r?r:{}),v=e=>e.map(((e,t)=>{var n,r;if(!e)return(0,fl.jsx)("div",{},`spacer-${t}`);const i=null!=(n=null==m?void 0:m[e.name])?n:void 0,o=()=>e.skipAutofill&&(!e.allowEmpty||e.protectedValue)&&"password"===e.type?pd:e.skipAutofill?null:null!=i?i:e.value,a={};!0!==d.autosubmit&&!0===e.trigger_form_update&&(a.onChange=async()=>{await f.current.submit({fieldsFilter:t=>t.name===e.name}),await b(),await C()});const s=(()=>{switch(e.type){case"select":return Gu;case"counter":return Bu;case"toggle":return Xu;default:return zu}})();return["checkbox","radio","toggle"].includes(e.type)?a.checked=o():"counter"===e.type?a.value=o():a.defaultValue=o(),(0,fl.jsx)(s,Object.assign({},e,a),null!=(r=e.name)?r:t)})),y=e=>e.map(((e,t)=>(0,fl.jsx)("div",{className:vl("form").elem("column"),style:{width:e.width},children:v(e.fields)},t))),b=(0,s.useCallback)((async()=>{if(i){const e=await i();JSON.stringify(h)!==JSON.stringify(e)&&p(e)}}),[i]),C=(0,s.useCallback)((async()=>{if(o){const e=await o();!1===(0,sc.f)(m,e)&&g(e)}}),[o]),w=(0,s.useCallback)((async(...e)=>{null==c||c(...e),await b(),await C()}),[c,o]);return(0,s.useEffect)((()=>{b()}),[b]),(0,s.useEffect)((()=>{C()}),[C]),(0,s.useEffect)((()=>{p(n)}),[n]),(0,fl.jsxs)(md,Object.assign({},d,{onSubmit:w,ref:f,children:[(null!=h?h:[]).map((({columnCount:e,fields:t,columns:n},r)=>(0,fl.jsx)(md.Row,{columnCount:e,style:l,spread:!0,children:n?y(n):v(t)},r))),a,!0!==d.autosubmit&&!0===u&&(0,fl.jsx)(md.Actions,{children:(0,fl.jsx)(El,{type:"submit",look:"primary",style:{width:120},children:"Save"})})]}))})),md.Actions=({children:e,valid:t,extra:n,size:r})=>{const i=vl("form");return(0,fl.jsxs)("div",{className:i.elem("submit").mod({size:r}),children:[(0,fl.jsx)("div",{className:i.elem("info").mod({valid:t}),children:n}),(0,fl.jsx)(Ol,{children:e})]})},md.Indicator=()=>{const e=s.useContext(Sl);return(0,fl.jsx)(bl,{name:"form-indicator",children:(0,fl.jsx)(Ou,{value:e,children:(0,fl.jsx)(Cl,{tag:"span",mod:{type:e},name:"item",case:"success",children:"Saved!"})})})},md.ResponseParser=({children:e})=>{const t=e;if(t instanceof Function==!1)throw new Error("Response Parser only accepts function as a child");const n=(0,s.useContext)(_l);return(0,fl.jsx)(fl.Fragment,{children:n?t(n):null})};const vd="FFA39E D4380D FFC069 AD8B00 D3F261 389E0D 5CDBD3 096DD9 ADC6FF 9254DE F759AB".split(" ").map((e=>`#${e}`));function*yd(e=vd){let t=0;for(;;)yield e[t],t=(t+1)%e.length}window.Palette=yd;const bd={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Cd={Image:{type:"Image",settings:{strokeWidth:{title:"Width of region borders",type:Number,param:(e,t)=>e.$controls.forEach((e=>e.setAttribute("strokeWidth",t))),value:e=>{var t,n;return null!=(t=null==(n=e.$controls[0])?void 0:n.getAttribute("strokeWidth"))?t:1}},zoom:{title:"Allow image zoom (ctrl+wheel)",type:Boolean,param:"zoom"},zoomControl:{title:"Show controls to zoom in and out",type:Boolean,param:"zoomControl"},rotateControl:{title:"Show controls to rotate image",type:Boolean,param:"rotateControl"}}},Text:{type:"Text",settings:{granularity:{title:"Select text by words",type:Boolean,param:(e,t)=>t?e.setAttribute("granularity","word"):e.removeAttribute("granularity"),value:e=>"word"===e.getAttribute("granularity"),when:e=>e.$controls.filter((e=>e.tagName.endsWith("Labels"))).length>0}}},HyperText:{type:"HyperText"},Audio:{type:"Audio"},AudioPlus:{type:"Audio"},List:{type:"List"},Paragraphs:{type:"Paragraphs"},Table:{type:"Table"},TimeSeries:{type:"TimeSeries"},Video:{type:"Video"}},wd={type:"Labels",settings:{placeLabelsLeft:{title:"Display labels:",type:["bottom","left","right","top"],control:!0,when:e=>"Video"!==e.$object.tagName,param:(e,t)=>{var n,r;let i=e.parentNode,o=e;"FILTER"===(null==(n=i.firstChild)||null==(n=n.tagName)?void 0:n.toUpperCase())&&(o=i,i=o.parentNode);const a=e.$object,s=["top","bottom"].includes(t),l=(s?"column":"row")+(["top","left"].includes(t)?"-reverse":"");(null==(r=i.getAttribute("style"))?void 0:r.includes("flex"))||(i=a.ownerDocument.createElement("View"),o.parentNode.insertBefore(i,a),i.appendChild(a),i.appendChild(o)),e.setAttribute("showInline",JSON.stringify(s)),i.setAttribute("style",`display:flex;align-items:start;gap:8px;flex-direction:${l}`)},value:e=>{var t;let n=e.parentNode;"FILTER"===(null==(t=n.firstChild)||null==(t=t.tagName)?void 0:t.toUpperCase())&&(n=n.parentNode);const r=n.getAttribute("style"),i=null==r?void 0:r.match(/direction:(row|column)(-reverse)?/);if(!i){return e.compareDocumentPosition(e.$object)&Node.DOCUMENT_POSITION_FOLLOWING?"top":"bottom"}return"column"===i[1]?i[2]?"top":"bottom":i[2]?"left":"right"}},filter:{title:"Add filter for long list of labels",type:Boolean,control:!0,param:(e,t)=>{if(t){const t=e.ownerDocument.createElement("Filter"),n=e.ownerDocument.createElement("View");t.setAttribute("toName",e.getAttribute("name")),t.setAttribute("minlength",0),t.setAttribute("name","filter"),e.parentNode.insertBefore(n,e),n.appendChild(t),n.appendChild(e)}else{if("FILTER"===e.previousElementSibling.tagName.toUpperCase()){const t=e.parentNode;t.parentNode.insertBefore(e,t),t.parentNode.removeChild(t)}}},value:e=>{var t;return"FILTER"===(null==(t=e.previousElementSibling)?void 0:t.tagName.toUpperCase())}}}},xd={Labels:wd,RectangleLabels:wd},kd=(Object.assign({},Cd,xd),""),Sd="$undefined$",_d=e=>["",kd].includes(e.replace(/\s+/g,""));class jd{constructor(e){this.objects=[],this.controls=[],this.details=!1,this.palette=yd(),this.tpl=e,this.config=e.config;const t=new DOMParser;this.$root=t.parseFromString(this.config,"application/xml"),this.serializer=new XMLSerializer,this.initRoot()}flatten(e){const t=[];for(const n of e.children)t.push(n),n.children.length&&t.push(...this.flatten(n));return t}onConfigUpdate(){}render(){const e=this.serializer.serializeToString(this.$root);this.onConfigUpdate(e)}initRoot(){const e=this.flatten(this.$root);this.objects=e.filter((e=>e.tagName in Cd&&e.getAttribute("value")));const t=this.objects.map((e=>e.getAttribute("name")));this.controls=e.filter((e=>t.includes(e.getAttribute("toName"))));for(const e of this.objects){const t=Cd[e.tagName];e.$controls=this.controls.filter((t=>t.getAttribute("toName")===e.getAttribute("name"))),e.$controls.forEach((t=>t.$object=e));for(const n in t.settings)t.settings[n].object=e;let n=Object.assign({},t.settings);e.$controls.forEach((t=>{const r=xd[t.tagName];if(r){for(const n in r.settings)r.settings[n].control=t,r.settings[n].object=e;n=Object.assign({},n,r.settings)}})),this.settings=n}}fixColumns(e){if(1===e.length&&e[0]===Sd)return;const t=this.objects.map((e=>e.getAttribute("value").replace(/^\$/,""))),n=e.filter((e=>!t.includes(e)));for(const t of this.objects){var r;if(!e.includes(t.getAttribute("value").replace(/^\$/,"")))t.setAttribute("value",`$${null!=(r=n.shift())?r:e[0]}`)}this.render()}addLabels(e,t){if(!t)return;if(Array.isArray(t)||(t=t.split("\n").map((e=>e.trim())).filter(Boolean)),!t.length)return;const n=[...e.children].map((e=>e.getAttribute("value"))),r="Choices"===e.tagName;t.forEach((t=>{if(n.includes(t))return;n.push(t);const i=this.$root.createElement(r?"Choice":"Label");i.setAttribute("value",t),r||i.setAttribute("background",this.palette.next().value),e.appendChild(i)})),this.render()}removeLabel(e){e.parentNode.removeChild(e),this.render()}changeLabel(e,t){for(const n of Object.keys(t))e.setAttribute(n,t[n]);this.render()}}const Ed=vl("configure");let Td;const Od=async()=>(Td||(Td=Promise.all([n.e(502),n.e(492),n.e(637),n.e(724)]).then(n.bind(n,3319))),Td),Ad=({config:e,data:t,error:n,loading:r,project:i})=>{var o,a,l;Od();const[c,u]=(0,s.useState)(!1),d=(0,s.useRef)(null),f=(0,s.useRef)(),h=rc(),p=(0,s.useRef)(i);p.current=i;const m=(0,s.useMemo)((()=>({id:1,annotations:[],predictions:[],data:t})),[t]),g=async(e,t)=>{const n=new URL(t);if(["http:","https:"].includes(n.protocol))return t;const r=p.current.id,i=btoa(t);return h.api.createUrl(Gl.endpoints.presignUrlForProject,{projectId:r,fileuri:i}).url},v=(0,s.useMemo)((()=>null!=e?e:kd),[e]),y=(0,s.useCallback)((async(e,t)=>{if(await Od(),!d.current&&t.data)try{d.current=new window.LabelStudio(f.current,{config:e,task:t,interfaces:["side-column"],[(0,lc.VS)(lc.Ls)?"onStorageInitialized":"onLabelStudioLoad"](e){e.settings.bottomSidePanel=!0;const t=()=>{const t=e.annotationStore,n=t.createAnnotation();t.selectAnnotation(n.id),u(!0)};(0,lc.VS)(lc.Ls)?setTimeout(t):t()}}),d.current.on("presignUrlForProject",g)}catch(e){console.error(e)}}),[]);return(0,s.useEffect)((()=>{const e=r||n?.6:1;document.getElementById("label-studio").style.opacity=e}),[r,n]),(0,s.useEffect)((()=>{y(v,m).then((()=>{var e;if(c&&null!=(e=d.current)&&e.store){const e=d.current.store;e.resetState(),e.assignTask(m),e.assignConfig(v),e.initializeStore(m);const t=e.annotationStore.addAnnotation({userGenerate:!0});e.annotationStore.selectAnnotation(t.id),console.log("LSF updated")}}))}),[v,m,c]),(0,s.useEffect)((()=>()=>{d.current&&(console.info("Destroying LSF"),d.current.destroy(),d.current=null)}),[]),(0,fl.jsxs)("div",{className:Ed.elem("preview"),children:[(0,fl.jsx)("h3",{children:"UI Preview"}),n&&(0,fl.jsxs)("div",{className:Ed.elem("preview-error"),children:[(0,fl.jsxs)("h2",{children:[n.detail," ",n.id]}),null==(o=n.validation_errors)||null==(o=o.non_field_errors)||null==o.map?void 0:o.map((e=>(0,fl.jsx)("p",{children:e},e))),null==(a=n.validation_errors)||null==(a=a.label_config)||null==a.map?void 0:a.map((e=>(0,fl.jsx)("p",{children:e},e))),null==(l=n.validation_errors)||null==l.map?void 0:l.map((e=>(0,fl.jsx)("p",{children:e},e)))]}),!t&&r&&(0,fl.jsx)(_u,{style:{width:"100%",height:"50vh"}}),(0,fl.jsx)("div",{id:"label-studio",className:Ed.elem("preview-ui"),ref:f})]})},Nd=vl("templates-list"),Md=()=>(0,fl.jsxs)("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,fl.jsx)("title",{children:"Arrow Icon"}),(0,fl.jsx)("path",{opacity:"0.9",d:"M2 10L6 6L2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"})]}),Ld=({templates:e,group:t,onSelectRecipe:n})=>{const r=e.filter((e=>e.group===t)).sort(((e,t)=>{var n,r;return(null!=(n=e.order)?n:Number.POSITIVE_INFINITY)-(null!=(r=t.order)?r:Number.POSITIVE_INFINITY)}));return(0,fl.jsx)("ul",{children:r.map((e=>(0,fl.jsxs)("li",{onClick:()=>n(e),className:Nd.elem("template"),children:[(0,fl.jsx)("img",{src:e.image,alt:""}),(0,fl.jsx)("h3",{children:e.title})]},e.title)))})},Pd=({selectedGroup:e,selectedRecipe:t,onCustomTemplate:n,onSelectGroup:r,onSelectRecipe:i})=>{const[o,a]=s.useState([]),[l,c]=s.useState(),u=rc();s.useEffect((async()=>{const e=await u.callApi("configTemplates");if(!e)return;const{templates:t,groups:n}=e;c(t),a(n)}),[]);const d=e||o[0];return(0,fl.jsxs)("div",{className:Nd,children:[(0,fl.jsxs)("aside",{className:Nd.elem("sidebar"),children:[(0,fl.jsx)("ul",{children:o.map((e=>(0,fl.jsxs)("li",{onClick:()=>r(e),className:Nd.elem("group").mod({active:d===e,selected:(null==t?void 0:t.group)===e}),children:[e,(0,fl.jsx)(Md,{})]},e)))}),(0,fl.jsx)("button",{type:"button",onClick:n,className:Nd.elem("custom-template"),children:"Custom template"})]}),(0,fl.jsxs)("main",{children:[!l&&(0,fl.jsx)(_u,{style:{width:"100%",height:200}}),(0,fl.jsx)(Ld,{templates:l||[],group:d,onSelectRecipe:i})]}),(0,fl.jsxs)("footer",{children:[(0,fl.jsx)(ca,{className:Nd.elem("info-icon"),width:"20",height:"20"}),"See the documentation to"," ",(0,fl.jsx)("a",{href:"https://labelstud.io/guide",target:"_blank",rel:"noreferrer",children:"contribute a template"}),"."]})]})},Dd=fd().Pos,Id=["View"];function Rd(e,t,n){return n?e.includes(t):e.startsWith(t)}function qd(e,t,n){var r;const i=document.createElement("b");if(i.appendChild(document.createTextNode(null!=(r=n.name)?r:n.text)),i.className="CodeMirror-hint-name",n.link){const t=document.createElement("a");t.href=n.link,t.appendChild(i),e.appendChild(t)}else e.appendChild(i);if(n.type){const t=document.createElement("span"),r=Array.isArray(n.type)?n.type.join(" | "):n.type;t.appendChild(document.createTextNode(r)),t.className="CodeMirror-hint-type",e.appendChild(document.createTextNode(" ")),e.appendChild(t)}if(n.description){const t=document.createElement("span");t.className="CodeMirror-hint-description",t.appendChild(document.createTextNode(n.description)),e.appendChild(document.createTextNode(" — ")),e.appendChild(t)}e.classList.add("CodeMirror-hint-tag")}fd().registerHelper("hint","xml",(function(e,t){const n=t&&t.schemaInfo;let r=t&&t.quoteChar||'"';const i=t&&t.matchInMiddle;if(!n)return;const o=e.getCursor(),a=e.getTokenAt(o);a.end>o.ch&&(a.end=o.ch,a.string=a.string.slice(0,o.ch-a.start));let s=fd().innerMode(e.getMode(),a.state);if(!s.mode.xmlCurrentTag)return;const l=[];let c,u=!1;const d=/\btag\b/.test(a.type)&&!/>$/.test(a.string),f=d&&/^\w/.test(a.string);let h,p=null;if(f){const t=e.getLine(o.line).slice(Math.max(0,a.start-2),a.start);p=/<\/$/.test(t)?"close":/<$/.test(t)?"open":null,p&&(h=a.start-("close"===p?2:1))}else d&&"<"===a.string?p="open":d&&"`,render:qd})}else{const t=m&&n[m.name],s=t&&t.attrs;if(!s)return;if("string"===a.type||"="===a.string){var g;const t=e.getRange(Dd(o.line,Math.max(0,o.ch-60)),Dd(o.line,"string"===a.type?a.start:a.end)).match(/([^\s\u00a0=<>"']+)=$/),n=null!=t&&t[1]?null==(g=s[t[1]])?void 0:g.type:void 0;if(!t||!Object.prototype.hasOwnProperty.call(s,t[1]))return;if(!n||!Array.isArray(n))return;if("string"===a.type){c=a.string;let t=0;/['"]/.test(a.string.charAt(0))&&(r=a.string.charAt(0),c=a.string.slice(1),t++);const n=a.string.length;if(/['"]/.test(a.string.charAt(n-1))&&(r=a.string.charAt(n-1),c=a.string.substr(t,n-2)),t){const t=e.getLine(o.line);t.length>a.end&&t.charAt(a.end)===r&&a.end++}u=!0}const d=e=>{for(const t of e)c&&!Rd(t,c,i)||l.push({text:r+t+r,render:qd});return v()};return d(n)}"attribute"===a.type&&(c=a.string,u=!0);for(const e in s){if(c&&!Rd(e,c,i))continue;const t=s[e].required?`${e}*`:e,n=s[e].type;l.push({text:e,name:t,type:n,description:s[e].description,render:qd})}}function v(){return{list:l,from:u?Dd(o.line,void 0===h?a.start:h):o,to:u?Dd(o.line,a.end):o}}return v()}));const Fd=JSON.parse('{"Audio":{"name":"Audio","description":"The Audio tag plays audio and shows its waveform. Use for audio annotation tasks where you want to label regions of audio, see the waveform, and manipulate audio during annotation.\\n\\nUse with the following data types: audio","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"value":{"name":"value","description":"Data field containing path or a URL to the audio.","type":"string","required":true},"defaultspeed":{"name":"defaultspeed","description":"Default speed level (from 0.5 to 2).","type":"string","required":false,"default":1},"defaultscale":{"name":"defaultscale","description":"Audio pane default y-scale for waveform.","type":"string","required":false,"default":1},"defaultzoom":{"name":"defaultzoom","description":"Default zoom level for waveform. (from 1 to 1500).","type":"string","required":false,"default":1},"defaultvolume":{"name":"defaultvolume","description":"Default volume level (from 0 to 1).","type":"string","required":false,"default":1},"hotkey":{"name":"hotkey","description":"Hotkey used to play or pause audio.","type":"string","required":false},"sync":{"name":"sync","description":"Object name to sync with.","type":"string","required":false},"height":{"name":"height","description":"Total height of the audio player.","type":"string","required":false,"default":96},"waveheight":{"name":"waveheight","description":"Minimum height of a waveform when in `splitchannels` mode with multiple channels to display.","type":"string","required":false,"default":32},"splitchannels":{"name":"splitchannels","description":"Display multiple audio channels separately, if the audio file has more than one channel. (**NOTE: Requires more memory to operate.**)","type":["true","false"],"required":false,"default":false},"decoder":{"name":"decoder","description":"Decoder type to use to decode audio data. (`\\"webaudio\\"` or `\\"ffmpeg\\"`)","type":"string","required":false,"default":"webaudio"},"player":{"name":"player","description":"Player type to use to play audio data. (`\\"html5\\"` or `\\"webaudio\\"`)","type":"string","required":false,"default":"html5"}}},"HyperText":{"name":"HyperText","description":"The `HyperText` tag displays hypertext markup for labeling. Use for labeling HTML-encoded text and webpages for NER and NLP projects.\\n\\nUse with the following data types: HTML.","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"value":{"name":"value","description":"Value of the element","type":"string","required":true},"valueType":{"name":"valueType","description":"Whether the text is stored directly in uploaded data or needs to be loaded from a URL","type":["url","text"],"required":false,"default":"text"},"inline":{"name":"inline","description":"Whether to embed HTML directly in Label Studio or use an iframe","type":["true","false"],"required":false,"default":false},"saveTextResult":{"name":"saveTextResult","description":"Whether to store labeled text along with the results. By default, doesn\'t store text for `valueType=url`","type":["yes","no"],"required":false},"encoding":{"name":"encoding","description":"How to decode values from encoded strings","type":["none","base64","base64unicode"],"required":false},"selectionEnabled":{"name":"selectionEnabled","description":"Enable or disable selection","type":["true","false"],"required":false,"default":true},"clickableLinks":{"name":"clickableLinks","description":"Whether to allow opening resources from links in the hypertext markup.","type":["true","false"],"required":false,"default":false},"highlightColor":{"name":"highlightColor","description":"Hex string with highlight color, if not provided uses the labels color","type":"string","required":false},"showLabels":{"name":"showLabels","description":"Whether or not to show labels next to the region; unset (by default) — use editor settings; true/false — override settings","type":["true","false"],"required":false},"granularity":{"name":"granularity","description":"Control region selection granularity","type":["symbol","word","sentence","paragraph"],"required":false}}},"Image":{"name":"Image","description":"The `Image` tag shows an image on the page. Use for all image annotation tasks to display an image on the labeling interface.\\n\\nUse with the following data types: images.\\n\\nWhen you annotate image regions with this tag, the annotations are saved as percentages of the original size of the image, from 0-100.","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"value":{"name":"value","description":"Data field containing a path or URL to the image","type":"string","required":true},"valueList":{"name":"valueList","description":"References a variable that holds a list of image URLs","type":"string","required":false},"smoothing":{"name":"smoothing","description":"Enable smoothing, by default it uses user settings","type":["true","false"],"required":false},"width":{"name":"width","description":"Image width","type":"string","required":false,"default":"100%"},"maxWidth":{"name":"maxWidth","description":"Maximum image width","type":"string","required":false,"default":"750px"},"zoom":{"name":"zoom","description":"Enable zooming an image with the mouse wheel","type":["true","false"],"required":false,"default":false},"negativeZoom":{"name":"negativeZoom","description":"Enable zooming out an image","type":["true","false"],"required":false,"default":false},"zoomBy":{"name":"zoomBy","description":"Scale factor","type":"float","required":false,"default":1.1},"grid":{"name":"grid","description":"Whether to show a grid","type":["true","false"],"required":false,"default":false},"gridSize":{"name":"gridSize","description":"Specify size of the grid","type":"number","required":false,"default":30},"gridColor":{"name":"gridColor","description":"Color of the grid in hex, opacity is 0.15","type":"string","required":false,"default":"#EEEEF4"},"zoomControl":{"name":"zoomControl","description":"Show zoom controls in toolbar","type":["true","false"],"required":false,"default":false},"brightnessControl":{"name":"brightnessControl","description":"Show brightness control in toolbar","type":["true","false"],"required":false,"default":false},"contrastControl":{"name":"contrastControl","description":"Show contrast control in toolbar","type":["true","false"],"required":false,"default":false},"rotateControl":{"name":"rotateControl","description":"Show rotate control in toolbar","type":["true","false"],"required":false,"default":false},"crosshair":{"name":"crosshair","description":"Show crosshair cursor","type":["true","false"],"required":false,"default":false},"horizontalAlignment":{"name":"horizontalAlignment","description":"Where to align image horizontally. Can be one of \\"left\\", \\"center\\", or \\"right\\"","type":["left","center","right"],"required":false,"default":"left"},"verticalAlignment":{"name":"verticalAlignment","description":"Where to align image vertically. Can be one of \\"top\\", \\"center\\", or \\"bottom\\"","type":["top","center","bottom"],"required":false,"default":"top"},"defaultZoom":{"name":"defaultZoom","description":"Specify the initial zoom of the image within the viewport while preserving its ratio. Can be one of \\"auto\\", \\"original\\", or \\"fit\\"","type":["auto","original","fit"],"required":false,"default":"fit"},"crossOrigin":{"name":"crossOrigin","description":"Configures CORS cross domain behavior for this image, either \\"none\\", \\"anonymous\\", or \\"use-credentials\\", similar to [DOM `img` crossOrigin property](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/crossOrigin).","type":["none","anonymous","use-credentials"],"required":false,"default":"none"}}},"List":{"name":"List","description":"The `List` tag is used to display a list of similar items like articles, search results, etc. Task data in the `value` parameter should be an array of objects with `id`, `title`, `body`, and `html` fields.\\n\\nIt\'s much more lightweight to use `List` than to group other tags like Text. Also, you can attach classifications to provide additional data about this list.\\n\\nThe `List` tag can be used with the `Ranker` tag to rank items or pick relevant items from a list.\\nItems can be styled in `Style` tag by using `.htx-ranker-item` class.","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"value":{"name":"value","description":"Data field containing a JSON with array of objects (id, title, body) to rank","type":"string","required":true},"title":{"name":"title","description":"Title of the list","type":"string","required":false}}},"Paragraphs":{"name":"Paragraphs","description":"The `Paragraphs` tag displays paragraphs of text on the labeling interface. Use to label dialogue transcripts for NLP and NER projects.\\nThe `Paragraphs` tag expects task data formatted as an array of objects like the following:\\n[{ $nameKey: \\"Author name\\", $textKey: \\"Text\\" }, ... ]\\n\\nUse with the following data types: text.","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"value":{"name":"value","description":"Data field containing the paragraph content","type":"string","required":true},"valueType":{"name":"valueType","description":"Whether the data is stored directly in uploaded JSON data or needs to be loaded from a URL","type":["json","url"],"required":false,"default":"json"},"audioUrl":{"name":"audioUrl","description":"Audio to sync phrases with","type":"string","required":false},"sync":{"name":"sync","description":"Object name to sync with","type":"string","required":false},"showPlayer":{"name":"showPlayer","description":"Whether to show audio player above the paragraphs. Ignored if sync object is audio","type":["true","false"],"required":false,"default":false},"saveTextResult":{"name":"saveTextResult","description":"Whether to store labeled text along with the results. By default, doesn\'t store text for `valueType=url`","type":["no","yes"],"required":false,"default":"yes"},"layout":{"name":"layout","description":"Whether to use a dialogue-style layout or not","type":["none","dialogue"],"required":false,"default":"none"},"nameKey":{"name":"nameKey","description":"The key field to use for name","type":"string","required":false,"default":"author"},"textKey":{"name":"textKey","description":"The key field to use for the text","type":"string","required":false,"default":"text"},"contextScroll":{"name":"contextScroll","description":"Turn on contextual scroll mode","type":["true","false"],"required":false,"default":false}}},"Table":{"name":"Table","description":"The `Table` tag is used to display object keys and values in a table.","attrs":{"value":{"name":"value","description":"Data field value containing JSON type for Table","type":"string","required":true},"valueType":{"name":"valueType","description":"Value to define the data type in Table","type":"string","required":false}}},"Text":{"name":"Text","description":"The `Text` tag shows text that can be labeled. Use to display any type of text on the labeling interface.\\nYou can use `` to preserve all spaces in the text, otherwise spaces are trimmed when displayed and saved in the results.\\nEvery space in the text sample is counted when calculating result offsets, for example for NER labeling tasks.\\n\\nUse with the following data types: text.","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"value":{"name":"value","description":"Data field containing text or a UR","type":"string","required":true},"valueType":{"name":"valueType","description":"Whether the text is stored directly in uploaded data or needs to be loaded from a URL","type":["url","text"],"required":false,"default":"text"},"saveTextResult":{"name":"saveTextResult","description":"Whether to store labeled text along with the results. By default, doesn\'t store text for `valueType=url`","type":["yes","no"],"required":false},"encoding":{"name":"encoding","description":"How to decode values from encoded strings","type":["none","base64","base64unicode"],"required":false},"selectionEnabled":{"name":"selectionEnabled","description":"Enable or disable selection","type":["true","false"],"required":false,"default":true},"highlightColor":{"name":"highlightColor","description":"Hex string with highlight color, if not provided uses the labels color","type":"string","required":false},"showLabels":{"name":"showLabels","description":"Whether or not to show labels next to the region; unset (by default) — use editor settings; true/false — override settings","type":["true","false"],"required":false},"granularity":{"name":"granularity","description":"Control region selection granularity","type":["symbol","word","sentence","paragraph"],"required":false}}},"TimeSeries":{"name":"TimeSeries","description":"The `TimeSeries` tag can be used to label time series data. Read more about Time Series Labeling on [the time series template page](../templates/time_series.html).\\n\\nNote: The time axis in your data must be sorted, otherwise the TimeSeries tag does not work.\\nTo use autogenerated indices as time axes, don\'t use the `timeColumn` parameter.\\n\\nUse with the following data types: time series.","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"value":{"name":"value","description":"Key used to look up the data, either URLs for your time-series if valueType=url, otherwise expects JSON","type":"string","required":true},"valueType":{"name":"valueType","description":"Format of time series data provided. If set to \\"url\\" then Label Studio loads value references inside `value` key, otherwise it expects JSON.","type":["url","json"],"required":false,"default":"url"},"timeColumn":{"name":"timeColumn","description":"Column name or index that provides temporal values. If your time series data has no temporal column then one is automatically generated.","type":"string","required":false},"timeFormat":{"name":"timeFormat","description":"Pattern used to parse values inside timeColumn, parsing is provided by d3, and follows `strftime` implementation","type":"string","required":false},"timeDisplayFormat":{"name":"timeDisplayFormat","description":"Format used to display temporal value. Can be a number or a date. If a temporal column is a date, use strftime to format it. If it\'s a number, use [d3 number](https://github.com/d3/d3-format#locale_format) formatting.","type":"string","required":false},"durationDisplayFormat":{"name":"durationDisplayFormat","description":"Format used to display temporal duration value for brush range. If the temporal column is a date, use strftime to format it. If it\'s a number, use [d3 number](https://github.com/d3/d3-format#locale_format) formatting.","type":"string","required":false},"sep":{"name":"sep","description":"Separator for your CSV file.","type":"string","required":false,"default":","},"overviewChannels":{"name":"overviewChannels","description":"Comma-separated list of channel names or indexes displayed in overview.","type":"string","required":false},"overviewWidth":{"name":"overviewWidth","description":"Default width of overview window in percents","type":"string","required":false,"default":"25%"},"fixedScale":{"name":"fixedScale","description":"Whether to scale y-axis to the maximum to fit all the values. If false, current view scales to fit only the displayed values.","type":["true","false"],"required":false,"default":false}}},"Channel":{"name":"Channel","description":"Channel tag can be used to label time series data","attrs":{"column":{"name":"column","description":"column name or index","type":"string","required":true},"legend":{"name":"legend","description":"display name of the channel","type":"string","required":false},"units":{"name":"units","description":"display units name","type":"string","required":false},"displayFormat":{"name":"displayFormat","description":"format string for the values, uses d3-format:
\\n `[,][.precision][f\\\\|%]`
\\n `,` - group thousands with separator (from locale): `,` (12345.6 -> 12,345.6) `,.2f` (12345.6 -> 12,345.60)
\\n `.precision` - precision for `f\\\\|%` type, significant digits for empty type:
\\n `.3f` (12.3456 -> 12.345, 1000 -> 1000.000)
\\n `.3` (12.3456 -> 12.3, 1.2345 -> 1.23, 12345 -> 1.23e+4)
\\n `f` - treat as float, default precision is .6: `f` (12 -> 12.000000) `.2f` (12 -> 12.00) `.0f` (12.34 -> 12)
\\n `%` - treat as percents and format accordingly: `%.0` (0.128 -> 13%) `%.1` (1.2345 -> 123.4%)","type":"string","required":false},"height":{"name":"height","description":"height of the plot","type":"number","required":false},"strokeColor":{"name":"strokeColor","description":"plot stroke color, expects hex value","type":"string","required":false,"default":"#f48a42"},"strokeWidth":{"name":"strokeWidth","description":"plot stroke width","type":"number","required":false,"default":1},"markerColor":{"name":"markerColor","description":"plot stroke color, expects hex value","type":"string","required":false,"default":"#f48a42"},"markerSize":{"name":"markerSize","description":"plot stroke width","type":"number","required":false,"default":0},"markerSymbol":{"name":"markerSymbol","description":"plot stroke width","type":"number","required":false,"default":"circle"},"timeRange":{"name":"timeRange","description":"data range of x-axis / time axis","type":"string","required":false},"dataRange":{"name":"dataRange","description":"data range of y-axis / data axis","type":"string","required":false},"showAxis":{"name":"showAxis","description":"show or bide both axis","type":"string","required":false},"fixedScale":{"name":"fixedScale","description":"if false current view scales to fit only displayed values; if given overwrites TimeSeries\' fixedScale","type":["true","false"],"required":false}}},"Video":{"name":"Video","description":"Video tag plays a simple video file. Use for video annotation tasks such as classification and transcription.\\n\\nUse with the following data types: video","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"value":{"name":"value","description":"URL of the video","type":"string","required":true},"frameRate":{"name":"frameRate","description":"video frame rate per second; default is 24; can use task data like `$fps`","type":"number","required":false,"default":24},"sync":{"name":"sync","description":"object name to sync with","type":"string","required":false},"muted":{"name":"muted","description":"muted video","type":["true","false"],"required":false,"default":false},"height":{"name":"height","description":"height of the video player","type":"number","required":false,"default":600},"timelineHeight":{"name":"timelineHeight","description":"height of the timeline with regions","type":"number","required":false,"default":64}}},"Brush":{"name":"Brush","description":"The `Brush` tag is used for image segmentation tasks where you want to apply a mask or use a brush to draw a region on the image.\\n\\nUse with the following data types: image.","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"toName":{"name":"toName","description":"Name of the image to label","type":"string","required":true},"choice":{"name":"choice","description":"Configure whether the data labeler can select one or multiple labels","type":["single","multiple"],"required":false,"default":"single"},"maxUsages":{"name":"maxUsages","description":"Maximum number of times a label can be used per task","type":"number","required":false},"showInline":{"name":"showInline","description":"Show labels in the same visual line","type":["true","false"],"required":false,"default":true},"smart":{"name":"smart","description":"Show smart tool for interactive pre-annotations","type":["true","false"],"required":false},"smartOnly":{"name":"smartOnly","description":"Only show smart tool for interactive pre-annotations","type":["true","false"],"required":false}}},"BrushLabels":{"name":"BrushLabels","description":"The `BrushLabels` tag for image segmentation tasks is used in the area where you want to apply a mask or use a brush to draw a region on the image.\\n\\nUse with the following data types: image.","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"toName":{"name":"toName","description":"Name of the image to label","type":"string","required":true},"choice":{"name":"choice","description":"Configure whether the data labeler can select one or multiple labels","type":["single","multiple"],"required":false,"default":"single"},"maxUsages":{"name":"maxUsages","description":"Maximum number of times a label can be used per task","type":"number","required":false},"showInline":{"name":"showInline","description":"Show labels in the same visual line","type":["true","false"],"required":false,"default":true}}},"Choice":{"name":"Choice","description":"The `Choice` tag represents a single choice for annotations. Use with the `Choices` tag or `Taxonomy` tag to provide specific choice options.","attrs":{"value":{"name":"value","description":"Choice value","type":"string","required":true},"selected":{"name":"selected","description":"Specify whether to preselect this choice on the labeling interface","type":["true","false"],"required":false},"alias":{"name":"alias","description":"Alias for the choice. If used, the alias replaces the choice value in the annotation results. Alias does not display in the interface.","type":"string","required":false},"style":{"name":"style","description":"CSS style of the checkbox element","type":"style","required":false},"hotkey":{"name":"hotkey","description":"Hotkey for the selection","type":"string","required":false},"html":{"name":"html","description":"Can be used to show enriched content, it has higher priority than `value`, however `value` will be used in the exported result (should be properly escaped)","type":"string","required":false},"hint":{"name":"hint","description":"Hint for choice on hover","type":"string","required":false},"color":{"name":"color","description":"Color for Taxonomy item","type":"string","required":false}}},"Choices":{"name":"Choices","description":"The `Choices` tag is used to create a group of choices, with radio buttons or checkboxes. It can be used for single or multi-class classification. Also, it is used for advanced classification tasks where annotators can choose one or multiple answers.\\n\\nChoices can have dynamic value to load labels from task. This task data should contain a list of options to create underlying ``s. All the parameters from options will be transferred to corresponding tags.\\n\\nThe `Choices` tag can be used with any data types.","attrs":{"name":{"name":"name","description":"Name of the group of choices","type":"string","required":true},"toName":{"name":"toName","description":"Name of the data item that you want to label","type":"string","required":true},"choice":{"name":"choice","description":"Single or multi-class classification","type":["single","single-radio","multiple"],"required":false,"default":"single"},"showInline":{"name":"showInline","description":"Show choices in the same visual line","type":["true","false"],"required":false,"default":false},"required":{"name":"required","description":"Validate whether a choice has been selected","type":["true","false"],"required":false,"default":false},"requiredMessage":{"name":"requiredMessage","description":"Show a message if validation fails","type":"string","required":false},"visibleWhen":{"name":"visibleWhen","description":"Control visibility of the choices. Can also be used with `when*` attributes below to narrow down visibility","type":["region-selected","no-region-selected","choice-selected","choice-unselected"],"required":false},"whenTagName":{"name":"whenTagName","description":"Use with visibleWhen. Narrow down visibility by name of the tag. For regions, use the name of the object tag, for choices, use the name of the choices tag","type":"string","required":false},"whenLabelValue":{"name":"whenLabelValue","description":"Use with visibleWhen=\\"region-selected\\". Narrow down visibility by label value","type":"string","required":false},"whenChoiceValue":{"name":"whenChoiceValue","description":"Use with visibleWhen (\\"choice-selected\\" or \\"choice-unselected\\") and whenTagName, both are required. Narrow down visibility by choice value","type":"string","required":false},"perRegion":{"name":"perRegion","description":"Use this tag to select a choice for a specific region instead of the entire task","type":["true","false"],"required":false},"perItem":{"name":"perItem","description":"Use this tag to select a choice for a specific item inside the object instead of the whole object","type":["true","false"],"required":false},"value":{"name":"value","description":"Task data field containing a list of dynamically loaded choices (see example below)","type":"string","required":false},"allowNested":{"name":"allowNested","description":"Allow to use `children` field in dynamic choices to nest them. Submitted result will contain array of arrays, every item is a list of values from topmost parent choice down to selected one.","type":["true","false"],"required":false}}},"DateTime":{"name":"DateTime","description":"The DateTime tag adds date and time selection to the labeling interface. Use this tag to add a date, timestamp, month, or year to an annotation.\\n\\nUse with the following data types: audio, image, HTML, paragraph, text, time series, video","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"toName":{"name":"toName","description":"Name of the element that you want to label","type":"string","required":true},"only":{"name":"only","description":"Comma-separated list of parts to display (date, time, month, year)\\n date and month/year can\'t be used together. The date option takes precedence","type":"string","required":true},"format":{"name":"format","description":"Input/output strftime format for datetime (internally it\'s always ISO);\\n when both date and time are displayed, by default shows ISO with a \\"T\\" separator;\\n when only date is displayed, by default shows ISO date;\\n when only time is displayed, by default shows a 24 hour time with leading zero","type":"string","required":true},"min":{"name":"min","description":"Set a minimum datetime value for only=date in ISO format, or minimum year for only=year","type":"string","required":false},"max":{"name":"max","description":"Set a maximum datetime value for only=date in ISO format, or maximum year for only=year","type":"string","required":false},"required":{"name":"required","description":"Whether datetime is required or not","type":["true","false"],"required":false,"default":false},"requiredMessage":{"name":"requiredMessage","description":"Message to show if validation fails","type":"string","required":false},"perRegion":{"name":"perRegion","description":"Use this option to label regions instead of the whole object","type":["true","false"],"required":false},"perItem":{"name":"perItem","description":"Use this option to label items inside the object instead of the whole object","type":["true","false"],"required":false}}},"Ellipse":{"name":"Ellipse","description":"The `Ellipse` tag is used to add an elliptical bounding box to an image. Use for bounding box image segmentation tasks with ellipses.\\n\\nUse with the following data types: image.","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"toName":{"name":"toName","description":"Name of the image to label","type":"string","required":true},"opacity":{"name":"opacity","description":"Opacity of ellipse","type":"float","required":false,"default":0.6},"fillColor":{"name":"fillColor","description":"Ellipse fill color in hexadecimal","type":"string","required":false},"strokeColor":{"name":"strokeColor","description":"Stroke color in hexadecimal","type":"string","required":false,"default":"#f48a42"},"strokeWidth":{"name":"strokeWidth","description":"Width of the stroke","type":"number","required":false,"default":1},"canRotate":{"name":"canRotate","description":"Show or hide rotation control","type":["true","false"],"required":false,"default":true},"smart":{"name":"smart","description":"Show smart tool for interactive pre-annotations","type":["true","false"],"required":false},"smartOnly":{"name":"smartOnly","description":"Only show smart tool for interactive pre-annotations","type":["true","false"],"required":false}}},"EllipseLabels":{"name":"EllipseLabels","description":"The `EllipseLabels` tag creates labeled ellipses. Use to apply labels to ellipses for semantic segmentation.\\n\\nUse with the following data types: image.","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"toName":{"name":"toName","description":"Name of the image to label","type":"string","required":true},"choice":{"name":"choice","description":"Configure whether you can select one or multiple labels","type":["single","multiple"],"required":false,"default":"single"},"maxUsages":{"name":"maxUsages","description":"Maximum number of times a label can be used per task","type":"number","required":false},"showInline":{"name":"showInline","description":"Show labels in the same visual line","type":["true","false"],"required":false,"default":true},"opacity":{"name":"opacity","description":"Opacity of ellipse","type":"float","required":false,"default":0.6},"fillColor":{"name":"fillColor","description":"Ellipse fill color in hexadecimal","type":"string","required":false},"strokeColor":{"name":"strokeColor","description":"Stroke color in hexadecimal","type":"string","required":false},"strokeWidth":{"name":"strokeWidth","description":"Width of stroke","type":"number","required":false,"default":1},"canRotate":{"name":"canRotate","description":"Show or hide rotation option","type":["true","false"],"required":false,"default":true}}},"HyperTextLabels":{"name":"HyperTextLabels","description":"The `HyperTextLabels` tag creates labeled hyper text (HTML). Use with the HyperText object tag to annotate HTML text or HTML elements for named entity recognition tasks.\\n\\nUse with the following data types: HTML.","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"toName":{"name":"toName","description":"Name of the HTML element to label","type":"string","required":true},"choice":{"name":"choice","description":"Configure if you can select one or multiple labels","type":["single","multiple"],"required":false,"default":"single"},"maxUsages":{"name":"maxUsages","description":"Maximum number of times a label can be used per task","type":"number","required":false},"showInline":{"name":"showInline","description":"Show labels in the same visual line","type":["true","false"],"required":false,"default":true}}},"KeyPoint":{"name":"KeyPoint","description":"The `KeyPoint` tag is used to add a key point to an image without selecting a label. This can be useful when you have only one label to assign to the key point.\\n\\nUse with the following data types: image.","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"toName":{"name":"toName","description":"Name of the image to label","type":"string","required":true},"opacity":{"name":"opacity","description":"Opacity of keypoint","type":"float","required":false,"default":0.9},"fillColor":{"name":"fillColor","description":"Keypoint fill color in hexadecimal","type":"string","required":false,"default":"#8bad00"},"strokeWidth":{"name":"strokeWidth","description":"Width of the stroke","type":"number","required":false,"default":1},"strokeColor":{"name":"strokeColor","description":"Keypoint stroke color in hexadecimal","type":"string","required":false,"default":"#8bad00"},"smart":{"name":"smart","description":"Show smart tool for interactive pre-annotations","type":["true","false"],"required":false},"smartOnly":{"name":"smartOnly","description":"Only show smart tool for interactive pre-annotations","type":["true","false"],"required":false},"snap":{"name":"snap","description":"Snap keypoint to image pixels","type":["pixel","none"],"required":false,"default":"none"}}},"KeyPointLabels":{"name":"KeyPointLabels","description":"The `KeyPointLabels` tag creates labeled keypoints. Use to apply labels to identified key points, such as identifying facial features for a facial recognition labeling project.\\n\\nUse with the following data types: image.","attrs":{"name":{"name":"name","description":"Name of the element","type":"string","required":true},"toName":{"name":"toName","description":"Name of the image to label","type":"string","required":true},"choice":{"name":"choice","description":"Configure whether you can select one or multiple labels","type":["single","multiple"],"required":false,"default":"single"},"maxUsages":{"name":"maxUsages","description":"Maximum number of times a label can be used per task","type":"number","required":false},"showInline":{"name":"showInline","description":"Show labels in the same visual line","type":["true","false"],"required":false,"default":true},"opacity":{"name":"opacity","description":"Opacity of the keypoint","type":"float","required":false,"default":0.9},"strokeWidth":{"name":"strokeWidth","description":"Width of the stroke","type":"number","required":false,"default":1},"snap":{"name":"snap","description":"Snap keypoint to image pixels","type":["pixel","none"],"required":false,"default":"none"}}},"Label":{"name":"Label","description":"The `Label` tag represents a single label. Use with the `Labels` tag, including `BrushLabels`, `EllipseLabels`, `HyperTextLabels`, `KeyPointLabels`, and other `Labels` tags to specify the value of a specific label.","attrs":{"value":{"name":"value","description":"Value of the label","type":"string","required":true},"selected":{"name":"selected","description":"Whether to preselect this label","type":["true","false"],"required":false,"default":false},"maxUsages":{"name":"maxUsages","description":"Maximum number of times this label can be used per task","type":"number","required":false},"hint":{"name":"hint","description":"Hint for label on hover","type":"string","required":false},"hotkey":{"name":"hotkey","description":"Hotkey to use for the label. Automatically generated if not specified","type":"string","required":false},"alias":{"name":"alias","description":"Label alias","type":"string","required":false},"showAlias":{"name":"showAlias","description":"Whether to show alias inside label text","type":["true","false"],"required":false,"default":false},"aliasStyle":{"name":"aliasStyle","description":"CSS style for the alias","type":"string","required":false,"default":"opacity:0.6"},"size":{"name":"size","description":"Size of text in the label","type":"string","required":false,"default":"medium"},"background":{"name":"background","description":"Background color of an active label in hexadecimal","type":"string","required":false,"default":"#36B37E"},"selectedColor":{"name":"selectedColor","description":"Color of text in an active label in hexadecimal","type":"string","required":false,"default":"#ffffff"},"granularity":{"name":"granularity","description":"Set control based on symbol or word selection (only for Text)","type":["symbol","word"],"required":false},"html":{"name":"html","description":"HTML code is used to display label button instead of raw text provided by `value` (should be properly escaped)","type":"string","required":false},"category":{"name":"category","description":"Category is used in the export (in label-studio-converter lib) to make an order of labels for YOLO and COCO","type":"int","required":false}}},"Labels":{"name":"Labels","description":"The `Labels` tag provides a set of labels for labeling regions in tasks for machine learning and data science projects. Use the `Labels` tag to create a set of labels that can be assigned to identified region and specify the values of labels to assign to regions.\\n\\nAll types of Labels can have dynamic value to load labels from task. This task data should contain a list of options to create underlying `