@interopio/home-ui-react 1.2.3 → 1.2.5
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/constants/auth0LoginTypes.d.ts +4 -0
- package/index.js +12 -12
- package/index.js.map +1 -1
- package/index.mjs +1949 -1968
- package/index.mjs.map +1 -1
- package/lib/io-connect-home/types.d.ts +10 -2
- package/lib/login/login-page-container.d.ts +8 -0
- package/package.json +1 -1
- package/lib/io-connect-home/helpers.d.ts +0 -3
package/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),y=require("react"),ee=require("@interopio/react-hooks"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),y=require("react"),ee=require("@interopio/react-hooks"),ht=require("@interopio/workspaces-ui-react"),kt=require("react-dom");function Eo(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const Ze=Eo(y),es=Eo(kt);const _t=t=>"items"in t,Ue={APPLICATION:"application",WORKSPACE:"workspace",LAYOUT:"layout"},So=[{name:"openInNewWindow",displayName:"Open in New Window"},{name:"openInNewWorkspace",displayName:"Open in New Workspace"}],ko=[{name:"openInNewFrame",displayName:"Open in New Frame"},{name:"delete",displayName:"Delete"}],At={ASCENDING:"ascending",DESCENDING:"descending",DISABLED:"disabled"},sn=new Intl.Collator(void 0,{sensitivity:"base"}),Po=(t,e)=>sn.compare(t.title,e.title),To=(t,e)=>sn.compare(e.title,t.title),sr=t=>{const{items:e,sortOrder:n,ascendingCompare:r,descendingCompare:o}=t;if(n===At.DISABLED)return e;const i=n===At.ASCENDING?r:o;return[...e].sort(i)},Ln=(t,e,n,r)=>{const{isFolderCollapsible:o,...i}=r,a="/",[c,...l]=n.split(a),u=t.findIndex(p=>_t(p)&&p.title===c),f=u!==-1?t[u]:null;return f?[...t.slice(0,u),{...f,items:l.length>0?Ln(f.items,e,l.join(a),r):[...f.items,e]},...t.slice(u+1)]:[...t,{id:c,title:c,items:l.length>0?Ln([],e,l.join(a),r):[e],isCollapsible:o,...i}]},_o=t=>t.title||t.name,Yt=t=>{const e=_o(t),n=t.userProperties.folder;return n?`${n}/${e}`:e},ts=(t,e)=>sn.compare(Yt(t),Yt(e)),ns=(t,e)=>sn.compare(Yt(e),Yt(t)),rs=(t,e,n)=>{const{isSectionCollapsible:r,sortOrder:o=At.ASCENDING,...i}=n;return{id:"applications-section",title:"All Applications",items:sr({items:t,sortOrder:o,ascendingCompare:ts,descendingCompare:ns}).reduce((l,u)=>{const f={id:u.name,title:_o(u),description:u.caption,type:Ue.APPLICATION,iconSrc:u.icon,isOpen:e[u.name]?.length>0,contextMenuActions:So},p=u.userProperties.folder;return p?Ln(l,f,p,n):[...l,f]},[]),isCollapsible:r,...i}};var os=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Mn={},is={get exports(){return Mn},set exports(t){Mn=t}};/*!
|
|
2
2
|
Copyright (c) 2018 Jed Watson.
|
|
3
3
|
Licensed under the MIT License (MIT), see
|
|
4
4
|
http://jedwatson.github.io/classnames
|
|
5
|
-
*/(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var r=[],o=0;o<arguments.length;o++){var i=arguments[o];if(i){var a=typeof i;if(a==="string"||a==="number")r.push(i);else if(Array.isArray(i)){if(i.length){var c=n.apply(null,i);c&&r.push(c)}}else if(a==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){r.push(i.toString());continue}for(var l in i)e.call(i,l)&&i[l]&&r.push(l)}}}return r.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(
|
|
5
|
+
*/(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var r=[],o=0;o<arguments.length;o++){var i=arguments[o];if(i){var a=typeof i;if(a==="string"||a==="number")r.push(i);else if(Array.isArray(i)){if(i.length){var c=n.apply(null,i);c&&r.push(c)}}else if(a==="object"){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){r.push(i.toString());continue}for(var l in i)e.call(i,l)&&i[l]&&r.push(l)}}}return r.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(is);const G=Mn;const Io=t=>t.key==="Enter"||t.key===" ",mt=(t,e)=>typeof t>"u"?{}:{tabIndex:0,onClick:t,onKeyDown:n=>{Io(n)&&(n.preventDefault(),t?.(n)),e?.(n)}},No=({event:t,currentIndex:e,moveFocus:n,min:r,max:o,onClose:i})=>{switch(t.key){case"ArrowUp":{n(Math.max(e-1,r));break}case"ArrowDown":{n(Math.min(e+1,o));break}case"Home":{n(r);break}case"End":{n(o);break}case"Escape":{if(i){i();break}return}default:return}t.stopPropagation(),t.preventDefault()},oe=y.forwardRef((t,e)=>{const{name:n,size:r=16,className:o,handleClick:i,...a}=t;return s.jsx("span",{...mt(i),className:G(o,"icon",{[`icon-box-${r}`]:r}),ref:e,...a,children:s.jsx("i",{className:G({[`icon-${n}`]:n})})})});function ar(t){const{size:e=16,alt:n="Image icon",className:r,...o}=t;return s.jsx("img",{alt:n,className:G(r,"icon",{[`icon-box-${e}`]:e}),...o})}const Ao=t=>{const{className:e,iconSrc:n,iconName:r="folder",title:o,isOpen:i,showCollapseIcon:a,showHoverIndicator:c=!1,...l}=t;return s.jsxs("h4",{className:G(e,"io-list-header"),"data-testid":"base-section-header",...l,children:[c&&s.jsx(oe,{size:8,name:""}),n?s.jsx(ar,{className:"section-img-icon",src:n,alt:`${o} icon`,size:14,"data-testid":"img-icon"}):s.jsx(oe,{className:"section-icon",name:r,"data-testid":"icon"}),o,a&&s.jsx(oe,{className:G("collapse-icon",!i&&"collapsed"),name:"chevron-down",size:14,"data-testid":"collapse-icon"})]})},ss=()=>{const[t,e]=y.useState([]),n=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{if(!n)return;const r=n.appManager.onAppAdded(c=>{c.userProperties.hidden||e(l=>[...l,c])}),o=n.appManager.onAppChanged(c=>{e(l=>[...l.filter(u=>u.name!==c.name),c])}),i=n.appManager.onAppRemoved(c=>{e(l=>l.filter(u=>u.name!==c.name))}),a=[r,i,o];return()=>a.forEach(c=>c())},[n]),t},as=()=>{const[t,e]=y.useState({}),n=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{if(!n)return;const r=n.appManager.onInstanceStarted(a=>{e(c=>{const l=c[a.application.name]??[];return{...c,[a.application.name]:[...l,a.id]}})}),o=n.appManager.onInstanceStopped(a=>{e(c=>({...c,[a.application.name]:c[a.application.name].filter(l=>l!==a.id)}))}),i=[r,o];return()=>i.forEach(a=>a())},[n]),t},Ro="interopio_home_ui_selected_layout",cs="interopio_home_ui_favorite_entities",ls="interopio_home_ui_user",an=(t,e,n)=>{const[r,o]=y.useState(()=>{try{const c=window[t].getItem(e);return c?JSON.parse(c):null}catch(c){return console.log(c),null}}),i=`${t}-${e}`;y.useEffect(()=>{const c=l=>{o(l.detail)};return window.addEventListener(i,c),()=>{window.removeEventListener(i,c)}},[i]);const a=y.useCallback(c=>{try{if(!c){window[t].removeItem(e),o(null);return}const l=n.run(c);if(!l.ok){console.warn(`Error validating the value to be stored: ${l.error.message}`);return}const u=l.result;o(u),window[t].setItem(e,JSON.stringify(u)),window.dispatchEvent(new CustomEvent(i,{detail:u}))}catch(l){console.log(l)}},[e,t,i,n]);return[r,a]};var le=function(t){return{ok:!0,result:t}},ae=function(t){return{ok:!1,error:t}},us=function(t){return t.ok===!0?Promise.resolve(t.result):Promise.reject(t.error)},ds=function(t,e){return e.ok===!0?e.result:t},fs=function(t){if(t.ok===!0)return t.result;throw t.error},ps=function(t,e){return e.ok===!0?le(t(e.result)):e},Nr=function(t,e,n){return e.ok===!1?e:n.ok===!1?n:le(t(e.result,n.result))},Cn=function(t,e){return e.ok===!0?e:ae(t(e.error))},hs=function(t,e){return e.ok===!0?t(e.result):e};/*! *****************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation.
|
|
7
7
|
|
|
8
8
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -15,34 +15,34 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
15
15
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
16
16
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
17
17
|
PERFORMANCE OF THIS SOFTWARE.
|
|
18
|
-
***************************************************************************** */var Mn=function(){return Mn=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Mn.apply(this,arguments)};function hs(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function Dn(t,e){if(t===e||t===null&&e===null)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="object"){if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!Dn(t[n],e[n]))return!1;return!0}var r=Object.keys(t);if(r.length!==Object.keys(e).length)return!1;for(var n=0;n<r.length;n++)if(!e.hasOwnProperty(r[n])||!Dn(t[r[n]],e[r[n]]))return!1;return!0}}var Pt=function(t){return Array.isArray(t)},zt=function(t){return typeof t=="object"&&t!==null&&!Pt(t)},ms=function(t){switch(typeof t){case"string":return"a string";case"number":return"a number";case"boolean":return"a boolean";case"undefined":return"undefined";case"object":return t instanceof Array?"an array":t===null?"null":"an object";default:return JSON.stringify(t)}},Me=function(t,e){return"expected "+t+", got "+ms(e)},Ot=function(t){return t.map(function(e){return typeof e=="string"?"."+e:"["+e+"]"}).join("")},jt=function(t,e){var n=e.at,r=hs(e,["at"]);return Mn({at:t+(n||"")},r)},ce=function(){function t(e){var n=this;this.decode=e,this.run=function(r){return xn(function(o){return{kind:"DecoderError",input:r,at:"input"+(o.at||""),message:o.message||""}},n.decode(r))},this.runPromise=function(r){return ls(n.run(r))},this.runWithException=function(r){return ds(n.run(r))},this.map=function(r){return new t(function(o){return fs(r,n.decode(o))})},this.andThen=function(r){return new t(function(o){return ps(function(i){return r(i).decode(o)},n.decode(o))})},this.where=function(r,o){return n.andThen(function(i){return r(i)?t.succeed(i):t.fail(o)})}}return t.string=function(){return new t(function(e){return typeof e=="string"?le(e):ae({message:Me("a string",e)})})},t.number=function(){return new t(function(e){return typeof e=="number"?le(e):ae({message:Me("a number",e)})})},t.boolean=function(){return new t(function(e){return typeof e=="boolean"?le(e):ae({message:Me("a boolean",e)})})},t.constant=function(e){return new t(function(n){return Dn(n,e)?le(e):ae({message:"expected "+JSON.stringify(e)+", got "+JSON.stringify(n)})})},t.object=function(e){return new t(function(n){if(zt(n)&&e){var r={};for(var o in e)if(e.hasOwnProperty(o)){var i=e[o].decode(n[o]);if(i.ok===!0)i.result!==void 0&&(r[o]=i.result);else return n[o]===void 0?ae({message:"the key '"+o+"' is required but was not present"}):ae(jt("."+o,i.error))}return le(r)}else return zt(n)?le(n):ae({message:Me("an object",n)})})},t.array=function(e){return new t(function(n){if(Pt(n)&&e){var r=function(o,i){return xn(function(a){return jt("["+i+"]",a)},e.decode(o))};return n.reduce(function(o,i,a){return Tr(function(c,l){return c.concat([l])},o,r(i,a))},le([]))}else return Pt(n)?le(n):ae({message:Me("an array",n)})})},t.tuple=function(e){return new t(function(n){if(Pt(n)){if(n.length!==e.length)return ae({message:"expected a tuple of length "+e.length+", got one of length "+n.length});for(var r=[],o=0;o<e.length;o++){var i=e[o].decode(n[o]);if(i.ok)r[o]=i.result;else return ae(jt("["+o+"]",i.error))}return le(r)}else return ae({message:Me("a tuple of length "+e.length,n)})})},t.union=function(e,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return t.oneOf.apply(t,[e,n].concat(r))},t.intersection=function(e,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return new t(function(i){return[e,n].concat(r).reduce(function(a,c){return Tr(Object.assign,a,c.decode(i))},le({}))})},t.anyJson=function(){return new t(function(e){return le(e)})},t.unknownJson=function(){return new t(function(e){return le(e)})},t.dict=function(e){return new t(function(n){if(zt(n)){var r={};for(var o in n)if(n.hasOwnProperty(o)){var i=e.decode(n[o]);if(i.ok===!0)r[o]=i.result;else return ae(jt("."+o,i.error))}return le(r)}else return ae({message:Me("an object",n)})})},t.optional=function(e){return new t(function(n){return n==null?le(void 0):e.decode(n)})},t.oneOf=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new t(function(r){for(var o=[],i=0;i<e.length;i++){var a=e[i].decode(r);if(a.ok===!0)return a;o[i]=a.error}var c=o.map(function(l){return"at error"+(l.at||"")+": "+l.message}).join('", "');return ae({message:'expected a value matching one of the decoders, got the errors ["'+c+'"]'})})},t.withDefault=function(e,n){return new t(function(r){return le(us(e,n.decode(r)))})},t.valueAt=function(e,n){return new t(function(r){for(var o=r,i=0;i<e.length;i++){if(o===void 0)return ae({at:Ot(e.slice(0,i+1)),message:"path does not exist"});if(typeof e[i]=="string"&&!zt(o))return ae({at:Ot(e.slice(0,i+1)),message:Me("an object",o)});if(typeof e[i]=="number"&&!Pt(o))return ae({at:Ot(e.slice(0,i+1)),message:Me("an array",o)});o=o[e[i]]}return xn(function(a){return o===void 0?{at:Ot(e),message:"path does not exist"}:jt(Ot(e),a)},n.decode(o))})},t.succeed=function(e){return new t(function(n){return le(e)})},t.fail=function(e){return new t(function(n){return ae({message:e})})},t.lazy=function(e){return new t(function(n){return e().decode(n)})},t}(),Fn=ce.string,vs=ce.number,No=ce.boolean,me=ce.anyJson;ce.unknownJson;var Yt=ce.constant,ye=ce.object,Ao=ce.array;ce.tuple;ce.dict;var G=ce.optional,Un=ce.oneOf;ce.union;ce.intersection;ce.withDefault;ce.valueAt;ce.succeed;var gs=ce.fail;ce.lazy;const he=Fn().where(t=>t.length>0,"Expected a non-empty string"),ys=vs().where(t=>t>=0,"Expected a non-negative number"),Ue=(t,e)=>{const n=typeof t;return n==="function"?me():gs(`The provided argument as ${e} should be of type function, provided: ${typeof n}`)},bs=ye({name:he,displayName:G(he),disabled:G(No())}),ws=ye({id:he,title:he,description:G(he),icon:G(Fn()),iconSrc:G(Fn()),contextMenuActions:G(Ao(bs)),type:he}),xs=Ao(ws),an=()=>{const[t,e]=sn("localStorage",as,xs),n=y.useMemo(()=>t||[],[t]);return{favoriteEntities:n,toggleFavorite:({isOpen:i,...a})=>{const c=n.find(u=>u.title===a.title&&u.type===a.type),l=c?n.filter(u=>u!==c):[a,...n];e(l)},removeFavorite:i=>{e(n.filter(a=>a.id!==i))}}},Ro=()=>{const[t,e]=y.useState(),n=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{if(!n)return;const r=pt.getFrameId();n.workspaces?.waitForFrame(r).then(e).catch(o=>console.error("Failed to get current frame",{error:o}))},[n]),t},Cs=()=>{const t=y.useContext(ee.IOConnectContext);return async e=>t.interop.methods().every(n=>n.name!==e?.method)?console.error("Interop method not found."):await t.interop.invoke(e.method,e.params,e.target).catch(n=>console.error({error:n}))},Os=()=>{const[t,e]=y.useState([]),n=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{if(!n)return;let r=!1;const o=n.layouts.onAdded(a=>{if(a.type!=="Global"||r)return;const{name:c,type:l}=a;e(u=>[...u,{name:c,type:l}])}),i=n.layouts.onRemoved(a=>{a.type!=="Global"||r||e(c=>c.filter(l=>l.name!==a.name))});return()=>{r=!0,o(),i()}},[n]),t},Lo=()=>{const[t,e]=y.useState([]),n=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{if(!n)return;const r=n.notifications.onRaised(i=>e(a=>[...a,i])),o=n.notifications.onClosed(i=>e(a=>a.filter(c=>c.id!==i.id)));return n.notifications.list().then(e).catch(console.error),()=>{r(),o()}},[n]),t},Cn=["None","Low","Medium","High","Critical"],js={None:"#616161",Low:"#7AC70C",Medium:"#E0A900",High:"#E0474C",Critical:"#B8001E"},Hn={TIMESTAMP:"timestamp",SEVERITY:"severity"},_r={key:Hn.TIMESTAMP,descending:!0},Es=(t,e)=>[...t].sort((n,r)=>(e?-1:1)*((n.timestamp||0)-(r.timestamp||0))),Ss=(t,e)=>{const n=Cn[0];return[...t].sort((r,o)=>{const i=Cn.indexOf(r.severity||n),a=Cn.indexOf(o.severity||n);return(e?-1:1)*(i-a)})},ks={[Hn.TIMESTAMP]:Es,[Hn.SEVERITY]:Ss},Ps=()=>{const t=Lo(),[e,n]=y.useState(_r),{key:r,descending:o}=e,i=y.useMemo(()=>ks[r](t,o),[t,r,o]);return{onNotificationsSort:y.useCallback(c=>{n(l=>({key:c,descending:l.key!==c?_r.descending:!l.descending}))},[]),sortedNotifications:i}},Mo=()=>{const[t,e]=y.useState([]);return y.useEffect(()=>{const n=({key:i})=>{e(a=>a.includes(i)?a:a.concat(i))},r=i=>{e(a=>a.filter(c=>c!==i.key))},o=()=>{e([])};return document.addEventListener("keydown",n),document.addEventListener("keyup",r),window.addEventListener("blur",o),()=>{document.removeEventListener("keydown",n),document.removeEventListener("keyup",r),window.removeEventListener("blur",o)}},[]),t.length===1?t[0]:null},cn={CONTROL:"Control",SHIFT:"Shift"},Do=()=>{const t=y.useContext(ee.IOConnectContext),e=Ro();return async(n,r)=>{const o=r===cn.CONTROL?{newFrame:!0}:{frameId:e?.id};return t.workspaces?.restoreWorkspace(n,o)}},ar=()=>{const t=y.useContext(ee.IOConnectContext);return y.useCallback(async(e,n)=>{if(t)try{await t.layouts.restore({name:e}),n?.({name:e})}catch(r){console.error(r)}},[t])},Ts=t=>{const[e,n]=y.useState([]),[r,o]=y.useState(!0),i=y.useRef(null),a=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{const c=a?.search;if(!c)return;const l=[],u=[];return(async p=>{o(!0),n([]);const d=await c.query({search:p.trim(),providerLimits:{maxResults:100,maxResultsPerType:5}});if(d===i.current)return;i.current=d;const h=d.onResults(g=>{g.results.forEach(w=>{u.find(O=>O.id===w.id&&O.type.name===w.type.name)||u.push(w)}),o(!1),n([...u])}),m=d.onCompleted(()=>{o(!1)}),v=d.onError(g=>{console.error(`Query failed. Provider: ${g.provider}; Error: ${g.error}`)});l.push(h,m,v)})(t),()=>{l.forEach(p=>p())}},[a,t]),{resultsToRender:e,isLoading:r}},Fo=()=>{const t=y.useContext(ee.IOConnectContext);return async(e,n)=>{const r=await t.workspaces?.getWorkspace(c=>c.isSelected===!0),o=r?.children[0];return n===cn.CONTROL||!r||o?.type==="window"?await t.appManager.application(e).start():await(o?.type==="group"?o:await(o||r).addGroup()).addWindow({appName:e})}},_s=()=>{const[t,e]=y.useState([]),n=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{if(!n||!n.workspaces)return;let r=!1;const o=n.workspaces.layouts.onSaved(({name:a})=>{r||t.find(({id:c})=>c===a)||e(c=>[...c,{id:a,title:a}])}),i=n.workspaces.layouts.onRemoved(({name:a})=>{r||e(c=>c.filter(({title:l})=>l!==a))});return()=>{r=!0,[o,i].forEach(async a=>{try{(await a)()}catch(c){console.error(c)}})}},[n,t]),t},Is=()=>{const[t,e]=y.useState({}),n=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{if(!n)return;const r=[];return(async()=>{try{const o=await n.workspaces?.onWorkspaceOpened(a=>e(c=>({...c,[a.title]:[...c[a.title]||[],a.id]})));r.push(o);const i=await n.workspaces?.onWorkspaceClosed(({workspaceId:a})=>e(c=>{const l={...c};for(const u in l)if(l[u].includes(a)){l[u]=l[u].filter(f=>f!==a);break}return l}));r.push(i)}catch(o){console.error(o)}})(),()=>r.forEach(o=>o?.())},[n]),t},Ns=t=>{const{io:e,item:n}=t;e.appManager.application(n.id).start().catch(r=>{console.error("Failed to start application: ",{error:r})})},As=t=>{const{io:e,item:n,frame:r}=t;if(!e.workspaces)return;const o={type:"workspace",definition:{frame:r?{reuseFrameId:r.id}:{newFrame:!0}}},i=e.workspaces.getBuilder(o);i.addGroup().addWindow({appName:n.id}),i.create().catch(a=>{console.error("Failed to create workspace: ",{error:a})})},Rs={openInNewWindow:Ns,openInNewWorkspace:As},Uo=()=>{const t=y.useContext(ee.IOConnectContext),e=Ro();return(n,r)=>{Rs[r]({io:t,item:n,frame:e})}},Ls=t=>{const{io:e,item:n}=t;e.workspaces&&e.workspaces.restoreWorkspace(n.id,{newFrame:!0}).catch(r=>{console.error("Failed to open workspace in new frame: ",{error:r})})},Ms=async t=>{const{io:e,item:n,removeFavorite:r}=t;if(e.workspaces)try{await e.workspaces.layouts.delete(n.id),r(n.id)}catch(o){console.error("Failed to delete workspace: ",{error:o})}},Ds={openInNewFrame:Ls,delete:Ms},Ho=()=>{const t=y.useContext(ee.IOConnectContext),{removeFavorite:e}=an();return(n,r)=>{Ds[r]({io:t,item:n,removeFavorite:e})}},Fs=t=>{const{layout:e,setDefaultLayout:n}=t;n({name:e.name})},Us=t=>{const{io:e,layout:n}=t;e.layouts.remove("Global",n.name).catch(r=>{console.error("Failed to delete layout: ",{error:r})})},Hs={setAsDefault:Fs,delete:Us},Ws=()=>{const t=y.useContext(ee.IOConnectContext);return y.useCallback((n,r,o)=>{Hs[r]({io:t,layout:n,setDefaultLayout:o})},[t])};var Xt={},zs={get exports(){return Xt},set exports(t){Xt=t}};(function(t,e){(function(n,r){var o="1.0.35",i="",a="?",c="function",l="undefined",u="object",f="string",p="major",d="model",h="name",m="type",v="vendor",g="version",w="architecture",j="console",O="mobile",C="tablet",b="smarttv",k="wearable",_="embedded",S=350,I="Amazon",R="Apple",W="ASUS",re="BlackBerry",te="Browser",se="Chrome",be="Edge",J="Firefox",ne="Google",xe="Huawei",fe="LG",E="Microsoft",T="Motorola",L="Opera",D="Samsung",N="Sharp",M="Sony",A="Xiaomi",F="Zebra",z="Facebook",Z="Chromium OS",B="Mac OS",ie=function(V,q){var U={};for(var Q in V)q[Q]&&q[Q].length%2===0?U[Q]=q[Q].concat(V[Q]):U[Q]=V[Q];return U},P=function(V){for(var q={},U=0;U<V.length;U++)q[V[U].toUpperCase()]=V[U];return q},de=function(V,q){return typeof V===f?Ce(q).indexOf(Ce(V))!==-1:!1},Ce=function(V){return V.toLowerCase()},rt=function(V){return typeof V===f?V.replace(/[^\d\.]/g,i).split(".")[0]:r},ot=function(V,q){if(typeof V===f)return V=V.replace(/^\s\s*/,i),typeof q===l?V:V.substring(0,S)},We=function(V,q){for(var U=0,Q,Ve,_e,K,H,Ie;U<q.length&&!H;){var wn=q[U],Pr=q[U+1];for(Q=Ve=0;Q<wn.length&&!H&&wn[Q];)if(H=wn[Q++].exec(V),H)for(_e=0;_e<Pr.length;_e++)Ie=H[++Ve],K=Pr[_e],typeof K===u&&K.length>0?K.length===2?typeof K[1]==c?this[K[0]]=K[1].call(this,Ie):this[K[0]]=K[1]:K.length===3?typeof K[1]===c&&!(K[1].exec&&K[1].test)?this[K[0]]=Ie?K[1].call(this,Ie,K[2]):r:this[K[0]]=Ie?Ie.replace(K[1],K[2]):r:K.length===4&&(this[K[0]]=Ie?K[3].call(this,Ie.replace(K[1],K[2])):r):this[K]=Ie||r;U+=2}},Ct=function(V,q){for(var U in q)if(typeof q[U]===u&&q[U].length>0){for(var Q=0;Q<q[U].length;Q++)if(de(q[U][Q],V))return U===a?r:U}else if(de(q[U],V))return U===a?r:U;return V},bn={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Te={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},qe={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,g],[/opios[\/ ]+([\w\.]+)/i],[g,[h,L+" Mini"]],[/\bopr\/([\w\.]+)/i],[g,[h,L]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,g],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[h,"UC"+te]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[g,[h,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[g,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[h,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+te],g],[/\bfocus\/([\w\.]+)/i],[g,[h,J+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[h,L+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[h,L+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[h,"MIUI "+te]],[/fxios\/([-\w\.]+)/i],[g,[h,J]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+te]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+te],g],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[h,g],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,z],g],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[h,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[h,se+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,se+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[h,"Android "+te]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[g,Ct,bn]],[/(webkit|khtml)\/([\w\.]+)/i],[h,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[h,J+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,g],[/(cobalt)\/([\w\.]+)/i],[h,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,Ce]],[/((?:i[346]|x)86)[;\)]/i],[[w,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[w,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[w,"armhf"]],[/windows (ce|mobile); ppc;/i],[[w,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[w,/ower/,i,Ce]],[/(sun4\w)[;\)]/i],[[w,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[w,Ce]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[v,D],[m,C]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[v,D],[m,O]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[v,R],[m,O]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[v,R],[m,C]],[/(macintosh);/i],[d,[v,R]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[v,N],[m,O]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[v,xe],[m,C]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[v,xe],[m,O]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[v,A],[m,O]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[v,A],[m,C]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[v,"OPPO"],[m,O]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[v,"Vivo"],[m,O]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[d,[v,"Realme"],[m,O]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[v,T],[m,O]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[v,T],[m,C]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[v,fe],[m,C]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[v,fe],[m,O]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[v,"Lenovo"],[m,C]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[v,"Nokia"],[m,O]],[/(pixel c)\b/i],[d,[v,ne],[m,C]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[v,ne],[m,O]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[v,M],[m,O]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[v,M],[m,C]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[v,"OnePlus"],[m,O]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[v,I],[m,C]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[v,I],[m,O]],[/(playbook);[-\w\),; ]+(rim)/i],[d,v,[m,C]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[v,re],[m,O]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[v,W],[m,C]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[v,W],[m,O]],[/(nexus 9)/i],[d,[v,"HTC"],[m,C]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[d,/_/g," "],[m,O]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[v,"Acer"],[m,C]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[v,"Meizu"],[m,O]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,d,[m,O]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[v,d,[m,C]],[/(surface duo)/i],[d,[v,E],[m,C]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[v,"Fairphone"],[m,O]],[/(u304aa)/i],[d,[v,"AT&T"],[m,O]],[/\bsie-(\w*)/i],[d,[v,"Siemens"],[m,O]],[/\b(rct\w+) b/i],[d,[v,"RCA"],[m,C]],[/\b(venue[\d ]{2,7}) b/i],[d,[v,"Dell"],[m,C]],[/\b(q(?:mv|ta)\w+) b/i],[d,[v,"Verizon"],[m,C]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[v,"Barnes & Noble"],[m,C]],[/\b(tm\d{3}\w+) b/i],[d,[v,"NuVision"],[m,C]],[/\b(k88) b/i],[d,[v,"ZTE"],[m,C]],[/\b(nx\d{3}j) b/i],[d,[v,"ZTE"],[m,O]],[/\b(gen\d{3}) b.+49h/i],[d,[v,"Swiss"],[m,O]],[/\b(zur\d{3}) b/i],[d,[v,"Swiss"],[m,C]],[/\b((zeki)?tb.*\b) b/i],[d,[v,"Zeki"],[m,C]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],d,[m,C]],[/\b(ns-?\w{0,9}) b/i],[d,[v,"Insignia"],[m,C]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[v,"NextBook"],[m,C]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],d,[m,O]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],d,[m,O]],[/\b(ph-1) /i],[d,[v,"Essential"],[m,O]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[v,"Envizen"],[m,C]],[/\b(trio[-\w\. ]+) b/i],[d,[v,"MachSpeed"],[m,C]],[/\btu_(1491) b/i],[d,[v,"Rotor"],[m,C]],[/(shield[\w ]+) b/i],[d,[v,"Nvidia"],[m,C]],[/(sprint) (\w+)/i],[v,d,[m,O]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[v,E],[m,O]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[v,F],[m,C]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[v,F],[m,O]],[/smart-tv.+(samsung)/i],[v,[m,b]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[v,D],[m,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,fe],[m,b]],[/(apple) ?tv/i],[v,[d,R+" TV"],[m,b]],[/crkey/i],[[d,se+"cast"],[v,ne],[m,b]],[/droid.+aft(\w)( bui|\))/i],[d,[v,I],[m,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[v,N],[m,b]],[/(bravia[\w ]+)( bui|\))/i],[d,[v,M],[m,b]],[/(mitv-\w{5}) bui/i],[d,[v,A],[m,b]],[/Hbbtv.*(technisat) (.*);/i],[v,d,[m,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,ot],[d,ot],[m,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,d,[m,j]],[/droid.+; (shield) bui/i],[d,[v,"Nvidia"],[m,j]],[/(playstation [345portablevi]+)/i],[d,[v,M],[m,j]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[v,E],[m,j]],[/((pebble))app/i],[v,d,[m,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[v,R],[m,k]],[/droid.+; (glass) \d/i],[d,[v,ne],[m,k]],[/droid.+; (wt63?0{2,3})\)/i],[d,[v,F],[m,k]],[/(quest( 2| pro)?)/i],[d,[v,z],[m,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[m,_]],[/(aeobc)\b/i],[d,[v,I],[m,_]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[d,[m,O]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[m,C]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,C]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,O]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[h,be+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,g],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[h,[g,Ct,Te]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,"Windows"],[g,Ct,Te]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,B],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,g],[/\(bb(10);/i],[g,[h,re]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[h,J+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[h,se+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,Z],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,g],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,g]]},pe=function(V,q){if(typeof V===u&&(q=V,V=r),!(this instanceof pe))return new pe(V,q).getResult();var U=typeof n!==l&&n.navigator?n.navigator:r,Q=V||(U&&U.userAgent?U.userAgent:i),Ve=U&&U.userAgentData?U.userAgentData:r,_e=q?ie(qe,q):qe,K=U&&U.userAgent==Q;return this.getBrowser=function(){var H={};return H[h]=r,H[g]=r,We.call(H,Q,_e.browser),H[p]=rt(H[g]),K&&U&&U.brave&&typeof U.brave.isBrave==c&&(H[h]="Brave"),H},this.getCPU=function(){var H={};return H[w]=r,We.call(H,Q,_e.cpu),H},this.getDevice=function(){var H={};return H[v]=r,H[d]=r,H[m]=r,We.call(H,Q,_e.device),K&&!H[m]&&Ve&&Ve.mobile&&(H[m]=O),K&&H[d]=="Macintosh"&&U&&typeof U.standalone!==l&&U.maxTouchPoints&&U.maxTouchPoints>2&&(H[d]="iPad",H[m]=C),H},this.getEngine=function(){var H={};return H[h]=r,H[g]=r,We.call(H,Q,_e.engine),H},this.getOS=function(){var H={};return H[h]=r,H[g]=r,We.call(H,Q,_e.os),K&&!H[h]&&Ve&&Ve.platform!="Unknown"&&(H[h]=Ve.platform.replace(/chrome os/i,Z).replace(/macos/i,B)),H},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Q},this.setUA=function(H){return Q=typeof H===f&&H.length>S?ot(H,S):H,this},this.setUA(Q),this};pe.VERSION=o,pe.BROWSER=P([h,g,p]),pe.CPU=P([w]),pe.DEVICE=P([d,v,m,j,O,b,C,k,_]),pe.ENGINE=pe.OS=P([h,g]),t.exports&&(e=t.exports=pe),e.UAParser=pe;var Le=typeof n!==l&&(n.jQuery||n.Zepto);if(Le&&!Le.ua){var ze=new pe;Le.ua=ze.getResult(),Le.ua.get=function(){return ze.getUA()},Le.ua.set=function(V){ze.setUA(V);var q=ze.getResult();for(var U in q)Le.ua[U]=q[U]}}})(typeof window=="object"?window:rs)})(zs,Xt);const Vs=new Xt.UAParser,cr=()=>Ze.useMemo(()=>Vs.getBrowser(),[]);var Ir=function(e){return e.reduce(function(n,r){var o=r[0],i=r[1];return n[o]=i,n},{})},Nr=typeof window<"u"&&window.document&&window.document.createElement?Ze.useLayoutEffect:Ze.useEffect,ve="top",je="bottom",Ee="right",ge="left",ln="auto",Dt=[ve,je,Ee,ge],mt="start",Rt="end",Bs="clippingParents",Wo="viewport",Et="popper",Zs="reference",Ar=Dt.reduce(function(t,e){return t.concat([e+"-"+mt,e+"-"+Rt])},[]),zo=[].concat(Dt,[ln]).reduce(function(t,e){return t.concat([e,e+"-"+mt,e+"-"+Rt])},[]),$s="beforeRead",Gs="read",qs="afterRead",Ks="beforeMain",Ys="main",Xs="afterMain",Js="beforeWrite",Qs="write",ea="afterWrite",Wn=[$s,Gs,qs,Ks,Ys,Xs,Js,Qs,ea];function Re(t){return t?(t.nodeName||"").toLowerCase():null}function Se(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function nt(t){var e=Se(t).Element;return t instanceof e||t instanceof Element}function we(t){var e=Se(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function lr(t){if(typeof ShadowRoot>"u")return!1;var e=Se(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function ta(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},o=e.attributes[n]||{},i=e.elements[n];!we(i)||!Re(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var c=o[a];c===!1?i.removeAttribute(a):i.setAttribute(a,c===!0?"":c)}))})}function na(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var o=e.elements[r],i=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),c=a.reduce(function(l,u){return l[u]="",l},{});!we(o)||!Re(o)||(Object.assign(o.style,c),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const ra={name:"applyStyles",enabled:!0,phase:"write",fn:ta,effect:na,requires:["computeStyles"]};function ke(t){return t.split("-")[0]}var tt=Math.max,Jt=Math.min,vt=Math.round;function zn(){var t=navigator.userAgentData;return t!=null&&t.brands?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Vo(){return!/^((?!chrome|android).)*safari/i.test(zn())}function gt(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),o=1,i=1;e&&we(t)&&(o=t.offsetWidth>0&&vt(r.width)/t.offsetWidth||1,i=t.offsetHeight>0&&vt(r.height)/t.offsetHeight||1);var a=nt(t)?Se(t):window,c=a.visualViewport,l=!Vo()&&n,u=(r.left+(l&&c?c.offsetLeft:0))/o,f=(r.top+(l&&c?c.offsetTop:0))/i,p=r.width/o,d=r.height/i;return{width:p,height:d,top:f,right:u+p,bottom:f+d,left:u,x:u,y:f}}function ur(t){var e=gt(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Bo(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&lr(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Pe(t){return Se(t).getComputedStyle(t)}function oa(t){return["table","td","th"].indexOf(Re(t))>=0}function $e(t){return((nt(t)?t.ownerDocument:t.document)||window.document).documentElement}function un(t){return Re(t)==="html"?t:t.assignedSlot||t.parentNode||(lr(t)?t.host:null)||$e(t)}function Rr(t){return!we(t)||Pe(t).position==="fixed"?null:t.offsetParent}function ia(t){var e=/firefox/i.test(zn()),n=/Trident/i.test(zn());if(n&&we(t)){var r=Pe(t);if(r.position==="fixed")return null}var o=un(t);for(lr(o)&&(o=o.host);we(o)&&["html","body"].indexOf(Re(o))<0;){var i=Pe(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Ft(t){for(var e=Se(t),n=Rr(t);n&&oa(n)&&Pe(n).position==="static";)n=Rr(n);return n&&(Re(n)==="html"||Re(n)==="body"&&Pe(n).position==="static")?e:n||ia(t)||e}function dr(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function It(t,e,n){return tt(t,Jt(e,n))}function sa(t,e,n){var r=It(t,e,n);return r>n?n:r}function Zo(){return{top:0,right:0,bottom:0,left:0}}function $o(t){return Object.assign({},Zo(),t)}function Go(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var aa=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,$o(typeof e!="number"?e:Go(e,Dt))};function ca(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,c=ke(n.placement),l=dr(c),u=[ge,Ee].indexOf(c)>=0,f=u?"height":"width";if(!(!i||!a)){var p=aa(o.padding,n),d=ur(i),h=l==="y"?ve:ge,m=l==="y"?je:Ee,v=n.rects.reference[f]+n.rects.reference[l]-a[l]-n.rects.popper[f],g=a[l]-n.rects.reference[l],w=Ft(i),j=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,O=v/2-g/2,C=p[h],b=j-d[f]-p[m],k=j/2-d[f]/2+O,_=It(C,k,b),S=l;n.modifiersData[r]=(e={},e[S]=_,e.centerOffset=_-k,e)}}function la(t){var e=t.state,n=t.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;if(o!=null&&!(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o))){if(process.env.NODE_ENV!=="production"&&(we(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),!Bo(e.elements.popper,o)){process.env.NODE_ENV!=="production"&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}e.elements.arrow=o}}const ua={name:"arrow",enabled:!0,phase:"main",fn:ca,effect:la,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function yt(t){return t.split("-")[1]}var da={top:"auto",right:"auto",bottom:"auto",left:"auto"};function fa(t){var e=t.x,n=t.y,r=window,o=r.devicePixelRatio||1;return{x:vt(e*o)/o||0,y:vt(n*o)/o||0}}function Lr(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,a=t.offsets,c=t.position,l=t.gpuAcceleration,u=t.adaptive,f=t.roundOffsets,p=t.isFixed,d=a.x,h=d===void 0?0:d,m=a.y,v=m===void 0?0:m,g=typeof f=="function"?f({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var w=a.hasOwnProperty("x"),j=a.hasOwnProperty("y"),O=ge,C=ve,b=window;if(u){var k=Ft(n),_="clientHeight",S="clientWidth";if(k===Se(n)&&(k=$e(n),Pe(k).position!=="static"&&c==="absolute"&&(_="scrollHeight",S="scrollWidth")),k=k,o===ve||(o===ge||o===Ee)&&i===Rt){C=je;var I=p&&k===b&&b.visualViewport?b.visualViewport.height:k[_];v-=I-r.height,v*=l?1:-1}if(o===ge||(o===ve||o===je)&&i===Rt){O=Ee;var R=p&&k===b&&b.visualViewport?b.visualViewport.width:k[S];h-=R-r.width,h*=l?1:-1}}var W=Object.assign({position:c},u&&da),re=f===!0?fa({x:h,y:v}):{x:h,y:v};if(h=re.x,v=re.y,l){var te;return Object.assign({},W,(te={},te[C]=j?"0":"",te[O]=w?"0":"",te.transform=(b.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",te))}return Object.assign({},W,(e={},e[C]=j?v+"px":"",e[O]=w?h+"px":"",e.transform="",e))}function pa(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,c=n.roundOffsets,l=c===void 0?!0:c;if(process.env.NODE_ENV!=="production"){var u=Pe(e.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some(function(p){return u.indexOf(p)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
|
|
18
|
+
***************************************************************************** */var Dn=function(){return Dn=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Dn.apply(this,arguments)};function ms(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function Fn(t,e){if(t===e||t===null&&e===null)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="object"){if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!Fn(t[n],e[n]))return!1;return!0}var r=Object.keys(t);if(r.length!==Object.keys(e).length)return!1;for(var n=0;n<r.length;n++)if(!e.hasOwnProperty(r[n])||!Fn(t[r[n]],e[r[n]]))return!1;return!0}}var Pt=function(t){return Array.isArray(t)},Vt=function(t){return typeof t=="object"&&t!==null&&!Pt(t)},vs=function(t){switch(typeof t){case"string":return"a string";case"number":return"a number";case"boolean":return"a boolean";case"undefined":return"undefined";case"object":return t instanceof Array?"an array":t===null?"null":"an object";default:return JSON.stringify(t)}},De=function(t,e){return"expected "+t+", got "+vs(e)},Ot=function(t){return t.map(function(e){return typeof e=="string"?"."+e:"["+e+"]"}).join("")},jt=function(t,e){var n=e.at,r=ms(e,["at"]);return Dn({at:t+(n||"")},r)},ce=function(){function t(e){var n=this;this.decode=e,this.run=function(r){return Cn(function(o){return{kind:"DecoderError",input:r,at:"input"+(o.at||""),message:o.message||""}},n.decode(r))},this.runPromise=function(r){return us(n.run(r))},this.runWithException=function(r){return fs(n.run(r))},this.map=function(r){return new t(function(o){return ps(r,n.decode(o))})},this.andThen=function(r){return new t(function(o){return hs(function(i){return r(i).decode(o)},n.decode(o))})},this.where=function(r,o){return n.andThen(function(i){return r(i)?t.succeed(i):t.fail(o)})}}return t.string=function(){return new t(function(e){return typeof e=="string"?le(e):ae({message:De("a string",e)})})},t.number=function(){return new t(function(e){return typeof e=="number"?le(e):ae({message:De("a number",e)})})},t.boolean=function(){return new t(function(e){return typeof e=="boolean"?le(e):ae({message:De("a boolean",e)})})},t.constant=function(e){return new t(function(n){return Fn(n,e)?le(e):ae({message:"expected "+JSON.stringify(e)+", got "+JSON.stringify(n)})})},t.object=function(e){return new t(function(n){if(Vt(n)&&e){var r={};for(var o in e)if(e.hasOwnProperty(o)){var i=e[o].decode(n[o]);if(i.ok===!0)i.result!==void 0&&(r[o]=i.result);else return n[o]===void 0?ae({message:"the key '"+o+"' is required but was not present"}):ae(jt("."+o,i.error))}return le(r)}else return Vt(n)?le(n):ae({message:De("an object",n)})})},t.array=function(e){return new t(function(n){if(Pt(n)&&e){var r=function(o,i){return Cn(function(a){return jt("["+i+"]",a)},e.decode(o))};return n.reduce(function(o,i,a){return Nr(function(c,l){return c.concat([l])},o,r(i,a))},le([]))}else return Pt(n)?le(n):ae({message:De("an array",n)})})},t.tuple=function(e){return new t(function(n){if(Pt(n)){if(n.length!==e.length)return ae({message:"expected a tuple of length "+e.length+", got one of length "+n.length});for(var r=[],o=0;o<e.length;o++){var i=e[o].decode(n[o]);if(i.ok)r[o]=i.result;else return ae(jt("["+o+"]",i.error))}return le(r)}else return ae({message:De("a tuple of length "+e.length,n)})})},t.union=function(e,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return t.oneOf.apply(t,[e,n].concat(r))},t.intersection=function(e,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return new t(function(i){return[e,n].concat(r).reduce(function(a,c){return Nr(Object.assign,a,c.decode(i))},le({}))})},t.anyJson=function(){return new t(function(e){return le(e)})},t.unknownJson=function(){return new t(function(e){return le(e)})},t.dict=function(e){return new t(function(n){if(Vt(n)){var r={};for(var o in n)if(n.hasOwnProperty(o)){var i=e.decode(n[o]);if(i.ok===!0)r[o]=i.result;else return ae(jt("."+o,i.error))}return le(r)}else return ae({message:De("an object",n)})})},t.optional=function(e){return new t(function(n){return n==null?le(void 0):e.decode(n)})},t.oneOf=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new t(function(r){for(var o=[],i=0;i<e.length;i++){var a=e[i].decode(r);if(a.ok===!0)return a;o[i]=a.error}var c=o.map(function(l){return"at error"+(l.at||"")+": "+l.message}).join('", "');return ae({message:'expected a value matching one of the decoders, got the errors ["'+c+'"]'})})},t.withDefault=function(e,n){return new t(function(r){return le(ds(e,n.decode(r)))})},t.valueAt=function(e,n){return new t(function(r){for(var o=r,i=0;i<e.length;i++){if(o===void 0)return ae({at:Ot(e.slice(0,i+1)),message:"path does not exist"});if(typeof e[i]=="string"&&!Vt(o))return ae({at:Ot(e.slice(0,i+1)),message:De("an object",o)});if(typeof e[i]=="number"&&!Pt(o))return ae({at:Ot(e.slice(0,i+1)),message:De("an array",o)});o=o[e[i]]}return Cn(function(a){return o===void 0?{at:Ot(e),message:"path does not exist"}:jt(Ot(e),a)},n.decode(o))})},t.succeed=function(e){return new t(function(n){return le(e)})},t.fail=function(e){return new t(function(n){return ae({message:e})})},t.lazy=function(e){return new t(function(n){return e().decode(n)})},t}(),Un=ce.string,gs=ce.number,Lo=ce.boolean,me=ce.anyJson;ce.unknownJson;var Rt=ce.constant,ye=ce.object,Mo=ce.array;ce.tuple;ce.dict;var $=ce.optional,Xt=ce.oneOf;ce.union;ce.intersection;ce.withDefault;ce.valueAt;ce.succeed;var ys=ce.fail;ce.lazy;const fe=Un().where(t=>t.length>0,"Expected a non-empty string"),bs=gs().where(t=>t>=0,"Expected a non-negative number"),Re=(t,e)=>{const n=typeof t;return n==="function"?me():ys(`The provided argument as ${e} should be of type function, provided: ${typeof n}`)},ws=ye({name:fe,displayName:$(fe),disabled:$(Lo())}),xs=ye({id:fe,title:fe,description:$(fe),icon:$(Un()),iconSrc:$(Un()),contextMenuActions:$(Mo(ws)),type:fe}),Cs=Mo(xs),cn=()=>{const[t,e]=an("localStorage",cs,Cs),n=y.useMemo(()=>t||[],[t]);return{favoriteEntities:n,toggleFavorite:({isOpen:i,...a})=>{const c=n.find(u=>u.title===a.title&&u.type===a.type),l=c?n.filter(u=>u!==c):[a,...n];e(l)},removeFavorite:i=>{e(n.filter(a=>a.id!==i))}}},Do=()=>{const[t,e]=y.useState(),n=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{if(!n)return;const r=ht.getFrameId();n.workspaces?.waitForFrame(r).then(e).catch(o=>console.error("Failed to get current frame",{error:o}))},[n]),t},Os=()=>{const t=y.useContext(ee.IOConnectContext);return async e=>t.interop.methods().every(n=>n.name!==e?.method)?console.error("Interop method not found."):await t.interop.invoke(e.method,e.params,e.target).catch(n=>console.error({error:n}))},js=()=>{const[t,e]=y.useState([]),n=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{if(!n)return;let r=!1;const o=n.layouts.onAdded(a=>{if(a.type!=="Global"||r)return;const{name:c,type:l}=a;e(u=>[...u,{name:c,type:l}])}),i=n.layouts.onRemoved(a=>{a.type!=="Global"||r||e(c=>c.filter(l=>l.name!==a.name))});return()=>{r=!0,o(),i()}},[n]),t},Fo=()=>{const[t,e]=y.useState([]),n=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{if(!n)return;const r=n.notifications.onRaised(i=>e(a=>[...a,i])),o=n.notifications.onClosed(i=>e(a=>a.filter(c=>c.id!==i.id)));return n.notifications.list().then(e).catch(console.error),()=>{r(),o()}},[n]),t},On=["None","Low","Medium","High","Critical"],Es={None:"#616161",Low:"#7AC70C",Medium:"#E0A900",High:"#E0474C",Critical:"#B8001E"},Hn={TIMESTAMP:"timestamp",SEVERITY:"severity"},Ar={key:Hn.TIMESTAMP,descending:!0},Ss=(t,e)=>[...t].sort((n,r)=>(e?-1:1)*((n.timestamp||0)-(r.timestamp||0))),ks=(t,e)=>{const n=On[0];return[...t].sort((r,o)=>{const i=On.indexOf(r.severity||n),a=On.indexOf(o.severity||n);return(e?-1:1)*(i-a)})},Ps={[Hn.TIMESTAMP]:Ss,[Hn.SEVERITY]:ks},Ts=()=>{const t=Fo(),[e,n]=y.useState(Ar),{key:r,descending:o}=e,i=y.useMemo(()=>Ps[r](t,o),[t,r,o]);return{onNotificationsSort:y.useCallback(c=>{n(l=>({key:c,descending:l.key!==c?Ar.descending:!l.descending}))},[]),sortedNotifications:i}},Uo=()=>{const[t,e]=y.useState([]);return y.useEffect(()=>{const n=({key:i})=>{e(a=>a.includes(i)?a:a.concat(i))},r=i=>{e(a=>a.filter(c=>c!==i.key))},o=()=>{e([])};return document.addEventListener("keydown",n),document.addEventListener("keyup",r),window.addEventListener("blur",o),()=>{document.removeEventListener("keydown",n),document.removeEventListener("keyup",r),window.removeEventListener("blur",o)}},[]),t.length===1?t[0]:null},ln={CONTROL:"Control",SHIFT:"Shift"},Ho=()=>{const t=y.useContext(ee.IOConnectContext),e=Do();return async(n,r)=>{const o=r===ln.CONTROL?{newFrame:!0}:{frameId:e?.id};return t.workspaces?.restoreWorkspace(n,o)}},cr=()=>{const t=y.useContext(ee.IOConnectContext);return y.useCallback(async(e,n)=>{if(t)try{await t.layouts.restore({name:e}),n?.({name:e})}catch(r){console.error(r)}},[t])},_s=t=>{const[e,n]=y.useState([]),[r,o]=y.useState(!0),i=y.useRef(null),a=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{const c=a?.search;if(!c)return;const l=[],u=[];return(async p=>{o(!0),n([]);const d=await c.query({search:p.trim(),providerLimits:{maxResults:100,maxResultsPerType:5}});if(d===i.current)return;i.current=d;const h=d.onResults(g=>{g.results.forEach(w=>{u.find(O=>O.id===w.id&&O.type.name===w.type.name)||u.push(w)}),o(!1),n([...u])}),m=d.onCompleted(()=>{o(!1)}),v=d.onError(g=>{console.error(`Query failed. Provider: ${g.provider}; Error: ${g.error}`)});l.push(h,m,v)})(t),()=>{l.forEach(p=>p())}},[a,t]),{resultsToRender:e,isLoading:r}},Wo=()=>{const t=y.useContext(ee.IOConnectContext);return async(e,n)=>{const r=await t.workspaces?.getWorkspace(c=>c.isSelected===!0),o=r?.children[0];return n===ln.CONTROL||!r||o?.type==="window"?await t.appManager.application(e).start():await(o?.type==="group"?o:await(o||r).addGroup()).addWindow({appName:e})}},Is=()=>{const[t,e]=y.useState([]),n=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{if(!n||!n.workspaces)return;let r=!1;const o=n.workspaces.layouts.onSaved(({name:a})=>{r||t.find(({id:c})=>c===a)||e(c=>[...c,{id:a,title:a}])}),i=n.workspaces.layouts.onRemoved(({name:a})=>{r||e(c=>c.filter(({title:l})=>l!==a))});return()=>{r=!0,[o,i].forEach(async a=>{try{(await a)()}catch(c){console.error(c)}})}},[n,t]),t},Ns=()=>{const[t,e]=y.useState({}),n=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{if(!n)return;const r=[];return(async()=>{try{const o=await n.workspaces?.onWorkspaceOpened(a=>e(c=>({...c,[a.title]:[...c[a.title]||[],a.id]})));r.push(o);const i=await n.workspaces?.onWorkspaceClosed(({workspaceId:a})=>e(c=>{const l={...c};for(const u in l)if(l[u].includes(a)){l[u]=l[u].filter(f=>f!==a);break}return l}));r.push(i)}catch(o){console.error(o)}})(),()=>r.forEach(o=>o?.())},[n]),t},As=t=>{const{io:e,item:n}=t;e.appManager.application(n.id).start().catch(r=>{console.error("Failed to start application: ",{error:r})})},Rs=t=>{const{io:e,item:n,frame:r}=t;if(!e.workspaces)return;const o={type:"workspace",definition:{frame:r?{reuseFrameId:r.id}:{newFrame:!0}}},i=e.workspaces.getBuilder(o);i.addGroup().addWindow({appName:n.id}),i.create().catch(a=>{console.error("Failed to create workspace: ",{error:a})})},Ls={openInNewWindow:As,openInNewWorkspace:Rs},zo=()=>{const t=y.useContext(ee.IOConnectContext),e=Do();return(n,r)=>{Ls[r]({io:t,item:n,frame:e})}},Ms=t=>{const{io:e,item:n}=t;e.workspaces&&e.workspaces.restoreWorkspace(n.id,{newFrame:!0}).catch(r=>{console.error("Failed to open workspace in new frame: ",{error:r})})},Ds=async t=>{const{io:e,item:n,removeFavorite:r}=t;if(e.workspaces)try{await e.workspaces.layouts.delete(n.id),r(n.id)}catch(o){console.error("Failed to delete workspace: ",{error:o})}},Fs={openInNewFrame:Ms,delete:Ds},Vo=()=>{const t=y.useContext(ee.IOConnectContext),{removeFavorite:e}=cn();return(n,r)=>{Fs[r]({io:t,item:n,removeFavorite:e})}},Us=t=>{const{layout:e,setDefaultLayout:n}=t;n({name:e.name})},Hs=t=>{const{io:e,layout:n}=t;e.layouts.remove("Global",n.name).catch(r=>{console.error("Failed to delete layout: ",{error:r})})},Ws={setAsDefault:Us,delete:Hs},zs=()=>{const t=y.useContext(ee.IOConnectContext);return y.useCallback((n,r,o)=>{Ws[r]({io:t,layout:n,setDefaultLayout:o})},[t])};var Jt={},Vs={get exports(){return Jt},set exports(t){Jt=t}};(function(t,e){(function(n,r){var o="1.0.35",i="",a="?",c="function",l="undefined",u="object",f="string",p="major",d="model",h="name",m="type",v="vendor",g="version",w="architecture",j="console",O="mobile",C="tablet",b="smarttv",k="wearable",_="embedded",S=350,I="Amazon",R="Apple",W="ASUS",re="BlackBerry",te="Browser",se="Chrome",be="Edge",J="Firefox",ne="Google",xe="Huawei",pe="LG",E="Microsoft",T="Motorola",L="Opera",D="Samsung",N="Sharp",M="Sony",A="Xiaomi",F="Zebra",z="Facebook",Z="Chromium OS",B="Mac OS",ie=function(V,q){var U={};for(var Q in V)q[Q]&&q[Q].length%2===0?U[Q]=q[Q].concat(V[Q]):U[Q]=V[Q];return U},P=function(V){for(var q={},U=0;U<V.length;U++)q[V[U].toUpperCase()]=V[U];return q},de=function(V,q){return typeof V===f?Ce(q).indexOf(Ce(V))!==-1:!1},Ce=function(V){return V.toLowerCase()},ot=function(V){return typeof V===f?V.replace(/[^\d\.]/g,i).split(".")[0]:r},it=function(V,q){if(typeof V===f)return V=V.replace(/^\s\s*/,i),typeof q===l?V:V.substring(0,S)},We=function(V,q){for(var U=0,Q,Ve,_e,K,H,Ie;U<q.length&&!H;){var xn=q[U],Ir=q[U+1];for(Q=Ve=0;Q<xn.length&&!H&&xn[Q];)if(H=xn[Q++].exec(V),H)for(_e=0;_e<Ir.length;_e++)Ie=H[++Ve],K=Ir[_e],typeof K===u&&K.length>0?K.length===2?typeof K[1]==c?this[K[0]]=K[1].call(this,Ie):this[K[0]]=K[1]:K.length===3?typeof K[1]===c&&!(K[1].exec&&K[1].test)?this[K[0]]=Ie?K[1].call(this,Ie,K[2]):r:this[K[0]]=Ie?Ie.replace(K[1],K[2]):r:K.length===4&&(this[K[0]]=Ie?K[3].call(this,Ie.replace(K[1],K[2])):r):this[K]=Ie||r;U+=2}},Ct=function(V,q){for(var U in q)if(typeof q[U]===u&&q[U].length>0){for(var Q=0;Q<q[U].length;Q++)if(de(q[U][Q],V))return U===a?r:U}else if(de(q[U],V))return U===a?r:U;return V},wn={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Te={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},qe={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[g,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,g],[/opios[\/ ]+([\w\.]+)/i],[g,[h,L+" Mini"]],[/\bopr\/([\w\.]+)/i],[g,[h,L]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,g],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[h,"UC"+te]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[g,[h,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[g,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[h,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+te],g],[/\bfocus\/([\w\.]+)/i],[g,[h,J+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[h,L+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[h,L+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[h,"MIUI "+te]],[/fxios\/([-\w\.]+)/i],[g,[h,J]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+te]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+te],g],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[h,g],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,z],g],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[h,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[h,se+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,se+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[h,"Android "+te]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[g,Ct,wn]],[/(webkit|khtml)\/([\w\.]+)/i],[h,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[h,J+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,g],[/(cobalt)\/([\w\.]+)/i],[h,[g,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,Ce]],[/((?:i[346]|x)86)[;\)]/i],[[w,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[w,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[w,"armhf"]],[/windows (ce|mobile); ppc;/i],[[w,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[w,/ower/,i,Ce]],[/(sun4\w)[;\)]/i],[[w,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[w,Ce]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[v,D],[m,C]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[v,D],[m,O]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[v,R],[m,O]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[v,R],[m,C]],[/(macintosh);/i],[d,[v,R]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[v,N],[m,O]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[v,xe],[m,C]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[v,xe],[m,O]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[v,A],[m,O]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[v,A],[m,C]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[v,"OPPO"],[m,O]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[v,"Vivo"],[m,O]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[d,[v,"Realme"],[m,O]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[v,T],[m,O]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[v,T],[m,C]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[v,pe],[m,C]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[v,pe],[m,O]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[v,"Lenovo"],[m,C]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[v,"Nokia"],[m,O]],[/(pixel c)\b/i],[d,[v,ne],[m,C]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[v,ne],[m,O]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[v,M],[m,O]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[v,M],[m,C]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[v,"OnePlus"],[m,O]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[v,I],[m,C]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[v,I],[m,O]],[/(playbook);[-\w\),; ]+(rim)/i],[d,v,[m,C]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[v,re],[m,O]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[v,W],[m,C]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[v,W],[m,O]],[/(nexus 9)/i],[d,[v,"HTC"],[m,C]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[d,/_/g," "],[m,O]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[v,"Acer"],[m,C]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[v,"Meizu"],[m,O]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,d,[m,O]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[v,d,[m,C]],[/(surface duo)/i],[d,[v,E],[m,C]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[v,"Fairphone"],[m,O]],[/(u304aa)/i],[d,[v,"AT&T"],[m,O]],[/\bsie-(\w*)/i],[d,[v,"Siemens"],[m,O]],[/\b(rct\w+) b/i],[d,[v,"RCA"],[m,C]],[/\b(venue[\d ]{2,7}) b/i],[d,[v,"Dell"],[m,C]],[/\b(q(?:mv|ta)\w+) b/i],[d,[v,"Verizon"],[m,C]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[v,"Barnes & Noble"],[m,C]],[/\b(tm\d{3}\w+) b/i],[d,[v,"NuVision"],[m,C]],[/\b(k88) b/i],[d,[v,"ZTE"],[m,C]],[/\b(nx\d{3}j) b/i],[d,[v,"ZTE"],[m,O]],[/\b(gen\d{3}) b.+49h/i],[d,[v,"Swiss"],[m,O]],[/\b(zur\d{3}) b/i],[d,[v,"Swiss"],[m,C]],[/\b((zeki)?tb.*\b) b/i],[d,[v,"Zeki"],[m,C]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],d,[m,C]],[/\b(ns-?\w{0,9}) b/i],[d,[v,"Insignia"],[m,C]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[v,"NextBook"],[m,C]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],d,[m,O]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],d,[m,O]],[/\b(ph-1) /i],[d,[v,"Essential"],[m,O]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[v,"Envizen"],[m,C]],[/\b(trio[-\w\. ]+) b/i],[d,[v,"MachSpeed"],[m,C]],[/\btu_(1491) b/i],[d,[v,"Rotor"],[m,C]],[/(shield[\w ]+) b/i],[d,[v,"Nvidia"],[m,C]],[/(sprint) (\w+)/i],[v,d,[m,O]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[v,E],[m,O]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[v,F],[m,C]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[v,F],[m,O]],[/smart-tv.+(samsung)/i],[v,[m,b]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[v,D],[m,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,pe],[m,b]],[/(apple) ?tv/i],[v,[d,R+" TV"],[m,b]],[/crkey/i],[[d,se+"cast"],[v,ne],[m,b]],[/droid.+aft(\w)( bui|\))/i],[d,[v,I],[m,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[v,N],[m,b]],[/(bravia[\w ]+)( bui|\))/i],[d,[v,M],[m,b]],[/(mitv-\w{5}) bui/i],[d,[v,A],[m,b]],[/Hbbtv.*(technisat) (.*);/i],[v,d,[m,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,it],[d,it],[m,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,d,[m,j]],[/droid.+; (shield) bui/i],[d,[v,"Nvidia"],[m,j]],[/(playstation [345portablevi]+)/i],[d,[v,M],[m,j]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[v,E],[m,j]],[/((pebble))app/i],[v,d,[m,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[v,R],[m,k]],[/droid.+; (glass) \d/i],[d,[v,ne],[m,k]],[/droid.+; (wt63?0{2,3})\)/i],[d,[v,F],[m,k]],[/(quest( 2| pro)?)/i],[d,[v,z],[m,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[m,_]],[/(aeobc)\b/i],[d,[v,I],[m,_]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[d,[m,O]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[m,C]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,C]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,O]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[h,be+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,g],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[h,[g,Ct,Te]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,"Windows"],[g,Ct,Te]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,B],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,g],[/\(bb(10);/i],[g,[h,re]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[h,J+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[h,se+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,Z],g],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,g],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,g]]},he=function(V,q){if(typeof V===u&&(q=V,V=r),!(this instanceof he))return new he(V,q).getResult();var U=typeof n!==l&&n.navigator?n.navigator:r,Q=V||(U&&U.userAgent?U.userAgent:i),Ve=U&&U.userAgentData?U.userAgentData:r,_e=q?ie(qe,q):qe,K=U&&U.userAgent==Q;return this.getBrowser=function(){var H={};return H[h]=r,H[g]=r,We.call(H,Q,_e.browser),H[p]=ot(H[g]),K&&U&&U.brave&&typeof U.brave.isBrave==c&&(H[h]="Brave"),H},this.getCPU=function(){var H={};return H[w]=r,We.call(H,Q,_e.cpu),H},this.getDevice=function(){var H={};return H[v]=r,H[d]=r,H[m]=r,We.call(H,Q,_e.device),K&&!H[m]&&Ve&&Ve.mobile&&(H[m]=O),K&&H[d]=="Macintosh"&&U&&typeof U.standalone!==l&&U.maxTouchPoints&&U.maxTouchPoints>2&&(H[d]="iPad",H[m]=C),H},this.getEngine=function(){var H={};return H[h]=r,H[g]=r,We.call(H,Q,_e.engine),H},this.getOS=function(){var H={};return H[h]=r,H[g]=r,We.call(H,Q,_e.os),K&&!H[h]&&Ve&&Ve.platform!="Unknown"&&(H[h]=Ve.platform.replace(/chrome os/i,Z).replace(/macos/i,B)),H},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Q},this.setUA=function(H){return Q=typeof H===f&&H.length>S?it(H,S):H,this},this.setUA(Q),this};he.VERSION=o,he.BROWSER=P([h,g,p]),he.CPU=P([w]),he.DEVICE=P([d,v,m,j,O,b,C,k,_]),he.ENGINE=he.OS=P([h,g]),t.exports&&(e=t.exports=he),e.UAParser=he;var Me=typeof n!==l&&(n.jQuery||n.Zepto);if(Me&&!Me.ua){var ze=new he;Me.ua=ze.getResult(),Me.ua.get=function(){return ze.getUA()},Me.ua.set=function(V){ze.setUA(V);var q=ze.getResult();for(var U in q)Me.ua[U]=q[U]}}})(typeof window=="object"?window:os)})(Vs,Jt);const Bs=new Jt.UAParser,lr=()=>Ze.useMemo(()=>Bs.getBrowser(),[]);var Rr=function(e){return e.reduce(function(n,r){var o=r[0],i=r[1];return n[o]=i,n},{})},Lr=typeof window<"u"&&window.document&&window.document.createElement?Ze.useLayoutEffect:Ze.useEffect,ve="top",je="bottom",Ee="right",ge="left",un="auto",Ft=[ve,je,Ee,ge],vt="start",Lt="end",Zs="clippingParents",Bo="viewport",Et="popper",$s="reference",Mr=Ft.reduce(function(t,e){return t.concat([e+"-"+vt,e+"-"+Lt])},[]),Zo=[].concat(Ft,[un]).reduce(function(t,e){return t.concat([e,e+"-"+vt,e+"-"+Lt])},[]),Gs="beforeRead",qs="read",Ks="afterRead",Ys="beforeMain",Xs="main",Js="afterMain",Qs="beforeWrite",ea="write",ta="afterWrite",Wn=[Gs,qs,Ks,Ys,Xs,Js,Qs,ea,ta];function Le(t){return t?(t.nodeName||"").toLowerCase():null}function Se(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function nt(t){var e=Se(t).Element;return t instanceof e||t instanceof Element}function we(t){var e=Se(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function ur(t){if(typeof ShadowRoot>"u")return!1;var e=Se(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function na(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},o=e.attributes[n]||{},i=e.elements[n];!we(i)||!Le(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var c=o[a];c===!1?i.removeAttribute(a):i.setAttribute(a,c===!0?"":c)}))})}function ra(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var o=e.elements[r],i=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),c=a.reduce(function(l,u){return l[u]="",l},{});!we(o)||!Le(o)||(Object.assign(o.style,c),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const oa={name:"applyStyles",enabled:!0,phase:"write",fn:na,effect:ra,requires:["computeStyles"]};function ke(t){return t.split("-")[0]}var tt=Math.max,Qt=Math.min,gt=Math.round;function zn(){var t=navigator.userAgentData;return t!=null&&t.brands?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function $o(){return!/^((?!chrome|android).)*safari/i.test(zn())}function yt(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),o=1,i=1;e&&we(t)&&(o=t.offsetWidth>0&>(r.width)/t.offsetWidth||1,i=t.offsetHeight>0&>(r.height)/t.offsetHeight||1);var a=nt(t)?Se(t):window,c=a.visualViewport,l=!$o()&&n,u=(r.left+(l&&c?c.offsetLeft:0))/o,f=(r.top+(l&&c?c.offsetTop:0))/i,p=r.width/o,d=r.height/i;return{width:p,height:d,top:f,right:u+p,bottom:f+d,left:u,x:u,y:f}}function dr(t){var e=yt(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Go(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&ur(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Pe(t){return Se(t).getComputedStyle(t)}function ia(t){return["table","td","th"].indexOf(Le(t))>=0}function $e(t){return((nt(t)?t.ownerDocument:t.document)||window.document).documentElement}function dn(t){return Le(t)==="html"?t:t.assignedSlot||t.parentNode||(ur(t)?t.host:null)||$e(t)}function Dr(t){return!we(t)||Pe(t).position==="fixed"?null:t.offsetParent}function sa(t){var e=/firefox/i.test(zn()),n=/Trident/i.test(zn());if(n&&we(t)){var r=Pe(t);if(r.position==="fixed")return null}var o=dn(t);for(ur(o)&&(o=o.host);we(o)&&["html","body"].indexOf(Le(o))<0;){var i=Pe(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Ut(t){for(var e=Se(t),n=Dr(t);n&&ia(n)&&Pe(n).position==="static";)n=Dr(n);return n&&(Le(n)==="html"||Le(n)==="body"&&Pe(n).position==="static")?e:n||sa(t)||e}function fr(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function It(t,e,n){return tt(t,Qt(e,n))}function aa(t,e,n){var r=It(t,e,n);return r>n?n:r}function qo(){return{top:0,right:0,bottom:0,left:0}}function Ko(t){return Object.assign({},qo(),t)}function Yo(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var ca=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Ko(typeof e!="number"?e:Yo(e,Ft))};function la(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,c=ke(n.placement),l=fr(c),u=[ge,Ee].indexOf(c)>=0,f=u?"height":"width";if(!(!i||!a)){var p=ca(o.padding,n),d=dr(i),h=l==="y"?ve:ge,m=l==="y"?je:Ee,v=n.rects.reference[f]+n.rects.reference[l]-a[l]-n.rects.popper[f],g=a[l]-n.rects.reference[l],w=Ut(i),j=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,O=v/2-g/2,C=p[h],b=j-d[f]-p[m],k=j/2-d[f]/2+O,_=It(C,k,b),S=l;n.modifiersData[r]=(e={},e[S]=_,e.centerOffset=_-k,e)}}function ua(t){var e=t.state,n=t.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;if(o!=null&&!(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o))){if(process.env.NODE_ENV!=="production"&&(we(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),!Go(e.elements.popper,o)){process.env.NODE_ENV!=="production"&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}e.elements.arrow=o}}const da={name:"arrow",enabled:!0,phase:"main",fn:la,effect:ua,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function bt(t){return t.split("-")[1]}var fa={top:"auto",right:"auto",bottom:"auto",left:"auto"};function pa(t){var e=t.x,n=t.y,r=window,o=r.devicePixelRatio||1;return{x:gt(e*o)/o||0,y:gt(n*o)/o||0}}function Fr(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,a=t.offsets,c=t.position,l=t.gpuAcceleration,u=t.adaptive,f=t.roundOffsets,p=t.isFixed,d=a.x,h=d===void 0?0:d,m=a.y,v=m===void 0?0:m,g=typeof f=="function"?f({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var w=a.hasOwnProperty("x"),j=a.hasOwnProperty("y"),O=ge,C=ve,b=window;if(u){var k=Ut(n),_="clientHeight",S="clientWidth";if(k===Se(n)&&(k=$e(n),Pe(k).position!=="static"&&c==="absolute"&&(_="scrollHeight",S="scrollWidth")),k=k,o===ve||(o===ge||o===Ee)&&i===Lt){C=je;var I=p&&k===b&&b.visualViewport?b.visualViewport.height:k[_];v-=I-r.height,v*=l?1:-1}if(o===ge||(o===ve||o===je)&&i===Lt){O=Ee;var R=p&&k===b&&b.visualViewport?b.visualViewport.width:k[S];h-=R-r.width,h*=l?1:-1}}var W=Object.assign({position:c},u&&fa),re=f===!0?pa({x:h,y:v}):{x:h,y:v};if(h=re.x,v=re.y,l){var te;return Object.assign({},W,(te={},te[C]=j?"0":"",te[O]=w?"0":"",te.transform=(b.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",te))}return Object.assign({},W,(e={},e[C]=j?v+"px":"",e[O]=w?h+"px":"",e.transform="",e))}function ha(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,c=n.roundOffsets,l=c===void 0?!0:c;if(process.env.NODE_ENV!=="production"){var u=Pe(e.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some(function(p){return u.indexOf(p)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
|
|
19
19
|
|
|
20
20
|
`,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
|
|
21
21
|
|
|
22
|
-
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var f={placement:ke(e.placement),variation:yt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Lr(Object.assign({},f,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Lr(Object.assign({},f,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const ha={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:pa,data:{}};var Vt={passive:!0};function ma(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,c=a===void 0?!0:a,l=Se(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach(function(f){f.addEventListener("scroll",n.update,Vt)}),c&&l.addEventListener("resize",n.update,Vt),function(){i&&u.forEach(function(f){f.removeEventListener("scroll",n.update,Vt)}),c&&l.removeEventListener("resize",n.update,Vt)}}const va={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ma,data:{}};var ga={left:"right",right:"left",bottom:"top",top:"bottom"};function $t(t){return t.replace(/left|right|bottom|top/g,function(e){return ga[e]})}var ya={start:"end",end:"start"};function Mr(t){return t.replace(/start|end/g,function(e){return ya[e]})}function fr(t){var e=Se(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function pr(t){return gt($e(t)).left+fr(t).scrollLeft}function ba(t,e){var n=Se(t),r=$e(t),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,c=0,l=0;if(o){i=o.width,a=o.height;var u=Vo();(u||!u&&e==="fixed")&&(c=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:c+pr(t),y:l}}function wa(t){var e,n=$e(t),r=fr(t),o=(e=t.ownerDocument)==null?void 0:e.body,i=tt(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=tt(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+pr(t),l=-r.scrollTop;return Pe(o||n).direction==="rtl"&&(c+=tt(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:l}}function hr(t){var e=Pe(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function qo(t){return["html","body","#document"].indexOf(Re(t))>=0?t.ownerDocument.body:we(t)&&hr(t)?t:qo(un(t))}function Nt(t,e){var n;e===void 0&&(e=[]);var r=qo(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=Se(r),a=o?[i].concat(i.visualViewport||[],hr(r)?r:[]):r,c=e.concat(a);return o?c:c.concat(Nt(un(a)))}function Vn(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function xa(t,e){var n=gt(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Dr(t,e,n){return e===Wo?Vn(ba(t,n)):nt(e)?xa(e,n):Vn(wa($e(t)))}function Ca(t){var e=Nt(un(t)),n=["absolute","fixed"].indexOf(Pe(t).position)>=0,r=n&&we(t)?Ft(t):t;return nt(r)?e.filter(function(o){return nt(o)&&Bo(o,r)&&Re(o)!=="body"}):[]}function Oa(t,e,n,r){var o=e==="clippingParents"?Ca(t):[].concat(e),i=[].concat(o,[n]),a=i[0],c=i.reduce(function(l,u){var f=Dr(t,u,r);return l.top=tt(f.top,l.top),l.right=Jt(f.right,l.right),l.bottom=Jt(f.bottom,l.bottom),l.left=tt(f.left,l.left),l},Dr(t,a,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Ko(t){var e=t.reference,n=t.element,r=t.placement,o=r?ke(r):null,i=r?yt(r):null,a=e.x+e.width/2-n.width/2,c=e.y+e.height/2-n.height/2,l;switch(o){case ve:l={x:a,y:e.y-n.height};break;case je:l={x:a,y:e.y+e.height};break;case Ee:l={x:e.x+e.width,y:c};break;case ge:l={x:e.x-n.width,y:c};break;default:l={x:e.x,y:e.y}}var u=o?dr(o):null;if(u!=null){var f=u==="y"?"height":"width";switch(i){case mt:l[u]=l[u]-(e[f]/2-n[f]/2);break;case Rt:l[u]=l[u]+(e[f]/2-n[f]/2);break}}return l}function Lt(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=r===void 0?t.placement:r,i=n.strategy,a=i===void 0?t.strategy:i,c=n.boundary,l=c===void 0?Bs:c,u=n.rootBoundary,f=u===void 0?Wo:u,p=n.elementContext,d=p===void 0?Et:p,h=n.altBoundary,m=h===void 0?!1:h,v=n.padding,g=v===void 0?0:v,w=$o(typeof g!="number"?g:Go(g,Dt)),j=d===Et?Zs:Et,O=t.rects.popper,C=t.elements[m?j:d],b=Oa(nt(C)?C:C.contextElement||$e(t.elements.popper),l,f,a),k=gt(t.elements.reference),_=Ko({reference:k,element:O,strategy:"absolute",placement:o}),S=Vn(Object.assign({},O,_)),I=d===Et?S:k,R={top:b.top-I.top+w.top,bottom:I.bottom-b.bottom+w.bottom,left:b.left-I.left+w.left,right:I.right-b.right+w.right},W=t.modifiersData.offset;if(d===Et&&W){var re=W[o];Object.keys(R).forEach(function(te){var se=[Ee,je].indexOf(te)>=0?1:-1,be=[ve,je].indexOf(te)>=0?"y":"x";R[te]+=re[be]*se})}return R}function ja(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,c=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?zo:l,f=yt(r),p=f?c?Ar:Ar.filter(function(m){return yt(m)===f}):Dt,d=p.filter(function(m){return u.indexOf(m)>=0});d.length===0&&(d=p,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var h=d.reduce(function(m,v){return m[v]=Lt(t,{placement:v,boundary:o,rootBoundary:i,padding:a})[ke(v)],m},{});return Object.keys(h).sort(function(m,v){return h[m]-h[v]})}function Ea(t){if(ke(t)===ln)return[];var e=$t(t);return[Mr(t),e,Mr(e)]}function Sa(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,c=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,f=n.boundary,p=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,m=h===void 0?!0:h,v=n.allowedAutoPlacements,g=e.options.placement,w=ke(g),j=w===g,O=l||(j||!m?[$t(g)]:Ea(g)),C=[g].concat(O).reduce(function(N,M){return N.concat(ke(M)===ln?ja(e,{placement:M,boundary:f,rootBoundary:p,padding:u,flipVariations:m,allowedAutoPlacements:v}):M)},[]),b=e.rects.reference,k=e.rects.popper,_=new Map,S=!0,I=C[0],R=0;R<C.length;R++){var W=C[R],re=ke(W),te=yt(W)===mt,se=[ve,je].indexOf(re)>=0,be=se?"width":"height",J=Lt(e,{placement:W,boundary:f,rootBoundary:p,altBoundary:d,padding:u}),ne=se?te?Ee:ge:te?je:ve;b[be]>k[be]&&(ne=$t(ne));var xe=$t(ne),fe=[];if(i&&fe.push(J[re]<=0),c&&fe.push(J[ne]<=0,J[xe]<=0),fe.every(function(N){return N})){I=W,S=!1;break}_.set(W,fe)}if(S)for(var E=m?3:1,T=function(M){var A=C.find(function(F){var z=_.get(F);if(z)return z.slice(0,M).every(function(Z){return Z})});if(A)return I=A,"break"},L=E;L>0;L--){var D=T(L);if(D==="break")break}e.placement!==I&&(e.modifiersData[r]._skip=!0,e.placement=I,e.reset=!0)}}const ka={name:"flip",enabled:!0,phase:"main",fn:Sa,requiresIfExists:["offset"],data:{_skip:!1}};function Fr(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Ur(t){return[ve,Ee,je,ge].some(function(e){return t[e]>=0})}function Pa(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=Lt(e,{elementContext:"reference"}),c=Lt(e,{altBoundary:!0}),l=Fr(a,r),u=Fr(c,o,i),f=Ur(l),p=Ur(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:p},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":p})}const Ta={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Pa};function _a(t,e,n){var r=ke(t),o=[ge,ve].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=i[0],c=i[1];return a=a||0,c=(c||0)*o,[ge,Ee].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}function Ia(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=o===void 0?[0,0]:o,a=zo.reduce(function(f,p){return f[p]=_a(p,e.rects,i),f},{}),c=a[e.placement],l=c.x,u=c.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[r]=a}const Na={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ia};function Aa(t){var e=t.state,n=t.name;e.modifiersData[n]=Ko({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Ra={name:"popperOffsets",enabled:!0,phase:"read",fn:Aa,data:{}};function La(t){return t==="x"?"y":"x"}function Ma(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,c=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,f=n.altBoundary,p=n.padding,d=n.tether,h=d===void 0?!0:d,m=n.tetherOffset,v=m===void 0?0:m,g=Lt(e,{boundary:l,rootBoundary:u,padding:p,altBoundary:f}),w=ke(e.placement),j=yt(e.placement),O=!j,C=dr(w),b=La(C),k=e.modifiersData.popperOffsets,_=e.rects.reference,S=e.rects.popper,I=typeof v=="function"?v(Object.assign({},e.rects,{placement:e.placement})):v,R=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),W=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,re={x:0,y:0};if(k){if(i){var te,se=C==="y"?ve:ge,be=C==="y"?je:Ee,J=C==="y"?"height":"width",ne=k[C],xe=ne+g[se],fe=ne-g[be],E=h?-S[J]/2:0,T=j===mt?_[J]:S[J],L=j===mt?-S[J]:-_[J],D=e.elements.arrow,N=h&&D?ur(D):{width:0,height:0},M=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Zo(),A=M[se],F=M[be],z=It(0,_[J],N[J]),Z=O?_[J]/2-E-z-A-R.mainAxis:T-z-A-R.mainAxis,B=O?-_[J]/2+E+z+F+R.mainAxis:L+z+F+R.mainAxis,ie=e.elements.arrow&&Ft(e.elements.arrow),P=ie?C==="y"?ie.clientTop||0:ie.clientLeft||0:0,de=(te=W?.[C])!=null?te:0,Ce=ne+Z-de-P,rt=ne+B-de,ot=It(h?Jt(xe,Ce):xe,ne,h?tt(fe,rt):fe);k[C]=ot,re[C]=ot-ne}if(c){var We,Ct=C==="x"?ve:ge,bn=C==="x"?je:Ee,Te=k[b],qe=b==="y"?"height":"width",pe=Te+g[Ct],Le=Te-g[bn],ze=[ve,ge].indexOf(w)!==-1,V=(We=W?.[b])!=null?We:0,q=ze?pe:Te-_[qe]-S[qe]-V+R.altAxis,U=ze?Te+_[qe]+S[qe]-V-R.altAxis:Le,Q=h&&ze?sa(q,Te,U):It(h?q:pe,Te,h?U:Le);k[b]=Q,re[b]=Q-Te}e.modifiersData[r]=re}}const Da={name:"preventOverflow",enabled:!0,phase:"main",fn:Ma,requiresIfExists:["offset"]};function Fa(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Ua(t){return t===Se(t)||!we(t)?fr(t):Fa(t)}function Ha(t){var e=t.getBoundingClientRect(),n=vt(e.width)/t.offsetWidth||1,r=vt(e.height)/t.offsetHeight||1;return n!==1||r!==1}function Wa(t,e,n){n===void 0&&(n=!1);var r=we(e),o=we(e)&&Ha(e),i=$e(e),a=gt(t,o,n),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Re(e)!=="body"||hr(i))&&(c=Ua(e)),we(e)?(l=gt(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):i&&(l.x=pr(i))),{x:a.left+c.scrollLeft-l.x,y:a.top+c.scrollTop-l.y,width:a.width,height:a.height}}function za(t){var e=new Map,n=new Set,r=[];t.forEach(function(i){e.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(c){if(!n.has(c)){var l=e.get(c);l&&o(l)}}),r.push(i)}return t.forEach(function(i){n.has(i.name)||o(i)}),r}function Va(t){var e=za(t);return Wn.reduce(function(n,r){return n.concat(e.filter(function(o){return o.phase===r}))},[])}function Ba(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function Be(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return[].concat(n).reduce(function(o,i){return o.replace(/%s/,i)},t)}var Ke='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Za='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Hr=["name","enabled","phase","fn","effect","requires","options"];function $a(t){t.forEach(function(e){[].concat(Object.keys(e),Hr).filter(function(n,r,o){return o.indexOf(n)===r}).forEach(function(n){switch(n){case"name":typeof e.name!="string"&&console.error(Be(Ke,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(Be(Ke,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":Wn.indexOf(e.phase)<0&&console.error(Be(Ke,e.name,'"phase"',"either "+Wn.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(Be(Ke,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(Be(Ke,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(Be(Ke,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(Be(Ke,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+Hr.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+n+'" was provided.')}e.requires&&e.requires.forEach(function(r){t.find(function(o){return o.name===r})==null&&console.error(Be(Za,String(e.name),r,r))})})})}function Ga(t,e){var n=new Set;return t.filter(function(r){var o=e(r);if(!n.has(o))return n.add(o),!0})}function qa(t){var e=t.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Wr="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Ka="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",zr={placement:"bottom",modifiers:[],strategy:"absolute"};function Vr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Ya(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,o=e.defaultOptions,i=o===void 0?zr:o;return function(c,l,u){u===void 0&&(u=i);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},zr,i),modifiersData:{},elements:{reference:c,popper:l},attributes:{},styles:{}},p=[],d=!1,h={state:f,setOptions:function(w){var j=typeof w=="function"?w(f.options):w;v(),f.options=Object.assign({},i,f.options,j),f.scrollParents={reference:nt(c)?Nt(c):c.contextElement?Nt(c.contextElement):[],popper:Nt(l)};var O=Va(qa([].concat(r,f.options.modifiers)));if(f.orderedModifiers=O.filter(function(W){return W.enabled}),process.env.NODE_ENV!=="production"){var C=Ga([].concat(O,f.options.modifiers),function(W){var re=W.name;return re});if($a(C),ke(f.options.placement)===ln){var b=f.orderedModifiers.find(function(W){var re=W.name;return re==="flip"});b||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var k=Pe(l),_=k.marginTop,S=k.marginRight,I=k.marginBottom,R=k.marginLeft;[_,S,I,R].some(function(W){return parseFloat(W)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return m(),h.update()},forceUpdate:function(){if(!d){var w=f.elements,j=w.reference,O=w.popper;if(!Vr(j,O)){process.env.NODE_ENV!=="production"&&console.error(Wr);return}f.rects={reference:Wa(j,Ft(O),f.options.strategy==="fixed"),popper:ur(O)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(W){return f.modifiersData[W.name]=Object.assign({},W.data)});for(var C=0,b=0;b<f.orderedModifiers.length;b++){if(process.env.NODE_ENV!=="production"&&(C+=1,C>100)){console.error(Ka);break}if(f.reset===!0){f.reset=!1,b=-1;continue}var k=f.orderedModifiers[b],_=k.fn,S=k.options,I=S===void 0?{}:S,R=k.name;typeof _=="function"&&(f=_({state:f,options:I,name:R,instance:h})||f)}}},update:Ba(function(){return new Promise(function(g){h.forceUpdate(),g(f)})}),destroy:function(){v(),d=!0}};if(!Vr(c,l))return process.env.NODE_ENV!=="production"&&console.error(Wr),h;h.setOptions(u).then(function(g){!d&&u.onFirstUpdate&&u.onFirstUpdate(g)});function m(){f.orderedModifiers.forEach(function(g){var w=g.name,j=g.options,O=j===void 0?{}:j,C=g.effect;if(typeof C=="function"){var b=C({state:f,name:w,instance:h,options:O}),k=function(){};p.push(b||k)}})}function v(){p.forEach(function(g){return g()}),p=[]}return h}}var Xa=[va,Ra,ha,ra,Na,ka,Da,ua,Ta],Ja=Ya({defaultModifiers:Xa}),Qa=typeof Element<"u",ec=typeof Map=="function",tc=typeof Set=="function",nc=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Gt(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var n,r,o;if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(r=n;r--!==0;)if(!Gt(t[r],e[r]))return!1;return!0}var i;if(ec&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i=t.entries();!(r=i.next()).done;)if(!e.has(r.value[0]))return!1;for(i=t.entries();!(r=i.next()).done;)if(!Gt(r.value[1],e.get(r.value[0])))return!1;return!0}if(tc&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i=t.entries();!(r=i.next()).done;)if(!e.has(r.value[0]))return!1;return!0}if(nc&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if(n=t.length,n!=e.length)return!1;for(r=n;r--!==0;)if(t[r]!==e[r])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf&&typeof t.valueOf=="function"&&typeof e.valueOf=="function")return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString&&typeof t.toString=="function"&&typeof e.toString=="function")return t.toString()===e.toString();if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,o[r]))return!1;if(Qa&&t instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&t.$$typeof)&&!Gt(t[o[r]],e[o[r]]))return!1;return!0}return t!==t&&e!==e}var rc=function(e,n){try{return Gt(e,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}},oc=[],ic=function(e,n,r){r===void 0&&(r={});var o=Ze.useRef(null),i={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||oc},a=Ze.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),c=a[0],l=a[1],u=Ze.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(h){var m=h.state,v=Object.keys(m.elements);Qi.flushSync(function(){l({styles:Ir(v.map(function(g){return[g,m.styles[g]||{}]})),attributes:Ir(v.map(function(g){return[g,m.attributes[g]]}))})})},requires:["computeStyles"]}},[]),f=Ze.useMemo(function(){var d={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[u,{name:"applyStyles",enabled:!1}])};return rc(o.current,d)?o.current||d:(o.current=d,d)},[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,u]),p=Ze.useRef();return Nr(function(){p.current&&p.current.setOptions(f)},[f]),Nr(function(){if(!(e==null||n==null)){var d=r.createPopper||Ja,h=d(e,n,f);return p.current=h,function(){h.destroy(),p.current=null}}},[e,n,r.createPopper]),{state:p.current?p.current.state:null,styles:c.styles,attributes:c.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}};const Yo=y.forwardRef((t,e)=>{const{actions:n,className:r,onClose:o,onActionItemClick:i,...a}=t,c=y.useRef({}),[l,u]=y.useState(0),f=p=>{c.current[p]?.focus(),u(p)};return y.useEffect(()=>{c.current[l]?.focus()},[]),s.jsx("ul",{className:$(r,"io-dropdown-panel"),ref:e,...a,"data-testid":"context-menu",onKeyDown:p=>To({event:p,currentIndex:l,min:0,max:n.length-1,moveFocus:f,onClose:o}),children:n.map((p,d)=>s.jsx("li",{className:$("io-list-item",p.disabled&&"disabled"),...ht(h=>i(h,p)),ref:h=>c.current[d]=h,tabIndex:-1,"data-testid":`context-menu-item-${p.name}`,children:s.jsx("span",{className:"io-list-title",children:p.displayName||p.name})},p.name))})});function mr(t){const{iconName:e,iconSize:n,actions:r,onActionItemClick:o,isTabStop:i}=t,[a,c]=y.useState(!1),[l,u]=y.useState(null),[f,p]=y.useState(null),{styles:d,attributes:h}=ic(l,f,{placement:"bottom-end"});y.useEffect(()=>{if(!a)return;const g=j=>{l?.contains(j.target)||f?.contains(j.target)||c(!1)},w=()=>{document.activeElement?.nodeName==="IFRAME"&&c(!1)};return document.body.addEventListener("click",g,!0),window.addEventListener("blur",w),()=>{document.body.removeEventListener("click",g,!0),window.removeEventListener("blur",w)}},[f,l,a,c]);const m=g=>{g.stopPropagation(),c(w=>!w),f?.focus()},v=(g,w)=>{g.stopPropagation(),o(g,w),c(!1)};return s.jsxs(s.Fragment,{children:[s.jsx(oe,{tabIndex:i?0:-1,size:n,name:e,handleClick:m,ref:u,"data-testid":"context-menu-icon"}),a&&s.jsx(Yo,{actions:r,style:d.popper,ref:p,onActionItemClick:v,onClose:()=>{l?.focus(),c(!1)},...h.popper})]})}const Xo=t=>{const{className:e,isFavoritismEnabled:n=!0,item:r,onClick:o,onKeyDown:i,focused:a,...c}=t,{favoriteEntities:l,toggleFavorite:u}=an(),{description:f,icon:p="application",iconSrc:d,isOpen:h=!1,title:m,contextMenuActions:v}=r,g=n&&l.some(w=>w.type===r.type&&w.title===r.title);return s.jsxs("div",{tabIndex:a?0:-1,className:$(e,"io-list-item"),onKeyDown:w=>{if(Po(w)){o(w),w.preventDefault(),w.stopPropagation();return}i(w)},onClick:o,"data-testid":"base-section-item",...c,children:[s.jsxs("div",{className:"io-list-row",children:[s.jsx(oe,{size:8,name:h?"check":"","data-testid":"open-check-icon"}),d?s.jsx(sr,{className:"section-img-icon",src:d,alt:`${m} icon`,size:14,"data-testid":"img-icon"}):s.jsx(oe,{className:"section-icon",size:14,name:p,"data-testid":"icon"}),s.jsx("span",{className:"title","data-testid":"title",children:m}),h&&s.jsx("span",{className:"opened","data-testid":"opened-label",children:"Opened"}),v&&v.length>0&&s.jsx(mr,{iconName:"ellipsis",iconSize:16,actions:v,onActionItemClick:o,isTabStop:a}),n&&s.jsx(oe,{tabIndex:a?0:-1,className:$("favorite",g&&"visible"),name:g?"star-full":"star",handleClick:w=>{w.stopPropagation(),u(r)},size:16,"data-testid":"favorite-icon"})]}),f&&s.jsx("div",{className:"io-list-row",children:s.jsx("span",{className:"description","data-testid":"description",children:f})})]})},Jo=ye({name:he}),Qo="Welcome",sc=5,ac=()=>{const[t,e]=y.useState(null),[n,r]=sn("sessionStorage",Io,Jo),o=y.useRef(!1),i=ar(),a=y.useContext(ee.IOConnectContext),c=y.useCallback(async({name:l})=>{try{await a.layouts.setDefaultGlobal(l),e({name:l})}catch(u){console.error("Failed to set default layout: ",{error:u})}},[a]);return y.useEffect(()=>{if(!a||o.current)return;(async()=>{o.current=!0;const u=await a.layouts.getDefaultGlobal()||await a.layouts.get(Qo,"Global");u&&(e({name:u.name}),n||i(u.name,r))})()},[a,n,i,r]),{defaultLayout:t,selectedLayout:n,setDefaultLayout:c,setSelectedLayout:r}},ei=y.createContext(void 0),wt=()=>{const t=y.useContext(ei);if(t===void 0)throw new Error("useLaunchpadAPI must be used within a LaunchpadAPIProvider");return t},cc=({children:t,setOpen:e,isOpen:n})=>{const{defaultLayout:r,selectedLayout:o,setDefaultLayout:i,setSelectedLayout:a}=ac(),l={close:y.useCallback(()=>e(!1),[e]),isOpen:n,defaultLayout:r,selectedLayout:o,setDefaultLayout:i,setSelectedLayout:a};return s.jsx(ei.Provider,{value:l,children:t})};var x={},Br={get exports(){return x},set exports(t){x=t}},Qt={},lc={get exports(){return Qt},set exports(t){Qt=t}},Y={};/** @license React v16.13.1
|
|
22
|
+
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var f={placement:ke(e.placement),variation:bt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Fr(Object.assign({},f,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Fr(Object.assign({},f,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const ma={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ha,data:{}};var Bt={passive:!0};function va(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,c=a===void 0?!0:a,l=Se(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach(function(f){f.addEventListener("scroll",n.update,Bt)}),c&&l.addEventListener("resize",n.update,Bt),function(){i&&u.forEach(function(f){f.removeEventListener("scroll",n.update,Bt)}),c&&l.removeEventListener("resize",n.update,Bt)}}const ga={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:va,data:{}};var ya={left:"right",right:"left",bottom:"top",top:"bottom"};function Gt(t){return t.replace(/left|right|bottom|top/g,function(e){return ya[e]})}var ba={start:"end",end:"start"};function Ur(t){return t.replace(/start|end/g,function(e){return ba[e]})}function pr(t){var e=Se(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function hr(t){return yt($e(t)).left+pr(t).scrollLeft}function wa(t,e){var n=Se(t),r=$e(t),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,c=0,l=0;if(o){i=o.width,a=o.height;var u=$o();(u||!u&&e==="fixed")&&(c=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:c+hr(t),y:l}}function xa(t){var e,n=$e(t),r=pr(t),o=(e=t.ownerDocument)==null?void 0:e.body,i=tt(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=tt(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+hr(t),l=-r.scrollTop;return Pe(o||n).direction==="rtl"&&(c+=tt(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:l}}function mr(t){var e=Pe(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Xo(t){return["html","body","#document"].indexOf(Le(t))>=0?t.ownerDocument.body:we(t)&&mr(t)?t:Xo(dn(t))}function Nt(t,e){var n;e===void 0&&(e=[]);var r=Xo(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=Se(r),a=o?[i].concat(i.visualViewport||[],mr(r)?r:[]):r,c=e.concat(a);return o?c:c.concat(Nt(dn(a)))}function Vn(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Ca(t,e){var n=yt(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Hr(t,e,n){return e===Bo?Vn(wa(t,n)):nt(e)?Ca(e,n):Vn(xa($e(t)))}function Oa(t){var e=Nt(dn(t)),n=["absolute","fixed"].indexOf(Pe(t).position)>=0,r=n&&we(t)?Ut(t):t;return nt(r)?e.filter(function(o){return nt(o)&&Go(o,r)&&Le(o)!=="body"}):[]}function ja(t,e,n,r){var o=e==="clippingParents"?Oa(t):[].concat(e),i=[].concat(o,[n]),a=i[0],c=i.reduce(function(l,u){var f=Hr(t,u,r);return l.top=tt(f.top,l.top),l.right=Qt(f.right,l.right),l.bottom=Qt(f.bottom,l.bottom),l.left=tt(f.left,l.left),l},Hr(t,a,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Jo(t){var e=t.reference,n=t.element,r=t.placement,o=r?ke(r):null,i=r?bt(r):null,a=e.x+e.width/2-n.width/2,c=e.y+e.height/2-n.height/2,l;switch(o){case ve:l={x:a,y:e.y-n.height};break;case je:l={x:a,y:e.y+e.height};break;case Ee:l={x:e.x+e.width,y:c};break;case ge:l={x:e.x-n.width,y:c};break;default:l={x:e.x,y:e.y}}var u=o?fr(o):null;if(u!=null){var f=u==="y"?"height":"width";switch(i){case vt:l[u]=l[u]-(e[f]/2-n[f]/2);break;case Lt:l[u]=l[u]+(e[f]/2-n[f]/2);break}}return l}function Mt(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=r===void 0?t.placement:r,i=n.strategy,a=i===void 0?t.strategy:i,c=n.boundary,l=c===void 0?Zs:c,u=n.rootBoundary,f=u===void 0?Bo:u,p=n.elementContext,d=p===void 0?Et:p,h=n.altBoundary,m=h===void 0?!1:h,v=n.padding,g=v===void 0?0:v,w=Ko(typeof g!="number"?g:Yo(g,Ft)),j=d===Et?$s:Et,O=t.rects.popper,C=t.elements[m?j:d],b=ja(nt(C)?C:C.contextElement||$e(t.elements.popper),l,f,a),k=yt(t.elements.reference),_=Jo({reference:k,element:O,strategy:"absolute",placement:o}),S=Vn(Object.assign({},O,_)),I=d===Et?S:k,R={top:b.top-I.top+w.top,bottom:I.bottom-b.bottom+w.bottom,left:b.left-I.left+w.left,right:I.right-b.right+w.right},W=t.modifiersData.offset;if(d===Et&&W){var re=W[o];Object.keys(R).forEach(function(te){var se=[Ee,je].indexOf(te)>=0?1:-1,be=[ve,je].indexOf(te)>=0?"y":"x";R[te]+=re[be]*se})}return R}function Ea(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,c=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Zo:l,f=bt(r),p=f?c?Mr:Mr.filter(function(m){return bt(m)===f}):Ft,d=p.filter(function(m){return u.indexOf(m)>=0});d.length===0&&(d=p,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var h=d.reduce(function(m,v){return m[v]=Mt(t,{placement:v,boundary:o,rootBoundary:i,padding:a})[ke(v)],m},{});return Object.keys(h).sort(function(m,v){return h[m]-h[v]})}function Sa(t){if(ke(t)===un)return[];var e=Gt(t);return[Ur(t),e,Ur(e)]}function ka(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,c=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,f=n.boundary,p=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,m=h===void 0?!0:h,v=n.allowedAutoPlacements,g=e.options.placement,w=ke(g),j=w===g,O=l||(j||!m?[Gt(g)]:Sa(g)),C=[g].concat(O).reduce(function(N,M){return N.concat(ke(M)===un?Ea(e,{placement:M,boundary:f,rootBoundary:p,padding:u,flipVariations:m,allowedAutoPlacements:v}):M)},[]),b=e.rects.reference,k=e.rects.popper,_=new Map,S=!0,I=C[0],R=0;R<C.length;R++){var W=C[R],re=ke(W),te=bt(W)===vt,se=[ve,je].indexOf(re)>=0,be=se?"width":"height",J=Mt(e,{placement:W,boundary:f,rootBoundary:p,altBoundary:d,padding:u}),ne=se?te?Ee:ge:te?je:ve;b[be]>k[be]&&(ne=Gt(ne));var xe=Gt(ne),pe=[];if(i&&pe.push(J[re]<=0),c&&pe.push(J[ne]<=0,J[xe]<=0),pe.every(function(N){return N})){I=W,S=!1;break}_.set(W,pe)}if(S)for(var E=m?3:1,T=function(M){var A=C.find(function(F){var z=_.get(F);if(z)return z.slice(0,M).every(function(Z){return Z})});if(A)return I=A,"break"},L=E;L>0;L--){var D=T(L);if(D==="break")break}e.placement!==I&&(e.modifiersData[r]._skip=!0,e.placement=I,e.reset=!0)}}const Pa={name:"flip",enabled:!0,phase:"main",fn:ka,requiresIfExists:["offset"],data:{_skip:!1}};function Wr(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function zr(t){return[ve,Ee,je,ge].some(function(e){return t[e]>=0})}function Ta(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=Mt(e,{elementContext:"reference"}),c=Mt(e,{altBoundary:!0}),l=Wr(a,r),u=Wr(c,o,i),f=zr(l),p=zr(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:p},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":p})}const _a={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ta};function Ia(t,e,n){var r=ke(t),o=[ge,ve].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=i[0],c=i[1];return a=a||0,c=(c||0)*o,[ge,Ee].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}function Na(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=o===void 0?[0,0]:o,a=Zo.reduce(function(f,p){return f[p]=Ia(p,e.rects,i),f},{}),c=a[e.placement],l=c.x,u=c.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[r]=a}const Aa={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Na};function Ra(t){var e=t.state,n=t.name;e.modifiersData[n]=Jo({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const La={name:"popperOffsets",enabled:!0,phase:"read",fn:Ra,data:{}};function Ma(t){return t==="x"?"y":"x"}function Da(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,c=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,f=n.altBoundary,p=n.padding,d=n.tether,h=d===void 0?!0:d,m=n.tetherOffset,v=m===void 0?0:m,g=Mt(e,{boundary:l,rootBoundary:u,padding:p,altBoundary:f}),w=ke(e.placement),j=bt(e.placement),O=!j,C=fr(w),b=Ma(C),k=e.modifiersData.popperOffsets,_=e.rects.reference,S=e.rects.popper,I=typeof v=="function"?v(Object.assign({},e.rects,{placement:e.placement})):v,R=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),W=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,re={x:0,y:0};if(k){if(i){var te,se=C==="y"?ve:ge,be=C==="y"?je:Ee,J=C==="y"?"height":"width",ne=k[C],xe=ne+g[se],pe=ne-g[be],E=h?-S[J]/2:0,T=j===vt?_[J]:S[J],L=j===vt?-S[J]:-_[J],D=e.elements.arrow,N=h&&D?dr(D):{width:0,height:0},M=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:qo(),A=M[se],F=M[be],z=It(0,_[J],N[J]),Z=O?_[J]/2-E-z-A-R.mainAxis:T-z-A-R.mainAxis,B=O?-_[J]/2+E+z+F+R.mainAxis:L+z+F+R.mainAxis,ie=e.elements.arrow&&Ut(e.elements.arrow),P=ie?C==="y"?ie.clientTop||0:ie.clientLeft||0:0,de=(te=W?.[C])!=null?te:0,Ce=ne+Z-de-P,ot=ne+B-de,it=It(h?Qt(xe,Ce):xe,ne,h?tt(pe,ot):pe);k[C]=it,re[C]=it-ne}if(c){var We,Ct=C==="x"?ve:ge,wn=C==="x"?je:Ee,Te=k[b],qe=b==="y"?"height":"width",he=Te+g[Ct],Me=Te-g[wn],ze=[ve,ge].indexOf(w)!==-1,V=(We=W?.[b])!=null?We:0,q=ze?he:Te-_[qe]-S[qe]-V+R.altAxis,U=ze?Te+_[qe]+S[qe]-V-R.altAxis:Me,Q=h&&ze?aa(q,Te,U):It(h?q:he,Te,h?U:Me);k[b]=Q,re[b]=Q-Te}e.modifiersData[r]=re}}const Fa={name:"preventOverflow",enabled:!0,phase:"main",fn:Da,requiresIfExists:["offset"]};function Ua(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Ha(t){return t===Se(t)||!we(t)?pr(t):Ua(t)}function Wa(t){var e=t.getBoundingClientRect(),n=gt(e.width)/t.offsetWidth||1,r=gt(e.height)/t.offsetHeight||1;return n!==1||r!==1}function za(t,e,n){n===void 0&&(n=!1);var r=we(e),o=we(e)&&Wa(e),i=$e(e),a=yt(t,o,n),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Le(e)!=="body"||mr(i))&&(c=Ha(e)),we(e)?(l=yt(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):i&&(l.x=hr(i))),{x:a.left+c.scrollLeft-l.x,y:a.top+c.scrollTop-l.y,width:a.width,height:a.height}}function Va(t){var e=new Map,n=new Set,r=[];t.forEach(function(i){e.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(c){if(!n.has(c)){var l=e.get(c);l&&o(l)}}),r.push(i)}return t.forEach(function(i){n.has(i.name)||o(i)}),r}function Ba(t){var e=Va(t);return Wn.reduce(function(n,r){return n.concat(e.filter(function(o){return o.phase===r}))},[])}function Za(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function Be(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return[].concat(n).reduce(function(o,i){return o.replace(/%s/,i)},t)}var Ke='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',$a='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Vr=["name","enabled","phase","fn","effect","requires","options"];function Ga(t){t.forEach(function(e){[].concat(Object.keys(e),Vr).filter(function(n,r,o){return o.indexOf(n)===r}).forEach(function(n){switch(n){case"name":typeof e.name!="string"&&console.error(Be(Ke,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(Be(Ke,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":Wn.indexOf(e.phase)<0&&console.error(Be(Ke,e.name,'"phase"',"either "+Wn.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(Be(Ke,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(Be(Ke,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(Be(Ke,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(Be(Ke,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+Vr.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+n+'" was provided.')}e.requires&&e.requires.forEach(function(r){t.find(function(o){return o.name===r})==null&&console.error(Be($a,String(e.name),r,r))})})})}function qa(t,e){var n=new Set;return t.filter(function(r){var o=e(r);if(!n.has(o))return n.add(o),!0})}function Ka(t){var e=t.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Br="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Ya="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",Zr={placement:"bottom",modifiers:[],strategy:"absolute"};function $r(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Xa(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,o=e.defaultOptions,i=o===void 0?Zr:o;return function(c,l,u){u===void 0&&(u=i);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Zr,i),modifiersData:{},elements:{reference:c,popper:l},attributes:{},styles:{}},p=[],d=!1,h={state:f,setOptions:function(w){var j=typeof w=="function"?w(f.options):w;v(),f.options=Object.assign({},i,f.options,j),f.scrollParents={reference:nt(c)?Nt(c):c.contextElement?Nt(c.contextElement):[],popper:Nt(l)};var O=Ba(Ka([].concat(r,f.options.modifiers)));if(f.orderedModifiers=O.filter(function(W){return W.enabled}),process.env.NODE_ENV!=="production"){var C=qa([].concat(O,f.options.modifiers),function(W){var re=W.name;return re});if(Ga(C),ke(f.options.placement)===un){var b=f.orderedModifiers.find(function(W){var re=W.name;return re==="flip"});b||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var k=Pe(l),_=k.marginTop,S=k.marginRight,I=k.marginBottom,R=k.marginLeft;[_,S,I,R].some(function(W){return parseFloat(W)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return m(),h.update()},forceUpdate:function(){if(!d){var w=f.elements,j=w.reference,O=w.popper;if(!$r(j,O)){process.env.NODE_ENV!=="production"&&console.error(Br);return}f.rects={reference:za(j,Ut(O),f.options.strategy==="fixed"),popper:dr(O)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(W){return f.modifiersData[W.name]=Object.assign({},W.data)});for(var C=0,b=0;b<f.orderedModifiers.length;b++){if(process.env.NODE_ENV!=="production"&&(C+=1,C>100)){console.error(Ya);break}if(f.reset===!0){f.reset=!1,b=-1;continue}var k=f.orderedModifiers[b],_=k.fn,S=k.options,I=S===void 0?{}:S,R=k.name;typeof _=="function"&&(f=_({state:f,options:I,name:R,instance:h})||f)}}},update:Za(function(){return new Promise(function(g){h.forceUpdate(),g(f)})}),destroy:function(){v(),d=!0}};if(!$r(c,l))return process.env.NODE_ENV!=="production"&&console.error(Br),h;h.setOptions(u).then(function(g){!d&&u.onFirstUpdate&&u.onFirstUpdate(g)});function m(){f.orderedModifiers.forEach(function(g){var w=g.name,j=g.options,O=j===void 0?{}:j,C=g.effect;if(typeof C=="function"){var b=C({state:f,name:w,instance:h,options:O}),k=function(){};p.push(b||k)}})}function v(){p.forEach(function(g){return g()}),p=[]}return h}}var Ja=[ga,La,ma,oa,Aa,Pa,Fa,da,_a],Qa=Xa({defaultModifiers:Ja}),ec=typeof Element<"u",tc=typeof Map=="function",nc=typeof Set=="function",rc=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function qt(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var n,r,o;if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(r=n;r--!==0;)if(!qt(t[r],e[r]))return!1;return!0}var i;if(tc&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i=t.entries();!(r=i.next()).done;)if(!e.has(r.value[0]))return!1;for(i=t.entries();!(r=i.next()).done;)if(!qt(r.value[1],e.get(r.value[0])))return!1;return!0}if(nc&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i=t.entries();!(r=i.next()).done;)if(!e.has(r.value[0]))return!1;return!0}if(rc&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if(n=t.length,n!=e.length)return!1;for(r=n;r--!==0;)if(t[r]!==e[r])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf&&typeof t.valueOf=="function"&&typeof e.valueOf=="function")return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString&&typeof t.toString=="function"&&typeof e.toString=="function")return t.toString()===e.toString();if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,o[r]))return!1;if(ec&&t instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&t.$$typeof)&&!qt(t[o[r]],e[o[r]]))return!1;return!0}return t!==t&&e!==e}var oc=function(e,n){try{return qt(e,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}},ic=[],sc=function(e,n,r){r===void 0&&(r={});var o=Ze.useRef(null),i={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||ic},a=Ze.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),c=a[0],l=a[1],u=Ze.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(h){var m=h.state,v=Object.keys(m.elements);es.flushSync(function(){l({styles:Rr(v.map(function(g){return[g,m.styles[g]||{}]})),attributes:Rr(v.map(function(g){return[g,m.attributes[g]]}))})})},requires:["computeStyles"]}},[]),f=Ze.useMemo(function(){var d={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[u,{name:"applyStyles",enabled:!1}])};return oc(o.current,d)?o.current||d:(o.current=d,d)},[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,u]),p=Ze.useRef();return Lr(function(){p.current&&p.current.setOptions(f)},[f]),Lr(function(){if(!(e==null||n==null)){var d=r.createPopper||Qa,h=d(e,n,f);return p.current=h,function(){h.destroy(),p.current=null}}},[e,n,r.createPopper]),{state:p.current?p.current.state:null,styles:c.styles,attributes:c.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}};const Qo=y.forwardRef((t,e)=>{const{actions:n,className:r,onClose:o,onActionItemClick:i,...a}=t,c=y.useRef({}),[l,u]=y.useState(0),f=p=>{c.current[p]?.focus(),u(p)};return y.useEffect(()=>{c.current[l]?.focus()},[]),s.jsx("ul",{className:G(r,"io-dropdown-panel"),ref:e,...a,"data-testid":"context-menu",onKeyDown:p=>No({event:p,currentIndex:l,min:0,max:n.length-1,moveFocus:f,onClose:o}),children:n.map((p,d)=>s.jsx("li",{className:G("io-list-item",p.disabled&&"disabled"),...mt(h=>i(h,p)),ref:h=>c.current[d]=h,tabIndex:-1,"data-testid":`context-menu-item-${p.name}`,children:s.jsx("span",{className:"io-list-title",children:p.displayName||p.name})},p.name))})});function vr(t){const{iconName:e,iconSize:n,actions:r,onActionItemClick:o,isTabStop:i}=t,[a,c]=y.useState(!1),[l,u]=y.useState(null),[f,p]=y.useState(null),{styles:d,attributes:h}=sc(l,f,{placement:"bottom-end"});y.useEffect(()=>{if(!a)return;const g=j=>{l?.contains(j.target)||f?.contains(j.target)||c(!1)},w=()=>{document.activeElement?.nodeName==="IFRAME"&&c(!1)};return document.body.addEventListener("click",g,!0),window.addEventListener("blur",w),()=>{document.body.removeEventListener("click",g,!0),window.removeEventListener("blur",w)}},[f,l,a,c]);const m=g=>{g.stopPropagation(),c(w=>!w),f?.focus()},v=(g,w)=>{g.stopPropagation(),o(g,w),c(!1)};return s.jsxs(s.Fragment,{children:[s.jsx(oe,{tabIndex:i?0:-1,size:n,name:e,handleClick:m,ref:u,"data-testid":"context-menu-icon"}),a&&s.jsx(Qo,{actions:r,style:d.popper,ref:p,onActionItemClick:v,onClose:()=>{l?.focus(),c(!1)},...h.popper})]})}const ei=t=>{const{className:e,isFavoritismEnabled:n=!0,item:r,onClick:o,onKeyDown:i,focused:a,...c}=t,{favoriteEntities:l,toggleFavorite:u}=cn(),{description:f,icon:p="application",iconSrc:d,isOpen:h=!1,title:m,contextMenuActions:v}=r,g=n&&l.some(w=>w.type===r.type&&w.title===r.title);return s.jsxs("div",{tabIndex:a?0:-1,className:G(e,"io-list-item"),onKeyDown:w=>{if(Io(w)){o(w),w.preventDefault(),w.stopPropagation();return}i(w)},onClick:o,"data-testid":"base-section-item",...c,children:[s.jsxs("div",{className:"io-list-row",children:[s.jsx(oe,{size:8,name:h?"check":"","data-testid":"open-check-icon"}),d?s.jsx(ar,{className:"section-img-icon",src:d,alt:`${m} icon`,size:14,"data-testid":"img-icon"}):s.jsx(oe,{className:"section-icon",size:14,name:p,"data-testid":"icon"}),s.jsx("span",{className:"title","data-testid":"title",children:m}),h&&s.jsx("span",{className:"opened","data-testid":"opened-label",children:"Opened"}),v&&v.length>0&&s.jsx(vr,{iconName:"ellipsis",iconSize:16,actions:v,onActionItemClick:o,isTabStop:a}),n&&s.jsx(oe,{tabIndex:a?0:-1,className:G("favorite",g&&"visible"),name:g?"star-full":"star",handleClick:w=>{w.stopPropagation(),u(r)},size:16,"data-testid":"favorite-icon"})]}),f&&s.jsx("div",{className:"io-list-row",children:s.jsx("span",{className:"description","data-testid":"description",children:f})})]})},ti=ye({name:fe}),ni="Welcome",ac=5,cc=()=>{const[t,e]=y.useState(null),[n,r]=an("sessionStorage",Ro,ti),o=y.useRef(!1),i=cr(),a=y.useContext(ee.IOConnectContext),c=y.useCallback(async({name:l})=>{try{await a.layouts.setDefaultGlobal(l),e({name:l})}catch(u){console.error("Failed to set default layout: ",{error:u})}},[a]);return y.useEffect(()=>{if(!a||o.current)return;(async()=>{o.current=!0;const u=await a.layouts.getDefaultGlobal()||await a.layouts.get(ni,"Global");u&&(e({name:u.name}),n||i(u.name,r))})()},[a,n,i,r]),{defaultLayout:t,selectedLayout:n,setDefaultLayout:c,setSelectedLayout:r}},ri=y.createContext(void 0),xt=()=>{const t=y.useContext(ri);if(t===void 0)throw new Error("useLaunchpadAPI must be used within a LaunchpadAPIProvider");return t},lc=({children:t,setOpen:e,isOpen:n})=>{const{defaultLayout:r,selectedLayout:o,setDefaultLayout:i,setSelectedLayout:a}=cc(),l={close:y.useCallback(()=>e(!1),[e]),isOpen:n,defaultLayout:r,selectedLayout:o,setDefaultLayout:i,setSelectedLayout:a};return s.jsx(ri.Provider,{value:l,children:t})};var x={},Gr={get exports(){return x},set exports(t){x=t}},en={},uc={get exports(){return en},set exports(t){en=t}},Y={};/** @license React v16.13.1
|
|
23
23
|
* react-is.production.min.js
|
|
24
24
|
*
|
|
25
25
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
26
26
|
*
|
|
27
27
|
* This source code is licensed under the MIT license found in the
|
|
28
28
|
* LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/var
|
|
29
|
+
*/var qr;function dc(){if(qr)return Y;qr=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,r=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,p=t?Symbol.for("react.suspense"):60113,d=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,v=t?Symbol.for("react.block"):60121,g=t?Symbol.for("react.fundamental"):60117,w=t?Symbol.for("react.responder"):60118,j=t?Symbol.for("react.scope"):60119;function O(b){if(typeof b=="object"&&b!==null){var k=b.$$typeof;switch(k){case e:switch(b=b.type,b){case l:case u:case r:case i:case o:case p:return b;default:switch(b=b&&b.$$typeof,b){case c:case f:case m:case h:case a:return b;default:return k}}case n:return k}}}function C(b){return O(b)===u}return Y.AsyncMode=l,Y.ConcurrentMode=u,Y.ContextConsumer=c,Y.ContextProvider=a,Y.Element=e,Y.ForwardRef=f,Y.Fragment=r,Y.Lazy=m,Y.Memo=h,Y.Portal=n,Y.Profiler=i,Y.StrictMode=o,Y.Suspense=p,Y.isAsyncMode=function(b){return C(b)||O(b)===l},Y.isConcurrentMode=C,Y.isContextConsumer=function(b){return O(b)===c},Y.isContextProvider=function(b){return O(b)===a},Y.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Y.isForwardRef=function(b){return O(b)===f},Y.isFragment=function(b){return O(b)===r},Y.isLazy=function(b){return O(b)===m},Y.isMemo=function(b){return O(b)===h},Y.isPortal=function(b){return O(b)===n},Y.isProfiler=function(b){return O(b)===i},Y.isStrictMode=function(b){return O(b)===o},Y.isSuspense=function(b){return O(b)===p},Y.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===u||b===i||b===o||b===p||b===d||typeof b=="object"&&b!==null&&(b.$$typeof===m||b.$$typeof===h||b.$$typeof===a||b.$$typeof===c||b.$$typeof===f||b.$$typeof===g||b.$$typeof===w||b.$$typeof===j||b.$$typeof===v)},Y.typeOf=O,Y}var X={};/** @license React v16.13.1
|
|
30
30
|
* react-is.development.js
|
|
31
31
|
*
|
|
32
32
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
33
33
|
*
|
|
34
34
|
* This source code is licensed under the MIT license found in the
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/var
|
|
36
|
+
*/var Kr;function fc(){return Kr||(Kr=1,process.env.NODE_ENV!=="production"&&function(){var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,r=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,p=t?Symbol.for("react.suspense"):60113,d=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,v=t?Symbol.for("react.block"):60121,g=t?Symbol.for("react.fundamental"):60117,w=t?Symbol.for("react.responder"):60118,j=t?Symbol.for("react.scope"):60119;function O(P){return typeof P=="string"||typeof P=="function"||P===r||P===u||P===i||P===o||P===p||P===d||typeof P=="object"&&P!==null&&(P.$$typeof===m||P.$$typeof===h||P.$$typeof===a||P.$$typeof===c||P.$$typeof===f||P.$$typeof===g||P.$$typeof===w||P.$$typeof===j||P.$$typeof===v)}function C(P){if(typeof P=="object"&&P!==null){var de=P.$$typeof;switch(de){case e:var Ce=P.type;switch(Ce){case l:case u:case r:case i:case o:case p:return Ce;default:var ot=Ce&&Ce.$$typeof;switch(ot){case c:case f:case m:case h:case a:return ot;default:return de}}case n:return de}}}var b=l,k=u,_=c,S=a,I=e,R=f,W=r,re=m,te=h,se=n,be=i,J=o,ne=p,xe=!1;function pe(P){return xe||(xe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),E(P)||C(P)===l}function E(P){return C(P)===u}function T(P){return C(P)===c}function L(P){return C(P)===a}function D(P){return typeof P=="object"&&P!==null&&P.$$typeof===e}function N(P){return C(P)===f}function M(P){return C(P)===r}function A(P){return C(P)===m}function F(P){return C(P)===h}function z(P){return C(P)===n}function Z(P){return C(P)===i}function B(P){return C(P)===o}function ie(P){return C(P)===p}X.AsyncMode=b,X.ConcurrentMode=k,X.ContextConsumer=_,X.ContextProvider=S,X.Element=I,X.ForwardRef=R,X.Fragment=W,X.Lazy=re,X.Memo=te,X.Portal=se,X.Profiler=be,X.StrictMode=J,X.Suspense=ne,X.isAsyncMode=pe,X.isConcurrentMode=E,X.isContextConsumer=T,X.isContextProvider=L,X.isElement=D,X.isForwardRef=N,X.isFragment=M,X.isLazy=A,X.isMemo=F,X.isPortal=z,X.isProfiler=Z,X.isStrictMode=B,X.isSuspense=ie,X.isValidElementType=O,X.typeOf=C}()),X}var Yr;function oi(){return Yr||(Yr=1,function(t){process.env.NODE_ENV==="production"?t.exports=dc():t.exports=fc()}(uc)),en}/*
|
|
37
37
|
object-assign
|
|
38
38
|
(c) Sindre Sorhus
|
|
39
39
|
@license MIT
|
|
40
|
-
*/var
|
|
41
|
-
Valid keys: `+JSON.stringify(Object.keys(E),null," "));var P=ie(F,B,N,M,A+"."+B,n);if(P)return P}return null}return g(T)}function se(E){switch(typeof E){case"number":case"string":case"undefined":return!0;case"boolean":return!E;case"object":if(Array.isArray(E))return E.every(se);if(E===null||c(E))return!0;var T=p(E);if(T){var L=T.call(E),D;if(T!==E.entries){for(;!(D=L.next()).done;)if(!se(D.value))return!1}else for(;!(D=L.next()).done;){var N=D.value;if(N&&!se(N[1]))return!1}}else return!1;return!0;default:return!1}}function be(E,T){return E==="symbol"?!0:T?T["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&T instanceof Symbol:!1}function J(E){var T=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":be(T,E)?"symbol":T}function ne(E){if(typeof E>"u"||E===null)return""+E;var T=J(E);if(T==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return T}function xe(E){var T=ne(E);switch(T){case"array":case"object":return"an "+T;case"boolean":case"date":case"regexp":return"a "+T;default:return T}}function fe(E){return!E.constructor||!E.constructor.name?d:E.constructor.name}return h.checkPropTypes=o,h.resetWarningCache=o.resetWarningCache,h.PropTypes=h,h},kn}var Pn,Qr;function mc(){if(Qr)return Pn;Qr=1;var t=vr();function e(){}function n(){}return n.resetWarningCache=e,Pn=function(){function r(a,c,l,u,f,p){if(p!==t){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}r.isRequired=r;function o(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:e};return i.PropTypes=i,i},Pn}if(process.env.NODE_ENV!=="production"){var vc=ti(),gc=!0;Br.exports=hc()(vc.isElement,gc)}else Br.exports=mc()();function Bn(t){return Bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bn(t)}var yc;function Ut(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:yc;return e?t.split(" ").map(function(n){return e[n]||n}).join(" "):t}function bc(t,e){var n={};return Object.keys(t).forEach(function(r){e.indexOf(r)===-1&&(n[r]=t[r])}),n}function wc(t,e){for(var n=Array.isArray(e)?e:[e],r=n.length,o,i={};r>0;)r-=1,o=n[r],i[o]=t[o];return i}var xc=(typeof window>"u"?"undefined":Bn(window))==="object"&&window.Element||function(){};function Cc(t,e,n){if(!(t[e]instanceof xc))return new Error("Invalid prop `"+e+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}x.oneOfType([x.string,x.func,Cc,x.shape({current:x.any})]);var dn=x.oneOfType([x.func,x.string,x.shape({$$typeof:x.symbol,render:x.func}),x.arrayOf(x.oneOfType([x.func,x.string,x.shape({$$typeof:x.symbol,render:x.func})]))]),Oc={Fade:150,Collapse:350,Modal:300,Carousel:600,Offcanvas:300},eo=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],Bt={ENTERING:"entering",ENTERED:"entered",EXITING:"exiting",EXITED:"exited"},jc=["className","cssModule","variant","innerRef"];function Zn(){return Zn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Zn.apply(this,arguments)}function to(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Ec(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?to(Object(n),!0).forEach(function(r){Sc(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):to(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Sc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kc(t,e){if(t==null)return{};var n=Pc(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Pc(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}var Tc={active:x.bool,"aria-label":x.string,onClick:x.func,variant:x.oneOf(["white"]),className:x.string,cssModule:x.object,innerRef:x.oneOfType([x.object,x.string,x.func])};function ri(t){var e=t.className;t.cssModule;var n=t.variant,r=t.innerRef,o=kc(t,jc),i=Ut($(e,"btn-close",n&&"btn-close-".concat(n)));return y.createElement("button",Zn({ref:r,type:"button",className:i},Ec({"aria-label":"close"},o)))}ri.propTypes=Tc;var _c=["active","aria-label","block","className","close","cssModule","color","outline","size","tag","innerRef"];function $n(){return $n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},$n.apply(this,arguments)}function Ic(t,e){if(t==null)return{};var n=Nc(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Nc(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}var Ac={active:x.bool,"aria-label":x.string,block:x.bool,children:x.node,className:x.string,cssModule:x.object,close:x.bool,color:x.string,disabled:x.bool,innerRef:x.oneOfType([x.object,x.func,x.string]),onClick:x.func,outline:x.bool,size:x.string,tag:dn};function fn(t){var e=y.useCallback(function(j){if(t.disabled){j.preventDefault();return}if(t.onClick)return t.onClick(j)},[t.onClick,t.disabled]),n=t.active,r=t["aria-label"],o=t.block,i=t.className,a=t.close,c=t.cssModule,l=t.color,u=l===void 0?"secondary":l,f=t.outline,p=t.size,d=t.tag,h=d===void 0?"button":d,m=t.innerRef,v=Ic(t,_c);if(a)return y.createElement(ri,v);var g="btn".concat(f?"-outline":"","-").concat(u),w=Ut($(i,"btn",g,p?"btn-".concat(p):!1,o?"d-block w-100":!1,{active:n,disabled:t.disabled}),c);return v.href&&h==="button"&&(h="a"),y.createElement(h,$n({type:h==="button"&&v.onClick?"button":void 0},v,{className:w,ref:m,onClick:e,"aria-label":r}))}fn.propTypes=Ac;function Rc(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function Gn(t,e){return Gn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Gn(t,e)}function Lc(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Gn(t,e)}const no={disabled:!1};var Mc=process.env.NODE_ENV!=="production"?x.oneOfType([x.number,x.shape({enter:x.number,exit:x.number,appear:x.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&x.oneOfType([x.string,x.shape({enter:x.string,exit:x.string,active:x.string}),x.shape({enter:x.string,enterDone:x.string,enterActive:x.string,exit:x.string,exitDone:x.string,exitActive:x.string})]);const oi=y.createContext(null);var Dc=function(e){return e.scrollTop},Tt="unmounted",Ye="exited",Xe="entering",lt="entered",qn="exiting",He=function(t){Lc(e,t);function e(r,o){var i;i=t.call(this,r,o)||this;var a=o,c=a&&!a.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?c?(l=Ye,i.appearStatus=Xe):l=lt:r.unmountOnExit||r.mountOnEnter?l=Tt:l=Ye,i.state={status:l},i.nextCallback=null,i}e.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===Tt?{status:Ye}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==Xe&&a!==lt&&(i=Xe):(a===Xe||a===lt)&&(i=qn)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,a,c;return i=a=c=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,c=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:c}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Xe){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:kt.findDOMNode(this);a&&Dc(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ye&&this.setState({status:Tt})},n.performEnter=function(o){var i=this,a=this.props.enter,c=this.context?this.context.isMounting:o,l=this.props.nodeRef?[c]:[kt.findDOMNode(this),c],u=l[0],f=l[1],p=this.getTimeouts(),d=c?p.appear:p.enter;if(!o&&!a||no.disabled){this.safeSetState({status:lt},function(){i.props.onEntered(u)});return}this.props.onEnter(u,f),this.safeSetState({status:Xe},function(){i.props.onEntering(u,f),i.onTransitionEnd(d,function(){i.safeSetState({status:lt},function(){i.props.onEntered(u,f)})})})},n.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),c=this.props.nodeRef?void 0:kt.findDOMNode(this);if(!i||no.disabled){this.safeSetState({status:Ye},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:qn},function(){o.props.onExiting(c),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Ye},function(){o.props.onExited(c)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(c){a&&(a=!1,i.nextCallback=null,o(c))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:kt.findDOMNode(this),c=o==null&&!this.props.addEndListener;if(!a||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],f=l[1];this.props.addEndListener(u,f)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Tt)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var c=Rc(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return y.createElement(oi.Provider,{value:null},typeof a=="function"?a(o,c):y.cloneElement(y.Children.only(a),c))},e}(y.Component);He.contextType=oi;He.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:x.shape({current:typeof Element>"u"?x.any:function(t,e,n,r,o,i){var a=t[e];return x.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(t,e,n,r,o,i)}}),children:x.oneOfType([x.func.isRequired,x.element.isRequired]).isRequired,in:x.bool,mountOnEnter:x.bool,unmountOnExit:x.bool,appear:x.bool,enter:x.bool,exit:x.bool,timeout:function(e){var n=Mc;e.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return n.apply(void 0,[e].concat(o))},addEndListener:x.func,onEnter:x.func,onEntering:x.func,onEntered:x.func,onExit:x.func,onExiting:x.func,onExited:x.func}:{};function it(){}He.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:it,onEntering:it,onEntered:it,onExit:it,onExiting:it,onExited:it};He.UNMOUNTED=Tt;He.EXITED=Ye;He.ENTERING=Xe;He.ENTERED=lt;He.EXITING=qn;const gr=He;function Kn(t){return Kn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kn(t)}var Fc=["tag","horizontal","isOpen","className","navbar","cssModule","children","innerRef"],st;function en(){return en=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},en.apply(this,arguments)}function Uc(t,e){if(t==null)return{};var n=Hc(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Hc(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function Wc(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ro(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function zc(t,e,n){return e&&ro(t.prototype,e),n&&ro(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Vc(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Yn(t,e)}function Yn(t,e){return Yn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Yn(t,e)}function Bc(t){var e=$c();return function(){var r=tn(t),o;if(e){var i=tn(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Zc(this,o)}}function Zc(t,e){if(e&&(Kn(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ii(t)}function ii(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $c(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function tn(t){return tn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(t)}function oo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function bt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?oo(Object(n),!0).forEach(function(r){dt(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oo(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function dt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Gc=bt(bt({},gr.propTypes),{},{horizontal:x.bool,isOpen:x.bool,children:x.oneOfType([x.arrayOf(x.node),x.node]),tag:dn,className:x.node,navbar:x.bool,cssModule:x.object,innerRef:x.shape({current:x.object})}),qc=bt(bt({},gr.defaultProps),{},{horizontal:!1,isOpen:!1,appear:!1,enter:!0,exit:!0,tag:"div",timeout:Oc.Collapse}),Kc=(st={},dt(st,Bt.ENTERING,"collapsing"),dt(st,Bt.ENTERED,"collapse show"),dt(st,Bt.EXITING,"collapsing"),dt(st,Bt.EXITED,"collapse"),st);function Yc(t){return Kc[t]||"collapse"}var yr=function(t){Vc(n,t);var e=Bc(n);function n(r){var o;return Wc(this,n),o=e.call(this,r),o.state={dimension:null},o.nodeRef=r.innerRef||y.createRef(),["onEntering","onEntered","onExit","onExiting","onExited"].forEach(function(i){o[i]=o[i].bind(ii(o))}),o}return zc(n,[{key:"onEntering",value:function(o,i){var a=this.getNode();this.setState({dimension:this.getDimension(a)}),this.props.onEntering(a,i)}},{key:"onEntered",value:function(o,i){var a=this.getNode();this.setState({dimension:null}),this.props.onEntered(a,i)}},{key:"onExit",value:function(){var o=this.getNode();this.setState({dimension:this.getDimension(o)}),this.props.onExit(o)}},{key:"onExiting",value:function(){var o=this.getNode();this.getDimension(o),this.setState({dimension:0}),this.props.onExiting(o)}},{key:"onExited",value:function(){var o=this.getNode();this.setState({dimension:null}),this.props.onExited(o)}},{key:"getNode",value:function(){return this.nodeRef.current}},{key:"getDimension",value:function(o){return this.props.horizontal?o.scrollWidth:o.scrollHeight}},{key:"render",value:function(){var o=this,i=this.props,a=i.tag,c=i.horizontal,l=i.isOpen,u=i.className,f=i.navbar,p=i.cssModule,d=i.children;i.innerRef;var h=Uc(i,Fc),m=this.state.dimension,v=wc(h,eo),g=bc(h,eo);return y.createElement(gr,en({},v,{in:l,nodeRef:this.nodeRef,onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),function(w){var j=Yc(w),O=Ut($(u,c&&"collapse-horizontal",j,f&&"navbar-collapse"),p),C=m===null?null:dt({},c?"width":"height",m);return y.createElement(a,en({},g,{style:bt(bt({},g.style),C),className:O,ref:o.nodeRef}),d)})}}]),n}(y.Component);yr.propTypes=Gc;yr.defaultProps=qc;const si=yr;function Xn(t){return Xn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xn(t)}var Xc=["className","cssModule","tag","innerRef"];function Jn(){return Jn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Jn.apply(this,arguments)}function Jc(t,e){if(t==null)return{};var n=Qc(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Qc(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function el(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function io(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function tl(t,e,n){return e&&io(t.prototype,e),n&&io(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function nl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Qn(t,e)}function Qn(t,e){return Qn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Qn(t,e)}function rl(t){var e=il();return function(){var r=nn(t),o;if(e){var i=nn(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ol(this,o)}}function ol(t,e){if(e&&(Xn(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return er(t)}function er(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function il(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function nn(t){return nn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(t)}var sl={children:x.node,tag:dn,innerRef:x.oneOfType([x.object,x.func,x.string]),className:x.string,cssModule:x.object},ai=function(t){nl(n,t);var e=rl(n);function n(r){var o;return el(this,n),o=e.call(this,r),o.getRef=o.getRef.bind(er(o)),o.submit=o.submit.bind(er(o)),o}return tl(n,[{key:"getRef",value:function(o){this.props.innerRef&&this.props.innerRef(o),this.ref=o}},{key:"submit",value:function(){this.ref&&this.ref.submit()}},{key:"render",value:function(){var o=this.props,i=o.className,a=o.cssModule,c=o.tag,l=c===void 0?"form":c,u=o.innerRef,f=Jc(o,Xc),p=Ut(i,a);return y.createElement(l,Jn({},f,{ref:u,className:p}))}}]),n}(y.Component);ai.propTypes=sl;const ci=ai;var al=["className","cssModule","row","disabled","check","inline","floating","noMargin","tag","switch"];function tr(){return tr=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},tr.apply(this,arguments)}function cl(t,e){if(t==null)return{};var n=ll(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function ll(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}var ul={children:x.node,row:x.bool,check:x.bool,switch:x.bool,inline:x.bool,floating:x.bool,noMargin:x.bool,disabled:x.bool,tag:dn,className:x.string,cssModule:x.object};function nr(t){var e=t.className,n=t.cssModule,r=t.row,o=t.disabled,i=t.check,a=t.inline,c=t.floating,l=t.noMargin,u=t.tag,f=u===void 0?"div":u,p=t.switch,d=cl(t,al),h=i||p,m=Ut($(e,r?"row":!1,h?"form-check":!1,p?"form-switch":!1,h||l?!1:"mb-3",h&&a?"form-check-inline":!1,h&&o?"disabled":!1,c&&"form-floating"),n);return f==="fieldset"&&(d.disabled=o),y.createElement(f,tr({},d,{className:m}))}nr.propTypes=ul;const pn=t=>{const{config:e,isFavoritismEnabled:n,level:r=1,onItemClick:o}=t,{isCollapsible:i,showAllItems:a,displayCount:c=sc}=e,l=wt(),u=Mo(),[f,p]=y.useState(1),[d,h]=y.useState(0),[m,v]=y.useState(!1),g=y.useRef({}),w=e.items.filter(S=>_t(S)),j=e.items.filter(S=>!_t(S)),O=a?j:j.slice(0,f*c);y.useEffect(()=>{l.isOpen||p(1)},[l.isOpen]);const C=()=>{p(S=>S+1)},b=[...w,...O],k=S=>{g.current[S]?.querySelector("[tabIndex]")?.focus(),h(S)},_=()=>{i&&v(S=>!S)};return s.jsxs("li",{className:"section",children:[s.jsx(_o,{iconSrc:e.iconSrc,iconName:e.iconName,style:{paddingLeft:`${r===1?4:(r-2)*12+6}px`},title:e.title,showCollapseIcon:i,isOpen:m,onClick:_,showHoverIndicator:r!==1}),s.jsxs(si,{isOpen:i?m:!0,tag:"ul",children:[b.map((S,I)=>_t(S)?s.jsx(pn,{config:S,isFavoritismEnabled:n,level:r+1,onItemClick:o},S.id):s.jsx("li",{ref:R=>g.current[I]=R,children:s.jsx(Xo,{isFavoritismEnabled:n,item:S,onClick:(R,W)=>o?.(R,{item:S,modifier:u,selectedContextMenuActionName:W?.name}),style:{paddingLeft:`${r===1?7:r*11}px`},onKeyDown:R=>{To({event:R,moveFocus:k,currentIndex:d,min:0,max:b.length-1})},focused:d===I},S.id||I)},S.id||I)),!a&&e.items.length-w.length>c*f&&s.jsx("li",{"data-testid":"more-li-element",children:s.jsx("div",{className:"io-list-item more",style:{paddingLeft:`${(r===1?7:r*11)+8}px`},role:"button","aria-label":"More",...ht(C),children:s.jsxs("div",{className:"io-list-row",children:[s.jsx("span",{className:"title",children:"More..."}),s.jsx(oe,{size:12,name:"chevron-down","data-testid":"more-chevron"})]})})})]})]})},li=t=>`${t.type}-${t.id}`,dl=(t,e)=>ui(t)[e],ui=t=>t.reduce((e,n)=>_t(n)?{...e,...ui(n.items)}:{...e,[li(n)]:n},{}),di=y.createContext(void 0),fl=()=>{const t=y.useContext(di);if(t===void 0)throw new Error("useSection must be used within a SectionProvider");return t},pl=({children:t})=>{const[e,n]=y.useState(null);return s.jsx(di.Provider,{value:[e,n],children:t})},hn=({config:t,onItemClick:e})=>{const[n,r]=fl(),o=wt(),i=Mo(),a=(c,l)=>{const{item:u,selectedContextMenuActionName:f}=l;r({itemName:li(u),selectedContextMenuActionName:f})};return y.useEffect(()=>{if(!e||!n)return;const{itemName:c,selectedContextMenuActionName:l}=n,u=dl(t.items,c);u&&(e({item:u,modifier:i,selectedContextMenuActionName:l}),r(null),i!==cn.SHIFT&&o.close())},[n,t.items,o,e,i,r]),s.jsx(pn,{config:t,onItemClick:a})};function fi(t){const{displayCount:e,isFolderCollapsible:n,isSectionCollapsible:r,showAllItems:o,sortOrder:i}=t,a=is(),c=ss(),l=Fo(),u=Uo(),f=y.useMemo(()=>ns(a,c,{...{displayCount:e,showAllItems:o},isFolderCollapsible:n,isSectionCollapsible:r,sortOrder:i}),[a,c,e,n,r,o,i]),p=d=>{const{item:h,modifier:m,selectedContextMenuActionName:v}=d;if(!v)return l(h.id,m).catch(g=>{console.error("Failed to start application",{error:g})});u(h,v)};return s.jsx(hn,{config:f,onItemClick:p})}const hl={value:"data:image/svg+xml,%3Csvg width='5041' height='1232' viewBox='0 0 5041 1232' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_879_362)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M548.6 178H439.6C368.7 178 310 199.5 269.3 244.5C228.6 289.3 206.7 356 206.7 444.3C206.7 532.6 228.6 599.5 269.3 644.2C310.2 689.2 368.7 710.7 439.6 710.7H548.6C619 710.7 677.6 689.2 718.6 644.2C759.5 599.4 781.6 532.6 781.6 444.2C781.6 355.8 759.5 289 718.6 244.2C677.7 199.3 619 177.7 548.6 177.7V178ZM449.5 293.8H538.9C582.2 293.8 611.9 305.2 631.1 328.3C650.5 351.8 660.5 389.2 660.5 444.4C660.5 499.6 650.5 536.7 631.1 560C612 583 582.2 594.1 538.9 594.1H449.5C405.6 594.1 375.9 583 356.9 560C337.6 536.8 327.7 499.7 327.7 444.5C327.7 389.3 337.4 351.9 356.8 328.4C375.9 305.2 405.6 293.8 449.5 293.8Z' fill='white'/%3E%3Cpath d='M0.700195 189.8C0.700195 183.1 6.10017 177.7 12.8002 177.7H108.6C115.3 177.7 120.7 183.1 120.7 189.8V698.6C120.7 705.3 115.3 710.7 108.6 710.7H12.8002C6.10017 710.7 0.700195 705.3 0.700195 698.6V189.8Z' fill='white'/%3E%3Cpath d='M0.700195 11.9002C0.700195 5.7002 5.70018 0.700195 11.9002 0.700195H109.6C115.7 0.700195 120.7 5.7002 120.7 11.9002V109.5C120.7 115.7 115.7 120.7 109.5 120.7H11.9002C5.70018 120.7 0.700195 115.7 0.700195 109.5V11.9002Z' fill='%23007BE5'/%3E%3Cpath d='M827.7 601.9C827.7 595.7 832.7 590.7 838.9 590.7H936.6C942.8 590.7 947.8 595.7 947.8 601.9V699.5C947.8 705.7 942.8 710.7 936.6 710.7H838.9C832.7 710.7 827.7 705.7 827.7 699.5V601.9Z' fill='%23007BE5'/%3E%3Cpath d='M4363.9 293.2C4320.2 293.2 4290.6 304.6 4271.6 327.8C4252.3 351.4 4242.5 388.8 4242.5 444C4242.5 499.2 4252.3 536.4 4271.5 559.7C4290.5 582.6 4320 593.8 4363.8 593.8H4614.7C4622.4 593.8 4628.7 600.1 4628.7 607.8V696.7C4628.7 704.4 4622.4 710.7 4614.7 710.7H4354.1C4283.3 710.7 4224.9 689.1 4184.1 644.1C4143.5 599.3 4121.6 532.4 4121.6 444C4121.6 355.6 4143.5 288.7 4184.1 243.9C4224.8 199 4283.3 177.3 4354.1 177.3H4614.7C4622.4 177.3 4628.7 183.6 4628.7 191.3V279.3C4628.7 287 4622.4 293.3 4614.7 293.3H4363.9V293.2Z' fill='white'/%3E%3Cpath d='M1302.6 165.3C1240.1 165.3 1197 180.9 1169.3 213.3C1141.3 246 1127.4 297.6 1127.4 372.9C1127.4 447.7 1141.1 499 1169 531.6C1196.6 563.9 1239.7 579.5 1302.7 579.5H1552.5C1560.2 579.5 1566.5 585.8 1566.5 593.5V697.1C1566.5 704.8 1560.2 711.1 1552.5 711.1H1302.7C1204.7 711.1 1127.5 683.4 1075 626.4C1022.4 569.7 995.7 484.8 995.7 372.9C995.7 260.5 1022.7 175.4 1075.2 118.4C1127.9 61.3001 1205 33.6001 1302.6 33.6001H1552.4C1560.1 33.6001 1566.4 39.9001 1566.4 47.6001V151.2C1566.4 158.9 1560.1 165.2 1552.4 165.2H1302.6V165.3Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1953.6 177.7H1844.8C1774 177.7 1715.6 199.3 1674.8 244.3C1634.2 289.1 1612.3 356 1612.3 444.4C1612.3 532.8 1634.2 599.7 1674.8 644.5C1715.5 689.4 1774 711.1 1844.8 711.1H1953.6C2023.9 711.1 2082.4 689.5 2123.2 644.5C2163.9 599.7 2186 532.8 2186 444.3C2186 355.8 2163.9 289 2123.2 244.1C2082.3 199.3 2023.9 177.7 1953.6 177.7ZM1854.6 293.7H1943.8C1987 293.7 2016.6 305.1 2035.8 328.3C2055.2 351.9 2065.2 389.3 2065.2 444.5C2065.2 499.7 2055.2 536.8 2035.8 560.2C2016.7 583.2 1987.1 594.3 1943.8 594.3H1854.6C1810.8 594.3 1781.3 583.1 1762.3 560.2C1743 536.9 1733.3 499.8 1733.3 444.5C1733.3 389.3 1743.1 351.9 1762.4 328.3C1781.3 305 1810.9 293.7 1854.6 293.7Z' fill='white'/%3E%3Cpath d='M2679.7 411.6C2679.7 372.5 2668.5 343.5 2645.4 324C2622.1 304.3 2585.3 293.2 2531.9 293.2H2378.4C2375.5 293.2 2374.9 293.9 2374.8 294C2374.5 294.4 2373.6 295.8 2373.6 299.8V696.7C2373.6 704.4 2367.3 710.7 2359.6 710.7H2267.7C2260 710.7 2253.7 704.4 2253.7 696.7V265.6C2253.7 234.7 2258.8 212 2272.6 197.2C2286.5 182.2 2307.5 177.3 2334.2 177.3H2531.8C2620.7 177.3 2688 198.4 2733.3 238.9C2778.7 279.5 2800.5 338.6 2800.5 411.7V696.7C2800.5 704.4 2794.2 710.7 2786.5 710.7H2693.7C2686 710.7 2679.7 704.4 2679.7 696.7V411.6Z' fill='white'/%3E%3Cpath d='M3304.7 411.6C3304.7 372.5 3293.5 343.5 3270.4 324C3247.1 304.3 3210.3 293.2 3156.9 293.2H3003.4C3000.5 293.2 2999.9 293.9 2999.8 294C2999.5 294.4 2998.6 295.8 2998.6 299.8V696.7C2998.6 704.4 2992.3 710.7 2984.6 710.7H2892.7C2885 710.7 2878.7 704.4 2878.7 696.7V265.6C2878.7 234.7 2883.8 212 2897.6 197.2C2911.5 182.2 2932.5 177.3 2959.2 177.3H3156.8C3245.7 177.3 3313 198.4 3358.3 238.9C3403.7 279.5 3425.5 338.6 3425.5 411.7V696.7C3425.5 704.4 3419.2 710.7 3411.5 710.7H3318.7C3311 710.7 3304.7 704.4 3304.7 696.7V411.6Z' fill='white'/%3E%3Cpath d='M4906.1 292.2C4898.4 292.2 4892.1 298.5 4892.1 306.2V529.2C4892.1 557.5 4897.2 574.3 4906.4 584.1C4915.4 593.8 4930 598.6 4953.7 598.6H5019.2C5026.9 598.6 5033.2 604.9 5033.2 612.6V695.7C5033.2 703.4 5026.9 709.7 5019.2 709.7H4932.1C4877.9 709.7 4836.8 698.8 4809.7 668.6C4782.8 638.6 4771.3 591.5 4771.3 523.4V306.2C4771.3 298.5 4765 292.2 4757.3 292.2H4714.7C4707 292.2 4700.7 285.9 4700.7 278.2V190.2C4700.7 182.5 4707 176.2 4714.7 176.2H4757.3C4765 176.2 4771.3 169.9 4771.3 162.2V67.7002C4771.3 60.0002 4777.6 53.7002 4785.3 53.7002H4878.2C4885.9 53.7002 4892.2 60.0002 4892.2 67.7002V162.2C4892.2 169.9 4898.5 176.2 4906.2 176.2H5021.3C5029 176.2 5035.3 182.5 5035.3 190.2V278.2C5035.3 285.9 5029 292.2 5021.3 292.2H4906.1Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4024.4 607.2C4024.4 599.5 4018.1 593.2 4010.4 593.2H3699.9C3672.9 593.2 3655.3 586 3644.6 575.2C3633.8 564.4 3628.6 548.8 3628.6 529.7V514.5C3628.6 506.8 3634.9 500.5 3642.6 500.5H3866.6C3931.2 500.5 3977.4 486.9 4007.5 459.6C4037.7 432.2 4050.1 392.3 4050.1 343.5C4050.1 292.2 4036.8 250.1 4006.4 220.9C3976.1 191.7 3930.1 176.8 3867.7 176.8H3700.1C3633.9 176.8 3586.5 195.4 3555.6 227.8C3524.8 260.1 3511.8 305 3511.8 355.3V531.7C3511.8 582 3524.9 626.9 3555.6 659.2C3586.5 691.6 3633.9 710.2 3700.1 710.2H4010.6C4018.3 710.2 4024.6 703.9 4024.6 696.2V607.2H4024.4ZM3863.5 403.1H3642.5C3634.8 403.1 3628.5 396.8 3628.5 389.1V356.2C3628.5 337.6 3633.7 321.9 3644.6 311C3655.4 300.1 3672.9 292.7 3699.9 292.7H3866.5C3890.7 292.7 3906.9 298.8 3916.9 308.2C3926.9 317.5 3932 331.3 3932 349.4C3932 367.1 3927.3 380 3917.4 388.6C3907.4 397.4 3890.5 403.1 3863.5 403.1Z' fill='white'/%3E%3Cpath d='M2918.9 872.3C3001.9 872.3 3036.9 909.9 3036.9 966.3C3036.9 1012.2 3013.9 1036.8 2973.2 1047.2C3014.4 1058.2 3037.9 1083.7 3037.9 1129.7C3037.9 1186.1 3003.5 1224.7 2920.5 1224.7H2755.6C2741.5 1224.7 2734.2 1217.9 2734.2 1203.8V893.2C2734.2 879.1 2741.5 872.3 2755.6 872.3H2918.9ZM2765.4 1033.1H2918.9C2976.8 1033.1 3005 1014.8 3005 970.5C3005 929.8 2979.4 903.7 2919.4 903.7H2771.2C2767.5 903.7 2765.5 905.3 2765.5 909.4V1033.1H2765.4ZM2765.4 1187.6C2765.4 1191.8 2767.5 1193.3 2771.1 1193.3H2921C2979.5 1193.3 3006.1 1168.2 3006.1 1125.4C3006.1 1081 2976.9 1060.2 2921 1060.2H2765.5V1187.6H2765.4Z' fill='white'/%3E%3Cpath d='M3294 956.9V985.6H3182.8C3148.9 985.6 3135.3 1000.7 3135.3 1033.6V1224.6H3106.1V1029.9C3106.1 979.8 3125.4 956.8 3176.6 956.8H3294V956.9Z' fill='white'/%3E%3Cpath d='M3489.1 956.9C3562.2 956.9 3608.6 1001.3 3608.6 1091C3608.6 1181.3 3562.1 1224.6 3489.1 1224.6H3431.2C3357.6 1224.6 3311.7 1181.3 3311.7 1091C3311.7 1001.2 3357.6 956.9 3431.2 956.9H3489.1ZM3433.3 985.6C3374.3 985.6 3340.9 1019 3340.9 1091C3340.9 1163.5 3374.3 1196.4 3433.3 1196.4H3487.1C3546.1 1196.4 3579.5 1163.5 3579.5 1091C3579.5 1019 3546.1 985.6 3487.1 985.6H3433.3Z' fill='white'/%3E%3Cpath d='M3674.4 956.9L3706.8 1176.6C3709.4 1195.4 3716.2 1204.3 3737.1 1204.3C3758.5 1204.3 3767.4 1195.4 3771.5 1180.3L3821.6 995.5C3829.4 966.8 3849.3 951.7 3884.2 951.7C3919.1 951.7 3937.4 966.8 3945.3 995.5L3994.9 1180.3C3999.1 1195.4 4007.9 1204.3 4029.3 1204.3C4050.2 1204.3 4056.4 1195.4 4059.6 1176.6L4093.5 956.9H4125.3L4089.3 1179.8C4084.6 1210.6 4069.5 1231 4028.2 1231C3992.7 1231 3975 1216.4 3966.6 1185.1L3917 1000.9C3912.8 985.2 3900.8 978.5 3883.6 978.5C3865.9 978.5 3854.9 985.3 3850.7 1000.9L3799.6 1185.1C3790.7 1216.4 3773.5 1231 3737.5 1231C3695.2 1231 3682.2 1210.1 3677.5 1179.8L3643.1 956.9H3674.4Z' fill='white'/%3E%3Cpath d='M4417.6 956.9V985.6H4260C4219.8 985.6 4203.6 1003.3 4203.6 1032.1C4203.6 1057.2 4216.1 1077.5 4263.6 1077.5H4338.8C4410.8 1077.5 4428.6 1110.9 4428.6 1149.5C4428.6 1194.9 4404.6 1224.7 4344 1224.7H4178V1196.5H4344C4384.2 1196.5 4399.8 1178.2 4399.8 1149.5C4399.8 1124.4 4387.8 1103.6 4339.8 1103.6H4264.6C4193.1 1103.6 4174.8 1069.2 4174.8 1030C4174.8 985.1 4198.8 956.9 4259.4 956.9H4417.6Z' fill='white'/%3E%3Cpath d='M4685.4 956.9C4749.1 956.9 4775.7 986.6 4775.7 1036.8C4775.7 1084.8 4751.2 1111.4 4684.9 1111.4H4526.2V1135.9C4526.2 1170.3 4545 1196.4 4593.5 1196.4H4762.1V1224.6H4593.5C4524.6 1224.6 4497.5 1187.5 4497.5 1136.4V1045.1C4497.5 995 4524.6 956.9 4593.5 956.9H4685.4ZM4526.2 1087.4H4684.3C4729.7 1087.4 4746.9 1069.7 4746.9 1037.8C4746.9 1005.4 4728.6 985.6 4685.3 985.6H4593.4C4544.9 985.6 4526.1 1011.2 4526.1 1045.6V1087.4H4526.2Z' fill='white'/%3E%3Cpath d='M5040.3 956.9V985.6H4929.1C4895.2 985.6 4881.6 1000.7 4881.6 1033.6V1224.6H4852.4V1029.9C4852.4 979.8 4871.7 956.8 4922.9 956.8H5040.3V956.9Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_879_362'%3E%3Crect width='5041' height='1231' fill='white' transform='translate(0 0.700195)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A"},ml={loginPageLogo:hl},vl="256px",xt=({logoSrc:t=ml.loginPageLogo.value,width:e=vl,className:n="logo"})=>s.jsx("img",{width:e,src:t,className:n,alt:"Login logo"});const mn=({children:t,description:e,heading:n,Image:r,title:o})=>s.jsxs("div",{className:"info-card",children:[o&&s.jsx("h1",{className:"info-card-title",children:o}),r&&s.jsx("div",{className:"info-card-image",children:s.jsx(r,{})}),n&&s.jsx("h3",{className:"info-card-heading",children:n}),s.jsx("p",{className:"info-card-description",children:e}),t]}),gl=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:222,height:130,fill:"none",...t,children:[s.jsx("g",{filter:"url(#a)",children:s.jsx("path",{fill:"url(#b)",d:"M16 24h190v98a6 6 0 0 1-6 6H22a6 6 0 0 1-6-6V24Z"})}),s.jsx("path",{fill:"#3C3E3F",d:"M16 24h190V7a6 6 0 0 0-6-6H22a6 6 0 0 0-6 6v17Z"}),s.jsx("path",{stroke:"url(#c)",d:"M16 23.5h189"}),s.jsx("path",{fill:"#fff",fillOpacity:.3,d:"M178.172 15.343a2.171 2.171 0 1 0 0-4.342 2.171 2.171 0 0 0 0 4.342ZM186.258 15.343a2.171 2.171 0 1 0 .001-4.343 2.171 2.171 0 0 0-.001 4.343Z"}),s.jsx("path",{fill:"#F0F6FE",d:"M194.344 15.343a2.171 2.171 0 1 0 .001-4.343 2.171 2.171 0 0 0-.001 4.343Z"}),s.jsx("rect",{width:75,height:75,x:73.5,y:33.5,stroke:"#9DA2A5",strokeDasharray:"1 12",rx:37.5}),s.jsx("rect",{width:69,height:24,x:127,y:64,fill:"#3C3E3F",rx:2}),s.jsx("path",{fill:"#2479E9",d:"M139 72a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"}),s.jsx("rect",{width:39,height:8,x:148,y:72,fill:"#D9D9D9",fillOpacity:.1,rx:4}),s.jsx("rect",{width:69,height:24,x:127,y:92,fill:"#3C3E3F",rx:2}),s.jsx("path",{fill:"#36A86B",d:"M139 100a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"}),s.jsx("rect",{width:11,height:8,x:148,y:100,fill:"#D9D9D9",fillOpacity:.1,rx:4}),s.jsx("rect",{width:18,height:8,x:164,y:100,fill:"#D9D9D9",fillOpacity:.1,rx:4}),s.jsx("rect",{width:66,height:66,x:78,y:38,fill:"#36AA6C",rx:33}),s.jsx("path",{fill:"#fff",d:"M110.25 59.75c0-.375.328-.75.75-.75.375 0 .75.375.75.75v.797c3.75.375 6.75 3.562 6.75 7.453v1.406c0 2.016.797 3.985 2.25 5.438l.141.14c.375.375.609.938.609 1.454a2.1 2.1 0 0 1-2.109 2.109h-16.829c-1.171-.047-2.062-.938-2.062-2.11 0-.562.188-1.078.609-1.453l.094-.14c1.453-1.453 2.297-3.422 2.297-5.438V68a7.484 7.484 0 0 1 6.75-7.453v-.797ZM111 62c-3.328 0-6 2.719-6 6v1.406a9.227 9.227 0 0 1-2.719 6.516l-.14.094a.755.755 0 0 0-.141.421c0 .329.234.563.562.563h16.829c.328 0 .609-.234.609-.563 0-.14-.094-.28-.188-.421l-.14-.094a9.258 9.258 0 0 1-2.719-6.563V68c0-3.281-2.672-6-6-6H111Zm-1.453 18.516c.234.609.797.984 1.453.984.609 0 1.172-.375 1.406-.984.141-.375.563-.61.938-.47.375.141.609.563.468.985A2.99 2.99 0 0 1 111 83c-1.312 0-2.438-.797-2.859-1.969a.785.785 0 0 1 .468-.984c.375-.14.797.094.938.469Z"}),s.jsx("rect",{width:191,height:128,x:15.5,y:.5,stroke:"url(#d)",strokeMiterlimit:10,rx:6.5}),s.jsxs("defs",{children:[s.jsxs("linearGradient",{id:"b",x1:39.152,x2:71.862,y1:30.346,y2:129.753,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#383838"}),s.jsx("stop",{offset:1,stopColor:"#1D1D1D"})]}),s.jsxs("linearGradient",{id:"c",x1:9.298,x2:205,y1:24,y2:24,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:1,stopColor:"#5F5F5F",stopOpacity:0})]}),s.jsxs("linearGradient",{id:"d",x1:34.959,x2:127.671,y1:39.954,y2:146.801,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:0,stopColor:"#575757"}),s.jsx("stop",{offset:1,stopColor:"#2C2C2C"})]}),s.jsxs("filter",{id:"a",width:222,height:136,x:0,y:15,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[s.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),s.jsx("feOffset",{dy:7}),s.jsx("feGaussianBlur",{stdDeviation:8}),s.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),s.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_816_102831"}),s.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_816_102831",result:"shape"})]})]})]}),yl=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",height:"63",viewBox:"0 0 63 63",width:"63",...t,children:[s.jsxs("linearGradient",{id:"chrome_a",gradientUnits:"userSpaceOnUse",x1:"34.9087",x2:"7.63224",y1:"61.029",y2:"13.7847",children:[s.jsx("stop",{offset:"0",stopColor:"#1e8e3e"}),s.jsx("stop",{offset:"1",stopColor:"#34a853"})]}),s.jsxs("linearGradient",{id:"chrome_b",gradientUnits:"userSpaceOnUse",x1:"26.9043",x2:"54.1808",y1:"63.0788",y2:"15.8345",children:[s.jsx("stop",{offset:"0",stopColor:"#fcc934"}),s.jsx("stop",{offset:"1",stopColor:"#fbbc04"})]}),s.jsxs("linearGradient",{id:"chrome_c",gradientUnits:"userSpaceOnUse",x1:"4.22145",x2:"58.7745",y1:"19.6884",y2:"19.6884",children:[s.jsx("stop",{offset:"0",stopColor:"#d93025"}),s.jsx("stop",{offset:"1",stopColor:"#ea4335"})]}),s.jsx("path",{d:"m31.499 47.2466c8.6985 0 15.75-7.0515 15.75-15.75s-7.0515-15.75-15.75-15.75-15.75 7.0515-15.75 15.75 7.0515 15.75 15.75 15.75z",fill:"#fff"}),s.jsx("path",{d:"m17.8591 39.3751-13.63772-23.6212c-2.76527 4.788-4.22118922 10.2197-4.22137998 15.7489s1.45535998 10.961 4.22028998 15.7492c2.76494 4.7882 6.74181 8.7641 11.53071 11.5279 4.7889 2.7637 10.221 4.2179 15.7502 4.2164l13.6377-23.6212v-.0041c-1.3813 2.3954-3.369 4.3848-5.7632 5.7681s-5.1104 2.1118-7.8755 2.1122-5.4816-.7272-7.8762-2.1099c-2.3945-1.3826-4.3829-3.3714-5.7649-5.7663z",fill:"url(#chrome_a)"}),s.jsx("path",{d:"m45.1379 39.3741-13.6376 23.6212c5.5292.0008 10.9611-1.4542 15.7496-4.2187 4.7885-2.7644 8.7648-6.7408 11.5291-11.5294 2.7642-4.7887 4.219-10.2207 4.2181-15.7499-.001-5.5292-1.4577-10.9606-4.2237-15.7483h-27.2754l-.0034.0021c2.7651-.0014 5.4818.7254 7.8769 2.1071 2.3951 1.3818 4.3841 3.3698 5.767 5.7643 1.3829 2.3944 2.1109 5.1108 2.1109 7.8758-.0001 2.7651-.7283 5.4814-2.1113 7.8758z",fill:"url(#chrome_b)"}),s.jsx("path",{d:"m31.499 43.9688c6.8863 0 12.4688-5.5825 12.4688-12.4688s-5.5825-12.4688-12.4688-12.4688-12.4687 5.5825-12.4687 12.4688 5.5824 12.4688 12.4687 12.4688z",fill:"#1a73e8"}),s.jsx("path",{d:"m31.4991 15.75h27.2754c-2.764-4.7888-6.74-8.76553-11.5283-11.53029-4.7883-2.76475-10.2202-4.22010235-15.7494-4.21970992s-10.9608 1.45650992-15.7487 4.22194992c-4.788 2.76543-8.76341 6.74275-11.52666 11.53185l13.63766 23.6212.0035.0019c-1.3837-2.394-2.1127-5.11-2.1136-7.8751s.7264-5.4817 2.1086-7.8765c1.3821-2.3948 3.3706-4.3835 5.7652-5.7659 2.3947-1.3825 5.1112-2.11 7.8763-2.1094z",fill:"url(#chrome_c)"})]}),bl=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",...t,children:[s.jsxs("defs",{children:[s.jsxs("radialGradient",{id:"edge_b",cx:161.8,cy:68.9,r:95.4,gradientTransform:"matrix(1 0 0 -.95 0 248.8)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:.7,stopOpacity:0}),s.jsx("stop",{offset:.9,stopOpacity:.5}),s.jsx("stop",{offset:1})]}),s.jsxs("radialGradient",{id:"edge_d",cx:-340.3,cy:63,r:143.2,gradientTransform:"matrix(.15 -.99 -.8 -.12 176.6 -125.4)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:.8,stopOpacity:0}),s.jsx("stop",{offset:.9,stopOpacity:.5}),s.jsx("stop",{offset:1})]}),s.jsxs("radialGradient",{id:"edge_e",cx:113.4,cy:570.2,r:202.4,gradientTransform:"matrix(-.04 1 2.13 .08 -1179.5 -106.7)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:0,stopColor:"#35c1f1"}),s.jsx("stop",{offset:.1,stopColor:"#34c1ed"}),s.jsx("stop",{offset:.2,stopColor:"#2fc2df"}),s.jsx("stop",{offset:.3,stopColor:"#2bc3d2"}),s.jsx("stop",{offset:.7,stopColor:"#36c752"})]}),s.jsxs("radialGradient",{id:"edge_f",cx:376.5,cy:568,r:97.3,gradientTransform:"matrix(.28 .96 .78 -.23 -303.8 -148.5)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:0,stopColor:"#66eb6e"}),s.jsx("stop",{offset:1,stopColor:"#66eb6e",stopOpacity:0})]}),s.jsxs("linearGradient",{id:"edge_a",x1:63.3,x2:241.7,y1:84,y2:84,gradientTransform:"matrix(1 0 0 -1 0 266)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:0,stopColor:"#0c59a4"}),s.jsx("stop",{offset:1,stopColor:"#114a8b"})]}),s.jsxs("linearGradient",{id:"edge_c",x1:157.3,x2:46,y1:161.4,y2:40.1,gradientTransform:"matrix(1 0 0 -1 0 266)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:0,stopColor:"#1b9de2"}),s.jsx("stop",{offset:.2,stopColor:"#1595df"}),s.jsx("stop",{offset:.7,stopColor:"#0680d7"}),s.jsx("stop",{offset:1,stopColor:"#0078d4"})]})]}),s.jsx("path",{d:"M235.7 195.5a93.7 93.7 0 0 1-10.6 4.7 101.9 101.9 0 0 1-35.9 6.4c-47.3 0-88.5-32.5-88.5-74.3a31.5 31.5 0 0 1 16.4-27.3c-42.8 1.8-53.8 46.4-53.8 72.5 0 74 68.1 81.4 82.8 81.4 7.9 0 19.8-2.3 27-4.6l1.3-.4a128.3 128.3 0 0 0 66.6-52.8 4 4 0 0 0-5.3-5.6Z",style:{fill:"url(#edge_a)"},transform:"translate(-4.6 -5)"}),s.jsx("path",{d:"M235.7 195.5a93.7 93.7 0 0 1-10.6 4.7 101.9 101.9 0 0 1-35.9 6.4c-47.3 0-88.5-32.5-88.5-74.3a31.5 31.5 0 0 1 16.4-27.3c-42.8 1.8-53.8 46.4-53.8 72.5 0 74 68.1 81.4 82.8 81.4 7.9 0 19.8-2.3 27-4.6l1.3-.4a128.3 128.3 0 0 0 66.6-52.8 4 4 0 0 0-5.3-5.6Z",style:{isolation:"isolate",opacity:.35,fill:"url(#edge_b)"},transform:"translate(-4.6 -5)"}),s.jsx("path",{d:"M110.3 246.3A79.2 79.2 0 0 1 87.6 225a80.7 80.7 0 0 1 29.5-120c3.2-1.5 8.5-4.1 15.6-4a32.4 32.4 0 0 1 25.7 13 31.9 31.9 0 0 1 6.3 18.7c0-.2 24.5-79.6-80-79.6-43.9 0-80 41.6-80 78.2a130.2 130.2 0 0 0 12.1 56 128 128 0 0 0 156.4 67 75.5 75.5 0 0 1-62.8-8Z",style:{fill:"url(#edge_c)"},transform:"translate(-4.6 -5)"}),s.jsx("path",{d:"M110.3 246.3A79.2 79.2 0 0 1 87.6 225a80.7 80.7 0 0 1 29.5-120c3.2-1.5 8.5-4.1 15.6-4a32.4 32.4 0 0 1 25.7 13 31.9 31.9 0 0 1 6.3 18.7c0-.2 24.5-79.6-80-79.6-43.9 0-80 41.6-80 78.2a130.2 130.2 0 0 0 12.1 56 128 128 0 0 0 156.4 67 75.5 75.5 0 0 1-62.8-8Z",style:{opacity:.41,fill:"url(#edge_d)",isolation:"isolate"},transform:"translate(-4.6 -5)"}),s.jsx("path",{d:"M157 153.8c-.9 1-3.4 2.5-3.4 5.6 0 2.6 1.7 5.2 4.8 7.3 14.3 10 41.4 8.6 41.5 8.6a59.6 59.6 0 0 0 30.3-8.3 61.4 61.4 0 0 0 30.4-52.9c.3-22.4-8-37.3-11.3-43.9C228 28.8 182.3 5 132.6 5a128 128 0 0 0-128 126.2c.5-36.5 36.8-66 80-66 3.5 0 23.5.3 42 10a72.6 72.6 0 0 1 30.9 29.3c6.1 10.6 7.2 24.1 7.2 29.5s-2.7 13.3-7.8 19.9Z",style:{fill:"url(#edge_e)"},transform:"translate(-4.6 -5)"}),s.jsx("path",{d:"M157 153.8c-.9 1-3.4 2.5-3.4 5.6 0 2.6 1.7 5.2 4.8 7.3 14.3 10 41.4 8.6 41.5 8.6a59.6 59.6 0 0 0 30.3-8.3 61.4 61.4 0 0 0 30.4-52.9c.3-22.4-8-37.3-11.3-43.9C228 28.8 182.3 5 132.6 5a128 128 0 0 0-128 126.2c.5-36.5 36.8-66 80-66 3.5 0 23.5.3 42 10a72.6 72.6 0 0 1 30.9 29.3c6.1 10.6 7.2 24.1 7.2 29.5s-2.7 13.3-7.8 19.9Z",style:{fill:"url(#edge_f)"},transform:"translate(-4.6 -5)"})]}),wl=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75.591 75.591",...t,children:[s.jsxs("linearGradient",{id:"opera_a",x2:1,gradientTransform:"matrix(0 -54.944 -54.944 0 23.62 79.474)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:0,stopColor:"#ff1b2d"}),s.jsx("stop",{offset:.3,stopColor:"#ff1b2d"}),s.jsx("stop",{offset:.614,stopColor:"#ff1b2d"}),s.jsx("stop",{offset:1,stopColor:"#a70014"})]}),s.jsxs("linearGradient",{id:"opera_b",x2:1,gradientTransform:"matrix(0 -48.595 -48.595 0 37.854 76.235)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:0,stopColor:"#9c0000"}),s.jsx("stop",{offset:.7,stopColor:"#ff4b4b"}),s.jsx("stop",{offset:1,stopColor:"#ff4b4b"})]}),s.jsx("path",{fill:"url(#opera_a)",d:"M28.346 80.398C12.691 80.398 0 67.707 0 52.052 0 36.85 11.968 24.443 26.996 23.739a28.244 28.244 0 0 1 20.241 7.18c-3.322-2.203-7.207-3.47-11.359-3.47-6.75 0-12.796 3.348-16.862 8.629-3.134 3.7-5.164 9.169-5.302 15.307v1.335c.138 6.137 2.168 11.608 5.302 15.307 4.066 5.28 10.112 8.63 16.862 8.63 4.152 0 8.038-1.269 11.36-3.474a28.239 28.239 0 0 1-18.785 7.215l-.108.001z",transform:"matrix(1.3333 0 0 -1.3333 0 107.2)"}),s.jsx("path",{fill:"url(#opera_b)",d:"M19.016 68.025c2.601 3.07 5.96 4.923 9.631 4.923 8.252 0 14.941-9.356 14.941-20.897s-6.69-20.897-14.941-20.897c-3.67 0-7.03 1.85-9.63 4.922 4.066-5.281 10.11-8.63 16.862-8.63 4.152 0 8.036 1.268 11.359 3.472 5.802 5.19 9.455 12.735 9.455 21.133 0 8.397-3.653 15.94-9.453 21.13-3.324 2.206-7.209 3.473-11.361 3.473-6.75 0-12.796-3.348-16.862-8.63",transform:"matrix(1.3333 0 0 -1.3333 0 107.2)"})]}),xl=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:182,height:121,fill:"none",...t,children:[s.jsx("path",{fill:"url(#a)",d:"M114.092 103.689h-46.36v11.541h46.36v-11.541Z"}),s.jsx("path",{fill:"#828589",d:"M134.371 115.23H47.446v5.771h86.925v-5.771Z"}),s.jsx("rect",{width:180.555,height:103.984,x:.723,fill:"url(#b)",rx:8}),s.jsx("rect",{width:167,height:90,x:7.5,y:7,fill:"#000",fillOpacity:.4,rx:4}),s.jsxs("g",{filter:"url(#c)",children:[s.jsx("rect",{width:102,height:56,x:40,y:24,fill:"url(#d)",rx:6}),s.jsx("rect",{width:86,height:8,x:48,y:44.5,fill:"#D9D9D9",fillOpacity:.1,rx:4}),s.jsx("rect",{width:41,height:8,x:48,y:59.5,fill:"#fff",fillOpacity:.14,rx:4}),s.jsx("rect",{width:41,height:8,x:93,y:59.5,fill:"#fff",fillOpacity:.3,rx:4}),s.jsx("rect",{width:8,height:8,x:126,y:31,fill:"#DE2122",rx:4}),s.jsx("path",{fill:"#fff",d:"m131.878 33.683-1.31 1.31 1.31 1.324a.384.384 0 0 1 0 .561.384.384 0 0 1-.561 0l-1.311-1.31-1.323 1.31a.384.384 0 0 1-.561 0 .384.384 0 0 1 0-.561l1.31-1.323-1.31-1.31a.384.384 0 0 1 0-.562.384.384 0 0 1 .561 0l1.323 1.31 1.311-1.31a.384.384 0 0 1 .561 0 .384.384 0 0 1 0 .561Z"}),s.jsx("rect",{width:101,height:55,x:40.5,y:24.5,stroke:"url(#e)",strokeMiterlimit:10,rx:5.5})]}),s.jsxs("defs",{children:[s.jsxs("linearGradient",{id:"a",x1:90.912,x2:90.912,y1:103.689,y2:115.23,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"gray"}),s.jsx("stop",{offset:1,stopColor:"#56585D"})]}),s.jsxs("linearGradient",{id:"b",x1:91,x2:91,y1:0,y2:103.984,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"gray"}),s.jsx("stop",{offset:1,stopColor:"#56585D"})]}),s.jsxs("linearGradient",{id:"d",x1:52.429,x2:70.085,y1:27.417,y2:80.913,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#313131"}),s.jsx("stop",{offset:1,stopColor:"#1B1B1B"})]}),s.jsxs("linearGradient",{id:"e",x1:50.178,x2:89.211,y1:41.176,y2:95.944,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:0,stopColor:"#575757"}),s.jsx("stop",{offset:1,stopColor:"#2C2C2C"})]}),s.jsxs("filter",{id:"c",width:134,height:88,x:24,y:15,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[s.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),s.jsx("feOffset",{dy:7}),s.jsx("feGaussianBlur",{stdDeviation:8}),s.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),s.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2206_37806"}),s.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2206_37806",result:"shape"})]})]})]}),Cl=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:196,height:130,fill:"none",...t,children:[s.jsx("g",{filter:"url(#a)",children:s.jsx("path",{fill:"url(#b)",d:"M16 52.406h164v70a6 6 0 0 1-6 6H22a6 6 0 0 1-6-6v-70Z"})}),s.jsx("path",{fill:"#3C3E3F",d:"M16 52.406h164v-17a6 6 0 0 0-6-6H22a6 6 0 0 0-6 6v17Z"}),s.jsx("path",{stroke:"url(#c)",d:"M16 51.906h163"}),s.jsx("path",{fill:"#fff",fillOpacity:.3,d:"M152.172 43.75a2.171 2.171 0 1 0 0-4.343 2.171 2.171 0 0 0 0 4.342ZM160.258 43.75a2.172 2.172 0 1 0 0-4.344 2.172 2.172 0 0 0 0 4.343Z"}),s.jsx("path",{fill:"#F0F6FE",d:"M168.344 43.75a2.172 2.172 0 1 0 0-4.344 2.172 2.172 0 0 0 0 4.343Z"}),s.jsx("rect",{width:165.324,height:99.595,x:15.5,y:28.906,stroke:"url(#d)",strokeMiterlimit:10,rx:6.5}),s.jsx("path",{fill:"url(#e)",d:"M96.469 13.858c1.347-2.334 4.717-2.334 6.064 0l58.373 101.105c1.348 2.335-.337 5.253-3.032 5.253H41.128c-2.696 0-4.38-2.918-3.033-5.253L96.47 13.858Z"}),s.jsx("path",{fill:"#fff",d:"M97.705 88.342a1 1 0 0 1-1-.975l-.826-33.968a1 1 0 0 1 1-1.024h6.267a1 1 0 0 1 1 1.024l-.827 33.968a1 1 0 0 1-1 .975h-4.614Zm2.526 15.54c-1.508 0-2.748-.462-3.72-1.386-.925-.973-1.387-2.116-1.387-3.43 0-1.361.462-2.504 1.386-3.428.973-.973 2.213-1.46 3.721-1.46 1.41 0 2.578.487 3.502 1.46.973.924 1.459 2.067 1.459 3.429 0 1.313-.486 2.456-1.459 3.429-.924.924-2.092 1.386-3.502 1.386Z"}),s.jsx("rect",{width:1,height:3,x:55,y:44,fill:"#9DA2A5",rx:.5}),s.jsx("rect",{width:1,height:3,x:55,y:50,fill:"#9DA2A5",rx:.5}),s.jsx("rect",{width:1,height:3,x:55,y:56,fill:"#9DA2A5",rx:.5}),s.jsx("rect",{width:40.255,height:40.255,x:35,fill:"url(#f)",rx:20.128}),s.jsx("path",{fill:"#fff",d:"M61.128 14.127v8h3v-7c0-.531-.469-1-1-1h-2Zm-1 0h-3v4h3v-4Zm-4 0h-2v8h2v-8Zm-3 0h-3v4h3v-4Zm-4 0h-2c-.563 0-1 .469-1 1v7h3v-8Zm-3 9v2c0 .563.437 1 1 1h7.5v-3h-8.5Zm9.5 3h7.5c.531 0 1-.438 1-1v-2h-8.5v3Zm-10.5-11c0-1.094.875-2 2-2h16c1.094 0 2 .906 2 2v10c0 1.125-.906 2-2 2h-16c-1.125 0-2-.875-2-2v-10Zm8 7v-3h-3v3h3Zm7-3h-3v3h3v-3Z"}),s.jsx("rect",{width:15.096,height:15.096,x:62.676,y:26.418,fill:"#DE2122",rx:7.548}),s.jsx("path",{fill:"#fff",d:"m72.102 32.65-1.31 1.31 1.31 1.323a.385.385 0 0 1 0 .562.385.385 0 0 1-.562 0l-1.31-1.31-1.323 1.31a.385.385 0 0 1-.562 0 .385.385 0 0 1 0-.562l1.31-1.322-1.31-1.31a.385.385 0 0 1 0-.563.385.385 0 0 1 .562 0l1.323 1.31 1.31-1.31a.385.385 0 0 1 .562 0 .385.385 0 0 1 0 .562Z"}),s.jsx("rect",{width:40.255,height:40.255,x:35,y:63,fill:"url(#g)",rx:20.128}),s.jsx("path",{fill:"#fff",d:"M54.628 75.627c0-.25.219-.5.5-.5.25 0 .5.25.5.5v.531c2.5.25 4.5 2.375 4.5 4.969v.938c0 1.343.531 2.656 1.5 3.624l.094.094c.25.25.406.625.406.969a1.4 1.4 0 0 1-1.406 1.406h-11.22c-.78-.031-1.374-.625-1.374-1.406 0-.375.125-.719.406-.969l.063-.094c.968-.968 1.53-2.28 1.53-3.624v-.938a4.99 4.99 0 0 1 4.5-4.969v-.531Zm.5 1.5c-2.219 0-4 1.813-4 4v.938a6.152 6.152 0 0 1-1.813 4.343l-.093.063a.504.504 0 0 0-.094.281c0 .219.156.375.375.375h11.219c.218 0 .406-.156.406-.375 0-.094-.063-.188-.125-.281l-.094-.063a6.17 6.17 0 0 1-1.812-4.375v-.906c0-2.188-1.782-4-4-4h.03Zm-.969 12.344c.156.406.531.656.969.656.406 0 .781-.25.937-.656.094-.25.375-.407.625-.313.25.094.407.375.313.656a1.994 1.994 0 0 1-1.875 1.313 2.005 2.005 0 0 1-1.906-1.313.524.524 0 0 1 .312-.656c.25-.094.531.063.625.313Z"}),s.jsx("rect",{width:15.096,height:15.096,x:62.678,y:89.418,fill:"#DE2122",rx:7.548}),s.jsx("path",{fill:"#fff",d:"m72.104 95.65-1.31 1.31 1.31 1.324a.385.385 0 0 1 0 .561.385.385 0 0 1-.562 0l-1.31-1.31-1.323 1.31a.385.385 0 0 1-.562 0 .385.385 0 0 1 0-.561l1.31-1.323-1.31-1.31a.385.385 0 0 1 0-.563.385.385 0 0 1 .562 0l1.323 1.31 1.31-1.31a.385.385 0 0 1 .562 0 .385.385 0 0 1 0 .562Z"}),s.jsxs("defs",{children:[s.jsxs("linearGradient",{id:"b",x1:35.984,x2:56.797,y1:57.043,y2:131.755,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#383838"}),s.jsx("stop",{offset:1,stopColor:"#1D1D1D"})]}),s.jsxs("linearGradient",{id:"c",x1:10.22,x2:179,y1:52.406,y2:52.406,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:1,stopColor:"#5F5F5F",stopOpacity:0})]}),s.jsxs("linearGradient",{id:"d",x1:32.397,x2:102.886,y1:59.648,y2:150.147,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:0,stopColor:"#575757"}),s.jsx("stop",{offset:1,stopColor:"#2C2C2C"})]}),s.jsxs("linearGradient",{id:"e",x1:99.501,x2:246.864,y1:8.606,y2:161.85,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#F4B40F"}),s.jsx("stop",{offset:1,stopColor:"#EFAA23"})]}),s.jsxs("linearGradient",{id:"f",x1:55.128,x2:55.128,y1:0,y2:40.255,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"gray"}),s.jsx("stop",{offset:1,stopColor:"#56585D"})]}),s.jsxs("linearGradient",{id:"g",x1:55.128,x2:55.128,y1:63,y2:103.255,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"gray"}),s.jsx("stop",{offset:1,stopColor:"#56585D"})]}),s.jsxs("filter",{id:"a",width:196,height:108,x:0,y:43.406,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[s.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),s.jsx("feOffset",{dy:7}),s.jsx("feGaussianBlur",{stdDeviation:8}),s.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),s.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_834_102897"}),s.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_834_102897",result:"shape"})]})]})]}),Ol=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:247,height:143,fill:"none",...t,children:[s.jsx("path",{fill:"url(#a)",d:"M144.369 125.689h-46.36v11.541h46.36v-11.541Z"}),s.jsx("path",{fill:"#828589",d:"M164.648 137.23H77.724v5.771h86.924v-5.771Z"}),s.jsx("rect",{width:180.555,height:103.984,x:31,y:22,fill:"url(#b)",rx:8}),s.jsx("rect",{width:167,height:90,x:37.777,y:29,fill:"#000",fillOpacity:.4,rx:4}),s.jsxs("g",{filter:"url(#c)",children:[s.jsx("path",{fill:"url(#d)",d:"M187.138 9h-67.22A2.918 2.918 0 0 0 117 11.918v42.756a2.918 2.918 0 0 0 2.918 2.918h67.22a2.918 2.918 0 0 0 2.918-2.918V11.918A2.918 2.918 0 0 0 187.138 9Z"}),s.jsx("path",{stroke:"url(#e)",strokeMiterlimit:10,d:"M119.918 9.5h67.22a2.418 2.418 0 0 1 2.418 2.418v42.756a2.418 2.418 0 0 1-2.418 2.418h-67.22a2.418 2.418 0 0 1-2.418-2.418V11.918a2.418 2.418 0 0 1 2.418-2.418Z"})]}),s.jsx("path",{fill:"#fff",fillOpacity:.3,d:"M161.871 22.42a2.171 2.171 0 1 0 0-4.343 2.171 2.171 0 0 0 0 4.342ZM169.958 22.42a2.171 2.171 0 1 0 0-4.343 2.171 2.171 0 0 0 0 4.342Z"}),s.jsx("path",{fill:"#F0F6FE",d:"M178.043 22.42a2.172 2.172 0 1 0 0-4.345 2.172 2.172 0 0 0 0 4.344Z"}),s.jsx("path",{fill:"#9DA2A5",d:"M153.404 55.547v5.836a.486.486 0 1 1-.972 0v-5.836a.486.486 0 1 1 .972 0ZM152.92 67.827l-3.255-3.255a.486.486 0 0 0-.688.688l3.599 3.6c.191.19.498.19.688 0l3.593-3.594a.485.485 0 1 0-.687-.688l-3.25 3.25ZM153.404 49.322v-5.836a.486.486 0 1 0-.972 0v5.836a.486.486 0 1 0 .972 0Z"}),s.jsx("path",{fill:"#3BB272",d:"M149 35a4 4 0 1 0 8 0 4 4 0 0 0-8 0Z"}),s.jsx("path",{fill:"#fff",fillOpacity:.1,d:"M105.723 39H53.277A2.28 2.28 0 0 0 51 41.282v33.436A2.28 2.28 0 0 0 53.277 77h52.446A2.28 2.28 0 0 0 108 74.718V41.282A2.28 2.28 0 0 0 105.723 39Z"}),s.jsx("path",{stroke:"#C8C8C8",strokeDasharray:"9 9",strokeLinecap:"round",strokeMiterlimit:10,strokeOpacity:.2,d:"M100.853 39a.5.5 0 0 0 .5.5h4.37c.98 0 1.777.797 1.777 1.782v4.18a.5.5 0 0 0 .5.5v7.358a.5.5 0 0 0-.5.5v8.36a.5.5 0 0 0 .5.5v7.358a.5.5 0 0 0-.5.5v4.18a1.78 1.78 0 0 1-1.777 1.782h-4.37a.5.5 0 0 0-.5.5h-7.741a.5.5 0 0 0-.5-.5H83.87a.5.5 0 0 0-.5.5h-7.742a.5.5 0 0 0-.5-.5h-8.74a.5.5 0 0 0-.5.5h-7.742a.5.5 0 0 0-.5-.5h-4.37a1.78 1.78 0 0 1-1.777-1.782v-4.18a.5.5 0 0 0-.5-.5V62.68a.5.5 0 0 0 .5-.5v-8.36a.5.5 0 0 0-.5-.5v-7.358a.5.5 0 0 0 .5-.5v-4.18a1.78 1.78 0 0 1 1.777-1.782h4.37a.5.5 0 0 0 .5-.5h7.741a.5.5 0 0 0 .5.5h8.741a.5.5 0 0 0 .5-.5h7.742a.5.5 0 0 0 .5.5h8.74a.5.5 0 0 0 .5-.5h7.742Z"}),s.jsx("path",{fill:"#fff",fillOpacity:.1,d:"M194.843 75h-49.686A2.16 2.16 0 0 0 143 77.162v31.676a2.16 2.16 0 0 0 2.157 2.162h49.686a2.16 2.16 0 0 0 2.157-2.162V77.162A2.16 2.16 0 0 0 194.843 75Z"}),s.jsx("path",{stroke:"#C8C8C8",strokeDasharray:"9 9",strokeLinecap:"round",strokeMiterlimit:10,strokeOpacity:.2,d:"M190.203 75a.5.5 0 0 0 .5.5h4.14a1.66 1.66 0 0 1 1.657 1.662v3.96a.5.5 0 0 0 .5.5v6.918a.5.5 0 0 0-.5.5v7.92a.5.5 0 0 0 .5.5v6.919a.5.5 0 0 0-.5.5v3.959a1.66 1.66 0 0 1-1.657 1.662h-4.14a.5.5 0 0 0-.5.5h-7.281a.5.5 0 0 0-.5-.5h-8.281a.5.5 0 0 0-.5.5h-7.282a.5.5 0 0 0-.5-.5h-8.281a.5.5 0 0 0-.5.5h-7.281a.5.5 0 0 0-.5-.5h-4.14a1.66 1.66 0 0 1-1.657-1.662v-3.959a.5.5 0 0 0-.5-.5v-6.92a.5.5 0 0 0 .5-.5V89.04a.5.5 0 0 0-.5-.5v-6.919a.5.5 0 0 0 .5-.5v-3.96a1.66 1.66 0 0 1 1.657-1.661h4.14a.5.5 0 0 0 .5-.5h7.281a.5.5 0 0 0 .5.5h8.281a.5.5 0 0 0 .5-.5h7.282a.5.5 0 0 0 .5.5h8.281a.5.5 0 0 0 .5-.5h7.281Z"}),s.jsxs("g",{filter:"url(#f)",children:[s.jsx("path",{fill:"url(#g)",d:"M228.294 65h-53.951a2.342 2.342 0 0 0-2.342 2.342v34.316a2.343 2.343 0 0 0 2.342 2.342h53.951a2.343 2.343 0 0 0 2.342-2.342V67.342A2.342 2.342 0 0 0 228.294 65Z"}),s.jsx("path",{stroke:"url(#h)",strokeMiterlimit:10,d:"M174.343 65.5h53.951c1.017 0 1.842.825 1.842 1.842v34.316a1.842 1.842 0 0 1-1.842 1.842h-53.951a1.842 1.842 0 0 1-1.842-1.842V67.342c0-1.017.825-1.842 1.842-1.842Z"})]}),s.jsx("path",{fill:"#fff",fillOpacity:.3,d:"M208.014 75.77a1.743 1.743 0 1 0 0-3.484 1.743 1.743 0 0 0 0 3.485ZM214.505 75.77a1.743 1.743 0 1 0 0-3.484 1.743 1.743 0 0 0 0 3.485Z"}),s.jsx("path",{fill:"#F0F6FE",d:"M220.995 75.77a1.743 1.743 0 1 0 0-3.486 1.743 1.743 0 0 0 0 3.487Z"}),s.jsx("path",{fill:"#9DA2A5",d:"M172.454 86.568h-5.836a.486.486 0 1 1 0-.972h5.836a.486.486 0 1 1 0 .972ZM160.175 86.084l3.255-3.255a.486.486 0 1 0-.688-.688l-3.599 3.6a.486.486 0 0 0 0 .687l3.593 3.594a.486.486 0 1 0 .688-.688l-3.249-3.25ZM176.486 86.568h5.836a.487.487 0 1 0 0-.972h-5.836a.486.486 0 1 0 0 .972ZM186.486 86.568h5.836a.487.487 0 1 0 0-.972h-5.836a.486.486 0 1 0 0 .972Z"}),s.jsx("path",{fill:"url(#i)",d:"M200.891 82.242a3.89 3.89 0 1 0 0 7.782 3.89 3.89 0 0 0 0-7.782Z"}),s.jsxs("g",{filter:"url(#j)",children:[s.jsx("path",{fill:"url(#k)",d:"M86.138 62h-67.22A2.918 2.918 0 0 0 16 64.918v42.756a2.918 2.918 0 0 0 2.918 2.918h67.22a2.918 2.918 0 0 0 2.918-2.918V64.918A2.918 2.918 0 0 0 86.138 62Z"}),s.jsx("path",{stroke:"url(#l)",strokeMiterlimit:10,d:"M18.918 62.5h67.22a2.418 2.418 0 0 1 2.418 2.418v42.756a2.418 2.418 0 0 1-2.418 2.418h-67.22a2.418 2.418 0 0 1-2.418-2.418V64.918a2.418 2.418 0 0 1 2.418-2.418Z"})]}),s.jsx("path",{fill:"#fff",fillOpacity:.3,d:"M60.87 75.42a2.172 2.172 0 1 0 0-4.344 2.172 2.172 0 0 0 0 4.343ZM68.958 75.42a2.172 2.172 0 1 0 0-4.344 2.172 2.172 0 0 0 0 4.343Z"}),s.jsx("path",{fill:"#F0F6FE",d:"M77.043 75.42a2.172 2.172 0 1 0 0-4.344 2.172 2.172 0 0 0 0 4.343Z"}),s.jsx("path",{fill:"#9DA2A5",d:"M101.546 88.596h5.836a.486.486 0 1 1 0 .972h-5.836a.486.486 0 1 1 0-.972ZM80.158 88.596h5.836a.486.486 0 1 1 0 .972h-5.836a.486.486 0 1 1 0-.972ZM96.71 88.596h-5.836a.486.486 0 1 0 0 .972h5.836a.486.486 0 1 0 0-.972ZM59.158 88.596h5.836a.486.486 0 1 1 0 .972h-5.836a.486.486 0 1 1 0-.972ZM113.825 89.08l-3.255 3.255a.486.486 0 1 0 .688.688l3.599-3.6a.486.486 0 0 0 0-.687l-3.593-3.593a.486.486 0 1 0-.688.687l3.249 3.25ZM75.322 88.596h-5.836a.486.486 0 1 0 0 .972h5.836a.486.486 0 1 0 0-.972Z"}),s.jsx("path",{fill:"#2479E9",d:"M50 93a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z"}),s.jsxs("defs",{children:[s.jsxs("linearGradient",{id:"a",x1:121.189,x2:121.189,y1:125.689,y2:137.23,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"gray"}),s.jsx("stop",{offset:1,stopColor:"#56585D"})]}),s.jsxs("linearGradient",{id:"b",x1:121.277,x2:121.277,y1:22,y2:125.984,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"gray"}),s.jsx("stop",{offset:1,stopColor:"#56585D"})]}),s.jsxs("linearGradient",{id:"d",x1:125.902,x2:143.647,y1:11.965,y2:56.345,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#383838"}),s.jsx("stop",{offset:1,stopColor:"#1D1D1D"})]}),s.jsxs("linearGradient",{id:"e",x1:124.29,x2:159.738,y1:23.904,y2:64.958,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:0,stopColor:"#575757"}),s.jsx("stop",{offset:1,stopColor:"#2C2C2C"})]}),s.jsxs("linearGradient",{id:"g",x1:179.146,x2:193.388,y1:67.38,y2:102.999,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#383838"}),s.jsx("stop",{offset:1,stopColor:"#1D1D1D"})]}),s.jsxs("linearGradient",{id:"h",x1:177.852,x2:206.302,y1:76.962,y2:109.912,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:0,stopColor:"#575757"}),s.jsx("stop",{offset:1,stopColor:"#2C2C2C"})]}),s.jsxs("linearGradient",{id:"i",x1:200.891,x2:193.185,y1:90.023,y2:82.01,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#F4B40F"}),s.jsx("stop",{offset:1,stopColor:"#EFAA23"})]}),s.jsxs("linearGradient",{id:"k",x1:24.902,x2:42.647,y1:64.965,y2:109.345,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#383838"}),s.jsx("stop",{offset:1,stopColor:"#1D1D1D"})]}),s.jsxs("linearGradient",{id:"l",x1:23.29,x2:58.738,y1:76.904,y2:117.958,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:0,stopColor:"#575757"}),s.jsx("stop",{offset:1,stopColor:"#2C2C2C"})]}),s.jsxs("filter",{id:"c",width:105.056,height:80.592,x:101,y:0,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[s.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),s.jsx("feOffset",{dy:7}),s.jsx("feGaussianBlur",{stdDeviation:8}),s.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),s.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_807_102718"}),s.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_807_102718",result:"shape"})]}),s.jsxs("filter",{id:"f",width:90.635,height:71,x:156.001,y:56,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[s.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),s.jsx("feOffset",{dy:7}),s.jsx("feGaussianBlur",{stdDeviation:8}),s.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),s.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_807_102718"}),s.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_807_102718",result:"shape"})]}),s.jsxs("filter",{id:"j",width:105.056,height:80.592,x:0,y:53,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[s.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),s.jsx("feOffset",{dy:7}),s.jsx("feGaussianBlur",{stdDeviation:8}),s.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),s.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_807_102718"}),s.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_807_102718",result:"shape"})]})]})]}),jl=[{name:"Google Chrome",Image:yl,url:"https://www.google.com/chrome/"},{name:"Microsoft Edge",Image:bl,url:"https://www.microsoft.com/en-us/edge/download"},{name:"Opera",Image:wl,url:"https://www.opera.com/browsers/opera"}];const pi=({className:t,children:e,Logo:n})=>s.jsx("div",{className:$("info-page-container",t),children:s.jsxs("div",{className:"info-page-wrapper",children:[s.jsx(n,{className:"mb-32"}),e]})}),El=({supportEmail:t})=>s.jsxs("p",{className:"additional-information",children:["For more information, visit the io.Connect Browser",s.jsx("br",{}),s.jsx("a",{href:"https://docs.interop.io/browser/getting-started/requirements-compatibility/index.html",target:"_blank",rel:"noopener noreferrer",children:"documentation"}),t?s.jsxs(s.Fragment,{children:[" or ",s.jsx("a",{href:`mailto:${t}?subject=Issue with io.Connect Browser`,children:"contact us"}),"."]}):s.jsxs(s.Fragment,{children:[" or our ",s.jsx("a",{href:"https://support.interop.io",target:"_blank",rel:"noopener noreferrer",children:"help center"}),"."]})]});const hi=({components:{Logo:t=xt}={},supportEmail:e})=>{const{name:n,version:r}=cr(),o="Hmm... It seems that your browser isn’t supported.",i=`We're sorry, but ${n} ${r} isn’t supported.
|
|
40
|
+
*/var jn,Xr;function pc(){if(Xr)return jn;Xr=1;var t=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},c=0;c<10;c++)a["_"+String.fromCharCode(c)]=c;var l=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(l.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(f){u[f]=f}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return jn=o()?Object.assign:function(i,a){for(var c,l=r(i),u,f=1;f<arguments.length;f++){c=Object(arguments[f]);for(var p in c)e.call(c,p)&&(l[p]=c[p]);if(t){u=t(c);for(var d=0;d<u.length;d++)n.call(c,u[d])&&(l[u[d]]=c[u[d]])}}return l},jn}var En,Jr;function gr(){if(Jr)return En;Jr=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return En=t,En}var Sn,Qr;function ii(){return Qr||(Qr=1,Sn=Function.call.bind(Object.prototype.hasOwnProperty)),Sn}var kn,eo;function hc(){if(eo)return kn;eo=1;var t=function(){};if(process.env.NODE_ENV!=="production"){var e=gr(),n={},r=ii();t=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,c,l,u){if(process.env.NODE_ENV!=="production"){for(var f in i)if(r(i,f)){var p;try{if(typeof i[f]!="function"){var d=Error((l||"React class")+": "+c+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}p=i[f](a,f,l,c,null,e)}catch(m){p=m}if(p&&!(p instanceof Error)&&t((l||"React class")+": type specification of "+c+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in n)){n[p.message]=!0;var h=u?u():"";t("Failed "+c+" type: "+p.message+(h??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},kn=o,kn}var Pn,to;function mc(){if(to)return Pn;to=1;var t=oi(),e=pc(),n=gr(),r=ii(),o=hc(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(c){var l="Warning: "+c;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function a(){return null}return Pn=function(c,l){var u=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function p(E){var T=E&&(u&&E[u]||E[f]);if(typeof T=="function")return T}var d="<<anonymous>>",h={array:w("array"),bigint:w("bigint"),bool:w("boolean"),func:w("function"),number:w("number"),object:w("object"),string:w("string"),symbol:w("symbol"),any:j(),arrayOf:O,element:C(),elementType:b(),instanceOf:k,node:R(),objectOf:S,oneOf:_,oneOfType:I,shape:re,exact:te};function m(E,T){return E===T?E!==0||1/E===1/T:E!==E&&T!==T}function v(E,T){this.message=E,this.data=T&&typeof T=="object"?T:{},this.stack=""}v.prototype=Error.prototype;function g(E){if(process.env.NODE_ENV!=="production")var T={},L=0;function D(M,A,F,z,Z,B,ie){if(z=z||d,B=B||F,ie!==n){if(l){var P=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw P.name="Invariant Violation",P}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var de=z+":"+F;!T[de]&&L<3&&(i("You are manually calling a React.PropTypes validation function for the `"+B+"` prop on `"+z+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),T[de]=!0,L++)}}return A[F]==null?M?A[F]===null?new v("The "+Z+" `"+B+"` is marked as required "+("in `"+z+"`, but its value is `null`.")):new v("The "+Z+" `"+B+"` is marked as required in "+("`"+z+"`, but its value is `undefined`.")):null:E(A,F,z,Z,B)}var N=D.bind(null,!1);return N.isRequired=D.bind(null,!0),N}function w(E){function T(L,D,N,M,A,F){var z=L[D],Z=J(z);if(Z!==E){var B=ne(z);return new v("Invalid "+M+" `"+A+"` of type "+("`"+B+"` supplied to `"+N+"`, expected ")+("`"+E+"`."),{expectedType:E})}return null}return g(T)}function j(){return g(a)}function O(E){function T(L,D,N,M,A){if(typeof E!="function")return new v("Property `"+A+"` of component `"+N+"` has invalid PropType notation inside arrayOf.");var F=L[D];if(!Array.isArray(F)){var z=J(F);return new v("Invalid "+M+" `"+A+"` of type "+("`"+z+"` supplied to `"+N+"`, expected an array."))}for(var Z=0;Z<F.length;Z++){var B=E(F,Z,N,M,A+"["+Z+"]",n);if(B instanceof Error)return B}return null}return g(T)}function C(){function E(T,L,D,N,M){var A=T[L];if(!c(A)){var F=J(A);return new v("Invalid "+N+" `"+M+"` of type "+("`"+F+"` supplied to `"+D+"`, expected a single ReactElement."))}return null}return g(E)}function b(){function E(T,L,D,N,M){var A=T[L];if(!t.isValidElementType(A)){var F=J(A);return new v("Invalid "+N+" `"+M+"` of type "+("`"+F+"` supplied to `"+D+"`, expected a single ReactElement type."))}return null}return g(E)}function k(E){function T(L,D,N,M,A){if(!(L[D]instanceof E)){var F=E.name||d,z=pe(L[D]);return new v("Invalid "+M+" `"+A+"` of type "+("`"+z+"` supplied to `"+N+"`, expected ")+("instance of `"+F+"`."))}return null}return g(T)}function _(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function T(L,D,N,M,A){for(var F=L[D],z=0;z<E.length;z++)if(m(F,E[z]))return null;var Z=JSON.stringify(E,function(ie,P){var de=ne(P);return de==="symbol"?String(P):P});return new v("Invalid "+M+" `"+A+"` of value `"+String(F)+"` "+("supplied to `"+N+"`, expected one of "+Z+"."))}return g(T)}function S(E){function T(L,D,N,M,A){if(typeof E!="function")return new v("Property `"+A+"` of component `"+N+"` has invalid PropType notation inside objectOf.");var F=L[D],z=J(F);if(z!=="object")return new v("Invalid "+M+" `"+A+"` of type "+("`"+z+"` supplied to `"+N+"`, expected an object."));for(var Z in F)if(r(F,Z)){var B=E(F,Z,N,M,A+"."+Z,n);if(B instanceof Error)return B}return null}return g(T)}function I(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var T=0;T<E.length;T++){var L=E[T];if(typeof L!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+xe(L)+" at index "+T+"."),a}function D(N,M,A,F,z){for(var Z=[],B=0;B<E.length;B++){var ie=E[B],P=ie(N,M,A,F,z,n);if(P==null)return null;P.data&&r(P.data,"expectedType")&&Z.push(P.data.expectedType)}var de=Z.length>0?", expected one of type ["+Z.join(", ")+"]":"";return new v("Invalid "+F+" `"+z+"` supplied to "+("`"+A+"`"+de+"."))}return g(D)}function R(){function E(T,L,D,N,M){return se(T[L])?null:new v("Invalid "+N+" `"+M+"` supplied to "+("`"+D+"`, expected a ReactNode."))}return g(E)}function W(E,T,L,D,N){return new v((E||"React class")+": "+T+" type `"+L+"."+D+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+N+"`.")}function re(E){function T(L,D,N,M,A){var F=L[D],z=J(F);if(z!=="object")return new v("Invalid "+M+" `"+A+"` of type `"+z+"` "+("supplied to `"+N+"`, expected `object`."));for(var Z in E){var B=E[Z];if(typeof B!="function")return W(N,M,A,Z,ne(B));var ie=B(F,Z,N,M,A+"."+Z,n);if(ie)return ie}return null}return g(T)}function te(E){function T(L,D,N,M,A){var F=L[D],z=J(F);if(z!=="object")return new v("Invalid "+M+" `"+A+"` of type `"+z+"` "+("supplied to `"+N+"`, expected `object`."));var Z=e({},L[D],E);for(var B in Z){var ie=E[B];if(r(E,B)&&typeof ie!="function")return W(N,M,A,B,ne(ie));if(!ie)return new v("Invalid "+M+" `"+A+"` key `"+B+"` supplied to `"+N+"`.\nBad object: "+JSON.stringify(L[D],null," ")+`
|
|
41
|
+
Valid keys: `+JSON.stringify(Object.keys(E),null," "));var P=ie(F,B,N,M,A+"."+B,n);if(P)return P}return null}return g(T)}function se(E){switch(typeof E){case"number":case"string":case"undefined":return!0;case"boolean":return!E;case"object":if(Array.isArray(E))return E.every(se);if(E===null||c(E))return!0;var T=p(E);if(T){var L=T.call(E),D;if(T!==E.entries){for(;!(D=L.next()).done;)if(!se(D.value))return!1}else for(;!(D=L.next()).done;){var N=D.value;if(N&&!se(N[1]))return!1}}else return!1;return!0;default:return!1}}function be(E,T){return E==="symbol"?!0:T?T["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&T instanceof Symbol:!1}function J(E){var T=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":be(T,E)?"symbol":T}function ne(E){if(typeof E>"u"||E===null)return""+E;var T=J(E);if(T==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return T}function xe(E){var T=ne(E);switch(T){case"array":case"object":return"an "+T;case"boolean":case"date":case"regexp":return"a "+T;default:return T}}function pe(E){return!E.constructor||!E.constructor.name?d:E.constructor.name}return h.checkPropTypes=o,h.resetWarningCache=o.resetWarningCache,h.PropTypes=h,h},Pn}var Tn,no;function vc(){if(no)return Tn;no=1;var t=gr();function e(){}function n(){}return n.resetWarningCache=e,Tn=function(){function r(a,c,l,u,f,p){if(p!==t){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}r.isRequired=r;function o(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:e};return i.PropTypes=i,i},Tn}if(process.env.NODE_ENV!=="production"){var gc=oi(),yc=!0;Gr.exports=mc()(gc.isElement,yc)}else Gr.exports=vc()();function Bn(t){return Bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bn(t)}var bc;function Ht(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:bc;return e?t.split(" ").map(function(n){return e[n]||n}).join(" "):t}function wc(t,e){var n={};return Object.keys(t).forEach(function(r){e.indexOf(r)===-1&&(n[r]=t[r])}),n}function xc(t,e){for(var n=Array.isArray(e)?e:[e],r=n.length,o,i={};r>0;)r-=1,o=n[r],i[o]=t[o];return i}var Cc=(typeof window>"u"?"undefined":Bn(window))==="object"&&window.Element||function(){};function Oc(t,e,n){if(!(t[e]instanceof Cc))return new Error("Invalid prop `"+e+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}x.oneOfType([x.string,x.func,Oc,x.shape({current:x.any})]);var fn=x.oneOfType([x.func,x.string,x.shape({$$typeof:x.symbol,render:x.func}),x.arrayOf(x.oneOfType([x.func,x.string,x.shape({$$typeof:x.symbol,render:x.func})]))]),jc={Fade:150,Collapse:350,Modal:300,Carousel:600,Offcanvas:300},ro=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],Zt={ENTERING:"entering",ENTERED:"entered",EXITING:"exiting",EXITED:"exited"},Ec=["className","cssModule","variant","innerRef"];function Zn(){return Zn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Zn.apply(this,arguments)}function oo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Sc(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?oo(Object(n),!0).forEach(function(r){kc(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oo(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function kc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pc(t,e){if(t==null)return{};var n=Tc(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Tc(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}var _c={active:x.bool,"aria-label":x.string,onClick:x.func,variant:x.oneOf(["white"]),className:x.string,cssModule:x.object,innerRef:x.oneOfType([x.object,x.string,x.func])};function si(t){var e=t.className;t.cssModule;var n=t.variant,r=t.innerRef,o=Pc(t,Ec),i=Ht(G(e,"btn-close",n&&"btn-close-".concat(n)));return y.createElement("button",Zn({ref:r,type:"button",className:i},Sc({"aria-label":"close"},o)))}si.propTypes=_c;var Ic=["active","aria-label","block","className","close","cssModule","color","outline","size","tag","innerRef"];function $n(){return $n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},$n.apply(this,arguments)}function Nc(t,e){if(t==null)return{};var n=Ac(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Ac(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}var Rc={active:x.bool,"aria-label":x.string,block:x.bool,children:x.node,className:x.string,cssModule:x.object,close:x.bool,color:x.string,disabled:x.bool,innerRef:x.oneOfType([x.object,x.func,x.string]),onClick:x.func,outline:x.bool,size:x.string,tag:fn};function pn(t){var e=y.useCallback(function(j){if(t.disabled){j.preventDefault();return}if(t.onClick)return t.onClick(j)},[t.onClick,t.disabled]),n=t.active,r=t["aria-label"],o=t.block,i=t.className,a=t.close,c=t.cssModule,l=t.color,u=l===void 0?"secondary":l,f=t.outline,p=t.size,d=t.tag,h=d===void 0?"button":d,m=t.innerRef,v=Nc(t,Ic);if(a)return y.createElement(si,v);var g="btn".concat(f?"-outline":"","-").concat(u),w=Ht(G(i,"btn",g,p?"btn-".concat(p):!1,o?"d-block w-100":!1,{active:n,disabled:t.disabled}),c);return v.href&&h==="button"&&(h="a"),y.createElement(h,$n({type:h==="button"&&v.onClick?"button":void 0},v,{className:w,ref:m,onClick:e,"aria-label":r}))}pn.propTypes=Rc;function Lc(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function Gn(t,e){return Gn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Gn(t,e)}function Mc(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Gn(t,e)}const io={disabled:!1};var Dc=process.env.NODE_ENV!=="production"?x.oneOfType([x.number,x.shape({enter:x.number,exit:x.number,appear:x.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&x.oneOfType([x.string,x.shape({enter:x.string,exit:x.string,active:x.string}),x.shape({enter:x.string,enterDone:x.string,enterActive:x.string,exit:x.string,exitDone:x.string,exitActive:x.string})]);const ai=y.createContext(null);var Fc=function(e){return e.scrollTop},Tt="unmounted",Ye="exited",Xe="entering",ut="entered",qn="exiting",He=function(t){Mc(e,t);function e(r,o){var i;i=t.call(this,r,o)||this;var a=o,c=a&&!a.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?c?(l=Ye,i.appearStatus=Xe):l=ut:r.unmountOnExit||r.mountOnEnter?l=Tt:l=Ye,i.state={status:l},i.nextCallback=null,i}e.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===Tt?{status:Ye}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==Xe&&a!==ut&&(i=Xe):(a===Xe||a===ut)&&(i=qn)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,a,c;return i=a=c=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,c=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:c}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Xe){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:kt.findDOMNode(this);a&&Fc(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ye&&this.setState({status:Tt})},n.performEnter=function(o){var i=this,a=this.props.enter,c=this.context?this.context.isMounting:o,l=this.props.nodeRef?[c]:[kt.findDOMNode(this),c],u=l[0],f=l[1],p=this.getTimeouts(),d=c?p.appear:p.enter;if(!o&&!a||io.disabled){this.safeSetState({status:ut},function(){i.props.onEntered(u)});return}this.props.onEnter(u,f),this.safeSetState({status:Xe},function(){i.props.onEntering(u,f),i.onTransitionEnd(d,function(){i.safeSetState({status:ut},function(){i.props.onEntered(u,f)})})})},n.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),c=this.props.nodeRef?void 0:kt.findDOMNode(this);if(!i||io.disabled){this.safeSetState({status:Ye},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:qn},function(){o.props.onExiting(c),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Ye},function(){o.props.onExited(c)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(c){a&&(a=!1,i.nextCallback=null,o(c))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:kt.findDOMNode(this),c=o==null&&!this.props.addEndListener;if(!a||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],f=l[1];this.props.addEndListener(u,f)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Tt)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var c=Lc(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return y.createElement(ai.Provider,{value:null},typeof a=="function"?a(o,c):y.cloneElement(y.Children.only(a),c))},e}(y.Component);He.contextType=ai;He.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:x.shape({current:typeof Element>"u"?x.any:function(t,e,n,r,o,i){var a=t[e];return x.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(t,e,n,r,o,i)}}),children:x.oneOfType([x.func.isRequired,x.element.isRequired]).isRequired,in:x.bool,mountOnEnter:x.bool,unmountOnExit:x.bool,appear:x.bool,enter:x.bool,exit:x.bool,timeout:function(e){var n=Dc;e.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return n.apply(void 0,[e].concat(o))},addEndListener:x.func,onEnter:x.func,onEntering:x.func,onEntered:x.func,onExit:x.func,onExiting:x.func,onExited:x.func}:{};function st(){}He.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:st,onEntering:st,onEntered:st,onExit:st,onExiting:st,onExited:st};He.UNMOUNTED=Tt;He.EXITED=Ye;He.ENTERING=Xe;He.ENTERED=ut;He.EXITING=qn;const yr=He;function Kn(t){return Kn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kn(t)}var Uc=["tag","horizontal","isOpen","className","navbar","cssModule","children","innerRef"],at;function tn(){return tn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},tn.apply(this,arguments)}function Hc(t,e){if(t==null)return{};var n=Wc(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Wc(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function zc(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function so(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Vc(t,e,n){return e&&so(t.prototype,e),n&&so(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Bc(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Yn(t,e)}function Yn(t,e){return Yn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Yn(t,e)}function Zc(t){var e=Gc();return function(){var r=nn(t),o;if(e){var i=nn(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return $c(this,o)}}function $c(t,e){if(e&&(Kn(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ci(t)}function ci(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gc(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function nn(t){return nn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(t)}function ao(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function wt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?ao(Object(n),!0).forEach(function(r){ft(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ao(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function ft(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var qc=wt(wt({},yr.propTypes),{},{horizontal:x.bool,isOpen:x.bool,children:x.oneOfType([x.arrayOf(x.node),x.node]),tag:fn,className:x.node,navbar:x.bool,cssModule:x.object,innerRef:x.shape({current:x.object})}),Kc=wt(wt({},yr.defaultProps),{},{horizontal:!1,isOpen:!1,appear:!1,enter:!0,exit:!0,tag:"div",timeout:jc.Collapse}),Yc=(at={},ft(at,Zt.ENTERING,"collapsing"),ft(at,Zt.ENTERED,"collapse show"),ft(at,Zt.EXITING,"collapsing"),ft(at,Zt.EXITED,"collapse"),at);function Xc(t){return Yc[t]||"collapse"}var br=function(t){Bc(n,t);var e=Zc(n);function n(r){var o;return zc(this,n),o=e.call(this,r),o.state={dimension:null},o.nodeRef=r.innerRef||y.createRef(),["onEntering","onEntered","onExit","onExiting","onExited"].forEach(function(i){o[i]=o[i].bind(ci(o))}),o}return Vc(n,[{key:"onEntering",value:function(o,i){var a=this.getNode();this.setState({dimension:this.getDimension(a)}),this.props.onEntering(a,i)}},{key:"onEntered",value:function(o,i){var a=this.getNode();this.setState({dimension:null}),this.props.onEntered(a,i)}},{key:"onExit",value:function(){var o=this.getNode();this.setState({dimension:this.getDimension(o)}),this.props.onExit(o)}},{key:"onExiting",value:function(){var o=this.getNode();this.getDimension(o),this.setState({dimension:0}),this.props.onExiting(o)}},{key:"onExited",value:function(){var o=this.getNode();this.setState({dimension:null}),this.props.onExited(o)}},{key:"getNode",value:function(){return this.nodeRef.current}},{key:"getDimension",value:function(o){return this.props.horizontal?o.scrollWidth:o.scrollHeight}},{key:"render",value:function(){var o=this,i=this.props,a=i.tag,c=i.horizontal,l=i.isOpen,u=i.className,f=i.navbar,p=i.cssModule,d=i.children;i.innerRef;var h=Hc(i,Uc),m=this.state.dimension,v=xc(h,ro),g=wc(h,ro);return y.createElement(yr,tn({},v,{in:l,nodeRef:this.nodeRef,onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),function(w){var j=Xc(w),O=Ht(G(u,c&&"collapse-horizontal",j,f&&"navbar-collapse"),p),C=m===null?null:ft({},c?"width":"height",m);return y.createElement(a,tn({},g,{style:wt(wt({},g.style),C),className:O,ref:o.nodeRef}),d)})}}]),n}(y.Component);br.propTypes=qc;br.defaultProps=Kc;const li=br;function Xn(t){return Xn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xn(t)}var Jc=["className","cssModule","tag","innerRef"];function Jn(){return Jn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Jn.apply(this,arguments)}function Qc(t,e){if(t==null)return{};var n=el(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function el(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function tl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function co(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nl(t,e,n){return e&&co(t.prototype,e),n&&co(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function rl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Qn(t,e)}function Qn(t,e){return Qn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Qn(t,e)}function ol(t){var e=sl();return function(){var r=rn(t),o;if(e){var i=rn(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return il(this,o)}}function il(t,e){if(e&&(Xn(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return er(t)}function er(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sl(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function rn(t){return rn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(t)}var al={children:x.node,tag:fn,innerRef:x.oneOfType([x.object,x.func,x.string]),className:x.string,cssModule:x.object},ui=function(t){rl(n,t);var e=ol(n);function n(r){var o;return tl(this,n),o=e.call(this,r),o.getRef=o.getRef.bind(er(o)),o.submit=o.submit.bind(er(o)),o}return nl(n,[{key:"getRef",value:function(o){this.props.innerRef&&this.props.innerRef(o),this.ref=o}},{key:"submit",value:function(){this.ref&&this.ref.submit()}},{key:"render",value:function(){var o=this.props,i=o.className,a=o.cssModule,c=o.tag,l=c===void 0?"form":c,u=o.innerRef,f=Qc(o,Jc),p=Ht(i,a);return y.createElement(l,Jn({},f,{ref:u,className:p}))}}]),n}(y.Component);ui.propTypes=al;const di=ui;var cl=["className","cssModule","row","disabled","check","inline","floating","noMargin","tag","switch"];function tr(){return tr=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},tr.apply(this,arguments)}function ll(t,e){if(t==null)return{};var n=ul(t,e),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function ul(t,e){if(t==null)return{};var n={},r=Object.keys(t),o,i;for(i=0;i<r.length;i++)o=r[i],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}var dl={children:x.node,row:x.bool,check:x.bool,switch:x.bool,inline:x.bool,floating:x.bool,noMargin:x.bool,disabled:x.bool,tag:fn,className:x.string,cssModule:x.object};function nr(t){var e=t.className,n=t.cssModule,r=t.row,o=t.disabled,i=t.check,a=t.inline,c=t.floating,l=t.noMargin,u=t.tag,f=u===void 0?"div":u,p=t.switch,d=ll(t,cl),h=i||p,m=Ht(G(e,r?"row":!1,h?"form-check":!1,p?"form-switch":!1,h||l?!1:"mb-3",h&&a?"form-check-inline":!1,h&&o?"disabled":!1,c&&"form-floating"),n);return f==="fieldset"&&(d.disabled=o),y.createElement(f,tr({},d,{className:m}))}nr.propTypes=dl;const hn=t=>{const{config:e,isFavoritismEnabled:n,level:r=1,onItemClick:o}=t,{isCollapsible:i,showAllItems:a,displayCount:c=ac}=e,l=xt(),u=Uo(),[f,p]=y.useState(1),[d,h]=y.useState(0),[m,v]=y.useState(!1),g=y.useRef({}),w=e.items.filter(S=>_t(S)),j=e.items.filter(S=>!_t(S)),O=a?j:j.slice(0,f*c);y.useEffect(()=>{l.isOpen||p(1)},[l.isOpen]);const C=()=>{p(S=>S+1)},b=[...w,...O],k=S=>{g.current[S]?.querySelector("[tabIndex]")?.focus(),h(S)},_=()=>{i&&v(S=>!S)};return s.jsxs("li",{className:"section",children:[s.jsx(Ao,{iconSrc:e.iconSrc,iconName:e.iconName,style:{paddingLeft:`${r===1?4:(r-2)*12+6}px`},title:e.title,showCollapseIcon:i,isOpen:m,onClick:_,showHoverIndicator:r!==1}),s.jsxs(li,{isOpen:i?m:!0,tag:"ul",children:[b.map((S,I)=>_t(S)?s.jsx(hn,{config:S,isFavoritismEnabled:n,level:r+1,onItemClick:o},S.id):s.jsx("li",{ref:R=>g.current[I]=R,children:s.jsx(ei,{isFavoritismEnabled:n,item:S,onClick:(R,W)=>o?.(R,{item:S,modifier:u,selectedContextMenuActionName:W?.name}),style:{paddingLeft:`${r===1?7:r*11}px`},onKeyDown:R=>{No({event:R,moveFocus:k,currentIndex:d,min:0,max:b.length-1})},focused:d===I},S.id||I)},S.id||I)),!a&&e.items.length-w.length>c*f&&s.jsx("li",{"data-testid":"more-li-element",children:s.jsx("div",{className:"io-list-item more",style:{paddingLeft:`${(r===1?7:r*11)+8}px`},role:"button","aria-label":"More",...mt(C),children:s.jsxs("div",{className:"io-list-row",children:[s.jsx("span",{className:"title",children:"More..."}),s.jsx(oe,{size:12,name:"chevron-down","data-testid":"more-chevron"})]})})})]})]})},fi=t=>`${t.type}-${t.id}`,fl=(t,e)=>pi(t)[e],pi=t=>t.reduce((e,n)=>_t(n)?{...e,...pi(n.items)}:{...e,[fi(n)]:n},{}),hi=y.createContext(void 0),pl=()=>{const t=y.useContext(hi);if(t===void 0)throw new Error("useSection must be used within a SectionProvider");return t},hl=({children:t})=>{const[e,n]=y.useState(null);return s.jsx(hi.Provider,{value:[e,n],children:t})},mn=({config:t,onItemClick:e})=>{const[n,r]=pl(),o=xt(),i=Uo(),a=(c,l)=>{const{item:u,selectedContextMenuActionName:f}=l;r({itemName:fi(u),selectedContextMenuActionName:f})};return y.useEffect(()=>{if(!e||!n)return;const{itemName:c,selectedContextMenuActionName:l}=n,u=fl(t.items,c);u&&(e({item:u,modifier:i,selectedContextMenuActionName:l}),r(null),i!==ln.SHIFT&&o.close())},[n,t.items,o,e,i,r]),s.jsx(hn,{config:t,onItemClick:a})};function mi(t){const{displayCount:e,isFolderCollapsible:n,isSectionCollapsible:r,showAllItems:o,sortOrder:i}=t,a=ss(),c=as(),l=Wo(),u=zo(),f=y.useMemo(()=>rs(a,c,{...{displayCount:e,showAllItems:o},isFolderCollapsible:n,isSectionCollapsible:r,sortOrder:i}),[a,c,e,n,r,o,i]),p=d=>{const{item:h,modifier:m,selectedContextMenuActionName:v}=d;if(!v)return l(h.id,m).catch(g=>{console.error("Failed to start application",{error:g})});u(h,v)};return s.jsx(mn,{config:f,onItemClick:p})}const ml={value:"data:image/svg+xml,%3Csvg width='5041' height='1232' viewBox='0 0 5041 1232' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_879_362)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M548.6 178H439.6C368.7 178 310 199.5 269.3 244.5C228.6 289.3 206.7 356 206.7 444.3C206.7 532.6 228.6 599.5 269.3 644.2C310.2 689.2 368.7 710.7 439.6 710.7H548.6C619 710.7 677.6 689.2 718.6 644.2C759.5 599.4 781.6 532.6 781.6 444.2C781.6 355.8 759.5 289 718.6 244.2C677.7 199.3 619 177.7 548.6 177.7V178ZM449.5 293.8H538.9C582.2 293.8 611.9 305.2 631.1 328.3C650.5 351.8 660.5 389.2 660.5 444.4C660.5 499.6 650.5 536.7 631.1 560C612 583 582.2 594.1 538.9 594.1H449.5C405.6 594.1 375.9 583 356.9 560C337.6 536.8 327.7 499.7 327.7 444.5C327.7 389.3 337.4 351.9 356.8 328.4C375.9 305.2 405.6 293.8 449.5 293.8Z' fill='white'/%3E%3Cpath d='M0.700195 189.8C0.700195 183.1 6.10017 177.7 12.8002 177.7H108.6C115.3 177.7 120.7 183.1 120.7 189.8V698.6C120.7 705.3 115.3 710.7 108.6 710.7H12.8002C6.10017 710.7 0.700195 705.3 0.700195 698.6V189.8Z' fill='white'/%3E%3Cpath d='M0.700195 11.9002C0.700195 5.7002 5.70018 0.700195 11.9002 0.700195H109.6C115.7 0.700195 120.7 5.7002 120.7 11.9002V109.5C120.7 115.7 115.7 120.7 109.5 120.7H11.9002C5.70018 120.7 0.700195 115.7 0.700195 109.5V11.9002Z' fill='%23007BE5'/%3E%3Cpath d='M827.7 601.9C827.7 595.7 832.7 590.7 838.9 590.7H936.6C942.8 590.7 947.8 595.7 947.8 601.9V699.5C947.8 705.7 942.8 710.7 936.6 710.7H838.9C832.7 710.7 827.7 705.7 827.7 699.5V601.9Z' fill='%23007BE5'/%3E%3Cpath d='M4363.9 293.2C4320.2 293.2 4290.6 304.6 4271.6 327.8C4252.3 351.4 4242.5 388.8 4242.5 444C4242.5 499.2 4252.3 536.4 4271.5 559.7C4290.5 582.6 4320 593.8 4363.8 593.8H4614.7C4622.4 593.8 4628.7 600.1 4628.7 607.8V696.7C4628.7 704.4 4622.4 710.7 4614.7 710.7H4354.1C4283.3 710.7 4224.9 689.1 4184.1 644.1C4143.5 599.3 4121.6 532.4 4121.6 444C4121.6 355.6 4143.5 288.7 4184.1 243.9C4224.8 199 4283.3 177.3 4354.1 177.3H4614.7C4622.4 177.3 4628.7 183.6 4628.7 191.3V279.3C4628.7 287 4622.4 293.3 4614.7 293.3H4363.9V293.2Z' fill='white'/%3E%3Cpath d='M1302.6 165.3C1240.1 165.3 1197 180.9 1169.3 213.3C1141.3 246 1127.4 297.6 1127.4 372.9C1127.4 447.7 1141.1 499 1169 531.6C1196.6 563.9 1239.7 579.5 1302.7 579.5H1552.5C1560.2 579.5 1566.5 585.8 1566.5 593.5V697.1C1566.5 704.8 1560.2 711.1 1552.5 711.1H1302.7C1204.7 711.1 1127.5 683.4 1075 626.4C1022.4 569.7 995.7 484.8 995.7 372.9C995.7 260.5 1022.7 175.4 1075.2 118.4C1127.9 61.3001 1205 33.6001 1302.6 33.6001H1552.4C1560.1 33.6001 1566.4 39.9001 1566.4 47.6001V151.2C1566.4 158.9 1560.1 165.2 1552.4 165.2H1302.6V165.3Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1953.6 177.7H1844.8C1774 177.7 1715.6 199.3 1674.8 244.3C1634.2 289.1 1612.3 356 1612.3 444.4C1612.3 532.8 1634.2 599.7 1674.8 644.5C1715.5 689.4 1774 711.1 1844.8 711.1H1953.6C2023.9 711.1 2082.4 689.5 2123.2 644.5C2163.9 599.7 2186 532.8 2186 444.3C2186 355.8 2163.9 289 2123.2 244.1C2082.3 199.3 2023.9 177.7 1953.6 177.7ZM1854.6 293.7H1943.8C1987 293.7 2016.6 305.1 2035.8 328.3C2055.2 351.9 2065.2 389.3 2065.2 444.5C2065.2 499.7 2055.2 536.8 2035.8 560.2C2016.7 583.2 1987.1 594.3 1943.8 594.3H1854.6C1810.8 594.3 1781.3 583.1 1762.3 560.2C1743 536.9 1733.3 499.8 1733.3 444.5C1733.3 389.3 1743.1 351.9 1762.4 328.3C1781.3 305 1810.9 293.7 1854.6 293.7Z' fill='white'/%3E%3Cpath d='M2679.7 411.6C2679.7 372.5 2668.5 343.5 2645.4 324C2622.1 304.3 2585.3 293.2 2531.9 293.2H2378.4C2375.5 293.2 2374.9 293.9 2374.8 294C2374.5 294.4 2373.6 295.8 2373.6 299.8V696.7C2373.6 704.4 2367.3 710.7 2359.6 710.7H2267.7C2260 710.7 2253.7 704.4 2253.7 696.7V265.6C2253.7 234.7 2258.8 212 2272.6 197.2C2286.5 182.2 2307.5 177.3 2334.2 177.3H2531.8C2620.7 177.3 2688 198.4 2733.3 238.9C2778.7 279.5 2800.5 338.6 2800.5 411.7V696.7C2800.5 704.4 2794.2 710.7 2786.5 710.7H2693.7C2686 710.7 2679.7 704.4 2679.7 696.7V411.6Z' fill='white'/%3E%3Cpath d='M3304.7 411.6C3304.7 372.5 3293.5 343.5 3270.4 324C3247.1 304.3 3210.3 293.2 3156.9 293.2H3003.4C3000.5 293.2 2999.9 293.9 2999.8 294C2999.5 294.4 2998.6 295.8 2998.6 299.8V696.7C2998.6 704.4 2992.3 710.7 2984.6 710.7H2892.7C2885 710.7 2878.7 704.4 2878.7 696.7V265.6C2878.7 234.7 2883.8 212 2897.6 197.2C2911.5 182.2 2932.5 177.3 2959.2 177.3H3156.8C3245.7 177.3 3313 198.4 3358.3 238.9C3403.7 279.5 3425.5 338.6 3425.5 411.7V696.7C3425.5 704.4 3419.2 710.7 3411.5 710.7H3318.7C3311 710.7 3304.7 704.4 3304.7 696.7V411.6Z' fill='white'/%3E%3Cpath d='M4906.1 292.2C4898.4 292.2 4892.1 298.5 4892.1 306.2V529.2C4892.1 557.5 4897.2 574.3 4906.4 584.1C4915.4 593.8 4930 598.6 4953.7 598.6H5019.2C5026.9 598.6 5033.2 604.9 5033.2 612.6V695.7C5033.2 703.4 5026.9 709.7 5019.2 709.7H4932.1C4877.9 709.7 4836.8 698.8 4809.7 668.6C4782.8 638.6 4771.3 591.5 4771.3 523.4V306.2C4771.3 298.5 4765 292.2 4757.3 292.2H4714.7C4707 292.2 4700.7 285.9 4700.7 278.2V190.2C4700.7 182.5 4707 176.2 4714.7 176.2H4757.3C4765 176.2 4771.3 169.9 4771.3 162.2V67.7002C4771.3 60.0002 4777.6 53.7002 4785.3 53.7002H4878.2C4885.9 53.7002 4892.2 60.0002 4892.2 67.7002V162.2C4892.2 169.9 4898.5 176.2 4906.2 176.2H5021.3C5029 176.2 5035.3 182.5 5035.3 190.2V278.2C5035.3 285.9 5029 292.2 5021.3 292.2H4906.1Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4024.4 607.2C4024.4 599.5 4018.1 593.2 4010.4 593.2H3699.9C3672.9 593.2 3655.3 586 3644.6 575.2C3633.8 564.4 3628.6 548.8 3628.6 529.7V514.5C3628.6 506.8 3634.9 500.5 3642.6 500.5H3866.6C3931.2 500.5 3977.4 486.9 4007.5 459.6C4037.7 432.2 4050.1 392.3 4050.1 343.5C4050.1 292.2 4036.8 250.1 4006.4 220.9C3976.1 191.7 3930.1 176.8 3867.7 176.8H3700.1C3633.9 176.8 3586.5 195.4 3555.6 227.8C3524.8 260.1 3511.8 305 3511.8 355.3V531.7C3511.8 582 3524.9 626.9 3555.6 659.2C3586.5 691.6 3633.9 710.2 3700.1 710.2H4010.6C4018.3 710.2 4024.6 703.9 4024.6 696.2V607.2H4024.4ZM3863.5 403.1H3642.5C3634.8 403.1 3628.5 396.8 3628.5 389.1V356.2C3628.5 337.6 3633.7 321.9 3644.6 311C3655.4 300.1 3672.9 292.7 3699.9 292.7H3866.5C3890.7 292.7 3906.9 298.8 3916.9 308.2C3926.9 317.5 3932 331.3 3932 349.4C3932 367.1 3927.3 380 3917.4 388.6C3907.4 397.4 3890.5 403.1 3863.5 403.1Z' fill='white'/%3E%3Cpath d='M2918.9 872.3C3001.9 872.3 3036.9 909.9 3036.9 966.3C3036.9 1012.2 3013.9 1036.8 2973.2 1047.2C3014.4 1058.2 3037.9 1083.7 3037.9 1129.7C3037.9 1186.1 3003.5 1224.7 2920.5 1224.7H2755.6C2741.5 1224.7 2734.2 1217.9 2734.2 1203.8V893.2C2734.2 879.1 2741.5 872.3 2755.6 872.3H2918.9ZM2765.4 1033.1H2918.9C2976.8 1033.1 3005 1014.8 3005 970.5C3005 929.8 2979.4 903.7 2919.4 903.7H2771.2C2767.5 903.7 2765.5 905.3 2765.5 909.4V1033.1H2765.4ZM2765.4 1187.6C2765.4 1191.8 2767.5 1193.3 2771.1 1193.3H2921C2979.5 1193.3 3006.1 1168.2 3006.1 1125.4C3006.1 1081 2976.9 1060.2 2921 1060.2H2765.5V1187.6H2765.4Z' fill='white'/%3E%3Cpath d='M3294 956.9V985.6H3182.8C3148.9 985.6 3135.3 1000.7 3135.3 1033.6V1224.6H3106.1V1029.9C3106.1 979.8 3125.4 956.8 3176.6 956.8H3294V956.9Z' fill='white'/%3E%3Cpath d='M3489.1 956.9C3562.2 956.9 3608.6 1001.3 3608.6 1091C3608.6 1181.3 3562.1 1224.6 3489.1 1224.6H3431.2C3357.6 1224.6 3311.7 1181.3 3311.7 1091C3311.7 1001.2 3357.6 956.9 3431.2 956.9H3489.1ZM3433.3 985.6C3374.3 985.6 3340.9 1019 3340.9 1091C3340.9 1163.5 3374.3 1196.4 3433.3 1196.4H3487.1C3546.1 1196.4 3579.5 1163.5 3579.5 1091C3579.5 1019 3546.1 985.6 3487.1 985.6H3433.3Z' fill='white'/%3E%3Cpath d='M3674.4 956.9L3706.8 1176.6C3709.4 1195.4 3716.2 1204.3 3737.1 1204.3C3758.5 1204.3 3767.4 1195.4 3771.5 1180.3L3821.6 995.5C3829.4 966.8 3849.3 951.7 3884.2 951.7C3919.1 951.7 3937.4 966.8 3945.3 995.5L3994.9 1180.3C3999.1 1195.4 4007.9 1204.3 4029.3 1204.3C4050.2 1204.3 4056.4 1195.4 4059.6 1176.6L4093.5 956.9H4125.3L4089.3 1179.8C4084.6 1210.6 4069.5 1231 4028.2 1231C3992.7 1231 3975 1216.4 3966.6 1185.1L3917 1000.9C3912.8 985.2 3900.8 978.5 3883.6 978.5C3865.9 978.5 3854.9 985.3 3850.7 1000.9L3799.6 1185.1C3790.7 1216.4 3773.5 1231 3737.5 1231C3695.2 1231 3682.2 1210.1 3677.5 1179.8L3643.1 956.9H3674.4Z' fill='white'/%3E%3Cpath d='M4417.6 956.9V985.6H4260C4219.8 985.6 4203.6 1003.3 4203.6 1032.1C4203.6 1057.2 4216.1 1077.5 4263.6 1077.5H4338.8C4410.8 1077.5 4428.6 1110.9 4428.6 1149.5C4428.6 1194.9 4404.6 1224.7 4344 1224.7H4178V1196.5H4344C4384.2 1196.5 4399.8 1178.2 4399.8 1149.5C4399.8 1124.4 4387.8 1103.6 4339.8 1103.6H4264.6C4193.1 1103.6 4174.8 1069.2 4174.8 1030C4174.8 985.1 4198.8 956.9 4259.4 956.9H4417.6Z' fill='white'/%3E%3Cpath d='M4685.4 956.9C4749.1 956.9 4775.7 986.6 4775.7 1036.8C4775.7 1084.8 4751.2 1111.4 4684.9 1111.4H4526.2V1135.9C4526.2 1170.3 4545 1196.4 4593.5 1196.4H4762.1V1224.6H4593.5C4524.6 1224.6 4497.5 1187.5 4497.5 1136.4V1045.1C4497.5 995 4524.6 956.9 4593.5 956.9H4685.4ZM4526.2 1087.4H4684.3C4729.7 1087.4 4746.9 1069.7 4746.9 1037.8C4746.9 1005.4 4728.6 985.6 4685.3 985.6H4593.4C4544.9 985.6 4526.1 1011.2 4526.1 1045.6V1087.4H4526.2Z' fill='white'/%3E%3Cpath d='M5040.3 956.9V985.6H4929.1C4895.2 985.6 4881.6 1000.7 4881.6 1033.6V1224.6H4852.4V1029.9C4852.4 979.8 4871.7 956.8 4922.9 956.8H5040.3V956.9Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_879_362'%3E%3Crect width='5041' height='1231' fill='white' transform='translate(0 0.700195)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A"},vl={loginPageLogo:ml},gl="256px",rt=({logoSrc:t=vl.loginPageLogo.value,width:e=gl,className:n="logo"})=>s.jsx("img",{width:e,src:t,className:n,alt:"Login logo"});const vn=({children:t,description:e,heading:n,Image:r,title:o})=>s.jsxs("div",{className:"info-card",children:[o&&s.jsx("h1",{className:"info-card-title",children:o}),r&&s.jsx("div",{className:"info-card-image",children:s.jsx(r,{})}),n&&s.jsx("h3",{className:"info-card-heading",children:n}),s.jsx("p",{className:"info-card-description",children:e}),t]}),yl=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:222,height:130,fill:"none",...t,children:[s.jsx("g",{filter:"url(#a)",children:s.jsx("path",{fill:"url(#b)",d:"M16 24h190v98a6 6 0 0 1-6 6H22a6 6 0 0 1-6-6V24Z"})}),s.jsx("path",{fill:"#3C3E3F",d:"M16 24h190V7a6 6 0 0 0-6-6H22a6 6 0 0 0-6 6v17Z"}),s.jsx("path",{stroke:"url(#c)",d:"M16 23.5h189"}),s.jsx("path",{fill:"#fff",fillOpacity:.3,d:"M178.172 15.343a2.171 2.171 0 1 0 0-4.342 2.171 2.171 0 0 0 0 4.342ZM186.258 15.343a2.171 2.171 0 1 0 .001-4.343 2.171 2.171 0 0 0-.001 4.343Z"}),s.jsx("path",{fill:"#F0F6FE",d:"M194.344 15.343a2.171 2.171 0 1 0 .001-4.343 2.171 2.171 0 0 0-.001 4.343Z"}),s.jsx("rect",{width:75,height:75,x:73.5,y:33.5,stroke:"#9DA2A5",strokeDasharray:"1 12",rx:37.5}),s.jsx("rect",{width:69,height:24,x:127,y:64,fill:"#3C3E3F",rx:2}),s.jsx("path",{fill:"#2479E9",d:"M139 72a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"}),s.jsx("rect",{width:39,height:8,x:148,y:72,fill:"#D9D9D9",fillOpacity:.1,rx:4}),s.jsx("rect",{width:69,height:24,x:127,y:92,fill:"#3C3E3F",rx:2}),s.jsx("path",{fill:"#36A86B",d:"M139 100a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"}),s.jsx("rect",{width:11,height:8,x:148,y:100,fill:"#D9D9D9",fillOpacity:.1,rx:4}),s.jsx("rect",{width:18,height:8,x:164,y:100,fill:"#D9D9D9",fillOpacity:.1,rx:4}),s.jsx("rect",{width:66,height:66,x:78,y:38,fill:"#36AA6C",rx:33}),s.jsx("path",{fill:"#fff",d:"M110.25 59.75c0-.375.328-.75.75-.75.375 0 .75.375.75.75v.797c3.75.375 6.75 3.562 6.75 7.453v1.406c0 2.016.797 3.985 2.25 5.438l.141.14c.375.375.609.938.609 1.454a2.1 2.1 0 0 1-2.109 2.109h-16.829c-1.171-.047-2.062-.938-2.062-2.11 0-.562.188-1.078.609-1.453l.094-.14c1.453-1.453 2.297-3.422 2.297-5.438V68a7.484 7.484 0 0 1 6.75-7.453v-.797ZM111 62c-3.328 0-6 2.719-6 6v1.406a9.227 9.227 0 0 1-2.719 6.516l-.14.094a.755.755 0 0 0-.141.421c0 .329.234.563.562.563h16.829c.328 0 .609-.234.609-.563 0-.14-.094-.28-.188-.421l-.14-.094a9.258 9.258 0 0 1-2.719-6.563V68c0-3.281-2.672-6-6-6H111Zm-1.453 18.516c.234.609.797.984 1.453.984.609 0 1.172-.375 1.406-.984.141-.375.563-.61.938-.47.375.141.609.563.468.985A2.99 2.99 0 0 1 111 83c-1.312 0-2.438-.797-2.859-1.969a.785.785 0 0 1 .468-.984c.375-.14.797.094.938.469Z"}),s.jsx("rect",{width:191,height:128,x:15.5,y:.5,stroke:"url(#d)",strokeMiterlimit:10,rx:6.5}),s.jsxs("defs",{children:[s.jsxs("linearGradient",{id:"b",x1:39.152,x2:71.862,y1:30.346,y2:129.753,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#383838"}),s.jsx("stop",{offset:1,stopColor:"#1D1D1D"})]}),s.jsxs("linearGradient",{id:"c",x1:9.298,x2:205,y1:24,y2:24,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:1,stopColor:"#5F5F5F",stopOpacity:0})]}),s.jsxs("linearGradient",{id:"d",x1:34.959,x2:127.671,y1:39.954,y2:146.801,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:0,stopColor:"#575757"}),s.jsx("stop",{offset:1,stopColor:"#2C2C2C"})]}),s.jsxs("filter",{id:"a",width:222,height:136,x:0,y:15,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[s.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),s.jsx("feOffset",{dy:7}),s.jsx("feGaussianBlur",{stdDeviation:8}),s.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),s.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_816_102831"}),s.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_816_102831",result:"shape"})]})]})]}),bl=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",fill:"none",height:"63",viewBox:"0 0 63 63",width:"63",...t,children:[s.jsxs("linearGradient",{id:"chrome_a",gradientUnits:"userSpaceOnUse",x1:"34.9087",x2:"7.63224",y1:"61.029",y2:"13.7847",children:[s.jsx("stop",{offset:"0",stopColor:"#1e8e3e"}),s.jsx("stop",{offset:"1",stopColor:"#34a853"})]}),s.jsxs("linearGradient",{id:"chrome_b",gradientUnits:"userSpaceOnUse",x1:"26.9043",x2:"54.1808",y1:"63.0788",y2:"15.8345",children:[s.jsx("stop",{offset:"0",stopColor:"#fcc934"}),s.jsx("stop",{offset:"1",stopColor:"#fbbc04"})]}),s.jsxs("linearGradient",{id:"chrome_c",gradientUnits:"userSpaceOnUse",x1:"4.22145",x2:"58.7745",y1:"19.6884",y2:"19.6884",children:[s.jsx("stop",{offset:"0",stopColor:"#d93025"}),s.jsx("stop",{offset:"1",stopColor:"#ea4335"})]}),s.jsx("path",{d:"m31.499 47.2466c8.6985 0 15.75-7.0515 15.75-15.75s-7.0515-15.75-15.75-15.75-15.75 7.0515-15.75 15.75 7.0515 15.75 15.75 15.75z",fill:"#fff"}),s.jsx("path",{d:"m17.8591 39.3751-13.63772-23.6212c-2.76527 4.788-4.22118922 10.2197-4.22137998 15.7489s1.45535998 10.961 4.22028998 15.7492c2.76494 4.7882 6.74181 8.7641 11.53071 11.5279 4.7889 2.7637 10.221 4.2179 15.7502 4.2164l13.6377-23.6212v-.0041c-1.3813 2.3954-3.369 4.3848-5.7632 5.7681s-5.1104 2.1118-7.8755 2.1122-5.4816-.7272-7.8762-2.1099c-2.3945-1.3826-4.3829-3.3714-5.7649-5.7663z",fill:"url(#chrome_a)"}),s.jsx("path",{d:"m45.1379 39.3741-13.6376 23.6212c5.5292.0008 10.9611-1.4542 15.7496-4.2187 4.7885-2.7644 8.7648-6.7408 11.5291-11.5294 2.7642-4.7887 4.219-10.2207 4.2181-15.7499-.001-5.5292-1.4577-10.9606-4.2237-15.7483h-27.2754l-.0034.0021c2.7651-.0014 5.4818.7254 7.8769 2.1071 2.3951 1.3818 4.3841 3.3698 5.767 5.7643 1.3829 2.3944 2.1109 5.1108 2.1109 7.8758-.0001 2.7651-.7283 5.4814-2.1113 7.8758z",fill:"url(#chrome_b)"}),s.jsx("path",{d:"m31.499 43.9688c6.8863 0 12.4688-5.5825 12.4688-12.4688s-5.5825-12.4688-12.4688-12.4688-12.4687 5.5825-12.4687 12.4688 5.5824 12.4688 12.4687 12.4688z",fill:"#1a73e8"}),s.jsx("path",{d:"m31.4991 15.75h27.2754c-2.764-4.7888-6.74-8.76553-11.5283-11.53029-4.7883-2.76475-10.2202-4.22010235-15.7494-4.21970992s-10.9608 1.45650992-15.7487 4.22194992c-4.788 2.76543-8.76341 6.74275-11.52666 11.53185l13.63766 23.6212.0035.0019c-1.3837-2.394-2.1127-5.11-2.1136-7.8751s.7264-5.4817 2.1086-7.8765c1.3821-2.3948 3.3706-4.3835 5.7652-5.7659 2.3947-1.3825 5.1112-2.11 7.8763-2.1094z",fill:"url(#chrome_c)"})]}),wl=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",...t,children:[s.jsxs("defs",{children:[s.jsxs("radialGradient",{id:"edge_b",cx:161.8,cy:68.9,r:95.4,gradientTransform:"matrix(1 0 0 -.95 0 248.8)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:.7,stopOpacity:0}),s.jsx("stop",{offset:.9,stopOpacity:.5}),s.jsx("stop",{offset:1})]}),s.jsxs("radialGradient",{id:"edge_d",cx:-340.3,cy:63,r:143.2,gradientTransform:"matrix(.15 -.99 -.8 -.12 176.6 -125.4)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:.8,stopOpacity:0}),s.jsx("stop",{offset:.9,stopOpacity:.5}),s.jsx("stop",{offset:1})]}),s.jsxs("radialGradient",{id:"edge_e",cx:113.4,cy:570.2,r:202.4,gradientTransform:"matrix(-.04 1 2.13 .08 -1179.5 -106.7)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:0,stopColor:"#35c1f1"}),s.jsx("stop",{offset:.1,stopColor:"#34c1ed"}),s.jsx("stop",{offset:.2,stopColor:"#2fc2df"}),s.jsx("stop",{offset:.3,stopColor:"#2bc3d2"}),s.jsx("stop",{offset:.7,stopColor:"#36c752"})]}),s.jsxs("radialGradient",{id:"edge_f",cx:376.5,cy:568,r:97.3,gradientTransform:"matrix(.28 .96 .78 -.23 -303.8 -148.5)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:0,stopColor:"#66eb6e"}),s.jsx("stop",{offset:1,stopColor:"#66eb6e",stopOpacity:0})]}),s.jsxs("linearGradient",{id:"edge_a",x1:63.3,x2:241.7,y1:84,y2:84,gradientTransform:"matrix(1 0 0 -1 0 266)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:0,stopColor:"#0c59a4"}),s.jsx("stop",{offset:1,stopColor:"#114a8b"})]}),s.jsxs("linearGradient",{id:"edge_c",x1:157.3,x2:46,y1:161.4,y2:40.1,gradientTransform:"matrix(1 0 0 -1 0 266)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:0,stopColor:"#1b9de2"}),s.jsx("stop",{offset:.2,stopColor:"#1595df"}),s.jsx("stop",{offset:.7,stopColor:"#0680d7"}),s.jsx("stop",{offset:1,stopColor:"#0078d4"})]})]}),s.jsx("path",{d:"M235.7 195.5a93.7 93.7 0 0 1-10.6 4.7 101.9 101.9 0 0 1-35.9 6.4c-47.3 0-88.5-32.5-88.5-74.3a31.5 31.5 0 0 1 16.4-27.3c-42.8 1.8-53.8 46.4-53.8 72.5 0 74 68.1 81.4 82.8 81.4 7.9 0 19.8-2.3 27-4.6l1.3-.4a128.3 128.3 0 0 0 66.6-52.8 4 4 0 0 0-5.3-5.6Z",style:{fill:"url(#edge_a)"},transform:"translate(-4.6 -5)"}),s.jsx("path",{d:"M235.7 195.5a93.7 93.7 0 0 1-10.6 4.7 101.9 101.9 0 0 1-35.9 6.4c-47.3 0-88.5-32.5-88.5-74.3a31.5 31.5 0 0 1 16.4-27.3c-42.8 1.8-53.8 46.4-53.8 72.5 0 74 68.1 81.4 82.8 81.4 7.9 0 19.8-2.3 27-4.6l1.3-.4a128.3 128.3 0 0 0 66.6-52.8 4 4 0 0 0-5.3-5.6Z",style:{isolation:"isolate",opacity:.35,fill:"url(#edge_b)"},transform:"translate(-4.6 -5)"}),s.jsx("path",{d:"M110.3 246.3A79.2 79.2 0 0 1 87.6 225a80.7 80.7 0 0 1 29.5-120c3.2-1.5 8.5-4.1 15.6-4a32.4 32.4 0 0 1 25.7 13 31.9 31.9 0 0 1 6.3 18.7c0-.2 24.5-79.6-80-79.6-43.9 0-80 41.6-80 78.2a130.2 130.2 0 0 0 12.1 56 128 128 0 0 0 156.4 67 75.5 75.5 0 0 1-62.8-8Z",style:{fill:"url(#edge_c)"},transform:"translate(-4.6 -5)"}),s.jsx("path",{d:"M110.3 246.3A79.2 79.2 0 0 1 87.6 225a80.7 80.7 0 0 1 29.5-120c3.2-1.5 8.5-4.1 15.6-4a32.4 32.4 0 0 1 25.7 13 31.9 31.9 0 0 1 6.3 18.7c0-.2 24.5-79.6-80-79.6-43.9 0-80 41.6-80 78.2a130.2 130.2 0 0 0 12.1 56 128 128 0 0 0 156.4 67 75.5 75.5 0 0 1-62.8-8Z",style:{opacity:.41,fill:"url(#edge_d)",isolation:"isolate"},transform:"translate(-4.6 -5)"}),s.jsx("path",{d:"M157 153.8c-.9 1-3.4 2.5-3.4 5.6 0 2.6 1.7 5.2 4.8 7.3 14.3 10 41.4 8.6 41.5 8.6a59.6 59.6 0 0 0 30.3-8.3 61.4 61.4 0 0 0 30.4-52.9c.3-22.4-8-37.3-11.3-43.9C228 28.8 182.3 5 132.6 5a128 128 0 0 0-128 126.2c.5-36.5 36.8-66 80-66 3.5 0 23.5.3 42 10a72.6 72.6 0 0 1 30.9 29.3c6.1 10.6 7.2 24.1 7.2 29.5s-2.7 13.3-7.8 19.9Z",style:{fill:"url(#edge_e)"},transform:"translate(-4.6 -5)"}),s.jsx("path",{d:"M157 153.8c-.9 1-3.4 2.5-3.4 5.6 0 2.6 1.7 5.2 4.8 7.3 14.3 10 41.4 8.6 41.5 8.6a59.6 59.6 0 0 0 30.3-8.3 61.4 61.4 0 0 0 30.4-52.9c.3-22.4-8-37.3-11.3-43.9C228 28.8 182.3 5 132.6 5a128 128 0 0 0-128 126.2c.5-36.5 36.8-66 80-66 3.5 0 23.5.3 42 10a72.6 72.6 0 0 1 30.9 29.3c6.1 10.6 7.2 24.1 7.2 29.5s-2.7 13.3-7.8 19.9Z",style:{fill:"url(#edge_f)"},transform:"translate(-4.6 -5)"})]}),xl=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75.591 75.591",...t,children:[s.jsxs("linearGradient",{id:"opera_a",x2:1,gradientTransform:"matrix(0 -54.944 -54.944 0 23.62 79.474)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:0,stopColor:"#ff1b2d"}),s.jsx("stop",{offset:.3,stopColor:"#ff1b2d"}),s.jsx("stop",{offset:.614,stopColor:"#ff1b2d"}),s.jsx("stop",{offset:1,stopColor:"#a70014"})]}),s.jsxs("linearGradient",{id:"opera_b",x2:1,gradientTransform:"matrix(0 -48.595 -48.595 0 37.854 76.235)",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:0,stopColor:"#9c0000"}),s.jsx("stop",{offset:.7,stopColor:"#ff4b4b"}),s.jsx("stop",{offset:1,stopColor:"#ff4b4b"})]}),s.jsx("path",{fill:"url(#opera_a)",d:"M28.346 80.398C12.691 80.398 0 67.707 0 52.052 0 36.85 11.968 24.443 26.996 23.739a28.244 28.244 0 0 1 20.241 7.18c-3.322-2.203-7.207-3.47-11.359-3.47-6.75 0-12.796 3.348-16.862 8.629-3.134 3.7-5.164 9.169-5.302 15.307v1.335c.138 6.137 2.168 11.608 5.302 15.307 4.066 5.28 10.112 8.63 16.862 8.63 4.152 0 8.038-1.269 11.36-3.474a28.239 28.239 0 0 1-18.785 7.215l-.108.001z",transform:"matrix(1.3333 0 0 -1.3333 0 107.2)"}),s.jsx("path",{fill:"url(#opera_b)",d:"M19.016 68.025c2.601 3.07 5.96 4.923 9.631 4.923 8.252 0 14.941-9.356 14.941-20.897s-6.69-20.897-14.941-20.897c-3.67 0-7.03 1.85-9.63 4.922 4.066-5.281 10.11-8.63 16.862-8.63 4.152 0 8.036 1.268 11.359 3.472 5.802 5.19 9.455 12.735 9.455 21.133 0 8.397-3.653 15.94-9.453 21.13-3.324 2.206-7.209 3.473-11.361 3.473-6.75 0-12.796-3.348-16.862-8.63",transform:"matrix(1.3333 0 0 -1.3333 0 107.2)"})]}),Cl=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:182,height:121,fill:"none",...t,children:[s.jsx("path",{fill:"url(#a)",d:"M114.092 103.689h-46.36v11.541h46.36v-11.541Z"}),s.jsx("path",{fill:"#828589",d:"M134.371 115.23H47.446v5.771h86.925v-5.771Z"}),s.jsx("rect",{width:180.555,height:103.984,x:.723,fill:"url(#b)",rx:8}),s.jsx("rect",{width:167,height:90,x:7.5,y:7,fill:"#000",fillOpacity:.4,rx:4}),s.jsxs("g",{filter:"url(#c)",children:[s.jsx("rect",{width:102,height:56,x:40,y:24,fill:"url(#d)",rx:6}),s.jsx("rect",{width:86,height:8,x:48,y:44.5,fill:"#D9D9D9",fillOpacity:.1,rx:4}),s.jsx("rect",{width:41,height:8,x:48,y:59.5,fill:"#fff",fillOpacity:.14,rx:4}),s.jsx("rect",{width:41,height:8,x:93,y:59.5,fill:"#fff",fillOpacity:.3,rx:4}),s.jsx("rect",{width:8,height:8,x:126,y:31,fill:"#DE2122",rx:4}),s.jsx("path",{fill:"#fff",d:"m131.878 33.683-1.31 1.31 1.31 1.324a.384.384 0 0 1 0 .561.384.384 0 0 1-.561 0l-1.311-1.31-1.323 1.31a.384.384 0 0 1-.561 0 .384.384 0 0 1 0-.561l1.31-1.323-1.31-1.31a.384.384 0 0 1 0-.562.384.384 0 0 1 .561 0l1.323 1.31 1.311-1.31a.384.384 0 0 1 .561 0 .384.384 0 0 1 0 .561Z"}),s.jsx("rect",{width:101,height:55,x:40.5,y:24.5,stroke:"url(#e)",strokeMiterlimit:10,rx:5.5})]}),s.jsxs("defs",{children:[s.jsxs("linearGradient",{id:"a",x1:90.912,x2:90.912,y1:103.689,y2:115.23,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"gray"}),s.jsx("stop",{offset:1,stopColor:"#56585D"})]}),s.jsxs("linearGradient",{id:"b",x1:91,x2:91,y1:0,y2:103.984,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"gray"}),s.jsx("stop",{offset:1,stopColor:"#56585D"})]}),s.jsxs("linearGradient",{id:"d",x1:52.429,x2:70.085,y1:27.417,y2:80.913,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#313131"}),s.jsx("stop",{offset:1,stopColor:"#1B1B1B"})]}),s.jsxs("linearGradient",{id:"e",x1:50.178,x2:89.211,y1:41.176,y2:95.944,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:0,stopColor:"#575757"}),s.jsx("stop",{offset:1,stopColor:"#2C2C2C"})]}),s.jsxs("filter",{id:"c",width:134,height:88,x:24,y:15,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[s.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),s.jsx("feOffset",{dy:7}),s.jsx("feGaussianBlur",{stdDeviation:8}),s.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),s.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2206_37806"}),s.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2206_37806",result:"shape"})]})]})]}),Ol=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:196,height:130,fill:"none",...t,children:[s.jsx("g",{filter:"url(#a)",children:s.jsx("path",{fill:"url(#b)",d:"M16 52.406h164v70a6 6 0 0 1-6 6H22a6 6 0 0 1-6-6v-70Z"})}),s.jsx("path",{fill:"#3C3E3F",d:"M16 52.406h164v-17a6 6 0 0 0-6-6H22a6 6 0 0 0-6 6v17Z"}),s.jsx("path",{stroke:"url(#c)",d:"M16 51.906h163"}),s.jsx("path",{fill:"#fff",fillOpacity:.3,d:"M152.172 43.75a2.171 2.171 0 1 0 0-4.343 2.171 2.171 0 0 0 0 4.342ZM160.258 43.75a2.172 2.172 0 1 0 0-4.344 2.172 2.172 0 0 0 0 4.343Z"}),s.jsx("path",{fill:"#F0F6FE",d:"M168.344 43.75a2.172 2.172 0 1 0 0-4.344 2.172 2.172 0 0 0 0 4.343Z"}),s.jsx("rect",{width:165.324,height:99.595,x:15.5,y:28.906,stroke:"url(#d)",strokeMiterlimit:10,rx:6.5}),s.jsx("path",{fill:"url(#e)",d:"M96.469 13.858c1.347-2.334 4.717-2.334 6.064 0l58.373 101.105c1.348 2.335-.337 5.253-3.032 5.253H41.128c-2.696 0-4.38-2.918-3.033-5.253L96.47 13.858Z"}),s.jsx("path",{fill:"#fff",d:"M97.705 88.342a1 1 0 0 1-1-.975l-.826-33.968a1 1 0 0 1 1-1.024h6.267a1 1 0 0 1 1 1.024l-.827 33.968a1 1 0 0 1-1 .975h-4.614Zm2.526 15.54c-1.508 0-2.748-.462-3.72-1.386-.925-.973-1.387-2.116-1.387-3.43 0-1.361.462-2.504 1.386-3.428.973-.973 2.213-1.46 3.721-1.46 1.41 0 2.578.487 3.502 1.46.973.924 1.459 2.067 1.459 3.429 0 1.313-.486 2.456-1.459 3.429-.924.924-2.092 1.386-3.502 1.386Z"}),s.jsx("rect",{width:1,height:3,x:55,y:44,fill:"#9DA2A5",rx:.5}),s.jsx("rect",{width:1,height:3,x:55,y:50,fill:"#9DA2A5",rx:.5}),s.jsx("rect",{width:1,height:3,x:55,y:56,fill:"#9DA2A5",rx:.5}),s.jsx("rect",{width:40.255,height:40.255,x:35,fill:"url(#f)",rx:20.128}),s.jsx("path",{fill:"#fff",d:"M61.128 14.127v8h3v-7c0-.531-.469-1-1-1h-2Zm-1 0h-3v4h3v-4Zm-4 0h-2v8h2v-8Zm-3 0h-3v4h3v-4Zm-4 0h-2c-.563 0-1 .469-1 1v7h3v-8Zm-3 9v2c0 .563.437 1 1 1h7.5v-3h-8.5Zm9.5 3h7.5c.531 0 1-.438 1-1v-2h-8.5v3Zm-10.5-11c0-1.094.875-2 2-2h16c1.094 0 2 .906 2 2v10c0 1.125-.906 2-2 2h-16c-1.125 0-2-.875-2-2v-10Zm8 7v-3h-3v3h3Zm7-3h-3v3h3v-3Z"}),s.jsx("rect",{width:15.096,height:15.096,x:62.676,y:26.418,fill:"#DE2122",rx:7.548}),s.jsx("path",{fill:"#fff",d:"m72.102 32.65-1.31 1.31 1.31 1.323a.385.385 0 0 1 0 .562.385.385 0 0 1-.562 0l-1.31-1.31-1.323 1.31a.385.385 0 0 1-.562 0 .385.385 0 0 1 0-.562l1.31-1.322-1.31-1.31a.385.385 0 0 1 0-.563.385.385 0 0 1 .562 0l1.323 1.31 1.31-1.31a.385.385 0 0 1 .562 0 .385.385 0 0 1 0 .562Z"}),s.jsx("rect",{width:40.255,height:40.255,x:35,y:63,fill:"url(#g)",rx:20.128}),s.jsx("path",{fill:"#fff",d:"M54.628 75.627c0-.25.219-.5.5-.5.25 0 .5.25.5.5v.531c2.5.25 4.5 2.375 4.5 4.969v.938c0 1.343.531 2.656 1.5 3.624l.094.094c.25.25.406.625.406.969a1.4 1.4 0 0 1-1.406 1.406h-11.22c-.78-.031-1.374-.625-1.374-1.406 0-.375.125-.719.406-.969l.063-.094c.968-.968 1.53-2.28 1.53-3.624v-.938a4.99 4.99 0 0 1 4.5-4.969v-.531Zm.5 1.5c-2.219 0-4 1.813-4 4v.938a6.152 6.152 0 0 1-1.813 4.343l-.093.063a.504.504 0 0 0-.094.281c0 .219.156.375.375.375h11.219c.218 0 .406-.156.406-.375 0-.094-.063-.188-.125-.281l-.094-.063a6.17 6.17 0 0 1-1.812-4.375v-.906c0-2.188-1.782-4-4-4h.03Zm-.969 12.344c.156.406.531.656.969.656.406 0 .781-.25.937-.656.094-.25.375-.407.625-.313.25.094.407.375.313.656a1.994 1.994 0 0 1-1.875 1.313 2.005 2.005 0 0 1-1.906-1.313.524.524 0 0 1 .312-.656c.25-.094.531.063.625.313Z"}),s.jsx("rect",{width:15.096,height:15.096,x:62.678,y:89.418,fill:"#DE2122",rx:7.548}),s.jsx("path",{fill:"#fff",d:"m72.104 95.65-1.31 1.31 1.31 1.324a.385.385 0 0 1 0 .561.385.385 0 0 1-.562 0l-1.31-1.31-1.323 1.31a.385.385 0 0 1-.562 0 .385.385 0 0 1 0-.561l1.31-1.323-1.31-1.31a.385.385 0 0 1 0-.563.385.385 0 0 1 .562 0l1.323 1.31 1.31-1.31a.385.385 0 0 1 .562 0 .385.385 0 0 1 0 .562Z"}),s.jsxs("defs",{children:[s.jsxs("linearGradient",{id:"b",x1:35.984,x2:56.797,y1:57.043,y2:131.755,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#383838"}),s.jsx("stop",{offset:1,stopColor:"#1D1D1D"})]}),s.jsxs("linearGradient",{id:"c",x1:10.22,x2:179,y1:52.406,y2:52.406,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:1,stopColor:"#5F5F5F",stopOpacity:0})]}),s.jsxs("linearGradient",{id:"d",x1:32.397,x2:102.886,y1:59.648,y2:150.147,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:0,stopColor:"#575757"}),s.jsx("stop",{offset:1,stopColor:"#2C2C2C"})]}),s.jsxs("linearGradient",{id:"e",x1:99.501,x2:246.864,y1:8.606,y2:161.85,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#F4B40F"}),s.jsx("stop",{offset:1,stopColor:"#EFAA23"})]}),s.jsxs("linearGradient",{id:"f",x1:55.128,x2:55.128,y1:0,y2:40.255,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"gray"}),s.jsx("stop",{offset:1,stopColor:"#56585D"})]}),s.jsxs("linearGradient",{id:"g",x1:55.128,x2:55.128,y1:63,y2:103.255,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"gray"}),s.jsx("stop",{offset:1,stopColor:"#56585D"})]}),s.jsxs("filter",{id:"a",width:196,height:108,x:0,y:43.406,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[s.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),s.jsx("feOffset",{dy:7}),s.jsx("feGaussianBlur",{stdDeviation:8}),s.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),s.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_834_102897"}),s.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_834_102897",result:"shape"})]})]})]}),jl=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:247,height:143,fill:"none",...t,children:[s.jsx("path",{fill:"url(#a)",d:"M144.369 125.689h-46.36v11.541h46.36v-11.541Z"}),s.jsx("path",{fill:"#828589",d:"M164.648 137.23H77.724v5.771h86.924v-5.771Z"}),s.jsx("rect",{width:180.555,height:103.984,x:31,y:22,fill:"url(#b)",rx:8}),s.jsx("rect",{width:167,height:90,x:37.777,y:29,fill:"#000",fillOpacity:.4,rx:4}),s.jsxs("g",{filter:"url(#c)",children:[s.jsx("path",{fill:"url(#d)",d:"M187.138 9h-67.22A2.918 2.918 0 0 0 117 11.918v42.756a2.918 2.918 0 0 0 2.918 2.918h67.22a2.918 2.918 0 0 0 2.918-2.918V11.918A2.918 2.918 0 0 0 187.138 9Z"}),s.jsx("path",{stroke:"url(#e)",strokeMiterlimit:10,d:"M119.918 9.5h67.22a2.418 2.418 0 0 1 2.418 2.418v42.756a2.418 2.418 0 0 1-2.418 2.418h-67.22a2.418 2.418 0 0 1-2.418-2.418V11.918a2.418 2.418 0 0 1 2.418-2.418Z"})]}),s.jsx("path",{fill:"#fff",fillOpacity:.3,d:"M161.871 22.42a2.171 2.171 0 1 0 0-4.343 2.171 2.171 0 0 0 0 4.342ZM169.958 22.42a2.171 2.171 0 1 0 0-4.343 2.171 2.171 0 0 0 0 4.342Z"}),s.jsx("path",{fill:"#F0F6FE",d:"M178.043 22.42a2.172 2.172 0 1 0 0-4.345 2.172 2.172 0 0 0 0 4.344Z"}),s.jsx("path",{fill:"#9DA2A5",d:"M153.404 55.547v5.836a.486.486 0 1 1-.972 0v-5.836a.486.486 0 1 1 .972 0ZM152.92 67.827l-3.255-3.255a.486.486 0 0 0-.688.688l3.599 3.6c.191.19.498.19.688 0l3.593-3.594a.485.485 0 1 0-.687-.688l-3.25 3.25ZM153.404 49.322v-5.836a.486.486 0 1 0-.972 0v5.836a.486.486 0 1 0 .972 0Z"}),s.jsx("path",{fill:"#3BB272",d:"M149 35a4 4 0 1 0 8 0 4 4 0 0 0-8 0Z"}),s.jsx("path",{fill:"#fff",fillOpacity:.1,d:"M105.723 39H53.277A2.28 2.28 0 0 0 51 41.282v33.436A2.28 2.28 0 0 0 53.277 77h52.446A2.28 2.28 0 0 0 108 74.718V41.282A2.28 2.28 0 0 0 105.723 39Z"}),s.jsx("path",{stroke:"#C8C8C8",strokeDasharray:"9 9",strokeLinecap:"round",strokeMiterlimit:10,strokeOpacity:.2,d:"M100.853 39a.5.5 0 0 0 .5.5h4.37c.98 0 1.777.797 1.777 1.782v4.18a.5.5 0 0 0 .5.5v7.358a.5.5 0 0 0-.5.5v8.36a.5.5 0 0 0 .5.5v7.358a.5.5 0 0 0-.5.5v4.18a1.78 1.78 0 0 1-1.777 1.782h-4.37a.5.5 0 0 0-.5.5h-7.741a.5.5 0 0 0-.5-.5H83.87a.5.5 0 0 0-.5.5h-7.742a.5.5 0 0 0-.5-.5h-8.74a.5.5 0 0 0-.5.5h-7.742a.5.5 0 0 0-.5-.5h-4.37a1.78 1.78 0 0 1-1.777-1.782v-4.18a.5.5 0 0 0-.5-.5V62.68a.5.5 0 0 0 .5-.5v-8.36a.5.5 0 0 0-.5-.5v-7.358a.5.5 0 0 0 .5-.5v-4.18a1.78 1.78 0 0 1 1.777-1.782h4.37a.5.5 0 0 0 .5-.5h7.741a.5.5 0 0 0 .5.5h8.741a.5.5 0 0 0 .5-.5h7.742a.5.5 0 0 0 .5.5h8.74a.5.5 0 0 0 .5-.5h7.742Z"}),s.jsx("path",{fill:"#fff",fillOpacity:.1,d:"M194.843 75h-49.686A2.16 2.16 0 0 0 143 77.162v31.676a2.16 2.16 0 0 0 2.157 2.162h49.686a2.16 2.16 0 0 0 2.157-2.162V77.162A2.16 2.16 0 0 0 194.843 75Z"}),s.jsx("path",{stroke:"#C8C8C8",strokeDasharray:"9 9",strokeLinecap:"round",strokeMiterlimit:10,strokeOpacity:.2,d:"M190.203 75a.5.5 0 0 0 .5.5h4.14a1.66 1.66 0 0 1 1.657 1.662v3.96a.5.5 0 0 0 .5.5v6.918a.5.5 0 0 0-.5.5v7.92a.5.5 0 0 0 .5.5v6.919a.5.5 0 0 0-.5.5v3.959a1.66 1.66 0 0 1-1.657 1.662h-4.14a.5.5 0 0 0-.5.5h-7.281a.5.5 0 0 0-.5-.5h-8.281a.5.5 0 0 0-.5.5h-7.282a.5.5 0 0 0-.5-.5h-8.281a.5.5 0 0 0-.5.5h-7.281a.5.5 0 0 0-.5-.5h-4.14a1.66 1.66 0 0 1-1.657-1.662v-3.959a.5.5 0 0 0-.5-.5v-6.92a.5.5 0 0 0 .5-.5V89.04a.5.5 0 0 0-.5-.5v-6.919a.5.5 0 0 0 .5-.5v-3.96a1.66 1.66 0 0 1 1.657-1.661h4.14a.5.5 0 0 0 .5-.5h7.281a.5.5 0 0 0 .5.5h8.281a.5.5 0 0 0 .5-.5h7.282a.5.5 0 0 0 .5.5h8.281a.5.5 0 0 0 .5-.5h7.281Z"}),s.jsxs("g",{filter:"url(#f)",children:[s.jsx("path",{fill:"url(#g)",d:"M228.294 65h-53.951a2.342 2.342 0 0 0-2.342 2.342v34.316a2.343 2.343 0 0 0 2.342 2.342h53.951a2.343 2.343 0 0 0 2.342-2.342V67.342A2.342 2.342 0 0 0 228.294 65Z"}),s.jsx("path",{stroke:"url(#h)",strokeMiterlimit:10,d:"M174.343 65.5h53.951c1.017 0 1.842.825 1.842 1.842v34.316a1.842 1.842 0 0 1-1.842 1.842h-53.951a1.842 1.842 0 0 1-1.842-1.842V67.342c0-1.017.825-1.842 1.842-1.842Z"})]}),s.jsx("path",{fill:"#fff",fillOpacity:.3,d:"M208.014 75.77a1.743 1.743 0 1 0 0-3.484 1.743 1.743 0 0 0 0 3.485ZM214.505 75.77a1.743 1.743 0 1 0 0-3.484 1.743 1.743 0 0 0 0 3.485Z"}),s.jsx("path",{fill:"#F0F6FE",d:"M220.995 75.77a1.743 1.743 0 1 0 0-3.486 1.743 1.743 0 0 0 0 3.487Z"}),s.jsx("path",{fill:"#9DA2A5",d:"M172.454 86.568h-5.836a.486.486 0 1 1 0-.972h5.836a.486.486 0 1 1 0 .972ZM160.175 86.084l3.255-3.255a.486.486 0 1 0-.688-.688l-3.599 3.6a.486.486 0 0 0 0 .687l3.593 3.594a.486.486 0 1 0 .688-.688l-3.249-3.25ZM176.486 86.568h5.836a.487.487 0 1 0 0-.972h-5.836a.486.486 0 1 0 0 .972ZM186.486 86.568h5.836a.487.487 0 1 0 0-.972h-5.836a.486.486 0 1 0 0 .972Z"}),s.jsx("path",{fill:"url(#i)",d:"M200.891 82.242a3.89 3.89 0 1 0 0 7.782 3.89 3.89 0 0 0 0-7.782Z"}),s.jsxs("g",{filter:"url(#j)",children:[s.jsx("path",{fill:"url(#k)",d:"M86.138 62h-67.22A2.918 2.918 0 0 0 16 64.918v42.756a2.918 2.918 0 0 0 2.918 2.918h67.22a2.918 2.918 0 0 0 2.918-2.918V64.918A2.918 2.918 0 0 0 86.138 62Z"}),s.jsx("path",{stroke:"url(#l)",strokeMiterlimit:10,d:"M18.918 62.5h67.22a2.418 2.418 0 0 1 2.418 2.418v42.756a2.418 2.418 0 0 1-2.418 2.418h-67.22a2.418 2.418 0 0 1-2.418-2.418V64.918a2.418 2.418 0 0 1 2.418-2.418Z"})]}),s.jsx("path",{fill:"#fff",fillOpacity:.3,d:"M60.87 75.42a2.172 2.172 0 1 0 0-4.344 2.172 2.172 0 0 0 0 4.343ZM68.958 75.42a2.172 2.172 0 1 0 0-4.344 2.172 2.172 0 0 0 0 4.343Z"}),s.jsx("path",{fill:"#F0F6FE",d:"M77.043 75.42a2.172 2.172 0 1 0 0-4.344 2.172 2.172 0 0 0 0 4.343Z"}),s.jsx("path",{fill:"#9DA2A5",d:"M101.546 88.596h5.836a.486.486 0 1 1 0 .972h-5.836a.486.486 0 1 1 0-.972ZM80.158 88.596h5.836a.486.486 0 1 1 0 .972h-5.836a.486.486 0 1 1 0-.972ZM96.71 88.596h-5.836a.486.486 0 1 0 0 .972h5.836a.486.486 0 1 0 0-.972ZM59.158 88.596h5.836a.486.486 0 1 1 0 .972h-5.836a.486.486 0 1 1 0-.972ZM113.825 89.08l-3.255 3.255a.486.486 0 1 0 .688.688l3.599-3.6a.486.486 0 0 0 0-.687l-3.593-3.593a.486.486 0 1 0-.688.687l3.249 3.25ZM75.322 88.596h-5.836a.486.486 0 1 0 0 .972h5.836a.486.486 0 1 0 0-.972Z"}),s.jsx("path",{fill:"#2479E9",d:"M50 93a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z"}),s.jsxs("defs",{children:[s.jsxs("linearGradient",{id:"a",x1:121.189,x2:121.189,y1:125.689,y2:137.23,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"gray"}),s.jsx("stop",{offset:1,stopColor:"#56585D"})]}),s.jsxs("linearGradient",{id:"b",x1:121.277,x2:121.277,y1:22,y2:125.984,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"gray"}),s.jsx("stop",{offset:1,stopColor:"#56585D"})]}),s.jsxs("linearGradient",{id:"d",x1:125.902,x2:143.647,y1:11.965,y2:56.345,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#383838"}),s.jsx("stop",{offset:1,stopColor:"#1D1D1D"})]}),s.jsxs("linearGradient",{id:"e",x1:124.29,x2:159.738,y1:23.904,y2:64.958,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:0,stopColor:"#575757"}),s.jsx("stop",{offset:1,stopColor:"#2C2C2C"})]}),s.jsxs("linearGradient",{id:"g",x1:179.146,x2:193.388,y1:67.38,y2:102.999,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#383838"}),s.jsx("stop",{offset:1,stopColor:"#1D1D1D"})]}),s.jsxs("linearGradient",{id:"h",x1:177.852,x2:206.302,y1:76.962,y2:109.912,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:0,stopColor:"#575757"}),s.jsx("stop",{offset:1,stopColor:"#2C2C2C"})]}),s.jsxs("linearGradient",{id:"i",x1:200.891,x2:193.185,y1:90.023,y2:82.01,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#F4B40F"}),s.jsx("stop",{offset:1,stopColor:"#EFAA23"})]}),s.jsxs("linearGradient",{id:"k",x1:24.902,x2:42.647,y1:64.965,y2:109.345,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#383838"}),s.jsx("stop",{offset:1,stopColor:"#1D1D1D"})]}),s.jsxs("linearGradient",{id:"l",x1:23.29,x2:58.738,y1:76.904,y2:117.958,gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{stopColor:"#5F5F5F"}),s.jsx("stop",{offset:0,stopColor:"#575757"}),s.jsx("stop",{offset:1,stopColor:"#2C2C2C"})]}),s.jsxs("filter",{id:"c",width:105.056,height:80.592,x:101,y:0,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[s.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),s.jsx("feOffset",{dy:7}),s.jsx("feGaussianBlur",{stdDeviation:8}),s.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),s.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_807_102718"}),s.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_807_102718",result:"shape"})]}),s.jsxs("filter",{id:"f",width:90.635,height:71,x:156.001,y:56,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[s.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),s.jsx("feOffset",{dy:7}),s.jsx("feGaussianBlur",{stdDeviation:8}),s.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),s.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_807_102718"}),s.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_807_102718",result:"shape"})]}),s.jsxs("filter",{id:"j",width:105.056,height:80.592,x:0,y:53,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[s.jsx("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),s.jsx("feOffset",{dy:7}),s.jsx("feGaussianBlur",{stdDeviation:8}),s.jsx("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),s.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_807_102718"}),s.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_807_102718",result:"shape"})]})]})]}),El=[{name:"Google Chrome",Image:bl,url:"https://www.google.com/chrome/"},{name:"Microsoft Edge",Image:wl,url:"https://www.microsoft.com/en-us/edge/download"},{name:"Opera",Image:xl,url:"https://www.opera.com/browsers/opera"}];const vi=({className:t,children:e,Logo:n})=>s.jsx("div",{className:G("info-page-container",t),children:s.jsxs("div",{className:"info-page-wrapper",children:[s.jsx(n,{className:"mb-32"}),e]})}),Sl=({supportEmail:t})=>s.jsxs("p",{className:"additional-information",children:["For more information, visit the io.Connect Browser",s.jsx("br",{}),s.jsx("a",{href:"https://docs.interop.io/browser/getting-started/requirements-compatibility/index.html",target:"_blank",rel:"noopener noreferrer",children:"documentation"}),t?s.jsxs(s.Fragment,{children:[" or ",s.jsx("a",{href:`mailto:${t}?subject=Issue with io.Connect Browser`,children:"contact us"}),"."]}):s.jsxs(s.Fragment,{children:[" or our ",s.jsx("a",{href:"https://support.interop.io",target:"_blank",rel:"noopener noreferrer",children:"help center"}),"."]})]});const gi=({components:{Logo:t=rt}={},supportEmail:e})=>{const{name:n,version:r}=lr(),o="Hmm... It seems that your browser isn’t supported.",i=`We're sorry, but ${n} ${r} isn’t supported.
|
|
42
42
|
For best experience, we recommend using the latest version of one of the
|
|
43
|
-
following browsers:`;return s.jsxs(pi,{className:"browser-not-supported",Logo:t,children:[s.jsx(mn,{title:o,description:i}),s.jsx("ul",{className:"browsers-list",children:jl.map(({Image:a,name:c,url:l})=>s.jsxs("li",{onClick:()=>window.open(l,"_blank","noopener,noreferrer"),children:[s.jsx("div",{className:"browsers-list-image",children:s.jsx(a,{})}),s.jsx("div",{children:c})]},c))}),s.jsx(El,{supportEmail:e})]})};function Ht({children:t,className:e,color:n,...r}){return s.jsx("button",{className:$(e,"io-btn",n),...r,children:t})}function vn(t){const{className:e,items:n,onItemClick:r,...o}=t;return s.jsx("div",{className:$("io-btn-group",e),...o,children:n.map((i,a)=>{const{onClick:c,...l}=i;return s.jsx(Ht,{onClick:u=>{c&&c(u),r&&r(u,i)},...l},a)})})}const Sl=(t,e)=>{const{isSectionCollapsible:n,sortOrder:r=At.DISABLED,...o}=e;return{id:"favorites-section",title:"Favorites",items:ir({items:t,sortOrder:r,ascendingCompare:Eo,descendingCompare:So}),iconName:"star",isCollapsible:n,...o}},mi=t=>{const{displayCount:e,isSectionCollapsible:n,showAllItems:r,sortOrder:o}=t,{favoriteEntities:i}=an(),a=y.useMemo(()=>Sl(i,{...{displayCount:e,showAllItems:r},isSectionCollapsible:n,sortOrder:o}),[i,e,n,r,o]);return i.length>0?s.jsx(hn,{config:a}):null},Qe={WINDOW_MANAGEMENT:"window-management",NOTIFICATIONS:"notifications"},kl=()=>Promise.all(Object.values(Qe).map(async t=>{const e=await navigator.permissions.query({name:t});return e.stableName=t,e})),vi=y.createContext(void 0),Ge=()=>{const t=y.useContext(vi);if(t===void 0)throw new Error("useIOConnectHome must be used within an IOConnectHomeProvider");return t},gi=({children:t})=>{const[e,n]=y.useState([]),r=e.length===0,o={isDenied:!r&&e.some(({state:a})=>a==="denied"),isLoading:r,isSetupCompleted:!r&&e.every(({state:a})=>a==="granted"),statuses:e},i=y.useRef(!1);return y.useEffect(()=>{let a=!1;const c=kl().then(l=>{if(a)return;n(l);const u=[];let f=!1;return l.forEach((p,d)=>{const h=m=>{if(a||!m.target||f)return;const v=m.target;if(v.state==="prompt"||v.state==="denied"&&i.current)return f=!0,window.location.reload();n(w=>[...w.slice(0,d),v,...w.slice(d+1)])};p.addEventListener("change",h),u.push(()=>p.removeEventListener("change",h))}),u}).catch(console.warn);return()=>{a=!0,c.then(l=>{l?.forEach(u=>u())})}},[]),y.useEffect(()=>{i.current=o.isSetupCompleted},[o.isSetupCompleted]),s.jsx(vi.Provider,{value:{permission:o},children:t})};var rr=function(t,e){return rr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},rr(t,e)};function Pl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");rr(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var ue=function(){return ue=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ue.apply(this,arguments)};function Tl(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function at(t,e,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(f){try{u(r.next(f))}catch(p){a(p)}}function l(f){try{u(r.throw(f))}catch(p){a(p)}}function u(f){f.done?i(f.value):o(f.value).then(c,l)}u((r=r.apply(t,e||[])).next())})}function ct(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(u){return function(f){return l([u,f])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(n=0)),n;)try{if(r=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,o=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1],i=u;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(u);break}i[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(f){u=[6,f],o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function Ne(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function"){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}var ft=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function br(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function wr(t,e){return t(e={exports:{}},e.exports),e.exports}var Je=wr(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function r(){var o=this;this.locked=new Map,this.addToLocked=function(i,a){var c=o.locked.get(i);c===void 0?a===void 0?o.locked.set(i,[]):o.locked.set(i,[a]):a!==void 0&&(c.unshift(a),o.locked.set(i,c))},this.isLocked=function(i){return o.locked.has(i)},this.lock=function(i){return new Promise(function(a,c){o.isLocked(i)?o.addToLocked(i,a):(o.addToLocked(i),a())})},this.unlock=function(i){var a=o.locked.get(i);if(a!==void 0&&a.length!==0){var c=a.pop();o.locked.set(i,a),c!==void 0&&setTimeout(c,0)}else o.locked.delete(i)}}return r.getInstance=function(){return r.instance===void 0&&(r.instance=new r),r.instance},r}();e.default=function(){return n.getInstance()}});br(Je);var _l=br(wr(function(t,e){var n=ft&&ft.__awaiter||function(l,u,f,p){return new(f||(f=Promise))(function(d,h){function m(w){try{g(p.next(w))}catch(j){h(j)}}function v(w){try{g(p.throw(w))}catch(j){h(j)}}function g(w){w.done?d(w.value):new f(function(j){j(w.value)}).then(m,v)}g((p=p.apply(l,u||[])).next())})},r=ft&&ft.__generator||function(l,u){var f,p,d,h,m={label:0,sent:function(){if(1&d[0])throw d[1];return d[1]},trys:[],ops:[]};return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(g){return function(w){return function(j){if(f)throw new TypeError("Generator is already executing.");for(;m;)try{if(f=1,p&&(d=2&j[0]?p.return:j[0]?p.throw||((d=p.return)&&d.call(p),0):p.next)&&!(d=d.call(p,j[1])).done)return d;switch(p=0,d&&(j=[2&j[0],d.value]),j[0]){case 0:case 1:d=j;break;case 4:return m.label++,{value:j[1],done:!1};case 5:m.label++,p=j[1],j=[0];continue;case 7:j=m.ops.pop(),m.trys.pop();continue;default:if(d=m.trys,!((d=d.length>0&&d[d.length-1])||j[0]!==6&&j[0]!==2)){m=0;continue}if(j[0]===3&&(!d||j[1]>d[0]&&j[1]<d[3])){m.label=j[1];break}if(j[0]===6&&m.label<d[1]){m.label=d[1],d=j;break}if(d&&m.label<d[2]){m.label=d[2],m.ops.push(j);break}d[2]&&m.ops.pop(),m.trys.pop();continue}j=u.call(l,m)}catch(O){j=[6,O],p=0}finally{f=d=0}if(5&j[0])throw j[1];return{value:j[0]?j[1]:void 0,done:!0}}([g,w])}}};Object.defineProperty(e,"__esModule",{value:!0});var o="browser-tabs-lock-key";function i(l){return new Promise(function(u){return setTimeout(u,l)})}function a(l){for(var u="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",f="",p=0;p<l;p++)f+=u[Math.floor(Math.random()*u.length)];return f}var c=function(){function l(){this.acquiredIatSet=new Set,this.id=Date.now().toString()+a(15),this.acquireLock=this.acquireLock.bind(this),this.releaseLock=this.releaseLock.bind(this),this.releaseLock__private__=this.releaseLock__private__.bind(this),this.waitForSomethingToChange=this.waitForSomethingToChange.bind(this),this.refreshLockWhileAcquired=this.refreshLockWhileAcquired.bind(this),l.waiters===void 0&&(l.waiters=[])}return l.prototype.acquireLock=function(u,f){return f===void 0&&(f=5e3),n(this,void 0,void 0,function(){var p,d,h,m,v,g;return r(this,function(w){switch(w.label){case 0:p=Date.now()+a(4),d=Date.now()+f,h=o+"-"+u,m=window.localStorage,w.label=1;case 1:return Date.now()<d?[4,i(30)]:[3,8];case 2:return w.sent(),m.getItem(h)!==null?[3,5]:(v=this.id+"-"+u+"-"+p,[4,i(Math.floor(25*Math.random()))]);case 3:return w.sent(),m.setItem(h,JSON.stringify({id:this.id,iat:p,timeoutKey:v,timeAcquired:Date.now(),timeRefreshed:Date.now()})),[4,i(30)];case 4:return w.sent(),(g=m.getItem(h))!==null&&(g=JSON.parse(g)).id===this.id&&g.iat===p?(this.acquiredIatSet.add(p),this.refreshLockWhileAcquired(h,p),[2,!0]):[3,7];case 5:return l.lockCorrector(),[4,this.waitForSomethingToChange(d)];case 6:w.sent(),w.label=7;case 7:return p=Date.now()+a(4),[3,1];case 8:return[2,!1]}})})},l.prototype.refreshLockWhileAcquired=function(u,f){return n(this,void 0,void 0,function(){var p=this;return r(this,function(d){return setTimeout(function(){return n(p,void 0,void 0,function(){var h,m;return r(this,function(v){switch(v.label){case 0:return[4,Je.default().lock(f)];case 1:return v.sent(),this.acquiredIatSet.has(f)?(h=window.localStorage,(m=h.getItem(u))===null?(Je.default().unlock(f),[2]):((m=JSON.parse(m)).timeRefreshed=Date.now(),h.setItem(u,JSON.stringify(m)),Je.default().unlock(f),this.refreshLockWhileAcquired(u,f),[2])):(Je.default().unlock(f),[2])}})})},1e3),[2]})})},l.prototype.waitForSomethingToChange=function(u){return n(this,void 0,void 0,function(){return r(this,function(f){switch(f.label){case 0:return[4,new Promise(function(p){var d=!1,h=Date.now(),m=!1;function v(){if(m||(window.removeEventListener("storage",v),l.removeFromWaiting(v),clearTimeout(g),m=!0),!d){d=!0;var w=50-(Date.now()-h);w>0?setTimeout(p,w):p()}}window.addEventListener("storage",v),l.addToWaiting(v);var g=setTimeout(v,Math.max(0,u-Date.now()))})];case 1:return f.sent(),[2]}})})},l.addToWaiting=function(u){this.removeFromWaiting(u),l.waiters!==void 0&&l.waiters.push(u)},l.removeFromWaiting=function(u){l.waiters!==void 0&&(l.waiters=l.waiters.filter(function(f){return f!==u}))},l.notifyWaiters=function(){l.waiters!==void 0&&l.waiters.slice().forEach(function(u){return u()})},l.prototype.releaseLock=function(u){return n(this,void 0,void 0,function(){return r(this,function(f){switch(f.label){case 0:return[4,this.releaseLock__private__(u)];case 1:return[2,f.sent()]}})})},l.prototype.releaseLock__private__=function(u){return n(this,void 0,void 0,function(){var f,p,d;return r(this,function(h){switch(h.label){case 0:return f=window.localStorage,p=o+"-"+u,(d=f.getItem(p))===null?[2]:(d=JSON.parse(d)).id!==this.id?[3,2]:[4,Je.default().lock(d.iat)];case 1:h.sent(),this.acquiredIatSet.delete(d.iat),f.removeItem(p),Je.default().unlock(d.iat),l.notifyWaiters(),h.label=2;case 2:return[2]}})})},l.lockCorrector=function(){for(var u=Date.now()-5e3,f=window.localStorage,p=Object.keys(f),d=!1,h=0;h<p.length;h++){var m=p[h];if(m.includes(o)){var v=f.getItem(m);v!==null&&((v=JSON.parse(v)).timeRefreshed===void 0&&v.timeAcquired<u||v.timeRefreshed!==void 0&&v.timeRefreshed<u)&&(f.removeItem(m),d=!0)}}d&&l.notifyWaiters()},l.waiters=void 0,l}();e.default=c}));const Il={timeoutInSeconds:60},yi={name:"auth0-spa-js",version:"2.0.4"},bi=()=>Date.now();class Oe extends Error{constructor(e,n){super(n),this.error=e,this.error_description=n,Object.setPrototypeOf(this,Oe.prototype)}static fromPayload({error:e,error_description:n}){return new Oe(e,n)}}class xr extends Oe{constructor(e,n,r,o=null){super(e,n),this.state=r,this.appState=o,Object.setPrototypeOf(this,xr.prototype)}}class Mt extends Oe{constructor(){super("timeout","Timeout"),Object.setPrototypeOf(this,Mt.prototype)}}class Cr extends Mt{constructor(e){super(),this.popup=e,Object.setPrototypeOf(this,Cr.prototype)}}class Or extends Oe{constructor(e){super("cancelled","Popup closed"),this.popup=e,Object.setPrototypeOf(this,Or.prototype)}}class jr extends Oe{constructor(e,n,r){super(e,n),this.mfa_token=r,Object.setPrototypeOf(this,jr.prototype)}}class gn extends Oe{constructor(e,n){super("missing_refresh_token",`Missing Refresh Token (audience: '${so(e,["default"])}', scope: '${so(n)}')`),this.audience=e,this.scope=n,Object.setPrototypeOf(this,gn.prototype)}}function so(t,e=[]){return t&&!e.includes(t)?t:""}const qt=()=>window.crypto,Tn=()=>{const t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_~.";let e="";return Array.from(qt().getRandomValues(new Uint8Array(43))).forEach(n=>e+=t[n%t.length]),e},ao=t=>btoa(t),or=t=>{var{clientId:e}=t,n=Ne(t,["clientId"]);return new URLSearchParams((r=>Object.keys(r).filter(o=>r[o]!==void 0).reduce((o,i)=>Object.assign(Object.assign({},o),{[i]:r[i]}),{}))(Object.assign({client_id:e},n))).toString()},co=t=>(e=>decodeURIComponent(atob(e).split("").map(n=>"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)).join("")))(t.replace(/_/g,"/").replace(/-/g,"+")),Nl=async(t,e)=>{const n=await fetch(t,e);return{ok:n.ok,json:await n.json()}},Al=async(t,e,n)=>{const r=new AbortController;let o;return e.signal=r.signal,Promise.race([Nl(t,e),new Promise((i,a)=>{o=setTimeout(()=>{r.abort(),a(new Error("Timeout when executing 'fetch'"))},n)})]).finally(()=>{clearTimeout(o)})},Rl=async(t,e,n,r,o,i,a)=>{return c={auth:{audience:e,scope:n},timeout:o,fetchUrl:t,fetchOptions:r,useFormData:a},l=i,new Promise(function(u,f){const p=new MessageChannel;p.port1.onmessage=function(d){d.data.error?f(new Error(d.data.error)):u(d.data),p.port1.close()},l.postMessage(c,[p.port2])});var c,l},Ll=async(t,e,n,r,o,i,a=1e4)=>o?Rl(t,e,n,r,a,o,i):Al(t,r,a);async function Ml(t,e){var{baseUrl:n,timeout:r,audience:o,scope:i,auth0Client:a,useFormData:c}=t,l=Ne(t,["baseUrl","timeout","audience","scope","auth0Client","useFormData"]);const u=c?or(l):JSON.stringify(l);return await async function(f,p,d,h,m,v,g){let w,j=null;for(let S=0;S<3;S++)try{w=await Ll(f,d,h,m,v,g,p),j=null;break}catch(I){j=I}if(j)throw j;const O=w.json,{error:C,error_description:b}=O,k=Ne(O,["error","error_description"]),{ok:_}=w;if(!_){const S=b||`HTTP error. Unable to fetch ${f}`;throw C==="mfa_required"?new jr(C,S,k.mfa_token):C==="missing_refresh_token"?new gn(d,h):new Oe(C||"request_error",S)}return k}(`${n}/oauth/token`,r,o||"default",i,{method:"POST",body:u,headers:{"Content-Type":c?"application/x-www-form-urlencoded":"application/json","Auth0-Client":btoa(JSON.stringify(a||yi))}},e,c)}const Zt=(...t)=>{return(e=t.filter(Boolean).join(" ").trim().split(/\s+/),Array.from(new Set(e))).join(" ");var e};class Ae{constructor(e,n="@@auth0spajs@@",r){this.prefix=n,this.suffix=r,this.clientId=e.clientId,this.scope=e.scope,this.audience=e.audience}toKey(){return[this.prefix,this.clientId,this.audience,this.scope,this.suffix].filter(Boolean).join("::")}static fromKey(e){const[n,r,o,i]=e.split("::");return new Ae({clientId:r,scope:i,audience:o},n)}static fromCacheEntry(e){const{scope:n,audience:r,client_id:o}=e;return new Ae({scope:n,audience:r,clientId:o})}}class Dl{set(e,n){localStorage.setItem(e,JSON.stringify(n))}get(e){const n=window.localStorage.getItem(e);if(n)try{return JSON.parse(n)}catch{return}}remove(e){localStorage.removeItem(e)}allKeys(){return Object.keys(window.localStorage).filter(e=>e.startsWith("@@auth0spajs@@"))}}class wi{constructor(){this.enclosedCache=function(){let e={};return{set(n,r){e[n]=r},get(n){const r=e[n];if(r)return r},remove(n){delete e[n]},allKeys:()=>Object.keys(e)}}()}}class Fl{constructor(e,n,r){this.cache=e,this.keyManifest=n,this.nowProvider=r||bi}async setIdToken(e,n,r){var o;const i=this.getIdTokenCacheKey(e);await this.cache.set(i,{id_token:n,decodedToken:r}),await((o=this.keyManifest)===null||o===void 0?void 0:o.add(i))}async getIdToken(e){const n=await this.cache.get(this.getIdTokenCacheKey(e.clientId));if(!n&&e.scope&&e.audience){const r=await this.get(e);return!r||!r.id_token||!r.decodedToken?void 0:{id_token:r.id_token,decodedToken:r.decodedToken}}if(n)return{id_token:n.id_token,decodedToken:n.decodedToken}}async get(e,n=0){var r;let o=await this.cache.get(e.toKey());if(!o){const c=await this.getCacheKeys();if(!c)return;const l=this.matchExistingCacheKey(e,c);l&&(o=await this.cache.get(l))}if(!o)return;const i=await this.nowProvider(),a=Math.floor(i/1e3);return o.expiresAt-n<a?o.body.refresh_token?(o.body={refresh_token:o.body.refresh_token},await this.cache.set(e.toKey(),o),o.body):(await this.cache.remove(e.toKey()),void await((r=this.keyManifest)===null||r===void 0?void 0:r.remove(e.toKey()))):o.body}async set(e){var n;const r=new Ae({clientId:e.client_id,scope:e.scope,audience:e.audience}),o=await this.wrapCacheEntry(e);await this.cache.set(r.toKey(),o),await((n=this.keyManifest)===null||n===void 0?void 0:n.add(r.toKey()))}async clear(e){var n;const r=await this.getCacheKeys();r&&(await r.filter(o=>!e||o.includes(e)).reduce(async(o,i)=>{await o,await this.cache.remove(i)},Promise.resolve()),await((n=this.keyManifest)===null||n===void 0?void 0:n.clear()))}async wrapCacheEntry(e){const n=await this.nowProvider();return{body:e,expiresAt:Math.floor(n/1e3)+e.expires_in}}async getCacheKeys(){var e;return this.keyManifest?(e=await this.keyManifest.get())===null||e===void 0?void 0:e.keys:this.cache.allKeys?this.cache.allKeys():void 0}getIdTokenCacheKey(e){return new Ae({clientId:e},"@@auth0spajs@@","@@user@@").toKey()}matchExistingCacheKey(e,n){return n.filter(r=>{var o;const i=Ae.fromKey(r),a=new Set(i.scope&&i.scope.split(" ")),c=((o=e.scope)===null||o===void 0?void 0:o.split(" "))||[],l=i.scope&&c.reduce((u,f)=>u&&a.has(f),!0);return i.prefix==="@@auth0spajs@@"&&i.clientId===e.clientId&&i.audience===e.audience&&l})[0]}}class Ul{constructor(e,n){this.storage=e,this.clientId=n,this.storageKey=`a0.spajs.txs.${this.clientId}`,this.transaction=this.storage.get(this.storageKey)}create(e){this.transaction=e,this.storage.save(this.storageKey,e,{daysUntilExpire:1})}get(){return this.transaction}remove(){delete this.transaction,this.storage.remove(this.storageKey)}}const St=t=>typeof t=="number",Hl=["iss","aud","exp","nbf","iat","jti","azp","nonce","auth_time","at_hash","c_hash","acr","amr","sub_jwk","cnf","sip_from_tag","sip_date","sip_callid","sip_cseq_num","sip_via_branch","orig","dest","mky","events","toe","txn","rph","sid","vot","vtm"],Wl=t=>{if(!t.id_token)throw new Error("ID token is required but missing");const e=(i=>{const a=i.split("."),[c,l,u]=a;if(a.length!==3||!c||!l||!u)throw new Error("ID token could not be decoded");const f=JSON.parse(co(l)),p={__raw:i},d={};return Object.keys(f).forEach(h=>{p[h]=f[h],Hl.includes(h)||(d[h]=f[h])}),{encoded:{header:c,payload:l,signature:u},header:JSON.parse(co(c)),claims:p,user:d}})(t.id_token);if(!e.claims.iss)throw new Error("Issuer (iss) claim must be a string present in the ID token");if(e.claims.iss!==t.iss)throw new Error(`Issuer (iss) claim mismatch in the ID token; expected "${t.iss}", found "${e.claims.iss}"`);if(!e.user.sub)throw new Error("Subject (sub) claim must be a string present in the ID token");if(e.header.alg!=="RS256")throw new Error(`Signature algorithm of "${e.header.alg}" is not supported. Expected the ID token to be signed with "RS256".`);if(!e.claims.aud||typeof e.claims.aud!="string"&&!Array.isArray(e.claims.aud))throw new Error("Audience (aud) claim must be a string or array of strings present in the ID token");if(Array.isArray(e.claims.aud)){if(!e.claims.aud.includes(t.aud))throw new Error(`Audience (aud) claim mismatch in the ID token; expected "${t.aud}" but was not one of "${e.claims.aud.join(", ")}"`);if(e.claims.aud.length>1){if(!e.claims.azp)throw new Error("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values");if(e.claims.azp!==t.aud)throw new Error(`Authorized Party (azp) claim mismatch in the ID token; expected "${t.aud}", found "${e.claims.azp}"`)}}else if(e.claims.aud!==t.aud)throw new Error(`Audience (aud) claim mismatch in the ID token; expected "${t.aud}" but found "${e.claims.aud}"`);if(t.nonce){if(!e.claims.nonce)throw new Error("Nonce (nonce) claim must be a string present in the ID token");if(e.claims.nonce!==t.nonce)throw new Error(`Nonce (nonce) claim mismatch in the ID token; expected "${t.nonce}", found "${e.claims.nonce}"`)}if(t.max_age&&!St(e.claims.auth_time))throw new Error("Authentication Time (auth_time) claim must be a number present in the ID token when Max Age (max_age) is specified");if(e.claims.exp==null||!St(e.claims.exp))throw new Error("Expiration Time (exp) claim must be a number present in the ID token");if(!St(e.claims.iat))throw new Error("Issued At (iat) claim must be a number present in the ID token");const n=t.leeway||60,r=new Date(t.now||Date.now()),o=new Date(0);if(o.setUTCSeconds(e.claims.exp+n),r>o)throw new Error(`Expiration Time (exp) claim error in the ID token; current time (${r}) is after expiration time (${o})`);if(e.claims.nbf!=null&&St(e.claims.nbf)){const i=new Date(0);if(i.setUTCSeconds(e.claims.nbf-n),r<i)throw new Error(`Not Before time (nbf) claim in the ID token indicates that this token can't be used just yet. Current time (${r}) is before ${i}`)}if(e.claims.auth_time!=null&&St(e.claims.auth_time)){const i=new Date(0);if(i.setUTCSeconds(parseInt(e.claims.auth_time)+t.max_age+n),r>i)throw new Error(`Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Current time (${r}) is after last auth at ${i}`)}if(t.organizationId){if(!e.claims.org_id)throw new Error("Organization ID (org_id) claim must be a string present in the ID token");if(t.organizationId!==e.claims.org_id)throw new Error(`Organization ID (org_id) claim mismatch in the ID token; expected "${t.organizationId}", found "${e.claims.org_id}"`)}return e};var et=wr(function(t,e){var n=ft&&ft.__assign||function(){return n=Object.assign||function(l){for(var u,f=1,p=arguments.length;f<p;f++)for(var d in u=arguments[f])Object.prototype.hasOwnProperty.call(u,d)&&(l[d]=u[d]);return l},n.apply(this,arguments)};function r(l,u){if(!u)return"";var f="; "+l;return u===!0?f:f+"="+u}function o(l,u,f){return encodeURIComponent(l).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/\(/g,"%28").replace(/\)/g,"%29")+"="+encodeURIComponent(u).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent)+function(p){if(typeof p.expires=="number"){var d=new Date;d.setMilliseconds(d.getMilliseconds()+864e5*p.expires),p.expires=d}return r("Expires",p.expires?p.expires.toUTCString():"")+r("Domain",p.domain)+r("Path",p.path)+r("Secure",p.secure)+r("SameSite",p.sameSite)}(f)}function i(l){for(var u={},f=l?l.split("; "):[],p=/(%[\dA-F]{2})+/gi,d=0;d<f.length;d++){var h=f[d].split("="),m=h.slice(1).join("=");m.charAt(0)==='"'&&(m=m.slice(1,-1));try{u[h[0].replace(p,decodeURIComponent)]=m.replace(p,decodeURIComponent)}catch{}}return u}function a(){return i(document.cookie)}function c(l,u,f){document.cookie=o(l,u,n({path:"/"},f))}e.__esModule=!0,e.encode=o,e.parse=i,e.getAll=a,e.get=function(l){return a()[l]},e.set=c,e.remove=function(l,u){c(l,"",n(n({},u),{expires:-1}))}});br(et),et.encode,et.parse,et.getAll;var zl=et.get,xi=et.set,Ci=et.remove;const ut={get(t){const e=zl(t);if(e!==void 0)return JSON.parse(e)},save(t,e,n){let r={};window.location.protocol==="https:"&&(r={secure:!0,sameSite:"none"}),n?.daysUntilExpire&&(r.expires=n.daysUntilExpire),n?.cookieDomain&&(r.domain=n.cookieDomain),xi(t,JSON.stringify(e),r)},remove(t,e){let n={};e?.cookieDomain&&(n.domain=e.cookieDomain),Ci(t,n)}},Vl={get(t){return ut.get(t)||ut.get(`_legacy_${t}`)},save(t,e,n){let r={};window.location.protocol==="https:"&&(r={secure:!0}),n?.daysUntilExpire&&(r.expires=n.daysUntilExpire),n?.cookieDomain&&(r.domain=n.cookieDomain),xi(`_legacy_${t}`,JSON.stringify(e),r),ut.save(t,e,n)},remove(t,e){let n={};e?.cookieDomain&&(n.domain=e.cookieDomain),Ci(t,n),ut.remove(t,e),ut.remove(`_legacy_${t}`,e)}},Bl={get(t){if(typeof sessionStorage>"u")return;const e=sessionStorage.getItem(t);return e!=null?JSON.parse(e):void 0},save(t,e){sessionStorage.setItem(t,JSON.stringify(e))},remove(t){sessionStorage.removeItem(t)}};function Zl(t,e,n){var r=e===void 0?null:e,o=function(l,u){var f=atob(l);if(u){for(var p=new Uint8Array(f.length),d=0,h=f.length;d<h;++d)p[d]=f.charCodeAt(d);return String.fromCharCode.apply(null,new Uint16Array(p.buffer))}return f}(t,n!==void 0&&n),i=o.indexOf(`
|
|
44
|
-
`,10)+1,a=o.substring(i)+(r?"//# sourceMappingURL="+r:""),c=new Blob([a],{type:"application/javascript"});return URL.createObjectURL(c)}var
|
|
43
|
+
following browsers:`;return s.jsxs(vi,{className:"browser-not-supported",Logo:t,children:[s.jsx(vn,{title:o,description:i}),s.jsx("ul",{className:"browsers-list",children:El.map(({Image:a,name:c,url:l})=>s.jsxs("li",{onClick:()=>window.open(l,"_blank","noopener,noreferrer"),children:[s.jsx("div",{className:"browsers-list-image",children:s.jsx(a,{})}),s.jsx("div",{children:c})]},c))}),s.jsx(Sl,{supportEmail:e})]})};function Wt({children:t,className:e,color:n,...r}){return s.jsx("button",{className:G(e,"io-btn",n),...r,children:t})}function gn(t){const{className:e,items:n,onItemClick:r,...o}=t;return s.jsx("div",{className:G("io-btn-group",e),...o,children:n.map((i,a)=>{const{onClick:c,...l}=i;return s.jsx(Wt,{onClick:u=>{c&&c(u),r&&r(u,i)},...l},a)})})}const kl=(t,e)=>{const{isSectionCollapsible:n,sortOrder:r=At.DISABLED,...o}=e;return{id:"favorites-section",title:"Favorites",items:sr({items:t,sortOrder:r,ascendingCompare:Po,descendingCompare:To}),iconName:"star",isCollapsible:n,...o}},yi=t=>{const{displayCount:e,isSectionCollapsible:n,showAllItems:r,sortOrder:o}=t,{favoriteEntities:i}=cn(),a=y.useMemo(()=>kl(i,{...{displayCount:e,showAllItems:r},isSectionCollapsible:n,sortOrder:o}),[i,e,n,r,o]);return i.length>0?s.jsx(mn,{config:a}):null},Qe={WINDOW_MANAGEMENT:"window-management",NOTIFICATIONS:"notifications"},Pl=()=>Promise.all(Object.values(Qe).map(async t=>{const e=await navigator.permissions.query({name:t});return e.stableName=t,e})),bi=y.createContext(void 0),Ge=()=>{const t=y.useContext(bi);if(t===void 0)throw new Error("useIOConnectHome must be used within an IOConnectHomeProvider");return t},wi=({children:t})=>{const[e,n]=y.useState([]),r=e.length===0,o={isDenied:!r&&e.some(({state:a})=>a==="denied"),isLoading:r,isSetupCompleted:!r&&e.every(({state:a})=>a==="granted"),statuses:e},i=y.useRef(!1);return y.useEffect(()=>{let a=!1;const c=Pl().then(l=>{if(a)return;n(l);const u=[];let f=!1;return l.forEach((p,d)=>{const h=m=>{if(a||!m.target||f)return;const v=m.target;if(v.state==="prompt"||v.state==="denied"&&i.current)return f=!0,window.location.reload();n(w=>[...w.slice(0,d),v,...w.slice(d+1)])};p.addEventListener("change",h),u.push(()=>p.removeEventListener("change",h))}),u}).catch(console.warn);return()=>{a=!0,c.then(l=>{l?.forEach(u=>u())})}},[]),y.useEffect(()=>{i.current=o.isSetupCompleted},[o.isSetupCompleted]),s.jsx(bi.Provider,{value:{permission:o},children:t})};var rr=function(t,e){return rr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},rr(t,e)};function Tl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");rr(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var ue=function(){return ue=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ue.apply(this,arguments)};function _l(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function ct(t,e,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function c(f){try{u(r.next(f))}catch(p){a(p)}}function l(f){try{u(r.throw(f))}catch(p){a(p)}}function u(f){f.done?i(f.value):o(f.value).then(c,l)}u((r=r.apply(t,e||[])).next())})}function lt(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(u){return function(f){return l([u,f])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(n=0)),n;)try{if(r=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,o=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1],i=u;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(u);break}i[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(f){u=[6,f],o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function Ne(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function"){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}var pt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function xr(t,e){return t(e={exports:{}},e.exports),e.exports}var Je=xr(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function r(){var o=this;this.locked=new Map,this.addToLocked=function(i,a){var c=o.locked.get(i);c===void 0?a===void 0?o.locked.set(i,[]):o.locked.set(i,[a]):a!==void 0&&(c.unshift(a),o.locked.set(i,c))},this.isLocked=function(i){return o.locked.has(i)},this.lock=function(i){return new Promise(function(a,c){o.isLocked(i)?o.addToLocked(i,a):(o.addToLocked(i),a())})},this.unlock=function(i){var a=o.locked.get(i);if(a!==void 0&&a.length!==0){var c=a.pop();o.locked.set(i,a),c!==void 0&&setTimeout(c,0)}else o.locked.delete(i)}}return r.getInstance=function(){return r.instance===void 0&&(r.instance=new r),r.instance},r}();e.default=function(){return n.getInstance()}});wr(Je);var Il=wr(xr(function(t,e){var n=pt&&pt.__awaiter||function(l,u,f,p){return new(f||(f=Promise))(function(d,h){function m(w){try{g(p.next(w))}catch(j){h(j)}}function v(w){try{g(p.throw(w))}catch(j){h(j)}}function g(w){w.done?d(w.value):new f(function(j){j(w.value)}).then(m,v)}g((p=p.apply(l,u||[])).next())})},r=pt&&pt.__generator||function(l,u){var f,p,d,h,m={label:0,sent:function(){if(1&d[0])throw d[1];return d[1]},trys:[],ops:[]};return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(g){return function(w){return function(j){if(f)throw new TypeError("Generator is already executing.");for(;m;)try{if(f=1,p&&(d=2&j[0]?p.return:j[0]?p.throw||((d=p.return)&&d.call(p),0):p.next)&&!(d=d.call(p,j[1])).done)return d;switch(p=0,d&&(j=[2&j[0],d.value]),j[0]){case 0:case 1:d=j;break;case 4:return m.label++,{value:j[1],done:!1};case 5:m.label++,p=j[1],j=[0];continue;case 7:j=m.ops.pop(),m.trys.pop();continue;default:if(d=m.trys,!((d=d.length>0&&d[d.length-1])||j[0]!==6&&j[0]!==2)){m=0;continue}if(j[0]===3&&(!d||j[1]>d[0]&&j[1]<d[3])){m.label=j[1];break}if(j[0]===6&&m.label<d[1]){m.label=d[1],d=j;break}if(d&&m.label<d[2]){m.label=d[2],m.ops.push(j);break}d[2]&&m.ops.pop(),m.trys.pop();continue}j=u.call(l,m)}catch(O){j=[6,O],p=0}finally{f=d=0}if(5&j[0])throw j[1];return{value:j[0]?j[1]:void 0,done:!0}}([g,w])}}};Object.defineProperty(e,"__esModule",{value:!0});var o="browser-tabs-lock-key";function i(l){return new Promise(function(u){return setTimeout(u,l)})}function a(l){for(var u="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",f="",p=0;p<l;p++)f+=u[Math.floor(Math.random()*u.length)];return f}var c=function(){function l(){this.acquiredIatSet=new Set,this.id=Date.now().toString()+a(15),this.acquireLock=this.acquireLock.bind(this),this.releaseLock=this.releaseLock.bind(this),this.releaseLock__private__=this.releaseLock__private__.bind(this),this.waitForSomethingToChange=this.waitForSomethingToChange.bind(this),this.refreshLockWhileAcquired=this.refreshLockWhileAcquired.bind(this),l.waiters===void 0&&(l.waiters=[])}return l.prototype.acquireLock=function(u,f){return f===void 0&&(f=5e3),n(this,void 0,void 0,function(){var p,d,h,m,v,g;return r(this,function(w){switch(w.label){case 0:p=Date.now()+a(4),d=Date.now()+f,h=o+"-"+u,m=window.localStorage,w.label=1;case 1:return Date.now()<d?[4,i(30)]:[3,8];case 2:return w.sent(),m.getItem(h)!==null?[3,5]:(v=this.id+"-"+u+"-"+p,[4,i(Math.floor(25*Math.random()))]);case 3:return w.sent(),m.setItem(h,JSON.stringify({id:this.id,iat:p,timeoutKey:v,timeAcquired:Date.now(),timeRefreshed:Date.now()})),[4,i(30)];case 4:return w.sent(),(g=m.getItem(h))!==null&&(g=JSON.parse(g)).id===this.id&&g.iat===p?(this.acquiredIatSet.add(p),this.refreshLockWhileAcquired(h,p),[2,!0]):[3,7];case 5:return l.lockCorrector(),[4,this.waitForSomethingToChange(d)];case 6:w.sent(),w.label=7;case 7:return p=Date.now()+a(4),[3,1];case 8:return[2,!1]}})})},l.prototype.refreshLockWhileAcquired=function(u,f){return n(this,void 0,void 0,function(){var p=this;return r(this,function(d){return setTimeout(function(){return n(p,void 0,void 0,function(){var h,m;return r(this,function(v){switch(v.label){case 0:return[4,Je.default().lock(f)];case 1:return v.sent(),this.acquiredIatSet.has(f)?(h=window.localStorage,(m=h.getItem(u))===null?(Je.default().unlock(f),[2]):((m=JSON.parse(m)).timeRefreshed=Date.now(),h.setItem(u,JSON.stringify(m)),Je.default().unlock(f),this.refreshLockWhileAcquired(u,f),[2])):(Je.default().unlock(f),[2])}})})},1e3),[2]})})},l.prototype.waitForSomethingToChange=function(u){return n(this,void 0,void 0,function(){return r(this,function(f){switch(f.label){case 0:return[4,new Promise(function(p){var d=!1,h=Date.now(),m=!1;function v(){if(m||(window.removeEventListener("storage",v),l.removeFromWaiting(v),clearTimeout(g),m=!0),!d){d=!0;var w=50-(Date.now()-h);w>0?setTimeout(p,w):p()}}window.addEventListener("storage",v),l.addToWaiting(v);var g=setTimeout(v,Math.max(0,u-Date.now()))})];case 1:return f.sent(),[2]}})})},l.addToWaiting=function(u){this.removeFromWaiting(u),l.waiters!==void 0&&l.waiters.push(u)},l.removeFromWaiting=function(u){l.waiters!==void 0&&(l.waiters=l.waiters.filter(function(f){return f!==u}))},l.notifyWaiters=function(){l.waiters!==void 0&&l.waiters.slice().forEach(function(u){return u()})},l.prototype.releaseLock=function(u){return n(this,void 0,void 0,function(){return r(this,function(f){switch(f.label){case 0:return[4,this.releaseLock__private__(u)];case 1:return[2,f.sent()]}})})},l.prototype.releaseLock__private__=function(u){return n(this,void 0,void 0,function(){var f,p,d;return r(this,function(h){switch(h.label){case 0:return f=window.localStorage,p=o+"-"+u,(d=f.getItem(p))===null?[2]:(d=JSON.parse(d)).id!==this.id?[3,2]:[4,Je.default().lock(d.iat)];case 1:h.sent(),this.acquiredIatSet.delete(d.iat),f.removeItem(p),Je.default().unlock(d.iat),l.notifyWaiters(),h.label=2;case 2:return[2]}})})},l.lockCorrector=function(){for(var u=Date.now()-5e3,f=window.localStorage,p=Object.keys(f),d=!1,h=0;h<p.length;h++){var m=p[h];if(m.includes(o)){var v=f.getItem(m);v!==null&&((v=JSON.parse(v)).timeRefreshed===void 0&&v.timeAcquired<u||v.timeRefreshed!==void 0&&v.timeRefreshed<u)&&(f.removeItem(m),d=!0)}}d&&l.notifyWaiters()},l.waiters=void 0,l}();e.default=c}));const Nl={timeoutInSeconds:60},xi={name:"auth0-spa-js",version:"2.0.4"},Ci=()=>Date.now();class Oe extends Error{constructor(e,n){super(n),this.error=e,this.error_description=n,Object.setPrototypeOf(this,Oe.prototype)}static fromPayload({error:e,error_description:n}){return new Oe(e,n)}}class Cr extends Oe{constructor(e,n,r,o=null){super(e,n),this.state=r,this.appState=o,Object.setPrototypeOf(this,Cr.prototype)}}class Dt extends Oe{constructor(){super("timeout","Timeout"),Object.setPrototypeOf(this,Dt.prototype)}}class Or extends Dt{constructor(e){super(),this.popup=e,Object.setPrototypeOf(this,Or.prototype)}}class jr extends Oe{constructor(e){super("cancelled","Popup closed"),this.popup=e,Object.setPrototypeOf(this,jr.prototype)}}class Er extends Oe{constructor(e,n,r){super(e,n),this.mfa_token=r,Object.setPrototypeOf(this,Er.prototype)}}class yn extends Oe{constructor(e,n){super("missing_refresh_token",`Missing Refresh Token (audience: '${lo(e,["default"])}', scope: '${lo(n)}')`),this.audience=e,this.scope=n,Object.setPrototypeOf(this,yn.prototype)}}function lo(t,e=[]){return t&&!e.includes(t)?t:""}const Kt=()=>window.crypto,_n=()=>{const t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_~.";let e="";return Array.from(Kt().getRandomValues(new Uint8Array(43))).forEach(n=>e+=t[n%t.length]),e},uo=t=>btoa(t),or=t=>{var{clientId:e}=t,n=Ne(t,["clientId"]);return new URLSearchParams((r=>Object.keys(r).filter(o=>r[o]!==void 0).reduce((o,i)=>Object.assign(Object.assign({},o),{[i]:r[i]}),{}))(Object.assign({client_id:e},n))).toString()},fo=t=>(e=>decodeURIComponent(atob(e).split("").map(n=>"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)).join("")))(t.replace(/_/g,"/").replace(/-/g,"+")),Al=async(t,e)=>{const n=await fetch(t,e);return{ok:n.ok,json:await n.json()}},Rl=async(t,e,n)=>{const r=new AbortController;let o;return e.signal=r.signal,Promise.race([Al(t,e),new Promise((i,a)=>{o=setTimeout(()=>{r.abort(),a(new Error("Timeout when executing 'fetch'"))},n)})]).finally(()=>{clearTimeout(o)})},Ll=async(t,e,n,r,o,i,a)=>{return c={auth:{audience:e,scope:n},timeout:o,fetchUrl:t,fetchOptions:r,useFormData:a},l=i,new Promise(function(u,f){const p=new MessageChannel;p.port1.onmessage=function(d){d.data.error?f(new Error(d.data.error)):u(d.data),p.port1.close()},l.postMessage(c,[p.port2])});var c,l},Ml=async(t,e,n,r,o,i,a=1e4)=>o?Ll(t,e,n,r,a,o,i):Rl(t,r,a);async function Dl(t,e){var{baseUrl:n,timeout:r,audience:o,scope:i,auth0Client:a,useFormData:c}=t,l=Ne(t,["baseUrl","timeout","audience","scope","auth0Client","useFormData"]);const u=c?or(l):JSON.stringify(l);return await async function(f,p,d,h,m,v,g){let w,j=null;for(let S=0;S<3;S++)try{w=await Ml(f,d,h,m,v,g,p),j=null;break}catch(I){j=I}if(j)throw j;const O=w.json,{error:C,error_description:b}=O,k=Ne(O,["error","error_description"]),{ok:_}=w;if(!_){const S=b||`HTTP error. Unable to fetch ${f}`;throw C==="mfa_required"?new Er(C,S,k.mfa_token):C==="missing_refresh_token"?new yn(d,h):new Oe(C||"request_error",S)}return k}(`${n}/oauth/token`,r,o||"default",i,{method:"POST",body:u,headers:{"Content-Type":c?"application/x-www-form-urlencoded":"application/json","Auth0-Client":btoa(JSON.stringify(a||xi))}},e,c)}const $t=(...t)=>{return(e=t.filter(Boolean).join(" ").trim().split(/\s+/),Array.from(new Set(e))).join(" ");var e};class Ae{constructor(e,n="@@auth0spajs@@",r){this.prefix=n,this.suffix=r,this.clientId=e.clientId,this.scope=e.scope,this.audience=e.audience}toKey(){return[this.prefix,this.clientId,this.audience,this.scope,this.suffix].filter(Boolean).join("::")}static fromKey(e){const[n,r,o,i]=e.split("::");return new Ae({clientId:r,scope:i,audience:o},n)}static fromCacheEntry(e){const{scope:n,audience:r,client_id:o}=e;return new Ae({scope:n,audience:r,clientId:o})}}class Fl{set(e,n){localStorage.setItem(e,JSON.stringify(n))}get(e){const n=window.localStorage.getItem(e);if(n)try{return JSON.parse(n)}catch{return}}remove(e){localStorage.removeItem(e)}allKeys(){return Object.keys(window.localStorage).filter(e=>e.startsWith("@@auth0spajs@@"))}}class Oi{constructor(){this.enclosedCache=function(){let e={};return{set(n,r){e[n]=r},get(n){const r=e[n];if(r)return r},remove(n){delete e[n]},allKeys:()=>Object.keys(e)}}()}}class Ul{constructor(e,n,r){this.cache=e,this.keyManifest=n,this.nowProvider=r||Ci}async setIdToken(e,n,r){var o;const i=this.getIdTokenCacheKey(e);await this.cache.set(i,{id_token:n,decodedToken:r}),await((o=this.keyManifest)===null||o===void 0?void 0:o.add(i))}async getIdToken(e){const n=await this.cache.get(this.getIdTokenCacheKey(e.clientId));if(!n&&e.scope&&e.audience){const r=await this.get(e);return!r||!r.id_token||!r.decodedToken?void 0:{id_token:r.id_token,decodedToken:r.decodedToken}}if(n)return{id_token:n.id_token,decodedToken:n.decodedToken}}async get(e,n=0){var r;let o=await this.cache.get(e.toKey());if(!o){const c=await this.getCacheKeys();if(!c)return;const l=this.matchExistingCacheKey(e,c);l&&(o=await this.cache.get(l))}if(!o)return;const i=await this.nowProvider(),a=Math.floor(i/1e3);return o.expiresAt-n<a?o.body.refresh_token?(o.body={refresh_token:o.body.refresh_token},await this.cache.set(e.toKey(),o),o.body):(await this.cache.remove(e.toKey()),void await((r=this.keyManifest)===null||r===void 0?void 0:r.remove(e.toKey()))):o.body}async set(e){var n;const r=new Ae({clientId:e.client_id,scope:e.scope,audience:e.audience}),o=await this.wrapCacheEntry(e);await this.cache.set(r.toKey(),o),await((n=this.keyManifest)===null||n===void 0?void 0:n.add(r.toKey()))}async clear(e){var n;const r=await this.getCacheKeys();r&&(await r.filter(o=>!e||o.includes(e)).reduce(async(o,i)=>{await o,await this.cache.remove(i)},Promise.resolve()),await((n=this.keyManifest)===null||n===void 0?void 0:n.clear()))}async wrapCacheEntry(e){const n=await this.nowProvider();return{body:e,expiresAt:Math.floor(n/1e3)+e.expires_in}}async getCacheKeys(){var e;return this.keyManifest?(e=await this.keyManifest.get())===null||e===void 0?void 0:e.keys:this.cache.allKeys?this.cache.allKeys():void 0}getIdTokenCacheKey(e){return new Ae({clientId:e},"@@auth0spajs@@","@@user@@").toKey()}matchExistingCacheKey(e,n){return n.filter(r=>{var o;const i=Ae.fromKey(r),a=new Set(i.scope&&i.scope.split(" ")),c=((o=e.scope)===null||o===void 0?void 0:o.split(" "))||[],l=i.scope&&c.reduce((u,f)=>u&&a.has(f),!0);return i.prefix==="@@auth0spajs@@"&&i.clientId===e.clientId&&i.audience===e.audience&&l})[0]}}class Hl{constructor(e,n){this.storage=e,this.clientId=n,this.storageKey=`a0.spajs.txs.${this.clientId}`,this.transaction=this.storage.get(this.storageKey)}create(e){this.transaction=e,this.storage.save(this.storageKey,e,{daysUntilExpire:1})}get(){return this.transaction}remove(){delete this.transaction,this.storage.remove(this.storageKey)}}const St=t=>typeof t=="number",Wl=["iss","aud","exp","nbf","iat","jti","azp","nonce","auth_time","at_hash","c_hash","acr","amr","sub_jwk","cnf","sip_from_tag","sip_date","sip_callid","sip_cseq_num","sip_via_branch","orig","dest","mky","events","toe","txn","rph","sid","vot","vtm"],zl=t=>{if(!t.id_token)throw new Error("ID token is required but missing");const e=(i=>{const a=i.split("."),[c,l,u]=a;if(a.length!==3||!c||!l||!u)throw new Error("ID token could not be decoded");const f=JSON.parse(fo(l)),p={__raw:i},d={};return Object.keys(f).forEach(h=>{p[h]=f[h],Wl.includes(h)||(d[h]=f[h])}),{encoded:{header:c,payload:l,signature:u},header:JSON.parse(fo(c)),claims:p,user:d}})(t.id_token);if(!e.claims.iss)throw new Error("Issuer (iss) claim must be a string present in the ID token");if(e.claims.iss!==t.iss)throw new Error(`Issuer (iss) claim mismatch in the ID token; expected "${t.iss}", found "${e.claims.iss}"`);if(!e.user.sub)throw new Error("Subject (sub) claim must be a string present in the ID token");if(e.header.alg!=="RS256")throw new Error(`Signature algorithm of "${e.header.alg}" is not supported. Expected the ID token to be signed with "RS256".`);if(!e.claims.aud||typeof e.claims.aud!="string"&&!Array.isArray(e.claims.aud))throw new Error("Audience (aud) claim must be a string or array of strings present in the ID token");if(Array.isArray(e.claims.aud)){if(!e.claims.aud.includes(t.aud))throw new Error(`Audience (aud) claim mismatch in the ID token; expected "${t.aud}" but was not one of "${e.claims.aud.join(", ")}"`);if(e.claims.aud.length>1){if(!e.claims.azp)throw new Error("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values");if(e.claims.azp!==t.aud)throw new Error(`Authorized Party (azp) claim mismatch in the ID token; expected "${t.aud}", found "${e.claims.azp}"`)}}else if(e.claims.aud!==t.aud)throw new Error(`Audience (aud) claim mismatch in the ID token; expected "${t.aud}" but found "${e.claims.aud}"`);if(t.nonce){if(!e.claims.nonce)throw new Error("Nonce (nonce) claim must be a string present in the ID token");if(e.claims.nonce!==t.nonce)throw new Error(`Nonce (nonce) claim mismatch in the ID token; expected "${t.nonce}", found "${e.claims.nonce}"`)}if(t.max_age&&!St(e.claims.auth_time))throw new Error("Authentication Time (auth_time) claim must be a number present in the ID token when Max Age (max_age) is specified");if(e.claims.exp==null||!St(e.claims.exp))throw new Error("Expiration Time (exp) claim must be a number present in the ID token");if(!St(e.claims.iat))throw new Error("Issued At (iat) claim must be a number present in the ID token");const n=t.leeway||60,r=new Date(t.now||Date.now()),o=new Date(0);if(o.setUTCSeconds(e.claims.exp+n),r>o)throw new Error(`Expiration Time (exp) claim error in the ID token; current time (${r}) is after expiration time (${o})`);if(e.claims.nbf!=null&&St(e.claims.nbf)){const i=new Date(0);if(i.setUTCSeconds(e.claims.nbf-n),r<i)throw new Error(`Not Before time (nbf) claim in the ID token indicates that this token can't be used just yet. Current time (${r}) is before ${i}`)}if(e.claims.auth_time!=null&&St(e.claims.auth_time)){const i=new Date(0);if(i.setUTCSeconds(parseInt(e.claims.auth_time)+t.max_age+n),r>i)throw new Error(`Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Current time (${r}) is after last auth at ${i}`)}if(t.organizationId){if(!e.claims.org_id)throw new Error("Organization ID (org_id) claim must be a string present in the ID token");if(t.organizationId!==e.claims.org_id)throw new Error(`Organization ID (org_id) claim mismatch in the ID token; expected "${t.organizationId}", found "${e.claims.org_id}"`)}return e};var et=xr(function(t,e){var n=pt&&pt.__assign||function(){return n=Object.assign||function(l){for(var u,f=1,p=arguments.length;f<p;f++)for(var d in u=arguments[f])Object.prototype.hasOwnProperty.call(u,d)&&(l[d]=u[d]);return l},n.apply(this,arguments)};function r(l,u){if(!u)return"";var f="; "+l;return u===!0?f:f+"="+u}function o(l,u,f){return encodeURIComponent(l).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/\(/g,"%28").replace(/\)/g,"%29")+"="+encodeURIComponent(u).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent)+function(p){if(typeof p.expires=="number"){var d=new Date;d.setMilliseconds(d.getMilliseconds()+864e5*p.expires),p.expires=d}return r("Expires",p.expires?p.expires.toUTCString():"")+r("Domain",p.domain)+r("Path",p.path)+r("Secure",p.secure)+r("SameSite",p.sameSite)}(f)}function i(l){for(var u={},f=l?l.split("; "):[],p=/(%[\dA-F]{2})+/gi,d=0;d<f.length;d++){var h=f[d].split("="),m=h.slice(1).join("=");m.charAt(0)==='"'&&(m=m.slice(1,-1));try{u[h[0].replace(p,decodeURIComponent)]=m.replace(p,decodeURIComponent)}catch{}}return u}function a(){return i(document.cookie)}function c(l,u,f){document.cookie=o(l,u,n({path:"/"},f))}e.__esModule=!0,e.encode=o,e.parse=i,e.getAll=a,e.get=function(l){return a()[l]},e.set=c,e.remove=function(l,u){c(l,"",n(n({},u),{expires:-1}))}});wr(et),et.encode,et.parse,et.getAll;var Vl=et.get,ji=et.set,Ei=et.remove;const dt={get(t){const e=Vl(t);if(e!==void 0)return JSON.parse(e)},save(t,e,n){let r={};window.location.protocol==="https:"&&(r={secure:!0,sameSite:"none"}),n?.daysUntilExpire&&(r.expires=n.daysUntilExpire),n?.cookieDomain&&(r.domain=n.cookieDomain),ji(t,JSON.stringify(e),r)},remove(t,e){let n={};e?.cookieDomain&&(n.domain=e.cookieDomain),Ei(t,n)}},Bl={get(t){return dt.get(t)||dt.get(`_legacy_${t}`)},save(t,e,n){let r={};window.location.protocol==="https:"&&(r={secure:!0}),n?.daysUntilExpire&&(r.expires=n.daysUntilExpire),n?.cookieDomain&&(r.domain=n.cookieDomain),ji(`_legacy_${t}`,JSON.stringify(e),r),dt.save(t,e,n)},remove(t,e){let n={};e?.cookieDomain&&(n.domain=e.cookieDomain),Ei(t,n),dt.remove(t,e),dt.remove(`_legacy_${t}`,e)}},Zl={get(t){if(typeof sessionStorage>"u")return;const e=sessionStorage.getItem(t);return e!=null?JSON.parse(e):void 0},save(t,e){sessionStorage.setItem(t,JSON.stringify(e))},remove(t){sessionStorage.removeItem(t)}};function $l(t,e,n){var r=e===void 0?null:e,o=function(l,u){var f=atob(l);if(u){for(var p=new Uint8Array(f.length),d=0,h=f.length;d<h;++d)p[d]=f.charCodeAt(d);return String.fromCharCode.apply(null,new Uint16Array(p.buffer))}return f}(t,n!==void 0&&n),i=o.indexOf(`
|
|
44
|
+
`,10)+1,a=o.substring(i)+(r?"//# sourceMappingURL="+r:""),c=new Blob([a],{type:"application/javascript"});return URL.createObjectURL(c)}var po,ho,mo,In,Gl=(po="Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwohZnVuY3Rpb24oKXsidXNlIHN0cmljdCI7Y2xhc3MgZSBleHRlbmRzIEVycm9ye2NvbnN0cnVjdG9yKHQscil7c3VwZXIociksdGhpcy5lcnJvcj10LHRoaXMuZXJyb3JfZGVzY3JpcHRpb249cixPYmplY3Quc2V0UHJvdG90eXBlT2YodGhpcyxlLnByb3RvdHlwZSl9c3RhdGljIGZyb21QYXlsb2FkKHtlcnJvcjp0LGVycm9yX2Rlc2NyaXB0aW9uOnJ9KXtyZXR1cm4gbmV3IGUodCxyKX19Y2xhc3MgdCBleHRlbmRzIGV7Y29uc3RydWN0b3IoZSxzKXtzdXBlcigibWlzc2luZ19yZWZyZXNoX3Rva2VuIixgTWlzc2luZyBSZWZyZXNoIFRva2VuIChhdWRpZW5jZTogJyR7cihlLFsiZGVmYXVsdCJdKX0nLCBzY29wZTogJyR7cihzKX0nKWApLHRoaXMuYXVkaWVuY2U9ZSx0aGlzLnNjb3BlPXMsT2JqZWN0LnNldFByb3RvdHlwZU9mKHRoaXMsdC5wcm90b3R5cGUpfX1mdW5jdGlvbiByKGUsdD1bXSl7cmV0dXJuIGUmJiF0LmluY2x1ZGVzKGUpP2U6IiJ9Y29uc3Qgcz1lPT57dmFye2NsaWVudElkOnR9PWUscj1mdW5jdGlvbihlLHQpe3ZhciByPXt9O2Zvcih2YXIgcyBpbiBlKU9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChlLHMpJiZ0LmluZGV4T2Yocyk8MCYmKHJbc109ZVtzXSk7aWYobnVsbCE9ZSYmImZ1bmN0aW9uIj09dHlwZW9mIE9iamVjdC5nZXRPd25Qcm9wZXJ0eVN5bWJvbHMpe3ZhciBvPTA7Zm9yKHM9T2JqZWN0LmdldE93blByb3BlcnR5U3ltYm9scyhlKTtvPHMubGVuZ3RoO28rKyl0LmluZGV4T2Yoc1tvXSk8MCYmT2JqZWN0LnByb3RvdHlwZS5wcm9wZXJ0eUlzRW51bWVyYWJsZS5jYWxsKGUsc1tvXSkmJihyW3Nbb11dPWVbc1tvXV0pfXJldHVybiByfShlLFsiY2xpZW50SWQiXSk7cmV0dXJuIG5ldyBVUkxTZWFyY2hQYXJhbXMoKGU9Pk9iamVjdC5rZXlzKGUpLmZpbHRlcigodD0+dm9pZCAwIT09ZVt0XSkpLnJlZHVjZSgoKHQscik9Pk9iamVjdC5hc3NpZ24oT2JqZWN0LmFzc2lnbih7fSx0KSx7W3JdOmVbcl19KSkse30pKShPYmplY3QuYXNzaWduKHtjbGllbnRfaWQ6dH0scikpKS50b1N0cmluZygpfTtsZXQgbz17fTtjb25zdCBuPShlLHQpPT5gJHtlfXwke3R9YDthZGRFdmVudExpc3RlbmVyKCJtZXNzYWdlIiwoYXN5bmMoe2RhdGE6e3RpbWVvdXQ6ZSxhdXRoOnIsZmV0Y2hVcmw6aSxmZXRjaE9wdGlvbnM6Yyx1c2VGb3JtRGF0YTphfSxwb3J0czpbZl19KT0+e2xldCBwO2NvbnN0e2F1ZGllbmNlOmwsc2NvcGU6dX09cnx8e307dHJ5e2NvbnN0IHI9YT8oZT0+e2NvbnN0IHQ9bmV3IFVSTFNlYXJjaFBhcmFtcyhlKSxyPXt9O3JldHVybiB0LmZvckVhY2goKChlLHQpPT57clt0XT1lfSkpLHJ9KShjLmJvZHkpOkpTT04ucGFyc2UoYy5ib2R5KTtpZighci5yZWZyZXNoX3Rva2VuJiYicmVmcmVzaF90b2tlbiI9PT1yLmdyYW50X3R5cGUpe2NvbnN0IGU9KChlLHQpPT5vW24oZSx0KV0pKGwsdSk7aWYoIWUpdGhyb3cgbmV3IHQobCx1KTtjLmJvZHk9YT9zKE9iamVjdC5hc3NpZ24oT2JqZWN0LmFzc2lnbih7fSxyKSx7cmVmcmVzaF90b2tlbjplfSkpOkpTT04uc3RyaW5naWZ5KE9iamVjdC5hc3NpZ24oT2JqZWN0LmFzc2lnbih7fSxyKSx7cmVmcmVzaF90b2tlbjplfSkpfWxldCBkLGc7ImZ1bmN0aW9uIj09dHlwZW9mIEFib3J0Q29udHJvbGxlciYmKGQ9bmV3IEFib3J0Q29udHJvbGxlcixjLnNpZ25hbD1kLnNpZ25hbCk7dHJ5e2c9YXdhaXQgUHJvbWlzZS5yYWNlKFsoaD1lLG5ldyBQcm9taXNlKChlPT5zZXRUaW1lb3V0KGUsaCkpKSksZmV0Y2goaSxPYmplY3QuYXNzaWduKHt9LGMpKV0pfWNhdGNoKGUpe3JldHVybiB2b2lkIGYucG9zdE1lc3NhZ2Uoe2Vycm9yOmUubWVzc2FnZX0pfWlmKCFnKXJldHVybiBkJiZkLmFib3J0KCksdm9pZCBmLnBvc3RNZXNzYWdlKHtlcnJvcjoiVGltZW91dCB3aGVuIGV4ZWN1dGluZyAnZmV0Y2gnIn0pO3A9YXdhaXQgZy5qc29uKCkscC5yZWZyZXNoX3Rva2VuPygoKGUsdCxyKT0+e29bbih0LHIpXT1lfSkocC5yZWZyZXNoX3Rva2VuLGwsdSksZGVsZXRlIHAucmVmcmVzaF90b2tlbik6KChlLHQpPT57ZGVsZXRlIG9bbihlLHQpXX0pKGwsdSksZi5wb3N0TWVzc2FnZSh7b2s6Zy5vayxqc29uOnB9KX1jYXRjaChlKXtmLnBvc3RNZXNzYWdlKHtvazohMSxqc29uOntlcnJvcjplLmVycm9yLGVycm9yX2Rlc2NyaXB0aW9uOmUubWVzc2FnZX19KX12YXIgaH0pKX0oKTsKCg==",ho=null,mo=!1,function(t){return In=In||$l(po,ho,mo),new Worker(In,t)});const Nn={};class ql{constructor(e,n){this.cache=e,this.clientId=n,this.manifestKey=this.createManifestKeyFrom(this.clientId)}async add(e){var n;const r=new Set(((n=await this.cache.get(this.manifestKey))===null||n===void 0?void 0:n.keys)||[]);r.add(e),await this.cache.set(this.manifestKey,{keys:[...r]})}async remove(e){const n=await this.cache.get(this.manifestKey);if(n){const r=new Set(n.keys);return r.delete(e),r.size>0?await this.cache.set(this.manifestKey,{keys:[...r]}):await this.cache.remove(this.manifestKey)}}get(){return this.cache.get(this.manifestKey)}clear(){return this.cache.remove(this.manifestKey)}createManifestKeyFrom(e){return`@@auth0spajs@@::${e}`}}const Kl={memory:()=>new Oi().enclosedCache,localstorage:()=>new Fl},vo=t=>Kl[t],go=t=>{const{openUrl:e,onRedirect:n}=t,r=Ne(t,["openUrl","onRedirect"]);return Object.assign(Object.assign({},r),{openUrl:e===!1||e?e:n})},An=new Il;class Yl{constructor(e){let n,r;if(this.userCache=new Oi().enclosedCache,this.defaultOptions={authorizationParams:{scope:"openid profile email"},useRefreshTokensFallback:!1,useFormData:!0},this._releaseLockOnPageHide=async()=>{await An.releaseLock("auth0.lock.getTokenSilently"),window.removeEventListener("pagehide",this._releaseLockOnPageHide)},this.options=Object.assign(Object.assign(Object.assign({},this.defaultOptions),e),{authorizationParams:Object.assign(Object.assign({},this.defaultOptions.authorizationParams),e.authorizationParams)}),typeof window<"u"&&(()=>{if(!Kt())throw new Error("For security reasons, `window.crypto` is required to run `auth0-spa-js`.");if(Kt().subtle===void 0)throw new Error(`
|
|
45
45
|
auth0-spa-js must run on a secure origin. See https://github.com/auth0/auth0-spa-js/blob/master/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin for more information.
|
|
46
|
-
`)})(),e.cache&&e.cacheLocation&&console.warn("Both `cache` and `cacheLocation` options have been specified in the Auth0Client configuration; ignoring `cacheLocation` and using `cache`."),e.cache)r=e.cache;else{if(n=e.cacheLocation||"memory",!po(n))throw new Error(`Invalid cache location "${n}"`);r=po(n)()}this.httpTimeoutMs=e.httpTimeoutInSeconds?1e3*e.httpTimeoutInSeconds:1e4,this.cookieStorage=e.legacySameSiteCookie===!1?ut:Vl,this.orgHintCookieName=`auth0.${this.options.clientId}.organization_hint`,this.isAuthenticatedCookieName=(a=>`auth0.${a}.is.authenticated`)(this.options.clientId),this.sessionCheckExpiryDays=e.sessionCheckExpiryDays||1;const o=e.useCookiesForTransactions?this.cookieStorage:Bl;var i;this.scope=Zt("openid",this.options.authorizationParams.scope,this.options.useRefreshTokens?"offline_access":""),this.transactionManager=new Ul(o,this.options.clientId),this.nowProvider=this.options.nowProvider||bi,this.cacheManager=new Fl(r,r.allKeys?void 0:new Gl(r,this.options.clientId),this.nowProvider),this.domainUrl=(i=this.options.domain,/^https?:\/\//.test(i)?i:`https://${i}`),this.tokenIssuer=((a,c)=>a?a.startsWith("https://")?a:`https://${a}/`:`${c}/`)(this.options.issuer,this.domainUrl),typeof window<"u"&&window.Worker&&this.options.useRefreshTokens&&n==="memory"&&(this.worker=new $l)}_url(e){const n=encodeURIComponent(btoa(JSON.stringify(this.options.auth0Client||yi)));return`${this.domainUrl}${e}&auth0Client=${n}`}_authorizeUrl(e){return this._url(`/authorize?${or(e)}`)}async _verifyIdToken(e,n,r){const o=await this.nowProvider();return Wl({iss:this.tokenIssuer,aud:this.options.clientId,id_token:e,nonce:n,organizationId:r,leeway:this.options.leeway,max_age:(i=this.options.authorizationParams.max_age,typeof i!="string"?i:parseInt(i,10)||void 0),now:o});var i}_processOrgIdHint(e){e?this.cookieStorage.save(this.orgHintCookieName,e,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}):this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain})}async _prepareAuthorizeUrl(e,n,r){const o=ao(Tn()),i=ao(Tn()),a=Tn(),c=(f=>{const p=new Uint8Array(f);return(d=>{const h={"+":"-","/":"_","=":""};return d.replace(/[+/=]/g,m=>h[m])})(window.btoa(String.fromCharCode(...Array.from(p))))})(await(async f=>await qt().subtle.digest({name:"SHA-256"},new TextEncoder().encode(f)))(a)),l=((f,p,d,h,m,v,g,w)=>Object.assign(Object.assign(Object.assign({client_id:f.clientId},f.authorizationParams),d),{scope:Zt(p,d.scope),response_type:"code",response_mode:w||"query",state:h,nonce:m,redirect_uri:g||f.authorizationParams.redirect_uri,code_challenge:v,code_challenge_method:"S256"}))(this.options,this.scope,e,o,i,c,e.redirect_uri||this.options.authorizationParams.redirect_uri||r,n?.response_mode),u=this._authorizeUrl(l);return{nonce:i,code_verifier:a,scope:l.scope,audience:l.audience||"default",redirect_uri:l.redirect_uri,state:o,url:u}}async loginWithPopup(e,n){var r;if(e=e||{},!(n=n||{}).popup&&(n.popup=(c=>{const l=window.screenX+(window.innerWidth-400)/2,u=window.screenY+(window.innerHeight-600)/2;return window.open(c,"auth0:authorize:popup",`left=${l},top=${u},width=400,height=600,resizable,scrollbars=yes,status=1`)})(""),!n.popup))throw new Error("Unable to open a popup for loginWithPopup - window.open returned `null`");const o=await this._prepareAuthorizeUrl(e.authorizationParams||{},{response_mode:"web_message"},window.location.origin);n.popup.location.href=o.url;const i=await(c=>new Promise((l,u)=>{let f;const p=setInterval(()=>{c.popup&&c.popup.closed&&(clearInterval(p),clearTimeout(d),window.removeEventListener("message",f,!1),u(new Or(c.popup)))},1e3),d=setTimeout(()=>{clearInterval(p),u(new Cr(c.popup)),window.removeEventListener("message",f,!1)},1e3*(c.timeoutInSeconds||60));f=function(h){if(h.data&&h.data.type==="authorization_response"){if(clearTimeout(d),clearInterval(p),window.removeEventListener("message",f,!1),c.popup.close(),h.data.response.error)return u(Oe.fromPayload(h.data.response));l(h.data.response)}},window.addEventListener("message",f)}))(Object.assign(Object.assign({},n),{timeoutInSeconds:n.timeoutInSeconds||this.options.authorizeTimeoutInSeconds||60}));if(o.state!==i.state)throw new Error("Invalid state");const a=((r=e.authorizationParams)===null||r===void 0?void 0:r.organization)||this.options.authorizationParams.organization;await this._requestToken({audience:o.audience,scope:o.scope,code_verifier:o.code_verifier,grant_type:"authorization_code",code:i.code,redirect_uri:o.redirect_uri},{nonceIn:o.nonce,organizationId:a})}async getUser(){var e;const n=await this._getIdTokenFromCache();return(e=n?.decodedToken)===null||e===void 0?void 0:e.user}async getIdTokenClaims(){var e;const n=await this._getIdTokenFromCache();return(e=n?.decodedToken)===null||e===void 0?void 0:e.claims}async loginWithRedirect(e={}){var n;const r=ho(e),{openUrl:o,fragment:i,appState:a}=r,c=Ne(r,["openUrl","fragment","appState"]),l=((n=c.authorizationParams)===null||n===void 0?void 0:n.organization)||this.options.authorizationParams.organization,u=await this._prepareAuthorizeUrl(c.authorizationParams||{}),{url:f}=u,p=Ne(u,["url"]);this.transactionManager.create(Object.assign(Object.assign(Object.assign({},p),{appState:a}),l&&{organizationId:l}));const d=i?`${f}#${i}`:f;o?await o(d):window.location.assign(d)}async handleRedirectCallback(e=window.location.href){const n=e.split("?").slice(1);if(n.length===0)throw new Error("There are no query params available for parsing.");const{state:r,code:o,error:i,error_description:a}=(p=>{p.indexOf("#")>-1&&(p=p.substring(0,p.indexOf("#")));const d=new URLSearchParams(p);return{state:d.get("state"),code:d.get("code")||void 0,error:d.get("error")||void 0,error_description:d.get("error_description")||void 0}})(n.join("")),c=this.transactionManager.get();if(!c)throw new Error("Invalid state");if(this.transactionManager.remove(),i)throw new xr(i,a||i,r,c.appState);if(!c.code_verifier||c.state&&c.state!==r)throw new Error("Invalid state");const l=c.organizationId,u=c.nonce,f=c.redirect_uri;return await this._requestToken(Object.assign({audience:c.audience,scope:c.scope,code_verifier:c.code_verifier,grant_type:"authorization_code",code:o},f?{redirect_uri:f}:{}),{nonceIn:u,organizationId:l}),{appState:c.appState}}async checkSession(e){if(!this.cookieStorage.get(this.isAuthenticatedCookieName)){if(!this.cookieStorage.get("auth0.is.authenticated"))return;this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove("auth0.is.authenticated")}try{await this.getTokenSilently(e)}catch{}}async getTokenSilently(e={}){var n;const r=Object.assign(Object.assign({cacheMode:"on"},e),{authorizationParams:Object.assign(Object.assign(Object.assign({},this.options.authorizationParams),e.authorizationParams),{scope:Zt(this.scope,(n=e.authorizationParams)===null||n===void 0?void 0:n.scope)})}),o=await((i,a)=>{let c=In[a];return c||(c=i().finally(()=>{delete In[a],c=null}),In[a]=c),c})(()=>this._getTokenSilently(r),`${this.options.clientId}::${r.authorizationParams.audience}::${r.authorizationParams.scope}`);return e.detailedResponse?o:o?.access_token}async _getTokenSilently(e){const{cacheMode:n}=e,r=Ne(e,["cacheMode"]);if(n!=="off"){const o=await this._getEntryFromCache({scope:r.authorizationParams.scope,audience:r.authorizationParams.audience||"default",clientId:this.options.clientId});if(o)return o}if(n!=="cache-only"){if(!await(async(o,i=3)=>{for(let a=0;a<i;a++)if(await o())return!0;return!1})(()=>Nn.acquireLock("auth0.lock.getTokenSilently",5e3),10))throw new Mt;try{if(window.addEventListener("pagehide",this._releaseLockOnPageHide),n!=="off"){const u=await this._getEntryFromCache({scope:r.authorizationParams.scope,audience:r.authorizationParams.audience||"default",clientId:this.options.clientId});if(u)return u}const o=this.options.useRefreshTokens?await this._getTokenUsingRefreshToken(r):await this._getTokenFromIFrame(r),{id_token:i,access_token:a,oauthTokenScope:c,expires_in:l}=o;return Object.assign(Object.assign({id_token:i,access_token:a},c?{scope:c}:null),{expires_in:l})}finally{await Nn.releaseLock("auth0.lock.getTokenSilently"),window.removeEventListener("pagehide",this._releaseLockOnPageHide)}}}async getTokenWithPopup(e={},n={}){var r;const o=Object.assign(Object.assign({},e),{authorizationParams:Object.assign(Object.assign(Object.assign({},this.options.authorizationParams),e.authorizationParams),{scope:Zt(this.scope,(r=e.authorizationParams)===null||r===void 0?void 0:r.scope)})});return n=Object.assign(Object.assign({},Il),n),await this.loginWithPopup(o,n),(await this.cacheManager.get(new Ae({scope:o.authorizationParams.scope,audience:o.authorizationParams.audience||"default",clientId:this.options.clientId}))).access_token}async isAuthenticated(){return!!await this.getUser()}_buildLogoutUrl(e){e.clientId!==null?e.clientId=e.clientId||this.options.clientId:delete e.clientId;const n=e.logoutParams||{},{federated:r}=n,o=Ne(n,["federated"]),i=r?"&federated":"";return this._url(`/v2/logout?${or(Object.assign({clientId:e.clientId},o))}`)+i}async logout(e={}){const n=ho(e),{openUrl:r}=n,o=Ne(n,["openUrl"]);e.clientId===null?await this.cacheManager.clear():await this.cacheManager.clear(e.clientId||this.options.clientId),this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove(this.isAuthenticatedCookieName,{cookieDomain:this.options.cookieDomain}),this.userCache.remove("@@user@@");const i=this._buildLogoutUrl(o);r?await r(i):r!==!1&&window.location.assign(i)}async _getTokenFromIFrame(e){const n=Object.assign(Object.assign({},e.authorizationParams),{prompt:"none"}),r=this.cookieStorage.get(this.orgHintCookieName);r&&!n.organization&&(n.organization=r);const{url:o,state:i,nonce:a,code_verifier:c,redirect_uri:l,scope:u,audience:f}=await this._prepareAuthorizeUrl(n,{response_mode:"web_message"},window.location.origin);try{if(window.crossOriginIsolated)throw new Oe("login_required","The application is running in a Cross-Origin Isolated context, silently retrieving a token without refresh token is not possible.");const p=e.timeoutInSeconds||this.options.authorizeTimeoutInSeconds,d=await((m,v,g=60)=>new Promise((w,j)=>{const O=window.document.createElement("iframe");O.setAttribute("width","0"),O.setAttribute("height","0"),O.style.display="none";const C=()=>{window.document.body.contains(O)&&(window.document.body.removeChild(O),window.removeEventListener("message",b,!1))};let b;const k=setTimeout(()=>{j(new Mt),C()},1e3*g);b=function(_){if(_.origin!=v||!_.data||_.data.type!=="authorization_response")return;const S=_.source;S&&S.close(),_.data.response.error?j(Oe.fromPayload(_.data.response)):w(_.data.response),clearTimeout(k),window.removeEventListener("message",b,!1),setTimeout(C,2e3)},window.addEventListener("message",b,!1),window.document.body.appendChild(O),O.setAttribute("src",m)}))(o,this.domainUrl,p);if(i!==d.state)throw new Error("Invalid state");const h=await this._requestToken(Object.assign(Object.assign({},e.authorizationParams),{code_verifier:c,code:d.code,grant_type:"authorization_code",redirect_uri:l,timeout:e.authorizationParams.timeout||this.httpTimeoutMs}),{nonceIn:a});return Object.assign(Object.assign({},h),{scope:u,oauthTokenScope:h.scope,audience:f})}catch(p){throw p.error==="login_required"&&this.logout({openUrl:!1}),p}}async _getTokenUsingRefreshToken(e){const n=await this.cacheManager.get(new Ae({scope:e.authorizationParams.scope,audience:e.authorizationParams.audience||"default",clientId:this.options.clientId}));if(!(n&&n.refresh_token||this.worker)){if(this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(e);throw new gn(e.authorizationParams.audience||"default",e.authorizationParams.scope)}const r=e.authorizationParams.redirect_uri||this.options.authorizationParams.redirect_uri||window.location.origin,o=typeof e.timeoutInSeconds=="number"?1e3*e.timeoutInSeconds:null;try{const i=await this._requestToken(Object.assign(Object.assign(Object.assign({},e.authorizationParams),{grant_type:"refresh_token",refresh_token:n&&n.refresh_token,redirect_uri:r}),o&&{timeout:o}));return Object.assign(Object.assign({},i),{scope:e.authorizationParams.scope,oauthTokenScope:i.scope,audience:e.authorizationParams.audience||"default"})}catch(i){if((i.message.indexOf("Missing Refresh Token")>-1||i.message&&i.message.indexOf("invalid refresh token")>-1)&&this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(e);throw i}}async _saveEntryInCache(e){const{id_token:n,decodedToken:r}=e,o=Ne(e,["id_token","decodedToken"]);this.userCache.set("@@user@@",{id_token:n,decodedToken:r}),await this.cacheManager.setIdToken(this.options.clientId,e.id_token,e.decodedToken),await this.cacheManager.set(o)}async _getIdTokenFromCache(){const e=this.options.authorizationParams.audience||"default",n=await this.cacheManager.getIdToken(new Ae({clientId:this.options.clientId,audience:e,scope:this.scope})),r=this.userCache.get("@@user@@");return n&&n.id_token===r?.id_token?r:(this.userCache.set("@@user@@",n),n)}async _getEntryFromCache({scope:e,audience:n,clientId:r}){const o=await this.cacheManager.get(new Ae({scope:e,audience:n,clientId:r}),60);if(o&&o.access_token){const{access_token:i,oauthTokenScope:a,expires_in:c}=o,l=await this._getIdTokenFromCache();return l&&Object.assign(Object.assign({id_token:l.id_token,access_token:i},a?{scope:a}:null),{expires_in:c})}}async _requestToken(e,n){const{nonceIn:r,organizationId:o}=n||{},i=await Ml(Object.assign({baseUrl:this.domainUrl,client_id:this.options.clientId,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:this.httpTimeoutMs},e),this.worker),a=await this._verifyIdToken(i.id_token,r,o);return await this._saveEntryInCache(Object.assign(Object.assign(Object.assign(Object.assign({},i),{decodedToken:a,scope:e.scope,audience:e.audience||"default"}),i.scope?{oauthTokenScope:i.scope}:null),{client_id:this.options.clientId})),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this._processOrgIdHint(a.claims.org_id),Object.assign(Object.assign({},i),{decodedToken:a})}}var Oi={isAuthenticated:!1,isLoading:!0},De=function(){throw new Error("You forgot to wrap your component in <Auth0Provider>.")},Yl=ue(ue({},Oi),{buildAuthorizeUrl:De,buildLogoutUrl:De,getAccessTokenSilently:De,getAccessTokenWithPopup:De,getIdTokenClaims:De,loginWithRedirect:De,loginWithPopup:De,logout:De,handleRedirectCallback:De}),ji=y.createContext(Yl),Xl=function(t){Pl(e,t);function e(n,r){var o=t.call(this,r||n)||this;return o.error=n,o.error_description=r,Object.setPrototypeOf(o,e.prototype),o}return e}(Error),Jl=/[?&]code=[^&]+/,Ql=/[?&]state=[^&]+/,eu=/[?&]error=[^&]+/,tu=function(t){return t===void 0&&(t=window.location.search),(Jl.test(t)||eu.test(t))&&Ql.test(t)},Ei=function(t){return function(e){return"error"in e?new Xl(e.error,e.error_description):e instanceof Error?e:new Error(t)}},mo=Ei("Login failed"),An=Ei("Get access token failed"),Si=function(t){var e;t?.redirectUri&&(console.warn("Using `redirectUri` has been deprecated, please use `authorizationParams.redirect_uri` instead as `redirectUri` will be no longer supported in a future version"),t.authorizationParams=t.authorizationParams||{},t.authorizationParams.redirect_uri=t.redirectUri,delete t.redirectUri),!((e=t?.authorizationParams)===null||e===void 0)&&e.redirectUri&&(console.warn("Using `authorizationParams.redirectUri` has been deprecated, please use `authorizationParams.redirect_uri` instead as `authorizationParams.redirectUri` will be removed in a future version"),t.authorizationParams.redirect_uri=t.authorizationParams.redirectUri,delete t.authorizationParams.redirectUri)},nu=function(t,e){switch(e.type){case"LOGIN_POPUP_STARTED":return ue(ue({},t),{isLoading:!0});case"LOGIN_POPUP_COMPLETE":case"INITIALISED":return ue(ue({},t),{isAuthenticated:!!e.user,user:e.user,isLoading:!1,error:void 0});case"HANDLE_REDIRECT_COMPLETE":case"GET_ACCESS_TOKEN_COMPLETE":return t.user===e.user?t:ue(ue({},t),{isAuthenticated:!!e.user,user:e.user});case"LOGOUT":return ue(ue({},t),{isAuthenticated:!1,user:void 0});case"ERROR":return ue(ue({},t),{isLoading:!1,error:e.error})}},ru=function(t){return Si(t),ue(ue({},t),{auth0Client:{name:"auth0-react",version:"2.0.1"}})},ou=function(t){window.history.replaceState({},document.title,t?.returnTo||window.location.pathname)},iu=function(t){var e=t.children,n=t.skipRedirectCallback,r=t.onRedirectCallback,o=r===void 0?ou:r,i=t.context,a=i===void 0?ji:i,c=Tl(t,["children","skipRedirectCallback","onRedirectCallback","context"]),l=y.useState(function(){return new Kl(ru(c))})[0],u=y.useReducer(nu,Oi),f=u[0],p=u[1],d=y.useRef(!1);y.useEffect(function(){d.current||(d.current=!0,function(){return at(void 0,void 0,void 0,function(){var b,k,_;return ct(this,function(S){switch(S.label){case 0:return S.trys.push([0,7,,8]),b=void 0,tu()&&!n?[4,l.handleRedirectCallback()]:[3,3];case 1:return k=S.sent().appState,[4,l.getUser()];case 2:return b=S.sent(),o(k,b),[3,6];case 3:return[4,l.checkSession()];case 4:return S.sent(),[4,l.getUser()];case 5:b=S.sent(),S.label=6;case 6:return p({type:"INITIALISED",user:b}),[3,8];case 7:return _=S.sent(),p({type:"ERROR",error:mo(_)}),[3,8];case 8:return[2]}})})}())},[l,o,n]);var h=y.useCallback(function(b){return Si(b),l.loginWithRedirect(b)},[l]),m=y.useCallback(function(b,k){return at(void 0,void 0,void 0,function(){var _,S;return ct(this,function(I){switch(I.label){case 0:p({type:"LOGIN_POPUP_STARTED"}),I.label=1;case 1:return I.trys.push([1,3,,4]),[4,l.loginWithPopup(b,k)];case 2:return I.sent(),[3,4];case 3:return _=I.sent(),p({type:"ERROR",error:mo(_)}),[2];case 4:return[4,l.getUser()];case 5:return S=I.sent(),p({type:"LOGIN_POPUP_COMPLETE",user:S}),[2]}})})},[l]),v=y.useCallback(function(b){return b===void 0&&(b={}),at(void 0,void 0,void 0,function(){return ct(this,function(k){switch(k.label){case 0:return[4,l.logout(b)];case 1:return k.sent(),(b.openUrl||b.openUrl===!1)&&p({type:"LOGOUT"}),[2]}})})},[l]),g=y.useCallback(function(b){return at(void 0,void 0,void 0,function(){var k,_,S,I;return ct(this,function(R){switch(R.label){case 0:return R.trys.push([0,2,3,5]),[4,l.getTokenSilently(b)];case 1:return k=R.sent(),[3,5];case 2:throw _=R.sent(),An(_);case 3:return S=p,I={type:"GET_ACCESS_TOKEN_COMPLETE"},[4,l.getUser()];case 4:return S.apply(void 0,[(I.user=R.sent(),I)]),[7];case 5:return[2,k]}})})},[l]),w=y.useCallback(function(b,k){return at(void 0,void 0,void 0,function(){var _,S,I,R;return ct(this,function(W){switch(W.label){case 0:return W.trys.push([0,2,3,5]),[4,l.getTokenWithPopup(b,k)];case 1:return _=W.sent(),[3,5];case 2:throw S=W.sent(),An(S);case 3:return I=p,R={type:"GET_ACCESS_TOKEN_COMPLETE"},[4,l.getUser()];case 4:return I.apply(void 0,[(R.user=W.sent(),R)]),[7];case 5:return[2,_]}})})},[l]),j=y.useCallback(function(){return l.getIdTokenClaims()},[l]),O=y.useCallback(function(b){return at(void 0,void 0,void 0,function(){var k,_,S;return ct(this,function(I){switch(I.label){case 0:return I.trys.push([0,2,3,5]),[4,l.handleRedirectCallback(b)];case 1:return[2,I.sent()];case 2:throw k=I.sent(),An(k);case 3:return _=p,S={type:"HANDLE_REDIRECT_COMPLETE"},[4,l.getUser()];case 4:return _.apply(void 0,[(S.user=I.sent(),S)]),[7];case 5:return[2]}})})},[l]),C=y.useMemo(function(){return ue(ue({},f),{getAccessTokenSilently:g,getAccessTokenWithPopup:w,getIdTokenClaims:j,loginWithRedirect:h,loginWithPopup:m,logout:v,handleRedirectCallback:O})},[f,g,w,j,h,m,v,O]);return y.createElement(a.Provider,{value:C},e)},su=function(t){return t===void 0&&(t=ji),y.useContext(t)};const rn={[Qe.WINDOW_MANAGEMENT]:{heading:"Allow Window Management",description:"io.Connect Browser requires permission to arrange windows on your desktop.",guidelines:{default:"To allow window management, click the icon to the left of the address bar."},label:"Allow window management",Image:Ol,openPermissionsPrompt:({handleDeferredPermission:t,handlePermissionsPromptClose:e})=>{window.getScreenDetails().catch(async()=>{const{state:n}=await navigator.permissions.query({name:Qe.WINDOW_MANAGEMENT});n==="prompt"&&t()}).finally(e)}},[Qe.NOTIFICATIONS]:{heading:"Allow Browser Notifications",description:`io.Connect Browser requires permission to send notifications to the desktop.
|
|
47
|
-
This won't allow any other browser notifications.`,guidelines:{default:"To allow browser notifications, click the icon to the left of the address bar.",edge:'To allow browser notifications, click the icon to the left of the address bar, or the "Bell" icon to the right of the address bar.'},label:"Allow browser notifications",Image:gl,openPermissionsPrompt:({handleDeferredPermission:t,handlePermissionsPromptClose:e})=>{Notification.requestPermission().then(async()=>{const{state:n}=await navigator.permissions.query({name:Qe.NOTIFICATIONS});n==="prompt"&&t()}).finally(e)}}},au={edgeNotificationsPermissionTimeout:15e3};const cu=({isActiveItem:t=()=>!1,permissionStatuses:e})=>s.jsx("ul",{className:"permissions-list",children:Object.entries(rn).map(([n,r],o)=>{const i=t(n),a=e.find(({stableName:c})=>c===n);return s.jsxs("li",{className:$("permissions-list-item",i&&"active"),children:[s.jsx("div",{children:a?.state==="granted"?s.jsx(oe,{name:"check"}):s.jsxs(s.Fragment,{children:[s.jsx("span",{className:i?"icon-arrow":""}),s.jsxs("span",{children:[o+1,"."]})]})}),r.label]},n)})}),lu=({onReopenPromptClick:t})=>{const e=s.jsxs(s.Fragment,{children:['Please, click "Allow" when the browser prompt appears.',s.jsx("br",{}),s.jsxs("strong",{children:["If a browser prompt doesn't appear, click the icon to the left of the",s.jsx("br",{}),"address bar to manually grant the permission."]})]});return s.jsx(mn,{description:e,Image:xl,title:"Something went wrong!",children:s.jsx(fn,{className:"io-btn-primary permissions-prompt-button",onClick:t,children:"Reopen the Prompt"})})},ki=({deniedPermissionName:t})=>{const{permission:e}=Ge(),r=cr().name?.toLowerCase()||"",o=Object.values(e.statuses).filter(a=>a.stableName===t||a.state==="denied"),i=s.jsxs(s.Fragment,{children:["The current browser settings block critical functionalities of io.Connect Browser.",s.jsx("br",{}),"To enable io.Connect Browser to operate properly, you must grant browser permissions manually."]});return s.jsx(mn,{description:i,Image:Cl,title:"Setup Was Unsuccessful",children:s.jsx("ul",{className:"permissions-guidelines-list",children:o.map((a,c)=>s.jsx("li",{children:rn[a.stableName].guidelines[r]||rn[a.stableName].guidelines.default},c))})})},uu=({edgeNotificationsPermissionTimeout:t,isNotificationsPermissionPromptOpen:e})=>{const{name:n}=cr(),{permission:r}=Ge(),[o,i]=y.useState(!1);return y.useEffect(()=>{if(!e||n!=="Edge")return;const a=setTimeout(()=>i(!0),t);return()=>clearTimeout(a)},[n,t,e]),y.useEffect(()=>{if(!o)return;r.statuses.some(({stableName:c,state:l})=>c===Qe.NOTIFICATIONS&&l==="granted")&&i(!1)},[o,r.statuses]),{hasEdgeNotificationsPermissionError:o}},Wt=()=>s.jsx("span",{className:"loader"}),du=({settings:t})=>{const{permission:e}=Ge(),[n,r]=y.useState(!1),[o,i]=y.useState(!1),a=e.statuses.find(({state:p})=>p==="prompt"),{hasEdgeNotificationsPermissionError:c}=uu({edgeNotificationsPermissionTimeout:t.edgeNotificationsPermissionTimeout,isNotificationsPermissionPromptOpen:o&&a?.stableName===Qe.NOTIFICATIONS});if(!a||e.isDenied)throw new Error('The "PermissionSteps" component should not be used in case there is no pending permission or there is a denied permission.');if(c)return s.jsx(ki,{deniedPermissionName:"notifications"});const l=rn[a.stableName],u=()=>{i(!0),l.openPermissionsPrompt({handleDeferredPermission:()=>r(!0),handlePermissionsPromptClose:()=>i(!1)})},f=()=>{r(!1),u()};return n?s.jsx(lu,{onReopenPromptClick:f}):s.jsxs(mn,{description:l.description,heading:l.heading,Image:l.Image,title:"First-Time User Setup",children:[s.jsx(cu,{isActiveItem:p=>p===a.stableName,permissionStatuses:e.statuses}),s.jsx("p",{className:"mb-12 permissions-prompt-instructions",children:'Click "Allow" when the prompt appears.'}),s.jsx(fn,{className:"io-btn-primary permissions-prompt-button",disabled:o,onClick:u,children:"Open Permission Prompt"}),o&&s.jsx(Wt,{})]})},fu=({settings:t})=>{const{permission:e}=Ge();return e.isLoading?s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"mb-32",children:"Checking browser permissions ..."}),s.jsx(Wt,{})]}):e.isDenied?s.jsx(ki,{}):s.jsx(du,{settings:t})},yn=({components:{Logo:t=xt}={},settings:e={}})=>s.jsx(pi,{Logo:t,children:s.jsx(fu,{settings:{...au,...e}})}),Pi=({components:t,className:e})=>{const n=t?.Logo||xt;return s.jsx("div",{className:"logout-backdrop",children:s.jsxs("div",{className:$(e,"logout-container flex flex-column ai-center"),children:[s.jsx(n,{}),s.jsx("h1",{className:"text-center mb-8",children:"Logging out..."}),s.jsx(Wt,{})]})})},Er=({className:t="text-center mb-3",text:e="Making Your Work Flow"})=>s.jsxs(s.Fragment,{children:[s.jsx("h1",{className:t,children:e}),s.jsx("p",{children:"Integrate apps, simplify user experiences and accelerate digital transformation."})]}),pu=({components:t})=>{const e=t?.Logo||xt,n=t?.Heading||Er;return s.jsxs(s.Fragment,{children:[s.jsx(e,{}),s.jsx(n,{}),s.jsx(Wt,{})]})},Ti=({onLogin:t})=>s.jsx(ci,{children:s.jsx(Ht,{onClick:t,className:"io-btn-primary",children:"Log In"})}),_i=()=>s.jsxs(s.Fragment,{children:[s.jsx("h1",{className:"text-center mb-8",children:"Verifying credentials..."}),s.jsx(Wt,{})]}),Ii=({className:t,onLogin:e,isLoading:n,components:r})=>{const o=r?.Logo||xt,i=r?.Heading||Er;return s.jsxs("div",{className:$(t,"login-container flex flex-column ai-center"),children:[s.jsx(o,{}),n?s.jsx(_i,{}):s.jsxs(s.Fragment,{children:[s.jsx(i,{}),s.jsx(Ti,{onLogin:e})]})]})},vo=(t,e)=>{const n=e.value,r=n.trim().length>3;return{value:n,isValid:r}},hu=({onLogin:t,setIsLoading:e,loginError:n,setLoginError:r,userInputName:o})=>{const[i,a]=y.useReducer(vo,{value:"",isValid:!1}),[c,l]=y.useReducer(vo,{value:"",isValid:!1}),[u,f]=y.useState(!1),[p,d]=y.useState(!1),{isValid:h}=i,{isValid:m}=c,v=h&&m,g=b=>a({value:b.target.value}),w=b=>l({value:b.target.value}),j=()=>{h||f(!0)},O=()=>{m||d(!0)},C=async b=>{if(b.preventDefault(),!!v){e(!0);try{await t(i.value,c.value)}catch(k){r(k)}e(!1)}};return s.jsxs(ci,{onSubmit:C,children:[s.jsxs(nr,{className:"io-control-input io-control-error",children:[s.jsx("input",{autoFocus:!0,autoComplete:"off",type:"text",placeholder:`Enter your ${o??"email"}`,value:i.value,onChange:g,onBlur:j,onFocus:()=>f(!1),className:$("io-input",u&&"input-error")}),u&&s.jsxs("div",{children:[s.jsx(oe,{name:"close"}),`The ${o??"email"} does not meet the length requirements`]})]}),s.jsxs(nr,{className:"io-control-input io-control-error",children:[s.jsx("input",{autoComplete:"off",type:"password",placeholder:"Enter your password",value:c.value,onChange:w,onBlur:O,onFocus:()=>d(!1),className:$("io-input",p&&"input-error")}),p&&s.jsxs("div",{children:[s.jsx(oe,{name:"close"}),"The password does not meet the length requirements"]})]}),s.jsx(fn,{type:"submit",className:"io-btn-primary",children:"Log In"}),n&&s.jsxs("div",{className:"pb-2 login-error-feedback",children:[s.jsx(oe,{name:"close"}),s.jsx("p",{children:n.message})]})]})};const Ni=({className:t,onLogin:e,components:n,userInputName:r})=>{const[o,i]=y.useState(!1),[a,c]=y.useState(null),l=n?.Logo||xt,u=n?.Heading||Er;return s.jsxs("div",{className:$(t,"login-container simple-login flex flex-column ai-center"),children:[s.jsx(l,{}),o?s.jsx(_i,{}):s.jsxs(s.Fragment,{children:[s.jsx(u,{}),s.jsx(hu,{onLogin:e,setIsLoading:i,loginError:a,setLoginError:c,userInputName:r})]})]})},mu=ye({id:he,username:G(he),email:G(he),firstName:G(he),lastName:G(he),avatarUrl:G(he)}),vu=t=>{const{onLogout:e,user:n,launchpad:r,icon:o}=t;return s.jsx(Ji,{user:n,onLogout:e,icon:o,components:r?.components})},Ai=y.createContext(void 0),gu=()=>{const t=y.useContext(Ai);if(t===void 0)throw new Error("useWorkspaceComponentsContext must be used within an WorkspaceComponentsContextProvider");return t},yu=()=>{const{HeaderLogoArea:t,workspaceLogoProps:e}=gu();return t?s.jsx(t,{...e}):s.jsx(vu,{...e})};function bu(t,e){const[n,r]=y.useState(!0),o=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{let i;return(async()=>{if(!o.workspaces)return;let a;try{a=await o.workspaces.getWorkspaceById(t)}catch(l){console.warn(l);return}const c=a.getAllGroups().find(l=>l.id===e);c&&(i=await c.onLockConfigurationChanged(({showAddWindowButton:l})=>{l!==void 0&&r(l)}),r(!!c.showAddWindowButton))})(),()=>i?.()},[t,e,o.workspaces]),n}const wu=({groupId:t,workspaceId:e})=>{const n=bu(e,t),r=y.useCallback(o=>{pt.showAddApplicationPopup({bounds:o,groupId:t,workspaceId:e})},[t,e]);return n&&s.jsx(pt.AddWindowButton,{title:"Add App",visible:n,showPopup:r})},xu=t=>s.jsx(pt.GroupHeaderButtons,{...t,addWindow:{visible:!1,showPopup:t.addWindow.showPopup}}),Sr=({onLogout:t,user:e,workspaces:n,launchpad:r})=>{const o=n?.HeaderLogoArea,i={onLogout:t,user:e,launchpad:r};return s.jsx(Ai.Provider,{value:{workspaceLogoProps:i,HeaderLogoArea:o},children:s.jsx(pt,{components:{...n?.components,header:{...n?.components?.header,LogoComponent:yu},groupHeader:{AfterTabsComponent:wu,ButtonsComponent:xu,...n?.components?.groupHeader}}})})},Cu=(t,e,n)=>({...t,auth:{...t.auth,token:{...t.auth.token,bearer:n},username:t.auth.username??e.name}}),Ri=(t,e,n)=>({...t,browserPlatform:{...t.browserPlatform,config:{...t.browserPlatform?.config,user:t.browserPlatform?.config?.user??{username:e.id},manager:t.browserPlatform?.config?.manager&&Cu(t.browserPlatform.config.manager,e,n)}}}),Ou=({config:t})=>{const{setupFlow:e,ioConnectConfig:n}=t,r=t.login,{permission:o}=Ge(),[i,a]=sn("localStorage",cs,mu),[c,l]=y.useState(!1),u=y.useCallback(async(p,d)=>{const h=await r.onLogin(p,d);a(h)},[r,a]),f=y.useCallback(()=>{l(!0),r.onLogout?.(),a(null)},[r,a]);return c?s.jsx(Pi,{components:r.components}):i?!o.isSetupCompleted&&e?.enabled!==!1?s.jsx(yn,{settings:e?.settings,components:e?.components}):s.jsx(ee.IOConnectProvider,{settings:Ri(n,i.id),children:s.jsx(Sr,{workspaces:t?.workspaces,launchpad:t?.launchpad,onLogout:f,user:i})}):s.jsx(Ni,{onLogin:u,components:r.components,userInputName:r.userInputName})},ju=({config:t})=>{const{setupFlow:e,ioConnectConfig:n}=t,{permission:r}=Ge(),[o,i]=y.useState(void 0),a=su();y.useEffect(()=>{a.isAuthenticated&&a.getAccessTokenSilently().then(i).catch(console.warn)},[a]);const c=y.useMemo(()=>a.user?.email?{username:a.user.name,id:a.user.email}:null,[a.user]);return c?!r.isSetupCompleted&&e?.enabled!==!1?s.jsx(yn,{settings:e?.settings,components:e?.components}):s.jsx(ee.IOConnectProvider,{settings:Ri(n,c,o),children:s.jsx(Sr,{workspaces:t.workspaces,launchpad:t.launchpad,onLogout:a.logout,user:c})}):s.jsx(Ii,{isLoading:a.isLoading,onLogin:a.loginWithPopup,components:t.login.components})},Eu=({config:t})=>{const{setupFlow:e,ioConnectConfig:n}=t,{permission:r}=Ge();return!r.isSetupCompleted&&e?.enabled!==!1?s.jsx(yn,{settings:e?.settings,components:e?.components}):s.jsx(ee.IOConnectProvider,{settings:n,children:s.jsx(Sr,{workspaces:t.workspaces,launchpad:t.launchpad})})},Li=ye({Logo:G(me().andThen(t=>Ue(t,"Logo"))),Heading:G(me().andThen(t=>Ue(t,"Heading")))}),Su=ye({type:Yt("auth0"),providerOptions:me(),components:G(Li)}),ku=ye({type:Yt("simple"),onLogin:me().andThen(t=>Ue(t,"onLogin")),onLogout:G(me().andThen(t=>Ue(t,"onLogout"))),userInputName:G(he),components:G(Li)}),Pu=Un(Su,ku),Tu=ye({edgeNotificationsPermissionTimeout:G(ys)}),_u=ye({Logo:G(me().andThen(t=>Ue(t,"Logo")))}),Iu=ye({enabled:G(No()),components:G(_u),settings:G(Tu)}),Nu=ye({components:G(me()),HeaderLogoArea:G(me().andThen(t=>Ue(t,"HeaderLogoArea")))}),Au=ye({sections:G(me()),Sections:G(me().andThen(t=>Ue(t,"Sections"))),NotificationsPanel:G(Un(me().andThen(t=>Ue(t,"NotificationsPanel")),Yt(null))),UserPanel:G(Un(me().andThen(t=>Ue(t,"UserPanel")),Yt(null)))}),Ru=ye({components:G(Au)}),Lu=ye({ioConnectConfig:me(),login:G(Pu),setupFlow:G(Iu),workspaces:G(Nu),launchpad:G(Ru)}),Mu=({config:t})=>{const e=Lu.runWithException(t),n=e.login,r=e.launchpad?.components;if(r?.sections&&r?.Sections)throw new Error("Launchpad sections are overspecified. Please provide either a JSX element or a React component.");if(n?.type==="simple")return s.jsx(Ou,{config:e});if(n?.type==="auth0"){const{providerOptions:o}=n;return s.jsx(iu,{...o,authorizationParams:{...o.authorizationParams,redirect_uri:o.authorizationParams?.redirect_uri??window.location.origin},children:s.jsx(ju,{config:e})})}return s.jsx(Eu,{config:e})},Mi=()=>"getScreenDetails"in window,Du=({config:t})=>Mi()?s.jsx(gi,{children:s.jsx(Mu,{config:t})}):s.jsx(hi,{}),Di=t=>t?.split(" ").map(e=>e[0]?.toUpperCase()).join(""),Fi=y.forwardRef((t,e)=>{const{onSearch:n,searchTerm:r,onClear:o}=t,i=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{!i||!i.search||i.search.setDebounceMS(450)},[i]),s.jsxs("div",{className:"search","data-testid":"search-bar",children:[s.jsx("input",{type:"search",ref:e,className:"io-input",placeholder:"Find anything",value:r,onChange:n}),s.jsx(oe,{name:"delete-left",className:r.length!==0?"active":"",onClick:o,"data-testid":"delete-icon"})]})}),Fu=t=>t.reduce((e,n)=>{const{type:r}=n,o=n.id||n.displayName;if(!o||r.name===Fe.LAYOUT)return e;let i=[];r.name===Fe.APPLICATION?i=Oo:r.name===Fe.WORKSPACE?i=jo:n.secondaryActions&&(i=n.secondaryActions.map(({name:u,method:f,params:p,target:d})=>({name:u,interopParams:{method:f,params:p,target:d}})));const a={id:o,title:n.displayName||o,description:n.description,type:r.name,iconSrc:n.iconURL,mainAction:n.action,contextMenuActions:i},c=e.findIndex(({title:u})=>r.displayName?u===r.displayName:u===r.name),l=e[c];return l?[...e.slice(0,c),{...l,items:[...l.items,a]},...e.slice(c+1)]:[...e,{id:r.name,title:r.displayName||r.name,items:[a]}]},[]);function Ui(t){const{resultsToRender:e,isLoading:n}=Ts(t.searchTerm),r=wt(),o=Cs(),i=Do(),a=Fo(),c=Fu(e),l=Uo(),u=Ho(),f=(d,h)=>{const m=d.type===Fe.APPLICATION?l:d.type===Fe.WORKSPACE?u:null;m&&m(d,h)},p=async(d,h)=>{const{item:m,modifier:v,selectedContextMenuActionName:g}=h,{type:w,id:j,mainAction:O}=m,C=g?m.contextMenuActions?.find(b=>b.name===g):null;C?.interopParams?o(C.interopParams):g?f(m,g):O?o(O):w===Fe.APPLICATION?a(j,v).catch(b=>{console.error("Failed to start application",{error:b})}):w===Fe.WORKSPACE&&i(j,v).catch(b=>{console.error("Failed to restore workspace",{error:b})}),v!==cn.SHIFT&&r.close()};return n?s.jsx("p",{style:{padding:"12px 24px"},children:"Loading..."}):e.length===0?s.jsx("p",{style:{padding:"12px 24px"},children:"No results found."}):s.jsx("ul",{children:c.map((d,h)=>s.jsx(pn,{config:d,isFavoritismEnabled:!1,onItemClick:p},d.id||h))})}const Uu=(t,e,n)=>{const{isSectionCollapsible:r,sortOrder:o=At.ASCENDING,...i}=n;return{id:"workspaces-section",title:"Workspaces",items:ir({items:t,sortOrder:o,ascendingCompare:Eo,descendingCompare:So}).map(l=>({...l,type:Fe.WORKSPACE,isOpen:e[l.title]?.length>0,contextMenuActions:jo})),isCollapsible:r,...i}},Hi=t=>{const{displayCount:e,isSectionCollapsible:n,showAllItems:r,sortOrder:o}=t,i=_s(),a=Is(),c=Do(),l=Ho(),u=y.useMemo(()=>Uu(i,a,{...{displayCount:e,showAllItems:r},isSectionCollapsible:n,sortOrder:o}),[i,a,e,n,r,o]),f=p=>{const{item:d,modifier:h,selectedContextMenuActionName:m}=p;if(!m)return c(d.id,h).catch(v=>{console.error("Failed to restore workspace",{error:v})});l(d,m)};return s.jsx(hn,{config:u,onItemClick:f})},Hu=()=>s.jsxs(s.Fragment,{children:[s.jsx(mi,{}),s.jsx(Hi,{}),s.jsx(fi,{})]}),Wu={success:"check"},go={SET_AS_DEFAULT:"setAsDefault",DELETE:"delete"},zu=t=>[{name:go.SET_AS_DEFAULT,displayName:"Set as Default",disabled:t.isDefault},{name:go.DELETE,displayName:"Delete",disabled:t.name===Qo||t.isDefault}],yo=t=>async e=>{e.stopPropagation();try{await t()}catch(n){console.error("Failed to handle layout action: ",n)}},Vu=t=>{const{layouts:e}=t,{setSelectedLayout:n,setDefaultLayout:r}=wt(),o=Ws(),i=ar();return s.jsxs("div",{"data-testid":"available-layouts",children:[s.jsx("h6",{children:"Available Layouts"}),e.map(a=>s.jsxs("div",{className:$("layouts-item flex ai-center",a.isSelected&&"active"),"data-testid":"layout-item",children:[s.jsx("div",{className:"loaded me-8",children:a.isSelected&&s.jsx(oe,{size:12,name:"check"})}),s.jsx("div",{className:$("name",{bold:a.isSelected}),onClick:()=>{i(a.name,n)},children:a.name}),s.jsxs("div",{className:"type",children:[a.type,a.isDefault?"/Default":""]}),s.jsx(mr,{iconSize:16,iconName:"ellipsis",actions:zu(a),onActionItemClick:(c,l)=>o(a,l.name,r)})]},a.name))]})},bo=t=>{const{inputValue:e,setNotification:n,className:r=""}=t,{selectedLayout:o,setSelectedLayout:i}=wt(),a=ar(),c=y.useContext(ee.IOConnectContext),l=[{label:"Save",type:"save",onClick:yo(async()=>{await c.layouts.save({name:e,type:"Global"}),i({name:e}),n({message:"Saved",type:"success"})}),testId:"save-button"},{label:"Restore",type:"restore",onClick:yo(()=>{o&&a(o.name)}),testId:"restore-button"}];return s.jsx("div",{className:$("layout-actions",r),"data-testid":"layout-actions",children:l.map(({label:u,type:f,disabled:p,onClick:d,testId:h})=>s.jsx("button",{onClick:d,disabled:p,className:"io-btn","data-testid":h,children:u},f))})},Bu=({className:t,message:e,type:n})=>s.jsxs("div",{className:$("layout-notification",`layout-notification-${n}`,t),"data-testid":"layout-notification",children:[s.jsx(oe,{size:12,name:Wu[n]}),s.jsx("span",{"data-testid":"layout-notification-message",children:e})]}),Wi=()=>{const t=y.useRef(null),[e,n]=y.useState(!1),[r,o]=y.useState(null),i=Os(),{defaultLayout:a,selectedLayout:c}=wt(),[l,u]=y.useState("");y.useEffect(()=>{if(!e)return;const p=h=>{t.current?.contains(h.target)||n(!1)},d=()=>{document.activeElement?.nodeName==="IFRAME"&&n(!1)};return document.addEventListener("click",p,!0),window.addEventListener("blur",d,!0),()=>{document.removeEventListener("click",p,!0),window.removeEventListener("blur",d,!0)}},[e]),y.useEffect(()=>{if(!r)return;const p=setTimeout(()=>o(null),3e3);return()=>clearTimeout(p)},[r]),y.useEffect(()=>{c&&u(c.name)},[c]);const f=()=>{n(p=>!p),c&&u(c.name)};return s.jsxs("footer",{className:"footer",ref:t,"data-testid":"layouts-panel",children:[s.jsxs("div",{"aria-label":"Layouts panel","aria-expanded":e,role:"button",...ht(f),className:"selected-layout flex ai-center","data-testid":"selected-layout",children:[s.jsx("span",{className:$("name",{hidden:e}),"data-testid":"selected-layout-name",children:c?.name||"No selected layout"}),s.jsxs("div",{className:"flex ai-center","data-testid":"layout-actions-and-toggle",children:[!e&&s.jsx(bo,{inputValue:l,setNotification:o}),s.jsx(oe,{className:$("ms-8","layouts-panel-toggle-button",{"layouts-panel-toggle-button-rotated":e}),name:"chevron-up","data-testid":"layouts-panel-toggle"})]})]}),s.jsx(si,{isOpen:e,children:s.jsxs("div",{className:"layouts-container",children:[s.jsxs("div",{className:"layouts-settings",children:[s.jsx("input",{className:"io-input",onChange:p=>u(p.target.value),value:l,"data-testid":"layout-name-input"}),s.jsx(bo,{className:"group",inputValue:l,setNotification:o})]}),s.jsx(Vu,{layouts:i.map(p=>({...p,isSelected:p.name===c?.name,isDefault:p.name===a?.name}))})]})}),r?s.jsx(Bu,{className:$({"ms-8 me-8":e}),message:r.message,type:r.type}):s.jsx("div",{className:"powered-by",children:"Powered by io.Connect Browser"})]})},Zu=t=>{const e=new Date(t),n=e.getHours(),r=e.getMinutes().toString().padStart(2,"0"),o=e.getSeconds().toString().padStart(2,"0"),i=n>=12?"PM":"AM",a=e.getMonth()+1,c=e.getDate(),l=e.getFullYear();return`${n%12}:${r}:${o} ${i} ${a}/${c}/${l}`},zi=t=>{const{severity:e="None",id:n,timestamp:r,title:o,body:i,actions:a}=t.notificationData,c=y.useContext(ee.IOConnectContext),l=()=>{c&&c.notifications.clear(n).catch(console.error)},u=async p=>{p.stopPropagation();try{await c.notifications.click(n),l()}catch(d){console.error(d)}},f=a?.map(({action:p,title:d})=>({children:d,onClick:async h=>{h.stopPropagation();try{await c.notifications.click(n,p),l()}catch(m){console.error(m)}}}));return s.jsxs("div",{className:"notifications-list-item",style:{borderLeftColor:js[e]},onClick:u,"data-testid":"notification-container",children:[s.jsxs("div",{className:"notification-header","data-testid":"notification-header",children:[s.jsx("h4",{children:o}),s.jsx(oe,{onClick:p=>{p.stopPropagation(),l()},className:"io-btn close-btn",size:16,name:"close","data-testid":"close-icon"})]}),i&&s.jsx("p",{"data-testid":"notification-body",children:i}),r&&s.jsx("p",{"data-testid":"notification-timestamp",children:Zu(r)}),f&&s.jsx(vn,{className:"notification-actions","data-testid":"notification-actions",items:f})]})},kr=t=>{const{className:e}=t,n=Lo().length;return n>0?s.jsx("span",{className:$("notifications-badge",e),"data-testid":"notifications-badge",children:n<10?n:"9+"}):null},Vi=t=>{const{className:e,iconSize:n=24,...r}=t;return s.jsxs("div",{className:$(e,"notifications-icon"),"data-testid":"notifications-icon",...r,children:[s.jsx(oe,{size:n,name:"bell"}),s.jsx(kr,{})]})},Bi=()=>{const{onNotificationsSort:t,sortedNotifications:e}=Ps(),n=y.useContext(ee.IOConnectContext),r=y.useCallback(()=>{n&&n.notifications.clearAll().catch(console.error)},[n]);return s.jsxs("div",{className:"notifications-panel","data-testid":"notifications-panel",children:[s.jsxs("div",{className:"header","data-testid":"notifications-panel-header",children:[s.jsx("div",{className:"header-caption",children:s.jsxs("div",{children:["Notifications (",e.length,")"]})}),s.jsx(vn,{items:[{children:"Latest",onClick:()=>t("timestamp")},{children:"By Priority",onClick:()=>t("severity")}]})]}),e.length?s.jsx("div",{className:"notifications-list","data-testid":"notifications-list",children:e.map(o=>s.jsx(zi,{notificationData:o},o.id))}):s.jsx("div",{className:"no-notifications",children:"No notifications"}),s.jsx("div",{className:"footer","data-testid":"notifications-panel-footer",children:s.jsx(Ht,{children:"Clear All",onClick:r})})]})},$u=({user:t})=>{const e=y.useContext(ee.IOConnectContext),n=t?.username||"N A";return s.jsxs("div",{className:"flex info info-top",children:[s.jsxs("div",{children:[s.jsx("h4",{children:n}),s.jsxs("p",{children:["PROD"," | ","Version "+e.version]})]}),s.jsx("div",{className:"flex badge",children:Di(n)})]})},Zi=()=>{const t=y.useContext(ee.IOConnectContext),[e,n]=y.useState([]);y.useEffect(()=>{t&&t.themes?.list().then(o=>n(o)).catch(console.warn)},[t]);const r=async(o,i)=>{i.name&&t.themes?.select(i.name).catch(console.warn)};return s.jsxs("div",{className:"info info-middle",children:[s.jsx("h4",{children:"Settings"}),s.jsxs("div",{className:"flex ai-center",children:[s.jsx("label",{style:{textAlign:"right",width:"40%"},children:"Theme"}),s.jsx("div",{style:{width:"60%",marginLeft:"auto"},children:s.jsx(vn,{onItemClick:r,items:e.map(({name:o,displayName:i})=>({name:o,children:i}))})})]})]})},$i=({title:t,description:e,links:n=[],onLogout:r,user:o})=>{const[i,a]=sn("sessionStorage",Io,Jo),c=y.useContext(ee.IOConnectContext),l=async()=>{try{r?.()}catch(u){console.error(u)}a(null),await c.webPlatform?.system.shutdown(),window.location.reload()};return s.jsxs("div",{className:"info info-bottom flex flex-column",children:[s.jsx("h4",{children:t||"Support"}),s.jsx("p",{children:e||"New set of thoughtfully curated items and the ability to configure them."}),s.jsx("ul",{children:n.map(({children:u,...f})=>s.jsx("li",{children:s.jsx("a",{...f,children:u})},f.href))}),o?.id&&s.jsx("div",{children:s.jsx(Ht,{onClick:l,children:"Log Out"})})]})},Gi=({onLogout:t,user:e})=>s.jsxs(s.Fragment,{children:[s.jsx($u,{user:e}),s.jsx(Zi,{}),s.jsx($i,{onLogout:t,user:e})]}),qi=t=>{const{initials:e,className:n,...r}=t;return s.jsx("div",{className:$(n,"user-panel-icon"),...r,children:e})},wo=({children:t,closeFn:e,open:n=!1,showCloseButton:r=!0})=>{const o=y.useRef(null);return y.useEffect(()=>{n?o.current?.showModal():o.current?.close()},[n]),s.jsx("dialog",{ref:o,onClose:()=>{n&&e()},onClick:i=>{i.target.nodeName==="DIALOG"&&e()},children:s.jsxs("div",{className:"dialog-backer",children:[r&&s.jsx(oe,{onClick:e,className:"btn-close io-btn io-btn-icon",size:16,name:"close"}),t]})})};function Ki(t){const{open:e,setOpen:n,onLogout:r,className:o,components:i={},user:a,...c}=t,[l,u]=y.useState(""),[f,p]=y.useState(!1),[d,h]=y.useState(!1),m=y.useRef(null),v=i?.NotificationsPanel!==null,g=i?.UserPanel!==null,w=i?.NotificationsPanel??Bi,j=i?.UserPanel??Gi;y.useEffect(()=>{if(e){m.current?.focus();return}u("")},[e]);const O=_=>{u(_.target.value)},C=()=>{u("")},b=i.Sections?s.jsx(i.Sections,{}):i.sections,k=s.jsx(pl,{children:s.jsx("ul",{children:b??s.jsx(Hu,{})})});return s.jsxs(cc,{setOpen:n,isOpen:e,children:[s.jsxs("div",{className:$(o),...c,children:[s.jsxs("header",{children:[s.jsx(Fi,{ref:m,searchTerm:l,onSearch:O,onClear:C}),s.jsxs("div",{className:"action-area",children:[v&&s.jsx(Vi,{"aria-label":"Notifications",role:"button",...ht(()=>p(!0))}),g&&s.jsx(qi,{initials:Di(a?.username||"N A"),"aria-label":"Profile and Settings",role:"button",...ht(()=>h(!0))})]}),s.jsx(oe,{className:"btn-close io-btn io-btn-icon",size:16,name:"close",handleClick:()=>n(!1)})]}),s.jsx("main",{children:l.trim().length<3?k:s.jsx(Ui,{searchTerm:l})}),s.jsx(Wi,{})]}),v&&s.jsx(wo,{open:f,closeFn:()=>p(!1),children:s.jsx(w,{})}),g&&s.jsx(wo,{open:d,closeFn:()=>h(!1),children:s.jsx(j,{onLogout:r,user:a})})]})}const Yi=()=>s.jsxs(s.Fragment,{children:[s.jsx(pt.Logo,{frameId:""}),s.jsx(kr,{})]}),Gu="_workspaceLogo_t3m7s_1",xo={workspaceLogo:Gu,"launchpad-popup":"_launchpad-popup_t3m7s_9","slide-in":"_slide-in_t3m7s_32"},Xi=t=>{const[e,n]=y.useState(!1),r=y.useRef(null),o=y.useRef(null),{icon:i,children:a}=t;return y.useEffect(()=>{if(!e)return;const c=u=>{const f=u.target!==r.current&&!r.current?.contains(u.target);!(u.target===o.current||o.current?.contains(u.target))&&f&&n(!1)},l=()=>{document.activeElement?.nodeName==="IFRAME"&&n(!1)};return document.addEventListener("mouseup",c,!0),window.addEventListener("blur",l,!0),()=>{document.removeEventListener("mouseup",c,!0),window.removeEventListener("blur",l,!0)}},[e]),s.jsxs("div",{ref:r,children:[s.jsx("button",{"aria-label":"Launchpad",onClick:()=>n(c=>!c),className:`io-logo ${e===!0?"active":""}`,ref:o,children:s.jsx("div",{className:"logo-wrapper",children:i})}),s.jsx("div",{children:s.jsx("div",{className:$(xo["launchpad-popup"],{[xo["slide-in"]]:e}),children:a({open:e,setOpen:n})})})]})},Ji=t=>{const{icon:e,components:n,user:r,onLogout:o}=t;return s.jsx(Xi,{icon:e??s.jsx(Yi,{}),children:({open:i,setOpen:a})=>s.jsx(Ki,{open:i,setOpen:a,components:n,user:r,onLogout:o})})};exports.ApplicationsSection=fi;exports.Auth0LoginForm=Ti;exports.Auth0LoginPage=Ii;exports.BaseSection=pn;exports.BaseSectionHeader=_o;exports.BaseSectionItem=Xo;exports.BrowserNotSupported=hi;exports.Button=Ht;exports.ButtonGroup=vn;exports.ContextMenu=Yo;exports.DropdownButton=mr;exports.FavoritesSection=mi;exports.IOConnectHome=Du;exports.IOConnectHomeProvider=gi;exports.Icon=oe;exports.ImgIcon=sr;exports.Launchpad=Ki;exports.LaunchpadSlidePanel=Ji;exports.LayoutsPanel=Wi;exports.LoginLoader=pu;exports.Logo=Yi;exports.LogoutPage=Pi;exports.Notification=zi;exports.NotificationsBadge=kr;exports.NotificationsIcon=Vi;exports.NotificationsPanel=Bi;exports.PermissionsSetup=yn;exports.SearchBar=Fi;exports.SearchResults=Ui;exports.Section=hn;exports.SettingsCard=Zi;exports.SimpleLoginPage=Ni;exports.SlidePanel=Xi;exports.SupportCard=$i;exports.UserPanel=Gi;exports.UserPanelIcon=qi;exports.WorkspacesSection=Hi;exports.useFavoriteEntities=an;exports.useIOConnectHome=Ge;exports.useIsBrowserSupported=Mi;
|
|
46
|
+
`)})(),e.cache&&e.cacheLocation&&console.warn("Both `cache` and `cacheLocation` options have been specified in the Auth0Client configuration; ignoring `cacheLocation` and using `cache`."),e.cache)r=e.cache;else{if(n=e.cacheLocation||"memory",!vo(n))throw new Error(`Invalid cache location "${n}"`);r=vo(n)()}this.httpTimeoutMs=e.httpTimeoutInSeconds?1e3*e.httpTimeoutInSeconds:1e4,this.cookieStorage=e.legacySameSiteCookie===!1?dt:Bl,this.orgHintCookieName=`auth0.${this.options.clientId}.organization_hint`,this.isAuthenticatedCookieName=(a=>`auth0.${a}.is.authenticated`)(this.options.clientId),this.sessionCheckExpiryDays=e.sessionCheckExpiryDays||1;const o=e.useCookiesForTransactions?this.cookieStorage:Zl;var i;this.scope=$t("openid",this.options.authorizationParams.scope,this.options.useRefreshTokens?"offline_access":""),this.transactionManager=new Hl(o,this.options.clientId),this.nowProvider=this.options.nowProvider||Ci,this.cacheManager=new Ul(r,r.allKeys?void 0:new ql(r,this.options.clientId),this.nowProvider),this.domainUrl=(i=this.options.domain,/^https?:\/\//.test(i)?i:`https://${i}`),this.tokenIssuer=((a,c)=>a?a.startsWith("https://")?a:`https://${a}/`:`${c}/`)(this.options.issuer,this.domainUrl),typeof window<"u"&&window.Worker&&this.options.useRefreshTokens&&n==="memory"&&(this.worker=new Gl)}_url(e){const n=encodeURIComponent(btoa(JSON.stringify(this.options.auth0Client||xi)));return`${this.domainUrl}${e}&auth0Client=${n}`}_authorizeUrl(e){return this._url(`/authorize?${or(e)}`)}async _verifyIdToken(e,n,r){const o=await this.nowProvider();return zl({iss:this.tokenIssuer,aud:this.options.clientId,id_token:e,nonce:n,organizationId:r,leeway:this.options.leeway,max_age:(i=this.options.authorizationParams.max_age,typeof i!="string"?i:parseInt(i,10)||void 0),now:o});var i}_processOrgIdHint(e){e?this.cookieStorage.save(this.orgHintCookieName,e,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}):this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain})}async _prepareAuthorizeUrl(e,n,r){const o=uo(_n()),i=uo(_n()),a=_n(),c=(f=>{const p=new Uint8Array(f);return(d=>{const h={"+":"-","/":"_","=":""};return d.replace(/[+/=]/g,m=>h[m])})(window.btoa(String.fromCharCode(...Array.from(p))))})(await(async f=>await Kt().subtle.digest({name:"SHA-256"},new TextEncoder().encode(f)))(a)),l=((f,p,d,h,m,v,g,w)=>Object.assign(Object.assign(Object.assign({client_id:f.clientId},f.authorizationParams),d),{scope:$t(p,d.scope),response_type:"code",response_mode:w||"query",state:h,nonce:m,redirect_uri:g||f.authorizationParams.redirect_uri,code_challenge:v,code_challenge_method:"S256"}))(this.options,this.scope,e,o,i,c,e.redirect_uri||this.options.authorizationParams.redirect_uri||r,n?.response_mode),u=this._authorizeUrl(l);return{nonce:i,code_verifier:a,scope:l.scope,audience:l.audience||"default",redirect_uri:l.redirect_uri,state:o,url:u}}async loginWithPopup(e,n){var r;if(e=e||{},!(n=n||{}).popup&&(n.popup=(c=>{const l=window.screenX+(window.innerWidth-400)/2,u=window.screenY+(window.innerHeight-600)/2;return window.open(c,"auth0:authorize:popup",`left=${l},top=${u},width=400,height=600,resizable,scrollbars=yes,status=1`)})(""),!n.popup))throw new Error("Unable to open a popup for loginWithPopup - window.open returned `null`");const o=await this._prepareAuthorizeUrl(e.authorizationParams||{},{response_mode:"web_message"},window.location.origin);n.popup.location.href=o.url;const i=await(c=>new Promise((l,u)=>{let f;const p=setInterval(()=>{c.popup&&c.popup.closed&&(clearInterval(p),clearTimeout(d),window.removeEventListener("message",f,!1),u(new jr(c.popup)))},1e3),d=setTimeout(()=>{clearInterval(p),u(new Or(c.popup)),window.removeEventListener("message",f,!1)},1e3*(c.timeoutInSeconds||60));f=function(h){if(h.data&&h.data.type==="authorization_response"){if(clearTimeout(d),clearInterval(p),window.removeEventListener("message",f,!1),c.popup.close(),h.data.response.error)return u(Oe.fromPayload(h.data.response));l(h.data.response)}},window.addEventListener("message",f)}))(Object.assign(Object.assign({},n),{timeoutInSeconds:n.timeoutInSeconds||this.options.authorizeTimeoutInSeconds||60}));if(o.state!==i.state)throw new Error("Invalid state");const a=((r=e.authorizationParams)===null||r===void 0?void 0:r.organization)||this.options.authorizationParams.organization;await this._requestToken({audience:o.audience,scope:o.scope,code_verifier:o.code_verifier,grant_type:"authorization_code",code:i.code,redirect_uri:o.redirect_uri},{nonceIn:o.nonce,organizationId:a})}async getUser(){var e;const n=await this._getIdTokenFromCache();return(e=n?.decodedToken)===null||e===void 0?void 0:e.user}async getIdTokenClaims(){var e;const n=await this._getIdTokenFromCache();return(e=n?.decodedToken)===null||e===void 0?void 0:e.claims}async loginWithRedirect(e={}){var n;const r=go(e),{openUrl:o,fragment:i,appState:a}=r,c=Ne(r,["openUrl","fragment","appState"]),l=((n=c.authorizationParams)===null||n===void 0?void 0:n.organization)||this.options.authorizationParams.organization,u=await this._prepareAuthorizeUrl(c.authorizationParams||{}),{url:f}=u,p=Ne(u,["url"]);this.transactionManager.create(Object.assign(Object.assign(Object.assign({},p),{appState:a}),l&&{organizationId:l}));const d=i?`${f}#${i}`:f;o?await o(d):window.location.assign(d)}async handleRedirectCallback(e=window.location.href){const n=e.split("?").slice(1);if(n.length===0)throw new Error("There are no query params available for parsing.");const{state:r,code:o,error:i,error_description:a}=(p=>{p.indexOf("#")>-1&&(p=p.substring(0,p.indexOf("#")));const d=new URLSearchParams(p);return{state:d.get("state"),code:d.get("code")||void 0,error:d.get("error")||void 0,error_description:d.get("error_description")||void 0}})(n.join("")),c=this.transactionManager.get();if(!c)throw new Error("Invalid state");if(this.transactionManager.remove(),i)throw new Cr(i,a||i,r,c.appState);if(!c.code_verifier||c.state&&c.state!==r)throw new Error("Invalid state");const l=c.organizationId,u=c.nonce,f=c.redirect_uri;return await this._requestToken(Object.assign({audience:c.audience,scope:c.scope,code_verifier:c.code_verifier,grant_type:"authorization_code",code:o},f?{redirect_uri:f}:{}),{nonceIn:u,organizationId:l}),{appState:c.appState}}async checkSession(e){if(!this.cookieStorage.get(this.isAuthenticatedCookieName)){if(!this.cookieStorage.get("auth0.is.authenticated"))return;this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove("auth0.is.authenticated")}try{await this.getTokenSilently(e)}catch{}}async getTokenSilently(e={}){var n;const r=Object.assign(Object.assign({cacheMode:"on"},e),{authorizationParams:Object.assign(Object.assign(Object.assign({},this.options.authorizationParams),e.authorizationParams),{scope:$t(this.scope,(n=e.authorizationParams)===null||n===void 0?void 0:n.scope)})}),o=await((i,a)=>{let c=Nn[a];return c||(c=i().finally(()=>{delete Nn[a],c=null}),Nn[a]=c),c})(()=>this._getTokenSilently(r),`${this.options.clientId}::${r.authorizationParams.audience}::${r.authorizationParams.scope}`);return e.detailedResponse?o:o?.access_token}async _getTokenSilently(e){const{cacheMode:n}=e,r=Ne(e,["cacheMode"]);if(n!=="off"){const o=await this._getEntryFromCache({scope:r.authorizationParams.scope,audience:r.authorizationParams.audience||"default",clientId:this.options.clientId});if(o)return o}if(n!=="cache-only"){if(!await(async(o,i=3)=>{for(let a=0;a<i;a++)if(await o())return!0;return!1})(()=>An.acquireLock("auth0.lock.getTokenSilently",5e3),10))throw new Dt;try{if(window.addEventListener("pagehide",this._releaseLockOnPageHide),n!=="off"){const u=await this._getEntryFromCache({scope:r.authorizationParams.scope,audience:r.authorizationParams.audience||"default",clientId:this.options.clientId});if(u)return u}const o=this.options.useRefreshTokens?await this._getTokenUsingRefreshToken(r):await this._getTokenFromIFrame(r),{id_token:i,access_token:a,oauthTokenScope:c,expires_in:l}=o;return Object.assign(Object.assign({id_token:i,access_token:a},c?{scope:c}:null),{expires_in:l})}finally{await An.releaseLock("auth0.lock.getTokenSilently"),window.removeEventListener("pagehide",this._releaseLockOnPageHide)}}}async getTokenWithPopup(e={},n={}){var r;const o=Object.assign(Object.assign({},e),{authorizationParams:Object.assign(Object.assign(Object.assign({},this.options.authorizationParams),e.authorizationParams),{scope:$t(this.scope,(r=e.authorizationParams)===null||r===void 0?void 0:r.scope)})});return n=Object.assign(Object.assign({},Nl),n),await this.loginWithPopup(o,n),(await this.cacheManager.get(new Ae({scope:o.authorizationParams.scope,audience:o.authorizationParams.audience||"default",clientId:this.options.clientId}))).access_token}async isAuthenticated(){return!!await this.getUser()}_buildLogoutUrl(e){e.clientId!==null?e.clientId=e.clientId||this.options.clientId:delete e.clientId;const n=e.logoutParams||{},{federated:r}=n,o=Ne(n,["federated"]),i=r?"&federated":"";return this._url(`/v2/logout?${or(Object.assign({clientId:e.clientId},o))}`)+i}async logout(e={}){const n=go(e),{openUrl:r}=n,o=Ne(n,["openUrl"]);e.clientId===null?await this.cacheManager.clear():await this.cacheManager.clear(e.clientId||this.options.clientId),this.cookieStorage.remove(this.orgHintCookieName,{cookieDomain:this.options.cookieDomain}),this.cookieStorage.remove(this.isAuthenticatedCookieName,{cookieDomain:this.options.cookieDomain}),this.userCache.remove("@@user@@");const i=this._buildLogoutUrl(o);r?await r(i):r!==!1&&window.location.assign(i)}async _getTokenFromIFrame(e){const n=Object.assign(Object.assign({},e.authorizationParams),{prompt:"none"}),r=this.cookieStorage.get(this.orgHintCookieName);r&&!n.organization&&(n.organization=r);const{url:o,state:i,nonce:a,code_verifier:c,redirect_uri:l,scope:u,audience:f}=await this._prepareAuthorizeUrl(n,{response_mode:"web_message"},window.location.origin);try{if(window.crossOriginIsolated)throw new Oe("login_required","The application is running in a Cross-Origin Isolated context, silently retrieving a token without refresh token is not possible.");const p=e.timeoutInSeconds||this.options.authorizeTimeoutInSeconds,d=await((m,v,g=60)=>new Promise((w,j)=>{const O=window.document.createElement("iframe");O.setAttribute("width","0"),O.setAttribute("height","0"),O.style.display="none";const C=()=>{window.document.body.contains(O)&&(window.document.body.removeChild(O),window.removeEventListener("message",b,!1))};let b;const k=setTimeout(()=>{j(new Dt),C()},1e3*g);b=function(_){if(_.origin!=v||!_.data||_.data.type!=="authorization_response")return;const S=_.source;S&&S.close(),_.data.response.error?j(Oe.fromPayload(_.data.response)):w(_.data.response),clearTimeout(k),window.removeEventListener("message",b,!1),setTimeout(C,2e3)},window.addEventListener("message",b,!1),window.document.body.appendChild(O),O.setAttribute("src",m)}))(o,this.domainUrl,p);if(i!==d.state)throw new Error("Invalid state");const h=await this._requestToken(Object.assign(Object.assign({},e.authorizationParams),{code_verifier:c,code:d.code,grant_type:"authorization_code",redirect_uri:l,timeout:e.authorizationParams.timeout||this.httpTimeoutMs}),{nonceIn:a});return Object.assign(Object.assign({},h),{scope:u,oauthTokenScope:h.scope,audience:f})}catch(p){throw p.error==="login_required"&&this.logout({openUrl:!1}),p}}async _getTokenUsingRefreshToken(e){const n=await this.cacheManager.get(new Ae({scope:e.authorizationParams.scope,audience:e.authorizationParams.audience||"default",clientId:this.options.clientId}));if(!(n&&n.refresh_token||this.worker)){if(this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(e);throw new yn(e.authorizationParams.audience||"default",e.authorizationParams.scope)}const r=e.authorizationParams.redirect_uri||this.options.authorizationParams.redirect_uri||window.location.origin,o=typeof e.timeoutInSeconds=="number"?1e3*e.timeoutInSeconds:null;try{const i=await this._requestToken(Object.assign(Object.assign(Object.assign({},e.authorizationParams),{grant_type:"refresh_token",refresh_token:n&&n.refresh_token,redirect_uri:r}),o&&{timeout:o}));return Object.assign(Object.assign({},i),{scope:e.authorizationParams.scope,oauthTokenScope:i.scope,audience:e.authorizationParams.audience||"default"})}catch(i){if((i.message.indexOf("Missing Refresh Token")>-1||i.message&&i.message.indexOf("invalid refresh token")>-1)&&this.options.useRefreshTokensFallback)return await this._getTokenFromIFrame(e);throw i}}async _saveEntryInCache(e){const{id_token:n,decodedToken:r}=e,o=Ne(e,["id_token","decodedToken"]);this.userCache.set("@@user@@",{id_token:n,decodedToken:r}),await this.cacheManager.setIdToken(this.options.clientId,e.id_token,e.decodedToken),await this.cacheManager.set(o)}async _getIdTokenFromCache(){const e=this.options.authorizationParams.audience||"default",n=await this.cacheManager.getIdToken(new Ae({clientId:this.options.clientId,audience:e,scope:this.scope})),r=this.userCache.get("@@user@@");return n&&n.id_token===r?.id_token?r:(this.userCache.set("@@user@@",n),n)}async _getEntryFromCache({scope:e,audience:n,clientId:r}){const o=await this.cacheManager.get(new Ae({scope:e,audience:n,clientId:r}),60);if(o&&o.access_token){const{access_token:i,oauthTokenScope:a,expires_in:c}=o,l=await this._getIdTokenFromCache();return l&&Object.assign(Object.assign({id_token:l.id_token,access_token:i},a?{scope:a}:null),{expires_in:c})}}async _requestToken(e,n){const{nonceIn:r,organizationId:o}=n||{},i=await Dl(Object.assign({baseUrl:this.domainUrl,client_id:this.options.clientId,auth0Client:this.options.auth0Client,useFormData:this.options.useFormData,timeout:this.httpTimeoutMs},e),this.worker),a=await this._verifyIdToken(i.id_token,r,o);return await this._saveEntryInCache(Object.assign(Object.assign(Object.assign(Object.assign({},i),{decodedToken:a,scope:e.scope,audience:e.audience||"default"}),i.scope?{oauthTokenScope:i.scope}:null),{client_id:this.options.clientId})),this.cookieStorage.save(this.isAuthenticatedCookieName,!0,{daysUntilExpire:this.sessionCheckExpiryDays,cookieDomain:this.options.cookieDomain}),this._processOrgIdHint(a.claims.org_id),Object.assign(Object.assign({},i),{decodedToken:a})}}var Si={isAuthenticated:!1,isLoading:!0},Fe=function(){throw new Error("You forgot to wrap your component in <Auth0Provider>.")},Xl=ue(ue({},Si),{buildAuthorizeUrl:Fe,buildLogoutUrl:Fe,getAccessTokenSilently:Fe,getAccessTokenWithPopup:Fe,getIdTokenClaims:Fe,loginWithRedirect:Fe,loginWithPopup:Fe,logout:Fe,handleRedirectCallback:Fe}),ki=y.createContext(Xl),Jl=function(t){Tl(e,t);function e(n,r){var o=t.call(this,r||n)||this;return o.error=n,o.error_description=r,Object.setPrototypeOf(o,e.prototype),o}return e}(Error),Ql=/[?&]code=[^&]+/,eu=/[?&]state=[^&]+/,tu=/[?&]error=[^&]+/,nu=function(t){return t===void 0&&(t=window.location.search),(Ql.test(t)||tu.test(t))&&eu.test(t)},Pi=function(t){return function(e){return"error"in e?new Jl(e.error,e.error_description):e instanceof Error?e:new Error(t)}},yo=Pi("Login failed"),Rn=Pi("Get access token failed"),Ti=function(t){var e;t?.redirectUri&&(console.warn("Using `redirectUri` has been deprecated, please use `authorizationParams.redirect_uri` instead as `redirectUri` will be no longer supported in a future version"),t.authorizationParams=t.authorizationParams||{},t.authorizationParams.redirect_uri=t.redirectUri,delete t.redirectUri),!((e=t?.authorizationParams)===null||e===void 0)&&e.redirectUri&&(console.warn("Using `authorizationParams.redirectUri` has been deprecated, please use `authorizationParams.redirect_uri` instead as `authorizationParams.redirectUri` will be removed in a future version"),t.authorizationParams.redirect_uri=t.authorizationParams.redirectUri,delete t.authorizationParams.redirectUri)},ru=function(t,e){switch(e.type){case"LOGIN_POPUP_STARTED":return ue(ue({},t),{isLoading:!0});case"LOGIN_POPUP_COMPLETE":case"INITIALISED":return ue(ue({},t),{isAuthenticated:!!e.user,user:e.user,isLoading:!1,error:void 0});case"HANDLE_REDIRECT_COMPLETE":case"GET_ACCESS_TOKEN_COMPLETE":return t.user===e.user?t:ue(ue({},t),{isAuthenticated:!!e.user,user:e.user});case"LOGOUT":return ue(ue({},t),{isAuthenticated:!1,user:void 0});case"ERROR":return ue(ue({},t),{isLoading:!1,error:e.error})}},ou=function(t){return Ti(t),ue(ue({},t),{auth0Client:{name:"auth0-react",version:"2.0.1"}})},iu=function(t){window.history.replaceState({},document.title,t?.returnTo||window.location.pathname)},su=function(t){var e=t.children,n=t.skipRedirectCallback,r=t.onRedirectCallback,o=r===void 0?iu:r,i=t.context,a=i===void 0?ki:i,c=_l(t,["children","skipRedirectCallback","onRedirectCallback","context"]),l=y.useState(function(){return new Yl(ou(c))})[0],u=y.useReducer(ru,Si),f=u[0],p=u[1],d=y.useRef(!1);y.useEffect(function(){d.current||(d.current=!0,function(){return ct(void 0,void 0,void 0,function(){var b,k,_;return lt(this,function(S){switch(S.label){case 0:return S.trys.push([0,7,,8]),b=void 0,nu()&&!n?[4,l.handleRedirectCallback()]:[3,3];case 1:return k=S.sent().appState,[4,l.getUser()];case 2:return b=S.sent(),o(k,b),[3,6];case 3:return[4,l.checkSession()];case 4:return S.sent(),[4,l.getUser()];case 5:b=S.sent(),S.label=6;case 6:return p({type:"INITIALISED",user:b}),[3,8];case 7:return _=S.sent(),p({type:"ERROR",error:yo(_)}),[3,8];case 8:return[2]}})})}())},[l,o,n]);var h=y.useCallback(function(b){return Ti(b),l.loginWithRedirect(b)},[l]),m=y.useCallback(function(b,k){return ct(void 0,void 0,void 0,function(){var _,S;return lt(this,function(I){switch(I.label){case 0:p({type:"LOGIN_POPUP_STARTED"}),I.label=1;case 1:return I.trys.push([1,3,,4]),[4,l.loginWithPopup(b,k)];case 2:return I.sent(),[3,4];case 3:return _=I.sent(),p({type:"ERROR",error:yo(_)}),[2];case 4:return[4,l.getUser()];case 5:return S=I.sent(),p({type:"LOGIN_POPUP_COMPLETE",user:S}),[2]}})})},[l]),v=y.useCallback(function(b){return b===void 0&&(b={}),ct(void 0,void 0,void 0,function(){return lt(this,function(k){switch(k.label){case 0:return[4,l.logout(b)];case 1:return k.sent(),(b.openUrl||b.openUrl===!1)&&p({type:"LOGOUT"}),[2]}})})},[l]),g=y.useCallback(function(b){return ct(void 0,void 0,void 0,function(){var k,_,S,I;return lt(this,function(R){switch(R.label){case 0:return R.trys.push([0,2,3,5]),[4,l.getTokenSilently(b)];case 1:return k=R.sent(),[3,5];case 2:throw _=R.sent(),Rn(_);case 3:return S=p,I={type:"GET_ACCESS_TOKEN_COMPLETE"},[4,l.getUser()];case 4:return S.apply(void 0,[(I.user=R.sent(),I)]),[7];case 5:return[2,k]}})})},[l]),w=y.useCallback(function(b,k){return ct(void 0,void 0,void 0,function(){var _,S,I,R;return lt(this,function(W){switch(W.label){case 0:return W.trys.push([0,2,3,5]),[4,l.getTokenWithPopup(b,k)];case 1:return _=W.sent(),[3,5];case 2:throw S=W.sent(),Rn(S);case 3:return I=p,R={type:"GET_ACCESS_TOKEN_COMPLETE"},[4,l.getUser()];case 4:return I.apply(void 0,[(R.user=W.sent(),R)]),[7];case 5:return[2,_]}})})},[l]),j=y.useCallback(function(){return l.getIdTokenClaims()},[l]),O=y.useCallback(function(b){return ct(void 0,void 0,void 0,function(){var k,_,S;return lt(this,function(I){switch(I.label){case 0:return I.trys.push([0,2,3,5]),[4,l.handleRedirectCallback(b)];case 1:return[2,I.sent()];case 2:throw k=I.sent(),Rn(k);case 3:return _=p,S={type:"HANDLE_REDIRECT_COMPLETE"},[4,l.getUser()];case 4:return _.apply(void 0,[(S.user=I.sent(),S)]),[7];case 5:return[2]}})})},[l]),C=y.useMemo(function(){return ue(ue({},f),{getAccessTokenSilently:g,getAccessTokenWithPopup:w,getIdTokenClaims:j,loginWithRedirect:h,loginWithPopup:m,logout:v,handleRedirectCallback:O})},[f,g,w,j,h,m,v,O]);return y.createElement(a.Provider,{value:C},e)},au=function(t){return t===void 0&&(t=ki),y.useContext(t)};const on={[Qe.WINDOW_MANAGEMENT]:{heading:"Allow Window Management",description:"io.Connect Browser requires permission to arrange windows on your desktop.",guidelines:{default:"To allow window management, click the icon to the left of the address bar."},label:"Allow window management",Image:jl,openPermissionsPrompt:({handleDeferredPermission:t,handlePermissionsPromptClose:e})=>{window.getScreenDetails().catch(async()=>{const{state:n}=await navigator.permissions.query({name:Qe.WINDOW_MANAGEMENT});n==="prompt"&&t()}).finally(e)}},[Qe.NOTIFICATIONS]:{heading:"Allow Browser Notifications",description:`io.Connect Browser requires permission to send notifications to the desktop.
|
|
47
|
+
This won't allow any other browser notifications.`,guidelines:{default:"To allow browser notifications, click the icon to the left of the address bar.",edge:'To allow browser notifications, click the icon to the left of the address bar, or the "Bell" icon to the right of the address bar.'},label:"Allow browser notifications",Image:yl,openPermissionsPrompt:({handleDeferredPermission:t,handlePermissionsPromptClose:e})=>{Notification.requestPermission().then(async()=>{const{state:n}=await navigator.permissions.query({name:Qe.NOTIFICATIONS});n==="prompt"&&t()}).finally(e)}}},cu={edgeNotificationsPermissionTimeout:15e3};const lu=({isActiveItem:t=()=>!1,permissionStatuses:e})=>s.jsx("ul",{className:"permissions-list",children:Object.entries(on).map(([n,r],o)=>{const i=t(n),a=e.find(({stableName:c})=>c===n);return s.jsxs("li",{className:G("permissions-list-item",i&&"active"),children:[s.jsx("div",{children:a?.state==="granted"?s.jsx(oe,{name:"check"}):s.jsxs(s.Fragment,{children:[s.jsx("span",{className:i?"icon-arrow":""}),s.jsxs("span",{children:[o+1,"."]})]})}),r.label]},n)})}),uu=({onReopenPromptClick:t})=>{const e=s.jsxs(s.Fragment,{children:['Please, click "Allow" when the browser prompt appears.',s.jsx("br",{}),s.jsxs("strong",{children:["If a browser prompt doesn't appear, click the icon to the left of the",s.jsx("br",{}),"address bar to manually grant the permission."]})]});return s.jsx(vn,{description:e,Image:Cl,title:"Something went wrong!",children:s.jsx(pn,{className:"io-btn-primary permissions-prompt-button",onClick:t,children:"Reopen the Prompt"})})},_i=({deniedPermissionName:t})=>{const{permission:e}=Ge(),r=lr().name?.toLowerCase()||"",o=Object.values(e.statuses).filter(a=>a.stableName===t||a.state==="denied"),i=s.jsxs(s.Fragment,{children:["The current browser settings block critical functionalities of io.Connect Browser.",s.jsx("br",{}),"To enable io.Connect Browser to operate properly, you must grant browser permissions manually."]});return s.jsx(vn,{description:i,Image:Ol,title:"Setup Was Unsuccessful",children:s.jsx("ul",{className:"permissions-guidelines-list",children:o.map((a,c)=>s.jsx("li",{children:on[a.stableName].guidelines[r]||on[a.stableName].guidelines.default},c))})})},du=({edgeNotificationsPermissionTimeout:t,isNotificationsPermissionPromptOpen:e})=>{const{name:n}=lr(),{permission:r}=Ge(),[o,i]=y.useState(!1);return y.useEffect(()=>{if(!e||n!=="Edge")return;const a=setTimeout(()=>i(!0),t);return()=>clearTimeout(a)},[n,t,e]),y.useEffect(()=>{if(!o)return;r.statuses.some(({stableName:c,state:l})=>c===Qe.NOTIFICATIONS&&l==="granted")&&i(!1)},[o,r.statuses]),{hasEdgeNotificationsPermissionError:o}},zt=()=>s.jsx("span",{className:"loader"}),fu=({settings:t})=>{const{permission:e}=Ge(),[n,r]=y.useState(!1),[o,i]=y.useState(!1),a=e.statuses.find(({state:p})=>p==="prompt"),{hasEdgeNotificationsPermissionError:c}=du({edgeNotificationsPermissionTimeout:t.edgeNotificationsPermissionTimeout,isNotificationsPermissionPromptOpen:o&&a?.stableName===Qe.NOTIFICATIONS});if(!a||e.isDenied)throw new Error('The "PermissionSteps" component should not be used in case there is no pending permission or there is a denied permission.');if(c)return s.jsx(_i,{deniedPermissionName:"notifications"});const l=on[a.stableName],u=()=>{i(!0),l.openPermissionsPrompt({handleDeferredPermission:()=>r(!0),handlePermissionsPromptClose:()=>i(!1)})},f=()=>{r(!1),u()};return n?s.jsx(uu,{onReopenPromptClick:f}):s.jsxs(vn,{description:l.description,heading:l.heading,Image:l.Image,title:"First-Time User Setup",children:[s.jsx(lu,{isActiveItem:p=>p===a.stableName,permissionStatuses:e.statuses}),s.jsx("p",{className:"mb-12 permissions-prompt-instructions",children:'Click "Allow" when the prompt appears.'}),s.jsx(pn,{className:"io-btn-primary permissions-prompt-button",disabled:o,onClick:u,children:"Open Permission Prompt"}),o&&s.jsx(zt,{})]})},pu=({settings:t})=>{const{permission:e}=Ge();return e.isLoading?s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"mb-32",children:"Checking browser permissions ..."}),s.jsx(zt,{})]}):e.isDenied?s.jsx(_i,{}):s.jsx(fu,{settings:t})},bn=({components:{Logo:t=rt}={},settings:e={}})=>s.jsx(vi,{Logo:t,children:s.jsx(pu,{settings:{...cu,...e}})}),Ii=({components:t,className:e})=>{const n=t?.Logo||rt;return s.jsx("div",{className:"logout-backdrop",children:s.jsxs("div",{className:G(e,"logout-container flex flex-column ai-center"),children:[s.jsx(n,{}),s.jsx("h1",{className:"text-center mb-8",children:"Logging out..."}),s.jsx(zt,{})]})})},Sr=({className:t="text-center mb-3",text:e="Making Your Work Flow"})=>s.jsxs(s.Fragment,{children:[s.jsx("h1",{className:t,children:e}),s.jsx("p",{children:"Integrate apps, simplify user experiences and accelerate digital transformation."})]}),hu=({components:t})=>{const e=t?.Logo||rt,n=t?.Heading||Sr;return s.jsxs(s.Fragment,{children:[s.jsx(e,{}),s.jsx(n,{}),s.jsx(zt,{})]})},Ni=({onLogin:t})=>s.jsx(di,{children:s.jsx(Wt,{onClick:t,className:"io-btn-primary",children:"Log In"})}),kr=()=>s.jsxs(s.Fragment,{children:[s.jsx("h1",{className:"text-center mb-8",children:"Verifying credentials..."}),s.jsx(zt,{})]}),Pr=({Logo:t,children:e,className:n})=>s.jsxs("div",{className:G(n,"login-container flex flex-column ai-center"),children:[s.jsx(t,{}),e]}),Ai=({className:t,onLogin:e,isLoading:n,components:r})=>{const o=r?.Logo||rt,i=r?.Heading||Sr;return s.jsx(Pr,{className:t,Logo:o,children:n?s.jsx(kr,{}):s.jsxs(s.Fragment,{children:[s.jsx(i,{}),s.jsx(Ni,{onLogin:e})]})})},bo=(t,e)=>{const n=e.value,r=n.trim().length>3;return{value:n,isValid:r}},mu=({onLogin:t,setIsLoading:e,loginError:n,setLoginError:r,userInputName:o})=>{const[i,a]=y.useReducer(bo,{value:"",isValid:!1}),[c,l]=y.useReducer(bo,{value:"",isValid:!1}),[u,f]=y.useState(!1),[p,d]=y.useState(!1),{isValid:h}=i,{isValid:m}=c,v=h&&m,g=b=>a({value:b.target.value}),w=b=>l({value:b.target.value}),j=()=>{h||f(!0)},O=()=>{m||d(!0)},C=async b=>{if(b.preventDefault(),!!v){e(!0);try{await t(i.value,c.value)}catch(k){r(k)}e(!1)}};return s.jsxs(di,{onSubmit:C,children:[s.jsxs(nr,{className:"io-control-input io-control-error",children:[s.jsx("input",{autoFocus:!0,autoComplete:"off",type:"text",placeholder:`Enter your ${o??"email"}`,value:i.value,onChange:g,onBlur:j,onFocus:()=>f(!1),className:G("io-input",u&&"input-error")}),u&&s.jsxs("div",{children:[s.jsx(oe,{name:"close"}),`The ${o??"email"} does not meet the length requirements`]})]}),s.jsxs(nr,{className:"io-control-input io-control-error",children:[s.jsx("input",{autoComplete:"off",type:"password",placeholder:"Enter your password",value:c.value,onChange:w,onBlur:O,onFocus:()=>d(!1),className:G("io-input",p&&"input-error")}),p&&s.jsxs("div",{children:[s.jsx(oe,{name:"close"}),"The password does not meet the length requirements"]})]}),s.jsx(pn,{type:"submit",className:"io-btn-primary",children:"Log In"}),n&&s.jsxs("div",{className:"pb-2 login-error-feedback",children:[s.jsx(oe,{name:"close"}),s.jsx("p",{children:n.message})]})]})};const Ri=({className:t,onLogin:e,components:n,userInputName:r})=>{const[o,i]=y.useState(!1),[a,c]=y.useState(null),l=n?.Logo||rt,u=n?.Heading||Sr;return s.jsx(Pr,{className:G(t,"simple-login"),Logo:l,children:o?s.jsx(kr,{}):s.jsxs(s.Fragment,{children:[s.jsx(u,{}),s.jsx(mu,{onLogin:e,setIsLoading:i,loginError:a,setLoginError:c,userInputName:r})]})})},vu=ye({id:fe,username:$(fe),email:$(fe),firstName:$(fe),lastName:$(fe),avatarUrl:$(fe),token:$(fe),password:$(fe)}),gu=t=>{const{onLogout:e,user:n,launchpad:r,icon:o}=t;return s.jsx(Qi,{user:n,onLogout:e,icon:o,components:r?.components})},Li=y.createContext(void 0),yu=()=>{const t=y.useContext(Li);if(t===void 0)throw new Error("useWorkspaceComponentsContext must be used within an WorkspaceComponentsContextProvider");return t},bu=()=>{const{HeaderLogoArea:t,workspaceLogoProps:e}=yu();return t?s.jsx(t,{...e}):s.jsx(gu,{...e})};function wu(t,e){const[n,r]=y.useState(!0),o=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{let i;return(async()=>{if(!o.workspaces)return;let a;try{a=await o.workspaces.getWorkspaceById(t)}catch(l){console.warn(l);return}const c=a.getAllGroups().find(l=>l.id===e);c&&(i=await c.onLockConfigurationChanged(({showAddWindowButton:l})=>{l!==void 0&&r(l)}),r(!!c.showAddWindowButton))})(),()=>i?.()},[t,e,o.workspaces]),n}const xu=({groupId:t,workspaceId:e})=>{const n=wu(e,t),r=y.useCallback(o=>{ht.showAddApplicationPopup({bounds:o,groupId:t,workspaceId:e})},[t,e]);return n&&s.jsx(ht.AddWindowButton,{title:"Add App",visible:n,showPopup:r})},Cu=t=>s.jsx(ht.GroupHeaderButtons,{...t,addWindow:{visible:!1,showPopup:t.addWindow.showPopup}}),Tr=({onLogout:t,user:e,workspaces:n,launchpad:r})=>{const o=n?.HeaderLogoArea,i={onLogout:t,user:e,launchpad:r};return s.jsx(Li.Provider,{value:{workspaceLogoProps:i,HeaderLogoArea:o},children:s.jsx(ht,{components:{...n?.components,header:{...n?.components?.header,LogoComponent:bu},groupHeader:{AfterTabsComponent:xu,ButtonsComponent:Cu,...n?.components?.groupHeader}}})})},Ou=({config:t})=>{const{setupFlow:e,getIOConnectConfig:n}=t,r=t.login,{permission:o}=Ge(),[i,a]=an("localStorage",ls,vu),[c,l]=y.useState(!1),u=y.useCallback(async(p,d)=>{const h=await r.onLogin(p,d);a(h)},[r,a]),f=y.useCallback(()=>{l(!0),r.onLogout?.(),a(null)},[r,a]);return c?s.jsx(Ii,{components:r.components}):i?!o.isSetupCompleted&&e?.enabled!==!1?s.jsx(bn,{settings:e?.settings,components:e?.components}):s.jsx(ee.IOConnectProvider,{settings:n(i),children:s.jsx(Tr,{workspaces:t?.workspaces,launchpad:t?.launchpad,onLogout:f,user:i})}):s.jsx(Ri,{onLogin:u,components:r.components,userInputName:r.userInputName})},ir={POPUP:"popup",REDIRECT:"redirect"},ju=({config:t})=>{const[e,n]=y.useState(void 0),{permission:r}=Ge(),o=au(),{setupFlow:i,getIOConnectConfig:a}=t,c=t.login.components?.Logo||rt,u=(t.login.loginType??ir.REDIRECT)===ir.REDIRECT?o.loginWithRedirect:o.loginWithPopup,f=y.useMemo(()=>o.user?.email?{username:o.user.name,id:o.user.email,token:e}:null,[o.user,e]);return y.useEffect(()=>{o.isAuthenticated&&o.getAccessTokenSilently().then(n).catch(console.warn)},[o]),!o.isAuthenticated||!f?s.jsx(Ai,{isLoading:o.isLoading,onLogin:u,components:t.login.components}):e?!r.isSetupCompleted&&i?.enabled!==!1?s.jsx(bn,{settings:i?.settings,components:i?.components}):s.jsx(ee.IOConnectProvider,{settings:a({...o.user,token:e}),children:s.jsx(Tr,{workspaces:t.workspaces,launchpad:t.launchpad,onLogout:o.logout,user:f})}):s.jsx(Pr,{Logo:c,children:s.jsx(kr,{})})},Eu=({config:t})=>{const{setupFlow:e,ioConnectConfig:n}=t,{permission:r}=Ge();return!r.isSetupCompleted&&e?.enabled!==!1?s.jsx(bn,{settings:e?.settings,components:e?.components}):s.jsx(ee.IOConnectProvider,{settings:n,children:s.jsx(Tr,{workspaces:t.workspaces,launchpad:t.launchpad})})},Mi=ye({Logo:$(me().andThen(t=>Re(t,"Logo"))),Heading:$(me().andThen(t=>Re(t,"Heading")))}),Su=Xt(...Object.values(ir).map(t=>Rt(t))),ku=ye({type:Rt("auth0"),loginType:$(Su),providerOptions:me(),components:$(Mi)}),Pu=ye({type:Rt("simple"),onLogin:me().andThen(t=>Re(t,"onLogin")),onLogout:$(me().andThen(t=>Re(t,"onLogout"))),userInputName:$(fe),components:$(Mi)}),Tu=Xt(ku,Pu),_u=ye({edgeNotificationsPermissionTimeout:$(bs)}),Iu=ye({Logo:$(me().andThen(t=>Re(t,"Logo")))}),Nu=ye({enabled:$(Lo()),components:$(Iu),settings:$(_u)}),Au=ye({components:$(me()),HeaderLogoArea:$(me().andThen(t=>Re(t,"HeaderLogoArea")))}),Ru=ye({sections:$(me()),Sections:$(me().andThen(t=>Re(t,"Sections"))),NotificationsPanel:$(Xt(me().andThen(t=>Re(t,"NotificationsPanel")),Rt(null))),UserPanel:$(Xt(me().andThen(t=>Re(t,"UserPanel")),Rt(null)))}),Lu=ye({components:$(Ru)}),Mu=ye({getIOConnectConfig:me().andThen(t=>Re(t,"getIOConnectConfig")),login:$(Tu),setupFlow:$(Nu),workspaces:$(Au),launchpad:$(Lu)}),Du=({config:t})=>{const e=Mu.runWithException(t),n=e.login,r=e.launchpad?.components;if(r?.sections&&r?.Sections)throw new Error("Launchpad sections are overspecified. Please provide either a JSX element or a React component.");if(n?.type==="simple")return s.jsx(Ou,{config:e});if(n?.type==="auth0"){const{providerOptions:o}=n;return s.jsx(su,{...o,authorizationParams:{...o.authorizationParams,redirect_uri:o.authorizationParams?.redirect_uri??window.location.origin},children:s.jsx(ju,{config:e})})}return s.jsx(Eu,{config:e})},Di=()=>"getScreenDetails"in window,Fu=({config:t})=>Di()?s.jsx(wi,{children:s.jsx(Du,{config:t})}):s.jsx(gi,{}),Fi=t=>t?.split(" ").map(e=>e[0]?.toUpperCase()).join(""),Ui=y.forwardRef((t,e)=>{const{onSearch:n,searchTerm:r,onClear:o}=t,i=y.useContext(ee.IOConnectContext);return y.useEffect(()=>{!i||!i.search||i.search.setDebounceMS(450)},[i]),s.jsxs("div",{className:"search","data-testid":"search-bar",children:[s.jsx("input",{type:"search",ref:e,className:"io-input",placeholder:"Find anything",value:r,onChange:n}),s.jsx(oe,{name:"delete-left",className:r.length!==0?"active":"",onClick:o,"data-testid":"delete-icon"})]})}),Uu=t=>t.reduce((e,n)=>{const{type:r}=n,o=n.id||n.displayName;if(!o||r.name===Ue.LAYOUT)return e;let i=[];r.name===Ue.APPLICATION?i=So:r.name===Ue.WORKSPACE?i=ko:n.secondaryActions&&(i=n.secondaryActions.map(({name:u,method:f,params:p,target:d})=>({name:u,interopParams:{method:f,params:p,target:d}})));const a={id:o,title:n.displayName||o,description:n.description,type:r.name,iconSrc:n.iconURL,mainAction:n.action,contextMenuActions:i},c=e.findIndex(({title:u})=>r.displayName?u===r.displayName:u===r.name),l=e[c];return l?[...e.slice(0,c),{...l,items:[...l.items,a]},...e.slice(c+1)]:[...e,{id:r.name,title:r.displayName||r.name,items:[a]}]},[]);function Hi(t){const{resultsToRender:e,isLoading:n}=_s(t.searchTerm),r=xt(),o=Os(),i=Ho(),a=Wo(),c=Uu(e),l=zo(),u=Vo(),f=(d,h)=>{const m=d.type===Ue.APPLICATION?l:d.type===Ue.WORKSPACE?u:null;m&&m(d,h)},p=async(d,h)=>{const{item:m,modifier:v,selectedContextMenuActionName:g}=h,{type:w,id:j,mainAction:O}=m,C=g?m.contextMenuActions?.find(b=>b.name===g):null;C?.interopParams?o(C.interopParams):g?f(m,g):O?o(O):w===Ue.APPLICATION?a(j,v).catch(b=>{console.error("Failed to start application",{error:b})}):w===Ue.WORKSPACE&&i(j,v).catch(b=>{console.error("Failed to restore workspace",{error:b})}),v!==ln.SHIFT&&r.close()};return n?s.jsx("p",{style:{padding:"12px 24px"},children:"Loading..."}):e.length===0?s.jsx("p",{style:{padding:"12px 24px"},children:"No results found."}):s.jsx("ul",{children:c.map((d,h)=>s.jsx(hn,{config:d,isFavoritismEnabled:!1,onItemClick:p},d.id||h))})}const Hu=(t,e,n)=>{const{isSectionCollapsible:r,sortOrder:o=At.ASCENDING,...i}=n;return{id:"workspaces-section",title:"Workspaces",items:sr({items:t,sortOrder:o,ascendingCompare:Po,descendingCompare:To}).map(l=>({...l,type:Ue.WORKSPACE,isOpen:e[l.title]?.length>0,contextMenuActions:ko})),isCollapsible:r,...i}},Wi=t=>{const{displayCount:e,isSectionCollapsible:n,showAllItems:r,sortOrder:o}=t,i=Is(),a=Ns(),c=Ho(),l=Vo(),u=y.useMemo(()=>Hu(i,a,{...{displayCount:e,showAllItems:r},isSectionCollapsible:n,sortOrder:o}),[i,a,e,n,r,o]),f=p=>{const{item:d,modifier:h,selectedContextMenuActionName:m}=p;if(!m)return c(d.id,h).catch(v=>{console.error("Failed to restore workspace",{error:v})});l(d,m)};return s.jsx(mn,{config:u,onItemClick:f})},Wu=()=>s.jsxs(s.Fragment,{children:[s.jsx(yi,{}),s.jsx(Wi,{}),s.jsx(mi,{})]}),zu={success:"check"},wo={SET_AS_DEFAULT:"setAsDefault",DELETE:"delete"},Vu=t=>[{name:wo.SET_AS_DEFAULT,displayName:"Set as Default",disabled:t.isDefault},{name:wo.DELETE,displayName:"Delete",disabled:t.name===ni||t.isDefault}],xo=t=>async e=>{e.stopPropagation();try{await t()}catch(n){console.error("Failed to handle layout action: ",n)}},Bu=t=>{const{layouts:e}=t,{setSelectedLayout:n,setDefaultLayout:r}=xt(),o=zs(),i=cr();return s.jsxs("div",{"data-testid":"available-layouts",children:[s.jsx("h6",{children:"Available Layouts"}),e.map(a=>s.jsxs("div",{className:G("layouts-item flex ai-center",a.isSelected&&"active"),"data-testid":"layout-item",children:[s.jsx("div",{className:"loaded me-8",children:a.isSelected&&s.jsx(oe,{size:12,name:"check"})}),s.jsx("div",{className:G("name",{bold:a.isSelected}),onClick:()=>{i(a.name,n)},children:a.name}),s.jsxs("div",{className:"type",children:[a.type,a.isDefault?"/Default":""]}),s.jsx(vr,{iconSize:16,iconName:"ellipsis",actions:Vu(a),onActionItemClick:(c,l)=>o(a,l.name,r)})]},a.name))]})},Co=t=>{const{inputValue:e,setNotification:n,className:r=""}=t,{selectedLayout:o,setSelectedLayout:i}=xt(),a=cr(),c=y.useContext(ee.IOConnectContext),l=[{label:"Save",type:"save",onClick:xo(async()=>{await c.layouts.save({name:e,type:"Global"}),i({name:e}),n({message:"Saved",type:"success"})}),testId:"save-button"},{label:"Restore",type:"restore",onClick:xo(()=>{o&&a(o.name)}),testId:"restore-button"}];return s.jsx("div",{className:G("layout-actions",r),"data-testid":"layout-actions",children:l.map(({label:u,type:f,disabled:p,onClick:d,testId:h})=>s.jsx("button",{onClick:d,disabled:p,className:"io-btn","data-testid":h,children:u},f))})},Zu=({className:t,message:e,type:n})=>s.jsxs("div",{className:G("layout-notification",`layout-notification-${n}`,t),"data-testid":"layout-notification",children:[s.jsx(oe,{size:12,name:zu[n]}),s.jsx("span",{"data-testid":"layout-notification-message",children:e})]}),zi=()=>{const t=y.useRef(null),[e,n]=y.useState(!1),[r,o]=y.useState(null),i=js(),{defaultLayout:a,selectedLayout:c}=xt(),[l,u]=y.useState("");y.useEffect(()=>{if(!e)return;const p=h=>{t.current?.contains(h.target)||n(!1)},d=()=>{document.activeElement?.nodeName==="IFRAME"&&n(!1)};return document.addEventListener("click",p,!0),window.addEventListener("blur",d,!0),()=>{document.removeEventListener("click",p,!0),window.removeEventListener("blur",d,!0)}},[e]),y.useEffect(()=>{if(!r)return;const p=setTimeout(()=>o(null),3e3);return()=>clearTimeout(p)},[r]),y.useEffect(()=>{c&&u(c.name)},[c]);const f=()=>{n(p=>!p),c&&u(c.name)};return s.jsxs("footer",{className:"footer",ref:t,"data-testid":"layouts-panel",children:[s.jsxs("div",{"aria-label":"Layouts panel","aria-expanded":e,role:"button",...mt(f),className:"selected-layout flex ai-center","data-testid":"selected-layout",children:[s.jsx("span",{className:G("name",{hidden:e}),"data-testid":"selected-layout-name",children:c?.name||"No selected layout"}),s.jsxs("div",{className:"flex ai-center","data-testid":"layout-actions-and-toggle",children:[!e&&s.jsx(Co,{inputValue:l,setNotification:o}),s.jsx(oe,{className:G("ms-8","layouts-panel-toggle-button",{"layouts-panel-toggle-button-rotated":e}),name:"chevron-up","data-testid":"layouts-panel-toggle"})]})]}),s.jsx(li,{isOpen:e,children:s.jsxs("div",{className:"layouts-container",children:[s.jsxs("div",{className:"layouts-settings",children:[s.jsx("input",{className:"io-input",onChange:p=>u(p.target.value),value:l,"data-testid":"layout-name-input"}),s.jsx(Co,{className:"group",inputValue:l,setNotification:o})]}),s.jsx(Bu,{layouts:i.map(p=>({...p,isSelected:p.name===c?.name,isDefault:p.name===a?.name}))})]})}),r?s.jsx(Zu,{className:G({"ms-8 me-8":e}),message:r.message,type:r.type}):s.jsx("div",{className:"powered-by",children:"Powered by io.Connect Browser"})]})},$u=t=>{const e=new Date(t),n=e.getHours(),r=e.getMinutes().toString().padStart(2,"0"),o=e.getSeconds().toString().padStart(2,"0"),i=n>=12?"PM":"AM",a=e.getMonth()+1,c=e.getDate(),l=e.getFullYear();return`${n%12}:${r}:${o} ${i} ${a}/${c}/${l}`},Vi=t=>{const{severity:e="None",id:n,timestamp:r,title:o,body:i,actions:a}=t.notificationData,c=y.useContext(ee.IOConnectContext),l=()=>{c&&c.notifications.clear(n).catch(console.error)},u=async p=>{p.stopPropagation();try{await c.notifications.click(n),l()}catch(d){console.error(d)}},f=a?.map(({action:p,title:d})=>({children:d,onClick:async h=>{h.stopPropagation();try{await c.notifications.click(n,p),l()}catch(m){console.error(m)}}}));return s.jsxs("div",{className:"notifications-list-item",style:{borderLeftColor:Es[e]},onClick:u,"data-testid":"notification-container",children:[s.jsxs("div",{className:"notification-header","data-testid":"notification-header",children:[s.jsx("h4",{children:o}),s.jsx(oe,{onClick:p=>{p.stopPropagation(),l()},className:"io-btn close-btn",size:16,name:"close","data-testid":"close-icon"})]}),i&&s.jsx("p",{"data-testid":"notification-body",children:i}),r&&s.jsx("p",{"data-testid":"notification-timestamp",children:$u(r)}),f&&s.jsx(gn,{className:"notification-actions","data-testid":"notification-actions",items:f})]})},_r=t=>{const{className:e}=t,n=Fo().length;return n>0?s.jsx("span",{className:G("notifications-badge",e),"data-testid":"notifications-badge",children:n<10?n:"9+"}):null},Bi=t=>{const{className:e,iconSize:n=24,...r}=t;return s.jsxs("div",{className:G(e,"notifications-icon"),"data-testid":"notifications-icon",...r,children:[s.jsx(oe,{size:n,name:"bell"}),s.jsx(_r,{})]})},Zi=()=>{const{onNotificationsSort:t,sortedNotifications:e}=Ts(),n=y.useContext(ee.IOConnectContext),r=y.useCallback(()=>{n&&n.notifications.clearAll().catch(console.error)},[n]);return s.jsxs("div",{className:"notifications-panel","data-testid":"notifications-panel",children:[s.jsxs("div",{className:"header","data-testid":"notifications-panel-header",children:[s.jsx("div",{className:"header-caption",children:s.jsxs("div",{children:["Notifications (",e.length,")"]})}),s.jsx(gn,{items:[{children:"Latest",onClick:()=>t("timestamp")},{children:"By Priority",onClick:()=>t("severity")}]})]}),e.length?s.jsx("div",{className:"notifications-list","data-testid":"notifications-list",children:e.map(o=>s.jsx(Vi,{notificationData:o},o.id))}):s.jsx("div",{className:"no-notifications",children:"No notifications"}),s.jsx("div",{className:"footer","data-testid":"notifications-panel-footer",children:s.jsx(Wt,{children:"Clear All",onClick:r})})]})},Gu=({user:t})=>{const e=y.useContext(ee.IOConnectContext),n=t?.username||"N A";return s.jsxs("div",{className:"flex info info-top",children:[s.jsxs("div",{children:[s.jsx("h4",{children:n}),s.jsxs("p",{children:["PROD"," | ","Version "+e.version]})]}),s.jsx("div",{className:"flex badge",children:Fi(n)})]})},$i=()=>{const t=y.useContext(ee.IOConnectContext),[e,n]=y.useState([]);y.useEffect(()=>{t&&t.themes?.list().then(o=>n(o)).catch(console.warn)},[t]);const r=async(o,i)=>{i.name&&t.themes?.select(i.name).catch(console.warn)};return s.jsxs("div",{className:"info info-middle",children:[s.jsx("h4",{children:"Settings"}),s.jsxs("div",{className:"flex ai-center",children:[s.jsx("label",{style:{textAlign:"right",width:"40%"},children:"Theme"}),s.jsx("div",{style:{width:"60%",marginLeft:"auto"},children:s.jsx(gn,{onItemClick:r,items:e.map(({name:o,displayName:i})=>({name:o,children:i}))})})]})]})},Gi=({title:t,description:e,links:n=[],onLogout:r,user:o})=>{const[i,a]=an("sessionStorage",Ro,ti),c=y.useContext(ee.IOConnectContext),l=async()=>{try{r?.()}catch(u){console.error(u)}a(null),await c.webPlatform?.system.shutdown(),window.location.reload()};return s.jsxs("div",{className:"info info-bottom flex flex-column",children:[s.jsx("h4",{children:t||"Support"}),s.jsx("p",{children:e||"New set of thoughtfully curated items and the ability to configure them."}),s.jsx("ul",{children:n.map(({children:u,...f})=>s.jsx("li",{children:s.jsx("a",{...f,children:u})},f.href))}),o?.id&&s.jsx("div",{children:s.jsx(Wt,{onClick:l,children:"Log Out"})})]})},qi=({onLogout:t,user:e})=>s.jsxs(s.Fragment,{children:[s.jsx(Gu,{user:e}),s.jsx($i,{}),s.jsx(Gi,{onLogout:t,user:e})]}),Ki=t=>{const{initials:e,className:n,...r}=t;return s.jsx("div",{className:G(n,"user-panel-icon"),...r,children:e})},Oo=({children:t,closeFn:e,open:n=!1,showCloseButton:r=!0})=>{const o=y.useRef(null);return y.useEffect(()=>{n?o.current?.showModal():o.current?.close()},[n]),s.jsx("dialog",{ref:o,onClose:()=>{n&&e()},onClick:i=>{i.target.nodeName==="DIALOG"&&e()},children:s.jsxs("div",{className:"dialog-backer",children:[r&&s.jsx(oe,{onClick:e,className:"btn-close io-btn io-btn-icon",size:16,name:"close"}),t]})})};function Yi(t){const{open:e,setOpen:n,onLogout:r,className:o,components:i={},user:a,...c}=t,[l,u]=y.useState(""),[f,p]=y.useState(!1),[d,h]=y.useState(!1),m=y.useRef(null),v=i?.NotificationsPanel!==null,g=i?.UserPanel!==null,w=i?.NotificationsPanel??Zi,j=i?.UserPanel??qi;y.useEffect(()=>{if(e){m.current?.focus();return}u("")},[e]);const O=_=>{u(_.target.value)},C=()=>{u("")},b=i.Sections?s.jsx(i.Sections,{}):i.sections,k=s.jsx(hl,{children:s.jsx("ul",{children:b??s.jsx(Wu,{})})});return s.jsxs(lc,{setOpen:n,isOpen:e,children:[s.jsxs("div",{className:G(o),...c,children:[s.jsxs("header",{children:[s.jsx(Ui,{ref:m,searchTerm:l,onSearch:O,onClear:C}),s.jsxs("div",{className:"action-area",children:[v&&s.jsx(Bi,{"aria-label":"Notifications",role:"button",...mt(()=>p(!0))}),g&&s.jsx(Ki,{initials:Fi(a?.username||"N A"),"aria-label":"Profile and Settings",role:"button",...mt(()=>h(!0))})]}),s.jsx(oe,{className:"btn-close io-btn io-btn-icon",size:16,name:"close",handleClick:()=>n(!1)})]}),s.jsx("main",{children:l.trim().length<3?k:s.jsx(Hi,{searchTerm:l})}),s.jsx(zi,{})]}),v&&s.jsx(Oo,{open:f,closeFn:()=>p(!1),children:s.jsx(w,{})}),g&&s.jsx(Oo,{open:d,closeFn:()=>h(!1),children:s.jsx(j,{onLogout:r,user:a})})]})}const Xi=()=>s.jsxs(s.Fragment,{children:[s.jsx(ht.Logo,{frameId:""}),s.jsx(_r,{})]}),qu="_workspaceLogo_t3m7s_1",jo={workspaceLogo:qu,"launchpad-popup":"_launchpad-popup_t3m7s_9","slide-in":"_slide-in_t3m7s_32"},Ji=t=>{const[e,n]=y.useState(!1),r=y.useRef(null),o=y.useRef(null),{icon:i,children:a}=t;return y.useEffect(()=>{if(!e)return;const c=u=>{const f=u.target!==r.current&&!r.current?.contains(u.target);!(u.target===o.current||o.current?.contains(u.target))&&f&&n(!1)},l=()=>{document.activeElement?.nodeName==="IFRAME"&&n(!1)};return document.addEventListener("mouseup",c,!0),window.addEventListener("blur",l,!0),()=>{document.removeEventListener("mouseup",c,!0),window.removeEventListener("blur",l,!0)}},[e]),s.jsxs("div",{ref:r,children:[s.jsx("button",{"aria-label":"Launchpad",onClick:()=>n(c=>!c),className:`io-logo ${e===!0?"active":""}`,ref:o,children:s.jsx("div",{className:"logo-wrapper",children:i})}),s.jsx("div",{children:s.jsx("div",{className:G(jo["launchpad-popup"],{[jo["slide-in"]]:e}),children:a({open:e,setOpen:n})})})]})},Qi=t=>{const{icon:e,components:n,user:r,onLogout:o}=t;return s.jsx(Ji,{icon:e??s.jsx(Xi,{}),children:({open:i,setOpen:a})=>s.jsx(Yi,{open:i,setOpen:a,components:n,user:r,onLogout:o})})};exports.ApplicationsSection=mi;exports.Auth0LoginForm=Ni;exports.Auth0LoginPage=Ai;exports.BaseSection=hn;exports.BaseSectionHeader=Ao;exports.BaseSectionItem=ei;exports.BrowserNotSupported=gi;exports.Button=Wt;exports.ButtonGroup=gn;exports.ContextMenu=Qo;exports.DropdownButton=vr;exports.FavoritesSection=yi;exports.IOConnectHome=Fu;exports.IOConnectHomeProvider=wi;exports.Icon=oe;exports.ImgIcon=ar;exports.Launchpad=Yi;exports.LaunchpadSlidePanel=Qi;exports.LayoutsPanel=zi;exports.LoginLoader=hu;exports.Logo=Xi;exports.LogoutPage=Ii;exports.Notification=Vi;exports.NotificationsBadge=_r;exports.NotificationsIcon=Bi;exports.NotificationsPanel=Zi;exports.PermissionsSetup=bn;exports.SearchBar=Ui;exports.SearchResults=Hi;exports.Section=mn;exports.SettingsCard=$i;exports.SimpleLoginPage=Ri;exports.SlidePanel=Ji;exports.SupportCard=Gi;exports.UserPanel=qi;exports.UserPanelIcon=Ki;exports.WorkspacesSection=Wi;exports.useFavoriteEntities=cn;exports.useIOConnectHome=Ge;exports.useIsBrowserSupported=Di;
|
|
48
48
|
//# sourceMappingURL=index.js.map
|