@bynder/compact-view 3.3.2 → 3.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components.d.ts +7 -0
- package/components.js +26 -26
- package/index.js +27 -27
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* bynder-compactview v3.3.
|
|
3
|
+
* bynder-compactview v3.3.3
|
|
4
4
|
* (c) 2023 Bynder
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import*as e from"react";import t,{createContext as n,useState as r,useMemo as o,useContext as i,useEffect as a,useRef as c,useLayoutEffect as l,createElement as s,useCallback as u,forwardRef as d,cloneElement as p,useReducer as f,Component as m}from"react";import h,{createPortal as g}from"react-dom";var v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},y=function(e){return e&&e.Math==Math&&e},b=y("object"==typeof globalThis&&globalThis)||y("object"==typeof window&&window)||y("object"==typeof self&&self)||y("object"==typeof v&&v)||Function("return this")(),w={},x=function(e){try{return!!e()}catch(e){return!0}},E=!x((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),C={},k={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,_=S&&!k.call({1:2},1);C.f=_?function(e){var t=S(this,e);return!!t&&t.enumerable}:k;var I=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},B={}.toString,T=function(e){return B.call(e).slice(8,-1)},N=T,z="".split,D=x((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==N(e)?z.call(e,""):Object(e)}:Object,P=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},O=D,A=P,R=function(e){return O(A(e))},F=function(e){return"object"==typeof e?null!==e:"function"==typeof e},L=F,M=function(e,t){if(!L(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!L(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!L(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!L(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},j={}.hasOwnProperty,H=function(e,t){return j.call(e,t)},U=F,V=b.document,$=U(V)&&U(V.createElement),W=function(e){return $?V.createElement(e):{}},G=W,q=!E&&!x((function(){return 7!=Object.defineProperty(G("div"),"a",{get:function(){return 7}}).a})),Y=E,K=C,X=I,Z=R,J=M,Q=H,ee=q,te=Object.getOwnPropertyDescriptor;w.f=Y?te:function(e,t){if(e=Z(e),t=J(t,!0),ee)try{return te(e,t)}catch(e){}if(Q(e,t))return X(!K.f.call(e,t),e[t])};var ne={},re=F,oe=function(e){if(!re(e))throw TypeError(String(e)+" is not an object");return e},ie=E,ae=q,ce=oe,le=M,se=Object.defineProperty;ne.f=ie?se:function(e,t,n){if(ce(e),t=le(t,!0),ce(n),ae)try{return se(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var ue=ne,de=I,pe=E?function(e,t,n){return ue.f(e,t,de(1,n))}:function(e,t,n){return e[t]=n,e},fe={exports:{}},me=b,he=pe,ge=function(e,t){try{he(me,e,t)}catch(n){me[e]=t}return t},ve=ge,ye=b["__core-js_shared__"]||ve("__core-js_shared__",{}),be=ye,we=Function.toString;"function"!=typeof be.inspectSource&&(be.inspectSource=function(e){return we.call(e)});var xe=be.inspectSource,Ee=xe,Ce=b.WeakMap,ke="function"==typeof Ce&&/native code/.test(Ee(Ce)),Se={exports:{}},_e=ye;(Se.exports=function(e,t){return _e[e]||(_e[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var Ie,Be,Te,Ne=0,ze=Math.random(),De=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++Ne+ze).toString(36)},Pe=Se.exports,Oe=De,Ae=Pe("keys"),Re=function(e){return Ae[e]||(Ae[e]=Oe(e))},Fe={},Le=ke,Me=F,je=pe,He=H,Ue=Re,Ve=Fe,$e=b.WeakMap;if(Le){var We=new $e,Ge=We.get,qe=We.has,Ye=We.set;Ie=function(e,t){return Ye.call(We,e,t),t},Be=function(e){return Ge.call(We,e)||{}},Te=function(e){return qe.call(We,e)}}else{var Ke=Ue("state");Ve[Ke]=!0,Ie=function(e,t){return je(e,Ke,t),t},Be=function(e){return He(e,Ke)?e[Ke]:{}},Te=function(e){return He(e,Ke)}}var Xe={set:Ie,get:Be,has:Te,enforce:function(e){return Te(e)?Be(e):Ie(e,{})},getterFor:function(e){return function(t){var n;if(!Me(t)||(n=Be(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Ze=b,Je=pe,Qe=H,et=ge,tt=xe,nt=Xe.get,rt=Xe.enforce,ot=String(String).split("String");(fe.exports=function(e,t,n,r){var o=!!r&&!!r.unsafe,i=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||Qe(n,"name")||Je(n,"name",t),rt(n).source=ot.join("string"==typeof t?t:"")),e!==Ze?(o?!a&&e[t]&&(i=!0):delete e[t],i?e[t]=n:Je(e,t,n)):i?e[t]=n:et(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&nt(this).source||tt(this)}));var it=b,at=b,ct=function(e){return"function"==typeof e?e:void 0},lt=function(e,t){return arguments.length<2?ct(it[e])||ct(at[e]):it[e]&&it[e][t]||at[e]&&at[e][t]},st={},ut=Math.ceil,dt=Math.floor,pt=function(e){return isNaN(e=+e)?0:(e>0?dt:ut)(e)},ft=pt,mt=Math.min,ht=function(e){return e>0?mt(ft(e),9007199254740991):0},gt=pt,vt=Math.max,yt=Math.min,bt=R,wt=ht,xt=function(e){return function(t,n,r){var o,i=bt(t),a=wt(i.length),c=function(e,t){var n=gt(e);return n<0?vt(n+t,0):yt(n,t)}(r,a);if(e&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===n)return e||c||0;return!e&&-1}},Et={includes:xt(!0),indexOf:xt(!1)},Ct=H,kt=R,St=Et.indexOf,_t=Fe,It=function(e,t){var n,r=kt(e),o=0,i=[];for(n in r)!Ct(_t,n)&&Ct(r,n)&&i.push(n);for(;t.length>o;)Ct(r,n=t[o++])&&(~St(i,n)||i.push(n));return i},Bt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tt=It,Nt=Bt.concat("length","prototype");st.f=Object.getOwnPropertyNames||function(e){return Tt(e,Nt)};var zt={};zt.f=Object.getOwnPropertySymbols;var Dt,Pt=st,Ot=zt,At=oe,Rt=lt("Reflect","ownKeys")||function(e){var t=Pt.f(At(e)),n=Ot.f;return n?t.concat(n(e)):t},Ft=H,Lt=Rt,Mt=w,jt=ne,Ht=x,Ut=/#|\.prototype\./,Vt=function(e,t){var n=Wt[$t(e)];return n==qt||n!=Gt&&("function"==typeof t?Ht(t):!!t)},$t=Vt.normalize=function(e){return String(e).replace(Ut,".").toLowerCase()},Wt=Vt.data={},Gt=Vt.NATIVE="N",qt=Vt.POLYFILL="P",Yt=Vt,Kt=b,Xt=w.f,Zt=pe,Jt=fe.exports,Qt=ge,en=function(e,t){for(var n=Lt(t),r=jt.f,o=Mt.f,i=0;i<n.length;i++){var a=n[i];Ft(e,a)||r(e,a,o(t,a))}},tn=Yt,nn=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},rn=P,on=T,an=Array.isArray||function(e){return"Array"==on(e)},cn=x,ln=!!Object.getOwnPropertySymbols&&!cn((function(){return!String(Symbol())})),sn=ln&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,un=b,dn=Se.exports,pn=H,fn=De,mn=ln,hn=sn,gn=dn("wks"),vn=un.Symbol,yn=hn?vn:vn&&vn.withoutSetter||fn,bn=function(e){return pn(gn,e)||(mn&&pn(vn,e)?gn[e]=vn[e]:gn[e]=yn("Symbol."+e)),gn[e]},wn=F,xn=an,En=bn("species"),Cn=nn,kn=D,Sn=ht,_n=function(e,t){var n;return xn(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!xn(n.prototype)?wn(n)&&null===(n=n[En])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},In=[].push,Bn=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=5==e||i;return function(c,l,s,u){for(var d,p,f=Object(rn(c)),m=kn(f),h=Cn(l,s,3),g=Sn(m.length),v=0,y=u||_n,b=t?y(c,g):n?y(c,0):void 0;g>v;v++)if((a||v in m)&&(p=h(d=m[v],v,f),e))if(t)b[v]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return v;case 2:In.call(b,d)}else if(o)return!1;return i?-1:r||o?o:b}},Tn={forEach:Bn(0),map:Bn(1),filter:Bn(2),some:Bn(3),every:Bn(4),find:Bn(5),findIndex:Bn(6)},Nn=It,zn=Bt,Dn=Object.keys||function(e){return Nn(e,zn)},Pn=ne,On=oe,An=Dn,Rn=E?Object.defineProperties:function(e,t){On(e);for(var n,r=An(t),o=r.length,i=0;o>i;)Pn.f(e,n=r[i++],t[n]);return e},Fn=lt("document","documentElement"),Ln=oe,Mn=Rn,jn=Bt,Hn=Fe,Un=Fn,Vn=W,$n=Re("IE_PROTO"),Wn=function(){},Gn=function(e){return"<script>"+e+"<\/script>"},qn=function(){try{Dt=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;qn=Dt?function(e){e.write(Gn("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Dt):((t=Vn("iframe")).style.display="none",Un.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Gn("document.F=Object")),e.close(),e.F);for(var n=jn.length;n--;)delete qn.prototype[jn[n]];return qn()};Hn[$n]=!0;var Yn=Object.create||function(e,t){var n;return null!==e?(Wn.prototype=Ln(e),n=new Wn,Wn.prototype=null,n[$n]=e):n=qn(),void 0===t?n:Mn(n,t)},Kn=Yn,Xn=ne,Zn=bn("unscopables"),Jn=Array.prototype;null==Jn[Zn]&&Xn.f(Jn,Zn,{configurable:!0,value:Kn(null)});var Qn,er=E,tr=x,nr=H,rr=Object.defineProperty,or={},ir=function(e){throw e},ar=Tn.find,cr=!0,lr=function(e,t){if(nr(or,e))return or[e];t||(t={});var n=[][e],r=!!nr(t,"ACCESSORS")&&t.ACCESSORS,o=nr(t,0)?t[0]:ir,i=nr(t,1)?t[1]:void 0;return or[e]=!!n&&!tr((function(){if(r&&!er)return!0;var e={length:-1};r?rr(e,1,{enumerable:!0,get:ir}):e[1]=1,n.call(e,o,i)}))}("find");"find"in[]&&Array(1).find((function(){cr=!1})),function(e,t){var n,r,o,i,a,c=e.target,l=e.global,s=e.stat;if(n=l?Kt:s?Kt[c]||Qt(c,{}):(Kt[c]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Xt(n,r))&&a.value:n[r],!tn(l?r:c+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;en(i,o)}(e.sham||o&&o.sham)&&Zt(i,"sham",!0),Jt(n,r,i,e)}}({target:"Array",proto:!0,forced:cr||!lr},{find:function(e){return ar(this,e,arguments.length>1?arguments[1]:void 0)}}),Qn="find",Jn[Zn][Qn]=!0;var sr=b,ur=nn,dr=Function.call;function pr(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}ur(dr,sr.Array.prototype.find,void 0),function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=window.document;n.prototype.THROTTLE_TIMEOUT=100,n.prototype.POLL_INTERVAL=null,n.prototype.USE_MUTATION_OBSERVER=!0,n.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},n.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},n.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},n.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},n.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},n.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},n.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(r(window,"resize",this._checkForIntersections,!0),r(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},n.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,o(window,"resize",this._checkForIntersections,!0),o(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},n.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),n=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var o=r.element,a=i(o),c=this._rootContainsTarget(o),l=r.entry,s=e&&c&&this._computeTargetAndRootIntersection(o,n),u=r.entry=new t({time:window.performance&&performance.now&&performance.now(),target:o,boundingClientRect:a,rootBounds:n,intersectionRect:s});l?e&&c?this._hasCrossedThreshold(l,u)&&this._queuedEntries.push(u):l&&l.isIntersecting&&this._queuedEntries.push(u):this._queuedEntries.push(u)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},n.prototype._computeTargetAndRootIntersection=function(t,n){if("none"!=window.getComputedStyle(t).display){for(var r,o,a,l,s,u,d,p,f=i(t),m=c(t),h=!1;!h;){var g=null,v=1==m.nodeType?window.getComputedStyle(m):{};if("none"==v.display)return;if(m==this.root||m==e?(h=!0,g=n):m!=e.body&&m!=e.documentElement&&"visible"!=v.overflow&&(g=i(m)),g&&(r=g,o=f,void 0,void 0,void 0,void 0,void 0,void 0,a=Math.max(r.top,o.top),l=Math.min(r.bottom,o.bottom),s=Math.max(r.left,o.left),p=l-a,!(f=(d=(u=Math.min(r.right,o.right))-s)>=0&&p>=0&&{top:a,bottom:l,left:s,right:u,width:d,height:p})))break;m=c(m)}return f}},n.prototype._getRootRect=function(){var t;if(this.root)t=i(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},n.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},n.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!=i<r)return!0}},n.prototype._rootIsInDom=function(){return!this.root||a(e,this.root)},n.prototype._rootContainsTarget=function(t){return a(this.root||e,t)},n.prototype._registerInstance=function(){},n.prototype._unregisterInstance=function(){},window.IntersectionObserver=n,window.IntersectionObserverEntry=t}function t(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function n(e,t){var n,r,o,i=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(i.root&&1!=i.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,o=null,function(){o||(o=setTimeout((function(){n(),o=null}),r))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" ")}function r(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function o(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function i(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function a(e,t){for(var n=t;n;){if(n==e)return!0;n=c(n)}return!1}function c(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}}();var fr={};function mr(){return pr()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:fr}function hr(e,t,n){var r=n||mr(),o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=t())}var gr=Object.prototype.toString;function vr(e){switch(gr.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return _r(e,Error)}}function yr(e,t){return gr.call(e)===`[object ${t}]`}function br(e){return yr(e,"ErrorEvent")}function wr(e){return yr(e,"DOMError")}function xr(e){return yr(e,"String")}function Er(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function Cr(e){return yr(e,"Object")}function kr(e){return"undefined"!=typeof Event&&_r(e,Event)}function Sr(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function _r(e,t){try{return e instanceof t}catch(e){return!1}}function Ir(e,t){try{let o=e;var n=[];let i=0,a=0;var r=" > ".length;let c;for(;o&&i++<5&&(c=Br(o,t),!("html"===c||i>1&&a+n.length*r+c.length>=80));)n.push(c),a+=c.length,o=o.parentNode;return n.reverse().join(" > ")}catch(e){return"<unknown>"}}function Br(e,t){var n=e,r=[];let o,i,a,c,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());var s=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(s&&s.length)s.forEach((e=>{r.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&r.push(`#${n.id}`),o=n.className,o&&xr(o))for(i=o.split(/\s+/),l=0;l<i.length;l++)r.push(`.${i[l]}`);var u=["type","name","title","alt"];for(l=0;l<u.length;l++)a=u[l],c=n.getAttribute(a),c&&r.push(`[${a}="${c}"]`);return r.join("")}class Tr extends Error{constructor(e){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype)}}var Nr=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function zr(e,t=!1){const{host:n,path:r,pass:o,port:i,projectId:a,protocol:c,publicKey:l}=e;return`${c}://${l}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${a}`}function Dr(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}var Pr=mr(),Or=["debug","info","warn","error","log","assert","trace"];function Ar(e){var t=mr();if(!("console"in t))return e();var n=t.console,r={};Or.forEach((e=>{var o=n[e]&&n[e].__sentry_original__;e in t.console&&o&&(r[e]=n[e],n[e]=o)}));try{return e()}finally{Object.keys(r).forEach((e=>{n[e]=r[e]}))}}function Rr(){let e=!1;var t={enable:()=>{e=!0},disable:()=>{e=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?Or.forEach((n=>{t[n]=(...t)=>{e&&Ar((()=>{Pr.console[n](`Sentry Logger [${n}]:`,...t)}))}})):Or.forEach((e=>{t[e]=()=>{}})),t}let Fr;function Lr(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.substr(0,t)}...`}function Mr(e,t){if(!Array.isArray(e))return"";var n=[];for(let t=0;t<e.length;t++){var r=e[t];try{n.push(String(r))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function jr(e,t){return!!xr(e)&&(yr(t,"RegExp")?t.test(e):"string"==typeof t&&-1!==e.indexOf(t))}function Hr(e,t,n){if(t in e){var r=e[t],o=n(r);if("function"==typeof o)try{Vr(o,r)}catch(e){}e[t]=o}}function Ur(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function Vr(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,Ur(e,"__sentry_original__",t)}function $r(e){return e.__sentry_original__}function Wr(e){if(vr(e))return{message:e.message,name:e.name,stack:e.stack,...qr(e)};if(kr(e)){var t={type:e.type,target:Gr(e.target),currentTarget:Gr(e.currentTarget),...qr(e)};return"undefined"!=typeof CustomEvent&&_r(e,CustomEvent)&&(t.detail=e.detail),t}return e}function Gr(e){try{return"undefined"!=typeof Element&&_r(e,Element)?Ir(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function qr(e){if("object"==typeof e&&null!==e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function Yr(e,t=40){var n=Object.keys(Wr(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Lr(n[0],t);for(let e=n.length;e>0;e--){var r=n.slice(0,e).join(", ");if(!(r.length>t))return e===n.length?r:Lr(r,t)}return""}function Kr(e){return Xr(e,new Map)}function Xr(e,t){if(Cr(e)){if(void 0!==(o=t.get(e)))return o;var n={};for(var r of(t.set(e,n),Object.keys(e)))void 0!==e[r]&&(n[r]=Xr(e[r],t));return n}var o;return Array.isArray(e)?void 0!==(o=t.get(e))?o:(n=[],t.set(e,n),e.forEach((e=>{n.push(Xr(e,t))})),n):e}function Zr(...e){var t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0)=>{var r=[];for(var o of e.split("\n").slice(n))for(var i of t){var a=i(o);if(a){r.push(a);break}}return function(e){if(!e.length)return[];let t=e;var n=t[0].function||"",r=t[t.length-1].function||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(t=t.slice(1)),-1!==r.indexOf("sentryWrapped")&&(t=t.slice(0,-1)),t.slice(0,50).map((e=>({...e,filename:e.filename||t[0].filename,function:e.function||"?"}))).reverse()}(r)}}function Jr(e){try{return e&&"function"==typeof e&&e.name||"<anonymous>"}catch(e){return"<anonymous>"}}function Qr(){if(!("fetch"in mr()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(e){return!1}}function eo(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}Fr="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?hr("logger",Rr):Rr();var to=mr(),no={},ro={};function oo(e,t){no[e]=no[e]||[],no[e].push(t),function(e){if(!ro[e])switch(ro[e]=!0,e){case"console":"console"in to&&Or.forEach((function(e){e in to.console&&Hr(to.console,e,(function(t){return function(...n){io("console",{args:n,level:e}),t&&t.apply(to.console,n)}}))}));break;case"dom":!function(){if("document"in to){var e=io.bind(null,"dom"),t=po(e,!0);to.document.addEventListener("click",t,!1),to.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{var n=to[t]&&to[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Hr(n,"addEventListener",(function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{var i=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=i[n]=i[n]||{refCount:0};if(!a.handler){var c=po(e);a.handler=c,t.call(this,n,c,o)}a.refCount+=1}catch(e){}return t.call(this,n,r,o)}})),Hr(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{var o=this.__sentry_instrumentation_handlers__||{},i=o[t];i&&(i.refCount-=1,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete o[t]),0===Object.keys(o).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}}();break;case"xhr":!function(){if("XMLHttpRequest"in to){var e=XMLHttpRequest.prototype;Hr(e,"open",(function(e){return function(...t){var n=this,r=t[1],o=n.__sentry_xhr__={method:xr(t[0])?t[0].toUpperCase():t[0],url:t[1]};xr(r)&&"POST"===o.method&&r.match(/sentry_key/)&&(n.__sentry_own_request__=!0);var i=function(){if(4===n.readyState){try{o.status_code=n.status}catch(e){}io("xhr",{args:t,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&"function"==typeof n.onreadystatechange?Hr(n,"onreadystatechange",(function(e){return function(...t){return i(),e.apply(n,t)}})):n.addEventListener("readystatechange",i),e.apply(n,t)}})),Hr(e,"send",(function(e){return function(...t){return this.__sentry_xhr__&&void 0!==t[0]&&(this.__sentry_xhr__.body=t[0]),io("xhr",{args:t,startTimestamp:Date.now(),xhr:this}),e.apply(this,t)}}))}}();break;case"fetch":(function(){if(!Qr())return!1;var e=mr();if(eo(e.fetch))return!0;let t=!1;var n=e.document;if(n&&"function"==typeof n.createElement)try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=eo(r.contentWindow.fetch)),n.head.removeChild(r)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return t})()&&Hr(to,"fetch",(function(e){return function(...t){var n={args:t,fetchData:{method:ao(t),url:co(t)},startTimestamp:Date.now()};return io("fetch",{...n}),e.apply(to,t).then((e=>(io("fetch",{...n,endTimestamp:Date.now(),response:e}),e)),(e=>{throw io("fetch",{...n,endTimestamp:Date.now(),error:e}),e}))}}));break;case"history":!function(){if(function(){var e=mr(),t=e.chrome,n=t&&t.app&&t.app.runtime,r="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!n&&r}()){var e=to.onpopstate;to.onpopstate=function(...t){var n=to.location.href,r=lo;if(lo=n,io("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(e){}},Hr(to.history,"pushState",t),Hr(to.history,"replaceState",t)}function t(e){return function(...t){var n=t.length>2?t[2]:void 0;if(n){var r=lo,o=String(n);lo=o,io("history",{from:r,to:o})}return e.apply(this,t)}}}();break;case"error":fo=to.onerror,to.onerror=function(e,t,n,r,o){return io("error",{column:r,error:o,line:n,msg:e,url:t}),!!fo&&fo.apply(this,arguments)};break;case"unhandledrejection":mo=to.onunhandledrejection,to.onunhandledrejection=function(e){return io("unhandledrejection",e),!mo||mo.apply(this,arguments)};break;default:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn("unknown instrumentation type:",e)}}(e)}function io(e,t){if(e&&no[e])for(var n of no[e]||[])try{n(t)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${Jr(n)}\nError:`,t)}}function ao(e=[]){return"Request"in to&&_r(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function co(e=[]){return"string"==typeof e[0]?e[0]:"Request"in to&&_r(e[0],Request)?e[0].url:String(e[0])}let lo,so,uo;function po(e,t=!1){return n=>{if(n&&uo!==n&&!function(e){if("keypress"!==e.type)return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)return!1}catch(e){}return!0}(n)){var r="keypress"===n.type?"input":n.type;(void 0===so||function(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(e){}return!1}(uo,n))&&(e({event:n,name:r,global:t}),uo=n),clearTimeout(so),so=to.setTimeout((()=>{so=void 0}),1e3)}}}let fo=null,mo=null;function ho(){var e=mr(),t=e.crypto||e.msCrypto;if(void 0!==t&&t.getRandomValues){var n=new Uint16Array(8);t.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=e=>{let t=e.toString(16);for(;t.length<4;)t=`0${t}`;return t};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(e=>{var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function go(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}function vo(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function yo(e){const{message:t,event_id:n}=e;if(t)return t;var r=vo(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function bo(e,t,n){var r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function wo(e,t){var n=vo(e);if(n){var r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){var o={...r&&r.data,...t.data};n.mechanism.data=o}}}function xo(e){if(e&&e.__sentry_captured__)return!0;try{Ur(e,"__sentry_captured__",!0)}catch(e){}return!1}function Eo(e,t=1/0,n=1/0){try{return ko("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Co(e,t=3,n=102400){var r,o=Eo(e,t);return r=o,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(r))>n?Co(e,t-1,n):o}function ko(e,t,n=1/0,r=1/0,o=function(){var 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<t.length;e++){var r=t[e];if(r===n)return!0}return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){const[i,a]=o;if(null===t||["number","boolean","string"].includes(typeof t)&&("number"!=typeof(c=t)||c==c))return t;var c,l=function(e,t){try{return"domain"===e&&t&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":function(e){return Cr(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}(t)?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?`[Function: ${Jr(t)}]`:"symbol"==typeof t?`[${String(t)}]`:"bigint"==typeof t?`[BigInt: ${String(t)}]`:`[object ${Object.getPrototypeOf(t).constructor.name}]`}catch(e){return`**non-serializable** (${e})`}}(e,t);if(!l.startsWith("[object "))return l;if(t.__sentry_skip_normalization__)return t;if(0===n)return l.replace("object ","");if(i(t))return"[Circular ~]";var s=t;if(s&&"function"==typeof s.toJSON)try{return ko("",s.toJSON(),n-1,r,o)}catch(e){}var u=Array.isArray(t)?[]:{};let d=0;var p=Wr(t);for(var f in p)if(Object.prototype.hasOwnProperty.call(p,f)){if(d>=r){u[f]="[MaxProperties ~]";break}var m=p[f];u[f]=ko(f,m,n-1,r,o),d+=1}return a(t),u}var So;function _o(e){return new Bo((t=>{t(e)}))}function Io(e){return new Bo(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(So||(So={}));class Bo{__init(){this._state=So.PENDING}__init2(){this._handlers=[]}constructor(e){Bo.prototype.__init.call(this),Bo.prototype.__init2.call(this),Bo.prototype.__init3.call(this),Bo.prototype.__init4.call(this),Bo.prototype.__init5.call(this),Bo.prototype.__init6.call(this);try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new Bo(((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 Bo(((t,n)=>{let r,o;return this.then((t=>{o=!1,r=t,e&&e()}),(t=>{o=!0,r=t,e&&e()})).then((()=>{o?n(r):t(r)}))}))}__init3(){this._resolve=e=>{this._setResult(So.RESOLVED,e)}}__init4(){this._reject=e=>{this._setResult(So.REJECTED,e)}}__init5(){this._setResult=(e,t)=>{this._state===So.PENDING&&(Sr(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init6(){this._executeHandlers=()=>{if(this._state!==So.PENDING){var e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===So.RESOLVED&&e[1](this._value),this._state===So.REJECTED&&e[2](this._value),e[0]=!0)}))}}}}var To=["fatal","error","warning","log","info","debug"],No={nowSeconds:()=>Date.now()/1e3},zo=pr()?function(){try{return(e=module,"perf_hooks",e.require("perf_hooks")).performance}catch(e){return}var e}():function(){const{performance:e}=mr();if(e&&e.now)return{now:()=>e.now(),timeOrigin:Date.now()-e.now()}}(),Do=void 0===zo?No:{nowSeconds:()=>(zo.timeOrigin+zo.now())/1e3},Po=No.nowSeconds.bind(No),Oo=Do.nowSeconds.bind(Do);function Ao(e,t=[]){return[e,t]}function Ro(e,t){const[n,r]=e;return[n,[...r,t]]}function Fo(e,t){e[1].forEach((e=>{var n=e[0].type;t(e,n)}))}function Lo(e,t){return(t||new TextEncoder).encode(e)}function Mo(e,t){const[n,r]=e;let o=JSON.stringify(n);function i(e){"string"==typeof o?o="string"==typeof e?o+e:[Lo(o,t),e]:o.push("string"==typeof e?Lo(e,t):e)}for(var a of r){const[e,t]=a;i(`\n${JSON.stringify(e)}\n`),i("string"==typeof t||t instanceof Uint8Array?t:JSON.stringify(t))}return"string"==typeof o?o:function(e){var t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(var o of e)n.set(o,r),r+=o.length;return n}(o)}function jo(e,t){var n="string"==typeof e.data?Lo(e.data,t):e.data;return[Kr({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}(()=>{const{performance:e}=mr();if(e&&e.now){var t=36e5,n=e.now(),r=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,i=o<t,a=e.timing&&e.timing.navigationStart,c="number"==typeof a?Math.abs(a+n-r):t;(i||c<t)&&o<=c&&e.timeOrigin}})();var Ho={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function Uo(e){return Ho[e]}function Vo(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||Oo(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:ho()),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{var n=e.timestamp-e.started;e.duration=n>=0?n: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)}class $o{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(e){var t=new $o;return e&&(t._breadcrumbs=[...e._breadcrumbs],t._tags={...e._tags},t._extra={...e._extra},t._contexts={...e._contexts},t._user=e._user,t._level=e._level,t._span=e._span,t._session=e._session,t._transactionName=e._transactionName,t._fingerprint=e._fingerprint,t._eventProcessors=[...e._eventProcessors],t._requestSession=e._requestSession,t._attachments=[...e._attachments]),t}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{},this._session&&Vo(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={...this._contexts,[e]:t},this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){var e=this.getSpan();return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;if("function"==typeof e){var t=e(this);return t instanceof $o?t:this}return e instanceof $o?(this._tags={...this._tags,...e._tags},this._extra={...this._extra,...e._extra},this._contexts={...this._contexts,...e._contexts},e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):Cr(e)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),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._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(e,t){var n="number"==typeof t?Math.min(t,100):100;if(n<=0)return this;var r={timestamp:Po(),...e};return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(e,t={}){if(this._extra&&Object.keys(this._extra).length&&(e.extra={...this._extra,...e.extra}),this._tags&&Object.keys(this._tags).length&&(e.tags={...this._tags,...e.tags}),this._user&&Object.keys(this._user).length&&(e.user={...this._user,...e.user}),this._contexts&&Object.keys(this._contexts).length&&(e.contexts={...this._contexts,...e.contexts}),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts={trace:this._span.getTraceContext(),...e.contexts};var n=this._span.transaction&&this._span.transaction.name;n&&(e.tags={transaction:n,...e.tags})}return this._applyFingerprint(e),e.breadcrumbs=[...e.breadcrumbs||[],...this._breadcrumbs],e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...Wo(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}_notifyEventProcessors(e,t,n,r=0){return new Bo(((o,i)=>{var a=e[r];if(null===t||"function"!=typeof a)o(t);else{var c=a({...t},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.id&&null===c&&Fr.log(`Event processor "${a.id}" dropped event`),Sr(c)?c.then((t=>this._notifyEventProcessors(e,t,n,r+1).then(o))).then(null,i):this._notifyEventProcessors(e,c,n,r+1).then(o).then(null,i)}}))}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}_applyFingerprint(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}function Wo(){return hr("globalEventProcessors",(()=>[]))}function Go(e){Wo().push(e)}var qo=100;class Yo{__init(){this._stack=[{}]}constructor(e,t=new $o,n=4){this._version=n,Yo.prototype.__init.call(this),this.getStackTop().scope=t,e&&this.bindClient(e)}isOlderThan(e){return this._version<e}bindClient(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){var e=$o.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1||!this.getStack().pop())}withScope(e){var t=this.pushScope();try{e(t)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){var n=this._lastEventId=t&&t.event_id?t.event_id:ho(),r=new Error("Sentry syntheticException");return this._withClient(((o,i)=>{o.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},i)})),n}captureMessage(e,t,n){var r=this._lastEventId=n&&n.event_id?n.event_id:ho(),o=new Error(e);return this._withClient(((i,a)=>{i.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:r},a)})),r}captureEvent(e,t){var n=t&&t.event_id?t.event_id:ho();return"transaction"!==e.type&&(this._lastEventId=n),this._withClient(((r,o)=>{r.captureEvent(e,{...t,event_id:n},o)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!n||!r)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:i=qo}=r.getOptions&&r.getOptions()||{};if(!(i<=0)){var a={timestamp:Po(),...e},c=o?Ar((()=>o(a,t))):a;null!==c&&n.addBreadcrumb(c,i)}}setUser(e){var t=this.getScope();t&&t.setUser(e)}setTags(e){var t=this.getScope();t&&t.setTags(e)}setExtras(e){var t=this.getScope();t&&t.setExtras(e)}setTag(e,t){var n=this.getScope();n&&n.setTag(e,t)}setExtra(e,t){var n=this.getScope();n&&n.setExtra(e,t)}setContext(e,t){var n=this.getScope();n&&n.setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();t&&n&&e(t)}run(e){var t=Xo(this);try{e(this)}finally{Xo(t)}}getIntegration(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){return this._callExtensionMethod("startTransaction",e,t)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){var e=this.getStackTop(),t=e&&e.scope,n=t&&t.getSession();n&&function(e,t){let n={};"ok"===e.status&&(n={status:"exited"}),Vo(e,n)}(n),this._sendSessionUpdate(),t&&t.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:r,environment:o}=n&&n.getOptions()||{};var i=mr();const{userAgent:a}=i.navigator||{};var c=function(e){var t=Oo(),n={sid:ho(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return Kr({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,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&Vo(n,e),n}({release:r,environment:o,...t&&{user:t.getUser()},...a&&{userAgent:a},...e});if(t){var l=t.getSession&&t.getSession();l&&"ok"===l.status&&Vo(l,{status:"exited"}),this.endSession(),t.setSession(c)}return c}shouldSendDefaultPii(){var e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop();if(e){var n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}}_withClient(e){const{scope:t,client:n}=this.getStackTop();n&&e(n,t)}_callExtensionMethod(e,...t){var n=Ko().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function Ko(){var e=mr();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function Xo(e){var t=Ko(),n=Qo(t);return ei(t,e),n}function Zo(){var e=Ko();return Jo(e)&&!Qo(e).isOlderThan(4)||ei(e,new Yo),pr()?function(e){try{var t=Ko().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return Qo(e);if(!Jo(n)||Qo(n).isOlderThan(4)){var r=Qo(e).getStackTop();ei(n,new Yo(r.client,$o.clone(r.scope)))}return Qo(n)}catch(t){return Qo(e)}}(e):Qo(e)}function Jo(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function Qo(e){return hr("hub",(()=>new Yo),e)}function ei(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}function ti(e,t){return Zo().captureException(e,{captureContext:t})}function ni(e){Zo().withScope(e)}function ri(e,t){return t||`${function(e){return`${function(e){var t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(e)}?${function(e){return t={sentry_key:e.publicKey,sentry_version:"7"},Object.keys(t).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`)).join("&");var t}(e)}`}function oi(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}var ii=[];function ai(e){return e.reduce(((e,t)=>(e.every((e=>t.name!==e.name))&&e.push(t),e)),[])}function ci(e){var t=e.defaultIntegrations&&[...e.defaultIntegrations]||[],n=e.integrations;let r=[...ai(t)];Array.isArray(n)?r=[...r.filter((e=>n.every((t=>t.name!==e.name)))),...ai(n)]:"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var o=r.map((e=>e.name)),i="Debug";return-1!==o.indexOf(i)&&r.push(...r.splice(o.indexOf(i),1)),r}var li="Not capturing exception because it's already been captured.";class si{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(e){if(si.prototype.__init.call(this),si.prototype.__init2.call(this),si.prototype.__init3.call(this),si.prototype.__init4.call(this),this._options=e,e.dsn){this._dsn=(n=e.dsn,r="string"==typeof n?function(e){var t=Nr.exec(e);if(!t)throw new Tr(`Invalid Sentry Dsn: ${e}`);const[n,r,o="",i,a="",c]=t.slice(1);let l="",s=c;var u=s.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),s=u.pop()),s){var d=s.match(/^\d+/);d&&(s=d[0])}return Dr({host:i,pass:o,path:l,projectId:s,port:a,protocol:n,publicKey:r})}(n):Dr(n),function(e){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return;const{port:t,projectId:n,protocol:r}=e;if(["protocol","publicKey","host","projectId"].forEach((t=>{if(!e[t])throw new Tr(`Invalid Sentry Dsn: ${t} missing`)})),!n.match(/^\d+$/))throw new Tr(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!function(e){return"http"===e||"https"===e}(r))throw new Tr(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new Tr(`Invalid Sentry Dsn: Invalid port ${t}`)}(r),r);var t=ri(this._dsn,e.tunnel);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn("No DSN provided, client will not do anything.");var n,r}captureException(e,t,n){if(xo(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.log(li));let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{r=e}))),r}captureMessage(e,t,n,r){let o=n&&n.event_id;var i=Er(e)?this.eventFromMessage(String(e),t,n):this.eventFromException(e,n);return this._process(i.then((e=>this._captureEvent(e,n,r))).then((e=>{o=e}))),o}captureEvent(e,t,n){if(t&&t.originalException&&xo(t.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.log(li));let r=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((e=>{r=e}))),r}captureSession(e){this._isEnabled()?"string"!=typeof e.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),Vo(e,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn("SDK not enabled, will not capture session.")}getDsn(){return this._dsn}getOptions(){return this._options}getTransport(){return this._transport}flush(e){var t=this._transport;return t?this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e)))):_o(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,e)))}setupIntegrations(){var e,t;this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=(e=this._options.integrations,t={},e.forEach((e=>{t[e.name]=e,-1===ii.indexOf(e.name)&&(e.setupOnce(Go,Zo),ii.push(e.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.log(`Integration installed: ${e.name}`))})),t),this._integrationsInitialized=!0)}getIntegrationById(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}sendEvent(e,t={}){if(this._dsn){let r=function(e,t,n,r){var o=oi(n),i=e.type||"event";const{transactionSampling:a}=e.sdkProcessingMetadata||{},{method:c,rate:l}=a||{};!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);var s=function(e,t,n,r){var o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baggage,i=o&&function(e){return e[0]}(o);return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&{dsn:zr(r)},..."transaction"===e.type&&i&&{trace:Kr({...i})}}}(e,o,r,t);return delete e.sdkProcessingMetadata,Ao(s,[[{type:i,sample_rates:[{id:c,rate:l}]},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(var n of t.attachments||[])r=Ro(r,jo(n,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(r)}}sendSession(e){if(this._dsn){var t=function(e,t,n,r){var o=oi(n);return Ao({sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!r&&{dsn:zr(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}}recordDroppedEvent(e,t){if(this._options.sendClientReports){var n=`${e}:${t}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}_updateSessionFromEvent(e,t){let n=!1,r=!1;var o=t.exception&&t.exception.values;if(o)for(var i of(r=!0,o)){var a=i.mechanism;if(a&&!1===a.handled){n=!0;break}}var c="ok"===e.status;(c&&0===e.errors||c&&n)&&(Vo(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Bo((t=>{let n=0;var 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._dsn}_prepareEvent(e,t,n){const{normalizeDepth:r=3,normalizeMaxBreadth:o=1e3}=this.getOptions();var i={...e,event_id:e.event_id||t.event_id||ho(),timestamp:e.timestamp||Po()};this._applyClientOptions(i),this._applyIntegrationsMetadata(i);let a=n;t.captureContext&&(a=$o.clone(a).update(t.captureContext));let c=_o(i);if(a){var l=[...t.attachments||[],...a.getAttachments()];l.length&&(t.attachments=l),c=a.applyToEvent(i,t)}return c.then((e=>"number"==typeof r&&r>0?this._normalizeEvent(e,r,o):e))}_normalizeEvent(e,t,n){if(!e)return null;var r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:Eo(e.data,t,n)}})))},...e.user&&{user:Eo(e.user,t,n)},...e.contexts&&{contexts:Eo(e.contexts,t,n)},...e.extra&&{extra:Eo(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Eo(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map((e=>(e.data&&(e.data=Eo(e.data,t,n)),e)))),r}_applyClientOptions(e){var t=this.getOptions();const{environment:n,release:r,dist:o,maxValueLength:i=250}=t;"environment"in e||(e.environment="environment"in t?n:"production"),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==o&&(e.dist=o),e.message&&(e.message=Lr(e.message,i));var a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=Lr(a.value,i));var c=e.request;c&&c.url&&(c.url=Lr(c.url,i))}_applyIntegrationsMetadata(e){var t=Object.keys(this._integrations);t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn(e)}))}_processEvent(e,t,n){const{beforeSend:r,sampleRate:o}=this.getOptions();if(!this._isEnabled())return Io(new Tr("SDK not enabled, will not capture event."));var i="transaction"===e.type;return!i&&"number"==typeof o&&Math.random()>o?(this.recordDroppedEvent("sample_rate","error"),Io(new Tr(`Discarding event because it's not included in the random sample (sampling rate = ${o})`))):this._prepareEvent(e,t,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",e.type||"error"),new Tr("An event processor returned null, will not send event.");return t.data&&!0===t.data.__sentry__||i||!r?n:function(e){var t="`beforeSend` method has to return `null` or a valid event.";if(Sr(e))return e.then((e=>{if(!Cr(e)&&null!==e)throw new Tr(t);return e}),(e=>{throw new Tr(`beforeSend rejected with ${e}`)}));if(!Cr(e)&&null!==e)throw new Tr(t);return e}(r(n,t))})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",e.type||"error"),new Tr("`beforeSend` returned `null`, will not send event.");var o=n&&n.getSession();return!i&&o&&this._updateSessionFromEvent(o,r),this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof Tr)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new Tr(`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+=1,e.then((e=>(this._numProcessing-=1,e)),(e=>(this._numProcessing-=1,e)))}_sendEnvelope(e){this._transport&&this._dsn?this._transport.send(e).then(null,(e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.error("Error while sending event:",e)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.error("Transport disabled")}_clearOutcomes(){var e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}function ui(e,t,n=function(e){var t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return Io(new Tr("Not adding Promise due to buffer limit reached."));var o=r();return-1===t.indexOf(o)&&t.push(o),o.then((()=>n(o))).then(null,(()=>n(o).then(null,(()=>{})))),o},drain:function(e){return new Bo(((n,r)=>{let o=t.length;if(!o)return n(!0);var i=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{_o(e).then((()=>{--o||(clearTimeout(i),n(!0))}),r)}))}))}}}(e.bufferSize||30)){let r={};return{send:function(o){var i=[];if(Fo(o,((t,n)=>{var o=Uo(n);!function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,o)?i.push(t):e.recordDroppedEvent("ratelimit_backoff",o)})),0===i.length)return _o();var a=Ao(o[0],i),c=t=>{Fo(a,((n,r)=>{e.recordDroppedEvent(t,Uo(r))}))};return n.add((()=>t({body:Mo(a,e.textEncoder)}).then((e=>{void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){var o={...e},i=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(i)for(var c of i.trim().split(",")){const[e,t]=c.split(":",2);var l=parseInt(e,10),s=1e3*(isNaN(l)?60:l);if(t)for(var u of t.split(";"))o[u]=r+s;else o.all=r+s}else a?o.all=r+function(e,t=Date.now()){var n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(a,r):429===t&&(o.all=r+6e4);return o}(r,e)}),(e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.error("Failed while sending event:",e),c("network_error")})))).then((e=>e),(e=>{if(e instanceof Tr)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.error("Skipped sending event due to full buffer"),c("queue_overflow"),_o();throw e}))},flush:e=>n.drain(e)}}let di;class pi{constructor(){pi.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=pi.id}setupOnce(){di=Function.prototype.toString,Function.prototype.toString=function(...e){var t=$r(this)||this;return di.apply(t,e)}}}pi.__initStatic();var fi=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class mi{static __initStatic(){this.id="InboundFilters"}__init(){this.name=mi.id}constructor(e={}){this._options=e,mi.prototype.__init.call(this)}setupOnce(e,t){var n=e=>{var n=t();if(n){var r=n.getIntegration(mi);if(r){var o=n.getClient(),i=o?o.getOptions():{},a=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...fi],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(r._options,i);return function(e,t){return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${yo(e)}`),!0):function(e,t){return!(!t||!t.length)&&function(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.error(`Cannot extract message for event ${yo(e)}`),[]}return[]}(e).some((e=>t.some((t=>jr(e,t)))))}(e,t.ignoreErrors)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${yo(e)}`),!0):function(e,t){if(!t||!t.length)return!1;var n=hi(e);return!!n&&t.some((e=>jr(n,e)))}(e,t.denyUrls)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${yo(e)}.\nUrl: ${hi(e)}`),!0):!function(e,t){if(!t||!t.length)return!0;var n=hi(e);return!n||t.some((e=>jr(n,e)))}(e,t.allowUrls)&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${yo(e)}.\nUrl: ${hi(e)}`),!0)}(e,a)?null:e}}return e};n.id=this.name,e(n)}}function hi(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let n=e.length-1;n>=0;n--){var t=e[n];if(t&&"<anonymous>"!==t.filename&&"[native code]"!==t.filename)return t.filename||null}return null}(t):null}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.error(`Cannot extract url for event ${yo(e)}`),null}}function gi(e,t){var n=yi(e,t),r={type:t&&t.name,value:wi(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function vi(e,t){return{exception:{values:[gi(e,t)]}}}function yi(e,t){var n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(bi.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(e){}return[]}mi.__initStatic();var bi=/Minified React error #\d+;/i;function wi(e){var t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function xi(e,t,n,r,o){let i;if(br(t)&&t.error)return vi(e,t.error);if(wr(t)||yr(t,"DOMException")){var a=t;if("stack"in t)i=vi(e,t);else{var c=a.name||(wr(a)?"DOMError":"DOMException"),l=a.message?`${c}: ${a.message}`:c;i=Ei(e,l,n,r),bo(i,l)}return"code"in a&&(i.tags={...i.tags,"DOMException.code":`${a.code}`}),i}return vr(t)?vi(e,t):Cr(t)||kr(t)?(i=function(e,t,n,r){var o={exception:{values:[{type:kr(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${Yr(t)}`}]},extra:{__serialized__:Co(t)}};if(n){var i=yi(e,n);i.length&&(o.exception.values[0].stacktrace={frames:i})}return o}(e,t,n,o),wo(i,{synthetic:!0}),i):(i=Ei(e,t,n,r),bo(i,`${t}`,void 0),wo(i,{synthetic:!0}),i)}function Ei(e,t,n,r){var o={message:t};if(r&&n){var i=yi(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]})}return o}class Ci{static __initStatic(){this.id="Breadcrumbs"}__init(){this.name=Ci.id}constructor(e){Ci.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e}}setupOnce(){var e;this.options.console&&oo("console",ki),this.options.dom&&oo("dom",(e=this.options.dom,function(t){let n,r="object"==typeof e?e.serializeAttribute:void 0;"string"==typeof r&&(r=[r]);try{n=t.event.target?Ir(t.event.target,r):Ir(t.event,r)}catch(e){n="<unknown>"}0!==n.length&&Zo().addBreadcrumb({category:`ui.${t.name}`,message:n},{event:t.event,name:t.name,global:t.global})})),this.options.xhr&&oo("xhr",Si),this.options.fetch&&oo("fetch",_i),this.options.history&&oo("history",Ii)}}function ki(e){var t,n={category:"console",data:{arguments:e.args,logger:"console"},level:(t=e.level,"warn"===t?"warning":To.includes(t)?t:"log"),message:Mr(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;n.message=`Assertion failed: ${Mr(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1)}Zo().addBreadcrumb(n,{input:e.args,level:e.level})}function Si(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;const{method:t,url:n,status_code:r,body:o}=e.xhr.__sentry_xhr__||{};Zo().addBreadcrumb({category:"xhr",data:{method:t,url:n,status_code:r},type:"http"},{xhr:e.xhr,input:o})}}function _i(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method||(e.error?Zo().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):Zo().addBreadcrumb({category:"fetch",data:{...e.fetchData,status_code:e.response.status},type:"http"},{input:e.args,response:e.response})))}function Ii(e){var t=mr();let n=e.from,r=e.to;var o=go(t.location.href);let i=go(n);var a=go(r);i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),Zo().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}Ci.__initStatic();var Bi=mr();let Ti;function Ni(){if(Ti)return Ti;if(eo(Bi.fetch))return Ti=Bi.fetch.bind(Bi);var e=Bi.document;let t=Bi.fetch;if(e&&"function"==typeof e.createElement)try{var n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return Ti=t.bind(Bi)}var zi=mr();class Di extends si{constructor(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:"7.6.0"}],version:"7.6.0"},super(e),e.sendClientReports&&zi.document&&zi.document.addEventListener("visibilitychange",(()=>{"hidden"===zi.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return function(e,t,n,r){var o=xi(e,t,n&&n.syntheticException||void 0,r);return wo(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),_o(o)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,o){var i=Ei(e,t,r&&r.syntheticException||void 0,o);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),_o(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}sendEvent(e,t){var n=this.getIntegrationById("Breadcrumbs");n&&n.options&&n.options.sentry&&Zo().addBreadcrumb({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:yo(e)},{event:e}),super.sendEvent(e,t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){var e=this._clearOutcomes();if(0!==e.length)if(this._dsn){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.log("Sending outcomes:",e);var t,n,r=ri(this._dsn,this._options.tunnel),o=(t=e,Ao((n=this._options.tunnel&&zr(this._dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:Po(),discarded_events:t}]]));try{!function(e,t){"[object Navigator]"===Object.prototype.toString.call(Bi&&Bi.navigator)&&"function"==typeof Bi.navigator.sendBeacon?Bi.navigator.sendBeacon.bind(Bi.navigator)(e,t):Qr()&&Ni()(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,(e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.error(e)}))}(r,Mo(o))}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.error(e)}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.log("No dsn provided, will not send outcomes");else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.log("No outcomes to send")}}function Pi(e,t=Ni()){return ui(e,(function(n){var r={body:n.body,method:"POST",referrerPolicy:"origin",headers:e.headers,...e.fetchOptions};return t(e.url,r).then((e=>({statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}))}function Oi(e){return ui(e,(function(t){return new Bo(((n,r)=>{var o=new XMLHttpRequest;for(var i in o.onerror=r,o.onreadystatechange=()=>{4===o.readyState&&n({statusCode:o.status,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")}})},o.open("POST",e.url),e.headers)Object.prototype.hasOwnProperty.call(e.headers,i)&&o.setRequestHeader(i,e.headers[i]);o.send(t.body)}))}))}function Ai(e,t,n,r){var o={filename:e,function:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}var Ri=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Fi=/\((\S*)(?::(\d+))(?::(\d+))\)/,Li=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Mi=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ji=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Hi=Zr([30,e=>{var t=Ri.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){var n=Fi.exec(t[2]);n&&(t[2]=n[1],t[3]=n[2],t[4]=n[3])}const[e,r]=Ui(t[1]||"?",t[2]);return Ai(r,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,e=>{var t=Li.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){var n=Mi.exec(t[3]);n&&(t[1]=t[1]||"eval",t[3]=n[1],t[4]=n[2],t[5]="")}let e=t[3],r=t[1]||"?";return[r,e]=Ui(r,e),Ai(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],[40,e=>{var t=ji.exec(e);return t?Ai(t[2],t[1]||"?",+t[3],t[4]?+t[4]:void 0):void 0}]),Ui=(e,t)=>{var n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};let Vi=0;function $i(){return Vi>0}function Wi(){Vi+=1,setTimeout((()=>{Vi-=1}))}function Gi(e,t={},n){if("function"!=typeof e)return e;try{var r=e.__sentry_wrapped__;if(r)return r;if($r(e))return e}catch(t){return e}var o=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var o=r.map((e=>Gi(e,t)));return e.apply(this,o)}catch(e){throw Wi(),ni((n=>{n.addEventProcessor((e=>(t.mechanism&&(bo(e,void 0,void 0),wo(e,t.mechanism)),e.extra={...e.extra,arguments:r},e))),ti(e)})),e}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch(e){}Vr(o,e),Ur(e,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:()=>e.name})}catch(e){}return o}class qi{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=qi.id}__init2(){this._installFunc={onerror:Yi,onunhandledrejection:Ki}}constructor(e){qi.prototype.__init.call(this),qi.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...e}}setupOnce(){Error.stackTraceLimit=50;var e,t=this._options;for(var n in t){var r=this._installFunc[n];r&&t[n]&&(e=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.log(`Global Handler attached: ${e}`),r(),this._installFunc[n]=void 0)}}}function Yi(){oo("error",(e=>{const[t,n,r]=Ji();if(!t.getIntegration(qi))return;const{msg:o,url:i,line:a,column:c,error:l}=e;if(!($i()||l&&l.__sentry_own_request__)){var s=void 0===l&&xr(o)?function(e,t,n,r){let o=br(e)?e.message:e,i="Error";var a=o.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return a&&(i=a[1],o=a[2]),Xi({exception:{values:[{type:i,value:o}]}},t,n,r)}(o,i,a,c):Xi(xi(n,l||o,void 0,r,!1),i,a,c);s.level="error",Zi(t,l,s,"onerror")}}))}function Ki(){oo("unhandledrejection",(e=>{const[t,n,r]=Ji();if(!t.getIntegration(qi))return;let o=e;try{"reason"in e?o=e.reason:"detail"in e&&"reason"in e.detail&&(o=e.detail.reason)}catch(e){}if($i()||o&&o.__sentry_own_request__)return!0;var i=Er(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:xi(n,o,void 0,r,!0);i.level="error",Zi(t,o,i,"onunhandledrejection")}))}function Xi(e,t,n,r){var o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},c=a.stacktrace=a.stacktrace||{},l=c.frames=c.frames||[],s=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=xr(t)&&t.length>0?t:function(){var e=mr();try{return e.document.location.href}catch(e){return""}}();return 0===l.length&&l.push({colno:s,filename:d,function:"?",in_app:!0,lineno:u}),e}function Zi(e,t,n,r){wo(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function Ji(){var e=Zo(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}qi.__initStatic();var Qi=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class ea{static __initStatic(){this.id="TryCatch"}__init(){this.name=ea.id}constructor(e){ea.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e}}setupOnce(){var e=mr();this._options.setTimeout&&Hr(e,"setTimeout",ta),this._options.setInterval&&Hr(e,"setInterval",ta),this._options.requestAnimationFrame&&Hr(e,"requestAnimationFrame",na),this._options.XMLHttpRequest&&"XMLHttpRequest"in e&&Hr(XMLHttpRequest.prototype,"send",ra);var t=this._options.eventTarget;t&&(Array.isArray(t)?t:Qi).forEach(oa)}}function ta(e){return function(...t){var n=t[0];return t[0]=Gi(n,{mechanism:{data:{function:Jr(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function na(e){return function(t){return e.apply(this,[Gi(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Jr(e)},handled:!0,type:"instrument"}})])}}function ra(e){return function(...t){var n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&Hr(n,e,(function(t){var n={mechanism:{data:{function:e,handler:Jr(t)},handled:!0,type:"instrument"}},r=$r(t);return r&&(n.mechanism.data.handler=Jr(r)),Gi(t,n)}))})),e.apply(this,t)}}function oa(e){var t=mr(),n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Hr(n,"addEventListener",(function(t){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=Gi(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Jr(r),target:e},handled:!0,type:"instrument"}}))}catch(e){}return t.apply(this,[n,Gi(r,{mechanism:{data:{function:"addEventListener",handler:Jr(r),target:e},handled:!0,type:"instrument"}}),o])}})),Hr(n,"removeEventListener",(function(e){return function(t,n,r){var o=n;try{var i=o&&o.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(e){}return e.call(this,t,o,r)}})))}ea.__initStatic();class ia{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=ia.id}constructor(e={}){ia.prototype.__init.call(this),this._key=e.key||"cause",this._limit=e.limit||5}setupOnce(){var e=Zo().getClient();e&&Go(((t,n)=>{var r=Zo().getIntegration(ia);return r?function(e,t,n,r,o){if(!(r.exception&&r.exception.values&&o&&_r(o.originalException,Error)))return r;var i=aa(e,n,o.originalException,t);return r.exception.values=[...i,...r.exception.values],r}(e.getOptions().stackParser,r._key,r._limit,t,n):t}))}}function aa(e,t,n,r,o=[]){if(!_r(n[r],Error)||o.length+1>=t)return o;var i=gi(e,n[r]);return aa(e,t,n[r],r,[i,...o])}ia.__initStatic();var ca=mr();class la{constructor(){la.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=la.id}setupOnce(){Go((e=>{if(Zo().getIntegration(la)){if(!ca.navigator&&!ca.location&&!ca.document)return e;var t=e.request&&e.request.url||ca.location&&ca.location.href;const{referrer:r}=ca.document||{},{userAgent:o}=ca.navigator||{};var n={...t&&{url:t},headers:{...e.request&&e.request.headers,...r&&{Referer:r},...o&&{"User-Agent":o}}};return{...e,request:n}}return e}))}}la.__initStatic();class sa{constructor(){sa.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=sa.id}setupOnce(e,t){var n=e=>{var n=t().getIntegration(sa);if(n){try{if(function(e,t){return!!t&&(!!function(e,t){var n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!da(e,t)&&!!ua(e,t))))}(e,t)||!!function(e,t){var n=pa(t),r=pa(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!da(e,t)&&!!ua(e,t)))}(e,t))}(e,n._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return n._previousEvent=e}return n._previousEvent=e}return e};n.id=this.name,e(n)}}function ua(e,t){let n=fa(e),r=fa(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<r.length;e++){var o=r[e],i=n[e];if(o.filename!==i.filename||o.lineno!==i.lineno||o.colno!==i.colno||o.function!==i.function)return!1}return!0}function da(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function pa(e){return e.exception&&e.exception.values&&e.exception.values[0]}function fa(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}}sa.__initStatic();var ma=[new mi,new pi,new ea,new Ci,new qi,new ia,new sa,new la];function ha(e){e.startSession({ignoreDuration:!0}),e.captureSession()}var ga=n(null),va={field:"CREATED_AT",direction:"DESC"};function ya(e){var n=r(va),i=n[0],a=n[1],c=r(va),l=c[0],s=c[1],u=r(va),d=u[0],p=u[1];function f(e,t){"assets"===e?a(t):"collections"===e?s(t):p(t)}function m(){a(va),s(va),p(va)}var h=o((function(){return{assets:i,collections:l,collection:d,setOrdering:f,reset:m}}),[i,d,l]);return t.createElement(ga.Provider,{value:h},e.children)}function ba(e){var t=function(){var e=i(ga);if(null===e)throw new Error("useOrdering must be used with a OrderingProvider");return e}();return[t[e],function(n){return t.setOrdering(e,n)}]}
|
|
7
|
+
import*as e from"react";import t,{createContext as n,useState as r,useMemo as o,useContext as i,useEffect as a,useRef as c,useLayoutEffect as l,createElement as s,useCallback as u,forwardRef as d,cloneElement as p,useReducer as f,Component as m}from"react";import h,{createPortal as g}from"react-dom";var v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},y=function(e){return e&&e.Math==Math&&e},b=y("object"==typeof globalThis&&globalThis)||y("object"==typeof window&&window)||y("object"==typeof self&&self)||y("object"==typeof v&&v)||Function("return this")(),w={},x=function(e){try{return!!e()}catch(e){return!0}},E=!x((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),C={},k={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,_=S&&!k.call({1:2},1);C.f=_?function(e){var t=S(this,e);return!!t&&t.enumerable}:k;var I=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},B={}.toString,T=function(e){return B.call(e).slice(8,-1)},N=T,D="".split,z=x((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==N(e)?D.call(e,""):Object(e)}:Object,P=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},O=z,A=P,R=function(e){return O(A(e))},M=function(e){return"object"==typeof e?null!==e:"function"==typeof e},F=M,L=function(e,t){if(!F(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!F(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!F(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!F(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},j={}.hasOwnProperty,H=function(e,t){return j.call(e,t)},U=M,V=b.document,$=U(V)&&U(V.createElement),W=function(e){return $?V.createElement(e):{}},Y=W,q=!E&&!x((function(){return 7!=Object.defineProperty(Y("div"),"a",{get:function(){return 7}}).a})),G=E,X=C,K=I,Z=R,J=L,Q=H,ee=q,te=Object.getOwnPropertyDescriptor;w.f=G?te:function(e,t){if(e=Z(e),t=J(t,!0),ee)try{return te(e,t)}catch(e){}if(Q(e,t))return K(!X.f.call(e,t),e[t])};var ne={},re=M,oe=function(e){if(!re(e))throw TypeError(String(e)+" is not an object");return e},ie=E,ae=q,ce=oe,le=L,se=Object.defineProperty;ne.f=ie?se:function(e,t,n){if(ce(e),t=le(t,!0),ce(n),ae)try{return se(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var ue=ne,de=I,pe=E?function(e,t,n){return ue.f(e,t,de(1,n))}:function(e,t,n){return e[t]=n,e},fe={exports:{}},me=b,he=pe,ge=function(e,t){try{he(me,e,t)}catch(n){me[e]=t}return t},ve=ge,ye=b["__core-js_shared__"]||ve("__core-js_shared__",{}),be=ye,we=Function.toString;"function"!=typeof be.inspectSource&&(be.inspectSource=function(e){return we.call(e)});var xe=be.inspectSource,Ee=xe,Ce=b.WeakMap,ke="function"==typeof Ce&&/native code/.test(Ee(Ce)),Se={exports:{}},_e=ye;(Se.exports=function(e,t){return _e[e]||(_e[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var Ie,Be,Te,Ne=0,De=Math.random(),ze=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++Ne+De).toString(36)},Pe=Se.exports,Oe=ze,Ae=Pe("keys"),Re=function(e){return Ae[e]||(Ae[e]=Oe(e))},Me={},Fe=ke,Le=M,je=pe,He=H,Ue=Re,Ve=Me,$e=b.WeakMap;if(Fe){var We=new $e,Ye=We.get,qe=We.has,Ge=We.set;Ie=function(e,t){return Ge.call(We,e,t),t},Be=function(e){return Ye.call(We,e)||{}},Te=function(e){return qe.call(We,e)}}else{var Xe=Ue("state");Ve[Xe]=!0,Ie=function(e,t){return je(e,Xe,t),t},Be=function(e){return He(e,Xe)?e[Xe]:{}},Te=function(e){return He(e,Xe)}}var Ke={set:Ie,get:Be,has:Te,enforce:function(e){return Te(e)?Be(e):Ie(e,{})},getterFor:function(e){return function(t){var n;if(!Le(t)||(n=Be(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Ze=b,Je=pe,Qe=H,et=ge,tt=xe,nt=Ke.get,rt=Ke.enforce,ot=String(String).split("String");(fe.exports=function(e,t,n,r){var o=!!r&&!!r.unsafe,i=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||Qe(n,"name")||Je(n,"name",t),rt(n).source=ot.join("string"==typeof t?t:"")),e!==Ze?(o?!a&&e[t]&&(i=!0):delete e[t],i?e[t]=n:Je(e,t,n)):i?e[t]=n:et(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&nt(this).source||tt(this)}));var it=b,at=b,ct=function(e){return"function"==typeof e?e:void 0},lt=function(e,t){return arguments.length<2?ct(it[e])||ct(at[e]):it[e]&&it[e][t]||at[e]&&at[e][t]},st={},ut=Math.ceil,dt=Math.floor,pt=function(e){return isNaN(e=+e)?0:(e>0?dt:ut)(e)},ft=pt,mt=Math.min,ht=function(e){return e>0?mt(ft(e),9007199254740991):0},gt=pt,vt=Math.max,yt=Math.min,bt=R,wt=ht,xt=function(e){return function(t,n,r){var o,i=bt(t),a=wt(i.length),c=function(e,t){var n=gt(e);return n<0?vt(n+t,0):yt(n,t)}(r,a);if(e&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===n)return e||c||0;return!e&&-1}},Et={includes:xt(!0),indexOf:xt(!1)},Ct=H,kt=R,St=Et.indexOf,_t=Me,It=function(e,t){var n,r=kt(e),o=0,i=[];for(n in r)!Ct(_t,n)&&Ct(r,n)&&i.push(n);for(;t.length>o;)Ct(r,n=t[o++])&&(~St(i,n)||i.push(n));return i},Bt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tt=It,Nt=Bt.concat("length","prototype");st.f=Object.getOwnPropertyNames||function(e){return Tt(e,Nt)};var Dt={};Dt.f=Object.getOwnPropertySymbols;var zt,Pt=st,Ot=Dt,At=oe,Rt=lt("Reflect","ownKeys")||function(e){var t=Pt.f(At(e)),n=Ot.f;return n?t.concat(n(e)):t},Mt=H,Ft=Rt,Lt=w,jt=ne,Ht=x,Ut=/#|\.prototype\./,Vt=function(e,t){var n=Wt[$t(e)];return n==qt||n!=Yt&&("function"==typeof t?Ht(t):!!t)},$t=Vt.normalize=function(e){return String(e).replace(Ut,".").toLowerCase()},Wt=Vt.data={},Yt=Vt.NATIVE="N",qt=Vt.POLYFILL="P",Gt=Vt,Xt=b,Kt=w.f,Zt=pe,Jt=fe.exports,Qt=ge,en=function(e,t){for(var n=Ft(t),r=jt.f,o=Lt.f,i=0;i<n.length;i++){var a=n[i];Mt(e,a)||r(e,a,o(t,a))}},tn=Gt,nn=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},rn=P,on=T,an=Array.isArray||function(e){return"Array"==on(e)},cn=x,ln=!!Object.getOwnPropertySymbols&&!cn((function(){return!String(Symbol())})),sn=ln&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,un=b,dn=Se.exports,pn=H,fn=ze,mn=ln,hn=sn,gn=dn("wks"),vn=un.Symbol,yn=hn?vn:vn&&vn.withoutSetter||fn,bn=function(e){return pn(gn,e)||(mn&&pn(vn,e)?gn[e]=vn[e]:gn[e]=yn("Symbol."+e)),gn[e]},wn=M,xn=an,En=bn("species"),Cn=nn,kn=z,Sn=ht,_n=function(e,t){var n;return xn(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!xn(n.prototype)?wn(n)&&null===(n=n[En])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},In=[].push,Bn=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=5==e||i;return function(c,l,s,u){for(var d,p,f=Object(rn(c)),m=kn(f),h=Cn(l,s,3),g=Sn(m.length),v=0,y=u||_n,b=t?y(c,g):n?y(c,0):void 0;g>v;v++)if((a||v in m)&&(p=h(d=m[v],v,f),e))if(t)b[v]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return v;case 2:In.call(b,d)}else if(o)return!1;return i?-1:r||o?o:b}},Tn={forEach:Bn(0),map:Bn(1),filter:Bn(2),some:Bn(3),every:Bn(4),find:Bn(5),findIndex:Bn(6)},Nn=It,Dn=Bt,zn=Object.keys||function(e){return Nn(e,Dn)},Pn=ne,On=oe,An=zn,Rn=E?Object.defineProperties:function(e,t){On(e);for(var n,r=An(t),o=r.length,i=0;o>i;)Pn.f(e,n=r[i++],t[n]);return e},Mn=lt("document","documentElement"),Fn=oe,Ln=Rn,jn=Bt,Hn=Me,Un=Mn,Vn=W,$n=Re("IE_PROTO"),Wn=function(){},Yn=function(e){return"<script>"+e+"<\/script>"},qn=function(){try{zt=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;qn=zt?function(e){e.write(Yn("")),e.close();var t=e.parentWindow.Object;return e=null,t}(zt):((t=Vn("iframe")).style.display="none",Un.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Yn("document.F=Object")),e.close(),e.F);for(var n=jn.length;n--;)delete qn.prototype[jn[n]];return qn()};Hn[$n]=!0;var Gn=Object.create||function(e,t){var n;return null!==e?(Wn.prototype=Fn(e),n=new Wn,Wn.prototype=null,n[$n]=e):n=qn(),void 0===t?n:Ln(n,t)},Xn=Gn,Kn=ne,Zn=bn("unscopables"),Jn=Array.prototype;null==Jn[Zn]&&Kn.f(Jn,Zn,{configurable:!0,value:Xn(null)});var Qn,er=E,tr=x,nr=H,rr=Object.defineProperty,or={},ir=function(e){throw e},ar=Tn.find,cr=!0,lr=function(e,t){if(nr(or,e))return or[e];t||(t={});var n=[][e],r=!!nr(t,"ACCESSORS")&&t.ACCESSORS,o=nr(t,0)?t[0]:ir,i=nr(t,1)?t[1]:void 0;return or[e]=!!n&&!tr((function(){if(r&&!er)return!0;var e={length:-1};r?rr(e,1,{enumerable:!0,get:ir}):e[1]=1,n.call(e,o,i)}))}("find");"find"in[]&&Array(1).find((function(){cr=!1})),function(e,t){var n,r,o,i,a,c=e.target,l=e.global,s=e.stat;if(n=l?Xt:s?Xt[c]||Qt(c,{}):(Xt[c]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Kt(n,r))&&a.value:n[r],!tn(l?r:c+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;en(i,o)}(e.sham||o&&o.sham)&&Zt(i,"sham",!0),Jt(n,r,i,e)}}({target:"Array",proto:!0,forced:cr||!lr},{find:function(e){return ar(this,e,arguments.length>1?arguments[1]:void 0)}}),Qn="find",Jn[Zn][Qn]=!0;var sr=b,ur=nn,dr=Function.call;function pr(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}ur(dr,sr.Array.prototype.find,void 0),function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=window.document;n.prototype.THROTTLE_TIMEOUT=100,n.prototype.POLL_INTERVAL=null,n.prototype.USE_MUTATION_OBSERVER=!0,n.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},n.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},n.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},n.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},n.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},n.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},n.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(r(window,"resize",this._checkForIntersections,!0),r(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},n.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,o(window,"resize",this._checkForIntersections,!0),o(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},n.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),n=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var o=r.element,a=i(o),c=this._rootContainsTarget(o),l=r.entry,s=e&&c&&this._computeTargetAndRootIntersection(o,n),u=r.entry=new t({time:window.performance&&performance.now&&performance.now(),target:o,boundingClientRect:a,rootBounds:n,intersectionRect:s});l?e&&c?this._hasCrossedThreshold(l,u)&&this._queuedEntries.push(u):l&&l.isIntersecting&&this._queuedEntries.push(u):this._queuedEntries.push(u)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},n.prototype._computeTargetAndRootIntersection=function(t,n){if("none"!=window.getComputedStyle(t).display){for(var r,o,a,l,s,u,d,p,f=i(t),m=c(t),h=!1;!h;){var g=null,v=1==m.nodeType?window.getComputedStyle(m):{};if("none"==v.display)return;if(m==this.root||m==e?(h=!0,g=n):m!=e.body&&m!=e.documentElement&&"visible"!=v.overflow&&(g=i(m)),g&&(r=g,o=f,void 0,void 0,void 0,void 0,void 0,void 0,a=Math.max(r.top,o.top),l=Math.min(r.bottom,o.bottom),s=Math.max(r.left,o.left),p=l-a,!(f=(d=(u=Math.min(r.right,o.right))-s)>=0&&p>=0&&{top:a,bottom:l,left:s,right:u,width:d,height:p})))break;m=c(m)}return f}},n.prototype._getRootRect=function(){var t;if(this.root)t=i(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},n.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},n.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!=i<r)return!0}},n.prototype._rootIsInDom=function(){return!this.root||a(e,this.root)},n.prototype._rootContainsTarget=function(t){return a(this.root||e,t)},n.prototype._registerInstance=function(){},n.prototype._unregisterInstance=function(){},window.IntersectionObserver=n,window.IntersectionObserverEntry=t}function t(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function n(e,t){var n,r,o,i=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(i.root&&1!=i.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,o=null,function(){o||(o=setTimeout((function(){n(),o=null}),r))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" ")}function r(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function o(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function i(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function a(e,t){for(var n=t;n;){if(n==e)return!0;n=c(n)}return!1}function c(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}}();var fr={};function mr(){return pr()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:fr}function hr(e,t,n){var r=n||mr(),o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=t())}var gr=Object.prototype.toString;function vr(e){switch(gr.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return _r(e,Error)}}function yr(e,t){return gr.call(e)===`[object ${t}]`}function br(e){return yr(e,"ErrorEvent")}function wr(e){return yr(e,"DOMError")}function xr(e){return yr(e,"String")}function Er(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function Cr(e){return yr(e,"Object")}function kr(e){return"undefined"!=typeof Event&&_r(e,Event)}function Sr(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function _r(e,t){try{return e instanceof t}catch(e){return!1}}function Ir(e,t){try{let o=e;var n=[];let i=0,a=0;var r=" > ".length;let c;for(;o&&i++<5&&(c=Br(o,t),!("html"===c||i>1&&a+n.length*r+c.length>=80));)n.push(c),a+=c.length,o=o.parentNode;return n.reverse().join(" > ")}catch(e){return"<unknown>"}}function Br(e,t){var n=e,r=[];let o,i,a,c,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());var s=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(s&&s.length)s.forEach((e=>{r.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&r.push(`#${n.id}`),o=n.className,o&&xr(o))for(i=o.split(/\s+/),l=0;l<i.length;l++)r.push(`.${i[l]}`);var u=["type","name","title","alt"];for(l=0;l<u.length;l++)a=u[l],c=n.getAttribute(a),c&&r.push(`[${a}="${c}"]`);return r.join("")}class Tr extends Error{constructor(e){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype)}}var Nr=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Dr(e,t=!1){const{host:n,path:r,pass:o,port:i,projectId:a,protocol:c,publicKey:l}=e;return`${c}://${l}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${a}`}function zr(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}var Pr=mr(),Or=["debug","info","warn","error","log","assert","trace"];function Ar(e){var t=mr();if(!("console"in t))return e();var n=t.console,r={};Or.forEach((e=>{var o=n[e]&&n[e].__sentry_original__;e in t.console&&o&&(r[e]=n[e],n[e]=o)}));try{return e()}finally{Object.keys(r).forEach((e=>{n[e]=r[e]}))}}function Rr(){let e=!1;var t={enable:()=>{e=!0},disable:()=>{e=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?Or.forEach((n=>{t[n]=(...t)=>{e&&Ar((()=>{Pr.console[n](`Sentry Logger [${n}]:`,...t)}))}})):Or.forEach((e=>{t[e]=()=>{}})),t}let Mr;function Fr(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.substr(0,t)}...`}function Lr(e,t){if(!Array.isArray(e))return"";var n=[];for(let t=0;t<e.length;t++){var r=e[t];try{n.push(String(r))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function jr(e,t){return!!xr(e)&&(yr(t,"RegExp")?t.test(e):"string"==typeof t&&-1!==e.indexOf(t))}function Hr(e,t,n){if(t in e){var r=e[t],o=n(r);if("function"==typeof o)try{Vr(o,r)}catch(e){}e[t]=o}}function Ur(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function Vr(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,Ur(e,"__sentry_original__",t)}function $r(e){return e.__sentry_original__}function Wr(e){if(vr(e))return{message:e.message,name:e.name,stack:e.stack,...qr(e)};if(kr(e)){var t={type:e.type,target:Yr(e.target),currentTarget:Yr(e.currentTarget),...qr(e)};return"undefined"!=typeof CustomEvent&&_r(e,CustomEvent)&&(t.detail=e.detail),t}return e}function Yr(e){try{return"undefined"!=typeof Element&&_r(e,Element)?Ir(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function qr(e){if("object"==typeof e&&null!==e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function Gr(e,t=40){var n=Object.keys(Wr(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Fr(n[0],t);for(let e=n.length;e>0;e--){var r=n.slice(0,e).join(", ");if(!(r.length>t))return e===n.length?r:Fr(r,t)}return""}function Xr(e){return Kr(e,new Map)}function Kr(e,t){if(Cr(e)){if(void 0!==(o=t.get(e)))return o;var n={};for(var r of(t.set(e,n),Object.keys(e)))void 0!==e[r]&&(n[r]=Kr(e[r],t));return n}var o;return Array.isArray(e)?void 0!==(o=t.get(e))?o:(n=[],t.set(e,n),e.forEach((e=>{n.push(Kr(e,t))})),n):e}function Zr(...e){var t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0)=>{var r=[];for(var o of e.split("\n").slice(n))for(var i of t){var a=i(o);if(a){r.push(a);break}}return function(e){if(!e.length)return[];let t=e;var n=t[0].function||"",r=t[t.length-1].function||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(t=t.slice(1)),-1!==r.indexOf("sentryWrapped")&&(t=t.slice(0,-1)),t.slice(0,50).map((e=>({...e,filename:e.filename||t[0].filename,function:e.function||"?"}))).reverse()}(r)}}function Jr(e){try{return e&&"function"==typeof e&&e.name||"<anonymous>"}catch(e){return"<anonymous>"}}function Qr(){if(!("fetch"in mr()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(e){return!1}}function eo(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}Mr="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?hr("logger",Rr):Rr();var to=mr(),no={},ro={};function oo(e,t){no[e]=no[e]||[],no[e].push(t),function(e){if(!ro[e])switch(ro[e]=!0,e){case"console":"console"in to&&Or.forEach((function(e){e in to.console&&Hr(to.console,e,(function(t){return function(...n){io("console",{args:n,level:e}),t&&t.apply(to.console,n)}}))}));break;case"dom":!function(){if("document"in to){var e=io.bind(null,"dom"),t=po(e,!0);to.document.addEventListener("click",t,!1),to.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{var n=to[t]&&to[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Hr(n,"addEventListener",(function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{var i=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=i[n]=i[n]||{refCount:0};if(!a.handler){var c=po(e);a.handler=c,t.call(this,n,c,o)}a.refCount+=1}catch(e){}return t.call(this,n,r,o)}})),Hr(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{var o=this.__sentry_instrumentation_handlers__||{},i=o[t];i&&(i.refCount-=1,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete o[t]),0===Object.keys(o).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}}();break;case"xhr":!function(){if("XMLHttpRequest"in to){var e=XMLHttpRequest.prototype;Hr(e,"open",(function(e){return function(...t){var n=this,r=t[1],o=n.__sentry_xhr__={method:xr(t[0])?t[0].toUpperCase():t[0],url:t[1]};xr(r)&&"POST"===o.method&&r.match(/sentry_key/)&&(n.__sentry_own_request__=!0);var i=function(){if(4===n.readyState){try{o.status_code=n.status}catch(e){}io("xhr",{args:t,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&"function"==typeof n.onreadystatechange?Hr(n,"onreadystatechange",(function(e){return function(...t){return i(),e.apply(n,t)}})):n.addEventListener("readystatechange",i),e.apply(n,t)}})),Hr(e,"send",(function(e){return function(...t){return this.__sentry_xhr__&&void 0!==t[0]&&(this.__sentry_xhr__.body=t[0]),io("xhr",{args:t,startTimestamp:Date.now(),xhr:this}),e.apply(this,t)}}))}}();break;case"fetch":(function(){if(!Qr())return!1;var e=mr();if(eo(e.fetch))return!0;let t=!1;var n=e.document;if(n&&"function"==typeof n.createElement)try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=eo(r.contentWindow.fetch)),n.head.removeChild(r)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return t})()&&Hr(to,"fetch",(function(e){return function(...t){var n={args:t,fetchData:{method:ao(t),url:co(t)},startTimestamp:Date.now()};return io("fetch",{...n}),e.apply(to,t).then((e=>(io("fetch",{...n,endTimestamp:Date.now(),response:e}),e)),(e=>{throw io("fetch",{...n,endTimestamp:Date.now(),error:e}),e}))}}));break;case"history":!function(){if(function(){var e=mr(),t=e.chrome,n=t&&t.app&&t.app.runtime,r="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!n&&r}()){var e=to.onpopstate;to.onpopstate=function(...t){var n=to.location.href,r=lo;if(lo=n,io("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(e){}},Hr(to.history,"pushState",t),Hr(to.history,"replaceState",t)}function t(e){return function(...t){var n=t.length>2?t[2]:void 0;if(n){var r=lo,o=String(n);lo=o,io("history",{from:r,to:o})}return e.apply(this,t)}}}();break;case"error":fo=to.onerror,to.onerror=function(e,t,n,r,o){return io("error",{column:r,error:o,line:n,msg:e,url:t}),!!fo&&fo.apply(this,arguments)};break;case"unhandledrejection":mo=to.onunhandledrejection,to.onunhandledrejection=function(e){return io("unhandledrejection",e),!mo||mo.apply(this,arguments)};break;default:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn("unknown instrumentation type:",e)}}(e)}function io(e,t){if(e&&no[e])for(var n of no[e]||[])try{n(t)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${Jr(n)}\nError:`,t)}}function ao(e=[]){return"Request"in to&&_r(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function co(e=[]){return"string"==typeof e[0]?e[0]:"Request"in to&&_r(e[0],Request)?e[0].url:String(e[0])}let lo,so,uo;function po(e,t=!1){return n=>{if(n&&uo!==n&&!function(e){if("keypress"!==e.type)return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)return!1}catch(e){}return!0}(n)){var r="keypress"===n.type?"input":n.type;(void 0===so||function(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(e){}return!1}(uo,n))&&(e({event:n,name:r,global:t}),uo=n),clearTimeout(so),so=to.setTimeout((()=>{so=void 0}),1e3)}}}let fo=null,mo=null;function ho(){var e=mr(),t=e.crypto||e.msCrypto;if(void 0!==t&&t.getRandomValues){var n=new Uint16Array(8);t.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=e=>{let t=e.toString(16);for(;t.length<4;)t=`0${t}`;return t};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(e=>{var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function go(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}function vo(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function yo(e){const{message:t,event_id:n}=e;if(t)return t;var r=vo(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function bo(e,t,n){var r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function wo(e,t){var n=vo(e);if(n){var r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){var o={...r&&r.data,...t.data};n.mechanism.data=o}}}function xo(e){if(e&&e.__sentry_captured__)return!0;try{Ur(e,"__sentry_captured__",!0)}catch(e){}return!1}function Eo(e,t=1/0,n=1/0){try{return ko("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Co(e,t=3,n=102400){var r,o=Eo(e,t);return r=o,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(r))>n?Co(e,t-1,n):o}function ko(e,t,n=1/0,r=1/0,o=function(){var 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<t.length;e++){var r=t[e];if(r===n)return!0}return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){const[i,a]=o;if(null===t||["number","boolean","string"].includes(typeof t)&&("number"!=typeof(c=t)||c==c))return t;var c,l=function(e,t){try{return"domain"===e&&t&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":function(e){return Cr(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}(t)?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?`[Function: ${Jr(t)}]`:"symbol"==typeof t?`[${String(t)}]`:"bigint"==typeof t?`[BigInt: ${String(t)}]`:`[object ${Object.getPrototypeOf(t).constructor.name}]`}catch(e){return`**non-serializable** (${e})`}}(e,t);if(!l.startsWith("[object "))return l;if(t.__sentry_skip_normalization__)return t;if(0===n)return l.replace("object ","");if(i(t))return"[Circular ~]";var s=t;if(s&&"function"==typeof s.toJSON)try{return ko("",s.toJSON(),n-1,r,o)}catch(e){}var u=Array.isArray(t)?[]:{};let d=0;var p=Wr(t);for(var f in p)if(Object.prototype.hasOwnProperty.call(p,f)){if(d>=r){u[f]="[MaxProperties ~]";break}var m=p[f];u[f]=ko(f,m,n-1,r,o),d+=1}return a(t),u}var So;function _o(e){return new Bo((t=>{t(e)}))}function Io(e){return new Bo(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(So||(So={}));class Bo{__init(){this._state=So.PENDING}__init2(){this._handlers=[]}constructor(e){Bo.prototype.__init.call(this),Bo.prototype.__init2.call(this),Bo.prototype.__init3.call(this),Bo.prototype.__init4.call(this),Bo.prototype.__init5.call(this),Bo.prototype.__init6.call(this);try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new Bo(((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 Bo(((t,n)=>{let r,o;return this.then((t=>{o=!1,r=t,e&&e()}),(t=>{o=!0,r=t,e&&e()})).then((()=>{o?n(r):t(r)}))}))}__init3(){this._resolve=e=>{this._setResult(So.RESOLVED,e)}}__init4(){this._reject=e=>{this._setResult(So.REJECTED,e)}}__init5(){this._setResult=(e,t)=>{this._state===So.PENDING&&(Sr(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init6(){this._executeHandlers=()=>{if(this._state!==So.PENDING){var e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===So.RESOLVED&&e[1](this._value),this._state===So.REJECTED&&e[2](this._value),e[0]=!0)}))}}}}var To=["fatal","error","warning","log","info","debug"],No={nowSeconds:()=>Date.now()/1e3},Do=pr()?function(){try{return(e=module,"perf_hooks",e.require("perf_hooks")).performance}catch(e){return}var e}():function(){const{performance:e}=mr();if(e&&e.now)return{now:()=>e.now(),timeOrigin:Date.now()-e.now()}}(),zo=void 0===Do?No:{nowSeconds:()=>(Do.timeOrigin+Do.now())/1e3},Po=No.nowSeconds.bind(No),Oo=zo.nowSeconds.bind(zo);function Ao(e,t=[]){return[e,t]}function Ro(e,t){const[n,r]=e;return[n,[...r,t]]}function Mo(e,t){e[1].forEach((e=>{var n=e[0].type;t(e,n)}))}function Fo(e,t){return(t||new TextEncoder).encode(e)}function Lo(e,t){const[n,r]=e;let o=JSON.stringify(n);function i(e){"string"==typeof o?o="string"==typeof e?o+e:[Fo(o,t),e]:o.push("string"==typeof e?Fo(e,t):e)}for(var a of r){const[e,t]=a;i(`\n${JSON.stringify(e)}\n`),i("string"==typeof t||t instanceof Uint8Array?t:JSON.stringify(t))}return"string"==typeof o?o:function(e){var t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(var o of e)n.set(o,r),r+=o.length;return n}(o)}function jo(e,t){var n="string"==typeof e.data?Fo(e.data,t):e.data;return[Xr({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}(()=>{const{performance:e}=mr();if(e&&e.now){var t=36e5,n=e.now(),r=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,i=o<t,a=e.timing&&e.timing.navigationStart,c="number"==typeof a?Math.abs(a+n-r):t;(i||c<t)&&o<=c&&e.timeOrigin}})();var Ho={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function Uo(e){return Ho[e]}function Vo(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||Oo(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:ho()),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{var n=e.timestamp-e.started;e.duration=n>=0?n: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)}class $o{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(e){var t=new $o;return e&&(t._breadcrumbs=[...e._breadcrumbs],t._tags={...e._tags},t._extra={...e._extra},t._contexts={...e._contexts},t._user=e._user,t._level=e._level,t._span=e._span,t._session=e._session,t._transactionName=e._transactionName,t._fingerprint=e._fingerprint,t._eventProcessors=[...e._eventProcessors],t._requestSession=e._requestSession,t._attachments=[...e._attachments]),t}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{},this._session&&Vo(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={...this._contexts,[e]:t},this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){var e=this.getSpan();return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;if("function"==typeof e){var t=e(this);return t instanceof $o?t:this}return e instanceof $o?(this._tags={...this._tags,...e._tags},this._extra={...this._extra,...e._extra},this._contexts={...this._contexts,...e._contexts},e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):Cr(e)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),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._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(e,t){var n="number"==typeof t?Math.min(t,100):100;if(n<=0)return this;var r={timestamp:Po(),...e};return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(e,t={}){if(this._extra&&Object.keys(this._extra).length&&(e.extra={...this._extra,...e.extra}),this._tags&&Object.keys(this._tags).length&&(e.tags={...this._tags,...e.tags}),this._user&&Object.keys(this._user).length&&(e.user={...this._user,...e.user}),this._contexts&&Object.keys(this._contexts).length&&(e.contexts={...this._contexts,...e.contexts}),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts={trace:this._span.getTraceContext(),...e.contexts};var n=this._span.transaction&&this._span.transaction.name;n&&(e.tags={transaction:n,...e.tags})}return this._applyFingerprint(e),e.breadcrumbs=[...e.breadcrumbs||[],...this._breadcrumbs],e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...Wo(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}_notifyEventProcessors(e,t,n,r=0){return new Bo(((o,i)=>{var a=e[r];if(null===t||"function"!=typeof a)o(t);else{var c=a({...t},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.id&&null===c&&Mr.log(`Event processor "${a.id}" dropped event`),Sr(c)?c.then((t=>this._notifyEventProcessors(e,t,n,r+1).then(o))).then(null,i):this._notifyEventProcessors(e,c,n,r+1).then(o).then(null,i)}}))}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}_applyFingerprint(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}function Wo(){return hr("globalEventProcessors",(()=>[]))}function Yo(e){Wo().push(e)}var qo=100;class Go{__init(){this._stack=[{}]}constructor(e,t=new $o,n=4){this._version=n,Go.prototype.__init.call(this),this.getStackTop().scope=t,e&&this.bindClient(e)}isOlderThan(e){return this._version<e}bindClient(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){var e=$o.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1||!this.getStack().pop())}withScope(e){var t=this.pushScope();try{e(t)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){var n=this._lastEventId=t&&t.event_id?t.event_id:ho(),r=new Error("Sentry syntheticException");return this._withClient(((o,i)=>{o.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},i)})),n}captureMessage(e,t,n){var r=this._lastEventId=n&&n.event_id?n.event_id:ho(),o=new Error(e);return this._withClient(((i,a)=>{i.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:r},a)})),r}captureEvent(e,t){var n=t&&t.event_id?t.event_id:ho();return"transaction"!==e.type&&(this._lastEventId=n),this._withClient(((r,o)=>{r.captureEvent(e,{...t,event_id:n},o)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!n||!r)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:i=qo}=r.getOptions&&r.getOptions()||{};if(!(i<=0)){var a={timestamp:Po(),...e},c=o?Ar((()=>o(a,t))):a;null!==c&&n.addBreadcrumb(c,i)}}setUser(e){var t=this.getScope();t&&t.setUser(e)}setTags(e){var t=this.getScope();t&&t.setTags(e)}setExtras(e){var t=this.getScope();t&&t.setExtras(e)}setTag(e,t){var n=this.getScope();n&&n.setTag(e,t)}setExtra(e,t){var n=this.getScope();n&&n.setExtra(e,t)}setContext(e,t){var n=this.getScope();n&&n.setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();t&&n&&e(t)}run(e){var t=Ko(this);try{e(this)}finally{Ko(t)}}getIntegration(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){return this._callExtensionMethod("startTransaction",e,t)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){var e=this.getStackTop(),t=e&&e.scope,n=t&&t.getSession();n&&function(e,t){let n={};"ok"===e.status&&(n={status:"exited"}),Vo(e,n)}(n),this._sendSessionUpdate(),t&&t.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:r,environment:o}=n&&n.getOptions()||{};var i=mr();const{userAgent:a}=i.navigator||{};var c=function(e){var t=Oo(),n={sid:ho(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return Xr({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,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&Vo(n,e),n}({release:r,environment:o,...t&&{user:t.getUser()},...a&&{userAgent:a},...e});if(t){var l=t.getSession&&t.getSession();l&&"ok"===l.status&&Vo(l,{status:"exited"}),this.endSession(),t.setSession(c)}return c}shouldSendDefaultPii(){var e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop();if(e){var n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}}_withClient(e){const{scope:t,client:n}=this.getStackTop();n&&e(n,t)}_callExtensionMethod(e,...t){var n=Xo().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function Xo(){var e=mr();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function Ko(e){var t=Xo(),n=Qo(t);return ei(t,e),n}function Zo(){var e=Xo();return Jo(e)&&!Qo(e).isOlderThan(4)||ei(e,new Go),pr()?function(e){try{var t=Xo().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return Qo(e);if(!Jo(n)||Qo(n).isOlderThan(4)){var r=Qo(e).getStackTop();ei(n,new Go(r.client,$o.clone(r.scope)))}return Qo(n)}catch(t){return Qo(e)}}(e):Qo(e)}function Jo(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function Qo(e){return hr("hub",(()=>new Go),e)}function ei(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}function ti(e,t){return Zo().captureException(e,{captureContext:t})}function ni(e){Zo().withScope(e)}function ri(e,t){return t||`${function(e){return`${function(e){var t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(e)}?${function(e){return t={sentry_key:e.publicKey,sentry_version:"7"},Object.keys(t).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`)).join("&");var t}(e)}`}function oi(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}var ii=[];function ai(e){return e.reduce(((e,t)=>(e.every((e=>t.name!==e.name))&&e.push(t),e)),[])}function ci(e){var t=e.defaultIntegrations&&[...e.defaultIntegrations]||[],n=e.integrations;let r=[...ai(t)];Array.isArray(n)?r=[...r.filter((e=>n.every((t=>t.name!==e.name)))),...ai(n)]:"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var o=r.map((e=>e.name)),i="Debug";return-1!==o.indexOf(i)&&r.push(...r.splice(o.indexOf(i),1)),r}var li="Not capturing exception because it's already been captured.";class si{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(e){if(si.prototype.__init.call(this),si.prototype.__init2.call(this),si.prototype.__init3.call(this),si.prototype.__init4.call(this),this._options=e,e.dsn){this._dsn=(n=e.dsn,r="string"==typeof n?function(e){var t=Nr.exec(e);if(!t)throw new Tr(`Invalid Sentry Dsn: ${e}`);const[n,r,o="",i,a="",c]=t.slice(1);let l="",s=c;var u=s.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),s=u.pop()),s){var d=s.match(/^\d+/);d&&(s=d[0])}return zr({host:i,pass:o,path:l,projectId:s,port:a,protocol:n,publicKey:r})}(n):zr(n),function(e){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return;const{port:t,projectId:n,protocol:r}=e;if(["protocol","publicKey","host","projectId"].forEach((t=>{if(!e[t])throw new Tr(`Invalid Sentry Dsn: ${t} missing`)})),!n.match(/^\d+$/))throw new Tr(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!function(e){return"http"===e||"https"===e}(r))throw new Tr(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new Tr(`Invalid Sentry Dsn: Invalid port ${t}`)}(r),r);var t=ri(this._dsn,e.tunnel);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn("No DSN provided, client will not do anything.");var n,r}captureException(e,t,n){if(xo(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.log(li));let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{r=e}))),r}captureMessage(e,t,n,r){let o=n&&n.event_id;var i=Er(e)?this.eventFromMessage(String(e),t,n):this.eventFromException(e,n);return this._process(i.then((e=>this._captureEvent(e,n,r))).then((e=>{o=e}))),o}captureEvent(e,t,n){if(t&&t.originalException&&xo(t.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.log(li));let r=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((e=>{r=e}))),r}captureSession(e){this._isEnabled()?"string"!=typeof e.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),Vo(e,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn("SDK not enabled, will not capture session.")}getDsn(){return this._dsn}getOptions(){return this._options}getTransport(){return this._transport}flush(e){var t=this._transport;return t?this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e)))):_o(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,e)))}setupIntegrations(){var e,t;this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=(e=this._options.integrations,t={},e.forEach((e=>{t[e.name]=e,-1===ii.indexOf(e.name)&&(e.setupOnce(Yo,Zo),ii.push(e.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.log(`Integration installed: ${e.name}`))})),t),this._integrationsInitialized=!0)}getIntegrationById(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}sendEvent(e,t={}){if(this._dsn){let r=function(e,t,n,r){var o=oi(n),i=e.type||"event";const{transactionSampling:a}=e.sdkProcessingMetadata||{},{method:c,rate:l}=a||{};!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);var s=function(e,t,n,r){var o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baggage,i=o&&function(e){return e[0]}(o);return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&{dsn:Dr(r)},..."transaction"===e.type&&i&&{trace:Xr({...i})}}}(e,o,r,t);return delete e.sdkProcessingMetadata,Ao(s,[[{type:i,sample_rates:[{id:c,rate:l}]},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(var n of t.attachments||[])r=Ro(r,jo(n,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(r)}}sendSession(e){if(this._dsn){var t=function(e,t,n,r){var o=oi(n);return Ao({sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!r&&{dsn:Dr(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}}recordDroppedEvent(e,t){if(this._options.sendClientReports){var n=`${e}:${t}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}_updateSessionFromEvent(e,t){let n=!1,r=!1;var o=t.exception&&t.exception.values;if(o)for(var i of(r=!0,o)){var a=i.mechanism;if(a&&!1===a.handled){n=!0;break}}var c="ok"===e.status;(c&&0===e.errors||c&&n)&&(Vo(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new Bo((t=>{let n=0;var 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._dsn}_prepareEvent(e,t,n){const{normalizeDepth:r=3,normalizeMaxBreadth:o=1e3}=this.getOptions();var i={...e,event_id:e.event_id||t.event_id||ho(),timestamp:e.timestamp||Po()};this._applyClientOptions(i),this._applyIntegrationsMetadata(i);let a=n;t.captureContext&&(a=$o.clone(a).update(t.captureContext));let c=_o(i);if(a){var l=[...t.attachments||[],...a.getAttachments()];l.length&&(t.attachments=l),c=a.applyToEvent(i,t)}return c.then((e=>"number"==typeof r&&r>0?this._normalizeEvent(e,r,o):e))}_normalizeEvent(e,t,n){if(!e)return null;var r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:Eo(e.data,t,n)}})))},...e.user&&{user:Eo(e.user,t,n)},...e.contexts&&{contexts:Eo(e.contexts,t,n)},...e.extra&&{extra:Eo(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Eo(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map((e=>(e.data&&(e.data=Eo(e.data,t,n)),e)))),r}_applyClientOptions(e){var t=this.getOptions();const{environment:n,release:r,dist:o,maxValueLength:i=250}=t;"environment"in e||(e.environment="environment"in t?n:"production"),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==o&&(e.dist=o),e.message&&(e.message=Fr(e.message,i));var a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=Fr(a.value,i));var c=e.request;c&&c.url&&(c.url=Fr(c.url,i))}_applyIntegrationsMetadata(e){var t=Object.keys(this._integrations);t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn(e)}))}_processEvent(e,t,n){const{beforeSend:r,sampleRate:o}=this.getOptions();if(!this._isEnabled())return Io(new Tr("SDK not enabled, will not capture event."));var i="transaction"===e.type;return!i&&"number"==typeof o&&Math.random()>o?(this.recordDroppedEvent("sample_rate","error"),Io(new Tr(`Discarding event because it's not included in the random sample (sampling rate = ${o})`))):this._prepareEvent(e,t,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",e.type||"error"),new Tr("An event processor returned null, will not send event.");return t.data&&!0===t.data.__sentry__||i||!r?n:function(e){var t="`beforeSend` method has to return `null` or a valid event.";if(Sr(e))return e.then((e=>{if(!Cr(e)&&null!==e)throw new Tr(t);return e}),(e=>{throw new Tr(`beforeSend rejected with ${e}`)}));if(!Cr(e)&&null!==e)throw new Tr(t);return e}(r(n,t))})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",e.type||"error"),new Tr("`beforeSend` returned `null`, will not send event.");var o=n&&n.getSession();return!i&&o&&this._updateSessionFromEvent(o,r),this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof Tr)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new Tr(`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+=1,e.then((e=>(this._numProcessing-=1,e)),(e=>(this._numProcessing-=1,e)))}_sendEnvelope(e){this._transport&&this._dsn?this._transport.send(e).then(null,(e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.error("Error while sending event:",e)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.error("Transport disabled")}_clearOutcomes(){var e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}function ui(e,t,n=function(e){var t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return Io(new Tr("Not adding Promise due to buffer limit reached."));var o=r();return-1===t.indexOf(o)&&t.push(o),o.then((()=>n(o))).then(null,(()=>n(o).then(null,(()=>{})))),o},drain:function(e){return new Bo(((n,r)=>{let o=t.length;if(!o)return n(!0);var i=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{_o(e).then((()=>{--o||(clearTimeout(i),n(!0))}),r)}))}))}}}(e.bufferSize||30)){let r={};return{send:function(o){var i=[];if(Mo(o,((t,n)=>{var o=Uo(n);!function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,o)?i.push(t):e.recordDroppedEvent("ratelimit_backoff",o)})),0===i.length)return _o();var a=Ao(o[0],i),c=t=>{Mo(a,((n,r)=>{e.recordDroppedEvent(t,Uo(r))}))};return n.add((()=>t({body:Lo(a,e.textEncoder)}).then((e=>{void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){var o={...e},i=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(i)for(var c of i.trim().split(",")){const[e,t]=c.split(":",2);var l=parseInt(e,10),s=1e3*(isNaN(l)?60:l);if(t)for(var u of t.split(";"))o[u]=r+s;else o.all=r+s}else a?o.all=r+function(e,t=Date.now()){var n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(a,r):429===t&&(o.all=r+6e4);return o}(r,e)}),(e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.error("Failed while sending event:",e),c("network_error")})))).then((e=>e),(e=>{if(e instanceof Tr)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.error("Skipped sending event due to full buffer"),c("queue_overflow"),_o();throw e}))},flush:e=>n.drain(e)}}let di;class pi{constructor(){pi.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=pi.id}setupOnce(){di=Function.prototype.toString,Function.prototype.toString=function(...e){var t=$r(this)||this;return di.apply(t,e)}}}pi.__initStatic();var fi=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class mi{static __initStatic(){this.id="InboundFilters"}__init(){this.name=mi.id}constructor(e={}){this._options=e,mi.prototype.__init.call(this)}setupOnce(e,t){var n=e=>{var n=t();if(n){var r=n.getIntegration(mi);if(r){var o=n.getClient(),i=o?o.getOptions():{},a=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...fi],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(r._options,i);return function(e,t){return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${yo(e)}`),!0):function(e,t){return!(!t||!t.length)&&function(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.error(`Cannot extract message for event ${yo(e)}`),[]}return[]}(e).some((e=>t.some((t=>jr(e,t)))))}(e,t.ignoreErrors)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${yo(e)}`),!0):function(e,t){if(!t||!t.length)return!1;var n=hi(e);return!!n&&t.some((e=>jr(n,e)))}(e,t.denyUrls)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${yo(e)}.\nUrl: ${hi(e)}`),!0):!function(e,t){if(!t||!t.length)return!0;var n=hi(e);return!n||t.some((e=>jr(n,e)))}(e,t.allowUrls)&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${yo(e)}.\nUrl: ${hi(e)}`),!0)}(e,a)?null:e}}return e};n.id=this.name,e(n)}}function hi(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let n=e.length-1;n>=0;n--){var t=e[n];if(t&&"<anonymous>"!==t.filename&&"[native code]"!==t.filename)return t.filename||null}return null}(t):null}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.error(`Cannot extract url for event ${yo(e)}`),null}}function gi(e,t){var n=yi(e,t),r={type:t&&t.name,value:wi(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function vi(e,t){return{exception:{values:[gi(e,t)]}}}function yi(e,t){var n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(bi.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(e){}return[]}mi.__initStatic();var bi=/Minified React error #\d+;/i;function wi(e){var t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function xi(e,t,n,r,o){let i;if(br(t)&&t.error)return vi(e,t.error);if(wr(t)||yr(t,"DOMException")){var a=t;if("stack"in t)i=vi(e,t);else{var c=a.name||(wr(a)?"DOMError":"DOMException"),l=a.message?`${c}: ${a.message}`:c;i=Ei(e,l,n,r),bo(i,l)}return"code"in a&&(i.tags={...i.tags,"DOMException.code":`${a.code}`}),i}return vr(t)?vi(e,t):Cr(t)||kr(t)?(i=function(e,t,n,r){var o={exception:{values:[{type:kr(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${Gr(t)}`}]},extra:{__serialized__:Co(t)}};if(n){var i=yi(e,n);i.length&&(o.exception.values[0].stacktrace={frames:i})}return o}(e,t,n,o),wo(i,{synthetic:!0}),i):(i=Ei(e,t,n,r),bo(i,`${t}`,void 0),wo(i,{synthetic:!0}),i)}function Ei(e,t,n,r){var o={message:t};if(r&&n){var i=yi(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]})}return o}class Ci{static __initStatic(){this.id="Breadcrumbs"}__init(){this.name=Ci.id}constructor(e){Ci.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e}}setupOnce(){var e;this.options.console&&oo("console",ki),this.options.dom&&oo("dom",(e=this.options.dom,function(t){let n,r="object"==typeof e?e.serializeAttribute:void 0;"string"==typeof r&&(r=[r]);try{n=t.event.target?Ir(t.event.target,r):Ir(t.event,r)}catch(e){n="<unknown>"}0!==n.length&&Zo().addBreadcrumb({category:`ui.${t.name}`,message:n},{event:t.event,name:t.name,global:t.global})})),this.options.xhr&&oo("xhr",Si),this.options.fetch&&oo("fetch",_i),this.options.history&&oo("history",Ii)}}function ki(e){var t,n={category:"console",data:{arguments:e.args,logger:"console"},level:(t=e.level,"warn"===t?"warning":To.includes(t)?t:"log"),message:Lr(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;n.message=`Assertion failed: ${Lr(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1)}Zo().addBreadcrumb(n,{input:e.args,level:e.level})}function Si(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;const{method:t,url:n,status_code:r,body:o}=e.xhr.__sentry_xhr__||{};Zo().addBreadcrumb({category:"xhr",data:{method:t,url:n,status_code:r},type:"http"},{xhr:e.xhr,input:o})}}function _i(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method||(e.error?Zo().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):Zo().addBreadcrumb({category:"fetch",data:{...e.fetchData,status_code:e.response.status},type:"http"},{input:e.args,response:e.response})))}function Ii(e){var t=mr();let n=e.from,r=e.to;var o=go(t.location.href);let i=go(n);var a=go(r);i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),Zo().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}Ci.__initStatic();var Bi=mr();let Ti;function Ni(){if(Ti)return Ti;if(eo(Bi.fetch))return Ti=Bi.fetch.bind(Bi);var e=Bi.document;let t=Bi.fetch;if(e&&"function"==typeof e.createElement)try{var n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return Ti=t.bind(Bi)}var Di=mr();class zi extends si{constructor(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:"7.6.0"}],version:"7.6.0"},super(e),e.sendClientReports&&Di.document&&Di.document.addEventListener("visibilitychange",(()=>{"hidden"===Di.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return function(e,t,n,r){var o=xi(e,t,n&&n.syntheticException||void 0,r);return wo(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),_o(o)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,o){var i=Ei(e,t,r&&r.syntheticException||void 0,o);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),_o(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}sendEvent(e,t){var n=this.getIntegrationById("Breadcrumbs");n&&n.options&&n.options.sentry&&Zo().addBreadcrumb({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:yo(e)},{event:e}),super.sendEvent(e,t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){var e=this._clearOutcomes();if(0!==e.length)if(this._dsn){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.log("Sending outcomes:",e);var t,n,r=ri(this._dsn,this._options.tunnel),o=(t=e,Ao((n=this._options.tunnel&&Dr(this._dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:Po(),discarded_events:t}]]));try{!function(e,t){"[object Navigator]"===Object.prototype.toString.call(Bi&&Bi.navigator)&&"function"==typeof Bi.navigator.sendBeacon?Bi.navigator.sendBeacon.bind(Bi.navigator)(e,t):Qr()&&Ni()(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,(e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.error(e)}))}(r,Lo(o))}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.error(e)}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.log("No dsn provided, will not send outcomes");else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.log("No outcomes to send")}}function Pi(e,t=Ni()){return ui(e,(function(n){var r={body:n.body,method:"POST",referrerPolicy:"origin",headers:e.headers,...e.fetchOptions};return t(e.url,r).then((e=>({statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}))}function Oi(e){return ui(e,(function(t){return new Bo(((n,r)=>{var o=new XMLHttpRequest;for(var i in o.onerror=r,o.onreadystatechange=()=>{4===o.readyState&&n({statusCode:o.status,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")}})},o.open("POST",e.url),e.headers)Object.prototype.hasOwnProperty.call(e.headers,i)&&o.setRequestHeader(i,e.headers[i]);o.send(t.body)}))}))}function Ai(e,t,n,r){var o={filename:e,function:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}var Ri=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Mi=/\((\S*)(?::(\d+))(?::(\d+))\)/,Fi=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Li=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,ji=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Hi=Zr([30,e=>{var t=Ri.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){var n=Mi.exec(t[2]);n&&(t[2]=n[1],t[3]=n[2],t[4]=n[3])}const[e,r]=Ui(t[1]||"?",t[2]);return Ai(r,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,e=>{var t=Fi.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){var n=Li.exec(t[3]);n&&(t[1]=t[1]||"eval",t[3]=n[1],t[4]=n[2],t[5]="")}let e=t[3],r=t[1]||"?";return[r,e]=Ui(r,e),Ai(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],[40,e=>{var t=ji.exec(e);return t?Ai(t[2],t[1]||"?",+t[3],t[4]?+t[4]:void 0):void 0}]),Ui=(e,t)=>{var n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};let Vi=0;function $i(){return Vi>0}function Wi(){Vi+=1,setTimeout((()=>{Vi-=1}))}function Yi(e,t={},n){if("function"!=typeof e)return e;try{var r=e.__sentry_wrapped__;if(r)return r;if($r(e))return e}catch(t){return e}var o=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var o=r.map((e=>Yi(e,t)));return e.apply(this,o)}catch(e){throw Wi(),ni((n=>{n.addEventProcessor((e=>(t.mechanism&&(bo(e,void 0,void 0),wo(e,t.mechanism)),e.extra={...e.extra,arguments:r},e))),ti(e)})),e}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch(e){}Vr(o,e),Ur(e,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:()=>e.name})}catch(e){}return o}class qi{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=qi.id}__init2(){this._installFunc={onerror:Gi,onunhandledrejection:Xi}}constructor(e){qi.prototype.__init.call(this),qi.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...e}}setupOnce(){Error.stackTraceLimit=50;var e,t=this._options;for(var n in t){var r=this._installFunc[n];r&&t[n]&&(e=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.log(`Global Handler attached: ${e}`),r(),this._installFunc[n]=void 0)}}}function Gi(){oo("error",(e=>{const[t,n,r]=Ji();if(!t.getIntegration(qi))return;const{msg:o,url:i,line:a,column:c,error:l}=e;if(!($i()||l&&l.__sentry_own_request__)){var s=void 0===l&&xr(o)?function(e,t,n,r){let o=br(e)?e.message:e,i="Error";var a=o.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return a&&(i=a[1],o=a[2]),Ki({exception:{values:[{type:i,value:o}]}},t,n,r)}(o,i,a,c):Ki(xi(n,l||o,void 0,r,!1),i,a,c);s.level="error",Zi(t,l,s,"onerror")}}))}function Xi(){oo("unhandledrejection",(e=>{const[t,n,r]=Ji();if(!t.getIntegration(qi))return;let o=e;try{"reason"in e?o=e.reason:"detail"in e&&"reason"in e.detail&&(o=e.detail.reason)}catch(e){}if($i()||o&&o.__sentry_own_request__)return!0;var i=Er(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:xi(n,o,void 0,r,!0);i.level="error",Zi(t,o,i,"onunhandledrejection")}))}function Ki(e,t,n,r){var o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},c=a.stacktrace=a.stacktrace||{},l=c.frames=c.frames||[],s=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=xr(t)&&t.length>0?t:function(){var e=mr();try{return e.document.location.href}catch(e){return""}}();return 0===l.length&&l.push({colno:s,filename:d,function:"?",in_app:!0,lineno:u}),e}function Zi(e,t,n,r){wo(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function Ji(){var e=Zo(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}qi.__initStatic();var Qi=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class ea{static __initStatic(){this.id="TryCatch"}__init(){this.name=ea.id}constructor(e){ea.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e}}setupOnce(){var e=mr();this._options.setTimeout&&Hr(e,"setTimeout",ta),this._options.setInterval&&Hr(e,"setInterval",ta),this._options.requestAnimationFrame&&Hr(e,"requestAnimationFrame",na),this._options.XMLHttpRequest&&"XMLHttpRequest"in e&&Hr(XMLHttpRequest.prototype,"send",ra);var t=this._options.eventTarget;t&&(Array.isArray(t)?t:Qi).forEach(oa)}}function ta(e){return function(...t){var n=t[0];return t[0]=Yi(n,{mechanism:{data:{function:Jr(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function na(e){return function(t){return e.apply(this,[Yi(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Jr(e)},handled:!0,type:"instrument"}})])}}function ra(e){return function(...t){var n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&Hr(n,e,(function(t){var n={mechanism:{data:{function:e,handler:Jr(t)},handled:!0,type:"instrument"}},r=$r(t);return r&&(n.mechanism.data.handler=Jr(r)),Yi(t,n)}))})),e.apply(this,t)}}function oa(e){var t=mr(),n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Hr(n,"addEventListener",(function(t){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=Yi(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Jr(r),target:e},handled:!0,type:"instrument"}}))}catch(e){}return t.apply(this,[n,Yi(r,{mechanism:{data:{function:"addEventListener",handler:Jr(r),target:e},handled:!0,type:"instrument"}}),o])}})),Hr(n,"removeEventListener",(function(e){return function(t,n,r){var o=n;try{var i=o&&o.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(e){}return e.call(this,t,o,r)}})))}ea.__initStatic();class ia{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=ia.id}constructor(e={}){ia.prototype.__init.call(this),this._key=e.key||"cause",this._limit=e.limit||5}setupOnce(){var e=Zo().getClient();e&&Yo(((t,n)=>{var r=Zo().getIntegration(ia);return r?function(e,t,n,r,o){if(!(r.exception&&r.exception.values&&o&&_r(o.originalException,Error)))return r;var i=aa(e,n,o.originalException,t);return r.exception.values=[...i,...r.exception.values],r}(e.getOptions().stackParser,r._key,r._limit,t,n):t}))}}function aa(e,t,n,r,o=[]){if(!_r(n[r],Error)||o.length+1>=t)return o;var i=gi(e,n[r]);return aa(e,t,n[r],r,[i,...o])}ia.__initStatic();var ca=mr();class la{constructor(){la.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=la.id}setupOnce(){Yo((e=>{if(Zo().getIntegration(la)){if(!ca.navigator&&!ca.location&&!ca.document)return e;var t=e.request&&e.request.url||ca.location&&ca.location.href;const{referrer:r}=ca.document||{},{userAgent:o}=ca.navigator||{};var n={...t&&{url:t},headers:{...e.request&&e.request.headers,...r&&{Referer:r},...o&&{"User-Agent":o}}};return{...e,request:n}}return e}))}}la.__initStatic();class sa{constructor(){sa.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=sa.id}setupOnce(e,t){var n=e=>{var n=t().getIntegration(sa);if(n){try{if(function(e,t){return!!t&&(!!function(e,t){var n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!da(e,t)&&!!ua(e,t))))}(e,t)||!!function(e,t){var n=pa(t),r=pa(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!da(e,t)&&!!ua(e,t)))}(e,t))}(e,n._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return n._previousEvent=e}return n._previousEvent=e}return e};n.id=this.name,e(n)}}function ua(e,t){let n=fa(e),r=fa(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<r.length;e++){var o=r[e],i=n[e];if(o.filename!==i.filename||o.lineno!==i.lineno||o.colno!==i.colno||o.function!==i.function)return!1}return!0}function da(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function pa(e){return e.exception&&e.exception.values&&e.exception.values[0]}function fa(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}}sa.__initStatic();var ma=[new mi,new pi,new ea,new Ci,new qi,new ia,new sa,new la];function ha(e){e.startSession({ignoreDuration:!0}),e.captureSession()}var ga=n(null),va={field:"CREATED_AT",direction:"DESC"};function ya(e){var n=r(va),i=n[0],a=n[1],c=r(va),l=c[0],s=c[1],u=r(va),d=u[0],p=u[1];function f(e,t){"assets"===e?a(t):"collections"===e?s(t):p(t)}function m(){a(va),s(va),p(va)}var h=o((function(){return{assets:i,collections:l,collection:d,setOrdering:f,reset:m}}),[i,d,l]);return t.createElement(ga.Provider,{value:h},e.children)}function ba(e){var t=function(){var e=i(ga);if(null===e)throw new Error("useOrdering must be used with a OrderingProvider");return e}();return[t[e],function(n){return t.setOrdering(e,n)}]}
|
|
8
8
|
/*! *****************************************************************************
|
|
9
9
|
Copyright (c) Microsoft Corporation.
|
|
10
10
|
|
|
@@ -18,12 +18,12 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
18
18
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
19
19
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
20
20
|
PERFORMANCE OF THIS SOFTWARE.
|
|
21
|
-
***************************************************************************** */var wa=function(e,t){return wa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},wa(e,t)},xa=function(){return xa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},xa.apply(this,arguments)};function Ea(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function Ca(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function c(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}l((r=r.apply(e,t||[])).next())}))}function ka(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function Sa(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function _a(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var Ia=n(null);function Ba(e){var n=r({page:"assets"});return t.createElement(Ia.Provider,{value:n},e.children)}function Ta(){var e=i(Ia);if(null===e)throw new Error("useRouter must be used with a RouterProvider");return e}var Na=n(null),za={assets:"",collection:"",collections:"",isLoading:!1};function Da(e){var n=r(za),i=n[0],c=n[1],l=Ta()[0];function s(e,t){var n=""!==t;c((function(r){var o;return xa(xa({},r),((o={})[e]=t,o.isLoading=n,o))}))}function u(e){c((function(t){return xa(xa({},t),{isLoading:e})}))}function d(){c(za)}a((function(){var t;s("assets",null!==(t=e.defaultValue)&&void 0!==t?t:"")}),[e.defaultValue]),a((function(){c((function(e){return xa(xa({},e),{collection:""})}))}),[l]);var p=o((function(){return xa(xa({},i),{setSearch:s,setIsLoading:u,clear:d})}),[i]);return t.createElement(Na.Provider,{value:p},e.children)}function Pa(){var e=i(Na);if(null===e)throw new Error("useSearchState must be used within a SearchStateContext");return e}function Oa(e){var t=Pa();return{value:t[e],isLoading:t.isLoading,setSearch:function(n){return t.setSearch(e,n)},setIsLoading:t.setIsLoading}}var Aa={error:console.error},Ra=n(null),Fa=Ra.Provider,La=function(){var e=i(Ra);if(!e)throw new Error("useRootElement must be used withn a RootElementProvider");return e},Ma={exports:{}},ja={},Ha="function"==typeof Symbol&&Symbol.for,Ua=Ha?Symbol.for("react.element"):60103,Va=Ha?Symbol.for("react.portal"):60106,$a=Ha?Symbol.for("react.fragment"):60107,Wa=Ha?Symbol.for("react.strict_mode"):60108,Ga=Ha?Symbol.for("react.profiler"):60114,qa=Ha?Symbol.for("react.provider"):60109,Ya=Ha?Symbol.for("react.context"):60110,Ka=Ha?Symbol.for("react.async_mode"):60111,Xa=Ha?Symbol.for("react.concurrent_mode"):60111,Za=Ha?Symbol.for("react.forward_ref"):60112,Ja=Ha?Symbol.for("react.suspense"):60113,Qa=Ha?Symbol.for("react.suspense_list"):60120,ec=Ha?Symbol.for("react.memo"):60115,tc=Ha?Symbol.for("react.lazy"):60116,nc=Ha?Symbol.for("react.block"):60121,rc=Ha?Symbol.for("react.fundamental"):60117,oc=Ha?Symbol.for("react.responder"):60118,ic=Ha?Symbol.for("react.scope"):60119;function ac(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ua:switch(e=e.type){case Ka:case Xa:case $a:case Ga:case Wa:case Ja:return e;default:switch(e=e&&e.$$typeof){case Ya:case Za:case tc:case ec:case qa:return e;default:return t}}case Va:return t}}}function cc(e){return ac(e)===Xa}function lc(e){function t(e,r,l,s,p){for(var f,m,h,g,w,E=0,C=0,k=0,S=0,_=0,D=0,O=h=f=0,R=0,F=0,L=0,M=0,j=l.length,H=j-1,U="",V="",$="",W="";R<j;){if(m=l.charCodeAt(R),R===H&&0!==C+S+k+E&&(0!==C&&(m=47===C?10:47),S=k=E=0,j++,H++),0===C+S+k+E){if(R===H&&(0<F&&(U=U.replace(d,"")),0<U.trim().length)){switch(m){case 32:case 9:case 59:case 13:case 10:break;default:U+=l.charAt(R)}m=59}switch(m){case 123:for(f=(U=U.trim()).charCodeAt(0),h=1,M=++R;R<j;){switch(m=l.charCodeAt(R)){case 123:h++;break;case 125:h--;break;case 47:switch(m=l.charCodeAt(R+1)){case 42:case 47:e:{for(O=R+1;O<H;++O)switch(l.charCodeAt(O)){case 47:if(42===m&&42===l.charCodeAt(O-1)&&R+2!==O){R=O+1;break e}break;case 10:if(47===m){R=O+1;break e}}R=O}}break;case 91:m++;case 40:m++;case 34:case 39:for(;R++<H&&l.charCodeAt(R)!==m;);}if(0===h)break;R++}if(h=l.substring(M,R),0===f&&(f=(U=U.replace(u,"").trim()).charCodeAt(0)),64===f){switch(0<F&&(U=U.replace(d,"")),m=U.charCodeAt(1)){case 100:case 109:case 115:case 45:F=r;break;default:F=z}if(M=(h=t(r,F,h,m,p+1)).length,0<P&&(w=c(3,h,F=n(z,U,L),r,B,I,M,m,p,s),U=F.join(""),void 0!==w&&0===(M=(h=w.trim()).length)&&(m=0,h="")),0<M)switch(m){case 115:U=U.replace(x,a);case 100:case 109:case 45:h=U+"{"+h+"}";break;case 107:h=(U=U.replace(v,"$1 $2"))+"{"+h+"}",h=1===N||2===N&&i("@"+h,3)?"@-webkit-"+h+"@"+h:"@"+h;break;default:h=U+h,112===s&&(V+=h,h="")}else h=""}else h=t(r,n(r,U,L),h,s,p+1);$+=h,h=L=F=O=f=0,U="",m=l.charCodeAt(++R);break;case 125:case 59:if(1<(M=(U=(0<F?U.replace(d,""):U).trim()).length))switch(0===O&&(f=U.charCodeAt(0),45===f||96<f&&123>f)&&(M=(U=U.replace(" ",":")).length),0<P&&void 0!==(w=c(1,U,r,e,B,I,V.length,s,p,s))&&0===(M=(U=w.trim()).length)&&(U="\0\0"),f=U.charCodeAt(0),m=U.charCodeAt(1),f){case 0:break;case 64:if(105===m||99===m){W+=U+l.charAt(R);break}default:58!==U.charCodeAt(M-1)&&(V+=o(U,f,m,U.charCodeAt(2)))}L=F=O=f=0,U="",m=l.charCodeAt(++R)}}switch(m){case 13:case 10:47===C?C=0:0===1+f&&107!==s&&0<U.length&&(F=1,U+="\0"),0<P*A&&c(0,U,r,e,B,I,V.length,s,p,s),I=1,B++;break;case 59:case 125:if(0===C+S+k+E){I++;break}default:switch(I++,g=l.charAt(R),m){case 9:case 32:if(0===S+E+C)switch(_){case 44:case 58:case 9:case 32:g="";break;default:32!==m&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===S+C+E&&(F=L=1,g="\f"+g);break;case 108:if(0===S+C+E+T&&0<O)switch(R-O){case 2:112===_&&58===l.charCodeAt(R-3)&&(T=_);case 8:111===D&&(T=D)}break;case 58:0===S+C+E&&(O=R);break;case 44:0===C+k+S+E&&(F=1,g+="\r");break;case 34:case 39:0===C&&(S=S===m?0:0===S?m:S);break;case 91:0===S+C+k&&E++;break;case 93:0===S+C+k&&E--;break;case 41:0===S+C+E&&k--;break;case 40:0===S+C+E&&(0===f&&(2*_+3*D==533||(f=1)),k++);break;case 64:0===C+k+S+E+O+h&&(h=1);break;case 42:case 47:if(!(0<S+E+k))switch(C){case 0:switch(2*m+3*l.charCodeAt(R+1)){case 235:C=47;break;case 220:M=R,C=42}break;case 42:47===m&&42===_&&M+2!==R&&(33===l.charCodeAt(M+2)&&(V+=l.substring(M,R+1)),g="",C=0)}}0===C&&(U+=g)}D=_,_=m,R++}if(0<(M=V.length)){if(F=r,0<P&&void 0!==(w=c(2,V,F,e,B,I,M,s,p,s))&&0===(V=w).length)return W+V+$;if(V=F.join(",")+"{"+V+"}",0!=N*T){switch(2!==N||i(V,2)||(T=0),T){case 111:V=V.replace(b,":-moz-$1")+V;break;case 112:V=V.replace(y,"::-webkit-input-$1")+V.replace(y,"::-moz-$1")+V.replace(y,":-ms-input-$1")+V}T=0}}return W+V+$}function n(e,t,n){var o=t.trim().split(h);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var c=0;for(e=0===a?"":e[0]+" ";c<i;++c)t[c]=r(e,t[c],n).trim();break;default:var l=c=0;for(t=[];c<i;++c)for(var s=0;s<a;++s)t[l++]=r(e[s]+" ",o[c],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",c=2*t+3*n+4*r;if(944===c){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===N||2===N&&i(l,1)?"-webkit-"+l+l:l}if(0===N||2===N&&!i(a,1))return a;switch(c){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(_,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return f.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(w,"tb");break;case 232:l=a.replace(w,"tb-rl");break;case 220:l=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,c=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<c?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(C,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(C,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),O(2!==t?r:r.replace(k,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function c(e,t,n,r,o,i,a,c,l,u){for(var d,p=0,f=t;p<P;++p)switch(d=D[p].call(s,e,f,n,r,o,i,a,c,l,u)){case void 0:case!1:case!0:case null:break;default:f=d}if(f!==t)return f}function l(e){return void 0!==(e=e.prefix)&&(O=null,e?"function"!=typeof e?N=1:(N=2,O=e):N=0),l}function s(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<P){var o=c(-1,n,r,r,B,I,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(z,r,n,0,0);return 0<P&&void 0!==(o=c(-2,i,r,r,B,I,i.length,0,0,0))&&(i=o),T=0,I=B=1,i}var u=/^\0+/g,d=/[\0\r\f]/g,p=/: */g,f=/zoo|gra/,m=/([,: ])(transform)/g,h=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,C=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,_=/([^-])(image-set\()/,I=1,B=1,T=0,N=1,z=[],D=[],P=0,O=null,A=0;return s.use=function e(t){switch(t){case void 0:case null:P=D.length=0;break;default:if("function"==typeof t)D[P++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else A=0|!!t}return e},s.set=l,void 0!==e&&l(e),s}ja.AsyncMode=Ka,ja.ConcurrentMode=Xa,ja.ContextConsumer=Ya,ja.ContextProvider=qa,ja.Element=Ua,ja.ForwardRef=Za,ja.Fragment=$a,ja.Lazy=tc,ja.Memo=ec,ja.Portal=Va,ja.Profiler=Ga,ja.StrictMode=Wa,ja.Suspense=Ja,ja.isAsyncMode=function(e){return cc(e)||ac(e)===Ka},ja.isConcurrentMode=cc,ja.isContextConsumer=function(e){return ac(e)===Ya},ja.isContextProvider=function(e){return ac(e)===qa},ja.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ua},ja.isForwardRef=function(e){return ac(e)===Za},ja.isFragment=function(e){return ac(e)===$a},ja.isLazy=function(e){return ac(e)===tc},ja.isMemo=function(e){return ac(e)===ec},ja.isPortal=function(e){return ac(e)===Va},ja.isProfiler=function(e){return ac(e)===Ga},ja.isStrictMode=function(e){return ac(e)===Wa},ja.isSuspense=function(e){return ac(e)===Ja},ja.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===$a||e===Xa||e===Ga||e===Wa||e===Ja||e===Qa||"object"==typeof e&&null!==e&&(e.$$typeof===tc||e.$$typeof===ec||e.$$typeof===qa||e.$$typeof===Ya||e.$$typeof===Za||e.$$typeof===rc||e.$$typeof===oc||e.$$typeof===ic||e.$$typeof===nc)},ja.typeOf=ac,Ma.exports=ja;var sc={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},uc=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,dc=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=(n=e,uc.test(n)||111===n.charCodeAt(0)&&110===n.charCodeAt(1)&&n.charCodeAt(2)<91)),t[e];var n}}(),pc=Ma.exports,fc={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},mc={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},hc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},gc={};function vc(e){return pc.isMemo(e)?hc:gc[e.$$typeof]||fc}gc[pc.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gc[pc.Memo]=hc;var yc=Object.defineProperty,bc=Object.getOwnPropertyNames,wc=Object.getOwnPropertySymbols,xc=Object.getOwnPropertyDescriptor,Ec=Object.getPrototypeOf,Cc=Object.prototype,kc=function e(t,n,r){if("string"!=typeof n){if(Cc){var o=Ec(n);o&&o!==Cc&&e(t,o,r)}var i=bc(n);wc&&(i=i.concat(wc(n)));for(var a=vc(t),c=vc(n),l=0;l<i.length;++l){var s=i[l];if(!(mc[s]||r&&r[s]||c&&c[s]||a&&a[s])){var u=xc(n,s);try{yc(t,s,u)}catch(e){}}}}return t};function Sc(){return(Sc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var _c=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},Ic=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!Ma.exports.typeOf(e)},Bc=Object.freeze([]),Tc=Object.freeze({});function Nc(e){return"function"==typeof e}function zc(e){return e.displayName||e.name||"Component"}function Dc(e){return e&&"string"==typeof e.styledComponentId}var Pc="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Oc="undefined"!=typeof window&&"HTMLElement"in window,Ac=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),Rc={};function Fc(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var Lc=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&Fc(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),c=0,l=t.length;c<l;c++)this.tag.insertRule(a,t[c])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),Mc=new Map,jc=new Map,Hc=1,Uc=function(e){if(Mc.has(e))return Mc.get(e);for(;jc.has(Hc);)Hc++;var t=Hc++;return Mc.set(e,t),jc.set(t,e),t},Vc=function(e){return jc.get(e)},$c=function(e,t){t>=Hc&&(Hc=t+1),Mc.set(e,t),jc.set(t,e)},Wc="style["+Pc+'][data-styled-version="5.3.3"]',Gc=new RegExp("^"+Pc+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),qc=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},Yc=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var c=a.match(Gc);if(c){var l=0|parseInt(c[1],10),s=c[2];0!==l&&($c(s,l),qc(e,s,c[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},Kc=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(Pc))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(Pc,"active"),r.setAttribute("data-styled-version","5.3.3");var a="undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null;return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},Xc=function(){function e(e){var t=this.element=Kc(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}Fc(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),Zc=function(){function e(e){var t=this.element=Kc(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Jc=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Qc=Oc,el={isServer:!Oc,useCSSOMInjection:!Ac},tl=function(){function e(e,t,n){void 0===e&&(e=Tc),void 0===t&&(t={}),this.options=Sc({},el,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Oc&&Qc&&(Qc=!1,function(e){for(var t=document.querySelectorAll(Wc),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(Pc)&&(Yc(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return Uc(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(Sc({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new Jc(o):r?new Xc(o):new Zc(o),new Lc(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Uc(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Uc(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Uc(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var i=Vc(o);if(void 0!==i){var a=e.names.get(i),c=t.getGroup(o);if(a&&c&&a.size){var l=Pc+".g"+o+'[id="'+i+'"]',s="";void 0!==a&&a.forEach((function(e){e.length>0&&(s+=e+",")})),r+=""+c+l+'{content:"'+s+'"}/*!sc*/\n'}}}return r}(this)},e}(),nl=/(a)(d)/gi,rl=function(e){return String.fromCharCode(e+(e>25?39:97))};function ol(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=rl(t%52)+n;return(rl(t%52)+n).replace(nl,"$1-$2")}var il=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},al=function(e){return il(5381,e)};function cl(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Nc(n)&&!Dc(n))return!1}return!0}var ll=al("5.3.3"),sl=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&cl(e),this.componentId=t,this.baseHash=il(ll,t),this.baseStyle=n,tl.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=Il(this.rules,e,t,n).join(""),a=ol(il(this.baseHash,i)>>>0);if(!t.hasNameForId(r,a)){var c=n(i,"."+a,void 0,r);t.insertRules(r,a,c)}o.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,s=il(this.baseHash,n.hash),u="",d=0;d<l;d++){var p=this.rules[d];if("string"==typeof p)u+=p;else if(p){var f=Il(p,e,t,n),m=Array.isArray(f)?f.join(""):f;s=il(s,m+d),u+=m}}if(u){var h=ol(s>>>0);if(!t.hasNameForId(r,h)){var g=n(u,"."+h,void 0,r);t.insertRules(r,h,g)}o.push(h)}}return o.join(" ")},e}(),ul=/^\s*\/\/.*$/gm,dl=[":","[",".","#"];function pl(e){var t,n,r,o,i=void 0===e?Tc:e,a=i.options,c=void 0===a?Tc:a,l=i.plugins,s=void 0===l?Bc:l,u=new lc(c),d=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,c,l,s,u,d){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===s)return r+"/*|*/";break;case 3:switch(s){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),f=function(e,r,i){return 0===r&&-1!==dl.indexOf(i[n.length])||i.match(o)?e:"."+t};function m(e,i,a,c){void 0===c&&(c="&");var l=e.replace(ul,""),s=i&&a?a+" "+i+" { "+l+" }":l;return t=c,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),u(a||!i?"":i,s)}return u.use([].concat(s,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,f))},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=s.length?s.reduce((function(e,t){return t.name||Fc(15),il(e,t.name)}),5381).toString():"",m}var fl=t.createContext(),ml=t.createContext(),hl=new tl,gl=pl();function vl(){return i(fl)||hl}function yl(){return i(ml)||gl}function bl(e){var n=r(e.stylisPlugins),i=n[0],c=n[1],l=vl(),s=o((function(){var t=l;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),u=o((function(){return pl({options:{prefix:!e.disableVendorPrefixes},plugins:i})}),[e.disableVendorPrefixes,i]);return a((function(){(function(e,t,n,r){var o=void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var s=i[l];if(!c(s))return!1;var u=e[s],d=t[s];if(!1===(o=void 0)||void 0===o&&u!==d)return!1}return!0})(i,e.stylisPlugins)||c(e.stylisPlugins)}),[e.stylisPlugins]),t.createElement(fl.Provider,{value:s},t.createElement(ml.Provider,{value:u},e.children))}var wl=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=gl);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return Fc(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=gl),this.name+e.hash},e}(),xl=/([A-Z])/,El=/([A-Z])/g,Cl=/^ms-/,kl=function(e){return"-"+e.toLowerCase()};function Sl(e){return xl.test(e)?e.replace(El,kl).replace(Cl,"-ms-"):e}var _l=function(e){return null==e||!1===e||""===e};function Il(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,c=e.length;a<c;a+=1)""!==(o=Il(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return _l(e)?"":Dc(e)?"."+e.styledComponentId:Nc(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:Il(e(t),t,n,r):e instanceof wl?n?(e.inject(n,r),e.getName(r)):e:Ic(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!_l(t[a])&&(Array.isArray(t[a])&&t[a].isCss||Nc(t[a])?i.push(Sl(a)+":",t[a],";"):Ic(t[a])?i.push.apply(i,e(t[a],a)):i.push(Sl(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in sc?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var l}var Bl=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Tl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Nc(e)||Ic(e)?Bl(Il(_c(Bc,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Bl(Il(_c(e,n)))}var Nl=function(e,t,n){return void 0===n&&(n=Tc),e.theme!==n.theme&&e.theme||t||n.theme},zl=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Dl=/(^-|-$)/g;function Pl(e){return e.replace(zl,"-").replace(Dl,"")}var Ol=function(e){return ol(al(e)>>>0)};function Al(e){return"string"==typeof e&&!0}var Rl=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Fl=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ll(e,t,n){var r=e[n];Rl(t)&&Rl(r)?Ml(r,t):e[n]=t}function Ml(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(Rl(a))for(var c in a)Fl(c)&&Ll(e,a[c],c)}return e}var jl=t.createContext(),Hl={};function Ul(e,n,r){var o=Dc(e),a=!Al(e),c=n.attrs,l=void 0===c?Bc:c,u=n.componentId,d=void 0===u?function(e,t){var n="string"!=typeof e?"sc":Pl(e);Hl[n]=(Hl[n]||0)+1;var r=n+"-"+Ol("5.3.3"+n+Hl[n]);return t?t+"-"+r:r}(n.displayName,n.parentComponentId):u,p=n.displayName,f=void 0===p?function(e){return Al(e)?"styled."+e:"Styled("+zc(e)+")"}(e):p,m=n.displayName&&n.componentId?Pl(n.displayName)+"-"+n.componentId:n.componentId||d,h=o&&e.attrs?Array.prototype.concat(e.attrs,l).filter(Boolean):l,g=n.shouldForwardProp;o&&e.shouldForwardProp&&(g=n.shouldForwardProp?function(t,r,o){return e.shouldForwardProp(t,r,o)&&n.shouldForwardProp(t,r,o)}:e.shouldForwardProp);var v,y=new sl(r,m,o?e.componentStyle:void 0),b=y.isStatic&&0===l.length,w=function(e,t){return function(e,t,n,r){var o=e.attrs,a=e.componentStyle,c=e.defaultProps,l=e.foldedComponentIds,u=e.shouldForwardProp,d=e.styledComponentId,p=e.target,f=function(e,t,n){void 0===e&&(e=Tc);var r=Sc({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in Nc(a)&&(a=a(r)),a)r[t]=o[t]="className"===t?(n=o[t],i=a[t],n&&i?n+" "+i:n||i):a[t]})),[r,o]}(Nl(t,i(jl),c)||Tc,t,o),m=f[0],h=f[1],g=function(e,t,n,r){var o=vl(),i=yl();return t?e.generateAndInjectStyles(Tc,o,i):e.generateAndInjectStyles(n,o,i)}(a,r,m),v=n,y=h.$as||t.$as||h.as||t.as||p,b=Al(y),w=h!==t?Sc({},t,{},h):t,x={};for(var E in w)"$"!==E[0]&&"as"!==E&&("forwardedAs"===E?x.as=w[E]:(u?u(E,dc,y):!b||dc(E))&&(x[E]=w[E]));return t.style&&h.style!==t.style&&(x.style=Sc({},t.style,{},h.style)),x.className=Array.prototype.concat(l,d,g!==d?g:null,t.className,h.className).filter(Boolean).join(" "),x.ref=v,s(y,x)}(v,e,t,b)};return w.displayName=f,(v=t.forwardRef(w)).attrs=h,v.componentStyle=y,v.displayName=f,v.shouldForwardProp=g,v.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Bc,v.styledComponentId=m,v.target=o?e.target:e,v.withComponent=function(e){var t=n.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["componentId"]),i=t&&t+"-"+(Al(e)?e:Pl(zc(e)));return Ul(e,Sc({},o,{attrs:h,componentId:i}),r)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?Ml({},e.defaultProps,t):t}}),v.toString=function(){return"."+v.styledComponentId},a&&kc(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var Vl=function(e){return function e(t,n,r){if(void 0===r&&(r=Tc),!Ma.exports.isValidElementType(n))return Fc(1,String(n));var o=function(){return t(n,r,Tl.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,Sc({},r,{},o))},o.attrs=function(o){return e(t,n,Sc({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(Ul,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Vl[e]=Vl(e)}));var $l=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=cl(e),tl.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r(Il(this.rules,t,n,r).join(""),""),i=this.componentId+e;n.insertRules(i,i,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&tl.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Wl(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=Tl.apply(void 0,[e].concat(r)),s="sc-global-"+Ol(JSON.stringify(a)),u=new $l(a,s);function d(e){var t=vl(),n=yl(),r=i(jl),o=c(t.allocateGSInstance(s)).current;return t.server&&p(o,e,t,r,n),l((function(){if(!t.server)return p(o,e,t,r,n),function(){return u.removeStyles(o,t)}}),[o,e,t,r,n]),null}function p(e,t,n,r,o){if(u.isStatic)u.renderStyles(e,Rc,n,o);else{var i=Sc({},t,{theme:Nl(t,r,d.defaultProps)});u.renderStyles(e,i,n,o)}}return t.memo(d)}function Gl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Tl.apply(void 0,[e].concat(n)).join(""),i=Ol(o);return new wl(i,o)}var ql=Vl;const Yl="undefined"!=typeof window?t.useLayoutEffect:()=>{};let Kl=new Map,Xl=new Set;function Zl(){if("undefined"==typeof window)return;let e=t=>{let n=Kl.get(t.target);if(n&&(n.delete(t.propertyName),0===n.size&&(t.target.removeEventListener("transitioncancel",e),Kl.delete(t.target)),0===Kl.size)){for(let e of Xl)e();Xl.clear()}};document.body.addEventListener("transitionrun",(t=>{let n=Kl.get(t.target);n||(n=new Set,Kl.set(t.target,n),t.target.addEventListener("transitioncancel",e)),n.add(t.propertyName)})),document.body.addEventListener("transitionend",e)}"undefined"!=typeof document&&("loading"!==document.readyState?Zl():document.addEventListener("DOMContentLoaded",Zl)),t.createContext(null).displayName="PressResponderContext";class Jl{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function Ql(e){let t=c({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,Yl((()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]),u((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target,r=e=>{var r,o;t.current.isFocused=!1,n.disabled&&(null===(o=(r=t.current).onBlur)||void 0===o||o.call(r,new Jl("blur",e))),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",r,{once:!0}),t.current.observer=new MutationObserver((()=>{t.current.isFocused&&n.disabled&&(t.current.observer.disconnect(),n.dispatchEvent(new FocusEvent("blur")),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0})))})),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}}),[])}let es=null,ts=new Set,ns=!1,rs=!1,os=!1;const is={Tab:!0,Escape:!0};function as(e,t){for(let n of ts)n(e,t)}function cs(e){rs=!0,function(e){return!(e.metaKey||("undefined"==typeof window||null==window.navigator||!/^Mac/i.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform))&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key);var t}(e)&&(es="keyboard",as("keyboard",e))}function ls(e){es="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(rs=!0,as("pointer",e))}function ss(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||(function(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some((t=>e.test(t.brand))))||e.test(window.navigator.userAgent))}(/Android/i)&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType))&&(rs=!0,es="virtual")}function us(e){e.target!==window&&e.target!==document&&(rs||os||(es="virtual",as("virtual",e)),rs=!1,os=!1)}function ds(){rs=!1,os=!0}function ps(){if("undefined"==typeof window||ns)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){rs=!0,e.apply(this,arguments)},document.addEventListener("keydown",cs,!0),document.addEventListener("keyup",cs,!0),document.addEventListener("click",ss,!0),window.addEventListener("focus",us,!0),window.addEventListener("blur",ds,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",ls,!0),document.addEventListener("pointermove",ls,!0),document.addEventListener("pointerup",ls,!0)):(document.addEventListener("mousedown",ls,!0),document.addEventListener("mousemove",ls,!0),document.addEventListener("mouseup",ls,!0)),ns=!0}function fs(){return"pointer"!==es}"undefined"!=typeof document&&("loading"!==document.readyState?ps():document.addEventListener("DOMContentLoaded",ps));let ms=!1,hs=0;function gs(){ms=!0,setTimeout((()=>{ms=!1}),50)}function vs(e){"touch"===e.pointerType&&gs()}function ys(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",vs):document.addEventListener("touchend",gs),hs++,()=>{hs--,hs>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",vs):document.removeEventListener("touchend",gs))}}function bs(e,t){return t.some((t=>t.contains(e)))}class ws{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null),o=new xs({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e),n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef.current&&bs(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n.removeChild(t),r.length>0&&r.forEach((e=>n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.length>0)for(let t of e.children)yield*this.traverse(t)}clone(){let e=new ws;for(let t of this.traverse())e.addTreeNode(t.scopeRef,t.parent.scopeRef,t.nodeToRestore);return e}constructor(){this.fastMap=new Map,this.root=new xs({scopeRef:null}),this.fastMap.set(null,this.root)}}class xs{addChild(e){this.children.push(e),e.parent=this}removeChild(e){this.children.splice(this.children.indexOf(e),1),e.parent=void 0}constructor(e){this.children=[],this.contain=!1,this.scopeRef=e.scopeRef}}function Es(e={}){let{autoFocus:t=!1,isTextInput:n,within:o}=e,i=c({isFocused:!1,isFocusVisible:t||fs()}),[l,s]=r(!1),[d,p]=r((()=>i.current.isFocused&&i.current.isFocusVisible)),f=u((()=>p(i.current.isFocused&&i.current.isFocusVisible)),[]),m=u((e=>{i.current.isFocused=e,s(e),f()}),[f]);var h,g,v;h=e=>{i.current.isFocusVisible=e,f()},g=[],v={isTextInput:n},ps(),a((()=>{let e=(e,t)=>{(function(e,t,n){return!(e&&"keyboard"===t&&n instanceof KeyboardEvent&&!is[n.key])})(null==v?void 0:v.isTextInput,e,t)&&h(fs())};return ts.add(e),()=>{ts.delete(e)}}),g);let{focusProps:y}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const i=u((e=>{if(e.target===e.currentTarget)return r&&r(e),o&&o(!1),!0}),[r,o]),a=Ql(i),c=u((e=>{e.target===e.currentTarget&&(n&&n(e),o&&o(!0),a(e))}),[o,n,a]);return{focusProps:{onFocus:!t&&(n||o||r)?c:void 0,onBlur:t||!r&&!o?null:i}}}({isDisabled:o,onFocusChange:m}),{focusWithinProps:b}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,i=c({isFocusWithin:!1}),a=u((e=>{i.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(i.current.isFocusWithin=!1,n&&n(e),o&&o(!1))}),[n,o,i]),l=Ql(a),s=u((e=>{i.current.isFocusWithin||(r&&r(e),o&&o(!0),i.current.isFocusWithin=!0,l(e))}),[r,o,l]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:s,onBlur:a}}}({isDisabled:!o,onFocusWithinChange:m});return{isFocused:l,isFocusVisible:i.current.isFocused&&d,focusProps:o?b:y}}new ws;var Cs={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ks=t.createContext&&t.createContext(Cs),Ss=function(){return Ss=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ss.apply(this,arguments)};function _s(e){return e&&e.map((function(e,n){return t.createElement(e.tag,Ss({key:n},e.attr),_s(e.child))}))}function Is(e){return function(n){return t.createElement(Bs,Ss({attr:Ss({},e.attr)},n),_s(e.child))}}function Bs(e){var n=function(n){var r,o=e.attr,i=e.size,a=e.title,c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["attr","size","title"]),l=i||n.size||"1em";return n.className&&(r=n.className),e.className&&(r=(r?r+" ":"")+e.className),t.createElement("svg",Ss({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,o,c,{className:r,style:Ss(Ss({color:e.color||n.color},n.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&t.createElement("title",null,a),e.children)};return void 0!==ks?t.createElement(ks.Consumer,null,(function(e){return n(e)})):n(Cs)}function Ts(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"}}]})(e)}function Ns(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}}]})(e)}function zs(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5a2 2 0 00-2 2v4h2V5h14v14H5v-4H3v4a2 2 0 002 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}}]})(e)}function Ds(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M12 4.81V19c-3.31 0-6-2.63-6-5.87 0-1.56.62-3.03 1.75-4.14L12 4.81M6.35 7.56C4.9 8.99 4 10.96 4 13.13 4 17.48 7.58 21 12 21s8-3.52 8-7.87c0-2.17-.9-4.14-2.35-5.57L12 2 6.35 7.56z"}}]})(e)}function Ps(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z"}}]})(e)}function Os(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}}]})(e)}function As(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"}}]})(e)}function Rs(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9V6zM18 20H6V10h12v10z"}}]})(e)}function Fs(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M24 0H0v24h24V0zm0 0H0v24h24V0zM0 24h24V0H0v24z"}},{tag:"path",attr:{d:"M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"}}]})(e)}function Ls(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}}]})(e)}function Ms(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"}}]})(e)}function js(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}}]})(e)}function Hs(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 00.12-.61l-1.92-3.32a.488.488 0 00-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 00-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 00-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}}]})(e)}function Us(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M15 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zM3 12a5.99 5.99 0 014-5.65V4.26C3.55 5.15 1 8.27 1 12s2.55 6.85 6 7.74v-2.09A5.99 5.99 0 013 12z"}}]})(e)}function Vs(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46A11.804 11.804 0 001 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}}]})(e)}function $s(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}}]})(e)}function Ws(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z"}}]})(e)}function Gs(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3A4.5 4.5 0 0014 7.97v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"}}]})(e)}function qs(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}}]})(e)}function Ys(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5L6.5 12H10v-2h4v2h3.5L12 17.5zM5.12 5l.81-1h12l.94 1H5.12z"}}]})(e)}function Ks(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"}}]})(e)}function Xs(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"circle",attr:{cx:"6",cy:"18",r:"2",fill:"none"}},{tag:"circle",attr:{cx:"12",cy:"12",r:".5",fill:"none"}},{tag:"circle",attr:{cx:"6",cy:"6",r:"2",fill:"none"}},{tag:"path",attr:{d:"M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z"}}]})(e)}function Zs(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}}]})(e)}function Js(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 15.31L23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z"}}]})(e)}function Qs(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M13 7h-2v2h2V7zm0 4h-2v2h2v-2zm4 0h-2v2h2v-2zM3 3v18h18V3H3zm16 16H5V5h14v14zm-6-4h-2v2h2v-2zm-4-4H7v2h2v-2z"}}]})(e)}function eu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16.56 8.94L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15a1.49 1.49 0 000 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.58.59-1.53 0-2.12zM5.21 10L10 5.21 14.79 10H5.21zM19 11.5s-2 2.17-2 3.5c0 1.1.9 2 2 2s2-.9 2-2c0-1.33-2-3.5-2-3.5zM2 20h20v4H2v-4z"}}]})(e)}function tu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"}}]})(e)}function nu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}}]})(e)}function ru(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19.5 9.5c-1.03 0-1.9.62-2.29 1.5h-2.92c-.39-.88-1.26-1.5-2.29-1.5s-1.9.62-2.29 1.5H6.79c-.39-.88-1.26-1.5-2.29-1.5a2.5 2.5 0 000 5c1.03 0 1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5s1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5a2.5 2.5 0 000-5z"}}]})(e)}function ou(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z"}}]})(e)}function iu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"}}]})(e)}function au(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}}]})(e)}function cu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 13c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-3 .5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM6 5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm15 5.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM14 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-3.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm-11 10c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm7 7c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-17c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM10 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 5.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm8 .5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm3 8.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM14 17c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 3.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm-4-12c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0 8.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm4-4.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-4c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"}}]})(e)}function lu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}}]})(e)}function su(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm-7 7H3v4c0 1.1.9 2 2 2h4v-2H5v-4zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2V5zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2zm0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4z"}}]})(e)}function uu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20.71 5.63l-2.34-2.34a.996.996 0 00-1.41 0l-3.12 3.12-1.93-1.91-1.41 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3.12c.4-.4.4-1.03.01-1.42zM6.92 19L5 17.08l8.06-8.06 1.92 1.92L6.92 19z"}}]})(e)}function du(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 12H5V7h14v10z"}}]})(e)}function pu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H6V6h12v12z"}}]})(e)}function fu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 15h2V7c0-1.1-.9-2-2-2H9v2h8v8zM7 17V1H5v4H1v2h4v10c0 1.1.9 2 2 2h10v4h2v-4h4v-2H7z"}}]})(e)}function mu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 11H1v2h6v-2zm2.17-3.24L7.05 5.64 5.64 7.05l2.12 2.12 1.41-1.41zM13 1h-2v6h2V1zm5.36 6.05l-1.41-1.41-2.12 2.12 1.41 1.41 2.12-2.12zM17 11v2h6v-2h-6zm-5-2c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zm2.83 7.24l2.12 2.12 1.41-1.41-2.12-2.12-1.41 1.41zm-9.19.71l1.41 1.41 2.12-2.12-1.41-1.41-2.12 2.12zM11 23h2v-6h-2v6z"}}]})(e)}function hu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"}}]})(e)}function gu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}}]})(e)}function vu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"circle",attr:{cx:"12",cy:"12",r:"3.2"}},{tag:"path",attr:{d:"M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"}}]})(e)}function yu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}}]})(e)}function bu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7.34 6.41L.86 12.9l6.49 6.48 6.49-6.48-6.5-6.49zM3.69 12.9l3.66-3.66L11 12.9l-3.66 3.66-3.65-3.66zm15.67-6.26A8.95 8.95 0 0013 4V.76L8.76 5 13 9.24V6c1.79 0 3.58.68 4.95 2.05a7.007 7.007 0 010 9.9 6.973 6.973 0 01-7.79 1.44l-1.49 1.49C10.02 21.62 11.51 22 13 22c2.3 0 4.61-.88 6.36-2.64a8.98 8.98 0 000-12.72z"}}]})(e)}function wu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93s3.05-7.44 7-7.93v15.86zm2-15.86c1.03.13 2 .45 2.87.93H13v-.93zM13 7h5.24c.25.31.48.65.68 1H13V7zm0 3h6.74c.08.33.15.66.19 1H13v-1zm0 9.93V19h2.87c-.87.48-1.84.8-2.87.93zM18.24 17H13v-1h5.92c-.2.35-.43.69-.68 1zm1.5-3H13v-1h6.93c-.04.34-.11.67-.19 1z"}}]})(e)}function xu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z"}}]})(e)}function Eu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 10l5 5 5-5z"}}]})(e)}function Cu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}}]})(e)}function ku(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}}]})(e)}function Su(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}}]})(e)}function _u(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}}]})(e)}function Iu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}}]})(e)}function Bu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}}]})(e)}function Tu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}}]})(e)}function Nu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}}]})(e)}function zu(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"}}]})(e)}function Du(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}}]})(e)}function Pu(e,t,n){return e[t]?e[t][0]?e[t][0][n]:e[t][n]:"contentBoxSize"===t?e.contentRect["inlineSize"===n?"width":"height"]:void 0}function Ou(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Au(e,t,n){return t&&Ou(e.prototype,t),n&&Ou(e,n),e}function Ru(){return Ru=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ru.apply(this,arguments)}function Fu(e,t){return Fu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Fu(e,t)}function Lu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Mu(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Lu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lu(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ju(e){var t=c(null);return function(n){n&&n!==t.current&&(t.current=n,e(n))}}var Hu="undefined"!=typeof window?l:a;function Uu(e){return parseFloat(e.replace("px",""))}function Vu(e,t,n){return e<t?t:e>n?n:e}function $u(e){return null!=e}function Wu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n,r=Mu(t);!(n=r()).done;){var o=n.value;o&&("function"==typeof o?o(e):o.current=e)}}}function Gu(e,t){var n=[];if(!e||!t||e===document.body)return n;var r=t.getComputedStyle(e);return[r.overflow,r.overflowX,r.overflowY].some((function(e){return["auto","scroll"].includes(e)}))&&n.push(e),[].concat(n,Gu(e.parentElement,t))}function qu(e){return"react-laag: Could not find a valid reference for the "+e+" element. There might be 2 causes:\n - Make sure that the 'ref' is set correctly on the "+e+' element when isOpen: true. Also make sure your component forwards the ref with "forwardRef()".\n - Make sure that you are actually rendering the '+e+" when the isOpen prop is set to true"}function Yu(e){var t=e.enabled,n=e.onChange,r=e.environment,i=e.ResizeObserverPolyfill,l=e.overflowContainer,s=e.triggerOption,d=function(e,t){if(void 0!==e)return t||e.ResizeObserver}(r,i);a((function(){}),[d]);var p,f,m=c(null),h=Boolean(s),g=(f=c({scrollContainers:[],trigger:null,layer:null}),o((function(){return[function(){return f.current},function(e){f.current="function"==typeof e?e(f.current):e}]}),[])),v=g[0],y=g[1],b=(p=c([]),o((function(){return{hasEventSubscriptions:function(){return p.current.length>0},removeAllEventSubscriptions:function(){for(var e,t=Mu(p.current);!(e=t()).done;)(0,e.value)();p.current=[]},addEventSubscription:function(e){p.current.push(e)}}}),[])),w=b.hasEventSubscriptions,x=b.addEventSubscription,E=b.removeAllEventSubscriptions,C=u((function(){var e=v(),t=e.layer,o=e.trigger,i=e.scrollContainers,a=i[0];if(!t)throw new Error(qu("layer"));if(!o&&!h)throw new Error(qu("trigger"));var c={top:0,left:0};if(a){var l=a.scrollLeft;c={top:a.scrollTop,left:l}}else{var s=r.scrollX;c={top:r.scrollY,left:s}}var u={left:0,top:0};if(a){var d=r.getComputedStyle(a),p=d.borderLeftWidth,f=d.borderTopWidth;u={left:Uu(p)||0,top:Uu(f)||0}}n({layer:t,trigger:o,scrollContainers:i,arrow:m.current},c,u)}),[v,n,r,m,h]),k=u((function(){var e=v(),t=e.trigger,n=e.layer,o=e.scrollContainers;if(!n)throw new Error(qu("layer"));if(!t&&!h)throw new Error(qu("trigger"));if(d){for(var i=!1,a=new d((function(){i?C():i=!0})),c=0,l=[t,n,document.body];c<l.length;c++){var s=l[c];s&&a.observe(s)}x((function(){for(var e=0,r=[t,n,document.body];e<r.length;e++){var o=r[e];o&&a.unobserve(o)}a.disconnect()}))}for(var u,p=function(){var e=u.value;e.addEventListener("scroll",C),x((function(){return e.removeEventListener("scroll",C)}))},f=Mu([r].concat(o));!(u=f()).done;)p()}),[v,x,C,r,d,h]),S=u((function(e,n){t&&e&&e!==n&&(E(),k(),C())}),[E,k,C,t]),_=ju(u((function(e){var t=v().layer;y((function(t){return Ru({},t,{layer:e})})),S(t,e)}),[v,y,S])),I=u((function(e){var t=Gu(e,r),n=t[0];if(n){var o=r.getComputedStyle(n).position;["relative","absolute","fixed"].includes(o)||l||(n.style.position="relative")}return t}),[r,l]),B=ju(u((function(e){var t=I(e),n=v().trigger;y((function(n){return Ru({},n,{trigger:e,scrollContainers:t})})),S(n,e)}),[v,y,S,I])),T=null==s||null==s.getParent?void 0:s.getParent();return Hu((function(){T&&y((function(e){return Ru({},e,{scrollContainers:I(T)})}))}),[T,y,I]),Hu((function(){return t&&(w()||k()),function(){w()&&E()}}),[t,w,k,E]),Hu((function(){t&&C()})),{triggerRef:B,layerRef:_,arrowRef:m,closestScrollContainer:v().scrollContainers[0]||null}}var Ku=n({});function Xu(e){var t=e.children,n=e.registrations,r=u((function(e){return n.current.add(e),function(){return n.current.delete(e)}}),[n]);return s(Ku.Provider,{value:r},t)}var Zu={top:"bottom",left:"right",bottom:"top",right:"left",center:"center"},Ju=function(){function e(e,t,n,r,o,i,a,c,l){this.prop=void 0,this.opposite=void 0,this.isHorizontal=void 0,this.sizeProp=void 0,this.oppositeSizeProp=void 0,this.cssProp=void 0,this.oppositeCssProp=void 0,this.isCenter=void 0,this.isPush=void 0,this.prop=e,this.opposite=t,this.isHorizontal=n,this.sizeProp=r,this.oppositeSizeProp=o,this.cssProp=i,this.oppositeCssProp=a,this.isCenter=c,this.isPush=l}var t=e.prototype;return t.factor=function(e){return e*(this.isPush?1:-1)},t.isOppositeDirection=function(e){return this.isHorizontal!==e.isHorizontal},e}();function Qu(e,t){void 0===t&&(t=!0);var n=["left","right"].includes(e);return new Ju(e,t?Qu(Zu[e],!1):null,n,n?"width":"height",n?"height":"width",n?"left":"top",n?"top":"left","center"===e,!["right","bottom"].includes(e))}var ed={top:Qu("top"),bottom:Qu("bottom"),left:Qu("left"),right:Qu("right")},td=Ru({},ed,{center:Qu("center")}),nd=["top","left","bottom","right"],rd=function(){function e(e){return this.top=void 0,this.left=void 0,this.right=void 0,this.bottom=void 0,Object.assign(this,e)}return e.mergeSmallestSides=function(t){var n=t[0],r=t.slice(1);if(!n)throw new Error("Please provide at least 1 bounds objects in order to merge");for(var o,i=Object.fromEntries(nd.map((function(e){return[e,n[e]]}))),a=Mu(r);!(o=a()).done;)for(var c,l=o.value,s=Mu(nd);!(c=s()).done;){var u=c.value;i[u]=Math.min(i[u],l[u])}return new e(i)},Au(e,[{key:"allSidesArePositive",get:function(){var e=this;return nd.every((function(t){return e[t]>=0}))}},{key:"negativeSides",get:function(){var e=this;return Object.fromEntries(nd.filter((function(t){return e[t]<0})).map((function(t){return[t,e[t]]})))}}]),e}();function od(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return e+(t?Uu(t):0)}),0)}function id(e){return{top:e.top,left:e.left,right:e.right,bottom:e.bottom,width:e.width,height:e.height}}var ad,cd,ld={top:0,left:0,right:0,bottom:0,width:0,height:0},sd=function(){function e(e){return void 0===e&&(e={}),this.top=void 0,this.left=void 0,this.right=void 0,this.bottom=void 0,this.width=void 0,this.height=void 0,Object.assign(this,ld,e)}e.create=function(t){return new e(t)},e.fromElement=function(t,n){void 0===n&&(n={});var r=n,o=r.withTransform,i=void 0===o||o,a=r.environment,c=void 0===a?window:a,l=r.withScrollbars,s=void 0===l||l,u=new e(id(t.getBoundingClientRect()));if(!i){var d=c.getComputedStyle(t),p=d.width,f=d.height,m=d.boxSizing,h=d.borderLeft,g=d.borderRight,v=d.borderTop,y=d.borderBottom,b=d.paddingLeft,w=d.paddingRight,x=d.paddingTop,E=d.paddingBottom;u=new e(Ru({},u,{width:"border-box"===m?Uu(p):od(p,h,g,b,w),height:"border-box"===m?Uu(f):od(f,v,y,x,E)}))}if(!s){var C=u.width-t.clientWidth,k=u.height-t.clientHeight;return u.substract({right:C,bottom:k})}return u},e.empty=function(){return new e},e.fromWindow=function(t){var n=t||{},r=n.innerWidth,o=void 0===r?0:r,i=n.innerHeight,a=void 0===i?0:i;return new e({width:o,height:a,right:o,bottom:a})};var t=e.prototype;return t.toObject=function(){return id(this)},t.merge=function(t){var n=this.toObject();return new e(Ru({},n,"function"==typeof t?t(n):t))},t.substract=function(t){for(var n=this.toObject(),r=0,o=Object.entries(t);r<o.length;r++){var i=o[r],a=i[0],c=i[1];if(a in ed){var l=ed[a];n[a]+=l.factor(c),n[l.isHorizontal?"width":"height"]-=c}else n[a]-=c||0}return new e(n)},t.offsetsTo=function(e){return new rd({top:e.top-this.top,bottom:this.bottom-e.bottom,left:e.left-this.left,right:this.right-e.right})},t.mapSides=function(t){for(var n=this.toObject(),r=0,o=Object.values(ed);r<o.length;r++){var i=o[r];n[i.prop]=t(i,n[i.prop])}return new e(n)},Au(e,[{key:"surface",get:function(){return this.width*this.height}}]),e}(),ud=function(){function e(e,t,n,r,o){this.primary=void 0,this.secondary=void 0,this.offsets=void 0,this.subjectsBounds=void 0,this._cachedLayerBounds=null,this._cachedContainerOffsets=null,this.primary=e,this.secondary=t,this.offsets=o,this.setSubjectsBounds(n,r)}var t=e.prototype;return t.setSubjectsBounds=function(e,t){if(t){var n="function"==typeof t?t(this.primary.prop):t;this.subjectsBounds=e.merge({layer:Ru({},e.layer,n)})}else this.subjectsBounds=e},t.getLayerBounds=function(e){if(void 0===e&&(e=0),this._cachedLayerBounds&&0===e)return this._cachedLayerBounds;var t=this.primary,n=this.secondary,r=this.subjectsBounds,o=r.trigger,i=r.layer,a=r.arrow,c=t.isHorizontal,l=t.oppositeCssProp,s=t.oppositeSizeProp,u=t.prop,d=t.opposite,p=sd.empty();p[d.prop]=o[u]-t.factor(this.offsets.trigger),p[u]=p[d.prop]-t.factor(i[t.sizeProp]);var f=2*this.offsets.arrow,m=o[l]-(i[s]-a[s])+f,h=o[l]+(o[s]-a[s])-f;if(n.isPush||(m+=i[s],h+=i[s]),n.isCenter){var g=(c?ed.top:ed.left).prop,v=(c?ed.bottom:ed.right).prop;p[g]=Vu(o[g]+o[s]/2-i[s]/2+e,m,h),p[v]=p[g]+i[s]}else{var y=n,b=o[y.prop],w=b<m?m-b:b>h?h-b:0;p[y.prop]=Vu(b+e+w,m,h),p[y.opposite.prop]=p[y.prop]+n.factor(i[s])}p.width=p.right-p.left,p.height=p.bottom-p.top;var x=sd.create(p);return 0===e&&(this._cachedLayerBounds=x),x},t.getLayerCollisionBounds=function(){var e=this.offsets.container;return this.getLayerBounds().mapSides((function(t,n){return n-t.factor(e)})).merge((function(t){var n=t.width,r=t.height;return{width:n+2*e,height:r+2*e}}))},t.getContainerOffsets=function(e){if(this._cachedContainerOffsets&&!e)return this._cachedContainerOffsets;var t=this.subjectsBounds.merge({layer:e||this.getLayerCollisionBounds()}),n=rd.mergeSmallestSides(t.layerOffsetsToScrollContainers);return e||(this._cachedContainerOffsets=n),n},Au(e,[{key:"type",get:function(){return this.primary.prop+"-"+("center"===this.secondary.prop?"center":["bottom","right"].includes(this.secondary.prop)?"end":"start")}},{key:"triggerIsBigger",get:function(){var e=this.secondary.isHorizontal,t=this.subjectsBounds,n=t.triggerHasBiggerWidth,r=t.triggerHasBiggerHeight;return e&&n||!e&&r}},{key:"fitsContainer",get:function(){return this.getContainerOffsets().allSidesArePositive}},{key:"visibleSurface",get:function(){var e=this.getLayerBounds(),t=this.getContainerOffsets(e).negativeSides;for(var n in t)t[n]=-t[n];return e.substract(t).surface}},{key:"secondaryOffsetSide",get:function(){var e,t,n=this,r=this.getContainerOffsets(),o=null!=(e=null==(t=Object.entries(r.negativeSides).map((function(e){var t=e[0],n=e[1];return[ed[t],n]})).filter((function(e){var t=e[0];return n.primary.isOppositeDirection(t)})).sort((function(e,t){var n=e[1];return t[1]-n})))?void 0:t[0])?e:[];return o[0]||null}}]),e}(),dd=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,Fu(t,n),r.prototype.getLayerBounds=function(){var e=this.subjectsBounds,t=e.trigger,n=e.layer,r=sd.empty();return r.top=t.top+t.height/2-n.height/2,r.bottom=r.top+n.height,r.left=t.left+t.width/2-n.width/2,r.right=r.left+n.width,r.width=r.right-r.left,r.height=r.bottom-r.top,r},r}(ud),pd={position:"absolute",willChange:"top, left",left:null,right:null,top:null,bottom:null},fd=function(){function e(e,t,n){this.placements=void 0,this.config=void 0,this.subjectsBounds=void 0,this.placements=e,this.config=t,this.subjectsBounds=n}e.getSidesFromPlacementType=function(e){var t=e.split("-"),n=t[0],r=t[1],o=ed[n];return[o,"center"===r?td.center:o.isHorizontal?"start"===r?td.top:td.bottom:"start"===r?td.left:td.right]},e.create=function(t,n){var r={arrow:n.arrowOffset,container:n.containerOffset,trigger:n.triggerOffset};function o(o){void 0===o&&(o=n.placement);var i=e.getSidesFromPlacementType(o),a=i[0],c=i[1],l=ed[a.isHorizontal?n.preferY:n.preferX],s=!a.isHorizontal&&t.triggerHasBiggerWidth||a.isHorizontal&&t.triggerHasBiggerHeight;function u(e,o){return new ud(e,o,t,n.layerDimensions,r)}var d=[];return d[0]=u(a,c),d[1]=u(a,c.isCenter?l:td.center),d[2]=u(a,td[(c.opposite.isCenter?l.opposite:c.opposite).prop]),d[3]=u(l,s?a:td[a.opposite.prop]),d[4]=u(l,td.center),d[5]=u(l,s?td[a.opposite.prop]:a),d[6]=u(ed[l.opposite.prop],s?a:td[a.opposite.prop]),d[7]=u(ed[l.opposite.prop],td.center),d[8]=u(ed[l.opposite.prop],s?td[a.opposite.prop]:a),d[9]=u(ed[a.opposite.prop],c),d[10]=u(ed[a.opposite.prop],c.isCenter?l:td.center),d[11]=u(ed[a.opposite.prop],td[(c.opposite.isCenter?l.opposite:c.opposite).prop]),d.filter((function(e){return e.type===n.placement||n.possiblePlacements.includes(e.type)}))}return"center"===n.placement?new e([new dd(td.center,td.center,t,n.layerDimensions,r)].concat(o(n.preferY+"-"+n.preferX)),n,t):new e(o(),n,t)};var t=e.prototype;return t.filterPlacementsBySide=function(e){return this.placements.filter((function(t){return t.primary===e}))},t.findFirstPlacementThatFits=function(){return this.placements.find((function(e){return e.fitsContainer}))},t.placementWithBiggestVisibleSurface=function(){var e=this.placements.map((function(e){return{placement:e,surface:e.visibleSurface}})).sort((function(e,t){return t.surface-e.surface}));return e[0].placement},t.findSuitablePlacement=function(){return this.config.auto?this.findFirstPlacementThatFits()||this.placementWithBiggestVisibleSurface():this.placements[0]},t.getSecondaryOffset=function(e){var t=this.config,n=t.auto,r=t.snap;if(!n||r||e instanceof dd)return 0;var o=this.filterPlacementsBySide(e.primary);if(0===o.indexOf(e)&&e.fitsContainer)return 0;var i=o.find((function(e){return!e.fitsContainer}));if(!i)return 0;var a=i.secondaryOffsetSide;if(!a)return 0;var c,l=e.getContainerOffsets(),s=e.secondary;return c=e.triggerIsBigger||i===e?a.isPush?-1:1:s===td.left||[td.top,td.center].includes(s)&&a.isPush?-1:1,l[a.prop]*c},t.getStyles=function(e,t,n,r){var o={willChange:"top, left, width, height"},i=function(e,t,n){var r;if(t.primary.isCenter)return pd;var o=e.layer,i=e.trigger,a=e.arrow,c=t.primary.oppositeSizeProp,l=i[c]>o[c],s=n+a[c]/2,u=o[c]-a[c]/2-n,d=function(e,t,n){var r=e.layer,o=e.trigger,i=e.arrow,a=t.primary.oppositeSizeProp,c=t.primary.isHorizontal?["top","bottom"]:["left","right"],l=c[0],s=c[1],u=r[l]+r[a]/2-o[l]-i[a]/2-n,d=r[s]-r[a]/2-o[s]+i[a]/2+n;return(u<0?-u:0)+(d>0?-d:0)}(e,t,n),p=t.primary.prop,f=t.primary.oppositeCssProp,m=l?o[c]/2+d:i[f]+i[c]/2-o[f];return Ru({},pd,((r={})[p]="100%",r[f]=Vu(m,s,u),r))}(this.subjectsBounds.merge({layer:e}),t,this.config.arrowOffset);return{arrow:i,layer:this.config.overflowContainer?Ru({},o,{position:"fixed",top:e.top,left:e.left}):Ru({},o,{position:"absolute",top:e.top-this.subjectsBounds.parent.top+n.top-r.top,left:e.left-this.subjectsBounds.parent.left+n.left-r.left})}},t.getHasDisappeared=function(e){var t=this.config.overflowContainer?this.subjectsBounds.trigger:e,n=rd.mergeSmallestSides(this.subjectsBounds.offsetsToScrollContainers(t,!0));return Object.entries(n.negativeSides).some((function(e){var n=e[0];return e[1]<=-t[ed[n].sizeProp]}))?"full":n.allSidesArePositive?null:"partial"},t.result=function(e,t){var n=this.findSuitablePlacement(),r=this.getSecondaryOffset(n),o=n.getLayerBounds(r);return{styles:this.getStyles(o,n,e,t),layerSide:n.primary.prop,placement:n,layerBounds:o,hasDisappeared:this.getHasDisappeared(o)}},e}(),md=function(){function e(e,t){this.overflowContainer=void 0,this.trigger=void 0,this.layer=void 0,this.arrow=void 0,this.parent=void 0,this.window=void 0,this.scrollContainers=void 0,this.overflowContainer=t,Object.assign(this,e)}e.create=function(t,n,r,o,i,a,c,l){var s=sd.fromWindow(t);return new e({layer:sd.fromElement(n,{environment:t,withTransform:!1}),trigger:l?sd.create(id(l())):sd.fromElement(r),arrow:i?sd.fromElement(i):sd.empty(),parent:o?sd.fromElement(o):s,window:s,scrollContainers:[s].concat(a.map((function(e){return sd.fromElement(e,{withScrollbars:!1})})))},c)};var t=e.prototype;return t.merge=function(t){return new e(Ru({},this,t),this.overflowContainer)},t.offsetsToScrollContainers=function(e,t){return void 0===t&&(t=!1),(this.overflowContainer&&!t?[this.window]:this.scrollContainers).map((function(t){return t.offsetsTo(e)}))},Au(e,[{key:"layerOffsetsToScrollContainers",get:function(){return this.offsetsToScrollContainers(this.layer)}},{key:"triggerHasBiggerWidth",get:function(){return this.trigger.width>this.layer.width}},{key:"triggerHasBiggerHeight",get:function(){return this.trigger.height>this.layer.height}}]),e}(),hd={auto:!1,arrowOffset:0,containerOffset:10,triggerOffset:0,overflowContainer:!0,placement:"top-center",possiblePlacements:["bottom-start","bottom-end","bottom-center","top-start","top-center","top-end","left-end","left-center","left-start","right-end","right-center","right-start","center"],preferX:"right",preferY:"bottom",snap:!1,container:void 0,trigger:void 0};function gd(e){var t,n=e.isOpen,o=void 0!==n&&n,l=e.overflowContainer,d=void 0===l?hd.overflowContainer:l,p=e.environment,f=void 0===p?"undefined"!=typeof window?window:void 0:p,m=e.ResizeObserver,h=e.placement,v=void 0===h?hd.placement:h,y=e.possiblePlacements,b=void 0===y?hd.possiblePlacements:y,w=e.preferX,x=void 0===w?hd.preferX:w,E=e.preferY,C=void 0===E?hd.preferY:E,k=e.auto,S=void 0===k?hd.auto:k,_=e.snap,I=void 0===_?hd.snap:_,B=e.triggerOffset,T=void 0===B?hd.triggerOffset:B,N=e.containerOffset,z=void 0===N?hd.containerOffset:N,D=e.arrowOffset,P=void 0===D?hd.arrowOffset:D,O=e.container,A=void 0===O?hd.container:O,R=e.layerDimensions,F=void 0===R?null:R,L=e.onDisappear,M=e.onOutsideClick,j=e.onParentClose,H=e.trigger,U=r((function(){return{layerSide:"center"===v?"center":fd.getSidesFromPlacementType(v)[0].prop,styles:{layer:{position:d?"fixed":"absolute",top:0,left:0},arrow:{position:"absolute",top:0,left:0}}}})),V=U[0],$=U[1],W=c(null),G=function(e,t){var n=c(e);return t?(n.current=e,n):(n.current=null,n)}(V,o),q=c(null);a((function(){return function(){q.current&&(cancelAnimationFrame(q.current),q.current=null)}}),[]);var Y=u((function(e,t,n){var r=e.arrow,o=e.layer,i=e.scrollContainers,a=e.trigger,c=i[0],l=md.create(f,o,a,c,r,i,d,null==H?void 0:H.getBounds),s={placement:v,possiblePlacements:b,auto:S,layerDimensions:F,arrowOffset:P,containerOffset:z,triggerOffset:T,preferX:x,preferY:C,snap:I,overflowContainer:d},u=fd.create(l,s).result(t,n),p=u.hasDisappeared,m={layerSide:u.layerSide,styles:u.styles};G.current&&!function(e,t){if(e.layerSide!==t.layerSide)return!0;for(var n=0,r=["position","top","left","right","bottom"];n<r.length;n++){var o=r[n];if(e.styles.layer[o]!==t.styles.layer[o]||e.styles.arrow[o]!==t.styles.arrow[o])return!0}return!1}(G.current,m)||(G.current=m,q.current&&cancelAnimationFrame(q.current),q.current=requestAnimationFrame((function(){$(m),q.current=null}))),$u(p)&&$u(L)&&L(p)}),[P,S,z,f,F,L,d,v,b,x,C,I,T,G,H]),K=Yu({ResizeObserverPolyfill:m,environment:f,enabled:o,overflowContainer:d,onChange:Y,triggerOption:H}),X=K.triggerRef,Z=K.layerRef,J=K.arrowRef,Q=K.closestScrollContainer,ee=function(e){var t=e.isOpen,n=e.onOutsideClick,r=e.onParentClose,o=c(null),l=c(null),s=c(new Set),d=i(Ku),p=u((function(e){var t=e.target,n=o.current&&o.current.contains(t),r=l.current&&l.current.contains(t),i=function(e,t){for(var n,r=Mu(e);!(n=r()).done;)if(!(0,n.value.shouldCloseWhenClickedOutside)(t))return!1;return!0}(s.current,e);return r&&i&&s.current.forEach((function(e){return(0,e.closeChild)()})),!n&&!r&&i}),[o,l,s]);return a((function(){if("function"==typeof d)return d({shouldCloseWhenClickedOutside:p,closeChild:function(){r&&r()}})}),[d,p,r,s]),a((function(){if(t&&n&&"function"!=typeof d)return document.addEventListener("click",e,!0),function(){return document.removeEventListener("click",e,!0)};function e(e){p(e)&&n()}}),[t,n,p,d]),a((function(){t||s.current.forEach((function(e){return(0,e.closeChild)()}))}),[t]),{closeOnOutsideClickRefs:{trigger:o,layer:l},registrations:s}}({isOpen:o,onOutsideClick:M,onParentClose:j}),te=ee.closeOnOutsideClickRefs,ne=ee.registrations,re={triggerProps:Boolean(H)?{}:{ref:Wu(X,te.trigger,W)},layerProps:{ref:Wu(Z,te.layer),style:V.styles.layer},arrowProps:{ref:J,style:V.styles.arrow,layerSide:V.layerSide},layerSide:V.layerSide,triggerBounds:o?H?H.getBounds():null==(t=W.current)?void 0:t.getBoundingClientRect():null,renderLayer:function(e){return"undefined"!=typeof document?g(s(Xu,{registrations:ne,children:e}),d||!Q?function(e){var t;if("function"==typeof e){if(!((t=e())&&t instanceof HTMLElement))throw new Error("react-laag: You've passed a function to the 'container' prop, but it returned no valid HTMLElement")}else if(e instanceof HTMLElement)t=e;else if("string"==typeof e){if(!(t=document.getElementById(e)))throw new Error("react-laag: You've passed element with id '"+e+"' to the 'container' prop, but it returned no valid HTMLElement")}else{if(null instanceof HTMLElement)return null;(t=document.getElementById("layers"))||((t=document.createElement("div")).id="layers",t.style.cssText="\n position: absolute;\n top: 0px;\n left: 0px;\n right: 0px;\n ",document.body.appendChild(t))}return t}(A):Q):null}};return re}(cd=ad||(ad={}))[cd.ENTERING=0]="ENTERING",cd[cd.LEAVING=1]="LEAVING",cd[cd.IDLE=2]="IDLE";let vd=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+((t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_")),"");var yd,bd,wd,xd,Ed,Cd,kd,Sd,_d,Id,Bd;!function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"}(yd||(yd={})),function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(bd||(bd={})),function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(wd||(wd={})),function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(xd||(xd={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(Ed||(Ed={})),function(e){e[e.RightClick=2]="RightClick"}(Cd||(Cd={})),function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(kd||(kd={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(Sd||(Sd={})),function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(_d||(_d={})),function(e){e.Optimized="optimized"}(Id||(Id={})),function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Bd||(Bd={}));var Td={exports:{}};
|
|
21
|
+
***************************************************************************** */var wa=function(e,t){return wa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},wa(e,t)},xa=function(){return xa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},xa.apply(this,arguments)};function Ea(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function Ca(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function c(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}l((r=r.apply(e,t||[])).next())}))}function ka(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function Sa(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function _a(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var Ia=n(null);function Ba(e){var n=r({page:"assets"});return t.createElement(Ia.Provider,{value:n},e.children)}function Ta(){var e=i(Ia);if(null===e)throw new Error("useRouter must be used with a RouterProvider");return e}var Na=n(null),Da={assets:"",collection:"",collections:"",isLoading:!1};function za(e){var n=r(Da),i=n[0],c=n[1],l=Ta()[0];function s(e,t){var n=""!==t;c((function(r){var o;return xa(xa({},r),((o={})[e]=t,o.isLoading=n,o))}))}function u(e){c((function(t){return xa(xa({},t),{isLoading:e})}))}function d(){c(Da)}a((function(){var t;s("assets",null!==(t=e.defaultValue)&&void 0!==t?t:"")}),[e.defaultValue]),a((function(){c((function(e){return xa(xa({},e),{collection:""})}))}),[l]);var p=o((function(){return xa(xa({},i),{setSearch:s,setIsLoading:u,clear:d})}),[i]);return t.createElement(Na.Provider,{value:p},e.children)}function Pa(){var e=i(Na);if(null===e)throw new Error("useSearchState must be used within a SearchStateContext");return e}function Oa(e){var t=Pa();return{value:t[e],isLoading:t.isLoading,setSearch:function(n){return t.setSearch(e,n)},setIsLoading:t.setIsLoading}}var Aa={error:console.error},Ra=n(null),Ma=Ra.Provider,Fa=function(){var e=i(Ra);if(!e)throw new Error("useRootElement must be used withn a RootElementProvider");return e},La={exports:{}},ja={},Ha="function"==typeof Symbol&&Symbol.for,Ua=Ha?Symbol.for("react.element"):60103,Va=Ha?Symbol.for("react.portal"):60106,$a=Ha?Symbol.for("react.fragment"):60107,Wa=Ha?Symbol.for("react.strict_mode"):60108,Ya=Ha?Symbol.for("react.profiler"):60114,qa=Ha?Symbol.for("react.provider"):60109,Ga=Ha?Symbol.for("react.context"):60110,Xa=Ha?Symbol.for("react.async_mode"):60111,Ka=Ha?Symbol.for("react.concurrent_mode"):60111,Za=Ha?Symbol.for("react.forward_ref"):60112,Ja=Ha?Symbol.for("react.suspense"):60113,Qa=Ha?Symbol.for("react.suspense_list"):60120,ec=Ha?Symbol.for("react.memo"):60115,tc=Ha?Symbol.for("react.lazy"):60116,nc=Ha?Symbol.for("react.block"):60121,rc=Ha?Symbol.for("react.fundamental"):60117,oc=Ha?Symbol.for("react.responder"):60118,ic=Ha?Symbol.for("react.scope"):60119;function ac(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ua:switch(e=e.type){case Xa:case Ka:case $a:case Ya:case Wa:case Ja:return e;default:switch(e=e&&e.$$typeof){case Ga:case Za:case tc:case ec:case qa:return e;default:return t}}case Va:return t}}}function cc(e){return ac(e)===Ka}function lc(e){function t(e,r,l,s,p){for(var f,m,h,g,w,E=0,C=0,k=0,S=0,_=0,z=0,O=h=f=0,R=0,M=0,F=0,L=0,j=l.length,H=j-1,U="",V="",$="",W="";R<j;){if(m=l.charCodeAt(R),R===H&&0!==C+S+k+E&&(0!==C&&(m=47===C?10:47),S=k=E=0,j++,H++),0===C+S+k+E){if(R===H&&(0<M&&(U=U.replace(d,"")),0<U.trim().length)){switch(m){case 32:case 9:case 59:case 13:case 10:break;default:U+=l.charAt(R)}m=59}switch(m){case 123:for(f=(U=U.trim()).charCodeAt(0),h=1,L=++R;R<j;){switch(m=l.charCodeAt(R)){case 123:h++;break;case 125:h--;break;case 47:switch(m=l.charCodeAt(R+1)){case 42:case 47:e:{for(O=R+1;O<H;++O)switch(l.charCodeAt(O)){case 47:if(42===m&&42===l.charCodeAt(O-1)&&R+2!==O){R=O+1;break e}break;case 10:if(47===m){R=O+1;break e}}R=O}}break;case 91:m++;case 40:m++;case 34:case 39:for(;R++<H&&l.charCodeAt(R)!==m;);}if(0===h)break;R++}if(h=l.substring(L,R),0===f&&(f=(U=U.replace(u,"").trim()).charCodeAt(0)),64===f){switch(0<M&&(U=U.replace(d,"")),m=U.charCodeAt(1)){case 100:case 109:case 115:case 45:M=r;break;default:M=D}if(L=(h=t(r,M,h,m,p+1)).length,0<P&&(w=c(3,h,M=n(D,U,F),r,B,I,L,m,p,s),U=M.join(""),void 0!==w&&0===(L=(h=w.trim()).length)&&(m=0,h="")),0<L)switch(m){case 115:U=U.replace(x,a);case 100:case 109:case 45:h=U+"{"+h+"}";break;case 107:h=(U=U.replace(v,"$1 $2"))+"{"+h+"}",h=1===N||2===N&&i("@"+h,3)?"@-webkit-"+h+"@"+h:"@"+h;break;default:h=U+h,112===s&&(V+=h,h="")}else h=""}else h=t(r,n(r,U,F),h,s,p+1);$+=h,h=F=M=O=f=0,U="",m=l.charCodeAt(++R);break;case 125:case 59:if(1<(L=(U=(0<M?U.replace(d,""):U).trim()).length))switch(0===O&&(f=U.charCodeAt(0),45===f||96<f&&123>f)&&(L=(U=U.replace(" ",":")).length),0<P&&void 0!==(w=c(1,U,r,e,B,I,V.length,s,p,s))&&0===(L=(U=w.trim()).length)&&(U="\0\0"),f=U.charCodeAt(0),m=U.charCodeAt(1),f){case 0:break;case 64:if(105===m||99===m){W+=U+l.charAt(R);break}default:58!==U.charCodeAt(L-1)&&(V+=o(U,f,m,U.charCodeAt(2)))}F=M=O=f=0,U="",m=l.charCodeAt(++R)}}switch(m){case 13:case 10:47===C?C=0:0===1+f&&107!==s&&0<U.length&&(M=1,U+="\0"),0<P*A&&c(0,U,r,e,B,I,V.length,s,p,s),I=1,B++;break;case 59:case 125:if(0===C+S+k+E){I++;break}default:switch(I++,g=l.charAt(R),m){case 9:case 32:if(0===S+E+C)switch(_){case 44:case 58:case 9:case 32:g="";break;default:32!==m&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===S+C+E&&(M=F=1,g="\f"+g);break;case 108:if(0===S+C+E+T&&0<O)switch(R-O){case 2:112===_&&58===l.charCodeAt(R-3)&&(T=_);case 8:111===z&&(T=z)}break;case 58:0===S+C+E&&(O=R);break;case 44:0===C+k+S+E&&(M=1,g+="\r");break;case 34:case 39:0===C&&(S=S===m?0:0===S?m:S);break;case 91:0===S+C+k&&E++;break;case 93:0===S+C+k&&E--;break;case 41:0===S+C+E&&k--;break;case 40:0===S+C+E&&(0===f&&(2*_+3*z==533||(f=1)),k++);break;case 64:0===C+k+S+E+O+h&&(h=1);break;case 42:case 47:if(!(0<S+E+k))switch(C){case 0:switch(2*m+3*l.charCodeAt(R+1)){case 235:C=47;break;case 220:L=R,C=42}break;case 42:47===m&&42===_&&L+2!==R&&(33===l.charCodeAt(L+2)&&(V+=l.substring(L,R+1)),g="",C=0)}}0===C&&(U+=g)}z=_,_=m,R++}if(0<(L=V.length)){if(M=r,0<P&&void 0!==(w=c(2,V,M,e,B,I,L,s,p,s))&&0===(V=w).length)return W+V+$;if(V=M.join(",")+"{"+V+"}",0!=N*T){switch(2!==N||i(V,2)||(T=0),T){case 111:V=V.replace(b,":-moz-$1")+V;break;case 112:V=V.replace(y,"::-webkit-input-$1")+V.replace(y,"::-moz-$1")+V.replace(y,":-ms-input-$1")+V}T=0}}return W+V+$}function n(e,t,n){var o=t.trim().split(h);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var c=0;for(e=0===a?"":e[0]+" ";c<i;++c)t[c]=r(e,t[c],n).trim();break;default:var l=c=0;for(t=[];c<i;++c)for(var s=0;s<a;++s)t[l++]=r(e[s]+" ",o[c],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",c=2*t+3*n+4*r;if(944===c){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===N||2===N&&i(l,1)?"-webkit-"+l+l:l}if(0===N||2===N&&!i(a,1))return a;switch(c){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(_,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return f.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(w,"tb");break;case 232:l=a.replace(w,"tb-rl");break;case 220:l=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,c=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<c?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(C,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(C,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),O(2!==t?r:r.replace(k,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function c(e,t,n,r,o,i,a,c,l,u){for(var d,p=0,f=t;p<P;++p)switch(d=z[p].call(s,e,f,n,r,o,i,a,c,l,u)){case void 0:case!1:case!0:case null:break;default:f=d}if(f!==t)return f}function l(e){return void 0!==(e=e.prefix)&&(O=null,e?"function"!=typeof e?N=1:(N=2,O=e):N=0),l}function s(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<P){var o=c(-1,n,r,r,B,I,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(D,r,n,0,0);return 0<P&&void 0!==(o=c(-2,i,r,r,B,I,i.length,0,0,0))&&(i=o),T=0,I=B=1,i}var u=/^\0+/g,d=/[\0\r\f]/g,p=/: */g,f=/zoo|gra/,m=/([,: ])(transform)/g,h=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,C=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,_=/([^-])(image-set\()/,I=1,B=1,T=0,N=1,D=[],z=[],P=0,O=null,A=0;return s.use=function e(t){switch(t){case void 0:case null:P=z.length=0;break;default:if("function"==typeof t)z[P++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else A=0|!!t}return e},s.set=l,void 0!==e&&l(e),s}ja.AsyncMode=Xa,ja.ConcurrentMode=Ka,ja.ContextConsumer=Ga,ja.ContextProvider=qa,ja.Element=Ua,ja.ForwardRef=Za,ja.Fragment=$a,ja.Lazy=tc,ja.Memo=ec,ja.Portal=Va,ja.Profiler=Ya,ja.StrictMode=Wa,ja.Suspense=Ja,ja.isAsyncMode=function(e){return cc(e)||ac(e)===Xa},ja.isConcurrentMode=cc,ja.isContextConsumer=function(e){return ac(e)===Ga},ja.isContextProvider=function(e){return ac(e)===qa},ja.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ua},ja.isForwardRef=function(e){return ac(e)===Za},ja.isFragment=function(e){return ac(e)===$a},ja.isLazy=function(e){return ac(e)===tc},ja.isMemo=function(e){return ac(e)===ec},ja.isPortal=function(e){return ac(e)===Va},ja.isProfiler=function(e){return ac(e)===Ya},ja.isStrictMode=function(e){return ac(e)===Wa},ja.isSuspense=function(e){return ac(e)===Ja},ja.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===$a||e===Ka||e===Ya||e===Wa||e===Ja||e===Qa||"object"==typeof e&&null!==e&&(e.$$typeof===tc||e.$$typeof===ec||e.$$typeof===qa||e.$$typeof===Ga||e.$$typeof===Za||e.$$typeof===rc||e.$$typeof===oc||e.$$typeof===ic||e.$$typeof===nc)},ja.typeOf=ac,La.exports=ja;var sc={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function uc(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var dc=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,pc=uc((function(e){return dc.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),fc=La.exports,mc={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},hc={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},gc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},vc={};function yc(e){return fc.isMemo(e)?gc:vc[e.$$typeof]||mc}vc[fc.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},vc[fc.Memo]=gc;var bc=Object.defineProperty,wc=Object.getOwnPropertyNames,xc=Object.getOwnPropertySymbols,Ec=Object.getOwnPropertyDescriptor,Cc=Object.getPrototypeOf,kc=Object.prototype,Sc=function e(t,n,r){if("string"!=typeof n){if(kc){var o=Cc(n);o&&o!==kc&&e(t,o,r)}var i=wc(n);xc&&(i=i.concat(xc(n)));for(var a=yc(t),c=yc(n),l=0;l<i.length;++l){var s=i[l];if(!(hc[s]||r&&r[s]||c&&c[s]||a&&a[s])){var u=Ec(n,s);try{bc(t,s,u)}catch(e){}}}}return t};function _c(){return(_c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ic=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},Bc=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!La.exports.typeOf(e)},Tc=Object.freeze([]),Nc=Object.freeze({});function Dc(e){return"function"==typeof e}function zc(e){return e.displayName||e.name||"Component"}function Pc(e){return e&&"string"==typeof e.styledComponentId}var Oc="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ac="undefined"!=typeof window&&"HTMLElement"in window,Rc=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&(void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),Mc={};function Fc(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var Lc=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&Fc(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),c=0,l=t.length;c<l;c++)this.tag.insertRule(a,t[c])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),jc=new Map,Hc=new Map,Uc=1,Vc=function(e){if(jc.has(e))return jc.get(e);for(;Hc.has(Uc);)Uc++;var t=Uc++;return jc.set(e,t),Hc.set(t,e),t},$c=function(e){return Hc.get(e)},Wc=function(e,t){t>=Uc&&(Uc=t+1),jc.set(e,t),Hc.set(t,e)},Yc="style["+Oc+'][data-styled-version="5.3.9"]',qc=new RegExp("^"+Oc+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Gc=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},Xc=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var c=a.match(qc);if(c){var l=0|parseInt(c[1],10),s=c[2];0!==l&&(Wc(s,l),Gc(e,s,c[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},Kc=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(Oc))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(Oc,"active"),r.setAttribute("data-styled-version","5.3.9");var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},Zc=function(){function e(e){var t=this.element=Kc(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}Fc(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),Jc=function(){function e(e){var t=this.element=Kc(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Qc=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),el=Ac,tl={isServer:!Ac,useCSSOMInjection:!Rc},nl=function(){function e(e,t,n){void 0===e&&(e=Nc),void 0===t&&(t={}),this.options=_c({},tl,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Ac&&el&&(el=!1,function(e){for(var t=document.querySelectorAll(Yc),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(Oc)&&(Xc(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return Vc(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(_c({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new Qc(o):r?new Zc(o):new Jc(o),new Lc(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Vc(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Vc(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Vc(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var i=$c(o);if(void 0!==i){var a=e.names.get(i),c=t.getGroup(o);if(a&&c&&a.size){var l=Oc+".g"+o+'[id="'+i+'"]',s="";void 0!==a&&a.forEach((function(e){e.length>0&&(s+=e+",")})),r+=""+c+l+'{content:"'+s+'"}/*!sc*/\n'}}}return r}(this)},e}(),rl=/(a)(d)/gi,ol=function(e){return String.fromCharCode(e+(e>25?39:97))};function il(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ol(t%52)+n;return(ol(t%52)+n).replace(rl,"$1-$2")}var al=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},cl=function(e){return al(5381,e)};function ll(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Dc(n)&&!Pc(n))return!1}return!0}var sl=cl("5.3.9"),ul=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&ll(e),this.componentId=t,this.baseHash=al(sl,t),this.baseStyle=n,nl.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=Bl(this.rules,e,t,n).join(""),a=il(al(this.baseHash,i)>>>0);if(!t.hasNameForId(r,a)){var c=n(i,"."+a,void 0,r);t.insertRules(r,a,c)}o.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,s=al(this.baseHash,n.hash),u="",d=0;d<l;d++){var p=this.rules[d];if("string"==typeof p)u+=p;else if(p){var f=Bl(p,e,t,n),m=Array.isArray(f)?f.join(""):f;s=al(s,m+d),u+=m}}if(u){var h=il(s>>>0);if(!t.hasNameForId(r,h)){var g=n(u,"."+h,void 0,r);t.insertRules(r,h,g)}o.push(h)}}return o.join(" ")},e}(),dl=/^\s*\/\/.*$/gm,pl=[":","[",".","#"];function fl(e){var t,n,r,o,i=void 0===e?Nc:e,a=i.options,c=void 0===a?Nc:a,l=i.plugins,s=void 0===l?Tc:l,u=new lc(c),d=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,c,l,s,u,d){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===s)return r+"/*|*/";break;case 3:switch(s){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),f=function(e,r,i){return 0===r&&-1!==pl.indexOf(i[n.length])||i.match(o)?e:"."+t};function m(e,i,a,c){void 0===c&&(c="&");var l=e.replace(dl,""),s=i&&a?a+" "+i+" { "+l+" }":l;return t=c,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),u(a||!i?"":i,s)}return u.use([].concat(s,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,f))},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=s.length?s.reduce((function(e,t){return t.name||Fc(15),al(e,t.name)}),5381).toString():"",m}var ml=t.createContext(),hl=t.createContext(),gl=new nl,vl=fl();function yl(){return i(ml)||gl}function bl(){return i(hl)||vl}function wl(e){var n=r(e.stylisPlugins),i=n[0],c=n[1],l=yl(),s=o((function(){var t=l;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),u=o((function(){return fl({options:{prefix:!e.disableVendorPrefixes},plugins:i})}),[e.disableVendorPrefixes,i]);return a((function(){(function(e,t,n,r){var o=void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var s=i[l];if(!c(s))return!1;var u=e[s],d=t[s];if(!1===(o=void 0)||void 0===o&&u!==d)return!1}return!0})(i,e.stylisPlugins)||c(e.stylisPlugins)}),[e.stylisPlugins]),t.createElement(ml.Provider,{value:s},t.createElement(hl.Provider,{value:u},e.children))}var xl=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=vl);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return Fc(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=vl),this.name+e.hash},e}(),El=/([A-Z])/,Cl=/([A-Z])/g,kl=/^ms-/,Sl=function(e){return"-"+e.toLowerCase()};function _l(e){return El.test(e)?e.replace(Cl,Sl).replace(kl,"-ms-"):e}var Il=function(e){return null==e||!1===e||""===e};function Bl(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,c=e.length;a<c;a+=1)""!==(o=Bl(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return Il(e)?"":Pc(e)?"."+e.styledComponentId:Dc(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:Bl(e(t),t,n,r):e instanceof xl?n?(e.inject(n,r),e.getName(r)):e:Bc(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!Il(t[a])&&(Array.isArray(t[a])&&t[a].isCss||Dc(t[a])?i.push(_l(a)+":",t[a],";"):Bc(t[a])?i.push.apply(i,e(t[a],a)):i.push(_l(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in sc?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var l}var Tl=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Nl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Dc(e)||Bc(e)?Tl(Bl(Ic(Tc,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Tl(Bl(Ic(e,n)))}var Dl=function(e,t,n){return void 0===n&&(n=Nc),e.theme!==n.theme&&e.theme||t||n.theme},zl=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Pl=/(^-|-$)/g;function Ol(e){return e.replace(zl,"-").replace(Pl,"")}var Al=function(e){return il(cl(e)>>>0)};function Rl(e){return"string"==typeof e&&!0}var Ml=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Fl=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ll(e,t,n){var r=e[n];Ml(t)&&Ml(r)?jl(r,t):e[n]=t}function jl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(Ml(a))for(var c in a)Fl(c)&&Ll(e,a[c],c)}return e}var Hl=t.createContext(),Ul={};function Vl(e,n,r){var o=Pc(e),a=!Rl(e),c=n.attrs,l=void 0===c?Tc:c,u=n.componentId,d=void 0===u?function(e,t){var n="string"!=typeof e?"sc":Ol(e);Ul[n]=(Ul[n]||0)+1;var r=n+"-"+Al("5.3.9"+n+Ul[n]);return t?t+"-"+r:r}(n.displayName,n.parentComponentId):u,p=n.displayName,f=void 0===p?function(e){return Rl(e)?"styled."+e:"Styled("+zc(e)+")"}(e):p,m=n.displayName&&n.componentId?Ol(n.displayName)+"-"+n.componentId:n.componentId||d,h=o&&e.attrs?Array.prototype.concat(e.attrs,l).filter(Boolean):l,g=n.shouldForwardProp;o&&e.shouldForwardProp&&(g=n.shouldForwardProp?function(t,r,o){return e.shouldForwardProp(t,r,o)&&n.shouldForwardProp(t,r,o)}:e.shouldForwardProp);var v,y=new ul(r,m,o?e.componentStyle:void 0),b=y.isStatic&&0===l.length,w=function(e,t){return function(e,t,n,r){var o=e.attrs,a=e.componentStyle,c=e.defaultProps,l=e.foldedComponentIds,u=e.shouldForwardProp,d=e.styledComponentId,p=e.target,f=function(e,t,n){void 0===e&&(e=Nc);var r=_c({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in Dc(a)&&(a=a(r)),a)r[t]=o[t]="className"===t?(n=o[t],i=a[t],n&&i?n+" "+i:n||i):a[t]})),[r,o]}(Dl(t,i(Hl),c)||Nc,t,o),m=f[0],h=f[1],g=function(e,t,n,r){var o=yl(),i=bl();return t?e.generateAndInjectStyles(Nc,o,i):e.generateAndInjectStyles(n,o,i)}(a,r,m),v=n,y=h.$as||t.$as||h.as||t.as||p,b=Rl(y),w=h!==t?_c({},t,{},h):t,x={};for(var E in w)"$"!==E[0]&&"as"!==E&&("forwardedAs"===E?x.as=w[E]:(u?u(E,pc,y):!b||pc(E))&&(x[E]=w[E]));return t.style&&h.style!==t.style&&(x.style=_c({},t.style,{},h.style)),x.className=Array.prototype.concat(l,d,g!==d?g:null,t.className,h.className).filter(Boolean).join(" "),x.ref=v,s(y,x)}(v,e,t,b)};return w.displayName=f,(v=t.forwardRef(w)).attrs=h,v.componentStyle=y,v.displayName=f,v.shouldForwardProp=g,v.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Tc,v.styledComponentId=m,v.target=o?e.target:e,v.withComponent=function(e){var t=n.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["componentId"]),i=t&&t+"-"+(Rl(e)?e:Ol(zc(e)));return Vl(e,_c({},o,{attrs:h,componentId:i}),r)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?jl({},e.defaultProps,t):t}}),Object.defineProperty(v,"toString",{value:function(){return"."+v.styledComponentId}}),a&&Sc(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var $l=function(e){return function e(t,n,r){if(void 0===r&&(r=Nc),!La.exports.isValidElementType(n))return Fc(1,String(n));var o=function(){return t(n,r,Nl.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,_c({},r,{},o))},o.attrs=function(o){return e(t,n,_c({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(Vl,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){$l[e]=$l(e)}));var Wl=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=ll(e),nl.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r(Bl(this.rules,t,n,r).join(""),""),i=this.componentId+e;n.insertRules(i,i,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&nl.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Yl(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=Nl.apply(void 0,[e].concat(r)),s="sc-global-"+Al(JSON.stringify(a)),u=new Wl(a,s);function d(e){var t=yl(),n=bl(),r=i(Hl),o=c(t.allocateGSInstance(s)).current;return t.server&&p(o,e,t,r,n),l((function(){if(!t.server)return p(o,e,t,r,n),function(){return u.removeStyles(o,t)}}),[o,e,t,r,n]),null}function p(e,t,n,r,o){if(u.isStatic)u.renderStyles(e,Mc,n,o);else{var i=_c({},t,{theme:Dl(t,r,d.defaultProps)});u.renderStyles(e,i,n,o)}}return t.memo(d)}function ql(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Nl.apply(void 0,[e].concat(n)).join(""),i=Al(o);return new xl(i,o)}var Gl=$l;const Xl="undefined"!=typeof window?t.useLayoutEffect:()=>{};let Kl=new Map,Zl=new Set;function Jl(){if("undefined"==typeof window)return;let e=t=>{let n=Kl.get(t.target);if(n&&(n.delete(t.propertyName),0===n.size&&(t.target.removeEventListener("transitioncancel",e),Kl.delete(t.target)),0===Kl.size)){for(let e of Zl)e();Zl.clear()}};document.body.addEventListener("transitionrun",(t=>{let n=Kl.get(t.target);n||(n=new Set,Kl.set(t.target,n),t.target.addEventListener("transitioncancel",e)),n.add(t.propertyName)})),document.body.addEventListener("transitionend",e)}"undefined"!=typeof document&&("loading"!==document.readyState?Jl():document.addEventListener("DOMContentLoaded",Jl)),t.createContext(null).displayName="PressResponderContext";class Ql{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function es(e){let t=c({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,Xl((()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]),u((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target,r=e=>{var r,o;t.current.isFocused=!1,n.disabled&&(null===(o=(r=t.current).onBlur)||void 0===o||o.call(r,new Ql("blur",e))),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",r,{once:!0}),t.current.observer=new MutationObserver((()=>{t.current.isFocused&&n.disabled&&(t.current.observer.disconnect(),n.dispatchEvent(new FocusEvent("blur")),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0})))})),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}}),[])}let ts=null,ns=new Set,rs=!1,os=!1,is=!1;const as={Tab:!0,Escape:!0};function cs(e,t){for(let n of ns)n(e,t)}function ls(e){os=!0,function(e){return!(e.metaKey||("undefined"==typeof window||null==window.navigator||!/^Mac/i.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform))&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key);var t}(e)&&(ts="keyboard",cs("keyboard",e))}function ss(e){ts="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(os=!0,cs("pointer",e))}function us(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||(function(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some((t=>e.test(t.brand))))||e.test(window.navigator.userAgent))}(/Android/i)&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType))&&(os=!0,ts="virtual")}function ds(e){e.target!==window&&e.target!==document&&(os||is||(ts="virtual",cs("virtual",e)),os=!1,is=!1)}function ps(){os=!1,is=!0}function fs(){if("undefined"==typeof window||rs)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){os=!0,e.apply(this,arguments)},document.addEventListener("keydown",ls,!0),document.addEventListener("keyup",ls,!0),document.addEventListener("click",us,!0),window.addEventListener("focus",ds,!0),window.addEventListener("blur",ps,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",ss,!0),document.addEventListener("pointermove",ss,!0),document.addEventListener("pointerup",ss,!0)):(document.addEventListener("mousedown",ss,!0),document.addEventListener("mousemove",ss,!0),document.addEventListener("mouseup",ss,!0)),rs=!0}function ms(){return"pointer"!==ts}"undefined"!=typeof document&&("loading"!==document.readyState?fs():document.addEventListener("DOMContentLoaded",fs));let hs=!1,gs=0;function vs(){hs=!0,setTimeout((()=>{hs=!1}),50)}function ys(e){"touch"===e.pointerType&&vs()}function bs(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",ys):document.addEventListener("touchend",vs),gs++,()=>{gs--,gs>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",ys):document.removeEventListener("touchend",vs))}}function ws(e,t){return t.some((t=>t.contains(e)))}class xs{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null),o=new Es({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e),n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef.current&&ws(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n.removeChild(t),r.length>0&&r.forEach((e=>n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.length>0)for(let t of e.children)yield*this.traverse(t)}clone(){let e=new xs;for(let t of this.traverse())e.addTreeNode(t.scopeRef,t.parent.scopeRef,t.nodeToRestore);return e}constructor(){this.fastMap=new Map,this.root=new Es({scopeRef:null}),this.fastMap.set(null,this.root)}}class Es{addChild(e){this.children.push(e),e.parent=this}removeChild(e){this.children.splice(this.children.indexOf(e),1),e.parent=void 0}constructor(e){this.children=[],this.contain=!1,this.scopeRef=e.scopeRef}}function Cs(e={}){let{autoFocus:t=!1,isTextInput:n,within:o}=e,i=c({isFocused:!1,isFocusVisible:t||ms()}),[l,s]=r(!1),[d,p]=r((()=>i.current.isFocused&&i.current.isFocusVisible)),f=u((()=>p(i.current.isFocused&&i.current.isFocusVisible)),[]),m=u((e=>{i.current.isFocused=e,s(e),f()}),[f]);var h,g,v;h=e=>{i.current.isFocusVisible=e,f()},g=[],v={isTextInput:n},fs(),a((()=>{let e=(e,t)=>{(function(e,t,n){return!(e&&"keyboard"===t&&n instanceof KeyboardEvent&&!as[n.key])})(null==v?void 0:v.isTextInput,e,t)&&h(ms())};return ns.add(e),()=>{ns.delete(e)}}),g);let{focusProps:y}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const i=u((e=>{if(e.target===e.currentTarget)return r&&r(e),o&&o(!1),!0}),[r,o]),a=es(i),c=u((e=>{e.target===e.currentTarget&&(n&&n(e),o&&o(!0),a(e))}),[o,n,a]);return{focusProps:{onFocus:!t&&(n||o||r)?c:void 0,onBlur:t||!r&&!o?null:i}}}({isDisabled:o,onFocusChange:m}),{focusWithinProps:b}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,i=c({isFocusWithin:!1}),a=u((e=>{i.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(i.current.isFocusWithin=!1,n&&n(e),o&&o(!1))}),[n,o,i]),l=es(a),s=u((e=>{i.current.isFocusWithin||(r&&r(e),o&&o(!0),i.current.isFocusWithin=!0,l(e))}),[r,o,l]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:s,onBlur:a}}}({isDisabled:!o,onFocusWithinChange:m});return{isFocused:l,isFocusVisible:i.current.isFocused&&d,focusProps:o?b:y}}new xs;var ks={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Ss=t.createContext&&t.createContext(ks),_s=function(){return _s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_s.apply(this,arguments)};function Is(e){return e&&e.map((function(e,n){return t.createElement(e.tag,_s({key:n},e.attr),Is(e.child))}))}function Bs(e){return function(n){return t.createElement(Ts,_s({attr:_s({},e.attr)},n),Is(e.child))}}function Ts(e){var n=function(n){var r,o=e.attr,i=e.size,a=e.title,c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["attr","size","title"]),l=i||n.size||"1em";return n.className&&(r=n.className),e.className&&(r=(r?r+" ":"")+e.className),t.createElement("svg",_s({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,o,c,{className:r,style:_s(_s({color:e.color||n.color},n.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&t.createElement("title",null,a),e.children)};return void 0!==Ss?t.createElement(Ss.Consumer,null,(function(e){return n(e)})):n(ks)}function Ns(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"}}]})(e)}function Ds(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}}]})(e)}function zs(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5a2 2 0 00-2 2v4h2V5h14v14H5v-4H3v4a2 2 0 002 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}}]})(e)}function Ps(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M12 4.81V19c-3.31 0-6-2.63-6-5.87 0-1.56.62-3.03 1.75-4.14L12 4.81M6.35 7.56C4.9 8.99 4 10.96 4 13.13 4 17.48 7.58 21 12 21s8-3.52 8-7.87c0-2.17-.9-4.14-2.35-5.57L12 2 6.35 7.56z"}}]})(e)}function Os(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z"}}]})(e)}function As(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}}]})(e)}function Rs(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"}}]})(e)}function Ms(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9V6zM18 20H6V10h12v10z"}}]})(e)}function Fs(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M24 0H0v24h24V0zm0 0H0v24h24V0zM0 24h24V0H0v24z"}},{tag:"path",attr:{d:"M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"}}]})(e)}function Ls(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 19H5V5h7V3H5a2 2 0 00-2 2v14a2 2 0 002 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}}]})(e)}function js(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"}}]})(e)}function Hs(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}}]})(e)}function Us(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 00.12-.61l-1.92-3.32a.488.488 0 00-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 00-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 00-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}}]})(e)}function Vs(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M15 4c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zM3 12a5.99 5.99 0 014-5.65V4.26C3.55 5.15 1 8.27 1 12s2.55 6.85 6 7.74v-2.09A5.99 5.99 0 013 12z"}}]})(e)}function $s(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46A11.804 11.804 0 001 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}}]})(e)}function Ws(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}}]})(e)}function Ys(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z"}}]})(e)}function qs(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3A4.5 4.5 0 0014 7.97v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"}}]})(e)}function Gs(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}}]})(e)}function Xs(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5L6.5 12H10v-2h4v2h3.5L12 17.5zM5.12 5l.81-1h12l.94 1H5.12z"}}]})(e)}function Ks(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"}}]})(e)}function Zs(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"circle",attr:{cx:"6",cy:"18",r:"2",fill:"none"}},{tag:"circle",attr:{cx:"12",cy:"12",r:".5",fill:"none"}},{tag:"circle",attr:{cx:"6",cy:"6",r:"2",fill:"none"}},{tag:"path",attr:{d:"M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1L9.64 7.64zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2zm6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5zM19 3l-6 6 2 2 7-7V3z"}}]})(e)}function Js(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"}}]})(e)}function Qs(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 15.31L23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6z"}}]})(e)}function eu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M13 7h-2v2h2V7zm0 4h-2v2h2v-2zm4 0h-2v2h2v-2zM3 3v18h18V3H3zm16 16H5V5h14v14zm-6-4h-2v2h2v-2zm-4-4H7v2h2v-2z"}}]})(e)}function tu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16.56 8.94L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15a1.49 1.49 0 000 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.58.59-1.53 0-2.12zM5.21 10L10 5.21 14.79 10H5.21zM19 11.5s-2 2.17-2 3.5c0 1.1.9 2 2 2s2-.9 2-2c0-1.33-2-3.5-2-3.5zM2 20h20v4H2v-4z"}}]})(e)}function nu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"}}]})(e)}function ru(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}}]})(e)}function ou(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19.5 9.5c-1.03 0-1.9.62-2.29 1.5h-2.92c-.39-.88-1.26-1.5-2.29-1.5s-1.9.62-2.29 1.5H6.79c-.39-.88-1.26-1.5-2.29-1.5a2.5 2.5 0 000 5c1.03 0 1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5s1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5a2.5 2.5 0 000-5z"}}]})(e)}function iu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z"}}]})(e)}function au(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"}}]})(e)}function cu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}}]})(e)}function lu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 13c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-3 .5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM6 5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm15 5.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM14 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0-3.5c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zm-11 10c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm7 7c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm0-17c.28 0 .5-.22.5-.5s-.22-.5-.5-.5-.5.22-.5.5.22.5.5.5zM10 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm0 5.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm8 .5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm3 8.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zM14 17c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 3.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm-4-12c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0 8.5c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm4-4.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-4c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"}}]})(e)}function su(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}}]})(e)}function uu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm-7 7H3v4c0 1.1.9 2 2 2h4v-2H5v-4zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2V5zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2zm0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4z"}}]})(e)}function du(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20.71 5.63l-2.34-2.34a.996.996 0 00-1.41 0l-3.12 3.12-1.93-1.91-1.41 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3.12c.4-.4.4-1.03.01-1.42zM6.92 19L5 17.08l8.06-8.06 1.92 1.92L6.92 19z"}}]})(e)}function pu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 12H5V7h14v10z"}}]})(e)}function fu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H6V6h12v12z"}}]})(e)}function mu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 15h2V7c0-1.1-.9-2-2-2H9v2h8v8zM7 17V1H5v4H1v2h4v10c0 1.1.9 2 2 2h10v4h2v-4h4v-2H7z"}}]})(e)}function hu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 11H1v2h6v-2zm2.17-3.24L7.05 5.64 5.64 7.05l2.12 2.12 1.41-1.41zM13 1h-2v6h2V1zm5.36 6.05l-1.41-1.41-2.12 2.12 1.41 1.41 2.12-2.12zM17 11v2h6v-2h-6zm-5-2c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zm2.83 7.24l2.12 2.12 1.41-1.41-2.12-2.12-1.41 1.41zm-9.19.71l1.41 1.41 2.12-2.12-1.41-1.41-2.12 2.12zM11 23h2v-6h-2v6z"}}]})(e)}function gu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"}}]})(e)}function vu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}}]})(e)}function yu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"circle",attr:{cx:"12",cy:"12",r:"3.2"}},{tag:"path",attr:{d:"M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"}}]})(e)}function bu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}}]})(e)}function wu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7.34 6.41L.86 12.9l6.49 6.48 6.49-6.48-6.5-6.49zM3.69 12.9l3.66-3.66L11 12.9l-3.66 3.66-3.65-3.66zm15.67-6.26A8.95 8.95 0 0013 4V.76L8.76 5 13 9.24V6c1.79 0 3.58.68 4.95 2.05a7.007 7.007 0 010 9.9 6.973 6.973 0 01-7.79 1.44l-1.49 1.49C10.02 21.62 11.51 22 13 22c2.3 0 4.61-.88 6.36-2.64a8.98 8.98 0 000-12.72z"}}]})(e)}function xu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93s3.05-7.44 7-7.93v15.86zm2-15.86c1.03.13 2 .45 2.87.93H13v-.93zM13 7h5.24c.25.31.48.65.68 1H13V7zm0 3h6.74c.08.33.15.66.19 1H13v-1zm0 9.93V19h2.87c-.87.48-1.84.8-2.87.93zM18.24 17H13v-1h5.92c-.2.35-.43.69-.68 1zm1.5-3H13v-1h6.93c-.04.34-.11.67-.19 1z"}}]})(e)}function Eu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 17v2h6v-2H3zM3 5v2h10V5H3zm10 16v-2h8v-2h-8v-2h-2v6h2zM7 9v2H3v2h4v2h2V9H7zm14 4v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z"}}]})(e)}function Cu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 10l5 5 5-5z"}}]})(e)}function ku(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}}]})(e)}function Su(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}}]})(e)}function _u(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}}]})(e)}function Iu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}}]})(e)}function Bu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}}]})(e)}function Tu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}}]})(e)}function Nu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}}]})(e)}function Du(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}}]})(e)}function zu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"}}]})(e)}function Pu(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}}]})(e)}function Ou(e,t,n){return e[t]?e[t][0]?e[t][0][n]:e[t][n]:"contentBoxSize"===t?e.contentRect["inlineSize"===n?"width":"height"]:void 0}function Au(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ru(e,t,n){return t&&Au(e.prototype,t),n&&Au(e,n),e}function Mu(){return Mu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mu.apply(this,arguments)}function Fu(e,t){return Fu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Fu(e,t)}function Lu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ju(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Lu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lu(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Hu(e){var t=c(null);return function(n){n&&n!==t.current&&(t.current=n,e(n))}}var Uu="undefined"!=typeof window?l:a;function Vu(e){return parseFloat(e.replace("px",""))}function $u(e,t,n){return e<t?t:e>n?n:e}function Wu(e){return null!=e}function Yu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n,r=ju(t);!(n=r()).done;){var o=n.value;o&&("function"==typeof o?o(e):o.current=e)}}}function qu(e,t){var n=[];if(!e||!t||e===document.body)return n;var r=t.getComputedStyle(e);return[r.overflow,r.overflowX,r.overflowY].some((function(e){return["auto","scroll"].includes(e)}))&&n.push(e),[].concat(n,qu(e.parentElement,t))}function Gu(e){return"react-laag: Could not find a valid reference for the "+e+" element. There might be 2 causes:\n - Make sure that the 'ref' is set correctly on the "+e+' element when isOpen: true. Also make sure your component forwards the ref with "forwardRef()".\n - Make sure that you are actually rendering the '+e+" when the isOpen prop is set to true"}function Xu(e){var t=e.enabled,n=e.onChange,r=e.environment,i=e.ResizeObserverPolyfill,l=e.overflowContainer,s=e.triggerOption,d=function(e,t){if(void 0!==e)return t||e.ResizeObserver}(r,i);a((function(){}),[d]);var p,f,m=c(null),h=Boolean(s),g=(f=c({scrollContainers:[],trigger:null,layer:null}),o((function(){return[function(){return f.current},function(e){f.current="function"==typeof e?e(f.current):e}]}),[])),v=g[0],y=g[1],b=(p=c([]),o((function(){return{hasEventSubscriptions:function(){return p.current.length>0},removeAllEventSubscriptions:function(){for(var e,t=ju(p.current);!(e=t()).done;)(0,e.value)();p.current=[]},addEventSubscription:function(e){p.current.push(e)}}}),[])),w=b.hasEventSubscriptions,x=b.addEventSubscription,E=b.removeAllEventSubscriptions,C=u((function(){var e=v(),t=e.layer,o=e.trigger,i=e.scrollContainers,a=i[0];if(!t)throw new Error(Gu("layer"));if(!o&&!h)throw new Error(Gu("trigger"));var c={top:0,left:0};if(a){var l=a.scrollLeft;c={top:a.scrollTop,left:l}}else{var s=r.scrollX;c={top:r.scrollY,left:s}}var u={left:0,top:0};if(a){var d=r.getComputedStyle(a),p=d.borderLeftWidth,f=d.borderTopWidth;u={left:Vu(p)||0,top:Vu(f)||0}}n({layer:t,trigger:o,scrollContainers:i,arrow:m.current},c,u)}),[v,n,r,m,h]),k=u((function(){var e=v(),t=e.trigger,n=e.layer,o=e.scrollContainers;if(!n)throw new Error(Gu("layer"));if(!t&&!h)throw new Error(Gu("trigger"));if(d){for(var i=!1,a=new d((function(){i?C():i=!0})),c=0,l=[t,n,document.body];c<l.length;c++){var s=l[c];s&&a.observe(s)}x((function(){for(var e=0,r=[t,n,document.body];e<r.length;e++){var o=r[e];o&&a.unobserve(o)}a.disconnect()}))}for(var u,p=function(){var e=u.value;e.addEventListener("scroll",C),x((function(){return e.removeEventListener("scroll",C)}))},f=ju([r].concat(o));!(u=f()).done;)p()}),[v,x,C,r,d,h]),S=u((function(e,n){t&&e&&e!==n&&(E(),k(),C())}),[E,k,C,t]),_=Hu(u((function(e){var t=v().layer;y((function(t){return Mu({},t,{layer:e})})),S(t,e)}),[v,y,S])),I=u((function(e){var t=qu(e,r),n=t[0];if(n){var o=r.getComputedStyle(n).position;["relative","absolute","fixed"].includes(o)||l||(n.style.position="relative")}return t}),[r,l]),B=Hu(u((function(e){var t=I(e),n=v().trigger;y((function(n){return Mu({},n,{trigger:e,scrollContainers:t})})),S(n,e)}),[v,y,S,I])),T=null==s||null==s.getParent?void 0:s.getParent();return Uu((function(){T&&y((function(e){return Mu({},e,{scrollContainers:I(T)})}))}),[T,y,I]),Uu((function(){return t&&(w()||k()),function(){w()&&E()}}),[t,w,k,E]),Uu((function(){t&&C()})),{triggerRef:B,layerRef:_,arrowRef:m,closestScrollContainer:v().scrollContainers[0]||null}}var Ku=n({});function Zu(e){var t=e.children,n=e.registrations,r=u((function(e){return n.current.add(e),function(){return n.current.delete(e)}}),[n]);return s(Ku.Provider,{value:r},t)}var Ju={top:"bottom",left:"right",bottom:"top",right:"left",center:"center"},Qu=function(){function e(e,t,n,r,o,i,a,c,l){this.prop=void 0,this.opposite=void 0,this.isHorizontal=void 0,this.sizeProp=void 0,this.oppositeSizeProp=void 0,this.cssProp=void 0,this.oppositeCssProp=void 0,this.isCenter=void 0,this.isPush=void 0,this.prop=e,this.opposite=t,this.isHorizontal=n,this.sizeProp=r,this.oppositeSizeProp=o,this.cssProp=i,this.oppositeCssProp=a,this.isCenter=c,this.isPush=l}var t=e.prototype;return t.factor=function(e){return e*(this.isPush?1:-1)},t.isOppositeDirection=function(e){return this.isHorizontal!==e.isHorizontal},e}();function ed(e,t){void 0===t&&(t=!0);var n=["left","right"].includes(e);return new Qu(e,t?ed(Ju[e],!1):null,n,n?"width":"height",n?"height":"width",n?"left":"top",n?"top":"left","center"===e,!["right","bottom"].includes(e))}var td={top:ed("top"),bottom:ed("bottom"),left:ed("left"),right:ed("right")},nd=Mu({},td,{center:ed("center")}),rd=["top","left","bottom","right"],od=function(){function e(e){return this.top=void 0,this.left=void 0,this.right=void 0,this.bottom=void 0,Object.assign(this,e)}return e.mergeSmallestSides=function(t){var n=t[0],r=t.slice(1);if(!n)throw new Error("Please provide at least 1 bounds objects in order to merge");for(var o,i=Object.fromEntries(rd.map((function(e){return[e,n[e]]}))),a=ju(r);!(o=a()).done;)for(var c,l=o.value,s=ju(rd);!(c=s()).done;){var u=c.value;i[u]=Math.min(i[u],l[u])}return new e(i)},Ru(e,[{key:"allSidesArePositive",get:function(){var e=this;return rd.every((function(t){return e[t]>=0}))}},{key:"negativeSides",get:function(){var e=this;return Object.fromEntries(rd.filter((function(t){return e[t]<0})).map((function(t){return[t,e[t]]})))}}]),e}();function id(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return e+(t?Vu(t):0)}),0)}function ad(e){return{top:e.top,left:e.left,right:e.right,bottom:e.bottom,width:e.width,height:e.height}}var cd,ld,sd={top:0,left:0,right:0,bottom:0,width:0,height:0},ud=function(){function e(e){return void 0===e&&(e={}),this.top=void 0,this.left=void 0,this.right=void 0,this.bottom=void 0,this.width=void 0,this.height=void 0,Object.assign(this,sd,e)}e.create=function(t){return new e(t)},e.fromElement=function(t,n){void 0===n&&(n={});var r=n,o=r.withTransform,i=void 0===o||o,a=r.environment,c=void 0===a?window:a,l=r.withScrollbars,s=void 0===l||l,u=new e(ad(t.getBoundingClientRect()));if(!i){var d=c.getComputedStyle(t),p=d.width,f=d.height,m=d.boxSizing,h=d.borderLeft,g=d.borderRight,v=d.borderTop,y=d.borderBottom,b=d.paddingLeft,w=d.paddingRight,x=d.paddingTop,E=d.paddingBottom;u=new e(Mu({},u,{width:"border-box"===m?Vu(p):id(p,h,g,b,w),height:"border-box"===m?Vu(f):id(f,v,y,x,E)}))}if(!s){var C=u.width-t.clientWidth,k=u.height-t.clientHeight;return u.substract({right:C,bottom:k})}return u},e.empty=function(){return new e},e.fromWindow=function(t){var n=t||{},r=n.innerWidth,o=void 0===r?0:r,i=n.innerHeight,a=void 0===i?0:i;return new e({width:o,height:a,right:o,bottom:a})};var t=e.prototype;return t.toObject=function(){return ad(this)},t.merge=function(t){var n=this.toObject();return new e(Mu({},n,"function"==typeof t?t(n):t))},t.substract=function(t){for(var n=this.toObject(),r=0,o=Object.entries(t);r<o.length;r++){var i=o[r],a=i[0],c=i[1];if(a in td){var l=td[a];n[a]+=l.factor(c),n[l.isHorizontal?"width":"height"]-=c}else n[a]-=c||0}return new e(n)},t.offsetsTo=function(e){return new od({top:e.top-this.top,bottom:this.bottom-e.bottom,left:e.left-this.left,right:this.right-e.right})},t.mapSides=function(t){for(var n=this.toObject(),r=0,o=Object.values(td);r<o.length;r++){var i=o[r];n[i.prop]=t(i,n[i.prop])}return new e(n)},Ru(e,[{key:"surface",get:function(){return this.width*this.height}}]),e}(),dd=function(){function e(e,t,n,r,o){this.primary=void 0,this.secondary=void 0,this.offsets=void 0,this.subjectsBounds=void 0,this._cachedLayerBounds=null,this._cachedContainerOffsets=null,this.primary=e,this.secondary=t,this.offsets=o,this.setSubjectsBounds(n,r)}var t=e.prototype;return t.setSubjectsBounds=function(e,t){if(t){var n="function"==typeof t?t(this.primary.prop):t;this.subjectsBounds=e.merge({layer:Mu({},e.layer,n)})}else this.subjectsBounds=e},t.getLayerBounds=function(e){if(void 0===e&&(e=0),this._cachedLayerBounds&&0===e)return this._cachedLayerBounds;var t=this.primary,n=this.secondary,r=this.subjectsBounds,o=r.trigger,i=r.layer,a=r.arrow,c=t.isHorizontal,l=t.oppositeCssProp,s=t.oppositeSizeProp,u=t.prop,d=t.opposite,p=ud.empty();p[d.prop]=o[u]-t.factor(this.offsets.trigger),p[u]=p[d.prop]-t.factor(i[t.sizeProp]);var f=2*this.offsets.arrow,m=o[l]-(i[s]-a[s])+f,h=o[l]+(o[s]-a[s])-f;if(n.isPush||(m+=i[s],h+=i[s]),n.isCenter){var g=(c?td.top:td.left).prop,v=(c?td.bottom:td.right).prop;p[g]=$u(o[g]+o[s]/2-i[s]/2+e,m,h),p[v]=p[g]+i[s]}else{var y=n,b=o[y.prop],w=b<m?m-b:b>h?h-b:0;p[y.prop]=$u(b+e+w,m,h),p[y.opposite.prop]=p[y.prop]+n.factor(i[s])}p.width=p.right-p.left,p.height=p.bottom-p.top;var x=ud.create(p);return 0===e&&(this._cachedLayerBounds=x),x},t.getLayerCollisionBounds=function(){var e=this.offsets.container;return this.getLayerBounds().mapSides((function(t,n){return n-t.factor(e)})).merge((function(t){var n=t.width,r=t.height;return{width:n+2*e,height:r+2*e}}))},t.getContainerOffsets=function(e){if(this._cachedContainerOffsets&&!e)return this._cachedContainerOffsets;var t=this.subjectsBounds.merge({layer:e||this.getLayerCollisionBounds()}),n=od.mergeSmallestSides(t.layerOffsetsToScrollContainers);return e||(this._cachedContainerOffsets=n),n},Ru(e,[{key:"type",get:function(){return this.primary.prop+"-"+("center"===this.secondary.prop?"center":["bottom","right"].includes(this.secondary.prop)?"end":"start")}},{key:"triggerIsBigger",get:function(){var e=this.secondary.isHorizontal,t=this.subjectsBounds,n=t.triggerHasBiggerWidth,r=t.triggerHasBiggerHeight;return e&&n||!e&&r}},{key:"fitsContainer",get:function(){return this.getContainerOffsets().allSidesArePositive}},{key:"visibleSurface",get:function(){var e=this.getLayerBounds(),t=this.getContainerOffsets(e).negativeSides;for(var n in t)t[n]=-t[n];return e.substract(t).surface}},{key:"secondaryOffsetSide",get:function(){var e,t,n=this,r=this.getContainerOffsets(),o=null!=(e=null==(t=Object.entries(r.negativeSides).map((function(e){var t=e[0],n=e[1];return[td[t],n]})).filter((function(e){var t=e[0];return n.primary.isOppositeDirection(t)})).sort((function(e,t){var n=e[1];return t[1]-n})))?void 0:t[0])?e:[];return o[0]||null}}]),e}(),pd=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,Fu(t,n),r.prototype.getLayerBounds=function(){var e=this.subjectsBounds,t=e.trigger,n=e.layer,r=ud.empty();return r.top=t.top+t.height/2-n.height/2,r.bottom=r.top+n.height,r.left=t.left+t.width/2-n.width/2,r.right=r.left+n.width,r.width=r.right-r.left,r.height=r.bottom-r.top,r},r}(dd),fd={position:"absolute",willChange:"top, left",left:null,right:null,top:null,bottom:null},md=function(){function e(e,t,n){this.placements=void 0,this.config=void 0,this.subjectsBounds=void 0,this.placements=e,this.config=t,this.subjectsBounds=n}e.getSidesFromPlacementType=function(e){var t=e.split("-"),n=t[0],r=t[1],o=td[n];return[o,"center"===r?nd.center:o.isHorizontal?"start"===r?nd.top:nd.bottom:"start"===r?nd.left:nd.right]},e.create=function(t,n){var r={arrow:n.arrowOffset,container:n.containerOffset,trigger:n.triggerOffset};function o(o){void 0===o&&(o=n.placement);var i=e.getSidesFromPlacementType(o),a=i[0],c=i[1],l=td[a.isHorizontal?n.preferY:n.preferX],s=!a.isHorizontal&&t.triggerHasBiggerWidth||a.isHorizontal&&t.triggerHasBiggerHeight;function u(e,o){return new dd(e,o,t,n.layerDimensions,r)}var d=[];return d[0]=u(a,c),d[1]=u(a,c.isCenter?l:nd.center),d[2]=u(a,nd[(c.opposite.isCenter?l.opposite:c.opposite).prop]),d[3]=u(l,s?a:nd[a.opposite.prop]),d[4]=u(l,nd.center),d[5]=u(l,s?nd[a.opposite.prop]:a),d[6]=u(td[l.opposite.prop],s?a:nd[a.opposite.prop]),d[7]=u(td[l.opposite.prop],nd.center),d[8]=u(td[l.opposite.prop],s?nd[a.opposite.prop]:a),d[9]=u(td[a.opposite.prop],c),d[10]=u(td[a.opposite.prop],c.isCenter?l:nd.center),d[11]=u(td[a.opposite.prop],nd[(c.opposite.isCenter?l.opposite:c.opposite).prop]),d.filter((function(e){return e.type===n.placement||n.possiblePlacements.includes(e.type)}))}return"center"===n.placement?new e([new pd(nd.center,nd.center,t,n.layerDimensions,r)].concat(o(n.preferY+"-"+n.preferX)),n,t):new e(o(),n,t)};var t=e.prototype;return t.filterPlacementsBySide=function(e){return this.placements.filter((function(t){return t.primary===e}))},t.findFirstPlacementThatFits=function(){return this.placements.find((function(e){return e.fitsContainer}))},t.placementWithBiggestVisibleSurface=function(){var e=this.placements.map((function(e){return{placement:e,surface:e.visibleSurface}})).sort((function(e,t){return t.surface-e.surface}));return e[0].placement},t.findSuitablePlacement=function(){return this.config.auto?this.findFirstPlacementThatFits()||this.placementWithBiggestVisibleSurface():this.placements[0]},t.getSecondaryOffset=function(e){var t=this.config,n=t.auto,r=t.snap;if(!n||r||e instanceof pd)return 0;var o=this.filterPlacementsBySide(e.primary);if(0===o.indexOf(e)&&e.fitsContainer)return 0;var i=o.find((function(e){return!e.fitsContainer}));if(!i)return 0;var a=i.secondaryOffsetSide;if(!a)return 0;var c,l=e.getContainerOffsets(),s=e.secondary;return c=e.triggerIsBigger||i===e?a.isPush?-1:1:s===nd.left||[nd.top,nd.center].includes(s)&&a.isPush?-1:1,l[a.prop]*c},t.getStyles=function(e,t,n,r){var o={willChange:"top, left, width, height"},i=function(e,t,n){var r;if(t.primary.isCenter)return fd;var o=e.layer,i=e.trigger,a=e.arrow,c=t.primary.oppositeSizeProp,l=i[c]>o[c],s=n+a[c]/2,u=o[c]-a[c]/2-n,d=function(e,t,n){var r=e.layer,o=e.trigger,i=e.arrow,a=t.primary.oppositeSizeProp,c=t.primary.isHorizontal?["top","bottom"]:["left","right"],l=c[0],s=c[1],u=r[l]+r[a]/2-o[l]-i[a]/2-n,d=r[s]-r[a]/2-o[s]+i[a]/2+n;return(u<0?-u:0)+(d>0?-d:0)}(e,t,n),p=t.primary.prop,f=t.primary.oppositeCssProp,m=l?o[c]/2+d:i[f]+i[c]/2-o[f];return Mu({},fd,((r={})[p]="100%",r[f]=$u(m,s,u),r))}(this.subjectsBounds.merge({layer:e}),t,this.config.arrowOffset);return{arrow:i,layer:this.config.overflowContainer?Mu({},o,{position:"fixed",top:e.top,left:e.left}):Mu({},o,{position:"absolute",top:e.top-this.subjectsBounds.parent.top+n.top-r.top,left:e.left-this.subjectsBounds.parent.left+n.left-r.left})}},t.getHasDisappeared=function(e){var t=this.config.overflowContainer?this.subjectsBounds.trigger:e,n=od.mergeSmallestSides(this.subjectsBounds.offsetsToScrollContainers(t,!0));return Object.entries(n.negativeSides).some((function(e){var n=e[0];return e[1]<=-t[td[n].sizeProp]}))?"full":n.allSidesArePositive?null:"partial"},t.result=function(e,t){var n=this.findSuitablePlacement(),r=this.getSecondaryOffset(n),o=n.getLayerBounds(r);return{styles:this.getStyles(o,n,e,t),layerSide:n.primary.prop,placement:n,layerBounds:o,hasDisappeared:this.getHasDisappeared(o)}},e}(),hd=function(){function e(e,t){this.overflowContainer=void 0,this.trigger=void 0,this.layer=void 0,this.arrow=void 0,this.parent=void 0,this.window=void 0,this.scrollContainers=void 0,this.overflowContainer=t,Object.assign(this,e)}e.create=function(t,n,r,o,i,a,c,l){var s=ud.fromWindow(t);return new e({layer:ud.fromElement(n,{environment:t,withTransform:!1}),trigger:l?ud.create(ad(l())):ud.fromElement(r),arrow:i?ud.fromElement(i):ud.empty(),parent:o?ud.fromElement(o):s,window:s,scrollContainers:[s].concat(a.map((function(e){return ud.fromElement(e,{withScrollbars:!1})})))},c)};var t=e.prototype;return t.merge=function(t){return new e(Mu({},this,t),this.overflowContainer)},t.offsetsToScrollContainers=function(e,t){return void 0===t&&(t=!1),(this.overflowContainer&&!t?[this.window]:this.scrollContainers).map((function(t){return t.offsetsTo(e)}))},Ru(e,[{key:"layerOffsetsToScrollContainers",get:function(){return this.offsetsToScrollContainers(this.layer)}},{key:"triggerHasBiggerWidth",get:function(){return this.trigger.width>this.layer.width}},{key:"triggerHasBiggerHeight",get:function(){return this.trigger.height>this.layer.height}}]),e}(),gd={auto:!1,arrowOffset:0,containerOffset:10,triggerOffset:0,overflowContainer:!0,placement:"top-center",possiblePlacements:["bottom-start","bottom-end","bottom-center","top-start","top-center","top-end","left-end","left-center","left-start","right-end","right-center","right-start","center"],preferX:"right",preferY:"bottom",snap:!1,container:void 0,trigger:void 0};function vd(e){var t,n=e.isOpen,o=void 0!==n&&n,l=e.overflowContainer,d=void 0===l?gd.overflowContainer:l,p=e.environment,f=void 0===p?"undefined"!=typeof window?window:void 0:p,m=e.ResizeObserver,h=e.placement,v=void 0===h?gd.placement:h,y=e.possiblePlacements,b=void 0===y?gd.possiblePlacements:y,w=e.preferX,x=void 0===w?gd.preferX:w,E=e.preferY,C=void 0===E?gd.preferY:E,k=e.auto,S=void 0===k?gd.auto:k,_=e.snap,I=void 0===_?gd.snap:_,B=e.triggerOffset,T=void 0===B?gd.triggerOffset:B,N=e.containerOffset,D=void 0===N?gd.containerOffset:N,z=e.arrowOffset,P=void 0===z?gd.arrowOffset:z,O=e.container,A=void 0===O?gd.container:O,R=e.layerDimensions,M=void 0===R?null:R,F=e.onDisappear,L=e.onOutsideClick,j=e.onParentClose,H=e.trigger,U=r((function(){return{layerSide:"center"===v?"center":md.getSidesFromPlacementType(v)[0].prop,styles:{layer:{position:d?"fixed":"absolute",top:0,left:0},arrow:{position:"absolute",top:0,left:0}}}})),V=U[0],$=U[1],W=c(null),Y=function(e,t){var n=c(e);return t?(n.current=e,n):(n.current=null,n)}(V,o),q=c(null);a((function(){return function(){q.current&&(cancelAnimationFrame(q.current),q.current=null)}}),[]);var G=u((function(e,t,n){var r=e.arrow,o=e.layer,i=e.scrollContainers,a=e.trigger,c=i[0],l=hd.create(f,o,a,c,r,i,d,null==H?void 0:H.getBounds),s={placement:v,possiblePlacements:b,auto:S,layerDimensions:M,arrowOffset:P,containerOffset:D,triggerOffset:T,preferX:x,preferY:C,snap:I,overflowContainer:d},u=md.create(l,s).result(t,n),p=u.hasDisappeared,m={layerSide:u.layerSide,styles:u.styles};Y.current&&!function(e,t){if(e.layerSide!==t.layerSide)return!0;for(var n=0,r=["position","top","left","right","bottom"];n<r.length;n++){var o=r[n];if(e.styles.layer[o]!==t.styles.layer[o]||e.styles.arrow[o]!==t.styles.arrow[o])return!0}return!1}(Y.current,m)||(Y.current=m,q.current&&cancelAnimationFrame(q.current),q.current=requestAnimationFrame((function(){$(m),q.current=null}))),Wu(p)&&Wu(F)&&F(p)}),[P,S,D,f,M,F,d,v,b,x,C,I,T,Y,H]),X=Xu({ResizeObserverPolyfill:m,environment:f,enabled:o,overflowContainer:d,onChange:G,triggerOption:H}),K=X.triggerRef,Z=X.layerRef,J=X.arrowRef,Q=X.closestScrollContainer,ee=function(e){var t=e.isOpen,n=e.onOutsideClick,r=e.onParentClose,o=c(null),l=c(null),s=c(new Set),d=i(Ku),p=u((function(e){var t=e.target,n=o.current&&o.current.contains(t),r=l.current&&l.current.contains(t),i=function(e,t){for(var n,r=ju(e);!(n=r()).done;)if(!(0,n.value.shouldCloseWhenClickedOutside)(t))return!1;return!0}(s.current,e);return r&&i&&s.current.forEach((function(e){return(0,e.closeChild)()})),!n&&!r&&i}),[o,l,s]);return a((function(){if("function"==typeof d)return d({shouldCloseWhenClickedOutside:p,closeChild:function(){r&&r()}})}),[d,p,r,s]),a((function(){if(t&&n&&"function"!=typeof d)return document.addEventListener("click",e,!0),function(){return document.removeEventListener("click",e,!0)};function e(e){p(e)&&n()}}),[t,n,p,d]),a((function(){t||s.current.forEach((function(e){return(0,e.closeChild)()}))}),[t]),{closeOnOutsideClickRefs:{trigger:o,layer:l},registrations:s}}({isOpen:o,onOutsideClick:L,onParentClose:j}),te=ee.closeOnOutsideClickRefs,ne=ee.registrations,re={triggerProps:Boolean(H)?{}:{ref:Yu(K,te.trigger,W)},layerProps:{ref:Yu(Z,te.layer),style:V.styles.layer},arrowProps:{ref:J,style:V.styles.arrow,layerSide:V.layerSide},layerSide:V.layerSide,triggerBounds:o?H?H.getBounds():null==(t=W.current)?void 0:t.getBoundingClientRect():null,renderLayer:function(e){return"undefined"!=typeof document?g(s(Zu,{registrations:ne,children:e}),d||!Q?function(e){var t;if("function"==typeof e){if(!((t=e())&&t instanceof HTMLElement))throw new Error("react-laag: You've passed a function to the 'container' prop, but it returned no valid HTMLElement")}else if(e instanceof HTMLElement)t=e;else if("string"==typeof e){if(!(t=document.getElementById(e)))throw new Error("react-laag: You've passed element with id '"+e+"' to the 'container' prop, but it returned no valid HTMLElement")}else{if(null instanceof HTMLElement)return null;(t=document.getElementById("layers"))||((t=document.createElement("div")).id="layers",t.style.cssText="\n position: absolute;\n top: 0px;\n left: 0px;\n right: 0px;\n ",document.body.appendChild(t))}return t}(A):Q):null}};return re}(ld=cd||(cd={}))[ld.ENTERING=0]="ENTERING",ld[ld.LEAVING=1]="LEAVING",ld[ld.IDLE=2]="IDLE";let yd=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce(((e,t)=>e+((t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_")),"");function bd(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function wd(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function xd(e){wd(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function Ed(e,t){wd(2,arguments);var n=xd(e).getTime(),r=bd(t);return new Date(n+r)}function Cd(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function kd(e){return wd(1,arguments),e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function Sd(e){if(wd(1,arguments),!kd(e)&&"number"!=typeof e)return!1;var t=xd(e);return!isNaN(Number(t))}var _d={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Id(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var Bd={date:Id({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Id({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Id({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Td={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Nd(e){return function(t,n){var r,o=n||{};if("formatting"===(o.context?String(o.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=o.width?String(o.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var c=e.defaultWidth,l=o.width?String(o.width):e.defaultWidth;r=e.values[l]||e.values[c]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function Dd(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a,c=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?Pd(l,(function(e){return e.test(c)})):zd(l,(function(e){return e.test(c)}));a=e.valueCallback?e.valueCallback(s):s,a=n.valueCallback?n.valueCallback(a):a;var u=t.slice(c.length);return{value:a,rest:u}}}function zd(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function Pd(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}var Od,Ad={code:"en-US",formatDistance:function(e,t,n){var r,o=_d[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:Bd,formatRelative:function(e,t,n,r){return Td[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Nd({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Nd({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Nd({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Nd({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Nd({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(Od={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(Od.matchPattern);if(!n)return null;var r=n[0],o=e.match(Od.parsePattern);if(!o)return null;var i=Od.valueCallback?Od.valueCallback(o[0]):o[0];i=t.valueCallback?t.valueCallback(i):i;var a=e.slice(r.length);return{value:i,rest:a}}),era:Dd({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Dd({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Dd({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Dd({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Dd({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function Rd(e,t){wd(2,arguments);var n=bd(t);return Ed(e,-n)}function Md(e){wd(1,arguments);var t=1,n=xd(e),r=n.getUTCDay(),o=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-o),n.setUTCHours(0,0,0,0),n}function Fd(e){wd(1,arguments);var t=xd(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var o=Md(r),i=new Date(0);i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0);var a=Md(i);return t.getTime()>=o.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function Ld(e){wd(1,arguments);var t=Fd(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=Md(n);return r}function jd(e,t){wd(1,arguments);var n=t||{},r=n.locale,o=r&&r.options&&r.options.weekStartsOn,i=null==o?0:bd(o),a=null==n.weekStartsOn?i:bd(n.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=xd(e),l=c.getUTCDay(),s=(l<a?7:0)+l-a;return c.setUTCDate(c.getUTCDate()-s),c.setUTCHours(0,0,0,0),c}function Hd(e,t){wd(1,arguments);var n=xd(e),r=n.getUTCFullYear(),o=t||{},i=o.locale,a=i&&i.options&&i.options.firstWeekContainsDate,c=null==a?1:bd(a),l=null==o.firstWeekContainsDate?c:bd(o.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var s=new Date(0);s.setUTCFullYear(r+1,0,l),s.setUTCHours(0,0,0,0);var u=jd(s,t),d=new Date(0);d.setUTCFullYear(r,0,l),d.setUTCHours(0,0,0,0);var p=jd(d,t);return n.getTime()>=u.getTime()?r+1:n.getTime()>=p.getTime()?r:r-1}function Ud(e,t){wd(1,arguments);var n=t||{},r=n.locale,o=r&&r.options&&r.options.firstWeekContainsDate,i=null==o?1:bd(o),a=null==n.firstWeekContainsDate?i:bd(n.firstWeekContainsDate),c=Hd(e,t),l=new Date(0);l.setUTCFullYear(c,0,a),l.setUTCHours(0,0,0,0);var s=jd(l,t);return s}function Vd(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var $d={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return Vd("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):Vd(n+1,2)},d:function(e,t){return Vd(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return Vd(e.getUTCHours()%12||12,t.length)},H:function(e,t){return Vd(e.getUTCHours(),t.length)},m:function(e,t){return Vd(e.getUTCMinutes(),t.length)},s:function(e,t){return Vd(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return Vd(Math.floor(r*Math.pow(10,n-3)),t.length)}},Wd=$d,Yd={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return Wd.y(e,t)},Y:function(e,t,n,r){var o=Hd(e,r),i=o>0?o:1-o;return"YY"===t?Vd(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):Vd(i,t.length)},R:function(e,t){return Vd(Fd(e),t.length)},u:function(e,t){return Vd(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Vd(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Vd(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return Wd.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return Vd(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=function(e,t){wd(1,arguments);var n=xd(e),r=jd(n,t).getTime()-Ud(n,t).getTime();return Math.round(r/6048e5)+1}(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):Vd(o,t.length)},I:function(e,t,n){var r=function(e){wd(1,arguments);var t=xd(e),n=Md(t).getTime()-Ld(t).getTime();return Math.round(n/6048e5)+1}(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):Vd(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):Wd.d(e,t)},D:function(e,t,n){var r=function(e){wd(1,arguments);var t=xd(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),o=n-r;return Math.floor(o/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):Vd(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return Vd(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return Vd(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return Vd(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Wd.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Wd.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):Vd(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):Vd(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Wd.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Wd.s(e,t)},S:function(e,t){return Wd.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return Gd(o);case"XXXX":case"XX":return Xd(o);default:return Xd(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return Gd(o);case"xxxx":case"xx":return Xd(o);default:return Xd(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+qd(o,":");default:return"GMT"+Xd(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+qd(o,":");default:return"GMT"+Xd(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return Vd(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return Vd((r._originalDate||e).getTime(),t.length)}};function qd(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;if(0===i)return n+String(o);var a=t||"";return n+String(o)+a+Vd(i,2)}function Gd(e,t){return e%60==0?(e>0?"-":"+")+Vd(Math.abs(e)/60,2):Xd(e,t)}function Xd(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+Vd(Math.floor(o/60),2)+n+Vd(o%60,2)}var Kd=Yd;function Zd(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function Jd(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}var Qd={p:Jd,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],o=r[1],i=r[2];if(!i)return Zd(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",Zd(o,t)).replace("{{time}}",Jd(i,t))}},ep=Qd,tp=["D","DD"],np=["YY","YYYY"];function rp(e){return-1!==tp.indexOf(e)}function op(e){return-1!==np.indexOf(e)}function ip(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var ap,cp,lp,sp,up,dp,pp,fp,mp,hp,gp,vp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,yp=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,bp=/^'([^]*?)'?$/,wp=/''/g,xp=/[a-zA-Z]/;function Ep(e){return e.match(bp)[1].replace(wp,"'")}!function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"}(ap||(ap={})),function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(cp||(cp={})),function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(lp||(lp={})),function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(sp||(sp={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(up||(up={})),function(e){e[e.RightClick=2]="RightClick"}(dp||(dp={})),function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(pp||(pp={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(fp||(fp={})),function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(mp||(mp={})),function(e){e.Optimized="optimized"}(hp||(hp={})),function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(gp||(gp={}));var Cp={exports:{}};
|
|
22
22
|
/*!
|
|
23
23
|
Copyright (c) 2018 Jed Watson.
|
|
24
24
|
Licensed under the MIT License (MIT), see
|
|
25
25
|
http://jedwatson.github.io/classnames
|
|
26
|
-
*/!function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)){if(o.length){var a=n.apply(null,o);a&&e.push(a)}}else if("object"===i){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){e.push(o.toString());continue}for(var c in o)t.call(o,c)&&o[c]&&e.push(c)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}(Td);var Nd=Td.exports,zd=!1;if("undefined"!=typeof window){var Dd={get passive(){zd=!0}};window.addEventListener("testPassive",null,Dd),window.removeEventListener("testPassive",null,Dd)}var Pd="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),Od=[],Ad=!1,Rd=-1,Fd=void 0,Ld=void 0,Md=function(e){return Od.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},jd=function(e){var t=e||window.event;return!!Md(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)};function Hd(){return Hd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hd.apply(this,arguments)}var Ud=function(e){var n=e.classes,r=e.classNames,o=e.styles,i=e.id,a=e.closeIcon,c=e.onClick;return t.createElement("button",{id:i,className:Nd(n.closeButton,null==r?void 0:r.closeButton),style:null==o?void 0:o.closeButton,onClick:c,"data-testid":"close-button"},a||t.createElement("svg",{className:null==r?void 0:r.closeIcon,style:null==o?void 0:o.closeIcon,width:28,height:28,viewBox:"0 0 36 36","data-testid":"close-icon"},t.createElement("path",{d:"M28.5 9.62L26.38 7.5 18 15.88 9.62 7.5 7.5 9.62 15.88 18 7.5 26.38l2.12 2.12L18 20.12l8.38 8.38 2.12-2.12L20.12 18z"})))},Vd="undefined"!=typeof window,$d=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'];function Wd(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}function Gd(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!0;var t=(e.form||e.ownerDocument).querySelectorAll('input[type="radio"][name="'+e.name+'"]'),n=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return n===e||void 0===n&&t[0]===e}function qd(e){for(var t=document.activeElement,n=e.querySelectorAll($d.join(",")),r=[],o=0;o<n.length;o++){var i=n[o];(t===i||!i.disabled&&Yd(i)>-1&&!Wd(i)&&Gd(i))&&r.push(i)}return r}function Yd(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return e.getAttribute("contentEditable")}(e)?0:e.tabIndex:t}var Kd=function(e){var t=e.container,n=e.initialFocusRef,r=c();return a((function(){var e=function(e){(null==t?void 0:t.current)&&function(e,t){if(e&&"Tab"===e.key){if(!t||!t.contains)return process,!1;if(!t.contains(e.target))return!1;var n=qd(t),r=n[0],o=n[n.length-1];e.shiftKey&&e.target===r?(o.focus(),e.preventDefault()):!e.shiftKey&&e.target===o&&(r.focus(),e.preventDefault())}}(e,t.current)};if(Vd&&document.addEventListener("keydown",e),Vd&&(null==t?void 0:t.current)){var o=function(){-1!==$d.findIndex((function(e){var t;return null==(t=document.activeElement)?void 0:t.matches(e)}))&&(r.current=document.activeElement)};if(n)o(),requestAnimationFrame((function(){var e;null==(e=n.current)||e.focus()}));else{var i=qd(t.current);i[0]&&(o(),i[0].focus())}}return function(){var t;Vd&&(document.removeEventListener("keydown",e),null==(t=r.current)||t.focus())}}),[t,n]),null},Xd=[],Zd={root:"react-responsive-modal-root",overlay:"react-responsive-modal-overlay",overlayAnimationIn:"react-responsive-modal-overlay-in",overlayAnimationOut:"react-responsive-modal-overlay-out",modalContainer:"react-responsive-modal-container",modalContainerCenter:"react-responsive-modal-containerCenter",modal:"react-responsive-modal-modal",modalAnimationIn:"react-responsive-modal-modal-in",modalAnimationOut:"react-responsive-modal-modal-out",closeButton:"react-responsive-modal-closeButton"},Jd=t.forwardRef((function(e,n){var o,i,l,s,u=e.open,d=e.center,p=e.blockScroll,f=void 0===p||p,m=e.closeOnEsc,g=void 0===m||m,v=e.closeOnOverlayClick,y=void 0===v||v,b=e.container,w=e.showCloseIcon,x=void 0===w||w,E=e.closeIconId,C=e.closeIcon,k=e.focusTrapped,S=void 0===k||k,_=e.initialFocusRef,I=void 0===_?void 0:_,B=e.animationDuration,T=void 0===B?300:B,N=e.classNames,z=e.styles,D=e.role,P=void 0===D?"dialog":D,O=e.ariaDescribedby,A=e.ariaLabelledby,R=e.modalId,F=e.onClose,L=e.onEscKeyDown,M=e.onOverlayClick,j=e.onAnimationEnd,H=e.children,U=e.reserveScrollBarGap,V=function(e,n={isStateful:!0}){const r=function(e=null){let[n,r]=t.useState(e);const{current:o}=t.useRef({current:n});return Object.defineProperty(o,"current",{get:()=>n,set:e=>{Object.is(n,e)||(n=e,r(e))}}),o}(null),o=c(null),i=n.isStateful?r:o;return t.useEffect((()=>{!e||("function"==typeof e?e(i.current):e.current=i.current)})),i}(n),$=c(null),W=c(null),G=c(null);null===G.current&&Vd&&(G.current=document.createElement("div"));var q=r(!1),Y=q[0],K=q[1];!function(e,t){a((function(){return t&&(n=e,Xd.push(n)),function(){var t;t=e,Xd=Xd.filter((function(e){return e!==t}))};var n}),[t,e])}($,u),function(e,t,n,r,o){var i=c(null);a((function(){return t&&e.current&&r&&(i.current=e.current,function(e,t){if(e){if(!Od.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};Od=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(Od),[n]),Pd?(e.ontouchstart=function(e){1===e.targetTouches.length&&(Rd=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-Rd;!Md(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?jd(e):e.stopPropagation())}(t,e)},Ad||(document.addEventListener("touchmove",jd,zd?{passive:!1}:void 0),Ad=!0)):function(e){if(void 0===Ld){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(Ld=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===Fd&&(Fd=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")}(e.current,{reserveScrollBarGap:o})),function(){var e;i.current&&((e=i.current)?(Od=Od.filter((function(t){return t.targetElement!==e})),Pd?(e.ontouchstart=null,e.ontouchmove=null,Ad&&0===Od.length&&(document.removeEventListener("touchmove",jd,zd?{passive:!1}:void 0),Ad=!1)):Od.length||(void 0!==Ld&&(document.body.style.paddingRight=Ld,Ld=void 0),void 0!==Fd&&(document.body.style.overflow=Fd,Fd=void 0))):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices."),i.current=null)}}),[t,n,e,r,o])}($,u,Y,f,U);var X=function(e){var t;27===e.keyCode&&(t=$,Xd.length&&Xd[Xd.length-1]===t)&&(null==L||L(e),g&&F())};a((function(){return function(){Y&&(G.current&&!b&&document.body.contains(G.current)&&document.body.removeChild(G.current),document.removeEventListener("keydown",X))}}),[Y]),a((function(){u&&!Y&&(K(!0),!G.current||b||document.body.contains(G.current)||document.body.appendChild(G.current),document.addEventListener("keydown",X))}),[u]);var Z=function(){W.current=!1},J=b||G.current,Q=u?null!=(o=null==N?void 0:N.overlayAnimationIn)?o:Zd.overlayAnimationIn:null!=(i=null==N?void 0:N.overlayAnimationOut)?i:Zd.overlayAnimationOut,ee=u?null!=(l=null==N?void 0:N.modalAnimationIn)?l:Zd.modalAnimationIn:null!=(s=null==N?void 0:N.modalAnimationOut)?s:Zd.modalAnimationOut;return Y&&J?h.createPortal(t.createElement("div",{className:Nd(Zd.root,null==N?void 0:N.root),style:null==z?void 0:z.root,"data-testid":"root"},t.createElement("div",{className:Nd(Zd.overlay,null==N?void 0:N.overlay),"data-testid":"overlay","aria-hidden":!0,style:Hd({animation:Q+" "+T+"ms"},null==z?void 0:z.overlay)}),t.createElement("div",{ref:$,className:Nd(Zd.modalContainer,d&&Zd.modalContainerCenter,null==N?void 0:N.modalContainer),style:null==z?void 0:z.modalContainer,"data-testid":"modal-container",onClick:function(e){null===W.current&&(W.current=!0),W.current?(null==M||M(e),y&&F(),W.current=null):W.current=null}},t.createElement("div",{ref:V,className:Nd(Zd.modal,null==N?void 0:N.modal),style:Hd({animation:ee+" "+T+"ms"},null==z?void 0:z.modal),onMouseDown:Z,onMouseUp:Z,onClick:Z,onAnimationEnd:function(){u||K(!1),null==j||j()},id:R,role:P,"aria-modal":"true","aria-labelledby":A,"aria-describedby":O,"data-testid":"modal",tabIndex:-1},S&&t.createElement(Kd,{container:V,initialFocusRef:I}),H,x&&t.createElement(Ud,{classes:Zd,classNames:N,styles:z,closeIcon:C,onClick:F,id:E})))),J):null}));let Qd,ep,tp,np={data:""},rp=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||np,op=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,ip=/\/\*[^]*?\*\/| +/g,ap=/\n+/g,cp=(e,t)=>{let n="",r="",o="";for(let i in e){let a=e[i];"@"==i[0]?"i"==i[1]?n=i+" "+a+";":r+="f"==i[1]?cp(a,i):i+"{"+cp(a,"k"==i[1]?"":t)+"}":"object"==typeof a?r+=cp(a,t?t.replace(/([^,])+/g,(e=>i.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):i):null!=a&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=cp.p?cp.p(i,a):i+":"+a+";")}return n+(t&&o?t+"{"+o+"}":o)+r},lp={},sp=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+sp(e[n]);return t}return e},up=(e,t,n,r,o)=>{let i=sp(e),a=lp[i]||(lp[i]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(i));if(!lp[a]){let t=i!==e?e:(e=>{let t,n,r=[{}];for(;t=op.exec(e.replace(ip,""));)t[4]?r.shift():t[3]?(n=t[3].replace(ap," ").trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(ap," ").trim();return r[0]})(e);lp[a]=cp(o?{["@keyframes "+a]:t}:t,n?"":"."+a)}let c=n&&lp.g?lp.g:null;return n&&(lp.g=lp[a]),((e,t,n,r)=>{r?t.data=t.data.replace(r,e):-1===t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(lp[a],t,r,c),a},dp=(e,t,n)=>e.reduce(((e,r,o)=>{let i=t[o];if(i&&i.call){let e=i(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;i=t?"."+t:e&&"object"==typeof e?e.props?"":cp(e,""):!1===e?"":e}return e+r+(null==i?"":i)}),"");function pp(e){let t=this||{},n=e.call?e(t.p):e;return up(n.unshift?n.raw?dp(n,[].slice.call(arguments,1),t.p):n.reduce(((e,n)=>Object.assign(e,n&&n.call?n(t.p):n)),{}):n,rp(t.target),t.g,t.o,t.k)}pp.bind({g:1});let fp=pp.bind({k:1});function mp(e,t){let n=this||{};return function(){let r=arguments;function o(i,a){let c=Object.assign({},i),l=c.className||o.className;n.p=Object.assign({theme:ep&&ep()},c),n.o=/ *go\d+/.test(l),c.className=pp.apply(n,r)+(l?" "+l:""),t&&(c.ref=a);let s=e;return e[0]&&(s=c.as||e,delete c.as),tp&&s[0]&&tp(c),Qd(s,c)}return t?t(o):o}}var hp=(e,t)=>(e=>"function"==typeof e)(e)?e(t):e,gp=(()=>{let e=0;return()=>(++e).toString()})(),vp=new Map,yp=e=>{if(vp.has(e))return;let t=setTimeout((()=>{vp.delete(e),Ep({type:4,toastId:e})}),1e3);vp.set(e,t)},bp=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,20)};case 1:return t.toast.id&&(e=>{let t=vp.get(e);t&&clearTimeout(t)})(t.toast.id),{...e,toasts:e.toasts.map((e=>e.id===t.toast.id?{...e,...t.toast}:e))};case 2:let{toast:n}=t;return e.toasts.find((e=>e.id===n.id))?bp(e,{type:1,toast:n}):bp(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?yp(r):e.toasts.forEach((e=>{yp(e.id)})),{...e,toasts:e.toasts.map((e=>e.id===r||void 0===r?{...e,visible:!1}:e))};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter((e=>e.id!==t.toastId))};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map((e=>({...e,pauseDuration:e.pauseDuration+o})))}}},wp=[],xp={toasts:[],pausedAt:void 0},Ep=e=>{xp=bp(xp,e),wp.forEach((e=>{e(xp)}))},Cp=e=>(t,n)=>{let r=((e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(null==n?void 0:n.id)||gp()}))(t,e,n);return Ep({type:2,toast:r}),r.id},kp=(e,t)=>Cp("blank")(e,t);kp.error=Cp("error"),kp.success=Cp("success"),kp.loading=Cp("loading"),kp.custom=Cp("custom"),kp.dismiss=e=>{Ep({type:3,toastId:e})},kp.remove=e=>Ep({type:4,toastId:e}),kp.promise=(e,t,n)=>{let r=kp.loading(t.loading,{...n,...null==n?void 0:n.loading});return e.then((e=>(kp.success(hp(t.success,e),{id:r,...n,...null==n?void 0:n.success}),e))).catch((e=>{kp.error(hp(t.error,e),{id:r,...n,...null==n?void 0:n.error})})),e};var Sp=fp`
|
|
26
|
+
*/!function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)){if(o.length){var a=n.apply(null,o);a&&e.push(a)}}else if("object"===i){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){e.push(o.toString());continue}for(var c in o)t.call(o,c)&&o[c]&&e.push(c)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}(Cp);var kp=Cp.exports,Sp=!1;if("undefined"!=typeof window){var _p={get passive(){Sp=!0}};window.addEventListener("testPassive",null,_p),window.removeEventListener("testPassive",null,_p)}var Ip="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),Bp=[],Tp=!1,Np=-1,Dp=void 0,zp=void 0,Pp=function(e){return Bp.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},Op=function(e){var t=e||window.event;return!!Pp(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)};function Ap(){return Ap=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ap.apply(this,arguments)}var Rp=function(e){var n=e.classes,r=e.classNames,o=e.styles,i=e.id,a=e.closeIcon,c=e.onClick;return t.createElement("button",{id:i,className:kp(n.closeButton,null==r?void 0:r.closeButton),style:null==o?void 0:o.closeButton,onClick:c,"data-testid":"close-button"},a||t.createElement("svg",{className:null==r?void 0:r.closeIcon,style:null==o?void 0:o.closeIcon,width:28,height:28,viewBox:"0 0 36 36","data-testid":"close-icon"},t.createElement("path",{d:"M28.5 9.62L26.38 7.5 18 15.88 9.62 7.5 7.5 9.62 15.88 18 7.5 26.38l2.12 2.12L18 20.12l8.38 8.38 2.12-2.12L20.12 18z"})))},Mp="undefined"!=typeof window,Fp=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'];function Lp(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}function jp(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!0;var t=(e.form||e.ownerDocument).querySelectorAll('input[type="radio"][name="'+e.name+'"]'),n=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return n===e||void 0===n&&t[0]===e}function Hp(e){for(var t=document.activeElement,n=e.querySelectorAll(Fp.join(",")),r=[],o=0;o<n.length;o++){var i=n[o];(t===i||!i.disabled&&Up(i)>-1&&!Lp(i)&&jp(i))&&r.push(i)}return r}function Up(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return e.getAttribute("contentEditable")}(e)?0:e.tabIndex:t}var Vp=function(e){var t=e.container,n=e.initialFocusRef,r=c();return a((function(){var e=function(e){(null==t?void 0:t.current)&&function(e,t){if(e&&"Tab"===e.key){if(!t||!t.contains)return process,!1;if(!t.contains(e.target))return!1;var n=Hp(t),r=n[0],o=n[n.length-1];e.shiftKey&&e.target===r?(o.focus(),e.preventDefault()):!e.shiftKey&&e.target===o&&(r.focus(),e.preventDefault())}}(e,t.current)};if(Mp&&document.addEventListener("keydown",e),Mp&&(null==t?void 0:t.current)){var o=function(){-1!==Fp.findIndex((function(e){var t;return null==(t=document.activeElement)?void 0:t.matches(e)}))&&(r.current=document.activeElement)};if(n)o(),requestAnimationFrame((function(){var e;null==(e=n.current)||e.focus()}));else{var i=Hp(t.current);i[0]&&(o(),i[0].focus())}}return function(){var t;Mp&&(document.removeEventListener("keydown",e),null==(t=r.current)||t.focus())}}),[t,n]),null},$p=[],Wp={root:"react-responsive-modal-root",overlay:"react-responsive-modal-overlay",overlayAnimationIn:"react-responsive-modal-overlay-in",overlayAnimationOut:"react-responsive-modal-overlay-out",modalContainer:"react-responsive-modal-container",modalContainerCenter:"react-responsive-modal-containerCenter",modal:"react-responsive-modal-modal",modalAnimationIn:"react-responsive-modal-modal-in",modalAnimationOut:"react-responsive-modal-modal-out",closeButton:"react-responsive-modal-closeButton"},Yp=t.forwardRef((function(e,n){var o,i,l,s,u=e.open,d=e.center,p=e.blockScroll,f=void 0===p||p,m=e.closeOnEsc,g=void 0===m||m,v=e.closeOnOverlayClick,y=void 0===v||v,b=e.container,w=e.showCloseIcon,x=void 0===w||w,E=e.closeIconId,C=e.closeIcon,k=e.focusTrapped,S=void 0===k||k,_=e.initialFocusRef,I=void 0===_?void 0:_,B=e.animationDuration,T=void 0===B?300:B,N=e.classNames,D=e.styles,z=e.role,P=void 0===z?"dialog":z,O=e.ariaDescribedby,A=e.ariaLabelledby,R=e.modalId,M=e.onClose,F=e.onEscKeyDown,L=e.onOverlayClick,j=e.onAnimationEnd,H=e.children,U=e.reserveScrollBarGap,V=function(e,n={isStateful:!0}){const r=function(e=null){let[n,r]=t.useState(e);const{current:o}=t.useRef({current:n});return Object.defineProperty(o,"current",{get:()=>n,set:e=>{Object.is(n,e)||(n=e,r(e))}}),o}(null),o=c(null),i=n.isStateful?r:o;return t.useEffect((()=>{!e||("function"==typeof e?e(i.current):e.current=i.current)})),i}(n),$=c(null),W=c(null),Y=c(null);null===Y.current&&Mp&&(Y.current=document.createElement("div"));var q=r(!1),G=q[0],X=q[1];!function(e,t){a((function(){return t&&(n=e,$p.push(n)),function(){var t;t=e,$p=$p.filter((function(e){return e!==t}))};var n}),[t,e])}($,u),function(e,t,n,r,o){var i=c(null);a((function(){return t&&e.current&&r&&(i.current=e.current,function(e,t){if(e){if(!Bp.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};Bp=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(Bp),[n]),Ip?(e.ontouchstart=function(e){1===e.targetTouches.length&&(Np=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-Np;!Pp(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?Op(e):e.stopPropagation())}(t,e)},Tp||(document.addEventListener("touchmove",Op,Sp?{passive:!1}:void 0),Tp=!0)):function(e){if(void 0===zp){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(zp=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===Dp&&(Dp=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")}(e.current,{reserveScrollBarGap:o})),function(){var e;i.current&&((e=i.current)?(Bp=Bp.filter((function(t){return t.targetElement!==e})),Ip?(e.ontouchstart=null,e.ontouchmove=null,Tp&&0===Bp.length&&(document.removeEventListener("touchmove",Op,Sp?{passive:!1}:void 0),Tp=!1)):Bp.length||(void 0!==zp&&(document.body.style.paddingRight=zp,zp=void 0),void 0!==Dp&&(document.body.style.overflow=Dp,Dp=void 0))):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices."),i.current=null)}}),[t,n,e,r,o])}($,u,G,f,U);var K=function(e){var t;27===e.keyCode&&(t=$,$p.length&&$p[$p.length-1]===t)&&(null==F||F(e),g&&M())};a((function(){return function(){G&&(Y.current&&!b&&document.body.contains(Y.current)&&document.body.removeChild(Y.current),document.removeEventListener("keydown",K))}}),[G]),a((function(){u&&!G&&(X(!0),!Y.current||b||document.body.contains(Y.current)||document.body.appendChild(Y.current),document.addEventListener("keydown",K))}),[u]);var Z=function(){W.current=!1},J=b||Y.current,Q=u?null!=(o=null==N?void 0:N.overlayAnimationIn)?o:Wp.overlayAnimationIn:null!=(i=null==N?void 0:N.overlayAnimationOut)?i:Wp.overlayAnimationOut,ee=u?null!=(l=null==N?void 0:N.modalAnimationIn)?l:Wp.modalAnimationIn:null!=(s=null==N?void 0:N.modalAnimationOut)?s:Wp.modalAnimationOut;return G&&J?h.createPortal(t.createElement("div",{className:kp(Wp.root,null==N?void 0:N.root),style:null==D?void 0:D.root,"data-testid":"root"},t.createElement("div",{className:kp(Wp.overlay,null==N?void 0:N.overlay),"data-testid":"overlay","aria-hidden":!0,style:Ap({animation:Q+" "+T+"ms"},null==D?void 0:D.overlay)}),t.createElement("div",{ref:$,className:kp(Wp.modalContainer,d&&Wp.modalContainerCenter,null==N?void 0:N.modalContainer),style:null==D?void 0:D.modalContainer,"data-testid":"modal-container",onClick:function(e){null===W.current&&(W.current=!0),W.current?(null==L||L(e),y&&M(),W.current=null):W.current=null}},t.createElement("div",{ref:V,className:kp(Wp.modal,null==N?void 0:N.modal),style:Ap({animation:ee+" "+T+"ms"},null==D?void 0:D.modal),onMouseDown:Z,onMouseUp:Z,onClick:Z,onAnimationEnd:function(){u||X(!1),null==j||j()},id:R,role:P,"aria-modal":"true","aria-labelledby":A,"aria-describedby":O,"data-testid":"modal",tabIndex:-1},S&&t.createElement(Vp,{container:V,initialFocusRef:I}),H,x&&t.createElement(Rp,{classes:Wp,classNames:N,styles:D,closeIcon:C,onClick:M,id:E})))),J):null}));let qp,Gp,Xp,Kp={data:""},Zp=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||Kp,Jp=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Qp=/\/\*[^]*?\*\/| +/g,ef=/\n+/g,tf=(e,t)=>{let n="",r="",o="";for(let i in e){let a=e[i];"@"==i[0]?"i"==i[1]?n=i+" "+a+";":r+="f"==i[1]?tf(a,i):i+"{"+tf(a,"k"==i[1]?"":t)+"}":"object"==typeof a?r+=tf(a,t?t.replace(/([^,])+/g,(e=>i.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):i):null!=a&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=tf.p?tf.p(i,a):i+":"+a+";")}return n+(t&&o?t+"{"+o+"}":o)+r},nf={},rf=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+rf(e[n]);return t}return e},of=(e,t,n,r,o)=>{let i=rf(e),a=nf[i]||(nf[i]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(i));if(!nf[a]){let t=i!==e?e:(e=>{let t,n,r=[{}];for(;t=Jp.exec(e.replace(Qp,""));)t[4]?r.shift():t[3]?(n=t[3].replace(ef," ").trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(ef," ").trim();return r[0]})(e);nf[a]=tf(o?{["@keyframes "+a]:t}:t,n?"":"."+a)}let c=n&&nf.g?nf.g:null;return n&&(nf.g=nf[a]),((e,t,n,r)=>{r?t.data=t.data.replace(r,e):-1===t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)})(nf[a],t,r,c),a},af=(e,t,n)=>e.reduce(((e,r,o)=>{let i=t[o];if(i&&i.call){let e=i(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;i=t?"."+t:e&&"object"==typeof e?e.props?"":tf(e,""):!1===e?"":e}return e+r+(null==i?"":i)}),"");function cf(e){let t=this||{},n=e.call?e(t.p):e;return of(n.unshift?n.raw?af(n,[].slice.call(arguments,1),t.p):n.reduce(((e,n)=>Object.assign(e,n&&n.call?n(t.p):n)),{}):n,Zp(t.target),t.g,t.o,t.k)}cf.bind({g:1});let lf=cf.bind({k:1});function sf(e,t){let n=this||{};return function(){let r=arguments;function o(i,a){let c=Object.assign({},i),l=c.className||o.className;n.p=Object.assign({theme:Gp&&Gp()},c),n.o=/ *go\d+/.test(l),c.className=cf.apply(n,r)+(l?" "+l:""),t&&(c.ref=a);let s=e;return e[0]&&(s=c.as||e,delete c.as),Xp&&s[0]&&Xp(c),qp(s,c)}return t?t(o):o}}var uf=(e,t)=>(e=>"function"==typeof e)(e)?e(t):e,df=(()=>{let e=0;return()=>(++e).toString()})(),pf=new Map,ff=e=>{if(pf.has(e))return;let t=setTimeout((()=>{pf.delete(e),vf({type:4,toastId:e})}),1e3);pf.set(e,t)},mf=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,20)};case 1:return t.toast.id&&(e=>{let t=pf.get(e);t&&clearTimeout(t)})(t.toast.id),{...e,toasts:e.toasts.map((e=>e.id===t.toast.id?{...e,...t.toast}:e))};case 2:let{toast:n}=t;return e.toasts.find((e=>e.id===n.id))?mf(e,{type:1,toast:n}):mf(e,{type:0,toast:n});case 3:let{toastId:r}=t;return r?ff(r):e.toasts.forEach((e=>{ff(e.id)})),{...e,toasts:e.toasts.map((e=>e.id===r||void 0===r?{...e,visible:!1}:e))};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter((e=>e.id!==t.toastId))};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map((e=>({...e,pauseDuration:e.pauseDuration+o})))}}},hf=[],gf={toasts:[],pausedAt:void 0},vf=e=>{gf=mf(gf,e),hf.forEach((e=>{e(gf)}))},yf=e=>(t,n)=>{let r=((e,t="blank",n)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...n,id:(null==n?void 0:n.id)||df()}))(t,e,n);return vf({type:2,toast:r}),r.id},bf=(e,t)=>yf("blank")(e,t);bf.error=yf("error"),bf.success=yf("success"),bf.loading=yf("loading"),bf.custom=yf("custom"),bf.dismiss=e=>{vf({type:3,toastId:e})},bf.remove=e=>vf({type:4,toastId:e}),bf.promise=(e,t,n)=>{let r=bf.loading(t.loading,{...n,...null==n?void 0:n.loading});return e.then((e=>(bf.success(uf(t.success,e),{id:r,...n,...null==n?void 0:n.success}),e))).catch((e=>{bf.error(uf(t.error,e),{id:r,...n,...null==n?void 0:n.error})})),e};var wf=lf`
|
|
27
27
|
from {
|
|
28
28
|
transform: scale(0) rotate(45deg);
|
|
29
29
|
opacity: 0;
|
|
@@ -31,7 +31,7 @@ from {
|
|
|
31
31
|
to {
|
|
32
32
|
transform: scale(1) rotate(45deg);
|
|
33
33
|
opacity: 1;
|
|
34
|
-
}`,
|
|
34
|
+
}`,xf=lf`
|
|
35
35
|
from {
|
|
36
36
|
transform: scale(0);
|
|
37
37
|
opacity: 0;
|
|
@@ -39,7 +39,7 @@ from {
|
|
|
39
39
|
to {
|
|
40
40
|
transform: scale(1);
|
|
41
41
|
opacity: 1;
|
|
42
|
-
}`,
|
|
42
|
+
}`,Ef=lf`
|
|
43
43
|
from {
|
|
44
44
|
transform: scale(0) rotate(90deg);
|
|
45
45
|
opacity: 0;
|
|
@@ -47,7 +47,7 @@ from {
|
|
|
47
47
|
to {
|
|
48
48
|
transform: scale(1) rotate(90deg);
|
|
49
49
|
opacity: 1;
|
|
50
|
-
}`;
|
|
50
|
+
}`;sf("div")`
|
|
51
51
|
width: 20px;
|
|
52
52
|
opacity: 0;
|
|
53
53
|
height: 20px;
|
|
@@ -56,14 +56,14 @@ to {
|
|
|
56
56
|
position: relative;
|
|
57
57
|
transform: rotate(45deg);
|
|
58
58
|
|
|
59
|
-
animation: ${
|
|
59
|
+
animation: ${wf} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
60
60
|
forwards;
|
|
61
61
|
animation-delay: 100ms;
|
|
62
62
|
|
|
63
63
|
&:after,
|
|
64
64
|
&:before {
|
|
65
65
|
content: '';
|
|
66
|
-
animation: ${
|
|
66
|
+
animation: ${xf} 0.15s ease-out forwards;
|
|
67
67
|
animation-delay: 150ms;
|
|
68
68
|
position: absolute;
|
|
69
69
|
border-radius: 3px;
|
|
@@ -76,18 +76,18 @@ to {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
&:before {
|
|
79
|
-
animation: ${
|
|
79
|
+
animation: ${Ef} 0.15s ease-out forwards;
|
|
80
80
|
animation-delay: 180ms;
|
|
81
81
|
transform: rotate(90deg);
|
|
82
82
|
}
|
|
83
|
-
`;var
|
|
83
|
+
`;var Cf=lf`
|
|
84
84
|
from {
|
|
85
85
|
transform: rotate(0deg);
|
|
86
86
|
}
|
|
87
87
|
to {
|
|
88
88
|
transform: rotate(360deg);
|
|
89
89
|
}
|
|
90
|
-
`;
|
|
90
|
+
`;sf("div")`
|
|
91
91
|
width: 12px;
|
|
92
92
|
height: 12px;
|
|
93
93
|
box-sizing: border-box;
|
|
@@ -95,8 +95,8 @@ to {
|
|
|
95
95
|
border-radius: 100%;
|
|
96
96
|
border-color: ${e=>e.secondary||"#e0e0e0"};
|
|
97
97
|
border-right-color: ${e=>e.primary||"#616161"};
|
|
98
|
-
animation: ${
|
|
99
|
-
`;var
|
|
98
|
+
animation: ${Cf} 1s linear infinite;
|
|
99
|
+
`;var kf=lf`
|
|
100
100
|
from {
|
|
101
101
|
transform: scale(0) rotate(45deg);
|
|
102
102
|
opacity: 0;
|
|
@@ -104,7 +104,7 @@ from {
|
|
|
104
104
|
to {
|
|
105
105
|
transform: scale(1) rotate(45deg);
|
|
106
106
|
opacity: 1;
|
|
107
|
-
}`,
|
|
107
|
+
}`,Sf=lf`
|
|
108
108
|
0% {
|
|
109
109
|
height: 0;
|
|
110
110
|
width: 0;
|
|
@@ -118,7 +118,7 @@ to {
|
|
|
118
118
|
100% {
|
|
119
119
|
opacity: 1;
|
|
120
120
|
height: 10px;
|
|
121
|
-
}`;
|
|
121
|
+
}`;sf("div")`
|
|
122
122
|
width: 20px;
|
|
123
123
|
opacity: 0;
|
|
124
124
|
height: 20px;
|
|
@@ -127,13 +127,13 @@ to {
|
|
|
127
127
|
position: relative;
|
|
128
128
|
transform: rotate(45deg);
|
|
129
129
|
|
|
130
|
-
animation: ${
|
|
130
|
+
animation: ${kf} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
131
131
|
forwards;
|
|
132
132
|
animation-delay: 100ms;
|
|
133
133
|
&:after {
|
|
134
134
|
content: '';
|
|
135
135
|
box-sizing: border-box;
|
|
136
|
-
animation: ${
|
|
136
|
+
animation: ${Sf} 0.2s ease-out forwards;
|
|
137
137
|
opacity: 0;
|
|
138
138
|
animation-delay: 200ms;
|
|
139
139
|
position: absolute;
|
|
@@ -145,16 +145,16 @@ to {
|
|
|
145
145
|
height: 10px;
|
|
146
146
|
width: 6px;
|
|
147
147
|
}
|
|
148
|
-
`,
|
|
148
|
+
`,sf("div")`
|
|
149
149
|
position: absolute;
|
|
150
|
-
`,
|
|
150
|
+
`,sf("div")`
|
|
151
151
|
position: relative;
|
|
152
152
|
display: flex;
|
|
153
153
|
justify-content: center;
|
|
154
154
|
align-items: center;
|
|
155
155
|
min-width: 20px;
|
|
156
156
|
min-height: 20px;
|
|
157
|
-
`;var
|
|
157
|
+
`;var _f=lf`
|
|
158
158
|
from {
|
|
159
159
|
transform: scale(0.6);
|
|
160
160
|
opacity: 0.4;
|
|
@@ -162,14 +162,14 @@ from {
|
|
|
162
162
|
to {
|
|
163
163
|
transform: scale(1);
|
|
164
164
|
opacity: 1;
|
|
165
|
-
}`;
|
|
165
|
+
}`;sf("div")`
|
|
166
166
|
position: relative;
|
|
167
167
|
transform: scale(0.6);
|
|
168
168
|
opacity: 0.4;
|
|
169
169
|
min-width: 20px;
|
|
170
|
-
animation: ${
|
|
170
|
+
animation: ${_f} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
171
171
|
forwards;
|
|
172
|
-
`,
|
|
172
|
+
`,sf("div")`
|
|
173
173
|
display: flex;
|
|
174
174
|
align-items: center;
|
|
175
175
|
background: #fff;
|
|
@@ -181,16 +181,16 @@ to {
|
|
|
181
181
|
pointer-events: auto;
|
|
182
182
|
padding: 8px 10px;
|
|
183
183
|
border-radius: 8px;
|
|
184
|
-
`,
|
|
184
|
+
`,sf("div")`
|
|
185
185
|
display: flex;
|
|
186
186
|
justify-content: center;
|
|
187
187
|
margin: 4px 10px;
|
|
188
188
|
color: inherit;
|
|
189
189
|
flex: 1 1 auto;
|
|
190
190
|
white-space: pre-line;
|
|
191
|
-
`,function(e,t,n,r){
|
|
191
|
+
`,function(e,t,n,r){tf.p=void 0,qp=e,Gp=void 0,Xp=void 0}(e.createElement),cf`
|
|
192
192
|
z-index: 9999;
|
|
193
193
|
> * {
|
|
194
194
|
pointer-events: auto;
|
|
195
195
|
}
|
|
196
|
-
`;const Dp={white:"var(--white)","white-rgb":"var(--white-rgb)",gray1000:"var(--gray1000)","gray1000-rgb":"var(--gray1000-rgb)",gray900:"var(--gray900)",gray800:"var(--gray800)",gray700:"var(--gray700)",gray600:"var(--gray600)",gray500:"var(--gray500)",gray400:"var(--gray400)",gray300:"var(--gray300)",gray200:"var(--gray200)",gray100:"var(--gray100)",gray75:"var(--gray75)",gray50:"var(--gray50)",gray25:"var(--gray25)",gray10:"var(--gray10)",blue1000:"var(--blue1000)",blue900:"var(--blue900)",blue800:"var(--blue800)",blue700:"var(--blue700)",blue600:"var(--blue600)",blue500:"var(--blue500)",blue500a10:"var(--blue500a10)",blue400:"var(--blue400)",blue300:"var(--blue300)",blue200:"var(--blue200)",blue100:"var(--blue100)",red400:"var(--red400)",red500:"var(--red500)",red500a10:"var(--red500a10)",red600:"var(--red600)",red700:"var(--red700)",yellow500:"var(--yellow500)",yellow500a10:"var(--yellow500a10)",yellow600:"var(--yellow600)",yellow700:"var(--yellow700)",green500:"var(--green500)",purple1000:"var(--purple1000)",purple900:"var(--purple900)",purple800:"var(--purple800)",purple700:"var(--purple700)",purple600:"var(--purple600)",purple500:"var(--purple500)",purple400:"var(--purple400)",purple300:"var(--purple300)",purple200:"var(--purple200)",purple100:"var(--purple100)",magenta1000:"var(--magenta1000)",magenta900:"var(--magenta900)",magenta800:"var(--magenta800)",magenta700:"var(--magenta700)",magenta600:"var(--magenta600)",magenta500:"var(--magenta500)",magenta400:"var(--magenta400)",magenta300:"var(--magenta300)",magenta200:"var(--magenta200)",magenta100:"var(--magenta100)",teal1000:"var(--teal1000)",teal900:"var(--teal900)",teal800:"var(--teal800)",teal700:"var(--teal700)",teal600:"var(--teal600)",teal500:"var(--teal500)",teal400:"var(--teal400)",teal300:"var(--teal300)",teal200:"var(--teal200)",teal100:"var(--teal100)",brandPrimary700:"var(--brandPrimary700)",brandPrimary600:"var(--brandPrimary600)",brandPrimary500:"var(--brandPrimary500)","brandPrimary500-rgb":"var(--brandPrimary500-rgb)",brandPrimary300:"var(--brandPrimary300)",brandPrimary100:"var(--brandPrimary100)",spacing1:"var(--spacing1)",spacing2:"var(--spacing2)",spacing3:"var(--spacing3)",spacing4:"var(--spacing4)",spacing5:"var(--spacing5)",spacing6:"var(--spacing6)",spacing7:"var(--spacing7)",spacing8:"var(--spacing8)",spacing9:"var(--spacing9)",layoutSpacing1:"var(--layoutSpacing1)",layoutSpacing2:"var(--layoutSpacing2)",layoutSpacing3:"var(--layoutSpacing3)",layoutSpacing4:"var(--layoutSpacing4)",layoutSpacing5:"var(--layoutSpacing5)",layoutSpacing6:"var(--layoutSpacing6)",layoutSpacing7:"var(--layoutSpacing7)",radiusSmall:"var(--radiusSmall)",radiusMedium:"var(--radiusMedium)",radiusLarge:"var(--radiusLarge)",radiusCircle:"var(--radiusCircle)",radiusPill:"var(--radiusPill)",radiusBase:"var(--radiusBase)",brandRadiusBase:"var(--brandRadiusBase)",fontStackBase:"var(--fontStackBase)",brandFontStackBase:"var(--brandFontStackBase)",fontSize25:"var(--fontSize25)",fontSize50:"var(--fontSize50)",fontSize75:"var(--fontSize75)",fontSize100:"var(--fontSize100)",fontSize200:"var(--fontSize200)",fontSize300:"var(--fontSize300)",fontSize400:"var(--fontSize400)",fontSize500:"var(--fontSize500)",fontSize600:"var(--fontSize600)",fontSize700:"var(--fontSize700)",fontSize800:"var(--fontSize800)",fontSize900:"var(--fontSize900)",fontSize1000:"var(--fontSize1000)",fontSizeBase:"var(--fontSizeBase)",lineHeightBase:"var(--lineHeightBase)",lineHeightHeading:"var(--lineHeightHeading)",lineHeightText:"var(--lineHeightText)",gray900a:"var(--gray900a)",gray800a:"var(--gray800a)",gray700a:"var(--gray700a)",gray600a:"var(--gray600a)",gray500a:"var(--gray500a)",gray400a:"var(--gray400a)",gray300a:"var(--gray300a)",gray200a:"var(--gray200a)",gray100a:"var(--gray100a)",gray75a:"var(--gray75a)",gray50a:"var(--gray50a)",gray25a:"var(--gray25a)",colorText:"var(--colorText)",colorTextMuted:"var(--colorTextMuted)",colorTextDisabled:"var(--colorTextDisabled)",focusRingWidth:"var(--focusRingWidth)",focusRingColorPrimary:"var(--focusRingColorPrimary)",focusRingColorSecondary:"var(--focusRingColorSecondary)",colorShadow:"var(--colorShadow)",elevationStatic:"var(--elevationStatic)",elevation1:"var(--elevation1)",elevation2:"var(--elevation2)",elevation4:"var(--elevation4)",elevation8:"var(--elevation8)",elevation12:"var(--elevation12)",elevation16:"var(--elevation16)",elevation24:"var(--elevation24)",componentButtonPrimaryBorderHover:"var(--componentButtonPrimaryBorderHover)",componentButtonPrimaryBorderActive:"var(--componentButtonPrimaryBorderActive)",componentButtonPrimaryBorderFocus:"var(--componentButtonPrimaryBorderFocus)",componentButtonPrimaryBorderDisabled:"var(--componentButtonPrimaryBorderDisabled)",componentButtonPrimaryColor:"var(--componentButtonPrimaryColor)",componentButtonPrimaryColorHover:"var(--componentButtonPrimaryColorHover)",componentButtonPrimaryColorActive:"var(--componentButtonPrimaryColorActive)",componentButtonPrimaryColorFocus:"var(--componentButtonPrimaryColorFocus)",componentButtonPrimaryColorDisabled:"var(--componentButtonPrimaryColorDisabled)",componentButtonPrimaryFill:"var(--componentButtonPrimaryFill)",componentButtonPrimaryFillHover:"var(--componentButtonPrimaryFillHover)",componentButtonPrimaryFillActive:"var(--componentButtonPrimaryFillActive)",componentButtonPrimaryFillFocus:"var(--componentButtonPrimaryFillFocus)",componentButtonPrimaryFillDisabled:"var(--componentButtonPrimaryFillDisabled)",componentButtonPrimaryFocusRing:"var(--componentButtonPrimaryFocusRing)",componentButtonSecondaryBorder:"var(--componentButtonSecondaryBorder)",componentButtonSecondaryBorderHover:"var(--componentButtonSecondaryBorderHover)",componentButtonSecondaryBorderActive:"var(--componentButtonSecondaryBorderActive)",componentButtonSecondaryBorderFocus:"var(--componentButtonSecondaryBorderFocus)",componentButtonSecondaryBorderDisabled:"var(--componentButtonSecondaryBorderDisabled)",componentButtonSecondaryColor:"var(--componentButtonSecondaryColor)",componentButtonSecondaryColorHover:"var(--componentButtonSecondaryColorHover)",componentButtonSecondaryColorActive:"var(--componentButtonSecondaryColorActive)",componentButtonSecondaryColorFocus:"var(--componentButtonSecondaryColorFocus)",componentButtonSecondaryColorDisabled:"var(--componentButtonSecondaryColorDisabled)",componentButtonSecondaryFill:"var(--componentButtonSecondaryFill)",componentButtonSecondaryFillHover:"var(--componentButtonSecondaryFillHover)",componentButtonSecondaryFillActive:"var(--componentButtonSecondaryFillActive)",componentButtonSecondaryFillFocus:"var(--componentButtonSecondaryFillFocus)",componentButtonSecondaryFillDisabled:"var(--componentButtonSecondaryFillDisabled)",componentButtonSecondaryFocusRing:"var(--componentButtonSecondaryFocusRing)",componentButtonCleanBorderFocus:"var(--componentButtonCleanBorderFocus)",componentButtonCleanBorderActive:"var(--componentButtonCleanBorderActive)",componentButtonCleanColor:"var(--componentButtonCleanColor)",componentButtonCleanColorHover:"var(--componentButtonCleanColorHover)",componentButtonCleanColorActive:"var(--componentButtonCleanColorActive)",componentButtonCleanColorFocus:"var(--componentButtonCleanColorFocus)",componentButtonCleanColorDisabled:"var(--componentButtonCleanColorDisabled)",componentButtonCleanFill:"var(--componentButtonCleanFill)",componentButtonCleanFillHover:"var(--componentButtonCleanFillHover)",componentButtonCleanFillActive:"var(--componentButtonCleanFillActive)",componentButtonCleanFillFocus:"var(--componentButtonCleanFillFocus)",componentButtonCleanFillDisabled:"var(--componentButtonCleanFillDisabled)",componentButtonCleanFocusRing:"var(--componentButtonCleanFocusRing)",componentButtonDangerBorderHover:"var(--componentButtonDangerBorderHover)",componentButtonDangerBorderActive:"var(--componentButtonDangerBorderActive)",componentButtonDangerBorderFocus:"var(--componentButtonDangerBorderFocus)",componentButtonDangerBorderDisabled:"var(--componentButtonDangerBorderDisabled)",componentButtonDangerColor:"var(--componentButtonDangerColor)",componentButtonDangerColorHover:"var(--componentButtonDangerColorHover)",componentButtonDangerColorActive:"var(--componentButtonDangerColorActive)",componentButtonDangerColorFocus:"var(--componentButtonDangerColorFocus)",componentButtonDangerColorDisabled:"var(--componentButtonDangerColorDisabled)",componentButtonDangerFill:"var(--componentButtonDangerFill)",componentButtonDangerFillHover:"var(--componentButtonDangerFillHover)",componentButtonDangerFillActive:"var(--componentButtonDangerFillActive)",componentButtonDangerFillFocus:"var(--componentButtonDangerFillFocus)",componentButtonDangerFillDisabled:"var(--componentButtonDangerFillDisabled)",componentButtonDangerFocusRing:"var(--componentButtonDangerFocusRing)",componentDividerColor:"var(--componentDividerColor)",componentCheckboxBorderUnchecked:"var(--componentCheckboxBorderUnchecked)",componentCheckboxBorderUncheckedHover:"var(--componentCheckboxBorderUncheckedHover)",componentCheckboxBorderUncheckedFocus:"var(--componentCheckboxBorderUncheckedFocus)",componentCheckboxFillDisabled:"var(--componentCheckboxFillDisabled)",componentCheckboxCheckmarkColorDisabled:"var(--componentCheckboxCheckmarkColorDisabled)",componentRadioBorderUnchecked:"var(--componentRadioBorderUnchecked)",componentRadioFillDisabled:"var(--componentRadioFillDisabled)",componentRadioCheckmarkColorDisabled:"var(--componentRadioCheckmarkColorDisabled)",componentRadioBorderUncheckedHover:"var(--componentRadioBorderUncheckedHover)"};function Pp({...e}){const{children:n,color:r="brand",hasBorder:o=!1,isPillShaped:i=!1,icon:a,isSmall:c=!1,isSecondary:l=!1}=e;return t.createElement(Op,{color:r,hasBorder:o,isPillShaped:i,isSecondary:l,isSmall:c,...e},a&&t.createElement(Ap,{isSmall:c},a),n)}const Op=ql.div.withConfig({shouldForwardProp:(e,t)=>!["color"].includes(e)&&t(e)}).withConfig({displayName:"BadgeStyled",componentId:"sc-11co88f-0"})(["display:inline-flex;vertical-align:middle;flex-wrap:nowrap;justify-content:center;align-items:center;box-sizing:border-box;height:",";padding:0 ",";border:2px solid transparent;border-radius:",";color:",";font-weight:normal;font-size:",";line-height:normal;",""],(e=>e.isSmall?"20px":"24px"),(e=>e.isSmall?Dp.spacing2:"6px"),(e=>e.isPillShaped?Dp.radiusPill:Dp.radiusMedium),Dp.white,Dp.fontSize50,(e=>{if(!e.isSecondary&&e.color){const t={brand:Dp.brandPrimary500,gray:Dp.gray400,black:Dp.gray900,"black-alpha":Dp.gray600a,blue:Dp.blue500,red:Dp.red400};return e.hasBorder?Tl(["border-color:",";color:",";"],t[e.color],t[e.color]):Tl(["background-color:",";"],t[e.color])}if(e.isSecondary)return Tl(["border-color:",";background-color:",";color:",";"],e.hasBorder?Dp.gray100:"transparent",e.hasBorder?Dp.white:Dp.gray100,Dp.gray800)})),Ap=ql.div.withConfig({displayName:"IconHolder2",componentId:"sc-11co88f-1"})(["display:flex;align-items:center;height:100%;margin-right:",";margin-left:calc("," * -1);svg{width:18px;height:18px;}"],(e=>e.isSmall?Dp.spacing1:Dp.spacing2),Dp.spacing1),Rp=Tl(["color:",";font-size:",";font-family:",";line-height:",";"],Dp.colorText,Dp.fontSizeBase,Dp.brandFontStackBase,Dp.lineHeightBase);ql.div.withConfig({displayName:"BaseStyles",componentId:"sc-11co88f-2"})(["",""],Rp),ql.div.withConfig({shouldForwardProp:(e,t)=>!["color"].includes(e)&&t(e)}).withConfig({displayName:"Track1",componentId:"sc-11co88f-3"})(["overflow:hidden;height:4px;border-radius:",";background:",";"],(e=>e.noCornerRadius?"0":Dp.radiusPill),(e=>"brand"===e.color?Dp.brandPrimary500:`\n\t\t\t\tlinear-gradient(\n\t\t\t\t\t0deg,\n\t\t\t\t\trgb(${Dp["white-rgb"]} / 30%),\n\t\t\t\t\trgb(${Dp["white-rgb"]} / 30%)\n\t\t\t\t),\n\t\t\t\t${Dp.gray100a}\n\t\t\t`));const Fp=Gl(["to{transform:translateX(-40px);}"]),Lp=`rgb(${Dp["white-rgb"]} / 0.15)`,Mp=`rgb(${Dp["gray1000-rgb"]} / 0.15)`;ql.div.withConfig({displayName:"Fill2",componentId:"sc-11co88f-4"})(["width:calc(100% + 60px);height:100%;background-image:linear-gradient( -45deg,"," 25%,"," 25%,"," 50%,"," 50%,"," 75%,"," 75%,"," );background-size:40px 40px;background-repeat:repeat-x;animation:"," 0.8s linear infinite;"],Lp,Mp,Mp,Lp,Lp,Mp,Mp,Fp);const jp=ql.button.withConfig({displayName:"ButtonStyled1",componentId:"sc-11co88f-5"})(["vertical-align:middle;justify-content:center;align-items:center !important;box-sizing:border-box !important;border:1px solid transparent !important;border-radius:",";outline:none !important;font-weight:400 !important;font-style:normal;font-size:"," !important;font-family:"," !important;line-height:"," !important;text-transform:none !important;text-shadow:none !important;cursor:pointer !important;transition-duration:0.1s;transition-property:background-color,border-color,box-shadow,color;button&,a&{position:relative;display:flex;flex:0 0 auto;flex-wrap:nowrap;min-width:40px;background-position:center;text-align:center;text-decoration:none;white-space:nowrap;fill:currentColor;&:focus{display:flex;}}&:disabled{cursor:default !important;pointer-events:none;}"," ",";",""],Dp.brandRadiusBase,Dp.fontSizeBase,Dp.brandFontStackBase,Dp.lineHeightBase,(e=>e.isFullWidth&&"width: 100%;"),(e=>e.isSmall?Tl(["height:32px !important;padding:0 "," !important;font-size:"," !important;line-height:20px !important;"],Dp.spacing4,Dp.fontSize75):Tl(["height:40px !important;padding:0 "," !important;"],Dp.spacing5)),(e=>{if("primary"===e.variant){const t=Tl(["border-color:",";background-color:",";color:",";box-shadow:none !important;"],Dp.componentButtonPrimaryBorderActive,Dp.componentButtonPrimaryFillActive,Dp.componentButtonPrimaryColorActive);return Tl(["border-color:transparent;background-color:",";color:",";"," &:hover{border-color:",";background-color:",";color:",";box-shadow:"," !important;}&:focus{border-color:",";background-color:",";color:",";box-shadow:"," !important;}&:active{","}&:disabled{border-color:",";background-color:",";color:",";box-shadow:none !important;}"],Dp.componentButtonPrimaryFill,Dp.componentButtonPrimaryColor,e.isPressed&&t,Dp.componentButtonPrimaryBorderHover,Dp.componentButtonPrimaryFillHover,Dp.componentButtonPrimaryColorHover,Dp.elevation1,Dp.componentButtonPrimaryBorderFocus,Dp.componentButtonPrimaryFillFocus,Dp.componentButtonPrimaryColorFocus,Dp.componentButtonPrimaryFocusRing,t,Dp.componentButtonPrimaryBorderDisabled,Dp.componentButtonPrimaryFillDisabled,Dp.componentButtonPrimaryColorDisabled)}if("secondary"===e.variant){const t=Tl(["border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:none !important;"],Dp.componentButtonSecondaryBorderActive,Dp.componentButtonSecondaryFillActive,Dp.componentButtonSecondaryColorActive);return Tl(["border-color:"," !important;background-color:"," !important;color:"," !important;"," &:hover{border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:"," !important;}&:focus{border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:"," !important;}&:active{","}&:disabled{border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:none !important;}"],Dp.componentButtonSecondaryBorder,Dp.componentButtonSecondaryFill,Dp.componentButtonSecondaryColor,e.isPressed&&t,Dp.componentButtonSecondaryBorderHover,Dp.componentButtonSecondaryFillHover,Dp.componentButtonSecondaryColorHover,Dp.elevation1,Dp.componentButtonSecondaryBorderFocus,Dp.componentButtonSecondaryFillFocus,Dp.componentButtonSecondaryColorFocus,Dp.componentButtonSecondaryFocusRing,t,Dp.componentButtonSecondaryBorderDisabled,Dp.componentButtonSecondaryFillDisabled,Dp.componentButtonSecondaryColorDisabled)}if("clean"===e.variant){const t=Tl(["border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:none !important;"],Dp.componentButtonCleanBorderActive,Dp.componentButtonCleanFillActive,Dp.componentButtonCleanColorActive);return Tl(["background-color:"," !important;color:",";"," &:hover{background-color:"," !important;color:"," !important;box-shadow:none !important;}&:focus{border-color:"," !important;color:"," !important;box-shadow:"," !important;}&:active{","}&:disabled{background-color:"," !important;color:"," !important;}"],Dp.componentButtonCleanFill,Dp.componentButtonCleanColor,e.isPressed&&t,Dp.componentButtonCleanFillHover,Dp.componentButtonCleanColorHover,Dp.componentButtonCleanBorderFocus,Dp.componentButtonCleanColorFocus,Dp.componentButtonCleanFocusRing,t,Dp.componentButtonCleanFillDisabled,Dp.componentButtonCleanColorDisabled)}if("danger"===e.variant){const t=Tl(["border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:none !important;"],Dp.componentButtonDangerBorderActive,Dp.componentButtonDangerFillActive,Dp.componentButtonDangerColorActive);return Tl(["border-color:transparent;background-color:"," !important;color:"," !important;box-shadow:"," !important;"," &:hover{border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:"," !important;}&:focus{border-color:"," !important;color:"," !important;box-shadow:"," !important;}&:active{","}&:disabled{border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:none !important;}"],Dp.componentButtonDangerFill,Dp.componentButtonDangerColor,Dp.elevation1,e.isPressed&&t,Dp.componentButtonDangerBorderHover,Dp.componentButtonDangerFillHover,Dp.componentButtonDangerColorHover,Dp.elevation2,Dp.componentButtonDangerBorderFocus,Dp.componentButtonDangerColorFocus,Dp.componentButtonDangerFocusRing,t,Dp.componentButtonDangerBorderDisabled,Dp.componentButtonDangerFillDisabled,Dp.componentButtonDangerColorDisabled)}return""})),Hp=ql.button.withConfig({displayName:"ButtonStyled",componentId:"sc-11co88f-6"})(["display:inline-flex;vertical-align:middle;flex-wrap:nowrap;justify-content:center;align-items:center;box-sizing:border-box;min-width:40px;border:1px solid transparent;border-radius:",";background-color:transparent;outline:none;font-weight:400;font-style:normal;font-size:",";font-family:",";line-height:",";letter-spacing:normal;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;fill:currentColor;transition-duration:0.1s;transition-property:background-color,border-color,box-shadow,color;&:disabled{cursor:default;}"," ",";",""],Dp.brandRadiusBase,Dp.fontSizeBase,Dp.brandFontStackBase,Dp.lineHeightBase,(e=>e.isFullWidth&&"width: 100%;"),(e=>e.isSmall?Tl(["height:32px;padding:0 ",";font-size:",";line-height:20px;"],Dp.spacing4,Dp.fontSize75):Tl(["height:40px;padding:0 ",";"],Dp.spacing5)),(e=>{if("primary"===e.variant){const t=Tl(["border-color:",";background-color:",";color:",";box-shadow:none;"],Dp.componentButtonPrimaryBorderActive,Dp.componentButtonPrimaryFillActive,Dp.componentButtonPrimaryColorActive);return Tl(["border-color:transparent;background-color:",";color:",";"," &:hover{border-color:",";background-color:",";color:",";box-shadow:",";}&:active{","}"," &:disabled{border-color:",";background-color:",";color:",";box-shadow:none;}"],Dp.componentButtonPrimaryFill,Dp.componentButtonPrimaryColor,e.isPressed&&t,Dp.componentButtonPrimaryBorderHover,Dp.componentButtonPrimaryFillHover,Dp.componentButtonPrimaryColorHover,Dp.elevation1,t,e.isFocusVisible&&Tl(["background-color:",";color:",";&,&:hover{border-color:",";box-shadow:",";}"],Dp.componentButtonPrimaryFillFocus,Dp.componentButtonPrimaryColorFocus,Dp.componentButtonPrimaryBorderFocus,Dp.componentButtonPrimaryFocusRing),Dp.componentButtonPrimaryBorderDisabled,Dp.componentButtonPrimaryFillDisabled,Dp.componentButtonPrimaryColorDisabled)}if("secondary"===e.variant){const t=Tl(["border-color:",";background-color:",";color:",";box-shadow:none;"],Dp.componentButtonSecondaryBorderActive,Dp.componentButtonSecondaryFillActive,Dp.componentButtonSecondaryColorActive);return Tl(["border-color:",";background-color:",";color:",";"," &:hover{border-color:",";background-color:",";color:",";box-shadow:",";}&:active{","}"," &:disabled{border-color:",";background-color:",";color:",";box-shadow:none;}"],Dp.componentButtonSecondaryBorder,Dp.componentButtonSecondaryFill,Dp.componentButtonSecondaryColor,e.isPressed&&t,Dp.componentButtonSecondaryBorderHover,Dp.componentButtonSecondaryFillHover,Dp.componentButtonSecondaryColorHover,Dp.elevation1,t,e.isFocusVisible&&Tl(["background-color:",";color:",";&,&:hover{border-color:",";box-shadow:",";}"],Dp.componentButtonSecondaryFillFocus,Dp.componentButtonSecondaryColorFocus,Dp.componentButtonSecondaryBorderFocus,Dp.componentButtonSecondaryFocusRing),Dp.componentButtonSecondaryBorderDisabled,Dp.componentButtonSecondaryFillDisabled,Dp.componentButtonSecondaryColorDisabled)}if("clean"===e.variant){const t=Tl(["border-color:",";background-color:",";color:",";box-shadow:none;"],Dp.componentButtonCleanBorderActive,Dp.componentButtonCleanFillActive,Dp.componentButtonCleanColorActive);return Tl(["background-color:",";color:",";"," &:hover{background-color:",";color:",";box-shadow:none;}&:active{","}"," &:disabled{background-color:",";color:",";}"],Dp.componentButtonCleanFill,Dp.componentButtonCleanColor,e.isPressed&&t,Dp.componentButtonCleanFillHover,Dp.componentButtonCleanColorHover,t,e.isFocusVisible&&Tl(["color:",";&,&:hover{border-color:",";box-shadow:",";}"],Dp.componentButtonCleanColorFocus,Dp.componentButtonCleanBorderFocus,Dp.componentButtonCleanFocusRing),Dp.componentButtonCleanFillDisabled,Dp.componentButtonCleanColorDisabled)}if("danger"===e.variant){const t=Tl(["border-color:",";background-color:",";color:",";box-shadow:none;"],Dp.componentButtonDangerBorderActive,Dp.componentButtonDangerFillActive,Dp.componentButtonDangerColorActive);return Tl(["border-color:transparent;background-color:",";color:",";box-shadow:",";"," &:hover{border-color:",";background-color:",";color:",";box-shadow:",";}&:active{","}"," &:disabled{border-color:",";background-color:",";color:",";box-shadow:none;}"],Dp.componentButtonDangerFill,Dp.componentButtonDangerColor,Dp.elevation1,e.isPressed&&t,Dp.componentButtonDangerBorderHover,Dp.componentButtonDangerFillHover,Dp.componentButtonDangerColorHover,Dp.elevation2,t,e.isFocusVisible&&Tl(["background-color:",";color:",";box-shadow:none;&,&:hover{border-color:",";box-shadow:",";}"],Dp.componentButtonDangerFillFocus,Dp.componentButtonDangerColorFocus,Dp.componentButtonDangerBorderFocus,Dp.componentButtonDangerFocusRing),Dp.componentButtonDangerBorderDisabled,Dp.componentButtonDangerFillDisabled,Dp.componentButtonDangerColorDisabled)}return""})),Up=ql.div.withConfig({displayName:"Icon4",componentId:"sc-11co88f-7"})(["display:flex;align-items:center;height:100%;"]),Vp=ql(Up).withConfig({displayName:"LeftIcon1",componentId:"sc-11co88f-8"})(["margin-right:",";margin-left:calc("," * -1);"],(e=>e.lastChild?`calc(${Dp.spacing2} * -1) `:Dp.spacing3),Dp.spacing2),$p=ql(Up).withConfig({displayName:"RightIcon2",componentId:"sc-11co88f-9"})(["margin-right:calc("," * -1);margin-left:",";"],Dp.spacing2,Dp.spacing3);function Wp(){return t.createElement(Yp,{viewBox:"0 0 24 24","aria-hidden":"true"},t.createElement(Kp,{cx:"12",cy:"12",r:"8",fill:"none",strokeWidth:"3"}))}const Gp=Gl(["100%{transform:rotate(360deg);}"]),qp=Gl(["0%{stroke-dasharray:1,100;stroke-dashoffset:0;}50%{stroke-dasharray:80,100;stroke-dashoffset:-20;}100%{stroke-dasharray:80,100;stroke-dashoffset:-48;}"]),Yp=ql.svg.withConfig({displayName:"Svg",componentId:"sc-11co88f-10"})(["width:24px;height:24px;animation:"," 1s linear infinite;"],Gp),Kp=ql.circle.withConfig({displayName:"Circle",componentId:"sc-11co88f-11"})(["stroke:currentColor;animation:"," 1.5s ease-in-out infinite;stroke-linecap:round;"],qp),Xp=d((({children:e,className:n="",rightIcon:r,type:o="button","aria-label":i,isFullWidth:a=!1,icon:c,variant:l="secondary",isSmall:s=!1,isDisabled:u=!1,isPressed:d=!1,isLoading:p=!1,...f},m)=>{const h=function({variant:e,isSmall:t,icon:n,isDisabled:r,className:o=""}){return[o,"action-btn","secondary"===e||"clean"===e?"cancel gray":"cta-main blue",t?"button-small":"",n?"button-icon":"",r?"disabled":""].join(" ")}({className:n,variant:l,isSmall:s,icon:c,isDisabled:u});return t.createElement(jp,{"aria-label":i||f.title,className:h,disabled:u||p,type:o,variant:l,isPressed:d,isSmall:s,isFullWidth:a,as:f.href?"a":"button",ref:m,...f},p?t.createElement(t.Fragment,null,t.createElement(Vp,{lastChild:!e},t.createElement(Wp,null)),e):t.createElement(t.Fragment,null,c&&t.createElement(Vp,{lastChild:!e},c),e,r&&t.createElement($p,null,r)))})),Zp=n("modern"),Jp=d((({children:e,variant:n="secondary",isSmall:r=!1,icon:o,rightIcon:i,isDisabled:a=!1,isLoading:c=!1,type:l="button",...s},u)=>{const{isFocusVisible:d,focusProps:p}=Es();return t.createElement(Hp,{variant:n,isSmall:r,disabled:c||a,type:l,as:s.href?"a":"button",isFocusVisible:d,ref:u,...p,...s},c?t.createElement(t.Fragment,null,t.createElement(Vp,{"data-testid":"ds-button-loading-icon",lastChild:!e},t.createElement(Wp,null)),e):t.createElement(t.Fragment,null,o&&t.createElement(Vp,{lastChild:!e},o),e,i&&t.createElement($p,null,i)))})),Qp=d(((e,n)=>"legacy"===(i(Zp)||"modern")?t.createElement(Xp,{ref:n,...e}):t.createElement(Jp,{ref:n,...e}))),ef=Object.assign(Qp,{VersionProvider:Zp.Provider}),tf=n(null);function nf(){const e=i(tf);if(!e)throw new Error("Card compound components cannot be rendered outside the Card component");return e}const rf=ql.div.withConfig({shouldForwardProp:(e,t)=>!["height"].includes(e)&&t(e)}).withConfig({displayName:"FrameStyled",componentId:"sc-11co88f-12"})(["position:relative;min-height:92px;border-radius:var(--card-frame-border-radius);background:",";",""],(e=>e.isCheckeredBackground?"url(\"data:image/svg+xml,%3Csvg width='12' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Crect height='12' width='12' y='0' x='0' fill='%23ffffff'/%3E%3Crect height='6' width='6' y='0' x='0' fill='%23e9ecee'/%3E%3Crect height='6' width='6' y='6' x='6' fill='%23e9ecee'/%3E%3C/svg%3E%0A\") ":Dp.gray25),(e=>"fixed"===e.height&&Tl(["&::before{content:'';display:inline-block;vertical-align:top;width:0;height:0;padding-bottom:calc(100% / (16 / 10));}"]))),of=ql.div.withConfig({displayName:"FocusRing",componentId:"sc-11co88f-13"})(["position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border:var(--card-selected-border-width) solid var(--card-selected-border-color);border-radius:calc(var(--card-border-radius) + 4px);"]),af=ql.div.withConfig({shouldForwardProp:(e,t)=>!["height"].includes(e)&&t(e)}).withConfig({displayName:"Children",componentId:"sc-11co88f-14"})([""," display:grid;overflow:hidden;border-radius:var(--card-frame-border-radius);"],(e=>"fixed"===e.height&&Tl(["position:absolute;inset:0;"]))),cf=ql.div.withConfig({displayName:"Overlay1",componentId:"sc-11co88f-15"})(["position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border:var(--card-inner-border-width) solid var(--card-inner-border-color);border-bottom-width:var(--card-frame-border-bottom-width);border-radius:var(--card-frame-border-radius);background:var(--card-frame-overlay-color);"]),lf=ql.div.withConfig({displayName:"BadgeContainer",componentId:"sc-11co88f-16"})(["position:absolute;right:",";bottom:",";"],Dp.spacing4,Dp.spacing4),sf=ql.div.withConfig({displayName:"IconContainer4",componentId:"sc-11co88f-17"})(["position:absolute;bottom:",";left:",";color:",";path{stroke:",";stroke-width:2px;paint-order:stroke;&[d='M0 0h24v24H0z']{stroke:none;}}"],Dp.spacing4,Dp.spacing4,Dp.white,Dp.gray100a),uf=ql.div.withConfig({displayName:"ProgressContainer",componentId:"sc-11co88f-18"})(["position:absolute;bottom:0;left:0;width:100%;"]),df={paragraphS:Tl(["font-weight:normal;font-size:",";line-height:",";"],Dp.fontSize75,Dp.lineHeightText),paragraphM:Tl(["font-weight:normal;font-size:",";line-height:",";"],Dp.fontSize100,Dp.lineHeightText),paragraphL:Tl(["font-weight:normal;font-size:",";line-height:",";"],Dp.fontSize200,Dp.lineHeightText),uiTextXS:Tl(["font-weight:normal;font-size:",";line-height:20px;"],Dp.fontSize50),uiTextS:Tl(["font-weight:normal;font-size:",";line-height:20px;"],Dp.fontSize75),uiTextM:Tl(["font-weight:normal;font-size:",";line-height:20px;"],Dp.fontSize100),uiTextL:Tl(["font-weight:normal;font-size:",";line-height:24px;"],Dp.fontSize200),headingXS:Tl(["font-weight:600;font-size:",";line-height:",";"],Dp.fontSize100,Dp.lineHeightHeading),headingS:Tl(["font-weight:600;font-size:",";line-height:",";"],Dp.fontSize200,Dp.lineHeightHeading),headingM:Tl(["font-weight:normal;font-size:",";line-height:",";"],Dp.fontSize400,Dp.lineHeightHeading),headingL:Tl(["font-weight:normal;font-size:",";line-height:",";"],Dp.fontSize600,Dp.lineHeightHeading),headingXL:Tl(["font-weight:normal;font-size:",";line-height:",";"],Dp.fontSize800,Dp.lineHeightHeading),headingXXL:Tl(["font-weight:normal;font-size:",";line-height:",";"],Dp.fontSize1000,Dp.lineHeightHeading)};function pf({children:e,direction:n="row",wrap:r="nowrap",justifyContent:o="flex-start",alignItems:i="stretch",gap:a,...c}){return t.createElement(ff,{direction:n,wrap:r,justifyContent:o,alignItems:i,gap:a,...c},e)}const ff=ql.div.withConfig({shouldForwardProp:(e,t)=>!["direction","wrap"].includes(e)&&t(e)}).withConfig({displayName:"FlexStyled",componentId:"sc-11co88f-19"})(["display:flex;flex-direction:",";flex-wrap:",";gap:",";justify-content:",";align-items:",";box-sizing:border-box;width:100%;height:100%;"],(e=>e.direction),(e=>e.wrap),(e=>Dp[`spacing${e.gap}`]),(e=>e.justifyContent),(e=>e.alignItems));function mf(e){if(!/^#([\da-f]{3}){1,2}$/i.test(e))throw new Error(`Invalid HEX to RGB conversion: ${e}`);let t,n,r;return 4===e.length?(t="0x"+e[1]+e[1],n="0x"+e[2]+e[2],r="0x"+e[3]+e[3]):7===e.length?(t="0x"+e[1]+e[2],n="0x"+e[3]+e[4],r="0x"+e[5]+e[6]):(t="",n="",r=""),`${Number(t)} ${Number(n)} ${Number(r)}`}const hf={"--white":"#ffffff","--white-rgb":mf("#ffffff"),"--gray1000":"#002233","--gray1000-rgb":mf("#002233"),"--gray900":"#1a3847","--gray800":"#334e5c","--gray700":"#4d6470","--gray600":"#667a85","--gray500":"#809199","--gray400":"#99a7ad","--gray300":"#b3bdc2","--gray200":"#ccd3d6","--gray100":"#e6e9eb","--gray75":"#ebedef","--gray50":"#f2f4f5","--gray25":"#f7f8f9","--gray10":"#ffffff","--blue1000":"#001f33","--blue900":"#003d66","--blue800":"#005c99","--blue700":"#007acc","--blue600":"#008ae6","--blue500":"#0099ff","--blue500-rgb":mf("#0099ff"),"--blue500a10":"rgb(var(--blue500-rgb) / 10%)","--blue400":"#1aa3ff","--blue300":"#33adff","--blue200":"#80ccff","--blue100":"#ccebff","--red400":"#f45225","--red500":"#f23e0d","--red500-rgb":mf("#f23e0d"),"--red500a10":"rgb(var(--red500-rgb) / 10%)","--red500a50":"rgb(var(--red500-rgb) / 50%)","--red600":"#da380b","--red700":"#c2320a","--yellow500":"#fea900","--yellow500-rgb":mf("#fea900"),"--yellow500a10":"rgb(var(--yellow500-rgb) / 10%)","--yellow600":"#e59800","--yellow700":"#cb8700","--green500":"#72d400","--purple1000":"#15122e","--purple900":"#1f1b44","--purple800":"#2a245c","--purple700":"#40378a","--purple600":"#5549b8","--purple500":"#6b5ce6","--purple400":"#978ced","--purple300":"#c3bdf5","--purple200":"#e1defa","--purple100":"#f7f6fd","--magenta1000":"#2e0d18","--magenta900":"#451424","--magenta800":"#5c1b30","--magenta700":"#8a2949","--magenta600":"#b83761","--magenta500":"#e6457a","--magenta400":"#eb6a94","--magenta300":"#f5b4c9","--magenta200":"#fad9e4","--magenta100":"#fdf5f8","--teal1000":"#062822","--teal900":"#0a3c32","--teal800":"#0d5144","--teal700":"#147a66","--teal600":"#1ba388","--teal500":"#22ccaa","--teal400":"#64dbc3","--teal300":"#a6eadd","--teal200":"#d2f4ee","--teal100":"#f3fcfa","--brandPrimary700":bf("brandPrimary700","#0087e0"),"--brandPrimary600":bf("brandPrimary600","#0095eb"),"--brandPrimary500":bf("brandPrimary500","#00aaff"),"--brandPrimary500-rgb":bf("brandPrimary500-rgb",mf("#00aaff")),"--brandPrimary300":bf("brandPrimary300","#b3e6ff"),"--brandPrimary100":bf("brandPrimary100","#e5f7ff"),"--spacing1":"2px","--spacing2":"4px","--spacing3":"8px","--spacing4":"12px","--spacing5":"16px","--spacing6":"24px","--spacing7":"32px","--spacing8":"40px","--spacing9":"48px","--layoutSpacing1":"16px","--layoutSpacing2":"24px","--layoutSpacing3":"32px","--layoutSpacing4":"48px","--layoutSpacing5":"64px","--layoutSpacing6":"96px","--layoutSpacing7":"160px","--radiusSmall":"2px","--radiusMedium":"5px","--radiusLarge":"8px","--radiusCircle":"50%","--radiusPill":"9999px","--radiusBase":"var(--radiusMedium)","--brandRadiusBase":"var(--radiusBase)","--fontStackBase":"Source Sans Pro, SourceSansPro, system-ui, sans-serif","--brandFontStackBase":"inherit","--fontSize25":"10px","--fontSize50":"12px","--fontSize75":"14px","--fontSize100":"16px","--fontSize200":"18px","--fontSize300":"20px","--fontSize400":"22px","--fontSize500":"25px","--fontSize600":"28px","--fontSize700":"32px","--fontSize800":"36px","--fontSize900":"40px","--fontSize1000":"45px","--fontSizeBase":"var(--fontSize100)","--lineHeightBase":"1.25","--lineHeightHeading":"1.25","--lineHeightText":"1.5","--gray900a":"rgb(var(--gray1000-rgb) / 90%)","--gray800a":"rgb(var(--gray1000-rgb) / 80%)","--gray700a":"rgb(var(--gray1000-rgb) / 70%)","--gray600a":"rgb(var(--gray1000-rgb) / 60%)","--gray500a":"rgb(var(--gray1000-rgb) / 50%)","--gray400a":"rgb(var(--gray1000-rgb) / 40%)","--gray300a":"rgb(var(--gray1000-rgb) / 30%)","--gray200a":"rgb(var(--gray1000-rgb) / 20%)","--gray100a":"rgb(var(--gray1000-rgb) / 10%)","--gray75a":"rgb(var(--gray1000-rgb) / 7%)","--gray50a":"rgb(var(--gray1000-rgb) / 5%)","--gray25a":"rgb(var(--gray1000-rgb) / 3%)","--colorText":"var(--gray800)","--colorTextMuted":"var(--gray600)","--colorTextDisabled":"var(--gray400)","--focusRingWidth":"2px","--focusRingColorPrimary":"var(--blue500)","--focusRingColorSecondary":"var(--gray200)","--colorShadow":"var(--gray100a)","--elevationStatic":"0 0 0 1px var(--colorShadow)","--elevation1":"0 1px 4px -1px var(--colorShadow)","--elevation2":"0 2px 4px -1px var(--colorShadow)","--elevation4":"0 4px 6px -2px var(--colorShadow)","--elevation8":"0 8px 12px -2px var(--colorShadow)","--elevation12":"0 12px 12px -2px var(--colorShadow)","--elevation16":"0 16px 12px -2px var(--colorShadow)","--elevation24":"0 24px 12px -2px var(--colorShadow)","--componentButtonPrimaryBorderHover":"var(--brandPrimary600)","--componentButtonPrimaryBorderActive":"var(--brandPrimary700)","--componentButtonPrimaryBorderFocus":"var(--brandPrimary500)","--componentButtonPrimaryBorderDisabled":"transparent","--componentButtonPrimaryColor":"var(--white)","--componentButtonPrimaryColorHover":"var(--white)","--componentButtonPrimaryColorActive":"var(--white)","--componentButtonPrimaryColorFocus":"var(--white)","--componentButtonPrimaryColorDisabled":"var(--white)","--componentButtonPrimaryFill":"var(--brandPrimary500)","--componentButtonPrimaryFillHover":"var(--brandPrimary600)","--componentButtonPrimaryFillActive":"var(--brandPrimary700)","--componentButtonPrimaryFillFocus":"var(--brandPrimary500)","--componentButtonPrimaryFillDisabled":"var(--brandPrimary300)","--componentButtonPrimaryFocusRing":"0 0 0 3px rgb(var(--brandPrimary500-rgb) / 30%)","--componentButtonSecondaryBorder":"var(--gray100)","--componentButtonSecondaryBorderHover":"var(--gray200)","--componentButtonSecondaryBorderActive":"var(--gray300)","--componentButtonSecondaryBorderFocus":"var(--gray300)","--componentButtonSecondaryBorderDisabled":"var(--gray50)","--componentButtonSecondaryColor":"var(--gray800)","--componentButtonSecondaryColorHover":"var(--gray800)","--componentButtonSecondaryColorActive":"var(--gray800)","--componentButtonSecondaryColorFocus":"var(--gray800)","--componentButtonSecondaryColorDisabled":"var(--gray300)","--componentButtonSecondaryFill":"var(--gray25)","--componentButtonSecondaryFillHover":"var(--gray50)","--componentButtonSecondaryFillActive":"var(--gray75)","--componentButtonSecondaryFillFocus":"var(--gray25)","--componentButtonSecondaryFillDisabled":"var(--gray25)","--componentButtonSecondaryFocusRing":"0 0 0 3px var(--gray50a)","--componentButtonCleanBorderFocus":"var(--gray200)","--componentButtonCleanBorderActive":"transparent","--componentButtonCleanColor":"var(--gray600)","--componentButtonCleanColorHover":"var(--gray900)","--componentButtonCleanColorActive":"var(--gray900)","--componentButtonCleanColorFocus":"var(--gray900)","--componentButtonCleanColorDisabled":"var(--gray300)","--componentButtonCleanFill":"transparent","--componentButtonCleanFillHover":"var(--gray25a)","--componentButtonCleanFillActive":"var(--gray50a)","--componentButtonCleanFillFocus":"var(--gray25a)","--componentButtonCleanFillDisabled":"transparent","--componentButtonCleanFocusRing":"0 0 0 3px var(--gray50a)","--componentButtonDangerBorderHover":"var(--red600)","--componentButtonDangerBorderActive":"var(--red700)","--componentButtonDangerBorderFocus":"var(--red500)","--componentButtonDangerBorderDisabled":"transparent","--componentButtonDangerColor":"var(--white)","--componentButtonDangerColorHover":"var(--white)","--componentButtonDangerColorActive":"var(--white)","--componentButtonDangerColorFocus":"var(--white)","--componentButtonDangerColorDisabled":"var(--white)","--componentButtonDangerFill":"var(--red500)","--componentButtonDangerFillHover":"var(--red600)","--componentButtonDangerFillActive":"var(--red700)","--componentButtonDangerFillFocus":"var(--red500)","--componentButtonDangerFillDisabled":"var(--red500a50)","--componentButtonDangerFocusRing":"0 0 0 3px rgb(var(--red500-rgb) / 30%)","--componentDividerColor":"var(--gray100a)","--componentCheckboxBorderUnchecked":"var(--gray300)","--componentCheckboxBorderUncheckedHover":"var(--gray500)","--componentCheckboxBorderUncheckedFocus":"var(--gray500)","--componentCheckboxFillDisabled":"var(--gray100)","--componentCheckboxCheckmarkColorDisabled":"var(--gray500)","--componentRadioBorderUnchecked":"var(--gray300)","--componentRadioFillDisabled":"var(--gray100)","--componentRadioCheckmarkColorDisabled":"var(--gray500)","--componentRadioBorderUncheckedHover":"var(--gray500)"},gf={"--gray1000":"#ffffff","--gray1000-rgb":mf("#ffffff"),"--gray900":"#e6e9eb","--gray800":"#ccd3d6","--gray700":"#b3bdc2","--gray600":"#99a7ad","--gray500":"#809199","--gray400":"#667a85","--gray300":"#4d6470","--gray200":"#334e5c","--gray100":"#1a3847","--gray75":"#123141","--gray50":"#0d2d3d","--gray25":"#082939","--gray10":"#002233","--componentDividerColor":"var(--gray100a)","--focusRingColorSecondary":"var(--gray200a)","--componentCheckboxBorderUnchecked":"var(--gray300a)","--componentCheckboxBorderUncheckedHover":"var(--gray500a)","--componentCheckboxBorderUncheckedFocus":"var(--gray500a)","--componentCheckboxFillDisabled":"var(--gray100a)","--componentCheckboxCheckmarkColorDisabled":"var(--gray500a)","--componentRadioBorderUnchecked":"var(--gray300a)","--componentRadioFillDisabled":"var(--gray100a)","--componentRadioCheckmarkColorDisabled":"var(--gray500a)","--componentRadioBorderUncheckedHover":"var(--gray500a)"},vf=Wl(["",""],Tl([":root,:host,.",",.","{","}.","{","}"],"ds-light-theme","ds-dark-theme",yf(hf),"ds-dark-theme",yf(gf)));function yf(e){const t=Object.entries(e).map((e=>e.join(":")));return t.join(";")+";"}function bf(e,t){return`var(--user-${e}, var(--theme-${e}, ${t}))`}const wf={size:"24px",attr:{"aria-hidden":"true"},style:{verticalAlign:"middle"}},xf=t.createContext({zIndexBase:1031});function Ef({children:e,noTheme:n,zIndexBase:r=1031,buttonVersion:i="modern",dateFnsLocale:a}){const c=o((()=>({zIndexBase:r,dateFnsLocale:a})),[a,r]);return t.createElement(xf.Provider,{value:c},t.createElement(ks.Provider,{value:wf},t.createElement(ef.VersionProvider,{value:i},!n&&t.createElement(vf,null),e)))}const Cf=["modal","datepicker","dropdown","tooltip"];function kf(e){return i(xf).zIndexBase+Cf.indexOf(e)}function Sf({position:e="top-center",timing:n="instant",className:o,...i}){const[l,s]=function(e){var t=void 0===e?{}:e,n=t.delayEnter,o=void 0===n?0:n,i=t.delayLeave,l=void 0===i?0:i,s=t.hideOnScroll,d=void 0===s||s,p=r(!1),f=p[0],m=p[1],h=c(null),g=c(ad.IDLE),v=c(!1),y=u((function(){clearTimeout(h.current),h.current=null,g.current=ad.IDLE}),[]);function b(e,t){if(g.current===ad.ENTERING&&h.current&&y(),f){if(t)return m(!1),h.current=null,void(g.current=ad.IDLE);g.current=ad.LEAVING,h.current=window.setTimeout((function(){m(!1),h.current=null,g.current=ad.IDLE}),l)}}return a((function(){function e(){f&&d&&(y(),m(!1))}function t(){f&&(y(),m(!1))}return window.addEventListener("scroll",e,!0),window.addEventListener("touchend",t,!0),function(){window.removeEventListener("scroll",e,!0),window.removeEventListener("touchend",t,!0),h.current&&clearTimeout(h.current)}}),[f,d,y]),[f,{onMouseEnter:function(){g.current===ad.LEAVING&&h.current&&y(),f||(g.current=ad.ENTERING,h.current=window.setTimeout((function(){m(!0),h.current=null,g.current=ad.IDLE}),o))},onMouseLeave:b,onTouchStart:function(){v.current=!1},onTouchMove:function(){v.current=!0},onTouchEnd:function(){v.current||f||m(!0),v.current=!1}},function(){return b(0,!0)}]}({delayEnter:"delay"===n?800:0}),{isFocusVisible:d,focusProps:p}=Es(),f=kf("tooltip"),m=void 0===i.isOpen?l||d:i.isOpen,{triggerProps:h,layerProps:g,renderLayer:v}=gd({isOpen:m,auto:!0,snap:!0,placement:_f(e),possiblePlacements:If(e),triggerOffset:8,containerOffset:8}),y="icon"in i?t.createElement(pf,{alignItems:"center"},t.createElement(Tf,null,i.icon)," ",i.content):"label"in i&&i.isLabelVertical?t.createElement("div",null,t.createElement(zf,null,i.label),t.createElement("div",null,i.content)):"label"in i&&!i.isLabelVertical?t.createElement(t.Fragment,null,t.createElement(Nf,null,i.label)," ",i.content):i.content;return t.createElement(t.Fragment,null,"function"==typeof i.children?i.children({...h,...s,...p}):t.createElement("div",{...h,...s,...p},i.children),m&&v(t.createElement(Bf,{...g,zIndex:f,className:o},y)))}function _f(e){return{"top-left":"top-start","top-center":"top-center","top-right":"top-end",left:"left-center",right:"right-center","bottom-left":"bottom-start","bottom-center":"bottom-center","bottom-right":"bottom-end"}[e]}function If(e){const t=["top-center","bottom-center"],n=["left-center","right-center"],r=["top-end","top-start","bottom-end","bottom-start"];return{"top-left":r,"top-center":t,"top-right":r,left:n,right:n,"bottom-left":r,"bottom-center":t,"bottom-right":r}[e]}const Bf=ql.div.withConfig({displayName:"TooltipContainer",componentId:"sc-11co88f-20"})([""," z-index:",";display:flex;max-width:240px;padding:calc("," / 2) ",";border-radius:",";background:",";color:",";word-break:break-word;"],df.uiTextS,(e=>e.zIndex),Dp.spacing4,Dp.spacing4,Dp.radiusBase,Dp.gray900a,Dp.gray10),Tf=ql.span.withConfig({displayName:"IconContainer3",componentId:"sc-11co88f-21"})(["display:flex;align-items:center;width:24px;height:24px;margin:-"," "," -"," -",";color:",";"],Dp.spacing1,Dp.spacing2,Dp.spacing1,Dp.spacing2,Dp.gray400),Nf=ql.span.withConfig({displayName:"LabelContainer",componentId:"sc-11co88f-22"})(["margin-right:",";color:",";"],Dp.spacing2,Dp.gray400),zf=ql.div.withConfig({displayName:"VerticalLabelContainer",componentId:"sc-11co88f-23"})(["color:",";"],Dp.gray400);function Df({children:e,tooltipPosition:n="top-left"}){const[i,s]=r(!1),d=c(null);function p(){if(d.current){const e=d.current.offsetWidth<d.current.scrollWidth;s(e)}}return function(e){void 0===e&&(e={});var t=e.onResize,n=c(void 0);n.current=t;var i=e.round||Math.round,l=c(),s=r({width:void 0,height:void 0}),d=s[0],p=s[1],f=c(!1);a((function(){return f.current=!1,function(){f.current=!0}}),[]);var m=c({width:void 0,height:void 0}),h=function(e,t){var n=c(null),r=c(null);r.current=t;var o=c(null);a((function(){i()}));var i=u((function(){var t=o.current,i=r.current,a=t||(i?i instanceof Element?i:i.current:null);n.current&&n.current.element===a&&n.current.subscriber===e||(n.current&&n.current.cleanup&&n.current.cleanup(),n.current={element:a,subscriber:e,cleanup:a?e(a):void 0})}),[e]);return a((function(){return function(){n.current&&n.current.cleanup&&(n.current.cleanup(),n.current=null)}}),[]),u((function(e){o.current=e,i()}),[i])}(u((function(t){return l.current&&l.current.box===e.box&&l.current.round===i||(l.current={box:e.box,round:i,instance:new ResizeObserver((function(t){var r=t[0],o="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",a=Pu(r,o,"inlineSize"),c=Pu(r,o,"blockSize"),l=a?i(a):void 0,s=c?i(c):void 0;if(m.current.width!==l||m.current.height!==s){var u={width:l,height:s};m.current.width=l,m.current.height=s,n.current?n.current(u):f.current||p(u)}}))}),l.current.instance.observe(t,{box:e.box}),function(){l.current&&l.current.instance.unobserve(t)}}),[e.box,i]),e.ref);o((function(){return{ref:h,width:d.width,height:d.height}}),[h,d.width,d.height])}({ref:d,onResize:()=>{p()}}),l((()=>{p()}),[]),t.createElement(Pf,{ref:d},i?t.createElement(Sf,{content:e,position:n,timing:"delay"},(n=>t.createElement("span",{...n},e))):e)}const Pf=ql.span.withConfig({displayName:"StyledText",componentId:"sc-11co88f-24"})(["display:block;overflow:hidden;min-width:0;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;"]),Of=ql.div.withConfig({displayName:"HeaderStyled1",componentId:"sc-11co88f-25"})(["display:grid;grid-template-areas:'thumbnail title icon' 'thumbnail detail icon';grid-template-columns:auto 1fr auto;padding:var(--card-content-padding);"]),Af=ql.div.withConfig({displayName:"ThumbnailContainer3",componentId:"sc-11co88f-26"})(["grid-area:thumbnail;margin-top:2px;margin-right:",";"],Dp.spacing4),Rf=ql.div.withConfig({displayName:"Title4",componentId:"sc-11co88f-27"})([""," grid-area:title;min-width:0;color:",";overflow-wrap:break-word;"],df.uiTextM,Dp.gray800),Ff=ql.div.withConfig({displayName:"Detail",componentId:"sc-11co88f-28"})([""," grid-area:detail;min-width:0;margin-top:",";color:",";overflow-wrap:break-word;"],df.uiTextS,Dp.spacing2,Dp.gray600),Lf=ql.div.withConfig({displayName:"IconContainer2",componentId:"sc-11co88f-29"})(["z-index:2;display:grid;grid-area:icon;align-items:center;margin-left:",";color:",";"],Dp.spacing2,Dp.gray600),Mf=ql.div.withConfig({displayName:"AdditionalInfoStyled",componentId:"sc-11co88f-30"})([""," padding:",";border-top:1px solid ",";color:",";"],df.uiTextS,(e=>"all"===e.padding?"var(--card-content-padding)":"0"),Dp.gray100a,Dp.colorText),jf=d((({children:e,isDisabled:n=!1,isPressed:r=!1,tooltip:o,"aria-label":i,...a},c)=>{const{isFocusVisible:l,focusProps:s}=Es(),u=t.createElement(Hf,{disabled:n,type:"button",isFocusVisible:l,ref:c,isPressed:r,"aria-label":i,...s,...a},e);return o?t.createElement(Sf,{timing:"delay",content:o},u):u})),Hf=ql.button.withConfig({displayName:"ContextActionButtonStyled",componentId:"sc-11co88f-31"})(["display:inline-flex;vertical-align:middle;flex-wrap:nowrap;justify-content:center;align-items:center;box-sizing:border-box;min-width:40px;height:32px;padding:0 ",";border:none;border-radius:",";background-color:transparent;box-shadow:0 0 0 1px ",";font-weight:400;font-style:normal;font-size:",";font-family:",";line-height:",";letter-spacing:normal;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;fill:currentColor;transition-duration:0.1s;transition-property:background-color,border-color,box-shadow,color;",""],Dp.spacing3,Dp.brandRadiusBase,Dp.gray100a,Dp.fontSize75,Dp.brandFontStackBase,Dp.lineHeightBase,(e=>{const t=Tl(["background-color:",";color:",";box-shadow:0 0 0 1px ",";"],Dp.gray10,Dp.gray800,Dp.gray100a);return Tl(["background-color:rgb("," / 90%);color:",";"," &:hover{background-color:",";color:",";box-shadow:",",",";}&:active{","}&:disabled{background-color:rgb("," / 70%);color:",";box-shadow:0 0 0 1px ",";cursor:default;}"],Dp["white-rgb"],Dp.gray600a,e.isPressed&&t,Dp.gray10,Dp.gray800,Dp.elevation1,Dp.elevationStatic,t,Dp["white-rgb"],Dp.gray200a,Dp.gray100a)})),Uf=ql.div.withConfig({displayName:"ImagesStyled",componentId:"sc-11co88f-32"})(["display:grid;grid-template-rows:1fr 1fr;grid-template-columns:3fr 2fr;gap:",";min-height:10px;"],Dp.spacing1),Vf=ql.img.withConfig({displayName:"ImgStyled",componentId:"sc-11co88f-33"})(["object-fit:",";width:100%;height:100%;min-height:0;max-height:410px;&:nth-child(1){grid-row:1 / -1;grid-column:1;}&:nth-child(1):last-child{grid-column:span 2;}&:nth-child(2){grid-row:1;grid-column:2;}&:nth-child(2):last-child{grid-row:span 2;}&:nth-child(3){grid-row:2;grid-column:2;}"],(e=>"fill"===e.contentResize?"cover":"scale-down"));function $f({children:e,...n}){return t.createElement(Wf,{...n},t.createElement(Gf,null,e))}const Wf=ql.div.withConfig({displayName:"Placeholder1",componentId:"sc-11co88f-34"})(["display:grid;place-items:center;min-height:100px;"]),Gf=ql.div.withConfig({displayName:"IconContainer1",componentId:"sc-11co88f-35"})(["display:grid;place-items:center;width:60px;height:70px;border-radius:",";background:",";color:",";"],Dp.brandRadiusBase,Dp.gray10,Dp.gray600);function qf(e){return o((()=>e+"-"+vd()),[e])}const Yf=ql.div.withConfig({displayName:"Placeholder",componentId:"sc-11co88f-36"})(["display:flex;justify-content:center;align-items:center;min-height:100px;background:",";"],(e=>e.backgroundColor));function Kf({children:e,variant:n="outlined",isSelected:r=!1,contextAction:i,onClick:a,onSelect:c,as:l="button",href:s,to:u,selectButtonAriaLabel:d,"aria-label":p,...f}){const m=qf("card-title"),h=o((()=>({variant:n,isSelected:r,cardTitleId:m})),[r,n,m]);return t.createElement(tf.Provider,{value:h},t.createElement(Xf,{variant:n,isSelected:r,...f},t.createElement(Zf,{as:l,to:u,href:"a"===l?s:void 0,type:"button"===l?"button":void 0,onClick:function(e){if(c&&(e.metaKey||e.ctrlKey||e.shiftKey))return c(e),void e.preventDefault();null==a||a(e)},"aria-labelledby":p?void 0:m,"aria-label":p},e),i?t.createElement(Qf,null,i):null,c?t.createElement(Jf,{type:"button",isSelected:r,onClick:c,"aria-label":d},t.createElement(ku,null)):null))}Kf.Frame=function({children:e,progressBar:n,badge:r,icon:o,isCheckeredBackground:i=!1,height:a="fixed",...c}){const{variant:l,isSelected:s}=nf();return t.createElement(rf,{isCheckeredBackground:i,height:a,...c},"clean"===l&&s&&t.createElement(of,null),t.createElement(af,{height:a},e),t.createElement(cf,null),n?t.createElement(uf,null,n):null,r?t.createElement(lf,null,t.createElement(Pp,{color:"black-alpha"},r)):null,o?t.createElement(sf,null,o):null)},Kf.Header=function({thumbnail:e,title:n,detail:r,icon:o,isNotTruncated:i=!1,...a}){const{cardTitleId:c}=nf();return t.createElement(Of,{...a},e?t.createElement(Af,null,e):null,t.createElement(Rf,{id:c},i?n:t.createElement(Df,null,n)),r?t.createElement(Ff,null,i?r:t.createElement(Df,null,r)):null,o?t.createElement(Lf,null,o):null)},Kf.AdditionalInfo=function({children:e,padding:n="all",...r}){return t.createElement(Mf,{padding:n,...r},e)},Kf.ContextActionButton=jf,Kf.Images=function({children:e,...n}){return t.createElement(Uf,{...n},e)},Kf.Img=function({src:e,contentResize:n="fill",alt:r="",...o}){return t.createElement(Vf,{src:e,alt:r,contentResize:n,...o})},Kf.FilePlaceholder=$f,Kf.PlaceholderIcon=$f,Kf.IconPlaceholder=function({children:e,backgroundColor:n=Dp.gray25,iconColor:r=Dp.gray400a,...o}){const i=t.useMemo((()=>({color:r,size:"48px",attr:{"aria-hidden":"true"},style:{verticalAlign:"middle"}})),[r]);return t.createElement(Yf,{...o,backgroundColor:n},t.createElement(ks.Provider,{value:i},e))};const Xf=ql.div.withConfig({displayName:"Container7",componentId:"sc-11co88f-37"})(["--card-border-radius:",";--card-inner-border-color:",";--card-inner-border-width:1px;--card-selected-border-color:var(--userComponentCardSelectedColor,",");--card-selected-border-width:2px;--card-elevation:",";--card-frame-overlay-color:transparent;--card-actions-opacity:0;&:hover{--card-frame-overlay-color:",";--card-actions-opacity:1;}&:focus-within{--card-actions-opacity:1;}"," position:relative;box-sizing:border-box;min-width:224px;border-radius:var(--card-border-radius);background:",";box-shadow:var(--card-box-shadow);"],Dp.radiusBase,Dp.gray100a,Dp.brandPrimary500,Dp.elevation1,Dp.gray100a,(e=>"outlined"===e.variant?Tl(["--card-frame-border-radius:var(--card-border-radius) var(--card-border-radius) 0 0;--card-box-shadow:var(--card-elevation),inset 0 0 0 var(--card-inner-border-width) var(--card-inner-border-color);--card-frame-border-bottom-width:0;--card-content-padding:"," ",";&:hover{--card-inner-border-color:",";--card-elevation:",";}",""],Dp.spacing4,Dp.spacing5,Dp.gray200a,Dp.elevation2,e.isSelected?Tl(["--card-inner-border-width:var(--card-selected-border-width);--card-inner-border-color:var(--card-selected-border-color);&:hover{--card-inner-border-color:var(--card-selected-border-color);}"]):""):Tl(["--card-frame-border-radius:var(--card-border-radius);--card-box-shadow:none;--card-frame-border-bottom-width:1px;--card-content-padding:"," 0;"],Dp.spacing3)),Dp.gray10),Zf=ql.button.withConfig({displayName:"MainAction",componentId:"sc-11co88f-38"})(["display:block;box-sizing:border-box;width:100%;padding:0;border:none;background:none;font:inherit;text-align:left;text-decoration:none;cursor:pointer;"]),Jf=ql.button.withConfig({displayName:"SelectButton",componentId:"sc-11co88f-39"})(["position:absolute;top:",";right:",";z-index:2;display:grid;place-items:center;box-sizing:border-box;width:32px;height:32px;padding:0;border:2px solid rgb(var(--white-rgb) / 80%);border-radius:",";background:none;color:transparent;opacity:",";cursor:pointer;&:hover{border-color:",";}&:active{border-width:3px;border-color:",";}",""],Dp.spacing4,Dp.spacing4,Dp.radiusCircle,(e=>e.isSelected?"1":"var(--card-actions-opacity)"),Dp.white,Dp.white,(e=>e.isSelected&&Tl(["border:none;background:var(--userComponentCardSelectedColor,",");color:",";&:hover{background:var(--userComponentCardSelectedColorHover,",");box-shadow:",";}&:active{background:var(--userComponentCardSelectedColorActive,",");box-shadow:none;}"],Dp.brandPrimary500,Dp.white,Dp.brandPrimary600,Dp.elevation1,Dp.brandPrimary700))),Qf=ql.div.withConfig({displayName:"ActionContainer",componentId:"sc-11co88f-40"})(["position:absolute;top:",";left:",";z-index:2;opacity:var(--card-actions-opacity);"],Dp.spacing4,Dp.spacing4);function em(){return t.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M1.793 5.621a1 1 0 000 1.415l2.121 2.12a.995.995 0 00.773.292.996.996 0 00.641-.291l4.95-4.95a1 1 0 00-1.414-1.414L4.621 7.036 3.207 5.62a1 1 0 00-1.414 0z"}))}function tm({isChecked:e=!1,isDisabled:n=!1,isIndeterminate:r=!1,inputProps:o,children:i,onChange:a=(()=>{}),id:c,...l}){const{isFocusVisible:s,focusProps:u}=Es();return t.createElement(nm,{isIndeterminate:r,isDisabled:n,isChecked:e,className:"ds-checkbox__pointer-events-wrapper",...l},t.createElement(im,{type:"checkbox",ref:e=>{e&&(e.indeterminate=r)},"aria-checked":r?"mixed":e,disabled:n,checked:e,onChange:a,id:c,...u,...o}),t.createElement(rm,null,t.createElement(om,{isFocusVisible:s,isIndeterminate:r,isDisabled:n,isChecked:e},e&&t.createElement(em,null),r&&t.createElement(am,null))),i&&t.createElement(cm,{isDisabled:n},i))}tm.pointerEventsClassname="ds-checkbox__pointer-events-wrapper";const nm=ql.label.withConfig({displayName:"Container6",componentId:"sc-11co88f-41"})([""," display:flex;align-items:flex-start;margin:0;padding:"," 0;cursor:",";user-select:none;"],df.uiTextM,Dp.spacing1,(e=>!e.isDisabled&&"pointer")),rm=ql.div.withConfig({displayName:"IndicatorPosition1",componentId:"sc-11co88f-42"})(["display:flex;flex:none;align-items:center;&::before{content:'';}"]),om=ql.div.withConfig({displayName:"Indicator3",componentId:"sc-11co88f-43"})(["position:relative;display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:16px;height:16px;border:2px solid ",";border-radius:",";background-color:transparent;&::before{content:'';position:absolute;top:-5px;right:-5px;bottom:-5px;left:-5px;border:"," solid transparent;border-radius:calc( "," + 3px );}"," "," "," "," ",":hover &,",":focus-visible &{"," background-color:",";}"],Dp.componentCheckboxBorderUnchecked,Dp.radiusMedium,Dp.focusRingWidth,Dp.radiusMedium,(e=>e.isFocusVisible&&Tl(["border-color:",";&::before{border-color:",";}"],Dp.componentCheckboxBorderUncheckedFocus,e.isChecked||e.isIndeterminate?Dp.focusRingColorPrimary:Dp.focusRingColorSecondary)),(e=>e.isChecked&&Tl(["border-color:transparent;background-color:",";fill:#fff;"],Dp.blue500)),(e=>e.isIndeterminate&&Tl(["border-color:transparent;background-color:",";"],Dp.blue500)),(e=>e.isDisabled&&Tl(["border-color:transparent;background-color:",";fill:",";"],Dp.componentCheckboxFillDisabled,Dp.componentCheckboxCheckmarkColorDisabled)),".ds-checkbox__pointer-events-wrapper",".ds-checkbox__pointer-events-wrapper",(e=>!e.isChecked&&!e.isIndeterminate&&!e.isDisabled&&`border-color: ${Dp.componentCheckboxBorderUncheckedHover};`),(e=>!e.isChecked&&!e.isIndeterminate||e.isDisabled?void 0:Dp.blue600)),im=ql.input.withConfig({displayName:"Input2",componentId:"sc-11co88f-44"})(["position:absolute;overflow:hidden;clip:rect(0,0,0,0);width:1px;height:1px;margin:0 -1px -1px 0;padding:0;border:0;white-space:nowrap;clip-path:inset(50%);"]),am=ql.div.withConfig({displayName:"IndeterminateMark",componentId:"sc-11co88f-45"})(["width:8px;height:2px;border-radius:",";background-color:",";"],Dp.radiusPill,Dp.white),cm=ql.div.withConfig({displayName:"Label4",componentId:"sc-11co88f-46"})(["display:block;margin-left:8px;color:",";"],(e=>e.isDisabled?Dp.gray400:Dp.colorText)),lm=n(void 0);function sm(e){if(!i(lm))throw new Error(`<Form.${e}> cannot be rendered outside the <Form.Group> component`)}const um=ql.div.withConfig({displayName:"GroupStyled",componentId:"sc-11co88f-47"})(["margin:0;padding:"," 0;border:0;"],Dp.spacing3),dm=ql.div.withConfig({displayName:"HelperTextStyled",componentId:"sc-11co88f-48"})([""," display:flex;align-items:center;margin-top:",";padding-top:",";color:",";"],df.uiTextS,Dp.spacing2,(e=>e.hasIcon?"2px":"0"),(e=>e.isInvalid?Dp.red500:Dp.gray600)),pm=ql.div.withConfig({displayName:"Icon3",componentId:"sc-11co88f-49"})(["flex:none;align-self:flex-start;margin-top:-2px;margin-right:",";"],Dp.spacing2),fm=ql.label.withConfig({displayName:"LabelStyled",componentId:"sc-11co88f-50"})([""," display:block;margin:0 0 ",";padding:0;border:none;color:",";"],df.uiTextM,Dp.spacing3,Dp.colorText),mm=ql.span.withConfig({displayName:"SecondaryText",componentId:"sc-11co88f-51"})(["color:",";"],Dp.gray600),hm=ql.span.withConfig({displayName:"Space",componentId:"sc-11co88f-52"})(["display:inline-block;width:",";"],Dp.spacing3),gm=ql.div.withConfig({displayName:"RowStyled",componentId:"sc-11co88f-53"})(["display:grid;grid-template-columns:repeat(auto-fit,minmax(10px,1fr));gap:",";"],Dp.spacing4),vm=ql.div.withConfig({displayName:"InputRowStyled",componentId:"sc-11co88f-54"})(["display:flex;& > *{min-width:min-content;&:not(:first-child){margin-left:",";}}"],Dp.spacing4);function ym({children:e,onSubmit:n,...r}){return t.createElement("form",{onSubmit:n,...r},e)}ym.Group=function({children:e,...n}){return t.createElement(lm.Provider,{value:"group"},t.createElement(um,{...n},e))},ym.HelperText=function({icon:e,isInvalid:n,children:r,...o}){return sm("HelperText"),t.createElement(dm,{isInvalid:n,hasIcon:Boolean(e),...o},e&&t.createElement(pm,null,e),r)},ym.Label=function({children:e,secondaryText:n,htmlFor:r,id:o,...i}){return sm("Label"),t.createElement(fm,{htmlFor:r,id:o,...i},e,n?t.createElement(mm,null,t.createElement(hm,null," "),n):null)},ym.Row=function({children:e,...n}){return t.createElement(gm,{...n},e)},ym.InputRow=function({children:e,...n}){return sm("InputRow"),t.createElement(vm,{...n},e)},ym.IconError=function(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"}}]})(e)},ql.ul.withConfig({displayName:"List1",componentId:"sc-11co88f-55"})(["margin:0;padding:0;list-style:none;"]),ql.li.withConfig({displayName:"Item5",componentId:"sc-11co88f-56"})(["&:not(:last-child){margin-bottom:",";}"],Dp.spacing2);const bm=ql.span.withConfig({displayName:"DeleteButton",componentId:"sc-11co88f-57"})(["display:flex;justify-content:center;align-items:center;width:24px;height:24px;margin:0 calc("," * -1) 0 ",";padding:0;border:0;border-radius:",";background:none;color:",";outline:0;cursor:pointer;&:hover{background:",";color:",";}&:active{background:",";}"],Dp.spacing3,Dp.spacing3,Dp.radiusCircle,(e=>e.isDisabled?Dp.gray400:Dp.gray600),Dp.gray50a,Dp.gray800,Dp.gray100a);ql.button.withConfig({displayName:"ChipStyled",componentId:"sc-11co88f-58"})(["display:inline-flex;align-items:center;border:0;border-radius:",";background-color:",";color:",";outline:none;font-family:",";white-space:nowrap;",";",";",";",";",";"],Dp.radiusPill,Dp.gray50,Dp.gray800,Dp.brandFontStackBase,(e=>e.onClick&&Tl(["cursor:pointer;&:hover{background-color:",";","{color:",";}}&:active{background-color:",";}"],Dp.gray75,bm,Dp.gray800,Dp.gray100)),(e=>e.isFocusVisible&&Tl(["background:",";box-shadow:inset ",";outline:0;"],Dp.gray25,Dp.elevationStatic)),(e=>"m"===e.size&&Em),(e=>"s"===e.size&&xm),(e=>e.isDisabled&&Cm));const wm=ql.div.withConfig({displayName:"ThumbnailContainer2",componentId:"sc-11co88f-59"})(["display:block;"]),xm=Tl([""," height:32px;padding:0 12px;","{margin:0 "," 0 calc("," * -1);}"],df.uiTextS,wm,Dp.spacing3,Dp.spacing3),Em=Tl([""," height:40px;padding:0 16px;","{margin:0 "," 0 calc("," * -1);}"],df.uiTextM,wm,Dp.spacing3,Dp.spacing4),Cm=Tl(["background-color:",";color:",";pointer-events:none;"],Dp.gray25,Dp.gray400);function km(e,t){a((()=>{function n(n){n.key===e&&t(n)}return window.addEventListener("keydown",n),()=>{window.removeEventListener("keydown",n)}}),[t,e])}ql.div.withConfig({displayName:"IconContainer",componentId:"sc-11co88f-60"})(["width:24px;height:24px;margin-left:calc("," * -1);padding:0 "," 0 0;"],Dp.spacing2,Dp.spacing3),ql.div.withConfig({displayName:"StyledHeaderCaption",componentId:"sc-11co88f-61"})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:",";margin-left:",";",""],Dp.spacing4,Dp.spacing4,df.uiTextM),ql.div.withConfig({displayName:"StyledContainer",componentId:"sc-11co88f-62"})(["z-index:",";padding:",";border-radius:",";background-color:",";box-shadow:",",",";"],(e=>e.zIndex),Dp.spacing4,Dp.radiusMedium,Dp.white,Dp.elevationStatic,Dp.elevation2),ql.div.withConfig({componentId:"sc-11co88f-63"})(["padding-top:",";"],Dp.spacing4),Wl(["",""],Tl([".rdp{background-color:",";color:",";","}.rdp-caption{display:flex;justify-content:space-between;align-items:center;}.rdp-table{padding:",";border-spacing:",";}.rdp-head_cell{height:30px;padding:0;text-align:center;","}.rdp-cell{padding:0;}.rdp-day{width:32px;height:32px;border:none;border-radius:",";background-color:",";color:",";outline:none;font-family:inherit;cursor:pointer;"," &_disabled{color:",";pointer-events:none;}&:focus-visible{background-color:",";color:",";box-shadow:0 0 0 2px ",",inset 0 0 0 1px ",";}&:hover{background-color:",";color:",";}}.rdp-day_today{background-color:",";color:",";font-weight:600;}.rdp-day_selected{background-color:",";color:",";&.rdp-day_outside,&.rdp-day_disabled{color:",";}&:focus-visible{background-color:",";color:",";box-shadow:0 0 0 2px ",",inset 0 0 0 1px ",";}&:hover{background-color:",";color:",";}}.rdp-day_outside{color:",";}.rdp-vhidden{display:none;}"],Dp.white,Dp.gray800,df.uiTextS,Dp.spacing1,Dp.spacing1,df.uiTextS,Dp.radiusMedium,Dp.white,Dp.gray600,df.uiTextS,Dp.gray200,Dp.gray50,Dp.gray800,Dp.gray200a,Dp.white,Dp.gray50,Dp.gray800,Dp.gray25,Dp.gray800,Dp.blue500,Dp.white,Dp.blue200,Dp.blue500,Dp.white,Dp.blue500,Dp.white,Dp.blue600,Dp.white,Dp.gray200));const Sm=ql.div.withConfig({displayName:"InputWrapper",componentId:"sc-11co88f-64"})([""," display:flex;align-items:center;box-sizing:border-box;width:100%;height:var(--ds-input-height);padding:0 var(--ds-input-side-padding);border:1px solid ",";border-radius:",";background:",";&:hover{border-color:",";box-shadow:",";}&:focus-within{border-color:",";box-shadow:0 0 0 3px ",";}",";",";"],(e=>e.isSmall?Tl(["--ds-input-height:32px;--ds-input-side-padding:",";--ds-input-icons-gap:",";"],Dp.spacing4,Dp.spacing2):Tl(["--ds-input-height:40px;--ds-input-side-padding:",";--ds-input-icons-gap:",";"],Dp.spacing5,Dp.spacing3)),(e=>e.isInvalid?Dp.red500:Dp.gray100),Dp.radiusMedium,Dp.gray10,(e=>e.isInvalid?Dp.red600:Dp.gray200),Dp.elevation1,(e=>e.isInvalid?Dp.red500:Dp.gray300),Dp.gray100,(e=>e.isDisabled&&Tl(["border-color:",";background:",";color:",";cursor:not-allowed;&:hover{border-color:",";box-shadow:none;}"],Dp.gray100,Dp.gray25,Dp.gray600,Dp.gray100)),(e=>"clean"===e.variant&&Tl(["border-color:transparent;box-shadow:none;&:hover{border-color:transparent;background:",";box-shadow:none;}&:focus-within{border-color:transparent;background:",";box-shadow:none;}"],Dp.gray25a,Dp.gray50a))),_m=ql.input.withConfig({displayName:"InputStyled",componentId:"sc-11co88f-65"})(["&&&{flex:1;min-width:0;height:100%;margin:0;padding:0;border:0;background:transparent;color:",";box-shadow:none;outline:none;font-family:",";"," &::-webkit-inner-spin-button,&::-webkit-outer-spin-button{display:none;margin:0;appearance:none;}&[type='number']{appearance:textfield;}&::placeholder{color:",";}&:disabled{color:",";cursor:not-allowed;&::placeholder{color:",";}}}"],Dp.colorText,Dp.brandFontStackBase,df.uiTextM,Dp.gray400,Dp.gray600,Dp.gray400),Im=ql.div.withConfig({displayName:"LeftItems",componentId:"sc-11co88f-66"})(["display:flex;gap:var(--ds-input-icons-gap);align-items:center;margin-right:var(--ds-input-icons-gap);"]),Bm=ql.div.withConfig({displayName:"IconLeftContainer",componentId:"sc-11co88f-67"})(["flex:none;margin-left:calc("," * -1);color:",";"],Dp.spacing2,Dp.gray600),Tm=ql.div.withConfig({displayName:"PrefixContainer",componentId:"sc-11co88f-68"})(["color:",";"],(e=>e.isDisabled?Dp.gray400:Dp.gray600)),Nm=ql.div.withConfig({displayName:"RightItems",componentId:"sc-11co88f-69"})(["display:flex;flex:none;gap:var(--ds-input-icons-gap);align-items:center;margin-right:calc("," * -1);margin-left:var(--ds-input-icons-gap);"],Dp.spacing2),zm=ql.div.withConfig({displayName:"SuffixContainer",componentId:"sc-11co88f-70"})(["color:",";&:last-child{margin-right:",";}"],(e=>e.isDisabled?Dp.gray400:Dp.gray600),Dp.spacing2),Dm=ql.div.withConfig({displayName:"IconRightContainer",componentId:"sc-11co88f-71"})(["display:grid;flex:none;align-items:center;color:",";"],Dp.gray600),Pm=ql.button.withConfig({displayName:"ClearButton",componentId:"sc-11co88f-72"})(["flex:none;padding:0;border:none;background:transparent;color:",";cursor:pointer;&:hover,&:focus{color:",";outline:none;}&:active{color:",";}"],Dp.gray200a,Dp.gray300a,Dp.gray400a);function Om({icon:e,onClick:n,isTooltipShown:r=!1,label:o,isDisabled:i=!1,...a}){const{isFocusVisible:c,focusProps:l}=Es();return r?t.createElement(Sf,{content:o,isOpen:!!c||void 0},(r=>t.createElement(Am,{...a,...r,...l,onClick:n,disabled:i,type:"button","aria-label":o,isFocusVisible:c},e))):t.createElement(Am,{...a,...l,onClick:n,disabled:i,type:"button","aria-label":o,isFocusVisible:c},e)}const Am=ql.button.withConfig({displayName:"InteractiveIconWrapper",componentId:"sc-11co88f-73"})(["width:24px;height:24px;padding:0;border:none;background:transparent;color:",";cursor:pointer;&:hover,&:active{color:",";}&:disabled{color:",";cursor:not-allowed;}",""],Dp.gray600,Dp.gray800,Dp.gray200,(e=>e.isFocusVisible&&Tl(["border-radius:2px;color:",";box-shadow:0 0 0 2px ",";outline:none;"],Dp.gray800,Dp.gray200))),Rm=d((({hasClearButton:e=!1,icon:n,iconRight:o,id:i,name:a,isDisabled:l=!1,isReadOnly:s=!1,isInvalid:u=!1,isSmall:d=!1,onBlur:p,onChange:f,onFocus:m,onKeyDown:h,placeholder:g,type:v="text",value:y,variant:b="outlined","aria-label":w,"aria-labelledby":x,"aria-describedby":E,inputRef:C,maxLength:k,prefix:S,suffix:_,...I},B)=>{const[T,N]=r(!1),z=c(null),D=C||z,P=e&&y.length>0&&"number"!==v&&"password"!==v,O="password"===v?T?"text":"password":v;function A(){var e;null==D||null===(e=D.current)||void 0===e||e.focus()}const R=Boolean(n||S),F="password"===v,L=Boolean(!F&&(P||o)),M=Boolean(L||F||_);return t.createElement(Sm,{...I,isDisabled:l,isInvalid:u,isSmall:d,onClick:A,ref:B,variant:b},R&&t.createElement(Im,null,n&&t.createElement(Bm,null,n),S&&t.createElement(Tm,{isDisabled:l},S)),t.createElement(_m,{autoComplete:"off",autoCorrect:"off",disabled:l,isDisabled:l,readOnly:s,onBlur:p,onChange:function(e){const t=e.currentTarget.value;null==f||f(t)},onFocus:m,onKeyDown:h,placeholder:g,ref:D,spellCheck:!1,type:O,value:y,"aria-label":w,"aria-labelledby":x,"aria-describedby":E,id:i,name:a,maxLength:k}),M&&t.createElement(Nm,null,_&&t.createElement(zm,{isDisabled:l},_),F&&t.createElement(Om,{"data-testid":"ds-input-password-visibility-button",onClick:()=>(N((e=>!e)),void A()),label:T?"Hide password":"Show password",icon:T?t.createElement($s,null):t.createElement(Vs,null),isTooltipShown:!0}),P&&t.createElement(Pm,{"data-testid":"ds-input-clear-button",onClick:function(){null==f||f(""),A()},type:"button"},t.createElement(Cu,null)),o&&t.createElement(Dm,null,o)))}));function Fm({direction:e="horizontal",...n}){return"horizontal"===e?t.createElement(Lm,{...n}):t.createElement(Mm,{role:"separator",...n})}const Lm=ql.hr.withConfig({displayName:"HorizontalDivider",componentId:"sc-11co88f-74"})(["box-sizing:content-box;height:1px;margin:0;padding:"," 0;border:none;background:",";background-clip:content-box;"],Dp.spacing3,Dp.componentDividerColor),Mm=ql.div.withConfig({displayName:"VerticalDivider",componentId:"sc-11co88f-75"})(["box-sizing:content-box;width:1px;margin:0;padding:0 ",";background:",";background-clip:content-box;"],Dp.spacing2,Dp.componentDividerColor),jm=ql.div.withConfig({displayName:"ArrowStyled",componentId:"sc-11co88f-76"})(["margin-right:calc("," * -1);margin-left:calc("," * -1);"],Dp.spacing2,Dp.spacing2),Hm=n(null);function Um(){const e=i(Hm);if(!e)throw new Error("Dropdown compound components cannot be rendered outside the Dropdown component");return e}function Vm(...e){return t=>{for(const n of e)n&&("function"==typeof n?n(t):n.current=t)}}const $m=n(void 0),Wm=d((({children:e,minWidth:n,...r},o)=>{const l=kf("dropdown"),s=c(null),{dispatch:u}=Um(),d=i($m);return a((()=>()=>{u({type:"purge-menu-items",payload:d})}),[e,u,d]),t.createElement(Gm,{minWidth:n,role:"menu",ref:Vm(o,s),zIndex:l,...r},e)})),Gm=ql.div.withConfig({displayName:"ContainerStyled",componentId:"sc-11co88f-77"})(["z-index:",";overflow-y:auto;box-sizing:border-box;min-width:",";max-width:336px;max-height:calc(36px * 9.5 + ",");padding:"," 0;border-radius:",";background:",";color:",";box-shadow:",",",";&:empty{display:none;}"],(e=>e.zIndex),(e=>e.minWidth?e.minWidth:"224px"),Dp.spacing3,Dp.spacing3,Dp.radiusBase,Dp.gray10,Dp.colorText,Dp.elevationStatic,Dp.elevation2);function qm({children:e,isChecked:n,isDisabled:r,inputProps:o,onChange:i=(()=>{}),...a}){const{isFocusVisible:c,focusProps:l}=Es();return t.createElement(Ym,{isDisabled:r,className:"ds-switch__pointer-events-wrapper",...a},e&&t.createElement(Km,null,e),t.createElement(Xm,null,t.createElement(Zm,null,t.createElement("input",{role:"switch",type:"checkbox",disabled:r,onChange:i,checked:n,"aria-checked":n,...l,...o}),t.createElement(Jm,{"aria-hidden":"true",isDisabled:r,isFocusVisible:c}))))}qm.pointerEventsClassname="ds-switch__pointer-events-wrapper";const Ym=ql.label.withConfig({displayName:"SwitchStyled",componentId:"sc-11co88f-78"})([""," display:flex;align-items:baseline;margin:0;padding:"," 0;color:",";cursor:",";user-select:none;"],df.uiTextM,Dp.spacing1,Dp.gray800,(e=>!e.isDisabled&&"pointer")),Km=ql.span.withConfig({displayName:"Label2",componentId:"sc-11co88f-79"})(["align-self:center;margin-right:",";"],Dp.spacing4),Xm=ql.span.withConfig({displayName:"ToggleAlignment",componentId:"sc-11co88f-80"})(["margin-left:auto;&::before{content:'\\200B';display:inline-block;vertical-align:middle;}"]),Zm=ql.span.withConfig({displayName:"Toggle",componentId:"sc-11co88f-81"})(["position:relative;display:inline-block;vertical-align:middle;width:36px;height:22px;input{position:absolute;opacity:0;}"]),Jm=ql.span.withConfig({displayName:"Indicator2",componentId:"sc-11co88f-82"})(["position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;width:100%;height:100%;border-radius:",";background:",";cursor:",";transition:0.2s;&::before{content:'';position:absolute;right:calc(100% - 20px);bottom:2px;left:2px;height:18px;border-radius:50%;background-color:",";box-shadow:",";transition:0.2s;}"," input:checked + &{background-color:",";opacity:",";&::before{right:2px;left:calc(100% - 20px);background-color:",";}}"," ",":hover &,",":focus-visible &{background-color:",";}",":hover input:checked + &,",":focus-visible input:checked + &{background-color:",";}",""],Dp.radiusPill,(e=>e.isDisabled?Dp.gray100:Dp.gray75),(e=>!e.isDisabled&&"pointer"),(e=>e.isDisabled?Dp.gray50:Dp.gray10),Dp.elevation2,Zm,(e=>e.isDisabled?Dp.gray400:Dp.blue500),(e=>e.isDisabled?"0.5":"1"),(e=>e.isDisabled?Dp.gray100:Dp.gray10),(e=>!e.isDisabled&&Tl(["",":active input + &::before{right:calc(100% - 24px);left:2px;border-radius:9px;}",":active input:checked + &::before{right:2px;left:calc(100% - 24px);}"],".ds-switch__pointer-events-wrapper",".ds-switch__pointer-events-wrapper")),".ds-switch__pointer-events-wrapper",".ds-switch__pointer-events-wrapper",Dp.gray100,".ds-switch__pointer-events-wrapper",".ds-switch__pointer-events-wrapper",(e=>e.isDisabled?Dp.gray400:Dp.blue600),(e=>e.isFocusVisible&&Tl([""," input + &{background-color:",";&::after{content:'';position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border:2px solid ",";border-radius:100px;}}"," input:checked + &::after{border-color:",";}"],Zm,Dp.gray100,Dp.gray200,Zm,Dp.blue500))),Qm=ql.div.withConfig({displayName:"ItemWrapper1",componentId:"sc-11co88f-83"})(["position:relative;"]),eh=ql.button.withConfig({displayName:"ItemStyled1",componentId:"sc-11co88f-84"})([""," display:flex;align-items:center;box-sizing:border-box;width:100%;height:36px;margin:0;padding:0 ",";border:none;background:none;color:",";outline:none;font-family:",";cursor:pointer;"," "," &:hover{background:",";color:",";}&:active{background:",";color:",";}&:disabled{background:none;color:",";cursor:default;}"],df.uiTextS,Dp.spacing5,(e=>e.isChecked?Dp.gray800:Dp.gray600),Dp.brandFontStackBase,(e=>e.isSubmenuOpen&&Tl(["background:",";color:",";"],Dp.gray25,Dp.gray800)),(e=>e.isHighlighted&&Tl(["background:",";color:",";"],Dp.gray50,Dp.gray800)),Dp.gray25,Dp.gray800,Dp.gray50,Dp.gray800,Dp.gray400),th=ql.span.withConfig({displayName:"CheckboxContainer1",componentId:"sc-11co88f-85"})(["display:flex;flex:none;justify-content:center;align-items:center;width:24px;height:24px;margin-right:",";"],Dp.spacing3),nh=ql.span.withConfig({displayName:"Icon2",componentId:"sc-11co88f-86"})(["display:flex;flex:none;justify-content:center;align-items:center;width:24px;height:24px;margin-right:",";"],Dp.spacing3),rh=ql.span.withConfig({displayName:"Label1",componentId:"sc-11co88f-87"})(["flex:1;overflow:hidden;min-width:0;text-align:left;text-overflow:ellipsis;white-space:nowrap;"]),oh=ql.span.withConfig({displayName:"RightContainer",componentId:"sc-11co88f-88"})(["flex:none;margin:0 ",";&:last-child{margin-right:calc("," * -1);}"],Dp.spacing3,Dp.spacing2),ih=ql.span.withConfig({displayName:"SubmenuIconContainer",componentId:"sc-11co88f-89"})(["flex:none;margin-right:calc("," * -1);margin-left:",";color:",";",":hover,",":active{color:",";}"],Dp.spacing3,Dp.spacing3,(e=>e.isActive?Dp.gray400:Dp.gray200),eh,eh,Dp.gray400),ah=ql(Wm).withConfig({displayName:"SubMenuContainer",componentId:"sc-11co88f-90"})(["margin-top:calc("," * -1);"],Dp.spacing3),ch=ql.div.withConfig({displayName:"SectionTitleStyled",componentId:"sc-11co88f-91"})([""," overflow:hidden;padding:"," "," ",";color:",";text-overflow:ellipsis;white-space:nowrap;"],df.uiTextS,Dp.spacing4,Dp.spacing5,Dp.spacing3,Dp.gray800);function lh(e){return{"bottom-center":{placement:"bottom-center",possiblePlacements:["bottom-center","top-center"]},"bottom-left":{placement:"bottom-start",preferX:"left",preferY:"bottom",possiblePlacements:["bottom-start","top-start"]},"bottom-right":{placement:"bottom-end",preferX:"right",preferY:"bottom",possiblePlacements:["bottom-end","top-end"]},bottom:{placement:"bottom-start",preferX:"left",preferY:"bottom",possiblePlacements:["bottom-start","top-start"]},"top-left":{placement:"top-start",preferX:"left",preferY:"top",possiblePlacements:["top-start","bottom-start"]},"top-right":{placement:"top-end",preferX:"right",preferY:"top",possiblePlacements:["top-end","bottom-end"]},"right-center":{placement:"right-center",possiblePlacements:["right-center"]},"left-center":{placement:"left-center",possiblePlacements:["left-center"]}}[e]}const sh={isOpen:!1,isOpenedWithKeyboard:!1,items:[],highlightedItemId:"",hasSearch:!1,keepHighlight:!1};function uh(e,t){if("open"===t.type)return{...e,isOpen:!0};if("close"===t.type)return{...sh};if("toggle"===t.type)return{...sh,isOpen:!e.isOpen};if("toggle-from-keyboard"===t.type)return{...sh,isOpen:!e.isOpen,isOpenedWithKeyboard:!e.isOpen};if("highlight-current-item"===t.type){const t=e.items.find((e=>e.isSelected));return e.hasSearch&&t?{...e,highlightedItemId:t.id}:e.isOpenedWithKeyboard&&e.items.length?{...e,highlightedItemId:e.items[0].id}:e}if("highlight-item"===t.type)return{...e,highlightedItemId:t.payload,keepHighlight:!0};if("highlight-previous"===t.type){var n;if(0===e.items.length)return e;const t=null===(n=e.items.find((t=>t.id===e.highlightedItemId)))||void 0===n?void 0:n.parentId,r=e.items.filter((e=>e.parentId===t&&!e.isDisabled)),o=r.findIndex((t=>t.id===e.highlightedItemId)),i=0===o,a=r.length-1,c=-1===o||i?r[a].id:r[o-1].id;return{...e,highlightedItemId:c}}if("highlight-next"===t.type){var r;if(0===e.items.length)return e;const t=null===(r=e.items.find((t=>t.id===e.highlightedItemId)))||void 0===r?void 0:r.parentId,n=e.items.filter((e=>e.parentId===t&&!e.isDisabled)),o=n.findIndex((t=>t.id===e.highlightedItemId)),i=o===n.length-1,a=-1===o||i?n[0].id:n[o+1].id;return{...e,highlightedItemId:a}}if("highlight-submenu"===t.type){const t=e.highlightedItemId,n=e.items.find((e=>e.parentId===t));return{...e,highlightedItemId:n.id}}if("add-item"===t.type){const n=t.payload;return e.items.find((e=>e.id===n.id))?e:{...e,items:[...e.items,n]}}if("purge-menu-items"===t.type){const n=t.payload,r=e.items.filter((e=>e.parentId!==n));return{...e,items:r,highlightedItemId:e.keepHighlight?e.highlightedItemId:"",keepHighlight:!1}}return"keep-highlight"===t.type?{...e,keepHighlight:!0}:"set-search-presence"===t.type?{...e,hasSearch:!0}:void function(e,t){throw new Error("Unexpected action: "+t)}(0,t)}const dh=ql.span.withConfig({displayName:"Text2",componentId:"sc-11co88f-92"})(["width:100%;min-width:0;text-align:left;"]),ph=ql.div.withConfig({displayName:"Container4",componentId:"sc-11co88f-93"})(["--container-top-padding-compensation:calc("," * -1);position:sticky;top:var(--container-top-padding-compensation);z-index:1;box-sizing:content-box;height:40px;margin-top:var(--container-top-padding-compensation);padding:",";background:linear-gradient(180deg,#fff 22.4%,rgb(255 255 255 / 0) 100%);"],Dp.spacing3,Dp.spacing4),fh=ql.div.withConfig({displayName:"Inner",componentId:"sc-11co88f-94"})(["position:absolute;top:",";right:",";left:",";"],Dp.spacing4,Dp.spacing4,Dp.spacing4),mh=ql.div.withConfig({displayName:"TextStyled",componentId:"sc-11co88f-95"})([""," padding:"," ",";color:",";"],(e=>"item"===e.fontSize?df.uiTextS:df.uiTextM),Dp.spacing3,Dp.spacing5,Dp.gray400);const hh=ql.div.withConfig({displayName:"ConcealedActionStyled",componentId:"sc-11co88f-96"})(["width:",";opacity:",";&:focus-within{width:auto;opacity:1;}"],(e=>e.isVisible?"auto":"var(--list-item-concealead-action-width, 0)"),(e=>e.isVisible?"1":"var(--list-item-concealead-action-opacity, 0)")),gh=ql.div.withConfig({displayName:"Header1",componentId:"sc-11co88f-97"})(["display:flex;justify-content:space-between;align-items:center;padding:"," 0 ",";"],Dp.spacing3,Dp.spacing2),vh="ds-thumbnail__pointer-events-wrapper",yh=ql.div.withConfig({displayName:"OverlayStyled",componentId:"sc-11co88f-98"})(["position:absolute;top:0;left:0;display:grid;place-items:center;width:100%;height:100%;border-radius:var(--ds-thumbnail-border-radius);background:",";color:",";-webkit-mask-image:var(--ds-thumbnail-indicator-cutoff);",""],Dp.gray200a,Dp.gray10,(e=>e.isConcealed&&Tl(["opacity:0;",":hover &,",":focus-visible &{opacity:1;}"],"."+vh,"."+vh))),bh=t.createContext({indicator:"none",setIndicator:()=>null}),wh={square:{state:{l:{radius:8,offset:[4,4]},m:{radius:8,offset:[4,4]},s:{radius:8,offset:[4,4]},xs:{radius:8,offset:[7,7]}},status:{l:{radius:5,offset:[1,1]},m:{radius:5,offset:[1,1]},s:{radius:5,offset:[1,1]},xs:{radius:3,offset:[1,1]}}},circle:{state:{l:{radius:8,offset:[0,0]},m:{radius:8,offset:[2,2]},s:{radius:8,offset:[4,4]},xs:{radius:8,offset:[9,5]}},status:{l:{radius:5,offset:[-5,-5]},m:{radius:5,offset:[-1,-1]},s:{radius:5,offset:[1,1]},xs:{radius:3,offset:[-1,-1]}}}},xh=ql.svg.withConfig({displayName:"SvgIcon",componentId:"sc-11co88f-99"})(["position:absolute;right:calc(var(--ds-thumbnail-indicator-offset-x) * -1);bottom:calc(var(--ds-thumbnail-indicator-offset-y) * -1);overflow:visible;width:calc(var(--ds-thumbnail-indicator-radius) * 2);height:calc(var(--ds-thumbnail-indicator-radius) * 2);"]),Eh={draft:function(){return t.createElement(xh,{viewBox:"0 0 24 24","aria-hidden":"true",fill:Dp.gray400},t.createElement("path",{d:"M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 "}),t.createElement("path",{d:"M 7.5 10.5 C 6.671875 10.5 6 11.171875 6 12 C 6 12.828125 6.671875 13.5 7.5 13.5 C 8.328125 13.5 9 12.828125 9 12 C 9 11.171875 8.328125 10.5 7.5 10.5 Z M 10.5 12 C 10.5 11.171875 11.171875 10.5 12 10.5 C 12.828125 10.5 13.5 11.171875 13.5 12 C 13.5 12.828125 12.828125 13.5 12 13.5 C 11.171875 13.5 10.5 12.828125 10.5 12 Z M 15 12 C 15 11.171875 15.671875 10.5 16.5 10.5 C 17.328125 10.5 18 11.171875 18 12 C 18 12.828125 17.328125 13.5 16.5 13.5 C 15.671875 13.5 15 12.828125 15 12 Z M 15 12 ",fill:"white"}))},error:function(){return t.createElement(xh,{viewBox:"0 0 24 24","aria-hidden":"true",fill:Dp.red400},t.createElement("path",{d:"M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 "}),t.createElement("path",{d:"M 13.5 4.5 L 10.5 4.5 L 10.5 13.5 L 13.5 13.5 Z M 13.5 4.5 ",fill:"white"}),t.createElement("path",{d:"M 13.5 16.5 L 10.5 16.5 L 10.5 19.5 L 13.5 19.5 Z M 13.5 16.5 ",fill:"white"}))},loading:function(){return t.createElement(xh,{viewBox:"0 0 14 14","aria-hidden":"true",fill:Dp.gray400},t.createElement(kh,{cx:"7",cy:"7",r:"5",fill:"transparent",strokeWidth:"2"}))},negative:function(){return t.createElement(xh,{viewBox:"0 0 24 24","aria-hidden":"true",fill:Dp.red400},t.createElement("path",{d:"M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 "}),t.createElement("path",{d:"M 17.304688 6.695312 C 16.71875 6.109375 15.769531 6.109375 15.183594 6.695312 L 12 9.878906 L 8.816406 6.695312 C 8.230469 6.109375 7.28125 6.109375 6.695312 6.695312 C 6.109375 7.28125 6.109375 8.230469 6.695312 8.816406 L 9.878906 12 L 6.695312 15.183594 C 6.109375 15.769531 6.109375 16.71875 6.695312 17.304688 C 7.28125 17.890625 8.230469 17.890625 8.816406 17.304688 L 12 14.121094 L 15.183594 17.304688 C 15.769531 17.890625 16.71875 17.890625 17.304688 17.304688 C 17.890625 16.71875 17.890625 15.769531 17.304688 15.183594 L 14.121094 12 L 17.304688 8.816406 C 17.890625 8.230469 17.890625 7.28125 17.304688 6.695312 Z M 17.304688 6.695312",fill:"white"}))},positive:function(){return t.createElement(xh,{viewBox:"0 0 24 24","aria-hidden":"true",fill:Dp.teal500},t.createElement("path",{d:"M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 "}),t.createElement("path",{d:"m5.69215,11.43763c-0.58607,0.58607 -0.58607,1.53629 0,2.12236l3.18355,3.18363c0.21978,0.21971 0.49077,0.35703 0.77456,0.41195c0.12714,0.02461 0.25685,0.03272 0.38568,0.02431c0.35044,-0.02311 0.69432,-0.16853 0.96216,-0.43627l7.42831,-7.42836c0.58604,-0.58608 0.58604,-1.53629 0,-2.12238c-0.58604,-0.58607 -1.53631,-0.58607 -2.12235,0l-6.36715,6.36712l-2.12238,-2.12238c-0.58608,-0.58608 -1.53629,-0.58608 -2.12238,0z",fill:"white"}))}},Ch=Gl(["0%{transform:rotate(0deg);stroke-dashoffset:6.6;}50%{transform:rotate(720deg);stroke-dashoffset:31.4;}100%{transform:rotate(1080deg);stroke-dashoffset:6.6;}"]),kh=ql.circle.withConfig({displayName:"SvgSpinner",componentId:"sc-11co88f-100"})(["--spinner-radius:10;--spinner-circumference:calc(2 * var(--spinner-radius) * 3.1415927);stroke:",";transform-origin:center;animation:"," 2s linear infinite;stroke-dasharray:31.4;stroke-linecap:round;"],(e=>e.color||Dp.gray400),Ch),Sh={online:function(){return t.createElement(xh,{viewBox:"0 0 24 24","aria-hidden":"true",fill:Dp.teal500},t.createElement("path",{d:"M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 "}))},offline:function(){return t.createElement(xh,{viewBox:"0 0 24 24","aria-hidden":"true",fill:Dp.gray400},t.createElement("path",{d:"M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 "}))},inactive:function(){return t.createElement(xh,{viewBox:"0 0 24 24","aria-hidden":"true",fill:"transparent"},t.createElement("circle",{cx:"12",cy:"12",r:"9",stroke:Dp.gray400,strokeWidth:"4"}))}};function _h({size:e="m",shape:n="square",variant:i="clean",icon:a,imageUrl:c,backgroundColor:l,iconColor:s,children:u,...d}){const p="content"===i,f="clean"===i;let m;m=l?Dp[l]||l:f?Dp.gray50a:l||c?"transparent":Dp.white;const h=f?Dp[s]||s||Dp.gray600:void 0,[g,v]=r("none"),y=o((()=>({indicator:g,setIndicator:v})),[g]);return t.createElement(bh.Provider,{value:y},t.createElement(Ih,{size:e,shape:n,hasCheckers:p,indicator:g,variant:i,className:vh,...d},t.createElement(Th,{iconColor:h,backgroundColor:m,imageUrl:c,size:e,"data-testid":"thumbnail-fill",variant:i},a,p&&!l&&!c&&t.createElement(zh,{"data-testid":"thumbnail-no-image-line"})),p&&t.createElement(Nh,{"data-testid":"thumbnail-inner-shadow"}),u))}_h.Overlay=function({children:e,isConcealed:n=!1,isLoading:r=!1,...o}){return t.createElement(yh,{isConcealed:n,...o},r?t.createElement(Wp,null):e)},_h.pointerEventsClassname=vh,_h.Indicator=function({type:e}){const{setIndicator:n}=i(bh),r=Eh[e];return a((()=>(n("state"),()=>n("none"))),[n]),t.createElement(r,null)},_h.Status=function({type:e}){const{setIndicator:n}=i(bh),r=Sh[e];return a((()=>(n("status"),()=>n("none"))),[n]),t.createElement(r,null)};const Ih=ql.div.withConfig({shouldForwardProp:(e,t)=>!["shape"].includes(e)&&t(e)}).withConfig({displayName:"ThumbnailContainer1",componentId:"sc-11co88f-101"})([""," position:relative;flex:none;border-radius:var(--ds-thumbnail-border-radius);"," "," ",""],(e=>Tl(["--ds-thumbnail-border-radius:",";"],(function(){return"circle"===e.shape?Dp.radiusCircle:"preview"===e.variant?"0px":Dp.radiusBase}))),(e=>e.hasCheckers&&Tl(["background:url(\"data:image/svg+xml,%3Csvg width='8' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Crect height='8' width='8' y='0' x='0' fill='%23ffffff'/%3E%3Crect height='4' width='4' y='0' x='0' fill='%23e9ecee'/%3E%3Crect height='4' width='4' y='4' x='4' fill='%23e9ecee'/%3E%3C/svg%3E%0A\");"])),(e=>{const t={xs:"24px",s:"32px",m:"40px",l:"64px"}[e.size];return Tl(["width:",";height:",";"],t,t)}),(e=>{if("none"===e.indicator)return;const{radius:t,offset:n}=wh[e.shape][e.indicator][e.size];return Tl(["--ds-thumbnail-indicator-offset-x:","px;--ds-thumbnail-indicator-offset-y:","px;--ds-thumbnail-indicator-radius:","px;--ds-thumbnail-indicator-cutoff:-webkit-radial-gradient( calc( 100% - ( var(--ds-thumbnail-indicator-radius) - var(--ds-thumbnail-indicator-offset-x) ) ) calc( 100% - ( var(--ds-thumbnail-indicator-radius) - var(--ds-thumbnail-indicator-offset-y) ) ),circle,transparent calc(var(--ds-thumbnail-indicator-radius) + ","px),black 0 );"],n[0],n[1],t,2)})),Bh={xs:Dp.fontSize100,s:Dp.fontSize200,m:Dp.fontSize500,l:Dp.fontSize500},Th=ql.div.withConfig({displayName:"Fill1",componentId:"sc-11co88f-102"})(["display:flex;justify-content:center;align-items:center;width:100%;height:100%;border-radius:var(--ds-thumbnail-border-radius);background:50% 50% no-repeat;background-color:",";background-image:",";background-size:",";color:",";font-weight:600;font-size:",";line-height:1;text-indent:1px;-webkit-mask-image:var(--ds-thumbnail-indicator-cutoff);"],(e=>e.backgroundColor),(e=>e.imageUrl?`url(${e.imageUrl}) `:void 0),(e=>"preview"===e.variant?"contain":"cover"),(e=>e.iconColor),(e=>Bh[e.size])),Nh=ql.div.withConfig({displayName:"InnerShadow",componentId:"sc-11co88f-103"})(["position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border:1px solid ",";border-radius:var(--ds-thumbnail-border-radius);-webkit-mask-image:var(--ds-thumbnail-indicator-cutoff);"],Dp.gray100a),zh=ql.div.withConfig({displayName:"NoImage",componentId:"sc-11co88f-104"})(["width:80%;height:2px;border-radius:2px;background:",";transform:rotate(-45deg);"],Dp.red500),Dh=n({isDragging:!1,dragIndicator:null}),Ph=d((({children:e,subtext:n,thumbnail:r,rightElements:o,onClick:a,isDisabled:c=!1,isSelected:l=!1,checkedVariant:s,isChecked:u=!1,...d},p)=>{const f=qf("list-item-label"),{isFocusVisible:m,focusProps:h}=Es(),g=i(Dh),v=t.useRef(null),y=[tm.pointerEventsClassname,qm.pointerEventsClassname,_h.pointerEventsClassname].join(" "),b="function"==typeof a,w=b&&!c;return t.createElement(Oh,{isDragging:(null==g?void 0:g.isDragging)??!1,isSelected:l,isActive:b,tabIndex:w?0:void 0,onClick:w?a:void 0,onKeyDown:e=>{"function"!=typeof a||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),a())},isDisabled:c,className:y,isFocusVisible:m,ref:p,...d,...h},"checkbox"===s&&t.createElement(Ah,{onClick:e=>{e.stopPropagation()},onKeyDown:e=>{e.stopPropagation()}},t.createElement(tm,{isChecked:u,isDisabled:c,"aria-labelledby":f,onChange:a})),r&&t.createElement(Rh,{isDisabled:c},r),t.createElement(Fh,{id:f},t.createElement(Df,null,e),n?t.createElement(Lh,{isDisabled:c},t.createElement(Df,null,n)):null),(o||(null==g?void 0:g.dragIndicator))&&t.createElement(Mh,{ref:v,onClick:e=>{var t;(null==v||null===(t=v.current)||void 0===t?void 0:t.querySelectorAll("a, button").length)&&e.stopPropagation()},onKeyDown:e=>{e.stopPropagation()}},t.createElement(pf,{alignItems:"center",gap:"3"},o,null==g?void 0:g.dragIndicator)),"switch"===s&&t.createElement(Mh,{onClick:e=>{e.stopPropagation()},onKeyDown:e=>{e.stopPropagation()}},t.createElement(qm,{isChecked:u,isDisabled:c,"aria-labelledby":f,onChange:a})))})),Oh=ql.div.withConfig({displayName:"ItemStyled",componentId:"sc-11co88f-105"})(["--list-item-right-elements-color:",";display:flex;align-items:center;margin-right:calc("," * -1);margin-left:calc("," * -1);padding:"," ",";border-radius:var(--ds-list-item-border-radius-override,",");&:hover{--list-item-concealead-action-opacity:1;--list-item-concealead-action-width:auto;}"," "," ",""],Dp.gray200,Dp.spacing4,Dp.spacing4,Dp.spacing3,Dp.spacing4,Dp.radiusLarge,(e=>e.isActive&&Tl(["--list-item-right-elements-color:",";outline:none;cursor:pointer;&:hover{--list-item-right-elements-color:",";background:",";}"," &:active{background:",";box-shadow:none;}",""],Dp.gray200,Dp.gray600,Dp.gray25,e.isFocusVisible&&Tl(["--list-item-right-elements-color:",";background:",";&,&:hover{box-shadow:var( --ds-list-item-focus-ring-override,inset 0 0 0 2px ",",inset 0 0 0 4px "," );}"],Dp.gray600,Dp.gray25,Dp.gray50,Dp.gray10),Dp.gray50,e.isDisabled&&Tl(["--list-item-right-elements-color:",";color:",";pointer-events:none;"],Dp.gray200,Dp.gray200))),(e=>e.isSelected&&Tl(["--list-item-right-elements-color:",";&,&:hover{background:",";}"],Dp.gray600,Dp.gray50)),(e=>e.isDragging&&Tl(["--list-item-right-elements-color:",";background:",";box-shadow:",";cursor:grabbing;"],Dp.gray600,Dp.gray25,Dp.elevation4))),Ah=ql.div.withConfig({displayName:"CheckboxContainer",componentId:"sc-11co88f-106"})(["flex:none;margin-right:",";"],Dp.spacing4),Rh=ql.div.withConfig({displayName:"ThumbnailContainer",componentId:"sc-11co88f-107"})(["flex:none;margin-right:",";",""],Dp.spacing4,(e=>e.isDisabled&&"opacity: 50%;")),Fh=ql.div.withConfig({displayName:"Content2",componentId:"sc-11co88f-108"})([""," flex:1;min-width:0;"],df.uiTextM),Lh=ql.div.withConfig({displayName:"Subtext1",componentId:"sc-11co88f-109"})([""," color:",";"],df.uiTextS,(e=>e.isDisabled?Dp.gray200:Dp.gray600)),Mh=ql.div.withConfig({displayName:"RightElements",componentId:"sc-11co88f-110"})(["flex:none;margin-left:",";color:var(--list-item-right-elements-color);"],Dp.spacing4);function jh({children:e,isContained:n=!1,...r}){return t.createElement(Hh,{isContained:n,...r},e)}jh.Group=function({title:e,action:n,children:r,...o}){const i=qf("list-group-header");return t.createElement("div",{...o},t.createElement(gh,null,t.createElement("span",{id:i},e),n),t.createElement("div",{"aria-describedby":i},r))},jh.Item=Ph,jh.Divider=Fm,jh.ConcealedAction=function(e){return t.createElement(hh,{...e})};const Hh=ql.div.withConfig({displayName:"ListStyled",componentId:"sc-11co88f-111"})(["padding:",";"],(e=>e.isContained?`0 ${Dp.spacing5}`:`${Dp.spacing3} 0`)),Uh=ql.div.withConfig({displayName:"ItemWrapper",componentId:"sc-11co88f-112"})(["--ds-list-item-border-radius-override:0;--ds-list-item-focus-ring-override:none;padding:0 ",";"],Dp.spacing4);function Vh(e){return!!e&&e.getRootNode()instanceof ShadowRoot}function $h(e){if(!e||!Vh(e))return;const t=null==e?void 0:e.getRootNode();return Array.from(t.children).find((e=>"STYLE"!==e.tagName))}function Wh({children:e,trigger:n,position:r="bottom-left",isClosedOnScroll:i=!1,isKeepingFocusOnTrigger:l=!1,containerRef:s,onOpen:d,onClose:p,minWidth:m,...h}){const[g,v]=f(uh,sh),y=c(!0),b=c(),w=qf("dropdown-menu");var x,E;a((()=>{y.current?y.current=!1:g.isOpen?(v({type:"highlight-current-item"}),null==d||d()):null==p||p()}),[g.isOpen]),x=g.highlightedItemId,E=g.hasSearch,a((()=>{if(!x)return;const e=document.querySelector("#"+x);if(e){const t=e.closest('[role="menu"');t&&(function(e,t,n){const{top:r,bottom:o,height:i}=e.getBoundingClientRect(),a=t.getBoundingClientRect(),c=n?64:0;return!(r>=a.bottom-i||o<=a.top+c+i)}(e,t,E)||e.scrollIntoView(!1))}}),[x,E]);const C=u((()=>{var e;g.isOpen&&(v({type:"close"}),null==b||null===(e=b.current)||void 0===e||e.focus())}),[g.isOpen]);a((()=>{function e(){C()}if(i&&g.isOpen)return document.addEventListener("scroll",e),()=>{document.removeEventListener("scroll",e)}}),[i,C,g.isOpen]),km("Tab",(()=>{g.isOpen&&C()})),km("Escape",(()=>{g.isOpen&&C()})),km("Enter",(e=>{var t;g.isOpen&&g.highlightedItemId&&(null===(t=document.querySelector("#"+g.highlightedItemId))||void 0===t||t.click(),e.preventDefault())})),km("ArrowDown",(e=>{g.isOpen&&(v({type:"highlight-next"}),e.preventDefault())})),km("ArrowUp",(e=>{g.isOpen&&(v({type:"highlight-previous"}),e.preventDefault())}));const k=o((()=>({dispatch:v,close:C,highlightedItemId:g.highlightedItemId,hasSearch:g.hasSearch,isKeepingFocusOnTrigger:l,menuId:w})),[C,l,g.hasSearch,g.highlightedItemId,w]),{renderLayer:S,triggerProps:{ref:_},layerProps:I,triggerBounds:B}=gd({isOpen:g.isOpen,onOutsideClick:Vh(b.current)?void 0:()=>v({type:"close"}),onDisappear:e=>{"full"===e&&v({type:"close"})},triggerOffset:4,containerOffset:16,auto:!0,container:$h(b.current),...lh(r)}),T="bottom"===r?{width:null==B?void 0:B.width,minWidth:"initial",maxWidth:"initial"}:{};return t.createElement(Hm.Provider,{value:k},t.createElement("div",{...h},n({isOpen:g.isOpen,onClick:()=>{v({type:"toggle"})},"aria-haspopup":!0,"aria-expanded":g.isOpen,"aria-controls":w,onKeyDown:function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),v({type:"toggle-from-keyboard"}))},ref:Wu(_,b)},{open:()=>{v({type:"open"})},close:()=>{v({type:"close"})}}),g.isOpen&&S(t.createElement(Wm,{id:w,...I,ref:Wu(I.ref,s),style:{...I.style,...T},minWidth:m},e))))}function Gh({attr:e,title:n,size:r,children:o,color:a,style:c,...l}){const s=i(ks),u=r||s.size,d={...s.attr,...e};return t.createElement("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",...d,...l,style:{color:a,...s.style,...c},height:u,width:u,xmlns:"http://www.w3.org/2000/svg"},n&&t.createElement("title",null,n),o)}function qh({label:e,labelSecondaryText:n,helperText:r,helperTextIcon:o,id:i,name:a,isInvalid:c,hasClearButton:l,icon:s,iconRight:u,inputRef:d,isDisabled:p,isReadOnly:f,isSmall:m,maxLength:h,onBlur:g,onChange:v,onFocus:y,onKeyDown:b,placeholder:w,type:x,value:E,variant:C,prefix:k,suffix:S,..._}){const I=qf("input"),B=i||I,T=qf("helper-text");return t.createElement(ym.Group,{..._},t.createElement(ym.Label,{secondaryText:n,htmlFor:B},e),t.createElement(Rm,{hasClearButton:l,icon:s,iconRight:u,inputRef:d,isDisabled:p,isReadOnly:f,isInvalid:c,isSmall:m,maxLength:h,onBlur:g,onChange:v,onFocus:y,onKeyDown:b,placeholder:w,type:x,value:E,variant:C,id:B,name:a,"aria-describedby":r?T:void 0,prefix:k,suffix:S}),r?t.createElement(ym.HelperText,{icon:o,isInvalid:c,id:T},r):null)}Wh.Divider=Fm,Wh.Item=function({children:e,isDisabled:n,icon:l,checkedVariant:s="checkmark",isChecked:u=!1,badge:d,onClick:p,submenu:f,role:m,...h}){const[g,v]=r(!1),[y,b]=r(!1),w=qf("dropdown-item"),x=qf("dropdown-item-label"),E=qf("dropdown-submenu"),C=Boolean(f),{dispatch:k,...S}=Um(),_=S.highlightedItemId===w,I=i($m),{isFocusVisible:B,focusProps:T}=Es(),{hoverProps:N}=function(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:i,isDisabled:l}=e,[s,u]=r(!1),d=c({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;a(ys,[]);let{hoverProps:p,triggerHoverEnd:f}=o((()=>{let e=(e,r)=>{if(d.pointerType=r,l||"touch"===r||d.isHovered||!e.currentTarget.contains(e.target))return;d.isHovered=!0;let o=e.currentTarget;d.target=o,t&&t({type:"hoverstart",target:o,pointerType:r}),n&&n(!0),u(!0)},r=(e,t)=>{if(d.pointerType="",d.target=null,"touch"===t||!d.isHovered)return;d.isHovered=!1;let r=e.currentTarget;i&&i({type:"hoverend",target:r,pointerType:t}),n&&n(!1),u(!1)},o={};return"undefined"!=typeof PointerEvent?(o.onPointerEnter=t=>{ms&&"mouse"===t.pointerType||e(t,t.pointerType)},o.onPointerLeave=e=>{!l&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(o.onTouchStart=()=>{d.ignoreEmulatedMouseEvents=!0},o.onMouseEnter=t=>{d.ignoreEmulatedMouseEvents||ms||e(t,"mouse"),d.ignoreEmulatedMouseEvents=!1},o.onMouseLeave=e=>{!l&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:o,triggerHoverEnd:r}}),[t,n,i,l,d]);return a((()=>{l&&f({currentTarget:d.target},d.pointerType)}),[l]),{hoverProps:p,isHovered:s}}({onHoverStart:()=>{C&&v(!0)},onHoverEnd:()=>{C&&v(!1)}}),z=g&&C,{triggerProps:D,layerProps:P,renderLayer:O}=gd({isOpen:z,auto:!0,placement:"right-start",possiblePlacements:["right-end","right-start","left-start","left-end"],triggerOffset:-4,onParentClose:()=>{}});a((()=>{k({type:"add-item",payload:{id:w,parentId:I,isDisabled:n,isSelected:"checkmark"===s?u:void 0}})})),a((()=>{y&&k({type:"highlight-submenu"})}),[k,y]),a((()=>{var e;S.hasSearch||S.isKeepingFocusOnTrigger||_&&(null===(e=document.querySelector("#"+w))||void 0===e||e.focus())}),[S.hasSearch,S.isKeepingFocusOnTrigger,w,_]),km("ArrowLeft",(e=>{C&&y&&(k({type:"highlight-item",payload:w}),v(!1),b(!1),e.preventDefault())})),km("ArrowRight",(e=>{_&&C&&(v(!0),b(!0),e.preventDefault())}));const A=function(e){return"checkbox"===e?tm.pointerEventsClassname:"switch"===e?qm.pointerEventsClassname:""}(s),R=function(e,t,n){return e||("checkbox"===t||"switch"===t?"menuitemcheckbox":"checkmark"===t&&n?"menuitemradio":"menuitem")}(m,s,u),F="menuitemcheckbox"===R||"menuitemradio"===R?u:void 0,L=C?{"aria-haspopup":!0,"aria-expanded":g,"aria-controls":E}:{};function M(e){null==p||p(e),C||("menuitemcheckbox"!==R?S.close():k({type:"keep-highlight"}))}return t.createElement($m.Provider,{value:w},t.createElement(Qm,{...N,...D,onClick:e=>e.stopPropagation()},t.createElement(eh,{disabled:n,"aria-disabled":n,isChecked:u,"aria-checked":F,"aria-selected":S.hasSearch||S.isKeepingFocusOnTrigger?_:void 0,role:R,onClick:M,tabIndex:-1,id:w,onKeyDown:function(e){C&&(" "!==e.key&&"Enter"!==e.key||(null==p||p(e),v((e=>{const t=!e;return b(t),t})),e.preventDefault()))},isHighlighted:_||B,isSubmenuOpen:g,className:A,...L,...T,...h},"checkbox"===s&&t.createElement(th,{onClick:e=>e.stopPropagation()},t.createElement(tm,{isChecked:u,isDisabled:n,"aria-labelledby":x,onChange:M})),l&&t.createElement(nh,null,l),t.createElement(rh,{id:x},e),"checkmark"===s&&u&&t.createElement(oh,null,t.createElement(ku,null)),d&&t.createElement(oh,null,d),"switch"===s&&t.createElement(oh,{onClick:e=>e.stopPropagation()},t.createElement(qm,{isChecked:u,isDisabled:n,"aria-labelledby":x,onChange:M})),C&&t.createElement(ih,{isActive:g||B||_},t.createElement(_u,null))),z&&O(t.createElement(ah,{id:E,...P},f))))},Wh.ListItem=function({children:e,isDisabled:n,isChecked:r=!1,onClick:o,role:i="menuitem",rightElements:c,...l}){const s=qf("dropdown-item"),{dispatch:u,...d}=Um(),p=d.highlightedItemId===s;a((()=>{u({type:"add-item",payload:{id:s,parentId:void 0,isDisabled:n,isSelected:r}})})),a((()=>{var e;d.hasSearch||d.isKeepingFocusOnTrigger||p&&(null===(e=document.querySelector("#"+s))||void 0===e||e.focus())}),[d.hasSearch,d.isKeepingFocusOnTrigger,s,p]);const f=r?t.createElement(ku,{color:Dp.gray800}):null;return t.createElement(Uh,{onClick:e=>e.stopPropagation()},t.createElement(jh.Item,{isSelected:p,isDisabled:n,onClick:function(){null==o||o(),d.close()},"aria-disabled":n,"aria-checked":"menuitemradio"===i?r:void 0,"aria-selected":d.hasSearch||d.isKeepingFocusOnTrigger?p:void 0,role:i,rightElements:c?t.createElement(t.Fragment,null,c,f):f,id:s,...l},e))},Wh.SectionTitle=function({children:e,...n}){return t.createElement(ch,{...n},e)},Wh.Arrow=function(e){return t.createElement(jm,{...e},t.createElement(Eu,null))},Wh.SelectButtonText=function({children:e,...n}){return t.createElement(dh,{...n},t.createElement(Df,null,e))},Wh.SearchInput=function({onChange:e,...n}){const r=c(null),{dispatch:o}=Um(),{menuId:i}=Um();return a((()=>{var e;null===(e=r.current)||void 0===e||e.focus()}),[]),a((()=>{o({type:"set-search-presence"})}),[o]),t.createElement(ph,null,t.createElement(fh,null,t.createElement(Rm,{inputRef:r,hasClearButton:!0,icon:t.createElement(js,null),onChange:function(t){var n,r;null===(n=document.querySelector(`#${i}`))||void 0===n||null===(r=n.scrollTo)||void 0===r||r.call(n,{top:0}),e(t)},...n})))},Wh.Text=function({fontSize:e="item",children:n,...r}){return t.createElement(mh,{fontSize:e,...r},n)},ql.div.withConfig({displayName:"EmptyStateStyled",componentId:"sc-11co88f-113"})(["display:grid;grid-template-columns:minmax(10px,472px);justify-content:center;justify-items:center;text-align:center;"]),ql.p.withConfig({displayName:"Image1",componentId:"sc-11co88f-114"})(["display:grid;place-items:center;width:128px;height:128px;margin:0 0 ",";border-radius:",";background:",";color:",";"],Dp.spacing5,Dp.radiusCircle,Dp.gray25,Dp.gray400),ql.h2.withConfig({displayName:"Title3",componentId:"sc-11co88f-115"})([""," margin:0 0 ",";color:",";"],df.headingM,Dp.spacing4,Dp.gray800),ql.p.withConfig({displayName:"Description1",componentId:"sc-11co88f-116"})([""," margin:0;color:",";"],df.paragraphM,Dp.gray600),ql.p.withConfig({displayName:"Actions",componentId:"sc-11co88f-117"})(["display:flex;gap:",";justify-content:center;margin:"," 0 0;"],Dp.spacing4,Dp.spacing6),ql.div.withConfig({displayName:"InlineBannerStyled",componentId:"sc-11co88f-118"})([""," display:flex;align-items:flex-start;padding:"," ",";border-radius:",";background:var(--background-color);"],(e=>"info"===e.variant?Tl(["--background-color:",";--icon-color:",";--link-color:",";--link-color-hover:",";"],Dp.blue500a10,Dp.blue500,Dp.blue600,Dp.blue700):"warning"===e.variant?Tl(["--background-color:",";--icon-color:",";--link-color:",";--link-color-hover:",";"],Dp.yellow500a10,Dp.yellow500,Dp.yellow600,Dp.yellow700):"error"===e.variant?Tl(["--background-color:",";--icon-color:",";--link-color:",";--link-color-hover:",";"],Dp.red500a10,Dp.red500,Dp.red600,Dp.red700):Tl(["--background-color:",";--icon-color:",";--link-color:",";--link-color-hover:",";"],Dp.gray50,Dp.gray500,Dp.blue600,Dp.blue700)),Dp.spacing4,Dp.spacing4,Dp.radiusMedium),ql.div.withConfig({displayName:"IconHolder1",componentId:"sc-11co88f-119"})(["display:flex;width:24px;height:24px;margin-right:",";color:var(--icon-color);"],Dp.spacing3),ql.div.withConfig({displayName:"TitleHolder",componentId:"sc-11co88f-120"})([""," margin-bottom:",";color:",";"],df.uiTextM,Dp.spacing2,Dp.gray1000),ql.div.withConfig({displayName:"DescriptionHolder",componentId:"sc-11co88f-121"})([""," color:",";line-height:",";"],df.uiTextS,Dp.gray800,Dp.layoutSpacing2),ql.div.withConfig({displayName:"LinkHolder",componentId:"sc-11co88f-122"})([""," margin-top:",";a{color:var(--link-color);text-decoration:none;}a:hover{color:var(--link-color-hover);}a:focus-visible{border-radius:2px;box-shadow:0 0 0 2px ",";outline:none;}"],df.uiTextS,Dp.spacing2,Dp.blue500),ql.kbd.withConfig({displayName:"KeyboardBadgeStyled",componentId:"sc-11co88f-123"})([""," display:inline-flex;vertical-align:top;box-sizing:border-box;height:24px;padding:"," ",";border-radius:",";background:",";color:",";box-shadow:inset 0 -1px 0 ",";font-family:",";"],df.uiTextS,Dp.spacing1,Dp.spacing3,Dp.radiusMedium,Dp.gray75,Dp.gray800,Dp.gray200a,Dp.fontStackBase),ql.span.withConfig({displayName:"KeyboardLabelStyled",componentId:"sc-11co88f-124"})(["position:absolute;overflow:hidden;clip:rect(0 0 0 0);width:1px;height:1px;white-space:nowrap;clip-path:inset(50%);"]),ql.div.withConfig({displayName:"IconHolder",componentId:"sc-11co88f-125"})(["display:flex;align-items:center;width:20px;height:20px;margin-right:",";margin-left:calc("," * -1);&:not(:last-child){margin-right:calc("," * -1);}svg{fill:currentColor;}"],Dp.spacing1,Dp.spacing2,Dp.spacing2),ql.div.withConfig({displayName:"StyledItemWrapper",componentId:"sc-11co88f-126"})(["position:relative;user-select:none;"," ",""],(e=>"after"===e.insertPosition&&Tl(["&::after{content:'';position:absolute;bottom:",";z-index:1;width:100%;height:",";background-color:",";}"],e.isDividerShown?"-10px":"0","2px",Dp.blue300)),(e=>"before"===e.insertPosition&&Tl(["&::before{content:'';position:absolute;top:",";z-index:1;width:100%;height:",";background-color:",";}"],e.isDividerShown?"-10px":"0","2px",Dp.blue300))),ql.div.withConfig({displayName:"ShadowItem",componentId:"sc-11co88f-127"})(["position:absolute;top:0;box-sizing:content-box;width:100%;height:100%;margin-right:calc("," * -1);margin-left:calc("," * -1);padding-right:",";padding-left:",";border-radius:",";background-color:",";"],Dp.spacing4,Dp.spacing4,Dp.spacing4,Dp.spacing4,Dp.radiusLarge,Dp.gray50),ql.div.withConfig({displayName:"StyledDragIndicator",componentId:"sc-11co88f-128"})(["cursor:",";"],(e=>e.isDragging?"grabbing":"grab"));const Yh=Wl((e=>Tl(["@keyframes ","{0%{opacity:0;}100%{opacity:1;}}@keyframes ","{0%{opacity:1;}100%{opacity:0;}}@keyframes ","{0%{opacity:0.5;transform:scale(0.95);}100%{opacity:1;transform:scale(1);}}@keyframes ","{0%{opacity:1;transform:scale(1);}100%{opacity:0.5;transform:scale(0.95);}}.",",.","{position:fixed;top:0;right:0;bottom:0;left:0;z-index:",";}.","{background:",";}.","{display:flex;align-items:flex-start;overflow-x:hidden;overflow-y:auto;padding:",";}.","{"," position:relative;display:flex;flex-direction:column;align-items:stretch;box-sizing:border-box;width:520px;margin:auto;border-radius:",";background:",";box-shadow:",";}.","{width:866px;}.","{width:100%;height:100%;min-height:0;}"],"b-modal-overlay-in","b-modal-overlay-out","b-modal-container-in","b-modal-container-out","b-modal__overlay","b-modal__container",e.zIndex,"b-modal__overlay",Dp.gray200a,"b-modal__container",Dp.spacing6,"b-modal__modal",Rp,Dp.radiusLarge,Dp.gray10,Dp.elevation8,"b-modal__modal--medium","b-modal__modal--full-screen"))),Kh=ql.div.withConfig({displayName:"HeaderStyled",componentId:"sc-11co88f-129"})(["display:flex;flex:none;align-items:center;box-sizing:border-box;height:72px;padding:"," ",";",""],Dp.spacing4,Dp.spacing6,(e=>!e.hideCloseIcon&&Tl(["padding-right:calc( "," + 50px + "," );"],Dp.spacing4,Dp.spacing6))),Xh=ql.div.withConfig({displayName:"BackButton",componentId:"sc-11co88f-130"})(["margin-right:",";margin-left:calc("," * -1);"],Dp.spacing4,Dp.spacing4),Zh=ql.div.withConfig({displayName:"ModalThumbnail",componentId:"sc-11co88f-131"})(["margin-right:",";"],Dp.spacing4),Jh=ql.div.withConfig({displayName:"Headings",componentId:"sc-11co88f-132"})(["flex:1;min-width:0;"]),Qh=ql.h2.withConfig({displayName:"Title2",componentId:"sc-11co88f-133"})([""," overflow:hidden;margin:0;color:",";text-overflow:ellipsis;white-space:nowrap;"],df.uiTextL,Dp.colorText),eg=ql.h3.withConfig({displayName:"SecondaryInformation",componentId:"sc-11co88f-134"})([""," overflow:hidden;margin:0;color:",";text-overflow:ellipsis;white-space:nowrap;"],df.uiTextS,Dp.gray500),tg=ql.div.withConfig({displayName:"ContentStyled",componentId:"sc-11co88f-135"})(["flex:1 1 auto;min-height:0;",""],(e=>e.scrollable&&Tl(["position:relative;&::before,&::after{content:'';position:absolute;left:0;display:block;width:100%;height:6px;}&::before{top:0;z-index:1;background:linear-gradient(to bottom,",",transparent);}&::after{bottom:0;background:linear-gradient(to top,",",transparent);}"],Dp.colorShadow,Dp.colorShadow))),ng=ql.div.withConfig({displayName:"ContentInner",componentId:"sc-11co88f-136"})([""," box-sizing:border-box;padding:"," ",";color:",";font-family:",";",""],df.paragraphM,Dp.spacing5,Dp.spacing6,Dp.colorText,Dp.brandFontStackBase,(e=>e.scrollable&&Tl(["position:relative;overflow-x:hidden;overflow-y:auto;height:100%;scroll-behavior:smooth;&::before,&::after{content:'';position:relative;left:0;z-index:1;display:block;height:",";}&::before{margin:calc("," * -1) calc("," * -1) 0;background:linear-gradient( to bottom,",","," 50%,rgb(255 255 255 / 0) );}&::after{margin:0 calc("," * -1) calc("," * -1);background:linear-gradient( to top,",","," 50%,rgb(255 255 255 / 0) );}"],Dp.spacing5,Dp.spacing5,Dp.spacing6,Dp.gray10,Dp.gray10,Dp.spacing6,Dp.spacing5,Dp.gray10,Dp.gray10))),rg=ql.div.withConfig({displayName:"ContentExpander",componentId:"sc-11co88f-137"})(["min-height:100%;"]),og=ql.div.withConfig({displayName:"FooterStyled",componentId:"sc-11co88f-138"})(["display:flex;flex:none;padding:",";"],Dp.spacing6),ig=ql.div.withConfig({displayName:"ActionsRight",componentId:"sc-11co88f-139"})(["margin-left:auto;"]),ag=ql.div.withConfig({displayName:"CloseButton",componentId:"sc-11co88f-140"})(["position:absolute;top:",";right:",";"],Dp.spacing5,Dp.spacing4),cg=t.createContext({size:"small",hideCloseIcon:!1}),lg={small:"",medium:"b-modal__modal--medium",fullscreen:"b-modal__modal--full-screen"};function sg({isOpen:e,onClose:n,size:i="small",isCloseButtonHidden:c=!1,closeButtonTitle:l="Close",isClosedOnOverlayClick:s=!1,onCloseAnimationEnd:u,children:d,container:p}){const f={root:"b-modal",overlay:"b-modal__overlay",modalContainer:"b-modal__container",modal:`b-modal__modal ${lg[i]}`,modalAnimationIn:"b-modal-container-in",modalAnimationOut:"b-modal-container-out",overlayAnimationIn:"b-modal-overlay-in",overlayAnimationOut:"b-modal-overlay-out"},m=!c,h=kf("modal"),g=o((()=>({size:i,hideCloseIcon:c})),[i,c]),[v,y]=r(!1);return a((()=>{e&&y(!0)}),[e]),t.createElement(cg.Provider,{value:g},t.createElement(Jd,{open:e,onClose:n,classNames:f,animationDuration:200,showCloseIcon:!1,closeOnEsc:m,closeOnOverlayClick:s,container:p,onAnimationEnd:()=>{e||(y(!1),null==u||u())}},e||v?d:null,m&&t.createElement(ag,null,t.createElement(ef,{variant:"clean",icon:t.createElement(Iu,null),"aria-label":l,title:l,onClick:n}))),t.createElement(Yh,{zIndex:h}))}function ug({isOpen:e,onClose:n,size:r,isCloseButtonHidden:o,isClosedOnOverlayClick:i,closeButtonTitle:a,title:c,secondaryInfo:l,thumbnail:s,children:u,actionPrimary:d,actionSecondary:p,actionTertiary:f,container:m,onCloseAnimationEnd:h}){return t.createElement(sg,{isOpen:e,onClose:n,isClosedOnOverlayClick:i,isCloseButtonHidden:o,size:r,closeButtonTitle:a,onCloseAnimationEnd:h,container:m},t.createElement(sg.Header,{title:c,secondaryInfo:l,thumbnail:s}),t.createElement(sg.Content,null,u),d&&t.createElement(sg.Footer,{actionPrimary:d,actionSecondary:p,actionTertiary:f}))}function dg(e){return t.createElement(ug,{...e})}function pg(e){return t.createElement(fg,{role:"status","aria-live":"polite"},e.thumbnail&&t.createElement(mg,null,e.thumbnail),t.createElement(hg,null,t.createElement(gg,{title:"string"==typeof e.title?e.title:""},e.title),e.description&&t.createElement(vg,{title:"string"==typeof e.description?e.description:""},e.description)),t.createElement(yg,null,e.button),"number"==typeof e.progressPercentage&&t.createElement(bg,{style:{width:e.progressPercentage+"%"}}))}sg.Header=function({title:e,secondaryInfo:n,thumbnail:r,backButton:o}){const{hideCloseIcon:a}=i(cg);return t.createElement(Kh,{hideCloseIcon:a},o&&t.createElement(Xh,null,t.createElement(ef,{variant:"clean",icon:t.createElement(Su,null),"aria-label":o.title,...o})),r&&t.createElement(Zh,null,r),t.createElement(Jh,null,t.createElement(Qh,null,e),n&&t.createElement(eg,null,n)))},sg.Content=function({children:e}){const{size:n}=i(cg),r="fullscreen"===n;return t.createElement(tg,{scrollable:r},t.createElement(ng,{scrollable:r},r?t.createElement(rg,null,e):e))},sg.Footer=function({actionPrimary:e,actionSecondary:n,actionTertiary:r}){return t.createElement(og,null,r,t.createElement(ig,null,t.createElement(pf,{gap:"4"},n,e)))},ql.div.withConfig({displayName:"NotificationPositionStyled",componentId:"sc-11co88f-141"})(["position:absolute;bottom:0;left:0;z-index:",";opacity:",";transition:all 0.2s ease-out;transform:translateY(","px) translate3d(0,",",0) translateX(",");will-change:transform,opacity;"],(e=>e.isVisible?9999:void 0),(e=>e.isExists?"1":"0"),(e=>-1*e.offset),(e=>e.isItJustAdded?"calc(100% + 16px)":"0"),(e=>e.isDismissed?"-100%":"0")),ql.div.withConfig({displayName:"NotificationsStyled",componentId:"sc-11co88f-142"})(["position:fixed;bottom:",";left:",";z-index:",";"],Dp.spacing6,Dp.spacing6,9999);const fg=ql.div.withConfig({displayName:"BaloonStyled",componentId:"sc-11co88f-143"})(["",";position:relative;display:flex;align-items:flex-start;overflow:hidden;box-sizing:border-box;width:480px;padding:",";border-radius:",";background:",";box-shadow:",",",";"],Rp,Dp.spacing5,Dp.radiusLarge,Dp.white,Dp.elevationStatic,Dp.elevation2),mg=ql.div.withConfig({displayName:"ThumbnailWrapper1",componentId:"sc-11co88f-144"})(["flex:none;margin-right:",";"],Dp.spacing5),hg=ql.div.withConfig({displayName:"Text",componentId:"sc-11co88f-145"})(["flex:1;align-self:center;"]),gg=ql.h2.withConfig({displayName:"Title1",componentId:"sc-11co88f-146"})(["display:-webkit-box;overflow:hidden;margin:0;font:inherit;-webkit-line-clamp:3;-webkit-box-orient:vertical;"]),vg=ql.p.withConfig({displayName:"Description",componentId:"sc-11co88f-147"})(["display:-webkit-box;overflow:hidden;margin:"," 0 0;color:",";font-size:",";line-height:20px;-webkit-line-clamp:4;-webkit-box-orient:vertical;"],Dp.spacing2,Dp.gray500,Dp.fontSize75),yg=ql.div.withConfig({displayName:"Action",componentId:"sc-11co88f-148"})(["flex:none;"]),bg=ql.div.withConfig({displayName:"Progress1",componentId:"sc-11co88f-149"})(["position:absolute;bottom:0;left:0;height:4px;background-color:",";transition:width 0.2s;"],Dp.brandPrimary500);function wg({isPersistent:e,button:n,id:r=vd(),variant:o,thumbnail:i,...a}){return kp((e=>t.createElement(pg,{thumbnail:xg(i,o),...a,button:n?p(n,{variant:"clean",onClick(){var t,r;null===(t=(r=n.props).onClick)||void 0===t||t.call(r),kp.dismiss(e.id)}}):t.createElement(ef,{variant:"clean",onClick:()=>{kp.dismiss(e.id)},icon:t.createElement(Iu,null),title:"Close"})})),{id:r,duration:e?288e5:8e3})}function xg(e,n){return e||(n?{loading:t.createElement(_h,{shape:"circle",backgroundColor:"transparent",icon:t.createElement(Wp,null)}),success:t.createElement(_h,{shape:"circle",backgroundColor:"green500",icon:t.createElement(ku,null),iconColor:"white"}),error:t.createElement(_h,{shape:"circle",backgroundColor:"red500",icon:t.createElement(Iu,null),iconColor:"white"})}[n]:void 0)}wg.dismiss=function(e){kp.dismiss(e)},ql.div.withConfig({displayName:"Track",componentId:"sc-11co88f-150"})(["height:4px;border-radius:",";background:",";"],(e=>e.noCornerRadius?"0":Dp.radiusPill),(e=>e.noBackground?"none":Dp.gray100a)),ql.div.withConfig({shouldForwardProp:(e,t)=>!["color"].includes(e)&&t(e)}).withConfig({displayName:"Fill",componentId:"sc-11co88f-151"})(["max-width:100%;height:100%;border-radius:",";background:",";transition:width 0.2s ease-out;"],(e=>e.noCornerRadius?"0":Dp.radiusPill),(e=>"brand"===e.color?Dp.brandPrimary500:Dp.gray600)),ql.div.withConfig({displayName:"IndicatorPosition",componentId:"sc-11co88f-152"})(["display:flex;flex:none;align-items:center;&::before{content:'';}"]);const Eg=ql.div.withConfig({displayName:"Indicator",componentId:"sc-11co88f-153"})(["position:relative;display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:16px;height:16px;border:2px solid ",";border-radius:",";background-color:transparent;&::before{content:'';position:absolute;top:-5px;right:-5px;bottom:-5px;left:-5px;border:"," solid transparent;border-color:",";border-radius:",";}"," ",""],Dp.componentRadioBorderUnchecked,Dp.radiusCircle,Dp.focusRingWidth,(e=>e.isFocusVisible&&Dp.focusRingColorPrimary),Dp.radiusCircle,(e=>e.isChecked&&Tl(["border-color:transparent;background-color:",";color:#fff;"],Dp.blue500)),(e=>e.isDisabled&&Tl(["border-color:transparent;background-color:",";color:",";"],Dp.componentRadioFillDisabled,Dp.componentRadioCheckmarkColorDisabled)));ql.div.withConfig({displayName:"IndicatorMark",componentId:"sc-11co88f-154"})(["width:6px;height:6px;border-radius:",";background:currentColor;"],Dp.radiusCircle),ql.input.withConfig({displayName:"Input",componentId:"sc-11co88f-155"})(["position:absolute;overflow:hidden;clip:rect(0,0,0,0);width:1px;height:1px;margin:0 -1px -1px 0;padding:0;border:0;white-space:nowrap;clip-path:inset(50%);"]),ql.label.withConfig({displayName:"Container3",componentId:"sc-11co88f-156"})([""," display:flex;align-items:flex-start;margin:0;padding:"," 0;cursor:",";user-select:none;&:hover ","{","}"],df.uiTextM,Dp.spacing1,(e=>!e.isDisabled&&"pointer"),Eg,(e=>{if(!e.isDisabled)return e.isChecked?Tl(["background-color:",";"],Dp.blue600):Tl(["border-color:",";"],Dp.componentRadioBorderUncheckedHover)})),ql.div.withConfig({displayName:"Label",componentId:"sc-11co88f-157"})(["display:block;margin-left:8px;color:",";"],(e=>e.isDisabled?Dp.gray400:Dp.colorText));const Cg=n({value:"",onChange:()=>{}});function kg({children:e,isDisabled:n,onChange:r,value:i,label:a,icon:c}){const l=o((()=>({value:i,onChange:r})),[r,i]);return t.createElement(Cg.Provider,{value:l},t.createElement(Wh,{trigger:({isOpen:e,...r})=>t.createElement(ef,{icon:c,isPressed:e,rightIcon:t.createElement(Wh.Arrow,null),isFullWidth:!0,isDisabled:n,...r},t.createElement(Wh.SelectButtonText,null,a)),position:"bottom"},e))}function Sg(e,t,n){return 100*(n-e)/(t-e)+"%"}kg.Item=function({icon:e,children:n,isDisabled:r,value:o}){const a=i(Cg);return t.createElement(Wh.Item,{isChecked:o===a.value,role:"menuitemradio",icon:e,isDisabled:r,onClick:()=>{a.onChange(o)}},n)},kg.SectionTitle=Wh.SectionTitle,kg.Divider=Wh.Divider,kg.SearchInput=Wh.SearchInput,kg.Text=Wh.Text,ql.aside.withConfig({displayName:"Container2",componentId:"sc-11co88f-158"})(["overflow-y:auto;box-sizing:border-box;width:272px;height:100%;padding:"," 0;border-right:1px solid ",";background:",";"],Dp.spacing5,Dp.gray100,Dp.white),ql.div.withConfig({shouldForwardProp:(e,t)=>!["width","height"].includes(e)&&t(e)}).withConfig({displayName:"Image",componentId:"sc-11co88f-159"})(["width:",";min-width:10px;height:",";min-height:10px;border-radius:",";background:",";"],(e=>e.width),(e=>e.height),Dp.radiusBase,Dp.gray100),ql.div.withConfig({displayName:"TextContainer",componentId:"sc-11co88f-160"})(["display:flex;align-items:center;width:100%;height:20px;&::before{content:'';height:6px;border-radius:",";","}"],Dp.radiusPill,(e=>"primary"===e.variant?Tl(["width:75%;max-width:240px;background:",";"],Dp.gray200):"secondary"===e.variant?Tl(["width:50%;max-width:160px;background:",";"],Dp.gray100):void 0)),ql.div.withConfig({displayName:"Opacity",componentId:"sc-11co88f-161"})(["opacity:",";"],(({value:e=1})=>e));const _g=ql.div.withConfig({displayName:"Container1",componentId:"sc-11co88f-162"})(["position:relative;display:flex;gap:",";align-items:center;"],Dp.spacing3),Ig=ql.div.withConfig({displayName:"SliderContainer",componentId:"sc-11co88f-163"})(["position:relative;display:flex;flex:1;align-items:center;height:24px;"]),Bg=Tl(["position:relative;box-sizing:border-box;height:24px;padding:0;border:10px solid transparent;border-radius:2px / 50%;background-image:var(--track-background);background-clip:padding-box;cursor:pointer;border-inline:none;appearance:none;"]),Tg=Tl(["position:relative;top:50%;bottom:0;width:20px;height:20px;padding:0;opacity:0;pointer-events:auto;transform:translateY(-50%);-webkit-appearance:none;appearance:none;&:hover{cursor:pointer;}"]);function Ng(e){const t=Sg(e.min,e.max,e.value);let n,r;return Array.isArray(e.values)?(n=Sg(e.min,e.max,e.values[0]),r=Sg(e.min,e.max,e.values[1])):e.isFromCenter?(n=`min(${t}, 50%)`,r=`max(50%, ${t})`):(n="0",r=t),`linear-gradient(\n\t\t90deg,\n\t\t${Dp.gray100a} ${n},\n\t\t${Dp.brandPrimary500} ${n},\n\t\t${Dp.brandPrimary500} ${r},\n\t\t${Dp.gray100a} ${r}\n\t)`}const zg=ql.input.attrs((e=>({style:{"--track-background":Ng(e)}}))).withConfig({displayName:"SliderInput",componentId:"sc-11co88f-164"})(["position:absolute;left:0;width:100%;margin:0;padding:0;border:none;background:transparent;",";-webkit-appearance:none;appearance:none;&:focus{outline:none;}&::-webkit-slider-thumb{","}&::-moz-range-thumb{"," transform:none;}&::-webkit-slider-runnable-track{","}&::-moz-range-track{","}"],(e=>e.isRange?"pointer-events: none":"pointer-events: auto"),Tg,Tg,Bg,Bg),Dg=ql.div.withConfig({displayName:"ThumbContainer",componentId:"sc-11co88f-165"})(["position:absolute;top:50%;z-index:1;box-sizing:border-box;width:16px;height:16px;opacity:var(--thumb-opacity,",");pointer-events:none;transition:opacity 120ms ease-in-out;",":hover &{--thumb-opacity:1;}",":hover + &{--thumb-opacity:1;--thumb-inner-circle-visibility:visible;--thumb-border:0 0 0 1px ",";--thumb-shadow:",",",";}",":focus-visible + &{--thumb-opacity:1;--thumb-inner-circle-visibility:visible;--thumb-border:0 0 0 1px ",";--thumb-shadow:0 0 0 3px ",";}",":active + &{--thumb-opacity:1;--thumb-inner-circle-visibility:visible;--thumb-border:0 0 0 1px ",";--thumb-shadow:",",",";--thumb-size:20px;}"],(e=>e.isInactive?0:1),Ig,zg,Dp.gray100a,Dp.elevationStatic,Dp.elevation1,zg,Dp.gray100a,Dp.gray100a,zg,Dp.gray100a,Dp.elevationStatic,Dp.elevation2),Pg=ql.div.withConfig({displayName:"ThumbCircle",componentId:"sc-11co88f-166"})(["position:absolute;top:50%;left:50%;width:var(--thumb-size,16px);height:var(--thumb-size,16px);border-radius:",";background:",";box-shadow:var(--thumb-shadow,",",","),var(--thumb-border,0 0 0 1px ",");transform:translate(-50%,-50%);&::before{content:'';position:absolute;top:50%;left:50%;display:block;width:8px;height:8px;border-radius:",";background-color:",";visibility:var(--thumb-inner-circle-visibility,hidden);transform:translate(-50%,-50%);}"],Dp.radiusCircle,Dp.gray10,Dp.elevationStatic,Dp.elevation1,Dp.gray75a,Dp.radiusCircle,Dp.gray25),Og=ql.div.withConfig({displayName:"InputContainer",componentId:"sc-11co88f-167"})(["width:",";input{text-align:center;}"],(function(e){return 40+8*Math.max(e.min.toString().length,e.max.toString().length)+"px"}));function Ag({min:e,max:n,value:r,isTooltipOpen:o,inputPosition:i,isInactive:a}){const c=Sg(e,n,r);return t.createElement(Dg,{isInactive:a,style:Rg(c),"data-testid":"thumb"},t.createElement(Pg,null),"none"===i&&t.createElement(Sf,{isOpen:o,content:r,position:"top-center"},(e=>t.createElement("div",{...e}))))}function Rg(e){return{left:e,transform:`translateY(-50%) translateX(calc(${e} * -1))`}}function Fg({min:e,max:n,value:o,onChange:i,inputPosition:a,isFromCenter:c=!1,isInactive:l,isTooltipHidden:s}){const[u,d]=r(!1),p=Array.isArray(o);return t.createElement(t.Fragment,null,t.createElement(zg,{min:e,max:n,value:p?o[0]:o,values:o,type:"range",onChange:i,name:"min-input",onMouseDown:()=>{d(!0)},onMouseUp:()=>{d(!1)},isFromCenter:c,isRange:p,role:"slider"}),t.createElement(Ag,{isTooltipOpen:u&&!s,min:e,max:n,value:p?o[0]:o,inputPosition:a,isInactive:l}),p&&t.createElement(t.Fragment,null,t.createElement(zg,{min:e,max:n,value:o[1],type:"range",onChange:i,name:"max-input",values:o,onMouseDown:()=>{d(!0)},onMouseUp:()=>{d(!1)},isRange:p}),t.createElement(Ag,{isTooltipOpen:u&&!s,min:e,max:n,value:o[1],inputPosition:a,isInactive:l})))}function Lg({min:e,max:n,inputPosition:o="none",value:i,onChange:a,iconLeft:c,iconRight:l,isFromCenter:s=!1,isInactive:u=!1,isTooltipHidden:d=!1,...p}){const[f,m]=r(""),[h,g]=r("none");function v(t){g("none");const r=Number(t.target.value);r<e||n<r||(Array.isArray(i)?("min-input"===t.target.name&&r<i[1]&&a([r,i[1]]),"max-input"===t.target.name&&i[0]<r&&a([i[0],r])):a(r))}function y(e){"Enter"===e.key&&e.target.blur()}const b=String(Array.isArray(i)?i[0]:i),w=String(Array.isArray(i)?i[1]:i);return t.createElement(_g,{...p},("left"===o||"both"===o)&&t.createElement(Og,{min:e,max:n,"data-testid":"input-left"},t.createElement(Rm,{onChange:m,value:"left"===h?f:b,type:"number",onFocus:()=>{m(b),g("left")},onBlur:()=>{v({target:{name:"min-input",value:f}})},onKeyDown:y})),c,t.createElement(Ig,null,t.createElement(Fg,{min:e,max:n,value:i,inputPosition:o,onChange:v,isFromCenter:s,isInactive:u,isTooltipHidden:d})),l,("right"===o||"both"===o)&&t.createElement(Og,{min:e,max:n,"data-testid":"input-right"},t.createElement(Rm,{onChange:m,value:"right"===h?f:w,type:"number",onFocus:()=>{m(w),g("right")},onBlur:()=>{v({target:{name:"max-input",value:f}})},onKeyDown:y})))}ql.td.withConfig({displayName:"StyledCell",componentId:"sc-11co88f-168"})([""," "," padding:"," ",";word-break:break-word;&[data-checkbox-cell]{width:16px;}&[data-icon-cell]{width:24px;padding-left:0;}tr &:first-child{border-top-left-radius:",";border-bottom-left-radius:",";}tr &:last-child{border-top-right-radius:",";border-bottom-right-radius:",";}"],(e=>"primary"===e.variant?Tl([""," color:var(--table-row-color-override,inherit);"],df.uiTextM):"secondary"===e.variant?Tl([""," color:var(--table-row-color-override,",");"],df.uiTextS,Dp.gray600):void 0),(e=>e.isTruncated&&"max-width: 1px;"),Dp.spacing3,Dp.spacing4,Dp.radiusLarge,Dp.radiusLarge,Dp.radiusLarge,Dp.radiusLarge),ql.div.withConfig({displayName:"ThumbnailWrapper",componentId:"sc-11co88f-169"})(["flex:none;align-self:flex-start;opacity:var(--table-thumbnail-opacity,1);"]),ql.div.withConfig({displayName:"Content",componentId:"sc-11co88f-170"})(["flex:1;min-width:0;white-space:",";"],(e=>e.isNoWrap?"nowrap":"normal")),ql.div.withConfig({displayName:"Subtext",componentId:"sc-11co88f-171"})([""," color:var(--table-row-color-override,",");"],df.uiTextS,Dp.gray600),ql.div.withConfig({displayName:"IconRight",componentId:"sc-11co88f-172"})(["flex:none;margin-left:",";color:",";"],Dp.spacing4,Dp.gray600),ql.tr.withConfig({displayName:"DividerRow",componentId:"sc-11co88f-173"})(["&:nth-child(2){display:none;}"]),ql.td.withConfig({displayName:"DividerCell",componentId:"sc-11co88f-174"})(["padding:"," 0;&::before{content:'';display:block;height:1px;height:1px;background:",";}"],Dp.spacing3,Dp.gray100a),ql.tr.withConfig({displayName:"StyledRow",componentId:"sc-11co88f-175"})([""," "," ",""],(e=>e.isActive&&Tl(["--table-row-right-icon-color:",";border-radius:",";outline:none;cursor:pointer;&:hover{--table-row-right-icon-color:",";background:",";}"," &:active{background:",";box-shadow:none;}"],Dp.gray200,Dp.radiusLarge,Dp.gray600,Dp.gray25,e.isFocusVisible&&Tl(["--table-row-right-icon-color:",";background:",";box-shadow:inset 0 0 0 2px ",",inset 0 0 0 4px ",";&:hover{box-shadow:inset 0 0 0 2px ",",inset 0 0 0 4px ",";}"],Dp.gray600,Dp.gray25,Dp.gray100,Dp.gray10,Dp.gray50,Dp.gray10),Dp.gray50)),(e=>e.isPressed&&Tl(["--table-row-right-icon-color:",";&,&:hover{background:",";}"],Dp.gray600,Dp.gray50)),(e=>e.isDisabled&&Tl(["--table-row-right-icon-color:",";--table-thumbnail-opacity:50%;--table-row-color-override:",";pointer-events:none;"],Dp.gray200,Dp.gray200))),ql.div.withConfig({displayName:"Icon1",componentId:"sc-11co88f-176"})(["color:var(--table-row-right-icon-color);"]),ql.thead.withConfig({displayName:"StyledHeader",componentId:"sc-11co88f-177"})(["",""],(e=>"string"==typeof e.stickyOffset&&Tl(["--table-head-sticky-offset:",";position:sticky;top:var(--table-head-sticky-offset);z-index:1;background-color:",";",""],"0"===e.stickyOffset?"0px":e.stickyOffset,Dp.white,e.isStuck&&Tl(["box-shadow:0 3px 0 ",",0 1px 0 ",";"],Dp.gray50a,Dp.gray100a)))),ql.div.withConfig({displayName:"Trigger",componentId:"sc-11co88f-178"})(["position:absolute;top:calc((var(--table-head-sticky-offset) + 1px) * -1);width:1px;height:1px;"]),ql.th.withConfig({displayName:"StyledHeadCell",componentId:"sc-11co88f-179"})([""," padding:"," ",";text-align:left;"],df.uiTextM,Dp.spacing2,Dp.spacing4),ql.div.withConfig({displayName:"Static",componentId:"sc-11co88f-180"})(["padding:"," 0;"],Dp.spacing3),ql.span.withConfig({displayName:"Active",componentId:"sc-11co88f-181"})(["font-weight:600;"]),ql.td.withConfig({displayName:"Cell2",componentId:"sc-11co88f-182"})(["height:",";"],Dp.spacing3),ql.td.withConfig({displayName:"Cell1",componentId:"sc-11co88f-183"})(["padding:"," ",";"],Dp.spacing3,Dp.spacing4),ql.td.withConfig({displayName:"Cell",componentId:"sc-11co88f-184"})(["padding:",";"],Dp.spacing4),ql.table.withConfig({displayName:"StyledTable",componentId:"sc-11co88f-185"})(["width:100%;border-collapse:collapse;table-layout:"," !important;word-wrap:initial !important;"],(e=>e.isFixedLayout?"fixed":"auto")),ql.button.withConfig({shouldForwardProp:(e,t)=>!["shape"].includes(e)&&t(e)}).withConfig({displayName:"TabStyled",componentId:"sc-11co88f-186"})(["display:flex;flex-grow:1;flex-basis:0;justify-content:center;align-items:center;min-width:0;height:",";padding:"," ",";border:0;border-radius:",";background-color:transparent;color:",";font-family:inherit;text-align:center;cursor:pointer;"," &:disabled{color:",";cursor:default;}&:focus-visible{color:",";box-shadow:inset 0 0 0 2px ",";outline:none;}&:hover:enabled{color:",";",";}",";",";"],(e=>"contained"===e.variant?"36px":"40px"),Dp.spacing3,Dp.spacing5,(e=>"pill"===e.shape?Dp.radiusPill:Dp.radiusBase),(e=>e.isActive?Dp.gray800:Dp.gray600),df.uiTextM,Dp.gray400,Dp.gray800,Dp.gray200,Dp.gray800,(e=>"clean"===e.variant&&Tl(["background-color:",";"],Dp.gray25a)),(e=>e.isActive&&"contained"===e.variant&&Tl(["background-color:",";box-shadow:0 0 1px ",",",";"],Dp.white,Dp.colorShadow,Dp.elevation1)),(e=>e.isActive&&"clean"===e.variant&&Tl(["background-color:",";"],Dp.gray50a))),ql.span.withConfig({displayName:"Icon",componentId:"sc-11co88f-187"})(["margin-right:",";"],Dp.spacing3),ql.div.withConfig({shouldForwardProp:(e,t)=>!["shape"].includes(e)&&t(e)}).withConfig({displayName:"TabsStyled",componentId:"sc-11co88f-188"})(["display:flex;gap:",";align-items:center;border-radius:",";",";"],Dp.spacing1,(e=>"pill"===e.shape?Dp.radiusPill:`calc(${Dp.radiusBase} + 2px) `),(e=>"contained"===e.variant&&Tl(["padding:",";background-color:",";"],Dp.spacing1,Dp.gray50a)));const Mg={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"};function jg(e){Object.keys(Mg).forEach((t=>{e.style.setProperty(t,Mg[t],"important")}))}let Hg=null;const Ug=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"];function Vg({id:e,isDisabled:n=!1,isReadOnly:r=!1,isInvalid:o=!1,onBlur:i,onChange:a,onFocus:s,placeholder:u,value:d,"aria-label":p,"aria-labelledby":f,"aria-describedby":m,minRows:h=2,maxRows:g=8,maxLength:v,...y}){const b=c(null);return function(e,t,n){const r=c(0),[o,i]=function(e,t){let n=e||2,r=t||8;return n>r&&(n=r),n<2&&(n=2),r>8&&(r=8),[n,r]}(t,n);l((()=>{const t=e.current;if(!t)return;const n=function(e){const t=window.getComputedStyle(e);if(null===t)return null;const n=(r=t,Ug.reduce(((e,t)=>(e[t]=r[t],e)),{}));var r;return""===n.boxSizing?null:{sizingStyle:n,paddingSize:parseFloat(n.paddingBottom||"0")+parseFloat(n.paddingTop||"0"),borderSize:parseFloat(n.borderBottomWidth||"0")+parseFloat(n.borderTopWidth||"0")}}(t);if(!n)return;const a=function({sizingData:e,value:t,minRows:n,maxRows:r}){Hg||(Hg=document.createElement("textarea"),Hg.setAttribute("tabindex","-1"),Hg.setAttribute("aria-hidden","true"),jg(Hg)),null===Hg.parentNode&&document.body.appendChild(Hg);const{paddingSize:o,borderSize:i,sizingStyle:a}=e;Object.keys(a).forEach((e=>{if(!Hg)return;const t=e;Hg.style[t]=a[t]})),jg(Hg),Hg.value=t;let c=function(e,t){const n=Hg.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize}(0,e);Hg.value="x";const l=Hg.scrollHeight-o;let s=l*n;"border-box"===a.boxSizing&&(s=s+o+i),c=Math.max(s,c);let u=l*r;return"border-box"===a.boxSizing&&(u=u+o+i),c=Math.min(u,c),c}({sizingData:n,value:t.value||t.placeholder||"x",minRows:o,maxRows:i});r.current!==a&&(r.current=a,t.style.setProperty("height",`${a}px`,"important"))}))}(b,h,g),t.createElement($g,{value:d,onChange:function(e){if(a){const t=e.currentTarget.value;a(t)}},id:e,disabled:n,readOnly:r,isInvalid:o,"aria-label":p,"aria-labelledby":f,"aria-describedby":m,onBlur:i,onFocus:s,placeholder:u,autoComplete:"off",autoCorrect:"off",ref:b,maxLength:v,...y})}const $g=ql.textarea.withConfig({displayName:"TextareaStyled",componentId:"sc-11co88f-189"})(["&&{display:block;box-sizing:border-box;width:100%;margin:0;padding:"," ",";border:1px solid ",";border-radius:",";background:",";color:",";outline:none;font-family:",";resize:none;transition:none;"," &::placeholder{color:",";}&:hover{border-color:",";box-shadow:",";}&:focus{border-color:",";box-shadow:0 0 0 3px ",";}&:disabled{border-color:",";background:",";color:",";box-shadow:none;}",";}"],Dp.spacing3,Dp.spacing5,Dp.gray100,Dp.radiusBase,Dp.white,Dp.colorText,Dp.brandFontStackBase,df.paragraphM,Dp.gray400,Dp.gray200,Dp.elevation1,Dp.gray300,Dp.gray100a,Dp.gray100,Dp.gray25,Dp.gray600,(e=>e.isInvalid&&Tl(["border-color:",";&:hover{border-color:",";}&:focus{border-color:",";}"],Dp.red500,Dp.red600,Dp.red500))),Wg=ql.div.withConfig({displayName:"RightElementText",componentId:"sc-11co88f-190"})(["display:flex;justify-content:flex-end;align-items:center;color:",";text-align:right;"],Dp.gray400);ql.div.withConfig({displayName:"LeftIconContainer",componentId:"sc-11co88f-191"})(["margin-right:",";*{max-width:24px;max-height:24px;}"],Dp.spacing4),ql.div.withConfig({displayName:"RightElementsContainer",componentId:"sc-11co88f-192"})(["margin-left:auto;padding-left:",";"],Dp.spacing4);const Gg=Tl(["background-color:"," !important;color:"," !important;","{color:",";}"],Dp.gray50,Dp.gray800,Wg,Dp.gray600);function qg(e){var t;return null!==(t=Yg[e])&&void 0!==t?t:e}ql.a.withConfig({displayName:"StyledNavItem",componentId:"sc-11co88f-193"})(["&&{"," display:flex;align-items:center;box-sizing:border-box;width:100%;height:40px;margin:0;padding:"," ",";border:0;border-radius:",";background:none;color:",";outline:none;font-family:",";text-decoration:none;cursor:",";&:hover{background-color:",";color:",";","{color:",";}}&:active{","}"," "," ",";}"],df.uiTextM,Dp.spacing3,Dp.spacing4,Dp.brandRadiusBase,Dp.gray600,Dp.brandFontStackBase,(e=>e.disabled?"default":"pointer"),Dp.gray25,Dp.gray800,Wg,Dp.gray600,Gg,(e=>e.$isSelected&&Gg),(e=>e.$isFocusVisible&&Tl(["background-color:",";color:",";","{color:",";}"],Dp.gray25,Dp.gray800,Wg,Dp.gray600)),(e=>e.disabled&&Tl(["background-color:transparent;color:",";pointer-events:none;","{color:",";}"],Dp.gray400,Wg,Dp.gray400))),ql(Fm).withConfig({displayName:"Divider",componentId:"sc-11co88f-194"})(["margin:"," ",";"],Dp.spacing2,Dp.spacing4),ql.div.withConfig({displayName:"StyledTitleContainer",componentId:"sc-11co88f-195"})(["",";display:flex;align-items:center;box-sizing:border-box;height:32px;padding:0 ",";color:",";"],df.uiTextS,Dp.spacing4,Dp.gray800),ql.div.withConfig({displayName:"RightElementIcon",componentId:"sc-11co88f-196"})(["&:last-child{margin-right:calc("," * -1);}"],Dp.spacing2),ql.div.withConfig({displayName:"Container",componentId:"sc-11co88f-197"})(["margin:0 ",";"],Dp.spacing5);var Yg={};function Kg(e){a((function(){var t=e.slice(0,2).toLowerCase(),n="".concat("https://d8ejoa1fys2rk.cloudfront.net","/5.0.5/modules/compactview/i18n/").concat(t,".json");fetch(n).then((function(e){return e.json()})).then((function(e){Yg=e}))}),[e])}function Xg(){return t.createElement("svg",{width:"190",height:"130"},t.createElement("defs",null,t.createElement("linearGradient",{id:"prefix__b",x1:"100%",x2:"25.598%",y1:"11.782%",y2:"100%"},t.createElement("stop",{offset:"0%",stopColor:"#F8FAFC"}),t.createElement("stop",{offset:"100%",stopColor:"#EFF2F4"})),t.createElement("rect",{id:"prefix__a",width:"190",height:"130",rx:"3"})),t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("mask",{id:"prefix__c",fill:"#fff"},t.createElement("use",{xlinkHref:"#prefix__a"})),t.createElement("use",{fill:"url(#prefix__b)",xlinkHref:"#prefix__a"}),t.createElement("g",{mask:"url(#prefix__c)"},t.createElement("path",{fill:"#F5A623",d:"M100.296 45.951l23.01 43.23A6 6 0 01118.009 98H71.991a6 6 0 01-5.297-8.82l23.01-43.229a6 6 0 0110.592 0z"}),t.createElement("path",{fill:"#FFF",fillRule:"nonzero",d:"M93.21 60h3.58a2 2 0 011.99 2.199l-1.6 16A2 2 0 0195.19 80h-.38a2 2 0 01-1.99-1.801l-1.6-16A2 2 0 0193.21 60zM95 84a3 3 0 110 6 3 3 0 010-6z"})),t.createElement("path",{fill:"#EEF1F3",d:"M3 0h184a3 3 0 013 3v13H0V3a3 3 0 013-3z",mask:"url(#prefix__c)"}),t.createElement("circle",{cx:"11",cy:"8",r:"3",fill:"#023",fillOpacity:"0.1",mask:"url(#prefix__c)"}),t.createElement("circle",{cx:"20",cy:"8",r:"3",fill:"#023",fillOpacity:"0.1",mask:"url(#prefix__c)"}),t.createElement("circle",{cx:"29",cy:"8",r:"3",fill:"#023",fillOpacity:"0.1",mask:"url(#prefix__c)"})))}function Zg(e){return t.createElement(t.Fragment,null,t.createElement(Xg,null),t.createElement(tv,null,qg("Oops! Something went wrong")),t.createElement(nv,null,qg("Please try again or get in contact with our customer support.")),t.createElement(rv,null,t.createElement(ef,{variant:"secondary",title:qg("Send report"),onClick:e.onClickSend,isDisabled:e.isReportSent},e.isReportSent?qg("Report sent"):qg("Send report...")),t.createElement(ef,{variant:"primary",title:qg("Try again"),onClick:e.onClickRetry},qg("Try again"))))}var Jg,Qg,ev,tv=ql.h1(Jg||(Jg=_a(["\n\tmargin-top: ",";\n\tfont-size: ",";\n"],["\n\tmargin-top: ",";\n\tfont-size: ",";\n"])),Dp.spacing8,Dp.fontSize400),nv=ql.span(Qg||(Qg=_a(["\n\tmargin-top: ",";\n\tcolor: ",";\n"],["\n\tmargin-top: ",";\n\tcolor: ",";\n"])),Dp.spacing5,Dp.colorTextDisabled),rv=ql.div(ev||(ev=_a(["\n\tmargin-top: ",";\n\tdisplay: flex;\n\tgap: ",";\n"],["\n\tmargin-top: ",";\n\tdisplay: flex;\n\tgap: ",";\n"])),Dp.spacing7,Dp.spacing3);function ov(e){var n;return t.createElement(dg,{title:qg("Send error report"),isOpen:e.isOpen,onClose:e.onCancel,actionPrimary:t.createElement(ef,{variant:"primary",title:qg("Send report"),onClick:e.onDone},qg("Send report")),actionSecondary:t.createElement(ef,{variant:"secondary",title:qg("Cancel"),onClick:e.onCancel},qg("Cancel")),container:e.container},t.createElement(lv,null,qg("We have created a report that you can send us to help us prevent this from happening in the future.")),t.createElement(sv,{"data-testid":"error-stack"},null===(n=e.error.stack)||void 0===n?void 0:n.split("\n").map((function(e){return t.createElement(t.Fragment,{key:e},e,t.createElement("br",null))}))),t.createElement(uv,null,qg("We will treat this report as confidential and anonymous.")))}var iv,av,cv,lv=ql.div(iv||(iv=_a(["\n\tline-height: ",";\n"],["\n\tline-height: ",";\n"])),Dp.lineHeightText),sv=ql.div(av||(av=_a(["\n\tmargin: "," 0;\n\tflex-grow: 1;\n\talign-self: stretch;\n\tbackground-color: ",";\n\tborder-radius: ",";\n\tborder: 1px solid ",";\n\tline-height: ",";\n\toverflow: scroll;\n\tpadding: "," ",";\n\tmax-height: 200px;\n"],["\n\tmargin: "," 0;\n\tflex-grow: 1;\n\talign-self: stretch;\n\tbackground-color: ",";\n\tborder-radius: ",";\n\tborder: 1px solid ",";\n\tline-height: ",";\n\toverflow: scroll;\n\tpadding: "," ",";\n\tmax-height: 200px;\n"])),Dp.spacing5,Dp.gray25,Dp.radiusMedium,Dp.gray200,Dp.lineHeightText,Dp.spacing5,Dp.spacing4),uv=ql.span(cv||(cv=_a(["\n\tcolor: ",";\n\tline-height: ",";\n\tfont-size: ",";\n"],["\n\tcolor: ",";\n\tline-height: ",";\n\tfont-size: ",";\n"])),Dp.colorTextDisabled,Dp.lineHeightBase,Dp.fontSize75);function dv(e){var n=e.error,o=e.onRetry,i=La(),c=r(!1),l=c[0],s=c[1],u=r(!1),d=u[0],p=u[1];return a((function(){Aa.error(n)}),[n]),t.createElement("div",{className:"w-full h-full flex flex-col items-center justify-center bg-ui-0 font-sans\n text-base text-body-500"},t.createElement(Zg,{isReportSent:d,onClickSend:function(){s(!0)},onClickRetry:o}),t.createElement(ov,{isOpen:l,error:n,container:i,onDone:function(){ti(n),s(!1),p(!0)},onCancel:function(){s(!1)}}))}function pv(){var e=ba(Ta()[0].page),n=e[0],r=e[1],o={ASC:qg("Ascending"),DESC:qg("Descending")},i={ASC:"DESC",DESC:"ASC"};return t.createElement(ef,{variant:"clean",isSmall:!0,title:o[n.direction],onClick:function(){r({field:n.field,direction:i[n.direction]})},icon:t.createElement(mv,{$isAscending:"ASC"===n.direction})})}var fv,mv=ql((function(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"}}]})(e)}))(fv||(fv=_a(["\n\twidth: ",";\n\theight: ",";\n\t","\n"],["\n\twidth: ",";\n\theight: ",";\n\t","\n"])),Dp.spacing6,Dp.spacing6,(function(e){return e.$isAscending&&"transform: scaleY(-1)"}));function hv(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(Boolean).join(" ")}function gv(e){var n,o=c(null),i=r(0)[1];!function(e,t){var n=La();a((function(){function r(n){var r=n.target;e.map((function(e){return null==e?void 0:e.current})).some((function(e){return e&&e.contains(r)}))||t()}return null==n||n.addEventListener("mousedown",r),function(){return null==n?void 0:n.removeEventListener("mousedown",r)}}),[e,t,n])}([e.target,o],e.onClickOutside),l((function(){i(null!==e.target.current?e.target.current.getBoundingClientRect().x:0)}),[e.target]);var s=La(),u=null!==(n=s.querySelector(".cv-root"))&&void 0!==n?n:s;if(null===s||null===e.target.current)return null;var d=e.target.current.getBoundingClientRect(),p=d.x,f=window.innerWidth,m=p+300>f?void 0:p,h=p+300>f?f-d.width-p:void 0,v="Down"===e.direction?d.top+d.height:void 0,y="Up"===e.direction?window.innerHeight-d.top:void 0,b=u.getBoundingClientRect(),w=b.width-(null!=m?m:0)-(null!=h?h:0),x=b.height-(null!=y?y:0)-(null!=v?v:0);m&&w<300&&(m=p+d.width-300);var E={left:m,right:h,top:v,bottom:y,maxWidth:w,maxHeight:x,minWidth:300},C=hv("cv-root cv-dropdown select-none",e.className);return g(t.createElement("div",{role:"menu",id:e.id,className:C,ref:o,style:E},e.children),s)}function vv(e){var n=e.buttonKind,i=void 0===n?"clean":n,a=e.direction,l=void 0===a?"Down":a,s=e.isSmall,u=e.fadeIn,d=Ea(e,["buttonKind","direction","isSmall","fadeIn"]),p=o((function(){return"dropdownmenu-".concat(Date.now(),"-").concat(Math.random().toString(36).substring(2))}),[]),f=r(!1),m=f[0],h=f[1],g=c(null),v=function(){return h((function(e){return!e}))};return t.createElement(t.Fragment,null,t.createElement(bv,{variant:i,isSmall:s,onClick:v,ref:g,isDisabled:d.disabled,isPressed:m,"aria-haspopup":!0,"aria-expanded":m,"aria-controls":p,fadeIn:u,"data-testid":"button"},t.createElement("span",{className:"inline-flex items-center",title:d.alt},d.title),t.createElement(Eu,{className:"w-6 h-6 ml-1 -mr-2"})),m&&t.createElement(gv,{className:d.className,onClickOutside:v,direction:l,target:g,id:p},d.children(v)))}var yv,bv=ql(ef)(yv||(yv=_a(["\n\tdisplay: flex;\n\talign-items: center;\n\ttext-transform: inherit;\n\t","\n"],["\n\tdisplay: flex;\n\talign-items: center;\n\ttext-transform: inherit;\n\t","\n"])),(function(e){return e.fadeIn?"animation: var(--fade-in-down);":""}));function wv(e){var n=e.selected,r=void 0!==n&&n,o=Ea(e,["selected"]),i=hv("text-left w-full cursor-pointer flex hover:bg-ui-400 hover:text-body-500 items-center transition-color",r?"text-body-500":"text-body-400",o.className);return t.createElement("li",null,t.createElement("button",{type:"button",className:i,onClick:o.onClick,role:"menuitemradio","aria-checked":r,tabIndex:-1},o.children,r&&t.createElement(ku,{className:"w-6 h-6 ml-3 fade-in"})))}function xv(e){var n=e.options,r=void 0===n?["CREATED_AT","PUBLISHED_AT","UPDATED_AT","NAME"]:n,o=ba(Ta()[0].page),i=o[0],a=o[1],c={CREATED_AT:qg("Date added"),NAME:qg("Name"),PUBLISHED_AT:qg("Date published"),UPDATED_AT:qg("Date modified")};return t.createElement(Cv,null,t.createElement(vv,{className:"py-2",title:c[i.field],alt:qg("Order by")},(function(e){return t.createElement("ul",null,r.map((function(n){return t.createElement(wv,{className:"px-4 py-px text-sm",selected:i.field===n,key:c[n],onClick:function(){a({field:n,direction:i.direction}),e()}},t.createElement("span",{className:"flex-grow min-w-24 py-2"},c[n]))})))})))}var Ev,Cv=ql.div(Ev||(Ev=_a(["\n\tmargin-left: auto;\n"],["\n\tmargin-left: auto;\n"])));function kv(e,t,n){return(1===e?t:n).replace("{}",e.toString())}function Sv(e){var n=e.width,r=void 0===n?100:n,o=e.className;return t.createElement("span",{className:hv("cv-skeleton",o),style:{width:r},"data-testid":"skeleton"},"")}function _v(e){return t.createElement(t.Fragment,null,Array(e.rows*e.columns).fill(void 0).map((function(n,r){return t.createElement("div",{key:r,className:"m-2 w-56 self-start group relative","data-testid":"asset-card"},t.createElement(Kf,null,t.createElement(Kf.Frame,null),t.createElement(Kf.AdditionalInfo,null,t.createElement(Sv,{width:70+Iv(100,r),className:"h-4"})),e.title))})))}function Iv(e,t){return 16807*((t+20)%2147483647+2147483646)%2147483647%e}var Bv=n({assetTypes:[],language:"en_US",onSuccess:function(e,t){var n=t.selectedFile;return console.log(e,n)},selectionMode:"MultiSelect",hideExternalAccess:!1}),Tv=Bv.Provider,Nv=function(){return i(Bv)},zv=function(){return Nv().selectionMode};function Dv(e){return{tag:"ok",value:e}}function Pv(e){return{tag:"error",error:e}}function Ov(e){return"ok"===e.tag}function Av(e){return"error"===e.tag}function Rv(e){var t=e.replace(/^https?:\/\//i,"").replace(/\/+$/i,"");return"https://".concat(t,"/")}function Fv(e){var t;if(e.transformBaseURL){var n=e,r="transformBaseURL",o=n[r],i=Ea(n,[r+""]);return xa(xa({},i),((t={}).transformBaseUrl=xa({},o),t))}return e}var Lv=new Map;function Mv(e,t,n){return Ca(this,void 0,void 0,(function(){var r,o,i,a,c,l,s,u;return ka(this,(function(d){switch(d.label){case 0:if(!n)return[2,Pv("No authentication provided")];if(r=n.getAccessToken&&n.getAccessToken(),"/"===(o=void 0!==n.accountDomain?Rv(n.accountDomain.trim()):"https://".concat(window.location.host)).charAt(o.length-1)&&(o=o.slice(0,-1)),i="".concat(o,":").concat(e,":").concat(JSON.stringify(t),":").concat(r),Lv.has(i))return[2,Dv(Lv.get(i))];a={Accept:"application/json","Content-Type":"application/json","X-Bynder-Integration":"UCV/v".concat("3.3.2")},c=void 0===r?a:xa(xa({},a),{Authorization:"Bearer ".concat(r)}),l={method:"post",headers:c,body:JSON.stringify({query:e,variables:t})},d.label=1;case 1:return d.trys.push([1,4,,5]),[4,fetch("".concat(o,"/graphql"),l)];case 2:return[4,d.sent().json()];case 3:return s=d.sent(),u=function(e){var t,n,r,o;return(null===(n=null===(t=null==e?void 0:e.searchAssets)||void 0===t?void 0:t.assets)||void 0===n?void 0:n.nodes.length)?xa(xa({},e),{searchAssets:xa(xa({},e.searchAssets),{assets:xa(xa({},e.searchAssets.assets),{nodes:null===(o=null===(r=e.searchAssets)||void 0===r?void 0:r.assets)||void 0===o?void 0:o.nodes.map((function(e){if(e.files){var t=Fv(e.files);return xa(xa({},e),{files:xa({},t)})}return e}))})})}):e}(s.data),[3,5];case 4:return[2,Pv(d.sent())];case 5:return void 0!==s.errors?[2,Pv(s.errors.map((function(e){return e.message})).join(","))]:(Lv.set(i,u),Lv.size>50&&Lv.delete(Lv.keys().next().value),[2,Dv(u)])}}))}))}function jv(e){var t;if(!(null===(t=window.crypto)||void 0===t?void 0:t.subtle))return Promise.reject("Access to the WebCrypto API is restricted to secure origins. Compact View requires HTTPS when used outside localhost (for development).");var n=(new TextEncoder).encode(e);return window.crypto.subtle.digest("SHA-256",n)}function Hv(){var e=new Uint32Array(28),t=window.crypto.getRandomValues(e),n=Array.from(t).map((function(e){return"0".concat(e.toString(16)).substr(-2)}));return n.join("")}var Uv="42b1eefa-d754-4802-b9c4-bf80d6ab6052",Vv="".concat("https://d8ejoa1fys2rk.cloudfront.net"),$v=Vv+"/5.0.5/modules/compactview/loginCompleted.html",Wv="".concat("https://apiv2.webdamdb.com","/"),Gv=["offline","asset:read","collection:read","meta.assetbank:read"];function qv(e,t,n){return Ca(this,void 0,void 0,(function(){var r,o,i,a;return ka(this,(function(c){switch(c.label){case 0:r=Yv(n)+"token",o=new URLSearchParams({client_id:Uv,code_verifier:t,code:e,redirect_uri:$v,grant_type:"authorization_code"}),c.label=1;case 1:return c.trys.push([1,4,,5]),[4,fetch(r,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:o})];case 2:return(i=c.sent()).ok?[4,i.json()]:[2,Pv("Failed to fetch access token: ".concat(i.status))];case 3:return[2,Dv({refreshToken:(a=c.sent()).refresh_token,accessToken:a.access_token,expiresIn:a.expires_in})];case 4:return[2,Pv(c.sent().toString())];case 5:return[2]}}))}))}function Yv(e){return"webdam"===Kv()?Wv+"oauth2/":Rv(e)+"v6/authentication/oauth2/"}function Kv(){var e;return null!==(e=localStorage.getItem("cvp"))&&void 0!==e?e:void 0}function Xv(e){return Ca(this,void 0,void 0,(function(){var t,n,r,o,i,a;return ka(this,(function(c){switch(c.label){case 0:return t=window.screen,n=t.width/2-285+window.screenX,r=t.height/2-350+window.screenY,null===(o=window.open("","Bynder Brand Portal","height=".concat(700,",width=").concat(570,",left=").concat(n,",top=").concat(r)))?[2,Pv("Error opening login window")]:(o.document.head.innerHTML=Zv,o.document.body.innerHTML=Jv,o.location.href=e,[4,Promise.race([new Promise((function(e){window.addEventListener("message",(function(t){t.origin===Vv&&e(Dv(t))}))})),new Promise((function(e){setTimeout((function(){return e(Pv("Timeout"))}),6e5)})),(l=o,new Promise((function(e){var t=setInterval((function(){l.closed&&(clearInterval(t),e(Pv("Login window closed")))}),1e3)})))])]);case 1:return Av(i=c.sent())?[2,i]:[2,Dv({state:(a=new URLSearchParams(i.value.data)).get("state"),code:a.get("code")})]}var l}))}))}var Zv='\n<title>Redirecting...</title>\n<style>\n @keyframes cv-spinner-animation {\n to {\n transform:rotate(1turn)\n }\n }\n\n .cv-spinner {\n position: relative;\n display: inline-block;\n padding: 175px 0 100px;\n width: 100%;\n height: auto;\n background: #fff;\n box-sizing: border-box;\n }\n \n .cv-spinner:before {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 40px;\n height: 40px;\n margin-top: -20px;\n margin-left: -20px;\n box-sizing: border-box;\n border-top: 3px solid #7e8890;\n border-right: 3px solid transparent;\n border-radius: 50%;\n content: "";\n animation: cv-spinner-animation .8s linear infinite;\n z-index: 3;\n }\n</style>',Jv='<div class="cv-spinner"></div>';function Qv(e){var n=La();return t.createElement(bl,{target:n,disableVendorPrefixes:!0},t.createElement(Ef,{zIndexBase:1e6},e.children))}function ey(e){var n=e.children,o=e.isContainerMode,i=void 0!==o&&o,c=t.useRef(null),l=r(null),s=l[0],u=l[1];return a((function(){if(null!==c.current){var e,t,n=function(e){try{return e.attachShadow({mode:"open"})}catch(e){return null}}(c.current);e=n,t="@import url(".concat("https://d8ejoa1fys2rk.cloudfront.net","/5.0.5/includes/css/vendor/font-awesome.min.css);")+'/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}a{background-color:transparent}b{font-weight:bolder}code{font-family:monospace,monospace;font-size:1em}img{border-style:none}button,input,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}[hidden]{display:none}dd,dl,h1,h3,p{margin:0}button{background-color:transparent;background-image:none}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}ul{list-style:none;margin:0;padding:0}html{font-family:SourceSansPro,Source Sans Pro,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box;border:0 solid rgba(0,34,51,.1)}img{border-style:solid}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#a0aec0}input::-moz-placeholder,textarea::-moz-placeholder{color:#a0aec0}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#a0aec0}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:#a0aec0}input::placeholder,textarea::placeholder{color:#a0aec0}[role=button],button{cursor:pointer}h1,h3{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,select,textarea{padding:0;line-height:inherit;color:inherit}code{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}audio,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}.bg-ui-0{--bg-opacity:1;background-color:#fff;background-color:rgba(255,255,255,var(--bg-opacity))}.bg-ui-500{background-color:rgba(0,34,51,.05)}.hover\\:bg-ui-400:hover{background-color:rgba(0,34,51,.03)}.border-brand-500{--border-opacity:1;border-color:#0af;border-color:rgba(0,170,255,var(--border-opacity))}.border-ui-600{border-color:rgba(0,34,51,.1)}.rounded{border-radius:5px}.rounded-full{border-radius:9999px}.border-2{border-width:2px}.border{border-width:1px}.border-b{border-bottom-width:1px}.last\\:border-b-0:last-child{border-bottom-width:0}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.inline-block{display:inline-block}.inline{display:inline}.flex{display:-webkit-box;display:-ms-flexbox;display:flex}.inline-flex{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.flex-col{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.self-start{-ms-flex-item-align:start;align-self:flex-start}.justify-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.flex-1{-webkit-box-flex:1;-ms-flex:1 1 0%;flex:1 1 0%}.flex-grow{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.flex-shrink-0{-ms-flex-negative:0;flex-shrink:0}.flex-shrink{-ms-flex-negative:1;flex-shrink:1}.font-sans{font-family:SourceSansPro,Source Sans Pro,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-semibold{font-weight:600}.h-4{height:16px}.h-5{height:20px}.h-6{height:24px}.h-8{height:32px}.h-10{height:40px}.h-12{height:48px}.h-20{height:80px}.h-32{height:128px}.h-full{height:100%}.text-xs{font-size:12px}.text-sm{font-size:14px}.text-base{font-size:16px}.text-xl{font-size:20px}.m-2{margin:8px}.my-2{margin-top:8px;margin-bottom:8px}.mx-2{margin-left:8px;margin-right:8px}.mr-1{margin-right:4px}.ml-1{margin-left:4px}.mt-2{margin-top:8px}.mr-2{margin-right:8px}.mb-2{margin-bottom:8px}.ml-2{margin-left:8px}.mt-3{margin-top:12px}.mr-3{margin-right:12px}.ml-3{margin-left:12px}.mb-4{margin-bottom:16px}.mb-8{margin-bottom:32px}.-mt-1{margin-top:-4px}.-mr-1{margin-right:-4px}.-mr-2{margin-right:-8px}.max-w-24{max-width:96px}.max-w-32{max-width:128px}.min-w-24{min-width:96px}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.py-1{padding-top:4px;padding-bottom:4px}.py-2{padding-top:8px;padding-bottom:8px}.px-2{padding-left:8px;padding-right:8px}.px-3{padding-left:12px;padding-right:12px}.py-4{padding-top:16px;padding-bottom:16px}.px-4{padding-left:16px;padding-right:16px}.py-px{padding-top:1px;padding-bottom:1px}.pr-1{padding-right:4px}.pb-1{padding-bottom:4px}.pb-2{padding-bottom:8px}.pb-3{padding-bottom:12px}.pl-3{padding-left:12px}.pt-4{padding-top:16px}.pl-4{padding-left:16px}.pr-5{padding-right:20px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.top-0{top:0}.right-0{right:0}.resize{resize:both}.shadow{-webkit-box-shadow:0 1px 6px 0 rgba(0,34,51,.1),0 0 0 1px rgba(0,34,51,.1);box-shadow:0 1px 6px 0 rgba(0,34,51,.1),0 0 0 1px rgba(0,34,51,.1)}.shadow-border{-webkit-box-shadow:0 1px 6px -2px rgba(0,34,51,.1);box-shadow:0 1px 6px -2px rgba(0,34,51,.1)}.text-left{text-align:left}.text-right{text-align:right}.text-body-300{color:rgba(0,34,51,.3)}.text-body-400{color:rgba(0,34,51,.5)}.text-body-500{color:rgba(0,34,51,.8)}.hover\\:text-body-400:hover{color:rgba(0,34,51,.5)}.hover\\:text-body-500:hover{color:rgba(0,34,51,.8)}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.visible{visibility:visible}.break-all{word-break:break-all}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.w-5{width:20px}.w-6{width:24px}.w-10{width:40px}.w-40{width:160px}.w-48{width:192px}.w-56{width:224px}.w-full{width:100%}.z-10{z-index:10}.z-20{z-index:20}.gap-y-px{grid-row-gap:1px;row-gap:1px}.transform{--transform-translate-x:0;--transform-translate-y:0;--transform-rotate:0;--transform-skew-x:0;--transform-skew-y:0;--transform-scale-x:1;--transform-scale-y:1;-webkit-transform:translateX(var(--transform-translate-x)) translateY(var(--transform-translate-y)) rotate(var(--transform-rotate)) skewX(var(--transform-skew-x)) skewY(var(--transform-skew-y)) scaleX(var(--transform-scale-x)) scaleY(var(--transform-scale-y));transform:translateX(var(--transform-translate-x)) translateY(var(--transform-translate-y)) rotate(var(--transform-rotate)) skewX(var(--transform-skew-x)) skewY(var(--transform-skew-y)) scaleX(var(--transform-scale-x)) scaleY(var(--transform-scale-y))}.transition{-webkit-transition-property:background-color,border-color,color,fill,stroke,opacity,-webkit-box-shadow,-webkit-transform;transition-property:background-color,border-color,color,fill,stroke,opacity,-webkit-box-shadow,-webkit-transform;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,-webkit-box-shadow,-webkit-transform}.transition-transform{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}@-webkit-keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in-down{0%{opacity:0;-webkit-transform:translateY(-2px);transform:translateY(-2px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes border-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes border-dash{0%{stroke-dasharray:1,100;stroke-dashoffset:0}50%{stroke-dasharray:80,100;stroke-dashoffset:-20}to{stroke-dasharray:80,100;stroke-dashoffset:-48}}.transition-color{-webkit-transition:color .05s linear,background-color .05s linear,border-color .05s linear,opacity .05s linear;transition:color .05s linear,background-color .05s linear,border-color .05s linear,opacity .05s linear}.transition-transform{-webkit-transition:-webkit-transform .6s cubic-bezier(.175,.885,.32,1.15);transition:-webkit-transform .6s cubic-bezier(.175,.885,.32,1.15);transition:transform .6s cubic-bezier(.175,.885,.32,1.15);transition:transform .6s cubic-bezier(.175,.885,.32,1.15),-webkit-transform .6s cubic-bezier(.175,.885,.32,1.15)}.cv-root{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;--bg-opacity:1;background-color:#fff;background-color:rgba(255,255,255,var(--bg-opacity));font-family:SourceSansPro,Source Sans Pro,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:16px;color:rgba(0,34,51,.8);-webkit-box-sizing:border-box;box-sizing:border-box;position:relative}.cv-root *,.cv-root :after,.cv-root :before{-webkit-box-sizing:inherit;box-sizing:inherit}.cv-container{overflow:hidden;width:100%;height:100%}.cv-container nav:last-of-type{-webkit-box-shadow:0 1px 0 0 rgba(0,34,51,.1),0 1px 6px 0 rgba(0,34,51,.1);box-shadow:0 1px 0 0 rgba(0,34,51,.1),0 1px 6px 0 rgba(0,34,51,.1)}.cv-dropdown{position:fixed;border-width:1px;border-color:rgba(0,34,51,.1);-webkit-animation:fade-in-down .15s ease-out;animation:fade-in-down .15s ease-out;margin-top:4px;margin-bottom:4px;overflow-y:auto;border-radius:5px;-webkit-box-shadow:0 4px 10px 0 rgba(0,34,51,.1);box-shadow:0 4px 10px 0 rgba(0,34,51,.1);z-index:9999999;overflow-y:hidden;-webkit-transition:left .1s ease-out;transition:left .1s ease-out}.card-list{padding-left:8px;padding-right:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-line-pack:start;align-content:flex-start;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.max-h-400{max-height:400px}.max-w-600{max-width:600px}.spinner{-webkit-animation:border-rotate 1s linear infinite;animation:border-rotate 1s linear infinite;z-index:2;position:absolute;top:50%;left:50%;margin:-10px 0 0 -10px;width:20px;height:20px}.spinner circle{stroke:currentColor;stroke-linecap:round;-webkit-animation:border-dash 1.5s ease-in-out infinite;animation:border-dash 1.5s ease-in-out infinite}.fade-in{-webkit-animation:fade-in .15s ease-out;animation:fade-in .15s ease-out}.fade-in-down{-webkit-animation:fade-in-down .15s ease-out;animation:fade-in-down .15s ease-out}.cv-skeleton{overflow:hidden;display:inline-block;position:relative;border-radius:4px;background-color:rgba(0,34,51,.05)}.cv-skeleton:before{position:absolute;height:100%;top:0;-webkit-animation:cv-skeleton-progress 1.5s ease-in-out infinite;animation:cv-skeleton-progress 1.5s ease-in-out infinite;content:"";width:500px;left:-500px;background-image:-webkit-gradient(linear,left top,right top,from(hsla(0,0%,100%,0)),color-stop(hsla(0,0%,100%,.6)),to(hsla(0,0%,100%,0)));background-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.6),hsla(0,0%,100%,0))}@keyframes cv-skeleton-progress{0%{left:-500px}to{left:100%}}.fa-lg{line-height:1.05em}.z-a-lot{z-index:999999}button:focus{outline:revert}',ty(null!=e?e:document.head,t),n&&ty(document.head,ry),u(null!=n?n:c.current)}}),[]),t.createElement("div",{ref:c,style:{display:"flex",height:"100%"},"data-testid":"root"},s&&t.createElement(Fa,{value:s},t.createElement(Qv,null,g(t.createElement(oy,{isContainerMode:i,"data-testid":"ShadowRootInternalContainer"},n),s))))}function ty(e,t){var n=document.createElement("style"),r=document.createTextNode(t);n.appendChild(r),e.appendChild(n)}var ny,ry="\n@font-face {\n font-family: 'Source Sans Pro';\n font-style: normal;\n font-weight: 400;\n src: local('Source Sans Pro Regular'),\n local('SourceSansPro-Regular'),\n url('".concat("https://d8ejoa1fys2rk.cloudfront.net","/5.0.5/includes/fonts/SourceSans/sourcesanspro-regular.woff2') format('woff2'),\n url('").concat("https://d8ejoa1fys2rk.cloudfront.net","/5.0.5/includes/fonts/SourceSans/sourcesanspro-regular.woff') format('woff');\n }\n \n @font-face {\n font-family: \"FontAwesome\";\n src: url(\"").concat("https://d8ejoa1fys2rk.cloudfront.net",'/5.0.5/includes/fonts/fontawesome-webfont.woff2?v=4.7.0") format("woff2"),\n url("').concat("https://d8ejoa1fys2rk.cloudfront.net",'/5.0.5/includes/fonts/fontawesome-webfont.woff?v=4.7.0") format("woff");\n font-weight: 400;\n font-style: normal;\n }\n'),oy=ql.div(ny||(ny=_a(["\n\twidth: ",";\n\tfont-family: 'Source Sans Pro';\n"],["\n\twidth: ",";\n\tfont-family: 'Source Sans Pro';\n"])),(function(e){return e.isContainerMode?"100%":"auto"})),iy=n("parent");function ay(e){var n=e.children,r=e.isContainerMode,o=void 0!==r&&r;return"parent"===i(iy)?t.createElement(iy.Provider,{value:"child"},t.createElement(ey,{isContainerMode:o},n)):t.createElement(t.Fragment,null,n)}var cy=n(null),ly=function(){return i(cy)};function sy(e){var n=e.children,i=e.isOpen,c=void 0===i||i,l=e.style,s=e.onClose,u=void 0===s?function(){}:s,d=r(null),p=d[0],f=d[1],m=o((function(){return{onClose:u}}),[u]);return a((function(){var e=document.createElement("div");return e.dataset.testId="CompactViewContainer",document.body.appendChild(e),f(e),function(){e.remove()}}),[]),c?t.createElement(cy.Provider,{value:m},p&&t.createElement(t.Fragment,null,g(t.createElement(ay,null,t.createElement(py,{className:"z-a-lot"},t.createElement(fy,{style:l,"data-testid":"modal"},n))),p))):null}var uy,dy,py=ql.div(uy||(uy=_a(["\n\ttop: 0;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n\tdisplay: flex;\n\talign-items: center;\n\tpadding: ",";\n\tposition: fixed;\n\tanimation: var(--fade-in-down);\n\tbackground: ",";\n"],["\n\ttop: 0;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n\tdisplay: flex;\n\talign-items: center;\n\tpadding: ",";\n\tposition: fixed;\n\tanimation: var(--fade-in-down);\n\tbackground: ",";\n"])),Dp.spacing5,Dp.gray100a),fy=ql.div(dy||(dy=_a(["\n\tbox-shadow: 0 2px 12px 0 rgba(0, 34, 51, 0.1);\n\theight: 100%;\n\twidth: 100%;\n\toverflow: hidden;\n\tborder-radius: ",";\n"],["\n\tbox-shadow: 0 2px 12px 0 rgba(0, 34, 51, 0.1);\n\theight: 100%;\n\twidth: 100%;\n\toverflow: hidden;\n\tborder-radius: ",";\n"])),Dp.radiusBase);function my(e){var n=ly();return t.createElement(yy,{className:"cv-root",style:{minHeight:320}},null!==n&&t.createElement(by,{variant:"clean",onClick:n.onClose,title:qg("Close"),icon:t.createElement(Iu,null)}),t.createElement(wy,null,e.children))}var hy,gy,vy,yy=ql.div(hy||(hy=_a(["\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tjustify-content: center;\n\tposition: relative;\n\tbackground-color: ",";\n"],["\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tjustify-content: center;\n\tposition: relative;\n\tbackground-color: ",";\n"])),Dp.gray10),by=ql(ef)(gy||(gy=_a(["\n\tposition: absolute;\n\ttop: ",";\n\tright: ",";\n"],["\n\tposition: absolute;\n\ttop: ",";\n\tright: ",";\n"])),Dp.spacing4,Dp.spacing5),wy=ql.div(vy||(vy=_a(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tfont-size: ",";\n"],["\n\tdisplay: flex;\n\tflex-direction: column;\n\tfont-size: ",";\n"])),Dp.fontSize300);function xy(){return t.createElement(t.Fragment,null,t.createElement("svg",{viewBox:"0 0 479.438 361.46",className:"w-10 mb-8",style:{width:40,marginBottom:32}},t.createElement("path",{d:"\n\t\t\t\t\t\tM365.18 0a114 114 0 00-85.9 38.93l-153.18 153-43.82-43.84a45.18 45.18\n\t\t\t\t\t\t0 01-11.54-30.75 46.06 46.06 0 0146.34-46.08 44.81 44.81 0 0130.42\n\t\t\t\t\t\t11.49c2.73 2.42 10.48 10.43 10.48 10.43l48.5-48.51-14-14C172.19 11.43\n\t\t\t\t\t\t144.48.03 114.3.03 51.24.03 0 51.03 0 114.1a115.08 115.08 0 0028.09\n\t\t\t\t\t\t75.46l98.35 98.77 205.53-205.5a44.78 44.78 0 0130.58-11.57 46.07 46.07 0\n\t\t\t\t\t\t0146.06 46.43 45.07 45.07 0 01-11.52 30.5l-136.6 136.57a28.73 28.73 0\n\t\t\t\t\t\t01-20.83 8.58 28.29 28.29 0 01-20.51-8.92l-10.27-10.16-48.28 48.28 9.88\n\t\t\t\t\t\t9.72a97.06 97.06 0 0069.38 29.2h.07a96 96 0\n\t\t\t\t\t\t0069-29.13l142.35-142.67A114.47 114.47 0 00365.18 0z",fill:"#0af"})),t.createElement("h1",{className:"text-xl mb-2",style:{fontSize:20,margin:0,marginBottom:8,fontWeight:400}},qg("Connect your brand portal")))}function Ey(e){var n=hv("w-6 h-6 text-body-300",e.className);return t.createElement("div",{"data-testid":"spinner",className:n},t.createElement("svg",{className:"spinner",viewBox:"0 0 20 20"},t.createElement("circle",{cx:"10",cy:"10",r:"8",fill:"none",strokeWidth:"3"})))}function Cy(e){var n=e.status,r=e.isReadOnly,o=e.value,i=e.onChange,a=e.onSubmit;return t.createElement(_y,null,t.createElement(qh,{type:"url",value:o,placeholder:"yourdomain.bynder.com",label:qg("Enter the portal domain"),onChange:i,onKeyDown:function(e){"valid"===n&&13===e.keyCode&&a()},isInvalid:"invalid"===n,helperText:"invalid"===n&&qg("This portal domain does not exist"),hasClearButton:"validating"!==n&&!r,iconRight:"validating"===n?t.createElement(Iy,{role:"alert","aria-live":"polite"},t.createElement(Ey,{className:"relative right-0"})):void 0,isDisabled:r,"data-testid":"login-input"}))}var ky,Sy,_y=ql.div(ky||(ky=_a(["\n\tmargin: "," 0;\n\twidth: 320px;\n"],["\n\tmargin: "," 0;\n\twidth: 320px;\n"])),Dp.spacing4),Iy=ql.div(Sy||(Sy=_a(["\n\theight: 100%;\n\tdisplay: flex;\n\talign-items: center;\n"],["\n\theight: 100%;\n\tdisplay: flex;\n\talign-items: center;\n"])));function By(e){return t.createElement(ef,{variant:"primary",isDisabled:!e.isValidDomain||e.isSubmitting,onClick:e.onClick,isLoading:e.isSubmitting,"data-testid":"login-button"},qg("Connect"))}function Ty(e){return t.createElement(my,null,t.createElement(xy,null),t.createElement(Cy,{value:e.domainValue,isReadOnly:!1===e.isEditable||e.isSubmitting,onChange:e.onChangeDomain,onSubmit:e.onSubmit,status:e.domainStatus}),t.createElement(By,{isValidDomain:"valid"===e.domainStatus,isSubmitting:e.isSubmitting,onClick:e.onSubmit}))}var Ny=function(e){function n(t){var n=e.call(this,t)||this;return n.state={error:null},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}wa(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(n,e),n.getDerivedStateFromError=function(e){return{error:e}},n.prototype.render=function(){var e=this;return this.state.error?t.createElement(dv,{error:this.state.error,onRetry:function(){return e.setState({error:null})}}):this.props.children},n}(t.Component);function zy(){return t.createElement("div",{role:"alert","aria-live":"polite",className:"bg-ui-0 w-full h-full"}," ",t.createElement(Ey,null)," ")}var Dy=n(null);function Py(e){var n,o,i,l,s,u,d,p,f;Kg(null!==(n=e.language)&&void 0!==n?n:"en_US");var m=function(){var e,t,n=r(void 0),o=n[0],i=n[1],l=r(null!==(e=localStorage.getItem("cvrt"))&&void 0!==e?e:void 0),s=l[0],u=l[1],d=r(null!==(t=localStorage.getItem("cvad"))&&void 0!==t?t:void 0),p=d[0],f=d[1],m=r(w()),h=m[0],g=m[1],v=c();function y(e){i((function(){return e.getAccessToken})),u(e.refreshToken),f(e.accountDomain),g(w(e.getAccessToken,e.refreshToken)),e.accountDomain&&localStorage.setItem("cvad",e.accountDomain),e.refreshToken&&localStorage.setItem("cvrt",e.refreshToken),v.current&&clearTimeout(v.current),e.expiresIn&&(v.current=setTimeout((function(){i(void 0)}),1e3*e.expiresIn))}function b(){var e;i(void 0),u(void 0),f(null!==(e=localStorage.getItem("cvad"))&&void 0!==e?e:void 0),g("not-authenticated"),localStorage.removeItem("cvrt"),v.current&&clearTimeout(v.current)}function w(e,t){return void 0===e&&(e=o),void 0===t&&(t=s),void 0!==e?"authenticated":void 0!==t?"refreshing":"not-authenticated"}return a((function(){return function(){v.current&&clearTimeout(v.current)}}),[]),a((function(){o&&o()||!s||!p||(g("refreshing"),function(e,t){return Ca(this,void 0,void 0,(function(){var n,r,o,i;return ka(this,(function(a){switch(a.label){case 0:n=Yv(t)+"token",r=new URLSearchParams({client_id:Uv,refresh_token:e,grant_type:"refresh_token"}),a.label=1;case 1:return a.trys.push([1,4,,5]),[4,fetch(n,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:r})];case 2:return(o=a.sent()).ok?[4,o.json()]:[2,Pv("Failed to fetch refresh token: ".concat(o.status))];case 3:return[2,Dv({accessToken:(i=a.sent()).access_token,expiresIn:i.expires_in})];case 4:return[2,Pv(a.sent().toString())];case 5:return[2]}}))}))}(s,p).then((function(e){Ov(e)?y({getAccessToken:function(){return e.value.accessToken},expiresIn:e.value.expiresIn,refreshToken:s,accountDomain:p}):(Aa.error(e.error),b())})))}),[o,s,p]),[{getAccessToken:o,accountDomain:p,status:h},y,b]}(),h=m[0],g=m[1],v=m[2],y=function(e){var t=r(null!=e?e:""),n=t[0],o=t[1],i=r(e?"validating":"empty"),l=i[0],s=i[1],u=c();return a((function(){if(n){var e=!1;return u.current=setTimeout((function(){(function(e){return Ca(this,void 0,void 0,(function(){var t,n,r;return ka(this,(function(o){switch(o.label){case 0:t=Rv(e.trim())+"feeds/media/is-bynder-portal/",o.label=1;case 1:return o.trys.push([1,4,,5]),[4,fetch(t)];case 2:return[4,(n=o.sent()).json()];case 3:return r=o.sent(),200===n.status&&"application/json;charset=UTF-8"===n.headers.get("Content-Type")?[2,r.webdam?"webdam":"bynder"]:[2,"invalid"];case 4:return o.sent(),[2,"invalid"];case 5:return[2]}}))}))})(n).then((function(t){e||(s("invalid"!==t?"valid":"invalid"),localStorage.setItem("cvp",t))}))}),1e3),function(){e=!0}}}),[n]),[n,function(e){u.current&&clearTimeout(u.current),o(e),s(""===e?"empty":"validating")},l]}(null!==(i=null===(o=e.portal)||void 0===o?void 0:o.url)&&void 0!==i?i:h.accountDomain),b=y[0],w=y[1],x=y[2],E=r(!1),C=E[0],k=E[1];a((function(){var t,n;(null===(t=e.authentication)||void 0===t?void 0:t.hideLogout)&&!(null===(n=e.authentication)||void 0===n?void 0:n.getAccessToken)&&Aa.error("The hideLogout property can only be used in combination with getAccessToken property")}),[null===(l=e.authentication)||void 0===l?void 0:l.hideLogout,null===(s=e.authentication)||void 0===s?void 0:s.getAccessToken]),a((function(){var t,n;(null===(t=e.authentication)||void 0===t?void 0:t.getAccessToken)&&g({getAccessToken:e.authentication.getAccessToken,accountDomain:null===(n=e.portal)||void 0===n?void 0:n.url})}),[null===(u=e.authentication)||void 0===u?void 0:u.getAccessToken]),a((function(){var e=!0;return!0===C&&function(e){return Ca(this,void 0,void 0,(function(){var t,n,r,o,i,a,c,l,s,u,d;return ka(this,(function(p){switch(p.label){case 0:t=Hv(),p.label=1;case 1:return p.trys.push([1,3,,4]),[4,jv(t)];case 2:return n=p.sent(),[3,4];case 3:return[2,Pv(p.sent().toString())];case 4:return f=n,r=btoa(String.fromCharCode.apply(null,Array.from(new Uint8Array(f)))).replace(/\+/g,"-").replace(/\//g,"_").replace(/[=]+$/,""),o=Hv(),i=function(e,t,n){var r={client_id:Uv,code_challenge:e,code_challenge_method:"S256",redirect_uri:$v,response_type:"code",scope:Gv.join(" "),domain:"",state:t},o="auth?";"webdam"===Kv()&&(o="authorize?",delete r.scope,r.domain=n);var i=new URLSearchParams(r);return Yv(n)+o+i}(r,o,e),[4,Xv(i)];case 5:return Av(a=p.sent())?[2,a]:a.value.state!==o||null===a.value.code?[2,Pv("Error logging in")]:[4,qv(a.value.code,t,e)];case 6:return Av(c=p.sent())?[2,c]:(l=c.value,s=l.refreshToken,u=l.accessToken,d=l.expiresIn,[2,Dv({accessToken:u,expiresIn:parseFloat(d),refreshToken:s})])}var f}))}))}(b).then((function(t){e&&(function(e){if(Ov(e)){var t=e.value,n=t.accessToken,r=t.refreshToken,o=t.expiresIn;g({getAccessToken:function(){return n},refreshToken:r,expiresIn:o,accountDomain:b})}else Aa.error(e.error)}(t),k(!1))})),function(){e=!1}}),[C,b]);var S=xa(xa({},h),{logout:function(){var t;v(),null===(t=e.onLogout)||void 0===t||t.call(e)},hideLogout:!!(null===(d=e.authentication)||void 0===d?void 0:d.getAccessToken)&&e.authentication.hideLogout});switch(h.status){case"authenticated":return t.createElement(Dy.Provider,{value:S},e.children);case"not-authenticated":return t.createElement(ay,{isContainerMode:!0},t.createElement(Ty,{domainValue:b,domainStatus:x,onChangeDomain:w,isSubmitting:C,isEditable:null===(f=null===(p=e.portal)||void 0===p?void 0:p.editable)||void 0===f||f,onSubmit:function(){k(!0)}}));case"refreshing":return t.createElement(zy,null)}}var Oy=function(e){return t.createElement(Ny,null,t.createElement(Py,xa({},e)))},Ay=function(){return i(Dy)},Ry="\nfragment DisplayAsset on Asset {\n __typename\n id\n derivatives {\n thumbnail\n }\n extensions\n name\n url\n isArchived\n isWatermarked\n\tisLimitedUse\n\tfiles\n\tmetaproperties {\n\t\tnodes {\n\t\t id\n\t\t label(language: $language)\n\t\t showInGridView\n\t\t showInListView\n\t\t options {\n\t\t\tid\n\t\t\tlabel(language: $language)\n\t\t\tassetCount\n\t\t }\n\t\t}\n\t}\n}",Fy="\n query searchAssets($filter: AssetFilter!, $after: Cursor, $orderBy: AssetOrder!, $language: String) {\n searchAssets(filter: $filter) {\n assets(after: $after, first: 50, orderBy: $orderBy) {\n nodes {\n __typename\n ...DisplayAsset\n }\n\t\t\t\ttotalCount\n\t\t\t\tpageInfo {\n\t\t\t\t\tendCursor\n\t\t\t\t\thasNextPage\n }\n }\n }\n }\n ".concat(Ry,"\n");function Ly(e){var t,n,o,i,c,l=this,s=Ay(),u=r({tag:"Loading",value:null}),d=u[0],p=u[1],f=!1,m=function(t){return Ca(l,void 0,void 0,(function(){var n,r;return ka(this,(function(o){switch(o.label){case 0:return p((function(e){return{tag:"Loading",value:"Failure"===e.tag?null:e.value}})),n=My(e,null!=t?t:null),[4,Mv(Fy,n,s)];case 1:return r=o.sent(),f||(Av(r)?p({tag:"Failure",value:r.error}):h(r,t)),[2]}}))}))},h=function(e,t){jy(d)&&t?p((function(t){var n,r,o=null!==(r=null===(n=jy(t))||void 0===n?void 0:n.nodes)&&void 0!==r?r:[];return{tag:"Loaded",value:{searchAssets:{assets:xa(xa({},e.value.searchAssets.assets),{nodes:Sa(Sa([],o,!0),e.value.searchAssets.assets.nodes,!0)})}}}})):p({tag:"Loaded",value:e.value})};return a((function(){return m(),function(){f=!0}}),[null===(t=e.filter)||void 0===t?void 0:t.assetTypes,null===(n=e.filter)||void 0===n?void 0:n.metaproperties,null===(o=e.filter)||void 0===o?void 0:o.tags,null===(i=e.filter)||void 0===i?void 0:i.isLimited,e.collection,e.orderBy,e.searchTerm,e.language]),{data:d,executeQuery:function(){return m()},isLoading:!d||"Loading"===d.tag,loadMore:function(){var e;return m(null===(e=jy(d))||void 0===e?void 0:e.pageInfo.endCursor)},hasNextPage:!!(null===(c=jy(d))||void 0===c?void 0:c.pageInfo.hasNextPage)}}var My=function(e,t){var n,r,o,i,a,c=e.filter,l=e.predefinedFilter,s=e.collection,u=e.orderBy,d=e.allAssetTypes,p=e.searchTerm,f=e.language,m=(null===(n=null==c?void 0:c.assetTypes)||void 0===n?void 0:n.length)?c.assetTypes:null==l?void 0:l.assetType_in;return{orderBy:u,filter:{collectionId:null!==(r=null==s?void 0:s.id)&&void 0!==r?r:null==l?void 0:l.collectionId,assetType_in:null!=m?m:d,metapropertyOptionId_in:null!==(o=Hy(null==c?void 0:c.metaproperties))&&void 0!==o?o:null==l?void 0:l.metapropertyOptionId_in,searchTerm:null!==(i=null!=p?p:null==l?void 0:l.searchTerm)&&void 0!==i?i:null,tagNames_in:null!==(a=null==c?void 0:c.tags)&&void 0!==a?a:null==l?void 0:l.tagNames_in,isLimitedUse:null==c?void 0:c.isLimited},after:t,language:f}},jy=function(e,t){var n,r=null!=t?t:e;if("Failure"!==r.tag)return null===(n=r.value)||void 0===n?void 0:n.searchAssets.assets},Hy=function(e){return e?e.map((function(e){return e.id})):null};function Uy(e,t,n){return Ca(this,void 0,void 0,(function(){var r;return ka(this,(function(o){switch(o.label){case 0:return[4,Mv("\n query getAssetsById($ids: [ID!]!, $language: String) {\n nodes(ids: $ids) {\n __typename\n id\n ...on Asset {\n ...DisplayAsset\n files\n }\n }\n }\n ".concat(Ry),{ids:e,language:n},t)];case 1:return Av(r=o.sent())?[2,r]:[2,Dv(r.value.nodes)]}}))}))}var Vy="object"==typeof v&&v&&v.Object===Object&&v,$y=Vy,Wy="object"==typeof self&&self&&self.Object===Object&&self,Gy=$y||Wy||Function("return this")(),qy=Gy.Symbol,Yy=qy,Ky=Object.prototype,Xy=Ky.hasOwnProperty,Zy=Ky.toString,Jy=Yy?Yy.toStringTag:void 0,Qy=Object.prototype.toString,eb=function(e){var t=Xy.call(e,Jy),n=e[Jy];try{e[Jy]=void 0;var r=!0}catch(e){}var o=Zy.call(e);return r&&(t?e[Jy]=n:delete e[Jy]),o},tb=qy?qy.toStringTag:void 0,nb=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":tb&&tb in Object(e)?eb(e):function(e){return Qy.call(e)}(e)},rb=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},ob=nb,ib=rb,ab=Gy["__core-js_shared__"],cb=function(){var e=/[^.]+$/.exec(ab&&ab.keys&&ab.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),lb=Function.prototype.toString,sb=function(e){if(null!=e){try{return lb.call(e)}catch(e){}try{return e+""}catch(e){}}return""},ub=function(e){if(!ib(e))return!1;var t=ob(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},db=function(e){return!!cb&&cb in e},pb=rb,fb=sb,mb=/^\[object .+?Constructor\]$/,hb=Function.prototype,gb=Object.prototype,vb=hb.toString,yb=gb.hasOwnProperty,bb=RegExp("^"+vb.call(yb).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wb=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!pb(e)||db(e))&&(ub(e)?bb:mb).test(fb(e))}(n)?n:void 0},xb=wb(Gy,"DataView"),Eb=wb(Gy,"Map"),Cb=wb(Gy,"Promise"),kb=wb(Gy,"Set"),Sb=wb(Gy,"WeakMap"),_b=nb,Ib=sb,Bb=Ib(xb),Tb=Ib(Eb),Nb=Ib(Cb),zb=Ib(kb),Db=Ib(Sb),Pb=_b;(xb&&"[object DataView]"!=Pb(new xb(new ArrayBuffer(1)))||Eb&&"[object Map]"!=Pb(new Eb)||Cb&&"[object Promise]"!=Pb(Cb.resolve())||kb&&"[object Set]"!=Pb(new kb)||Sb&&"[object WeakMap]"!=Pb(new Sb))&&(Pb=function(e){var t=_b(e),n="[object Object]"==t?e.constructor:void 0,r=n?Ib(n):"";if(r)switch(r){case Bb:return"[object DataView]";case Tb:return"[object Map]";case Nb:return"[object Promise]";case zb:return"[object Set]";case Db:return"[object WeakMap]"}return t});var Ob,Ab=nb,Rb=function(e){return null!=e&&"object"==typeof e},Fb=Object.prototype;Fb.hasOwnProperty,Fb.propertyIsEnumerable,Ob=function(){return arguments}(),Rb(Ob)&&Ab(Ob);var Lb={exports:{}},Mb=function(){return!1};!function(e,t){var n=Gy,r=Mb,o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||r;e.exports=c}(Lb,Lb.exports);var jb={exports:{}};!function(e,t){var n=Vy,r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r&&n.process,a=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=a}(jb,jb.exports);var Hb={},Ub={"text/plain":"Text","text/html":"Url",default:"Text"};function Vb(e){return Vb="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},Vb(e)}Object.defineProperty(Hb,"__esModule",{value:!0}),Hb.CopyToClipboard=void 0;var $b=qb(t),Wb=qb((function(e,t){var n,r,o,i,a,c,l=!1;t||(t={}),n=t.debug||!1;try{if(o=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}(),i=document.createRange(),a=document.getSelection(),(c=document.createElement("span")).textContent=e,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=Ub[t.format]||Ub.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),i.selectNodeContents(c),a.addRange(i),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");l=!0}catch(o){n&&console.error("unable to copy using execCommand: ",o),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(o){n&&console.error("unable to copy using clipboardData: ",o),n&&console.error("falling back to prompt"),r=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(r,e)}}finally{a&&("function"==typeof a.removeRange?a.removeRange(i):a.removeAllRanges()),c&&document.body.removeChild(c),o()}return l})),Gb=["text","onCopy","options","children"];function qb(e){return e&&e.__esModule?e:{default:e}}function Yb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yb(Object(n),!0).forEach((function(t){nw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zb(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jb(e,t){return Jb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Jb(e,t)}function Qb(e,t){if(t&&("object"===Vb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ew(e)}function ew(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tw(e){return tw=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},tw(e)}function nw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rw=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Jb(e,t)}(a,$b.default.PureComponent);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=tw(r);if(o){var n=tw(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Qb(this,e)});function a(){var e;Xb(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return nw(ew(e=i.call.apply(i,[this].concat(n))),"onClick",(function(t){var n=e.props,r=n.text,o=n.onCopy,i=n.children,a=n.options,c=$b.default.Children.only(i),l=(0,Wb.default)(r,a);o&&o(r,l),c&&c.props&&"function"==typeof c.props.onClick&&c.props.onClick(t)})),e}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.children,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Gb),r=$b.default.Children.only(t);return $b.default.cloneElement(r,Kb(Kb({},n),{},{onClick:this.onClick}))}}])&&Zb(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}();Hb.CopyToClipboard=rw,nw(rw,"defaultProps",{onCopy:void 0,options:void 0});var ow=Hb.CopyToClipboard;ow.CopyToClipboard=ow;var iw=ow;let aw=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t};function cw(e){return Is({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22l-4-4h8l-4 4zm0-20l4 4H8l4-4zm0 12a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM2 12l4-4v8l-4-4zm20 0l-4 4V8l4 4z"}}]}]})(e)}var lw={exports:{}},sw=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}},uw=sw,dw=Object.prototype.toString;function pw(e){return"[object Array]"===dw.call(e)}function fw(e){return void 0===e}function mw(e){return null!==e&&"object"==typeof e}function hw(e){if("[object Object]"!==dw.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function gw(e){return"[object Function]"===dw.call(e)}function vw(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),pw(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var yw={isArray:pw,isArrayBuffer:function(e){return"[object ArrayBuffer]"===dw.call(e)},isBuffer:function(e){return null!==e&&!fw(e)&&null!==e.constructor&&!fw(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:mw,isPlainObject:hw,isUndefined:fw,isDate:function(e){return"[object Date]"===dw.call(e)},isFile:function(e){return"[object File]"===dw.call(e)},isBlob:function(e){return"[object Blob]"===dw.call(e)},isFunction:gw,isStream:function(e){return mw(e)&&gw(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:vw,merge:function e(){var t={};function n(n,r){hw(t[r])&&hw(n)?t[r]=e(t[r],n):hw(n)?t[r]=e({},n):pw(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)vw(arguments[r],n);return t},extend:function(e,t,n){return vw(t,(function(t,r){e[r]=n&&"function"==typeof t?uw(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}},bw=yw;function ww(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var xw=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(bw.isURLSearchParams(t))r=t.toString();else{var o=[];bw.forEach(t,(function(e,t){null!=e&&(bw.isArray(e)?t+="[]":e=[e],bw.forEach(e,(function(e){bw.isDate(e)?e=e.toISOString():bw.isObject(e)&&(e=JSON.stringify(e)),o.push(ww(t)+"="+ww(e))})))})),r=o.join("&")}if(r){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e},Ew=yw;function Cw(){this.handlers=[]}Cw.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},Cw.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Cw.prototype.forEach=function(e){Ew.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var kw=Cw,Sw=yw,_w=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e},Iw=_w,Bw=function(e,t,n,r,o){var i=new Error(e);return Iw(i,t,n,r,o)},Tw=Bw,Nw=yw,zw=Nw.isStandardBrowserEnv()?{write:function(e,t,n,r,o,i){var a=[];a.push(e+"="+encodeURIComponent(t)),Nw.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Nw.isString(r)&&a.push("path="+r),Nw.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},Dw=yw,Pw=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],Ow=yw,Aw=Ow.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=Ow.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0},Rw=yw,Fw=zw,Lw=xw,Mw=Aw,jw=Bw,Hw=yw,Uw=function(e,t){Sw.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))},Vw=_w,$w={"Content-Type":"application/x-www-form-urlencoded"};function Ww(e,t){!Hw.isUndefined(e)&&Hw.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var Gw,qw={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(Gw=function(e){return new Promise((function(t,n){var r=e.data,o=e.headers,i=e.responseType;Rw.isFormData(r)&&delete o["Content-Type"];var a=new XMLHttpRequest;if(e.auth){var c=e.auth.username||"",l=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.Authorization="Basic "+btoa(c+":"+l)}var s,u,d=(s=e.baseURL,u=e.url,s&&!/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(u)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(s,u):u);function p(){if(a){var r="getAllResponseHeaders"in a?function(e){var t,n,r,o={};return e?(Dw.forEach(e.split("\n"),(function(e){if(r=e.indexOf(":"),t=Dw.trim(e.substr(0,r)).toLowerCase(),n=Dw.trim(e.substr(r+1)),t){if(o[t]&&Pw.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}})),o):o}(a.getAllResponseHeaders()):null,o={data:i&&"text"!==i&&"json"!==i?a.response:a.responseText,status:a.status,statusText:a.statusText,headers:r,config:e,request:a};(function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(Tw("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)})(t,n,o),a=null}}if(a.open(e.method.toUpperCase(),Lw(d,e.params,e.paramsSerializer),!0),a.timeout=e.timeout,"onloadend"in a?a.onloadend=p:a.onreadystatechange=function(){a&&4===a.readyState&&(0!==a.status||a.responseURL&&0===a.responseURL.indexOf("file:"))&&setTimeout(p)},a.onabort=function(){a&&(n(jw("Request aborted",e,"ECONNABORTED",a)),a=null)},a.onerror=function(){n(jw("Network Error",e,null,a)),a=null},a.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(jw(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",a)),a=null},Rw.isStandardBrowserEnv()){var f=(e.withCredentials||Mw(d))&&e.xsrfCookieName?Fw.read(e.xsrfCookieName):void 0;f&&(o[e.xsrfHeaderName]=f)}"setRequestHeader"in a&&Rw.forEach(o,(function(e,t){void 0===r&&"content-type"===t.toLowerCase()?delete o[t]:a.setRequestHeader(t,e)})),Rw.isUndefined(e.withCredentials)||(a.withCredentials=!!e.withCredentials),i&&"json"!==i&&(a.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&a.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&a.upload&&a.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){a&&(a.abort(),n(e),a=null)})),r||(r=null),a.send(r)}))}),Gw),transformRequest:[function(e,t){return Uw(t,"Accept"),Uw(t,"Content-Type"),Hw.isFormData(e)||Hw.isArrayBuffer(e)||Hw.isBuffer(e)||Hw.isStream(e)||Hw.isFile(e)||Hw.isBlob(e)?e:Hw.isArrayBufferView(e)?e.buffer:Hw.isURLSearchParams(e)?(Ww(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):Hw.isObject(e)||t&&"application/json"===t["Content-Type"]?(Ww(t,"application/json"),function(e,t,n){if(Hw.isString(e))try{return(0,JSON.parse)(e),Hw.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&Hw.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw Vw(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Hw.forEach(["delete","get","head"],(function(e){qw.headers[e]={}})),Hw.forEach(["post","put","patch"],(function(e){qw.headers[e]=Hw.merge($w)}));var Yw=qw,Kw=yw,Xw=Yw,Zw=function(e){return!(!e||!e.__CANCEL__)},Jw=yw,Qw=function(e,t,n){var r=this||Xw;return Kw.forEach(n,(function(n){e=n.call(r,e,t)})),e},ex=Zw,tx=Yw;function nx(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var rx=yw,ox=function(e,t){t=t||{};var n={},r=["url","method","data"],o=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function c(e,t){return rx.isPlainObject(e)&&rx.isPlainObject(t)?rx.merge(e,t):rx.isPlainObject(t)?rx.merge({},t):rx.isArray(t)?t.slice():t}function l(r){rx.isUndefined(t[r])?rx.isUndefined(e[r])||(n[r]=c(void 0,e[r])):n[r]=c(e[r],t[r])}rx.forEach(r,(function(e){rx.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),rx.forEach(o,l),rx.forEach(i,(function(r){rx.isUndefined(t[r])?rx.isUndefined(e[r])||(n[r]=c(void 0,e[r])):n[r]=c(void 0,t[r])})),rx.forEach(a,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var s=r.concat(o).concat(i).concat(a),u=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===s.indexOf(e)}));return rx.forEach(u,l),n},ix={name:"axios",version:"0.21.4",description:"Promise based HTTP client for the browser and node.js",main:"index.js",scripts:{test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},repository:{type:"git",url:"https://github.com/axios/axios.git"},keywords:["xhr","http","ajax","promise","node"],author:"Matt Zabriskie",license:"MIT",bugs:{url:"https://github.com/axios/axios/issues"},homepage:"https://axios-http.com",devDependencies:{coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},browser:{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},jsdelivr:"dist/axios.min.js",unpkg:"dist/axios.min.js",typings:"./index.d.ts",dependencies:{"follow-redirects":"^1.14.0"},bundlesize:[{path:"./dist/axios.min.js",threshold:"5kB"}]},ax={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){ax[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var cx={},lx=ix.version.split(".");function sx(e,t){for(var n=t?t.split("."):lx,r=e.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}ax.transitional=function(e,t,n){var r=t&&sx(t);function o(e,t){return"[Axios v"+ix.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,a){if(!1===e)throw new Error(o(i," has been removed in "+t));return r&&!cx[i]&&(cx[i]=!0,console.warn(o(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}};var ux={isOlderVersion:sx,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var c=e[i],l=void 0===c||a(c,i,e);if(!0!==l)throw new TypeError("option "+i+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:ax},dx=yw,px=xw,fx=kw,mx=function(e){return nx(e),e.headers=e.headers||{},e.data=Qw.call(e,e.data,e.headers,e.transformRequest),e.headers=Jw.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Jw.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||tx.adapter)(e).then((function(t){return nx(e),t.data=Qw.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return ex(t)||(nx(e),t&&t.response&&(t.response.data=Qw.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},hx=ox,gx=ux,vx=gx.validators;function yx(e){this.defaults=e,this.interceptors={request:new fx,response:new fx}}yx.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=hx(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&gx.assertOptions(t,{silentJSONParsing:vx.transitional(vx.boolean,"1.0.0"),forcedJSONParsing:vx.transitional(vx.boolean,"1.0.0"),clarifyTimeoutError:vx.transitional(vx.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var a=[mx,void 0];for(Array.prototype.unshift.apply(a,n),a=a.concat(i),o=Promise.resolve(e);a.length;)o=o.then(a.shift(),a.shift());return o}for(var c=e;n.length;){var l=n.shift(),s=n.shift();try{c=l(c)}catch(e){s(e);break}}try{o=mx(c)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},yx.prototype.getUri=function(e){return e=hx(this.defaults,e),px(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},dx.forEach(["delete","get","head","options"],(function(e){yx.prototype[e]=function(t,n){return this.request(hx(n||{},{method:e,url:t,data:(n||{}).data}))}})),dx.forEach(["post","put","patch"],(function(e){yx.prototype[e]=function(t,n,r){return this.request(hx(r||{},{method:e,url:t,data:n}))}}));var bx=yx;function wx(e){this.message=e}wx.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},wx.prototype.__CANCEL__=!0;var xx=wx,Ex=xx;function Cx(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new Ex(e),t(n.reason))}))}Cx.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Cx.source=function(){var e;return{token:new Cx((function(t){e=t})),cancel:e}};var kx=Cx,Sx=yw,_x=sw,Ix=bx,Bx=ox;function Tx(e){var t=new Ix(e),n=_x(Ix.prototype.request,t);return Sx.extend(n,Ix.prototype,t),Sx.extend(n,t),n}var Nx=Tx(Yw);Nx.Axios=Ix,Nx.create=function(e){return Tx(Bx(Nx.defaults,e))},Nx.Cancel=xx,Nx.CancelToken=kx,Nx.isCancel=Zw,Nx.all=function(e){return Promise.all(e)},Nx.spread=function(e){return function(t){return e.apply(null,t)}},Nx.isAxiosError=function(e){return"object"==typeof e&&!0===e.isAxiosError},lw.exports=Nx,lw.exports.default=Nx;var zx=lw.exports;function Dx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Px(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dx(Object(n),!0).forEach((function(t){Ox(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dx(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ox(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ax(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Rx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||Lx(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fx(e){return function(e){if(Array.isArray(e))return Mx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Lx(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lx(e,t){if(e){if("string"==typeof e)return Mx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mx(e,t):void 0}}function Mx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var jx=["theme"];ql.button.withConfig({displayName:"ButtonStyled",componentId:"sc-1kgkg60-0"})(["button&,a&{display:flex;flex-wrap:nowrap;flex:0 0 auto;white-space:nowrap;position:relative;min-width:40px;text-align:center;background-position:center;fill:currentColor;text-decoration:none;&:focus{display:flex;}}align-items:center !important;box-sizing:border-box !important;text-shadow:none !important;text-transform:none !important;font-family:"," !important;font-size:"," !important;font-weight:400 !important;line-height:"," !important;border-radius:",";outline:none !important;border:1px solid transparent !important;cursor:pointer !important;vertical-align:middle;justify-content:center;font-style:normal;transition-duration:0.1s;transition-property:background-color,border-color,box-shadow,color;&:disabled{cursor:default !important;pointer-events:none;}"," ",";",""],Dp.fontStackBase,Dp.fontSizeBase,Dp.lineHeightBase,Dp.brandRadiusBase,(function(e){return e.isFullWidth&&"width: 100%;"}),(function(e){return e.isSmall?Tl(["height:32px !important;padding:0 "," !important;font-size:"," !important;line-height:20px !important;"],Dp.spacing4,Dp.fontSize75):Tl(["height:40px !important;padding:0 "," !important;"],Dp.spacing5)}),(function(e){var t=e.theme,n=Ax(e,jx);if("primary-dark"===n.variant){var r=Tl(["border-color:",";background-color:",";color:",";box-shadow:none !important;"],Dp.componentButtonPrimaryBorderActive,Dp.componentButtonPrimaryFillActive,Dp.componentButtonPrimaryColorActive);return Tl(["border-color:transparent;background-color:",";color:",";"," &:hover{border-color:",";background-color:",";color:",";box-shadow:"," !important;}&:focus{background-color:",";color:",";border-color:",";box-shadow:"," !important;}&:active{","}&:disabled{border-color:",";background-color:",";color:",";box-shadow:none !important;}"],Dp.componentButtonPrimaryFill,Dp.componentButtonPrimaryColor,n.isPressed&&r,Dp.componentButtonPrimaryBorderHover,Dp.componentButtonPrimaryFillHover,Dp.componentButtonPrimaryColorHover,Dp.elevation1,Dp.componentButtonPrimaryFillFocus,Dp.componentButtonPrimaryColorFocus,Dp.componentButtonPrimaryBorderFocus,Dp.componentButtonPrimaryFocusRing,r,Dp.componentButtonPrimaryBorderDisabled,Dp.componentButtonPrimaryFillDisabled,Dp.componentButtonPrimaryColorDisabled)}if("secondary-dark"===n.variant){var o=Tl(["border-color:transparent !important;background-color:rgba(255,255,255,0.1) !important;color:"," !important;"],t.legacy.colorTextDark);return Tl(["color:rgba(255,255,255,0.8) !important;background-color:rgba(255,255,255,0.1) !important;"," &:hover{color:"," !important;background-color:rgba(255,255,255,0.15) !important;}&:focus{border-color:rgba(255,255,255,0.15) !important;}&:active{","}&:disabled{color:rgba(255,255,255,0.3) !important;background-color:rgba(255,255,255,0.05) !important;border-color:transparent !important;box-shadow:none !important;}"],n.isPressed&&o,t.legacy.colorWhite,o)}if("clean-dark"===n.variant){var i=Tl(["border-color:transparent !important;background-color:rgba(255,255,255,0.05) !important;color:"," !important;cursor:pointer !important;"],t.legacy.colorTextDark);return Tl(["color:",";background-color:transparent !important;border-color:transparent !important;box-shadow:none !important;border-radius:"," !important;"," &:hover{color:#fff !important;background-color:rgba(255,255,255,0.05) !important;}&:focus{border-color:rgba(255,255,255,0.15) !important;}&:active{","}&:disabled{color:rgba(255,255,255,0.15) !important;background-color:transparent !important;}"],t.legacy.colorTextDarker,t.legacy.buttonBorderRadius,n.isPressed&&i,i)}return""}));var Hx=ql.div.withConfig({displayName:"Icon",componentId:"sc-1kgkg60-1"})(["height:100%;display:flex;align-items:center;"]);ql(Hx).withConfig({displayName:"LeftIcon",componentId:"sc-1kgkg60-2"})(["margin-right:",";margin-left:calc("," * -1);"],(function(e){return e.lastChild?"calc(".concat(Dp.spacing2," * -1)"):Dp.spacing3}),Dp.spacing2),ql(Hx).withConfig({displayName:"RightIcon",componentId:"sc-1kgkg60-3"})(["margin-right:calc("," * -1);margin-left:",";"],Dp.spacing2,Dp.spacing3);var Ux,Vx=Gl(["100%{transform:rotate(360deg);}"]),$x=Gl(["0%{stroke-dasharray:1,100;stroke-dashoffset:0;}50%{stroke-dasharray:80,100;stroke-dashoffset:-20;}100%{stroke-dasharray:80,100;stroke-dashoffset:-48;}"]);ql.svg.withConfig({displayName:"Svg",componentId:"sc-2khuyx-0"})(["width:24px;height:24px;animation:"," 1s linear infinite;"],Vx),ql.circle.withConfig({displayName:"Circle",componentId:"sc-2khuyx-1"})(["stroke:currentColor;animation:"," 1.5s ease-in-out infinite;stroke-linecap:round;"],$x),function(e){e[e.Date=0]="Date",e[e.MultiSelect=1]="MultiSelect",e[e.Select=2]="Select",e[e.Search=3]="Search"}(Ux||(Ux={}));var Wx,Gx,qx,Yx=ql.div.withConfig({displayName:"IconContainer",componentId:"sc-16awveu-0"})(["height:0;position:absolute;bottom:32px;"]),Kx=ql(Yx).withConfig({displayName:"IconRightContainer",componentId:"sc-16awveu-1"})(["right:12px;cursor:pointer;fill:",";&:focus,&:hover{fill:",";}"],(function(e){return e.theme.legacy.colorIcon}),(function(e){return e.theme.legacy.colorIconActive}));ql.input.withConfig({displayName:"StyledInput",componentId:"sc-16awveu-2"})(["box-sizing:border-box;width:100%;height:40px;font-family:",";font-size:",";line-height:",";color:",";background:",";border-radius:5px;outline:none !important;border:1px solid ",";"," &::placeholder{color:",";}&:focus,&:hover{& ","{fill:"," !important;}border:1px solid ",";}",";padding-left:","px;padding-right:","px;",";"],(function(e){return e.theme.legacy.fontFamily}),(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.theme.legacy.lineHeightH6}),(function(e){return e.theme.legacy.colorText}),(function(e){return e.theme.legacy.colorBackground}),(function(e){return e.error?e.theme.legacy.colorError:e.theme.legacy.colorBorder}),(function(e){return e.inputType===Ux.Select&&"\n background: rgba(0, 34, 51, 0.03) !important;\n color: transparent !important;\n text-shadow: 0 0 0 ".concat(e.theme.legacy.colorText,";\n cursor: pointer;\n\n &:hover {\n background: rgba(0, 34, 51, 0.03) !important;\n }\n ")}),(function(e){return e.theme.legacy.colorTextDisabled}),Kx,(function(e){return e.theme.legacy.colorIconActive}),(function(e){return e.error?e.theme.legacy.colorError:e.theme.legacy.colorBorderFocus}),(function(e){return e.borderless?"\n border: none !important; /* overrides bynder-custom17 */\n &:focus, &:hover {\n border: none;\n }\n ":""}),(function(e){return e.hasLeftIcon?40:16}),(function(e){return e.hasRightIcon?40:0}),(function(e){return e.forceActive?"border: 1px solid ".concat(e.theme.legacy.colorBorderFocus):""})),ql.label.withConfig({displayName:"Label",componentId:"sc-16awveu-3"})(["font-weight:normal;font-family:",";font-size:",";width:100%;margin-bottom:0px;"],(function(e){return e.theme.legacy.fontFamily}),(function(e){return e.theme.legacy.fontSizeH6})),ql.p.withConfig({displayName:"ErrorMessage",componentId:"sc-16awveu-4"})(["font-size:",";color:",";margin-bottom:0;"],(function(e){return e.theme.legacy.fontSizeSmall}),(function(e){return e.theme.legacy.colorError})),ql.div.withConfig({displayName:"WrapperRelative",componentId:"sc-16awveu-5"})(["position:relative;margin-top:","px;"],(function(e){return e.isLabeled?8:0})),ql(Yx).withConfig({displayName:"IconErrorContainer",componentId:"sc-16awveu-6"})(["fill:",";"],(function(e){return e.theme.legacy.colorError})),ql(Yx).withConfig({displayName:"InputTypeContainer",componentId:"sc-16awveu-7"})(["left:10px;fill:",";"],(function(e){return e.theme.legacy.colorIcon})),ql.svg.withConfig({displayName:"Svg",componentId:"sc-16awveu-8"})(["display:inline-block,stroke-width:0,stroke:current-color,fill:current-color,font-size:32px,"]),ql.div.withConfig({displayName:"ListContainer",componentId:"sc-16awveu-9"})(["width:",";position:fixed;padding-top:4px;z-index:10;top:",";"],(function(e){return e.width}),(function(e){return e.top})),Wl(["textarea,input[type='text'],input[type='password'],input[type='datetime'],input[type='datetime-local'],input[type='date'],input[type='month'],input[type='time'],input[type='week'],input[type='number'],input[type='email'],input[type='url'],input[type='search'],input[type='tel'],input[type='color']{height:40px;line-height:",";margin-bottom:0;padding-top:0;padding-bottom:0;padding-left:","px;padding-right:","px;font-size:",";"," &::placeholder{color:",";}&:focus,&:hover{&::placeholder{color:",";}}}"],(function(e){return e.theme.legacy.lineHeightH6}),(function(e){return e.hasLeftIcon?40:16}),(function(e){return e.hasRightIcon?40:0}),(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.error?"border: 1px solid ".concat(e.theme.legacy.colorError,";"):""}),(function(e){return e.theme.legacy.colorTextDisabled}),(function(e){return e.theme.legacy.colorTextDisabled})),function(e){e.ArrowDown="ArrowDown",e.ArrowUp="ArrowUp",e.Enter="Enter",e.Backspace="Backspace",e.Escape="Escape",e.Tab="Tab"}(Wx||(Wx={})),function(e){e[e.COLOR=0]="COLOR",e[e.GREYSCALE=1]="GREYSCALE",e[e.WHITE=2]="WHITE"}(Gx||(Gx={})),function(e){e.USER="USER",e.PROFILE="PROFILE",e.GROUP="GROUP"}(qx||(qx={})),ql.div.withConfig({displayName:"MainContainer",componentId:"sc-167ea0r-0"})(["background-color:",";border:",";box-shadow:",";border-radius:5px;padding:8px 0;"],(function(e){return e.dark?e.theme.legacy.colorBackgroundDark:e.theme.legacy.colorBackground}),(function(e){return e.borderless?"none":"1px solid ".concat(e.theme.legacy.colorBorder)}),(function(e){return e.borderless?"none":e.theme.legacy.boxShadow}));var Xx=ql.li.withConfig({displayName:"Li",componentId:"sc-167ea0r-1"})(["display:flex;font-size:",";align-items:center;height:36px;padding:0 16px !important;"],(function(e){return e.theme.legacy.fontSizeSmall})),Zx=ql(Xx).withConfig({displayName:"Item",componentId:"sc-167ea0r-2"})(["cursor:pointer;&&&{&:active,&:focus,&:hover{color:",";background-color:",";outline:none;}}"],(function(e){return e.dark?e.theme.legacy.colorTextDark:e.theme.legacy.colorTextLightActive}),(function(e){return e.dark?e.theme.legacy.colorBackgroundDarkHover:e.theme.legacy.colorBackgroundLight}));ql(Xx).withConfig({displayName:"GroupName",componentId:"sc-167ea0r-3"})(["cursor:default;color:",";"],(function(e){return e.dark?e.theme.legacy.colorTextDarker:e.theme.legacy.colorText})),ql(Xx).withConfig({displayName:"EmptyState",componentId:"sc-167ea0r-4"})(["color:",";cursor:default;"],(function(e){return e.theme.legacy.colorText})),ql.ul.withConfig({displayName:"Ul",componentId:"sc-167ea0r-5"})(["margin:0;padding:0;list-style-type:none;max-height:",";overflow-y:auto;","{color:",";}"],(function(e){return e.maxHeight||"350px"}),Zx,(function(e){return e.dark?e.theme.legacy.colorTextDark:e.hasGroups?e.theme.legacy.colorTextLight:e.theme.legacy.colorText})),ql.div.withConfig({displayName:"IconContainer",componentId:"sc-167ea0r-6"})(["display:flex;margin-right:8px;fill:",";"],(function(e){return e.dark?e.theme.legacy.colorTextDark:e.theme.legacy.colorIcon})),ql.div.withConfig({displayName:"Divider",componentId:"sc-167ea0r-7"})(["margin:8px 0;border-bottom:1px solid ",";width:100%;"],(function(e){return e.dark?e.theme.legacy.colorRichBlack30:e.theme.legacy.colorBorder})),ql.svg.withConfig({displayName:"Svg",componentId:"sc-hfnr8h-0"})(["display:inline-block;stroke-width:0;stroke:current-color;fill:current-color;font-size:32px;"]);var Jx=ql.div.withConfig({displayName:"IconContainer",componentId:"sc-6ftogw-0"})(["height:0;position:absolute;bottom:32px;"]),Qx=ql(Jx).withConfig({displayName:"IconRightContainer",componentId:"sc-6ftogw-1"})(["right:12px;cursor:",";fill:",";&:focus,&:hover{fill:",";}"],(function(e){return e.disabled?"not-allowed":"pointer"}),(function(e){return e.dark?e.theme.legacy.colorTextDark:e.theme.legacy.colorMutedIcon}),(function(e){return e.dark?e.theme.legacy.colorTextDark:e.disabled?e.theme.legacy.colorMutedIcon:e.theme.legacy.colorMutedIconActive}));ql.input.withConfig({displayName:"StyledInput",componentId:"sc-6ftogw-2"})(["box-sizing:border-box;width:100%;height:40px !important;font-family:",";font-size:"," !important;line-height:"," !important;color:",";cursor:",";background:",";border-radius:5px;outline:none !important;border:1px solid ",";&:focus,&:hover{& ","{fill:"," !important;}&::placeholder{color:"," !important;}","}&::placeholder{color:"," !important;}",";padding-left:","px !important;padding-right:","px !important;padding-top:0 !important;padding-bottom:0 !important;margin-bottom:0 !important;",";"],(function(e){return e.theme.legacy.fontFamily}),(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.theme.legacy.lineHeightH6}),(function(e){return e.disabled?e.theme.legacy.colorTextDisabled:e.theme.legacy.colorText}),(function(e){return e.disabled?"not-allowed":"pointer"}),(function(e){return e.disabled?Dp.gray25:e.theme.legacy.colorBackground}),(function(e){return e.error?e.theme.legacy.colorError:e.theme.legacy.colorBorder}),Qx,(function(e){return e.theme.legacy.colorMutedIconActive}),(function(e){return e.dark?e.theme.legacy.colorTextDark:e.theme.legacy.colorTextDisabled}),(function(e){return e.error?"border: 1px solid ".concat(e.theme.legacy.colorError," !important;"):e.dark?"":e.disabled?"border: 1px solid ".concat(e.theme.legacy.colorBorder," !important;"):"border: 1px solid ".concat(e.theme.legacy.colorBorderFocus," !important;")}),(function(e){return e.dark?e.theme.legacy.colorTextDark:e.theme.legacy.colorTextDisabled}),(function(e){return e.borderless?Tl(["border:none !important;&:focus,&:hover{border:none;}"]):""}),(function(e){return e.hasLeftIcon?40:16}),(function(e){return e.hasRightIcon?40:0}),(function(e){return e.forceActive?"border: 1px solid ".concat(e.theme.legacy.colorBorderFocus):""})),ql.label.withConfig({displayName:"Label",componentId:"sc-6ftogw-3"})(["font-weight:normal;font-family:",";font-size:",";width:100%;margin-bottom:0px;"],(function(e){return e.theme.legacy.fontFamily}),(function(e){return e.theme.legacy.fontSizeH6})),ql.p.withConfig({displayName:"ErrorMessage",componentId:"sc-6ftogw-4"})(["font-size:",";color:",";margin-bottom:0;"],(function(e){return e.theme.legacy.fontSizeSmall}),(function(e){return e.theme.legacy.colorError})),ql.div.withConfig({displayName:"LabelContainer",componentId:"sc-6ftogw-5"})(["width:100%;"]),ql.div.withConfig({displayName:"WrapperRelative",componentId:"sc-6ftogw-6"})(["position:relative;margin-top:","px;"],(function(e){return e.isLabeled?8:0})),ql(Jx).withConfig({displayName:"IconErrorContainer",componentId:"sc-6ftogw-7"})(["fill:",";"],(function(e){return e.theme.legacy.colorError})),ql(Jx).withConfig({displayName:"IconLeftContainer",componentId:"sc-6ftogw-8"})(["left:10px;fill:",";"],(function(e){return e.theme.legacy.colorIcon})),ql.div.withConfig({displayName:"ListContainer",componentId:"sc-6ftogw-9"})(["position:absolute;padding-top:4px;width:100%;z-index:10;"]),ql.div.withConfig({displayName:"SpinnerBorder",componentId:"sc-1lat4jy-0"})(["display:flex;width:24px;height:24px;justify-content:center;align-items:center;svg{animation:borderRotate 1s linear infinite;width:20px;height:20px;circle{stroke:",";stroke-linecap:round;animation:borderDash 1.5s ease-in-out infinite;}}@keyframes borderRotate{100%{transform:rotate(360deg);}}@keyframes borderDash{0%{stroke-dasharray:1,100;stroke-dashoffset:0;}50%{stroke-dasharray:80,100;stroke-dashoffset:-20;}100%{stroke-dasharray:80,100;stroke-dashoffset:-48;}}"],(function(e){switch(e.colorMode){case Gx.COLOR:return e.theme.legacy.colorPrimary;case Gx.WHITE:return e.theme.legacy.colorWhite30;default:return e.theme.legacy.colorRichBlack30}}));var eE=ql.div.withConfig({displayName:"IconContainer",componentId:"sc-hv8gko-0"})(["position:absolute;height:100%;display:flex;align-items:center;"]);ql(eE).withConfig({displayName:"IconRightContainer",componentId:"sc-hv8gko-1"})(["top:0;right:12px;",";fill:",";&:focus,&:hover{fill:",";}"],(function(e){return e.onClick&&"cursor: pointer;"}),(function(e){return e.theme.legacy.colorIcon}),(function(e){return e.theme.legacy.colorIconActive})),ql.input.withConfig({displayName:"StyledInput",componentId:"sc-hv8gko-2"})(["box-sizing:border-box;width:100%;height:","px !important;font-family:",";font-size:"," !important;line-height:"," !important;color:",";background:",";border-radius:5px;outline:none !important;border:1px solid "," !important;&::placeholder{color:"," !important;}&:focus,&:hover:not([disabled]){&::placeholder{color:"," !important;}border:1px solid "," !important;}",";padding-left:","px !important;padding-right:","px !important;padding-top:0 !important;padding-bottom:0 !important;margin-bottom:0 !important;",";&&:disabled{background:",";border-color:"," !important;}"],(function(e){return e.small?32:40}),(function(e){return e.theme.legacy.fontFamily}),(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.theme.legacy.lineHeightH6}),(function(e){return e.theme.legacy.colorText}),(function(e){return e.theme.legacy.colorBackground}),(function(e){return e.error?e.theme.legacy.colorError:e.theme.legacy.colorBorder}),(function(e){return e.theme.legacy.colorTextDisabled}),(function(e){return e.theme.legacy.colorTextDisabled}),(function(e){return e.error?e.theme.legacy.colorError:e.theme.legacy.colorBorderFocus}),(function(e){return e.borderless?Tl(["border:none !important;&:focus,&:hover{border:none;}"]):""}),(function(e){return e.hasLeftIcon?40:16}),(function(e){return e.hasRightIcon?40:0}),(function(e){return e.forceActive&&!e.error?"border: 1px solid ".concat(e.theme.legacy.colorBorderFocus):""}),(function(e){return e.theme.legacy.colorBackgroundLight}),(function(e){return e.theme.legacy.colorBackgroundLight})),ql.label.withConfig({displayName:"Label",componentId:"sc-hv8gko-3"})(["font-weight:normal;font-family:",";font-size:",";color:",";width:100%;margin-bottom:0px;"],(function(e){return e.theme.legacy.fontFamily}),(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.theme.legacy.colorText})),ql.p.withConfig({displayName:"ErrorMessage",componentId:"sc-hv8gko-4"})(["margin:4px 0 0;font-size:",";line-height:",";color:",";"],(function(e){return e.theme.legacy.fontSizeSmall}),(function(e){return e.theme.legacy.lineHeightSmall}),(function(e){return e.theme.legacy.colorError})),ql.div.withConfig({displayName:"LabelContainer",componentId:"sc-hv8gko-5"})(["width:100%;"]),ql.div.withConfig({displayName:"WrapperRelative",componentId:"sc-hv8gko-6"})(["position:relative;margin-top:","px;"],(function(e){return e.isLabeled?8:0})),ql(eE).withConfig({displayName:"IconLeftContainer",componentId:"sc-hv8gko-7"})(["top:0;left:10px;fill:",";color:",";"],(function(e){return e.theme.legacy.colorIcon}),(function(e){return e.theme.legacy.colorIcon})),ql.p.withConfig({displayName:"Counter",componentId:"sc-hv8gko-8"})(["position:absolute;right:0;font-size:",";color:",";margin:4px 0 0 0;text-align:right;"],(function(e){return e.theme.legacy.fontSizeSmall}),(function(e){return e.theme.legacy.colorTextDisabled})),ql.div.withConfig({displayName:"FixedContainer",componentId:"sc-kc8vou-0"})(["position:fixed;z-index:2;"]),ql.div.withConfig({displayName:"StyledItemStatus",componentId:"sc-uhd8g-0"})(["padding:0 ",";color:",";"],Dp.spacing5,(function(e){return e.theme.legacy.colorRichBlack30})),ql.div.withConfig({displayName:"StyledUserSearchContainer",componentId:"sc-uhd8g-1"})(["position:relative;"]),ql.ul.withConfig({displayName:"StyledUserSearchDropdown",componentId:"sc-uhd8g-2"})(["display:block;box-sizing:border-box;overflow-y:auto;padding:"," 0;margin:0;border:none;border-radius:",";background-color:",";box-shadow:0 0 0 1px ",";z-index:1;&:empty{display:none;}> li{list-style:none;}"],Dp.spacing3,(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return e.theme.legacy.colorWhite}),(function(e){return e.theme.legacy.colorRichBlack15}));var tE=ql.div.withConfig({displayName:"IconContainer",componentId:"sc-uhd8g-3"})(["position:absolute;height:0;right:0;bottom:32px;"]);ql(tE).withConfig({displayName:"IconRightContainer",componentId:"sc-uhd8g-4"})(["cursor:pointer;fill:",";&:focus,&:hover{fill:",";}"],(function(e){return e.theme.legacy.colorIcon}),(function(e){return e.theme.legacy.colorIconActive})),ql.div.withConfig({displayName:"Container",componentId:"sc-1ozn84q-0"})(["padding:8px 0;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;"]),ql.div.withConfig({displayName:"InfoContainer",componentId:"sc-1ozn84q-1"})(["flex:1;margin-right:12px;color:",";min-width:0;"],(function(e){return e.isDisabled?e.theme.legacy.colorTextLight:e.theme.legacy.colorText})),ql.div.withConfig({displayName:"NameContainer",componentId:"sc-1ozn84q-2"})(["display:flex;"]),ql.div.withConfig({displayName:"Name",componentId:"sc-1ozn84q-3"})(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]),ql.div.withConfig({displayName:"NameSmoked",componentId:"sc-1ozn84q-4"})(["color:",";margin-left:8px;"],(function(e){return e.theme.legacy.colorTextDisabled})),ql.div.withConfig({displayName:"ExtraInfo",componentId:"sc-1ozn84q-5"})(["font-size:14px;color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],(function(e){return e.theme.legacy.colorTextLight}));var nE=ql.div.withConfig({displayName:"LoadingPlaceholder",componentId:"sc-1ozn84q-6"})(["&:after{content:'';display:flex;width:120px;height:6px;border-radius:4px;margin:3px 0;background-color:",";}"],(function(e){return e.theme.legacy.colorRichBlack20}));ql(nE).withConfig({displayName:"LoadingName",componentId:"sc-1ozn84q-7"})(["&:after{width:120px;background-color:",";}"],(function(e){return e.theme.legacy.colorRichBlack20})),ql(nE).withConfig({displayName:"LoadingExtraInfo",componentId:"sc-1ozn84q-8"})(["&:after{width:80px;background-color:",";}"],(function(e){return e.theme.legacy.colorRichBlack10})),ql.div.withConfig({displayName:"IconContainer",componentId:"sc-1ozn84q-9"})(["min-width:40px;height:40px;margin-right:8px;display:flex;align-items:center;justify-content:center;border-radius:",";background-color:",";fill:",";"],(function(e){return e.square?"5px":"50%"}),(function(e){return e.theme.legacy.colorBackgroundLight}),(function(e){return e.theme.legacy.colorBackgroundActive})),ql.div.withConfig({displayName:"EntityListContainer",componentId:"sc-1ozn84q-10"})(["flex:1;overflow-y:auto;overflow-x:hidden;margin-top:16px;max-height:256px;"]),ql.div.withConfig({displayName:"StyledItemCheck",componentId:"sc-ri03d3-0"})(["display:flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;box-shadow:inset 0 0 0 2px ",";"," svg{","}"],(function(e){return e.theme.legacy.colorRichBlack10}),(function(e){return e.checked&&"\n background-color: ".concat(e.theme.legacy.colorPrimary,";\n box-shadow: none;\n color: ").concat(e.theme.legacy.colorWhite,";\n ")}),(function(e){return e.checked?"\n opacity: 1;\n transform: scale(1);\n ":"\n opacity: 0;\n "})),ql.div.withConfig({displayName:"StyledEntityListContainer",componentId:"sc-ri03d3-1"})(["",""],(function(e){return e.isDisabled&&"opacity: 0.6;"}));var rE=ql.div.withConfig({displayName:"Section",componentId:"sc-ri03d3-2"})(["margin:0 0 12px 0;list-style:none;min-width:224px;"]);ql.div.withConfig({displayName:"SubTitle",componentId:"sc-ri03d3-3"})(["margin:8px 0 8px 0;"]),ql.div.withConfig({displayName:"ListContent",componentId:"sc-ri03d3-4"})(["padding:8px 0;margin:0;display:flex;flex-direction:row;align-items:center;position:relative;justify-content:flex-start;"]),ql.div.withConfig({displayName:"ListInfo",componentId:"sc-ri03d3-5"})(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:12px;color:",";"],(function(e){return e.theme.legacy.colorRichBlack80}));var oE=ql.div.withConfig({displayName:"ListTitle",componentId:"sc-ri03d3-6"})(["width:100%;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]);ql(oE).withConfig({displayName:"ListSecondary",componentId:"sc-ri03d3-7"})(["font-size:14px;color:",";"],(function(e){return e.theme.legacy.colorRichBlack50})),ql.div.withConfig({displayName:"ListActions",componentId:"sc-ri03d3-8"})(["margin-left:auto;display:flex;div + button{margin-left:8px;}"]),ql.div.withConfig({displayName:"ListItem",componentId:"sc-ri03d3-9"})(["padding:0 16px;"," ",""],(function(e){return e.pointer&&"\n cursor: pointer;\n "}),(function(e){return e.isFocused&&"\n background-color: ".concat(e.theme.legacy.colorRichBlack03,";\n ")})),ql.div.withConfig({displayName:"ListIcon",componentId:"sc-ri03d3-10"})(["width:48px;height:48px;margin:0 8px 0 0;border-radius:5px;position:relative;box-shadow:inset 0 0 0 1px ",";display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:",";fill:",";color:",";box-shadow:none;> svg{width:24px;height:24px;}"],(function(e){return e.theme.legacy.colorRichBlack10}),(function(e){return e.theme.legacy.colorRichBlack05}),(function(e){return e.theme.legacy.colorRichBlack50}),(function(e){return e.theme.legacy.colorRichBlack50})),ql.span.withConfig({displayName:"SpanSmoke",componentId:"sc-ri03d3-11"})(["color:",";"],(function(e){return e.theme.legacy.colorRichBlack30}));var iE,aE,cE=ql.div.withConfig({displayName:"Icon",componentId:"sc-ri03d3-12"})(["background-color:",";width:24px;height:24px;margin:0 12px 0 0px;border-radius:5px;flex-shrink:0;img{width:24px;height:24px;margin:0 12px 0 0px;border-radius:5px;background-color:",";}"],(function(e){return!e.withImage&&(e.color||e.theme.legacy.colorRichBlack10)}),(function(e){return e.color||e.theme.legacy.colorRichBlack10})),lE=ql.span.withConfig({displayName:"ComponentIcon",componentId:"sc-ri03d3-13"})(["display:flex;width:32px;height:32px;align-items:center;fill:",";margin-right:8px;justify-content:center;flex-shrink:0;border-radius:5px;","{margin:0;}> img{width:24px;height:24px;border-radius:5px;}"],(function(e){return e.theme.legacy.colorRichBlack30}),cE);ql.div.withConfig({displayName:"TextEllipsis",componentId:"sc-ri03d3-14"})(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:initial;"]),ql.div.withConfig({displayName:"MainContainer",componentId:"sc-ri03d3-15"})(["display:flex;flex-direction:column;max-height:100%;"]),ql(rE).withConfig({displayName:"EntityListSection",componentId:"sc-ri03d3-16"})(["margin-right:calc("," * -1);padding-right:",";flex:1;overflow-y:auto;overflow-x:hidden;margin-top:4px;min-height:186px;max-height:256px;margin-bottom:12px;"],Dp.spacing6,Dp.spacing6),ql.div.withConfig({displayName:"DropdownArrowIconContainer",componentId:"sc-ri03d3-17"})(["height:24px;margin:0 calc("," * -1);"],Dp.spacing2),function(e){e.PRIVATE="PRIVATE",e.RESTRICTED="RESTRICTED",e.ALL_USERS="ALL_USERS",e.PUBLIC="PUBLIC"}(iE||(iE={})),function(e){e.LEFT="left",e.RIGHT="right",e.CENTER="center",e.TOP="top"}(aE||(aE={})),ql.div.withConfig({displayName:"Dropdown",componentId:"sc-td9xdv-0"})(["position:relative;margin-left:0px;"]);var sE=ql.div.withConfig({displayName:"DropdownContainer",componentId:"sc-td9xdv-1"})(["top:100%;left:0;border-radius:",";background-color:",";box-shadow:0 1px 6px 0 ",";border:1px solid ",";min-width:170px;overflow:auto;background-clip:padding-box;"],(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return e.theme.legacy.colorWhite}),(function(e){return e.theme.legacy.colorRichBlack10}),(function(e){return e.theme.legacy.colorRichBlack05}));ql.div.withConfig({displayName:"DropdownContent",componentId:"sc-td9xdv-2"})(["position:absolute;min-width:",";"," overflow:auto;background-color:",";box-shadow:0 1px 8px 0 ",";border-radius:",";background-clip:padding-box;z-index:100;",""],(function(e){return e.small?"148px":"200px"}),(function(e){return e.fullWidth&&"width: 100%;"}),(function(e){return e.theme.legacy.colorWhite}),(function(e){return e.theme.legacy.colorRichBlack10}),(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return function(){switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:aE.LEFT){case aE.RIGHT:return Tl(["top:110%;right:0;"]);case aE.CENTER:return Tl(["top:110%;left:50%;transform:translateX(-50%);"]);case aE.TOP:return Tl(["top:auto;bottom:110%;"]);case aE.LEFT:default:return Tl(["top:110%;left:0;"])}}(e.position)})),ql.div.withConfig({displayName:"Entry",componentId:"sc-td9xdv-3"})(["margin:0;display:flex;flex-direction:row;align-items:center;position:relative;text-decoration:none;white-space:nowrap;","{width:24px;}"],lE);var uE=ql.span.withConfig({displayName:"IconContainer",componentId:"sc-td9xdv-4"})(["display:flex;margin:0 -8px 0 auto;fill:",";svg{margin-left:auto;}"],(function(e){return e.theme.legacy.colorRichBlack80}));ql.li.withConfig({displayName:"DropdownListItem",componentId:"sc-td9xdv-5"})([""," margin:0;height:36px;display:flex;flex-direction:row;align-items:center;position:relative;color:",";font-size:14px;"," &:hover{background-color:",";cursor:pointer;color:",";}list-style:none;","{fill:",";color:",";}","{margin:0 -8px 0 auto;svg{color:rgba(0,34,51,0.8);}}"],(function(e){return e.woPaddingLeft?"padding: 0 16px 0 0;":"padding: 0 16px;"}),(function(e){return e.theme.legacy.colorRichBlack50}),(function(e){return e.enabled&&"color: ".concat(e.theme.legacy.colorRichBlack80,";")}),(function(e){return e.theme.legacy.colorRichBlack03}),(function(e){return e.theme.legacy.colorRichBlack80}),lE,(function(e){return e.theme.legacy.colorRichBlack50}),(function(e){return e.theme.legacy.colorRichBlack50}),uE);var dE=Tl(["width:32px;height:32px;display:flex;align-items:center;justify-content:center;"]),pE=Tl(["margin:0 4px 0 -8px;flex-shrink:0;border-radius:",";"],(function(e){return e.theme.legacy.buttonBorderRadius}));ql.ul.withConfig({displayName:"DropdownList",componentId:"sc-td9xdv-6"})(["list-style:none;padding:8px 0;margin:0;hr{margin:8px 0;}",""],(function(e){return e.scrollable&&"\n max-height: 300px;\n overflow: scroll;\n "})),ql(sE).withConfig({displayName:"CardDropdownContainer",componentId:"sc-td9xdv-7"})(["top:110%;min-width:200px;background-clip:padding-box;align-self:flex-start;min-height:8px;z-index:1;"]),ql.span.withConfig({displayName:"CardDropdownListIcon",componentId:"sc-td9xdv-8"})([""," "," color:",";"],dE,pE,(function(e){return e.theme.legacy.colorRichBlack50}));var fE=ql.input.withConfig({displayName:"StyledInput",componentId:"sc-1jv4ai7-0"})(["flex-grow:2;box-sizing:border-box;height:40px;font-size:",";line-height:",";color:",";background:",";padding-left:16px;padding-right:40px;input&{\bwidth:156px;outline:none;border:none;border-radius:",";&:focus,&:hover{border:none;box-shadow:none;}}&::placeholder{color:",";}"],(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.theme.legacy.lineHeightH6}),(function(e){return e.theme.legacy.colorText}),(function(e){return e.theme.legacy.colorBackground}),(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return e.theme.legacy.colorTextDisabled}));ql.div.withConfig({displayName:"WrapperRelative",componentId:"sc-1jv4ai7-1"})(["position:relative;margin-top:","px;border-radius:",";border:1px solid ",";&:focus,&:hover{border:1px solid ",";}"],(function(e){return e.isLabeled?8:0}),(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return e.isFocused?e.theme.legacy.colorBorderFocus:e.theme.legacy.colorBorder}),(function(e){return e.theme.legacy.colorBorderFocus})),ql.div.withConfig({displayName:"WrapperFlex",componentId:"sc-1jv4ai7-2"})(["display:flex;align-items:center;flex-wrap:wrap;"]);var mE=ql.div.withConfig({displayName:"IconContainer",componentId:"sc-1jv4ai7-3"})(["height:0;position:absolute;bottom:32px;"]);ql(mE).withConfig({displayName:"IconErrorContainer",componentId:"sc-1jv4ai7-4"})(["fill:",";"],(function(e){return e.theme.legacy.colorError})),ql(mE).withConfig({displayName:"IconRightContainer",componentId:"sc-1jv4ai7-5"})(["right:12px;cursor:pointer;fill:",";&:focus,&:hover{fill:",";}",":focus &{fill:",";}"],(function(e){return e.theme.legacy.colorIcon}),(function(e){return e.theme.legacy.colorIconActive}),fE,(function(e){return e.theme.legacy.colorIconActive})),ql.label.withConfig({displayName:"Label",componentId:"sc-1jv4ai7-6"})(["font-weight:normal;font-size:",";width:100%;margin-bottom:0px;"],(function(e){return e.theme.legacy.fontSizeH6})),ql.p.withConfig({displayName:"ErrorMessage",componentId:"sc-1jv4ai7-7"})(["font-size:",";color:",";margin-bottom:0;"],(function(e){return e.theme.legacy.fontSizeSmall}),(function(e){return e.theme.legacy.colorError})),ql.svg.withConfig({displayName:"Svg",componentId:"sc-1jv4ai7-8"})(["display:inline-block,stroke-width:0,stroke:current-color,fill:current-color,font-size:32px,"]),ql.div.withConfig({displayName:"ListContainer",componentId:"sc-1jv4ai7-9"})(["width:",";position:fixed;padding-top:4px;z-index:10;top:",";"],(function(e){return e.width}),(function(e){return e.top})),ql.div.withConfig({displayName:"ListItem",componentId:"sc-4vrawh-0"})(["padding:0 16px;cursor:pointer;",""],(function(e){return e.isFocused&&Tl(["background-color:",";"],e.theme.legacy.colorRichBlack03)})),ql.input.withConfig({displayName:"Input",componentId:"sc-1rwvhxx-0"})(["flex-grow:2;box-sizing:border-box;height:32px;font-size:",";line-height:",";color:",";background:",";padding-left:8px;padding-right:8px;input&{width:20%;outline:none;border:none;border-radius:",";&:focus,&:hover{border:none;box-shadow:none;}}&&::placeholder{color:",";}"],(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.theme.legacy.lineHeightH6}),(function(e){return e.theme.legacy.colorText}),(function(e){return e.theme.legacy.colorBackground}),(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return e.theme.legacy.colorTextDisabled})),ql.div.withConfig({displayName:"WrapperRelative",componentId:"sc-1rwvhxx-1"})(["position:relative;padding:2px;border-radius:",";border:1px solid ",";&:focus,&:hover{border:1px solid ",";}"],(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return e.isFocused?e.theme.legacy.colorBorderFocus:e.theme.legacy.colorBorder}),(function(e){return e.theme.legacy.colorBorderFocus})),ql.div.withConfig({displayName:"WrapperFlex",componentId:"sc-1rwvhxx-2"})(["display:flex;flex-wrap:wrap;align-items:center;"]),ql.div.withConfig({displayName:"SelectedChip",componentId:"sc-1rwvhxx-3"})(["margin:2px;"]),ql.div.withConfig({displayName:"AvailableChip",componentId:"sc-1rwvhxx-4"})(["margin:8px 2px 0;"]),ql.div.withConfig({displayName:"AvailableChipContainer",componentId:"sc-1rwvhxx-5"})(["display:flex;align-items:flex-start;width:100%;height:",";scroll-behavior:smooth;overflow-x:scroll;&::-webkit-scrollbar{display:none;}-ms-overflow-style:none;scrollbar-width:none;"],"44px"),ql.div.withConfig({displayName:"Footer",componentId:"sc-1rwvhxx-6"})(["position:relative;z-index:0;"]);var hE=ql.div.withConfig({displayName:"Arrow",componentId:"sc-1rwvhxx-7"})(["z-index:2;position:absolute;top:8px;display:flex;align-items:center;justify-content:center;width:24px;height:32px;background-color:#fff;border-radius:5px;cursor:pointer;> svg{height:24px;width:24px;fill:",";}&:hover{background-color:#f2f4f5;> svg{fill:",";}}&:active{background-color:#e6e9eb;}"],(function(e){return e.theme.legacy.colorIcon}),(function(e){return e.theme.legacy.colorIconActive}));ql(hE).withConfig({displayName:"RightArrow",componentId:"sc-1rwvhxx-8"})(["right:0;"]),ql(hE).withConfig({displayName:"LeftArrow",componentId:"sc-1rwvhxx-9"})(["left:0;"]);var gE=ql.div.withConfig({displayName:"Shadow",componentId:"sc-1rwvhxx-10"})(["z-index:1;position:absolute;top:0;width:32px;height:",";"],"44px");ql(gE).withConfig({displayName:"RightShadow",componentId:"sc-1rwvhxx-11"})(["background:linear-gradient(270deg,#ffffff 0%,rgba(255,255,255,0) 100%);right:24px;"]),ql(gE).withConfig({displayName:"LeftShadow",componentId:"sc-1rwvhxx-12"})(["background:linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,0) 100%);left:24px;"]);var vE=ql.div.withConfig({displayName:"ArrowBackground",componentId:"sc-1rwvhxx-13"})(["z-index:1;position:absolute;top:0;background-color:#fff;border-radius:5px 0 0 5px;height:",";width:26px;"],"44px");ql(vE).withConfig({displayName:"ArrowBackgroundRight",componentId:"sc-1rwvhxx-14"})(["right:0;"]),ql(vE).withConfig({displayName:"ArrowBackgroundLeft",componentId:"sc-1rwvhxx-15"})(["left:-1px;"]);var yE=["isOpen"];function bE(e){var n=e.presetURL,r=e.alwaysVisible,o=new RegExp("[-?]io"),i="".concat(n).concat(o.test(n)?"&download=true":"?download=true");return t.createElement(Wh,{position:"bottom-right",trigger:function(e){var n=e.isOpen,o=Ax(e,yE);return t.createElement(xE,{isVisible:r||n},t.createElement(ef,Px(Px({},o),{},{variant:"clean",isPressed:n,icon:t.createElement(Nu,null),"aria-label":"More options"})))}},t.createElement(iw.CopyToClipboard,{text:n,onCopy:function(){wg({title:"Link copied to clipboard",variant:"success"})}},t.createElement(Wh.Item,{icon:t.createElement(Ks,null),onClick:function(){return!1}},"Copy Link")),t.createElement(Wh.Divider,null),t.createElement(Wh.Item,{icon:t.createElement(Os,null),onClick:function(){window.open(n,"_blank")}},"Open in new tab"),t.createElement(Wh.Divider,null),t.createElement(Wh.Item,{icon:t.createElement(iu,null),onClick:function(){return!1}},t.createElement(wE,{href:i,download:"presetimage"},"Download")))}var wE=ql.a.withConfig({displayName:"DownloadLink",componentId:"sc-1xq1wim-0"})(["display:block;"]),xE=ql.div.withConfig({displayName:"ButtonWrapper",componentId:"sc-1xq1wim-1"})(["opacity:",";",":hover &,&:focus-within{opacity:1;}"],(function(e){return e.isVisible?"1":"0"}),".dat-menu-pointer-events-wrapper"),EE=function(e){var t="",n=e.match(/(https:\/\/(.*))\/transform\/(.*)\/(.*)/);return n&&n[3]&&(t=n[3]),t},CE=function(e){var n=e.name,r=e.onSelect,o=e.subtitle,i=e.isMenuHidden,a=void 0!==i&&i,c=e.isSelected,l=e.baseURL,s="Base"===n?"":"".concat(n,"/"),u=EE(l),d="/transform/".concat(s).concat(u,"/"),p=BE(d,l);return t.createElement(kE,{className:"dat-menu-pointer-events-wrapper",onClick:r,isSelected:c},t.createElement(_h,{variant:"content",imageUrl:p}),t.createElement(SE,null,t.createElement(_E,null,n),t.createElement(IE,null,o)),!a&&t.createElement(bE,{alwaysVisible:!1,presetURL:d}))},kE=ql.div.withConfig({displayName:"ItemContainer",componentId:"sc-1q57zbs-0"})(["padding:"," ",";display:flex;border-radius:",";align-items:center;background:",";&:hover{background:",";cursor:pointer;}"],Dp.spacing3,Dp.spacing4,Dp.spacing3,(function(e){return e.isSelected&&Dp.gray25}),Dp.gray25),SE=ql.div.withConfig({displayName:"ItemDetails",componentId:"sc-1q57zbs-1"})(["display:flex;flex-direction:column;flex:1;min-width:0;"]),_E=ql.p.withConfig({displayName:"Title",componentId:"sc-1q57zbs-2"})(["font-size:",";line-height:",";color:",";padding:0px ",";margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"],Dp.fontSize100,Dp.lineHeightText,Dp.gray800,Dp.spacing4),IE=ql.p.withConfig({displayName:"Subtitle",componentId:"sc-1q57zbs-3"})(["color:",";font-size:",";line-height:",";padding:0px ",";margin:0;"],Dp.gray600,Dp.fontSize100,Dp.lineHeightText,Dp.spacing4),BE=function(e,t){var n=t.split("/transform"),r=n.length>1?n[0]:"";return"".concat(r).concat(e,"?io=transform:fit,width:80")},TE=t.memo(CE),NE=function(e){var n=e.onPresetSelected,r=e.presets,o=e.selectedPreset,i=e.baseURL;return t.createElement(DE,null,t.createElement(zE,null,"Base transformation"),t.createElement(TE,{baseURL:i,onSelect:function(){return n("")},name:"Base",isMenuHidden:!0,subtitle:"",isSelected:""===o}),r.length>0&&t.createElement(zE,null,r.length," Presets"),r.map((function(e){var r=e.name===o;return t.createElement(TE,{baseURL:i,key:e.id,onSelect:function(){return n(e.name)},name:e.name,subtitle:"",isSelected:r})})))},zE=ql.p.withConfig({displayName:"ListGroupTitle",componentId:"sc-yqslcx-0"})(["color:",";font-size:",";margin-bottom:",";padding:0 ",";"],Dp.gray800,Dp.spacing5,Dp.spacing5,Dp.spacing4),DE=ql.div.withConfig({displayName:"Container",componentId:"sc-yqslcx-1"})(["padding:0px ",";"],Dp.spacing4),PE=t.memo(NE);function OE(e){return e?e[0].toUpperCase()+e.split("").splice(1).join("").toLocaleLowerCase():""}var AE=function(e){switch(e.type){case"fill":case"crop":return t.createElement(fu,null);case"fit":return t.createElement(Ts,null);case"extend":return t.createElement(Ms,null);case"scale":return t.createElement(ru,null);case"rotate":return t.createElement(bu,null);case"flip":return t.createElement(hu,null);case"mirror":return t.createElement(du,null);case"border":return t.createElement(Qs,null);case"background":return t.createElement(eu,null);case"trim":return t.createElement(Xs,null);case"opacity":return t.createElement(Fs,null);case"sepia":return t.createElement(uu,null);case"contrast":return t.createElement(Ds,null);case"brightness":return t.createElement(Js,null);case"grayscale":return t.createElement(wu,null);case"blur":return t.createElement(cu,null);case"sharpness":return t.createElement(mu,null);case"saturation":return t.createElement(lu,null);case"text":return t.createElement(ou,null);case"advanced":return t.createElement(Hs,null);case"multiple":return t.createElement(Us,null);case"removebg":return t.createElement(FE,null);default:return null}};function RE(e){return t.createElement(Gh,Px({},e),t.createElement("path",{d:"M3 17V19H9V17H3ZM3 5V7H13V5H3ZM13 21V19H21V17H13V15H11V21H13ZM7 9V11H3V13H7V15H9V9H7ZM21 13V11H11V13H21ZM15 9H17V7H21V5H17V3H15V9Z"}))}function FE(e){return t.createElement(Gh,Px({},e),t.createElement("path",{d:"M3 5h2V3c-1.1 0-2 .9-2 2Zm0 8h2v-2H3v2Zm4 8h2v-2H7v2ZM3 9h2V7H3v2Zm10-6h-2v2h2V3Zm6 0v2h2c0-1.1-.9-2-2-2ZM5 21v-2H3c0 1.1.9 2 2 2Zm-2-4h2v-2H3v2ZM9 3H7v2h2V3Zm2 18h2v-2h-2v2Zm8-8h2v-2h-2v2Zm0 8c1.1 0 2-.9 2-2h-2v2Zm0-12h2V7h-2v2Zm0 8h2v-2h-2v2Zm-4 4h2v-2h-2v2Zm0-16h2V3h-2v2ZM7 17h10V7H7v10Zm2-8h6v6H9V9Z"}))}function LE(e){return t.createElement(Gh,Px({},e),t.createElement("path",{d:"M19 15.18V7c0-2.21-1.79-4-4-4s-4 1.79-4 4v10c0 1.1-.9 2-2 2s-2-.9-2-2V8.82C8.16 8.4 9 7.3 9 6c0-1.66-1.34-3-3-3S3 4.34 3 6c0 1.3.84 2.4 2 2.82V17c0 2.21 1.79 4 4 4s4-1.79 4-4V7c0-1.1.9-2 2-2s2 .9 2 2v8.18A2.996 2.996 0 0 0 18 21c1.66 0 3-1.34 3-3 0-1.3-.84-2.4-2-2.82ZM6 7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1Zm12 12c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1Z"}))}function ME(e){var n=e.children,r=e.label,o=e.helpText;return t.createElement(jE,null,t.createElement(ym.Label,null,r),n,t.createElement(ym.HelperText,null,o))}var jE=ql(ym.Group).withConfig({displayName:"FormGroup",componentId:"sc-uzgeip-0"})(["height:fit-content;"]),HE={transformation:null,group:null,label:"Select a transform"},UE=[{label:"Background",transformation:"background",group:"transform"},{label:"Border",transformation:"border",group:"transform"},{label:"Crop",transformation:"crop",group:"transform",description:"Extracts a region of the specified dimensions from the original image without first resizing it."},{label:"Remove Background",transformation:"removebg",group:"transform",description:"We will use the available clipping path information to mask the image, and remove the background."},{label:"Extend",transformation:"extend",group:"transform",description:"Resizes the image to fit inside the bounding box specified by the dimensions, maintaining the aspect ratio, and extends the canvas if the resized image does not fill the whole area."},{label:"Fill",transformation:"fill",group:"transform",description:"Resizes the image to fill the specified dimensions without distortion. The image may be cropped as a result."},{label:"Fit",transformation:"fit",group:"transform",description:"Resizes the image to fit inside the bounding box specified by the dimensions, maintaining the aspect ratio."},{label:"Flip",transformation:"flip",group:"transform"},{label:"Mirror",transformation:"mirror",group:"transform"},{label:"Rotate",transformation:"rotate",group:"transform"},{label:"Scale",transformation:"scale",group:"transform",description:"Resizes the image to the specified dimensions without necessarily retaining the original aspect ratio."},{label:"Trim",transformation:"trim",group:"transform",description:"Removes any transparent or white colored areas at the edges of an image."},{label:"Text overlay",transformation:"text",group:"overlay"},{label:"Opacity",transformation:"opacity",group:"filter"},{label:"Sepia",transformation:"sepia",group:"filter"},{label:"Contrast",transformation:"contrast",group:"filter"},{label:"Brightness",transformation:"brightness",group:"filter"},{label:"Grayscale",transformation:"grayscale",group:"filter"},{label:"Blur",transformation:"blur",group:"filter"},{label:"Sharpness",transformation:"sharpness",group:"filter"},{label:"Saturation",transformation:"saturation",group:"filter"}];function VE(e){var n,r=UE.find((function(t){return t.transformation===e.transformation}))||HE;return t.createElement(ME,{label:"Transformation",helpText:null!==(n=r.description)&&void 0!==n?n:""},t.createElement(kg,{onChange:function(t){var n=UE.find((function(e){return e.transformation===t})).group;e.onChange({group:n,transformation:t})},label:r.label,value:r.transformation,icon:t.createElement(AE,{type:r.transformation})},t.createElement(kg.SectionTitle,null,"Transforms"),UE.filter((function(e){return"transform"===e.group})).map((function(e){return t.createElement(kg.Item,{value:e.transformation,key:e.transformation,icon:t.createElement(AE,{type:e.transformation})},e.label)})),t.createElement(kg.Divider,null),t.createElement(kg.SectionTitle,null,"Filters"),UE.filter((function(e){return"filter"===e.group})).map((function(e){return t.createElement(kg.Item,{value:e.transformation,key:e.transformation,icon:t.createElement(AE,{type:e.transformation})},e.label)})),t.createElement(kg.Divider,null),t.createElement(kg.SectionTitle,null,"Overlay"),UE.filter((function(e){return"overlay"===e.group})).map((function(e){return t.createElement(kg.Item,{value:e.transformation,key:e.transformation,icon:t.createElement(AE,{type:e.transformation})},e.label)}))))}var $E=function(e){return"number"==typeof e&&!isNaN(e)},WE=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;if(!$E(e))return 0;var n=Math.abs(e),r=Math.trunc(n);return r<=t?r:t},GE=function(e){return e&&e>0?e.toString():""};function qE(e){var n=e.id,o=e.height,i=void 0===o?0:o,a=e.width,c=void 0===a?0:a,l=e.showLock,s=void 0!==l&&l,u=e.onDispatch,d=Rx(r(!1),2),p=d[0],f=d[1],m=Rx(r(1),2),h=m[0],g=m[1],v=t.createElement(KE,null,p?t.createElement(Rs,null):t.createElement(As,null)),y=GE(c),b=GE(i);return t.createElement(ME,{label:"Dimensions"},t.createElement(YE,null,t.createElement(XE,null,t.createElement(Rm,{"aria-label":"Dimensions width",placeholder:"1000",icon:t.createElement(ZE,null,"W"),value:y,onChange:function(e){var t=parseInt(e,10),r=WE(t,9e3);u({type:"width",payload:{value:r,id:n}}),p?u({type:"height",payload:{value:r/h,id:n}}):g(i&&r?r/i:1)},iconRight:t.createElement("span",null,"px")})),s?t.createElement(ef,{variant:"clean",onClick:function(){f((function(e){return!e}))},icon:v,title:"Lock ratio"}):t.createElement(JE,null),t.createElement(XE,null,t.createElement(Rm,{"aria-label":"Dimensions height",placeholder:"1000",icon:t.createElement(ZE,null,"H"),value:b,onChange:function(e){var t=parseInt(e,10),r=WE(t,9e3);u({type:"height",payload:{value:r,id:n}}),p?u({type:"width",payload:{value:r*h,id:n}}):g(c&&r?c/r:1)},iconRight:t.createElement("span",null,"px")}))))}var YE=ql.div.withConfig({displayName:"SpaceBetween",componentId:"sc-zla2g2-0"})(["display:flex;align-items:center;justify-content:space-between;"]),KE=ql.div.withConfig({displayName:"IconContainer",componentId:"sc-zla2g2-1"})(["color:",";"],Dp.gray400a),XE=ql.div.withConfig({displayName:"FlexInput",componentId:"sc-zla2g2-2"})(["min-width:0;"]),ZE=ql.div.withConfig({displayName:"IconText",componentId:"sc-zla2g2-3"})(["display:flex;justify-content:center;width:",";"],Dp.spacing6),JE=ql.div.withConfig({displayName:"Space",componentId:"sc-zla2g2-4"})(["width:",";"],Dp.spacing4);function QE(e){var n=e.onChange,r=e.value,o=void 0===r?0:r,i=e.label,a=e.min,c=e.max;return t.createElement(ME,{label:i},t.createElement(Lg,{value:o,onChange:n,min:a,max:c,inputPosition:"right"}))}function eC(e){return t.createElement(Gh,Px({},e),t.createElement("path",{d:"M3 3H5V19H21V21H3V3Z",fill:"#334E5C"}),t.createElement("path",{d:"M7 5C13.6274 5 19 10.3726 19 17H17C17 11.4772 12.5228 7 7 7V5Z",fill:"#334E5C"}))}function tC(e){var n=e.io,r=e.onDispatch;return t.createElement(ME,{label:"Angle"},t.createElement(Rm,{type:"number",placeholder:"0",onChange:function(e){return r({type:"angle",payload:{value:parseInt(e,10),id:n.id}})},value:n.angle?n.angle.toString():"",icon:t.createElement(eC,null),iconRight:t.createElement("span",null,"°")}))}function nC(e){return t.createElement(Gh,Px({},e),t.createElement("path",{d:"M8 19L8 21H16V19H13L13 5L16 5V3L8 3L8 5H11L11 19H8Z"}))}function rC(e){return t.createElement(Gh,Px({},e),t.createElement("path",{d:"M5 8H3V16H5V13H19V16H21V8H19V11H5V8Z"}))}var oC=[{value:"top",label:"Top"},{value:"center",label:"Center"},{value:"bottom",label:"Bottom"}],iC=[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}];function aC(e){var n=e.label,o=e.gravity,i=e.onChange,a=Rx(r(iC[1]),2),c=a[0],l=a[1],s=Rx(r(oC[1]),2),u=s[0],d=s[1],p=function(e){switch(i(e),e){case"topleft":d(oC.find((function(e){return"top"===e.value}))),l(iC.find((function(e){return"left"===e.value})));break;case"top":d(oC.find((function(e){return"top"===e.value}))),l(iC.find((function(e){return"center"===e.value})));break;case"topright":d(oC.find((function(e){return"top"===e.value}))),l(iC.find((function(e){return"right"===e.value})));break;case"left":d(oC.find((function(e){return"center"===e.value}))),l(iC.find((function(e){return"left"===e.value})));break;case"center":d(oC.find((function(e){return"center"===e.value}))),l(iC.find((function(e){return"center"===e.value})));break;case"right":d(oC.find((function(e){return"center"===e.value}))),l(iC.find((function(e){return"right"===e.value})));break;case"bottomleft":d(oC.find((function(e){return"bottom"===e.value}))),l(iC.find((function(e){return"left"===e.value})));break;case"bottom":d(oC.find((function(e){return"bottom"===e.value}))),l(iC.find((function(e){return"center"===e.value})));break;case"bottomright":d(oC.find((function(e){return"bottom"===e.value}))),l(iC.find((function(e){return"right"===e.value})))}};return t.createElement(ME,{label:n},t.createElement(pf,null,t.createElement(cC,{alignItems:"center",justifyContent:"space-between",wrap:"wrap"},t.createElement(lC,{isSelected:"topleft"===o,onClick:function(){return p("topleft")}}),t.createElement(lC,{isSelected:"top"===o,onClick:function(){return p("top")}}),t.createElement(lC,{isSelected:"topright"===o,onClick:function(){return p("topright")}}),t.createElement(lC,{isSelected:"left"===o,onClick:function(){return p("left")}}),t.createElement(lC,{isSelected:"center"===o,onClick:function(){return p("center")}}),t.createElement(lC,{isSelected:"right"===o,onClick:function(){return p("right")}}),t.createElement(lC,{isSelected:"bottomleft"===o,onClick:function(){return p("bottomleft")}}),t.createElement(lC,{isSelected:"bottom"===o,onClick:function(){return p("bottom")}}),t.createElement(lC,{isSelected:"bottomright"===o,onClick:function(){return p("bottomright")}})),t.createElement(pf,{direction:"column",justifyContent:"space-around"},t.createElement(kg,{onChange:function(e){switch(l(iC.find((function(t){return t.value===e}))),e){case"left":"top"===u.value&&i("topleft"),"center"===u.value&&i("left"),"bottom"===u.value&&i("bottomleft");break;case"center":"top"===u.value&&i("top"),"center"===u.value&&i("center"),"bottom"===u.value&&i("bottom");break;case"right":"top"===u.value&&i("topright"),"center"===u.value&&i("right"),"bottom"===u.value&&i("bottomright")}},value:c.value,label:c.label,icon:t.createElement(rC,null)},iC.map((function(e){return t.createElement(kg.Item,{value:e.value,key:e.value},e.label)}))),t.createElement(kg,{onChange:function(e){switch(d(oC.find((function(t){return t.value===e}))),e){case"top":"left"===c.value&&i("topleft"),"center"===c.value&&i("top"),"right"===c.value&&i("topright");break;case"center":"left"===c.value&&i("left"),"center"===c.value&&i("center"),"right"===c.value&&i("right");break;case"bottom":"left"===c.value&&i("bottomleft"),"center"===c.value&&i("bottom"),"right"===c.value&&i("bottomright")}},value:u.value,label:u.label,icon:t.createElement(nC,null)},oC.map((function(e){return t.createElement(kg.Item,{value:e.value,key:e.value},e.label)}))))))}var cC=ql(pf).withConfig({displayName:"Container",componentId:"sc-ci11hg-0"})(["width:150px;height:92px;padding:5px;margin-right:",";background:",";border:1px solid ",";box-sizing:border-box;border-radius:",";"],Dp.spacing5,Dp.gray25,Dp.gray100a,Dp.radiusMedium),lC=ql.div.withConfig({displayName:"Spot",componentId:"sc-ci11hg-1"})(["width:24px;height:24px;background:",";border:1px solid ",";box-sizing:border-box;border-radius:",";&:hover{background-color:",";cursor:pointer;}",""],Dp.gray10,Dp.gray100a,Dp.radiusSmall,Dp.gray25a,(function(e){return e.isSelected&&Tl(["border:2px solid ",";background:",";"],Dp.blue500,Dp.blue100)}));function sC(e){var n=e.color,o=e.label,i=e.onChangeValidation,a=e.onChange,c=Rx(r(!0),2),l=c[0],s=c[1],u=function(e){s(e),i(e)};return t.createElement(ME,{label:o},t.createElement(pf,null,t.createElement(uC,null,t.createElement(Rm,{value:n,icon:t.createElement("span",null,"#"),onChange:function(e){var t=function(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return t+t+n+n+r+r})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!n)return"";var r=parseInt(n[1],16).toString(),o=parseInt(n[2],16).toString(),i=parseInt(n[3],16).toString();return"(".concat(r,", ").concat(o,", ").concat(i,")")}(e);t?(a(e),u(!0)):(a(null),u(!1))}}),!l&&t.createElement(ym.HelperText,{isInvalid:!l},"Please type a valid hex value")),t.createElement(dC,null,t.createElement(Rm,{type:"number",placeholder:"100",onChange:null,value:null,iconRight:t.createElement("span",null,"%"),isDisabled:!0}))))}var uC=ql.div.withConfig({displayName:"FlexInputColor",componentId:"sc-1b7ygj6-0"})(["min-width:0;margin-right:",";"],Dp.spacing4),dC=ql.div.withConfig({displayName:"FlexInput",componentId:"sc-1b7ygj6-1"})(["min-width:0;"]),pC=["Arial"],fC=["Regular"];function mC(e){var n,r,o=e.io,i=e.onDispatch;return t.createElement(t.Fragment,null,t.createElement(ME,{label:"Text"},t.createElement(Vg,{value:o.content,onChange:function(e){return i({type:"content",payload:{value:e,id:o.id}})}})),t.createElement(ME,{label:"Font"},t.createElement(kg,{value:o.font,label:o.font,onChange:function(e){return i({type:"font",payload:{value:e,id:o.id}})}},pC.map((function(e){return t.createElement(kg.Item,{value:e,key:e},e)})))),t.createElement(ME,{label:""},t.createElement(pf,null,t.createElement(hC,null,t.createElement(kg,{value:o.fontType,label:o.fontType,onChange:function(e){return i({type:"fontType",payload:{value:e,id:o.id}})},isDisabled:!0},fC.map((function(e){return t.createElement(kg.Item,{value:e,key:e},e)})))),t.createElement(gC,null,t.createElement(Rm,{type:"number",value:null===(n=o.size)||void 0===n?void 0:n.toString(),iconRight:t.createElement("span",null,"px"),onChange:function(e){return i({type:"size",payload:{value:parseInt(e,10),id:o.id}})}})))),t.createElement(sC,{label:"Text color",onChange:function(e){return i({type:"color",payload:{value:e,id:o.id}})},onChangeValidation:function(e){return i({type:"isValid",payload:e})},color:o.color}),t.createElement(aC,{label:"Position",gravity:o.gravity,onChange:function(e){return i({type:"gravity",payload:{value:e,id:o.id}})}}),t.createElement(ME,{label:"Padding"},t.createElement(Rm,{type:"number",value:null===(r=o.padding)||void 0===r?void 0:r.toString(),iconRight:t.createElement("span",null,"px"),onChange:function(e){return i({type:"padding",payload:{value:parseInt(e,10),id:o.id}})}})),t.createElement(tC,{io:o,onDispatch:i}))}var hC=ql.div.withConfig({displayName:"FontTypeContainer",componentId:"sc-1w95sy3-0"})(["width:210px;margin-right:",";"],Dp.spacing4),gC=ql.div.withConfig({displayName:"FontSizeContainer",componentId:"sc-1w95sy3-1"})(["width:76px;"]);function vC(e){var n=e.io,r=e.onDispatch;return t.createElement(t.Fragment,null,t.createElement(qE,{width:n.width,height:n.height,onDispatch:r,id:n.id}),t.createElement(sC,{label:"Background",onChange:function(e){return r({type:"background",payload:{value:e,id:n.id}})},onChangeValidation:function(e){return r({type:"isValid",payload:e})},color:n.background}))}var yC=[{label:"Rectangle",path:"square",icon:t.createElement(pu,null)},{label:"Ellipse",path:"circle",icon:t.createElement(gu,null)}],bC=[{label:"Clipping Path",path:"clippingpath",icon:t.createElement(LE,null)}];function wC(e){var n,r=e.onChange,o=e.shape,i=null!==(n=yC.find((function(e){return e.path===o})))&&void 0!==n?n:bC.find((function(e){return e.path===o}));return t.createElement(ME,{label:"Path"},t.createElement(kg,Px({onChange:r,value:o},i),yC.map((function(e){return t.createElement(kg.Item,{value:e.path,key:e.path,icon:e.icon},e.label)})),t.createElement(kg.Divider,null),bC.map((function(e){return t.createElement(kg.Item,{value:e.path,key:e.path,icon:e.icon},e.label)}))))}var xC=[{label:"Focus point",focus:"point",icon:t.createElement(su,null)},{label:"Gravity",focus:"gravity",icon:t.createElement(cw,null)}];function EC(e){var n=e.gravity,o=e.onChangeGravity,i=Rx(r(!1),2),c=i[0],l=i[1],s=Rx(r(null),2),u=s[0],d=s[1];a((function(){u||(n?f():p())}),[n,u]);var p=function(){var e=xC.find((function(e){return"point"===e.focus}));d(e)},f=function(){var e=xC.find((function(e){return"gravity"===e.focus}));d(e)};return t.createElement(t.Fragment,null,t.createElement(ME,{label:"Focus",helpText:"gravity"===(null==u?void 0:u.focus)?"Select the direction from where the transformation is being applied.":"Uses the predefined focus point of the asset."},t.createElement(kg,Px(Px({onChange:function(e){var t="gravity"===e,n=xC.find((function(t){return t.focus===e}));d(n),l(t),o(t?"center":null)}},u),{},{value:null==u?void 0:u.focus}),xC.map((function(e){return t.createElement(t.Fragment,{key:e.focus},"gravity"===e.focus?t.createElement(kg.Divider,null):null,t.createElement(kg.Item,{value:e.focus,icon:e.icon},e.label))})))),c&&t.createElement(aC,{label:"Gravity",gravity:n,onChange:o}))}function CC(e){var n=e.io,r=e.onDispatch;return t.createElement(t.Fragment,null,t.createElement(wC,{shape:n.path,onChange:function(e){return r({type:"path",payload:{value:e,id:n.id}})}}),"clippingpath"!==n.path&&t.createElement(t.Fragment,null,t.createElement(qE,{width:n.width,height:n.height,onDispatch:r,id:n.id}),t.createElement(EC,{onChangeGravity:function(e){r({type:"gravity",payload:{value:e,id:n.id}})},gravity:n.gravity})),"circle"===n.path&&t.createElement(QE,{label:"Blur",value:n.blur,min:0,max:100,onChange:function(e){return r({type:"blur",payload:{value:e,id:n.id}})}}))}function kC(e){return t.createElement(Gh,Px({},e),t.createElement("path",{d:"M4 5H20V7H4V5Z",fill:"#334E5C"}),t.createElement("path",{d:"M4 9H20V12H4V9Z",fill:"#334E5C"}),t.createElement("path",{d:"M20 14H4V19H20V14Z",fill:"#334E5C"}))}function SC(e){var n=e.io,r=e.onDispatch,o=GE(n.width);return t.createElement(t.Fragment,null,t.createElement(sC,{label:"Color",onChange:function(e){return r({type:"color",payload:{value:e,id:n.id}})},onChangeValidation:function(e){return r({type:"isValid",payload:e})},color:n.color}),t.createElement(ME,{label:"Border"},t.createElement(pf,null,t.createElement(_C,null,t.createElement(Rm,{placeholder:"1",onChange:function(e){var t=parseInt(e,10),o=WE(t,500);r({type:"width",payload:{value:o,id:n.id}})},value:o,icon:t.createElement(kC,null),iconRight:t.createElement("span",null,"px")})),t.createElement(IC,null,t.createElement(Rm,{placeholder:"Outside",onChange:null,value:null,iconRight:t.createElement(Eu,null),isDisabled:!0})))))}var _C=ql.div.withConfig({displayName:"FlexInputColor",componentId:"sc-qgnlb2-0"})(["min-width:0;margin-right:",";"],Dp.spacing4),IC=ql.div.withConfig({displayName:"FlexInput",componentId:"sc-qgnlb2-1"})(["min-width:0;"]);function BC(e){var n=e.io,r=e.onDispatch;return t.createElement(t.Fragment,null,t.createElement(qE,{width:n.width,height:n.height,onDispatch:r,id:n.id}),t.createElement(EC,{onChangeGravity:function(e){r({type:"gravity",payload:{value:e,id:n.id}})},gravity:n.gravity}))}function TC(e){var n=e.onDispatch,r=e.io;return t.createElement(QE,{label:OE(r.filter),min:-100,max:100,value:r.amount,onChange:function(e){return n({type:"amount",payload:{value:e,id:r.id}})}})}function NC(e){var n=e.onDispatch,r=e.io;return t.createElement(QE,{label:"Blur",min:0,max:100,value:r.radius,onChange:function(e){return n({type:"radius",payload:{value:e,id:r.id}})}})}function zC(e){var n=e.io,r=e.onDispatch;return t.createElement(sC,{label:"Color",onChange:function(e){r({type:"color",payload:{value:e,id:n.id}})},onChangeValidation:function(e){r({type:"isValid",payload:e})},color:n.color})}function DC(e){var n=e.io,r=e.onDispatch,o=GE(n.padding);return t.createElement(ME,{label:"Padding"},t.createElement(pf,null,t.createElement(PC,null,t.createElement(Rm,{placeholder:"1",onChange:function(e){var t=parseInt(e,10),o=WE(t,3e3);r({type:"padding",payload:{value:o,id:n.id}})},value:o,icon:t.createElement(kC,null),iconRight:t.createElement("span",null,"px")}))))}var PC=ql.div.withConfig({displayName:"FlexInputColor",componentId:"sc-13pc6c3-0"})(["min-width:0;margin-right:",";"],Dp.spacing4);function OC(e){var n=e.io,r=e.onDispatch,o=["contrast","brightness","sharpness","saturation"].includes(n.filter),i=n.transform||n.overlay||n.filter;return t.createElement(t.Fragment,null,t.createElement(VE,{transformation:i,onChange:function(e){return r({type:"transformation",payload:{group:e.group,value:e.transformation,id:n.id}})}}),("fit"===n.transform||"scale"===n.transform)&&t.createElement(qE,{width:n.width,height:n.height,onDispatch:r,id:n.id}),"fill"===n.transform&&t.createElement(BC,{io:n,onDispatch:r}),"background"===n.transform&&t.createElement(zC,{io:n,onDispatch:r}),"rotate"===n.transform&&t.createElement(tC,{io:n,onDispatch:r}),"border"===n.transform&&t.createElement(SC,{io:n,onDispatch:r}),"extend"===n.transform&&t.createElement(vC,{io:n,onDispatch:r}),"crop"===n.transform&&t.createElement(CC,{io:n,onDispatch:r}),"trim"===n.transform&&t.createElement(DC,{io:n,onDispatch:r}),"text"===n.overlay&&t.createElement(mC,{io:n,onDispatch:r}),"blur"===n.filter&&t.createElement(NC,{io:n,onDispatch:r}),"opacity"===n.filter&&t.createElement(TC,{io:n,onDispatch:r}),o&&t.createElement(QE,{label:OE(n.filter),min:-100,max:100,value:n.amount,onChange:function(e){return r({type:"amount",payload:{value:e,id:n.id}})}}))}var AC=[{label:"Auto (recomended)",value:""},{label:"WebP",value:"webp"},{label:"JPG",value:"jpg"},{label:"PNG",value:"png"},{label:"AVIF",value:"avif"}],RC=[{label:"Very High",value:"95"},{label:"High",value:"85"},{label:"Medium (Auto)",value:"75"},{label:"Low",value:"65"}];function FC(e){var n,r,o=e.options,i=e.onDispatch,a=(null===(n=AC.find((function(e){return e.value===o.format})))||void 0===n?void 0:n.label)||"Select Format",c=(null===(r=RC.find((function(e){return e.value===String(o.quality)})))||void 0===r?void 0:r.label)||"Select Quality";return t.createElement(t.Fragment,null,t.createElement(ME,{label:"Format",helpText:"Set the output format"},t.createElement(kg,{onChange:function(e){return i({type:"format",payload:e})},label:a,value:o.format},AC.map((function(e){return t.createElement(kg.Item,{value:e.value,key:e.value},e.label)})))),t.createElement(ME,{label:"Quality"},t.createElement(kg,{onChange:function(e){return i({type:"quality",payload:Number(e)})},label:c,value:String(o.quality)},RC.map((function(e){return t.createElement(kg.Item,{value:e.value,key:e.label},e.label)})))))}var LC=function(e){var n=e.preset,o=e.onDispatch,i=Rx(r([]),2),a=i[0],c=i[1],l=Rx(r(!1),2),s=l[0],u=l[1];return t.createElement(jh,null,n.content.io.map((function(e){var n=a.includes(e.id),r=e.transform||e.overlay||e.filter,i=OE(r)||"New transformation",l=MC(e);return t.createElement(t.Fragment,{key:e.id},t.createElement(jh.Item,{subtext:l,thumbnail:t.createElement(_h,{variant:"clean",icon:t.createElement(AE,{type:r}),shape:"square"}),rightElements:t.createElement(jC,{isExpanded:n,onDeleteClick:function(t){return function(e,t){e.stopPropagation(),o({type:"deleteTransformation",payload:{id:t}})}(t,e.id)}}),onClick:function(){return function(e){a.includes(e)?c((function(t){return t.filter((function(t){return t!==e}))})):c((function(t){return[].concat(Fx(t),[e])}))}(e.id)}},i),n&&t.createElement(OC,{io:e,onDispatch:o,key:"".concat(e.id,"-transformation")}),t.createElement(jh.Divider,{key:"".concat(e.id,"-divider")}))})),t.createElement(jh.Item,{key:"add-button",onClick:function(){var e=aw();o({type:"addTransformation",payload:{id:e}}),c((function(t){return[].concat(Fx(t),[e])}))},thumbnail:t.createElement(_h,{icon:t.createElement(qs,null),shape:"square"})},"Add transformation"),t.createElement(jh.Divider,{key:"add-button-divider"}),t.createElement(jh.Item,{key:"advanced-button",subtext:"Format: ".concat(n.content.format.toUpperCase()||"Auto"," • Quality: ").concat(n.content.quality),thumbnail:t.createElement(_h,{variant:"clean",icon:t.createElement(AE,{type:"advanced"}),shape:"square"}),rightElements:s?t.createElement(Bu,null):t.createElement(Tu,null),onClick:function(){u(!s)}},"Output options"),s&&t.createElement(FC,{options:n.content,onDispatch:o,key:"advanced-options"}))},MC=function(e){var t="Focus Point";e.gravity&&(t=OE(e.gravity));var n=e.width&&e.height?"".concat(e.width," × ").concat(e.height," px "):"",r=t?"Focus: ".concat(t):"",o=e.color?"Color: #".concat(e.color):"",i=e.background?"Background: #".concat(e.background):"",a=e.path?"Shape: ".concat(e.path):"",c=e.blur?"Blur: ".concat(e.blur):"",l=e.amount?"Amount: ".concat(e.amount):"";switch(e.transform||e.filter){case"fill":return"".concat(n," ").concat(r&&n&&"• "+r);case"background":return o;case"border":return"".concat(o," • Width: ").concat(e.width,"px");case"crop":return"".concat(n," • ").concat(a," ").concat(i&&"• "+i," ").concat(c&&"• "+c);case"extend":return"".concat(n," ").concat(i&&"• "+i);case"fit":case"scale":return n;case"flip":return"Flip vertically";case"mirror":return"Flip horizontally";case"rotate":return"Angle: ".concat(e.angle||0,"°");case"opacity":case"contrast":case"brightness":case"blur":case"sharpness":case"saturation":return l;default:return""}},jC=function(e){var n=e.isExpanded,r=e.onDeleteClick;return t.createElement(pf,{alignItems:"center"},t.createElement(Sf,{content:"Remove transformation"},t.createElement(ef,{variant:"clean",icon:t.createElement(Ns,{fill:Dp.gray400a,onClick:r}),"aria-label":"Delete"})),n?t.createElement(Bu,null):t.createElement(Tu,null))};function HC(e){var n,r,o,i=e.preset,a=e.onDispatch,c=null!==(n=null===(r=i.content)||void 0===r||null===(o=r.io)||void 0===o?void 0:o.length)&&void 0!==n?n:0;return t.createElement(t.Fragment,null,t.createElement(VC,null,t.createElement(WC,null,"Transformations"),t.createElement(GC,null,1===c?"".concat(c," transformation applied"):c>1?"".concat(c," transformations applied"):"No transformations")),t.createElement($C,null,t.createElement(LC,{preset:i,onDispatch:a})))}var UC,VC=ql.div.withConfig({displayName:"TitleContainer",componentId:"sc-tlsynt-0"})(["padding-top:",";background-color:",";padding-bottom:",";position:absolute;width:100%;z-index:1;"],Dp.spacing6,Dp.white,Dp.spacing4),$C=ql.div.withConfig({displayName:"ListContainer",componentId:"sc-tlsynt-1"})(["margin-top:",";"],"76px"),WC=ql.div.withConfig({displayName:"Title",componentId:"sc-tlsynt-2"})(["font-size:16px;line-height:20px;color:",";"],Dp.gray800),GC=ql.div.withConfig({displayName:"SubTitle",componentId:"sc-tlsynt-3"})(["font-size:14px;line-height:20px;color:",";"],Dp.gray600);!function(e){e[e.transformations=0]="transformations",e[e.presets=1]="presets"}(UC||(UC={}));var qC=function(){return t.createElement(KC,null,t.createElement(ZC,null),t.createElement(JC,null,t.createElement(QC,{large:!0}),t.createElement(QC,null)))},YC=function(){return t.createElement(ek,null)},KC=ql.div.withConfig({displayName:"LoaderContainer",componentId:"sc-1vpf7m8-0"})(["display:flex;align-items:center;padding:12px;"]),XC=Gl(["0%{background-color:","}100%{background-color:","}"],Dp.gray50a,Dp.gray100a),ZC=ql.div.withConfig({displayName:"ThumbnailLoader",componentId:"sc-1vpf7m8-1"})(["width:50px;height:50px;border-radius:4px;animation:"," 1s linear infinite alternate;"],XC),JC=ql.div.withConfig({displayName:"ContentLoader",componentId:"sc-1vpf7m8-2"})(["display:flex;flex-direction:column;height:100%;margin-left:",";"],Dp.spacing4),QC=ql.div.withConfig({displayName:"Content",componentId:"sc-1vpf7m8-3"})(["height:10px;margin-bottom:",";width:",";border-radius:",";animation:"," 1s linear infinite alternate;"],Dp.spacing3,(function(e){return e.large?"110px":"60px"}),Dp.radiusSmall,XC),ek=ql.div.withConfig({displayName:"LoadImageSkeleton",componentId:"sc-1vpf7m8-4"})(["width:240px;height:320px;animation:"," 1s linear infinite alternate;"],XC),tk=function(e){var n=e.onPresetSelected,r=e.activeTab,o=e.presets,i=e.preset,c=e.dispatch,l=e.selectedPreset,s=e.isLoading,u=e.baseURL,d=e.canViewPresets,p=e.canViewTransformations;return a((function(){var e,t;r!==UC.transformations||null!=i&&null!==(e=i.content)&&void 0!==e&&null!==(t=e.io)&&void 0!==t&&t.length||c({type:"init"})}),[r,c,i]),t.createElement(nk,{direction:"column"},r===UC.presets?d?s?t.createElement(t.Fragment,null,Array.from(Array(5).keys()).map((function(e){return t.createElement(qC,{key:"preset-skeleton-".concat(e)})}))):t.createElement(PE,{baseURL:u,presets:o,onPresetSelected:n,selectedPreset:l}):null:p?t.createElement(rk,null,t.createElement(HC,{preset:i,onDispatch:c})):null)},nk=ql(pf).withConfig({displayName:"SidebarContainer",componentId:"sc-n1gktg-0"})(["width:336px;overflow-y:auto;overflow-x:hidden;background:",";flex:none;box-shadow:-1px 0px 0px rgba(0,34,51,0.1);height:100%;"],Dp.white),rk=ql.div.withConfig({displayName:"TransformationsContainer",componentId:"sc-n1gktg-1"})(["padding:0 ",";"],Dp.spacing6);function ok(e){var n=e.url,r=c(null);return l((function(){r.current.scrollLeft=r.current.scrollWidth}),[n]),t.createElement(ik,null,t.createElement(ak,null,t.createElement(ck,null,t.createElement(zu,null)),t.createElement(lk,{ref:r,onClick:function(){window.open(n,"_blank").focus()}},t.createElement(uk,null,n))),t.createElement(sk,null,t.createElement(Sf,{content:"Copy URL"},t.createElement(iw.CopyToClipboard,{text:n,onCopy:function(){wg({title:"Link copied to the clipboard",variant:"success"})}},t.createElement(ef,{variant:"clean",icon:t.createElement(Zs,null),"aria-label":"Copy to clipboard"}))),t.createElement(bE,{alwaysVisible:!0,presetURL:n})))}var ik=ql.div.withConfig({displayName:"Container",componentId:"sc-ucc5ld-0"})(["height:50px;background-color:",";border-radius:",";display:flex;align-items:center;justify-content:space-between;box-shadow:",";min-width:0;min-height:0;"],Dp.white,Dp.radiusLarge,Dp.elevationStatic),ak=ql.div.withConfig({displayName:"SideContainer",componentId:"sc-ucc5ld-1"})(["display:flex;align-items:center;min-width:0;min-height:0;"]),ck=ql.div.withConfig({displayName:"PublicIconContainer",componentId:"sc-ucc5ld-2"})(["margin-left:",";margin-right:",";fill:",";"],Dp.spacing5,Dp.spacing4,Dp.gray600),lk=ql.div.withConfig({displayName:"LinkContainer",componentId:"sc-ucc5ld-3"})(["color:",";font-size:",";cursor:pointer;overflow:scroll;white-space:nowrap;width:100%;height:100%;display:flex;&::-webkit-scrollbar{display:none;}-ms-overflow-style:none;scrollbar-width:none;"],Dp.gray800,Dp.fontSize100),sk=ql.div.withConfig({displayName:"ButtonsContainer",componentId:"sc-ucc5ld-4"})(["display:flex;width:100px;padding-right:",";"],Dp.spacing2),uk=ql.span.withConfig({displayName:"Link",componentId:"sc-ucc5ld-5"})(["display:flex;align-items:center;justify-content:center;height:100%;"]);function dk(e){var n=e.url,i=e.canViewTransformations,c=e.hideBottomBar,l=e.activeTab,s=e.onBack,u=e.onDone,d=e.onApply,p=e.onShowTransformations,f=e.hasActiveChanges,m=Rx(r(!0),2),h=m[0],g=m[1],v=o((function(){return function(e){if(!e)return"";var t=new URL(e);return t.searchParams.set("".concat(Date.now()),""),t.toString()}(n)}),[n]);return a((function(){g(!0)}),[n]),t.createElement(vk,null,t.createElement(yk,{justifyContent:"space-between",alignItems:"center"},t.createElement(bk,null,t.createElement(ef,{variant:"clean",icon:t.createElement(au,null),"aria-label":"Go back",onClick:s})),l===UC.presets&&i&&t.createElement(Ck,{variant:"clean",onClick:p,icon:t.createElement(RE,null)},"Transform"),l===UC.transformations&&("function"==typeof d&&f?t.createElement(wk,null,t.createElement(Ck,{variant:"primary",onClick:d},"Apply transformations")):t.createElement(Ck,{variant:"primary",onClick:u},"Done"))),t.createElement(Ek,{hideBottomBar:c},n&&t.createElement(gk,{src:v,alt:"",isImageLoading:h,onLoad:function(){g(!1)}}),h&&t.createElement(YC,null)),!c&&t.createElement(xk,null,t.createElement(ok,{url:n})))}var pk,fk,mk,hk,gk=ql.img.withConfig({displayName:"Image",componentId:"sc-dpw9jp-0"})(["display:",";max-width:100%;max-height:100%;background:",";"],(function(e){return e.isImageLoading?"none":"block"}),"repeating-conic-gradient(".concat(Dp.gray100a," 0% 25%, transparent 0% 50%) 50% / 14px 14px")),vk=ql.div.withConfig({displayName:"Container",componentId:"sc-dpw9jp-1"})(["display:flex;flex-direction:column;width:100%;height:100%;min-height:0;min-width:0;"]),yk=ql(pf).withConfig({displayName:"TopbarContainer",componentId:"sc-dpw9jp-2"})(["height:90px;width:100%;"]),bk=ql.div.withConfig({displayName:"ButtonBackContainer",componentId:"sc-dpw9jp-3"})(["margin-left:",";"],Dp.layoutSpacing1),wk=ql.div.withConfig({displayName:"TransformationButtonContainer",componentId:"sc-dpw9jp-4"})(["display:flex;gap:",";"],Dp.spacing4),xk=ql.div.withConfig({displayName:"BottomContainer",componentId:"sc-dpw9jp-5"})(["padding:",";"],Dp.spacing5),Ek=ql.div.withConfig({displayName:"ImageWrapper",componentId:"sc-dpw9jp-6"})(["display:flex;justify-content:center;align-items:center;flex:1;min-height:0;position:relative;",";"],(function(e){return e.hideBottomBar&&Tl(["margin-bottom:",";"],Dp.spacing8)})),Ck=ql(ef).withConfig({displayName:"TransformButton",componentId:"sc-dpw9jp-7"})(["float:right;margin-right:",";"],Dp.layoutSpacing1),kk=function(e){return e.data},Sk=function(e){if(e.response){var t=e.response.data;if(null!=t&&t.error)throw t.error;throw t}if(e.request)throw new Error("Server is not responding, please try again");throw e.message},_k=null===(pk=document.querySelector('meta[name="x-csrf-token"]'))||void 0===pk?void 0:pk.getAttribute("content"),Ik={"cache-control":"no-cache",pragma:"no-cache","x-csrf-token":(null===(fk=window)||void 0===fk?void 0:fk.csrf)||(null===(mk=window)||void 0===mk||null===(hk=mk.Bynder)||void 0===hk?void 0:hk.csrf_token)||_k},Bk=zx.create({headers:Ik}),Tk=function(){return"/v7/dat/presets/",Bk.get("/v7/dat/presets/",undefined).then(kk).catch(Sk)},Nk={id:"",transform:null,overlay:null,filter:null},zk={name:"",description:"",content:{format:"",quality:75,io:[]},isValid:!0};function Dk(e,t){var n,r=function(){return e.content.io.map((function(e){return Px({},e)}))};switch(t.type){case"init":return zk;case"edit":return Px(Px({isValid:!0},t.payload),{},{content:Px(Px({},t.payload.content),{},{io:t.payload.content.io.map((function(e){return Px(Px({},e),{},{id:aw()})}))})});case"addTransformation":return Px(Px({},e),{},{content:Px(Px({},e.content),{},{io:[].concat(Fx(r()),[Px(Px({},Nk),{},{id:t.payload.id,transform:"fill"})])})});case"deleteTransformation":return Px(Px({},e),{},{content:Px(Px({},e.content),{},{io:e.content.io.filter((function(e){return e.id!==t.payload.id}))})});case"isValid":case"name":case"description":return Px(Px({},e),{},(Ox(n={},t.type,t.payload),Ox(n,"content",Px(Px({},e.content),{},{io:r()})),n));case"format":case"quality":return Px(Px({},e),{},{content:Px(Px({},e.content),{},Ox({io:r()},t.type,t.payload))});case"transformation":return Px(Px({},e),{},{content:Px(Px({},e.content),{},{io:e.content.io.map((function(e){return e.id!==t.payload.id?Px({},e):Px(Px({},Pk(t.payload.value)),{},Ox({id:e.id},t.payload.group,t.payload.value))}))})});case"gravity":case"width":case"height":case"x":case"y":case"path":case"content":case"font":case"fontType":case"size":case"color":case"padding":case"angle":case"radius":case"amount":case"softness":case"background":case"blur":return Px(Px({},e),{},{content:Px(Px({},e.content),{},{io:e.content.io.map((function(e){return e.id!==t.payload.id?Px({},e):Px(Px({},e),{},Ox({},t.type,t.payload.value))}))})});default:return e}}var Pk=function(e){switch(e){case"fill":case"fit":case"extend":case"scale":return Px(Px({},Nk),{},{height:1e3,width:1e3});case"crop":return Px(Px({},Nk),{},{height:1e3,width:1e3,path:"square"});case"background":return Px(Px({},Nk),{},{color:"FFF"});case"border":return Px(Px({},Nk),{},{color:"FFF",width:1});case"rotate":return Px(Px({},Nk),{},{angle:0});case"opacity":return Px(Px({},Nk),{},{amount:100});case"blur":return Px(Px({},Nk),{},{radius:0});case"text":return Px(Px({},Nk),{},{content:"Add Text Here",font:"Arial",size:64,color:"FFF",gravity:"center",padding:20,angle:0});case"brightness":case"contrast":case"sharpness":case"saturation":return Px(Px({},Nk),{},{amount:0})}},Ok=ql.div.withConfig({displayName:"FlexContainer",componentId:"sc-inplsu-0"})(["display:flex;min-height:0;height:100%;"]);ql.div.withConfig({displayName:"NameIconContainer",componentId:"sc-i27a7s-0"})(["display:flex;min-width:0;"]),ql.div.withConfig({displayName:"DateContainer",componentId:"sc-i27a7s-1"})(["width:385px;font-size:",";color:",";"],Dp.fontSize75,Dp.gray600),ql.div.withConfig({displayName:"Name",componentId:"sc-i27a7s-2"})(["font-size:",";color:",";flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],Dp.fontSize100,Dp.gray800),ql.div.withConfig({displayName:"DescriptionContainer",componentId:"sc-i27a7s-3"})(["display:flex;flex-direction:column;flex:1;min-width:0;padding:0 ",";"],Dp.spacing4),ql.div.withConfig({displayName:"Description",componentId:"sc-i27a7s-4"})(["font-size:",";color:",";"],Dp.fontSize75,Dp.gray600),ql.div.withConfig({displayName:"Actions",componentId:"sc-i27a7s-5"})(["display:flex;margin-left:",";justify-content:end;"],Dp.spacing4),ql.tr.withConfig({displayName:"Container",componentId:"sc-i27a7s-6"})(["height:72px;&:not(:last-child){border-bottom:solid 1px ",";}"],Dp.gray50),ql.th.withConfig({displayName:"Th",componentId:"sc-945e4m-0"})(["color:",";font-size:",";"],Dp.gray800,Dp.fontSize100),ql.table.withConfig({displayName:"Table",componentId:"sc-945e4m-1"})(["width:100%;"]),ql.header.withConfig({displayName:"Header",componentId:"sc-405vyk-0"})(["position:sticky;z-index:1;top:var(--pageHeaderTopPosition);display:flex;gap:",";justify-content:space-between;align-items:center;margin-bottom:",";padding:"," ",";background:",";"],Dp.spacing4,Dp.spacing7,Dp.spacing5,Dp.spacing6,Dp.white),ql.h3.withConfig({displayName:"Title",componentId:"sc-405vyk-1"})([""," margin:0;"],df.uiTextL);function Ak(e){var n,o=e.transformBaseUrl,i=e.transformation,c=e.setTransformation,l=e.closeDat,s=La(),u=r(),d=u[0],p=u[1],f=r(),m=f[0],h=f[1];a((function(){var e=s.querySelector(".cv-root");e&&p(e)}),[s]);var v=function(e,t){e&&i&&c({url:e,preset:t,asset:i.asset}),l()},y=function(e,t){w(t)&&i?h({url:e,preset:t,asset:i.asset}):v(e,t)},b=function(){return h(void 0)},w=function(e){return e.content.io.length>0};return d?g(t.createElement(Lk,null,t.createElement(Mk,{baseURL:o,canViewPresets:!1,canViewTransformations:!0,hideBottomBar:!0,onApply:v,onDone:y,onBack:y,initialTransformations:null===(n=null==i?void 0:i.preset)||void 0===n?void 0:n.content.io}),t.createElement(ug,{isOpen:!!m,title:"Transformations not yet applied",container:d,onClose:b,actionPrimary:t.createElement(ef,{variant:"primary",onClick:function(){v(null==m?void 0:m.url,null==m?void 0:m.preset),b()}},"Apply transformations"),actionSecondary:t.createElement(ef,{variant:"secondary",onClick:b},"Cancel"),actionTertiary:t.createElement(ef,{variant:"secondary",onClick:function(){c(void 0),b(),l()}},"Discard changes")},"Transformations not yet applied. Do you want to apply transformations now, or discard changes?")),d):null}var Rk,Fk,Lk=ql.div(Rk||(Rk=_a(["\n\tbackground-color: ",";\n\tz-index: 999999;\n\toverflow: hidden;\n\tborder-radius: ",";\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: stretch;\n\tbox-shadow: 0 2px 12px 0 rgba(0, 34, 51, 0.1);\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n"],["\n\tbackground-color: ",";\n\tz-index: 999999;\n\toverflow: hidden;\n\tborder-radius: ",";\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: stretch;\n\tbox-shadow: 0 2px 12px 0 rgba(0, 34, 51, 0.1);\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n"])),Dp.white,Dp.radiusBase),Mk=ql((function(e){var n=e.baseURL,i=e.canViewPresets,l=e.canViewTransformations,s=e.hideBottomBar,u=void 0!==s&&s,d=e.initialTransformations,p=e.onDone,m=e.onApply,h=e.onBack,g=i?UC.presets:UC.transformations,v=Rx(r(n),2),y=v[0],b=v[1],w=Rx(r(g),2),x=w[0],E=w[1],C=Rx(r(""),2),k=C[0],S=C[1],_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Px(Px({},zk),{},{content:Px(Px({},zk.content),{},{io:t})}),o=Rx(r([]),2),i=o[0],l=o[1],s=Rx(r(!1),2),u=s[0],d=s[1],p=Rx(f(Dk,n),2),m=p[0],h=p[1],g=c(!0);a((function(){return e&&(d(!0),v()),function(){g.current=!1}}),[e]);var v=function(){Tk().then((function(e){g.current&&(l(e.presets),d(!1))})).catch((function(e){g.current&&(d(!1),wg({title:e.toString(),variant:"error",isPersistent:!0}))}))};return{presets:i,setPresets:l,preset:m,dispatch:h,isLoading:u,defaultValues:n}}(i,d),I=_.presets,B=_.preset,T=_.dispatch,N=_.isLoading,z=_.defaultValues,D=B.content.io.length>0,P=function(e,t,n){var r=this,i=c(null),l=c(0),s=c(null),u=c([]),d=c(),p=c(),f=c(e),m=c(!0);a((function(){f.current=e}),[e]);var h=!t&&0!==t&&"undefined"!=typeof window;t=+t||0;var g=!!(n=n||{}).leading,v=!("trailing"in n)||!!n.trailing,y="maxWait"in n,b=y?Math.max(+n.maxWait||0,t):null;a((function(){return m.current=!0,function(){m.current=!1}}),[]);var w=o((function(){var e=function(e){var t=u.current,n=d.current;return u.current=d.current=null,l.current=e,p.current=f.current.apply(n,t)},n=function(e,t){h&&cancelAnimationFrame(s.current),s.current=h?requestAnimationFrame(e):setTimeout(e,t)},o=function(e){if(!m.current)return!1;var n=e-i.current;return!i.current||n>=t||n<0||y&&e-l.current>=b},a=function(t){return s.current=null,v&&u.current?e(t):(u.current=d.current=null,p.current)},c=function e(){var r=Date.now();if(o(r))return a(r);if(m.current){var c=t-(r-i.current),s=y?Math.min(c,b-(r-l.current)):c;n(e,s)}},w=function(){var a=Date.now(),f=o(a);if(u.current=[].slice.call(arguments),d.current=r,i.current=a,f){if(!s.current&&m.current)return l.current=i.current,n(c,t),g?e(i.current):p.current;if(y)return n(c,t),e(i.current)}return s.current||n(c,t),p.current};return w.cancel=function(){s.current&&(h?cancelAnimationFrame(s.current):clearTimeout(s.current)),l.current=0,u.current=i.current=d.current=s.current=null},w.isPending=function(){return!!s.current},w.flush=function(){return s.current?a(Date.now()):p.current},w}),[g,y,t,b,v,h]);return w}((function(){if(B.content.io.length>0){var e=function(e,t){var n=[],r=e.content,o=r.io,i=r.format,a=r.quality;return o.forEach((function(e){n.push(function(e){return{key:"io",value:Object.keys(e).filter((function(t){return"id"!==t&&null!==e[t]})).map((function(t){return"".concat(t,":").concat(e[t])})).join(",")}}(e))})),i&&n.push({key:"format",value:i}),a&&a!==t.content.quality&&n.push({key:"quality",value:a.toString()}),n.map((function(e){var t=e.key,n=e.value;return"".concat(t,"=").concat(n)})).join("&")}(B,z);b("".concat(n,"?").concat(e))}else b(n)}),500);return a((function(){return P(),function(){return P.cancel()}}),[P,B,n]),a((function(){i||l&&E(UC.transformations)}),[i,l]),t.createElement(Ok,null,t.createElement(dk,{url:y,canViewTransformations:l,activeTab:x,onApply:m?function(){return m(y,B)}:void 0,onBack:function(){return h(y,B)},hasActiveChanges:D,onDone:function(){i||D?i&&E(UC.presets):p(y,B)},onShowTransformations:function(){l&&E(UC.transformations)},hideBottomBar:u}),t.createElement(tk,{onPresetSelected:function(e){b(""!==e?n.split("/transform")[0]+"/transform/".concat(e,"/").concat(EE(n),"/"):n),S(e)},activeTab:x,presets:I,preset:B,dispatch:T,selectedPreset:k,isLoading:N,baseURL:n,canViewPresets:i,canViewTransformations:l}))}))(Fk||(Fk=_a(["\n\theight: 100%;\n\twidth: 100%;\n"],["\n\theight: 100%;\n\twidth: 100%;\n"]))),jk=n(null);function Hk(e){var n=r(),i=n[0],a=n[1],c=r(""),l=c[0],s=c[1],u=function(e,t){s(e),a((function(n){return{preset:(null==n?void 0:n.asset.id)===t.id?n.preset:void 0,url:e,asset:t}}))},d=o((function(){return{transformation:i,setTransformation:a,openDat:u,closeDat:function(){return s("")}}}),[i]);return t.createElement(jk.Provider,{value:d},e.children,l&&t.createElement(Ak,{transformBaseUrl:l,transformation:i,setTransformation:a,closeDat:function(){return s("")}}))}function Uk(){var e=i(jk);if(null===e)throw new Error("useTransformations must be used with a DatProvider");return e}function Vk(e){var n,o,i,c,l=e.transformBaseUrl,s=e.asset,u=e.toggleDropdown,d=Uk(),p=d.transformation,f=d.openDat,m=r(),h=m[0],g=m[1],v=null!==(c=null===(i=null===(o=null===(n=null==p?void 0:p.preset)||void 0===n?void 0:n.content)||void 0===o?void 0:o.io)||void 0===i?void 0:i.length)&&void 0!==c?c:0;return a((function(){if(p){var e=p.url,t="io=transform:fill,width:40,height:40";e.includes("io=transform:fill")&&g(e.replace(/io=transform:fill,width:[0-9]+,height:[0-9]+/,t)),g("".concat(e,"&").concat(t))}}),[p]),l?t.createElement(t.Fragment,null,t.createElement(jh.Divider,null),t.createElement(Wk,{thumbnail:p&&0!==v?t.createElement(_h,{imageUrl:h,"data-testid":"thumbnail-image"}):t.createElement(_h,{icon:t.createElement(fu,null),"data-testid":"crop-icon"}),rightElements:t.createElement(Du,null),onClick:function(){u(),f(l,s)},subtext:p&&v>0?"".concat(v," transformation").concat(1===v?"":"s"):""},"New transformation")):null}var $k,Wk=ql(jh.Item)($k||($k=_a(["\n\tmax-width: 100%;\n\twidth: 340px;\n\tmargin-left: 0;\n"],["\n\tmax-width: 100%;\n\twidth: 340px;\n\tmargin-left: 0;\n"]))),Gk=n(null);function qk(e){var n=r([]),i=n[0],c=n[1],l=r(),s=l[0],u=l[1],d=function(e){var t=this,n=r([]),o=n[0],i=n[1],c=Nv(),l=c.selectionMode,s=c.language,u=Ay(),d=!1;return a((function(){if(e){var n=null!=e?e:[];"MultiSelect"!==l&&(n=n[0]?[n[0]]:[]),r=n,Ca(t,void 0,void 0,(function(){var e,t,n;return ka(this,(function(o){switch(o.label){case 0:return r.length?[4,Uy(r,u,s)]:[3,2];case 1:e=o.sent(),d||Av(e)||(null===(t=e.value)||void 0===t||t.sort((function(e,t){return r.indexOf(e.id)-r.indexOf(t.id)})),i(null!==(n=e.value)&&void 0!==n?n:[])),o.label=2;case 2:return[2]}}))}))}var r;return function(){d=!0}}),[e]),o}(s),p=zv(),f=Uk().transformation;function m(){c([])}function h(e){c((function(t){var n=e.filter((function(e){return!Yk(t,e)}));return Sa(Sa([],t,!0),n.map((function(e){return{type:"asset",value:e}})),!0)}))}function g(e){var t;"MultiSelect"!==p?(t=e[0],i.some((function(e){return e.value.id===t.id}))?c([]):c([{type:"asset",value:t}])):c((function(t){var n=e.filter((function(e){return!Yk(t,e)})),r=e.filter((function(e){return Yk(t,e)}));return Sa(Sa([],t.filter((function(e){return!r.some((function(t){return t.id===e.value.id}))})),!0),n.map((function(e){return{type:"asset",value:e}})),!0)}))}function v(e){c((function(t){return Yk(t,e)?t.filter((function(t){return t.value.id!==e.id})):Sa(Sa([],t,!0),[{type:"collection",value:e}],!1)}))}a((function(){var t;u((null!==(t=e.preselectedAssetIds)&&void 0!==t?t:[]).filter((function(e){return!!e})).map((function(e){return window.btoa("(Asset_id "+e+")")})))}),[e.preselectedAssetIds]),a((function(){h(d)}),[d]),a((function(){f&&(m(),h([null==f?void 0:f.asset]))}),[f]);var y=o((function(){return{selection:i,preselectedAssetIds:s,clear:m,selectAssets:h,toggleAssets:g,toggleCollection:v}}),[i]);return t.createElement(Gk.Provider,{value:y},e.children)}function Yk(e,t){return e.some((function(e){return e.value.id===t.id}))}function Kk(){var e=i(Gk);if(null===e)throw new Error("useSelection must be used with a SelectionProvider");return e}function Xk(e){var n=e.className,r=e.collection,o=e.fadeIn,i=void 0===o||o,a=e.isSelected,c=e.style,l=zv(),s=Ta()[1],u=Kk(),d=Nv().hideExternalAccess;return t.createElement("div",{id:r.id,style:c,className:hv("m-2 w-56 self-start group relative",n,i&&"fade-in-down")},t.createElement(Kf,{contextAction:!d&&t.createElement(Kf.ContextActionButton,{"aria-label":qg("Open in new tab"),onClick:function(){window.open(r.url,"_blank")}},t.createElement(Ls,null)),selectButtonAriaLabel:qg(a?"Deselect":"Select"),onSelect:"MultiSelect"===l?function(e){e.stopPropagation(),u.toggleCollection(r)}:void 0,isSelected:a,onClick:function(){return s({page:"collection",collection:r})},"aria-selected":a,"data-testid":"asset-card"},t.createElement(Kf.Frame,null,t.createElement(Kf.Images,null,r.thumbnailUrls.slice(0,3).map((function(e){return t.createElement(Kf.Img,{key:e,src:e,alt:r.name})})))),t.createElement(Kf.Header,{title:r.name,"data-testid":"asset-name"}),t.createElement("div",{className:"pl-4 pb-3 -mt-1 text-sm text-body-400"},kv(r.assetCount,qg("{} asset"),qg("{} assets")))))}function Zk(e){var t=r(void 0),n=t[0],o=t[1],i=c(void 0);function l(t){void 0!==i.current&&cancelAnimationFrame(i.current),i.current=requestAnimationFrame((function(){var n=null!=t?t:e;if(null!==n){var r=n.getBoundingClientRect();o({width:r.width,height:r.height,scrollWidth:n.scrollWidth})}}))}return a((function(){l();var e=function(){return l()};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e),i.current&&cancelAnimationFrame(i.current)}}),[e]),{dimensions:n,remeasure:l}}function Jk(e,t){if(!e)throw new Error("Invariant failed")}function Qk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eS(){return eS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eS.apply(this,arguments)}function tS(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var nS=new Map,rS=new Map,oS=new Map,iS=0;function aS(e,t,n){void 0===n&&(n={}),n.threshold||(n.threshold=0);var r=n,o=r.root,i=r.rootMargin,a=r.threshold;if(nS.has(e)&&Jk(!1),e){var c=function(e){return e?oS.has(e)?oS.get(e):(iS+=1,oS.set(e,iS.toString()),oS.get(e)+"_"):""}(o)+(i?a.toString()+"_"+i:a.toString()),l=rS.get(c);l||(l=new IntersectionObserver(lS,n),c&&rS.set(c,l));var s={callback:t,element:e,inView:!1,observerId:c,observer:l,thresholds:l.thresholds||(Array.isArray(a)?a:[a])};return nS.set(e,s),l.observe(e),s}}function cS(e){if(e){var t=nS.get(e);if(t){var n=t.observerId,r=t.observer,o=r.root;r.unobserve(e);var i=!1,a=!1;n&&nS.forEach((function(t,r){r!==e&&(t.observerId===n&&(i=!0,a=!0),t.observer.root===o&&(a=!0))})),!a&&o&&oS.delete(o),r&&!i&&r.disconnect(),nS.delete(e)}}}function lS(e){e.forEach((function(e){var t=e.isIntersecting,n=e.intersectionRatio,r=e.target,o=nS.get(r);if(o&&n>=0){var i=o.thresholds.some((function(e){return o.inView?n>e:n>=e}));void 0!==t&&(i=i&&t),o.inView=i,o.callback(i,e)}}))}var sS=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return Qk(tS(t=e.call.apply(e,[this].concat(r))||this),"state",{inView:!1,entry:void 0}),Qk(tS(t),"node",null),Qk(tS(t),"handleNode",(function(e){t.node&&(cS(t.node),e||t.props.triggerOnce||t.setState({inView:!1,entry:void 0})),t.node=e||null,t.observeNode()})),Qk(tS(t),"handleChange",(function(e,n){(e!==t.state.inView||e)&&t.setState({inView:e,entry:n}),t.props.onChange&&t.props.onChange(e,n)})),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.componentDidMount=function(){this.node||Jk(!1)},o.componentDidUpdate=function(e,t){e.rootMargin===this.props.rootMargin&&e.root===this.props.root&&e.threshold===this.props.threshold||(cS(this.node),this.observeNode()),t.inView!==this.state.inView&&this.state.inView&&this.props.triggerOnce&&(cS(this.node),this.node=null)},o.componentWillUnmount=function(){this.node&&(cS(this.node),this.node=null)},o.observeNode=function(){if(this.node){var e=this.props,t=e.threshold,n=e.root,r=e.rootMargin;aS(this.node,this.handleChange,{threshold:t,root:n,rootMargin:r})}},o.render=function(){var e=this.state,t=e.inView,n=e.entry;if(!function(e){return"function"!=typeof e.children}(this.props))return this.props.children({inView:t,entry:n,ref:this.handleNode});var r=this.props,o=r.children,i=r.as,a=r.tag,c=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(r,["children","as","tag","triggerOnce","threshold","root","rootMargin","onChange"]);return s(i||a||"div",eS({ref:this.handleNode},c),o)},r}(m);Qk(sS,"displayName","InView"),Qk(sS,"defaultProps",{threshold:0,triggerOnce:!1});var uS={inView:!1,entry:void 0};function dS(e){var n=function(e){void 0===e&&(e={});var t=c(),n=r(uS),o=n[0],i=n[1];return[u((function(n){t.current&&(cS(t.current),e.triggerOnce||i(uS)),n&&aS(n,(function(t,r){i({inView:t,entry:r}),t&&e.triggerOnce&&cS(n)}),e),t.current=n}),[e.threshold,e.root,e.rootMargin,e.triggerOnce]),o.inView,o.entry]}(),o=n[0],i=n[1];return a((function(){i&&!e.isLoading&&e.hasNextPage&&e.loadMore()}),[i]),t.createElement(t.Fragment,null,e.children,e.hasNextPage&&t.createElement("div",{className:"relative h-32 w-full",ref:o,"data-testid":"loading-element"},t.createElement(Ey,{className:hv(!i&&"hidden")})))}function pS(){return t.createElement("svg",{viewBox:"0 5 60 82",className:"h-20"},t.createElement("defs",null,t.createElement("filter",{x:"-1.7%",y:"-1.2%",width:"103.3%",height:"105%",filterUnits:"objectBoundingBox",id:"prefix__a"},t.createElement("feOffset",{dy:"2",in:"SourceAlpha",result:"shadowOffsetOuter1"}),t.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.133333333 0 0 0 0 0.2 0 0 0 0.05 0",in:"shadowOffsetOuter1"})),t.createElement("filter",{x:"-5%",y:"-5%",width:"110%",height:"120%",filterUnits:"objectBoundingBox",id:"prefix__c"},t.createElement("feOffset",{dy:"2",in:"SourceAlpha",result:"shadowOffsetOuter1"}),t.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.133333333 0 0 0 0 0.2 0 0 0 0.05 0",in:"shadowOffsetOuter1"})),t.createElement("path",{d:"M5 5h35l20 20v55a5 5 0 01-5 5H5a5 5 0 01-5-5V10a5 5 0 015-5z",id:"prefix__b"}),t.createElement("path",{d:"M40 5l20 20H45a5 5 0 01-5-5V5z",id:"prefix__d"})),t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("use",{fill:"#000",filter:"url(#prefix__a)",xlinkHref:"#prefix__b"}),t.createElement("use",{fill:"#FFF",xlinkHref:"#prefix__b"}),t.createElement("g",{fillRule:"nonzero"},t.createElement("use",{fill:"#000",filter:"url(#prefix__c)",xlinkHref:"#prefix__d"}),t.createElement("use",{fill:"#FFF",xlinkHref:"#prefix__d"}))))}function fS(e){return t.createElement(wS,null,t.createElement(xS,null,t.createElement(pS,null),t.createElement(ES,null)),t.createElement(CS,null,qg("No results found")),t.createElement(kS,null,qg("Try adjusting the filter to find assets.")),t.createElement(SS,{variant:"primary",title:qg("Reset filters"),onClick:e.onReset},qg("Reset filters")))}var mS,hS,gS,vS,yS,bS,wS=ql.div(mS||(mS=_a(["\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n"],["\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n"]))),xS=ql.div(hS||(hS=_a(["\n\tbackground-color: ",";\n\tborder-radius: 50%;\n\twidth: 160px;\n\theight: 160px;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n"],["\n\tbackground-color: ",";\n\tborder-radius: 50%;\n\twidth: 160px;\n\theight: 160px;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n"])),Dp.gray25),ES=ql(js)(gS||(gS=_a(["\n\tposition: absolute;\n\tmargin: "," 0 0 1px;\n\tcolor: ",";\n\twidth: 36px;\n\theight: 36px;\n"],["\n\tposition: absolute;\n\tmargin: "," 0 0 1px;\n\tcolor: ",";\n\twidth: 36px;\n\theight: 36px;\n"])),Dp.spacing2,Dp.gray300),CS=ql.h1(vS||(vS=_a(["\n\tmargin-top: ",";\n\tfont-size: ",";\n"],["\n\tmargin-top: ",";\n\tfont-size: ",";\n"])),Dp.spacing6,Dp.fontSize400),kS=ql.span(yS||(yS=_a(["\n\tmargin-top: ",";\n\tcolor: ",";\n"],["\n\tmargin-top: ",";\n\tcolor: ",";\n"])),Dp.spacing5,Dp.colorTextDisabled),SS=ql(ef)(bS||(bS=_a(["\n\tmargin-top: ",";\n"],["\n\tmargin-top: ",";\n"])),Dp.spacing7);function _S(e){var n,o,i=r(null),a=i[0],c=i[1],l=Zk(a).dimensions,s=Kk().selection.filter((function(e){return"collection"===e.type})).map((function(e){return e.value.id})),u=Pa().setSearch,d=e.connection,p=d.data,f=d.isLoading,m=d.loadMore,h=d.hasNextPage,g=void 0!==l?Math.ceil(l.height/184):0,v=void 0!==l?Math.round((l.width-32)/204):0;return t.createElement("div",{role:"listbox",className:"card-list",ref:function(e){c(e)}},("Failure"===p.tag||"Loading"===p.tag&&!p.value)&&t.createElement(_v,{rows:g,columns:v,title:t.createElement("div",{className:"mt-2 text-sm"}," ")}),"Loaded"===p.tag&&0===(null===(n=p.value)||void 0===n?void 0:n.collections.nodes.length)&&t.createElement(fS,{onReset:function(){return u("collections","")}}),("Loading"===p.tag&&!!p.value||"Loaded"===p.tag&&p.value.collections.nodes.length>0)&&t.createElement(dS,{hasNextPage:h,isLoading:f,loadMore:m},null===(o=p.value)||void 0===o?void 0:o.collections.nodes.map((function(e,n){return t.createElement(Xk,{key:e.id,isSelected:s.includes(e.id),collection:e,fadeIn:n>=g*v})}))))}function IS(){var e=Oa("collections"),n=e.value,o=e.setIsLoading,i=function(e){var t,n=this,o=Ay(),i=r({tag:"Loading",value:null}),c=i[0],l=i[1],s=!1,u=function(t){return Ca(n,void 0,void 0,(function(){var n,r;return ka(this,(function(i){switch(i.label){case 0:return l((function(e){return{tag:"Loading",value:"Failure"===e.tag?null:e.value}})),[4,Mv("\nquery getCollections($searchTerm: String, $orderBy: CollectionOrder!, $after: Cursor) {\n collections(after: $after, first: 50, filter: {name_contains: $searchTerm, assetCount_gte: 1}, orderBy: $orderBy) {\n nodes {\n id\n name\n assetCount\n thumbnailUrls\n url\n }\n totalCount\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}",xa(xa({},e),{searchTerm:null!==(r=e.searchTerm)&&void 0!==r?r:null,after:null!=t?t:null}),o)];case 1:return n=i.sent(),s||(Av(n)?l({tag:"Failure",value:n.error}):d(n,t)),[2]}}))}))},d=function(e,t){p()&&t?l((function(t){var n,r,o=null!==(r=null===(n=p(t))||void 0===n?void 0:n.nodes)&&void 0!==r?r:[];return{tag:"Loaded",value:{collections:xa(xa({},e.value.collections),{nodes:Sa(Sa([],o,!0),e.value.collections.nodes,!0)})}}})):l({tag:"Loaded",value:e.value})},p=function(e){var t,n=null!=e?e:c;if("Failure"!==n.tag)return null===(t=n.value)||void 0===t?void 0:t.collections};return a((function(){return u(),function(){s=!0}}),[e.searchTerm,e.orderBy]),{data:c,executeQuery:function(){return u()},isLoading:!c||"Loading"===c.tag,loadMore:function(){var e;return u(null===(e=p())||void 0===e?void 0:e.pageInfo.endCursor)},hasNextPage:!!(null===(t=p())||void 0===t?void 0:t.pageInfo.hasNextPage)}}({searchTerm:n,orderBy:ba("collections")[0]});return a((function(){i.isLoading||o(!1)}),[i.isLoading]),"Failure"===i.data.tag?t.createElement(dv,{error:new Error(i.data.value),onRetry:i.executeQuery}):t.createElement("div",{className:"flex flex-col flex-grow overflow-y-auto"},t.createElement("div",{className:"flex items-center px-4 pt-4 pb-2 z-10"},i.data.value&&t.createElement("span",{className:"flex-shrink-0 flex-grow text-body-400 fade-in-down"},kv(i.data.value.collections.totalCount,qg("{} collection"),qg("{} collections"))),!i.data.value&&t.createElement("span",{className:"flex-grow"}),t.createElement(xv,{options:["CREATED_AT","NAME"]}),t.createElement(pv,null)),t.createElement(_S,{connection:i}))}var BS=n(null);function TS(e){var n=e.children,i=e.hideLimitedUse,c=void 0!==i&&i,l=r([]),s=l[0],u=l[1],d=r([]),p=d[0],f=d[1],m=r([]),h=m[0],g=m[1],v=r(),y=v[0],b=v[1],w=r({}),x=w[0],E=w[1];function C(e){u((function(t){return NS(t,e)}))}function k(e){u((function(t){return zS(t,e)}))}function S(e){f((function(t){return NS(t,e.id)})),E((function(t){var n;return xa(xa({},t),((n={})[e.id]=e,n))}))}function _(e){f((function(t){return zS(t,e.id)})),E((function(t){var n=t,r=e.id;return Ea(n,["symbol"==typeof r?r:r+""])}))}function I(e){g((function(t){return NS(t,e)}))}function B(e){g((function(t){return zS(t,e)}))}function T(){u([]),f([]),E({}),g([])}a((function(){b(!c&&void 0)}),[c]);var N=p.map((function(e){return x[e]})),z=o((function(){return{assetTypes:s,metaproperties:N,tags:h,isLimited:y,addAssetType:C,removeAssetType:k,addMetaproperty:S,removeMetaproperty:_,addTag:I,removeTag:B,clear:T}}),[s,N,h,y]);return t.createElement(BS.Provider,{value:z},n)}function NS(e,t){return e.includes(t)?e:Sa(Sa([],e,!0),[t],!1)}function zS(e,t){return e.filter((function(e){return e!==t}))}function DS(){var e=i(BS);if(null===e)throw new Error("useAssetFilter must be used with a AssetFilterProvider");return e}function PS(e){return qg({AUDIO:"Audio",DOCUMENT:"Document",IMAGE:"Image",VIDEO:"Video",ARCHIVE:"Archive"}[e])}function OS(e){switch(e){case"AUDIO":return Gs;case"DOCUMENT":return tu;case"IMAGE":return vu;case"VIDEO":return Ws;case"ARCHIVE":return Ys}}function AS(e){return t.createElement(FS,{icon:t.createElement(_u,null),"aria-label":"Next",title:"Next",variant:"clean",isSmall:!0,onClick:e.onClick,"data-testid":"arrow-right",isVisible:e.isVisible})}var RS,FS=ql(ef)(RS||(RS=_a(["\n\tz-index: 20;\n\tpadding: 0;\n\tbox-shadow: -16px 0px 10px 0px #ffffff;\n\n\t&:hover {\n\t\tbox-shadow: -16px 0px 10px 0px #ffffff;\n\t}\n\n\t","\n"],["\n\tz-index: 20;\n\tpadding: 0;\n\tbox-shadow: -16px 0px 10px 0px #ffffff;\n\n\t&:hover {\n\t\tbox-shadow: -16px 0px 10px 0px #ffffff;\n\t}\n\n\t","\n"])),(function(e){return!e.isVisible&&"\n\t\tdisplay: none;\n\t"}));function LS(e){return t.createElement(jS,{icon:t.createElement(Su,null),"aria-label":"Previous",title:"Previous",variant:"clean",isSmall:!0,onClick:e.onClick,"data-testid":"arrow-left",isVisible:e.isVisible})}var MS,jS=ql(ef)(MS||(MS=_a(["\n\tz-index: 20;\n\tpadding: 0;\n\tbox-shadow: 4px 0 13px 13px #fff;\n\n\t&:hover {\n\t\tbox-shadow: 4px 0 13px 13px #fff;\n\t}\n\n\t","\n"],["\n\tz-index: 20;\n\tpadding: 0;\n\tbox-shadow: 4px 0 13px 13px #fff;\n\n\t&:hover {\n\t\tbox-shadow: 4px 0 13px 13px #fff;\n\t}\n\n\t","\n"])),(function(e){return!e.isVisible&&"\n\t\tdisplay: none;\n\t"}));function HS(e){var n=r(0),o=n[0],i=n[1],l=c(null),s=Zk(l.current),u=s.dimensions,d=s.remeasure,p=null!==l.current?l.current.scrollWidth-l.current.clientWidth:0,f=void 0!==u&&u.width<u.scrollWidth;a((function(){d(l.current)}),[e.children,l.current]),a((function(){f||i(0)}),[f]);var m=o>0,h=p>5&&o!==p;return t.createElement("div",{className:hv("inline-flex flex-grow overflow-hidden",e.className)},f&&t.createElement(LS,{isVisible:m,onClick:function(){i((function(e){var t=Math.max(e-250,0);return t>=100?t:0}))}}),t.createElement("div",{className:"overflow-hidden",ref:l},t.createElement("div",{className:"transition-transform inline-flex",style:{transform:"translateX(".concat(-o,"px)")},"data-testid":"horizontal-scrollable-el"},e.children)),f&&t.createElement(AS,{isVisible:h,onClick:function(){i((function(e){var t=Math.min(e+250,p);return t<=p-100?t:p}))}}),e.static)}function US(e){var n=hv("bg-ui-0 border border-ui-600 flex-shrink-0 h-8 inline-flex\n\t\t items-center justify-center px-3 rounded-full select-none shadow-border\n\t\t text-sm text-white transition-color",e.className);return t.createElement("div",{className:n,onClick:e.onClick,onKeyDown:function(t){return function(e,t){t&&"Enter"===e.key&&(e.preventDefault(),t(e))}(t,e.onClick)},role:"button",tabIndex:0,"data-testid":e["data-testid"]},e.children)}function VS(e){return t.createElement(US,{className:"mr-2 fade-in-down","data-testid":"selected-filter:".concat(e.title)},e.icon,t.createElement("span",{className:"max-w-32 truncate",title:e.title},e.title),t.createElement(Iu,{onClick:e.onClick,title:qg("Remove filter"),className:"w-5 h-5 ml-1 -mr-1 text-body-300 hover:text-body-400 cursor-pointer"}))}function $S(){var e=DS(),n=0===e.metaproperties.length&&0===e.assetTypes.length&&0===e.tags.length?void 0:t.createElement(GS,{variant:"clean",isSmall:!0,onClick:e.clear},qg("Clear filters"));return t.createElement("div",{"data-testid":"selected-filter-list"},t.createElement(HS,{className:"ml-2",static:n},e.assetTypes.map((function(n){var r=OS(n);return t.createElement(VS,{key:n,onClick:function(){return e.removeAssetType(n)},title:PS(n),icon:t.createElement(r,{className:"w-5 h-5 mr-1"})})})),e.metaproperties.map((function(n){return t.createElement(VS,{key:n.id,onClick:function(){return e.removeMetaproperty(n)},title:n.label})})),e.tags.map((function(n){return t.createElement(VS,{key:n,onClick:function(){return e.removeTag(n)},title:n})}))))}var WS,GS=ql(ef)(WS||(WS=_a(["\n\tflex-shrink: 0;\n\tanimation: var(--fade-in-down);\n"],["\n\tflex-shrink: 0;\n\tanimation: var(--fade-in-down);\n"]))),qS=["xls","xlsx","ppt","pdf","pptx","indd","mp4","wav","docx","doc","numbers","pages","otf","txt","ttf","mov","avi","mpeg","webm","fla","aiff","mp3","m4r","zip","rar"];function YS(e){if(e.derivatives.thumbnail)return e.derivatives.thumbnail;var t=e.extensions[0];return qS.includes(t)?"".concat("https://d8ejoa1fys2rk.cloudfront.net","/includes/img/placeholder/medium/").concat(t,".jpg"):"".concat("https://d8ejoa1fys2rk.cloudfront.net","aif"===t?"/includes/img/placeholder/medium/aiff.jpg":"m4a"===t?"/includes/img/placeholder/medium/m4r.jpg":"/includes/img/common/no-image.png")}function KS(e){var t=e.extensions[0];return"JPG"===(null==t?void 0:t.toUpperCase())?"JPEG":null==t?void 0:t.toUpperCase()}function XS(e){var n=e.transformBaseUrl,r=e.portalUrl,o=e.onOpenDAT,i=Nv(),a=i.hideExternalAccess,c="SingleSelectFile"===i.selectionMode&&n;return!c&&a?null:c||a?c&&a?t.createElement(Kf.ContextActionButton,{"aria-label":"New transformation",onClick:o},t.createElement(fu,null)):t.createElement(Wh,{trigger:function(e){var n=e.isOpen,r=Ea(e,["isOpen"]);return t.createElement(Kf.ContextActionButton,xa({"aria-label":"Menu",isPressed:n},r),t.createElement(Nu,null))},isClosedOnScroll:!0},t.createElement(Wh.Item,{icon:t.createElement(Ls,null),onClick:function(){window.open(r,"_blank")}},"Open asset"),t.createElement(Wh.Divider,null),t.createElement(Wh.Item,{icon:t.createElement(fu,null),onClick:o},"New transformation")):t.createElement(Kf.ContextActionButton,{"aria-label":qg("Open in new tab"),onClick:function(){window.open(r,"_blank")}},t.createElement(Ls,null))}function ZS(e){var n,o,i=e.className,c=e.fadeIn,l=void 0===c||c,s=e.asset,u=e.isSelected,d=e.isOutlined,p=e.onClick,f=e.children,m=void 0===f?null:f,h=r(),g=h[0],v=h[1],y=Uk(),b=y.openDat,w=y.setTransformation,x=Nv().theme,E=function(e){return[e.isArchived&&qg("archived"),e.isWatermarked&&qg("watermarked"),e.isLimitedUse&&qg("limited")].filter((function(e){return e})).join(", ")}(s),C=KS(s);a((function(){var e,t=null===(e=s.metaproperties)||void 0===e?void 0:e.nodes.filter((function(e){return e.showInGridView||e.showInListView}));v(t)}),[s.metaproperties]);var k=function(e){void 0!==p&&(e.stopPropagation(),w(),p(s,e))};return t.createElement(t_,{id:s.id,theme:x,isOutlined:(u||d)&&void 0!==(null==x?void 0:x.colorPrimary),fadeIn:l,className:hv("group",i),"data-drag-select-id":s.id},t.createElement(Kf,{contextAction:t.createElement(XS,{transformBaseUrl:null===(o=null===(n=s.files)||void 0===n?void 0:n.transformBaseUrl)||void 0===o?void 0:o.url,portalUrl:s.url,onOpenDAT:function(){var e,t;return b(null===(t=null===(e=s.files)||void 0===e?void 0:e.transformBaseUrl)||void 0===t?void 0:t.url,s)}}),selectButtonAriaLabel:qg(u?"Deselect":"Select"),onSelect:k,onClick:k,isSelected:u,"aria-selected":u,"data-testid":"asset-card"},t.createElement(Kf.Frame,{icon:E?t.createElement(n_,{color:"black-alpha",limitWidth:!!C,"data-testid":"asset-tag"},t.createElement(Df,null,E)):void 0,"data-testid":"asset-type",badge:C},t.createElement(Kf.Images,null,YS(s)&&t.createElement(Kf.Img,{src:YS(s),alt:s.name,contentResize:"fit"}))),m,t.createElement(r_,{"data-testid":"asset-name"},s.name),!!(null==g?void 0:g.length)&&t.createElement(Kf.AdditionalInfo,null,t.createElement("dl",{className:"text-body-400 text-sm flex flex-col gap-y-px"},g&&g.map((function(e){var n=e.label,r=e.options.map((function(e){return e.label})).join(", ");return t.createElement("div",{className:"flex flex-wrap",key:n},t.createElement("dt",{className:"text-body-300 pr-1"},n,":"),t.createElement("dd",{className:""},r))}))))))}var JS,QS,e_,t_=ql.div(JS||(JS=_a(["\n\tmargin: ",";\n\twidth: 224px;\n\talign-self: flex-start;\n\tposition: relative;\n\t","\n\n\t--userComponentCardSelectedColor: ",";\n\t--userComponentCardSelectedColorHover: ",";\n\t--userComponentCardSelectedColorActive: ",";\n"],["\n\tmargin: ",";\n\twidth: 224px;\n\talign-self: flex-start;\n\tposition: relative;\n\t","\n\n\t--userComponentCardSelectedColor: ",";\n\t--userComponentCardSelectedColorHover: ",";\n\t--userComponentCardSelectedColorActive: ",";\n"])),Dp.spacing3,(function(e){return e.fadeIn?"animation: var(--fade-in-down);":""}),(function(e){var t=e.theme;return null==t?void 0:t.colorButtonPrimary}),(function(e){var t=e.theme;return null==t?void 0:t.colorButtonPrimaryHover}),(function(e){var t=e.theme;return null==t?void 0:t.colorButtonPrimaryActive})),n_=ql(Pp)(QS||(QS=_a(["\n\t","\n"],["\n\t","\n"])),(function(e){return e.limitWidth&&"max-width: 142px;"})),r_=ql.p(e_||(e_=_a(["\n\twidth: auto;\n\tmax-width: 100%;\n\theight: auto;\n\tline-height: 20px;\n\tmin-height: 20px;\n\tmax-height: 20px;\n\tpadding: var(--card-content-padding);\n\ttransition: all 200ms ease;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n\tbox-sizing: content-box;\n\n\t&:hover {\n\t\tmax-height: 80px;\n\t\tword-break: break-all;\n\t\twhite-space: normal;\n\t}\n"],["\n\twidth: auto;\n\tmax-width: 100%;\n\theight: auto;\n\tline-height: 20px;\n\tmin-height: 20px;\n\tmax-height: 20px;\n\tpadding: var(--card-content-padding);\n\ttransition: all 200ms ease;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n\tbox-sizing: content-box;\n\n\t&:hover {\n\t\tmax-height: 80px;\n\t\tword-break: break-all;\n\t\twhite-space: normal;\n\t}\n"])));function o_(e,t,n){var r=this,i=c(null),l=c(0),s=c(null),u=c([]),d=c(),p=c(),f=c(e),m=c(!0);f.current=e;var h=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var g=!!(n=n||{}).leading,v=!("trailing"in n)||!!n.trailing,y="maxWait"in n,b=y?Math.max(+n.maxWait||0,t):null;a((function(){return m.current=!0,function(){m.current=!1}}),[]);var w=o((function(){var e=function(e){var t=u.current,n=d.current;return u.current=d.current=null,l.current=e,p.current=f.current.apply(n,t)},n=function(e,t){h&&cancelAnimationFrame(s.current),s.current=h?requestAnimationFrame(e):setTimeout(e,t)},o=function(e){if(!m.current)return!1;var n=e-i.current,r=e-l.current;return!i.current||n>=t||n<0||y&&r>=b},a=function(t){return s.current=null,v&&u.current?e(t):(u.current=d.current=null,p.current)},c=function(){var e=Date.now();if(o(e))return a(e);if(m.current){var r=e-i.current,s=e-l.current,u=t-r,d=y?Math.min(u,b-s):u;n(c,d)}},w=function(){for(var a=[],f=0;f<arguments.length;f++)a[f]=arguments[f];var h=Date.now(),v=o(h);if(u.current=a,d.current=r,i.current=h,v){if(!s.current&&m.current)return l.current=i.current,n(c,t),g?e(i.current):p.current;if(y)return n(c,t),e(i.current)}return s.current||n(c,t),p.current};return w.cancel=function(){s.current&&(h?cancelAnimationFrame(s.current):clearTimeout(s.current)),l.current=0,u.current=i.current=d.current=s.current=null},w.isPending=function(){return!!s.current},w.flush=function(){return s.current?a(Date.now()):p.current},w}),[g,y,t,b,v,h]);return w}function i_(e,t){return e===t}function a_(e){return"function"==typeof e?function(){return e}:e}function c_(e,t,n){var o=n&&n.equalityFn||i_,i=function(e){var t=r(a_(e)),n=t[0],o=t[1];return[n,u((function(e){return o(a_(e))}),[])]}(e),l=i[0],s=i[1],d=o_(u((function(e){return s(e)}),[s]),t,n),p=c(e);return a((function(){o(p.current,e)||(d(e),p.current=e)}),[e,d,o]),[l,{cancel:d.cancel,isPending:d.isPending,flush:d.flush}]}var l_={x:null,y:null},s_=function(e){var n=e.dragContainer,o=e.selectionBoxCustomAttr,i=e.onSelect,l=e.onDeselect,s=e.onDragStart,d=e.onDragEnd,p=r(l_),f=p[0],m=p[1],g=r(l_),v=g[0],y=g[1],b=c_(v,10,{leading:!0,maxWait:10})[0],w=r(),x=w[0],E=w[1],C=La(),k=t.useMemo((function(){return d_(f,b,C.querySelector(".cv-root"))}),[f,b,C]),S=c_(k,50,{leading:!1,maxWait:50})[0],_=r([]),I=_[0],B=_[1],T=g_(I),N=c(f),z=c(v),D=c(null!==N.current.x&&null!==N.current.y&&null!==z.current.x&&null!==z.current.y),P=c({shiftKey:!1,metaKey:!1});a((function(){return document.addEventListener("keydown",O,!1),document.addEventListener("keyup",O,!1),function(){document.removeEventListener("keydown",O,!1),document.removeEventListener("keyup",O,!1)}}),[]);var O=function(e){var t=e.shiftKey,n=e.metaKey,r=t||n?"inverse":"select";P.current={shiftKey:t,metaKey:n},D.current&&r!==x&&E(r)};a((function(){var e;return"function"==typeof s&&D.current?(O(P.current),s(null!=x?x:"select")):"function"!=typeof d||D.current||(e=setTimeout((function(){return d(null!=x?x:"select")}),10)),function(){return clearTimeout(e)}}),[D.current,x]);var A=function(e){N.current=e,m(e),F()},R=function(e){z.current=e,y(e),F()},F=function(){D.current=null!==N.current.x&&null!==N.current.y&&null!==z.current.x&&null!==z.current.y},L=u((function(e){var t,n,r=e.clientY,o=e.clientX,i=null!==N.current.x,a=Math.abs(null!==(t=N.current.x)&&void 0!==t?t:0-o)>=1||Math.abs(null!==(n=N.current.y)&&void 0!==n?n:0-r)>=1;i&&a&&R({x:o,y:r})}),[]),M=u((function(){C.removeEventListener("mousemove",L),C.removeEventListener("mouseup",M),A(l_),R(l_)}),[L,C]),j=u((function(e){var t=e.clientY,n=e.clientX;0===e.button&&(C.addEventListener("mousemove",L),C.addEventListener("mouseup",M),A({x:n,y:t}))}),[L,M,C]);a((function(){var e=C.querySelector(n);return e&&(m_(C),e.addEventListener("mousedown",j)),function(){e&&(e.removeEventListener("mousedown",j),h_(C))}}),[n,j,L,M,C]),a((function(){var e=C.querySelectorAll("[".concat("data-drag-select-id","]")),t=Array.from(e).reduce((function(e,t){var n=f_(t);return t instanceof HTMLElement&&p_(n,S)&&t.dataset.dragSelectId&&e.push(t.dataset.dragSelectId),e}),[]);B(t)}),[S,C]),a((function(){if(T&&T!==I&&D.current){var e=I.filter((function(e){return!T.includes(e)})),t=T.filter((function(e){return!I.includes(e)}));e.length&&i(e),t.length&&l(t)}}),[I,T,i,l,D]);var H=C.querySelector("#".concat("drag-select-container"));return D.current&&H?h.createPortal(t.createElement("div",xa({},o,{style:o.style?xa(xa(xa({},u_),o.style),k):xa(xa({},u_),k),"data-testid":"drag-selection"})),H):null},u_={position:"absolute",zIndex:100},d_=function(e,t,n){if(!(e.x&&e.y&&t.x&&t.y&&n))return{left:0,top:0,height:0,width:0};var r=n.getBoundingClientRect(),o=Math.max(t.x,0),i=Math.min(e.x,o);i=Math.max(i,r.left+4);var a=Math.min(e.y,t.y),c=Math.abs(t.y-e.y),l=Math.abs(o-e.x),s=r.width+r.left-i-4;return{left:i,top:a,height:c,width:l=Math.min(l,s)}},p_=function(e,t){return e.left<=t.left+t.width&&e.left+e.width>=t.left&&e.top<=t.top+t.height&&e.top+e.height>=t.top},f_=function(e){var t=e.getBoundingClientRect();return{left:t.left,top:t.top+window.scrollY,height:t.height,width:t.width}},m_=function(e){var t=document.createElement("div");t.id="drag-select-container",e.appendChild(t)},h_=function(e){var t=e.querySelector("#".concat("drag-select-container"));t&&t.remove()},g_=function(e){var t=c();return a((function(){t.current=e})),t.current};function v_(e){var n,o=e.assets,i=e.count,a=e.hasNextPage,l=void 0!==a&&a,s=e.isLoading,u=void 0!==s&&s,d=e.loadMore,p=void 0===d?function(){}:d,f=e.onSelect,m=void 0===f?function(){}:f,h=e.onToggle,g=void 0===h?function(){}:h,v=e.emptyStateElement,y=void 0===v?null:v,b=e.selectedAssetIds,w=void 0===b?[]:b,x=e.selectionMode,E=void 0===x?"MultiSelect":x,C=e.theme,k=e.children,S=void 0===k?null:k,_=c(null),I=Zk(_.current).dimensions,B=r([]),T=B[0],N=B[1],z=r("inactive"),D=z[0],P=z[1],O=function(e,t){if(void 0!==e)return[1,e];if(!t)return[0,0];return[Math.ceil(t.height/188),Math.round((t.width-16)/208)]}(i,I),A=O[0],R=O[1];function F(e){return("inverse"!==D||!w.includes(e.id)||!T.includes(e.id))&&(w.includes(e.id)||T.includes(e.id))}return t.createElement("div",{className:"flex flex-col flex-grow overflow-y-auto",ref:_,"data-drag-select-container":!0},S,t.createElement("div",{className:"card-list",role:"listbox"},"Loading"===o.tag&&!o.value&&t.createElement(_v,{rows:A,columns:R}),"Loaded"===o.tag&&0===o.value.length&&y,("Loading"===o.tag&&o.value||"Loaded"===o.tag)&&t.createElement(t.Fragment,null,"MultiSelect"===E&&t.createElement(s_,{dragContainer:"[data-drag-select-container]",selectionBoxCustomAttr:{className:"rounded border-2 border-brand-500",style:{zIndex:1e6,borderColor:null==C?void 0:C.colorPrimary}},onSelect:function(e){N((function(t){return Sa(Sa([],t,!0),e,!0)}))},onDeselect:function(e){N((function(t){return t.filter((function(t){return!e.includes(t)}))}))},onDragStart:function(e){P(e)},onDragEnd:function(e){if(P("inactive"),T.length){var t=[];T.forEach((function(e){var n=function(e){var t;if("Loading"!==o.tag||o.value)return null===(t=o.value)||void 0===t?void 0:t.find((function(t){return e===t.id}))}(e);n&&t.push(n)})),"inverse"===e?g(t):m(t),N([])}}}),t.createElement(dS,{hasNextPage:l,isLoading:u,loadMore:p},null===(n=o.value)||void 0===n?void 0:n.map((function(e,n){return t.createElement(ZS,{key:e.id,isSelected:F(e),isOutlined:F(e),asset:e,fadeIn:n>=A*R,onClick:function(e,t){return function(e,t){var n,r,i;if(t.shiftKey&&"MultiSelect"===E&&(null===(n=o.value)||void 0===n?void 0:n.length)){var a=o.value.findIndex((function(t){return t.id===e.id})),c=null===(r=o.value)||void 0===r?void 0:r.findIndex((function(e){return e.id===w[w.length-1]}));-1===c&&(c=0),m(c<a?null===(i=o.value)||void 0===i?void 0:i.slice(c,a+1):o.value.slice(a,c+1))}else g([e])}(e,t)}})}))))))}function y_(e){var n,r,o,i,c=e.connection,l=c.data,s=c.isLoading,u=c.loadMore,d=c.hasNextPage,p=c.executeQuery,f=Pa().setIsLoading,m=Nv(),h=Kk().selection.filter((function(e){return"asset"===e.type})).map((function(e){return e.value.id})),g=Kk(),v=g.selectAssets,y=g.toggleAssets,b=Pa().setSearch,w=DS();if(a((function(){s||f(!1)}),[s]),"Failure"===l.tag)return t.createElement(dv,{error:new Error(l.value),onRetry:p});var x=null!==(i=null===(o=null===(r=null===(n=l.value)||void 0===n?void 0:n.searchAssets)||void 0===r?void 0:r.assets)||void 0===o?void 0:o.totalCount)&&void 0!==i?i:e.totalCount;return t.createElement(v_,{assets:b_(l),count:x,isLoading:s,loadMore:u,hasNextPage:d,theme:m.theme,selectionMode:m.selectionMode,selectedAssetIds:h,onSelect:v,onToggle:y,emptyStateElement:t.createElement(fS,{onReset:function(){w.clear(),b("assets",""),b("collection","")}})},t.createElement("div",{className:"flex justify-between items-center px-4 pt-4 pb-2 z-10"},void 0!==x&&t.createElement("span",{className:"flex-shrink-0 text-body-400 fade-in-down",key:x},kv(x,qg("{} asset"),qg("{} assets"))),e.showActiveFilters&&t.createElement($S,null),t.createElement(xv,null),t.createElement(pv,null)))}function b_(e){var t;return"Loading"!==e.tag||e.value?"Loading"===e.tag?{tag:e.tag,value:null===(t=e.value)||void 0===t?void 0:t.searchAssets.assets.nodes}:{tag:e.tag,value:e.value.searchAssets.assets.nodes}:{tag:"Loading",value:void 0}}function w_(e){var n=Oa("collection").value,r=Ta()[1],o=ba("collection")[0],i=Nv(),a=i.assetTypes,c=i.language,l=Ly({collection:e.collection,allAssetTypes:a,searchTerm:n,orderBy:o,language:c});return t.createElement(t.Fragment,null,t.createElement("nav",{className:"px-4 py-4","data-testid":"collection-toolbar"},t.createElement("button",{className:"text-body-400 select-none cursor-pointer",onClick:function(){return r({page:"collections"})},type:"button"},qg("Collections")," / "),t.createElement("span",null," ",e.collection.name," ")),t.createElement(y_,{connection:l,totalCount:e.collection.assetCount}))}var x_,E_,C_,k_,S_=ql(tm)(x_||(x_=_a(["\n\twidth: 100%;\n\tfont-size: ",";\n\talign-items: center;\n\tcursor: ",";\n\n\tdiv:last-of-type {\n\t\tflex-grow: 1;\n\t}\n"],["\n\twidth: 100%;\n\tfont-size: ",";\n\talign-items: center;\n\tcursor: ",";\n\n\tdiv:last-of-type {\n\t\tflex-grow: 1;\n\t}\n"])),Dp.fontSize75,(function(e){return e.isLoading&&!e.isChecked?"wait":"pointer"})),__=ql.li(E_||(E_=_a(["\n\tpadding: "," ",";\n\n\t&:hover {\n\t\tbackground-color: ",";\n\t}\n"],["\n\tpadding: "," ",";\n\n\t&:hover {\n\t\tbackground-color: ",";\n\t}\n"])),Dp.spacing2,Dp.spacing5,Dp.gray25),I_=ql.div(C_||(C_=_a(["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tcolor: ",";\n"],["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tcolor: ",";\n"])),(function(e){return e.isChecked?"inherit":Dp.gray500})),B_=ql.span(k_||(k_=_a(["\n\tmargin: 1px "," 1px 0;\n\tflex-grow: 1;\n\tmax-width: 124px;\n"],["\n\tmargin: 1px "," 1px 0;\n\tflex-grow: 1;\n\tmax-width: 124px;\n"])),Dp.spacing4);function T_(e){var n=void 0!==e.selectedOptionIds&&e.selectedOptionIds.includes(e.metapropertyOption.id);return t.createElement(__,null,t.createElement(S_,{isChecked:n,onChange:function(){n?e.onRemoveOption():e.isLoading||e.onAddOption()},"data-testid":"metaproperty-option",isLoading:e.isLoading},t.createElement(I_,{isChecked:n},t.createElement(B_,{title:e.metapropertyOption.label},t.createElement(Df,null,e.metapropertyOption.label)),t.createElement("span",{className:"fade-in-down"},e.metapropertyOption.assetCount))))}function N_(e){return t.createElement(P_,{"data-testid":"metaproperty-filter-content"},t.createElement("h1",{className:"mb-2 px-4 truncate",title:e.metaproperty.label},e.metaproperty.label),t.createElement(O_,null,e.metaproperty.options.map((function(n){return t.createElement(T_,{key:n.id,metapropertyOption:n,selectedOptionIds:e.selectedOptionIds,isLoading:e.isLoading,onAddOption:function(){return e.onAddOption(n)},onRemoveOption:function(){return e.onRemoveOption(n)}})}))))}var z_,D_,P_=ql.div(z_||(z_=_a(["\n\tpadding-top: ",";\n\twidth: 224px;\n"],["\n\tpadding-top: ",";\n\twidth: 224px;\n"])),Dp.spacing5),O_=ql.ul(D_||(D_=_a(["\n\tmax-height: 400px;\n\toverflow-y: auto;\n\tpadding-bottom: 4px;\n\twidth: 100%;\n"],["\n\tmax-height: 400px;\n\toverflow-y: auto;\n\tpadding-bottom: 4px;\n\twidth: 100%;\n"])));function A_(e){return t.createElement(F_,null,e.smartfilter.metaproperties.map((function(n){return t.createElement(N_,{key:n.id,metaproperty:n,selectedOptionIds:e.selectedOptionIds,isLoading:e.isLoading,onAddOption:e.onAddOption,onRemoveOption:e.onRemoveOption})})))}var R_,F_=ql.div(R_||(R_=_a(["\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: ",";\n\toverflow: auto;\n"],["\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: ",";\n\toverflow: auto;\n"])),Dp.spacing4);function L_(e){var n,r,o=DS(),i=o.metaproperties.map((function(e){return e.id})),a=(n=e.metapropertyFilters.filter((function(e){return"Metaproperty"===e.__typename||0!==e.metaproperties.length})),r=function(e){return"Metaproperty"===e.__typename?1e4:e.zIndex},Sa([],n,!0).sort((function(e,t){return r(e)-r(t)})));return t.createElement(t.Fragment,null,a.map((function(n){return t.createElement(vv,{key:n.id,title:t.createElement(M_,{filter:n}),alt:n.label,isSmall:!0,fadeIn:!0},(function(){return t.createElement(t.Fragment,null,e.isLoading&&t.createElement(Ey,{className:"absolute top-0 right-0 mr-2 mt-3 bg-ui-0"}),"Metaproperty"===n.__typename?t.createElement(N_,{metaproperty:n,selectedOptionIds:i,isLoading:e.isLoading,onAddOption:o.addMetaproperty,onRemoveOption:o.removeMetaproperty}):t.createElement(A_,{smartfilter:n,selectedOptionIds:i,isLoading:e.isLoading,onAddOption:o.addMetaproperty,onRemoveOption:o.removeMetaproperty}))}))})))}function M_(e){var n=e.filter;return t.createElement(t.Fragment,null,"Smartfilter"===n.__typename&&n.icon&&t.createElement("i",{className:hv("fa fa-lg mr-2",n.icon)}),t.createElement("span",{className:"max-w-24 truncate","data-testid":"metaproperty-filter"},n.label))}function j_(e){var n=DS(),r=n.tags.includes(e.tag.name),o=hv("mb-2 mr-2",r&&"bg-ui-500",e.isLoading&&!r?"cursor-default":"cursor-pointer");return t.createElement(US,{key:e.tag.id,className:o,onClick:function(){r?n.removeTag(e.tag.name):e.isLoading||n.addTag(e.tag.name)},"data-testid":"tag-item"},t.createElement("span",{className:"max-w-32 truncate"},e.tag.name),t.createElement("span",{className:"text-body-400 ml-2"},e.tag.assetCount))}function H_(e){var n=Sa([],e.tags,!0).sort((function(e,t){return t.assetCount-e.assetCount}));return t.createElement(vv,{title:t.createElement(U_,null),className:"pt-4 pb-1 overflow-hidden max-w-600",isSmall:!0,fadeIn:!0},(function(){return t.createElement(t.Fragment,null,e.isLoading&&t.createElement(Ey,{className:"absolute top-0 right-0 mr-2 mt-3 bg-ui-0"}),t.createElement("h1",{className:"px-4 mb-4"}," ",qg("Tags")," "),t.createElement("div",{className:"flex flex-wrap px-4 -mr-2"},n.map((function(n){return t.createElement(j_,{key:n.id,tag:n,isLoading:e.isLoading})}))))}))}function U_(){return t.createElement(t.Fragment,null,t.createElement(Ps,{className:"mr-2 inline w-6 h-6"}),t.createElement("span",{"data-testid":"tags-filter"},qg("Tags")))}function V_(e){var n=DS(),r=n.assetTypes.includes(e.type),o=OS(e.type);return t.createElement(__,{"data-testid":"advanced-options"},t.createElement(S_,{isChecked:r,onChange:function(){r?n.removeAssetType(e.type):n.addAssetType(e.type)},isLoading:e.isLoading,"data-testid":"".concat(PS(e.type),"-filter")},t.createElement(I_,{isChecked:r},t.createElement(o,null),t.createElement(W_,null,PS(e.type)),t.createElement("span",{className:"fade-in-down"},e.count))))}var $_,W_=ql.div($_||($_=_a(["\n\tmargin: 1px ",";\n\tflex-grow: 1;\n"],["\n\tmargin: 1px ",";\n\tflex-grow: 1;\n"])),Dp.spacing3);function G_(e){var n=Nv().assetTypes,r=n.filter((function(t){return Y_(e.count,t)>0}));return 0===n.length||0===r.length?null:t.createElement(vv,{title:t.createElement(q_,null),className:"pt-4 pb-1",isSmall:!0,fadeIn:!0},(function(){return t.createElement(t.Fragment,null,e.isLoading&&t.createElement(Ey,{className:"absolute top-0 right-0 mr-2 mt-3 bg-ui-0"}),t.createElement("h1",{className:"px-4 mb-4"},qg("Type")),t.createElement("ul",null,r.map((function(n){return t.createElement(V_,{key:n,type:n,count:Y_(e.count,n),isLoading:e.isLoading})}))))}))}function q_(){return t.createElement(t.Fragment,null,t.createElement(xu,{className:"mr-2 inline w-6 h-6"}),qg("Advanced"))}function Y_(e,t){switch(t){case"AUDIO":return e.audio;case"DOCUMENT":return e.document;case"IMAGE":return e.image;case"VIDEO":return e.video;case"ARCHIVE":return e.archive}}function K_(){var e=DS(),n=Oa("assets").value,o=Nv(),i=o.assetTypes,c=o.language;Kg(c);var l=function(e){var t=this,n=Ay(),o=r({tag:"Loading",value:null}),i=o[0],c=o[1],l=!1;return a((function(){return Ca(t,void 0,void 0,(function(){var t,r,o,i,a,s;return ka(this,(function(u){switch(u.label){case 0:return c((function(e){return{tag:"Loading",value:"Failure"===e.tag?null:e.value}})),t=e.filter,r=e.searchTerm,o=e.allAssetTypes,i=e.language,[4,Mv("\nquery searchAssets($filter: AssetFilter!, $language: String!) {\n searchAssets(filter: $filter) {\n tags {\n nodes {\n id\n name\n assetCount\n }\n }\n metapropertyFilters {\n nodes {\n __typename\n ... on Smartfilter {\n id\n label(language: $language)\n metaproperties {\n id\n label(language: $language)\n options {\n id\n label(language: $language)\n assetCount\n }\n }\n icon\n zIndex\n }\n ... on Metaproperty {\n id\n label(language: $language)\n options {\n id\n label(language: $language)\n assetCount\n }\n }\n }\n }\n count {\n assetType {\n image\n video\n audio\n document\n archive\n }\n }\n }\n }",{filter:{assetType_in:null!==(s=t.assetTypes)&&void 0!==s?s:o,collectionId:null,metapropertyOptionId_in:t.metaproperties.map((function(e){return e.id})),searchTerm:r,tagNames_in:t.tags,isLimitedUse:t.isLimited},language:i},n)];case 1:return a=u.sent(),l||(Av(a)?c({tag:"Failure",value:a.error}):c({tag:"Loaded",value:a.value})),[2]}}))})),function(){l=!0}}),[e.filter.assetTypes,e.filter.metaproperties,e.filter.tags,e.searchTerm]),{data:i,isLoading:"Loading"===i.tag}}({filter:e,searchTerm:n||null,allAssetTypes:i,language:c}),s=l.data,u=l.isLoading;if("Failure"===s.tag||!s.value)return t.createElement("nav",{className:"flex justify-between bg-ui-0 px-4 py-2 z-20"},t.createElement(X_,null));var d=s.value.searchAssets,p=d.metapropertyFilters,f=d.tags,m=d.count;return t.createElement("nav",{className:"flex justify-between bg-ui-0 px-4 py-2 z-20","data-testid":"filter-nav"},t.createElement(HS,{className:"h-8"},p&&p.nodes.length>0&&t.createElement(L_,{metapropertyFilters:p.nodes,isLoading:u}),f&&f.nodes.length>0&&t.createElement(H_,{tags:f.nodes,isLoading:u}),t.createElement(G_,{isLoading:u,count:m.assetType})))}function X_(){return t.createElement("div",{className:"inline-flex items-center"},t.createElement(Sv,{className:"h-4 ml-2 mr-2 my-2",width:100}),t.createElement(Sv,{className:"h-4 ml-2 mr-2 my-2",width:80}),t.createElement(Sv,{className:"h-4 ml-2 mr-2 my-2",width:110}))}var Z_,J_,Q_=Wl(J_||(J_=_a(["",""],["",""])),Tl(Z_||(Z_=_a(["\n\t.cv-root {\n\t\t","\n\t}:\n"],["\n\t.cv-root {\n\t\t","\n\t}:\n"])),(function(e){return function(e){var t=function(e){var t,n;return{"--componentButtonPrimaryBorderHover":null==e?void 0:e.colorButtonPrimaryHover,"--componentButtonPrimaryBorderActive":null!==(t=null==e?void 0:e.colorButtonPrimaryActive)&&void 0!==t?t:null==e?void 0:e.colorButtonPrimaryHover,"--componentButtonPrimaryBorderFocus":null==e?void 0:e.colorButtonPrimary,"--componentButtonPrimaryColor":null==e?void 0:e.colorButtonPrimaryLabel,"--componentButtonPrimaryColorHover":null==e?void 0:e.colorButtonPrimaryHoverLabel,"--componentButtonPrimaryColorActive":null==e?void 0:e.colorButtonPrimaryLabel,"--componentButtonPrimaryColorFocus":null==e?void 0:e.colorButtonPrimaryLabel,"--componentButtonPrimaryColorDisabled":null==e?void 0:e.colorButtonPrimaryLabel,"--componentButtonPrimaryFill":null==e?void 0:e.colorButtonPrimary,"--componentButtonPrimaryFillHover":null==e?void 0:e.colorButtonPrimaryHover,"--componentButtonPrimaryFillActive":null!==(n=null==e?void 0:e.colorButtonPrimaryActive)&&void 0!==n?n:null==e?void 0:e.colorButtonPrimaryHover,"--componentButtonPrimaryFillFocus":null==e?void 0:e.colorButtonPrimary}}(e),n=Object.entries(t).map((function(e){return e.join(":")}));return n.join(";")+";"}(e.theme)})));function eI(){var e=Ta()[0],n=Oa(e.page),o=n.value,i=n.isLoading,c=o_(n.setSearch,500),l=r(o),s=l[0],u=l[1];a((function(){u(o)}),[e,o]),a((function(){return function(){c.flush()}}),[e,c]);var d="collections"===e.page?qg("Search for collections"):qg("Search for assets");return t.createElement(nI,{value:s,placeholder:d,"aria-label":d,onChange:function(e){return u(t=e),void c(t);var t},"data-testid":"search-input",icon:t.createElement(js,null),iconRight:i?t.createElement("div",{role:"alert","aria-live":"polite"},t.createElement(Ey,{className:"relative right-0"})):void 0,hasClearButton:!i&&!!o})}var tI,nI=ql(Rm)(tI||(tI=_a(["\n\twidth: 100%;\n\tmax-width: 440px;\n"],["\n\twidth: 100%;\n\tmax-width: 440px;\n"])));function rI(){var e=Ta(),n=e[0],r=e[1];return t.createElement(iI,null,t.createElement(ef,{isPressed:"assets"===n.page,variant:"clean",onClick:function(){return r({page:"assets"})}},qg("Assets")),t.createElement(ef,{isPressed:"collections"===n.page,variant:"clean",onClick:function(){return r({page:"collections"})}},qg("Collections")))}var oI,iI=ql.div(oI||(oI=_a(["\n\tdisplay: inline-flex;\n\tmargin-right: auto;\n\tgap: ",";\n"],["\n\tdisplay: inline-flex;\n\tmargin-right: auto;\n\tgap: ",";\n"])),Dp.spacing2);function aI(){var e,n="authenticated"===(null===(e=i(Dy))||void 0===e?void 0:e.status)||!1,r=ly(),o=Ay(),a=void 0!==Nv().assetFilter;return n||r||!a?t.createElement(sI,null,!a&&t.createElement(t.Fragment,null,t.createElement(rI,null),t.createElement(eI,null)),t.createElement(uI,null,n&&!(null==o?void 0:o.hideLogout)&&t.createElement(ef,{variant:"clean",onClick:function(){return null==o?void 0:o.logout()},rightIcon:t.createElement(zs,null)},qg("Log out")),r&&t.createElement(ef,{variant:"clean",onClick:function(){return r.onClose()},title:qg("Close"),icon:t.createElement(Iu,null)}))):null}var cI,lI,sI=ql.nav(cI||(cI=_a(["\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tbackground: ",";\n\tpadding: "," ",";\n\tz-index: 30;\n"],["\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tbackground: ",";\n\tpadding: "," ",";\n\tz-index: 30;\n"])),Dp.gray10,Dp.spacing5,Dp.spacing4),uI=ql.div(lI||(lI=_a(["\n\tdisplay: inline-flex;\n\tmargin-left: auto;\n"],["\n\tdisplay: inline-flex;\n\tmargin-left: auto;\n"])));function dI(){var e=DS(),n=e.assetTypes,r=e.metaproperties,o=e.tags,i=e.isLimited,a=Oa("assets").value,c=ba("assets")[0],l=Nv(),s=l.assetFilter,u=l.assetTypes,d=l.language,p=Ly(void 0===s?{filter:{assetTypes:n,metaproperties:r,tags:o,isLimited:i},searchTerm:a,orderBy:c,allAssetTypes:u,language:d}:{predefinedFilter:s,orderBy:c,language:d});return t.createElement(y_,{connection:p,showActiveFilters:void 0===s})}function pI(e,t,n){return void 0===n&&(n="\n id\n name\n description\n databaseId\n createdAt\n originalUrl\n publishedAt\n tags\n type\n updatedAt\n url\n extensions\n metaproperties {\n nodes {\n name\n type\n options {\n name\n displayLabel\n }\n }\n }\n textMetaproperties {\n name\n value\n }\n derivatives {\n thumbnail\n webImage\n }\n ... on Video {\n previewUrls\n }\n"),Ca(this,void 0,void 0,(function(){var r;return ka(this,(function(o){switch(o.label){case 0:return[4,Mv("\n fragment AddMediaAsset on Asset {\n ".concat(n,"\n }\n\n query getAssetById($id: ID!) {\n node(id: $id) {\n __typename\n id\n ...on Asset {\n ...AddMediaAsset\n files\n }\n }\n }"),{id:e},t)];case 1:return Av(r=o.sent())?[2,r]:[2,Dv(r.value.node)]}}))}))}function fI(e){return e.replace(/([a-z0-9])([A-Z])/g,(function(e,t,n){return"".concat(t," ").concat(n)}))}function mI(e){var n=e.asset,o=e.onChange,i=r({status:"Loading"}),c=i[0],l=i[1],s=Ay(),u=Nv().assetFieldSelection,d=Uk().transformation;function p(e){l((function(t){return"Data"!==t.status?t:("Custom transformation"===e&&d?setTimeout((function(){return o({url:null==d?void 0:d.url})})):setTimeout((function(){return o(t.files[e])})),xa(xa({},t),{key:e}))}))}return a((function(){var e,t;(null==d?void 0:d.url)&&"Data"===c.status&&p(d.url!==(null===(t=null===(e=c.files)||void 0===e?void 0:e.transformBaseUrl)||void 0===t?void 0:t.url)?"Custom transformation":"transformBaseUrl")}),[d]),a((function(){l({status:"Loading"}),o(void 0),function(e,t,n){return Ca(this,void 0,void 0,(function(){var r;return ka(this,(function(o){switch(o.label){case 0:return[4,pI(e.id,t,n)];case 1:return Ov(r=o.sent())&&r.value.files?[2,Dv(Fv(r.value.files))]:[2,Pv("Error retrieving asset files")]}}))}))}(n,s,u).then((function(e){if(Av(e))return Aa.error(e.error),void l({status:"Failure"});var t=e.value,n=function(e){return"transformBaseUrl"in e?"transformBaseUrl":"original"in e?"original":"webImage"}(t);l({status:"Data",files:t,key:n}),o(t[n])}))}),[n.id,s,u]),t.createElement(yI,null,t.createElement(vv,{title:t.createElement(hI,{state:c}),buttonKind:"secondary",className:"py-2",direction:"Up",disabled:"Loading"===c.status},(function(e){var r,o;return"Data"===c.status&&t.createElement("ul",{className:"overflow-y-auto pb-1 max-h-400"},Object.entries(c.files).map((function(n){var r,o=n[0],i=n[1];return t.createElement(wv,{key:o,className:"px-3 py-2",selected:c.key===o,onClick:function(){p(o),e()}},t.createElement("div",{className:"w-10 h-10 mr-3 bg-ui-500 rounded flex items-center\n\t\t\t\t\t\t\t\t\t\t\t\t\tjustify-center font-semibold text-body-400 text-xs\n\t\t\t\t\t\t\t\t\t\t\t\t\tuppercase","data-testid":"file-extension"},"transformBaseUrl"===o?t.createElement(Ts,{className:"w-6 h-6"}):null!==(r=function(e){if(e){var t=function(e){var t=e.match(/filename=(.*?)&/);if(t){var n=/(?:\.([^.]+))?$/.exec(t[1]);if(n&&n[1])return n[1]}}(e);return t||function(e){var t=e.split("/"),n=t[t.length-1].split(".");if(!(n.length<=1)){var r=n[n.length-1],o=r.indexOf("?");return-1!==o?r.substring(0,o):r}}(e)}}(i.url))&&void 0!==r?r:t.createElement(nu,{className:"w-6 h-6"})),t.createElement("div",{className:"flex-grow w-40"},t.createElement("div",{className:"capitalize text-body-500 truncate"},fI(o)),t.createElement("div",{className:"text-sm"},i.width&&i.height&&"".concat(i.width," x ").concat(i.height," px"),i.width&&i.height&&i.fileSize&&t.createElement("span",{className:"mx-2"},"•"),i.fileSize&&function(e){if(e<1)return"0 Bytes";var t=Math.floor(Math.log(e)/Math.log(1024)),n=(e/Math.pow(1024,t)).toFixed(1),r={0:"Bytes",1:"kB",2:"MB",3:"GB",4:"TB",5:"PB",6:"EB",7:"ZB",8:"YB"}[t];return"".concat(n," ").concat(r)}(i.fileSize))))})),t.createElement(Vk,{transformBaseUrl:null===(o=null===(r=c.files)||void 0===r?void 0:r.transformBaseUrl)||void 0===o?void 0:o.url,toggleDropdown:e,asset:n}))})))}function hI(e){var n=e.state;return"Loading"===n.status?t.createElement(Sv,{width:50,className:"h-4"}):"Data"===n.status?t.createElement(bI,null,"Custom transformation"===n.key&&t.createElement(fu,null),fI(n.key)):t.createElement(t.Fragment,null,"Error")}var gI,vI,yI=ql.div(gI||(gI=_a(["\n\tmargin-right: ",";\n\ttext-transform: capitalize;\n"],["\n\tmargin-right: ",";\n\ttext-transform: capitalize;\n"])),Dp.spacing5),bI=ql.div(vI||(vI=_a(["\n\tdisplay: flex;\n\tgap: ",";\n\talign-items: center;\n"],["\n\tdisplay: flex;\n\tgap: ",";\n\talign-items: center;\n"])),Dp.spacing4);function wI(e){var n=e.status,r=e.numberOfSelectedItems;return"Done"===n?t.createElement(ku,{"data-testid":"check"}):"Error"===n?t.createElement(t.Fragment,null,qg("Retry")):t.createElement(t.Fragment,null,kv(r,qg("Add asset"),qg("Add assets")))}function xI(e){var n,o=Nv(),i=o.assetFieldSelection,l=o.onSuccess,s=o.selectionMode,u=Kk().preselectedAssetIds,d=Ay(),p=c(!0),f=r("SingleSelectFile"===s?{status:"WaitingForFileSelection"}:{status:"Ready"}),m=f[0],h=f[1];function g(e,t){if(Av(e))h({status:"Error"});else{try{var n=Array.isArray(e.value)?e.value:[e.value];n.sort((function(e,t){return function(e,t,n){return n?!n.includes(e.id)&&n.includes(t.id)?1:n.includes(e.id)&&!n.includes(t.id)?-1:n.indexOf(e.id)-n.indexOf(t.id):0}(e,t,u)})),l(n,{selectedFile:t})}catch(e){Aa.error(e)}p.current&&(h({status:"Done"}),setTimeout((function(){p.current&&h({status:"Ready"})}),2e3))}}return a((function(){return function(){p.current=!1}}),[]),t.createElement(t.Fragment,null,"SingleSelectFile"===s&&"asset"===(null===(n=e.selection[0])||void 0===n?void 0:n.type)&&t.createElement(mI,{asset:e.selection[0].value,onChange:function(e){h(void 0===e?{status:"WaitingForFileSelection"}:{status:"ReadyWithFile",file:e})}}),t.createElement(ef,{variant:"primary",isDisabled:"Loading"===m.status||"WaitingForFileSelection"===m.status,onClick:function(){var t,n="ReadyWithFile"===m.status?m.file:void 0;h({status:"Loading"}),"MultiSelect"!==s&&"asset"===(null===(t=e.selection[0])||void 0===t?void 0:t.type)?pI(e.selection[0].value.id,d,i).then((function(e){g(e,n)})):function(e,t,n){return void 0===n&&(n="\n id\n name\n description\n databaseId\n createdAt\n originalUrl\n publishedAt\n tags\n type\n updatedAt\n url\n metaproperties {\n nodes {\n name\n type\n options {\n name\n displayLabel\n }\n }\n }\n textMetaproperties {\n name\n value\n }\n derivatives {\n thumbnail\n webImage\n }\n ... on Video {\n previewUrls\n }\n"),Ca(this,void 0,void 0,(function(){var r,o,i,a,c,l,s,u,d,p,f,m,h,g;return ka(this,(function(v){switch(v.label){case 0:return r="\n fragment AddMediaAsset on Asset {\n ".concat(n,"\n }\n\n query getAssetsById($ids: [ID!]!, $collectionCount: Int) {\n nodes(ids: $ids) {\n __typename\n id\n ...on Asset {\n ...AddMediaAsset\n files\n }\n ...on Collection {\n assets(first: $collectionCount) {\n nodes {\n __typename\n id\n ...AddMediaAsset\n files\n }\n }\n }\n }\n }"),o=e.filter((function(e){return"collection"===e.type})).map((function(e){return e.value.assetCount})),i=o.reduce((function(e,t){return e+t}),0),a={ids:e.map((function(e){return e.value.id})),collectionCount:i},[4,Mv(r,a,t)];case 1:if(Av(c=v.sent()))return[2,c];for(l=[],s=0,u=c.value.nodes;s<u.length;s++)"Collection"===(d=u[s]).__typename?l.push.apply(l,d.assets.nodes):l.push(d);for(p=new Set,f=[],m=0,h=l;m<h.length;m++)g=h[m],p.has(g.id)||(f.push(g),p.add(g.id));return[2,Dv(f)]}}))}))}(e.selection,d,i).then((function(e){g(e,n)}))},"data-testid":"add-button",isLoading:"Loading"===m.status},t.createElement(wI,{status:m.status,numberOfSelectedItems:e.selection.length})))}function EI(e){var n=e.title,r=e.onRemove,o=e.children;return t.createElement("li",{className:"flex flex-1 h-12 border-b last:border-b-0 pl-3 pr-5 py-1 items-center group relative",title:n},t.createElement(S_,{"aria-label":qg("Deselect"),isChecked:!0,onChange:r,"data-testid":"metaproperty-option"},t.createElement(kI,null,o)))}var CI,kI=ql.span(CI||(CI=_a(["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tfont-size: ",";\n"],["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tfont-size: ",";\n"])),Dp.fontSize100);function SI(e){var n=e.asset,r=Kk();return t.createElement(EI,{title:n.name,onRemove:function(){return r.toggleAssets([n])}},t.createElement(II,{variant:"content",imageUrl:YS(n),size:"m"}),t.createElement("span",{className:"w-40 mr-2 truncate"},n.name),KS(n)&&t.createElement("span",{className:"flex-grow text-body-400 text-sm text-right"},KS(n)))}var _I,II=ql(_h)(_I||(_I=_a(["\n\tmargin-right: ",";\n\tmax-width: 40px;\n"],["\n\tmargin-right: ",";\n\tmax-width: 40px;\n"])),Dp.spacing4);function BI(e){var n=e.collection,r=Kk();return t.createElement(EI,{title:n.name,onRemove:function(){return r.toggleCollection(n)}},t.createElement(NI,{variant:"clean",icon:t.createElement(yu,null)}),t.createElement("span",{className:"w-40 mr-2 truncate"},n.name),t.createElement("span",{className:"flex-grow text-body-400 text-sm text-right"},kv(n.assetCount,qg("{} asset"),qg("{} assets"))))}var TI,NI=ql(_h)(TI||(TI=_a(["\n\tmargin-right: ",";\n"],["\n\tmargin-right: ",";\n"])),Dp.spacing4);function zI(e){var n=e.selection;return t.createElement("ul",{className:"flex flex-col py-2 overflow-y-auto max-h-400","data-testid":"selected-items-list"},n.map((function(e){return"asset"===e.type?t.createElement(SI,{key:e.value.id,asset:e.value}):t.createElement(BI,{key:e.value.id,collection:e.value})})))}function DI(){var e=Kk(),n=e.selection,r=e.clear,o=n.length;return 0===o?null:t.createElement(AI,{"data-testid":"selection-footer"},t.createElement(RI,null,t.createElement(vv,{buttonKind:"secondary",direction:"Up",title:qg("View {} selected").replace("{}",o.toString())},(function(){return t.createElement(zI,{selection:n})})),t.createElement(ef,{variant:"clean",onClick:r},qg("Clear selection"))),t.createElement(xI,{selection:n}))}var PI,OI,AI=ql.div(PI||(PI=_a(["\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tz-index: 10;\n\theight: ",";\n\tpadding: ",";\n\talign-items: center;\n\tbox-shadow: 0 -1px 0 0 rgba(0, 34, 51, 0.1), 0 -1px 6px 0 rgba(0, 34, 51, 0.1);\n\tanimation: var(--fade-in-down);\n"],["\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tz-index: 10;\n\theight: ",";\n\tpadding: ",";\n\talign-items: center;\n\tbox-shadow: 0 -1px 0 0 rgba(0, 34, 51, 0.1), 0 -1px 6px 0 rgba(0, 34, 51, 0.1);\n\tanimation: var(--fade-in-down);\n"])),Dp.layoutSpacing5,Dp.spacing6),RI=ql.span(OI||(OI=_a(["\n\tdisplay: flex;\n\tflex-grow: 1;\n\talign-items: center;\n\tgap: ",";\n"],["\n\tdisplay: flex;\n\tflex-grow: 1;\n\talign-items: center;\n\tgap: ",";\n"])),Dp.spacing2);function FI(e){var n=e.assetFieldSelection,r=e.assetFilter,o=e.assetTypes,i=void 0===o?["IMAGE","AUDIO","VIDEO","DOCUMENT","ARCHIVE"]:o,a=e.defaultSearchTerm,c=e.language,l=void 0===c?"en_US":c,s=e.mode,u=void 0===s?"MultiSelect":s,d=e.onSuccess,p=void 0===d?function(e,t){var n=t.selectedFile;return console.log(e,n)}:d,f=e.theme,m=e.hideExternalAccess,h=e.selectedAssets,g=e.hideLimitedUse,v=e.isContainerMode,y=void 0!==v&&v;Kg(l);var b={assetFieldSelection:n,assetFilter:r,assetTypes:i,language:l,onSuccess:p,selectionMode:u,theme:f,hideExternalAccess:m};return t.createElement(Ny,null,t.createElement(Ba,null,t.createElement(ay,{isContainerMode:y},t.createElement(Hk,null,t.createElement(ya,null,t.createElement(TS,{hideLimitedUse:g},t.createElement(Da,{defaultValue:a},t.createElement(Tv,{value:b},t.createElement(qk,{preselectedAssetIds:null!=h?h:[]},t.createElement(Q_,{theme:b.theme}),t.createElement("div",{className:"cv-root cv-container"},t.createElement(aI,null),t.createElement(LI,null),t.createElement(DI,null)))))))))))}function LI(){var e=Ta()[0],n=Nv().assetFilter;return t.createElement(t.Fragment,null,"assets"===e.page&&void 0===n&&t.createElement(K_,null),"assets"===e.page&&t.createElement(dI,null),"collections"===e.page&&t.createElement(IS,null),"collection"===e.page&&t.createElement(w_,{collection:e.collection}))}!function(e={}){if(void 0===e.defaultIntegrations&&(e.defaultIntegrations=ma),void 0===e.release){var t=mr();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);var n,r={...e,stackParser:(n=e.stackParser||Hi,Array.isArray(n)?Zr(...n):n),integrations:ci(e),transport:e.transport||(Qr()?Pi:Oi)};!function(e,t){!0===t.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?Fr.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=Zo(),r=n.getScope();r&&r.update(t.initialScope);var o=new e(t);n.bindClient(o)}(Di,r),e.autoSessionTracking&&function(){if(void 0!==mr().document){var e=Zo();e.captureSession&&(ha(e),oo("history",(({from:e,to:t})=>{void 0!==e&&e!==t&&ha(Zo())})))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Fr.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}({dsn:"https://dd74b64cc05845468f0c3654b458da29@sentry10.bynder.cloud/464",autoSessionTracking:!0,tracesSampleRate:1,defaultIntegrations:!1});export{FI as CompactView,Oy as Login,sy as Modal};
|
|
196
|
+
`;const If={white:"var(--white)","white-rgb":"var(--white-rgb)",gray1000:"var(--gray1000)","gray1000-rgb":"var(--gray1000-rgb)",gray900:"var(--gray900)",gray800:"var(--gray800)",gray700:"var(--gray700)",gray600:"var(--gray600)",gray500:"var(--gray500)",gray400:"var(--gray400)",gray300:"var(--gray300)",gray200:"var(--gray200)",gray100:"var(--gray100)",gray75:"var(--gray75)",gray50:"var(--gray50)",gray25:"var(--gray25)",gray10:"var(--gray10)",blue1000:"var(--blue1000)",blue900:"var(--blue900)",blue800:"var(--blue800)",blue700:"var(--blue700)",blue600:"var(--blue600)",blue500:"var(--blue500)",blue500a10:"var(--blue500a10)",blue400:"var(--blue400)",blue300:"var(--blue300)",blue200:"var(--blue200)",blue100:"var(--blue100)",red400:"var(--red400)",red500:"var(--red500)",red500a10:"var(--red500a10)",red600:"var(--red600)",red700:"var(--red700)",yellow500:"var(--yellow500)",yellow500a10:"var(--yellow500a10)",yellow600:"var(--yellow600)",yellow700:"var(--yellow700)",green500:"var(--green500)",purple1000:"var(--purple1000)",purple900:"var(--purple900)",purple800:"var(--purple800)",purple700:"var(--purple700)",purple600:"var(--purple600)",purple500:"var(--purple500)",purple400:"var(--purple400)",purple300:"var(--purple300)",purple200:"var(--purple200)",purple100:"var(--purple100)",magenta1000:"var(--magenta1000)",magenta900:"var(--magenta900)",magenta800:"var(--magenta800)",magenta700:"var(--magenta700)",magenta600:"var(--magenta600)",magenta500:"var(--magenta500)",magenta400:"var(--magenta400)",magenta300:"var(--magenta300)",magenta200:"var(--magenta200)",magenta100:"var(--magenta100)",teal1000:"var(--teal1000)",teal900:"var(--teal900)",teal800:"var(--teal800)",teal700:"var(--teal700)",teal600:"var(--teal600)",teal500:"var(--teal500)",teal400:"var(--teal400)",teal300:"var(--teal300)",teal200:"var(--teal200)",teal100:"var(--teal100)",brandPrimary700:"var(--brandPrimary700)",brandPrimary600:"var(--brandPrimary600)",brandPrimary500:"var(--brandPrimary500)","brandPrimary500-rgb":"var(--brandPrimary500-rgb)",brandPrimary300:"var(--brandPrimary300)",brandPrimary100:"var(--brandPrimary100)",spacing1:"var(--spacing1)",spacing2:"var(--spacing2)",spacing3:"var(--spacing3)",spacing4:"var(--spacing4)",spacing5:"var(--spacing5)",spacing6:"var(--spacing6)",spacing7:"var(--spacing7)",spacing8:"var(--spacing8)",spacing9:"var(--spacing9)",layoutSpacing1:"var(--layoutSpacing1)",layoutSpacing2:"var(--layoutSpacing2)",layoutSpacing3:"var(--layoutSpacing3)",layoutSpacing4:"var(--layoutSpacing4)",layoutSpacing5:"var(--layoutSpacing5)",layoutSpacing6:"var(--layoutSpacing6)",layoutSpacing7:"var(--layoutSpacing7)",radiusSmall:"var(--radiusSmall)",radiusMedium:"var(--radiusMedium)",radiusLarge:"var(--radiusLarge)",radiusCircle:"var(--radiusCircle)",radiusPill:"var(--radiusPill)",radiusBase:"var(--radiusBase)",brandRadiusBase:"var(--brandRadiusBase)",fontStackBase:"var(--fontStackBase)",brandFontStackBase:"var(--brandFontStackBase)",fontSize25:"var(--fontSize25)",fontSize50:"var(--fontSize50)",fontSize75:"var(--fontSize75)",fontSize100:"var(--fontSize100)",fontSize200:"var(--fontSize200)",fontSize300:"var(--fontSize300)",fontSize400:"var(--fontSize400)",fontSize500:"var(--fontSize500)",fontSize600:"var(--fontSize600)",fontSize700:"var(--fontSize700)",fontSize800:"var(--fontSize800)",fontSize900:"var(--fontSize900)",fontSize1000:"var(--fontSize1000)",fontSizeBase:"var(--fontSizeBase)",lineHeightBase:"var(--lineHeightBase)",lineHeightHeading:"var(--lineHeightHeading)",lineHeightText:"var(--lineHeightText)",gray900a:"var(--gray900a)",gray800a:"var(--gray800a)",gray700a:"var(--gray700a)",gray600a:"var(--gray600a)",gray500a:"var(--gray500a)",gray400a:"var(--gray400a)",gray300a:"var(--gray300a)",gray200a:"var(--gray200a)",gray100a:"var(--gray100a)",gray75a:"var(--gray75a)",gray50a:"var(--gray50a)",gray25a:"var(--gray25a)",colorText:"var(--colorText)",colorTextMuted:"var(--colorTextMuted)",colorTextDisabled:"var(--colorTextDisabled)",focusRingWidth:"var(--focusRingWidth)",focusRingColorPrimary:"var(--focusRingColorPrimary)",focusRingColorSecondary:"var(--focusRingColorSecondary)",colorShadow:"var(--colorShadow)",elevationStatic:"var(--elevationStatic)",elevation1:"var(--elevation1)",elevation2:"var(--elevation2)",elevation4:"var(--elevation4)",elevation8:"var(--elevation8)",elevation12:"var(--elevation12)",elevation16:"var(--elevation16)",elevation24:"var(--elevation24)",componentButtonPrimaryBorderHover:"var(--componentButtonPrimaryBorderHover)",componentButtonPrimaryBorderActive:"var(--componentButtonPrimaryBorderActive)",componentButtonPrimaryBorderFocus:"var(--componentButtonPrimaryBorderFocus)",componentButtonPrimaryBorderDisabled:"var(--componentButtonPrimaryBorderDisabled)",componentButtonPrimaryColor:"var(--componentButtonPrimaryColor)",componentButtonPrimaryColorHover:"var(--componentButtonPrimaryColorHover)",componentButtonPrimaryColorActive:"var(--componentButtonPrimaryColorActive)",componentButtonPrimaryColorFocus:"var(--componentButtonPrimaryColorFocus)",componentButtonPrimaryColorDisabled:"var(--componentButtonPrimaryColorDisabled)",componentButtonPrimaryFill:"var(--componentButtonPrimaryFill)",componentButtonPrimaryFillHover:"var(--componentButtonPrimaryFillHover)",componentButtonPrimaryFillActive:"var(--componentButtonPrimaryFillActive)",componentButtonPrimaryFillFocus:"var(--componentButtonPrimaryFillFocus)",componentButtonPrimaryFillDisabled:"var(--componentButtonPrimaryFillDisabled)",componentButtonPrimaryFocusRing:"var(--componentButtonPrimaryFocusRing)",componentButtonSecondaryBorder:"var(--componentButtonSecondaryBorder)",componentButtonSecondaryBorderHover:"var(--componentButtonSecondaryBorderHover)",componentButtonSecondaryBorderActive:"var(--componentButtonSecondaryBorderActive)",componentButtonSecondaryBorderFocus:"var(--componentButtonSecondaryBorderFocus)",componentButtonSecondaryBorderDisabled:"var(--componentButtonSecondaryBorderDisabled)",componentButtonSecondaryColor:"var(--componentButtonSecondaryColor)",componentButtonSecondaryColorHover:"var(--componentButtonSecondaryColorHover)",componentButtonSecondaryColorActive:"var(--componentButtonSecondaryColorActive)",componentButtonSecondaryColorFocus:"var(--componentButtonSecondaryColorFocus)",componentButtonSecondaryColorDisabled:"var(--componentButtonSecondaryColorDisabled)",componentButtonSecondaryFill:"var(--componentButtonSecondaryFill)",componentButtonSecondaryFillHover:"var(--componentButtonSecondaryFillHover)",componentButtonSecondaryFillActive:"var(--componentButtonSecondaryFillActive)",componentButtonSecondaryFillFocus:"var(--componentButtonSecondaryFillFocus)",componentButtonSecondaryFillDisabled:"var(--componentButtonSecondaryFillDisabled)",componentButtonSecondaryFocusRing:"var(--componentButtonSecondaryFocusRing)",componentButtonCleanBorderFocus:"var(--componentButtonCleanBorderFocus)",componentButtonCleanBorderActive:"var(--componentButtonCleanBorderActive)",componentButtonCleanColor:"var(--componentButtonCleanColor)",componentButtonCleanColorHover:"var(--componentButtonCleanColorHover)",componentButtonCleanColorActive:"var(--componentButtonCleanColorActive)",componentButtonCleanColorFocus:"var(--componentButtonCleanColorFocus)",componentButtonCleanColorDisabled:"var(--componentButtonCleanColorDisabled)",componentButtonCleanFill:"var(--componentButtonCleanFill)",componentButtonCleanFillHover:"var(--componentButtonCleanFillHover)",componentButtonCleanFillActive:"var(--componentButtonCleanFillActive)",componentButtonCleanFillFocus:"var(--componentButtonCleanFillFocus)",componentButtonCleanFillDisabled:"var(--componentButtonCleanFillDisabled)",componentButtonCleanFocusRing:"var(--componentButtonCleanFocusRing)",componentButtonDangerBorderHover:"var(--componentButtonDangerBorderHover)",componentButtonDangerBorderActive:"var(--componentButtonDangerBorderActive)",componentButtonDangerBorderFocus:"var(--componentButtonDangerBorderFocus)",componentButtonDangerBorderDisabled:"var(--componentButtonDangerBorderDisabled)",componentButtonDangerColor:"var(--componentButtonDangerColor)",componentButtonDangerColorHover:"var(--componentButtonDangerColorHover)",componentButtonDangerColorActive:"var(--componentButtonDangerColorActive)",componentButtonDangerColorFocus:"var(--componentButtonDangerColorFocus)",componentButtonDangerColorDisabled:"var(--componentButtonDangerColorDisabled)",componentButtonDangerFill:"var(--componentButtonDangerFill)",componentButtonDangerFillHover:"var(--componentButtonDangerFillHover)",componentButtonDangerFillActive:"var(--componentButtonDangerFillActive)",componentButtonDangerFillFocus:"var(--componentButtonDangerFillFocus)",componentButtonDangerFillDisabled:"var(--componentButtonDangerFillDisabled)",componentButtonDangerFocusRing:"var(--componentButtonDangerFocusRing)",componentDividerColor:"var(--componentDividerColor)",componentCheckboxBorderUnchecked:"var(--componentCheckboxBorderUnchecked)",componentCheckboxBorderUncheckedHover:"var(--componentCheckboxBorderUncheckedHover)",componentCheckboxBorderUncheckedFocus:"var(--componentCheckboxBorderUncheckedFocus)",componentCheckboxFillDisabled:"var(--componentCheckboxFillDisabled)",componentCheckboxCheckmarkColorDisabled:"var(--componentCheckboxCheckmarkColorDisabled)",componentRadioBorderUnchecked:"var(--componentRadioBorderUnchecked)",componentRadioFillDisabled:"var(--componentRadioFillDisabled)",componentRadioCheckmarkColorDisabled:"var(--componentRadioCheckmarkColorDisabled)",componentRadioBorderUncheckedHover:"var(--componentRadioBorderUncheckedHover)"};function Bf({...e}){const{children:n,color:r="brand",hasBorder:o=!1,isPillShaped:i=!1,icon:a,isSmall:c=!1,isSecondary:l=!1}=e;return t.createElement(Tf,{color:r,hasBorder:o,isPillShaped:i,isSecondary:l,isSmall:c,...e},a&&t.createElement(Nf,{isSmall:c},a),n)}const Tf=Gl.div.withConfig({shouldForwardProp:(e,t)=>!["color"].includes(e)&&t(e)}).withConfig({displayName:"BadgeStyled",componentId:"sc-11co88f-0"})(["display:inline-flex;vertical-align:middle;flex-wrap:nowrap;justify-content:center;align-items:center;box-sizing:border-box;height:",";padding:0 ",";border:2px solid transparent;border-radius:",";color:",";font-weight:normal;font-size:",";line-height:normal;",""],(e=>e.isSmall?"20px":"24px"),(e=>e.isSmall?If.spacing2:"6px"),(e=>e.isPillShaped?If.radiusPill:If.radiusMedium),If.white,If.fontSize50,(e=>{if(!e.isSecondary&&e.color){const t={brand:If.brandPrimary500,gray:If.gray400,black:If.gray900,"black-alpha":If.gray600a,blue:If.blue500,red:If.red400};return e.hasBorder?Nl(["border-color:",";color:",";"],t[e.color],t[e.color]):Nl(["background-color:",";"],t[e.color])}if(e.isSecondary)return Nl(["border-color:",";background-color:",";color:",";"],e.hasBorder?If.gray100:"transparent",e.hasBorder?If.white:If.gray100,If.gray800)})),Nf=Gl.div.withConfig({displayName:"IconHolder2",componentId:"sc-11co88f-1"})(["display:flex;align-items:center;height:100%;margin-right:",";margin-left:calc("," * -1);svg{width:18px;height:18px;}"],(e=>e.isSmall?If.spacing1:If.spacing2),If.spacing1),Df=Nl(["color:",";font-size:",";font-family:",";line-height:",";"],If.colorText,If.fontSizeBase,If.brandFontStackBase,If.lineHeightBase);Gl.div.withConfig({displayName:"BaseStyles",componentId:"sc-11co88f-2"})(["",""],Df),Gl.div.withConfig({shouldForwardProp:(e,t)=>!["color"].includes(e)&&t(e)}).withConfig({displayName:"Track1",componentId:"sc-11co88f-3"})(["overflow:hidden;height:4px;border-radius:",";background:",";"],(e=>e.noCornerRadius?"0":If.radiusPill),(e=>"brand"===e.color?If.brandPrimary500:`\n\t\t\t\tlinear-gradient(\n\t\t\t\t\t0deg,\n\t\t\t\t\trgb(${If["white-rgb"]} / 30%),\n\t\t\t\t\trgb(${If["white-rgb"]} / 30%)\n\t\t\t\t),\n\t\t\t\t${If.gray100a}\n\t\t\t`));const zf=ql(["to{transform:translateX(-40px);}"]),Pf=`rgb(${If["white-rgb"]} / 0.15)`,Of=`rgb(${If["gray1000-rgb"]} / 0.15)`;Gl.div.withConfig({displayName:"Fill2",componentId:"sc-11co88f-4"})(["width:calc(100% + 60px);height:100%;background-image:linear-gradient( -45deg,"," 25%,"," 25%,"," 50%,"," 50%,"," 75%,"," 75%,"," );background-size:40px 40px;background-repeat:repeat-x;animation:"," 0.8s linear infinite;"],Pf,Of,Of,Pf,Pf,Of,Of,zf);const Af=Gl.button.withConfig({displayName:"ButtonStyled1",componentId:"sc-11co88f-5"})(["vertical-align:middle;justify-content:center;align-items:center !important;box-sizing:border-box !important;border:1px solid transparent !important;border-radius:",";outline:none !important;font-weight:400 !important;font-style:normal;font-size:"," !important;font-family:"," !important;line-height:"," !important;text-transform:none !important;text-shadow:none !important;cursor:pointer !important;transition-duration:0.1s;transition-property:background-color,border-color,box-shadow,color;button&,a&{position:relative;display:flex;flex:0 0 auto;flex-wrap:nowrap;min-width:40px;background-position:center;text-align:center;text-decoration:none;white-space:nowrap;fill:currentColor;&:focus{display:flex;}}&:disabled{cursor:default !important;pointer-events:none;}"," ",";",""],If.brandRadiusBase,If.fontSizeBase,If.brandFontStackBase,If.lineHeightBase,(e=>e.isFullWidth&&"width: 100%;"),(e=>e.isSmall?Nl(["height:32px !important;padding:0 "," !important;font-size:"," !important;line-height:20px !important;"],If.spacing4,If.fontSize75):Nl(["height:40px !important;padding:0 "," !important;"],If.spacing5)),(e=>{if("primary"===e.variant){const t=Nl(["border-color:",";background-color:",";color:",";box-shadow:none !important;"],If.componentButtonPrimaryBorderActive,If.componentButtonPrimaryFillActive,If.componentButtonPrimaryColorActive);return Nl(["border-color:transparent;background-color:",";color:",";"," &:hover{border-color:",";background-color:",";color:",";box-shadow:"," !important;}&:focus{border-color:",";background-color:",";color:",";box-shadow:"," !important;}&:active{","}&:disabled{border-color:",";background-color:",";color:",";box-shadow:none !important;}"],If.componentButtonPrimaryFill,If.componentButtonPrimaryColor,e.isPressed&&t,If.componentButtonPrimaryBorderHover,If.componentButtonPrimaryFillHover,If.componentButtonPrimaryColorHover,If.elevation1,If.componentButtonPrimaryBorderFocus,If.componentButtonPrimaryFillFocus,If.componentButtonPrimaryColorFocus,If.componentButtonPrimaryFocusRing,t,If.componentButtonPrimaryBorderDisabled,If.componentButtonPrimaryFillDisabled,If.componentButtonPrimaryColorDisabled)}if("secondary"===e.variant){const t=Nl(["border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:none !important;"],If.componentButtonSecondaryBorderActive,If.componentButtonSecondaryFillActive,If.componentButtonSecondaryColorActive);return Nl(["border-color:"," !important;background-color:"," !important;color:"," !important;"," &:hover{border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:"," !important;}&:focus{border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:"," !important;}&:active{","}&:disabled{border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:none !important;}"],If.componentButtonSecondaryBorder,If.componentButtonSecondaryFill,If.componentButtonSecondaryColor,e.isPressed&&t,If.componentButtonSecondaryBorderHover,If.componentButtonSecondaryFillHover,If.componentButtonSecondaryColorHover,If.elevation1,If.componentButtonSecondaryBorderFocus,If.componentButtonSecondaryFillFocus,If.componentButtonSecondaryColorFocus,If.componentButtonSecondaryFocusRing,t,If.componentButtonSecondaryBorderDisabled,If.componentButtonSecondaryFillDisabled,If.componentButtonSecondaryColorDisabled)}if("clean"===e.variant){const t=Nl(["border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:none !important;"],If.componentButtonCleanBorderActive,If.componentButtonCleanFillActive,If.componentButtonCleanColorActive);return Nl(["background-color:"," !important;color:",";"," &:hover{background-color:"," !important;color:"," !important;box-shadow:none !important;}&:focus{border-color:"," !important;color:"," !important;box-shadow:"," !important;}&:active{","}&:disabled{background-color:"," !important;color:"," !important;}"],If.componentButtonCleanFill,If.componentButtonCleanColor,e.isPressed&&t,If.componentButtonCleanFillHover,If.componentButtonCleanColorHover,If.componentButtonCleanBorderFocus,If.componentButtonCleanColorFocus,If.componentButtonCleanFocusRing,t,If.componentButtonCleanFillDisabled,If.componentButtonCleanColorDisabled)}if("danger"===e.variant){const t=Nl(["border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:none !important;"],If.componentButtonDangerBorderActive,If.componentButtonDangerFillActive,If.componentButtonDangerColorActive);return Nl(["border-color:transparent;background-color:"," !important;color:"," !important;box-shadow:"," !important;"," &:hover{border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:"," !important;}&:focus{border-color:"," !important;color:"," !important;box-shadow:"," !important;}&:active{","}&:disabled{border-color:"," !important;background-color:"," !important;color:"," !important;box-shadow:none !important;}"],If.componentButtonDangerFill,If.componentButtonDangerColor,If.elevation1,e.isPressed&&t,If.componentButtonDangerBorderHover,If.componentButtonDangerFillHover,If.componentButtonDangerColorHover,If.elevation2,If.componentButtonDangerBorderFocus,If.componentButtonDangerColorFocus,If.componentButtonDangerFocusRing,t,If.componentButtonDangerBorderDisabled,If.componentButtonDangerFillDisabled,If.componentButtonDangerColorDisabled)}return""})),Rf=Gl.button.withConfig({displayName:"ButtonStyled",componentId:"sc-11co88f-6"})(["display:inline-flex;vertical-align:middle;flex-wrap:nowrap;justify-content:center;align-items:center;box-sizing:border-box;min-width:40px;border:1px solid transparent;border-radius:",";background-color:transparent;outline:none;font-weight:400;font-style:normal;font-size:",";font-family:",";line-height:",";letter-spacing:normal;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;fill:currentColor;transition-duration:0.1s;transition-property:background-color,border-color,box-shadow,color;&:disabled{cursor:default;}"," ",";",""],If.brandRadiusBase,If.fontSizeBase,If.brandFontStackBase,If.lineHeightBase,(e=>e.isFullWidth&&"width: 100%;"),(e=>e.isSmall?Nl(["height:32px;padding:0 ",";font-size:",";line-height:20px;"],If.spacing4,If.fontSize75):Nl(["height:40px;padding:0 ",";"],If.spacing5)),(e=>{if("primary"===e.variant){const t=Nl(["border-color:",";background-color:",";color:",";box-shadow:none;"],If.componentButtonPrimaryBorderActive,If.componentButtonPrimaryFillActive,If.componentButtonPrimaryColorActive);return Nl(["border-color:transparent;background-color:",";color:",";"," &:hover{border-color:",";background-color:",";color:",";box-shadow:",";}&:active{","}"," &:disabled{border-color:",";background-color:",";color:",";box-shadow:none;}"],If.componentButtonPrimaryFill,If.componentButtonPrimaryColor,e.isPressed&&t,If.componentButtonPrimaryBorderHover,If.componentButtonPrimaryFillHover,If.componentButtonPrimaryColorHover,If.elevation1,t,e.isFocusVisible&&Nl(["background-color:",";color:",";&,&:hover{border-color:",";box-shadow:",";}"],If.componentButtonPrimaryFillFocus,If.componentButtonPrimaryColorFocus,If.componentButtonPrimaryBorderFocus,If.componentButtonPrimaryFocusRing),If.componentButtonPrimaryBorderDisabled,If.componentButtonPrimaryFillDisabled,If.componentButtonPrimaryColorDisabled)}if("secondary"===e.variant){const t=Nl(["border-color:",";background-color:",";color:",";box-shadow:none;"],If.componentButtonSecondaryBorderActive,If.componentButtonSecondaryFillActive,If.componentButtonSecondaryColorActive);return Nl(["border-color:",";background-color:",";color:",";"," &:hover{border-color:",";background-color:",";color:",";box-shadow:",";}&:active{","}"," &:disabled{border-color:",";background-color:",";color:",";box-shadow:none;}"],If.componentButtonSecondaryBorder,If.componentButtonSecondaryFill,If.componentButtonSecondaryColor,e.isPressed&&t,If.componentButtonSecondaryBorderHover,If.componentButtonSecondaryFillHover,If.componentButtonSecondaryColorHover,If.elevation1,t,e.isFocusVisible&&Nl(["background-color:",";color:",";&,&:hover{border-color:",";box-shadow:",";}"],If.componentButtonSecondaryFillFocus,If.componentButtonSecondaryColorFocus,If.componentButtonSecondaryBorderFocus,If.componentButtonSecondaryFocusRing),If.componentButtonSecondaryBorderDisabled,If.componentButtonSecondaryFillDisabled,If.componentButtonSecondaryColorDisabled)}if("clean"===e.variant){const t=Nl(["border-color:",";background-color:",";color:",";box-shadow:none;"],If.componentButtonCleanBorderActive,If.componentButtonCleanFillActive,If.componentButtonCleanColorActive);return Nl(["background-color:",";color:",";"," &:hover{background-color:",";color:",";box-shadow:none;}&:active{","}"," &:disabled{background-color:",";color:",";}"],If.componentButtonCleanFill,If.componentButtonCleanColor,e.isPressed&&t,If.componentButtonCleanFillHover,If.componentButtonCleanColorHover,t,e.isFocusVisible&&Nl(["color:",";&,&:hover{border-color:",";box-shadow:",";}"],If.componentButtonCleanColorFocus,If.componentButtonCleanBorderFocus,If.componentButtonCleanFocusRing),If.componentButtonCleanFillDisabled,If.componentButtonCleanColorDisabled)}if("danger"===e.variant){const t=Nl(["border-color:",";background-color:",";color:",";box-shadow:none;"],If.componentButtonDangerBorderActive,If.componentButtonDangerFillActive,If.componentButtonDangerColorActive);return Nl(["border-color:transparent;background-color:",";color:",";box-shadow:",";"," &:hover{border-color:",";background-color:",";color:",";box-shadow:",";}&:active{","}"," &:disabled{border-color:",";background-color:",";color:",";box-shadow:none;}"],If.componentButtonDangerFill,If.componentButtonDangerColor,If.elevation1,e.isPressed&&t,If.componentButtonDangerBorderHover,If.componentButtonDangerFillHover,If.componentButtonDangerColorHover,If.elevation2,t,e.isFocusVisible&&Nl(["background-color:",";color:",";box-shadow:none;&,&:hover{border-color:",";box-shadow:",";}"],If.componentButtonDangerFillFocus,If.componentButtonDangerColorFocus,If.componentButtonDangerBorderFocus,If.componentButtonDangerFocusRing),If.componentButtonDangerBorderDisabled,If.componentButtonDangerFillDisabled,If.componentButtonDangerColorDisabled)}return""})),Mf=Gl.div.withConfig({displayName:"Icon4",componentId:"sc-11co88f-7"})(["display:flex;align-items:center;height:100%;"]),Ff=Gl(Mf).withConfig({displayName:"LeftIcon1",componentId:"sc-11co88f-8"})(["margin-right:",";margin-left:calc("," * -1);"],(e=>e.lastChild?`calc(${If.spacing2} * -1) `:If.spacing3),If.spacing2),Lf=Gl(Mf).withConfig({displayName:"RightIcon2",componentId:"sc-11co88f-9"})(["margin-right:calc("," * -1);margin-left:",";"],If.spacing2,If.spacing3);function jf(){return t.createElement(Vf,{viewBox:"0 0 24 24","aria-hidden":"true"},t.createElement($f,{cx:"12",cy:"12",r:"8",fill:"none",strokeWidth:"3"}))}const Hf=ql(["100%{transform:rotate(360deg);}"]),Uf=ql(["0%{stroke-dasharray:1,100;stroke-dashoffset:0;}50%{stroke-dasharray:80,100;stroke-dashoffset:-20;}100%{stroke-dasharray:80,100;stroke-dashoffset:-48;}"]),Vf=Gl.svg.withConfig({displayName:"Svg",componentId:"sc-11co88f-10"})(["width:24px;height:24px;animation:"," 1s linear infinite;"],Hf),$f=Gl.circle.withConfig({displayName:"Circle",componentId:"sc-11co88f-11"})(["stroke:currentColor;animation:"," 1.5s ease-in-out infinite;stroke-linecap:round;"],Uf),Wf=d((({children:e,className:n="",rightIcon:r,type:o="button","aria-label":i,isFullWidth:a=!1,icon:c,variant:l="secondary",isSmall:s=!1,isDisabled:u=!1,isPressed:d=!1,isLoading:p=!1,...f},m)=>{const h=function({variant:e,isSmall:t,icon:n,isDisabled:r,className:o=""}){return[o,"action-btn","secondary"===e||"clean"===e?"cancel gray":"cta-main blue",t?"button-small":"",n?"button-icon":"",r?"disabled":""].join(" ")}({className:n,variant:l,isSmall:s,icon:c,isDisabled:u});return t.createElement(Af,{"aria-label":i||f.title,className:h,disabled:u||p,type:o,variant:l,isPressed:d,isSmall:s,isFullWidth:a,as:f.href?"a":"button",ref:m,...f},p?t.createElement(t.Fragment,null,t.createElement(Ff,{lastChild:!e},t.createElement(jf,null)),e):t.createElement(t.Fragment,null,c&&t.createElement(Ff,{lastChild:!e},c),e,r&&t.createElement(Lf,null,r)))})),Yf=n("modern"),qf=d((({children:e,variant:n="secondary",isSmall:r=!1,icon:o,rightIcon:i,isDisabled:a=!1,isLoading:c=!1,type:l="button",...s},u)=>{const{isFocusVisible:d,focusProps:p}=Cs();return t.createElement(Rf,{variant:n,isSmall:r,disabled:c||a,type:l,as:s.href?"a":"button",isFocusVisible:d,ref:u,...p,...s},c?t.createElement(t.Fragment,null,t.createElement(Ff,{"data-testid":"ds-button-loading-icon",lastChild:!e},t.createElement(jf,null)),e):t.createElement(t.Fragment,null,o&&t.createElement(Ff,{lastChild:!e},o),e,i&&t.createElement(Lf,null,i)))})),Gf=d(((e,n)=>"legacy"===(i(Yf)||"modern")?t.createElement(Wf,{ref:n,...e}):t.createElement(qf,{ref:n,...e}))),Xf=Object.assign(Gf,{VersionProvider:Yf.Provider}),Kf=n(null);function Zf(){const e=i(Kf);if(!e)throw new Error("Card compound components cannot be rendered outside the Card component");return e}const Jf=Gl.div.withConfig({shouldForwardProp:(e,t)=>!["height"].includes(e)&&t(e)}).withConfig({displayName:"FrameStyled",componentId:"sc-11co88f-12"})(["position:relative;min-height:92px;border-radius:var(--card-frame-border-radius);background:",";",""],(e=>e.isCheckeredBackground?"url(\"data:image/svg+xml,%3Csvg width='12' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Crect height='12' width='12' y='0' x='0' fill='%23ffffff'/%3E%3Crect height='6' width='6' y='0' x='0' fill='%23e9ecee'/%3E%3Crect height='6' width='6' y='6' x='6' fill='%23e9ecee'/%3E%3C/svg%3E%0A\") ":If.gray25),(e=>"fixed"===e.height&&Nl(["&::before{content:'';display:inline-block;vertical-align:top;width:0;height:0;padding-bottom:calc(100% / (16 / 10));}"]))),Qf=Gl.div.withConfig({displayName:"FocusRing",componentId:"sc-11co88f-13"})(["position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border:var(--card-selected-border-width) solid var(--card-selected-border-color);border-radius:calc(var(--card-border-radius) + 4px);"]),em=Gl.div.withConfig({shouldForwardProp:(e,t)=>!["height"].includes(e)&&t(e)}).withConfig({displayName:"Children",componentId:"sc-11co88f-14"})([""," display:grid;overflow:hidden;border-radius:var(--card-frame-border-radius);"],(e=>"fixed"===e.height&&Nl(["position:absolute;inset:0;"]))),tm=Gl.div.withConfig({displayName:"Overlay1",componentId:"sc-11co88f-15"})(["position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border:var(--card-inner-border-width) solid var(--card-inner-border-color);border-bottom-width:var(--card-frame-border-bottom-width);border-radius:var(--card-frame-border-radius);background:var(--card-frame-overlay-color);"]),nm=Gl.div.withConfig({displayName:"BadgeContainer",componentId:"sc-11co88f-16"})(["position:absolute;right:",";bottom:",";"],If.spacing4,If.spacing4),rm=Gl.div.withConfig({displayName:"IconContainer4",componentId:"sc-11co88f-17"})(["position:absolute;bottom:",";left:",";color:",";path{stroke:",";stroke-width:2px;paint-order:stroke;&[d='M0 0h24v24H0z']{stroke:none;}}"],If.spacing4,If.spacing4,If.white,If.gray100a),om=Gl.div.withConfig({displayName:"ProgressContainer",componentId:"sc-11co88f-18"})(["position:absolute;bottom:0;left:0;width:100%;"]),im={paragraphS:Nl(["font-weight:normal;font-size:",";line-height:",";"],If.fontSize75,If.lineHeightText),paragraphM:Nl(["font-weight:normal;font-size:",";line-height:",";"],If.fontSize100,If.lineHeightText),paragraphL:Nl(["font-weight:normal;font-size:",";line-height:",";"],If.fontSize200,If.lineHeightText),uiTextXS:Nl(["font-weight:normal;font-size:",";line-height:20px;"],If.fontSize50),uiTextS:Nl(["font-weight:normal;font-size:",";line-height:20px;"],If.fontSize75),uiTextM:Nl(["font-weight:normal;font-size:",";line-height:20px;"],If.fontSize100),uiTextL:Nl(["font-weight:normal;font-size:",";line-height:24px;"],If.fontSize200),headingXS:Nl(["font-weight:600;font-size:",";line-height:",";"],If.fontSize100,If.lineHeightHeading),headingS:Nl(["font-weight:600;font-size:",";line-height:",";"],If.fontSize200,If.lineHeightHeading),headingM:Nl(["font-weight:normal;font-size:",";line-height:",";"],If.fontSize400,If.lineHeightHeading),headingL:Nl(["font-weight:normal;font-size:",";line-height:",";"],If.fontSize600,If.lineHeightHeading),headingXL:Nl(["font-weight:normal;font-size:",";line-height:",";"],If.fontSize800,If.lineHeightHeading),headingXXL:Nl(["font-weight:normal;font-size:",";line-height:",";"],If.fontSize1000,If.lineHeightHeading)};function am({children:e,direction:n="row",wrap:r="nowrap",justifyContent:o="flex-start",alignItems:i="stretch",gap:a,...c}){return t.createElement(cm,{direction:n,wrap:r,justifyContent:o,alignItems:i,gap:a,...c},e)}const cm=Gl.div.withConfig({shouldForwardProp:(e,t)=>!["direction","wrap"].includes(e)&&t(e)}).withConfig({displayName:"FlexStyled",componentId:"sc-11co88f-19"})(["display:flex;flex-direction:",";flex-wrap:",";gap:",";justify-content:",";align-items:",";box-sizing:border-box;width:100%;height:100%;"],(e=>e.direction),(e=>e.wrap),(e=>If[`spacing${e.gap}`]),(e=>e.justifyContent),(e=>e.alignItems));function lm(e){if(!/^#([\da-f]{3}){1,2}$/i.test(e))throw new Error(`Invalid HEX to RGB conversion: ${e}`);let t,n,r;return 4===e.length?(t="0x"+e[1]+e[1],n="0x"+e[2]+e[2],r="0x"+e[3]+e[3]):7===e.length?(t="0x"+e[1]+e[2],n="0x"+e[3]+e[4],r="0x"+e[5]+e[6]):(t="",n="",r=""),`${Number(t)} ${Number(n)} ${Number(r)}`}const sm={"--white":"#ffffff","--white-rgb":lm("#ffffff"),"--gray1000":"#002233","--gray1000-rgb":lm("#002233"),"--gray900":"#1a3847","--gray800":"#334e5c","--gray700":"#4d6470","--gray600":"#667a85","--gray500":"#809199","--gray400":"#99a7ad","--gray300":"#b3bdc2","--gray200":"#ccd3d6","--gray100":"#e6e9eb","--gray75":"#ebedef","--gray50":"#f2f4f5","--gray25":"#f7f8f9","--gray10":"#ffffff","--blue1000":"#001f33","--blue900":"#003d66","--blue800":"#005c99","--blue700":"#007acc","--blue600":"#008ae6","--blue500":"#0099ff","--blue500-rgb":lm("#0099ff"),"--blue500a10":"rgb(var(--blue500-rgb) / 10%)","--blue400":"#1aa3ff","--blue300":"#33adff","--blue200":"#80ccff","--blue100":"#ccebff","--red400":"#f45225","--red500":"#f23e0d","--red500-rgb":lm("#f23e0d"),"--red500a10":"rgb(var(--red500-rgb) / 10%)","--red500a50":"rgb(var(--red500-rgb) / 50%)","--red600":"#da380b","--red700":"#c2320a","--yellow500":"#fea900","--yellow500-rgb":lm("#fea900"),"--yellow500a10":"rgb(var(--yellow500-rgb) / 10%)","--yellow600":"#e59800","--yellow700":"#cb8700","--green500":"#72d400","--purple1000":"#15122e","--purple900":"#1f1b44","--purple800":"#2a245c","--purple700":"#40378a","--purple600":"#5549b8","--purple500":"#6b5ce6","--purple400":"#978ced","--purple300":"#c3bdf5","--purple200":"#e1defa","--purple100":"#f7f6fd","--magenta1000":"#2e0d18","--magenta900":"#451424","--magenta800":"#5c1b30","--magenta700":"#8a2949","--magenta600":"#b83761","--magenta500":"#e6457a","--magenta400":"#eb6a94","--magenta300":"#f5b4c9","--magenta200":"#fad9e4","--magenta100":"#fdf5f8","--teal1000":"#062822","--teal900":"#0a3c32","--teal800":"#0d5144","--teal700":"#147a66","--teal600":"#1ba388","--teal500":"#22ccaa","--teal400":"#64dbc3","--teal300":"#a6eadd","--teal200":"#d2f4ee","--teal100":"#f3fcfa","--brandPrimary700":fm("brandPrimary700","#0087e0"),"--brandPrimary600":fm("brandPrimary600","#0095eb"),"--brandPrimary500":fm("brandPrimary500","#00aaff"),"--brandPrimary500-rgb":fm("brandPrimary500-rgb",lm("#00aaff")),"--brandPrimary300":fm("brandPrimary300","#b3e6ff"),"--brandPrimary100":fm("brandPrimary100","#e5f7ff"),"--spacing1":"2px","--spacing2":"4px","--spacing3":"8px","--spacing4":"12px","--spacing5":"16px","--spacing6":"24px","--spacing7":"32px","--spacing8":"40px","--spacing9":"48px","--layoutSpacing1":"16px","--layoutSpacing2":"24px","--layoutSpacing3":"32px","--layoutSpacing4":"48px","--layoutSpacing5":"64px","--layoutSpacing6":"96px","--layoutSpacing7":"160px","--radiusSmall":"2px","--radiusMedium":"5px","--radiusLarge":"8px","--radiusCircle":"50%","--radiusPill":"9999px","--radiusBase":"var(--radiusMedium)","--brandRadiusBase":"var(--radiusBase)","--fontStackBase":"Source Sans Pro, SourceSansPro, system-ui, sans-serif","--brandFontStackBase":"inherit","--fontSize25":"10px","--fontSize50":"12px","--fontSize75":"14px","--fontSize100":"16px","--fontSize200":"18px","--fontSize300":"20px","--fontSize400":"22px","--fontSize500":"25px","--fontSize600":"28px","--fontSize700":"32px","--fontSize800":"36px","--fontSize900":"40px","--fontSize1000":"45px","--fontSizeBase":"var(--fontSize100)","--lineHeightBase":"1.25","--lineHeightHeading":"1.25","--lineHeightText":"1.5","--gray900a":"rgb(var(--gray1000-rgb) / 90%)","--gray800a":"rgb(var(--gray1000-rgb) / 80%)","--gray700a":"rgb(var(--gray1000-rgb) / 70%)","--gray600a":"rgb(var(--gray1000-rgb) / 60%)","--gray500a":"rgb(var(--gray1000-rgb) / 50%)","--gray400a":"rgb(var(--gray1000-rgb) / 40%)","--gray300a":"rgb(var(--gray1000-rgb) / 30%)","--gray200a":"rgb(var(--gray1000-rgb) / 20%)","--gray100a":"rgb(var(--gray1000-rgb) / 10%)","--gray75a":"rgb(var(--gray1000-rgb) / 7%)","--gray50a":"rgb(var(--gray1000-rgb) / 5%)","--gray25a":"rgb(var(--gray1000-rgb) / 3%)","--colorText":"var(--gray800)","--colorTextMuted":"var(--gray600)","--colorTextDisabled":"var(--gray400)","--focusRingWidth":"2px","--focusRingColorPrimary":"var(--blue500)","--focusRingColorSecondary":"var(--gray200)","--colorShadow":"var(--gray100a)","--elevationStatic":"0 0 0 1px var(--colorShadow)","--elevation1":"0 1px 4px -1px var(--colorShadow)","--elevation2":"0 2px 4px -1px var(--colorShadow)","--elevation4":"0 4px 6px -2px var(--colorShadow)","--elevation8":"0 8px 12px -2px var(--colorShadow)","--elevation12":"0 12px 12px -2px var(--colorShadow)","--elevation16":"0 16px 12px -2px var(--colorShadow)","--elevation24":"0 24px 12px -2px var(--colorShadow)","--componentButtonPrimaryBorderHover":"var(--brandPrimary600)","--componentButtonPrimaryBorderActive":"var(--brandPrimary700)","--componentButtonPrimaryBorderFocus":"var(--brandPrimary500)","--componentButtonPrimaryBorderDisabled":"transparent","--componentButtonPrimaryColor":"var(--white)","--componentButtonPrimaryColorHover":"var(--white)","--componentButtonPrimaryColorActive":"var(--white)","--componentButtonPrimaryColorFocus":"var(--white)","--componentButtonPrimaryColorDisabled":"var(--white)","--componentButtonPrimaryFill":"var(--brandPrimary500)","--componentButtonPrimaryFillHover":"var(--brandPrimary600)","--componentButtonPrimaryFillActive":"var(--brandPrimary700)","--componentButtonPrimaryFillFocus":"var(--brandPrimary500)","--componentButtonPrimaryFillDisabled":"var(--brandPrimary300)","--componentButtonPrimaryFocusRing":"0 0 0 3px rgb(var(--brandPrimary500-rgb) / 30%)","--componentButtonSecondaryBorder":"var(--gray100)","--componentButtonSecondaryBorderHover":"var(--gray200)","--componentButtonSecondaryBorderActive":"var(--gray300)","--componentButtonSecondaryBorderFocus":"var(--gray300)","--componentButtonSecondaryBorderDisabled":"var(--gray50)","--componentButtonSecondaryColor":"var(--gray800)","--componentButtonSecondaryColorHover":"var(--gray800)","--componentButtonSecondaryColorActive":"var(--gray800)","--componentButtonSecondaryColorFocus":"var(--gray800)","--componentButtonSecondaryColorDisabled":"var(--gray300)","--componentButtonSecondaryFill":"var(--gray25)","--componentButtonSecondaryFillHover":"var(--gray50)","--componentButtonSecondaryFillActive":"var(--gray75)","--componentButtonSecondaryFillFocus":"var(--gray25)","--componentButtonSecondaryFillDisabled":"var(--gray25)","--componentButtonSecondaryFocusRing":"0 0 0 3px var(--gray50a)","--componentButtonCleanBorderFocus":"var(--gray200)","--componentButtonCleanBorderActive":"transparent","--componentButtonCleanColor":"var(--gray600)","--componentButtonCleanColorHover":"var(--gray900)","--componentButtonCleanColorActive":"var(--gray900)","--componentButtonCleanColorFocus":"var(--gray900)","--componentButtonCleanColorDisabled":"var(--gray300)","--componentButtonCleanFill":"transparent","--componentButtonCleanFillHover":"var(--gray25a)","--componentButtonCleanFillActive":"var(--gray50a)","--componentButtonCleanFillFocus":"var(--gray25a)","--componentButtonCleanFillDisabled":"transparent","--componentButtonCleanFocusRing":"0 0 0 3px var(--gray50a)","--componentButtonDangerBorderHover":"var(--red600)","--componentButtonDangerBorderActive":"var(--red700)","--componentButtonDangerBorderFocus":"var(--red500)","--componentButtonDangerBorderDisabled":"transparent","--componentButtonDangerColor":"var(--white)","--componentButtonDangerColorHover":"var(--white)","--componentButtonDangerColorActive":"var(--white)","--componentButtonDangerColorFocus":"var(--white)","--componentButtonDangerColorDisabled":"var(--white)","--componentButtonDangerFill":"var(--red500)","--componentButtonDangerFillHover":"var(--red600)","--componentButtonDangerFillActive":"var(--red700)","--componentButtonDangerFillFocus":"var(--red500)","--componentButtonDangerFillDisabled":"var(--red500a50)","--componentButtonDangerFocusRing":"0 0 0 3px rgb(var(--red500-rgb) / 30%)","--componentDividerColor":"var(--gray100a)","--componentCheckboxBorderUnchecked":"var(--gray300)","--componentCheckboxBorderUncheckedHover":"var(--gray500)","--componentCheckboxBorderUncheckedFocus":"var(--gray500)","--componentCheckboxFillDisabled":"var(--gray100)","--componentCheckboxCheckmarkColorDisabled":"var(--gray500)","--componentRadioBorderUnchecked":"var(--gray300)","--componentRadioFillDisabled":"var(--gray100)","--componentRadioCheckmarkColorDisabled":"var(--gray500)","--componentRadioBorderUncheckedHover":"var(--gray500)"},um={"--gray1000":"#ffffff","--gray1000-rgb":lm("#ffffff"),"--gray900":"#e6e9eb","--gray800":"#ccd3d6","--gray700":"#b3bdc2","--gray600":"#99a7ad","--gray500":"#809199","--gray400":"#667a85","--gray300":"#4d6470","--gray200":"#334e5c","--gray100":"#1a3847","--gray75":"#123141","--gray50":"#0d2d3d","--gray25":"#082939","--gray10":"#002233","--componentDividerColor":"var(--gray100a)","--focusRingColorSecondary":"var(--gray200a)","--componentCheckboxBorderUnchecked":"var(--gray300a)","--componentCheckboxBorderUncheckedHover":"var(--gray500a)","--componentCheckboxBorderUncheckedFocus":"var(--gray500a)","--componentCheckboxFillDisabled":"var(--gray100a)","--componentCheckboxCheckmarkColorDisabled":"var(--gray500a)","--componentRadioBorderUnchecked":"var(--gray300a)","--componentRadioFillDisabled":"var(--gray100a)","--componentRadioCheckmarkColorDisabled":"var(--gray500a)","--componentRadioBorderUncheckedHover":"var(--gray500a)"},dm=Yl(["",""],Nl([":root,:host,.",",.","{","}.","{","}"],"ds-light-theme","ds-dark-theme",pm(sm),"ds-dark-theme",pm(um)));function pm(e){const t=Object.entries(e).map((e=>e.join(":")));return t.join(";")+";"}function fm(e,t){return`var(--user-${e}, var(--theme-${e}, ${t}))`}const mm={size:"24px",attr:{"aria-hidden":"true"},style:{verticalAlign:"middle"}},hm=t.createContext({zIndexBase:1031});function gm({children:e,noTheme:n,zIndexBase:r=1031,buttonVersion:i="modern",dateFnsLocale:a}){const c=o((()=>({zIndexBase:r,dateFnsLocale:a})),[a,r]);return t.createElement(hm.Provider,{value:c},t.createElement(Ss.Provider,{value:mm},t.createElement(Xf.VersionProvider,{value:i},!n&&t.createElement(dm,null),e)))}const vm=["modal","datepicker","dropdown","tooltip"];function ym(e){return i(hm).zIndexBase+vm.indexOf(e)}function bm({position:e="top-center",timing:n="instant",className:o,...i}){const[l,s]=function(e){var t=void 0===e?{}:e,n=t.delayEnter,o=void 0===n?0:n,i=t.delayLeave,l=void 0===i?0:i,s=t.hideOnScroll,d=void 0===s||s,p=r(!1),f=p[0],m=p[1],h=c(null),g=c(cd.IDLE),v=c(!1),y=u((function(){clearTimeout(h.current),h.current=null,g.current=cd.IDLE}),[]);function b(e,t){if(g.current===cd.ENTERING&&h.current&&y(),f){if(t)return m(!1),h.current=null,void(g.current=cd.IDLE);g.current=cd.LEAVING,h.current=window.setTimeout((function(){m(!1),h.current=null,g.current=cd.IDLE}),l)}}return a((function(){function e(){f&&d&&(y(),m(!1))}function t(){f&&(y(),m(!1))}return window.addEventListener("scroll",e,!0),window.addEventListener("touchend",t,!0),function(){window.removeEventListener("scroll",e,!0),window.removeEventListener("touchend",t,!0),h.current&&clearTimeout(h.current)}}),[f,d,y]),[f,{onMouseEnter:function(){g.current===cd.LEAVING&&h.current&&y(),f||(g.current=cd.ENTERING,h.current=window.setTimeout((function(){m(!0),h.current=null,g.current=cd.IDLE}),o))},onMouseLeave:b,onTouchStart:function(){v.current=!1},onTouchMove:function(){v.current=!0},onTouchEnd:function(){v.current||f||m(!0),v.current=!1}},function(){return b(0,!0)}]}({delayEnter:"delay"===n?800:0}),{isFocusVisible:d,focusProps:p}=Cs(),f=ym("tooltip"),m=void 0===i.isOpen?l||d:i.isOpen,{triggerProps:h,layerProps:g,renderLayer:v}=vd({isOpen:m,auto:!0,snap:!0,placement:wm(e),possiblePlacements:xm(e),triggerOffset:8,containerOffset:8}),y="icon"in i?t.createElement(am,{alignItems:"center"},t.createElement(Cm,null,i.icon)," ",i.content):"label"in i&&i.isLabelVertical?t.createElement("div",null,t.createElement(Sm,null,i.label),t.createElement("div",null,i.content)):"label"in i&&!i.isLabelVertical?t.createElement(t.Fragment,null,t.createElement(km,null,i.label)," ",i.content):i.content;return t.createElement(t.Fragment,null,"function"==typeof i.children?i.children({...h,...s,...p}):t.createElement("div",{...h,...s,...p},i.children),m&&v(t.createElement(Em,{...g,zIndex:f,className:o},y)))}function wm(e){return{"top-left":"top-start","top-center":"top-center","top-right":"top-end",left:"left-center",right:"right-center","bottom-left":"bottom-start","bottom-center":"bottom-center","bottom-right":"bottom-end"}[e]}function xm(e){const t=["top-center","bottom-center"],n=["left-center","right-center"],r=["top-end","top-start","bottom-end","bottom-start"];return{"top-left":r,"top-center":t,"top-right":r,left:n,right:n,"bottom-left":r,"bottom-center":t,"bottom-right":r}[e]}const Em=Gl.div.withConfig({displayName:"TooltipContainer",componentId:"sc-11co88f-20"})([""," z-index:",";display:flex;max-width:240px;padding:calc("," / 2) ",";border-radius:",";background:",";color:",";word-break:break-word;"],im.uiTextS,(e=>e.zIndex),If.spacing4,If.spacing4,If.radiusBase,If.gray900a,If.gray10),Cm=Gl.span.withConfig({displayName:"IconContainer3",componentId:"sc-11co88f-21"})(["display:flex;align-items:center;width:24px;height:24px;margin:-"," "," -"," -",";color:",";"],If.spacing1,If.spacing2,If.spacing1,If.spacing2,If.gray400),km=Gl.span.withConfig({displayName:"LabelContainer",componentId:"sc-11co88f-22"})(["margin-right:",";color:",";"],If.spacing2,If.gray400),Sm=Gl.div.withConfig({displayName:"VerticalLabelContainer",componentId:"sc-11co88f-23"})(["color:",";"],If.gray400);function _m({children:e,tooltipPosition:n="top-left"}){const[i,s]=r(!1),d=c(null);function p(){if(d.current){const e=d.current.offsetWidth<d.current.scrollWidth;s(e)}}return function(e){void 0===e&&(e={});var t=e.onResize,n=c(void 0);n.current=t;var i=e.round||Math.round,l=c(),s=r({width:void 0,height:void 0}),d=s[0],p=s[1],f=c(!1);a((function(){return f.current=!1,function(){f.current=!0}}),[]);var m=c({width:void 0,height:void 0}),h=function(e,t){var n=c(null),r=c(null);r.current=t;var o=c(null);a((function(){i()}));var i=u((function(){var t=o.current,i=r.current,a=t||(i?i instanceof Element?i:i.current:null);n.current&&n.current.element===a&&n.current.subscriber===e||(n.current&&n.current.cleanup&&n.current.cleanup(),n.current={element:a,subscriber:e,cleanup:a?e(a):void 0})}),[e]);return a((function(){return function(){n.current&&n.current.cleanup&&(n.current.cleanup(),n.current=null)}}),[]),u((function(e){o.current=e,i()}),[i])}(u((function(t){return l.current&&l.current.box===e.box&&l.current.round===i||(l.current={box:e.box,round:i,instance:new ResizeObserver((function(t){var r=t[0],o="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",a=Ou(r,o,"inlineSize"),c=Ou(r,o,"blockSize"),l=a?i(a):void 0,s=c?i(c):void 0;if(m.current.width!==l||m.current.height!==s){var u={width:l,height:s};m.current.width=l,m.current.height=s,n.current?n.current(u):f.current||p(u)}}))}),l.current.instance.observe(t,{box:e.box}),function(){l.current&&l.current.instance.unobserve(t)}}),[e.box,i]),e.ref);o((function(){return{ref:h,width:d.width,height:d.height}}),[h,d.width,d.height])}({ref:d,onResize:()=>{p()}}),l((()=>{p()}),[]),t.createElement(Im,{ref:d},i?t.createElement(bm,{content:e,position:n,timing:"delay"},(n=>t.createElement("span",{...n},e))):e)}const Im=Gl.span.withConfig({displayName:"StyledText",componentId:"sc-11co88f-24"})(["display:block;overflow:hidden;min-width:0;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;"]),Bm=Gl.div.withConfig({displayName:"HeaderStyled1",componentId:"sc-11co88f-25"})(["display:grid;grid-template-areas:'thumbnail title icon' 'thumbnail detail icon';grid-template-columns:auto 1fr auto;padding:var(--card-content-padding);"]),Tm=Gl.div.withConfig({displayName:"ThumbnailContainer3",componentId:"sc-11co88f-26"})(["grid-area:thumbnail;margin-top:2px;margin-right:",";"],If.spacing4),Nm=Gl.div.withConfig({displayName:"Title4",componentId:"sc-11co88f-27"})([""," grid-area:title;min-width:0;color:",";overflow-wrap:break-word;"],im.uiTextM,If.gray800),Dm=Gl.div.withConfig({displayName:"Detail",componentId:"sc-11co88f-28"})([""," grid-area:detail;min-width:0;margin-top:",";color:",";overflow-wrap:break-word;"],im.uiTextS,If.spacing2,If.gray600),zm=Gl.div.withConfig({displayName:"IconContainer2",componentId:"sc-11co88f-29"})(["z-index:2;display:grid;grid-area:icon;align-items:center;margin-left:",";color:",";"],If.spacing2,If.gray600),Pm=Gl.div.withConfig({displayName:"AdditionalInfoStyled",componentId:"sc-11co88f-30"})([""," padding:",";border-top:1px solid ",";color:",";"],im.uiTextS,(e=>"all"===e.padding?"var(--card-content-padding)":"0"),If.gray100a,If.colorText),Om=d((({children:e,isDisabled:n=!1,isPressed:r=!1,tooltip:o,"aria-label":i,...a},c)=>{const{isFocusVisible:l,focusProps:s}=Cs(),u=t.createElement(Am,{disabled:n,type:"button",isFocusVisible:l,ref:c,isPressed:r,"aria-label":i,...s,...a},e);return o?t.createElement(bm,{timing:"delay",content:o},u):u})),Am=Gl.button.withConfig({displayName:"ContextActionButtonStyled",componentId:"sc-11co88f-31"})(["display:inline-flex;vertical-align:middle;flex-wrap:nowrap;justify-content:center;align-items:center;box-sizing:border-box;min-width:40px;height:32px;padding:0 ",";border:none;border-radius:",";background-color:transparent;box-shadow:0 0 0 1px ",";font-weight:400;font-style:normal;font-size:",";font-family:",";line-height:",";letter-spacing:normal;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;fill:currentColor;transition-duration:0.1s;transition-property:background-color,border-color,box-shadow,color;",""],If.spacing3,If.brandRadiusBase,If.gray100a,If.fontSize75,If.brandFontStackBase,If.lineHeightBase,(e=>{const t=Nl(["background-color:",";color:",";box-shadow:0 0 0 1px ",";"],If.gray10,If.gray800,If.gray100a);return Nl(["background-color:rgb("," / 90%);color:",";"," &:hover{background-color:",";color:",";box-shadow:",",",";}&:active{","}&:disabled{background-color:rgb("," / 70%);color:",";box-shadow:0 0 0 1px ",";cursor:default;}"],If["white-rgb"],If.gray600a,e.isPressed&&t,If.gray10,If.gray800,If.elevation1,If.elevationStatic,t,If["white-rgb"],If.gray200a,If.gray100a)})),Rm=Gl.div.withConfig({displayName:"ImagesStyled",componentId:"sc-11co88f-32"})(["display:grid;grid-template-rows:1fr 1fr;grid-template-columns:3fr 2fr;gap:",";min-height:10px;"],If.spacing1),Mm=Gl.img.withConfig({displayName:"ImgStyled",componentId:"sc-11co88f-33"})(["object-fit:",";width:100%;height:100%;min-height:0;max-height:410px;&:nth-child(1){grid-row:1 / -1;grid-column:1;}&:nth-child(1):last-child{grid-column:span 2;}&:nth-child(2){grid-row:1;grid-column:2;}&:nth-child(2):last-child{grid-row:span 2;}&:nth-child(3){grid-row:2;grid-column:2;}"],(e=>"fill"===e.contentResize?"cover":"scale-down"));function Fm({children:e,...n}){return t.createElement(Lm,{...n},t.createElement(jm,null,e))}const Lm=Gl.div.withConfig({displayName:"Placeholder1",componentId:"sc-11co88f-34"})(["display:grid;place-items:center;min-height:100px;"]),jm=Gl.div.withConfig({displayName:"IconContainer1",componentId:"sc-11co88f-35"})(["display:grid;place-items:center;width:60px;height:70px;border-radius:",";background:",";color:",";"],If.brandRadiusBase,If.gray10,If.gray600);function Hm(e){return o((()=>e+"-"+yd()),[e])}const Um=Gl.div.withConfig({displayName:"Placeholder",componentId:"sc-11co88f-36"})(["display:flex;justify-content:center;align-items:center;min-height:100px;background:",";"],(e=>e.backgroundColor));function Vm({children:e,variant:n="outlined",isSelected:r=!1,contextAction:i,onClick:a,onSelect:c,as:l="button",href:s,to:u,selectButtonAriaLabel:d,"aria-label":p,...f}){const m=Hm("card-title"),h=o((()=>({variant:n,isSelected:r,cardTitleId:m})),[r,n,m]);return t.createElement(Kf.Provider,{value:h},t.createElement($m,{variant:n,isSelected:r,...f},t.createElement(Wm,{as:l,to:u,href:"a"===l?s:void 0,type:"button"===l?"button":void 0,onClick:function(e){if(c&&(e.metaKey||e.ctrlKey||e.shiftKey))return c(e),void e.preventDefault();null==a||a(e)},"aria-labelledby":p?void 0:m,"aria-label":p},e),i?t.createElement(qm,null,i):null,c?t.createElement(Ym,{type:"button",isSelected:r,onClick:c,"aria-label":d},t.createElement(Su,null)):null))}Vm.Frame=function({children:e,progressBar:n,badge:r,icon:o,isCheckeredBackground:i=!1,height:a="fixed",...c}){const{variant:l,isSelected:s}=Zf();return t.createElement(Jf,{isCheckeredBackground:i,height:a,...c},"clean"===l&&s&&t.createElement(Qf,null),t.createElement(em,{height:a},e),t.createElement(tm,null),n?t.createElement(om,null,n):null,r?t.createElement(nm,null,t.createElement(Bf,{color:"black-alpha"},r)):null,o?t.createElement(rm,null,o):null)},Vm.Header=function({thumbnail:e,title:n,detail:r,icon:o,isNotTruncated:i=!1,...a}){const{cardTitleId:c}=Zf();return t.createElement(Bm,{...a},e?t.createElement(Tm,null,e):null,t.createElement(Nm,{id:c},i?n:t.createElement(_m,null,n)),r?t.createElement(Dm,null,i?r:t.createElement(_m,null,r)):null,o?t.createElement(zm,null,o):null)},Vm.AdditionalInfo=function({children:e,padding:n="all",...r}){return t.createElement(Pm,{padding:n,...r},e)},Vm.ContextActionButton=Om,Vm.Images=function({children:e,...n}){return t.createElement(Rm,{...n},e)},Vm.Img=function({src:e,contentResize:n="fill",alt:r="",...o}){return t.createElement(Mm,{src:e,alt:r,contentResize:n,...o})},Vm.FilePlaceholder=Fm,Vm.PlaceholderIcon=Fm,Vm.IconPlaceholder=function({children:e,backgroundColor:n=If.gray25,iconColor:r=If.gray400a,...o}){const i=t.useMemo((()=>({color:r,size:"48px",attr:{"aria-hidden":"true"},style:{verticalAlign:"middle"}})),[r]);return t.createElement(Um,{...o,backgroundColor:n},t.createElement(Ss.Provider,{value:i},e))};const $m=Gl.div.withConfig({displayName:"Container7",componentId:"sc-11co88f-37"})(["--card-border-radius:",";--card-inner-border-color:",";--card-inner-border-width:1px;--card-selected-border-color:var(--userComponentCardSelectedColor,",");--card-selected-border-width:2px;--card-elevation:",";--card-frame-overlay-color:transparent;--card-actions-opacity:0;&:hover{--card-frame-overlay-color:",";--card-actions-opacity:1;}&:focus-within{--card-actions-opacity:1;}"," position:relative;box-sizing:border-box;min-width:224px;border-radius:var(--card-border-radius);background:",";box-shadow:var(--card-box-shadow);"],If.radiusBase,If.gray100a,If.brandPrimary500,If.elevation1,If.gray100a,(e=>"outlined"===e.variant?Nl(["--card-frame-border-radius:var(--card-border-radius) var(--card-border-radius) 0 0;--card-box-shadow:var(--card-elevation),inset 0 0 0 var(--card-inner-border-width) var(--card-inner-border-color);--card-frame-border-bottom-width:0;--card-content-padding:"," ",";&:hover{--card-inner-border-color:",";--card-elevation:",";}",""],If.spacing4,If.spacing5,If.gray200a,If.elevation2,e.isSelected?Nl(["--card-inner-border-width:var(--card-selected-border-width);--card-inner-border-color:var(--card-selected-border-color);&:hover{--card-inner-border-color:var(--card-selected-border-color);}"]):""):Nl(["--card-frame-border-radius:var(--card-border-radius);--card-box-shadow:none;--card-frame-border-bottom-width:1px;--card-content-padding:"," 0;"],If.spacing3)),If.gray10),Wm=Gl.button.withConfig({displayName:"MainAction",componentId:"sc-11co88f-38"})(["display:block;box-sizing:border-box;width:100%;padding:0;border:none;background:none;font:inherit;text-align:left;text-decoration:none;cursor:pointer;"]),Ym=Gl.button.withConfig({displayName:"SelectButton",componentId:"sc-11co88f-39"})(["position:absolute;top:",";right:",";z-index:2;display:grid;place-items:center;box-sizing:border-box;width:32px;height:32px;padding:0;border:2px solid rgb(var(--white-rgb) / 80%);border-radius:",";background:none;color:transparent;opacity:",";cursor:pointer;&:hover{border-color:",";}&:active{border-width:3px;border-color:",";}",""],If.spacing4,If.spacing4,If.radiusCircle,(e=>e.isSelected?"1":"var(--card-actions-opacity)"),If.white,If.white,(e=>e.isSelected&&Nl(["border:none;background:var(--userComponentCardSelectedColor,",");color:",";&:hover{background:var(--userComponentCardSelectedColorHover,",");box-shadow:",";}&:active{background:var(--userComponentCardSelectedColorActive,",");box-shadow:none;}"],If.brandPrimary500,If.white,If.brandPrimary600,If.elevation1,If.brandPrimary700))),qm=Gl.div.withConfig({displayName:"ActionContainer",componentId:"sc-11co88f-40"})(["position:absolute;top:",";left:",";z-index:2;opacity:var(--card-actions-opacity);"],If.spacing4,If.spacing4);function Gm(){return t.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M1.793 5.621a1 1 0 000 1.415l2.121 2.12a.995.995 0 00.773.292.996.996 0 00.641-.291l4.95-4.95a1 1 0 00-1.414-1.414L4.621 7.036 3.207 5.62a1 1 0 00-1.414 0z"}))}function Xm({isChecked:e=!1,isDisabled:n=!1,isIndeterminate:r=!1,inputProps:o,children:i,onChange:a=(()=>{}),id:c,...l}){const{isFocusVisible:s,focusProps:u}=Cs();return t.createElement(Km,{isIndeterminate:r,isDisabled:n,isChecked:e,className:"ds-checkbox__pointer-events-wrapper",...l},t.createElement(Qm,{type:"checkbox",ref:e=>{e&&(e.indeterminate=r)},"aria-checked":r?"mixed":e,disabled:n,checked:e,onChange:a,id:c,...u,...o}),t.createElement(Zm,null,t.createElement(Jm,{isFocusVisible:s,isIndeterminate:r,isDisabled:n,isChecked:e},e&&t.createElement(Gm,null),r&&t.createElement(eh,null))),i&&t.createElement(th,{isDisabled:n},i))}Xm.pointerEventsClassname="ds-checkbox__pointer-events-wrapper";const Km=Gl.label.withConfig({displayName:"Container6",componentId:"sc-11co88f-41"})([""," display:flex;align-items:flex-start;margin:0;padding:"," 0;cursor:",";user-select:none;"],im.uiTextM,If.spacing1,(e=>!e.isDisabled&&"pointer")),Zm=Gl.div.withConfig({displayName:"IndicatorPosition1",componentId:"sc-11co88f-42"})(["display:flex;flex:none;align-items:center;&::before{content:'';}"]),Jm=Gl.div.withConfig({displayName:"Indicator3",componentId:"sc-11co88f-43"})(["position:relative;display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:16px;height:16px;border:2px solid ",";border-radius:",";background-color:transparent;&::before{content:'';position:absolute;top:-5px;right:-5px;bottom:-5px;left:-5px;border:"," solid transparent;border-radius:calc( "," + 3px );}"," "," "," "," ",":hover &,",":focus-visible &{"," background-color:",";}"],If.componentCheckboxBorderUnchecked,If.radiusMedium,If.focusRingWidth,If.radiusMedium,(e=>e.isFocusVisible&&Nl(["border-color:",";&::before{border-color:",";}"],If.componentCheckboxBorderUncheckedFocus,e.isChecked||e.isIndeterminate?If.focusRingColorPrimary:If.focusRingColorSecondary)),(e=>e.isChecked&&Nl(["border-color:transparent;background-color:",";fill:#fff;"],If.blue500)),(e=>e.isIndeterminate&&Nl(["border-color:transparent;background-color:",";"],If.blue500)),(e=>e.isDisabled&&Nl(["border-color:transparent;background-color:",";fill:",";"],If.componentCheckboxFillDisabled,If.componentCheckboxCheckmarkColorDisabled)),".ds-checkbox__pointer-events-wrapper",".ds-checkbox__pointer-events-wrapper",(e=>!e.isChecked&&!e.isIndeterminate&&!e.isDisabled&&`border-color: ${If.componentCheckboxBorderUncheckedHover};`),(e=>!e.isChecked&&!e.isIndeterminate||e.isDisabled?void 0:If.blue600)),Qm=Gl.input.withConfig({displayName:"Input2",componentId:"sc-11co88f-44"})(["position:absolute;overflow:hidden;clip:rect(0,0,0,0);width:1px;height:1px;margin:0 -1px -1px 0;padding:0;border:0;white-space:nowrap;clip-path:inset(50%);"]),eh=Gl.div.withConfig({displayName:"IndeterminateMark",componentId:"sc-11co88f-45"})(["width:8px;height:2px;border-radius:",";background-color:",";"],If.radiusPill,If.white),th=Gl.div.withConfig({displayName:"Label4",componentId:"sc-11co88f-46"})(["display:block;margin-left:8px;color:",";"],(e=>e.isDisabled?If.gray400:If.colorText)),nh=n(void 0);function rh(e){if(!i(nh))throw new Error(`<Form.${e}> cannot be rendered outside the <Form.Group> component`)}const oh=Gl.div.withConfig({displayName:"GroupStyled",componentId:"sc-11co88f-47"})(["margin:0;padding:"," 0;border:0;"],If.spacing3),ih=Gl.div.withConfig({displayName:"HelperTextStyled",componentId:"sc-11co88f-48"})([""," display:flex;align-items:center;margin-top:",";padding-top:",";color:",";"],im.uiTextS,If.spacing2,(e=>e.hasIcon?"2px":"0"),(e=>e.isInvalid?If.red500:If.gray600)),ah=Gl.div.withConfig({displayName:"Icon3",componentId:"sc-11co88f-49"})(["flex:none;align-self:flex-start;margin-top:-2px;margin-right:",";"],If.spacing2),ch=Gl.label.withConfig({displayName:"LabelStyled",componentId:"sc-11co88f-50"})([""," display:block;margin:0 0 ",";padding:0;border:none;color:",";"],im.uiTextM,If.spacing3,If.colorText),lh=Gl.span.withConfig({displayName:"SecondaryText",componentId:"sc-11co88f-51"})(["color:",";"],If.gray600),sh=Gl.span.withConfig({displayName:"Space",componentId:"sc-11co88f-52"})(["display:inline-block;width:",";"],If.spacing3),uh=Gl.div.withConfig({displayName:"RowStyled",componentId:"sc-11co88f-53"})(["display:grid;grid-template-columns:repeat(auto-fit,minmax(10px,1fr));gap:",";"],If.spacing4),dh=Gl.div.withConfig({displayName:"InputRowStyled",componentId:"sc-11co88f-54"})(["display:flex;& > *{min-width:min-content;&:not(:first-child){margin-left:",";}}"],If.spacing4);function ph({children:e,onSubmit:n,...r}){return t.createElement("form",{onSubmit:n,...r},e)}ph.Group=function({children:e,...n}){return t.createElement(nh.Provider,{value:"group"},t.createElement(oh,{...n},e))},ph.HelperText=function({icon:e,isInvalid:n,children:r,...o}){return rh("HelperText"),t.createElement(ih,{isInvalid:n,hasIcon:Boolean(e),...o},e&&t.createElement(ah,null,e),r)},ph.Label=function({children:e,secondaryText:n,htmlFor:r,id:o,...i}){return rh("Label"),t.createElement(ch,{htmlFor:r,id:o,...i},e,n?t.createElement(lh,null,t.createElement(sh,null," "),n):null)},ph.Row=function({children:e,...n}){return t.createElement(uh,{...n},e)},ph.InputRow=function({children:e,...n}){return rh("InputRow"),t.createElement(dh,{...n},e)},ph.IconError=function(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"}}]})(e)},Gl.ul.withConfig({displayName:"List1",componentId:"sc-11co88f-55"})(["margin:0;padding:0;list-style:none;"]),Gl.li.withConfig({displayName:"Item5",componentId:"sc-11co88f-56"})(["&:not(:last-child){margin-bottom:",";}"],If.spacing2);const fh=Gl.span.withConfig({displayName:"DeleteButton",componentId:"sc-11co88f-57"})(["display:flex;justify-content:center;align-items:center;width:24px;height:24px;margin:0 calc("," * -1) 0 ",";padding:0;border:0;border-radius:",";background:none;color:",";outline:0;cursor:pointer;&:hover{background:",";color:",";}&:active{background:",";}"],If.spacing3,If.spacing3,If.radiusCircle,(e=>e.isDisabled?If.gray400:If.gray600),If.gray50a,If.gray800,If.gray100a);Gl.button.withConfig({displayName:"ChipStyled",componentId:"sc-11co88f-58"})(["display:inline-flex;align-items:center;border:0;border-radius:",";background-color:",";color:",";outline:none;font-family:",";white-space:nowrap;",";",";",";",";",";"],If.radiusPill,If.gray50,If.gray800,If.brandFontStackBase,(e=>e.onClick&&Nl(["cursor:pointer;&:hover{background-color:",";","{color:",";}}&:active{background-color:",";}"],If.gray75,fh,If.gray800,If.gray100)),(e=>e.isFocusVisible&&Nl(["background:",";box-shadow:inset ",";outline:0;"],If.gray25,If.elevationStatic)),(e=>"m"===e.size&&gh),(e=>"s"===e.size&&hh),(e=>e.isDisabled&&vh));const mh=Gl.div.withConfig({displayName:"ThumbnailContainer2",componentId:"sc-11co88f-59"})(["display:block;"]),hh=Nl([""," height:32px;padding:0 12px;","{margin:0 "," 0 calc("," * -1);}"],im.uiTextS,mh,If.spacing3,If.spacing3),gh=Nl([""," height:40px;padding:0 16px;","{margin:0 "," 0 calc("," * -1);}"],im.uiTextM,mh,If.spacing3,If.spacing4),vh=Nl(["background-color:",";color:",";pointer-events:none;"],If.gray25,If.gray400);function yh(e,t){a((()=>{function n(n){n.key===e&&t(n)}return window.addEventListener("keydown",n),()=>{window.removeEventListener("keydown",n)}}),[t,e])}Gl.div.withConfig({displayName:"IconContainer",componentId:"sc-11co88f-60"})(["width:24px;height:24px;margin-left:calc("," * -1);padding:0 "," 0 0;"],If.spacing2,If.spacing3),Gl.div.withConfig({displayName:"StyledHeaderCaption",componentId:"sc-11co88f-61"})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:",";margin-left:",";",""],If.spacing4,If.spacing4,im.uiTextM),Gl.div.withConfig({displayName:"StyledContainer",componentId:"sc-11co88f-62"})(["z-index:",";padding:",";border-radius:",";background-color:",";box-shadow:",",",";"],(e=>e.zIndex),If.spacing4,If.radiusMedium,If.white,If.elevationStatic,If.elevation2),Gl.div.withConfig({componentId:"sc-11co88f-63"})(["padding-top:",";"],If.spacing4),Yl(["",""],Nl([".rdp{background-color:",";color:",";","}.rdp-caption{display:flex;justify-content:space-between;align-items:center;}.rdp-table{padding:",";border-spacing:",";}.rdp-head_cell{height:30px;padding:0;text-align:center;","}.rdp-cell{padding:0;}.rdp-day{width:32px;height:32px;border:none;border-radius:",";background-color:",";color:",";outline:none;font-family:inherit;cursor:pointer;"," &_disabled{color:",";pointer-events:none;}&:focus-visible{background-color:",";color:",";box-shadow:0 0 0 2px ",",inset 0 0 0 1px ",";}&:hover{background-color:",";color:",";}}.rdp-day_today{background-color:",";color:",";font-weight:600;}.rdp-day_selected{background-color:",";color:",";&.rdp-day_outside,&.rdp-day_disabled{color:",";}&:focus-visible{background-color:",";color:",";box-shadow:0 0 0 2px ",",inset 0 0 0 1px ",";}&:hover{background-color:",";color:",";}}.rdp-day_outside{color:",";}.rdp-vhidden{display:none;}"],If.white,If.gray800,im.uiTextS,If.spacing1,If.spacing1,im.uiTextS,If.radiusMedium,If.white,If.gray600,im.uiTextS,If.gray200,If.gray50,If.gray800,If.gray200a,If.white,If.gray50,If.gray800,If.gray25,If.gray800,If.blue500,If.white,If.blue200,If.blue500,If.white,If.blue500,If.white,If.blue600,If.white,If.gray200));const bh=Gl.div.withConfig({displayName:"InputWrapper",componentId:"sc-11co88f-64"})([""," display:flex;align-items:center;box-sizing:border-box;width:100%;height:var(--ds-input-height);padding:0 var(--ds-input-side-padding);border:1px solid ",";border-radius:",";background:",";&:hover{border-color:",";box-shadow:",";}&:focus-within{border-color:",";box-shadow:0 0 0 3px ",";}",";",";"],(e=>e.isSmall?Nl(["--ds-input-height:32px;--ds-input-side-padding:",";--ds-input-icons-gap:",";"],If.spacing4,If.spacing2):Nl(["--ds-input-height:40px;--ds-input-side-padding:",";--ds-input-icons-gap:",";"],If.spacing5,If.spacing3)),(e=>e.isInvalid?If.red500:If.gray100),If.radiusMedium,If.gray10,(e=>e.isInvalid?If.red600:If.gray200),If.elevation1,(e=>e.isInvalid?If.red500:If.gray300),If.gray100,(e=>e.isDisabled&&Nl(["border-color:",";background:",";color:",";cursor:not-allowed;&:hover{border-color:",";box-shadow:none;}"],If.gray100,If.gray25,If.gray600,If.gray100)),(e=>"clean"===e.variant&&Nl(["border-color:transparent;box-shadow:none;&:hover{border-color:transparent;background:",";box-shadow:none;}&:focus-within{border-color:transparent;background:",";box-shadow:none;}"],If.gray25a,If.gray50a))),wh=Gl.input.withConfig({displayName:"InputStyled",componentId:"sc-11co88f-65"})(["&&&{flex:1;min-width:0;height:100%;margin:0;padding:0;border:0;background:transparent;color:",";box-shadow:none;outline:none;font-family:",";"," &::-webkit-inner-spin-button,&::-webkit-outer-spin-button{display:none;margin:0;appearance:none;}&[type='number']{appearance:textfield;}&::placeholder{color:",";}&:disabled{color:",";cursor:not-allowed;&::placeholder{color:",";}}}"],If.colorText,If.brandFontStackBase,im.uiTextM,If.gray400,If.gray600,If.gray400),xh=Gl.div.withConfig({displayName:"LeftItems",componentId:"sc-11co88f-66"})(["display:flex;gap:var(--ds-input-icons-gap);align-items:center;margin-right:var(--ds-input-icons-gap);"]),Eh=Gl.div.withConfig({displayName:"IconLeftContainer",componentId:"sc-11co88f-67"})(["flex:none;margin-left:calc("," * -1);color:",";"],If.spacing2,If.gray600),Ch=Gl.div.withConfig({displayName:"PrefixContainer",componentId:"sc-11co88f-68"})(["color:",";"],(e=>e.isDisabled?If.gray400:If.gray600)),kh=Gl.div.withConfig({displayName:"RightItems",componentId:"sc-11co88f-69"})(["display:flex;flex:none;gap:var(--ds-input-icons-gap);align-items:center;margin-right:calc("," * -1);margin-left:var(--ds-input-icons-gap);"],If.spacing2),Sh=Gl.div.withConfig({displayName:"SuffixContainer",componentId:"sc-11co88f-70"})(["color:",";&:last-child{margin-right:",";}"],(e=>e.isDisabled?If.gray400:If.gray600),If.spacing2),_h=Gl.div.withConfig({displayName:"IconRightContainer",componentId:"sc-11co88f-71"})(["display:grid;flex:none;align-items:center;color:",";"],If.gray600),Ih=Gl.button.withConfig({displayName:"ClearButton",componentId:"sc-11co88f-72"})(["flex:none;padding:0;border:none;background:transparent;color:",";cursor:pointer;&:hover,&:focus{color:",";outline:none;}&:active{color:",";}"],If.gray200a,If.gray300a,If.gray400a);function Bh({icon:e,onClick:n,isTooltipShown:r=!1,label:o,isDisabled:i=!1,...a}){const{isFocusVisible:c,focusProps:l}=Cs();return r?t.createElement(bm,{content:o,isOpen:!!c||void 0},(r=>t.createElement(Th,{...a,...r,...l,onClick:n,disabled:i,type:"button","aria-label":o,isFocusVisible:c},e))):t.createElement(Th,{...a,...l,onClick:n,disabled:i,type:"button","aria-label":o,isFocusVisible:c},e)}const Th=Gl.button.withConfig({displayName:"InteractiveIconWrapper",componentId:"sc-11co88f-73"})(["width:24px;height:24px;padding:0;border:none;background:transparent;color:",";cursor:pointer;&:hover,&:active{color:",";}&:disabled{color:",";cursor:not-allowed;}",""],If.gray600,If.gray800,If.gray200,(e=>e.isFocusVisible&&Nl(["border-radius:2px;color:",";box-shadow:0 0 0 2px ",";outline:none;"],If.gray800,If.gray200))),Nh=d((({hasClearButton:e=!1,icon:n,iconRight:o,id:i,name:a,isDisabled:l=!1,isReadOnly:s=!1,isInvalid:u=!1,isSmall:d=!1,onBlur:p,onChange:f,onFocus:m,onKeyDown:h,placeholder:g,type:v="text",value:y,variant:b="outlined","aria-label":w,"aria-labelledby":x,"aria-describedby":E,inputRef:C,maxLength:k,prefix:S,suffix:_,...I},B)=>{const[T,N]=r(!1),D=c(null),z=C||D,P=e&&y.length>0&&"number"!==v&&"password"!==v,O="password"===v?T?"text":"password":v;function A(){var e;null==z||null===(e=z.current)||void 0===e||e.focus()}const R=Boolean(n||S),M="password"===v,F=Boolean(!M&&(P||o)),L=Boolean(F||M||_);return t.createElement(bh,{...I,isDisabled:l,isInvalid:u,isSmall:d,onClick:A,ref:B,variant:b},R&&t.createElement(xh,null,n&&t.createElement(Eh,null,n),S&&t.createElement(Ch,{isDisabled:l},S)),t.createElement(wh,{autoComplete:"off",autoCorrect:"off",disabled:l,isDisabled:l,readOnly:s,onBlur:p,onChange:function(e){const t=e.currentTarget.value;null==f||f(t)},onFocus:m,onKeyDown:h,placeholder:g,ref:z,spellCheck:!1,type:O,value:y,"aria-label":w,"aria-labelledby":x,"aria-describedby":E,id:i,name:a,maxLength:k}),L&&t.createElement(kh,null,_&&t.createElement(Sh,{isDisabled:l},_),M&&t.createElement(Bh,{"data-testid":"ds-input-password-visibility-button",onClick:()=>(N((e=>!e)),void A()),label:T?"Hide password":"Show password",icon:T?t.createElement(Ws,null):t.createElement($s,null),isTooltipShown:!0}),P&&t.createElement(Ih,{"data-testid":"ds-input-clear-button",onClick:function(){null==f||f(""),A()},type:"button"},t.createElement(ku,null)),o&&t.createElement(_h,null,o)))}));function Dh({direction:e="horizontal",...n}){return"horizontal"===e?t.createElement(zh,{...n}):t.createElement(Ph,{role:"separator",...n})}const zh=Gl.hr.withConfig({displayName:"HorizontalDivider",componentId:"sc-11co88f-74"})(["box-sizing:content-box;height:1px;margin:0;padding:"," 0;border:none;background:",";background-clip:content-box;"],If.spacing3,If.componentDividerColor),Ph=Gl.div.withConfig({displayName:"VerticalDivider",componentId:"sc-11co88f-75"})(["box-sizing:content-box;width:1px;margin:0;padding:0 ",";background:",";background-clip:content-box;"],If.spacing2,If.componentDividerColor),Oh=Gl.div.withConfig({displayName:"ArrowStyled",componentId:"sc-11co88f-76"})(["margin-right:calc("," * -1);margin-left:calc("," * -1);"],If.spacing2,If.spacing2),Ah=n(null);function Rh(){const e=i(Ah);if(!e)throw new Error("Dropdown compound components cannot be rendered outside the Dropdown component");return e}function Mh(...e){return t=>{for(const n of e)n&&("function"==typeof n?n(t):n.current=t)}}const Fh=n(void 0),Lh=d((({children:e,minWidth:n,...r},o)=>{const l=ym("dropdown"),s=c(null),{dispatch:u}=Rh(),d=i(Fh);return a((()=>()=>{u({type:"purge-menu-items",payload:d})}),[e,u,d]),t.createElement(jh,{minWidth:n,role:"menu",ref:Mh(o,s),zIndex:l,...r},e)})),jh=Gl.div.withConfig({displayName:"ContainerStyled",componentId:"sc-11co88f-77"})(["z-index:",";overflow-y:auto;box-sizing:border-box;min-width:",";max-width:336px;max-height:calc(36px * 9.5 + ",");padding:"," 0;border-radius:",";background:",";color:",";box-shadow:",",",";&:empty{display:none;}"],(e=>e.zIndex),(e=>e.minWidth?e.minWidth:"224px"),If.spacing3,If.spacing3,If.radiusBase,If.gray10,If.colorText,If.elevationStatic,If.elevation2);function Hh({children:e,isChecked:n,isDisabled:r,inputProps:o,onChange:i=(()=>{}),...a}){const{isFocusVisible:c,focusProps:l}=Cs();return t.createElement(Uh,{isDisabled:r,className:"ds-switch__pointer-events-wrapper",...a},e&&t.createElement(Vh,null,e),t.createElement($h,null,t.createElement(Wh,null,t.createElement("input",{role:"switch",type:"checkbox",disabled:r,onChange:i,checked:n,"aria-checked":n,...l,...o}),t.createElement(Yh,{"aria-hidden":"true",isDisabled:r,isFocusVisible:c}))))}Hh.pointerEventsClassname="ds-switch__pointer-events-wrapper";const Uh=Gl.label.withConfig({displayName:"SwitchStyled",componentId:"sc-11co88f-78"})([""," display:flex;align-items:baseline;margin:0;padding:"," 0;color:",";cursor:",";user-select:none;"],im.uiTextM,If.spacing1,If.gray800,(e=>!e.isDisabled&&"pointer")),Vh=Gl.span.withConfig({displayName:"Label2",componentId:"sc-11co88f-79"})(["align-self:center;margin-right:",";"],If.spacing4),$h=Gl.span.withConfig({displayName:"ToggleAlignment",componentId:"sc-11co88f-80"})(["margin-left:auto;&::before{content:'\\200B';display:inline-block;vertical-align:middle;}"]),Wh=Gl.span.withConfig({displayName:"Toggle",componentId:"sc-11co88f-81"})(["position:relative;display:inline-block;vertical-align:middle;width:36px;height:22px;input{position:absolute;opacity:0;}"]),Yh=Gl.span.withConfig({displayName:"Indicator2",componentId:"sc-11co88f-82"})(["position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;width:100%;height:100%;border-radius:",";background:",";cursor:",";transition:0.2s;&::before{content:'';position:absolute;right:calc(100% - 20px);bottom:2px;left:2px;height:18px;border-radius:50%;background-color:",";box-shadow:",";transition:0.2s;}"," input:checked + &{background-color:",";opacity:",";&::before{right:2px;left:calc(100% - 20px);background-color:",";}}"," ",":hover &,",":focus-visible &{background-color:",";}",":hover input:checked + &,",":focus-visible input:checked + &{background-color:",";}",""],If.radiusPill,(e=>e.isDisabled?If.gray100:If.gray75),(e=>!e.isDisabled&&"pointer"),(e=>e.isDisabled?If.gray50:If.gray10),If.elevation2,Wh,(e=>e.isDisabled?If.gray400:If.blue500),(e=>e.isDisabled?"0.5":"1"),(e=>e.isDisabled?If.gray100:If.gray10),(e=>!e.isDisabled&&Nl(["",":active input + &::before{right:calc(100% - 24px);left:2px;border-radius:9px;}",":active input:checked + &::before{right:2px;left:calc(100% - 24px);}"],".ds-switch__pointer-events-wrapper",".ds-switch__pointer-events-wrapper")),".ds-switch__pointer-events-wrapper",".ds-switch__pointer-events-wrapper",If.gray100,".ds-switch__pointer-events-wrapper",".ds-switch__pointer-events-wrapper",(e=>e.isDisabled?If.gray400:If.blue600),(e=>e.isFocusVisible&&Nl([""," input + &{background-color:",";&::after{content:'';position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border:2px solid ",";border-radius:100px;}}"," input:checked + &::after{border-color:",";}"],Wh,If.gray100,If.gray200,Wh,If.blue500))),qh=Gl.div.withConfig({displayName:"ItemWrapper1",componentId:"sc-11co88f-83"})(["position:relative;"]),Gh=Gl.button.withConfig({displayName:"ItemStyled1",componentId:"sc-11co88f-84"})([""," display:flex;align-items:center;box-sizing:border-box;width:100%;height:36px;margin:0;padding:0 ",";border:none;background:none;color:",";outline:none;font-family:",";cursor:pointer;"," "," &:hover{background:",";color:",";}&:active{background:",";color:",";}&:disabled{background:none;color:",";cursor:default;}"],im.uiTextS,If.spacing5,(e=>e.isChecked?If.gray800:If.gray600),If.brandFontStackBase,(e=>e.isSubmenuOpen&&Nl(["background:",";color:",";"],If.gray25,If.gray800)),(e=>e.isHighlighted&&Nl(["background:",";color:",";"],If.gray50,If.gray800)),If.gray25,If.gray800,If.gray50,If.gray800,If.gray400),Xh=Gl.span.withConfig({displayName:"CheckboxContainer1",componentId:"sc-11co88f-85"})(["display:flex;flex:none;justify-content:center;align-items:center;width:24px;height:24px;margin-right:",";"],If.spacing3),Kh=Gl.span.withConfig({displayName:"Icon2",componentId:"sc-11co88f-86"})(["display:flex;flex:none;justify-content:center;align-items:center;width:24px;height:24px;margin-right:",";"],If.spacing3),Zh=Gl.span.withConfig({displayName:"Label1",componentId:"sc-11co88f-87"})(["flex:1;overflow:hidden;min-width:0;text-align:left;text-overflow:ellipsis;white-space:nowrap;"]),Jh=Gl.span.withConfig({displayName:"RightContainer",componentId:"sc-11co88f-88"})(["flex:none;margin:0 ",";&:last-child{margin-right:calc("," * -1);}"],If.spacing3,If.spacing2),Qh=Gl.span.withConfig({displayName:"SubmenuIconContainer",componentId:"sc-11co88f-89"})(["flex:none;margin-right:calc("," * -1);margin-left:",";color:",";",":hover,",":active{color:",";}"],If.spacing3,If.spacing3,(e=>e.isActive?If.gray400:If.gray200),Gh,Gh,If.gray400),eg=Gl(Lh).withConfig({displayName:"SubMenuContainer",componentId:"sc-11co88f-90"})(["margin-top:calc("," * -1);"],If.spacing3),tg=Gl.div.withConfig({displayName:"SectionTitleStyled",componentId:"sc-11co88f-91"})([""," overflow:hidden;padding:"," "," ",";color:",";text-overflow:ellipsis;white-space:nowrap;"],im.uiTextS,If.spacing4,If.spacing5,If.spacing3,If.gray800);function ng(e){return{"bottom-center":{placement:"bottom-center",possiblePlacements:["bottom-center","top-center"]},"bottom-left":{placement:"bottom-start",preferX:"left",preferY:"bottom",possiblePlacements:["bottom-start","top-start"]},"bottom-right":{placement:"bottom-end",preferX:"right",preferY:"bottom",possiblePlacements:["bottom-end","top-end"]},bottom:{placement:"bottom-start",preferX:"left",preferY:"bottom",possiblePlacements:["bottom-start","top-start"]},"top-left":{placement:"top-start",preferX:"left",preferY:"top",possiblePlacements:["top-start","bottom-start"]},"top-right":{placement:"top-end",preferX:"right",preferY:"top",possiblePlacements:["top-end","bottom-end"]},"right-center":{placement:"right-center",possiblePlacements:["right-center"]},"left-center":{placement:"left-center",possiblePlacements:["left-center"]}}[e]}const rg={isOpen:!1,isOpenedWithKeyboard:!1,items:[],highlightedItemId:"",hasSearch:!1,keepHighlight:!1};function og(e,t){if("open"===t.type)return{...e,isOpen:!0};if("close"===t.type)return{...rg};if("toggle"===t.type)return{...rg,isOpen:!e.isOpen};if("toggle-from-keyboard"===t.type)return{...rg,isOpen:!e.isOpen,isOpenedWithKeyboard:!e.isOpen};if("highlight-current-item"===t.type){const t=e.items.find((e=>e.isSelected));return e.hasSearch&&t?{...e,highlightedItemId:t.id}:e.isOpenedWithKeyboard&&e.items.length?{...e,highlightedItemId:e.items[0].id}:e}if("highlight-item"===t.type)return{...e,highlightedItemId:t.payload,keepHighlight:!0};if("highlight-previous"===t.type){var n;if(0===e.items.length)return e;const t=null===(n=e.items.find((t=>t.id===e.highlightedItemId)))||void 0===n?void 0:n.parentId,r=e.items.filter((e=>e.parentId===t&&!e.isDisabled)),o=r.findIndex((t=>t.id===e.highlightedItemId)),i=0===o,a=r.length-1,c=-1===o||i?r[a].id:r[o-1].id;return{...e,highlightedItemId:c}}if("highlight-next"===t.type){var r;if(0===e.items.length)return e;const t=null===(r=e.items.find((t=>t.id===e.highlightedItemId)))||void 0===r?void 0:r.parentId,n=e.items.filter((e=>e.parentId===t&&!e.isDisabled)),o=n.findIndex((t=>t.id===e.highlightedItemId)),i=o===n.length-1,a=-1===o||i?n[0].id:n[o+1].id;return{...e,highlightedItemId:a}}if("highlight-submenu"===t.type){const t=e.highlightedItemId,n=e.items.find((e=>e.parentId===t));return{...e,highlightedItemId:n.id}}if("add-item"===t.type){const n=t.payload;return e.items.find((e=>e.id===n.id))?e:{...e,items:[...e.items,n]}}if("purge-menu-items"===t.type){const n=t.payload,r=e.items.filter((e=>e.parentId!==n));return{...e,items:r,highlightedItemId:e.keepHighlight?e.highlightedItemId:"",keepHighlight:!1}}return"keep-highlight"===t.type?{...e,keepHighlight:!0}:"set-search-presence"===t.type?{...e,hasSearch:!0}:void function(e,t){throw new Error("Unexpected action: "+t)}(0,t)}const ig=Gl.span.withConfig({displayName:"Text2",componentId:"sc-11co88f-92"})(["width:100%;min-width:0;text-align:left;"]),ag=Gl.div.withConfig({displayName:"Container4",componentId:"sc-11co88f-93"})(["--container-top-padding-compensation:calc("," * -1);position:sticky;top:var(--container-top-padding-compensation);z-index:1;box-sizing:content-box;height:40px;margin-top:var(--container-top-padding-compensation);padding:",";background:linear-gradient(180deg,#fff 22.4%,rgb(255 255 255 / 0) 100%);"],If.spacing3,If.spacing4),cg=Gl.div.withConfig({displayName:"Inner",componentId:"sc-11co88f-94"})(["position:absolute;top:",";right:",";left:",";"],If.spacing4,If.spacing4,If.spacing4),lg=Gl.div.withConfig({displayName:"TextStyled",componentId:"sc-11co88f-95"})([""," padding:"," ",";color:",";"],(e=>"item"===e.fontSize?im.uiTextS:im.uiTextM),If.spacing3,If.spacing5,If.gray400);const sg=Gl.div.withConfig({displayName:"ConcealedActionStyled",componentId:"sc-11co88f-96"})(["width:",";opacity:",";&:focus-within{width:auto;opacity:1;}"],(e=>e.isVisible?"auto":"var(--list-item-concealead-action-width, 0)"),(e=>e.isVisible?"1":"var(--list-item-concealead-action-opacity, 0)")),ug=Gl.div.withConfig({displayName:"Header1",componentId:"sc-11co88f-97"})(["display:flex;justify-content:space-between;align-items:center;padding:"," 0 ",";"],If.spacing3,If.spacing2),dg="ds-thumbnail__pointer-events-wrapper",pg=Gl.div.withConfig({displayName:"OverlayStyled",componentId:"sc-11co88f-98"})(["position:absolute;top:0;left:0;display:grid;place-items:center;width:100%;height:100%;border-radius:var(--ds-thumbnail-border-radius);background:",";color:",";-webkit-mask-image:var(--ds-thumbnail-indicator-cutoff);",""],If.gray200a,If.gray10,(e=>e.isConcealed&&Nl(["opacity:0;",":hover &,",":focus-visible &{opacity:1;}"],"."+dg,"."+dg))),fg=t.createContext({indicator:"none",setIndicator:()=>null}),mg={square:{state:{l:{radius:8,offset:[4,4]},m:{radius:8,offset:[4,4]},s:{radius:8,offset:[4,4]},xs:{radius:8,offset:[7,7]}},status:{l:{radius:5,offset:[1,1]},m:{radius:5,offset:[1,1]},s:{radius:5,offset:[1,1]},xs:{radius:3,offset:[1,1]}}},circle:{state:{l:{radius:8,offset:[0,0]},m:{radius:8,offset:[2,2]},s:{radius:8,offset:[4,4]},xs:{radius:8,offset:[9,5]}},status:{l:{radius:5,offset:[-5,-5]},m:{radius:5,offset:[-1,-1]},s:{radius:5,offset:[1,1]},xs:{radius:3,offset:[-1,-1]}}}},hg=Gl.svg.withConfig({displayName:"SvgIcon",componentId:"sc-11co88f-99"})(["position:absolute;right:calc(var(--ds-thumbnail-indicator-offset-x) * -1);bottom:calc(var(--ds-thumbnail-indicator-offset-y) * -1);overflow:visible;width:calc(var(--ds-thumbnail-indicator-radius) * 2);height:calc(var(--ds-thumbnail-indicator-radius) * 2);"]),gg={draft:function(){return t.createElement(hg,{viewBox:"0 0 24 24","aria-hidden":"true",fill:If.gray400},t.createElement("path",{d:"M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 "}),t.createElement("path",{d:"M 7.5 10.5 C 6.671875 10.5 6 11.171875 6 12 C 6 12.828125 6.671875 13.5 7.5 13.5 C 8.328125 13.5 9 12.828125 9 12 C 9 11.171875 8.328125 10.5 7.5 10.5 Z M 10.5 12 C 10.5 11.171875 11.171875 10.5 12 10.5 C 12.828125 10.5 13.5 11.171875 13.5 12 C 13.5 12.828125 12.828125 13.5 12 13.5 C 11.171875 13.5 10.5 12.828125 10.5 12 Z M 15 12 C 15 11.171875 15.671875 10.5 16.5 10.5 C 17.328125 10.5 18 11.171875 18 12 C 18 12.828125 17.328125 13.5 16.5 13.5 C 15.671875 13.5 15 12.828125 15 12 Z M 15 12 ",fill:"white"}))},error:function(){return t.createElement(hg,{viewBox:"0 0 24 24","aria-hidden":"true",fill:If.red400},t.createElement("path",{d:"M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 "}),t.createElement("path",{d:"M 13.5 4.5 L 10.5 4.5 L 10.5 13.5 L 13.5 13.5 Z M 13.5 4.5 ",fill:"white"}),t.createElement("path",{d:"M 13.5 16.5 L 10.5 16.5 L 10.5 19.5 L 13.5 19.5 Z M 13.5 16.5 ",fill:"white"}))},loading:function(){return t.createElement(hg,{viewBox:"0 0 14 14","aria-hidden":"true",fill:If.gray400},t.createElement(yg,{cx:"7",cy:"7",r:"5",fill:"transparent",strokeWidth:"2"}))},negative:function(){return t.createElement(hg,{viewBox:"0 0 24 24","aria-hidden":"true",fill:If.red400},t.createElement("path",{d:"M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 "}),t.createElement("path",{d:"M 17.304688 6.695312 C 16.71875 6.109375 15.769531 6.109375 15.183594 6.695312 L 12 9.878906 L 8.816406 6.695312 C 8.230469 6.109375 7.28125 6.109375 6.695312 6.695312 C 6.109375 7.28125 6.109375 8.230469 6.695312 8.816406 L 9.878906 12 L 6.695312 15.183594 C 6.109375 15.769531 6.109375 16.71875 6.695312 17.304688 C 7.28125 17.890625 8.230469 17.890625 8.816406 17.304688 L 12 14.121094 L 15.183594 17.304688 C 15.769531 17.890625 16.71875 17.890625 17.304688 17.304688 C 17.890625 16.71875 17.890625 15.769531 17.304688 15.183594 L 14.121094 12 L 17.304688 8.816406 C 17.890625 8.230469 17.890625 7.28125 17.304688 6.695312 Z M 17.304688 6.695312",fill:"white"}))},positive:function(){return t.createElement(hg,{viewBox:"0 0 24 24","aria-hidden":"true",fill:If.teal500},t.createElement("path",{d:"M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 "}),t.createElement("path",{d:"m5.69215,11.43763c-0.58607,0.58607 -0.58607,1.53629 0,2.12236l3.18355,3.18363c0.21978,0.21971 0.49077,0.35703 0.77456,0.41195c0.12714,0.02461 0.25685,0.03272 0.38568,0.02431c0.35044,-0.02311 0.69432,-0.16853 0.96216,-0.43627l7.42831,-7.42836c0.58604,-0.58608 0.58604,-1.53629 0,-2.12238c-0.58604,-0.58607 -1.53631,-0.58607 -2.12235,0l-6.36715,6.36712l-2.12238,-2.12238c-0.58608,-0.58608 -1.53629,-0.58608 -2.12238,0z",fill:"white"}))}},vg=ql(["0%{transform:rotate(0deg);stroke-dashoffset:6.6;}50%{transform:rotate(720deg);stroke-dashoffset:31.4;}100%{transform:rotate(1080deg);stroke-dashoffset:6.6;}"]),yg=Gl.circle.withConfig({displayName:"SvgSpinner",componentId:"sc-11co88f-100"})(["--spinner-radius:10;--spinner-circumference:calc(2 * var(--spinner-radius) * 3.1415927);stroke:",";transform-origin:center;animation:"," 2s linear infinite;stroke-dasharray:31.4;stroke-linecap:round;"],(e=>e.color||If.gray400),vg),bg={online:function(){return t.createElement(hg,{viewBox:"0 0 24 24","aria-hidden":"true",fill:If.teal500},t.createElement("path",{d:"M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 "}))},offline:function(){return t.createElement(hg,{viewBox:"0 0 24 24","aria-hidden":"true",fill:If.gray400},t.createElement("path",{d:"M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 "}))},inactive:function(){return t.createElement(hg,{viewBox:"0 0 24 24","aria-hidden":"true",fill:"transparent"},t.createElement("circle",{cx:"12",cy:"12",r:"9",stroke:If.gray400,strokeWidth:"4"}))}};function wg({size:e="m",shape:n="square",variant:i="clean",icon:a,imageUrl:c,backgroundColor:l,iconColor:s,children:u,...d}){const p="content"===i,f="clean"===i;let m;m=l?If[l]||l:f?If.gray50a:l||c?"transparent":If.white;const h=f?If[s]||s||If.gray600:void 0,[g,v]=r("none"),y=o((()=>({indicator:g,setIndicator:v})),[g]);return t.createElement(fg.Provider,{value:y},t.createElement(xg,{size:e,shape:n,hasCheckers:p,indicator:g,variant:i,className:dg,...d},t.createElement(Cg,{iconColor:h,backgroundColor:m,imageUrl:c,size:e,"data-testid":"thumbnail-fill",variant:i},a,p&&!l&&!c&&t.createElement(Sg,{"data-testid":"thumbnail-no-image-line"})),p&&t.createElement(kg,{"data-testid":"thumbnail-inner-shadow"}),u))}wg.Overlay=function({children:e,isConcealed:n=!1,isLoading:r=!1,...o}){return t.createElement(pg,{isConcealed:n,...o},r?t.createElement(jf,null):e)},wg.pointerEventsClassname=dg,wg.Indicator=function({type:e}){const{setIndicator:n}=i(fg),r=gg[e];return a((()=>(n("state"),()=>n("none"))),[n]),t.createElement(r,null)},wg.Status=function({type:e}){const{setIndicator:n}=i(fg),r=bg[e];return a((()=>(n("status"),()=>n("none"))),[n]),t.createElement(r,null)};const xg=Gl.div.withConfig({shouldForwardProp:(e,t)=>!["shape"].includes(e)&&t(e)}).withConfig({displayName:"ThumbnailContainer1",componentId:"sc-11co88f-101"})([""," position:relative;flex:none;border-radius:var(--ds-thumbnail-border-radius);"," "," ",""],(e=>Nl(["--ds-thumbnail-border-radius:",";"],(function(){return"circle"===e.shape?If.radiusCircle:"preview"===e.variant?"0px":If.radiusBase}))),(e=>e.hasCheckers&&Nl(["background:url(\"data:image/svg+xml,%3Csvg width='8' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Crect height='8' width='8' y='0' x='0' fill='%23ffffff'/%3E%3Crect height='4' width='4' y='0' x='0' fill='%23e9ecee'/%3E%3Crect height='4' width='4' y='4' x='4' fill='%23e9ecee'/%3E%3C/svg%3E%0A\");"])),(e=>{const t={xs:"24px",s:"32px",m:"40px",l:"64px"}[e.size];return Nl(["width:",";height:",";"],t,t)}),(e=>{if("none"===e.indicator)return;const{radius:t,offset:n}=mg[e.shape][e.indicator][e.size];return Nl(["--ds-thumbnail-indicator-offset-x:","px;--ds-thumbnail-indicator-offset-y:","px;--ds-thumbnail-indicator-radius:","px;--ds-thumbnail-indicator-cutoff:-webkit-radial-gradient( calc( 100% - ( var(--ds-thumbnail-indicator-radius) - var(--ds-thumbnail-indicator-offset-x) ) ) calc( 100% - ( var(--ds-thumbnail-indicator-radius) - var(--ds-thumbnail-indicator-offset-y) ) ),circle,transparent calc(var(--ds-thumbnail-indicator-radius) + ","px),black 0 );"],n[0],n[1],t,2)})),Eg={xs:If.fontSize100,s:If.fontSize200,m:If.fontSize500,l:If.fontSize500},Cg=Gl.div.withConfig({displayName:"Fill1",componentId:"sc-11co88f-102"})(["display:flex;justify-content:center;align-items:center;width:100%;height:100%;border-radius:var(--ds-thumbnail-border-radius);background:50% 50% no-repeat;background-color:",";background-image:",";background-size:",";color:",";font-weight:600;font-size:",";line-height:1;text-indent:1px;-webkit-mask-image:var(--ds-thumbnail-indicator-cutoff);"],(e=>e.backgroundColor),(e=>e.imageUrl?`url(${e.imageUrl}) `:void 0),(e=>"preview"===e.variant?"contain":"cover"),(e=>e.iconColor),(e=>Eg[e.size])),kg=Gl.div.withConfig({displayName:"InnerShadow",componentId:"sc-11co88f-103"})(["position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border:1px solid ",";border-radius:var(--ds-thumbnail-border-radius);-webkit-mask-image:var(--ds-thumbnail-indicator-cutoff);"],If.gray100a),Sg=Gl.div.withConfig({displayName:"NoImage",componentId:"sc-11co88f-104"})(["width:80%;height:2px;border-radius:2px;background:",";transform:rotate(-45deg);"],If.red500),_g=n({isDragging:!1,dragIndicator:null}),Ig=d((({children:e,subtext:n,thumbnail:r,rightElements:o,onClick:a,isDisabled:c=!1,isSelected:l=!1,checkedVariant:s,isChecked:u=!1,...d},p)=>{const f=Hm("list-item-label"),{isFocusVisible:m,focusProps:h}=Cs(),g=i(_g),v=t.useRef(null),y=[Xm.pointerEventsClassname,Hh.pointerEventsClassname,wg.pointerEventsClassname].join(" "),b="function"==typeof a,w=b&&!c;return t.createElement(Bg,{isDragging:(null==g?void 0:g.isDragging)??!1,isSelected:l,isActive:b,tabIndex:w?0:void 0,onClick:w?a:void 0,onKeyDown:e=>{"function"!=typeof a||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),a())},isDisabled:c,className:y,isFocusVisible:m,ref:p,...d,...h},"checkbox"===s&&t.createElement(Tg,{onClick:e=>{e.stopPropagation()},onKeyDown:e=>{e.stopPropagation()}},t.createElement(Xm,{isChecked:u,isDisabled:c,"aria-labelledby":f,onChange:a})),r&&t.createElement(Ng,{isDisabled:c},r),t.createElement(Dg,{id:f},t.createElement(_m,null,e),n?t.createElement(zg,{isDisabled:c},t.createElement(_m,null,n)):null),(o||(null==g?void 0:g.dragIndicator))&&t.createElement(Pg,{ref:v,onClick:e=>{var t;(null==v||null===(t=v.current)||void 0===t?void 0:t.querySelectorAll("a, button").length)&&e.stopPropagation()},onKeyDown:e=>{e.stopPropagation()}},t.createElement(am,{alignItems:"center",gap:"3"},o,null==g?void 0:g.dragIndicator)),"switch"===s&&t.createElement(Pg,{onClick:e=>{e.stopPropagation()},onKeyDown:e=>{e.stopPropagation()}},t.createElement(Hh,{isChecked:u,isDisabled:c,"aria-labelledby":f,onChange:a})))})),Bg=Gl.div.withConfig({displayName:"ItemStyled",componentId:"sc-11co88f-105"})(["--list-item-right-elements-color:",";display:flex;align-items:center;margin-right:calc("," * -1);margin-left:calc("," * -1);padding:"," ",";border-radius:var(--ds-list-item-border-radius-override,",");&:hover{--list-item-concealead-action-opacity:1;--list-item-concealead-action-width:auto;}"," "," ",""],If.gray200,If.spacing4,If.spacing4,If.spacing3,If.spacing4,If.radiusLarge,(e=>e.isActive&&Nl(["--list-item-right-elements-color:",";outline:none;cursor:pointer;&:hover{--list-item-right-elements-color:",";background:",";}"," &:active{background:",";box-shadow:none;}",""],If.gray200,If.gray600,If.gray25,e.isFocusVisible&&Nl(["--list-item-right-elements-color:",";background:",";&,&:hover{box-shadow:var( --ds-list-item-focus-ring-override,inset 0 0 0 2px ",",inset 0 0 0 4px "," );}"],If.gray600,If.gray25,If.gray50,If.gray10),If.gray50,e.isDisabled&&Nl(["--list-item-right-elements-color:",";color:",";pointer-events:none;"],If.gray200,If.gray200))),(e=>e.isSelected&&Nl(["--list-item-right-elements-color:",";&,&:hover{background:",";}"],If.gray600,If.gray50)),(e=>e.isDragging&&Nl(["--list-item-right-elements-color:",";background:",";box-shadow:",";cursor:grabbing;"],If.gray600,If.gray25,If.elevation4))),Tg=Gl.div.withConfig({displayName:"CheckboxContainer",componentId:"sc-11co88f-106"})(["flex:none;margin-right:",";"],If.spacing4),Ng=Gl.div.withConfig({displayName:"ThumbnailContainer",componentId:"sc-11co88f-107"})(["flex:none;margin-right:",";",""],If.spacing4,(e=>e.isDisabled&&"opacity: 50%;")),Dg=Gl.div.withConfig({displayName:"Content2",componentId:"sc-11co88f-108"})([""," flex:1;min-width:0;"],im.uiTextM),zg=Gl.div.withConfig({displayName:"Subtext1",componentId:"sc-11co88f-109"})([""," color:",";"],im.uiTextS,(e=>e.isDisabled?If.gray200:If.gray600)),Pg=Gl.div.withConfig({displayName:"RightElements",componentId:"sc-11co88f-110"})(["flex:none;margin-left:",";color:var(--list-item-right-elements-color);"],If.spacing4);function Og({children:e,isContained:n=!1,...r}){return t.createElement(Ag,{isContained:n,...r},e)}Og.Group=function({title:e,action:n,children:r,...o}){const i=Hm("list-group-header");return t.createElement("div",{...o},t.createElement(ug,null,t.createElement("span",{id:i},e),n),t.createElement("div",{"aria-describedby":i},r))},Og.Item=Ig,Og.Divider=Dh,Og.ConcealedAction=function(e){return t.createElement(sg,{...e})};const Ag=Gl.div.withConfig({displayName:"ListStyled",componentId:"sc-11co88f-111"})(["padding:",";"],(e=>e.isContained?`0 ${If.spacing5}`:`${If.spacing3} 0`)),Rg=Gl.div.withConfig({displayName:"ItemWrapper",componentId:"sc-11co88f-112"})(["--ds-list-item-border-radius-override:0;--ds-list-item-focus-ring-override:none;padding:0 ",";"],If.spacing4);function Mg(e){return!!e&&e.getRootNode()instanceof ShadowRoot}function Fg(e){if(!e||!Mg(e))return;const t=null==e?void 0:e.getRootNode();return Array.from(t.children).find((e=>"STYLE"!==e.tagName))}function Lg({children:e,trigger:n,position:r="bottom-left",isClosedOnScroll:i=!1,isKeepingFocusOnTrigger:l=!1,containerRef:s,onOpen:d,onClose:p,minWidth:m,...h}){const[g,v]=f(og,rg),y=c(!0),b=c(),w=Hm("dropdown-menu");var x,E;a((()=>{y.current?y.current=!1:g.isOpen?(v({type:"highlight-current-item"}),null==d||d()):null==p||p()}),[g.isOpen]),x=g.highlightedItemId,E=g.hasSearch,a((()=>{if(!x)return;const e=document.querySelector("#"+x);if(e){const t=e.closest('[role="menu"');t&&(function(e,t,n){const{top:r,bottom:o,height:i}=e.getBoundingClientRect(),a=t.getBoundingClientRect(),c=n?64:0;return!(r>=a.bottom-i||o<=a.top+c+i)}(e,t,E)||e.scrollIntoView(!1))}}),[x,E]);const C=u((()=>{var e;g.isOpen&&(v({type:"close"}),null==b||null===(e=b.current)||void 0===e||e.focus())}),[g.isOpen]);a((()=>{function e(){C()}if(i&&g.isOpen)return document.addEventListener("scroll",e),()=>{document.removeEventListener("scroll",e)}}),[i,C,g.isOpen]),yh("Tab",(()=>{g.isOpen&&C()})),yh("Escape",(()=>{g.isOpen&&C()})),yh("Enter",(e=>{var t;g.isOpen&&g.highlightedItemId&&(null===(t=document.querySelector("#"+g.highlightedItemId))||void 0===t||t.click(),e.preventDefault())})),yh("ArrowDown",(e=>{g.isOpen&&(v({type:"highlight-next"}),e.preventDefault())})),yh("ArrowUp",(e=>{g.isOpen&&(v({type:"highlight-previous"}),e.preventDefault())}));const k=o((()=>({dispatch:v,close:C,highlightedItemId:g.highlightedItemId,hasSearch:g.hasSearch,isKeepingFocusOnTrigger:l,menuId:w})),[C,l,g.hasSearch,g.highlightedItemId,w]),{renderLayer:S,triggerProps:{ref:_},layerProps:I,triggerBounds:B}=vd({isOpen:g.isOpen,onOutsideClick:Mg(b.current)?void 0:()=>v({type:"close"}),onDisappear:e=>{"full"===e&&v({type:"close"})},triggerOffset:4,containerOffset:16,auto:!0,container:Fg(b.current),...ng(r)}),T="bottom"===r?{width:null==B?void 0:B.width,minWidth:"initial",maxWidth:"initial"}:{};return t.createElement(Ah.Provider,{value:k},t.createElement("div",{...h},n({isOpen:g.isOpen,onClick:()=>{v({type:"toggle"})},"aria-haspopup":!0,"aria-expanded":g.isOpen,"aria-controls":w,onKeyDown:function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),v({type:"toggle-from-keyboard"}))},ref:Yu(_,b)},{open:()=>{v({type:"open"})},close:()=>{v({type:"close"})}}),g.isOpen&&S(t.createElement(Lh,{id:w,...I,ref:Yu(I.ref,s),style:{...I.style,...T},minWidth:m},e))))}function jg({attr:e,title:n,size:r,children:o,color:a,style:c,...l}){const s=i(Ss),u=r||s.size,d={...s.attr,...e};return t.createElement("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",...d,...l,style:{color:a,...s.style,...c},height:u,width:u,xmlns:"http://www.w3.org/2000/svg"},n&&t.createElement("title",null,n),o)}function Hg({label:e,labelSecondaryText:n,helperText:r,helperTextIcon:o,id:i,name:a,isInvalid:c,hasClearButton:l,icon:s,iconRight:u,inputRef:d,isDisabled:p,isReadOnly:f,isSmall:m,maxLength:h,onBlur:g,onChange:v,onFocus:y,onKeyDown:b,placeholder:w,type:x,value:E,variant:C,prefix:k,suffix:S,..._}){const I=Hm("input"),B=i||I,T=Hm("helper-text");return t.createElement(ph.Group,{..._},t.createElement(ph.Label,{secondaryText:n,htmlFor:B},e),t.createElement(Nh,{hasClearButton:l,icon:s,iconRight:u,inputRef:d,isDisabled:p,isReadOnly:f,isInvalid:c,isSmall:m,maxLength:h,onBlur:g,onChange:v,onFocus:y,onKeyDown:b,placeholder:w,type:x,value:E,variant:C,id:B,name:a,"aria-describedby":r?T:void 0,prefix:k,suffix:S}),r?t.createElement(ph.HelperText,{icon:o,isInvalid:c,id:T},r):null)}Lg.Divider=Dh,Lg.Item=function({children:e,isDisabled:n,icon:l,checkedVariant:s="checkmark",isChecked:u=!1,badge:d,onClick:p,submenu:f,role:m,...h}){const[g,v]=r(!1),[y,b]=r(!1),w=Hm("dropdown-item"),x=Hm("dropdown-item-label"),E=Hm("dropdown-submenu"),C=Boolean(f),{dispatch:k,...S}=Rh(),_=S.highlightedItemId===w,I=i(Fh),{isFocusVisible:B,focusProps:T}=Cs(),{hoverProps:N}=function(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:i,isDisabled:l}=e,[s,u]=r(!1),d=c({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;a(bs,[]);let{hoverProps:p,triggerHoverEnd:f}=o((()=>{let e=(e,r)=>{if(d.pointerType=r,l||"touch"===r||d.isHovered||!e.currentTarget.contains(e.target))return;d.isHovered=!0;let o=e.currentTarget;d.target=o,t&&t({type:"hoverstart",target:o,pointerType:r}),n&&n(!0),u(!0)},r=(e,t)=>{if(d.pointerType="",d.target=null,"touch"===t||!d.isHovered)return;d.isHovered=!1;let r=e.currentTarget;i&&i({type:"hoverend",target:r,pointerType:t}),n&&n(!1),u(!1)},o={};return"undefined"!=typeof PointerEvent?(o.onPointerEnter=t=>{hs&&"mouse"===t.pointerType||e(t,t.pointerType)},o.onPointerLeave=e=>{!l&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(o.onTouchStart=()=>{d.ignoreEmulatedMouseEvents=!0},o.onMouseEnter=t=>{d.ignoreEmulatedMouseEvents||hs||e(t,"mouse"),d.ignoreEmulatedMouseEvents=!1},o.onMouseLeave=e=>{!l&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:o,triggerHoverEnd:r}}),[t,n,i,l,d]);return a((()=>{l&&f({currentTarget:d.target},d.pointerType)}),[l]),{hoverProps:p,isHovered:s}}({onHoverStart:()=>{C&&v(!0)},onHoverEnd:()=>{C&&v(!1)}}),D=g&&C,{triggerProps:z,layerProps:P,renderLayer:O}=vd({isOpen:D,auto:!0,placement:"right-start",possiblePlacements:["right-end","right-start","left-start","left-end"],triggerOffset:-4,onParentClose:()=>{}});a((()=>{k({type:"add-item",payload:{id:w,parentId:I,isDisabled:n,isSelected:"checkmark"===s?u:void 0}})})),a((()=>{y&&k({type:"highlight-submenu"})}),[k,y]),a((()=>{var e;S.hasSearch||S.isKeepingFocusOnTrigger||_&&(null===(e=document.querySelector("#"+w))||void 0===e||e.focus())}),[S.hasSearch,S.isKeepingFocusOnTrigger,w,_]),yh("ArrowLeft",(e=>{C&&y&&(k({type:"highlight-item",payload:w}),v(!1),b(!1),e.preventDefault())})),yh("ArrowRight",(e=>{_&&C&&(v(!0),b(!0),e.preventDefault())}));const A=function(e){return"checkbox"===e?Xm.pointerEventsClassname:"switch"===e?Hh.pointerEventsClassname:""}(s),R=function(e,t,n){return e||("checkbox"===t||"switch"===t?"menuitemcheckbox":"checkmark"===t&&n?"menuitemradio":"menuitem")}(m,s,u),M="menuitemcheckbox"===R||"menuitemradio"===R?u:void 0,F=C?{"aria-haspopup":!0,"aria-expanded":g,"aria-controls":E}:{};function L(e){null==p||p(e),C||("menuitemcheckbox"!==R?S.close():k({type:"keep-highlight"}))}return t.createElement(Fh.Provider,{value:w},t.createElement(qh,{...N,...z,onClick:e=>e.stopPropagation()},t.createElement(Gh,{disabled:n,"aria-disabled":n,isChecked:u,"aria-checked":M,"aria-selected":S.hasSearch||S.isKeepingFocusOnTrigger?_:void 0,role:R,onClick:L,tabIndex:-1,id:w,onKeyDown:function(e){C&&(" "!==e.key&&"Enter"!==e.key||(null==p||p(e),v((e=>{const t=!e;return b(t),t})),e.preventDefault()))},isHighlighted:_||B,isSubmenuOpen:g,className:A,...F,...T,...h},"checkbox"===s&&t.createElement(Xh,{onClick:e=>e.stopPropagation()},t.createElement(Xm,{isChecked:u,isDisabled:n,"aria-labelledby":x,onChange:L})),l&&t.createElement(Kh,null,l),t.createElement(Zh,{id:x},e),"checkmark"===s&&u&&t.createElement(Jh,null,t.createElement(Su,null)),d&&t.createElement(Jh,null,d),"switch"===s&&t.createElement(Jh,{onClick:e=>e.stopPropagation()},t.createElement(Hh,{isChecked:u,isDisabled:n,"aria-labelledby":x,onChange:L})),C&&t.createElement(Qh,{isActive:g||B||_},t.createElement(Iu,null))),D&&O(t.createElement(eg,{id:E,...P},f))))},Lg.ListItem=function({children:e,isDisabled:n,isChecked:r=!1,onClick:o,role:i="menuitem",rightElements:c,...l}){const s=Hm("dropdown-item"),{dispatch:u,...d}=Rh(),p=d.highlightedItemId===s;a((()=>{u({type:"add-item",payload:{id:s,parentId:void 0,isDisabled:n,isSelected:r}})})),a((()=>{var e;d.hasSearch||d.isKeepingFocusOnTrigger||p&&(null===(e=document.querySelector("#"+s))||void 0===e||e.focus())}),[d.hasSearch,d.isKeepingFocusOnTrigger,s,p]);const f=r?t.createElement(Su,{color:If.gray800}):null;return t.createElement(Rg,{onClick:e=>e.stopPropagation()},t.createElement(Og.Item,{isSelected:p,isDisabled:n,onClick:function(){null==o||o(),d.close()},"aria-disabled":n,"aria-checked":"menuitemradio"===i?r:void 0,"aria-selected":d.hasSearch||d.isKeepingFocusOnTrigger?p:void 0,role:i,rightElements:c?t.createElement(t.Fragment,null,c,f):f,id:s,...l},e))},Lg.SectionTitle=function({children:e,...n}){return t.createElement(tg,{...n},e)},Lg.Arrow=function(e){return t.createElement(Oh,{...e},t.createElement(Cu,null))},Lg.SelectButtonText=function({children:e,...n}){return t.createElement(ig,{...n},t.createElement(_m,null,e))},Lg.SearchInput=function({onChange:e,...n}){const r=c(null),{dispatch:o}=Rh(),{menuId:i}=Rh();return a((()=>{var e;null===(e=r.current)||void 0===e||e.focus()}),[]),a((()=>{o({type:"set-search-presence"})}),[o]),t.createElement(ag,null,t.createElement(cg,null,t.createElement(Nh,{inputRef:r,hasClearButton:!0,icon:t.createElement(Hs,null),onChange:function(t){var n,r;null===(n=document.querySelector(`#${i}`))||void 0===n||null===(r=n.scrollTo)||void 0===r||r.call(n,{top:0}),e(t)},...n})))},Lg.Text=function({fontSize:e="item",children:n,...r}){return t.createElement(lg,{fontSize:e,...r},n)},Gl.div.withConfig({displayName:"EmptyStateStyled",componentId:"sc-11co88f-113"})(["display:grid;grid-template-columns:minmax(10px,472px);justify-content:center;justify-items:center;text-align:center;"]),Gl.p.withConfig({displayName:"Image1",componentId:"sc-11co88f-114"})(["display:grid;place-items:center;width:128px;height:128px;margin:0 0 ",";border-radius:",";background:",";color:",";"],If.spacing5,If.radiusCircle,If.gray25,If.gray400),Gl.h2.withConfig({displayName:"Title3",componentId:"sc-11co88f-115"})([""," margin:0 0 ",";color:",";"],im.headingM,If.spacing4,If.gray800),Gl.p.withConfig({displayName:"Description1",componentId:"sc-11co88f-116"})([""," margin:0;color:",";"],im.paragraphM,If.gray600),Gl.p.withConfig({displayName:"Actions",componentId:"sc-11co88f-117"})(["display:flex;gap:",";justify-content:center;margin:"," 0 0;"],If.spacing4,If.spacing6),Gl.div.withConfig({displayName:"InlineBannerStyled",componentId:"sc-11co88f-118"})([""," display:flex;align-items:flex-start;padding:"," ",";border-radius:",";background:var(--background-color);"],(e=>"info"===e.variant?Nl(["--background-color:",";--icon-color:",";--link-color:",";--link-color-hover:",";"],If.blue500a10,If.blue500,If.blue600,If.blue700):"warning"===e.variant?Nl(["--background-color:",";--icon-color:",";--link-color:",";--link-color-hover:",";"],If.yellow500a10,If.yellow500,If.yellow600,If.yellow700):"error"===e.variant?Nl(["--background-color:",";--icon-color:",";--link-color:",";--link-color-hover:",";"],If.red500a10,If.red500,If.red600,If.red700):Nl(["--background-color:",";--icon-color:",";--link-color:",";--link-color-hover:",";"],If.gray50,If.gray500,If.blue600,If.blue700)),If.spacing4,If.spacing4,If.radiusMedium),Gl.div.withConfig({displayName:"IconHolder1",componentId:"sc-11co88f-119"})(["display:flex;width:24px;height:24px;margin-right:",";color:var(--icon-color);"],If.spacing3),Gl.div.withConfig({displayName:"TitleHolder",componentId:"sc-11co88f-120"})([""," margin-bottom:",";color:",";"],im.uiTextM,If.spacing2,If.gray1000),Gl.div.withConfig({displayName:"DescriptionHolder",componentId:"sc-11co88f-121"})([""," color:",";line-height:",";"],im.uiTextS,If.gray800,If.layoutSpacing2),Gl.div.withConfig({displayName:"LinkHolder",componentId:"sc-11co88f-122"})([""," margin-top:",";a{color:var(--link-color);text-decoration:none;}a:hover{color:var(--link-color-hover);}a:focus-visible{border-radius:2px;box-shadow:0 0 0 2px ",";outline:none;}"],im.uiTextS,If.spacing2,If.blue500),Gl.kbd.withConfig({displayName:"KeyboardBadgeStyled",componentId:"sc-11co88f-123"})([""," display:inline-flex;vertical-align:top;box-sizing:border-box;height:24px;padding:"," ",";border-radius:",";background:",";color:",";box-shadow:inset 0 -1px 0 ",";font-family:",";"],im.uiTextS,If.spacing1,If.spacing3,If.radiusMedium,If.gray75,If.gray800,If.gray200a,If.fontStackBase),Gl.span.withConfig({displayName:"KeyboardLabelStyled",componentId:"sc-11co88f-124"})(["position:absolute;overflow:hidden;clip:rect(0 0 0 0);width:1px;height:1px;white-space:nowrap;clip-path:inset(50%);"]),Gl.div.withConfig({displayName:"IconHolder",componentId:"sc-11co88f-125"})(["display:flex;align-items:center;width:20px;height:20px;margin-right:",";margin-left:calc("," * -1);&:not(:last-child){margin-right:calc("," * -1);}svg{fill:currentColor;}"],If.spacing1,If.spacing2,If.spacing2),Gl.div.withConfig({displayName:"StyledItemWrapper",componentId:"sc-11co88f-126"})(["position:relative;user-select:none;"," ",""],(e=>"after"===e.insertPosition&&Nl(["&::after{content:'';position:absolute;bottom:",";z-index:1;width:100%;height:",";background-color:",";}"],e.isDividerShown?"-10px":"0","2px",If.blue300)),(e=>"before"===e.insertPosition&&Nl(["&::before{content:'';position:absolute;top:",";z-index:1;width:100%;height:",";background-color:",";}"],e.isDividerShown?"-10px":"0","2px",If.blue300))),Gl.div.withConfig({displayName:"ShadowItem",componentId:"sc-11co88f-127"})(["position:absolute;top:0;box-sizing:content-box;width:100%;height:100%;margin-right:calc("," * -1);margin-left:calc("," * -1);padding-right:",";padding-left:",";border-radius:",";background-color:",";"],If.spacing4,If.spacing4,If.spacing4,If.spacing4,If.radiusLarge,If.gray50),Gl.div.withConfig({displayName:"StyledDragIndicator",componentId:"sc-11co88f-128"})(["cursor:",";"],(e=>e.isDragging?"grabbing":"grab"));const Ug=Yl((e=>Nl(["@keyframes ","{0%{opacity:0;}100%{opacity:1;}}@keyframes ","{0%{opacity:1;}100%{opacity:0;}}@keyframes ","{0%{opacity:0.5;transform:scale(0.95);}100%{opacity:1;transform:scale(1);}}@keyframes ","{0%{opacity:1;transform:scale(1);}100%{opacity:0.5;transform:scale(0.95);}}.",",.","{position:fixed;top:0;right:0;bottom:0;left:0;z-index:",";}.","{background:",";}.","{display:flex;align-items:flex-start;overflow-x:hidden;overflow-y:auto;padding:",";}.","{"," position:relative;display:flex;flex-direction:column;align-items:stretch;box-sizing:border-box;width:520px;margin:auto;border-radius:",";background:",";box-shadow:",";}.","{width:866px;}.","{width:100%;height:100%;min-height:0;}"],"b-modal-overlay-in","b-modal-overlay-out","b-modal-container-in","b-modal-container-out","b-modal__overlay","b-modal__container",e.zIndex,"b-modal__overlay",If.gray200a,"b-modal__container",If.spacing6,"b-modal__modal",Df,If.radiusLarge,If.gray10,If.elevation8,"b-modal__modal--medium","b-modal__modal--full-screen"))),Vg=Gl.div.withConfig({displayName:"HeaderStyled",componentId:"sc-11co88f-129"})(["display:flex;flex:none;align-items:center;box-sizing:border-box;height:72px;padding:"," ",";",""],If.spacing4,If.spacing6,(e=>!e.hideCloseIcon&&Nl(["padding-right:calc( "," + 50px + "," );"],If.spacing4,If.spacing6))),$g=Gl.div.withConfig({displayName:"BackButton",componentId:"sc-11co88f-130"})(["margin-right:",";margin-left:calc("," * -1);"],If.spacing4,If.spacing4),Wg=Gl.div.withConfig({displayName:"ModalThumbnail",componentId:"sc-11co88f-131"})(["margin-right:",";"],If.spacing4),Yg=Gl.div.withConfig({displayName:"Headings",componentId:"sc-11co88f-132"})(["flex:1;min-width:0;"]),qg=Gl.h2.withConfig({displayName:"Title2",componentId:"sc-11co88f-133"})([""," overflow:hidden;margin:0;color:",";text-overflow:ellipsis;white-space:nowrap;"],im.uiTextL,If.colorText),Gg=Gl.h3.withConfig({displayName:"SecondaryInformation",componentId:"sc-11co88f-134"})([""," overflow:hidden;margin:0;color:",";text-overflow:ellipsis;white-space:nowrap;"],im.uiTextS,If.gray500),Xg=Gl.div.withConfig({displayName:"ContentStyled",componentId:"sc-11co88f-135"})(["flex:1 1 auto;min-height:0;",""],(e=>e.scrollable&&Nl(["position:relative;&::before,&::after{content:'';position:absolute;left:0;display:block;width:100%;height:6px;}&::before{top:0;z-index:1;background:linear-gradient(to bottom,",",transparent);}&::after{bottom:0;background:linear-gradient(to top,",",transparent);}"],If.colorShadow,If.colorShadow))),Kg=Gl.div.withConfig({displayName:"ContentInner",componentId:"sc-11co88f-136"})([""," box-sizing:border-box;padding:"," ",";color:",";font-family:",";",""],im.paragraphM,If.spacing5,If.spacing6,If.colorText,If.brandFontStackBase,(e=>e.scrollable&&Nl(["position:relative;overflow-x:hidden;overflow-y:auto;height:100%;scroll-behavior:smooth;&::before,&::after{content:'';position:relative;left:0;z-index:1;display:block;height:",";}&::before{margin:calc("," * -1) calc("," * -1) 0;background:linear-gradient( to bottom,",","," 50%,rgb(255 255 255 / 0) );}&::after{margin:0 calc("," * -1) calc("," * -1);background:linear-gradient( to top,",","," 50%,rgb(255 255 255 / 0) );}"],If.spacing5,If.spacing5,If.spacing6,If.gray10,If.gray10,If.spacing6,If.spacing5,If.gray10,If.gray10))),Zg=Gl.div.withConfig({displayName:"ContentExpander",componentId:"sc-11co88f-137"})(["min-height:100%;"]),Jg=Gl.div.withConfig({displayName:"FooterStyled",componentId:"sc-11co88f-138"})(["display:flex;flex:none;padding:",";"],If.spacing6),Qg=Gl.div.withConfig({displayName:"ActionsRight",componentId:"sc-11co88f-139"})(["margin-left:auto;"]),ev=Gl.div.withConfig({displayName:"CloseButton",componentId:"sc-11co88f-140"})(["position:absolute;top:",";right:",";"],If.spacing5,If.spacing4),tv=t.createContext({size:"small",hideCloseIcon:!1}),nv={small:"",medium:"b-modal__modal--medium",fullscreen:"b-modal__modal--full-screen"};function rv({isOpen:e,onClose:n,size:i="small",isCloseButtonHidden:c=!1,closeButtonTitle:l="Close",isClosedOnOverlayClick:s=!1,onCloseAnimationEnd:u,children:d,container:p}){const f={root:"b-modal",overlay:"b-modal__overlay",modalContainer:"b-modal__container",modal:`b-modal__modal ${nv[i]}`,modalAnimationIn:"b-modal-container-in",modalAnimationOut:"b-modal-container-out",overlayAnimationIn:"b-modal-overlay-in",overlayAnimationOut:"b-modal-overlay-out"},m=!c,h=ym("modal"),g=o((()=>({size:i,hideCloseIcon:c})),[i,c]),[v,y]=r(!1);return a((()=>{e&&y(!0)}),[e]),t.createElement(tv.Provider,{value:g},t.createElement(Yp,{open:e,onClose:n,classNames:f,animationDuration:200,showCloseIcon:!1,closeOnEsc:m,closeOnOverlayClick:s,container:p,onAnimationEnd:()=>{e||(y(!1),null==u||u())}},e||v?d:null,m&&t.createElement(ev,null,t.createElement(Xf,{variant:"clean",icon:t.createElement(Bu,null),"aria-label":l,title:l,onClick:n}))),t.createElement(Ug,{zIndex:h}))}function ov({isOpen:e,onClose:n,size:r,isCloseButtonHidden:o,isClosedOnOverlayClick:i,closeButtonTitle:a,title:c,secondaryInfo:l,thumbnail:s,children:u,actionPrimary:d,actionSecondary:p,actionTertiary:f,container:m,onCloseAnimationEnd:h}){return t.createElement(rv,{isOpen:e,onClose:n,isClosedOnOverlayClick:i,isCloseButtonHidden:o,size:r,closeButtonTitle:a,onCloseAnimationEnd:h,container:m},t.createElement(rv.Header,{title:c,secondaryInfo:l,thumbnail:s}),t.createElement(rv.Content,null,u),d&&t.createElement(rv.Footer,{actionPrimary:d,actionSecondary:p,actionTertiary:f}))}function iv(e){return t.createElement(ov,{...e})}function av(e){return t.createElement(cv,{role:"status","aria-live":"polite"},e.thumbnail&&t.createElement(lv,null,e.thumbnail),t.createElement(sv,null,t.createElement(uv,{title:"string"==typeof e.title?e.title:""},e.title),e.description&&t.createElement(dv,{title:"string"==typeof e.description?e.description:""},e.description)),t.createElement(pv,null,e.button),"number"==typeof e.progressPercentage&&t.createElement(fv,{style:{width:e.progressPercentage+"%"}}))}rv.Header=function({title:e,secondaryInfo:n,thumbnail:r,backButton:o}){const{hideCloseIcon:a}=i(tv);return t.createElement(Vg,{hideCloseIcon:a},o&&t.createElement($g,null,t.createElement(Xf,{variant:"clean",icon:t.createElement(_u,null),"aria-label":o.title,...o})),r&&t.createElement(Wg,null,r),t.createElement(Yg,null,t.createElement(qg,null,e),n&&t.createElement(Gg,null,n)))},rv.Content=function({children:e}){const{size:n}=i(tv),r="fullscreen"===n;return t.createElement(Xg,{scrollable:r},t.createElement(Kg,{scrollable:r},r?t.createElement(Zg,null,e):e))},rv.Footer=function({actionPrimary:e,actionSecondary:n,actionTertiary:r}){return t.createElement(Jg,null,r,t.createElement(Qg,null,t.createElement(am,{gap:"4"},n,e)))},Gl.div.withConfig({displayName:"NotificationPositionStyled",componentId:"sc-11co88f-141"})(["position:absolute;bottom:0;left:0;z-index:",";opacity:",";transition:all 0.2s ease-out;transform:translateY(","px) translate3d(0,",",0) translateX(",");will-change:transform,opacity;"],(e=>e.isVisible?9999:void 0),(e=>e.isExists?"1":"0"),(e=>-1*e.offset),(e=>e.isItJustAdded?"calc(100% + 16px)":"0"),(e=>e.isDismissed?"-100%":"0")),Gl.div.withConfig({displayName:"NotificationsStyled",componentId:"sc-11co88f-142"})(["position:fixed;bottom:",";left:",";z-index:",";"],If.spacing6,If.spacing6,9999);const cv=Gl.div.withConfig({displayName:"BaloonStyled",componentId:"sc-11co88f-143"})(["",";position:relative;display:flex;align-items:flex-start;overflow:hidden;box-sizing:border-box;width:480px;padding:",";border-radius:",";background:",";box-shadow:",",",";"],Df,If.spacing5,If.radiusLarge,If.white,If.elevationStatic,If.elevation2),lv=Gl.div.withConfig({displayName:"ThumbnailWrapper1",componentId:"sc-11co88f-144"})(["flex:none;margin-right:",";"],If.spacing5),sv=Gl.div.withConfig({displayName:"Text",componentId:"sc-11co88f-145"})(["flex:1;align-self:center;"]),uv=Gl.h2.withConfig({displayName:"Title1",componentId:"sc-11co88f-146"})(["display:-webkit-box;overflow:hidden;margin:0;font:inherit;-webkit-line-clamp:3;-webkit-box-orient:vertical;"]),dv=Gl.p.withConfig({displayName:"Description",componentId:"sc-11co88f-147"})(["display:-webkit-box;overflow:hidden;margin:"," 0 0;color:",";font-size:",";line-height:20px;-webkit-line-clamp:4;-webkit-box-orient:vertical;"],If.spacing2,If.gray500,If.fontSize75),pv=Gl.div.withConfig({displayName:"Action",componentId:"sc-11co88f-148"})(["flex:none;"]),fv=Gl.div.withConfig({displayName:"Progress1",componentId:"sc-11co88f-149"})(["position:absolute;bottom:0;left:0;height:4px;background-color:",";transition:width 0.2s;"],If.brandPrimary500);function mv({isPersistent:e,button:n,id:r=yd(),variant:o,thumbnail:i,...a}){return bf((e=>t.createElement(av,{thumbnail:hv(i,o),...a,button:n?p(n,{variant:"clean",onClick(){var t,r;null===(t=(r=n.props).onClick)||void 0===t||t.call(r),bf.dismiss(e.id)}}):t.createElement(Xf,{variant:"clean",onClick:()=>{bf.dismiss(e.id)},icon:t.createElement(Bu,null),title:"Close"})})),{id:r,duration:e?288e5:8e3})}function hv(e,n){return e||(n?{loading:t.createElement(wg,{shape:"circle",backgroundColor:"transparent",icon:t.createElement(jf,null)}),success:t.createElement(wg,{shape:"circle",backgroundColor:"green500",icon:t.createElement(Su,null),iconColor:"white"}),error:t.createElement(wg,{shape:"circle",backgroundColor:"red500",icon:t.createElement(Bu,null),iconColor:"white"})}[n]:void 0)}mv.dismiss=function(e){bf.dismiss(e)},Gl.div.withConfig({displayName:"Track",componentId:"sc-11co88f-150"})(["height:4px;border-radius:",";background:",";"],(e=>e.noCornerRadius?"0":If.radiusPill),(e=>e.noBackground?"none":If.gray100a)),Gl.div.withConfig({shouldForwardProp:(e,t)=>!["color"].includes(e)&&t(e)}).withConfig({displayName:"Fill",componentId:"sc-11co88f-151"})(["max-width:100%;height:100%;border-radius:",";background:",";transition:width 0.2s ease-out;"],(e=>e.noCornerRadius?"0":If.radiusPill),(e=>"brand"===e.color?If.brandPrimary500:If.gray600)),Gl.div.withConfig({displayName:"IndicatorPosition",componentId:"sc-11co88f-152"})(["display:flex;flex:none;align-items:center;&::before{content:'';}"]);const gv=Gl.div.withConfig({displayName:"Indicator",componentId:"sc-11co88f-153"})(["position:relative;display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:16px;height:16px;border:2px solid ",";border-radius:",";background-color:transparent;&::before{content:'';position:absolute;top:-5px;right:-5px;bottom:-5px;left:-5px;border:"," solid transparent;border-color:",";border-radius:",";}"," ",""],If.componentRadioBorderUnchecked,If.radiusCircle,If.focusRingWidth,(e=>e.isFocusVisible&&If.focusRingColorPrimary),If.radiusCircle,(e=>e.isChecked&&Nl(["border-color:transparent;background-color:",";color:#fff;"],If.blue500)),(e=>e.isDisabled&&Nl(["border-color:transparent;background-color:",";color:",";"],If.componentRadioFillDisabled,If.componentRadioCheckmarkColorDisabled)));Gl.div.withConfig({displayName:"IndicatorMark",componentId:"sc-11co88f-154"})(["width:6px;height:6px;border-radius:",";background:currentColor;"],If.radiusCircle),Gl.input.withConfig({displayName:"Input",componentId:"sc-11co88f-155"})(["position:absolute;overflow:hidden;clip:rect(0,0,0,0);width:1px;height:1px;margin:0 -1px -1px 0;padding:0;border:0;white-space:nowrap;clip-path:inset(50%);"]),Gl.label.withConfig({displayName:"Container3",componentId:"sc-11co88f-156"})([""," display:flex;align-items:flex-start;margin:0;padding:"," 0;cursor:",";user-select:none;&:hover ","{","}"],im.uiTextM,If.spacing1,(e=>!e.isDisabled&&"pointer"),gv,(e=>{if(!e.isDisabled)return e.isChecked?Nl(["background-color:",";"],If.blue600):Nl(["border-color:",";"],If.componentRadioBorderUncheckedHover)})),Gl.div.withConfig({displayName:"Label",componentId:"sc-11co88f-157"})(["display:block;margin-left:8px;color:",";"],(e=>e.isDisabled?If.gray400:If.colorText));const vv=n({value:"",onChange:()=>{}});function yv({children:e,isDisabled:n,onChange:r,value:i,label:a,icon:c}){const l=o((()=>({value:i,onChange:r})),[r,i]);return t.createElement(vv.Provider,{value:l},t.createElement(Lg,{trigger:({isOpen:e,...r})=>t.createElement(Xf,{icon:c,isPressed:e,rightIcon:t.createElement(Lg.Arrow,null),isFullWidth:!0,isDisabled:n,...r},t.createElement(Lg.SelectButtonText,null,a)),position:"bottom"},e))}function bv(e,t,n){return 100*(n-e)/(t-e)+"%"}yv.Item=function({icon:e,children:n,isDisabled:r,value:o}){const a=i(vv);return t.createElement(Lg.Item,{isChecked:o===a.value,role:"menuitemradio",icon:e,isDisabled:r,onClick:()=>{a.onChange(o)}},n)},yv.SectionTitle=Lg.SectionTitle,yv.Divider=Lg.Divider,yv.SearchInput=Lg.SearchInput,yv.Text=Lg.Text,Gl.aside.withConfig({displayName:"Container2",componentId:"sc-11co88f-158"})(["overflow-y:auto;box-sizing:border-box;width:272px;height:100%;padding:"," 0;border-right:1px solid ",";background:",";"],If.spacing5,If.gray100,If.white),Gl.div.withConfig({shouldForwardProp:(e,t)=>!["width","height"].includes(e)&&t(e)}).withConfig({displayName:"Image",componentId:"sc-11co88f-159"})(["width:",";min-width:10px;height:",";min-height:10px;border-radius:",";background:",";"],(e=>e.width),(e=>e.height),If.radiusBase,If.gray100),Gl.div.withConfig({displayName:"TextContainer",componentId:"sc-11co88f-160"})(["display:flex;align-items:center;width:100%;height:20px;&::before{content:'';height:6px;border-radius:",";","}"],If.radiusPill,(e=>"primary"===e.variant?Nl(["width:75%;max-width:240px;background:",";"],If.gray200):"secondary"===e.variant?Nl(["width:50%;max-width:160px;background:",";"],If.gray100):void 0)),Gl.div.withConfig({displayName:"Opacity",componentId:"sc-11co88f-161"})(["opacity:",";"],(({value:e=1})=>e));const wv=Gl.div.withConfig({displayName:"Container1",componentId:"sc-11co88f-162"})(["position:relative;display:flex;gap:",";align-items:center;"],If.spacing3),xv=Gl.div.withConfig({displayName:"SliderContainer",componentId:"sc-11co88f-163"})(["position:relative;display:flex;flex:1;align-items:center;height:24px;"]),Ev=Nl(["position:relative;box-sizing:border-box;height:24px;padding:0;border:10px solid transparent;border-radius:2px / 50%;background-image:var(--track-background);background-clip:padding-box;cursor:pointer;border-inline:none;appearance:none;"]),Cv=Nl(["position:relative;top:50%;bottom:0;width:20px;height:20px;padding:0;opacity:0;pointer-events:auto;transform:translateY(-50%);-webkit-appearance:none;appearance:none;&:hover{cursor:pointer;}"]);function kv(e){const t=bv(e.min,e.max,e.value);let n,r;return Array.isArray(e.values)?(n=bv(e.min,e.max,e.values[0]),r=bv(e.min,e.max,e.values[1])):e.isFromCenter?(n=`min(${t}, 50%)`,r=`max(50%, ${t})`):(n="0",r=t),`linear-gradient(\n\t\t90deg,\n\t\t${If.gray100a} ${n},\n\t\t${If.brandPrimary500} ${n},\n\t\t${If.brandPrimary500} ${r},\n\t\t${If.gray100a} ${r}\n\t)`}const Sv=Gl.input.attrs((e=>({style:{"--track-background":kv(e)}}))).withConfig({displayName:"SliderInput",componentId:"sc-11co88f-164"})(["position:absolute;left:0;width:100%;margin:0;padding:0;border:none;background:transparent;",";-webkit-appearance:none;appearance:none;&:focus{outline:none;}&::-webkit-slider-thumb{","}&::-moz-range-thumb{"," transform:none;}&::-webkit-slider-runnable-track{","}&::-moz-range-track{","}"],(e=>e.isRange?"pointer-events: none":"pointer-events: auto"),Cv,Cv,Ev,Ev),_v=Gl.div.withConfig({displayName:"ThumbContainer",componentId:"sc-11co88f-165"})(["position:absolute;top:50%;z-index:1;box-sizing:border-box;width:16px;height:16px;opacity:var(--thumb-opacity,",");pointer-events:none;transition:opacity 120ms ease-in-out;",":hover &{--thumb-opacity:1;}",":hover + &{--thumb-opacity:1;--thumb-inner-circle-visibility:visible;--thumb-border:0 0 0 1px ",";--thumb-shadow:",",",";}",":focus-visible + &{--thumb-opacity:1;--thumb-inner-circle-visibility:visible;--thumb-border:0 0 0 1px ",";--thumb-shadow:0 0 0 3px ",";}",":active + &{--thumb-opacity:1;--thumb-inner-circle-visibility:visible;--thumb-border:0 0 0 1px ",";--thumb-shadow:",",",";--thumb-size:20px;}"],(e=>e.isInactive?0:1),xv,Sv,If.gray100a,If.elevationStatic,If.elevation1,Sv,If.gray100a,If.gray100a,Sv,If.gray100a,If.elevationStatic,If.elevation2),Iv=Gl.div.withConfig({displayName:"ThumbCircle",componentId:"sc-11co88f-166"})(["position:absolute;top:50%;left:50%;width:var(--thumb-size,16px);height:var(--thumb-size,16px);border-radius:",";background:",";box-shadow:var(--thumb-shadow,",",","),var(--thumb-border,0 0 0 1px ",");transform:translate(-50%,-50%);&::before{content:'';position:absolute;top:50%;left:50%;display:block;width:8px;height:8px;border-radius:",";background-color:",";visibility:var(--thumb-inner-circle-visibility,hidden);transform:translate(-50%,-50%);}"],If.radiusCircle,If.gray10,If.elevationStatic,If.elevation1,If.gray75a,If.radiusCircle,If.gray25),Bv=Gl.div.withConfig({displayName:"InputContainer",componentId:"sc-11co88f-167"})(["width:",";input{text-align:center;}"],(function(e){return 40+8*Math.max(e.min.toString().length,e.max.toString().length)+"px"}));function Tv({min:e,max:n,value:r,isTooltipOpen:o,inputPosition:i,isInactive:a}){const c=bv(e,n,r);return t.createElement(_v,{isInactive:a,style:Nv(c),"data-testid":"thumb"},t.createElement(Iv,null),"none"===i&&t.createElement(bm,{isOpen:o,content:r,position:"top-center"},(e=>t.createElement("div",{...e}))))}function Nv(e){return{left:e,transform:`translateY(-50%) translateX(calc(${e} * -1))`}}function Dv({min:e,max:n,value:o,onChange:i,inputPosition:a,isFromCenter:c=!1,isInactive:l,isTooltipHidden:s}){const[u,d]=r(!1),p=Array.isArray(o);return t.createElement(t.Fragment,null,t.createElement(Sv,{min:e,max:n,value:p?o[0]:o,values:o,type:"range",onChange:i,name:"min-input",onMouseDown:()=>{d(!0)},onMouseUp:()=>{d(!1)},isFromCenter:c,isRange:p,role:"slider"}),t.createElement(Tv,{isTooltipOpen:u&&!s,min:e,max:n,value:p?o[0]:o,inputPosition:a,isInactive:l}),p&&t.createElement(t.Fragment,null,t.createElement(Sv,{min:e,max:n,value:o[1],type:"range",onChange:i,name:"max-input",values:o,onMouseDown:()=>{d(!0)},onMouseUp:()=>{d(!1)},isRange:p}),t.createElement(Tv,{isTooltipOpen:u&&!s,min:e,max:n,value:o[1],inputPosition:a,isInactive:l})))}function zv({min:e,max:n,inputPosition:o="none",value:i,onChange:a,iconLeft:c,iconRight:l,isFromCenter:s=!1,isInactive:u=!1,isTooltipHidden:d=!1,...p}){const[f,m]=r(""),[h,g]=r("none");function v(t){g("none");const r=Number(t.target.value);r<e||n<r||(Array.isArray(i)?("min-input"===t.target.name&&r<i[1]&&a([r,i[1]]),"max-input"===t.target.name&&i[0]<r&&a([i[0],r])):a(r))}function y(e){"Enter"===e.key&&e.target.blur()}const b=String(Array.isArray(i)?i[0]:i),w=String(Array.isArray(i)?i[1]:i);return t.createElement(wv,{...p},("left"===o||"both"===o)&&t.createElement(Bv,{min:e,max:n,"data-testid":"input-left"},t.createElement(Nh,{onChange:m,value:"left"===h?f:b,type:"number",onFocus:()=>{m(b),g("left")},onBlur:()=>{v({target:{name:"min-input",value:f}})},onKeyDown:y})),c,t.createElement(xv,null,t.createElement(Dv,{min:e,max:n,value:i,inputPosition:o,onChange:v,isFromCenter:s,isInactive:u,isTooltipHidden:d})),l,("right"===o||"both"===o)&&t.createElement(Bv,{min:e,max:n,"data-testid":"input-right"},t.createElement(Nh,{onChange:m,value:"right"===h?f:w,type:"number",onFocus:()=>{m(w),g("right")},onBlur:()=>{v({target:{name:"max-input",value:f}})},onKeyDown:y})))}Gl.td.withConfig({displayName:"StyledCell",componentId:"sc-11co88f-168"})([""," "," padding:"," ",";word-break:break-word;&[data-checkbox-cell]{width:16px;}&[data-icon-cell]{width:24px;padding-left:0;}tr &:first-child{border-top-left-radius:",";border-bottom-left-radius:",";}tr &:last-child{border-top-right-radius:",";border-bottom-right-radius:",";}"],(e=>"primary"===e.variant?Nl([""," color:var(--table-row-color-override,inherit);"],im.uiTextM):"secondary"===e.variant?Nl([""," color:var(--table-row-color-override,",");"],im.uiTextS,If.gray600):void 0),(e=>e.isTruncated&&"max-width: 1px;"),If.spacing3,If.spacing4,If.radiusLarge,If.radiusLarge,If.radiusLarge,If.radiusLarge),Gl.div.withConfig({displayName:"ThumbnailWrapper",componentId:"sc-11co88f-169"})(["flex:none;align-self:flex-start;opacity:var(--table-thumbnail-opacity,1);"]),Gl.div.withConfig({displayName:"Content",componentId:"sc-11co88f-170"})(["flex:1;min-width:0;white-space:",";"],(e=>e.isNoWrap?"nowrap":"normal")),Gl.div.withConfig({displayName:"Subtext",componentId:"sc-11co88f-171"})([""," color:var(--table-row-color-override,",");"],im.uiTextS,If.gray600),Gl.div.withConfig({displayName:"IconRight",componentId:"sc-11co88f-172"})(["flex:none;margin-left:",";color:",";"],If.spacing4,If.gray600),Gl.tr.withConfig({displayName:"DividerRow",componentId:"sc-11co88f-173"})(["&:nth-child(2){display:none;}"]),Gl.td.withConfig({displayName:"DividerCell",componentId:"sc-11co88f-174"})(["padding:"," 0;&::before{content:'';display:block;height:1px;height:1px;background:",";}"],If.spacing3,If.gray100a),Gl.tr.withConfig({displayName:"StyledRow",componentId:"sc-11co88f-175"})([""," "," ",""],(e=>e.isActive&&Nl(["--table-row-right-icon-color:",";border-radius:",";outline:none;cursor:pointer;&:hover{--table-row-right-icon-color:",";background:",";}"," &:active{background:",";box-shadow:none;}"],If.gray200,If.radiusLarge,If.gray600,If.gray25,e.isFocusVisible&&Nl(["--table-row-right-icon-color:",";background:",";box-shadow:inset 0 0 0 2px ",",inset 0 0 0 4px ",";&:hover{box-shadow:inset 0 0 0 2px ",",inset 0 0 0 4px ",";}"],If.gray600,If.gray25,If.gray100,If.gray10,If.gray50,If.gray10),If.gray50)),(e=>e.isPressed&&Nl(["--table-row-right-icon-color:",";&,&:hover{background:",";}"],If.gray600,If.gray50)),(e=>e.isDisabled&&Nl(["--table-row-right-icon-color:",";--table-thumbnail-opacity:50%;--table-row-color-override:",";pointer-events:none;"],If.gray200,If.gray200))),Gl.div.withConfig({displayName:"Icon1",componentId:"sc-11co88f-176"})(["color:var(--table-row-right-icon-color);"]),Gl.thead.withConfig({displayName:"StyledHeader",componentId:"sc-11co88f-177"})(["",""],(e=>"string"==typeof e.stickyOffset&&Nl(["--table-head-sticky-offset:",";position:sticky;top:var(--table-head-sticky-offset);z-index:1;background-color:",";",""],"0"===e.stickyOffset?"0px":e.stickyOffset,If.white,e.isStuck&&Nl(["box-shadow:0 3px 0 ",",0 1px 0 ",";"],If.gray50a,If.gray100a)))),Gl.div.withConfig({displayName:"Trigger",componentId:"sc-11co88f-178"})(["position:absolute;top:calc((var(--table-head-sticky-offset) + 1px) * -1);width:1px;height:1px;"]),Gl.th.withConfig({displayName:"StyledHeadCell",componentId:"sc-11co88f-179"})([""," padding:"," ",";text-align:left;"],im.uiTextM,If.spacing2,If.spacing4),Gl.div.withConfig({displayName:"Static",componentId:"sc-11co88f-180"})(["padding:"," 0;"],If.spacing3),Gl.span.withConfig({displayName:"Active",componentId:"sc-11co88f-181"})(["font-weight:600;"]),Gl.td.withConfig({displayName:"Cell2",componentId:"sc-11co88f-182"})(["height:",";"],If.spacing3),Gl.td.withConfig({displayName:"Cell1",componentId:"sc-11co88f-183"})(["padding:"," ",";"],If.spacing3,If.spacing4),Gl.td.withConfig({displayName:"Cell",componentId:"sc-11co88f-184"})(["padding:",";"],If.spacing4),Gl.table.withConfig({displayName:"StyledTable",componentId:"sc-11co88f-185"})(["width:100%;border-collapse:collapse;table-layout:"," !important;word-wrap:initial !important;"],(e=>e.isFixedLayout?"fixed":"auto")),Gl.button.withConfig({shouldForwardProp:(e,t)=>!["shape"].includes(e)&&t(e)}).withConfig({displayName:"TabStyled",componentId:"sc-11co88f-186"})(["display:flex;flex-grow:1;flex-basis:0;justify-content:center;align-items:center;min-width:0;height:",";padding:"," ",";border:0;border-radius:",";background-color:transparent;color:",";font-family:inherit;text-align:center;cursor:pointer;"," &:disabled{color:",";cursor:default;}&:focus-visible{color:",";box-shadow:inset 0 0 0 2px ",";outline:none;}&:hover:enabled{color:",";",";}",";",";"],(e=>"contained"===e.variant?"36px":"40px"),If.spacing3,If.spacing5,(e=>"pill"===e.shape?If.radiusPill:If.radiusBase),(e=>e.isActive?If.gray800:If.gray600),im.uiTextM,If.gray400,If.gray800,If.gray200,If.gray800,(e=>"clean"===e.variant&&Nl(["background-color:",";"],If.gray25a)),(e=>e.isActive&&"contained"===e.variant&&Nl(["background-color:",";box-shadow:0 0 1px ",",",";"],If.white,If.colorShadow,If.elevation1)),(e=>e.isActive&&"clean"===e.variant&&Nl(["background-color:",";"],If.gray50a))),Gl.span.withConfig({displayName:"Icon",componentId:"sc-11co88f-187"})(["margin-right:",";"],If.spacing3),Gl.div.withConfig({shouldForwardProp:(e,t)=>!["shape"].includes(e)&&t(e)}).withConfig({displayName:"TabsStyled",componentId:"sc-11co88f-188"})(["display:flex;gap:",";align-items:center;border-radius:",";",";"],If.spacing1,(e=>"pill"===e.shape?If.radiusPill:`calc(${If.radiusBase} + 2px) `),(e=>"contained"===e.variant&&Nl(["padding:",";background-color:",";"],If.spacing1,If.gray50a)));const Pv={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"};function Ov(e){Object.keys(Pv).forEach((t=>{e.style.setProperty(t,Pv[t],"important")}))}let Av=null;const Rv=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"];function Mv({id:e,isDisabled:n=!1,isReadOnly:r=!1,isInvalid:o=!1,onBlur:i,onChange:a,onFocus:s,placeholder:u,value:d,"aria-label":p,"aria-labelledby":f,"aria-describedby":m,minRows:h=2,maxRows:g=8,maxLength:v,...y}){const b=c(null);return function(e,t,n){const r=c(0),[o,i]=function(e,t){let n=e||2,r=t||8;return n>r&&(n=r),n<2&&(n=2),r>8&&(r=8),[n,r]}(t,n);l((()=>{const t=e.current;if(!t)return;const n=function(e){const t=window.getComputedStyle(e);if(null===t)return null;const n=(r=t,Rv.reduce(((e,t)=>(e[t]=r[t],e)),{}));var r;return""===n.boxSizing?null:{sizingStyle:n,paddingSize:parseFloat(n.paddingBottom||"0")+parseFloat(n.paddingTop||"0"),borderSize:parseFloat(n.borderBottomWidth||"0")+parseFloat(n.borderTopWidth||"0")}}(t);if(!n)return;const a=function({sizingData:e,value:t,minRows:n,maxRows:r}){Av||(Av=document.createElement("textarea"),Av.setAttribute("tabindex","-1"),Av.setAttribute("aria-hidden","true"),Ov(Av)),null===Av.parentNode&&document.body.appendChild(Av);const{paddingSize:o,borderSize:i,sizingStyle:a}=e;Object.keys(a).forEach((e=>{if(!Av)return;const t=e;Av.style[t]=a[t]})),Ov(Av),Av.value=t;let c=function(e,t){const n=Av.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize}(0,e);Av.value="x";const l=Av.scrollHeight-o;let s=l*n;"border-box"===a.boxSizing&&(s=s+o+i),c=Math.max(s,c);let u=l*r;return"border-box"===a.boxSizing&&(u=u+o+i),c=Math.min(u,c),c}({sizingData:n,value:t.value||t.placeholder||"x",minRows:o,maxRows:i});r.current!==a&&(r.current=a,t.style.setProperty("height",`${a}px`,"important"))}))}(b,h,g),t.createElement(Fv,{value:d,onChange:function(e){if(a){const t=e.currentTarget.value;a(t)}},id:e,disabled:n,readOnly:r,isInvalid:o,"aria-label":p,"aria-labelledby":f,"aria-describedby":m,onBlur:i,onFocus:s,placeholder:u,autoComplete:"off",autoCorrect:"off",ref:b,maxLength:v,...y})}const Fv=Gl.textarea.withConfig({displayName:"TextareaStyled",componentId:"sc-11co88f-189"})(["&&{display:block;box-sizing:border-box;width:100%;margin:0;padding:"," ",";border:1px solid ",";border-radius:",";background:",";color:",";outline:none;font-family:",";resize:none;transition:none;"," &::placeholder{color:",";}&:hover{border-color:",";box-shadow:",";}&:focus{border-color:",";box-shadow:0 0 0 3px ",";}&:disabled{border-color:",";background:",";color:",";box-shadow:none;}",";}"],If.spacing3,If.spacing5,If.gray100,If.radiusBase,If.white,If.colorText,If.brandFontStackBase,im.paragraphM,If.gray400,If.gray200,If.elevation1,If.gray300,If.gray100a,If.gray100,If.gray25,If.gray600,(e=>e.isInvalid&&Nl(["border-color:",";&:hover{border-color:",";}&:focus{border-color:",";}"],If.red500,If.red600,If.red500))),Lv=Gl.div.withConfig({displayName:"RightElementText",componentId:"sc-11co88f-190"})(["display:flex;justify-content:flex-end;align-items:center;color:",";text-align:right;"],If.gray400);Gl.div.withConfig({displayName:"LeftIconContainer",componentId:"sc-11co88f-191"})(["margin-right:",";*{max-width:24px;max-height:24px;}"],If.spacing4),Gl.div.withConfig({displayName:"RightElementsContainer",componentId:"sc-11co88f-192"})(["margin-left:auto;padding-left:",";"],If.spacing4);const jv=Nl(["background-color:"," !important;color:"," !important;","{color:",";}"],If.gray50,If.gray800,Lv,If.gray600);function Hv(e){var t;return null!==(t=Uv[e])&&void 0!==t?t:e}Gl.a.withConfig({displayName:"StyledNavItem",componentId:"sc-11co88f-193"})(["&&{"," display:flex;align-items:center;box-sizing:border-box;width:100%;height:40px;margin:0;padding:"," ",";border:0;border-radius:",";background:none;color:",";outline:none;font-family:",";text-decoration:none;cursor:",";&:hover{background-color:",";color:",";","{color:",";}}&:active{","}"," "," ",";}"],im.uiTextM,If.spacing3,If.spacing4,If.brandRadiusBase,If.gray600,If.brandFontStackBase,(e=>e.disabled?"default":"pointer"),If.gray25,If.gray800,Lv,If.gray600,jv,(e=>e.$isSelected&&jv),(e=>e.$isFocusVisible&&Nl(["background-color:",";color:",";","{color:",";}"],If.gray25,If.gray800,Lv,If.gray600)),(e=>e.disabled&&Nl(["background-color:transparent;color:",";pointer-events:none;","{color:",";}"],If.gray400,Lv,If.gray400))),Gl(Dh).withConfig({displayName:"Divider",componentId:"sc-11co88f-194"})(["margin:"," ",";"],If.spacing2,If.spacing4),Gl.div.withConfig({displayName:"StyledTitleContainer",componentId:"sc-11co88f-195"})(["",";display:flex;align-items:center;box-sizing:border-box;height:32px;padding:0 ",";color:",";"],im.uiTextS,If.spacing4,If.gray800),Gl.div.withConfig({displayName:"RightElementIcon",componentId:"sc-11co88f-196"})(["&:last-child{margin-right:calc("," * -1);}"],If.spacing2),Gl.div.withConfig({displayName:"Container",componentId:"sc-11co88f-197"})(["margin:0 ",";"],If.spacing5);var Uv={};function Vv(e){a((function(){var t=e.slice(0,2).toLowerCase(),n="".concat("https://d8ejoa1fys2rk.cloudfront.net","/5.0.5/modules/compactview/i18n/").concat(t,".json");fetch(n).then((function(e){return e.json()})).then((function(e){Uv=e}))}),[e])}function $v(){return t.createElement("svg",{width:"190",height:"130"},t.createElement("defs",null,t.createElement("linearGradient",{id:"prefix__b",x1:"100%",x2:"25.598%",y1:"11.782%",y2:"100%"},t.createElement("stop",{offset:"0%",stopColor:"#F8FAFC"}),t.createElement("stop",{offset:"100%",stopColor:"#EFF2F4"})),t.createElement("rect",{id:"prefix__a",width:"190",height:"130",rx:"3"})),t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("mask",{id:"prefix__c",fill:"#fff"},t.createElement("use",{xlinkHref:"#prefix__a"})),t.createElement("use",{fill:"url(#prefix__b)",xlinkHref:"#prefix__a"}),t.createElement("g",{mask:"url(#prefix__c)"},t.createElement("path",{fill:"#F5A623",d:"M100.296 45.951l23.01 43.23A6 6 0 01118.009 98H71.991a6 6 0 01-5.297-8.82l23.01-43.229a6 6 0 0110.592 0z"}),t.createElement("path",{fill:"#FFF",fillRule:"nonzero",d:"M93.21 60h3.58a2 2 0 011.99 2.199l-1.6 16A2 2 0 0195.19 80h-.38a2 2 0 01-1.99-1.801l-1.6-16A2 2 0 0193.21 60zM95 84a3 3 0 110 6 3 3 0 010-6z"})),t.createElement("path",{fill:"#EEF1F3",d:"M3 0h184a3 3 0 013 3v13H0V3a3 3 0 013-3z",mask:"url(#prefix__c)"}),t.createElement("circle",{cx:"11",cy:"8",r:"3",fill:"#023",fillOpacity:"0.1",mask:"url(#prefix__c)"}),t.createElement("circle",{cx:"20",cy:"8",r:"3",fill:"#023",fillOpacity:"0.1",mask:"url(#prefix__c)"}),t.createElement("circle",{cx:"29",cy:"8",r:"3",fill:"#023",fillOpacity:"0.1",mask:"url(#prefix__c)"})))}function Wv(e){return t.createElement(t.Fragment,null,t.createElement($v,null),t.createElement(Xv,null,Hv("Oops! Something went wrong")),t.createElement(Kv,null,Hv("Please try again or get in contact with our customer support.")),t.createElement(Zv,null,t.createElement(Xf,{variant:"secondary",title:Hv("Send report"),onClick:e.onClickSend,isDisabled:e.isReportSent},e.isReportSent?Hv("Report sent"):Hv("Send report...")),t.createElement(Xf,{variant:"primary",title:Hv("Try again"),onClick:e.onClickRetry},Hv("Try again"))))}var Yv,qv,Gv,Xv=Gl.h1(Yv||(Yv=_a(["\n\tmargin-top: ",";\n\tfont-size: ",";\n"],["\n\tmargin-top: ",";\n\tfont-size: ",";\n"])),If.spacing8,If.fontSize400),Kv=Gl.span(qv||(qv=_a(["\n\tmargin-top: ",";\n\tcolor: ",";\n"],["\n\tmargin-top: ",";\n\tcolor: ",";\n"])),If.spacing5,If.colorTextDisabled),Zv=Gl.div(Gv||(Gv=_a(["\n\tmargin-top: ",";\n\tdisplay: flex;\n\tgap: ",";\n"],["\n\tmargin-top: ",";\n\tdisplay: flex;\n\tgap: ",";\n"])),If.spacing7,If.spacing3);function Jv(e){var n;return t.createElement(iv,{title:Hv("Send error report"),isOpen:e.isOpen,onClose:e.onCancel,actionPrimary:t.createElement(Xf,{variant:"primary",title:Hv("Send report"),onClick:e.onDone},Hv("Send report")),actionSecondary:t.createElement(Xf,{variant:"secondary",title:Hv("Cancel"),onClick:e.onCancel},Hv("Cancel")),container:e.container},t.createElement(ny,null,Hv("We have created a report that you can send us to help us prevent this from happening in the future.")),t.createElement(ry,{"data-testid":"error-stack"},null===(n=e.error.stack)||void 0===n?void 0:n.split("\n").map((function(e){return t.createElement(t.Fragment,{key:e},e,t.createElement("br",null))}))),t.createElement(oy,null,Hv("We will treat this report as confidential and anonymous.")))}var Qv,ey,ty,ny=Gl.div(Qv||(Qv=_a(["\n\tline-height: ",";\n"],["\n\tline-height: ",";\n"])),If.lineHeightText),ry=Gl.div(ey||(ey=_a(["\n\tmargin: "," 0;\n\tflex-grow: 1;\n\talign-self: stretch;\n\tbackground-color: ",";\n\tborder-radius: ",";\n\tborder: 1px solid ",";\n\tline-height: ",";\n\toverflow: scroll;\n\tpadding: "," ",";\n\tmax-height: 200px;\n"],["\n\tmargin: "," 0;\n\tflex-grow: 1;\n\talign-self: stretch;\n\tbackground-color: ",";\n\tborder-radius: ",";\n\tborder: 1px solid ",";\n\tline-height: ",";\n\toverflow: scroll;\n\tpadding: "," ",";\n\tmax-height: 200px;\n"])),If.spacing5,If.gray25,If.radiusMedium,If.gray200,If.lineHeightText,If.spacing5,If.spacing4),oy=Gl.span(ty||(ty=_a(["\n\tcolor: ",";\n\tline-height: ",";\n\tfont-size: ",";\n"],["\n\tcolor: ",";\n\tline-height: ",";\n\tfont-size: ",";\n"])),If.colorTextDisabled,If.lineHeightBase,If.fontSize75);function iy(e){var n=e.error,o=e.onRetry,i=Fa(),c=r(!1),l=c[0],s=c[1],u=r(!1),d=u[0],p=u[1];return a((function(){Aa.error(n)}),[n]),t.createElement("div",{className:"w-full h-full flex flex-col items-center justify-center bg-ui-0 font-sans\n text-base text-body-500"},t.createElement(Wv,{isReportSent:d,onClickSend:function(){s(!0)},onClickRetry:o}),t.createElement(Jv,{isOpen:l,error:n,container:i,onDone:function(){ti(n),s(!1),p(!0)},onCancel:function(){s(!1)}}))}function ay(){var e=ba(Ta()[0].page),n=e[0],r=e[1],o={ASC:Hv("Ascending"),DESC:Hv("Descending")},i={ASC:"DESC",DESC:"ASC"};return t.createElement(Xf,{variant:"clean",isSmall:!0,title:o[n.direction],onClick:function(){r({field:n.field,direction:i[n.direction]})},icon:t.createElement(ly,{$isAscending:"ASC"===n.direction})})}var cy,ly=Gl((function(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 18h6v-2H3v2zM3 6v2h18V6H3zm0 7h12v-2H3v2z"}}]})(e)}))(cy||(cy=_a(["\n\twidth: ",";\n\theight: ",";\n\t","\n"],["\n\twidth: ",";\n\theight: ",";\n\t","\n"])),If.spacing6,If.spacing6,(function(e){return e.$isAscending&&"transform: scaleY(-1)"}));function sy(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(Boolean).join(" ")}function uy(e){var n,o=c(null),i=r(0)[1];!function(e,t){var n=Fa();a((function(){function r(n){var r=n.target;e.map((function(e){return null==e?void 0:e.current})).some((function(e){return e&&e.contains(r)}))||t()}return null==n||n.addEventListener("mousedown",r),function(){return null==n?void 0:n.removeEventListener("mousedown",r)}}),[e,t,n])}([e.target,o],e.onClickOutside),l((function(){i(null!==e.target.current?e.target.current.getBoundingClientRect().x:0)}),[e.target]);var s=Fa(),u=null!==(n=s.querySelector(".cv-root"))&&void 0!==n?n:s;if(null===s||null===e.target.current)return null;var d=e.target.current.getBoundingClientRect(),p=d.x,f=window.innerWidth,m=p+300>f?void 0:p,h=p+300>f?f-d.width-p:void 0,v="Down"===e.direction?d.top+d.height:void 0,y="Up"===e.direction?window.innerHeight-d.top:void 0,b=u.getBoundingClientRect(),w=b.width-(null!=m?m:0)-(null!=h?h:0),x=b.height-(null!=y?y:0)-(null!=v?v:0);m&&w<300&&(m=p+d.width-300);var E={left:m,right:h,top:v,bottom:y,maxWidth:w,maxHeight:x,minWidth:300},C=sy("cv-root cv-dropdown select-none",e.className);return g(t.createElement("div",{role:"menu",id:e.id,className:C,ref:o,style:E},e.children),s)}function dy(e){var n=e.buttonKind,i=void 0===n?"clean":n,a=e.direction,l=void 0===a?"Down":a,s=e.isSmall,u=e.fadeIn,d=Ea(e,["buttonKind","direction","isSmall","fadeIn"]),p=o((function(){return"dropdownmenu-".concat(Date.now(),"-").concat(Math.random().toString(36).substring(2))}),[]),f=r(!1),m=f[0],h=f[1],g=c(null),v=function(){return h((function(e){return!e}))};return t.createElement(t.Fragment,null,t.createElement(fy,{variant:i,isSmall:s,onClick:v,ref:g,isDisabled:d.disabled,isPressed:m,"aria-haspopup":!0,"aria-expanded":m,"aria-controls":p,fadeIn:u,"data-testid":"button"},t.createElement("span",{className:"inline-flex items-center",title:d.alt},d.title),t.createElement(Cu,{className:"w-6 h-6 ml-1 -mr-2"})),m&&t.createElement(uy,{className:d.className,onClickOutside:v,direction:l,target:g,id:p},d.children(v)))}var py,fy=Gl(Xf)(py||(py=_a(["\n\tdisplay: flex;\n\talign-items: center;\n\ttext-transform: inherit;\n\t","\n"],["\n\tdisplay: flex;\n\talign-items: center;\n\ttext-transform: inherit;\n\t","\n"])),(function(e){return e.fadeIn?"animation: var(--fade-in-down);":""}));function my(e){var n=e.selected,r=void 0!==n&&n,o=Ea(e,["selected"]),i=sy("text-left w-full cursor-pointer flex hover:bg-ui-400 hover:text-body-500 items-center transition-color",r?"text-body-500":"text-body-400",o.className);return t.createElement("li",null,t.createElement("button",{type:"button",className:i,onClick:o.onClick,role:"menuitemradio","aria-checked":r,tabIndex:-1},o.children,r&&t.createElement(Su,{className:"w-6 h-6 ml-3 fade-in"})))}function hy(e){var n=e.options,r=void 0===n?["CREATED_AT","PUBLISHED_AT","UPDATED_AT","NAME"]:n,o=ba(Ta()[0].page),i=o[0],a=o[1],c={CREATED_AT:Hv("Date added"),NAME:Hv("Name"),PUBLISHED_AT:Hv("Date published"),UPDATED_AT:Hv("Date modified")};return t.createElement(vy,null,t.createElement(dy,{className:"py-2",title:c[i.field],alt:Hv("Order by")},(function(e){return t.createElement("ul",null,r.map((function(n){return t.createElement(my,{className:"px-4 py-px text-sm",selected:i.field===n,key:c[n],onClick:function(){a({field:n,direction:i.direction}),e()}},t.createElement("span",{className:"flex-grow min-w-24 py-2"},c[n]))})))})))}var gy,vy=Gl.div(gy||(gy=_a(["\n\tmargin-left: auto;\n"],["\n\tmargin-left: auto;\n"])));function yy(e,t,n){return(1===e?t:n).replace("{}",e.toString())}function by(e){var n=e.width,r=void 0===n?100:n,o=e.className;return t.createElement("span",{className:sy("cv-skeleton",o),style:{width:r},"data-testid":"skeleton"},"")}function wy(e){return t.createElement(t.Fragment,null,Array(e.rows*e.columns).fill(void 0).map((function(n,r){return t.createElement("div",{key:r,className:"m-2 w-56 self-start group relative","data-testid":"asset-card"},t.createElement(Vm,null,t.createElement(Vm.Frame,null),t.createElement(Vm.AdditionalInfo,null,t.createElement(by,{width:70+xy(100,r),className:"h-4"})),e.title))})))}function xy(e,t){return 16807*((t+20)%2147483647+2147483646)%2147483647%e}var Ey=n({assetTypes:[],language:"en_US",onSuccess:function(e,t){var n=t.selectedFile;return console.log(e,n)},selectionMode:"MultiSelect",hideExternalAccess:!1}),Cy=Ey.Provider,ky=function(){return i(Ey)},Sy=function(){return ky().selectionMode};function _y(e){return{tag:"ok",value:e}}function Iy(e){return{tag:"error",error:e}}function By(e){return"ok"===e.tag}function Ty(e){return"error"===e.tag}function Ny(e){var t=e.replace(/^https?:\/\//i,"").replace(/\/+$/i,"");return"https://".concat(t,"/")}function Dy(e){var t;if(e.transformBaseURL){var n=e,r="transformBaseURL",o=n[r],i=Ea(n,[r+""]);return xa(xa({},i),((t={}).transformBaseUrl=xa({},o),t))}return e}var zy=new Map;function Py(e,t,n){return Ca(this,void 0,void 0,(function(){var r,o,i,a,c,l,s,u;return ka(this,(function(d){switch(d.label){case 0:if(!n)return[2,Iy("No authentication provided")];if(r=n.getAccessToken&&n.getAccessToken(),"/"===(o=void 0!==n.accountDomain?Ny(n.accountDomain.trim()):"https://".concat(window.location.host)).charAt(o.length-1)&&(o=o.slice(0,-1)),i="".concat(o,":").concat(e,":").concat(JSON.stringify(t),":").concat(r),zy.has(i))return[2,_y(zy.get(i))];a={Accept:"application/json","Content-Type":"application/json","X-Bynder-Integration":"UCV/v".concat("3.3.3")},c=void 0===r?a:xa(xa({},a),{Authorization:"Bearer ".concat(r)}),l={method:"post",headers:c,body:JSON.stringify({query:e,variables:t})},d.label=1;case 1:return d.trys.push([1,4,,5]),[4,fetch("".concat(o,"/graphql"),l)];case 2:return[4,d.sent().json()];case 3:return s=d.sent(),u=function(e){var t,n,r,o;return(null===(n=null===(t=null==e?void 0:e.searchAssets)||void 0===t?void 0:t.assets)||void 0===n?void 0:n.nodes.length)?xa(xa({},e),{searchAssets:xa(xa({},e.searchAssets),{assets:xa(xa({},e.searchAssets.assets),{nodes:null===(o=null===(r=e.searchAssets)||void 0===r?void 0:r.assets)||void 0===o?void 0:o.nodes.map((function(e){if(e.files){var t=Dy(e.files);return xa(xa({},e),{files:xa({},t)})}return e}))})})}):e}(s.data),[3,5];case 4:return[2,Iy(d.sent())];case 5:return void 0!==s.errors?[2,Iy(s.errors.map((function(e){return e.message})).join(","))]:(zy.set(i,u),zy.size>50&&zy.delete(zy.keys().next().value),[2,_y(u)])}}))}))}function Oy(e){var t;if(!(null===(t=window.crypto)||void 0===t?void 0:t.subtle))return Promise.reject("Access to the WebCrypto API is restricted to secure origins. Compact View requires HTTPS when used outside localhost (for development).");var n=(new TextEncoder).encode(e);return window.crypto.subtle.digest("SHA-256",n)}function Ay(){var e=new Uint32Array(28),t=window.crypto.getRandomValues(e),n=Array.from(t).map((function(e){return"0".concat(e.toString(16)).substr(-2)}));return n.join("")}var Ry="42b1eefa-d754-4802-b9c4-bf80d6ab6052",My="".concat("https://d8ejoa1fys2rk.cloudfront.net"),Fy=My+"/5.0.5/modules/compactview/loginCompleted.html",Ly="".concat("https://apiv2.webdamdb.com","/"),jy=["offline","asset:read","collection:read","meta.assetbank:read"];function Hy(e,t,n){return Ca(this,void 0,void 0,(function(){var r,o,i,a;return ka(this,(function(c){switch(c.label){case 0:r=Uy(n)+"token",o=new URLSearchParams({client_id:Ry,code_verifier:t,code:e,redirect_uri:Fy,grant_type:"authorization_code"}),c.label=1;case 1:return c.trys.push([1,4,,5]),[4,fetch(r,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:o})];case 2:return(i=c.sent()).ok?[4,i.json()]:[2,Iy("Failed to fetch access token: ".concat(i.status))];case 3:return[2,_y({refreshToken:(a=c.sent()).refresh_token,accessToken:a.access_token,expiresIn:a.expires_in})];case 4:return[2,Iy(c.sent().toString())];case 5:return[2]}}))}))}function Uy(e){return"webdam"===Vy()?Ly+"oauth2/":Ny(e)+"v6/authentication/oauth2/"}function Vy(){var e;return null!==(e=localStorage.getItem("cvp"))&&void 0!==e?e:void 0}function $y(e){return Ca(this,void 0,void 0,(function(){var t,n,r,o,i,a;return ka(this,(function(c){switch(c.label){case 0:return t=window.screen,n=t.width/2-285+window.screenX,r=t.height/2-350+window.screenY,null===(o=window.open("","Bynder Brand Portal","height=".concat(700,",width=").concat(570,",left=").concat(n,",top=").concat(r)))?[2,Iy("Error opening login window")]:(o.document.head.innerHTML=Wy,o.document.body.innerHTML=Yy,o.location.href=e,[4,Promise.race([new Promise((function(e){window.addEventListener("message",(function(t){t.origin===My&&e(_y(t))}))})),new Promise((function(e){setTimeout((function(){return e(Iy("Timeout"))}),6e5)})),(l=o,new Promise((function(e){var t=setInterval((function(){l.closed&&(clearInterval(t),e(Iy("Login window closed")))}),1e3)})))])]);case 1:return Ty(i=c.sent())?[2,i]:[2,_y({state:(a=new URLSearchParams(i.value.data)).get("state"),code:a.get("code")})]}var l}))}))}var Wy='\n<title>Redirecting...</title>\n<style>\n @keyframes cv-spinner-animation {\n to {\n transform:rotate(1turn)\n }\n }\n\n .cv-spinner {\n position: relative;\n display: inline-block;\n padding: 175px 0 100px;\n width: 100%;\n height: auto;\n background: #fff;\n box-sizing: border-box;\n }\n \n .cv-spinner:before {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 40px;\n height: 40px;\n margin-top: -20px;\n margin-left: -20px;\n box-sizing: border-box;\n border-top: 3px solid #7e8890;\n border-right: 3px solid transparent;\n border-radius: 50%;\n content: "";\n animation: cv-spinner-animation .8s linear infinite;\n z-index: 3;\n }\n</style>',Yy='<div class="cv-spinner"></div>';function qy(e){var n=Fa();return t.createElement(wl,{target:n,disableVendorPrefixes:!0},t.createElement(gm,{zIndexBase:1e6},e.children))}function Gy(e){var n=e.children,o=e.isContainerMode,i=void 0!==o&&o,c=t.useRef(null),l=r(null),s=l[0],u=l[1];return a((function(){if(null!==c.current){var e,t,n=function(e){try{return e.attachShadow({mode:"open"})}catch(e){return null}}(c.current);e=n,t="@import url(".concat("https://d8ejoa1fys2rk.cloudfront.net","/5.0.5/includes/css/vendor/font-awesome.min.css);")+'/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}a{background-color:transparent}b{font-weight:bolder}code{font-family:monospace,monospace;font-size:1em}img{border-style:none}button,input,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}[hidden]{display:none}dd,h1,h3,p{margin:0}button{background-color:transparent;background-image:none}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}ul{list-style:none;margin:0;padding:0}html{font-family:SourceSansPro,Source Sans Pro,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box;border:0 solid rgba(0,34,51,.1)}img{border-style:solid}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#a0aec0}input::-moz-placeholder,textarea::-moz-placeholder{color:#a0aec0}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#a0aec0}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:#a0aec0}input::placeholder,textarea::placeholder{color:#a0aec0}[role=button],button{cursor:pointer}h1,h3{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,select,textarea{padding:0;line-height:inherit;color:inherit}code{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}audio,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}.bg-ui-0{--bg-opacity:1;background-color:#fff;background-color:rgba(255,255,255,var(--bg-opacity))}.bg-ui-500{background-color:rgba(0,34,51,.05)}.hover\\:bg-ui-400:hover{background-color:rgba(0,34,51,.03)}.border-brand-500{--border-opacity:1;border-color:#0af;border-color:rgba(0,170,255,var(--border-opacity))}.border-ui-600{border-color:rgba(0,34,51,.1)}.rounded{border-radius:5px}.rounded-full{border-radius:9999px}.border-2{border-width:2px}.border{border-width:1px}.border-b{border-bottom-width:1px}.last\\:border-b-0:last-child{border-bottom-width:0}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.inline-block{display:inline-block}.inline{display:inline}.flex{display:-webkit-box;display:-ms-flexbox;display:flex}.inline-flex{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.flex-col{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.self-start{-ms-flex-item-align:start;align-self:flex-start}.justify-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.flex-1{-webkit-box-flex:1;-ms-flex:1 1 0%;flex:1 1 0%}.flex-grow{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.flex-shrink-0{-ms-flex-negative:0;flex-shrink:0}.flex-shrink{-ms-flex-negative:1;flex-shrink:1}.font-sans{font-family:SourceSansPro,Source Sans Pro,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-semibold{font-weight:600}.h-4{height:16px}.h-5{height:20px}.h-6{height:24px}.h-8{height:32px}.h-10{height:40px}.h-12{height:48px}.h-20{height:80px}.h-32{height:128px}.h-full{height:100%}.text-xs{font-size:12px}.text-sm{font-size:14px}.text-base{font-size:16px}.text-xl{font-size:20px}.m-2{margin:8px}.my-2{margin-top:8px;margin-bottom:8px}.mx-2{margin-left:8px;margin-right:8px}.mr-1{margin-right:4px}.ml-1{margin-left:4px}.mt-2{margin-top:8px}.mr-2{margin-right:8px}.mb-2{margin-bottom:8px}.ml-2{margin-left:8px}.mt-3{margin-top:12px}.mr-3{margin-right:12px}.ml-3{margin-left:12px}.mb-4{margin-bottom:16px}.mb-8{margin-bottom:32px}.-mt-1{margin-top:-4px}.-mr-1{margin-right:-4px}.-mr-2{margin-right:-8px}.max-w-24{max-width:96px}.max-w-32{max-width:128px}.min-w-24{min-width:96px}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.py-1{padding-top:4px;padding-bottom:4px}.py-2{padding-top:8px;padding-bottom:8px}.px-2{padding-left:8px;padding-right:8px}.px-3{padding-left:12px;padding-right:12px}.py-4{padding-top:16px;padding-bottom:16px}.px-4{padding-left:16px;padding-right:16px}.py-px{padding-top:1px;padding-bottom:1px}.pb-1{padding-bottom:4px}.pb-2{padding-bottom:8px}.pb-3{padding-bottom:12px}.pl-3{padding-left:12px}.pt-4{padding-top:16px}.pl-4{padding-left:16px}.pr-5{padding-right:20px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.top-0{top:0}.right-0{right:0}.resize{resize:both}.shadow{-webkit-box-shadow:0 1px 6px 0 rgba(0,34,51,.1),0 0 0 1px rgba(0,34,51,.1);box-shadow:0 1px 6px 0 rgba(0,34,51,.1),0 0 0 1px rgba(0,34,51,.1)}.shadow-border{-webkit-box-shadow:0 1px 6px -2px rgba(0,34,51,.1);box-shadow:0 1px 6px -2px rgba(0,34,51,.1)}.text-left{text-align:left}.text-right{text-align:right}.text-body-300{color:rgba(0,34,51,.3)}.text-body-400{color:rgba(0,34,51,.5)}.text-body-500{color:rgba(0,34,51,.8)}.hover\\:text-body-400:hover{color:rgba(0,34,51,.5)}.hover\\:text-body-500:hover{color:rgba(0,34,51,.8)}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.visible{visibility:visible}.break-all{word-break:break-all}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.w-5{width:20px}.w-6{width:24px}.w-10{width:40px}.w-40{width:160px}.w-48{width:192px}.w-56{width:224px}.w-full{width:100%}.z-10{z-index:10}.z-20{z-index:20}.transform{--transform-translate-x:0;--transform-translate-y:0;--transform-rotate:0;--transform-skew-x:0;--transform-skew-y:0;--transform-scale-x:1;--transform-scale-y:1;-webkit-transform:translateX(var(--transform-translate-x)) translateY(var(--transform-translate-y)) rotate(var(--transform-rotate)) skewX(var(--transform-skew-x)) skewY(var(--transform-skew-y)) scaleX(var(--transform-scale-x)) scaleY(var(--transform-scale-y));transform:translateX(var(--transform-translate-x)) translateY(var(--transform-translate-y)) rotate(var(--transform-rotate)) skewX(var(--transform-skew-x)) skewY(var(--transform-skew-y)) scaleX(var(--transform-scale-x)) scaleY(var(--transform-scale-y))}.transition{-webkit-transition-property:background-color,border-color,color,fill,stroke,opacity,-webkit-box-shadow,-webkit-transform;transition-property:background-color,border-color,color,fill,stroke,opacity,-webkit-box-shadow,-webkit-transform;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,-webkit-box-shadow,-webkit-transform}.transition-transform{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}@-webkit-keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in-down{0%{opacity:0;-webkit-transform:translateY(-2px);transform:translateY(-2px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes border-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes border-dash{0%{stroke-dasharray:1,100;stroke-dashoffset:0}50%{stroke-dasharray:80,100;stroke-dashoffset:-20}to{stroke-dasharray:80,100;stroke-dashoffset:-48}}.transition-color{-webkit-transition:color .05s linear,background-color .05s linear,border-color .05s linear,opacity .05s linear;transition:color .05s linear,background-color .05s linear,border-color .05s linear,opacity .05s linear}.transition-transform{-webkit-transition:-webkit-transform .6s cubic-bezier(.175,.885,.32,1.15);transition:-webkit-transform .6s cubic-bezier(.175,.885,.32,1.15);transition:transform .6s cubic-bezier(.175,.885,.32,1.15);transition:transform .6s cubic-bezier(.175,.885,.32,1.15),-webkit-transform .6s cubic-bezier(.175,.885,.32,1.15)}.cv-root{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;--bg-opacity:1;background-color:#fff;background-color:rgba(255,255,255,var(--bg-opacity));font-family:SourceSansPro,Source Sans Pro,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:16px;color:rgba(0,34,51,.8);-webkit-box-sizing:border-box;box-sizing:border-box;position:relative}.cv-root *,.cv-root :after,.cv-root :before{-webkit-box-sizing:inherit;box-sizing:inherit}.cv-container{overflow:hidden;width:100%;height:100%}.cv-container nav:last-of-type{-webkit-box-shadow:0 1px 0 0 rgba(0,34,51,.1),0 1px 6px 0 rgba(0,34,51,.1);box-shadow:0 1px 0 0 rgba(0,34,51,.1),0 1px 6px 0 rgba(0,34,51,.1)}.cv-dropdown{position:fixed;border-width:1px;border-color:rgba(0,34,51,.1);-webkit-animation:fade-in-down .15s ease-out;animation:fade-in-down .15s ease-out;margin-top:4px;margin-bottom:4px;overflow-y:auto;border-radius:5px;-webkit-box-shadow:0 4px 10px 0 rgba(0,34,51,.1);box-shadow:0 4px 10px 0 rgba(0,34,51,.1);z-index:9999999;overflow-y:hidden;-webkit-transition:left .1s ease-out;transition:left .1s ease-out}.card-list{padding-left:8px;padding-right:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-line-pack:start;align-content:flex-start;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.max-h-400{max-height:400px}.max-w-600{max-width:600px}.spinner{-webkit-animation:border-rotate 1s linear infinite;animation:border-rotate 1s linear infinite;z-index:2;position:absolute;top:50%;left:50%;margin:-10px 0 0 -10px;width:20px;height:20px}.spinner circle{stroke:currentColor;stroke-linecap:round;-webkit-animation:border-dash 1.5s ease-in-out infinite;animation:border-dash 1.5s ease-in-out infinite}.fade-in{-webkit-animation:fade-in .15s ease-out;animation:fade-in .15s ease-out}.fade-in-down{-webkit-animation:fade-in-down .15s ease-out;animation:fade-in-down .15s ease-out}.cv-skeleton{overflow:hidden;display:inline-block;position:relative;border-radius:4px;background-color:rgba(0,34,51,.05)}.cv-skeleton:before{position:absolute;height:100%;top:0;-webkit-animation:cv-skeleton-progress 1.5s ease-in-out infinite;animation:cv-skeleton-progress 1.5s ease-in-out infinite;content:"";width:500px;left:-500px;background-image:-webkit-gradient(linear,left top,right top,from(hsla(0,0%,100%,0)),color-stop(hsla(0,0%,100%,.6)),to(hsla(0,0%,100%,0)));background-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.6),hsla(0,0%,100%,0))}@keyframes cv-skeleton-progress{0%{left:-500px}to{left:100%}}.fa-lg{line-height:1.05em}.z-a-lot{z-index:999999}button:focus{outline:revert}',Xy(null!=e?e:document.head,t),n&&Xy(document.head,Zy),u(null!=n?n:c.current)}}),[]),t.createElement("div",{ref:c,style:{display:"flex",height:"100%"},"data-testid":"root"},s&&t.createElement(Ma,{value:s},t.createElement(qy,null,g(t.createElement(Jy,{isContainerMode:i,"data-testid":"ShadowRootInternalContainer"},n),s))))}function Xy(e,t){var n=document.createElement("style"),r=document.createTextNode(t);n.appendChild(r),e.appendChild(n)}var Ky,Zy="\n@font-face {\n font-family: 'Source Sans Pro';\n font-style: normal;\n font-weight: 400;\n src: local('Source Sans Pro Regular'),\n local('SourceSansPro-Regular'),\n url('".concat("https://d8ejoa1fys2rk.cloudfront.net","/5.0.5/includes/fonts/SourceSans/sourcesanspro-regular.woff2') format('woff2'),\n url('").concat("https://d8ejoa1fys2rk.cloudfront.net","/5.0.5/includes/fonts/SourceSans/sourcesanspro-regular.woff') format('woff');\n }\n \n @font-face {\n font-family: \"FontAwesome\";\n src: url(\"").concat("https://d8ejoa1fys2rk.cloudfront.net",'/5.0.5/includes/fonts/fontawesome-webfont.woff2?v=4.7.0") format("woff2"),\n url("').concat("https://d8ejoa1fys2rk.cloudfront.net",'/5.0.5/includes/fonts/fontawesome-webfont.woff?v=4.7.0") format("woff");\n font-weight: 400;\n font-style: normal;\n }\n'),Jy=Gl.div(Ky||(Ky=_a(["\n\twidth: ",";\n\tfont-family: 'Source Sans Pro';\n"],["\n\twidth: ",";\n\tfont-family: 'Source Sans Pro';\n"])),(function(e){return e.isContainerMode?"100%":"auto"})),Qy=n("parent");function eb(e){var n=e.children,r=e.isContainerMode,o=void 0!==r&&r;return"parent"===i(Qy)?t.createElement(Qy.Provider,{value:"child"},t.createElement(Gy,{isContainerMode:o},n)):t.createElement(t.Fragment,null,n)}var tb=n(null),nb=function(){return i(tb)};function rb(e){var n=e.children,i=e.isOpen,c=void 0===i||i,l=e.style,s=e.onClose,u=void 0===s?function(){}:s,d=r(null),p=d[0],f=d[1],m=o((function(){return{onClose:u}}),[u]);return a((function(){var e=document.createElement("div");return e.dataset.testId="CompactViewContainer",document.body.appendChild(e),f(e),function(){e.remove()}}),[]),c?t.createElement(tb.Provider,{value:m},p&&t.createElement(t.Fragment,null,g(t.createElement(eb,null,t.createElement(ab,{className:"z-a-lot"},t.createElement(cb,{style:l,"data-testid":"modal"},n))),p))):null}var ob,ib,ab=Gl.div(ob||(ob=_a(["\n\ttop: 0;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n\tdisplay: flex;\n\talign-items: center;\n\tpadding: ",";\n\tposition: fixed;\n\tanimation: var(--fade-in-down);\n\tbackground: ",";\n"],["\n\ttop: 0;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n\tdisplay: flex;\n\talign-items: center;\n\tpadding: ",";\n\tposition: fixed;\n\tanimation: var(--fade-in-down);\n\tbackground: ",";\n"])),If.spacing5,If.gray100a),cb=Gl.div(ib||(ib=_a(["\n\tbox-shadow: 0 2px 12px 0 rgba(0, 34, 51, 0.1);\n\theight: 100%;\n\twidth: 100%;\n\toverflow: hidden;\n\tborder-radius: ",";\n"],["\n\tbox-shadow: 0 2px 12px 0 rgba(0, 34, 51, 0.1);\n\theight: 100%;\n\twidth: 100%;\n\toverflow: hidden;\n\tborder-radius: ",";\n"])),If.radiusBase);function lb(e){var n=nb();return t.createElement(pb,{className:"cv-root",style:{minHeight:320}},null!==n&&t.createElement(fb,{variant:"clean",onClick:n.onClose,title:Hv("Close"),icon:t.createElement(Bu,null)}),t.createElement(mb,null,e.children))}var sb,ub,db,pb=Gl.div(sb||(sb=_a(["\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tjustify-content: center;\n\tposition: relative;\n\tbackground-color: ",";\n"],["\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tjustify-content: center;\n\tposition: relative;\n\tbackground-color: ",";\n"])),If.gray10),fb=Gl(Xf)(ub||(ub=_a(["\n\tposition: absolute;\n\ttop: ",";\n\tright: ",";\n"],["\n\tposition: absolute;\n\ttop: ",";\n\tright: ",";\n"])),If.spacing4,If.spacing5),mb=Gl.div(db||(db=_a(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tfont-size: ",";\n"],["\n\tdisplay: flex;\n\tflex-direction: column;\n\tfont-size: ",";\n"])),If.fontSize300);function hb(){return t.createElement(t.Fragment,null,t.createElement("svg",{viewBox:"0 0 479.438 361.46",className:"w-10 mb-8",style:{width:40,marginBottom:32}},t.createElement("path",{d:"\n\t\t\t\t\t\tM365.18 0a114 114 0 00-85.9 38.93l-153.18 153-43.82-43.84a45.18 45.18\n\t\t\t\t\t\t0 01-11.54-30.75 46.06 46.06 0 0146.34-46.08 44.81 44.81 0 0130.42\n\t\t\t\t\t\t11.49c2.73 2.42 10.48 10.43 10.48 10.43l48.5-48.51-14-14C172.19 11.43\n\t\t\t\t\t\t144.48.03 114.3.03 51.24.03 0 51.03 0 114.1a115.08 115.08 0 0028.09\n\t\t\t\t\t\t75.46l98.35 98.77 205.53-205.5a44.78 44.78 0 0130.58-11.57 46.07 46.07 0\n\t\t\t\t\t\t0146.06 46.43 45.07 45.07 0 01-11.52 30.5l-136.6 136.57a28.73 28.73 0\n\t\t\t\t\t\t01-20.83 8.58 28.29 28.29 0 01-20.51-8.92l-10.27-10.16-48.28 48.28 9.88\n\t\t\t\t\t\t9.72a97.06 97.06 0 0069.38 29.2h.07a96 96 0\n\t\t\t\t\t\t0069-29.13l142.35-142.67A114.47 114.47 0 00365.18 0z",fill:"#0af"})),t.createElement("h1",{className:"text-xl mb-2",style:{fontSize:20,margin:0,marginBottom:8,fontWeight:400}},Hv("Connect your brand portal")))}function gb(e){var n=sy("w-6 h-6 text-body-300",e.className);return t.createElement("div",{"data-testid":"spinner",className:n},t.createElement("svg",{className:"spinner",viewBox:"0 0 20 20"},t.createElement("circle",{cx:"10",cy:"10",r:"8",fill:"none",strokeWidth:"3"})))}function vb(e){var n=e.status,r=e.isReadOnly,o=e.value,i=e.onChange,a=e.onSubmit;return t.createElement(wb,null,t.createElement(Hg,{type:"url",value:o,placeholder:"yourdomain.bynder.com",label:Hv("Enter the portal domain"),onChange:i,onKeyDown:function(e){"valid"===n&&13===e.keyCode&&a()},isInvalid:"invalid"===n,helperText:"invalid"===n&&Hv("This portal domain does not exist"),hasClearButton:"validating"!==n&&!r,iconRight:"validating"===n?t.createElement(xb,{role:"alert","aria-live":"polite"},t.createElement(gb,{className:"relative right-0"})):void 0,isDisabled:r,"data-testid":"login-input"}))}var yb,bb,wb=Gl.div(yb||(yb=_a(["\n\tmargin: "," 0;\n\twidth: 320px;\n"],["\n\tmargin: "," 0;\n\twidth: 320px;\n"])),If.spacing4),xb=Gl.div(bb||(bb=_a(["\n\theight: 100%;\n\tdisplay: flex;\n\talign-items: center;\n"],["\n\theight: 100%;\n\tdisplay: flex;\n\talign-items: center;\n"])));function Eb(e){return t.createElement(Xf,{variant:"primary",isDisabled:!e.isValidDomain||e.isSubmitting,onClick:e.onClick,isLoading:e.isSubmitting,"data-testid":"login-button"},Hv("Connect"))}function Cb(e){return t.createElement(lb,null,t.createElement(hb,null),t.createElement(vb,{value:e.domainValue,isReadOnly:!1===e.isEditable||e.isSubmitting,onChange:e.onChangeDomain,onSubmit:e.onSubmit,status:e.domainStatus}),t.createElement(Eb,{isValidDomain:"valid"===e.domainStatus,isSubmitting:e.isSubmitting,onClick:e.onSubmit}))}var kb=function(e){function n(t){var n=e.call(this,t)||this;return n.state={error:null},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}wa(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(n,e),n.getDerivedStateFromError=function(e){return{error:e}},n.prototype.render=function(){var e=this;return this.state.error?t.createElement(iy,{error:this.state.error,onRetry:function(){return e.setState({error:null})}}):this.props.children},n}(t.Component);function Sb(){return t.createElement("div",{role:"alert","aria-live":"polite",className:"bg-ui-0 w-full h-full"}," ",t.createElement(gb,null)," ")}var _b=n(null);function Ib(e){var n,o,i,l,s,u,d,p,f;Vv(null!==(n=e.language)&&void 0!==n?n:"en_US");var m=function(){var e,t,n=r(void 0),o=n[0],i=n[1],l=r(null!==(e=localStorage.getItem("cvrt"))&&void 0!==e?e:void 0),s=l[0],u=l[1],d=r(null!==(t=localStorage.getItem("cvad"))&&void 0!==t?t:void 0),p=d[0],f=d[1],m=r(w()),h=m[0],g=m[1],v=c();function y(e){i((function(){return e.getAccessToken})),u(e.refreshToken),f(e.accountDomain),g(w(e.getAccessToken,e.refreshToken)),e.accountDomain&&localStorage.setItem("cvad",e.accountDomain),e.refreshToken&&localStorage.setItem("cvrt",e.refreshToken),v.current&&clearTimeout(v.current),e.expiresIn&&(v.current=setTimeout((function(){i(void 0)}),1e3*e.expiresIn))}function b(){var e;i(void 0),u(void 0),f(null!==(e=localStorage.getItem("cvad"))&&void 0!==e?e:void 0),g("not-authenticated"),localStorage.removeItem("cvrt"),v.current&&clearTimeout(v.current)}function w(e,t){return void 0===e&&(e=o),void 0===t&&(t=s),void 0!==e?"authenticated":void 0!==t?"refreshing":"not-authenticated"}return a((function(){return function(){v.current&&clearTimeout(v.current)}}),[]),a((function(){o&&o()||!s||!p||(g("refreshing"),function(e,t){return Ca(this,void 0,void 0,(function(){var n,r,o,i;return ka(this,(function(a){switch(a.label){case 0:n=Uy(t)+"token",r=new URLSearchParams({client_id:Ry,refresh_token:e,grant_type:"refresh_token"}),a.label=1;case 1:return a.trys.push([1,4,,5]),[4,fetch(n,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:r})];case 2:return(o=a.sent()).ok?[4,o.json()]:[2,Iy("Failed to fetch refresh token: ".concat(o.status))];case 3:return[2,_y({accessToken:(i=a.sent()).access_token,expiresIn:i.expires_in})];case 4:return[2,Iy(a.sent().toString())];case 5:return[2]}}))}))}(s,p).then((function(e){By(e)?y({getAccessToken:function(){return e.value.accessToken},expiresIn:e.value.expiresIn,refreshToken:s,accountDomain:p}):(Aa.error(e.error),b())})))}),[o,s,p]),[{getAccessToken:o,accountDomain:p,status:h},y,b]}(),h=m[0],g=m[1],v=m[2],y=function(e){var t=r(null!=e?e:""),n=t[0],o=t[1],i=r(e?"validating":"empty"),l=i[0],s=i[1],u=c();return a((function(){if(n){var e=!1;return u.current=setTimeout((function(){(function(e){return Ca(this,void 0,void 0,(function(){var t,n,r;return ka(this,(function(o){switch(o.label){case 0:t=Ny(e.trim())+"feeds/media/is-bynder-portal/",o.label=1;case 1:return o.trys.push([1,4,,5]),[4,fetch(t)];case 2:return[4,(n=o.sent()).json()];case 3:return r=o.sent(),200===n.status&&"application/json;charset=UTF-8"===n.headers.get("Content-Type")?[2,r.webdam?"webdam":"bynder"]:[2,"invalid"];case 4:return o.sent(),[2,"invalid"];case 5:return[2]}}))}))})(n).then((function(t){e||(s("invalid"!==t?"valid":"invalid"),localStorage.setItem("cvp",t))}))}),1e3),function(){e=!0}}}),[n]),[n,function(e){u.current&&clearTimeout(u.current),o(e),s(""===e?"empty":"validating")},l]}(null!==(i=null===(o=e.portal)||void 0===o?void 0:o.url)&&void 0!==i?i:h.accountDomain),b=y[0],w=y[1],x=y[2],E=r(!1),C=E[0],k=E[1];a((function(){var t,n;(null===(t=e.authentication)||void 0===t?void 0:t.hideLogout)&&!(null===(n=e.authentication)||void 0===n?void 0:n.getAccessToken)&&Aa.error("The hideLogout property can only be used in combination with getAccessToken property")}),[null===(l=e.authentication)||void 0===l?void 0:l.hideLogout,null===(s=e.authentication)||void 0===s?void 0:s.getAccessToken]),a((function(){var t,n;(null===(t=e.authentication)||void 0===t?void 0:t.getAccessToken)&&g({getAccessToken:e.authentication.getAccessToken,accountDomain:null===(n=e.portal)||void 0===n?void 0:n.url})}),[null===(u=e.authentication)||void 0===u?void 0:u.getAccessToken]),a((function(){var e=!0;return!0===C&&function(e){return Ca(this,void 0,void 0,(function(){var t,n,r,o,i,a,c,l,s,u,d;return ka(this,(function(p){switch(p.label){case 0:t=Ay(),p.label=1;case 1:return p.trys.push([1,3,,4]),[4,Oy(t)];case 2:return n=p.sent(),[3,4];case 3:return[2,Iy(p.sent().toString())];case 4:return f=n,r=btoa(String.fromCharCode.apply(null,Array.from(new Uint8Array(f)))).replace(/\+/g,"-").replace(/\//g,"_").replace(/[=]+$/,""),o=Ay(),i=function(e,t,n){var r={client_id:Ry,code_challenge:e,code_challenge_method:"S256",redirect_uri:Fy,response_type:"code",scope:jy.join(" "),domain:"",state:t},o="auth?";"webdam"===Vy()&&(o="authorize?",delete r.scope,r.domain=n);var i=new URLSearchParams(r);return Uy(n)+o+i}(r,o,e),[4,$y(i)];case 5:return Ty(a=p.sent())?[2,a]:a.value.state!==o||null===a.value.code?[2,Iy("Error logging in")]:[4,Hy(a.value.code,t,e)];case 6:return Ty(c=p.sent())?[2,c]:(l=c.value,s=l.refreshToken,u=l.accessToken,d=l.expiresIn,[2,_y({accessToken:u,expiresIn:parseFloat(d),refreshToken:s})])}var f}))}))}(b).then((function(t){e&&(function(e){if(By(e)){var t=e.value,n=t.accessToken,r=t.refreshToken,o=t.expiresIn;g({getAccessToken:function(){return n},refreshToken:r,expiresIn:o,accountDomain:b})}else Aa.error(e.error)}(t),k(!1))})),function(){e=!1}}),[C,b]);var S=xa(xa({},h),{logout:function(){var t;v(),null===(t=e.onLogout)||void 0===t||t.call(e)},hideLogout:!!(null===(d=e.authentication)||void 0===d?void 0:d.getAccessToken)&&e.authentication.hideLogout});switch(h.status){case"authenticated":return t.createElement(_b.Provider,{value:S},e.children);case"not-authenticated":return t.createElement(eb,{isContainerMode:!0},t.createElement(Cb,{domainValue:b,domainStatus:x,onChangeDomain:w,isSubmitting:C,isEditable:null===(f=null===(p=e.portal)||void 0===p?void 0:p.editable)||void 0===f||f,onSubmit:function(){k(!0)}}));case"refreshing":return t.createElement(Sb,null)}}var Bb=function(e){return t.createElement(kb,null,t.createElement(Ib,xa({},e)))},Tb=function(){return i(_b)},Nb="\nfragment DisplayAsset on Asset {\n __typename\n id\n derivatives {\n thumbnail\n }\n extensions\n name\n url\n isArchived\n isWatermarked\n\tisLimitedUse\n\tfiles\n\tmetaproperties {\n\t\tnodes {\n\t\t id\n\t\t label(language: $language)\n\t\t showInGridView\n\t\t showInListView\n\t\t options {\n\t\t\tid\n\t\t\tlabel(language: $language)\n\t\t\tassetCount\n\t\t }\n\t\t}\n\t}\n\ttextMetaproperties {\n name\n value\n showInGridView\n showInListView\n }\n}",Db="\n query searchAssets($filter: AssetFilter!, $after: Cursor, $orderBy: AssetOrder!, $language: String) {\n searchAssets(filter: $filter) {\n assets(after: $after, first: 50, orderBy: $orderBy) {\n nodes {\n __typename\n ...DisplayAsset\n }\n\t\t\t\ttotalCount\n\t\t\t\tpageInfo {\n\t\t\t\t\tendCursor\n\t\t\t\t\thasNextPage\n }\n }\n }\n }\n ".concat(Nb,"\n");function zb(e){var t,n,o,i,c,l=this,s=Tb(),u=r({tag:"Loading",value:null}),d=u[0],p=u[1],f=!1,m=function(t){return Ca(l,void 0,void 0,(function(){var n,r;return ka(this,(function(o){switch(o.label){case 0:return p((function(e){return{tag:"Loading",value:"Failure"===e.tag?null:e.value}})),n=Pb(e,null!=t?t:null),[4,Py(Db,n,s)];case 1:return r=o.sent(),f||(Ty(r)?p({tag:"Failure",value:r.error}):h(r,t)),[2]}}))}))},h=function(e,t){Ob(d)&&t?p((function(t){var n,r,o=null!==(r=null===(n=Ob(t))||void 0===n?void 0:n.nodes)&&void 0!==r?r:[];return{tag:"Loaded",value:{searchAssets:{assets:xa(xa({},e.value.searchAssets.assets),{nodes:Sa(Sa([],o,!0),e.value.searchAssets.assets.nodes,!0)})}}}})):p({tag:"Loaded",value:e.value})};return a((function(){return m(),function(){f=!0}}),[null===(t=e.filter)||void 0===t?void 0:t.assetTypes,null===(n=e.filter)||void 0===n?void 0:n.metaproperties,null===(o=e.filter)||void 0===o?void 0:o.tags,null===(i=e.filter)||void 0===i?void 0:i.isLimited,e.collection,e.orderBy,e.searchTerm,e.language]),{data:d,executeQuery:function(){return m()},isLoading:!d||"Loading"===d.tag,loadMore:function(){var e;return m(null===(e=Ob(d))||void 0===e?void 0:e.pageInfo.endCursor)},hasNextPage:!!(null===(c=Ob(d))||void 0===c?void 0:c.pageInfo.hasNextPage)}}var Pb=function(e,t){var n,r,o,i,a,c=e.filter,l=e.predefinedFilter,s=e.collection,u=e.orderBy,d=e.allAssetTypes,p=e.searchTerm,f=e.language,m=(null===(n=null==c?void 0:c.assetTypes)||void 0===n?void 0:n.length)?c.assetTypes:null==l?void 0:l.assetType_in;return{orderBy:u,filter:{collectionId:null!==(r=null==s?void 0:s.id)&&void 0!==r?r:null==l?void 0:l.collectionId,assetType_in:null!=m?m:d,metapropertyOptionId_in:null!==(o=Ab(null==c?void 0:c.metaproperties))&&void 0!==o?o:null==l?void 0:l.metapropertyOptionId_in,searchTerm:null!==(i=null!=p?p:null==l?void 0:l.searchTerm)&&void 0!==i?i:null,tagNames_in:null!==(a=null==c?void 0:c.tags)&&void 0!==a?a:null==l?void 0:l.tagNames_in,isLimitedUse:null==c?void 0:c.isLimited},after:t,language:f}},Ob=function(e,t){var n,r=null!=t?t:e;if("Failure"!==r.tag)return null===(n=r.value)||void 0===n?void 0:n.searchAssets.assets},Ab=function(e){return e?e.map((function(e){return e.id})):null};function Rb(e,t,n){return Ca(this,void 0,void 0,(function(){var r;return ka(this,(function(o){switch(o.label){case 0:return[4,Py("\n query getAssetsById($ids: [ID!]!, $language: String) {\n nodes(ids: $ids) {\n __typename\n id\n ...on Asset {\n ...DisplayAsset\n files\n }\n }\n }\n ".concat(Nb),{ids:e,language:n},t)];case 1:return Ty(r=o.sent())?[2,r]:[2,_y(r.value.nodes)]}}))}))}var Mb="object"==typeof v&&v&&v.Object===Object&&v,Fb=Mb,Lb="object"==typeof self&&self&&self.Object===Object&&self,jb=Fb||Lb||Function("return this")(),Hb=jb.Symbol,Ub=Hb,Vb=Object.prototype,$b=Vb.hasOwnProperty,Wb=Vb.toString,Yb=Ub?Ub.toStringTag:void 0,qb=Object.prototype.toString,Gb=function(e){var t=$b.call(e,Yb),n=e[Yb];try{e[Yb]=void 0;var r=!0}catch(e){}var o=Wb.call(e);return r&&(t?e[Yb]=n:delete e[Yb]),o},Xb=Hb?Hb.toStringTag:void 0,Kb=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Xb&&Xb in Object(e)?Gb(e):function(e){return qb.call(e)}(e)},Zb=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Jb=Kb,Qb=Zb,ew=jb["__core-js_shared__"],tw=function(){var e=/[^.]+$/.exec(ew&&ew.keys&&ew.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),nw=Function.prototype.toString,rw=function(e){if(null!=e){try{return nw.call(e)}catch(e){}try{return e+""}catch(e){}}return""},ow=function(e){if(!Qb(e))return!1;var t=Jb(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},iw=function(e){return!!tw&&tw in e},aw=Zb,cw=rw,lw=/^\[object .+?Constructor\]$/,sw=Function.prototype,uw=Object.prototype,dw=sw.toString,pw=uw.hasOwnProperty,fw=RegExp("^"+dw.call(pw).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mw=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!aw(e)||iw(e))&&(ow(e)?fw:lw).test(cw(e))}(n)?n:void 0},hw=mw(jb,"DataView"),gw=mw(jb,"Map"),vw=mw(jb,"Promise"),yw=mw(jb,"Set"),bw=mw(jb,"WeakMap"),ww=Kb,xw=rw,Ew=xw(hw),Cw=xw(gw),kw=xw(vw),Sw=xw(yw),_w=xw(bw),Iw=ww;(hw&&"[object DataView]"!=Iw(new hw(new ArrayBuffer(1)))||gw&&"[object Map]"!=Iw(new gw)||vw&&"[object Promise]"!=Iw(vw.resolve())||yw&&"[object Set]"!=Iw(new yw)||bw&&"[object WeakMap]"!=Iw(new bw))&&(Iw=function(e){var t=ww(e),n="[object Object]"==t?e.constructor:void 0,r=n?xw(n):"";if(r)switch(r){case Ew:return"[object DataView]";case Cw:return"[object Map]";case kw:return"[object Promise]";case Sw:return"[object Set]";case _w:return"[object WeakMap]"}return t});var Bw,Tw=Kb,Nw=function(e){return null!=e&&"object"==typeof e},Dw=Object.prototype;Dw.hasOwnProperty,Dw.propertyIsEnumerable,Bw=function(){return arguments}(),Nw(Bw)&&Tw(Bw);var zw={exports:{}},Pw=function(){return!1};!function(e,t){var n=jb,r=Pw,o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||r;e.exports=c}(zw,zw.exports);var Ow={exports:{}};!function(e,t){var n=Mb,r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r&&n.process,a=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=a}(Ow,Ow.exports);var Aw={},Rw={"text/plain":"Text","text/html":"Url",default:"Text"};function Mw(e){return Mw="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},Mw(e)}Object.defineProperty(Aw,"__esModule",{value:!0}),Aw.CopyToClipboard=void 0;var Fw=Hw(t),Lw=Hw((function(e,t){var n,r,o,i,a,c,l=!1;t||(t={}),n=t.debug||!1;try{if(o=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}(),i=document.createRange(),a=document.getSelection(),(c=document.createElement("span")).textContent=e,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=Rw[t.format]||Rw.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),i.selectNodeContents(c),a.addRange(i),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");l=!0}catch(o){n&&console.error("unable to copy using execCommand: ",o),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(o){n&&console.error("unable to copy using clipboardData: ",o),n&&console.error("falling back to prompt"),r=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(r,e)}}finally{a&&("function"==typeof a.removeRange?a.removeRange(i):a.removeAllRanges()),c&&document.body.removeChild(c),o()}return l})),jw=["text","onCopy","options","children"];function Hw(e){return e&&e.__esModule?e:{default:e}}function Uw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uw(Object(n),!0).forEach((function(t){Kw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ww(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yw(e,t){return Yw=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Yw(e,t)}function qw(e,t){if(t&&("object"===Mw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Gw(e)}function Gw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xw(e){return Xw=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Xw(e)}function Kw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zw=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yw(e,t)}(a,Fw.default.PureComponent);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Xw(r);if(o){var n=Xw(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return qw(this,e)});function a(){var e;$w(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Kw(Gw(e=i.call.apply(i,[this].concat(n))),"onClick",(function(t){var n=e.props,r=n.text,o=n.onCopy,i=n.children,a=n.options,c=Fw.default.Children.only(i),l=(0,Lw.default)(r,a);o&&o(r,l),c&&c.props&&"function"==typeof c.props.onClick&&c.props.onClick(t)})),e}return t=a,(n=[{key:"render",value:function(){var e=this.props,t=e.children,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,jw),r=Fw.default.Children.only(t);return Fw.default.cloneElement(r,Vw(Vw({},n),{},{onClick:this.onClick}))}}])&&Ww(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}();Aw.CopyToClipboard=Zw,Kw(Zw,"defaultProps",{onCopy:void 0,options:void 0});var Jw=Aw.CopyToClipboard;Jw.CopyToClipboard=Jw;var Qw=Jw;let ex=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t};function tx(e){return Bs({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22l-4-4h8l-4 4zm0-20l4 4H8l4-4zm0 12a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM2 12l4-4v8l-4-4zm20 0l-4 4V8l4 4z"}}]}]})(e)}var nx={exports:{}},rx=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}},ox=rx,ix=Object.prototype.toString;function ax(e){return"[object Array]"===ix.call(e)}function cx(e){return void 0===e}function lx(e){return null!==e&&"object"==typeof e}function sx(e){if("[object Object]"!==ix.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function ux(e){return"[object Function]"===ix.call(e)}function dx(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),ax(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var px={isArray:ax,isArrayBuffer:function(e){return"[object ArrayBuffer]"===ix.call(e)},isBuffer:function(e){return null!==e&&!cx(e)&&null!==e.constructor&&!cx(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:lx,isPlainObject:sx,isUndefined:cx,isDate:function(e){return"[object Date]"===ix.call(e)},isFile:function(e){return"[object File]"===ix.call(e)},isBlob:function(e){return"[object Blob]"===ix.call(e)},isFunction:ux,isStream:function(e){return lx(e)&&ux(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:dx,merge:function e(){var t={};function n(n,r){sx(t[r])&&sx(n)?t[r]=e(t[r],n):sx(n)?t[r]=e({},n):ax(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)dx(arguments[r],n);return t},extend:function(e,t,n){return dx(t,(function(t,r){e[r]=n&&"function"==typeof t?ox(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}},fx=px;function mx(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var hx=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(fx.isURLSearchParams(t))r=t.toString();else{var o=[];fx.forEach(t,(function(e,t){null!=e&&(fx.isArray(e)?t+="[]":e=[e],fx.forEach(e,(function(e){fx.isDate(e)?e=e.toISOString():fx.isObject(e)&&(e=JSON.stringify(e)),o.push(mx(t)+"="+mx(e))})))})),r=o.join("&")}if(r){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e},gx=px;function vx(){this.handlers=[]}vx.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},vx.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},vx.prototype.forEach=function(e){gx.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var yx=vx,bx=px,wx=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e},xx=wx,Ex=function(e,t,n,r,o){var i=new Error(e);return xx(i,t,n,r,o)},Cx=Ex,kx=px,Sx=kx.isStandardBrowserEnv()?{write:function(e,t,n,r,o,i){var a=[];a.push(e+"="+encodeURIComponent(t)),kx.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),kx.isString(r)&&a.push("path="+r),kx.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},_x=px,Ix=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],Bx=px,Tx=Bx.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=Bx.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0},Nx=px,Dx=Sx,zx=hx,Px=Tx,Ox=Ex,Ax=px,Rx=function(e,t){bx.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))},Mx=wx,Fx={"Content-Type":"application/x-www-form-urlencoded"};function Lx(e,t){!Ax.isUndefined(e)&&Ax.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var jx,Hx={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(jx=function(e){return new Promise((function(t,n){var r=e.data,o=e.headers,i=e.responseType;Nx.isFormData(r)&&delete o["Content-Type"];var a=new XMLHttpRequest;if(e.auth){var c=e.auth.username||"",l=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.Authorization="Basic "+btoa(c+":"+l)}var s,u,d=(s=e.baseURL,u=e.url,s&&!/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(u)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(s,u):u);function p(){if(a){var r="getAllResponseHeaders"in a?function(e){var t,n,r,o={};return e?(_x.forEach(e.split("\n"),(function(e){if(r=e.indexOf(":"),t=_x.trim(e.substr(0,r)).toLowerCase(),n=_x.trim(e.substr(r+1)),t){if(o[t]&&Ix.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}})),o):o}(a.getAllResponseHeaders()):null,o={data:i&&"text"!==i&&"json"!==i?a.response:a.responseText,status:a.status,statusText:a.statusText,headers:r,config:e,request:a};(function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(Cx("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)})(t,n,o),a=null}}if(a.open(e.method.toUpperCase(),zx(d,e.params,e.paramsSerializer),!0),a.timeout=e.timeout,"onloadend"in a?a.onloadend=p:a.onreadystatechange=function(){a&&4===a.readyState&&(0!==a.status||a.responseURL&&0===a.responseURL.indexOf("file:"))&&setTimeout(p)},a.onabort=function(){a&&(n(Ox("Request aborted",e,"ECONNABORTED",a)),a=null)},a.onerror=function(){n(Ox("Network Error",e,null,a)),a=null},a.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(Ox(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",a)),a=null},Nx.isStandardBrowserEnv()){var f=(e.withCredentials||Px(d))&&e.xsrfCookieName?Dx.read(e.xsrfCookieName):void 0;f&&(o[e.xsrfHeaderName]=f)}"setRequestHeader"in a&&Nx.forEach(o,(function(e,t){void 0===r&&"content-type"===t.toLowerCase()?delete o[t]:a.setRequestHeader(t,e)})),Nx.isUndefined(e.withCredentials)||(a.withCredentials=!!e.withCredentials),i&&"json"!==i&&(a.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&a.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&a.upload&&a.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){a&&(a.abort(),n(e),a=null)})),r||(r=null),a.send(r)}))}),jx),transformRequest:[function(e,t){return Rx(t,"Accept"),Rx(t,"Content-Type"),Ax.isFormData(e)||Ax.isArrayBuffer(e)||Ax.isBuffer(e)||Ax.isStream(e)||Ax.isFile(e)||Ax.isBlob(e)?e:Ax.isArrayBufferView(e)?e.buffer:Ax.isURLSearchParams(e)?(Lx(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):Ax.isObject(e)||t&&"application/json"===t["Content-Type"]?(Lx(t,"application/json"),function(e,t,n){if(Ax.isString(e))try{return(0,JSON.parse)(e),Ax.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&Ax.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw Mx(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Ax.forEach(["delete","get","head"],(function(e){Hx.headers[e]={}})),Ax.forEach(["post","put","patch"],(function(e){Hx.headers[e]=Ax.merge(Fx)}));var Ux=Hx,Vx=px,$x=Ux,Wx=function(e){return!(!e||!e.__CANCEL__)},Yx=px,qx=function(e,t,n){var r=this||$x;return Vx.forEach(n,(function(n){e=n.call(r,e,t)})),e},Gx=Wx,Xx=Ux;function Kx(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var Zx=px,Jx=function(e,t){t=t||{};var n={},r=["url","method","data"],o=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function c(e,t){return Zx.isPlainObject(e)&&Zx.isPlainObject(t)?Zx.merge(e,t):Zx.isPlainObject(t)?Zx.merge({},t):Zx.isArray(t)?t.slice():t}function l(r){Zx.isUndefined(t[r])?Zx.isUndefined(e[r])||(n[r]=c(void 0,e[r])):n[r]=c(e[r],t[r])}Zx.forEach(r,(function(e){Zx.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),Zx.forEach(o,l),Zx.forEach(i,(function(r){Zx.isUndefined(t[r])?Zx.isUndefined(e[r])||(n[r]=c(void 0,e[r])):n[r]=c(void 0,t[r])})),Zx.forEach(a,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var s=r.concat(o).concat(i).concat(a),u=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===s.indexOf(e)}));return Zx.forEach(u,l),n},Qx={name:"axios",version:"0.21.4",description:"Promise based HTTP client for the browser and node.js",main:"index.js",scripts:{test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},repository:{type:"git",url:"https://github.com/axios/axios.git"},keywords:["xhr","http","ajax","promise","node"],author:"Matt Zabriskie",license:"MIT",bugs:{url:"https://github.com/axios/axios/issues"},homepage:"https://axios-http.com",devDependencies:{coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},browser:{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},jsdelivr:"dist/axios.min.js",unpkg:"dist/axios.min.js",typings:"./index.d.ts",dependencies:{"follow-redirects":"^1.14.0"},bundlesize:[{path:"./dist/axios.min.js",threshold:"5kB"}]},eE={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){eE[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var tE={},nE=Qx.version.split(".");function rE(e,t){for(var n=t?t.split("."):nE,r=e.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}eE.transitional=function(e,t,n){var r=t&&rE(t);function o(e,t){return"[Axios v"+Qx.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,a){if(!1===e)throw new Error(o(i," has been removed in "+t));return r&&!tE[i]&&(tE[i]=!0,console.warn(o(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}};var oE={isOlderVersion:rE,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var c=e[i],l=void 0===c||a(c,i,e);if(!0!==l)throw new TypeError("option "+i+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:eE},iE=px,aE=hx,cE=yx,lE=function(e){return Kx(e),e.headers=e.headers||{},e.data=qx.call(e,e.data,e.headers,e.transformRequest),e.headers=Yx.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Yx.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||Xx.adapter)(e).then((function(t){return Kx(e),t.data=qx.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return Gx(t)||(Kx(e),t&&t.response&&(t.response.data=qx.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},sE=Jx,uE=oE,dE=uE.validators;function pE(e){this.defaults=e,this.interceptors={request:new cE,response:new cE}}pE.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=sE(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&uE.assertOptions(t,{silentJSONParsing:dE.transitional(dE.boolean,"1.0.0"),forcedJSONParsing:dE.transitional(dE.boolean,"1.0.0"),clarifyTimeoutError:dE.transitional(dE.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var a=[lE,void 0];for(Array.prototype.unshift.apply(a,n),a=a.concat(i),o=Promise.resolve(e);a.length;)o=o.then(a.shift(),a.shift());return o}for(var c=e;n.length;){var l=n.shift(),s=n.shift();try{c=l(c)}catch(e){s(e);break}}try{o=lE(c)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},pE.prototype.getUri=function(e){return e=sE(this.defaults,e),aE(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},iE.forEach(["delete","get","head","options"],(function(e){pE.prototype[e]=function(t,n){return this.request(sE(n||{},{method:e,url:t,data:(n||{}).data}))}})),iE.forEach(["post","put","patch"],(function(e){pE.prototype[e]=function(t,n,r){return this.request(sE(r||{},{method:e,url:t,data:n}))}}));var fE=pE;function mE(e){this.message=e}mE.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},mE.prototype.__CANCEL__=!0;var hE=mE,gE=hE;function vE(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new gE(e),t(n.reason))}))}vE.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},vE.source=function(){var e;return{token:new vE((function(t){e=t})),cancel:e}};var yE=vE,bE=px,wE=rx,xE=fE,EE=Jx;function CE(e){var t=new xE(e),n=wE(xE.prototype.request,t);return bE.extend(n,xE.prototype,t),bE.extend(n,t),n}var kE=CE(Ux);kE.Axios=xE,kE.create=function(e){return CE(EE(kE.defaults,e))},kE.Cancel=hE,kE.CancelToken=yE,kE.isCancel=Wx,kE.all=function(e){return Promise.all(e)},kE.spread=function(e){return function(t){return e.apply(null,t)}},kE.isAxiosError=function(e){return"object"==typeof e&&!0===e.isAxiosError},nx.exports=kE,nx.exports.default=kE;var SE=nx.exports;function _E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function IE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_E(Object(n),!0).forEach((function(t){BE(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function BE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TE(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function NE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||zE(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function DE(e){return function(e){if(Array.isArray(e))return PE(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||zE(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zE(e,t){if(e){if("string"==typeof e)return PE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?PE(e,t):void 0}}function PE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var OE=["theme"];Gl.button.withConfig({displayName:"ButtonStyled",componentId:"sc-1kgkg60-0"})(["button&,a&{display:flex;flex-wrap:nowrap;flex:0 0 auto;white-space:nowrap;position:relative;min-width:40px;text-align:center;background-position:center;fill:currentColor;text-decoration:none;&:focus{display:flex;}}align-items:center !important;box-sizing:border-box !important;text-shadow:none !important;text-transform:none !important;font-family:"," !important;font-size:"," !important;font-weight:400 !important;line-height:"," !important;border-radius:",";outline:none !important;border:1px solid transparent !important;cursor:pointer !important;vertical-align:middle;justify-content:center;font-style:normal;transition-duration:0.1s;transition-property:background-color,border-color,box-shadow,color;&:disabled{cursor:default !important;pointer-events:none;}"," ",";",""],If.fontStackBase,If.fontSizeBase,If.lineHeightBase,If.brandRadiusBase,(function(e){return e.isFullWidth&&"width: 100%;"}),(function(e){return e.isSmall?Nl(["height:32px !important;padding:0 "," !important;font-size:"," !important;line-height:20px !important;"],If.spacing4,If.fontSize75):Nl(["height:40px !important;padding:0 "," !important;"],If.spacing5)}),(function(e){var t=e.theme,n=TE(e,OE);if("primary-dark"===n.variant){var r=Nl(["border-color:",";background-color:",";color:",";box-shadow:none !important;"],If.componentButtonPrimaryBorderActive,If.componentButtonPrimaryFillActive,If.componentButtonPrimaryColorActive);return Nl(["border-color:transparent;background-color:",";color:",";"," &:hover{border-color:",";background-color:",";color:",";box-shadow:"," !important;}&:focus{background-color:",";color:",";border-color:",";box-shadow:"," !important;}&:active{","}&:disabled{border-color:",";background-color:",";color:",";box-shadow:none !important;}"],If.componentButtonPrimaryFill,If.componentButtonPrimaryColor,n.isPressed&&r,If.componentButtonPrimaryBorderHover,If.componentButtonPrimaryFillHover,If.componentButtonPrimaryColorHover,If.elevation1,If.componentButtonPrimaryFillFocus,If.componentButtonPrimaryColorFocus,If.componentButtonPrimaryBorderFocus,If.componentButtonPrimaryFocusRing,r,If.componentButtonPrimaryBorderDisabled,If.componentButtonPrimaryFillDisabled,If.componentButtonPrimaryColorDisabled)}if("secondary-dark"===n.variant){var o=Nl(["border-color:transparent !important;background-color:rgba(255,255,255,0.1) !important;color:"," !important;"],t.legacy.colorTextDark);return Nl(["color:rgba(255,255,255,0.8) !important;background-color:rgba(255,255,255,0.1) !important;"," &:hover{color:"," !important;background-color:rgba(255,255,255,0.15) !important;}&:focus{border-color:rgba(255,255,255,0.15) !important;}&:active{","}&:disabled{color:rgba(255,255,255,0.3) !important;background-color:rgba(255,255,255,0.05) !important;border-color:transparent !important;box-shadow:none !important;}"],n.isPressed&&o,t.legacy.colorWhite,o)}if("clean-dark"===n.variant){var i=Nl(["border-color:transparent !important;background-color:rgba(255,255,255,0.05) !important;color:"," !important;cursor:pointer !important;"],t.legacy.colorTextDark);return Nl(["color:",";background-color:transparent !important;border-color:transparent !important;box-shadow:none !important;border-radius:"," !important;"," &:hover{color:#fff !important;background-color:rgba(255,255,255,0.05) !important;}&:focus{border-color:rgba(255,255,255,0.15) !important;}&:active{","}&:disabled{color:rgba(255,255,255,0.15) !important;background-color:transparent !important;}"],t.legacy.colorTextDarker,t.legacy.buttonBorderRadius,n.isPressed&&i,i)}return""}));var AE=Gl.div.withConfig({displayName:"Icon",componentId:"sc-1kgkg60-1"})(["height:100%;display:flex;align-items:center;"]);Gl(AE).withConfig({displayName:"LeftIcon",componentId:"sc-1kgkg60-2"})(["margin-right:",";margin-left:calc("," * -1);"],(function(e){return e.lastChild?"calc(".concat(If.spacing2," * -1)"):If.spacing3}),If.spacing2),Gl(AE).withConfig({displayName:"RightIcon",componentId:"sc-1kgkg60-3"})(["margin-right:calc("," * -1);margin-left:",";"],If.spacing2,If.spacing3);var RE,ME=ql(["100%{transform:rotate(360deg);}"]),FE=ql(["0%{stroke-dasharray:1,100;stroke-dashoffset:0;}50%{stroke-dasharray:80,100;stroke-dashoffset:-20;}100%{stroke-dasharray:80,100;stroke-dashoffset:-48;}"]);Gl.svg.withConfig({displayName:"Svg",componentId:"sc-2khuyx-0"})(["width:24px;height:24px;animation:"," 1s linear infinite;"],ME),Gl.circle.withConfig({displayName:"Circle",componentId:"sc-2khuyx-1"})(["stroke:currentColor;animation:"," 1.5s ease-in-out infinite;stroke-linecap:round;"],FE),function(e){e[e.Date=0]="Date",e[e.MultiSelect=1]="MultiSelect",e[e.Select=2]="Select",e[e.Search=3]="Search"}(RE||(RE={}));var LE,jE,HE,UE=Gl.div.withConfig({displayName:"IconContainer",componentId:"sc-16awveu-0"})(["height:0;position:absolute;bottom:32px;"]),VE=Gl(UE).withConfig({displayName:"IconRightContainer",componentId:"sc-16awveu-1"})(["right:12px;cursor:pointer;fill:",";&:focus,&:hover{fill:",";}"],(function(e){return e.theme.legacy.colorIcon}),(function(e){return e.theme.legacy.colorIconActive}));Gl.input.withConfig({displayName:"StyledInput",componentId:"sc-16awveu-2"})(["box-sizing:border-box;width:100%;height:40px;font-family:",";font-size:",";line-height:",";color:",";background:",";border-radius:5px;outline:none !important;border:1px solid ",";"," &::placeholder{color:",";}&:focus,&:hover{& ","{fill:"," !important;}border:1px solid ",";}",";padding-left:","px;padding-right:","px;",";"],(function(e){return e.theme.legacy.fontFamily}),(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.theme.legacy.lineHeightH6}),(function(e){return e.theme.legacy.colorText}),(function(e){return e.theme.legacy.colorBackground}),(function(e){return e.error?e.theme.legacy.colorError:e.theme.legacy.colorBorder}),(function(e){return e.inputType===RE.Select&&"\n background: rgba(0, 34, 51, 0.03) !important;\n color: transparent !important;\n text-shadow: 0 0 0 ".concat(e.theme.legacy.colorText,";\n cursor: pointer;\n\n &:hover {\n background: rgba(0, 34, 51, 0.03) !important;\n }\n ")}),(function(e){return e.theme.legacy.colorTextDisabled}),VE,(function(e){return e.theme.legacy.colorIconActive}),(function(e){return e.error?e.theme.legacy.colorError:e.theme.legacy.colorBorderFocus}),(function(e){return e.borderless?"\n border: none !important; /* overrides bynder-custom17 */\n &:focus, &:hover {\n border: none;\n }\n ":""}),(function(e){return e.hasLeftIcon?40:16}),(function(e){return e.hasRightIcon?40:0}),(function(e){return e.forceActive?"border: 1px solid ".concat(e.theme.legacy.colorBorderFocus):""})),Gl.label.withConfig({displayName:"Label",componentId:"sc-16awveu-3"})(["font-weight:normal;font-family:",";font-size:",";width:100%;margin-bottom:0px;"],(function(e){return e.theme.legacy.fontFamily}),(function(e){return e.theme.legacy.fontSizeH6})),Gl.p.withConfig({displayName:"ErrorMessage",componentId:"sc-16awveu-4"})(["font-size:",";color:",";margin-bottom:0;"],(function(e){return e.theme.legacy.fontSizeSmall}),(function(e){return e.theme.legacy.colorError})),Gl.div.withConfig({displayName:"WrapperRelative",componentId:"sc-16awveu-5"})(["position:relative;margin-top:","px;"],(function(e){return e.isLabeled?8:0})),Gl(UE).withConfig({displayName:"IconErrorContainer",componentId:"sc-16awveu-6"})(["fill:",";"],(function(e){return e.theme.legacy.colorError})),Gl(UE).withConfig({displayName:"InputTypeContainer",componentId:"sc-16awveu-7"})(["left:10px;fill:",";"],(function(e){return e.theme.legacy.colorIcon})),Gl.svg.withConfig({displayName:"Svg",componentId:"sc-16awveu-8"})(["display:inline-block,stroke-width:0,stroke:current-color,fill:current-color,font-size:32px,"]),Gl.div.withConfig({displayName:"ListContainer",componentId:"sc-16awveu-9"})(["width:",";position:fixed;padding-top:4px;z-index:10;top:",";"],(function(e){return e.width}),(function(e){return e.top})),Yl(["textarea,input[type='text'],input[type='password'],input[type='datetime'],input[type='datetime-local'],input[type='date'],input[type='month'],input[type='time'],input[type='week'],input[type='number'],input[type='email'],input[type='url'],input[type='search'],input[type='tel'],input[type='color']{height:40px;line-height:",";margin-bottom:0;padding-top:0;padding-bottom:0;padding-left:","px;padding-right:","px;font-size:",";"," &::placeholder{color:",";}&:focus,&:hover{&::placeholder{color:",";}}}"],(function(e){return e.theme.legacy.lineHeightH6}),(function(e){return e.hasLeftIcon?40:16}),(function(e){return e.hasRightIcon?40:0}),(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.error?"border: 1px solid ".concat(e.theme.legacy.colorError,";"):""}),(function(e){return e.theme.legacy.colorTextDisabled}),(function(e){return e.theme.legacy.colorTextDisabled})),function(e){e.ArrowDown="ArrowDown",e.ArrowUp="ArrowUp",e.Enter="Enter",e.Backspace="Backspace",e.Escape="Escape",e.Tab="Tab"}(LE||(LE={})),function(e){e[e.COLOR=0]="COLOR",e[e.GREYSCALE=1]="GREYSCALE",e[e.WHITE=2]="WHITE"}(jE||(jE={})),function(e){e.USER="USER",e.PROFILE="PROFILE",e.GROUP="GROUP"}(HE||(HE={})),Gl.div.withConfig({displayName:"MainContainer",componentId:"sc-167ea0r-0"})(["background-color:",";border:",";box-shadow:",";border-radius:5px;padding:8px 0;"],(function(e){return e.dark?e.theme.legacy.colorBackgroundDark:e.theme.legacy.colorBackground}),(function(e){return e.borderless?"none":"1px solid ".concat(e.theme.legacy.colorBorder)}),(function(e){return e.borderless?"none":e.theme.legacy.boxShadow}));var $E=Gl.li.withConfig({displayName:"Li",componentId:"sc-167ea0r-1"})(["display:flex;font-size:",";align-items:center;height:36px;padding:0 16px !important;"],(function(e){return e.theme.legacy.fontSizeSmall})),WE=Gl($E).withConfig({displayName:"Item",componentId:"sc-167ea0r-2"})(["cursor:pointer;&&&{&:active,&:focus,&:hover{color:",";background-color:",";outline:none;}}"],(function(e){return e.dark?e.theme.legacy.colorTextDark:e.theme.legacy.colorTextLightActive}),(function(e){return e.dark?e.theme.legacy.colorBackgroundDarkHover:e.theme.legacy.colorBackgroundLight}));Gl($E).withConfig({displayName:"GroupName",componentId:"sc-167ea0r-3"})(["cursor:default;color:",";"],(function(e){return e.dark?e.theme.legacy.colorTextDarker:e.theme.legacy.colorText})),Gl($E).withConfig({displayName:"EmptyState",componentId:"sc-167ea0r-4"})(["color:",";cursor:default;"],(function(e){return e.theme.legacy.colorText})),Gl.ul.withConfig({displayName:"Ul",componentId:"sc-167ea0r-5"})(["margin:0;padding:0;list-style-type:none;max-height:",";overflow-y:auto;","{color:",";}"],(function(e){return e.maxHeight||"350px"}),WE,(function(e){return e.dark?e.theme.legacy.colorTextDark:e.hasGroups?e.theme.legacy.colorTextLight:e.theme.legacy.colorText})),Gl.div.withConfig({displayName:"IconContainer",componentId:"sc-167ea0r-6"})(["display:flex;margin-right:8px;fill:",";"],(function(e){return e.dark?e.theme.legacy.colorTextDark:e.theme.legacy.colorIcon})),Gl.div.withConfig({displayName:"Divider",componentId:"sc-167ea0r-7"})(["margin:8px 0;border-bottom:1px solid ",";width:100%;"],(function(e){return e.dark?e.theme.legacy.colorRichBlack30:e.theme.legacy.colorBorder})),Gl.svg.withConfig({displayName:"Svg",componentId:"sc-hfnr8h-0"})(["display:inline-block;stroke-width:0;stroke:current-color;fill:current-color;font-size:32px;"]);var YE=Gl.div.withConfig({displayName:"IconContainer",componentId:"sc-6ftogw-0"})(["height:0;position:absolute;bottom:32px;"]),qE=Gl(YE).withConfig({displayName:"IconRightContainer",componentId:"sc-6ftogw-1"})(["right:12px;cursor:",";fill:",";&:focus,&:hover{fill:",";}"],(function(e){return e.disabled?"not-allowed":"pointer"}),(function(e){return e.dark?e.theme.legacy.colorTextDark:e.theme.legacy.colorMutedIcon}),(function(e){return e.dark?e.theme.legacy.colorTextDark:e.disabled?e.theme.legacy.colorMutedIcon:e.theme.legacy.colorMutedIconActive}));Gl.input.withConfig({displayName:"StyledInput",componentId:"sc-6ftogw-2"})(["box-sizing:border-box;width:100%;height:40px !important;font-family:",";font-size:"," !important;line-height:"," !important;color:",";cursor:",";background:",";border-radius:5px;outline:none !important;border:1px solid ",";&:focus,&:hover{& ","{fill:"," !important;}&::placeholder{color:"," !important;}","}&::placeholder{color:"," !important;}",";padding-left:","px !important;padding-right:","px !important;padding-top:0 !important;padding-bottom:0 !important;margin-bottom:0 !important;",";"],(function(e){return e.theme.legacy.fontFamily}),(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.theme.legacy.lineHeightH6}),(function(e){return e.disabled?e.theme.legacy.colorTextDisabled:e.theme.legacy.colorText}),(function(e){return e.disabled?"not-allowed":"pointer"}),(function(e){return e.disabled?If.gray25:e.theme.legacy.colorBackground}),(function(e){return e.error?e.theme.legacy.colorError:e.theme.legacy.colorBorder}),qE,(function(e){return e.theme.legacy.colorMutedIconActive}),(function(e){return e.dark?e.theme.legacy.colorTextDark:e.theme.legacy.colorTextDisabled}),(function(e){return e.error?"border: 1px solid ".concat(e.theme.legacy.colorError," !important;"):e.dark?"":e.disabled?"border: 1px solid ".concat(e.theme.legacy.colorBorder," !important;"):"border: 1px solid ".concat(e.theme.legacy.colorBorderFocus," !important;")}),(function(e){return e.dark?e.theme.legacy.colorTextDark:e.theme.legacy.colorTextDisabled}),(function(e){return e.borderless?Nl(["border:none !important;&:focus,&:hover{border:none;}"]):""}),(function(e){return e.hasLeftIcon?40:16}),(function(e){return e.hasRightIcon?40:0}),(function(e){return e.forceActive?"border: 1px solid ".concat(e.theme.legacy.colorBorderFocus):""})),Gl.label.withConfig({displayName:"Label",componentId:"sc-6ftogw-3"})(["font-weight:normal;font-family:",";font-size:",";width:100%;margin-bottom:0px;"],(function(e){return e.theme.legacy.fontFamily}),(function(e){return e.theme.legacy.fontSizeH6})),Gl.p.withConfig({displayName:"ErrorMessage",componentId:"sc-6ftogw-4"})(["font-size:",";color:",";margin-bottom:0;"],(function(e){return e.theme.legacy.fontSizeSmall}),(function(e){return e.theme.legacy.colorError})),Gl.div.withConfig({displayName:"LabelContainer",componentId:"sc-6ftogw-5"})(["width:100%;"]),Gl.div.withConfig({displayName:"WrapperRelative",componentId:"sc-6ftogw-6"})(["position:relative;margin-top:","px;"],(function(e){return e.isLabeled?8:0})),Gl(YE).withConfig({displayName:"IconErrorContainer",componentId:"sc-6ftogw-7"})(["fill:",";"],(function(e){return e.theme.legacy.colorError})),Gl(YE).withConfig({displayName:"IconLeftContainer",componentId:"sc-6ftogw-8"})(["left:10px;fill:",";"],(function(e){return e.theme.legacy.colorIcon})),Gl.div.withConfig({displayName:"ListContainer",componentId:"sc-6ftogw-9"})(["position:absolute;padding-top:4px;width:100%;z-index:10;"]),Gl.div.withConfig({displayName:"SpinnerBorder",componentId:"sc-1lat4jy-0"})(["display:flex;width:24px;height:24px;justify-content:center;align-items:center;svg{animation:borderRotate 1s linear infinite;width:20px;height:20px;circle{stroke:",";stroke-linecap:round;animation:borderDash 1.5s ease-in-out infinite;}}@keyframes borderRotate{100%{transform:rotate(360deg);}}@keyframes borderDash{0%{stroke-dasharray:1,100;stroke-dashoffset:0;}50%{stroke-dasharray:80,100;stroke-dashoffset:-20;}100%{stroke-dasharray:80,100;stroke-dashoffset:-48;}}"],(function(e){switch(e.colorMode){case jE.COLOR:return e.theme.legacy.colorPrimary;case jE.WHITE:return e.theme.legacy.colorWhite30;default:return e.theme.legacy.colorRichBlack30}}));var GE=Gl.div.withConfig({displayName:"IconContainer",componentId:"sc-hv8gko-0"})(["position:absolute;height:100%;display:flex;align-items:center;"]);Gl(GE).withConfig({displayName:"IconRightContainer",componentId:"sc-hv8gko-1"})(["top:0;right:12px;",";fill:",";&:focus,&:hover{fill:",";}"],(function(e){return e.onClick&&"cursor: pointer;"}),(function(e){return e.theme.legacy.colorIcon}),(function(e){return e.theme.legacy.colorIconActive})),Gl.input.withConfig({displayName:"StyledInput",componentId:"sc-hv8gko-2"})(["box-sizing:border-box;width:100%;height:","px !important;font-family:",";font-size:"," !important;line-height:"," !important;color:",";background:",";border-radius:5px;outline:none !important;border:1px solid "," !important;&::placeholder{color:"," !important;}&:focus,&:hover:not([disabled]){&::placeholder{color:"," !important;}border:1px solid "," !important;}",";padding-left:","px !important;padding-right:","px !important;padding-top:0 !important;padding-bottom:0 !important;margin-bottom:0 !important;",";&&:disabled{background:",";border-color:"," !important;}"],(function(e){return e.small?32:40}),(function(e){return e.theme.legacy.fontFamily}),(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.theme.legacy.lineHeightH6}),(function(e){return e.theme.legacy.colorText}),(function(e){return e.theme.legacy.colorBackground}),(function(e){return e.error?e.theme.legacy.colorError:e.theme.legacy.colorBorder}),(function(e){return e.theme.legacy.colorTextDisabled}),(function(e){return e.theme.legacy.colorTextDisabled}),(function(e){return e.error?e.theme.legacy.colorError:e.theme.legacy.colorBorderFocus}),(function(e){return e.borderless?Nl(["border:none !important;&:focus,&:hover{border:none;}"]):""}),(function(e){return e.hasLeftIcon?40:16}),(function(e){return e.hasRightIcon?40:0}),(function(e){return e.forceActive&&!e.error?"border: 1px solid ".concat(e.theme.legacy.colorBorderFocus):""}),(function(e){return e.theme.legacy.colorBackgroundLight}),(function(e){return e.theme.legacy.colorBackgroundLight})),Gl.label.withConfig({displayName:"Label",componentId:"sc-hv8gko-3"})(["font-weight:normal;font-family:",";font-size:",";color:",";width:100%;margin-bottom:0px;"],(function(e){return e.theme.legacy.fontFamily}),(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.theme.legacy.colorText})),Gl.p.withConfig({displayName:"ErrorMessage",componentId:"sc-hv8gko-4"})(["margin:4px 0 0;font-size:",";line-height:",";color:",";"],(function(e){return e.theme.legacy.fontSizeSmall}),(function(e){return e.theme.legacy.lineHeightSmall}),(function(e){return e.theme.legacy.colorError})),Gl.div.withConfig({displayName:"LabelContainer",componentId:"sc-hv8gko-5"})(["width:100%;"]),Gl.div.withConfig({displayName:"WrapperRelative",componentId:"sc-hv8gko-6"})(["position:relative;margin-top:","px;"],(function(e){return e.isLabeled?8:0})),Gl(GE).withConfig({displayName:"IconLeftContainer",componentId:"sc-hv8gko-7"})(["top:0;left:10px;fill:",";color:",";"],(function(e){return e.theme.legacy.colorIcon}),(function(e){return e.theme.legacy.colorIcon})),Gl.p.withConfig({displayName:"Counter",componentId:"sc-hv8gko-8"})(["position:absolute;right:0;font-size:",";color:",";margin:4px 0 0 0;text-align:right;"],(function(e){return e.theme.legacy.fontSizeSmall}),(function(e){return e.theme.legacy.colorTextDisabled})),Gl.div.withConfig({displayName:"FixedContainer",componentId:"sc-kc8vou-0"})(["position:fixed;z-index:2;"]),Gl.div.withConfig({displayName:"StyledItemStatus",componentId:"sc-uhd8g-0"})(["padding:0 ",";color:",";"],If.spacing5,(function(e){return e.theme.legacy.colorRichBlack30})),Gl.div.withConfig({displayName:"StyledUserSearchContainer",componentId:"sc-uhd8g-1"})(["position:relative;"]),Gl.ul.withConfig({displayName:"StyledUserSearchDropdown",componentId:"sc-uhd8g-2"})(["display:block;box-sizing:border-box;overflow-y:auto;padding:"," 0;margin:0;border:none;border-radius:",";background-color:",";box-shadow:0 0 0 1px ",";z-index:1;&:empty{display:none;}> li{list-style:none;}"],If.spacing3,(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return e.theme.legacy.colorWhite}),(function(e){return e.theme.legacy.colorRichBlack15}));var XE=Gl.div.withConfig({displayName:"IconContainer",componentId:"sc-uhd8g-3"})(["position:absolute;height:0;right:0;bottom:32px;"]);Gl(XE).withConfig({displayName:"IconRightContainer",componentId:"sc-uhd8g-4"})(["cursor:pointer;fill:",";&:focus,&:hover{fill:",";}"],(function(e){return e.theme.legacy.colorIcon}),(function(e){return e.theme.legacy.colorIconActive})),Gl.div.withConfig({displayName:"Container",componentId:"sc-1ozn84q-0"})(["padding:8px 0;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;"]),Gl.div.withConfig({displayName:"InfoContainer",componentId:"sc-1ozn84q-1"})(["flex:1;margin-right:12px;color:",";min-width:0;"],(function(e){return e.isDisabled?e.theme.legacy.colorTextLight:e.theme.legacy.colorText})),Gl.div.withConfig({displayName:"NameContainer",componentId:"sc-1ozn84q-2"})(["display:flex;"]),Gl.div.withConfig({displayName:"Name",componentId:"sc-1ozn84q-3"})(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]),Gl.div.withConfig({displayName:"NameSmoked",componentId:"sc-1ozn84q-4"})(["color:",";margin-left:8px;"],(function(e){return e.theme.legacy.colorTextDisabled})),Gl.div.withConfig({displayName:"ExtraInfo",componentId:"sc-1ozn84q-5"})(["font-size:14px;color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],(function(e){return e.theme.legacy.colorTextLight}));var KE=Gl.div.withConfig({displayName:"LoadingPlaceholder",componentId:"sc-1ozn84q-6"})(["&:after{content:'';display:flex;width:120px;height:6px;border-radius:4px;margin:3px 0;background-color:",";}"],(function(e){return e.theme.legacy.colorRichBlack20}));Gl(KE).withConfig({displayName:"LoadingName",componentId:"sc-1ozn84q-7"})(["&:after{width:120px;background-color:",";}"],(function(e){return e.theme.legacy.colorRichBlack20})),Gl(KE).withConfig({displayName:"LoadingExtraInfo",componentId:"sc-1ozn84q-8"})(["&:after{width:80px;background-color:",";}"],(function(e){return e.theme.legacy.colorRichBlack10})),Gl.div.withConfig({displayName:"IconContainer",componentId:"sc-1ozn84q-9"})(["min-width:40px;height:40px;margin-right:8px;display:flex;align-items:center;justify-content:center;border-radius:",";background-color:",";fill:",";"],(function(e){return e.square?"5px":"50%"}),(function(e){return e.theme.legacy.colorBackgroundLight}),(function(e){return e.theme.legacy.colorBackgroundActive})),Gl.div.withConfig({displayName:"EntityListContainer",componentId:"sc-1ozn84q-10"})(["flex:1;overflow-y:auto;overflow-x:hidden;margin-top:16px;max-height:256px;"]),Gl.div.withConfig({displayName:"StyledItemCheck",componentId:"sc-ri03d3-0"})(["display:flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;box-shadow:inset 0 0 0 2px ",";"," svg{","}"],(function(e){return e.theme.legacy.colorRichBlack10}),(function(e){return e.checked&&"\n background-color: ".concat(e.theme.legacy.colorPrimary,";\n box-shadow: none;\n color: ").concat(e.theme.legacy.colorWhite,";\n ")}),(function(e){return e.checked?"\n opacity: 1;\n transform: scale(1);\n ":"\n opacity: 0;\n "})),Gl.div.withConfig({displayName:"StyledEntityListContainer",componentId:"sc-ri03d3-1"})(["",""],(function(e){return e.isDisabled&&"opacity: 0.6;"}));var ZE=Gl.div.withConfig({displayName:"Section",componentId:"sc-ri03d3-2"})(["margin:0 0 12px 0;list-style:none;min-width:224px;"]);Gl.div.withConfig({displayName:"SubTitle",componentId:"sc-ri03d3-3"})(["margin:8px 0 8px 0;"]),Gl.div.withConfig({displayName:"ListContent",componentId:"sc-ri03d3-4"})(["padding:8px 0;margin:0;display:flex;flex-direction:row;align-items:center;position:relative;justify-content:flex-start;"]),Gl.div.withConfig({displayName:"ListInfo",componentId:"sc-ri03d3-5"})(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:12px;color:",";"],(function(e){return e.theme.legacy.colorRichBlack80}));var JE=Gl.div.withConfig({displayName:"ListTitle",componentId:"sc-ri03d3-6"})(["width:100%;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]);Gl(JE).withConfig({displayName:"ListSecondary",componentId:"sc-ri03d3-7"})(["font-size:14px;color:",";"],(function(e){return e.theme.legacy.colorRichBlack50})),Gl.div.withConfig({displayName:"ListActions",componentId:"sc-ri03d3-8"})(["margin-left:auto;display:flex;div + button{margin-left:8px;}"]),Gl.div.withConfig({displayName:"ListItem",componentId:"sc-ri03d3-9"})(["padding:0 16px;"," ",""],(function(e){return e.pointer&&"\n cursor: pointer;\n "}),(function(e){return e.isFocused&&"\n background-color: ".concat(e.theme.legacy.colorRichBlack03,";\n ")})),Gl.div.withConfig({displayName:"ListIcon",componentId:"sc-ri03d3-10"})(["width:48px;height:48px;margin:0 8px 0 0;border-radius:5px;position:relative;box-shadow:inset 0 0 0 1px ",";display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:",";fill:",";color:",";box-shadow:none;> svg{width:24px;height:24px;}"],(function(e){return e.theme.legacy.colorRichBlack10}),(function(e){return e.theme.legacy.colorRichBlack05}),(function(e){return e.theme.legacy.colorRichBlack50}),(function(e){return e.theme.legacy.colorRichBlack50})),Gl.span.withConfig({displayName:"SpanSmoke",componentId:"sc-ri03d3-11"})(["color:",";"],(function(e){return e.theme.legacy.colorRichBlack30}));var QE,eC,tC=Gl.div.withConfig({displayName:"Icon",componentId:"sc-ri03d3-12"})(["background-color:",";width:24px;height:24px;margin:0 12px 0 0px;border-radius:5px;flex-shrink:0;img{width:24px;height:24px;margin:0 12px 0 0px;border-radius:5px;background-color:",";}"],(function(e){return!e.withImage&&(e.color||e.theme.legacy.colorRichBlack10)}),(function(e){return e.color||e.theme.legacy.colorRichBlack10})),nC=Gl.span.withConfig({displayName:"ComponentIcon",componentId:"sc-ri03d3-13"})(["display:flex;width:32px;height:32px;align-items:center;fill:",";margin-right:8px;justify-content:center;flex-shrink:0;border-radius:5px;","{margin:0;}> img{width:24px;height:24px;border-radius:5px;}"],(function(e){return e.theme.legacy.colorRichBlack30}),tC);Gl.div.withConfig({displayName:"TextEllipsis",componentId:"sc-ri03d3-14"})(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:initial;"]),Gl.div.withConfig({displayName:"MainContainer",componentId:"sc-ri03d3-15"})(["display:flex;flex-direction:column;max-height:100%;"]),Gl(ZE).withConfig({displayName:"EntityListSection",componentId:"sc-ri03d3-16"})(["margin-right:calc("," * -1);padding-right:",";flex:1;overflow-y:auto;overflow-x:hidden;margin-top:4px;min-height:186px;max-height:256px;margin-bottom:12px;"],If.spacing6,If.spacing6),Gl.div.withConfig({displayName:"DropdownArrowIconContainer",componentId:"sc-ri03d3-17"})(["height:24px;margin:0 calc("," * -1);"],If.spacing2),function(e){e.PRIVATE="PRIVATE",e.RESTRICTED="RESTRICTED",e.ALL_USERS="ALL_USERS",e.PUBLIC="PUBLIC"}(QE||(QE={})),function(e){e.LEFT="left",e.RIGHT="right",e.CENTER="center",e.TOP="top"}(eC||(eC={})),Gl.div.withConfig({displayName:"Dropdown",componentId:"sc-td9xdv-0"})(["position:relative;margin-left:0px;"]);var rC=Gl.div.withConfig({displayName:"DropdownContainer",componentId:"sc-td9xdv-1"})(["top:100%;left:0;border-radius:",";background-color:",";box-shadow:0 1px 6px 0 ",";border:1px solid ",";min-width:170px;overflow:auto;background-clip:padding-box;"],(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return e.theme.legacy.colorWhite}),(function(e){return e.theme.legacy.colorRichBlack10}),(function(e){return e.theme.legacy.colorRichBlack05}));Gl.div.withConfig({displayName:"DropdownContent",componentId:"sc-td9xdv-2"})(["position:absolute;min-width:",";"," overflow:auto;background-color:",";box-shadow:0 1px 8px 0 ",";border-radius:",";background-clip:padding-box;z-index:100;",""],(function(e){return e.small?"148px":"200px"}),(function(e){return e.fullWidth&&"width: 100%;"}),(function(e){return e.theme.legacy.colorWhite}),(function(e){return e.theme.legacy.colorRichBlack10}),(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return function(){switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:eC.LEFT){case eC.RIGHT:return Nl(["top:110%;right:0;"]);case eC.CENTER:return Nl(["top:110%;left:50%;transform:translateX(-50%);"]);case eC.TOP:return Nl(["top:auto;bottom:110%;"]);case eC.LEFT:default:return Nl(["top:110%;left:0;"])}}(e.position)})),Gl.div.withConfig({displayName:"Entry",componentId:"sc-td9xdv-3"})(["margin:0;display:flex;flex-direction:row;align-items:center;position:relative;text-decoration:none;white-space:nowrap;","{width:24px;}"],nC);var oC=Gl.span.withConfig({displayName:"IconContainer",componentId:"sc-td9xdv-4"})(["display:flex;margin:0 -8px 0 auto;fill:",";svg{margin-left:auto;}"],(function(e){return e.theme.legacy.colorRichBlack80}));Gl.li.withConfig({displayName:"DropdownListItem",componentId:"sc-td9xdv-5"})([""," margin:0;height:36px;display:flex;flex-direction:row;align-items:center;position:relative;color:",";font-size:14px;"," &:hover{background-color:",";cursor:pointer;color:",";}list-style:none;","{fill:",";color:",";}","{margin:0 -8px 0 auto;svg{color:rgba(0,34,51,0.8);}}"],(function(e){return e.woPaddingLeft?"padding: 0 16px 0 0;":"padding: 0 16px;"}),(function(e){return e.theme.legacy.colorRichBlack50}),(function(e){return e.enabled&&"color: ".concat(e.theme.legacy.colorRichBlack80,";")}),(function(e){return e.theme.legacy.colorRichBlack03}),(function(e){return e.theme.legacy.colorRichBlack80}),nC,(function(e){return e.theme.legacy.colorRichBlack50}),(function(e){return e.theme.legacy.colorRichBlack50}),oC);var iC=Nl(["width:32px;height:32px;display:flex;align-items:center;justify-content:center;"]),aC=Nl(["margin:0 4px 0 -8px;flex-shrink:0;border-radius:",";"],(function(e){return e.theme.legacy.buttonBorderRadius}));Gl.ul.withConfig({displayName:"DropdownList",componentId:"sc-td9xdv-6"})(["list-style:none;padding:8px 0;margin:0;hr{margin:8px 0;}",""],(function(e){return e.scrollable&&"\n max-height: 300px;\n overflow: scroll;\n "})),Gl(rC).withConfig({displayName:"CardDropdownContainer",componentId:"sc-td9xdv-7"})(["top:110%;min-width:200px;background-clip:padding-box;align-self:flex-start;min-height:8px;z-index:1;"]),Gl.span.withConfig({displayName:"CardDropdownListIcon",componentId:"sc-td9xdv-8"})([""," "," color:",";"],iC,aC,(function(e){return e.theme.legacy.colorRichBlack50}));var cC=Gl.input.withConfig({displayName:"StyledInput",componentId:"sc-1jv4ai7-0"})(["flex-grow:2;box-sizing:border-box;height:40px;font-size:",";line-height:",";color:",";background:",";padding-left:16px;padding-right:40px;input&{\bwidth:156px;outline:none;border:none;border-radius:",";&:focus,&:hover{border:none;box-shadow:none;}}&::placeholder{color:",";}"],(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.theme.legacy.lineHeightH6}),(function(e){return e.theme.legacy.colorText}),(function(e){return e.theme.legacy.colorBackground}),(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return e.theme.legacy.colorTextDisabled}));Gl.div.withConfig({displayName:"WrapperRelative",componentId:"sc-1jv4ai7-1"})(["position:relative;margin-top:","px;border-radius:",";border:1px solid ",";&:focus,&:hover{border:1px solid ",";}"],(function(e){return e.isLabeled?8:0}),(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return e.isFocused?e.theme.legacy.colorBorderFocus:e.theme.legacy.colorBorder}),(function(e){return e.theme.legacy.colorBorderFocus})),Gl.div.withConfig({displayName:"WrapperFlex",componentId:"sc-1jv4ai7-2"})(["display:flex;align-items:center;flex-wrap:wrap;"]);var lC=Gl.div.withConfig({displayName:"IconContainer",componentId:"sc-1jv4ai7-3"})(["height:0;position:absolute;bottom:32px;"]);Gl(lC).withConfig({displayName:"IconErrorContainer",componentId:"sc-1jv4ai7-4"})(["fill:",";"],(function(e){return e.theme.legacy.colorError})),Gl(lC).withConfig({displayName:"IconRightContainer",componentId:"sc-1jv4ai7-5"})(["right:12px;cursor:pointer;fill:",";&:focus,&:hover{fill:",";}",":focus &{fill:",";}"],(function(e){return e.theme.legacy.colorIcon}),(function(e){return e.theme.legacy.colorIconActive}),cC,(function(e){return e.theme.legacy.colorIconActive})),Gl.label.withConfig({displayName:"Label",componentId:"sc-1jv4ai7-6"})(["font-weight:normal;font-size:",";width:100%;margin-bottom:0px;"],(function(e){return e.theme.legacy.fontSizeH6})),Gl.p.withConfig({displayName:"ErrorMessage",componentId:"sc-1jv4ai7-7"})(["font-size:",";color:",";margin-bottom:0;"],(function(e){return e.theme.legacy.fontSizeSmall}),(function(e){return e.theme.legacy.colorError})),Gl.svg.withConfig({displayName:"Svg",componentId:"sc-1jv4ai7-8"})(["display:inline-block,stroke-width:0,stroke:current-color,fill:current-color,font-size:32px,"]),Gl.div.withConfig({displayName:"ListContainer",componentId:"sc-1jv4ai7-9"})(["width:",";position:fixed;padding-top:4px;z-index:10;top:",";"],(function(e){return e.width}),(function(e){return e.top})),Gl.div.withConfig({displayName:"ListItem",componentId:"sc-4vrawh-0"})(["padding:0 16px;cursor:pointer;",""],(function(e){return e.isFocused&&Nl(["background-color:",";"],e.theme.legacy.colorRichBlack03)})),Gl.input.withConfig({displayName:"Input",componentId:"sc-1rwvhxx-0"})(["flex-grow:2;box-sizing:border-box;height:32px;font-size:",";line-height:",";color:",";background:",";padding-left:8px;padding-right:8px;input&{width:20%;outline:none;border:none;border-radius:",";&:focus,&:hover{border:none;box-shadow:none;}}&&::placeholder{color:",";}"],(function(e){return e.theme.legacy.fontSizeH6}),(function(e){return e.theme.legacy.lineHeightH6}),(function(e){return e.theme.legacy.colorText}),(function(e){return e.theme.legacy.colorBackground}),(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return e.theme.legacy.colorTextDisabled})),Gl.div.withConfig({displayName:"WrapperRelative",componentId:"sc-1rwvhxx-1"})(["position:relative;padding:2px;border-radius:",";border:1px solid ",";&:focus,&:hover{border:1px solid ",";}"],(function(e){return e.theme.legacy.buttonBorderRadius}),(function(e){return e.isFocused?e.theme.legacy.colorBorderFocus:e.theme.legacy.colorBorder}),(function(e){return e.theme.legacy.colorBorderFocus})),Gl.div.withConfig({displayName:"WrapperFlex",componentId:"sc-1rwvhxx-2"})(["display:flex;flex-wrap:wrap;align-items:center;"]),Gl.div.withConfig({displayName:"SelectedChip",componentId:"sc-1rwvhxx-3"})(["margin:2px;"]),Gl.div.withConfig({displayName:"AvailableChip",componentId:"sc-1rwvhxx-4"})(["margin:8px 2px 0;"]),Gl.div.withConfig({displayName:"AvailableChipContainer",componentId:"sc-1rwvhxx-5"})(["display:flex;align-items:flex-start;width:100%;height:",";scroll-behavior:smooth;overflow-x:scroll;&::-webkit-scrollbar{display:none;}-ms-overflow-style:none;scrollbar-width:none;"],"44px"),Gl.div.withConfig({displayName:"Footer",componentId:"sc-1rwvhxx-6"})(["position:relative;z-index:0;"]);var sC=Gl.div.withConfig({displayName:"Arrow",componentId:"sc-1rwvhxx-7"})(["z-index:2;position:absolute;top:8px;display:flex;align-items:center;justify-content:center;width:24px;height:32px;background-color:#fff;border-radius:5px;cursor:pointer;> svg{height:24px;width:24px;fill:",";}&:hover{background-color:#f2f4f5;> svg{fill:",";}}&:active{background-color:#e6e9eb;}"],(function(e){return e.theme.legacy.colorIcon}),(function(e){return e.theme.legacy.colorIconActive}));Gl(sC).withConfig({displayName:"RightArrow",componentId:"sc-1rwvhxx-8"})(["right:0;"]),Gl(sC).withConfig({displayName:"LeftArrow",componentId:"sc-1rwvhxx-9"})(["left:0;"]);var uC=Gl.div.withConfig({displayName:"Shadow",componentId:"sc-1rwvhxx-10"})(["z-index:1;position:absolute;top:0;width:32px;height:",";"],"44px");Gl(uC).withConfig({displayName:"RightShadow",componentId:"sc-1rwvhxx-11"})(["background:linear-gradient(270deg,#ffffff 0%,rgba(255,255,255,0) 100%);right:24px;"]),Gl(uC).withConfig({displayName:"LeftShadow",componentId:"sc-1rwvhxx-12"})(["background:linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,0) 100%);left:24px;"]);var dC=Gl.div.withConfig({displayName:"ArrowBackground",componentId:"sc-1rwvhxx-13"})(["z-index:1;position:absolute;top:0;background-color:#fff;border-radius:5px 0 0 5px;height:",";width:26px;"],"44px");Gl(dC).withConfig({displayName:"ArrowBackgroundRight",componentId:"sc-1rwvhxx-14"})(["right:0;"]),Gl(dC).withConfig({displayName:"ArrowBackgroundLeft",componentId:"sc-1rwvhxx-15"})(["left:-1px;"]);var pC=["isOpen"];function fC(e){var n=e.presetURL,r=e.alwaysVisible,o=new RegExp("[-?]io"),i="".concat(n).concat(o.test(n)?"&download=true":"?download=true");return t.createElement(Lg,{position:"bottom-right",trigger:function(e){var n=e.isOpen,o=TE(e,pC);return t.createElement(hC,{isVisible:r||n},t.createElement(Xf,IE(IE({},o),{},{variant:"clean",isPressed:n,icon:t.createElement(Du,null),"aria-label":"More options"})))}},t.createElement(Qw.CopyToClipboard,{text:n,onCopy:function(){mv({title:"Link copied to clipboard",variant:"success"})}},t.createElement(Lg.Item,{icon:t.createElement(Ks,null),onClick:function(){return!1}},"Copy Link")),t.createElement(Lg.Divider,null),t.createElement(Lg.Item,{icon:t.createElement(As,null),onClick:function(){window.open(n,"_blank")}},"Open in new tab"),t.createElement(Lg.Divider,null),t.createElement(Lg.Item,{icon:t.createElement(au,null),onClick:function(){return!1}},t.createElement(mC,{href:i,download:"presetimage"},"Download")))}var mC=Gl.a.withConfig({displayName:"DownloadLink",componentId:"sc-1xq1wim-0"})(["display:block;"]),hC=Gl.div.withConfig({displayName:"ButtonWrapper",componentId:"sc-1xq1wim-1"})(["opacity:",";",":hover &,&:focus-within{opacity:1;}"],(function(e){return e.isVisible?"1":"0"}),".dat-menu-pointer-events-wrapper"),gC=function(e){var t="",n=e.match(/(https:\/\/(.*))\/transform\/(.*)\/(.*)/);return n&&n[3]&&(t=n[3]),t},vC=function(e){var n=e.name,r=e.onSelect,o=e.subtitle,i=e.isMenuHidden,a=void 0!==i&&i,c=e.isSelected,l=e.baseURL,s="Base"===n?"":"".concat(n,"/"),u=gC(l),d="/transform/".concat(s).concat(u,"/"),p=EC(d,l);return t.createElement(yC,{className:"dat-menu-pointer-events-wrapper",onClick:r,isSelected:c},t.createElement(wg,{variant:"content",imageUrl:p}),t.createElement(bC,null,t.createElement(wC,null,n),t.createElement(xC,null,o)),!a&&t.createElement(fC,{alwaysVisible:!1,presetURL:d}))},yC=Gl.div.withConfig({displayName:"ItemContainer",componentId:"sc-1q57zbs-0"})(["padding:"," ",";display:flex;border-radius:",";align-items:center;background:",";&:hover{background:",";cursor:pointer;}"],If.spacing3,If.spacing4,If.spacing3,(function(e){return e.isSelected&&If.gray25}),If.gray25),bC=Gl.div.withConfig({displayName:"ItemDetails",componentId:"sc-1q57zbs-1"})(["display:flex;flex-direction:column;flex:1;min-width:0;"]),wC=Gl.p.withConfig({displayName:"Title",componentId:"sc-1q57zbs-2"})(["font-size:",";line-height:",";color:",";padding:0px ",";margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"],If.fontSize100,If.lineHeightText,If.gray800,If.spacing4),xC=Gl.p.withConfig({displayName:"Subtitle",componentId:"sc-1q57zbs-3"})(["color:",";font-size:",";line-height:",";padding:0px ",";margin:0;"],If.gray600,If.fontSize100,If.lineHeightText,If.spacing4),EC=function(e,t){var n=t.split("/transform"),r=n.length>1?n[0]:"";return"".concat(r).concat(e,"?io=transform:fit,width:80")},CC=t.memo(vC),kC=function(e){var n=e.onPresetSelected,r=e.presets,o=e.selectedPreset,i=e.baseURL;return t.createElement(_C,null,t.createElement(SC,null,"Base transformation"),t.createElement(CC,{baseURL:i,onSelect:function(){return n("")},name:"Base",isMenuHidden:!0,subtitle:"",isSelected:""===o}),r.length>0&&t.createElement(SC,null,r.length," Presets"),r.map((function(e){var r=e.name===o;return t.createElement(CC,{baseURL:i,key:e.id,onSelect:function(){return n(e.name)},name:e.name,subtitle:"",isSelected:r})})))},SC=Gl.p.withConfig({displayName:"ListGroupTitle",componentId:"sc-yqslcx-0"})(["color:",";font-size:",";margin-bottom:",";padding:0 ",";"],If.gray800,If.spacing5,If.spacing5,If.spacing4),_C=Gl.div.withConfig({displayName:"Container",componentId:"sc-yqslcx-1"})(["padding:0px ",";"],If.spacing4),IC=t.memo(kC);function BC(e){return e?e[0].toUpperCase()+e.split("").splice(1).join("").toLocaleLowerCase():""}var TC=function(e){switch(e.type){case"fill":case"crop":return t.createElement(mu,null);case"fit":return t.createElement(Ns,null);case"extend":return t.createElement(js,null);case"scale":return t.createElement(ou,null);case"rotate":return t.createElement(wu,null);case"flip":return t.createElement(gu,null);case"mirror":return t.createElement(pu,null);case"border":return t.createElement(eu,null);case"background":return t.createElement(tu,null);case"trim":return t.createElement(Zs,null);case"opacity":return t.createElement(Fs,null);case"sepia":return t.createElement(du,null);case"contrast":return t.createElement(Ps,null);case"brightness":return t.createElement(Qs,null);case"grayscale":return t.createElement(xu,null);case"blur":return t.createElement(lu,null);case"sharpness":return t.createElement(hu,null);case"saturation":return t.createElement(su,null);case"text":return t.createElement(iu,null);case"advanced":return t.createElement(Us,null);case"multiple":return t.createElement(Vs,null);case"removebg":return t.createElement(DC,null);default:return null}};function NC(e){return t.createElement(jg,IE({},e),t.createElement("path",{d:"M3 17V19H9V17H3ZM3 5V7H13V5H3ZM13 21V19H21V17H13V15H11V21H13ZM7 9V11H3V13H7V15H9V9H7ZM21 13V11H11V13H21ZM15 9H17V7H21V5H17V3H15V9Z"}))}function DC(e){return t.createElement(jg,IE({},e),t.createElement("path",{d:"M3 5h2V3c-1.1 0-2 .9-2 2Zm0 8h2v-2H3v2Zm4 8h2v-2H7v2ZM3 9h2V7H3v2Zm10-6h-2v2h2V3Zm6 0v2h2c0-1.1-.9-2-2-2ZM5 21v-2H3c0 1.1.9 2 2 2Zm-2-4h2v-2H3v2ZM9 3H7v2h2V3Zm2 18h2v-2h-2v2Zm8-8h2v-2h-2v2Zm0 8c1.1 0 2-.9 2-2h-2v2Zm0-12h2V7h-2v2Zm0 8h2v-2h-2v2Zm-4 4h2v-2h-2v2Zm0-16h2V3h-2v2ZM7 17h10V7H7v10Zm2-8h6v6H9V9Z"}))}function zC(e){return t.createElement(jg,IE({},e),t.createElement("path",{d:"M19 15.18V7c0-2.21-1.79-4-4-4s-4 1.79-4 4v10c0 1.1-.9 2-2 2s-2-.9-2-2V8.82C8.16 8.4 9 7.3 9 6c0-1.66-1.34-3-3-3S3 4.34 3 6c0 1.3.84 2.4 2 2.82V17c0 2.21 1.79 4 4 4s4-1.79 4-4V7c0-1.1.9-2 2-2s2 .9 2 2v8.18A2.996 2.996 0 0 0 18 21c1.66 0 3-1.34 3-3 0-1.3-.84-2.4-2-2.82ZM6 7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1Zm12 12c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1Z"}))}function PC(e){var n=e.children,r=e.label,o=e.helpText;return t.createElement(OC,null,t.createElement(ph.Label,null,r),n,t.createElement(ph.HelperText,null,o))}var OC=Gl(ph.Group).withConfig({displayName:"FormGroup",componentId:"sc-uzgeip-0"})(["height:fit-content;"]),AC={transformation:null,group:null,label:"Select a transform"},RC=[{label:"Background",transformation:"background",group:"transform"},{label:"Border",transformation:"border",group:"transform"},{label:"Crop",transformation:"crop",group:"transform",description:"Extracts a region of the specified dimensions from the original image without first resizing it."},{label:"Remove Background",transformation:"removebg",group:"transform",description:"We will use the available clipping path information to mask the image, and remove the background."},{label:"Extend",transformation:"extend",group:"transform",description:"Resizes the image to fit inside the bounding box specified by the dimensions, maintaining the aspect ratio, and extends the canvas if the resized image does not fill the whole area."},{label:"Fill",transformation:"fill",group:"transform",description:"Resizes the image to fill the specified dimensions without distortion. The image may be cropped as a result."},{label:"Fit",transformation:"fit",group:"transform",description:"Resizes the image to fit inside the bounding box specified by the dimensions, maintaining the aspect ratio."},{label:"Flip",transformation:"flip",group:"transform"},{label:"Mirror",transformation:"mirror",group:"transform"},{label:"Rotate",transformation:"rotate",group:"transform"},{label:"Scale",transformation:"scale",group:"transform",description:"Resizes the image to the specified dimensions without necessarily retaining the original aspect ratio."},{label:"Trim",transformation:"trim",group:"transform",description:"Removes any transparent or white colored areas at the edges of an image."},{label:"Text overlay",transformation:"text",group:"overlay"},{label:"Opacity",transformation:"opacity",group:"filter"},{label:"Sepia",transformation:"sepia",group:"filter"},{label:"Contrast",transformation:"contrast",group:"filter"},{label:"Brightness",transformation:"brightness",group:"filter"},{label:"Grayscale",transformation:"grayscale",group:"filter"},{label:"Blur",transformation:"blur",group:"filter"},{label:"Sharpness",transformation:"sharpness",group:"filter"},{label:"Saturation",transformation:"saturation",group:"filter"}];function MC(e){var n,r=RC.find((function(t){return t.transformation===e.transformation}))||AC;return t.createElement(PC,{label:"Transformation",helpText:null!==(n=r.description)&&void 0!==n?n:""},t.createElement(yv,{onChange:function(t){var n=RC.find((function(e){return e.transformation===t})).group;e.onChange({group:n,transformation:t})},label:r.label,value:r.transformation,icon:t.createElement(TC,{type:r.transformation})},t.createElement(yv.SectionTitle,null,"Transforms"),RC.filter((function(e){return"transform"===e.group})).map((function(e){return t.createElement(yv.Item,{value:e.transformation,key:e.transformation,icon:t.createElement(TC,{type:e.transformation})},e.label)})),t.createElement(yv.Divider,null),t.createElement(yv.SectionTitle,null,"Filters"),RC.filter((function(e){return"filter"===e.group})).map((function(e){return t.createElement(yv.Item,{value:e.transformation,key:e.transformation,icon:t.createElement(TC,{type:e.transformation})},e.label)})),t.createElement(yv.Divider,null),t.createElement(yv.SectionTitle,null,"Overlay"),RC.filter((function(e){return"overlay"===e.group})).map((function(e){return t.createElement(yv.Item,{value:e.transformation,key:e.transformation,icon:t.createElement(TC,{type:e.transformation})},e.label)}))))}var FC=function(e){return"number"==typeof e&&!isNaN(e)},LC=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;if(!FC(e))return 0;var n=Math.abs(e),r=Math.trunc(n);return r<=t?r:t},jC=function(e){return e&&e>0?e.toString():""};function HC(e){var n=e.id,o=e.height,i=void 0===o?0:o,a=e.width,c=void 0===a?0:a,l=e.showLock,s=void 0!==l&&l,u=e.onDispatch,d=NE(r(!1),2),p=d[0],f=d[1],m=NE(r(1),2),h=m[0],g=m[1],v=t.createElement(VC,null,p?t.createElement(Ms,null):t.createElement(Rs,null)),y=jC(c),b=jC(i);return t.createElement(PC,{label:"Dimensions"},t.createElement(UC,null,t.createElement($C,null,t.createElement(Nh,{"aria-label":"Dimensions width",placeholder:"1000",icon:t.createElement(WC,null,"W"),value:y,onChange:function(e){var t=parseInt(e,10),r=LC(t,9e3);u({type:"width",payload:{value:r,id:n}}),p?u({type:"height",payload:{value:r/h,id:n}}):g(i&&r?r/i:1)},iconRight:t.createElement("span",null,"px")})),s?t.createElement(Xf,{variant:"clean",onClick:function(){f((function(e){return!e}))},icon:v,title:"Lock ratio"}):t.createElement(YC,null),t.createElement($C,null,t.createElement(Nh,{"aria-label":"Dimensions height",placeholder:"1000",icon:t.createElement(WC,null,"H"),value:b,onChange:function(e){var t=parseInt(e,10),r=LC(t,9e3);u({type:"height",payload:{value:r,id:n}}),p?u({type:"width",payload:{value:r*h,id:n}}):g(c&&r?c/r:1)},iconRight:t.createElement("span",null,"px")}))))}var UC=Gl.div.withConfig({displayName:"SpaceBetween",componentId:"sc-zla2g2-0"})(["display:flex;align-items:center;justify-content:space-between;"]),VC=Gl.div.withConfig({displayName:"IconContainer",componentId:"sc-zla2g2-1"})(["color:",";"],If.gray400a),$C=Gl.div.withConfig({displayName:"FlexInput",componentId:"sc-zla2g2-2"})(["min-width:0;"]),WC=Gl.div.withConfig({displayName:"IconText",componentId:"sc-zla2g2-3"})(["display:flex;justify-content:center;width:",";"],If.spacing6),YC=Gl.div.withConfig({displayName:"Space",componentId:"sc-zla2g2-4"})(["width:",";"],If.spacing4);function qC(e){var n=e.onChange,r=e.value,o=void 0===r?0:r,i=e.label,a=e.min,c=e.max;return t.createElement(PC,{label:i},t.createElement(zv,{value:o,onChange:n,min:a,max:c,inputPosition:"right"}))}function GC(e){return t.createElement(jg,IE({},e),t.createElement("path",{d:"M3 3H5V19H21V21H3V3Z",fill:"#334E5C"}),t.createElement("path",{d:"M7 5C13.6274 5 19 10.3726 19 17H17C17 11.4772 12.5228 7 7 7V5Z",fill:"#334E5C"}))}function XC(e){var n=e.io,r=e.onDispatch;return t.createElement(PC,{label:"Angle"},t.createElement(Nh,{type:"number",placeholder:"0",onChange:function(e){return r({type:"angle",payload:{value:parseInt(e,10),id:n.id}})},value:n.angle?n.angle.toString():"",icon:t.createElement(GC,null),iconRight:t.createElement("span",null,"°")}))}function KC(e){return t.createElement(jg,IE({},e),t.createElement("path",{d:"M8 19L8 21H16V19H13L13 5L16 5V3L8 3L8 5H11L11 19H8Z"}))}function ZC(e){return t.createElement(jg,IE({},e),t.createElement("path",{d:"M5 8H3V16H5V13H19V16H21V8H19V11H5V8Z"}))}var JC=[{value:"top",label:"Top"},{value:"center",label:"Center"},{value:"bottom",label:"Bottom"}],QC=[{value:"left",label:"Left"},{value:"center",label:"Center"},{value:"right",label:"Right"}];function ek(e){var n=e.label,o=e.gravity,i=e.onChange,a=NE(r(QC[1]),2),c=a[0],l=a[1],s=NE(r(JC[1]),2),u=s[0],d=s[1],p=function(e){switch(i(e),e){case"topleft":d(JC.find((function(e){return"top"===e.value}))),l(QC.find((function(e){return"left"===e.value})));break;case"top":d(JC.find((function(e){return"top"===e.value}))),l(QC.find((function(e){return"center"===e.value})));break;case"topright":d(JC.find((function(e){return"top"===e.value}))),l(QC.find((function(e){return"right"===e.value})));break;case"left":d(JC.find((function(e){return"center"===e.value}))),l(QC.find((function(e){return"left"===e.value})));break;case"center":d(JC.find((function(e){return"center"===e.value}))),l(QC.find((function(e){return"center"===e.value})));break;case"right":d(JC.find((function(e){return"center"===e.value}))),l(QC.find((function(e){return"right"===e.value})));break;case"bottomleft":d(JC.find((function(e){return"bottom"===e.value}))),l(QC.find((function(e){return"left"===e.value})));break;case"bottom":d(JC.find((function(e){return"bottom"===e.value}))),l(QC.find((function(e){return"center"===e.value})));break;case"bottomright":d(JC.find((function(e){return"bottom"===e.value}))),l(QC.find((function(e){return"right"===e.value})))}};return t.createElement(PC,{label:n},t.createElement(am,null,t.createElement(tk,{alignItems:"center",justifyContent:"space-between",wrap:"wrap"},t.createElement(nk,{isSelected:"topleft"===o,onClick:function(){return p("topleft")}}),t.createElement(nk,{isSelected:"top"===o,onClick:function(){return p("top")}}),t.createElement(nk,{isSelected:"topright"===o,onClick:function(){return p("topright")}}),t.createElement(nk,{isSelected:"left"===o,onClick:function(){return p("left")}}),t.createElement(nk,{isSelected:"center"===o,onClick:function(){return p("center")}}),t.createElement(nk,{isSelected:"right"===o,onClick:function(){return p("right")}}),t.createElement(nk,{isSelected:"bottomleft"===o,onClick:function(){return p("bottomleft")}}),t.createElement(nk,{isSelected:"bottom"===o,onClick:function(){return p("bottom")}}),t.createElement(nk,{isSelected:"bottomright"===o,onClick:function(){return p("bottomright")}})),t.createElement(am,{direction:"column",justifyContent:"space-around"},t.createElement(yv,{onChange:function(e){switch(l(QC.find((function(t){return t.value===e}))),e){case"left":"top"===u.value&&i("topleft"),"center"===u.value&&i("left"),"bottom"===u.value&&i("bottomleft");break;case"center":"top"===u.value&&i("top"),"center"===u.value&&i("center"),"bottom"===u.value&&i("bottom");break;case"right":"top"===u.value&&i("topright"),"center"===u.value&&i("right"),"bottom"===u.value&&i("bottomright")}},value:c.value,label:c.label,icon:t.createElement(ZC,null)},QC.map((function(e){return t.createElement(yv.Item,{value:e.value,key:e.value},e.label)}))),t.createElement(yv,{onChange:function(e){switch(d(JC.find((function(t){return t.value===e}))),e){case"top":"left"===c.value&&i("topleft"),"center"===c.value&&i("top"),"right"===c.value&&i("topright");break;case"center":"left"===c.value&&i("left"),"center"===c.value&&i("center"),"right"===c.value&&i("right");break;case"bottom":"left"===c.value&&i("bottomleft"),"center"===c.value&&i("bottom"),"right"===c.value&&i("bottomright")}},value:u.value,label:u.label,icon:t.createElement(KC,null)},JC.map((function(e){return t.createElement(yv.Item,{value:e.value,key:e.value},e.label)}))))))}var tk=Gl(am).withConfig({displayName:"Container",componentId:"sc-ci11hg-0"})(["width:150px;height:92px;padding:5px;margin-right:",";background:",";border:1px solid ",";box-sizing:border-box;border-radius:",";"],If.spacing5,If.gray25,If.gray100a,If.radiusMedium),nk=Gl.div.withConfig({displayName:"Spot",componentId:"sc-ci11hg-1"})(["width:24px;height:24px;background:",";border:1px solid ",";box-sizing:border-box;border-radius:",";&:hover{background-color:",";cursor:pointer;}",""],If.gray10,If.gray100a,If.radiusSmall,If.gray25a,(function(e){return e.isSelected&&Nl(["border:2px solid ",";background:",";"],If.blue500,If.blue100)}));function rk(e){var n=e.color,o=e.label,i=e.onChangeValidation,a=e.onChange,c=NE(r(!0),2),l=c[0],s=c[1],u=function(e){s(e),i(e)};return t.createElement(PC,{label:o},t.createElement(am,null,t.createElement(ok,null,t.createElement(Nh,{value:n,icon:t.createElement("span",null,"#"),onChange:function(e){var t=function(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return t+t+n+n+r+r})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(!n)return"";var r=parseInt(n[1],16).toString(),o=parseInt(n[2],16).toString(),i=parseInt(n[3],16).toString();return"(".concat(r,", ").concat(o,", ").concat(i,")")}(e);t?(a(e),u(!0)):(a(null),u(!1))}}),!l&&t.createElement(ph.HelperText,{isInvalid:!l},"Please type a valid hex value")),t.createElement(ik,null,t.createElement(Nh,{type:"number",placeholder:"100",onChange:null,value:null,iconRight:t.createElement("span",null,"%"),isDisabled:!0}))))}var ok=Gl.div.withConfig({displayName:"FlexInputColor",componentId:"sc-1b7ygj6-0"})(["min-width:0;margin-right:",";"],If.spacing4),ik=Gl.div.withConfig({displayName:"FlexInput",componentId:"sc-1b7ygj6-1"})(["min-width:0;"]),ak=["Arial"],ck=["Regular"];function lk(e){var n,r,o=e.io,i=e.onDispatch;return t.createElement(t.Fragment,null,t.createElement(PC,{label:"Text"},t.createElement(Mv,{value:o.content,onChange:function(e){return i({type:"content",payload:{value:e,id:o.id}})}})),t.createElement(PC,{label:"Font"},t.createElement(yv,{value:o.font,label:o.font,onChange:function(e){return i({type:"font",payload:{value:e,id:o.id}})}},ak.map((function(e){return t.createElement(yv.Item,{value:e,key:e},e)})))),t.createElement(PC,{label:""},t.createElement(am,null,t.createElement(sk,null,t.createElement(yv,{value:o.fontType,label:o.fontType,onChange:function(e){return i({type:"fontType",payload:{value:e,id:o.id}})},isDisabled:!0},ck.map((function(e){return t.createElement(yv.Item,{value:e,key:e},e)})))),t.createElement(uk,null,t.createElement(Nh,{type:"number",value:null===(n=o.size)||void 0===n?void 0:n.toString(),iconRight:t.createElement("span",null,"px"),onChange:function(e){return i({type:"size",payload:{value:parseInt(e,10),id:o.id}})}})))),t.createElement(rk,{label:"Text color",onChange:function(e){return i({type:"color",payload:{value:e,id:o.id}})},onChangeValidation:function(e){return i({type:"isValid",payload:e})},color:o.color}),t.createElement(ek,{label:"Position",gravity:o.gravity,onChange:function(e){return i({type:"gravity",payload:{value:e,id:o.id}})}}),t.createElement(PC,{label:"Padding"},t.createElement(Nh,{type:"number",value:null===(r=o.padding)||void 0===r?void 0:r.toString(),iconRight:t.createElement("span",null,"px"),onChange:function(e){return i({type:"padding",payload:{value:parseInt(e,10),id:o.id}})}})),t.createElement(XC,{io:o,onDispatch:i}))}var sk=Gl.div.withConfig({displayName:"FontTypeContainer",componentId:"sc-1w95sy3-0"})(["width:210px;margin-right:",";"],If.spacing4),uk=Gl.div.withConfig({displayName:"FontSizeContainer",componentId:"sc-1w95sy3-1"})(["width:76px;"]);function dk(e){var n=e.io,r=e.onDispatch;return t.createElement(t.Fragment,null,t.createElement(HC,{width:n.width,height:n.height,onDispatch:r,id:n.id}),t.createElement(rk,{label:"Background",onChange:function(e){return r({type:"background",payload:{value:e,id:n.id}})},onChangeValidation:function(e){return r({type:"isValid",payload:e})},color:n.background}))}var pk=[{label:"Rectangle",path:"square",icon:t.createElement(fu,null)},{label:"Ellipse",path:"circle",icon:t.createElement(vu,null)}],fk=[{label:"Clipping Path",path:"clippingpath",icon:t.createElement(zC,null)}];function mk(e){var n,r=e.onChange,o=e.shape,i=null!==(n=pk.find((function(e){return e.path===o})))&&void 0!==n?n:fk.find((function(e){return e.path===o}));return t.createElement(PC,{label:"Path"},t.createElement(yv,IE({onChange:r,value:o},i),pk.map((function(e){return t.createElement(yv.Item,{value:e.path,key:e.path,icon:e.icon},e.label)})),t.createElement(yv.Divider,null),fk.map((function(e){return t.createElement(yv.Item,{value:e.path,key:e.path,icon:e.icon},e.label)}))))}var hk=[{label:"Focus point",focus:"point",icon:t.createElement(uu,null)},{label:"Gravity",focus:"gravity",icon:t.createElement(tx,null)}];function gk(e){var n=e.gravity,o=e.onChangeGravity,i=NE(r(!1),2),c=i[0],l=i[1],s=NE(r(null),2),u=s[0],d=s[1];a((function(){u||(n?f():p())}),[n,u]);var p=function(){var e=hk.find((function(e){return"point"===e.focus}));d(e)},f=function(){var e=hk.find((function(e){return"gravity"===e.focus}));d(e)};return t.createElement(t.Fragment,null,t.createElement(PC,{label:"Focus",helpText:"gravity"===(null==u?void 0:u.focus)?"Select the direction from where the transformation is being applied.":"Uses the predefined focus point of the asset."},t.createElement(yv,IE(IE({onChange:function(e){var t="gravity"===e,n=hk.find((function(t){return t.focus===e}));d(n),l(t),o(t?"center":null)}},u),{},{value:null==u?void 0:u.focus}),hk.map((function(e){return t.createElement(t.Fragment,{key:e.focus},"gravity"===e.focus?t.createElement(yv.Divider,null):null,t.createElement(yv.Item,{value:e.focus,icon:e.icon},e.label))})))),c&&t.createElement(ek,{label:"Gravity",gravity:n,onChange:o}))}function vk(e){var n=e.io,r=e.onDispatch;return t.createElement(t.Fragment,null,t.createElement(mk,{shape:n.path,onChange:function(e){return r({type:"path",payload:{value:e,id:n.id}})}}),"clippingpath"!==n.path&&t.createElement(t.Fragment,null,t.createElement(HC,{width:n.width,height:n.height,onDispatch:r,id:n.id}),t.createElement(gk,{onChangeGravity:function(e){r({type:"gravity",payload:{value:e,id:n.id}})},gravity:n.gravity})),"circle"===n.path&&t.createElement(qC,{label:"Blur",value:n.blur,min:0,max:100,onChange:function(e){return r({type:"blur",payload:{value:e,id:n.id}})}}))}function yk(e){return t.createElement(jg,IE({},e),t.createElement("path",{d:"M4 5H20V7H4V5Z",fill:"#334E5C"}),t.createElement("path",{d:"M4 9H20V12H4V9Z",fill:"#334E5C"}),t.createElement("path",{d:"M20 14H4V19H20V14Z",fill:"#334E5C"}))}function bk(e){var n=e.io,r=e.onDispatch,o=jC(n.width);return t.createElement(t.Fragment,null,t.createElement(rk,{label:"Color",onChange:function(e){return r({type:"color",payload:{value:e,id:n.id}})},onChangeValidation:function(e){return r({type:"isValid",payload:e})},color:n.color}),t.createElement(PC,{label:"Border"},t.createElement(am,null,t.createElement(wk,null,t.createElement(Nh,{placeholder:"1",onChange:function(e){var t=parseInt(e,10),o=LC(t,500);r({type:"width",payload:{value:o,id:n.id}})},value:o,icon:t.createElement(yk,null),iconRight:t.createElement("span",null,"px")})),t.createElement(xk,null,t.createElement(Nh,{placeholder:"Outside",onChange:null,value:null,iconRight:t.createElement(Cu,null),isDisabled:!0})))))}var wk=Gl.div.withConfig({displayName:"FlexInputColor",componentId:"sc-qgnlb2-0"})(["min-width:0;margin-right:",";"],If.spacing4),xk=Gl.div.withConfig({displayName:"FlexInput",componentId:"sc-qgnlb2-1"})(["min-width:0;"]);function Ek(e){var n=e.io,r=e.onDispatch;return t.createElement(t.Fragment,null,t.createElement(HC,{width:n.width,height:n.height,onDispatch:r,id:n.id}),t.createElement(gk,{onChangeGravity:function(e){r({type:"gravity",payload:{value:e,id:n.id}})},gravity:n.gravity}))}function Ck(e){var n=e.onDispatch,r=e.io;return t.createElement(qC,{label:BC(r.filter),min:-100,max:100,value:r.amount,onChange:function(e){return n({type:"amount",payload:{value:e,id:r.id}})}})}function kk(e){var n=e.onDispatch,r=e.io;return t.createElement(qC,{label:"Blur",min:0,max:100,value:r.radius,onChange:function(e){return n({type:"radius",payload:{value:e,id:r.id}})}})}function Sk(e){var n=e.io,r=e.onDispatch;return t.createElement(rk,{label:"Color",onChange:function(e){r({type:"color",payload:{value:e,id:n.id}})},onChangeValidation:function(e){r({type:"isValid",payload:e})},color:n.color})}function _k(e){var n=e.io,r=e.onDispatch,o=jC(n.padding);return t.createElement(PC,{label:"Padding"},t.createElement(am,null,t.createElement(Ik,null,t.createElement(Nh,{placeholder:"1",onChange:function(e){var t=parseInt(e,10),o=LC(t,3e3);r({type:"padding",payload:{value:o,id:n.id}})},value:o,icon:t.createElement(yk,null),iconRight:t.createElement("span",null,"px")}))))}var Ik=Gl.div.withConfig({displayName:"FlexInputColor",componentId:"sc-13pc6c3-0"})(["min-width:0;margin-right:",";"],If.spacing4);function Bk(e){var n=e.io,r=e.onDispatch,o=["contrast","brightness","sharpness","saturation"].includes(n.filter),i=n.transform||n.overlay||n.filter;return t.createElement(t.Fragment,null,t.createElement(MC,{transformation:i,onChange:function(e){return r({type:"transformation",payload:{group:e.group,value:e.transformation,id:n.id}})}}),("fit"===n.transform||"scale"===n.transform)&&t.createElement(HC,{width:n.width,height:n.height,onDispatch:r,id:n.id}),"fill"===n.transform&&t.createElement(Ek,{io:n,onDispatch:r}),"background"===n.transform&&t.createElement(Sk,{io:n,onDispatch:r}),"rotate"===n.transform&&t.createElement(XC,{io:n,onDispatch:r}),"border"===n.transform&&t.createElement(bk,{io:n,onDispatch:r}),"extend"===n.transform&&t.createElement(dk,{io:n,onDispatch:r}),"crop"===n.transform&&t.createElement(vk,{io:n,onDispatch:r}),"trim"===n.transform&&t.createElement(_k,{io:n,onDispatch:r}),"text"===n.overlay&&t.createElement(lk,{io:n,onDispatch:r}),"blur"===n.filter&&t.createElement(kk,{io:n,onDispatch:r}),"opacity"===n.filter&&t.createElement(Ck,{io:n,onDispatch:r}),o&&t.createElement(qC,{label:BC(n.filter),min:-100,max:100,value:n.amount,onChange:function(e){return r({type:"amount",payload:{value:e,id:n.id}})}}))}var Tk=[{label:"Auto (recomended)",value:""},{label:"WebP",value:"webp"},{label:"JPG",value:"jpg"},{label:"PNG",value:"png"},{label:"AVIF",value:"avif"}],Nk=[{label:"Very High",value:"95"},{label:"High",value:"85"},{label:"Medium (Auto)",value:"75"},{label:"Low",value:"65"}];function Dk(e){var n,r,o=e.options,i=e.onDispatch,a=(null===(n=Tk.find((function(e){return e.value===o.format})))||void 0===n?void 0:n.label)||"Select Format",c=(null===(r=Nk.find((function(e){return e.value===String(o.quality)})))||void 0===r?void 0:r.label)||"Select Quality";return t.createElement(t.Fragment,null,t.createElement(PC,{label:"Format",helpText:"Set the output format"},t.createElement(yv,{onChange:function(e){return i({type:"format",payload:e})},label:a,value:o.format},Tk.map((function(e){return t.createElement(yv.Item,{value:e.value,key:e.value},e.label)})))),t.createElement(PC,{label:"Quality"},t.createElement(yv,{onChange:function(e){return i({type:"quality",payload:Number(e)})},label:c,value:String(o.quality)},Nk.map((function(e){return t.createElement(yv.Item,{value:e.value,key:e.label},e.label)})))))}var zk=function(e){var n=e.preset,o=e.onDispatch,i=NE(r([]),2),a=i[0],c=i[1],l=NE(r(!1),2),s=l[0],u=l[1];return t.createElement(Og,null,n.content.io.map((function(e){var n=a.includes(e.id),r=e.transform||e.overlay||e.filter,i=BC(r)||"New transformation",l=Pk(e);return t.createElement(t.Fragment,{key:e.id},t.createElement(Og.Item,{subtext:l,thumbnail:t.createElement(wg,{variant:"clean",icon:t.createElement(TC,{type:r}),shape:"square"}),rightElements:t.createElement(Ok,{isExpanded:n,onDeleteClick:function(t){return function(e,t){e.stopPropagation(),o({type:"deleteTransformation",payload:{id:t}})}(t,e.id)}}),onClick:function(){return function(e){a.includes(e)?c((function(t){return t.filter((function(t){return t!==e}))})):c((function(t){return[].concat(DE(t),[e])}))}(e.id)}},i),n&&t.createElement(Bk,{io:e,onDispatch:o,key:"".concat(e.id,"-transformation")}),t.createElement(Og.Divider,{key:"".concat(e.id,"-divider")}))})),t.createElement(Og.Item,{key:"add-button",onClick:function(){var e=ex();o({type:"addTransformation",payload:{id:e}}),c((function(t){return[].concat(DE(t),[e])}))},thumbnail:t.createElement(wg,{icon:t.createElement(Gs,null),shape:"square"})},"Add transformation"),t.createElement(Og.Divider,{key:"add-button-divider"}),t.createElement(Og.Item,{key:"advanced-button",subtext:"Format: ".concat(n.content.format.toUpperCase()||"Auto"," • Quality: ").concat(n.content.quality),thumbnail:t.createElement(wg,{variant:"clean",icon:t.createElement(TC,{type:"advanced"}),shape:"square"}),rightElements:s?t.createElement(Tu,null):t.createElement(Nu,null),onClick:function(){u(!s)}},"Output options"),s&&t.createElement(Dk,{options:n.content,onDispatch:o,key:"advanced-options"}))},Pk=function(e){var t="Focus Point";e.gravity&&(t=BC(e.gravity));var n=e.width&&e.height?"".concat(e.width," × ").concat(e.height," px "):"",r=t?"Focus: ".concat(t):"",o=e.color?"Color: #".concat(e.color):"",i=e.background?"Background: #".concat(e.background):"",a=e.path?"Shape: ".concat(e.path):"",c=e.blur?"Blur: ".concat(e.blur):"",l=e.amount?"Amount: ".concat(e.amount):"";switch(e.transform||e.filter){case"fill":return"".concat(n," ").concat(r&&n&&"• "+r);case"background":return o;case"border":return"".concat(o," • Width: ").concat(e.width,"px");case"crop":return"".concat(n," • ").concat(a," ").concat(i&&"• "+i," ").concat(c&&"• "+c);case"extend":return"".concat(n," ").concat(i&&"• "+i);case"fit":case"scale":return n;case"flip":return"Flip vertically";case"mirror":return"Flip horizontally";case"rotate":return"Angle: ".concat(e.angle||0,"°");case"opacity":case"contrast":case"brightness":case"blur":case"sharpness":case"saturation":return l;default:return""}},Ok=function(e){var n=e.isExpanded,r=e.onDeleteClick;return t.createElement(am,{alignItems:"center"},t.createElement(bm,{content:"Remove transformation"},t.createElement(Xf,{variant:"clean",icon:t.createElement(Ds,{fill:If.gray400a,onClick:r}),"aria-label":"Delete"})),n?t.createElement(Tu,null):t.createElement(Nu,null))};function Ak(e){var n,r,o,i=e.preset,a=e.onDispatch,c=null!==(n=null===(r=i.content)||void 0===r||null===(o=r.io)||void 0===o?void 0:o.length)&&void 0!==n?n:0;return t.createElement(t.Fragment,null,t.createElement(Mk,null,t.createElement(Lk,null,"Transformations"),t.createElement(jk,null,1===c?"".concat(c," transformation applied"):c>1?"".concat(c," transformations applied"):"No transformations")),t.createElement(Fk,null,t.createElement(zk,{preset:i,onDispatch:a})))}var Rk,Mk=Gl.div.withConfig({displayName:"TitleContainer",componentId:"sc-tlsynt-0"})(["padding-top:",";background-color:",";padding-bottom:",";position:absolute;width:100%;z-index:1;"],If.spacing6,If.white,If.spacing4),Fk=Gl.div.withConfig({displayName:"ListContainer",componentId:"sc-tlsynt-1"})(["margin-top:",";"],"76px"),Lk=Gl.div.withConfig({displayName:"Title",componentId:"sc-tlsynt-2"})(["font-size:16px;line-height:20px;color:",";"],If.gray800),jk=Gl.div.withConfig({displayName:"SubTitle",componentId:"sc-tlsynt-3"})(["font-size:14px;line-height:20px;color:",";"],If.gray600);!function(e){e[e.transformations=0]="transformations",e[e.presets=1]="presets"}(Rk||(Rk={}));var Hk=function(){return t.createElement(Vk,null,t.createElement(Wk,null),t.createElement(Yk,null,t.createElement(qk,{large:!0}),t.createElement(qk,null)))},Uk=function(){return t.createElement(Gk,null)},Vk=Gl.div.withConfig({displayName:"LoaderContainer",componentId:"sc-1vpf7m8-0"})(["display:flex;align-items:center;padding:12px;"]),$k=ql(["0%{background-color:","}100%{background-color:","}"],If.gray50a,If.gray100a),Wk=Gl.div.withConfig({displayName:"ThumbnailLoader",componentId:"sc-1vpf7m8-1"})(["width:50px;height:50px;border-radius:4px;animation:"," 1s linear infinite alternate;"],$k),Yk=Gl.div.withConfig({displayName:"ContentLoader",componentId:"sc-1vpf7m8-2"})(["display:flex;flex-direction:column;height:100%;margin-left:",";"],If.spacing4),qk=Gl.div.withConfig({displayName:"Content",componentId:"sc-1vpf7m8-3"})(["height:10px;margin-bottom:",";width:",";border-radius:",";animation:"," 1s linear infinite alternate;"],If.spacing3,(function(e){return e.large?"110px":"60px"}),If.radiusSmall,$k),Gk=Gl.div.withConfig({displayName:"LoadImageSkeleton",componentId:"sc-1vpf7m8-4"})(["width:240px;height:320px;animation:"," 1s linear infinite alternate;"],$k),Xk=function(e){var n=e.onPresetSelected,r=e.activeTab,o=e.presets,i=e.preset,c=e.dispatch,l=e.selectedPreset,s=e.isLoading,u=e.baseURL,d=e.canViewPresets,p=e.canViewTransformations;return a((function(){var e,t;r!==Rk.transformations||null!=i&&null!==(e=i.content)&&void 0!==e&&null!==(t=e.io)&&void 0!==t&&t.length||c({type:"init"})}),[r,c,i]),t.createElement(Kk,{direction:"column"},r===Rk.presets?d?s?t.createElement(t.Fragment,null,Array.from(Array(5).keys()).map((function(e){return t.createElement(Hk,{key:"preset-skeleton-".concat(e)})}))):t.createElement(IC,{baseURL:u,presets:o,onPresetSelected:n,selectedPreset:l}):null:p?t.createElement(Zk,null,t.createElement(Ak,{preset:i,onDispatch:c})):null)},Kk=Gl(am).withConfig({displayName:"SidebarContainer",componentId:"sc-n1gktg-0"})(["width:336px;overflow-y:auto;overflow-x:hidden;background:",";flex:none;box-shadow:-1px 0px 0px rgba(0,34,51,0.1);height:100%;"],If.white),Zk=Gl.div.withConfig({displayName:"TransformationsContainer",componentId:"sc-n1gktg-1"})(["padding:0 ",";"],If.spacing6);function Jk(e){var n=e.url,r=c(null);return l((function(){r.current.scrollLeft=r.current.scrollWidth}),[n]),t.createElement(Qk,null,t.createElement(eS,null,t.createElement(tS,null,t.createElement(zu,null)),t.createElement(nS,{ref:r,onClick:function(){window.open(n,"_blank").focus()}},t.createElement(oS,null,n))),t.createElement(rS,null,t.createElement(bm,{content:"Copy URL"},t.createElement(Qw.CopyToClipboard,{text:n,onCopy:function(){mv({title:"Link copied to the clipboard",variant:"success"})}},t.createElement(Xf,{variant:"clean",icon:t.createElement(Js,null),"aria-label":"Copy to clipboard"}))),t.createElement(fC,{alwaysVisible:!0,presetURL:n})))}var Qk=Gl.div.withConfig({displayName:"Container",componentId:"sc-ucc5ld-0"})(["height:50px;background-color:",";border-radius:",";display:flex;align-items:center;justify-content:space-between;box-shadow:",";min-width:0;min-height:0;"],If.white,If.radiusLarge,If.elevationStatic),eS=Gl.div.withConfig({displayName:"SideContainer",componentId:"sc-ucc5ld-1"})(["display:flex;align-items:center;min-width:0;min-height:0;"]),tS=Gl.div.withConfig({displayName:"PublicIconContainer",componentId:"sc-ucc5ld-2"})(["margin-left:",";margin-right:",";fill:",";"],If.spacing5,If.spacing4,If.gray600),nS=Gl.div.withConfig({displayName:"LinkContainer",componentId:"sc-ucc5ld-3"})(["color:",";font-size:",";cursor:pointer;overflow:scroll;white-space:nowrap;width:100%;height:100%;display:flex;&::-webkit-scrollbar{display:none;}-ms-overflow-style:none;scrollbar-width:none;"],If.gray800,If.fontSize100),rS=Gl.div.withConfig({displayName:"ButtonsContainer",componentId:"sc-ucc5ld-4"})(["display:flex;width:100px;padding-right:",";"],If.spacing2),oS=Gl.span.withConfig({displayName:"Link",componentId:"sc-ucc5ld-5"})(["display:flex;align-items:center;justify-content:center;height:100%;"]);function iS(e){var n=e.url,i=e.canViewTransformations,c=e.hideBottomBar,l=e.activeTab,s=e.onBack,u=e.onDone,d=e.onApply,p=e.onShowTransformations,f=e.hasActiveChanges,m=NE(r(!0),2),h=m[0],g=m[1],v=o((function(){return function(e){if(!e)return"";var t=new URL(e);return t.searchParams.set("".concat(Date.now()),""),t.toString()}(n)}),[n]);return a((function(){g(!0)}),[n]),t.createElement(dS,null,t.createElement(pS,{justifyContent:"space-between",alignItems:"center"},t.createElement(fS,null,t.createElement(Xf,{variant:"clean",icon:t.createElement(cu,null),"aria-label":"Go back",onClick:s})),l===Rk.presets&&i&&t.createElement(vS,{variant:"clean",onClick:p,icon:t.createElement(NC,null)},"Transform"),l===Rk.transformations&&("function"==typeof d&&f?t.createElement(mS,null,t.createElement(vS,{variant:"primary",onClick:d},"Apply transformations")):t.createElement(vS,{variant:"primary",onClick:u},"Done"))),t.createElement(gS,{hideBottomBar:c},n&&t.createElement(uS,{src:v,alt:"",isImageLoading:h,onLoad:function(){g(!1)}}),h&&t.createElement(Uk,null)),!c&&t.createElement(hS,null,t.createElement(Jk,{url:n})))}var aS,cS,lS,sS,uS=Gl.img.withConfig({displayName:"Image",componentId:"sc-dpw9jp-0"})(["display:",";max-width:100%;max-height:100%;background:",";"],(function(e){return e.isImageLoading?"none":"block"}),"repeating-conic-gradient(".concat(If.gray100a," 0% 25%, transparent 0% 50%) 50% / 14px 14px")),dS=Gl.div.withConfig({displayName:"Container",componentId:"sc-dpw9jp-1"})(["display:flex;flex-direction:column;width:100%;height:100%;min-height:0;min-width:0;"]),pS=Gl(am).withConfig({displayName:"TopbarContainer",componentId:"sc-dpw9jp-2"})(["height:90px;width:100%;"]),fS=Gl.div.withConfig({displayName:"ButtonBackContainer",componentId:"sc-dpw9jp-3"})(["margin-left:",";"],If.layoutSpacing1),mS=Gl.div.withConfig({displayName:"TransformationButtonContainer",componentId:"sc-dpw9jp-4"})(["display:flex;gap:",";"],If.spacing4),hS=Gl.div.withConfig({displayName:"BottomContainer",componentId:"sc-dpw9jp-5"})(["padding:",";"],If.spacing5),gS=Gl.div.withConfig({displayName:"ImageWrapper",componentId:"sc-dpw9jp-6"})(["display:flex;justify-content:center;align-items:center;flex:1;min-height:0;position:relative;",";"],(function(e){return e.hideBottomBar&&Nl(["margin-bottom:",";"],If.spacing8)})),vS=Gl(Xf).withConfig({displayName:"TransformButton",componentId:"sc-dpw9jp-7"})(["float:right;margin-right:",";"],If.layoutSpacing1),yS=function(e){return e.data},bS=function(e){if(e.response){var t=e.response.data;if(null!=t&&t.error)throw t.error;throw t}if(e.request)throw new Error("Server is not responding, please try again");throw e.message},wS=null===(aS=document.querySelector('meta[name="x-csrf-token"]'))||void 0===aS?void 0:aS.getAttribute("content"),xS={"cache-control":"no-cache",pragma:"no-cache","x-csrf-token":(null===(cS=window)||void 0===cS?void 0:cS.csrf)||(null===(lS=window)||void 0===lS||null===(sS=lS.Bynder)||void 0===sS?void 0:sS.csrf_token)||wS},ES=SE.create({headers:xS}),CS=function(){return"/v7/dat/presets/",ES.get("/v7/dat/presets/",undefined).then(yS).catch(bS)},kS={id:"",transform:null,overlay:null,filter:null},SS={name:"",description:"",content:{format:"",quality:75,io:[]},isValid:!0};function _S(e,t){var n,r=function(){return e.content.io.map((function(e){return IE({},e)}))};switch(t.type){case"init":return SS;case"edit":return IE(IE({isValid:!0},t.payload),{},{content:IE(IE({},t.payload.content),{},{io:t.payload.content.io.map((function(e){return IE(IE({},e),{},{id:ex()})}))})});case"addTransformation":return IE(IE({},e),{},{content:IE(IE({},e.content),{},{io:[].concat(DE(r()),[IE(IE({},kS),{},{id:t.payload.id,transform:"fill"})])})});case"deleteTransformation":return IE(IE({},e),{},{content:IE(IE({},e.content),{},{io:e.content.io.filter((function(e){return e.id!==t.payload.id}))})});case"isValid":case"name":case"description":return IE(IE({},e),{},(BE(n={},t.type,t.payload),BE(n,"content",IE(IE({},e.content),{},{io:r()})),n));case"format":case"quality":return IE(IE({},e),{},{content:IE(IE({},e.content),{},BE({io:r()},t.type,t.payload))});case"transformation":return IE(IE({},e),{},{content:IE(IE({},e.content),{},{io:e.content.io.map((function(e){return e.id!==t.payload.id?IE({},e):IE(IE({},IS(t.payload.value)),{},BE({id:e.id},t.payload.group,t.payload.value))}))})});case"gravity":case"width":case"height":case"x":case"y":case"path":case"content":case"font":case"fontType":case"size":case"color":case"padding":case"angle":case"radius":case"amount":case"softness":case"background":case"blur":return IE(IE({},e),{},{content:IE(IE({},e.content),{},{io:e.content.io.map((function(e){return e.id!==t.payload.id?IE({},e):IE(IE({},e),{},BE({},t.type,t.payload.value))}))})});default:return e}}var IS=function(e){switch(e){case"fill":case"fit":case"extend":case"scale":return IE(IE({},kS),{},{height:1e3,width:1e3});case"crop":return IE(IE({},kS),{},{height:1e3,width:1e3,path:"square"});case"background":return IE(IE({},kS),{},{color:"FFF"});case"border":return IE(IE({},kS),{},{color:"FFF",width:1});case"rotate":return IE(IE({},kS),{},{angle:0});case"opacity":return IE(IE({},kS),{},{amount:100});case"blur":return IE(IE({},kS),{},{radius:0});case"text":return IE(IE({},kS),{},{content:"Add Text Here",font:"Arial",size:64,color:"FFF",gravity:"center",padding:20,angle:0});case"brightness":case"contrast":case"sharpness":case"saturation":return IE(IE({},kS),{},{amount:0})}},BS=Gl.div.withConfig({displayName:"FlexContainer",componentId:"sc-inplsu-0"})(["display:flex;min-height:0;height:100%;"]);Gl.div.withConfig({displayName:"NameIconContainer",componentId:"sc-i27a7s-0"})(["display:flex;min-width:0;"]),Gl.div.withConfig({displayName:"DateContainer",componentId:"sc-i27a7s-1"})(["width:385px;font-size:",";color:",";"],If.fontSize75,If.gray600),Gl.div.withConfig({displayName:"Name",componentId:"sc-i27a7s-2"})(["font-size:",";color:",";flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],If.fontSize100,If.gray800),Gl.div.withConfig({displayName:"DescriptionContainer",componentId:"sc-i27a7s-3"})(["display:flex;flex-direction:column;flex:1;min-width:0;padding:0 ",";"],If.spacing4),Gl.div.withConfig({displayName:"Description",componentId:"sc-i27a7s-4"})(["font-size:",";color:",";"],If.fontSize75,If.gray600),Gl.div.withConfig({displayName:"Actions",componentId:"sc-i27a7s-5"})(["display:flex;margin-left:",";justify-content:end;"],If.spacing4),Gl.tr.withConfig({displayName:"Container",componentId:"sc-i27a7s-6"})(["height:72px;&:not(:last-child){border-bottom:solid 1px ",";}"],If.gray50),Gl.th.withConfig({displayName:"Th",componentId:"sc-945e4m-0"})(["color:",";font-size:",";"],If.gray800,If.fontSize100),Gl.table.withConfig({displayName:"Table",componentId:"sc-945e4m-1"})(["width:100%;"]),Gl.header.withConfig({displayName:"Header",componentId:"sc-405vyk-0"})(["position:sticky;z-index:1;top:var(--pageHeaderTopPosition);display:flex;gap:",";justify-content:space-between;align-items:center;margin-bottom:",";padding:"," ",";background:",";"],If.spacing4,If.spacing7,If.spacing5,If.spacing6,If.white),Gl.h3.withConfig({displayName:"Title",componentId:"sc-405vyk-1"})([""," margin:0;"],im.uiTextL);function TS(e){var n,o=e.transformBaseUrl,i=e.transformation,c=e.setTransformation,l=e.closeDat,s=Fa(),u=r(),d=u[0],p=u[1],f=r(),m=f[0],h=f[1];a((function(){var e=s.querySelector(".cv-root");e&&p(e)}),[s]);var v=function(e,t){e&&i&&c({url:e,preset:t,asset:i.asset}),l()},y=function(e,t){w(t)&&i?h({url:e,preset:t,asset:i.asset}):v(e,t)},b=function(){return h(void 0)},w=function(e){return e.content.io.length>0};return d?g(t.createElement(zS,null,t.createElement(PS,{baseURL:o,canViewPresets:!1,canViewTransformations:!0,hideBottomBar:!0,onApply:v,onDone:y,onBack:y,initialTransformations:null===(n=null==i?void 0:i.preset)||void 0===n?void 0:n.content.io}),t.createElement(ov,{isOpen:!!m,title:"Transformations not yet applied",container:d,onClose:b,actionPrimary:t.createElement(Xf,{variant:"primary",onClick:function(){v(null==m?void 0:m.url,null==m?void 0:m.preset),b()}},"Apply transformations"),actionSecondary:t.createElement(Xf,{variant:"secondary",onClick:b},"Cancel"),actionTertiary:t.createElement(Xf,{variant:"secondary",onClick:function(){c(void 0),b(),l()}},"Discard changes")},"Transformations not yet applied. Do you want to apply transformations now, or discard changes?")),d):null}var NS,DS,zS=Gl.div(NS||(NS=_a(["\n\tbackground-color: ",";\n\tz-index: 999999;\n\toverflow: hidden;\n\tborder-radius: ",";\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: stretch;\n\tbox-shadow: 0 2px 12px 0 rgba(0, 34, 51, 0.1);\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n"],["\n\tbackground-color: ",";\n\tz-index: 999999;\n\toverflow: hidden;\n\tborder-radius: ",";\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: stretch;\n\tbox-shadow: 0 2px 12px 0 rgba(0, 34, 51, 0.1);\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n"])),If.white,If.radiusBase),PS=Gl((function(e){var n=e.baseURL,i=e.canViewPresets,l=e.canViewTransformations,s=e.hideBottomBar,u=void 0!==s&&s,d=e.initialTransformations,p=e.onDone,m=e.onApply,h=e.onBack,g=i?Rk.presets:Rk.transformations,v=NE(r(n),2),y=v[0],b=v[1],w=NE(r(g),2),x=w[0],E=w[1],C=NE(r(""),2),k=C[0],S=C[1],_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=IE(IE({},SS),{},{content:IE(IE({},SS.content),{},{io:t})}),o=NE(r([]),2),i=o[0],l=o[1],s=NE(r(!1),2),u=s[0],d=s[1],p=NE(f(_S,n),2),m=p[0],h=p[1],g=c(!0);a((function(){return e&&(d(!0),v()),function(){g.current=!1}}),[e]);var v=function(){CS().then((function(e){g.current&&(l(e.presets),d(!1))})).catch((function(e){g.current&&(d(!1),mv({title:e.toString(),variant:"error",isPersistent:!0}))}))};return{presets:i,setPresets:l,preset:m,dispatch:h,isLoading:u,defaultValues:n}}(i,d),I=_.presets,B=_.preset,T=_.dispatch,N=_.isLoading,D=_.defaultValues,z=B.content.io.length>0,P=function(e,t,n){var r=this,i=c(null),l=c(0),s=c(null),u=c([]),d=c(),p=c(),f=c(e),m=c(!0);a((function(){f.current=e}),[e]);var h=!t&&0!==t&&"undefined"!=typeof window;t=+t||0;var g=!!(n=n||{}).leading,v=!("trailing"in n)||!!n.trailing,y="maxWait"in n,b=y?Math.max(+n.maxWait||0,t):null;a((function(){return m.current=!0,function(){m.current=!1}}),[]);var w=o((function(){var e=function(e){var t=u.current,n=d.current;return u.current=d.current=null,l.current=e,p.current=f.current.apply(n,t)},n=function(e,t){h&&cancelAnimationFrame(s.current),s.current=h?requestAnimationFrame(e):setTimeout(e,t)},o=function(e){if(!m.current)return!1;var n=e-i.current;return!i.current||n>=t||n<0||y&&e-l.current>=b},a=function(t){return s.current=null,v&&u.current?e(t):(u.current=d.current=null,p.current)},c=function e(){var r=Date.now();if(o(r))return a(r);if(m.current){var c=t-(r-i.current),s=y?Math.min(c,b-(r-l.current)):c;n(e,s)}},w=function(){var a=Date.now(),f=o(a);if(u.current=[].slice.call(arguments),d.current=r,i.current=a,f){if(!s.current&&m.current)return l.current=i.current,n(c,t),g?e(i.current):p.current;if(y)return n(c,t),e(i.current)}return s.current||n(c,t),p.current};return w.cancel=function(){s.current&&(h?cancelAnimationFrame(s.current):clearTimeout(s.current)),l.current=0,u.current=i.current=d.current=s.current=null},w.isPending=function(){return!!s.current},w.flush=function(){return s.current?a(Date.now()):p.current},w}),[g,y,t,b,v,h]);return w}((function(){if(B.content.io.length>0){var e=function(e,t){var n=[],r=e.content,o=r.io,i=r.format,a=r.quality;return o.forEach((function(e){n.push(function(e){return{key:"io",value:Object.keys(e).filter((function(t){return"id"!==t&&null!==e[t]})).map((function(t){return"".concat(t,":").concat(e[t])})).join(",")}}(e))})),i&&n.push({key:"format",value:i}),a&&a!==t.content.quality&&n.push({key:"quality",value:a.toString()}),n.map((function(e){var t=e.key,n=e.value;return"".concat(t,"=").concat(n)})).join("&")}(B,D);b("".concat(n,"?").concat(e))}else b(n)}),500);return a((function(){return P(),function(){return P.cancel()}}),[P,B,n]),a((function(){i||l&&E(Rk.transformations)}),[i,l]),t.createElement(BS,null,t.createElement(iS,{url:y,canViewTransformations:l,activeTab:x,onApply:m?function(){return m(y,B)}:void 0,onBack:function(){return h(y,B)},hasActiveChanges:z,onDone:function(){i||z?i&&E(Rk.presets):p(y,B)},onShowTransformations:function(){l&&E(Rk.transformations)},hideBottomBar:u}),t.createElement(Xk,{onPresetSelected:function(e){b(""!==e?n.split("/transform")[0]+"/transform/".concat(e,"/").concat(gC(n),"/"):n),S(e)},activeTab:x,presets:I,preset:B,dispatch:T,selectedPreset:k,isLoading:N,baseURL:n,canViewPresets:i,canViewTransformations:l}))}))(DS||(DS=_a(["\n\theight: 100%;\n\twidth: 100%;\n"],["\n\theight: 100%;\n\twidth: 100%;\n"]))),OS=n(null);function AS(e){var n=r(),i=n[0],a=n[1],c=r(""),l=c[0],s=c[1],u=function(e,t){s(e),a((function(n){return{preset:(null==n?void 0:n.asset.id)===t.id?n.preset:void 0,url:e,asset:t}}))},d=o((function(){return{transformation:i,setTransformation:a,openDat:u,closeDat:function(){return s("")}}}),[i]);return t.createElement(OS.Provider,{value:d},e.children,l&&t.createElement(TS,{transformBaseUrl:l,transformation:i,setTransformation:a,closeDat:function(){return s("")}}))}function RS(){var e=i(OS);if(null===e)throw new Error("useTransformations must be used with a DatProvider");return e}function MS(e){var n,o,i,c,l=e.transformBaseUrl,s=e.asset,u=e.toggleDropdown,d=RS(),p=d.transformation,f=d.openDat,m=r(),h=m[0],g=m[1],v=null!==(c=null===(i=null===(o=null===(n=null==p?void 0:p.preset)||void 0===n?void 0:n.content)||void 0===o?void 0:o.io)||void 0===i?void 0:i.length)&&void 0!==c?c:0;return a((function(){if(p){var e=p.url,t="io=transform:fill,width:40,height:40";e.includes("io=transform:fill")&&g(e.replace(/io=transform:fill,width:[0-9]+,height:[0-9]+/,t)),g("".concat(e,"&").concat(t))}}),[p]),l?t.createElement(t.Fragment,null,t.createElement(Og.Divider,null),t.createElement(LS,{thumbnail:p&&0!==v?t.createElement(wg,{imageUrl:h,"data-testid":"thumbnail-image"}):t.createElement(wg,{icon:t.createElement(mu,null),"data-testid":"crop-icon"}),rightElements:t.createElement(Pu,null),onClick:function(){u(),f(l,s)},subtext:p&&v>0?"".concat(v," transformation").concat(1===v?"":"s"):""},"New transformation")):null}var FS,LS=Gl(Og.Item)(FS||(FS=_a(["\n\tmax-width: 100%;\n\twidth: 340px;\n\tmargin-left: 0;\n"],["\n\tmax-width: 100%;\n\twidth: 340px;\n\tmargin-left: 0;\n"]))),jS=n(null);function HS(e){var n=r([]),i=n[0],c=n[1],l=r(),s=l[0],u=l[1],d=function(e){var t=this,n=r([]),o=n[0],i=n[1],c=ky(),l=c.selectionMode,s=c.language,u=Tb(),d=!1;return a((function(){if(e){var n=null!=e?e:[];"MultiSelect"!==l&&(n=n[0]?[n[0]]:[]),r=n,Ca(t,void 0,void 0,(function(){var e,t,n;return ka(this,(function(o){switch(o.label){case 0:return r.length?[4,Rb(r,u,s)]:[3,2];case 1:e=o.sent(),d||Ty(e)||(null===(t=e.value)||void 0===t||t.sort((function(e,t){return r.indexOf(e.id)-r.indexOf(t.id)})),i(null!==(n=e.value)&&void 0!==n?n:[])),o.label=2;case 2:return[2]}}))}))}var r;return function(){d=!0}}),[e]),o}(s),p=Sy(),f=RS().transformation;function m(){c([])}function h(e){c((function(t){var n=e.filter((function(e){return!US(t,e)}));return Sa(Sa([],t,!0),n.map((function(e){return{type:"asset",value:e}})),!0)}))}function g(e){var t;"MultiSelect"!==p?(t=e[0],i.some((function(e){return e.value.id===t.id}))?c([]):c([{type:"asset",value:t}])):c((function(t){var n=e.filter((function(e){return!US(t,e)})),r=e.filter((function(e){return US(t,e)}));return Sa(Sa([],t.filter((function(e){return!r.some((function(t){return t.id===e.value.id}))})),!0),n.map((function(e){return{type:"asset",value:e}})),!0)}))}function v(e){c((function(t){return US(t,e)?t.filter((function(t){return t.value.id!==e.id})):Sa(Sa([],t,!0),[{type:"collection",value:e}],!1)}))}a((function(){var t;u((null!==(t=e.preselectedAssetIds)&&void 0!==t?t:[]).filter((function(e){return!!e})).map((function(e){return window.btoa("(Asset_id "+e+")")})))}),[e.preselectedAssetIds]),a((function(){h(d)}),[d]),a((function(){f&&(m(),h([null==f?void 0:f.asset]))}),[f]);var y=o((function(){return{selection:i,preselectedAssetIds:s,clear:m,selectAssets:h,toggleAssets:g,toggleCollection:v}}),[i]);return t.createElement(jS.Provider,{value:y},e.children)}function US(e,t){return e.some((function(e){return e.value.id===t.id}))}function VS(){var e=i(jS);if(null===e)throw new Error("useSelection must be used with a SelectionProvider");return e}function $S(e){var n=e.className,r=e.collection,o=e.fadeIn,i=void 0===o||o,a=e.isSelected,c=e.style,l=Sy(),s=Ta()[1],u=VS(),d=ky().hideExternalAccess;return t.createElement("div",{id:r.id,style:c,className:sy("m-2 w-56 self-start group relative",n,i&&"fade-in-down")},t.createElement(Vm,{contextAction:!d&&t.createElement(Vm.ContextActionButton,{"aria-label":Hv("Open in new tab"),onClick:function(){window.open(r.url,"_blank")}},t.createElement(Ls,null)),selectButtonAriaLabel:Hv(a?"Deselect":"Select"),onSelect:"MultiSelect"===l?function(e){e.stopPropagation(),u.toggleCollection(r)}:void 0,isSelected:a,onClick:function(){return s({page:"collection",collection:r})},"aria-selected":a,"data-testid":"asset-card"},t.createElement(Vm.Frame,null,t.createElement(Vm.Images,null,r.thumbnailUrls.slice(0,3).map((function(e){return t.createElement(Vm.Img,{key:e,src:e,alt:r.name})})))),t.createElement(Vm.Header,{title:r.name,"data-testid":"asset-name"}),t.createElement("div",{className:"pl-4 pb-3 -mt-1 text-sm text-body-400"},yy(r.assetCount,Hv("{} asset"),Hv("{} assets")))))}function WS(e){var t=r(void 0),n=t[0],o=t[1],i=c(void 0);function l(t){void 0!==i.current&&cancelAnimationFrame(i.current),i.current=requestAnimationFrame((function(){var n=null!=t?t:e;if(null!==n){var r=n.getBoundingClientRect();o({width:r.width,height:r.height,scrollWidth:n.scrollWidth})}}))}return a((function(){l();var e=function(){return l()};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e),i.current&&cancelAnimationFrame(i.current)}}),[e]),{dimensions:n,remeasure:l}}function YS(e,t){if(!e)throw new Error("Invariant failed")}function qS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GS(){return GS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GS.apply(this,arguments)}function XS(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var KS=new Map,ZS=new Map,JS=new Map,QS=0;function e_(e,t,n){void 0===n&&(n={}),n.threshold||(n.threshold=0);var r=n,o=r.root,i=r.rootMargin,a=r.threshold;if(KS.has(e)&&YS(!1),e){var c=function(e){return e?JS.has(e)?JS.get(e):(QS+=1,JS.set(e,QS.toString()),JS.get(e)+"_"):""}(o)+(i?a.toString()+"_"+i:a.toString()),l=ZS.get(c);l||(l=new IntersectionObserver(n_,n),c&&ZS.set(c,l));var s={callback:t,element:e,inView:!1,observerId:c,observer:l,thresholds:l.thresholds||(Array.isArray(a)?a:[a])};return KS.set(e,s),l.observe(e),s}}function t_(e){if(e){var t=KS.get(e);if(t){var n=t.observerId,r=t.observer,o=r.root;r.unobserve(e);var i=!1,a=!1;n&&KS.forEach((function(t,r){r!==e&&(t.observerId===n&&(i=!0,a=!0),t.observer.root===o&&(a=!0))})),!a&&o&&JS.delete(o),r&&!i&&r.disconnect(),KS.delete(e)}}}function n_(e){e.forEach((function(e){var t=e.isIntersecting,n=e.intersectionRatio,r=e.target,o=KS.get(r);if(o&&n>=0){var i=o.thresholds.some((function(e){return o.inView?n>e:n>=e}));void 0!==t&&(i=i&&t),o.inView=i,o.callback(i,e)}}))}var r_=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return qS(XS(t=e.call.apply(e,[this].concat(r))||this),"state",{inView:!1,entry:void 0}),qS(XS(t),"node",null),qS(XS(t),"handleNode",(function(e){t.node&&(t_(t.node),e||t.props.triggerOnce||t.setState({inView:!1,entry:void 0})),t.node=e||null,t.observeNode()})),qS(XS(t),"handleChange",(function(e,n){(e!==t.state.inView||e)&&t.setState({inView:e,entry:n}),t.props.onChange&&t.props.onChange(e,n)})),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.componentDidMount=function(){this.node||YS(!1)},o.componentDidUpdate=function(e,t){e.rootMargin===this.props.rootMargin&&e.root===this.props.root&&e.threshold===this.props.threshold||(t_(this.node),this.observeNode()),t.inView!==this.state.inView&&this.state.inView&&this.props.triggerOnce&&(t_(this.node),this.node=null)},o.componentWillUnmount=function(){this.node&&(t_(this.node),this.node=null)},o.observeNode=function(){if(this.node){var e=this.props,t=e.threshold,n=e.root,r=e.rootMargin;e_(this.node,this.handleChange,{threshold:t,root:n,rootMargin:r})}},o.render=function(){var e=this.state,t=e.inView,n=e.entry;if(!function(e){return"function"!=typeof e.children}(this.props))return this.props.children({inView:t,entry:n,ref:this.handleNode});var r=this.props,o=r.children,i=r.as,a=r.tag,c=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(r,["children","as","tag","triggerOnce","threshold","root","rootMargin","onChange"]);return s(i||a||"div",GS({ref:this.handleNode},c),o)},r}(m);qS(r_,"displayName","InView"),qS(r_,"defaultProps",{threshold:0,triggerOnce:!1});var o_={inView:!1,entry:void 0};function i_(e){var n=function(e){void 0===e&&(e={});var t=c(),n=r(o_),o=n[0],i=n[1];return[u((function(n){t.current&&(t_(t.current),e.triggerOnce||i(o_)),n&&e_(n,(function(t,r){i({inView:t,entry:r}),t&&e.triggerOnce&&t_(n)}),e),t.current=n}),[e.threshold,e.root,e.rootMargin,e.triggerOnce]),o.inView,o.entry]}(),o=n[0],i=n[1];return a((function(){i&&!e.isLoading&&e.hasNextPage&&e.loadMore()}),[i]),t.createElement(t.Fragment,null,e.children,e.hasNextPage&&t.createElement("div",{className:"relative h-32 w-full",ref:o,"data-testid":"loading-element"},t.createElement(gb,{className:sy(!i&&"hidden")})))}function a_(){return t.createElement("svg",{viewBox:"0 5 60 82",className:"h-20"},t.createElement("defs",null,t.createElement("filter",{x:"-1.7%",y:"-1.2%",width:"103.3%",height:"105%",filterUnits:"objectBoundingBox",id:"prefix__a"},t.createElement("feOffset",{dy:"2",in:"SourceAlpha",result:"shadowOffsetOuter1"}),t.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.133333333 0 0 0 0 0.2 0 0 0 0.05 0",in:"shadowOffsetOuter1"})),t.createElement("filter",{x:"-5%",y:"-5%",width:"110%",height:"120%",filterUnits:"objectBoundingBox",id:"prefix__c"},t.createElement("feOffset",{dy:"2",in:"SourceAlpha",result:"shadowOffsetOuter1"}),t.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.133333333 0 0 0 0 0.2 0 0 0 0.05 0",in:"shadowOffsetOuter1"})),t.createElement("path",{d:"M5 5h35l20 20v55a5 5 0 01-5 5H5a5 5 0 01-5-5V10a5 5 0 015-5z",id:"prefix__b"}),t.createElement("path",{d:"M40 5l20 20H45a5 5 0 01-5-5V5z",id:"prefix__d"})),t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("use",{fill:"#000",filter:"url(#prefix__a)",xlinkHref:"#prefix__b"}),t.createElement("use",{fill:"#FFF",xlinkHref:"#prefix__b"}),t.createElement("g",{fillRule:"nonzero"},t.createElement("use",{fill:"#000",filter:"url(#prefix__c)",xlinkHref:"#prefix__d"}),t.createElement("use",{fill:"#FFF",xlinkHref:"#prefix__d"}))))}function c_(e){return t.createElement(m_,null,t.createElement(h_,null,t.createElement(a_,null),t.createElement(g_,null)),t.createElement(v_,null,Hv("No results found")),t.createElement(y_,null,Hv("Try adjusting the filter to find assets.")),t.createElement(b_,{variant:"primary",title:Hv("Reset filters"),onClick:e.onReset},Hv("Reset filters")))}var l_,s_,u_,d_,p_,f_,m_=Gl.div(l_||(l_=_a(["\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n"],["\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n"]))),h_=Gl.div(s_||(s_=_a(["\n\tbackground-color: ",";\n\tborder-radius: 50%;\n\twidth: 160px;\n\theight: 160px;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n"],["\n\tbackground-color: ",";\n\tborder-radius: 50%;\n\twidth: 160px;\n\theight: 160px;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n"])),If.gray25),g_=Gl(Hs)(u_||(u_=_a(["\n\tposition: absolute;\n\tmargin: "," 0 0 1px;\n\tcolor: ",";\n\twidth: 36px;\n\theight: 36px;\n"],["\n\tposition: absolute;\n\tmargin: "," 0 0 1px;\n\tcolor: ",";\n\twidth: 36px;\n\theight: 36px;\n"])),If.spacing2,If.gray300),v_=Gl.h1(d_||(d_=_a(["\n\tmargin-top: ",";\n\tfont-size: ",";\n"],["\n\tmargin-top: ",";\n\tfont-size: ",";\n"])),If.spacing6,If.fontSize400),y_=Gl.span(p_||(p_=_a(["\n\tmargin-top: ",";\n\tcolor: ",";\n"],["\n\tmargin-top: ",";\n\tcolor: ",";\n"])),If.spacing5,If.colorTextDisabled),b_=Gl(Xf)(f_||(f_=_a(["\n\tmargin-top: ",";\n"],["\n\tmargin-top: ",";\n"])),If.spacing7);function w_(e){var n,o,i=r(null),a=i[0],c=i[1],l=WS(a).dimensions,s=VS().selection.filter((function(e){return"collection"===e.type})).map((function(e){return e.value.id})),u=Pa().setSearch,d=e.connection,p=d.data,f=d.isLoading,m=d.loadMore,h=d.hasNextPage,g=void 0!==l?Math.ceil(l.height/184):0,v=void 0!==l?Math.round((l.width-32)/204):0;return t.createElement("div",{role:"listbox",className:"card-list",ref:function(e){c(e)}},("Failure"===p.tag||"Loading"===p.tag&&!p.value)&&t.createElement(wy,{rows:g,columns:v,title:t.createElement("div",{className:"mt-2 text-sm"}," ")}),"Loaded"===p.tag&&0===(null===(n=p.value)||void 0===n?void 0:n.collections.nodes.length)&&t.createElement(c_,{onReset:function(){return u("collections","")}}),("Loading"===p.tag&&!!p.value||"Loaded"===p.tag&&p.value.collections.nodes.length>0)&&t.createElement(i_,{hasNextPage:h,isLoading:f,loadMore:m},null===(o=p.value)||void 0===o?void 0:o.collections.nodes.map((function(e,n){return t.createElement($S,{key:e.id,isSelected:s.includes(e.id),collection:e,fadeIn:n>=g*v})}))))}function x_(){var e=Oa("collections"),n=e.value,o=e.setIsLoading,i=function(e){var t,n=this,o=Tb(),i=r({tag:"Loading",value:null}),c=i[0],l=i[1],s=!1,u=function(t){return Ca(n,void 0,void 0,(function(){var n,r;return ka(this,(function(i){switch(i.label){case 0:return l((function(e){return{tag:"Loading",value:"Failure"===e.tag?null:e.value}})),[4,Py("\nquery getCollections($searchTerm: String, $orderBy: CollectionOrder!, $after: Cursor) {\n collections(after: $after, first: 50, filter: {name_contains: $searchTerm, assetCount_gte: 1}, orderBy: $orderBy) {\n nodes {\n id\n name\n assetCount\n thumbnailUrls\n url\n }\n totalCount\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}",xa(xa({},e),{searchTerm:null!==(r=e.searchTerm)&&void 0!==r?r:null,after:null!=t?t:null}),o)];case 1:return n=i.sent(),s||(Ty(n)?l({tag:"Failure",value:n.error}):d(n,t)),[2]}}))}))},d=function(e,t){p()&&t?l((function(t){var n,r,o=null!==(r=null===(n=p(t))||void 0===n?void 0:n.nodes)&&void 0!==r?r:[];return{tag:"Loaded",value:{collections:xa(xa({},e.value.collections),{nodes:Sa(Sa([],o,!0),e.value.collections.nodes,!0)})}}})):l({tag:"Loaded",value:e.value})},p=function(e){var t,n=null!=e?e:c;if("Failure"!==n.tag)return null===(t=n.value)||void 0===t?void 0:t.collections};return a((function(){return u(),function(){s=!0}}),[e.searchTerm,e.orderBy]),{data:c,executeQuery:function(){return u()},isLoading:!c||"Loading"===c.tag,loadMore:function(){var e;return u(null===(e=p())||void 0===e?void 0:e.pageInfo.endCursor)},hasNextPage:!!(null===(t=p())||void 0===t?void 0:t.pageInfo.hasNextPage)}}({searchTerm:n,orderBy:ba("collections")[0]});return a((function(){i.isLoading||o(!1)}),[i.isLoading]),"Failure"===i.data.tag?t.createElement(iy,{error:new Error(i.data.value),onRetry:i.executeQuery}):t.createElement("div",{className:"flex flex-col flex-grow overflow-y-auto"},t.createElement("div",{className:"flex items-center px-4 pt-4 pb-2 z-10"},i.data.value&&t.createElement("span",{className:"flex-shrink-0 flex-grow text-body-400 fade-in-down"},yy(i.data.value.collections.totalCount,Hv("{} collection"),Hv("{} collections"))),!i.data.value&&t.createElement("span",{className:"flex-grow"}),t.createElement(hy,{options:["CREATED_AT","NAME"]}),t.createElement(ay,null)),t.createElement(w_,{connection:i}))}var E_=n(null);function C_(e){var n=e.children,i=e.hideLimitedUse,c=void 0!==i&&i,l=r([]),s=l[0],u=l[1],d=r([]),p=d[0],f=d[1],m=r([]),h=m[0],g=m[1],v=r(),y=v[0],b=v[1],w=r({}),x=w[0],E=w[1];function C(e){u((function(t){return k_(t,e)}))}function k(e){u((function(t){return S_(t,e)}))}function S(e){f((function(t){return k_(t,e.id)})),E((function(t){var n;return xa(xa({},t),((n={})[e.id]=e,n))}))}function _(e){f((function(t){return S_(t,e.id)})),E((function(t){var n=t,r=e.id;return Ea(n,["symbol"==typeof r?r:r+""])}))}function I(e){g((function(t){return k_(t,e)}))}function B(e){g((function(t){return S_(t,e)}))}function T(){u([]),f([]),E({}),g([])}a((function(){b(!c&&void 0)}),[c]);var N=p.map((function(e){return x[e]})),D=o((function(){return{assetTypes:s,metaproperties:N,tags:h,isLimited:y,addAssetType:C,removeAssetType:k,addMetaproperty:S,removeMetaproperty:_,addTag:I,removeTag:B,clear:T}}),[s,N,h,y]);return t.createElement(E_.Provider,{value:D},n)}function k_(e,t){return e.includes(t)?e:Sa(Sa([],e,!0),[t],!1)}function S_(e,t){return e.filter((function(e){return e!==t}))}function __(){var e=i(E_);if(null===e)throw new Error("useAssetFilter must be used with a AssetFilterProvider");return e}function I_(e){return Hv({AUDIO:"Audio",DOCUMENT:"Document",IMAGE:"Image",VIDEO:"Video",ARCHIVE:"Archive"}[e])}function B_(e){switch(e){case"AUDIO":return qs;case"DOCUMENT":return nu;case"IMAGE":return yu;case"VIDEO":return Ys;case"ARCHIVE":return Xs}}function T_(e){return t.createElement(D_,{icon:t.createElement(Iu,null),"aria-label":"Next",title:"Next",variant:"clean",isSmall:!0,onClick:e.onClick,"data-testid":"arrow-right",isVisible:e.isVisible})}var N_,D_=Gl(Xf)(N_||(N_=_a(["\n\tz-index: 20;\n\tpadding: 0;\n\tbox-shadow: -16px 0px 10px 0px #ffffff;\n\n\t&:hover {\n\t\tbox-shadow: -16px 0px 10px 0px #ffffff;\n\t}\n\n\t","\n"],["\n\tz-index: 20;\n\tpadding: 0;\n\tbox-shadow: -16px 0px 10px 0px #ffffff;\n\n\t&:hover {\n\t\tbox-shadow: -16px 0px 10px 0px #ffffff;\n\t}\n\n\t","\n"])),(function(e){return!e.isVisible&&"\n\t\tdisplay: none;\n\t"}));function z_(e){return t.createElement(O_,{icon:t.createElement(_u,null),"aria-label":"Previous",title:"Previous",variant:"clean",isSmall:!0,onClick:e.onClick,"data-testid":"arrow-left",isVisible:e.isVisible})}var P_,O_=Gl(Xf)(P_||(P_=_a(["\n\tz-index: 20;\n\tpadding: 0;\n\tbox-shadow: 4px 0 13px 13px #fff;\n\n\t&:hover {\n\t\tbox-shadow: 4px 0 13px 13px #fff;\n\t}\n\n\t","\n"],["\n\tz-index: 20;\n\tpadding: 0;\n\tbox-shadow: 4px 0 13px 13px #fff;\n\n\t&:hover {\n\t\tbox-shadow: 4px 0 13px 13px #fff;\n\t}\n\n\t","\n"])),(function(e){return!e.isVisible&&"\n\t\tdisplay: none;\n\t"}));function A_(e){var n=r(0),o=n[0],i=n[1],l=c(null),s=WS(l.current),u=s.dimensions,d=s.remeasure,p=null!==l.current?l.current.scrollWidth-l.current.clientWidth:0,f=void 0!==u&&u.width<u.scrollWidth;a((function(){d(l.current)}),[e.children,l.current]),a((function(){f||i(0)}),[f]);var m=o>0,h=p>5&&o!==p;return t.createElement("div",{className:sy("inline-flex flex-grow overflow-hidden",e.className)},f&&t.createElement(z_,{isVisible:m,onClick:function(){i((function(e){var t=Math.max(e-250,0);return t>=100?t:0}))}}),t.createElement("div",{className:"overflow-hidden",ref:l},t.createElement("div",{className:"transition-transform inline-flex",style:{transform:"translateX(".concat(-o,"px)")},"data-testid":"horizontal-scrollable-el"},e.children)),f&&t.createElement(T_,{isVisible:h,onClick:function(){i((function(e){var t=Math.min(e+250,p);return t<=p-100?t:p}))}}),e.static)}function R_(e){var n=sy("bg-ui-0 border border-ui-600 flex-shrink-0 h-8 inline-flex\n\t\t items-center justify-center px-3 rounded-full select-none shadow-border\n\t\t text-sm text-white transition-color",e.className);return t.createElement("div",{className:n,onClick:e.onClick,onKeyDown:function(t){return function(e,t){t&&"Enter"===e.key&&(e.preventDefault(),t(e))}(t,e.onClick)},role:"button",tabIndex:0,"data-testid":e["data-testid"]},e.children)}function M_(e){return t.createElement(R_,{className:"mr-2 fade-in-down","data-testid":"selected-filter:".concat(e.title)},e.icon,t.createElement("span",{className:"max-w-32 truncate",title:e.title},e.title),t.createElement(Bu,{onClick:e.onClick,title:Hv("Remove filter"),className:"w-5 h-5 ml-1 -mr-1 text-body-300 hover:text-body-400 cursor-pointer"}))}function F_(){var e=__(),n=0===e.metaproperties.length&&0===e.assetTypes.length&&0===e.tags.length?void 0:t.createElement(j_,{variant:"clean",isSmall:!0,onClick:e.clear},Hv("Clear filters"));return t.createElement("div",{"data-testid":"selected-filter-list"},t.createElement(A_,{className:"ml-2",static:n},e.assetTypes.map((function(n){var r=B_(n);return t.createElement(M_,{key:n,onClick:function(){return e.removeAssetType(n)},title:I_(n),icon:t.createElement(r,{className:"w-5 h-5 mr-1"})})})),e.metaproperties.map((function(n){return t.createElement(M_,{key:n.id,onClick:function(){return e.removeMetaproperty(n)},title:n.label})})),e.tags.map((function(n){return t.createElement(M_,{key:n,onClick:function(){return e.removeTag(n)},title:n})}))))}var L_,j_=Gl(Xf)(L_||(L_=_a(["\n\tflex-shrink: 0;\n\tanimation: var(--fade-in-down);\n"],["\n\tflex-shrink: 0;\n\tanimation: var(--fade-in-down);\n"]))),H_=["xls","xlsx","ppt","pdf","pptx","indd","mp4","wav","docx","doc","numbers","pages","otf","txt","ttf","mov","avi","mpeg","webm","fla","aiff","mp3","m4r","zip","rar"];function U_(e){if(e.derivatives.thumbnail)return e.derivatives.thumbnail;var t=e.extensions[0];return H_.includes(t)?"".concat("https://d8ejoa1fys2rk.cloudfront.net","/includes/img/placeholder/medium/").concat(t,".jpg"):"".concat("https://d8ejoa1fys2rk.cloudfront.net","aif"===t?"/includes/img/placeholder/medium/aiff.jpg":"m4a"===t?"/includes/img/placeholder/medium/m4r.jpg":"/includes/img/common/no-image.png")}function V_(e){var t=e.extensions[0];return"JPG"===(null==t?void 0:t.toUpperCase())?"JPEG":null==t?void 0:t.toUpperCase()}function $_(e){var n=e.transformBaseUrl,r=e.portalUrl,o=e.onOpenDAT,i=ky(),a=i.hideExternalAccess,c="SingleSelectFile"===i.selectionMode&&n;return!c&&a?null:c||a?c&&a?t.createElement(Vm.ContextActionButton,{"aria-label":"New transformation",onClick:o},t.createElement(mu,null)):t.createElement(Lg,{trigger:function(e){var n=e.isOpen,r=Ea(e,["isOpen"]);return t.createElement(Vm.ContextActionButton,xa({"aria-label":"Menu",isPressed:n},r),t.createElement(Du,null))},isClosedOnScroll:!0},t.createElement(Lg.Item,{icon:t.createElement(Ls,null),onClick:function(){window.open(r,"_blank")}},"Open asset"),t.createElement(Lg.Divider,null),t.createElement(Lg.Item,{icon:t.createElement(mu,null),onClick:o},"New transformation")):t.createElement(Vm.ContextActionButton,{"aria-label":Hv("Open in new tab"),onClick:function(){window.open(r,"_blank")}},t.createElement(Ls,null))}var W_,Y_,q_,G_,X_=function(e){var n=function(e,t){void 0===e&&(e=[]),void 0===t&&(t=[]);var n=e.map((function(e){return{name:e.label,value:e.options.map((function(e){return e.label})).join(", ")}})),r=t.map((function(e){var t=e.name,n=e.value,r="Date"===t?function(e,t,n){wd(2,arguments);var r=String(t),o=n||{},i=o.locale||Ad,a=i.options&&i.options.firstWeekContainsDate,c=null==a?1:bd(a),l=null==o.firstWeekContainsDate?c:bd(o.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var s=i.options&&i.options.weekStartsOn,u=null==s?0:bd(s),d=null==o.weekStartsOn?u:bd(o.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!i.localize)throw new RangeError("locale must contain localize property");if(!i.formatLong)throw new RangeError("locale must contain formatLong property");var p=xd(e);if(!Sd(p))throw new RangeError("Invalid time value");var f=Rd(p,Cd(p)),m={firstWeekContainsDate:l,weekStartsOn:d,locale:i,_originalDate:p};return r.match(yp).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,ep[t])(e,i.formatLong,m):e})).join("").match(vp).map((function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return Ep(n);var a=Kd[r];if(a)return!o.useAdditionalWeekYearTokens&&op(n)&&ip(n,t,e),!o.useAdditionalDayOfYearTokens&&rp(n)&&ip(n,t,e),a(f,n,i.localize,m);if(r.match(xp))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n})).join("")}(new Date(n),"dd MMMM yyyy"):n;return{name:t,value:r}}));return Sa(Sa([],n,!0),r,!0)}(e.metaproperties,e.textMetaproperties);return(null==n?void 0:n.length)?t.createElement(Vm.AdditionalInfo,null,t.createElement(K_,null,n.map((function(e){var n=e.name,r=e.value;return t.createElement(Z_,{key:n,"data-testid":"asset-card-metaproperty"},t.createElement(J_,null,n,":"),t.createElement(Q_,{title:r},r))})))):null},K_=Gl.dl(W_||(W_=_a(["\n\tcolor: rgba(0, 34, 51, 0.5);\n\tfont-size: ",";\n\tdisplay: flex;\n\tflex-direction: column;\n\tgrid-row-gap: 1px;\n\trow-gap: 1px;\n\tmargin: 0;\n"],["\n\tcolor: rgba(0, 34, 51, 0.5);\n\tfont-size: ",";\n\tdisplay: flex;\n\tflex-direction: column;\n\tgrid-row-gap: 1px;\n\trow-gap: 1px;\n\tmargin: 0;\n"])),If.fontSize75),Z_=Gl.div(Y_||(Y_=_a(["\n\tdisplay: flex;\n\tflex-wrap: wrap;\n"],["\n\tdisplay: flex;\n\tflex-wrap: wrap;\n"]))),J_=Gl.dt(q_||(q_=_a(["\n\tcolor: rgba(0, 34, 51, 0.3);\n\tpadding-right: 4px;\n\tmargin: 0;\n"],["\n\tcolor: rgba(0, 34, 51, 0.3);\n\tpadding-right: 4px;\n\tmargin: 0;\n"]))),Q_=Gl.dd(G_||(G_=_a(["\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tmargin: 0;\n"],["\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tmargin: 0;\n"])));function eI(e){var n,o,i=e.className,c=e.fadeIn,l=void 0===c||c,s=e.asset,u=e.isSelected,d=e.isOutlined,p=e.onClick,f=e.children,m=void 0===f?null:f,h=r(),g=h[0],v=h[1],y=r(),b=y[0],w=y[1],x=RS(),E=x.openDat,C=x.setTransformation,k=ky().theme,S=function(e){return[e.isArchived&&Hv("archived"),e.isWatermarked&&Hv("watermarked"),e.isLimitedUse&&Hv("limited")].filter((function(e){return e})).join(", ")}(s),_=V_(s);a((function(){var e,t=null===(e=s.metaproperties)||void 0===e?void 0:e.nodes.filter((function(e){return e.showInGridView||e.showInListView}));v(t)}),[s.metaproperties]),a((function(){var e,t=null===(e=s.textMetaproperties)||void 0===e?void 0:e.filter((function(e){return e.showInGridView||e.showInListView}));w(t)}),[s.textMetaproperties]);var I=function(e){void 0!==p&&(e.stopPropagation(),C(),p(s,e))};return t.createElement(oI,{id:s.id,theme:k,isOutlined:(u||d)&&void 0!==(null==k?void 0:k.colorPrimary),fadeIn:l,className:sy("group",i),"data-drag-select-id":s.id},t.createElement(Vm,{contextAction:t.createElement($_,{transformBaseUrl:null===(o=null===(n=s.files)||void 0===n?void 0:n.transformBaseUrl)||void 0===o?void 0:o.url,portalUrl:s.url,onOpenDAT:function(){var e,t;return E(null===(t=null===(e=s.files)||void 0===e?void 0:e.transformBaseUrl)||void 0===t?void 0:t.url,s)}}),selectButtonAriaLabel:Hv(u?"Deselect":"Select"),onSelect:I,onClick:I,isSelected:u,"aria-selected":u,"data-testid":"asset-card"},t.createElement(Vm.Frame,{icon:S?t.createElement(iI,{color:"black-alpha",limitWidth:!!_,"data-testid":"asset-tag"},t.createElement(_m,null,S)):void 0,"data-testid":"asset-type",badge:_},t.createElement(Vm.Images,null,U_(s)&&t.createElement(Vm.Img,{src:U_(s),alt:s.name,contentResize:"fit"}))),m,t.createElement(aI,{"data-testid":"asset-name"},s.name),t.createElement(X_,{metaproperties:g,textMetaproperties:b})))}var tI,nI,rI,oI=Gl.div(tI||(tI=_a(["\n\tmargin: ",";\n\twidth: 224px;\n\talign-self: flex-start;\n\tposition: relative;\n\t","\n\n\t--userComponentCardSelectedColor: ",";\n\t--userComponentCardSelectedColorHover: ",";\n\t--userComponentCardSelectedColorActive: ",";\n"],["\n\tmargin: ",";\n\twidth: 224px;\n\talign-self: flex-start;\n\tposition: relative;\n\t","\n\n\t--userComponentCardSelectedColor: ",";\n\t--userComponentCardSelectedColorHover: ",";\n\t--userComponentCardSelectedColorActive: ",";\n"])),If.spacing3,(function(e){return e.fadeIn?"animation: var(--fade-in-down);":""}),(function(e){var t=e.theme;return null==t?void 0:t.colorButtonPrimary}),(function(e){var t=e.theme;return null==t?void 0:t.colorButtonPrimaryHover}),(function(e){var t=e.theme;return null==t?void 0:t.colorButtonPrimaryActive})),iI=Gl(Bf)(nI||(nI=_a(["\n\t","\n"],["\n\t","\n"])),(function(e){return e.limitWidth&&"max-width: 142px;"})),aI=Gl.p(rI||(rI=_a(["\n\twidth: auto;\n\tmax-width: 100%;\n\theight: auto;\n\tline-height: 20px;\n\tmin-height: 20px;\n\tmax-height: 20px;\n\tpadding: var(--card-content-padding);\n\ttransition: all 200ms ease;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n\tbox-sizing: content-box;\n\n\t&:hover {\n\t\tmax-height: 80px;\n\t\tword-break: break-all;\n\t\twhite-space: normal;\n\t}\n"],["\n\twidth: auto;\n\tmax-width: 100%;\n\theight: auto;\n\tline-height: 20px;\n\tmin-height: 20px;\n\tmax-height: 20px;\n\tpadding: var(--card-content-padding);\n\ttransition: all 200ms ease;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n\tbox-sizing: content-box;\n\n\t&:hover {\n\t\tmax-height: 80px;\n\t\tword-break: break-all;\n\t\twhite-space: normal;\n\t}\n"])));function cI(e,t,n){var r=this,i=c(null),l=c(0),s=c(null),u=c([]),d=c(),p=c(),f=c(e),m=c(!0);f.current=e;var h=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var g=!!(n=n||{}).leading,v=!("trailing"in n)||!!n.trailing,y="maxWait"in n,b=y?Math.max(+n.maxWait||0,t):null;a((function(){return m.current=!0,function(){m.current=!1}}),[]);var w=o((function(){var e=function(e){var t=u.current,n=d.current;return u.current=d.current=null,l.current=e,p.current=f.current.apply(n,t)},n=function(e,t){h&&cancelAnimationFrame(s.current),s.current=h?requestAnimationFrame(e):setTimeout(e,t)},o=function(e){if(!m.current)return!1;var n=e-i.current,r=e-l.current;return!i.current||n>=t||n<0||y&&r>=b},a=function(t){return s.current=null,v&&u.current?e(t):(u.current=d.current=null,p.current)},c=function(){var e=Date.now();if(o(e))return a(e);if(m.current){var r=e-i.current,s=e-l.current,u=t-r,d=y?Math.min(u,b-s):u;n(c,d)}},w=function(){for(var a=[],f=0;f<arguments.length;f++)a[f]=arguments[f];var h=Date.now(),v=o(h);if(u.current=a,d.current=r,i.current=h,v){if(!s.current&&m.current)return l.current=i.current,n(c,t),g?e(i.current):p.current;if(y)return n(c,t),e(i.current)}return s.current||n(c,t),p.current};return w.cancel=function(){s.current&&(h?cancelAnimationFrame(s.current):clearTimeout(s.current)),l.current=0,u.current=i.current=d.current=s.current=null},w.isPending=function(){return!!s.current},w.flush=function(){return s.current?a(Date.now()):p.current},w}),[g,y,t,b,v,h]);return w}function lI(e,t){return e===t}function sI(e){return"function"==typeof e?function(){return e}:e}function uI(e,t,n){var o=n&&n.equalityFn||lI,i=function(e){var t=r(sI(e)),n=t[0],o=t[1];return[n,u((function(e){return o(sI(e))}),[])]}(e),l=i[0],s=i[1],d=cI(u((function(e){return s(e)}),[s]),t,n),p=c(e);return a((function(){o(p.current,e)||(d(e),p.current=e)}),[e,d,o]),[l,{cancel:d.cancel,isPending:d.isPending,flush:d.flush}]}var dI={x:null,y:null},pI=function(e){var n=e.dragContainer,o=e.selectionBoxCustomAttr,i=e.onSelect,l=e.onDeselect,s=e.onDragStart,d=e.onDragEnd,p=r(dI),f=p[0],m=p[1],g=r(dI),v=g[0],y=g[1],b=uI(v,10,{leading:!0,maxWait:10})[0],w=r(),x=w[0],E=w[1],C=Fa(),k=t.useMemo((function(){return mI(f,b,C.querySelector(".cv-root"))}),[f,b,C]),S=uI(k,50,{leading:!1,maxWait:50})[0],_=r([]),I=_[0],B=_[1],T=bI(I),N=c(f),D=c(v),z=c(null!==N.current.x&&null!==N.current.y&&null!==D.current.x&&null!==D.current.y),P=c({shiftKey:!1,metaKey:!1});a((function(){return document.addEventListener("keydown",O,!1),document.addEventListener("keyup",O,!1),function(){document.removeEventListener("keydown",O,!1),document.removeEventListener("keyup",O,!1)}}),[]);var O=function(e){var t=e.shiftKey,n=e.metaKey,r=t||n?"inverse":"select";P.current={shiftKey:t,metaKey:n},z.current&&r!==x&&E(r)};a((function(){var e;return"function"==typeof s&&z.current?(O(P.current),s(null!=x?x:"select")):"function"!=typeof d||z.current||(e=setTimeout((function(){return d(null!=x?x:"select")}),10)),function(){return clearTimeout(e)}}),[z.current,x]);var A=function(e){N.current=e,m(e),M()},R=function(e){D.current=e,y(e),M()},M=function(){z.current=null!==N.current.x&&null!==N.current.y&&null!==D.current.x&&null!==D.current.y},F=u((function(e){var t,n,r=e.clientY,o=e.clientX,i=null!==N.current.x,a=Math.abs(null!==(t=N.current.x)&&void 0!==t?t:0-o)>=1||Math.abs(null!==(n=N.current.y)&&void 0!==n?n:0-r)>=1;i&&a&&R({x:o,y:r})}),[]),L=u((function(){C.removeEventListener("mousemove",F),C.removeEventListener("mouseup",L),A(dI),R(dI)}),[F,C]),j=u((function(e){var t=e.clientY,n=e.clientX;0===e.button&&(C.addEventListener("mousemove",F),C.addEventListener("mouseup",L),A({x:n,y:t}))}),[F,L,C]);a((function(){var e=C.querySelector(n);return e&&(vI(C),e.addEventListener("mousedown",j)),function(){e&&(e.removeEventListener("mousedown",j),yI(C))}}),[n,j,F,L,C]),a((function(){var e=C.querySelectorAll("[".concat("data-drag-select-id","]")),t=Array.from(e).reduce((function(e,t){var n=gI(t);return t instanceof HTMLElement&&hI(n,S)&&t.dataset.dragSelectId&&e.push(t.dataset.dragSelectId),e}),[]);B(t)}),[S,C]),a((function(){if(T&&T!==I&&z.current){var e=I.filter((function(e){return!T.includes(e)})),t=T.filter((function(e){return!I.includes(e)}));e.length&&i(e),t.length&&l(t)}}),[I,T,i,l,z]);var H=C.querySelector("#".concat("drag-select-container"));return z.current&&H?h.createPortal(t.createElement("div",xa({},o,{style:o.style?xa(xa(xa({},fI),o.style),k):xa(xa({},fI),k),"data-testid":"drag-selection"})),H):null},fI={position:"absolute",zIndex:100},mI=function(e,t,n){if(!(e.x&&e.y&&t.x&&t.y&&n))return{left:0,top:0,height:0,width:0};var r=n.getBoundingClientRect(),o=Math.max(t.x,0),i=Math.min(e.x,o);i=Math.max(i,r.left+4);var a=Math.min(e.y,t.y),c=Math.abs(t.y-e.y),l=Math.abs(o-e.x),s=r.width+r.left-i-4;return{left:i,top:a,height:c,width:l=Math.min(l,s)}},hI=function(e,t){return e.left<=t.left+t.width&&e.left+e.width>=t.left&&e.top<=t.top+t.height&&e.top+e.height>=t.top},gI=function(e){var t=e.getBoundingClientRect();return{left:t.left,top:t.top+window.scrollY,height:t.height,width:t.width}},vI=function(e){var t=document.createElement("div");t.id="drag-select-container",e.appendChild(t)},yI=function(e){var t=e.querySelector("#".concat("drag-select-container"));t&&t.remove()},bI=function(e){var t=c();return a((function(){t.current=e})),t.current};function wI(e){var n,o=e.assets,i=e.count,a=e.hasNextPage,l=void 0!==a&&a,s=e.isLoading,u=void 0!==s&&s,d=e.loadMore,p=void 0===d?function(){}:d,f=e.onSelect,m=void 0===f?function(){}:f,h=e.onToggle,g=void 0===h?function(){}:h,v=e.emptyStateElement,y=void 0===v?null:v,b=e.selectedAssetIds,w=void 0===b?[]:b,x=e.selectionMode,E=void 0===x?"MultiSelect":x,C=e.theme,k=e.children,S=void 0===k?null:k,_=c(null),I=WS(_.current).dimensions,B=r([]),T=B[0],N=B[1],D=r("inactive"),z=D[0],P=D[1],O=function(e,t){if(void 0!==e)return[1,e];if(!t)return[0,0];return[Math.ceil(t.height/188),Math.round((t.width-16)/208)]}(i,I),A=O[0],R=O[1];function M(e){return("inverse"!==z||!w.includes(e.id)||!T.includes(e.id))&&(w.includes(e.id)||T.includes(e.id))}return t.createElement("div",{className:"flex flex-col flex-grow overflow-y-auto",ref:_,"data-drag-select-container":!0},S,t.createElement("div",{className:"card-list",role:"listbox"},"Loading"===o.tag&&!o.value&&t.createElement(wy,{rows:A,columns:R}),"Loaded"===o.tag&&0===o.value.length&&y,("Loading"===o.tag&&o.value||"Loaded"===o.tag)&&t.createElement(t.Fragment,null,"MultiSelect"===E&&t.createElement(pI,{dragContainer:"[data-drag-select-container]",selectionBoxCustomAttr:{className:"rounded border-2 border-brand-500",style:{zIndex:1e6,borderColor:null==C?void 0:C.colorPrimary}},onSelect:function(e){N((function(t){return Sa(Sa([],t,!0),e,!0)}))},onDeselect:function(e){N((function(t){return t.filter((function(t){return!e.includes(t)}))}))},onDragStart:function(e){P(e)},onDragEnd:function(e){if(P("inactive"),T.length){var t=[];T.forEach((function(e){var n=function(e){var t;if("Loading"!==o.tag||o.value)return null===(t=o.value)||void 0===t?void 0:t.find((function(t){return e===t.id}))}(e);n&&t.push(n)})),"inverse"===e?g(t):m(t),N([])}}}),t.createElement(i_,{hasNextPage:l,isLoading:u,loadMore:p},null===(n=o.value)||void 0===n?void 0:n.map((function(e,n){return t.createElement(eI,{key:e.id,isSelected:M(e),isOutlined:M(e),asset:e,fadeIn:n>=A*R,onClick:function(e,t){return function(e,t){var n,r,i;if(t.shiftKey&&"MultiSelect"===E&&(null===(n=o.value)||void 0===n?void 0:n.length)){var a=o.value.findIndex((function(t){return t.id===e.id})),c=null===(r=o.value)||void 0===r?void 0:r.findIndex((function(e){return e.id===w[w.length-1]}));-1===c&&(c=0),m(c<a?null===(i=o.value)||void 0===i?void 0:i.slice(c,a+1):o.value.slice(a,c+1))}else g([e])}(e,t)}})}))))))}function xI(e){var n,r,o,i,c=e.connection,l=c.data,s=c.isLoading,u=c.loadMore,d=c.hasNextPage,p=c.executeQuery,f=Pa().setIsLoading,m=ky(),h=VS().selection.filter((function(e){return"asset"===e.type})).map((function(e){return e.value.id})),g=VS(),v=g.selectAssets,y=g.toggleAssets,b=Pa().setSearch,w=__();if(a((function(){s||f(!1)}),[s]),"Failure"===l.tag)return t.createElement(iy,{error:new Error(l.value),onRetry:p});var x=null!==(i=null===(o=null===(r=null===(n=l.value)||void 0===n?void 0:n.searchAssets)||void 0===r?void 0:r.assets)||void 0===o?void 0:o.totalCount)&&void 0!==i?i:e.totalCount;return t.createElement(wI,{assets:EI(l),count:x,isLoading:s,loadMore:u,hasNextPage:d,theme:m.theme,selectionMode:m.selectionMode,selectedAssetIds:h,onSelect:v,onToggle:y,emptyStateElement:t.createElement(c_,{onReset:function(){w.clear(),b("assets",""),b("collection","")}})},t.createElement("div",{className:"flex justify-between items-center px-4 pt-4 pb-2 z-10"},void 0!==x&&t.createElement("span",{className:"flex-shrink-0 text-body-400 fade-in-down",key:x},yy(x,Hv("{} asset"),Hv("{} assets"))),e.showActiveFilters&&t.createElement(F_,null),t.createElement(hy,null),t.createElement(ay,null)))}function EI(e){var t;return"Loading"!==e.tag||e.value?"Loading"===e.tag?{tag:e.tag,value:null===(t=e.value)||void 0===t?void 0:t.searchAssets.assets.nodes}:{tag:e.tag,value:e.value.searchAssets.assets.nodes}:{tag:"Loading",value:void 0}}function CI(e){var n=Oa("collection").value,r=Ta()[1],o=ba("collection")[0],i=ky(),a=i.assetTypes,c=i.language,l=zb({collection:e.collection,allAssetTypes:a,searchTerm:n,orderBy:o,language:c});return t.createElement(t.Fragment,null,t.createElement("nav",{className:"px-4 py-4","data-testid":"collection-toolbar"},t.createElement("button",{className:"text-body-400 select-none cursor-pointer",onClick:function(){return r({page:"collections"})},type:"button"},Hv("Collections")," / "),t.createElement("span",null," ",e.collection.name," ")),t.createElement(xI,{connection:l,totalCount:e.collection.assetCount}))}var kI,SI,_I,II,BI=Gl(Xm)(kI||(kI=_a(["\n\twidth: 100%;\n\tfont-size: ",";\n\talign-items: center;\n\tcursor: ",";\n\n\tdiv:last-of-type {\n\t\tflex-grow: 1;\n\t}\n"],["\n\twidth: 100%;\n\tfont-size: ",";\n\talign-items: center;\n\tcursor: ",";\n\n\tdiv:last-of-type {\n\t\tflex-grow: 1;\n\t}\n"])),If.fontSize75,(function(e){return e.isLoading&&!e.isChecked?"wait":"pointer"})),TI=Gl.li(SI||(SI=_a(["\n\tpadding: "," ",";\n\n\t&:hover {\n\t\tbackground-color: ",";\n\t}\n"],["\n\tpadding: "," ",";\n\n\t&:hover {\n\t\tbackground-color: ",";\n\t}\n"])),If.spacing2,If.spacing5,If.gray25),NI=Gl.div(_I||(_I=_a(["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tcolor: ",";\n"],["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tcolor: ",";\n"])),(function(e){return e.isChecked?"inherit":If.gray500})),DI=Gl.span(II||(II=_a(["\n\tmargin: 1px "," 1px 0;\n\tflex-grow: 1;\n\tmax-width: 124px;\n"],["\n\tmargin: 1px "," 1px 0;\n\tflex-grow: 1;\n\tmax-width: 124px;\n"])),If.spacing4);function zI(e){var n=void 0!==e.selectedOptionIds&&e.selectedOptionIds.includes(e.metapropertyOption.id);return t.createElement(TI,null,t.createElement(BI,{isChecked:n,onChange:function(){n?e.onRemoveOption():e.isLoading||e.onAddOption()},"data-testid":"metaproperty-option",isLoading:e.isLoading},t.createElement(NI,{isChecked:n},t.createElement(DI,{title:e.metapropertyOption.label},t.createElement(_m,null,e.metapropertyOption.label)),t.createElement("span",{className:"fade-in-down"},e.metapropertyOption.assetCount))))}function PI(e){return t.createElement(RI,{"data-testid":"metaproperty-filter-content"},t.createElement("h1",{className:"mb-2 px-4 truncate",title:e.metaproperty.label},e.metaproperty.label),t.createElement(MI,null,e.metaproperty.options.map((function(n){return t.createElement(zI,{key:n.id,metapropertyOption:n,selectedOptionIds:e.selectedOptionIds,isLoading:e.isLoading,onAddOption:function(){return e.onAddOption(n)},onRemoveOption:function(){return e.onRemoveOption(n)}})}))))}var OI,AI,RI=Gl.div(OI||(OI=_a(["\n\tpadding-top: ",";\n\twidth: 224px;\n"],["\n\tpadding-top: ",";\n\twidth: 224px;\n"])),If.spacing5),MI=Gl.ul(AI||(AI=_a(["\n\tmax-height: 400px;\n\toverflow-y: auto;\n\tpadding-bottom: 4px;\n\twidth: 100%;\n"],["\n\tmax-height: 400px;\n\toverflow-y: auto;\n\tpadding-bottom: 4px;\n\twidth: 100%;\n"])));function FI(e){return t.createElement(jI,null,e.smartfilter.metaproperties.map((function(n){return t.createElement(PI,{key:n.id,metaproperty:n,selectedOptionIds:e.selectedOptionIds,isLoading:e.isLoading,onAddOption:e.onAddOption,onRemoveOption:e.onRemoveOption})})))}var LI,jI=Gl.div(LI||(LI=_a(["\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: ",";\n\toverflow: auto;\n"],["\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: ",";\n\toverflow: auto;\n"])),If.spacing4);function HI(e){var n,r,o=__(),i=o.metaproperties.map((function(e){return e.id})),a=(n=e.metapropertyFilters.filter((function(e){return"Metaproperty"===e.__typename||0!==e.metaproperties.length})),r=function(e){return"Metaproperty"===e.__typename?1e4:e.zIndex},Sa([],n,!0).sort((function(e,t){return r(e)-r(t)})));return t.createElement(t.Fragment,null,a.map((function(n){return t.createElement(dy,{key:n.id,title:t.createElement(UI,{filter:n}),alt:n.label,isSmall:!0,fadeIn:!0},(function(){return t.createElement(t.Fragment,null,e.isLoading&&t.createElement(gb,{className:"absolute top-0 right-0 mr-2 mt-3 bg-ui-0"}),"Metaproperty"===n.__typename?t.createElement(PI,{metaproperty:n,selectedOptionIds:i,isLoading:e.isLoading,onAddOption:o.addMetaproperty,onRemoveOption:o.removeMetaproperty}):t.createElement(FI,{smartfilter:n,selectedOptionIds:i,isLoading:e.isLoading,onAddOption:o.addMetaproperty,onRemoveOption:o.removeMetaproperty}))}))})))}function UI(e){var n=e.filter;return t.createElement(t.Fragment,null,"Smartfilter"===n.__typename&&n.icon&&t.createElement("i",{className:sy("fa fa-lg mr-2",n.icon)}),t.createElement("span",{className:"max-w-24 truncate","data-testid":"metaproperty-filter"},n.label))}function VI(e){var n=__(),r=n.tags.includes(e.tag.name),o=sy("mb-2 mr-2",r&&"bg-ui-500",e.isLoading&&!r?"cursor-default":"cursor-pointer");return t.createElement(R_,{key:e.tag.id,className:o,onClick:function(){r?n.removeTag(e.tag.name):e.isLoading||n.addTag(e.tag.name)},"data-testid":"tag-item"},t.createElement("span",{className:"max-w-32 truncate"},e.tag.name),t.createElement("span",{className:"text-body-400 ml-2"},e.tag.assetCount))}function $I(e){var n=Sa([],e.tags,!0).sort((function(e,t){return t.assetCount-e.assetCount}));return t.createElement(dy,{title:t.createElement(WI,null),className:"pt-4 pb-1 overflow-hidden max-w-600",isSmall:!0,fadeIn:!0},(function(){return t.createElement(t.Fragment,null,e.isLoading&&t.createElement(gb,{className:"absolute top-0 right-0 mr-2 mt-3 bg-ui-0"}),t.createElement("h1",{className:"px-4 mb-4"}," ",Hv("Tags")," "),t.createElement("div",{className:"flex flex-wrap px-4 -mr-2"},n.map((function(n){return t.createElement(VI,{key:n.id,tag:n,isLoading:e.isLoading})}))))}))}function WI(){return t.createElement(t.Fragment,null,t.createElement(Os,{className:"mr-2 inline w-6 h-6"}),t.createElement("span",{"data-testid":"tags-filter"},Hv("Tags")))}function YI(e){var n=__(),r=n.assetTypes.includes(e.type),o=B_(e.type);return t.createElement(TI,{"data-testid":"advanced-options"},t.createElement(BI,{isChecked:r,onChange:function(){r?n.removeAssetType(e.type):n.addAssetType(e.type)},isLoading:e.isLoading,"data-testid":"".concat(I_(e.type),"-filter")},t.createElement(NI,{isChecked:r},t.createElement(o,null),t.createElement(GI,null,I_(e.type)),t.createElement("span",{className:"fade-in-down"},e.count))))}var qI,GI=Gl.div(qI||(qI=_a(["\n\tmargin: 1px ",";\n\tflex-grow: 1;\n"],["\n\tmargin: 1px ",";\n\tflex-grow: 1;\n"])),If.spacing3);function XI(e){var n=ky().assetTypes,r=n.filter((function(t){return ZI(e.count,t)>0}));return 0===n.length||0===r.length?null:t.createElement(dy,{title:t.createElement(KI,null),className:"pt-4 pb-1",isSmall:!0,fadeIn:!0},(function(){return t.createElement(t.Fragment,null,e.isLoading&&t.createElement(gb,{className:"absolute top-0 right-0 mr-2 mt-3 bg-ui-0"}),t.createElement("h1",{className:"px-4 mb-4"},Hv("Type")),t.createElement("ul",null,r.map((function(n){return t.createElement(YI,{key:n,type:n,count:ZI(e.count,n),isLoading:e.isLoading})}))))}))}function KI(){return t.createElement(t.Fragment,null,t.createElement(Eu,{className:"mr-2 inline w-6 h-6"}),Hv("Advanced"))}function ZI(e,t){switch(t){case"AUDIO":return e.audio;case"DOCUMENT":return e.document;case"IMAGE":return e.image;case"VIDEO":return e.video;case"ARCHIVE":return e.archive}}function JI(){var e=__(),n=Oa("assets").value,o=ky(),i=o.assetTypes,c=o.language;Vv(c);var l=function(e){var t=this,n=Tb(),o=r({tag:"Loading",value:null}),i=o[0],c=o[1],l=!1;return a((function(){return Ca(t,void 0,void 0,(function(){var t,r,o,i,a,s;return ka(this,(function(u){switch(u.label){case 0:return c((function(e){return{tag:"Loading",value:"Failure"===e.tag?null:e.value}})),t=e.filter,r=e.searchTerm,o=e.allAssetTypes,i=e.language,[4,Py("\nquery searchAssets($filter: AssetFilter!, $language: String!) {\n searchAssets(filter: $filter) {\n tags {\n nodes {\n id\n name\n assetCount\n }\n }\n metapropertyFilters {\n nodes {\n __typename\n ... on Smartfilter {\n id\n label(language: $language)\n metaproperties {\n id\n label(language: $language)\n options {\n id\n label(language: $language)\n assetCount\n }\n }\n icon\n zIndex\n }\n ... on Metaproperty {\n id\n label(language: $language)\n options {\n id\n label(language: $language)\n assetCount\n }\n }\n }\n }\n count {\n assetType {\n image\n video\n audio\n document\n archive\n }\n }\n }\n }",{filter:{assetType_in:null!==(s=t.assetTypes)&&void 0!==s?s:o,collectionId:null,metapropertyOptionId_in:t.metaproperties.map((function(e){return e.id})),searchTerm:r,tagNames_in:t.tags,isLimitedUse:t.isLimited},language:i},n)];case 1:return a=u.sent(),l||(Ty(a)?c({tag:"Failure",value:a.error}):c({tag:"Loaded",value:a.value})),[2]}}))})),function(){l=!0}}),[e.filter.assetTypes,e.filter.metaproperties,e.filter.tags,e.searchTerm]),{data:i,isLoading:"Loading"===i.tag}}({filter:e,searchTerm:n||null,allAssetTypes:i,language:c}),s=l.data,u=l.isLoading;if("Failure"===s.tag||!s.value)return t.createElement("nav",{className:"flex justify-between bg-ui-0 px-4 py-2 z-20"},t.createElement(QI,null));var d=s.value.searchAssets,p=d.metapropertyFilters,f=d.tags,m=d.count;return t.createElement("nav",{className:"flex justify-between bg-ui-0 px-4 py-2 z-20","data-testid":"filter-nav"},t.createElement(A_,{className:"h-8"},p&&p.nodes.length>0&&t.createElement(HI,{metapropertyFilters:p.nodes,isLoading:u}),f&&f.nodes.length>0&&t.createElement($I,{tags:f.nodes,isLoading:u}),t.createElement(XI,{isLoading:u,count:m.assetType})))}function QI(){return t.createElement("div",{className:"inline-flex items-center"},t.createElement(by,{className:"h-4 ml-2 mr-2 my-2",width:100}),t.createElement(by,{className:"h-4 ml-2 mr-2 my-2",width:80}),t.createElement(by,{className:"h-4 ml-2 mr-2 my-2",width:110}))}var eB,tB,nB=Yl(tB||(tB=_a(["",""],["",""])),Nl(eB||(eB=_a(["\n\t.cv-root {\n\t\t","\n\t}:\n"],["\n\t.cv-root {\n\t\t","\n\t}:\n"])),(function(e){return function(e){var t=function(e){var t,n;return{"--componentButtonPrimaryBorderHover":null==e?void 0:e.colorButtonPrimaryHover,"--componentButtonPrimaryBorderActive":null!==(t=null==e?void 0:e.colorButtonPrimaryActive)&&void 0!==t?t:null==e?void 0:e.colorButtonPrimaryHover,"--componentButtonPrimaryBorderFocus":null==e?void 0:e.colorButtonPrimary,"--componentButtonPrimaryColor":null==e?void 0:e.colorButtonPrimaryLabel,"--componentButtonPrimaryColorHover":null==e?void 0:e.colorButtonPrimaryHoverLabel,"--componentButtonPrimaryColorActive":null==e?void 0:e.colorButtonPrimaryLabel,"--componentButtonPrimaryColorFocus":null==e?void 0:e.colorButtonPrimaryLabel,"--componentButtonPrimaryColorDisabled":null==e?void 0:e.colorButtonPrimaryLabel,"--componentButtonPrimaryFill":null==e?void 0:e.colorButtonPrimary,"--componentButtonPrimaryFillHover":null==e?void 0:e.colorButtonPrimaryHover,"--componentButtonPrimaryFillActive":null!==(n=null==e?void 0:e.colorButtonPrimaryActive)&&void 0!==n?n:null==e?void 0:e.colorButtonPrimaryHover,"--componentButtonPrimaryFillFocus":null==e?void 0:e.colorButtonPrimary}}(e),n=Object.entries(t).map((function(e){return e.join(":")}));return n.join(";")+";"}(e.theme)})));function rB(){var e=Ta()[0],n=Oa(e.page),o=n.value,i=n.isLoading,c=cI(n.setSearch,500),l=r(o),s=l[0],u=l[1];a((function(){u(o)}),[e,o]),a((function(){return function(){c.flush()}}),[e,c]);var d="collections"===e.page?Hv("Search for collections"):Hv("Search for assets");return t.createElement(iB,{value:s,placeholder:d,"aria-label":d,onChange:function(e){return u(t=e),void c(t);var t},"data-testid":"search-input",icon:t.createElement(Hs,null),iconRight:i?t.createElement("div",{role:"alert","aria-live":"polite"},t.createElement(gb,{className:"relative right-0"})):void 0,hasClearButton:!i&&!!o})}var oB,iB=Gl(Nh)(oB||(oB=_a(["\n\twidth: 100%;\n\tmax-width: 440px;\n"],["\n\twidth: 100%;\n\tmax-width: 440px;\n"])));function aB(){var e=Ta(),n=e[0],r=e[1];return t.createElement(lB,null,t.createElement(Xf,{isPressed:"assets"===n.page,variant:"clean",onClick:function(){return r({page:"assets"})}},Hv("Assets")),t.createElement(Xf,{isPressed:"collections"===n.page,variant:"clean",onClick:function(){return r({page:"collections"})}},Hv("Collections")))}var cB,lB=Gl.div(cB||(cB=_a(["\n\tdisplay: inline-flex;\n\tmargin-right: auto;\n\tgap: ",";\n"],["\n\tdisplay: inline-flex;\n\tmargin-right: auto;\n\tgap: ",";\n"])),If.spacing2);function sB(){var e,n="authenticated"===(null===(e=i(_b))||void 0===e?void 0:e.status)||!1,r=nb(),o=Tb(),a=void 0!==ky().assetFilter;return n||r||!a?t.createElement(pB,null,!a&&t.createElement(t.Fragment,null,t.createElement(aB,null),t.createElement(rB,null)),t.createElement(fB,null,n&&!(null==o?void 0:o.hideLogout)&&t.createElement(Xf,{variant:"clean",onClick:function(){return null==o?void 0:o.logout()},rightIcon:t.createElement(zs,null)},Hv("Log out")),r&&t.createElement(Xf,{variant:"clean",onClick:function(){return r.onClose()},title:Hv("Close"),icon:t.createElement(Bu,null)}))):null}var uB,dB,pB=Gl.nav(uB||(uB=_a(["\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tbackground: ",";\n\tpadding: "," ",";\n\tz-index: 30;\n"],["\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tbackground: ",";\n\tpadding: "," ",";\n\tz-index: 30;\n"])),If.gray10,If.spacing5,If.spacing4),fB=Gl.div(dB||(dB=_a(["\n\tdisplay: inline-flex;\n\tmargin-left: auto;\n"],["\n\tdisplay: inline-flex;\n\tmargin-left: auto;\n"])));function mB(){var e=__(),n=e.assetTypes,r=e.metaproperties,o=e.tags,i=e.isLimited,a=Oa("assets").value,c=ba("assets")[0],l=ky(),s=l.assetFilter,u=l.assetTypes,d=l.language,p=zb(void 0===s?{filter:{assetTypes:n,metaproperties:r,tags:o,isLimited:i},searchTerm:a,orderBy:c,allAssetTypes:u,language:d}:{predefinedFilter:s,orderBy:c,language:d});return t.createElement(xI,{connection:p,showActiveFilters:void 0===s})}function hB(e,t,n){return void 0===n&&(n="\n id\n name\n description\n databaseId\n createdAt\n originalUrl\n publishedAt\n tags\n type\n updatedAt\n url\n extensions\n metaproperties {\n nodes {\n name\n type\n options {\n name\n displayLabel\n }\n }\n }\n textMetaproperties {\n name\n value\n }\n derivatives {\n thumbnail\n webImage\n }\n ... on Video {\n previewUrls\n }\n"),Ca(this,void 0,void 0,(function(){var r;return ka(this,(function(o){switch(o.label){case 0:return[4,Py("\n fragment AddMediaAsset on Asset {\n ".concat(n,"\n }\n\n query getAssetById($id: ID!) {\n node(id: $id) {\n __typename\n id\n ...on Asset {\n ...AddMediaAsset\n files\n }\n }\n }"),{id:e},t)];case 1:return Ty(r=o.sent())?[2,r]:[2,_y(r.value.node)]}}))}))}function gB(e){return e.replace(/([a-z0-9])([A-Z])/g,(function(e,t,n){return"".concat(t," ").concat(n)}))}function vB(e){var n=e.asset,o=e.onChange,i=r({status:"Loading"}),c=i[0],l=i[1],s=Tb(),u=ky().assetFieldSelection,d=RS().transformation;function p(e){l((function(t){return"Data"!==t.status?t:("Custom transformation"===e&&d?setTimeout((function(){return o({url:null==d?void 0:d.url})})):setTimeout((function(){return o(t.files[e])})),xa(xa({},t),{key:e}))}))}return a((function(){var e,t;(null==d?void 0:d.url)&&"Data"===c.status&&p(d.url!==(null===(t=null===(e=c.files)||void 0===e?void 0:e.transformBaseUrl)||void 0===t?void 0:t.url)?"Custom transformation":"transformBaseUrl")}),[d]),a((function(){l({status:"Loading"}),o(void 0),function(e,t,n){return Ca(this,void 0,void 0,(function(){var r;return ka(this,(function(o){switch(o.label){case 0:return[4,hB(e.id,t,n)];case 1:return By(r=o.sent())&&r.value.files?[2,_y(Dy(r.value.files))]:[2,Iy("Error retrieving asset files")]}}))}))}(n,s,u).then((function(e){if(Ty(e))return Aa.error(e.error),void l({status:"Failure"});var t=e.value,n=function(e){return"transformBaseUrl"in e?"transformBaseUrl":"original"in e?"original":"webImage"}(t);l({status:"Data",files:t,key:n}),o(t[n])}))}),[n.id,s,u]),t.createElement(xB,null,t.createElement(dy,{title:t.createElement(yB,{state:c}),buttonKind:"secondary",className:"py-2",direction:"Up",disabled:"Loading"===c.status},(function(e){var r,o;return"Data"===c.status&&t.createElement("ul",{className:"overflow-y-auto pb-1 max-h-400"},Object.entries(c.files).map((function(n){var r,o=n[0],i=n[1];return t.createElement(my,{key:o,className:"px-3 py-2",selected:c.key===o,onClick:function(){p(o),e()}},t.createElement("div",{className:"w-10 h-10 mr-3 bg-ui-500 rounded flex items-center\n\t\t\t\t\t\t\t\t\t\t\t\t\tjustify-center font-semibold text-body-400 text-xs\n\t\t\t\t\t\t\t\t\t\t\t\t\tuppercase","data-testid":"file-extension"},"transformBaseUrl"===o?t.createElement(Ns,{className:"w-6 h-6"}):null!==(r=function(e){if(e){var t=function(e){var t=e.match(/filename=(.*?)&/);if(t){var n=/(?:\.([^.]+))?$/.exec(t[1]);if(n&&n[1])return n[1]}}(e);return t||function(e){var t=e.split("/"),n=t[t.length-1].split(".");if(!(n.length<=1)){var r=n[n.length-1],o=r.indexOf("?");return-1!==o?r.substring(0,o):r}}(e)}}(i.url))&&void 0!==r?r:t.createElement(ru,{className:"w-6 h-6"})),t.createElement("div",{className:"flex-grow w-40"},t.createElement("div",{className:"capitalize text-body-500 truncate"},gB(o)),t.createElement("div",{className:"text-sm"},i.width&&i.height&&"".concat(i.width," x ").concat(i.height," px"),i.width&&i.height&&i.fileSize&&t.createElement("span",{className:"mx-2"},"•"),i.fileSize&&function(e){if(e<1)return"0 Bytes";var t=Math.floor(Math.log(e)/Math.log(1024)),n=(e/Math.pow(1024,t)).toFixed(1),r={0:"Bytes",1:"kB",2:"MB",3:"GB",4:"TB",5:"PB",6:"EB",7:"ZB",8:"YB"}[t];return"".concat(n," ").concat(r)}(i.fileSize))))})),t.createElement(MS,{transformBaseUrl:null===(o=null===(r=c.files)||void 0===r?void 0:r.transformBaseUrl)||void 0===o?void 0:o.url,toggleDropdown:e,asset:n}))})))}function yB(e){var n=e.state;return"Loading"===n.status?t.createElement(by,{width:50,className:"h-4"}):"Data"===n.status?t.createElement(EB,null,"Custom transformation"===n.key&&t.createElement(mu,null),gB(n.key)):t.createElement(t.Fragment,null,"Error")}var bB,wB,xB=Gl.div(bB||(bB=_a(["\n\tmargin-right: ",";\n\ttext-transform: capitalize;\n"],["\n\tmargin-right: ",";\n\ttext-transform: capitalize;\n"])),If.spacing5),EB=Gl.div(wB||(wB=_a(["\n\tdisplay: flex;\n\tgap: ",";\n\talign-items: center;\n"],["\n\tdisplay: flex;\n\tgap: ",";\n\talign-items: center;\n"])),If.spacing4);function CB(e){var n=e.status,r=e.numberOfSelectedItems;return"Done"===n?t.createElement(Su,{"data-testid":"check"}):"Error"===n?t.createElement(t.Fragment,null,Hv("Retry")):t.createElement(t.Fragment,null,yy(r,Hv("Add asset"),Hv("Add assets")))}function kB(e){var n,o=ky(),i=o.assetFieldSelection,l=o.onSuccess,s=o.selectionMode,u=VS().preselectedAssetIds,d=Tb(),p=c(!0),f=r("SingleSelectFile"===s?{status:"WaitingForFileSelection"}:{status:"Ready"}),m=f[0],h=f[1];function g(e,t){if(Ty(e))h({status:"Error"});else{try{var n=Array.isArray(e.value)?e.value:[e.value];n.sort((function(e,t){return function(e,t,n){return n?!n.includes(e.id)&&n.includes(t.id)?1:n.includes(e.id)&&!n.includes(t.id)?-1:n.indexOf(e.id)-n.indexOf(t.id):0}(e,t,u)})),l(n,{selectedFile:t})}catch(e){Aa.error(e)}p.current&&(h({status:"Done"}),setTimeout((function(){p.current&&h({status:"Ready"})}),2e3))}}return a((function(){return function(){p.current=!1}}),[]),t.createElement(t.Fragment,null,"SingleSelectFile"===s&&"asset"===(null===(n=e.selection[0])||void 0===n?void 0:n.type)&&t.createElement(vB,{asset:e.selection[0].value,onChange:function(e){h(void 0===e?{status:"WaitingForFileSelection"}:{status:"ReadyWithFile",file:e})}}),t.createElement(Xf,{variant:"primary",isDisabled:"Loading"===m.status||"WaitingForFileSelection"===m.status,onClick:function(){var t,n="ReadyWithFile"===m.status?m.file:void 0;h({status:"Loading"}),"MultiSelect"!==s&&"asset"===(null===(t=e.selection[0])||void 0===t?void 0:t.type)?hB(e.selection[0].value.id,d,i).then((function(e){g(e,n)})):function(e,t,n){return void 0===n&&(n="\n id\n name\n description\n databaseId\n createdAt\n originalUrl\n publishedAt\n tags\n type\n updatedAt\n url\n metaproperties {\n nodes {\n name\n type\n options {\n name\n displayLabel\n }\n }\n }\n textMetaproperties {\n name\n value\n showInGridView\n showInListView\n }\n derivatives {\n thumbnail\n webImage\n }\n ... on Video {\n previewUrls\n }\n"),Ca(this,void 0,void 0,(function(){var r,o,i,a,c,l,s,u,d,p,f,m,h,g;return ka(this,(function(v){switch(v.label){case 0:return r="\n fragment AddMediaAsset on Asset {\n ".concat(n,"\n }\n\n query getAssetsById($ids: [ID!]!, $collectionCount: Int) {\n nodes(ids: $ids) {\n __typename\n id\n ...on Asset {\n ...AddMediaAsset\n files\n }\n ...on Collection {\n assets(first: $collectionCount) {\n nodes {\n __typename\n id\n ...AddMediaAsset\n files\n }\n }\n }\n }\n }"),o=e.filter((function(e){return"collection"===e.type})).map((function(e){return e.value.assetCount})),i=o.reduce((function(e,t){return e+t}),0),a={ids:e.map((function(e){return e.value.id})),collectionCount:i},[4,Py(r,a,t)];case 1:if(Ty(c=v.sent()))return[2,c];for(l=[],s=0,u=c.value.nodes;s<u.length;s++)"Collection"===(d=u[s]).__typename?l.push.apply(l,d.assets.nodes):l.push(d);for(p=new Set,f=[],m=0,h=l;m<h.length;m++)g=h[m],p.has(g.id)||(f.push(g),p.add(g.id));return[2,_y(f)]}}))}))}(e.selection,d,i).then((function(e){g(e,n)}))},"data-testid":"add-button",isLoading:"Loading"===m.status},t.createElement(CB,{status:m.status,numberOfSelectedItems:e.selection.length})))}function SB(e){var n=e.title,r=e.onRemove,o=e.children;return t.createElement("li",{className:"flex flex-1 h-12 border-b last:border-b-0 pl-3 pr-5 py-1 items-center group relative",title:n},t.createElement(BI,{"aria-label":Hv("Deselect"),isChecked:!0,onChange:r,"data-testid":"metaproperty-option"},t.createElement(IB,null,o)))}var _B,IB=Gl.span(_B||(_B=_a(["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tfont-size: ",";\n"],["\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tfont-size: ",";\n"])),If.fontSize100);function BB(e){var n=e.asset,r=VS();return t.createElement(SB,{title:n.name,onRemove:function(){return r.toggleAssets([n])}},t.createElement(NB,{variant:"content",imageUrl:U_(n),size:"m"}),t.createElement("span",{className:"w-40 mr-2 truncate"},n.name),V_(n)&&t.createElement("span",{className:"flex-grow text-body-400 text-sm text-right"},V_(n)))}var TB,NB=Gl(wg)(TB||(TB=_a(["\n\tmargin-right: ",";\n\tmax-width: 40px;\n"],["\n\tmargin-right: ",";\n\tmax-width: 40px;\n"])),If.spacing4);function DB(e){var n=e.collection,r=VS();return t.createElement(SB,{title:n.name,onRemove:function(){return r.toggleCollection(n)}},t.createElement(PB,{variant:"clean",icon:t.createElement(bu,null)}),t.createElement("span",{className:"w-40 mr-2 truncate"},n.name),t.createElement("span",{className:"flex-grow text-body-400 text-sm text-right"},yy(n.assetCount,Hv("{} asset"),Hv("{} assets"))))}var zB,PB=Gl(wg)(zB||(zB=_a(["\n\tmargin-right: ",";\n"],["\n\tmargin-right: ",";\n"])),If.spacing4);function OB(e){var n=e.selection;return t.createElement("ul",{className:"flex flex-col py-2 overflow-y-auto max-h-400","data-testid":"selected-items-list"},n.map((function(e){return"asset"===e.type?t.createElement(BB,{key:e.value.id,asset:e.value}):t.createElement(DB,{key:e.value.id,collection:e.value})})))}function AB(){var e=VS(),n=e.selection,r=e.clear,o=n.length;return 0===o?null:t.createElement(FB,{"data-testid":"selection-footer"},t.createElement(LB,null,t.createElement(dy,{buttonKind:"secondary",direction:"Up",title:Hv("View {} selected").replace("{}",o.toString())},(function(){return t.createElement(OB,{selection:n})})),t.createElement(Xf,{variant:"clean",onClick:r},Hv("Clear selection"))),t.createElement(kB,{selection:n}))}var RB,MB,FB=Gl.div(RB||(RB=_a(["\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tz-index: 10;\n\theight: ",";\n\tpadding: ",";\n\talign-items: center;\n\tbox-shadow: 0 -1px 0 0 rgba(0, 34, 51, 0.1), 0 -1px 6px 0 rgba(0, 34, 51, 0.1);\n\tanimation: var(--fade-in-down);\n"],["\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tz-index: 10;\n\theight: ",";\n\tpadding: ",";\n\talign-items: center;\n\tbox-shadow: 0 -1px 0 0 rgba(0, 34, 51, 0.1), 0 -1px 6px 0 rgba(0, 34, 51, 0.1);\n\tanimation: var(--fade-in-down);\n"])),If.layoutSpacing5,If.spacing6),LB=Gl.span(MB||(MB=_a(["\n\tdisplay: flex;\n\tflex-grow: 1;\n\talign-items: center;\n\tgap: ",";\n"],["\n\tdisplay: flex;\n\tflex-grow: 1;\n\talign-items: center;\n\tgap: ",";\n"])),If.spacing2);function jB(e){var n=e.assetFieldSelection,r=e.assetFilter,o=e.assetTypes,i=void 0===o?["IMAGE","AUDIO","VIDEO","DOCUMENT","ARCHIVE"]:o,a=e.defaultSearchTerm,c=e.language,l=void 0===c?"en_US":c,s=e.mode,u=void 0===s?"MultiSelect":s,d=e.onSuccess,p=void 0===d?function(e,t){var n=t.selectedFile;return console.log(e,n)}:d,f=e.theme,m=e.hideExternalAccess,h=e.selectedAssets,g=e.hideLimitedUse,v=e.isContainerMode,y=void 0!==v&&v;Vv(l);var b={assetFieldSelection:n,assetFilter:r,assetTypes:i,language:l,onSuccess:p,selectionMode:u,theme:f,hideExternalAccess:m};return t.createElement(kb,null,t.createElement(Ba,null,t.createElement(eb,{isContainerMode:y},t.createElement(AS,null,t.createElement(ya,null,t.createElement(C_,{hideLimitedUse:g},t.createElement(za,{defaultValue:a},t.createElement(Cy,{value:b},t.createElement(HS,{preselectedAssetIds:null!=h?h:[]},t.createElement(nB,{theme:b.theme}),t.createElement("div",{className:"cv-root cv-container"},t.createElement(sB,null),t.createElement(HB,null),t.createElement(AB,null)))))))))))}function HB(){var e=Ta()[0],n=ky().assetFilter;return t.createElement(t.Fragment,null,"assets"===e.page&&void 0===n&&t.createElement(JI,null),"assets"===e.page&&t.createElement(mB,null),"collections"===e.page&&t.createElement(x_,null),"collection"===e.page&&t.createElement(CI,{collection:e.collection}))}!function(e={}){if(void 0===e.defaultIntegrations&&(e.defaultIntegrations=ma),void 0===e.release){var t=mr();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);var n,r={...e,stackParser:(n=e.stackParser||Hi,Array.isArray(n)?Zr(...n):n),integrations:ci(e),transport:e.transport||(Qr()?Pi:Oi)};!function(e,t){!0===t.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?Mr.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=Zo(),r=n.getScope();r&&r.update(t.initialScope);var o=new e(t);n.bindClient(o)}(zi,r),e.autoSessionTracking&&function(){if(void 0!==mr().document){var e=Zo();e.captureSession&&(ha(e),oo("history",(({from:e,to:t})=>{void 0!==e&&e!==t&&ha(Zo())})))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Mr.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}({dsn:"https://dd74b64cc05845468f0c3654b458da29@sentry10.bynder.cloud/464",autoSessionTracking:!0,tracesSampleRate:1,defaultIntegrations:!1});export{jB as CompactView,Bb as Login,rb as Modal};
|