@equinor/echo-framework 0.23.0-beta-1 → 0.23.0
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/{f4c85313e79b1662.svg → 1bd97dd2170d0f64.svg} +850 -850
- package/{063009f06499d102.svg → 47deeba42768c5d1.svg} +8 -8
- package/README.md +28 -28
- package/index.cjs.d.ts +2 -2
- package/index.cjs.js +2 -2
- package/package.json +2 -2
- package/src/lib/feature/globalSelection/components/SelectionActionBar.d.ts +1 -0
- package/src/lib/feature/globalSelection/globalSelection.api.d.ts +9 -1
package/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@equinor/echo-utils"),t=require("lodash"),n=require("@equinor/echo-core"),r=require("react"),o=require("react-router-dom"),i=require("@equinor/echo-components"),a=require("zustand"),s=require("@equinor/echo-base"),l=require("@equinor/echo-search"),c=require("react/jsx-runtime"),u=require("classnames"),d=require("@equinor/eds-core-react"),m=require("react-dom"),p=require("immer"),h=require("@equinor/eds-icons"),f=require("@microsoft/signalr"),g=require("history"),v=require("@tanstack/react-query");function y(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var x=y(r),b=y(a),C=y(h),I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function E(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _=function(e){return e&&e.Math===Math&&e},A=_("object"==typeof globalThis&&globalThis)||_("object"==typeof window&&window)||_("object"==typeof self&&self)||_("object"==typeof I&&I)||_("object"==typeof I&&I)||function(){return this}()||Function("return this")(),w={},S=function(e){try{return!!e()}catch(e){return!0}},k=!S((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),j=!S((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),N=j,T=Function.prototype.call,P=N?T.bind(T):function(){return T.apply(T,arguments)},O={},M={}.propertyIsEnumerable,L=Object.getOwnPropertyDescriptor,B=L&&!M.call({1:2},1);O.f=B?function(e){var t=L(this,e);return!!t&&t.enumerable}:M;var D,R,z=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},F=j,H=Function.prototype,q=H.call,U=F&&H.bind.bind(q,q),G=F?U:function(e){return function(){return q.apply(e,arguments)}},W=G,Q=W({}.toString),Y=W("".slice),V=function(e){return Y(Q(e),8,-1)},Z=S,K=V,J=Object,X=G("".split),$=Z((function(){return!J("z").propertyIsEnumerable(0)}))?function(e){return"String"===K(e)?X(e,""):J(e)}:J,ee=function(e){return null==e},te=ee,ne=TypeError,re=function(e){if(te(e))throw new ne("Can't call method on "+e);return e},oe=$,ie=re,ae=function(e){return oe(ie(e))},se="object"==typeof document&&document.all,le=void 0===se&&void 0!==se?function(e){return"function"==typeof e||e===se}:function(e){return"function"==typeof e},ce=le,ue=function(e){return"object"==typeof e?null!==e:ce(e)},de=A,me=le,pe=function(e,t){return arguments.length<2?(n=de[e],me(n)?n:void 0):de[e]&&de[e][t];var n},he=G({}.isPrototypeOf),fe=A.navigator,ge=fe&&fe.userAgent,ve=ge?String(ge):"",ye=A,xe=ve,be=ye.process,Ce=ye.Deno,Ie=be&&be.versions||Ce&&Ce.version,Ee=Ie&&Ie.v8;Ee&&(R=(D=Ee.split("."))[0]>0&&D[0]<4?1:+(D[0]+D[1])),!R&&xe&&(!(D=xe.match(/Edge\/(\d+)/))||D[1]>=74)&&(D=xe.match(/Chrome\/(\d+)/))&&(R=+D[1]);var _e=R,Ae=_e,we=S,Se=A.String,ke=!!Object.getOwnPropertySymbols&&!we((function(){var e=Symbol("symbol detection");return!Se(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Ae&&Ae<41})),je=ke&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ne=pe,Te=le,Pe=he,Oe=Object,Me=je?function(e){return"symbol"==typeof e}:function(e){var t=Ne("Symbol");return Te(t)&&Pe(t.prototype,Oe(e))},Le=String,Be=function(e){try{return Le(e)}catch(e){return"Object"}},De=le,Re=Be,ze=TypeError,Fe=function(e){if(De(e))return e;throw new ze(Re(e)+" is not a function")},He=Fe,qe=ee,Ue=function(e,t){var n=e[t];return qe(n)?void 0:He(n)},Ge=P,We=le,Qe=ue,Ye=TypeError,Ve={exports:{}},Ze=A,Ke=Object.defineProperty,Je=function(e,t){try{Ke(Ze,e,{value:t,configurable:!0,writable:!0})}catch(n){Ze[e]=t}return t},Xe=A,$e=Je,et="__core-js_shared__",tt=Ve.exports=Xe[et]||$e(et,{});(tt.versions||(tt.versions=[])).push({version:"3.41.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"});var nt=Ve.exports,rt=nt,ot=function(e,t){return rt[e]||(rt[e]=t||{})},it=re,at=Object,st=function(e){return at(it(e))},lt=st,ct=G({}.hasOwnProperty),ut=Object.hasOwn||function(e,t){return ct(lt(e),t)},dt=G,mt=0,pt=Math.random(),ht=dt(1..toString),ft=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ht(++mt+pt,36)},gt=ot,vt=ut,yt=ft,xt=ke,bt=je,Ct=A.Symbol,It=gt("wks"),Et=bt?Ct.for||Ct:Ct&&Ct.withoutSetter||yt,_t=function(e){return vt(It,e)||(It[e]=xt&&vt(Ct,e)?Ct[e]:Et("Symbol."+e)),It[e]},At=P,wt=ue,St=Me,kt=Ue,jt=function(e,t){var n,r;if("string"===t&&We(n=e.toString)&&!Qe(r=Ge(n,e)))return r;if(We(n=e.valueOf)&&!Qe(r=Ge(n,e)))return r;if("string"!==t&&We(n=e.toString)&&!Qe(r=Ge(n,e)))return r;throw new Ye("Can't convert object to primitive value")},Nt=TypeError,Tt=_t("toPrimitive"),Pt=function(e,t){if(!wt(e)||St(e))return e;var n,r=kt(e,Tt);if(r){if(void 0===t&&(t="default"),n=At(r,e,t),!wt(n)||St(n))return n;throw new Nt("Can't convert object to primitive value")}return void 0===t&&(t="number"),jt(e,t)},Ot=Me,Mt=function(e){var t=Pt(e,"string");return Ot(t)?t:t+""},Lt=ue,Bt=A.document,Dt=Lt(Bt)&&Lt(Bt.createElement),Rt=function(e){return Dt?Bt.createElement(e):{}},zt=Rt,Ft=!k&&!S((function(){return 7!==Object.defineProperty(zt("div"),"a",{get:function(){return 7}}).a})),Ht=k,qt=P,Ut=O,Gt=z,Wt=ae,Qt=Mt,Yt=ut,Vt=Ft,Zt=Object.getOwnPropertyDescriptor;w.f=Ht?Zt:function(e,t){if(e=Wt(e),t=Qt(t),Vt)try{return Zt(e,t)}catch(e){}if(Yt(e,t))return Gt(!qt(Ut.f,e,t),e[t])};var Kt={},Jt=k&&S((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Xt=ue,$t=String,en=TypeError,tn=function(e){if(Xt(e))return e;throw new en($t(e)+" is not an object")},nn=k,rn=Ft,on=Jt,an=tn,sn=Mt,ln=TypeError,cn=Object.defineProperty,un=Object.getOwnPropertyDescriptor,dn="enumerable",mn="configurable",pn="writable";Kt.f=nn?on?function(e,t,n){if(an(e),t=sn(t),an(n),"function"==typeof e&&"prototype"===t&&"value"in n&&pn in n&&!n[pn]){var r=un(e,t);r&&r[pn]&&(e[t]=n.value,n={configurable:mn in n?n[mn]:r[mn],enumerable:dn in n?n[dn]:r[dn],writable:!1})}return cn(e,t,n)}:cn:function(e,t,n){if(an(e),t=sn(t),an(n),rn)try{return cn(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new ln("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var hn=Kt,fn=z,gn=k?function(e,t,n){return hn.f(e,t,fn(1,n))}:function(e,t,n){return e[t]=n,e},vn={exports:{}},yn=k,xn=ut,bn=Function.prototype,Cn=yn&&Object.getOwnPropertyDescriptor,In=xn(bn,"name"),En={PROPER:In&&"something"===function(){}.name,CONFIGURABLE:In&&(!yn||yn&&Cn(bn,"name").configurable)},_n=le,An=nt,wn=G(Function.toString);_n(An.inspectSource)||(An.inspectSource=function(e){return wn(e)});var Sn,kn,jn,Nn=An.inspectSource,Tn=le,Pn=A.WeakMap,On=Tn(Pn)&&/native code/.test(String(Pn)),Mn=ft,Ln=ot("keys"),Bn=function(e){return Ln[e]||(Ln[e]=Mn(e))},Dn={},Rn=On,zn=A,Fn=ue,Hn=gn,qn=ut,Un=nt,Gn=Bn,Wn=Dn,Qn="Object already initialized",Yn=zn.TypeError,Vn=zn.WeakMap;if(Rn||Un.state){var Zn=Un.state||(Un.state=new Vn);Zn.get=Zn.get,Zn.has=Zn.has,Zn.set=Zn.set,Sn=function(e,t){if(Zn.has(e))throw new Yn(Qn);return t.facade=e,Zn.set(e,t),t},kn=function(e){return Zn.get(e)||{}},jn=function(e){return Zn.has(e)}}else{var Kn=Gn("state");Wn[Kn]=!0,Sn=function(e,t){if(qn(e,Kn))throw new Yn(Qn);return t.facade=e,Hn(e,Kn,t),t},kn=function(e){return qn(e,Kn)?e[Kn]:{}},jn=function(e){return qn(e,Kn)}}var Jn={set:Sn,get:kn,has:jn,enforce:function(e){return jn(e)?kn(e):Sn(e,{})},getterFor:function(e){return function(t){var n;if(!Fn(t)||(n=kn(t)).type!==e)throw new Yn("Incompatible receiver, "+e+" required");return n}}},Xn=G,$n=S,er=le,tr=ut,nr=k,rr=En.CONFIGURABLE,or=Nn,ir=Jn.enforce,ar=Jn.get,sr=String,lr=Object.defineProperty,cr=Xn("".slice),ur=Xn("".replace),dr=Xn([].join),mr=nr&&!$n((function(){return 8!==lr((function(){}),"length",{value:8}).length})),pr=String(String).split("String"),hr=vn.exports=function(e,t,n){"Symbol("===cr(sr(t),0,7)&&(t="["+ur(sr(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!tr(e,"name")||rr&&e.name!==t)&&(nr?lr(e,"name",{value:t,configurable:!0}):e.name=t),mr&&n&&tr(n,"arity")&&e.length!==n.arity&&lr(e,"length",{value:n.arity});try{n&&tr(n,"constructor")&&n.constructor?nr&&lr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=ir(e);return tr(r,"source")||(r.source=dr(pr,"string"==typeof t?t:"")),e};Function.prototype.toString=hr((function(){return er(this)&&ar(this).source||or(this)}),"toString");var fr=vn.exports,gr=le,vr=Kt,yr=fr,xr=Je,br=function(e,t,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:t;if(gr(n)&&yr(n,i,r),r.global)o?e[t]=n:xr(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:vr.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Cr={},Ir=Math.ceil,Er=Math.floor,_r=Math.trunc||function(e){var t=+e;return(t>0?Er:Ir)(t)},Ar=function(e){var t=+e;return t!=t||0===t?0:_r(t)},wr=Ar,Sr=Math.max,kr=Math.min,jr=function(e,t){var n=wr(e);return n<0?Sr(n+t,0):kr(n,t)},Nr=Ar,Tr=Math.min,Pr=function(e){var t=Nr(e);return t>0?Tr(t,9007199254740991):0},Or=Pr,Mr=function(e){return Or(e.length)},Lr=ae,Br=jr,Dr=Mr,Rr=function(e){return function(t,n,r){var o=Lr(t),i=Dr(o);if(0===i)return!e&&-1;var a,s=Br(r,i);if(e&&n!=n){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},zr={includes:Rr(!0),indexOf:Rr(!1)},Fr=ut,Hr=ae,qr=zr.indexOf,Ur=Dn,Gr=G([].push),Wr=function(e,t){var n,r=Hr(e),o=0,i=[];for(n in r)!Fr(Ur,n)&&Fr(r,n)&&Gr(i,n);for(;t.length>o;)Fr(r,n=t[o++])&&(~qr(i,n)||Gr(i,n));return i},Qr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Yr=Wr,Vr=Qr.concat("length","prototype");Cr.f=Object.getOwnPropertyNames||function(e){return Yr(e,Vr)};var Zr={};Zr.f=Object.getOwnPropertySymbols;var Kr=pe,Jr=Cr,Xr=Zr,$r=tn,eo=G([].concat),to=Kr("Reflect","ownKeys")||function(e){var t=Jr.f($r(e)),n=Xr.f;return n?eo(t,n(e)):t},no=ut,ro=to,oo=w,io=Kt,ao=function(e,t,n){for(var r=ro(t),o=io.f,i=oo.f,a=0;a<r.length;a++){var s=r[a];no(e,s)||n&&no(n,s)||o(e,s,i(t,s))}},so=S,lo=le,co=/#|\.prototype\./,uo=function(e,t){var n=po[mo(e)];return n===fo||n!==ho&&(lo(t)?so(t):!!t)},mo=uo.normalize=function(e){return String(e).replace(co,".").toLowerCase()},po=uo.data={},ho=uo.NATIVE="N",fo=uo.POLYFILL="P",go=uo,vo=A,yo=w.f,xo=gn,bo=br,Co=Je,Io=ao,Eo=go,_o=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,c=e.stat;if(n=l?vo:c?vo[s]||Co(s,{}):vo[s]&&vo[s].prototype)for(r in t){if(i=t[r],o=e.dontCallGetSet?(a=yo(n,r))&&a.value:n[r],!Eo(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Io(i,o)}(e.sham||o&&o.sham)&&xo(i,"sham",!0),bo(n,r,i,e)}},Ao=Wr,wo=Qr,So=Object.keys||function(e){return Ao(e,wo)},ko=k,jo=G,No=P,To=S,Po=So,Oo=Zr,Mo=O,Lo=st,Bo=$,Do=Object.assign,Ro=Object.defineProperty,zo=jo([].concat),Fo=!Do||To((function(){if(ko&&1!==Do({b:1},Do(Ro({},"a",{enumerable:!0,get:function(){Ro(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!==Do({},e)[n]||Po(Do({},t)).join("")!==r}))?function(e,t){for(var n=Lo(e),r=arguments.length,o=1,i=Oo.f,a=Mo.f;r>o;)for(var s,l=Bo(arguments[o++]),c=i?zo(Po(l),i(l)):Po(l),u=c.length,d=0;u>d;)s=c[d++],ko&&!No(a,l,s)||(n[s]=l[s]);return n}:Do,Ho=Fo;_o({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ho},{assign:Ho});var qo={},Uo=k,Go=Jt,Wo=Kt,Qo=tn,Yo=ae,Vo=So;qo.f=Uo&&!Go?Object.defineProperties:function(e,t){Qo(e);for(var n,r=Yo(t),o=Vo(t),i=o.length,a=0;i>a;)Wo.f(e,n=o[a++],r[n]);return e};var Zo,Ko=pe("document","documentElement"),Jo=tn,Xo=qo,$o=Qr,ei=Dn,ti=Ko,ni=Rt,ri="prototype",oi="script",ii=Bn("IE_PROTO"),ai=function(){},si=function(e){return"<"+oi+">"+e+"</"+oi+">"},li=function(e){e.write(si("")),e.close();var t=e.parentWindow.Object;return e=null,t},ci=function(){try{Zo=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;ci="undefined"!=typeof document?document.domain&&Zo?li(Zo):(t=ni("iframe"),n="java"+oi+":",t.style.display="none",ti.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(si("document.F=Object")),e.close(),e.F):li(Zo);for(var r=$o.length;r--;)delete ci[ri][$o[r]];return ci()};ei[ii]=!0;var ui=Object.create||function(e,t){var n;return null!==e?(ai[ri]=Jo(e),n=new ai,ai[ri]=null,n[ii]=e):n=ci(),void 0===t?n:Xo.f(n,t)},di=_t,mi=ui,pi=Kt.f,hi=di("unscopables"),fi=Array.prototype;void 0===fi[hi]&&pi(fi,hi,{configurable:!0,value:mi(null)});var gi=function(e){fi[hi][e]=!0},vi=zr.includes,yi=gi;_o({target:"Array",proto:!0,forced:S((function(){return!Array(1).includes()}))},{includes:function(e){return vi(this,e,arguments.length>1?arguments[1]:void 0)}}),yi("includes");var xi,bi,Ci,Ii=he,Ei=TypeError,_i=function(e,t){if(Ii(t,e))return e;throw new Ei("Incorrect invocation")},Ai=!S((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),wi=ut,Si=le,ki=st,ji=Ai,Ni=Bn("IE_PROTO"),Ti=Object,Pi=Ti.prototype,Oi=ji?Ti.getPrototypeOf:function(e){var t=ki(e);if(wi(t,Ni))return t[Ni];var n=t.constructor;return Si(n)&&t instanceof n?n.prototype:t instanceof Ti?Pi:null},Mi=fr,Li=Kt,Bi=function(e,t,n){return n.get&&Mi(n.get,t,{getter:!0}),n.set&&Mi(n.set,t,{setter:!0}),Li.f(e,t,n)},Di=k,Ri=Kt,zi=z,Fi=function(e,t,n){Di?Ri.f(e,t,zi(0,n)):e[t]=n},Hi=S,qi=le,Ui=ue,Gi=Oi,Wi=br,Qi=_t("iterator"),Yi=!1;[].keys&&("next"in(Ci=[].keys())?(bi=Gi(Gi(Ci)))!==Object.prototype&&(xi=bi):Yi=!0);var Vi=!Ui(xi)||Hi((function(){var e={};return xi[Qi].call(e)!==e}));Vi&&(xi={}),qi(xi[Qi])||Wi(xi,Qi,(function(){return this}));var Zi={IteratorPrototype:xi,BUGGY_SAFARI_ITERATORS:Yi},Ki=_o,Ji=A,Xi=_i,$i=tn,ea=le,ta=Oi,na=Bi,ra=Fi,oa=S,ia=ut,aa=Zi.IteratorPrototype,sa=k,la="constructor",ca="Iterator",ua=_t("toStringTag"),da=TypeError,ma=Ji[ca],pa=!ea(ma)||ma.prototype!==aa||!oa((function(){ma({})})),ha=function(){if(Xi(this,aa),ta(this)===aa)throw new da("Abstract class Iterator not directly constructable")},fa=function(e,t){sa?na(aa,e,{configurable:!0,get:function(){return t},set:function(t){if($i(this),this===aa)throw new da("You can't redefine this property");ia(this,e)?this[e]=t:ra(this,e,t)}}):aa[e]=t};ia(aa,ua)||fa(ua,ca),!pa&&ia(aa,la)&&aa[la]!==Object||fa(la,ha),ha.prototype=aa,Ki({global:!0,constructor:!0,forced:pa},{Iterator:ha});var ga=function(e){return{iterator:e,next:e.next,done:!1}},va=br,ya=function(e,t,n){for(var r in t)va(e,r,t[r],n);return e},xa=function(e,t){return{value:e,done:t}},ba=P,Ca=tn,Ia=Ue,Ea=function(e,t,n){var r,o;Ca(e);try{if(!(r=Ia(e,"return"))){if("throw"===t)throw n;return n}r=ba(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return Ca(r),n},_a=P,Aa=ui,wa=gn,Sa=ya,ka=Jn,ja=Ue,Na=Zi.IteratorPrototype,Ta=xa,Pa=Ea,Oa=_t("toStringTag"),Ma="IteratorHelper",La="WrapForValidIterator",Ba=ka.set,Da=function(e){var t=ka.getterFor(e?La:Ma);return Sa(Aa(Na),{next:function(){var n=t(this);if(e)return n.nextHandler();if(n.done)return Ta(void 0,!0);try{var r=n.nextHandler();return n.returnHandlerResult?r:Ta(r,n.done)}catch(e){throw n.done=!0,e}},return:function(){var n=t(this),r=n.iterator;if(n.done=!0,e){var o=ja(r,"return");return o?_a(o,r):Ta(void 0,!0)}if(n.inner)try{Pa(n.inner.iterator,"normal")}catch(e){return Pa(r,"throw",e)}return r&&Pa(r,"normal"),Ta(void 0,!0)}})},Ra=Da(!0),za=Da(!1);wa(za,Oa,"Iterator Helper");var Fa=function(e,t,n){var r=function(r,o){o?(o.iterator=r.iterator,o.next=r.next):o=r,o.type=t?La:Ma,o.returnHandlerResult=!!n,o.nextHandler=e,o.counter=0,o.done=!1,Ba(this,o)};return r.prototype=t?Ra:za,r},Ha=tn,qa=Ea,Ua=function(e,t,n,r){try{return r?t(Ha(n)[0],n[1]):t(n)}catch(t){qa(e,"throw",t)}},Ga=P,Wa=Fe,Qa=tn,Ya=ga,Va=Ua,Za=Fa((function(){var e=this.iterator,t=Qa(Ga(this.next,e));if(!(this.done=!!t.done))return Va(e,this.mapper,[t.value,this.counter++],!0)}));_o({target:"Iterator",proto:!0,real:!0,forced:false},{map:function(e){return Qa(this),Wa(e),new Za(Ya(this),{mapper:e})}});var Ka={};Ka[_t("toStringTag")]="z";var Ja="[object z]"===String(Ka),Xa=le,$a=V,es=_t("toStringTag"),ts=Object,ns="Arguments"===$a(function(){return arguments}()),rs=Ja?$a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=ts(e),es))?n:ns?$a(t):"Object"===(r=$a(t))&&Xa(t.callee)?"Arguments":r},os=rs,is=String,as=function(e){if("Symbol"===os(e))throw new TypeError("Cannot convert a Symbol value to a string");return is(e)},ss=tn,ls=function(){var e=ss(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},cs=P,us=ut,ds=he,ms=ls,ps=RegExp.prototype,hs=function(e){var t=e.flags;return void 0!==t||"flags"in ps||us(e,"flags")||!ds(ps,e)?t:cs(ms,e)},fs=En.PROPER,gs=br,vs=tn,ys=as,xs=S,bs=hs,Cs="toString",Is=RegExp.prototype,Es=Is[Cs],_s=xs((function(){return"/a/b"!==Es.call({source:"a",flags:"b"})})),As=fs&&Es.name!==Cs;(_s||As)&&gs(Is,Cs,(function(){var e=vs(this);return"/"+ys(e.source)+"/"+ys(bs(e))}),{unsafe:!0});var ws,Ss,ks=ue,js=V,Ns=_t("match"),Ts=function(e){var t;return ks(e)&&(void 0!==(t=e[Ns])?!!t:"RegExp"===js(e))},Ps=Ts,Os=TypeError,Ms=function(e){if(Ps(e))throw new Os("The method doesn't accept regular expressions");return e},Ls=_t("match"),Bs=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Ls]=!1,"/./"[e](t)}catch(e){}}return!1},Ds=_o,Rs=Ms,zs=re,Fs=as,Hs=Bs,qs=G("".indexOf);Ds({target:"String",proto:!0,forced:!Hs("includes")},{includes:function(e){return!!~qs(Fs(zs(this)),Fs(Rs(e)),arguments.length>1?arguments[1]:void 0)}}),exports.LegendStatus=void 0,(ws=exports.LegendStatus||(exports.LegendStatus={})).Unknown="Unknown",ws.Multiple="Multiple",ws.ApiError="Api Error: Failed to get data for legend",ws.AsBuilt="AsBuilt",ws.Planned="Planned",ws.Reserved="Reserved",ws.Future="Future",ws.Historic="Historic",ws.OutOfService="Out of Service",ws.Voided="Voided",ws.OK="OK",ws.OS="OS",ws.PA="PA",ws.PB="PB",ws.RFCCSent="RFCCSent",ws.RFCCPartly="RFCCPartly",ws.RFCC="RFCC",ws.RFOCSent="RFOCSent",ws.RFOCPartly="RFOCPartly",ws.RFOC="RFOC",ws.RFCCRejected="RFCCRejected",ws.RFOCRejected="RFOCRejected",ws.Error="Error",ws.PM01="PM01",ws.PM02="PM02",ws.PM03="PM03",ws.PM04="PM04",ws.PM05="PM05",ws.PM06="PM06",ws.PM10="PM10",ws.PM15="PM15",ws.PM20="PM20",ws.LC="LC",ws.LO="LO",ws.OnWatch="On watch",ws.InProgress="In progress",ws.IocAnnotationError="IocAnnotationError",ws.Note="Note",ws.Archived="Archived",exports.LegendType=void 0,(Ss=exports.LegendType||(exports.LegendType={})).Stid="Stid",Ss.CommPk="CommPk",Ss.CommPkStatus="CommPkStatus",Ss.MCCRStatus="MCCRStatus",Ss.CPCLStatus="CPCLStatus",Ss.Notifications="Notifications",Ss.WorkOrders="WorkOrders",Ss.WorkOrderRevision="WorkOrderRevision",Ss.ValvePosition="ValvePosition",Ss.MeasuringPosition="MeasuringPosition",Ss.WorkPermit="WorkPermit",Ss.IocAnnotations="IocAnnotations";var Us=V,Gs=Array.isArray||function(e){return"Array"===Us(e)},Ws=TypeError,Qs=function(e){if(e>9007199254740991)throw Ws("Maximum allowed index exceeded");return e},Ys=V,Vs=G,Zs=function(e){if("Function"===Ys(e))return Vs(e)},Ks=Fe,Js=j,Xs=Zs(Zs.bind),$s=function(e,t){return Ks(e),void 0===t?e:Js?Xs(e,t):function(){return e.apply(t,arguments)}},el=Gs,tl=Mr,nl=Qs,rl=$s,ol=function(e,t,n,r,o,i,a,s){for(var l,c,u=o,d=0,m=!!a&&rl(a,s);d<r;)d in n&&(l=m?m(n[d],d,t):n[d],i>0&&el(l)?(c=tl(l),u=ol(e,t,l,c,u,i-1)-1):(nl(u+1),e[u]=l),u++),d++;return u},il=ol,al=G,sl=S,ll=le,cl=rs,ul=Nn,dl=function(){},ml=pe("Reflect","construct"),pl=/^\s*(?:class|function)\b/,hl=al(pl.exec),fl=!pl.test(dl),gl=function(e){if(!ll(e))return!1;try{return ml(dl,[],e),!0}catch(e){return!1}},vl=function(e){if(!ll(e))return!1;switch(cl(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return fl||!!hl(pl,ul(e))}catch(e){return!0}};vl.sham=!0;var yl=!ml||sl((function(){var e;return gl(gl.call)||!gl(Object)||!gl((function(){e=!0}))||e}))?vl:gl,xl=Gs,bl=yl,Cl=ue,Il=_t("species"),El=Array,_l=function(e){var t;return xl(e)&&(t=e.constructor,(bl(t)&&(t===El||xl(t.prototype))||Cl(t)&&null===(t=t[Il]))&&(t=void 0)),void 0===t?El:t},Al=function(e,t){return new(_l(e))(0===t?0:t)},wl=il,Sl=Fe,kl=st,jl=Mr,Nl=Al;_o({target:"Array",proto:!0},{flatMap:function(e){var t,n=kl(this),r=jl(n);return Sl(e),(t=Nl(n,0)).length=wl(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var Tl=k,Pl=Gs,Ol=TypeError,Ml=Object.getOwnPropertyDescriptor,Ll=Tl&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),Bl=st,Dl=Mr,Rl=Ll?function(e,t){if(Pl(e)&&!Ml(e,"length").writable)throw new Ol("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},zl=Qs;_o({target:"Array",proto:!0,arity:1,forced:S((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=Bl(this),n=Dl(t),r=arguments.length;zl(n+r);for(var o=0;o<r;o++)t[n]=arguments[o],n++;return Rl(t,n),n}}),gi("flatMap");var Fl=_o,Hl=P,ql=Fe,Ul=tn,Gl=ga,Wl=Ua,Ql=Fa((function(){for(var e,t,n=this.iterator,r=this.predicate,o=this.next;;){if(e=Ul(Hl(o,n)),this.done=!!e.done)return;if(t=e.value,Wl(n,r,[t,this.counter++],!0))return t}}));Fl({target:"Iterator",proto:!0,real:!0,forced:false},{filter:function(e){return Ul(this),ql(e),new Ql(Gl(this),{predicate:e})}});var Yl={},Vl=rs,Zl=Ue,Kl=ee,Jl=Yl,Xl=_t("iterator"),$l=function(e){if(!Kl(e))return Zl(e,Xl)||Zl(e,"@@iterator")||Jl[Vl(e)]},ec=P,tc=tn,nc=ga,rc=$l,oc=_o,ic=P,ac=Fe,sc=tn,lc=ga,cc=function(e,t){t&&"string"==typeof e||tc(e);var n=rc(e);return nc(tc(void 0!==n?ec(n,e):e))},uc=Ea,dc=Fa((function(){for(var e,t,n=this.iterator,r=this.mapper;;){if(t=this.inner)try{if(!(e=sc(ic(t.next,t.iterator))).done)return e.value;this.inner=null}catch(e){uc(n,"throw",e)}if(e=sc(ic(this.next,n)),this.done=!!e.done)return;try{this.inner=cc(r(e.value,this.counter++),!1)}catch(e){uc(n,"throw",e)}}}));oc({target:"Iterator",proto:!0,real:!0,forced:false},{flatMap:function(e){return sc(this),ac(e),new dc(lc(this),{mapper:e,inner:null})}});var mc=Yl,pc=_t("iterator"),hc=Array.prototype,fc=function(e){return void 0!==e&&(mc.Array===e||hc[pc]===e)},gc=P,vc=Fe,yc=tn,xc=Be,bc=$l,Cc=TypeError,Ic=function(e,t){var n=arguments.length<2?bc(e):t;if(vc(n))return yc(gc(n,e));throw new Cc(xc(e)+" is not iterable")},Ec=$s,_c=P,Ac=tn,wc=Be,Sc=fc,kc=Mr,jc=he,Nc=Ic,Tc=$l,Pc=Ea,Oc=TypeError,Mc=function(e,t){this.stopped=e,this.result=t},Lc=Mc.prototype,Bc=function(e,t,n){var r,o,i,a,s,l,c,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_RECORD),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),f=Ec(t,u),g=function(e){return r&&Pc(r,"normal",e),new Mc(!0,e)},v=function(e){return d?(Ac(e),h?f(e[0],e[1],g):f(e[0],e[1])):h?f(e,g):f(e)};if(m)r=e.iterator;else if(p)r=e;else{if(!(o=Tc(e)))throw new Oc(wc(e)+" is not iterable");if(Sc(o)){for(i=0,a=kc(e);a>i;i++)if((s=v(e[i]))&&jc(Lc,s))return s;return new Mc(!1)}r=Nc(e,o)}for(l=m?e.next:r.next;!(c=_c(l,r)).done;){try{s=v(c.value)}catch(e){Pc(r,"throw",e)}if("object"==typeof s&&s&&jc(Lc,s))return s}return new Mc(!1)},Dc=Bc,Rc=Fe,zc=tn,Fc=ga;_o({target:"Iterator",proto:!0,real:!0},{some:function(e){zc(this),Rc(e);var t=Fc(this),n=0;return Dc(t,(function(t,r){if(e(t,n++))return r()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}});var Hc=S,qc=A.RegExp,Uc=Hc((function(){var e=qc("a","y");return e.lastIndex=2,null!==e.exec("abcd")}));Uc||Hc((function(){return!qc("a","y").sticky}));var Gc,Wc,Qc=Uc||Hc((function(){var e=qc("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),Yc={BROKEN_CARET:Qc,UNSUPPORTED_Y:Uc},Vc=S,Zc=A.RegExp,Kc=Vc((function(){var e=Zc(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})),Jc=S,Xc=A.RegExp,$c=Jc((function(){var e=Xc("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),eu=P,tu=G,nu=as,ru=ls,ou=Yc,iu=ui,au=Jn.get,su=Kc,lu=$c,cu=ot("native-string-replace",String.prototype.replace),uu=RegExp.prototype.exec,du=uu,mu=tu("".charAt),pu=tu("".indexOf),hu=tu("".replace),fu=tu("".slice),gu=(Wc=/b*/g,eu(uu,Gc=/a/,"a"),eu(uu,Wc,"a"),0!==Gc.lastIndex||0!==Wc.lastIndex),vu=ou.BROKEN_CARET,yu=void 0!==/()??/.exec("")[1];(gu||yu||vu||su||lu)&&(du=function(e){var t,n,r,o,i,a,s,l=this,c=au(l),u=nu(e),d=c.raw;if(d)return d.lastIndex=l.lastIndex,t=eu(du,d,u),l.lastIndex=d.lastIndex,t;var m=c.groups,p=vu&&l.sticky,h=eu(ru,l),f=l.source,g=0,v=u;if(p&&(h=hu(h,"y",""),-1===pu(h,"g")&&(h+="g"),v=fu(u,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==mu(u,l.lastIndex-1))&&(f="(?: "+f+")",v=" "+v,g++),n=new RegExp("^(?:"+f+")",h)),yu&&(n=new RegExp("^"+f+"$(?!\\s)",h)),gu&&(r=l.lastIndex),o=eu(uu,p?n:l,v),p?o?(o.input=fu(o.input,g),o[0]=fu(o[0],g),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:gu&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),yu&&o&&o.length>1&&eu(cu,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&m)for(o.groups=a=iu(null),i=0;i<m.length;i++)a[(s=m[i])[0]]=o[s[1]];return o});var xu=du;_o({target:"RegExp",proto:!0,forced:/./.exec!==xu},{exec:xu});var bu=P,Cu=br,Iu=xu,Eu=S,_u=_t,Au=gn,wu=_u("species"),Su=RegExp.prototype,ku=function(e,t,n,r){var o=_u(e),i=!Eu((function(){var t={};return t[o]=function(){return 7},7!==""[e](t)})),a=i&&!Eu((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[wu]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var s=/./[o],l=t(o,""[e],(function(e,t,n,r,o){var a=t.exec;return a===Iu||a===Su.exec?i&&!o?{done:!0,value:bu(s,t,n,r)}:{done:!0,value:bu(e,n,t,r)}:{done:!1}}));Cu(String.prototype,e,l[0]),Cu(Su,o,l[1])}r&&Au(Su[o],"sham",!0)},ju=yl,Nu=Be,Tu=TypeError,Pu=tn,Ou=function(e){if(ju(e))return e;throw new Tu(Nu(e)+" is not a constructor")},Mu=ee,Lu=_t("species"),Bu=function(e,t){var n,r=Pu(e).constructor;return void 0===r||Mu(n=Pu(r)[Lu])?t:Ou(n)},Du=G,Ru=Ar,zu=as,Fu=re,Hu=Du("".charAt),qu=Du("".charCodeAt),Uu=Du("".slice),Gu=function(e){return function(t,n){var r,o,i=zu(Fu(t)),a=Ru(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=qu(i,a))<55296||r>56319||a+1===s||(o=qu(i,a+1))<56320||o>57343?e?Hu(i,a):r:e?Uu(i,a,a+2):o-56320+(r-55296<<10)+65536}},Wu={codeAt:Gu(!1),charAt:Gu(!0)},Qu=Wu.charAt,Yu=function(e,t,n){return t+(n?Qu(e,t).length:1)},Vu=P,Zu=tn,Ku=le,Ju=V,Xu=xu,$u=TypeError,ed=function(e,t){var n=e.exec;if(Ku(n)){var r=Vu(n,e,t);return null!==r&&Zu(r),r}if("RegExp"===Ju(e))return Vu(Xu,e,t);throw new $u("RegExp#exec called on incompatible receiver")},td=P,nd=G,rd=ku,od=tn,id=ee,ad=re,sd=Bu,ld=Yu,cd=Pr,ud=as,dd=Ue,md=ed,pd=S,hd=Yc.UNSUPPORTED_Y,fd=Math.min,gd=nd([].push),vd=nd("".slice),yd=!pd((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),xd="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;rd("split",(function(e,t,n){var r="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:td(t,this,e,n)}:t;return[function(t,n){var o=ad(this),i=id(t)?void 0:dd(t,e);return i?td(i,t,o,n):td(r,ud(o),t,n)},function(e,o){var i=od(this),a=ud(e);if(!xd){var s=n(r,i,a,o,r!==t);if(s.done)return s.value}var l=sd(i,RegExp),c=i.unicode,u=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(hd?"g":"y"),d=new l(hd?"^(?:"+i.source+")":i,u),m=void 0===o?4294967295:o>>>0;if(0===m)return[];if(0===a.length)return null===md(d,a)?[a]:[];for(var p=0,h=0,f=[];h<a.length;){d.lastIndex=hd?0:h;var g,v=md(d,hd?vd(a,h):a);if(null===v||(g=fd(cd(d.lastIndex+(hd?h:0)),a.length))===p)h=ld(a,h,c);else{if(gd(f,vd(a,p,h)),f.length===m)return f;for(var y=1;y<=v.length-1;y++)if(gd(f,v[y]),f.length===m)return f;h=p=g}}return gd(f,vd(a,p)),f}]}),xd||!yd,hd);function bd(e){return e.includes("+")}const Cd={toMultiStatus:function(e){return e.join("+")},toSingleStatuses:function(e){var t,n;return null!==(n=null===(t=null==e?void 0:e.split("+"))||void 0===t?void 0:t.filter((e=>e.length>0)))&&void 0!==n?n:[]},hasMultiStatuses:bd,isSingleStatus:function(e){return!bd(e)},multiListToSingleList:function(e){const n=t.uniq(e.map((e=>Cd.toSingleStatuses(e))).flatMap((e=>e)));return!e.includes(exports.LegendStatus.Multiple)&&e.some((e=>Cd.hasMultiStatuses(e)))&&n.push(exports.LegendStatus.Multiple),n}};function Id(t=""){const n=getComputedStyle(document.documentElement);if(!t)return n.getPropertyValue("--unknown");const r=t.toString().toLowerCase();if(r.includes("open"))return n.getPropertyValue("--ok");if(r.includes("closed"))return n.getPropertyValue("--voided");switch(r){case exports.LegendStatus.AsBuilt.toLowerCase():return n.getPropertyValue("--asBuilt");case exports.LegendStatus.Planned.toLowerCase():return n.getPropertyValue("--planned");case exports.LegendStatus.Future.toLowerCase():return n.getPropertyValue("--future");case exports.LegendStatus.Historic.toLowerCase():return n.getPropertyValue("--historic");case exports.LegendStatus.OutOfService.toLowerCase():return n.getPropertyValue("--outOfService");case exports.LegendStatus.Reserved.toLowerCase():return n.getPropertyValue("--reserved");case exports.LegendStatus.Voided.toLowerCase():return n.getPropertyValue("--voided");case exports.LegendStatus.OK.toLowerCase():return n.getPropertyValue("--ok");case exports.LegendStatus.OS.toLowerCase():return n.getPropertyValue("--os");case exports.LegendStatus.PA.toLowerCase():return n.getPropertyValue("--pa");case exports.LegendStatus.PB.toLowerCase():return n.getPropertyValue("--pb");case exports.LegendStatus.RFCCSent.toLowerCase():return n.getPropertyValue("--rfccSent");case exports.LegendStatus.RFCCPartly.toLowerCase():return n.getPropertyValue("--rfccPartly");case exports.LegendStatus.RFCC.toLowerCase():return n.getPropertyValue("--rfcc");case exports.LegendStatus.RFOCSent.toLowerCase():return n.getPropertyValue("--rfocSent");case exports.LegendStatus.RFOCPartly.toLowerCase():return n.getPropertyValue("--rfocPartly");case exports.LegendStatus.RFOC.toLowerCase():return n.getPropertyValue("--rfoc");case exports.LegendStatus.RFCCRejected.toLowerCase():return n.getPropertyValue("--rfccRejected");case exports.LegendStatus.RFOCRejected.toLowerCase():return n.getPropertyValue("--rfocRejected");case exports.LegendStatus.Error.toLowerCase():return n.getPropertyValue("--handoverError");case exports.LegendStatus.Unknown.toLowerCase():return n.getPropertyValue("--unknown");case exports.LegendStatus.PM01.toLocaleLowerCase():return n.getPropertyValue("--pm01");case exports.LegendStatus.PM02.toLocaleLowerCase():return n.getPropertyValue("--pm02");case exports.LegendStatus.PM03.toLocaleLowerCase():return n.getPropertyValue("--pm03");case exports.LegendStatus.PM04.toLocaleLowerCase():return n.getPropertyValue("--pm04");case exports.LegendStatus.PM05.toLocaleLowerCase():return n.getPropertyValue("--pm05");case exports.LegendStatus.PM06.toLocaleLowerCase():return n.getPropertyValue("--pm06");case exports.LegendStatus.PM10.toLocaleLowerCase():return n.getPropertyValue("--pm10");case exports.LegendStatus.PM15.toLocaleLowerCase():return n.getPropertyValue("--pm15");case exports.LegendStatus.PM20.toLocaleLowerCase():return n.getPropertyValue("--pm20");case exports.LegendStatus.LC.toLocaleLowerCase():return n.getPropertyValue("--lc");case exports.LegendStatus.LO.toLocaleLowerCase():return n.getPropertyValue("--lo");case exports.LegendStatus.OnWatch.toLocaleLowerCase():return n.getPropertyValue("--onWatch");case exports.LegendStatus.InProgress.toLocaleLowerCase():return n.getPropertyValue("--inProgress");case exports.LegendStatus.IocAnnotationError.toLocaleLowerCase():return n.getPropertyValue("--iocAnnotationError");case exports.LegendStatus.Note.toLocaleLowerCase():return n.getPropertyValue("--note");case exports.LegendStatus.Archived.toLocaleLowerCase():return n.getPropertyValue("--archived");case exports.LegendStatus.ApiError.toLowerCase():return n.getPropertyValue("--darkEquiRed");default:return Cd.hasMultiStatuses(t)?e.Utils.Color.getColorStatusFromString(exports.LegendStatus.Multiple):e.Utils.Color.getColorStatusFromString(t)}}function Ed(e){if(!e)return exports.LegendStatus.Unknown;const t=_d(exports.LegendStatus,e);return null!=t?t:e}function _d(e,t){return Object.values(e).includes(t)?t:void 0}function Ad(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}Ad(":root{--echo-framework-z-level-pdf-marker-icon:100;--echo-framework-z-level-pdf-popover:102;--echo-framework-z-level-panel-left:500;--echo-framework-z-level-panel-main:550;--echo-framework-z-level-bottom-bar:1425;--echo-framework-z-level-scrim:1450}[class^=Scrim__StyledScrim]{z-index:var(--echo-framework-z-level-scrim)!important}");var wd=Bc,Sd=Fe,kd=tn,jd=ga;function Nd(){const t=o.useHistory(),i=n.useInstCode(),a=r.useCallback(((n,r,o)=>{o?t.push(n,o):t.push(n),r&&!Object.prototype.hasOwnProperty.call(r,e.LinkParameters.InstCode)&&e.setLinkParam(e.LinkParameters.InstCode,i),r&&Object.keys(r).forEach((t=>{e.setLinkParam(t,r[t])}))}),[t,i]);return a}_o({target:"Iterator",proto:!0,real:!0},{forEach:function(e){kd(this),Sd(e);var t=jd(this),n=0;wd(t,(function(t){e(t,n++)}),{IS_RECORD:!0})}});var Td=Kt.f,Pd=ut,Od=_t("toStringTag"),Md=function(e,t,n){e&&!n&&(e=e.prototype),e&&!Pd(e,Od)&&Td(e,Od,{configurable:!0,value:t})},Ld=Zi.IteratorPrototype,Bd=ui,Dd=z,Rd=Md,zd=Yl,Fd=function(){return this},Hd=function(e,t,n,r){var o=t+" Iterator";return e.prototype=Bd(Ld,{next:Dd(+!r,n)}),Rd(e,o,!1),zd[o]=Fd,e},qd=G,Ud=Fe,Gd=function(e,t,n){try{return qd(Ud(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}},Wd=ue,Qd=function(e){return Wd(e)||null===e},Yd=String,Vd=TypeError,Zd=Gd,Kd=ue,Jd=re,Xd=function(e){if(Qd(e))return e;throw new Vd("Can't set "+Yd(e)+" as a prototype")},$d=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Zd(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Jd(n),Xd(r),Kd(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0),em=_o,tm=P,nm=le,rm=Hd,om=Oi,im=$d,am=Md,sm=gn,lm=br,cm=Yl,um=En.PROPER,dm=En.CONFIGURABLE,mm=Zi.IteratorPrototype,pm=Zi.BUGGY_SAFARI_ITERATORS,hm=_t("iterator"),fm="keys",gm="values",vm="entries",ym=function(){return this},xm=function(e,t,n,r,o,i,a){rm(n,t,r);var s,l,c,u=function(e){if(e===o&&f)return f;if(!pm&&e&&e in p)return p[e];switch(e){case fm:case gm:case vm:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",m=!1,p=e.prototype,h=p[hm]||p["@@iterator"]||o&&p[o],f=!pm&&h||u(o),g="Array"===t&&p.entries||h;if(g&&(s=om(g.call(new e)))!==Object.prototype&&s.next&&(om(s)!==mm&&(im?im(s,mm):nm(s[hm])||lm(s,hm,ym)),am(s,d,!0)),um&&o===gm&&h&&h.name!==gm&&(dm?sm(p,"name",gm):(m=!0,f=function(){return tm(h,this)})),o)if(l={values:u(gm),keys:i?f:u(fm),entries:u(vm)},a)for(c in l)(pm||m||!(c in p))&&lm(p,c,l[c]);else em({target:t,proto:!0,forced:pm||m},l);return p[hm]!==f&&lm(p,hm,f,{name:o}),cm[t]=f,l},bm=ae,Cm=gi,Im=Yl,Em=Jn,_m=Kt.f,Am=xm,wm=xa,Sm=k,km="Array Iterator",jm=Em.set,Nm=Em.getterFor(km),Tm=Am(Array,"Array",(function(e,t){jm(this,{type:km,target:bm(e),index:0,kind:t})}),(function(){var e=Nm(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,wm(void 0,!0);switch(e.kind){case"keys":return wm(n,!1);case"values":return wm(t[n],!1)}return wm([n,t[n]],!1)}),"values"),Pm=Im.Arguments=Im.Array;if(Cm("keys"),Cm("values"),Cm("entries"),Sm&&"values"!==Pm.name)try{_m(Pm,"name",{value:"values"})}catch(e){}var Om=Rt("span").classList,Mm=Om&&Om.constructor&&Om.constructor.prototype,Lm=Mm===Object.prototype?void 0:Mm,Bm=A,Dm={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Rm=Lm,zm=Tm,Fm=gn,Hm=Md,qm=_t("iterator"),Um=zm.values,Gm=function(e,t){if(e){if(e[qm]!==Um)try{Fm(e,qm,Um)}catch(t){e[qm]=Um}if(Hm(e,t,!0),Dm[t])for(var n in zm)if(e[n]!==zm[n])try{Fm(e,n,zm[n])}catch(t){e[n]=zm[n]}}};for(var Wm in Dm)Gm(Bm[Wm]&&Bm[Wm].prototype,Wm);function Qm(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function Ym(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}Gm(Rm,"DOMTokenList"),"function"==typeof SuppressedError&&SuppressedError;var Vm=Bc,Zm=Fe,Km=tn,Jm=ga;_o({target:"Iterator",proto:!0,real:!0},{find:function(e){Km(this),Zm(e);var t=Jm(this),n=0;return Vm(t,(function(t,r){if(e(t,n++))return r(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}});var Xm=j,$m=Function.prototype,ep=$m.apply,tp=$m.call,np="object"==typeof Reflect&&Reflect.apply||(Xm?tp.bind(ep):function(){return tp.apply(ep,arguments)}),rp=G([].slice),op=Gs,ip=le,ap=V,sp=as,lp=G([].push),cp=_o,up=pe,dp=np,mp=P,pp=G,hp=S,fp=le,gp=Me,vp=rp,yp=function(e){if(ip(e))return e;if(op(e)){for(var t=e.length,n=[],r=0;r<t;r++){var o=e[r];"string"==typeof o?lp(n,o):"number"!=typeof o&&"Number"!==ap(o)&&"String"!==ap(o)||lp(n,sp(o))}var i=n.length,a=!0;return function(e,t){if(a)return a=!1,t;if(op(this))return t;for(var r=0;r<i;r++)if(n[r]===e)return t}}},xp=ke,bp=String,Cp=up("JSON","stringify"),Ip=pp(/./.exec),Ep=pp("".charAt),_p=pp("".charCodeAt),Ap=pp("".replace),wp=pp(1..toString),Sp=/[\uD800-\uDFFF]/g,kp=/^[\uD800-\uDBFF]$/,jp=/^[\uDC00-\uDFFF]$/,Np=!xp||hp((function(){var e=up("Symbol")("stringify detection");return"[null]"!==Cp([e])||"{}"!==Cp({a:e})||"{}"!==Cp(Object(e))})),Tp=hp((function(){return'"\\udf06\\ud834"'!==Cp("\udf06\ud834")||'"\\udead"'!==Cp("\udead")})),Pp=function(e,t){var n=vp(arguments),r=yp(t);if(fp(r)||void 0!==e&&!gp(e))return n[1]=function(e,t){if(fp(r)&&(t=mp(r,this,bp(e),t)),!gp(t))return t},dp(Cp,null,n)},Op=function(e,t,n){var r=Ep(n,t-1),o=Ep(n,t+1);return Ip(kp,e)&&!Ip(jp,o)||Ip(jp,e)&&!Ip(kp,r)?"\\u"+wp(_p(e,0),16):e};function Mp(e){return Ym(this,void 0,void 0,(function*(){var t;let r=`${n.baseApiUrl}/EchoHub/plant-info`;return e&&(r+=`?instCode=${e}`),null!==(t=yield n.request({url:r}))&&void 0!==t?t:[]}))}function Lp(e){return Ym(this,void 0,void 0,(function*(){var t;const r=`${n.baseApiUrl}/echo-3d-model/platform/access/${e}`,o={plantCodes:[],timestamp:new Date};return null!==(t=yield n.request({url:r}))&&void 0!==t?t:o}))}Cp&&cp({target:"JSON",stat:!0,arity:3,forced:Np||Tp},{stringify:function(e,t,n){var r=vp(arguments),o=dp(Np?Pp:Cp,null,r);return Tp&&"string"==typeof o?Ap(o,Sp,Op):o}});const Bp="echoHubPlantInfo";function Dp(e){n.storage.setItem(Bp,JSON.stringify(e))}function Rp(){return Ym(this,void 0,void 0,(function*(){const e=n.storage.getItem(Bp);if(e&&"string"!=typeof e)return e;{const e=yield Fp();if(e.length>0)return Dp(e),e}return[]}))}function zp(e){return Ym(this,void 0,void 0,(function*(){return Mp(e)}))}function Fp(){return Ym(this,void 0,void 0,(function*(){return Mp()}))}function Hp(e){return Ym(this,void 0,void 0,(function*(){const t=(yield Rp()).find((t=>{var n;return(null===(n=t.sapId)||void 0===n?void 0:n.toString())===e}));return null==t?void 0:t.installationCode}))}function qp(e){return Ym(this,void 0,void 0,(function*(){return(yield Rp()).filter((t=>t.installationCode===e)).map((e=>e.plantCode))}))}function Up(e){return Ym(this,void 0,void 0,(function*(){const t=yield qp(e);if(1===t.length)return(yield Lp(t[0])).plantCodes.length>0;const r=yield function(){return Ym(this,void 0,void 0,(function*(){var e;const t=`${n.baseApiUrl}/echo-3d-model/platform/access`,r={plantCodes:[],timestamp:new Date};return null!==(e=yield n.request({url:t}))&&void 0!==e?e:r}))}();for(const e of t)if(r.plantCodes.includes(e))return!0;return!1}))}function Gp(e,t){return Ym(this,void 0,void 0,(function*(){return t?Wp(t):Up(e)}))}function Wp(e){return Ym(this,void 0,void 0,(function*(){return(yield Lp(e)).plantCodes.length>0}))}function Qp(e,t){return Ym(this,void 0,void 0,(function*(){const n=(yield Rp()).filter((t=>t.installationCode.toLocaleLowerCase()===e.toLocaleLowerCase()));if(1===n.length)return n[0].availableInEcho3D;if(t){const e=n.find((e=>e.plantCode.toLocaleLowerCase()===t.toLocaleLowerCase()));if(e)return e.availableInEcho3D}return n.filter((e=>!0===e.availableInEcho3D)).length>0}))}function Yp(e,t){return Ym(this,void 0,void 0,(function*(){const n=(yield Rp()).filter((t=>t.installationCode.toLocaleLowerCase()===e.toLocaleLowerCase()));if(1===n.length)return n[0].availableInEcho3DWebReveal;if(t){const e=n.find((e=>e.plantCode.toLocaleLowerCase()===t.toLocaleLowerCase()));if(e)return e.availableInEcho3DWebReveal}return n.filter((e=>!0===e.availableInEcho3DWebReveal)).length>0}))}const Vp=e=>{const[t,n]=r.useState(void 0);return r.useEffect((()=>{Ym(void 0,void 0,void 0,(function*(){if(e.sapPlantId){const t=yield Hp(e.sapPlantId);n(t)}}))}),[e.sapPlantId]),t},Zp=n.analytics.createAnalyticsModule("ep"),Kp="echopedia-web--dialog-container",Jp=Object.freeze({portalId:Kp,domSelector:document.getElementById(Kp)||document.body});function Xp(e){if(!e)return"This is empty";"string"==typeof e&&(e=new Date(e));return e.toLocaleDateString("en-GB")}const $p=function(e,t){Zp.trackEventBy("ExternalLink","Opened",{linkTo:e}),t?window.location.href=e:window.open(e,"_blank")};var eh=Kt.f,th=le,nh=ue,rh=$d,oh=as,ih=ue,ah=gn,sh=Error,lh=G("".replace),ch=String(new sh("zxcasd").stack),uh=/\n\s*at [^:]*:[^\n]*/,dh=uh.test(ch),mh=z,ph=!S((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",mh(1,7)),7!==e.stack)})),hh=gn,fh=function(e,t){if(dh&&"string"==typeof e&&!sh.prepareStackTrace)for(;t--;)e=lh(e,uh,"");return e},gh=ph,vh=Error.captureStackTrace,yh=pe,xh=ut,bh=gn,Ch=he,Ih=$d,Eh=ao,_h=function(e,t,n){n in e||eh(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})},Ah=function(e,t,n){var r,o;return rh&&th(r=t.constructor)&&r!==n&&nh(o=r.prototype)&&o!==n.prototype&&rh(e,o),e},wh=function(e,t){return void 0===e?arguments.length<2?"":t:oh(e)},Sh=function(e,t){ih(t)&&"cause"in t&&ah(e,"cause",t.cause)},kh=function(e,t,n,r){gh&&(vh?vh(e,t):hh(e,"stack",fh(n,r)))},jh=k,Nh=_o,Th=np,Ph=function(e,t,n,r){var o="stackTraceLimit",i=r?2:1,a=e.split("."),s=a[a.length-1],l=yh.apply(null,a);if(l){var c=l.prototype;if(xh(c,"cause")&&delete c.cause,!n)return l;var u=yh("Error"),d=t((function(e,t){var n=wh(r?t:e,void 0),o=r?new l(e):new l;return void 0!==n&&bh(o,"message",n),kh(o,d,o.stack,2),this&&Ch(c,this)&&Ah(o,this,d),arguments.length>i&&Sh(o,arguments[i]),o}));d.prototype=c,"Error"!==s?Ih?Ih(d,u):Eh(d,u,{name:!0}):jh&&o in l&&(_h(d,l,o),_h(d,l,"prepareStackTrace")),Eh(d,l);try{c.name!==s&&bh(c,"name",s),c.constructor=d}catch(e){}return d}},Oh="WebAssembly",Mh=A[Oh],Lh=7!==new Error("e",{cause:7}).cause,Bh=function(e,t){var n={};n[e]=Ph(e,t,Lh),Nh({global:!0,constructor:!0,arity:1,forced:Lh},n)},Dh=function(e,t){if(Mh&&Mh[e]){var n={};n[e]=Ph(Oh+"."+e,t,Lh),Nh({target:Oh,stat:!0,constructor:!0,arity:1,forced:Lh},n)}};Bh("Error",(function(e){return function(t){return Th(e,this,arguments)}})),Bh("EvalError",(function(e){return function(t){return Th(e,this,arguments)}})),Bh("RangeError",(function(e){return function(t){return Th(e,this,arguments)}})),Bh("ReferenceError",(function(e){return function(t){return Th(e,this,arguments)}})),Bh("SyntaxError",(function(e){return function(t){return Th(e,this,arguments)}})),Bh("TypeError",(function(e){return function(t){return Th(e,this,arguments)}})),Bh("URIError",(function(e){return function(t){return Th(e,this,arguments)}})),Dh("CompileError",(function(e){return function(t){return Th(e,this,arguments)}})),Dh("LinkError",(function(e){return function(t){return Th(e,this,arguments)}})),Dh("RuntimeError",(function(e){return function(t){return Th(e,this,arguments)}}));var Rh=Wu.charAt,zh=as,Fh=Jn,Hh=xm,qh=xa,Uh="String Iterator",Gh=Fh.set,Wh=Fh.getterFor(Uh);Hh(String,"String",(function(e){Gh(this,{type:Uh,string:zh(e),index:0})}),(function(){var e,t=Wh(this),n=t.string,r=t.index;return r>=n.length?qh(void 0,!0):(e=Rh(n,r),t.index+=e.length,qh(e,!1))}));var Qh=S,Yh=k,Vh=_t("iterator"),Zh=!Qh((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),n.delete("a",2),n.delete("b",void 0),!t.size&&!Yh||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[Vh]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==r||"x"!==new URL("https://x",void 0).host})),Kh=$s,Jh=P,Xh=st,$h=Ua,ef=fc,tf=yl,nf=Mr,rf=Fi,of=Ic,af=$l,sf=Array,lf=G,cf=2147483647,uf=/[^\0-\u007E]/,df=/[.\u3002\uFF0E\uFF61]/g,mf="Overflow: input needs wider integers to process",pf=RangeError,hf=lf(df.exec),ff=Math.floor,gf=String.fromCharCode,vf=lf("".charCodeAt),yf=lf([].join),xf=lf([].push),bf=lf("".replace),Cf=lf("".split),If=lf("".toLowerCase),Ef=function(e){return e+22+75*(e<26)},_f=function(e,t,n){var r=0;for(e=n?ff(e/700):e>>1,e+=ff(e/t);e>455;)e=ff(e/35),r+=36;return ff(r+36*e/(e+38))},Af=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=vf(e,n++);if(o>=55296&&o<=56319&&n<r){var i=vf(e,n++);56320==(64512&i)?xf(t,((1023&o)<<10)+(1023&i)+65536):(xf(t,o),n--)}else xf(t,o)}return t}(e);var n,r,o=e.length,i=128,a=0,s=72;for(n=0;n<e.length;n++)(r=e[n])<128&&xf(t,gf(r));var l=t.length,c=l;for(l&&xf(t,"-");c<o;){var u=cf;for(n=0;n<e.length;n++)(r=e[n])>=i&&r<u&&(u=r);var d=c+1;if(u-i>ff((cf-a)/d))throw new pf(mf);for(a+=(u-i)*d,i=u,n=0;n<e.length;n++){if((r=e[n])<i&&++a>cf)throw new pf(mf);if(r===i){for(var m=a,p=36;;){var h=p<=s?1:p>=s+26?26:p-s;if(m<h)break;var f=m-h,g=36-h;xf(t,gf(Ef(h+f%g))),m=ff(f/g),p+=36}xf(t,gf(Ef(m))),s=_f(a,d,c===l),a=0,c++}}a++,i++}return yf(t,"")},wf=TypeError,Sf=function(e,t){if(e<t)throw new wf("Not enough arguments");return e},kf=_o,jf=G,Nf=jr,Tf=RangeError,Pf=String.fromCharCode,Of=String.fromCodePoint,Mf=jf([].join);kf({target:"String",stat:!0,arity:1,forced:!!Of&&1!==Of.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],Nf(t,1114111)!==t)throw new Tf(t+" is not a valid code point");n[o]=t<65536?Pf(t):Pf(55296+((t-=65536)>>10),t%1024+56320)}return Mf(n,"")}});var Lf=A,Bf=k,Df=Object.getOwnPropertyDescriptor,Rf=function(e){if(!Bf)return Lf[e];var t=Df(Lf,e);return t&&t.value},zf=rp,Ff=Math.floor,Hf=function(e,t){var n=e.length;if(n<8)for(var r,o,i=1;i<n;){for(o=i,r=e[i];o&&t(e[o-1],r)>0;)e[o]=e[--o];o!==i++&&(e[o]=r)}else for(var a=Ff(n/2),s=Hf(zf(e,0,a),t),l=Hf(zf(e,a),t),c=s.length,u=l.length,d=0,m=0;d<c||m<u;)e[d+m]=d<c&&m<u?t(s[d],l[m])<=0?s[d++]:l[m++]:d<c?s[d++]:l[m++];return e},qf=Hf,Uf=_o,Gf=A,Wf=Rf,Qf=pe,Yf=P,Vf=G,Zf=k,Kf=Zh,Jf=br,Xf=Bi,$f=ya,eg=Md,tg=Hd,ng=Jn,rg=_i,og=le,ig=ut,ag=$s,sg=rs,lg=tn,cg=ue,ug=as,dg=ui,mg=z,pg=Ic,hg=$l,fg=xa,gg=Sf,vg=qf,yg=_t("iterator"),xg="URLSearchParams",bg=xg+"Iterator",Cg=ng.set,Ig=ng.getterFor(xg),Eg=ng.getterFor(bg),_g=Wf("fetch"),Ag=Wf("Request"),wg=Wf("Headers"),Sg=Ag&&Ag.prototype,kg=wg&&wg.prototype,jg=Gf.TypeError,Ng=Gf.encodeURIComponent,Tg=String.fromCharCode,Pg=Qf("String","fromCodePoint"),Og=parseInt,Mg=Vf("".charAt),Lg=Vf([].join),Bg=Vf([].push),Dg=Vf("".replace),Rg=Vf([].shift),zg=Vf([].splice),Fg=Vf("".split),Hg=Vf("".slice),qg=Vf(/./.exec),Ug=/\+/g,Gg=/^[0-9a-f]+$/i,Wg=function(e,t){var n=Hg(e,t,t+2);return qg(Gg,n)?Og(n,16):NaN},Qg=function(e){for(var t=0,n=128;n>0&&e&n;n>>=1)t++;return t},Yg=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},Vg=function(e){for(var t=(e=Dg(e,Ug," ")).length,n="",r=0;r<t;){var o=Mg(e,r);if("%"===o){if("%"===Mg(e,r+1)||r+3>t){n+="%",r++;continue}var i=Wg(e,r+1);if(i!=i){n+=o,r++;continue}r+=2;var a=Qg(i);if(0===a)o=Tg(i);else{if(1===a||a>4){n+="�",r++;continue}for(var s=[i],l=1;l<a&&!(++r+3>t||"%"!==Mg(e,r));){var c=Wg(e,r+1);if(c!=c){r+=3;break}if(c>191||c<128)break;Bg(s,c),r+=2,l++}if(s.length!==a){n+="�";continue}var u=Yg(s);null===u?n+="�":o=Pg(u)}}n+=o,r++}return n},Zg=/[!'()~]|%20/g,Kg={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Jg=function(e){return Kg[e]},Xg=function(e){return Dg(Ng(e),Zg,Jg)},$g=tg((function(e,t){Cg(this,{type:bg,target:Ig(e).entries,index:0,kind:t})}),xg,(function(){var e=Eg(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,fg(void 0,!0);var r=t[n];switch(e.kind){case"keys":return fg(r.key,!1);case"values":return fg(r.value,!1)}return fg([r.key,r.value],!1)}),!0),ev=function(e){this.entries=[],this.url=null,void 0!==e&&(cg(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Mg(e,0)?Hg(e,1):e:ug(e)))};ev.prototype={type:xg,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,o,i,a,s,l=this.entries,c=hg(e);if(c)for(n=(t=pg(e,c)).next;!(r=Yf(n,t)).done;){if(i=(o=pg(lg(r.value))).next,(a=Yf(i,o)).done||(s=Yf(i,o)).done||!Yf(i,o).done)throw new jg("Expected sequence with length 2");Bg(l,{key:ug(a.value),value:ug(s.value)})}else for(var u in e)ig(e,u)&&Bg(l,{key:u,value:ug(e[u])})},parseQuery:function(e){if(e)for(var t,n,r=this.entries,o=Fg(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(n=Fg(t,"="),Bg(r,{key:Vg(Rg(n)),value:Vg(Lg(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],Bg(n,Xg(e.key)+"="+Xg(e.value));return Lg(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var tv=function(){rg(this,nv);var e=Cg(this,new ev(arguments.length>0?arguments[0]:void 0));Zf||(this.size=e.entries.length)},nv=tv.prototype;if($f(nv,{append:function(e,t){var n=Ig(this);gg(arguments.length,2),Bg(n.entries,{key:ug(e),value:ug(t)}),Zf||this.length++,n.updateURL()},delete:function(e){for(var t=Ig(this),n=gg(arguments.length,1),r=t.entries,o=ug(e),i=n<2?void 0:arguments[1],a=void 0===i?i:ug(i),s=0;s<r.length;){var l=r[s];if(l.key!==o||void 0!==a&&l.value!==a)s++;else if(zg(r,s,1),void 0!==a)break}Zf||(this.size=r.length),t.updateURL()},get:function(e){var t=Ig(this).entries;gg(arguments.length,1);for(var n=ug(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=Ig(this).entries;gg(arguments.length,1);for(var n=ug(e),r=[],o=0;o<t.length;o++)t[o].key===n&&Bg(r,t[o].value);return r},has:function(e){for(var t=Ig(this).entries,n=gg(arguments.length,1),r=ug(e),o=n<2?void 0:arguments[1],i=void 0===o?o:ug(o),a=0;a<t.length;){var s=t[a++];if(s.key===r&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var n=Ig(this);gg(arguments.length,1);for(var r,o=n.entries,i=!1,a=ug(e),s=ug(t),l=0;l<o.length;l++)(r=o[l]).key===a&&(i?zg(o,l--,1):(i=!0,r.value=s));i||Bg(o,{key:a,value:s}),Zf||(this.size=o.length),n.updateURL()},sort:function(){var e=Ig(this);vg(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=Ig(this).entries,r=ag(e,arguments.length>1?arguments[1]:void 0),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new $g(this,"keys")},values:function(){return new $g(this,"values")},entries:function(){return new $g(this,"entries")}},{enumerable:!0}),Jf(nv,yg,nv.entries,{name:"entries"}),Jf(nv,"toString",(function(){return Ig(this).serialize()}),{enumerable:!0}),Zf&&Xf(nv,"size",{get:function(){return Ig(this).entries.length},configurable:!0,enumerable:!0}),eg(tv,xg),Uf({global:!0,constructor:!0,forced:!Kf},{URLSearchParams:tv}),!Kf&&og(wg)){var rv=Vf(kg.has),ov=Vf(kg.set),iv=function(e){if(cg(e)){var t,n=e.body;if(sg(n)===xg)return t=e.headers?new wg(e.headers):new wg,rv(t,"content-type")||ov(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),dg(e,{body:mg(0,ug(n)),headers:mg(0,t)})}return e};if(og(_g)&&Uf({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return _g(e,arguments.length>1?iv(arguments[1]):{})}}),og(Ag)){var av=function(e){return rg(this,Sg),new Ag(e,arguments.length>1?iv(arguments[1]):{})};Sg.constructor=av,av.prototype=Sg,Uf({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:av})}}var sv,lv=_o,cv=k,uv=Zh,dv=A,mv=$s,pv=G,hv=br,fv=Bi,gv=_i,vv=ut,yv=Fo,xv=function(e){var t=Xh(e),n=tf(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Kh(o,r>2?arguments[2]:void 0));var a,s,l,c,u,d,m=af(t),p=0;if(!m||this===sf&&ef(m))for(a=nf(t),s=n?new this(a):sf(a);a>p;p++)d=i?o(t[p],p):t[p],rf(s,p,d);else for(s=n?new this:[],u=(c=of(t,m)).next;!(l=Jh(u,c)).done;p++)d=i?$h(c,o,[l.value,p],!0):l.value,rf(s,p,d);return s.length=p,s},bv=rp,Cv=Wu.codeAt,Iv=function(e){var t,n,r=[],o=Cf(bf(If(e),df,"."),".");for(t=0;t<o.length;t++)n=o[t],xf(r,hf(uf,n)?"xn--"+Af(n):n);return yf(r,".")},Ev=as,_v=Md,Av=Sf,wv={URLSearchParams:tv,getState:Ig},Sv=Jn,kv=Sv.set,jv=Sv.getterFor("URL"),Nv=wv.URLSearchParams,Tv=wv.getState,Pv=dv.URL,Ov=dv.TypeError,Mv=dv.parseInt,Lv=Math.floor,Bv=Math.pow,Dv=pv("".charAt),Rv=pv(/./.exec),zv=pv([].join),Fv=pv(1..toString),Hv=pv([].pop),qv=pv([].push),Uv=pv("".replace),Gv=pv([].shift),Wv=pv("".split),Qv=pv("".slice),Yv=pv("".toLowerCase),Vv=pv([].unshift),Zv="Invalid scheme",Kv="Invalid host",Jv="Invalid port",Xv=/[a-z]/i,$v=/[\d+-.a-z]/i,ey=/\d/,ty=/^0x/i,ny=/^[0-7]+$/,ry=/^\d+$/,oy=/^[\da-f]+$/i,iy=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ay=/[\0\t\n\r #/:<>?@[\\\]^|]/,sy=/^[\u0000-\u0020]+/,ly=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,cy=/[\t\n\r]/g,uy=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)Vv(t,e%256),e=Lv(e/256);return zv(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n?r:t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=Fv(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},dy={},my=yv({},dy,{" ":1,'"':1,"<":1,">":1,"`":1}),py=yv({},my,{"#":1,"?":1,"{":1,"}":1}),hy=yv({},py,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),fy=function(e,t){var n=Cv(e,0);return n>32&&n<127&&!vv(t,e)?e:encodeURIComponent(e)},gy={ftp:21,file:null,http:80,https:443,ws:80,wss:443},vy=function(e,t){var n;return 2===e.length&&Rv(Xv,Dv(e,0))&&(":"===(n=Dv(e,1))||!t&&"|"===n)},yy=function(e){var t;return e.length>1&&vy(Qv(e,0,2))&&(2===e.length||"/"===(t=Dv(e,2))||"\\"===t||"?"===t||"#"===t)},xy=function(e){return"."===e||"%2e"===Yv(e)},by={},Cy={},Iy={},Ey={},_y={},Ay={},wy={},Sy={},ky={},jy={},Ny={},Ty={},Py={},Oy={},My={},Ly={},By={},Dy={},Ry={},zy={},Fy={},Hy=function(e,t,n){var r,o,i,a=Ev(e);if(t){if(o=this.parse(a))throw new Ov(o);this.searchParams=null}else{if(void 0!==n&&(r=new Hy(n,!0)),o=this.parse(a,null,r))throw new Ov(o);(i=Tv(new Nv)).bindURL(this),this.searchParams=i}};Hy.prototype={type:"URL",parse:function(e,t,n){var r,o,i,a,s,l=this,c=t||by,u=0,d="",m=!1,p=!1,h=!1;for(e=Ev(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=Uv(e,sy,""),e=Uv(e,ly,"$1")),e=Uv(e,cy,""),r=xv(e);u<=r.length;){switch(o=r[u],c){case by:if(!o||!Rv(Xv,o)){if(t)return Zv;c=Iy;continue}d+=Yv(o),c=Cy;break;case Cy:if(o&&(Rv($v,o)||"+"===o||"-"===o||"."===o))d+=Yv(o);else{if(":"!==o){if(t)return Zv;d="",c=Iy,u=0;continue}if(t&&(l.isSpecial()!==vv(gy,d)||"file"===d&&(l.includesCredentials()||null!==l.port)||"file"===l.scheme&&!l.host))return;if(l.scheme=d,t)return void(l.isSpecial()&&gy[l.scheme]===l.port&&(l.port=null));d="","file"===l.scheme?c=Oy:l.isSpecial()&&n&&n.scheme===l.scheme?c=Ey:l.isSpecial()?c=Sy:"/"===r[u+1]?(c=_y,u++):(l.cannotBeABaseURL=!0,qv(l.path,""),c=Ry)}break;case Iy:if(!n||n.cannotBeABaseURL&&"#"!==o)return Zv;if(n.cannotBeABaseURL&&"#"===o){l.scheme=n.scheme,l.path=bv(n.path),l.query=n.query,l.fragment="",l.cannotBeABaseURL=!0,c=Fy;break}c="file"===n.scheme?Oy:Ay;continue;case Ey:if("/"!==o||"/"!==r[u+1]){c=Ay;continue}c=ky,u++;break;case _y:if("/"===o){c=jy;break}c=Dy;continue;case Ay:if(l.scheme=n.scheme,o===sv)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=bv(n.path),l.query=n.query;else if("/"===o||"\\"===o&&l.isSpecial())c=wy;else if("?"===o)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=bv(n.path),l.query="",c=zy;else{if("#"!==o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=bv(n.path),l.path.length--,c=Dy;continue}l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=bv(n.path),l.query=n.query,l.fragment="",c=Fy}break;case wy:if(!l.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,c=Dy;continue}c=jy}else c=ky;break;case Sy:if(c=ky,"/"!==o||"/"!==Dv(d,u+1))continue;u++;break;case ky:if("/"!==o&&"\\"!==o){c=jy;continue}break;case jy:if("@"===o){m&&(d="%40"+d),m=!0,i=xv(d);for(var f=0;f<i.length;f++){var g=i[f];if(":"!==g||h){var v=fy(g,hy);h?l.password+=v:l.username+=v}else h=!0}d=""}else if(o===sv||"/"===o||"?"===o||"#"===o||"\\"===o&&l.isSpecial()){if(m&&""===d)return"Invalid authority";u-=xv(d).length+1,d="",c=Ny}else d+=o;break;case Ny:case Ty:if(t&&"file"===l.scheme){c=Ly;continue}if(":"!==o||p){if(o===sv||"/"===o||"?"===o||"#"===o||"\\"===o&&l.isSpecial()){if(l.isSpecial()&&""===d)return Kv;if(t&&""===d&&(l.includesCredentials()||null!==l.port))return;if(a=l.parseHost(d))return a;if(d="",c=By,t)return;continue}"["===o?p=!0:"]"===o&&(p=!1),d+=o}else{if(""===d)return Kv;if(a=l.parseHost(d))return a;if(d="",c=Py,t===Ty)return}break;case Py:if(!Rv(ey,o)){if(o===sv||"/"===o||"?"===o||"#"===o||"\\"===o&&l.isSpecial()||t){if(""!==d){var y=Mv(d,10);if(y>65535)return Jv;l.port=l.isSpecial()&&y===gy[l.scheme]?null:y,d=""}if(t)return;c=By;continue}return Jv}d+=o;break;case Oy:if(l.scheme="file","/"===o||"\\"===o)c=My;else{if(!n||"file"!==n.scheme){c=Dy;continue}switch(o){case sv:l.host=n.host,l.path=bv(n.path),l.query=n.query;break;case"?":l.host=n.host,l.path=bv(n.path),l.query="",c=zy;break;case"#":l.host=n.host,l.path=bv(n.path),l.query=n.query,l.fragment="",c=Fy;break;default:yy(zv(bv(r,u),""))||(l.host=n.host,l.path=bv(n.path),l.shortenPath()),c=Dy;continue}}break;case My:if("/"===o||"\\"===o){c=Ly;break}n&&"file"===n.scheme&&!yy(zv(bv(r,u),""))&&(vy(n.path[0],!0)?qv(l.path,n.path[0]):l.host=n.host),c=Dy;continue;case Ly:if(o===sv||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&vy(d))c=Dy;else if(""===d){if(l.host="",t)return;c=By}else{if(a=l.parseHost(d))return a;if("localhost"===l.host&&(l.host=""),t)return;d="",c=By}continue}d+=o;break;case By:if(l.isSpecial()){if(c=Dy,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==sv&&(c=Dy,"/"!==o))continue}else l.fragment="",c=Fy;else l.query="",c=zy;break;case Dy:if(o===sv||"/"===o||"\\"===o&&l.isSpecial()||!t&&("?"===o||"#"===o)){if(".."===(s=Yv(s=d))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(l.shortenPath(),"/"===o||"\\"===o&&l.isSpecial()||qv(l.path,"")):xy(d)?"/"===o||"\\"===o&&l.isSpecial()||qv(l.path,""):("file"===l.scheme&&!l.path.length&&vy(d)&&(l.host&&(l.host=""),d=Dv(d,0)+":"),qv(l.path,d)),d="","file"===l.scheme&&(o===sv||"?"===o||"#"===o))for(;l.path.length>1&&""===l.path[0];)Gv(l.path);"?"===o?(l.query="",c=zy):"#"===o&&(l.fragment="",c=Fy)}else d+=fy(o,py);break;case Ry:"?"===o?(l.query="",c=zy):"#"===o?(l.fragment="",c=Fy):o!==sv&&(l.path[0]+=fy(o,dy));break;case zy:t||"#"!==o?o!==sv&&("'"===o&&l.isSpecial()?l.query+="%27":l.query+="#"===o?"%23":fy(o,dy)):(l.fragment="",c=Fy);break;case Fy:o!==sv&&(l.fragment+=fy(o,my))}u++}},parseHost:function(e){var t,n,r;if("["===Dv(e,0)){if("]"!==Dv(e,e.length-1))return Kv;if(t=function(e){var t,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,m=function(){return Dv(e,d)};if(":"===m()){if(":"!==Dv(e,1))return;d+=2,u=++c}for(;m();){if(8===c)return;if(":"!==m()){for(t=n=0;n<4&&Rv(oy,m());)t=16*t+Mv(m(),16),d++,n++;if("."===m()){if(0===n)return;if(d-=n,c>6)return;for(r=0;m();){if(o=null,r>0){if(!("."===m()&&r<4))return;d++}if(!Rv(ey,m()))return;for(;Rv(ey,m());){if(i=Mv(m(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;d++}l[c]=256*l[c]+o,2!=++r&&4!==r||c++}if(4!==r)return;break}if(":"===m()){if(d++,!m())return}else if(m())return;l[c++]=t}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(a=c-u,c=7;0!==c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!==c)return;return l}(Qv(e,1,-1)),!t)return Kv;this.host=t}else if(this.isSpecial()){if(e=Iv(e),Rv(iy,e))return Kv;if(t=function(e){var t,n,r,o,i,a,s,l=Wv(e,".");if(l.length&&""===l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""===(o=l[r]))return e;if(i=10,o.length>1&&"0"===Dv(o,0)&&(i=Rv(ty,o)?16:8,o=Qv(o,8===i?1:2)),""===o)a=0;else{if(!Rv(10===i?ry:8===i?ny:oy,o))return e;a=Mv(o,i)}qv(n,a)}for(r=0;r<t;r++)if(a=n[r],r===t-1){if(a>=Bv(256,5-t))return null}else if(a>255)return null;for(s=Hv(n),r=0;r<n.length;r++)s+=n[r]*Bv(256,3-r);return s}(e),null===t)return Kv;this.host=t}else{if(Rv(ay,e))return Kv;for(t="",n=xv(e),r=0;r<n.length;r++)t+=fy(n[r],dy);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return vv(gy,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&vy(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=n+(r?":"+r:"")+"@"),c+=uy(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+zv(a,"/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},setHref:function(e){var t=this.parse(e);if(t)throw new Ov(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new qy(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+uy(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Ev(e)+":",by)},getUsername:function(){return this.username},setUsername:function(e){var t=xv(Ev(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=fy(t[n],hy)}},getPassword:function(){return this.password},setPassword:function(e){var t=xv(Ev(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=fy(t[n],hy)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?uy(e):uy(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ny)},getHostname:function(){var e=this.host;return null===e?"":uy(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ty)},getPort:function(){var e=this.port;return null===e?"":Ev(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=Ev(e))?this.port=null:this.parse(e,Py))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+zv(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,By))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=Ev(e))?this.query=null:("?"===Dv(e,0)&&(e=Qv(e,1)),this.query="",this.parse(e,zy)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=Ev(e))?("#"===Dv(e,0)&&(e=Qv(e,1)),this.fragment="",this.parse(e,Fy)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var qy=function(e){var t=gv(this,Uy),n=Av(arguments.length,1)>1?arguments[1]:void 0,r=kv(t,new Hy(e,!1,n));cv||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Uy=qy.prototype,Gy=function(e,t){return{get:function(){return jv(this)[e]()},set:t&&function(e){return jv(this)[t](e)},configurable:!0,enumerable:!0}};if(cv&&(fv(Uy,"href",Gy("serialize","setHref")),fv(Uy,"origin",Gy("getOrigin")),fv(Uy,"protocol",Gy("getProtocol","setProtocol")),fv(Uy,"username",Gy("getUsername","setUsername")),fv(Uy,"password",Gy("getPassword","setPassword")),fv(Uy,"host",Gy("getHost","setHost")),fv(Uy,"hostname",Gy("getHostname","setHostname")),fv(Uy,"port",Gy("getPort","setPort")),fv(Uy,"pathname",Gy("getPathname","setPathname")),fv(Uy,"search",Gy("getSearch","setSearch")),fv(Uy,"searchParams",Gy("getSearchParams")),fv(Uy,"hash",Gy("getHash","setHash"))),hv(Uy,"toJSON",(function(){return jv(this).serialize()}),{enumerable:!0}),hv(Uy,"toString",(function(){return jv(this).serialize()}),{enumerable:!0}),Pv){var Wy=Pv.createObjectURL,Qy=Pv.revokeObjectURL;Wy&&hv(qy,"createObjectURL",mv(Wy,Pv)),Qy&&hv(qy,"revokeObjectURL",mv(Qy,Pv))}_v(qy,"URL"),lv({global:!0,constructor:!0,forced:!uv,sham:!cv},{URL:qy});var Yy=P;_o({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return Yy(URL.prototype.toString,this)}});var Vy=br,Zy=G,Ky=as,Jy=Sf,Xy=URLSearchParams,$y=Xy.prototype,ex=Zy($y.append),tx=Zy($y.delete),nx=Zy($y.forEach),rx=Zy([].push),ox=new Xy("a=1&a=2&b=3");ox.delete("a",1),ox.delete("b",void 0),ox+""!="a=2"&&Vy($y,"delete",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return tx(this,e);var r=[];nx(this,(function(e,t){rx(r,{key:t,value:e})})),Jy(t,1);for(var o,i=Ky(e),a=Ky(n),s=0,l=0,c=!1,u=r.length;s<u;)o=r[s++],c||o.key===i?(c=!0,tx(this,o.key)):l++;for(;l<u;)(o=r[l++]).key===i&&o.value===a||ex(this,o.key,o.value)}),{enumerable:!0,unsafe:!0});var ix=br,ax=G,sx=as,lx=Sf,cx=URLSearchParams,ux=cx.prototype,dx=ax(ux.getAll),mx=ax(ux.has),px=new cx("a=1");!px.has("a",2)&&px.has("a",void 0)||ix(ux,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return mx(this,e);var r=dx(this,e);lx(t,1);for(var o=sx(n),i=0;i<r.length;)if(r[i++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0});var hx=k,fx=G,gx=Bi,vx=URLSearchParams.prototype,yx=fx(vx.forEach);hx&&!("size"in vx)&&gx(vx,"size",{get:function(){var e=0;return yx(this,(function(){e++})),e},configurable:!0,enumerable:!0});const xx=(e,t,n,r)=>Ym(void 0,void 0,void 0,(function*(){t.timeToLiveSeconds=263e4;const o=yield bx(t,n),i=window.location.origin,a=`/echo3d?instCode=${e}&plantCode=${t.plant}&taghub=${o.id}`;return{app3dUrl:o.url,web3dUrl:r?a:`${i}${a}`}})),bx=(e,t)=>Ym(void 0,void 0,void 0,(function*(){const r=new URL(`${n.baseApiUrl}/EchoHub/tag-register/create/temporary/tag-list`).toString(),o=JSON.stringify(e),i=yield n.EchoClient.fetch(r,{Accept:"application/json","Content-Type":"application/json"},"POST",o,t);if(i.ok){return yield i.json()}throw Error(`Something went wrong when trying to create a temporarily list, got status ${i.status} (${i.statusText})`)})),Cx=xx;var Ix=G,Ex=st,_x=Math.floor,Ax=Ix("".charAt),wx=Ix("".replace),Sx=Ix("".slice),kx=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,jx=/\$([$&'`]|\d{1,2})/g,Nx=function(e,t,n,r,o,i){var a=n+e.length,s=r.length,l=jx;return void 0!==o&&(o=Ex(o),l=kx),wx(i,l,(function(i,l){var c;switch(Ax(l,0)){case"$":return"$";case"&":return e;case"`":return Sx(t,0,n);case"'":return Sx(t,a);case"<":c=o[Sx(l,1,-1)];break;default:var u=+l;if(0===u)return i;if(u>s){var d=_x(u/10);return 0===d?i:d<=s?void 0===r[d-1]?Ax(l,1):r[d-1]+Ax(l,1):i}c=r[u-1]}return void 0===c?"":c}))},Tx=np,Px=P,Ox=G,Mx=ku,Lx=S,Bx=tn,Dx=le,Rx=ee,zx=Ar,Fx=Pr,Hx=as,qx=re,Ux=Yu,Gx=Ue,Wx=Nx,Qx=ed,Yx=_t("replace"),Vx=Math.max,Zx=Math.min,Kx=Ox([].concat),Jx=Ox([].push),Xx=Ox("".indexOf),$x=Ox("".slice),eb="$0"==="a".replace(/./,"$0"),tb=!!/./[Yx]&&""===/./[Yx]("a","$0"),nb=!Lx((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));function rb(e){return e.replace(/^0+/,"")}function ob(e,t,n){var r;const o=(null==e?void 0:e.length)-2,i=ib(t,n);return(null==e?void 0:e.length)>1?rb((null===(r=e[o])||void 0===r?void 0:r.itemId)||""):i}function ib(e,t){const n=e.find((e=>e.key===t));return n?n.label:"Previous"}function ab(t){const[o,i]=e.useStateSafe(!0),{instCode:a}=n.usePlantSettings();return r.useEffect((()=>{a&&function(){Ym(this,void 0,void 0,(function*(){try{const e=yield Gp(a,t);i(e)}catch(e){n.handleErrors&&n.handleErrors(e,Zp),i(!1)}}))}()}),[a,t,i]),o}function sb(){const[t,r]=e.useStateSafe(!1);return n.useEventSubscriber(n.EchoEvents.FullScreenModeEnabled,(e=>{r(e.isFullScreenModeEnabled)})),t}Mx("replace",(function(e,t,n){var r=tb?"$":"$0";return[function(e,n){var r=qx(this),o=Rx(e)?void 0:Gx(e,Yx);return o?Px(o,e,r,n):Px(t,Hx(r),e,n)},function(e,o){var i=Bx(this),a=Hx(e);if("string"==typeof o&&-1===Xx(o,r)&&-1===Xx(o,"$<")){var s=n(t,i,a,o);if(s.done)return s.value}var l=Dx(o);l||(o=Hx(o));var c,u=i.global;u&&(c=i.unicode,i.lastIndex=0);for(var d,m=[];null!==(d=Qx(i,a))&&(Jx(m,d),u);){""===Hx(d[0])&&(i.lastIndex=Ux(a,Fx(i.lastIndex),c))}for(var p,h="",f=0,g=0;g<m.length;g++){for(var v,y=Hx((d=m[g])[0]),x=Vx(Zx(zx(d.index),a.length),0),b=[],C=1;C<d.length;C++)Jx(b,void 0===(p=d[C])?p:String(p));var I=d.groups;if(l){var E=Kx([y],b,x,a);void 0!==I&&Jx(E,I),v=Hx(Tx(o,void 0,E))}else v=Wx(y,a,x,b,I,o);x>=f&&(h+=$x(a,f,x)+v,f=x+y.length)}return h+$x(a,f)}]}),!nb||!eb||tb);var lb,cb=_o,ub=Zs,db=w.f,mb=Pr,pb=as,hb=Ms,fb=re,gb=Bs,vb=ub("".slice),yb=Math.min,xb=gb("endsWith");cb({target:"String",proto:!0,forced:!!(xb||(lb=db(String.prototype,"endsWith"),!lb||lb.writable))&&!xb},{endsWith:function(e){var t=pb(fb(this));hb(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:yb(mb(n),r),i=pb(e);return vb(t,o-i.length,o)===i}});var bb=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},Cb=P,Ib=tn,Eb=ee,_b=re,Ab=bb,wb=as,Sb=Ue,kb=ed;ku("search",(function(e,t,n){return[function(t){var n=_b(this),r=Eb(t)?void 0:Sb(t,e);return r?Cb(r,t,n):new RegExp(t)[e](wb(n))},function(e){var r=Ib(this),o=wb(e),i=n(t,r,o);if(i.done)return i.value;var a=r.lastIndex;Ab(a,0)||(r.lastIndex=0);var s=kb(r,o);return Ab(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]}));var jb=_o,Nb=Zs,Tb=w.f,Pb=Pr,Ob=as,Mb=Ms,Lb=re,Bb=Bs,Db=Nb("".slice),Rb=Math.min,zb=Bb("startsWith"),Fb=!zb&&!!function(){var e=Tb(String.prototype,"startsWith");return e&&!e.writable}();function Hb(){const t=Nd();return r.useCallback((n=>{const{instCode:r,docNo:o,fileId:i,revNo:a,tagNo:s}=n,{search:l,tagNo:c}=e.getLinkParams(["search","tagNo"]);t("/viewer",{instCode:Ub(r),search:l||"",tagNo:s||c||"",docNo:encodeURIComponent(o),fileId:i.toString(),revNo:a.toString()})}),[t])}function qb(){const t=Nd();return r.useCallback((n=>{const{instCode:r,tagNo:o,fileUrl:i}=n,{search:a,tagNo:s}=e.getLinkParams(["search","tagNo"]);t("/viewer",{instCode:Ub(r),search:a||"",tagNo:o||s||"",fileUrl:encodeURIComponent(i)})}),[t])}function Ub(e){const t=n.getInstCode().toUpperCase(),r=null==e?void 0:e.toUpperCase().slice(0,-1);return(null==e?void 0:e.toUpperCase().endsWith("X"))&&t.startsWith(r)?t:e}function Gb(t){const{instCode:o}=n.usePlantSettings(),[i,a]=e.useStateSafe(!0);return r.useEffect((()=>{!function(e,t){Ym(this,void 0,void 0,(function*(){const n=yield Qp(e,t);a(n)}))}(o,t)}),[o,t,a]),i}function Wb(t){const o=r.useMemo((()=>"true"===n.EchoEnv.env().REACT_APP_ECHO_3D_WEB_ENABLED),[]),{instCode:i}=n.usePlantSettings(),[a,s]=e.useStateSafe(o);return r.useEffect((()=>{o&&(()=>{Ym(this,void 0,void 0,(function*(){const e=yield Yp(i,t);s(e)}))})()}),[i,t,o,s]),a}function Qb(){const[t,n]=e.useStateSafe(void 0),o=r.useCallback((()=>{document.documentElement.clientWidth>document.documentElement.clientHeight?n("landscape"):n("portrait")}),[n]);return r.useEffect((()=>(o(),window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)})),[o]),t}function Yb(e){const t=function(){const[e,t]=r.useState({width:0,height:0});return r.useEffect((()=>{function e(){t({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),e}(),[n,o]=r.useState(!1);return r.useEffect((()=>{if(!t.width)return;const r=t.width,i=Math.ceil(r),a=i<928&&e||i<768&&!e;n!==a&&o(a)}),[e,n,t.width]),n}function Vb(){const e=Qb();return{isScreenMobileSize:Yb("landscape"===e),screenOrientation:e}}jb({target:"String",proto:!0,forced:!Fb&&!zb},{startsWith:function(e){var t=Ob(Lb(this));Mb(e);var n=Pb(Rb(arguments.length>1?arguments[1]:void 0,t.length)),r=Ob(e);return Db(t,n,n+r.length)===r}});var Zb="\t\n\v\f\r \u2028\u2029\ufeff",Kb=re,Jb=as,Xb=Zb,$b=G("".replace),eC=RegExp("^["+Xb+"]+"),tC=RegExp("(^|[^"+Xb+"])["+Xb+"]+$"),nC=function(e){return function(t){var n=Jb(Kb(t));return 1&e&&(n=$b(n,eC,"")),2&e&&(n=$b(n,tC,"$1")),n}},rC={end:nC(2),trim:nC(3)},oC=En.PROPER,iC=S,aC=Zb,sC=function(e){return iC((function(){return!!aC[e]()||"
"!=="
"[e]()||oC&&aC[e].name!==e}))},lC=rC.end,cC=sC("trimEnd")?function(){return lC(this)}:"".trimEnd;_o({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==cC},{trimRight:cC});_o({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==cC},{trimEnd:cC});const uC=b.create((e=>({activeAppMenuItem:"",isLegendActive:void 0,activeTopMenuItem:"",activeTopMenuComponents:[],moduleName:"",updateActiveAppMenuItem:t=>{e({activeAppMenuItem:t})},updateIsLegendActive:t=>{e({isLegendActive:t})},updateActiveTopMenuItem:t=>{e({activeTopMenuItem:t})},updateActiveTopMenuComponents:t=>{e({activeTopMenuComponents:t})},updateModuleName:t=>{e({moduleName:t})}}))),dC=Object.assign(uC),mC=(e,t)=>{if(e)return e;if("Viewer"===t)return"PDF Viewer";return t.length>1?t:"Echo"},pC=e=>t.upperFirst(e.slice(1).replace(/([A-Z])/g," $1"));function hC(){const t=o.useHistory(),{moduleName:n}=uC();if(window.location.pathname.includes("/echo3d"))return;const{instCode:r,tagNo:i,docNo:a}=e.getLinkParams([e.LinkParameters.InstCode,e.LinkParameters.TagNo,e.LinkParameters.DocNo]),s=(null==t?void 0:t.location.pathname)?pC(t.location.pathname):"",l=[mC(n,s),r||"",a||"",i||""].filter(Boolean).join(" | ").trimEnd();window.document.title=l}function fC(e){return Ym(this,arguments,void 0,(function*({tagNo:e,instCode:t}){const n=yield l.Search.Tags.getTagDetailsAsync(e,t);if(l.resultHelper.throwIfError(n),!n.value)throw new s.NotFoundError({message:`Could not find ${t} ${e}`,httpStatusCode:404,url:"getTagDetails"});return n.value}))}function gC({instCode:t,tagNo:r}){const[o,i]=e.useStateSafe(void 0),[a,s]=e.useStateSafe(!0),[l,c]=e.useStateSafe(!1);return e.useEffectAsync((e=>Ym(this,void 0,void 0,(function*(){!function(e,t){Ym(this,void 0,void 0,(function*(){try{s(!0),c(!1);const n=yield fC({tagNo:t,instCode:e});n&&i(n)}catch(e){n.handleErrors&&n.handleErrors(e,Zp),i(void 0),s(!1),c(!0)}finally{s(!1)}}))}(t,r)}))),[t,r]),{tagDetails:o,isTagDetailsLoading:a,hasError:l}}var vC,yC=Object.freeze({__proto__:null,useEchoHistory:Nd,useFetchInstCodeBySapPlantId:Vp,useHas3dAccess:ab,useIsFullScreenModeEnabled:sb,useOpenPdfFile:Hb,useOpenPdfFileUrl:qb,usePlantAvailableIn3d:Gb,usePlantAvailableIn3dWeb:Wb,useScreenOrientation:Qb,useScreenValues:Vb,useTabTitle:hC,useTagDetails:gC});exports.RegisteredHookName=void 0,(vC=exports.RegisteredHookName||(exports.RegisteredHookName={})).useSetActiveTagNo="useSetActiveTagNo",vC.useContextMenuDataInfo="useContextMenuDataInfo",vC.useTagData="useTagData",vC.useIsContextMenuInfoLoading="useIsContextMenuInfoLoading",vC.useSetActiveCommPackNo="useSetActiveCommPackNo",vC.useSetActiveMcPackNo="useSetActiveMcPackNo";const xC=Object.freeze({useSetActiveTagNo:function(){return n.echoHookRegistry.getHookByName(exports.RegisteredHookName.useSetActiveTagNo)()},useContextMenuDataInfo:function(e,t,r){return n.echoHookRegistry.getHookByName(exports.RegisteredHookName.useContextMenuDataInfo)(e,t,r)},useTagData:function(){return n.echoHookRegistry.getHookByName(exports.RegisteredHookName.useTagData)()},useIsContextMenuInfoLoading:function(){return n.echoHookRegistry.getHookByName(exports.RegisteredHookName.useIsContextMenuInfoLoading)()},useSetActiveCommPackNo:function(){return n.echoHookRegistry.getHookByName(exports.RegisteredHookName.useSetActiveCommPackNo)()},useSetActiveMcPackNo:function(){return n.echoHookRegistry.getHookByName(exports.RegisteredHookName.useSetActiveMcPackNo)()}});var bC;exports.RegisteredComponentName=void 0,(bC=exports.RegisteredComponentName||(exports.RegisteredComponentName={})).TagItem="TagItem",bC.TagListItem="TagListItem";const CC=(()=>{const e={};return Object.freeze({registerComponent:({name:t,component:n})=>{if(e[t])throw new s.BaseError({name:"ComponentAlreadyRegisteredError",message:`[EchoFramework.componentRegistry.registerComponent] Can not set component: a component with name ${t} is already set.`,innerError:{componentName:t}});e[t]=n},getTagItem:()=>{const t=exports.RegisteredComponentName.TagItem;return e[t]||IC(t),e[t]},getTagListItem:()=>{const t=exports.RegisteredComponentName.TagListItem;return e[t]||IC(t),e[t]}})})();function IC(e){throw new s.BaseError({name:"UnregisteredComponentNameError",message:`[EchoFramework.componentRegistry] Can not get component: there is no component by the name "${e}" registered.`,innerError:{componentName:e}})}var EC="AppLinks-module_AppBar__2ZZaq";Ad(".AppLinks-module_AppBar__2ZZaq{align-items:flex-start;display:flex;flex-wrap:wrap;justify-content:center;margin:0 auto 48px}");const _C=(e,t)=>{const n=e.params;return(null==n?void 0:n.includes("instCode"))?e:Object.assign(Object.assign({},e),{params:n&&n.length>0?n+`&instCode=${t}`:`?instCode=${t}`})},AC=({appLink:e})=>{const{name:t,path:r,icon:o,isVisible:a}=e,s=n.useInternalLink();return!a||a()?c.jsx(i.TextIconButton,{onClick:()=>{s(r,e)},icon:o,title:t}):null},wC=({isHome:e})=>{const t=n.useAppLinks(e),r=n.useInstCode();return c.jsx("div",{className:EC,children:t.map(((e,t)=>c.jsx(AC,{appLink:_C(e,r)},e.name+t)))})},SC=({className:e})=>c.jsx("svg",{width:"25",height:"22",viewBox:"0 0 25 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.71 0.96C9.71 0.32 8.56 0 7.26 0C5.94 0 4.72 0.31 3.6 0.929999C2.5 1.55 1.62 2.44 0.96 3.6C0.32 4.76 0 6.11 0 7.65C0 9.09 0.3 10.38 0.9 11.52C1.5 12.64 2.36 13.52 3.48 14.16C4.62 14.8 5.95 15.12 7.47 15.12C8.59 15.12 9.67 14.92 10.71 14.52C11.1338 14.357 11.5343 14.1658 11.9115 13.9464C11.9105 14.0053 11.91 14.0645 11.91 14.124C11.91 15.468 12.19 16.672 12.75 17.736C13.31 18.7813 14.1127 19.6027 15.158 20.2C16.222 20.7973 17.4633 21.096 18.882 21.096C19.9273 21.096 20.9353 20.9093 21.906 20.536C22.8767 20.1627 23.7167 19.6307 24.426 18.94C24.5007 18.8653 24.538 18.7907 24.538 18.716C24.538 18.6227 24.51 18.548 24.454 18.492L23.866 17.68C23.81 17.5867 23.7353 17.54 23.642 17.54C23.6047 17.54 23.53 17.5773 23.418 17.652C22.7833 18.212 22.074 18.6507 21.29 18.968C20.5247 19.2667 19.7407 19.416 18.938 19.416C17.874 19.416 16.95 19.192 16.166 18.744C15.4007 18.2773 14.8033 17.6707 14.374 16.924C13.9447 16.1587 13.702 15.328 13.646 14.432H24.482C24.706 14.432 24.818 14.3293 24.818 14.124V13.368C24.818 12.2293 24.566 11.1747 24.062 10.204C23.558 9.23333 22.8393 8.45867 21.906 7.88C20.9727 7.28267 19.8993 6.984 18.686 6.984C17.454 6.984 16.3153 7.27333 15.27 7.852C14.2433 8.43067 13.422 9.26133 12.806 10.344C12.6155 10.6892 12.4554 11.0525 12.3257 11.4338C11.6468 12.032 10.8882 12.5007 10.05 12.84C9.23 13.16 8.39 13.32 7.53 13.32C6.39 13.32 5.4 13.08 4.56 12.6C3.74 12.1 3.1 11.45 2.64 10.65C2.18 9.83 1.92 8.94 1.86 7.98H13.47C13.71 7.98 13.83 7.87 13.83 7.65V6.84C13.83 5.62 13.56 4.49 13.02 3.45C12.48 2.41 11.71 1.58 10.71 0.96ZM10.53 3.06C11.35 3.9 11.81 4.97 11.91 6.27H1.98C2.22 4.95 2.79 3.88 3.69 3.06C4.61 2.22 5.79 1.8 7.23 1.8C8.61 1.8 9.71 2.22 10.53 3.06ZM21.738 9.84C22.5033 10.624 22.9327 11.6227 23.026 12.836H13.758C13.982 11.604 14.514 10.6053 15.354 9.84C16.2127 9.056 17.314 8.664 18.658 8.664C19.946 8.664 20.9727 9.056 21.738 9.84Z",fill:"#FF1243"})});var kC;exports.InternalApplicationLinks=void 0,(kC=exports.InternalApplicationLinks||(exports.InternalApplicationLinks={})).Ayelix="/ayelix",kC.Events="/events",kC.TagScanner="/tagscanner",kC.MyTasks="/MyTasks",kC.Media="/media",kC.MissionPlanner="/missionplanner",kC.EchoHub="/EchoHub",kC.RelatedTag="/RelatedTag",kC.Tags="/tags",kC.OfflineDocuments="/OfflineDocuments",kC.Viewer="/viewer",kC.Echo4Project="/project",kC.XLD="/xld",kC.SmartPortal="/smartportal",kC.EchoMaps="/maps",kC.Echo3dWeb="/echo3d",kC.Turnaround="/turnaround",kC.Sandbox="/sandbox",kC.Home="/";var jC="EchoContent-module_spinningIcon__EDkWM";Ad(".EchoContent-module_barButtons__nsM6X{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.EchoContent-module_barButtons__nsM6X>button>span{grid-gap:0;display:flex;flex-direction:column}.EchoContent-module_barButtons__nsM6X>button>span>svg{display:inline-flex;margin-bottom:.2rem}.EchoContent-module_barButtons__nsM6X>button>span>span{color:var(--echoText);display:inline-flex;font-size:.65625rem;line-height:.75rem}.EchoContent-module_activeBottomBarButton__a8kxs{background-color:var(--equiGreen3);border-top:2px solid var(--equiGreen1)}.EchoContent-module_activeBottomBarButton__a8kxs>button:focus{outline:none!important}.EchoContent-module_activeBottomBarButton__a8kxs>button:focus-visible{outline:1px dashed #004f55!important;outline-offset:2px!important}@media screen and (max-width:927px) and (orientation:landscape){.EchoContent-module_activeBottomBarButton__a8kxs{border-right:2px solid var(--equiGreen1);border-top:0}.EchoContent-module_barButtons__nsM6X{max-height:96px;width:56px}}@keyframes EchoContent-module_spinAnimation__enGOK{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.EchoContent-module_spinningIcon__EDkWM{animation:EchoContent-module_spinAnimation__enGOK 1.5s linear infinite reverse}.EchoContent-module_headerDetails__Z6x0e{justify-self:end}.EchoContent-module_headerIcons__7SwgN>svg{margin:0 8px}");const NC=({isFullScreenModeEnabled:t,isBottomBarVisible:o,activeAppMenuItem:a,updateActiveAppMenuItem:l})=>{const[u,d]=e.useStateSafe(!1),{setActivePanel:m,activePanel:p}=n.usePanels(),{instCode:h}=n.usePlantSettings(),f=Nd(),g=n.useInternalLink(),v="home",y=n.ECHO_CORE_SEARCH,x=n.ECHO_CORE_SELECTION,b=n.ECHO_CORE_MAIN,C="sandbox";r.useEffect((()=>{const e=s.eventHub.subscribe("isSyncing",(e=>{d(e)}));return()=>{e()}})),r.useEffect((()=>{window.location.pathname.includes(n.TAGSCANNER)&&l(n.TAGSCANNER)}),[m,l]);const I=t=>{if(m(""),t===a)return l(""),void([b,y,x].includes(t)?e.setLinkParam(e.LinkParameters.TagNo,""):g("/"));switch(l(t),t){case v:return f("/",{instCode:h});case y:return m(n.ECHO_CORE_SEARCH);case x:return m(n.ECHO_CORE_SELECTION);case n.TAGSCANNER:return window.location.replace(`/${n.TAGSCANNER}`);case b:return m(n.ECHO_CORE_MAIN);case C:return g(exports.InternalApplicationLinks.Sandbox);default:return null}},E=SC;return o&&!t?c.jsxs(i.EchoBottomBar,{style:{zIndex:"var( --echo-framework-z-level-bottom-bar)"},children:[c.jsx(i.SidebarButton,{active:a===v,onClick:()=>I(v),text:"Home",buttonPosition:"bottom",children:c.jsx(E,{})}),c.jsx(i.SidebarButton,{active:a===n.ECHO_CORE_SEARCH&&p===n.ECHO_CORE_SEARCH,onClick:()=>I(y),text:"Search",buttonPosition:"bottom",children:c.jsx(i.Icon,{name:"search",color:i.themeConst.echoText})}),c.jsx(i.SidebarButton,{active:p===n.ECHO_CORE_SELECTION,onClick:()=>I(x),text:"Selection",buttonPosition:"bottom",children:c.jsx(i.Icon,{name:"playlist_added",color:i.themeConst.echoText})}),n.EchoEnv.isLocalOrDevOrTest()&&c.jsx(i.SidebarButton,{active:a===C,onClick:()=>I(C),text:"Sandbox",buttonPosition:"bottom",children:c.jsx(i.Icon,{name:"engineering",color:i.themeConst.echoText})}),c.jsx(i.SidebarButton,{active:a===n.TAGSCANNER,onClick:()=>I(n.TAGSCANNER),text:"Scan",buttonPosition:"bottom",children:c.jsx(i.Icon,{name:"camera",color:i.themeConst.echoText})}),c.jsx(i.SidebarButton,{active:a===n.ECHO_CORE_MAIN&&p===n.ECHO_CORE_MAIN,onClick:()=>I(b),text:"Menu",buttonPosition:"bottom",children:c.jsx(i.Icon,{name:u?"sync":"menu",className:u?jC:"",color:i.themeConst.echoText})})]}):null};var TC=r.memo(NC),PC="EchoMenu-module_echoTopBar__F5JYY",OC="EchoMenu-module_topBarItems__lZMfa",MC="EchoMenu-module_topBarItem__ahWg0",LC="EchoMenu-module_echoToolMenu__07CMW",BC="EchoMenu-module_eeLogo__DU06g",DC="EchoMenu-module_headerTitleArea__Rjd9f",RC="EchoMenu-module_headerTitleWrapper__A0je2",zC="EchoMenu-module_plantNameWrapper__T28Kk",FC="EchoMenu-module_plantName__OkipP",HC="EchoMenu-module_headerIcons__dZLjR";Ad(".EchoMenu-module_echoTopBar__F5JYY{border-bottom:1px solid var(--default)!important;padding-left:12px!important;padding-right:var(--small)!important;width:100%!important}.EchoMenu-module_topBarItems__lZMfa{align-items:center;display:flex}.EchoMenu-module_topBarItem__ahWg0{display:flex;flex-shrink:0;padding:0 .25em}.EchoMenu-module_echoToolMenu__07CMW{background:#fff;border-right:1px solid var(--default);display:flex;flex-direction:column;height:100%;width:64px;z-index:var(--echo-framework-z-level-panel-left)}.EchoMenu-module_headerDetails__McF40{justify-self:end}@media screen and (min-width:768px){.EchoMenu-module_headerDetails__McF40{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:65px}}@media screen and (min-width:1024px){.EchoMenu-module_headerDetails__McF40{overflow:auto;text-overflow:clip;white-space:normal;width:auto}}.EchoMenu-module_eeLogo__DU06g svg{height:24px!important;width:24px!important}.EchoMenu-module_headerDetails__McF40,.EchoMenu-module_headerTitleArea__Rjd9f{align-items:center;display:flex;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.EchoMenu-module_headerTitleWrapper__A0je2{display:flex;flex-direction:column;flex-shrink:1;gap:.2rem;margin:0;min-width:120px;padding:0}.EchoMenu-module_plantNameWrapper__T28Kk{align-items:center;display:flex}.EchoMenu-module_plantNameWrapper__T28Kk,.EchoMenu-module_plantName__OkipP{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.EchoMenu-module_headerIcons__dZLjR>svg{display:flex;flex-shrink:0;margin:0 8px;min-height:20px!important;min-width:20px!important}.EchoMenu-module_popoverContent__9SvmG>div{width:300px}.EchoMenu-module_popoverTitle__soO-h{display:flex;height:24px;justify-content:space-between;margin:0;width:100%}");const qC=()=>{const{setActivePanel:e,modulePanels:t,activePanel:r}=n.usePanels(),{updateActiveAppMenuItem:o}=uC();return c.jsx("div",{className:LC,children:t.map((t=>c.jsx(i.SidebarButton,{text:t.label,onClick:()=>(t=>{const n=t===r?"":t;o(n),e(n)})(t.key),active:r===t.key,buttonPosition:"left",children:"string"==typeof t.icon?c.jsx(i.Icon,{name:t.icon,color:i.themeConst.echoText}):c.jsx(t.icon,{})},t.key)))})};var UC,GC=r.memo(qC),WC=["title","titleId"];function QC(){return QC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QC.apply(null,arguments)}var YC=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,WC);return x.createElement("svg",QC({width:25,height:22,viewBox:"0 0 25 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,UC||(UC=x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.71 0.96C9.71 0.32 8.56 0 7.26 0C5.94 0 4.72 0.31 3.6 0.929999C2.5 1.55 1.62 2.44 0.96 3.6C0.32 4.76 0 6.11 0 7.65C0 9.09 0.3 10.38 0.9 11.52C1.5 12.64 2.36 13.52 3.48 14.16C4.62 14.8 5.95 15.12 7.47 15.12C8.59 15.12 9.67 14.92 10.71 14.52C11.1338 14.357 11.5343 14.1658 11.9115 13.9464C11.9105 14.0053 11.91 14.0645 11.91 14.124C11.91 15.468 12.19 16.672 12.75 17.736C13.31 18.7813 14.1127 19.6027 15.158 20.2C16.222 20.7973 17.4633 21.096 18.882 21.096C19.9273 21.096 20.9353 20.9093 21.906 20.536C22.8767 20.1627 23.7167 19.6307 24.426 18.94C24.5007 18.8653 24.538 18.7907 24.538 18.716C24.538 18.6227 24.51 18.548 24.454 18.492L23.866 17.68C23.81 17.5867 23.7353 17.54 23.642 17.54C23.6047 17.54 23.53 17.5773 23.418 17.652C22.7833 18.212 22.074 18.6507 21.29 18.968C20.5247 19.2667 19.7407 19.416 18.938 19.416C17.874 19.416 16.95 19.192 16.166 18.744C15.4007 18.2773 14.8033 17.6707 14.374 16.924C13.9447 16.1587 13.702 15.328 13.646 14.432H24.482C24.706 14.432 24.818 14.3293 24.818 14.124V13.368C24.818 12.2293 24.566 11.1747 24.062 10.204C23.558 9.23333 22.8393 8.45867 21.906 7.88C20.9727 7.28267 19.8993 6.984 18.686 6.984C17.454 6.984 16.3153 7.27333 15.27 7.852C14.2433 8.43067 13.422 9.26133 12.806 10.344C12.6155 10.6892 12.4554 11.0525 12.3257 11.4338C11.6468 12.032 10.8882 12.5007 10.05 12.84C9.23 13.16 8.39 13.32 7.53 13.32C6.39 13.32 5.4 13.08 4.56 12.6C3.74 12.1 3.1 11.45 2.64 10.65C2.18 9.83 1.92 8.94 1.86 7.98H13.47C13.71 7.98 13.83 7.87 13.83 7.65V6.84C13.83 5.62 13.56 4.49 13.02 3.45C12.48 2.41 11.71 1.58 10.71 0.96ZM10.53 3.06C11.35 3.9 11.81 4.97 11.91 6.27H1.98C2.22 4.95 2.79 3.88 3.69 3.06C4.61 2.22 5.79 1.8 7.23 1.8C8.61 1.8 9.71 2.22 10.53 3.06ZM21.738 9.84C22.5033 10.624 22.9327 11.6227 23.026 12.836H13.758C13.982 11.604 14.514 10.6053 15.354 9.84C16.2127 9.056 17.314 8.664 18.658 8.664C19.946 8.664 20.9727 9.056 21.738 9.84Z",fill:"#FF1243"})))},VC=r.forwardRef(YC);let ZC="";function KC(e){ZC=e}function JC(e){return!!ZC&&(e===exports.InternalApplicationLinks.Home?ZC===e:ZC.includes(e))}const XC=Object.freeze({isOnPage:JC,isOnPdfViewer:()=>JC(exports.InternalApplicationLinks.Viewer),isOnEcho3dPage:()=>JC(exports.InternalApplicationLinks.Echo3dWeb),isOnHomePage:()=>JC(exports.InternalApplicationLinks.Home)}),$C=({topBarItems:e})=>{return e?(t=e,c.jsx("div",{className:OC,children:t.map(((e,t)=>c.jsx("div",{className:MC,children:c.jsx(e,{})},"topBarItem"+t)))})):null;var t},eI=()=>{const{activeTopMenuComponents:e,moduleName:t}=uC(),{updateActiveAppMenuItem:i}=uC(),a=o.useHistory(),s=o.useLocation(),{sapPlantId:l,plantName:u}=n.usePlantSettings(),m=a.location.pathname?pC(a.location.pathname):"",p=!XC.isOnHomePage()&&!XC.isOnEcho3dPage();return r.useEffect((()=>{KC(s.pathname)}),[s.pathname]),c.jsxs(d.TopBar,{className:PC,children:[c.jsxs(d.TopBar.Header,{children:[c.jsx(d.Button,{variant:"ghost_icon",onClick:()=>(a.push("/"),i(""),void n.setActivePanel("")),children:c.jsx("div",{className:BC,children:c.jsx(VC,{})})}),c.jsxs("div",{className:RC,children:[c.jsx(d.Typography,{className:DC,children:mC(t,m)}),c.jsx("div",{className:zC,children:p&&c.jsxs(d.Typography,{group:"paragraph",variant:"caption",className:FC,children:[u&&`${u}`,l&&` (${l})`]})})]})]}),c.jsx(d.TopBar.Actions,{children:c.jsx("div",{className:HC,children:c.jsx($C,{topBarItems:e})})})]})};var tI=r.memo(eI);const nI=()=>{const{activeTopMenuItem:e,updateActiveTopMenuItem:t}=uC(),{isScreenMobileSize:n}=Vb();r.useEffect((()=>{n&&""!==e&&t("")}),[e,n,t])},rI=e=>{const{activePanel:t="",setActivePanel:o}=n.usePanels(),{isScreenMobileSize:i}=Vb();r.useEffect((()=>{!i&&e.includes(t)&&o("")}),[t,e,i,o])};var oI="layout-module_echoContentContainer__aiKkp",iI="layout-module_echoContentContainerFullScreenMode__4ZF8W",aI="layout-module_deviceOrientation__b-F7k",sI="layout-module_deviceOrientationFullScreenMode__D7e4V",lI="layout-module_mainLayoutWrapper__eKwZ5",cI="layout-module_colorLayout__Cfv-I",uI="layout-module_pdfViewerNative__mslqB",dI="layout-module_web3DLayout__RZ-2r",mI="layout-module_defaultLayout__jZMVT";Ad('.layout-module_echoContentContainerFullScreenMode__4ZF8W,.layout-module_echoContentContainer__aiKkp{height:100%;padding:env(safe-area-inset-top,20px) env(safe-area-inset-right,20px) env(safe-area-inset-bottom,20px) env(safe-area-inset-left,20px);width:100%}.layout-module_echoContentContainerFullScreenMode__4ZF8W{height:100%!important;padding:0!important}.layout-module_deviceOrientationFullScreenMode__D7e4V,.layout-module_deviceOrientation__b-F7k{display:flex;flex-direction:column;height:100%;width:100%}.layout-module_deviceOrientationFullScreenMode__D7e4V{height:100%!important;padding:0!important}@media screen and (max-width:927px) and (orientation:landscape){.layout-module_echoContentContainer__aiKkp{display:flex;flex-direction:row;height:100%;width:calc(100% + env(safe-area-inset-left))}.layout-module_deviceOrientation__b-F7k{height:calc(100% + env(safe-area-inset-bottom))!important;width:100%}}@media screen and (max-width:767px) and (orientation:portrait){.layout-module_deviceOrientation__b-F7k{height:calc(100% - 48px)!important}}@media screen and (min-width:928px) and (orientation:landscape){.layout-module_echoContentContainer__aiKkp{display:flex;height:calc(100% - 64px + env(safe-area-inset-bottom) + env(safe-area-inset-top));width:calc(100% + env(safe-area-inset-right))}}@media screen and (min-width:768px) and (orientation:portrait){.layout-module_echoContentContainer__aiKkp{display:flex;height:calc(100% - 64px)}}@keyframes layout-module_fadeIn__JmqJL{0%{opacity:0}to{opacity:1}}.layout-module_mainLayoutWrapper__eKwZ5{height:100%;overflow:hidden;width:100%}.layout-module_bgTransparent__RhT-I{background-color:transparent}.layout-module_footerDisclaimer__jcKoG{font-size:.7rem}.layout-module_footerLogo__qgmUX{max-height:2.5rem}.layout-module_navbarBrand__dGCu2{color:red}::selection{background-color:#cce2ff;color:rgba(0,0,0,.87)}.layout-module_colorLayout__Cfv-I{background-color:#eaf4f9;height:100%;overflow:hidden;position:relative;width:100%}.layout-module_pdfViewerNative__mslqB{background-color:#323639;height:100%;overflow:hidden;padding-top:6.5rem;position:relative;width:100%}.layout-module_web3DLayout__RZ-2r{height:100%;overflow:clip;position:relative;width:100%}.layout-module_cameraLayout__gd2n4{background-color:"transparent";height:100%;position:relative;width:100%}.layout-module_defaultLayout__jZMVT{height:100%;overflow:hidden;position:relative;width:100%}.layout-module_noPadding__ilNsb{padding:0}.layout-module_noMargin__L-zbT{margin:0}');const pI=({layoutKey:e,children:t})=>{const{isScreenMobileSize:r,screenOrientation:o}=Vb(),{activeAppMenuItem:i,updateActiveAppMenuItem:a}=uC(),s=sb(),l="main"===e||"colorLayout"===e||"nativePdf"===e||"3dweb"===e,d=u(s?sI:aI,{[lI]:"main"===e,[cI]:"colorLayout"===e,[uI]:"nativePdf"===e,[dI]:"3dweb"===e,[mI]:void 0===e||!l});return rI([n.ECHO_CORE_MAIN]),nI(),c.jsxs(c.Fragment,{children:[!r&&!s&&c.jsx(tI,{}),c.jsxs("div",{className:s?iI:oI,children:[!r&&!s&&"main"!==e&&c.jsx(GC,{}),"landscape"===o&&c.jsx(TC,{isBottomBarVisible:r,activeAppMenuItem:i,updateActiveAppMenuItem:a,isFullScreenModeEnabled:s}),c.jsx("div",{className:d,children:t}),"portrait"===o&&c.jsx(TC,{isBottomBarVisible:r,activeAppMenuItem:i,updateActiveAppMenuItem:a,isFullScreenModeEnabled:s})]})]})};var hI,fI,gI,vI,yI,xI,bI,CI,II,EI,_I,AI,wI,SI,kI,jI,NI,TI,PI,OI,MI,LI,BI,DI,RI,zI,FI,HI,qI,UI,GI,WI,QI,YI,VI,ZI,KI,JI,XI,$I,eE,tE,nE,rE,oE,iE,aE,sE,lE,cE,uE,dE,mE,pE,hE,fE,gE,vE,yE,xE,bE,CE,IE,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){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Mk);return x.createElement("svg",Lk({id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 50 50",style:{enableBackground:"new 0 0 50 50"},xmlSpace:"preserve",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,hI||(hI=x.createElement("style",{type:"text/css"},"\r\n\t.st0{fill:#FFFFFF;}\r\n\t.st1{fill:#007079;}\r\n\t.st2{fill:#007079;stroke:#007079;stroke-width:0.1;}\r\n\t.st3{fill:none;stroke:#007079;stroke-miterlimit:10;}\r\n\t.st4{fill:#007079;stroke:#007079;stroke-width:0.25;}\r\n\t.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#007079;}\r\n\t.st6{fill:#F4C90F;stroke:#C68600;stroke-width:0.25;}\r\n\t.st7{fill:none;stroke:#007079;stroke-width:0.5;stroke-miterlimit:10;}\r\n\t.st8{fill:#21D1D4;}\r\n\t.st9{fill:#FF0000;}\r\n\t.st10{fill:none;stroke:#FFFFFF;stroke-width:0.5;stroke-miterlimit:10;}\r\n\t.st11{fill-rule:evenodd;clip-rule:evenodd;fill:#73B1B5;}\r\n\t.st12{fill:#007079;stroke:#007079;stroke-width:0.25;stroke-miterlimit:10;}\r\n\t.st13{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.1;}\r\n\t.st14{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFFF;}\r\n\t.st15{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.25;stroke-miterlimit:10;}\r\n\t.st16{fill:none;stroke:#FFFFFF;stroke-miterlimit:10;}\r\n\t.st17{fill-rule:evenodd;clip-rule:evenodd;}\r\n\t.st18{stroke:#000000;stroke-width:0.25;}\r\n\t.st19{fill:#243746;}\r\n\t.st20{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.25;}\r\n\t.st21{fill-rule:evenodd;clip-rule:evenodd;fill:#EB0037;}\r\n\t.st22{fill:#EB0037;}\r\n\t.st23{fill:#5FFF88;}\r\n")),fI||(fI=x.createElement("path",{d:"M36.9,98H12.1C9.8,98,8,96.2,8,93.9V69.1c0-2.3,1.8-4.1,4.1-4.1h24.8c2.3,0,4.1,1.8,4.1,4.1v24.8C41,96.1,39.1,98,36.9,98z"})),gI||(gI=x.createElement("path",{d:"M223.9,129.4c-2.1,0-4,0.5-5.7,1.4l0.5,0.9c1.6-0.8,3.4-1.2,5.3-1.2c6.6,0,12,5.4,12,12c0,2.6-0.9,5.1-2.3,7l0.7,0.7 c1.6-2.2,2.6-4.8,2.6-7.7C236.9,135.2,231,129.4,223.9,129.4z"})),vI||(vI=x.createElement("rect",{x:70.5,y:118.4,className:"st0",width:50,height:50})),x.createElement("image",{style:{overflow:"visible",enableBackground:"new"},width:4032,height:3024,xlinkHref:"../Library/CloudStorage/OneDrive-Equinor/361C1E769AB26D64.jpg",transform:"matrix(-6.887338e-18 3.749292e-02 -3.538003e-02 -6.499206e-18 -471.1658 -59.7012)"}),yI||(yI=x.createElement("path",{className:"st1",d:"M-208.5,139.2h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-208.8,139.3-208.7,139.2-208.5,139.2z"})),xI||(xI=x.createElement("path",{className:"st1",d:"M-200.1,151.3c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-200.1,151.3z"})),bI||(bI=x.createElement("path",{className:"st1",d:"M-194.8,141.1c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-200.2,129.1-194.8,134.5-194.8,141.1z"})),CI||(CI=x.createElement("g",null,x.createElement("path",{className:"st2",d:"M-217.1,132.1l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-217.3,132-217.2,132-217.1,132.1z"}))),II||(II=x.createElement("path",{className:"st3",d:"M-216.7,142.3"})),EI||(EI=x.createElement("path",{className:"st1",d:"M-114.2,138.5h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-114.6,138.7-114.4,138.5-114.2,138.5z"})),_I||(_I=x.createElement("path",{className:"st1",d:"M-99.9,141.1c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-105.3,129.1-99.9,134.5-99.9,141.1z"})),AI||(AI=x.createElement("g",null,x.createElement("path",{className:"st4",d:"M-122.3,132.3l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-122.4,132.2-122.3,132.2-122.3,132.3z"}))),wI||(wI=x.createElement("path",{className:"st3",d:"M-121.7,142.3"})),SI||(SI=x.createElement("path",{className:"st5",d:"M-316.4,145.6h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-316.4,145.6z M-326.1,141.1c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-326.1,138.7-326.1,141.1z"})),kI||(kI=x.createElement("path",{className:"st1",d:"M-323.3,139.2h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-323.6,139.3-323.4,139.2-323.3,139.2z"})),jI||(jI=x.createElement("path",{className:"st1",d:"M-314.8,151.3c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-314.8,151.3z"})),NI||(NI=x.createElement("path",{className:"st1",d:"M-309.5,141.1c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-314.9,129.1-309.5,134.5-309.5,141.1z"})),TI||(TI=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-331.8,132.1l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-332,132-331.9,132-331.8,132.1z"}))),PI||(PI=x.createElement("path",{className:"st3",d:"M-331.4,142.3"})),OI||(OI=x.createElement("path",{className:"st3",d:"M-198.4,146.4"})),MI||(MI=x.createElement("line",{className:"st3",x1:-197.8,y1:145.2,x2:-197.8,y2:145.2})),LI||(LI=x.createElement("path",{className:"st1",d:"M-217.3,144.5l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-217.3,144.5z"})),BI||(BI=x.createElement("path",{className:"st1",d:"M-125.8,141.6l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-125.8,141.6z"})),DI||(DI=x.createElement("path",{className:"st1",d:"M-199.9,147.9c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-199.9,147.9z"})),RI||(RI=x.createElement("path",{className:"st5",d:"M-259.8,145.6h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-259.8,145.6z M-269.5,141.1c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-269.5,138.7-269.5,141.1z"})),zI||(zI=x.createElement("path",{className:"st1",d:"M-266.6,139.2h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-266.9,139.3-266.8,139.2-266.6,139.2z"})),FI||(FI=x.createElement("path",{className:"st1",d:"M-258.1,151.3c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-258.1,151.3z"})),HI||(HI=x.createElement("path",{className:"st1",d:"M-252.9,141.1c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-258.3,129.1-252.9,134.5-252.9,141.1z"})),qI||(qI=x.createElement("g",null,x.createElement("path",{className:"st2",d:"M-275.2,132.1l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-275.3,132-275.2,132-275.2,132.1z"}))),UI||(UI=x.createElement("path",{className:"st3",d:"M-274.7,142.3"})),GI||(GI=x.createElement("path",{className:"st3",d:"M-256.5,146.4"})),WI||(WI=x.createElement("line",{className:"st3",x1:-255.8,y1:145.2,x2:-255.8,y2:145.2})),QI||(QI=x.createElement("path",{className:"st7",d:"M-256.5,146.4c-0.4,0.6-0.8,1.2-1.3,1.7"})),YI||(YI=x.createElement("path",{className:"st1",d:"M-275.3,144.5l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-275.3,144.5z"})),VI||(VI=x.createElement("path",{className:"st1",d:"M-264.9,130.7c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4s9.4,4.2,9.4,9.4c0,1.8-0.5,3.5-1.4,5c-0.3,0.5-0.7,1-1.1,1.4v1.4c0.8-0.7,1.4-1.4,2-2.3 c1-1.6,1.6-3.6,1.6-5.5C-254.5,135.4-259.1,130.7-264.9,130.7z"})),ZI||(ZI=x.createElement("path",{className:"st1",d:"M-258,147.9c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-258,147.9z"})),KI||(KI=x.createElement("path",{className:"st1",d:"M-206.8,130.7c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4c1.6,0,3.2,0.4,4.5,1.2l0.6-0.8C-203.2,131.2-204.9,130.7-206.8,130.7z"})),JI||(JI=x.createElement("path",{className:"st7",d:"M-201.1,133.1c2.5,1.8,4.2,4.7,4.2,8.1c0,1.9-0.5,3.7-1.5,5.2"})),XI||(XI=x.createElement("path",{className:"st7",d:"M-198.4,146.4c-0.4,0.7-1,1.3-1.6,1.9"})),$I||($I=x.createElement("path",{className:"st5",d:"M-201.7,145.6h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-201.7,145.6z M-211.4,141.1c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-211.4,138.7-211.4,141.1z"})),eE||(eE=x.createElement("rect",{x:-230.8,className:"st1",width:50,height:50})),tE||(tE=x.createElement("path",{className:"st8",d:"M-208.5,20.8h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-208.8,20.9-208.7,20.8-208.5,20.8z"})),nE||(nE=x.createElement("path",{className:"st0",d:"M-200.1,32.9c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-200.1,32.9z"})),rE||(rE=x.createElement("path",{className:"st0",d:"M-194.8,22.7c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-200.2,10.7-194.8,16.1-194.8,22.7z"})),oE||(oE=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-217.1,13.7l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-217.3,13.6-217.2,13.6-217.1,13.7z"}))),iE||(iE=x.createElement("path",{className:"st3",d:"M-216.7,23.9"})),aE||(aE=x.createElement("path",{className:"st3",d:"M-198.4,28"})),sE||(sE=x.createElement("line",{className:"st3",x1:-197.8,y1:26.8,x2:-197.8,y2:26.8})),lE||(lE=x.createElement("path",{className:"st9",d:"M-217.3,26.1l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-217.3,26.1z"})),cE||(cE=x.createElement("path",{className:"st0",d:"M-199.9,29.5c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-199.9,29.5z"})),uE||(uE=x.createElement("path",{className:"st0",d:"M-206.8,12.3c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4c1.6,0,3.2,0.4,4.5,1.2l0.6-0.8C-203.2,12.8-204.9,12.3-206.8,12.3z"})),dE||(dE=x.createElement("path",{className:"st10",d:"M-201.1,14.6c2.5,1.8,4.2,4.7,4.2,8.1c0,1.9-0.5,3.7-1.5,5.2"})),mE||(mE=x.createElement("path",{className:"st7",d:"M-198.4,28c-0.4,0.7-1,1.3-1.6,1.9"})),pE||(pE=x.createElement("path",{className:"st11",d:"M-201.7,27.2h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-201.7,27.2z M-211.4,22.7c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-211.4,20.2-211.4,22.7z"})),hE||(hE=x.createElement("path",{className:"st5",d:"M-433.2,145.6h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-433.2,145.6z M-443,141.1c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-443,138.7-443,141.1z"})),fE||(fE=x.createElement("path",{className:"st1",d:"M-440.1,139.2h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-440.4,139.3-440.2,139.2-440.1,139.2z"})),gE||(gE=x.createElement("path",{className:"st1",d:"M-426.4,141.1c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-431.8,129.1-426.4,134.5-426.4,141.1z"})),vE||(vE=x.createElement("g",null,x.createElement("path",{className:"st12",d:"M-448.5,132.5l1,1.9c0,0.1,0,0.1-0.1,0.1l-2.1-0.3c-0.1,0-0.1-0.1-0.1-0.1l1.1-1.5 C-448.6,132.4-448.5,132.4-448.5,132.5z"}))),yE||(yE=x.createElement("path",{className:"st3",d:"M-448.2,142.3"})),xE||(xE=x.createElement("path",{className:"st1",d:"M-452.1,141.3l0.6-1h1.2l0.6,1l-0.6,1h-1.2L-452.1,141.3z"})),bE||(bE=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M-450.5,139.8c0.2-1.6,0.7-3.2,1.5-4.6l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.4V139.8z"}),x.createElement("path",{className:"st1",d:"M-431.6,151.3c-2,1.3-4.3,2-6.8,2c-6.2,0-11.4-4.7-12.1-10.7h-0.5c0.8,6.3,6.1,11.2,12.6,11.2 c2.6,0,5-0.8,7.1-2.2L-431.6,151.3z"}))),CE||(CE=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M-122.6,135.2l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-123.9,138.2-123.4,136.6-122.6,135.2z"}),x.createElement("path",{className:"st1",d:"M-105.1,151.3c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-105.1,151.3z"}))),IE||(IE=x.createElement("rect",{x:-462.3,y:57.5,className:"st1",width:50,height:50})),EE||(EE=x.createElement("rect",{x:-135.9,y:57.5,className:"st1",width:50,height:50})),_E||(_E=x.createElement("rect",{x:-345.5,y:57.5,className:"st1",width:50,height:50})),AE||(AE=x.createElement("rect",{x:-288.9,y:57.5,className:"st1",width:50,height:50})),wE||(wE=x.createElement("rect",{x:-230.8,y:57.5,className:"st1",width:50,height:50})),SE||(SE=x.createElement("path",{className:"st0",d:"M-208.5,78.3h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-208.8,78.5-208.7,78.3-208.5,78.3z"})),kE||(kE=x.createElement("path",{className:"st0",d:"M-200.1,90.5c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-200.1,90.5z"})),jE||(jE=x.createElement("path",{className:"st0",d:"M-194.8,80.3c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-200.2,68.3-194.8,73.6-194.8,80.3z"})),NE||(NE=x.createElement("g",null,x.createElement("path",{className:"st13",d:"M-217.1,71.2l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-217.3,71.1-217.2,71.1-217.1,71.2z"}))),TE||(TE=x.createElement("path",{className:"st3",d:"M-216.7,81.4"})),PE||(PE=x.createElement("path",{className:"st8",d:"M-114.2,77.6h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-114.6,77.8-114.4,77.6-114.2,77.6z"})),OE||(OE=x.createElement("path",{className:"st0",d:"M-99.9,80.3c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13c-3.6,0-7.1,1.5-9.6,4.2 l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-105.3,68.3-99.9,73.6-99.9,80.3z"})),ME||(ME=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-122.3,71.4l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-122.4,71.3-122.3,71.3-122.3,71.4z"}))),LE||(LE=x.createElement("path",{className:"st3",d:"M-121.7,81.4"})),BE||(BE=x.createElement("path",{className:"st14",d:"M-316.4,84.8h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 c0-3.6,2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-316.4,84.8z M-326.1,80.3c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-326.1,77.8-326.1,80.3z"})),DE||(DE=x.createElement("path",{className:"st8",d:"M-323.3,78.3h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-323.6,78.5-323.4,78.3-323.3,78.3z"})),RE||(RE=x.createElement("path",{className:"st0",d:"M-314.8,90.5c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-314.8,90.5z"})),zE||(zE=x.createElement("path",{className:"st0",d:"M-309.5,80.3c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-314.9,68.3-309.5,73.6-309.5,80.3z"})),FE||(FE=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-331.8,71.2l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-332,71.1-331.9,71.1-331.8,71.2z"}))),HE||(HE=x.createElement("path",{className:"st3",d:"M-331.4,81.4"})),qE||(qE=x.createElement("path",{className:"st3",d:"M-198.4,85.5"})),UE||(UE=x.createElement("line",{className:"st3",x1:-197.8,y1:84.3,x2:-197.8,y2:84.3})),GE||(GE=x.createElement("path",{className:"st0",d:"M-217.3,83.6l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-217.3,83.6z"})),WE||(WE=x.createElement("path",{className:"st9",d:"M-125.8,80.7l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-125.8,80.7z"})),QE||(QE=x.createElement("path",{className:"st0",d:"M-199.9,87c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-199.9,87z"})),YE||(YE=x.createElement("path",{className:"st14",d:"M-259.8,84.8h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 c0-3.6,2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-259.8,84.8z M-269.5,80.3c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-269.5,77.8-269.5,80.3z"})),VE||(VE=x.createElement("path",{className:"st8",d:"M-266.6,78.3h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-266.9,78.5-266.8,78.3-266.6,78.3z"})),ZE||(ZE=x.createElement("path",{className:"st0",d:"M-258.1,90.5c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-258.1,90.5z"})),KE||(KE=x.createElement("path",{className:"st0",d:"M-252.9,80.3c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-258.3,68.3-252.9,73.6-252.9,80.3z"})),JE||(JE=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-275.2,71.2l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-275.3,71.1-275.2,71.1-275.2,71.2z"}))),XE||(XE=x.createElement("path",{className:"st3",d:"M-274.7,81.4"})),$E||($E=x.createElement("path",{className:"st3",d:"M-256.5,85.5"})),e_||(e_=x.createElement("line",{className:"st3",x1:-255.8,y1:84.3,x2:-255.8,y2:84.3})),t_||(t_=x.createElement("path",{className:"st7",d:"M-256.5,85.5c-0.4,0.6-0.8,1.2-1.3,1.7"})),n_||(n_=x.createElement("path",{className:"st9",d:"M-275.3,83.6l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-275.3,83.6z"})),r_||(r_=x.createElement("path",{className:"st0",d:"M-264.9,69.9c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4s9.4,4.2,9.4,9.4c0,1.8-0.5,3.5-1.4,5c-0.3,0.5-0.7,1-1.1,1.4v1.4c0.8-0.7,1.4-1.4,2-2.3 c1-1.6,1.6-3.6,1.6-5.5C-254.5,74.5-259.1,69.9-264.9,69.9z"})),o_||(o_=x.createElement("path",{className:"st0",d:"M-258,87c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6c2.8,0,5.3-1.1,7.3-3 L-258,87z"})),i_||(i_=x.createElement("path",{className:"st0",d:"M-206.8,69.9c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4c1.6,0,3.2,0.4,4.5,1.2l0.6-0.8C-203.2,70.4-204.9,69.9-206.8,69.9z"})),a_||(a_=x.createElement("path",{className:"st10",d:"M-201.1,72.2c2.5,1.8,4.2,4.7,4.2,8.1c0,1.9-0.5,3.7-1.5,5.2"})),s_||(s_=x.createElement("path",{className:"st7",d:"M-198.4,85.5c-0.4,0.7-1,1.3-1.6,1.9"})),l_||(l_=x.createElement("path",{className:"st14",d:"M-201.7,84.8h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 c0-3.6,2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-201.7,84.8z M-211.4,80.3c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-211.4,77.8-211.4,80.3z"})),c_||(c_=x.createElement("path",{className:"st14",d:"M-433.2,84.8h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 c0-3.6,2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-433.2,84.8z M-443,80.3c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-443,77.8-443,80.3z"})),u_||(u_=x.createElement("path",{className:"st0",d:"M-440.1,78.3h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-440.4,78.5-440.2,78.3-440.1,78.3z"})),d_||(d_=x.createElement("path",{className:"st0",d:"M-426.4,80.3c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-431.8,68.3-426.4,73.6-426.4,80.3z"})),m_||(m_=x.createElement("g",null,x.createElement("path",{className:"st15",d:"M-448.5,71.6l1,1.9c0,0.1,0,0.1-0.1,0.1l-2.1-0.3c-0.1,0-0.1-0.1-0.1-0.1l1.1-1.5 C-448.6,71.5-448.5,71.5-448.5,71.6z"}))),p_||(p_=x.createElement("path",{className:"st3",d:"M-448.2,81.4"})),h_||(h_=x.createElement("path",{className:"st0",d:"M-452.1,80.4l0.6-1h1.2l0.6,1l-0.6,1h-1.2L-452.1,80.4z"})),f_||(f_=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M-450.5,78.9c0.2-1.6,0.7-3.2,1.5-4.6l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9L-450.5,78.9L-450.5,78.9z"}),x.createElement("path",{className:"st0",d:"M-431.6,90.5c-2,1.3-4.3,2-6.8,2c-6.2,0-11.4-4.7-12.1-10.7h-0.5c0.8,6.3,6.1,11.2,12.6,11.2 c2.6,0,5-0.8,7.1-2.2L-431.6,90.5z"}))),g_||(g_=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M-122.6,74.3l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-123.9,77.3-123.4,75.7-122.6,74.3z"}),x.createElement("path",{className:"st0",d:"M-105.1,90.5c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-105.1,90.5z"}))),v_||(v_=x.createElement("rect",{x:-462.3,className:"st1",width:50,height:50})),y_||(y_=x.createElement("rect",{x:-695.1,className:"st1",width:50,height:50})),x_||(x_=x.createElement("rect",{x:-135.9,className:"st1",width:50,height:50})),b_||(b_=x.createElement("rect",{x:-345.5,className:"st1",width:50,height:50})),C_||(C_=x.createElement("rect",{x:-288.9,className:"st1",width:50,height:50})),I_||(I_=x.createElement("path",{className:"st8",d:"M-114.2,20.1h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-114.6,20.3-114.4,20.1-114.2,20.1z"})),E_||(E_=x.createElement("path",{className:"st0",d:"M-99.9,22.7c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13c-3.6,0-7.1,1.5-9.6,4.2 l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-105.3,10.7-99.9,16.1-99.9,22.7z"})),__||(__=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-122.3,13.9l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-122.4,13.8-122.3,13.8-122.3,13.9z"}))),A_||(A_=x.createElement("path",{className:"st3",d:"M-121.7,23.9"})),w_||(w_=x.createElement("path",{className:"st14",d:"M-316.4,27.2h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-316.4,27.2z M-326.1,22.7c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-326.1,20.2-326.1,22.7z"})),S_||(S_=x.createElement("path",{className:"st8",d:"M-323.3,20.8h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-323.6,20.9-323.4,20.8-323.3,20.8z"})),k_||(k_=x.createElement("path",{className:"st0",d:"M-314.8,32.9c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-314.8,32.9z"})),j_||(j_=x.createElement("path",{className:"st0",d:"M-309.5,22.7c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-314.9,10.7-309.5,16.1-309.5,22.7z"})),N_||(N_=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-331.8,13.7l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-332,13.6-331.9,13.6-331.8,13.7z"}))),T_||(T_=x.createElement("path",{className:"st3",d:"M-331.4,23.9"})),P_||(P_=x.createElement("path",{className:"st9",d:"M-125.8,23.2l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-125.8,23.2z"})),O_||(O_=x.createElement("path",{className:"st14",d:"M-259.8,27.2h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-259.8,27.2z M-269.5,22.7c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-269.5,20.2-269.5,22.7z"})),M_||(M_=x.createElement("path",{className:"st8",d:"M-266.6,20.8h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-266.9,20.9-266.8,20.8-266.6,20.8z"})),L_||(L_=x.createElement("path",{className:"st0",d:"M-258.1,32.9c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-258.1,32.9z"})),B_||(B_=x.createElement("path",{className:"st0",d:"M-252.9,22.7c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-258.3,10.7-252.9,16.1-252.9,22.7z"})),D_||(D_=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-275.2,13.7l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-275.3,13.6-275.2,13.6-275.2,13.7z"}))),R_||(R_=x.createElement("path",{className:"st3",d:"M-274.7,23.9"})),z_||(z_=x.createElement("path",{className:"st3",d:"M-256.5,28"})),F_||(F_=x.createElement("line",{className:"st3",x1:-255.8,y1:26.8,x2:-255.8,y2:26.8})),H_||(H_=x.createElement("path",{className:"st7",d:"M-256.5,28c-0.4,0.6-0.8,1.2-1.3,1.7"})),q_||(q_=x.createElement("path",{className:"st9",d:"M-275.3,26.1l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-275.3,26.1z"})),U_||(U_=x.createElement("path",{className:"st0",d:"M-264.9,12.3c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4s9.4,4.2,9.4,9.4c0,1.8-0.5,3.5-1.4,5c-0.3,0.5-0.7,1-1.1,1.4v1.4c0.8-0.7,1.4-1.4,2-2.3 c1-1.6,1.6-3.6,1.6-5.5C-254.5,17-259.1,12.3-264.9,12.3z"})),G_||(G_=x.createElement("path",{className:"st0",d:"M-258,29.5c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-258,29.5z"})),W_||(W_=x.createElement("path",{className:"st14",d:"M-433.2,27.2h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-433.2,27.2z M-443,22.7c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5s-2-4.5-4.5-4.5 S-443,20.2-443,22.7z"})),Q_||(Q_=x.createElement("path",{className:"st0",d:"M-440.1,20.8h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-440.4,20.9-440.2,20.8-440.1,20.8z"})),Y_||(Y_=x.createElement("path",{className:"st0",d:"M-426.4,22.7c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-431.8,10.7-426.4,16.1-426.4,22.7z"})),V_||(V_=x.createElement("g",null,x.createElement("path",{className:"st15",d:"M-448.5,14.1l1,1.9c0,0.1,0,0.1-0.1,0.1l-2.1-0.3c-0.1,0-0.1-0.1-0.1-0.1l1.1-1.5 C-448.6,14-448.5,14-448.5,14.1z"}))),Z_||(Z_=x.createElement("path",{className:"st3",d:"M-448.2,23.9"})),K_||(K_=x.createElement("path",{className:"st0",d:"M-452.1,22.8l0.6-1h1.2l0.6,1l-0.6,1h-1.2L-452.1,22.8z"})),J_||(J_=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M-450.5,21.4c0.2-1.6,0.7-3.2,1.5-4.6l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.4V21.4z"}),x.createElement("path",{className:"st0",d:"M-431.6,32.9c-2,1.3-4.3,2-6.8,2c-6.2,0-11.4-4.7-12.1-10.7h-0.5c0.8,6.3,6.1,11.2,12.6,11.2 c2.6,0,5-0.8,7.1-2.2L-431.6,32.9z"}))),X_||(X_=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M-122.6,16.8l-0.4-0.3c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-123.9,19.8-123.4,18.2-122.6,16.8z"}),x.createElement("path",{className:"st0",d:"M-105.1,32.9c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-105.1,32.9z"}))),$_||($_=x.createElement("path",{className:"st14",d:"M-666.1,27.2h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-666.1,27.2z M-675.8,22.7c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-675.8,20.2-675.8,22.7z"})),eA||(eA=x.createElement("path",{className:"st16",d:"M-662.9,28c-1.7,2.8-4.9,4.7-8.4,4.7c-5.5,0-9.9-4.4-9.9-9.9s4.4-9.9,9.9-9.9s9.9,4.4,9.9,9.9 C-661.4,24.6-661.9,26.4-662.9,28"})),tA||(tA=x.createElement("circle",{className:"st16",cx:-671.3,cy:22.7,r:12.5})),nA||(nA=x.createElement("path",{className:"st0",d:"M-672.9,20.7h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3V21 C-673.2,20.8-673.1,20.7-672.9,20.7z"})),rA||(rA=x.createElement("path",{className:"st5",d:"M-666.1-32.1h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-666.1-32.1z M-675.8-36.6c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-675.8-39.1-675.8-36.6z"})),oA||(oA=x.createElement("path",{className:"st3",d:"M-662.9-31.4c-1.7,2.8-4.9,4.7-8.4,4.7c-5.5,0-9.9-4.4-9.9-9.9s4.4-9.9,9.9-9.9s9.9,4.4,9.9,9.9 C-661.4-34.7-661.9-32.9-662.9-31.4"})),iA||(iA=x.createElement("circle",{className:"st3",cx:-671.3,cy:-36.6,r:12.5})),aA||(aA=x.createElement("path",{className:"st8",d:"M-672.9-38.7h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-673.2-38.5-673.1-38.7-672.9-38.7z"})),sA||(sA=x.createElement("path",{className:"st8",d:"M-208.5-38.5h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-208.8-38.4-208.7-38.5-208.5-38.5z"})),lA||(lA=x.createElement("path",{className:"st1",d:"M-200.1-26.4c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-200.1-26.4z"})),cA||(cA=x.createElement("path",{className:"st1",d:"M-194.8-36.6c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-200.2-48.6-194.8-43.2-194.8-36.6z"})),uA||(uA=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-217.1-45.7l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-217.3-45.8-217.2-45.7-217.1-45.7z"}))),dA||(dA=x.createElement("path",{className:"st3",d:"M-216.7-35.4"})),mA||(mA=x.createElement("path",{className:"st17",d:"M101.4,147.3h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7c4.8,0,8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L101.4,147.3z M88.4,141.3c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S88.4,138,88.4,141.3z"})),pA||(pA=x.createElement("path",{d:"M92.2,138.5h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5C91.8,138.7,92,138.5,92.2,138.5 z"})),hA||(hA=x.createElement("g",null,x.createElement("path",{className:"st18",d:"M84.1,132.3l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C84,132.2,84.1,132.2,84.1,132.3z"}))),fA||(fA=x.createElement("path",{className:"st3",d:"M84.6,142.3"})),gA||(gA=x.createElement("path",{className:"st5",d:"M-316.4-32.1h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-316.4-32.1z M-326.1-36.6c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-326.1-39.1-326.1-36.6z"})),vA||(vA=x.createElement("path",{className:"st8",d:"M-323.3-38.5h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-323.6-38.4-323.4-38.5-323.3-38.5z"})),yA||(yA=x.createElement("path",{className:"st1",d:"M-314.8-26.4c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-314.8-26.4z"})),xA||(xA=x.createElement("path",{className:"st1",d:"M-309.5-36.6c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-314.9-48.6-309.5-43.2-309.5-36.6z"})),bA||(bA=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-331.8-45.7l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-332-45.8-331.9-45.7-331.8-45.7z"}))),CA||(CA=x.createElement("path",{className:"st3",d:"M-331.4-35.4"})),IA||(IA=x.createElement("path",{className:"st3",d:"M-198.4-31.4"})),EA||(EA=x.createElement("line",{className:"st3",x1:-197.8,y1:-32.6,x2:-197.8,y2:-32.6})),_A||(_A=x.createElement("path",{className:"st9",d:"M-217.3-33.3l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-217.3-33.3z"})),AA||(AA=x.createElement("path",{d:"M80.6,141.6l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L80.6,141.6z"})),wA||(wA=x.createElement("path",{className:"st1",d:"M-199.9-29.9c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-199.9-29.9z"})),SA||(SA=x.createElement("path",{className:"st5",d:"M-259.8-32.1h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-259.8-32.1z M-269.5-36.6c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-269.5-39.1-269.5-36.6z"})),kA||(kA=x.createElement("path",{className:"st8",d:"M-266.6-38.5h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-266.9-38.4-266.8-38.5-266.6-38.5z"})),jA||(jA=x.createElement("path",{className:"st1",d:"M-258.1-26.4c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-258.1-26.4z"})),NA||(NA=x.createElement("path",{className:"st1",d:"M-252.9-36.6c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-258.3-48.6-252.9-43.2-252.9-36.6z"})),TA||(TA=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-275.2-45.7l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-275.3-45.8-275.2-45.7-275.2-45.7z"}))),PA||(PA=x.createElement("path",{className:"st3",d:"M-274.7-35.4"})),OA||(OA=x.createElement("path",{className:"st3",d:"M-256.5-31.4"})),MA||(MA=x.createElement("line",{className:"st3",x1:-255.8,y1:-32.6,x2:-255.8,y2:-32.6})),LA||(LA=x.createElement("path",{className:"st7",d:"M-256.5-31.4c-0.4,0.6-0.8,1.2-1.3,1.7"})),BA||(BA=x.createElement("path",{className:"st9",d:"M-275.3-33.3l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-275.3-33.3z"})),DA||(DA=x.createElement("path",{className:"st1",d:"M-264.9-47c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4s9.4,4.2,9.4,9.4c0,1.8-0.5,3.5-1.4,5c-0.3,0.5-0.7,1-1.1,1.4v1.4c0.8-0.7,1.4-1.4,2-2.3 c1-1.6,1.6-3.6,1.6-5.5C-254.5-42.3-259.1-47-264.9-47z"})),RA||(RA=x.createElement("path",{className:"st1",d:"M-258-29.9c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-258-29.9z"})),zA||(zA=x.createElement("path",{className:"st1",d:"M-206.8-47c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4c1.6,0,3.2,0.4,4.5,1.2l0.6-0.8C-203.2-46.5-204.9-47-206.8-47z"})),FA||(FA=x.createElement("path",{className:"st7",d:"M-201.1-44.7c2.5,1.8,4.2,4.7,4.2,8.1c0,1.9-0.5,3.7-1.5,5.2"})),HA||(HA=x.createElement("path",{className:"st7",d:"M-198.4-31.4c-0.4,0.7-1,1.3-1.6,1.9"})),qA||(qA=x.createElement("path",{className:"st11",d:"M-201.7-32.1h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-201.7-32.1z M-211.4-36.6c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-211.4-39.1-211.4-36.6z"})),UA||(UA=x.createElement("path",{className:"st5",d:"M-433.2-32.1h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-433.2-32.1z M-443-36.6c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5s-2-4.5-4.5-4.5 S-443-39.1-443-36.6z"})),GA||(GA=x.createElement("path",{className:"st8",d:"M-440.1-38.5h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-440.4-38.4-440.2-38.5-440.1-38.5z"})),WA||(WA=x.createElement("path",{className:"st1",d:"M-426.4-36.6c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-431.8-48.6-426.4-43.2-426.4-36.6z"})),QA||(QA=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-448.5-45.3l1,1.9c0,0.1,0,0.1-0.1,0.1l-2.1-0.3c-0.1,0-0.1-0.1-0.1-0.1l1.1-1.5 C-448.6-45.3-448.5-45.3-448.5-45.3z"}))),YA||(YA=x.createElement("path",{className:"st3",d:"M-448.2-35.4"})),VA||(VA=x.createElement("path",{className:"st9",d:"M-452.1-36.5l0.6-1h1.2l0.6,1l-0.6,1h-1.2L-452.1-36.5z"})),ZA||(ZA=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M-450.5-37.9c0.2-1.6,0.7-3.2,1.5-4.6l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.4V-37.9z"}),x.createElement("path",{className:"st1",d:"M-431.6-26.4c-2,1.3-4.3,2-6.8,2c-6.2,0-11.4-4.7-12.1-10.7h-0.5c0.8,6.3,6.1,11.2,12.6,11.2 c2.6,0,5-0.8,7.1-2.2L-431.6-26.4z"}))),KA||(KA=x.createElement("path",{className:"st5",d:"M-105-30.4h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.2l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-105-30.4z M-117.9-36.4c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C-115.3-42.4-117.9-39.7-117.9-36.4z"})),JA||(JA=x.createElement("path",{className:"st8",d:"M-114.2-39.2h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-114.6-39-114.4-39.2-114.2-39.2z"})),XA||(XA=x.createElement("path",{className:"st1",d:"M-99.9-36.6c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13c-3.6,0-7.1,1.5-9.6,4.2 l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-105.3-48.6-99.9-43.2-99.9-36.6z"})),$A||($A=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-122.3-45.5l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-122.4-45.5-122.3-45.5-122.3-45.5z"}))),ew||(ew=x.createElement("path",{className:"st3",d:"M-121.7-35.4"})),tw||(tw=x.createElement("path",{className:"st9",d:"M-125.8-36.1l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-125.8-36.1z"})),nw||(nw=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M-122.6-42.6l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-123.9-39.6-123.4-41.2-122.6-42.6z"}),x.createElement("path",{className:"st1",d:"M-105.1-26.4c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-105.1-26.4z"}))),rw||(rw=x.createElement("g",null,x.createElement("path",{className:"st14",d:"M-117.6,72.3c-0.1-0.3-0.2-0.7-0.2-1C-117.8,71.6-117.7,72-117.6,72.3z"}),x.createElement("path",{className:"st14",d:"M-116.4,74.4c-0.3-0.4-0.6-0.8-0.8-1.2C-117,73.6-116.8,74-116.4,74.4z"}))),ow||(ow=x.createElement("path",{className:"st5",d:"M-499.3,150l-2.6-2.6h-1l-0.4-0.4c1.3-1.5,2.1-3.5,2.1-5.6c0-0.9-0.1-1.8-0.4-2.6c-0.1-0.2-0.1-0.4-0.2-0.6 c0-0.1,0-0.1-0.1-0.2c-0.2-0.5-0.5-1-0.8-1.4l-0.1-0.1c-0.3-0.4-0.6-0.8-1-1.2l0,0c-0.6-0.6-1.2-1-1.9-1.4c0,0-0.1,0-0.1-0.1 c-0.4-0.2-0.8-0.4-1.1-0.5c-0.4-0.2-0.9-0.3-1.3-0.4c-0.2,0-0.3-0.1-0.5-0.1s-0.4-0.1-0.6-0.1s-0.4,0-0.6,0c-4.8,0-8.7,3.9-8.7,8.6 c0,0.6,0,1.1,0.2,1.6c0.1,0.4,0.2,0.8,0.3,1.1c0.1,0.2,0.1,0.4,0.2,0.6c0.1,0.2,0.1,0.3,0.2,0.5c0.1,0.2,0.2,0.3,0.3,0.5 c0.2,0.3,0.4,0.6,0.6,0.9c0.5,0.6,1,1.1,1.6,1.6c0,0,0,0,0,0.1c0.2,0.1,0.4,0.3,0.6,0.4c0.2,0.1,0.4,0.2,0.6,0.4 c0.2,0.1,0.4,0.2,0.6,0.3c0.2,0.1,0.3,0.1,0.5,0.2c0.1,0.1,0.2,0.1,0.3,0.1c0.4,0.1,0.8,0.2,1.2,0.3c0.2,0,0.5,0.1,0.7,0.1 s0.5,0,0.7,0c2.1,0,4.1-0.8,5.6-2.1l0.4,0.4v1.1l2.6,2.6C-500.6,151.4-499.9,150.7-499.3,150z M-510,147.3c-0.2,0-0.4,0-0.6,0 c-0.1,0-0.2,0-0.3,0c-0.3,0-0.5-0.1-0.8-0.2c-0.2,0-0.3-0.1-0.5-0.1l0,0c-0.1,0-0.3-0.1-0.4-0.2c0,0-0.1,0-0.2-0.1 c-0.1,0-0.2-0.1-0.3-0.2c0,0-0.1,0-0.1-0.1c-0.1-0.1-0.3-0.2-0.4-0.3c-0.2-0.2-0.4-0.3-0.6-0.5c-0.1-0.1-0.2-0.2-0.3-0.4 c-0.3-0.4-0.6-0.8-0.8-1.2c-0.1-0.1-0.1-0.2-0.2-0.4c-0.1-0.2-0.1-0.3-0.2-0.5c-0.1-0.3-0.2-0.7-0.2-1c0-0.3-0.1-0.6-0.1-0.9 c0-3.3,2.7-6,6-6s6,2.7,6,6C-504,144.6-506.6,147.3-510,147.3z"})),iw||(iw=x.createElement("path",{className:"st5",d:"M-495.3,154l-2,2l-1.5-1.5c0.8-0.6,1.4-1.2,2-1.9L-495.3,154z"})),aw||(aw=x.createElement("path",{className:"st5",d:"M-499.5,153.7l-1.1-1.1c0.8-0.5,1.4-1.2,2-1.9l1.1,1.1C-498.1,152.5-498.8,153.2-499.5,153.7z"})),x.createElement("text",{transform:"matrix(1 0 0 1 -440.381 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"1"),x.createElement("text",{transform:"matrix(1 0 0 1 91.7999 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"7"),x.createElement("text",{transform:"matrix(1 0 0 1 -114.5786 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"6"),x.createElement("text",{transform:"matrix(1 0 0 1 -323.5552 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"3"),x.createElement("text",{transform:"matrix(1 0 0 1 -266.9043 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"4"),x.createElement("text",{transform:"matrix(1 0 0 1 -211.4154 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"5"),sw||(sw=x.createElement("path",{className:"st14",d:"M-105,28.9h1.1l6.6,6.7l-2,2L-106,31v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-105,28.9z M-117.9,22.9c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C-115.3,16.9-117.9,19.6-117.9,22.9z"})),lw||(lw=x.createElement("path",{className:"st14",d:"M-105,86.4h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 c0-4.8,3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-105,86.4z M-117.9,80.4c0,3.3,2.7,6,6,6s6-2.7,6-6c0-3.3-2.7-6-6-6 C-115.3,74.4-117.9,77.1-117.9,80.4z"})),cw||(cw=x.createElement("path",{className:"st5",d:"M-105,147.3h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-105,147.3z M-117.9,141.3c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C-115.3,135.3-117.9,138-117.9,141.3z"})),uw||(uw=x.createElement("path",{className:"st1",d:"M-382.2,138.5h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-382.6,138.7-382.4,138.5-382.2,138.5z"})),dw||(dw=x.createElement("path",{className:"st1",d:"M-367.9,141.1c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-373.3,129.1-367.9,134.5-367.9,141.1z"})),mw||(mw=x.createElement("g",null,x.createElement("path",{className:"st4",d:"M-390.3,132.3l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-390.4,132.2-390.3,132.2-390.3,132.3z"}))),pw||(pw=x.createElement("path",{className:"st3",d:"M-389.8,142.3"})),hw||(hw=x.createElement("path",{className:"st1",d:"M-393.8,141.6l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-393.8,141.6z"})),fw||(fw=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M-390.6,135.2l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-391.9,138.2-391.4,136.6-390.6,135.2z"}),x.createElement("path",{className:"st1",d:"M-373.2,151.3c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-373.2,151.3z"}))),gw||(gw=x.createElement("rect",{x:-403.9,y:57.5,className:"st1",width:50,height:50})),vw||(vw=x.createElement("path",{className:"st8",d:"M-382.2,77.6h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-382.6,77.8-382.4,77.6-382.2,77.6z"})),yw||(yw=x.createElement("path",{className:"st0",d:"M-367.9,80.3c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-373.3,68.3-367.9,73.6-367.9,80.3z"})),xw||(xw=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-390.3,71.4l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-390.4,71.3-390.3,71.3-390.3,71.4z"}))),bw||(bw=x.createElement("path",{className:"st3",d:"M-389.8,81.4"})),Cw||(Cw=x.createElement("path",{className:"st9",d:"M-393.8,80.7l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-393.8,80.7z"})),Iw||(Iw=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M-390.6,74.3l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-391.9,77.3-391.4,75.7-390.6,74.3z"}),x.createElement("path",{className:"st0",d:"M-373.2,90.5c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-373.2,90.5z"}))),Ew||(Ew=x.createElement("rect",{x:-403.9,className:"st1",width:50,height:50})),_w||(_w=x.createElement("path",{className:"st8",d:"M-382.2,20.1h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-382.6,20.3-382.4,20.1-382.2,20.1z"})),Aw||(Aw=x.createElement("path",{className:"st0",d:"M-367.9,22.7c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-373.3,10.7-367.9,16.1-367.9,22.7z"})),ww||(ww=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-390.3,13.9l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-390.4,13.8-390.3,13.8-390.3,13.9z"}))),Sw||(Sw=x.createElement("path",{className:"st3",d:"M-389.8,23.9"})),kw||(kw=x.createElement("path",{className:"st9",d:"M-393.8,23.2l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-393.8,23.2z"})),jw||(jw=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M-390.6,16.8l-0.4-0.3c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-391.9,19.8-391.4,18.2-390.6,16.8z"}),x.createElement("path",{className:"st0",d:"M-373.2,32.9c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-373.2,32.9z"}))),Nw||(Nw=x.createElement("path",{className:"st5",d:"M-373-30.4h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.2l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-373-30.4z M-385.9-36.4c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C-383.3-42.4-385.9-39.7-385.9-36.4z"})),Tw||(Tw=x.createElement("path",{className:"st8",d:"M-382.2-39.2h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-382.6-39-382.4-39.2-382.2-39.2z"})),Pw||(Pw=x.createElement("path",{className:"st1",d:"M-367.9-36.6c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-373.3-48.6-367.9-43.2-367.9-36.6z"})),Ow||(Ow=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-390.3-45.5l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-390.4-45.5-390.3-45.5-390.3-45.5z"}))),Mw||(Mw=x.createElement("path",{className:"st3",d:"M-389.8-35.4"})),Lw||(Lw=x.createElement("path",{className:"st9",d:"M-393.8-36.1l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-393.8-36.1z"})),Bw||(Bw=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M-390.6-42.6l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-391.9-39.6-391.4-41.2-390.6-42.6z"}),x.createElement("path",{className:"st1",d:"M-373.2-26.4c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-373.2-26.4z"}))),Dw||(Dw=x.createElement("g",null,x.createElement("path",{className:"st14",d:"M-385.6,72.3c-0.1-0.3-0.2-0.7-0.2-1C-385.8,71.6-385.8,72-385.6,72.3z"}),x.createElement("path",{className:"st14",d:"M-384.4,74.4c-0.3-0.4-0.6-0.8-0.8-1.2C-385.1,73.6-384.8,74-384.4,74.4z"}))),x.createElement("text",{transform:"matrix(1 0 0 1 -382.5966 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"2"),Rw||(Rw=x.createElement("path",{className:"st14",d:"M-373,28.9h1.1l6.6,6.7l-2,2L-374,31v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-373,28.9z M-385.9,22.9c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C-383.3,16.9-385.9,19.6-385.9,22.9z"})),zw||(zw=x.createElement("path",{className:"st14",d:"M-373,86.4h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 c0-4.8,3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-373,86.4z M-385.9,80.4c0,3.3,2.7,6,6,6s6-2.7,6-6c0-3.3-2.7-6-6-6 C-383.3,74.4-385.9,77.1-385.9,80.4z"})),Fw||(Fw=x.createElement("path",{className:"st5",d:"M-373,147.3h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-373,147.3z M-385.9,141.3c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C-383.3,135.3-385.9,138-385.9,141.3z"})),Hw||(Hw=x.createElement("path",{d:"M106.5,141.1c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9l0.5,0.9 c2.2-2.4,5.3-3.9,8.8-3.9C101.1,129.1,106.5,134.5,106.5,141.1z"})),qw||(qw=x.createElement("g",null,x.createElement("path",{d:"M101.3,151.3c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7H82c1.2,5.8,6.3,10.2,12.5,10.2c2.7,0,5.1-0.8,7.2-2.2 L101.3,151.3z"}),x.createElement("path",{d:"M82.3,139.5c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2H82.3z"}))),Uw||(Uw=x.createElement("rect",{x:70.5,y:57.5,width:50,height:50})),Gw||(Gw=x.createElement("rect",{x:199.7,y:55.4,width:50,height:50})),Ww||(Ww=x.createElement("rect",{x:199.7,y:-.2,className:"st19",width:50,height:50})),Qw||(Qw=x.createElement("path",{className:"st14",d:"M101.4,86.4h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1L100,87c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 c0-4.8,3.9-8.7,8.7-8.7c4.8,0,8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L101.4,86.4z M88.4,80.4c0,3.3,2.7,6,6,6s6-2.7,6-6 c0-3.3-2.7-6-6-6S88.4,77.1,88.4,80.4z"})),Yw||(Yw=x.createElement("path",{className:"st0",d:"M92.2,77.6h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C91.8,77.8,92,77.6,92.2,77.6z"})),Vw||(Vw=x.createElement("g",null,x.createElement("path",{className:"st20",d:"M84.1,71.4l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C84,71.3,84.1,71.3,84.1,71.4z"}))),Zw||(Zw=x.createElement("path",{className:"st3",d:"M84.6,81.4"})),Kw||(Kw=x.createElement("path",{className:"st0",d:"M80.6,80.7l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L80.6,80.7z"})),Jw||(Jw=x.createElement("path",{className:"st0",d:"M106.5,80.2c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9 l0.5,0.9c2.2-2.4,5.3-3.9,8.8-3.9C101.1,68.2,106.5,73.6,106.5,80.2z"})),Xw||(Xw=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M101.3,90.4c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7H82C83.2,88.6,88.3,93,94.5,93 c2.7,0,5.1-0.8,7.2-2.2L101.3,90.4z"}),x.createElement("path",{className:"st0",d:"M82.3,78.7c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2H82.3z"}))),$w||($w=x.createElement("rect",{x:70.5,className:"st1",width:50,height:50})),eS||(eS=x.createElement("path",{className:"st11",d:"M101.4,28.9h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7c4.8,0,8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L101.4,28.9z M88.4,22.9c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S88.4,19.6,88.4,22.9z"})),tS||(tS=x.createElement("path",{className:"st8",d:"M92.2,20.1h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C91.8,20.3,92,20.1,92.2,20.1z"})),nS||(nS=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M84.1,13.9l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7C84,13.8,84.1,13.8,84.1,13.9 z"}))),rS||(rS=x.createElement("path",{className:"st3",d:"M84.6,23.9"})),oS||(oS=x.createElement("path",{className:"st9",d:"M80.6,23.2l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L80.6,23.2z"})),iS||(iS=x.createElement("path",{className:"st0",d:"M106.5,22.7c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9 l0.5,0.9c2.2-2.4,5.3-3.9,8.8-3.9C101.1,10.7,106.5,16.1,106.5,22.7z"})),aS||(aS=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M101.3,32.9c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7H82c1.2,5.8,6.3,10.2,12.4,10.2 c2.7,0,5.1-0.8,7.2-2.2L101.3,32.9z"}),x.createElement("path",{className:"st0",d:"M82.3,21.1c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2C81.8,21.1,82.3,21.1,82.3,21.1z"}))),sS||(sS=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M84.1-45.5l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7C84-45.5,84.1-45.5,84.1-45.5 z"}))),lS||(lS=x.createElement("path",{className:"st3",d:"M84.6-35.4"})),cS||(cS=x.createElement("path",{className:"st1",d:"M106.5-36.6c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9 l0.5,0.9c2.2-2.4,5.3-3.9,8.8-3.9C101.1-48.6,106.5-43.3,106.5-36.6z"})),uS||(uS=x.createElement("rect",{y:118.4,className:"st0",width:50,height:50})),dS||(dS=x.createElement("path",{className:"st17",d:"M30.9,147.3H32l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L30.9,147.3z M17.9,141.3c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S17.9,138,17.9,141.3z"})),mS||(mS=x.createElement("path",{d:"M21.7,138.5h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C21.3,138.7,21.5,138.5,21.7,138.5z"})),pS||(pS=x.createElement("g",null,x.createElement("path",{className:"st18",d:"M13.6,132.3l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C13.5,132.2,13.6,132.2,13.6,132.3z"}))),hS||(hS=x.createElement("path",{className:"st3",d:"M14.1,142.3"})),fS||(fS=x.createElement("path",{d:"M10.1,141.6l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L10.1,141.6z"})),x.createElement("text",{transform:"matrix(1 0 0 1 21.2937 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"7"),gS||(gS=x.createElement("path",{d:"M36,141.1c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9l0.5,0.9 c2.2-2.4,5.3-3.9,8.8-3.9C30.6,129.1,36,134.5,36,141.1z"})),vS||(vS=x.createElement("g",null,x.createElement("path",{d:"M30.7,151.3c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7h-0.5c1.2,5.8,6.3,10.2,12.5,10.2c2.7,0,5.1-0.8,7.2-2.2 L30.7,151.3z"}),x.createElement("path",{d:"M11.8,139.5c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2H11.8z"}))),yS||(yS=x.createElement("path",{className:"st11",d:"M30.9,86.4H32l6.6,6.7l-2,2l-6.7-6.6v-1.1L29.5,87c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 c0-4.8,3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L30.9,86.4z M17.9,80.4c0,3.3,2.7,6,6,6s6-2.7,6-6c0-3.3-2.7-6-6-6 S17.9,77.1,17.9,80.4z"})),xS||(xS=x.createElement("path",{className:"st8",d:"M21.7,77.6h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C21.3,77.8,21.5,77.6,21.7,77.6z"})),bS||(bS=x.createElement("path",{className:"st3",d:"M14.1,81.4"})),CS||(CS=x.createElement("path",{className:"st9",d:"M10.1,80.7l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L10.1,80.7z"})),IS||(IS=x.createElement("path",{className:"st0",d:"M36,80.2c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9 l0.5,0.9c2.2-2.4,5.3-3.9,8.8-3.9C30.6,68.2,36,73.6,36,80.2z"})),ES||(ES=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M30.7,90.4c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7h-0.5C12.6,88.6,17.7,93,23.9,93 c2.7,0,5.1-0.8,7.2-2.2L30.7,90.4z"}),x.createElement("path",{className:"st0",d:"M11.8,78.7c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2H11.8z"}))),_S||(_S=x.createElement("path",{className:"st11",d:"M30.9,28.9H32l6.6,6.7l-2,2L29.9,31v-1.1l-0.3-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L30.9,28.9z M17.9,22.9c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S17.9,19.6,17.9,22.9z"})),AS||(AS=x.createElement("path",{className:"st8",d:"M21.7,20.1h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C21.3,20.3,21.5,20.1,21.7,20.1z"})),wS||(wS=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M13.6,13.9l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C13.5,13.8,13.6,13.8,13.6,13.9z"}))),SS||(SS=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M13.6,71.4l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C13.5,71.3,13.6,71.3,13.6,71.4z"}))),kS||(kS=x.createElement("path",{className:"st3",d:"M14.1,23.9"})),jS||(jS=x.createElement("path",{className:"st9",d:"M10.1,23.2l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L10.1,23.2z"})),NS||(NS=x.createElement("path",{className:"st0",d:"M36,22.7c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9 l0.5,0.9c2.2-2.4,5.3-3.9,8.8-3.9C30.6,10.7,36,16.1,36,22.7z"})),TS||(TS=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M30.7,32.9c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7h-0.5c1.2,5.8,6.4,10.2,12.5,10.2 c2.7,0,5.1-0.8,7.2-2.2L30.7,32.9z"}),x.createElement("path",{className:"st0",d:"M11.8,21.1c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2C11.3,21.1,11.8,21.1,11.8,21.1z"}))),PS||(PS=x.createElement("path",{className:"st17",d:"M228.7,148.9h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 c0-4.8,3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L228.7,148.9z M215.7,142.9c0,3.3,2.7,6,6,6s6-2.7,6-6 c0-3.3-2.7-6-6-6S215.7,139.6,215.7,142.9z"})),OS||(OS=x.createElement("path",{d:"M219.2,140.4h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C218.8,140.6,219,140.4,219.2,140.4z"})),MS||(MS=x.createElement("g",null,x.createElement("path",{className:"st18",d:"M217.1,130.6l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C217,130.5,217.1,130.6,217.1,130.6z"}))),LS||(LS=x.createElement("path",{className:"st3",d:"M215.7,143.9"})),BS||(BS=x.createElement("path",{d:"M209.8,142.4l1.2-2h2.4l1.2,2l-1.2,2H211L209.8,142.4z"})),DS||(DS=x.createElement("path",{className:"st1",d:"M160.7-50.4c-2.1,0-4,0.5-5.7,1.4l0.5,0.9c1.6-0.8,3.4-1.2,5.3-1.2c6.6,0,12,5.4,12,12c0,2.6-0.9,5.1-2.3,7 l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7C173.7-44.5,167.9-50.4,160.7-50.4z"})),RS||(RS=x.createElement("path",{className:"st21",d:"M174.4-54.2l-11.1,6.4c-0.3,0.2-0.5,0.5-0.5,0.9v12.8c0,0.5,0.6,0.9,1.1,0.6l11.1-6.4c0.3-0.2,0.5-0.5,0.5-0.9 v-12.8C175.5-54.2,174.9-54.5,174.4-54.2z M159.2-27l-3.1,1.8c-0.1,0.1-0.1,0.2-0.1,0.3v3.6c0,0.2,0.2,0.2,0.3,0.2l3.1-1.8 c0.1-0.1,0.1-0.2,0.1-0.3v-3.6C159.5-27,159.3-27.1,159.2-27z M157.4-30.3l-4.6-2.7c-0.1-0.1-0.3-0.1-0.4,0l-4.6,2.7 c-0.2,0.1-0.2,0.4,0,0.5l4.6,2.7c0.1,0.1,0.3,0.1,0.4,0l4.6-2.7C157.6-29.9,157.6-30.2,157.4-30.3z M164.8-29.8l2.1,1.2 c0.1,0.1,0.3,0.1,0.4,0l2.1-1.2c0.2-0.1,0.2-0.4,0-0.5l-2.1-1.2c-0.1-0.1-0.3-0.1-0.4,0l-2.1,1.2C164.6-30.1,164.6-29.9,164.8-29.8z M163.2-26.9l2.1,1.2c0.1,0.1,0.2,0.2,0.2,0.3v2.4c0,0.2-0.2,0.3-0.4,0.2L163-24c-0.1-0.1-0.2-0.2-0.2-0.3v-2.4 C162.8-26.9,163-27,163.2-26.9z"})),zS||(zS=x.createElement("path",{className:"st5",d:"M165.5-30.8h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L165.5-30.8z M152.6-36.8c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S152.6-40.2,152.6-36.8z"})),FS||(FS=x.createElement("path",{className:"st8",d:"M156.1-39.4h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C155.7-39.2,155.9-39.4,156.1-39.4z"})),HS||(HS=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M154-49.1l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C153.9-49.2,153.9-49.2,154-49.1z"}))),qS||(qS=x.createElement("path",{className:"st3",d:"M152.5-35.8"})),US||(US=x.createElement("path",{className:"st22",d:"M146.6-37.3l1.2-2h2.4l1.2,2l-1.2,2h-2.4L146.6-37.3z"})),GS||(GS=x.createElement("path",{className:"st23",d:"M36.9-19.2H12.1C9.8-19.2,8-21,8-23.3v-24.8c0-2.3,1.8-4.1,4.1-4.1h24.8c2.3,0,4.1,1.8,4.1,4.1v24.8 C41-21.1,39.1-19.2,36.9-19.2z"})),WS||(WS=x.createElement("path",{className:"st5",d:"M30.7-30.8h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L30.7-30.8z M17.8-36.8c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S17.8-40.2,17.8-36.8z"})),QS||(QS=x.createElement("path",{className:"st8",d:"M21.6-39.6h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C21.1-39.4,21.3-39.6,21.6-39.6z"})),YS||(YS=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M13.5-45.9l1.1,2.2c0,0.1,0,0.2-0.1,0.1L12.1-44C12-44,12-44.1,12-44.2l1.3-1.7C13.3-45.9,13.4-45.9,13.5-45.9 z"}))),VS||(VS=x.createElement("path",{className:"st3",d:"M14-35.8"})),ZS||(ZS=x.createElement("path",{className:"st9",d:"M10-36.5l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L10-36.5z"})),KS||(KS=x.createElement("path",{className:"st1",d:"M35.8-37.1c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9 l0.5,0.9c2.2-2.4,5.3-3.9,8.8-3.9C30.4-49,35.8-43.7,35.8-37.1z"})),JS||(JS=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M30.6-26.8c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7h-0.5c1.2,5.8,6.3,10.2,12.5,10.2 c2.7,0,5.1-0.8,7.2-2.2L30.6-26.8z"}),x.createElement("path",{className:"st1",d:"M11.7-38.6c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2H11.7z"}))),XS||(XS=x.createElement("path",{className:"st1",d:"M94.5-47c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4c1.6,0,3.2,0.4,4.5,1.2l0.6-0.8C98.1-46.5,96.4-47,94.5-47z"})),$S||($S=x.createElement("path",{className:"st5",d:"M99.6-32.1h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L99.6-32.1z M89.9-36.6c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5s-2-4.5-4.5-4.5 S89.9-39.1,89.9-36.6z"})),ek||(ek=x.createElement("path",{className:"st8",d:"M92.8-38.5h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C92.5-38.4,92.6-38.5,92.8-38.5z"})),tk||(tk=x.createElement("path",{className:"st1",d:"M101.2-26.4c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2,0.5-4,1.5-5.8l-0.5-0.1 c-0.9,1.8-1.4,3.8-1.4,5.8c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L101.2-26.4z"})),nk||(nk=x.createElement("path",{className:"st9",d:"M84-33.3l0.3-1.2l1.2-0.3l0.8,0.9L86-32.7l-1.2,0.3L84-33.3z"})),rk||(rk=x.createElement("path",{className:"st1",d:"M103.1-31.2c-0.4,0.6-0.8,1.2-1.3,1.7l0,0c-1.9,2-4.5,3.1-7.2,3.1c-3.9,0-7.3-2.2-9-5.6l0.5-0.1 c1.6,3.1,4.9,5.2,8.5,5.2c2.6,0,5-1,6.8-2.8l0,0c0.5-0.5,1-1.1,1.4-1.8c1-1.5,1.5-3.3,1.5-5.1c0-3.2-1.6-6.2-4.3-8l0.3-0.4 c2.8,1.9,4.5,5,4.5,8.4C104.6-34.7,104.1-32.9,103.1-31.2z"})),ok||(ok=x.createElement("path",{className:"st1",d:"M101.9-26.9c-2.1,1.6-4.7,2.5-7.4,2.5c-1.5,0-3-0.3-4.4-0.8l-0.2,0.5c1.5,0.6,3,0.8,4.6,0.8 c2.8,0,5.5-0.9,7.7-2.6L101.9-26.9z"})),ik||(ik=x.createElement("g",null,x.createElement("path",{d:"M214.3,147.5l-3.5,2c-0.2,0.1-0.2,0.4,0,0.5l4.6,2.7c0.1,0.1,0.3,0.1,0.4,0l2.8-1.6C216.9,150.4,215.3,149.1,214.3,147.5z"}),x.createElement("path",{d:"M222.3,152.8l-3.1,1.8c-0.1,0.1-0.1,0.2-0.1,0.3v3.6c0,0.2,0.2,0.2,0.3,0.2l3.1-1.8c0.1-0.1,0.1-0.2,0.1-0.3V153 C222.6,152.8,222.5,152.7,222.3,152.8z"}),x.createElement("path",{d:"M237.6,125.5l-11.1,6.4c-0.3,0.2-0.5,0.5-0.5,0.9v2.5c2.7,1.5,4.5,4.3,4.5,7.6c0,0.5-0.1,1-0.1,1.4l7.8-4.5 c0.3-0.2,0.5-0.5,0.5-0.9v-12.8C238.6,125.6,238,125.3,237.6,125.5z"}),x.createElement("path",{d:"M230.4,148.3c-0.1-0.1-0.3-0.1-0.4,0l-2,1.2c-0.2,0.1-0.2,0.4,0,0.5l2.1,1.2c0.1,0.1,0.3,0.1,0.4,0l2.1-1.2 c0.2-0.1,0.2-0.4,0-0.5L230.4,148.3z"}),x.createElement("path",{d:"M226.3,152.8c-0.2-0.1-0.4,0-0.4,0.2v2.4c0,0.1,0.1,0.3,0.2,0.3l2.1,1.2c0.2,0.1,0.4,0,0.4-0.2v-2.4c0-0.1-0.1-0.3-0.2-0.3 L226.3,152.8z"}))),ak||(ak=x.createElement("path",{className:"st0",d:"M223.9,66.4c-2.1,0-4,0.5-5.7,1.4l0.5,0.9c1.6-0.8,3.4-1.2,5.3-1.2c6.6,0,12,5.4,12,12c0,2.6-0.9,5.1-2.3,7 l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7C236.9,72.2,231,66.4,223.9,66.4z"})),sk||(sk=x.createElement("path",{className:"st14",d:"M228.7,85.9h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 c0-4.8,3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L228.7,85.9z M215.7,79.9c0,3.3,2.7,6,6,6s6-2.7,6-6c0-3.3-2.7-6-6-6 S215.7,76.6,215.7,79.9z"})),lk||(lk=x.createElement("path",{className:"st8",d:"M219.2,77.4h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C218.8,77.5,219,77.4,219.2,77.4z"})),ck||(ck=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M217.1,67.6l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C217,67.5,217.1,67.5,217.1,67.6z"}))),uk||(uk=x.createElement("path",{className:"st3",d:"M215.7,80.9"})),dk||(dk=x.createElement("path",{className:"st22",d:"M209.8,79.4l1.2-2h2.4l1.2,2l-1.2,2H211L209.8,79.4z"})),mk||(mk=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M214.3,84.5l-3.5,2c-0.2,0.1-0.2,0.4,0,0.5l4.6,2.7c0.1,0.1,0.3,0.1,0.4,0l2.8-1.6 C216.9,87.4,215.3,86.1,214.3,84.5z"}),x.createElement("path",{className:"st0",d:"M222.3,89.8l-3.1,1.8c-0.1,0.1-0.1,0.2-0.1,0.3v3.6c0,0.2,0.2,0.2,0.3,0.2l3.1-1.8c0.1-0.1,0.1-0.2,0.1-0.3V90 C222.6,89.8,222.5,89.7,222.3,89.8z"}),x.createElement("path",{className:"st0",d:"M237.6,62.5l-11.1,6.4c-0.3,0.2-0.5,0.5-0.5,0.9v2.5c2.7,1.5,4.5,4.3,4.5,7.6c0,0.5-0.1,1-0.1,1.4l7.8-4.5 c0.3-0.2,0.5-0.5,0.5-0.9V63.1C238.6,62.6,238,62.2,237.6,62.5z"}),x.createElement("path",{className:"st0",d:"M230.4,85.3c-0.1-0.1-0.3-0.1-0.4,0l-2,1.2c-0.2,0.1-0.2,0.4,0,0.5l2.1,1.2c0.1,0.1,0.3,0.1,0.4,0l2.1-1.2 c0.2-0.1,0.2-0.4,0-0.5L230.4,85.3z"}),x.createElement("path",{className:"st0",d:"M226.3,89.8c-0.2-0.1-0.4,0-0.4,0.2v2.4c0,0.1,0.1,0.3,0.2,0.3l2.1,1.2c0.2,0.1,0.4,0,0.4-0.2v-2.4 c0-0.1-0.1-0.3-0.2-0.3L226.3,89.8z"}))),pk||(pk=x.createElement("path",{className:"st0",d:"M223.9,11c-2.1,0-4,0.5-5.7,1.4l0.5,0.9c1.6-0.8,3.4-1.2,5.3-1.2c6.6,0,12,5.4,12,12c0,2.6-0.9,5.1-2.3,7 l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7C236.9,16.8,231,11,223.9,11z"})),hk||(hk=x.createElement("path",{className:"st8",d:"M219.2,21.9h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C218.8,22.1,219,21.9,219.2,21.9z"})),fk||(fk=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M217.1,12.2l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C217,12.1,217.1,12.1,217.1,12.2z"}))),gk||(gk=x.createElement("path",{className:"st3",d:"M215.7,25.5"})),vk||(vk=x.createElement("g",null,x.createElement("path",{className:"st22",d:"M214.3,29l-3.5,2c-0.2,0.1-0.2,0.4,0,0.5l4.6,2.7c0.1,0.1,0.3,0.1,0.4,0l2.8-1.6 C216.9,31.9,215.3,30.7,214.3,29z"}),x.createElement("path",{className:"st22",d:"M222.3,34.3l-3.1,1.8c-0.1,0.1-0.1,0.2-0.1,0.3V40c0,0.2,0.2,0.2,0.3,0.2l3.1-1.8c0.1-0.1,0.1-0.2,0.1-0.3 v-3.6C222.6,34.4,222.5,34.3,222.3,34.3z"}),x.createElement("path",{className:"st22",d:"M237.6,7.1l-11.1,6.4c-0.3,0.2-0.5,0.5-0.5,0.9v2.5c2.7,1.5,4.5,4.3,4.5,7.6c0,0.5-0.1,1-0.1,1.4l7.8-4.5 c0.3-0.2,0.5-0.5,0.5-0.9V7.7C238.6,7.2,238,6.8,237.6,7.1z"}),x.createElement("path",{className:"st22",d:"M230.4,29.9c-0.1-0.1-0.3-0.1-0.4,0l-2.1,1.2c-0.2,0.1-0.2,0.4,0,0.5l2.1,1.2c0.1,0.1,0.3,0.1,0.4,0l2.1-1.2 c0.2-0.1,0.2-0.4,0-0.5L230.4,29.9z"}),x.createElement("path",{className:"st22",d:"M226.3,34.4c-0.2-0.1-0.4,0-0.4,0.2V37c0,0.1,0.1,0.3,0.2,0.3l2.1,1.2c0.2,0.1,0.4,0,0.4-0.2v-2.4 c0-0.1-0.1-0.3-0.2-0.3L226.3,34.4z"}))),yk||(yk=x.createElement("path",{className:"st1",d:"M223.9-48.4c-2.1,0-4,0.5-5.7,1.4l0.5,0.9c1.6-0.8,3.4-1.2,5.3-1.2c6.6,0,12,5.4,12,12c0,2.6-0.9,5.1-2.3,7 l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7C236.9-42.5,231-48.4,223.9-48.4z"})),xk||(xk=x.createElement("path",{className:"st5",d:"M228.7-28.8h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L228.7-28.8z M215.7-34.8c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S215.7-38.2,215.7-34.8z"})),bk||(bk=x.createElement("path",{className:"st8",d:"M219.2-37.4h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C218.8-37.2,219-37.4,219.2-37.4z"})),Ck||(Ck=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M217.1-47.1l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C217-47.2,217.1-47.2,217.1-47.1z"}))),Ik||(Ik=x.createElement("path",{className:"st3",d:"M215.7-33.8"})),Ek||(Ek=x.createElement("path",{className:"st22",d:"M209.8-35.3l1.2-2h2.4l1.2,2l-1.2,2H211L209.8-35.3z"})),_k||(_k=x.createElement("g",null,x.createElement("path",{className:"st22",d:"M214.3-30.3l-3.5,2c-0.2,0.1-0.2,0.4,0,0.5l4.6,2.7c0.1,0.1,0.3,0.1,0.4,0l2.8-1.6 C216.9-27.4,215.3-28.7,214.3-30.3z"}),x.createElement("path",{className:"st22",d:"M222.3-25l-3.1,1.8c-0.1,0.1-0.1,0.2-0.1,0.3v3.6c0,0.2,0.2,0.2,0.3,0.2l3.1-1.8c0.1-0.1,0.1-0.2,0.1-0.3 v-3.6C222.6-25,222.5-25.1,222.3-25z"}),x.createElement("path",{className:"st22",d:"M237.6-52.2l-11.1,6.4c-0.3,0.2-0.5,0.5-0.5,0.9v2.5c2.7,1.5,4.5,4.3,4.5,7.6c0,0.5-0.1,1-0.1,1.4l7.8-4.5 c0.3-0.2,0.5-0.5,0.5-0.9v-12.8C238.6-52.2,238-52.5,237.6-52.2z"}),x.createElement("path",{className:"st22",d:"M230.4-29.4c-0.1-0.1-0.3-0.1-0.4,0l-2.1,1.2c-0.2,0.1-0.2,0.4,0,0.5l2.1,1.2c0.1,0.1,0.3,0.1,0.4,0l2.1-1.2 c0.2-0.1,0.2-0.4,0-0.5L230.4-29.4z"}),x.createElement("path",{className:"st22",d:"M226.3-24.9c-0.2-0.1-0.4,0-0.4,0.2v2.4c0,0.1,0.1,0.3,0.2,0.3l2.1,1.2c0.2,0.1,0.4,0,0.4-0.2v-2.4 c0-0.1-0.1-0.3-0.2-0.3L226.3-24.9z"}))),Ak||(Ak=x.createElement("path",{className:"st1",d:"M283.1-50.4c-2.1,0-4,0.5-5.7,1.4l0.5,0.9c1.6-0.8,3.4-1.2,5.3-1.2c6.6,0,12,5.4,12,12c0,2.6-0.9,5.1-2.3,7 l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7C296.1-44.5,290.3-50.4,283.1-50.4z"})),wk||(wk=x.createElement("g",null,x.createElement("path",{className:"st22",d:"M285.5-26.9c-0.2-0.1-0.4,0-0.4,0.2v2.4c0,0.1,0.1,0.3,0.2,0.3l2.1,1.2c0.2,0.1,0.4,0,0.4-0.2v-2.4 c0-0.1-0.1-0.3-0.2-0.3L285.5-26.9z"}),x.createElement("path",{className:"st22",d:"M289.6-31.4c-0.1-0.1-0.3-0.1-0.4,0l-2.1,1.2c-0.2,0.1-0.2,0.4,0,0.5l2.1,1.2c0.1,0.1,0.3,0.1,0.4,0l2.1-1.2 c0.2-0.1,0.2-0.4,0-0.5L289.6-31.4z"}),x.createElement("path",{className:"st22",d:"M281.6-27l-3.1,1.8c-0.1,0.1-0.1,0.2-0.1,0.3v3.6c0,0.2,0.2,0.2,0.3,0.2l3.1-1.8c0.1-0.1,0.1-0.2,0.1-0.3 v-3.6C281.8-27,281.7-27.1,281.6-27z"}),x.createElement("path",{className:"st22",d:"M273.6-32.3l-3.6,2.1c-0.2,0.1-0.2,0.4,0,0.5l4.6,2.7c0.1,0.1,0.3,0.1,0.4,0l2.9-1.7 C276.2-29.5,274.7-30.7,273.6-32.3z"}),x.createElement("path",{className:"st22",d:"M296.8-54.2l-11.1,6.4c-0.3,0.2-0.5,0.5-0.5,0.9v1.8c3,1.5,5,4.5,5,8c0,0.5,0,0.9-0.1,1.4l7.3-4.2 c0.3-0.2,0.5-0.5,0.5-0.9v-12.8C297.8-54.2,297.2-54.5,296.8-54.2z"}))),Sk||(Sk=x.createElement("path",{className:"st5",d:"M287.9-30.8h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L287.9-30.8z M275-36.8c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C277.6-42.8,275-40.2,275-36.8z"})),kk||(kk=x.createElement("path",{className:"st8",d:"M278.5-39.4h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C278.1-39.2,278.2-39.4,278.5-39.4z"})),jk||(jk=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M276.4-49.1l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C276.2-49.2,276.3-49.2,276.4-49.1z"}))),Nk||(Nk=x.createElement("path",{className:"st3",d:"M274.9-35.8"})),Tk||(Tk=x.createElement("path",{className:"st22",d:"M269-37.3l1.2-2h2.4l1.2,2l-1.2,2h-2.4L269-37.3z"})),Pk||(Pk=x.createElement("path",{className:"st14",d:"M228.7,30.5h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L228.7,30.5z M215.7,24.5c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S215.7,21.2,215.7,24.5z"})),Ok||(Ok=x.createElement("path",{className:"st22",d:"M209.8,24l1.2-2h2.4l1.2,2l-1.2,2H211L209.8,24z"})))},zk=r.forwardRef(Rk),Fk=["title","titleId"];function Hk(){return Hk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hk.apply(null,arguments)}var qk,Uk,Gk=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Fk);return x.createElement("svg",Hk({width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Bk||(Bk=x.createElement("path",{d:"M12.5 0C5.6 0 0 5.6 0 12.5C0 14.8 0.6 16.9 1.6 18.7C0.8 17.2 0.4 15.4 0.4 13.5C0.4 7.4 5.1 2.4 10.9 2.4C16.7 2.4 21.4 7.4 21.4 13.5C21.4 19.6 16.7 24.6 10.9 24.6C10.1 24.6 9.2 24.5 8.4 24.3C9.7 24.7 11 25 12.5 25C19.4 25 25 19.4 25 12.5C25 5.6 19.4 0 12.5 0Z",fill:"#FCB021"})),Dk||(Dk=x.createElement("path",{d:"M13.9 18.1C15.6 18.1 16.8 17.5 18 16.3L20 18.1C18.6 19.8 16.6 20.9 13.8 20.9C9.4 20.9 6 17.7 6 13C6 8.60001 9.1 5.10001 13.4 5.10001C18.2 5.10001 20.7 8.90001 20.7 13.3C20.7 13.6 20.7 13.9 20.6 14.2H9.5C10 16.7 11.7 18.1 13.9 18.1ZM17.3 11.9C17.1 9.70001 15.8 7.90001 13.5 7.90001C11.4 7.90001 9.9 9.50001 9.6 11.9H17.3Z",fill:"#094D90"})))},Wk=r.forwardRef(Gk),Qk=["title","titleId"];function Yk(){return Yk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yk.apply(null,arguments)}var Vk,Zk=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Qk);return x.createElement("svg",Yk({width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,qk||(qk=x.createElement("g",{clipPath:"url(#clip0)"},x.createElement("path",{d:"M24.7 11.5L17.5 3.29999V8.79999L20.6 12.3L17.5 15.8V21.3L24.7 13.1C25.1 12.6 25.1 11.9 24.7 11.5Z",fill:"url(#paint0_linear)"}),x.createElement("path",{d:"M0.3 13.1L7.5 21.3V15.8L4.4 12.3L7.5 8.79999V3.29999L0.3 11.5C-0.1 11.9 -0.1 12.6 0.3 13.1Z",fill:"url(#paint1_linear)"}),x.createElement("path",{d:"M7.89999 3.29999V8.79999L10.1 11.9L12.1 9.19999L7.89999 3.29999Z",fill:"#990025"}),x.createElement("path",{d:"M17.1 15.8V21.3L12.8 15.5L14.8 12.8L17.1 15.8Z",fill:"#990025"}),x.createElement("path",{d:"M17.1 3.29999L7.89999 15.8V21.3L17 8.69999V3.29999H17.1Z",fill:"#FF1243"}))),Uk||(Uk=x.createElement("defs",null,x.createElement("linearGradient",{id:"paint0_linear",x1:19.7013,y1:16.7519,x2:19.9272,y2:7.93807,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{offset:.5083,stopColor:"#DC002E"}),x.createElement("stop",{offset:.5084,stopColor:"#FF1243"})),x.createElement("linearGradient",{id:"paint1_linear",x1:5.27325,y1:7.82458,x2:5.04731,y2:16.6388,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{offset:.5083,stopColor:"#DC002E"}),x.createElement("stop",{offset:.5084,stopColor:"#FF1243"})),x.createElement("clipPath",{id:"clip0"},x.createElement("rect",{width:25,height:25,fill:"white"})))))},Kk=r.forwardRef(Zk),Jk=["title","titleId"];function Xk(){return Xk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xk.apply(null,arguments)}var $k,ej,tj,nj,rj,oj=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Jk);return x.createElement("svg",Xk({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:25,height:25,viewBox:"0 0 25 25",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Vk||(Vk=x.createElement("g",{transform:"matrix(1.333333 0 0 1.333333 0 0)"},x.createElement("image",{x:0,y:0,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAGqwSURBVHhe7b0HmBzFtb5v/3yNAxjwvf4DxuHaOMfrgM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ghEgBCCCFEDZEAEEIIIWqIBIAQQghRQyQAhBBCiBoiASCEEELUEAkAIYQQooZIAAghhBA1RAJACCGEqCESAEIIIUQNkQAQQgghaogEgBBCCFFDJACEEEKIGiIBIIQQQtQQCQAhhBCihkgACCGEEDVEAkAIIYSoIRIAQgghRA2RABBCCCFqiASAEEIIUUMkAIQQQogaIgEghBBC1BAJACGEEKKGSAAIIYQQNUQCQAghhKghEgBCCCFEDZEAEEIIIWqIBIAQQghRQyQAhBBCiBoiASCEEELUEAkAIYQQooZIAAghhBA1RAJACCGEqCESAEIIIUQNkQAQQgghaogEgBBCCFFDJACEEEKIGiIBIIQQQtQQCQAhhBCihkgACCGEEDVEAkAIIYSoIRIAQgghRA2RABBCCCFqiASAEEIIUUMkAIQQQogaIgEghBBC1BAJACGEEKKGSAAIIYQQNUQCQAghhKghEgBCCCFEDZEAEEIIIWqIBIAQQghRQyQAhBBCiBoiASCEEELUEAkAIYQQooZIAAghhBA1RAJACCGEqCESAEIIIUQNkQAQQgghaogEgBBCCFFDJACEEEKIGiIBIIQQQtQQCQAhhBCihkgACCGEEDVEAkAIIYSoIRIAQgghRA2RABBCCCFqiASAEEIIUUMkAIQQQogaIgEghBBC1BAJACGEEKKGSAAIIYQQteOf9v8DRFS2YYkP224AAAAASUVORK5CYII=",width:19,height:19}))))},ij=r.forwardRef(oj),aj=["title","titleId"];function sj(){return sj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sj.apply(null,arguments)}var lj,cj,uj=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,aj);return x.createElement("svg",sj({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,$k||($k=x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.6849 10.145L22.8549 11.315C23.0499 11.51 23.0499 11.825 22.8549 12.02L21.9399 12.935L20.0649 11.06L20.9799 10.145C21.0749 10.05 21.1999 10 21.3299 10C21.4599 10 21.5849 10.045 21.6849 10.145ZM14 17.125V19H15.875L21.405 13.47L19.53 11.595L14 17.125ZM15.46 18H15V17.54L19.53 13.01L19.99 13.47L15.46 18Z",fill:"#007079"})),ej||(ej=x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.82 4H18C19.1 4 20 4.9 20 6V9.91591L18 11.9162V6H4V20H18V18L20 16V16.5V20C20 21.1 19.1 22 18 22H4C3.86 22 3.73 21.99 3.6 21.97C3.21 21.89 2.86 21.69 2.59 21.42C2.41 21.23 2.26 21.02 2.16 20.78C2.06 20.54 2 20.27 2 20V6C2 5.72 2.06 5.46 2.16 5.23C2.26 4.99 2.41 4.77 2.59 4.59C2.86 4.32 3.21 4.12 3.6 4.04C3.73 4.01 3.86 4 4 4H8.18C8.6 2.84 9.7 2 11 2C12.3 2 13.4 2.84 13.82 4ZM16 13.9164L15.9164 14H9V12H16V13.9164ZM11 3.75C11.41 3.75 11.75 4.09 11.75 4.5C11.75 4.91 11.41 5.25 11 5.25C10.59 5.25 10.25 4.91 10.25 4.5C10.25 4.09 10.59 3.75 11 3.75ZM16 8H9V10H16V8ZM9 16H12V18H9V16Z",fill:"#007079"})),tj||(tj=x.createElement("path",{d:"M6 8H8V10H6V8Z",fill:"#007079"})),nj||(nj=x.createElement("path",{d:"M6 12H8V14H6V12Z",fill:"#007079"})),rj||(rj=x.createElement("path",{d:"M6 16H8V18H6V16Z",fill:"#007079"})))},dj=r.forwardRef(uj),mj=["title","titleId"];function pj(){return pj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pj.apply(null,arguments)}var hj,fj,gj,vj,yj=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,mj);return x.createElement("svg",pj({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,lj||(lj=x.createElement("path",{d:"M18 11.111C18.0003 10.9613 17.9612 10.814 17.8863 10.6828C17.8114 10.5517 17.7032 10.4409 17.5718 10.361L7.41794 4.13871C7.27843 4.05315 7.11761 4.00529 6.9523 4.00013C6.78699 3.99497 6.62328 4.03271 6.47832 4.10939C6.33336 4.18607 6.21247 4.29888 6.12832 4.43599C6.04417 4.57311 5.99985 4.72948 6 4.88875V6.66654C5.99977 6.81291 6.03719 6.95706 6.10892 7.08611C6.18064 7.21516 6.28444 7.3251 6.41105 7.4061L13.5667 11.9999H18V11.111Z",fill:"#FF1243"})),cj||(cj=x.createElement("path",{d:"M13.5664 11.9999L6.41197 16.5937C6.28512 16.6746 6.1811 16.7846 6.1092 16.9137C6.03731 17.0429 5.99979 17.1872 6 17.3337V19.1115C5.9999 19.2708 6.04425 19.4271 6.12841 19.5642C6.21258 19.7013 6.33346 19.8141 6.47841 19.8907C6.62336 19.9674 6.78705 20.0051 6.95233 20C7.11762 19.9949 7.27843 19.947 7.41794 19.8615L17.5718 13.6392C17.7032 13.5593 17.8114 13.4485 17.8863 13.3174C17.9611 13.1862 18.0003 13.0389 18 12.8893V12.0004L13.5664 11.9999Z",fill:"#990025"})))},xj=r.forwardRef(yj),bj=["title","titleId"];function Cj(){return Cj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cj.apply(null,arguments)}var Ij,Ej=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,bj);return x.createElement("svg",Cj({xmlns:"http://www.w3.org/2000/svg",width:92,height:45,viewBox:"0 0 92 45",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,hj||(hj=x.createElement("linearGradient",{id:"a",gradientUnits:"userSpaceOnUse",x1:45.483,x2:45.483,y2:45.001},x.createElement("stop",{offset:0,stopColor:"#00AEEF"}),x.createElement("stop",{offset:.212,stopColor:"#0097DC"}),x.createElement("stop",{offset:.519,stopColor:"#007CC5"}),x.createElement("stop",{offset:.792,stopColor:"#006CB8"}),x.createElement("stop",{offset:1,stopColor:"#0066B3"}))),fj||(fj=x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"url(#a)",d:"M0 45h45.974L90.966 0H0v45"})),gj||(gj=x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",d:"M53.984 9H45l.03 21.13-7.823-21.137H29.45l-6.678 17.653c-.71-4.492-5.354-6.042-9.008-7.203-2.413-.775-4.974-1.915-4.948-3.175.02-1.034 1.37-1.993 4.053-1.85 1.8.097 3.39.242 6.553 1.77l3.11-5.42C19.648 9.3 15.66 8.373 12.39 8.37h-.02c-3.813 0-6.988 1.235-8.956 3.27-1.372 1.42-2.112 3.226-2.142 5.223-.05 2.748.957 4.696 3.073 6.253 1.788 1.31 4.075 2.16 6.09 2.784 2.485.77 4.515 1.44 4.49 2.866-.02.52-.216 1.006-.59 1.398-.62.64-1.57.88-2.885.906-2.537.054-4.417-.345-7.413-2.116L1.27 34.444C4.263 36.146 7.44 37 11.05 37l.812-.006c3.142-.057 5.692-.81 7.718-2.44.116-.093.22-.187.328-.282l-.34 1.752 7.58-.024 1.36-3.482c1.43.488 3.056.758 4.782.758 1.682 0 3.264-.256 4.667-.716l.948 3.44 13.6.013.033-7.938h2.894c6.995 0 11.13-3.56 11.13-9.53C66.56 11.896 62.54 9 53.984 9zM33.29 27.062c-1.045 0-2.025-.182-2.868-.502l2.836-8.955h.055l2.79 8.98c-.84.3-1.797.477-2.814.477zm21.22-5.145h-1.974V14.7h1.975c2.63 0 4.73.876 4.73 3.562-.002 2.78-2.1 3.655-4.73 3.655"})),vj||(vj=x.createElement("path",{fill:"none",d:"M0 0h92v45H0z"})))},_j=r.forwardRef(Ej),Aj=["title","titleId"];function wj(){return wj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wj.apply(null,arguments)}var Sj,kj,jj=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Aj);return x.createElement("svg",wj({width:24,height:9,viewBox:"0 0 24 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Ij||(Ij=x.createElement("path",{d:"M1.43358 8.40981C0.909738 8.21857 0.439509 7.90427 0.062479 7.49338C0.020403 7.44396 -0.00175912 7.38065 0.000316593 7.31578C-0.00262804 7.25937 0.0150472 7.20382 0.0500454 7.15948L0.661003 6.37447C0.678513 6.34691 0.702272 6.32387 0.730352 6.3072C0.758432 6.29054 0.790043 6.28073 0.822623 6.27856C0.853119 6.27895 0.883206 6.28562 0.911013 6.29815C0.938819 6.31068 0.96375 6.32879 0.984243 6.35138C1.31258 6.64166 1.68255 6.88113 2.08183 7.0618C2.46729 7.22895 2.88363 7.31307 3.30375 7.30867C3.66779 7.33173 4.02876 7.22957 4.32674 7.01917C4.43938 6.93298 4.53021 6.82154 4.59191 6.69383C4.6536 6.56612 4.68444 6.4257 4.68195 6.28389C4.69084 6.08311 4.63136 5.88526 4.51323 5.72267C4.37435 5.55362 4.19462 5.4228 3.99107 5.3426C3.65732 5.20709 3.3135 5.09783 2.96275 5.0158C2.48494 4.89686 2.01936 4.73334 1.57211 4.52739C1.20548 4.35532 0.887927 4.09395 0.648569 3.76725C0.398572 3.39563 0.274096 2.95374 0.293362 2.50626C0.285874 2.03966 0.427759 1.58289 0.698298 1.20265C0.977641 0.813322 1.35682 0.506542 1.79589 0.314633C2.27643 0.101034 2.79745 -0.00619734 3.32328 0.000276622C4.36286 0.000276622 5.21062 0.296283 5.86657 0.888295C5.89094 0.907451 5.91121 0.931317 5.92616 0.958474C5.94111 0.985631 5.95044 1.01552 5.95359 1.04636C5.94781 1.10322 5.92628 1.15735 5.89143 1.20265L5.31777 1.99832C5.30373 2.02631 5.28253 2.05009 5.25633 2.06724C5.23013 2.08439 5.19986 2.09432 5.16859 2.096C5.10324 2.09084 5.04114 2.06538 4.99098 2.02318C4.53354 1.62197 3.94025 1.41044 3.33216 1.43176C2.96732 1.40945 2.60545 1.50944 2.30384 1.71592C2.19011 1.79621 2.09734 1.90265 2.03336 2.02629C1.96937 2.14992 1.93605 2.28713 1.9362 2.42634C1.92722 2.62839 1.99875 2.82576 2.13511 2.97514C2.28233 3.12538 2.46137 3.24069 2.65904 3.31259C2.95217 3.42144 3.25169 3.51219 3.55594 3.58432C4.07417 3.71611 4.57943 3.89444 5.06557 4.11713C5.43124 4.28791 5.74502 4.55267 5.9749 4.88438C6.21725 5.2719 6.33502 5.72438 6.31236 6.18088C6.31647 6.63037 6.19796 7.07247 5.96958 7.45963C5.72542 7.86023 5.36998 8.18112 4.94658 8.38317C4.43487 8.62538 3.87322 8.74343 3.3073 8.72772C2.66832 8.74011 2.03271 8.63227 1.43358 8.40981V8.40981ZM9.01371 8.53413V1.48326H6.99258C6.96029 1.48562 6.92787 1.48133 6.89732 1.47063C6.86677 1.45994 6.83874 1.44308 6.81497 1.42111C6.79426 1.39938 6.77809 1.37373 6.76742 1.34568C6.75674 1.31762 6.75178 1.28771 6.75281 1.25771V0.236487C6.75178 0.206486 6.75674 0.176578 6.76742 0.14852C6.77809 0.120463 6.79426 0.0948179 6.81497 0.0730894C6.83874 0.0511121 6.86677 0.0342543 6.89732 0.0235611C6.92787 0.0128679 6.96029 0.00857191 6.99258 0.0109324H12.6279C12.6602 0.00888361 12.6925 0.013328 12.723 0.0240055C12.7536 0.0346831 12.7816 0.0513722 12.8055 0.0730894C12.8263 0.0948179 12.8424 0.120463 12.8531 0.14852C12.8638 0.176578 12.8687 0.206486 12.8677 0.236487V1.25238C12.8687 1.28238 12.8638 1.31229 12.8531 1.34035C12.8424 1.36841 12.8263 1.39405 12.8055 1.41578C12.7816 1.4375 12.7536 1.45419 12.723 1.46486C12.6925 1.47554 12.6602 1.47998 12.6279 1.47794H10.6086V8.53413C10.6086 8.6851 10.534 8.75969 10.3848 8.74548H9.23749C9.0883 8.76147 9.01371 8.68687 9.01371 8.53413V8.53413ZM13.7149 8.68154C13.6939 8.66039 13.6775 8.6351 13.6668 8.60727C13.6561 8.57945 13.6513 8.54971 13.6527 8.51993V0.71957C13.649 0.661239 13.6655 0.603418 13.6995 0.555857C13.7335 0.508296 13.7828 0.473906 13.8392 0.458492C13.8392 0.458492 14.7024 0.1246 14.9972 0.0340218C15.0299 0.0240679 15.0631 0.0157666 15.0966 0.00915464C15.2032 -0.00327762 15.26 0.0766449 15.26 0.209848V8.51637C15.26 8.66556 15.1854 8.72772 15.0363 8.74016H13.8889C13.8263 8.73905 13.7655 8.71857 13.7149 8.68154V8.68154ZM16.9189 8.68687C16.8978 8.66538 16.8814 8.63978 16.8707 8.61166C16.86 8.58355 16.8552 8.55353 16.8567 8.52348V0.236487C16.8552 0.20644 16.86 0.176414 16.8707 0.148298C16.8814 0.120181 16.8978 0.094577 16.9189 0.0730894C16.9426 0.0511121 16.9706 0.0342543 17.0012 0.0235611C17.0317 0.0128679 17.0642 0.00857191 17.0965 0.0109324H19.9648C20.6903 0.00243647 21.4053 0.185617 22.0374 0.541966C22.6529 0.899287 23.1524 1.42651 23.476 2.06048C23.821 2.78945 24 3.58591 24 4.39241C24 5.19892 23.821 5.99538 23.476 6.72435C23.1516 7.35497 22.6521 7.87855 22.0374 8.23221C21.4036 8.58669 20.6873 8.76743 19.9612 8.75614H17.0929C17.0607 8.75707 17.0286 8.75141 16.9987 8.7395C16.9688 8.72759 16.9416 8.70968 16.9189 8.68687V8.68687ZM19.8493 7.2767C20.1862 7.29011 20.5221 7.23269 20.8353 7.10818C21.1486 6.98367 21.4322 6.79483 21.668 6.55385C22.1345 6.07196 22.3677 5.34911 22.3677 4.38531C22.3677 3.42152 22.1345 2.69808 21.668 2.215C21.432 1.97429 21.1483 1.78562 20.8351 1.66113C20.5219 1.53664 20.1861 1.47908 19.8493 1.49215H18.464V7.2767H19.8493Z",fill:"#FF0000"})))},Nj=r.forwardRef(jj),Tj=["title","titleId"];function Pj(){return Pj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pj.apply(null,arguments)}var Oj,Mj,Lj,Bj,Dj=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Tj);return x.createElement("svg",Pj({width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Sj||(Sj=x.createElement("g",{clipPath:"url(#clip0)"},x.createElement("path",{d:"M11.6179 1.64642V5.60362H8.56446V21.4202H3.42255V5.60362H0.381365V1.64642H11.6179ZM12.7904 1.64642H16.43C18.8564 1.64642 20.4971 1.74006 21.3521 1.92733C22.2152 2.11461 22.9154 2.59501 23.4528 3.36853C23.9983 4.13392 24.2711 5.35935 24.2711 7.04482C24.2711 8.58373 24.0798 9.61781 23.6971 10.1471C23.3144 10.6763 22.5612 10.9939 21.4376 11.0997C22.4554 11.3521 23.1393 11.69 23.4894 12.1135C23.8396 12.5369 24.0553 12.9277 24.1368 13.286C24.2263 13.6361 24.2711 14.6091 24.2711 16.205V21.4202H19.4956V14.8493C19.4956 13.7908 19.4101 13.1353 19.2391 12.8829C19.0763 12.6305 18.6407 12.5043 17.9323 12.5043V21.4202H12.7904V1.64642ZM17.9323 5.02958V9.42647C18.5104 9.42647 18.9134 9.34911 19.1414 9.19441C19.3775 9.03156 19.4956 8.51452 19.4956 7.64329V6.55628C19.4956 5.92931 19.3816 5.51812 19.1536 5.32271C18.9338 5.12729 18.5267 5.02958 17.9323 5.02958Z",fill:"#285684"}))),kj||(kj=x.createElement("defs",null,x.createElement("clipPath",{id:"clip0"},x.createElement("rect",{width:25,height:25,fill:"white"})))))},Rj=r.forwardRef(Dj),zj=["title","titleId"];function Fj(){return Fj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fj.apply(null,arguments)}var Hj,qj,Uj,Gj,Wj,Qj,Yj=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,zj);return x.createElement("svg",Fj({id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 123.85 120.33",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Oj||(Oj=x.createElement("defs",null,x.createElement("style",null,"\r\n .cls-1 {\r\n fill: #007079;\r\n opacity: .95;\r\n }\r\n\r\n .cls-2 {\r\n letter-spacing: -.1em;\r\n }\r\n\r\n .cls-3 {\r\n letter-spacing: -.02em;\r\n }\r\n\r\n .cls-4 {\r\n fill: #f7f7f7;\r\n font-family: Lato-Regular, Lato;\r\n font-size: 31.5px;\r\n }\r\n\r\n .cls-5 {\r\n fill: none;\r\n stroke: #fff;\r\n stroke-miterlimit: 10;\r\n stroke-width: 2px;\r\n }\r\n "))),Mj||(Mj=x.createElement("rect",{className:"cls-1",x:1.58,y:.24,width:120.55,height:120.09})),Lj||(Lj=x.createElement("text",{className:"cls-4",transform:"translate(2.83 86.25)"},x.createElement("tspan",{className:"cls-2",x:0,y:0},"T"),x.createElement("tspan",{className:"cls-3",x:15.53,y:0},"rending"))),Bj||(Bj=x.createElement("path",{className:"cls-5",d:"M.69,53.9c2.1-1.98,9.26-6.45,10.96-5.11,1.41,1.11,2.65,2.13,4.13,3.04,2.79,1.73,6-.65,8.6-2.16,2.67-1.56,5.44,.88,6.82,3.66,.41,.82,.97,1.75,2,1.89,1.54,.22,2.43-1.4,2.91-2.67s1.86-2.77,3.23-2.12c.91,.43,1.17,1.65,2.19,1.81,.97,.15,1.64-.77,2.02-1.54,1.35-2.74,2.71-5.49,4.06-8.23,.38-.77,1.19-1.7,2.09-1.35,.42,.17,.63,.57,.81,.94,1.07,2.29,2.14,4.58,3.22,6.87,.51,1.08,1.04,2.2,2.02,3.02,.98,.82,2.52,1.27,3.75,.76,1.42-.59,1.85-2.13,2.02-3.47,.43-3.32,.43-6.93,2.84-9.57,.23-.25,.53-.51,.91-.53,.43-.01,.77,.29,1,.6,.86,1.14,1.03,2.54,1.49,3.83,.46,1.29,1.42,2.64,2.98,2.9,2.35,.41,4.16-1.86,4.53-3.88,.34-1.83,.57-1.19,1.65-2.3,.23-.24,.61-.3,.9-.12,1.02,.62,1.01,1.35,1.21,3.43,.1,1.1,.1,2.24,.54,3.28s1.47,2,2.77,2.07c2.44,.14,3.56-2.5,3.9-4.56,.32-1.93,.64-3.85,.95-5.78,.11-.69,.39-1.53,1.19-1.66,.74-.12,1.36,.48,1.71,1.05,1.5,2.47,1.35,5.63,3.51,7.71,.48,.46,1.1,.86,1.82,.92,1.94,.16,2.84-1.98,3.07-3.63,.51-3.64,2.24-3,2.6,.95,.04,.44,.17,.97,.66,1.09,.28,.07,.58-.03,.83-.15,3.29-1.56,2.77-5.6,3.54-8.74,.71-2.88,2.81-5.35,4.44-7.95C115.71,20.01,122.56,1.52,122.88,.24"})))},Vj=r.forwardRef(Yj),Zj=["title","titleId"];function Kj(){return Kj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kj.apply(null,arguments)}var Jj,Xj,$j,eN=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Zj);return x.createElement("svg",Kj({width:64,height:64,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Hj||(Hj=x.createElement("path",{d:"M16 0C24.8365 0 32 7.16344 32 16L32 36H0V16C0 7.16344 7.16344 0 16 0Z",fill:"url(#paint0_linear_5655_147842)"})),qj||(qj=x.createElement("path",{d:"M48 0C39.1635 0 32 7.16344 32 16L32 36H64V16C64 7.16344 56.8366 0 48 0Z",fill:"url(#paint1_linear_5655_147842)"})),Uj||(Uj=x.createElement("path",{d:"M48 26C48 17.1634 40.8365 10 32 10C23.1634 10 16 17.1634 16 26C16 34.8366 23.1634 42 32 42C40.8365 42 48 34.8366 48 26Z",fill:"url(#paint2_linear_5655_147842)"})),Gj||(Gj=x.createElement("path",{d:"M64 15.9998C64 15.8951 63.999 15.7907 63.997 15.6865H63.9857C63.5971 25.0104 55.3287 32.5199 45 32.9777V32.9998C36.1634 32.9998 29 39.9394 29 48.4998C29 57.0602 36.1634 63.9998 45 63.9998L45.0958 63.9995C61.012 63.9369 64 48.2769 64 40.9998V15.9998Z",fill:"url(#paint3_linear_5655_147842)"})),Wj||(Wj=x.createElement("path",{d:"M0 40.9998C0 48.2769 2.98802 63.9369 18.9042 63.9995L19 63.9998C27.8366 63.9998 35 57.0602 35 48.4998C35 39.9394 27.8366 32.9998 19 32.9998V32.9777C8.6713 32.5199 0.402893 25.0104 0.0142874 15.6865H0.00300489C0.00100467 15.7907 0 15.8951 0 15.9998V40.9998Z",fill:"url(#paint4_linear_5655_147842)"})),Qj||(Qj=x.createElement("defs",null,x.createElement("linearGradient",{id:"paint0_linear_5655_147842",x1:6,y1:31.3333,x2:13.046,y2:-2.05664,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{stopColor:"#053377"}),x.createElement("stop",{offset:1,stopColor:"#2F91F2"})),x.createElement("linearGradient",{id:"paint1_linear_5655_147842",x1:53.361,y1:4.95462,x2:37.3333,y2:29,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{stopColor:"#4AC1FF"}),x.createElement("stop",{offset:.926632,stopColor:"#155EB5"})),x.createElement("linearGradient",{id:"paint2_linear_5655_147842",x1:27.6667,y1:14.3333,x2:43.3333,y2:45.3333,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{stopColor:"#96DFFF"}),x.createElement("stop",{offset:.413439,stopColor:"#53ADEE"}),x.createElement("stop",{offset:1,stopColor:"#006BB9"})),x.createElement("linearGradient",{id:"paint3_linear_5655_147842",x1:40.2264,y1:38.8504,x2:57.1203,y2:66.9453,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{offset:.0799194,stopColor:"#4AC1FF"}),x.createElement("stop",{offset:1,stopColor:"#155EB5"})),x.createElement("linearGradient",{id:"paint4_linear_5655_147842",x1:6.64196,y1:27.7693,x2:22.512,y2:65.9607,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{stopColor:"#2F91F2"}),x.createElement("stop",{offset:1,stopColor:"#053377"})))))},tN=r.forwardRef(eN),nN=["title","titleId"];function rN(){return rN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rN.apply(null,arguments)}var oN=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,nN);return x.createElement("svg",rN({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Jj||(Jj=x.createElement("path",{d:"M11.6018 9.755L8.93179 7.095V5.675L5.91179 2.655L3.08179 5.485L6.11179 8.515H7.52179L10.1818 11.175L11.6018 9.755Z",fill:"#007079"})),Xj||(Xj=x.createElement("path",{d:"M21.5116 17.555L16.2116 12.255H15.2116L12.6716 14.795V15.795L17.9716 21.095C18.159 21.2813 18.4124 21.3858 18.6766 21.3858C18.9408 21.3858 19.1943 21.2813 19.3816 21.095L21.5116 18.945C21.6919 18.7585 21.7926 18.5093 21.7926 18.25C21.7926 17.9907 21.6919 17.7415 21.5116 17.555V17.555ZM18.6816 18.945L14.4416 14.705L15.1516 13.995L19.3916 18.235L18.6816 18.945Z",fill:"#007079"})),$j||($j=x.createElement("path",{d:"M9.12183 16.495L16.0618 9.495C16.4418 9.63997 16.8451 9.71452 17.2518 9.715C17.8656 9.72198 18.4707 9.56878 19.0072 9.27051C19.5437 8.97224 19.9932 8.53922 20.3112 8.01419C20.6293 7.48916 20.8049 6.89026 20.8208 6.27662C20.8367 5.66297 20.6923 5.05579 20.4018 4.515L17.6418 7.315L16.1218 5.795L18.8818 3.045C18.3814 2.77296 17.8215 2.62869 17.2518 2.625C16.305 2.625 15.397 3.00112 14.7275 3.67063C14.058 4.34013 13.6818 5.24818 13.6818 6.195C13.6841 6.59743 13.7551 6.99651 13.8918 7.375L12.0018 9.265L9.85183 11.425L7.00183 14.315C6.32795 14.0725 5.5965 14.0396 4.90354 14.2204C4.21058 14.4013 3.58853 14.7875 3.11908 15.3283C2.64963 15.8692 2.35473 16.5394 2.27313 17.2509C2.19152 17.9624 2.32702 18.6819 2.66183 19.315L5.42183 16.565L6.94183 18.085L4.13183 20.825C4.63543 21.0982 5.19887 21.2425 5.77183 21.245C6.71784 21.2424 7.62435 20.8654 8.29328 20.1965C8.96222 19.5275 9.33919 18.621 9.34183 17.675C9.33739 17.2719 9.26295 16.8726 9.12183 16.495V16.495Z",fill:"#007079"})))},iN=r.forwardRef(oN),aN="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAApsAAAFwCAMAAADAJ0CKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAANlBMVEUAAAD///////////////////////////////////////////////////////////////8AAADx3eDuAAAAEHRSTlMAMEBQgGAQkMDw0LBwoOAgjOMjiQAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxIAAAsSAdLdfvwAACCsSURBVHja7Z3pets6DES9KN6XvP/TXjlJe53UFgfAYKEj/OyXmouOSGAAkYtFjC1Xq9V6uLO38R9Wm6DWZ5vtp21GHre73f79uR12x+G0Wmb3dLbfY5vV6TzJ5L+MDuuZ0NmcbXk6XwRU3ttuu75md3+2F7Xl6ShZLR/Z5fw28zkb2dbq9fKfHX477++z0Wx9ti6Y321/XmcP6WYrtfUiQizDx4a1wVqdVmQw/+CZv3rqe3/K7jpmG83YVgFzuqOM7sTayv+1yynZ99R3/ZjbcdTWL8zm9ewG5qedbRNhNEPHM7uNm+rxdcHmaudM5s0Ob3mPztDt1HcKNtWe1wGbIWTe7HLKiiwMnd4mdVlkS9XQyrMZRubN9kMOnYYuH1I6LLTTK7J5jSTzg86Und3S4x5UpOPrsbnZBpN5s0uC4mnpb6Kb7Dy+ymy+eciZSH/DBU9Lb8/RnZWbSkGqzGb4dn5n2+CN0tLXfWxXNabc/sqyeUpaND8teGM39TU/rdUyZdakKJubxEXz046RS6epp+XTllflwGqyuU5dND9tH6hqmzpKSQl7mk5BKspmRnj+wOJkbVs/w7qpNJ2CVJLN/P38jx2iSkBs3SxR5ucwunpsLv3qjcS2D3rstl4WT1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UZarMQm+UzRH5HgELNc9kUqkjk4yqgNiuxKT/DLdQc7+uA2ueyKaxjyCggKMXmYkn9SoNrnvccQR0gZ0pFU81VkLpks3A9p+v9cFAPyGyKYk/26KFGi7FZNiLyvagD6gKZTZF3n1J4VY7Nkk7n3vlIWqgTZDZFKhLbn4Earcfm4lpuX3e/tRDqBbsyTzDNZAWpXzYNH/f7GL1cUzeP7G4IZpl+4CnUakk2NWdbu9nFeT+H55HNpkBFogu7UKs12VxsyoREx4gL4aCe0Jdv2LFnK0h9sym/5sfHLuwA1TCPdDbh4vekQv+ybI5ZtfyAfRt0iybUGTqbsIrEf0GhZguzqbq3gmm7sCs0oe7Q2YSL3/lvKNRsZTbHjZ1wuLHWLoH3YkMd4ssFoNtEV5Begs0xYk+i0+8WI/U88tkEA06HK3OgdquzmUNnLJlpbILF7w6uDdRufTbj6YwmM41NrF2+gvRCbI5+Z2BUdAknM49NSEXyqMB6ITbHmFJ9B5DMdoERkHAeHdiEit89JN6XYnO0Ne/ugie2P4epRop5dGATUpHSPsjviM1R8Dx5JouOKUsmPo8eJSfAZuSgIL0im6NdnfA03qFltB1iHq/OkNMsNmDbJgY1sdtyx3V9O3KzmftzKpizvZYRrq76s6gPST7mbC9sq8G4fu6PQ0Bt5my/1K7r4agRly7HYU29gH222R7aaj1euIYhetmdh/W8Ws4WbasR0mE4fruJ7fN+tuP472+rmcnZftp/I7OW/TzSPt8AAAAASUVORK5CYII=";const sN=()=>c.jsxs("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"-29 -170 900 900",style:{background:"new -29 -170 900 900"},xmlSpace:"preserve",children:[c.jsx("style",{type:"text/css",children:"\n\t\t.st0{fill:#421E6D;}\n\t\t.st1{fill:none;enable-background:new ;}"}),c.jsx("circle",{className:"st0",cx:"421",cy:"280",r:"442"}),c.jsx("image",{style:{overflow:"visible"},width:"667",height:"368",href:aN,xlinkHref:aN,transform:"matrix(1 0 0 1 67 84)"})]}),lN=e=>{n.eventHub.emit(n.EchoEvents.Toaster,e)};var cN,uN={echoButton:"externalLinkButton-module_echoButton__xkJ5x",echoButtonDisabled:"externalLinkButton-module_echoButtonDisabled__xUCef",echoButtonRounded:"externalLinkButton-module_echoButtonRounded__JNwzW",roundedButtonWrapper:"externalLinkButton-module_roundedButtonWrapper__lwLCr",externalLink:"externalLinkButton-module_externalLink__tWjpz",roundedButtonIconAsImage:"externalLinkButton-module_roundedButtonIconAsImage__gBfPr",largeButtonIconAsImage:"externalLinkButton-module_largeButtonIconAsImage__Qdpay",stidIcon:"externalLinkButton-module_stidIcon__zI8m8"};Ad(".externalLinkButton-module_echoButton__xkJ5x{display:inline-block;font-family:var(--eq-echo-font-family);padding:16px;position:relative;width:90px}.externalLinkButton-module_echoButtonDisabled__xUCef{padding-bottom:0}.externalLinkButton-module_echoButtonRounded__JNwzW{display:inline-block;position:relative}.externalLinkButton-module_roundedButtonWrapper__lwLCr>button:hover{background:var(--white)!important}.externalLinkButton-module_roundedButtonWrapper__lwLCr{display:inline-block;position:relative}.externalLinkButton-module_externalLink__tWjpz{position:absolute;right:1em}.externalLinkButton-module_asyncButtonSpinner__HUDkn{opacity:.75;position:absolute;z-index:10}@media screen and (min-width:420px){.externalLinkButton-module_echoButtonDisabled__xUCef,.externalLinkButton-module_echoButton__xkJ5x{width:96px}}.externalLinkButton-module_echoButton__xkJ5x svg{display:inline-block;height:48px;margin:0 8px 8px;width:48px}.externalLinkButton-module_echoButtonRounded__JNwzW svg{display:inline-block;height:24px;margin:0 8px;width:24px}.externalLinkButton-module_echoButton__xkJ5x span{color:var(--equiGreen1);display:inline-block;font-size:14px;font-weight:500;line-height:16px;width:64px}.externalLinkButton-module_echoButton__xkJ5x:hover svg{fill:var(--hoverIcon)}.externalLinkButton-module_echoButton__xkJ5x:hover span{color:var(--hoverIcon)}.externalLinkButton-module_echoButtonDisabled__xUCef span{color:var(--disabledColor)}.externalLinkButton-module_echoButtonDisabled__xUCef:hover svg{fill:var(--disabledColor)}.externalLinkButton-module_echoButtonDisabled__xUCef:hover span{color:var(--disabledColor)}.externalLinkButton-module_roundedButtonIconAsImage__gBfPr{height:30px;justify-self:center;width:30px}.externalLinkButton-module_largeButtonIconAsImage__Qdpay{height:auto;justify-self:center;width:100%}.externalLinkButton-module_stidIcon__zI8m8{height:auto!important}"),exports.ExternalLinkButtonStyle=void 0,(cN=exports.ExternalLinkButtonStyle||(exports.ExternalLinkButtonStyle={})).Rounded="Rounded",cN.Large="Large",cN.MenuItem="MenuItem";const dN=({buttonName:e,buttonIcon:t,linkTo:n,hideText:r,redirect:o,buttonStyle:a,getUrlToOpen:s,disabledColor:l,disabledButton:u,hoverText:m})=>{let p=null;const h=!!s,f=a===exports.ExternalLinkButtonStyle.MenuItem,g=a===exports.ExternalLinkButtonStyle.Rounded,v=g?uN.roundedButtonIconAsImage:uN.largeButtonIconAsImage;function y(e){return Ym(this,void 0,void 0,(function*(){let t;e.persist(),e.preventDefault(),h?(lN({message:"Fetching ProCoSys tag data ..."}),t=yield s()):t=n,t&&$p(t,o),e.stopPropagation()}))}switch(t){case"Fusion":p=c.jsx(Kk,{});break;case"TR2000":case"Tr2000":p=c.jsx(Rj,{});break;case"ProCoSys":p=c.jsx(xj,{});break;case"PermitVision":p=c.jsx(Wk,{});break;case"Stid":p=c.jsx(Nj,{className:uN.stidIcon});break;case"Yammer":case"VivaEngage":p=c.jsx(tN,{});break;case"3DModel":p=c.jsx(d.Icon,{color:l?i.themeConst.disabledColor:i.themeConst.asBuilt,name:"rotate_3d",title:"3DModel"});break;case"Tag":p=c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"tag"});break;case"Launch":p=c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"launch"});break;case"Media":p=c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"movie_file"});break;case"McApp":p=c.jsx(ij,{});break;case"CommApp":p=c.jsx("img",{src:"data:image/png;base64,iVB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L7AsMF8Zjb51qLnYxa7c9y7lN17qaslZBNQHXdflcd5HgGFHSRaw/HjDL2Fd44SixSt2OYm7v8OwZAXFbDSJ5vd+SbL4tBhJo4ldkNxV0gRbwXFE7cz5VpGDMcKyGDkfNo7EEeO8so6nl3N/jSxPkWr1IHm91n/PJOv8qKecC8TQDDIM89x35PEhpgvpTXJZnjbtbJ6hasJ1VHbpS6PJ3hwEfd/i7QnV2t0NROWRUsLi5fwuySxUlcxUEqmsT42XbpdOFWgsIFDR6ivI+/JON/VTAChEAc/ZMJUuIKY9CvdlnDQH7J1JSNHeXdHRbfnMTNZRgzltVe40iYuk5ju0RDPoF/1OhC4nwkFqTQTr+Clf2doK4kjxLPSXnSPIp4n8b+Mstmxi1Gjvb7nqtttx1mWRcBizRqeWsHvVsFUGuqBqrhhtz8oNMSTsJFRc3ngTm6cTzhENut5wV5lAlCKUIh4nL37ePy/ePlprwrqwSYs4nt/w7gxNMTI5cpz5TUvM9FRgiJoUVNDQHH4OKdbpaa4MAWRGoY0ouB0iny+nDsHvM/EWVpjWb388uYX4ew1/8q+xsp4LUSleu1dUv6fKvT/kWPvhEkyIUySCWGSTAiTZEKYJBPCJJkQJsmEMEkmhEkyIUySCWGSTAiTZEKYJBPCJJkQpv8DprWvwl3TEUYAAAAASUVORK5CYII=",className:v,alt:"CommissionAppIcon"});break;case"Sap":p=c.jsx(_j,{});break;case"Semi":p=c.jsx(sN,{});break;case"SafeX":p=c.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGZmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMD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LBG0r1IlBCRBCMCApxZPBPZ08eAJ78ufKVsgqRBU1hNrrd5VhY+/0MkJMhE99l/mlY+848Oht7ap5a2+0/KODWd27DTJrKgI0ZWrksSu9objDIO6SkNMIE7l3YFB99tBKAnLQlUw0LdOrVlJQOjlp1TbsuyO3c4vQ2CT2723eOxU5J3tFRu7uSpEDLrRlpf9/f0AIJU+H9ejcc4V2fXYcedcRYcdrRYusB7oCr+6hRY3gdk78LszMEg1YdVST821qm+d6myjUpLM4vZWe2M3Co4ZT4hwFacS3uEoLai3Vi2/oRMueyeasSTnCtc4vQwhRGMNhQNsDGttziWQylJdJVxN1WFqqGaASt0cF0RkW+xq58hJ5IskFWeyqK+2ejuEX635guF5qTVfPpqvoKzlh7KWH8pafihr+aGs5Yeylh/+BwElLASpkh8CAAAAAElFTkSuQmCC",className:v,alt:"SafeXIcon"});break;case"TrendingApp":p=c.jsx(Vj,{});break;case"ConditionAdviser":p=c.jsx(zk,{});break;case"Satos":p=c.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAD6CAYAAAAbbXrzAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAABniSURBVHhe7d0JnFVVHQfw82ZfgRlgWLXQEjNTqSQkkRJbbBHLSEwSREkoUzNb3D+lppXGYmlSWiSKklpaVi4hKZptkhYqUZoZzDAMDDAzzD7T+Z05g0948+aec+977/77/L6fDx/ffRLhvPt+9yz/c06iV1NERALk2X8SEcUeA4uIxGBgEZEYDCwiEoOBRURiMLCISAwGFhGJwcAiIjEYWEQkBgOLiMRgYBGRGAwsIhKDgUVEYjCwiEgMBhYRicHAIiIxGFhEJAYDi4jEYGARkRgMLCISg4FFRGIwsIhIDAYWEYnBwCIiMRhYRCQGA4uIxGBgEZEYDCwiEoOBRURiMLCISAwGFhGJwcAiIjEYWEQkBgOLiMRgYBGRGAwsIhKDgUVEYjCwiEgMBhYRicHAIiIxGFhEJA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oscYUWxShyLdA/wzyR45UiaFDVR6q/+0DAF9mrBFFvV23frh0Pv+86li/3myLk43DTNLKy+srep4ype+e1/dT/tixe/87kotCcb/jvsbfGZ95t77vOzduVB1PPeV8z0sS6x1HiYiS5bRwlIjIFQOLiMRgYBGRGAwsIhKDgUVEYjCwiEgMBhYRicHAIiIxGFhEJAYDi4jEYGARkRgMLCISg4FFRGIwsIhIDAYWEYnBwCIiMRhYRCQGA4uIxGBgEZEYDCwiEoOBRURiMLCISAwGFhGJwcAiIjESvZp9TUQUa2xhEZEYDCwiEoOBRURiMLCISAwGFhGJwcAiIjEYWEQkBgOLiMRgYBGRGAwsIhKDgUVEYjCwiEgMBhYRicHAIiIxGFhEJAYDi4jEYGARkRgMLCISg4FFRGIwsIhIDAYWEYnBwCIiMRhYRCQGA4uIxGBgEZEYDCwiEoOBRURiMLCISAwGFhGJwcAiIjEYWEQkBgOLiMRgYBGRGAwsIhKDgUVEYjCwiEgMBhYRicHAIiIxGFhEJAYDi4jEYGARkRgMLCISg4FFRGIwsIhIDAYWEYnBwCIiMRhYRCQGA4uIxGBgEZEYDCwiEoOBRURiMLCISAwGFhGJwcAiIjEYWEQkBgOLiMRgYBGRGAwsIhKDgUVEYjCwiEgMBhYRicHAIiIxGFhEJAYDi4jEYGARkRgMLCISg4FFRGIwsIhIDAYWEYnBwCIiMRhYRCQGA4uIxGBgEZEYDCwiEoOBRURiMLCISAwGFhGJwcAiIiGU+h+xEXAqwJ0/JAAAAABJRU5ErkJggg==",className:v,alt:"SatosIcon"});break;case"GoToApp":p=c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"exit_to_app"});break;case"Notification":p=c.jsx(dj,{});break;case"WorkOrder":p=c.jsx(iN,{});break;case"Robim":p=c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"beat"});break;case"Ayelix":p=c.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAYAAABxLuKEAAAAAXNSR0IArs4c6QAAAI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bUItL4ncZsyd5dg8LcUb5LUNlZX6FRZtpVayhYAHQfcYfvrI9vzpW35yC0yVmeC7nAJaVZUaP1kehPV9VCbkjMHIj0T1IODSGzaQD6PgiwSaA1eXFmB3APldYFCJfeTWTCqzLflx1W5l1O0D01mWs58vBBDL+v8A79tfz7ZcGdAAAAAASUVORK5CYII=",className:v,alt:"AyelixIcon"})}return g?c.jsx("div",{className:uN.roundedButtonWrapper,children:c.jsx(d.Tooltip,{placement:"bottom",title:null!=m?m:e,children:c.jsx(d.Button,{className:uN.echoButtonRounded,variant:"ghost_icon",onClick:e=>{y(e)},disabled:u,children:p})})}):f?c.jsxs(d.Menu.Item,{className:uN.menuItem,onClick:e=>{y(e)},disabled:u,children:[!r&&c.jsx("span",{children:e}),c.jsx(d.Icon,{name:"external_link",size:18,color:i.themeConst.tertiaryText,className:uN.externalLink})]}):c.jsxs("button",{className:`${uN.echoButton} ${l?uN.echoButtonDisabled:""}`,onClick:e=>{y(e)},tabIndex:0,disabled:u,children:[p,!r&&c.jsx("span",{children:e})]})};var mN,pN,hN,fN,gN=A,vN=ve,yN=V,xN=function(e){return vN.slice(0,e.length)===e},bN=xN("Bun/")?"BUN":xN("Cloudflare-Workers")?"CLOUDFLARE":xN("Deno/")?"DENO":xN("Node.js/")?"NODE":gN.Bun&&"string"==typeof Bun.version?"BUN":gN.Deno&&"object"==typeof Deno.version?"DENO":"process"===yN(gN.process)?"NODE":gN.window&&gN.document?"BROWSER":"REST",CN="NODE"===bN,IN=pe,EN=Bi,_N=k,AN=_t("species"),wN=/(?:ipad|iphone|ipod).*applewebkit/i.test(ve),SN=A,kN=np,jN=$s,NN=le,TN=ut,PN=S,ON=Ko,MN=rp,LN=Rt,BN=Sf,DN=wN,RN=CN,zN=SN.setImmediate,FN=SN.clearImmediate,HN=SN.process,qN=SN.Dispatch,UN=SN.Function,GN=SN.MessageChannel,WN=SN.String,QN=0,YN={},VN="onreadystatechange";PN((function(){mN=SN.location}));var ZN=function(e){if(TN(YN,e)){var t=YN[e];delete YN[e],t()}},KN=function(e){return function(){ZN(e)}},JN=function(e){ZN(e.data)},XN=function(e){SN.postMessage(WN(e),mN.protocol+"//"+mN.host)};zN&&FN||(zN=function(e){BN(arguments.length,1);var t=NN(e)?e:UN(e),n=MN(arguments,1);return YN[++QN]=function(){kN(t,void 0,n)},pN(QN),QN},FN=function(e){delete YN[e]},RN?pN=function(e){HN.nextTick(KN(e))}:qN&&qN.now?pN=function(e){qN.now(KN(e))}:GN&&!DN?(fN=(hN=new GN).port2,hN.port1.onmessage=JN,pN=jN(fN.postMessage,fN)):SN.addEventListener&&NN(SN.postMessage)&&!SN.importScripts&&mN&&"file:"!==mN.protocol&&!PN(XN)?(pN=XN,SN.addEventListener("message",JN,!1)):pN=VN in LN("script")?function(e){ON.appendChild(LN("script"))[VN]=function(){ON.removeChild(this),ZN(e)}}:function(e){setTimeout(KN(e),0)});var $N={set:zN},eT=function(){this.head=null,this.tail=null};eT.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var tT,nT,rT,oT,iT,aT=eT,sT=/ipad|iphone|ipod/i.test(ve)&&"undefined"!=typeof Pebble,lT=/web0s(?!.*chrome)/i.test(ve),cT=A,uT=Rf,dT=$s,mT=$N.set,pT=aT,hT=wN,fT=sT,gT=lT,vT=CN,yT=cT.MutationObserver||cT.WebKitMutationObserver,xT=cT.document,bT=cT.process,CT=cT.Promise,IT=uT("queueMicrotask");if(!IT){var ET=new pT,_T=function(){var e,t;for(vT&&(e=bT.domain)&&e.exit();t=ET.get();)try{t()}catch(e){throw ET.head&&tT(),e}e&&e.enter()};hT||vT||gT||!yT||!xT?!fT&&CT&&CT.resolve?((oT=CT.resolve(void 0)).constructor=CT,iT=dT(oT.then,oT),tT=function(){iT(_T)}):vT?tT=function(){bT.nextTick(_T)}:(mT=dT(mT,cT),tT=function(){mT(_T)}):(nT=!0,rT=xT.createTextNode(""),new yT(_T).observe(rT,{characterData:!0}),tT=function(){rT.data=nT=!nT}),IT=function(e){ET.head||tT(),ET.add(e)}}var AT=IT,wT=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},ST=A.Promise,kT=A,jT=ST,NT=le,TT=go,PT=Nn,OT=_t,MT=bN,LT=_e;jT&&jT.prototype;var BT=OT("species"),DT=!1,RT=NT(kT.PromiseRejectionEvent),zT=TT("Promise",(function(){var e=PT(jT),t=e!==String(jT);if(!t&&66===LT)return!0;if(!LT||LT<51||!/native code/.test(e)){var n=new jT((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[BT]=r,!(DT=n.then((function(){}))instanceof r))return!0}return!(t||"BROWSER"!==MT&&"DENO"!==MT||RT)})),FT={CONSTRUCTOR:zT,REJECTION_EVENT:RT,SUBCLASSING:DT},HT={},qT=Fe,UT=TypeError,GT=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw new UT("Bad Promise constructor");t=e,n=r})),this.resolve=qT(t),this.reject=qT(n)};HT.f=function(e){return new GT(e)};var WT,QT,YT,VT=_o,ZT=CN,KT=A,JT=P,XT=br,$T=$d,eP=Md,tP=function(e){var t=IN(e);_N&&t&&!t[AN]&&EN(t,AN,{configurable:!0,get:function(){return this}})},nP=Fe,rP=le,oP=ue,iP=_i,aP=Bu,sP=$N.set,lP=AT,cP=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}},uP=wT,dP=aT,mP=Jn,pP=ST,hP=HT,fP="Promise",gP=FT.CONSTRUCTOR,vP=FT.REJECTION_EVENT,yP=FT.SUBCLASSING,xP=mP.getterFor(fP),bP=mP.set,CP=pP&&pP.prototype,IP=pP,EP=CP,_P=KT.TypeError,AP=KT.document,wP=KT.process,SP=hP.f,kP=SP,jP=!!(AP&&AP.createEvent&&KT.dispatchEvent),NP="unhandledrejection",TP=function(e){var t;return!(!oP(e)||!rP(t=e.then))&&t},PP=function(e,t){var n,r,o,i=t.value,a=1===t.state,s=a?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(a||(2===t.rejection&&DP(t),t.rejection=1),!0===s?n=i:(u&&u.enter(),n=s(i),u&&(u.exit(),o=!0)),n===e.promise?c(new _P("Promise-chain cycle")):(r=TP(n))?JT(r,n,l,c):l(n)):c(i)}catch(e){u&&!o&&u.exit(),c(e)}},OP=function(e,t){e.notified||(e.notified=!0,lP((function(){for(var n,r=e.reactions;n=r.get();)PP(n,e);e.notified=!1,t&&!e.rejection&&LP(e)})))},MP=function(e,t,n){var r,o;jP?((r=AP.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),KT.dispatchEvent(r)):r={promise:t,reason:n},!vP&&(o=KT["on"+e])?o(r):e===NP&&cP("Unhandled promise rejection",n)},LP=function(e){JT(sP,KT,(function(){var t,n=e.facade,r=e.value;if(BP(e)&&(t=uP((function(){ZT?wP.emit("unhandledRejection",r,n):MP(NP,n,r)})),e.rejection=ZT||BP(e)?2:1,t.error))throw t.value}))},BP=function(e){return 1!==e.rejection&&!e.parent},DP=function(e){JT(sP,KT,(function(){var t=e.facade;ZT?wP.emit("rejectionHandled",t):MP("rejectionhandled",t,e.value)}))},RP=function(e,t,n){return function(r){e(t,r,n)}},zP=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,OP(e,!0))},FP=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new _P("Promise can't be resolved itself");var r=TP(t);r?lP((function(){var n={done:!1};try{JT(r,t,RP(FP,n,e),RP(zP,n,e))}catch(t){zP(n,t,e)}})):(e.value=t,e.state=1,OP(e,!1))}catch(t){zP({done:!1},t,e)}}};if(gP&&(EP=(IP=function(e){iP(this,EP),nP(e),JT(WT,this);var t=xP(this);try{e(RP(FP,t),RP(zP,t))}catch(e){zP(t,e)}}).prototype,(WT=function(e){bP(this,{type:fP,done:!1,notified:!1,parent:!1,reactions:new dP,rejection:!1,state:0,value:null})}).prototype=XT(EP,"then",(function(e,t){var n=xP(this),r=SP(aP(this,IP));return n.parent=!0,r.ok=!rP(e)||e,r.fail=rP(t)&&t,r.domain=ZT?wP.domain:void 0,0===n.state?n.reactions.add(r):lP((function(){PP(r,n)})),r.promise})),QT=function(){var e=new WT,t=xP(e);this.promise=e,this.resolve=RP(FP,t),this.reject=RP(zP,t)},hP.f=SP=function(e){return e===IP||undefined===e?new QT(e):kP(e)},rP(pP)&&CP!==Object.prototype)){YT=CP.then,yP||XT(CP,"then",(function(e,t){var n=this;return new IP((function(e,t){JT(YT,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete CP.constructor}catch(e){}$T&&$T(CP,EP)}VT({global:!0,constructor:!0,wrap:!0,forced:gP},{Promise:IP}),eP(IP,fP,!1),tP(fP);var HP=_t("iterator"),qP=!1;try{var UP=0,GP={next:function(){return{done:!!UP++}},return:function(){qP=!0}};GP[HP]=function(){return this},Array.from(GP,(function(){throw 2}))}catch(e){}var WP=ST,QP=function(e,t){try{if(!t&&!qP)return!1}catch(e){return!1}var n=!1;try{var r={};r[HP]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},YP=FT.CONSTRUCTOR||!QP((function(e){WP.all(e).then(void 0,(function(){}))})),VP=P,ZP=Fe,KP=HT,JP=wT,XP=Bc;_o({target:"Promise",stat:!0,forced:YP},{all:function(e){var t=this,n=KP.f(t),r=n.resolve,o=n.reject,i=JP((function(){var n=ZP(t.resolve),i=[],a=0,s=1;XP(e,(function(e){var l=a++,c=!1;s++,VP(n,t,e).then((function(e){c||(c=!0,i[l]=e,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise}});var $P=_o,eO=FT.CONSTRUCTOR,tO=ST,nO=pe,rO=le,oO=br,iO=tO&&tO.prototype;if($P({target:"Promise",proto:!0,forced:eO,real:!0},{catch:function(e){return this.then(void 0,e)}}),rO(tO)){var aO=nO("Promise").prototype.catch;iO.catch!==aO&&oO(iO,"catch",aO,{unsafe:!0})}var sO=P,lO=Fe,cO=HT,uO=wT,dO=Bc;_o({target:"Promise",stat:!0,forced:YP},{race:function(e){var t=this,n=cO.f(t),r=n.reject,o=uO((function(){var o=lO(t.resolve);dO(e,(function(e){sO(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var mO=HT;_o({target:"Promise",stat:!0,forced:FT.CONSTRUCTOR},{reject:function(e){var t=mO.f(this);return(0,t.reject)(e),t.promise}});var pO=tn,hO=ue,fO=HT,gO=_o,vO=FT.CONSTRUCTOR,yO=function(e,t){if(pO(e),hO(t)&&t.constructor===e)return t;var n=fO.f(e);return(0,n.resolve)(t),n.promise};pe("Promise"),gO({target:"Promise",stat:!0,forced:vO},{resolve:function(e){return yO(this,e)}});var xO=P,bO=tn,CO=ee,IO=Pr,EO=as,_O=re,AO=Ue,wO=Yu,SO=ed;ku("match",(function(e,t,n){return[function(t){var n=_O(this),r=CO(t)?void 0:AO(t,e);return r?xO(r,t,n):new RegExp(t)[e](EO(n))},function(e){var r=bO(this),o=EO(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return SO(r,o);var a=r.unicode;r.lastIndex=0;for(var s,l=[],c=0;null!==(s=SO(r,o));){var u=EO(s[0]);l[c]=u,""===u&&(r.lastIndex=wO(o,IO(r.lastIndex),a)),c++}return 0===c?null:l}]}));function kO(e){return Ym(this,arguments,void 0,(function*({tagNo:e,instCode:t}){const r=fC({tagNo:e,instCode:t}),o=function(e){return Ym(this,arguments,void 0,(function*({instCode:e,tagNo:t,abortSignal:r}){var o;const i=`${n.baseApiUrl}/${e}/tags/procosys?tagNo=${t}`;return null!==(o=yield n.request({url:i,abortSignal:r,cache:{timeInSeconds:600}}))&&void 0!==o?o:[]}))}({tagNo:e,instCode:t}),i={tagDetails:void 0,proCoSysTag:void 0,hasError:!1};return yield Promise.all([r,o].map(((e,t)=>e.catch((e=>{throw e.index=t,e}))))).then((e=>{i.tagDetails=e[0],i.proCoSysTag=e[1].find((e=>e.isMaster)),i.proCoSysTag||(lN({message:`Tag with number ${i.tagDetails.tagNo} does not exists in ProCoSys.`}),i.hasError=!0)}),(r=>{const o=`Failed to fetch ${0===r.index?"tag details":"ProCoSys tag data"} for tagNo: ${e} with instCode: ${t}. Please try again later.`;delete r.index,n.handleErrors&&n.handleErrors(r,Zp),lN({message:o}),i.hasError=!0})),i}))}function jO(e){return Ym(this,arguments,void 0,(function*({tagNo:e,instCode:t}){const r={tagDetails:void 0,hasError:!1};try{r.tagDetails=yield fC({tagNo:e,instCode:t})}catch(o){n.handleErrors&&n.handleErrors(o,Zp),lN({message:`Failed to fetch tag details for tagNo: ${e} with instCode: ${t}. Please try again alter.`}),r.hasError=!0}return r}))}const NO=({tagNo:e,instCode:t})=>{const r=n.usePlantByInstCode({instCode:t});return c.jsx(dN,{buttonName:"Comm App",getUrlToOpen:()=>Ym(void 0,void 0,void 0,(function*(){return function(e){return Ym(this,void 0,void 0,(function*(){const{tagDetails:t,proCoSysTag:n,hasError:o}=yield kO(Object.assign({},e));return o||!r?void 0:`https://apps.procosys.equinor.com/comm/${r.proCoSysPlantId}/${null==t?void 0:t.projectCode}/Tag/${null==n?void 0:n.id}`}))}({tagNo:e,instCode:t})})),buttonStyle:exports.ExternalLinkButtonStyle.MenuItem})},TO=({tagNo:e,instCode:t})=>c.jsx(dN,{buttonName:"Condition Adviser",getUrlToOpen:()=>function(t){return Ym(this,void 0,void 0,(function*(){const{tagDetails:n,hasError:r}=yield jO({tagNo:t.tagNo,instCode:t.instCode});return r?void 0:`https://ioc.equinor.com/conditionadviser/flocation/${null==n?void 0:n.plantNo}-${e}#`}))}({tagNo:e,instCode:t}),buttonStyle:exports.ExternalLinkButtonStyle.MenuItem}),PO=({tagNo:e,instCode:t})=>{const r=n.usePlantByInstCode({instCode:t});return c.jsx(dN,{buttonName:"Mc App",getUrlToOpen:()=>Ym(void 0,void 0,void 0,(function*(){return function(e){return Ym(this,void 0,void 0,(function*(){const{tagDetails:t,proCoSysTag:n,hasError:o}=yield kO(Object.assign({},e));return o||!r?void 0:`https://apps.procosys.equinor.com/mc/${r.proCoSysPlantId}/${null==t?void 0:t.projectCode}/Tag/${null==n?void 0:n.id}`}))}({tagNo:e,instCode:t})})),buttonStyle:exports.ExternalLinkButtonStyle.MenuItem})},OO=({tagNo:e,instCode:t})=>{const r=n.usePlantByInstCode({instCode:t});return c.jsx(dN,{buttonName:"ProCoSys",getUrlToOpen:()=>function(t){return Ym(this,void 0,void 0,(function*(){const{tagDetails:n,hasError:o}=yield jO({tagNo:t.tagNo,instCode:t.instCode});return o||!r?void 0:`https://procosys.equinor.com/${r.proCoSysPlantId}/Link/TAG?TagNo=${e}&project=${null==n?void 0:n.projectCode}`}))}({tagNo:e,instCode:t}),buttonStyle:exports.ExternalLinkButtonStyle.MenuItem})};var MO=_o,LO=k,BO=G,DO=ut,RO=le,zO=he,FO=as,HO=Bi,qO=ao,UO=A.Symbol,GO=UO&&UO.prototype;if(LO&&RO(UO)&&(!("description"in GO)||void 0!==UO().description)){var WO={},QO=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:FO(arguments[0]),t=zO(GO,this)?new UO(e):void 0===e?UO():UO(e);return""===e&&(WO[t]=!0),t};qO(QO,UO),QO.prototype=GO,GO.constructor=QO;var YO="Symbol(description detection)"===String(UO("description detection")),VO=BO(GO.valueOf),ZO=BO(GO.toString),KO=/^Symbol\((.*)\)[^)]+$/,JO=BO("".replace),XO=BO("".slice);HO(GO,"description",{configurable:!0,get:function(){var e=VO(this);if(DO(WO,e))return"";var t=ZO(e),n=YO?XO(t,7,-1):JO(t,KO,"$1");return""===n?void 0:n}}),MO({global:!0,constructor:!0,forced:!0},{Symbol:QO})}const $O=({tag:e})=>c.jsx(dN,{buttonName:"SafeX",linkTo:`https://safex.equinor.com/search?keyword=${e.description}`,buttonStyle:exports.ExternalLinkButtonStyle.MenuItem});var eM;exports.PingableSources=void 0,(eM=exports.PingableSources||(exports.PingableSources={})).Sap="https://p03web.statoil.no/sap/public/icmandir/its/lsgui/images/img/splashscreen_corbu.png",eM.Statos="https://satos.equinor.com/files/4/bilder/johan_svedrup.png";const tM=({tagNo:t,instCode:n,loadingStatusCallback:o})=>{const{isSourceAvailable:i,isPingLoading:a}=e.usePing(exports.PingableSources.Sap),s=e.useIsIosDevice();return r.useEffect((()=>{o&&o(a)}),[a,o]),s||i?c.jsx(dN,{buttonName:"Sap",getUrlToOpen:()=>function(e){return Ym(this,void 0,void 0,(function*(){const{tagDetails:n,hasError:r}=yield jO({tagNo:e.tagNo,instCode:e.instCode});return r?void 0:`https://p03web.statoil.no/sap/bc/gui/sap/its/webgui?sap-client=505&sap-language=EN&~transaction=*ih06%20STRNO-LOW=${null==n?void 0:n.plantNo}-${t}#`}))}({tagNo:t,instCode:n}),buttonStyle:exports.ExternalLinkButtonStyle.MenuItem}):null};const nM=({tagNo:t,instCode:n,loadingStatusCallback:o})=>{const{isSemiDocumentAvailable:i,semiDocumentId:a,isSemiLoading:s}=function({tagNo:t,instCode:n}){const{tagDetails:o,isTagDetailsLoading:i,hasError:a}=gC({tagNo:t,instCode:n}),[s,l]=r.useState(!1),[c,u]=r.useState(!1),[d,m]=r.useState("");return r.useEffect((()=>{const e=null==o?void 0:o.additionalFields;if(Array.isArray(e)&&e.length>0){const t=e.find((e=>"SMI"===e.type));t&&(l(!0),m(t.value))}}),[o,a]),e.useEffectAsync((e=>{e.aborted||u(i)}),[i]),{isSemiDocumentAvailable:s,semiDocumentId:d,isSemiLoading:c}}({tagNo:t,instCode:n});return r.useEffect((()=>{o&&o(s)}),[s,o]),i&&!s?c.jsx(dN,{buttonName:"Semi",linkTo:`https://semi.equinor.com/uploaddocumentation?semiId=${a}`,buttonStyle:exports.ExternalLinkButtonStyle.MenuItem}):null},rM=({tagNo:e,instCode:t})=>{const n=encodeURIComponent(e);return c.jsx(dN,{buttonName:"STID",linkTo:`https://stid.equinor.com/${t}/tag/${n}`,buttonStyle:exports.ExternalLinkButtonStyle.MenuItem})},oM=({tagNo:t,instCode:o,loadingStatusCallback:i})=>{const a=n.EchoSettings.plant.getSelectedPlant(),[s,l]=e.useStateSafe(""),[u,d]=e.useStateSafe(!1),{tagDetails:m,hasError:p,isTagDetailsLoading:h}=gC({tagNo:t,instCode:o});return r.useEffect((()=>{if(i&&i(h),p)d(!1);else{if(d(function(e){const t=9===(null==e?void 0:e.tagCategory)&&!!e.valveDatash,n=6===(null==e?void 0:e.tagCategory)&&!!e.pipingClass&&!!e.nomDiam;return(t||n)&&!!(null==a?void 0:a.hasTr2000)}(m)),u){const e=6===(null==m?void 0:m.tagCategory)?"PCS":"VDS",t=6===(null==m?void 0:m.tagCategory)?m.pipingClass:null==m?void 0:m.valveDatash;l(`https://tr2000.equinor.com/TR2000/integration/get_datasheet.jsp?SYS=STID&DS=${e}&ID=${t}&PLANT=${o}`)}i&&i(h)}}),[t,o,i,l,d,h,m,p,u,a]),u&&!p?c.jsx(dN,{buttonName:"TR2000",linkTo:s,buttonStyle:exports.ExternalLinkButtonStyle.MenuItem}):null},iM=({tagNo:e,instCode:t})=>c.jsx(dN,{buttonName:"Trending App",getUrlToOpen:()=>function(t){return Ym(this,void 0,void 0,(function*(){const{tagDetails:n,hasError:r}=yield jO({tagNo:t.tagNo,instCode:t.instCode});let o=function(e){return null==e?void 0:e.replace(/[^a-z0-9]/gi,"*")}(e);return o=function(e){var t;return null===(t=null==e?void 0:e.match(/[a-z]+|\d+/gi))||void 0===t?void 0:t.join("*")}(o),r?void 0:`https://apps.powerapps.com/play/e/39d04b94-76f7-48f9-8ab3-3ab354a81af4/a/7fb700fa-0962-4058-a7e9-577d3e3e10da?tenantId=3aa4a235-b6e2-48d5-9195-7fcf05b459b0&source=portal&plantid=${null==n?void 0:n.plantNo}&tag=${o}#`}))}({tagNo:e,instCode:t}),buttonStyle:exports.ExternalLinkButtonStyle.MenuItem}),aM="chunkLoadError_ReloadedPageAt";const sM={save:function(e){sessionStorage.setItem(aM,(null!=e?e:new Date).toISOString())},delete:function(){sessionStorage.removeItem(aM)},hasReloadedAlready:function(){const e=sessionStorage.getItem(aM);if(e){const t=60;return(new Date).getTime()-new Date(e).getTime()<1e3*t}return!1}};function lM(e){const t=function(e){return()=>{e&&n.isOnline()&&cM(e)&&(sM.hasReloadedAlready()?(dM("UnhandledError.ChunkLoadError.FailedAutoForcePageReload",e),sM.delete()):(dM("UnhandledError.ChunkLoadError.TryingAutoForcePageReload",e),sM.save(),uM()))}}(e);return{reloadPageClicked:()=>{Zp.trackEventBy("ChunkLoadError","ManualPageReloadByUser",{}),uM()},forcePageReloadOnceOnChunkLoadError:t}}function cM(e){if(e.name.toLocaleLowerCase().includes("chunkloaderror"))return!0;const t=s.findPropertyByName(e,"innerError");if(t){const e=s.findPropertyByName(t,"name");if(null==e?void 0:e.toString().toLocaleLowerCase().includes("chunkloaderror"))return!0}return!1}function uM(){window.location.reload()}function dM(e,t){if(n.handleErrors){const r={name:e,message:t.message,innerError:t};n.handleErrors(new s.BaseError(r),Zp)}}var mM="chunkLoadErrorMessage-module_contentError__Je5rA",pM="chunkLoadErrorMessage-module_actionButtonSection__NgO0G";Ad(".chunkLoadErrorMessage-module_contentError__Je5rA{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}.chunkLoadErrorMessage-module_contentError__Je5rA>div>div>p{text-align:center}.chunkLoadErrorMessage-module_errorMessage__wrLXW{width:300px}.chunkLoadErrorMessage-module_refreshMessage__qrBAv{padding-top:8px;text-align:center;width:300px}.chunkLoadErrorMessage-module_actionButtonSection__NgO0G{text-align:center}");var hM="echoLogo-module_echoLogo__AP0el";Ad(".echoLogo-module_echoLogo__AP0el{color:var(--equiRed1);display:inline-block;font-family:var(--eq-echo-font-family);font-size:70px;font-weight:500;line-height:56px;text-align:right;text-transform:lowercase;width:100%}");const fM=({className:e})=>c.jsx("span",{className:`${e} ${hM}`,children:"Echo"});var gM="notificationCardWithLogo-module_errorContainer__5mVew",vM="notificationCardWithLogo-module_errorHeader__lzg74",yM="notificationCardWithLogo-module_errorMessage__tjwmz",xM="notificationCardWithLogo-module_appLogo__vHayY",bM="notificationCardWithLogo-module_errorWrapper__iCgbu";Ad(".notificationCardWithLogo-module_errorContainer__5mVew{align-items:center;display:flex;flex-direction:column;justify-content:center;position:relative}.notificationCardWithLogo-module_errorHeader__lzg74{align-items:flex-end;display:flex;justify-content:center}.notificationCardWithLogo-module_errorAction__KY1Hm{text-align:center}.notificationCardWithLogo-module_errorMessage__tjwmz{margin-bottom:16px}.notificationCardWithLogo-module_appLogo__vHayY{margin-bottom:72px;width:auto}.notificationCardWithLogo-module_errorWrapper__iCgbu{max-width:600px}");const CM=({containerClassName:e,variant:t,content:n})=>{const{title:r,notificationMessage:o,messageIcon:i,footer:a}=n;return c.jsxs("div",{className:`${e||""} ${gM}`,children:[c.jsx(fM,{className:xM}),c.jsxs("div",{className:bM,children:[c.jsx("div",{className:vM,children:c.jsx("h2",{children:r})}),c.jsx("div",{className:yM,children:c.jsx(d.Card,{variant:t||"default",children:c.jsxs(d.Card.Header,{children:[i?c.jsx("span",{children:i}):null,c.jsx(d.Card.HeaderTitle,{children:c.jsx(d.Typography,{variant:"body_short",children:o})})]})})}),a||null]})]})},IM=({error:t})=>{const n=e.useNavigatorOnLine(),{reloadPageClicked:o,forcePageReloadOnceOnChunkLoadError:a}=lM(t);return r.useEffect((()=>{a()}),[a]),c.jsx(CM,{containerClassName:mM,content:{title:"Unable to load site content",notificationMessage:"\n You have to go online and load the site content before you can use it offline.\n Go online and refresh the Page or restart the App.\n ",messageIcon:c.jsx(i.Icon,{size:48,name:"warning_filled",color:i.themeConst.outOfService,title:"WarningIcon"}),footer:c.jsx("div",{className:pM,children:c.jsxs(d.Button,{disabled:!n,variant:"outlined",onClick:o,children:[c.jsx(i.Icon,{name:"sync",color:n?i.themeConst.asBuilt:i.themeConst.equiGray3})," Refresh page"]})})}})};var EM="errorBoundaryBaseMessage-module_errorContainer__s3ysk",_M="errorBoundaryBaseMessage-module_errorDetails__aSrac",AM="errorBoundaryBaseMessage-module_errorAction__hsWA7",wM="errorBoundaryBaseMessage-module_actionButton__QohvC",SM="errorBoundaryBaseMessage-module_errorDetailsSmallScreen__rFcUV";Ad(".errorBoundaryBaseMessage-module_errorContainer__s3ysk{align-items:center;display:flex;flex-direction:column;justify-content:center;position:relative;top:64px}.errorBoundaryBaseMessage-module_errorHeader__KeM0a{align-items:flex-end;display:flex;justify-content:center;margin-bottom:32px}.errorBoundaryBaseMessage-module_errorDetails__aSrac{height:calc(100vh - 500px);max-height:800px;overflow:auto;white-space:pre-wrap}.errorBoundaryBaseMessage-module_errorAction__hsWA7{display:flex;justify-content:space-evenly;margin-bottom:16px}.errorBoundaryBaseMessage-module_actionButton__QohvC{width:180px}@media screen and (max-width:480px){.errorBoundaryBaseMessage-module_errorDetailsSmallScreen__rFcUV{margin-left:auto;margin-right:auto;width:300px}}");const kM=({errorTitle:e,errorDetails:t})=>{const[n,o]=r.useState(!1);return c.jsx(CM,{containerClassName:EM,content:{title:"Something went wrong",notificationMessage:"\n There was an unexpected application error. Try to refresh the page.\n If the issue persist, send the error details to the Echo team.\n\n To view the error details click on the button below.\n ",messageIcon:c.jsx(i.Icon,{name:"warning_filled",color:i.themeConst.equiRed1,title:"WarningIcon",size:48}),footer:c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:AM,children:[c.jsxs(d.Button,{variant:"outlined",onClick:()=>{window.location.reload()},className:wM,children:[c.jsx(i.Icon,{name:"sync",color:i.themeConst.asBuilt})," Refresh page"]}),c.jsxs(d.Button,{variant:n?void 0:"outlined",className:wM,onClick:()=>o(!n),children:[n?"Hide":"Show"," error details"]})]}),n&&c.jsxs("div",{className:`${_M} ${SM}`,children:[c.jsx(d.Typography,{children:e||"Error"}),c.jsxs(d.Typography,{children:["URL: ",window.location.href]}),t&&c.jsx("p",{children:t})]})]})}})};class jM extends r.Component{constructor(e){super(e),this.state={error:void 0,errorInfo:void 0}}componentDidCatch(e,t){const{onComponentDidCatch:n}=this.props;n&&(cM(e)||n(e,t)),this.setState({error:e,errorInfo:t})}render(){const{error:e,errorInfo:t}=this.state;return e&&cM(e)?c.jsx(IM,{error:e}):t?c.jsx(kM,{errorTitle:e&&(null==e?void 0:e.toString()),errorDetails:t.componentStack}):this.props.children}}const NM=r.createContext(void 0),TM=({children:e,tag:t,instCode:n})=>c.jsx(NM.Provider,{value:{tag:t,instCode:n},children:c.jsx(jM,{children:e})});var PM=r.memo(TM),OM={externalAppsMenuContainer:"externalAppsMenu-module_externalAppsMenuContainer__rx4x-",appMenu:"externalAppsMenu-module_appMenu__WjdtL"};function MM(e){const t=n.useExtensionsByComponentName(exports.ExtendableComponentName.ContextualAppLinks);return(null==e?void 0:e.onlyExternalLinks)?t.filter((e=>{var t;return null===(t=e.options)||void 0===t?void 0:t.isExternalLink})):(null==e?void 0:e.onlyInternalLinks)?t.filter((e=>{var t;return!(null===(t=e.options)||void 0===t?void 0:t.isExternalLink)})):t}function LM(){const e=r.useContext(NM);if(!e)throw new s.BaseError({name:"CompoundComponentOutsideContextError",message:"[EchoFramework.useContextualAppLinksContext] ContextualAppLinks compound components cannot be rendered outside the ContextualAppLinks component"});return Object.assign({},e)}Ad(".externalAppsMenu-module_externalAppsMenuContainer__rx4x-{animation:externalAppsMenu-module_fadein__Tpzls .4s;display:inline-block;height:40px;margin:0;padding:0;position:relative;width:40px}.externalAppsMenu-module_appMenu__WjdtL>[role=menu]{width:250px}.externalAppsMenu-module_appMenu__WjdtL [role=menu]>div{display:flex;flex-direction:column;min-width:150px}@media screen and (max-width:927px) and (orientation:landscape){.externalAppsMenu-module_appMenu__WjdtL{height:50%;overflow-y:auto}}"),exports.ExtendableComponentName=void 0,(exports.ExtendableComponentName||(exports.ExtendableComponentName={})).ContextualAppLinks="ContextualAppLinks";var BM="iconButtonSpinner-module_container__5wiwO",DM="iconButtonSpinner-module_spinner__8D-KT";Ad(".iconButtonSpinner-module_container__5wiwO{height:48px;position:relative;width:48px}.iconButtonSpinner-module_spinner__8D-KT{position:relative;text-align:center;top:50%;transform:translateY(-50%)}");const RM=({customClassNames:e,size:t})=>c.jsx("div",{className:`${(null==e?void 0:e.container)||""} ${BM}`,children:c.jsx("div",{className:`${(null==e?void 0:e.spinner)||""} ${DM}`,children:c.jsx(d.Progress.Circular,{size:t||24})})}),zM=({tagNo:e,instCode:t})=>{const[n,o]=r.useState(""),[i,a]=r.useState(""),{tagDetails:s,hasError:l}=gC({tagNo:e,instCode:t}),[u,m]=r.useState(!0);return r.useEffect((()=>{if(s){const{ventilteknikkEnglishUrl:e,ventilteknikkUrl:t}=s;m(null===(null!=e?e:t)),function(e,t){Ym(this,void 0,void 0,(function*(){e&&o(e),t&&a(t)}))}(t,e)}}),[s]),u||l?null:c.jsxs(d.Menu.Section,{title:"Operational training center",children:[c.jsx(dN,{buttonName:"Valve Technology (NO)",linkTo:n,buttonStyle:exports.ExternalLinkButtonStyle.MenuItem}),c.jsx(dN,{buttonName:"Valve Technology (EN)",linkTo:i,buttonStyle:exports.ExternalLinkButtonStyle.MenuItem})]})},FM=({label:e,iconName:t,onClick:n})=>{function r(e,t){return c.jsx(d.Button,{className:"d-inline-block",variant:"ghost_icon",onClick:t,children:c.jsx(i.Icon,{title:e,name:e,color:i.themeConst.equiGreen1})})}return e?c.jsx(d.Tooltip,{placement:"bottom",title:e,children:r(t,n)}):r(t,n)},HM=PM;HM.InternalApps=t=>{var{children:r,options:o}=t,i=Qm(t,["children","options"]);const a=n.useInternalLink(),s=e.useIsSmallScreen(),l=MM({onlyInternalLinks:!0}),{tag:u,instCode:d}=LM();function m(e){const t=(null==o?void 0:o.hiddenAppKeys)||[],r=e.component,{label:l,iconName:m,appPath:p}=e.options||{},h=t.includes(e.key);return r?c.jsx(r,Object.assign({tag:u,instCode:d},i),e.key):m&&!h&&(e.isVisible&&e.isVisible(Object.assign({tag:u,instCode:d},i))||!e.isVisible)?c.jsx(FM,{label:l,onClick:e=>function(e,t){a(t,{params:`?instCode=${d}&tagNo=${u.tagNo}&search=${u.tagNo}&refresh=true`}),e.stopPropagation(),s&&n.setActivePanel("")}(e,p||"/"),iconName:m},e.key):null}return c.jsxs(c.Fragment,{children:[l.map((e=>m(e))),r]})},HM.ExternalAppsMenu=t=>{var{children:n,classNames:o={button:"",popupMenu:""}}=t,a=Qm(t,["children","classNames"]);const s=MM({onlyExternalLinks:!0}),l=r.useRef(null),[u,m]=r.useState(!1),p=e.Utils.generateRandomId(),h=`${p}-external-apps-menu-button`,f=`${p}-external-apps-menu-on-button`,g=LM();return c.jsxs("div",Object.assign({className:OM.externalAppsMenuContainer,onClick:e=>{e.stopPropagation()}},a,{children:[c.jsx(d.Button,{className:`${OM.menuButton} ${o.button}`,ref:l,variant:"ghost_icon",id:h,"aria-controls":f,"aria-haspopup":"true","aria-expanded":u,onClick:()=>{m(!u)},children:c.jsx(d.Icon,{title:"echo",name:"more_vertical",color:i.themeConst.equiGreen1})}),c.jsx(d.Menu,{id:f,"aria-labelledby":h,open:u,anchorEl:null==l?void 0:l.current,placement:"bottom-end",onClose:()=>m(!1),className:`${OM.appMenu} ${o.popupMenu}`,children:u?c.jsxs("div",{children:[s.map((e=>{return(t=e.component)?c.jsx(t,Object.assign({},g)):null;var t})),n]}):null})]}))},HM.LinkButton=FM,HM.AllExternalApps=()=>{const{tag:t,instCode:n}=LM(),r=t.tagNo,[o,i]=e.useStateSafe(!1),[a,s]=e.useStateSafe(!1),[l,u]=e.useStateSafe(!1);return c.jsxs(c.Fragment,{children:[c.jsx(rM,{tagNo:r,instCode:n}),c.jsx(OO,{tagNo:r,instCode:n}),c.jsx(PO,{tagNo:r,instCode:n}),c.jsx(NO,{tagNo:r,instCode:n}),c.jsx($O,{tag:t}),c.jsx(iM,{tagNo:r,instCode:n}),c.jsx(nM,{tagNo:r,instCode:n,loadingStatusCallback:e=>{u(e)}}),c.jsx(oM,{tagNo:r,instCode:n,loadingStatusCallback:e=>{i(e)}}),c.jsx(tM,{tagNo:r,instCode:n,loadingStatusCallback:e=>{s(e)}}),c.jsx(TO,{tagNo:r,instCode:n}),o||a||l?c.jsx(RM,{size:24}):null,c.jsx(zM,{tagNo:r,instCode:n})]})};const qM=()=>c.jsxs("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 4000 1608",style:{background:"new 0 0 4000 1608"},children:[c.jsx("style",{type:"text/css",children:".st0{fill:#FF1243;}"}),c.jsxs("g",{children:[c.jsx("path",{className:"st0",d:"M3489.6,1124.6l82.9,47.8c4.9,2.8,7.9,8.1,7.9,13.8l-0.1,95.7c0,8.1-8.8,13.2-15.8,9.1l-82.9-47.8\r\n\t\t\t\tc-4.9-2.8-7.8-8.1-7.8-13.8l0-95.7C3473.7,1125.6,3482.5,1120.5,3489.6,1124.6z M3556.2,1009.2l82.9,47.9c4.9,2.8,11,2.8,15.9,0\r\n\t\t\t\tl82.9-47.9c7-4.1,7-14.2,0-18.3l-82.9-47.9c-4.9-2.8-11-2.8-15.9,0l-82.9,47.9C3549.2,995,3549.2,1005.1,3556.2,1009.2z\r\n\t\t\t\tM3256,989.7l-186.5-107.9c-5.5-3.2-12.3-3.2-17.9,0l-186.5,107.9c-7.9,4.6-7.9,16,0,20.6l186.5,107.9c5.5,3.2,12.3,3.2,17.9,0\r\n\t\t\t\tl186.5-107.9C3263.9,1005.7,3263.9,994.3,3256,989.7z M3328.6,1122.3l-124.5,71.7c-3.7,2.1-6,6.1-6,10.3l0,143.7\r\n\t\t\t\tc0,6.1,6.8,9.9,12,6.9l124.5-71.7c3.7-2.1,5.8-6.1,5.8-10.3l0-143.7C3340.5,1123.1,3333.9,1119.3,3328.6,1122.3z M3943.2,22.5\r\n\t\t\t\tl-448.1,258.1c-13.3,7.6-21.5,21.8-21.4,37.1l0,517.1c0,21.9,24.3,35.7,43.3,24.7l448.1-258.1c13.3-7.6,21-21.8,20.9-37.1l0-517.1\r\n\t\t\t\tC3986,25.3,3962.2,11.6,3943.2,22.5z M2984.6,303l0,359.2c0,10.6,5.3,20.5,14.5,25.8l311.2,179.3c13.2,7.6,30-1.9,30.1-17.2\r\n\t\t\t\tl0-359.2c0-10.6-5.7-20.5-14.9-25.8l-311.2-179.3C3001.1,278.2,2984.6,287.8,2984.6,303z"}),c.jsx("g",{children:c.jsxs("g",{children:[c.jsx("path",{className:"st0",d:"M2645.9,1030c-3.3-8.2-10.3-11.2-18.1-6.6c-7.8,4.7-154.9,92.3-154.9,92.3v-80.7c0-9.1-5.8-12.4-14-9.1\r\n\t\t\t\t\t\tl-47.8,17.3c-6.6,2.5-9.1,7.4-9.1,14v355c0,7.4,4.9,12.4,12.4,12.4h46.1c7.4,0,12.4-4.9,12.4-12.4v-217.4\r\n\t\t\t\t\t\tc0,0,173.4-107,180.4-111.2c7-4.2,10.6-7.8,7.4-15.7C2657.3,1059.2,2645.9,1030,2645.9,1030"}),c.jsx("path",{className:"st0",d:"M397.4,1201.3c0-98.9-67.6-182.1-180.4-182.1c-111.2,0-203.5,79.9-203.5,210.1\r\n\t\t\t\t\t\tc0,118.6,77.4,205.1,207.6,205.1c59.3,0,118.6-20.6,163.1-60.1c5.8-4.9,5.8-11.5,1.6-17.3l-22.2-34.6c-4.1-6.6-10.7-7.4-17.3-2.5\r\n\t\t\t\t\t\tc-40.4,29.7-81.6,44.5-125.2,44.5c-83.2,0-128.5-54.4-134.3-122.8h298.4c7.6,0,12.2-5.5,12.2-12.2V1201.3z M91.8,1179.8\r\n\t\t\t\t\t\tc15.7-56.8,60.1-91.4,122.8-91.4c68.4,0,104.6,40.4,107.9,91.4H91.8z"}),c.jsx("path",{className:"st0",d:"M799,1589.3h46.1c7.4,0,12.4-4.9,12.4-12.4v-542.1c0-9.1-5.8-12.4-14.8-9.1l-47,17.3\r\n\t\t\t\t\t\tc-6.6,2.5-9.1,7.4-9.1,14v17.3c-25.5-34.6-75.8-55.2-130.2-55.2c-107.9,0-201.8,80.7-201.8,207.6c0,112,72.5,207.6,197.7,207.6\r\n\t\t\t\t\t\tc56.8,0,111.2-25.5,134.3-54.4v196.9C786.7,1584.4,791.6,1589.3,799,1589.3 M657.3,1364.4c-70,0-130.2-47.8-130.2-138.4\r\n\t\t\t\t\t\tc0-90.6,60.1-137.6,130.2-137.6c73.3,0,130.2,47,130.2,137.6C787.5,1317.4,730.6,1364.4,657.3,1364.4"}),c.jsx("path",{className:"st0",d:"M1092.2,1434.4c42.8,0,89.8-14,120.3-58.5v36.3c0,7.4,4.9,12.4,12.4,12.4h46.1c7.4,0,12.4-4.9,12.4-12.4\r\n\t\t\t\t\t\tv-376.5c0-9.9-5.8-13.2-14-9.9l-47.8,17.3c-6.6,2.5-9.1,7.4-9.1,14v197.7c0,70-45.3,109.6-107.1,109.6\r\n\t\t\t\t\t\tc-61,0-102.2-38.7-102.2-109.6v-220c0-9.1-5.8-12.4-14-9.1l-47.8,17.3c-6.6,2.5-9.1,7.4-9.1,14v200.2\r\n\t\t\t\t\t\tC932.4,1374.3,1003.2,1434.4,1092.2,1434.4"}),c.jsxs("g",{children:[c.jsx("path",{className:"st0",d:"M1379.7,983.8l50.3-16.5c8.2-2.5,11.5-6.6,11.5-14.8v-60.1c0-7.4-5.8-13.2-14.8-9.9l-49.4,18.1\r\n\t\t\t\t\t\t\tc-7.4,2.5-11.5,5.8-11.5,14v57.7C1365.7,981.3,1370.7,987.1,1379.7,983.8"}),c.jsx("path",{className:"st0",d:"M1380.6,1424.5h46.1c7.4,0,12.4-4.9,12.4-12.4v-377.3c0-9.1-5.8-12.4-14-9.1l-47.8,17.3\r\n\t\t\t\t\t\t\tc-6.6,2.5-9.1,7.4-9.1,14v355.1C1368.2,1419.6,1373.2,1424.5,1380.6,1424.5"})]}),c.jsx("path",{className:"st0",d:"M1536.3,1424.5h46.1c7.4,0,12.4-4.9,12.4-12.4v-213.4c0-70,45.3-109.6,107.1-109.6\r\n\t\t\t\t\t\tc61,0,102.2,38.7,102.2,109.6v213.4c0,7.4,4.9,12.4,12.4,12.4h46.1c7.4,0,12.4-4.9,12.4-12.4v-215.9\r\n\t\t\t\t\t\tc0-117-70.9-177.1-159.8-177.1c-42.8,0-89.8,14-120.3,58.5v-42.8c0-9.1-5.8-12.4-14-9.1l-47.8,17.3c-6.6,2.5-9.1,7.4-9.1,14\r\n\t\t\t\t\t\tv355.1C1523.9,1419.6,1528.8,1424.5,1536.3,1424.5"}),c.jsx("path",{className:"st0",d:"M2138.9,1019.2c-118.6,0-203.5,88.2-203.5,207.6c0,119.5,84.9,207.6,203.5,207.6\r\n\t\t\t\t\t\tc118.6,0,202.7-88.2,202.7-207.6C2341.6,1107.3,2257.5,1019.2,2138.9,1019.2 M2138.9,1365.2c-81.6,0-131-61-131-138.4\r\n\t\t\t\t\t\ts49.4-138.4,131-138.4c80.7,0,130.2,61,130.2,138.4S2219.6,1365.2,2138.9,1365.2"})]})})]})]});var UM,GM="footer-module_echoFooter__G00YD",WM="footer-module_footerDisclaimer__AkC9l",QM="footer-module_footerLogo__Y-Dny",YM="footer-module_tosFooter__6AHMy";Ad(".footer-module_echoFooter__G00YD{background:#fff;bottom:0;display:flex;left:0;position:fixed}@media screen and (max-width:767px) and (orientation:portrait){.footer-module_echoFooter__G00YD{bottom:48px}}@media screen and (max-width:927px) and (orientation:landscape){.footer-module_echoFooter__G00YD{left:48px}}@media screen and (min-width:360px){.footer-module_echoFooter__G00YD{height:33px}}@media screen and (min-width:640px){.footer-module_echoFooter__G00YD{height:56px;width:100%}}p.footer-module_footerDisclaimer__AkC9l{font-size:10px;width:100%}.footer-module_footerLogo__Y-Dny{display:none;float:right;margin:0 0 12px;max-height:2.5rem;padding:12px 16px;width:74px}.footer-module_tosFooter__6AHMy{background:#fff;bottom:0;height:33px;left:0;position:fixed;width:100%}@media screen and (min-width:640px){p.footer-module_footerDisclaimer__AkC9l{line-height:32px;margin:0;padding:12px 16px}.footer-module_footerLogo__Y-Dny{display:block}.footer-module_tosFooter__6AHMy{height:56px}}"),exports.FooterType=void 0,(UM=exports.FooterType||(exports.FooterType={})).normal="normal",UM.termOfService="tos";const VM=({longText:t})=>t.split("\\n").map(((t,n)=>c.jsxs("span",{children:[e.escapeSpecialCharacters(t),c.jsx("br",{})]},n)));var ZM="fullScreenChip-module_fullScreenChip__464W-";Ad(".fullScreenChip-module_fullScreenChip__464W-{background:rgba(0,0,0,.8)!important;color:var(--white)!important}.fullScreenChip-module_fullScreenChip__464W-:hover{background:rgba(0,0,0,.9)!important}.fullScreenChip-module_fullScreenChip__464W- svg{fill:var(--white)!important}.fullScreenChip-module_fullScreenChip__464W- svg:hover{fill:var(--white)!important;background:var(--black)!important}");const KM=({onClick:e,active:t,onDelete:n})=>c.jsxs(d.Chip,{onClick:e,onDelete:n,className:ZM,children:[c.jsx(d.Icon,{name:t?"fullscreen_exit":"fullscreen"}),t?"Exit fullscreen mode":"Enable fullscreen mode"]});var JM="fullscreenModeButtons-module_fullScreenChip__JEv9C";Ad(".fullscreenModeButtons-module_fullScreenChip__JEv9C{display:flex;margin-left:var(--small);margin-top:var(--small);position:absolute;z-index:2}.fullscreenModeButtons-module_fullScreenButton__TeuUj{margin-right:var(--small);margin-top:var(--small);position:absolute;right:4em;top:0;z-index:2}.fullscreenModeButtons-module_fullScreenButtonFullscreenMode__aktEv{right:0!important}@media screen and (max-width:927px) and (orientation:landscape){.fullscreenModeButtons-module_fullScreenButton__TeuUj{right:0;top:3em}.fullscreenModeButtons-module_fullScreenButtonFullscreenMode__aktEv{top:0}.fullscreenModeButtons-module_fullScreenChip__JEv9C{margin-left:var(--medium)!important}}@media screen and (max-width:767px) and (orientation:portrait){.fullscreenModeButtons-module_fullScreenButton__TeuUj{right:0;top:3em}.fullscreenModeButtons-module_fullScreenButtonFullscreenMode__aktEv{top:0}}");var XM="InfoLabel-module_container__T3UD0",$M="InfoLabel-module_icon__tmrwt",eL="InfoLabel-module_text__PSinH";function tL({text:e}){return c.jsxs("div",{className:XM,children:[c.jsx(d.Icon,{name:"info_circle",size:16,className:$M}),c.jsx("div",{className:eL,children:e})]})}Ad(".InfoLabel-module_container__T3UD0{align-items:center;background:#f7f7f7;border-bottom:1px solid #dcdcdc;display:flex;padding:.625rem 1rem}.InfoLabel-module_icon__tmrwt{min-height:1rem;min-width:1rem}.InfoLabel-module_text__PSinH{font-size:.875rem;line-height:1rem;margin-left:.5rem}");var nL="labelledValue-module_container__vZI5g",rL="labelledValue-module_label__4FYkQ",oL="labelledValue-module_colSpanTwo__dAkbu";Ad(".labelledValue-module_container__vZI5g{color:var(--disabledColor);margin:.5rem 1rem;padding:.5rem 0}.labelledValue-module_label__4FYkQ{font-size:.75em;line-height:16px;margin-bottom:.4rem}.labelledValue-module_colSpanTwo__dAkbu{grid-column:span 2}");const iL=({label:e,value:t,colSpan:n})=>c.jsxs("div",{className:`${nL} ${n?oL:""}`,children:[c.jsx("p",{className:rL,children:e}),c.jsx("div",{children:t})]});var aL="labelledValueGrid-module_valuesContainer__JLnSe";Ad(".labelledValueGrid-module_valuesContainer__JLnSe{display:grid;grid-template-columns:1fr 1fr}");const sL=({fields:e})=>c.jsx("div",{className:aL,children:e.map(((e,t)=>c.jsx(iL,{label:e.label,value:e.value||"-",colSpan:e.colSpan},t)))});var lL="appLoadingIndicator-module_loadingContainer__2grwV",cL="appLoadingIndicator-module_progressIndicator__XovT7";Ad(".appLoadingIndicator-module_loadingContainer__2grwV{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;padding-top:0;text-align:center}.appLoadingIndicator-module_progressIndicator__XovT7{margin-bottom:16px}");const uL=({loadingText:e})=>c.jsx("div",{className:lL,children:c.jsxs("div",{children:[c.jsx(d.StarProgress,{className:cL}),c.jsx(d.Typography,{variant:"h4",children:e||"Loading application..."})]})});var dL="listItemAdditionalInfoRow-module_additionalInfo__GFabx",mL="listItemAdditionalInfoRow-module_item__TAbpQ";Ad(".listItemAdditionalInfoRow-module_additionalInfo__GFabx{display:flex;flex-direction:row;margin-top:4px}.listItemAdditionalInfoRow-module_item__TAbpQ{padding-right:var(--medium)}.listItemAdditionalInfoRow-module_item__TAbpQ:nth-child(2){border-left:1px solid var(--default);padding-left:16px}");var pL={accordionIconLeft:"accordionItem-module_accordionIconLeft__3gR3c",appMenuAccordionItemHeader:"accordionItem-module_appMenuAccordionItemHeader__OWdor",accordionSubHeader:"accordionItem-module_accordionSubHeader__0lUVl"};Ad(".accordionItem-module_accordionIconLeft__3gR3c{margin-right:28px}.accordionItem-module_appMenuAccordionItemHeader__OWdor{height:60px!important;padding:12px!important}.accordionItem-module_accordionSubHeader__0lUVl{color:var(--echoText);font-size:11px}");const{Item:hL,Header:fL,HeaderTitle:gL,Panel:vL}=d.Accordion,yL=({isExpanded:e,handleClick:t,title:n,subtitle:r,iconName:o,iconTitle:a,children:s})=>c.jsx(d.Accordion,{chevronPosition:"right",children:c.jsxs(hL,{className:pL.appMenuAccordionItem,isExpanded:e,onClick:()=>{t()},children:[c.jsxs(fL,{className:pL.appMenuAccordionItemHeader,children:[c.jsx(i.Icon,{color:i.themeConst.asBuilt,title:a,name:o,className:pL.accordionIconLeft}),c.jsxs(gL,{children:[n,c.jsx("div",{className:pL.accordionSubHeader,children:r})]})]}),c.jsx(vL,{children:e&&s})]})});var xL="applicationList-module_applicationButtonGroup__sH5k2",bL="applicationList-module_applicationListContainer__JFaSC";Ad(".applicationList-module_applicationButtonGroup__sH5k2{margin-bottom:var(--medium)}.applicationList-module_applicationListContainer__JFaSC h4{font-size:16px;margin-bottom:var(--medium)}.applicationList-module_navBarIcon__PXIQk{position:relative;width:96px}.applicationList-module_badge__rbkpm{color:var(--equiGreen1)}");const CL=()=>c.jsx("div",{className:bL,children:c.jsxs("div",{className:xL,children:[c.jsx("h4",{children:"Echo Applications"}),c.jsx(wC,{})]})});var IL="pageMenu-module_pageMenuDrawer__tzgE4",EL="pageMenu-module_versionInformation__OEAvO",_L="pageMenu-module_appMenuHeaderLink__oQ5O5",AL="pageMenu-module_appMenuContainer__-Og-F";Ad("@media only screen and (max-width:500px){.pageMenu-module_pageMenuDrawer__tzgE4{right:-345px;width:auto}}.pageMenu-module_versionInformation__OEAvO{display:flex;flex:1 0 auto;flex-direction:column;font-size:12px;height:fit-content;justify-content:flex-end;margin:20px 0}.pageMenu-module_appMenuHeaderLink__oQ5O5{color:var(--echoText);display:inline-block;font-size:16px;font-weight:500;line-height:24px;padding:8px 0;width:100%}.pageMenu-module_appMenuHeaderLink__oQ5O5:hover{text-decoration:none}.pageMenu-module_appMenuContainer__-Og-F{display:flex;flex-flow:column;height:100%}");var wL="pageMenuDrawerItem-module_accordionLogoHeader__eXZNU",SL="pageMenuDrawerItem-module_accordionExtraHeight__nhMz-",kL="pageMenuDrawerItem-module_accordionLogoText__TTxo5",jL="pageMenuDrawerItem-module_accordionLogo__30Gy-",NL="pageMenuDrawerItem-module_accordionExternalLink__cBgXQ",TL="pageMenuDrawerItem-module_borderBottom__tMskx",PL="pageMenuDrawerItem-module_appMenuHeaderLink__-Znm8";Ad(".pageMenuDrawerItem-module_accordionLogoHeader__eXZNU{border-left:1px solid #dcdcdc;border-right:1px solid #dcdcdc;color:var(--echoText);display:flex;flex-shrink:0;flex-wrap:wrap;height:fit-content;padding:6px 0;text-align:left}.pageMenuDrawerItem-module_accordionExtraHeight__nhMz-{height:60px}.pageMenuDrawerItem-module_accordionLogoHeader__eXZNU:hover{background-color:var(--searchBarBackground)}.pageMenuDrawerItem-module_accordionLogoHeader__eXZNU .pageMenuDrawerItem-module_accordionLogoText__TTxo5>a{color:var(--echoText)}.pageMenuDrawerItem-module_accordionLogo__30Gy-{height:24px;margin:auto 28px auto 12px;order:1;width:24px}.pageMenuDrawerItem-module_accordionExternalLink__cBgXQ{margin:auto 0 auto 36px;order:3}.pageMenuDrawerItem-module_accordionLogoText__TTxo5{align-self:center;margin:auto 0;order:2;width:calc(100% - 128px)}.pageMenuDrawerItem-module_borderBottom__tMskx{border-bottom:1px solid #dcdcdc}.pageMenuDrawerItem-module_appMenuHeaderLink__-Znm8{color:var(--echoText);display:inline-block;font-size:16px;font-weight:500;line-height:24px;padding:8px 0;width:100%}.pageMenuDrawerItem-module_appMenuHeaderLink__-Znm8:hover{text-decoration:none}");const OL=({iconName:e,iconTitle:t,children:n,externalLink:r,trackEventOpenExternalLink:o,classNames:a})=>c.jsxs("div",{className:`${wL+" "+("EELogo"===e?SL:TL)} ${a}`,children:["EELogo"===e?c.jsx(SC,{className:jL}):c.jsx(i.Icon,{className:jL,color:i.themeConst.asBuilt,name:e,title:t}),c.jsxs("div",{className:kL,children:[n,r&&c.jsx("a",{target:"_blank",className:PL,rel:"noopener noreferrer",href:r.link,onClick:()=>o(r.trackEvent),children:r.linkText})]}),r&&c.jsx("a",{target:"_blank",className:NL,rel:"noopener noreferrer",href:r.link,onClick:()=>o(r.trackEvent),children:c.jsx(i.Icon,{size:16,color:i.themeConst.asBuilt,name:"external_link",title:"External link"})})]});var ML,LL,BL=_o,DL=P,RL=le,zL=tn,FL=as,HL=(ML=!1,(LL=/[ac]/).exec=function(){return ML=!0,/./.exec.apply(this,arguments)},!0===LL.test("abc")&&ML),qL=/./.test;BL({target:"RegExp",proto:!0,forced:!HL},{test:function(e){var t=zL(this),n=FL(e),r=t.exec;if(!RL(r))return DL(qL,t,n);var o=DL(r,t,n);return null!==o&&(zL(o),!0)}});var UL=rC.trim;_o({target:"String",proto:!0,forced:sC("trim")},{trim:function(){return UL(this)}});const GL=({variant:e,maxCharacterCount:t,isDisabled:o,stayOnPath:a})=>{var l;const{instCode:u,plantName:d,sapPlantId:m}=n.usePlantSettings(),p=n.usePlants(),h=p.length>0?p:[],f=h.map((e=>x(e.description,e.sapPlantId))),[g,v]=r.useState("");if(!d&&u&&h&&!g){const e=null===(l=h.find((e=>e.instCode===u)))||void 0===l?void 0:l.description;e&&v(e)}const y=d||g;function x(e,t){return t?`${e} (${t})`:e}return c.jsx(i.Dropdown,{showSearch:!0,selected:x(y,m),data:f,filterFunc:(e,t)=>{const n=h.filter((e=>{var n;return e.description.toLowerCase().indexOf(t.trim().toLowerCase())>-1||e.instCode.toLowerCase().indexOf(t.trim().toLowerCase())>-1||(null===(n=e.sapPlantId)||void 0===n?void 0:n.toLowerCase().indexOf(t.trim().toLowerCase()))>-1}));return n.map((e=>x(e.description,e.sapPlantId)))},openDownWards:!0,placeholder:"Select plant",setSelected:e=>Ym(void 0,void 0,void 0,(function*(){var t;let r=e;if(r.includes("(")){const e=null===(t=r.split("(").pop())||void 0===t?void 0:t.split(")");o=e[0],/^[0-9-]+$/.test(o)&&(r=r.replace(` (${e[0]})`,""))}var o;const i=function(e,t){return e.find((e=>e.description===t))}(h,r);i&&s.eventHub.emit(n.EchoEvents.PlantChanged,{selectedPlant:i,stayOnPath:a})})),isDisabled:o||!n.isOnline(),disabledText:"Disabled while syncing or loading data",maxCharacterCount:t,variant:e||"default"})};var WL="settings-module_assetLabel__2whL4",QL="settings-module_container__-QVxU",YL="settings-module_accountContainer__bLUZI",VL="settings-module_accountIcon__A-l-Z",ZL="settings-module_accountImage__RggiK",KL="settings-module_accountName__qy7Z-",JL="settings-module_accountJobTitle__WapT2",XL="settings-module_accountEmail__cMoPL",$L="settings-module_accountText__tFYwo",eB="settings-module_subMenu__tRk0B",tB="settings-module_subHeader__5vLyu",nB="settings-module_subContainer__qKSxR";Ad(".settings-module_assetLabel__2whL4{font-size:12px;font-weight:400;margin-bottom:0;margin-left:var(--small)}.settings-module_container__-QVxU{color:var(--echoText);position:relative}.settings-module_accountContainer__bLUZI{display:flex}.settings-module_accountIcon__A-l-Z,.settings-module_accountImage__RggiK{height:80px;margin-right:var(--medium);width:80px}.settings-module_accountImage__RggiK{border:1px solid var(--equiGray4);border-radius:50%}.settings-module_accountName__qy7Z-{font-size:18px;font-weight:500;line-height:24px}.settings-module_accountJobTitle__WapT2{font-size:16px;line-height:24px}.settings-module_accountEmail__cMoPL{color:#007079;font-size:16px;line-height:20px;text-decoration-line:underline}.settings-module_accountText__tFYwo{margin:auto 0}.settings-module_subMenu__tRk0B{margin-bottom:var(--medium)}.settings-module_subHeader__5vLyu{font-size:18px;line-height:24px;margin-bottom:var(--medium)}.settings-module_subContainer__qKSxR{margin-bottom:0}");const rB=({isDisabled:e})=>c.jsx("div",{className:QL,children:c.jsxs("div",{className:eB,children:[c.jsx("h3",{className:tB,children:"Asset"}),c.jsxs("div",{className:nB,children:[c.jsx("label",{className:WL,children:"Asset"}),c.jsx(GL,{isDisabled:e})]})]})}),oB=({trackEventOpenExternalLink:e})=>{const t=n.useUserProfile(),r=n.useUserPhoto();return c.jsx("div",{className:QL,children:c.jsxs("div",{className:YL,children:[r&&r.length>0?c.jsx("img",{src:r,alt:"profile",className:ZL}):c.jsx(i.Icon,{color:i.themeConst.asBuilt,title:"Profile picture",name:"account_circle",size:48,className:VL}),c.jsxs("div",{className:$L,children:[c.jsx("div",{className:KL,children:null==t?void 0:t.displayName}),c.jsx("div",{className:JL,children:null==t?void 0:t.jobTitle}),c.jsx("a",{onClick:()=>e("mailto"),href:`mailto:${null==t?void 0:t.mail}`,className:XL,children:null==t?void 0:t.mail})]})]})})},iB=({trackEventOpenExternalLink:e,isDisabled:t})=>c.jsxs("div",{className:QL,children:[c.jsx(oB,{trackEventOpenExternalLink:e}),c.jsx(d.Divider,{variant:"medium"}),c.jsx(rB,{isDisabled:t})]});var aB="version-module_versionContainer__DZ8JR";Ad(".version-module_versionContainer__DZ8JR{color:var(--echoText);min-height:50px;text-align:center}@media only screen and (max-width:1367px){.version-module_versionContainer__DZ8JR{margin-bottom:15px}}");const sB=()=>{r.useEffect((()=>{!function(){Ym(this,void 0,void 0,(function*(){const e=yield function(){return Ym(this,void 0,void 0,(function*(){var e;const t=`${n.baseApiUrl}/Version`;return null!==(e=yield n.request({url:t}))&&void 0!==e?e:""}))}(),r=yield function(){return Ym(this,void 0,void 0,(function*(){var e;const t=`${n.baseApiUrl}/Version/ProductVersion`;return null!==(e=yield n.request({url:t}))&&void 0!==e?e:""}))}();e&&i(e),r&&t(r)}))}()}),[]);const[e,t]=r.useState(""),[o,i]=r.useState("");return c.jsxs("div",{className:aB,children:[c.jsxs("div",{children:["v",e]}),n.isOnline()&&c.jsxs("div",{children:["EchopediaAPI v",o]})]})},lB=({trackEventOpenExternalLink:e,isSyncing:t})=>{const{setActivePanel:i}=n.usePanels(),{instCode:a,plantName:s}=n.usePlantSettings(),[l,u]=r.useState(t?"Sync":"None");return c.jsx("div",{className:IL,children:c.jsxs("div",{className:AL,children:[c.jsx(OL,{iconName:"EELogo",iconTitle:"Home",trackEventOpenExternalLink:e,children:c.jsx(o.Link,{to:`/?instCode=${a}`,onClick:()=>{i("")},className:_L,children:"Home"})}),c.jsx(yL,{isExpanded:"Profile"===l,handleClick:()=>u("Profile"),title:"Profile & Settings",subtitle:s,iconName:"account_circle",iconTitle:"Profile and settings",children:c.jsx(iB,{trackEventOpenExternalLink:e,isDisabled:t})}),c.jsx(yL,{isExpanded:"Apps"===l,handleClick:()=>u("Apps"),title:"Apps",iconName:"apps",iconTitle:"Applications",children:c.jsx(CL,{})}),c.jsx(OL,{externalLink:{link:"https://statoilsrm.sharepoint.com/sites/Echo/SitePages/How-to-use-Echo.aspx",linkText:"About Echo",trackEvent:"aboutEcho"},iconName:"email_alpha",iconTitle:"About echo",trackEventOpenExternalLink:e}),c.jsx(OL,{externalLink:{link:"https://statoilsrm.sharepoint.com/sites/Echo/SitePages/About-Echo.aspx",linkText:"Terms & Conditions",trackEvent:"aboutEchoTermsAndConditions"},iconName:"assignment",iconTitle:"Terms and conditions",trackEventOpenExternalLink:e}),c.jsx(OL,{iconName:"exit_to_app",iconTitle:"Sign out",trackEventOpenExternalLink:e,children:c.jsx(o.Link,{className:_L,to:"",onClick:e=>Ym(void 0,void 0,void 0,(function*(){e.preventDefault(),yield Ym(void 0,void 0,void 0,(function*(){yield n.EchoAuthProvider.logout()}))})),children:"Sign out"})}),c.jsx("div",{className:EL,children:c.jsx(sB,{})})]})})},cB=r.createContext({}),uB=()=>r.useContext(cB);var dB,mB=Fe,pB=st,hB=$,fB=Mr,gB=TypeError,vB="Reduce of empty array with no initial value",yB={left:(dB=!1,function(e,t,n,r){var o=pB(e),i=hB(o),a=fB(o);if(mB(t),0===a&&n<2)throw new gB(vB);var s=dB?a-1:0,l=dB?-1:1;if(n<2)for(;;){if(s in i){r=i[s],s+=l;break}if(s+=l,dB?s<0:a<=s)throw new gB(vB)}for(;dB?s>=0:a>s;s+=l)s in i&&(r=t(r,i[s],s,o));return r})},xB=S,bB=function(e,t){var n=[][e];return!!n&&xB((function(){n.call(null,t||function(){return 1},1)}))},CB=yB.left;_o({target:"Array",proto:!0,forced:!CN&&_e>79&&_e<83||!bB("reduce")},{reduce:function(e){var t=arguments.length;return CB(this,e,t,t>1?arguments[1]:void 0)}});var IB=Bc,EB=Fe,_B=tn,AB=ga,wB=TypeError;_o({target:"Iterator",proto:!0,real:!0},{reduce:function(e){_B(this),EB(e);var t=AB(this),n=arguments.length<2,r=n?void 0:arguments[1],o=0;if(IB(t,(function(t){n?(n=!1,r=t):r=e(r,t,o),o++}),{IS_RECORD:!0}),n)throw new wB("Reduce of empty iterator with no initial value");return r}});function SB(e,...t){return function(e){return e.replace(/\/$/,"")}((t||[]).filter((e=>e)).reduce(((e,t)=>e+"/"+encodeURIComponent(t)),e||""))}const kB=(e,t)=>{const n=Object.keys(t).filter((e=>t[e])).reduce(((e,n)=>e+`${e?"&":""}${n}=${encodeURIComponent(t[n])}`),"");return n?`${e}?${n}`:e};function jB(e){window.open(e,"_blank")}function NB(e){return Ym(this,void 0,void 0,(function*(){const t=function(e){return SB(n.baseApiUrl,"prep-view","work-orders",e)}(e),r=yield n.request({url:t});if(!r)throw new Error(`failed to fetch work order with id ${e}`);return r}))}function TB(e){return Ym(this,void 0,void 0,(function*(){const t=function(e){return SB(n.baseApiUrl,"prep-view","work-orders",e,"subsea-work-order")}(e),r=yield n.request({url:t});if(!r)throw new Error(`failed to fetch subsea work order with id ${e}`);return r}))}function PB(e){return Ym(this,void 0,void 0,(function*(){const t=function(e){return SB(n.baseApiUrl,"prep-view","work-orders",e,"work-type")}(e),r=yield n.request({url:t});if(!r)throw new Error(`failed to fetch the work type of WO ${e}`);return r}))}function OB(e){return Ym(this,void 0,void 0,(function*(){const t=(r=e,SB(n.baseApiUrl,"prep-view","maintenance-records",r));var r;const o=yield n.request({url:t});if(!o)throw new Error(`failed to fetch notification with id ${e}`);return o}))}function MB(e){return Ym(this,void 0,void 0,(function*(){const t=(r=e,SB(n.baseApiUrl,"prep-view","maintenance-records",r,"subsea-maintenance-record"));var r;const o=yield n.request({url:t});if(!o)throw new Error(`failed to fetch subsea notification with id ${e}`);return o}))}function LB(e,t){return Ym(this,void 0,void 0,(function*(){const r=function(e,t){return SB(n.baseApiUrl,e,"prep-view","punches",t)}(e,t),o=yield n.request({url:r});if(!o)throw new Error(`failed to fetch punch with id ${t}`);return o}))}function BB(e,t){return Ym(this,void 0,void 0,(function*(){const r=function(e,t){return SB(n.baseApiUrl,"prep-view",t?"work-orders":"maintenance-records",e,"tag")}(e,t),o=yield n.request({url:r});if(!o)throw new Error(`failed to fetch tag information for item ${e}`);return o}))}function DB(e,t){return Ym(this,void 0,void 0,(function*(){const r=function(e,t){return SB(n.baseApiUrl,"prep-view",t?"work-orders":"maintenance-records",e,"attachments")}(e,t),o=yield n.request({url:r});if(!o)throw new Error(`failed to fetch attachments for item ${e}`);return o}))}function RB(e,t,r,o){return Ym(this,void 0,void 0,(function*(){const i=o?function(e,t,r){const o=SB(n.baseApiUrl,"work-orders","attachment");return kB(o,{orderTypeId:e,workorderId:t,attachmentId:r})}(e,t,r.id):function(e,t,r){const o=SB(n.baseApiUrl,"maintenance-records","attachment");return kB(o,{maintenanceRecordTypeId:e,maintenanceRecordId:t,attachmentId:r})}(e,t,r.id),a=yield n.request({url:i,successResponseParser:zB});if(!a)throw new Error(`Failed to fetch attachment: ${r.fileName}`);return a}))}function zB(e){return e.blob()}function FB(e,t){return Ym(this,void 0,void 0,(function*(){const r=function(e,t){return SB(n.baseApiUrl,"prep-view",t?"work-orders":"maintenance-records",e,"documents")}(e,t),o=yield n.request({url:r});if(!o)throw new Error(`failed to fetch documents for item ${e}`);return o}))}function HB(e,t){return Ym(this,void 0,void 0,(function*(){const r=function(e,t){return SB(n.baseApiUrl,"prep-view",t?"work-orders":"maintenance-records",e,"history")}(e,t),o=yield n.request({url:r});if(!o)throw new Error(`failed to fetch history for item ${e}`);return o}))}function qB(e,t){return Ym(this,void 0,void 0,(function*(){const r=function(e,t){return SB(n.baseApiUrl,"prep-view",t?"work-orders":"maintenance-records",e,"safety-cards")}(e,t),o=yield n.request({url:r});if(!o)throw new Error(`failed to fetch safety cards for item ${e}`);return o}))}function UB(e){return Ym(this,void 0,void 0,(function*(){const t=function(e){return SB(n.baseApiUrl,"prep-view","work-orders",e,"operations")}(e),r=yield n.request({url:t});if(!r)throw new Error(`failed to fetch operations for WO ${e}`);return r}))}function GB(e){return Ym(this,void 0,void 0,(function*(){const t=function(e){return SB(n.baseApiUrl,"prep-view","work-orders",e,"objects")}(e),r=yield n.request({url:t});if(!r)throw new Error(`failed to fetch objects for WO ${e}`);return r}))}function WB({headerLevel:e,children:t}){return c.jsx(d.Accordion,{headerLevel:null!=e?e:"h3",chevronPosition:"right",children:t})}var QB="DetailsLoader-module_container__lJGsE";function YB(){return c.jsxs("div",{className:QB,children:[c.jsx(d.CircularProgress,{}),c.jsx("br",{}),c.jsx("span",{children:c.jsx(d.Typography,{variant:"h6",children:"Loading details..."})})]})}function VB(){const[t,n]=r.useState(""),o=e.useDebounce(t,500);return r.useEffect((()=>n("show")),[]),o?c.jsx(YB,{}):null}function ZB({text:e}){return c.jsx(d.Typography,{variant:"h6",children:e})}Ad(".DetailsLoader-module_container__lJGsE{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;padding-top:20px}");Ad(".ExtendedTabsBorder-module_extendedBorder__lX-98{border-bottom:2px solid var(--ui_background_medium,#dcdcdc)}");var KB={errorCard:"ErrorCard-module_errorCard__DeNQv",errorHeader:"ErrorCard-module_errorHeader__XGMzu",errorContent:"ErrorCard-module_errorContent__A5GFL",serviceNowLink:"ErrorCard-module_serviceNowLink__NHHTL",label:"ErrorCard-module_label__-t5wP",labelDescription:"ErrorCard-module_labelDescription__KDS-A"};function JB({header:e,description:t}){return c.jsxs("div",{className:KB.label,children:[c.jsx("dt",{className:KB.labelHeader,children:e}),c.jsx("dd",{className:KB.labelDescription,children:t})]})}function XB(e){const t=e.workOrderId?`Failed to fetch work order with id ${e.workOrderId}`:e.notificationId?`Failed to fetch notification with id ${e.notificationId}`:e.punchId?`Failed to fetch punch with id ${e.punchId}`:void 0;return c.jsxs(d.Card,{variant:"danger",className:KB.errorCard,children:[c.jsxs(d.Card.Header,{className:KB.errorHeader,children:[c.jsx(d.Icon,{name:"error_outlined"}),c.jsx(d.Typography,{variant:"h6",children:"Data load failed"})]}),c.jsxs(d.Card.Content,{className:KB.errorContent,children:[t&&c.jsx(d.Typography,{variant:"h6",children:t}),c.jsx(JB,{header:"Type:",description:e.error.name}),c.jsx(JB,{header:"Description:",description:e.error.message}),c.jsx(i.BlackLink,{className:KB.serviceNowLink,href:"https://equinor.service-now.com/selfservice?id=sc_cat_item&sys_id=a1dc5f0e1b6f11d0cb5add72b24bcb3e",linkText:"Report error (ServiceNow)"})]})]})}Ad(".ErrorCard-module_errorCard__DeNQv{gap:0!important;margin:1rem;width:auto!important}.ErrorCard-module_errorHeader__XGMzu{display:flex!important;justify-content:flex-start!important;>svg{fill:var(--interactive_danger_resting)}}.ErrorCard-module_errorContent__A5GFL{display:flex!important;flex-direction:column;gap:1.5rem;margin-top:1.5rem}.ErrorCard-module_serviceNowLink__NHHTL{align-self:end}.ErrorCard-module_label__-t5wP{display:flex;flex-direction:column;gap:6px}.ErrorCard-module_labelDescription__KDS-A{margin:0!important}");var $B=Be,eD=TypeError,tD=ve.match(/firefox\/(\d+)/i),nD=!!tD&&+tD[1],rD=/MSIE|Trident/.test(ve),oD=ve.match(/AppleWebKit\/(\d+)\./),iD=!!oD&&+oD[1],aD=_o,sD=G,lD=Fe,cD=st,uD=Mr,dD=function(e,t){if(!delete e[t])throw new eD("Cannot delete property "+$B(t)+" of "+$B(e))},mD=as,pD=S,hD=qf,fD=bB,gD=nD,vD=rD,yD=_e,xD=iD,bD=[],CD=sD(bD.sort),ID=sD(bD.push),ED=pD((function(){bD.sort(void 0)})),_D=pD((function(){bD.sort(null)})),AD=fD("sort"),wD=!pD((function(){if(yD)return yD<70;if(!(gD&&gD>3)){if(vD)return!0;if(xD)return xD<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)bD.push({k:t+r,v:n})}for(bD.sort((function(e,t){return t.v-e.v})),r=0;r<bD.length;r++)t=bD[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));aD({target:"Array",proto:!0,forced:ED||!_D||!AD||!wD},{sort:function(e){void 0!==e&&lD(e);var t=cD(this);if(wD)return void 0===e?CD(t):CD(t,e);var n,r,o=[],i=uD(t);for(r=0;r<i;r++)r in t&&ID(o,t[r]);for(hD(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:mD(t)>mD(n)?1:-1}}(e)),n=uD(o),r=0;r<n;)t[r]=o[r++];for(;r<i;)dD(t,r++);return t}});var SD=G(1..valueOf),kD=Ar,jD=as,ND=re,TD=RangeError,PD=function(e){var t=jD(ND(this)),n="",r=kD(e);if(r<0||r===1/0)throw new TD("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n},OD=_o,MD=G,LD=Ar,BD=SD,DD=PD,RD=S,zD=RangeError,FD=String,HD=Math.floor,qD=MD(DD),UD=MD("".slice),GD=MD(1..toFixed),WD=function(e,t,n){return 0===t?n:t%2==1?WD(e,t-1,n*e):WD(e*e,t/2,n)},QD=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=HD(o/1e7)},YD=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=HD(r/t),r=r%t*1e7},VD=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=FD(e[t]);n=""===n?r:n+qD("0",7-r.length)+r}return n};OD({target:"Number",proto:!0,forced:RD((function(){return"0.000"!==GD(8e-5,3)||"1"!==GD(.9,0)||"1.25"!==GD(1.255,2)||"1000000000000000128"!==GD(0xde0b6b3a7640080,0)}))||!RD((function(){GD({})}))},{toFixed:function(e){var t,n,r,o,i=BD(this),a=LD(e),s=[0,0,0,0,0,0],l="",c="0";if(a<0||a>20)throw new zD("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return FD(i);if(i<0&&(l="-",i=-i),i>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(i*WD(2,69,1))-69)<0?i*WD(2,-t,1):i/WD(2,t,1),n*=4503599627370496,(t=52-t)>0){for(QD(s,0,n),r=a;r>=7;)QD(s,1e7,0),r-=7;for(QD(s,WD(10,r,1),0),r=t-1;r>=23;)YD(s,1<<23),r-=23;YD(s,1<<r),QD(s,1,1),YD(s,2),c=VD(s)}else QD(s,0,n),QD(s,1<<-t,0),c=VD(s)+qD("0",a);return c=a>0?l+((o=c.length)<=a?"0."+qD("0",a-o)+c:UD(c,0,o-a)+"."+UD(c,o-a)):l+c}});var ZD=A,KD=S,JD=as,XD=rC.trim,$D=Zb,eR=G("".charAt),tR=ZD.parseFloat,nR=ZD.Symbol,rR=nR&&nR.iterator,oR=1/tR($D+"-0")!=-1/0||rR&&!KD((function(){tR(Object(rR))}))?function(e){var t=XD(JD(e)),n=tR(t);return 0===n&&"-"===eR(t,0)?-0:n}:tR;function iR({files:e,fileType:t="pdf",viewCode:n="v",className:r}){const o=e.filter((e=>e.fileName.toLowerCase().endsWith(t.toLowerCase())));if(!o||o.length<=0)return null;const i=o.filter((e=>e.prodViewCode.toLowerCase()===n.toLowerCase())).sort(((e,t)=>e.fileOrder-t.fileOrder))[0];if(!i)return null;const a=aR(i.fileSize);return c.jsx("span",{className:r,children:a})}function aR(e,t=1){if(0===e)return"0 Bytes";const n=t<0?0:t,r=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,r)).toFixed(n))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}_o({global:!0,forced:parseFloat!==oR},{parseFloat:oR});var sR,lR,cR="InfoBlock-module_container__ysAHg",uR="InfoBlock-module_stretchedContainer__g5ff7 InfoBlock-module_container__ysAHg",dR="InfoBlock-module_fitContainer__DkMzF InfoBlock-module_container__ysAHg",mR="InfoBlock-module_headerLabel__YWbN0",pR="InfoBlock-module_content__jR-Rm";function hR({label:t,stretched:n=!1,fit:r=!1,children:o,contentClassName:a}){const s=e.isMobileDevice(),l=i.classnames(pR,a);return c.jsxs("div",{style:!n&&s?{width:"50%"}:void 0,className:n?uR:r?dR:cR,children:[c.jsx("dt",{className:mR,children:t}),c.jsx("dd",{className:l,children:o})]})}function fR(e){if(!e)return"-";"string"==typeof e&&(e=new Date(e));const t=e.toLocaleDateString("en-GB");return t.toLowerCase().includes("invalid date")?t:function(e){const t=e.toUTCString();return"Thu, 01 Jan 1970 00:00:00 GMT"===t}(e)?"-":t}function gR(e){return e.split(".").pop()}Ad(".InfoBlock-module_container__ysAHg{padding:.5rem;width:13.125rem;word-break:break-all}.InfoBlock-module_stretchedContainer__g5ff7{width:100%}.InfoBlock-module_fitContainer__DkMzF{width:16.25rem}.InfoBlock-module_headerLabel__YWbN0{font-size:.625rem;font-weight:500;line-height:1rem;text-transform:uppercase;word-break:break-word}.InfoBlock-module_content__jR-Rm{margin:0}"),function(e){e.pid="pid",e.iso="iso",e.did="did",e.scd="scd",e.causeEffect="causeEffect",e.fpds="fpds",e.layout="layout",e.loop="loop",e.blockDiagram="blockDiagram",e.wire="wire",e.detail="detail",e.other="other"}(sR||(sR={})),exports.WorkItemType=void 0,(lR=exports.WorkItemType||(exports.WorkItemType={}))[lR.Notifications=0]="Notifications",lR[lR.WorkOrders=1]="WorkOrders",lR[lR.Punches=2]="Punches",lR[lR.Operations=3]="Operations",lR[lR.Equipment=4]="Equipment";var vR,yR,xR=A;_o({global:!0,forced:xR.globalThis!==xR},{globalThis:xR}),function(e){e.Module="Module",e.Synergi="Synergi",e.SafeX="SafeX"}(vR||(vR={})),function(e){e[e.Invalid=0]="Invalid",e[e.LocalDevelopment=1]="LocalDevelopment",e[e.EchoDevelopment=2]="EchoDevelopment",e[e.QA=3]="QA",e[e.Prod=4]="Prod"}(yR||(yR={}));class bR{constructor({moduleName:e,analytics:t,logLevelOverride:n}){this._moduleName=e,this._analytics=t,this._logLevelOverride=n,this._logLevel=this.setInitialLogLevel()}set overrideLogLevel(e){globalThis.localStorage.setItem(`${this._moduleName}.logOverride`,String(e))}getLogLevelOverride(){var e;return Number(null!==(e=globalThis.localStorage.getItem(`${this._moduleName}.logOverride`))&&void 0!==e?e:this._logLevel)}track(e){this._analytics.trackEvent(e)}trackError(e){this._analytics.logError(e)}log(e,t){this._logLevel>yR[e]||t()}setInitialLogLevel(){const e=globalThis.location;return"echo.equinor.com"===e.host?yR.Prod:"dt-echopedia-web-qa.azurewebsites.net"===e.host||"dt-echopedia-web-test.azurewebsites.net"===e.host||"dt-echopedia-web-test2.azurewebsites.net"===e.host?yR.QA:"dt-echopedia-web-dev.azurewebsites.net"===e.host?yR.EchoDevelopment:e.host.includes("localhost")||e.host.includes("loca.lt")?yR.LocalDevelopment:yR.Invalid}}const CR="Prepview",IR=localStorage.getItem(`${CR}.logOverride`),ER=new class extends bR{constructor(e){super(Qm(e,[]))}trackEvent(e,t,n){const r=this._analytics.createEventLog(e,t,n);r&&this.track(r)}moduleStarted(){this.trackEvent(vR.Module,"Started",{message:this._moduleName+" has started."})}synergiOpened(e){this.trackEvent(vR.Synergi,"Application opened",e)}openSafeX(e){this.trackEvent(vR.SafeX,"Application opened",e)}}({moduleName:CR,analytics:n.analytics.createAnalyticsModule(CR),logLevelOverride:IR?Number(IR):void 0}),_R=(e,t,n="-")=>{const r=e[t];return r?String(r):n};function AR(e,t){return e.length>t?e.substring(0,t)+"...":e}var wR="DescriptionBlock-module_container__RYhNe",SR="DescriptionBlock-module_header__FY-Mv",kR="DescriptionBlock-module_horizontalHeader__q8DMy DescriptionBlock-module_header__FY-Mv",jR="DescriptionBlock-module_headerText__u7DV1",NR="DescriptionBlock-module_content__cIfFc",TR="DescriptionBlock-module_longTextButton__H5y8C";function PR({itemId:e,itemType:t,shortText:n,longText:r,contentClassName:o}){const{orientation:a,showLongTextClicked:s}=uB(),l=a===i.SideSheetOrientation.Vertical?SR:kR,u=i.classnames(NR,o),m=t===exports.WorkItemType.Operations?"Long text":"Long desc.";return c.jsxs("div",{className:wR,children:[c.jsxs("dt",{className:l,children:[c.jsx("div",{className:jR,children:"Short Description"}),s&&r&&c.jsx(d.EdsProvider,{density:"compact",children:c.jsxs(d.Button,{className:TR,variant:"outlined",onClick:()=>s(e,t,r),children:[c.jsx(d.Icon,{name:"sap_activity_reviewed",color:"var(--equiGreen1)",size:18}),m]})})]}),c.jsx("dd",{className:u,children:n})]})}function OR({items:e}){return 0===e.length?c.jsx(c.Fragment,{children:"-"}):c.jsx(c.Fragment,{children:e.map(((e,t)=>c.jsx("div",{children:e},e+t)))})}Ad(".DescriptionBlock-module_container__RYhNe{padding:.5rem;width:100%}.DescriptionBlock-module_header__FY-Mv{align-items:baseline;display:flex;font-size:.625rem;justify-content:space-between;line-height:1rem;margin-bottom:.1rem}.DescriptionBlock-module_horizontalHeader__q8DMy{width:40%}.DescriptionBlock-module_headerText__u7DV1{font-weight:500;text-transform:uppercase;word-break:break-word}.DescriptionBlock-module_content__cIfFc{margin:0}.DescriptionBlock-module_longTextButton__H5y8C{padding:0 .5rem}");var MR="InfoSection-module_container__xp9xb";function LR({children:e}){return c.jsx("dl",{className:MR,children:e})}Ad(".InfoSection-module_container__xp9xb{display:flex;flex-direction:column;flex-flow:wrap;width:100%}");var BR="ShowMore-module_showMoreBlock__2RqLr";Ad(".ShowMore-module_showMoreBlock__2RqLr{align-items:center;background:none!important;display:flex;justify-content:center;padding:.5rem}");const DR=({isActive:e,onClick:t})=>c.jsx("div",{className:BR,children:c.jsx(d.EdsProvider,{density:"compact",children:c.jsxs(d.Button,{variant:"outlined",onClick:t,children:[e?"Show less":"Show all",c.jsx(d.Icon,{name:e?"chevron_up":"chevron_down",size:16})]})})});var RR="StatusLabel-module_statusContainer__fd-Qn",zR="StatusLabel-module_statusText__E4ljD",FR="StatusLabel-module_completedIndicator__ZahsJ",HR="StatusLabel-module_activeIndicator__s0BiG";function qR({isActive:e,fontLarge:t}){return c.jsxs("div",{className:RR,role:"status",children:[c.jsx("span",{className:e?HR:FR}),c.jsx(d.Typography,{variant:"chart",group:"ui",className:zR,style:t?{fontSize:"1rem"}:void 0,children:e?"Active":"Completed"})]})}function UR(t,n=[]){const[o,i]=r.useState(),[a,s]=r.useState(!1),[l,c]=r.useState();return e.useEffectAsync((e=>Ym(this,void 0,void 0,(function*(){s(!0);try{const n=yield t();e.aborted||i(n)}catch(t){e.aborted||c(t)}finally{e.aborted||s(!1)}}))),n),[o,a,l]}function GR(e,t){const[n,o]=r.useState(!1),[i,a]=r.useState(void 0),[s,l]=r.useState(void 0);function c(e){const n=document.createElement("a");n.download=null!=t?t:"",n.href=e,n.click()}return r.useEffect((()=>()=>{s&&globalThis.URL.revokeObjectURL(s)}),[s]),{isLoading:n,error:i,objectUrl:s,downloadOnClick:function(){return Ym(this,void 0,void 0,(function*(){if(s)c(s);else{o(!0);try{const t=yield e(),n=globalThis.URL.createObjectURL(t);l(n),c(n)}catch(e){a(e)}finally{o(!1)}}}))}}}Ad(".StatusLabel-module_statusContainer__fd-Qn{align-items:center;display:inline-flex;gap:6px}.StatusLabel-module_statusText__E4ljD{font-size:.875rem;line-height:1!important;margin-left:.25rem;overflow:initial!important}.StatusLabel-module_activeIndicator__s0BiG,.StatusLabel-module_completedIndicator__ZahsJ{border-radius:50%;height:.75rem;width:.75rem}.StatusLabel-module_activeIndicator__s0BiG{background-color:#ff9200}.StatusLabel-module_completedIndicator__ZahsJ{background-color:#4bb748}");var WR="DetailsNotification-module_content__-iEqZ",QR="DetailsNotification-module_mobileContent__HgTsI DetailsNotification-module_content__-iEqZ",YR="DetailsNotification-module_infoBlockSpacing__2Ua7D",VR="DetailsNotification-module_markedContent__-wr3k";function ZR({details:t}){const{tagClicked:n}=uB(),r=e.isMobileDevice(),o=i.classnames({[QR]:r,[WR]:!r}),a=i.setUnsafeFailureColor(t.unsafeFailureMode),s=i.setRequiredEndDateColor(t.requiredEndDateStatus),l=i.setFailureImpactColor(t.failureImpact),u=i.setPriorityColor(t.priorityId);return c.jsxs("div",{className:o,children:[t.title&&c.jsx(PR,{itemId:rb(t.id),itemType:exports.WorkItemType.Notifications,shortText:t.title,longText:t.longText}),c.jsxs(LR,{children:[c.jsx(hR,{label:"SAP Status",children:_R(t,"activeStatusIds")}),c.jsx(hR,{label:"Notif. date",children:fR(t.createdDateTime)}),c.jsx(hR,{label:"Tag",children:t.tagId?c.jsx(i.CompactIconLink,{title:t.tagId,meta:t.tagCategory,onClickHandler:()=>n(t.tagId,t.instCode),icon:"tag"}):"-"}),c.jsx(hR,{label:"Unsafe Fail Mode",contentClassName:YR,children:c.jsx(i.MarkedContent,{backgroundColor:a.background,textColor:a.color,className:VR,children:"MADE_SAFE"===t.unsafeFailureMode?"Unsafe made safe":"IN_PAST"===t.unsafeFailureMode?"Unsafe in past":"OUTSTANDING"===t.unsafeFailureMode?"Unsafe":"Unknown"})}),c.jsx(hR,{label:"Planner group ID",children:_R(t,"plannerGroup")}),c.jsx(hR,{label:"Main work center",children:_R(t,"mainWorkCenter")}),c.jsx(hR,{label:"Failure impact",contentClassName:YR,children:t.failureImpact?c.jsx(i.MarkedContent,{backgroundColor:l.background,textColor:l.color,className:VR,children:_R(t,"failureImpact")}):"-"}),c.jsx(hR,{label:"Plant",children:_R(t,"plantId")}),c.jsx(hR,{label:"Req. end date",contentClassName:YR,children:t.requiredEndDateTime?c.jsx(i.MarkedContent,{backgroundColor:s.background,textColor:s.color,className:VR,children:fR(t.requiredEndDateTime)}):"-"}),c.jsx(hR,{label:"Priority",contentClassName:YR,children:c.jsx(i.MarkedContent,{backgroundColor:u.background,textColor:u.color,className:VR,children:"L"===t.priorityId?"Low":"M"===t.priorityId?"Medium":"H"===t.priorityId?"High":"Unknown"})}),c.jsx(hR,{label:"Detect mthd",stretched:!0,children:_R(t,"detectionMethodId")}),c.jsx(hR,{label:"Failure mode",stretched:!0,children:_R(t,"failureMode")}),c.jsx(hR,{label:"Fail mech",stretched:!0,children:_R(t,"failureMechanism")})]})]})}Ad(".DetailsNotification-module_content__-iEqZ{padding:24px}.DetailsNotification-module_content__-iEqZ>dl{margin-top:0}.DetailsNotification-module_mobileContent__HgTsI{height:100%}.DetailsNotification-module_topRow__uDCVs{display:flex}.DetailsNotification-module_verticalTopRow__TTpMH{justify-content:space-between}.DetailsNotification-module_mobileButtonContainer__Yj-FL{align-items:center;display:flex}.DetailsNotification-module_longTextButtonMobile__wi3eL{padding:0 .5rem}.DetailsNotification-module_longTextButtonMobile__wi3eL>span{grid-gap:4px}.DetailsNotification-module_longTextButtonVertical__F98HY>span{grid-gap:4px;min-width:128px}.DetailsNotification-module_longTextButtonStretched__OwrIk{margin-left:80px}.DetailsNotification-module_infoBlockSpacing__2Ua7D{margin-top:4px}.DetailsNotification-module_markedContent__-wr3k{line-height:1.5rem;padding:4px 8px}");const KR={Active:{background:"var(--strongOrange)",color:"#000"},Completed:{background:"var(--strongGreen)",color:"#000"}},JR={background:"var(--echoText)",color:"#FFF"},XR={Expired:{background:"var(--strongDarkRed)",color:"#FFF"},WithinSevenDays:{background:"var(--strongRed)",color:"#FFF"},EightDaysToOneMonth:{background:"var(--strongOrange)",color:"#000"},OneToThreeMonths:{background:"var(--weakOrange)",color:"#000"},ThreeToSixMonths:{background:"var(--weakMediumGreen)",color:"#000"},SixToTwelveMonths:{background:"var(--strongGreen)",color:"#000"},InMoreThanOneYear:{background:"var(--strongDarkGreen)",color:"#FFF"},Unknown:{background:"var(--strongGray)",color:"#000"},Completed:{background:"var(--weakGrey)",color:"#000"}},$R={STRT:{background:"var(--random1)",color:"#000"},PRCO:{background:"var(--random2)",color:"#000"},RDEX:{background:"var(--strongOrange)",color:"#000"},PREP:{background:"var(--random4)",color:"#000"},RDOP:{background:"var(--strongDarkRed)",color:"#fff"},Other:{background:"var(--weakGrey)",color:"#000"}},ez={Expired:{background:"var(--strongDarkRed)",color:"#fff"},WithinSevenDays:{background:"var(--strongRed)",color:"#fff"},EightDaysToOneMonth:{background:"var(--strongOrange)",color:"#000"},OneToThreeMonths:{background:"var(--weakOrange)",color:"#000"},ThreeToSixMonths:{background:"var(--weakMediumGreen)",color:"#000"},SixToTwelveMonths:{background:"var(--strongGreen)",color:"#000"},InMoreThanOneYear:{background:"var(--strongDarkGreen)",color:"#fff"},Completed:{background:"var(--weakGrey)",color:"#000"},Unknown:{background:"var(--strongGray)",color:"#000"}},tz={D:{background:"var(--strongDarkRed)",color:"#FFF"},S:{background:"var(--strongRed)",color:"#FFF"},U:{background:"var(--strongOrange)",color:"#000"},X:{background:"var(--strongGreen)",color:"#000"},"":{background:"var(--weakGrey)",color:"#000"}};var nz,rz,oz;function iz(e,t,n,r){let o;switch(e){case nz.FailureImpact:o=r?tz[function(e){return e.includes("No Failure")?"X":e.includes("Seriously")?"S":e.includes("Dead")?"D":e.includes("Unwell")?"U":""}(r)]:tz[""];break;case nz.RequiredEndDateStatus:o=n?XR[n]:XR.Unknown;break;case nz.Count:o=JR;break;case nz.Status:default:o=t?KR.Active:KR.Completed}return o}function az(e,t,n,r,o){if(!e)return;let i;switch(e){case rz.Status:i=t?KR.Active:KR.Completed;break;case rz.RequiredEndDateStatus:i=n?XR[n]:XR.Unknown;break;case rz.WorkOrderCount:i=JR;break;case rz.BasicFinishDateStatus:i=r?ez[r]:ez.Unknown;break;case rz.UserStatus:i=o?$R[o]:$R.Other}return i}!function(e){e.Status="Status",e.FailureImpact="FailureImpact",e.RequiredEndDateStatus="RequiredEndDateStatus",e.Count="Count"}(nz||(nz={})),function(e){e.Status="Status",e.RequiredEndDateStatus="RequiredEndDateStatus",e.WorkOrderCount="Count",e.Operations="Operations",e.UserStatus="UserStatus",e.BasicFinishDateStatus="BasicFinishDateStatus"}(rz||(rz={})),function(e){e.EquipmentGroup="EquipmentGroup",e.Count="Count"}(oz||(oz={}));var sz="NotificationHeader-module_verticalContainer__tU2dj",lz="NotificationHeader-module_container__C05Hq",cz="NotificationHeader-module_notificationHeaderNav__yChLG",uz="NotificationHeader-module_divider__FPzNs";function dz(e,t){const n=e;return t&&(n.hasAttachment=t.hasAttachment,n.hasB30Document=t.hasB30Document,n.hasActivityLongText=t.hasActivityLongText),n}function mz({notificationDetails:t,headerAction:n}){const{orientation:r,currentNotificationLegendOption:o}=uB(),a=e.isMobileDevice(),s=r===i.SideSheetOrientation.Vertical||a,[l]=UR((()=>Ym(this,void 0,void 0,(function*(){return MB(t.id)}))),[t.id]),u=iz(o,t.isActive,t.requiredEndDateStatus,t.failureImpact),m=`https://notifications.equinor.com/notification-view/${t.type}/${rb(t.id)}`,p=`https://p03web.statoil.no/sap/bc/gui/sap/its/webgui?sap-client=505&sap-language=EN&~transaction=*iw23%20RIWO00-QMNUM=\n ${t.id}#`,h=t.title?`https://safex.equinor.com/search?keyword=${t.title}`:"https://safex.equinor.com",f=`https://opt.equinor.com/platform/${t.plantId}/wo/plan`,g=i.classnames({[sz]:s,[lz]:!s});return c.jsxs("div",{className:g,children:[c.jsx(i.NotificationListItem,{notification:dz(t,l),isHeader:!0,itemAction:n,colorMap:u}),c.jsxs("nav",{className:cz,children:[c.jsx(i.BlackLink,{href:h,linkText:"SafeX",tooltipText:"Go to SafeX"}),c.jsx(i.BlackLink,{href:f,linkText:"OPT",tooltipText:"Go to OPT"}),c.jsx(i.BlackLink,{href:m,linkText:"NO app",tooltipText:"Go to NO application"}),c.jsx(i.BlackLink,{href:p,linkText:"SAP",tooltipText:"Go to SAP"})]}),c.jsx(d.Divider,{className:uz})]})}Ad(".NotificationHeader-module_verticalContainer__tU2dj>div{border-bottom:0}.NotificationHeader-module_container__C05Hq{padding-top:16px}.NotificationHeader-module_container__C05Hq>div{border-bottom:0}.NotificationHeader-module_notificationHeaderNav__yChLG{display:flex;flex-direction:row;gap:.5rem;justify-content:flex-end;margin:0 1.5rem}.NotificationHeader-module_divider__FPzNs{background-color:var(--dividerColor);margin-bottom:0;margin-top:4px!important}");const pz=n.analytics.createAnalyticsModule("ep");function hz(e){n.handleErrors(e,pz)}function fz(e){if(!e)return!1;return!!e.match(/.(jpg|jpeg|png)$/i)}var gz="spinner-module_container__Z5jLY",vz="spinner-module_spinner__MucxX",yz="spinner-module_label__PgrJv";Ad(".spinner-module_container__Z5jLY{display:inline;position:relative}.spinner-module_spinner__MucxX{font-size:1em;margin:auto 0;min-height:2.1rem;padding:2rem 0;text-align:center}.spinner-module_label__PgrJv{color:var(--echoText);font-family:var(--eq-echo-font-family);font-size:1.5em;margin-top:.5rem;text-align:center}.spinner-module_verticalAlignMiddle__uLIuI{vertical-align:middle!important}");const xz=({label:e,className:t,size:n})=>c.jsxs("div",{className:gz,children:[c.jsx("div",{className:`${t} ${vz}`,children:c.jsx(d.Progress.Circular,{size:n})}),e&&c.jsx("p",{className:yz,children:e})]});var bz="Attachments-module_notFoundPanel__ZpNH7",Cz="Attachments-module_content__gB-pG",Iz="Attachments-module_flex__-JRov",Ez="Attachments-module_spaceLeft__dUeqf",_z="Attachments-module_listItem__ia4L8",Az="Attachments-module_table__rThZw",wz="Attachments-module_pointer__KgeoQ",Sz="Attachments-module_itemAction__oowsD",kz="Attachments-module_fileLoadingSpinner__Fudhy";function jz({recordType:e,recordId:t,attachment:n}){var o,a;const{isWorkOrder:s}=uB(),[l,u]=r.useState(!1),{isLoading:p,error:h,downloadOnClick:f}=GR((()=>RB(e,t,n,s)),n.fileName),g=gR(n.fileName),v=n.fileName&&fz(n.fileName),[y,x]=r.useState(null),[b,C]=r.useState(!1);return c.jsxs(c.Fragment,{children:[c.jsx(i.ListItem,{className:_z,primary:n.fileName&&c.jsx("div",{children:AR(n.fileName,25)}),secondary:c.jsxs("div",{className:Iz,children:[c.jsx("div",{children:aR(Number(n.fileSize))}),c.jsx("div",{className:Ez,children:null!==(a=null===(o=fR(n.createdDateTime))||void 0===o?void 0:o.split(" ")[0])&&void 0!==a?a:"-"}),g&&c.jsx("div",{className:Ez,children:g})]}),itemAction:c.jsxs("div",{className:Sz,children:[v&&(b?c.jsx(xz,{className:kz,size:16}):c.jsx(d.Button,{variant:"outlined",onClick:()=>Ym(this,void 0,void 0,(function*(){C(!0);try{const r=yield RB(e,t,n,s),o=URL.createObjectURL(r);x(o),u(!0)}catch(e){throw hz(e),e}finally{C(!1)}})),style:{marginRight:"var(--xSmall)"},children:"View file"})),c.jsx(d.Button,{variant:"ghost_icon",onClick:f,children:h?c.jsx(d.Icon,{size:24,name:"error_outlined"}):p?c.jsx(d.CircularProgress,{size:24}):c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"download"})})]})}),y&&m.createPortal(c.jsx(i.MediaViewer,{title:n.fileName,showPrevIcon:!1,showNextIcon:!1,onClose:()=>{u(!1)},open:!!l,children:c.jsx("img",{src:y,alt:"Attachment"})}),Jp.domSelector,Jp.portalId)]})}function Nz({recordType:e,recordId:t,attachments:n}){return c.jsxs(d.Table,{className:Az,children:[c.jsx(d.Table.Head,{sticky:!0,children:c.jsxs(d.Table.Row,{children:[c.jsx(d.Table.Cell,{children:"Document name"}),c.jsx(d.Table.Cell,{children:"Size"}),c.jsx(d.Table.Cell,{children:"Uploaded"}),c.jsx(d.Table.Cell,{children:"Doc type"}),c.jsx(d.Table.Cell,{children:"Download"})]})}),c.jsx(d.Table.Body,{children:null==n?void 0:n.map((n=>c.jsx(Tz,{recordType:e,recordId:t,attachment:n},n.id)))})]})}function Tz({recordType:e,recordId:t,attachment:n}){var r,o;const{isWorkOrder:a}=uB(),{isLoading:s,error:l,downloadOnClick:u}=GR((()=>RB(e,t,n,a)),n.fileName),m=gR(n.fileName);return c.jsxs(d.Table.Row,{onClick:u,className:wz,children:[c.jsx(d.Table.Cell,{children:_R(n,"fileName")}),c.jsx(d.Table.Cell,{children:aR(Number(n.fileSize))}),c.jsx(d.Table.Cell,{children:null!==(o=null===(r=fR(n.createdDateTime))||void 0===r?void 0:r.split(" ")[0])&&void 0!==o?o:"-"}),c.jsx(d.Table.Cell,{children:m&&c.jsx("div",{className:Ez,children:m})}),c.jsx(d.Table.Cell,{children:l?c.jsx(d.Icon,{size:24,name:"error_outlined"}):s?c.jsx(d.CircularProgress,{size:24}):c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"download"})})]})}function Pz({recordId:t,recordType:n,isWorkOrder:r}){const{orientation:o}=uB(),a=e.isMobileDevice(),s=o===i.SideSheetOrientation.Vertical||a,[l,u,d]=UR((()=>Ym(this,void 0,void 0,(function*(){return DB(t,r)}))),[t]);return d instanceof Error?c.jsx(XB,{error:d,workOrderId:r?t:void 0,notificationId:r?void 0:t}):u?c.jsx(VB,{}):l&&l.length>0?c.jsx("div",{className:Cz,children:s?l.map((e=>c.jsx(jz,{recordType:n,recordId:t,attachment:e},e.id))):c.jsx(Nz,{recordType:n,recordId:t,attachments:l})}):c.jsx("div",{className:bz,children:c.jsx(ZB,{text:"No attachments found."})})}Ad(".Attachments-module_container__ciN2D{align-items:center;border-bottom:1px solid var(--default);border-top:1px solid var(--default);display:grid;gap:1rem;grid-template-columns:1fr auto;padding:14px}.Attachments-module_title__toBVk{color:initial;font-size:1rem;pointer-events:none;text-decoration-line:unset}.Attachments-module_link__tuD2O{color:var(--asBuilt);pointer-events:auto;text-decoration-line:underline}.Attachments-module_notFoundPanel__ZpNH7{padding:24px}.Attachments-module_content__gB-pG{padding-top:20px}.Attachments-module_flex__-JRov{display:flex;font-size:12px}.Attachments-module_spaceLeft__dUeqf{margin-left:24px}.Attachments-module_listItem__ia4L8{padding:16px!important}.Attachments-module_listItem__ia4L8>div{gap:.5rem}.Attachments-module_table__rThZw{padding-left:20px;width:100%}.Attachments-module_pointer__KgeoQ{cursor:pointer}.Attachments-module_itemAction__oowsD{align-items:center;display:flex}.Attachments-module_fileLoadingSpinner__Fudhy{align-items:center;display:flex;font-size:1.25em;height:36px;padding:0 var(--medium) 0 0}");var Oz="Operations-module_notFoundPanel__PuZSF",Mz="Operations-module_content__Yd1m1",Lz="Operations-module_table__ZItO0",Bz="Operations-module_panel__N0Ayf",Dz="Operations-module_header__MbvTk";function Rz({operation:e}){var t,n;const{workOrderOperationId:r}=uB(),o=e.activeStatusIds.includes("TECO")||e.activeStatusIds.includes("CANC");return c.jsxs(d.Accordion.Item,{isExpanded:r===e.operationNumber,children:[c.jsx(d.Accordion.Header,{className:Dz,children:c.jsxs(d.Accordion.HeaderTitle,{children:[e.operationNumber," - ",e.title]})}),c.jsx(d.Accordion.Panel,{className:Bz,children:c.jsxs(LR,{children:[e.title&&c.jsx(PR,{itemId:e.operationNumber,itemType:exports.WorkItemType.Operations,shortText:e.title,longText:e.longText}),c.jsx(hR,{label:"Work center",children:_R(e,"workCenterId")}),c.jsx(hR,{label:"Plant",children:_R(e,"plantName")}),c.jsx(hR,{label:"System status",children:_R(e,"activeStatusIds")}),c.jsx(hR,{label:"Status",children:c.jsx(qR,{fontLarge:!0,isActive:!o})}),c.jsx(hR,{label:"Early start",children:null!==(t=fR(e.earliestStartDateTime))&&void 0!==t?t:"-"}),c.jsx(hR,{label:"Early finish",children:null!==(n=fR(e.earliestFinishDateTime))&&void 0!==n?n:"-"}),c.jsx(hR,{label:"Duration",children:_R(e,"plannedDuration")}),c.jsx(hR,{label:"Planned hrs",children:_R(e,"plannedWorkHours")}),c.jsx(hR,{label:"Actual hrs",children:_R(e,"actualWorkHours")}),c.jsx(hR,{label:"Progress",children:`${e.actualPercentageComplete} %`}),c.jsx(hR,{label:"Execut. fact.",children:e.capacityCount})]})})]})}function zz({operations:e}){return c.jsxs(d.Table,{className:Lz,children:[c.jsx(d.Table.Head,{sticky:!0,children:c.jsxs(d.Table.Row,{children:[c.jsx(d.Table.Cell,{children:"Activity"}),c.jsx(d.Table.Cell,{children:"Operation short text"}),c.jsx(d.Table.Cell,{}),c.jsx(d.Table.Cell,{children:"Work center"}),c.jsx(d.Table.Cell,{children:"Plant"}),c.jsx(d.Table.Cell,{children:"Sys. status"}),c.jsx(d.Table.Cell,{children:"Status"}),c.jsx(d.Table.Cell,{children:"Early start"}),c.jsx(d.Table.Cell,{children:"Early finish"}),c.jsx(d.Table.Cell,{children:"Duration"}),c.jsx(d.Table.Cell,{children:"Planned hrs"}),c.jsx(d.Table.Cell,{children:"Actual hrs"}),c.jsx(d.Table.Cell,{children:"Progress"}),c.jsx(d.Table.Cell,{children:"Execut. fact"})]})}),c.jsx(d.Table.Body,{children:null==e?void 0:e.map(((e,t)=>c.jsx(Fz,{operation:e},e.operationNumber+t)))})]})}function Fz({operation:e}){var t,n;const{showLongTextClicked:r}=uB(),o=e.activeStatusIds.includes("TECO")||e.activeStatusIds.includes("CANC");return c.jsxs(d.Table.Row,{children:[c.jsx(d.Table.Cell,{children:_R(e,"operationNumber")}),c.jsx(d.Table.Cell,{children:_R(e,"title")}),c.jsx(d.Table.Cell,{children:e.longText&&r&&c.jsx(d.Tooltip,{placement:"bottom-start",title:"Long text",children:c.jsx(d.Button,{variant:"ghost",onClick:()=>r(e.operationNumber,exports.WorkItemType.Operations,e.longText),children:c.jsx(d.Icon,{name:"sap_activity_reviewed",color:"var(--equiGreen1)",size:24})})})}),c.jsx(d.Table.Cell,{children:_R(e,"workCenterId")}),c.jsx(d.Table.Cell,{children:_R(e,"plantName")}),c.jsx(d.Table.Cell,{children:_R(e,"activeStatusIds")}),c.jsx(d.Table.Cell,{children:c.jsx(qR,{isActive:!o})}),c.jsx(d.Table.Cell,{children:null!==(t=fR(e.earliestStartDateTime))&&void 0!==t?t:"-"}),c.jsx(d.Table.Cell,{children:null!==(n=fR(e.earliestFinishDateTime))&&void 0!==n?n:"-"}),c.jsx(d.Table.Cell,{children:_R(e,"plannedDuration")}),c.jsx(d.Table.Cell,{children:_R(e,"plannedWorkHours")}),c.jsx(d.Table.Cell,{children:_R(e,"actualWorkHours")}),c.jsx(d.Table.Cell,{children:`${e.actualPercentageComplete} %`}),c.jsx(d.Table.Cell,{children:_R(e,"capacityCount")})]})}function Hz({workOrderId:t}){const{orientation:n}=uB(),r=e.isMobileDevice(),o=n===i.SideSheetOrientation.Vertical||r,[a,s,l]=UR((()=>Ym(this,void 0,void 0,(function*(){return UB(t)}))),[t]);return l instanceof Error?c.jsx(XB,{error:l,workOrderId:t}):s?c.jsx(VB,{}):a&&a.length>0?c.jsx("div",{className:Mz,children:o?c.jsx(WB,{children:a.map((e=>c.jsx(Rz,{operation:e},`${e.operationNumber}-${e.workCenterId}`)))}):c.jsx(zz,{operations:a})}):c.jsx("div",{className:Oz,children:c.jsx(ZB,{text:"No operations found."})})}Ad(".Operations-module_notFoundPanel__PuZSF{padding:24px}.Operations-module_content__Yd1m1{padding-bottom:20px}.Operations-module_table__ZItO0{padding-left:20px;width:100%}.Operations-module_panel__N0Ayf{background:var(--searchBarBackground)!important}.Operations-module_panel__N0Ayf>dl{margin-top:0}.Operations-module_header__MbvTk{color:var(--echoText)}.Operations-module_header__MbvTk button[aria-expanded=true] span{color:var(--echoText);font-weight:700}.Operations-module_header__MbvTk>button>svg{fill:var(--tertiaryText)}.Operations-module_longTextButtonContainer__2AX4m{display:flex;justify-content:end}");var qz="VerticalTabsSplitView-module_activeGroup__3Ux-z",Uz="VerticalTabsSplitView-module_description__lt-DL",Gz="VerticalTabsSplitView-module_section__-Dlsv",Wz="VerticalTabsSplitView-module_notFoundPanel__GXzef",Qz="VerticalTabsSplitView-module_splitViewLeft__eEUlo",Yz="VerticalTabsSplitView-module_emptyTab__cDja-";function Vz({groups:e,listItemStyle:t,infoLabelText:n,actionRow:o}){const[a,s]=r.useState({});return r.useEffect((()=>{if(e.length>0){const t=e.flatMap((e=>e.items)).find((e=>e.amountOfItems>0));if(t)s(t);else{const t=e.flatMap((e=>e.items))[0];t&&s(t)}}}),[e]),c.jsxs(i.SplitView,{children:[c.jsx(i.SplitView.Left,{className:Qz,isMinimizable:!1,children:c.jsxs(c.Fragment,{children:[n&&c.jsx(tL,{text:n}),o&&o,e.map(((e,n)=>c.jsxs("div",{children:[e.title&&c.jsx("div",{className:Uz,children:e.title}),e.items.length>0?c.jsx("div",{className:Gz,children:e.items.map((e=>0===e.amountOfItems?c.jsx("div",{className:Yz,children:e.noItemsInTabsTitle?e.noItemsInTabsTitle:`No ${e.title.toLowerCase()} found`},e.id):c.jsx("div",{className:e.id===a.id?qz:void 0,children:c.jsx(i.ListItem,{style:t,primary:c.jsx("div",{children:`${e.title} (${e.amountOfItems})`}),itemAction:c.jsx(d.Icon,{name:"chevron_right"}),onCardClick:()=>s(e)})},e.id)))}):c.jsx("div",{className:Wz,children:c.jsx(d.Typography,{variant:"h6",children:e.noItemsInGroupTitle?e.noItemsInGroupTitle:e.title?`No ${e.title.toLowerCase()} found`:"No items found"})})]},`group-${n}`)))]})}),c.jsx(i.SplitView.Right,{children:c.jsx(c.Fragment,{children:a.content})})]})}Ad(".VerticalTabsSplitView-module_leftPanel__Ge2WS{border-right:1px solid var(--default)}.VerticalTabsSplitView-module_activeGroup__3Ux-z{font-weight:700}.VerticalTabsSplitView-module_description__lt-DL{font-size:.6rem;font-weight:500;margin-left:15px;margin-top:16px;text-overflow:ellipsis}.VerticalTabsSplitView-module_section__-Dlsv{margin:16px 0}.VerticalTabsSplitView-module_notFoundPanel__GXzef{padding:16px 24px}.VerticalTabsSplitView-module_splitViewLeft__eEUlo{display:flex;flex-direction:column;width:350px!important}.VerticalTabsSplitView-module_emptyTab__cDja-{font-weight:500;padding:1rem}");var Zz="TagDocuments-module_notFoundPanel__LpLtZ",Kz="TagDocuments-module_revision__RHdi4",Jz="TagDocuments-module_of3Revision__oD7wg TagDocuments-module_revision__RHdi4",Xz="TagDocuments-module_panel__XyzBf",$z="TagDocuments-module_panelContent__8mPOc",eF="TagDocuments-module_content__KcpgY",tF="TagDocuments-module_primary__-zjEy",nF="TagDocuments-module_secondary__q3u1w",rF="TagDocuments-module_tertiary__URg3n",oF="TagDocuments-module_tertiaryRight__iqa-u",iF="TagDocuments-module_header__aCj4g";function aF({document:e,tagNo:t}){var r;const{instCode:o}=uB(),a=`${e.revStatus.toUpperCase()}: ${e.revNo}`;return c.jsx(i.ListItem,{onCardClick:()=>(()=>{const r={instCode:o||"",search:t,tagNo:t,docNo:e.docNo,fileId:e.files[0]?e.files[0].id.toString():"",revNo:e.revNo?e.revNo:""},i=n.EchoEnv.env().REACT_APP_WEB_URL;if(i){const e=i+kB("/viewer",r);window.open(e,"_blank")}else console.error("Could not find the environment variable REACT_APP_WEB_URL")})(),style:{padding:"10px 20px"},primary:c.jsx("div",{className:tF,children:e.docNo}),secondary:e.docTitle&&c.jsx("div",{className:nF,children:AR(e.docTitle,40)}),tertiary:c.jsxs("div",{className:rF,children:[c.jsx("div",{className:"OF: 03"===a||"OF: 3"===a?Jz:Kz,children:a}),c.jsx("span",{className:oF,children:null!==(r=fR(e.revDate))&&void 0!==r?r:"-"}),c.jsx(iR,{className:oF,files:e.files})]}),itemAction:c.jsx(d.Tooltip,{placement:"top",title:"Open document",children:c.jsx(d.Icon,{name:"external_link",color:"var(--tertiaryText)"})})})}Ad(".TagDocuments-module_notFoundPanel__LpLtZ{padding:24px}.TagDocuments-module_container__WX1Rt{border-bottom:1px solid var(--default);display:flex;flex-direction:column;gap:6px;padding:16px}.TagDocuments-module_link__h-2Tm{color:var(--asBuilt)}.TagDocuments-module_meta__STgGG{align-items:center;display:grid;font-size:12px;gap:1rem;grid-template-columns:auto auto auto;justify-items:start}.TagDocuments-module_revision__RHdi4{background-color:var(--lowSeverity);padding:0 8px}.TagDocuments-module_of3Revision__oD7wg{background-color:var(--mediumSeverity)}.TagDocuments-module_tertiarySpace__NizCk{margin-left:20px}.TagDocuments-module_panel__XyzBf{background:var(--searchBarBackground)!important;overflow-y:auto;padding:0!important}.TagDocuments-module_panelContent__8mPOc{background:#fff;margin:16px;min-width:350px}.TagDocuments-module_content__KcpgY{padding-bottom:20px}.TagDocuments-module_primary__-zjEy{font-size:var(--medium)}.TagDocuments-module_secondary__q3u1w{font-size:14px}.TagDocuments-module_tertiary__URg3n{align-items:center;display:flex;font-size:12px}.TagDocuments-module_tertiaryRight__iqa-u{margin-left:10px}.TagDocuments-module_header__aCj4g{color:var(--echoText)}.TagDocuments-module_header__aCj4g button[aria-expanded=true] span{color:var(--echoText);font-weight:700}.TagDocuments-module_header__aCj4g>button>svg{fill:var(--tertiaryText)}");const sF=(e,t)=>c.jsx("div",{className:Xz,children:c.jsx("div",{className:$z,children:e.map((e=>c.jsx(aF,{document:e,tagNo:t},`${e.docNo}:${e.revNo}`)))})});function lF({documentGroups:e,tagNo:t}){const[n,o]=r.useState([]);return r.useEffect((()=>{if(e&&e.length>0){const n=[];if(e.forEach(((e,r)=>{const o={id:r.toString(),title:e.type,amountOfItems:e.documents.length,content:sF(e.documents,t)};n.push(o)})),n.length>0){const e={items:n},t=[];t.push(e),o(t)}}}),[e,t]),c.jsx(Vz,{listItemStyle:{minHeight:"47px"},groups:n,infoLabelText:"STID documents related to the tag."})}function cF({docType:e,documents:t,tagNo:n}){return c.jsxs(d.Accordion.Item,{children:[c.jsxs(d.Accordion.Header,{className:iF,children:[e," ",c.jsxs("span",{children:["(",t.length,")"]})]}),c.jsx(d.Accordion.Panel,{className:Xz,children:c.jsx("div",{className:$z,children:t.map((e=>c.jsx(aF,{document:e,tagNo:n},`${e.docNo}:${e.revNo}`)))})})]})}function uF({itemId:t,tagNo:n,isWorkOrder:r}){const{orientation:o}=uB(),a=e.isMobileDevice(),s=o===i.SideSheetOrientation.Vertical||a,[l,u,d]=UR((()=>Ym(this,void 0,void 0,(function*(){return FB(t,r)}))),[t]);return d instanceof Error?c.jsx(XB,{error:d,workOrderId:r?t:void 0,notificationId:r?void 0:t}):u?c.jsx(VB,{}):l&&0!==l.length?s?c.jsxs(c.Fragment,{children:[c.jsx(tL,{text:"STID documents related to the tag."}),c.jsx("div",{className:eF,children:c.jsx(WB,{children:l.map(((e,t)=>c.jsx(cF,{docType:e.type,documents:e.documents,tagNo:n},e.type+t)))})})]}):c.jsx(lF,{documentGroups:l,tagNo:n}):c.jsx("div",{className:Zz,children:c.jsx(ZB,{text:"No documents found."})})}var dF="TagInformation-module_content__4rYcP";function mF({itemId:e,isWorkOrder:t}){var n;const[r,o,i]=UR((()=>Ym(this,void 0,void 0,(function*(){return BB(e,t)}))),[e]);return i instanceof Error?c.jsx(XB,{error:i,workOrderId:t?e:void 0,notificationId:t?void 0:e}):o?c.jsx(VB,{}):c.jsx("div",{className:dF,children:r?c.jsxs(LR,{children:[c.jsx(hR,{label:"Functional location",children:_R(r,"functionalLocation")}),c.jsx(hR,{label:"Location",children:_R(r,"location")}),c.jsx(hR,{label:"Area",children:_R(r,"area")}),c.jsx(hR,{label:"Over all criticality",children:_R(r,"overallCriticality")}),c.jsx(hR,{label:"Abc indicator",children:_R(r,"abcIndicator")}),c.jsx(hR,{label:"Redundancy",children:_R(r,"redundancy")}),c.jsx(hR,{label:"Functional fail consequence - hse",children:_R(r,"consequenceHse")}),c.jsx(hR,{label:"Functional fail consequence - prod",children:_R(r,"consequenceProd")}),c.jsx(hR,{label:"Functional fail consequence - cost",children:_R(r,"consequenceCost")}),c.jsx(hR,{label:"Containment fail consequence",children:_R(r,"consequenceFail")}),c.jsx(hR,{label:"Repair strategy",children:_R(r,"repairStrategy")}),c.jsx(hR,{label:"Critical sparepart demand time",children:_R(r,"criticalSparePartDemandTime")}),c.jsx(hR,{label:"Unsafe failure",children:c.jsx(OR,{items:null!==(n=r.unsafeFailure)&&void 0!==n?n:[]})})]}):c.jsx(ZB,{text:"No information found."})})}Ad(".TagInformation-module_content__4rYcP{padding:24px}");var pF={notFoundPanel:"Objects-module_notFoundPanel__uWQ0l",content:"Objects-module_content__rnhVG",table:"Objects-module_table__73Sl8",panel:"Objects-module_panel__PH8iJ",header:"Objects-module_header__pQpb0",spinner:"Objects-module_spinner__M-xvE",spinnerVertical:"Objects-module_spinnerVertical__L5g1k Objects-module_spinner__M-xvE",listItemContainer:"Objects-module_listItemContainer__TumoT",notificationItem:"Objects-module_notificationItem__tnCRf",visualActive:"Objects-module_visualActive__RVtLN Objects-module_visual__WTPd-",visualCompleted:"Objects-module_visualCompleted__mr4fK Objects-module_visual__WTPd-"};function hF({objects:e}){return c.jsxs(d.Table,{className:pF.table,children:[c.jsx(d.Table.Head,{sticky:!0,children:c.jsxs(d.Table.Row,{children:[c.jsx(d.Table.Cell,{children:"Functional location"}),c.jsx(d.Table.Cell,{children:"Functional location description"}),c.jsx(d.Table.Cell,{children:"Notification"}),c.jsx(d.Table.Cell,{children:"Description"}),c.jsx(d.Table.Cell,{children:"Equipment"})]})}),c.jsx(d.Table.Body,{children:null==e?void 0:e.map((e=>c.jsx(fF,{objectDto:e},e.functionalLocationId)))})]})}function fF({objectDto:e}){const{objectNotificationClicked:t}=uB(),[n,o]=r.useState(void 0),[a,s,l]=UR((()=>Ym(this,void 0,void 0,(function*(){if(n)return OB(n)}))),[n]);r.useEffect((()=>{a&&t&&t(a)}),[a,t]);const u=e.notificationId&&e.notificationTypeId&&void 0!==e.notificationIsActive,m=e.notificationIsActive?pF.visualActive:pF.visualCompleted;return c.jsxs(d.Table.Row,{children:[c.jsx(d.Table.Cell,{children:_R(e,"functionalLocationId")}),c.jsx(d.Table.Cell,{children:_R(e,"tag")}),c.jsx(d.Table.Cell,{children:l?c.jsx("div",{className:pF.fetchError,children:"Could not open notification"}):s?c.jsx(xz,{className:pF.spinner,size:24}):u?c.jsx("div",{className:pF.listItemContainer,children:c.jsx(i.ListItem,{className:pF.notificationItem,primary:e.notificationId,secondary:e.notificationIsActive?"Active":"Completed",visual:e.notificationTypeId&&c.jsx("div",{className:m,children:c.jsx(d.Icon,{name:i.setNotificationIconName(e.notificationTypeId),size:24})}),onCardClick:t&&e.notificationId?()=>o(e.notificationId):void 0})}):_R(e,"notificationId")}),c.jsx(d.Table.Cell,{children:_R(e,"notificationDescription")}),c.jsx(d.Table.Cell,{children:_R(e,"equipmentId")})]})}function gF({objectDto:e}){const{objectNotificationClicked:t}=uB(),[n,o]=r.useState(void 0),[a,s,l]=UR((()=>Ym(this,void 0,void 0,(function*(){if(n)return OB(n)}))),[n]);r.useEffect((()=>{a&&t&&t(a)}),[a,t]);const u=e.notificationId&&e.notificationTypeId&&void 0!==e.notificationIsActive,m=e.notificationIsActive?pF.visualActive:pF.visualCompleted;return c.jsxs(d.Accordion.Item,{children:[c.jsx(d.Accordion.Header,{className:pF.header,children:c.jsxs(d.Accordion.HeaderTitle,{children:[e.tagPlantId,"-",e.tagId," - ",e.tag]})}),c.jsx(d.Accordion.Panel,{className:pF.panel,children:c.jsxs(LR,{children:[c.jsx(hR,{label:"Notification",children:l?c.jsx("div",{className:pF.fetchError,children:"Could not open notification"}):s?c.jsx(xz,{className:pF.spinnerVertical,size:24}):u?c.jsx("div",{className:pF.listItemContainer,children:c.jsx(i.ListItem,{className:pF.notificationItem,primary:e.notificationId,secondary:e.notificationIsActive?"Active":"Completed",visual:void 0!==e.notificationTypeId&&c.jsx("div",{className:m,children:c.jsx(d.Icon,{name:i.setNotificationIconName(e.notificationTypeId),size:24})}),onCardClick:o?()=>o(e.notificationId):void 0})}):_R(e,"notificationId")}),c.jsx(hR,{label:"Equipment",children:_R(e,"equipmentId")}),c.jsx(hR,{label:"Description",children:_R(e,"equipment")})]})})]})}function vF({workOrderId:t}){const{orientation:n}=uB(),r=e.isMobileDevice(),o=n===i.SideSheetOrientation.Vertical||r,[a,s,l]=UR((()=>Ym(this,void 0,void 0,(function*(){return GB(t)}))),[t]);return l instanceof Error?c.jsx(XB,{error:l,workOrderId:t}):s?c.jsx(VB,{}):a&&a.length>0?c.jsx("div",{className:pF.content,children:o?c.jsx(WB,{children:a.map((e=>c.jsx(gF,{objectDto:e},e.functionalLocationId)))}):c.jsx(hF,{objects:a})}):c.jsx("div",{className:pF.notFoundPanel,children:c.jsx(ZB,{text:"No objects found."})})}Ad(".Objects-module_notFoundPanel__uWQ0l{padding:24px}.Objects-module_content__rnhVG{padding-bottom:20px}.Objects-module_table__73Sl8{padding-left:20px;width:100%}.Objects-module_panel__PH8iJ{background:var(--searchBarBackground)!important}.Objects-module_header__pQpb0{color:var(--echoText)}.Objects-module_header__pQpb0 button[aria-expanded=true] span{color:var(--echoText);font-weight:700}.Objects-module_header__pQpb0>button>svg{fill:var(--tertiaryText)}.Objects-module_spinner__M-xvE{padding:.5rem 0}.Objects-module_spinnerVertical__L5g1k{text-align:left}.Objects-module_listItemContainer__TumoT{>div{border-bottom:0}}.Objects-module_notificationItem__tnCRf{border-bottom:0;gap:0;padding:0}.Objects-module_notificationItem__tnCRf>div:first-of-type{margin-left:0}.Objects-module_notificationItem__tnCRf>div>h6{font-size:.875rem}.Objects-module_notificationItem__tnCRf>div>p{font-size:.75rem}.Objects-module_notificationItem__tnCRf:hover{background-color:var(--equiGray3)}.Objects-module_visual__WTPd-{align-items:center;border-radius:50%;display:flex;flex-direction:column;justify-content:center;padding:.5rem}.Objects-module_visualActive__RVtLN{background-color:var(--outOfService)!important}.Objects-module_visualCompleted__mr4fK{background-color:var(--done)!important}");var yF={trafficLight:"TrafficLight-module_trafficLight__29Dvq",defaultSeverity:"TrafficLight-module_defaultSeverity__qEvFS",severity1:"TrafficLight-module_severity1__jXWiO",severity2:"TrafficLight-module_severity2__wW0ya TrafficLight-module_severity1__jXWiO",severity3:"TrafficLight-module_severity3__6LZPo",severity4:"TrafficLight-module_severity4__O4j-F",severity5:"TrafficLight-module_severity5__Yqt-- TrafficLight-module_severity4__O4j-F"};function xF({severity:e,children:t}){const n=function(e){switch(e){case 1:case 2:case 3:case 4:case 5:return yF["severity"+e];default:return yF.defaultSeverity}}(e);return c.jsx("div",{className:yF.trafficLight+" "+n,children:t})}Ad(".TrafficLight-module_trafficLight__29Dvq{align-items:center;border-radius:50%;color:#fff;display:flex;font-size:12px;height:22px;justify-content:center;margin:6px;width:22px}.TrafficLight-module_defaultSeverity__qEvFS{background-color:var(--equiGray1)}.TrafficLight-module_severity1__jXWiO{background-color:var(--highSeverityText)}.TrafficLight-module_severity3__6LZPo{background-color:var(--warningIcon)}.TrafficLight-module_severity4__O4j-F{background-color:var(--lowSeverityText)}");var bF="Risk-module_number__mQdq9",CF="Risk-module_small__tB2P8",IF="Risk-module_large__eMxhM",EF="Risk-module_medium__KdGMA",_F="Risk-module_itemAction__NojsC",AF="Risk-module_itemList__5puMd",wF="Risk-module_table__vqfJl",SF="Risk-module_pointer__o8bRc",kF="Risk-module_notFoundPanel__EiTvq";function jF({safetyCards:e}){const{isWorkOrder:t}=uB();return c.jsxs(c.Fragment,{children:[c.jsx(tL,{text:`Search for HSE related incidents in Safe X based on ${t?"work order":"notifiction"} description`}),c.jsx("div",{className:AF,children:e.map(((e,t)=>c.jsx(i.ListItem,{onCardClick:()=>{ER.synergiOpened({synergiUrl:e.url}),jB(e.url)},style:{gap:"20px",padding:"1rem"},primary:c.jsx("div",{className:IF,children:AR(e.title,40)}),secondary:c.jsx("div",{className:EF,children:AR(e.description,140)}),tertiary:c.jsxs("div",{className:CF,children:[c.jsx("div",{children:e.country}),e.caseDate&&c.jsxs(c.Fragment,{children:[c.jsx("div",{children:" - "}),c.jsx("div",{children:fR(e.caseDate)})]})]}),itemAction:c.jsxs("div",{className:_F,children:[c.jsx(xF,{severity:e.severity,children:c.jsx("div",{className:bF,children:e.severity})}),c.jsx(d.Tooltip,{title:"Go to Synergi",children:c.jsx(d.Icon,{size:24,name:"external_link",color:"var(--tertiaryText)"})})]})},e.url+t)))})]})}function NF({safetyCards:e}){const{isWorkOrder:t}=uB();return c.jsxs(c.Fragment,{children:[c.jsx(tL,{text:`Search for HSE related incidents in Safe X based on ${t?"work order":"notifiction"} description`}),c.jsxs(d.Table,{className:wF,children:[c.jsx(d.Table.Head,{sticky:!0,children:c.jsxs(d.Table.Row,{children:[c.jsx(d.Table.Cell,{children:"Title"}),c.jsx(d.Table.Cell,{children:"Description"}),c.jsx(d.Table.Cell,{children:"Country"}),c.jsx(d.Table.Cell,{children:"Case date"}),c.jsx(d.Table.Cell,{children:"Severity"}),c.jsx(d.Table.Cell,{children:"Synergi"})]})}),c.jsx(d.Table.Body,{children:null==e?void 0:e.map(((e,t)=>c.jsx(TF,{safetyCard:e},e.url+t)))})]})]})}function TF({safetyCard:e}){return c.jsxs(d.Table.Row,{onClick:()=>(ER.synergiOpened({synergiUrl:e.url}),void jB(e.url)),className:SF,children:[c.jsx(d.Table.Cell,{children:_R(e,"title")}),c.jsx(d.Table.Cell,{children:e.description&&AR(_R(e,"description"),250)}),c.jsx(d.Table.Cell,{children:_R(e,"country")}),c.jsx(d.Table.Cell,{children:fR(e.caseDate)}),c.jsx(d.Table.Cell,{children:c.jsx(xF,{severity:e.severity,children:c.jsx("div",{className:bF,children:e.severity})})}),c.jsx(d.Table.Cell,{children:c.jsx(d.Tooltip,{title:"Go to Synergi",children:c.jsx(d.Icon,{size:24,name:"external_link",color:"var(--tertiaryText)"})})})]})}function PF({itemId:t,isWorkOrder:n}){const{orientation:r}=uB(),o=e.isMobileDevice(),a=r===i.SideSheetOrientation.Vertical||o,[s,l,u]=UR((()=>Ym(this,void 0,void 0,(function*(){return qB(t,n)}))),[t]);return u instanceof Error?c.jsx(XB,{error:u,workOrderId:n?t:void 0,notificationId:n?void 0:t}):l?c.jsx(VB,{}):c.jsx("div",{children:s&&s.length>0?a?c.jsx(jF,{safetyCards:s}):c.jsx(NF,{safetyCards:s}):c.jsx("div",{className:kF,children:c.jsx(ZB,{text:"No safety data found."})})})}Ad(".Risk-module_number__mQdq9{margin-top:2px}.Risk-module_small__tB2P8{display:flex;font-size:12px}.Risk-module_large__eMxhM{font-size:1rem;font-weight:500}.Risk-module_medium__KdGMA{font-size:14px}.Risk-module_itemAction__NojsC{align-items:center;display:flex;gap:16px}.Risk-module_safexButton__wOLTj{margin:8px 14px;padding:0 10px}.Risk-module_top__ffYep{display:flex;justify-content:end}.Risk-module_itemList__5puMd{margin-top:.5rem}.Risk-module_itemList__5puMd>div:first-of-type{border-top:1px solid}.Risk-module_table__vqfJl{padding-left:20px;padding-top:20px;width:100%}.Risk-module_pointer__o8bRc{cursor:pointer}.Risk-module_notFoundPanel__EiTvq{padding:24px}");var OF="Items-module_itemsHeader__HkvwX",MF="Items-module_itemsPanel__lsGeU",LF="Items-module_smallText__4zs6g",BF="Items-module_time__AtrTf",DF="Items-module_listItemContainer__eY9wp",RF="Items-module_title__ZoWnu",zF="Items-module_medium__nXnEv",FF="Items-module_visual__FvvLj",HF="Items-module_panelContent__VnPX6";Ad(".Items-module_itemsHeader__HkvwX{border-bottom:1px solid #dadada;color:var(--echoText)!important}.Items-module_itemsHeader__HkvwX button[aria-expanded=true] span{color:var(--echoText)!important;font-weight:700!important}.Items-module_itemsHeader__HkvwX>span{margin-left:28px}.Items-module_itemsHeader__HkvwX>button>svg{fill:var(--tertiaryText)}.Items-module_punchItemsHeader__tyheL>span{margin-left:0}.Items-module_itemsPanel__lsGeU{background:var(--searchBarBackground)!important;border-top:0!important;line-height:normal!important;min-height:auto!important}.Items-module_header__jMq6D{display:block}.Items-module_smallText__4zs6g{color:var(--tertiaryText);font-size:12px}.Items-module_largeText__tJ0wT{font-size:1rem}.Items-module_accordionHeader__I-p-i{border:0;border-bottom:none;border-top:1px solid #dadada;height:auto;justify-content:space-between;padding:16px}.Items-module_accordionHeader__I-p-i>svg{align-self:start}.Items-module_accordionHeader__I-p-i>button{justify-content:space-between}.Items-module_expandedAccordionHeader__-R-nm{border-bottom:1px solid #dadada}.Items-module_panel__YrGHs{border:0;border-bottom:1px solid #dadada;padding:24px}.Items-module_time__AtrTf{color:var(--echoText)}.Items-module_details__EKsPR{display:flex;flex-flow:wrap;width:100%}.Items-module_details__EKsPR>div{margin-bottom:8px}.Items-module_listItemContainer__eY9wp>div:not(:first-of-type){gap:8px}.Items-module_listItemContainer__eY9wp{padding:16px 12px!important}.Items-module_flex__Gc6u2{align-items:center;display:flex}.Items-module_title__ZoWnu{font-weight:500}.Items-module_status__ORuK9{display:flex;margin-left:8px}.Items-module_statusCircle__juY02{border-radius:160px;height:12px;width:12px}.Items-module_statusText__Xf3WX{font-size:12px;font-weight:500;margin-left:4px}.Items-module_small__YE-Vv{font-size:12px;margin-right:16px}.Items-module_medium__nXnEv{font-size:14px}.Items-module_tertiary__uvHal{display:flex;font-size:12px}.Items-module_reqDate__GOWum{margin-left:16px}.Items-module_visual__FvvLj{align-items:center;background-color:var(--echoText);border-radius:50%;color:#fff;display:flex;flex-direction:column;font-size:12px;font-weight:500;height:40px;justify-content:center;padding:.5rem;width:40px}.Items-module_panel__YrGHs{background:var(--searchBarBackground)!important;padding:0!important}.Items-module_panelContent__VnPX6>div{background:#fff}");const qF=({punch:e})=>{var t;const{historicItemClicked:n}=uB();return c.jsx(i.ListItem,{className:DF,onCardClick:n?()=>n(e,exports.WorkItemType.Punches):void 0,primary:c.jsx("div",{className:RF,children:e.id}),secondary:c.jsxs("div",{className:zF,children:[e.tagNo," - ",e.tagArea]}),tertiary:c.jsxs("div",{className:LF,children:["Last change:"," ",c.jsx("time",{className:BF,children:null!==(t=fR(e.updatedAt))&&void 0!==t?t:"-"})]}),visual:c.jsx("div",{className:FF,children:c.jsx("span",{children:e.statusId})})})};var UF="WorkOrderListItem-module_container__BBYiN",GF="WorkOrderListItem-module_visual__HCLPk",WF="WorkOrderListItem-module_visualActive__Em-8i",QF="WorkOrderListItem-module_visualCompleted__AbfAg",YF="WorkOrderListItem-module_primary__iot7-",VF="WorkOrderListItem-module_tertiaryWrapper__vKCwm",ZF="WorkOrderListItem-module_tertiary__FI-Q- WorkOrderListItem-module_primary__iot7-",KF="WorkOrderListItem-module_secondaryText__amK6x",JF="WorkOrderListItem-module_tertiaryBottomContainer__aw9Zu",XF="WorkOrderListItem-module_workorderId__wRPkx",$F="WorkOrderListItem-module_date__SFhJj";function eH(e){return null==e?void 0:e.toLocaleString()}function tH({workOrder:e}){const t=i.setRequiredEndDateColor(e.requiredEndDateStatus);return c.jsxs("time",{dateTime:eH(e.requiredEndDateTime),children:["Req. end date:"," ",c.jsx("span",{style:t?{background:t.background,color:t.color}:void 0,className:$F,children:i.dateToStringOrEmpty(e.requiredEndDateTime)})]})}function nH({workOrder:e}){return c.jsxs("time",{dateTime:eH(e.maintenancePlanDate),children:["Planned date: ",c.jsx("span",{className:$F,children:i.dateToStringOrEmpty(e.maintenancePlanDate)})]})}function rH({workOrder:e,workOrderDateType:t}){var n,r;if((t=null!=t?t:i.WorkOrderDateType.Unknown)===i.WorkOrderDateType.Unknown&&("PM01"===(null===(n=e.orderType)||void 0===n?void 0:n.toUpperCase())&&e.requiredEndDateTime&&(t=i.WorkOrderDateType.PM01),"PM02"===(null===(r=e.orderType)||void 0===r?void 0:r.toUpperCase())&&e.maintenancePlanDate&&(t=i.WorkOrderDateType.PM02)),t===i.WorkOrderDateType.BasicFinishDate&&e.basicFinishDateTime){const t=i.setBasicFinishDateColor(e.basicFinishDateStatus);return c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:c.jsxs("time",{dateTime:eH(e.basicFinishDateTime),children:["Basic finish:"," ",c.jsx("span",{style:t?{background:t.background,color:t.color}:void 0,className:$F,children:i.dateToStringOrEmpty(e.basicFinishDateTime)})]})})}return t===i.WorkOrderDateType.Operation&&e.operationId?c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:c.jsxs("time",{children:["Early start-finish:"," ",c.jsx("span",{className:$F,children:e.earlyStartDate&&e.earlyFinishDate?c.jsxs(c.Fragment,{children:[i.dateToStringOrEmpty(e.earlyStartDate)," - ",i.dateToStringOrEmpty(e.earlyFinishDate)]}):"-"})]})}):t===i.WorkOrderDateType.PM01&&e.requiredEndDateTime?c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:c.jsx(tH,{workOrder:e})}):t===i.WorkOrderDateType.PM02&&e.maintenancePlanDate?c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:c.jsx(nH,{workOrder:e})}):null}function oH({workOrder:e}){const n=[];if(e.hasPrts&&n.push({iconName:"sap_prts",tooltip:"PRTs attachment"+(e.operationId?"":" on operation")}),e.recordTypeIds&&e.recordTypeIds.length>0){const r=/^M[1-69]$/i,o=t.uniq(e.recordTypeIds).filter((e=>r.test(e))).sort().map((e=>({iconName:`notifications_${e.toLowerCase()}`,tooltip:`Connected ${e} notification on object`})));n.push(...o)}if(e.hasB30Document&&n.push({iconName:"sap_b30",tooltip:"B30 document on connected notification"}),n.length>0)return c.jsx(d.Typography,{variant:"chart",group:"ui",children:n.map((e=>c.jsx(d.Tooltip,{placement:"right",title:e.tooltip,children:c.jsx(d.Icon,{name:e.iconName,color:"var(--tertiaryText)"})},e.iconName)))})}function iH(e){var t;const{workOrder:n,isHeader:r,workOrderDateType:o,footer:a,className:s,colorMap:l,onCardClick:u,itemAction:m,iconName:p,cardClassName:h}=e,f=i.classnames(GF,l?void 0:n.isActive?WF:QF),g="PM15"===n.orderType?n.maintenancePlant:n.planningPlant;return c.jsx(i.ListItem,{className:`${UF} ${s&&s}`,cardClassName:h,onCardClick:r?void 0:u,showChevron:u&&!r,primary:c.jsxs("div",{className:YF,children:[c.jsxs(d.Typography,{className:XF,variant:"h6",children:[rb(n.id),n.operationId&&c.jsxs(c.Fragment,{children:[" - ",n.operationId]})]}),c.jsx(i.SubseaStatusLabel,{isActive:n.isActive}),c.jsx(oH,{workOrder:n})]}),secondary:c.jsx(d.Typography,{variant:"caption",className:KF,children:n.description}),tertiary:c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:VF,children:[c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:g}),c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:n.workCenterId})]}),c.jsxs("div",{className:JF,children:[c.jsx(rH,{workOrder:n,workOrderDateType:o}),n.sortField&&c.jsx(d.Tooltip,{title:"Sort field",placement:"right",children:c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:n.sortField})})]})]}),visual:c.jsx("div",{className:f,style:{backgroundColor:null==l?void 0:l.background},children:c.jsx(d.Icon,{name:null!=p?p:i.setWorkOrderIconName(n.orderType),color:null!==(t=null==l?void 0:l.color)&&void 0!==t?t:"#000"})}),itemAction:m,as:r?"div":"li",footer:a})}Ad(".WorkOrderListItem-module_container__BBYiN>div:not(:first-of-type){gap:4px}div.WorkOrderListItem-module_container__BBYiN,li.WorkOrderListItem-module_container__BBYiN{padding:.5rem}.WorkOrderListItem-module_visual__HCLPk{align-items:center;border-radius:50%;display:flex;flex-direction:column;font-size:.75rem;font-weight:500;justify-content:center;min-height:2.5rem;min-width:2.5rem;padding:9px}.WorkOrderListItem-module_visualActive__Em-8i{background-color:var(--active)!important}.WorkOrderListItem-module_visualCompleted__AbfAg{background-color:var(--completed)!important}.WorkOrderListItem-module_primary__iot7-{align-items:center;display:flex;flex-flow:row wrap;gap:var(--small)}.WorkOrderListItem-module_tertiaryWrapper__vKCwm{display:flex;gap:var(--large)}.WorkOrderListItem-module_tertiary__FI-Q-{color:var(--tertiaryText)!important;flex-direction:row;font-size:.75rem!important;gap:1rem}.WorkOrderListItem-module_primaryText__g0-de{width:auto}.WorkOrderListItem-module_secondaryText__amK6x{color:var(--secondaryText)}.WorkOrderListItem-module_tertiaryText__Q6EwI{color:var(--tertiaryText)}.WorkOrderListItem-module_tertiaryBottomContainer__aw9Zu{display:flex;gap:.5rem}.WorkOrderListItem-module_divider__dqBJO{border:1px solid #d9d9d9;height:.75rem;margin-bottom:5px}.WorkOrderListItem-module_workorderStatusContainer__baW6h{align-items:center;display:inline-flex;gap:5px}.WorkOrderListItem-module_workorderstatusText__Vntps{line-height:1!important;margin-left:.25rem;overflow:initial!important}.WorkOrderListItem-module_activeIndicator__n4VkZ,.WorkOrderListItem-module_completedIndicator__wfDJq{border-radius:50%;height:.75rem;margin-bottom:3px;width:.75rem}.WorkOrderListItem-module_activeIndicator__n4VkZ{background-color:var(--active)}.WorkOrderListItem-module_completedIndicator__wfDJq{background-color:var(--completed)}.WorkOrderListItem-module_workorderId__wRPkx{width:auto}.WorkOrderListItem-module_date__SFhJj{padding:6px}.WorkOrderListItem-module_footerText__vXLGA{display:inline-block;padding-left:var(--xSmall)}.WorkOrderListItem-module_footerWrapper__ABYqK{padding-bottom:var(--small)}");const aH=({itemType:e,subType:t,items:n})=>{const{historicItemClicked:o,currentNotificationLegendOption:a,currentWorkOrderLegendOption:s}=uB(),[l,u]=r.useState(!1),[m,p]=r.useState(!1);const h=e=>{const t=e.sort(((e,t)=>t.createdDateTime.getTime()-e.createdDateTime.getTime())),n=(e,t)=>{const n=e,r=iz(a,n.isActive,n.requiredEndDateStatus,n.failureImpact);return c.jsx(i.NotificationListItem,{notification:n,onCardClick:o?()=>o(e,exports.WorkItemType.Notifications):void 0,colorMap:r},n.id+t)};return c.jsxs(c.Fragment,{children:[t.length>3&&!l?t.slice(0,3).map(((e,t)=>n(e,t))):t.map(((e,t)=>n(e,t))),t.length>3&&c.jsx(DR,{isActive:l,onClick:()=>u(!l)})]})},f=e=>{const t=e.sort(((e,t)=>t.createdDateTime.getTime()-e.createdDateTime.getTime())),n=(e,t)=>{const n=e,r=az(s,n.isActive,n.requiredEndDateStatus,n.basicFinishDateStatus);return c.jsx(iH,{workOrder:n,onCardClick:o?()=>o(e,exports.WorkItemType.WorkOrders):void 0,colorMap:r},n.id+t)};return c.jsxs(c.Fragment,{children:[t.length>3&&!m?t.slice(0,3).map(((e,t)=>n(e,t))):t.map(((e,t)=>n(e,t))),t.length>3&&c.jsx(DR,{isActive:m,onClick:()=>p(!m)})]})},g=e=>e.map(((e,t)=>c.jsx(qF,{punch:e},e.id+t)));return n?c.jsx(d.Accordion,{chevronPosition:"right",children:c.jsxs(d.Accordion.Item,{children:[c.jsx(d.Accordion.Header,{className:OF,children:c.jsx(d.Accordion.HeaderTitle,{children:`${t} (${n.length})`})}),c.jsx(d.Accordion.Panel,{className:MF,children:c.jsx("div",{className:HF,children:(t=>e===exports.WorkItemType.Notifications?h(t):e===exports.WorkItemType.WorkOrders?f(t):e===exports.WorkItemType.Punches?g(t):null)(n)})})]})}):null};var sH="TagHistory-module_description__mGXNh",lH="TagHistory-module_section__SwPqb",cH="TagHistory-module_content__IgxEq",uH="TagHistory-module_container__PVXmS";function dH({groups:e,emptyText:t,workItemType:n,statusCode:r}){return 403===r?c.jsx("div",{className:cH,children:c.jsx(ZB,{text:"Missing access to view these items"})}):0===e.length?c.jsx("div",{className:cH,children:c.jsx(ZB,{text:t})}):c.jsx(c.Fragment,{children:e.map((e=>c.jsx(aH,{itemType:n,subType:e.type,items:e.items},e.type)))})}Ad(".TagHistory-module_description__mGXNh{font-size:.6rem;font-weight:500;margin-left:15px;margin-top:16px;text-overflow:ellipsis}.TagHistory-module_section__SwPqb{margin:16px 0}.TagHistory-module_section__SwPqb>:not(:first-child)>div>h4{border-top:0}.TagHistory-module_content__IgxEq{margin-left:24px}.TagHistory-module_container__PVXmS{overflow:hidden}");var mH="HorizontalTagHistory-module_itemsContainer__sp0ar",pH="HorizontalTagHistory-module_panel__WBI-M";Ad(".HorizontalTagHistory-module_itemsContainer__sp0ar{background:var(--searchBarBackground);border-top:0;line-height:normal;min-height:auto;overflow-y:auto}.HorizontalTagHistory-module_panel__WBI-M{margin:16px;min-width:350px}.HorizontalTagHistory-module_panel__WBI-M>div{background:#fff}");const hH=({notifications:e,historicItemClicked:t})=>{const{currentNotificationLegendOption:n}=uB(),[o,a]=r.useState(!1),s=e.sort(((e,t)=>t.createdDateTime.getTime()-e.createdDateTime.getTime())),l=(e,r)=>{const o=e,a=iz(n,o.isActive,o.requiredEndDateStatus,o.failureImpact);return c.jsx(i.NotificationListItem,{notification:o,onCardClick:t?()=>t(e,exports.WorkItemType.Notifications):void 0,colorMap:a},o.id+r)};return c.jsx("div",{className:mH,children:c.jsxs("div",{className:pH,children:[s.length>3&&!o?s.slice(0,3).map(((e,t)=>l(e,t))):s.map(((e,t)=>l(e,t))),s.length>3&&c.jsx(DR,{isActive:o,onClick:()=>a(!o)})]})})},fH=({workOrders:e,historicItemClicked:t})=>{const{currentWorkOrderLegendOption:n}=uB(),[o,i]=r.useState(!1),a=e.sort(((e,t)=>t.createdDateTime.getTime()-e.createdDateTime.getTime())),s=(e,r)=>{const o=e,i=az(n,o.isActive,o.requiredEndDateStatus,o.basicFinishDateStatus);return c.jsx(iH,{workOrder:o,onCardClick:t?()=>t(o,exports.WorkItemType.WorkOrders):void 0,colorMap:i},o.id+r)};return c.jsx("div",{className:mH,children:c.jsxs("div",{className:pH,children:[a.length>3&&!o?a.slice(0,3).map(((e,t)=>s(e,t))):a.map(((e,t)=>s(e,t))),a.length>3&&c.jsx(DR,{isActive:o,onClick:()=>i(!o)})]})})},gH=({notificationGroups:e,workOrderGroups:t,punchGroups:n})=>{const[o,i]=r.useState([]),{historicItemClicked:a}=uB();return r.useEffect((()=>{const r=[];if(e.groups&&e.groups.length>0){const t=[];e.groups.forEach(((e,n)=>{const r={id:e.type+n,title:e.type,amountOfItems:e.items.length,content:c.jsx(hH,{notifications:e.items,historicItemClicked:a})};t.push(r)}));const n={title:"NOTIFICATIONS",items:t};r.push(n)}else r.push({title:"NOTIFICATIONS",noItemsInGroupTitle:vH(e.statusCode),items:[]});if(t.groups&&t.groups.length>0){const e=[];t.groups.forEach(((t,n)=>{const r={id:t.type+n,title:t.type,amountOfItems:t.items.length,content:c.jsx(fH,{workOrders:t.items,historicItemClicked:a})};e.push(r)}));const n={title:"WORK ORDERS",items:e};r.push(n)}else r.push({title:"WORK ORDERS",noItemsInGroupTitle:vH(t.statusCode),items:[]});if(n.groups&&n.groups.length>0){const e=[];n.groups.forEach(((t,n)=>{const r={id:t.type+n,title:t.type,amountOfItems:t.items.length,content:(o=t.items,c.jsx("div",{className:mH,children:c.jsx("div",{className:pH,children:o.map(((e,t)=>c.jsx(qF,{punch:e},e.id+t)))})}))};var o;e.push(r)}));const t={title:"PUNCHES",items:e};r.push(t)}else r.push({title:"PUNCHES",noItemsInGroupTitle:vH(n.statusCode),items:[]});i(r)}),[a,e,n,t]),c.jsx(Vz,{listItemStyle:{minHeight:"47px"},groups:o,infoLabelText:"History of notifications, work orders and punches related to the tag."})};function vH(e){return 403===e?"Missing access to view these items":void 0}function yH({itemId:t,isWorkOrder:n}){const{orientation:r}=uB(),o=e.isMobileDevice(),a=r===i.SideSheetOrientation.Vertical||o,[s,l,u]=UR((()=>Ym(this,void 0,void 0,(function*(){return HB(t,n)}))),[t]);return u instanceof Error?c.jsx(XB,{error:u,workOrderId:n?t:void 0,notificationId:n?void 0:t}):l?c.jsx(VB,{}):s?a?c.jsxs(c.Fragment,{children:[c.jsx(tL,{text:"History of notifications, work orders and punches related to the tag."}),c.jsxs("div",{className:uH,children:[c.jsx("div",{className:sH,children:"NOTIFICATIONS"}),c.jsx("section",{className:lH,children:c.jsx(dH,{workItemType:exports.WorkItemType.Notifications,emptyText:"No notifications found",groups:s.notificationGroups.groups,statusCode:s.notificationGroups.statusCode})}),c.jsx("div",{className:sH,children:"WORK ORDERS"}),c.jsx("section",{className:lH,children:c.jsx(dH,{workItemType:exports.WorkItemType.WorkOrders,emptyText:"No work orders found.",groups:s.workOrderGroups.groups,statusCode:s.workOrderGroups.statusCode})}),c.jsx("div",{className:sH,children:"PUNCHES"}),c.jsx("section",{className:lH,children:c.jsx(dH,{workItemType:exports.WorkItemType.Punches,emptyText:"No punches found.",groups:s.punchGroups.groups,statusCode:s.punchGroups.statusCode})})]})]}):c.jsx(gH,{notificationGroups:s.notificationGroups,workOrderGroups:s.workOrderGroups,punchGroups:s.punchGroups}):c.jsx(ZB,{text:"No historic data found."})}var xH="notificationAdditionalDetails-module_tabPanels__E445a";function bH({notificationDetails:t}){const{workOrderOperationId:n}=uB(),o=e.isMobileDevice(),[a,s]=r.useState(n?2:0),l=t.id,u=[c.jsx(ZR,{details:t},"details-notification"),c.jsx(mF,{itemId:l},"tag-info-panel"),c.jsx(Pz,{recordId:l,recordType:t.type},"attachments-panel"),c.jsx(uF,{itemId:l,tagNo:t.tagId},"tag-document-refs-panel"),c.jsx(yH,{itemId:l},"tag-history-panel"),c.jsx(PF,{itemId:l},"risk-panel")];return c.jsx(i.MultilineTabs,{activeTabIndex:a,onTabChange:s,tabs:[{title:"Info"},{title:"Tag info"},{title:"Attachments"},{title:"Documents"},{title:"History"},{title:"Safe X"}],initiallyExpanded:!o,children:c.jsx(d.Tabs.Panels,{className:xH,children:u.map(((e,t)=>c.jsx(d.Tabs.Panel,{style:{padding:"0",height:"inherit"},children:e},t)))})})}Ad(".notificationAdditionalDetails-module_tabPanels__E445a{height:100%;padding-bottom:env(safe-area-inset-bottom)}");var CH,IH,EH="Notification-module_lonelyDetails__KUmMB",_H="Notification-module_verticalContainer__W3-mJ",AH="Notification-module_splitView__-OvFg",wH="Notification-module_splitHorizontal__pYmeq";function SH(t){const{orientation:n}=uB(),r=e.isMobileDevice(),o=n===i.SideSheetOrientation.Vertical||r,[a,s,l]=UR((()=>Ym(this,void 0,void 0,(function*(){return OB(t.notificationId)}))),[t.notificationId]);if(l instanceof Error)return c.jsx(XB,{error:l,notificationId:t.notificationId});if(s||!a)return c.jsx(VB,{});if(!a&&!s){const e={name:"No data found",message:"Got no data from the server"};return c.jsx(XB,{error:e,notificationId:t.notificationId})}const u="m2"===a.type.toLowerCase()||"m3"===a.type.toLowerCase();return o?c.jsxs("div",{className:_H,children:[c.jsx(mz,{notificationDetails:a,headerAction:t.headerAction}),u?c.jsx(bH,{notificationDetails:a}):c.jsx("div",{className:EH,children:c.jsx(ZR,{details:a})})]}):c.jsxs(i.SplitView,{className:AH,children:[c.jsx(i.SplitView.Left,{isMinimizable:!0,children:c.jsx(mz,{notificationDetails:a,headerAction:t.headerAction})}),c.jsx(i.SplitView.Right,{className:wH,children:u?c.jsx(bH,{notificationDetails:a}):c.jsx("div",{className:EH,children:c.jsx(ZR,{details:a})})})]})}Ad(".Notification-module_lonelyDetails__KUmMB{height:100%}.Notification-module_verticalContainer__W3-mJ{display:flex;flex-direction:column;height:100%;overflow:auto;width:inherit}.Notification-module_splitView__-OvFg{height:100%!important}.Notification-module_splitHorizontal__pYmeq{overflow:auto!important}"),exports.ItemTypes=void 0,(CH=exports.ItemTypes||(exports.ItemTypes={})).tag="tag",CH.mcPack="mcPack",CH.commPack="commPack",function(e){e.Ok="Ok",e.Warning="Warning",e.Error="Error",e.Unknown="Unknown"}(IH||(IH={}));var kH="Details-module_container__ArXPj",jH="Details-module_content__MoYok",NH="Details-module_longTextButton__QawPR",TH="Details-module_link__iNkPZ",PH="Details-module_topRow__-nADf";function OH({details:e}){const{tagClicked:t,packageClicked:n,instCode:r,showLongTextClicked:o}=uB();return c.jsx("div",{className:kH,children:c.jsxs("div",{className:jH,children:[c.jsxs("div",{className:PH,children:[c.jsx(hR,{label:"No",children:_R(e,"id")}),e.description&&o&&c.jsx(d.EdsProvider,{density:"compact",children:c.jsxs(d.Button,{className:NH,variant:"outlined",onClick:()=>o(e.id.toString(),exports.WorkItemType.Punches,e.description),children:[c.jsx(d.Icon,{name:"sap_activity_reviewed",color:"var(--equiGreen1)",size:18}),"Long description"]})})]}),c.jsxs(LR,{children:[c.jsx(hR,{label:"Tag",children:c.jsx("button",{className:TH,onClick:r?()=>t(e.tagNo,r):void 0,children:e.tagNo})}),c.jsx(hR,{label:"Status",children:_R(e,"statusId")}),c.jsx(hR,{label:"System",children:_R(e,"systemId")}),c.jsx(hR,{label:"Type",children:_R(e,"typeDescription")}),c.jsx(hR,{label:"Tag description",children:_R(e,"tagDescription")}),c.jsx(hR,{label:"Priority Id",children:_R(e,"priorityId")}),c.jsx(hR,{label:"Tag area",children:_R(e,"tagArea")}),c.jsx(hR,{label:"Raised By",children:_R(e,"raisedByOrg")}),c.jsx(hR,{label:"Commissioning package",children:c.jsx("button",{className:TH,onClick:n?()=>n(exports.ItemTypes.commPack,e.commPkgNo,e.projectName):void 0,children:e.commPkgNo})}),c.jsx(hR,{label:"Clearing by",children:_R(e,"clearedByOrg")}),c.jsx(hR,{label:"MC package",children:c.jsx("button",{className:TH,onClick:n?()=>n(exports.ItemTypes.mcPack,e.mcPkgNo,e.projectName):void 0,children:e.mcPkgNo})})]})]})})}function MH(e){if(!e)return"punches_main_group";switch(e.toLowerCase()){case"pa":return"punches_pa";case"pb":return"punches_pb";default:return"punches_main_group"}}Ad(".Details-module_container__ArXPj{overflow-y:auto}.Details-module_content__MoYok{padding:8px 24px 24px}.Details-module_longTextButton__QawPR{padding:0 .5rem}.Details-module_link__iNkPZ{color:var(--asBuilt);cursor:pointer;padding:0!important;text-decoration:underline}.Details-module_topRow__-nADf{display:flex}.Details-module_descriptionButton__1q3Hy>span{grid-gap:4px}");var LH={verticalContainer:"Header-module_verticalContainer__mtDxH",container:"Header-module_container__dm5Nc",gap:"Header-module_gap__utLJl",flex:"Header-module_flex__ACyWw",title:"Header-module_title__FtoTW",visual:"Header-module_visual__VvbQf"};function BH(t){const{orientation:n}=uB(),r=e.isMobileDevice(),o=n===i.SideSheetOrientation.Vertical||r,a=i.classnames({[LH.verticalContainer]:o,[LH.container]:!o});return c.jsxs("div",{className:a,children:[c.jsx(i.ListItem,{className:LH.gap,primary:c.jsx("div",{className:LH.flex,children:c.jsx("div",{className:LH.title,children:t.punch.id})}),visual:c.jsx("div",{className:LH.visual,children:c.jsx(d.Icon,{name:MH(t.punch.statusId),color:"white"})}),as:"div"}),c.jsx(d.Divider,{className:LH.divider})]})}Ad(".Header-module_verticalContainer__mtDxH{padding-top:16px}.Header-module_verticalContainer__mtDxH>div{border-bottom:0}.Header-module_container__dm5Nc{padding-top:16px}.Header-module_container__dm5Nc>div{border-bottom:0}.Header-module_gap__utLJl>div:not(:first-of-type){gap:8px}.Header-module_flex__ACyWw{align-items:center;display:flex}.Header-module_title__FtoTW{font-weight:500}.Header-module_visual__VvbQf{align-items:center;background-color:var(--echoText);border-radius:50%;color:#fff;display:flex;flex-direction:column;font-size:12px;font-weight:500;height:40px;justify-content:center;padding:.5rem;width:40px}");var DH="Punch-module_container__6kZux",RH="Punch-module_splitHorizontal__Z2T5A";function zH(t){const{orientation:n}=uB(),r=e.isMobileDevice(),o=n===i.SideSheetOrientation.Vertical||r,[a,s,l]=UR((()=>Ym(this,void 0,void 0,(function*(){return LB(t.instCode,t.punchId)}))),[t.instCode,t.punchId]);if(l instanceof Error)return c.jsx(XB,{error:l,punchId:t.punchId});if(s||!a)return c.jsx(VB,{});if(!a&&!s){const e={name:"No data found",message:"Got no data from the server"};return c.jsx(XB,{error:e,punchId:t.punchId})}return o?c.jsxs("div",{className:DH,children:[c.jsx(BH,{punch:a}),c.jsx(OH,{details:a})]}):c.jsxs(i.SplitView,{children:[c.jsx(i.SplitView.Left,{isMinimizable:!0,children:c.jsx(BH,{punch:a})}),c.jsx(i.SplitView.Right,{className:RH,children:c.jsx(OH,{details:a})})]})}Ad(".Punch-module_container__6kZux{display:flex;flex-direction:column;overflow:hidden}.Punch-module_splitHorizontal__Z2T5A{overflow:auto!important}");var FH="WOAdditionalDetails-module_tabPanels__TdEaV";Ad(".WOAdditionalDetails-module_tabPanels__TdEaV{height:100%}");var HH="DetailsWorkOrder-module_content__NYIfs",qH="DetailsWorkOrder-module_mobileContent__fVCD6 DetailsWorkOrder-module_content__NYIfs",UH="DetailsWorkOrder-module_infoBlockSpacing__kDEgw",GH="DetailsWorkOrder-module_markedContent__fuiKQ",WH="DetailsWorkOrder-module_listItem__p0mVs",QH="DetailsWorkOrder-module_primary__BKBim",YH="DetailsWorkOrder-module_secondary__alSdc",VH="DetailsWorkOrder-module_infoBlockNoBorder__sWnfD";function ZH({workOrderDetails:t}){var n,r;const{tagClicked:o,showLongTextClicked:a}=uB(),s=e.isMobileDevice(),l=i.classnames({[qH]:s,[HH]:!s}),[u]=UR((()=>Ym(this,void 0,void 0,(function*(){return t.id?PB(t.id):void 0}))),[t.id]),d=i.setPriorityColor(t.priorityId);return c.jsxs("div",{className:l,children:[t.description&&c.jsx(PR,{itemId:i.removeLeadingZeros(t.id),itemType:exports.WorkItemType.WorkOrders,shortText:t.description,longText:t.longText}),c.jsxs(LR,{children:[c.jsx(hR,{label:"Work order number",children:i.removeLeadingZeros(t.id)}),c.jsx(hR,{label:"Tag",children:t.tagId?c.jsx(i.CompactIconLink,{title:t.tagId,meta:t.tagCategory,onClickHandler:()=>{o(t.tagId,t.instCode)},icon:"tag"}):"-"}),c.jsx(hR,{contentClassName:VH,label:"planning plant",children:(null===(n=t.planningPlantReference)||void 0===n?void 0:n.label)?c.jsx(i.ListItem,{className:WH,primary:c.jsx("div",{className:QH,children:t.planningPlantReference.label}),secondary:t.planningPlantReference.typeLabel?c.jsx("div",{className:YH,children:t.planningPlantReference.typeLabel}):void 0}):"-"}),c.jsx(hR,{contentClassName:VH,label:"maintenance plant",children:(null===(r=t.maintenancePlantReference)||void 0===r?void 0:r.label)?c.jsx(i.ListItem,{className:WH,primary:c.jsx("div",{className:QH,children:t.maintenancePlantReference.label}),secondary:t.maintenancePlantReference.typeLabel?c.jsx("div",{className:YH,children:t.maintenancePlantReference.typeLabel}):void 0}):"-"}),c.jsx(hR,{label:"Status",children:t.activeStatusIds?t.activeStatusIds:"-"}),c.jsx(hR,{label:"Person responsible",children:_R(t,"personResponsible")}),c.jsx(hR,{label:"Planner group id",children:_R(t,"plannerGroupId")}),c.jsx(hR,{label:"Main work center",children:_R(t,"workCenterId")}),c.jsx(hR,{label:"Location",children:_R(t,"locationId")}),c.jsx(hR,{label:"Date last change",children:fR(t.changedDateTime)}),c.jsx(hR,{label:"Date created",children:fR(t.createdDateTime)}),c.jsx(hR,{label:"Basic start",children:fR(t.basicStartDateTime)}),c.jsx(hR,{label:"Basic finish",children:fR(t.basicFinishDateTime)}),c.jsx(hR,{label:"Priority",contentClassName:UH,children:c.jsx(i.MarkedContent,{backgroundColor:d.background,textColor:d.color,className:GH,children:"L"===t.priorityId?"Low":"M"===t.priorityId?"Medium":"H"===t.priorityId?"High":"Unknown"})}),c.jsx(hR,{label:"Equipment",children:_R(t,"equipmentId")}),c.jsx(hR,{label:"Revision",children:_R(t,"revisionId")}),c.jsx(hR,{label:"System",children:t.systemId?`${t.systemId} ${t.system}`:"-"}),u&&c.jsx(hR,{label:"Work Type",children:c.jsx(OR,{items:null!=u?u:[]})}),c.jsx(hR,{label:"Sort field",children:_R(t,"sortField")}),t.longText&&""!==t.longText&&!a&&c.jsx(hR,{label:"Long text",stretched:!0,children:c.jsx(VM,{longText:t.longText})})]})]})}function KH({workOrderDetails:t}){const{workOrderOperationId:n}=uB(),o=e.isMobileDevice(),[a,s]=r.useState(n?2:0);if(!t)return null;const l=t.id,u=[c.jsx(ZH,{workOrderDetails:t},"details-workorder"),c.jsx(mF,{itemId:t.id,isWorkOrder:!0},"tag-info-panel"),c.jsx(Hz,{workOrderId:l},"operations-panel"),c.jsx(vF,{workOrderId:l},"objects-panel"),c.jsx(Pz,{recordId:l,recordType:t.orderType,isWorkOrder:!0},"attachments-panel"),c.jsx(uF,{itemId:l,tagNo:t.tagId,isWorkOrder:!0},"tag-document-refs-panel"),c.jsx(yH,{itemId:l,isWorkOrder:!0},"tag-history-panel"),c.jsx(PF,{itemId:l,isWorkOrder:!0},"risk-panel")];return c.jsx(i.MultilineTabs,{activeTabIndex:a,onTabChange:s,tabs:[{title:"Info"},{title:"Tag info"},{title:"Operations"},{title:"Objects"},{title:"Attachments"},{title:"Documents"},{title:"History"},{title:"Safe X"}],initiallyExpanded:!o,children:c.jsx(d.Tabs.Panels,{className:FH,children:u.map(((e,t)=>c.jsx(d.Tabs.Panel,{style:{padding:"0",height:"inherit"},children:e},t)))})})}Ad(".DetailsWorkOrder-module_content__NYIfs{padding:24px}.DetailsWorkOrder-module_content__NYIfs>dl{margin-top:0}.DetailsWorkOrder-module_mobileContent__fVCD6{height:100%}.DetailsWorkOrder-module_topRow__x5sNx{display:flex}.DetailsWorkOrder-module_verticalTopRow__fkFZw{display:flex;justify-content:space-between}.DetailsWorkOrder-module_mobileButtonContainer__UJdMX{align-items:center;display:flex}.DetailsWorkOrder-module_infoBlockSpacing__kDEgw{margin-top:4px}.DetailsWorkOrder-module_markedContent__fuiKQ{line-height:1.5rem;padding:4px 8px}.DetailsWorkOrder-module_listItem__p0mVs{padding:0}.DetailsWorkOrder-module_primary__BKBim{font-size:.875rem}.DetailsWorkOrder-module_secondary__alSdc{font-size:.75rem}.DetailsWorkOrder-module_infoBlockNoBorder__sWnfD>div{border-bottom:0}");var JH="WorkOrderHeader-module_verticalContainer__WD6yw",XH="WorkOrderHeader-module_container__-9lif",$H="WorkOrderHeader-module_workOrderHeaderNav__8C59g",eq="WorkOrderHeader-module_divider__Anu8E";function tq(t){const{workOrderDetails:n,headerAction:r}=t,{orientation:o,currentWorkOrderLegendOption:a}=uB(),s=e.isMobileDevice(),l=o===i.SideSheetOrientation.Vertical||s,[u]=UR((()=>Ym(this,void 0,void 0,(function*(){return TB(n.id)}))),[n.id]),m=az(a,n.isActive,n.requiredEndDateStatus,n.basicFinishDateStatus,n.userStatus),p=`https://workorders.equinor.com/work-order/${i.removeLeadingZeros(n.id)}`,h=`https://p03web.statoil.no/sap/bc/gui/sap/its/webgui?sap-client=505&sap-language=EN&~transaction=*iw33%20CAUFVD-AUFNR=\n ${n.id}#`,f=n.description?`https://safex.equinor.com/search?keyword=${n.description}`:"https://safex.equinor.com",g=`https://opt.equinor.com/platform/${n.plantId}/wo/plan`,v=i.classnames({[JH]:l,[XH]:!l});return c.jsxs("div",{className:v,children:[c.jsx(iH,{workOrder:nq(n,u),isHeader:!0,itemAction:r,colorMap:m,workOrderDateType:t.workOrderDateType}),c.jsxs("nav",{className:$H,children:[c.jsx(i.BlackLink,{href:f,linkText:"SafeX",tooltipText:"Go to SafeX"}),c.jsx(i.BlackLink,{href:g,linkText:"OPT",tooltipText:"Go to OPT"}),c.jsx(i.BlackLink,{href:p,linkText:"Wo app",tooltipText:"Go to WO application"}),c.jsx(i.BlackLink,{href:h,linkText:"SAP",tooltipText:"Go to SAP"})]}),c.jsx(d.Divider,{className:eq})]})}function nq(e,t){const n=e;return t&&(n.recordTypeIds=t.recordTypeIds,n.hasB30Document=t.hasB30Document,n.hasPrts=t.hasPrts),n}Ad(".WorkOrderHeader-module_verticalContainer__WD6yw>div{border-bottom:0}.WorkOrderHeader-module_container__-9lif{padding-top:16px}.WorkOrderHeader-module_container__-9lif>div{border-bottom:0}.WorkOrderHeader-module_workOrderHeaderNav__8C59g{display:flex;flex-direction:row;gap:.5rem;justify-content:flex-end;margin:0 1.5rem}.WorkOrderHeader-module_divider__Anu8E{background-color:var(--dividerColor);margin-bottom:.1rem!important;margin-top:2px!important}");var rq="WorkOrder-module_verticalContainer__oo-Tr",oq="WorkOrder-module_splitView__HLevT",iq="WorkOrder-module_splitHorizontal__HYUpO";Ad(".WorkOrder-module_lonelyDetails__smloz{height:100%}.WorkOrder-module_verticalContainer__oo-Tr{display:flex;flex-direction:column;height:100%;overflow:auto;width:inherit}.WorkOrder-module_splitView__HLevT{height:100%!important}.WorkOrder-module_splitHorizontal__HYUpO{overflow:auto!important}");const aq=({workOrderId:t,headerAction:n,workOrderDateType:r})=>{const o=e.isMobileDevice(),{orientation:a}=uB(),s=a===i.SideSheetOrientation.Vertical||o,[l,u,d]=UR((()=>NB(t)),[t]);return u||!l?c.jsx(VB,{}):d instanceof Error?c.jsx(XB,{error:d,workOrderId:t}):l||u?l&&(s?c.jsxs("div",{className:rq,children:[c.jsx(tq,{workOrderDetails:l,headerAction:n,workOrderDateType:r}),c.jsx(KH,{workOrderDetails:l})]}):c.jsxs(i.SplitView,{className:oq,children:[c.jsx(i.SplitView.Left,{isMinimizable:!0,children:c.jsx(tq,{workOrderDetails:l,headerAction:n})}),c.jsx(i.SplitView.Right,{className:iq,children:c.jsx(KH,{workOrderDetails:l})})]})):c.jsx(XB,{error:{name:"No data found",message:"Got no data from the server"},workOrderId:t})};function sq(e){return r.useEffect((()=>ER.moduleStarted()),[]),e.notificationId?c.jsx(cB.Provider,{value:{orientation:e.orientation,isWorkOrder:!1,tagClicked:e.tagClicked,historicItemClicked:e.historicItemClicked,showLongTextClicked:e.showLongTextClicked,currentNotificationLegendOption:e.currentNotificationLegendOption,currentWorkOrderLegendOption:e.currentWorkOrderLegendOption},children:c.jsx(SH,{notificationId:e.notificationId,headerAction:e.headerAction})}):e.workOrderId?c.jsx(cB.Provider,{value:{orientation:e.orientation,isWorkOrder:!0,workOrderOperationId:e.workOrderOperationId,tagClicked:e.tagClicked,historicItemClicked:e.historicItemClicked,objectNotificationClicked:e.objectNotificationClicked,showLongTextClicked:e.showLongTextClicked,onEquipmentClick:e.onEquipmentClick,onEquipmentLocationClick:e.onEquipmentLocationClick,currentNotificationLegendOption:e.currentNotificationLegendOption,currentWorkOrderLegendOption:e.currentWorkOrderLegendOption,currentEquipmentLegendOption:e.currentEquipmentLegendOption},children:c.jsx(aq,{workOrderId:e.workOrderId,headerAction:e.headerAction,workOrderDateType:e.workOrderDateType})}):e.punchId&&e.instCode?c.jsx(cB.Provider,{value:{instCode:e.instCode,orientation:e.orientation,isWorkOrder:!1,tagClicked:e.tagClicked,packageClicked:e.packageClicked,showLongTextClicked:e.showLongTextClicked},children:c.jsx(zH,{punchId:e.punchId,instCode:e.instCode})}):null}const lq=new Map,cq=e=>{const t=lq.get(e);return t?Object.fromEntries(Object.entries(t.stores).map((([e,t])=>[e,t.getState()]))):{}},uq=(e,t={})=>(n,r,o)=>{const{enabled:i,anonymousActionType:a,store:s,...l}=t;let c;try{c=(null==i||i)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(e){}if(!c)return i&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,o);const{connection:u,...d}=((e,t,n)=>{if(void 0===e)return{type:"untracked",connection:t.connect(n)};const r=lq.get(n.name);if(r)return{type:"tracked",store:e,...r};const o={connection:t.connect(n),stores:{}};return lq.set(n.name,o),{type:"tracked",store:e,...o}})(s,c,l);let m=!0;o.setState=(e,t,i)=>{const c=n(e,t);if(!m)return c;const d=void 0===i?{type:a||"anonymous"}:"string"==typeof i?{type:i}:i;return void 0===s?(null==u||u.send(d,r()),c):(null==u||u.send({...d,type:`${s}/${d.type}`},{...cq(l.name),[s]:o.getState()}),c)};const p=(...e)=>{const t=m;m=!1,n(...e),m=t},h=e(o.setState,r,o);if("untracked"===d.type?null==u||u.init(h):(d.stores[d.store]=o,null==u||u.init(Object.fromEntries(Object.entries(d.stores).map((([e,t])=>[e,e===d.store?h:t.getState()]))))),o.dispatchFromDevtools&&"function"==typeof o.dispatch){let e=!1;const t=o.dispatch;o.dispatch=(...n)=>{"__setState"!==n[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...n)}}return u.subscribe((e=>{var t;switch(e.type){case"ACTION":return"string"!=typeof e.payload?void console.error("[zustand devtools middleware] Unsupported action format"):dq(e.payload,(e=>{if("__setState"!==e.type)o.dispatchFromDevtools&&"function"==typeof o.dispatch&&o.dispatch(e);else{if(void 0===s)return void p(e.state);1!==Object.keys(e.state).length&&console.error('\n [zustand devtools middleware] Unsupported __setState action format. \n When using \'store\' option in devtools(), the \'state\' should have only one key, which is a value of \'store\' that was passed in devtools(),\n and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }\n ');const t=e.state[s];if(null==t)return;JSON.stringify(o.getState())!==JSON.stringify(t)&&p(t)}}));case"DISPATCH":switch(e.payload.type){case"RESET":return p(h),void 0===s?null==u?void 0:u.init(o.getState()):null==u?void 0:u.init(cq(l.name));case"COMMIT":return void 0===s?void(null==u||u.init(o.getState())):null==u?void 0:u.init(cq(l.name));case"ROLLBACK":return dq(e.state,(e=>{if(void 0===s)return p(e),void(null==u||u.init(o.getState()));p(e[s]),null==u||u.init(cq(l.name))}));case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return dq(e.state,(e=>{void 0!==s?JSON.stringify(o.getState())!==JSON.stringify(e[s])&&p(e[s]):p(e)}));case"IMPORT_STATE":{const{nextLiftedState:n}=e.payload,r=null==(t=n.computedStates.slice(-1)[0])?void 0:t.state;if(!r)return;return p(void 0===s?r:r[s]),void(null==u||u.send(null,n))}case"PAUSE_RECORDING":return m=!m}return}})),h},dq=(e,t)=>{let n;try{n=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==n&&t(n)},mq=e=>(t,n,r)=>{const o=r.subscribe;r.subscribe=(e,t,n)=>{let i=e;if(t){const o=(null==n?void 0:n.equalityFn)||Object.is;let a=e(r.getState());i=n=>{const r=e(n);if(!o(a,r)){const e=a;t(a=r,e)}},(null==n?void 0:n.fireImmediately)&&t(a,a)}return o(i)};return e(t,n,r)};function pq(e,t){let n;try{n=e()}catch(e){return}return{getItem:e=>{var t;const r=e=>null===e?null:JSON.parse(e,void 0),o=null!=(t=n.getItem(e))?t:null;return o instanceof Promise?o.then(r):r(o)},setItem:(e,t)=>n.setItem(e,JSON.stringify(t,void 0)),removeItem:e=>n.removeItem(e)}}const hq=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then:e=>hq(e)(n),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>hq(t)(e)}}},fq=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),((e,t)=>(n,r,o)=>{let i={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},a=!1;const s=new Set,l=new Set;let c;try{c=i.getStorage()}catch(e){}if(!c)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...e)}),r,o);const u=hq(i.serialize),d=()=>{const e=i.partialize({...r()});let t;const n=u({state:e,version:i.version}).then((e=>c.setItem(i.name,e))).catch((e=>{t=e}));if(t)throw t;return n},m=o.setState;o.setState=(e,t)=>{m(e,t),d()};const p=e(((...e)=>{n(...e),d()}),r,o);let h;const f=()=>{var e;if(!c)return;a=!1,s.forEach((e=>e(r())));const t=(null==(e=i.onRehydrateStorage)?void 0:e.call(i,r()))||void 0;return hq(c.getItem.bind(c))(i.name).then((e=>{if(e)return i.deserialize(e)})).then((e=>{if(e){if("number"!=typeof e.version||e.version===i.version)return e.state;if(i.migrate)return i.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}})).then((e=>{var t;return h=i.merge(e,null!=(t=r())?t:p),n(h,!0),d()})).then((()=>{null==t||t(h,void 0),a=!0,l.forEach((e=>e(h)))})).catch((e=>{null==t||t(void 0,e)}))};return o.persist={setOptions:e=>{i={...i,...e},e.getStorage&&(c=e.getStorage())},clearStorage:()=>{null==c||c.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>f(),hasHydrated:()=>a,onHydrate:e=>(s.add(e),()=>{s.delete(e)}),onFinishHydration:e=>(l.add(e),()=>{l.delete(e)})},f(),h||p})(e,t)):((e,t)=>(n,r,o)=>{let i={storage:pq((()=>localStorage)),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},a=!1;const s=new Set,l=new Set;let c=i.storage;if(!c)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...e)}),r,o);const u=()=>{const e=i.partialize({...r()});return c.setItem(i.name,{state:e,version:i.version})},d=o.setState;o.setState=(e,t)=>{d(e,t),u()};const m=e(((...e)=>{n(...e),u()}),r,o);let p;o.getInitialState=()=>m;const h=()=>{var e,t;if(!c)return;a=!1,s.forEach((e=>{var t;return e(null!=(t=r())?t:m)}));const o=(null==(t=i.onRehydrateStorage)?void 0:t.call(i,null!=(e=r())?e:m))||void 0;return hq(c.getItem.bind(c))(i.name).then((e=>{if(e){if("number"!=typeof e.version||e.version===i.version)return[!1,e.state];if(i.migrate)return[!0,i.migrate(e.state,e.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]})).then((e=>{var t;const[o,a]=e;if(p=i.merge(a,null!=(t=r())?t:m),n(p,!0),o)return u()})).then((()=>{null==o||o(p,void 0),p=r(),a=!0,l.forEach((e=>e(p)))})).catch((e=>{null==o||o(void 0,e)}))};return o.persist={setOptions:e=>{i={...i,...e},e.storage&&(c=e.storage)},clearStorage:()=>{null==c||c.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>h(),hasHydrated:()=>a,onHydrate:e=>(s.add(e),()=>{s.delete(e)}),onFinishHydration:e=>(l.add(e),()=>{l.delete(e)})},i.skipHydration||h(),p||m})(e,t),gq=e=>(t,n,r)=>(r.setState=(e,n,...r)=>{const o="function"==typeof e?p.produce(e):e;return t(o,n,...r)},e(r.setState,n,r)),vq=a.create()(mq(gq((e=>({items:{[n.ECHO_CORE_SEARCH]:[]},addContent:t=>{e((e=>{const n={content:t.content,header:t.header||null,subHeader:t.subHeader||null,itemId:t.itemId,isOpen:!0};e.items[t.panelKey]||(e.items[t.panelKey]=[]);const r=e.items[t.panelKey];if(t.keepLastNavigationItem)r.push(n);else{r[r.length>0?r.length-1:0]=n}}))},removeLastContentByPanelKey:t=>{e((e=>{e.items[t].pop()}))},clearItemsByPanelKey:t=>{e((e=>{e.items[t]&&(e.items[t]=[])}))}})))));function yq(){return vq.getState()}const xq={},bq=()=>function(e,...t){const o=r.useCallback((()=>{console.log(`Trying to call hook ${e}(): but it is not available outside of echopediaWeb context.`)}),[e]);try{return!1===xq[e]?o:n.echoHookRegistry.getHookByName(e)(...t)}catch(t){if(t.getProperties&&"InvalidHookNameError"===t.getProperties().name)return xq[e]=!1,o;throw t}}(exports.RegisteredHookName.useSetActiveTagNo);function Cq(){const e=yq().addContent,{setActivePanel:t}=n.usePanels(),r=bq(),o=function(){try{return xC.useSetActiveMcPackNo()}catch(e){return()=>{console.warn("Searching for MC Pack isn't available in this environment.")}}}(),a=function(){try{return xC.useSetActiveCommPackNo()}catch(e){return()=>{console.warn("Searching for Comm Pack isn't available in this environment.")}}}();return function(n){const{panelKey:s,keepLastNavigationItem:l,prepviewInput:u}=n,{notificationId:d,workOrderId:m,punchId:p,instCode:h}=u;t(s),e({keepLastNavigationItem:l,panelKey:s,content:c.jsx(sq,{instCode:h,orientation:i.SideSheetOrientation.Vertical,workOrderId:m,notificationId:d,punchId:p,tagClicked:(e,t)=>r({tagNo:e,instCode:t,activePanelKey:s,keepLastNavigationItem:!0}),packageClicked:(e,t,n)=>{e===exports.ItemTypes.mcPack?o({mcPackNo:t,activeMcPackProject:n}):e===exports.ItemTypes.commPack&&a({commPackNo:t,activeCommPackProject:n})}})})}}function Iq(){d.Icon.add(Object.assign({},C))}var Eq="leftPanelNavigationContainer-module_headerWrapper__kUCQs",_q="leftPanelNavigationContainer-module_headerContainer__h-PyC",Aq="leftPanelNavigationContainer-module_contentContainer__qiM8g";Ad(".leftPanelNavigationContainer-module_headerWrapper__kUCQs{border-bottom:1px solid var(--default)}.leftPanelNavigationContainer-module_headerContainer__h-PyC{flex-grow:1}.leftPanelNavigationContainer-module_contentContainer__qiM8g{flex-grow:1;overflow-x:hidden;overflow-y:auto}");const wq=({itemToDisplay:e})=>e.header?c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:Eq,children:[c.jsx("div",{className:_q,children:e.header}),e.subHeader&&c.jsx("div",{children:e.subHeader})]}),c.jsx("div",{className:Aq,children:e.content})]}):c.jsx("div",{className:Aq,children:e.content});var Sq="leftPanelNavigationSideSheet-module_leftPanelNavigationContainer__7drus",kq="leftPanelNavigationSideSheet-module_containerWithActiveLegend__VrCrf";Ad(".leftPanelNavigationSideSheet-module_leftPanelNavigationContainer__7drus{background:var(--white);display:flex;flex-direction:column;height:calc(100% - 2.8rem);padding-bottom:env(safe-area-inset-bottom);position:absolute;top:2.8rem;width:100%;z-index:11}.leftPanelNavigationSideSheet-module_containerWithActiveLegend__VrCrf{padding-bottom:60px}@media screen and (max-width:927px) and (orientation:landscape){.leftPanelNavigationSideSheet-module_containerWithActiveLegend__VrCrf{padding-bottom:calc(46px + env(safe-area-inset-bottom))}}@media screen and (max-width:767px) and (orientation:portrait){.leftPanelNavigationSideSheet-module_containerWithActiveLegend__VrCrf{padding-bottom:calc(53px + env(safe-area-inset-bottom))}}");const jq=({itemToDisplay:e})=>{const{isLegendActive:t}=uC();return e?c.jsx("div",{className:`${Sq} ${t?kq:""}`,children:c.jsx(wq,{itemToDisplay:e})}):null};var Nq="corePanelLeft-module_wrapper__7rR84",Tq="corePanelLeft-module_wrapperClosed__D5H3B",Pq="corePanelLeft-module_active__0B7aF",Oq="corePanelLeft-module_drawer__TfzGI",Mq="corePanelLeft-module_sideSheet__3jt0-";Ad(".corePanelLeft-module_wrapper__7rR84{font-family:var(--eq-echo-font-family);height:calc(100% - 60px);left:-550px;max-width:550px;position:fixed;top:0;transition:all .4s ease-out;width:550px;z-index:2}@media screen and (max-width:550px){.corePanelLeft-module_wrapperClosed__D5H3B{left:-75vw;max-width:75vw;padding:env(safe-area-inset-top,56px) env(safe-area-inset-right,56px) env(safe-area-inset-bottom,56px) env(safe-area-inset-left,56px);width:75vw}.corePanelLeft-module_active__0B7aF{width:100%}}.corePanelLeft-module_active__0B7aF{left:0;z-index:var(--echo-framework-z-level-panel-left)}.corePanelLeft-module_drawer__TfzGI{background-color:#fff;box-shadow:0 6px 4px #00000040;display:flex;flex-direction:column;height:100%;opacity:0;overflow-x:hidden;overflow-y:hidden;position:relative;transition:all .4s ease-out;width:auto}.corePanelLeft-module_active__0B7aF .corePanelLeft-module_drawer__TfzGI{opacity:1}.corePanelLeft-module_button__pJXdM{margin-left:var(--medium);margin-top:var(--small)}@media screen and (max-width:767px) and (orientation:portrait){.corePanelLeft-module_wrapper__7rR84{height:calc(100% - 48px)}.corePanelLeft-module_drawer__TfzGI{left:0;top:100vh}.corePanelLeft-module_active__0B7aF .corePanelLeft-module_drawer__TfzGI{left:0;top:0}}@media screen and (max-width:927px) and (orientation:landscape){.corePanelLeft-module_active__0B7aF{height:100%;left:calc(53px + env(safe-area-inset-left))}}@media screen and (min-width:928px) and (orientation:landscape){.corePanelLeft-module_wrapper__7rR84{top:64px}.corePanelLeft-module_wrapper__7rR84.corePanelLeft-module_active__0B7aF{left:64px}}@media screen and (min-width:768px) and (orientation:portrait){.corePanelLeft-module_wrapper__7rR84{top:64px}.corePanelLeft-module_wrapper__7rR84.corePanelLeft-module_active__0B7aF{left:64px}}.corePanelLeft-module_sideSheet__3jt0-{height:100%;width:100%}");var Lq="previous-module_sideSheetPreviousWrapper__Qqu1q";Ad(".previous-module_sideSheetPreviousWrapper__Qqu1q{align-items:center;display:flex;flex-flow:row nowrap;gap:.5rem;padding:0 1rem}.previous-module_sideSheetPreviousWrapper__Qqu1q button{min-width:40px}");const Bq=({title:e,onClick:t})=>c.jsxs("div",{className:Lq,children:[c.jsx(d.Button,{variant:"ghost_icon",onClick:t,"aria-label":"Navigate back",children:c.jsx(d.Icon,{name:"chevron_left"})}),c.jsx(d.Typography,{group:"navigation",variant:"button",color:"var(--disabledColor)",children:e})]}),Dq=e=>{const t={panelKey:e};n.eventHub.emit(n.EchoEvents.SearchItemDetailsClosed,t)};Iq();const Rq=()=>{var e;const{modulePanels:o,activePanel:a,isPanelActive:s,panelUI:l}=n.usePanels(),[u,d]=r.useState([]),{updateActiveAppMenuItem:m}=uC(),p=n.useActivePanelState().activePanel,h=Cq(),f=null===(e=u.find((e=>e.key===a)))||void 0===e?void 0:e.component,{previousButton:g,activeSearchItem:v}=(()=>{const{modulePanels:e}=n.usePanels(),[o,i]=r.useState(void 0),[a,s]=r.useState(),l=n.useActivePanelState().activePanel,u=vq((e=>e.items))[l],d=vq.getState().removeLastContentByPanelKey;return r.useEffect((()=>{if(a){const t=ob(u,e,l),n=()=>{d(l),(null==u?void 0:u.length)<=1&&Dq(l)};i(c.jsx(Bq,{title:t,onClick:n}))}else i(void 0)}),[l,a,e,u]),r.useEffect((()=>{s(t.last(u))}),[l,u]),{previousButton:o,activeSearchItem:a}})();return r.useEffect((()=>{d(o)}),[o]),n.useEventSubscriber(n.EchoEvents.OpenPrepview,(e=>{h({prepviewInput:{workOrderId:e.workOrderId,notificationId:e.notificationId,punchId:e.punchId,instCode:e.instCode},panelKey:p})})),c.jsx("div",{className:Nq+` ${s?Pq:Tq}`,style:l.panelWrapper,children:c.jsx("div",{className:Oq,style:l.panel,children:c.jsxs(i.SideSheet,{open:s,side:"left",previous:g,closeSheet:()=>{m(""),n.setActivePanel("")},orientation:i.SideSheetOrientation.Vertical,className:Mq,children:[a&&f?c.jsx(f,{}):null,c.jsx(jq,{itemToDisplay:v})]})})})};var zq="corePanelRight-module_wrapper__6hUmM",Fq="corePanelRight-module_active__Wuvv-",Hq="corePanelRight-module_drawer__Q5mok",qq="corePanelRight-module_appWrapper__v4ckB",Uq="corePanelRight-module_appDrawer__awaaJ";Ad(".corePanelRight-module_wrapper__6hUmM{height:100%;max-width:550px;position:fixed;right:-352px;top:0;transition:right .4s ease-in-out,width .4s ease-in-out;width:352px;z-index:2}.corePanelRight-module_active__Wuvv-{right:0;z-index:var(--echo-framework-z-level-panel-main)}.corePanelRight-module_drawer__Q5mok{background-color:#fff;border-left:2px solid #f7f7f7;box-shadow:0 6px 4px #00000040;display:flex;flex-direction:column;height:100%;opacity:0;overflow-x:hidden;overflow-y:auto;position:relative;transition:opacity .4s ease-in-out;width:auto}.corePanelRight-module_buttonContainer__it2ZH{display:flex;flex-direction:column;left:-80px;position:absolute;top:0}.corePanelRight-module_button__x9SCR{margin-left:var(--medium);margin-top:var(--small)}@media screen and (max-width:550px){.corePanelRight-module_active__Wuvv-{width:100%}}@media screen and (max-width:767px) and (orientation:portrait){.corePanelRight-module_wrapper__6hUmM{height:calc(100% - 48px)}.corePanelRight-module_drawer__Q5mok{transition:all .4s ease-out}}@media screen and (max-width:927px) and (orientation:landscape){.corePanelRight-module_wrapper__6hUmM .corePanelRight-module_buttonContainer__it2ZH{left:calc(-82px - env(safe-area-inset-right))}.corePanelRight-module_appWrapper__v4ckB{right:-352px}.corePanelRight-module_appWrapper__v4ckB .corePanelRight-module_buttonContainer__it2ZH{left:calc(273px - env(safe-area-inset-right))}.corePanelRight-module_appDrawer__awaaJ{box-shadow:none;left:calc(-100vw + 398px + env(safe-area-inset-left))}.corePanelRight-module_appWrapper__v4ckB .corePanelRight-module_appDrawer__awaaJ{left:calc(-100vw + 50px + env(safe-area-inset-left))}.corePanelRight-module_drawer__Q5mok{box-shadow:none;transition:all .4s ease-out}.corePanelRight-module_active__Wuvv-{padding-top:env(safe-area-inset-top);right:-352px;z-index:var(--echo-framework-z-level-panel-main)}.corePanelRight-module_active__Wuvv- .corePanelRight-module_drawer__Q5mok{right:calc(352px + env(safe-area-inset-right))}.corePanelRight-module_wrapper__6hUmM.corePanelRight-module_active__Wuvv- .corePanelRight-module_buttonContainer__it2ZH{left:calc(-432px - env(safe-area-inset-right))}.corePanelRight-module_wrapper__6hUmM.corePanelRight-module_appWrapper__v4ckB.corePanelRight-module_active__Wuvv- .corePanelRight-module_buttonContainer__it2ZH{left:calc(-82px - env(safe-area-inset-right))}}@media screen and (min-width:928px){.corePanelRight-module_wrapper__6hUmM{top:64px}}.corePanelRight-module_active__Wuvv- .corePanelRight-module_drawer__Q5mok{opacity:1}"),Iq();const Gq=r.memo((()=>{var e;const{modulePanels:t,activePanel:o,isPanelActive:i,panelUI:a}=n.usePanels("right"),[s,l]=r.useState([]);r.useEffect((()=>{l(t)}),[t]);const u=o===n.ECHO_CORE_MAIN,d=null===(e=s.find((e=>e.key===o)))||void 0===e?void 0:e.component;return c.jsx("div",{className:`${zq} ${i?Fq:""} ${u?qq:""}`,style:a.panelWrapper,children:c.jsx("div",{className:`${Hq} ${u?Uq:""}`,style:a.panel,children:o&&d?c.jsx(d,{}):null})})}));function Wq(e,t){const n=e.filter((e=>e.toLowerCase().startsWith(t.toLowerCase()))),r=e.filter((e=>e.toLowerCase().includes(t.toLowerCase()))).filter((e=>!n.includes(e)));return n.concat(r)}var Qq="ProcosysProjectSelector-module_spinner__qS6wk",Yq="ProcosysProjectSelector-module_loadingIndicatorWrapper__rDcO6";Ad(".ProcosysProjectSelector-module_spinner__qS6wk{padding-left:.5em}.ProcosysProjectSelector-module_loadingIndicatorWrapper__rDcO6{font-family:var(--eq-echo-font-family)}");const Vq="All projects";var Zq="IMSConnector-module_wrapper__ogTbZ",Kq="IMSConnector-module_experimentalWarning__XcIXh IMSConnector-module_wrapper__ogTbZ",Jq="IMSConnector-module_message__1U-KH",Xq="IMSConnector-module_requestAccess__WaWbI";function $q(e,t,n){r.useEffect((()=>{if(e)return e.on(t,n),()=>{e.off(t,n)}}),[e,t,n])}function eU(e){return Object.assign(Object.assign({},e),{loading:!1})}function tU(e){return Object.assign(Object.assign({},e),{loading:!0})}function nU(){return Ym(this,void 0,void 0,(function*(){return n.EchoClient.getAccessToken()}))}function rU(t,o){const i=function(t){const[o,i]=r.useState({status:"ok",loading:!1});return $q(o.connection,"subscribe",((e,t,n)=>{i(200===t?e=>Object.assign(Object.assign({},e),{loading:!1,status:"ok",statusCode:t}):e=>Object.assign(Object.assign({},e),{loading:!1,status:"error",statusCode:t,message:"string"==typeof n?n:""}))})),e.useEffectAsync((e=>Ym(this,void 0,void 0,(function*(){function r(t){e.aborted||i(t)}const o=(new f.HubConnectionBuilder).withUrl(n.baseApiUrl+t,{accessTokenFactory:nU}).withAutomaticReconnect().build();return o.onreconnected((()=>r(tU))),o.onreconnecting((()=>r(eU))),yield o.start(),r((e=>Object.assign(Object.assign({},e),{connection:o}))),r(tU),()=>{o.stop()}}))),[]),o}("/real-time-data"),{connection:a,loading:s}=i,l=Qm(i,["connection","loading"]),[c,u]=r.useState(),[d,m]=r.useState();return $q(a,"realtimedata",(e=>{const[t]=e.dataPoints;m(t)})),e.useEffectAsync((()=>Ym(this,void 0,void 0,(function*(){if(!o||!a)return;const e=yield function(e,t){return Ym(this,void 0,void 0,(function*(){var r;const o=`${n.baseApiUrl}/${t}/timeseries/search-ims-by-name?name=${e}`;try{const t=yield n.request({url:o,cache:{timeInSeconds:0}});return null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.items.find((t=>t.name===e))}catch(e){return}}))}(t,o);if(e){u(e);const t=e.id,r=yield n.EchoClient.getAccessToken();return yield a.send("subscribe",r,t),()=>Ym(this,void 0,void 0,(function*(){a.state===f.HubConnectionState.Connected&&(yield a.send("unsubscribe",t))}))}}))),[a,t,o]),Object.assign({metadata:c,present:d,connection:a,loading:s||!d},l)}function oU({ims:e,instCode:t}){const{metadata:n,present:o,status:a,message:s,loading:l,statusCode:u}=rU(e,t),[m,p]=r.useMemo((()=>o&&n?[o.value,n.unit]:[]),[n,o]);return"error"===a?c.jsx(aU,{instCode:t,statusCode:u,message:s}):c.jsxs("div",{className:Zq,children:[c.jsx("div",{children:l?c.jsx(d.CircularProgress,{}):c.jsx(iU,{value:m,unit:p})}),c.jsxs("div",{className:Kq,children:[c.jsx(d.Icon,{name:"warning_outlined",color:i.themeConst.warningIcon}),c.jsx(d.Typography,{variant:"helper",group:"input",children:"Tag sensor mapping is experimental, do not use for operational purposes"})]})]})}function iU({value:e,unit:t}){return null==e?null:c.jsxs(c.Fragment,{children:[c.jsx("span",{children:e})," ",t&&c.jsx("b",{children:t})]})}function aU({instCode:e,statusCode:t,message:n}){const r=403===t||(null==n?void 0:n.includes("Error validating access"));return c.jsx("div",{className:Jq,children:r?c.jsx(sU,{instCode:e}):c.jsx(d.Typography,{variant:"body_short",color:i.themeConst.echoText,children:null!=n?n:"Something went wrong with RTD connection."})})}function sU({instCode:e}){const t=new URL("https://accessit.equinor.com");return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:Xq,children:[c.jsx(d.Typography,{variant:"body_short",color:i.themeConst.echoText,children:"You need access to:"}),c.jsxs(d.List,{children:[c.jsx(d.List.Item,{children:"Omnia Plant Timeseries Read"}),c.jsx(d.List.Item,{children:"PI vision"}),"JSV"!==e&&c.jsx(d.List.Item,{children:"AspenOne Process Explorer"})]})]}),c.jsx(d.Button,{as:"a",href:t.href,variant:"outlined",children:"Go to AccessIT"})]})}Ad(".IMSConnector-module_wrapper__ogTbZ{align-items:center;display:grid;gap:1rem;grid-row:1fr;grid-template-columns:1fr 1fr;justify-items:center;margin-top:1rem}.IMSConnector-module_experimentalWarning__XcIXh{grid-template-columns:auto 1fr;margin-top:0}.IMSConnector-module_message__1U-KH{margin-top:1rem;width:100%}.IMSConnector-module_requestAccess__WaWbI{margin-bottom:1rem}");var lU="Popover-module_wrapper__bp2D1",cU="Popover-module_optionsPopover__THa5w";Ad(".Popover-module_wrapper__bp2D1{display:flex;flex-direction:column;left:0;position:absolute;right:0;z-index:10}.Popover-module_optionsPopover__THa5w{display:flex}@media screen and (max-width:440px){.Popover-module_optionsPopover__THa5w{max-width:270px}.Popover-module_wrapper__bp2D1{left:0}.Popover-module_optionsPopover__THa5w{align-self:flex-start}}");const uU=({children:e})=>c.jsx("div",{className:lU,onClick:e=>e.stopPropagation(),children:c.jsx("div",{className:cU,children:e})});var dU="RealTimeContextButton-module_wrapper__YxXsd",mU="RealTimeContextButton-module_button__3CZB-";Ad(".RealTimeContextButton-module_wrapper__YxXsd{margin-left:4px}.RealTimeContextButton-module_button__3CZB-{background-color:var(--white)!important;border:3px solid var(--white)!important;border-radius:10rem;box-shadow:0 4px 4px rgba(0,0,0,.25);box-sizing:border-box;height:46px!important;width:46px!important}.RealTimeContextButton-module_button__3CZB-:hover{background:#deedee!important}");const pU=({onOpen:e,children:t})=>{const[n,o]=r.useState(!1);return c.jsxs("div",{className:dU,children:[c.jsx(d.Button,{className:mU,variant:"ghost_icon",onClick:function(){const t=!n;t&&e&&e(),o(t)},children:n?c.jsx(d.Icon,{name:"close",title:"Close Real Time Data",color:i.themeConst.asBuilt}):c.jsx(d.Icon,{name:"timeline",title:"Real Time Data",color:i.themeConst.asBuilt})}),n&&c.jsx(uU,{children:t})]})};var hU="RealTimeIMSDropdown-module_popoverContent__8L19L",fU="RealTimeIMSDropdown-module_select__Bnhdb";function gU({imsFields:e,instCode:t}){const[n,o]=r.useState(void 0),i=r.useMemo((()=>e.map((e=>e.description))),[e]);return c.jsxs("div",{className:hU,children:[c.jsx(d.Autocomplete,{className:fU,label:"Select sensor",options:i,onOptionsChange:t=>function(t){let n;t&&(n=e.find((e=>e.description===t))),o(n)}(t.selectedItems[0])}),n&&c.jsx(oU,{ims:n.value,instCode:t})]})}Ad(".RealTimeIMSDropdown-module_popoverContent__8L19L{align-items:center;background-color:#fff;border-color:grey;border-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);display:flex;flex-direction:column;margin-top:1rem;padding:1rem;width:100%}.RealTimeIMSDropdown-module_select__Bnhdb{width:100%}");const vU=e=>"/"===e?"":e.split("/")[1].split("?")[0],yU=({children:e,path:t})=>{const o=vU(t);return r.useEffect((()=>{o&&n.setActiveModulePanels(o)}),[o]),c.jsx(c.Fragment,{children:e})},xU=({component:e,layoutKey:t,path:n,errorHandler:r,exactPath:i=!0})=>c.jsx(o.Route,{exact:i,path:n,render:o=>c.jsx(pI,{layoutKey:t,children:c.jsx(yU,{path:n,children:c.jsx(jM,{onComponentDidCatch:r,children:c.jsx(e,Object.assign({},o))})})})});var bU="searchMenu-module_panel__Yu-T9",CU="searchMenu-module_wrapper__qjLIJ";Ad(".searchMenu-module_panel__Yu-T9{padding:var(--small)}.searchMenu-module_wrapper__qjLIJ{display:flex;flex-direction:column;margin:10px}.searchMenu-module_close__TqvNf{align-self:end}");const IU=()=>c.jsx("div",{className:CU,children:c.jsxs("div",{className:bU,children:[c.jsx("h3",{children:"SearchMenu"}),c.jsxs("p",{children:["You're running your echo app in ",c.jsx("b",{children:"echo-client"}),", the client - shell application for echo apps / modules."]}),c.jsxs("p",{children:[c.jsx("b",{children:"echo-client"})," is a bare-bones version of the original app, echopediaWeb. The purpose of it is to help echo teams to develop their app independently from echopediaWeb itself."]})]})});var EU="tagNo-module_tagNo__5ADD6";Ad(".tagNo-module_tagNo__5ADD6{color:var(--asBuilt);cursor:pointer;text-decoration:underline}");var _U="tagSearchDropDown-module_tagSearchItem__LE0Mo",AU="tagSearchDropDown-module_tagSearchItemNoAndDescription__f8glq",wU="tagSearchDropDown-module_tagDescription__q2Ix-",SU="tagSearchDropDown-module_tagCategoryDescription__keZYa",kU="tagSearchDropDown-module_tagsSearchDropDownBtn__NqYLZ";Ad(".tagSearchDropDown-module_tagSearchItem__LE0Mo{align-self:center;display:flex;flex-direction:row;justify-content:space-between}.tagSearchDropDown-module_tagSearchItemNoAndDescription__f8glq{display:flex;flex-direction:column;max-width:60%}.tagSearchDropDown-module_tagDescription__q2Ix-{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tagSearchDropDown-module_tagCategoryDescription__keZYa{align-items:center;display:flex;flex-shrink:0;justify-content:center;max-width:40%;text-align:right}.tagSearchDropDown-module_tagNumber__forRM{font-weight:500}.tagSearchDropDown-module_tagsSearchDropDownBtn__NqYLZ{background:transparent;border:none;box-sizing:border-box;margin-bottom:var(--small);padding:var(--small);text-align:left;width:100%}.tagSearchDropDown-module_tagsSearchDropDownBtn__NqYLZ:focus,.tagSearchDropDown-module_tagsSearchDropDownBtn__NqYLZ:hover{background-color:#e6faec;color:var(--equiGreen1)}.tagSearchDropDown-module_tagsSearchDropDownBtn__NqYLZ:focus{border:1px solid var(--equiGreen1);box-sizing:border-box}");var jU="toaster-module_toaster__fYuyY",NU="toaster-module_chip__-w1z2",TU="toaster-module_toastersSection__ypjaz",PU="toaster-module_toasterContent__aOWAH",OU="toaster-module_toasterMessage__jIGxU",MU="toaster-module_closeIcon__LSaoV";Ad(".toaster-module_toaster__fYuyY{bottom:var(--medium);left:var(--small);max-width:fit-content;position:fixed;right:var(--medium)}@media screen and (max-width:927px) and (orientation:landscape){.toaster-module_toaster__fYuyY{left:64px!important}}@media screen and (max-width:767px) and (orientation:portrait){.toaster-module_toaster__fYuyY{bottom:64px!important}}.toaster-module_chip__-w1z2{padding:5px!important;position:absolute;right:-5px;top:-5px}.toaster-module_toastersSection__ypjaz{grid-gap:24px;align-items:start;bottom:8px;display:grid;grid-auto-rows:32px;height:auto;left:8px;position:absolute}.toaster-module_toastersSection__ypjaz>div{height:32px;position:relative;width:fit-content}@media (display-mode:standalone){@media screen and (max-width:927px) and (orientation:landscape){.toaster-module_toaster__fYuyY{left:104px!important;margin-left:var(--small)!important}}@media screen and (max-width:767px) and (orientation:portrait){.toaster-module_toaster__fYuyY{bottom:84px!important;margin-bottom:var(--small)!important}}}.toaster-module_toasterContent__aOWAH{align-items:center;display:flex}.toaster-module_toasterMessage__jIGxU{display:flex;width:100%}.toaster-module_closeIcon__LSaoV{display:flex;margin-left:var(--small)}.toaster-module_closeIcon__LSaoV>svg:hover{opacity:.6}");const LU=({toast:e,numberOfToasts:t,toastNumber:n,onClose:o})=>{const[i,a]=r.useState(!0);return c.jsxs(d.Snackbar,{placement:"bottom-left",open:i,className:jU,children:[n===t-1&&1!==t&&c.jsx(d.Chip,{variant:"error",className:NU,children:t}),c.jsxs("div",{className:PU,children:[c.jsx("div",{className:OU,children:e.message}),c.jsx("div",{className:MU,children:c.jsx(d.Icon,{name:"clear",onClick:e=>{e.stopPropagation(),a(!1),null==o||o(),e.preventDefault()}})})]})]})};let BU=[];var DU="requestAccessButton-module_requestAccessButtonAlone__60GkV";Ad(".requestAccessButton-module_requestAccessButtonAlone__60GkV{margin:.7rem 0 0!important;padding:0 16px!important}");const RU=({applyForAccessUrl:e,buttonLabel:t,className:n,onClicked:r})=>{return o=null!=n?n:DU,c.jsx(d.Button,{onClick:()=>{!function(){Ym(this,void 0,void 0,(function*(){window.open(e),null==r||r()}))}()},variant:"outlined",className:o,children:t||"Request access"});var o};var zU="requestSapAccess-module_container__qoodA",FU="requestSapAccess-module_paddedContainer__4BDiJ",HU="requestSapAccess-module_title__n-xpz",qU="requestSapAccess-module_typeDescription__g73Cw",UU="requestSapAccess-module_list__XwqOb";Ad(".requestSapAccess-module_container__qoodA{padding:unset}.requestSapAccess-module_paddedContainer__4BDiJ{padding:24px}.requestSapAccess-module_title__n-xpz{font-weight:500}.requestSapAccess-module_typeDescription__g73Cw{margin-top:20px}.requestSapAccess-module_list__XwqOb,.requestSapAccess-module_list__XwqOb>:not(:first-child){margin-top:0}");const GU={component:lB,panelType:"right",key:n.ECHO_CORE_MAIN,icon:SC,label:"Echo"},WU={component:IU,panelType:"left",key:n.ECHO_CORE_SEARCH,icon:()=>c.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.965 14.255H15.755L20.745 19.255L19.255 20.745L14.255 15.755V14.965L13.985 14.685C12.845 15.665 11.365 16.255 9.755 16.255C6.165 16.255 3.255 13.345 3.255 9.755C3.255 6.165 6.165 3.255 9.755 3.255C13.345 3.255 16.255 6.165 16.255 9.755C16.255 11.365 15.665 12.845 14.685 13.985L14.965 14.255ZM5.255 9.755C5.255 12.245 7.26501 14.255 9.755 14.255C12.245 14.255 14.255 12.245 14.255 9.755C14.255 7.26501 12.245 5.255 9.755 5.255C7.26501 5.255 5.255 7.26501 5.255 9.755Z",fill:"#007079"})}),label:"Search"};function QU(e,t=500){const n=r.useRef(),o=()=>{n.current&&clearTimeout(n.current)};return{onTouchStart:r=>{return o=r,void(n.current=setTimeout((()=>{e(o)}),t));var o},onTouchMove:()=>o(),onTouchEnd:()=>o()}}function YU(e){return Ym(this,void 0,void 0,(function*(){let t=null==e?void 0:e.target;"MARK"===t.nodeName&&t.parentElement&&(t=t.parentElement);const n=function(e){let t=e.firstChild;if(!t)return;const n=[];for(;t;)"MARK"===t.nodeName&&t.textContent&&n.push(t.textContent),t.nodeType===Node.TEXT_NODE&&t.nodeValue&&n.push(t.nodeValue),t=t.nextSibling;return n.join("")}(t);n&&(yield navigator.clipboard.writeText(n),lN({message:`Text copied to clipboard: ${n}`}))}))}var VU="EchoEventHandler-module_echoEventContainer__h6p5a";Ad(".EchoEventHandler-module_echoEventContainer__h6p5a{height:100%}");var ZU,KU=G,JU=Pr,XU=as,$U=re,eG=KU(PD),tG=KU("".slice),nG=Math.ceil,rG={start:(ZU=!1,function(e,t,n){var r,o,i=XU($U(e)),a=JU(t),s=i.length,l=void 0===n?" ":XU(n);return a<=s||""===l?i:((o=eG(l,nG((r=a-s)/l.length))).length>r&&(o=tG(o,0,r)),ZU?i+o:o+i)})},oG=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(ve),iG=rG.start;function aG(e){return Ym(this,void 0,void 0,(function*(){var t;let r="equipmentId"in e?[e.equipmentId]:e.equipmentIds;if(0===r.length)return[];r=r.map((e=>`${e}`.padStart(18,"0")));const o="includeMeasuringPoints"in e&&e.includeMeasuringPoints,i=`${n.baseApiUrl}/equipment/search?${r.map((e=>`equipmentId=${e}`)).join("&")}&includeMeasuringPoints=${o?"true":"false"}`;return null!==(t=yield n.request({url:i}))&&void 0!==t?t:[]}))}_o({target:"String",proto:!0,forced:oG},{padStart:function(e){return iG(this,e,arguments.length>1?arguments[1]:void 0)}});const sG=({equipment:e})=>c.jsx(i.ListItem,{primary:rb(e.equipmentId),icon:{name:"donut_outlined",color:i.themeConst.white,backgroundColor:"var(--strongGray)"},secondary:e.equipmentDescription,as:"div",hideBorderBottom:!0});function lG(e){const[t,o]=r.useState({});return n.useEventSubscriber(n.EchoEvents.LegendStatusesChanged,(e=>{setTimeout((()=>{o(e.itemIdToStatusMap)}),0)})),r.useEffect((()=>{if(e)return n.eventHub.emit(n.EchoEvents.AddNewItemToLegendRegistryRequest,{itemId:e,itemType:"tag",appKey:"search"}),()=>{n.eventHub.emit(n.EchoEvents.RemoveItemFromLegendRegistryRequest,{itemId:e,itemType:"tag",appKey:"search"})}}),[e]),t}const cG=Ed;function uG(e){return Cd.toSingleStatuses(e).map((e=>({title:e,color:Id(e)})))}const dG=({equipment:e,tagNo:t,plantNo:r})=>{const o=lG(t),a=bq(),s=n.useActivePanelState().activePanel,l=[{label:"MANUFACTURER",value:e.manufacturer},{label:"MODEL NO.",value:e.modelNo},{label:"PART NO.",value:e.partNo},{label:"SERIAL NO.",value:e.serialNo},{label:"MATERIAL DETAIL",value:e.materialDescription},{label:"MATERIAL GROUP",value:e.materialGroup},{label:"NPS",value:e.nominalPipeSize},{label:"SURFACE ITEMS",value:e.surfaceItems},{label:"CUI ITEM",value:e.cuiItem},{label:"INSULATION CLASS",value:e.insulationClass},{label:"COATING SYSTEM BY DESIGN",value:e.coatingSystemByDesign},{label:"COATING SYSTEM FOR MAINTENANCE",value:e.coatingSystemForMaintenance},{label:"TAG",value:""!==t&&c.jsx(i.InlineTagIconLink,{tagNo:t,description:"",legendColor:o?Id(Ed(o[t])):i.themeConst.strongGray,icon:"tag",onClickHandler:()=>Ym(void 0,void 0,void 0,(function*(){const e=yield function(e){return Ym(this,void 0,void 0,(function*(){var t;return null===(t=(yield Rp()).find((t=>{var n;return(null===(n=t.sapId)||void 0===n?void 0:n.toString())===e})))||void 0===t?void 0:t.installationCode}))}(r);a({tagNo:t,instCode:e,keepLastNavigationItem:!0,activePanelKey:s})}))})}].filter((e=>e.value));return c.jsx(sL,{fields:l})};function mG(e){return e.pdmsPlantCode}function pG(e,t){var n;let r=`?instCode=${e}`;return r+=hG("plantCode",t.pdmsPlantCode),r+=hG("tagNo",t.tagNo),r+=hG("tagArea",t.tagArea),r+=hG("e3dRef",t.e3dRef),r+=hG("equipmentId",t.equipmentId),r+=hG("measuringPointIds",null===(n=t.measuringPointIds)||void 0===n?void 0:n.join(",")),{echo3d:"/echo3d",params:r}}function hG(e,t){return t&&""!==t.trim()?`&${e}=${encodeURIComponent(t)}`:""}var fG;!function(e){e.L="L",e.M="M"}(fG||(fG={}));const gG=e=>e.categoryId===fG.L&&!!e.e3DRef;var vG="equipmentItemSubHeader-module_equipmentSubHeader__d-cN5",yG="equipmentItemSubHeader-module_icon__95a44";Ad(".equipmentItemSubHeader-module_equipmentSubHeader__d-cN5{display:flex;justify-content:flex-end;margin:var(--xSmall)}.equipmentItemSubHeader-module_icon__95a44{margin-left:var(--xSmall)}.equipmentItemSubHeader-module_spinner__tpbt2{height:16px;margin-right:var(--small)}");var xG="linkToSapEquipment-module_appIcon__YMZul";Ad(".linkToSapEquipment-module_appIcon__YMZul{padding-left:var(--xSmall)}");const bG=({isDialogOpen:e,setIsDialogOpen:t,urlToSap:n})=>{const r={title:"Go to SAP",onClick:()=>{$p(n),t(!1)}},o={title:"Cancel",variant:"outlined",onClick:()=>{t(!1)}};return c.jsxs(i.DialogGenerator,{open:e,dialogStyle:{minWidth:"290px",width:"auto",maxWidth:"600px"},title:"Equinor Network is required",actionButtons:[r,o],children:[c.jsx(d.Typography,{children:"You need to be connected to the Equinor Network to get access to SAP."}),c.jsx(d.Typography,{children:"Please connect to the Equinor Network, then click “Go to SAP” to open SAP."})]})},CG=({plantNo:t,tagNo:n})=>{const{isSourceAvailable:o}=e.Hooks.usePing(exports.PingableSources.Sap),[i,a]=r.useState(!1),s=`https://p03web.statoil.no/sap/bc/webdynpro/sap/zompm_lookup_eq_info?run=x&tplnr=${t}-${n}`;return c.jsxs(c.Fragment,{children:[c.jsx(d.Button,{fullWidth:!0,variant:"ghost",onClick:()=>function(){return Ym(this,void 0,void 0,(function*(){o?s&&$p(s):a(!0)}))}(),children:c.jsxs(c.Fragment,{children:["SAP",c.jsx(d.Icon,{name:"external_link",size:24,className:xG})]})}),!o&&c.jsx(bG,{isDialogOpen:i,setIsDialogOpen:a,urlToSap:s})]})};var IG="showEquipmentIn3DButton-module_appIcon__MDr0B";Ad(".showEquipmentIn3DButton-module_appIcon__MDr0B{padding-left:var(--xSmall)}");const EG=({equipment:e,tagNo:t})=>{const r=n.useInternalLink(),i=o.useLocation(),a=n.useInstCode();return c.jsx(d.Button,{fullWidth:!0,variant:"ghost",onClick:()=>{var o;(e=>{Ym(void 0,[e],void 0,(function*({equipmentId:e,e3dRef:t,goToLink:r,pathname:o,instCode:i,tagNo:a}){const c=yield l.Search.Tags.getAsync(a);if(l.resultHelper.throwIfError(c),!c.value)throw new s.NotFoundError({message:`Could not find ${i} ${a}`,httpStatusCode:404,url:"getTagDetails"});const u=mG(c.value);if("/echo3d"===o)n.eventHub.emit(n.EchoEvents.EquipmentWithE3DRefClicked,{plantCode:u,tagNo:a,equipmentId:e,e3dRef:t});else{const n=pG(i,{pdmsPlantCode:u,tagNo:a,equipmentId:e,e3dRef:t});r(n.echo3d,{params:n.params})}}))})({equipmentId:e.equipmentId,e3dRef:null!==(o=e.e3DRef)&&void 0!==o?o:"",goToLink:r,pathname:i.pathname,instCode:a,tagNo:t})},children:c.jsxs(c.Fragment,{children:["3D ",c.jsx(d.Icon,{name:"rotate_3d",className:IG})]})})},_G=({equipment:e,tagNo:t,plantNo:n})=>c.jsxs("div",{className:vG,children:[gG(e)&&c.jsx("div",{className:yG,children:c.jsx(EG,{equipment:e,tagNo:t})}),c.jsx("div",{className:yG,children:c.jsx(CG,{plantNo:n,tagNo:t})})]});var AG="tabSpinner-module_marginLeft__d9T53";Ad(".tabSpinner-module_marginLeft__d9T53{display:inline-block;margin-left:var(--small)}");const wG=()=>c.jsx("span",{className:AG,children:c.jsx(d.Progress.Circular,{size:16})}),SG={enabled:"test"!==process.env.NODE_ENV,store:"userSettingsStore",name:"user-settings-store"},kG={measuringPointsEnabled:(()=>{const e="measuringPointsEnabled",t=localStorage.getItem(e);return t&&localStorage.removeItem(e),null!==t&&JSON.parse(t)})(),selectedLegacyLegend:{isEnabled:!0,legendType:exports.LegendType.Stid}},jG=a.create()(uq(mq(fq(gq((e=>Object.assign(Object.assign({},kG),{setMeasuringPointsEnabled:t=>e((e=>{e.measuringPointsEnabled=t}),void 0,"setMeasuringPointsEnabled"),setSelectedLegacyLegend:t=>e((e=>{e.selectedLegacyLegend=Object.assign({},t),n.setLegendOption({selectedLegendType:t.legendType,isActive:t.isEnabled}),Zp.trackEventBy("UserSettings","LegendChanged",Object.assign({},t))}),void 0,"setSelectedLegacyLegend")}))),{name:"user-settings-store",storage:pq((()=>localStorage)),version:1})),SG));var NG=Mr,TG=A,PG=_o,OG=Fe,MG=ae,LG=function(e,t,n){for(var r=0,o=arguments.length>2?n:NG(t),i=new e(o);o>r;)i[r]=t[r++];return i},BG=function(e,t){var n=TG[e],r=n&&n.prototype;return r&&r[t]},DG=gi,RG=Array,zG=G(BG("Array","sort"));PG({target:"Array",proto:!0},{toSorted:function(e){void 0!==e&&OG(e);var t=MG(this),n=LG(RG,t);return zG(n,e)}}),DG("toSorted");const FG=e=>{var t,n;if(e&&e.length>1e3){const e=new Error("More than 1000 measurements");return e.name="getLastRecordedMeasurementError",hz(e),{conditionAsText:"Error - Too many records, not able to find last recorded value",measurementDateTime:null}}if(!e||0===e.length)return{conditionAsText:"No recorded condition",measurementDateTime:null};const r=function(e){const t=-864e13,n=e.slice().sort(((e,n)=>{const r=e.measurementDateTime?new Date(e.measurementDateTime):new Date(t);return(n.measurementDateTime?new Date(n.measurementDateTime):new Date(t)).getTime()-r.getTime()}));return n}(e),o=r.length?r[0]:null,i=(null==o?void 0:o.quantitativeReading)&&(null==o?void 0:o.quantitativeReading)>0?o.quantitativeReading.toString():void 0;return{conditionAsText:i&&`Last recorded value: ${i} ${null===(t=null==o?void 0:o.quantitativeReadingUnitId)||void 0===t?void 0:t.toLowerCase()}`,measurementDateTime:Xp(null!==(n=null==o?void 0:o.measurementDateTime)&&void 0!==n?n:void 0),codeAsText:(null==o?void 0:o.qualitativeCodeId)&&`Last recorded code: ${null==o?void 0:o.qualitativeCodeId} `}};var HG={lastRecorded:"lastRecordedMeasurement-module_lastRecorded__vKdPJ"};Ad(".lastRecordedMeasurement-module_lastRecorded__vKdPJ{display:flex;margin-bottom:4px}");const qG=({measuringPoint:e,failureMechanismDescription:t})=>{const n=FG(e.measurements);return c.jsx("div",{className:HG.lastRecorded,children:n.measurementDateTime?c.jsxs("div",{children:[n.conditionAsText&&c.jsx(d.Typography,{variant:"meta",children:n.conditionAsText}),n.codeAsText&&c.jsx(d.Typography,{variant:"meta",children:`${n.codeAsText} ${t}`}),c.jsx(d.Typography,{variant:"meta",children:n.measurementDateTime})]}):c.jsx("div",{className:HG.itemNoRecordedCondition,children:c.jsx(d.Typography,{variant:"meta",children:n.conditionAsText})})})};var UG="measuringPoints-module_measuringPointButton__dHGZ3";Ad(".measuringPoints-module_measuringPointsWrapper__WIh-R{font-family:var(--eq-echo-font-family)}.measuringPoints-module_measuringPointsHeader__5Q4sS{align-items:center;border-bottom:1px solid rgba(0,0,0,.125);display:flex;font-weight:500;justify-content:space-between;padding:.8rem}.measuringPoints-module_measuringPointButton__dHGZ3{align-items:center;border-bottom:1px solid var(--default);cursor:pointer;display:flex;height:fit-content;justify-content:space-between;min-height:80px;width:100%}.measuringPoints-module_measuringPointButton__dHGZ3:hover{background:var(--equiGray5)}.measuringPoints-module_measuringPointButton__dHGZ3>button:hover{background:none!important}.measuringPoints-module_rightContainer__rBhUm{align-items:center;display:flex;justify-content:flex-end}.measuringPoints-module_rightContainer__rBhUm button{vertical-align:middle}");const GG="#9E9E9E",WG=[{title:"Gasket Condition",id:"OBSGASKT",legendValueType:"string",measuringPointQueryTypeIdentifier:"qualitative",values:[{value:"00",color:i.themeConst.strongGray,description:"Not inspected"},{value:"10",color:i.themeConst.done,description:"No corrosion"},{value:"20",color:i.themeConst.strongYellow,description:"Minor corrosion"},{value:"30",color:i.themeConst.outOfService,description:"Medium corrosion"},{value:"40",color:i.themeConst.voided,description:"Severe corrosion"},{value:"50",color:i.themeConst.blueOvercast,description:"Replaced new"}]},{title:"Coating Condition",id:"SM_COATING_CONDITION_ITEM",legendValueType:"number",measuringPointQueryTypeIdentifier:"quantitative",values:[{value:1,color:i.themeConst.strongDarkGreen,description:"0-3% of area requiring surface preparation to substrate"},{value:2,color:i.themeConst.strongGreen,description:"3-8% of area requiring surface preparation to substrate"},{value:3,color:i.themeConst.strongYellow,description:"8-20% of area requiring surface preparation to substrate"},{value:4,color:i.themeConst.strongDarkYellow,description:"20-40% of area requiring surface preparation to substrate"},{value:5,color:i.themeConst.warningIcon,description:"40-60% of area requiring surface preparation to substrate"},{value:6,color:i.themeConst.voided,description:">60% of area requiring surface preparation to substrate"}]},{title:"Insulation Condition",id:"OBSINSLN",legendValueType:"number",measuringPointQueryTypeIdentifier:"qualitative",values:[{value:10,color:i.themeConst.pm01,description:"Enclosure-No Damage"},{value:20,color:"FF0000",description:"Enclosure-Minor Damage-No Water Intrusn."},{value:30,color:"FF0000",description:"Enclosure-Damaged-Water Intrusn."},{value:40,color:i.themeConst.pm01,description:"Insulation-Ok-Dry Insulation"},{value:50,color:"FF0000",description:"Insulation-Damaged- Wet Insulation"}]},{title:"Flange Bolt Condition",id:"OBSFLBOL",legendValueType:"number",measuringPointQueryTypeIdentifier:"qualitative",values:[{value:10,color:i.themeConst.pm01,description:"Ok- Galvanisation intact"},{value:20,color:GG,description:"Galvanisation partly missing"},{value:30,color:GG,description:"Visible material loss"},{value:40,color:"FF0000",description:"Moderate-WT reduction nut or stud"},{value:50,color:"FF0000",description:"Severe- WT reduction nut or stud"}]},{title:"Wall thickness loss",id:"OBSEXWTL",legendValueType:"number",measuringPointQueryTypeIdentifier:"qualitative",values:[{value:"10",color:i.themeConst.strongDarkGreen,description:"VT-A: No degradation"},{value:"20",color:i.themeConst.random1,description:"VT-E: External corrosion"},{value:"30",color:i.themeConst.random2,description:"VT-I: Internal corrosion"},{value:"40",color:i.themeConst.random4,description:"VT-EP: Pitting external"},{value:"50",color:i.themeConst.random9,description:"VT-IP: Pitting internal"},{value:"60",color:i.themeConst.random14,description:"VT-C: Crevice"},{value:"70",color:i.themeConst.random12,description:"VT-F: Fretting"},{value:"80",color:i.themeConst.random6,description:"VT-B: Abrasion"},{value:"90",color:i.themeConst.random10,description:"VT-R: Internal erosion/cavitation"},{value:"95",color:i.themeConst.strongGray,description:"VT-X: Corrosion not measured"}]},{title:"Remaining wall thickness",id:"OBSMETH",legendValueType:"string",measuringPointQueryTypeIdentifier:"qualitative",values:[{value:"RT-A",color:GG,description:"RT: No degradation"},{value:"RT-C",color:GG,description:"RT: Crack"},{value:"RT-E",color:GG,description:"RT: External degradation"},{value:"RT-G",color:GG,description:"RT: Int.slag incl/tungstn incl/elng indic"},{value:"RT-I",color:GG,description:"RT: Internal degradation"},{value:"RT-L",color:GG,description:"RT: Lack of fusion"},{value:"RT-N",color:GG,description:"RT: No defects"},{value:"RT-O",color:GG,description:"RT: Other defects"},{value:"RT-P",color:GG,description:"RT: Incomplete penetration"},{value:"RT-T",color:GG,description:"RT: Undercutting"},{value:"RT-V",color:GG,description:"RT: Concave root surface"},{value:"RT-Y",color:GG,description:"RT: Internal porosity"},{value:"UD-A",color:GG,description:"UT TOFD: No degradation"},{value:"UD-E",color:GG,description:"UT TOFD: External degradation"},{value:"UD-I",color:GG,description:"UT TOFD: Internal degradation"},{value:"UP-A",color:GG,description:"UT Phased Arrays: No degradation"},{value:"UP-E",color:GG,description:"UT Phased Arrays: External degradation"},{value:"UP-I",color:GG,description:"UT Phased Arrays: Internal degradation"},{value:"US-A",color:GG,description:"UT Semi Auto. PA/TOFD: No degradation"},{value:"US-E",color:GG,description:"UT Semi Auto. PA/TOFD: External degrad."},{value:"US-I",color:GG,description:"UT Semi Auto. PA/TOFD: Internal degrad."},{value:"UT-A",color:GG,description:"UT Man. Pulse-Echo: No degradation"},{value:"UT-E",color:GG,description:"UT Man. Pulse-Echo: External degradation"},{value:"UT-I",color:GG,description:"UT Man. Pulse-Echo: Internal degradation"},{value:"VB-A",color:GG,description:"Visual Bolt inspection: No degradation"},{value:"VB-E",color:GG,description:"Visual Bolt inspection: External degrad."},{value:"VT-A",color:GG,description:"Visual Inspection: No degradation"},{value:"VT-E",color:GG,description:"Visual Inspection: External degradation"},{value:"VT-I",color:GG,description:"Visual Inspection: Internal degradation"},{value:"ZO-A",color:GG,description:"Other Misc. method: No degradation"},{value:"ZO-E",color:GG,description:"Other Misc. method: External degradation"},{value:"ZO-I",color:GG,description:"Other Misc. method: Internal degradation"}]}];function QG({measurement:e,quantitativeCharacteristicId:t}){const n=function({measurement:e,quantitativeCharacteristicId:t}){if(!e)return;const{qualitativeCodeGroupId:n,qualitativeCodeId:r,quantitativeReading:o}=e;if(n&&r)return{id:n,value:r.toString()};if(t&&o)return{id:t,value:o.toString()}}({measurement:e,quantitativeCharacteristicId:t});if(!n)return{color:i.themeConst.strongGray,description:"",value:""};const r=n.value,o=function(e){var t;const n=WG.find((t=>t.id===e.id));return null===(t=null==n?void 0:n.values.find((({value:t})=>t.toString()===e.value)))||void 0===t?void 0:t.color}(n),a=function(e){var t;const n=WG.find((t=>t.id===e.id));return null===(t=null==n?void 0:n.values.find((({value:t})=>t.toString()===e.value)))||void 0===t?void 0:t.description}(n);return{value:r,color:null!=o?o:i.themeConst.strongGray,description:null!=a?a:""}}const YG=e=>{const t=e.measurements.map((e=>e.measurementDateTime?Number(new Date(e.measurementDateTime)):-1)).filter((e=>-1!==e));if(t.length>0)return new Date(Math.max(...t))},VG=(e,t)=>{const n=YG(e),r=YG(t);return void 0===n&&void 0!==r?1:void 0!==n&&void 0===r?-1:void 0===n||void 0===r?0:r.getTime()-n.getTime()},ZG=({children:e,measuringPoint:t,onClick:n})=>{const{measuringPointId:r,measuringPoint:o}=t,a=QG({measurement:t.measurements.length>0?t.measurements[0]:void 0,quantitativeCharacteristicId:t.quantitativeCharacteristicId});return c.jsx("div",{className:UG,children:c.jsx(i.ListItem,{primary:rb(r),secondary:o,tertiary:c.jsx(qG,{measuringPoint:t,failureMechanismDescription:a.description}),visual:c.jsx(i.VisualTextIcon,{visualText:"MP",backgroundColor:a.color}),hideBorderBottom:!0,showChevron:!0,onCardClick:n})})};function KG(e){const{status:t,data:r,error:o}=v.useQuery({queryKey:["documentRelationships",e],queryFn:()=>e?function(e){return Ym(this,void 0,void 0,(function*(){var t;const{measuringPointId:r}=e,o=`${n.baseApiUrl}/measuring-points/document-relationships?measuringPointId=${r}&includeCharacteristics=true&includeAttachments=true`;return null!==(t=yield n.request({url:o}))&&void 0!==t?t:[]}))}({measuringPointId:e}):[],staleTime:144e5}),i=(null==r?void 0:r.reduce(((e,t)=>{var n;return e+((null===(n=t.attachments)||void 0===n?void 0:n.length)||0)}),0))||0;return{status:t,documentRelationships:r||[],error:o,totalAttachments:o?"error":i.toString()}}const JG=({measuringPoint:e})=>{const t=bq(),{isScreenMobileSize:o}=Vb(),a=n.useActivePanelState().activePanel,{measurements:s,tagPlantId:l}=e,u=s.length?s[0]:void 0,d=Ed,m=e.tagId||"",p=lG(m),h=QG({measurement:u,quantitativeCharacteristicId:e.quantitativeCharacteristicId}),f=r.useMemo((()=>{var n,r,s,f,g,v,y,x,b;return[{label:"Measuring Point Id",value:e?rb(e.measuringPointId):"-"},{label:"Measuring Point",value:null!==(n=e.measuringPoint)&&void 0!==n?n:"-"},{label:"Measuring Position",value:null!==(r=e.measuringPosition)&&void 0!==r?r:"-"},{label:"Date",value:null!==(f=Xp(null!==(s=null==u?void 0:u.measurementDateTime)&&void 0!==s?s:void 0))&&void 0!==f?f:"-"},{label:"Meas/TotCountrRdg",value:`${null!==(g=null==u?void 0:u.quantitativeReading)&&void 0!==g?g:"Not Available"}`},{label:"Unit",value:null!==(y=null===(v=null==u?void 0:u.quantitativeReadingUnitId)||void 0===v?void 0:v.toLocaleLowerCase())&&void 0!==y?y:"-"},{label:"Code",value:null!==(b=null===(x=null==u?void 0:u.qualitativeCodeId)||void 0===x?void 0:x.toLocaleLowerCase())&&void 0!==b?b:"-"},{label:"Code description",value:h.description},{label:"Equipment",value:e.equipmentId&&l?c.jsx(MW,{equipmentId:e.equipmentId,tagNo:m,plantNo:l}):"-",colSpan:o},{label:"Tag",value:c.jsx(i.InlineTagIconLink,{tagNo:m,description:"",legendColor:p?Id(d(p[m])):i.themeConst.strongGray,icon:"tag",onClickHandler:()=>t({tagNo:m,keepLastNavigationItem:!0,activePanelKey:a})}),colSpan:o}]}),[e,null==u?void 0:u.measurementDateTime,null==u?void 0:u.quantitativeReading,null==u?void 0:u.quantitativeReadingUnitId,null==u?void 0:u.qualitativeCodeId,h.description,l,m,o,p,d,t,a]);return c.jsx(sL,{fields:f})};var XG="measuringPointDetails-module_tab__c83Ld";Ad(".measuringPointDetails-module_tab__c83Ld{overflow-y:hidden}");var $G="measuringPointHistoryList-module_historyListContainer__g-Vvi",eW="measuringPointHistoryList-module_historyListItem__Au0Ol",tW="measuringPointHistoryList-module_inlineTypography__Bj6zy",nW="measuringPointHistoryList-module_separatorBorder__n-t0X";Ad(".measuringPointHistoryList-module_historyListContainer__g-Vvi{color:var(--disabledColor)}.measuringPointHistoryList-module_historyListItem__Au0Ol{border-bottom:1px solid var(--default);display:flex;flex-direction:column;gap:.35rem;padding:2rem 1rem 1rem}.measuringPointHistoryList-module_historyListItem__Au0Ol:first-child{padding:1rem}.measuringPointHistoryList-module_inlineTypography__Bj6zy{align-items:center;display:flex;gap:.35rem}.measuringPointHistoryList-module_separatorBorder__n-t0X{border-right:1px solid var(--default);padding-right:.4rem}");const rW=({measuringPoint:e})=>{const t=Vp({sapPlantId:e.tagPlantId});return c.jsx("div",{className:$G,children:e.measurements.map((n=>{var r,o,i;const a=QG({measurement:n,quantitativeCharacteristicId:e.quantitativeCharacteristicId});return c.jsxs("div",{className:eW,children:[c.jsx(d.Typography,{children:rb(n.measurementId)}),c.jsx(d.Typography,{bold:!0,children:null!==(r=n.measurementTitle)&&void 0!==r?r:""}),c.jsxs("div",{className:tW,children:[c.jsx(d.Typography,{variant:"caption",children:"Reported condition:"}),c.jsx(d.Typography,{variant:"caption",children:void 0!==n.quantitativeReading?` ${n.quantitativeReading} ${null===(o=n.quantitativeReadingUnitId)||void 0===o?void 0:o.toLocaleLowerCase()}`:" N/A"})]}),c.jsx("div",{className:tW,children:c.jsxs(d.Typography,{variant:"caption",children:[n.qualitativeCodeId," ",a.description]})}),c.jsxs("div",{className:tW,children:[c.jsx(d.Typography,{className:nW,variant:"caption",children:t}),c.jsx(d.Typography,{variant:"caption",children:Xp(null!==(i=n.measurementDateTime)&&void 0!==i?i:void 0)})]})]},n.measurementId)}))})};var oW="imageListItem-module_imageListItem__PpPEQ",iW="imageListItem-module_imageContainer__W6OEG",aW="imageListItem-module_image__Rt93p",sW="imageListItem-module_textContainer__OGFGS",lW="imageListItem-module_label__sAA99",cW="imageListItem-module_value__wMn0g",uW="imageListItem-module_button__Pyuo-",dW="imageListItem-module_fixedHeight__cNFVz";Ad(".imageListItem-module_imageListItem__PpPEQ{border-bottom:1px solid var(--default);border-top:1px solid var(--default);display:flex;margin-bottom:var(--small);margin-top:0!important}.imageListItem-module_imageContainer__W6OEG{display:flex;flex:5;flex-shrink:0;width:100%}.imageListItem-module_image__Rt93p{display:flex;height:100%;object-fit:cover;width:100%}.imageListItem-module_image__Rt93p:hover{cursor:pointer;opacity:.9;transition:.5s ease}.imageListItem-module_textContainer__OGFGS{display:flex;flex:2;flex-direction:column;flex-shrink:0;gap:.5rem;margin-top:var(--xSmall);padding:var(--small);width:100%}.imageListItem-module_label__sAA99{margin:0!important}.imageListItem-module_value__wMn0g{padding-bottom:var(--small);width:100%}.imageListItem-module_button__Pyuo-{width:max-content}.imageListItem-module_fixedHeight__cNFVz{height:250px;margin:.3rem 0;object-fit:cover;width:100%}");const mW=({index:e,attachment:t,documentId:n,openImageView:r})=>c.jsxs("div",{className:oW,children:[c.jsx("div",{className:iW,children:c.jsx("button",{onClick:()=>r(e),onKeyDown:t=>{"Enter"===t.key&&r(e)},children:c.jsx("img",{className:`${aW} ${dW}`,src:t.attachmentImageUri,alt:`Measuring point ${e}`})})}),c.jsxs("div",{className:sW,children:[c.jsx(d.Label,{label:"DOCUMENT",className:lW}),c.jsx(d.Typography,{className:cW,children:n}),c.jsx(d.Label,{label:"DATE AND TIME",className:lW}),c.jsx(d.Typography,{className:cW,children:Xp(t.createdDateTime)}),c.jsx(d.Label,{label:"REPORTED CONDITION",className:lW}),c.jsx(d.Typography,{className:cW,children:`${t.quantitativeReading} ${t.quantitativeReadingUnitId.toLowerCase()}`}),c.jsx(d.Button,{variant:"outlined",className:uW,onClick:()=>r(e),children:"View Image"})]})]},e);var pW="labelledImageList-module_labelledImageListContainer__4cTtW",hW="labelledImageList-module_mediaViewerDesktopImage__-y5y1",fW="labelledImageList-module_mediaViewerMobileImage__U7PV5";Ad(".labelledImageList-module_labelledImageListContainer__4cTtW{display:flex;flex-direction:column}.labelledImageList-module_mediaViewerDesktopImage__-y5y1{height:auto;max-height:57vh;max-width:100%;object-fit:contain;width:auto}.labelledImageList-module_mediaViewerMobileImage__U7PV5{height:auto;max-height:90vh;max-width:100%;object-fit:contain;width:auto}@media only screen and (min-width:1025px) and (max-width:1440px){.labelledImageList-module_mediaViewerDesktopImage__-y5y1{max-height:90vh}}");const gW=({documentId:t,attachments:n})=>{var o,a,s,l;const[u,d]=r.useState(0),[p,h]=r.useState(!1),f=e.isMobileDevice(),g=e=>e>=0&&e<n.length,v=null===(o=n[u])||void 0===o?void 0:o.attachmentImageUri,y=null===(a=n[u])||void 0===a?void 0:a.createdDateTime,x=`${null===(s=n[u])||void 0===s?void 0:s.quantitativeReading} ${(null===(l=n[u])||void 0===l?void 0:l.quantitativeReadingUnitId.toLocaleLowerCase())||""}`,b=g(u-1),C=g(u+1),I=e=>{d(e),h(!0)};return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:pW,children:n.map(((e,n)=>c.jsx(mW,{index:n,attachment:e,documentId:t,openImageView:I},e.attachmentImageUri)))}),v&&m.createPortal(c.jsx(i.MediaViewer,{title:t,description:x,date:Xp(y),onClose:()=>h(!1),showPrevious:()=>{const e=u-1;g(e)&&d(e)},showNext:()=>{const e=u+1;g(e)&&d(e)},showPrevIcon:b,showNextIcon:C,open:p,children:c.jsx("img",{src:v,alt:"Measuring Point",className:f?fW:hW})}),Jp.domSelector,Jp.portalId)]})};var vW="measuringPointImageList-module_errorText__f-vNw",yW="measuringPointImageList-module_padding__s5ESb";Ad(".measuringPointImageList-module_errorText__f-vNw{display:flex;margin-left:auto!important;margin-right:auto!important;width:95%!important}.measuringPointImageList-module_padding__s5ESb{padding:var(--medium)}");const xW=({measuringPointId:e})=>{const{documentRelationships:t,status:n,error:r}=KG(e);return"pending"===n?c.jsx(xz,{label:"Loading images"}):"error"===n?c.jsx(d.Card,{variant:"warning",className:vW,children:c.jsxs(d.Card.Header,{children:[`Error: Unable to load images. ${r}`," "]})}):t&&0!==t.length?t.map((e=>{if(!e.attachments||0===e.attachments.length)return c.jsx(d.Typography,{className:yW,children:"No image available."},e.documentId);const t=e.attachments.filter((e=>e.attachmentImageUri&&e.createdDateTime)).map((e=>({attachmentImageUri:e.attachmentImageUri,createdDateTime:e.createdDateTime,quantitativeReading:e.quantitativeReading,quantitativeReadingUnitId:e.quantitativeReadingUnitId})));return c.jsx(gW,{documentId:e.documentId,attachments:t},e.documentId)})):c.jsx(d.Typography,{className:yW,children:"No image available."})},bW=({measuringPoint:e})=>{const[t,n]=r.useState(0),{status:o,totalAttachments:i}=KG(e.measuringPointId);return c.jsxs(d.Tabs,{variant:"fullWidth",activeTab:t,onChange:e=>n(e),children:[c.jsxs(d.Tabs.List,{children:[c.jsx(d.Tabs.Tab,{children:"Last Reported"}),c.jsx(d.Tabs.Tab,{children:"History"}),c.jsxs(d.Tabs.Tab,{className:XG,children:["Images ","success"===o?`(${i})`:"pending"===o?c.jsx(wG,{}):null]})]}),c.jsxs(d.Tabs.Panels,{children:[c.jsx(d.Tabs.Panel,{children:c.jsx(JG,{measuringPoint:e})}),c.jsx(d.Tabs.Panel,{children:c.jsx(rW,{measuringPoint:e})}),c.jsx(d.Tabs.Panel,{children:c.jsx(xW,{measuringPointId:e.measuringPointId})})]})]})},CW=({measuringPoint:e})=>{const t=QG({measurement:e.measurements.length>0?e.measurements[0]:void 0,quantitativeCharacteristicId:e.quantitativeCharacteristicId});return c.jsx(i.ListItem,{primary:rb(e.measuringPointId),secondary:e.measuringPosition,tertiary:c.jsx(qG,{measuringPoint:e,failureMechanismDescription:t.description}),visual:c.jsx(i.VisualTextIcon,{visualText:"MP",backgroundColor:t.color}),style:{border:"none"}})};function IW(){const e=vq.getState().addContent,{setActivePanel:t}=n.usePanels();return function(r){const{measuringPoint:o,panelKey:i,keepLastNavigationItem:a}=r,s=i||n.ECHO_CORE_SEARCH;t(s),e({keepLastNavigationItem:a,panelKey:s,header:c.jsx(CW,{measuringPoint:o}),content:c.jsx(bW,{measuringPoint:o}),itemId:o.measuringPointId.toString()})}}var EW="equipmentTabs-module_padding__Q9xyU";Ad(".equipmentTabs-module_padding__Q9xyU{padding:var(--medium)}");const _W=({items:e})=>{const t=jG((e=>e.measuringPointsEnabled)),r=n.useActivePanelState(),o=IW(),i=t?(a=e,a.map((e=>{const t=Object.assign({},e);return t.measurements=[...t.measurements].sort(((e,t)=>{const n=e.measurementDateTime?new Date(e.measurementDateTime):new Date(0);return(t.measurementDateTime?new Date(t.measurementDateTime):new Date(0)).getTime()-n.getTime()})),t}))).toSorted(VG):[];var a;return t?i.length?c.jsx(c.Fragment,{children:i.map((e=>c.jsx(ZG,{measuringPoint:e,onClick:()=>o({measuringPoint:e,keepLastNavigationItem:!0,panelKey:r.activePanel})},e.measuringPointId)))}):c.jsx(d.Typography,{className:EW,children:"There are no available measuring points."}):c.jsx(d.Typography,{className:EW,children:"Measuring points are not enabled."})},AW=({equipmentId:e,onLoadUpdate:t})=>{const n=jG((e=>e.measuringPointsEnabled)),{status:o,equipmentWithMeasuringPoints:i}=function(e,t){const{status:n,data:r}=v.useQuery({queryKey:["useEquipmentWithMeasuringPoints",e,t],queryFn:()=>Ym(this,void 0,void 0,(function*(){try{return yield aG({equipmentId:e,includeMeasuringPoints:!0})}catch(e){hz(e)}})),enabled:!!e&&t,staleTime:144e5});return{status:n,equipmentWithMeasuringPoints:null!=r?r:[]}}(e,n),a=i.flatMap((e=>e.measuringPoints)),s="pending"===o;return r.useEffect((()=>{if(!t)return;t("pending"===o?{isLoading:!0}:{isLoading:!1,numberOfItemsLoaded:"success"===o&&n?a.length:void 0})}),[o,a.length,n,t]),s&&n?c.jsx(xz,{label:"Loading measuring points..."}):c.jsx(_W,{items:a})},wW=({equipment:e,tagNo:t,plantNo:n})=>{const[o,i]=r.useState(0),[a,s]=r.useState(!1),l=jG((e=>e.measuringPointsEnabled)),[u,m]=r.useState(void 0),p=void 0!==u?`(${u})`:"";return c.jsxs(d.Tabs,{variant:"fullWidth",activeTab:o,scrollable:!0,onChange:e=>{i(e)},children:[c.jsxs(d.Tabs.List,{children:[c.jsx(d.Tabs.Tab,{children:"Information"}),c.jsxs(d.Tabs.Tab,{children:["Condition history"," ",a&&l?c.jsx(wG,{}):p]})]}),c.jsxs(d.Tabs.Panels,{children:[c.jsx(d.Tabs.Panel,{children:c.jsx(dG,{equipment:e,tagNo:t,plantNo:n})}),c.jsx(d.Tabs.Panel,{children:c.jsx(AW,{equipmentId:e.equipmentId,onLoadUpdate:({isLoading:e,numberOfItemsLoaded:t})=>{s(e),m(t)}})})]})]})};var SW="fullEquipmentItem-module_headerWrapper__RZ6I1",kW="fullEquipmentItem-module_headerContainer__zTqYZ",jW="fullEquipmentItem-module_contentContainer__rDtQT",NW="fullEquipmentItem-module_padding__-fbvS";Ad(".fullEquipmentItem-module_headerWrapper__RZ6I1{border-bottom:1px solid var(--default)}.fullEquipmentItem-module_headerContainer__zTqYZ{flex-grow:1}.fullEquipmentItem-module_contentContainer__rDtQT{flex-grow:1;overflow-x:hidden;overflow-y:auto}.fullEquipmentItem-module_padding__-fbvS{padding:var(--medium)}");const TW=({equipmentId:e,tagNo:t,plantNo:n})=>{const{status:r,equipmentWithMeasuringPoints:o}=function(e){const{status:t,data:n}=v.useQuery(Object.assign({queryKey:["useEquipmentWithoutMeasuringPoints",e],queryFn:()=>Ym(this,void 0,void 0,(function*(){if(!e)return[];try{return yield aG({equipmentId:e})}catch(e){hz(e)}}))},{staleTime:144e5}));return{status:t,equipmentWithMeasuringPoints:null!=n?n:[]}}(e);if(o.length>1){hz(new s.BaseError({name:"moreThan1EquipmentPerEquipmentId",message:`found more than 1 equipment for equipmentId ${e} for tag ${t}`}))}const i=o.flatMap((e=>e.equipment))[0];return o[0]&&i?c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:SW,children:[c.jsx("div",{className:kW,children:c.jsx(sG,{equipment:i})}),c.jsx("div",{children:c.jsx(_G,{equipment:i,tagNo:t,plantNo:n})})]}),c.jsx("div",{className:jW,children:c.jsx(wW,{equipment:i,tagNo:t,plantNo:n})})]}):"pending"===r?c.jsx(xz,{label:"Loading equipment..."}):c.jsx(d.Typography,{className:NW,children:"error"===r?"Api Error: failed to lookup equipment, please try again later.":"No equipment available."})};function PW(){const e=yq().addContent,{setActivePanel:t}=n.usePanels();return function(r){const{equipmentId:o,panelKey:i,keepLastNavigationItem:a,tagNo:s,plantNo:l}=r,u=i||n.ECHO_CORE_SEARCH;t(u),e({keepLastNavigationItem:a,panelKey:u,content:c.jsx(TW,{equipmentId:o,tagNo:s,plantNo:l}),itemId:o})}}var OW="equipmentLinkField-module_equipmentLink__---Ve";Ad(".equipmentLinkField-module_equipmentLink__---Ve{min-width:fit-content}");const MW=({equipmentId:e,tagNo:t,plantNo:r})=>{const o=PW(),a=n.useActivePanelState();return c.jsx(i.InlineTagIconLink,{className:OW,tagNo:rb(e),description:"",legendColor:i.themeConst.strongGray,icon:"donut_outlined",onClickHandler:()=>o({equipmentId:e,panelKey:a.activePanel,keepLastNavigationItem:!0,tagNo:t,plantNo:r})})};var LW="RemoveSelectionItemsConfirmDialog-module_margin__hGzxO";Ad(".RemoveSelectionItemsConfirmDialog-module_margin__hGzxO{margin-bottom:var(--medium)!important}");function BW(e){const{items:t,plural:n="",singular:r=""}=e;return t.length>1?n:r}var DW,RW=il,zW=st,FW=Mr,HW=Ar,qW=Al;function UW(e){return!!e&&"workOrderId"in e}function GW(e){return!!e&&"equipmentId"in e}function WW(e){return!!e&&("tagNo"in e&&"instCode"in e)}function QW(e){if(UW(e))return{workOrderId:e.workOrderId};if(GW(e))return{equipmentId:e.equipmentId};if(WW(e))return{tagNo:e.tagNo,instCode:e.instCode};throw new Error("Unknown item type",e)}_o({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=zW(this),n=FW(t),r=qW(t,0);return r.length=RW(r,t,t,n,0,void 0===e?1:HW(e)),r}}),gi("flat"),exports.GlobalSelectionItemType=void 0,(DW=exports.GlobalSelectionItemType||(exports.GlobalSelectionItemType={})).WorkOrder="WorkOrder",DW.Tag="Tag",DW.Equipment="Equipment";const YW=Object.freeze({isWorkOrderId:UW,isEquipmentId:GW,isTagId:WW,idsEqual:function(e,t){return UW(e)&&UW(t)?e.workOrderId===t.workOrderId:GW(e)&&GW(t)?e.equipmentId===t.equipmentId:!(!WW(e)||!WW(t))&&(e.tagNo===t.tagNo&&e.instCode===t.instCode)},mapToId:QW,mapIdToItemType:function(e){if(YW.isTagId(e))return exports.GlobalSelectionItemType.Tag;if(YW.isWorkOrderId(e))return exports.GlobalSelectionItemType.WorkOrder;if(YW.isEquipmentId(e))return exports.GlobalSelectionItemType.Equipment;throw new Error("[Global Selection] Unknown item id type: "+JSON.stringify(e))},itemIdToString:function(e){return Object.values(QW(e)).join("-")}});function VW(e){return Ym(this,void 0,void 0,(function*(){const n=t.chain(e).groupBy((e=>e.instCode)).map(((e,t)=>({instCode:t,tags:e}))).value(),r=[];for(const e of n){const t=(yield l.Search.Tags.getAllAsync(e.tags.map((e=>e.tagNo)),e.instCode)).values.map((t=>({instCode:e.instCode,pdmsPlantCode:t.pdmsPlantCode,tagNo:t.tagNo,plantNo:t.plantNo}))).filter((e=>!!e.pdmsPlantCode));r.push(...t)}return r}))}function ZW(e){return Ym(this,void 0,void 0,(function*(){const n=t.chain(e).groupBy((e=>e.tagPlantId)).map(((e,t)=>({tagPlantId:t,items:e}))).value(),r=[];for(const e of n)if(e.tagPlantId){const t=yield KW(e.items,e.tagPlantId);r.push(...t)}return r}))}function KW(t,n){return Ym(this,void 0,void 0,(function*(){const r=yield Hp(n),o=t.map((e=>e.tagId)).filter(e.hasValue),i=(yield l.Search.Tags.getAllAsync(o,r)).values,a=[];for(const e of t){const t=i.find((t=>t.tagNo===e.tagId));if(t){const n=e.tagId,r=t.pdmsPlantCode;if(t.pdmsPlantCode){const o=e.tagPlantId||t.plantNo;a.push({instCode:t.instCode,pdmsPlantCode:r,tagNo:n,plantNo:o})}}}return a}))}function JW(){return Ym(this,void 0,void 0,(function*(){let e=[];const n=Object.values(exports.GlobalSelectionItemType);for(const t of n)switch(t){case exports.GlobalSelectionItemType.Tag:{const t=eQ(),n=yield VW(t);e.push(...n);break}case exports.GlobalSelectionItemType.WorkOrder:{const t=$W(),n=yield ZW(t);e.push(...n);break}case exports.GlobalSelectionItemType.Equipment:{const t=tQ(),n=yield ZW(t);e.push(...n);break}default:return XW()}return e=t.uniqBy(e,(e=>JSON.stringify({instCode:e.instCode,pdmsPlantNo:e.pdmsPlantCode,tagNo:e.tagNo}))),e}))}function XW(e){throw new Error("Didn't expect to get here")}function $W(){const e=LQ().lists[exports.GlobalSelectionItemType.WorkOrder];if(!e)return[];const n=Array.from(e.items.values().map((e=>e.data)));return t.uniqBy(n,(e=>e.workOrderId))}function eQ(){const e=LQ().lists[exports.GlobalSelectionItemType.Tag];if(!e)return[];const n=Array.from(e.items.values().map((e=>e.data)));return t.uniqBy(n,(e=>e.instCode+e.tagNo))}function tQ(){const e=LQ().lists[exports.GlobalSelectionItemType.Equipment];if(!e)return[];const n=Array.from(e.items.values().map((e=>e.data)));return t.uniqBy(n,(e=>e.equipmentId))}function nQ(e,t,n){return e.map((e=>function(e,t,n){return{id:YW.mapToId(e),type:t,data:e,metaData:{color:rQ(t),isHiddenByUser:!1,errorStatus:void 0,systemStatus:n}}}(e,t,n)))}function rQ(e){return{[exports.GlobalSelectionItemType.WorkOrder]:"#C6FF00",[exports.GlobalSelectionItemType.Tag]:"#FA00FF",[exports.GlobalSelectionItemType.Equipment]:"#00FFFF"}[e]||"#FF6F00"}const{idsEqual:oQ,mapToId:iQ,itemIdToString:aQ}=YW;function sQ(e,n,r,o,i,a){return Ym(this,void 0,void 0,(function*(){const{itemIds:s}=r,l=[{values:[],isSuccess:!0}],c=n().lists[o],u=s.filter((e=>!c.items.has(YW.itemIdToString(e))));if(0===u.length)return{fetchResult:l,actionResult:"NoChanges"};const d=t.uniqBy(u,(e=>aQ(iQ(e))));e((e=>{const t=e.lists[o];if(d.length>0){nQ(d.map((e=>a(e))),o,"isLoading").forEach((e=>{t.items.set(YW.itemIdToString(e.id),e)}))}}),void 0,`add${o}--loading`);const m=yield i(d),p=m.map((e=>e.values||[])).filter((e=>e.length>0)).flat(),h=p.map((e=>YW.mapToId(e))),f=d.filter((e=>!h.some((t=>oQ(t,e)))));return f.length>0&&e((e=>{!function(e){const{itemType:t,state:n,notFoundItemIds:r}=e;n.lists[t].items.forEach((e=>{r.find((t=>YW.idsEqual(e.id,t)))&&(e.metaData.systemStatus="notFound")}))}({state:e,itemType:o,notFoundItemIds:f})}),void 0,`add${o}--not-found`),e((e=>{!function(e){const{itemType:t,state:n,itemDataToStore:r}=e,o=n.lists[t];r.forEach((e=>{const t=e,n=o.items.get(YW.itemIdToString(t));n&&(n.data=e,n.metaData.systemStatus="loadedSuccessfully")}))}({state:e,itemType:o,itemDataToStore:p})}),void 0,`add${o}--success`),{fetchResult:m,actionResult:"ItemsAdded"}}))}function lQ(e){const t={tagNo:"",description:"",projectCode:"",system:"",instCode:"",pdmsPlantCode:void 0,tagCategoryDescription:"",tagCategory:0,tagStatus:l.TagStatus.UNKNOWN,tagType:"",updatedDate:new Date(0),locationCode:"",contrCode:"",plantNo:"",poNo:"",xCoordinate:void 0,yCoordinate:void 0,zCoordinate:void 0,additionalFields:[]};return Object.assign(Object.assign({},t),e)}function cQ(e){const t={workOrderId:"",tagId:void 0,tagPlantId:void 0,workCenterId:"",workCenterPlantId:"",title:"",plantId:"",activeStatusIds:[],revisionId:"",sortField:"",basicStartDateTime:void 0,basicEndDateTime:void 0,createdDateTime:void 0,changedDateTime:void 0,isTimeOnlyWorkOrder:!1,workOrderType:l.WorkOrderType.Unknown,workOrderTypeDescription:l.WorkOrderTypeDescription.Unknown};return Object.assign(Object.assign({},t),e)}var uQ={exports:{}};uQ.exports=function(){
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@equinor/echo-utils"),t=require("lodash"),n=require("@equinor/echo-core"),r=require("react"),o=require("react-router-dom"),i=require("@equinor/echo-components"),a=require("zustand"),s=require("@equinor/echo-base"),l=require("@equinor/echo-search"),c=require("react/jsx-runtime"),u=require("classnames"),d=require("@equinor/eds-core-react"),m=require("react-dom"),p=require("immer"),h=require("@equinor/eds-icons"),f=require("@microsoft/signalr"),g=require("history"),v=require("@tanstack/react-query");function y(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var x=y(r),b=y(a),C=y(h),I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function E(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _=function(e){return e&&e.Math===Math&&e},A=_("object"==typeof globalThis&&globalThis)||_("object"==typeof window&&window)||_("object"==typeof self&&self)||_("object"==typeof I&&I)||_("object"==typeof I&&I)||function(){return this}()||Function("return this")(),w={},S=function(e){try{return!!e()}catch(e){return!0}},k=!S((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),j=!S((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),N=j,T=Function.prototype.call,P=N?T.bind(T):function(){return T.apply(T,arguments)},O={},M={}.propertyIsEnumerable,L=Object.getOwnPropertyDescriptor,B=L&&!M.call({1:2},1);O.f=B?function(e){var t=L(this,e);return!!t&&t.enumerable}:M;var D,R,z=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},F=j,H=Function.prototype,q=H.call,U=F&&H.bind.bind(q,q),G=F?U:function(e){return function(){return q.apply(e,arguments)}},W=G,Q=W({}.toString),Y=W("".slice),V=function(e){return Y(Q(e),8,-1)},Z=S,K=V,J=Object,X=G("".split),$=Z((function(){return!J("z").propertyIsEnumerable(0)}))?function(e){return"String"===K(e)?X(e,""):J(e)}:J,ee=function(e){return null==e},te=ee,ne=TypeError,re=function(e){if(te(e))throw new ne("Can't call method on "+e);return e},oe=$,ie=re,ae=function(e){return oe(ie(e))},se="object"==typeof document&&document.all,le=void 0===se&&void 0!==se?function(e){return"function"==typeof e||e===se}:function(e){return"function"==typeof e},ce=le,ue=function(e){return"object"==typeof e?null!==e:ce(e)},de=A,me=le,pe=function(e,t){return arguments.length<2?(n=de[e],me(n)?n:void 0):de[e]&&de[e][t];var n},he=G({}.isPrototypeOf),fe=A.navigator,ge=fe&&fe.userAgent,ve=ge?String(ge):"",ye=A,xe=ve,be=ye.process,Ce=ye.Deno,Ie=be&&be.versions||Ce&&Ce.version,Ee=Ie&&Ie.v8;Ee&&(R=(D=Ee.split("."))[0]>0&&D[0]<4?1:+(D[0]+D[1])),!R&&xe&&(!(D=xe.match(/Edge\/(\d+)/))||D[1]>=74)&&(D=xe.match(/Chrome\/(\d+)/))&&(R=+D[1]);var _e=R,Ae=_e,we=S,Se=A.String,ke=!!Object.getOwnPropertySymbols&&!we((function(){var e=Symbol("symbol detection");return!Se(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Ae&&Ae<41})),je=ke&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ne=pe,Te=le,Pe=he,Oe=Object,Me=je?function(e){return"symbol"==typeof e}:function(e){var t=Ne("Symbol");return Te(t)&&Pe(t.prototype,Oe(e))},Le=String,Be=function(e){try{return Le(e)}catch(e){return"Object"}},De=le,Re=Be,ze=TypeError,Fe=function(e){if(De(e))return e;throw new ze(Re(e)+" is not a function")},He=Fe,qe=ee,Ue=function(e,t){var n=e[t];return qe(n)?void 0:He(n)},Ge=P,We=le,Qe=ue,Ye=TypeError,Ve={exports:{}},Ze=A,Ke=Object.defineProperty,Je=function(e,t){try{Ke(Ze,e,{value:t,configurable:!0,writable:!0})}catch(n){Ze[e]=t}return t},Xe=A,$e=Je,et="__core-js_shared__",tt=Ve.exports=Xe[et]||$e(et,{});(tt.versions||(tt.versions=[])).push({version:"3.41.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"});var nt=Ve.exports,rt=nt,ot=function(e,t){return rt[e]||(rt[e]=t||{})},it=re,at=Object,st=function(e){return at(it(e))},lt=st,ct=G({}.hasOwnProperty),ut=Object.hasOwn||function(e,t){return ct(lt(e),t)},dt=G,mt=0,pt=Math.random(),ht=dt(1..toString),ft=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ht(++mt+pt,36)},gt=ot,vt=ut,yt=ft,xt=ke,bt=je,Ct=A.Symbol,It=gt("wks"),Et=bt?Ct.for||Ct:Ct&&Ct.withoutSetter||yt,_t=function(e){return vt(It,e)||(It[e]=xt&&vt(Ct,e)?Ct[e]:Et("Symbol."+e)),It[e]},At=P,wt=ue,St=Me,kt=Ue,jt=function(e,t){var n,r;if("string"===t&&We(n=e.toString)&&!Qe(r=Ge(n,e)))return r;if(We(n=e.valueOf)&&!Qe(r=Ge(n,e)))return r;if("string"!==t&&We(n=e.toString)&&!Qe(r=Ge(n,e)))return r;throw new Ye("Can't convert object to primitive value")},Nt=TypeError,Tt=_t("toPrimitive"),Pt=function(e,t){if(!wt(e)||St(e))return e;var n,r=kt(e,Tt);if(r){if(void 0===t&&(t="default"),n=At(r,e,t),!wt(n)||St(n))return n;throw new Nt("Can't convert object to primitive value")}return void 0===t&&(t="number"),jt(e,t)},Ot=Me,Mt=function(e){var t=Pt(e,"string");return Ot(t)?t:t+""},Lt=ue,Bt=A.document,Dt=Lt(Bt)&&Lt(Bt.createElement),Rt=function(e){return Dt?Bt.createElement(e):{}},zt=Rt,Ft=!k&&!S((function(){return 7!==Object.defineProperty(zt("div"),"a",{get:function(){return 7}}).a})),Ht=k,qt=P,Ut=O,Gt=z,Wt=ae,Qt=Mt,Yt=ut,Vt=Ft,Zt=Object.getOwnPropertyDescriptor;w.f=Ht?Zt:function(e,t){if(e=Wt(e),t=Qt(t),Vt)try{return Zt(e,t)}catch(e){}if(Yt(e,t))return Gt(!qt(Ut.f,e,t),e[t])};var Kt={},Jt=k&&S((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Xt=ue,$t=String,en=TypeError,tn=function(e){if(Xt(e))return e;throw new en($t(e)+" is not an object")},nn=k,rn=Ft,on=Jt,an=tn,sn=Mt,ln=TypeError,cn=Object.defineProperty,un=Object.getOwnPropertyDescriptor,dn="enumerable",mn="configurable",pn="writable";Kt.f=nn?on?function(e,t,n){if(an(e),t=sn(t),an(n),"function"==typeof e&&"prototype"===t&&"value"in n&&pn in n&&!n[pn]){var r=un(e,t);r&&r[pn]&&(e[t]=n.value,n={configurable:mn in n?n[mn]:r[mn],enumerable:dn in n?n[dn]:r[dn],writable:!1})}return cn(e,t,n)}:cn:function(e,t,n){if(an(e),t=sn(t),an(n),rn)try{return cn(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new ln("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var hn=Kt,fn=z,gn=k?function(e,t,n){return hn.f(e,t,fn(1,n))}:function(e,t,n){return e[t]=n,e},vn={exports:{}},yn=k,xn=ut,bn=Function.prototype,Cn=yn&&Object.getOwnPropertyDescriptor,In=xn(bn,"name"),En={PROPER:In&&"something"===function(){}.name,CONFIGURABLE:In&&(!yn||yn&&Cn(bn,"name").configurable)},_n=le,An=nt,wn=G(Function.toString);_n(An.inspectSource)||(An.inspectSource=function(e){return wn(e)});var Sn,kn,jn,Nn=An.inspectSource,Tn=le,Pn=A.WeakMap,On=Tn(Pn)&&/native code/.test(String(Pn)),Mn=ft,Ln=ot("keys"),Bn=function(e){return Ln[e]||(Ln[e]=Mn(e))},Dn={},Rn=On,zn=A,Fn=ue,Hn=gn,qn=ut,Un=nt,Gn=Bn,Wn=Dn,Qn="Object already initialized",Yn=zn.TypeError,Vn=zn.WeakMap;if(Rn||Un.state){var Zn=Un.state||(Un.state=new Vn);Zn.get=Zn.get,Zn.has=Zn.has,Zn.set=Zn.set,Sn=function(e,t){if(Zn.has(e))throw new Yn(Qn);return t.facade=e,Zn.set(e,t),t},kn=function(e){return Zn.get(e)||{}},jn=function(e){return Zn.has(e)}}else{var Kn=Gn("state");Wn[Kn]=!0,Sn=function(e,t){if(qn(e,Kn))throw new Yn(Qn);return t.facade=e,Hn(e,Kn,t),t},kn=function(e){return qn(e,Kn)?e[Kn]:{}},jn=function(e){return qn(e,Kn)}}var Jn={set:Sn,get:kn,has:jn,enforce:function(e){return jn(e)?kn(e):Sn(e,{})},getterFor:function(e){return function(t){var n;if(!Fn(t)||(n=kn(t)).type!==e)throw new Yn("Incompatible receiver, "+e+" required");return n}}},Xn=G,$n=S,er=le,tr=ut,nr=k,rr=En.CONFIGURABLE,or=Nn,ir=Jn.enforce,ar=Jn.get,sr=String,lr=Object.defineProperty,cr=Xn("".slice),ur=Xn("".replace),dr=Xn([].join),mr=nr&&!$n((function(){return 8!==lr((function(){}),"length",{value:8}).length})),pr=String(String).split("String"),hr=vn.exports=function(e,t,n){"Symbol("===cr(sr(t),0,7)&&(t="["+ur(sr(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!tr(e,"name")||rr&&e.name!==t)&&(nr?lr(e,"name",{value:t,configurable:!0}):e.name=t),mr&&n&&tr(n,"arity")&&e.length!==n.arity&&lr(e,"length",{value:n.arity});try{n&&tr(n,"constructor")&&n.constructor?nr&&lr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=ir(e);return tr(r,"source")||(r.source=dr(pr,"string"==typeof t?t:"")),e};Function.prototype.toString=hr((function(){return er(this)&&ar(this).source||or(this)}),"toString");var fr=vn.exports,gr=le,vr=Kt,yr=fr,xr=Je,br=function(e,t,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:t;if(gr(n)&&yr(n,i,r),r.global)o?e[t]=n:xr(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:vr.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Cr={},Ir=Math.ceil,Er=Math.floor,_r=Math.trunc||function(e){var t=+e;return(t>0?Er:Ir)(t)},Ar=function(e){var t=+e;return t!=t||0===t?0:_r(t)},wr=Ar,Sr=Math.max,kr=Math.min,jr=function(e,t){var n=wr(e);return n<0?Sr(n+t,0):kr(n,t)},Nr=Ar,Tr=Math.min,Pr=function(e){var t=Nr(e);return t>0?Tr(t,9007199254740991):0},Or=Pr,Mr=function(e){return Or(e.length)},Lr=ae,Br=jr,Dr=Mr,Rr=function(e){return function(t,n,r){var o=Lr(t),i=Dr(o);if(0===i)return!e&&-1;var a,s=Br(r,i);if(e&&n!=n){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},zr={includes:Rr(!0),indexOf:Rr(!1)},Fr=ut,Hr=ae,qr=zr.indexOf,Ur=Dn,Gr=G([].push),Wr=function(e,t){var n,r=Hr(e),o=0,i=[];for(n in r)!Fr(Ur,n)&&Fr(r,n)&&Gr(i,n);for(;t.length>o;)Fr(r,n=t[o++])&&(~qr(i,n)||Gr(i,n));return i},Qr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Yr=Wr,Vr=Qr.concat("length","prototype");Cr.f=Object.getOwnPropertyNames||function(e){return Yr(e,Vr)};var Zr={};Zr.f=Object.getOwnPropertySymbols;var Kr=pe,Jr=Cr,Xr=Zr,$r=tn,eo=G([].concat),to=Kr("Reflect","ownKeys")||function(e){var t=Jr.f($r(e)),n=Xr.f;return n?eo(t,n(e)):t},no=ut,ro=to,oo=w,io=Kt,ao=function(e,t,n){for(var r=ro(t),o=io.f,i=oo.f,a=0;a<r.length;a++){var s=r[a];no(e,s)||n&&no(n,s)||o(e,s,i(t,s))}},so=S,lo=le,co=/#|\.prototype\./,uo=function(e,t){var n=po[mo(e)];return n===fo||n!==ho&&(lo(t)?so(t):!!t)},mo=uo.normalize=function(e){return String(e).replace(co,".").toLowerCase()},po=uo.data={},ho=uo.NATIVE="N",fo=uo.POLYFILL="P",go=uo,vo=A,yo=w.f,xo=gn,bo=br,Co=Je,Io=ao,Eo=go,_o=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,c=e.stat;if(n=l?vo:c?vo[s]||Co(s,{}):vo[s]&&vo[s].prototype)for(r in t){if(i=t[r],o=e.dontCallGetSet?(a=yo(n,r))&&a.value:n[r],!Eo(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Io(i,o)}(e.sham||o&&o.sham)&&xo(i,"sham",!0),bo(n,r,i,e)}},Ao=Wr,wo=Qr,So=Object.keys||function(e){return Ao(e,wo)},ko=k,jo=G,No=P,To=S,Po=So,Oo=Zr,Mo=O,Lo=st,Bo=$,Do=Object.assign,Ro=Object.defineProperty,zo=jo([].concat),Fo=!Do||To((function(){if(ko&&1!==Do({b:1},Do(Ro({},"a",{enumerable:!0,get:function(){Ro(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!==Do({},e)[n]||Po(Do({},t)).join("")!==r}))?function(e,t){for(var n=Lo(e),r=arguments.length,o=1,i=Oo.f,a=Mo.f;r>o;)for(var s,l=Bo(arguments[o++]),c=i?zo(Po(l),i(l)):Po(l),u=c.length,d=0;u>d;)s=c[d++],ko&&!No(a,l,s)||(n[s]=l[s]);return n}:Do,Ho=Fo;_o({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ho},{assign:Ho});var qo={},Uo=k,Go=Jt,Wo=Kt,Qo=tn,Yo=ae,Vo=So;qo.f=Uo&&!Go?Object.defineProperties:function(e,t){Qo(e);for(var n,r=Yo(t),o=Vo(t),i=o.length,a=0;i>a;)Wo.f(e,n=o[a++],r[n]);return e};var Zo,Ko=pe("document","documentElement"),Jo=tn,Xo=qo,$o=Qr,ei=Dn,ti=Ko,ni=Rt,ri="prototype",oi="script",ii=Bn("IE_PROTO"),ai=function(){},si=function(e){return"<"+oi+">"+e+"</"+oi+">"},li=function(e){e.write(si("")),e.close();var t=e.parentWindow.Object;return e=null,t},ci=function(){try{Zo=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;ci="undefined"!=typeof document?document.domain&&Zo?li(Zo):(t=ni("iframe"),n="java"+oi+":",t.style.display="none",ti.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(si("document.F=Object")),e.close(),e.F):li(Zo);for(var r=$o.length;r--;)delete ci[ri][$o[r]];return ci()};ei[ii]=!0;var ui=Object.create||function(e,t){var n;return null!==e?(ai[ri]=Jo(e),n=new ai,ai[ri]=null,n[ii]=e):n=ci(),void 0===t?n:Xo.f(n,t)},di=_t,mi=ui,pi=Kt.f,hi=di("unscopables"),fi=Array.prototype;void 0===fi[hi]&&pi(fi,hi,{configurable:!0,value:mi(null)});var gi=function(e){fi[hi][e]=!0},vi=zr.includes,yi=gi;_o({target:"Array",proto:!0,forced:S((function(){return!Array(1).includes()}))},{includes:function(e){return vi(this,e,arguments.length>1?arguments[1]:void 0)}}),yi("includes");var xi,bi,Ci,Ii=he,Ei=TypeError,_i=function(e,t){if(Ii(t,e))return e;throw new Ei("Incorrect invocation")},Ai=!S((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),wi=ut,Si=le,ki=st,ji=Ai,Ni=Bn("IE_PROTO"),Ti=Object,Pi=Ti.prototype,Oi=ji?Ti.getPrototypeOf:function(e){var t=ki(e);if(wi(t,Ni))return t[Ni];var n=t.constructor;return Si(n)&&t instanceof n?n.prototype:t instanceof Ti?Pi:null},Mi=fr,Li=Kt,Bi=function(e,t,n){return n.get&&Mi(n.get,t,{getter:!0}),n.set&&Mi(n.set,t,{setter:!0}),Li.f(e,t,n)},Di=k,Ri=Kt,zi=z,Fi=function(e,t,n){Di?Ri.f(e,t,zi(0,n)):e[t]=n},Hi=S,qi=le,Ui=ue,Gi=Oi,Wi=br,Qi=_t("iterator"),Yi=!1;[].keys&&("next"in(Ci=[].keys())?(bi=Gi(Gi(Ci)))!==Object.prototype&&(xi=bi):Yi=!0);var Vi=!Ui(xi)||Hi((function(){var e={};return xi[Qi].call(e)!==e}));Vi&&(xi={}),qi(xi[Qi])||Wi(xi,Qi,(function(){return this}));var Zi={IteratorPrototype:xi,BUGGY_SAFARI_ITERATORS:Yi},Ki=_o,Ji=A,Xi=_i,$i=tn,ea=le,ta=Oi,na=Bi,ra=Fi,oa=S,ia=ut,aa=Zi.IteratorPrototype,sa=k,la="constructor",ca="Iterator",ua=_t("toStringTag"),da=TypeError,ma=Ji[ca],pa=!ea(ma)||ma.prototype!==aa||!oa((function(){ma({})})),ha=function(){if(Xi(this,aa),ta(this)===aa)throw new da("Abstract class Iterator not directly constructable")},fa=function(e,t){sa?na(aa,e,{configurable:!0,get:function(){return t},set:function(t){if($i(this),this===aa)throw new da("You can't redefine this property");ia(this,e)?this[e]=t:ra(this,e,t)}}):aa[e]=t};ia(aa,ua)||fa(ua,ca),!pa&&ia(aa,la)&&aa[la]!==Object||fa(la,ha),ha.prototype=aa,Ki({global:!0,constructor:!0,forced:pa},{Iterator:ha});var ga=function(e){return{iterator:e,next:e.next,done:!1}},va=br,ya=function(e,t,n){for(var r in t)va(e,r,t[r],n);return e},xa=function(e,t){return{value:e,done:t}},ba=P,Ca=tn,Ia=Ue,Ea=function(e,t,n){var r,o;Ca(e);try{if(!(r=Ia(e,"return"))){if("throw"===t)throw n;return n}r=ba(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return Ca(r),n},_a=P,Aa=ui,wa=gn,Sa=ya,ka=Jn,ja=Ue,Na=Zi.IteratorPrototype,Ta=xa,Pa=Ea,Oa=_t("toStringTag"),Ma="IteratorHelper",La="WrapForValidIterator",Ba=ka.set,Da=function(e){var t=ka.getterFor(e?La:Ma);return Sa(Aa(Na),{next:function(){var n=t(this);if(e)return n.nextHandler();if(n.done)return Ta(void 0,!0);try{var r=n.nextHandler();return n.returnHandlerResult?r:Ta(r,n.done)}catch(e){throw n.done=!0,e}},return:function(){var n=t(this),r=n.iterator;if(n.done=!0,e){var o=ja(r,"return");return o?_a(o,r):Ta(void 0,!0)}if(n.inner)try{Pa(n.inner.iterator,"normal")}catch(e){return Pa(r,"throw",e)}return r&&Pa(r,"normal"),Ta(void 0,!0)}})},Ra=Da(!0),za=Da(!1);wa(za,Oa,"Iterator Helper");var Fa=function(e,t,n){var r=function(r,o){o?(o.iterator=r.iterator,o.next=r.next):o=r,o.type=t?La:Ma,o.returnHandlerResult=!!n,o.nextHandler=e,o.counter=0,o.done=!1,Ba(this,o)};return r.prototype=t?Ra:za,r},Ha=tn,qa=Ea,Ua=function(e,t,n,r){try{return r?t(Ha(n)[0],n[1]):t(n)}catch(t){qa(e,"throw",t)}},Ga=P,Wa=Fe,Qa=tn,Ya=ga,Va=Ua,Za=Fa((function(){var e=this.iterator,t=Qa(Ga(this.next,e));if(!(this.done=!!t.done))return Va(e,this.mapper,[t.value,this.counter++],!0)}));_o({target:"Iterator",proto:!0,real:!0,forced:false},{map:function(e){return Qa(this),Wa(e),new Za(Ya(this),{mapper:e})}});var Ka={};Ka[_t("toStringTag")]="z";var Ja="[object z]"===String(Ka),Xa=le,$a=V,es=_t("toStringTag"),ts=Object,ns="Arguments"===$a(function(){return arguments}()),rs=Ja?$a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=ts(e),es))?n:ns?$a(t):"Object"===(r=$a(t))&&Xa(t.callee)?"Arguments":r},os=rs,is=String,as=function(e){if("Symbol"===os(e))throw new TypeError("Cannot convert a Symbol value to a string");return is(e)},ss=tn,ls=function(){var e=ss(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},cs=P,us=ut,ds=he,ms=ls,ps=RegExp.prototype,hs=function(e){var t=e.flags;return void 0!==t||"flags"in ps||us(e,"flags")||!ds(ps,e)?t:cs(ms,e)},fs=En.PROPER,gs=br,vs=tn,ys=as,xs=S,bs=hs,Cs="toString",Is=RegExp.prototype,Es=Is[Cs],_s=xs((function(){return"/a/b"!==Es.call({source:"a",flags:"b"})})),As=fs&&Es.name!==Cs;(_s||As)&&gs(Is,Cs,(function(){var e=vs(this);return"/"+ys(e.source)+"/"+ys(bs(e))}),{unsafe:!0});var ws,Ss,ks=ue,js=V,Ns=_t("match"),Ts=function(e){var t;return ks(e)&&(void 0!==(t=e[Ns])?!!t:"RegExp"===js(e))},Ps=Ts,Os=TypeError,Ms=function(e){if(Ps(e))throw new Os("The method doesn't accept regular expressions");return e},Ls=_t("match"),Bs=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Ls]=!1,"/./"[e](t)}catch(e){}}return!1},Ds=_o,Rs=Ms,zs=re,Fs=as,Hs=Bs,qs=G("".indexOf);Ds({target:"String",proto:!0,forced:!Hs("includes")},{includes:function(e){return!!~qs(Fs(zs(this)),Fs(Rs(e)),arguments.length>1?arguments[1]:void 0)}}),exports.LegendStatus=void 0,(ws=exports.LegendStatus||(exports.LegendStatus={})).Unknown="Unknown",ws.Multiple="Multiple",ws.ApiError="Api Error: Failed to get data for legend",ws.AsBuilt="AsBuilt",ws.Planned="Planned",ws.Reserved="Reserved",ws.Future="Future",ws.Historic="Historic",ws.OutOfService="Out of Service",ws.Voided="Voided",ws.OK="OK",ws.OS="OS",ws.PA="PA",ws.PB="PB",ws.RFCCSent="RFCCSent",ws.RFCCPartly="RFCCPartly",ws.RFCC="RFCC",ws.RFOCSent="RFOCSent",ws.RFOCPartly="RFOCPartly",ws.RFOC="RFOC",ws.RFCCRejected="RFCCRejected",ws.RFOCRejected="RFOCRejected",ws.Error="Error",ws.PM01="PM01",ws.PM02="PM02",ws.PM03="PM03",ws.PM04="PM04",ws.PM05="PM05",ws.PM06="PM06",ws.PM10="PM10",ws.PM15="PM15",ws.PM20="PM20",ws.LC="LC",ws.LO="LO",ws.OnWatch="On watch",ws.InProgress="In progress",ws.IocAnnotationError="IocAnnotationError",ws.Note="Note",ws.Archived="Archived",exports.LegendType=void 0,(Ss=exports.LegendType||(exports.LegendType={})).Stid="Stid",Ss.CommPk="CommPk",Ss.CommPkStatus="CommPkStatus",Ss.MCCRStatus="MCCRStatus",Ss.CPCLStatus="CPCLStatus",Ss.Notifications="Notifications",Ss.WorkOrders="WorkOrders",Ss.WorkOrderRevision="WorkOrderRevision",Ss.ValvePosition="ValvePosition",Ss.MeasuringPosition="MeasuringPosition",Ss.WorkPermit="WorkPermit",Ss.IocAnnotations="IocAnnotations";var Us=V,Gs=Array.isArray||function(e){return"Array"===Us(e)},Ws=TypeError,Qs=function(e){if(e>9007199254740991)throw Ws("Maximum allowed index exceeded");return e},Ys=V,Vs=G,Zs=function(e){if("Function"===Ys(e))return Vs(e)},Ks=Fe,Js=j,Xs=Zs(Zs.bind),$s=function(e,t){return Ks(e),void 0===t?e:Js?Xs(e,t):function(){return e.apply(t,arguments)}},el=Gs,tl=Mr,nl=Qs,rl=$s,ol=function(e,t,n,r,o,i,a,s){for(var l,c,u=o,d=0,m=!!a&&rl(a,s);d<r;)d in n&&(l=m?m(n[d],d,t):n[d],i>0&&el(l)?(c=tl(l),u=ol(e,t,l,c,u,i-1)-1):(nl(u+1),e[u]=l),u++),d++;return u},il=ol,al=G,sl=S,ll=le,cl=rs,ul=Nn,dl=function(){},ml=pe("Reflect","construct"),pl=/^\s*(?:class|function)\b/,hl=al(pl.exec),fl=!pl.test(dl),gl=function(e){if(!ll(e))return!1;try{return ml(dl,[],e),!0}catch(e){return!1}},vl=function(e){if(!ll(e))return!1;switch(cl(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return fl||!!hl(pl,ul(e))}catch(e){return!0}};vl.sham=!0;var yl=!ml||sl((function(){var e;return gl(gl.call)||!gl(Object)||!gl((function(){e=!0}))||e}))?vl:gl,xl=Gs,bl=yl,Cl=ue,Il=_t("species"),El=Array,_l=function(e){var t;return xl(e)&&(t=e.constructor,(bl(t)&&(t===El||xl(t.prototype))||Cl(t)&&null===(t=t[Il]))&&(t=void 0)),void 0===t?El:t},Al=function(e,t){return new(_l(e))(0===t?0:t)},wl=il,Sl=Fe,kl=st,jl=Mr,Nl=Al;_o({target:"Array",proto:!0},{flatMap:function(e){var t,n=kl(this),r=jl(n);return Sl(e),(t=Nl(n,0)).length=wl(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var Tl=k,Pl=Gs,Ol=TypeError,Ml=Object.getOwnPropertyDescriptor,Ll=Tl&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),Bl=st,Dl=Mr,Rl=Ll?function(e,t){if(Pl(e)&&!Ml(e,"length").writable)throw new Ol("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},zl=Qs;_o({target:"Array",proto:!0,arity:1,forced:S((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=Bl(this),n=Dl(t),r=arguments.length;zl(n+r);for(var o=0;o<r;o++)t[n]=arguments[o],n++;return Rl(t,n),n}}),gi("flatMap");var Fl=_o,Hl=P,ql=Fe,Ul=tn,Gl=ga,Wl=Ua,Ql=Fa((function(){for(var e,t,n=this.iterator,r=this.predicate,o=this.next;;){if(e=Ul(Hl(o,n)),this.done=!!e.done)return;if(t=e.value,Wl(n,r,[t,this.counter++],!0))return t}}));Fl({target:"Iterator",proto:!0,real:!0,forced:false},{filter:function(e){return Ul(this),ql(e),new Ql(Gl(this),{predicate:e})}});var Yl={},Vl=rs,Zl=Ue,Kl=ee,Jl=Yl,Xl=_t("iterator"),$l=function(e){if(!Kl(e))return Zl(e,Xl)||Zl(e,"@@iterator")||Jl[Vl(e)]},ec=P,tc=tn,nc=ga,rc=$l,oc=_o,ic=P,ac=Fe,sc=tn,lc=ga,cc=function(e,t){t&&"string"==typeof e||tc(e);var n=rc(e);return nc(tc(void 0!==n?ec(n,e):e))},uc=Ea,dc=Fa((function(){for(var e,t,n=this.iterator,r=this.mapper;;){if(t=this.inner)try{if(!(e=sc(ic(t.next,t.iterator))).done)return e.value;this.inner=null}catch(e){uc(n,"throw",e)}if(e=sc(ic(this.next,n)),this.done=!!e.done)return;try{this.inner=cc(r(e.value,this.counter++),!1)}catch(e){uc(n,"throw",e)}}}));oc({target:"Iterator",proto:!0,real:!0,forced:false},{flatMap:function(e){return sc(this),ac(e),new dc(lc(this),{mapper:e,inner:null})}});var mc=Yl,pc=_t("iterator"),hc=Array.prototype,fc=function(e){return void 0!==e&&(mc.Array===e||hc[pc]===e)},gc=P,vc=Fe,yc=tn,xc=Be,bc=$l,Cc=TypeError,Ic=function(e,t){var n=arguments.length<2?bc(e):t;if(vc(n))return yc(gc(n,e));throw new Cc(xc(e)+" is not iterable")},Ec=$s,_c=P,Ac=tn,wc=Be,Sc=fc,kc=Mr,jc=he,Nc=Ic,Tc=$l,Pc=Ea,Oc=TypeError,Mc=function(e,t){this.stopped=e,this.result=t},Lc=Mc.prototype,Bc=function(e,t,n){var r,o,i,a,s,l,c,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_RECORD),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),f=Ec(t,u),g=function(e){return r&&Pc(r,"normal",e),new Mc(!0,e)},v=function(e){return d?(Ac(e),h?f(e[0],e[1],g):f(e[0],e[1])):h?f(e,g):f(e)};if(m)r=e.iterator;else if(p)r=e;else{if(!(o=Tc(e)))throw new Oc(wc(e)+" is not iterable");if(Sc(o)){for(i=0,a=kc(e);a>i;i++)if((s=v(e[i]))&&jc(Lc,s))return s;return new Mc(!1)}r=Nc(e,o)}for(l=m?e.next:r.next;!(c=_c(l,r)).done;){try{s=v(c.value)}catch(e){Pc(r,"throw",e)}if("object"==typeof s&&s&&jc(Lc,s))return s}return new Mc(!1)},Dc=Bc,Rc=Fe,zc=tn,Fc=ga;_o({target:"Iterator",proto:!0,real:!0},{some:function(e){zc(this),Rc(e);var t=Fc(this),n=0;return Dc(t,(function(t,r){if(e(t,n++))return r()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}});var Hc=S,qc=A.RegExp,Uc=Hc((function(){var e=qc("a","y");return e.lastIndex=2,null!==e.exec("abcd")}));Uc||Hc((function(){return!qc("a","y").sticky}));var Gc,Wc,Qc=Uc||Hc((function(){var e=qc("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),Yc={BROKEN_CARET:Qc,UNSUPPORTED_Y:Uc},Vc=S,Zc=A.RegExp,Kc=Vc((function(){var e=Zc(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})),Jc=S,Xc=A.RegExp,$c=Jc((function(){var e=Xc("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),eu=P,tu=G,nu=as,ru=ls,ou=Yc,iu=ui,au=Jn.get,su=Kc,lu=$c,cu=ot("native-string-replace",String.prototype.replace),uu=RegExp.prototype.exec,du=uu,mu=tu("".charAt),pu=tu("".indexOf),hu=tu("".replace),fu=tu("".slice),gu=(Wc=/b*/g,eu(uu,Gc=/a/,"a"),eu(uu,Wc,"a"),0!==Gc.lastIndex||0!==Wc.lastIndex),vu=ou.BROKEN_CARET,yu=void 0!==/()??/.exec("")[1];(gu||yu||vu||su||lu)&&(du=function(e){var t,n,r,o,i,a,s,l=this,c=au(l),u=nu(e),d=c.raw;if(d)return d.lastIndex=l.lastIndex,t=eu(du,d,u),l.lastIndex=d.lastIndex,t;var m=c.groups,p=vu&&l.sticky,h=eu(ru,l),f=l.source,g=0,v=u;if(p&&(h=hu(h,"y",""),-1===pu(h,"g")&&(h+="g"),v=fu(u,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==mu(u,l.lastIndex-1))&&(f="(?: "+f+")",v=" "+v,g++),n=new RegExp("^(?:"+f+")",h)),yu&&(n=new RegExp("^"+f+"$(?!\\s)",h)),gu&&(r=l.lastIndex),o=eu(uu,p?n:l,v),p?o?(o.input=fu(o.input,g),o[0]=fu(o[0],g),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:gu&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),yu&&o&&o.length>1&&eu(cu,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&m)for(o.groups=a=iu(null),i=0;i<m.length;i++)a[(s=m[i])[0]]=o[s[1]];return o});var xu=du;_o({target:"RegExp",proto:!0,forced:/./.exec!==xu},{exec:xu});var bu=P,Cu=br,Iu=xu,Eu=S,_u=_t,Au=gn,wu=_u("species"),Su=RegExp.prototype,ku=function(e,t,n,r){var o=_u(e),i=!Eu((function(){var t={};return t[o]=function(){return 7},7!==""[e](t)})),a=i&&!Eu((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[wu]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var s=/./[o],l=t(o,""[e],(function(e,t,n,r,o){var a=t.exec;return a===Iu||a===Su.exec?i&&!o?{done:!0,value:bu(s,t,n,r)}:{done:!0,value:bu(e,n,t,r)}:{done:!1}}));Cu(String.prototype,e,l[0]),Cu(Su,o,l[1])}r&&Au(Su[o],"sham",!0)},ju=yl,Nu=Be,Tu=TypeError,Pu=tn,Ou=function(e){if(ju(e))return e;throw new Tu(Nu(e)+" is not a constructor")},Mu=ee,Lu=_t("species"),Bu=function(e,t){var n,r=Pu(e).constructor;return void 0===r||Mu(n=Pu(r)[Lu])?t:Ou(n)},Du=G,Ru=Ar,zu=as,Fu=re,Hu=Du("".charAt),qu=Du("".charCodeAt),Uu=Du("".slice),Gu=function(e){return function(t,n){var r,o,i=zu(Fu(t)),a=Ru(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=qu(i,a))<55296||r>56319||a+1===s||(o=qu(i,a+1))<56320||o>57343?e?Hu(i,a):r:e?Uu(i,a,a+2):o-56320+(r-55296<<10)+65536}},Wu={codeAt:Gu(!1),charAt:Gu(!0)},Qu=Wu.charAt,Yu=function(e,t,n){return t+(n?Qu(e,t).length:1)},Vu=P,Zu=tn,Ku=le,Ju=V,Xu=xu,$u=TypeError,ed=function(e,t){var n=e.exec;if(Ku(n)){var r=Vu(n,e,t);return null!==r&&Zu(r),r}if("RegExp"===Ju(e))return Vu(Xu,e,t);throw new $u("RegExp#exec called on incompatible receiver")},td=P,nd=G,rd=ku,od=tn,id=ee,ad=re,sd=Bu,ld=Yu,cd=Pr,ud=as,dd=Ue,md=ed,pd=S,hd=Yc.UNSUPPORTED_Y,fd=Math.min,gd=nd([].push),vd=nd("".slice),yd=!pd((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),xd="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;rd("split",(function(e,t,n){var r="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:td(t,this,e,n)}:t;return[function(t,n){var o=ad(this),i=id(t)?void 0:dd(t,e);return i?td(i,t,o,n):td(r,ud(o),t,n)},function(e,o){var i=od(this),a=ud(e);if(!xd){var s=n(r,i,a,o,r!==t);if(s.done)return s.value}var l=sd(i,RegExp),c=i.unicode,u=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(hd?"g":"y"),d=new l(hd?"^(?:"+i.source+")":i,u),m=void 0===o?4294967295:o>>>0;if(0===m)return[];if(0===a.length)return null===md(d,a)?[a]:[];for(var p=0,h=0,f=[];h<a.length;){d.lastIndex=hd?0:h;var g,v=md(d,hd?vd(a,h):a);if(null===v||(g=fd(cd(d.lastIndex+(hd?h:0)),a.length))===p)h=ld(a,h,c);else{if(gd(f,vd(a,p,h)),f.length===m)return f;for(var y=1;y<=v.length-1;y++)if(gd(f,v[y]),f.length===m)return f;h=p=g}}return gd(f,vd(a,p)),f}]}),xd||!yd,hd);function bd(e){return e.includes("+")}const Cd={toMultiStatus:function(e){return e.join("+")},toSingleStatuses:function(e){var t,n;return null!==(n=null===(t=null==e?void 0:e.split("+"))||void 0===t?void 0:t.filter((e=>e.length>0)))&&void 0!==n?n:[]},hasMultiStatuses:bd,isSingleStatus:function(e){return!bd(e)},multiListToSingleList:function(e){const n=t.uniq(e.map((e=>Cd.toSingleStatuses(e))).flatMap((e=>e)));return!e.includes(exports.LegendStatus.Multiple)&&e.some((e=>Cd.hasMultiStatuses(e)))&&n.push(exports.LegendStatus.Multiple),n}};function Id(t=""){const n=getComputedStyle(document.documentElement);if(!t)return n.getPropertyValue("--unknown");const r=t.toString().toLowerCase();if(r.includes("open"))return n.getPropertyValue("--ok");if(r.includes("closed"))return n.getPropertyValue("--voided");switch(r){case exports.LegendStatus.AsBuilt.toLowerCase():return n.getPropertyValue("--asBuilt");case exports.LegendStatus.Planned.toLowerCase():return n.getPropertyValue("--planned");case exports.LegendStatus.Future.toLowerCase():return n.getPropertyValue("--future");case exports.LegendStatus.Historic.toLowerCase():return n.getPropertyValue("--historic");case exports.LegendStatus.OutOfService.toLowerCase():return n.getPropertyValue("--outOfService");case exports.LegendStatus.Reserved.toLowerCase():return n.getPropertyValue("--reserved");case exports.LegendStatus.Voided.toLowerCase():return n.getPropertyValue("--voided");case exports.LegendStatus.OK.toLowerCase():return n.getPropertyValue("--ok");case exports.LegendStatus.OS.toLowerCase():return n.getPropertyValue("--os");case exports.LegendStatus.PA.toLowerCase():return n.getPropertyValue("--pa");case exports.LegendStatus.PB.toLowerCase():return n.getPropertyValue("--pb");case exports.LegendStatus.RFCCSent.toLowerCase():return n.getPropertyValue("--rfccSent");case exports.LegendStatus.RFCCPartly.toLowerCase():return n.getPropertyValue("--rfccPartly");case exports.LegendStatus.RFCC.toLowerCase():return n.getPropertyValue("--rfcc");case exports.LegendStatus.RFOCSent.toLowerCase():return n.getPropertyValue("--rfocSent");case exports.LegendStatus.RFOCPartly.toLowerCase():return n.getPropertyValue("--rfocPartly");case exports.LegendStatus.RFOC.toLowerCase():return n.getPropertyValue("--rfoc");case exports.LegendStatus.RFCCRejected.toLowerCase():return n.getPropertyValue("--rfccRejected");case exports.LegendStatus.RFOCRejected.toLowerCase():return n.getPropertyValue("--rfocRejected");case exports.LegendStatus.Error.toLowerCase():return n.getPropertyValue("--handoverError");case exports.LegendStatus.Unknown.toLowerCase():return n.getPropertyValue("--unknown");case exports.LegendStatus.PM01.toLocaleLowerCase():return n.getPropertyValue("--pm01");case exports.LegendStatus.PM02.toLocaleLowerCase():return n.getPropertyValue("--pm02");case exports.LegendStatus.PM03.toLocaleLowerCase():return n.getPropertyValue("--pm03");case exports.LegendStatus.PM04.toLocaleLowerCase():return n.getPropertyValue("--pm04");case exports.LegendStatus.PM05.toLocaleLowerCase():return n.getPropertyValue("--pm05");case exports.LegendStatus.PM06.toLocaleLowerCase():return n.getPropertyValue("--pm06");case exports.LegendStatus.PM10.toLocaleLowerCase():return n.getPropertyValue("--pm10");case exports.LegendStatus.PM15.toLocaleLowerCase():return n.getPropertyValue("--pm15");case exports.LegendStatus.PM20.toLocaleLowerCase():return n.getPropertyValue("--pm20");case exports.LegendStatus.LC.toLocaleLowerCase():return n.getPropertyValue("--lc");case exports.LegendStatus.LO.toLocaleLowerCase():return n.getPropertyValue("--lo");case exports.LegendStatus.OnWatch.toLocaleLowerCase():return n.getPropertyValue("--onWatch");case exports.LegendStatus.InProgress.toLocaleLowerCase():return n.getPropertyValue("--inProgress");case exports.LegendStatus.IocAnnotationError.toLocaleLowerCase():return n.getPropertyValue("--iocAnnotationError");case exports.LegendStatus.Note.toLocaleLowerCase():return n.getPropertyValue("--note");case exports.LegendStatus.Archived.toLocaleLowerCase():return n.getPropertyValue("--archived");case exports.LegendStatus.ApiError.toLowerCase():return n.getPropertyValue("--darkEquiRed");default:return Cd.hasMultiStatuses(t)?e.Utils.Color.getColorStatusFromString(exports.LegendStatus.Multiple):e.Utils.Color.getColorStatusFromString(t)}}function Ed(e){if(!e)return exports.LegendStatus.Unknown;const t=_d(exports.LegendStatus,e);return null!=t?t:e}function _d(e,t){return Object.values(e).includes(t)?t:void 0}function Ad(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}Ad(":root{--echo-framework-z-level-pdf-marker-icon:100;--echo-framework-z-level-pdf-popover:102;--echo-framework-z-level-panel-left:500;--echo-framework-z-level-panel-main:550;--echo-framework-z-level-bottom-bar:1425;--echo-framework-z-level-scrim:1450}[class^=Scrim__StyledScrim]{z-index:var(--echo-framework-z-level-scrim)!important}");var wd=Bc,Sd=Fe,kd=tn,jd=ga;function Nd(){const t=o.useHistory(),i=n.useInstCode(),a=r.useCallback(((n,r,o)=>{o?t.push(n,o):t.push(n),r&&!Object.prototype.hasOwnProperty.call(r,e.LinkParameters.InstCode)&&e.setLinkParam(e.LinkParameters.InstCode,i),r&&Object.keys(r).forEach((t=>{e.setLinkParam(t,r[t])}))}),[t,i]);return a}_o({target:"Iterator",proto:!0,real:!0},{forEach:function(e){kd(this),Sd(e);var t=jd(this),n=0;wd(t,(function(t){e(t,n++)}),{IS_RECORD:!0})}});var Td=Kt.f,Pd=ut,Od=_t("toStringTag"),Md=function(e,t,n){e&&!n&&(e=e.prototype),e&&!Pd(e,Od)&&Td(e,Od,{configurable:!0,value:t})},Ld=Zi.IteratorPrototype,Bd=ui,Dd=z,Rd=Md,zd=Yl,Fd=function(){return this},Hd=function(e,t,n,r){var o=t+" Iterator";return e.prototype=Bd(Ld,{next:Dd(+!r,n)}),Rd(e,o,!1),zd[o]=Fd,e},qd=G,Ud=Fe,Gd=function(e,t,n){try{return qd(Ud(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}},Wd=ue,Qd=function(e){return Wd(e)||null===e},Yd=String,Vd=TypeError,Zd=Gd,Kd=ue,Jd=re,Xd=function(e){if(Qd(e))return e;throw new Vd("Can't set "+Yd(e)+" as a prototype")},$d=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Zd(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Jd(n),Xd(r),Kd(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0),em=_o,tm=P,nm=le,rm=Hd,om=Oi,im=$d,am=Md,sm=gn,lm=br,cm=Yl,um=En.PROPER,dm=En.CONFIGURABLE,mm=Zi.IteratorPrototype,pm=Zi.BUGGY_SAFARI_ITERATORS,hm=_t("iterator"),fm="keys",gm="values",vm="entries",ym=function(){return this},xm=function(e,t,n,r,o,i,a){rm(n,t,r);var s,l,c,u=function(e){if(e===o&&f)return f;if(!pm&&e&&e in p)return p[e];switch(e){case fm:case gm:case vm:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",m=!1,p=e.prototype,h=p[hm]||p["@@iterator"]||o&&p[o],f=!pm&&h||u(o),g="Array"===t&&p.entries||h;if(g&&(s=om(g.call(new e)))!==Object.prototype&&s.next&&(om(s)!==mm&&(im?im(s,mm):nm(s[hm])||lm(s,hm,ym)),am(s,d,!0)),um&&o===gm&&h&&h.name!==gm&&(dm?sm(p,"name",gm):(m=!0,f=function(){return tm(h,this)})),o)if(l={values:u(gm),keys:i?f:u(fm),entries:u(vm)},a)for(c in l)(pm||m||!(c in p))&&lm(p,c,l[c]);else em({target:t,proto:!0,forced:pm||m},l);return p[hm]!==f&&lm(p,hm,f,{name:o}),cm[t]=f,l},bm=ae,Cm=gi,Im=Yl,Em=Jn,_m=Kt.f,Am=xm,wm=xa,Sm=k,km="Array Iterator",jm=Em.set,Nm=Em.getterFor(km),Tm=Am(Array,"Array",(function(e,t){jm(this,{type:km,target:bm(e),index:0,kind:t})}),(function(){var e=Nm(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,wm(void 0,!0);switch(e.kind){case"keys":return wm(n,!1);case"values":return wm(t[n],!1)}return wm([n,t[n]],!1)}),"values"),Pm=Im.Arguments=Im.Array;if(Cm("keys"),Cm("values"),Cm("entries"),Sm&&"values"!==Pm.name)try{_m(Pm,"name",{value:"values"})}catch(e){}var Om=Rt("span").classList,Mm=Om&&Om.constructor&&Om.constructor.prototype,Lm=Mm===Object.prototype?void 0:Mm,Bm=A,Dm={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Rm=Lm,zm=Tm,Fm=gn,Hm=Md,qm=_t("iterator"),Um=zm.values,Gm=function(e,t){if(e){if(e[qm]!==Um)try{Fm(e,qm,Um)}catch(t){e[qm]=Um}if(Hm(e,t,!0),Dm[t])for(var n in zm)if(e[n]!==zm[n])try{Fm(e,n,zm[n])}catch(t){e[n]=zm[n]}}};for(var Wm in Dm)Gm(Bm[Wm]&&Bm[Wm].prototype,Wm);function Qm(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function Ym(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}Gm(Rm,"DOMTokenList"),"function"==typeof SuppressedError&&SuppressedError;var Vm=Bc,Zm=Fe,Km=tn,Jm=ga;_o({target:"Iterator",proto:!0,real:!0},{find:function(e){Km(this),Zm(e);var t=Jm(this),n=0;return Vm(t,(function(t,r){if(e(t,n++))return r(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}});var Xm=j,$m=Function.prototype,ep=$m.apply,tp=$m.call,np="object"==typeof Reflect&&Reflect.apply||(Xm?tp.bind(ep):function(){return tp.apply(ep,arguments)}),rp=G([].slice),op=Gs,ip=le,ap=V,sp=as,lp=G([].push),cp=_o,up=pe,dp=np,mp=P,pp=G,hp=S,fp=le,gp=Me,vp=rp,yp=function(e){if(ip(e))return e;if(op(e)){for(var t=e.length,n=[],r=0;r<t;r++){var o=e[r];"string"==typeof o?lp(n,o):"number"!=typeof o&&"Number"!==ap(o)&&"String"!==ap(o)||lp(n,sp(o))}var i=n.length,a=!0;return function(e,t){if(a)return a=!1,t;if(op(this))return t;for(var r=0;r<i;r++)if(n[r]===e)return t}}},xp=ke,bp=String,Cp=up("JSON","stringify"),Ip=pp(/./.exec),Ep=pp("".charAt),_p=pp("".charCodeAt),Ap=pp("".replace),wp=pp(1..toString),Sp=/[\uD800-\uDFFF]/g,kp=/^[\uD800-\uDBFF]$/,jp=/^[\uDC00-\uDFFF]$/,Np=!xp||hp((function(){var e=up("Symbol")("stringify detection");return"[null]"!==Cp([e])||"{}"!==Cp({a:e})||"{}"!==Cp(Object(e))})),Tp=hp((function(){return'"\\udf06\\ud834"'!==Cp("\udf06\ud834")||'"\\udead"'!==Cp("\udead")})),Pp=function(e,t){var n=vp(arguments),r=yp(t);if(fp(r)||void 0!==e&&!gp(e))return n[1]=function(e,t){if(fp(r)&&(t=mp(r,this,bp(e),t)),!gp(t))return t},dp(Cp,null,n)},Op=function(e,t,n){var r=Ep(n,t-1),o=Ep(n,t+1);return Ip(kp,e)&&!Ip(jp,o)||Ip(jp,e)&&!Ip(kp,r)?"\\u"+wp(_p(e,0),16):e};function Mp(e){return Ym(this,void 0,void 0,(function*(){var t;let r=`${n.baseApiUrl}/EchoHub/plant-info`;return e&&(r+=`?instCode=${e}`),null!==(t=yield n.request({url:r}))&&void 0!==t?t:[]}))}function Lp(e){return Ym(this,void 0,void 0,(function*(){var t;const r=`${n.baseApiUrl}/echo-3d-model/platform/access/${e}`,o={plantCodes:[],timestamp:new Date};return null!==(t=yield n.request({url:r}))&&void 0!==t?t:o}))}Cp&&cp({target:"JSON",stat:!0,arity:3,forced:Np||Tp},{stringify:function(e,t,n){var r=vp(arguments),o=dp(Np?Pp:Cp,null,r);return Tp&&"string"==typeof o?Ap(o,Sp,Op):o}});const Bp="echoHubPlantInfo";function Dp(e){n.storage.setItem(Bp,JSON.stringify(e))}function Rp(){return Ym(this,void 0,void 0,(function*(){const e=n.storage.getItem(Bp);if(e&&"string"!=typeof e)return e;{const e=yield Fp();if(e.length>0)return Dp(e),e}return[]}))}function zp(e){return Ym(this,void 0,void 0,(function*(){return Mp(e)}))}function Fp(){return Ym(this,void 0,void 0,(function*(){return Mp()}))}function Hp(e){return Ym(this,void 0,void 0,(function*(){const t=(yield Rp()).find((t=>{var n;return(null===(n=t.sapId)||void 0===n?void 0:n.toString())===e}));return null==t?void 0:t.installationCode}))}function qp(e){return Ym(this,void 0,void 0,(function*(){return(yield Rp()).filter((t=>t.installationCode===e)).map((e=>e.plantCode))}))}function Up(e){return Ym(this,void 0,void 0,(function*(){const t=yield qp(e);if(1===t.length)return(yield Lp(t[0])).plantCodes.length>0;const r=yield function(){return Ym(this,void 0,void 0,(function*(){var e;const t=`${n.baseApiUrl}/echo-3d-model/platform/access`,r={plantCodes:[],timestamp:new Date};return null!==(e=yield n.request({url:t}))&&void 0!==e?e:r}))}();for(const e of t)if(r.plantCodes.includes(e))return!0;return!1}))}function Gp(e,t){return Ym(this,void 0,void 0,(function*(){return t?Wp(t):Up(e)}))}function Wp(e){return Ym(this,void 0,void 0,(function*(){return(yield Lp(e)).plantCodes.length>0}))}function Qp(e,t){return Ym(this,void 0,void 0,(function*(){const n=(yield Rp()).filter((t=>t.installationCode.toLocaleLowerCase()===e.toLocaleLowerCase()));if(1===n.length)return n[0].availableInEcho3D;if(t){const e=n.find((e=>e.plantCode.toLocaleLowerCase()===t.toLocaleLowerCase()));if(e)return e.availableInEcho3D}return n.filter((e=>!0===e.availableInEcho3D)).length>0}))}function Yp(e,t){return Ym(this,void 0,void 0,(function*(){const n=(yield Rp()).filter((t=>t.installationCode.toLocaleLowerCase()===e.toLocaleLowerCase()));if(1===n.length)return n[0].availableInEcho3DWebReveal;if(t){const e=n.find((e=>e.plantCode.toLocaleLowerCase()===t.toLocaleLowerCase()));if(e)return e.availableInEcho3DWebReveal}return n.filter((e=>!0===e.availableInEcho3DWebReveal)).length>0}))}const Vp=e=>{const[t,n]=r.useState(void 0);return r.useEffect((()=>{Ym(void 0,void 0,void 0,(function*(){if(e.sapPlantId){const t=yield Hp(e.sapPlantId);n(t)}}))}),[e.sapPlantId]),t},Zp=n.analytics.createAnalyticsModule("ep"),Kp="echopedia-web--dialog-container",Jp=Object.freeze({portalId:Kp,domSelector:document.getElementById(Kp)||document.body});function Xp(e){if(!e)return"This is empty";"string"==typeof e&&(e=new Date(e));return e.toLocaleDateString("en-GB")}const $p=function(e,t){Zp.trackEventBy("ExternalLink","Opened",{linkTo:e}),t?window.location.href=e:window.open(e,"_blank")};var eh=Kt.f,th=le,nh=ue,rh=$d,oh=as,ih=ue,ah=gn,sh=Error,lh=G("".replace),ch=String(new sh("zxcasd").stack),uh=/\n\s*at [^:]*:[^\n]*/,dh=uh.test(ch),mh=z,ph=!S((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",mh(1,7)),7!==e.stack)})),hh=gn,fh=function(e,t){if(dh&&"string"==typeof e&&!sh.prepareStackTrace)for(;t--;)e=lh(e,uh,"");return e},gh=ph,vh=Error.captureStackTrace,yh=pe,xh=ut,bh=gn,Ch=he,Ih=$d,Eh=ao,_h=function(e,t,n){n in e||eh(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})},Ah=function(e,t,n){var r,o;return rh&&th(r=t.constructor)&&r!==n&&nh(o=r.prototype)&&o!==n.prototype&&rh(e,o),e},wh=function(e,t){return void 0===e?arguments.length<2?"":t:oh(e)},Sh=function(e,t){ih(t)&&"cause"in t&&ah(e,"cause",t.cause)},kh=function(e,t,n,r){gh&&(vh?vh(e,t):hh(e,"stack",fh(n,r)))},jh=k,Nh=_o,Th=np,Ph=function(e,t,n,r){var o="stackTraceLimit",i=r?2:1,a=e.split("."),s=a[a.length-1],l=yh.apply(null,a);if(l){var c=l.prototype;if(xh(c,"cause")&&delete c.cause,!n)return l;var u=yh("Error"),d=t((function(e,t){var n=wh(r?t:e,void 0),o=r?new l(e):new l;return void 0!==n&&bh(o,"message",n),kh(o,d,o.stack,2),this&&Ch(c,this)&&Ah(o,this,d),arguments.length>i&&Sh(o,arguments[i]),o}));d.prototype=c,"Error"!==s?Ih?Ih(d,u):Eh(d,u,{name:!0}):jh&&o in l&&(_h(d,l,o),_h(d,l,"prepareStackTrace")),Eh(d,l);try{c.name!==s&&bh(c,"name",s),c.constructor=d}catch(e){}return d}},Oh="WebAssembly",Mh=A[Oh],Lh=7!==new Error("e",{cause:7}).cause,Bh=function(e,t){var n={};n[e]=Ph(e,t,Lh),Nh({global:!0,constructor:!0,arity:1,forced:Lh},n)},Dh=function(e,t){if(Mh&&Mh[e]){var n={};n[e]=Ph(Oh+"."+e,t,Lh),Nh({target:Oh,stat:!0,constructor:!0,arity:1,forced:Lh},n)}};Bh("Error",(function(e){return function(t){return Th(e,this,arguments)}})),Bh("EvalError",(function(e){return function(t){return Th(e,this,arguments)}})),Bh("RangeError",(function(e){return function(t){return Th(e,this,arguments)}})),Bh("ReferenceError",(function(e){return function(t){return Th(e,this,arguments)}})),Bh("SyntaxError",(function(e){return function(t){return Th(e,this,arguments)}})),Bh("TypeError",(function(e){return function(t){return Th(e,this,arguments)}})),Bh("URIError",(function(e){return function(t){return Th(e,this,arguments)}})),Dh("CompileError",(function(e){return function(t){return Th(e,this,arguments)}})),Dh("LinkError",(function(e){return function(t){return Th(e,this,arguments)}})),Dh("RuntimeError",(function(e){return function(t){return Th(e,this,arguments)}}));var Rh=Wu.charAt,zh=as,Fh=Jn,Hh=xm,qh=xa,Uh="String Iterator",Gh=Fh.set,Wh=Fh.getterFor(Uh);Hh(String,"String",(function(e){Gh(this,{type:Uh,string:zh(e),index:0})}),(function(){var e,t=Wh(this),n=t.string,r=t.index;return r>=n.length?qh(void 0,!0):(e=Rh(n,r),t.index+=e.length,qh(e,!1))}));var Qh=S,Yh=k,Vh=_t("iterator"),Zh=!Qh((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),n.delete("a",2),n.delete("b",void 0),!t.size&&!Yh||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[Vh]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==r||"x"!==new URL("https://x",void 0).host})),Kh=$s,Jh=P,Xh=st,$h=Ua,ef=fc,tf=yl,nf=Mr,rf=Fi,of=Ic,af=$l,sf=Array,lf=G,cf=2147483647,uf=/[^\0-\u007E]/,df=/[.\u3002\uFF0E\uFF61]/g,mf="Overflow: input needs wider integers to process",pf=RangeError,hf=lf(df.exec),ff=Math.floor,gf=String.fromCharCode,vf=lf("".charCodeAt),yf=lf([].join),xf=lf([].push),bf=lf("".replace),Cf=lf("".split),If=lf("".toLowerCase),Ef=function(e){return e+22+75*(e<26)},_f=function(e,t,n){var r=0;for(e=n?ff(e/700):e>>1,e+=ff(e/t);e>455;)e=ff(e/35),r+=36;return ff(r+36*e/(e+38))},Af=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=vf(e,n++);if(o>=55296&&o<=56319&&n<r){var i=vf(e,n++);56320==(64512&i)?xf(t,((1023&o)<<10)+(1023&i)+65536):(xf(t,o),n--)}else xf(t,o)}return t}(e);var n,r,o=e.length,i=128,a=0,s=72;for(n=0;n<e.length;n++)(r=e[n])<128&&xf(t,gf(r));var l=t.length,c=l;for(l&&xf(t,"-");c<o;){var u=cf;for(n=0;n<e.length;n++)(r=e[n])>=i&&r<u&&(u=r);var d=c+1;if(u-i>ff((cf-a)/d))throw new pf(mf);for(a+=(u-i)*d,i=u,n=0;n<e.length;n++){if((r=e[n])<i&&++a>cf)throw new pf(mf);if(r===i){for(var m=a,p=36;;){var h=p<=s?1:p>=s+26?26:p-s;if(m<h)break;var f=m-h,g=36-h;xf(t,gf(Ef(h+f%g))),m=ff(f/g),p+=36}xf(t,gf(Ef(m))),s=_f(a,d,c===l),a=0,c++}}a++,i++}return yf(t,"")},wf=TypeError,Sf=function(e,t){if(e<t)throw new wf("Not enough arguments");return e},kf=_o,jf=G,Nf=jr,Tf=RangeError,Pf=String.fromCharCode,Of=String.fromCodePoint,Mf=jf([].join);kf({target:"String",stat:!0,arity:1,forced:!!Of&&1!==Of.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],Nf(t,1114111)!==t)throw new Tf(t+" is not a valid code point");n[o]=t<65536?Pf(t):Pf(55296+((t-=65536)>>10),t%1024+56320)}return Mf(n,"")}});var Lf=A,Bf=k,Df=Object.getOwnPropertyDescriptor,Rf=function(e){if(!Bf)return Lf[e];var t=Df(Lf,e);return t&&t.value},zf=rp,Ff=Math.floor,Hf=function(e,t){var n=e.length;if(n<8)for(var r,o,i=1;i<n;){for(o=i,r=e[i];o&&t(e[o-1],r)>0;)e[o]=e[--o];o!==i++&&(e[o]=r)}else for(var a=Ff(n/2),s=Hf(zf(e,0,a),t),l=Hf(zf(e,a),t),c=s.length,u=l.length,d=0,m=0;d<c||m<u;)e[d+m]=d<c&&m<u?t(s[d],l[m])<=0?s[d++]:l[m++]:d<c?s[d++]:l[m++];return e},qf=Hf,Uf=_o,Gf=A,Wf=Rf,Qf=pe,Yf=P,Vf=G,Zf=k,Kf=Zh,Jf=br,Xf=Bi,$f=ya,eg=Md,tg=Hd,ng=Jn,rg=_i,og=le,ig=ut,ag=$s,sg=rs,lg=tn,cg=ue,ug=as,dg=ui,mg=z,pg=Ic,hg=$l,fg=xa,gg=Sf,vg=qf,yg=_t("iterator"),xg="URLSearchParams",bg=xg+"Iterator",Cg=ng.set,Ig=ng.getterFor(xg),Eg=ng.getterFor(bg),_g=Wf("fetch"),Ag=Wf("Request"),wg=Wf("Headers"),Sg=Ag&&Ag.prototype,kg=wg&&wg.prototype,jg=Gf.TypeError,Ng=Gf.encodeURIComponent,Tg=String.fromCharCode,Pg=Qf("String","fromCodePoint"),Og=parseInt,Mg=Vf("".charAt),Lg=Vf([].join),Bg=Vf([].push),Dg=Vf("".replace),Rg=Vf([].shift),zg=Vf([].splice),Fg=Vf("".split),Hg=Vf("".slice),qg=Vf(/./.exec),Ug=/\+/g,Gg=/^[0-9a-f]+$/i,Wg=function(e,t){var n=Hg(e,t,t+2);return qg(Gg,n)?Og(n,16):NaN},Qg=function(e){for(var t=0,n=128;n>0&&e&n;n>>=1)t++;return t},Yg=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},Vg=function(e){for(var t=(e=Dg(e,Ug," ")).length,n="",r=0;r<t;){var o=Mg(e,r);if("%"===o){if("%"===Mg(e,r+1)||r+3>t){n+="%",r++;continue}var i=Wg(e,r+1);if(i!=i){n+=o,r++;continue}r+=2;var a=Qg(i);if(0===a)o=Tg(i);else{if(1===a||a>4){n+="�",r++;continue}for(var s=[i],l=1;l<a&&!(++r+3>t||"%"!==Mg(e,r));){var c=Wg(e,r+1);if(c!=c){r+=3;break}if(c>191||c<128)break;Bg(s,c),r+=2,l++}if(s.length!==a){n+="�";continue}var u=Yg(s);null===u?n+="�":o=Pg(u)}}n+=o,r++}return n},Zg=/[!'()~]|%20/g,Kg={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Jg=function(e){return Kg[e]},Xg=function(e){return Dg(Ng(e),Zg,Jg)},$g=tg((function(e,t){Cg(this,{type:bg,target:Ig(e).entries,index:0,kind:t})}),xg,(function(){var e=Eg(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,fg(void 0,!0);var r=t[n];switch(e.kind){case"keys":return fg(r.key,!1);case"values":return fg(r.value,!1)}return fg([r.key,r.value],!1)}),!0),ev=function(e){this.entries=[],this.url=null,void 0!==e&&(cg(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Mg(e,0)?Hg(e,1):e:ug(e)))};ev.prototype={type:xg,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,o,i,a,s,l=this.entries,c=hg(e);if(c)for(n=(t=pg(e,c)).next;!(r=Yf(n,t)).done;){if(i=(o=pg(lg(r.value))).next,(a=Yf(i,o)).done||(s=Yf(i,o)).done||!Yf(i,o).done)throw new jg("Expected sequence with length 2");Bg(l,{key:ug(a.value),value:ug(s.value)})}else for(var u in e)ig(e,u)&&Bg(l,{key:u,value:ug(e[u])})},parseQuery:function(e){if(e)for(var t,n,r=this.entries,o=Fg(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(n=Fg(t,"="),Bg(r,{key:Vg(Rg(n)),value:Vg(Lg(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],Bg(n,Xg(e.key)+"="+Xg(e.value));return Lg(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var tv=function(){rg(this,nv);var e=Cg(this,new ev(arguments.length>0?arguments[0]:void 0));Zf||(this.size=e.entries.length)},nv=tv.prototype;if($f(nv,{append:function(e,t){var n=Ig(this);gg(arguments.length,2),Bg(n.entries,{key:ug(e),value:ug(t)}),Zf||this.length++,n.updateURL()},delete:function(e){for(var t=Ig(this),n=gg(arguments.length,1),r=t.entries,o=ug(e),i=n<2?void 0:arguments[1],a=void 0===i?i:ug(i),s=0;s<r.length;){var l=r[s];if(l.key!==o||void 0!==a&&l.value!==a)s++;else if(zg(r,s,1),void 0!==a)break}Zf||(this.size=r.length),t.updateURL()},get:function(e){var t=Ig(this).entries;gg(arguments.length,1);for(var n=ug(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=Ig(this).entries;gg(arguments.length,1);for(var n=ug(e),r=[],o=0;o<t.length;o++)t[o].key===n&&Bg(r,t[o].value);return r},has:function(e){for(var t=Ig(this).entries,n=gg(arguments.length,1),r=ug(e),o=n<2?void 0:arguments[1],i=void 0===o?o:ug(o),a=0;a<t.length;){var s=t[a++];if(s.key===r&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var n=Ig(this);gg(arguments.length,1);for(var r,o=n.entries,i=!1,a=ug(e),s=ug(t),l=0;l<o.length;l++)(r=o[l]).key===a&&(i?zg(o,l--,1):(i=!0,r.value=s));i||Bg(o,{key:a,value:s}),Zf||(this.size=o.length),n.updateURL()},sort:function(){var e=Ig(this);vg(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=Ig(this).entries,r=ag(e,arguments.length>1?arguments[1]:void 0),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new $g(this,"keys")},values:function(){return new $g(this,"values")},entries:function(){return new $g(this,"entries")}},{enumerable:!0}),Jf(nv,yg,nv.entries,{name:"entries"}),Jf(nv,"toString",(function(){return Ig(this).serialize()}),{enumerable:!0}),Zf&&Xf(nv,"size",{get:function(){return Ig(this).entries.length},configurable:!0,enumerable:!0}),eg(tv,xg),Uf({global:!0,constructor:!0,forced:!Kf},{URLSearchParams:tv}),!Kf&&og(wg)){var rv=Vf(kg.has),ov=Vf(kg.set),iv=function(e){if(cg(e)){var t,n=e.body;if(sg(n)===xg)return t=e.headers?new wg(e.headers):new wg,rv(t,"content-type")||ov(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),dg(e,{body:mg(0,ug(n)),headers:mg(0,t)})}return e};if(og(_g)&&Uf({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return _g(e,arguments.length>1?iv(arguments[1]):{})}}),og(Ag)){var av=function(e){return rg(this,Sg),new Ag(e,arguments.length>1?iv(arguments[1]):{})};Sg.constructor=av,av.prototype=Sg,Uf({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:av})}}var sv,lv=_o,cv=k,uv=Zh,dv=A,mv=$s,pv=G,hv=br,fv=Bi,gv=_i,vv=ut,yv=Fo,xv=function(e){var t=Xh(e),n=tf(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Kh(o,r>2?arguments[2]:void 0));var a,s,l,c,u,d,m=af(t),p=0;if(!m||this===sf&&ef(m))for(a=nf(t),s=n?new this(a):sf(a);a>p;p++)d=i?o(t[p],p):t[p],rf(s,p,d);else for(s=n?new this:[],u=(c=of(t,m)).next;!(l=Jh(u,c)).done;p++)d=i?$h(c,o,[l.value,p],!0):l.value,rf(s,p,d);return s.length=p,s},bv=rp,Cv=Wu.codeAt,Iv=function(e){var t,n,r=[],o=Cf(bf(If(e),df,"."),".");for(t=0;t<o.length;t++)n=o[t],xf(r,hf(uf,n)?"xn--"+Af(n):n);return yf(r,".")},Ev=as,_v=Md,Av=Sf,wv={URLSearchParams:tv,getState:Ig},Sv=Jn,kv=Sv.set,jv=Sv.getterFor("URL"),Nv=wv.URLSearchParams,Tv=wv.getState,Pv=dv.URL,Ov=dv.TypeError,Mv=dv.parseInt,Lv=Math.floor,Bv=Math.pow,Dv=pv("".charAt),Rv=pv(/./.exec),zv=pv([].join),Fv=pv(1..toString),Hv=pv([].pop),qv=pv([].push),Uv=pv("".replace),Gv=pv([].shift),Wv=pv("".split),Qv=pv("".slice),Yv=pv("".toLowerCase),Vv=pv([].unshift),Zv="Invalid scheme",Kv="Invalid host",Jv="Invalid port",Xv=/[a-z]/i,$v=/[\d+-.a-z]/i,ey=/\d/,ty=/^0x/i,ny=/^[0-7]+$/,ry=/^\d+$/,oy=/^[\da-f]+$/i,iy=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ay=/[\0\t\n\r #/:<>?@[\\\]^|]/,sy=/^[\u0000-\u0020]+/,ly=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,cy=/[\t\n\r]/g,uy=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)Vv(t,e%256),e=Lv(e/256);return zv(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n?r:t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=Fv(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},dy={},my=yv({},dy,{" ":1,'"':1,"<":1,">":1,"`":1}),py=yv({},my,{"#":1,"?":1,"{":1,"}":1}),hy=yv({},py,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),fy=function(e,t){var n=Cv(e,0);return n>32&&n<127&&!vv(t,e)?e:encodeURIComponent(e)},gy={ftp:21,file:null,http:80,https:443,ws:80,wss:443},vy=function(e,t){var n;return 2===e.length&&Rv(Xv,Dv(e,0))&&(":"===(n=Dv(e,1))||!t&&"|"===n)},yy=function(e){var t;return e.length>1&&vy(Qv(e,0,2))&&(2===e.length||"/"===(t=Dv(e,2))||"\\"===t||"?"===t||"#"===t)},xy=function(e){return"."===e||"%2e"===Yv(e)},by={},Cy={},Iy={},Ey={},_y={},Ay={},wy={},Sy={},ky={},jy={},Ny={},Ty={},Py={},Oy={},My={},Ly={},By={},Dy={},Ry={},zy={},Fy={},Hy=function(e,t,n){var r,o,i,a=Ev(e);if(t){if(o=this.parse(a))throw new Ov(o);this.searchParams=null}else{if(void 0!==n&&(r=new Hy(n,!0)),o=this.parse(a,null,r))throw new Ov(o);(i=Tv(new Nv)).bindURL(this),this.searchParams=i}};Hy.prototype={type:"URL",parse:function(e,t,n){var r,o,i,a,s,l=this,c=t||by,u=0,d="",m=!1,p=!1,h=!1;for(e=Ev(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=Uv(e,sy,""),e=Uv(e,ly,"$1")),e=Uv(e,cy,""),r=xv(e);u<=r.length;){switch(o=r[u],c){case by:if(!o||!Rv(Xv,o)){if(t)return Zv;c=Iy;continue}d+=Yv(o),c=Cy;break;case Cy:if(o&&(Rv($v,o)||"+"===o||"-"===o||"."===o))d+=Yv(o);else{if(":"!==o){if(t)return Zv;d="",c=Iy,u=0;continue}if(t&&(l.isSpecial()!==vv(gy,d)||"file"===d&&(l.includesCredentials()||null!==l.port)||"file"===l.scheme&&!l.host))return;if(l.scheme=d,t)return void(l.isSpecial()&&gy[l.scheme]===l.port&&(l.port=null));d="","file"===l.scheme?c=Oy:l.isSpecial()&&n&&n.scheme===l.scheme?c=Ey:l.isSpecial()?c=Sy:"/"===r[u+1]?(c=_y,u++):(l.cannotBeABaseURL=!0,qv(l.path,""),c=Ry)}break;case Iy:if(!n||n.cannotBeABaseURL&&"#"!==o)return Zv;if(n.cannotBeABaseURL&&"#"===o){l.scheme=n.scheme,l.path=bv(n.path),l.query=n.query,l.fragment="",l.cannotBeABaseURL=!0,c=Fy;break}c="file"===n.scheme?Oy:Ay;continue;case Ey:if("/"!==o||"/"!==r[u+1]){c=Ay;continue}c=ky,u++;break;case _y:if("/"===o){c=jy;break}c=Dy;continue;case Ay:if(l.scheme=n.scheme,o===sv)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=bv(n.path),l.query=n.query;else if("/"===o||"\\"===o&&l.isSpecial())c=wy;else if("?"===o)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=bv(n.path),l.query="",c=zy;else{if("#"!==o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=bv(n.path),l.path.length--,c=Dy;continue}l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=bv(n.path),l.query=n.query,l.fragment="",c=Fy}break;case wy:if(!l.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,c=Dy;continue}c=jy}else c=ky;break;case Sy:if(c=ky,"/"!==o||"/"!==Dv(d,u+1))continue;u++;break;case ky:if("/"!==o&&"\\"!==o){c=jy;continue}break;case jy:if("@"===o){m&&(d="%40"+d),m=!0,i=xv(d);for(var f=0;f<i.length;f++){var g=i[f];if(":"!==g||h){var v=fy(g,hy);h?l.password+=v:l.username+=v}else h=!0}d=""}else if(o===sv||"/"===o||"?"===o||"#"===o||"\\"===o&&l.isSpecial()){if(m&&""===d)return"Invalid authority";u-=xv(d).length+1,d="",c=Ny}else d+=o;break;case Ny:case Ty:if(t&&"file"===l.scheme){c=Ly;continue}if(":"!==o||p){if(o===sv||"/"===o||"?"===o||"#"===o||"\\"===o&&l.isSpecial()){if(l.isSpecial()&&""===d)return Kv;if(t&&""===d&&(l.includesCredentials()||null!==l.port))return;if(a=l.parseHost(d))return a;if(d="",c=By,t)return;continue}"["===o?p=!0:"]"===o&&(p=!1),d+=o}else{if(""===d)return Kv;if(a=l.parseHost(d))return a;if(d="",c=Py,t===Ty)return}break;case Py:if(!Rv(ey,o)){if(o===sv||"/"===o||"?"===o||"#"===o||"\\"===o&&l.isSpecial()||t){if(""!==d){var y=Mv(d,10);if(y>65535)return Jv;l.port=l.isSpecial()&&y===gy[l.scheme]?null:y,d=""}if(t)return;c=By;continue}return Jv}d+=o;break;case Oy:if(l.scheme="file","/"===o||"\\"===o)c=My;else{if(!n||"file"!==n.scheme){c=Dy;continue}switch(o){case sv:l.host=n.host,l.path=bv(n.path),l.query=n.query;break;case"?":l.host=n.host,l.path=bv(n.path),l.query="",c=zy;break;case"#":l.host=n.host,l.path=bv(n.path),l.query=n.query,l.fragment="",c=Fy;break;default:yy(zv(bv(r,u),""))||(l.host=n.host,l.path=bv(n.path),l.shortenPath()),c=Dy;continue}}break;case My:if("/"===o||"\\"===o){c=Ly;break}n&&"file"===n.scheme&&!yy(zv(bv(r,u),""))&&(vy(n.path[0],!0)?qv(l.path,n.path[0]):l.host=n.host),c=Dy;continue;case Ly:if(o===sv||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&vy(d))c=Dy;else if(""===d){if(l.host="",t)return;c=By}else{if(a=l.parseHost(d))return a;if("localhost"===l.host&&(l.host=""),t)return;d="",c=By}continue}d+=o;break;case By:if(l.isSpecial()){if(c=Dy,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==sv&&(c=Dy,"/"!==o))continue}else l.fragment="",c=Fy;else l.query="",c=zy;break;case Dy:if(o===sv||"/"===o||"\\"===o&&l.isSpecial()||!t&&("?"===o||"#"===o)){if(".."===(s=Yv(s=d))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(l.shortenPath(),"/"===o||"\\"===o&&l.isSpecial()||qv(l.path,"")):xy(d)?"/"===o||"\\"===o&&l.isSpecial()||qv(l.path,""):("file"===l.scheme&&!l.path.length&&vy(d)&&(l.host&&(l.host=""),d=Dv(d,0)+":"),qv(l.path,d)),d="","file"===l.scheme&&(o===sv||"?"===o||"#"===o))for(;l.path.length>1&&""===l.path[0];)Gv(l.path);"?"===o?(l.query="",c=zy):"#"===o&&(l.fragment="",c=Fy)}else d+=fy(o,py);break;case Ry:"?"===o?(l.query="",c=zy):"#"===o?(l.fragment="",c=Fy):o!==sv&&(l.path[0]+=fy(o,dy));break;case zy:t||"#"!==o?o!==sv&&("'"===o&&l.isSpecial()?l.query+="%27":l.query+="#"===o?"%23":fy(o,dy)):(l.fragment="",c=Fy);break;case Fy:o!==sv&&(l.fragment+=fy(o,my))}u++}},parseHost:function(e){var t,n,r;if("["===Dv(e,0)){if("]"!==Dv(e,e.length-1))return Kv;if(t=function(e){var t,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,m=function(){return Dv(e,d)};if(":"===m()){if(":"!==Dv(e,1))return;d+=2,u=++c}for(;m();){if(8===c)return;if(":"!==m()){for(t=n=0;n<4&&Rv(oy,m());)t=16*t+Mv(m(),16),d++,n++;if("."===m()){if(0===n)return;if(d-=n,c>6)return;for(r=0;m();){if(o=null,r>0){if(!("."===m()&&r<4))return;d++}if(!Rv(ey,m()))return;for(;Rv(ey,m());){if(i=Mv(m(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;d++}l[c]=256*l[c]+o,2!=++r&&4!==r||c++}if(4!==r)return;break}if(":"===m()){if(d++,!m())return}else if(m())return;l[c++]=t}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(a=c-u,c=7;0!==c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!==c)return;return l}(Qv(e,1,-1)),!t)return Kv;this.host=t}else if(this.isSpecial()){if(e=Iv(e),Rv(iy,e))return Kv;if(t=function(e){var t,n,r,o,i,a,s,l=Wv(e,".");if(l.length&&""===l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""===(o=l[r]))return e;if(i=10,o.length>1&&"0"===Dv(o,0)&&(i=Rv(ty,o)?16:8,o=Qv(o,8===i?1:2)),""===o)a=0;else{if(!Rv(10===i?ry:8===i?ny:oy,o))return e;a=Mv(o,i)}qv(n,a)}for(r=0;r<t;r++)if(a=n[r],r===t-1){if(a>=Bv(256,5-t))return null}else if(a>255)return null;for(s=Hv(n),r=0;r<n.length;r++)s+=n[r]*Bv(256,3-r);return s}(e),null===t)return Kv;this.host=t}else{if(Rv(ay,e))return Kv;for(t="",n=xv(e),r=0;r<n.length;r++)t+=fy(n[r],dy);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return vv(gy,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&vy(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=n+(r?":"+r:"")+"@"),c+=uy(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+zv(a,"/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},setHref:function(e){var t=this.parse(e);if(t)throw new Ov(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new qy(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+uy(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Ev(e)+":",by)},getUsername:function(){return this.username},setUsername:function(e){var t=xv(Ev(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=fy(t[n],hy)}},getPassword:function(){return this.password},setPassword:function(e){var t=xv(Ev(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=fy(t[n],hy)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?uy(e):uy(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ny)},getHostname:function(){var e=this.host;return null===e?"":uy(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ty)},getPort:function(){var e=this.port;return null===e?"":Ev(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=Ev(e))?this.port=null:this.parse(e,Py))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+zv(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,By))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=Ev(e))?this.query=null:("?"===Dv(e,0)&&(e=Qv(e,1)),this.query="",this.parse(e,zy)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=Ev(e))?("#"===Dv(e,0)&&(e=Qv(e,1)),this.fragment="",this.parse(e,Fy)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var qy=function(e){var t=gv(this,Uy),n=Av(arguments.length,1)>1?arguments[1]:void 0,r=kv(t,new Hy(e,!1,n));cv||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Uy=qy.prototype,Gy=function(e,t){return{get:function(){return jv(this)[e]()},set:t&&function(e){return jv(this)[t](e)},configurable:!0,enumerable:!0}};if(cv&&(fv(Uy,"href",Gy("serialize","setHref")),fv(Uy,"origin",Gy("getOrigin")),fv(Uy,"protocol",Gy("getProtocol","setProtocol")),fv(Uy,"username",Gy("getUsername","setUsername")),fv(Uy,"password",Gy("getPassword","setPassword")),fv(Uy,"host",Gy("getHost","setHost")),fv(Uy,"hostname",Gy("getHostname","setHostname")),fv(Uy,"port",Gy("getPort","setPort")),fv(Uy,"pathname",Gy("getPathname","setPathname")),fv(Uy,"search",Gy("getSearch","setSearch")),fv(Uy,"searchParams",Gy("getSearchParams")),fv(Uy,"hash",Gy("getHash","setHash"))),hv(Uy,"toJSON",(function(){return jv(this).serialize()}),{enumerable:!0}),hv(Uy,"toString",(function(){return jv(this).serialize()}),{enumerable:!0}),Pv){var Wy=Pv.createObjectURL,Qy=Pv.revokeObjectURL;Wy&&hv(qy,"createObjectURL",mv(Wy,Pv)),Qy&&hv(qy,"revokeObjectURL",mv(Qy,Pv))}_v(qy,"URL"),lv({global:!0,constructor:!0,forced:!uv,sham:!cv},{URL:qy});var Yy=P;_o({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return Yy(URL.prototype.toString,this)}});var Vy=br,Zy=G,Ky=as,Jy=Sf,Xy=URLSearchParams,$y=Xy.prototype,ex=Zy($y.append),tx=Zy($y.delete),nx=Zy($y.forEach),rx=Zy([].push),ox=new Xy("a=1&a=2&b=3");ox.delete("a",1),ox.delete("b",void 0),ox+""!="a=2"&&Vy($y,"delete",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return tx(this,e);var r=[];nx(this,(function(e,t){rx(r,{key:t,value:e})})),Jy(t,1);for(var o,i=Ky(e),a=Ky(n),s=0,l=0,c=!1,u=r.length;s<u;)o=r[s++],c||o.key===i?(c=!0,tx(this,o.key)):l++;for(;l<u;)(o=r[l++]).key===i&&o.value===a||ex(this,o.key,o.value)}),{enumerable:!0,unsafe:!0});var ix=br,ax=G,sx=as,lx=Sf,cx=URLSearchParams,ux=cx.prototype,dx=ax(ux.getAll),mx=ax(ux.has),px=new cx("a=1");!px.has("a",2)&&px.has("a",void 0)||ix(ux,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return mx(this,e);var r=dx(this,e);lx(t,1);for(var o=sx(n),i=0;i<r.length;)if(r[i++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0});var hx=k,fx=G,gx=Bi,vx=URLSearchParams.prototype,yx=fx(vx.forEach);hx&&!("size"in vx)&&gx(vx,"size",{get:function(){var e=0;return yx(this,(function(){e++})),e},configurable:!0,enumerable:!0});const xx=(e,t,n,r)=>Ym(void 0,void 0,void 0,(function*(){t.timeToLiveSeconds=263e4;const o=yield bx(t,n),i=window.location.origin,a=`/echo3d?instCode=${e}&plantCode=${t.plant}&taghub=${o.id}`;return{app3dUrl:o.url,web3dUrl:r?a:`${i}${a}`}})),bx=(e,t)=>Ym(void 0,void 0,void 0,(function*(){const r=new URL(`${n.baseApiUrl}/EchoHub/tag-register/create/temporary/tag-list`).toString(),o=JSON.stringify(e),i=yield n.EchoClient.fetch(r,{Accept:"application/json","Content-Type":"application/json"},"POST",o,t);if(i.ok){return yield i.json()}throw Error(`Something went wrong when trying to create a temporarily list, got status ${i.status} (${i.statusText})`)})),Cx=xx;var Ix=G,Ex=st,_x=Math.floor,Ax=Ix("".charAt),wx=Ix("".replace),Sx=Ix("".slice),kx=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,jx=/\$([$&'`]|\d{1,2})/g,Nx=function(e,t,n,r,o,i){var a=n+e.length,s=r.length,l=jx;return void 0!==o&&(o=Ex(o),l=kx),wx(i,l,(function(i,l){var c;switch(Ax(l,0)){case"$":return"$";case"&":return e;case"`":return Sx(t,0,n);case"'":return Sx(t,a);case"<":c=o[Sx(l,1,-1)];break;default:var u=+l;if(0===u)return i;if(u>s){var d=_x(u/10);return 0===d?i:d<=s?void 0===r[d-1]?Ax(l,1):r[d-1]+Ax(l,1):i}c=r[u-1]}return void 0===c?"":c}))},Tx=np,Px=P,Ox=G,Mx=ku,Lx=S,Bx=tn,Dx=le,Rx=ee,zx=Ar,Fx=Pr,Hx=as,qx=re,Ux=Yu,Gx=Ue,Wx=Nx,Qx=ed,Yx=_t("replace"),Vx=Math.max,Zx=Math.min,Kx=Ox([].concat),Jx=Ox([].push),Xx=Ox("".indexOf),$x=Ox("".slice),eb="$0"==="a".replace(/./,"$0"),tb=!!/./[Yx]&&""===/./[Yx]("a","$0"),nb=!Lx((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));function rb(e){return e.replace(/^0+/,"")}function ob(e,t,n){var r;const o=(null==e?void 0:e.length)-2,i=ib(t,n);return(null==e?void 0:e.length)>1?rb((null===(r=e[o])||void 0===r?void 0:r.itemId)||""):i}function ib(e,t){const n=e.find((e=>e.key===t));return n?n.label:"Previous"}function ab(t){const[o,i]=e.useStateSafe(!0),{instCode:a}=n.usePlantSettings();return r.useEffect((()=>{a&&function(){Ym(this,void 0,void 0,(function*(){try{const e=yield Gp(a,t);i(e)}catch(e){n.handleErrors&&n.handleErrors(e,Zp),i(!1)}}))}()}),[a,t,i]),o}function sb(){const[t,r]=e.useStateSafe(!1);return n.useEventSubscriber(n.EchoEvents.FullScreenModeEnabled,(e=>{r(e.isFullScreenModeEnabled)})),t}Mx("replace",(function(e,t,n){var r=tb?"$":"$0";return[function(e,n){var r=qx(this),o=Rx(e)?void 0:Gx(e,Yx);return o?Px(o,e,r,n):Px(t,Hx(r),e,n)},function(e,o){var i=Bx(this),a=Hx(e);if("string"==typeof o&&-1===Xx(o,r)&&-1===Xx(o,"$<")){var s=n(t,i,a,o);if(s.done)return s.value}var l=Dx(o);l||(o=Hx(o));var c,u=i.global;u&&(c=i.unicode,i.lastIndex=0);for(var d,m=[];null!==(d=Qx(i,a))&&(Jx(m,d),u);){""===Hx(d[0])&&(i.lastIndex=Ux(a,Fx(i.lastIndex),c))}for(var p,h="",f=0,g=0;g<m.length;g++){for(var v,y=Hx((d=m[g])[0]),x=Vx(Zx(zx(d.index),a.length),0),b=[],C=1;C<d.length;C++)Jx(b,void 0===(p=d[C])?p:String(p));var I=d.groups;if(l){var E=Kx([y],b,x,a);void 0!==I&&Jx(E,I),v=Hx(Tx(o,void 0,E))}else v=Wx(y,a,x,b,I,o);x>=f&&(h+=$x(a,f,x)+v,f=x+y.length)}return h+$x(a,f)}]}),!nb||!eb||tb);var lb,cb=_o,ub=Zs,db=w.f,mb=Pr,pb=as,hb=Ms,fb=re,gb=Bs,vb=ub("".slice),yb=Math.min,xb=gb("endsWith");cb({target:"String",proto:!0,forced:!!(xb||(lb=db(String.prototype,"endsWith"),!lb||lb.writable))&&!xb},{endsWith:function(e){var t=pb(fb(this));hb(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:yb(mb(n),r),i=pb(e);return vb(t,o-i.length,o)===i}});var bb=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},Cb=P,Ib=tn,Eb=ee,_b=re,Ab=bb,wb=as,Sb=Ue,kb=ed;ku("search",(function(e,t,n){return[function(t){var n=_b(this),r=Eb(t)?void 0:Sb(t,e);return r?Cb(r,t,n):new RegExp(t)[e](wb(n))},function(e){var r=Ib(this),o=wb(e),i=n(t,r,o);if(i.done)return i.value;var a=r.lastIndex;Ab(a,0)||(r.lastIndex=0);var s=kb(r,o);return Ab(r.lastIndex,a)||(r.lastIndex=a),null===s?-1:s.index}]}));var jb=_o,Nb=Zs,Tb=w.f,Pb=Pr,Ob=as,Mb=Ms,Lb=re,Bb=Bs,Db=Nb("".slice),Rb=Math.min,zb=Bb("startsWith"),Fb=!zb&&!!function(){var e=Tb(String.prototype,"startsWith");return e&&!e.writable}();function Hb(){const t=Nd();return r.useCallback((n=>{const{instCode:r,docNo:o,fileId:i,revNo:a,tagNo:s}=n,{search:l,tagNo:c}=e.getLinkParams(["search","tagNo"]);t("/viewer",{instCode:Ub(r),search:l||"",tagNo:s||c||"",docNo:encodeURIComponent(o),fileId:i.toString(),revNo:a.toString()})}),[t])}function qb(){const t=Nd();return r.useCallback((n=>{const{instCode:r,tagNo:o,fileUrl:i}=n,{search:a,tagNo:s}=e.getLinkParams(["search","tagNo"]);t("/viewer",{instCode:Ub(r),search:a||"",tagNo:o||s||"",fileUrl:encodeURIComponent(i)})}),[t])}function Ub(e){const t=n.getInstCode().toUpperCase(),r=null==e?void 0:e.toUpperCase().slice(0,-1);return(null==e?void 0:e.toUpperCase().endsWith("X"))&&t.startsWith(r)?t:e}function Gb(t){const{instCode:o}=n.usePlantSettings(),[i,a]=e.useStateSafe(!0);return r.useEffect((()=>{!function(e,t){Ym(this,void 0,void 0,(function*(){const n=yield Qp(e,t);a(n)}))}(o,t)}),[o,t,a]),i}function Wb(t){const o=r.useMemo((()=>"true"===n.EchoEnv.env().REACT_APP_ECHO_3D_WEB_ENABLED),[]),{instCode:i}=n.usePlantSettings(),[a,s]=e.useStateSafe(o);return r.useEffect((()=>{o&&(()=>{Ym(this,void 0,void 0,(function*(){const e=yield Yp(i,t);s(e)}))})()}),[i,t,o,s]),a}function Qb(){const[t,n]=e.useStateSafe(void 0),o=r.useCallback((()=>{document.documentElement.clientWidth>document.documentElement.clientHeight?n("landscape"):n("portrait")}),[n]);return r.useEffect((()=>(o(),window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)})),[o]),t}function Yb(e){const t=function(){const[e,t]=r.useState({width:0,height:0});return r.useEffect((()=>{function e(){t({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),e}(),[n,o]=r.useState(!1);return r.useEffect((()=>{if(!t.width)return;const r=t.width,i=Math.ceil(r),a=i<928&&e||i<768&&!e;n!==a&&o(a)}),[e,n,t.width]),n}function Vb(){const e=Qb();return{isScreenMobileSize:Yb("landscape"===e),screenOrientation:e}}jb({target:"String",proto:!0,forced:!Fb&&!zb},{startsWith:function(e){var t=Ob(Lb(this));Mb(e);var n=Pb(Rb(arguments.length>1?arguments[1]:void 0,t.length)),r=Ob(e);return Db(t,n,n+r.length)===r}});var Zb="\t\n\v\f\r \u2028\u2029\ufeff",Kb=re,Jb=as,Xb=Zb,$b=G("".replace),eC=RegExp("^["+Xb+"]+"),tC=RegExp("(^|[^"+Xb+"])["+Xb+"]+$"),nC=function(e){return function(t){var n=Jb(Kb(t));return 1&e&&(n=$b(n,eC,"")),2&e&&(n=$b(n,tC,"$1")),n}},rC={end:nC(2),trim:nC(3)},oC=En.PROPER,iC=S,aC=Zb,sC=function(e){return iC((function(){return!!aC[e]()||"
"!=="
"[e]()||oC&&aC[e].name!==e}))},lC=rC.end,cC=sC("trimEnd")?function(){return lC(this)}:"".trimEnd;_o({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==cC},{trimRight:cC});_o({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==cC},{trimEnd:cC});const uC=b.create((e=>({activeAppMenuItem:"",isLegendActive:void 0,activeTopMenuItem:"",activeTopMenuComponents:[],moduleName:"",updateActiveAppMenuItem:t=>{e({activeAppMenuItem:t})},updateIsLegendActive:t=>{e({isLegendActive:t})},updateActiveTopMenuItem:t=>{e({activeTopMenuItem:t})},updateActiveTopMenuComponents:t=>{e({activeTopMenuComponents:t})},updateModuleName:t=>{e({moduleName:t})}}))),dC=Object.assign(uC),mC=(e,t)=>{if(e)return e;if("Viewer"===t)return"PDF Viewer";return t.length>1?t:"Echo"},pC=e=>t.upperFirst(e.slice(1).replace(/([A-Z])/g," $1"));function hC(){const t=o.useHistory(),{moduleName:n}=uC();if(window.location.pathname.includes("/echo3d"))return;const{instCode:r,tagNo:i,docNo:a}=e.getLinkParams([e.LinkParameters.InstCode,e.LinkParameters.TagNo,e.LinkParameters.DocNo]),s=(null==t?void 0:t.location.pathname)?pC(t.location.pathname):"",l=[mC(n,s),r||"",a||"",i||""].filter(Boolean).join(" | ").trimEnd();window.document.title=l}function fC(e){return Ym(this,arguments,void 0,(function*({tagNo:e,instCode:t}){const n=yield l.Search.Tags.getTagDetailsAsync(e,t);if(l.resultHelper.throwIfError(n),!n.value)throw new s.NotFoundError({message:`Could not find ${t} ${e}`,httpStatusCode:404,url:"getTagDetails"});return n.value}))}function gC({instCode:t,tagNo:r}){const[o,i]=e.useStateSafe(void 0),[a,s]=e.useStateSafe(!0),[l,c]=e.useStateSafe(!1);return e.useEffectAsync((e=>Ym(this,void 0,void 0,(function*(){!function(e,t){Ym(this,void 0,void 0,(function*(){try{s(!0),c(!1);const n=yield fC({tagNo:t,instCode:e});n&&i(n)}catch(e){n.handleErrors&&n.handleErrors(e,Zp),i(void 0),s(!1),c(!0)}finally{s(!1)}}))}(t,r)}))),[t,r]),{tagDetails:o,isTagDetailsLoading:a,hasError:l}}var vC,yC=Object.freeze({__proto__:null,useEchoHistory:Nd,useFetchInstCodeBySapPlantId:Vp,useHas3dAccess:ab,useIsFullScreenModeEnabled:sb,useOpenPdfFile:Hb,useOpenPdfFileUrl:qb,usePlantAvailableIn3d:Gb,usePlantAvailableIn3dWeb:Wb,useScreenOrientation:Qb,useScreenValues:Vb,useTabTitle:hC,useTagDetails:gC});exports.RegisteredHookName=void 0,(vC=exports.RegisteredHookName||(exports.RegisteredHookName={})).useSetActiveTagNo="useSetActiveTagNo",vC.useContextMenuDataInfo="useContextMenuDataInfo",vC.useTagData="useTagData",vC.useIsContextMenuInfoLoading="useIsContextMenuInfoLoading",vC.useSetActiveCommPackNo="useSetActiveCommPackNo",vC.useSetActiveMcPackNo="useSetActiveMcPackNo";const xC=Object.freeze({useSetActiveTagNo:function(){return n.echoHookRegistry.getHookByName(exports.RegisteredHookName.useSetActiveTagNo)()},useContextMenuDataInfo:function(e,t,r){return n.echoHookRegistry.getHookByName(exports.RegisteredHookName.useContextMenuDataInfo)(e,t,r)},useTagData:function(){return n.echoHookRegistry.getHookByName(exports.RegisteredHookName.useTagData)()},useIsContextMenuInfoLoading:function(){return n.echoHookRegistry.getHookByName(exports.RegisteredHookName.useIsContextMenuInfoLoading)()},useSetActiveCommPackNo:function(){return n.echoHookRegistry.getHookByName(exports.RegisteredHookName.useSetActiveCommPackNo)()},useSetActiveMcPackNo:function(){return n.echoHookRegistry.getHookByName(exports.RegisteredHookName.useSetActiveMcPackNo)()}});var bC;exports.RegisteredComponentName=void 0,(bC=exports.RegisteredComponentName||(exports.RegisteredComponentName={})).TagItem="TagItem",bC.TagListItem="TagListItem";const CC=(()=>{const e={};return Object.freeze({registerComponent:({name:t,component:n})=>{if(e[t])throw new s.BaseError({name:"ComponentAlreadyRegisteredError",message:`[EchoFramework.componentRegistry.registerComponent] Can not set component: a component with name ${t} is already set.`,innerError:{componentName:t}});e[t]=n},getTagItem:()=>{const t=exports.RegisteredComponentName.TagItem;return e[t]||IC(t),e[t]},getTagListItem:()=>{const t=exports.RegisteredComponentName.TagListItem;return e[t]||IC(t),e[t]}})})();function IC(e){throw new s.BaseError({name:"UnregisteredComponentNameError",message:`[EchoFramework.componentRegistry] Can not get component: there is no component by the name "${e}" registered.`,innerError:{componentName:e}})}var EC="AppLinks-module_AppBar__2ZZaq";Ad(".AppLinks-module_AppBar__2ZZaq{align-items:flex-start;display:flex;flex-wrap:wrap;justify-content:center;margin:0 auto 48px}");const _C=(e,t)=>{const n=e.params;return(null==n?void 0:n.includes("instCode"))?e:Object.assign(Object.assign({},e),{params:n&&n.length>0?n+`&instCode=${t}`:`?instCode=${t}`})},AC=({appLink:e})=>{const{name:t,path:r,icon:o,isVisible:a}=e,s=n.useInternalLink();return!a||a()?c.jsx(i.TextIconButton,{onClick:()=>{s(r,e)},icon:o,title:t}):null},wC=({isHome:e})=>{const t=n.useAppLinks(e),r=n.useInstCode();return c.jsx("div",{className:EC,children:t.map(((e,t)=>c.jsx(AC,{appLink:_C(e,r)},e.name+t)))})},SC=({className:e})=>c.jsx("svg",{width:"25",height:"22",viewBox:"0 0 25 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.71 0.96C9.71 0.32 8.56 0 7.26 0C5.94 0 4.72 0.31 3.6 0.929999C2.5 1.55 1.62 2.44 0.96 3.6C0.32 4.76 0 6.11 0 7.65C0 9.09 0.3 10.38 0.9 11.52C1.5 12.64 2.36 13.52 3.48 14.16C4.62 14.8 5.95 15.12 7.47 15.12C8.59 15.12 9.67 14.92 10.71 14.52C11.1338 14.357 11.5343 14.1658 11.9115 13.9464C11.9105 14.0053 11.91 14.0645 11.91 14.124C11.91 15.468 12.19 16.672 12.75 17.736C13.31 18.7813 14.1127 19.6027 15.158 20.2C16.222 20.7973 17.4633 21.096 18.882 21.096C19.9273 21.096 20.9353 20.9093 21.906 20.536C22.8767 20.1627 23.7167 19.6307 24.426 18.94C24.5007 18.8653 24.538 18.7907 24.538 18.716C24.538 18.6227 24.51 18.548 24.454 18.492L23.866 17.68C23.81 17.5867 23.7353 17.54 23.642 17.54C23.6047 17.54 23.53 17.5773 23.418 17.652C22.7833 18.212 22.074 18.6507 21.29 18.968C20.5247 19.2667 19.7407 19.416 18.938 19.416C17.874 19.416 16.95 19.192 16.166 18.744C15.4007 18.2773 14.8033 17.6707 14.374 16.924C13.9447 16.1587 13.702 15.328 13.646 14.432H24.482C24.706 14.432 24.818 14.3293 24.818 14.124V13.368C24.818 12.2293 24.566 11.1747 24.062 10.204C23.558 9.23333 22.8393 8.45867 21.906 7.88C20.9727 7.28267 19.8993 6.984 18.686 6.984C17.454 6.984 16.3153 7.27333 15.27 7.852C14.2433 8.43067 13.422 9.26133 12.806 10.344C12.6155 10.6892 12.4554 11.0525 12.3257 11.4338C11.6468 12.032 10.8882 12.5007 10.05 12.84C9.23 13.16 8.39 13.32 7.53 13.32C6.39 13.32 5.4 13.08 4.56 12.6C3.74 12.1 3.1 11.45 2.64 10.65C2.18 9.83 1.92 8.94 1.86 7.98H13.47C13.71 7.98 13.83 7.87 13.83 7.65V6.84C13.83 5.62 13.56 4.49 13.02 3.45C12.48 2.41 11.71 1.58 10.71 0.96ZM10.53 3.06C11.35 3.9 11.81 4.97 11.91 6.27H1.98C2.22 4.95 2.79 3.88 3.69 3.06C4.61 2.22 5.79 1.8 7.23 1.8C8.61 1.8 9.71 2.22 10.53 3.06ZM21.738 9.84C22.5033 10.624 22.9327 11.6227 23.026 12.836H13.758C13.982 11.604 14.514 10.6053 15.354 9.84C16.2127 9.056 17.314 8.664 18.658 8.664C19.946 8.664 20.9727 9.056 21.738 9.84Z",fill:"#FF1243"})});var kC;exports.InternalApplicationLinks=void 0,(kC=exports.InternalApplicationLinks||(exports.InternalApplicationLinks={})).Ayelix="/ayelix",kC.Events="/events",kC.TagScanner="/tagscanner",kC.MyTasks="/MyTasks",kC.Media="/media",kC.MissionPlanner="/missionplanner",kC.EchoHub="/EchoHub",kC.RelatedTag="/RelatedTag",kC.Tags="/tags",kC.OfflineDocuments="/OfflineDocuments",kC.Viewer="/viewer",kC.Echo4Project="/project",kC.XLD="/xld",kC.SmartPortal="/smartportal",kC.EchoMaps="/maps",kC.Echo3dWeb="/echo3d",kC.Turnaround="/turnaround",kC.Sandbox="/sandbox",kC.Home="/";var jC="EchoContent-module_spinningIcon__EDkWM";Ad(".EchoContent-module_barButtons__nsM6X{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.EchoContent-module_barButtons__nsM6X>button>span{grid-gap:0;display:flex;flex-direction:column}.EchoContent-module_barButtons__nsM6X>button>span>svg{display:inline-flex;margin-bottom:.2rem}.EchoContent-module_barButtons__nsM6X>button>span>span{color:var(--echoText);display:inline-flex;font-size:.65625rem;line-height:.75rem}.EchoContent-module_activeBottomBarButton__a8kxs{background-color:var(--equiGreen3);border-top:2px solid var(--equiGreen1)}.EchoContent-module_activeBottomBarButton__a8kxs>button:focus{outline:none!important}.EchoContent-module_activeBottomBarButton__a8kxs>button:focus-visible{outline:1px dashed #004f55!important;outline-offset:2px!important}@media screen and (max-width:927px) and (orientation:landscape){.EchoContent-module_activeBottomBarButton__a8kxs{border-right:2px solid var(--equiGreen1);border-top:0}.EchoContent-module_barButtons__nsM6X{max-height:96px;width:56px}}@keyframes EchoContent-module_spinAnimation__enGOK{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.EchoContent-module_spinningIcon__EDkWM{animation:EchoContent-module_spinAnimation__enGOK 1.5s linear infinite reverse}.EchoContent-module_headerDetails__Z6x0e{justify-self:end}.EchoContent-module_headerIcons__7SwgN>svg{margin:0 8px}");const NC=({isFullScreenModeEnabled:t,isBottomBarVisible:o,activeAppMenuItem:a,updateActiveAppMenuItem:l})=>{const[u,d]=e.useStateSafe(!1),{setActivePanel:m,activePanel:p}=n.usePanels(),{instCode:h}=n.usePlantSettings(),f=Nd(),g=n.useInternalLink(),v="home",y=n.ECHO_CORE_SEARCH,x=n.ECHO_CORE_SELECTION,b=n.ECHO_CORE_MAIN,C="sandbox";r.useEffect((()=>{const e=s.eventHub.subscribe("isSyncing",(e=>{d(e)}));return()=>{e()}})),r.useEffect((()=>{window.location.pathname.includes(n.TAGSCANNER)&&l(n.TAGSCANNER)}),[m,l]);const I=t=>{if(m(""),t===a)return l(""),void([b,y,x].includes(t)?e.setLinkParam(e.LinkParameters.TagNo,""):g("/"));switch(l(t),t){case v:return f("/",{instCode:h});case y:return m(n.ECHO_CORE_SEARCH);case x:return m(n.ECHO_CORE_SELECTION);case n.TAGSCANNER:return window.location.replace(`/${n.TAGSCANNER}`);case b:return m(n.ECHO_CORE_MAIN);case C:return g(exports.InternalApplicationLinks.Sandbox);default:return null}},E=SC;return o&&!t?c.jsxs(i.EchoBottomBar,{style:{zIndex:"var( --echo-framework-z-level-bottom-bar)"},children:[c.jsx(i.SidebarButton,{active:a===v,onClick:()=>I(v),text:"Home",buttonPosition:"bottom",children:c.jsx(E,{})}),c.jsx(i.SidebarButton,{active:a===n.ECHO_CORE_SEARCH&&p===n.ECHO_CORE_SEARCH,onClick:()=>I(y),text:"Search",buttonPosition:"bottom",children:c.jsx(i.Icon,{name:"search",color:i.themeConst.echoText})}),c.jsx(i.SidebarButton,{active:p===n.ECHO_CORE_SELECTION,onClick:()=>I(x),text:"Selection",buttonPosition:"bottom",children:c.jsx(i.Icon,{name:"playlist_added",color:i.themeConst.echoText})}),n.EchoEnv.isLocalOrDevOrTest()&&c.jsx(i.SidebarButton,{active:a===C,onClick:()=>I(C),text:"Sandbox",buttonPosition:"bottom",children:c.jsx(i.Icon,{name:"engineering",color:i.themeConst.echoText})}),c.jsx(i.SidebarButton,{active:a===n.TAGSCANNER,onClick:()=>I(n.TAGSCANNER),text:"Scan",buttonPosition:"bottom",children:c.jsx(i.Icon,{name:"camera",color:i.themeConst.echoText})}),c.jsx(i.SidebarButton,{active:a===n.ECHO_CORE_MAIN&&p===n.ECHO_CORE_MAIN,onClick:()=>I(b),text:"Menu",buttonPosition:"bottom",children:c.jsx(i.Icon,{name:u?"sync":"menu",className:u?jC:"",color:i.themeConst.echoText})})]}):null};var TC=r.memo(NC),PC="EchoMenu-module_echoTopBar__F5JYY",OC="EchoMenu-module_topBarItems__lZMfa",MC="EchoMenu-module_topBarItem__ahWg0",LC="EchoMenu-module_echoToolMenu__07CMW",BC="EchoMenu-module_eeLogo__DU06g",DC="EchoMenu-module_headerTitleArea__Rjd9f",RC="EchoMenu-module_headerTitleWrapper__A0je2",zC="EchoMenu-module_plantNameWrapper__T28Kk",FC="EchoMenu-module_plantName__OkipP",HC="EchoMenu-module_headerIcons__dZLjR";Ad(".EchoMenu-module_echoTopBar__F5JYY{border-bottom:1px solid var(--default)!important;padding-left:12px!important;padding-right:var(--small)!important;width:100%!important}.EchoMenu-module_topBarItems__lZMfa{align-items:center;display:flex}.EchoMenu-module_topBarItem__ahWg0{display:flex;flex-shrink:0;padding:0 .25em}.EchoMenu-module_echoToolMenu__07CMW{background:#fff;border-right:1px solid var(--default);display:flex;flex-direction:column;height:100%;width:64px;z-index:var(--echo-framework-z-level-panel-left)}.EchoMenu-module_headerDetails__McF40{justify-self:end}@media screen and (min-width:768px){.EchoMenu-module_headerDetails__McF40{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:65px}}@media screen and (min-width:1024px){.EchoMenu-module_headerDetails__McF40{overflow:auto;text-overflow:clip;white-space:normal;width:auto}}.EchoMenu-module_eeLogo__DU06g svg{height:24px!important;width:24px!important}.EchoMenu-module_headerDetails__McF40,.EchoMenu-module_headerTitleArea__Rjd9f{align-items:center;display:flex;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.EchoMenu-module_headerTitleWrapper__A0je2{display:flex;flex-direction:column;flex-shrink:1;gap:.2rem;margin:0;min-width:120px;padding:0}.EchoMenu-module_plantNameWrapper__T28Kk{align-items:center;display:flex}.EchoMenu-module_plantNameWrapper__T28Kk,.EchoMenu-module_plantName__OkipP{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.EchoMenu-module_headerIcons__dZLjR>svg{display:flex;flex-shrink:0;margin:0 8px;min-height:20px!important;min-width:20px!important}.EchoMenu-module_popoverContent__9SvmG>div{width:300px}.EchoMenu-module_popoverTitle__soO-h{display:flex;height:24px;justify-content:space-between;margin:0;width:100%}");const qC=()=>{const{setActivePanel:e,modulePanels:t,activePanel:r}=n.usePanels(),{updateActiveAppMenuItem:o}=uC();return c.jsx("div",{className:LC,children:t.map((t=>c.jsx(i.SidebarButton,{text:t.label,onClick:()=>(t=>{const n=t===r?"":t;o(n),e(n)})(t.key),active:r===t.key,buttonPosition:"left",children:"string"==typeof t.icon?c.jsx(i.Icon,{name:t.icon,color:i.themeConst.echoText}):c.jsx(t.icon,{})},t.key)))})};var UC,GC=r.memo(qC),WC=["title","titleId"];function QC(){return QC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QC.apply(null,arguments)}var YC=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,WC);return x.createElement("svg",QC({width:25,height:22,viewBox:"0 0 25 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,UC||(UC=x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.71 0.96C9.71 0.32 8.56 0 7.26 0C5.94 0 4.72 0.31 3.6 0.929999C2.5 1.55 1.62 2.44 0.96 3.6C0.32 4.76 0 6.11 0 7.65C0 9.09 0.3 10.38 0.9 11.52C1.5 12.64 2.36 13.52 3.48 14.16C4.62 14.8 5.95 15.12 7.47 15.12C8.59 15.12 9.67 14.92 10.71 14.52C11.1338 14.357 11.5343 14.1658 11.9115 13.9464C11.9105 14.0053 11.91 14.0645 11.91 14.124C11.91 15.468 12.19 16.672 12.75 17.736C13.31 18.7813 14.1127 19.6027 15.158 20.2C16.222 20.7973 17.4633 21.096 18.882 21.096C19.9273 21.096 20.9353 20.9093 21.906 20.536C22.8767 20.1627 23.7167 19.6307 24.426 18.94C24.5007 18.8653 24.538 18.7907 24.538 18.716C24.538 18.6227 24.51 18.548 24.454 18.492L23.866 17.68C23.81 17.5867 23.7353 17.54 23.642 17.54C23.6047 17.54 23.53 17.5773 23.418 17.652C22.7833 18.212 22.074 18.6507 21.29 18.968C20.5247 19.2667 19.7407 19.416 18.938 19.416C17.874 19.416 16.95 19.192 16.166 18.744C15.4007 18.2773 14.8033 17.6707 14.374 16.924C13.9447 16.1587 13.702 15.328 13.646 14.432H24.482C24.706 14.432 24.818 14.3293 24.818 14.124V13.368C24.818 12.2293 24.566 11.1747 24.062 10.204C23.558 9.23333 22.8393 8.45867 21.906 7.88C20.9727 7.28267 19.8993 6.984 18.686 6.984C17.454 6.984 16.3153 7.27333 15.27 7.852C14.2433 8.43067 13.422 9.26133 12.806 10.344C12.6155 10.6892 12.4554 11.0525 12.3257 11.4338C11.6468 12.032 10.8882 12.5007 10.05 12.84C9.23 13.16 8.39 13.32 7.53 13.32C6.39 13.32 5.4 13.08 4.56 12.6C3.74 12.1 3.1 11.45 2.64 10.65C2.18 9.83 1.92 8.94 1.86 7.98H13.47C13.71 7.98 13.83 7.87 13.83 7.65V6.84C13.83 5.62 13.56 4.49 13.02 3.45C12.48 2.41 11.71 1.58 10.71 0.96ZM10.53 3.06C11.35 3.9 11.81 4.97 11.91 6.27H1.98C2.22 4.95 2.79 3.88 3.69 3.06C4.61 2.22 5.79 1.8 7.23 1.8C8.61 1.8 9.71 2.22 10.53 3.06ZM21.738 9.84C22.5033 10.624 22.9327 11.6227 23.026 12.836H13.758C13.982 11.604 14.514 10.6053 15.354 9.84C16.2127 9.056 17.314 8.664 18.658 8.664C19.946 8.664 20.9727 9.056 21.738 9.84Z",fill:"#FF1243"})))},VC=r.forwardRef(YC);let ZC="";function KC(e){ZC=e}function JC(e){return!!ZC&&(e===exports.InternalApplicationLinks.Home?ZC===e:ZC.includes(e))}const XC=Object.freeze({isOnPage:JC,isOnPdfViewer:()=>JC(exports.InternalApplicationLinks.Viewer),isOnEcho3dPage:()=>JC(exports.InternalApplicationLinks.Echo3dWeb),isOnHomePage:()=>JC(exports.InternalApplicationLinks.Home)}),$C=({topBarItems:e})=>{return e?(t=e,c.jsx("div",{className:OC,children:t.map(((e,t)=>c.jsx("div",{className:MC,children:c.jsx(e,{})},"topBarItem"+t)))})):null;var t},eI=()=>{const{activeTopMenuComponents:e,moduleName:t}=uC(),{updateActiveAppMenuItem:i}=uC(),a=o.useHistory(),s=o.useLocation(),{sapPlantId:l,plantName:u}=n.usePlantSettings(),m=a.location.pathname?pC(a.location.pathname):"",p=!XC.isOnHomePage()&&!XC.isOnEcho3dPage();return r.useEffect((()=>{KC(s.pathname)}),[s.pathname]),c.jsxs(d.TopBar,{className:PC,children:[c.jsxs(d.TopBar.Header,{children:[c.jsx(d.Button,{variant:"ghost_icon",onClick:()=>(a.push("/"),i(""),void n.setActivePanel("")),children:c.jsx("div",{className:BC,children:c.jsx(VC,{})})}),c.jsxs("div",{className:RC,children:[c.jsx(d.Typography,{className:DC,children:mC(t,m)}),c.jsx("div",{className:zC,children:p&&c.jsxs(d.Typography,{group:"paragraph",variant:"caption",className:FC,children:[u&&`${u}`,l&&` (${l})`]})})]})]}),c.jsx(d.TopBar.Actions,{children:c.jsx("div",{className:HC,children:c.jsx($C,{topBarItems:e})})})]})};var tI=r.memo(eI);const nI=()=>{const{activeTopMenuItem:e,updateActiveTopMenuItem:t}=uC(),{isScreenMobileSize:n}=Vb();r.useEffect((()=>{n&&""!==e&&t("")}),[e,n,t])},rI=e=>{const{activePanel:t="",setActivePanel:o}=n.usePanels(),{isScreenMobileSize:i}=Vb();r.useEffect((()=>{!i&&e.includes(t)&&o("")}),[t,e,i,o])};var oI="layout-module_echoContentContainer__aiKkp",iI="layout-module_echoContentContainerFullScreenMode__4ZF8W",aI="layout-module_deviceOrientation__b-F7k",sI="layout-module_deviceOrientationFullScreenMode__D7e4V",lI="layout-module_mainLayoutWrapper__eKwZ5",cI="layout-module_colorLayout__Cfv-I",uI="layout-module_pdfViewerNative__mslqB",dI="layout-module_web3DLayout__RZ-2r",mI="layout-module_defaultLayout__jZMVT";Ad('.layout-module_echoContentContainerFullScreenMode__4ZF8W,.layout-module_echoContentContainer__aiKkp{height:100%;padding:env(safe-area-inset-top,20px) env(safe-area-inset-right,20px) env(safe-area-inset-bottom,20px) env(safe-area-inset-left,20px);width:100%}.layout-module_echoContentContainerFullScreenMode__4ZF8W{height:100%!important;padding:0!important}.layout-module_deviceOrientationFullScreenMode__D7e4V,.layout-module_deviceOrientation__b-F7k{display:flex;flex-direction:column;height:100%;width:100%}.layout-module_deviceOrientationFullScreenMode__D7e4V{height:100%!important;padding:0!important}@media screen and (max-width:927px) and (orientation:landscape){.layout-module_echoContentContainer__aiKkp{display:flex;flex-direction:row;height:100%;width:calc(100% + env(safe-area-inset-left))}.layout-module_deviceOrientation__b-F7k{height:calc(100% + env(safe-area-inset-bottom))!important;width:100%}}@media screen and (max-width:767px) and (orientation:portrait){.layout-module_deviceOrientation__b-F7k{height:calc(100% - 48px)!important}}@media screen and (min-width:928px) and (orientation:landscape){.layout-module_echoContentContainer__aiKkp{display:flex;height:calc(100% - 64px + env(safe-area-inset-bottom) + env(safe-area-inset-top));width:calc(100% + env(safe-area-inset-right))}}@media screen and (min-width:768px) and (orientation:portrait){.layout-module_echoContentContainer__aiKkp{display:flex;height:calc(100% - 64px)}}@keyframes layout-module_fadeIn__JmqJL{0%{opacity:0}to{opacity:1}}.layout-module_mainLayoutWrapper__eKwZ5{height:100%;overflow:hidden;width:100%}.layout-module_bgTransparent__RhT-I{background-color:transparent}.layout-module_footerDisclaimer__jcKoG{font-size:.7rem}.layout-module_footerLogo__qgmUX{max-height:2.5rem}.layout-module_navbarBrand__dGCu2{color:red}::selection{background-color:#cce2ff;color:rgba(0,0,0,.87)}.layout-module_colorLayout__Cfv-I{background-color:#eaf4f9;height:100%;overflow:hidden;position:relative;width:100%}.layout-module_pdfViewerNative__mslqB{background-color:#323639;height:100%;overflow:hidden;padding-top:6.5rem;position:relative;width:100%}.layout-module_web3DLayout__RZ-2r{height:100%;overflow:clip;position:relative;width:100%}.layout-module_cameraLayout__gd2n4{background-color:"transparent";height:100%;position:relative;width:100%}.layout-module_defaultLayout__jZMVT{height:100%;overflow:hidden;position:relative;width:100%}.layout-module_noPadding__ilNsb{padding:0}.layout-module_noMargin__L-zbT{margin:0}');const pI=({layoutKey:e,children:t})=>{const{isScreenMobileSize:r,screenOrientation:o}=Vb(),{activeAppMenuItem:i,updateActiveAppMenuItem:a}=uC(),s=sb(),l="main"===e||"colorLayout"===e||"nativePdf"===e||"3dweb"===e,d=u(s?sI:aI,{[lI]:"main"===e,[cI]:"colorLayout"===e,[uI]:"nativePdf"===e,[dI]:"3dweb"===e,[mI]:void 0===e||!l});return rI([n.ECHO_CORE_MAIN]),nI(),c.jsxs(c.Fragment,{children:[!r&&!s&&c.jsx(tI,{}),c.jsxs("div",{className:s?iI:oI,children:[!r&&!s&&"main"!==e&&c.jsx(GC,{}),"landscape"===o&&c.jsx(TC,{isBottomBarVisible:r,activeAppMenuItem:i,updateActiveAppMenuItem:a,isFullScreenModeEnabled:s}),c.jsx("div",{className:d,children:t}),"portrait"===o&&c.jsx(TC,{isBottomBarVisible:r,activeAppMenuItem:i,updateActiveAppMenuItem:a,isFullScreenModeEnabled:s})]})]})};var hI,fI,gI,vI,yI,xI,bI,CI,II,EI,_I,AI,wI,SI,kI,jI,NI,TI,PI,OI,MI,LI,BI,DI,RI,zI,FI,HI,qI,UI,GI,WI,QI,YI,VI,ZI,KI,JI,XI,$I,eE,tE,nE,rE,oE,iE,aE,sE,lE,cE,uE,dE,mE,pE,hE,fE,gE,vE,yE,xE,bE,CE,IE,EE,_E,AE,wE,SE,kE,jE,NE,TE,PE,OE,ME,LE,BE,DE,RE,zE,FE,HE,qE,UE,GE,WE,QE,YE,VE,ZE,KE,JE,XE,$E,e_,t_,n_,r_,o_,i_,a_,s_,l_,c_,u_,d_,m_,p_,h_,f_,g_,v_,y_,x_,b_,C_,I_,E_,__,A_,w_,S_,k_,j_,N_,T_,P_,O_,M_,L_,B_,D_,R_,z_,F_,H_,q_,U_,G_,W_,Q_,Y_,V_,Z_,K_,J_,X_,$_,eA,tA,nA,rA,oA,iA,aA,sA,lA,cA,uA,dA,mA,pA,hA,fA,gA,vA,yA,xA,bA,CA,IA,EA,_A,AA,wA,SA,kA,jA,NA,TA,PA,OA,MA,LA,BA,DA,RA,zA,FA,HA,qA,UA,GA,WA,QA,YA,VA,ZA,KA,JA,XA,$A,ew,tw,nw,rw,ow,iw,aw,sw,lw,cw,uw,dw,mw,pw,hw,fw,gw,vw,yw,xw,bw,Cw,Iw,Ew,_w,Aw,ww,Sw,kw,jw,Nw,Tw,Pw,Ow,Mw,Lw,Bw,Dw,Rw,zw,Fw,Hw,qw,Uw,Gw,Ww,Qw,Yw,Vw,Zw,Kw,Jw,Xw,$w,eS,tS,nS,rS,oS,iS,aS,sS,lS,cS,uS,dS,mS,pS,hS,fS,gS,vS,yS,xS,bS,CS,IS,ES,_S,AS,wS,SS,kS,jS,NS,TS,PS,OS,MS,LS,BS,DS,RS,zS,FS,HS,qS,US,GS,WS,QS,YS,VS,ZS,KS,JS,XS,$S,ek,tk,nk,rk,ok,ik,ak,sk,lk,ck,uk,dk,mk,pk,hk,fk,gk,vk,yk,xk,bk,Ck,Ik,Ek,_k,Ak,wk,Sk,kk,jk,Nk,Tk,Pk,Ok,Mk=["title","titleId"];function Lk(){return Lk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lk.apply(null,arguments)}var Bk,Dk,Rk=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Mk);return x.createElement("svg",Lk({id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 50 50",style:{enableBackground:"new 0 0 50 50"},xmlSpace:"preserve",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,hI||(hI=x.createElement("style",{type:"text/css"},"\n\t.st0{fill:#FFFFFF;}\n\t.st1{fill:#007079;}\n\t.st2{fill:#007079;stroke:#007079;stroke-width:0.1;}\n\t.st3{fill:none;stroke:#007079;stroke-miterlimit:10;}\n\t.st4{fill:#007079;stroke:#007079;stroke-width:0.25;}\n\t.st5{fill-rule:evenodd;clip-rule:evenodd;fill:#007079;}\n\t.st6{fill:#F4C90F;stroke:#C68600;stroke-width:0.25;}\n\t.st7{fill:none;stroke:#007079;stroke-width:0.5;stroke-miterlimit:10;}\n\t.st8{fill:#21D1D4;}\n\t.st9{fill:#FF0000;}\n\t.st10{fill:none;stroke:#FFFFFF;stroke-width:0.5;stroke-miterlimit:10;}\n\t.st11{fill-rule:evenodd;clip-rule:evenodd;fill:#73B1B5;}\n\t.st12{fill:#007079;stroke:#007079;stroke-width:0.25;stroke-miterlimit:10;}\n\t.st13{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.1;}\n\t.st14{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFFF;}\n\t.st15{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.25;stroke-miterlimit:10;}\n\t.st16{fill:none;stroke:#FFFFFF;stroke-miterlimit:10;}\n\t.st17{fill-rule:evenodd;clip-rule:evenodd;}\n\t.st18{stroke:#000000;stroke-width:0.25;}\n\t.st19{fill:#243746;}\n\t.st20{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:0.25;}\n\t.st21{fill-rule:evenodd;clip-rule:evenodd;fill:#EB0037;}\n\t.st22{fill:#EB0037;}\n\t.st23{fill:#5FFF88;}\n")),fI||(fI=x.createElement("path",{d:"M36.9,98H12.1C9.8,98,8,96.2,8,93.9V69.1c0-2.3,1.8-4.1,4.1-4.1h24.8c2.3,0,4.1,1.8,4.1,4.1v24.8C41,96.1,39.1,98,36.9,98z"})),gI||(gI=x.createElement("path",{d:"M223.9,129.4c-2.1,0-4,0.5-5.7,1.4l0.5,0.9c1.6-0.8,3.4-1.2,5.3-1.2c6.6,0,12,5.4,12,12c0,2.6-0.9,5.1-2.3,7l0.7,0.7 c1.6-2.2,2.6-4.8,2.6-7.7C236.9,135.2,231,129.4,223.9,129.4z"})),vI||(vI=x.createElement("rect",{x:70.5,y:118.4,className:"st0",width:50,height:50})),x.createElement("image",{style:{overflow:"visible",enableBackground:"new"},width:4032,height:3024,xlinkHref:"../Library/CloudStorage/OneDrive-Equinor/361C1E769AB26D64.jpg",transform:"matrix(-6.887338e-18 3.749292e-02 -3.538003e-02 -6.499206e-18 -471.1658 -59.7012)"}),yI||(yI=x.createElement("path",{className:"st1",d:"M-208.5,139.2h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-208.8,139.3-208.7,139.2-208.5,139.2z"})),xI||(xI=x.createElement("path",{className:"st1",d:"M-200.1,151.3c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-200.1,151.3z"})),bI||(bI=x.createElement("path",{className:"st1",d:"M-194.8,141.1c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-200.2,129.1-194.8,134.5-194.8,141.1z"})),CI||(CI=x.createElement("g",null,x.createElement("path",{className:"st2",d:"M-217.1,132.1l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-217.3,132-217.2,132-217.1,132.1z"}))),II||(II=x.createElement("path",{className:"st3",d:"M-216.7,142.3"})),EI||(EI=x.createElement("path",{className:"st1",d:"M-114.2,138.5h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-114.6,138.7-114.4,138.5-114.2,138.5z"})),_I||(_I=x.createElement("path",{className:"st1",d:"M-99.9,141.1c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-105.3,129.1-99.9,134.5-99.9,141.1z"})),AI||(AI=x.createElement("g",null,x.createElement("path",{className:"st4",d:"M-122.3,132.3l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-122.4,132.2-122.3,132.2-122.3,132.3z"}))),wI||(wI=x.createElement("path",{className:"st3",d:"M-121.7,142.3"})),SI||(SI=x.createElement("path",{className:"st5",d:"M-316.4,145.6h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-316.4,145.6z M-326.1,141.1c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-326.1,138.7-326.1,141.1z"})),kI||(kI=x.createElement("path",{className:"st1",d:"M-323.3,139.2h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-323.6,139.3-323.4,139.2-323.3,139.2z"})),jI||(jI=x.createElement("path",{className:"st1",d:"M-314.8,151.3c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-314.8,151.3z"})),NI||(NI=x.createElement("path",{className:"st1",d:"M-309.5,141.1c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-314.9,129.1-309.5,134.5-309.5,141.1z"})),TI||(TI=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-331.8,132.1l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-332,132-331.9,132-331.8,132.1z"}))),PI||(PI=x.createElement("path",{className:"st3",d:"M-331.4,142.3"})),OI||(OI=x.createElement("path",{className:"st3",d:"M-198.4,146.4"})),MI||(MI=x.createElement("line",{className:"st3",x1:-197.8,y1:145.2,x2:-197.8,y2:145.2})),LI||(LI=x.createElement("path",{className:"st1",d:"M-217.3,144.5l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-217.3,144.5z"})),BI||(BI=x.createElement("path",{className:"st1",d:"M-125.8,141.6l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-125.8,141.6z"})),DI||(DI=x.createElement("path",{className:"st1",d:"M-199.9,147.9c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-199.9,147.9z"})),RI||(RI=x.createElement("path",{className:"st5",d:"M-259.8,145.6h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-259.8,145.6z M-269.5,141.1c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-269.5,138.7-269.5,141.1z"})),zI||(zI=x.createElement("path",{className:"st1",d:"M-266.6,139.2h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-266.9,139.3-266.8,139.2-266.6,139.2z"})),FI||(FI=x.createElement("path",{className:"st1",d:"M-258.1,151.3c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-258.1,151.3z"})),HI||(HI=x.createElement("path",{className:"st1",d:"M-252.9,141.1c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-258.3,129.1-252.9,134.5-252.9,141.1z"})),qI||(qI=x.createElement("g",null,x.createElement("path",{className:"st2",d:"M-275.2,132.1l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-275.3,132-275.2,132-275.2,132.1z"}))),UI||(UI=x.createElement("path",{className:"st3",d:"M-274.7,142.3"})),GI||(GI=x.createElement("path",{className:"st3",d:"M-256.5,146.4"})),WI||(WI=x.createElement("line",{className:"st3",x1:-255.8,y1:145.2,x2:-255.8,y2:145.2})),QI||(QI=x.createElement("path",{className:"st7",d:"M-256.5,146.4c-0.4,0.6-0.8,1.2-1.3,1.7"})),YI||(YI=x.createElement("path",{className:"st1",d:"M-275.3,144.5l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-275.3,144.5z"})),VI||(VI=x.createElement("path",{className:"st1",d:"M-264.9,130.7c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4s9.4,4.2,9.4,9.4c0,1.8-0.5,3.5-1.4,5c-0.3,0.5-0.7,1-1.1,1.4v1.4c0.8-0.7,1.4-1.4,2-2.3 c1-1.6,1.6-3.6,1.6-5.5C-254.5,135.4-259.1,130.7-264.9,130.7z"})),ZI||(ZI=x.createElement("path",{className:"st1",d:"M-258,147.9c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-258,147.9z"})),KI||(KI=x.createElement("path",{className:"st1",d:"M-206.8,130.7c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4c1.6,0,3.2,0.4,4.5,1.2l0.6-0.8C-203.2,131.2-204.9,130.7-206.8,130.7z"})),JI||(JI=x.createElement("path",{className:"st7",d:"M-201.1,133.1c2.5,1.8,4.2,4.7,4.2,8.1c0,1.9-0.5,3.7-1.5,5.2"})),XI||(XI=x.createElement("path",{className:"st7",d:"M-198.4,146.4c-0.4,0.7-1,1.3-1.6,1.9"})),$I||($I=x.createElement("path",{className:"st5",d:"M-201.7,145.6h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-201.7,145.6z M-211.4,141.1c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-211.4,138.7-211.4,141.1z"})),eE||(eE=x.createElement("rect",{x:-230.8,className:"st1",width:50,height:50})),tE||(tE=x.createElement("path",{className:"st8",d:"M-208.5,20.8h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-208.8,20.9-208.7,20.8-208.5,20.8z"})),nE||(nE=x.createElement("path",{className:"st0",d:"M-200.1,32.9c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-200.1,32.9z"})),rE||(rE=x.createElement("path",{className:"st0",d:"M-194.8,22.7c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-200.2,10.7-194.8,16.1-194.8,22.7z"})),oE||(oE=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-217.1,13.7l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-217.3,13.6-217.2,13.6-217.1,13.7z"}))),iE||(iE=x.createElement("path",{className:"st3",d:"M-216.7,23.9"})),aE||(aE=x.createElement("path",{className:"st3",d:"M-198.4,28"})),sE||(sE=x.createElement("line",{className:"st3",x1:-197.8,y1:26.8,x2:-197.8,y2:26.8})),lE||(lE=x.createElement("path",{className:"st9",d:"M-217.3,26.1l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-217.3,26.1z"})),cE||(cE=x.createElement("path",{className:"st0",d:"M-199.9,29.5c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-199.9,29.5z"})),uE||(uE=x.createElement("path",{className:"st0",d:"M-206.8,12.3c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4c1.6,0,3.2,0.4,4.5,1.2l0.6-0.8C-203.2,12.8-204.9,12.3-206.8,12.3z"})),dE||(dE=x.createElement("path",{className:"st10",d:"M-201.1,14.6c2.5,1.8,4.2,4.7,4.2,8.1c0,1.9-0.5,3.7-1.5,5.2"})),mE||(mE=x.createElement("path",{className:"st7",d:"M-198.4,28c-0.4,0.7-1,1.3-1.6,1.9"})),pE||(pE=x.createElement("path",{className:"st11",d:"M-201.7,27.2h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-201.7,27.2z M-211.4,22.7c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-211.4,20.2-211.4,22.7z"})),hE||(hE=x.createElement("path",{className:"st5",d:"M-433.2,145.6h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-433.2,145.6z M-443,141.1c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-443,138.7-443,141.1z"})),fE||(fE=x.createElement("path",{className:"st1",d:"M-440.1,139.2h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-440.4,139.3-440.2,139.2-440.1,139.2z"})),gE||(gE=x.createElement("path",{className:"st1",d:"M-426.4,141.1c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-431.8,129.1-426.4,134.5-426.4,141.1z"})),vE||(vE=x.createElement("g",null,x.createElement("path",{className:"st12",d:"M-448.5,132.5l1,1.9c0,0.1,0,0.1-0.1,0.1l-2.1-0.3c-0.1,0-0.1-0.1-0.1-0.1l1.1-1.5 C-448.6,132.4-448.5,132.4-448.5,132.5z"}))),yE||(yE=x.createElement("path",{className:"st3",d:"M-448.2,142.3"})),xE||(xE=x.createElement("path",{className:"st1",d:"M-452.1,141.3l0.6-1h1.2l0.6,1l-0.6,1h-1.2L-452.1,141.3z"})),bE||(bE=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M-450.5,139.8c0.2-1.6,0.7-3.2,1.5-4.6l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.4V139.8z"}),x.createElement("path",{className:"st1",d:"M-431.6,151.3c-2,1.3-4.3,2-6.8,2c-6.2,0-11.4-4.7-12.1-10.7h-0.5c0.8,6.3,6.1,11.2,12.6,11.2 c2.6,0,5-0.8,7.1-2.2L-431.6,151.3z"}))),CE||(CE=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M-122.6,135.2l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-123.9,138.2-123.4,136.6-122.6,135.2z"}),x.createElement("path",{className:"st1",d:"M-105.1,151.3c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-105.1,151.3z"}))),IE||(IE=x.createElement("rect",{x:-462.3,y:57.5,className:"st1",width:50,height:50})),EE||(EE=x.createElement("rect",{x:-135.9,y:57.5,className:"st1",width:50,height:50})),_E||(_E=x.createElement("rect",{x:-345.5,y:57.5,className:"st1",width:50,height:50})),AE||(AE=x.createElement("rect",{x:-288.9,y:57.5,className:"st1",width:50,height:50})),wE||(wE=x.createElement("rect",{x:-230.8,y:57.5,className:"st1",width:50,height:50})),SE||(SE=x.createElement("path",{className:"st0",d:"M-208.5,78.3h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-208.8,78.5-208.7,78.3-208.5,78.3z"})),kE||(kE=x.createElement("path",{className:"st0",d:"M-200.1,90.5c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-200.1,90.5z"})),jE||(jE=x.createElement("path",{className:"st0",d:"M-194.8,80.3c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-200.2,68.3-194.8,73.6-194.8,80.3z"})),NE||(NE=x.createElement("g",null,x.createElement("path",{className:"st13",d:"M-217.1,71.2l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-217.3,71.1-217.2,71.1-217.1,71.2z"}))),TE||(TE=x.createElement("path",{className:"st3",d:"M-216.7,81.4"})),PE||(PE=x.createElement("path",{className:"st8",d:"M-114.2,77.6h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-114.6,77.8-114.4,77.6-114.2,77.6z"})),OE||(OE=x.createElement("path",{className:"st0",d:"M-99.9,80.3c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13c-3.6,0-7.1,1.5-9.6,4.2 l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-105.3,68.3-99.9,73.6-99.9,80.3z"})),ME||(ME=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-122.3,71.4l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-122.4,71.3-122.3,71.3-122.3,71.4z"}))),LE||(LE=x.createElement("path",{className:"st3",d:"M-121.7,81.4"})),BE||(BE=x.createElement("path",{className:"st14",d:"M-316.4,84.8h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 c0-3.6,2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-316.4,84.8z M-326.1,80.3c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-326.1,77.8-326.1,80.3z"})),DE||(DE=x.createElement("path",{className:"st8",d:"M-323.3,78.3h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-323.6,78.5-323.4,78.3-323.3,78.3z"})),RE||(RE=x.createElement("path",{className:"st0",d:"M-314.8,90.5c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-314.8,90.5z"})),zE||(zE=x.createElement("path",{className:"st0",d:"M-309.5,80.3c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-314.9,68.3-309.5,73.6-309.5,80.3z"})),FE||(FE=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-331.8,71.2l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-332,71.1-331.9,71.1-331.8,71.2z"}))),HE||(HE=x.createElement("path",{className:"st3",d:"M-331.4,81.4"})),qE||(qE=x.createElement("path",{className:"st3",d:"M-198.4,85.5"})),UE||(UE=x.createElement("line",{className:"st3",x1:-197.8,y1:84.3,x2:-197.8,y2:84.3})),GE||(GE=x.createElement("path",{className:"st0",d:"M-217.3,83.6l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-217.3,83.6z"})),WE||(WE=x.createElement("path",{className:"st9",d:"M-125.8,80.7l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-125.8,80.7z"})),QE||(QE=x.createElement("path",{className:"st0",d:"M-199.9,87c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-199.9,87z"})),YE||(YE=x.createElement("path",{className:"st14",d:"M-259.8,84.8h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 c0-3.6,2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-259.8,84.8z M-269.5,80.3c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-269.5,77.8-269.5,80.3z"})),VE||(VE=x.createElement("path",{className:"st8",d:"M-266.6,78.3h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-266.9,78.5-266.8,78.3-266.6,78.3z"})),ZE||(ZE=x.createElement("path",{className:"st0",d:"M-258.1,90.5c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-258.1,90.5z"})),KE||(KE=x.createElement("path",{className:"st0",d:"M-252.9,80.3c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-258.3,68.3-252.9,73.6-252.9,80.3z"})),JE||(JE=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-275.2,71.2l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-275.3,71.1-275.2,71.1-275.2,71.2z"}))),XE||(XE=x.createElement("path",{className:"st3",d:"M-274.7,81.4"})),$E||($E=x.createElement("path",{className:"st3",d:"M-256.5,85.5"})),e_||(e_=x.createElement("line",{className:"st3",x1:-255.8,y1:84.3,x2:-255.8,y2:84.3})),t_||(t_=x.createElement("path",{className:"st7",d:"M-256.5,85.5c-0.4,0.6-0.8,1.2-1.3,1.7"})),n_||(n_=x.createElement("path",{className:"st9",d:"M-275.3,83.6l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-275.3,83.6z"})),r_||(r_=x.createElement("path",{className:"st0",d:"M-264.9,69.9c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4s9.4,4.2,9.4,9.4c0,1.8-0.5,3.5-1.4,5c-0.3,0.5-0.7,1-1.1,1.4v1.4c0.8-0.7,1.4-1.4,2-2.3 c1-1.6,1.6-3.6,1.6-5.5C-254.5,74.5-259.1,69.9-264.9,69.9z"})),o_||(o_=x.createElement("path",{className:"st0",d:"M-258,87c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6c2.8,0,5.3-1.1,7.3-3 L-258,87z"})),i_||(i_=x.createElement("path",{className:"st0",d:"M-206.8,69.9c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4c1.6,0,3.2,0.4,4.5,1.2l0.6-0.8C-203.2,70.4-204.9,69.9-206.8,69.9z"})),a_||(a_=x.createElement("path",{className:"st10",d:"M-201.1,72.2c2.5,1.8,4.2,4.7,4.2,8.1c0,1.9-0.5,3.7-1.5,5.2"})),s_||(s_=x.createElement("path",{className:"st7",d:"M-198.4,85.5c-0.4,0.7-1,1.3-1.6,1.9"})),l_||(l_=x.createElement("path",{className:"st14",d:"M-201.7,84.8h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 c0-3.6,2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-201.7,84.8z M-211.4,80.3c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-211.4,77.8-211.4,80.3z"})),c_||(c_=x.createElement("path",{className:"st14",d:"M-433.2,84.8h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 c0-3.6,2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-433.2,84.8z M-443,80.3c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-443,77.8-443,80.3z"})),u_||(u_=x.createElement("path",{className:"st0",d:"M-440.1,78.3h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-440.4,78.5-440.2,78.3-440.1,78.3z"})),d_||(d_=x.createElement("path",{className:"st0",d:"M-426.4,80.3c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-431.8,68.3-426.4,73.6-426.4,80.3z"})),m_||(m_=x.createElement("g",null,x.createElement("path",{className:"st15",d:"M-448.5,71.6l1,1.9c0,0.1,0,0.1-0.1,0.1l-2.1-0.3c-0.1,0-0.1-0.1-0.1-0.1l1.1-1.5 C-448.6,71.5-448.5,71.5-448.5,71.6z"}))),p_||(p_=x.createElement("path",{className:"st3",d:"M-448.2,81.4"})),h_||(h_=x.createElement("path",{className:"st0",d:"M-452.1,80.4l0.6-1h1.2l0.6,1l-0.6,1h-1.2L-452.1,80.4z"})),f_||(f_=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M-450.5,78.9c0.2-1.6,0.7-3.2,1.5-4.6l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9L-450.5,78.9L-450.5,78.9z"}),x.createElement("path",{className:"st0",d:"M-431.6,90.5c-2,1.3-4.3,2-6.8,2c-6.2,0-11.4-4.7-12.1-10.7h-0.5c0.8,6.3,6.1,11.2,12.6,11.2 c2.6,0,5-0.8,7.1-2.2L-431.6,90.5z"}))),g_||(g_=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M-122.6,74.3l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-123.9,77.3-123.4,75.7-122.6,74.3z"}),x.createElement("path",{className:"st0",d:"M-105.1,90.5c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-105.1,90.5z"}))),v_||(v_=x.createElement("rect",{x:-462.3,className:"st1",width:50,height:50})),y_||(y_=x.createElement("rect",{x:-695.1,className:"st1",width:50,height:50})),x_||(x_=x.createElement("rect",{x:-135.9,className:"st1",width:50,height:50})),b_||(b_=x.createElement("rect",{x:-345.5,className:"st1",width:50,height:50})),C_||(C_=x.createElement("rect",{x:-288.9,className:"st1",width:50,height:50})),I_||(I_=x.createElement("path",{className:"st8",d:"M-114.2,20.1h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-114.6,20.3-114.4,20.1-114.2,20.1z"})),E_||(E_=x.createElement("path",{className:"st0",d:"M-99.9,22.7c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13c-3.6,0-7.1,1.5-9.6,4.2 l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-105.3,10.7-99.9,16.1-99.9,22.7z"})),__||(__=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-122.3,13.9l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-122.4,13.8-122.3,13.8-122.3,13.9z"}))),A_||(A_=x.createElement("path",{className:"st3",d:"M-121.7,23.9"})),w_||(w_=x.createElement("path",{className:"st14",d:"M-316.4,27.2h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-316.4,27.2z M-326.1,22.7c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-326.1,20.2-326.1,22.7z"})),S_||(S_=x.createElement("path",{className:"st8",d:"M-323.3,20.8h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-323.6,20.9-323.4,20.8-323.3,20.8z"})),k_||(k_=x.createElement("path",{className:"st0",d:"M-314.8,32.9c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-314.8,32.9z"})),j_||(j_=x.createElement("path",{className:"st0",d:"M-309.5,22.7c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-314.9,10.7-309.5,16.1-309.5,22.7z"})),N_||(N_=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-331.8,13.7l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-332,13.6-331.9,13.6-331.8,13.7z"}))),T_||(T_=x.createElement("path",{className:"st3",d:"M-331.4,23.9"})),P_||(P_=x.createElement("path",{className:"st9",d:"M-125.8,23.2l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-125.8,23.2z"})),O_||(O_=x.createElement("path",{className:"st14",d:"M-259.8,27.2h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-259.8,27.2z M-269.5,22.7c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-269.5,20.2-269.5,22.7z"})),M_||(M_=x.createElement("path",{className:"st8",d:"M-266.6,20.8h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-266.9,20.9-266.8,20.8-266.6,20.8z"})),L_||(L_=x.createElement("path",{className:"st0",d:"M-258.1,32.9c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-258.1,32.9z"})),B_||(B_=x.createElement("path",{className:"st0",d:"M-252.9,22.7c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-258.3,10.7-252.9,16.1-252.9,22.7z"})),D_||(D_=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-275.2,13.7l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-275.3,13.6-275.2,13.6-275.2,13.7z"}))),R_||(R_=x.createElement("path",{className:"st3",d:"M-274.7,23.9"})),z_||(z_=x.createElement("path",{className:"st3",d:"M-256.5,28"})),F_||(F_=x.createElement("line",{className:"st3",x1:-255.8,y1:26.8,x2:-255.8,y2:26.8})),H_||(H_=x.createElement("path",{className:"st7",d:"M-256.5,28c-0.4,0.6-0.8,1.2-1.3,1.7"})),q_||(q_=x.createElement("path",{className:"st9",d:"M-275.3,26.1l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-275.3,26.1z"})),U_||(U_=x.createElement("path",{className:"st0",d:"M-264.9,12.3c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4s9.4,4.2,9.4,9.4c0,1.8-0.5,3.5-1.4,5c-0.3,0.5-0.7,1-1.1,1.4v1.4c0.8-0.7,1.4-1.4,2-2.3 c1-1.6,1.6-3.6,1.6-5.5C-254.5,17-259.1,12.3-264.9,12.3z"})),G_||(G_=x.createElement("path",{className:"st0",d:"M-258,29.5c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-258,29.5z"})),W_||(W_=x.createElement("path",{className:"st14",d:"M-433.2,27.2h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-433.2,27.2z M-443,22.7c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5s-2-4.5-4.5-4.5 S-443,20.2-443,22.7z"})),Q_||(Q_=x.createElement("path",{className:"st0",d:"M-440.1,20.8h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-440.4,20.9-440.2,20.8-440.1,20.8z"})),Y_||(Y_=x.createElement("path",{className:"st0",d:"M-426.4,22.7c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-431.8,10.7-426.4,16.1-426.4,22.7z"})),V_||(V_=x.createElement("g",null,x.createElement("path",{className:"st15",d:"M-448.5,14.1l1,1.9c0,0.1,0,0.1-0.1,0.1l-2.1-0.3c-0.1,0-0.1-0.1-0.1-0.1l1.1-1.5 C-448.6,14-448.5,14-448.5,14.1z"}))),Z_||(Z_=x.createElement("path",{className:"st3",d:"M-448.2,23.9"})),K_||(K_=x.createElement("path",{className:"st0",d:"M-452.1,22.8l0.6-1h1.2l0.6,1l-0.6,1h-1.2L-452.1,22.8z"})),J_||(J_=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M-450.5,21.4c0.2-1.6,0.7-3.2,1.5-4.6l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.4V21.4z"}),x.createElement("path",{className:"st0",d:"M-431.6,32.9c-2,1.3-4.3,2-6.8,2c-6.2,0-11.4-4.7-12.1-10.7h-0.5c0.8,6.3,6.1,11.2,12.6,11.2 c2.6,0,5-0.8,7.1-2.2L-431.6,32.9z"}))),X_||(X_=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M-122.6,16.8l-0.4-0.3c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-123.9,19.8-123.4,18.2-122.6,16.8z"}),x.createElement("path",{className:"st0",d:"M-105.1,32.9c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-105.1,32.9z"}))),$_||($_=x.createElement("path",{className:"st14",d:"M-666.1,27.2h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-666.1,27.2z M-675.8,22.7c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-675.8,20.2-675.8,22.7z"})),eA||(eA=x.createElement("path",{className:"st16",d:"M-662.9,28c-1.7,2.8-4.9,4.7-8.4,4.7c-5.5,0-9.9-4.4-9.9-9.9s4.4-9.9,9.9-9.9s9.9,4.4,9.9,9.9 C-661.4,24.6-661.9,26.4-662.9,28"})),tA||(tA=x.createElement("circle",{className:"st16",cx:-671.3,cy:22.7,r:12.5})),nA||(nA=x.createElement("path",{className:"st0",d:"M-672.9,20.7h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3V21 C-673.2,20.8-673.1,20.7-672.9,20.7z"})),rA||(rA=x.createElement("path",{className:"st5",d:"M-666.1-32.1h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-666.1-32.1z M-675.8-36.6c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-675.8-39.1-675.8-36.6z"})),oA||(oA=x.createElement("path",{className:"st3",d:"M-662.9-31.4c-1.7,2.8-4.9,4.7-8.4,4.7c-5.5,0-9.9-4.4-9.9-9.9s4.4-9.9,9.9-9.9s9.9,4.4,9.9,9.9 C-661.4-34.7-661.9-32.9-662.9-31.4"})),iA||(iA=x.createElement("circle",{className:"st3",cx:-671.3,cy:-36.6,r:12.5})),aA||(aA=x.createElement("path",{className:"st8",d:"M-672.9-38.7h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-673.2-38.5-673.1-38.7-672.9-38.7z"})),sA||(sA=x.createElement("path",{className:"st8",d:"M-208.5-38.5h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-208.8-38.4-208.7-38.5-208.5-38.5z"})),lA||(lA=x.createElement("path",{className:"st1",d:"M-200.1-26.4c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-200.1-26.4z"})),cA||(cA=x.createElement("path",{className:"st1",d:"M-194.8-36.6c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-200.2-48.6-194.8-43.2-194.8-36.6z"})),uA||(uA=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-217.1-45.7l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-217.3-45.8-217.2-45.7-217.1-45.7z"}))),dA||(dA=x.createElement("path",{className:"st3",d:"M-216.7-35.4"})),mA||(mA=x.createElement("path",{className:"st17",d:"M101.4,147.3h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7c4.8,0,8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L101.4,147.3z M88.4,141.3c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S88.4,138,88.4,141.3z"})),pA||(pA=x.createElement("path",{d:"M92.2,138.5h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5C91.8,138.7,92,138.5,92.2,138.5 z"})),hA||(hA=x.createElement("g",null,x.createElement("path",{className:"st18",d:"M84.1,132.3l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C84,132.2,84.1,132.2,84.1,132.3z"}))),fA||(fA=x.createElement("path",{className:"st3",d:"M84.6,142.3"})),gA||(gA=x.createElement("path",{className:"st5",d:"M-316.4-32.1h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-316.4-32.1z M-326.1-36.6c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-326.1-39.1-326.1-36.6z"})),vA||(vA=x.createElement("path",{className:"st8",d:"M-323.3-38.5h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-323.6-38.4-323.4-38.5-323.3-38.5z"})),yA||(yA=x.createElement("path",{className:"st1",d:"M-314.8-26.4c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-314.8-26.4z"})),xA||(xA=x.createElement("path",{className:"st1",d:"M-309.5-36.6c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-314.9-48.6-309.5-43.2-309.5-36.6z"})),bA||(bA=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-331.8-45.7l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-332-45.8-331.9-45.7-331.8-45.7z"}))),CA||(CA=x.createElement("path",{className:"st3",d:"M-331.4-35.4"})),IA||(IA=x.createElement("path",{className:"st3",d:"M-198.4-31.4"})),EA||(EA=x.createElement("line",{className:"st3",x1:-197.8,y1:-32.6,x2:-197.8,y2:-32.6})),_A||(_A=x.createElement("path",{className:"st9",d:"M-217.3-33.3l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-217.3-33.3z"})),AA||(AA=x.createElement("path",{d:"M80.6,141.6l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L80.6,141.6z"})),wA||(wA=x.createElement("path",{className:"st1",d:"M-199.9-29.9c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-199.9-29.9z"})),SA||(SA=x.createElement("path",{className:"st5",d:"M-259.8-32.1h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-259.8-32.1z M-269.5-36.6c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-269.5-39.1-269.5-36.6z"})),kA||(kA=x.createElement("path",{className:"st8",d:"M-266.6-38.5h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-266.9-38.4-266.8-38.5-266.6-38.5z"})),jA||(jA=x.createElement("path",{className:"st1",d:"M-258.1-26.4c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2.1,0.5-4.1,1.5-6l-0.4-0.2 c-1.1,1.9-1.6,4-1.6,6.2c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L-258.1-26.4z"})),NA||(NA=x.createElement("path",{className:"st1",d:"M-252.9-36.6c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-258.3-48.6-252.9-43.2-252.9-36.6z"})),TA||(TA=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-275.2-45.7l1.3,2.5c0,0.1,0,0.2-0.1,0.2l-2.7-0.5c-0.1,0-0.1-0.1-0.1-0.2l1.5-2 C-275.3-45.8-275.2-45.7-275.2-45.7z"}))),PA||(PA=x.createElement("path",{className:"st3",d:"M-274.7-35.4"})),OA||(OA=x.createElement("path",{className:"st3",d:"M-256.5-31.4"})),MA||(MA=x.createElement("line",{className:"st3",x1:-255.8,y1:-32.6,x2:-255.8,y2:-32.6})),LA||(LA=x.createElement("path",{className:"st7",d:"M-256.5-31.4c-0.4,0.6-0.8,1.2-1.3,1.7"})),BA||(BA=x.createElement("path",{className:"st9",d:"M-275.3-33.3l0.3-1.2l1.2-0.3l0.8,0.9l-0.3,1.2l-1.2,0.3L-275.3-33.3z"})),DA||(DA=x.createElement("path",{className:"st1",d:"M-264.9-47c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4s9.4,4.2,9.4,9.4c0,1.8-0.5,3.5-1.4,5c-0.3,0.5-0.7,1-1.1,1.4v1.4c0.8-0.7,1.4-1.4,2-2.3 c1-1.6,1.6-3.6,1.6-5.5C-254.5-42.3-259.1-47-264.9-47z"})),RA||(RA=x.createElement("path",{className:"st1",d:"M-258-29.9c-1.8,1.9-4.3,2.9-6.9,2.9c-3.6,0-6.9-2.1-8.5-5.2l-0.5,0.1c1.7,3.3,5.2,5.6,9,5.6 c2.8,0,5.3-1.1,7.3-3L-258-29.9z"})),zA||(zA=x.createElement("path",{className:"st1",d:"M-206.8-47c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4c1.6,0,3.2,0.4,4.5,1.2l0.6-0.8C-203.2-46.5-204.9-47-206.8-47z"})),FA||(FA=x.createElement("path",{className:"st7",d:"M-201.1-44.7c2.5,1.8,4.2,4.7,4.2,8.1c0,1.9-0.5,3.7-1.5,5.2"})),HA||(HA=x.createElement("path",{className:"st7",d:"M-198.4-31.4c-0.4,0.7-1,1.3-1.6,1.9"})),qA||(qA=x.createElement("path",{className:"st11",d:"M-201.7-32.1h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-201.7-32.1z M-211.4-36.6c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5 s-2-4.5-4.5-4.5S-211.4-39.1-211.4-36.6z"})),UA||(UA=x.createElement("path",{className:"st5",d:"M-433.2-32.1h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L-433.2-32.1z M-443-36.6c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5s-2-4.5-4.5-4.5 S-443-39.1-443-36.6z"})),GA||(GA=x.createElement("path",{className:"st8",d:"M-440.1-38.5h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C-440.4-38.4-440.2-38.5-440.1-38.5z"})),WA||(WA=x.createElement("path",{className:"st1",d:"M-426.4-36.6c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-431.8-48.6-426.4-43.2-426.4-36.6z"})),QA||(QA=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-448.5-45.3l1,1.9c0,0.1,0,0.1-0.1,0.1l-2.1-0.3c-0.1,0-0.1-0.1-0.1-0.1l1.1-1.5 C-448.6-45.3-448.5-45.3-448.5-45.3z"}))),YA||(YA=x.createElement("path",{className:"st3",d:"M-448.2-35.4"})),VA||(VA=x.createElement("path",{className:"st9",d:"M-452.1-36.5l0.6-1h1.2l0.6,1l-0.6,1h-1.2L-452.1-36.5z"})),ZA||(ZA=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M-450.5-37.9c0.2-1.6,0.7-3.2,1.5-4.6l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.4V-37.9z"}),x.createElement("path",{className:"st1",d:"M-431.6-26.4c-2,1.3-4.3,2-6.8,2c-6.2,0-11.4-4.7-12.1-10.7h-0.5c0.8,6.3,6.1,11.2,12.6,11.2 c2.6,0,5-0.8,7.1-2.2L-431.6-26.4z"}))),KA||(KA=x.createElement("path",{className:"st5",d:"M-105-30.4h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.2l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-105-30.4z M-117.9-36.4c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C-115.3-42.4-117.9-39.7-117.9-36.4z"})),JA||(JA=x.createElement("path",{className:"st8",d:"M-114.2-39.2h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-114.6-39-114.4-39.2-114.2-39.2z"})),XA||(XA=x.createElement("path",{className:"st1",d:"M-99.9-36.6c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13c-3.6,0-7.1,1.5-9.6,4.2 l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-105.3-48.6-99.9-43.2-99.9-36.6z"})),$A||($A=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-122.3-45.5l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-122.4-45.5-122.3-45.5-122.3-45.5z"}))),ew||(ew=x.createElement("path",{className:"st3",d:"M-121.7-35.4"})),tw||(tw=x.createElement("path",{className:"st9",d:"M-125.8-36.1l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-125.8-36.1z"})),nw||(nw=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M-122.6-42.6l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-123.9-39.6-123.4-41.2-122.6-42.6z"}),x.createElement("path",{className:"st1",d:"M-105.1-26.4c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-105.1-26.4z"}))),rw||(rw=x.createElement("g",null,x.createElement("path",{className:"st14",d:"M-117.6,72.3c-0.1-0.3-0.2-0.7-0.2-1C-117.8,71.6-117.7,72-117.6,72.3z"}),x.createElement("path",{className:"st14",d:"M-116.4,74.4c-0.3-0.4-0.6-0.8-0.8-1.2C-117,73.6-116.8,74-116.4,74.4z"}))),ow||(ow=x.createElement("path",{className:"st5",d:"M-499.3,150l-2.6-2.6h-1l-0.4-0.4c1.3-1.5,2.1-3.5,2.1-5.6c0-0.9-0.1-1.8-0.4-2.6c-0.1-0.2-0.1-0.4-0.2-0.6 c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0-0.3-0.1-0.6-0.1-0.9 c0-3.3,2.7-6,6-6s6,2.7,6,6C-504,144.6-506.6,147.3-510,147.3z"})),iw||(iw=x.createElement("path",{className:"st5",d:"M-495.3,154l-2,2l-1.5-1.5c0.8-0.6,1.4-1.2,2-1.9L-495.3,154z"})),aw||(aw=x.createElement("path",{className:"st5",d:"M-499.5,153.7l-1.1-1.1c0.8-0.5,1.4-1.2,2-1.9l1.1,1.1C-498.1,152.5-498.8,153.2-499.5,153.7z"})),x.createElement("text",{transform:"matrix(1 0 0 1 -440.381 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"1"),x.createElement("text",{transform:"matrix(1 0 0 1 91.7999 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"7"),x.createElement("text",{transform:"matrix(1 0 0 1 -114.5786 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"6"),x.createElement("text",{transform:"matrix(1 0 0 1 -323.5552 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"3"),x.createElement("text",{transform:"matrix(1 0 0 1 -266.9043 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"4"),x.createElement("text",{transform:"matrix(1 0 0 1 -211.4154 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"5"),sw||(sw=x.createElement("path",{className:"st14",d:"M-105,28.9h1.1l6.6,6.7l-2,2L-106,31v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-105,28.9z M-117.9,22.9c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C-115.3,16.9-117.9,19.6-117.9,22.9z"})),lw||(lw=x.createElement("path",{className:"st14",d:"M-105,86.4h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 c0-4.8,3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-105,86.4z M-117.9,80.4c0,3.3,2.7,6,6,6s6-2.7,6-6c0-3.3-2.7-6-6-6 C-115.3,74.4-117.9,77.1-117.9,80.4z"})),cw||(cw=x.createElement("path",{className:"st5",d:"M-105,147.3h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-105,147.3z M-117.9,141.3c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C-115.3,135.3-117.9,138-117.9,141.3z"})),uw||(uw=x.createElement("path",{className:"st1",d:"M-382.2,138.5h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-382.6,138.7-382.4,138.5-382.2,138.5z"})),dw||(dw=x.createElement("path",{className:"st1",d:"M-367.9,141.1c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-373.3,129.1-367.9,134.5-367.9,141.1z"})),mw||(mw=x.createElement("g",null,x.createElement("path",{className:"st4",d:"M-390.3,132.3l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-390.4,132.2-390.3,132.2-390.3,132.3z"}))),pw||(pw=x.createElement("path",{className:"st3",d:"M-389.8,142.3"})),hw||(hw=x.createElement("path",{className:"st1",d:"M-393.8,141.6l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-393.8,141.6z"})),fw||(fw=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M-390.6,135.2l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-391.9,138.2-391.4,136.6-390.6,135.2z"}),x.createElement("path",{className:"st1",d:"M-373.2,151.3c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-373.2,151.3z"}))),gw||(gw=x.createElement("rect",{x:-403.9,y:57.5,className:"st1",width:50,height:50})),vw||(vw=x.createElement("path",{className:"st8",d:"M-382.2,77.6h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-382.6,77.8-382.4,77.6-382.2,77.6z"})),yw||(yw=x.createElement("path",{className:"st0",d:"M-367.9,80.3c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-373.3,68.3-367.9,73.6-367.9,80.3z"})),xw||(xw=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-390.3,71.4l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-390.4,71.3-390.3,71.3-390.3,71.4z"}))),bw||(bw=x.createElement("path",{className:"st3",d:"M-389.8,81.4"})),Cw||(Cw=x.createElement("path",{className:"st9",d:"M-393.8,80.7l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-393.8,80.7z"})),Iw||(Iw=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M-390.6,74.3l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-391.9,77.3-391.4,75.7-390.6,74.3z"}),x.createElement("path",{className:"st0",d:"M-373.2,90.5c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-373.2,90.5z"}))),Ew||(Ew=x.createElement("rect",{x:-403.9,className:"st1",width:50,height:50})),_w||(_w=x.createElement("path",{className:"st8",d:"M-382.2,20.1h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-382.6,20.3-382.4,20.1-382.2,20.1z"})),Aw||(Aw=x.createElement("path",{className:"st0",d:"M-367.9,22.7c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-373.3,10.7-367.9,16.1-367.9,22.7z"})),ww||(ww=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-390.3,13.9l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-390.4,13.8-390.3,13.8-390.3,13.9z"}))),Sw||(Sw=x.createElement("path",{className:"st3",d:"M-389.8,23.9"})),kw||(kw=x.createElement("path",{className:"st9",d:"M-393.8,23.2l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-393.8,23.2z"})),jw||(jw=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M-390.6,16.8l-0.4-0.3c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-391.9,19.8-391.4,18.2-390.6,16.8z"}),x.createElement("path",{className:"st0",d:"M-373.2,32.9c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-373.2,32.9z"}))),Nw||(Nw=x.createElement("path",{className:"st5",d:"M-373-30.4h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.2l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-373-30.4z M-385.9-36.4c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C-383.3-42.4-385.9-39.7-385.9-36.4z"})),Tw||(Tw=x.createElement("path",{className:"st8",d:"M-382.2-39.2h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C-382.6-39-382.4-39.2-382.2-39.2z"})),Pw||(Pw=x.createElement("path",{className:"st1",d:"M-367.9-36.6c0,2.6-0.8,5.1-2.3,7.1l0.7,0.7c1.7-2.2,2.6-4.9,2.6-7.8c0-7.2-5.8-13-13-13 c-3.6,0-7.1,1.5-9.6,4.2l0.7,0.7c2.3-2.5,5.5-3.9,8.8-3.9C-373.3-48.6-367.9-43.2-367.9-36.6z"})),Ow||(Ow=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M-390.3-45.5l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C-390.4-45.5-390.3-45.5-390.3-45.5z"}))),Mw||(Mw=x.createElement("path",{className:"st3",d:"M-389.8-35.4"})),Lw||(Lw=x.createElement("path",{className:"st9",d:"M-393.8-36.1l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L-393.8-36.1z"})),Bw||(Bw=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M-390.6-42.6l-0.4-0.2c-0.8,1.5-1.3,3.2-1.5,4.9h0.5C-391.9-39.6-391.4-41.2-390.6-42.6z"}),x.createElement("path",{className:"st1",d:"M-373.2-26.4c-2,1.3-4.3,2-6.8,2c-6,0-10.9-4.3-12-9.9h-0.5c1.1,5.9,6.3,10.4,12.5,10.4c2.6,0,5-0.8,7.1-2.2 L-373.2-26.4z"}))),Dw||(Dw=x.createElement("g",null,x.createElement("path",{className:"st14",d:"M-385.6,72.3c-0.1-0.3-0.2-0.7-0.2-1C-385.8,71.6-385.8,72-385.6,72.3z"}),x.createElement("path",{className:"st14",d:"M-384.4,74.4c-0.3-0.4-0.6-0.8-0.8-1.2C-385.1,73.6-384.8,74-384.4,74.4z"}))),x.createElement("text",{transform:"matrix(1 0 0 1 -382.5966 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"2"),Rw||(Rw=x.createElement("path",{className:"st14",d:"M-373,28.9h1.1l6.6,6.7l-2,2L-374,31v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-373,28.9z M-385.9,22.9c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C-383.3,16.9-385.9,19.6-385.9,22.9z"})),zw||(zw=x.createElement("path",{className:"st14",d:"M-373,86.4h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 c0-4.8,3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-373,86.4z M-385.9,80.4c0,3.3,2.7,6,6,6s6-2.7,6-6c0-3.3-2.7-6-6-6 C-383.3,74.4-385.9,77.1-385.9,80.4z"})),Fw||(Fw=x.createElement("path",{className:"st5",d:"M-373,147.3h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L-373,147.3z M-385.9,141.3c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C-383.3,135.3-385.9,138-385.9,141.3z"})),Hw||(Hw=x.createElement("path",{d:"M106.5,141.1c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9l0.5,0.9 c2.2-2.4,5.3-3.9,8.8-3.9C101.1,129.1,106.5,134.5,106.5,141.1z"})),qw||(qw=x.createElement("g",null,x.createElement("path",{d:"M101.3,151.3c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7H82c1.2,5.8,6.3,10.2,12.5,10.2c2.7,0,5.1-0.8,7.2-2.2 L101.3,151.3z"}),x.createElement("path",{d:"M82.3,139.5c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2H82.3z"}))),Uw||(Uw=x.createElement("rect",{x:70.5,y:57.5,width:50,height:50})),Gw||(Gw=x.createElement("rect",{x:199.7,y:55.4,width:50,height:50})),Ww||(Ww=x.createElement("rect",{x:199.7,y:-.2,className:"st19",width:50,height:50})),Qw||(Qw=x.createElement("path",{className:"st14",d:"M101.4,86.4h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1L100,87c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 c0-4.8,3.9-8.7,8.7-8.7c4.8,0,8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L101.4,86.4z M88.4,80.4c0,3.3,2.7,6,6,6s6-2.7,6-6 c0-3.3-2.7-6-6-6S88.4,77.1,88.4,80.4z"})),Yw||(Yw=x.createElement("path",{className:"st0",d:"M92.2,77.6h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C91.8,77.8,92,77.6,92.2,77.6z"})),Vw||(Vw=x.createElement("g",null,x.createElement("path",{className:"st20",d:"M84.1,71.4l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C84,71.3,84.1,71.3,84.1,71.4z"}))),Zw||(Zw=x.createElement("path",{className:"st3",d:"M84.6,81.4"})),Kw||(Kw=x.createElement("path",{className:"st0",d:"M80.6,80.7l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L80.6,80.7z"})),Jw||(Jw=x.createElement("path",{className:"st0",d:"M106.5,80.2c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9 l0.5,0.9c2.2-2.4,5.3-3.9,8.8-3.9C101.1,68.2,106.5,73.6,106.5,80.2z"})),Xw||(Xw=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M101.3,90.4c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7H82C83.2,88.6,88.3,93,94.5,93 c2.7,0,5.1-0.8,7.2-2.2L101.3,90.4z"}),x.createElement("path",{className:"st0",d:"M82.3,78.7c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2H82.3z"}))),$w||($w=x.createElement("rect",{x:70.5,className:"st1",width:50,height:50})),eS||(eS=x.createElement("path",{className:"st11",d:"M101.4,28.9h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7c4.8,0,8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L101.4,28.9z M88.4,22.9c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S88.4,19.6,88.4,22.9z"})),tS||(tS=x.createElement("path",{className:"st8",d:"M92.2,20.1h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C91.8,20.3,92,20.1,92.2,20.1z"})),nS||(nS=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M84.1,13.9l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7C84,13.8,84.1,13.8,84.1,13.9 z"}))),rS||(rS=x.createElement("path",{className:"st3",d:"M84.6,23.9"})),oS||(oS=x.createElement("path",{className:"st9",d:"M80.6,23.2l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L80.6,23.2z"})),iS||(iS=x.createElement("path",{className:"st0",d:"M106.5,22.7c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9 l0.5,0.9c2.2-2.4,5.3-3.9,8.8-3.9C101.1,10.7,106.5,16.1,106.5,22.7z"})),aS||(aS=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M101.3,32.9c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7H82c1.2,5.8,6.3,10.2,12.4,10.2 c2.7,0,5.1-0.8,7.2-2.2L101.3,32.9z"}),x.createElement("path",{className:"st0",d:"M82.3,21.1c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2C81.8,21.1,82.3,21.1,82.3,21.1z"}))),sS||(sS=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M84.1-45.5l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7C84-45.5,84.1-45.5,84.1-45.5 z"}))),lS||(lS=x.createElement("path",{className:"st3",d:"M84.6-35.4"})),cS||(cS=x.createElement("path",{className:"st1",d:"M106.5-36.6c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9 l0.5,0.9c2.2-2.4,5.3-3.9,8.8-3.9C101.1-48.6,106.5-43.3,106.5-36.6z"})),uS||(uS=x.createElement("rect",{y:118.4,className:"st0",width:50,height:50})),dS||(dS=x.createElement("path",{className:"st17",d:"M30.9,147.3H32l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L30.9,147.3z M17.9,141.3c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S17.9,138,17.9,141.3z"})),mS||(mS=x.createElement("path",{d:"M21.7,138.5h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C21.3,138.7,21.5,138.5,21.7,138.5z"})),pS||(pS=x.createElement("g",null,x.createElement("path",{className:"st18",d:"M13.6,132.3l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C13.5,132.2,13.6,132.2,13.6,132.3z"}))),hS||(hS=x.createElement("path",{className:"st3",d:"M14.1,142.3"})),fS||(fS=x.createElement("path",{d:"M10.1,141.6l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L10.1,141.6z"})),x.createElement("text",{transform:"matrix(1 0 0 1 21.2937 -89.7775)",style:{fontFamily:"'ArialMT'",fontSize:12}},"7"),gS||(gS=x.createElement("path",{d:"M36,141.1c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9l0.5,0.9 c2.2-2.4,5.3-3.9,8.8-3.9C30.6,129.1,36,134.5,36,141.1z"})),vS||(vS=x.createElement("g",null,x.createElement("path",{d:"M30.7,151.3c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7h-0.5c1.2,5.8,6.3,10.2,12.5,10.2c2.7,0,5.1-0.8,7.2-2.2 L30.7,151.3z"}),x.createElement("path",{d:"M11.8,139.5c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2H11.8z"}))),yS||(yS=x.createElement("path",{className:"st11",d:"M30.9,86.4H32l6.6,6.7l-2,2l-6.7-6.6v-1.1L29.5,87c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 c0-4.8,3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L30.9,86.4z M17.9,80.4c0,3.3,2.7,6,6,6s6-2.7,6-6c0-3.3-2.7-6-6-6 S17.9,77.1,17.9,80.4z"})),xS||(xS=x.createElement("path",{className:"st8",d:"M21.7,77.6h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C21.3,77.8,21.5,77.6,21.7,77.6z"})),bS||(bS=x.createElement("path",{className:"st3",d:"M14.1,81.4"})),CS||(CS=x.createElement("path",{className:"st9",d:"M10.1,80.7l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L10.1,80.7z"})),IS||(IS=x.createElement("path",{className:"st0",d:"M36,80.2c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9 l0.5,0.9c2.2-2.4,5.3-3.9,8.8-3.9C30.6,68.2,36,73.6,36,80.2z"})),ES||(ES=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M30.7,90.4c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7h-0.5C12.6,88.6,17.7,93,23.9,93 c2.7,0,5.1-0.8,7.2-2.2L30.7,90.4z"}),x.createElement("path",{className:"st0",d:"M11.8,78.7c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2H11.8z"}))),_S||(_S=x.createElement("path",{className:"st11",d:"M30.9,28.9H32l6.6,6.7l-2,2L29.9,31v-1.1l-0.3-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L30.9,28.9z M17.9,22.9c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S17.9,19.6,17.9,22.9z"})),AS||(AS=x.createElement("path",{className:"st8",d:"M21.7,20.1h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C21.3,20.3,21.5,20.1,21.7,20.1z"})),wS||(wS=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M13.6,13.9l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C13.5,13.8,13.6,13.8,13.6,13.9z"}))),SS||(SS=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M13.6,71.4l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C13.5,71.3,13.6,71.3,13.6,71.4z"}))),kS||(kS=x.createElement("path",{className:"st3",d:"M14.1,23.9"})),jS||(jS=x.createElement("path",{className:"st9",d:"M10.1,23.2l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L10.1,23.2z"})),NS||(NS=x.createElement("path",{className:"st0",d:"M36,22.7c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9 l0.5,0.9c2.2-2.4,5.3-3.9,8.8-3.9C30.6,10.7,36,16.1,36,22.7z"})),TS||(TS=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M30.7,32.9c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7h-0.5c1.2,5.8,6.4,10.2,12.5,10.2 c2.7,0,5.1-0.8,7.2-2.2L30.7,32.9z"}),x.createElement("path",{className:"st0",d:"M11.8,21.1c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2C11.3,21.1,11.8,21.1,11.8,21.1z"}))),PS||(PS=x.createElement("path",{className:"st17",d:"M228.7,148.9h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 c0-4.8,3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L228.7,148.9z M215.7,142.9c0,3.3,2.7,6,6,6s6-2.7,6-6 c0-3.3-2.7-6-6-6S215.7,139.6,215.7,142.9z"})),OS||(OS=x.createElement("path",{d:"M219.2,140.4h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C218.8,140.6,219,140.4,219.2,140.4z"})),MS||(MS=x.createElement("g",null,x.createElement("path",{className:"st18",d:"M217.1,130.6l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C217,130.5,217.1,130.6,217.1,130.6z"}))),LS||(LS=x.createElement("path",{className:"st3",d:"M215.7,143.9"})),BS||(BS=x.createElement("path",{d:"M209.8,142.4l1.2-2h2.4l1.2,2l-1.2,2H211L209.8,142.4z"})),DS||(DS=x.createElement("path",{className:"st1",d:"M160.7-50.4c-2.1,0-4,0.5-5.7,1.4l0.5,0.9c1.6-0.8,3.4-1.2,5.3-1.2c6.6,0,12,5.4,12,12c0,2.6-0.9,5.1-2.3,7 l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7C173.7-44.5,167.9-50.4,160.7-50.4z"})),RS||(RS=x.createElement("path",{className:"st21",d:"M174.4-54.2l-11.1,6.4c-0.3,0.2-0.5,0.5-0.5,0.9v12.8c0,0.5,0.6,0.9,1.1,0.6l11.1-6.4c0.3-0.2,0.5-0.5,0.5-0.9 v-12.8C175.5-54.2,174.9-54.5,174.4-54.2z M159.2-27l-3.1,1.8c-0.1,0.1-0.1,0.2-0.1,0.3v3.6c0,0.2,0.2,0.2,0.3,0.2l3.1-1.8 c0.1-0.1,0.1-0.2,0.1-0.3v-3.6C159.5-27,159.3-27.1,159.2-27z M157.4-30.3l-4.6-2.7c-0.1-0.1-0.3-0.1-0.4,0l-4.6,2.7 c-0.2,0.1-0.2,0.4,0,0.5l4.6,2.7c0.1,0.1,0.3,0.1,0.4,0l4.6-2.7C157.6-29.9,157.6-30.2,157.4-30.3z M164.8-29.8l2.1,1.2 c0.1,0.1,0.3,0.1,0.4,0l2.1-1.2c0.2-0.1,0.2-0.4,0-0.5l-2.1-1.2c-0.1-0.1-0.3-0.1-0.4,0l-2.1,1.2C164.6-30.1,164.6-29.9,164.8-29.8z M163.2-26.9l2.1,1.2c0.1,0.1,0.2,0.2,0.2,0.3v2.4c0,0.2-0.2,0.3-0.4,0.2L163-24c-0.1-0.1-0.2-0.2-0.2-0.3v-2.4 C162.8-26.9,163-27,163.2-26.9z"})),zS||(zS=x.createElement("path",{className:"st5",d:"M165.5-30.8h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L165.5-30.8z M152.6-36.8c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S152.6-40.2,152.6-36.8z"})),FS||(FS=x.createElement("path",{className:"st8",d:"M156.1-39.4h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C155.7-39.2,155.9-39.4,156.1-39.4z"})),HS||(HS=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M154-49.1l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C153.9-49.2,153.9-49.2,154-49.1z"}))),qS||(qS=x.createElement("path",{className:"st3",d:"M152.5-35.8"})),US||(US=x.createElement("path",{className:"st22",d:"M146.6-37.3l1.2-2h2.4l1.2,2l-1.2,2h-2.4L146.6-37.3z"})),GS||(GS=x.createElement("path",{className:"st23",d:"M36.9-19.2H12.1C9.8-19.2,8-21,8-23.3v-24.8c0-2.3,1.8-4.1,4.1-4.1h24.8c2.3,0,4.1,1.8,4.1,4.1v24.8 C41-21.1,39.1-19.2,36.9-19.2z"})),WS||(WS=x.createElement("path",{className:"st5",d:"M30.7-30.8h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L30.7-30.8z M17.8-36.8c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S17.8-40.2,17.8-36.8z"})),QS||(QS=x.createElement("path",{className:"st8",d:"M21.6-39.6h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C21.1-39.4,21.3-39.6,21.6-39.6z"})),YS||(YS=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M13.5-45.9l1.1,2.2c0,0.1,0,0.2-0.1,0.1L12.1-44C12-44,12-44.1,12-44.2l1.3-1.7C13.3-45.9,13.4-45.9,13.5-45.9 z"}))),VS||(VS=x.createElement("path",{className:"st3",d:"M14-35.8"})),ZS||(ZS=x.createElement("path",{className:"st9",d:"M10-36.5l0.7-1.2h1.4l0.7,1.2l-0.7,1.2h-1.4L10-36.5z"})),KS||(KS=x.createElement("path",{className:"st1",d:"M35.8-37.1c0,2.6-0.9,5.1-2.3,7l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7c0-7.2-5.8-13-13-13c-3.6,0-6.9,1.5-9.3,3.9 l0.5,0.9c2.2-2.4,5.3-3.9,8.8-3.9C30.4-49,35.8-43.7,35.8-37.1z"})),JS||(JS=x.createElement("g",null,x.createElement("path",{className:"st1",d:"M30.6-26.8c-2,1.3-4.3,2.1-6.8,2.1c-5.9,0-10.8-4.2-12-9.7h-0.5c1.2,5.8,6.3,10.2,12.5,10.2 c2.7,0,5.1-0.8,7.2-2.2L30.6-26.8z"}),x.createElement("path",{className:"st1",d:"M11.7-38.6c0.2-1.5,0.6-2.9,1.3-4.1l-0.5-0.1c-0.7,1.3-1.1,2.7-1.3,4.2H11.7z"}))),XS||(XS=x.createElement("path",{className:"st1",d:"M94.5-47c-5.7,0-10.4,4.7-10.4,10.4c0,0.6,0.1,1.1,0.1,1.6l1-0.2c-0.1-0.5-0.1-0.9-0.1-1.4 c0-5.2,4.2-9.4,9.4-9.4c1.6,0,3.2,0.4,4.5,1.2l0.6-0.8C98.1-46.5,96.4-47,94.5-47z"})),$S||($S=x.createElement("path",{className:"st5",d:"M99.6-32.1h0.8l5,5l-1.5,1.5l-5-5v-0.8l-0.3-0.3c-1.1,1-2.6,1.6-4.2,1.6c-3.6,0-6.5-2.9-6.5-6.5 s2.9-6.5,6.5-6.5s6.5,2.9,6.5,6.5c0,1.6-0.6,3.1-1.6,4.2L99.6-32.1z M89.9-36.6c0,2.5,2,4.5,4.5,4.5s4.5-2,4.5-4.5s-2-4.5-4.5-4.5 S89.9-39.1,89.9-36.6z"})),ek||(ek=x.createElement("path",{className:"st8",d:"M92.8-38.5h3.5c0.2,0,0.3,0.1,0.3,0.3v3.5c0,0.2-0.1,0.3-0.3,0.3h-3.5c-0.2,0-0.3-0.1-0.3-0.3v-3.5 C92.5-38.4,92.6-38.5,92.8-38.5z"})),tk||(tk=x.createElement("path",{className:"st1",d:"M101.2-26.4c-2,1.3-4.3,2-6.8,2c-6.8,0-12.2-5.5-12.2-12.2c0-2,0.5-4,1.5-5.8l-0.5-0.1 c-0.9,1.8-1.4,3.8-1.4,5.8c0,7,5.7,12.7,12.7,12.7c2.6,0,5-0.8,7.1-2.2L101.2-26.4z"})),nk||(nk=x.createElement("path",{className:"st9",d:"M84-33.3l0.3-1.2l1.2-0.3l0.8,0.9L86-32.7l-1.2,0.3L84-33.3z"})),rk||(rk=x.createElement("path",{className:"st1",d:"M103.1-31.2c-0.4,0.6-0.8,1.2-1.3,1.7l0,0c-1.9,2-4.5,3.1-7.2,3.1c-3.9,0-7.3-2.2-9-5.6l0.5-0.1 c1.6,3.1,4.9,5.2,8.5,5.2c2.6,0,5-1,6.8-2.8l0,0c0.5-0.5,1-1.1,1.4-1.8c1-1.5,1.5-3.3,1.5-5.1c0-3.2-1.6-6.2-4.3-8l0.3-0.4 c2.8,1.9,4.5,5,4.5,8.4C104.6-34.7,104.1-32.9,103.1-31.2z"})),ok||(ok=x.createElement("path",{className:"st1",d:"M101.9-26.9c-2.1,1.6-4.7,2.5-7.4,2.5c-1.5,0-3-0.3-4.4-0.8l-0.2,0.5c1.5,0.6,3,0.8,4.6,0.8 c2.8,0,5.5-0.9,7.7-2.6L101.9-26.9z"})),ik||(ik=x.createElement("g",null,x.createElement("path",{d:"M214.3,147.5l-3.5,2c-0.2,0.1-0.2,0.4,0,0.5l4.6,2.7c0.1,0.1,0.3,0.1,0.4,0l2.8-1.6C216.9,150.4,215.3,149.1,214.3,147.5z"}),x.createElement("path",{d:"M222.3,152.8l-3.1,1.8c-0.1,0.1-0.1,0.2-0.1,0.3v3.6c0,0.2,0.2,0.2,0.3,0.2l3.1-1.8c0.1-0.1,0.1-0.2,0.1-0.3V153 C222.6,152.8,222.5,152.7,222.3,152.8z"}),x.createElement("path",{d:"M237.6,125.5l-11.1,6.4c-0.3,0.2-0.5,0.5-0.5,0.9v2.5c2.7,1.5,4.5,4.3,4.5,7.6c0,0.5-0.1,1-0.1,1.4l7.8-4.5 c0.3-0.2,0.5-0.5,0.5-0.9v-12.8C238.6,125.6,238,125.3,237.6,125.5z"}),x.createElement("path",{d:"M230.4,148.3c-0.1-0.1-0.3-0.1-0.4,0l-2,1.2c-0.2,0.1-0.2,0.4,0,0.5l2.1,1.2c0.1,0.1,0.3,0.1,0.4,0l2.1-1.2 c0.2-0.1,0.2-0.4,0-0.5L230.4,148.3z"}),x.createElement("path",{d:"M226.3,152.8c-0.2-0.1-0.4,0-0.4,0.2v2.4c0,0.1,0.1,0.3,0.2,0.3l2.1,1.2c0.2,0.1,0.4,0,0.4-0.2v-2.4c0-0.1-0.1-0.3-0.2-0.3 L226.3,152.8z"}))),ak||(ak=x.createElement("path",{className:"st0",d:"M223.9,66.4c-2.1,0-4,0.5-5.7,1.4l0.5,0.9c1.6-0.8,3.4-1.2,5.3-1.2c6.6,0,12,5.4,12,12c0,2.6-0.9,5.1-2.3,7 l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7C236.9,72.2,231,66.4,223.9,66.4z"})),sk||(sk=x.createElement("path",{className:"st14",d:"M228.7,85.9h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 c0-4.8,3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L228.7,85.9z M215.7,79.9c0,3.3,2.7,6,6,6s6-2.7,6-6c0-3.3-2.7-6-6-6 S215.7,76.6,215.7,79.9z"})),lk||(lk=x.createElement("path",{className:"st8",d:"M219.2,77.4h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C218.8,77.5,219,77.4,219.2,77.4z"})),ck||(ck=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M217.1,67.6l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C217,67.5,217.1,67.5,217.1,67.6z"}))),uk||(uk=x.createElement("path",{className:"st3",d:"M215.7,80.9"})),dk||(dk=x.createElement("path",{className:"st22",d:"M209.8,79.4l1.2-2h2.4l1.2,2l-1.2,2H211L209.8,79.4z"})),mk||(mk=x.createElement("g",null,x.createElement("path",{className:"st0",d:"M214.3,84.5l-3.5,2c-0.2,0.1-0.2,0.4,0,0.5l4.6,2.7c0.1,0.1,0.3,0.1,0.4,0l2.8-1.6 C216.9,87.4,215.3,86.1,214.3,84.5z"}),x.createElement("path",{className:"st0",d:"M222.3,89.8l-3.1,1.8c-0.1,0.1-0.1,0.2-0.1,0.3v3.6c0,0.2,0.2,0.2,0.3,0.2l3.1-1.8c0.1-0.1,0.1-0.2,0.1-0.3V90 C222.6,89.8,222.5,89.7,222.3,89.8z"}),x.createElement("path",{className:"st0",d:"M237.6,62.5l-11.1,6.4c-0.3,0.2-0.5,0.5-0.5,0.9v2.5c2.7,1.5,4.5,4.3,4.5,7.6c0,0.5-0.1,1-0.1,1.4l7.8-4.5 c0.3-0.2,0.5-0.5,0.5-0.9V63.1C238.6,62.6,238,62.2,237.6,62.5z"}),x.createElement("path",{className:"st0",d:"M230.4,85.3c-0.1-0.1-0.3-0.1-0.4,0l-2,1.2c-0.2,0.1-0.2,0.4,0,0.5l2.1,1.2c0.1,0.1,0.3,0.1,0.4,0l2.1-1.2 c0.2-0.1,0.2-0.4,0-0.5L230.4,85.3z"}),x.createElement("path",{className:"st0",d:"M226.3,89.8c-0.2-0.1-0.4,0-0.4,0.2v2.4c0,0.1,0.1,0.3,0.2,0.3l2.1,1.2c0.2,0.1,0.4,0,0.4-0.2v-2.4 c0-0.1-0.1-0.3-0.2-0.3L226.3,89.8z"}))),pk||(pk=x.createElement("path",{className:"st0",d:"M223.9,11c-2.1,0-4,0.5-5.7,1.4l0.5,0.9c1.6-0.8,3.4-1.2,5.3-1.2c6.6,0,12,5.4,12,12c0,2.6-0.9,5.1-2.3,7 l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7C236.9,16.8,231,11,223.9,11z"})),hk||(hk=x.createElement("path",{className:"st8",d:"M219.2,21.9h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C218.8,22.1,219,21.9,219.2,21.9z"})),fk||(fk=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M217.1,12.2l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C217,12.1,217.1,12.1,217.1,12.2z"}))),gk||(gk=x.createElement("path",{className:"st3",d:"M215.7,25.5"})),vk||(vk=x.createElement("g",null,x.createElement("path",{className:"st22",d:"M214.3,29l-3.5,2c-0.2,0.1-0.2,0.4,0,0.5l4.6,2.7c0.1,0.1,0.3,0.1,0.4,0l2.8-1.6 C216.9,31.9,215.3,30.7,214.3,29z"}),x.createElement("path",{className:"st22",d:"M222.3,34.3l-3.1,1.8c-0.1,0.1-0.1,0.2-0.1,0.3V40c0,0.2,0.2,0.2,0.3,0.2l3.1-1.8c0.1-0.1,0.1-0.2,0.1-0.3 v-3.6C222.6,34.4,222.5,34.3,222.3,34.3z"}),x.createElement("path",{className:"st22",d:"M237.6,7.1l-11.1,6.4c-0.3,0.2-0.5,0.5-0.5,0.9v2.5c2.7,1.5,4.5,4.3,4.5,7.6c0,0.5-0.1,1-0.1,1.4l7.8-4.5 c0.3-0.2,0.5-0.5,0.5-0.9V7.7C238.6,7.2,238,6.8,237.6,7.1z"}),x.createElement("path",{className:"st22",d:"M230.4,29.9c-0.1-0.1-0.3-0.1-0.4,0l-2.1,1.2c-0.2,0.1-0.2,0.4,0,0.5l2.1,1.2c0.1,0.1,0.3,0.1,0.4,0l2.1-1.2 c0.2-0.1,0.2-0.4,0-0.5L230.4,29.9z"}),x.createElement("path",{className:"st22",d:"M226.3,34.4c-0.2-0.1-0.4,0-0.4,0.2V37c0,0.1,0.1,0.3,0.2,0.3l2.1,1.2c0.2,0.1,0.4,0,0.4-0.2v-2.4 c0-0.1-0.1-0.3-0.2-0.3L226.3,34.4z"}))),yk||(yk=x.createElement("path",{className:"st1",d:"M223.9-48.4c-2.1,0-4,0.5-5.7,1.4l0.5,0.9c1.6-0.8,3.4-1.2,5.3-1.2c6.6,0,12,5.4,12,12c0,2.6-0.9,5.1-2.3,7 l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7C236.9-42.5,231-48.4,223.9-48.4z"})),xk||(xk=x.createElement("path",{className:"st5",d:"M228.7-28.8h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L228.7-28.8z M215.7-34.8c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S215.7-38.2,215.7-34.8z"})),bk||(bk=x.createElement("path",{className:"st8",d:"M219.2-37.4h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C218.8-37.2,219-37.4,219.2-37.4z"})),Ck||(Ck=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M217.1-47.1l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C217-47.2,217.1-47.2,217.1-47.1z"}))),Ik||(Ik=x.createElement("path",{className:"st3",d:"M215.7-33.8"})),Ek||(Ek=x.createElement("path",{className:"st22",d:"M209.8-35.3l1.2-2h2.4l1.2,2l-1.2,2H211L209.8-35.3z"})),_k||(_k=x.createElement("g",null,x.createElement("path",{className:"st22",d:"M214.3-30.3l-3.5,2c-0.2,0.1-0.2,0.4,0,0.5l4.6,2.7c0.1,0.1,0.3,0.1,0.4,0l2.8-1.6 C216.9-27.4,215.3-28.7,214.3-30.3z"}),x.createElement("path",{className:"st22",d:"M222.3-25l-3.1,1.8c-0.1,0.1-0.1,0.2-0.1,0.3v3.6c0,0.2,0.2,0.2,0.3,0.2l3.1-1.8c0.1-0.1,0.1-0.2,0.1-0.3 v-3.6C222.6-25,222.5-25.1,222.3-25z"}),x.createElement("path",{className:"st22",d:"M237.6-52.2l-11.1,6.4c-0.3,0.2-0.5,0.5-0.5,0.9v2.5c2.7,1.5,4.5,4.3,4.5,7.6c0,0.5-0.1,1-0.1,1.4l7.8-4.5 c0.3-0.2,0.5-0.5,0.5-0.9v-12.8C238.6-52.2,238-52.5,237.6-52.2z"}),x.createElement("path",{className:"st22",d:"M230.4-29.4c-0.1-0.1-0.3-0.1-0.4,0l-2.1,1.2c-0.2,0.1-0.2,0.4,0,0.5l2.1,1.2c0.1,0.1,0.3,0.1,0.4,0l2.1-1.2 c0.2-0.1,0.2-0.4,0-0.5L230.4-29.4z"}),x.createElement("path",{className:"st22",d:"M226.3-24.9c-0.2-0.1-0.4,0-0.4,0.2v2.4c0,0.1,0.1,0.3,0.2,0.3l2.1,1.2c0.2,0.1,0.4,0,0.4-0.2v-2.4 c0-0.1-0.1-0.3-0.2-0.3L226.3-24.9z"}))),Ak||(Ak=x.createElement("path",{className:"st1",d:"M283.1-50.4c-2.1,0-4,0.5-5.7,1.4l0.5,0.9c1.6-0.8,3.4-1.2,5.3-1.2c6.6,0,12,5.4,12,12c0,2.6-0.9,5.1-2.3,7 l0.7,0.7c1.6-2.2,2.6-4.8,2.6-7.7C296.1-44.5,290.3-50.4,283.1-50.4z"})),wk||(wk=x.createElement("g",null,x.createElement("path",{className:"st22",d:"M285.5-26.9c-0.2-0.1-0.4,0-0.4,0.2v2.4c0,0.1,0.1,0.3,0.2,0.3l2.1,1.2c0.2,0.1,0.4,0,0.4-0.2v-2.4 c0-0.1-0.1-0.3-0.2-0.3L285.5-26.9z"}),x.createElement("path",{className:"st22",d:"M289.6-31.4c-0.1-0.1-0.3-0.1-0.4,0l-2.1,1.2c-0.2,0.1-0.2,0.4,0,0.5l2.1,1.2c0.1,0.1,0.3,0.1,0.4,0l2.1-1.2 c0.2-0.1,0.2-0.4,0-0.5L289.6-31.4z"}),x.createElement("path",{className:"st22",d:"M281.6-27l-3.1,1.8c-0.1,0.1-0.1,0.2-0.1,0.3v3.6c0,0.2,0.2,0.2,0.3,0.2l3.1-1.8c0.1-0.1,0.1-0.2,0.1-0.3 v-3.6C281.8-27,281.7-27.1,281.6-27z"}),x.createElement("path",{className:"st22",d:"M273.6-32.3l-3.6,2.1c-0.2,0.1-0.2,0.4,0,0.5l4.6,2.7c0.1,0.1,0.3,0.1,0.4,0l2.9-1.7 C276.2-29.5,274.7-30.7,273.6-32.3z"}),x.createElement("path",{className:"st22",d:"M296.8-54.2l-11.1,6.4c-0.3,0.2-0.5,0.5-0.5,0.9v1.8c3,1.5,5,4.5,5,8c0,0.5,0,0.9-0.1,1.4l7.3-4.2 c0.3-0.2,0.5-0.5,0.5-0.9v-12.8C297.8-54.2,297.2-54.5,296.8-54.2z"}))),Sk||(Sk=x.createElement("path",{className:"st5",d:"M287.9-30.8h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L287.9-30.8z M275-36.8c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 C277.6-42.8,275-40.2,275-36.8z"})),kk||(kk=x.createElement("path",{className:"st8",d:"M278.5-39.4h5c0.2,0,0.4,0.2,0.4,0.4v5c0,0.2-0.2,0.4-0.4,0.4h-5c-0.2,0-0.4-0.2-0.4-0.4v-5 C278.1-39.2,278.2-39.4,278.5-39.4z"})),jk||(jk=x.createElement("g",null,x.createElement("path",{className:"st6",d:"M276.4-49.1l1.1,2.2c0,0.1,0,0.2-0.1,0.1l-2.4-0.4c-0.1,0-0.1-0.1-0.1-0.2l1.3-1.7 C276.2-49.2,276.3-49.2,276.4-49.1z"}))),Nk||(Nk=x.createElement("path",{className:"st3",d:"M274.9-35.8"})),Tk||(Tk=x.createElement("path",{className:"st22",d:"M269-37.3l1.2-2h2.4l1.2,2l-1.2,2h-2.4L269-37.3z"})),Pk||(Pk=x.createElement("path",{className:"st14",d:"M228.7,30.5h1.1l6.6,6.7l-2,2l-6.7-6.6v-1.1l-0.4-0.4c-1.5,1.3-3.5,2.1-5.6,2.1c-4.8,0-8.7-3.9-8.7-8.7 s3.9-8.7,8.7-8.7s8.7,3.9,8.7,8.7c0,2.1-0.8,4.1-2.1,5.6L228.7,30.5z M215.7,24.5c0,3.3,2.7,6,6,6s6-2.7,6-6s-2.7-6-6-6 S215.7,21.2,215.7,24.5z"})),Ok||(Ok=x.createElement("path",{className:"st22",d:"M209.8,24l1.2-2h2.4l1.2,2l-1.2,2H211L209.8,24z"})))},zk=r.forwardRef(Rk),Fk=["title","titleId"];function Hk(){return Hk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hk.apply(null,arguments)}var qk,Uk,Gk=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Fk);return x.createElement("svg",Hk({width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Bk||(Bk=x.createElement("path",{d:"M12.5 0C5.6 0 0 5.6 0 12.5C0 14.8 0.6 16.9 1.6 18.7C0.8 17.2 0.4 15.4 0.4 13.5C0.4 7.4 5.1 2.4 10.9 2.4C16.7 2.4 21.4 7.4 21.4 13.5C21.4 19.6 16.7 24.6 10.9 24.6C10.1 24.6 9.2 24.5 8.4 24.3C9.7 24.7 11 25 12.5 25C19.4 25 25 19.4 25 12.5C25 5.6 19.4 0 12.5 0Z",fill:"#FCB021"})),Dk||(Dk=x.createElement("path",{d:"M13.9 18.1C15.6 18.1 16.8 17.5 18 16.3L20 18.1C18.6 19.8 16.6 20.9 13.8 20.9C9.4 20.9 6 17.7 6 13C6 8.60001 9.1 5.10001 13.4 5.10001C18.2 5.10001 20.7 8.90001 20.7 13.3C20.7 13.6 20.7 13.9 20.6 14.2H9.5C10 16.7 11.7 18.1 13.9 18.1ZM17.3 11.9C17.1 9.70001 15.8 7.90001 13.5 7.90001C11.4 7.90001 9.9 9.50001 9.6 11.9H17.3Z",fill:"#094D90"})))},Wk=r.forwardRef(Gk),Qk=["title","titleId"];function Yk(){return Yk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yk.apply(null,arguments)}var Vk,Zk=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Qk);return x.createElement("svg",Yk({width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,qk||(qk=x.createElement("g",{clipPath:"url(#clip0)"},x.createElement("path",{d:"M24.7 11.5L17.5 3.29999V8.79999L20.6 12.3L17.5 15.8V21.3L24.7 13.1C25.1 12.6 25.1 11.9 24.7 11.5Z",fill:"url(#paint0_linear)"}),x.createElement("path",{d:"M0.3 13.1L7.5 21.3V15.8L4.4 12.3L7.5 8.79999V3.29999L0.3 11.5C-0.1 11.9 -0.1 12.6 0.3 13.1Z",fill:"url(#paint1_linear)"}),x.createElement("path",{d:"M7.89999 3.29999V8.79999L10.1 11.9L12.1 9.19999L7.89999 3.29999Z",fill:"#990025"}),x.createElement("path",{d:"M17.1 15.8V21.3L12.8 15.5L14.8 12.8L17.1 15.8Z",fill:"#990025"}),x.createElement("path",{d:"M17.1 3.29999L7.89999 15.8V21.3L17 8.69999V3.29999H17.1Z",fill:"#FF1243"}))),Uk||(Uk=x.createElement("defs",null,x.createElement("linearGradient",{id:"paint0_linear",x1:19.7013,y1:16.7519,x2:19.9272,y2:7.93807,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{offset:.5083,stopColor:"#DC002E"}),x.createElement("stop",{offset:.5084,stopColor:"#FF1243"})),x.createElement("linearGradient",{id:"paint1_linear",x1:5.27325,y1:7.82458,x2:5.04731,y2:16.6388,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{offset:.5083,stopColor:"#DC002E"}),x.createElement("stop",{offset:.5084,stopColor:"#FF1243"})),x.createElement("clipPath",{id:"clip0"},x.createElement("rect",{width:25,height:25,fill:"white"})))))},Kk=r.forwardRef(Zk),Jk=["title","titleId"];function Xk(){return Xk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xk.apply(null,arguments)}var $k,ej,tj,nj,rj,oj=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Jk);return x.createElement("svg",Xk({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:25,height:25,viewBox:"0 0 25 25",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Vk||(Vk=x.createElement("g",{transform:"matrix(1.333333 0 0 1.333333 0 0)"},x.createElement("image",{x:0,y:0,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAGqwSURBVHhe7b0HmBzFtb5v/3yNAxjwvf4DxuHaOMfrgMEITLJB5JxB5JwxwSaKDCYHkxEmCJGDAJFzzhlERiCERLZAQibY519v1dSq1Vs9Oyvt7nRPf3qe99Hu7ExPd1d1ne+cOnXqM/b2P00IIYQQ9UICQAghhKghEgBCCCFEDZEAEEIIIWqIBIAQQghRQyQAhBBCiBoiASCEEELUEAkAIYQQooZIAAghhBA1RAJACCGEqCESAEIIIUQNkQAQQgghaogEgBBCCFFDJACEEEKIGiIBIIQQQtQQCQAhhBCihkgACCGEEDVEAkAIIYSoIRIAQgghRA2RABBCCCFqiASAEEIIUUMkAIQQQogaIgEghBBC1BAJACGEEKKGSAAIIYQQNUQCQAghhKghEgBCCCFEDZEAEEIIIWqIBIAQQghRQyQAhBBCiBoiASCEEELUEAkAIYQQooZIAAghh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UMkAIQQQogaIgEghBBC1BAJACGEEKKGSAAIIYQQNUQCQAghhKghEgBCCCFEDZEAEEIIIWqIBIAQQghRQyQAhBBCiBoiASCEEELUEAkAIYQQooZIAAghhBA1RAJACCGEqCESAEIIIUQNkQAQQgghaogEgBBCCFFDJACEEEKIGiIBIIQQQtQQCQAhhBCihkgACCGEEDVEAkAIIYSoIRIAQgghRA2RABBCCCFqiASAEEIIUUMkAIQQQogaIgEghBBC1BAJACGEEKKGSAAIIYQQteOf9v8DRFS2YYkP224AAAAASUVORK5CYII=",width:19,height:19}))))},ij=r.forwardRef(oj),aj=["title","titleId"];function sj(){return sj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sj.apply(null,arguments)}var lj,cj,uj=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,aj);return x.createElement("svg",sj({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,$k||($k=x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.6849 10.145L22.8549 11.315C23.0499 11.51 23.0499 11.825 22.8549 12.02L21.9399 12.935L20.0649 11.06L20.9799 10.145C21.0749 10.05 21.1999 10 21.3299 10C21.4599 10 21.5849 10.045 21.6849 10.145ZM14 17.125V19H15.875L21.405 13.47L19.53 11.595L14 17.125ZM15.46 18H15V17.54L19.53 13.01L19.99 13.47L15.46 18Z",fill:"#007079"})),ej||(ej=x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.82 4H18C19.1 4 20 4.9 20 6V9.91591L18 11.9162V6H4V20H18V18L20 16V16.5V20C20 21.1 19.1 22 18 22H4C3.86 22 3.73 21.99 3.6 21.97C3.21 21.89 2.86 21.69 2.59 21.42C2.41 21.23 2.26 21.02 2.16 20.78C2.06 20.54 2 20.27 2 20V6C2 5.72 2.06 5.46 2.16 5.23C2.26 4.99 2.41 4.77 2.59 4.59C2.86 4.32 3.21 4.12 3.6 4.04C3.73 4.01 3.86 4 4 4H8.18C8.6 2.84 9.7 2 11 2C12.3 2 13.4 2.84 13.82 4ZM16 13.9164L15.9164 14H9V12H16V13.9164ZM11 3.75C11.41 3.75 11.75 4.09 11.75 4.5C11.75 4.91 11.41 5.25 11 5.25C10.59 5.25 10.25 4.91 10.25 4.5C10.25 4.09 10.59 3.75 11 3.75ZM16 8H9V10H16V8ZM9 16H12V18H9V16Z",fill:"#007079"})),tj||(tj=x.createElement("path",{d:"M6 8H8V10H6V8Z",fill:"#007079"})),nj||(nj=x.createElement("path",{d:"M6 12H8V14H6V12Z",fill:"#007079"})),rj||(rj=x.createElement("path",{d:"M6 16H8V18H6V16Z",fill:"#007079"})))},dj=r.forwardRef(uj),mj=["title","titleId"];function pj(){return pj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pj.apply(null,arguments)}var hj,fj,gj,vj,yj=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,mj);return x.createElement("svg",pj({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,lj||(lj=x.createElement("path",{d:"M18 11.111C18.0003 10.9613 17.9612 10.814 17.8863 10.6828C17.8114 10.5517 17.7032 10.4409 17.5718 10.361L7.41794 4.13871C7.27843 4.05315 7.11761 4.00529 6.9523 4.00013C6.78699 3.99497 6.62328 4.03271 6.47832 4.10939C6.33336 4.18607 6.21247 4.29888 6.12832 4.43599C6.04417 4.57311 5.99985 4.72948 6 4.88875V6.66654C5.99977 6.81291 6.03719 6.95706 6.10892 7.08611C6.18064 7.21516 6.28444 7.3251 6.41105 7.4061L13.5667 11.9999H18V11.111Z",fill:"#FF1243"})),cj||(cj=x.createElement("path",{d:"M13.5664 11.9999L6.41197 16.5937C6.28512 16.6746 6.1811 16.7846 6.1092 16.9137C6.03731 17.0429 5.99979 17.1872 6 17.3337V19.1115C5.9999 19.2708 6.04425 19.4271 6.12841 19.5642C6.21258 19.7013 6.33346 19.8141 6.47841 19.8907C6.62336 19.9674 6.78705 20.0051 6.95233 20C7.11762 19.9949 7.27843 19.947 7.41794 19.8615L17.5718 13.6392C17.7032 13.5593 17.8114 13.4485 17.8863 13.3174C17.9611 13.1862 18.0003 13.0389 18 12.8893V12.0004L13.5664 11.9999Z",fill:"#990025"})))},xj=r.forwardRef(yj),bj=["title","titleId"];function Cj(){return Cj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cj.apply(null,arguments)}var Ij,Ej=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,bj);return x.createElement("svg",Cj({xmlns:"http://www.w3.org/2000/svg",width:92,height:45,viewBox:"0 0 92 45",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,hj||(hj=x.createElement("linearGradient",{id:"a",gradientUnits:"userSpaceOnUse",x1:45.483,x2:45.483,y2:45.001},x.createElement("stop",{offset:0,stopColor:"#00AEEF"}),x.createElement("stop",{offset:.212,stopColor:"#0097DC"}),x.createElement("stop",{offset:.519,stopColor:"#007CC5"}),x.createElement("stop",{offset:.792,stopColor:"#006CB8"}),x.createElement("stop",{offset:1,stopColor:"#0066B3"}))),fj||(fj=x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"url(#a)",d:"M0 45h45.974L90.966 0H0v45"})),gj||(gj=x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",d:"M53.984 9H45l.03 21.13-7.823-21.137H29.45l-6.678 17.653c-.71-4.492-5.354-6.042-9.008-7.203-2.413-.775-4.974-1.915-4.948-3.175.02-1.034 1.37-1.993 4.053-1.85 1.8.097 3.39.242 6.553 1.77l3.11-5.42C19.648 9.3 15.66 8.373 12.39 8.37h-.02c-3.813 0-6.988 1.235-8.956 3.27-1.372 1.42-2.112 3.226-2.142 5.223-.05 2.748.957 4.696 3.073 6.253 1.788 1.31 4.075 2.16 6.09 2.784 2.485.77 4.515 1.44 4.49 2.866-.02.52-.216 1.006-.59 1.398-.62.64-1.57.88-2.885.906-2.537.054-4.417-.345-7.413-2.116L1.27 34.444C4.263 36.146 7.44 37 11.05 37l.812-.006c3.142-.057 5.692-.81 7.718-2.44.116-.093.22-.187.328-.282l-.34 1.752 7.58-.024 1.36-3.482c1.43.488 3.056.758 4.782.758 1.682 0 3.264-.256 4.667-.716l.948 3.44 13.6.013.033-7.938h2.894c6.995 0 11.13-3.56 11.13-9.53C66.56 11.896 62.54 9 53.984 9zM33.29 27.062c-1.045 0-2.025-.182-2.868-.502l2.836-8.955h.055l2.79 8.98c-.84.3-1.797.477-2.814.477zm21.22-5.145h-1.974V14.7h1.975c2.63 0 4.73.876 4.73 3.562-.002 2.78-2.1 3.655-4.73 3.655"})),vj||(vj=x.createElement("path",{fill:"none",d:"M0 0h92v45H0z"})))},_j=r.forwardRef(Ej),Aj=["title","titleId"];function wj(){return wj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wj.apply(null,arguments)}var Sj,kj,jj=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Aj);return x.createElement("svg",wj({width:24,height:9,viewBox:"0 0 24 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Ij||(Ij=x.createElement("path",{d:"M1.43358 8.40981C0.909738 8.21857 0.439509 7.90427 0.062479 7.49338C0.020403 7.44396 -0.00175912 7.38065 0.000316593 7.31578C-0.00262804 7.25937 0.0150472 7.20382 0.0500454 7.15948L0.661003 6.37447C0.678513 6.34691 0.702272 6.32387 0.730352 6.3072C0.758432 6.29054 0.790043 6.28073 0.822623 6.27856C0.853119 6.27895 0.883206 6.28562 0.911013 6.29815C0.938819 6.31068 0.96375 6.32879 0.984243 6.35138C1.31258 6.64166 1.68255 6.88113 2.08183 7.0618C2.46729 7.22895 2.88363 7.31307 3.30375 7.30867C3.66779 7.33173 4.02876 7.22957 4.32674 7.01917C4.43938 6.93298 4.53021 6.82154 4.59191 6.69383C4.6536 6.56612 4.68444 6.4257 4.68195 6.28389C4.69084 6.08311 4.63136 5.88526 4.51323 5.72267C4.37435 5.55362 4.19462 5.4228 3.99107 5.3426C3.65732 5.20709 3.3135 5.09783 2.96275 5.0158C2.48494 4.89686 2.01936 4.73334 1.57211 4.52739C1.20548 4.35532 0.887927 4.09395 0.648569 3.76725C0.398572 3.39563 0.274096 2.95374 0.293362 2.50626C0.285874 2.03966 0.427759 1.58289 0.698298 1.20265C0.977641 0.813322 1.35682 0.506542 1.79589 0.314633C2.27643 0.101034 2.79745 -0.00619734 3.32328 0.000276622C4.36286 0.000276622 5.21062 0.296283 5.86657 0.888295C5.89094 0.907451 5.91121 0.931317 5.92616 0.958474C5.94111 0.985631 5.95044 1.01552 5.95359 1.04636C5.94781 1.10322 5.92628 1.15735 5.89143 1.20265L5.31777 1.99832C5.30373 2.02631 5.28253 2.05009 5.25633 2.06724C5.23013 2.08439 5.19986 2.09432 5.16859 2.096C5.10324 2.09084 5.04114 2.06538 4.99098 2.02318C4.53354 1.62197 3.94025 1.41044 3.33216 1.43176C2.96732 1.40945 2.60545 1.50944 2.30384 1.71592C2.19011 1.79621 2.09734 1.90265 2.03336 2.02629C1.96937 2.14992 1.93605 2.28713 1.9362 2.42634C1.92722 2.62839 1.99875 2.82576 2.13511 2.97514C2.28233 3.12538 2.46137 3.24069 2.65904 3.31259C2.95217 3.42144 3.25169 3.51219 3.55594 3.58432C4.07417 3.71611 4.57943 3.89444 5.06557 4.11713C5.43124 4.28791 5.74502 4.55267 5.9749 4.88438C6.21725 5.2719 6.33502 5.72438 6.31236 6.18088C6.31647 6.63037 6.19796 7.07247 5.96958 7.45963C5.72542 7.86023 5.36998 8.18112 4.94658 8.38317C4.43487 8.62538 3.87322 8.74343 3.3073 8.72772C2.66832 8.74011 2.03271 8.63227 1.43358 8.40981V8.40981ZM9.01371 8.53413V1.48326H6.99258C6.96029 1.48562 6.92787 1.48133 6.89732 1.47063C6.86677 1.45994 6.83874 1.44308 6.81497 1.42111C6.79426 1.39938 6.77809 1.37373 6.76742 1.34568C6.75674 1.31762 6.75178 1.28771 6.75281 1.25771V0.236487C6.75178 0.206486 6.75674 0.176578 6.76742 0.14852C6.77809 0.120463 6.79426 0.0948179 6.81497 0.0730894C6.83874 0.0511121 6.86677 0.0342543 6.89732 0.0235611C6.92787 0.0128679 6.96029 0.00857191 6.99258 0.0109324H12.6279C12.6602 0.00888361 12.6925 0.013328 12.723 0.0240055C12.7536 0.0346831 12.7816 0.0513722 12.8055 0.0730894C12.8263 0.0948179 12.8424 0.120463 12.8531 0.14852C12.8638 0.176578 12.8687 0.206486 12.8677 0.236487V1.25238C12.8687 1.28238 12.8638 1.31229 12.8531 1.34035C12.8424 1.36841 12.8263 1.39405 12.8055 1.41578C12.7816 1.4375 12.7536 1.45419 12.723 1.46486C12.6925 1.47554 12.6602 1.47998 12.6279 1.47794H10.6086V8.53413C10.6086 8.6851 10.534 8.75969 10.3848 8.74548H9.23749C9.0883 8.76147 9.01371 8.68687 9.01371 8.53413V8.53413ZM13.7149 8.68154C13.6939 8.66039 13.6775 8.6351 13.6668 8.60727C13.6561 8.57945 13.6513 8.54971 13.6527 8.51993V0.71957C13.649 0.661239 13.6655 0.603418 13.6995 0.555857C13.7335 0.508296 13.7828 0.473906 13.8392 0.458492C13.8392 0.458492 14.7024 0.1246 14.9972 0.0340218C15.0299 0.0240679 15.0631 0.0157666 15.0966 0.00915464C15.2032 -0.00327762 15.26 0.0766449 15.26 0.209848V8.51637C15.26 8.66556 15.1854 8.72772 15.0363 8.74016H13.8889C13.8263 8.73905 13.7655 8.71857 13.7149 8.68154V8.68154ZM16.9189 8.68687C16.8978 8.66538 16.8814 8.63978 16.8707 8.61166C16.86 8.58355 16.8552 8.55353 16.8567 8.52348V0.236487C16.8552 0.20644 16.86 0.176414 16.8707 0.148298C16.8814 0.120181 16.8978 0.094577 16.9189 0.0730894C16.9426 0.0511121 16.9706 0.0342543 17.0012 0.0235611C17.0317 0.0128679 17.0642 0.00857191 17.0965 0.0109324H19.9648C20.6903 0.00243647 21.4053 0.185617 22.0374 0.541966C22.6529 0.899287 23.1524 1.42651 23.476 2.06048C23.821 2.78945 24 3.58591 24 4.39241C24 5.19892 23.821 5.99538 23.476 6.72435C23.1516 7.35497 22.6521 7.87855 22.0374 8.23221C21.4036 8.58669 20.6873 8.76743 19.9612 8.75614H17.0929C17.0607 8.75707 17.0286 8.75141 16.9987 8.7395C16.9688 8.72759 16.9416 8.70968 16.9189 8.68687V8.68687ZM19.8493 7.2767C20.1862 7.29011 20.5221 7.23269 20.8353 7.10818C21.1486 6.98367 21.4322 6.79483 21.668 6.55385C22.1345 6.07196 22.3677 5.34911 22.3677 4.38531C22.3677 3.42152 22.1345 2.69808 21.668 2.215C21.432 1.97429 21.1483 1.78562 20.8351 1.66113C20.5219 1.53664 20.1861 1.47908 19.8493 1.49215H18.464V7.2767H19.8493Z",fill:"#FF0000"})))},Nj=r.forwardRef(jj),Tj=["title","titleId"];function Pj(){return Pj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pj.apply(null,arguments)}var Oj,Mj,Lj,Bj,Dj=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Tj);return x.createElement("svg",Pj({width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Sj||(Sj=x.createElement("g",{clipPath:"url(#clip0)"},x.createElement("path",{d:"M11.6179 1.64642V5.60362H8.56446V21.4202H3.42255V5.60362H0.381365V1.64642H11.6179ZM12.7904 1.64642H16.43C18.8564 1.64642 20.4971 1.74006 21.3521 1.92733C22.2152 2.11461 22.9154 2.59501 23.4528 3.36853C23.9983 4.13392 24.2711 5.35935 24.2711 7.04482C24.2711 8.58373 24.0798 9.61781 23.6971 10.1471C23.3144 10.6763 22.5612 10.9939 21.4376 11.0997C22.4554 11.3521 23.1393 11.69 23.4894 12.1135C23.8396 12.5369 24.0553 12.9277 24.1368 13.286C24.2263 13.6361 24.2711 14.6091 24.2711 16.205V21.4202H19.4956V14.8493C19.4956 13.7908 19.4101 13.1353 19.2391 12.8829C19.0763 12.6305 18.6407 12.5043 17.9323 12.5043V21.4202H12.7904V1.64642ZM17.9323 5.02958V9.42647C18.5104 9.42647 18.9134 9.34911 19.1414 9.19441C19.3775 9.03156 19.4956 8.51452 19.4956 7.64329V6.55628C19.4956 5.92931 19.3816 5.51812 19.1536 5.32271C18.9338 5.12729 18.5267 5.02958 17.9323 5.02958Z",fill:"#285684"}))),kj||(kj=x.createElement("defs",null,x.createElement("clipPath",{id:"clip0"},x.createElement("rect",{width:25,height:25,fill:"white"})))))},Rj=r.forwardRef(Dj),zj=["title","titleId"];function Fj(){return Fj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fj.apply(null,arguments)}var Hj,qj,Uj,Gj,Wj,Qj,Yj=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,zj);return x.createElement("svg",Fj({id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 123.85 120.33",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Oj||(Oj=x.createElement("defs",null,x.createElement("style",null,"\n .cls-1 {\n fill: #007079;\n opacity: .95;\n }\n\n .cls-2 {\n letter-spacing: -.1em;\n }\n\n .cls-3 {\n letter-spacing: -.02em;\n }\n\n .cls-4 {\n fill: #f7f7f7;\n font-family: Lato-Regular, Lato;\n font-size: 31.5px;\n }\n\n .cls-5 {\n fill: none;\n stroke: #fff;\n stroke-miterlimit: 10;\n stroke-width: 2px;\n }\n "))),Mj||(Mj=x.createElement("rect",{className:"cls-1",x:1.58,y:.24,width:120.55,height:120.09})),Lj||(Lj=x.createElement("text",{className:"cls-4",transform:"translate(2.83 86.25)"},x.createElement("tspan",{className:"cls-2",x:0,y:0},"T"),x.createElement("tspan",{className:"cls-3",x:15.53,y:0},"rending"))),Bj||(Bj=x.createElement("path",{className:"cls-5",d:"M.69,53.9c2.1-1.98,9.26-6.45,10.96-5.11,1.41,1.11,2.65,2.13,4.13,3.04,2.79,1.73,6-.65,8.6-2.16,2.67-1.56,5.44,.88,6.82,3.66,.41,.82,.97,1.75,2,1.89,1.54,.22,2.43-1.4,2.91-2.67s1.86-2.77,3.23-2.12c.91,.43,1.17,1.65,2.19,1.81,.97,.15,1.64-.77,2.02-1.54,1.35-2.74,2.71-5.49,4.06-8.23,.38-.77,1.19-1.7,2.09-1.35,.42,.17,.63,.57,.81,.94,1.07,2.29,2.14,4.58,3.22,6.87,.51,1.08,1.04,2.2,2.02,3.02,.98,.82,2.52,1.27,3.75,.76,1.42-.59,1.85-2.13,2.02-3.47,.43-3.32,.43-6.93,2.84-9.57,.23-.25,.53-.51,.91-.53,.43-.01,.77,.29,1,.6,.86,1.14,1.03,2.54,1.49,3.83,.46,1.29,1.42,2.64,2.98,2.9,2.35,.41,4.16-1.86,4.53-3.88,.34-1.83,.57-1.19,1.65-2.3,.23-.24,.61-.3,.9-.12,1.02,.62,1.01,1.35,1.21,3.43,.1,1.1,.1,2.24,.54,3.28s1.47,2,2.77,2.07c2.44,.14,3.56-2.5,3.9-4.56,.32-1.93,.64-3.85,.95-5.78,.11-.69,.39-1.53,1.19-1.66,.74-.12,1.36,.48,1.71,1.05,1.5,2.47,1.35,5.63,3.51,7.71,.48,.46,1.1,.86,1.82,.92,1.94,.16,2.84-1.98,3.07-3.63,.51-3.64,2.24-3,2.6,.95,.04,.44,.17,.97,.66,1.09,.28,.07,.58-.03,.83-.15,3.29-1.56,2.77-5.6,3.54-8.74,.71-2.88,2.81-5.35,4.44-7.95C115.71,20.01,122.56,1.52,122.88,.24"})))},Vj=r.forwardRef(Yj),Zj=["title","titleId"];function Kj(){return Kj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kj.apply(null,arguments)}var Jj,Xj,$j,eN=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Zj);return x.createElement("svg",Kj({width:64,height:64,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Hj||(Hj=x.createElement("path",{d:"M16 0C24.8365 0 32 7.16344 32 16L32 36H0V16C0 7.16344 7.16344 0 16 0Z",fill:"url(#paint0_linear_5655_147842)"})),qj||(qj=x.createElement("path",{d:"M48 0C39.1635 0 32 7.16344 32 16L32 36H64V16C64 7.16344 56.8366 0 48 0Z",fill:"url(#paint1_linear_5655_147842)"})),Uj||(Uj=x.createElement("path",{d:"M48 26C48 17.1634 40.8365 10 32 10C23.1634 10 16 17.1634 16 26C16 34.8366 23.1634 42 32 42C40.8365 42 48 34.8366 48 26Z",fill:"url(#paint2_linear_5655_147842)"})),Gj||(Gj=x.createElement("path",{d:"M64 15.9998C64 15.8951 63.999 15.7907 63.997 15.6865H63.9857C63.5971 25.0104 55.3287 32.5199 45 32.9777V32.9998C36.1634 32.9998 29 39.9394 29 48.4998C29 57.0602 36.1634 63.9998 45 63.9998L45.0958 63.9995C61.012 63.9369 64 48.2769 64 40.9998V15.9998Z",fill:"url(#paint3_linear_5655_147842)"})),Wj||(Wj=x.createElement("path",{d:"M0 40.9998C0 48.2769 2.98802 63.9369 18.9042 63.9995L19 63.9998C27.8366 63.9998 35 57.0602 35 48.4998C35 39.9394 27.8366 32.9998 19 32.9998V32.9777C8.6713 32.5199 0.402893 25.0104 0.0142874 15.6865H0.00300489C0.00100467 15.7907 0 15.8951 0 15.9998V40.9998Z",fill:"url(#paint4_linear_5655_147842)"})),Qj||(Qj=x.createElement("defs",null,x.createElement("linearGradient",{id:"paint0_linear_5655_147842",x1:6,y1:31.3333,x2:13.046,y2:-2.05664,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{stopColor:"#053377"}),x.createElement("stop",{offset:1,stopColor:"#2F91F2"})),x.createElement("linearGradient",{id:"paint1_linear_5655_147842",x1:53.361,y1:4.95462,x2:37.3333,y2:29,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{stopColor:"#4AC1FF"}),x.createElement("stop",{offset:.926632,stopColor:"#155EB5"})),x.createElement("linearGradient",{id:"paint2_linear_5655_147842",x1:27.6667,y1:14.3333,x2:43.3333,y2:45.3333,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{stopColor:"#96DFFF"}),x.createElement("stop",{offset:.413439,stopColor:"#53ADEE"}),x.createElement("stop",{offset:1,stopColor:"#006BB9"})),x.createElement("linearGradient",{id:"paint3_linear_5655_147842",x1:40.2264,y1:38.8504,x2:57.1203,y2:66.9453,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{offset:.0799194,stopColor:"#4AC1FF"}),x.createElement("stop",{offset:1,stopColor:"#155EB5"})),x.createElement("linearGradient",{id:"paint4_linear_5655_147842",x1:6.64196,y1:27.7693,x2:22.512,y2:65.9607,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{stopColor:"#2F91F2"}),x.createElement("stop",{offset:1,stopColor:"#053377"})))))},tN=r.forwardRef(eN),nN=["title","titleId"];function rN(){return rN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rN.apply(null,arguments)}var oN=function(e,t){var n=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,nN);return x.createElement("svg",rN({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},o),n?x.createElement("title",{id:r},n):null,Jj||(Jj=x.createElement("path",{d:"M11.6018 9.755L8.93179 7.095V5.675L5.91179 2.655L3.08179 5.485L6.11179 8.515H7.52179L10.1818 11.175L11.6018 9.755Z",fill:"#007079"})),Xj||(Xj=x.createElement("path",{d:"M21.5116 17.555L16.2116 12.255H15.2116L12.6716 14.795V15.795L17.9716 21.095C18.159 21.2813 18.4124 21.3858 18.6766 21.3858C18.9408 21.3858 19.1943 21.2813 19.3816 21.095L21.5116 18.945C21.6919 18.7585 21.7926 18.5093 21.7926 18.25C21.7926 17.9907 21.6919 17.7415 21.5116 17.555V17.555ZM18.6816 18.945L14.4416 14.705L15.1516 13.995L19.3916 18.235L18.6816 18.945Z",fill:"#007079"})),$j||($j=x.createElement("path",{d:"M9.12183 16.495L16.0618 9.495C16.4418 9.63997 16.8451 9.71452 17.2518 9.715C17.8656 9.72198 18.4707 9.56878 19.0072 9.27051C19.5437 8.97224 19.9932 8.53922 20.3112 8.01419C20.6293 7.48916 20.8049 6.89026 20.8208 6.27662C20.8367 5.66297 20.6923 5.05579 20.4018 4.515L17.6418 7.315L16.1218 5.795L18.8818 3.045C18.3814 2.77296 17.8215 2.62869 17.2518 2.625C16.305 2.625 15.397 3.00112 14.7275 3.67063C14.058 4.34013 13.6818 5.24818 13.6818 6.195C13.6841 6.59743 13.7551 6.99651 13.8918 7.375L12.0018 9.265L9.85183 11.425L7.00183 14.315C6.32795 14.0725 5.5965 14.0396 4.90354 14.2204C4.21058 14.4013 3.58853 14.7875 3.11908 15.3283C2.64963 15.8692 2.35473 16.5394 2.27313 17.2509C2.19152 17.9624 2.32702 18.6819 2.66183 19.315L5.42183 16.565L6.94183 18.085L4.13183 20.825C4.63543 21.0982 5.19887 21.2425 5.77183 21.245C6.71784 21.2424 7.62435 20.8654 8.29328 20.1965C8.96222 19.5275 9.33919 18.621 9.34183 17.675C9.33739 17.2719 9.26295 16.8726 9.12183 16.495V16.495Z",fill:"#007079"})))},iN=r.forwardRef(oN),aN="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAApsAAAFwCAMAAADAJ0CKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAANlBMVEUAAAD///////////////////////////////////////////////////////////////8AAADx3eDuAAAAEHRSTlMAMEBQgGAQkMDw0LBwoOAgjOMjiQAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxIAAAsSAdLdfvwAACCsSURBVHja7Z3pets6DES9KN6XvP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j6YwmM41NrF2+gvRCbI5+Z2BUdAknM49NSEXyqMB6ITbHmFJ9B5DMdoERkHAeHdiEit89JN6XYnO0Ne/ugie2P4epRop5dGATUpHSPsjviM1R8Dx5JouOKUsmPo8eJSfAZuSgIL0im6NdnfA03qFltB1iHq/OkNMsNmDbJgY1sdtyx3V9O3KzmftzKpizvZYRrq76s6gPST7mbC9sq8G4fu6PQ0Bt5my/1K7r4agRly7HYU29gH222R7aaj1euIYhetmdh/W8Ws4WbasR0mE4fruJ7fN+tuP472+rmcnZftp/I7OW/TzSPt8AAAAASUVORK5CYII=";const sN=()=>c.jsxs("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"-29 -170 900 900",style:{background:"new -29 -170 900 900"},xmlSpace:"preserve",children:[c.jsx("style",{type:"text/css",children:"\n\t\t.st0{fill:#421E6D;}\n\t\t.st1{fill:none;enable-background:new ;}"}),c.jsx("circle",{className:"st0",cx:"421",cy:"280",r:"442"}),c.jsx("image",{style:{overflow:"visible"},width:"667",height:"368",href:aN,xlinkHref:aN,transform:"matrix(1 0 0 1 67 84)"})]}),lN=e=>{n.eventHub.emit(n.EchoEvents.Toaster,e)};var cN,uN={echoButton:"externalLinkButton-module_echoButton__xkJ5x",echoButtonDisabled:"externalLinkButton-module_echoButtonDisabled__xUCef",echoButtonRounded:"externalLinkButton-module_echoButtonRounded__JNwzW",roundedButtonWrapper:"externalLinkButton-module_roundedButtonWrapper__lwLCr",externalLink:"externalLinkButton-module_externalLink__tWjpz",roundedButtonIconAsImage:"externalLinkButton-module_roundedButtonIconAsImage__gBfPr",largeButtonIconAsImage:"externalLinkButton-module_largeButtonIconAsImage__Qdpay",stidIcon:"externalLinkButton-module_stidIcon__zI8m8"};Ad(".externalLinkButton-module_echoButton__xkJ5x{display:inline-block;font-family:var(--eq-echo-font-family);padding:16px;position:relative;width:90px}.externalLinkButton-module_echoButtonDisabled__xUCef{padding-bottom:0}.externalLinkButton-module_echoButtonRounded__JNwzW{display:inline-block;position:relative}.externalLinkButton-module_roundedButtonWrapper__lwLCr>button:hover{background:var(--white)!important}.externalLinkButton-module_roundedButtonWrapper__lwLCr{display:inline-block;position:relative}.externalLinkButton-module_externalLink__tWjpz{position:absolute;right:1em}.externalLinkButton-module_asyncButtonSpinner__HUDkn{opacity:.75;position:absolute;z-index:10}@media screen and (min-width:420px){.externalLinkButton-module_echoButtonDisabled__xUCef,.externalLinkButton-module_echoButton__xkJ5x{width:96px}}.externalLinkButton-module_echoButton__xkJ5x svg{display:inline-block;height:48px;margin:0 8px 8px;width:48px}.externalLinkButton-module_echoButtonRounded__JNwzW svg{display:inline-block;height:24px;margin:0 8px;width:24px}.externalLinkButton-module_echoButton__xkJ5x span{color:var(--equiGreen1);display:inline-block;font-size:14px;font-weight:500;line-height:16px;width:64px}.externalLinkButton-module_echoButton__xkJ5x:hover svg{fill:var(--hoverIcon)}.externalLinkButton-module_echoButton__xkJ5x:hover span{color:var(--hoverIcon)}.externalLinkButton-module_echoButtonDisabled__xUCef span{color:var(--disabledColor)}.externalLinkButton-module_echoButtonDisabled__xUCef:hover svg{fill:var(--disabledColor)}.externalLinkButton-module_echoButtonDisabled__xUCef:hover span{color:var(--disabledColor)}.externalLinkButton-module_roundedButtonIconAsImage__gBfPr{height:30px;justify-self:center;width:30px}.externalLinkButton-module_largeButtonIconAsImage__Qdpay{height:auto;justify-self:center;width:100%}.externalLinkButton-module_stidIcon__zI8m8{height:auto!important}"),exports.ExternalLinkButtonStyle=void 0,(cN=exports.ExternalLinkButtonStyle||(exports.ExternalLinkButtonStyle={})).Rounded="Rounded",cN.Large="Large",cN.MenuItem="MenuItem";const dN=({buttonName:e,buttonIcon:t,linkTo:n,hideText:r,redirect:o,buttonStyle:a,getUrlToOpen:s,disabledColor:l,disabledButton:u,hoverText:m})=>{let p=null;const h=!!s,f=a===exports.ExternalLinkButtonStyle.MenuItem,g=a===exports.ExternalLinkButtonStyle.Rounded,v=g?uN.roundedButtonIconAsImage:uN.largeButtonIconAsImage;function y(e){return Ym(this,void 0,void 0,(function*(){let t;e.persist(),e.preventDefault(),h?(lN({message:"Fetching ProCoSys tag data ..."}),t=yield s()):t=n,t&&$p(t,o),e.stopPropagation()}))}switch(t){case"Fusion":p=c.jsx(Kk,{});break;case"TR2000":case"Tr2000":p=c.jsx(Rj,{});break;case"ProCoSys":p=c.jsx(xj,{});break;case"PermitVision":p=c.jsx(Wk,{});break;case"Stid":p=c.jsx(Nj,{className:uN.stidIcon});break;case"Yammer":case"VivaEngage":p=c.jsx(tN,{});break;case"3DModel":p=c.jsx(d.Icon,{color:l?i.themeConst.disabledColor:i.themeConst.asBuilt,name:"rotate_3d",title:"3DModel"});break;case"Tag":p=c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"tag"});break;case"Launch":p=c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"launch"});break;case"Media":p=c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"movie_file"});break;case"McApp":p=c.jsx(ij,{});break;case"CommApp":p=c.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALEAAACyCAIAAACC37k8AAAOiklEQVR4nO3dfZRU9X3H8fdv7tyZ2WF3gVlRWClPCc8SFEQElPBgSSxYQpNGDUdtDOmJNmmNPVFStB5P44mxyTEacxqNPbaplCqYcJKcooEi0SByQAGRB0kEQQrysDPL7jLPc3/9Yxey89sBpHvvzJ3d7+vMX/P0u3PvZ35P90npk80I0Umg0gsgfEcyIUySCWGSTAiTZEKYJBPCJJkQJsmEMEkmhEkyIUySCWGSTAiTZEKYJBPCJJkQpmClF6BCtAawLJT64zMFB/Qfn+mtelkmlEIpQjY1ETQcPUFrK45DIEBNlD8ZSACSGbI5tNORm96nd2RCQzCAZXOqmfgJ1m/mmz+D10u99Rq+91fMm0msPw0x8nnyhXIvbaWpnn/snVLU9eFYEy+/wvpNrPgXGAGX0xA58472+kABJDI4H8E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hENut5wV5lAlCKUIh4nL37ePy/ePlprwrqwSYs4nt/w7gxNMTI5cpz5TUvM9FRgiJoUVNDQHH4OKdbpaa4MAWRGoY0ouB0iny+nDsHvM/EWVpjWb388uYX4ew1/8q+xsp4LUSleu1dUv6fKvT/kWPvhEkyIUySCWGSTAiTZEKYJBPCJJkQJsmEMEkmhEkyIUySCWGSTAiTZEKYJBPCJJkQpv8DprWvwl3TEUYAAAAASUVORK5CYII=",className:v,alt:"CommissionAppIcon"});break;case"Sap":p=c.jsx(_j,{});break;case"Semi":p=c.jsx(sN,{});break;case"SafeX":p=c.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGZmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0NDYwLCAyMDIwLzA1LzEyLTE2OjA0OjE3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtbG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"});break;case"TrendingApp":p=c.jsx(Vj,{});break;case"ConditionAdviser":p=c.jsx(zk,{});break;case"Satos":p=c.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAD6CAYAAAAbbXrzAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAABniSURBVHhe7d0JnFVVHQfw82ZfgRlgWLXQEjNTqSQkkRJbbBHLSEwSREkoUzNb3D+lppXGYmlSWiSKklpaVi4hKZptkhYqUZoZzDAMDDAzzD7T+Z05g0948+aec+977/77/L6fDx/ffRLhvPt+9yz/c06iV1NERALk2X8SEcUeA4uIxGBgEZEYDCwiEoOBRURiMLCISAwGFhGJwcAiIjEYWEQkBgOLiMRgYBGRGAwsIhKDgUVEYjCwiEgMBhYRicHAIiIxGFhEJAYDi4jEYGARkRgMLCISg4FFRGIwsIhIDAYWEYnBwCIiMRhYRCQGA4uIxGBgEZEYDCwiEoOBRURiMLCISAwGFhGJwcAiIjEYWEQkBgOLiMRgYBGRGAwsIhKDgUVEYjCwiEgMBhYRicHAIiIxGFhEJAYDi4jEYGARkRgMLCISg4FFRGIwsIhIDAYWEYnBwCIiMRhYRCQGA4uIxGBgEZEYDCwiEoOBRURiMLCISAwGFhGJwcAiIjEYWEQkBgOLiMRgYBGRGAwsIhKDgUVEYjCwiEgMBhYRicHAIiIxGFhEJAYDi4jEYGARkRgMLCISg4FFRGIwsIhIjMQrSvXa10REsXVgby9bWEQkBwOLiMRgYBGRGAwsIhKDgUVEYjCwiEgMBhYRicHAIiIxGFhEJAYDi4jEYGARkRgMLCISg4FFRGIwsIhIDAYWEYnBwCIiMRhYRCQGA4uIxGBgEZEYDCwiEoOBRURiMLCISAwGFhGJwcAiIjEYWEQkxv/nyc+JhCqcOFEVHX20Kpw0SRUceKDKx68DDlCJkhKVV1GhVH6+/c36B9Daqnp27FDdW7aork2bVOff/qban3rK/FLd3fZ3ZVZ+TY0a/fzzKq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CISAwGFhGJwcAiIjEYWEQkBgOLiMRgYBGRGAwsIhKDgUVEYjCwiEgMBhYRicHAIiIxGFhEJAYDi4jEYGARkRgMLCISg4FFRGIwsIhIDAYWEYnBwCIiMRhYRCQGA4uIxGBgEZEYDCwiEoOBRURiMLCISAwGFhGJwcAiIjEYWEQkBgOLiMRgYBGRGAwsIhKDgUVEYjCwiEgMBhYRicHAIiIxGFhEJAYDi4jEYGARkRgMLCISg4FFRGIwsIhIDAYWEYnBwCIiMRhYRCQGA4uIxGBgEZEYDCwiEoOBRURiMLCISAwGFhGJwcAiIiGU+h+xEXAqwJ0/JAAAAABJRU5ErkJggg==",className:v,alt:"SatosIcon"});break;case"GoToApp":p=c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"exit_to_app"});break;case"Notification":p=c.jsx(dj,{});break;case"WorkOrder":p=c.jsx(iN,{});break;case"Robim":p=c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"beat"});break;case"Ayelix":p=c.jsx("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAYAAABxLuKEAAAAAXNSR0IArs4c6QAAAIRlWElmTU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAIdpAAQAAAABAAAAWgAAAAAAAABIAAAAAQAAAEgAAAABAAOgAQADAAAAAQABAACgAgAEAAAAAQAAAEagAwAEAAAAAQAAAEYAAAAAnR9tGwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDYuMC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6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Lg/4LzSm/bu63rPbgAMsVGwGBmgWEYYNHhl/hQyldrGEPT8dHBdTzMGIJjWmDpV2J5en9xVvQqUFICyH7b69ORi80dzvpYmGKt1cJ+T3LV9VVtRbCzuz++DE6aXxW+AMvwZbzuE0vscOmb/0elCX8EyqmAeBcVLKygEhFZm67V3lhEwD7SARCjhN13xEtuNYAuBxYINM79LJpxxCgqdrAnHDArJew6lx+MYIu8ngqTENz+n4CB5O/Y0F8CCIBvxc+zbLLw4MBtD052nnB/ZhBfTZhQEKwPKu+W1nCX8ugMtJK77KAPmIpz478LGbZ1SBWS03I41/uzAaA+Ys+P2heyv+PPKymdjZ/MtKHIhfslLhIAR1nFcYWDO0/9iD4SpxpFnzxYL5WUy3UBRQHwifiWQ/oGn4ii3r8Qb2wRYgoP/BcT9I273X1JWtBI99+GI8xnD5wTG69X7dZyVIXfQ8MmY7ZdjNC+BAuXEhEGV5mmU3yfOBgIGAqitKx3cpbn2A7kBBXzo2CO0DKRBqbTViBcAkKfadle/5bPrIYtf/ikTXwwwptMwlvWwtR4W9aqoKMSLw2nYDp4NdWdCneMx0Pi/IALdQnmjPpX1pPerbUItL4ncZsyd5dg8LcUb5LUNlZX6FRZtpVayhYAHQfcYfvrI9vzpW35yC0yVmeC7nAJaVZUaP1kehPV9VCbkjMHIj0T1IODSGzaQD6PgiwSaA1eXFmB3APldYFCJfeTWTCqzLflx1W5l1O0D01mWs58vBBDL+v8A79tfz7ZcGdAAAAAASUVORK5CYII=",className:v,alt:"AyelixIcon"})}return g?c.jsx("div",{className:uN.roundedButtonWrapper,children:c.jsx(d.Tooltip,{placement:"bottom",title:null!=m?m:e,children:c.jsx(d.Button,{className:uN.echoButtonRounded,variant:"ghost_icon",onClick:e=>{y(e)},disabled:u,children:p})})}):f?c.jsxs(d.Menu.Item,{className:uN.menuItem,onClick:e=>{y(e)},disabled:u,children:[!r&&c.jsx("span",{children:e}),c.jsx(d.Icon,{name:"external_link",size:18,color:i.themeConst.tertiaryText,className:uN.externalLink})]}):c.jsxs("button",{className:`${uN.echoButton} ${l?uN.echoButtonDisabled:""}`,onClick:e=>{y(e)},tabIndex:0,disabled:u,children:[p,!r&&c.jsx("span",{children:e})]})};var mN,pN,hN,fN,gN=A,vN=ve,yN=V,xN=function(e){return vN.slice(0,e.length)===e},bN=xN("Bun/")?"BUN":xN("Cloudflare-Workers")?"CLOUDFLARE":xN("Deno/")?"DENO":xN("Node.js/")?"NODE":gN.Bun&&"string"==typeof Bun.version?"BUN":gN.Deno&&"object"==typeof Deno.version?"DENO":"process"===yN(gN.process)?"NODE":gN.window&&gN.document?"BROWSER":"REST",CN="NODE"===bN,IN=pe,EN=Bi,_N=k,AN=_t("species"),wN=/(?:ipad|iphone|ipod).*applewebkit/i.test(ve),SN=A,kN=np,jN=$s,NN=le,TN=ut,PN=S,ON=Ko,MN=rp,LN=Rt,BN=Sf,DN=wN,RN=CN,zN=SN.setImmediate,FN=SN.clearImmediate,HN=SN.process,qN=SN.Dispatch,UN=SN.Function,GN=SN.MessageChannel,WN=SN.String,QN=0,YN={},VN="onreadystatechange";PN((function(){mN=SN.location}));var ZN=function(e){if(TN(YN,e)){var t=YN[e];delete YN[e],t()}},KN=function(e){return function(){ZN(e)}},JN=function(e){ZN(e.data)},XN=function(e){SN.postMessage(WN(e),mN.protocol+"//"+mN.host)};zN&&FN||(zN=function(e){BN(arguments.length,1);var t=NN(e)?e:UN(e),n=MN(arguments,1);return YN[++QN]=function(){kN(t,void 0,n)},pN(QN),QN},FN=function(e){delete YN[e]},RN?pN=function(e){HN.nextTick(KN(e))}:qN&&qN.now?pN=function(e){qN.now(KN(e))}:GN&&!DN?(fN=(hN=new GN).port2,hN.port1.onmessage=JN,pN=jN(fN.postMessage,fN)):SN.addEventListener&&NN(SN.postMessage)&&!SN.importScripts&&mN&&"file:"!==mN.protocol&&!PN(XN)?(pN=XN,SN.addEventListener("message",JN,!1)):pN=VN in LN("script")?function(e){ON.appendChild(LN("script"))[VN]=function(){ON.removeChild(this),ZN(e)}}:function(e){setTimeout(KN(e),0)});var $N={set:zN},eT=function(){this.head=null,this.tail=null};eT.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var tT,nT,rT,oT,iT,aT=eT,sT=/ipad|iphone|ipod/i.test(ve)&&"undefined"!=typeof Pebble,lT=/web0s(?!.*chrome)/i.test(ve),cT=A,uT=Rf,dT=$s,mT=$N.set,pT=aT,hT=wN,fT=sT,gT=lT,vT=CN,yT=cT.MutationObserver||cT.WebKitMutationObserver,xT=cT.document,bT=cT.process,CT=cT.Promise,IT=uT("queueMicrotask");if(!IT){var ET=new pT,_T=function(){var e,t;for(vT&&(e=bT.domain)&&e.exit();t=ET.get();)try{t()}catch(e){throw ET.head&&tT(),e}e&&e.enter()};hT||vT||gT||!yT||!xT?!fT&&CT&&CT.resolve?((oT=CT.resolve(void 0)).constructor=CT,iT=dT(oT.then,oT),tT=function(){iT(_T)}):vT?tT=function(){bT.nextTick(_T)}:(mT=dT(mT,cT),tT=function(){mT(_T)}):(nT=!0,rT=xT.createTextNode(""),new yT(_T).observe(rT,{characterData:!0}),tT=function(){rT.data=nT=!nT}),IT=function(e){ET.head||tT(),ET.add(e)}}var AT=IT,wT=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},ST=A.Promise,kT=A,jT=ST,NT=le,TT=go,PT=Nn,OT=_t,MT=bN,LT=_e;jT&&jT.prototype;var BT=OT("species"),DT=!1,RT=NT(kT.PromiseRejectionEvent),zT=TT("Promise",(function(){var e=PT(jT),t=e!==String(jT);if(!t&&66===LT)return!0;if(!LT||LT<51||!/native code/.test(e)){var n=new jT((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[BT]=r,!(DT=n.then((function(){}))instanceof r))return!0}return!(t||"BROWSER"!==MT&&"DENO"!==MT||RT)})),FT={CONSTRUCTOR:zT,REJECTION_EVENT:RT,SUBCLASSING:DT},HT={},qT=Fe,UT=TypeError,GT=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw new UT("Bad Promise constructor");t=e,n=r})),this.resolve=qT(t),this.reject=qT(n)};HT.f=function(e){return new GT(e)};var WT,QT,YT,VT=_o,ZT=CN,KT=A,JT=P,XT=br,$T=$d,eP=Md,tP=function(e){var t=IN(e);_N&&t&&!t[AN]&&EN(t,AN,{configurable:!0,get:function(){return this}})},nP=Fe,rP=le,oP=ue,iP=_i,aP=Bu,sP=$N.set,lP=AT,cP=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}},uP=wT,dP=aT,mP=Jn,pP=ST,hP=HT,fP="Promise",gP=FT.CONSTRUCTOR,vP=FT.REJECTION_EVENT,yP=FT.SUBCLASSING,xP=mP.getterFor(fP),bP=mP.set,CP=pP&&pP.prototype,IP=pP,EP=CP,_P=KT.TypeError,AP=KT.document,wP=KT.process,SP=hP.f,kP=SP,jP=!!(AP&&AP.createEvent&&KT.dispatchEvent),NP="unhandledrejection",TP=function(e){var t;return!(!oP(e)||!rP(t=e.then))&&t},PP=function(e,t){var n,r,o,i=t.value,a=1===t.state,s=a?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(a||(2===t.rejection&&DP(t),t.rejection=1),!0===s?n=i:(u&&u.enter(),n=s(i),u&&(u.exit(),o=!0)),n===e.promise?c(new _P("Promise-chain cycle")):(r=TP(n))?JT(r,n,l,c):l(n)):c(i)}catch(e){u&&!o&&u.exit(),c(e)}},OP=function(e,t){e.notified||(e.notified=!0,lP((function(){for(var n,r=e.reactions;n=r.get();)PP(n,e);e.notified=!1,t&&!e.rejection&&LP(e)})))},MP=function(e,t,n){var r,o;jP?((r=AP.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),KT.dispatchEvent(r)):r={promise:t,reason:n},!vP&&(o=KT["on"+e])?o(r):e===NP&&cP("Unhandled promise rejection",n)},LP=function(e){JT(sP,KT,(function(){var t,n=e.facade,r=e.value;if(BP(e)&&(t=uP((function(){ZT?wP.emit("unhandledRejection",r,n):MP(NP,n,r)})),e.rejection=ZT||BP(e)?2:1,t.error))throw t.value}))},BP=function(e){return 1!==e.rejection&&!e.parent},DP=function(e){JT(sP,KT,(function(){var t=e.facade;ZT?wP.emit("rejectionHandled",t):MP("rejectionhandled",t,e.value)}))},RP=function(e,t,n){return function(r){e(t,r,n)}},zP=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,OP(e,!0))},FP=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new _P("Promise can't be resolved itself");var r=TP(t);r?lP((function(){var n={done:!1};try{JT(r,t,RP(FP,n,e),RP(zP,n,e))}catch(t){zP(n,t,e)}})):(e.value=t,e.state=1,OP(e,!1))}catch(t){zP({done:!1},t,e)}}};if(gP&&(EP=(IP=function(e){iP(this,EP),nP(e),JT(WT,this);var t=xP(this);try{e(RP(FP,t),RP(zP,t))}catch(e){zP(t,e)}}).prototype,(WT=function(e){bP(this,{type:fP,done:!1,notified:!1,parent:!1,reactions:new dP,rejection:!1,state:0,value:null})}).prototype=XT(EP,"then",(function(e,t){var n=xP(this),r=SP(aP(this,IP));return n.parent=!0,r.ok=!rP(e)||e,r.fail=rP(t)&&t,r.domain=ZT?wP.domain:void 0,0===n.state?n.reactions.add(r):lP((function(){PP(r,n)})),r.promise})),QT=function(){var e=new WT,t=xP(e);this.promise=e,this.resolve=RP(FP,t),this.reject=RP(zP,t)},hP.f=SP=function(e){return e===IP||undefined===e?new QT(e):kP(e)},rP(pP)&&CP!==Object.prototype)){YT=CP.then,yP||XT(CP,"then",(function(e,t){var n=this;return new IP((function(e,t){JT(YT,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete CP.constructor}catch(e){}$T&&$T(CP,EP)}VT({global:!0,constructor:!0,wrap:!0,forced:gP},{Promise:IP}),eP(IP,fP,!1),tP(fP);var HP=_t("iterator"),qP=!1;try{var UP=0,GP={next:function(){return{done:!!UP++}},return:function(){qP=!0}};GP[HP]=function(){return this},Array.from(GP,(function(){throw 2}))}catch(e){}var WP=ST,QP=function(e,t){try{if(!t&&!qP)return!1}catch(e){return!1}var n=!1;try{var r={};r[HP]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},YP=FT.CONSTRUCTOR||!QP((function(e){WP.all(e).then(void 0,(function(){}))})),VP=P,ZP=Fe,KP=HT,JP=wT,XP=Bc;_o({target:"Promise",stat:!0,forced:YP},{all:function(e){var t=this,n=KP.f(t),r=n.resolve,o=n.reject,i=JP((function(){var n=ZP(t.resolve),i=[],a=0,s=1;XP(e,(function(e){var l=a++,c=!1;s++,VP(n,t,e).then((function(e){c||(c=!0,i[l]=e,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise}});var $P=_o,eO=FT.CONSTRUCTOR,tO=ST,nO=pe,rO=le,oO=br,iO=tO&&tO.prototype;if($P({target:"Promise",proto:!0,forced:eO,real:!0},{catch:function(e){return this.then(void 0,e)}}),rO(tO)){var aO=nO("Promise").prototype.catch;iO.catch!==aO&&oO(iO,"catch",aO,{unsafe:!0})}var sO=P,lO=Fe,cO=HT,uO=wT,dO=Bc;_o({target:"Promise",stat:!0,forced:YP},{race:function(e){var t=this,n=cO.f(t),r=n.reject,o=uO((function(){var o=lO(t.resolve);dO(e,(function(e){sO(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var mO=HT;_o({target:"Promise",stat:!0,forced:FT.CONSTRUCTOR},{reject:function(e){var t=mO.f(this);return(0,t.reject)(e),t.promise}});var pO=tn,hO=ue,fO=HT,gO=_o,vO=FT.CONSTRUCTOR,yO=function(e,t){if(pO(e),hO(t)&&t.constructor===e)return t;var n=fO.f(e);return(0,n.resolve)(t),n.promise};pe("Promise"),gO({target:"Promise",stat:!0,forced:vO},{resolve:function(e){return yO(this,e)}});var xO=P,bO=tn,CO=ee,IO=Pr,EO=as,_O=re,AO=Ue,wO=Yu,SO=ed;ku("match",(function(e,t,n){return[function(t){var n=_O(this),r=CO(t)?void 0:AO(t,e);return r?xO(r,t,n):new RegExp(t)[e](EO(n))},function(e){var r=bO(this),o=EO(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return SO(r,o);var a=r.unicode;r.lastIndex=0;for(var s,l=[],c=0;null!==(s=SO(r,o));){var u=EO(s[0]);l[c]=u,""===u&&(r.lastIndex=wO(o,IO(r.lastIndex),a)),c++}return 0===c?null:l}]}));function kO(e){return Ym(this,arguments,void 0,(function*({tagNo:e,instCode:t}){const r=fC({tagNo:e,instCode:t}),o=function(e){return Ym(this,arguments,void 0,(function*({instCode:e,tagNo:t,abortSignal:r}){var o;const i=`${n.baseApiUrl}/${e}/tags/procosys?tagNo=${t}`;return null!==(o=yield n.request({url:i,abortSignal:r,cache:{timeInSeconds:600}}))&&void 0!==o?o:[]}))}({tagNo:e,instCode:t}),i={tagDetails:void 0,proCoSysTag:void 0,hasError:!1};return yield Promise.all([r,o].map(((e,t)=>e.catch((e=>{throw e.index=t,e}))))).then((e=>{i.tagDetails=e[0],i.proCoSysTag=e[1].find((e=>e.isMaster)),i.proCoSysTag||(lN({message:`Tag with number ${i.tagDetails.tagNo} does not exists in ProCoSys.`}),i.hasError=!0)}),(r=>{const o=`Failed to fetch ${0===r.index?"tag details":"ProCoSys tag data"} for tagNo: ${e} with instCode: ${t}. Please try again later.`;delete r.index,n.handleErrors&&n.handleErrors(r,Zp),lN({message:o}),i.hasError=!0})),i}))}function jO(e){return Ym(this,arguments,void 0,(function*({tagNo:e,instCode:t}){const r={tagDetails:void 0,hasError:!1};try{r.tagDetails=yield fC({tagNo:e,instCode:t})}catch(o){n.handleErrors&&n.handleErrors(o,Zp),lN({message:`Failed to fetch tag details for tagNo: ${e} with instCode: ${t}. Please try again alter.`}),r.hasError=!0}return r}))}const NO=({tagNo:e,instCode:t})=>{const r=n.usePlantByInstCode({instCode:t});return c.jsx(dN,{buttonName:"Comm App",getUrlToOpen:()=>Ym(void 0,void 0,void 0,(function*(){return function(e){return Ym(this,void 0,void 0,(function*(){const{tagDetails:t,proCoSysTag:n,hasError:o}=yield kO(Object.assign({},e));return o||!r?void 0:`https://apps.procosys.equinor.com/comm/${r.proCoSysPlantId}/${null==t?void 0:t.projectCode}/Tag/${null==n?void 0:n.id}`}))}({tagNo:e,instCode:t})})),buttonStyle:exports.ExternalLinkButtonStyle.MenuItem})},TO=({tagNo:e,instCode:t})=>c.jsx(dN,{buttonName:"Condition Adviser",getUrlToOpen:()=>function(t){return Ym(this,void 0,void 0,(function*(){const{tagDetails:n,hasError:r}=yield jO({tagNo:t.tagNo,instCode:t.instCode});return r?void 0:`https://ioc.equinor.com/conditionadviser/flocation/${null==n?void 0:n.plantNo}-${e}#`}))}({tagNo:e,instCode:t}),buttonStyle:exports.ExternalLinkButtonStyle.MenuItem}),PO=({tagNo:e,instCode:t})=>{const r=n.usePlantByInstCode({instCode:t});return c.jsx(dN,{buttonName:"Mc App",getUrlToOpen:()=>Ym(void 0,void 0,void 0,(function*(){return function(e){return Ym(this,void 0,void 0,(function*(){const{tagDetails:t,proCoSysTag:n,hasError:o}=yield kO(Object.assign({},e));return o||!r?void 0:`https://apps.procosys.equinor.com/mc/${r.proCoSysPlantId}/${null==t?void 0:t.projectCode}/Tag/${null==n?void 0:n.id}`}))}({tagNo:e,instCode:t})})),buttonStyle:exports.ExternalLinkButtonStyle.MenuItem})},OO=({tagNo:e,instCode:t})=>{const r=n.usePlantByInstCode({instCode:t});return c.jsx(dN,{buttonName:"ProCoSys",getUrlToOpen:()=>function(t){return Ym(this,void 0,void 0,(function*(){const{tagDetails:n,hasError:o}=yield jO({tagNo:t.tagNo,instCode:t.instCode});return o||!r?void 0:`https://procosys.equinor.com/${r.proCoSysPlantId}/Link/TAG?TagNo=${e}&project=${null==n?void 0:n.projectCode}`}))}({tagNo:e,instCode:t}),buttonStyle:exports.ExternalLinkButtonStyle.MenuItem})};var MO=_o,LO=k,BO=G,DO=ut,RO=le,zO=he,FO=as,HO=Bi,qO=ao,UO=A.Symbol,GO=UO&&UO.prototype;if(LO&&RO(UO)&&(!("description"in GO)||void 0!==UO().description)){var WO={},QO=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:FO(arguments[0]),t=zO(GO,this)?new UO(e):void 0===e?UO():UO(e);return""===e&&(WO[t]=!0),t};qO(QO,UO),QO.prototype=GO,GO.constructor=QO;var YO="Symbol(description detection)"===String(UO("description detection")),VO=BO(GO.valueOf),ZO=BO(GO.toString),KO=/^Symbol\((.*)\)[^)]+$/,JO=BO("".replace),XO=BO("".slice);HO(GO,"description",{configurable:!0,get:function(){var e=VO(this);if(DO(WO,e))return"";var t=ZO(e),n=YO?XO(t,7,-1):JO(t,KO,"$1");return""===n?void 0:n}}),MO({global:!0,constructor:!0,forced:!0},{Symbol:QO})}const $O=({tag:e})=>c.jsx(dN,{buttonName:"SafeX",linkTo:`https://safex.equinor.com/search?keyword=${e.description}`,buttonStyle:exports.ExternalLinkButtonStyle.MenuItem});var eM;exports.PingableSources=void 0,(eM=exports.PingableSources||(exports.PingableSources={})).Sap="https://p03web.statoil.no/sap/public/icmandir/its/lsgui/images/img/splashscreen_corbu.png",eM.Statos="https://satos.equinor.com/files/4/bilder/johan_svedrup.png";const tM=({tagNo:t,instCode:n,loadingStatusCallback:o})=>{const{isSourceAvailable:i,isPingLoading:a}=e.usePing(exports.PingableSources.Sap),s=e.useIsIosDevice();return r.useEffect((()=>{o&&o(a)}),[a,o]),s||i?c.jsx(dN,{buttonName:"Sap",getUrlToOpen:()=>function(e){return Ym(this,void 0,void 0,(function*(){const{tagDetails:n,hasError:r}=yield jO({tagNo:e.tagNo,instCode:e.instCode});return r?void 0:`https://p03web.statoil.no/sap/bc/gui/sap/its/webgui?sap-client=505&sap-language=EN&~transaction=*ih06%20STRNO-LOW=${null==n?void 0:n.plantNo}-${t}#`}))}({tagNo:t,instCode:n}),buttonStyle:exports.ExternalLinkButtonStyle.MenuItem}):null};const nM=({tagNo:t,instCode:n,loadingStatusCallback:o})=>{const{isSemiDocumentAvailable:i,semiDocumentId:a,isSemiLoading:s}=function({tagNo:t,instCode:n}){const{tagDetails:o,isTagDetailsLoading:i,hasError:a}=gC({tagNo:t,instCode:n}),[s,l]=r.useState(!1),[c,u]=r.useState(!1),[d,m]=r.useState("");return r.useEffect((()=>{const e=null==o?void 0:o.additionalFields;if(Array.isArray(e)&&e.length>0){const t=e.find((e=>"SMI"===e.type));t&&(l(!0),m(t.value))}}),[o,a]),e.useEffectAsync((e=>{e.aborted||u(i)}),[i]),{isSemiDocumentAvailable:s,semiDocumentId:d,isSemiLoading:c}}({tagNo:t,instCode:n});return r.useEffect((()=>{o&&o(s)}),[s,o]),i&&!s?c.jsx(dN,{buttonName:"Semi",linkTo:`https://semi.equinor.com/uploaddocumentation?semiId=${a}`,buttonStyle:exports.ExternalLinkButtonStyle.MenuItem}):null},rM=({tagNo:e,instCode:t})=>{const n=encodeURIComponent(e);return c.jsx(dN,{buttonName:"STID",linkTo:`https://stid.equinor.com/${t}/tag/${n}`,buttonStyle:exports.ExternalLinkButtonStyle.MenuItem})},oM=({tagNo:t,instCode:o,loadingStatusCallback:i})=>{const a=n.EchoSettings.plant.getSelectedPlant(),[s,l]=e.useStateSafe(""),[u,d]=e.useStateSafe(!1),{tagDetails:m,hasError:p,isTagDetailsLoading:h}=gC({tagNo:t,instCode:o});return r.useEffect((()=>{if(i&&i(h),p)d(!1);else{if(d(function(e){const t=9===(null==e?void 0:e.tagCategory)&&!!e.valveDatash,n=6===(null==e?void 0:e.tagCategory)&&!!e.pipingClass&&!!e.nomDiam;return(t||n)&&!!(null==a?void 0:a.hasTr2000)}(m)),u){const e=6===(null==m?void 0:m.tagCategory)?"PCS":"VDS",t=6===(null==m?void 0:m.tagCategory)?m.pipingClass:null==m?void 0:m.valveDatash;l(`https://tr2000.equinor.com/TR2000/integration/get_datasheet.jsp?SYS=STID&DS=${e}&ID=${t}&PLANT=${o}`)}i&&i(h)}}),[t,o,i,l,d,h,m,p,u,a]),u&&!p?c.jsx(dN,{buttonName:"TR2000",linkTo:s,buttonStyle:exports.ExternalLinkButtonStyle.MenuItem}):null},iM=({tagNo:e,instCode:t})=>c.jsx(dN,{buttonName:"Trending App",getUrlToOpen:()=>function(t){return Ym(this,void 0,void 0,(function*(){const{tagDetails:n,hasError:r}=yield jO({tagNo:t.tagNo,instCode:t.instCode});let o=function(e){return null==e?void 0:e.replace(/[^a-z0-9]/gi,"*")}(e);return o=function(e){var t;return null===(t=null==e?void 0:e.match(/[a-z]+|\d+/gi))||void 0===t?void 0:t.join("*")}(o),r?void 0:`https://apps.powerapps.com/play/e/39d04b94-76f7-48f9-8ab3-3ab354a81af4/a/7fb700fa-0962-4058-a7e9-577d3e3e10da?tenantId=3aa4a235-b6e2-48d5-9195-7fcf05b459b0&source=portal&plantid=${null==n?void 0:n.plantNo}&tag=${o}#`}))}({tagNo:e,instCode:t}),buttonStyle:exports.ExternalLinkButtonStyle.MenuItem}),aM="chunkLoadError_ReloadedPageAt";const sM={save:function(e){sessionStorage.setItem(aM,(null!=e?e:new Date).toISOString())},delete:function(){sessionStorage.removeItem(aM)},hasReloadedAlready:function(){const e=sessionStorage.getItem(aM);if(e){const t=60;return(new Date).getTime()-new Date(e).getTime()<1e3*t}return!1}};function lM(e){const t=function(e){return()=>{e&&n.isOnline()&&cM(e)&&(sM.hasReloadedAlready()?(dM("UnhandledError.ChunkLoadError.FailedAutoForcePageReload",e),sM.delete()):(dM("UnhandledError.ChunkLoadError.TryingAutoForcePageReload",e),sM.save(),uM()))}}(e);return{reloadPageClicked:()=>{Zp.trackEventBy("ChunkLoadError","ManualPageReloadByUser",{}),uM()},forcePageReloadOnceOnChunkLoadError:t}}function cM(e){if(e.name.toLocaleLowerCase().includes("chunkloaderror"))return!0;const t=s.findPropertyByName(e,"innerError");if(t){const e=s.findPropertyByName(t,"name");if(null==e?void 0:e.toString().toLocaleLowerCase().includes("chunkloaderror"))return!0}return!1}function uM(){window.location.reload()}function dM(e,t){if(n.handleErrors){const r={name:e,message:t.message,innerError:t};n.handleErrors(new s.BaseError(r),Zp)}}var mM="chunkLoadErrorMessage-module_contentError__Je5rA",pM="chunkLoadErrorMessage-module_actionButtonSection__NgO0G";Ad(".chunkLoadErrorMessage-module_contentError__Je5rA{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}.chunkLoadErrorMessage-module_contentError__Je5rA>div>div>p{text-align:center}.chunkLoadErrorMessage-module_errorMessage__wrLXW{width:300px}.chunkLoadErrorMessage-module_refreshMessage__qrBAv{padding-top:8px;text-align:center;width:300px}.chunkLoadErrorMessage-module_actionButtonSection__NgO0G{text-align:center}");var hM="echoLogo-module_echoLogo__AP0el";Ad(".echoLogo-module_echoLogo__AP0el{color:var(--equiRed1);display:inline-block;font-family:var(--eq-echo-font-family);font-size:70px;font-weight:500;line-height:56px;text-align:right;text-transform:lowercase;width:100%}");const fM=({className:e})=>c.jsx("span",{className:`${e} ${hM}`,children:"Echo"});var gM="notificationCardWithLogo-module_errorContainer__5mVew",vM="notificationCardWithLogo-module_errorHeader__lzg74",yM="notificationCardWithLogo-module_errorMessage__tjwmz",xM="notificationCardWithLogo-module_appLogo__vHayY",bM="notificationCardWithLogo-module_errorWrapper__iCgbu";Ad(".notificationCardWithLogo-module_errorContainer__5mVew{align-items:center;display:flex;flex-direction:column;justify-content:center;position:relative}.notificationCardWithLogo-module_errorHeader__lzg74{align-items:flex-end;display:flex;justify-content:center}.notificationCardWithLogo-module_errorAction__KY1Hm{text-align:center}.notificationCardWithLogo-module_errorMessage__tjwmz{margin-bottom:16px}.notificationCardWithLogo-module_appLogo__vHayY{margin-bottom:72px;width:auto}.notificationCardWithLogo-module_errorWrapper__iCgbu{max-width:600px}");const CM=({containerClassName:e,variant:t,content:n})=>{const{title:r,notificationMessage:o,messageIcon:i,footer:a}=n;return c.jsxs("div",{className:`${e||""} ${gM}`,children:[c.jsx(fM,{className:xM}),c.jsxs("div",{className:bM,children:[c.jsx("div",{className:vM,children:c.jsx("h2",{children:r})}),c.jsx("div",{className:yM,children:c.jsx(d.Card,{variant:t||"default",children:c.jsxs(d.Card.Header,{children:[i?c.jsx("span",{children:i}):null,c.jsx(d.Card.HeaderTitle,{children:c.jsx(d.Typography,{variant:"body_short",children:o})})]})})}),a||null]})]})},IM=({error:t})=>{const n=e.useNavigatorOnLine(),{reloadPageClicked:o,forcePageReloadOnceOnChunkLoadError:a}=lM(t);return r.useEffect((()=>{a()}),[a]),c.jsx(CM,{containerClassName:mM,content:{title:"Unable to load site content",notificationMessage:"\n You have to go online and load the site content before you can use it offline.\n Go online and refresh the Page or restart the App.\n ",messageIcon:c.jsx(i.Icon,{size:48,name:"warning_filled",color:i.themeConst.outOfService,title:"WarningIcon"}),footer:c.jsx("div",{className:pM,children:c.jsxs(d.Button,{disabled:!n,variant:"outlined",onClick:o,children:[c.jsx(i.Icon,{name:"sync",color:n?i.themeConst.asBuilt:i.themeConst.equiGray3})," Refresh page"]})})}})};var EM="errorBoundaryBaseMessage-module_errorContainer__s3ysk",_M="errorBoundaryBaseMessage-module_errorDetails__aSrac",AM="errorBoundaryBaseMessage-module_errorAction__hsWA7",wM="errorBoundaryBaseMessage-module_actionButton__QohvC",SM="errorBoundaryBaseMessage-module_errorDetailsSmallScreen__rFcUV";Ad(".errorBoundaryBaseMessage-module_errorContainer__s3ysk{align-items:center;display:flex;flex-direction:column;justify-content:center;position:relative;top:64px}.errorBoundaryBaseMessage-module_errorHeader__KeM0a{align-items:flex-end;display:flex;justify-content:center;margin-bottom:32px}.errorBoundaryBaseMessage-module_errorDetails__aSrac{height:calc(100vh - 500px);max-height:800px;overflow:auto;white-space:pre-wrap}.errorBoundaryBaseMessage-module_errorAction__hsWA7{display:flex;justify-content:space-evenly;margin-bottom:16px}.errorBoundaryBaseMessage-module_actionButton__QohvC{width:180px}@media screen and (max-width:480px){.errorBoundaryBaseMessage-module_errorDetailsSmallScreen__rFcUV{margin-left:auto;margin-right:auto;width:300px}}");const kM=({errorTitle:e,errorDetails:t})=>{const[n,o]=r.useState(!1);return c.jsx(CM,{containerClassName:EM,content:{title:"Something went wrong",notificationMessage:"\n There was an unexpected application error. Try to refresh the page.\n If the issue persist, send the error details to the Echo team.\n\n To view the error details click on the button below.\n ",messageIcon:c.jsx(i.Icon,{name:"warning_filled",color:i.themeConst.equiRed1,title:"WarningIcon",size:48}),footer:c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:AM,children:[c.jsxs(d.Button,{variant:"outlined",onClick:()=>{window.location.reload()},className:wM,children:[c.jsx(i.Icon,{name:"sync",color:i.themeConst.asBuilt})," Refresh page"]}),c.jsxs(d.Button,{variant:n?void 0:"outlined",className:wM,onClick:()=>o(!n),children:[n?"Hide":"Show"," error details"]})]}),n&&c.jsxs("div",{className:`${_M} ${SM}`,children:[c.jsx(d.Typography,{children:e||"Error"}),c.jsxs(d.Typography,{children:["URL: ",window.location.href]}),t&&c.jsx("p",{children:t})]})]})}})};class jM extends r.Component{constructor(e){super(e),this.state={error:void 0,errorInfo:void 0}}componentDidCatch(e,t){const{onComponentDidCatch:n}=this.props;n&&(cM(e)||n(e,t)),this.setState({error:e,errorInfo:t})}render(){const{error:e,errorInfo:t}=this.state;return e&&cM(e)?c.jsx(IM,{error:e}):t?c.jsx(kM,{errorTitle:e&&(null==e?void 0:e.toString()),errorDetails:t.componentStack}):this.props.children}}const NM=r.createContext(void 0),TM=({children:e,tag:t,instCode:n})=>c.jsx(NM.Provider,{value:{tag:t,instCode:n},children:c.jsx(jM,{children:e})});var PM=r.memo(TM),OM={externalAppsMenuContainer:"externalAppsMenu-module_externalAppsMenuContainer__rx4x-",appMenu:"externalAppsMenu-module_appMenu__WjdtL"};function MM(e){const t=n.useExtensionsByComponentName(exports.ExtendableComponentName.ContextualAppLinks);return(null==e?void 0:e.onlyExternalLinks)?t.filter((e=>{var t;return null===(t=e.options)||void 0===t?void 0:t.isExternalLink})):(null==e?void 0:e.onlyInternalLinks)?t.filter((e=>{var t;return!(null===(t=e.options)||void 0===t?void 0:t.isExternalLink)})):t}function LM(){const e=r.useContext(NM);if(!e)throw new s.BaseError({name:"CompoundComponentOutsideContextError",message:"[EchoFramework.useContextualAppLinksContext] ContextualAppLinks compound components cannot be rendered outside the ContextualAppLinks component"});return Object.assign({},e)}Ad(".externalAppsMenu-module_externalAppsMenuContainer__rx4x-{animation:externalAppsMenu-module_fadein__Tpzls .4s;display:inline-block;height:40px;margin:0;padding:0;position:relative;width:40px}.externalAppsMenu-module_appMenu__WjdtL>[role=menu]{width:250px}.externalAppsMenu-module_appMenu__WjdtL [role=menu]>div{display:flex;flex-direction:column;min-width:150px}@media screen and (max-width:927px) and (orientation:landscape){.externalAppsMenu-module_appMenu__WjdtL{height:50%;overflow-y:auto}}"),exports.ExtendableComponentName=void 0,(exports.ExtendableComponentName||(exports.ExtendableComponentName={})).ContextualAppLinks="ContextualAppLinks";var BM="iconButtonSpinner-module_container__5wiwO",DM="iconButtonSpinner-module_spinner__8D-KT";Ad(".iconButtonSpinner-module_container__5wiwO{height:48px;position:relative;width:48px}.iconButtonSpinner-module_spinner__8D-KT{position:relative;text-align:center;top:50%;transform:translateY(-50%)}");const RM=({customClassNames:e,size:t})=>c.jsx("div",{className:`${(null==e?void 0:e.container)||""} ${BM}`,children:c.jsx("div",{className:`${(null==e?void 0:e.spinner)||""} ${DM}`,children:c.jsx(d.Progress.Circular,{size:t||24})})}),zM=({tagNo:e,instCode:t})=>{const[n,o]=r.useState(""),[i,a]=r.useState(""),{tagDetails:s,hasError:l}=gC({tagNo:e,instCode:t}),[u,m]=r.useState(!0);return r.useEffect((()=>{if(s){const{ventilteknikkEnglishUrl:e,ventilteknikkUrl:t}=s;m(null===(null!=e?e:t)),function(e,t){Ym(this,void 0,void 0,(function*(){e&&o(e),t&&a(t)}))}(t,e)}}),[s]),u||l?null:c.jsxs(d.Menu.Section,{title:"Operational training center",children:[c.jsx(dN,{buttonName:"Valve Technology (NO)",linkTo:n,buttonStyle:exports.ExternalLinkButtonStyle.MenuItem}),c.jsx(dN,{buttonName:"Valve Technology (EN)",linkTo:i,buttonStyle:exports.ExternalLinkButtonStyle.MenuItem})]})},FM=({label:e,iconName:t,onClick:n})=>{function r(e,t){return c.jsx(d.Button,{className:"d-inline-block",variant:"ghost_icon",onClick:t,children:c.jsx(i.Icon,{title:e,name:e,color:i.themeConst.equiGreen1})})}return e?c.jsx(d.Tooltip,{placement:"bottom",title:e,children:r(t,n)}):r(t,n)},HM=PM;HM.InternalApps=t=>{var{children:r,options:o}=t,i=Qm(t,["children","options"]);const a=n.useInternalLink(),s=e.useIsSmallScreen(),l=MM({onlyInternalLinks:!0}),{tag:u,instCode:d}=LM();function m(e){const t=(null==o?void 0:o.hiddenAppKeys)||[],r=e.component,{label:l,iconName:m,appPath:p}=e.options||{},h=t.includes(e.key);return r?c.jsx(r,Object.assign({tag:u,instCode:d},i),e.key):m&&!h&&(e.isVisible&&e.isVisible(Object.assign({tag:u,instCode:d},i))||!e.isVisible)?c.jsx(FM,{label:l,onClick:e=>function(e,t){a(t,{params:`?instCode=${d}&tagNo=${u.tagNo}&search=${u.tagNo}&refresh=true`}),e.stopPropagation(),s&&n.setActivePanel("")}(e,p||"/"),iconName:m},e.key):null}return c.jsxs(c.Fragment,{children:[l.map((e=>m(e))),r]})},HM.ExternalAppsMenu=t=>{var{children:n,classNames:o={button:"",popupMenu:""}}=t,a=Qm(t,["children","classNames"]);const s=MM({onlyExternalLinks:!0}),l=r.useRef(null),[u,m]=r.useState(!1),p=e.Utils.generateRandomId(),h=`${p}-external-apps-menu-button`,f=`${p}-external-apps-menu-on-button`,g=LM();return c.jsxs("div",Object.assign({className:OM.externalAppsMenuContainer,onClick:e=>{e.stopPropagation()}},a,{children:[c.jsx(d.Button,{className:`${OM.menuButton} ${o.button}`,ref:l,variant:"ghost_icon",id:h,"aria-controls":f,"aria-haspopup":"true","aria-expanded":u,onClick:()=>{m(!u)},children:c.jsx(d.Icon,{title:"echo",name:"more_vertical",color:i.themeConst.equiGreen1})}),c.jsx(d.Menu,{id:f,"aria-labelledby":h,open:u,anchorEl:null==l?void 0:l.current,placement:"bottom-end",onClose:()=>m(!1),className:`${OM.appMenu} ${o.popupMenu}`,children:u?c.jsxs("div",{children:[s.map((e=>{return(t=e.component)?c.jsx(t,Object.assign({},g)):null;var t})),n]}):null})]}))},HM.LinkButton=FM,HM.AllExternalApps=()=>{const{tag:t,instCode:n}=LM(),r=t.tagNo,[o,i]=e.useStateSafe(!1),[a,s]=e.useStateSafe(!1),[l,u]=e.useStateSafe(!1);return c.jsxs(c.Fragment,{children:[c.jsx(rM,{tagNo:r,instCode:n}),c.jsx(OO,{tagNo:r,instCode:n}),c.jsx(PO,{tagNo:r,instCode:n}),c.jsx(NO,{tagNo:r,instCode:n}),c.jsx($O,{tag:t}),c.jsx(iM,{tagNo:r,instCode:n}),c.jsx(nM,{tagNo:r,instCode:n,loadingStatusCallback:e=>{u(e)}}),c.jsx(oM,{tagNo:r,instCode:n,loadingStatusCallback:e=>{i(e)}}),c.jsx(tM,{tagNo:r,instCode:n,loadingStatusCallback:e=>{s(e)}}),c.jsx(TO,{tagNo:r,instCode:n}),o||a||l?c.jsx(RM,{size:24}):null,c.jsx(zM,{tagNo:r,instCode:n})]})};const qM=()=>c.jsxs("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 4000 1608",style:{background:"new 0 0 4000 1608"},children:[c.jsx("style",{type:"text/css",children:".st0{fill:#FF1243;}"}),c.jsxs("g",{children:[c.jsx("path",{className:"st0",d:"M3489.6,1124.6l82.9,47.8c4.9,2.8,7.9,8.1,7.9,13.8l-0.1,95.7c0,8.1-8.8,13.2-15.8,9.1l-82.9-47.8\n\t\t\t\tc-4.9-2.8-7.8-8.1-7.8-13.8l0-95.7C3473.7,1125.6,3482.5,1120.5,3489.6,1124.6z M3556.2,1009.2l82.9,47.9c4.9,2.8,11,2.8,15.9,0\n\t\t\t\tl82.9-47.9c7-4.1,7-14.2,0-18.3l-82.9-47.9c-4.9-2.8-11-2.8-15.9,0l-82.9,47.9C3549.2,995,3549.2,1005.1,3556.2,1009.2z\n\t\t\t\tM3256,989.7l-186.5-107.9c-5.5-3.2-12.3-3.2-17.9,0l-186.5,107.9c-7.9,4.6-7.9,16,0,20.6l186.5,107.9c5.5,3.2,12.3,3.2,17.9,0\n\t\t\t\tl186.5-107.9C3263.9,1005.7,3263.9,994.3,3256,989.7z M3328.6,1122.3l-124.5,71.7c-3.7,2.1-6,6.1-6,10.3l0,143.7\n\t\t\t\tc0,6.1,6.8,9.9,12,6.9l124.5-71.7c3.7-2.1,5.8-6.1,5.8-10.3l0-143.7C3340.5,1123.1,3333.9,1119.3,3328.6,1122.3z M3943.2,22.5\n\t\t\t\tl-448.1,258.1c-13.3,7.6-21.5,21.8-21.4,37.1l0,517.1c0,21.9,24.3,35.7,43.3,24.7l448.1-258.1c13.3-7.6,21-21.8,20.9-37.1l0-517.1\n\t\t\t\tC3986,25.3,3962.2,11.6,3943.2,22.5z M2984.6,303l0,359.2c0,10.6,5.3,20.5,14.5,25.8l311.2,179.3c13.2,7.6,30-1.9,30.1-17.2\n\t\t\t\tl0-359.2c0-10.6-5.7-20.5-14.9-25.8l-311.2-179.3C3001.1,278.2,2984.6,287.8,2984.6,303z"}),c.jsx("g",{children:c.jsxs("g",{children:[c.jsx("path",{className:"st0",d:"M2645.9,1030c-3.3-8.2-10.3-11.2-18.1-6.6c-7.8,4.7-154.9,92.3-154.9,92.3v-80.7c0-9.1-5.8-12.4-14-9.1\n\t\t\t\t\t\tl-47.8,17.3c-6.6,2.5-9.1,7.4-9.1,14v355c0,7.4,4.9,12.4,12.4,12.4h46.1c7.4,0,12.4-4.9,12.4-12.4v-217.4\n\t\t\t\t\t\tc0,0,173.4-107,180.4-111.2c7-4.2,10.6-7.8,7.4-15.7C2657.3,1059.2,2645.9,1030,2645.9,1030"}),c.jsx("path",{className:"st0",d:"M397.4,1201.3c0-98.9-67.6-182.1-180.4-182.1c-111.2,0-203.5,79.9-203.5,210.1\n\t\t\t\t\t\tc0,118.6,77.4,205.1,207.6,205.1c59.3,0,118.6-20.6,163.1-60.1c5.8-4.9,5.8-11.5,1.6-17.3l-22.2-34.6c-4.1-6.6-10.7-7.4-17.3-2.5\n\t\t\t\t\t\tc-40.4,29.7-81.6,44.5-125.2,44.5c-83.2,0-128.5-54.4-134.3-122.8h298.4c7.6,0,12.2-5.5,12.2-12.2V1201.3z M91.8,1179.8\n\t\t\t\t\t\tc15.7-56.8,60.1-91.4,122.8-91.4c68.4,0,104.6,40.4,107.9,91.4H91.8z"}),c.jsx("path",{className:"st0",d:"M799,1589.3h46.1c7.4,0,12.4-4.9,12.4-12.4v-542.1c0-9.1-5.8-12.4-14.8-9.1l-47,17.3\n\t\t\t\t\t\tc-6.6,2.5-9.1,7.4-9.1,14v17.3c-25.5-34.6-75.8-55.2-130.2-55.2c-107.9,0-201.8,80.7-201.8,207.6c0,112,72.5,207.6,197.7,207.6\n\t\t\t\t\t\tc56.8,0,111.2-25.5,134.3-54.4v196.9C786.7,1584.4,791.6,1589.3,799,1589.3 M657.3,1364.4c-70,0-130.2-47.8-130.2-138.4\n\t\t\t\t\t\tc0-90.6,60.1-137.6,130.2-137.6c73.3,0,130.2,47,130.2,137.6C787.5,1317.4,730.6,1364.4,657.3,1364.4"}),c.jsx("path",{className:"st0",d:"M1092.2,1434.4c42.8,0,89.8-14,120.3-58.5v36.3c0,7.4,4.9,12.4,12.4,12.4h46.1c7.4,0,12.4-4.9,12.4-12.4\n\t\t\t\t\t\tv-376.5c0-9.9-5.8-13.2-14-9.9l-47.8,17.3c-6.6,2.5-9.1,7.4-9.1,14v197.7c0,70-45.3,109.6-107.1,109.6\n\t\t\t\t\t\tc-61,0-102.2-38.7-102.2-109.6v-220c0-9.1-5.8-12.4-14-9.1l-47.8,17.3c-6.6,2.5-9.1,7.4-9.1,14v200.2\n\t\t\t\t\t\tC932.4,1374.3,1003.2,1434.4,1092.2,1434.4"}),c.jsxs("g",{children:[c.jsx("path",{className:"st0",d:"M1379.7,983.8l50.3-16.5c8.2-2.5,11.5-6.6,11.5-14.8v-60.1c0-7.4-5.8-13.2-14.8-9.9l-49.4,18.1\n\t\t\t\t\t\t\tc-7.4,2.5-11.5,5.8-11.5,14v57.7C1365.7,981.3,1370.7,987.1,1379.7,983.8"}),c.jsx("path",{className:"st0",d:"M1380.6,1424.5h46.1c7.4,0,12.4-4.9,12.4-12.4v-377.3c0-9.1-5.8-12.4-14-9.1l-47.8,17.3\n\t\t\t\t\t\t\tc-6.6,2.5-9.1,7.4-9.1,14v355.1C1368.2,1419.6,1373.2,1424.5,1380.6,1424.5"})]}),c.jsx("path",{className:"st0",d:"M1536.3,1424.5h46.1c7.4,0,12.4-4.9,12.4-12.4v-213.4c0-70,45.3-109.6,107.1-109.6\n\t\t\t\t\t\tc61,0,102.2,38.7,102.2,109.6v213.4c0,7.4,4.9,12.4,12.4,12.4h46.1c7.4,0,12.4-4.9,12.4-12.4v-215.9\n\t\t\t\t\t\tc0-117-70.9-177.1-159.8-177.1c-42.8,0-89.8,14-120.3,58.5v-42.8c0-9.1-5.8-12.4-14-9.1l-47.8,17.3c-6.6,2.5-9.1,7.4-9.1,14\n\t\t\t\t\t\tv355.1C1523.9,1419.6,1528.8,1424.5,1536.3,1424.5"}),c.jsx("path",{className:"st0",d:"M2138.9,1019.2c-118.6,0-203.5,88.2-203.5,207.6c0,119.5,84.9,207.6,203.5,207.6\n\t\t\t\t\t\tc118.6,0,202.7-88.2,202.7-207.6C2341.6,1107.3,2257.5,1019.2,2138.9,1019.2 M2138.9,1365.2c-81.6,0-131-61-131-138.4\n\t\t\t\t\t\ts49.4-138.4,131-138.4c80.7,0,130.2,61,130.2,138.4S2219.6,1365.2,2138.9,1365.2"})]})})]})]});var UM,GM="footer-module_echoFooter__G00YD",WM="footer-module_footerDisclaimer__AkC9l",QM="footer-module_footerLogo__Y-Dny",YM="footer-module_tosFooter__6AHMy";Ad(".footer-module_echoFooter__G00YD{background:#fff;bottom:0;display:flex;left:0;position:fixed}@media screen and (max-width:767px) and (orientation:portrait){.footer-module_echoFooter__G00YD{bottom:48px}}@media screen and (max-width:927px) and (orientation:landscape){.footer-module_echoFooter__G00YD{left:48px}}@media screen and (min-width:360px){.footer-module_echoFooter__G00YD{height:33px}}@media screen and (min-width:640px){.footer-module_echoFooter__G00YD{height:56px;width:100%}}p.footer-module_footerDisclaimer__AkC9l{font-size:10px;width:100%}.footer-module_footerLogo__Y-Dny{display:none;float:right;margin:0 0 12px;max-height:2.5rem;padding:12px 16px;width:74px}.footer-module_tosFooter__6AHMy{background:#fff;bottom:0;height:33px;left:0;position:fixed;width:100%}@media screen and (min-width:640px){p.footer-module_footerDisclaimer__AkC9l{line-height:32px;margin:0;padding:12px 16px}.footer-module_footerLogo__Y-Dny{display:block}.footer-module_tosFooter__6AHMy{height:56px}}"),exports.FooterType=void 0,(UM=exports.FooterType||(exports.FooterType={})).normal="normal",UM.termOfService="tos";const VM=({longText:t})=>t.split("\\n").map(((t,n)=>c.jsxs("span",{children:[e.escapeSpecialCharacters(t),c.jsx("br",{})]},n)));var ZM="fullScreenChip-module_fullScreenChip__464W-";Ad(".fullScreenChip-module_fullScreenChip__464W-{background:rgba(0,0,0,.8)!important;color:var(--white)!important}.fullScreenChip-module_fullScreenChip__464W-:hover{background:rgba(0,0,0,.9)!important}.fullScreenChip-module_fullScreenChip__464W- svg{fill:var(--white)!important}.fullScreenChip-module_fullScreenChip__464W- svg:hover{fill:var(--white)!important;background:var(--black)!important}");const KM=({onClick:e,active:t,onDelete:n})=>c.jsxs(d.Chip,{onClick:e,onDelete:n,className:ZM,children:[c.jsx(d.Icon,{name:t?"fullscreen_exit":"fullscreen"}),t?"Exit fullscreen mode":"Enable fullscreen mode"]});var JM="fullscreenModeButtons-module_fullScreenChip__JEv9C";Ad(".fullscreenModeButtons-module_fullScreenChip__JEv9C{display:flex;margin-left:var(--small);margin-top:var(--small);position:absolute;z-index:2}.fullscreenModeButtons-module_fullScreenButton__TeuUj{margin-right:var(--small);margin-top:var(--small);position:absolute;right:4em;top:0;z-index:2}.fullscreenModeButtons-module_fullScreenButtonFullscreenMode__aktEv{right:0!important}@media screen and (max-width:927px) and (orientation:landscape){.fullscreenModeButtons-module_fullScreenButton__TeuUj{right:0;top:3em}.fullscreenModeButtons-module_fullScreenButtonFullscreenMode__aktEv{top:0}.fullscreenModeButtons-module_fullScreenChip__JEv9C{margin-left:var(--medium)!important}}@media screen and (max-width:767px) and (orientation:portrait){.fullscreenModeButtons-module_fullScreenButton__TeuUj{right:0;top:3em}.fullscreenModeButtons-module_fullScreenButtonFullscreenMode__aktEv{top:0}}");var XM="InfoLabel-module_container__T3UD0",$M="InfoLabel-module_icon__tmrwt",eL="InfoLabel-module_text__PSinH";function tL({text:e}){return c.jsxs("div",{className:XM,children:[c.jsx(d.Icon,{name:"info_circle",size:16,className:$M}),c.jsx("div",{className:eL,children:e})]})}Ad(".InfoLabel-module_container__T3UD0{align-items:center;background:#f7f7f7;border-bottom:1px solid #dcdcdc;display:flex;padding:.625rem 1rem}.InfoLabel-module_icon__tmrwt{min-height:1rem;min-width:1rem}.InfoLabel-module_text__PSinH{font-size:.875rem;line-height:1rem;margin-left:.5rem}");var nL="labelledValue-module_container__vZI5g",rL="labelledValue-module_label__4FYkQ",oL="labelledValue-module_colSpanTwo__dAkbu";Ad(".labelledValue-module_container__vZI5g{color:var(--disabledColor);margin:.5rem 1rem;padding:.5rem 0}.labelledValue-module_label__4FYkQ{font-size:.75em;line-height:16px;margin-bottom:.4rem}.labelledValue-module_colSpanTwo__dAkbu{grid-column:span 2}");const iL=({label:e,value:t,colSpan:n})=>c.jsxs("div",{className:`${nL} ${n?oL:""}`,children:[c.jsx("p",{className:rL,children:e}),c.jsx("div",{children:t})]});var aL="labelledValueGrid-module_valuesContainer__JLnSe";Ad(".labelledValueGrid-module_valuesContainer__JLnSe{display:grid;grid-template-columns:1fr 1fr}");const sL=({fields:e})=>c.jsx("div",{className:aL,children:e.map(((e,t)=>c.jsx(iL,{label:e.label,value:e.value||"-",colSpan:e.colSpan},t)))});var lL="appLoadingIndicator-module_loadingContainer__2grwV",cL="appLoadingIndicator-module_progressIndicator__XovT7";Ad(".appLoadingIndicator-module_loadingContainer__2grwV{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;padding-top:0;text-align:center}.appLoadingIndicator-module_progressIndicator__XovT7{margin-bottom:16px}");const uL=({loadingText:e})=>c.jsx("div",{className:lL,children:c.jsxs("div",{children:[c.jsx(d.StarProgress,{className:cL}),c.jsx(d.Typography,{variant:"h4",children:e||"Loading application..."})]})});var dL="listItemAdditionalInfoRow-module_additionalInfo__GFabx",mL="listItemAdditionalInfoRow-module_item__TAbpQ";Ad(".listItemAdditionalInfoRow-module_additionalInfo__GFabx{display:flex;flex-direction:row;margin-top:4px}.listItemAdditionalInfoRow-module_item__TAbpQ{padding-right:var(--medium)}.listItemAdditionalInfoRow-module_item__TAbpQ:nth-child(2){border-left:1px solid var(--default);padding-left:16px}");var pL={accordionIconLeft:"accordionItem-module_accordionIconLeft__3gR3c",appMenuAccordionItemHeader:"accordionItem-module_appMenuAccordionItemHeader__OWdor",accordionSubHeader:"accordionItem-module_accordionSubHeader__0lUVl"};Ad(".accordionItem-module_accordionIconLeft__3gR3c{margin-right:28px}.accordionItem-module_appMenuAccordionItemHeader__OWdor{height:60px!important;padding:12px!important}.accordionItem-module_accordionSubHeader__0lUVl{color:var(--echoText);font-size:11px}");const{Item:hL,Header:fL,HeaderTitle:gL,Panel:vL}=d.Accordion,yL=({isExpanded:e,handleClick:t,title:n,subtitle:r,iconName:o,iconTitle:a,children:s})=>c.jsx(d.Accordion,{chevronPosition:"right",children:c.jsxs(hL,{className:pL.appMenuAccordionItem,isExpanded:e,onClick:()=>{t()},children:[c.jsxs(fL,{className:pL.appMenuAccordionItemHeader,children:[c.jsx(i.Icon,{color:i.themeConst.asBuilt,title:a,name:o,className:pL.accordionIconLeft}),c.jsxs(gL,{children:[n,c.jsx("div",{className:pL.accordionSubHeader,children:r})]})]}),c.jsx(vL,{children:e&&s})]})});var xL="applicationList-module_applicationButtonGroup__sH5k2",bL="applicationList-module_applicationListContainer__JFaSC";Ad(".applicationList-module_applicationButtonGroup__sH5k2{margin-bottom:var(--medium)}.applicationList-module_applicationListContainer__JFaSC h4{font-size:16px;margin-bottom:var(--medium)}.applicationList-module_navBarIcon__PXIQk{position:relative;width:96px}.applicationList-module_badge__rbkpm{color:var(--equiGreen1)}");const CL=()=>c.jsx("div",{className:bL,children:c.jsxs("div",{className:xL,children:[c.jsx("h4",{children:"Echo Applications"}),c.jsx(wC,{})]})});var IL="pageMenu-module_pageMenuDrawer__tzgE4",EL="pageMenu-module_versionInformation__OEAvO",_L="pageMenu-module_appMenuHeaderLink__oQ5O5",AL="pageMenu-module_appMenuContainer__-Og-F";Ad("@media only screen and (max-width:500px){.pageMenu-module_pageMenuDrawer__tzgE4{right:-345px;width:auto}}.pageMenu-module_versionInformation__OEAvO{display:flex;flex:1 0 auto;flex-direction:column;font-size:12px;height:fit-content;justify-content:flex-end;margin:20px 0}.pageMenu-module_appMenuHeaderLink__oQ5O5{color:var(--echoText);display:inline-block;font-size:16px;font-weight:500;line-height:24px;padding:8px 0;width:100%}.pageMenu-module_appMenuHeaderLink__oQ5O5:hover{text-decoration:none}.pageMenu-module_appMenuContainer__-Og-F{display:flex;flex-flow:column;height:100%}");var wL="pageMenuDrawerItem-module_accordionLogoHeader__eXZNU",SL="pageMenuDrawerItem-module_accordionExtraHeight__nhMz-",kL="pageMenuDrawerItem-module_accordionLogoText__TTxo5",jL="pageMenuDrawerItem-module_accordionLogo__30Gy-",NL="pageMenuDrawerItem-module_accordionExternalLink__cBgXQ",TL="pageMenuDrawerItem-module_borderBottom__tMskx",PL="pageMenuDrawerItem-module_appMenuHeaderLink__-Znm8";Ad(".pageMenuDrawerItem-module_accordionLogoHeader__eXZNU{border-left:1px solid #dcdcdc;border-right:1px solid #dcdcdc;color:var(--echoText);display:flex;flex-shrink:0;flex-wrap:wrap;height:fit-content;padding:6px 0;text-align:left}.pageMenuDrawerItem-module_accordionExtraHeight__nhMz-{height:60px}.pageMenuDrawerItem-module_accordionLogoHeader__eXZNU:hover{background-color:var(--searchBarBackground)}.pageMenuDrawerItem-module_accordionLogoHeader__eXZNU .pageMenuDrawerItem-module_accordionLogoText__TTxo5>a{color:var(--echoText)}.pageMenuDrawerItem-module_accordionLogo__30Gy-{height:24px;margin:auto 28px auto 12px;order:1;width:24px}.pageMenuDrawerItem-module_accordionExternalLink__cBgXQ{margin:auto 0 auto 36px;order:3}.pageMenuDrawerItem-module_accordionLogoText__TTxo5{align-self:center;margin:auto 0;order:2;width:calc(100% - 128px)}.pageMenuDrawerItem-module_borderBottom__tMskx{border-bottom:1px solid #dcdcdc}.pageMenuDrawerItem-module_appMenuHeaderLink__-Znm8{color:var(--echoText);display:inline-block;font-size:16px;font-weight:500;line-height:24px;padding:8px 0;width:100%}.pageMenuDrawerItem-module_appMenuHeaderLink__-Znm8:hover{text-decoration:none}");const OL=({iconName:e,iconTitle:t,children:n,externalLink:r,trackEventOpenExternalLink:o,classNames:a})=>c.jsxs("div",{className:`${wL+" "+("EELogo"===e?SL:TL)} ${a}`,children:["EELogo"===e?c.jsx(SC,{className:jL}):c.jsx(i.Icon,{className:jL,color:i.themeConst.asBuilt,name:e,title:t}),c.jsxs("div",{className:kL,children:[n,r&&c.jsx("a",{target:"_blank",className:PL,rel:"noopener noreferrer",href:r.link,onClick:()=>o(r.trackEvent),children:r.linkText})]}),r&&c.jsx("a",{target:"_blank",className:NL,rel:"noopener noreferrer",href:r.link,onClick:()=>o(r.trackEvent),children:c.jsx(i.Icon,{size:16,color:i.themeConst.asBuilt,name:"external_link",title:"External link"})})]});var ML,LL,BL=_o,DL=P,RL=le,zL=tn,FL=as,HL=(ML=!1,(LL=/[ac]/).exec=function(){return ML=!0,/./.exec.apply(this,arguments)},!0===LL.test("abc")&&ML),qL=/./.test;BL({target:"RegExp",proto:!0,forced:!HL},{test:function(e){var t=zL(this),n=FL(e),r=t.exec;if(!RL(r))return DL(qL,t,n);var o=DL(r,t,n);return null!==o&&(zL(o),!0)}});var UL=rC.trim;_o({target:"String",proto:!0,forced:sC("trim")},{trim:function(){return UL(this)}});const GL=({variant:e,maxCharacterCount:t,isDisabled:o,stayOnPath:a})=>{var l;const{instCode:u,plantName:d,sapPlantId:m}=n.usePlantSettings(),p=n.usePlants(),h=p.length>0?p:[],f=h.map((e=>x(e.description,e.sapPlantId))),[g,v]=r.useState("");if(!d&&u&&h&&!g){const e=null===(l=h.find((e=>e.instCode===u)))||void 0===l?void 0:l.description;e&&v(e)}const y=d||g;function x(e,t){return t?`${e} (${t})`:e}return c.jsx(i.Dropdown,{showSearch:!0,selected:x(y,m),data:f,filterFunc:(e,t)=>{const n=h.filter((e=>{var n;return e.description.toLowerCase().indexOf(t.trim().toLowerCase())>-1||e.instCode.toLowerCase().indexOf(t.trim().toLowerCase())>-1||(null===(n=e.sapPlantId)||void 0===n?void 0:n.toLowerCase().indexOf(t.trim().toLowerCase()))>-1}));return n.map((e=>x(e.description,e.sapPlantId)))},openDownWards:!0,placeholder:"Select plant",setSelected:e=>Ym(void 0,void 0,void 0,(function*(){var t;let r=e;if(r.includes("(")){const e=null===(t=r.split("(").pop())||void 0===t?void 0:t.split(")");o=e[0],/^[0-9-]+$/.test(o)&&(r=r.replace(` (${e[0]})`,""))}var o;const i=function(e,t){return e.find((e=>e.description===t))}(h,r);i&&s.eventHub.emit(n.EchoEvents.PlantChanged,{selectedPlant:i,stayOnPath:a})})),isDisabled:o||!n.isOnline(),disabledText:"Disabled while syncing or loading data",maxCharacterCount:t,variant:e||"default"})};var WL="settings-module_assetLabel__2whL4",QL="settings-module_container__-QVxU",YL="settings-module_accountContainer__bLUZI",VL="settings-module_accountIcon__A-l-Z",ZL="settings-module_accountImage__RggiK",KL="settings-module_accountName__qy7Z-",JL="settings-module_accountJobTitle__WapT2",XL="settings-module_accountEmail__cMoPL",$L="settings-module_accountText__tFYwo",eB="settings-module_subMenu__tRk0B",tB="settings-module_subHeader__5vLyu",nB="settings-module_subContainer__qKSxR";Ad(".settings-module_assetLabel__2whL4{font-size:12px;font-weight:400;margin-bottom:0;margin-left:var(--small)}.settings-module_container__-QVxU{color:var(--echoText);position:relative}.settings-module_accountContainer__bLUZI{display:flex}.settings-module_accountIcon__A-l-Z,.settings-module_accountImage__RggiK{height:80px;margin-right:var(--medium);width:80px}.settings-module_accountImage__RggiK{border:1px solid var(--equiGray4);border-radius:50%}.settings-module_accountName__qy7Z-{font-size:18px;font-weight:500;line-height:24px}.settings-module_accountJobTitle__WapT2{font-size:16px;line-height:24px}.settings-module_accountEmail__cMoPL{color:#007079;font-size:16px;line-height:20px;text-decoration-line:underline}.settings-module_accountText__tFYwo{margin:auto 0}.settings-module_subMenu__tRk0B{margin-bottom:var(--medium)}.settings-module_subHeader__5vLyu{font-size:18px;line-height:24px;margin-bottom:var(--medium)}.settings-module_subContainer__qKSxR{margin-bottom:0}");const rB=({isDisabled:e})=>c.jsx("div",{className:QL,children:c.jsxs("div",{className:eB,children:[c.jsx("h3",{className:tB,children:"Asset"}),c.jsxs("div",{className:nB,children:[c.jsx("label",{className:WL,children:"Asset"}),c.jsx(GL,{isDisabled:e})]})]})}),oB=({trackEventOpenExternalLink:e})=>{const t=n.useUserProfile(),r=n.useUserPhoto();return c.jsx("div",{className:QL,children:c.jsxs("div",{className:YL,children:[r&&r.length>0?c.jsx("img",{src:r,alt:"profile",className:ZL}):c.jsx(i.Icon,{color:i.themeConst.asBuilt,title:"Profile picture",name:"account_circle",size:48,className:VL}),c.jsxs("div",{className:$L,children:[c.jsx("div",{className:KL,children:null==t?void 0:t.displayName}),c.jsx("div",{className:JL,children:null==t?void 0:t.jobTitle}),c.jsx("a",{onClick:()=>e("mailto"),href:`mailto:${null==t?void 0:t.mail}`,className:XL,children:null==t?void 0:t.mail})]})]})})},iB=({trackEventOpenExternalLink:e,isDisabled:t})=>c.jsxs("div",{className:QL,children:[c.jsx(oB,{trackEventOpenExternalLink:e}),c.jsx(d.Divider,{variant:"medium"}),c.jsx(rB,{isDisabled:t})]});var aB="version-module_versionContainer__DZ8JR";Ad(".version-module_versionContainer__DZ8JR{color:var(--echoText);min-height:50px;text-align:center}@media only screen and (max-width:1367px){.version-module_versionContainer__DZ8JR{margin-bottom:15px}}");const sB=()=>{r.useEffect((()=>{!function(){Ym(this,void 0,void 0,(function*(){const e=yield function(){return Ym(this,void 0,void 0,(function*(){var e;const t=`${n.baseApiUrl}/Version`;return null!==(e=yield n.request({url:t}))&&void 0!==e?e:""}))}(),r=yield function(){return Ym(this,void 0,void 0,(function*(){var e;const t=`${n.baseApiUrl}/Version/ProductVersion`;return null!==(e=yield n.request({url:t}))&&void 0!==e?e:""}))}();e&&i(e),r&&t(r)}))}()}),[]);const[e,t]=r.useState(""),[o,i]=r.useState("");return c.jsxs("div",{className:aB,children:[c.jsxs("div",{children:["v",e]}),n.isOnline()&&c.jsxs("div",{children:["EchopediaAPI v",o]})]})},lB=({trackEventOpenExternalLink:e,isSyncing:t})=>{const{setActivePanel:i}=n.usePanels(),{instCode:a,plantName:s}=n.usePlantSettings(),[l,u]=r.useState(t?"Sync":"None");return c.jsx("div",{className:IL,children:c.jsxs("div",{className:AL,children:[c.jsx(OL,{iconName:"EELogo",iconTitle:"Home",trackEventOpenExternalLink:e,children:c.jsx(o.Link,{to:`/?instCode=${a}`,onClick:()=>{i("")},className:_L,children:"Home"})}),c.jsx(yL,{isExpanded:"Profile"===l,handleClick:()=>u("Profile"),title:"Profile & Settings",subtitle:s,iconName:"account_circle",iconTitle:"Profile and settings",children:c.jsx(iB,{trackEventOpenExternalLink:e,isDisabled:t})}),c.jsx(yL,{isExpanded:"Apps"===l,handleClick:()=>u("Apps"),title:"Apps",iconName:"apps",iconTitle:"Applications",children:c.jsx(CL,{})}),c.jsx(OL,{externalLink:{link:"https://statoilsrm.sharepoint.com/sites/Echo/SitePages/How-to-use-Echo.aspx",linkText:"About Echo",trackEvent:"aboutEcho"},iconName:"email_alpha",iconTitle:"About echo",trackEventOpenExternalLink:e}),c.jsx(OL,{externalLink:{link:"https://statoilsrm.sharepoint.com/sites/Echo/SitePages/About-Echo.aspx",linkText:"Terms & Conditions",trackEvent:"aboutEchoTermsAndConditions"},iconName:"assignment",iconTitle:"Terms and conditions",trackEventOpenExternalLink:e}),c.jsx(OL,{iconName:"exit_to_app",iconTitle:"Sign out",trackEventOpenExternalLink:e,children:c.jsx(o.Link,{className:_L,to:"",onClick:e=>Ym(void 0,void 0,void 0,(function*(){e.preventDefault(),yield Ym(void 0,void 0,void 0,(function*(){yield n.EchoAuthProvider.logout()}))})),children:"Sign out"})}),c.jsx("div",{className:EL,children:c.jsx(sB,{})})]})})},cB=r.createContext({}),uB=()=>r.useContext(cB);var dB,mB=Fe,pB=st,hB=$,fB=Mr,gB=TypeError,vB="Reduce of empty array with no initial value",yB={left:(dB=!1,function(e,t,n,r){var o=pB(e),i=hB(o),a=fB(o);if(mB(t),0===a&&n<2)throw new gB(vB);var s=dB?a-1:0,l=dB?-1:1;if(n<2)for(;;){if(s in i){r=i[s],s+=l;break}if(s+=l,dB?s<0:a<=s)throw new gB(vB)}for(;dB?s>=0:a>s;s+=l)s in i&&(r=t(r,i[s],s,o));return r})},xB=S,bB=function(e,t){var n=[][e];return!!n&&xB((function(){n.call(null,t||function(){return 1},1)}))},CB=yB.left;_o({target:"Array",proto:!0,forced:!CN&&_e>79&&_e<83||!bB("reduce")},{reduce:function(e){var t=arguments.length;return CB(this,e,t,t>1?arguments[1]:void 0)}});var IB=Bc,EB=Fe,_B=tn,AB=ga,wB=TypeError;_o({target:"Iterator",proto:!0,real:!0},{reduce:function(e){_B(this),EB(e);var t=AB(this),n=arguments.length<2,r=n?void 0:arguments[1],o=0;if(IB(t,(function(t){n?(n=!1,r=t):r=e(r,t,o),o++}),{IS_RECORD:!0}),n)throw new wB("Reduce of empty iterator with no initial value");return r}});function SB(e,...t){return function(e){return e.replace(/\/$/,"")}((t||[]).filter((e=>e)).reduce(((e,t)=>e+"/"+encodeURIComponent(t)),e||""))}const kB=(e,t)=>{const n=Object.keys(t).filter((e=>t[e])).reduce(((e,n)=>e+`${e?"&":""}${n}=${encodeURIComponent(t[n])}`),"");return n?`${e}?${n}`:e};function jB(e){window.open(e,"_blank")}function NB(e){return Ym(this,void 0,void 0,(function*(){const t=function(e){return SB(n.baseApiUrl,"prep-view","work-orders",e)}(e),r=yield n.request({url:t});if(!r)throw new Error(`failed to fetch work order with id ${e}`);return r}))}function TB(e){return Ym(this,void 0,void 0,(function*(){const t=function(e){return SB(n.baseApiUrl,"prep-view","work-orders",e,"subsea-work-order")}(e),r=yield n.request({url:t});if(!r)throw new Error(`failed to fetch subsea work order with id ${e}`);return r}))}function PB(e){return Ym(this,void 0,void 0,(function*(){const t=function(e){return SB(n.baseApiUrl,"prep-view","work-orders",e,"work-type")}(e),r=yield n.request({url:t});if(!r)throw new Error(`failed to fetch the work type of WO ${e}`);return r}))}function OB(e){return Ym(this,void 0,void 0,(function*(){const t=(r=e,SB(n.baseApiUrl,"prep-view","maintenance-records",r));var r;const o=yield n.request({url:t});if(!o)throw new Error(`failed to fetch notification with id ${e}`);return o}))}function MB(e){return Ym(this,void 0,void 0,(function*(){const t=(r=e,SB(n.baseApiUrl,"prep-view","maintenance-records",r,"subsea-maintenance-record"));var r;const o=yield n.request({url:t});if(!o)throw new Error(`failed to fetch subsea notification with id ${e}`);return o}))}function LB(e,t){return Ym(this,void 0,void 0,(function*(){const r=function(e,t){return SB(n.baseApiUrl,e,"prep-view","punches",t)}(e,t),o=yield n.request({url:r});if(!o)throw new Error(`failed to fetch punch with id ${t}`);return o}))}function BB(e,t){return Ym(this,void 0,void 0,(function*(){const r=function(e,t){return SB(n.baseApiUrl,"prep-view",t?"work-orders":"maintenance-records",e,"tag")}(e,t),o=yield n.request({url:r});if(!o)throw new Error(`failed to fetch tag information for item ${e}`);return o}))}function DB(e,t){return Ym(this,void 0,void 0,(function*(){const r=function(e,t){return SB(n.baseApiUrl,"prep-view",t?"work-orders":"maintenance-records",e,"attachments")}(e,t),o=yield n.request({url:r});if(!o)throw new Error(`failed to fetch attachments for item ${e}`);return o}))}function RB(e,t,r,o){return Ym(this,void 0,void 0,(function*(){const i=o?function(e,t,r){const o=SB(n.baseApiUrl,"work-orders","attachment");return kB(o,{orderTypeId:e,workorderId:t,attachmentId:r})}(e,t,r.id):function(e,t,r){const o=SB(n.baseApiUrl,"maintenance-records","attachment");return kB(o,{maintenanceRecordTypeId:e,maintenanceRecordId:t,attachmentId:r})}(e,t,r.id),a=yield n.request({url:i,successResponseParser:zB});if(!a)throw new Error(`Failed to fetch attachment: ${r.fileName}`);return a}))}function zB(e){return e.blob()}function FB(e,t){return Ym(this,void 0,void 0,(function*(){const r=function(e,t){return SB(n.baseApiUrl,"prep-view",t?"work-orders":"maintenance-records",e,"documents")}(e,t),o=yield n.request({url:r});if(!o)throw new Error(`failed to fetch documents for item ${e}`);return o}))}function HB(e,t){return Ym(this,void 0,void 0,(function*(){const r=function(e,t){return SB(n.baseApiUrl,"prep-view",t?"work-orders":"maintenance-records",e,"history")}(e,t),o=yield n.request({url:r});if(!o)throw new Error(`failed to fetch history for item ${e}`);return o}))}function qB(e,t){return Ym(this,void 0,void 0,(function*(){const r=function(e,t){return SB(n.baseApiUrl,"prep-view",t?"work-orders":"maintenance-records",e,"safety-cards")}(e,t),o=yield n.request({url:r});if(!o)throw new Error(`failed to fetch safety cards for item ${e}`);return o}))}function UB(e){return Ym(this,void 0,void 0,(function*(){const t=function(e){return SB(n.baseApiUrl,"prep-view","work-orders",e,"operations")}(e),r=yield n.request({url:t});if(!r)throw new Error(`failed to fetch operations for WO ${e}`);return r}))}function GB(e){return Ym(this,void 0,void 0,(function*(){const t=function(e){return SB(n.baseApiUrl,"prep-view","work-orders",e,"objects")}(e),r=yield n.request({url:t});if(!r)throw new Error(`failed to fetch objects for WO ${e}`);return r}))}function WB({headerLevel:e,children:t}){return c.jsx(d.Accordion,{headerLevel:null!=e?e:"h3",chevronPosition:"right",children:t})}var QB="DetailsLoader-module_container__lJGsE";function YB(){return c.jsxs("div",{className:QB,children:[c.jsx(d.CircularProgress,{}),c.jsx("br",{}),c.jsx("span",{children:c.jsx(d.Typography,{variant:"h6",children:"Loading details..."})})]})}function VB(){const[t,n]=r.useState(""),o=e.useDebounce(t,500);return r.useEffect((()=>n("show")),[]),o?c.jsx(YB,{}):null}function ZB({text:e}){return c.jsx(d.Typography,{variant:"h6",children:e})}Ad(".DetailsLoader-module_container__lJGsE{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;padding-top:20px}");Ad(".ExtendedTabsBorder-module_extendedBorder__lX-98{border-bottom:2px solid var(--ui_background_medium,#dcdcdc)}");var KB={errorCard:"ErrorCard-module_errorCard__DeNQv",errorHeader:"ErrorCard-module_errorHeader__XGMzu",errorContent:"ErrorCard-module_errorContent__A5GFL",serviceNowLink:"ErrorCard-module_serviceNowLink__NHHTL",label:"ErrorCard-module_label__-t5wP",labelDescription:"ErrorCard-module_labelDescription__KDS-A"};function JB({header:e,description:t}){return c.jsxs("div",{className:KB.label,children:[c.jsx("dt",{className:KB.labelHeader,children:e}),c.jsx("dd",{className:KB.labelDescription,children:t})]})}function XB(e){const t=e.workOrderId?`Failed to fetch work order with id ${e.workOrderId}`:e.notificationId?`Failed to fetch notification with id ${e.notificationId}`:e.punchId?`Failed to fetch punch with id ${e.punchId}`:void 0;return c.jsxs(d.Card,{variant:"danger",className:KB.errorCard,children:[c.jsxs(d.Card.Header,{className:KB.errorHeader,children:[c.jsx(d.Icon,{name:"error_outlined"}),c.jsx(d.Typography,{variant:"h6",children:"Data load failed"})]}),c.jsxs(d.Card.Content,{className:KB.errorContent,children:[t&&c.jsx(d.Typography,{variant:"h6",children:t}),c.jsx(JB,{header:"Type:",description:e.error.name}),c.jsx(JB,{header:"Description:",description:e.error.message}),c.jsx(i.BlackLink,{className:KB.serviceNowLink,href:"https://equinor.service-now.com/selfservice?id=sc_cat_item&sys_id=a1dc5f0e1b6f11d0cb5add72b24bcb3e",linkText:"Report error (ServiceNow)"})]})]})}Ad(".ErrorCard-module_errorCard__DeNQv{gap:0!important;margin:1rem;width:auto!important}.ErrorCard-module_errorHeader__XGMzu{display:flex!important;justify-content:flex-start!important;>svg{fill:var(--interactive_danger_resting)}}.ErrorCard-module_errorContent__A5GFL{display:flex!important;flex-direction:column;gap:1.5rem;margin-top:1.5rem}.ErrorCard-module_serviceNowLink__NHHTL{align-self:end}.ErrorCard-module_label__-t5wP{display:flex;flex-direction:column;gap:6px}.ErrorCard-module_labelDescription__KDS-A{margin:0!important}");var $B=Be,eD=TypeError,tD=ve.match(/firefox\/(\d+)/i),nD=!!tD&&+tD[1],rD=/MSIE|Trident/.test(ve),oD=ve.match(/AppleWebKit\/(\d+)\./),iD=!!oD&&+oD[1],aD=_o,sD=G,lD=Fe,cD=st,uD=Mr,dD=function(e,t){if(!delete e[t])throw new eD("Cannot delete property "+$B(t)+" of "+$B(e))},mD=as,pD=S,hD=qf,fD=bB,gD=nD,vD=rD,yD=_e,xD=iD,bD=[],CD=sD(bD.sort),ID=sD(bD.push),ED=pD((function(){bD.sort(void 0)})),_D=pD((function(){bD.sort(null)})),AD=fD("sort"),wD=!pD((function(){if(yD)return yD<70;if(!(gD&&gD>3)){if(vD)return!0;if(xD)return xD<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)bD.push({k:t+r,v:n})}for(bD.sort((function(e,t){return t.v-e.v})),r=0;r<bD.length;r++)t=bD[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));aD({target:"Array",proto:!0,forced:ED||!_D||!AD||!wD},{sort:function(e){void 0!==e&&lD(e);var t=cD(this);if(wD)return void 0===e?CD(t):CD(t,e);var n,r,o=[],i=uD(t);for(r=0;r<i;r++)r in t&&ID(o,t[r]);for(hD(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:mD(t)>mD(n)?1:-1}}(e)),n=uD(o),r=0;r<n;)t[r]=o[r++];for(;r<i;)dD(t,r++);return t}});var SD=G(1..valueOf),kD=Ar,jD=as,ND=re,TD=RangeError,PD=function(e){var t=jD(ND(this)),n="",r=kD(e);if(r<0||r===1/0)throw new TD("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n},OD=_o,MD=G,LD=Ar,BD=SD,DD=PD,RD=S,zD=RangeError,FD=String,HD=Math.floor,qD=MD(DD),UD=MD("".slice),GD=MD(1..toFixed),WD=function(e,t,n){return 0===t?n:t%2==1?WD(e,t-1,n*e):WD(e*e,t/2,n)},QD=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=HD(o/1e7)},YD=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=HD(r/t),r=r%t*1e7},VD=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=FD(e[t]);n=""===n?r:n+qD("0",7-r.length)+r}return n};OD({target:"Number",proto:!0,forced:RD((function(){return"0.000"!==GD(8e-5,3)||"1"!==GD(.9,0)||"1.25"!==GD(1.255,2)||"1000000000000000128"!==GD(0xde0b6b3a7640080,0)}))||!RD((function(){GD({})}))},{toFixed:function(e){var t,n,r,o,i=BD(this),a=LD(e),s=[0,0,0,0,0,0],l="",c="0";if(a<0||a>20)throw new zD("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return FD(i);if(i<0&&(l="-",i=-i),i>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(i*WD(2,69,1))-69)<0?i*WD(2,-t,1):i/WD(2,t,1),n*=4503599627370496,(t=52-t)>0){for(QD(s,0,n),r=a;r>=7;)QD(s,1e7,0),r-=7;for(QD(s,WD(10,r,1),0),r=t-1;r>=23;)YD(s,1<<23),r-=23;YD(s,1<<r),QD(s,1,1),YD(s,2),c=VD(s)}else QD(s,0,n),QD(s,1<<-t,0),c=VD(s)+qD("0",a);return c=a>0?l+((o=c.length)<=a?"0."+qD("0",a-o)+c:UD(c,0,o-a)+"."+UD(c,o-a)):l+c}});var ZD=A,KD=S,JD=as,XD=rC.trim,$D=Zb,eR=G("".charAt),tR=ZD.parseFloat,nR=ZD.Symbol,rR=nR&&nR.iterator,oR=1/tR($D+"-0")!=-1/0||rR&&!KD((function(){tR(Object(rR))}))?function(e){var t=XD(JD(e)),n=tR(t);return 0===n&&"-"===eR(t,0)?-0:n}:tR;function iR({files:e,fileType:t="pdf",viewCode:n="v",className:r}){const o=e.filter((e=>e.fileName.toLowerCase().endsWith(t.toLowerCase())));if(!o||o.length<=0)return null;const i=o.filter((e=>e.prodViewCode.toLowerCase()===n.toLowerCase())).sort(((e,t)=>e.fileOrder-t.fileOrder))[0];if(!i)return null;const a=aR(i.fileSize);return c.jsx("span",{className:r,children:a})}function aR(e,t=1){if(0===e)return"0 Bytes";const n=t<0?0:t,r=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,r)).toFixed(n))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}_o({global:!0,forced:parseFloat!==oR},{parseFloat:oR});var sR,lR,cR="InfoBlock-module_container__ysAHg",uR="InfoBlock-module_stretchedContainer__g5ff7 InfoBlock-module_container__ysAHg",dR="InfoBlock-module_fitContainer__DkMzF InfoBlock-module_container__ysAHg",mR="InfoBlock-module_headerLabel__YWbN0",pR="InfoBlock-module_content__jR-Rm";function hR({label:t,stretched:n=!1,fit:r=!1,children:o,contentClassName:a}){const s=e.isMobileDevice(),l=i.classnames(pR,a);return c.jsxs("div",{style:!n&&s?{width:"50%"}:void 0,className:n?uR:r?dR:cR,children:[c.jsx("dt",{className:mR,children:t}),c.jsx("dd",{className:l,children:o})]})}function fR(e){if(!e)return"-";"string"==typeof e&&(e=new Date(e));const t=e.toLocaleDateString("en-GB");return t.toLowerCase().includes("invalid date")?t:function(e){const t=e.toUTCString();return"Thu, 01 Jan 1970 00:00:00 GMT"===t}(e)?"-":t}function gR(e){return e.split(".").pop()}Ad(".InfoBlock-module_container__ysAHg{padding:.5rem;width:13.125rem;word-break:break-all}.InfoBlock-module_stretchedContainer__g5ff7{width:100%}.InfoBlock-module_fitContainer__DkMzF{width:16.25rem}.InfoBlock-module_headerLabel__YWbN0{font-size:.625rem;font-weight:500;line-height:1rem;text-transform:uppercase;word-break:break-word}.InfoBlock-module_content__jR-Rm{margin:0}"),function(e){e.pid="pid",e.iso="iso",e.did="did",e.scd="scd",e.causeEffect="causeEffect",e.fpds="fpds",e.layout="layout",e.loop="loop",e.blockDiagram="blockDiagram",e.wire="wire",e.detail="detail",e.other="other"}(sR||(sR={})),exports.WorkItemType=void 0,(lR=exports.WorkItemType||(exports.WorkItemType={}))[lR.Notifications=0]="Notifications",lR[lR.WorkOrders=1]="WorkOrders",lR[lR.Punches=2]="Punches",lR[lR.Operations=3]="Operations",lR[lR.Equipment=4]="Equipment";var vR,yR,xR=A;_o({global:!0,forced:xR.globalThis!==xR},{globalThis:xR}),function(e){e.Module="Module",e.Synergi="Synergi",e.SafeX="SafeX"}(vR||(vR={})),function(e){e[e.Invalid=0]="Invalid",e[e.LocalDevelopment=1]="LocalDevelopment",e[e.EchoDevelopment=2]="EchoDevelopment",e[e.QA=3]="QA",e[e.Prod=4]="Prod"}(yR||(yR={}));class bR{constructor({moduleName:e,analytics:t,logLevelOverride:n}){this._moduleName=e,this._analytics=t,this._logLevelOverride=n,this._logLevel=this.setInitialLogLevel()}set overrideLogLevel(e){globalThis.localStorage.setItem(`${this._moduleName}.logOverride`,String(e))}getLogLevelOverride(){var e;return Number(null!==(e=globalThis.localStorage.getItem(`${this._moduleName}.logOverride`))&&void 0!==e?e:this._logLevel)}track(e){this._analytics.trackEvent(e)}trackError(e){this._analytics.logError(e)}log(e,t){this._logLevel>yR[e]||t()}setInitialLogLevel(){const e=globalThis.location;return"echo.equinor.com"===e.host?yR.Prod:"dt-echopedia-web-qa.azurewebsites.net"===e.host||"dt-echopedia-web-test.azurewebsites.net"===e.host||"dt-echopedia-web-test2.azurewebsites.net"===e.host?yR.QA:"dt-echopedia-web-dev.azurewebsites.net"===e.host?yR.EchoDevelopment:e.host.includes("localhost")||e.host.includes("loca.lt")?yR.LocalDevelopment:yR.Invalid}}const CR="Prepview",IR=localStorage.getItem(`${CR}.logOverride`),ER=new class extends bR{constructor(e){super(Qm(e,[]))}trackEvent(e,t,n){const r=this._analytics.createEventLog(e,t,n);r&&this.track(r)}moduleStarted(){this.trackEvent(vR.Module,"Started",{message:this._moduleName+" has started."})}synergiOpened(e){this.trackEvent(vR.Synergi,"Application opened",e)}openSafeX(e){this.trackEvent(vR.SafeX,"Application opened",e)}}({moduleName:CR,analytics:n.analytics.createAnalyticsModule(CR),logLevelOverride:IR?Number(IR):void 0}),_R=(e,t,n="-")=>{const r=e[t];return r?String(r):n};function AR(e,t){return e.length>t?e.substring(0,t)+"...":e}var wR="DescriptionBlock-module_container__RYhNe",SR="DescriptionBlock-module_header__FY-Mv",kR="DescriptionBlock-module_horizontalHeader__q8DMy DescriptionBlock-module_header__FY-Mv",jR="DescriptionBlock-module_headerText__u7DV1",NR="DescriptionBlock-module_content__cIfFc",TR="DescriptionBlock-module_longTextButton__H5y8C";function PR({itemId:e,itemType:t,shortText:n,longText:r,contentClassName:o}){const{orientation:a,showLongTextClicked:s}=uB(),l=a===i.SideSheetOrientation.Vertical?SR:kR,u=i.classnames(NR,o),m=t===exports.WorkItemType.Operations?"Long text":"Long desc.";return c.jsxs("div",{className:wR,children:[c.jsxs("dt",{className:l,children:[c.jsx("div",{className:jR,children:"Short Description"}),s&&r&&c.jsx(d.EdsProvider,{density:"compact",children:c.jsxs(d.Button,{className:TR,variant:"outlined",onClick:()=>s(e,t,r),children:[c.jsx(d.Icon,{name:"sap_activity_reviewed",color:"var(--equiGreen1)",size:18}),m]})})]}),c.jsx("dd",{className:u,children:n})]})}function OR({items:e}){return 0===e.length?c.jsx(c.Fragment,{children:"-"}):c.jsx(c.Fragment,{children:e.map(((e,t)=>c.jsx("div",{children:e},e+t)))})}Ad(".DescriptionBlock-module_container__RYhNe{padding:.5rem;width:100%}.DescriptionBlock-module_header__FY-Mv{align-items:baseline;display:flex;font-size:.625rem;justify-content:space-between;line-height:1rem;margin-bottom:.1rem}.DescriptionBlock-module_horizontalHeader__q8DMy{width:40%}.DescriptionBlock-module_headerText__u7DV1{font-weight:500;text-transform:uppercase;word-break:break-word}.DescriptionBlock-module_content__cIfFc{margin:0}.DescriptionBlock-module_longTextButton__H5y8C{padding:0 .5rem}");var MR="InfoSection-module_container__xp9xb";function LR({children:e}){return c.jsx("dl",{className:MR,children:e})}Ad(".InfoSection-module_container__xp9xb{display:flex;flex-direction:column;flex-flow:wrap;width:100%}");var BR="ShowMore-module_showMoreBlock__2RqLr";Ad(".ShowMore-module_showMoreBlock__2RqLr{align-items:center;background:none!important;display:flex;justify-content:center;padding:.5rem}");const DR=({isActive:e,onClick:t})=>c.jsx("div",{className:BR,children:c.jsx(d.EdsProvider,{density:"compact",children:c.jsxs(d.Button,{variant:"outlined",onClick:t,children:[e?"Show less":"Show all",c.jsx(d.Icon,{name:e?"chevron_up":"chevron_down",size:16})]})})});var RR="StatusLabel-module_statusContainer__fd-Qn",zR="StatusLabel-module_statusText__E4ljD",FR="StatusLabel-module_completedIndicator__ZahsJ",HR="StatusLabel-module_activeIndicator__s0BiG";function qR({isActive:e,fontLarge:t}){return c.jsxs("div",{className:RR,role:"status",children:[c.jsx("span",{className:e?HR:FR}),c.jsx(d.Typography,{variant:"chart",group:"ui",className:zR,style:t?{fontSize:"1rem"}:void 0,children:e?"Active":"Completed"})]})}function UR(t,n=[]){const[o,i]=r.useState(),[a,s]=r.useState(!1),[l,c]=r.useState();return e.useEffectAsync((e=>Ym(this,void 0,void 0,(function*(){s(!0);try{const n=yield t();e.aborted||i(n)}catch(t){e.aborted||c(t)}finally{e.aborted||s(!1)}}))),n),[o,a,l]}function GR(e,t){const[n,o]=r.useState(!1),[i,a]=r.useState(void 0),[s,l]=r.useState(void 0);function c(e){const n=document.createElement("a");n.download=null!=t?t:"",n.href=e,n.click()}return r.useEffect((()=>()=>{s&&globalThis.URL.revokeObjectURL(s)}),[s]),{isLoading:n,error:i,objectUrl:s,downloadOnClick:function(){return Ym(this,void 0,void 0,(function*(){if(s)c(s);else{o(!0);try{const t=yield e(),n=globalThis.URL.createObjectURL(t);l(n),c(n)}catch(e){a(e)}finally{o(!1)}}}))}}}Ad(".StatusLabel-module_statusContainer__fd-Qn{align-items:center;display:inline-flex;gap:6px}.StatusLabel-module_statusText__E4ljD{font-size:.875rem;line-height:1!important;margin-left:.25rem;overflow:initial!important}.StatusLabel-module_activeIndicator__s0BiG,.StatusLabel-module_completedIndicator__ZahsJ{border-radius:50%;height:.75rem;width:.75rem}.StatusLabel-module_activeIndicator__s0BiG{background-color:#ff9200}.StatusLabel-module_completedIndicator__ZahsJ{background-color:#4bb748}");var WR="DetailsNotification-module_content__-iEqZ",QR="DetailsNotification-module_mobileContent__HgTsI DetailsNotification-module_content__-iEqZ",YR="DetailsNotification-module_infoBlockSpacing__2Ua7D",VR="DetailsNotification-module_markedContent__-wr3k";function ZR({details:t}){const{tagClicked:n}=uB(),r=e.isMobileDevice(),o=i.classnames({[QR]:r,[WR]:!r}),a=i.setUnsafeFailureColor(t.unsafeFailureMode),s=i.setRequiredEndDateColor(t.requiredEndDateStatus),l=i.setFailureImpactColor(t.failureImpact),u=i.setPriorityColor(t.priorityId);return c.jsxs("div",{className:o,children:[t.title&&c.jsx(PR,{itemId:rb(t.id),itemType:exports.WorkItemType.Notifications,shortText:t.title,longText:t.longText}),c.jsxs(LR,{children:[c.jsx(hR,{label:"SAP Status",children:_R(t,"activeStatusIds")}),c.jsx(hR,{label:"Notif. date",children:fR(t.createdDateTime)}),c.jsx(hR,{label:"Tag",children:t.tagId?c.jsx(i.CompactIconLink,{title:t.tagId,meta:t.tagCategory,onClickHandler:()=>n(t.tagId,t.instCode),icon:"tag"}):"-"}),c.jsx(hR,{label:"Unsafe Fail Mode",contentClassName:YR,children:c.jsx(i.MarkedContent,{backgroundColor:a.background,textColor:a.color,className:VR,children:"MADE_SAFE"===t.unsafeFailureMode?"Unsafe made safe":"IN_PAST"===t.unsafeFailureMode?"Unsafe in past":"OUTSTANDING"===t.unsafeFailureMode?"Unsafe":"Unknown"})}),c.jsx(hR,{label:"Planner group ID",children:_R(t,"plannerGroup")}),c.jsx(hR,{label:"Main work center",children:_R(t,"mainWorkCenter")}),c.jsx(hR,{label:"Failure impact",contentClassName:YR,children:t.failureImpact?c.jsx(i.MarkedContent,{backgroundColor:l.background,textColor:l.color,className:VR,children:_R(t,"failureImpact")}):"-"}),c.jsx(hR,{label:"Plant",children:_R(t,"plantId")}),c.jsx(hR,{label:"Req. end date",contentClassName:YR,children:t.requiredEndDateTime?c.jsx(i.MarkedContent,{backgroundColor:s.background,textColor:s.color,className:VR,children:fR(t.requiredEndDateTime)}):"-"}),c.jsx(hR,{label:"Priority",contentClassName:YR,children:c.jsx(i.MarkedContent,{backgroundColor:u.background,textColor:u.color,className:VR,children:"L"===t.priorityId?"Low":"M"===t.priorityId?"Medium":"H"===t.priorityId?"High":"Unknown"})}),c.jsx(hR,{label:"Detect mthd",stretched:!0,children:_R(t,"detectionMethodId")}),c.jsx(hR,{label:"Failure mode",stretched:!0,children:_R(t,"failureMode")}),c.jsx(hR,{label:"Fail mech",stretched:!0,children:_R(t,"failureMechanism")})]})]})}Ad(".DetailsNotification-module_content__-iEqZ{padding:24px}.DetailsNotification-module_content__-iEqZ>dl{margin-top:0}.DetailsNotification-module_mobileContent__HgTsI{height:100%}.DetailsNotification-module_topRow__uDCVs{display:flex}.DetailsNotification-module_verticalTopRow__TTpMH{justify-content:space-between}.DetailsNotification-module_mobileButtonContainer__Yj-FL{align-items:center;display:flex}.DetailsNotification-module_longTextButtonMobile__wi3eL{padding:0 .5rem}.DetailsNotification-module_longTextButtonMobile__wi3eL>span{grid-gap:4px}.DetailsNotification-module_longTextButtonVertical__F98HY>span{grid-gap:4px;min-width:128px}.DetailsNotification-module_longTextButtonStretched__OwrIk{margin-left:80px}.DetailsNotification-module_infoBlockSpacing__2Ua7D{margin-top:4px}.DetailsNotification-module_markedContent__-wr3k{line-height:1.5rem;padding:4px 8px}");const KR={Active:{background:"var(--strongOrange)",color:"#000"},Completed:{background:"var(--strongGreen)",color:"#000"}},JR={background:"var(--echoText)",color:"#FFF"},XR={Expired:{background:"var(--strongDarkRed)",color:"#FFF"},WithinSevenDays:{background:"var(--strongRed)",color:"#FFF"},EightDaysToOneMonth:{background:"var(--strongOrange)",color:"#000"},OneToThreeMonths:{background:"var(--weakOrange)",color:"#000"},ThreeToSixMonths:{background:"var(--weakMediumGreen)",color:"#000"},SixToTwelveMonths:{background:"var(--strongGreen)",color:"#000"},InMoreThanOneYear:{background:"var(--strongDarkGreen)",color:"#FFF"},Unknown:{background:"var(--strongGray)",color:"#000"},Completed:{background:"var(--weakGrey)",color:"#000"}},$R={STRT:{background:"var(--random1)",color:"#000"},PRCO:{background:"var(--random2)",color:"#000"},RDEX:{background:"var(--strongOrange)",color:"#000"},PREP:{background:"var(--random4)",color:"#000"},RDOP:{background:"var(--strongDarkRed)",color:"#fff"},Other:{background:"var(--weakGrey)",color:"#000"}},ez={Expired:{background:"var(--strongDarkRed)",color:"#fff"},WithinSevenDays:{background:"var(--strongRed)",color:"#fff"},EightDaysToOneMonth:{background:"var(--strongOrange)",color:"#000"},OneToThreeMonths:{background:"var(--weakOrange)",color:"#000"},ThreeToSixMonths:{background:"var(--weakMediumGreen)",color:"#000"},SixToTwelveMonths:{background:"var(--strongGreen)",color:"#000"},InMoreThanOneYear:{background:"var(--strongDarkGreen)",color:"#fff"},Completed:{background:"var(--weakGrey)",color:"#000"},Unknown:{background:"var(--strongGray)",color:"#000"}},tz={D:{background:"var(--strongDarkRed)",color:"#FFF"},S:{background:"var(--strongRed)",color:"#FFF"},U:{background:"var(--strongOrange)",color:"#000"},X:{background:"var(--strongGreen)",color:"#000"},"":{background:"var(--weakGrey)",color:"#000"}};var nz,rz,oz;function iz(e,t,n,r){let o;switch(e){case nz.FailureImpact:o=r?tz[function(e){return e.includes("No Failure")?"X":e.includes("Seriously")?"S":e.includes("Dead")?"D":e.includes("Unwell")?"U":""}(r)]:tz[""];break;case nz.RequiredEndDateStatus:o=n?XR[n]:XR.Unknown;break;case nz.Count:o=JR;break;case nz.Status:default:o=t?KR.Active:KR.Completed}return o}function az(e,t,n,r,o){if(!e)return;let i;switch(e){case rz.Status:i=t?KR.Active:KR.Completed;break;case rz.RequiredEndDateStatus:i=n?XR[n]:XR.Unknown;break;case rz.WorkOrderCount:i=JR;break;case rz.BasicFinishDateStatus:i=r?ez[r]:ez.Unknown;break;case rz.UserStatus:i=o?$R[o]:$R.Other}return i}!function(e){e.Status="Status",e.FailureImpact="FailureImpact",e.RequiredEndDateStatus="RequiredEndDateStatus",e.Count="Count"}(nz||(nz={})),function(e){e.Status="Status",e.RequiredEndDateStatus="RequiredEndDateStatus",e.WorkOrderCount="Count",e.Operations="Operations",e.UserStatus="UserStatus",e.BasicFinishDateStatus="BasicFinishDateStatus"}(rz||(rz={})),function(e){e.EquipmentGroup="EquipmentGroup",e.Count="Count"}(oz||(oz={}));var sz="NotificationHeader-module_verticalContainer__tU2dj",lz="NotificationHeader-module_container__C05Hq",cz="NotificationHeader-module_notificationHeaderNav__yChLG",uz="NotificationHeader-module_divider__FPzNs";function dz(e,t){const n=e;return t&&(n.hasAttachment=t.hasAttachment,n.hasB30Document=t.hasB30Document,n.hasActivityLongText=t.hasActivityLongText),n}function mz({notificationDetails:t,headerAction:n}){const{orientation:r,currentNotificationLegendOption:o}=uB(),a=e.isMobileDevice(),s=r===i.SideSheetOrientation.Vertical||a,[l]=UR((()=>Ym(this,void 0,void 0,(function*(){return MB(t.id)}))),[t.id]),u=iz(o,t.isActive,t.requiredEndDateStatus,t.failureImpact),m=`https://notifications.equinor.com/notification-view/${t.type}/${rb(t.id)}`,p=`https://p03web.statoil.no/sap/bc/gui/sap/its/webgui?sap-client=505&sap-language=EN&~transaction=*iw23%20RIWO00-QMNUM=\n ${t.id}#`,h=t.title?`https://safex.equinor.com/search?keyword=${t.title}`:"https://safex.equinor.com",f=`https://opt.equinor.com/platform/${t.plantId}/wo/plan`,g=i.classnames({[sz]:s,[lz]:!s});return c.jsxs("div",{className:g,children:[c.jsx(i.NotificationListItem,{notification:dz(t,l),isHeader:!0,itemAction:n,colorMap:u}),c.jsxs("nav",{className:cz,children:[c.jsx(i.BlackLink,{href:h,linkText:"SafeX",tooltipText:"Go to SafeX"}),c.jsx(i.BlackLink,{href:f,linkText:"OPT",tooltipText:"Go to OPT"}),c.jsx(i.BlackLink,{href:m,linkText:"NO app",tooltipText:"Go to NO application"}),c.jsx(i.BlackLink,{href:p,linkText:"SAP",tooltipText:"Go to SAP"})]}),c.jsx(d.Divider,{className:uz})]})}Ad(".NotificationHeader-module_verticalContainer__tU2dj>div{border-bottom:0}.NotificationHeader-module_container__C05Hq{padding-top:16px}.NotificationHeader-module_container__C05Hq>div{border-bottom:0}.NotificationHeader-module_notificationHeaderNav__yChLG{display:flex;flex-direction:row;gap:.5rem;justify-content:flex-end;margin:0 1.5rem}.NotificationHeader-module_divider__FPzNs{background-color:var(--dividerColor);margin-bottom:0;margin-top:4px!important}");const pz=n.analytics.createAnalyticsModule("ep");function hz(e){n.handleErrors(e,pz)}function fz(e){if(!e)return!1;return!!e.match(/.(jpg|jpeg|png)$/i)}var gz="spinner-module_container__Z5jLY",vz="spinner-module_spinner__MucxX",yz="spinner-module_label__PgrJv";Ad(".spinner-module_container__Z5jLY{display:inline;position:relative}.spinner-module_spinner__MucxX{font-size:1em;margin:auto 0;min-height:2.1rem;padding:2rem 0;text-align:center}.spinner-module_label__PgrJv{color:var(--echoText);font-family:var(--eq-echo-font-family);font-size:1.5em;margin-top:.5rem;text-align:center}.spinner-module_verticalAlignMiddle__uLIuI{vertical-align:middle!important}");const xz=({label:e,className:t,size:n})=>c.jsxs("div",{className:gz,children:[c.jsx("div",{className:`${t} ${vz}`,children:c.jsx(d.Progress.Circular,{size:n})}),e&&c.jsx("p",{className:yz,children:e})]});var bz="Attachments-module_notFoundPanel__ZpNH7",Cz="Attachments-module_content__gB-pG",Iz="Attachments-module_flex__-JRov",Ez="Attachments-module_spaceLeft__dUeqf",_z="Attachments-module_listItem__ia4L8",Az="Attachments-module_table__rThZw",wz="Attachments-module_pointer__KgeoQ",Sz="Attachments-module_itemAction__oowsD",kz="Attachments-module_fileLoadingSpinner__Fudhy";function jz({recordType:e,recordId:t,attachment:n}){var o,a;const{isWorkOrder:s}=uB(),[l,u]=r.useState(!1),{isLoading:p,error:h,downloadOnClick:f}=GR((()=>RB(e,t,n,s)),n.fileName),g=gR(n.fileName),v=n.fileName&&fz(n.fileName),[y,x]=r.useState(null),[b,C]=r.useState(!1);return c.jsxs(c.Fragment,{children:[c.jsx(i.ListItem,{className:_z,primary:n.fileName&&c.jsx("div",{children:AR(n.fileName,25)}),secondary:c.jsxs("div",{className:Iz,children:[c.jsx("div",{children:aR(Number(n.fileSize))}),c.jsx("div",{className:Ez,children:null!==(a=null===(o=fR(n.createdDateTime))||void 0===o?void 0:o.split(" ")[0])&&void 0!==a?a:"-"}),g&&c.jsx("div",{className:Ez,children:g})]}),itemAction:c.jsxs("div",{className:Sz,children:[v&&(b?c.jsx(xz,{className:kz,size:16}):c.jsx(d.Button,{variant:"outlined",onClick:()=>Ym(this,void 0,void 0,(function*(){C(!0);try{const r=yield RB(e,t,n,s),o=URL.createObjectURL(r);x(o),u(!0)}catch(e){throw hz(e),e}finally{C(!1)}})),style:{marginRight:"var(--xSmall)"},children:"View file"})),c.jsx(d.Button,{variant:"ghost_icon",onClick:f,children:h?c.jsx(d.Icon,{size:24,name:"error_outlined"}):p?c.jsx(d.CircularProgress,{size:24}):c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"download"})})]})}),y&&m.createPortal(c.jsx(i.MediaViewer,{title:n.fileName,showPrevIcon:!1,showNextIcon:!1,onClose:()=>{u(!1)},open:!!l,children:c.jsx("img",{src:y,alt:"Attachment"})}),Jp.domSelector,Jp.portalId)]})}function Nz({recordType:e,recordId:t,attachments:n}){return c.jsxs(d.Table,{className:Az,children:[c.jsx(d.Table.Head,{sticky:!0,children:c.jsxs(d.Table.Row,{children:[c.jsx(d.Table.Cell,{children:"Document name"}),c.jsx(d.Table.Cell,{children:"Size"}),c.jsx(d.Table.Cell,{children:"Uploaded"}),c.jsx(d.Table.Cell,{children:"Doc type"}),c.jsx(d.Table.Cell,{children:"Download"})]})}),c.jsx(d.Table.Body,{children:null==n?void 0:n.map((n=>c.jsx(Tz,{recordType:e,recordId:t,attachment:n},n.id)))})]})}function Tz({recordType:e,recordId:t,attachment:n}){var r,o;const{isWorkOrder:a}=uB(),{isLoading:s,error:l,downloadOnClick:u}=GR((()=>RB(e,t,n,a)),n.fileName),m=gR(n.fileName);return c.jsxs(d.Table.Row,{onClick:u,className:wz,children:[c.jsx(d.Table.Cell,{children:_R(n,"fileName")}),c.jsx(d.Table.Cell,{children:aR(Number(n.fileSize))}),c.jsx(d.Table.Cell,{children:null!==(o=null===(r=fR(n.createdDateTime))||void 0===r?void 0:r.split(" ")[0])&&void 0!==o?o:"-"}),c.jsx(d.Table.Cell,{children:m&&c.jsx("div",{className:Ez,children:m})}),c.jsx(d.Table.Cell,{children:l?c.jsx(d.Icon,{size:24,name:"error_outlined"}):s?c.jsx(d.CircularProgress,{size:24}):c.jsx(d.Icon,{color:i.themeConst.asBuilt,name:"download"})})]})}function Pz({recordId:t,recordType:n,isWorkOrder:r}){const{orientation:o}=uB(),a=e.isMobileDevice(),s=o===i.SideSheetOrientation.Vertical||a,[l,u,d]=UR((()=>Ym(this,void 0,void 0,(function*(){return DB(t,r)}))),[t]);return d instanceof Error?c.jsx(XB,{error:d,workOrderId:r?t:void 0,notificationId:r?void 0:t}):u?c.jsx(VB,{}):l&&l.length>0?c.jsx("div",{className:Cz,children:s?l.map((e=>c.jsx(jz,{recordType:n,recordId:t,attachment:e},e.id))):c.jsx(Nz,{recordType:n,recordId:t,attachments:l})}):c.jsx("div",{className:bz,children:c.jsx(ZB,{text:"No attachments found."})})}Ad(".Attachments-module_container__ciN2D{align-items:center;border-bottom:1px solid var(--default);border-top:1px solid var(--default);display:grid;gap:1rem;grid-template-columns:1fr auto;padding:14px}.Attachments-module_title__toBVk{color:initial;font-size:1rem;pointer-events:none;text-decoration-line:unset}.Attachments-module_link__tuD2O{color:var(--asBuilt);pointer-events:auto;text-decoration-line:underline}.Attachments-module_notFoundPanel__ZpNH7{padding:24px}.Attachments-module_content__gB-pG{padding-top:20px}.Attachments-module_flex__-JRov{display:flex;font-size:12px}.Attachments-module_spaceLeft__dUeqf{margin-left:24px}.Attachments-module_listItem__ia4L8{padding:16px!important}.Attachments-module_listItem__ia4L8>div{gap:.5rem}.Attachments-module_table__rThZw{padding-left:20px;width:100%}.Attachments-module_pointer__KgeoQ{cursor:pointer}.Attachments-module_itemAction__oowsD{align-items:center;display:flex}.Attachments-module_fileLoadingSpinner__Fudhy{align-items:center;display:flex;font-size:1.25em;height:36px;padding:0 var(--medium) 0 0}");var Oz="Operations-module_notFoundPanel__PuZSF",Mz="Operations-module_content__Yd1m1",Lz="Operations-module_table__ZItO0",Bz="Operations-module_panel__N0Ayf",Dz="Operations-module_header__MbvTk";function Rz({operation:e}){var t,n;const{workOrderOperationId:r}=uB(),o=e.activeStatusIds.includes("TECO")||e.activeStatusIds.includes("CANC");return c.jsxs(d.Accordion.Item,{isExpanded:r===e.operationNumber,children:[c.jsx(d.Accordion.Header,{className:Dz,children:c.jsxs(d.Accordion.HeaderTitle,{children:[e.operationNumber," - ",e.title]})}),c.jsx(d.Accordion.Panel,{className:Bz,children:c.jsxs(LR,{children:[e.title&&c.jsx(PR,{itemId:e.operationNumber,itemType:exports.WorkItemType.Operations,shortText:e.title,longText:e.longText}),c.jsx(hR,{label:"Work center",children:_R(e,"workCenterId")}),c.jsx(hR,{label:"Plant",children:_R(e,"plantName")}),c.jsx(hR,{label:"System status",children:_R(e,"activeStatusIds")}),c.jsx(hR,{label:"Status",children:c.jsx(qR,{fontLarge:!0,isActive:!o})}),c.jsx(hR,{label:"Early start",children:null!==(t=fR(e.earliestStartDateTime))&&void 0!==t?t:"-"}),c.jsx(hR,{label:"Early finish",children:null!==(n=fR(e.earliestFinishDateTime))&&void 0!==n?n:"-"}),c.jsx(hR,{label:"Duration",children:_R(e,"plannedDuration")}),c.jsx(hR,{label:"Planned hrs",children:_R(e,"plannedWorkHours")}),c.jsx(hR,{label:"Actual hrs",children:_R(e,"actualWorkHours")}),c.jsx(hR,{label:"Progress",children:`${e.actualPercentageComplete} %`}),c.jsx(hR,{label:"Execut. fact.",children:e.capacityCount})]})})]})}function zz({operations:e}){return c.jsxs(d.Table,{className:Lz,children:[c.jsx(d.Table.Head,{sticky:!0,children:c.jsxs(d.Table.Row,{children:[c.jsx(d.Table.Cell,{children:"Activity"}),c.jsx(d.Table.Cell,{children:"Operation short text"}),c.jsx(d.Table.Cell,{}),c.jsx(d.Table.Cell,{children:"Work center"}),c.jsx(d.Table.Cell,{children:"Plant"}),c.jsx(d.Table.Cell,{children:"Sys. status"}),c.jsx(d.Table.Cell,{children:"Status"}),c.jsx(d.Table.Cell,{children:"Early start"}),c.jsx(d.Table.Cell,{children:"Early finish"}),c.jsx(d.Table.Cell,{children:"Duration"}),c.jsx(d.Table.Cell,{children:"Planned hrs"}),c.jsx(d.Table.Cell,{children:"Actual hrs"}),c.jsx(d.Table.Cell,{children:"Progress"}),c.jsx(d.Table.Cell,{children:"Execut. fact"})]})}),c.jsx(d.Table.Body,{children:null==e?void 0:e.map(((e,t)=>c.jsx(Fz,{operation:e},e.operationNumber+t)))})]})}function Fz({operation:e}){var t,n;const{showLongTextClicked:r}=uB(),o=e.activeStatusIds.includes("TECO")||e.activeStatusIds.includes("CANC");return c.jsxs(d.Table.Row,{children:[c.jsx(d.Table.Cell,{children:_R(e,"operationNumber")}),c.jsx(d.Table.Cell,{children:_R(e,"title")}),c.jsx(d.Table.Cell,{children:e.longText&&r&&c.jsx(d.Tooltip,{placement:"bottom-start",title:"Long text",children:c.jsx(d.Button,{variant:"ghost",onClick:()=>r(e.operationNumber,exports.WorkItemType.Operations,e.longText),children:c.jsx(d.Icon,{name:"sap_activity_reviewed",color:"var(--equiGreen1)",size:24})})})}),c.jsx(d.Table.Cell,{children:_R(e,"workCenterId")}),c.jsx(d.Table.Cell,{children:_R(e,"plantName")}),c.jsx(d.Table.Cell,{children:_R(e,"activeStatusIds")}),c.jsx(d.Table.Cell,{children:c.jsx(qR,{isActive:!o})}),c.jsx(d.Table.Cell,{children:null!==(t=fR(e.earliestStartDateTime))&&void 0!==t?t:"-"}),c.jsx(d.Table.Cell,{children:null!==(n=fR(e.earliestFinishDateTime))&&void 0!==n?n:"-"}),c.jsx(d.Table.Cell,{children:_R(e,"plannedDuration")}),c.jsx(d.Table.Cell,{children:_R(e,"plannedWorkHours")}),c.jsx(d.Table.Cell,{children:_R(e,"actualWorkHours")}),c.jsx(d.Table.Cell,{children:`${e.actualPercentageComplete} %`}),c.jsx(d.Table.Cell,{children:_R(e,"capacityCount")})]})}function Hz({workOrderId:t}){const{orientation:n}=uB(),r=e.isMobileDevice(),o=n===i.SideSheetOrientation.Vertical||r,[a,s,l]=UR((()=>Ym(this,void 0,void 0,(function*(){return UB(t)}))),[t]);return l instanceof Error?c.jsx(XB,{error:l,workOrderId:t}):s?c.jsx(VB,{}):a&&a.length>0?c.jsx("div",{className:Mz,children:o?c.jsx(WB,{children:a.map((e=>c.jsx(Rz,{operation:e},`${e.operationNumber}-${e.workCenterId}`)))}):c.jsx(zz,{operations:a})}):c.jsx("div",{className:Oz,children:c.jsx(ZB,{text:"No operations found."})})}Ad(".Operations-module_notFoundPanel__PuZSF{padding:24px}.Operations-module_content__Yd1m1{padding-bottom:20px}.Operations-module_table__ZItO0{padding-left:20px;width:100%}.Operations-module_panel__N0Ayf{background:var(--searchBarBackground)!important}.Operations-module_panel__N0Ayf>dl{margin-top:0}.Operations-module_header__MbvTk{color:var(--echoText)}.Operations-module_header__MbvTk button[aria-expanded=true] span{color:var(--echoText);font-weight:700}.Operations-module_header__MbvTk>button>svg{fill:var(--tertiaryText)}.Operations-module_longTextButtonContainer__2AX4m{display:flex;justify-content:end}");var qz="VerticalTabsSplitView-module_activeGroup__3Ux-z",Uz="VerticalTabsSplitView-module_description__lt-DL",Gz="VerticalTabsSplitView-module_section__-Dlsv",Wz="VerticalTabsSplitView-module_notFoundPanel__GXzef",Qz="VerticalTabsSplitView-module_splitViewLeft__eEUlo",Yz="VerticalTabsSplitView-module_emptyTab__cDja-";function Vz({groups:e,listItemStyle:t,infoLabelText:n,actionRow:o}){const[a,s]=r.useState({});return r.useEffect((()=>{if(e.length>0){const t=e.flatMap((e=>e.items)).find((e=>e.amountOfItems>0));if(t)s(t);else{const t=e.flatMap((e=>e.items))[0];t&&s(t)}}}),[e]),c.jsxs(i.SplitView,{children:[c.jsx(i.SplitView.Left,{className:Qz,isMinimizable:!1,children:c.jsxs(c.Fragment,{children:[n&&c.jsx(tL,{text:n}),o&&o,e.map(((e,n)=>c.jsxs("div",{children:[e.title&&c.jsx("div",{className:Uz,children:e.title}),e.items.length>0?c.jsx("div",{className:Gz,children:e.items.map((e=>0===e.amountOfItems?c.jsx("div",{className:Yz,children:e.noItemsInTabsTitle?e.noItemsInTabsTitle:`No ${e.title.toLowerCase()} found`},e.id):c.jsx("div",{className:e.id===a.id?qz:void 0,children:c.jsx(i.ListItem,{style:t,primary:c.jsx("div",{children:`${e.title} (${e.amountOfItems})`}),itemAction:c.jsx(d.Icon,{name:"chevron_right"}),onCardClick:()=>s(e)})},e.id)))}):c.jsx("div",{className:Wz,children:c.jsx(d.Typography,{variant:"h6",children:e.noItemsInGroupTitle?e.noItemsInGroupTitle:e.title?`No ${e.title.toLowerCase()} found`:"No items found"})})]},`group-${n}`)))]})}),c.jsx(i.SplitView.Right,{children:c.jsx(c.Fragment,{children:a.content})})]})}Ad(".VerticalTabsSplitView-module_leftPanel__Ge2WS{border-right:1px solid var(--default)}.VerticalTabsSplitView-module_activeGroup__3Ux-z{font-weight:700}.VerticalTabsSplitView-module_description__lt-DL{font-size:.6rem;font-weight:500;margin-left:15px;margin-top:16px;text-overflow:ellipsis}.VerticalTabsSplitView-module_section__-Dlsv{margin:16px 0}.VerticalTabsSplitView-module_notFoundPanel__GXzef{padding:16px 24px}.VerticalTabsSplitView-module_splitViewLeft__eEUlo{display:flex;flex-direction:column;width:350px!important}.VerticalTabsSplitView-module_emptyTab__cDja-{font-weight:500;padding:1rem}");var Zz="TagDocuments-module_notFoundPanel__LpLtZ",Kz="TagDocuments-module_revision__RHdi4",Jz="TagDocuments-module_of3Revision__oD7wg TagDocuments-module_revision__RHdi4",Xz="TagDocuments-module_panel__XyzBf",$z="TagDocuments-module_panelContent__8mPOc",eF="TagDocuments-module_content__KcpgY",tF="TagDocuments-module_primary__-zjEy",nF="TagDocuments-module_secondary__q3u1w",rF="TagDocuments-module_tertiary__URg3n",oF="TagDocuments-module_tertiaryRight__iqa-u",iF="TagDocuments-module_header__aCj4g";function aF({document:e,tagNo:t}){var r;const{instCode:o}=uB(),a=`${e.revStatus.toUpperCase()}: ${e.revNo}`;return c.jsx(i.ListItem,{onCardClick:()=>(()=>{const r={instCode:o||"",search:t,tagNo:t,docNo:e.docNo,fileId:e.files[0]?e.files[0].id.toString():"",revNo:e.revNo?e.revNo:""},i=n.EchoEnv.env().REACT_APP_WEB_URL;if(i){const e=i+kB("/viewer",r);window.open(e,"_blank")}else console.error("Could not find the environment variable REACT_APP_WEB_URL")})(),style:{padding:"10px 20px"},primary:c.jsx("div",{className:tF,children:e.docNo}),secondary:e.docTitle&&c.jsx("div",{className:nF,children:AR(e.docTitle,40)}),tertiary:c.jsxs("div",{className:rF,children:[c.jsx("div",{className:"OF: 03"===a||"OF: 3"===a?Jz:Kz,children:a}),c.jsx("span",{className:oF,children:null!==(r=fR(e.revDate))&&void 0!==r?r:"-"}),c.jsx(iR,{className:oF,files:e.files})]}),itemAction:c.jsx(d.Tooltip,{placement:"top",title:"Open document",children:c.jsx(d.Icon,{name:"external_link",color:"var(--tertiaryText)"})})})}Ad(".TagDocuments-module_notFoundPanel__LpLtZ{padding:24px}.TagDocuments-module_container__WX1Rt{border-bottom:1px solid var(--default);display:flex;flex-direction:column;gap:6px;padding:16px}.TagDocuments-module_link__h-2Tm{color:var(--asBuilt)}.TagDocuments-module_meta__STgGG{align-items:center;display:grid;font-size:12px;gap:1rem;grid-template-columns:auto auto auto;justify-items:start}.TagDocuments-module_revision__RHdi4{background-color:var(--lowSeverity);padding:0 8px}.TagDocuments-module_of3Revision__oD7wg{background-color:var(--mediumSeverity)}.TagDocuments-module_tertiarySpace__NizCk{margin-left:20px}.TagDocuments-module_panel__XyzBf{background:var(--searchBarBackground)!important;overflow-y:auto;padding:0!important}.TagDocuments-module_panelContent__8mPOc{background:#fff;margin:16px;min-width:350px}.TagDocuments-module_content__KcpgY{padding-bottom:20px}.TagDocuments-module_primary__-zjEy{font-size:var(--medium)}.TagDocuments-module_secondary__q3u1w{font-size:14px}.TagDocuments-module_tertiary__URg3n{align-items:center;display:flex;font-size:12px}.TagDocuments-module_tertiaryRight__iqa-u{margin-left:10px}.TagDocuments-module_header__aCj4g{color:var(--echoText)}.TagDocuments-module_header__aCj4g button[aria-expanded=true] span{color:var(--echoText);font-weight:700}.TagDocuments-module_header__aCj4g>button>svg{fill:var(--tertiaryText)}");const sF=(e,t)=>c.jsx("div",{className:Xz,children:c.jsx("div",{className:$z,children:e.map((e=>c.jsx(aF,{document:e,tagNo:t},`${e.docNo}:${e.revNo}`)))})});function lF({documentGroups:e,tagNo:t}){const[n,o]=r.useState([]);return r.useEffect((()=>{if(e&&e.length>0){const n=[];if(e.forEach(((e,r)=>{const o={id:r.toString(),title:e.type,amountOfItems:e.documents.length,content:sF(e.documents,t)};n.push(o)})),n.length>0){const e={items:n},t=[];t.push(e),o(t)}}}),[e,t]),c.jsx(Vz,{listItemStyle:{minHeight:"47px"},groups:n,infoLabelText:"STID documents related to the tag."})}function cF({docType:e,documents:t,tagNo:n}){return c.jsxs(d.Accordion.Item,{children:[c.jsxs(d.Accordion.Header,{className:iF,children:[e," ",c.jsxs("span",{children:["(",t.length,")"]})]}),c.jsx(d.Accordion.Panel,{className:Xz,children:c.jsx("div",{className:$z,children:t.map((e=>c.jsx(aF,{document:e,tagNo:n},`${e.docNo}:${e.revNo}`)))})})]})}function uF({itemId:t,tagNo:n,isWorkOrder:r}){const{orientation:o}=uB(),a=e.isMobileDevice(),s=o===i.SideSheetOrientation.Vertical||a,[l,u,d]=UR((()=>Ym(this,void 0,void 0,(function*(){return FB(t,r)}))),[t]);return d instanceof Error?c.jsx(XB,{error:d,workOrderId:r?t:void 0,notificationId:r?void 0:t}):u?c.jsx(VB,{}):l&&0!==l.length?s?c.jsxs(c.Fragment,{children:[c.jsx(tL,{text:"STID documents related to the tag."}),c.jsx("div",{className:eF,children:c.jsx(WB,{children:l.map(((e,t)=>c.jsx(cF,{docType:e.type,documents:e.documents,tagNo:n},e.type+t)))})})]}):c.jsx(lF,{documentGroups:l,tagNo:n}):c.jsx("div",{className:Zz,children:c.jsx(ZB,{text:"No documents found."})})}var dF="TagInformation-module_content__4rYcP";function mF({itemId:e,isWorkOrder:t}){var n;const[r,o,i]=UR((()=>Ym(this,void 0,void 0,(function*(){return BB(e,t)}))),[e]);return i instanceof Error?c.jsx(XB,{error:i,workOrderId:t?e:void 0,notificationId:t?void 0:e}):o?c.jsx(VB,{}):c.jsx("div",{className:dF,children:r?c.jsxs(LR,{children:[c.jsx(hR,{label:"Functional location",children:_R(r,"functionalLocation")}),c.jsx(hR,{label:"Location",children:_R(r,"location")}),c.jsx(hR,{label:"Area",children:_R(r,"area")}),c.jsx(hR,{label:"Over all criticality",children:_R(r,"overallCriticality")}),c.jsx(hR,{label:"Abc indicator",children:_R(r,"abcIndicator")}),c.jsx(hR,{label:"Redundancy",children:_R(r,"redundancy")}),c.jsx(hR,{label:"Functional fail consequence - hse",children:_R(r,"consequenceHse")}),c.jsx(hR,{label:"Functional fail consequence - prod",children:_R(r,"consequenceProd")}),c.jsx(hR,{label:"Functional fail consequence - cost",children:_R(r,"consequenceCost")}),c.jsx(hR,{label:"Containment fail consequence",children:_R(r,"consequenceFail")}),c.jsx(hR,{label:"Repair strategy",children:_R(r,"repairStrategy")}),c.jsx(hR,{label:"Critical sparepart demand time",children:_R(r,"criticalSparePartDemandTime")}),c.jsx(hR,{label:"Unsafe failure",children:c.jsx(OR,{items:null!==(n=r.unsafeFailure)&&void 0!==n?n:[]})})]}):c.jsx(ZB,{text:"No information found."})})}Ad(".TagInformation-module_content__4rYcP{padding:24px}");var pF={notFoundPanel:"Objects-module_notFoundPanel__uWQ0l",content:"Objects-module_content__rnhVG",table:"Objects-module_table__73Sl8",panel:"Objects-module_panel__PH8iJ",header:"Objects-module_header__pQpb0",spinner:"Objects-module_spinner__M-xvE",spinnerVertical:"Objects-module_spinnerVertical__L5g1k Objects-module_spinner__M-xvE",listItemContainer:"Objects-module_listItemContainer__TumoT",notificationItem:"Objects-module_notificationItem__tnCRf",visualActive:"Objects-module_visualActive__RVtLN Objects-module_visual__WTPd-",visualCompleted:"Objects-module_visualCompleted__mr4fK Objects-module_visual__WTPd-"};function hF({objects:e}){return c.jsxs(d.Table,{className:pF.table,children:[c.jsx(d.Table.Head,{sticky:!0,children:c.jsxs(d.Table.Row,{children:[c.jsx(d.Table.Cell,{children:"Functional location"}),c.jsx(d.Table.Cell,{children:"Functional location description"}),c.jsx(d.Table.Cell,{children:"Notification"}),c.jsx(d.Table.Cell,{children:"Description"}),c.jsx(d.Table.Cell,{children:"Equipment"})]})}),c.jsx(d.Table.Body,{children:null==e?void 0:e.map((e=>c.jsx(fF,{objectDto:e},e.functionalLocationId)))})]})}function fF({objectDto:e}){const{objectNotificationClicked:t}=uB(),[n,o]=r.useState(void 0),[a,s,l]=UR((()=>Ym(this,void 0,void 0,(function*(){if(n)return OB(n)}))),[n]);r.useEffect((()=>{a&&t&&t(a)}),[a,t]);const u=e.notificationId&&e.notificationTypeId&&void 0!==e.notificationIsActive,m=e.notificationIsActive?pF.visualActive:pF.visualCompleted;return c.jsxs(d.Table.Row,{children:[c.jsx(d.Table.Cell,{children:_R(e,"functionalLocationId")}),c.jsx(d.Table.Cell,{children:_R(e,"tag")}),c.jsx(d.Table.Cell,{children:l?c.jsx("div",{className:pF.fetchError,children:"Could not open notification"}):s?c.jsx(xz,{className:pF.spinner,size:24}):u?c.jsx("div",{className:pF.listItemContainer,children:c.jsx(i.ListItem,{className:pF.notificationItem,primary:e.notificationId,secondary:e.notificationIsActive?"Active":"Completed",visual:e.notificationTypeId&&c.jsx("div",{className:m,children:c.jsx(d.Icon,{name:i.setNotificationIconName(e.notificationTypeId),size:24})}),onCardClick:t&&e.notificationId?()=>o(e.notificationId):void 0})}):_R(e,"notificationId")}),c.jsx(d.Table.Cell,{children:_R(e,"notificationDescription")}),c.jsx(d.Table.Cell,{children:_R(e,"equipmentId")})]})}function gF({objectDto:e}){const{objectNotificationClicked:t}=uB(),[n,o]=r.useState(void 0),[a,s,l]=UR((()=>Ym(this,void 0,void 0,(function*(){if(n)return OB(n)}))),[n]);r.useEffect((()=>{a&&t&&t(a)}),[a,t]);const u=e.notificationId&&e.notificationTypeId&&void 0!==e.notificationIsActive,m=e.notificationIsActive?pF.visualActive:pF.visualCompleted;return c.jsxs(d.Accordion.Item,{children:[c.jsx(d.Accordion.Header,{className:pF.header,children:c.jsxs(d.Accordion.HeaderTitle,{children:[e.tagPlantId,"-",e.tagId," - ",e.tag]})}),c.jsx(d.Accordion.Panel,{className:pF.panel,children:c.jsxs(LR,{children:[c.jsx(hR,{label:"Notification",children:l?c.jsx("div",{className:pF.fetchError,children:"Could not open notification"}):s?c.jsx(xz,{className:pF.spinnerVertical,size:24}):u?c.jsx("div",{className:pF.listItemContainer,children:c.jsx(i.ListItem,{className:pF.notificationItem,primary:e.notificationId,secondary:e.notificationIsActive?"Active":"Completed",visual:void 0!==e.notificationTypeId&&c.jsx("div",{className:m,children:c.jsx(d.Icon,{name:i.setNotificationIconName(e.notificationTypeId),size:24})}),onCardClick:o?()=>o(e.notificationId):void 0})}):_R(e,"notificationId")}),c.jsx(hR,{label:"Equipment",children:_R(e,"equipmentId")}),c.jsx(hR,{label:"Description",children:_R(e,"equipment")})]})})]})}function vF({workOrderId:t}){const{orientation:n}=uB(),r=e.isMobileDevice(),o=n===i.SideSheetOrientation.Vertical||r,[a,s,l]=UR((()=>Ym(this,void 0,void 0,(function*(){return GB(t)}))),[t]);return l instanceof Error?c.jsx(XB,{error:l,workOrderId:t}):s?c.jsx(VB,{}):a&&a.length>0?c.jsx("div",{className:pF.content,children:o?c.jsx(WB,{children:a.map((e=>c.jsx(gF,{objectDto:e},e.functionalLocationId)))}):c.jsx(hF,{objects:a})}):c.jsx("div",{className:pF.notFoundPanel,children:c.jsx(ZB,{text:"No objects found."})})}Ad(".Objects-module_notFoundPanel__uWQ0l{padding:24px}.Objects-module_content__rnhVG{padding-bottom:20px}.Objects-module_table__73Sl8{padding-left:20px;width:100%}.Objects-module_panel__PH8iJ{background:var(--searchBarBackground)!important}.Objects-module_header__pQpb0{color:var(--echoText)}.Objects-module_header__pQpb0 button[aria-expanded=true] span{color:var(--echoText);font-weight:700}.Objects-module_header__pQpb0>button>svg{fill:var(--tertiaryText)}.Objects-module_spinner__M-xvE{padding:.5rem 0}.Objects-module_spinnerVertical__L5g1k{text-align:left}.Objects-module_listItemContainer__TumoT{>div{border-bottom:0}}.Objects-module_notificationItem__tnCRf{border-bottom:0;gap:0;padding:0}.Objects-module_notificationItem__tnCRf>div:first-of-type{margin-left:0}.Objects-module_notificationItem__tnCRf>div>h6{font-size:.875rem}.Objects-module_notificationItem__tnCRf>div>p{font-size:.75rem}.Objects-module_notificationItem__tnCRf:hover{background-color:var(--equiGray3)}.Objects-module_visual__WTPd-{align-items:center;border-radius:50%;display:flex;flex-direction:column;justify-content:center;padding:.5rem}.Objects-module_visualActive__RVtLN{background-color:var(--outOfService)!important}.Objects-module_visualCompleted__mr4fK{background-color:var(--done)!important}");var yF={trafficLight:"TrafficLight-module_trafficLight__29Dvq",defaultSeverity:"TrafficLight-module_defaultSeverity__qEvFS",severity1:"TrafficLight-module_severity1__jXWiO",severity2:"TrafficLight-module_severity2__wW0ya TrafficLight-module_severity1__jXWiO",severity3:"TrafficLight-module_severity3__6LZPo",severity4:"TrafficLight-module_severity4__O4j-F",severity5:"TrafficLight-module_severity5__Yqt-- TrafficLight-module_severity4__O4j-F"};function xF({severity:e,children:t}){const n=function(e){switch(e){case 1:case 2:case 3:case 4:case 5:return yF["severity"+e];default:return yF.defaultSeverity}}(e);return c.jsx("div",{className:yF.trafficLight+" "+n,children:t})}Ad(".TrafficLight-module_trafficLight__29Dvq{align-items:center;border-radius:50%;color:#fff;display:flex;font-size:12px;height:22px;justify-content:center;margin:6px;width:22px}.TrafficLight-module_defaultSeverity__qEvFS{background-color:var(--equiGray1)}.TrafficLight-module_severity1__jXWiO{background-color:var(--highSeverityText)}.TrafficLight-module_severity3__6LZPo{background-color:var(--warningIcon)}.TrafficLight-module_severity4__O4j-F{background-color:var(--lowSeverityText)}");var bF="Risk-module_number__mQdq9",CF="Risk-module_small__tB2P8",IF="Risk-module_large__eMxhM",EF="Risk-module_medium__KdGMA",_F="Risk-module_itemAction__NojsC",AF="Risk-module_itemList__5puMd",wF="Risk-module_table__vqfJl",SF="Risk-module_pointer__o8bRc",kF="Risk-module_notFoundPanel__EiTvq";function jF({safetyCards:e}){const{isWorkOrder:t}=uB();return c.jsxs(c.Fragment,{children:[c.jsx(tL,{text:`Search for HSE related incidents in Safe X based on ${t?"work order":"notifiction"} description`}),c.jsx("div",{className:AF,children:e.map(((e,t)=>c.jsx(i.ListItem,{onCardClick:()=>{ER.synergiOpened({synergiUrl:e.url}),jB(e.url)},style:{gap:"20px",padding:"1rem"},primary:c.jsx("div",{className:IF,children:AR(e.title,40)}),secondary:c.jsx("div",{className:EF,children:AR(e.description,140)}),tertiary:c.jsxs("div",{className:CF,children:[c.jsx("div",{children:e.country}),e.caseDate&&c.jsxs(c.Fragment,{children:[c.jsx("div",{children:" - "}),c.jsx("div",{children:fR(e.caseDate)})]})]}),itemAction:c.jsxs("div",{className:_F,children:[c.jsx(xF,{severity:e.severity,children:c.jsx("div",{className:bF,children:e.severity})}),c.jsx(d.Tooltip,{title:"Go to Synergi",children:c.jsx(d.Icon,{size:24,name:"external_link",color:"var(--tertiaryText)"})})]})},e.url+t)))})]})}function NF({safetyCards:e}){const{isWorkOrder:t}=uB();return c.jsxs(c.Fragment,{children:[c.jsx(tL,{text:`Search for HSE related incidents in Safe X based on ${t?"work order":"notifiction"} description`}),c.jsxs(d.Table,{className:wF,children:[c.jsx(d.Table.Head,{sticky:!0,children:c.jsxs(d.Table.Row,{children:[c.jsx(d.Table.Cell,{children:"Title"}),c.jsx(d.Table.Cell,{children:"Description"}),c.jsx(d.Table.Cell,{children:"Country"}),c.jsx(d.Table.Cell,{children:"Case date"}),c.jsx(d.Table.Cell,{children:"Severity"}),c.jsx(d.Table.Cell,{children:"Synergi"})]})}),c.jsx(d.Table.Body,{children:null==e?void 0:e.map(((e,t)=>c.jsx(TF,{safetyCard:e},e.url+t)))})]})]})}function TF({safetyCard:e}){return c.jsxs(d.Table.Row,{onClick:()=>(ER.synergiOpened({synergiUrl:e.url}),void jB(e.url)),className:SF,children:[c.jsx(d.Table.Cell,{children:_R(e,"title")}),c.jsx(d.Table.Cell,{children:e.description&&AR(_R(e,"description"),250)}),c.jsx(d.Table.Cell,{children:_R(e,"country")}),c.jsx(d.Table.Cell,{children:fR(e.caseDate)}),c.jsx(d.Table.Cell,{children:c.jsx(xF,{severity:e.severity,children:c.jsx("div",{className:bF,children:e.severity})})}),c.jsx(d.Table.Cell,{children:c.jsx(d.Tooltip,{title:"Go to Synergi",children:c.jsx(d.Icon,{size:24,name:"external_link",color:"var(--tertiaryText)"})})})]})}function PF({itemId:t,isWorkOrder:n}){const{orientation:r}=uB(),o=e.isMobileDevice(),a=r===i.SideSheetOrientation.Vertical||o,[s,l,u]=UR((()=>Ym(this,void 0,void 0,(function*(){return qB(t,n)}))),[t]);return u instanceof Error?c.jsx(XB,{error:u,workOrderId:n?t:void 0,notificationId:n?void 0:t}):l?c.jsx(VB,{}):c.jsx("div",{children:s&&s.length>0?a?c.jsx(jF,{safetyCards:s}):c.jsx(NF,{safetyCards:s}):c.jsx("div",{className:kF,children:c.jsx(ZB,{text:"No safety data found."})})})}Ad(".Risk-module_number__mQdq9{margin-top:2px}.Risk-module_small__tB2P8{display:flex;font-size:12px}.Risk-module_large__eMxhM{font-size:1rem;font-weight:500}.Risk-module_medium__KdGMA{font-size:14px}.Risk-module_itemAction__NojsC{align-items:center;display:flex;gap:16px}.Risk-module_safexButton__wOLTj{margin:8px 14px;padding:0 10px}.Risk-module_top__ffYep{display:flex;justify-content:end}.Risk-module_itemList__5puMd{margin-top:.5rem}.Risk-module_itemList__5puMd>div:first-of-type{border-top:1px solid}.Risk-module_table__vqfJl{padding-left:20px;padding-top:20px;width:100%}.Risk-module_pointer__o8bRc{cursor:pointer}.Risk-module_notFoundPanel__EiTvq{padding:24px}");var OF="Items-module_itemsHeader__HkvwX",MF="Items-module_itemsPanel__lsGeU",LF="Items-module_smallText__4zs6g",BF="Items-module_time__AtrTf",DF="Items-module_listItemContainer__eY9wp",RF="Items-module_title__ZoWnu",zF="Items-module_medium__nXnEv",FF="Items-module_visual__FvvLj",HF="Items-module_panelContent__VnPX6";Ad(".Items-module_itemsHeader__HkvwX{border-bottom:1px solid #dadada;color:var(--echoText)!important}.Items-module_itemsHeader__HkvwX button[aria-expanded=true] span{color:var(--echoText)!important;font-weight:700!important}.Items-module_itemsHeader__HkvwX>span{margin-left:28px}.Items-module_itemsHeader__HkvwX>button>svg{fill:var(--tertiaryText)}.Items-module_punchItemsHeader__tyheL>span{margin-left:0}.Items-module_itemsPanel__lsGeU{background:var(--searchBarBackground)!important;border-top:0!important;line-height:normal!important;min-height:auto!important}.Items-module_header__jMq6D{display:block}.Items-module_smallText__4zs6g{color:var(--tertiaryText);font-size:12px}.Items-module_largeText__tJ0wT{font-size:1rem}.Items-module_accordionHeader__I-p-i{border:0;border-bottom:none;border-top:1px solid #dadada;height:auto;justify-content:space-between;padding:16px}.Items-module_accordionHeader__I-p-i>svg{align-self:start}.Items-module_accordionHeader__I-p-i>button{justify-content:space-between}.Items-module_expandedAccordionHeader__-R-nm{border-bottom:1px solid #dadada}.Items-module_panel__YrGHs{border:0;border-bottom:1px solid #dadada;padding:24px}.Items-module_time__AtrTf{color:var(--echoText)}.Items-module_details__EKsPR{display:flex;flex-flow:wrap;width:100%}.Items-module_details__EKsPR>div{margin-bottom:8px}.Items-module_listItemContainer__eY9wp>div:not(:first-of-type){gap:8px}.Items-module_listItemContainer__eY9wp{padding:16px 12px!important}.Items-module_flex__Gc6u2{align-items:center;display:flex}.Items-module_title__ZoWnu{font-weight:500}.Items-module_status__ORuK9{display:flex;margin-left:8px}.Items-module_statusCircle__juY02{border-radius:160px;height:12px;width:12px}.Items-module_statusText__Xf3WX{font-size:12px;font-weight:500;margin-left:4px}.Items-module_small__YE-Vv{font-size:12px;margin-right:16px}.Items-module_medium__nXnEv{font-size:14px}.Items-module_tertiary__uvHal{display:flex;font-size:12px}.Items-module_reqDate__GOWum{margin-left:16px}.Items-module_visual__FvvLj{align-items:center;background-color:var(--echoText);border-radius:50%;color:#fff;display:flex;flex-direction:column;font-size:12px;font-weight:500;height:40px;justify-content:center;padding:.5rem;width:40px}.Items-module_panel__YrGHs{background:var(--searchBarBackground)!important;padding:0!important}.Items-module_panelContent__VnPX6>div{background:#fff}");const qF=({punch:e})=>{var t;const{historicItemClicked:n}=uB();return c.jsx(i.ListItem,{className:DF,onCardClick:n?()=>n(e,exports.WorkItemType.Punches):void 0,primary:c.jsx("div",{className:RF,children:e.id}),secondary:c.jsxs("div",{className:zF,children:[e.tagNo," - ",e.tagArea]}),tertiary:c.jsxs("div",{className:LF,children:["Last change:"," ",c.jsx("time",{className:BF,children:null!==(t=fR(e.updatedAt))&&void 0!==t?t:"-"})]}),visual:c.jsx("div",{className:FF,children:c.jsx("span",{children:e.statusId})})})};var UF="WorkOrderListItem-module_container__BBYiN",GF="WorkOrderListItem-module_visual__HCLPk",WF="WorkOrderListItem-module_visualActive__Em-8i",QF="WorkOrderListItem-module_visualCompleted__AbfAg",YF="WorkOrderListItem-module_primary__iot7-",VF="WorkOrderListItem-module_tertiaryWrapper__vKCwm",ZF="WorkOrderListItem-module_tertiary__FI-Q- WorkOrderListItem-module_primary__iot7-",KF="WorkOrderListItem-module_secondaryText__amK6x",JF="WorkOrderListItem-module_tertiaryBottomContainer__aw9Zu",XF="WorkOrderListItem-module_workorderId__wRPkx",$F="WorkOrderListItem-module_date__SFhJj";function eH(e){return null==e?void 0:e.toLocaleString()}function tH({workOrder:e}){const t=i.setRequiredEndDateColor(e.requiredEndDateStatus);return c.jsxs("time",{dateTime:eH(e.requiredEndDateTime),children:["Req. end date:"," ",c.jsx("span",{style:t?{background:t.background,color:t.color}:void 0,className:$F,children:i.dateToStringOrEmpty(e.requiredEndDateTime)})]})}function nH({workOrder:e}){return c.jsxs("time",{dateTime:eH(e.maintenancePlanDate),children:["Planned date: ",c.jsx("span",{className:$F,children:i.dateToStringOrEmpty(e.maintenancePlanDate)})]})}function rH({workOrder:e,workOrderDateType:t}){var n,r;if((t=null!=t?t:i.WorkOrderDateType.Unknown)===i.WorkOrderDateType.Unknown&&("PM01"===(null===(n=e.orderType)||void 0===n?void 0:n.toUpperCase())&&e.requiredEndDateTime&&(t=i.WorkOrderDateType.PM01),"PM02"===(null===(r=e.orderType)||void 0===r?void 0:r.toUpperCase())&&e.maintenancePlanDate&&(t=i.WorkOrderDateType.PM02)),t===i.WorkOrderDateType.BasicFinishDate&&e.basicFinishDateTime){const t=i.setBasicFinishDateColor(e.basicFinishDateStatus);return c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:c.jsxs("time",{dateTime:eH(e.basicFinishDateTime),children:["Basic finish:"," ",c.jsx("span",{style:t?{background:t.background,color:t.color}:void 0,className:$F,children:i.dateToStringOrEmpty(e.basicFinishDateTime)})]})})}return t===i.WorkOrderDateType.Operation&&e.operationId?c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:c.jsxs("time",{children:["Early start-finish:"," ",c.jsx("span",{className:$F,children:e.earlyStartDate&&e.earlyFinishDate?c.jsxs(c.Fragment,{children:[i.dateToStringOrEmpty(e.earlyStartDate)," - ",i.dateToStringOrEmpty(e.earlyFinishDate)]}):"-"})]})}):t===i.WorkOrderDateType.PM01&&e.requiredEndDateTime?c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:c.jsx(tH,{workOrder:e})}):t===i.WorkOrderDateType.PM02&&e.maintenancePlanDate?c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:c.jsx(nH,{workOrder:e})}):null}function oH({workOrder:e}){const n=[];if(e.hasPrts&&n.push({iconName:"sap_prts",tooltip:"PRTs attachment"+(e.operationId?"":" on operation")}),e.recordTypeIds&&e.recordTypeIds.length>0){const r=/^M[1-69]$/i,o=t.uniq(e.recordTypeIds).filter((e=>r.test(e))).sort().map((e=>({iconName:`notifications_${e.toLowerCase()}`,tooltip:`Connected ${e} notification on object`})));n.push(...o)}if(e.hasB30Document&&n.push({iconName:"sap_b30",tooltip:"B30 document on connected notification"}),n.length>0)return c.jsx(d.Typography,{variant:"chart",group:"ui",children:n.map((e=>c.jsx(d.Tooltip,{placement:"right",title:e.tooltip,children:c.jsx(d.Icon,{name:e.iconName,color:"var(--tertiaryText)"})},e.iconName)))})}function iH(e){var t;const{workOrder:n,isHeader:r,workOrderDateType:o,footer:a,className:s,colorMap:l,onCardClick:u,itemAction:m,iconName:p,cardClassName:h}=e,f=i.classnames(GF,l?void 0:n.isActive?WF:QF),g="PM15"===n.orderType?n.maintenancePlant:n.planningPlant;return c.jsx(i.ListItem,{className:`${UF} ${s&&s}`,cardClassName:h,onCardClick:r?void 0:u,showChevron:u&&!r,primary:c.jsxs("div",{className:YF,children:[c.jsxs(d.Typography,{className:XF,variant:"h6",children:[rb(n.id),n.operationId&&c.jsxs(c.Fragment,{children:[" - ",n.operationId]})]}),c.jsx(i.SubseaStatusLabel,{isActive:n.isActive}),c.jsx(oH,{workOrder:n})]}),secondary:c.jsx(d.Typography,{variant:"caption",className:KF,children:n.description}),tertiary:c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:VF,children:[c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:g}),c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:n.workCenterId})]}),c.jsxs("div",{className:JF,children:[c.jsx(rH,{workOrder:n,workOrderDateType:o}),n.sortField&&c.jsx(d.Tooltip,{title:"Sort field",placement:"right",children:c.jsx(d.Typography,{variant:"chart",group:"ui",className:ZF,children:n.sortField})})]})]}),visual:c.jsx("div",{className:f,style:{backgroundColor:null==l?void 0:l.background},children:c.jsx(d.Icon,{name:null!=p?p:i.setWorkOrderIconName(n.orderType),color:null!==(t=null==l?void 0:l.color)&&void 0!==t?t:"#000"})}),itemAction:m,as:r?"div":"li",footer:a})}Ad(".WorkOrderListItem-module_container__BBYiN>div:not(:first-of-type){gap:4px}div.WorkOrderListItem-module_container__BBYiN,li.WorkOrderListItem-module_container__BBYiN{padding:.5rem}.WorkOrderListItem-module_visual__HCLPk{align-items:center;border-radius:50%;display:flex;flex-direction:column;font-size:.75rem;font-weight:500;justify-content:center;min-height:2.5rem;min-width:2.5rem;padding:9px}.WorkOrderListItem-module_visualActive__Em-8i{background-color:var(--active)!important}.WorkOrderListItem-module_visualCompleted__AbfAg{background-color:var(--completed)!important}.WorkOrderListItem-module_primary__iot7-{align-items:center;display:flex;flex-flow:row wrap;gap:var(--small)}.WorkOrderListItem-module_tertiaryWrapper__vKCwm{display:flex;gap:var(--large)}.WorkOrderListItem-module_tertiary__FI-Q-{color:var(--tertiaryText)!important;flex-direction:row;font-size:.75rem!important;gap:1rem}.WorkOrderListItem-module_primaryText__g0-de{width:auto}.WorkOrderListItem-module_secondaryText__amK6x{color:var(--secondaryText)}.WorkOrderListItem-module_tertiaryText__Q6EwI{color:var(--tertiaryText)}.WorkOrderListItem-module_tertiaryBottomContainer__aw9Zu{display:flex;gap:.5rem}.WorkOrderListItem-module_divider__dqBJO{border:1px solid #d9d9d9;height:.75rem;margin-bottom:5px}.WorkOrderListItem-module_workorderStatusContainer__baW6h{align-items:center;display:inline-flex;gap:5px}.WorkOrderListItem-module_workorderstatusText__Vntps{line-height:1!important;margin-left:.25rem;overflow:initial!important}.WorkOrderListItem-module_activeIndicator__n4VkZ,.WorkOrderListItem-module_completedIndicator__wfDJq{border-radius:50%;height:.75rem;margin-bottom:3px;width:.75rem}.WorkOrderListItem-module_activeIndicator__n4VkZ{background-color:var(--active)}.WorkOrderListItem-module_completedIndicator__wfDJq{background-color:var(--completed)}.WorkOrderListItem-module_workorderId__wRPkx{width:auto}.WorkOrderListItem-module_date__SFhJj{padding:6px}.WorkOrderListItem-module_footerText__vXLGA{display:inline-block;padding-left:var(--xSmall)}.WorkOrderListItem-module_footerWrapper__ABYqK{padding-bottom:var(--small)}");const aH=({itemType:e,subType:t,items:n})=>{const{historicItemClicked:o,currentNotificationLegendOption:a,currentWorkOrderLegendOption:s}=uB(),[l,u]=r.useState(!1),[m,p]=r.useState(!1);const h=e=>{const t=e.sort(((e,t)=>t.createdDateTime.getTime()-e.createdDateTime.getTime())),n=(e,t)=>{const n=e,r=iz(a,n.isActive,n.requiredEndDateStatus,n.failureImpact);return c.jsx(i.NotificationListItem,{notification:n,onCardClick:o?()=>o(e,exports.WorkItemType.Notifications):void 0,colorMap:r},n.id+t)};return c.jsxs(c.Fragment,{children:[t.length>3&&!l?t.slice(0,3).map(((e,t)=>n(e,t))):t.map(((e,t)=>n(e,t))),t.length>3&&c.jsx(DR,{isActive:l,onClick:()=>u(!l)})]})},f=e=>{const t=e.sort(((e,t)=>t.createdDateTime.getTime()-e.createdDateTime.getTime())),n=(e,t)=>{const n=e,r=az(s,n.isActive,n.requiredEndDateStatus,n.basicFinishDateStatus);return c.jsx(iH,{workOrder:n,onCardClick:o?()=>o(e,exports.WorkItemType.WorkOrders):void 0,colorMap:r},n.id+t)};return c.jsxs(c.Fragment,{children:[t.length>3&&!m?t.slice(0,3).map(((e,t)=>n(e,t))):t.map(((e,t)=>n(e,t))),t.length>3&&c.jsx(DR,{isActive:m,onClick:()=>p(!m)})]})},g=e=>e.map(((e,t)=>c.jsx(qF,{punch:e},e.id+t)));return n?c.jsx(d.Accordion,{chevronPosition:"right",children:c.jsxs(d.Accordion.Item,{children:[c.jsx(d.Accordion.Header,{className:OF,children:c.jsx(d.Accordion.HeaderTitle,{children:`${t} (${n.length})`})}),c.jsx(d.Accordion.Panel,{className:MF,children:c.jsx("div",{className:HF,children:(t=>e===exports.WorkItemType.Notifications?h(t):e===exports.WorkItemType.WorkOrders?f(t):e===exports.WorkItemType.Punches?g(t):null)(n)})})]})}):null};var sH="TagHistory-module_description__mGXNh",lH="TagHistory-module_section__SwPqb",cH="TagHistory-module_content__IgxEq",uH="TagHistory-module_container__PVXmS";function dH({groups:e,emptyText:t,workItemType:n,statusCode:r}){return 403===r?c.jsx("div",{className:cH,children:c.jsx(ZB,{text:"Missing access to view these items"})}):0===e.length?c.jsx("div",{className:cH,children:c.jsx(ZB,{text:t})}):c.jsx(c.Fragment,{children:e.map((e=>c.jsx(aH,{itemType:n,subType:e.type,items:e.items},e.type)))})}Ad(".TagHistory-module_description__mGXNh{font-size:.6rem;font-weight:500;margin-left:15px;margin-top:16px;text-overflow:ellipsis}.TagHistory-module_section__SwPqb{margin:16px 0}.TagHistory-module_section__SwPqb>:not(:first-child)>div>h4{border-top:0}.TagHistory-module_content__IgxEq{margin-left:24px}.TagHistory-module_container__PVXmS{overflow:hidden}");var mH="HorizontalTagHistory-module_itemsContainer__sp0ar",pH="HorizontalTagHistory-module_panel__WBI-M";Ad(".HorizontalTagHistory-module_itemsContainer__sp0ar{background:var(--searchBarBackground);border-top:0;line-height:normal;min-height:auto;overflow-y:auto}.HorizontalTagHistory-module_panel__WBI-M{margin:16px;min-width:350px}.HorizontalTagHistory-module_panel__WBI-M>div{background:#fff}");const hH=({notifications:e,historicItemClicked:t})=>{const{currentNotificationLegendOption:n}=uB(),[o,a]=r.useState(!1),s=e.sort(((e,t)=>t.createdDateTime.getTime()-e.createdDateTime.getTime())),l=(e,r)=>{const o=e,a=iz(n,o.isActive,o.requiredEndDateStatus,o.failureImpact);return c.jsx(i.NotificationListItem,{notification:o,onCardClick:t?()=>t(e,exports.WorkItemType.Notifications):void 0,colorMap:a},o.id+r)};return c.jsx("div",{className:mH,children:c.jsxs("div",{className:pH,children:[s.length>3&&!o?s.slice(0,3).map(((e,t)=>l(e,t))):s.map(((e,t)=>l(e,t))),s.length>3&&c.jsx(DR,{isActive:o,onClick:()=>a(!o)})]})})},fH=({workOrders:e,historicItemClicked:t})=>{const{currentWorkOrderLegendOption:n}=uB(),[o,i]=r.useState(!1),a=e.sort(((e,t)=>t.createdDateTime.getTime()-e.createdDateTime.getTime())),s=(e,r)=>{const o=e,i=az(n,o.isActive,o.requiredEndDateStatus,o.basicFinishDateStatus);return c.jsx(iH,{workOrder:o,onCardClick:t?()=>t(o,exports.WorkItemType.WorkOrders):void 0,colorMap:i},o.id+r)};return c.jsx("div",{className:mH,children:c.jsxs("div",{className:pH,children:[a.length>3&&!o?a.slice(0,3).map(((e,t)=>s(e,t))):a.map(((e,t)=>s(e,t))),a.length>3&&c.jsx(DR,{isActive:o,onClick:()=>i(!o)})]})})},gH=({notificationGroups:e,workOrderGroups:t,punchGroups:n})=>{const[o,i]=r.useState([]),{historicItemClicked:a}=uB();return r.useEffect((()=>{const r=[];if(e.groups&&e.groups.length>0){const t=[];e.groups.forEach(((e,n)=>{const r={id:e.type+n,title:e.type,amountOfItems:e.items.length,content:c.jsx(hH,{notifications:e.items,historicItemClicked:a})};t.push(r)}));const n={title:"NOTIFICATIONS",items:t};r.push(n)}else r.push({title:"NOTIFICATIONS",noItemsInGroupTitle:vH(e.statusCode),items:[]});if(t.groups&&t.groups.length>0){const e=[];t.groups.forEach(((t,n)=>{const r={id:t.type+n,title:t.type,amountOfItems:t.items.length,content:c.jsx(fH,{workOrders:t.items,historicItemClicked:a})};e.push(r)}));const n={title:"WORK ORDERS",items:e};r.push(n)}else r.push({title:"WORK ORDERS",noItemsInGroupTitle:vH(t.statusCode),items:[]});if(n.groups&&n.groups.length>0){const e=[];n.groups.forEach(((t,n)=>{const r={id:t.type+n,title:t.type,amountOfItems:t.items.length,content:(o=t.items,c.jsx("div",{className:mH,children:c.jsx("div",{className:pH,children:o.map(((e,t)=>c.jsx(qF,{punch:e},e.id+t)))})}))};var o;e.push(r)}));const t={title:"PUNCHES",items:e};r.push(t)}else r.push({title:"PUNCHES",noItemsInGroupTitle:vH(n.statusCode),items:[]});i(r)}),[a,e,n,t]),c.jsx(Vz,{listItemStyle:{minHeight:"47px"},groups:o,infoLabelText:"History of notifications, work orders and punches related to the tag."})};function vH(e){return 403===e?"Missing access to view these items":void 0}function yH({itemId:t,isWorkOrder:n}){const{orientation:r}=uB(),o=e.isMobileDevice(),a=r===i.SideSheetOrientation.Vertical||o,[s,l,u]=UR((()=>Ym(this,void 0,void 0,(function*(){return HB(t,n)}))),[t]);return u instanceof Error?c.jsx(XB,{error:u,workOrderId:n?t:void 0,notificationId:n?void 0:t}):l?c.jsx(VB,{}):s?a?c.jsxs(c.Fragment,{children:[c.jsx(tL,{text:"History of notifications, work orders and punches related to the tag."}),c.jsxs("div",{className:uH,children:[c.jsx("div",{className:sH,children:"NOTIFICATIONS"}),c.jsx("section",{className:lH,children:c.jsx(dH,{workItemType:exports.WorkItemType.Notifications,emptyText:"No notifications found",groups:s.notificationGroups.groups,statusCode:s.notificationGroups.statusCode})}),c.jsx("div",{className:sH,children:"WORK ORDERS"}),c.jsx("section",{className:lH,children:c.jsx(dH,{workItemType:exports.WorkItemType.WorkOrders,emptyText:"No work orders found.",groups:s.workOrderGroups.groups,statusCode:s.workOrderGroups.statusCode})}),c.jsx("div",{className:sH,children:"PUNCHES"}),c.jsx("section",{className:lH,children:c.jsx(dH,{workItemType:exports.WorkItemType.Punches,emptyText:"No punches found.",groups:s.punchGroups.groups,statusCode:s.punchGroups.statusCode})})]})]}):c.jsx(gH,{notificationGroups:s.notificationGroups,workOrderGroups:s.workOrderGroups,punchGroups:s.punchGroups}):c.jsx(ZB,{text:"No historic data found."})}var xH="notificationAdditionalDetails-module_tabPanels__E445a";function bH({notificationDetails:t}){const{workOrderOperationId:n}=uB(),o=e.isMobileDevice(),[a,s]=r.useState(n?2:0),l=t.id,u=[c.jsx(ZR,{details:t},"details-notification"),c.jsx(mF,{itemId:l},"tag-info-panel"),c.jsx(Pz,{recordId:l,recordType:t.type},"attachments-panel"),c.jsx(uF,{itemId:l,tagNo:t.tagId},"tag-document-refs-panel"),c.jsx(yH,{itemId:l},"tag-history-panel"),c.jsx(PF,{itemId:l},"risk-panel")];return c.jsx(i.MultilineTabs,{activeTabIndex:a,onTabChange:s,tabs:[{title:"Info"},{title:"Tag info"},{title:"Attachments"},{title:"Documents"},{title:"History"},{title:"Safe X"}],initiallyExpanded:!o,children:c.jsx(d.Tabs.Panels,{className:xH,children:u.map(((e,t)=>c.jsx(d.Tabs.Panel,{style:{padding:"0",height:"inherit"},children:e},t)))})})}Ad(".notificationAdditionalDetails-module_tabPanels__E445a{height:100%;padding-bottom:env(safe-area-inset-bottom)}");var CH,IH,EH="Notification-module_lonelyDetails__KUmMB",_H="Notification-module_verticalContainer__W3-mJ",AH="Notification-module_splitView__-OvFg",wH="Notification-module_splitHorizontal__pYmeq";function SH(t){const{orientation:n}=uB(),r=e.isMobileDevice(),o=n===i.SideSheetOrientation.Vertical||r,[a,s,l]=UR((()=>Ym(this,void 0,void 0,(function*(){return OB(t.notificationId)}))),[t.notificationId]);if(l instanceof Error)return c.jsx(XB,{error:l,notificationId:t.notificationId});if(s||!a)return c.jsx(VB,{});if(!a&&!s){const e={name:"No data found",message:"Got no data from the server"};return c.jsx(XB,{error:e,notificationId:t.notificationId})}const u="m2"===a.type.toLowerCase()||"m3"===a.type.toLowerCase();return o?c.jsxs("div",{className:_H,children:[c.jsx(mz,{notificationDetails:a,headerAction:t.headerAction}),u?c.jsx(bH,{notificationDetails:a}):c.jsx("div",{className:EH,children:c.jsx(ZR,{details:a})})]}):c.jsxs(i.SplitView,{className:AH,children:[c.jsx(i.SplitView.Left,{isMinimizable:!0,children:c.jsx(mz,{notificationDetails:a,headerAction:t.headerAction})}),c.jsx(i.SplitView.Right,{className:wH,children:u?c.jsx(bH,{notificationDetails:a}):c.jsx("div",{className:EH,children:c.jsx(ZR,{details:a})})})]})}Ad(".Notification-module_lonelyDetails__KUmMB{height:100%}.Notification-module_verticalContainer__W3-mJ{display:flex;flex-direction:column;height:100%;overflow:auto;width:inherit}.Notification-module_splitView__-OvFg{height:100%!important}.Notification-module_splitHorizontal__pYmeq{overflow:auto!important}"),exports.ItemTypes=void 0,(CH=exports.ItemTypes||(exports.ItemTypes={})).tag="tag",CH.mcPack="mcPack",CH.commPack="commPack",function(e){e.Ok="Ok",e.Warning="Warning",e.Error="Error",e.Unknown="Unknown"}(IH||(IH={}));var kH="Details-module_container__ArXPj",jH="Details-module_content__MoYok",NH="Details-module_longTextButton__QawPR",TH="Details-module_link__iNkPZ",PH="Details-module_topRow__-nADf";function OH({details:e}){const{tagClicked:t,packageClicked:n,instCode:r,showLongTextClicked:o}=uB();return c.jsx("div",{className:kH,children:c.jsxs("div",{className:jH,children:[c.jsxs("div",{className:PH,children:[c.jsx(hR,{label:"No",children:_R(e,"id")}),e.description&&o&&c.jsx(d.EdsProvider,{density:"compact",children:c.jsxs(d.Button,{className:NH,variant:"outlined",onClick:()=>o(e.id.toString(),exports.WorkItemType.Punches,e.description),children:[c.jsx(d.Icon,{name:"sap_activity_reviewed",color:"var(--equiGreen1)",size:18}),"Long description"]})})]}),c.jsxs(LR,{children:[c.jsx(hR,{label:"Tag",children:c.jsx("button",{className:TH,onClick:r?()=>t(e.tagNo,r):void 0,children:e.tagNo})}),c.jsx(hR,{label:"Status",children:_R(e,"statusId")}),c.jsx(hR,{label:"System",children:_R(e,"systemId")}),c.jsx(hR,{label:"Type",children:_R(e,"typeDescription")}),c.jsx(hR,{label:"Tag description",children:_R(e,"tagDescription")}),c.jsx(hR,{label:"Priority Id",children:_R(e,"priorityId")}),c.jsx(hR,{label:"Tag area",children:_R(e,"tagArea")}),c.jsx(hR,{label:"Raised By",children:_R(e,"raisedByOrg")}),c.jsx(hR,{label:"Commissioning package",children:c.jsx("button",{className:TH,onClick:n?()=>n(exports.ItemTypes.commPack,e.commPkgNo,e.projectName):void 0,children:e.commPkgNo})}),c.jsx(hR,{label:"Clearing by",children:_R(e,"clearedByOrg")}),c.jsx(hR,{label:"MC package",children:c.jsx("button",{className:TH,onClick:n?()=>n(exports.ItemTypes.mcPack,e.mcPkgNo,e.projectName):void 0,children:e.mcPkgNo})})]})]})})}function MH(e){if(!e)return"punches_main_group";switch(e.toLowerCase()){case"pa":return"punches_pa";case"pb":return"punches_pb";default:return"punches_main_group"}}Ad(".Details-module_container__ArXPj{overflow-y:auto}.Details-module_content__MoYok{padding:8px 24px 24px}.Details-module_longTextButton__QawPR{padding:0 .5rem}.Details-module_link__iNkPZ{color:var(--asBuilt);cursor:pointer;padding:0!important;text-decoration:underline}.Details-module_topRow__-nADf{display:flex}.Details-module_descriptionButton__1q3Hy>span{grid-gap:4px}");var LH={verticalContainer:"Header-module_verticalContainer__mtDxH",container:"Header-module_container__dm5Nc",gap:"Header-module_gap__utLJl",flex:"Header-module_flex__ACyWw",title:"Header-module_title__FtoTW",visual:"Header-module_visual__VvbQf"};function BH(t){const{orientation:n}=uB(),r=e.isMobileDevice(),o=n===i.SideSheetOrientation.Vertical||r,a=i.classnames({[LH.verticalContainer]:o,[LH.container]:!o});return c.jsxs("div",{className:a,children:[c.jsx(i.ListItem,{className:LH.gap,primary:c.jsx("div",{className:LH.flex,children:c.jsx("div",{className:LH.title,children:t.punch.id})}),visual:c.jsx("div",{className:LH.visual,children:c.jsx(d.Icon,{name:MH(t.punch.statusId),color:"white"})}),as:"div"}),c.jsx(d.Divider,{className:LH.divider})]})}Ad(".Header-module_verticalContainer__mtDxH{padding-top:16px}.Header-module_verticalContainer__mtDxH>div{border-bottom:0}.Header-module_container__dm5Nc{padding-top:16px}.Header-module_container__dm5Nc>div{border-bottom:0}.Header-module_gap__utLJl>div:not(:first-of-type){gap:8px}.Header-module_flex__ACyWw{align-items:center;display:flex}.Header-module_title__FtoTW{font-weight:500}.Header-module_visual__VvbQf{align-items:center;background-color:var(--echoText);border-radius:50%;color:#fff;display:flex;flex-direction:column;font-size:12px;font-weight:500;height:40px;justify-content:center;padding:.5rem;width:40px}");var DH="Punch-module_container__6kZux",RH="Punch-module_splitHorizontal__Z2T5A";function zH(t){const{orientation:n}=uB(),r=e.isMobileDevice(),o=n===i.SideSheetOrientation.Vertical||r,[a,s,l]=UR((()=>Ym(this,void 0,void 0,(function*(){return LB(t.instCode,t.punchId)}))),[t.instCode,t.punchId]);if(l instanceof Error)return c.jsx(XB,{error:l,punchId:t.punchId});if(s||!a)return c.jsx(VB,{});if(!a&&!s){const e={name:"No data found",message:"Got no data from the server"};return c.jsx(XB,{error:e,punchId:t.punchId})}return o?c.jsxs("div",{className:DH,children:[c.jsx(BH,{punch:a}),c.jsx(OH,{details:a})]}):c.jsxs(i.SplitView,{children:[c.jsx(i.SplitView.Left,{isMinimizable:!0,children:c.jsx(BH,{punch:a})}),c.jsx(i.SplitView.Right,{className:RH,children:c.jsx(OH,{details:a})})]})}Ad(".Punch-module_container__6kZux{display:flex;flex-direction:column;overflow:hidden}.Punch-module_splitHorizontal__Z2T5A{overflow:auto!important}");var FH="WOAdditionalDetails-module_tabPanels__TdEaV";Ad(".WOAdditionalDetails-module_tabPanels__TdEaV{height:100%}");var HH="DetailsWorkOrder-module_content__NYIfs",qH="DetailsWorkOrder-module_mobileContent__fVCD6 DetailsWorkOrder-module_content__NYIfs",UH="DetailsWorkOrder-module_infoBlockSpacing__kDEgw",GH="DetailsWorkOrder-module_markedContent__fuiKQ",WH="DetailsWorkOrder-module_listItem__p0mVs",QH="DetailsWorkOrder-module_primary__BKBim",YH="DetailsWorkOrder-module_secondary__alSdc",VH="DetailsWorkOrder-module_infoBlockNoBorder__sWnfD";function ZH({workOrderDetails:t}){var n,r;const{tagClicked:o,showLongTextClicked:a}=uB(),s=e.isMobileDevice(),l=i.classnames({[qH]:s,[HH]:!s}),[u]=UR((()=>Ym(this,void 0,void 0,(function*(){return t.id?PB(t.id):void 0}))),[t.id]),d=i.setPriorityColor(t.priorityId);return c.jsxs("div",{className:l,children:[t.description&&c.jsx(PR,{itemId:i.removeLeadingZeros(t.id),itemType:exports.WorkItemType.WorkOrders,shortText:t.description,longText:t.longText}),c.jsxs(LR,{children:[c.jsx(hR,{label:"Work order number",children:i.removeLeadingZeros(t.id)}),c.jsx(hR,{label:"Tag",children:t.tagId?c.jsx(i.CompactIconLink,{title:t.tagId,meta:t.tagCategory,onClickHandler:()=>{o(t.tagId,t.instCode)},icon:"tag"}):"-"}),c.jsx(hR,{contentClassName:VH,label:"planning plant",children:(null===(n=t.planningPlantReference)||void 0===n?void 0:n.label)?c.jsx(i.ListItem,{className:WH,primary:c.jsx("div",{className:QH,children:t.planningPlantReference.label}),secondary:t.planningPlantReference.typeLabel?c.jsx("div",{className:YH,children:t.planningPlantReference.typeLabel}):void 0}):"-"}),c.jsx(hR,{contentClassName:VH,label:"maintenance plant",children:(null===(r=t.maintenancePlantReference)||void 0===r?void 0:r.label)?c.jsx(i.ListItem,{className:WH,primary:c.jsx("div",{className:QH,children:t.maintenancePlantReference.label}),secondary:t.maintenancePlantReference.typeLabel?c.jsx("div",{className:YH,children:t.maintenancePlantReference.typeLabel}):void 0}):"-"}),c.jsx(hR,{label:"Status",children:t.activeStatusIds?t.activeStatusIds:"-"}),c.jsx(hR,{label:"Person responsible",children:_R(t,"personResponsible")}),c.jsx(hR,{label:"Planner group id",children:_R(t,"plannerGroupId")}),c.jsx(hR,{label:"Main work center",children:_R(t,"workCenterId")}),c.jsx(hR,{label:"Location",children:_R(t,"locationId")}),c.jsx(hR,{label:"Date last change",children:fR(t.changedDateTime)}),c.jsx(hR,{label:"Date created",children:fR(t.createdDateTime)}),c.jsx(hR,{label:"Basic start",children:fR(t.basicStartDateTime)}),c.jsx(hR,{label:"Basic finish",children:fR(t.basicFinishDateTime)}),c.jsx(hR,{label:"Priority",contentClassName:UH,children:c.jsx(i.MarkedContent,{backgroundColor:d.background,textColor:d.color,className:GH,children:"L"===t.priorityId?"Low":"M"===t.priorityId?"Medium":"H"===t.priorityId?"High":"Unknown"})}),c.jsx(hR,{label:"Equipment",children:_R(t,"equipmentId")}),c.jsx(hR,{label:"Revision",children:_R(t,"revisionId")}),c.jsx(hR,{label:"System",children:t.systemId?`${t.systemId} ${t.system}`:"-"}),u&&c.jsx(hR,{label:"Work Type",children:c.jsx(OR,{items:null!=u?u:[]})}),c.jsx(hR,{label:"Sort field",children:_R(t,"sortField")}),t.longText&&""!==t.longText&&!a&&c.jsx(hR,{label:"Long text",stretched:!0,children:c.jsx(VM,{longText:t.longText})})]})]})}function KH({workOrderDetails:t}){const{workOrderOperationId:n}=uB(),o=e.isMobileDevice(),[a,s]=r.useState(n?2:0);if(!t)return null;const l=t.id,u=[c.jsx(ZH,{workOrderDetails:t},"details-workorder"),c.jsx(mF,{itemId:t.id,isWorkOrder:!0},"tag-info-panel"),c.jsx(Hz,{workOrderId:l},"operations-panel"),c.jsx(vF,{workOrderId:l},"objects-panel"),c.jsx(Pz,{recordId:l,recordType:t.orderType,isWorkOrder:!0},"attachments-panel"),c.jsx(uF,{itemId:l,tagNo:t.tagId,isWorkOrder:!0},"tag-document-refs-panel"),c.jsx(yH,{itemId:l,isWorkOrder:!0},"tag-history-panel"),c.jsx(PF,{itemId:l,isWorkOrder:!0},"risk-panel")];return c.jsx(i.MultilineTabs,{activeTabIndex:a,onTabChange:s,tabs:[{title:"Info"},{title:"Tag info"},{title:"Operations"},{title:"Objects"},{title:"Attachments"},{title:"Documents"},{title:"History"},{title:"Safe X"}],initiallyExpanded:!o,children:c.jsx(d.Tabs.Panels,{className:FH,children:u.map(((e,t)=>c.jsx(d.Tabs.Panel,{style:{padding:"0",height:"inherit"},children:e},t)))})})}Ad(".DetailsWorkOrder-module_content__NYIfs{padding:24px}.DetailsWorkOrder-module_content__NYIfs>dl{margin-top:0}.DetailsWorkOrder-module_mobileContent__fVCD6{height:100%}.DetailsWorkOrder-module_topRow__x5sNx{display:flex}.DetailsWorkOrder-module_verticalTopRow__fkFZw{display:flex;justify-content:space-between}.DetailsWorkOrder-module_mobileButtonContainer__UJdMX{align-items:center;display:flex}.DetailsWorkOrder-module_infoBlockSpacing__kDEgw{margin-top:4px}.DetailsWorkOrder-module_markedContent__fuiKQ{line-height:1.5rem;padding:4px 8px}.DetailsWorkOrder-module_listItem__p0mVs{padding:0}.DetailsWorkOrder-module_primary__BKBim{font-size:.875rem}.DetailsWorkOrder-module_secondary__alSdc{font-size:.75rem}.DetailsWorkOrder-module_infoBlockNoBorder__sWnfD>div{border-bottom:0}");var JH="WorkOrder-module_verticalContainer__oo-Tr",XH="WorkOrder-module_splitView__HLevT",$H="WorkOrder-module_splitHorizontal__HYUpO";Ad(".WorkOrder-module_lonelyDetails__smloz{height:100%}.WorkOrder-module_verticalContainer__oo-Tr{display:flex;flex-direction:column;height:100%;overflow:auto;width:inherit}.WorkOrder-module_splitView__HLevT{height:100%!important}.WorkOrder-module_splitHorizontal__HYUpO{overflow:auto!important}");var eq="RemoveSelectionItemsConfirmDialog-module_margin__hGzxO";Ad(".RemoveSelectionItemsConfirmDialog-module_margin__hGzxO{margin-bottom:var(--medium)!important}");function tq(e){const{items:t,plural:n="",singular:r=""}=e;return t.length>1?n:r}const nq=new Map,rq=e=>{const t=nq.get(e);return t?Object.fromEntries(Object.entries(t.stores).map((([e,t])=>[e,t.getState()]))):{}},oq=(e,t={})=>(n,r,o)=>{const{enabled:i,anonymousActionType:a,store:s,...l}=t;let c;try{c=(null==i||i)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(e){}if(!c)return i&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,o);const{connection:u,...d}=((e,t,n)=>{if(void 0===e)return{type:"untracked",connection:t.connect(n)};const r=nq.get(n.name);if(r)return{type:"tracked",store:e,...r};const o={connection:t.connect(n),stores:{}};return nq.set(n.name,o),{type:"tracked",store:e,...o}})(s,c,l);let m=!0;o.setState=(e,t,i)=>{const c=n(e,t);if(!m)return c;const d=void 0===i?{type:a||"anonymous"}:"string"==typeof i?{type:i}:i;return void 0===s?(null==u||u.send(d,r()),c):(null==u||u.send({...d,type:`${s}/${d.type}`},{...rq(l.name),[s]:o.getState()}),c)};const p=(...e)=>{const t=m;m=!1,n(...e),m=t},h=e(o.setState,r,o);if("untracked"===d.type?null==u||u.init(h):(d.stores[d.store]=o,null==u||u.init(Object.fromEntries(Object.entries(d.stores).map((([e,t])=>[e,e===d.store?h:t.getState()]))))),o.dispatchFromDevtools&&"function"==typeof o.dispatch){let e=!1;const t=o.dispatch;o.dispatch=(...n)=>{"__setState"!==n[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...n)}}return u.subscribe((e=>{var t;switch(e.type){case"ACTION":return"string"!=typeof e.payload?void console.error("[zustand devtools middleware] Unsupported action format"):iq(e.payload,(e=>{if("__setState"!==e.type)o.dispatchFromDevtools&&"function"==typeof o.dispatch&&o.dispatch(e);else{if(void 0===s)return void p(e.state);1!==Object.keys(e.state).length&&console.error('\n [zustand devtools middleware] Unsupported __setState action format. \n When using \'store\' option in devtools(), the \'state\' should have only one key, which is a value of \'store\' that was passed in devtools(),\n and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }\n ');const t=e.state[s];if(null==t)return;JSON.stringify(o.getState())!==JSON.stringify(t)&&p(t)}}));case"DISPATCH":switch(e.payload.type){case"RESET":return p(h),void 0===s?null==u?void 0:u.init(o.getState()):null==u?void 0:u.init(rq(l.name));case"COMMIT":return void 0===s?void(null==u||u.init(o.getState())):null==u?void 0:u.init(rq(l.name));case"ROLLBACK":return iq(e.state,(e=>{if(void 0===s)return p(e),void(null==u||u.init(o.getState()));p(e[s]),null==u||u.init(rq(l.name))}));case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return iq(e.state,(e=>{void 0!==s?JSON.stringify(o.getState())!==JSON.stringify(e[s])&&p(e[s]):p(e)}));case"IMPORT_STATE":{const{nextLiftedState:n}=e.payload,r=null==(t=n.computedStates.slice(-1)[0])?void 0:t.state;if(!r)return;return p(void 0===s?r:r[s]),void(null==u||u.send(null,n))}case"PAUSE_RECORDING":return m=!m}return}})),h},iq=(e,t)=>{let n;try{n=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==n&&t(n)},aq=e=>(t,n,r)=>{const o=r.subscribe;r.subscribe=(e,t,n)=>{let i=e;if(t){const o=(null==n?void 0:n.equalityFn)||Object.is;let a=e(r.getState());i=n=>{const r=e(n);if(!o(a,r)){const e=a;t(a=r,e)}},(null==n?void 0:n.fireImmediately)&&t(a,a)}return o(i)};return e(t,n,r)};function sq(e,t){let n;try{n=e()}catch(e){return}return{getItem:e=>{var t;const r=e=>null===e?null:JSON.parse(e,void 0),o=null!=(t=n.getItem(e))?t:null;return o instanceof Promise?o.then(r):r(o)},setItem:(e,t)=>n.setItem(e,JSON.stringify(t,void 0)),removeItem:e=>n.removeItem(e)}}const lq=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then:e=>lq(e)(n),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>lq(t)(e)}}},cq=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),((e,t)=>(n,r,o)=>{let i={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},a=!1;const s=new Set,l=new Set;let c;try{c=i.getStorage()}catch(e){}if(!c)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...e)}),r,o);const u=lq(i.serialize),d=()=>{const e=i.partialize({...r()});let t;const n=u({state:e,version:i.version}).then((e=>c.setItem(i.name,e))).catch((e=>{t=e}));if(t)throw t;return n},m=o.setState;o.setState=(e,t)=>{m(e,t),d()};const p=e(((...e)=>{n(...e),d()}),r,o);let h;const f=()=>{var e;if(!c)return;a=!1,s.forEach((e=>e(r())));const t=(null==(e=i.onRehydrateStorage)?void 0:e.call(i,r()))||void 0;return lq(c.getItem.bind(c))(i.name).then((e=>{if(e)return i.deserialize(e)})).then((e=>{if(e){if("number"!=typeof e.version||e.version===i.version)return e.state;if(i.migrate)return i.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}})).then((e=>{var t;return h=i.merge(e,null!=(t=r())?t:p),n(h,!0),d()})).then((()=>{null==t||t(h,void 0),a=!0,l.forEach((e=>e(h)))})).catch((e=>{null==t||t(void 0,e)}))};return o.persist={setOptions:e=>{i={...i,...e},e.getStorage&&(c=e.getStorage())},clearStorage:()=>{null==c||c.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>f(),hasHydrated:()=>a,onHydrate:e=>(s.add(e),()=>{s.delete(e)}),onFinishHydration:e=>(l.add(e),()=>{l.delete(e)})},f(),h||p})(e,t)):((e,t)=>(n,r,o)=>{let i={storage:sq((()=>localStorage)),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},a=!1;const s=new Set,l=new Set;let c=i.storage;if(!c)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...e)}),r,o);const u=()=>{const e=i.partialize({...r()});return c.setItem(i.name,{state:e,version:i.version})},d=o.setState;o.setState=(e,t)=>{d(e,t),u()};const m=e(((...e)=>{n(...e),u()}),r,o);let p;o.getInitialState=()=>m;const h=()=>{var e,t;if(!c)return;a=!1,s.forEach((e=>{var t;return e(null!=(t=r())?t:m)}));const o=(null==(t=i.onRehydrateStorage)?void 0:t.call(i,null!=(e=r())?e:m))||void 0;return lq(c.getItem.bind(c))(i.name).then((e=>{if(e){if("number"!=typeof e.version||e.version===i.version)return[!1,e.state];if(i.migrate)return[!0,i.migrate(e.state,e.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]})).then((e=>{var t;const[o,a]=e;if(p=i.merge(a,null!=(t=r())?t:m),n(p,!0),o)return u()})).then((()=>{null==o||o(p,void 0),p=r(),a=!0,l.forEach((e=>e(p)))})).catch((e=>{null==o||o(void 0,e)}))};return o.persist={setOptions:e=>{i={...i,...e},e.storage&&(c=e.storage)},clearStorage:()=>{null==c||c.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>h(),hasHydrated:()=>a,onHydrate:e=>(s.add(e),()=>{s.delete(e)}),onFinishHydration:e=>(l.add(e),()=>{l.delete(e)})},i.skipHydration||h(),p||m})(e,t),uq=e=>(t,n,r)=>(r.setState=(e,n,...r)=>{const o="function"==typeof e?p.produce(e):e;return t(o,n,...r)},e(r.setState,n,r));var dq,mq=il,pq=st,hq=Mr,fq=Ar,gq=Al;function vq(e){return!!e&&"workOrderId"in e}function yq(e){return!!e&&"equipmentId"in e}function xq(e){return!!e&&("tagNo"in e&&"instCode"in e)}function bq(e){if(vq(e))return{workOrderId:rb(e.workOrderId)};if(yq(e))return{equipmentId:rb(e.equipmentId)};if(xq(e))return{tagNo:e.tagNo,instCode:e.instCode};throw new Error("Unknown item type",e)}_o({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=pq(this),n=hq(t),r=gq(t,0);return r.length=mq(r,t,t,n,0,void 0===e?1:fq(e)),r}}),gi("flat"),exports.GlobalSelectionItemType=void 0,(dq=exports.GlobalSelectionItemType||(exports.GlobalSelectionItemType={})).WorkOrder="WorkOrder",dq.Tag="Tag",dq.Equipment="Equipment";const Cq=Object.freeze({isWorkOrderId:vq,isEquipmentId:yq,isTagId:xq,idsEqual:function(e,t){return vq(e)&&vq(t)?e.workOrderId===t.workOrderId:yq(e)&&yq(t)?e.equipmentId===t.equipmentId:!(!xq(e)||!xq(t))&&(e.tagNo===t.tagNo&&e.instCode===t.instCode)},mapToId:bq,mapIdToItemType:function(e){if(Cq.isTagId(e))return exports.GlobalSelectionItemType.Tag;if(Cq.isWorkOrderId(e))return exports.GlobalSelectionItemType.WorkOrder;if(Cq.isEquipmentId(e))return exports.GlobalSelectionItemType.Equipment;throw new Error("[Global Selection] Unknown item id type: "+JSON.stringify(e))},itemIdToString:function(e){return Object.values(bq(e)).join("-")}});function Iq(e){return Ym(this,void 0,void 0,(function*(){const n=t.chain(e).groupBy((e=>e.instCode)).map(((e,t)=>({instCode:t,tags:e}))).value(),r=[];for(const e of n){const t=(yield l.Search.Tags.getAllAsync(e.tags.map((e=>e.tagNo)),e.instCode)).values.map((t=>({instCode:e.instCode,pdmsPlantCode:t.pdmsPlantCode,tagNo:t.tagNo,plantNo:t.plantNo}))).filter((e=>!!e.pdmsPlantCode));r.push(...t)}return r}))}function Eq(e){return Ym(this,void 0,void 0,(function*(){const n=t.chain(e).groupBy((e=>e.tagPlantId)).map(((e,t)=>({tagPlantId:t,items:e}))).value(),r=[];for(const e of n)if(e.tagPlantId){const t=yield _q(e.items,e.tagPlantId);r.push(...t)}return r}))}function _q(t,n){return Ym(this,void 0,void 0,(function*(){const r=yield Hp(n),o=t.map((e=>e.tagId)).filter(e.hasValue),i=(yield l.Search.Tags.getAllAsync(o,r)).values,a=[];for(const e of t){const t=i.find((t=>t.tagNo===e.tagId));if(t){const n=e.tagId,r=t.pdmsPlantCode;if(t.pdmsPlantCode){const o=e.tagPlantId||t.plantNo;a.push({instCode:t.instCode,pdmsPlantCode:r,tagNo:n,plantNo:o})}}}return a}))}function Aq(){return Ym(this,void 0,void 0,(function*(){let e=[];const n=Object.values(exports.GlobalSelectionItemType);for(const t of n)switch(t){case exports.GlobalSelectionItemType.Tag:{const t=kq(),n=yield Iq(t);e.push(...n);break}case exports.GlobalSelectionItemType.WorkOrder:{const t=Sq(),n=yield Eq(t);e.push(...n);break}case exports.GlobalSelectionItemType.Equipment:{const t=jq(),n=yield Eq(t);e.push(...n);break}default:return wq()}return e=t.uniqBy(e,(e=>JSON.stringify({instCode:e.instCode,pdmsPlantNo:e.pdmsPlantCode,tagNo:e.tagNo}))),e}))}function wq(e){throw new Error("Didn't expect to get here")}function Sq(){const e=cU().lists[exports.GlobalSelectionItemType.WorkOrder];if(!e)return[];const n=Array.from(e.items.values().map((e=>e.data)));return t.uniqBy(n,(e=>e.workOrderId))}function kq(){const e=cU().lists[exports.GlobalSelectionItemType.Tag];if(!e)return[];const n=Array.from(e.items.values().map((e=>e.data)));return t.uniqBy(n,(e=>e.instCode+e.tagNo))}function jq(){const e=cU().lists[exports.GlobalSelectionItemType.Equipment];if(!e)return[];const n=Array.from(e.items.values().map((e=>e.data)));return t.uniqBy(n,(e=>e.equipmentId))}function Nq(e,t,n){return e.map((e=>function(e,t,n){return{id:Cq.mapToId(e),type:t,data:e,metaData:{color:Tq(t),isHiddenByUser:!1,errorStatus:void 0,systemStatus:n}}}(e,t,n)))}function Tq(e){return{[exports.GlobalSelectionItemType.WorkOrder]:"#C6FF00",[exports.GlobalSelectionItemType.Tag]:"#FA00FF",[exports.GlobalSelectionItemType.Equipment]:"#00FFFF"}[e]||"#FF6F00"}const{idsEqual:Pq,mapToId:Oq,itemIdToString:Mq}=Cq;function Lq(e,n,r,o,i,a){return Ym(this,void 0,void 0,(function*(){const{itemIds:s}=r,l=[{values:[],isSuccess:!0}],c=n().lists[o],u=s.filter((e=>!c.items.has(Cq.itemIdToString(e))));if(0===u.length)return{fetchResult:l,actionResult:"NoChanges"};const d=t.uniqBy(u,(e=>Mq(Oq(e))));e((e=>{const t=e.lists[o];if(d.length>0){Nq(d.map((e=>a(e))),o,"isLoading").forEach((e=>{t.items.set(Cq.itemIdToString(e.id),e)}))}}),void 0,`add${o}--loading`);const m=yield i(d),p=m.map((e=>e.values||[])).filter((e=>e.length>0)).flat(),h=p.map((e=>Cq.mapToId(e))),f=d.filter((e=>!h.some((t=>Pq(t,e)))));return f.length>0&&e((e=>{!function(e){const{itemType:t,state:n,notFoundItemIds:r}=e;n.lists[t].items.forEach((e=>{r.find((t=>Cq.idsEqual(e.id,t)))&&(e.metaData.systemStatus="notFound")}))}({state:e,itemType:o,notFoundItemIds:f})}),void 0,`add${o}--not-found`),e((e=>{!function(e){const{itemType:t,state:n,itemDataToStore:r}=e,o=n.lists[t];r.forEach((e=>{const t=e,n=o.items.get(Cq.itemIdToString(t));n&&(n.data=e,n.metaData.systemStatus="loadedSuccessfully")}))}({state:e,itemType:o,itemDataToStore:p})}),void 0,`add${o}--success`),{fetchResult:m,actionResult:"ItemsAdded"}}))}function Bq(e){const t={tagNo:"",description:"",projectCode:"",system:"",instCode:"",pdmsPlantCode:void 0,tagCategoryDescription:"",tagCategory:0,tagStatus:l.TagStatus.UNKNOWN,tagType:"",updatedDate:new Date(0),locationCode:"",contrCode:"",plantNo:"",poNo:"",xCoordinate:void 0,yCoordinate:void 0,zCoordinate:void 0,additionalFields:[]};return Object.assign(Object.assign({},t),e)}function Dq(e){const t={workOrderId:"",tagId:void 0,tagPlantId:void 0,workCenterId:"",workCenterPlantId:"",title:"",plantId:"",activeStatusIds:[],revisionId:"",sortField:"",basicStartDateTime:void 0,basicEndDateTime:void 0,createdDateTime:void 0,changedDateTime:void 0,isTimeOnlyWorkOrder:!1,workOrderType:l.WorkOrderType.Unknown,workOrderTypeDescription:l.WorkOrderTypeDescription.Unknown};return Object.assign(Object.assign({},t),e)}var Rq={exports:{}};Rq.exports=function(){
|
|
2
2
|
/*! *****************************************************************************
|
|
3
3
|
Copyright (c) Microsoft Corporation.
|
|
4
4
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
12
12
|
PERFORMANCE OF THIS SOFTWARE.
|
|
13
13
|
***************************************************************************** */
|
|
14
|
-
var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};function t(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};function r(e,t,n){for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:I,i=Object.keys,a=Array.isArray;function s(e,t){return"object"!=typeof t||i(t).forEach((function(n){e[n]=t[n]})),e}"undefined"==typeof Promise||o.Promise||(o.Promise=Promise);var l=Object.getPrototypeOf,c={}.hasOwnProperty;function u(e,t){return c.call(e,t)}function d(e,t){"function"==typeof t&&(t=t(l(e))),("undefined"==typeof Reflect?i:Reflect.ownKeys)(t).forEach((function(n){p(e,n,t[n])}))}var m=Object.defineProperty;function p(e,t,n,r){m(e,t,s(n&&u(n,"get")&&"function"==typeof n.get?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},r))}function h(e){return{from:function(t){return e.prototype=Object.create(t.prototype),p(e.prototype,"constructor",e),{extend:d.bind(null,e.prototype)}}}}var f=Object.getOwnPropertyDescriptor;function g(e,t){var n;return f(e,t)||(n=l(e))&&g(n,t)}var v=[].slice;function y(e,t,n){return v.call(e,t,n)}function x(e,t){return t(e)}function b(e){if(!e)throw new Error("Assertion Failed")}function C(e){o.setImmediate?setImmediate(e):setTimeout(e,0)}function E(e,t){return e.reduce((function(e,n,r){var o=t(n,r);return o&&(e[o[0]]=o[1]),e}),{})}function _(e,t){if("string"==typeof t&&u(e,t))return e[t];if(!t)return e;if("string"!=typeof t){for(var n=[],r=0,o=t.length;r<o;++r){var i=_(e,t[r]);n.push(i)}return n}var a=t.indexOf(".");if(-1!==a){var s=e[t.substr(0,a)];return null==s?void 0:_(s,t.substr(a+1))}}function A(e,t,n){if(e&&void 0!==t&&(!("isFrozen"in Object)||!Object.isFrozen(e)))if("string"!=typeof t&&"length"in t){b("string"!=typeof n&&"length"in n);for(var r=0,o=t.length;r<o;++r)A(e,t[r],n[r])}else{var i=t.indexOf(".");if(-1!==i){var s=t.substr(0,i),l=t.substr(i+1);if(""===l)void 0===n?a(e)&&!isNaN(parseInt(s))?e.splice(s,1):delete e[s]:e[s]=n;else{var c=e[s];c&&u(e,s)||(c=e[s]={}),A(c,l,n)}}else void 0===n?a(e)&&!isNaN(parseInt(t))?e.splice(t,1):delete e[t]:e[t]=n}}function w(e,t){"string"==typeof t?A(e,t,void 0):"length"in t&&[].map.call(t,(function(t){A(e,t,void 0)}))}function S(e){var t={};for(var n in e)u(e,n)&&(t[n]=e[n]);return t}var k=[].concat;function j(e){return k.apply([],e)}var N="BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(j([8,16,32,64].map((function(e){return["Int","Uint","Float"].map((function(t){return t+e+"Array"}))})))).filter((function(e){return o[e]})),T=new Set(N.map((function(e){return o[e]})));function P(e){var t={};for(var n in e)if(u(e,n)){var r=e[n];t[n]=!r||"object"!=typeof r||T.has(r.constructor)?r:P(r)}return t}function O(e){for(var t in e)if(u(e,t))return!1;return!0}var M=null;function L(e){M=new WeakMap;var t=B(e);return M=null,t}function B(e){if(!e||"object"!=typeof e)return e;var t=M.get(e);if(t)return t;if(a(e)){t=[],M.set(e,t);for(var n=0,r=e.length;n<r;++n)t.push(B(e[n]))}else if(T.has(e.constructor))t=e;else{var o=l(e);for(var i in t=o===Object.prototype?{}:Object.create(o),M.set(e,t),e)u(e,i)&&(t[i]=B(e[i]))}return t}var D={}.toString;function R(e){return D.call(e).slice(8,-1)}var z="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator",F="symbol"==typeof z?function(e){var t;return null!=e&&(t=e[z])&&t.apply(e)}:function(){return null};function H(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n>=0}var q={};function U(e){var t,n,r,o;if(1===arguments.length){if(a(e))return e.slice();if(this===q&&"string"==typeof e)return[e];if(o=F(e)){for(n=[];!(r=o.next()).done;)n.push(r.value);return n}if(null==e)return[e];if("number"==typeof(t=e.length)){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}var G="undefined"!=typeof Symbol?function(e){return"AsyncFunction"===e[Symbol.toStringTag]}:function(){return!1},W=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],Q=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(W),Y={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function V(e,t){this.name=e,this.message=t}function Z(e,t){return e+". Errors: "+Object.keys(t).map((function(e){return t[e].toString()})).filter((function(e,t,n){return n.indexOf(e)===t})).join("\n")}function K(e,t,n,r){this.failures=t,this.failedKeys=r,this.successCount=n,this.message=Z(e,t)}function J(e,t){this.name="BulkError",this.failures=Object.keys(t).map((function(e){return t[e]})),this.failuresByPos=t,this.message=Z(e,this.failures)}h(V).from(Error).extend({toString:function(){return this.name+": "+this.message}}),h(K).from(V),h(J).from(V);var X=Q.reduce((function(e,t){return e[t]=t+"Error",e}),{}),$=V,ee=Q.reduce((function(e,t){var n=t+"Error";function r(e,r){this.name=n,e?"string"==typeof e?(this.message="".concat(e).concat(r?"\n "+r:""),this.inner=r||null):"object"==typeof e&&(this.message="".concat(e.name," ").concat(e.message),this.inner=e):(this.message=Y[t]||n,this.inner=null)}return h(r).from($),e[t]=r,e}),{});ee.Syntax=SyntaxError,ee.Type=TypeError,ee.Range=RangeError;var te=W.reduce((function(e,t){return e[t+"Error"]=ee[t],e}),{});function ne(e,t){if(!e||e instanceof V||e instanceof TypeError||e instanceof SyntaxError||!e.name||!te[e.name])return e;var n=new te[e.name](t||e.message,e);return"stack"in e&&p(n,"stack",{get:function(){return this.inner.stack}}),n}var re=Q.reduce((function(e,t){return-1===["Syntax","Type","Range"].indexOf(t)&&(e[t+"Error"]=ee[t]),e}),{});function oe(){}function ie(e){return e}function ae(e,t){return null==e||e===ie?t:function(n){return t(e(n))}}function se(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function le(e,t){return e===oe?t:function(){var n=e.apply(this,arguments);void 0!==n&&(arguments[0]=n);var r=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var i=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?se(r,this.onsuccess):r),o&&(this.onerror=this.onerror?se(o,this.onerror):o),void 0!==i?i:n}}function ce(e,t){return e===oe?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?se(n,this.onsuccess):n),r&&(this.onerror=this.onerror?se(r,this.onerror):r)}}function ue(e,t){return e===oe?t:function(n){var r=e.apply(this,arguments);s(n,r);var o=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return o&&(this.onsuccess=this.onsuccess?se(o,this.onsuccess):o),i&&(this.onerror=this.onerror?se(i,this.onerror):i),void 0===r?void 0===a?void 0:a:s(r,a)}}function de(e,t){return e===oe?t:function(){return!1!==t.apply(this,arguments)&&e.apply(this,arguments)}}function me(e,t){return e===oe?t:function(){var n=e.apply(this,arguments);if(n&&"function"==typeof n.then){for(var r=this,o=arguments.length,i=new Array(o);o--;)i[o]=arguments[o];return n.then((function(){return t.apply(r,i)}))}return t.apply(this,arguments)}}re.ModifyError=K,re.DexieError=V,re.BulkError=J;var pe="undefined"!=typeof location&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function he(e,t){pe=e}var fe={},ge=100,ve="undefined"==typeof Promise?[]:function(){var e=Promise.resolve();if("undefined"==typeof crypto||!crypto.subtle)return[e,l(e),e];var t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,l(t),e]}(),ye=ve[0],xe=ve[1],be=ve[2],Ce=xe&&xe.then,Ie=ye&&ye.constructor,Ee=!!be;function _e(){queueMicrotask(Ge)}var Ae=function(e,t){Oe.push([e,t]),Se&&(_e(),Se=!1)},we=!0,Se=!0,ke=[],je=[],Ne=ie,Te={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:oe,pgp:!1,env:{},finalize:oe},Pe=Te,Oe=[],Me=0,Le=[];function Be(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");this._listeners=[],this._lib=!1;var t=this._PSD=Pe;if("function"!=typeof e){if(e!==fe)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(!1===this._state&&Fe(this,this._value))}this._state=null,this._value=null,++t.ref,ze(this,e)}var De={get:function(){var e=Pe,t=rt;function n(n,r){var o=this,i=!e.global&&(e!==Pe||t!==rt),a=i&&!st(),s=new Be((function(t,s){qe(o,new Re(ht(n,e,i,a),ht(r,e,i,a),t,s,e))}));return this._consoleTask&&(s._consoleTask=this._consoleTask),s}return n.prototype=fe,n},set:function(e){p(this,"then",e&&e.prototype===fe?De:{get:function(){return e},set:De.set})}};function Re(e,t,n,r,o){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=r,this.psd=o}function ze(e,t){try{t((function(t){if(null===e._state){if(t===e)throw new TypeError("A promise cannot be resolved with itself.");var n=e._lib&&We();t&&"function"==typeof t.then?ze(e,(function(e,n){t instanceof Be?t._then(e,n):t.then(e,n)})):(e._state=!0,e._value=t,He(e)),n&&Qe()}}),Fe.bind(null,e))}catch(t){Fe(e,t)}}function Fe(e,t){if(je.push(t),null===e._state){var n=e._lib&&We();t=Ne(t),e._state=!1,e._value=t,Ze(e),He(e),n&&Qe()}}function He(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n<r;++n)qe(e,t[n]);var o=e._PSD;--o.ref||o.finalize(),0===Me&&(++Me,Ae((function(){0==--Me&&Ye()}),[]))}function qe(e,t){if(null!==e._state){var n=e._state?t.onFulfilled:t.onRejected;if(null===n)return(e._state?t.resolve:t.reject)(e._value);++t.psd.ref,++Me,Ae(Ue,[n,e,t])}else e._listeners.push(t)}function Ue(e,t,n){try{var r,o=t._value;!t._state&&je.length&&(je=[]),r=pe&&t._consoleTask?t._consoleTask.run((function(){return e(o)})):e(o),t._state||-1!==je.indexOf(o)||Ke(t),n.resolve(r)}catch(e){n.reject(e)}finally{0==--Me&&Ye(),--n.psd.ref||n.psd.finalize()}}function Ge(){pt(Te,(function(){We()&&Qe()}))}function We(){var e=we;return we=!1,Se=!1,e}function Qe(){var e,t,n;do{for(;Oe.length>0;)for(e=Oe,Oe=[],n=e.length,t=0;t<n;++t){var r=e[t];r[0].apply(null,r[1])}}while(Oe.length>0);we=!0,Se=!0}function Ye(){var e=ke;ke=[],e.forEach((function(e){e._PSD.onunhandled.call(null,e._value,e)}));for(var t=Le.slice(0),n=t.length;n;)t[--n]()}function Ve(e){function t(){e(),Le.splice(Le.indexOf(t),1)}Le.push(t),++Me,Ae((function(){0==--Me&&Ye()}),[])}function Ze(e){ke.some((function(t){return t._value===e._value}))||ke.push(e)}function Ke(e){for(var t=ke.length;t;)if(ke[--t]._value===e._value)return void ke.splice(t,1)}function Je(e){return new Be(fe,!1,e)}function Xe(e,t){var n=Pe;return function(){var r=We(),o=Pe;try{return dt(n,!0),e.apply(this,arguments)}catch(e){t&&t(e)}finally{dt(o,!1),r&&Qe()}}}d(Be.prototype,{then:De,_then:function(e,t){qe(this,new Re(null,null,e,t,Pe))},catch:function(e){if(1===arguments.length)return this.then(null,e);var t=arguments[0],n=arguments[1];return"function"==typeof t?this.then(null,(function(e){return e instanceof t?n(e):Je(e)})):this.then(null,(function(e){return e&&e.name===t?n(e):Je(e)}))},finally:function(e){return this.then((function(t){return Be.resolve(e()).then((function(){return t}))}),(function(t){return Be.resolve(e()).then((function(){return Je(t)}))}))},timeout:function(e,t){var n=this;return e<1/0?new Be((function(r,o){var i=setTimeout((function(){return o(new ee.Timeout(t))}),e);n.then(r,o).finally(clearTimeout.bind(null,i))})):this}}),"undefined"!=typeof Symbol&&Symbol.toStringTag&&p(Be.prototype,Symbol.toStringTag,"Dexie.Promise"),Te.env=mt(),d(Be,{all:function(){var e=U.apply(null,arguments).map(lt);return new Be((function(t,n){0===e.length&&t([]);var r=e.length;e.forEach((function(o,i){return Be.resolve(o).then((function(n){e[i]=n,--r||t(e)}),n)}))}))},resolve:function(e){return e instanceof Be?e:e&&"function"==typeof e.then?new Be((function(t,n){e.then(t,n)})):new Be(fe,!0,e)},reject:Je,race:function(){var e=U.apply(null,arguments).map(lt);return new Be((function(t,n){e.map((function(e){return Be.resolve(e).then(t,n)}))}))},PSD:{get:function(){return Pe},set:function(e){return Pe=e}},totalEchoes:{get:function(){return rt}},newPSD:it,usePSD:pt,scheduler:{get:function(){return Ae},set:function(e){Ae=e}},rejectionMapper:{get:function(){return Ne},set:function(e){Ne=e}},follow:function(e,t){return new Be((function(n,r){return it((function(t,n){var r=Pe;r.unhandleds=[],r.onunhandled=n,r.finalize=se((function(){var e=this;Ve((function(){0===e.unhandleds.length?t():n(e.unhandleds[0])}))}),r.finalize),e()}),t,n,r)}))}}),Ie&&(Ie.allSettled&&p(Be,"allSettled",(function(){var e=U.apply(null,arguments).map(lt);return new Be((function(t){0===e.length&&t([]);var n=e.length,r=new Array(n);e.forEach((function(e,o){return Be.resolve(e).then((function(e){return r[o]={status:"fulfilled",value:e}}),(function(e){return r[o]={status:"rejected",reason:e}})).then((function(){return--n||t(r)}))}))}))})),Ie.any&&"undefined"!=typeof AggregateError&&p(Be,"any",(function(){var e=U.apply(null,arguments).map(lt);return new Be((function(t,n){0===e.length&&n(new AggregateError([]));var r=e.length,o=new Array(r);e.forEach((function(e,i){return Be.resolve(e).then((function(e){return t(e)}),(function(e){o[i]=e,--r||n(new AggregateError(o))}))}))}))})),Ie.withResolvers&&(Be.withResolvers=Ie.withResolvers));var $e={awaits:0,echoes:0,id:0},et=0,tt=[],nt=0,rt=0,ot=0;function it(e,t,n,r){var o=Pe,i=Object.create(o);i.parent=o,i.ref=0,i.global=!1,i.id=++ot,Te.env,i.env=Ee?{Promise:Be,PromiseProp:{value:Be,configurable:!0,writable:!0},all:Be.all,race:Be.race,allSettled:Be.allSettled,any:Be.any,resolve:Be.resolve,reject:Be.reject}:{},t&&s(i,t),++o.ref,i.finalize=function(){--this.parent.ref||this.parent.finalize()};var a=pt(i,e,n,r);return 0===i.ref&&i.finalize(),a}function at(){return $e.id||($e.id=++et),++$e.awaits,$e.echoes+=ge,$e.id}function st(){return!!$e.awaits&&(0==--$e.awaits&&($e.id=0),$e.echoes=$e.awaits*ge,!0)}function lt(e){return $e.echoes&&e&&e.constructor===Ie?(at(),e.then((function(e){return st(),e}),(function(e){return st(),gt(e)}))):e}function ct(e){++rt,$e.echoes&&0!=--$e.echoes||($e.echoes=$e.awaits=$e.id=0),tt.push(Pe),dt(e,!0)}function ut(){var e=tt[tt.length-1];tt.pop(),dt(e,!1)}function dt(e,t){var n=Pe;if((t?!$e.echoes||nt++&&e===Pe:!nt||--nt&&e===Pe)||queueMicrotask(t?ct.bind(null,e):ut),e!==Pe&&(Pe=e,n===Te&&(Te.env=mt()),Ee)){var r=Te.env.Promise,i=e.env;(n.global||e.global)&&(Object.defineProperty(o,"Promise",i.PromiseProp),r.all=i.all,r.race=i.race,r.resolve=i.resolve,r.reject=i.reject,i.allSettled&&(r.allSettled=i.allSettled),i.any&&(r.any=i.any))}}function mt(){var e=o.Promise;return Ee?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(o,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject}:{}}function pt(e,t,n,r,o){var i=Pe;try{return dt(e,!0),t(n,r,o)}finally{dt(i,!1)}}function ht(e,t,n,r){return"function"!=typeof e?e:function(){var o=Pe;n&&at(),dt(t,!0);try{return e.apply(this,arguments)}finally{dt(o,!1),r&&queueMicrotask(st)}}}function ft(e){Promise===Ie&&0===$e.echoes?0===nt?e():enqueueNativeMicroTask(e):setTimeout(e,0)}-1===(""+Ce).indexOf("[native code]")&&(at=st=oe);var gt=Be.reject;function vt(e,t,n,r){if(e.idbdb&&(e._state.openComplete||Pe.letThrough||e._vip)){var o=e._createTransaction(t,n,e._dbSchema);try{o.create(),e._state.PR1398_maxLoop=3}catch(o){return o.name===X.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),e.close({disableAutoOpen:!1}),e.open().then((function(){return vt(e,t,n,r)}))):gt(o)}return o._promise(t,(function(e,t){return it((function(){return Pe.trans=o,r(e,t,o)}))})).then((function(e){if("readwrite"===t)try{o.idbtrans.commit()}catch(e){}return"readonly"===t?e:o._completion.then((function(){return e}))}))}if(e._state.openComplete)return gt(new ee.DatabaseClosed(e._state.dbOpenError));if(!e._state.isBeingOpened){if(!e._state.autoOpen)return gt(new ee.DatabaseClosed);e.open().catch(oe)}return e._state.dbReadyPromise.then((function(){return vt(e,t,n,r)}))}var yt="4.0.11",xt=String.fromCharCode(65535),bt=-1/0,Ct="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",It="String expected.",Et=[],_t="__dbnames",At="readonly",wt="readwrite";function St(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var kt={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function jt(e){return"string"!=typeof e||/\./.test(e)?function(e){return e}:function(t){return void 0===t[e]&&e in t&&delete(t=L(t))[e],t}}function Nt(){throw ee.Type()}function Tt(e,t){try{var n=Mt(e),r=Mt(t);if(n!==r)return"Array"===n?1:"Array"===r?-1:"binary"===n?1:"binary"===r?-1:"string"===n?1:"string"===r?-1:"Date"===n?1:"Date"!==r?NaN:-1;switch(n){case"number":case"Date":case"string":return e>t?1:e<t?-1:0;case"binary":return Ot(Lt(e),Lt(t));case"Array":return Pt(e,t)}}catch(e){}return NaN}function Pt(e,t){for(var n=e.length,r=t.length,o=n<r?n:r,i=0;i<o;++i){var a=Tt(e[i],t[i]);if(0!==a)return a}return n===r?0:n<r?-1:1}function Ot(e,t){for(var n=e.length,r=t.length,o=n<r?n:r,i=0;i<o;++i)if(e[i]!==t[i])return e[i]<t[i]?-1:1;return n===r?0:n<r?-1:1}function Mt(e){var t=typeof e;if("object"!==t)return t;if(ArrayBuffer.isView(e))return"binary";var n=R(e);return"ArrayBuffer"===n?"binary":n}function Lt(e){return e instanceof Uint8Array?e:ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(e)}var Bt=function(){function e(){}return e.prototype._trans=function(e,t,n){var r=this._tx||Pe.trans,o=this.name,i=pe&&"undefined"!=typeof console&&console.createTask&&console.createTask("Dexie: ".concat("readonly"===e?"read":"write"," ").concat(this.name));function a(e,n,r){if(!r.schema[o])throw new ee.NotFound("Table "+o+" not part of transaction");return t(r.idbtrans,r)}var s=We();try{var l=r&&r.db._novip===this.db._novip?r===Pe.trans?r._promise(e,a,n):it((function(){return r._promise(e,a,n)}),{trans:r,transless:Pe.transless||Pe}):vt(this.db,e,[this.name],a);return i&&(l._consoleTask=i,l=l.catch((function(e){return console.trace(e),gt(e)}))),l}finally{s&&Qe()}},e.prototype.get=function(e,t){var n=this;return e&&e.constructor===Object?this.where(e).first(t):null==e?gt(new ee.Type("Invalid argument to Table.get()")):this._trans("readonly",(function(t){return n.core.get({trans:t,key:e}).then((function(e){return n.hook.reading.fire(e)}))})).then(t)},e.prototype.where=function(e){if("string"==typeof e)return new this.db.WhereClause(this,e);if(a(e))return new this.db.WhereClause(this,"[".concat(e.join("+"),"]"));var t=i(e);if(1===t.length)return this.where(t[0]).equals(e[t[0]]);var n=this.schema.indexes.concat(this.schema.primKey).filter((function(e){if(e.compound&&t.every((function(t){return e.keyPath.indexOf(t)>=0}))){for(var n=0;n<t.length;++n)if(-1===t.indexOf(e.keyPath[n]))return!1;return!0}return!1})).sort((function(e,t){return e.keyPath.length-t.keyPath.length}))[0];if(n&&this.db._maxKey!==xt){var r=n.keyPath.slice(0,t.length);return this.where(r).equals(r.map((function(t){return e[t]})))}!n&&pe&&console.warn("The query ".concat(JSON.stringify(e)," on ").concat(this.name," would benefit from a ")+"compound index [".concat(t.join("+"),"]"));var o=this.schema.idxByName;function s(e,t){return 0===Tt(e,t)}var l=t.reduce((function(t,n){var r=t[0],i=t[1],l=o[n],c=e[n];return[r||l,r||!l?St(i,l&&l.multi?function(e){var t=_(e,n);return a(t)&&t.some((function(e){return s(c,e)}))}:function(e){return s(c,_(e,n))}):i]}),[null,null]),c=l[0],u=l[1];return c?this.where(c.name).equals(e[c.keyPath]).filter(u):n?this.filter(u):this.where(t).equals("")},e.prototype.filter=function(e){return this.toCollection().and(e)},e.prototype.count=function(e){return this.toCollection().count(e)},e.prototype.offset=function(e){return this.toCollection().offset(e)},e.prototype.limit=function(e){return this.toCollection().limit(e)},e.prototype.each=function(e){return this.toCollection().each(e)},e.prototype.toArray=function(e){return this.toCollection().toArray(e)},e.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},e.prototype.orderBy=function(e){return new this.db.Collection(new this.db.WhereClause(this,a(e)?"[".concat(e.join("+"),"]"):e))},e.prototype.reverse=function(){return this.toCollection().reverse()},e.prototype.mapToClass=function(e){var n=this,r=n.db,o=n.name;this.schema.mappedClass=e,e.prototype instanceof Nt&&(e=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return t(n,e),Object.defineProperty(n.prototype,"db",{get:function(){return r},enumerable:!1,configurable:!0}),n.prototype.table=function(){return o},n}(e));for(var i=new Set,a=e.prototype;a;a=l(a))Object.getOwnPropertyNames(a).forEach((function(e){return i.add(e)}));var s=function(t){if(!t)return t;var n=Object.create(e.prototype);for(var r in t)if(!i.has(r))try{n[r]=t[r]}catch(e){}return n};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=s,this.hook("reading",s),e},e.prototype.defineClass=function(){function e(e){s(this,e)}return this.mapToClass(e)},e.prototype.add=function(e,t){var n=this,r=this.schema.primKey,o=r.auto,i=r.keyPath,a=e;return i&&o&&(a=jt(i)(e)),this._trans("readwrite",(function(e){return n.core.mutate({trans:e,type:"add",keys:null!=t?[t]:null,values:[a]})})).then((function(e){return e.numFailures?Be.reject(e.failures[0]):e.lastResult})).then((function(t){if(i)try{A(e,i,t)}catch(e){}return t}))},e.prototype.update=function(e,t){if("object"!=typeof e||a(e))return this.where(":id").equals(e).modify(t);var n=_(e,this.schema.primKey.keyPath);return void 0===n?gt(new ee.InvalidArgument("Given object does not contain its primary key")):this.where(":id").equals(n).modify(t)},e.prototype.put=function(e,t){var n=this,r=this.schema.primKey,o=r.auto,i=r.keyPath,a=e;return i&&o&&(a=jt(i)(e)),this._trans("readwrite",(function(e){return n.core.mutate({trans:e,type:"put",values:[a],keys:null!=t?[t]:null})})).then((function(e){return e.numFailures?Be.reject(e.failures[0]):e.lastResult})).then((function(t){if(i)try{A(e,i,t)}catch(e){}return t}))},e.prototype.delete=function(e){var t=this;return this._trans("readwrite",(function(n){return t.core.mutate({trans:n,type:"delete",keys:[e]})})).then((function(e){return e.numFailures?Be.reject(e.failures[0]):void 0}))},e.prototype.clear=function(){var e=this;return this._trans("readwrite",(function(t){return e.core.mutate({trans:t,type:"deleteRange",range:kt})})).then((function(e){return e.numFailures?Be.reject(e.failures[0]):void 0}))},e.prototype.bulkGet=function(e){var t=this;return this._trans("readonly",(function(n){return t.core.getMany({keys:e,trans:n}).then((function(e){return e.map((function(e){return t.hook.reading.fire(e)}))}))}))},e.prototype.bulkAdd=function(e,t,n){var r=this,o=Array.isArray(t)?t:void 0,i=(n=n||(o?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",(function(t){var n=r.schema.primKey,a=n.auto,s=n.keyPath;if(s&&o)throw new ee.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(o&&o.length!==e.length)throw new ee.InvalidArgument("Arguments objects and keys must have the same length");var l=e.length,c=s&&a?e.map(jt(s)):e;return r.core.mutate({trans:t,type:"add",keys:o,values:c,wantResults:i}).then((function(e){var t=e.numFailures,n=e.results,o=e.lastResult,a=e.failures;if(0===t)return i?n:o;throw new J("".concat(r.name,".bulkAdd(): ").concat(t," of ").concat(l," operations failed"),a)}))}))},e.prototype.bulkPut=function(e,t,n){var r=this,o=Array.isArray(t)?t:void 0,i=(n=n||(o?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",(function(t){var n=r.schema.primKey,a=n.auto,s=n.keyPath;if(s&&o)throw new ee.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(o&&o.length!==e.length)throw new ee.InvalidArgument("Arguments objects and keys must have the same length");var l=e.length,c=s&&a?e.map(jt(s)):e;return r.core.mutate({trans:t,type:"put",keys:o,values:c,wantResults:i}).then((function(e){var t=e.numFailures,n=e.results,o=e.lastResult,a=e.failures;if(0===t)return i?n:o;throw new J("".concat(r.name,".bulkPut(): ").concat(t," of ").concat(l," operations failed"),a)}))}))},e.prototype.bulkUpdate=function(e){var t=this,n=this.core,r=e.map((function(e){return e.key})),o=e.map((function(e){return e.changes})),i=[];return this._trans("readwrite",(function(a){return n.getMany({trans:a,keys:r,cache:"clone"}).then((function(s){var l=[],c=[];e.forEach((function(e,n){var r=e.key,o=e.changes,a=s[n];if(a){for(var u=0,d=Object.keys(o);u<d.length;u++){var m=d[u],p=o[m];if(m===t.schema.primKey.keyPath){if(0!==Tt(p,r))throw new ee.Constraint("Cannot update primary key in bulkUpdate()")}else A(a,m,p)}i.push(n),l.push(r),c.push(a)}}));var u=l.length;return n.mutate({trans:a,type:"put",keys:l,values:c,updates:{keys:r,changeSpecs:o}}).then((function(e){var n=e.numFailures,r=e.failures;if(0===n)return u;for(var o=0,a=Object.keys(r);o<a.length;o++){var s=a[o],l=i[Number(s)];if(null!=l){var c=r[s];delete r[s],r[l]=c}}throw new J("".concat(t.name,".bulkUpdate(): ").concat(n," of ").concat(u," operations failed"),r)}))}))}))},e.prototype.bulkDelete=function(e){var t=this,n=e.length;return this._trans("readwrite",(function(n){return t.core.mutate({trans:n,type:"delete",keys:e})})).then((function(e){var r=e.numFailures,o=e.lastResult,i=e.failures;if(0===r)return o;throw new J("".concat(t.name,".bulkDelete(): ").concat(r," of ").concat(n," operations failed"),i)}))},e}();function Dt(e){var t={},n=function(n,r){if(r){for(var o=arguments.length,i=new Array(o-1);--o;)i[o-1]=arguments[o];return t[n].subscribe.apply(null,i),e}if("string"==typeof n)return t[n]};n.addEventType=s;for(var r=1,o=arguments.length;r<o;++r)s(arguments[r]);return n;function s(e,r,o){if("object"==typeof e)return l(e);r||(r=de),o||(o=oe);var i={subscribers:[],fire:o,subscribe:function(e){-1===i.subscribers.indexOf(e)&&(i.subscribers.push(e),i.fire=r(i.fire,e))},unsubscribe:function(e){i.subscribers=i.subscribers.filter((function(t){return t!==e})),i.fire=i.subscribers.reduce(r,o)}};return t[e]=n[e]=i,i}function l(e){i(e).forEach((function(t){var n=e[t];if(a(n))s(t,e[t][0],e[t][1]);else{if("asap"!==n)throw new ee.InvalidArgument("Invalid event config");var r=s(t,ie,(function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];r.subscribers.forEach((function(e){C((function(){e.apply(null,t)}))}))}))}}))}}function Rt(e,t){return h(t).from({prototype:e}),t}function zt(e){return Rt(Bt.prototype,(function(t,n,r){this.db=e,this._tx=r,this.name=t,this.schema=n,this.hook=e._allTables[t]?e._allTables[t].hook:Dt(null,{creating:[le,oe],reading:[ae,ie],updating:[ue,oe],deleting:[ce,oe]})}))}function Ft(e,t){return!(e.filter||e.algorithm||e.or)&&(t?e.justLimit:!e.replayFilter)}function Ht(e,t){e.filter=St(e.filter,t)}function qt(e,t,n){var r=e.replayFilter;e.replayFilter=r?function(){return St(r(),t())}:t,e.justLimit=n&&!r}function Ut(e,t){e.isMatch=St(e.isMatch,t)}function Gt(e,t){if(e.isPrimKey)return t.primaryKey;var n=t.getIndexByKeyPath(e.index);if(!n)throw new ee.Schema("KeyPath "+e.index+" on object store "+t.name+" is not indexed");return n}function Wt(e,t,n){var r=Gt(e,t.schema);return t.openCursor({trans:n,values:!e.keysOnly,reverse:"prev"===e.dir,unique:!!e.unique,query:{index:r,range:e.range}})}function Qt(e,t,n,r){var o=e.replayFilter?St(e.filter,e.replayFilter()):e.filter;if(e.or){var i={},a=function(e,n,r){if(!o||o(n,r,(function(e){return n.stop(e)}),(function(e){return n.fail(e)}))){var a=n.primaryKey,s=""+a;"[object ArrayBuffer]"===s&&(s=""+new Uint8Array(a)),u(i,s)||(i[s]=!0,t(e,n,r))}};return Promise.all([e.or._iterate(a,n),Yt(Wt(e,r,n),e.algorithm,a,!e.keysOnly&&e.valueMapper)])}return Yt(Wt(e,r,n),St(e.algorithm,o),t,!e.keysOnly&&e.valueMapper)}function Yt(e,t,n,r){var o=Xe(r?function(e,t,o){return n(r(e),t,o)}:n);return e.then((function(e){if(e)return e.start((function(){var n=function(){return e.continue()};t&&!t(e,(function(e){return n=e}),(function(t){e.stop(t),n=oe}),(function(t){e.fail(t),n=oe}))||o(e.value,e,(function(e){return n=e})),n()}))}))}var Vt=function(){function e(e){this["@@propmod"]=e}return e.prototype.execute=function(e){var t,n=this["@@propmod"];if(void 0!==n.add){var o=n.add;if(a(o))return r(r([],a(e)?e:[],!0),o).sort();if("number"==typeof o)return(Number(e)||0)+o;if("bigint"==typeof o)try{return BigInt(e)+o}catch(e){return BigInt(0)+o}throw new TypeError("Invalid term ".concat(o))}if(void 0!==n.remove){var i=n.remove;if(a(i))return a(e)?e.filter((function(e){return!i.includes(e)})).sort():[];if("number"==typeof i)return Number(e)-i;if("bigint"==typeof i)try{return BigInt(e)-i}catch(e){return BigInt(0)-i}throw new TypeError("Invalid subtrahend ".concat(i))}var s=null===(t=n.replacePrefix)||void 0===t?void 0:t[0];return s&&"string"==typeof e&&e.startsWith(s)?n.replacePrefix[1]+e.substring(s.length):e},e}(),Zt=function(){function e(){}return e.prototype._read=function(e,t){var n=this._ctx;return n.error?n.table._trans(null,gt.bind(null,n.error)):n.table._trans("readonly",e).then(t)},e.prototype._write=function(e){var t=this._ctx;return t.error?t.table._trans(null,gt.bind(null,t.error)):t.table._trans("readwrite",e,"locked")},e.prototype._addAlgorithm=function(e){var t=this._ctx;t.algorithm=St(t.algorithm,e)},e.prototype._iterate=function(e,t){return Qt(this._ctx,e,t,this._ctx.table.core)},e.prototype.clone=function(e){var t=Object.create(this.constructor.prototype),n=Object.create(this._ctx);return e&&s(n,e),t._ctx=n,t},e.prototype.raw=function(){return this._ctx.valueMapper=null,this},e.prototype.each=function(e){var t=this._ctx;return this._read((function(n){return Qt(t,e,n,t.table.core)}))},e.prototype.count=function(e){var t=this;return this._read((function(e){var n=t._ctx,r=n.table.core;if(Ft(n,!0))return r.count({trans:e,query:{index:Gt(n,r.schema),range:n.range}}).then((function(e){return Math.min(e,n.limit)}));var o=0;return Qt(n,(function(){return++o,!1}),e,r).then((function(){return o}))})).then(e)},e.prototype.sortBy=function(e,t){var n=e.split(".").reverse(),r=n[0],o=n.length-1;function i(e,t){return t?i(e[n[t]],t-1):e[r]}var a="next"===this._ctx.dir?1:-1;function s(e,t){return Tt(i(e,o),i(t,o))*a}return this.toArray((function(e){return e.sort(s)})).then(t)},e.prototype.toArray=function(e){var t=this;return this._read((function(e){var n=t._ctx;if("next"===n.dir&&Ft(n,!0)&&n.limit>0){var r=n.valueMapper,o=Gt(n,n.table.core.schema);return n.table.core.query({trans:e,limit:n.limit,values:!0,query:{index:o,range:n.range}}).then((function(e){var t=e.result;return r?t.map(r):t}))}var i=[];return Qt(n,(function(e){return i.push(e)}),e,n.table.core).then((function(){return i}))}),e)},e.prototype.offset=function(e){var t=this._ctx;return e<=0||(t.offset+=e,Ft(t)?qt(t,(function(){var t=e;return function(e,n){return 0===t||(1===t?(--t,!1):(n((function(){e.advance(t),t=0})),!1))}})):qt(t,(function(){var t=e;return function(){return--t<0}}))),this},e.prototype.limit=function(e){return this._ctx.limit=Math.min(this._ctx.limit,e),qt(this._ctx,(function(){var t=e;return function(e,n,r){return--t<=0&&n(r),t>=0}}),!0),this},e.prototype.until=function(e,t){return Ht(this._ctx,(function(n,r,o){return!e(n.value)||(r(o),t)})),this},e.prototype.first=function(e){return this.limit(1).toArray((function(e){return e[0]})).then(e)},e.prototype.last=function(e){return this.reverse().first(e)},e.prototype.filter=function(e){return Ht(this._ctx,(function(t){return e(t.value)})),Ut(this._ctx,e),this},e.prototype.and=function(e){return this.filter(e)},e.prototype.or=function(e){return new this.db.WhereClause(this._ctx.table,e,this)},e.prototype.reverse=function(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},e.prototype.desc=function(){return this.reverse()},e.prototype.eachKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each((function(t,n){e(n.key,n)}))},e.prototype.eachUniqueKey=function(e){return this._ctx.unique="unique",this.eachKey(e)},e.prototype.eachPrimaryKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each((function(t,n){e(n.primaryKey,n)}))},e.prototype.keys=function(e){var t=this._ctx;t.keysOnly=!t.isMatch;var n=[];return this.each((function(e,t){n.push(t.key)})).then((function(){return n})).then(e)},e.prototype.primaryKeys=function(e){var t=this._ctx;if("next"===t.dir&&Ft(t,!0)&&t.limit>0)return this._read((function(e){var n=Gt(t,t.table.core.schema);return t.table.core.query({trans:e,values:!1,limit:t.limit,query:{index:n,range:t.range}})})).then((function(e){return e.result})).then(e);t.keysOnly=!t.isMatch;var n=[];return this.each((function(e,t){n.push(t.primaryKey)})).then((function(){return n})).then(e)},e.prototype.uniqueKeys=function(e){return this._ctx.unique="unique",this.keys(e)},e.prototype.firstKey=function(e){return this.limit(1).keys((function(e){return e[0]})).then(e)},e.prototype.lastKey=function(e){return this.reverse().firstKey(e)},e.prototype.distinct=function(){var e=this._ctx,t=e.index&&e.table.schema.idxByName[e.index];if(!t||!t.multi)return this;var n={};return Ht(this._ctx,(function(e){var t=e.primaryKey.toString(),r=u(n,t);return n[t]=!0,!r})),this},e.prototype.modify=function(e){var t=this,n=this._ctx;return this._write((function(r){var o;if("function"==typeof e)o=e;else{var a=i(e),s=a.length;o=function(t){for(var n=!1,r=0;r<s;++r){var o=a[r],i=e[o],l=_(t,o);i instanceof Vt?(A(t,o,i.execute(l)),n=!0):l!==i&&(A(t,o,i),n=!0)}return n}}var l=n.table.core,c=l.schema.primaryKey,u=c.outbound,d=c.extractKey,m=200,p=t.db._options.modifyChunkSize;p&&(m="object"==typeof p?p[l.name]||p["*"]||200:p);var h=[],f=0,g=[],v=function(e,t){var n=t.failures,r=t.numFailures;f+=e-r;for(var o=0,a=i(n);o<a.length;o++){var s=a[o];h.push(n[s])}};return t.clone().primaryKeys().then((function(t){var i=Ft(n)&&n.limit===1/0&&("function"!=typeof e||e===Kt)&&{index:n.index,range:n.range},a=function(n){var s=Math.min(m,t.length-n);return l.getMany({trans:r,keys:t.slice(n,n+s),cache:"immutable"}).then((function(c){for(var p=[],h=[],f=u?[]:null,g=[],y=0;y<s;++y){var x=c[y],b={value:L(x),primKey:t[n+y]};!1!==o.call(b,b.value,b)&&(null==b.value?g.push(t[n+y]):u||0===Tt(d(x),d(b.value))?(h.push(b.value),u&&f.push(t[n+y])):(g.push(t[n+y]),p.push(b.value)))}return Promise.resolve(p.length>0&&l.mutate({trans:r,type:"add",values:p}).then((function(e){for(var t in e.failures)g.splice(parseInt(t),1);v(p.length,e)}))).then((function(){return(h.length>0||i&&"object"==typeof e)&&l.mutate({trans:r,type:"put",keys:f,values:h,criteria:i,changeSpec:"function"!=typeof e&&e,isAdditionalChunk:n>0}).then((function(e){return v(h.length,e)}))})).then((function(){return(g.length>0||i&&e===Kt)&&l.mutate({trans:r,type:"delete",keys:g,criteria:i,isAdditionalChunk:n>0}).then((function(e){return v(g.length,e)}))})).then((function(){return t.length>n+s&&a(n+m)}))}))};return a(0).then((function(){if(h.length>0)throw new K("Error modifying one or more objects",h,f,g);return t.length}))}))}))},e.prototype.delete=function(){var e=this._ctx,t=e.range;return Ft(e)&&(e.isPrimKey||3===t.type)?this._write((function(n){var r=e.table.core.schema.primaryKey,o=t;return e.table.core.count({trans:n,query:{index:r,range:o}}).then((function(t){return e.table.core.mutate({trans:n,type:"deleteRange",range:o}).then((function(e){var n=e.failures;e.lastResult,e.results;var r=e.numFailures;if(r)throw new K("Could not delete some values",Object.keys(n).map((function(e){return n[e]})),t-r);return t-r}))}))})):this.modify(Kt)},e}(),Kt=function(e,t){return t.value=null};function Jt(e){return Rt(Zt.prototype,(function(t,n){this.db=e;var r=kt,o=null;if(n)try{r=n()}catch(e){o=e}var i=t._ctx,a=i.table,s=a.hook.reading.fire;this._ctx={table:a,index:i.index,isPrimKey:!i.index||a.schema.primKey.keyPath&&i.index===a.schema.primKey.name,range:r,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:o,or:i.or,valueMapper:s!==ie?s:null}}))}function Xt(e,t){return e<t?-1:e===t?0:1}function $t(e,t){return e>t?-1:e===t?0:1}function en(e,t,n){var r=e instanceof cn?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function tn(e){return new e.Collection(e,(function(){return ln("")})).limit(0)}function nn(e){return"next"===e?function(e){return e.toUpperCase()}:function(e){return e.toLowerCase()}}function rn(e){return"next"===e?function(e){return e.toLowerCase()}:function(e){return e.toUpperCase()}}function on(e,t,n,r,o,i){for(var a=Math.min(e.length,r.length),s=-1,l=0;l<a;++l){var c=t[l];if(c!==r[l])return o(e[l],n[l])<0?e.substr(0,l)+n[l]+n.substr(l+1):o(e[l],r[l])<0?e.substr(0,l)+r[l]+n.substr(l+1):s>=0?e.substr(0,s)+t[s]+n.substr(s+1):null;o(e[l],c)<0&&(s=l)}return a<r.length&&"next"===i?e+n.substr(e.length):a<e.length&&"prev"===i?e.substr(0,n.length):s<0?null:e.substr(0,s)+r[s]+n.substr(s+1)}function an(e,t,n,r){var o,i,a,s,l,c,u,d=n.length;if(!n.every((function(e){return"string"==typeof e})))return en(e,It);function m(e){o=nn(e),i=rn(e),a="next"===e?Xt:$t;var t=n.map((function(e){return{lower:i(e),upper:o(e)}})).sort((function(e,t){return a(e.lower,t.lower)}));s=t.map((function(e){return e.upper})),l=t.map((function(e){return e.lower})),c=e,u="next"===e?"":r}m("next");var p=new e.Collection(e,(function(){return sn(s[0],l[d-1]+r)}));p._ondirectionchange=function(e){m(e)};var h=0;return p._addAlgorithm((function(e,n,r){var o=e.key;if("string"!=typeof o)return!1;var m=i(o);if(t(m,l,h))return!0;for(var p=null,f=h;f<d;++f){var g=on(o,m,s[f],l[f],a,c);null===g&&null===p?h=f+1:(null===p||a(p,g)>0)&&(p=g)}return n(null!==p?function(){e.continue(p+u)}:r),!1})),p}function sn(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function ln(e){return{type:1,lower:e,upper:e}}var cn=function(){function e(){}return Object.defineProperty(e.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!1,configurable:!0}),e.prototype.between=function(e,t,n,r){n=!1!==n,r=!0===r;try{return this._cmp(e,t)>0||0===this._cmp(e,t)&&(n||r)&&(!n||!r)?tn(this):new this.Collection(this,(function(){return sn(e,t,!n,!r)}))}catch(e){return en(this,Ct)}},e.prototype.equals=function(e){return null==e?en(this,Ct):new this.Collection(this,(function(){return ln(e)}))},e.prototype.above=function(e){return null==e?en(this,Ct):new this.Collection(this,(function(){return sn(e,void 0,!0)}))},e.prototype.aboveOrEqual=function(e){return null==e?en(this,Ct):new this.Collection(this,(function(){return sn(e,void 0,!1)}))},e.prototype.below=function(e){return null==e?en(this,Ct):new this.Collection(this,(function(){return sn(void 0,e,!1,!0)}))},e.prototype.belowOrEqual=function(e){return null==e?en(this,Ct):new this.Collection(this,(function(){return sn(void 0,e)}))},e.prototype.startsWith=function(e){return"string"!=typeof e?en(this,It):this.between(e,e+xt,!0,!0)},e.prototype.startsWithIgnoreCase=function(e){return""===e?this.startsWith(e):an(this,(function(e,t){return 0===e.indexOf(t[0])}),[e],xt)},e.prototype.equalsIgnoreCase=function(e){return an(this,(function(e,t){return e===t[0]}),[e],"")},e.prototype.anyOfIgnoreCase=function(){var e=U.apply(q,arguments);return 0===e.length?tn(this):an(this,(function(e,t){return-1!==t.indexOf(e)}),e,"")},e.prototype.startsWithAnyOfIgnoreCase=function(){var e=U.apply(q,arguments);return 0===e.length?tn(this):an(this,(function(e,t){return t.some((function(t){return 0===e.indexOf(t)}))}),e,xt)},e.prototype.anyOf=function(){var e=this,t=U.apply(q,arguments),n=this._cmp;try{t.sort(n)}catch(e){return en(this,Ct)}if(0===t.length)return tn(this);var r=new this.Collection(this,(function(){return sn(t[0],t[t.length-1])}));r._ondirectionchange=function(r){n="next"===r?e._ascending:e._descending,t.sort(n)};var o=0;return r._addAlgorithm((function(e,r,i){for(var a=e.key;n(a,t[o])>0;)if(++o===t.length)return r(i),!1;return 0===n(a,t[o])||(r((function(){e.continue(t[o])})),!1)})),r},e.prototype.notEqual=function(e){return this.inAnyRange([[bt,e],[e,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},e.prototype.noneOf=function(){var e=U.apply(q,arguments);if(0===e.length)return new this.Collection(this);try{e.sort(this._ascending)}catch(e){return en(this,Ct)}var t=e.reduce((function(e,t){return e?e.concat([[e[e.length-1][1],t]]):[[bt,t]]}),null);return t.push([e[e.length-1],this.db._maxKey]),this.inAnyRange(t,{includeLowers:!1,includeUppers:!1})},e.prototype.inAnyRange=function(e,t){var n=this,r=this._cmp,o=this._ascending,i=this._descending,a=this._min,s=this._max;if(0===e.length)return tn(this);if(!e.every((function(e){return void 0!==e[0]&&void 0!==e[1]&&o(e[0],e[1])<=0})))return en(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",ee.InvalidArgument);var l=!t||!1!==t.includeLowers,c=t&&!0===t.includeUppers;function u(e,t){for(var n=0,o=e.length;n<o;++n){var i=e[n];if(r(t[0],i[1])<0&&r(t[1],i[0])>0){i[0]=a(i[0],t[0]),i[1]=s(i[1],t[1]);break}}return n===o&&e.push(t),e}var d,m=o;function p(e,t){return m(e[0],t[0])}try{(d=e.reduce(u,[])).sort(p)}catch(e){return en(this,Ct)}var h=0,f=c?function(e){return o(e,d[h][1])>0}:function(e){return o(e,d[h][1])>=0},g=l?function(e){return i(e,d[h][0])>0}:function(e){return i(e,d[h][0])>=0};function v(e){return!f(e)&&!g(e)}var y=f,x=new this.Collection(this,(function(){return sn(d[0][0],d[d.length-1][1],!l,!c)}));return x._ondirectionchange=function(e){"next"===e?(y=f,m=o):(y=g,m=i),d.sort(p)},x._addAlgorithm((function(e,t,r){for(var i=e.key;y(i);)if(++h===d.length)return t(r),!1;return!!v(i)||(0===n._cmp(i,d[h][1])||0===n._cmp(i,d[h][0])||t((function(){m===o?e.continue(d[h][0]):e.continue(d[h][1])})),!1)})),x},e.prototype.startsWithAnyOf=function(){var e=U.apply(q,arguments);return e.every((function(e){return"string"==typeof e}))?0===e.length?tn(this):this.inAnyRange(e.map((function(e){return[e,e+xt]}))):en(this,"startsWithAnyOf() only works with strings")},e}();function un(e){return Rt(cn.prototype,(function(t,n,r){if(this.db=e,this._ctx={table:t,index:":id"===n?null:n,or:r},this._cmp=this._ascending=Tt,this._descending=function(e,t){return Tt(t,e)},this._max=function(e,t){return Tt(e,t)>0?e:t},this._min=function(e,t){return Tt(e,t)<0?e:t},this._IDBKeyRange=e._deps.IDBKeyRange,!this._IDBKeyRange)throw new ee.MissingAPI}))}function dn(e){return Xe((function(t){return mn(t),e(t.target.error),!1}))}function mn(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var pn="storagemutated",hn="x-storagemutated-1",fn=Dt(null,pn),gn=function(){function e(){}return e.prototype._lock=function(){return b(!Pe.global),++this._reculock,1!==this._reculock||Pe.global||(Pe.lockOwnerFor=this),this},e.prototype._unlock=function(){if(b(!Pe.global),0==--this._reculock)for(Pe.global||(Pe.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var e=this._blockedFuncs.shift();try{pt(e[1],e[0])}catch(e){}}return this},e.prototype._locked=function(){return this._reculock&&Pe.lockOwnerFor!==this},e.prototype.create=function(e){var t=this;if(!this.mode)return this;var n=this.db.idbdb,r=this.db._state.dbOpenError;if(b(!this.idbtrans),!e&&!n)switch(r&&r.name){case"DatabaseClosedError":throw new ee.DatabaseClosed(r);case"MissingAPIError":throw new ee.MissingAPI(r.message,r);default:throw new ee.OpenFailed(r)}if(!this.active)throw new ee.TransactionInactive;return b(null===this._completion._state),(e=this.idbtrans=e||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):n.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}))).onerror=Xe((function(n){mn(n),t._reject(e.error)})),e.onabort=Xe((function(n){mn(n),t.active&&t._reject(new ee.Abort(e.error)),t.active=!1,t.on("abort").fire(n)})),e.oncomplete=Xe((function(){t.active=!1,t._resolve(),"mutatedParts"in e&&fn.storagemutated.fire(e.mutatedParts)})),this},e.prototype._promise=function(e,t,n){var r=this;if("readwrite"===e&&"readwrite"!==this.mode)return gt(new ee.ReadOnly("Transaction is readonly"));if(!this.active)return gt(new ee.TransactionInactive);if(this._locked())return new Be((function(o,i){r._blockedFuncs.push([function(){r._promise(e,t,n).then(o,i)},Pe])}));if(n)return it((function(){var e=new Be((function(e,n){r._lock();var o=t(e,n,r);o&&o.then&&o.then(e,n)}));return e.finally((function(){return r._unlock()})),e._lib=!0,e}));var o=new Be((function(e,n){var o=t(e,n,r);o&&o.then&&o.then(e,n)}));return o._lib=!0,o},e.prototype._root=function(){return this.parent?this.parent._root():this},e.prototype.waitFor=function(e){var t=this._root(),n=Be.resolve(e);if(t._waitingFor)t._waitingFor=t._waitingFor.then((function(){return n}));else{t._waitingFor=n,t._waitingQueue=[];var r=t.idbtrans.objectStore(t.storeNames[0]);!function e(){for(++t._spinCount;t._waitingQueue.length;)t._waitingQueue.shift()();t._waitingFor&&(r.get(-1/0).onsuccess=e)}()}var o=t._waitingFor;return new Be((function(e,r){n.then((function(n){return t._waitingQueue.push(Xe(e.bind(null,n)))}),(function(e){return t._waitingQueue.push(Xe(r.bind(null,e)))})).finally((function(){t._waitingFor===o&&(t._waitingFor=null)}))}))},e.prototype.abort=function(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new ee.Abort))},e.prototype.table=function(e){var t=this._memoizedTables||(this._memoizedTables={});if(u(t,e))return t[e];var n=this.schema[e];if(!n)throw new ee.NotFound("Table "+e+" not part of transaction");var r=new this.db.Table(e,n,this);return r.core=this.db.core.table(e),t[e]=r,r},e}();function vn(e){return Rt(gn.prototype,(function(t,n,r,o,i){var a=this;this.db=e,this.mode=t,this.storeNames=n,this.schema=r,this.chromeTransactionDurability=o,this.idbtrans=null,this.on=Dt(this,"complete","error","abort"),this.parent=i||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new Be((function(e,t){a._resolve=e,a._reject=t})),this._completion.then((function(){a.active=!1,a.on.complete.fire()}),(function(e){var t=a.active;return a.active=!1,a.on.error.fire(e),a.parent?a.parent._reject(e):t&&a.idbtrans&&a.idbtrans.abort(),gt(e)}))}))}function yn(e,t,n,r,o,i,a){return{name:e,keyPath:t,unique:n,multi:r,auto:o,compound:i,src:(n&&!a?"&":"")+(r?"*":"")+(o?"++":"")+xn(t)}}function xn(e){return"string"==typeof e?e:e?"["+[].join.call(e,"+")+"]":""}function bn(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:E(n,(function(e){return[e.name,e]}))}}function Cn(e){return 1===e.length?e[0]:e}var In=function(e){try{return e.only([[]]),In=function(){return[[]]},[[]]}catch(e){return In=function(){return xt},xt}};function En(e){return null==e?function(){}:"string"==typeof e?_n(e):function(t){return _(t,e)}}function _n(e){return 1===e.split(".").length?function(t){return t[e]}:function(t){return _(t,e)}}function An(e){return[].slice.call(e)}var wn=0;function Sn(e){return null==e?":id":"string"==typeof e?e:"[".concat(e.join("+"),"]")}function kn(e,t,n){function r(e,t){var n=An(e.objectStoreNames);return{schema:{name:e.name,tables:n.map((function(e){return t.objectStore(e)})).map((function(e){var t=e.keyPath,n=e.autoIncrement,r=a(t),o=null==t,i={},s={name:e.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:o,compound:r,keyPath:t,autoIncrement:n,unique:!0,extractKey:En(t)},indexes:An(e.indexNames).map((function(t){return e.index(t)})).map((function(e){var t=e.name,n=e.unique,r=e.multiEntry,o=e.keyPath,s={name:t,compound:a(o),keyPath:o,unique:n,multiEntry:r,extractKey:En(o)};return i[Sn(o)]=s,s})),getIndexByKeyPath:function(e){return i[Sn(e)]}};return i[":id"]=s.primaryKey,null!=t&&(i[Sn(t)]=s.primaryKey),s}))},hasGetAll:n.length>0&&"getAll"in t.objectStore(n[0])&&!("undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}function o(e){if(3===e.type)return null;if(4===e.type)throw new Error("Cannot convert never type to IDBKeyRange");var n=e.lower,r=e.upper,o=e.lowerOpen,i=e.upperOpen;return void 0===n?void 0===r?null:t.upperBound(r,!!i):void 0===r?t.lowerBound(n,!!o):t.bound(n,r,!!o,!!i)}function i(e){var t=e.name;function n(e){var n=e.trans,r=e.type,i=e.keys,a=e.values,s=e.range;return new Promise((function(e,l){e=Xe(e);var c=n.objectStore(t),u=null==c.keyPath,d="put"===r||"add"===r;if(!d&&"delete"!==r&&"deleteRange"!==r)throw new Error("Invalid operation type: "+r);var m,p=(i||a||{length:1}).length;if(i&&a&&i.length!==a.length)throw new Error("Given keys array must have same length as given values array.");if(0===p)return e({numFailures:0,failures:{},results:[],lastResult:void 0});var h=[],f=[],g=0,v=function(e){++g,mn(e)};if("deleteRange"===r){if(4===s.type)return e({numFailures:g,failures:f,results:[],lastResult:void 0});3===s.type?h.push(m=c.clear()):h.push(m=c.delete(o(s)))}else{var y=d?u?[a,i]:[a,null]:[i,null],x=y[0],b=y[1];if(d)for(var C=0;C<p;++C)h.push(m=b&&void 0!==b[C]?c[r](x[C],b[C]):c[r](x[C])),m.onerror=v;else for(C=0;C<p;++C)h.push(m=c[r](x[C])),m.onerror=v}var I=function(t){var n=t.target.result;h.forEach((function(e,t){return null!=e.error&&(f[t]=e.error)})),e({numFailures:g,failures:f,results:"delete"===r?i:h.map((function(e){return e.result})),lastResult:n})};m.onerror=function(e){v(e),I(e)},m.onsuccess=I}))}function r(e){var n=e.trans,r=e.values,i=e.query,a=e.reverse,s=e.unique;return new Promise((function(e,l){e=Xe(e);var c=i.index,u=i.range,d=n.objectStore(t),m=c.isPrimaryKey?d:d.index(c.name),p=a?s?"prevunique":"prev":s?"nextunique":"next",h=r||!("openKeyCursor"in m)?m.openCursor(o(u),p):m.openKeyCursor(o(u),p);h.onerror=dn(l),h.onsuccess=Xe((function(t){var r=h.result;if(r){r.___id=++wn,r.done=!1;var o=r.continue.bind(r),i=r.continuePrimaryKey;i&&(i=i.bind(r));var a=r.advance.bind(r),s=function(){throw new Error("Cursor not started")},c=function(){throw new Error("Cursor not stopped")};r.trans=n,r.stop=r.continue=r.continuePrimaryKey=r.advance=s,r.fail=Xe(l),r.next=function(){var e=this,t=1;return this.start((function(){return t--?e.continue():e.stop()})).then((function(){return e}))},r.start=function(e){var t=new Promise((function(e,t){e=Xe(e),h.onerror=dn(t),r.fail=t,r.stop=function(t){r.stop=r.continue=r.continuePrimaryKey=r.advance=c,e(t)}})),n=function(){if(h.result)try{e()}catch(e){r.fail(e)}else r.done=!0,r.start=function(){throw new Error("Cursor behind last entry")},r.stop()};return h.onsuccess=Xe((function(e){h.onsuccess=n,n()})),r.continue=o,r.continuePrimaryKey=i,r.advance=a,n(),t},e(r)}else e(null)}),l)}))}function i(e){return function(n){return new Promise((function(r,i){r=Xe(r);var a=n.trans,s=n.values,l=n.limit,c=n.query,u=l===1/0?void 0:l,d=c.index,m=c.range,p=a.objectStore(t),h=d.isPrimaryKey?p:p.index(d.name),f=o(m);if(0===l)return r({result:[]});if(e){var g=s?h.getAll(f,u):h.getAllKeys(f,u);g.onsuccess=function(e){return r({result:e.target.result})},g.onerror=dn(i)}else{var v=0,y=s||!("openKeyCursor"in h)?h.openCursor(f):h.openKeyCursor(f),x=[];y.onsuccess=function(e){var t=y.result;return t?(x.push(s?t.value:t.primaryKey),++v===l?r({result:x}):void t.continue()):r({result:x})},y.onerror=dn(i)}}))}}return{name:t,schema:e,mutate:n,getMany:function(e){var n=e.trans,r=e.keys;return new Promise((function(e,o){e=Xe(e);for(var i,a=n.objectStore(t),s=r.length,l=new Array(s),c=0,u=0,d=function(t){var n=t.target;l[n._pos]=n.result,++u===c&&e(l)},m=dn(o),p=0;p<s;++p)null!=r[p]&&((i=a.get(r[p]))._pos=p,i.onsuccess=d,i.onerror=m,++c);0===c&&e(l)}))},get:function(e){var n=e.trans,r=e.key;return new Promise((function(e,o){e=Xe(e);var i=n.objectStore(t).get(r);i.onsuccess=function(t){return e(t.target.result)},i.onerror=dn(o)}))},query:i(c),openCursor:r,count:function(e){var n=e.query,r=e.trans,i=n.index,a=n.range;return new Promise((function(e,n){var s=r.objectStore(t),l=i.isPrimaryKey?s:s.index(i.name),c=o(a),u=c?l.count(c):l.count();u.onsuccess=Xe((function(t){return e(t.target.result)})),u.onerror=dn(n)}))}}}var s=r(e,n),l=s.schema,c=s.hasGetAll,u=l.tables.map((function(e){return i(e)})),d={};return u.forEach((function(e){return d[e.name]=e})),{stack:"dbcore",transaction:e.transaction.bind(e),table:function(e){if(!d[e])throw new Error("Table '".concat(e,"' not found"));return d[e]},MIN_KEY:-1/0,MAX_KEY:In(t),schema:l}}function jn(e,t){return t.reduce((function(e,t){var r=t.create;return n(n({},e),r(e))}),e)}function Nn(e,t,n,r){var o=n.IDBKeyRange;return n.indexedDB,{dbcore:jn(kn(t,o,r),e.dbcore)}}function Tn(e,t){var n=t.db,r=Nn(e._middlewares,n,e._deps,t);e.core=r.dbcore,e.tables.forEach((function(t){var n=t.name;e.core.schema.tables.some((function(e){return e.name===n}))&&(t.core=e.core.table(n),e[n]instanceof e.Table&&(e[n].core=t.core))}))}function Pn(e,t,n,r){n.forEach((function(n){var o=r[n];t.forEach((function(t){var r=g(t,n);(!r||"value"in r&&void 0===r.value)&&(t===e.Transaction.prototype||t instanceof e.Transaction?p(t,n,{get:function(){return this.table(n)},set:function(e){m(this,n,{value:e,writable:!0,configurable:!0,enumerable:!0})}}):t[n]=new e.Table(n,o))}))}))}function On(e,t){t.forEach((function(t){for(var n in t)t[n]instanceof e.Table&&delete t[n]}))}function Mn(e,t){return e._cfg.version-t._cfg.version}function Ln(e,t,n,r){var o=e._dbSchema;n.objectStoreNames.contains("$meta")&&!o.$meta&&(o.$meta=bn("$meta",Vn("")[0],[]),e._storeNames.push("$meta"));var a=e._createTransaction("readwrite",e._storeNames,o);a.create(n),a._completion.catch(r);var s=a._reject.bind(a),l=Pe.transless||Pe;it((function(){if(Pe.trans=a,Pe.transless=l,0!==t)return Tn(e,n),Dn(e,a,t).then((function(t){return Rn(e,t,a,n)})).catch(s);i(o).forEach((function(e){Fn(n,e,o[e].primKey,o[e].indexes)})),Tn(e,n),Be.follow((function(){return e.on.populate.fire(a)})).catch(s)}))}function Bn(e,t){Hn(e._dbSchema,t),t.db.version%10!=0||t.objectStoreNames.contains("$meta")||t.db.createObjectStore("$meta").add(Math.ceil(t.db.version/10-1),"version");var n=Gn(e,e.idbdb,t);Yn(e,e._dbSchema,t);for(var r=function(e){if(e.change.length||e.recreate)return console.warn("Unable to patch indexes of table ".concat(e.name," because it has changes on the type of index or primary key.")),{value:void 0};var n=t.objectStore(e.name);e.add.forEach((function(t){pe&&console.debug("Dexie upgrade patch: Creating missing index ".concat(e.name,".").concat(t.src)),Un(n,t)}))},o=0,i=zn(n,e._dbSchema).change;o<i.length;o++){var a=r(i[o]);if("object"==typeof a)return a.value}}function Dn(e,t,n){return t.storeNames.includes("$meta")?t.table("$meta").get("version").then((function(e){return null!=e?e:n})):Be.resolve(n)}function Rn(e,t,n,r){var o=[],a=e._versions,s=e._dbSchema=Gn(e,e.idbdb,r),l=a.filter((function(e){return e._cfg.version>=t}));if(0===l.length)return Be.resolve();function c(){return o.length?Be.resolve(o.shift()(n.idbtrans)).then(c):Be.resolve()}return l.forEach((function(a){o.push((function(){var o=s,l=a._cfg.dbschema;Yn(e,o,r),Yn(e,l,r),s=e._dbSchema=l;var c=zn(o,l);c.add.forEach((function(e){Fn(r,e[0],e[1].primKey,e[1].indexes)})),c.change.forEach((function(e){if(e.recreate)throw new ee.Upgrade("Not yet support for changing primary key");var t=r.objectStore(e.name);e.add.forEach((function(e){return Un(t,e)})),e.change.forEach((function(e){t.deleteIndex(e.name),Un(t,e)})),e.del.forEach((function(e){return t.deleteIndex(e)}))}));var u=a._cfg.contentUpgrade;if(u&&a._cfg.version>t){Tn(e,r),n._memoizedTables={};var d=S(l);c.del.forEach((function(e){d[e]=o[e]})),On(e,[e.Transaction.prototype]),Pn(e,[e.Transaction.prototype],i(d),d),n.schema=d;var m,p=G(u);p&&at();var h=Be.follow((function(){if((m=u(n))&&p){var e=st.bind(null,null);m.then(e,e)}}));return m&&"function"==typeof m.then?Be.resolve(m):h.then((function(){return m}))}})),o.push((function(t){qn(a._cfg.dbschema,t),On(e,[e.Transaction.prototype]),Pn(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),n.schema=e._dbSchema})),o.push((function(t){e.idbdb.objectStoreNames.contains("$meta")&&(Math.ceil(e.idbdb.version/10)===a._cfg.version?(e.idbdb.deleteObjectStore("$meta"),delete e._dbSchema.$meta,e._storeNames=e._storeNames.filter((function(e){return"$meta"!==e}))):t.objectStore("$meta").put(a._cfg.version,"version"))}))})),c().then((function(){Hn(s,r)}))}function zn(e,t){var n,r={del:[],add:[],change:[]};for(n in e)t[n]||r.del.push(n);for(n in t){var o=e[n],i=t[n];if(o){var a={name:n,def:i,recreate:!1,del:[],add:[],change:[]};if(""+(o.primKey.keyPath||"")!=""+(i.primKey.keyPath||"")||o.primKey.auto!==i.primKey.auto)a.recreate=!0,r.change.push(a);else{var s=o.idxByName,l=i.idxByName,c=void 0;for(c in s)l[c]||a.del.push(c);for(c in l){var u=s[c],d=l[c];u?u.src!==d.src&&a.change.push(d):a.add.push(d)}(a.del.length>0||a.add.length>0||a.change.length>0)&&r.change.push(a)}}else r.add.push([n,i])}return r}function Fn(e,t,n,r){var o=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach((function(e){return Un(o,e)})),o}function Hn(e,t){i(e).forEach((function(n){t.db.objectStoreNames.contains(n)||(pe&&console.debug("Dexie: Creating missing table",n),Fn(t,n,e[n].primKey,e[n].indexes))}))}function qn(e,t){[].slice.call(t.db.objectStoreNames).forEach((function(n){return null==e[n]&&t.db.deleteObjectStore(n)}))}function Un(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function Gn(e,t,n){var r={};return y(t.objectStoreNames,0).forEach((function(e){for(var t=n.objectStore(e),o=t.keyPath,i=yn(xn(o),o||"",!0,!1,!!t.autoIncrement,o&&"string"!=typeof o,!0),a=[],s=0;s<t.indexNames.length;++s){var l=t.index(t.indexNames[s]);o=l.keyPath;var c=yn(l.name,o,!!l.unique,!!l.multiEntry,!1,o&&"string"!=typeof o,!1);a.push(c)}r[e]=bn(e,i,a)})),r}function Wn(e,t,n){e.verno=t.version/10;var r=e._dbSchema=Gn(e,t,n);e._storeNames=y(t.objectStoreNames,0),Pn(e,[e._allTables],i(r),r)}function Qn(e,t){var n=zn(Gn(e,e.idbdb,t),e._dbSchema);return!(n.add.length||n.change.some((function(e){return e.add.length||e.change.length})))}function Yn(e,t,n){for(var r=n.db.objectStoreNames,i=0;i<r.length;++i){var a=r[i],s=n.objectStore(a);e._hasGetAll="getAll"in s;for(var l=0;l<s.indexNames.length;++l){var c=s.indexNames[l],u=s.index(c).keyPath,d="string"==typeof u?u:"["+y(u).join("+")+"]";if(t[a]){var m=t[a].idxByName[d];m&&(m.name=c,delete t[a].idxByName[d],t[a].idxByName[c]=m)}}}"undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&o.WorkerGlobalScope&&o instanceof o.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(e._hasGetAll=!1)}function Vn(e){return e.split(",").map((function(e,t){var n=(e=e.trim()).replace(/([&*]|\+\+)/g,""),r=/^\[/.test(n)?n.match(/^\[(.*)\]$/)[1].split("+"):n;return yn(n,r||null,/\&/.test(e),/\*/.test(e),/\+\+/.test(e),a(r),0===t)}))}var Zn,Kn=function(){function e(){}return e.prototype._parseStoresSpec=function(e,t){i(e).forEach((function(n){if(null!==e[n]){var r=Vn(e[n]),o=r.shift();if(o.unique=!0,o.multi)throw new ee.Schema("Primary key cannot be multi-valued");r.forEach((function(e){if(e.auto)throw new ee.Schema("Only primary key can be marked as autoIncrement (++)");if(!e.keyPath)throw new ee.Schema("Index must have a name and cannot be an empty string")})),t[n]=bn(n,o,r)}}))},e.prototype.stores=function(e){var t=this.db;this._cfg.storesSource=this._cfg.storesSource?s(this._cfg.storesSource,e):e;var n=t._versions,r={},o={};return n.forEach((function(e){s(r,e._cfg.storesSource),o=e._cfg.dbschema={},e._parseStoresSpec(r,o)})),t._dbSchema=o,On(t,[t._allTables,t,t.Transaction.prototype]),Pn(t,[t._allTables,t,t.Transaction.prototype,this._cfg.tables],i(o),o),t._storeNames=i(o),this},e.prototype.upgrade=function(e){return this._cfg.contentUpgrade=me(this._cfg.contentUpgrade||oe,e),this},e}();function Jn(e){return Rt(Kn.prototype,(function(t){this.db=e,this._cfg={version:t,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}}))}function Xn(e,t){var n=e._dbNamesDB;return n||(n=e._dbNamesDB=new $r(_t,{addons:[],indexedDB:e,IDBKeyRange:t})).version(1).stores({dbnames:"name"}),n.table("dbnames")}function $n(e){return e&&"function"==typeof e.databases}function er(e){var t=e.indexedDB,n=e.IDBKeyRange;return $n(t)?Promise.resolve(t.databases()).then((function(e){return e.map((function(e){return e.name})).filter((function(e){return e!==_t}))})):Xn(t,n).toCollection().primaryKeys()}function tr(e,t){var n=e.indexedDB,r=e.IDBKeyRange;!$n(n)&&t!==_t&&Xn(n,r).put({name:t}).catch(oe)}function nr(e,t){var n=e.indexedDB,r=e.IDBKeyRange;!$n(n)&&t!==_t&&Xn(n,r).delete(t).catch(oe)}function rr(e){return it((function(){return Pe.letThrough=!0,e()}))}function or(){var e;return!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise((function(t){var n=function(){return indexedDB.databases().finally(t)};e=setInterval(n,100),n()})).finally((function(){return clearInterval(e)})):Promise.resolve()}function ir(e){return!("from"in e)}var ar=function(e,t){if(!this){var n=new ar;return e&&"d"in e&&s(n,e),n}s(this,arguments.length?{d:1,from:e,to:arguments.length>1?t:e}:{d:0})};function sr(e,t,n){var r=Tt(t,n);if(!isNaN(r)){if(r>0)throw RangeError();if(ir(e))return s(e,{from:t,to:n,d:1});var o=e.l,i=e.r;if(Tt(n,e.from)<0)return o?sr(o,t,n):e.l={from:t,to:n,d:1,l:null,r:null},dr(e);if(Tt(t,e.to)>0)return i?sr(i,t,n):e.r={from:t,to:n,d:1,l:null,r:null},dr(e);Tt(t,e.from)<0&&(e.from=t,e.l=null,e.d=i?i.d+1:1),Tt(n,e.to)>0&&(e.to=n,e.r=null,e.d=e.l?e.l.d+1:1);var a=!e.r;o&&!e.l&&lr(e,o),i&&a&&lr(e,i)}}function lr(e,t){function n(e,t){var r=t.from,o=t.to,i=t.l,a=t.r;sr(e,r,o),i&&n(e,i),a&&n(e,a)}ir(t)||n(e,t)}function cr(e,t){var n=ur(t),r=n.next();if(r.done)return!1;for(var o=r.value,i=ur(e),a=i.next(o.from),s=a.value;!r.done&&!a.done;){if(Tt(s.from,o.to)<=0&&Tt(s.to,o.from)>=0)return!0;Tt(o.from,s.from)<0?o=(r=n.next(s.from)).value:s=(a=i.next(o.from)).value}return!1}function ur(e){var t=ir(e)?null:{s:0,n:e};return{next:function(e){for(var n=arguments.length>0;t;)switch(t.s){case 0:if(t.s=1,n)for(;t.n.l&&Tt(e,t.n.from)<0;)t={up:t,n:t.n.l,s:1};else for(;t.n.l;)t={up:t,n:t.n.l,s:1};case 1:if(t.s=2,!n||Tt(e,t.n.to)<=0)return{value:t.n,done:!1};case 2:if(t.n.r){t.s=3,t={up:t,n:t.n.r,s:0};continue}case 3:t=t.up}return{done:!0}}}}function dr(e){var t,r,o=((null===(t=e.r)||void 0===t?void 0:t.d)||0)-((null===(r=e.l)||void 0===r?void 0:r.d)||0),i=o>1?"r":o<-1?"l":"";if(i){var a="r"===i?"l":"r",s=n({},e),l=e[i];e.from=l.from,e.to=l.to,e[i]=l[i],s[i]=l[a],e[a]=s,s.d=mr(s)}e.d=mr(e)}function mr(e){var t=e.r,n=e.l;return(t?n?Math.max(t.d,n.d):t.d:n?n.d:0)+1}function pr(e,t){return i(t).forEach((function(n){e[n]?lr(e[n],t[n]):e[n]=P(t[n])})),e}function hr(e,t){return e.all||t.all||Object.keys(e).some((function(n){return t[n]&&cr(t[n],e[n])}))}d(ar.prototype,(Zn={add:function(e){return lr(this,e),this},addKey:function(e){return sr(this,e,e),this},addKeys:function(e){var t=this;return e.forEach((function(e){return sr(t,e,e)})),this},hasKey:function(e){var t=ur(this).next(e).value;return t&&Tt(t.from,e)<=0&&Tt(t.to,e)>=0}},Zn[z]=function(){return ur(this)},Zn));var fr={},gr={},vr=!1;function yr(e,t){pr(gr,e),vr||(vr=!0,setTimeout((function(){vr=!1;var e=gr;gr={},xr(e,!1)}),0))}function xr(e,t){void 0===t&&(t=!1);var n=new Set;if(e.all)for(var r=0,o=Object.values(fr);r<o.length;r++)br(s=o[r],e,n,t);else for(var i in e){var a=/^idb\:\/\/(.*)\/(.*)\//.exec(i);if(a){var s,l=a[1],c=a[2];(s=fr["idb://".concat(l,"/").concat(c)])&&br(s,e,n,t)}}n.forEach((function(e){return e()}))}function br(e,t,n,r){for(var o=[],i=0,a=Object.entries(e.queries.query);i<a.length;i++){for(var s=a[i],l=s[0],c=[],u=0,d=s[1];u<d.length;u++){var m=d[u];hr(t,m.obsSet)?m.subscribers.forEach((function(e){return n.add(e)})):r&&c.push(m)}r&&o.push([l,c])}if(r)for(var p=0,h=o;p<h.length;p++){var f=h[p];l=f[0],c=f[1],e.queries.query[l]=c}}function Cr(e){var t=e._state,n=e._deps.indexedDB;if(t.isBeingOpened||e.idbdb)return t.dbReadyPromise.then((function(){return t.dbOpenError?gt(t.dbOpenError):e}));t.isBeingOpened=!0,t.dbOpenError=null,t.openComplete=!1;var r=t.openCanceller,o=Math.round(10*e.verno),i=!1;function a(){if(t.openCanceller!==r)throw new ee.DatabaseClosed("db.open() was cancelled")}var s=t.dbReadyResolve,l=null,c=!1,u=function(){return new Be((function(r,s){if(a(),!n)throw new ee.MissingAPI;var d=e.name,m=t.autoSchema||!o?n.open(d):n.open(d,o);if(!m)throw new ee.MissingAPI;m.onerror=dn(s),m.onblocked=Xe(e._fireOnBlocked),m.onupgradeneeded=Xe((function(r){if(l=m.transaction,t.autoSchema&&!e._options.allowEmptyDB){m.onerror=mn,l.abort(),m.result.close();var o=n.deleteDatabase(d);o.onsuccess=o.onerror=Xe((function(){s(new ee.NoSuchDatabase("Database ".concat(d," doesnt exist")))}))}else{l.onerror=dn(s);var a=r.oldVersion>Math.pow(2,62)?0:r.oldVersion;c=a<1,e.idbdb=m.result,i&&Bn(e,l),Ln(e,a/10,l,s)}}),s),m.onsuccess=Xe((function(){l=null;var n=e.idbdb=m.result,a=y(n.objectStoreNames);if(a.length>0)try{var s=n.transaction(Cn(a),"readonly");if(t.autoSchema)Wn(e,n,s);else if(Yn(e,e._dbSchema,s),!Qn(e,s)&&!i)return console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Dexie will add missing parts and increment native version number to workaround this."),n.close(),o=n.version+1,i=!0,r(u());Tn(e,s)}catch(e){}Et.push(e),n.onversionchange=Xe((function(n){t.vcFired=!0,e.on("versionchange").fire(n)})),n.onclose=Xe((function(t){e.on("close").fire(t)})),c&&tr(e._deps,d),r()}),s)})).catch((function(e){switch(null==e?void 0:e.name){case"UnknownError":if(t.PR1398_maxLoop>0)return t.PR1398_maxLoop--,console.warn("Dexie: Workaround for Chrome UnknownError on open()"),u();break;case"VersionError":if(o>0)return o=0,u()}return Be.reject(e)}))};return Be.race([r,("undefined"==typeof navigator?Be.resolve():or()).then(u)]).then((function(){return a(),t.onReadyBeingFired=[],Be.resolve(rr((function(){return e.on.ready.fire(e.vip)}))).then((function n(){if(t.onReadyBeingFired.length>0){var r=t.onReadyBeingFired.reduce(me,oe);return t.onReadyBeingFired=[],Be.resolve(rr((function(){return r(e.vip)}))).then(n)}}))})).finally((function(){t.openCanceller===r&&(t.onReadyBeingFired=null,t.isBeingOpened=!1)})).catch((function(n){t.dbOpenError=n;try{l&&l.abort()}catch(e){}return r===t.openCanceller&&e._close(),gt(n)})).finally((function(){t.openComplete=!0,s()})).then((function(){if(c){var t={};e.tables.forEach((function(n){n.schema.indexes.forEach((function(r){r.name&&(t["idb://".concat(e.name,"/").concat(n.name,"/").concat(r.name)]=new ar(-1/0,[[[]]]))})),t["idb://".concat(e.name,"/").concat(n.name,"/")]=t["idb://".concat(e.name,"/").concat(n.name,"/:dels")]=new ar(-1/0,[[[]]])})),fn(pn).fire(t),xr(t,!0)}return e}))}function Ir(e){var t=function(t){return e.next(t)},n=function(t){return e.throw(t)},r=i(t),o=i(n);function i(e){return function(t){var n=e(t),i=n.value;return n.done?i:i&&"function"==typeof i.then?i.then(r,o):a(i)?Promise.all(i).then(r,o):r(i)}}return i(t)()}function Er(e,t,n){var r=arguments.length;if(r<2)throw new ee.InvalidArgument("Too few arguments");for(var o=new Array(r-1);--r;)o[r-1]=arguments[r];return n=o.pop(),[e,j(o),n]}function _r(e,t,n,r,o){return Be.resolve().then((function(){var i=Pe.transless||Pe,a=e._createTransaction(t,n,e._dbSchema,r);a.explicit=!0;var s={trans:a,transless:i};if(r)a.idbtrans=r.idbtrans;else try{a.create(),a.idbtrans._explicit=!0,e._state.PR1398_maxLoop=3}catch(r){return r.name===X.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),e.close({disableAutoOpen:!1}),e.open().then((function(){return _r(e,t,n,null,o)}))):gt(r)}var l,c=G(o);c&&at();var u=Be.follow((function(){if(l=o.call(a,a))if(c){var e=st.bind(null,null);l.then(e,e)}else"function"==typeof l.next&&"function"==typeof l.throw&&(l=Ir(l))}),s);return(l&&"function"==typeof l.then?Be.resolve(l).then((function(e){return a.active?e:gt(new ee.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))})):u.then((function(){return l}))).then((function(e){return r&&a._resolve(),a._completion.then((function(){return e}))})).catch((function(e){return a._reject(e),gt(e)}))}))}function Ar(e,t,n){for(var r=a(e)?e.slice():[e],o=0;o<n;++o)r.push(t);return r}function wr(e){return n(n({},e),{table:function(t){var r=e.table(t),o=r.schema,i={},a=[];function s(e,t,r){var o=Sn(e),l=i[o]=i[o]||[],c=null==e?0:"string"==typeof e?1:e.length,u=t>0,d=n(n({},r),{name:u?"".concat(o,"(virtual-from:").concat(r.name,")"):r.name,lowLevelIndex:r,isVirtual:u,keyTail:t,keyLength:c,extractKey:En(e),unique:!u&&r.unique});return l.push(d),d.isPrimaryKey||a.push(d),c>1&&s(2===c?e[0]:e.slice(0,c-1),t+1,r),l.sort((function(e,t){return e.keyTail-t.keyTail})),d}var l=s(o.primaryKey.keyPath,0,o.primaryKey);i[":id"]=[l];for(var c=0,u=o.indexes;c<u.length;c++){var d=u[c];s(d.keyPath,0,d)}function m(e){var t=i[Sn(e)];return t&&t[0]}function p(t,n){return{type:1===t.type?2:t.type,lower:Ar(t.lower,t.lowerOpen?e.MAX_KEY:e.MIN_KEY,n),lowerOpen:!0,upper:Ar(t.upper,t.upperOpen?e.MIN_KEY:e.MAX_KEY,n),upperOpen:!0}}function h(e){var t=e.query.index;return t.isVirtual?n(n({},e),{query:{index:t.lowLevelIndex,range:p(e.query.range,t.keyTail)}}):e}var f=n(n({},r),{schema:n(n({},o),{primaryKey:l,indexes:a,getIndexByKeyPath:m}),count:function(e){return r.count(h(e))},query:function(e){return r.query(h(e))},openCursor:function(t){var n=t.query.index,o=n.keyTail,i=n.isVirtual,a=n.keyLength;if(!i)return r.openCursor(t);function s(n){function r(r){null!=r?n.continue(Ar(r,t.reverse?e.MAX_KEY:e.MIN_KEY,o)):t.unique?n.continue(n.key.slice(0,a).concat(t.reverse?e.MIN_KEY:e.MAX_KEY,o)):n.continue()}var i=Object.create(n,{continue:{value:r},continuePrimaryKey:{value:function(t,r){n.continuePrimaryKey(Ar(t,e.MAX_KEY,o),r)}},primaryKey:{get:function(){return n.primaryKey}},key:{get:function(){var e=n.key;return 1===a?e[0]:e.slice(0,a)}},value:{get:function(){return n.value}}});return i}return r.openCursor(h(t)).then((function(e){return e&&s(e)}))}});return f}})}var Sr={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:wr};function kr(e,t,n,r){return n=n||{},r=r||"",i(e).forEach((function(o){if(u(t,o)){var i=e[o],a=t[o];if("object"==typeof i&&"object"==typeof a&&i&&a){var s=R(i);s!==R(a)?n[r+o]=t[o]:"Object"===s?kr(i,a,n,r+o+"."):i!==a&&(n[r+o]=t[o])}else i!==a&&(n[r+o]=t[o])}else n[r+o]=void 0})),i(t).forEach((function(o){u(e,o)||(n[r+o]=t[o])})),n}function jr(e,t){return"delete"===t.type?t.keys:t.keys||t.values.map(e.extractKey)}var Nr={stack:"dbcore",name:"HooksMiddleware",level:2,create:function(e){return n(n({},e),{table:function(t){var o=e.table(t),i=o.schema.primaryKey,a=n(n({},o),{mutate:function(e){var a=Pe.trans,s=a.table(t).hook,l=s.deleting,c=s.creating,d=s.updating;switch(e.type){case"add":if(c.fire===oe)break;return a._promise("readwrite",(function(){return m(e)}),!0);case"put":if(c.fire===oe&&d.fire===oe)break;return a._promise("readwrite",(function(){return m(e)}),!0);case"delete":if(l.fire===oe)break;return a._promise("readwrite",(function(){return m(e)}),!0);case"deleteRange":if(l.fire===oe)break;return a._promise("readwrite",(function(){return p(e)}),!0)}return o.mutate(e);function m(e){var t=Pe.trans,a=e.keys||jr(i,e);if(!a)throw new Error("Keys missing");return"delete"!==(e="add"===e.type||"put"===e.type?n(n({},e),{keys:a}):n({},e)).type&&(e.values=r([],e.values)),e.keys&&(e.keys=r([],e.keys)),Tr(o,e,a).then((function(n){var r=a.map((function(r,o){var a=n[o],s={onerror:null,onsuccess:null};if("delete"===e.type)l.fire.call(s,r,a,t);else if("add"===e.type||void 0===a){var m=c.fire.call(s,r,e.values[o],t);null==r&&null!=m&&(r=m,e.keys[o]=r,i.outbound||A(e.values[o],i.keyPath,r))}else{var p=kr(a,e.values[o]),h=d.fire.call(s,p,r,a,t);if(h){var f=e.values[o];Object.keys(h).forEach((function(e){u(f,e)?f[e]=h[e]:A(f,e,h[e])}))}}return s}));return o.mutate(e).then((function(t){for(var o=t.failures,i=t.results,s=t.numFailures,l=t.lastResult,c=0;c<a.length;++c){var u=i?i[c]:a[c],d=r[c];null==u?d.onerror&&d.onerror(o[c]):d.onsuccess&&d.onsuccess("put"===e.type&&n[c]?e.values[c]:u)}return{failures:o,results:i,numFailures:s,lastResult:l}})).catch((function(e){return r.forEach((function(t){return t.onerror&&t.onerror(e)})),Promise.reject(e)}))}))}function p(e){return h(e.trans,e.range,1e4)}function h(e,t,r){return o.query({trans:e,values:!1,query:{index:i,range:t},limit:r}).then((function(o){var i=o.result;return m({type:"delete",keys:i,trans:e}).then((function(o){return o.numFailures>0?Promise.reject(o.failures[0]):i.length<r?{failures:[],numFailures:0,lastResult:void 0}:h(e,n(n({},t),{lower:i[i.length-1],lowerOpen:!0}),r)}))}))}}});return a}})}};function Tr(e,t,n){return"add"===t.type?Promise.resolve([]):e.getMany({trans:t.trans,keys:n,cache:"immutable"})}function Pr(e,t,n){try{if(!t)return null;if(t.keys.length<e.length)return null;for(var r=[],o=0,i=0;o<t.keys.length&&i<e.length;++o)0===Tt(t.keys[o],e[i])&&(r.push(n?L(t.values[o]):t.values[o]),++i);return r.length===e.length?r:null}catch(e){return null}}var Or={stack:"dbcore",level:-1,create:function(e){return{table:function(t){var r=e.table(t);return n(n({},r),{getMany:function(e){if(!e.cache)return r.getMany(e);var t=Pr(e.keys,e.trans._cache,"clone"===e.cache);return t?Be.resolve(t):r.getMany(e).then((function(t){return e.trans._cache={keys:e.keys,values:"clone"===e.cache?L(t):t},t}))},mutate:function(e){return"add"!==e.type&&(e.trans._cache=null),r.mutate(e)}})}}}};function Mr(e,t){return"readonly"===e.trans.mode&&!!e.subscr&&!e.trans.explicit&&"disabled"!==e.trans.db._options.cache&&!t.schema.primaryKey.outbound}function Lr(e,t){switch(e){case"query":return t.values&&!t.unique;case"get":case"getMany":case"count":case"openCursor":return!1}}var Br={stack:"dbcore",level:0,name:"Observability",create:function(e){var t=e.schema.name,r=new ar(e.MIN_KEY,e.MAX_KEY);return n(n({},e),{transaction:function(t,n,r){if(Pe.subscr&&"readonly"!==n)throw new ee.ReadOnly("Readwrite transaction in liveQuery context. Querier source: ".concat(Pe.querier));return e.transaction(t,n,r)},table:function(o){var s=e.table(o),l=s.schema,c=l.primaryKey,u=l.indexes,d=c.extractKey,m=c.outbound,p=c.autoIncrement&&u.filter((function(e){return e.compound&&e.keyPath.includes(c.keyPath)})),h=n(n({},s),{mutate:function(n){var i,u,d=n.trans,m=n.mutatedParts||(n.mutatedParts={}),h=function(e){var n="idb://".concat(t,"/").concat(o,"/").concat(e);return m[n]||(m[n]=new ar)},f=h(""),g=h(":dels"),v=n.type,y="deleteRange"===n.type?[n.range]:"delete"===n.type?[n.keys]:n.values.length<50?[jr(c,n).filter((function(e){return e})),n.values]:[],x=y[0],b=y[1],C=n.trans._cache;if(a(x)){f.addKeys(x);var I="delete"===v||x.length===b.length?Pr(x,C):null;I||g.addKeys(x),(I||b)&&Dr(h,l,I,b)}else if(x){var E={from:null!==(i=x.lower)&&void 0!==i?i:e.MIN_KEY,to:null!==(u=x.upper)&&void 0!==u?u:e.MAX_KEY};g.add(E),f.add(E)}else f.add(r),g.add(r),l.indexes.forEach((function(e){return h(e.name).add(r)}));return s.mutate(n).then((function(e){return!x||"add"!==n.type&&"put"!==n.type||(f.addKeys(e.results),p&&p.forEach((function(t){for(var r=n.values.map((function(e){return t.extractKey(e)})),o=t.keyPath.findIndex((function(e){return e===c.keyPath})),i=0,a=e.results.length;i<a;++i)r[i][o]=e.results[i];h(t.name).addKeys(r)}))),d.mutatedParts=pr(d.mutatedParts||{},m),e}))}}),f=function(t){var n,r,o=t.query,i=o.index,a=o.range;return[i,new ar(null!==(n=a.lower)&&void 0!==n?n:e.MIN_KEY,null!==(r=a.upper)&&void 0!==r?r:e.MAX_KEY)]},g={get:function(e){return[c,new ar(e.key)]},getMany:function(e){return[c,(new ar).addKeys(e.keys)]},count:f,query:f,openCursor:f};return i(g).forEach((function(e){h[e]=function(i){var a=Pe.subscr,l=!!a,c=Mr(Pe,s)&&Lr(e,i)?i.obsSet={}:a;if(l){var u=function(e){var n="idb://".concat(t,"/").concat(o,"/").concat(e);return c[n]||(c[n]=new ar)},p=u(""),h=u(":dels"),f=g[e](i),v=f[0],y=f[1];if("query"===e&&v.isPrimaryKey&&!i.values?h.add(y):u(v.name||"").add(y),!v.isPrimaryKey){if("count"!==e){var x="query"===e&&m&&i.values&&s.query(n(n({},i),{values:!1}));return s[e].apply(this,arguments).then((function(t){if("query"===e){if(m&&i.values)return x.then((function(e){var n=e.result;return p.addKeys(n),t}));var n=i.values?t.result.map(d):t.result;i.values?p.addKeys(n):h.addKeys(n)}else if("openCursor"===e){var r=t,o=i.values;return r&&Object.create(r,{key:{get:function(){return h.addKey(r.primaryKey),r.key}},primaryKey:{get:function(){var e=r.primaryKey;return h.addKey(e),e}},value:{get:function(){return o&&p.addKey(r.primaryKey),r.value}}})}return t}))}h.add(r)}}return s[e].apply(this,arguments)}})),h}})}};function Dr(e,t,n,r){function o(t){var o=e(t.name||"");function i(e){return null!=e?t.extractKey(e):null}var s=function(e){return t.multiEntry&&a(e)?e.forEach((function(e){return o.addKey(e)})):o.addKey(e)};(n||r).forEach((function(e,t){var o=n&&i(n[t]),a=r&&i(r[t]);0!==Tt(o,a)&&(null!=o&&s(o),null!=a&&s(a))}))}t.indexes.forEach(o)}function Rr(e,t,r){if(0===r.numFailures)return t;if("deleteRange"===t.type)return null;var o=t.keys?t.keys.length:"values"in t&&t.values?t.values.length:1;if(r.numFailures===o)return null;var i=n({},t);return a(i.keys)&&(i.keys=i.keys.filter((function(e,t){return!(t in r.failures)}))),"values"in i&&a(i.values)&&(i.values=i.values.filter((function(e,t){return!(t in r.failures)}))),i}function zr(e,t){return void 0===t.lower||(t.lowerOpen?Tt(e,t.lower)>0:Tt(e,t.lower)>=0)}function Fr(e,t){return void 0===t.upper||(t.upperOpen?Tt(e,t.upper)<0:Tt(e,t.upper)<=0)}function Hr(e,t){return zr(e,t)&&Fr(e,t)}function qr(e,t,n,r,o,i){if(!n||0===n.length)return e;var s=t.query.index,l=s.multiEntry,c=t.query.range,u=r.schema.primaryKey.extractKey,d=s.extractKey,m=(s.lowLevelIndex||s).extractKey,p=n.reduce((function(e,n){var r=e,o=[];if("add"===n.type||"put"===n.type)for(var i=new ar,s=n.values.length-1;s>=0;--s){var m=n.values[s],p=u(m);if(!i.hasKey(p)){var h=d(m);(l&&a(h)?h.some((function(e){return Hr(e,c)})):Hr(h,c))&&(i.addKey(p),o.push(m))}}switch(n.type){case"add":var f=(new ar).addKeys(t.values?e.map((function(e){return u(e)})):e);r=e.concat(t.values?o.filter((function(e){var t=u(e);return!f.hasKey(t)&&(f.addKey(t),!0)})):o.map((function(e){return u(e)})).filter((function(e){return!f.hasKey(e)&&(f.addKey(e),!0)})));break;case"put":var g=(new ar).addKeys(n.values.map((function(e){return u(e)})));r=e.filter((function(e){return!g.hasKey(t.values?u(e):e)})).concat(t.values?o:o.map((function(e){return u(e)})));break;case"delete":var v=(new ar).addKeys(n.keys);r=e.filter((function(e){return!v.hasKey(t.values?u(e):e)}));break;case"deleteRange":var y=n.range;r=e.filter((function(e){return!Hr(u(e),y)}))}return r}),e);return p===e?e:(p.sort((function(e,t){return Tt(m(e),m(t))||Tt(u(e),u(t))})),t.limit&&t.limit<1/0&&(p.length>t.limit?p.length=t.limit:e.length===t.limit&&p.length<t.limit&&(o.dirty=!0)),i?Object.freeze(p):p)}function Ur(e,t){return 0===Tt(e.lower,t.lower)&&0===Tt(e.upper,t.upper)&&!!e.lowerOpen==!!t.lowerOpen&&!!e.upperOpen==!!t.upperOpen}function Gr(e,t,n,r){if(void 0===e)return void 0!==t?-1:0;if(void 0===t)return 1;var o=Tt(e,t);if(0===o){if(n&&r)return 0;if(n)return 1;if(r)return-1}return o}function Wr(e,t,n,r){if(void 0===e)return void 0!==t?1:0;if(void 0===t)return-1;var o=Tt(e,t);if(0===o){if(n&&r)return 0;if(n)return-1;if(r)return 1}return o}function Qr(e,t){return Gr(e.lower,t.lower,e.lowerOpen,t.lowerOpen)<=0&&Wr(e.upper,t.upper,e.upperOpen,t.upperOpen)>=0}function Yr(e,t,n,r){var o=fr["idb://".concat(e,"/").concat(t)];if(!o)return[];var i=o.queries[n];if(!i)return[null,!1,o,null];var a=i[(r.query?r.query.index.name:null)||""];if(!a)return[null,!1,o,null];switch(n){case"query":var s=a.find((function(e){return e.req.limit===r.limit&&e.req.values===r.values&&Ur(e.req.query.range,r.query.range)}));return s?[s,!0,o,a]:[a.find((function(e){return("limit"in e.req?e.req.limit:1/0)>=r.limit&&(!r.values||e.req.values)&&Qr(e.req.query.range,r.query.range)})),!1,o,a];case"count":var l=a.find((function(e){return Ur(e.req.query.range,r.query.range)}));return[l,!!l,o,a]}}function Vr(e,t,n,r){e.subscribers.add(n),r.addEventListener("abort",(function(){e.subscribers.delete(n),0===e.subscribers.size&&Zr(e,t)}))}function Zr(e,t){setTimeout((function(){0===e.subscribers.size&&H(t,e)}),3e3)}var Kr={stack:"dbcore",level:0,name:"Cache",create:function(e){var t=e.schema.name,r=n(n({},e),{transaction:function(n,r,o){var i=e.transaction(n,r,o);if("readwrite"===r){var a=new AbortController,s=a.signal,l=function(o){return function(){if(a.abort(),"readwrite"===r){for(var s=new Set,l=0,c=n;l<c.length;l++){var u=c[l],d=fr["idb://".concat(t,"/").concat(u)];if(d){var m=e.table(u),p=d.optimisticOps.filter((function(e){return e.trans===i}));if(i._explicit&&o&&i.mutatedParts)for(var h=0,f=Object.values(d.queries.query);h<f.length;h++)for(var g=0,v=(b=f[h]).slice();g<v.length;g++)hr((E=v[g]).obsSet,i.mutatedParts)&&(H(b,E),E.subscribers.forEach((function(e){return s.add(e)})));else if(p.length>0){d.optimisticOps=d.optimisticOps.filter((function(e){return e.trans!==i}));for(var y=0,x=Object.values(d.queries.query);y<x.length;y++)for(var b,C=0,I=(b=x[y]).slice();C<I.length;C++){var E;if(null!=(E=I[C]).res&&i.mutatedParts)if(o&&!E.dirty){var _=Object.isFrozen(E.res),A=qr(E.res,E.req,p,m,E,_);E.dirty?(H(b,E),E.subscribers.forEach((function(e){return s.add(e)}))):A!==E.res&&(E.res=A,E.promise=Be.resolve({result:A}))}else E.dirty&&H(b,E),E.subscribers.forEach((function(e){return s.add(e)}))}}}}s.forEach((function(e){return e()}))}}};i.addEventListener("abort",l(!1),{signal:s}),i.addEventListener("error",l(!1),{signal:s}),i.addEventListener("complete",l(!0),{signal:s})}return i},table:function(r){var o=e.table(r),i=o.schema.primaryKey,a=n(n({},o),{mutate:function(e){var a=Pe.trans;if(i.outbound||"disabled"===a.db._options.cache||a.explicit||"readwrite"!==a.idbtrans.mode)return o.mutate(e);var s=fr["idb://".concat(t,"/").concat(r)];if(!s)return o.mutate(e);var l=o.mutate(e);return"add"!==e.type&&"put"!==e.type||!(e.values.length>=50||jr(i,e).some((function(e){return null==e})))?(s.optimisticOps.push(e),e.mutatedParts&&yr(e.mutatedParts),l.then((function(t){if(t.numFailures>0){H(s.optimisticOps,e);var n=Rr(s,e,t);n&&s.optimisticOps.push(n),e.mutatedParts&&yr(e.mutatedParts)}})),l.catch((function(){H(s.optimisticOps,e),e.mutatedParts&&yr(e.mutatedParts)}))):l.then((function(t){var r=n(n({},e),{values:e.values.map((function(e,r){var o;if(t.failures[r])return e;var a=(null===(o=i.keyPath)||void 0===o?void 0:o.includes("."))?L(e):n({},e);return A(a,i.keyPath,t.results[r]),a}))}),o=Rr(s,r,t);s.optimisticOps.push(o),queueMicrotask((function(){return e.mutatedParts&&yr(e.mutatedParts)}))})),l},query:function(e){var n;if(!Mr(Pe,o)||!Lr("query",e))return o.query(e);var i="immutable"===(null===(n=Pe.trans)||void 0===n?void 0:n.db._options.cache),a=Pe,s=a.requery,l=a.signal,c=Yr(t,r,"query",e),u=c[0],d=c[1],m=c[2],p=c[3];if(u&&d)u.obsSet=e.obsSet;else{var h=o.query(e).then((function(e){var t=e.result;if(u&&(u.res=t),i){for(var n=0,r=t.length;n<r;++n)Object.freeze(t[n]);Object.freeze(t)}else e.result=L(t);return e})).catch((function(e){return p&&u&&H(p,u),Promise.reject(e)}));u={obsSet:e.obsSet,promise:h,subscribers:new Set,type:"query",req:e,dirty:!1},p?p.push(u):(p=[u],m||(m=fr["idb://".concat(t,"/").concat(r)]={queries:{query:{},count:{}},objs:new Map,optimisticOps:[],unsignaledParts:{}}),m.queries.query[e.query.index.name||""]=p)}return Vr(u,p,s,l),u.promise.then((function(t){return{result:qr(t.result,e,null==m?void 0:m.optimisticOps,o,u,i)}}))}});return a}});return r}};function Jr(e,t){return new Proxy(e,{get:function(e,n,r){return"db"===n?t:Reflect.get(e,n,r)}})}var Xr,$r=function(){function e(t,r){var o=this;this._middlewares={},this.verno=0;var i=e.dependencies;this._options=r=n({addons:e.addons,autoOpen:!0,indexedDB:i.indexedDB,IDBKeyRange:i.IDBKeyRange,cache:"cloned"},r),this._deps={indexedDB:r.indexedDB,IDBKeyRange:r.IDBKeyRange};var a=r.addons;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;var s={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:oe,dbReadyPromise:null,cancelOpen:oe,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3,autoOpen:r.autoOpen};s.dbReadyPromise=new Be((function(e){s.dbReadyResolve=e})),s.openCanceller=new Be((function(e,t){s.cancelOpen=t})),this._state=s,this.name=t,this.on=Dt(this,"populate","blocked","versionchange","close",{ready:[me,oe]}),this.on.ready.subscribe=x(this.on.ready.subscribe,(function(t){return function(n,r){e.vip((function(){var e=o._state;if(e.openComplete)e.dbOpenError||Be.resolve().then(n),r&&t(n);else if(e.onReadyBeingFired)e.onReadyBeingFired.push(n),r&&t(n);else{t(n);var i=o;r||t((function e(){i.on.ready.unsubscribe(n),i.on.ready.unsubscribe(e)}))}}))}})),this.Collection=Jt(this),this.Table=zt(this),this.Transaction=vn(this),this.Version=Jn(this),this.WhereClause=un(this),this.on("versionchange",(function(e){e.newVersion>0?console.warn("Another connection wants to upgrade database '".concat(o.name,"'. Closing db now to resume the upgrade.")):console.warn("Another connection wants to delete database '".concat(o.name,"'. Closing db now to resume the delete request.")),o.close({disableAutoOpen:!1})})),this.on("blocked",(function(e){!e.newVersion||e.newVersion<e.oldVersion?console.warn("Dexie.delete('".concat(o.name,"') was blocked")):console.warn("Upgrade '".concat(o.name,"' blocked by other connection holding version ").concat(e.oldVersion/10))})),this._maxKey=In(r.IDBKeyRange),this._createTransaction=function(e,t,n,r){return new o.Transaction(e,t,n,o._options.chromeTransactionDurability,r)},this._fireOnBlocked=function(e){o.on("blocked").fire(e),Et.filter((function(e){return e.name===o.name&&e!==o&&!e._state.vcFired})).map((function(t){return t.on("versionchange").fire(e)}))},this.use(Or),this.use(Kr),this.use(Br),this.use(Sr),this.use(Nr);var l=new Proxy(this,{get:function(e,t,n){if("_vip"===t)return!0;if("table"===t)return function(e){return Jr(o.table(e),l)};var r=Reflect.get(e,t,n);return r instanceof Bt?Jr(r,l):"tables"===t?r.map((function(e){return Jr(e,l)})):"_createTransaction"===t?function(){return Jr(r.apply(this,arguments),l)}:r}});this.vip=l,a.forEach((function(e){return e(o)}))}return e.prototype.version=function(e){if(isNaN(e)||e<.1)throw new ee.Type("Given version is not a positive number");if(e=Math.round(10*e)/10,this.idbdb||this._state.isBeingOpened)throw new ee.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,e);var t=this._versions,n=t.filter((function(t){return t._cfg.version===e}))[0];return n||(n=new this.Version(e),t.push(n),t.sort(Mn),n.stores({}),this._state.autoSchema=!1,n)},e.prototype._whenReady=function(e){var t=this;return this.idbdb&&(this._state.openComplete||Pe.letThrough||this._vip)?e():new Be((function(e,n){if(t._state.openComplete)return n(new ee.DatabaseClosed(t._state.dbOpenError));if(!t._state.isBeingOpened){if(!t._state.autoOpen)return void n(new ee.DatabaseClosed);t.open().catch(oe)}t._state.dbReadyPromise.then(e,n)})).then(e)},e.prototype.use=function(e){var t=e.stack,n=e.create,r=e.level,o=e.name;o&&this.unuse({stack:t,name:o});var i=this._middlewares[t]||(this._middlewares[t]=[]);return i.push({stack:t,create:n,level:null==r?10:r,name:o}),i.sort((function(e,t){return e.level-t.level})),this},e.prototype.unuse=function(e){var t=e.stack,n=e.name,r=e.create;return t&&this._middlewares[t]&&(this._middlewares[t]=this._middlewares[t].filter((function(e){return r?e.create!==r:!!n&&e.name!==n}))),this},e.prototype.open=function(){var e=this;return pt(Te,(function(){return Cr(e)}))},e.prototype._close=function(){var e=this._state,t=Et.indexOf(this);if(t>=0&&Et.splice(t,1),this.idbdb){try{this.idbdb.close()}catch(e){}this.idbdb=null}e.isBeingOpened||(e.dbReadyPromise=new Be((function(t){e.dbReadyResolve=t})),e.openCanceller=new Be((function(t,n){e.cancelOpen=n})))},e.prototype.close=function(e){var t=(void 0===e?{disableAutoOpen:!0}:e).disableAutoOpen,n=this._state;t?(n.isBeingOpened&&n.cancelOpen(new ee.DatabaseClosed),this._close(),n.autoOpen=!1,n.dbOpenError=new ee.DatabaseClosed):(this._close(),n.autoOpen=this._options.autoOpen||n.isBeingOpened,n.openComplete=!1,n.dbOpenError=null)},e.prototype.delete=function(e){var t=this;void 0===e&&(e={disableAutoOpen:!0});var n=arguments.length>0&&"object"!=typeof arguments[0],r=this._state;return new Be((function(o,i){var a=function(){t.close(e);var n=t._deps.indexedDB.deleteDatabase(t.name);n.onsuccess=Xe((function(){nr(t._deps,t.name),o()})),n.onerror=dn(i),n.onblocked=t._fireOnBlocked};if(n)throw new ee.InvalidArgument("Invalid closeOptions argument to db.delete()");r.isBeingOpened?r.dbReadyPromise.then(a):a()}))},e.prototype.backendDB=function(){return this.idbdb},e.prototype.isOpen=function(){return null!==this.idbdb},e.prototype.hasBeenClosed=function(){var e=this._state.dbOpenError;return e&&"DatabaseClosed"===e.name},e.prototype.hasFailed=function(){return null!==this._state.dbOpenError},e.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(e.prototype,"tables",{get:function(){var e=this;return i(this._allTables).map((function(t){return e._allTables[t]}))},enumerable:!1,configurable:!0}),e.prototype.transaction=function(){var e=Er.apply(this,arguments);return this._transaction.apply(this,e)},e.prototype._transaction=function(e,t,n){var r=this,o=Pe.trans;o&&o.db===this&&-1===e.indexOf("!")||(o=null);var i,a,s=-1!==e.indexOf("?");e=e.replace("!","").replace("?","");try{if(a=t.map((function(e){var t=e instanceof r.Table?e.name:e;if("string"!=typeof t)throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return t})),"r"==e||e===At)i=At;else{if("rw"!=e&&e!=wt)throw new ee.InvalidArgument("Invalid transaction mode: "+e);i=wt}if(o){if(o.mode===At&&i===wt){if(!s)throw new ee.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");o=null}o&&a.forEach((function(e){if(o&&-1===o.storeNames.indexOf(e)){if(!s)throw new ee.SubTransaction("Table "+e+" not included in parent transaction.");o=null}})),s&&o&&!o.active&&(o=null)}}catch(e){return o?o._promise(null,(function(t,n){n(e)})):gt(e)}var l=_r.bind(null,this,i,a,o,n);return o?o._promise(i,l,"lock"):Pe.trans?pt(Pe.transless,(function(){return r._whenReady(l)})):this._whenReady(l)},e.prototype.table=function(e){if(!u(this._allTables,e))throw new ee.InvalidTable("Table ".concat(e," does not exist"));return this._allTables[e]},e}(),eo="undefined"!=typeof Symbol&&"observable"in Symbol?Symbol.observable:"@@observable",to=function(){function e(e){this._subscribe=e}return e.prototype.subscribe=function(e,t,n){return this._subscribe(e&&"function"!=typeof e?e:{next:e,error:t,complete:n})},e.prototype[eo]=function(){return this},e}();try{Xr={indexedDB:o.indexedDB||o.mozIndexedDB||o.webkitIndexedDB||o.msIndexedDB,IDBKeyRange:o.IDBKeyRange||o.webkitIDBKeyRange}}catch(e){Xr={indexedDB:null,IDBKeyRange:null}}function no(e){var t,n=!1,r=new to((function(r){var o=G(e);function i(t){var n=We();try{o&&at();var r=it(e,t);return o&&(r=r.finally(st)),r}finally{n&&Qe()}}var a,s=!1,l={},c={},u={get closed(){return s},unsubscribe:function(){s||(s=!0,a&&a.abort(),d&&fn.storagemutated.unsubscribe(h))}};r.start&&r.start(u);var d=!1,m=function(){return ft(f)};function p(){return hr(c,l)}var h=function(e){pr(l,e),p()&&m()},f=function(){if(!s&&Xr.indexedDB){l={};var o={};a&&a.abort(),a=new AbortController;var u={subscr:o,signal:a.signal,requery:m,querier:e,trans:null},p=i(u);Promise.resolve(p).then((function(e){n=!0,t=e,s||u.signal.aborted||(l={},O(c=o)||d||(fn(pn,h),d=!0),ft((function(){return!s&&r.next&&r.next(e)})))}),(function(e){n=!1,["DatabaseClosedError","AbortError"].includes(null==e?void 0:e.name)||s||ft((function(){s||r.error&&r.error(e)}))}))}};return setTimeout(m,0),u}));return r.hasValue=function(){return n},r.getValue=function(){return t},r}var ro=$r;function oo(e){var t=ao;try{ao=!0,fn.storagemutated.fire(e),xr(e,!0)}finally{ao=t}}d(ro,n(n({},re),{delete:function(e){return new ro(e,{addons:[]}).delete()},exists:function(e){return new ro(e,{addons:[]}).open().then((function(e){return e.close(),!0})).catch("NoSuchDatabaseError",(function(){return!1}))},getDatabaseNames:function(e){try{return er(ro.dependencies).then(e)}catch(e){return gt(new ee.MissingAPI)}},defineClass:function(){function e(e){s(this,e)}return e},ignoreTransaction:function(e){return Pe.trans?pt(Pe.transless,e):e()},vip:rr,async:function(e){return function(){try{var t=Ir(e.apply(this,arguments));return t&&"function"==typeof t.then?t:Be.resolve(t)}catch(e){return gt(e)}}},spawn:function(e,t,n){try{var r=Ir(e.apply(n,t||[]));return r&&"function"==typeof r.then?r:Be.resolve(r)}catch(e){return gt(e)}},currentTransaction:{get:function(){return Pe.trans||null}},waitFor:function(e,t){var n=Be.resolve("function"==typeof e?ro.ignoreTransaction(e):e).timeout(t||6e4);return Pe.trans?Pe.trans.waitFor(n):n},Promise:Be,debug:{get:function(){return pe},set:function(e){he(e)}},derive:h,extend:s,props:d,override:x,Events:Dt,on:fn,liveQuery:no,extendObservabilitySet:pr,getByKeyPath:_,setByKeyPath:A,delByKeyPath:w,shallowClone:S,deepClone:L,getObjectDiff:kr,cmp:Tt,asap:C,minKey:bt,addons:[],connections:Et,errnames:X,dependencies:Xr,cache:fr,semVer:yt,version:yt.split(".").map((function(e){return parseInt(e)})).reduce((function(e,t,n){return e+t/Math.pow(10,2*n)}))})),ro.maxKey=In(ro.dependencies.IDBKeyRange),"undefined"!=typeof dispatchEvent&&"undefined"!=typeof addEventListener&&(fn(pn,(function(e){var t;ao||(t=new CustomEvent(hn,{detail:e}),ao=!0,dispatchEvent(t),ao=!1)})),addEventListener(hn,(function(e){var t=e.detail;ao||oo(t)})));var io,ao=!1,so=function(){};function lo(e){return new Vt({add:e})}function co(e){return new Vt({remove:e})}function uo(e,t){return new Vt({replacePrefix:[e,t]})}"undefined"!=typeof BroadcastChannel&&((so=function(){(io=new BroadcastChannel(hn)).onmessage=function(e){return e.data&&oo(e.data)}})(),"function"==typeof io.unref&&io.unref(),fn(pn,(function(e){ao||io.postMessage(e)}))),"undefined"!=typeof addEventListener&&(addEventListener("pagehide",(function(e){if(!$r.disableBfCache&&e.persisted){pe&&console.debug("Dexie: handling persisted pagehide"),null==io||io.close();for(var t=0,n=Et;t<n.length;t++)n[t].close({disableAutoOpen:!1})}})),addEventListener("pageshow",(function(e){!$r.disableBfCache&&e.persisted&&(pe&&console.debug("Dexie: handling persisted pageshow"),so(),oo({all:new ar(-1/0,[[]])}))}))),Be.rejectionMapper=ne,he(pe);var mo=Object.freeze({__proto__:null,Dexie:$r,liveQuery:no,Entity:Nt,cmp:Tt,PropModification:Vt,replacePrefix:uo,add:lo,remove:co,default:$r,RangeSet:ar,mergeRanges:lr,rangesOverlap:cr});return n($r,mo,{default:$r}),$r}();var dQ=E(uQ.exports);const mQ=Symbol.for("Dexie"),pQ=globalThis[mQ]||(globalThis[mQ]=dQ);if(dQ.semVer!==pQ.semVer)throw new Error(`Two different versions of Dexie loaded in the same app: ${dQ.semVer} and ${pQ.semVer}`);const{liveQuery:hQ,mergeRanges:fQ,rangesOverlap:gQ,RangeSet:vQ,cmp:yQ,Entity:xQ,PropModification:bQ,replacePrefix:CQ,add:IQ,remove:EQ}=pQ;let _Q;const AQ=new class extends pQ{constructor(){super("globalSelectionStoreDB"),this.version(1).stores({globalSelection:"id"})}};let wQ=!1;const SQ={getItem:e=>Ym(void 0,void 0,void 0,(function*(){try{const t=yield AQ.globalSelection.get(e),n=null==t?void 0:t.data;n&&(_Q=n.flatMap((e=>e.items)))}catch(e){hz(e)}return wQ=!0,null})),setItem:(e,n)=>Ym(void 0,void 0,void 0,(function*(){var r;if(wQ)try{const o=(r=n.state.lists,Object.values(r).map((e=>{const n={type:e.type,items:[]};return e.items.forEach((e=>{n.items.push({id:e.id,metaData:t.omit(e.metaData,["errorStatus","systemStatus"])})})),n})));yield AQ.globalSelection.put({id:e,data:o})}catch(e){hz(e)}})),removeItem:e=>Ym(void 0,void 0,void 0,(function*(){try{yield AQ.globalSelection.delete(e)}catch(e){hz(e)}}))};const kQ={loadAndPopulateStoreMetadata:function(e){return Ym(this,void 0,void 0,(function*(){_Q||(yield SQ.getItem("global-selection-store"));const t=(_Q||[]).map((e=>({itemId:e.id,metaData:Object.assign({},e.metaData)})));e.setItemMetaData(t),_Q=[]}))},persistOptions:{name:"global-selection-store",storage:SQ,version:1}},jQ=!1;p.enableMapSet();const NQ={label:"Work Orders",type:exports.GlobalSelectionItemType.WorkOrder,items:new Map},TQ={label:"Tags",type:exports.GlobalSelectionItemType.Tag,items:new Map},PQ={label:"Equipments",type:exports.GlobalSelectionItemType.Equipment,items:new Map},OQ={enabled:"test"!==process.env.NODE_ENV,store:"globalSelection",name:"globalSelection"},MQ=a.create()(uq(mq(fq(gq(((n,r)=>({lists:{[exports.GlobalSelectionItemType.WorkOrder]:t.cloneDeep(NQ),[exports.GlobalSelectionItemType.Tag]:t.cloneDeep(TQ),[exports.GlobalSelectionItemType.Equipment]:t.cloneDeep(PQ)},addWorkOrdersToSelection:t=>{const o=performance.now(),i=sQ(n,r,{itemIds:t.workOrderIds},exports.GlobalSelectionItemType.WorkOrder,(e=>Ym(void 0,void 0,void 0,(function*(){return[yield l.DataService.workOrders.ids({workOrderIds:e.map((e=>e.workOrderId))})]}))),cQ);return e.logPerformanceToConsole("gs.addWorkOrdersToSelection",o,{forceLog:jQ}),i},addTagsToSelection:t=>{const o=performance.now(),i=sQ(n,r,{itemIds:t.tagIds},exports.GlobalSelectionItemType.Tag,(e=>Ym(void 0,void 0,void 0,(function*(){const t=function(e){const t={};e.forEach((e=>{t[e.instCode]||(t[e.instCode]=[]),t[e.instCode].push(e.tagNo)}));const n=Object.keys(t).map((e=>({instCode:e,tagNos:t[e]})));return n}(e),n=t.map((e=>Ym(void 0,void 0,void 0,(function*(){return yield l.Search.Tags.getAllAsync(e.tagNos,e.instCode)}))));return yield Promise.all(n)}))),lQ);return e.logPerformanceToConsole("gs.addTagsToSelection",o,{forceLog:jQ}),i},removeItemsFromSelection:t=>{const{itemIds:r}=t;n((t=>{if(!t.lists)return;const n=performance.now();Object.keys(t.lists).forEach((e=>{const n=e;r.forEach((e=>{t.lists[n].items.delete(YW.itemIdToString(e))}))})),e.logPerformanceToConsole("gs.removeItemsFromSelection",n,{forceLog:jQ})}),void 0,"removeItem")},setErrorStatusForItems:t=>{const{itemErrorStatuses:r}=t;n((t=>{const n=performance.now();r.forEach((e=>{const n=Object.entries(t.lists);for(const[,t]of n){const n=YW.itemIdToString(e.itemId),r=t.items.get(n);if(r){r.metaData.errorStatus!==e.errorStatus&&(r.metaData.errorStatus=e.errorStatus)}}})),e.logPerformanceToConsole("gs.setErrorStatusForItems",n,{forceLog:jQ})}),void 0,"setErrorStatusForItems")},removeErrorStatusForItems:e=>{n((t=>{Object.values(t.lists).forEach((t=>{e.itemIds.forEach((e=>{const n=YW.itemIdToString(e),r=t.items.get(n);r&&(r.metaData.errorStatus=void 0)}))}))}),void 0,"removeErrorStatusForItems")},setVisibilityByItemIds:t=>{n((n=>{const r=performance.now();Object.values(n.lists).forEach((e=>{t.itemIds.forEach((n=>{const r=YW.itemIdToString(n),o=e.items.get(r);o&&(o.metaData.isHiddenByUser=!t.isVisible)}))})),e.logPerformanceToConsole("gs.setVisibilityByItemIds",r,{forceLog:jQ})}),void 0,"setVisibilityByItemIds")},setItemMetaData:t=>{n((n=>{const r=performance.now();Object.values(n.lists).forEach((e=>{t.forEach((t=>{const n=YW.itemIdToString(t.itemId),r=e.items.get(n);r&&(r.metaData=Object.assign(Object.assign({},r.metaData),t.metaData))}))})),e.logPerformanceToConsole("gs.setItemMetaData",r,{forceLog:jQ})}),void 0,"setItemMetaData")},resetItemErrorStatuses:()=>{n((t=>{const n=performance.now();Object.values(t.lists).forEach((e=>{e.items.forEach((e=>{e.metaData.errorStatus=void 0}))})),e.logPerformanceToConsole("gs.resetItemErrorStatuses",n,{forceLog:jQ})}),void 0,"resetItemErrorStatuses")},resetState:()=>{n((e=>{e.lists={[exports.GlobalSelectionItemType.WorkOrder]:t.cloneDeep(NQ),[exports.GlobalSelectionItemType.Tag]:t.cloneDeep(TQ),[exports.GlobalSelectionItemType.Equipment]:t.cloneDeep(PQ)}}),void 0,"resetState")}}))),kQ.persistOptions)),OQ));function LQ(){return MQ.getState()}var BQ;exports.GlobalSelectionCategoryId=void 0,(BQ=exports.GlobalSelectionCategoryId||(exports.GlobalSelectionCategoryId={})).Tags="DEFAULT_TAG_LIST_ID",BQ.WorkOrders="DEFAULT_WORK_ORDER_LIST_ID";const DQ="LOCAL_SELECTION_LIST";var RQ;exports.SelectionMenuDefaultListIds=void 0,(RQ=exports.SelectionMenuDefaultListIds||(exports.SelectionMenuDefaultListIds={})).TagList="DEFAULT_TAG_LIST_ID",RQ.WorkOrderList="DEFAULT_WORK_ORDER_LIST_ID";const zQ={id:exports.GlobalSelectionCategoryId.Tags,label:"Tags",items:new Map},FQ={id:exports.GlobalSelectionCategoryId.WorkOrders,label:"Work Orders",items:new Map},HQ={tagIndex:0,workOrderIndex:1},qQ=[{index:HQ.tagIndex,initialData:t.cloneDeep(zQ)},{index:HQ.workOrderIndex,initialData:t.cloneDeep(FQ)}],UQ={id:DQ,label:"Local Selection",subLabel:"",categories:GQ(qQ)};function GQ(e){const n=[];return e.forEach((e=>{n[e.index]=t.cloneDeep(e.initialData)})),n}const WQ=Object.freeze({localSelectionGroup:UQ,categoryOrder:HQ,localSelectionGroupIndex:0,getInitialCategories:()=>GQ(qQ)});function QQ(e){const{itemId:t,groupId:n,categoryId:r,groups:o}=e;if(!n||!r)return o.some((e=>(!n||e.id===n)&&e.categories.some((e=>(!r||e.id===r)&&e.items.has(YW.itemIdToString(t))))));{const e=YQ({groupId:n,categoryId:r,groups:o});if(e&&e.category){const{category:n}=e;return n.items.has(YW.itemIdToString(t))}}return!1}function YQ(e){var t;const{groupId:n,categoryId:r,groups:o}=e,i=o.find((e=>e.id===n));if(i){if(r){return{group:i,category:null===(t=i.categories)||void 0===t?void 0:t.find((e=>e.id===r))}}return{group:i}}}function VQ(e){const{groups:t,itemIds:n}=e;return n.filter((e=>!QQ({itemId:e,groups:t})))}function ZQ(e){const{itemIds:n,groups:r,groupId:o,categoryId:i}=e,a=YQ({groupId:o,groups:r,categoryId:i});if(!(null==a?void 0:a.category))return!1;const s=Array.from(a.category.items.values()).map((e=>e.id));return 0===t.xorWith(n,s,YW.idsEqual).length}function KQ(e,t){const n=t.categories.reduce(((e,t)=>e+t.items.size||0),0);if(t.id!==DQ&&0===n){const n=e.findIndex((e=>e.id===t.id));-1!==n&&e.splice(n,1)}}function JQ(e,t){if(0===t.length)return;const n=VQ({groups:e,itemIds:t});n.length>0&&LQ().removeItemsFromSelection({itemIds:n})}const{localSelectionGroup:XQ,localSelectionGroupIndex:$Q,categoryOrder:eY}=WQ;function tY(e,n,r){return Ym(this,void 0,void 0,(function*(){const{itemIds:o,replaceItems:i=!1,getActionResult:a}=r,s=n(),l=function(e,t){let n=DQ,r=!1;const{label:o,subLabel:i}=e;if(void 0!==o&&void 0!==i){const e=t.groups.find((e=>e.label===o&&e.subLabel===i));r=void 0===(null==e?void 0:e.id),n=(null==e?void 0:e.id)||t.createGroup({label:o,subLabel:i})}return{newGroupCreated:r,groupId:n}}(r,s),c=l.groupId,u=l.newGroupCreated,d=function(e,n,r,o){let i=[];if(void 0===n||r)i=t.uniqBy(e,(e=>e.tagNo+e.instCode));else{const r=e.filter((e=>!QQ({itemId:e,categoryId:exports.GlobalSelectionCategoryId.Tags,groupId:n,groups:o.groups})));i=t.uniqBy(r,(e=>e.tagNo+e.instCode))}return i}(o,c,i,s);if(0===d.length||0===o.length){const e={fetchResults:[{values:[],isSuccess:!0}],actionResult:"NoChanges"};return a?e:e.fetchResults}if(i&&!u&&ZQ({itemIds:d,groups:s.groups,groupId:c,categoryId:exports.GlobalSelectionCategoryId.Tags}))return nY(a);e((e=>{!function(e,n,r,o){const{targetCategory:i}=function(e,n){const r=YQ({groupId:n,categoryId:exports.GlobalSelectionCategoryId.Tags,groups:e.groups});let o,i;if(r||0!==e.groups.length)o=(null==r?void 0:r.group)||e.groups[$Q],i=(null==r?void 0:r.category)||o.categories[eY.tagIndex];else{const n=t.cloneDeep(XQ);e.groups.push(n),o=n,i=n.categories[eY.tagIndex]}return{targetGroup:o,targetCategory:i}}(e,n);o&&function(e,t){if(0===t.length)return;const n=VQ({groups:e,itemIds:t});if(n.length>0){const e=t.filter((e=>n.some((t=>YW.idsEqual(e,t)))));LQ().removeItemsFromSelection({itemIds:e})}}(e.groups,function(e,n){const r=Array.from(e.items.values()).map((e=>e.id));return t.differenceWith(r,n,YW.idsEqual)}(i,r));!function(e,t){t.forEach((t=>{e.items.set(YW.itemIdToString(t),{id:t,type:exports.GlobalSelectionItemType.Tag})}))}(i,r)}(e,c,d,i)}),!1,"addTags");const m=yield LQ().addTagsToSelection({tagIds:d});return function(e,t){const n=1===e.fetchResult.length&&0===e.fetchResult[0].values.length;return n&&!t&&"NoChanges"!==e.actionResult}(m,i)?nY(a):a?{fetchResults:m.fetchResult,actionResult:u?"NewGroupCreated":i?"ItemsUpdated":"ItemsAdded"}:m.fetchResult}))}function nY(e){const t={fetchResults:[{values:[],isSuccess:!0}],actionResult:"NoChanges"};return e?t:t.fetchResults}const{localSelectionGroup:rY,localSelectionGroupIndex:oY}=WQ;function iY(){return{fetchResults:[{values:[],isSuccess:!0}],actionResult:"NoChanges"}}const{categoryOrder:aY}=WQ,sY=function(e){const{itemCategory:n,addItemToGlobalSelection:r,itemType:o,categoryOrderIndex:i}=e;return function(e,a,s){return Ym(this,void 0,void 0,(function*(){const{itemIds:l,replaceItems:c=!1}=s,u=a(),d=function(e,t){let n=DQ,r=!1;const{label:o,subLabel:i}=e;if(void 0!==o&&void 0!==i){const e=t.groups.find((e=>e.label===o&&e.subLabel===i));r=void 0===(null==e?void 0:e.id),n=(null==e?void 0:e.id)||t.createGroup({label:o,subLabel:i})}return{newGroupCreated:r,groupId:n}}(s,u),m=d.groupId,p=d.newGroupCreated,h=function(e,n,r,o,i){const a=void 0===n||r?[...e]:e.filter((e=>!QQ({itemId:e,categoryId:i,groupId:n,groups:o.groups})));return t.uniqBy(a,(e=>YW.itemIdToString(e)))}(l,m,c,u,n);if(0===h.length||0===l.length)return iY();if(c&&!p&&ZQ({itemIds:h,groups:u.groups,groupId:m,categoryId:exports.GlobalSelectionCategoryId.WorkOrders}))return iY();e((e=>{!function(e,n,r,o,i,a){const{targetCategory:s}=function(e,n,r){const o=YQ({groupId:n,categoryId:exports.GlobalSelectionCategoryId.WorkOrders,groups:e.groups});let i,a;if(o||0!==e.groups.length)i=(null==o?void 0:o.group)||e.groups[oY],a=(null==o?void 0:o.category)||i.categories[r];else{const n=t.cloneDeep(rY);e.groups.push(n),i=n,a=n.categories[r]}return{targetGroup:i,targetCategory:a}}(e,n,a);o&&function(e,t){if(0===t.length)return;const n=VQ({groups:e,itemIds:t});if(n.length>0){const e=t.filter((e=>n.some((t=>YW.idsEqual(e,t)))));LQ().removeItemsFromSelection({itemIds:e})}}(e.groups,function(e,n){const r=Array.from(e.items.values()).map((e=>e.id));return t.differenceWith(r,n,YW.idsEqual)}(s,r));!function(e,t,n){t.forEach((t=>{e.items.set(YW.itemIdToString(t),{id:t,type:n})}))}(s,r,i)}(e,m,h,c,o,i)}),!1,"addItems");const f=yield r(h);return"NoChanges"===f.actionResult?iY():{fetchResults:[f.fetchResult],actionResult:p?"NewGroupCreated":c?"ItemsUpdated":"ItemsAdded"}}))}}({categoryOrderIndex:aY.workOrderIndex,addItemToGlobalSelection:e=>LQ().addWorkOrdersToSelection({workOrderIds:e}),itemType:exports.GlobalSelectionItemType.WorkOrder,itemCategory:exports.GlobalSelectionCategoryId.WorkOrders});let lY;const cY=new class extends pQ{constructor(){super("selectionTreeStoreDB"),this.version(1).stores({globalSelection:"id"})}};let uY=!1;const dY={getItem:e=>Ym(void 0,void 0,void 0,(function*(){try{const t=yield cY.globalSelection.get(e),n=null==t?void 0:t.data;n&&(lY=n.flatMap((e=>e)))}catch(e){hz(e)}return uY=!0,null})),setItem:(e,t)=>Ym(void 0,void 0,void 0,(function*(){if(uY)try{const n=t.state.groups.map((e=>({id:e.id,label:e.label,subLabel:e.subLabel,categories:e.categories.map((e=>({id:e.id,label:e.label,items:Array.from(e.items.values())})))})));yield cY.globalSelection.put({id:e,data:n})}catch(e){hz(e)}})),removeItem:e=>Ym(void 0,void 0,void 0,(function*(){try{yield cY.globalSelection.delete(e)}catch(e){hz(e)}}))};const mY={loadAndPopulateStore:function(e){return Ym(this,void 0,void 0,(function*(){lY||(yield dY.getItem("selection-tree-store")),lY&&(lY.forEach((t=>{t.categories.forEach((n=>{const r=Array.from(n.items.values()).map((e=>e.id));r.length>0&&e.addItems({itemIds:r,label:t.label,subLabel:t.subLabel})}))})),kQ.loadAndPopulateStoreMetadata(LQ()))}))},persistOptions:{name:"selection-tree-store",storage:dY,version:1}},pY={enabled:"test"!==process.env.NODE_ENV,store:"selectionTreeStore",name:"selectionTreeStore"};p.enableMapSet();const{isTagId:hY,isWorkOrderId:fY}=YW,{localSelectionGroup:gY,getInitialCategories:vY}=WQ,yY=a.create()(uq(mq(fq(gq(((n,r)=>({groups:[t.cloneDeep(gY)],addItems:e=>{const{itemIds:t}=e,n=Qm(e,["itemIds"]),o=t.filter((e=>hY(e)));o.length>0&&r().addTags(Object.assign(Object.assign({},n),{itemIds:o}));const i=t.filter((e=>fY(e)));i.length>0&&r().addWorkOrders(Object.assign(Object.assign({},n),{itemIds:i.map((e=>({workOrderId:e.workOrderId})))}))},addTags:e=>Ym(void 0,void 0,void 0,(function*(){return e.getActionResult,tY(n,r,e)})),addWorkOrders:e=>sY(n,r,e),createGroup:t=>{const{label:o,subLabel:i}=t,a=r().groups.find((e=>e.label===o));if(a)return a.id;const s=e.guidHelper.create();return n((e=>{const t={id:s,label:o,subLabel:i,categories:vY()};e.groups.push(t)}),void 0,"createGroup"),s},removeGroupById:e=>{const{groupId:t,categoryId:r}=e;n((e=>{let n=[];if(r){const o=YQ({groupId:t,categoryId:r,groups:e.groups});if(o&&o.category){const{category:e}=o;n=Array.from(e.items.values()).map((e=>e.id)),e.items=new Map}}else{const r=e.groups.find((e=>e.id===t));r&&(r.categories.forEach((e=>{n=n.concat(Array.from(e.items.values()).map((e=>e.id))),e.items=new Map})),e.groups=e.groups.filter((e=>e.id!==t)))}JQ(e.groups,n)}),void 0,"removeGroupById")},findGroupIdByLabel:e=>{const t=r().groups.find((t=>t.label===e.label));return t?t.id:void 0},removeItemsById:e=>{const{groupId:t,categoryId:r,itemIds:o}=e;n((e=>{const n=YQ({groupId:t||gY.id,categoryId:r,groups:e.groups});if(!n||!n.category)return;const{group:i,category:a}=n;o.forEach((e=>{a.items.delete(YW.itemIdToString(e))})),KQ(e.groups,i),JQ(e.groups,o)}),void 0,"removeItemsById")},removeAllItemsById:e=>function(e,t){const{itemIds:n}=t;e((e=>{e.groups.forEach((e=>{e.categories.forEach((e=>{n.forEach((t=>{e.items.delete(YW.itemIdToString(t))}))}))}));for(let t=e.groups.length-1;t>=0;t--)KQ(e.groups,e.groups[t]);JQ(e.groups,n)}),void 0,"removeAllItemsById")}(n,e),setVisibilityById:e=>{const{groupId:n,isVisible:o,categoryId:i}=e,a=r();let s=[];const l=YQ({groupId:n,categoryId:i,groups:a.groups});if(l){const{group:e,category:t}=l;t?s=Array.from(t.items.values()).map((e=>e.id)):e.categories.forEach((e=>{s=s.concat(Array.from(e.items.values()).map((e=>e.id)))}))}if(s.length>0){const e=t.uniqBy(s,YW.itemIdToString);LQ().setVisibilityByItemIds({itemIds:e,isVisible:o})}},resetState:()=>{n((e=>{e.groups=[t.cloneDeep(gY)],LQ().resetState()}),void 0,"resetState")}}))),mY.persistOptions)),pY));function xY(){return yY.getState()}mY.loadAndPopulateStore(xY());const bY=Object.freeze({removeItemsByListId:e=>{IY().removeItemsById({groupId:DQ,categoryId:e.listId,itemIds:e.itemIds})},remove:Object.freeze({itemsById:IY().removeItemsById,allItemsById:e=>{const{itemIds:t}=e,r=function(e){const{itemIds:t,groups:n}=e;return n.forEach((e=>{e.categories.forEach((e=>{t.some((t=>e.items.has(YW.itemIdToString(t))))}))})),n.map((e=>({id:e.id,label:e.label,subLabel:e.subLabel})))}({itemIds:t,groups:IY().groups});var o;r.length<=1?IY().removeAllItemsById(e):(o={itemIds:t,affectedGroups:r,onDialogConfirm:()=>{IY().removeAllItemsById({itemIds:t})}},n.eventHub.emit(n.EchoEvents.OpenRemoveSelectionItemsConfirmDialog,o))},listById:IY().removeGroupById}),add:Object.freeze({tags:IY().addTags,workOrders:IY().addWorkOrders,addItems:IY().addItems}),search:{isItemIdInTheSelection:e=>QQ({itemId:e.itemId,groups:IY().groups}),findGroupByLabel:IY().findGroupIdByLabel},visibility:Object.freeze({setByItemIds:CY().setVisibilityByItemIds,setById:IY().setVisibilityById}),errorStatus:Object.freeze({setByItemIds:CY().setErrorStatusForItems,removeByItemIds:CY().removeErrorStatusForItems,reset:CY().resetItemErrorStatuses}),utils:Object.freeze({numberOfItemsInSelection:e=>(e||IY().groups).reduce(((e,t)=>e+t.categories.reduce(((e,t)=>e+t.items.size),0)),0)}),clearSelection:IY().resetState,createGroup:IY().createGroup});function CY(){return LQ()}function IY(){return xY()}function EY(){const e=MQ((e=>e.lists));return r.useMemo((()=>Object.values(e).map((e=>({label:e.label,type:e.type,items:[...e.items.values()]})))),[e])}const _Y=({open:e,onOKButtonClicked:t})=>c.jsx(i.DialogGenerator,{isDismissable:!0,dialogStyle:{width:"300px"},onClose:t,open:e,title:"Cannot open selection in Echo 3D",actionButtons:[{color:"primary",title:"OK",onClick:()=>{t&&t()}}],children:c.jsx(d.Typography,{variant:"body_short",children:"The items you have selected are not available in the 3D model."})});var AY=_o,wY=P,SY=G,kY=re,jY=le,NY=ee,TY=Ts,PY=as,OY=Ue,MY=hs,LY=Nx,BY=_t("replace"),DY=TypeError,RY=SY("".indexOf);SY("".replace);var zY=SY("".slice),FY=Math.max;AY({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,o,i,a,s,l,c,u,d=kY(this),m=0,p="";if(!NY(e)){if(TY(e)&&(n=PY(kY(MY(e))),!~RY(n,"g")))throw new DY("`.replaceAll` does not allow non-global regexes");if(r=OY(e,BY))return wY(r,e,d,t)}for(o=PY(d),i=PY(e),(a=jY(t))||(t=PY(t)),s=i.length,l=FY(1,s),c=RY(o,i);-1!==c;)u=a?PY(t(i,c,o)):LY(i,o,c,[],void 0,t),p+=zY(o,m,c)+u,m=c+s,c=c+l>o.length?-1:RY(o,i,c+l);return m<o.length&&(p+=zY(o,m)),p}});var HY={plantNoRadioButtons:"plantNoSelectionDialog-module_plantNoRadioButtons__McUjJ"};Ad(".plantNoSelectionDialog-module_plantNoRadioButtons__McUjJ{display:flex;flex-direction:column}");const qY=({getItems:t,onPlantSelectionConfirmed:n,onCancelButtonClicked:o,onSetIsWarningDialogOpen:a,open:s})=>{const l=e.isMobileDevice(),[u,m]=r.useState("none"),p="loading"===u,[h,f]=r.useState(void 0),[g,v]=r.useState([]);return r.useEffect((()=>{s&&function(){Ym(this,void 0,void 0,(function*(){try{m("loading");const e=function(e){const t={};return e.items.forEach((e=>{const n=e.pdmsPlantCode,r=e.plantNo,o=`${n}-${r}`;t[o]?t[o].count++:t[o]={instCode:e.instCode,pdmsPlantCode:n,sapId:r,count:1}})),Object.values(t)}({items:yield t()});0===e.length?a():1===e.length?n(UY(e[0])):v(e),m("loaded")}catch(e){lN({message:"Error getting items to open in 3d"}),hz(e),m("error"),o()}}))}()}),[s]),p?function(e,t){return c.jsx(i.DialogGenerator,{title:"Loading",dialogStyle:{width:"320px"},actionButtons:[{onClick:e,title:"Close",variant:"outlined"}],open:t,children:c.jsx("div",{className:HY.spinnerContainer,children:c.jsx(xz,{})})})}(o,s):c.jsxs(i.DialogGenerator,{title:"Select plant to open in 3D",dialogStyle:{width:l?"320px":"400px"},actionButtons:[{onClick:o,title:"Cancel",variant:"outlined"},{onClick:()=>h&&n(h),title:"Select plant",disabled:!h}],open:s,children:[c.jsx(d.Typography,{children:"You have selected items on different plants."}),c.jsx(d.Typography,{children:"Please select the plant you want to open in 3D:"}),c.jsx("div",{className:HY.plantNoRadioButtons,children:g.map((e=>c.jsx(d.Radio,{label:`${e.sapId} ${e.pdmsPlantCode||""} (${e.count})`.replaceAll(" "," "),enterKeyHint:"enter",checked:(null==h?void 0:h.pdmsPlantCode)===e.pdmsPlantCode&&(null==h?void 0:h.sapId)===e.sapId,onChange:()=>{(e=>{e&&f(UY(e))})(e)}},JSON.stringify(e))))})]})};function UY(e){return{instCode:e.instCode,pdmsPlantCode:e.pdmsPlantCode,sapId:e.sapId}}const GY=({getItems:e,open:o,onPlantSelectionCompleted:i,onCancelButtonClicked:a,plantNotAvailableDialogProps:s,disableDefault3dOpener:l=!1})=>{const[u,d]=r.useState(!1),p=n.useInternalLink();return c.jsx(c.Fragment,{children:m.createPortal(c.jsxs(c.Fragment,{children:[" ",c.jsx(_Y,{open:(null==s?void 0:s.open)||u,onOKButtonClicked:()=>{null==s||s.onCloseDialogClicked(),d(!1),a()}}),c.jsx(qY,{open:o&&!u,getItems:e,onPlantSelectionConfirmed:e=>{i({selectedPlant:e}),!l&&function(e){Ym(this,void 0,void 0,(function*(){if(l)return;let r=`${exports.InternalApplicationLinks.Echo3dWeb}?instCode=${e.instCode}`;e.pdmsPlantCode&&(r+=`&plantCode=${e.pdmsPlantCode}`),p(r),n.eventHub.emit(n.EchoEvents.PlantSelectedToBeOpenedIn3D,t.cloneDeep(e))}))}(e)},onCancelButtonClicked:a,onSetIsWarningDialogOpen:()=>d(!0)})]}),Jp.domSelector,Jp.portalId)})};var WY="OpenGlobalSelectionIn3DButton-module_openIn3dButton__80usR";Ad(".OpenGlobalSelectionIn3DButton-module_openIn3dButton__80usR{display:flex;font-weight:500!important}");var QY="selectionActionBar-module_container__YXhLa",YY="selectionActionBar-module_flexEndContainer__IPR4n",VY="selectionActionBar-module_selectedContainer__Mey7T",ZY="selectionActionBar-module_buttonContainer__rVTs6",KY="selectionActionBar-module_iconButton__e7ZQz",JY="selectionActionBar-module_iconMarginLeft__-vv3Y",XY="selectionActionBar-module_iconMarginRight__uM4-S";Ad(".selectionActionBar-module_container__YXhLa{align-items:center;background-color:var(--equiGray5);border-top:1px solid var(--default);display:flex;height:min-content;justify-content:space-between;max-height:40px}.selectionActionBar-module_flexEndContainer__IPR4n{align-items:center;display:flex;justify-content:flex-end;width:100%}.selectionActionBar-module_selectedContainer__Mey7T{align-items:center;display:flex;margin-left:var(--medium)}.selectionActionBar-module_buttonContainer__rVTs6{align-items:center;display:flex;flex-direction:row}.selectionActionBar-module_iconButton__e7ZQz{align-items:center;display:flex}.selectionActionBar-module_iconButton__e7ZQz>span{grid-gap:0!important}.selectionActionBar-module_iconButton__e7ZQz:hover{border-radius:0!important}.selectionActionBar-module_iconMarginLeft__-vv3Y{margin-left:var(--xSmall)}.selectionActionBar-module_iconMarginRight__uM4-S{margin-right:var(--xSmall)}");var $Y=G,eV=Set.prototype,tV={Set:Set,add:$Y(eV.add),has:$Y(eV.has),remove:$Y(eV.delete),proto:eV},nV=tV.has,rV=function(e){return nV(e),e},oV=P,iV=function(e,t,n){for(var r,o,i=n?e:e.iterator,a=e.next;!(r=oV(a,i)).done;)if(void 0!==(o=t(r.value)))return o},aV=G,sV=iV,lV=tV.Set,cV=tV.proto,uV=aV(cV.forEach),dV=aV(cV.keys),mV=dV(new lV).next,pV=function(e,t,n){return n?sV({iterator:dV(e),next:mV},t):uV(e,t)},hV=pV,fV=tV.Set,gV=tV.add,vV=function(e){var t=new fV;return hV(e,(function(e){gV(t,e)})),t},yV=Gd(tV.proto,"size","get")||function(e){return e.size},xV=Fe,bV=tn,CV=P,IV=Ar,EV=ga,_V="Invalid size",AV=RangeError,wV=TypeError,SV=Math.max,kV=function(e,t){this.set=e,this.size=SV(t,0),this.has=xV(e.has),this.keys=xV(e.keys)};kV.prototype={getIterator:function(){return EV(bV(CV(this.keys,this.set)))},includes:function(e){return CV(this.has,this.set,e)}};var jV=function(e){bV(e);var t=+e.size;if(t!=t)throw new wV(_V);var n=IV(t);if(n<0)throw new AV(_V);return new kV(e,n)},NV=rV,TV=vV,PV=yV,OV=jV,MV=pV,LV=iV,BV=tV.has,DV=tV.remove,RV=pe,zV=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},FV=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}},HV=function(e,t){var n=RV("Set");try{(new n)[e](zV(0));try{return(new n)[e](zV(-1)),!1}catch(o){if(!t)return!0;try{return(new n)[e](FV(-1/0)),!1}catch(o){var r=new n;return r.add(1),r.add(2),t(r[e](FV(1/0)))}}}catch(e){return!1}},qV=function(e){var t=NV(this),n=OV(e),r=TV(t);return PV(t)<=n.size?MV(t,(function(e){n.includes(e)&&DV(r,e)})):LV(n.getIterator(),(function(e){BV(t,e)&&DV(r,e)})),r};_o({target:"Set",proto:!0,real:!0,forced:!HV("difference",(function(e){return 0===e.size}))},{difference:qV});var UV=rV,GV=yV,WV=jV,QV=pV,YV=iV,VV=tV.Set,ZV=tV.add,KV=tV.has,JV=S,XV=function(e){var t=UV(this),n=WV(e),r=new VV;return GV(t)>n.size?YV(n.getIterator(),(function(e){KV(t,e)&&ZV(r,e)})):QV(t,(function(e){n.includes(e)&&ZV(r,e)})),r};_o({target:"Set",proto:!0,real:!0,forced:!HV("intersection",(function(e){return 2===e.size&&e.has(1)&&e.has(2)}))||JV((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:XV});var $V=rV,eZ=tV.has,tZ=yV,nZ=jV,rZ=pV,oZ=iV,iZ=Ea,aZ=function(e){var t=$V(this),n=nZ(e);if(tZ(t)<=n.size)return!1!==rZ(t,(function(e){if(n.includes(e))return!1}),!0);var r=n.getIterator();return!1!==oZ(r,(function(e){if(eZ(t,e))return iZ(r,"normal",!1)}))};_o({target:"Set",proto:!0,real:!0,forced:!HV("isDisjointFrom",(function(e){return!e}))},{isDisjointFrom:aZ});var sZ=rV,lZ=yV,cZ=pV,uZ=jV,dZ=function(e){var t=sZ(this),n=uZ(e);return!(lZ(t)>n.size)&&!1!==cZ(t,(function(e){if(!n.includes(e))return!1}),!0)};_o({target:"Set",proto:!0,real:!0,forced:!HV("isSubsetOf",(function(e){return e}))},{isSubsetOf:dZ});var mZ=rV,pZ=tV.has,hZ=yV,fZ=jV,gZ=iV,vZ=Ea,yZ=function(e){var t=mZ(this),n=fZ(e);if(hZ(t)<n.size)return!1;var r=n.getIterator();return!1!==gZ(r,(function(e){if(!pZ(t,e))return vZ(r,"normal",!1)}))};_o({target:"Set",proto:!0,real:!0,forced:!HV("isSupersetOf",(function(e){return!e}))},{isSupersetOf:yZ});var xZ=rV,bZ=vV,CZ=jV,IZ=iV,EZ=tV.add,_Z=tV.has,AZ=tV.remove,wZ=function(e){var t=xZ(this),n=CZ(e).getIterator(),r=bZ(t);return IZ(n,(function(e){_Z(t,e)?AZ(r,e):EZ(r,e)})),r};_o({target:"Set",proto:!0,real:!0,forced:!HV("symmetricDifference")},{symmetricDifference:wZ});var SZ=rV,kZ=tV.add,jZ=vV,NZ=jV,TZ=iV,PZ=function(e){var t=SZ(this),n=NZ(e).getIterator(),r=jZ(t);return TZ(n,(function(e){kZ(r,e)})),r};_o({target:"Set",proto:!0,real:!0,forced:!HV("union")},{union:PZ});const OZ=e=>e>1.5?e/2:e;function MZ(e){const t=OZ(e.currentPageScale),{position:n,pdfRotation:r,isMobileDevice:o,pdfZoom:i,hasPointer:a}=e;return(e=>{const t=1/Math.max(e.pdfZoom,1)*e.iconScale,n=44*t,r=n/2,o=e.hasPointer?n:r,{position:i,pdfRotation:a}=e;return e.isMobileDevice?`translate(${i.x-o}px, ${i.y-o}px) rotate(${a}deg) scale(${t})`:`translate3d(${i.x-o}px, ${i.y-o}px, 1px) rotate(${a}deg) scale(${t})`})({position:n,pdfRotation:r,iconScale:t,hasPointer:a,isMobileDevice:o,pdfZoom:i})}var LZ="positionalItem-module_wrapper__PkRaU";Ad(".positionalItem-module_wrapper__PkRaU{--transform:translateZ(0);position:absolute;transform:var(--transform);transform-origin:left top;z-index:var(--echo-framework-z-level-pdf-marker-icon)}");const BZ=({position:e,isOpen:t,children:n})=>{const r=t?101:100;return c.jsx("div",{className:LZ,style:{"--transform":e,"--z-index":r},children:n})};var DZ=Bc,RZ=Fi;_o({target:"Object",stat:!0},{fromEntries:function(e){var t={};return DZ(e,(function(e,n){RZ(t,e,n)}),{AS_ENTRIES:!0}),t}});const zZ={name:"legend-store",storage:pq((()=>localStorage)),version:3,serialize:e=>{const t=Object.assign(Object.assign({},e),{legends:Object.entries(e.state.legends)});return JSON.stringify(t)},deserialize:e=>{const t=JSON.parse(e);return Object.assign(Object.assign({},t),{legends:Object.fromEntries(t.legends)})},migrate:(e,t)=>Ym(void 0,void 0,void 0,(function*(){const n={updateLegend:()=>{},setHiddenMarker:()=>{},setHiddenBadge:()=>{},getLegendById:()=>{}};if(t<3)return Object.assign(Object.assign({},{legends:{}}),n);const r=e;return Object.assign(Object.assign({},r),n)}))},FZ={enabled:"test"!==process.env.NODE_ENV,store:"legendStore",name:"LegendStore"},HZ=a.create()(uq(mq(fq(gq(((e,t)=>Object.assign(Object.assign({},{legends:{}}),{updateLegend:(t,n)=>e((e=>{e.legends[t]?Object.assign(e.legends[t],n):e.legends[t]=Object.assign(Object.assign({},{legendId:t,isEnabled:!1,isLoading:!1,hiddenMarkers:[],hiddenBadges:[],selectedMarkerOption:"",selectedBadgeOption:"",isExpanded:!1}),n)})),setHiddenMarker:t=>e((e=>{const{legendId:n,marker:r,isHidden:o}=t,i=e.legends[n];i&&(o?i.hiddenMarkers.push(r):i.hiddenMarkers=i.hiddenMarkers.filter((e=>e!==r)))})),setHiddenBadge:t=>e((e=>{const{legendId:n,badge:r,isHidden:o}=t,i=e.legends[n];i&&(o?i.hiddenBadges.push(r):i.hiddenBadges=i.hiddenBadges.filter((e=>e!==r)))})),getLegendById:e=>t().legends[e]}))),zZ)),FZ));function qZ(){return HZ.getState()}const UZ=[];function GZ(e,t){var n,r,o,i,a,s;UZ.push(e);const l=qZ().getLegendById(e.legendId),c=null!==(r=null!==(n=null==l?void 0:l.selectedMarkerOption)&&void 0!==n?n:t.selectedMarkerOption)&&void 0!==r?r:null===(o=e.markerOptions)||void 0===o?void 0:o[0],u=null!==(a=null!==(i=null==l?void 0:l.selectedBadgeOption)&&void 0!==i?i:t.selectedBadgeOption)&&void 0!==a?a:null===(s=e.badgeOptions)||void 0===s?void 0:s[0];qZ().updateLegend(e.legendId,Object.assign(Object.assign({},t),{selectedMarkerOption:c,selectedBadgeOption:u}))}function WZ(e){return UZ.find((t=>t.legendId===e))||QZ}const QZ={legendId:"NullObject - no strategy found",useMarkers:()=>[],popoverContent:e=>r.createElement("div",{},"No strategy found for "+JSON.stringify(e)),customLegendComponent:()=>r.createElement("div",{},"Null object - No strategy found")},YZ={enabled:"test"!==process.env.NODE_ENV,store:"legendVisibleDataStore",name:"LegendVisibleDataStore"};const VZ=a.create()(uq(mq(gq(((e,n)=>Object.assign(Object.assign({},{data:{Tag:{},Equipment:{}}}),{addData:(n,r,o)=>{e((e=>({data:Object.assign(Object.assign({},e.data),{[n]:Object.assign(Object.assign({},e.data[n]),{[r]:t.uniqBy([...e.data[n][r]||[],...o.map((e=>YW.mapToId(e)))],(e=>JSON.stringify(e)))})})})),void 0,"addData")},removeData:t=>{e((e=>{for(const n of Object.keys(e.data)){delete e.data[n][t]}}),void 0,"removeData")},getData:e=>{const t=n().data[e];return Object.values(t).flat()},useDataByType:e=>{const t=n().data[e];return Object.values(t).flat()},getAll:()=>{const e=[];for(const t of Object.keys(n().data)){const r=n().data[t];e.push(...Object.values(r).flat())}return e}})))),YZ));function ZZ(){return VZ.getState()}const KZ={getBy:e=>ZZ().getData(e),getAll:()=>ZZ().getAll(),useByType:e=>VZ((t=>t.useDataByType(e))),useAddWithAutoRemove:function(){const e=r.useRef(null);return r.useEffect((()=>()=>{e.current&&ZZ().removeData(e.current)}),[]),function(t){const{type:n,key:r,items:o}=t;e.current=r,t.removePreviousItems&&ZZ().removeData(r),ZZ().addData(n,r,o)}}};function JZ(e){return e}const XZ={equipmentLegendId:"Equipment",tagLegendId:"Tag",workOrderLegendId:"WorkOrder"},$Z=Object.freeze({strategy:{inject:GZ,get:WZ},storeSnapshot:qZ,legend:{createId:JZ,knownLegendIds:XZ,useBy:function(e){return HZ((t=>t.legends[e]))},useAll:function(){return HZ((e=>Object.values(e.legends)))}},visibleData:KZ});function eK(e,t){return t.includes(e.getTitle()||e.getColor())}function tK(e,t){return t.includes(e.getTitle())||t.includes(e.getColor())}function nK(e){const{legendId:n}=e,r=$Z.legend.useBy(n),o=VZ((e=>t.uniqBy(e.getAll(),(e=>JSON.stringify(e))))),i=WZ(n).useMarkers(o);return r?t.uniqBy(i,(e=>function(e){return e.getTitle()+e.getColor()}(e))):[]}const rK=r.memo((({legendId:t,itemId:r,hasPointer:o,isActive:a,onClick:s})=>{var l;const u=function(e){const{legendId:t,itemId:r}=e,o=$Z.legend.useBy(t),i=WZ(t).useMarkers([r]);if(n.EchoEnv.isDevelopment()&&console.log("useLegendMarker - make sure this does not re-render unnecessarily, should only re-render when legend change, not when pdf pan/zooms",t,JSON.stringify(YW.mapToId(r))),(null==o?void 0:o.isEnabled)&&0!==i.length&&(i.length>1&&console.warn("Legend marker should only return one marker, we don't support multiple yet",t,r),!eK(i[0],o.hiddenMarkers)))return i[0]}({legendId:t,itemId:r}),m=$Z.legend.useBy(t);if(!u)return null;const p=o?i.ItemMarkerPosition.BottomRight:void 0,h=function(t,n){return t.badges.filter((e=>!tK(e,n))).map((t=>{const n=t.getColor();return{title:t.getTitle(),color:n,textColor:e.Color.getContrastColorForBackgroundColor(n)}}))}(u,null!==(l=null==m?void 0:m.hiddenBadges)&&void 0!==l?l:[]),f=e.colorHelper.getContrastColorForBackgroundColor(u.getColor());return c.jsx(i.ItemMarker,{isActive:a,onClick:()=>{s()},icon:c.jsx(d.Icon,{name:u.getIcon()}),backgroundColor:u.getColor(),hasPointer:o,pointerPosition:p,chips:h,maxNumberOfChips:2,iconColor:f})})),oK=r.memo(rK,((e,t)=>e.legendId===t.legendId&&e.itemId===t.itemId&&e.hasPointer===t.hasPointer&&e.isActive===t.isActive));const iK=({itemId:e,hasPointer:t,setOpenItem:n,popoverOffset:r,activeItem:o})=>{const a=$Z.legend.useAll(),s=t?i.ItemMarkerPosition.BottomRight:i.ItemMarkerPosition.Center;return c.jsx(i.MultipleItemMarkers,{pointerPosition:s,children:a.map(((t,i)=>t.isEnabled?c.jsx(oK,{isActive:JSON.stringify(null==o?void 0:o.itemId)===JSON.stringify(e)&&(null==o?void 0:o.legendId)===t.legendId,hasPointer:!1,legendId:t.legendId,itemId:e,onClick:()=>{const o=$Z.strategy.get(t.legendId);if(o.popoverContent){const a=o.popoverContent(e);n({elements:(i=a,sK(i)?i:[i]),popoverOffset:r,activeItem:{itemId:e,legendId:t.legendId}})}var i}},i.toString()):null))})},aK=r.memo(iK);function sK(e){return Array.isArray(e)}var lK="legendMarkersRendererWithPopover-module_popoverWrapper__VbLyl";Ad(".legendMarkersRendererWithPopover-module_popoverWrapper__VbLyl{position:absolute;z-index:var(--echo-framework-z-level-pdf-popover)}");const cK=({positionItems:e})=>{const[t,n]=r.useState(void 0),o=null==t?void 0:t.elements;return c.jsxs(c.Fragment,{children:[e.map(((e,r)=>c.jsx(BZ,{position:e.positionString,isOpen:!1,children:c.jsx(aK,{itemId:e.itemId,hasPointer:e.hasPointer,setOpenItem:n,popoverOffset:e.popoverOffset,activeItem:null==t?void 0:t.activeItem})},r))),o&&o.length>0&&c.jsx("div",{className:lK,style:{transform:t.popoverOffset},children:c.jsx(i.ItemMarkerPopover,{title:t.activeItem.legendId,items:o,isOpen:!!o,handleClose:()=>{n(void 0)}})})]})},uK="Work Orders with Custom UI",dK=()=>{var e;const t=nK({legendId:uK});return c.jsxs(i.LegendSelectorAccordion,{title:"This is Work Orders with custom UI",visual:c.jsx(d.Icon,{name:"workorders_main_group",color:i.themeConst.white}),setIsExpanded:e=>qZ().updateLegend(uK,{isExpanded:e}),isExpanded:null===(e=qZ().getLegendById(uK))||void 0===e?void 0:e.isExpanded,children:[t.map((e=>c.jsx("div",{style:{color:"white"},children:e.getTitle()},e.getTitle()))),c.jsx("div",{style:{color:"white"},children:"Custom UI not rendered by basicLegendRenderer"})]})};(null===n.EchoEnv||void 0===n.EchoEnv?void 0:n.EchoEnv.isDevelopment())&&GZ({legendId:uK,useMarkers:e=>e.map((e=>({getTitle:()=>JSON.stringify(e),getIcon:()=>"workorders_main_group",getColor:()=>"purple",badges:[]}))),popoverContent:e=>c.jsx(mK,{itemId:e}),customLegendComponent:()=>c.jsx(dK,{})},{isEnabled:!0});const mK=({itemId:e})=>{const t="workOrderId"in e?e.workOrderId:JSON.stringify(e);return c.jsxs("div",{style:{position:"relative",backgroundColor:"#fff",border:"1px solid #ddd",borderRadius:"8px",padding:"16px",boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.1)",zIndex:1e3,maxWidth:"300px"},children:[c.jsxs("h3",{style:{margin:"0 0 8px",fontSize:"18px",color:"#333"},children:["WorkOrderId ",t]}),c.jsxs("p",{style:{margin:"0 0 12px",fontSize:"14px",color:"#555"},children:["This is the popover content for TAG ",t,"."]}),c.jsx("button",{onClick:()=>alert(`Action for ${t}`),style:{backgroundColor:"#007bff",color:"#fff",border:"none",borderRadius:"4px",padding:"8px 12px",cursor:"pointer",fontSize:"14px"},children:"Perform Action"})]})},pK=(e,t)=>e.map((e=>({legendStatus:e.getTitle(),backgroundColor:e.getColor(),onClick:n=>function(e,t,n){qZ().setHiddenMarker({legendId:n,marker:e.getTitle()||e.getColor(),isHidden:t})}(e,n,t.legendId),disabled:eK(e,t.hiddenMarkers)}))),hK=(e,t)=>e.map((e=>({legendStatus:e.getTitle(),backgroundColor:e.getColor(),onClick:n=>{!function(e,t,n){qZ().setHiddenBadge({legendId:n,badge:e.getTitle()||e.getColor(),isHidden:t})}(e,n,t.legendId)},disabled:tK(e,t.hiddenBadges)})));var fK="basicLegendRenderer-module_markerAndChipSelector__H1x5h";Ad(".basicLegendRenderer-module_markerAndChipSelector__H1x5h{display:flex;flex-direction:column;gap:var(--small)}");const gK=e=>{var n,o,a,s,l,u,m,p;const h=$Z.legend.useBy(e.legendId),f=nK({legendId:null!==(n=null==h?void 0:h.legendId)&&void 0!==n?n:""}),g=function(e){const n=$Z.legend.useBy(e),r=VZ((e=>t.uniqBy(e.getAll(),(e=>JSON.stringify(e))))),o=WZ(e).useMarkers(r).flatMap((e=>e.badges));return n?t.uniqBy(o,(e=>e.getTitle()+e.getColor())):[]}(null!==(o=null==h?void 0:h.legendId)&&void 0!==o?o:""),v=r.useMemo((()=>WZ(e.legendId)),[e.legendId]);if(!h)return null;const y=pK(f,h),x=hK(g,h);return c.jsx(i.LegendSelectorAccordion,{title:v.legendId,isExpanded:e.isExpanded,setIsExpanded:e=>qZ().updateLegend(h.legendId,{isExpanded:e}),visual:c.jsx(d.Icon,{name:"workorders_main_group",color:i.themeConst.white}),children:(null==h?void 0:h.isLoading)?c.jsx(xz,{}):c.jsxs("div",{className:fK,children:[null!==(s=null===(a=v.markerOptions)||void 0===a?void 0:a.length)&&void 0!==s&&s&&c.jsx(i.LegendSelector,{options:null!==(l=v.markerOptions)&&void 0!==l?l:[],selectedOption:h.selectedMarkerOption||"Marker options",onOptionClick:e=>{return t=e,void qZ().updateLegend(null==h?void 0:h.legendId,{selectedMarkerOption:t});var t},legends:y,visual:c.jsx(d.Icon,{name:"marker_fill",color:i.themeConst.white,size:24}),showLegendToggle:!0}),null!==(m=null===(u=v.badgeOptions)||void 0===u?void 0:u.length)&&void 0!==m&&m&&c.jsx(i.LegendSelector,{options:null!==(p=v.badgeOptions)&&void 0!==p?p:[],selectedOption:h.selectedBadgeOption||"Badge options",onOptionClick:e=>{return t=e,void qZ().updateLegend(null==h?void 0:h.legendId,{selectedBadgeOption:t});var t},legends:x,visual:c.jsx(d.Icon,{name:"badges",color:i.themeConst.white,size:24}),showLegendToggle:!0})]})})},vK=r.memo(gK);var yK="legendList-module_legendContainer__H7sMi",xK="legendList-module_sideSheetIsOpen__YvGMS";Ad(".legendList-module_legendContainer__H7sMi{bottom:4rem;display:flex;flex-direction:column;gap:var(--small);left:var(--medium);position:absolute;transition-duration:.3s;transition-timing-function:ease-in-out;width:400px}@media screen and (max-width:640px){.legendList-module_legendContainer__H7sMi{bottom:calc(53px + var(--small));right:calc(48px + var(--large));width:auto}}@media screen and (max-width:1024px){.legendList-module_legendContainer__H7sMi{bottom:calc(53px + var(--small));left:var(--medium)}}.legendList-module_sideSheetIsOpen__YvGMS{bottom:var(--medium);left:calc(550px + var(--medium))}");let bK;function CK(){return Ym(this,void 0,void 0,(function*(){const e=VZ.getState().data;console.log("----- fetchOnDataChanged done",e)}))}function IK(){return Ym(this,void 0,void 0,(function*(){var e;const t=`${n.baseApiUrl}/plants`;return null!==(e=yield n.request({url:t}))&&void 0!==e?e:[]}))}const EK={isOpen:!1,userSettings:{isTagsVisible:!0,isWorkOrdersVisible:!1,isEquipmentsVisible:!1,isIocAnnotationsVisible:!1}},_K={name:"data-layer-panel-storage",storage:pq((()=>localStorage)),partialize:e=>({userSettings:e.userSettings})},AK={enabled:"test"!==process.env.NODE_ENV,store:"dataLayersPanel",name:"DataLayersPanel"},wK=a.create()(uq(mq(fq(gq((e=>Object.assign(Object.assign({},EK),{togglePanel:()=>e((e=>{e.isOpen=!e.isOpen}),void 0,"togglePanel"),toggleWorkOrders:()=>e((e=>{kK(e,"isWorkOrdersVisible"),SK(e.userSettings)}),void 0,"toggleWorkOrders"),toggleEquipments:()=>e((e=>{kK(e,"isEquipmentsVisible"),SK(e.userSettings)}),void 0,"toggleEquipments"),toggleTags:()=>e((e=>{kK(e,"isTagsVisible"),SK(e.userSettings)}),void 0,"toggleTags"),toggleIocAnnotations:()=>e((e=>{kK(e,"isIocAnnotationsVisible"),SK(e.userSettings)}),void 0,"toggleIocAnnotations")}))),Object.assign(Object.assign({},_K),{version:1,migrate:(e,t)=>{const n=e;return 0===t?Object.assign(Object.assign({},n),{userSettings:Object.assign(Object.assign({},n.userSettings),{isIocAnnotationsVisible:n.userSettings.isAnnotationsVisible,isAnnotationsVisible:void 0})}):n}}))),AK));function SK(e){Zp.trackEventBy("DataLayer","VisibilityChanged",Object.assign({},e))}const kK=(e,t)=>{n.EchoEnv.isDevelopment()?((e,t)=>{e.userSettings[t]=!e.userSettings[t]})(e,t):e.userSettings[t]?e.userSettings[t]=!1:Object.keys(EK.userSettings).forEach((n=>{const r=n;e.userSettings[r]=r===t}))};var jK;exports.searchItemDetailsType=void 0,(jK=exports.searchItemDetailsType||(exports.searchItemDetailsType={})).Tag="Tag",jK.Document="Document",jK.Punch="Punch",jK.Checklist="Checklist",jK.CommPk="CommPk",jK.McPk="McPk",jK.Notification="Notification",jK.WorkOrder="WorkOrder",jK.MeasuringPoint="MeasuringPoint",jK.Equipment="Equipment",jK.IocAnnotation="IocAnnotation";function NK(){return Ym(this,void 0,void 0,(function*(){const t=yield IK(),r=n.getPlants();t&&t.length>0&&((t,n)=>!n||0===n.length||!e.Utils.arraysIsEqual(n,t))(t,r)&&n.setPlantsData({plants:t})}))}const TK=CC.registerComponent,PK=Object.freeze({Utils:Object.freeze({Navigation:Object.freeze({goToExternalLink:$p}),Color:Object.freeze({getLegendStatusColor:Id})}),Hooks:Object.freeze(Object.assign(Object.assign({},xC),yC)),EchopediaComponentLibrary:Object.freeze({getTagItem:CC.getTagItem,getTagListItem:CC.getTagListItem}),APIs:Object.freeze({getPlantsInfo:Mp,getTagDetails:fC,getTemporarilyEchoHubListFor3D:xx,createTemporarilyEchoHubListFor3D:bx})});exports.ALL_PROJECTS=Vq,exports.AppLinks=wC,exports.ContextualAppLinks=HM,exports.CorePanelLeft=Rq,exports.CorePanelRight=Gq,exports.EchoBarComponent=NC,exports.EchoContent=({children:e,Legend:t,isOnboardingCompleted:r})=>c.jsxs(n.ModuleContextProvider,{children:[r&&c.jsx(Rq,{}),c.jsx(Gq,{}),e,r&&t&&c.jsx(t,{})]}),exports.EchoEventHandler=({children:e})=>{const t=o.useHistory(),i=QU(YU,800);return r.useEffect((()=>{const e=s.eventHub.subscribe(n.EchoEvents.PlantChanged,(e=>{((e,t,r)=>{Ym(void 0,void 0,void 0,(function*(){n.setSelectedPlant(Object.assign(Object.assign({},e),{plantName:e.description})),!r&&t.push("")}))})(e.selectedPlant,t,e.stayOnPath)}));return()=>{e()}})),r.useEffect((()=>(document.addEventListener("contextmenu",YU),()=>{document.removeEventListener("contextmenu",YU)})),[]),r.useEffect((()=>{if(!t)return void console.error("No react history found!",t);const e=t.listen((e=>{const{pathname:t}=e,r=vU(t);n.setActiveModulePanels(r)}));return()=>{e()}}),[t]),c.jsx("div",Object.assign({className:VU},i,{children:e}))},exports.EchoLogo=fM,exports.EchoRoute=xU,exports.EchoRouter=({children:e})=>c.jsx(o.Router,{history:g.createBrowserHistory(),children:e}),exports.EchoRoutes=({homeComponent:e,routeErrorHandler:t})=>{const r=n.useRoutes();return c.jsxs(c.Fragment,{children:[e?c.jsx(xU,{path:"/",component:e,layoutKey:"main"}):null,r.map((({path:e,component:n,layoutKey:r,key:o,exactPath:i})=>c.jsx(xU,{path:e,component:n,layoutKey:r,errorHandler:t,exactPath:i},o)))]})},exports.EchoToolBar=qC,exports.EquipmentItemHeader=sG,exports.EquipmentItemInfo=dG,exports.EquipmentLinkField=MW,exports.EquipmentListItem=({equipment:e,tagNo:t,plantNo:r})=>{const o=PW(),a=n.useActivePanelState();return c.jsx(i.ListItem,{primary:rb(e.equipmentId),icon:{name:"donut_outlined",color:i.themeConst.white,backgroundColor:"var(--strongGray)"},secondary:e.equipmentDescription,tertiary:c.jsx(d.Typography,{variant:"meta",children:e.modelNo}),as:"div",showChevron:!0,onCardClick:()=>o({equipmentId:e.equipmentId,panelKey:a.activePanel,keepLastNavigationItem:!0,tagNo:t,plantNo:r})})},exports.EquipmentTabs=wW,exports.ErrorBoundary=jM,exports.ExternalLinkButton=dN,exports.ExternalLinkToCommApp=NO,exports.ExternalLinkToConditionAdviser=TO,exports.ExternalLinkToMcApp=PO,exports.ExternalLinkToProCoSys=OO,exports.ExternalLinkToSafeX=$O,exports.ExternalLinkToSap=tM,exports.ExternalLinkToSemiDoc=nM,exports.ExternalLinkToStid=rM,exports.ExternalLinkToTr2000=oM,exports.ExternalLinkToTrendingApp=iM,exports.Footer=({footerType:e})=>{const t=e===exports.FooterType.termOfService;return c.jsxs("footer",{className:`${GM} ${t?YM:""}`,children:[c.jsxs("p",{className:WM,children:["All information is proprietary of Equinor: © ",(new Date).getFullYear()," Equinor ASA"]}),c.jsx("div",{className:QM,children:c.jsx(qM,{})})]})},exports.FormattedLongText=VM,exports.FullScreenChip=KM,exports.FullScreenModeButton=()=>{const{activeAppMenuItem:e,updateActiveAppMenuItem:t}=uC(),r=sb(),{setActivePanel:o,activePanel:a}=n.usePanels(),s=""!==a||""!==e,l=()=>{n.eventHub.emit(n.EchoEvents.FullScreenModeEnabled,{isFullScreenModeEnabled:!r})};return c.jsx(i.Fab.Button,{iconName:r?"fullscreen_exit":"fullscreen",title:r?"Show panels and bars":"Hide panels and bars",active:r,onClick:()=>{s?(o(""),t(""),l()):l()}})},exports.FullScreenModeChip=({className:e})=>{const[t,o]=r.useState(!0),i=sb();return i&&t&&c.jsx("div",{className:`${JM} ${e}`,children:c.jsx(KM,{active:i,onClick:()=>{n.eventHub.emit(n.EchoEvents.FullScreenModeEnabled,{isFullScreenModeEnabled:!i})},onDelete:()=>{o(!1)}})})},exports.InfoLabel=tL,exports.LabelledValueGrid=sL,exports.Layout=pI,exports.LazyLoadedAppWrapper=({children:e,loadingText:t})=>c.jsx(r.Suspense,{fallback:c.jsx(uL,{loadingText:t}),children:e}),exports.LegendList=()=>{const e=$Z.legend.useAll(),t=n.useActivePanelState().isPanelActive;return c.jsx("div",{className:`${yK} ${t&&xK}`,children:e.map((e=>{if(!e.isEnabled)return null;const t=$Z.strategy.get(e.legendId);return t.customLegendComponent?t.customLegendComponent():c.jsx(vK,{legendId:e.legendId,isExpanded:e.isExpanded},e.legendId)}))})},exports.LinkButton=AC,exports.ListItemAdditionalInfoRow=({leftHandInfo:e,rightHandInfo:t})=>c.jsxs("div",{className:dL,children:[c.jsx("div",{className:mL,children:e}),t&&c.jsx("div",{className:mL,children:t})]}),exports.MeasuringPointDetails=bW,exports.MeasuringPointHeader=CW,exports.MeasuringPointItem=ZG,exports.Mediator=({options:e})=>(r.useEffect((()=>{const{connect:t,disconnect:r}=s.startLoadingModules(e),o=(e,t,r)=>{n.initializeModules(r,e,t)};return t(o),()=>r(o)}),[]),null),exports.MultipleMarkersByLegends=aK,exports.OpenGlobalSelectionIn3DButton=({onPlantLoadError:e,disabled:t})=>{const[n,o]=r.useState(!1);return c.jsxs(c.Fragment,{children:[c.jsx(d.Button,{className:WY,color:"primary",onClick:()=>o(!0),disabled:t,children:"Open in 3D"}),m.createPortal(c.jsxs(c.Fragment,{children:[" ",c.jsx(GY,{open:n,getItems:function(){return Ym(this,void 0,void 0,(function*(){try{return yield JW()}catch(t){e({error:s.toError(t),errorMessage:"Failed to open items in 3D"})}return[]}))},onPlantSelectionCompleted:()=>{o(!1)},onCancelButtonClicked:()=>o(!1)})]}),Jp.domSelector,Jp.portalId)]})},exports.OpenItemsIn3dDialog=GY,exports.PageMenu=lB,exports.PanTo3DButton=({item:e})=>{const{panTo3D:t}=(()=>{const e=o.useLocation(),t=e=>Ym(void 0,void 0,void 0,(function*(){return{key:n.EchoEvents.EchoGlobalSelectionGoTo,payload:{id:e.id,type:e.type}}}));return{panTo3D:r=>Ym(void 0,void 0,void 0,(function*(){const o=yield t(r);void 0!==o&&e.pathname===exports.InternalApplicationLinks.Echo3dWeb&&n.eventHub.emit(o.key,o.payload)}))}})();return c.jsx(d.Tooltip,{enterDelay:300,title:"Pan to Item in 3D View",placement:"left",children:c.jsx(d.Button,{variant:"ghost_icon","aria-label":"pan to item",onClick:n=>{n.preventDefault(),n.stopPropagation(),t(e)},disabled:e.metaData.isHiddenByUser,children:c.jsx(d.Icon,{name:"place"})})})},exports.PlantSelector=GL,exports.PositionalItem=BZ,exports.PositionalLegendMarkers=({items:t,pdfRotation:n,currentPageScale:o,pdfZoom:a})=>{const[s,l]=r.useState(0);r.useEffect((()=>{const e=document.getElementById(i.multipleItemMarkersId);if(e){const t=new ResizeObserver((e=>{e.forEach((e=>{l(e.target.clientHeight)}))}));return t.observe(e),l(e.clientHeight),()=>t.disconnect()}}),[]);const u=r.useMemo((()=>t.map((t=>{const r=MZ({position:t.position,pdfRotation:n,currentPageScale:o,isMobileDevice:e.isMobileDevice(),pdfZoom:a,hasPointer:t.hasPointer}),i=function(e){const t=1/Math.max(e.pdfZoom,1)*OZ(e.currentPageScale);return`translate3d(${e.hasPointer?e.position.x+2*t:e.position.x+24*t}px, ${e.hasPointer?e.position.y-e.markerHeight/2*t:e.position.y+e.markerHeight/2*t}px, 1px) rotate(${e.pdfRotation}deg) scale(${t})`}({pdfZoom:a,hasPointer:t.hasPointer,position:t.position,pdfRotation:n,currentPageScale:o,markerHeight:s});return{itemId:t.itemId,positionString:r,hasPointer:t.hasPointer,popoverOffset:i}}))),[t,n,o,a,s]);return c.jsx(cK,{positionItems:u})},exports.Prepview=sq,exports.PrepviewButton=({workOrderId:e,notificationId:t,punchId:r,instCode:o})=>{var i;const a=null!==(i=null!=e?e:t)&&void 0!==i?i:r,s=Cq();return a&&c.jsx(d.Tooltip,{placement:"bottom",title:"Prepview",children:c.jsx(d.Button,{variant:"ghost_icon",onClick:()=>{s({prepviewInput:{notificationId:t,workOrderId:e,punchId:r,instCode:o},panelKey:n.ECHO_CORE_SEARCH,keepLastNavigationItem:!0})},children:c.jsx(d.Icon,{name:"view_array"})})})},exports.ProjectSelector=({variant:e,maxCharacterCount:t,isDisabled:o})=>{const a=n.useSelectedProcosysProject(),{procosysProjectsHasError:s,procosysProjects:l}=n.useProcosysProjectsData(),[u,m]=r.useState([]);r.useEffect((()=>{l.length>0&&m([Vq].concat(l))}),[l]);const p=s?c.jsx(d.Typography,{children:"Could not load projects"}):c.jsxs("div",{className:Yq,children:["Loading projects",c.jsx(d.StarProgress,{size:24,className:Qq})]}),h=e||"default";return 0===u.length?p:c.jsx(i.Dropdown,{showSearch:!0,selected:a,data:u,filterFunc:Wq,openDownWards:!0,placeholder:"Project",setSelected:e=>Ym(void 0,void 0,void 0,(function*(){n.setSelectedProcosysProject(e),n.eventHub.emit(n.EchoEvents.ProcosysProjectChanged,e)})),isDisabled:o||!n.isOnline(),disabledText:"Disabled",maxCharacterCount:t,variant:h,dropdownWidth:"fit-content"})},exports.RealTimePopoverButton=function({tagNo:t,onOpen:n}){const[o,i]=r.useState(!1),[a,s]=r.useState([]),[u]=r.useState((()=>new URLSearchParams(window.location.search).get("instCode")));return e.useEffectAsync((e=>Ym(this,void 0,void 0,(function*(){if(!u)return;const n=yield l.Search.Tags.getTagDetailsAsync(t,u);if(n.value){const t=n.value.additionalFields.filter((e=>"IMS"===e.type));e.aborted||(t.length>0&&i(!0),s(t))}return()=>{e.aborted||(i(!1),s([]))}}))),[t,u]),o&&u?c.jsx(pU,{onOpen:n,children:c.jsx(gU,{imsFields:a,instCode:u})}):null},exports.RemoveSelectionItemsConfirmDialog=()=>{const[t,o]=r.useState(!1),[a,s]=r.useState([]),[l,u]=r.useState([]),p=r.useRef((()=>{})),h=e.isMobileDevice();return n.useEventSubscriber(n.EchoEvents.OpenRemoveSelectionItemsConfirmDialog,(e=>{s(e.itemIds),u(e.affectedGroups),o(!0),p.current=e.onDialogConfirm})),m.createPortal(c.jsxs(i.DialogGenerator,{open:t,dialogStyle:{width:h?"320px":"420px"},title:"Confirm item removal",actionButtons:[{title:"Cancel",variant:"outlined",onClick:()=>o(!1)},{title:"Remove",onClick:()=>{p.current(),o(!1)}}],children:[c.jsxs(d.Typography,{className:LW,group:"paragraph",children:["The item",BW({items:a,plural:"s"})," you want to remove from the Selection"," ",BW({items:a,plural:"are",singular:"is"})," found in more than one list:"," "]}),c.jsx(d.List,{className:LW,children:l.map((e=>c.jsx(d.List.Item,{children:e.label},e.id)))}),c.jsxs(d.Typography,{className:LW,group:"paragraph",children:["Would you like to remove the item",BW({items:a,plural:"s"})," from all these lists?"]}),c.jsxs(d.Typography,{className:LW,group:"paragraph",children:["You can also remove ",BW({items:a,plural:"them",singular:"it"})," manually, in the Selection panel."]})]}),Jp.domSelector,Jp.portalId)},exports.RequestProCoSysAccess=e=>{const t=`https://accessit.equinor.com/Search/Search?term=procosys+${e.plantName?e.plantName:""}`;return c.jsx(RU,{className:e.className,onClicked:e.onClicked,buttonLabel:"Request Access",applyForAccessUrl:t})},exports.RequestSapAccess=({padding:e,onClicked:t})=>c.jsxs("div",{className:e?FU:zU,children:[c.jsx("div",{className:HU,children:"Request access to the following SAP roles:"}),c.jsx("div",{className:qU,children:"For external users:"}),c.jsxs(d.List,{className:UU,children:[c.jsx(d.List.Item,{children:c.jsx(RU,{onClicked:t,buttonLabel:"YO900 (SAPP05)",applyForAccessUrl:"https://accessit.equinor.com/Search/Search?term=YO900+-+OM+Mobile+Apps+%26+API+%28SAPP05%29"})}),c.jsx(d.List.Item,{children:c.jsx(RU,{onClicked:t,buttonLabel:"YT105 (SAPP03)",applyForAccessUrl:"https://accessit.equinor.com/Search/Search?term=YT105+-+OM+Mobile+Apps+%26+API"})}),c.jsx(d.List.Item,{children:c.jsx(RU,{onClicked:t,buttonLabel:"YO017 (SAPP03)",applyForAccessUrl:"https://accessit.equinor.com/Search/Search?term=YO017+-+Display+role+O%26M+%E2%80%93+External+%28SAPP03%29"})})]}),c.jsx("div",{className:qU,children:"For internal users:"}),c.jsx(d.List,{className:UU,children:c.jsx(d.List.Item,{children:c.jsx(RU,{onClicked:t,buttonLabel:"YO900 (SAPP05)",applyForAccessUrl:"https://accessit.equinor.com/Search/Search?term=YO900+-+OM+Mobile+Apps+%26+API+%28SAPP05%29"})})})]}),exports.SearchMenu=IU,exports.SelectionActionBar=({itemId:e,categoryId:t})=>{const n=function(e){const t=MQ((e=>e.lists));return Object.values(t).some((t=>t.items.has(YW.itemIdToString(e))))}(e);return c.jsx("div",{className:QY,children:n?c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:VY,children:[c.jsx(d.Icon,{size:24,name:"check",color:i.themeConst.asBuilt,className:XY}),c.jsx(d.Typography,{group:"navigation",variant:"button",color:i.themeConst.asBuilt,children:"Selected"})]}),c.jsx("div",{className:ZY,children:c.jsxs(d.Button,{variant:"ghost",className:KY,onClick:()=>{bY.remove.allItemsById({itemIds:[e]})},children:[c.jsx(d.Typography,{group:"navigation",variant:"button",color:i.themeConst.borderDark,children:"Remove from selection"}),c.jsx(d.Icon,{size:24,name:"remove_outlined",color:i.themeConst.echoText,className:JY})]})})]}):c.jsx("div",{className:YY,children:c.jsxs(d.Button,{variant:"ghost",className:KY,onClick:()=>{bY.add.addItems({itemIds:[e]})},children:[c.jsx(d.Typography,{group:"navigation",variant:"button",color:i.themeConst.borderDark,children:"Add to selection"}),c.jsx(d.Icon,{size:24,name:"add",color:i.themeConst.echoText,className:JY})]})})})},exports.Spinner=xz,exports.TagNumber=({tagNo:e,className:t,keepLastNavigationItem:n,activePanelKey:r})=>{const o=bq();return c.jsx("div",{className:`${t} ${EU}`,children:c.jsx("div",{onClick:()=>o({tagNo:e,activePanelKey:r,keepLastNavigationItem:n}),className:EU,children:e})})},exports.TagsDropdown=({tags:e,onTagSelected:t,loadingTags:n})=>n||0===e.length?null:c.jsx(c.Fragment,{children:e.map(((e,n)=>c.jsx("button",{className:kU,onClick:()=>t(e),children:c.jsxs("div",{className:_U,children:[c.jsxs("div",{className:AU,children:[c.jsx(d.Typography,{color:i.themeConst.asBuilt,children:e.tagNo}),e.description&&c.jsx(d.Typography,{className:wU,children:e.description})]}),c.jsx("div",{className:SU,children:e.tagCategoryDescription&&c.jsx(d.Typography,{children:e.tagCategoryDescription})})]})},n)))}),exports.Toaster=LU,exports.Toasters=()=>{const[e,t]=r.useState(0),[o,i]=r.useState(BU.length),a=()=>{i(BU.length)};return n.useEventSubscriber(n.EchoEvents.Toaster,(n=>{const r={count:e,id:Math.floor(1e6*Math.random()),message:n.message,onClose:n.onClose};var o;BU=[...BU,r],o=n.lifetime,setTimeout((()=>{BU=[...BU.filter((({id:t})=>t!==e))],a()}),null!=o?o:1e4),a(),t((e=>e+1))})),c.jsx("section",{className:`toasters ${TU}`,children:BU.sort(((e,t)=>t.count-e.count)).map(((e,t)=>c.jsx(LU,{toast:e,toastNumber:t,numberOfToasts:o,onClose:e.onClose},e.id)))})},exports.VerticalTabsSplitView=Vz,exports.WorkOrderContent=({workOrderId:e})=>{const t=n.useActivePanelState().activePanel,r=bq();return c.jsx(cB.Provider,{value:{instCode:"",orientation:i.SideSheetOrientation.Vertical,isWorkOrder:!0,tagClicked:function(e,n){r({tagNo:e,instCode:n,activePanelKey:t,keepLastNavigationItem:!0})}},children:c.jsx(aq,{workOrderId:e})})},exports.WorkOrderListItem=iH,exports.allEchoHubPlantsBySapId=function(e){return Ym(this,void 0,void 0,(function*(){if(!e.sapId)return;const t=(yield Rp()).filter((t=>{var n;return(null===(n=t.sapId)||void 0===n?void 0:n.toString())===e.sapId}));return t.length>0?t:void 0}))},exports.allPlantCodesOnInstallation=qp,exports.check3dAccessForInstCodeOrPlantCode=Gp,exports.check3dPermissionForPlantCode=Wp,exports.check3dPermissionOnInstallation=Up,exports.checkPlantAvailableIn3d=Qp,exports.checkPlantAvailableIn3dWeb=Yp,exports.convertGlobalSelectionItemsToPlantTagPairs=JW,exports.convertPathNameToReadableString=pC,exports.convertToRobimPlantCode=function(e){return"JSV"===e?"JSF":e},exports.createChipStatusProps=function(e){return{icon:i.getIcon(e.tagCategoryDescription),chips:uG(e.status),legendColor:Id(cG(e.status)),isChipsEnabled:e.isChipsEnabled}},exports.createEcho3dInternalLink=pG,exports.createSimpleStore=function(e,t){const n=t.charAt(0).toUpperCase()+t.slice(1);return a.create()((r=>({[t]:e,[`set${n}`]:e=>r((n=>Object.assign(Object.assign({},n),{[t]:e})))})))},exports.dataLayerStoreSnapshot=function(){return wK.getState()},exports.dateToStringOrEmptyWithoutTime=Xp,exports.default=PK,exports.displayToast=lN,exports.echopediaWebReactPortalUtils=Jp,exports.emitLegendStatusChangedEvent=e=>{n.eventHub.emit(n.EchoEvents.LegendStatusesChanged,e)},exports.failureMechanismConfig=WG,exports.fetchEquipmentFromApi=aG,exports.generateTemporaryTagListObject=e=>({name:`Tags from ${e.sourceModuleName}`,description:`Tags from ${e.sourceModuleName} in Echo`,createdBy:e.createdBy,plant:e.plantCode,source:e.source,section:e.section,timeToLiveSeconds:263e4,results:e.tagList}),exports.getAllPlants=Fp,exports.getCachedPlantInfo=Rp,exports.getColorForWorkOrderTypeId=function(e){switch(e.toLowerCase()){case"pm01":return i.themeConst.pm01;case"pm02":return i.themeConst.pm02;case"pm03":return i.themeConst.pm03;case"pm04":return i.themeConst.pm04;case"pm05":return i.themeConst.pm05;case"pm06":return i.themeConst.pm06;case"pm10":return i.themeConst.pm10;case"pm15":return i.themeConst.pm15;case"pm20":return i.themeConst.pm20;default:return i.themeConst.equiGreen1}},exports.getEquipmentLinkField=function(e,t,n){return c.jsx(MW,{equipmentId:e,tagNo:t,plantNo:n})},exports.getLatestMeasurementDate=YG,exports.getLeftPanelNavigationState=yq,exports.getLegendStatusColor=Id,exports.getPanelTitle=ib,exports.getPdmsPlantCodeForTag=mG,exports.getPlantsCachedOrApi=function(){return Ym(this,void 0,void 0,(function*(){const e=n.getPlants();return(null==e?void 0:e.length)>0?e:yield IK()}))},exports.getPlantsFromApi=IK,exports.getPlantsOnInstallation=zp,exports.getPreviousItemIdOrPanelTitle=ob,exports.getRandomColor=function(){return"#"+Math.floor(16777215*Math.random()).toString(16)},exports.getTemporarilyEchoHubListFor3d=Cx,exports.globalSelectionApi=bY,exports.globalSelectionDefaultGroupId=DQ,exports.globalSelectionUtils=YW,exports.goToExternalLink=$p,exports.instCodeByPlantCode=function(e){return Ym(this,void 0,void 0,(function*(){if(!e)return;const t=(yield Rp()).find((t=>t.plantCode===e));return null==t?void 0:t.installationCode}))},exports.instCodeBySapId=Hp,exports.isImage=fz,exports.isVideo=function(e){return!!e&&!!e.match(/.(mp4|mov|avi)$/i)},exports.legendFacade=$Z,exports.legendTypeToLegendStatus=function(e,t){return Ed(t)},exports.locationService=XC,exports.mainMenu=GU,exports.registerEchopediaComponent=TK,exports.removeLeadingZeros=rb,exports.searchPanel=WU,exports.setLocationServicePathname=KC,exports.setMainSearchText=e=>{n.eventHub.emit(n.EchoEvents.SetMainSearchText,e)},exports.setPlantInfo=Dp,exports.sortMeasuringPointsByMeasurementDate=VG,exports.startup=function(){return Ym(this,void 0,void 0,(function*(){n.isOnline()&&e.Utils.fireAndForget(NK)}))},exports.statusHelper=Cd,exports.stringToEnumOrUndefined=_d,exports.subscribeToLegendDataChanged=function(){null==bK||bK(),bK=VZ.subscribe((e=>e.data),((n,r)=>{console.log("----- temp"),t.isEqual(n,r)||e.fireAndForget((()=>CK()))})),CK()},exports.tagIdPlantIdToPlantTagPairs=ZW,exports.toLegendStatusOrString=Ed,exports.trimToLength=function(e,t){return e.length>t?e.substring(0,t)+"...":e},exports.useCloseActiveTopMenuAtBreakPoint=nI,exports.useClosePanelsAtBreakpoint=rI,exports.useDataLayerPanelStore=wK,exports.useEchoHistory=Nd,exports.useEchoUiContext=dC,exports.useEchoUserInterfaceStore=uC,exports.useFetchInstCodeBySapPlantId=Vp,exports.useFetchPlantInfo=(e,t)=>{const[n,o]=r.useState(void 0);return r.useEffect((()=>{Ym(void 0,void 0,void 0,(function*(){try{const t=yield zp(e);o(t)}catch(e){t(e)}}))}),[e,t]),n},exports.useGlobalSelectionByItemId=function(e,t){return MQ((n=>n.lists[e].items.get(YW.itemIdToString(t))))},exports.useGlobalSelectionItems=()=>{const e=MQ((e=>e.lists)),t=r.useMemo((()=>{let t=[];return Object.values(e).forEach((e=>{const n=[...e.items.values()];t=t.concat(n)})),t}),[e]);return t},exports.useGlobalSelectionItemsByType=function(e){const t=MQ((t=>t.lists[e]));return Array.from(t.items.values())},exports.useGlobalSelectionLists=EY,exports.useGlobalSelectionTags=function(){const e=MQ((e=>e.lists[exports.GlobalSelectionItemType.Tag]));return Array.from(e.items.values())},exports.useGlobalSelectionWorkOrders=function(){const e=MQ((e=>e.lists[exports.GlobalSelectionItemType.WorkOrder]));return Array.from(e.items.values())},exports.useHas3dAccess=ab,exports.useIsAllIGlobalSelectionItemsHidden=e=>{const{groupId:t,categoryId:n}=e,[o,i]=r.useState(!1),a=EY();return r.useEffect((()=>{const e=xY().groups;let r=new Map;const o=YQ({groupId:t,categoryId:n,groups:e});if(!o)return;if(o.category){const{category:e}=o;if(!e.items)return void i(!1);r=e.items}else{const{group:e}=o;e.categories.forEach((e=>{e.items.forEach(((e,t)=>{r.set(t,e)}))}))}const s=new Set(r.keys()),l=!a.some((e=>e.items.some((e=>s.has(YW.itemIdToString(e.id))&&!e.metaData.isHiddenByUser))));i(l)}),[t,n,a]),o},exports.useIsCompactLayout=Yb,exports.useIsFullScreenModeEnabled=sb,exports.useOpenEquipmentDetails=PW,exports.useOpenMeasuringPointDetails=IW,exports.useOpenPdfFile=Hb,exports.useOpenPdfFileUrl=qb,exports.useOpenPrepview=Cq,exports.usePlantAvailableIn3d=Gb,exports.usePlantAvailableIn3dWeb=Wb,exports.useScreenOrientation=Qb,exports.useScreenValues=Vb,exports.useSelectionCategoriesByGroupId=function(e){var t;return null===(t=yY((e=>e.groups)).find((t=>t.id===e)))||void 0===t?void 0:t.categories},exports.useSelectionMenuGroups=function(){return yY((e=>e.groups))},exports.useTabTitle=hC,exports.useTagDetails=gC,exports.useUserSettingsStore=jG,exports.userSettingsSnapshot=function(){return jG.getState()},exports.valueToEnum=function(e,t){if(!e)return Object.keys(t)[0];const n=function(e){return e.map((e=>e.toLowerCase()))}(Object.values(t)).indexOf(e.toLowerCase());return-1===n?Object.values(t)[0]:Object.values(t)[n]};
|
|
14
|
+
var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};function t(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};function r(e,t,n){for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:I,i=Object.keys,a=Array.isArray;function s(e,t){return"object"!=typeof t||i(t).forEach((function(n){e[n]=t[n]})),e}"undefined"==typeof Promise||o.Promise||(o.Promise=Promise);var l=Object.getPrototypeOf,c={}.hasOwnProperty;function u(e,t){return c.call(e,t)}function d(e,t){"function"==typeof t&&(t=t(l(e))),("undefined"==typeof Reflect?i:Reflect.ownKeys)(t).forEach((function(n){p(e,n,t[n])}))}var m=Object.defineProperty;function p(e,t,n,r){m(e,t,s(n&&u(n,"get")&&"function"==typeof n.get?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},r))}function h(e){return{from:function(t){return e.prototype=Object.create(t.prototype),p(e.prototype,"constructor",e),{extend:d.bind(null,e.prototype)}}}}var f=Object.getOwnPropertyDescriptor;function g(e,t){var n;return f(e,t)||(n=l(e))&&g(n,t)}var v=[].slice;function y(e,t,n){return v.call(e,t,n)}function x(e,t){return t(e)}function b(e){if(!e)throw new Error("Assertion Failed")}function C(e){o.setImmediate?setImmediate(e):setTimeout(e,0)}function E(e,t){return e.reduce((function(e,n,r){var o=t(n,r);return o&&(e[o[0]]=o[1]),e}),{})}function _(e,t){if("string"==typeof t&&u(e,t))return e[t];if(!t)return e;if("string"!=typeof t){for(var n=[],r=0,o=t.length;r<o;++r){var i=_(e,t[r]);n.push(i)}return n}var a=t.indexOf(".");if(-1!==a){var s=e[t.substr(0,a)];return null==s?void 0:_(s,t.substr(a+1))}}function A(e,t,n){if(e&&void 0!==t&&(!("isFrozen"in Object)||!Object.isFrozen(e)))if("string"!=typeof t&&"length"in t){b("string"!=typeof n&&"length"in n);for(var r=0,o=t.length;r<o;++r)A(e,t[r],n[r])}else{var i=t.indexOf(".");if(-1!==i){var s=t.substr(0,i),l=t.substr(i+1);if(""===l)void 0===n?a(e)&&!isNaN(parseInt(s))?e.splice(s,1):delete e[s]:e[s]=n;else{var c=e[s];c&&u(e,s)||(c=e[s]={}),A(c,l,n)}}else void 0===n?a(e)&&!isNaN(parseInt(t))?e.splice(t,1):delete e[t]:e[t]=n}}function w(e,t){"string"==typeof t?A(e,t,void 0):"length"in t&&[].map.call(t,(function(t){A(e,t,void 0)}))}function S(e){var t={};for(var n in e)u(e,n)&&(t[n]=e[n]);return t}var k=[].concat;function j(e){return k.apply([],e)}var N="BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(j([8,16,32,64].map((function(e){return["Int","Uint","Float"].map((function(t){return t+e+"Array"}))})))).filter((function(e){return o[e]})),T=new Set(N.map((function(e){return o[e]})));function P(e){var t={};for(var n in e)if(u(e,n)){var r=e[n];t[n]=!r||"object"!=typeof r||T.has(r.constructor)?r:P(r)}return t}function O(e){for(var t in e)if(u(e,t))return!1;return!0}var M=null;function L(e){M=new WeakMap;var t=B(e);return M=null,t}function B(e){if(!e||"object"!=typeof e)return e;var t=M.get(e);if(t)return t;if(a(e)){t=[],M.set(e,t);for(var n=0,r=e.length;n<r;++n)t.push(B(e[n]))}else if(T.has(e.constructor))t=e;else{var o=l(e);for(var i in t=o===Object.prototype?{}:Object.create(o),M.set(e,t),e)u(e,i)&&(t[i]=B(e[i]))}return t}var D={}.toString;function R(e){return D.call(e).slice(8,-1)}var z="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator",F="symbol"==typeof z?function(e){var t;return null!=e&&(t=e[z])&&t.apply(e)}:function(){return null};function H(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n>=0}var q={};function U(e){var t,n,r,o;if(1===arguments.length){if(a(e))return e.slice();if(this===q&&"string"==typeof e)return[e];if(o=F(e)){for(n=[];!(r=o.next()).done;)n.push(r.value);return n}if(null==e)return[e];if("number"==typeof(t=e.length)){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}var G="undefined"!=typeof Symbol?function(e){return"AsyncFunction"===e[Symbol.toStringTag]}:function(){return!1},W=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],Q=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(W),Y={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed",MissingAPI:"IndexedDB API missing. Please visit https://tinyurl.com/y2uuvskb"};function V(e,t){this.name=e,this.message=t}function Z(e,t){return e+". Errors: "+Object.keys(t).map((function(e){return t[e].toString()})).filter((function(e,t,n){return n.indexOf(e)===t})).join("\n")}function K(e,t,n,r){this.failures=t,this.failedKeys=r,this.successCount=n,this.message=Z(e,t)}function J(e,t){this.name="BulkError",this.failures=Object.keys(t).map((function(e){return t[e]})),this.failuresByPos=t,this.message=Z(e,this.failures)}h(V).from(Error).extend({toString:function(){return this.name+": "+this.message}}),h(K).from(V),h(J).from(V);var X=Q.reduce((function(e,t){return e[t]=t+"Error",e}),{}),$=V,ee=Q.reduce((function(e,t){var n=t+"Error";function r(e,r){this.name=n,e?"string"==typeof e?(this.message="".concat(e).concat(r?"\n "+r:""),this.inner=r||null):"object"==typeof e&&(this.message="".concat(e.name," ").concat(e.message),this.inner=e):(this.message=Y[t]||n,this.inner=null)}return h(r).from($),e[t]=r,e}),{});ee.Syntax=SyntaxError,ee.Type=TypeError,ee.Range=RangeError;var te=W.reduce((function(e,t){return e[t+"Error"]=ee[t],e}),{});function ne(e,t){if(!e||e instanceof V||e instanceof TypeError||e instanceof SyntaxError||!e.name||!te[e.name])return e;var n=new te[e.name](t||e.message,e);return"stack"in e&&p(n,"stack",{get:function(){return this.inner.stack}}),n}var re=Q.reduce((function(e,t){return-1===["Syntax","Type","Range"].indexOf(t)&&(e[t+"Error"]=ee[t]),e}),{});function oe(){}function ie(e){return e}function ae(e,t){return null==e||e===ie?t:function(n){return t(e(n))}}function se(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function le(e,t){return e===oe?t:function(){var n=e.apply(this,arguments);void 0!==n&&(arguments[0]=n);var r=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var i=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?se(r,this.onsuccess):r),o&&(this.onerror=this.onerror?se(o,this.onerror):o),void 0!==i?i:n}}function ce(e,t){return e===oe?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?se(n,this.onsuccess):n),r&&(this.onerror=this.onerror?se(r,this.onerror):r)}}function ue(e,t){return e===oe?t:function(n){var r=e.apply(this,arguments);s(n,r);var o=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return o&&(this.onsuccess=this.onsuccess?se(o,this.onsuccess):o),i&&(this.onerror=this.onerror?se(i,this.onerror):i),void 0===r?void 0===a?void 0:a:s(r,a)}}function de(e,t){return e===oe?t:function(){return!1!==t.apply(this,arguments)&&e.apply(this,arguments)}}function me(e,t){return e===oe?t:function(){var n=e.apply(this,arguments);if(n&&"function"==typeof n.then){for(var r=this,o=arguments.length,i=new Array(o);o--;)i[o]=arguments[o];return n.then((function(){return t.apply(r,i)}))}return t.apply(this,arguments)}}re.ModifyError=K,re.DexieError=V,re.BulkError=J;var pe="undefined"!=typeof location&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function he(e,t){pe=e}var fe={},ge=100,ve="undefined"==typeof Promise?[]:function(){var e=Promise.resolve();if("undefined"==typeof crypto||!crypto.subtle)return[e,l(e),e];var t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,l(t),e]}(),ye=ve[0],xe=ve[1],be=ve[2],Ce=xe&&xe.then,Ie=ye&&ye.constructor,Ee=!!be;function _e(){queueMicrotask(Ge)}var Ae=function(e,t){Oe.push([e,t]),Se&&(_e(),Se=!1)},we=!0,Se=!0,ke=[],je=[],Ne=ie,Te={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:oe,pgp:!1,env:{},finalize:oe},Pe=Te,Oe=[],Me=0,Le=[];function Be(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");this._listeners=[],this._lib=!1;var t=this._PSD=Pe;if("function"!=typeof e){if(e!==fe)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(!1===this._state&&Fe(this,this._value))}this._state=null,this._value=null,++t.ref,ze(this,e)}var De={get:function(){var e=Pe,t=rt;function n(n,r){var o=this,i=!e.global&&(e!==Pe||t!==rt),a=i&&!st(),s=new Be((function(t,s){qe(o,new Re(ht(n,e,i,a),ht(r,e,i,a),t,s,e))}));return this._consoleTask&&(s._consoleTask=this._consoleTask),s}return n.prototype=fe,n},set:function(e){p(this,"then",e&&e.prototype===fe?De:{get:function(){return e},set:De.set})}};function Re(e,t,n,r,o){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=r,this.psd=o}function ze(e,t){try{t((function(t){if(null===e._state){if(t===e)throw new TypeError("A promise cannot be resolved with itself.");var n=e._lib&&We();t&&"function"==typeof t.then?ze(e,(function(e,n){t instanceof Be?t._then(e,n):t.then(e,n)})):(e._state=!0,e._value=t,He(e)),n&&Qe()}}),Fe.bind(null,e))}catch(t){Fe(e,t)}}function Fe(e,t){if(je.push(t),null===e._state){var n=e._lib&&We();t=Ne(t),e._state=!1,e._value=t,Ze(e),He(e),n&&Qe()}}function He(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n<r;++n)qe(e,t[n]);var o=e._PSD;--o.ref||o.finalize(),0===Me&&(++Me,Ae((function(){0==--Me&&Ye()}),[]))}function qe(e,t){if(null!==e._state){var n=e._state?t.onFulfilled:t.onRejected;if(null===n)return(e._state?t.resolve:t.reject)(e._value);++t.psd.ref,++Me,Ae(Ue,[n,e,t])}else e._listeners.push(t)}function Ue(e,t,n){try{var r,o=t._value;!t._state&&je.length&&(je=[]),r=pe&&t._consoleTask?t._consoleTask.run((function(){return e(o)})):e(o),t._state||-1!==je.indexOf(o)||Ke(t),n.resolve(r)}catch(e){n.reject(e)}finally{0==--Me&&Ye(),--n.psd.ref||n.psd.finalize()}}function Ge(){pt(Te,(function(){We()&&Qe()}))}function We(){var e=we;return we=!1,Se=!1,e}function Qe(){var e,t,n;do{for(;Oe.length>0;)for(e=Oe,Oe=[],n=e.length,t=0;t<n;++t){var r=e[t];r[0].apply(null,r[1])}}while(Oe.length>0);we=!0,Se=!0}function Ye(){var e=ke;ke=[],e.forEach((function(e){e._PSD.onunhandled.call(null,e._value,e)}));for(var t=Le.slice(0),n=t.length;n;)t[--n]()}function Ve(e){function t(){e(),Le.splice(Le.indexOf(t),1)}Le.push(t),++Me,Ae((function(){0==--Me&&Ye()}),[])}function Ze(e){ke.some((function(t){return t._value===e._value}))||ke.push(e)}function Ke(e){for(var t=ke.length;t;)if(ke[--t]._value===e._value)return void ke.splice(t,1)}function Je(e){return new Be(fe,!1,e)}function Xe(e,t){var n=Pe;return function(){var r=We(),o=Pe;try{return dt(n,!0),e.apply(this,arguments)}catch(e){t&&t(e)}finally{dt(o,!1),r&&Qe()}}}d(Be.prototype,{then:De,_then:function(e,t){qe(this,new Re(null,null,e,t,Pe))},catch:function(e){if(1===arguments.length)return this.then(null,e);var t=arguments[0],n=arguments[1];return"function"==typeof t?this.then(null,(function(e){return e instanceof t?n(e):Je(e)})):this.then(null,(function(e){return e&&e.name===t?n(e):Je(e)}))},finally:function(e){return this.then((function(t){return Be.resolve(e()).then((function(){return t}))}),(function(t){return Be.resolve(e()).then((function(){return Je(t)}))}))},timeout:function(e,t){var n=this;return e<1/0?new Be((function(r,o){var i=setTimeout((function(){return o(new ee.Timeout(t))}),e);n.then(r,o).finally(clearTimeout.bind(null,i))})):this}}),"undefined"!=typeof Symbol&&Symbol.toStringTag&&p(Be.prototype,Symbol.toStringTag,"Dexie.Promise"),Te.env=mt(),d(Be,{all:function(){var e=U.apply(null,arguments).map(lt);return new Be((function(t,n){0===e.length&&t([]);var r=e.length;e.forEach((function(o,i){return Be.resolve(o).then((function(n){e[i]=n,--r||t(e)}),n)}))}))},resolve:function(e){return e instanceof Be?e:e&&"function"==typeof e.then?new Be((function(t,n){e.then(t,n)})):new Be(fe,!0,e)},reject:Je,race:function(){var e=U.apply(null,arguments).map(lt);return new Be((function(t,n){e.map((function(e){return Be.resolve(e).then(t,n)}))}))},PSD:{get:function(){return Pe},set:function(e){return Pe=e}},totalEchoes:{get:function(){return rt}},newPSD:it,usePSD:pt,scheduler:{get:function(){return Ae},set:function(e){Ae=e}},rejectionMapper:{get:function(){return Ne},set:function(e){Ne=e}},follow:function(e,t){return new Be((function(n,r){return it((function(t,n){var r=Pe;r.unhandleds=[],r.onunhandled=n,r.finalize=se((function(){var e=this;Ve((function(){0===e.unhandleds.length?t():n(e.unhandleds[0])}))}),r.finalize),e()}),t,n,r)}))}}),Ie&&(Ie.allSettled&&p(Be,"allSettled",(function(){var e=U.apply(null,arguments).map(lt);return new Be((function(t){0===e.length&&t([]);var n=e.length,r=new Array(n);e.forEach((function(e,o){return Be.resolve(e).then((function(e){return r[o]={status:"fulfilled",value:e}}),(function(e){return r[o]={status:"rejected",reason:e}})).then((function(){return--n||t(r)}))}))}))})),Ie.any&&"undefined"!=typeof AggregateError&&p(Be,"any",(function(){var e=U.apply(null,arguments).map(lt);return new Be((function(t,n){0===e.length&&n(new AggregateError([]));var r=e.length,o=new Array(r);e.forEach((function(e,i){return Be.resolve(e).then((function(e){return t(e)}),(function(e){o[i]=e,--r||n(new AggregateError(o))}))}))}))})),Ie.withResolvers&&(Be.withResolvers=Ie.withResolvers));var $e={awaits:0,echoes:0,id:0},et=0,tt=[],nt=0,rt=0,ot=0;function it(e,t,n,r){var o=Pe,i=Object.create(o);i.parent=o,i.ref=0,i.global=!1,i.id=++ot,Te.env,i.env=Ee?{Promise:Be,PromiseProp:{value:Be,configurable:!0,writable:!0},all:Be.all,race:Be.race,allSettled:Be.allSettled,any:Be.any,resolve:Be.resolve,reject:Be.reject}:{},t&&s(i,t),++o.ref,i.finalize=function(){--this.parent.ref||this.parent.finalize()};var a=pt(i,e,n,r);return 0===i.ref&&i.finalize(),a}function at(){return $e.id||($e.id=++et),++$e.awaits,$e.echoes+=ge,$e.id}function st(){return!!$e.awaits&&(0==--$e.awaits&&($e.id=0),$e.echoes=$e.awaits*ge,!0)}function lt(e){return $e.echoes&&e&&e.constructor===Ie?(at(),e.then((function(e){return st(),e}),(function(e){return st(),gt(e)}))):e}function ct(e){++rt,$e.echoes&&0!=--$e.echoes||($e.echoes=$e.awaits=$e.id=0),tt.push(Pe),dt(e,!0)}function ut(){var e=tt[tt.length-1];tt.pop(),dt(e,!1)}function dt(e,t){var n=Pe;if((t?!$e.echoes||nt++&&e===Pe:!nt||--nt&&e===Pe)||queueMicrotask(t?ct.bind(null,e):ut),e!==Pe&&(Pe=e,n===Te&&(Te.env=mt()),Ee)){var r=Te.env.Promise,i=e.env;(n.global||e.global)&&(Object.defineProperty(o,"Promise",i.PromiseProp),r.all=i.all,r.race=i.race,r.resolve=i.resolve,r.reject=i.reject,i.allSettled&&(r.allSettled=i.allSettled),i.any&&(r.any=i.any))}}function mt(){var e=o.Promise;return Ee?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(o,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject}:{}}function pt(e,t,n,r,o){var i=Pe;try{return dt(e,!0),t(n,r,o)}finally{dt(i,!1)}}function ht(e,t,n,r){return"function"!=typeof e?e:function(){var o=Pe;n&&at(),dt(t,!0);try{return e.apply(this,arguments)}finally{dt(o,!1),r&&queueMicrotask(st)}}}function ft(e){Promise===Ie&&0===$e.echoes?0===nt?e():enqueueNativeMicroTask(e):setTimeout(e,0)}-1===(""+Ce).indexOf("[native code]")&&(at=st=oe);var gt=Be.reject;function vt(e,t,n,r){if(e.idbdb&&(e._state.openComplete||Pe.letThrough||e._vip)){var o=e._createTransaction(t,n,e._dbSchema);try{o.create(),e._state.PR1398_maxLoop=3}catch(o){return o.name===X.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),e.close({disableAutoOpen:!1}),e.open().then((function(){return vt(e,t,n,r)}))):gt(o)}return o._promise(t,(function(e,t){return it((function(){return Pe.trans=o,r(e,t,o)}))})).then((function(e){if("readwrite"===t)try{o.idbtrans.commit()}catch(e){}return"readonly"===t?e:o._completion.then((function(){return e}))}))}if(e._state.openComplete)return gt(new ee.DatabaseClosed(e._state.dbOpenError));if(!e._state.isBeingOpened){if(!e._state.autoOpen)return gt(new ee.DatabaseClosed);e.open().catch(oe)}return e._state.dbReadyPromise.then((function(){return vt(e,t,n,r)}))}var yt="4.0.11",xt=String.fromCharCode(65535),bt=-1/0,Ct="Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.",It="String expected.",Et=[],_t="__dbnames",At="readonly",wt="readwrite";function St(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var kt={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function jt(e){return"string"!=typeof e||/\./.test(e)?function(e){return e}:function(t){return void 0===t[e]&&e in t&&delete(t=L(t))[e],t}}function Nt(){throw ee.Type()}function Tt(e,t){try{var n=Mt(e),r=Mt(t);if(n!==r)return"Array"===n?1:"Array"===r?-1:"binary"===n?1:"binary"===r?-1:"string"===n?1:"string"===r?-1:"Date"===n?1:"Date"!==r?NaN:-1;switch(n){case"number":case"Date":case"string":return e>t?1:e<t?-1:0;case"binary":return Ot(Lt(e),Lt(t));case"Array":return Pt(e,t)}}catch(e){}return NaN}function Pt(e,t){for(var n=e.length,r=t.length,o=n<r?n:r,i=0;i<o;++i){var a=Tt(e[i],t[i]);if(0!==a)return a}return n===r?0:n<r?-1:1}function Ot(e,t){for(var n=e.length,r=t.length,o=n<r?n:r,i=0;i<o;++i)if(e[i]!==t[i])return e[i]<t[i]?-1:1;return n===r?0:n<r?-1:1}function Mt(e){var t=typeof e;if("object"!==t)return t;if(ArrayBuffer.isView(e))return"binary";var n=R(e);return"ArrayBuffer"===n?"binary":n}function Lt(e){return e instanceof Uint8Array?e:ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(e)}var Bt=function(){function e(){}return e.prototype._trans=function(e,t,n){var r=this._tx||Pe.trans,o=this.name,i=pe&&"undefined"!=typeof console&&console.createTask&&console.createTask("Dexie: ".concat("readonly"===e?"read":"write"," ").concat(this.name));function a(e,n,r){if(!r.schema[o])throw new ee.NotFound("Table "+o+" not part of transaction");return t(r.idbtrans,r)}var s=We();try{var l=r&&r.db._novip===this.db._novip?r===Pe.trans?r._promise(e,a,n):it((function(){return r._promise(e,a,n)}),{trans:r,transless:Pe.transless||Pe}):vt(this.db,e,[this.name],a);return i&&(l._consoleTask=i,l=l.catch((function(e){return console.trace(e),gt(e)}))),l}finally{s&&Qe()}},e.prototype.get=function(e,t){var n=this;return e&&e.constructor===Object?this.where(e).first(t):null==e?gt(new ee.Type("Invalid argument to Table.get()")):this._trans("readonly",(function(t){return n.core.get({trans:t,key:e}).then((function(e){return n.hook.reading.fire(e)}))})).then(t)},e.prototype.where=function(e){if("string"==typeof e)return new this.db.WhereClause(this,e);if(a(e))return new this.db.WhereClause(this,"[".concat(e.join("+"),"]"));var t=i(e);if(1===t.length)return this.where(t[0]).equals(e[t[0]]);var n=this.schema.indexes.concat(this.schema.primKey).filter((function(e){if(e.compound&&t.every((function(t){return e.keyPath.indexOf(t)>=0}))){for(var n=0;n<t.length;++n)if(-1===t.indexOf(e.keyPath[n]))return!1;return!0}return!1})).sort((function(e,t){return e.keyPath.length-t.keyPath.length}))[0];if(n&&this.db._maxKey!==xt){var r=n.keyPath.slice(0,t.length);return this.where(r).equals(r.map((function(t){return e[t]})))}!n&&pe&&console.warn("The query ".concat(JSON.stringify(e)," on ").concat(this.name," would benefit from a ")+"compound index [".concat(t.join("+"),"]"));var o=this.schema.idxByName;function s(e,t){return 0===Tt(e,t)}var l=t.reduce((function(t,n){var r=t[0],i=t[1],l=o[n],c=e[n];return[r||l,r||!l?St(i,l&&l.multi?function(e){var t=_(e,n);return a(t)&&t.some((function(e){return s(c,e)}))}:function(e){return s(c,_(e,n))}):i]}),[null,null]),c=l[0],u=l[1];return c?this.where(c.name).equals(e[c.keyPath]).filter(u):n?this.filter(u):this.where(t).equals("")},e.prototype.filter=function(e){return this.toCollection().and(e)},e.prototype.count=function(e){return this.toCollection().count(e)},e.prototype.offset=function(e){return this.toCollection().offset(e)},e.prototype.limit=function(e){return this.toCollection().limit(e)},e.prototype.each=function(e){return this.toCollection().each(e)},e.prototype.toArray=function(e){return this.toCollection().toArray(e)},e.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},e.prototype.orderBy=function(e){return new this.db.Collection(new this.db.WhereClause(this,a(e)?"[".concat(e.join("+"),"]"):e))},e.prototype.reverse=function(){return this.toCollection().reverse()},e.prototype.mapToClass=function(e){var n=this,r=n.db,o=n.name;this.schema.mappedClass=e,e.prototype instanceof Nt&&(e=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return t(n,e),Object.defineProperty(n.prototype,"db",{get:function(){return r},enumerable:!1,configurable:!0}),n.prototype.table=function(){return o},n}(e));for(var i=new Set,a=e.prototype;a;a=l(a))Object.getOwnPropertyNames(a).forEach((function(e){return i.add(e)}));var s=function(t){if(!t)return t;var n=Object.create(e.prototype);for(var r in t)if(!i.has(r))try{n[r]=t[r]}catch(e){}return n};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=s,this.hook("reading",s),e},e.prototype.defineClass=function(){function e(e){s(this,e)}return this.mapToClass(e)},e.prototype.add=function(e,t){var n=this,r=this.schema.primKey,o=r.auto,i=r.keyPath,a=e;return i&&o&&(a=jt(i)(e)),this._trans("readwrite",(function(e){return n.core.mutate({trans:e,type:"add",keys:null!=t?[t]:null,values:[a]})})).then((function(e){return e.numFailures?Be.reject(e.failures[0]):e.lastResult})).then((function(t){if(i)try{A(e,i,t)}catch(e){}return t}))},e.prototype.update=function(e,t){if("object"!=typeof e||a(e))return this.where(":id").equals(e).modify(t);var n=_(e,this.schema.primKey.keyPath);return void 0===n?gt(new ee.InvalidArgument("Given object does not contain its primary key")):this.where(":id").equals(n).modify(t)},e.prototype.put=function(e,t){var n=this,r=this.schema.primKey,o=r.auto,i=r.keyPath,a=e;return i&&o&&(a=jt(i)(e)),this._trans("readwrite",(function(e){return n.core.mutate({trans:e,type:"put",values:[a],keys:null!=t?[t]:null})})).then((function(e){return e.numFailures?Be.reject(e.failures[0]):e.lastResult})).then((function(t){if(i)try{A(e,i,t)}catch(e){}return t}))},e.prototype.delete=function(e){var t=this;return this._trans("readwrite",(function(n){return t.core.mutate({trans:n,type:"delete",keys:[e]})})).then((function(e){return e.numFailures?Be.reject(e.failures[0]):void 0}))},e.prototype.clear=function(){var e=this;return this._trans("readwrite",(function(t){return e.core.mutate({trans:t,type:"deleteRange",range:kt})})).then((function(e){return e.numFailures?Be.reject(e.failures[0]):void 0}))},e.prototype.bulkGet=function(e){var t=this;return this._trans("readonly",(function(n){return t.core.getMany({keys:e,trans:n}).then((function(e){return e.map((function(e){return t.hook.reading.fire(e)}))}))}))},e.prototype.bulkAdd=function(e,t,n){var r=this,o=Array.isArray(t)?t:void 0,i=(n=n||(o?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",(function(t){var n=r.schema.primKey,a=n.auto,s=n.keyPath;if(s&&o)throw new ee.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(o&&o.length!==e.length)throw new ee.InvalidArgument("Arguments objects and keys must have the same length");var l=e.length,c=s&&a?e.map(jt(s)):e;return r.core.mutate({trans:t,type:"add",keys:o,values:c,wantResults:i}).then((function(e){var t=e.numFailures,n=e.results,o=e.lastResult,a=e.failures;if(0===t)return i?n:o;throw new J("".concat(r.name,".bulkAdd(): ").concat(t," of ").concat(l," operations failed"),a)}))}))},e.prototype.bulkPut=function(e,t,n){var r=this,o=Array.isArray(t)?t:void 0,i=(n=n||(o?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",(function(t){var n=r.schema.primKey,a=n.auto,s=n.keyPath;if(s&&o)throw new ee.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(o&&o.length!==e.length)throw new ee.InvalidArgument("Arguments objects and keys must have the same length");var l=e.length,c=s&&a?e.map(jt(s)):e;return r.core.mutate({trans:t,type:"put",keys:o,values:c,wantResults:i}).then((function(e){var t=e.numFailures,n=e.results,o=e.lastResult,a=e.failures;if(0===t)return i?n:o;throw new J("".concat(r.name,".bulkPut(): ").concat(t," of ").concat(l," operations failed"),a)}))}))},e.prototype.bulkUpdate=function(e){var t=this,n=this.core,r=e.map((function(e){return e.key})),o=e.map((function(e){return e.changes})),i=[];return this._trans("readwrite",(function(a){return n.getMany({trans:a,keys:r,cache:"clone"}).then((function(s){var l=[],c=[];e.forEach((function(e,n){var r=e.key,o=e.changes,a=s[n];if(a){for(var u=0,d=Object.keys(o);u<d.length;u++){var m=d[u],p=o[m];if(m===t.schema.primKey.keyPath){if(0!==Tt(p,r))throw new ee.Constraint("Cannot update primary key in bulkUpdate()")}else A(a,m,p)}i.push(n),l.push(r),c.push(a)}}));var u=l.length;return n.mutate({trans:a,type:"put",keys:l,values:c,updates:{keys:r,changeSpecs:o}}).then((function(e){var n=e.numFailures,r=e.failures;if(0===n)return u;for(var o=0,a=Object.keys(r);o<a.length;o++){var s=a[o],l=i[Number(s)];if(null!=l){var c=r[s];delete r[s],r[l]=c}}throw new J("".concat(t.name,".bulkUpdate(): ").concat(n," of ").concat(u," operations failed"),r)}))}))}))},e.prototype.bulkDelete=function(e){var t=this,n=e.length;return this._trans("readwrite",(function(n){return t.core.mutate({trans:n,type:"delete",keys:e})})).then((function(e){var r=e.numFailures,o=e.lastResult,i=e.failures;if(0===r)return o;throw new J("".concat(t.name,".bulkDelete(): ").concat(r," of ").concat(n," operations failed"),i)}))},e}();function Dt(e){var t={},n=function(n,r){if(r){for(var o=arguments.length,i=new Array(o-1);--o;)i[o-1]=arguments[o];return t[n].subscribe.apply(null,i),e}if("string"==typeof n)return t[n]};n.addEventType=s;for(var r=1,o=arguments.length;r<o;++r)s(arguments[r]);return n;function s(e,r,o){if("object"==typeof e)return l(e);r||(r=de),o||(o=oe);var i={subscribers:[],fire:o,subscribe:function(e){-1===i.subscribers.indexOf(e)&&(i.subscribers.push(e),i.fire=r(i.fire,e))},unsubscribe:function(e){i.subscribers=i.subscribers.filter((function(t){return t!==e})),i.fire=i.subscribers.reduce(r,o)}};return t[e]=n[e]=i,i}function l(e){i(e).forEach((function(t){var n=e[t];if(a(n))s(t,e[t][0],e[t][1]);else{if("asap"!==n)throw new ee.InvalidArgument("Invalid event config");var r=s(t,ie,(function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];r.subscribers.forEach((function(e){C((function(){e.apply(null,t)}))}))}))}}))}}function Rt(e,t){return h(t).from({prototype:e}),t}function zt(e){return Rt(Bt.prototype,(function(t,n,r){this.db=e,this._tx=r,this.name=t,this.schema=n,this.hook=e._allTables[t]?e._allTables[t].hook:Dt(null,{creating:[le,oe],reading:[ae,ie],updating:[ue,oe],deleting:[ce,oe]})}))}function Ft(e,t){return!(e.filter||e.algorithm||e.or)&&(t?e.justLimit:!e.replayFilter)}function Ht(e,t){e.filter=St(e.filter,t)}function qt(e,t,n){var r=e.replayFilter;e.replayFilter=r?function(){return St(r(),t())}:t,e.justLimit=n&&!r}function Ut(e,t){e.isMatch=St(e.isMatch,t)}function Gt(e,t){if(e.isPrimKey)return t.primaryKey;var n=t.getIndexByKeyPath(e.index);if(!n)throw new ee.Schema("KeyPath "+e.index+" on object store "+t.name+" is not indexed");return n}function Wt(e,t,n){var r=Gt(e,t.schema);return t.openCursor({trans:n,values:!e.keysOnly,reverse:"prev"===e.dir,unique:!!e.unique,query:{index:r,range:e.range}})}function Qt(e,t,n,r){var o=e.replayFilter?St(e.filter,e.replayFilter()):e.filter;if(e.or){var i={},a=function(e,n,r){if(!o||o(n,r,(function(e){return n.stop(e)}),(function(e){return n.fail(e)}))){var a=n.primaryKey,s=""+a;"[object ArrayBuffer]"===s&&(s=""+new Uint8Array(a)),u(i,s)||(i[s]=!0,t(e,n,r))}};return Promise.all([e.or._iterate(a,n),Yt(Wt(e,r,n),e.algorithm,a,!e.keysOnly&&e.valueMapper)])}return Yt(Wt(e,r,n),St(e.algorithm,o),t,!e.keysOnly&&e.valueMapper)}function Yt(e,t,n,r){var o=Xe(r?function(e,t,o){return n(r(e),t,o)}:n);return e.then((function(e){if(e)return e.start((function(){var n=function(){return e.continue()};t&&!t(e,(function(e){return n=e}),(function(t){e.stop(t),n=oe}),(function(t){e.fail(t),n=oe}))||o(e.value,e,(function(e){return n=e})),n()}))}))}var Vt=function(){function e(e){this["@@propmod"]=e}return e.prototype.execute=function(e){var t,n=this["@@propmod"];if(void 0!==n.add){var o=n.add;if(a(o))return r(r([],a(e)?e:[],!0),o).sort();if("number"==typeof o)return(Number(e)||0)+o;if("bigint"==typeof o)try{return BigInt(e)+o}catch(e){return BigInt(0)+o}throw new TypeError("Invalid term ".concat(o))}if(void 0!==n.remove){var i=n.remove;if(a(i))return a(e)?e.filter((function(e){return!i.includes(e)})).sort():[];if("number"==typeof i)return Number(e)-i;if("bigint"==typeof i)try{return BigInt(e)-i}catch(e){return BigInt(0)-i}throw new TypeError("Invalid subtrahend ".concat(i))}var s=null===(t=n.replacePrefix)||void 0===t?void 0:t[0];return s&&"string"==typeof e&&e.startsWith(s)?n.replacePrefix[1]+e.substring(s.length):e},e}(),Zt=function(){function e(){}return e.prototype._read=function(e,t){var n=this._ctx;return n.error?n.table._trans(null,gt.bind(null,n.error)):n.table._trans("readonly",e).then(t)},e.prototype._write=function(e){var t=this._ctx;return t.error?t.table._trans(null,gt.bind(null,t.error)):t.table._trans("readwrite",e,"locked")},e.prototype._addAlgorithm=function(e){var t=this._ctx;t.algorithm=St(t.algorithm,e)},e.prototype._iterate=function(e,t){return Qt(this._ctx,e,t,this._ctx.table.core)},e.prototype.clone=function(e){var t=Object.create(this.constructor.prototype),n=Object.create(this._ctx);return e&&s(n,e),t._ctx=n,t},e.prototype.raw=function(){return this._ctx.valueMapper=null,this},e.prototype.each=function(e){var t=this._ctx;return this._read((function(n){return Qt(t,e,n,t.table.core)}))},e.prototype.count=function(e){var t=this;return this._read((function(e){var n=t._ctx,r=n.table.core;if(Ft(n,!0))return r.count({trans:e,query:{index:Gt(n,r.schema),range:n.range}}).then((function(e){return Math.min(e,n.limit)}));var o=0;return Qt(n,(function(){return++o,!1}),e,r).then((function(){return o}))})).then(e)},e.prototype.sortBy=function(e,t){var n=e.split(".").reverse(),r=n[0],o=n.length-1;function i(e,t){return t?i(e[n[t]],t-1):e[r]}var a="next"===this._ctx.dir?1:-1;function s(e,t){return Tt(i(e,o),i(t,o))*a}return this.toArray((function(e){return e.sort(s)})).then(t)},e.prototype.toArray=function(e){var t=this;return this._read((function(e){var n=t._ctx;if("next"===n.dir&&Ft(n,!0)&&n.limit>0){var r=n.valueMapper,o=Gt(n,n.table.core.schema);return n.table.core.query({trans:e,limit:n.limit,values:!0,query:{index:o,range:n.range}}).then((function(e){var t=e.result;return r?t.map(r):t}))}var i=[];return Qt(n,(function(e){return i.push(e)}),e,n.table.core).then((function(){return i}))}),e)},e.prototype.offset=function(e){var t=this._ctx;return e<=0||(t.offset+=e,Ft(t)?qt(t,(function(){var t=e;return function(e,n){return 0===t||(1===t?(--t,!1):(n((function(){e.advance(t),t=0})),!1))}})):qt(t,(function(){var t=e;return function(){return--t<0}}))),this},e.prototype.limit=function(e){return this._ctx.limit=Math.min(this._ctx.limit,e),qt(this._ctx,(function(){var t=e;return function(e,n,r){return--t<=0&&n(r),t>=0}}),!0),this},e.prototype.until=function(e,t){return Ht(this._ctx,(function(n,r,o){return!e(n.value)||(r(o),t)})),this},e.prototype.first=function(e){return this.limit(1).toArray((function(e){return e[0]})).then(e)},e.prototype.last=function(e){return this.reverse().first(e)},e.prototype.filter=function(e){return Ht(this._ctx,(function(t){return e(t.value)})),Ut(this._ctx,e),this},e.prototype.and=function(e){return this.filter(e)},e.prototype.or=function(e){return new this.db.WhereClause(this._ctx.table,e,this)},e.prototype.reverse=function(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},e.prototype.desc=function(){return this.reverse()},e.prototype.eachKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each((function(t,n){e(n.key,n)}))},e.prototype.eachUniqueKey=function(e){return this._ctx.unique="unique",this.eachKey(e)},e.prototype.eachPrimaryKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each((function(t,n){e(n.primaryKey,n)}))},e.prototype.keys=function(e){var t=this._ctx;t.keysOnly=!t.isMatch;var n=[];return this.each((function(e,t){n.push(t.key)})).then((function(){return n})).then(e)},e.prototype.primaryKeys=function(e){var t=this._ctx;if("next"===t.dir&&Ft(t,!0)&&t.limit>0)return this._read((function(e){var n=Gt(t,t.table.core.schema);return t.table.core.query({trans:e,values:!1,limit:t.limit,query:{index:n,range:t.range}})})).then((function(e){return e.result})).then(e);t.keysOnly=!t.isMatch;var n=[];return this.each((function(e,t){n.push(t.primaryKey)})).then((function(){return n})).then(e)},e.prototype.uniqueKeys=function(e){return this._ctx.unique="unique",this.keys(e)},e.prototype.firstKey=function(e){return this.limit(1).keys((function(e){return e[0]})).then(e)},e.prototype.lastKey=function(e){return this.reverse().firstKey(e)},e.prototype.distinct=function(){var e=this._ctx,t=e.index&&e.table.schema.idxByName[e.index];if(!t||!t.multi)return this;var n={};return Ht(this._ctx,(function(e){var t=e.primaryKey.toString(),r=u(n,t);return n[t]=!0,!r})),this},e.prototype.modify=function(e){var t=this,n=this._ctx;return this._write((function(r){var o;if("function"==typeof e)o=e;else{var a=i(e),s=a.length;o=function(t){for(var n=!1,r=0;r<s;++r){var o=a[r],i=e[o],l=_(t,o);i instanceof Vt?(A(t,o,i.execute(l)),n=!0):l!==i&&(A(t,o,i),n=!0)}return n}}var l=n.table.core,c=l.schema.primaryKey,u=c.outbound,d=c.extractKey,m=200,p=t.db._options.modifyChunkSize;p&&(m="object"==typeof p?p[l.name]||p["*"]||200:p);var h=[],f=0,g=[],v=function(e,t){var n=t.failures,r=t.numFailures;f+=e-r;for(var o=0,a=i(n);o<a.length;o++){var s=a[o];h.push(n[s])}};return t.clone().primaryKeys().then((function(t){var i=Ft(n)&&n.limit===1/0&&("function"!=typeof e||e===Kt)&&{index:n.index,range:n.range},a=function(n){var s=Math.min(m,t.length-n);return l.getMany({trans:r,keys:t.slice(n,n+s),cache:"immutable"}).then((function(c){for(var p=[],h=[],f=u?[]:null,g=[],y=0;y<s;++y){var x=c[y],b={value:L(x),primKey:t[n+y]};!1!==o.call(b,b.value,b)&&(null==b.value?g.push(t[n+y]):u||0===Tt(d(x),d(b.value))?(h.push(b.value),u&&f.push(t[n+y])):(g.push(t[n+y]),p.push(b.value)))}return Promise.resolve(p.length>0&&l.mutate({trans:r,type:"add",values:p}).then((function(e){for(var t in e.failures)g.splice(parseInt(t),1);v(p.length,e)}))).then((function(){return(h.length>0||i&&"object"==typeof e)&&l.mutate({trans:r,type:"put",keys:f,values:h,criteria:i,changeSpec:"function"!=typeof e&&e,isAdditionalChunk:n>0}).then((function(e){return v(h.length,e)}))})).then((function(){return(g.length>0||i&&e===Kt)&&l.mutate({trans:r,type:"delete",keys:g,criteria:i,isAdditionalChunk:n>0}).then((function(e){return v(g.length,e)}))})).then((function(){return t.length>n+s&&a(n+m)}))}))};return a(0).then((function(){if(h.length>0)throw new K("Error modifying one or more objects",h,f,g);return t.length}))}))}))},e.prototype.delete=function(){var e=this._ctx,t=e.range;return Ft(e)&&(e.isPrimKey||3===t.type)?this._write((function(n){var r=e.table.core.schema.primaryKey,o=t;return e.table.core.count({trans:n,query:{index:r,range:o}}).then((function(t){return e.table.core.mutate({trans:n,type:"deleteRange",range:o}).then((function(e){var n=e.failures;e.lastResult,e.results;var r=e.numFailures;if(r)throw new K("Could not delete some values",Object.keys(n).map((function(e){return n[e]})),t-r);return t-r}))}))})):this.modify(Kt)},e}(),Kt=function(e,t){return t.value=null};function Jt(e){return Rt(Zt.prototype,(function(t,n){this.db=e;var r=kt,o=null;if(n)try{r=n()}catch(e){o=e}var i=t._ctx,a=i.table,s=a.hook.reading.fire;this._ctx={table:a,index:i.index,isPrimKey:!i.index||a.schema.primKey.keyPath&&i.index===a.schema.primKey.name,range:r,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:o,or:i.or,valueMapper:s!==ie?s:null}}))}function Xt(e,t){return e<t?-1:e===t?0:1}function $t(e,t){return e>t?-1:e===t?0:1}function en(e,t,n){var r=e instanceof cn?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function tn(e){return new e.Collection(e,(function(){return ln("")})).limit(0)}function nn(e){return"next"===e?function(e){return e.toUpperCase()}:function(e){return e.toLowerCase()}}function rn(e){return"next"===e?function(e){return e.toLowerCase()}:function(e){return e.toUpperCase()}}function on(e,t,n,r,o,i){for(var a=Math.min(e.length,r.length),s=-1,l=0;l<a;++l){var c=t[l];if(c!==r[l])return o(e[l],n[l])<0?e.substr(0,l)+n[l]+n.substr(l+1):o(e[l],r[l])<0?e.substr(0,l)+r[l]+n.substr(l+1):s>=0?e.substr(0,s)+t[s]+n.substr(s+1):null;o(e[l],c)<0&&(s=l)}return a<r.length&&"next"===i?e+n.substr(e.length):a<e.length&&"prev"===i?e.substr(0,n.length):s<0?null:e.substr(0,s)+r[s]+n.substr(s+1)}function an(e,t,n,r){var o,i,a,s,l,c,u,d=n.length;if(!n.every((function(e){return"string"==typeof e})))return en(e,It);function m(e){o=nn(e),i=rn(e),a="next"===e?Xt:$t;var t=n.map((function(e){return{lower:i(e),upper:o(e)}})).sort((function(e,t){return a(e.lower,t.lower)}));s=t.map((function(e){return e.upper})),l=t.map((function(e){return e.lower})),c=e,u="next"===e?"":r}m("next");var p=new e.Collection(e,(function(){return sn(s[0],l[d-1]+r)}));p._ondirectionchange=function(e){m(e)};var h=0;return p._addAlgorithm((function(e,n,r){var o=e.key;if("string"!=typeof o)return!1;var m=i(o);if(t(m,l,h))return!0;for(var p=null,f=h;f<d;++f){var g=on(o,m,s[f],l[f],a,c);null===g&&null===p?h=f+1:(null===p||a(p,g)>0)&&(p=g)}return n(null!==p?function(){e.continue(p+u)}:r),!1})),p}function sn(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function ln(e){return{type:1,lower:e,upper:e}}var cn=function(){function e(){}return Object.defineProperty(e.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!1,configurable:!0}),e.prototype.between=function(e,t,n,r){n=!1!==n,r=!0===r;try{return this._cmp(e,t)>0||0===this._cmp(e,t)&&(n||r)&&(!n||!r)?tn(this):new this.Collection(this,(function(){return sn(e,t,!n,!r)}))}catch(e){return en(this,Ct)}},e.prototype.equals=function(e){return null==e?en(this,Ct):new this.Collection(this,(function(){return ln(e)}))},e.prototype.above=function(e){return null==e?en(this,Ct):new this.Collection(this,(function(){return sn(e,void 0,!0)}))},e.prototype.aboveOrEqual=function(e){return null==e?en(this,Ct):new this.Collection(this,(function(){return sn(e,void 0,!1)}))},e.prototype.below=function(e){return null==e?en(this,Ct):new this.Collection(this,(function(){return sn(void 0,e,!1,!0)}))},e.prototype.belowOrEqual=function(e){return null==e?en(this,Ct):new this.Collection(this,(function(){return sn(void 0,e)}))},e.prototype.startsWith=function(e){return"string"!=typeof e?en(this,It):this.between(e,e+xt,!0,!0)},e.prototype.startsWithIgnoreCase=function(e){return""===e?this.startsWith(e):an(this,(function(e,t){return 0===e.indexOf(t[0])}),[e],xt)},e.prototype.equalsIgnoreCase=function(e){return an(this,(function(e,t){return e===t[0]}),[e],"")},e.prototype.anyOfIgnoreCase=function(){var e=U.apply(q,arguments);return 0===e.length?tn(this):an(this,(function(e,t){return-1!==t.indexOf(e)}),e,"")},e.prototype.startsWithAnyOfIgnoreCase=function(){var e=U.apply(q,arguments);return 0===e.length?tn(this):an(this,(function(e,t){return t.some((function(t){return 0===e.indexOf(t)}))}),e,xt)},e.prototype.anyOf=function(){var e=this,t=U.apply(q,arguments),n=this._cmp;try{t.sort(n)}catch(e){return en(this,Ct)}if(0===t.length)return tn(this);var r=new this.Collection(this,(function(){return sn(t[0],t[t.length-1])}));r._ondirectionchange=function(r){n="next"===r?e._ascending:e._descending,t.sort(n)};var o=0;return r._addAlgorithm((function(e,r,i){for(var a=e.key;n(a,t[o])>0;)if(++o===t.length)return r(i),!1;return 0===n(a,t[o])||(r((function(){e.continue(t[o])})),!1)})),r},e.prototype.notEqual=function(e){return this.inAnyRange([[bt,e],[e,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},e.prototype.noneOf=function(){var e=U.apply(q,arguments);if(0===e.length)return new this.Collection(this);try{e.sort(this._ascending)}catch(e){return en(this,Ct)}var t=e.reduce((function(e,t){return e?e.concat([[e[e.length-1][1],t]]):[[bt,t]]}),null);return t.push([e[e.length-1],this.db._maxKey]),this.inAnyRange(t,{includeLowers:!1,includeUppers:!1})},e.prototype.inAnyRange=function(e,t){var n=this,r=this._cmp,o=this._ascending,i=this._descending,a=this._min,s=this._max;if(0===e.length)return tn(this);if(!e.every((function(e){return void 0!==e[0]&&void 0!==e[1]&&o(e[0],e[1])<=0})))return en(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",ee.InvalidArgument);var l=!t||!1!==t.includeLowers,c=t&&!0===t.includeUppers;function u(e,t){for(var n=0,o=e.length;n<o;++n){var i=e[n];if(r(t[0],i[1])<0&&r(t[1],i[0])>0){i[0]=a(i[0],t[0]),i[1]=s(i[1],t[1]);break}}return n===o&&e.push(t),e}var d,m=o;function p(e,t){return m(e[0],t[0])}try{(d=e.reduce(u,[])).sort(p)}catch(e){return en(this,Ct)}var h=0,f=c?function(e){return o(e,d[h][1])>0}:function(e){return o(e,d[h][1])>=0},g=l?function(e){return i(e,d[h][0])>0}:function(e){return i(e,d[h][0])>=0};function v(e){return!f(e)&&!g(e)}var y=f,x=new this.Collection(this,(function(){return sn(d[0][0],d[d.length-1][1],!l,!c)}));return x._ondirectionchange=function(e){"next"===e?(y=f,m=o):(y=g,m=i),d.sort(p)},x._addAlgorithm((function(e,t,r){for(var i=e.key;y(i);)if(++h===d.length)return t(r),!1;return!!v(i)||(0===n._cmp(i,d[h][1])||0===n._cmp(i,d[h][0])||t((function(){m===o?e.continue(d[h][0]):e.continue(d[h][1])})),!1)})),x},e.prototype.startsWithAnyOf=function(){var e=U.apply(q,arguments);return e.every((function(e){return"string"==typeof e}))?0===e.length?tn(this):this.inAnyRange(e.map((function(e){return[e,e+xt]}))):en(this,"startsWithAnyOf() only works with strings")},e}();function un(e){return Rt(cn.prototype,(function(t,n,r){if(this.db=e,this._ctx={table:t,index:":id"===n?null:n,or:r},this._cmp=this._ascending=Tt,this._descending=function(e,t){return Tt(t,e)},this._max=function(e,t){return Tt(e,t)>0?e:t},this._min=function(e,t){return Tt(e,t)<0?e:t},this._IDBKeyRange=e._deps.IDBKeyRange,!this._IDBKeyRange)throw new ee.MissingAPI}))}function dn(e){return Xe((function(t){return mn(t),e(t.target.error),!1}))}function mn(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var pn="storagemutated",hn="x-storagemutated-1",fn=Dt(null,pn),gn=function(){function e(){}return e.prototype._lock=function(){return b(!Pe.global),++this._reculock,1!==this._reculock||Pe.global||(Pe.lockOwnerFor=this),this},e.prototype._unlock=function(){if(b(!Pe.global),0==--this._reculock)for(Pe.global||(Pe.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var e=this._blockedFuncs.shift();try{pt(e[1],e[0])}catch(e){}}return this},e.prototype._locked=function(){return this._reculock&&Pe.lockOwnerFor!==this},e.prototype.create=function(e){var t=this;if(!this.mode)return this;var n=this.db.idbdb,r=this.db._state.dbOpenError;if(b(!this.idbtrans),!e&&!n)switch(r&&r.name){case"DatabaseClosedError":throw new ee.DatabaseClosed(r);case"MissingAPIError":throw new ee.MissingAPI(r.message,r);default:throw new ee.OpenFailed(r)}if(!this.active)throw new ee.TransactionInactive;return b(null===this._completion._state),(e=this.idbtrans=e||(this.db.core?this.db.core.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}):n.transaction(this.storeNames,this.mode,{durability:this.chromeTransactionDurability}))).onerror=Xe((function(n){mn(n),t._reject(e.error)})),e.onabort=Xe((function(n){mn(n),t.active&&t._reject(new ee.Abort(e.error)),t.active=!1,t.on("abort").fire(n)})),e.oncomplete=Xe((function(){t.active=!1,t._resolve(),"mutatedParts"in e&&fn.storagemutated.fire(e.mutatedParts)})),this},e.prototype._promise=function(e,t,n){var r=this;if("readwrite"===e&&"readwrite"!==this.mode)return gt(new ee.ReadOnly("Transaction is readonly"));if(!this.active)return gt(new ee.TransactionInactive);if(this._locked())return new Be((function(o,i){r._blockedFuncs.push([function(){r._promise(e,t,n).then(o,i)},Pe])}));if(n)return it((function(){var e=new Be((function(e,n){r._lock();var o=t(e,n,r);o&&o.then&&o.then(e,n)}));return e.finally((function(){return r._unlock()})),e._lib=!0,e}));var o=new Be((function(e,n){var o=t(e,n,r);o&&o.then&&o.then(e,n)}));return o._lib=!0,o},e.prototype._root=function(){return this.parent?this.parent._root():this},e.prototype.waitFor=function(e){var t=this._root(),n=Be.resolve(e);if(t._waitingFor)t._waitingFor=t._waitingFor.then((function(){return n}));else{t._waitingFor=n,t._waitingQueue=[];var r=t.idbtrans.objectStore(t.storeNames[0]);!function e(){for(++t._spinCount;t._waitingQueue.length;)t._waitingQueue.shift()();t._waitingFor&&(r.get(-1/0).onsuccess=e)}()}var o=t._waitingFor;return new Be((function(e,r){n.then((function(n){return t._waitingQueue.push(Xe(e.bind(null,n)))}),(function(e){return t._waitingQueue.push(Xe(r.bind(null,e)))})).finally((function(){t._waitingFor===o&&(t._waitingFor=null)}))}))},e.prototype.abort=function(){this.active&&(this.active=!1,this.idbtrans&&this.idbtrans.abort(),this._reject(new ee.Abort))},e.prototype.table=function(e){var t=this._memoizedTables||(this._memoizedTables={});if(u(t,e))return t[e];var n=this.schema[e];if(!n)throw new ee.NotFound("Table "+e+" not part of transaction");var r=new this.db.Table(e,n,this);return r.core=this.db.core.table(e),t[e]=r,r},e}();function vn(e){return Rt(gn.prototype,(function(t,n,r,o,i){var a=this;this.db=e,this.mode=t,this.storeNames=n,this.schema=r,this.chromeTransactionDurability=o,this.idbtrans=null,this.on=Dt(this,"complete","error","abort"),this.parent=i||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new Be((function(e,t){a._resolve=e,a._reject=t})),this._completion.then((function(){a.active=!1,a.on.complete.fire()}),(function(e){var t=a.active;return a.active=!1,a.on.error.fire(e),a.parent?a.parent._reject(e):t&&a.idbtrans&&a.idbtrans.abort(),gt(e)}))}))}function yn(e,t,n,r,o,i,a){return{name:e,keyPath:t,unique:n,multi:r,auto:o,compound:i,src:(n&&!a?"&":"")+(r?"*":"")+(o?"++":"")+xn(t)}}function xn(e){return"string"==typeof e?e:e?"["+[].join.call(e,"+")+"]":""}function bn(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:E(n,(function(e){return[e.name,e]}))}}function Cn(e){return 1===e.length?e[0]:e}var In=function(e){try{return e.only([[]]),In=function(){return[[]]},[[]]}catch(e){return In=function(){return xt},xt}};function En(e){return null==e?function(){}:"string"==typeof e?_n(e):function(t){return _(t,e)}}function _n(e){return 1===e.split(".").length?function(t){return t[e]}:function(t){return _(t,e)}}function An(e){return[].slice.call(e)}var wn=0;function Sn(e){return null==e?":id":"string"==typeof e?e:"[".concat(e.join("+"),"]")}function kn(e,t,n){function r(e,t){var n=An(e.objectStoreNames);return{schema:{name:e.name,tables:n.map((function(e){return t.objectStore(e)})).map((function(e){var t=e.keyPath,n=e.autoIncrement,r=a(t),o=null==t,i={},s={name:e.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:o,compound:r,keyPath:t,autoIncrement:n,unique:!0,extractKey:En(t)},indexes:An(e.indexNames).map((function(t){return e.index(t)})).map((function(e){var t=e.name,n=e.unique,r=e.multiEntry,o=e.keyPath,s={name:t,compound:a(o),keyPath:o,unique:n,multiEntry:r,extractKey:En(o)};return i[Sn(o)]=s,s})),getIndexByKeyPath:function(e){return i[Sn(e)]}};return i[":id"]=s.primaryKey,null!=t&&(i[Sn(t)]=s.primaryKey),s}))},hasGetAll:n.length>0&&"getAll"in t.objectStore(n[0])&&!("undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}function o(e){if(3===e.type)return null;if(4===e.type)throw new Error("Cannot convert never type to IDBKeyRange");var n=e.lower,r=e.upper,o=e.lowerOpen,i=e.upperOpen;return void 0===n?void 0===r?null:t.upperBound(r,!!i):void 0===r?t.lowerBound(n,!!o):t.bound(n,r,!!o,!!i)}function i(e){var t=e.name;function n(e){var n=e.trans,r=e.type,i=e.keys,a=e.values,s=e.range;return new Promise((function(e,l){e=Xe(e);var c=n.objectStore(t),u=null==c.keyPath,d="put"===r||"add"===r;if(!d&&"delete"!==r&&"deleteRange"!==r)throw new Error("Invalid operation type: "+r);var m,p=(i||a||{length:1}).length;if(i&&a&&i.length!==a.length)throw new Error("Given keys array must have same length as given values array.");if(0===p)return e({numFailures:0,failures:{},results:[],lastResult:void 0});var h=[],f=[],g=0,v=function(e){++g,mn(e)};if("deleteRange"===r){if(4===s.type)return e({numFailures:g,failures:f,results:[],lastResult:void 0});3===s.type?h.push(m=c.clear()):h.push(m=c.delete(o(s)))}else{var y=d?u?[a,i]:[a,null]:[i,null],x=y[0],b=y[1];if(d)for(var C=0;C<p;++C)h.push(m=b&&void 0!==b[C]?c[r](x[C],b[C]):c[r](x[C])),m.onerror=v;else for(C=0;C<p;++C)h.push(m=c[r](x[C])),m.onerror=v}var I=function(t){var n=t.target.result;h.forEach((function(e,t){return null!=e.error&&(f[t]=e.error)})),e({numFailures:g,failures:f,results:"delete"===r?i:h.map((function(e){return e.result})),lastResult:n})};m.onerror=function(e){v(e),I(e)},m.onsuccess=I}))}function r(e){var n=e.trans,r=e.values,i=e.query,a=e.reverse,s=e.unique;return new Promise((function(e,l){e=Xe(e);var c=i.index,u=i.range,d=n.objectStore(t),m=c.isPrimaryKey?d:d.index(c.name),p=a?s?"prevunique":"prev":s?"nextunique":"next",h=r||!("openKeyCursor"in m)?m.openCursor(o(u),p):m.openKeyCursor(o(u),p);h.onerror=dn(l),h.onsuccess=Xe((function(t){var r=h.result;if(r){r.___id=++wn,r.done=!1;var o=r.continue.bind(r),i=r.continuePrimaryKey;i&&(i=i.bind(r));var a=r.advance.bind(r),s=function(){throw new Error("Cursor not started")},c=function(){throw new Error("Cursor not stopped")};r.trans=n,r.stop=r.continue=r.continuePrimaryKey=r.advance=s,r.fail=Xe(l),r.next=function(){var e=this,t=1;return this.start((function(){return t--?e.continue():e.stop()})).then((function(){return e}))},r.start=function(e){var t=new Promise((function(e,t){e=Xe(e),h.onerror=dn(t),r.fail=t,r.stop=function(t){r.stop=r.continue=r.continuePrimaryKey=r.advance=c,e(t)}})),n=function(){if(h.result)try{e()}catch(e){r.fail(e)}else r.done=!0,r.start=function(){throw new Error("Cursor behind last entry")},r.stop()};return h.onsuccess=Xe((function(e){h.onsuccess=n,n()})),r.continue=o,r.continuePrimaryKey=i,r.advance=a,n(),t},e(r)}else e(null)}),l)}))}function i(e){return function(n){return new Promise((function(r,i){r=Xe(r);var a=n.trans,s=n.values,l=n.limit,c=n.query,u=l===1/0?void 0:l,d=c.index,m=c.range,p=a.objectStore(t),h=d.isPrimaryKey?p:p.index(d.name),f=o(m);if(0===l)return r({result:[]});if(e){var g=s?h.getAll(f,u):h.getAllKeys(f,u);g.onsuccess=function(e){return r({result:e.target.result})},g.onerror=dn(i)}else{var v=0,y=s||!("openKeyCursor"in h)?h.openCursor(f):h.openKeyCursor(f),x=[];y.onsuccess=function(e){var t=y.result;return t?(x.push(s?t.value:t.primaryKey),++v===l?r({result:x}):void t.continue()):r({result:x})},y.onerror=dn(i)}}))}}return{name:t,schema:e,mutate:n,getMany:function(e){var n=e.trans,r=e.keys;return new Promise((function(e,o){e=Xe(e);for(var i,a=n.objectStore(t),s=r.length,l=new Array(s),c=0,u=0,d=function(t){var n=t.target;l[n._pos]=n.result,++u===c&&e(l)},m=dn(o),p=0;p<s;++p)null!=r[p]&&((i=a.get(r[p]))._pos=p,i.onsuccess=d,i.onerror=m,++c);0===c&&e(l)}))},get:function(e){var n=e.trans,r=e.key;return new Promise((function(e,o){e=Xe(e);var i=n.objectStore(t).get(r);i.onsuccess=function(t){return e(t.target.result)},i.onerror=dn(o)}))},query:i(c),openCursor:r,count:function(e){var n=e.query,r=e.trans,i=n.index,a=n.range;return new Promise((function(e,n){var s=r.objectStore(t),l=i.isPrimaryKey?s:s.index(i.name),c=o(a),u=c?l.count(c):l.count();u.onsuccess=Xe((function(t){return e(t.target.result)})),u.onerror=dn(n)}))}}}var s=r(e,n),l=s.schema,c=s.hasGetAll,u=l.tables.map((function(e){return i(e)})),d={};return u.forEach((function(e){return d[e.name]=e})),{stack:"dbcore",transaction:e.transaction.bind(e),table:function(e){if(!d[e])throw new Error("Table '".concat(e,"' not found"));return d[e]},MIN_KEY:-1/0,MAX_KEY:In(t),schema:l}}function jn(e,t){return t.reduce((function(e,t){var r=t.create;return n(n({},e),r(e))}),e)}function Nn(e,t,n,r){var o=n.IDBKeyRange;return n.indexedDB,{dbcore:jn(kn(t,o,r),e.dbcore)}}function Tn(e,t){var n=t.db,r=Nn(e._middlewares,n,e._deps,t);e.core=r.dbcore,e.tables.forEach((function(t){var n=t.name;e.core.schema.tables.some((function(e){return e.name===n}))&&(t.core=e.core.table(n),e[n]instanceof e.Table&&(e[n].core=t.core))}))}function Pn(e,t,n,r){n.forEach((function(n){var o=r[n];t.forEach((function(t){var r=g(t,n);(!r||"value"in r&&void 0===r.value)&&(t===e.Transaction.prototype||t instanceof e.Transaction?p(t,n,{get:function(){return this.table(n)},set:function(e){m(this,n,{value:e,writable:!0,configurable:!0,enumerable:!0})}}):t[n]=new e.Table(n,o))}))}))}function On(e,t){t.forEach((function(t){for(var n in t)t[n]instanceof e.Table&&delete t[n]}))}function Mn(e,t){return e._cfg.version-t._cfg.version}function Ln(e,t,n,r){var o=e._dbSchema;n.objectStoreNames.contains("$meta")&&!o.$meta&&(o.$meta=bn("$meta",Vn("")[0],[]),e._storeNames.push("$meta"));var a=e._createTransaction("readwrite",e._storeNames,o);a.create(n),a._completion.catch(r);var s=a._reject.bind(a),l=Pe.transless||Pe;it((function(){if(Pe.trans=a,Pe.transless=l,0!==t)return Tn(e,n),Dn(e,a,t).then((function(t){return Rn(e,t,a,n)})).catch(s);i(o).forEach((function(e){Fn(n,e,o[e].primKey,o[e].indexes)})),Tn(e,n),Be.follow((function(){return e.on.populate.fire(a)})).catch(s)}))}function Bn(e,t){Hn(e._dbSchema,t),t.db.version%10!=0||t.objectStoreNames.contains("$meta")||t.db.createObjectStore("$meta").add(Math.ceil(t.db.version/10-1),"version");var n=Gn(e,e.idbdb,t);Yn(e,e._dbSchema,t);for(var r=function(e){if(e.change.length||e.recreate)return console.warn("Unable to patch indexes of table ".concat(e.name," because it has changes on the type of index or primary key.")),{value:void 0};var n=t.objectStore(e.name);e.add.forEach((function(t){pe&&console.debug("Dexie upgrade patch: Creating missing index ".concat(e.name,".").concat(t.src)),Un(n,t)}))},o=0,i=zn(n,e._dbSchema).change;o<i.length;o++){var a=r(i[o]);if("object"==typeof a)return a.value}}function Dn(e,t,n){return t.storeNames.includes("$meta")?t.table("$meta").get("version").then((function(e){return null!=e?e:n})):Be.resolve(n)}function Rn(e,t,n,r){var o=[],a=e._versions,s=e._dbSchema=Gn(e,e.idbdb,r),l=a.filter((function(e){return e._cfg.version>=t}));if(0===l.length)return Be.resolve();function c(){return o.length?Be.resolve(o.shift()(n.idbtrans)).then(c):Be.resolve()}return l.forEach((function(a){o.push((function(){var o=s,l=a._cfg.dbschema;Yn(e,o,r),Yn(e,l,r),s=e._dbSchema=l;var c=zn(o,l);c.add.forEach((function(e){Fn(r,e[0],e[1].primKey,e[1].indexes)})),c.change.forEach((function(e){if(e.recreate)throw new ee.Upgrade("Not yet support for changing primary key");var t=r.objectStore(e.name);e.add.forEach((function(e){return Un(t,e)})),e.change.forEach((function(e){t.deleteIndex(e.name),Un(t,e)})),e.del.forEach((function(e){return t.deleteIndex(e)}))}));var u=a._cfg.contentUpgrade;if(u&&a._cfg.version>t){Tn(e,r),n._memoizedTables={};var d=S(l);c.del.forEach((function(e){d[e]=o[e]})),On(e,[e.Transaction.prototype]),Pn(e,[e.Transaction.prototype],i(d),d),n.schema=d;var m,p=G(u);p&&at();var h=Be.follow((function(){if((m=u(n))&&p){var e=st.bind(null,null);m.then(e,e)}}));return m&&"function"==typeof m.then?Be.resolve(m):h.then((function(){return m}))}})),o.push((function(t){qn(a._cfg.dbschema,t),On(e,[e.Transaction.prototype]),Pn(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),n.schema=e._dbSchema})),o.push((function(t){e.idbdb.objectStoreNames.contains("$meta")&&(Math.ceil(e.idbdb.version/10)===a._cfg.version?(e.idbdb.deleteObjectStore("$meta"),delete e._dbSchema.$meta,e._storeNames=e._storeNames.filter((function(e){return"$meta"!==e}))):t.objectStore("$meta").put(a._cfg.version,"version"))}))})),c().then((function(){Hn(s,r)}))}function zn(e,t){var n,r={del:[],add:[],change:[]};for(n in e)t[n]||r.del.push(n);for(n in t){var o=e[n],i=t[n];if(o){var a={name:n,def:i,recreate:!1,del:[],add:[],change:[]};if(""+(o.primKey.keyPath||"")!=""+(i.primKey.keyPath||"")||o.primKey.auto!==i.primKey.auto)a.recreate=!0,r.change.push(a);else{var s=o.idxByName,l=i.idxByName,c=void 0;for(c in s)l[c]||a.del.push(c);for(c in l){var u=s[c],d=l[c];u?u.src!==d.src&&a.change.push(d):a.add.push(d)}(a.del.length>0||a.add.length>0||a.change.length>0)&&r.change.push(a)}}else r.add.push([n,i])}return r}function Fn(e,t,n,r){var o=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach((function(e){return Un(o,e)})),o}function Hn(e,t){i(e).forEach((function(n){t.db.objectStoreNames.contains(n)||(pe&&console.debug("Dexie: Creating missing table",n),Fn(t,n,e[n].primKey,e[n].indexes))}))}function qn(e,t){[].slice.call(t.db.objectStoreNames).forEach((function(n){return null==e[n]&&t.db.deleteObjectStore(n)}))}function Un(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function Gn(e,t,n){var r={};return y(t.objectStoreNames,0).forEach((function(e){for(var t=n.objectStore(e),o=t.keyPath,i=yn(xn(o),o||"",!0,!1,!!t.autoIncrement,o&&"string"!=typeof o,!0),a=[],s=0;s<t.indexNames.length;++s){var l=t.index(t.indexNames[s]);o=l.keyPath;var c=yn(l.name,o,!!l.unique,!!l.multiEntry,!1,o&&"string"!=typeof o,!1);a.push(c)}r[e]=bn(e,i,a)})),r}function Wn(e,t,n){e.verno=t.version/10;var r=e._dbSchema=Gn(e,t,n);e._storeNames=y(t.objectStoreNames,0),Pn(e,[e._allTables],i(r),r)}function Qn(e,t){var n=zn(Gn(e,e.idbdb,t),e._dbSchema);return!(n.add.length||n.change.some((function(e){return e.add.length||e.change.length})))}function Yn(e,t,n){for(var r=n.db.objectStoreNames,i=0;i<r.length;++i){var a=r[i],s=n.objectStore(a);e._hasGetAll="getAll"in s;for(var l=0;l<s.indexNames.length;++l){var c=s.indexNames[l],u=s.index(c).keyPath,d="string"==typeof u?u:"["+y(u).join("+")+"]";if(t[a]){var m=t[a].idxByName[d];m&&(m.name=c,delete t[a].idxByName[d],t[a].idxByName[c]=m)}}}"undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&o.WorkerGlobalScope&&o instanceof o.WorkerGlobalScope&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604&&(e._hasGetAll=!1)}function Vn(e){return e.split(",").map((function(e,t){var n=(e=e.trim()).replace(/([&*]|\+\+)/g,""),r=/^\[/.test(n)?n.match(/^\[(.*)\]$/)[1].split("+"):n;return yn(n,r||null,/\&/.test(e),/\*/.test(e),/\+\+/.test(e),a(r),0===t)}))}var Zn,Kn=function(){function e(){}return e.prototype._parseStoresSpec=function(e,t){i(e).forEach((function(n){if(null!==e[n]){var r=Vn(e[n]),o=r.shift();if(o.unique=!0,o.multi)throw new ee.Schema("Primary key cannot be multi-valued");r.forEach((function(e){if(e.auto)throw new ee.Schema("Only primary key can be marked as autoIncrement (++)");if(!e.keyPath)throw new ee.Schema("Index must have a name and cannot be an empty string")})),t[n]=bn(n,o,r)}}))},e.prototype.stores=function(e){var t=this.db;this._cfg.storesSource=this._cfg.storesSource?s(this._cfg.storesSource,e):e;var n=t._versions,r={},o={};return n.forEach((function(e){s(r,e._cfg.storesSource),o=e._cfg.dbschema={},e._parseStoresSpec(r,o)})),t._dbSchema=o,On(t,[t._allTables,t,t.Transaction.prototype]),Pn(t,[t._allTables,t,t.Transaction.prototype,this._cfg.tables],i(o),o),t._storeNames=i(o),this},e.prototype.upgrade=function(e){return this._cfg.contentUpgrade=me(this._cfg.contentUpgrade||oe,e),this},e}();function Jn(e){return Rt(Kn.prototype,(function(t){this.db=e,this._cfg={version:t,storesSource:null,dbschema:{},tables:{},contentUpgrade:null}}))}function Xn(e,t){var n=e._dbNamesDB;return n||(n=e._dbNamesDB=new $r(_t,{addons:[],indexedDB:e,IDBKeyRange:t})).version(1).stores({dbnames:"name"}),n.table("dbnames")}function $n(e){return e&&"function"==typeof e.databases}function er(e){var t=e.indexedDB,n=e.IDBKeyRange;return $n(t)?Promise.resolve(t.databases()).then((function(e){return e.map((function(e){return e.name})).filter((function(e){return e!==_t}))})):Xn(t,n).toCollection().primaryKeys()}function tr(e,t){var n=e.indexedDB,r=e.IDBKeyRange;!$n(n)&&t!==_t&&Xn(n,r).put({name:t}).catch(oe)}function nr(e,t){var n=e.indexedDB,r=e.IDBKeyRange;!$n(n)&&t!==_t&&Xn(n,r).delete(t).catch(oe)}function rr(e){return it((function(){return Pe.letThrough=!0,e()}))}function or(){var e;return!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise((function(t){var n=function(){return indexedDB.databases().finally(t)};e=setInterval(n,100),n()})).finally((function(){return clearInterval(e)})):Promise.resolve()}function ir(e){return!("from"in e)}var ar=function(e,t){if(!this){var n=new ar;return e&&"d"in e&&s(n,e),n}s(this,arguments.length?{d:1,from:e,to:arguments.length>1?t:e}:{d:0})};function sr(e,t,n){var r=Tt(t,n);if(!isNaN(r)){if(r>0)throw RangeError();if(ir(e))return s(e,{from:t,to:n,d:1});var o=e.l,i=e.r;if(Tt(n,e.from)<0)return o?sr(o,t,n):e.l={from:t,to:n,d:1,l:null,r:null},dr(e);if(Tt(t,e.to)>0)return i?sr(i,t,n):e.r={from:t,to:n,d:1,l:null,r:null},dr(e);Tt(t,e.from)<0&&(e.from=t,e.l=null,e.d=i?i.d+1:1),Tt(n,e.to)>0&&(e.to=n,e.r=null,e.d=e.l?e.l.d+1:1);var a=!e.r;o&&!e.l&&lr(e,o),i&&a&&lr(e,i)}}function lr(e,t){function n(e,t){var r=t.from,o=t.to,i=t.l,a=t.r;sr(e,r,o),i&&n(e,i),a&&n(e,a)}ir(t)||n(e,t)}function cr(e,t){var n=ur(t),r=n.next();if(r.done)return!1;for(var o=r.value,i=ur(e),a=i.next(o.from),s=a.value;!r.done&&!a.done;){if(Tt(s.from,o.to)<=0&&Tt(s.to,o.from)>=0)return!0;Tt(o.from,s.from)<0?o=(r=n.next(s.from)).value:s=(a=i.next(o.from)).value}return!1}function ur(e){var t=ir(e)?null:{s:0,n:e};return{next:function(e){for(var n=arguments.length>0;t;)switch(t.s){case 0:if(t.s=1,n)for(;t.n.l&&Tt(e,t.n.from)<0;)t={up:t,n:t.n.l,s:1};else for(;t.n.l;)t={up:t,n:t.n.l,s:1};case 1:if(t.s=2,!n||Tt(e,t.n.to)<=0)return{value:t.n,done:!1};case 2:if(t.n.r){t.s=3,t={up:t,n:t.n.r,s:0};continue}case 3:t=t.up}return{done:!0}}}}function dr(e){var t,r,o=((null===(t=e.r)||void 0===t?void 0:t.d)||0)-((null===(r=e.l)||void 0===r?void 0:r.d)||0),i=o>1?"r":o<-1?"l":"";if(i){var a="r"===i?"l":"r",s=n({},e),l=e[i];e.from=l.from,e.to=l.to,e[i]=l[i],s[i]=l[a],e[a]=s,s.d=mr(s)}e.d=mr(e)}function mr(e){var t=e.r,n=e.l;return(t?n?Math.max(t.d,n.d):t.d:n?n.d:0)+1}function pr(e,t){return i(t).forEach((function(n){e[n]?lr(e[n],t[n]):e[n]=P(t[n])})),e}function hr(e,t){return e.all||t.all||Object.keys(e).some((function(n){return t[n]&&cr(t[n],e[n])}))}d(ar.prototype,(Zn={add:function(e){return lr(this,e),this},addKey:function(e){return sr(this,e,e),this},addKeys:function(e){var t=this;return e.forEach((function(e){return sr(t,e,e)})),this},hasKey:function(e){var t=ur(this).next(e).value;return t&&Tt(t.from,e)<=0&&Tt(t.to,e)>=0}},Zn[z]=function(){return ur(this)},Zn));var fr={},gr={},vr=!1;function yr(e,t){pr(gr,e),vr||(vr=!0,setTimeout((function(){vr=!1;var e=gr;gr={},xr(e,!1)}),0))}function xr(e,t){void 0===t&&(t=!1);var n=new Set;if(e.all)for(var r=0,o=Object.values(fr);r<o.length;r++)br(s=o[r],e,n,t);else for(var i in e){var a=/^idb\:\/\/(.*)\/(.*)\//.exec(i);if(a){var s,l=a[1],c=a[2];(s=fr["idb://".concat(l,"/").concat(c)])&&br(s,e,n,t)}}n.forEach((function(e){return e()}))}function br(e,t,n,r){for(var o=[],i=0,a=Object.entries(e.queries.query);i<a.length;i++){for(var s=a[i],l=s[0],c=[],u=0,d=s[1];u<d.length;u++){var m=d[u];hr(t,m.obsSet)?m.subscribers.forEach((function(e){return n.add(e)})):r&&c.push(m)}r&&o.push([l,c])}if(r)for(var p=0,h=o;p<h.length;p++){var f=h[p];l=f[0],c=f[1],e.queries.query[l]=c}}function Cr(e){var t=e._state,n=e._deps.indexedDB;if(t.isBeingOpened||e.idbdb)return t.dbReadyPromise.then((function(){return t.dbOpenError?gt(t.dbOpenError):e}));t.isBeingOpened=!0,t.dbOpenError=null,t.openComplete=!1;var r=t.openCanceller,o=Math.round(10*e.verno),i=!1;function a(){if(t.openCanceller!==r)throw new ee.DatabaseClosed("db.open() was cancelled")}var s=t.dbReadyResolve,l=null,c=!1,u=function(){return new Be((function(r,s){if(a(),!n)throw new ee.MissingAPI;var d=e.name,m=t.autoSchema||!o?n.open(d):n.open(d,o);if(!m)throw new ee.MissingAPI;m.onerror=dn(s),m.onblocked=Xe(e._fireOnBlocked),m.onupgradeneeded=Xe((function(r){if(l=m.transaction,t.autoSchema&&!e._options.allowEmptyDB){m.onerror=mn,l.abort(),m.result.close();var o=n.deleteDatabase(d);o.onsuccess=o.onerror=Xe((function(){s(new ee.NoSuchDatabase("Database ".concat(d," doesnt exist")))}))}else{l.onerror=dn(s);var a=r.oldVersion>Math.pow(2,62)?0:r.oldVersion;c=a<1,e.idbdb=m.result,i&&Bn(e,l),Ln(e,a/10,l,s)}}),s),m.onsuccess=Xe((function(){l=null;var n=e.idbdb=m.result,a=y(n.objectStoreNames);if(a.length>0)try{var s=n.transaction(Cn(a),"readonly");if(t.autoSchema)Wn(e,n,s);else if(Yn(e,e._dbSchema,s),!Qn(e,s)&&!i)return console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Dexie will add missing parts and increment native version number to workaround this."),n.close(),o=n.version+1,i=!0,r(u());Tn(e,s)}catch(e){}Et.push(e),n.onversionchange=Xe((function(n){t.vcFired=!0,e.on("versionchange").fire(n)})),n.onclose=Xe((function(t){e.on("close").fire(t)})),c&&tr(e._deps,d),r()}),s)})).catch((function(e){switch(null==e?void 0:e.name){case"UnknownError":if(t.PR1398_maxLoop>0)return t.PR1398_maxLoop--,console.warn("Dexie: Workaround for Chrome UnknownError on open()"),u();break;case"VersionError":if(o>0)return o=0,u()}return Be.reject(e)}))};return Be.race([r,("undefined"==typeof navigator?Be.resolve():or()).then(u)]).then((function(){return a(),t.onReadyBeingFired=[],Be.resolve(rr((function(){return e.on.ready.fire(e.vip)}))).then((function n(){if(t.onReadyBeingFired.length>0){var r=t.onReadyBeingFired.reduce(me,oe);return t.onReadyBeingFired=[],Be.resolve(rr((function(){return r(e.vip)}))).then(n)}}))})).finally((function(){t.openCanceller===r&&(t.onReadyBeingFired=null,t.isBeingOpened=!1)})).catch((function(n){t.dbOpenError=n;try{l&&l.abort()}catch(e){}return r===t.openCanceller&&e._close(),gt(n)})).finally((function(){t.openComplete=!0,s()})).then((function(){if(c){var t={};e.tables.forEach((function(n){n.schema.indexes.forEach((function(r){r.name&&(t["idb://".concat(e.name,"/").concat(n.name,"/").concat(r.name)]=new ar(-1/0,[[[]]]))})),t["idb://".concat(e.name,"/").concat(n.name,"/")]=t["idb://".concat(e.name,"/").concat(n.name,"/:dels")]=new ar(-1/0,[[[]]])})),fn(pn).fire(t),xr(t,!0)}return e}))}function Ir(e){var t=function(t){return e.next(t)},n=function(t){return e.throw(t)},r=i(t),o=i(n);function i(e){return function(t){var n=e(t),i=n.value;return n.done?i:i&&"function"==typeof i.then?i.then(r,o):a(i)?Promise.all(i).then(r,o):r(i)}}return i(t)()}function Er(e,t,n){var r=arguments.length;if(r<2)throw new ee.InvalidArgument("Too few arguments");for(var o=new Array(r-1);--r;)o[r-1]=arguments[r];return n=o.pop(),[e,j(o),n]}function _r(e,t,n,r,o){return Be.resolve().then((function(){var i=Pe.transless||Pe,a=e._createTransaction(t,n,e._dbSchema,r);a.explicit=!0;var s={trans:a,transless:i};if(r)a.idbtrans=r.idbtrans;else try{a.create(),a.idbtrans._explicit=!0,e._state.PR1398_maxLoop=3}catch(r){return r.name===X.InvalidState&&e.isOpen()&&--e._state.PR1398_maxLoop>0?(console.warn("Dexie: Need to reopen db"),e.close({disableAutoOpen:!1}),e.open().then((function(){return _r(e,t,n,null,o)}))):gt(r)}var l,c=G(o);c&&at();var u=Be.follow((function(){if(l=o.call(a,a))if(c){var e=st.bind(null,null);l.then(e,e)}else"function"==typeof l.next&&"function"==typeof l.throw&&(l=Ir(l))}),s);return(l&&"function"==typeof l.then?Be.resolve(l).then((function(e){return a.active?e:gt(new ee.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))})):u.then((function(){return l}))).then((function(e){return r&&a._resolve(),a._completion.then((function(){return e}))})).catch((function(e){return a._reject(e),gt(e)}))}))}function Ar(e,t,n){for(var r=a(e)?e.slice():[e],o=0;o<n;++o)r.push(t);return r}function wr(e){return n(n({},e),{table:function(t){var r=e.table(t),o=r.schema,i={},a=[];function s(e,t,r){var o=Sn(e),l=i[o]=i[o]||[],c=null==e?0:"string"==typeof e?1:e.length,u=t>0,d=n(n({},r),{name:u?"".concat(o,"(virtual-from:").concat(r.name,")"):r.name,lowLevelIndex:r,isVirtual:u,keyTail:t,keyLength:c,extractKey:En(e),unique:!u&&r.unique});return l.push(d),d.isPrimaryKey||a.push(d),c>1&&s(2===c?e[0]:e.slice(0,c-1),t+1,r),l.sort((function(e,t){return e.keyTail-t.keyTail})),d}var l=s(o.primaryKey.keyPath,0,o.primaryKey);i[":id"]=[l];for(var c=0,u=o.indexes;c<u.length;c++){var d=u[c];s(d.keyPath,0,d)}function m(e){var t=i[Sn(e)];return t&&t[0]}function p(t,n){return{type:1===t.type?2:t.type,lower:Ar(t.lower,t.lowerOpen?e.MAX_KEY:e.MIN_KEY,n),lowerOpen:!0,upper:Ar(t.upper,t.upperOpen?e.MIN_KEY:e.MAX_KEY,n),upperOpen:!0}}function h(e){var t=e.query.index;return t.isVirtual?n(n({},e),{query:{index:t.lowLevelIndex,range:p(e.query.range,t.keyTail)}}):e}var f=n(n({},r),{schema:n(n({},o),{primaryKey:l,indexes:a,getIndexByKeyPath:m}),count:function(e){return r.count(h(e))},query:function(e){return r.query(h(e))},openCursor:function(t){var n=t.query.index,o=n.keyTail,i=n.isVirtual,a=n.keyLength;if(!i)return r.openCursor(t);function s(n){function r(r){null!=r?n.continue(Ar(r,t.reverse?e.MAX_KEY:e.MIN_KEY,o)):t.unique?n.continue(n.key.slice(0,a).concat(t.reverse?e.MIN_KEY:e.MAX_KEY,o)):n.continue()}var i=Object.create(n,{continue:{value:r},continuePrimaryKey:{value:function(t,r){n.continuePrimaryKey(Ar(t,e.MAX_KEY,o),r)}},primaryKey:{get:function(){return n.primaryKey}},key:{get:function(){var e=n.key;return 1===a?e[0]:e.slice(0,a)}},value:{get:function(){return n.value}}});return i}return r.openCursor(h(t)).then((function(e){return e&&s(e)}))}});return f}})}var Sr={stack:"dbcore",name:"VirtualIndexMiddleware",level:1,create:wr};function kr(e,t,n,r){return n=n||{},r=r||"",i(e).forEach((function(o){if(u(t,o)){var i=e[o],a=t[o];if("object"==typeof i&&"object"==typeof a&&i&&a){var s=R(i);s!==R(a)?n[r+o]=t[o]:"Object"===s?kr(i,a,n,r+o+"."):i!==a&&(n[r+o]=t[o])}else i!==a&&(n[r+o]=t[o])}else n[r+o]=void 0})),i(t).forEach((function(o){u(e,o)||(n[r+o]=t[o])})),n}function jr(e,t){return"delete"===t.type?t.keys:t.keys||t.values.map(e.extractKey)}var Nr={stack:"dbcore",name:"HooksMiddleware",level:2,create:function(e){return n(n({},e),{table:function(t){var o=e.table(t),i=o.schema.primaryKey,a=n(n({},o),{mutate:function(e){var a=Pe.trans,s=a.table(t).hook,l=s.deleting,c=s.creating,d=s.updating;switch(e.type){case"add":if(c.fire===oe)break;return a._promise("readwrite",(function(){return m(e)}),!0);case"put":if(c.fire===oe&&d.fire===oe)break;return a._promise("readwrite",(function(){return m(e)}),!0);case"delete":if(l.fire===oe)break;return a._promise("readwrite",(function(){return m(e)}),!0);case"deleteRange":if(l.fire===oe)break;return a._promise("readwrite",(function(){return p(e)}),!0)}return o.mutate(e);function m(e){var t=Pe.trans,a=e.keys||jr(i,e);if(!a)throw new Error("Keys missing");return"delete"!==(e="add"===e.type||"put"===e.type?n(n({},e),{keys:a}):n({},e)).type&&(e.values=r([],e.values)),e.keys&&(e.keys=r([],e.keys)),Tr(o,e,a).then((function(n){var r=a.map((function(r,o){var a=n[o],s={onerror:null,onsuccess:null};if("delete"===e.type)l.fire.call(s,r,a,t);else if("add"===e.type||void 0===a){var m=c.fire.call(s,r,e.values[o],t);null==r&&null!=m&&(r=m,e.keys[o]=r,i.outbound||A(e.values[o],i.keyPath,r))}else{var p=kr(a,e.values[o]),h=d.fire.call(s,p,r,a,t);if(h){var f=e.values[o];Object.keys(h).forEach((function(e){u(f,e)?f[e]=h[e]:A(f,e,h[e])}))}}return s}));return o.mutate(e).then((function(t){for(var o=t.failures,i=t.results,s=t.numFailures,l=t.lastResult,c=0;c<a.length;++c){var u=i?i[c]:a[c],d=r[c];null==u?d.onerror&&d.onerror(o[c]):d.onsuccess&&d.onsuccess("put"===e.type&&n[c]?e.values[c]:u)}return{failures:o,results:i,numFailures:s,lastResult:l}})).catch((function(e){return r.forEach((function(t){return t.onerror&&t.onerror(e)})),Promise.reject(e)}))}))}function p(e){return h(e.trans,e.range,1e4)}function h(e,t,r){return o.query({trans:e,values:!1,query:{index:i,range:t},limit:r}).then((function(o){var i=o.result;return m({type:"delete",keys:i,trans:e}).then((function(o){return o.numFailures>0?Promise.reject(o.failures[0]):i.length<r?{failures:[],numFailures:0,lastResult:void 0}:h(e,n(n({},t),{lower:i[i.length-1],lowerOpen:!0}),r)}))}))}}});return a}})}};function Tr(e,t,n){return"add"===t.type?Promise.resolve([]):e.getMany({trans:t.trans,keys:n,cache:"immutable"})}function Pr(e,t,n){try{if(!t)return null;if(t.keys.length<e.length)return null;for(var r=[],o=0,i=0;o<t.keys.length&&i<e.length;++o)0===Tt(t.keys[o],e[i])&&(r.push(n?L(t.values[o]):t.values[o]),++i);return r.length===e.length?r:null}catch(e){return null}}var Or={stack:"dbcore",level:-1,create:function(e){return{table:function(t){var r=e.table(t);return n(n({},r),{getMany:function(e){if(!e.cache)return r.getMany(e);var t=Pr(e.keys,e.trans._cache,"clone"===e.cache);return t?Be.resolve(t):r.getMany(e).then((function(t){return e.trans._cache={keys:e.keys,values:"clone"===e.cache?L(t):t},t}))},mutate:function(e){return"add"!==e.type&&(e.trans._cache=null),r.mutate(e)}})}}}};function Mr(e,t){return"readonly"===e.trans.mode&&!!e.subscr&&!e.trans.explicit&&"disabled"!==e.trans.db._options.cache&&!t.schema.primaryKey.outbound}function Lr(e,t){switch(e){case"query":return t.values&&!t.unique;case"get":case"getMany":case"count":case"openCursor":return!1}}var Br={stack:"dbcore",level:0,name:"Observability",create:function(e){var t=e.schema.name,r=new ar(e.MIN_KEY,e.MAX_KEY);return n(n({},e),{transaction:function(t,n,r){if(Pe.subscr&&"readonly"!==n)throw new ee.ReadOnly("Readwrite transaction in liveQuery context. Querier source: ".concat(Pe.querier));return e.transaction(t,n,r)},table:function(o){var s=e.table(o),l=s.schema,c=l.primaryKey,u=l.indexes,d=c.extractKey,m=c.outbound,p=c.autoIncrement&&u.filter((function(e){return e.compound&&e.keyPath.includes(c.keyPath)})),h=n(n({},s),{mutate:function(n){var i,u,d=n.trans,m=n.mutatedParts||(n.mutatedParts={}),h=function(e){var n="idb://".concat(t,"/").concat(o,"/").concat(e);return m[n]||(m[n]=new ar)},f=h(""),g=h(":dels"),v=n.type,y="deleteRange"===n.type?[n.range]:"delete"===n.type?[n.keys]:n.values.length<50?[jr(c,n).filter((function(e){return e})),n.values]:[],x=y[0],b=y[1],C=n.trans._cache;if(a(x)){f.addKeys(x);var I="delete"===v||x.length===b.length?Pr(x,C):null;I||g.addKeys(x),(I||b)&&Dr(h,l,I,b)}else if(x){var E={from:null!==(i=x.lower)&&void 0!==i?i:e.MIN_KEY,to:null!==(u=x.upper)&&void 0!==u?u:e.MAX_KEY};g.add(E),f.add(E)}else f.add(r),g.add(r),l.indexes.forEach((function(e){return h(e.name).add(r)}));return s.mutate(n).then((function(e){return!x||"add"!==n.type&&"put"!==n.type||(f.addKeys(e.results),p&&p.forEach((function(t){for(var r=n.values.map((function(e){return t.extractKey(e)})),o=t.keyPath.findIndex((function(e){return e===c.keyPath})),i=0,a=e.results.length;i<a;++i)r[i][o]=e.results[i];h(t.name).addKeys(r)}))),d.mutatedParts=pr(d.mutatedParts||{},m),e}))}}),f=function(t){var n,r,o=t.query,i=o.index,a=o.range;return[i,new ar(null!==(n=a.lower)&&void 0!==n?n:e.MIN_KEY,null!==(r=a.upper)&&void 0!==r?r:e.MAX_KEY)]},g={get:function(e){return[c,new ar(e.key)]},getMany:function(e){return[c,(new ar).addKeys(e.keys)]},count:f,query:f,openCursor:f};return i(g).forEach((function(e){h[e]=function(i){var a=Pe.subscr,l=!!a,c=Mr(Pe,s)&&Lr(e,i)?i.obsSet={}:a;if(l){var u=function(e){var n="idb://".concat(t,"/").concat(o,"/").concat(e);return c[n]||(c[n]=new ar)},p=u(""),h=u(":dels"),f=g[e](i),v=f[0],y=f[1];if("query"===e&&v.isPrimaryKey&&!i.values?h.add(y):u(v.name||"").add(y),!v.isPrimaryKey){if("count"!==e){var x="query"===e&&m&&i.values&&s.query(n(n({},i),{values:!1}));return s[e].apply(this,arguments).then((function(t){if("query"===e){if(m&&i.values)return x.then((function(e){var n=e.result;return p.addKeys(n),t}));var n=i.values?t.result.map(d):t.result;i.values?p.addKeys(n):h.addKeys(n)}else if("openCursor"===e){var r=t,o=i.values;return r&&Object.create(r,{key:{get:function(){return h.addKey(r.primaryKey),r.key}},primaryKey:{get:function(){var e=r.primaryKey;return h.addKey(e),e}},value:{get:function(){return o&&p.addKey(r.primaryKey),r.value}}})}return t}))}h.add(r)}}return s[e].apply(this,arguments)}})),h}})}};function Dr(e,t,n,r){function o(t){var o=e(t.name||"");function i(e){return null!=e?t.extractKey(e):null}var s=function(e){return t.multiEntry&&a(e)?e.forEach((function(e){return o.addKey(e)})):o.addKey(e)};(n||r).forEach((function(e,t){var o=n&&i(n[t]),a=r&&i(r[t]);0!==Tt(o,a)&&(null!=o&&s(o),null!=a&&s(a))}))}t.indexes.forEach(o)}function Rr(e,t,r){if(0===r.numFailures)return t;if("deleteRange"===t.type)return null;var o=t.keys?t.keys.length:"values"in t&&t.values?t.values.length:1;if(r.numFailures===o)return null;var i=n({},t);return a(i.keys)&&(i.keys=i.keys.filter((function(e,t){return!(t in r.failures)}))),"values"in i&&a(i.values)&&(i.values=i.values.filter((function(e,t){return!(t in r.failures)}))),i}function zr(e,t){return void 0===t.lower||(t.lowerOpen?Tt(e,t.lower)>0:Tt(e,t.lower)>=0)}function Fr(e,t){return void 0===t.upper||(t.upperOpen?Tt(e,t.upper)<0:Tt(e,t.upper)<=0)}function Hr(e,t){return zr(e,t)&&Fr(e,t)}function qr(e,t,n,r,o,i){if(!n||0===n.length)return e;var s=t.query.index,l=s.multiEntry,c=t.query.range,u=r.schema.primaryKey.extractKey,d=s.extractKey,m=(s.lowLevelIndex||s).extractKey,p=n.reduce((function(e,n){var r=e,o=[];if("add"===n.type||"put"===n.type)for(var i=new ar,s=n.values.length-1;s>=0;--s){var m=n.values[s],p=u(m);if(!i.hasKey(p)){var h=d(m);(l&&a(h)?h.some((function(e){return Hr(e,c)})):Hr(h,c))&&(i.addKey(p),o.push(m))}}switch(n.type){case"add":var f=(new ar).addKeys(t.values?e.map((function(e){return u(e)})):e);r=e.concat(t.values?o.filter((function(e){var t=u(e);return!f.hasKey(t)&&(f.addKey(t),!0)})):o.map((function(e){return u(e)})).filter((function(e){return!f.hasKey(e)&&(f.addKey(e),!0)})));break;case"put":var g=(new ar).addKeys(n.values.map((function(e){return u(e)})));r=e.filter((function(e){return!g.hasKey(t.values?u(e):e)})).concat(t.values?o:o.map((function(e){return u(e)})));break;case"delete":var v=(new ar).addKeys(n.keys);r=e.filter((function(e){return!v.hasKey(t.values?u(e):e)}));break;case"deleteRange":var y=n.range;r=e.filter((function(e){return!Hr(u(e),y)}))}return r}),e);return p===e?e:(p.sort((function(e,t){return Tt(m(e),m(t))||Tt(u(e),u(t))})),t.limit&&t.limit<1/0&&(p.length>t.limit?p.length=t.limit:e.length===t.limit&&p.length<t.limit&&(o.dirty=!0)),i?Object.freeze(p):p)}function Ur(e,t){return 0===Tt(e.lower,t.lower)&&0===Tt(e.upper,t.upper)&&!!e.lowerOpen==!!t.lowerOpen&&!!e.upperOpen==!!t.upperOpen}function Gr(e,t,n,r){if(void 0===e)return void 0!==t?-1:0;if(void 0===t)return 1;var o=Tt(e,t);if(0===o){if(n&&r)return 0;if(n)return 1;if(r)return-1}return o}function Wr(e,t,n,r){if(void 0===e)return void 0!==t?1:0;if(void 0===t)return-1;var o=Tt(e,t);if(0===o){if(n&&r)return 0;if(n)return-1;if(r)return 1}return o}function Qr(e,t){return Gr(e.lower,t.lower,e.lowerOpen,t.lowerOpen)<=0&&Wr(e.upper,t.upper,e.upperOpen,t.upperOpen)>=0}function Yr(e,t,n,r){var o=fr["idb://".concat(e,"/").concat(t)];if(!o)return[];var i=o.queries[n];if(!i)return[null,!1,o,null];var a=i[(r.query?r.query.index.name:null)||""];if(!a)return[null,!1,o,null];switch(n){case"query":var s=a.find((function(e){return e.req.limit===r.limit&&e.req.values===r.values&&Ur(e.req.query.range,r.query.range)}));return s?[s,!0,o,a]:[a.find((function(e){return("limit"in e.req?e.req.limit:1/0)>=r.limit&&(!r.values||e.req.values)&&Qr(e.req.query.range,r.query.range)})),!1,o,a];case"count":var l=a.find((function(e){return Ur(e.req.query.range,r.query.range)}));return[l,!!l,o,a]}}function Vr(e,t,n,r){e.subscribers.add(n),r.addEventListener("abort",(function(){e.subscribers.delete(n),0===e.subscribers.size&&Zr(e,t)}))}function Zr(e,t){setTimeout((function(){0===e.subscribers.size&&H(t,e)}),3e3)}var Kr={stack:"dbcore",level:0,name:"Cache",create:function(e){var t=e.schema.name,r=n(n({},e),{transaction:function(n,r,o){var i=e.transaction(n,r,o);if("readwrite"===r){var a=new AbortController,s=a.signal,l=function(o){return function(){if(a.abort(),"readwrite"===r){for(var s=new Set,l=0,c=n;l<c.length;l++){var u=c[l],d=fr["idb://".concat(t,"/").concat(u)];if(d){var m=e.table(u),p=d.optimisticOps.filter((function(e){return e.trans===i}));if(i._explicit&&o&&i.mutatedParts)for(var h=0,f=Object.values(d.queries.query);h<f.length;h++)for(var g=0,v=(b=f[h]).slice();g<v.length;g++)hr((E=v[g]).obsSet,i.mutatedParts)&&(H(b,E),E.subscribers.forEach((function(e){return s.add(e)})));else if(p.length>0){d.optimisticOps=d.optimisticOps.filter((function(e){return e.trans!==i}));for(var y=0,x=Object.values(d.queries.query);y<x.length;y++)for(var b,C=0,I=(b=x[y]).slice();C<I.length;C++){var E;if(null!=(E=I[C]).res&&i.mutatedParts)if(o&&!E.dirty){var _=Object.isFrozen(E.res),A=qr(E.res,E.req,p,m,E,_);E.dirty?(H(b,E),E.subscribers.forEach((function(e){return s.add(e)}))):A!==E.res&&(E.res=A,E.promise=Be.resolve({result:A}))}else E.dirty&&H(b,E),E.subscribers.forEach((function(e){return s.add(e)}))}}}}s.forEach((function(e){return e()}))}}};i.addEventListener("abort",l(!1),{signal:s}),i.addEventListener("error",l(!1),{signal:s}),i.addEventListener("complete",l(!0),{signal:s})}return i},table:function(r){var o=e.table(r),i=o.schema.primaryKey,a=n(n({},o),{mutate:function(e){var a=Pe.trans;if(i.outbound||"disabled"===a.db._options.cache||a.explicit||"readwrite"!==a.idbtrans.mode)return o.mutate(e);var s=fr["idb://".concat(t,"/").concat(r)];if(!s)return o.mutate(e);var l=o.mutate(e);return"add"!==e.type&&"put"!==e.type||!(e.values.length>=50||jr(i,e).some((function(e){return null==e})))?(s.optimisticOps.push(e),e.mutatedParts&&yr(e.mutatedParts),l.then((function(t){if(t.numFailures>0){H(s.optimisticOps,e);var n=Rr(s,e,t);n&&s.optimisticOps.push(n),e.mutatedParts&&yr(e.mutatedParts)}})),l.catch((function(){H(s.optimisticOps,e),e.mutatedParts&&yr(e.mutatedParts)}))):l.then((function(t){var r=n(n({},e),{values:e.values.map((function(e,r){var o;if(t.failures[r])return e;var a=(null===(o=i.keyPath)||void 0===o?void 0:o.includes("."))?L(e):n({},e);return A(a,i.keyPath,t.results[r]),a}))}),o=Rr(s,r,t);s.optimisticOps.push(o),queueMicrotask((function(){return e.mutatedParts&&yr(e.mutatedParts)}))})),l},query:function(e){var n;if(!Mr(Pe,o)||!Lr("query",e))return o.query(e);var i="immutable"===(null===(n=Pe.trans)||void 0===n?void 0:n.db._options.cache),a=Pe,s=a.requery,l=a.signal,c=Yr(t,r,"query",e),u=c[0],d=c[1],m=c[2],p=c[3];if(u&&d)u.obsSet=e.obsSet;else{var h=o.query(e).then((function(e){var t=e.result;if(u&&(u.res=t),i){for(var n=0,r=t.length;n<r;++n)Object.freeze(t[n]);Object.freeze(t)}else e.result=L(t);return e})).catch((function(e){return p&&u&&H(p,u),Promise.reject(e)}));u={obsSet:e.obsSet,promise:h,subscribers:new Set,type:"query",req:e,dirty:!1},p?p.push(u):(p=[u],m||(m=fr["idb://".concat(t,"/").concat(r)]={queries:{query:{},count:{}},objs:new Map,optimisticOps:[],unsignaledParts:{}}),m.queries.query[e.query.index.name||""]=p)}return Vr(u,p,s,l),u.promise.then((function(t){return{result:qr(t.result,e,null==m?void 0:m.optimisticOps,o,u,i)}}))}});return a}});return r}};function Jr(e,t){return new Proxy(e,{get:function(e,n,r){return"db"===n?t:Reflect.get(e,n,r)}})}var Xr,$r=function(){function e(t,r){var o=this;this._middlewares={},this.verno=0;var i=e.dependencies;this._options=r=n({addons:e.addons,autoOpen:!0,indexedDB:i.indexedDB,IDBKeyRange:i.IDBKeyRange,cache:"cloned"},r),this._deps={indexedDB:r.indexedDB,IDBKeyRange:r.IDBKeyRange};var a=r.addons;this._dbSchema={},this._versions=[],this._storeNames=[],this._allTables={},this.idbdb=null,this._novip=this;var s={dbOpenError:null,isBeingOpened:!1,onReadyBeingFired:null,openComplete:!1,dbReadyResolve:oe,dbReadyPromise:null,cancelOpen:oe,openCanceller:null,autoSchema:!0,PR1398_maxLoop:3,autoOpen:r.autoOpen};s.dbReadyPromise=new Be((function(e){s.dbReadyResolve=e})),s.openCanceller=new Be((function(e,t){s.cancelOpen=t})),this._state=s,this.name=t,this.on=Dt(this,"populate","blocked","versionchange","close",{ready:[me,oe]}),this.on.ready.subscribe=x(this.on.ready.subscribe,(function(t){return function(n,r){e.vip((function(){var e=o._state;if(e.openComplete)e.dbOpenError||Be.resolve().then(n),r&&t(n);else if(e.onReadyBeingFired)e.onReadyBeingFired.push(n),r&&t(n);else{t(n);var i=o;r||t((function e(){i.on.ready.unsubscribe(n),i.on.ready.unsubscribe(e)}))}}))}})),this.Collection=Jt(this),this.Table=zt(this),this.Transaction=vn(this),this.Version=Jn(this),this.WhereClause=un(this),this.on("versionchange",(function(e){e.newVersion>0?console.warn("Another connection wants to upgrade database '".concat(o.name,"'. Closing db now to resume the upgrade.")):console.warn("Another connection wants to delete database '".concat(o.name,"'. Closing db now to resume the delete request.")),o.close({disableAutoOpen:!1})})),this.on("blocked",(function(e){!e.newVersion||e.newVersion<e.oldVersion?console.warn("Dexie.delete('".concat(o.name,"') was blocked")):console.warn("Upgrade '".concat(o.name,"' blocked by other connection holding version ").concat(e.oldVersion/10))})),this._maxKey=In(r.IDBKeyRange),this._createTransaction=function(e,t,n,r){return new o.Transaction(e,t,n,o._options.chromeTransactionDurability,r)},this._fireOnBlocked=function(e){o.on("blocked").fire(e),Et.filter((function(e){return e.name===o.name&&e!==o&&!e._state.vcFired})).map((function(t){return t.on("versionchange").fire(e)}))},this.use(Or),this.use(Kr),this.use(Br),this.use(Sr),this.use(Nr);var l=new Proxy(this,{get:function(e,t,n){if("_vip"===t)return!0;if("table"===t)return function(e){return Jr(o.table(e),l)};var r=Reflect.get(e,t,n);return r instanceof Bt?Jr(r,l):"tables"===t?r.map((function(e){return Jr(e,l)})):"_createTransaction"===t?function(){return Jr(r.apply(this,arguments),l)}:r}});this.vip=l,a.forEach((function(e){return e(o)}))}return e.prototype.version=function(e){if(isNaN(e)||e<.1)throw new ee.Type("Given version is not a positive number");if(e=Math.round(10*e)/10,this.idbdb||this._state.isBeingOpened)throw new ee.Schema("Cannot add version when database is open");this.verno=Math.max(this.verno,e);var t=this._versions,n=t.filter((function(t){return t._cfg.version===e}))[0];return n||(n=new this.Version(e),t.push(n),t.sort(Mn),n.stores({}),this._state.autoSchema=!1,n)},e.prototype._whenReady=function(e){var t=this;return this.idbdb&&(this._state.openComplete||Pe.letThrough||this._vip)?e():new Be((function(e,n){if(t._state.openComplete)return n(new ee.DatabaseClosed(t._state.dbOpenError));if(!t._state.isBeingOpened){if(!t._state.autoOpen)return void n(new ee.DatabaseClosed);t.open().catch(oe)}t._state.dbReadyPromise.then(e,n)})).then(e)},e.prototype.use=function(e){var t=e.stack,n=e.create,r=e.level,o=e.name;o&&this.unuse({stack:t,name:o});var i=this._middlewares[t]||(this._middlewares[t]=[]);return i.push({stack:t,create:n,level:null==r?10:r,name:o}),i.sort((function(e,t){return e.level-t.level})),this},e.prototype.unuse=function(e){var t=e.stack,n=e.name,r=e.create;return t&&this._middlewares[t]&&(this._middlewares[t]=this._middlewares[t].filter((function(e){return r?e.create!==r:!!n&&e.name!==n}))),this},e.prototype.open=function(){var e=this;return pt(Te,(function(){return Cr(e)}))},e.prototype._close=function(){var e=this._state,t=Et.indexOf(this);if(t>=0&&Et.splice(t,1),this.idbdb){try{this.idbdb.close()}catch(e){}this.idbdb=null}e.isBeingOpened||(e.dbReadyPromise=new Be((function(t){e.dbReadyResolve=t})),e.openCanceller=new Be((function(t,n){e.cancelOpen=n})))},e.prototype.close=function(e){var t=(void 0===e?{disableAutoOpen:!0}:e).disableAutoOpen,n=this._state;t?(n.isBeingOpened&&n.cancelOpen(new ee.DatabaseClosed),this._close(),n.autoOpen=!1,n.dbOpenError=new ee.DatabaseClosed):(this._close(),n.autoOpen=this._options.autoOpen||n.isBeingOpened,n.openComplete=!1,n.dbOpenError=null)},e.prototype.delete=function(e){var t=this;void 0===e&&(e={disableAutoOpen:!0});var n=arguments.length>0&&"object"!=typeof arguments[0],r=this._state;return new Be((function(o,i){var a=function(){t.close(e);var n=t._deps.indexedDB.deleteDatabase(t.name);n.onsuccess=Xe((function(){nr(t._deps,t.name),o()})),n.onerror=dn(i),n.onblocked=t._fireOnBlocked};if(n)throw new ee.InvalidArgument("Invalid closeOptions argument to db.delete()");r.isBeingOpened?r.dbReadyPromise.then(a):a()}))},e.prototype.backendDB=function(){return this.idbdb},e.prototype.isOpen=function(){return null!==this.idbdb},e.prototype.hasBeenClosed=function(){var e=this._state.dbOpenError;return e&&"DatabaseClosed"===e.name},e.prototype.hasFailed=function(){return null!==this._state.dbOpenError},e.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(e.prototype,"tables",{get:function(){var e=this;return i(this._allTables).map((function(t){return e._allTables[t]}))},enumerable:!1,configurable:!0}),e.prototype.transaction=function(){var e=Er.apply(this,arguments);return this._transaction.apply(this,e)},e.prototype._transaction=function(e,t,n){var r=this,o=Pe.trans;o&&o.db===this&&-1===e.indexOf("!")||(o=null);var i,a,s=-1!==e.indexOf("?");e=e.replace("!","").replace("?","");try{if(a=t.map((function(e){var t=e instanceof r.Table?e.name:e;if("string"!=typeof t)throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return t})),"r"==e||e===At)i=At;else{if("rw"!=e&&e!=wt)throw new ee.InvalidArgument("Invalid transaction mode: "+e);i=wt}if(o){if(o.mode===At&&i===wt){if(!s)throw new ee.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");o=null}o&&a.forEach((function(e){if(o&&-1===o.storeNames.indexOf(e)){if(!s)throw new ee.SubTransaction("Table "+e+" not included in parent transaction.");o=null}})),s&&o&&!o.active&&(o=null)}}catch(e){return o?o._promise(null,(function(t,n){n(e)})):gt(e)}var l=_r.bind(null,this,i,a,o,n);return o?o._promise(i,l,"lock"):Pe.trans?pt(Pe.transless,(function(){return r._whenReady(l)})):this._whenReady(l)},e.prototype.table=function(e){if(!u(this._allTables,e))throw new ee.InvalidTable("Table ".concat(e," does not exist"));return this._allTables[e]},e}(),eo="undefined"!=typeof Symbol&&"observable"in Symbol?Symbol.observable:"@@observable",to=function(){function e(e){this._subscribe=e}return e.prototype.subscribe=function(e,t,n){return this._subscribe(e&&"function"!=typeof e?e:{next:e,error:t,complete:n})},e.prototype[eo]=function(){return this},e}();try{Xr={indexedDB:o.indexedDB||o.mozIndexedDB||o.webkitIndexedDB||o.msIndexedDB,IDBKeyRange:o.IDBKeyRange||o.webkitIDBKeyRange}}catch(e){Xr={indexedDB:null,IDBKeyRange:null}}function no(e){var t,n=!1,r=new to((function(r){var o=G(e);function i(t){var n=We();try{o&&at();var r=it(e,t);return o&&(r=r.finally(st)),r}finally{n&&Qe()}}var a,s=!1,l={},c={},u={get closed(){return s},unsubscribe:function(){s||(s=!0,a&&a.abort(),d&&fn.storagemutated.unsubscribe(h))}};r.start&&r.start(u);var d=!1,m=function(){return ft(f)};function p(){return hr(c,l)}var h=function(e){pr(l,e),p()&&m()},f=function(){if(!s&&Xr.indexedDB){l={};var o={};a&&a.abort(),a=new AbortController;var u={subscr:o,signal:a.signal,requery:m,querier:e,trans:null},p=i(u);Promise.resolve(p).then((function(e){n=!0,t=e,s||u.signal.aborted||(l={},O(c=o)||d||(fn(pn,h),d=!0),ft((function(){return!s&&r.next&&r.next(e)})))}),(function(e){n=!1,["DatabaseClosedError","AbortError"].includes(null==e?void 0:e.name)||s||ft((function(){s||r.error&&r.error(e)}))}))}};return setTimeout(m,0),u}));return r.hasValue=function(){return n},r.getValue=function(){return t},r}var ro=$r;function oo(e){var t=ao;try{ao=!0,fn.storagemutated.fire(e),xr(e,!0)}finally{ao=t}}d(ro,n(n({},re),{delete:function(e){return new ro(e,{addons:[]}).delete()},exists:function(e){return new ro(e,{addons:[]}).open().then((function(e){return e.close(),!0})).catch("NoSuchDatabaseError",(function(){return!1}))},getDatabaseNames:function(e){try{return er(ro.dependencies).then(e)}catch(e){return gt(new ee.MissingAPI)}},defineClass:function(){function e(e){s(this,e)}return e},ignoreTransaction:function(e){return Pe.trans?pt(Pe.transless,e):e()},vip:rr,async:function(e){return function(){try{var t=Ir(e.apply(this,arguments));return t&&"function"==typeof t.then?t:Be.resolve(t)}catch(e){return gt(e)}}},spawn:function(e,t,n){try{var r=Ir(e.apply(n,t||[]));return r&&"function"==typeof r.then?r:Be.resolve(r)}catch(e){return gt(e)}},currentTransaction:{get:function(){return Pe.trans||null}},waitFor:function(e,t){var n=Be.resolve("function"==typeof e?ro.ignoreTransaction(e):e).timeout(t||6e4);return Pe.trans?Pe.trans.waitFor(n):n},Promise:Be,debug:{get:function(){return pe},set:function(e){he(e)}},derive:h,extend:s,props:d,override:x,Events:Dt,on:fn,liveQuery:no,extendObservabilitySet:pr,getByKeyPath:_,setByKeyPath:A,delByKeyPath:w,shallowClone:S,deepClone:L,getObjectDiff:kr,cmp:Tt,asap:C,minKey:bt,addons:[],connections:Et,errnames:X,dependencies:Xr,cache:fr,semVer:yt,version:yt.split(".").map((function(e){return parseInt(e)})).reduce((function(e,t,n){return e+t/Math.pow(10,2*n)}))})),ro.maxKey=In(ro.dependencies.IDBKeyRange),"undefined"!=typeof dispatchEvent&&"undefined"!=typeof addEventListener&&(fn(pn,(function(e){var t;ao||(t=new CustomEvent(hn,{detail:e}),ao=!0,dispatchEvent(t),ao=!1)})),addEventListener(hn,(function(e){var t=e.detail;ao||oo(t)})));var io,ao=!1,so=function(){};function lo(e){return new Vt({add:e})}function co(e){return new Vt({remove:e})}function uo(e,t){return new Vt({replacePrefix:[e,t]})}"undefined"!=typeof BroadcastChannel&&((so=function(){(io=new BroadcastChannel(hn)).onmessage=function(e){return e.data&&oo(e.data)}})(),"function"==typeof io.unref&&io.unref(),fn(pn,(function(e){ao||io.postMessage(e)}))),"undefined"!=typeof addEventListener&&(addEventListener("pagehide",(function(e){if(!$r.disableBfCache&&e.persisted){pe&&console.debug("Dexie: handling persisted pagehide"),null==io||io.close();for(var t=0,n=Et;t<n.length;t++)n[t].close({disableAutoOpen:!1})}})),addEventListener("pageshow",(function(e){!$r.disableBfCache&&e.persisted&&(pe&&console.debug("Dexie: handling persisted pageshow"),so(),oo({all:new ar(-1/0,[[]])}))}))),Be.rejectionMapper=ne,he(pe);var mo=Object.freeze({__proto__:null,Dexie:$r,liveQuery:no,Entity:Nt,cmp:Tt,PropModification:Vt,replacePrefix:uo,add:lo,remove:co,default:$r,RangeSet:ar,mergeRanges:lr,rangesOverlap:cr});return n($r,mo,{default:$r}),$r}();var zq=E(Rq.exports);const Fq=Symbol.for("Dexie"),Hq=globalThis[Fq]||(globalThis[Fq]=zq);if(zq.semVer!==Hq.semVer)throw new Error(`Two different versions of Dexie loaded in the same app: ${zq.semVer} and ${Hq.semVer}`);const{liveQuery:qq,mergeRanges:Uq,rangesOverlap:Gq,RangeSet:Wq,cmp:Qq,Entity:Yq,PropModification:Vq,replacePrefix:Zq,add:Kq,remove:Jq}=Hq;let Xq;const $q=new class extends Hq{constructor(){super("globalSelectionStoreDB"),this.version(1).stores({globalSelection:"id"})}};let eU=!1;const tU={getItem:e=>Ym(void 0,void 0,void 0,(function*(){try{const t=yield $q.globalSelection.get(e),n=null==t?void 0:t.data;n&&(Xq=n.flatMap((e=>e.items)))}catch(e){hz(e)}return eU=!0,null})),setItem:(e,n)=>Ym(void 0,void 0,void 0,(function*(){var r;if(eU)try{const o=(r=n.state.lists,Object.values(r).map((e=>{const n={type:e.type,items:[]};return e.items.forEach((e=>{n.items.push({id:e.id,metaData:t.omit(e.metaData,["errorStatus","systemStatus"])})})),n})));yield $q.globalSelection.put({id:e,data:o})}catch(e){hz(e)}})),removeItem:e=>Ym(void 0,void 0,void 0,(function*(){try{yield $q.globalSelection.delete(e)}catch(e){hz(e)}}))};const nU={loadAndPopulateStoreMetadata:function(e){return Ym(this,void 0,void 0,(function*(){Xq||(yield tU.getItem("global-selection-store"));const t=(Xq||[]).map((e=>({itemId:e.id,metaData:Object.assign({},e.metaData)})));e.setItemMetaData(t),Xq=[]}))},persistOptions:{name:"global-selection-store",storage:tU,version:1}},rU=!1;p.enableMapSet();const oU={label:"Work Orders",type:exports.GlobalSelectionItemType.WorkOrder,items:new Map},iU={label:"Tags",type:exports.GlobalSelectionItemType.Tag,items:new Map},aU={label:"Equipments",type:exports.GlobalSelectionItemType.Equipment,items:new Map},sU={enabled:"test"!==process.env.NODE_ENV,store:"globalSelection",name:"globalSelection"},lU=a.create()(oq(aq(cq(uq(((n,r)=>({lists:{[exports.GlobalSelectionItemType.WorkOrder]:t.cloneDeep(oU),[exports.GlobalSelectionItemType.Tag]:t.cloneDeep(iU),[exports.GlobalSelectionItemType.Equipment]:t.cloneDeep(aU)},addWorkOrdersToSelection:t=>{const o=performance.now(),i=Lq(n,r,{itemIds:t.workOrderIds},exports.GlobalSelectionItemType.WorkOrder,(e=>Ym(void 0,void 0,void 0,(function*(){return[yield l.DataService.workOrders.ids({workOrderIds:e.map((e=>e.workOrderId))})]}))),Dq);return e.logPerformanceToConsole("gs.addWorkOrdersToSelection",o,{forceLog:rU}),i},addTagsToSelection:t=>{const o=performance.now(),i=Lq(n,r,{itemIds:t.tagIds},exports.GlobalSelectionItemType.Tag,(e=>Ym(void 0,void 0,void 0,(function*(){const t=function(e){const t={};e.forEach((e=>{t[e.instCode]||(t[e.instCode]=[]),t[e.instCode].push(e.tagNo)}));const n=Object.keys(t).map((e=>({instCode:e,tagNos:t[e]})));return n}(e),n=t.map((e=>Ym(void 0,void 0,void 0,(function*(){return yield l.Search.Tags.getAllAsync(e.tagNos,e.instCode)}))));return yield Promise.all(n)}))),Bq);return e.logPerformanceToConsole("gs.addTagsToSelection",o,{forceLog:rU}),i},removeItemsFromSelection:t=>{const{itemIds:r}=t;n((t=>{if(!t.lists)return;const n=performance.now();Object.keys(t.lists).forEach((e=>{const n=e;r.forEach((e=>{t.lists[n].items.delete(Cq.itemIdToString(e))}))})),e.logPerformanceToConsole("gs.removeItemsFromSelection",n,{forceLog:rU})}),void 0,"removeItem")},setErrorStatusForItems:t=>{const{itemErrorStatuses:r}=t;n((t=>{const n=performance.now();r.forEach((e=>{const n=Object.entries(t.lists);for(const[,t]of n){const n=Cq.itemIdToString(e.itemId),r=t.items.get(n);if(r){r.metaData.errorStatus!==e.errorStatus&&(r.metaData.errorStatus=e.errorStatus)}}})),e.logPerformanceToConsole("gs.setErrorStatusForItems",n,{forceLog:rU})}),void 0,"setErrorStatusForItems")},removeErrorStatusForItems:e=>{n((t=>{Object.values(t.lists).forEach((t=>{e.itemIds.forEach((e=>{const n=Cq.itemIdToString(e),r=t.items.get(n);r&&(r.metaData.errorStatus=void 0)}))}))}),void 0,"removeErrorStatusForItems")},setVisibilityByItemIds:t=>{n((n=>{const r=performance.now();Object.values(n.lists).forEach((e=>{t.itemIds.forEach((n=>{const r=Cq.itemIdToString(n),o=e.items.get(r);o&&(o.metaData.isHiddenByUser=!t.isVisible)}))})),e.logPerformanceToConsole("gs.setVisibilityByItemIds",r,{forceLog:rU})}),void 0,"setVisibilityByItemIds")},setItemMetaData:t=>{n((n=>{const r=performance.now();Object.values(n.lists).forEach((e=>{t.forEach((t=>{const n=Cq.itemIdToString(t.itemId),r=e.items.get(n);r&&(r.metaData=Object.assign(Object.assign({},r.metaData),t.metaData))}))})),e.logPerformanceToConsole("gs.setItemMetaData",r,{forceLog:rU})}),void 0,"setItemMetaData")},resetItemErrorStatuses:()=>{n((t=>{const n=performance.now();Object.values(t.lists).forEach((e=>{e.items.forEach((e=>{e.metaData.errorStatus=void 0}))})),e.logPerformanceToConsole("gs.resetItemErrorStatuses",n,{forceLog:rU})}),void 0,"resetItemErrorStatuses")},resetState:()=>{n((e=>{e.lists={[exports.GlobalSelectionItemType.WorkOrder]:t.cloneDeep(oU),[exports.GlobalSelectionItemType.Tag]:t.cloneDeep(iU),[exports.GlobalSelectionItemType.Equipment]:t.cloneDeep(aU)}}),void 0,"resetState")}}))),nU.persistOptions)),sU));function cU(){return lU.getState()}var uU;exports.GlobalSelectionCategoryId=void 0,(uU=exports.GlobalSelectionCategoryId||(exports.GlobalSelectionCategoryId={})).Tags="DEFAULT_TAG_LIST_ID",uU.WorkOrders="DEFAULT_WORK_ORDER_LIST_ID";const dU="LOCAL_SELECTION_LIST";var mU;exports.SelectionMenuDefaultListIds=void 0,(mU=exports.SelectionMenuDefaultListIds||(exports.SelectionMenuDefaultListIds={})).TagList="DEFAULT_TAG_LIST_ID",mU.WorkOrderList="DEFAULT_WORK_ORDER_LIST_ID";const pU={id:exports.GlobalSelectionCategoryId.Tags,label:"Tags",items:new Map},hU={id:exports.GlobalSelectionCategoryId.WorkOrders,label:"Work Orders",items:new Map},fU={tagIndex:0,workOrderIndex:1},gU=[{index:fU.tagIndex,initialData:t.cloneDeep(pU)},{index:fU.workOrderIndex,initialData:t.cloneDeep(hU)}],vU={id:dU,label:"Local Selection",subLabel:"",categories:yU(gU)};function yU(e){const n=[];return e.forEach((e=>{n[e.index]=t.cloneDeep(e.initialData)})),n}const xU=Object.freeze({localSelectionGroup:vU,categoryOrder:fU,localSelectionGroupIndex:0,getInitialCategories:()=>yU(gU)});function bU(e){const{itemId:t,groupId:n,categoryId:r,groups:o}=e;if(!n||!r)return o.some((e=>(!n||e.id===n)&&e.categories.some((e=>(!r||e.id===r)&&e.items.has(Cq.itemIdToString(t))))));{const e=CU({groupId:n,categoryId:r,groups:o});if(e&&e.category){const{category:n}=e;return n.items.has(Cq.itemIdToString(t))}}return!1}function CU(e){var t;const{groupId:n,categoryId:r,groups:o}=e,i=o.find((e=>e.id===n));if(i){if(r){return{group:i,category:null===(t=i.categories)||void 0===t?void 0:t.find((e=>e.id===r))}}return{group:i}}}function IU(e){const{groups:t,itemIds:n}=e;return n.filter((e=>!bU({itemId:e,groups:t})))}function EU(e){const{itemIds:n,groups:r,groupId:o,categoryId:i}=e,a=CU({groupId:o,groups:r,categoryId:i});if(!(null==a?void 0:a.category))return!1;const s=Array.from(a.category.items.values()).map((e=>e.id));return 0===t.xorWith(n,s,Cq.idsEqual).length}function _U(e,t){const n=t.categories.reduce(((e,t)=>e+t.items.size||0),0);if(t.id!==dU&&0===n){const n=e.findIndex((e=>e.id===t.id));-1!==n&&e.splice(n,1)}}function AU(e,t){if(0===t.length)return;const n=IU({groups:e,itemIds:t});n.length>0&&cU().removeItemsFromSelection({itemIds:n})}const{localSelectionGroup:wU,localSelectionGroupIndex:SU,categoryOrder:kU}=xU;function jU(e,n,r){return Ym(this,void 0,void 0,(function*(){const{itemIds:o,replaceItems:i=!1,getActionResult:a}=r,s=n(),l=function(e,t){let n=dU,r=!1;const{label:o,subLabel:i}=e;if(void 0!==o&&void 0!==i){const e=t.groups.find((e=>e.label===o&&e.subLabel===i));r=void 0===(null==e?void 0:e.id),n=(null==e?void 0:e.id)||t.createGroup({label:o,subLabel:i})}return{newGroupCreated:r,groupId:n}}(r,s),c=l.groupId,u=l.newGroupCreated,d=function(e,n,r,o){let i=[];if(void 0===n||r)i=t.uniqBy(e,(e=>e.tagNo+e.instCode));else{const r=e.filter((e=>!bU({itemId:e,categoryId:exports.GlobalSelectionCategoryId.Tags,groupId:n,groups:o.groups})));i=t.uniqBy(r,(e=>e.tagNo+e.instCode))}return i}(o,c,i,s);if(0===d.length||0===o.length){const e={fetchResults:[{values:[],isSuccess:!0}],actionResult:"NoChanges"};return a?e:e.fetchResults}if(i&&!u&&EU({itemIds:d,groups:s.groups,groupId:c,categoryId:exports.GlobalSelectionCategoryId.Tags}))return NU(a);e((e=>{!function(e,n,r,o){const{targetCategory:i}=function(e,n){const r=CU({groupId:n,categoryId:exports.GlobalSelectionCategoryId.Tags,groups:e.groups});let o,i;if(r||0!==e.groups.length)o=(null==r?void 0:r.group)||e.groups[SU],i=(null==r?void 0:r.category)||o.categories[kU.tagIndex];else{const n=t.cloneDeep(wU);e.groups.push(n),o=n,i=n.categories[kU.tagIndex]}return{targetGroup:o,targetCategory:i}}(e,n);o&&function(e,t){if(0===t.length)return;const n=IU({groups:e,itemIds:t});if(n.length>0){const e=t.filter((e=>n.some((t=>Cq.idsEqual(e,t)))));cU().removeItemsFromSelection({itemIds:e})}}(e.groups,function(e,n){const r=Array.from(e.items.values()).map((e=>e.id));return t.differenceWith(r,n,Cq.idsEqual)}(i,r));!function(e,t){t.forEach((t=>{e.items.set(Cq.itemIdToString(t),{id:t,type:exports.GlobalSelectionItemType.Tag})}))}(i,r)}(e,c,d,i)}),!1,"addTags");const m=yield cU().addTagsToSelection({tagIds:d});return function(e,t){const n=1===e.fetchResult.length&&0===e.fetchResult[0].values.length;return n&&!t&&"NoChanges"!==e.actionResult}(m,i)?NU(a):a?{fetchResults:m.fetchResult,actionResult:u?"NewGroupCreated":i?"ItemsUpdated":"ItemsAdded"}:m.fetchResult}))}function NU(e){const t={fetchResults:[{values:[],isSuccess:!0}],actionResult:"NoChanges"};return e?t:t.fetchResults}const{localSelectionGroup:TU,localSelectionGroupIndex:PU}=xU;function OU(){return{fetchResults:[{values:[],isSuccess:!0}],actionResult:"NoChanges"}}const{categoryOrder:MU}=xU,LU=function(e){const{itemCategory:n,addItemToGlobalSelection:r,itemType:o,categoryOrderIndex:i}=e;return function(e,a,s){return Ym(this,void 0,void 0,(function*(){const{itemIds:l,replaceItems:c=!1}=s,u=a(),d=function(e,t){let n=dU,r=!1;const{label:o,subLabel:i}=e;if(void 0!==o&&void 0!==i){const e=t.groups.find((e=>e.label===o&&e.subLabel===i));r=void 0===(null==e?void 0:e.id),n=(null==e?void 0:e.id)||t.createGroup({label:o,subLabel:i})}return{newGroupCreated:r,groupId:n}}(s,u),m=d.groupId,p=d.newGroupCreated,h=function(e,n,r,o,i){const a=void 0===n||r?[...e]:e.filter((e=>!bU({itemId:e,categoryId:i,groupId:n,groups:o.groups})));return t.uniqBy(a,(e=>Cq.itemIdToString(e)))}(l,m,c,u,n);if(0===h.length||0===l.length)return OU();if(c&&!p&&EU({itemIds:h,groups:u.groups,groupId:m,categoryId:exports.GlobalSelectionCategoryId.WorkOrders}))return OU();e((e=>{!function(e,n,r,o,i,a){const{targetCategory:s}=function(e,n,r){const o=CU({groupId:n,categoryId:exports.GlobalSelectionCategoryId.WorkOrders,groups:e.groups});let i,a;if(o||0!==e.groups.length)i=(null==o?void 0:o.group)||e.groups[PU],a=(null==o?void 0:o.category)||i.categories[r];else{const n=t.cloneDeep(TU);e.groups.push(n),i=n,a=n.categories[r]}return{targetGroup:i,targetCategory:a}}(e,n,a);o&&function(e,t){if(0===t.length)return;const n=IU({groups:e,itemIds:t});if(n.length>0){const e=t.filter((e=>n.some((t=>Cq.idsEqual(e,t)))));cU().removeItemsFromSelection({itemIds:e})}}(e.groups,function(e,n){const r=Array.from(e.items.values()).map((e=>e.id));return t.differenceWith(r,n,Cq.idsEqual)}(s,r));!function(e,t,n){t.forEach((t=>{e.items.set(Cq.itemIdToString(t),{id:t,type:n})}))}(s,r,i)}(e,m,h,c,o,i)}),!1,"addItems");const f=yield r(h);return"NoChanges"===f.actionResult?OU():{fetchResults:[f.fetchResult],actionResult:p?"NewGroupCreated":c?"ItemsUpdated":"ItemsAdded"}}))}}({categoryOrderIndex:MU.workOrderIndex,addItemToGlobalSelection:e=>cU().addWorkOrdersToSelection({workOrderIds:e}),itemType:exports.GlobalSelectionItemType.WorkOrder,itemCategory:exports.GlobalSelectionCategoryId.WorkOrders});let BU;const DU=new class extends Hq{constructor(){super("selectionTreeStoreDB"),this.version(1).stores({globalSelection:"id"})}};let RU=!1;const zU={getItem:e=>Ym(void 0,void 0,void 0,(function*(){try{const t=yield DU.globalSelection.get(e),n=null==t?void 0:t.data;n&&(BU=n.flatMap((e=>e)))}catch(e){hz(e)}return RU=!0,null})),setItem:(e,t)=>Ym(void 0,void 0,void 0,(function*(){if(RU)try{const n=t.state.groups.map((e=>({id:e.id,label:e.label,subLabel:e.subLabel,categories:e.categories.map((e=>({id:e.id,label:e.label,items:Array.from(e.items.values())})))})));yield DU.globalSelection.put({id:e,data:n})}catch(e){hz(e)}})),removeItem:e=>Ym(void 0,void 0,void 0,(function*(){try{yield DU.globalSelection.delete(e)}catch(e){hz(e)}}))};const FU={loadAndPopulateStore:function(e){return Ym(this,void 0,void 0,(function*(){BU||(yield zU.getItem("selection-tree-store")),BU&&(BU.forEach((t=>{t.categories.forEach((n=>{const r=Array.from(n.items.values()).map((e=>e.id));r.length>0&&e.addItems({itemIds:r,label:t.label,subLabel:t.subLabel})}))})),nU.loadAndPopulateStoreMetadata(cU()))}))},persistOptions:{name:"selection-tree-store",storage:zU,version:1}},HU={enabled:"test"!==process.env.NODE_ENV,store:"selectionTreeStore",name:"selectionTreeStore"};p.enableMapSet();const{isTagId:qU,isWorkOrderId:UU}=Cq,{localSelectionGroup:GU,getInitialCategories:WU}=xU,QU=a.create()(oq(aq(cq(uq(((n,r)=>({groups:[t.cloneDeep(GU)],addItems:t=>{const{itemIds:n}=t,o=Qm(t,["itemIds"]),i=n.filter((e=>qU(e)));i.length>0&&r().addTags(Object.assign(Object.assign({},o),{itemIds:i}));const a=n.filter((e=>UU(e)));a.length>0&&r().addWorkOrders(Object.assign(Object.assign({},o),{itemIds:a.map((t=>({workOrderId:e.removeLeadingZeros(t.workOrderId)})))}))},addTags:e=>Ym(void 0,void 0,void 0,(function*(){return e.getActionResult,jU(n,r,e)})),addWorkOrders:e=>LU(n,r,e),createGroup:t=>{const{label:o,subLabel:i}=t,a=r().groups.find((e=>e.label===o));if(a)return a.id;const s=e.guidHelper.create();return n((e=>{const t={id:s,label:o,subLabel:i,categories:WU()};e.groups.push(t)}),void 0,"createGroup"),s},removeGroupById:e=>{const{groupId:t,categoryId:r}=e;n((e=>{let n=[];if(r){const o=CU({groupId:t,categoryId:r,groups:e.groups});if(o&&o.category){const{category:e}=o;n=Array.from(e.items.values()).map((e=>e.id)),e.items=new Map}}else{const r=e.groups.find((e=>e.id===t));r&&(r.categories.forEach((e=>{n=n.concat(Array.from(e.items.values()).map((e=>e.id))),e.items=new Map})),e.groups=e.groups.filter((e=>e.id!==t)))}AU(e.groups,n)}),void 0,"removeGroupById")},findGroupIdByLabel:e=>{const t=r().groups.find((t=>t.label===e.label));return t?t.id:void 0},removeItemsById:e=>{const{groupId:t,categoryId:r,itemIds:o}=e;n((e=>{const n=CU({groupId:t||GU.id,categoryId:r,groups:e.groups});if(!n||!n.category)return;const{group:i,category:a}=n;o.forEach((e=>{a.items.delete(Cq.itemIdToString(e))})),_U(e.groups,i),AU(e.groups,o)}),void 0,"removeItemsById")},removeAllItemsById:e=>function(e,t){const{itemIds:n}=t;e((e=>{e.groups.forEach((e=>{e.categories.forEach((e=>{n.forEach((t=>{e.items.delete(Cq.itemIdToString(t))}))}))}));for(let t=e.groups.length-1;t>=0;t--)_U(e.groups,e.groups[t]);AU(e.groups,n)}),void 0,"removeAllItemsById")}(n,e),setVisibilityById:e=>{const{groupId:n,isVisible:o,categoryId:i}=e,a=r();let s=[];const l=CU({groupId:n,categoryId:i,groups:a.groups});if(l){const{group:e,category:t}=l;t?s=Array.from(t.items.values()).map((e=>e.id)):e.categories.forEach((e=>{s=s.concat(Array.from(e.items.values()).map((e=>e.id)))}))}if(s.length>0){const e=t.uniqBy(s,Cq.itemIdToString);cU().setVisibilityByItemIds({itemIds:e,isVisible:o})}},resetState:()=>{n((e=>{e.groups=[t.cloneDeep(GU)],cU().resetState()}),void 0,"resetState")}}))),FU.persistOptions)),HU));function YU(){return QU.getState()}FU.loadAndPopulateStore(YU());const VU=Object.freeze({removeItemsByListId:e=>{KU().removeItemsById({groupId:dU,categoryId:e.listId,itemIds:e.itemIds})},remove:Object.freeze({itemsById:KU().removeItemsById,allItemsById:e=>{const{itemIds:t}=e,r=function(e){const{itemIds:t,groups:n}=e;return n.forEach((e=>{e.categories.forEach((e=>{t.some((t=>e.items.has(Cq.itemIdToString(t))))}))})),n.map((e=>({id:e.id,label:e.label,subLabel:e.subLabel})))}({itemIds:t,groups:KU().groups});var o;r.length<=1?KU().removeAllItemsById(e):(o={itemIds:t,affectedGroups:r,onDialogConfirm:()=>{KU().removeAllItemsById({itemIds:t})}},n.eventHub.emit(n.EchoEvents.OpenRemoveSelectionItemsConfirmDialog,o))},listById:KU().removeGroupById}),add:Object.freeze({tags:KU().addTags,workOrders:KU().addWorkOrders,addItems:KU().addItems}),search:{isItemIdInTheSelection:e=>bU({itemId:e.itemId,groups:KU().groups}),findGroupByLabel:KU().findGroupIdByLabel},visibility:Object.freeze({setByItemIds:ZU().setVisibilityByItemIds,setById:KU().setVisibilityById}),errorStatus:Object.freeze({setByItemIds:ZU().setErrorStatusForItems,removeByItemIds:ZU().removeErrorStatusForItems,reset:ZU().resetItemErrorStatuses}),utils:Object.freeze({numberOfItemsInSelection:e=>(e||KU().groups).reduce(((e,t)=>e+t.categories.reduce(((e,t)=>e+t.items.size),0)),0)}),clearSelection:KU().resetState,createGroup:KU().createGroup});function ZU(){return cU()}function KU(){return YU()}function JU(){const e=lU((e=>e.lists));return r.useMemo((()=>Object.values(e).map((e=>({label:e.label,type:e.type,items:[...e.items.values()]})))),[e])}const XU=({open:e,onOKButtonClicked:t})=>c.jsx(i.DialogGenerator,{isDismissable:!0,dialogStyle:{width:"300px"},onClose:t,open:e,title:"Cannot open selection in Echo 3D",actionButtons:[{color:"primary",title:"OK",onClick:()=>{t&&t()}}],children:c.jsx(d.Typography,{variant:"body_short",children:"The items you have selected are not available in the 3D model."})});var $U=_o,eG=P,tG=G,nG=re,rG=le,oG=ee,iG=Ts,aG=as,sG=Ue,lG=hs,cG=Nx,uG=_t("replace"),dG=TypeError,mG=tG("".indexOf);tG("".replace);var pG=tG("".slice),hG=Math.max;$U({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,o,i,a,s,l,c,u,d=nG(this),m=0,p="";if(!oG(e)){if(iG(e)&&(n=aG(nG(lG(e))),!~mG(n,"g")))throw new dG("`.replaceAll` does not allow non-global regexes");if(r=sG(e,uG))return eG(r,e,d,t)}for(o=aG(d),i=aG(e),(a=rG(t))||(t=aG(t)),s=i.length,l=hG(1,s),c=mG(o,i);-1!==c;)u=a?aG(t(i,c,o)):cG(i,o,c,[],void 0,t),p+=pG(o,m,c)+u,m=c+s,c=c+l>o.length?-1:mG(o,i,c+l);return m<o.length&&(p+=pG(o,m)),p}});var fG={plantNoRadioButtons:"plantNoSelectionDialog-module_plantNoRadioButtons__McUjJ"};Ad(".plantNoSelectionDialog-module_plantNoRadioButtons__McUjJ{display:flex;flex-direction:column}");const gG=({getItems:t,onPlantSelectionConfirmed:n,onCancelButtonClicked:o,onSetIsWarningDialogOpen:a,open:s})=>{const l=e.isMobileDevice(),[u,m]=r.useState("none"),p="loading"===u,[h,f]=r.useState(void 0),[g,v]=r.useState([]);return r.useEffect((()=>{s&&function(){Ym(this,void 0,void 0,(function*(){try{m("loading");const e=function(e){const t={};return e.items.forEach((e=>{const n=e.pdmsPlantCode,r=e.plantNo,o=`${n}-${r}`;t[o]?t[o].count++:t[o]={instCode:e.instCode,pdmsPlantCode:n,sapId:r,count:1}})),Object.values(t)}({items:yield t()});0===e.length?a():1===e.length?n(vG(e[0])):v(e),m("loaded")}catch(e){lN({message:"Error getting items to open in 3d"}),hz(e),m("error"),o()}}))}()}),[s]),p?function(e,t){return c.jsx(i.DialogGenerator,{title:"Loading",dialogStyle:{width:"320px"},actionButtons:[{onClick:e,title:"Close",variant:"outlined"}],open:t,children:c.jsx("div",{className:fG.spinnerContainer,children:c.jsx(xz,{})})})}(o,s):c.jsxs(i.DialogGenerator,{title:"Select plant to open in 3D",dialogStyle:{width:l?"320px":"400px"},actionButtons:[{onClick:o,title:"Cancel",variant:"outlined"},{onClick:()=>h&&n(h),title:"Select plant",disabled:!h}],open:s,children:[c.jsx(d.Typography,{children:"You have selected items on different plants."}),c.jsx(d.Typography,{children:"Please select the plant you want to open in 3D:"}),c.jsx("div",{className:fG.plantNoRadioButtons,children:g.map((e=>c.jsx(d.Radio,{label:`${e.sapId} ${e.pdmsPlantCode||""} (${e.count})`.replaceAll(" "," "),enterKeyHint:"enter",checked:(null==h?void 0:h.pdmsPlantCode)===e.pdmsPlantCode&&(null==h?void 0:h.sapId)===e.sapId,onChange:()=>{(e=>{e&&f(vG(e))})(e)}},JSON.stringify(e))))})]})};function vG(e){return{instCode:e.instCode,pdmsPlantCode:e.pdmsPlantCode,sapId:e.sapId}}const yG=({getItems:e,open:o,onPlantSelectionCompleted:i,onCancelButtonClicked:a,plantNotAvailableDialogProps:s,disableDefault3dOpener:l=!1})=>{const[u,d]=r.useState(!1),p=n.useInternalLink();return c.jsx(c.Fragment,{children:m.createPortal(c.jsxs(c.Fragment,{children:[" ",c.jsx(XU,{open:(null==s?void 0:s.open)||u,onOKButtonClicked:()=>{null==s||s.onCloseDialogClicked(),d(!1),a()}}),c.jsx(gG,{open:o&&!u,getItems:e,onPlantSelectionConfirmed:e=>{i({selectedPlant:e}),!l&&function(e){Ym(this,void 0,void 0,(function*(){if(l)return;let r=`${exports.InternalApplicationLinks.Echo3dWeb}?instCode=${e.instCode}`;e.pdmsPlantCode&&(r+=`&plantCode=${e.pdmsPlantCode}`),p(r),n.eventHub.emit(n.EchoEvents.PlantSelectedToBeOpenedIn3D,t.cloneDeep(e))}))}(e)},onCancelButtonClicked:a,onSetIsWarningDialogOpen:()=>d(!0)})]}),Jp.domSelector,Jp.portalId)})};var xG="OpenGlobalSelectionIn3DButton-module_openIn3dButton__80usR";Ad(".OpenGlobalSelectionIn3DButton-module_openIn3dButton__80usR{display:flex;font-weight:500!important}");var bG="selectionActionBar-module_container__YXhLa",CG="selectionActionBar-module_flexEndContainer__IPR4n",IG="selectionActionBar-module_selectedContainer__Mey7T",EG="selectionActionBar-module_buttonContainer__rVTs6",_G="selectionActionBar-module_iconButton__e7ZQz",AG="selectionActionBar-module_iconMarginLeft__-vv3Y",wG="selectionActionBar-module_iconMarginRight__uM4-S";Ad(".selectionActionBar-module_container__YXhLa{align-items:center;background-color:var(--equiGray5);border-top:1px solid var(--default);display:flex;height:min-content;justify-content:space-between;max-height:40px}.selectionActionBar-module_flexEndContainer__IPR4n{align-items:center;display:flex;justify-content:flex-end;width:100%}.selectionActionBar-module_selectedContainer__Mey7T{align-items:center;display:flex;margin-left:var(--medium)}.selectionActionBar-module_buttonContainer__rVTs6{align-items:center;display:flex;flex-direction:row}.selectionActionBar-module_iconButton__e7ZQz{align-items:center;display:flex}.selectionActionBar-module_iconButton__e7ZQz>span{grid-gap:0!important}.selectionActionBar-module_iconButton__e7ZQz:hover{border-radius:0!important}.selectionActionBar-module_iconMarginLeft__-vv3Y{margin-left:var(--xSmall)}.selectionActionBar-module_iconMarginRight__uM4-S{margin-right:var(--xSmall)}");const SG=({itemId:e,categoryId:t,className:n})=>{const r=function(e){const t=lU((e=>e.lists));return Object.values(t).some((t=>t.items.has(Cq.itemIdToString(e))))}(e);return c.jsx("div",{className:`${bG} ${n} `,children:r?c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:IG,children:[c.jsx(d.Icon,{size:24,name:"check",color:i.themeConst.asBuilt,className:wG}),c.jsx(d.Typography,{group:"navigation",variant:"button",color:i.themeConst.asBuilt,children:"Selected"})]}),c.jsx("div",{className:EG,children:c.jsxs(d.Button,{variant:"ghost",className:_G,onClick:()=>{VU.remove.allItemsById({itemIds:[e]})},children:[c.jsx(d.Typography,{group:"navigation",variant:"button",color:i.themeConst.borderDark,children:"Remove from selection"}),c.jsx(d.Icon,{size:24,name:"remove_outlined",color:i.themeConst.echoText,className:AG})]})})]}):c.jsx("div",{className:CG,children:c.jsxs(d.Button,{variant:"ghost",className:_G,onClick:()=>{VU.add.addItems({itemIds:[e]})},children:[c.jsx(d.Typography,{group:"navigation",variant:"button",color:i.themeConst.borderDark,children:"Add to selection"}),c.jsx(d.Icon,{size:24,name:"add",color:i.themeConst.echoText,className:AG})]})})})};var kG="WorkOrderHeader-module_verticalContainer__WD6yw",jG="WorkOrderHeader-module_container__-9lif",NG="WorkOrderHeader-module_workOrderHeaderNav__8C59g",TG="WorkOrderHeader-module_selectionActionBar__-fhO1";function PG(t){const{workOrderDetails:n,headerAction:r}=t,{orientation:o,currentWorkOrderLegendOption:a}=uB(),s=e.isMobileDevice(),l=o===i.SideSheetOrientation.Vertical||s,[u]=UR((()=>Ym(this,void 0,void 0,(function*(){return TB(n.id)}))),[n.id]),d=az(a,n.isActive,n.requiredEndDateStatus,n.basicFinishDateStatus,n.userStatus),m=`https://workorders.equinor.com/work-order/${i.removeLeadingZeros(n.id)}`,p=`https://p03web.statoil.no/sap/bc/gui/sap/its/webgui?sap-client=505&sap-language=EN&~transaction=*iw33%20CAUFVD-AUFNR=\n ${n.id}#`,h=n.description?`https://safex.equinor.com/search?keyword=${n.description}`:"https://safex.equinor.com",f=`https://opt.equinor.com/platform/${n.plantId}/wo/plan`,g=i.classnames({[kG]:l,[jG]:!l});return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:g,children:[c.jsx(iH,{workOrder:OG(n,u),isHeader:!0,itemAction:r,colorMap:d,workOrderDateType:t.workOrderDateType}),c.jsxs("nav",{className:NG,children:[c.jsx(i.BlackLink,{href:h,linkText:"SafeX",tooltipText:"Go to SafeX"}),c.jsx(i.BlackLink,{href:f,linkText:"OPT",tooltipText:"Go to OPT"}),c.jsx(i.BlackLink,{href:m,linkText:"Wo app",tooltipText:"Go to WO application"}),c.jsx(i.BlackLink,{href:p,linkText:"SAP",tooltipText:"Go to SAP"})]})]}),c.jsx(SG,{itemId:{workOrderId:n.id},categoryId:exports.GlobalSelectionCategoryId.WorkOrders,className:TG})]})}function OG(e,t){const n=e;return t&&(n.recordTypeIds=t.recordTypeIds,n.hasB30Document=t.hasB30Document,n.hasPrts=t.hasPrts),n}Ad(".WorkOrderHeader-module_verticalContainer__WD6yw>div{border-bottom:0}.WorkOrderHeader-module_container__-9lif{padding-top:16px}.WorkOrderHeader-module_container__-9lif>div{border-bottom:0}.WorkOrderHeader-module_workOrderHeaderNav__8C59g{display:flex;flex-direction:row;gap:.5rem;justify-content:flex-end;margin:0 1.5rem}.WorkOrderHeader-module_selectionActionBar__-fhO1{border-bottom:1px solid var(--default)}");const MG=({workOrderId:t,headerAction:n,workOrderDateType:r})=>{const o=e.isMobileDevice(),{orientation:a}=uB(),s=a===i.SideSheetOrientation.Vertical||o,[l,u,d]=UR((()=>NB(t)),[t]);return u||!l?c.jsx(VB,{}):d instanceof Error?c.jsx(XB,{error:d,workOrderId:t}):l||u?l&&(s?c.jsxs("div",{className:JH,children:[c.jsx(PG,{workOrderDetails:l,headerAction:n,workOrderDateType:r}),c.jsx(KH,{workOrderDetails:l})]}):c.jsxs(i.SplitView,{className:XH,children:[c.jsx(i.SplitView.Left,{isMinimizable:!0,children:c.jsx(PG,{workOrderDetails:l,headerAction:n,workOrderDateType:r})}),c.jsx(i.SplitView.Right,{className:$H,children:c.jsx(KH,{workOrderDetails:l})})]})):c.jsx(XB,{error:{name:"No data found",message:"Got no data from the server"},workOrderId:t})};function LG(e){return r.useEffect((()=>ER.moduleStarted()),[]),e.notificationId?c.jsx(cB.Provider,{value:{orientation:e.orientation,isWorkOrder:!1,tagClicked:e.tagClicked,historicItemClicked:e.historicItemClicked,showLongTextClicked:e.showLongTextClicked,currentNotificationLegendOption:e.currentNotificationLegendOption,currentWorkOrderLegendOption:e.currentWorkOrderLegendOption},children:c.jsx(SH,{notificationId:e.notificationId,headerAction:e.headerAction})}):e.workOrderId?c.jsx(cB.Provider,{value:{orientation:e.orientation,isWorkOrder:!0,workOrderOperationId:e.workOrderOperationId,tagClicked:e.tagClicked,historicItemClicked:e.historicItemClicked,objectNotificationClicked:e.objectNotificationClicked,showLongTextClicked:e.showLongTextClicked,onEquipmentClick:e.onEquipmentClick,onEquipmentLocationClick:e.onEquipmentLocationClick,currentNotificationLegendOption:e.currentNotificationLegendOption,currentWorkOrderLegendOption:e.currentWorkOrderLegendOption,currentEquipmentLegendOption:e.currentEquipmentLegendOption},children:c.jsx(MG,{workOrderId:e.workOrderId,headerAction:e.headerAction,workOrderDateType:e.workOrderDateType})}):e.punchId&&e.instCode?c.jsx(cB.Provider,{value:{instCode:e.instCode,orientation:e.orientation,isWorkOrder:!1,tagClicked:e.tagClicked,packageClicked:e.packageClicked,showLongTextClicked:e.showLongTextClicked},children:c.jsx(zH,{punchId:e.punchId,instCode:e.instCode})}):null}const BG=a.create()(aq(uq((e=>({items:{[n.ECHO_CORE_SEARCH]:[]},addContent:t=>{e((e=>{const n={content:t.content,header:t.header||null,subHeader:t.subHeader||null,itemId:t.itemId,isOpen:!0};e.items[t.panelKey]||(e.items[t.panelKey]=[]);const r=e.items[t.panelKey];if(t.keepLastNavigationItem)r.push(n);else{r[r.length>0?r.length-1:0]=n}}))},removeLastContentByPanelKey:t=>{e((e=>{e.items[t].pop()}))},clearItemsByPanelKey:t=>{e((e=>{e.items[t]&&(e.items[t]=[])}))}})))));function DG(){return BG.getState()}const RG={},zG=()=>function(e,...t){const o=r.useCallback((()=>{console.log(`Trying to call hook ${e}(): but it is not available outside of echopediaWeb context.`)}),[e]);try{return!1===RG[e]?o:n.echoHookRegistry.getHookByName(e)(...t)}catch(t){if(t.getProperties&&"InvalidHookNameError"===t.getProperties().name)return RG[e]=!1,o;throw t}}(exports.RegisteredHookName.useSetActiveTagNo);function FG(){const e=DG().addContent,{setActivePanel:t}=n.usePanels(),r=zG(),o=function(){try{return xC.useSetActiveMcPackNo()}catch(e){return()=>{console.warn("Searching for MC Pack isn't available in this environment.")}}}(),a=function(){try{return xC.useSetActiveCommPackNo()}catch(e){return()=>{console.warn("Searching for Comm Pack isn't available in this environment.")}}}();return function(n){const{panelKey:s,keepLastNavigationItem:l,prepviewInput:u}=n,{notificationId:d,workOrderId:m,punchId:p,instCode:h}=u;t(s),e({keepLastNavigationItem:l,panelKey:s,content:c.jsx(LG,{instCode:h,orientation:i.SideSheetOrientation.Vertical,workOrderId:m,notificationId:d,punchId:p,tagClicked:(e,t)=>r({tagNo:e,instCode:t,activePanelKey:s,keepLastNavigationItem:!0}),packageClicked:(e,t,n)=>{e===exports.ItemTypes.mcPack?o({mcPackNo:t,activeMcPackProject:n}):e===exports.ItemTypes.commPack&&a({commPackNo:t,activeCommPackProject:n})}})})}}function HG(){d.Icon.add(Object.assign({},C))}var qG="leftPanelNavigationContainer-module_headerWrapper__kUCQs",UG="leftPanelNavigationContainer-module_headerContainer__h-PyC",GG="leftPanelNavigationContainer-module_contentContainer__qiM8g";Ad(".leftPanelNavigationContainer-module_headerWrapper__kUCQs{border-bottom:1px solid var(--default)}.leftPanelNavigationContainer-module_headerContainer__h-PyC{flex-grow:1}.leftPanelNavigationContainer-module_contentContainer__qiM8g{flex-grow:1;overflow-x:hidden;overflow-y:auto}");const WG=({itemToDisplay:e})=>e.header?c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:qG,children:[c.jsx("div",{className:UG,children:e.header}),e.subHeader&&c.jsx("div",{children:e.subHeader})]}),c.jsx("div",{className:GG,children:e.content})]}):c.jsx("div",{className:GG,children:e.content});var QG="leftPanelNavigationSideSheet-module_leftPanelNavigationContainer__7drus",YG="leftPanelNavigationSideSheet-module_containerWithActiveLegend__VrCrf";Ad(".leftPanelNavigationSideSheet-module_leftPanelNavigationContainer__7drus{background:var(--white);display:flex;flex-direction:column;height:calc(100% - 2.8rem);padding-bottom:env(safe-area-inset-bottom);position:absolute;top:2.8rem;width:100%;z-index:11}.leftPanelNavigationSideSheet-module_containerWithActiveLegend__VrCrf{padding-bottom:60px}@media screen and (max-width:927px) and (orientation:landscape){.leftPanelNavigationSideSheet-module_containerWithActiveLegend__VrCrf{padding-bottom:calc(46px + env(safe-area-inset-bottom))}}@media screen and (max-width:767px) and (orientation:portrait){.leftPanelNavigationSideSheet-module_containerWithActiveLegend__VrCrf{padding-bottom:calc(53px + env(safe-area-inset-bottom))}}");const VG=({itemToDisplay:e})=>{const{isLegendActive:t}=uC();return e?c.jsx("div",{className:`${QG} ${t?YG:""}`,children:c.jsx(WG,{itemToDisplay:e})}):null};var ZG="corePanelLeft-module_wrapper__7rR84",KG="corePanelLeft-module_wrapperClosed__D5H3B",JG="corePanelLeft-module_active__0B7aF",XG="corePanelLeft-module_drawer__TfzGI",$G="corePanelLeft-module_sideSheet__3jt0-";Ad(".corePanelLeft-module_wrapper__7rR84{font-family:var(--eq-echo-font-family);height:calc(100% - 60px);left:-550px;max-width:550px;position:fixed;top:0;transition:all .4s ease-out;width:550px;z-index:2}@media screen and (max-width:550px){.corePanelLeft-module_wrapperClosed__D5H3B{left:-75vw;max-width:75vw;padding:env(safe-area-inset-top,56px) env(safe-area-inset-right,56px) env(safe-area-inset-bottom,56px) env(safe-area-inset-left,56px);width:75vw}.corePanelLeft-module_active__0B7aF{width:100%}}.corePanelLeft-module_active__0B7aF{left:0;z-index:var(--echo-framework-z-level-panel-left)}.corePanelLeft-module_drawer__TfzGI{background-color:#fff;box-shadow:0 6px 4px #00000040;display:flex;flex-direction:column;height:100%;opacity:0;overflow-x:hidden;overflow-y:hidden;position:relative;transition:all .4s ease-out;width:auto}.corePanelLeft-module_active__0B7aF .corePanelLeft-module_drawer__TfzGI{opacity:1}.corePanelLeft-module_button__pJXdM{margin-left:var(--medium);margin-top:var(--small)}@media screen and (max-width:767px) and (orientation:portrait){.corePanelLeft-module_wrapper__7rR84{height:calc(100% - 48px)}.corePanelLeft-module_drawer__TfzGI{left:0;top:100vh}.corePanelLeft-module_active__0B7aF .corePanelLeft-module_drawer__TfzGI{left:0;top:0}}@media screen and (max-width:927px) and (orientation:landscape){.corePanelLeft-module_active__0B7aF{height:100%;left:calc(53px + env(safe-area-inset-left))}}@media screen and (min-width:928px) and (orientation:landscape){.corePanelLeft-module_wrapper__7rR84{top:64px}.corePanelLeft-module_wrapper__7rR84.corePanelLeft-module_active__0B7aF{left:64px}}@media screen and (min-width:768px) and (orientation:portrait){.corePanelLeft-module_wrapper__7rR84{top:64px}.corePanelLeft-module_wrapper__7rR84.corePanelLeft-module_active__0B7aF{left:64px}}.corePanelLeft-module_sideSheet__3jt0-{height:100%;width:100%}");var eW="previous-module_sideSheetPreviousWrapper__Qqu1q";Ad(".previous-module_sideSheetPreviousWrapper__Qqu1q{align-items:center;display:flex;flex-flow:row nowrap;gap:.5rem;padding:0 1rem}.previous-module_sideSheetPreviousWrapper__Qqu1q button{min-width:40px}");const tW=({title:e,onClick:t})=>c.jsxs("div",{className:eW,children:[c.jsx(d.Button,{variant:"ghost_icon",onClick:t,"aria-label":"Navigate back",children:c.jsx(d.Icon,{name:"chevron_left"})}),c.jsx(d.Typography,{group:"navigation",variant:"button",color:"var(--disabledColor)",children:e})]}),nW=e=>{const t={panelKey:e};n.eventHub.emit(n.EchoEvents.SearchItemDetailsClosed,t)};HG();const rW=()=>{var e;const{modulePanels:o,activePanel:a,isPanelActive:s,panelUI:l}=n.usePanels(),[u,d]=r.useState([]),{updateActiveAppMenuItem:m}=uC(),p=n.useActivePanelState().activePanel,h=FG(),f=null===(e=u.find((e=>e.key===a)))||void 0===e?void 0:e.component,{previousButton:g,activeSearchItem:v}=(()=>{const{modulePanels:e}=n.usePanels(),[o,i]=r.useState(void 0),[a,s]=r.useState(),l=n.useActivePanelState().activePanel,u=BG((e=>e.items))[l],d=BG.getState().removeLastContentByPanelKey;return r.useEffect((()=>{if(a){const t=ob(u,e,l),n=()=>{d(l),(null==u?void 0:u.length)<=1&&nW(l)};i(c.jsx(tW,{title:t,onClick:n}))}else i(void 0)}),[l,a,e,u]),r.useEffect((()=>{s(t.last(u))}),[l,u]),{previousButton:o,activeSearchItem:a}})();return r.useEffect((()=>{d(o)}),[o]),n.useEventSubscriber(n.EchoEvents.OpenPrepview,(e=>{h({prepviewInput:{workOrderId:e.workOrderId,notificationId:e.notificationId,punchId:e.punchId,instCode:e.instCode},panelKey:p})})),c.jsx("div",{className:ZG+` ${s?JG:KG}`,style:l.panelWrapper,children:c.jsx("div",{className:XG,style:l.panel,children:c.jsxs(i.SideSheet,{open:s,side:"left",previous:g,closeSheet:()=>{m(""),n.setActivePanel("")},orientation:i.SideSheetOrientation.Vertical,className:$G,children:[a&&f?c.jsx(f,{}):null,c.jsx(VG,{itemToDisplay:v})]})})})};var oW="corePanelRight-module_wrapper__6hUmM",iW="corePanelRight-module_active__Wuvv-",aW="corePanelRight-module_drawer__Q5mok",sW="corePanelRight-module_appWrapper__v4ckB",lW="corePanelRight-module_appDrawer__awaaJ";Ad(".corePanelRight-module_wrapper__6hUmM{height:100%;max-width:550px;position:fixed;right:-352px;top:0;transition:right .4s ease-in-out,width .4s ease-in-out;width:352px;z-index:2}.corePanelRight-module_active__Wuvv-{right:0;z-index:var(--echo-framework-z-level-panel-main)}.corePanelRight-module_drawer__Q5mok{background-color:#fff;border-left:2px solid #f7f7f7;box-shadow:0 6px 4px #00000040;display:flex;flex-direction:column;height:100%;opacity:0;overflow-x:hidden;overflow-y:auto;position:relative;transition:opacity .4s ease-in-out;width:auto}.corePanelRight-module_buttonContainer__it2ZH{display:flex;flex-direction:column;left:-80px;position:absolute;top:0}.corePanelRight-module_button__x9SCR{margin-left:var(--medium);margin-top:var(--small)}@media screen and (max-width:550px){.corePanelRight-module_active__Wuvv-{width:100%}}@media screen and (max-width:767px) and (orientation:portrait){.corePanelRight-module_wrapper__6hUmM{height:calc(100% - 48px)}.corePanelRight-module_drawer__Q5mok{transition:all .4s ease-out}}@media screen and (max-width:927px) and (orientation:landscape){.corePanelRight-module_wrapper__6hUmM .corePanelRight-module_buttonContainer__it2ZH{left:calc(-82px - env(safe-area-inset-right))}.corePanelRight-module_appWrapper__v4ckB{right:-352px}.corePanelRight-module_appWrapper__v4ckB .corePanelRight-module_buttonContainer__it2ZH{left:calc(273px - env(safe-area-inset-right))}.corePanelRight-module_appDrawer__awaaJ{box-shadow:none;left:calc(-100vw + 398px + env(safe-area-inset-left))}.corePanelRight-module_appWrapper__v4ckB .corePanelRight-module_appDrawer__awaaJ{left:calc(-100vw + 50px + env(safe-area-inset-left))}.corePanelRight-module_drawer__Q5mok{box-shadow:none;transition:all .4s ease-out}.corePanelRight-module_active__Wuvv-{padding-top:env(safe-area-inset-top);right:-352px;z-index:var(--echo-framework-z-level-panel-main)}.corePanelRight-module_active__Wuvv- .corePanelRight-module_drawer__Q5mok{right:calc(352px + env(safe-area-inset-right))}.corePanelRight-module_wrapper__6hUmM.corePanelRight-module_active__Wuvv- .corePanelRight-module_buttonContainer__it2ZH{left:calc(-432px - env(safe-area-inset-right))}.corePanelRight-module_wrapper__6hUmM.corePanelRight-module_appWrapper__v4ckB.corePanelRight-module_active__Wuvv- .corePanelRight-module_buttonContainer__it2ZH{left:calc(-82px - env(safe-area-inset-right))}}@media screen and (min-width:928px){.corePanelRight-module_wrapper__6hUmM{top:64px}}.corePanelRight-module_active__Wuvv- .corePanelRight-module_drawer__Q5mok{opacity:1}"),HG();const cW=r.memo((()=>{var e;const{modulePanels:t,activePanel:o,isPanelActive:i,panelUI:a}=n.usePanels("right"),[s,l]=r.useState([]);r.useEffect((()=>{l(t)}),[t]);const u=o===n.ECHO_CORE_MAIN,d=null===(e=s.find((e=>e.key===o)))||void 0===e?void 0:e.component;return c.jsx("div",{className:`${oW} ${i?iW:""} ${u?sW:""}`,style:a.panelWrapper,children:c.jsx("div",{className:`${aW} ${u?lW:""}`,style:a.panel,children:o&&d?c.jsx(d,{}):null})})}));function uW(e,t){const n=e.filter((e=>e.toLowerCase().startsWith(t.toLowerCase()))),r=e.filter((e=>e.toLowerCase().includes(t.toLowerCase()))).filter((e=>!n.includes(e)));return n.concat(r)}var dW="ProcosysProjectSelector-module_spinner__qS6wk",mW="ProcosysProjectSelector-module_loadingIndicatorWrapper__rDcO6";Ad(".ProcosysProjectSelector-module_spinner__qS6wk{padding-left:.5em}.ProcosysProjectSelector-module_loadingIndicatorWrapper__rDcO6{font-family:var(--eq-echo-font-family)}");const pW="All projects";var hW="IMSConnector-module_wrapper__ogTbZ",fW="IMSConnector-module_experimentalWarning__XcIXh IMSConnector-module_wrapper__ogTbZ",gW="IMSConnector-module_message__1U-KH",vW="IMSConnector-module_requestAccess__WaWbI";function yW(e,t,n){r.useEffect((()=>{if(e)return e.on(t,n),()=>{e.off(t,n)}}),[e,t,n])}function xW(e){return Object.assign(Object.assign({},e),{loading:!1})}function bW(e){return Object.assign(Object.assign({},e),{loading:!0})}function CW(){return Ym(this,void 0,void 0,(function*(){return n.EchoClient.getAccessToken()}))}function IW(t,o){const i=function(t){const[o,i]=r.useState({status:"ok",loading:!1});return yW(o.connection,"subscribe",((e,t,n)=>{i(200===t?e=>Object.assign(Object.assign({},e),{loading:!1,status:"ok",statusCode:t}):e=>Object.assign(Object.assign({},e),{loading:!1,status:"error",statusCode:t,message:"string"==typeof n?n:""}))})),e.useEffectAsync((e=>Ym(this,void 0,void 0,(function*(){function r(t){e.aborted||i(t)}const o=(new f.HubConnectionBuilder).withUrl(n.baseApiUrl+t,{accessTokenFactory:CW}).withAutomaticReconnect().build();return o.onreconnected((()=>r(bW))),o.onreconnecting((()=>r(xW))),yield o.start(),r((e=>Object.assign(Object.assign({},e),{connection:o}))),r(bW),()=>{o.stop()}}))),[]),o}("/real-time-data"),{connection:a,loading:s}=i,l=Qm(i,["connection","loading"]),[c,u]=r.useState(),[d,m]=r.useState();return yW(a,"realtimedata",(e=>{const[t]=e.dataPoints;m(t)})),e.useEffectAsync((()=>Ym(this,void 0,void 0,(function*(){if(!o||!a)return;const e=yield function(e,t){return Ym(this,void 0,void 0,(function*(){var r;const o=`${n.baseApiUrl}/${t}/timeseries/search-ims-by-name?name=${e}`;try{const t=yield n.request({url:o,cache:{timeInSeconds:0}});return null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.items.find((t=>t.name===e))}catch(e){return}}))}(t,o);if(e){u(e);const t=e.id,r=yield n.EchoClient.getAccessToken();return yield a.send("subscribe",r,t),()=>Ym(this,void 0,void 0,(function*(){a.state===f.HubConnectionState.Connected&&(yield a.send("unsubscribe",t))}))}}))),[a,t,o]),Object.assign({metadata:c,present:d,connection:a,loading:s||!d},l)}function EW({ims:e,instCode:t}){const{metadata:n,present:o,status:a,message:s,loading:l,statusCode:u}=IW(e,t),[m,p]=r.useMemo((()=>o&&n?[o.value,n.unit]:[]),[n,o]);return"error"===a?c.jsx(AW,{instCode:t,statusCode:u,message:s}):c.jsxs("div",{className:hW,children:[c.jsx("div",{children:l?c.jsx(d.CircularProgress,{}):c.jsx(_W,{value:m,unit:p})}),c.jsxs("div",{className:fW,children:[c.jsx(d.Icon,{name:"warning_outlined",color:i.themeConst.warningIcon}),c.jsx(d.Typography,{variant:"helper",group:"input",children:"Tag sensor mapping is experimental, do not use for operational purposes"})]})]})}function _W({value:e,unit:t}){return null==e?null:c.jsxs(c.Fragment,{children:[c.jsx("span",{children:e})," ",t&&c.jsx("b",{children:t})]})}function AW({instCode:e,statusCode:t,message:n}){const r=403===t||(null==n?void 0:n.includes("Error validating access"));return c.jsx("div",{className:gW,children:r?c.jsx(wW,{instCode:e}):c.jsx(d.Typography,{variant:"body_short",color:i.themeConst.echoText,children:null!=n?n:"Something went wrong with RTD connection."})})}function wW({instCode:e}){const t=new URL("https://accessit.equinor.com");return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:vW,children:[c.jsx(d.Typography,{variant:"body_short",color:i.themeConst.echoText,children:"You need access to:"}),c.jsxs(d.List,{children:[c.jsx(d.List.Item,{children:"Omnia Plant Timeseries Read"}),c.jsx(d.List.Item,{children:"PI vision"}),"JSV"!==e&&c.jsx(d.List.Item,{children:"AspenOne Process Explorer"})]})]}),c.jsx(d.Button,{as:"a",href:t.href,variant:"outlined",children:"Go to AccessIT"})]})}Ad(".IMSConnector-module_wrapper__ogTbZ{align-items:center;display:grid;gap:1rem;grid-row:1fr;grid-template-columns:1fr 1fr;justify-items:center;margin-top:1rem}.IMSConnector-module_experimentalWarning__XcIXh{grid-template-columns:auto 1fr;margin-top:0}.IMSConnector-module_message__1U-KH{margin-top:1rem;width:100%}.IMSConnector-module_requestAccess__WaWbI{margin-bottom:1rem}");var SW="Popover-module_wrapper__bp2D1",kW="Popover-module_optionsPopover__THa5w";Ad(".Popover-module_wrapper__bp2D1{display:flex;flex-direction:column;left:0;position:absolute;right:0;z-index:10}.Popover-module_optionsPopover__THa5w{display:flex}@media screen and (max-width:440px){.Popover-module_optionsPopover__THa5w{max-width:270px}.Popover-module_wrapper__bp2D1{left:0}.Popover-module_optionsPopover__THa5w{align-self:flex-start}}");const jW=({children:e})=>c.jsx("div",{className:SW,onClick:e=>e.stopPropagation(),children:c.jsx("div",{className:kW,children:e})});var NW="RealTimeContextButton-module_wrapper__YxXsd",TW="RealTimeContextButton-module_button__3CZB-";Ad(".RealTimeContextButton-module_wrapper__YxXsd{margin-left:4px}.RealTimeContextButton-module_button__3CZB-{background-color:var(--white)!important;border:3px solid var(--white)!important;border-radius:10rem;box-shadow:0 4px 4px rgba(0,0,0,.25);box-sizing:border-box;height:46px!important;width:46px!important}.RealTimeContextButton-module_button__3CZB-:hover{background:#deedee!important}");const PW=({onOpen:e,children:t})=>{const[n,o]=r.useState(!1);return c.jsxs("div",{className:NW,children:[c.jsx(d.Button,{className:TW,variant:"ghost_icon",onClick:function(){const t=!n;t&&e&&e(),o(t)},children:n?c.jsx(d.Icon,{name:"close",title:"Close Real Time Data",color:i.themeConst.asBuilt}):c.jsx(d.Icon,{name:"timeline",title:"Real Time Data",color:i.themeConst.asBuilt})}),n&&c.jsx(jW,{children:t})]})};var OW="RealTimeIMSDropdown-module_popoverContent__8L19L",MW="RealTimeIMSDropdown-module_select__Bnhdb";function LW({imsFields:e,instCode:t}){const[n,o]=r.useState(void 0),i=r.useMemo((()=>e.map((e=>e.description))),[e]);return c.jsxs("div",{className:OW,children:[c.jsx(d.Autocomplete,{className:MW,label:"Select sensor",options:i,onOptionsChange:t=>function(t){let n;t&&(n=e.find((e=>e.description===t))),o(n)}(t.selectedItems[0])}),n&&c.jsx(EW,{ims:n.value,instCode:t})]})}Ad(".RealTimeIMSDropdown-module_popoverContent__8L19L{align-items:center;background-color:#fff;border-color:grey;border-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);display:flex;flex-direction:column;margin-top:1rem;padding:1rem;width:100%}.RealTimeIMSDropdown-module_select__Bnhdb{width:100%}");const BW=e=>"/"===e?"":e.split("/")[1].split("?")[0],DW=({children:e,path:t})=>{const o=BW(t);return r.useEffect((()=>{o&&n.setActiveModulePanels(o)}),[o]),c.jsx(c.Fragment,{children:e})},RW=({component:e,layoutKey:t,path:n,errorHandler:r,exactPath:i=!0})=>c.jsx(o.Route,{exact:i,path:n,render:o=>c.jsx(pI,{layoutKey:t,children:c.jsx(DW,{path:n,children:c.jsx(jM,{onComponentDidCatch:r,children:c.jsx(e,Object.assign({},o))})})})});var zW="searchMenu-module_panel__Yu-T9",FW="searchMenu-module_wrapper__qjLIJ";Ad(".searchMenu-module_panel__Yu-T9{padding:var(--small)}.searchMenu-module_wrapper__qjLIJ{display:flex;flex-direction:column;margin:10px}.searchMenu-module_close__TqvNf{align-self:end}");const HW=()=>c.jsx("div",{className:FW,children:c.jsxs("div",{className:zW,children:[c.jsx("h3",{children:"SearchMenu"}),c.jsxs("p",{children:["You're running your echo app in ",c.jsx("b",{children:"echo-client"}),", the client - shell application for echo apps / modules."]}),c.jsxs("p",{children:[c.jsx("b",{children:"echo-client"})," is a bare-bones version of the original app, echopediaWeb. The purpose of it is to help echo teams to develop their app independently from echopediaWeb itself."]})]})});var qW="tagNo-module_tagNo__5ADD6";Ad(".tagNo-module_tagNo__5ADD6{color:var(--asBuilt);cursor:pointer;text-decoration:underline}");var UW="tagSearchDropDown-module_tagSearchItem__LE0Mo",GW="tagSearchDropDown-module_tagSearchItemNoAndDescription__f8glq",WW="tagSearchDropDown-module_tagDescription__q2Ix-",QW="tagSearchDropDown-module_tagCategoryDescription__keZYa",YW="tagSearchDropDown-module_tagsSearchDropDownBtn__NqYLZ";Ad(".tagSearchDropDown-module_tagSearchItem__LE0Mo{align-self:center;display:flex;flex-direction:row;justify-content:space-between}.tagSearchDropDown-module_tagSearchItemNoAndDescription__f8glq{display:flex;flex-direction:column;max-width:60%}.tagSearchDropDown-module_tagDescription__q2Ix-{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tagSearchDropDown-module_tagCategoryDescription__keZYa{align-items:center;display:flex;flex-shrink:0;justify-content:center;max-width:40%;text-align:right}.tagSearchDropDown-module_tagNumber__forRM{font-weight:500}.tagSearchDropDown-module_tagsSearchDropDownBtn__NqYLZ{background:transparent;border:none;box-sizing:border-box;margin-bottom:var(--small);padding:var(--small);text-align:left;width:100%}.tagSearchDropDown-module_tagsSearchDropDownBtn__NqYLZ:focus,.tagSearchDropDown-module_tagsSearchDropDownBtn__NqYLZ:hover{background-color:#e6faec;color:var(--equiGreen1)}.tagSearchDropDown-module_tagsSearchDropDownBtn__NqYLZ:focus{border:1px solid var(--equiGreen1);box-sizing:border-box}");var VW="toaster-module_toaster__fYuyY",ZW="toaster-module_chip__-w1z2",KW="toaster-module_toastersSection__ypjaz",JW="toaster-module_toasterContent__aOWAH",XW="toaster-module_toasterMessage__jIGxU",$W="toaster-module_closeIcon__LSaoV";Ad(".toaster-module_toaster__fYuyY{bottom:var(--medium);left:var(--small);max-width:fit-content;position:fixed;right:var(--medium)}@media screen and (max-width:927px) and (orientation:landscape){.toaster-module_toaster__fYuyY{left:64px!important}}@media screen and (max-width:767px) and (orientation:portrait){.toaster-module_toaster__fYuyY{bottom:64px!important}}.toaster-module_chip__-w1z2{padding:5px!important;position:absolute;right:-5px;top:-5px}.toaster-module_toastersSection__ypjaz{grid-gap:24px;align-items:start;bottom:8px;display:grid;grid-auto-rows:32px;height:auto;left:8px;position:absolute}.toaster-module_toastersSection__ypjaz>div{height:32px;position:relative;width:fit-content}@media (display-mode:standalone){@media screen and (max-width:927px) and (orientation:landscape){.toaster-module_toaster__fYuyY{left:104px!important;margin-left:var(--small)!important}}@media screen and (max-width:767px) and (orientation:portrait){.toaster-module_toaster__fYuyY{bottom:84px!important;margin-bottom:var(--small)!important}}}.toaster-module_toasterContent__aOWAH{align-items:center;display:flex}.toaster-module_toasterMessage__jIGxU{display:flex;width:100%}.toaster-module_closeIcon__LSaoV{display:flex;margin-left:var(--small)}.toaster-module_closeIcon__LSaoV>svg:hover{opacity:.6}");const eQ=({toast:e,numberOfToasts:t,toastNumber:n,onClose:o})=>{const[i,a]=r.useState(!0);return c.jsxs(d.Snackbar,{placement:"bottom-left",open:i,className:VW,children:[n===t-1&&1!==t&&c.jsx(d.Chip,{variant:"error",className:ZW,children:t}),c.jsxs("div",{className:JW,children:[c.jsx("div",{className:XW,children:e.message}),c.jsx("div",{className:$W,children:c.jsx(d.Icon,{name:"clear",onClick:e=>{e.stopPropagation(),a(!1),null==o||o(),e.preventDefault()}})})]})]})};let tQ=[];var nQ="requestAccessButton-module_requestAccessButtonAlone__60GkV";Ad(".requestAccessButton-module_requestAccessButtonAlone__60GkV{margin:.7rem 0 0!important;padding:0 16px!important}");const rQ=({applyForAccessUrl:e,buttonLabel:t,className:n,onClicked:r})=>{return o=null!=n?n:nQ,c.jsx(d.Button,{onClick:()=>{!function(){Ym(this,void 0,void 0,(function*(){window.open(e),null==r||r()}))}()},variant:"outlined",className:o,children:t||"Request access"});var o};var oQ="requestSapAccess-module_container__qoodA",iQ="requestSapAccess-module_paddedContainer__4BDiJ",aQ="requestSapAccess-module_title__n-xpz",sQ="requestSapAccess-module_typeDescription__g73Cw",lQ="requestSapAccess-module_list__XwqOb";Ad(".requestSapAccess-module_container__qoodA{padding:unset}.requestSapAccess-module_paddedContainer__4BDiJ{padding:24px}.requestSapAccess-module_title__n-xpz{font-weight:500}.requestSapAccess-module_typeDescription__g73Cw{margin-top:20px}.requestSapAccess-module_list__XwqOb,.requestSapAccess-module_list__XwqOb>:not(:first-child){margin-top:0}");const cQ={component:lB,panelType:"right",key:n.ECHO_CORE_MAIN,icon:SC,label:"Echo"},uQ={component:HW,panelType:"left",key:n.ECHO_CORE_SEARCH,icon:()=>c.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.965 14.255H15.755L20.745 19.255L19.255 20.745L14.255 15.755V14.965L13.985 14.685C12.845 15.665 11.365 16.255 9.755 16.255C6.165 16.255 3.255 13.345 3.255 9.755C3.255 6.165 6.165 3.255 9.755 3.255C13.345 3.255 16.255 6.165 16.255 9.755C16.255 11.365 15.665 12.845 14.685 13.985L14.965 14.255ZM5.255 9.755C5.255 12.245 7.26501 14.255 9.755 14.255C12.245 14.255 14.255 12.245 14.255 9.755C14.255 7.26501 12.245 5.255 9.755 5.255C7.26501 5.255 5.255 7.26501 5.255 9.755Z",fill:"#007079"})}),label:"Search"};function dQ(e,t=500){const n=r.useRef(),o=()=>{n.current&&clearTimeout(n.current)};return{onTouchStart:r=>{return o=r,void(n.current=setTimeout((()=>{e(o)}),t));var o},onTouchMove:()=>o(),onTouchEnd:()=>o()}}function mQ(e){return Ym(this,void 0,void 0,(function*(){let t=null==e?void 0:e.target;"MARK"===t.nodeName&&t.parentElement&&(t=t.parentElement);const n=function(e){let t=e.firstChild;if(!t)return;const n=[];for(;t;)"MARK"===t.nodeName&&t.textContent&&n.push(t.textContent),t.nodeType===Node.TEXT_NODE&&t.nodeValue&&n.push(t.nodeValue),t=t.nextSibling;return n.join("")}(t);n&&(yield navigator.clipboard.writeText(n),lN({message:`Text copied to clipboard: ${n}`}))}))}var pQ="EchoEventHandler-module_echoEventContainer__h6p5a";Ad(".EchoEventHandler-module_echoEventContainer__h6p5a{height:100%}");var hQ,fQ=G,gQ=Pr,vQ=as,yQ=re,xQ=fQ(PD),bQ=fQ("".slice),CQ=Math.ceil,IQ={start:(hQ=!1,function(e,t,n){var r,o,i=vQ(yQ(e)),a=gQ(t),s=i.length,l=void 0===n?" ":vQ(n);return a<=s||""===l?i:((o=xQ(l,CQ((r=a-s)/l.length))).length>r&&(o=bQ(o,0,r)),hQ?i+o:o+i)})},EQ=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(ve),_Q=IQ.start;function AQ(e){return Ym(this,void 0,void 0,(function*(){var t;let r="equipmentId"in e?[e.equipmentId]:e.equipmentIds;if(0===r.length)return[];r=r.map((e=>`${e}`.padStart(18,"0")));const o="includeMeasuringPoints"in e&&e.includeMeasuringPoints,i=`${n.baseApiUrl}/equipment/search?${r.map((e=>`equipmentId=${e}`)).join("&")}&includeMeasuringPoints=${o?"true":"false"}`;return null!==(t=yield n.request({url:i}))&&void 0!==t?t:[]}))}_o({target:"String",proto:!0,forced:EQ},{padStart:function(e){return _Q(this,e,arguments.length>1?arguments[1]:void 0)}});const wQ=({equipment:e})=>c.jsx(i.ListItem,{primary:rb(e.equipmentId),icon:{name:"donut_outlined",color:i.themeConst.white,backgroundColor:"var(--strongGray)"},secondary:e.equipmentDescription,as:"div",hideBorderBottom:!0});function SQ(e){const[t,o]=r.useState({});return n.useEventSubscriber(n.EchoEvents.LegendStatusesChanged,(e=>{setTimeout((()=>{o(e.itemIdToStatusMap)}),0)})),r.useEffect((()=>{if(e)return n.eventHub.emit(n.EchoEvents.AddNewItemToLegendRegistryRequest,{itemId:e,itemType:"tag",appKey:"search"}),()=>{n.eventHub.emit(n.EchoEvents.RemoveItemFromLegendRegistryRequest,{itemId:e,itemType:"tag",appKey:"search"})}}),[e]),t}const kQ=Ed;function jQ(e){return Cd.toSingleStatuses(e).map((e=>({title:e,color:Id(e)})))}const NQ=({equipment:e,tagNo:t,plantNo:r})=>{const o=SQ(t),a=zG(),s=n.useActivePanelState().activePanel,l=[{label:"MANUFACTURER",value:e.manufacturer},{label:"MODEL NO.",value:e.modelNo},{label:"PART NO.",value:e.partNo},{label:"SERIAL NO.",value:e.serialNo},{label:"MATERIAL DETAIL",value:e.materialDescription},{label:"MATERIAL GROUP",value:e.materialGroup},{label:"NPS",value:e.nominalPipeSize},{label:"SURFACE ITEMS",value:e.surfaceItems},{label:"CUI ITEM",value:e.cuiItem},{label:"INSULATION CLASS",value:e.insulationClass},{label:"COATING SYSTEM BY DESIGN",value:e.coatingSystemByDesign},{label:"COATING SYSTEM FOR MAINTENANCE",value:e.coatingSystemForMaintenance},{label:"TAG",value:""!==t&&c.jsx(i.InlineTagIconLink,{tagNo:t,description:"",legendColor:o?Id(Ed(o[t])):i.themeConst.strongGray,icon:"tag",onClickHandler:()=>Ym(void 0,void 0,void 0,(function*(){const e=yield function(e){return Ym(this,void 0,void 0,(function*(){var t;return null===(t=(yield Rp()).find((t=>{var n;return(null===(n=t.sapId)||void 0===n?void 0:n.toString())===e})))||void 0===t?void 0:t.installationCode}))}(r);a({tagNo:t,instCode:e,keepLastNavigationItem:!0,activePanelKey:s})}))})}].filter((e=>e.value));return c.jsx(sL,{fields:l})};function TQ(e){return e.pdmsPlantCode}function PQ(e,t){var n;let r=`?instCode=${e}`;return r+=OQ("plantCode",t.pdmsPlantCode),r+=OQ("tagNo",t.tagNo),r+=OQ("tagArea",t.tagArea),r+=OQ("e3dRef",t.e3dRef),r+=OQ("equipmentId",t.equipmentId),r+=OQ("measuringPointIds",null===(n=t.measuringPointIds)||void 0===n?void 0:n.join(",")),{echo3d:"/echo3d",params:r}}function OQ(e,t){return t&&""!==t.trim()?`&${e}=${encodeURIComponent(t)}`:""}var MQ;!function(e){e.L="L",e.M="M"}(MQ||(MQ={}));const LQ=e=>e.categoryId===MQ.L&&!!e.e3DRef;var BQ="equipmentItemSubHeader-module_equipmentSubHeader__d-cN5",DQ="equipmentItemSubHeader-module_icon__95a44";Ad(".equipmentItemSubHeader-module_equipmentSubHeader__d-cN5{display:flex;justify-content:flex-end;margin:var(--xSmall)}.equipmentItemSubHeader-module_icon__95a44{margin-left:var(--xSmall)}.equipmentItemSubHeader-module_spinner__tpbt2{height:16px;margin-right:var(--small)}");var RQ="linkToSapEquipment-module_appIcon__YMZul";Ad(".linkToSapEquipment-module_appIcon__YMZul{padding-left:var(--xSmall)}");const zQ=({isDialogOpen:e,setIsDialogOpen:t,urlToSap:n})=>{const r={title:"Go to SAP",onClick:()=>{$p(n),t(!1)}},o={title:"Cancel",variant:"outlined",onClick:()=>{t(!1)}};return c.jsxs(i.DialogGenerator,{open:e,dialogStyle:{minWidth:"290px",width:"auto",maxWidth:"600px"},title:"Equinor Network is required",actionButtons:[r,o],children:[c.jsx(d.Typography,{children:"You need to be connected to the Equinor Network to get access to SAP."}),c.jsx(d.Typography,{children:"Please connect to the Equinor Network, then click “Go to SAP” to open SAP."})]})},FQ=({plantNo:t,tagNo:n})=>{const{isSourceAvailable:o}=e.Hooks.usePing(exports.PingableSources.Sap),[i,a]=r.useState(!1),s=`https://p03web.statoil.no/sap/bc/webdynpro/sap/zompm_lookup_eq_info?run=x&tplnr=${t}-${n}`;return c.jsxs(c.Fragment,{children:[c.jsx(d.Button,{fullWidth:!0,variant:"ghost",onClick:()=>function(){return Ym(this,void 0,void 0,(function*(){o?s&&$p(s):a(!0)}))}(),children:c.jsxs(c.Fragment,{children:["SAP",c.jsx(d.Icon,{name:"external_link",size:24,className:RQ})]})}),!o&&c.jsx(zQ,{isDialogOpen:i,setIsDialogOpen:a,urlToSap:s})]})};var HQ="showEquipmentIn3DButton-module_appIcon__MDr0B";Ad(".showEquipmentIn3DButton-module_appIcon__MDr0B{padding-left:var(--xSmall)}");const qQ=({equipment:e,tagNo:t})=>{const r=n.useInternalLink(),i=o.useLocation(),a=n.useInstCode();return c.jsx(d.Button,{fullWidth:!0,variant:"ghost",onClick:()=>{var o;(e=>{Ym(void 0,[e],void 0,(function*({equipmentId:e,e3dRef:t,goToLink:r,pathname:o,instCode:i,tagNo:a}){const c=yield l.Search.Tags.getAsync(a);if(l.resultHelper.throwIfError(c),!c.value)throw new s.NotFoundError({message:`Could not find ${i} ${a}`,httpStatusCode:404,url:"getTagDetails"});const u=TQ(c.value);if("/echo3d"===o)n.eventHub.emit(n.EchoEvents.EquipmentWithE3DRefClicked,{plantCode:u,tagNo:a,equipmentId:e,e3dRef:t});else{const n=PQ(i,{pdmsPlantCode:u,tagNo:a,equipmentId:e,e3dRef:t});r(n.echo3d,{params:n.params})}}))})({equipmentId:e.equipmentId,e3dRef:null!==(o=e.e3DRef)&&void 0!==o?o:"",goToLink:r,pathname:i.pathname,instCode:a,tagNo:t})},children:c.jsxs(c.Fragment,{children:["3D ",c.jsx(d.Icon,{name:"rotate_3d",className:HQ})]})})},UQ=({equipment:e,tagNo:t,plantNo:n})=>c.jsxs("div",{className:BQ,children:[LQ(e)&&c.jsx("div",{className:DQ,children:c.jsx(qQ,{equipment:e,tagNo:t})}),c.jsx("div",{className:DQ,children:c.jsx(FQ,{plantNo:n,tagNo:t})})]});var GQ="tabSpinner-module_marginLeft__d9T53";Ad(".tabSpinner-module_marginLeft__d9T53{display:inline-block;margin-left:var(--small)}");const WQ=()=>c.jsx("span",{className:GQ,children:c.jsx(d.Progress.Circular,{size:16})}),QQ={enabled:"test"!==process.env.NODE_ENV,store:"userSettingsStore",name:"user-settings-store"},YQ={measuringPointsEnabled:(()=>{const e="measuringPointsEnabled",t=localStorage.getItem(e);return t&&localStorage.removeItem(e),null!==t&&JSON.parse(t)})(),selectedLegacyLegend:{isEnabled:!0,legendType:exports.LegendType.Stid}},VQ=a.create()(oq(aq(cq(uq((e=>Object.assign(Object.assign({},YQ),{setMeasuringPointsEnabled:t=>e((e=>{e.measuringPointsEnabled=t}),void 0,"setMeasuringPointsEnabled"),setSelectedLegacyLegend:t=>e((e=>{e.selectedLegacyLegend=Object.assign({},t),n.setLegendOption({selectedLegendType:t.legendType,isActive:t.isEnabled}),Zp.trackEventBy("UserSettings","LegendChanged",Object.assign({},t))}),void 0,"setSelectedLegacyLegend")}))),{name:"user-settings-store",storage:sq((()=>localStorage)),version:1})),QQ));var ZQ=Mr,KQ=A,JQ=_o,XQ=Fe,$Q=ae,eY=function(e,t,n){for(var r=0,o=arguments.length>2?n:ZQ(t),i=new e(o);o>r;)i[r]=t[r++];return i},tY=function(e,t){var n=KQ[e],r=n&&n.prototype;return r&&r[t]},nY=gi,rY=Array,oY=G(tY("Array","sort"));JQ({target:"Array",proto:!0},{toSorted:function(e){void 0!==e&&XQ(e);var t=$Q(this),n=eY(rY,t);return oY(n,e)}}),nY("toSorted");const iY=e=>{var t,n;if(e&&e.length>1e3){const e=new Error("More than 1000 measurements");return e.name="getLastRecordedMeasurementError",hz(e),{conditionAsText:"Error - Too many records, not able to find last recorded value",measurementDateTime:null}}if(!e||0===e.length)return{conditionAsText:"No recorded condition",measurementDateTime:null};const r=function(e){const t=-864e13,n=e.slice().sort(((e,n)=>{const r=e.measurementDateTime?new Date(e.measurementDateTime):new Date(t);return(n.measurementDateTime?new Date(n.measurementDateTime):new Date(t)).getTime()-r.getTime()}));return n}(e),o=r.length?r[0]:null,i=(null==o?void 0:o.quantitativeReading)&&(null==o?void 0:o.quantitativeReading)>0?o.quantitativeReading.toString():void 0;return{conditionAsText:i&&`Last recorded value: ${i} ${null===(t=null==o?void 0:o.quantitativeReadingUnitId)||void 0===t?void 0:t.toLowerCase()}`,measurementDateTime:Xp(null!==(n=null==o?void 0:o.measurementDateTime)&&void 0!==n?n:void 0),codeAsText:(null==o?void 0:o.qualitativeCodeId)&&`Last recorded code: ${null==o?void 0:o.qualitativeCodeId} `}};var aY={lastRecorded:"lastRecordedMeasurement-module_lastRecorded__vKdPJ"};Ad(".lastRecordedMeasurement-module_lastRecorded__vKdPJ{display:flex;margin-bottom:4px}");const sY=({measuringPoint:e,failureMechanismDescription:t})=>{const n=iY(e.measurements);return c.jsx("div",{className:aY.lastRecorded,children:n.measurementDateTime?c.jsxs("div",{children:[n.conditionAsText&&c.jsx(d.Typography,{variant:"meta",children:n.conditionAsText}),n.codeAsText&&c.jsx(d.Typography,{variant:"meta",children:`${n.codeAsText} ${t}`}),c.jsx(d.Typography,{variant:"meta",children:n.measurementDateTime})]}):c.jsx("div",{className:aY.itemNoRecordedCondition,children:c.jsx(d.Typography,{variant:"meta",children:n.conditionAsText})})})};var lY="measuringPoints-module_measuringPointButton__dHGZ3";Ad(".measuringPoints-module_measuringPointsWrapper__WIh-R{font-family:var(--eq-echo-font-family)}.measuringPoints-module_measuringPointsHeader__5Q4sS{align-items:center;border-bottom:1px solid rgba(0,0,0,.125);display:flex;font-weight:500;justify-content:space-between;padding:.8rem}.measuringPoints-module_measuringPointButton__dHGZ3{align-items:center;border-bottom:1px solid var(--default);cursor:pointer;display:flex;height:fit-content;justify-content:space-between;min-height:80px;width:100%}.measuringPoints-module_measuringPointButton__dHGZ3:hover{background:var(--equiGray5)}.measuringPoints-module_measuringPointButton__dHGZ3>button:hover{background:none!important}.measuringPoints-module_rightContainer__rBhUm{align-items:center;display:flex;justify-content:flex-end}.measuringPoints-module_rightContainer__rBhUm button{vertical-align:middle}");const cY="#9E9E9E",uY=[{title:"Gasket Condition",id:"OBSGASKT",legendValueType:"string",measuringPointQueryTypeIdentifier:"qualitative",values:[{value:"00",color:i.themeConst.strongGray,description:"Not inspected"},{value:"10",color:i.themeConst.done,description:"No corrosion"},{value:"20",color:i.themeConst.strongYellow,description:"Minor corrosion"},{value:"30",color:i.themeConst.outOfService,description:"Medium corrosion"},{value:"40",color:i.themeConst.voided,description:"Severe corrosion"},{value:"50",color:i.themeConst.blueOvercast,description:"Replaced new"}]},{title:"Coating Condition",id:"SM_COATING_CONDITION_ITEM",legendValueType:"number",measuringPointQueryTypeIdentifier:"quantitative",values:[{value:1,color:i.themeConst.strongDarkGreen,description:"0-3% of area requiring surface preparation to substrate"},{value:2,color:i.themeConst.strongGreen,description:"3-8% of area requiring surface preparation to substrate"},{value:3,color:i.themeConst.strongYellow,description:"8-20% of area requiring surface preparation to substrate"},{value:4,color:i.themeConst.strongDarkYellow,description:"20-40% of area requiring surface preparation to substrate"},{value:5,color:i.themeConst.warningIcon,description:"40-60% of area requiring surface preparation to substrate"},{value:6,color:i.themeConst.voided,description:">60% of area requiring surface preparation to substrate"}]},{title:"Insulation Condition",id:"OBSINSLN",legendValueType:"number",measuringPointQueryTypeIdentifier:"qualitative",values:[{value:10,color:i.themeConst.pm01,description:"Enclosure-No Damage"},{value:20,color:"FF0000",description:"Enclosure-Minor Damage-No Water Intrusn."},{value:30,color:"FF0000",description:"Enclosure-Damaged-Water Intrusn."},{value:40,color:i.themeConst.pm01,description:"Insulation-Ok-Dry Insulation"},{value:50,color:"FF0000",description:"Insulation-Damaged- Wet Insulation"}]},{title:"Flange Bolt Condition",id:"OBSFLBOL",legendValueType:"number",measuringPointQueryTypeIdentifier:"qualitative",values:[{value:10,color:i.themeConst.pm01,description:"Ok- Galvanisation intact"},{value:20,color:cY,description:"Galvanisation partly missing"},{value:30,color:cY,description:"Visible material loss"},{value:40,color:"FF0000",description:"Moderate-WT reduction nut or stud"},{value:50,color:"FF0000",description:"Severe- WT reduction nut or stud"}]},{title:"Wall thickness loss",id:"OBSEXWTL",legendValueType:"number",measuringPointQueryTypeIdentifier:"qualitative",values:[{value:"10",color:i.themeConst.strongDarkGreen,description:"VT-A: No degradation"},{value:"20",color:i.themeConst.random1,description:"VT-E: External corrosion"},{value:"30",color:i.themeConst.random2,description:"VT-I: Internal corrosion"},{value:"40",color:i.themeConst.random4,description:"VT-EP: Pitting external"},{value:"50",color:i.themeConst.random9,description:"VT-IP: Pitting internal"},{value:"60",color:i.themeConst.random14,description:"VT-C: Crevice"},{value:"70",color:i.themeConst.random12,description:"VT-F: Fretting"},{value:"80",color:i.themeConst.random6,description:"VT-B: Abrasion"},{value:"90",color:i.themeConst.random10,description:"VT-R: Internal erosion/cavitation"},{value:"95",color:i.themeConst.strongGray,description:"VT-X: Corrosion not measured"}]},{title:"Remaining wall thickness",id:"OBSMETH",legendValueType:"string",measuringPointQueryTypeIdentifier:"qualitative",values:[{value:"RT-A",color:cY,description:"RT: No degradation"},{value:"RT-C",color:cY,description:"RT: Crack"},{value:"RT-E",color:cY,description:"RT: External degradation"},{value:"RT-G",color:cY,description:"RT: Int.slag incl/tungstn incl/elng indic"},{value:"RT-I",color:cY,description:"RT: Internal degradation"},{value:"RT-L",color:cY,description:"RT: Lack of fusion"},{value:"RT-N",color:cY,description:"RT: No defects"},{value:"RT-O",color:cY,description:"RT: Other defects"},{value:"RT-P",color:cY,description:"RT: Incomplete penetration"},{value:"RT-T",color:cY,description:"RT: Undercutting"},{value:"RT-V",color:cY,description:"RT: Concave root surface"},{value:"RT-Y",color:cY,description:"RT: Internal porosity"},{value:"UD-A",color:cY,description:"UT TOFD: No degradation"},{value:"UD-E",color:cY,description:"UT TOFD: External degradation"},{value:"UD-I",color:cY,description:"UT TOFD: Internal degradation"},{value:"UP-A",color:cY,description:"UT Phased Arrays: No degradation"},{value:"UP-E",color:cY,description:"UT Phased Arrays: External degradation"},{value:"UP-I",color:cY,description:"UT Phased Arrays: Internal degradation"},{value:"US-A",color:cY,description:"UT Semi Auto. PA/TOFD: No degradation"},{value:"US-E",color:cY,description:"UT Semi Auto. PA/TOFD: External degrad."},{value:"US-I",color:cY,description:"UT Semi Auto. PA/TOFD: Internal degrad."},{value:"UT-A",color:cY,description:"UT Man. Pulse-Echo: No degradation"},{value:"UT-E",color:cY,description:"UT Man. Pulse-Echo: External degradation"},{value:"UT-I",color:cY,description:"UT Man. Pulse-Echo: Internal degradation"},{value:"VB-A",color:cY,description:"Visual Bolt inspection: No degradation"},{value:"VB-E",color:cY,description:"Visual Bolt inspection: External degrad."},{value:"VT-A",color:cY,description:"Visual Inspection: No degradation"},{value:"VT-E",color:cY,description:"Visual Inspection: External degradation"},{value:"VT-I",color:cY,description:"Visual Inspection: Internal degradation"},{value:"ZO-A",color:cY,description:"Other Misc. method: No degradation"},{value:"ZO-E",color:cY,description:"Other Misc. method: External degradation"},{value:"ZO-I",color:cY,description:"Other Misc. method: Internal degradation"}]}];function dY({measurement:e,quantitativeCharacteristicId:t}){const n=function({measurement:e,quantitativeCharacteristicId:t}){if(!e)return;const{qualitativeCodeGroupId:n,qualitativeCodeId:r,quantitativeReading:o}=e;if(n&&r)return{id:n,value:r.toString()};if(t&&o)return{id:t,value:o.toString()}}({measurement:e,quantitativeCharacteristicId:t});if(!n)return{color:i.themeConst.strongGray,description:"",value:""};const r=n.value,o=function(e){var t;const n=uY.find((t=>t.id===e.id));return null===(t=null==n?void 0:n.values.find((({value:t})=>t.toString()===e.value)))||void 0===t?void 0:t.color}(n),a=function(e){var t;const n=uY.find((t=>t.id===e.id));return null===(t=null==n?void 0:n.values.find((({value:t})=>t.toString()===e.value)))||void 0===t?void 0:t.description}(n);return{value:r,color:null!=o?o:i.themeConst.strongGray,description:null!=a?a:""}}const mY=e=>{const t=e.measurements.map((e=>e.measurementDateTime?Number(new Date(e.measurementDateTime)):-1)).filter((e=>-1!==e));if(t.length>0)return new Date(Math.max(...t))},pY=(e,t)=>{const n=mY(e),r=mY(t);return void 0===n&&void 0!==r?1:void 0!==n&&void 0===r?-1:void 0===n||void 0===r?0:r.getTime()-n.getTime()},hY=({children:e,measuringPoint:t,onClick:n})=>{const{measuringPointId:r,measuringPoint:o}=t,a=dY({measurement:t.measurements.length>0?t.measurements[0]:void 0,quantitativeCharacteristicId:t.quantitativeCharacteristicId});return c.jsx("div",{className:lY,children:c.jsx(i.ListItem,{primary:rb(r),secondary:o,tertiary:c.jsx(sY,{measuringPoint:t,failureMechanismDescription:a.description}),visual:c.jsx(i.VisualTextIcon,{visualText:"MP",backgroundColor:a.color}),hideBorderBottom:!0,showChevron:!0,onCardClick:n})})};function fY(e){const{status:t,data:r,error:o}=v.useQuery({queryKey:["documentRelationships",e],queryFn:()=>e?function(e){return Ym(this,void 0,void 0,(function*(){var t;const{measuringPointId:r}=e,o=`${n.baseApiUrl}/measuring-points/document-relationships?measuringPointId=${r}&includeCharacteristics=true&includeAttachments=true`;return null!==(t=yield n.request({url:o}))&&void 0!==t?t:[]}))}({measuringPointId:e}):[],staleTime:144e5}),i=(null==r?void 0:r.reduce(((e,t)=>{var n;return e+((null===(n=t.attachments)||void 0===n?void 0:n.length)||0)}),0))||0;return{status:t,documentRelationships:r||[],error:o,totalAttachments:o?"error":i.toString()}}const gY=({measuringPoint:e})=>{const t=zG(),{isScreenMobileSize:o}=Vb(),a=n.useActivePanelState().activePanel,{measurements:s,tagPlantId:l}=e,u=s.length?s[0]:void 0,d=Ed,m=e.tagId||"",p=SQ(m),h=dY({measurement:u,quantitativeCharacteristicId:e.quantitativeCharacteristicId}),f=r.useMemo((()=>{var n,r,s,f,g,v,y,x,b;return[{label:"Measuring Point Id",value:e?rb(e.measuringPointId):"-"},{label:"Measuring Point",value:null!==(n=e.measuringPoint)&&void 0!==n?n:"-"},{label:"Measuring Position",value:null!==(r=e.measuringPosition)&&void 0!==r?r:"-"},{label:"Date",value:null!==(f=Xp(null!==(s=null==u?void 0:u.measurementDateTime)&&void 0!==s?s:void 0))&&void 0!==f?f:"-"},{label:"Meas/TotCountrRdg",value:`${null!==(g=null==u?void 0:u.quantitativeReading)&&void 0!==g?g:"Not Available"}`},{label:"Unit",value:null!==(y=null===(v=null==u?void 0:u.quantitativeReadingUnitId)||void 0===v?void 0:v.toLocaleLowerCase())&&void 0!==y?y:"-"},{label:"Code",value:null!==(b=null===(x=null==u?void 0:u.qualitativeCodeId)||void 0===x?void 0:x.toLocaleLowerCase())&&void 0!==b?b:"-"},{label:"Code description",value:h.description},{label:"Equipment",value:e.equipmentId&&l?c.jsx($Y,{equipmentId:e.equipmentId,tagNo:m,plantNo:l}):"-",colSpan:o},{label:"Tag",value:c.jsx(i.InlineTagIconLink,{tagNo:m,description:"",legendColor:p?Id(d(p[m])):i.themeConst.strongGray,icon:"tag",onClickHandler:()=>t({tagNo:m,keepLastNavigationItem:!0,activePanelKey:a})}),colSpan:o}]}),[e,null==u?void 0:u.measurementDateTime,null==u?void 0:u.quantitativeReading,null==u?void 0:u.quantitativeReadingUnitId,null==u?void 0:u.qualitativeCodeId,h.description,l,m,o,p,d,t,a]);return c.jsx(sL,{fields:f})};var vY="measuringPointDetails-module_tab__c83Ld";Ad(".measuringPointDetails-module_tab__c83Ld{overflow-y:hidden}");var yY="measuringPointHistoryList-module_historyListContainer__g-Vvi",xY="measuringPointHistoryList-module_historyListItem__Au0Ol",bY="measuringPointHistoryList-module_inlineTypography__Bj6zy",CY="measuringPointHistoryList-module_separatorBorder__n-t0X";Ad(".measuringPointHistoryList-module_historyListContainer__g-Vvi{color:var(--disabledColor)}.measuringPointHistoryList-module_historyListItem__Au0Ol{border-bottom:1px solid var(--default);display:flex;flex-direction:column;gap:.35rem;padding:2rem 1rem 1rem}.measuringPointHistoryList-module_historyListItem__Au0Ol:first-child{padding:1rem}.measuringPointHistoryList-module_inlineTypography__Bj6zy{align-items:center;display:flex;gap:.35rem}.measuringPointHistoryList-module_separatorBorder__n-t0X{border-right:1px solid var(--default);padding-right:.4rem}");const IY=({measuringPoint:e})=>{const t=Vp({sapPlantId:e.tagPlantId});return c.jsx("div",{className:yY,children:e.measurements.map((n=>{var r,o,i;const a=dY({measurement:n,quantitativeCharacteristicId:e.quantitativeCharacteristicId});return c.jsxs("div",{className:xY,children:[c.jsx(d.Typography,{children:rb(n.measurementId)}),c.jsx(d.Typography,{bold:!0,children:null!==(r=n.measurementTitle)&&void 0!==r?r:""}),c.jsxs("div",{className:bY,children:[c.jsx(d.Typography,{variant:"caption",children:"Reported condition:"}),c.jsx(d.Typography,{variant:"caption",children:void 0!==n.quantitativeReading?` ${n.quantitativeReading} ${null===(o=n.quantitativeReadingUnitId)||void 0===o?void 0:o.toLocaleLowerCase()}`:" N/A"})]}),c.jsx("div",{className:bY,children:c.jsxs(d.Typography,{variant:"caption",children:[n.qualitativeCodeId," ",a.description]})}),c.jsxs("div",{className:bY,children:[c.jsx(d.Typography,{className:CY,variant:"caption",children:t}),c.jsx(d.Typography,{variant:"caption",children:Xp(null!==(i=n.measurementDateTime)&&void 0!==i?i:void 0)})]})]},n.measurementId)}))})};var EY="imageListItem-module_imageListItem__PpPEQ",_Y="imageListItem-module_imageContainer__W6OEG",AY="imageListItem-module_image__Rt93p",wY="imageListItem-module_textContainer__OGFGS",SY="imageListItem-module_label__sAA99",kY="imageListItem-module_value__wMn0g",jY="imageListItem-module_button__Pyuo-",NY="imageListItem-module_fixedHeight__cNFVz";Ad(".imageListItem-module_imageListItem__PpPEQ{border-bottom:1px solid var(--default);border-top:1px solid var(--default);display:flex;margin-bottom:var(--small);margin-top:0!important}.imageListItem-module_imageContainer__W6OEG{display:flex;flex:5;flex-shrink:0;width:100%}.imageListItem-module_image__Rt93p{display:flex;height:100%;object-fit:cover;width:100%}.imageListItem-module_image__Rt93p:hover{cursor:pointer;opacity:.9;transition:.5s ease}.imageListItem-module_textContainer__OGFGS{display:flex;flex:2;flex-direction:column;flex-shrink:0;gap:.5rem;margin-top:var(--xSmall);padding:var(--small);width:100%}.imageListItem-module_label__sAA99{margin:0!important}.imageListItem-module_value__wMn0g{padding-bottom:var(--small);width:100%}.imageListItem-module_button__Pyuo-{width:max-content}.imageListItem-module_fixedHeight__cNFVz{height:250px;margin:.3rem 0;object-fit:cover;width:100%}");const TY=({index:e,attachment:t,documentId:n,openImageView:r})=>c.jsxs("div",{className:EY,children:[c.jsx("div",{className:_Y,children:c.jsx("button",{onClick:()=>r(e),onKeyDown:t=>{"Enter"===t.key&&r(e)},children:c.jsx("img",{className:`${AY} ${NY}`,src:t.attachmentImageUri,alt:`Measuring point ${e}`})})}),c.jsxs("div",{className:wY,children:[c.jsx(d.Label,{label:"DOCUMENT",className:SY}),c.jsx(d.Typography,{className:kY,children:n}),c.jsx(d.Label,{label:"DATE AND TIME",className:SY}),c.jsx(d.Typography,{className:kY,children:Xp(t.createdDateTime)}),c.jsx(d.Label,{label:"REPORTED CONDITION",className:SY}),c.jsx(d.Typography,{className:kY,children:`${t.quantitativeReading} ${t.quantitativeReadingUnitId.toLowerCase()}`}),c.jsx(d.Button,{variant:"outlined",className:jY,onClick:()=>r(e),children:"View Image"})]})]},e);var PY="labelledImageList-module_labelledImageListContainer__4cTtW",OY="labelledImageList-module_mediaViewerDesktopImage__-y5y1",MY="labelledImageList-module_mediaViewerMobileImage__U7PV5";Ad(".labelledImageList-module_labelledImageListContainer__4cTtW{display:flex;flex-direction:column}.labelledImageList-module_mediaViewerDesktopImage__-y5y1{height:auto;max-height:57vh;max-width:100%;object-fit:contain;width:auto}.labelledImageList-module_mediaViewerMobileImage__U7PV5{height:auto;max-height:90vh;max-width:100%;object-fit:contain;width:auto}@media only screen and (min-width:1025px) and (max-width:1440px){.labelledImageList-module_mediaViewerDesktopImage__-y5y1{max-height:90vh}}");const LY=({documentId:t,attachments:n})=>{var o,a,s,l;const[u,d]=r.useState(0),[p,h]=r.useState(!1),f=e.isMobileDevice(),g=e=>e>=0&&e<n.length,v=null===(o=n[u])||void 0===o?void 0:o.attachmentImageUri,y=null===(a=n[u])||void 0===a?void 0:a.createdDateTime,x=`${null===(s=n[u])||void 0===s?void 0:s.quantitativeReading} ${(null===(l=n[u])||void 0===l?void 0:l.quantitativeReadingUnitId.toLocaleLowerCase())||""}`,b=g(u-1),C=g(u+1),I=e=>{d(e),h(!0)};return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:PY,children:n.map(((e,n)=>c.jsx(TY,{index:n,attachment:e,documentId:t,openImageView:I},e.attachmentImageUri)))}),v&&m.createPortal(c.jsx(i.MediaViewer,{title:t,description:x,date:Xp(y),onClose:()=>h(!1),showPrevious:()=>{const e=u-1;g(e)&&d(e)},showNext:()=>{const e=u+1;g(e)&&d(e)},showPrevIcon:b,showNextIcon:C,open:p,children:c.jsx("img",{src:v,alt:"Measuring Point",className:f?MY:OY})}),Jp.domSelector,Jp.portalId)]})};var BY="measuringPointImageList-module_errorText__f-vNw",DY="measuringPointImageList-module_padding__s5ESb";Ad(".measuringPointImageList-module_errorText__f-vNw{display:flex;margin-left:auto!important;margin-right:auto!important;width:95%!important}.measuringPointImageList-module_padding__s5ESb{padding:var(--medium)}");const RY=({measuringPointId:e})=>{const{documentRelationships:t,status:n,error:r}=fY(e);return"pending"===n?c.jsx(xz,{label:"Loading images"}):"error"===n?c.jsx(d.Card,{variant:"warning",className:BY,children:c.jsxs(d.Card.Header,{children:[`Error: Unable to load images. ${r}`," "]})}):t&&0!==t.length?t.map((e=>{if(!e.attachments||0===e.attachments.length)return c.jsx(d.Typography,{className:DY,children:"No image available."},e.documentId);const t=e.attachments.filter((e=>e.attachmentImageUri&&e.createdDateTime)).map((e=>({attachmentImageUri:e.attachmentImageUri,createdDateTime:e.createdDateTime,quantitativeReading:e.quantitativeReading,quantitativeReadingUnitId:e.quantitativeReadingUnitId})));return c.jsx(LY,{documentId:e.documentId,attachments:t},e.documentId)})):c.jsx(d.Typography,{className:DY,children:"No image available."})},zY=({measuringPoint:e})=>{const[t,n]=r.useState(0),{status:o,totalAttachments:i}=fY(e.measuringPointId);return c.jsxs(d.Tabs,{variant:"fullWidth",activeTab:t,onChange:e=>n(e),children:[c.jsxs(d.Tabs.List,{children:[c.jsx(d.Tabs.Tab,{children:"Last Reported"}),c.jsx(d.Tabs.Tab,{children:"History"}),c.jsxs(d.Tabs.Tab,{className:vY,children:["Images ","success"===o?`(${i})`:"pending"===o?c.jsx(WQ,{}):null]})]}),c.jsxs(d.Tabs.Panels,{children:[c.jsx(d.Tabs.Panel,{children:c.jsx(gY,{measuringPoint:e})}),c.jsx(d.Tabs.Panel,{children:c.jsx(IY,{measuringPoint:e})}),c.jsx(d.Tabs.Panel,{children:c.jsx(RY,{measuringPointId:e.measuringPointId})})]})]})},FY=({measuringPoint:e})=>{const t=dY({measurement:e.measurements.length>0?e.measurements[0]:void 0,quantitativeCharacteristicId:e.quantitativeCharacteristicId});return c.jsx(i.ListItem,{primary:rb(e.measuringPointId),secondary:e.measuringPosition,tertiary:c.jsx(sY,{measuringPoint:e,failureMechanismDescription:t.description}),visual:c.jsx(i.VisualTextIcon,{visualText:"MP",backgroundColor:t.color}),style:{border:"none"}})};function HY(){const e=BG.getState().addContent,{setActivePanel:t}=n.usePanels();return function(r){const{measuringPoint:o,panelKey:i,keepLastNavigationItem:a}=r,s=i||n.ECHO_CORE_SEARCH;t(s),e({keepLastNavigationItem:a,panelKey:s,header:c.jsx(FY,{measuringPoint:o}),content:c.jsx(zY,{measuringPoint:o}),itemId:o.measuringPointId.toString()})}}var qY="equipmentTabs-module_padding__Q9xyU";Ad(".equipmentTabs-module_padding__Q9xyU{padding:var(--medium)}");const UY=({items:e})=>{const t=VQ((e=>e.measuringPointsEnabled)),r=n.useActivePanelState(),o=HY(),i=t?(a=e,a.map((e=>{const t=Object.assign({},e);return t.measurements=[...t.measurements].sort(((e,t)=>{const n=e.measurementDateTime?new Date(e.measurementDateTime):new Date(0);return(t.measurementDateTime?new Date(t.measurementDateTime):new Date(0)).getTime()-n.getTime()})),t}))).toSorted(pY):[];var a;return t?i.length?c.jsx(c.Fragment,{children:i.map((e=>c.jsx(hY,{measuringPoint:e,onClick:()=>o({measuringPoint:e,keepLastNavigationItem:!0,panelKey:r.activePanel})},e.measuringPointId)))}):c.jsx(d.Typography,{className:qY,children:"There are no available measuring points."}):c.jsx(d.Typography,{className:qY,children:"Measuring points are not enabled."})},GY=({equipmentId:e,onLoadUpdate:t})=>{const n=VQ((e=>e.measuringPointsEnabled)),{status:o,equipmentWithMeasuringPoints:i}=function(e,t){const{status:n,data:r}=v.useQuery({queryKey:["useEquipmentWithMeasuringPoints",e,t],queryFn:()=>Ym(this,void 0,void 0,(function*(){try{return yield AQ({equipmentId:e,includeMeasuringPoints:!0})}catch(e){hz(e)}})),enabled:!!e&&t,staleTime:144e5});return{status:n,equipmentWithMeasuringPoints:null!=r?r:[]}}(e,n),a=i.flatMap((e=>e.measuringPoints)),s="pending"===o;return r.useEffect((()=>{if(!t)return;t("pending"===o?{isLoading:!0}:{isLoading:!1,numberOfItemsLoaded:"success"===o&&n?a.length:void 0})}),[o,a.length,n,t]),s&&n?c.jsx(xz,{label:"Loading measuring points..."}):c.jsx(UY,{items:a})},WY=({equipment:e,tagNo:t,plantNo:n})=>{const[o,i]=r.useState(0),[a,s]=r.useState(!1),l=VQ((e=>e.measuringPointsEnabled)),[u,m]=r.useState(void 0),p=void 0!==u?`(${u})`:"";return c.jsxs(d.Tabs,{variant:"fullWidth",activeTab:o,scrollable:!0,onChange:e=>{i(e)},children:[c.jsxs(d.Tabs.List,{children:[c.jsx(d.Tabs.Tab,{children:"Information"}),c.jsxs(d.Tabs.Tab,{children:["Condition history"," ",a&&l?c.jsx(WQ,{}):p]})]}),c.jsxs(d.Tabs.Panels,{children:[c.jsx(d.Tabs.Panel,{children:c.jsx(NQ,{equipment:e,tagNo:t,plantNo:n})}),c.jsx(d.Tabs.Panel,{children:c.jsx(GY,{equipmentId:e.equipmentId,onLoadUpdate:({isLoading:e,numberOfItemsLoaded:t})=>{s(e),m(t)}})})]})]})};var QY="fullEquipmentItem-module_headerWrapper__RZ6I1",YY="fullEquipmentItem-module_headerContainer__zTqYZ",VY="fullEquipmentItem-module_contentContainer__rDtQT",ZY="fullEquipmentItem-module_padding__-fbvS";Ad(".fullEquipmentItem-module_headerWrapper__RZ6I1{border-bottom:1px solid var(--default)}.fullEquipmentItem-module_headerContainer__zTqYZ{flex-grow:1}.fullEquipmentItem-module_contentContainer__rDtQT{flex-grow:1;overflow-x:hidden;overflow-y:auto}.fullEquipmentItem-module_padding__-fbvS{padding:var(--medium)}");const KY=({equipmentId:e,tagNo:t,plantNo:n})=>{const{status:r,equipmentWithMeasuringPoints:o}=function(e){const{status:t,data:n}=v.useQuery(Object.assign({queryKey:["useEquipmentWithoutMeasuringPoints",e],queryFn:()=>Ym(this,void 0,void 0,(function*(){if(!e)return[];try{return yield AQ({equipmentId:e})}catch(e){hz(e)}}))},{staleTime:144e5}));return{status:t,equipmentWithMeasuringPoints:null!=n?n:[]}}(e);if(o.length>1){hz(new s.BaseError({name:"moreThan1EquipmentPerEquipmentId",message:`found more than 1 equipment for equipmentId ${e} for tag ${t}`}))}const i=o.flatMap((e=>e.equipment))[0];return o[0]&&i?c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:QY,children:[c.jsx("div",{className:YY,children:c.jsx(wQ,{equipment:i})}),c.jsx("div",{children:c.jsx(UQ,{equipment:i,tagNo:t,plantNo:n})})]}),c.jsx("div",{className:VY,children:c.jsx(WY,{equipment:i,tagNo:t,plantNo:n})})]}):"pending"===r?c.jsx(xz,{label:"Loading equipment..."}):c.jsx(d.Typography,{className:ZY,children:"error"===r?"Api Error: failed to lookup equipment, please try again later.":"No equipment available."})};function JY(){const e=DG().addContent,{setActivePanel:t}=n.usePanels();return function(r){const{equipmentId:o,panelKey:i,keepLastNavigationItem:a,tagNo:s,plantNo:l}=r,u=i||n.ECHO_CORE_SEARCH;t(u),e({keepLastNavigationItem:a,panelKey:u,content:c.jsx(KY,{equipmentId:o,tagNo:s,plantNo:l}),itemId:o})}}var XY="equipmentLinkField-module_equipmentLink__---Ve";Ad(".equipmentLinkField-module_equipmentLink__---Ve{min-width:fit-content}");const $Y=({equipmentId:e,tagNo:t,plantNo:r})=>{const o=JY(),a=n.useActivePanelState();return c.jsx(i.InlineTagIconLink,{className:XY,tagNo:rb(e),description:"",legendColor:i.themeConst.strongGray,icon:"donut_outlined",onClickHandler:()=>o({equipmentId:e,panelKey:a.activePanel,keepLastNavigationItem:!0,tagNo:t,plantNo:r})})};var eV=G,tV=Set.prototype,nV={Set:Set,add:eV(tV.add),has:eV(tV.has),remove:eV(tV.delete),proto:tV},rV=nV.has,oV=function(e){return rV(e),e},iV=P,aV=function(e,t,n){for(var r,o,i=n?e:e.iterator,a=e.next;!(r=iV(a,i)).done;)if(void 0!==(o=t(r.value)))return o},sV=G,lV=aV,cV=nV.Set,uV=nV.proto,dV=sV(uV.forEach),mV=sV(uV.keys),pV=mV(new cV).next,hV=function(e,t,n){return n?lV({iterator:mV(e),next:pV},t):dV(e,t)},fV=hV,gV=nV.Set,vV=nV.add,yV=function(e){var t=new gV;return fV(e,(function(e){vV(t,e)})),t},xV=Gd(nV.proto,"size","get")||function(e){return e.size},bV=Fe,CV=tn,IV=P,EV=Ar,_V=ga,AV="Invalid size",wV=RangeError,SV=TypeError,kV=Math.max,jV=function(e,t){this.set=e,this.size=kV(t,0),this.has=bV(e.has),this.keys=bV(e.keys)};jV.prototype={getIterator:function(){return _V(CV(IV(this.keys,this.set)))},includes:function(e){return IV(this.has,this.set,e)}};var NV=function(e){CV(e);var t=+e.size;if(t!=t)throw new SV(AV);var n=EV(t);if(n<0)throw new wV(AV);return new jV(e,n)},TV=oV,PV=yV,OV=xV,MV=NV,LV=hV,BV=aV,DV=nV.has,RV=nV.remove,zV=pe,FV=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},HV=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}},qV=function(e,t){var n=zV("Set");try{(new n)[e](FV(0));try{return(new n)[e](FV(-1)),!1}catch(o){if(!t)return!0;try{return(new n)[e](HV(-1/0)),!1}catch(o){var r=new n;return r.add(1),r.add(2),t(r[e](HV(1/0)))}}}catch(e){return!1}},UV=function(e){var t=TV(this),n=MV(e),r=PV(t);return OV(t)<=n.size?LV(t,(function(e){n.includes(e)&&RV(r,e)})):BV(n.getIterator(),(function(e){DV(t,e)&&RV(r,e)})),r};_o({target:"Set",proto:!0,real:!0,forced:!qV("difference",(function(e){return 0===e.size}))},{difference:UV});var GV=oV,WV=xV,QV=NV,YV=hV,VV=aV,ZV=nV.Set,KV=nV.add,JV=nV.has,XV=S,$V=function(e){var t=GV(this),n=QV(e),r=new ZV;return WV(t)>n.size?VV(n.getIterator(),(function(e){JV(t,e)&&KV(r,e)})):YV(t,(function(e){n.includes(e)&&KV(r,e)})),r};_o({target:"Set",proto:!0,real:!0,forced:!qV("intersection",(function(e){return 2===e.size&&e.has(1)&&e.has(2)}))||XV((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:$V});var eZ=oV,tZ=nV.has,nZ=xV,rZ=NV,oZ=hV,iZ=aV,aZ=Ea,sZ=function(e){var t=eZ(this),n=rZ(e);if(nZ(t)<=n.size)return!1!==oZ(t,(function(e){if(n.includes(e))return!1}),!0);var r=n.getIterator();return!1!==iZ(r,(function(e){if(tZ(t,e))return aZ(r,"normal",!1)}))};_o({target:"Set",proto:!0,real:!0,forced:!qV("isDisjointFrom",(function(e){return!e}))},{isDisjointFrom:sZ});var lZ=oV,cZ=xV,uZ=hV,dZ=NV,mZ=function(e){var t=lZ(this),n=dZ(e);return!(cZ(t)>n.size)&&!1!==uZ(t,(function(e){if(!n.includes(e))return!1}),!0)};_o({target:"Set",proto:!0,real:!0,forced:!qV("isSubsetOf",(function(e){return e}))},{isSubsetOf:mZ});var pZ=oV,hZ=nV.has,fZ=xV,gZ=NV,vZ=aV,yZ=Ea,xZ=function(e){var t=pZ(this),n=gZ(e);if(fZ(t)<n.size)return!1;var r=n.getIterator();return!1!==vZ(r,(function(e){if(!hZ(t,e))return yZ(r,"normal",!1)}))};_o({target:"Set",proto:!0,real:!0,forced:!qV("isSupersetOf",(function(e){return!e}))},{isSupersetOf:xZ});var bZ=oV,CZ=yV,IZ=NV,EZ=aV,_Z=nV.add,AZ=nV.has,wZ=nV.remove,SZ=function(e){var t=bZ(this),n=IZ(e).getIterator(),r=CZ(t);return EZ(n,(function(e){AZ(t,e)?wZ(r,e):_Z(r,e)})),r};_o({target:"Set",proto:!0,real:!0,forced:!qV("symmetricDifference")},{symmetricDifference:SZ});var kZ=oV,jZ=nV.add,NZ=yV,TZ=NV,PZ=aV,OZ=function(e){var t=kZ(this),n=TZ(e).getIterator(),r=NZ(t);return PZ(n,(function(e){jZ(r,e)})),r};_o({target:"Set",proto:!0,real:!0,forced:!qV("union")},{union:OZ});const MZ=e=>e>1.5?e/2:e;function LZ(e){const t=MZ(e.currentPageScale),{position:n,pdfRotation:r,isMobileDevice:o,pdfZoom:i,hasPointer:a}=e;return(e=>{const t=1/Math.max(e.pdfZoom,1)*e.iconScale,n=44*t,r=n/2,o=e.hasPointer?n:r,{position:i,pdfRotation:a}=e;return e.isMobileDevice?`translate(${i.x-o}px, ${i.y-o}px) rotate(${a}deg) scale(${t})`:`translate3d(${i.x-o}px, ${i.y-o}px, 1px) rotate(${a}deg) scale(${t})`})({position:n,pdfRotation:r,iconScale:t,hasPointer:a,isMobileDevice:o,pdfZoom:i})}var BZ="positionalItem-module_wrapper__PkRaU";Ad(".positionalItem-module_wrapper__PkRaU{--transform:translateZ(0);position:absolute;transform:var(--transform);transform-origin:left top;z-index:var(--echo-framework-z-level-pdf-marker-icon)}");const DZ=({position:e,isOpen:t,children:n})=>{const r=t?101:100;return c.jsx("div",{className:BZ,style:{"--transform":e,"--z-index":r},children:n})};var RZ=Bc,zZ=Fi;_o({target:"Object",stat:!0},{fromEntries:function(e){var t={};return RZ(e,(function(e,n){zZ(t,e,n)}),{AS_ENTRIES:!0}),t}});const FZ={name:"legend-store",storage:sq((()=>localStorage)),version:3,serialize:e=>{const t=Object.assign(Object.assign({},e),{legends:Object.entries(e.state.legends)});return JSON.stringify(t)},deserialize:e=>{const t=JSON.parse(e);return Object.assign(Object.assign({},t),{legends:Object.fromEntries(t.legends)})},migrate:(e,t)=>Ym(void 0,void 0,void 0,(function*(){const n={updateLegend:()=>{},setHiddenMarker:()=>{},setHiddenBadge:()=>{},getLegendById:()=>{}};if(t<3)return Object.assign(Object.assign({},{legends:{}}),n);const r=e;return Object.assign(Object.assign({},r),n)}))},HZ={enabled:"test"!==process.env.NODE_ENV,store:"legendStore",name:"LegendStore"},qZ=a.create()(oq(aq(cq(uq(((e,t)=>Object.assign(Object.assign({},{legends:{}}),{updateLegend:(t,n)=>e((e=>{e.legends[t]?Object.assign(e.legends[t],n):e.legends[t]=Object.assign(Object.assign({},{legendId:t,isEnabled:!1,isLoading:!1,hiddenMarkers:[],hiddenBadges:[],selectedMarkerOption:"",selectedBadgeOption:"",isExpanded:!1}),n)})),setHiddenMarker:t=>e((e=>{const{legendId:n,marker:r,isHidden:o}=t,i=e.legends[n];i&&(o?i.hiddenMarkers.push(r):i.hiddenMarkers=i.hiddenMarkers.filter((e=>e!==r)))})),setHiddenBadge:t=>e((e=>{const{legendId:n,badge:r,isHidden:o}=t,i=e.legends[n];i&&(o?i.hiddenBadges.push(r):i.hiddenBadges=i.hiddenBadges.filter((e=>e!==r)))})),getLegendById:e=>t().legends[e]}))),FZ)),HZ));function UZ(){return qZ.getState()}const GZ=[];function WZ(e,t){var n,r,o,i,a,s;GZ.push(e);const l=UZ().getLegendById(e.legendId),c=null!==(r=null!==(n=null==l?void 0:l.selectedMarkerOption)&&void 0!==n?n:t.selectedMarkerOption)&&void 0!==r?r:null===(o=e.markerOptions)||void 0===o?void 0:o[0],u=null!==(a=null!==(i=null==l?void 0:l.selectedBadgeOption)&&void 0!==i?i:t.selectedBadgeOption)&&void 0!==a?a:null===(s=e.badgeOptions)||void 0===s?void 0:s[0];UZ().updateLegend(e.legendId,Object.assign(Object.assign({},t),{selectedMarkerOption:c,selectedBadgeOption:u}))}function QZ(e){return GZ.find((t=>t.legendId===e))||YZ}const YZ={legendId:"NullObject - no strategy found",useMarkers:()=>[],popoverContent:e=>r.createElement("div",{},"No strategy found for "+JSON.stringify(e)),customLegendComponent:()=>r.createElement("div",{},"Null object - No strategy found")},VZ={enabled:"test"!==process.env.NODE_ENV,store:"legendVisibleDataStore",name:"LegendVisibleDataStore"};const ZZ=a.create()(oq(aq(uq(((e,n)=>Object.assign(Object.assign({},{data:{Tag:{},Equipment:{}}}),{addData:(n,r,o)=>{e((e=>({data:Object.assign(Object.assign({},e.data),{[n]:Object.assign(Object.assign({},e.data[n]),{[r]:t.uniqBy([...e.data[n][r]||[],...o.map((e=>Cq.mapToId(e)))],(e=>JSON.stringify(e)))})})})),void 0,"addData")},removeData:t=>{e((e=>{for(const n of Object.keys(e.data)){delete e.data[n][t]}}),void 0,"removeData")},getData:e=>{const t=n().data[e];return Object.values(t).flat()},useDataByType:e=>{const t=n().data[e];return Object.values(t).flat()},getAll:()=>{const e=[];for(const t of Object.keys(n().data)){const r=n().data[t];e.push(...Object.values(r).flat())}return e}})))),VZ));function KZ(){return ZZ.getState()}const JZ={getBy:e=>KZ().getData(e),getAll:()=>KZ().getAll(),useByType:e=>ZZ((t=>t.useDataByType(e))),useAddWithAutoRemove:function(){const e=r.useRef(null);return r.useEffect((()=>()=>{e.current&&KZ().removeData(e.current)}),[]),function(t){const{type:n,key:r,items:o}=t;e.current=r,t.removePreviousItems&&KZ().removeData(r),KZ().addData(n,r,o)}}};function XZ(e){return e}const $Z={equipmentLegendId:"Equipment",tagLegendId:"Tag",workOrderLegendId:"WorkOrder"},eK=Object.freeze({strategy:{inject:WZ,get:QZ},storeSnapshot:UZ,legend:{createId:XZ,knownLegendIds:$Z,useBy:function(e){return qZ((t=>t.legends[e]))},useAll:function(){return qZ((e=>Object.values(e.legends)))}},visibleData:JZ});function tK(e,t){return t.includes(e.getTitle()||e.getColor())}function nK(e,t){return t.includes(e.getTitle())||t.includes(e.getColor())}function rK(e){const{legendId:n}=e,r=eK.legend.useBy(n),o=ZZ((e=>t.uniqBy(e.getAll(),(e=>JSON.stringify(e))))),i=QZ(n).useMarkers(o);return r?t.uniqBy(i,(e=>function(e){return e.getTitle()+e.getColor()}(e))):[]}const oK=r.memo((({legendId:t,itemId:r,hasPointer:o,isActive:a,onClick:s})=>{var l;const u=function(e){const{legendId:t,itemId:r}=e,o=eK.legend.useBy(t),i=QZ(t).useMarkers([r]);if(n.EchoEnv.isDevelopment()&&console.log("useLegendMarker - make sure this does not re-render unnecessarily, should only re-render when legend change, not when pdf pan/zooms",t,JSON.stringify(Cq.mapToId(r))),(null==o?void 0:o.isEnabled)&&0!==i.length&&(i.length>1&&console.warn("Legend marker should only return one marker, we don't support multiple yet",t,r),!tK(i[0],o.hiddenMarkers)))return i[0]}({legendId:t,itemId:r}),m=eK.legend.useBy(t);if(!u)return null;const p=o?i.ItemMarkerPosition.BottomRight:void 0,h=function(t,n){return t.badges.filter((e=>!nK(e,n))).map((t=>{const n=t.getColor();return{title:t.getTitle(),color:n,textColor:e.Color.getContrastColorForBackgroundColor(n)}}))}(u,null!==(l=null==m?void 0:m.hiddenBadges)&&void 0!==l?l:[]),f=e.colorHelper.getContrastColorForBackgroundColor(u.getColor());return c.jsx(i.ItemMarker,{isActive:a,onClick:()=>{s()},icon:c.jsx(d.Icon,{name:u.getIcon()}),backgroundColor:u.getColor(),hasPointer:o,pointerPosition:p,chips:h,maxNumberOfChips:2,iconColor:f})})),iK=r.memo(oK,((e,t)=>e.legendId===t.legendId&&e.itemId===t.itemId&&e.hasPointer===t.hasPointer&&e.isActive===t.isActive));const aK=({itemId:e,hasPointer:t,setOpenItem:n,popoverOffset:r,activeItem:o})=>{const a=eK.legend.useAll(),s=t?i.ItemMarkerPosition.BottomRight:i.ItemMarkerPosition.Center;return c.jsx(i.MultipleItemMarkers,{pointerPosition:s,children:a.map(((t,i)=>t.isEnabled?c.jsx(iK,{isActive:JSON.stringify(null==o?void 0:o.itemId)===JSON.stringify(e)&&(null==o?void 0:o.legendId)===t.legendId,hasPointer:!1,legendId:t.legendId,itemId:e,onClick:()=>{const o=eK.strategy.get(t.legendId);if(o.popoverContent){const a=o.popoverContent(e);n({elements:(i=a,lK(i)?i:[i]),popoverOffset:r,activeItem:{itemId:e,legendId:t.legendId}})}var i}},i.toString()):null))})},sK=r.memo(aK);function lK(e){return Array.isArray(e)}var cK="legendMarkersRendererWithPopover-module_popoverWrapper__VbLyl";Ad(".legendMarkersRendererWithPopover-module_popoverWrapper__VbLyl{position:absolute;z-index:var(--echo-framework-z-level-pdf-popover)}");const uK=({positionItems:e})=>{const[t,n]=r.useState(void 0),o=null==t?void 0:t.elements;return c.jsxs(c.Fragment,{children:[e.map(((e,r)=>c.jsx(DZ,{position:e.positionString,isOpen:!1,children:c.jsx(sK,{itemId:e.itemId,hasPointer:e.hasPointer,setOpenItem:n,popoverOffset:e.popoverOffset,activeItem:null==t?void 0:t.activeItem})},r))),o&&o.length>0&&c.jsx("div",{className:cK,style:{transform:t.popoverOffset},children:c.jsx(i.ItemMarkerPopover,{title:t.activeItem.legendId,items:o,isOpen:!!o,handleClose:()=>{n(void 0)}})})]})},dK="Work Orders with Custom UI",mK=()=>{var e;const t=rK({legendId:dK});return c.jsxs(i.LegendSelectorAccordion,{title:"This is Work Orders with custom UI",visual:c.jsx(d.Icon,{name:"workorders_main_group",color:i.themeConst.white}),setIsExpanded:e=>UZ().updateLegend(dK,{isExpanded:e}),isExpanded:null===(e=UZ().getLegendById(dK))||void 0===e?void 0:e.isExpanded,children:[t.map((e=>c.jsx("div",{style:{color:"white"},children:e.getTitle()},e.getTitle()))),c.jsx("div",{style:{color:"white"},children:"Custom UI not rendered by basicLegendRenderer"})]})};(null===n.EchoEnv||void 0===n.EchoEnv?void 0:n.EchoEnv.isDevelopment())&&WZ({legendId:dK,useMarkers:e=>e.map((e=>({getTitle:()=>JSON.stringify(e),getIcon:()=>"workorders_main_group",getColor:()=>"purple",badges:[]}))),popoverContent:e=>c.jsx(pK,{itemId:e}),customLegendComponent:()=>c.jsx(mK,{})},{isEnabled:!0});const pK=({itemId:e})=>{const t="workOrderId"in e?e.workOrderId:JSON.stringify(e);return c.jsxs("div",{style:{position:"relative",backgroundColor:"#fff",border:"1px solid #ddd",borderRadius:"8px",padding:"16px",boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.1)",zIndex:1e3,maxWidth:"300px"},children:[c.jsxs("h3",{style:{margin:"0 0 8px",fontSize:"18px",color:"#333"},children:["WorkOrderId ",t]}),c.jsxs("p",{style:{margin:"0 0 12px",fontSize:"14px",color:"#555"},children:["This is the popover content for TAG ",t,"."]}),c.jsx("button",{onClick:()=>alert(`Action for ${t}`),style:{backgroundColor:"#007bff",color:"#fff",border:"none",borderRadius:"4px",padding:"8px 12px",cursor:"pointer",fontSize:"14px"},children:"Perform Action"})]})},hK=(e,t)=>e.map((e=>({legendStatus:e.getTitle(),backgroundColor:e.getColor(),onClick:n=>function(e,t,n){UZ().setHiddenMarker({legendId:n,marker:e.getTitle()||e.getColor(),isHidden:t})}(e,n,t.legendId),disabled:tK(e,t.hiddenMarkers)}))),fK=(e,t)=>e.map((e=>({legendStatus:e.getTitle(),backgroundColor:e.getColor(),onClick:n=>{!function(e,t,n){UZ().setHiddenBadge({legendId:n,badge:e.getTitle()||e.getColor(),isHidden:t})}(e,n,t.legendId)},disabled:nK(e,t.hiddenBadges)})));var gK="basicLegendRenderer-module_markerAndChipSelector__H1x5h";Ad(".basicLegendRenderer-module_markerAndChipSelector__H1x5h{display:flex;flex-direction:column;gap:var(--small)}");const vK=e=>{var n,o,a,s,l,u,m,p;const h=eK.legend.useBy(e.legendId),f=rK({legendId:null!==(n=null==h?void 0:h.legendId)&&void 0!==n?n:""}),g=function(e){const n=eK.legend.useBy(e),r=ZZ((e=>t.uniqBy(e.getAll(),(e=>JSON.stringify(e))))),o=QZ(e).useMarkers(r).flatMap((e=>e.badges));return n?t.uniqBy(o,(e=>e.getTitle()+e.getColor())):[]}(null!==(o=null==h?void 0:h.legendId)&&void 0!==o?o:""),v=r.useMemo((()=>QZ(e.legendId)),[e.legendId]);if(!h)return null;const y=hK(f,h),x=fK(g,h);return c.jsx(i.LegendSelectorAccordion,{title:v.legendId,isExpanded:e.isExpanded,setIsExpanded:e=>UZ().updateLegend(h.legendId,{isExpanded:e}),visual:c.jsx(d.Icon,{name:"workorders_main_group",color:i.themeConst.white}),children:(null==h?void 0:h.isLoading)?c.jsx(xz,{}):c.jsxs("div",{className:gK,children:[null!==(s=null===(a=v.markerOptions)||void 0===a?void 0:a.length)&&void 0!==s&&s&&c.jsx(i.LegendSelector,{options:null!==(l=v.markerOptions)&&void 0!==l?l:[],selectedOption:h.selectedMarkerOption||"Marker options",onOptionClick:e=>{return t=e,void UZ().updateLegend(null==h?void 0:h.legendId,{selectedMarkerOption:t});var t},legends:y,visual:c.jsx(d.Icon,{name:"marker_fill",color:i.themeConst.white,size:24}),showLegendToggle:!0}),null!==(m=null===(u=v.badgeOptions)||void 0===u?void 0:u.length)&&void 0!==m&&m&&c.jsx(i.LegendSelector,{options:null!==(p=v.badgeOptions)&&void 0!==p?p:[],selectedOption:h.selectedBadgeOption||"Badge options",onOptionClick:e=>{return t=e,void UZ().updateLegend(null==h?void 0:h.legendId,{selectedBadgeOption:t});var t},legends:x,visual:c.jsx(d.Icon,{name:"badges",color:i.themeConst.white,size:24}),showLegendToggle:!0})]})})},yK=r.memo(vK);var xK="legendList-module_legendContainer__H7sMi",bK="legendList-module_sideSheetIsOpen__YvGMS";Ad(".legendList-module_legendContainer__H7sMi{bottom:4rem;display:flex;flex-direction:column;gap:var(--small);left:var(--medium);position:absolute;transition-duration:.3s;transition-timing-function:ease-in-out;width:400px}@media screen and (max-width:640px){.legendList-module_legendContainer__H7sMi{bottom:calc(53px + var(--small));right:calc(48px + var(--large));width:auto}}@media screen and (max-width:1024px){.legendList-module_legendContainer__H7sMi{bottom:calc(53px + var(--small));left:var(--medium)}}.legendList-module_sideSheetIsOpen__YvGMS{bottom:var(--medium);left:calc(550px + var(--medium))}");let CK;function IK(){return Ym(this,void 0,void 0,(function*(){const e=ZZ.getState().data;console.log("----- fetchOnDataChanged done",e)}))}function EK(){return Ym(this,void 0,void 0,(function*(){var e;const t=`${n.baseApiUrl}/plants`;return null!==(e=yield n.request({url:t}))&&void 0!==e?e:[]}))}const _K={isOpen:!1,userSettings:{isTagsVisible:!0,isWorkOrdersVisible:!1,isEquipmentsVisible:!1,isIocAnnotationsVisible:!1}},AK={name:"data-layer-panel-storage",storage:sq((()=>localStorage)),partialize:e=>({userSettings:e.userSettings})},wK={enabled:"test"!==process.env.NODE_ENV,store:"dataLayersPanel",name:"DataLayersPanel"},SK=a.create()(oq(aq(cq(uq((e=>Object.assign(Object.assign({},_K),{togglePanel:()=>e((e=>{e.isOpen=!e.isOpen}),void 0,"togglePanel"),toggleWorkOrders:()=>e((e=>{jK(e,"isWorkOrdersVisible"),kK(e.userSettings)}),void 0,"toggleWorkOrders"),toggleEquipments:()=>e((e=>{jK(e,"isEquipmentsVisible"),kK(e.userSettings)}),void 0,"toggleEquipments"),toggleTags:()=>e((e=>{jK(e,"isTagsVisible"),kK(e.userSettings)}),void 0,"toggleTags"),toggleIocAnnotations:()=>e((e=>{jK(e,"isIocAnnotationsVisible"),kK(e.userSettings)}),void 0,"toggleIocAnnotations")}))),Object.assign(Object.assign({},AK),{version:1,migrate:(e,t)=>{const n=e;return 0===t?Object.assign(Object.assign({},n),{userSettings:Object.assign(Object.assign({},n.userSettings),{isIocAnnotationsVisible:n.userSettings.isAnnotationsVisible,isAnnotationsVisible:void 0})}):n}}))),wK));function kK(e){Zp.trackEventBy("DataLayer","VisibilityChanged",Object.assign({},e))}const jK=(e,t)=>{n.EchoEnv.isDevelopment()?((e,t)=>{e.userSettings[t]=!e.userSettings[t]})(e,t):e.userSettings[t]?e.userSettings[t]=!1:Object.keys(_K.userSettings).forEach((n=>{const r=n;e.userSettings[r]=r===t}))};var NK;exports.searchItemDetailsType=void 0,(NK=exports.searchItemDetailsType||(exports.searchItemDetailsType={})).Tag="Tag",NK.Document="Document",NK.Punch="Punch",NK.Checklist="Checklist",NK.CommPk="CommPk",NK.McPk="McPk",NK.Notification="Notification",NK.WorkOrder="WorkOrder",NK.MeasuringPoint="MeasuringPoint",NK.Equipment="Equipment",NK.IocAnnotation="IocAnnotation";function TK(){return Ym(this,void 0,void 0,(function*(){const t=yield EK(),r=n.getPlants();t&&t.length>0&&((t,n)=>!n||0===n.length||!e.Utils.arraysIsEqual(n,t))(t,r)&&n.setPlantsData({plants:t})}))}const PK=CC.registerComponent,OK=Object.freeze({Utils:Object.freeze({Navigation:Object.freeze({goToExternalLink:$p}),Color:Object.freeze({getLegendStatusColor:Id})}),Hooks:Object.freeze(Object.assign(Object.assign({},xC),yC)),EchopediaComponentLibrary:Object.freeze({getTagItem:CC.getTagItem,getTagListItem:CC.getTagListItem}),APIs:Object.freeze({getPlantsInfo:Mp,getTagDetails:fC,getTemporarilyEchoHubListFor3D:xx,createTemporarilyEchoHubListFor3D:bx})});exports.ALL_PROJECTS=pW,exports.AppLinks=wC,exports.ContextualAppLinks=HM,exports.CorePanelLeft=rW,exports.CorePanelRight=cW,exports.EchoBarComponent=NC,exports.EchoContent=({children:e,Legend:t,isOnboardingCompleted:r})=>c.jsxs(n.ModuleContextProvider,{children:[r&&c.jsx(rW,{}),c.jsx(cW,{}),e,r&&t&&c.jsx(t,{})]}),exports.EchoEventHandler=({children:e})=>{const t=o.useHistory(),i=dQ(mQ,800);return r.useEffect((()=>{const e=s.eventHub.subscribe(n.EchoEvents.PlantChanged,(e=>{((e,t,r)=>{Ym(void 0,void 0,void 0,(function*(){n.setSelectedPlant(Object.assign(Object.assign({},e),{plantName:e.description})),!r&&t.push("")}))})(e.selectedPlant,t,e.stayOnPath)}));return()=>{e()}})),r.useEffect((()=>(document.addEventListener("contextmenu",mQ),()=>{document.removeEventListener("contextmenu",mQ)})),[]),r.useEffect((()=>{if(!t)return void console.error("No react history found!",t);const e=t.listen((e=>{const{pathname:t}=e,r=BW(t);n.setActiveModulePanels(r)}));return()=>{e()}}),[t]),c.jsx("div",Object.assign({className:pQ},i,{children:e}))},exports.EchoLogo=fM,exports.EchoRoute=RW,exports.EchoRouter=({children:e})=>c.jsx(o.Router,{history:g.createBrowserHistory(),children:e}),exports.EchoRoutes=({homeComponent:e,routeErrorHandler:t})=>{const r=n.useRoutes();return c.jsxs(c.Fragment,{children:[e?c.jsx(RW,{path:"/",component:e,layoutKey:"main"}):null,r.map((({path:e,component:n,layoutKey:r,key:o,exactPath:i})=>c.jsx(RW,{path:e,component:n,layoutKey:r,errorHandler:t,exactPath:i},o)))]})},exports.EchoToolBar=qC,exports.EquipmentItemHeader=wQ,exports.EquipmentItemInfo=NQ,exports.EquipmentLinkField=$Y,exports.EquipmentListItem=({equipment:e,tagNo:t,plantNo:r})=>{const o=JY(),a=n.useActivePanelState();return c.jsx(i.ListItem,{primary:rb(e.equipmentId),icon:{name:"donut_outlined",color:i.themeConst.white,backgroundColor:"var(--strongGray)"},secondary:e.equipmentDescription,tertiary:c.jsx(d.Typography,{variant:"meta",children:e.modelNo}),as:"div",showChevron:!0,onCardClick:()=>o({equipmentId:e.equipmentId,panelKey:a.activePanel,keepLastNavigationItem:!0,tagNo:t,plantNo:r})})},exports.EquipmentTabs=WY,exports.ErrorBoundary=jM,exports.ExternalLinkButton=dN,exports.ExternalLinkToCommApp=NO,exports.ExternalLinkToConditionAdviser=TO,exports.ExternalLinkToMcApp=PO,exports.ExternalLinkToProCoSys=OO,exports.ExternalLinkToSafeX=$O,exports.ExternalLinkToSap=tM,exports.ExternalLinkToSemiDoc=nM,exports.ExternalLinkToStid=rM,exports.ExternalLinkToTr2000=oM,exports.ExternalLinkToTrendingApp=iM,exports.Footer=({footerType:e})=>{const t=e===exports.FooterType.termOfService;return c.jsxs("footer",{className:`${GM} ${t?YM:""}`,children:[c.jsxs("p",{className:WM,children:["All information is proprietary of Equinor: © ",(new Date).getFullYear()," Equinor ASA"]}),c.jsx("div",{className:QM,children:c.jsx(qM,{})})]})},exports.FormattedLongText=VM,exports.FullScreenChip=KM,exports.FullScreenModeButton=()=>{const{activeAppMenuItem:e,updateActiveAppMenuItem:t}=uC(),r=sb(),{setActivePanel:o,activePanel:a}=n.usePanels(),s=""!==a||""!==e,l=()=>{n.eventHub.emit(n.EchoEvents.FullScreenModeEnabled,{isFullScreenModeEnabled:!r})};return c.jsx(i.Fab.Button,{iconName:r?"fullscreen_exit":"fullscreen",title:r?"Show panels and bars":"Hide panels and bars",active:r,onClick:()=>{s?(o(""),t(""),l()):l()}})},exports.FullScreenModeChip=({className:e})=>{const[t,o]=r.useState(!0),i=sb();return i&&t&&c.jsx("div",{className:`${JM} ${e}`,children:c.jsx(KM,{active:i,onClick:()=>{n.eventHub.emit(n.EchoEvents.FullScreenModeEnabled,{isFullScreenModeEnabled:!i})},onDelete:()=>{o(!1)}})})},exports.InfoLabel=tL,exports.LabelledValueGrid=sL,exports.Layout=pI,exports.LazyLoadedAppWrapper=({children:e,loadingText:t})=>c.jsx(r.Suspense,{fallback:c.jsx(uL,{loadingText:t}),children:e}),exports.LegendList=()=>{const e=eK.legend.useAll(),t=n.useActivePanelState().isPanelActive;return c.jsx("div",{className:`${xK} ${t&&bK}`,children:e.map((e=>{if(!e.isEnabled)return null;const t=eK.strategy.get(e.legendId);return t.customLegendComponent?t.customLegendComponent():c.jsx(yK,{legendId:e.legendId,isExpanded:e.isExpanded},e.legendId)}))})},exports.LinkButton=AC,exports.ListItemAdditionalInfoRow=({leftHandInfo:e,rightHandInfo:t})=>c.jsxs("div",{className:dL,children:[c.jsx("div",{className:mL,children:e}),t&&c.jsx("div",{className:mL,children:t})]}),exports.MeasuringPointDetails=zY,exports.MeasuringPointHeader=FY,exports.MeasuringPointItem=hY,exports.Mediator=({options:e})=>(r.useEffect((()=>{const{connect:t,disconnect:r}=s.startLoadingModules(e),o=(e,t,r)=>{n.initializeModules(r,e,t)};return t(o),()=>r(o)}),[]),null),exports.MultipleMarkersByLegends=sK,exports.OpenGlobalSelectionIn3DButton=({onPlantLoadError:e,disabled:t})=>{const[n,o]=r.useState(!1);return c.jsxs(c.Fragment,{children:[c.jsx(d.Button,{className:xG,color:"primary",onClick:()=>o(!0),disabled:t,children:"Open in 3D"}),m.createPortal(c.jsxs(c.Fragment,{children:[" ",c.jsx(yG,{open:n,getItems:function(){return Ym(this,void 0,void 0,(function*(){try{return yield Aq()}catch(t){e({error:s.toError(t),errorMessage:"Failed to open items in 3D"})}return[]}))},onPlantSelectionCompleted:()=>{o(!1)},onCancelButtonClicked:()=>o(!1)})]}),Jp.domSelector,Jp.portalId)]})},exports.OpenItemsIn3dDialog=yG,exports.PageMenu=lB,exports.PanTo3DButton=({item:e})=>{const{panTo3D:t}=(()=>{const e=o.useLocation(),t=e=>Ym(void 0,void 0,void 0,(function*(){return{key:n.EchoEvents.EchoGlobalSelectionGoTo,payload:{id:e.id,type:e.type}}}));return{panTo3D:r=>Ym(void 0,void 0,void 0,(function*(){const o=yield t(r);void 0!==o&&e.pathname===exports.InternalApplicationLinks.Echo3dWeb&&n.eventHub.emit(o.key,o.payload)}))}})();return c.jsx(d.Tooltip,{enterDelay:300,title:"Pan to Item in 3D View",placement:"left",children:c.jsx(d.Button,{variant:"ghost_icon","aria-label":"pan to item",onClick:n=>{n.preventDefault(),n.stopPropagation(),t(e)},disabled:e.metaData.isHiddenByUser,children:c.jsx(d.Icon,{name:"place"})})})},exports.PlantSelector=GL,exports.PositionalItem=DZ,exports.PositionalLegendMarkers=({items:t,pdfRotation:n,currentPageScale:o,pdfZoom:a})=>{const[s,l]=r.useState(0);r.useEffect((()=>{const e=document.getElementById(i.multipleItemMarkersId);if(e){const t=new ResizeObserver((e=>{e.forEach((e=>{l(e.target.clientHeight)}))}));return t.observe(e),l(e.clientHeight),()=>t.disconnect()}}),[]);const u=r.useMemo((()=>t.map((t=>{const r=LZ({position:t.position,pdfRotation:n,currentPageScale:o,isMobileDevice:e.isMobileDevice(),pdfZoom:a,hasPointer:t.hasPointer}),i=function(e){const t=1/Math.max(e.pdfZoom,1)*MZ(e.currentPageScale);return`translate3d(${e.hasPointer?e.position.x+2*t:e.position.x+24*t}px, ${e.hasPointer?e.position.y-e.markerHeight/2*t:e.position.y+e.markerHeight/2*t}px, 1px) rotate(${e.pdfRotation}deg) scale(${t})`}({pdfZoom:a,hasPointer:t.hasPointer,position:t.position,pdfRotation:n,currentPageScale:o,markerHeight:s});return{itemId:t.itemId,positionString:r,hasPointer:t.hasPointer,popoverOffset:i}}))),[t,n,o,a,s]);return c.jsx(uK,{positionItems:u})},exports.Prepview=LG,exports.PrepviewButton=({workOrderId:e,notificationId:t,punchId:r,instCode:o})=>{var i;const a=null!==(i=null!=e?e:t)&&void 0!==i?i:r,s=FG();return a&&c.jsx(d.Tooltip,{placement:"bottom",title:"Prepview",children:c.jsx(d.Button,{variant:"ghost_icon",onClick:()=>{s({prepviewInput:{notificationId:t,workOrderId:e,punchId:r,instCode:o},panelKey:n.ECHO_CORE_SEARCH,keepLastNavigationItem:!0})},children:c.jsx(d.Icon,{name:"view_array"})})})},exports.ProjectSelector=({variant:e,maxCharacterCount:t,isDisabled:o})=>{const a=n.useSelectedProcosysProject(),{procosysProjectsHasError:s,procosysProjects:l}=n.useProcosysProjectsData(),[u,m]=r.useState([]);r.useEffect((()=>{l.length>0&&m([pW].concat(l))}),[l]);const p=s?c.jsx(d.Typography,{children:"Could not load projects"}):c.jsxs("div",{className:mW,children:["Loading projects",c.jsx(d.StarProgress,{size:24,className:dW})]}),h=e||"default";return 0===u.length?p:c.jsx(i.Dropdown,{showSearch:!0,selected:a,data:u,filterFunc:uW,openDownWards:!0,placeholder:"Project",setSelected:e=>Ym(void 0,void 0,void 0,(function*(){n.setSelectedProcosysProject(e),n.eventHub.emit(n.EchoEvents.ProcosysProjectChanged,e)})),isDisabled:o||!n.isOnline(),disabledText:"Disabled",maxCharacterCount:t,variant:h,dropdownWidth:"fit-content"})},exports.RealTimePopoverButton=function({tagNo:t,onOpen:n}){const[o,i]=r.useState(!1),[a,s]=r.useState([]),[u]=r.useState((()=>new URLSearchParams(window.location.search).get("instCode")));return e.useEffectAsync((e=>Ym(this,void 0,void 0,(function*(){if(!u)return;const n=yield l.Search.Tags.getTagDetailsAsync(t,u);if(n.value){const t=n.value.additionalFields.filter((e=>"IMS"===e.type));e.aborted||(t.length>0&&i(!0),s(t))}return()=>{e.aborted||(i(!1),s([]))}}))),[t,u]),o&&u?c.jsx(PW,{onOpen:n,children:c.jsx(LW,{imsFields:a,instCode:u})}):null},exports.RemoveSelectionItemsConfirmDialog=()=>{const[t,o]=r.useState(!1),[a,s]=r.useState([]),[l,u]=r.useState([]),p=r.useRef((()=>{})),h=e.isMobileDevice();return n.useEventSubscriber(n.EchoEvents.OpenRemoveSelectionItemsConfirmDialog,(e=>{s(e.itemIds),u(e.affectedGroups),o(!0),p.current=e.onDialogConfirm})),m.createPortal(c.jsxs(i.DialogGenerator,{open:t,dialogStyle:{width:h?"320px":"420px"},title:"Confirm item removal",actionButtons:[{title:"Cancel",variant:"outlined",onClick:()=>o(!1)},{title:"Remove",onClick:()=>{p.current(),o(!1)}}],children:[c.jsxs(d.Typography,{className:eq,group:"paragraph",children:["The item",tq({items:a,plural:"s"})," you want to remove from the Selection"," ",tq({items:a,plural:"are",singular:"is"})," found in more than one list:"," "]}),c.jsx(d.List,{className:eq,children:l.map((e=>c.jsx(d.List.Item,{children:e.label},e.id)))}),c.jsxs(d.Typography,{className:eq,group:"paragraph",children:["Would you like to remove the item",tq({items:a,plural:"s"})," from all these lists?"]}),c.jsxs(d.Typography,{className:eq,group:"paragraph",children:["You can also remove ",tq({items:a,plural:"them",singular:"it"})," manually, in the Selection panel."]})]}),Jp.domSelector,Jp.portalId)},exports.RequestProCoSysAccess=e=>{const t=`https://accessit.equinor.com/Search/Search?term=procosys+${e.plantName?e.plantName:""}`;return c.jsx(rQ,{className:e.className,onClicked:e.onClicked,buttonLabel:"Request Access",applyForAccessUrl:t})},exports.RequestSapAccess=({padding:e,onClicked:t})=>c.jsxs("div",{className:e?iQ:oQ,children:[c.jsx("div",{className:aQ,children:"Request access to the following SAP roles:"}),c.jsx("div",{className:sQ,children:"For external users:"}),c.jsxs(d.List,{className:lQ,children:[c.jsx(d.List.Item,{children:c.jsx(rQ,{onClicked:t,buttonLabel:"YO900 (SAPP05)",applyForAccessUrl:"https://accessit.equinor.com/Search/Search?term=YO900+-+OM+Mobile+Apps+%26+API+%28SAPP05%29"})}),c.jsx(d.List.Item,{children:c.jsx(rQ,{onClicked:t,buttonLabel:"YT105 (SAPP03)",applyForAccessUrl:"https://accessit.equinor.com/Search/Search?term=YT105+-+OM+Mobile+Apps+%26+API"})}),c.jsx(d.List.Item,{children:c.jsx(rQ,{onClicked:t,buttonLabel:"YO017 (SAPP03)",applyForAccessUrl:"https://accessit.equinor.com/Search/Search?term=YO017+-+Display+role+O%26M+%E2%80%93+External+%28SAPP03%29"})})]}),c.jsx("div",{className:sQ,children:"For internal users:"}),c.jsx(d.List,{className:lQ,children:c.jsx(d.List.Item,{children:c.jsx(rQ,{onClicked:t,buttonLabel:"YO900 (SAPP05)",applyForAccessUrl:"https://accessit.equinor.com/Search/Search?term=YO900+-+OM+Mobile+Apps+%26+API+%28SAPP05%29"})})})]}),exports.SearchMenu=HW,exports.SelectionActionBar=SG,exports.Spinner=xz,exports.TagNumber=({tagNo:e,className:t,keepLastNavigationItem:n,activePanelKey:r})=>{const o=zG();return c.jsx("div",{className:`${t} ${qW}`,children:c.jsx("div",{onClick:()=>o({tagNo:e,activePanelKey:r,keepLastNavigationItem:n}),className:qW,children:e})})},exports.TagsDropdown=({tags:e,onTagSelected:t,loadingTags:n})=>n||0===e.length?null:c.jsx(c.Fragment,{children:e.map(((e,n)=>c.jsx("button",{className:YW,onClick:()=>t(e),children:c.jsxs("div",{className:UW,children:[c.jsxs("div",{className:GW,children:[c.jsx(d.Typography,{color:i.themeConst.asBuilt,children:e.tagNo}),e.description&&c.jsx(d.Typography,{className:WW,children:e.description})]}),c.jsx("div",{className:QW,children:e.tagCategoryDescription&&c.jsx(d.Typography,{children:e.tagCategoryDescription})})]})},n)))}),exports.Toaster=eQ,exports.Toasters=()=>{const[e,t]=r.useState(0),[o,i]=r.useState(tQ.length),a=()=>{i(tQ.length)};return n.useEventSubscriber(n.EchoEvents.Toaster,(n=>{const r={count:e,id:Math.floor(1e6*Math.random()),message:n.message,onClose:n.onClose};var o;tQ=[...tQ,r],o=n.lifetime,setTimeout((()=>{tQ=[...tQ.filter((({id:t})=>t!==e))],a()}),null!=o?o:1e4),a(),t((e=>e+1))})),c.jsx("section",{className:`toasters ${KW}`,children:tQ.sort(((e,t)=>t.count-e.count)).map(((e,t)=>c.jsx(eQ,{toast:e,toastNumber:t,numberOfToasts:o,onClose:e.onClose},e.id)))})},exports.VerticalTabsSplitView=Vz,exports.WorkOrderContent=({workOrderId:e})=>{const t=n.useActivePanelState().activePanel,r=zG();return c.jsx(cB.Provider,{value:{instCode:"",orientation:i.SideSheetOrientation.Vertical,isWorkOrder:!0,tagClicked:function(e,n){r({tagNo:e,instCode:n,activePanelKey:t,keepLastNavigationItem:!0})}},children:c.jsx(MG,{workOrderId:e})})},exports.WorkOrderListItem=iH,exports.allEchoHubPlantsBySapId=function(e){return Ym(this,void 0,void 0,(function*(){if(!e.sapId)return;const t=(yield Rp()).filter((t=>{var n;return(null===(n=t.sapId)||void 0===n?void 0:n.toString())===e.sapId}));return t.length>0?t:void 0}))},exports.allPlantCodesOnInstallation=qp,exports.check3dAccessForInstCodeOrPlantCode=Gp,exports.check3dPermissionForPlantCode=Wp,exports.check3dPermissionOnInstallation=Up,exports.checkPlantAvailableIn3d=Qp,exports.checkPlantAvailableIn3dWeb=Yp,exports.convertGlobalSelectionItemsToPlantTagPairs=Aq,exports.convertPathNameToReadableString=pC,exports.convertToRobimPlantCode=function(e){return"JSV"===e?"JSF":e},exports.createChipStatusProps=function(e){return{icon:i.getIcon(e.tagCategoryDescription),chips:jQ(e.status),legendColor:Id(kQ(e.status)),isChipsEnabled:e.isChipsEnabled}},exports.createEcho3dInternalLink=PQ,exports.createSimpleStore=function(e,t){const n=t.charAt(0).toUpperCase()+t.slice(1);return a.create()((r=>({[t]:e,[`set${n}`]:e=>r((n=>Object.assign(Object.assign({},n),{[t]:e})))})))},exports.dataLayerStoreSnapshot=function(){return SK.getState()},exports.dateToStringOrEmptyWithoutTime=Xp,exports.default=OK,exports.displayToast=lN,exports.echopediaWebReactPortalUtils=Jp,exports.emitLegendStatusChangedEvent=e=>{n.eventHub.emit(n.EchoEvents.LegendStatusesChanged,e)},exports.failureMechanismConfig=uY,exports.fetchEquipmentFromApi=AQ,exports.generateTemporaryTagListObject=e=>({name:`Tags from ${e.sourceModuleName}`,description:`Tags from ${e.sourceModuleName} in Echo`,createdBy:e.createdBy,plant:e.plantCode,source:e.source,section:e.section,timeToLiveSeconds:263e4,results:e.tagList}),exports.getAllPlants=Fp,exports.getCachedPlantInfo=Rp,exports.getColorForWorkOrderTypeId=function(e){switch(e.toLowerCase()){case"pm01":return i.themeConst.pm01;case"pm02":return i.themeConst.pm02;case"pm03":return i.themeConst.pm03;case"pm04":return i.themeConst.pm04;case"pm05":return i.themeConst.pm05;case"pm06":return i.themeConst.pm06;case"pm10":return i.themeConst.pm10;case"pm15":return i.themeConst.pm15;case"pm20":return i.themeConst.pm20;default:return i.themeConst.equiGreen1}},exports.getEquipmentLinkField=function(e,t,n){return c.jsx($Y,{equipmentId:e,tagNo:t,plantNo:n})},exports.getLatestMeasurementDate=mY,exports.getLeftPanelNavigationState=DG,exports.getLegendStatusColor=Id,exports.getPanelTitle=ib,exports.getPdmsPlantCodeForTag=TQ,exports.getPlantsCachedOrApi=function(){return Ym(this,void 0,void 0,(function*(){const e=n.getPlants();return(null==e?void 0:e.length)>0?e:yield EK()}))},exports.getPlantsFromApi=EK,exports.getPlantsOnInstallation=zp,exports.getPreviousItemIdOrPanelTitle=ob,exports.getRandomColor=function(){return"#"+Math.floor(16777215*Math.random()).toString(16)},exports.getTemporarilyEchoHubListFor3d=Cx,exports.globalSelectionApi=VU,exports.globalSelectionDefaultGroupId=dU,exports.globalSelectionUtils=Cq,exports.goToExternalLink=$p,exports.instCodeByPlantCode=function(e){return Ym(this,void 0,void 0,(function*(){if(!e)return;const t=(yield Rp()).find((t=>t.plantCode===e));return null==t?void 0:t.installationCode}))},exports.instCodeBySapId=Hp,exports.isImage=fz,exports.isVideo=function(e){return!!e&&!!e.match(/.(mp4|mov|avi)$/i)},exports.legendFacade=eK,exports.legendTypeToLegendStatus=function(e,t){return Ed(t)},exports.locationService=XC,exports.mainMenu=cQ,exports.registerEchopediaComponent=PK,exports.removeLeadingZeros=rb,exports.searchPanel=uQ,exports.setLocationServicePathname=KC,exports.setMainSearchText=e=>{n.eventHub.emit(n.EchoEvents.SetMainSearchText,e)},exports.setPlantInfo=Dp,exports.sortMeasuringPointsByMeasurementDate=pY,exports.startup=function(){return Ym(this,void 0,void 0,(function*(){n.isOnline()&&e.Utils.fireAndForget(TK)}))},exports.statusHelper=Cd,exports.stringToEnumOrUndefined=_d,exports.subscribeToLegendDataChanged=function(){null==CK||CK(),CK=ZZ.subscribe((e=>e.data),((n,r)=>{console.log("----- temp"),t.isEqual(n,r)||e.fireAndForget((()=>IK()))})),IK()},exports.tagIdPlantIdToPlantTagPairs=Eq,exports.toLegendStatusOrString=Ed,exports.trimToLength=function(e,t){return e.length>t?e.substring(0,t)+"...":e},exports.useCloseActiveTopMenuAtBreakPoint=nI,exports.useClosePanelsAtBreakpoint=rI,exports.useDataLayerPanelStore=SK,exports.useEchoHistory=Nd,exports.useEchoUiContext=dC,exports.useEchoUserInterfaceStore=uC,exports.useFetchInstCodeBySapPlantId=Vp,exports.useFetchPlantInfo=(e,t)=>{const[n,o]=r.useState(void 0);return r.useEffect((()=>{Ym(void 0,void 0,void 0,(function*(){try{const t=yield zp(e);o(t)}catch(e){t(e)}}))}),[e,t]),n},exports.useGlobalSelectionByItemId=function(e,t){return lU((n=>n.lists[e].items.get(Cq.itemIdToString(t))))},exports.useGlobalSelectionItems=()=>{const e=lU((e=>e.lists)),t=r.useMemo((()=>{let t=[];return Object.values(e).forEach((e=>{const n=[...e.items.values()];t=t.concat(n)})),t}),[e]);return t},exports.useGlobalSelectionItemsByType=function(e){const t=lU((t=>t.lists[e]));return Array.from(t.items.values())},exports.useGlobalSelectionLists=JU,exports.useGlobalSelectionTags=function(){const e=lU((e=>e.lists[exports.GlobalSelectionItemType.Tag]));return Array.from(e.items.values())},exports.useGlobalSelectionWorkOrders=function(){const e=lU((e=>e.lists[exports.GlobalSelectionItemType.WorkOrder]));return Array.from(e.items.values())},exports.useHas3dAccess=ab,exports.useIsAllIGlobalSelectionItemsHidden=e=>{const{groupId:t,categoryId:n}=e,[o,i]=r.useState(!1),a=JU();return r.useEffect((()=>{const e=YU().groups;let r=new Map;const o=CU({groupId:t,categoryId:n,groups:e});if(!o)return;if(o.category){const{category:e}=o;if(!e.items)return void i(!1);r=e.items}else{const{group:e}=o;e.categories.forEach((e=>{e.items.forEach(((e,t)=>{r.set(t,e)}))}))}const s=new Set(r.keys()),l=!a.some((e=>e.items.some((e=>s.has(Cq.itemIdToString(e.id))&&!e.metaData.isHiddenByUser))));i(l)}),[t,n,a]),o},exports.useIsCompactLayout=Yb,exports.useIsFullScreenModeEnabled=sb,exports.useOpenEquipmentDetails=JY,exports.useOpenMeasuringPointDetails=HY,exports.useOpenPdfFile=Hb,exports.useOpenPdfFileUrl=qb,exports.useOpenPrepview=FG,exports.usePlantAvailableIn3d=Gb,exports.usePlantAvailableIn3dWeb=Wb,exports.useScreenOrientation=Qb,exports.useScreenValues=Vb,exports.useSelectionCategoriesByGroupId=function(e){var t;return null===(t=QU((e=>e.groups)).find((t=>t.id===e)))||void 0===t?void 0:t.categories},exports.useSelectionMenuGroups=function(){return QU((e=>e.groups))},exports.useTabTitle=hC,exports.useTagDetails=gC,exports.useUserSettingsStore=VQ,exports.userSettingsSnapshot=function(){return VQ.getState()},exports.valueToEnum=function(e,t){if(!e)return Object.keys(t)[0];const n=function(e){return e.map((e=>e.toLowerCase()))}(Object.values(t)).indexOf(e.toLowerCase());return-1===n?Object.values(t)[0]:Object.values(t)[n]};
|