1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e6d79cc8-a3e9-402b-a6cf-cdce292c5601",e._sentryDebugIdIdentifier="sentry-dbid-e6d79cc8-a3e9-402b-a6cf-cdce292c5601")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9181,9209],{4315:(e,n,t)=>{"use strict";t.d(n,{$n:()=>r.$n,EY:()=>r.EY,az:()=>r.az,so:()=>r.so});var r=t(34865)},5342:(e,n,t)=>{"use strict";t.d(n,{A:()=>h});var r=t(11362),o=t(89477),i=t(46615),s=t(17194),a=t(7798),l=t(17867),c=t(28164),d=t(12678),u=(0,a._)((0,d.Lj)({entity:"portals",action:"fetch",condition:function(e){return!!e.args.portalId},prefetchData:function(e,n){var t,r,i=e.args,s=(0,n.getState)(),a=null!=(r=null==(t=s.entities.shortIds.portals)?void 0:t[i.portalId])?r:i.portalId,l=s.entities.portals.objects[a];return l?{result:l.uuid,entities:{portals:(0,o._)({},l.uuid,l)}}:null}},function(e){var n=e.args;return(0,r._)(function(){var e;return(0,l.YH)(this,function(t){switch(t.label){case 0:return[4,c.n.call({endpoint:"portals/".concat(n.portalId),method:"GET"})];case 1:return e=t.sent(),[2,(0,s._)((0,i._)({},e),{result:e.result.portal})]}})})()}),2),f=u[0];u[1];let h=f},6526:(e,n,t)=>{Promise.resolve().then(t.bind(t,39209)),Promise.resolve().then(t.bind(t,18324)),Promise.resolve().then(t.bind(t,48808)),Promise.resolve().then(t.bind(t,31267)),Promise.resolve().then(t.bind(t,61524)),Promise.resolve().then(t.bind(t,84843)),Promise.resolve().then(t.bind(t,65520)),Promise.resolve().then(t.bind(t,45746)),Promise.resolve().then(t.bind(t,75950)),Promise.resolve().then(t.bind(t,20480)),Promise.resolve().then(t.bind(t,28808)),Promise.resolve().then(t.bind(t,99704)),Promise.resolve().then(t.bind(t,69858)),Promise.resolve().then(t.bind(t,48442)),Promise.resolve().then(t.bind(t,92406)),Promise.resolve().then(t.bind(t,22538)),Promise.resolve().then(t.bind(t,60940)),Promise.resolve().then(t.bind(t,49256)),Promise.resolve().then(t.bind(t,68513)),Promise.resolve().then(t.bind(t,23636)),Promise.resolve().then(t.bind(t,51299)),Promise.resolve().then(t.bind(t,43092)),Promise.resolve().then(t.bind(t,61864)),Promise.resolve().then(t.bind(t,29356)),Promise.resolve().then(t.bind(t,54040)),Promise.resolve().then(t.bind(t,24114)),Promise.resolve().then(t.bind(t,93817)),Promise.resolve().then(t.bind(t,86720)),Promise.resolve().then(t.bind(t,63700)),Promise.resolve().then(t.bind(t,28824)),Promise.resolve().then(t.bind(t,77028)),Promise.resolve().then(t.bind(t,80423)),Promise.resolve().then(t.bind(t,46273)),Promise.resolve().then(t.bind(t,32062)),Promise.resolve().then(t.bind(t,67006)),Promise.resolve().then(t.bind(t,80100)),Promise.resolve().then(t.bind(t,6074)),Promise.resolve().then(t.bind(t,90125)),Promise.resolve().then(t.bind(t,64712)),Promise.resolve().then(t.bind(t,74376)),Promise.resolve().then(t.bind(t,86759)),Promise.resolve().then(t.bind(t,58390)),Promise.resolve().then(t.bind(t,71923)),Promise.resolve().then(t.bind(t,71154)),Promise.resolve().then(t.bind(t,12909)),Promise.resolve().then(t.bind(t,17957)),Promise.resolve().then(t.bind(t,37716)),Promise.resolve().then(t.bind(t,38503)),Promise.resolve().then(t.bind(t,63530)),Promise.resolve().then(t.bind(t,8637)),Promise.resolve().then(t.bind(t,39563)),Promise.resolve().then(t.bind(t,11167)),Promise.resolve().then(t.bind(t,10420)),Promise.resolve().then(t.bind(t,36154)),Promise.resolve().then(t.bind(t,5325)),Promise.resolve().then(t.bind(t,84340)),Promise.resolve().then(t.bind(t,67996)),Promise.resolve().then(t.bind(t,94260)),Promise.resolve().then(t.bind(t,95512)),Promise.resolve().then(t.bind(t,89559)),Promise.resolve().then(t.bind(t,90154)),Promise.resolve().then(t.bind(t,52050)),Promise.resolve().then(t.t.bind(t,19664,23))},7437:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var r=t(93458),o={prod:{clientId:"757670575963-6aqlipbn3o43uoqj5t6j8vh0egkim5n3.apps.googleusercontent.com",developerKey:"AIzaSyCgQwgpyMhZQeafNRw_CEbmsOiT7xIKr90",appId:"757670575963"},qa:{clientId:"658373343516-ftnffp62c1k178bdrt6sqapase10h70o.apps.googleusercontent.com",developerKey:"AIzaSyBaEGeomICKRDm3gqdNha0LWGa952dfxbY",appId:"658373343516"}};let i=r.W0.environment===r.OH.production?o.prod:o.qa},35468:(e,n,t)=>{"use strict";t.d(n,{A:()=>m,H:()=>h});var r=t(11362),o=t(89477),i=t(46615),s=t(17194),a=t(7798),l=t(17867),c=t(28164),d=t(12678),u=(0,a._)((0,d.Lj)({entity:"spaces",action:"fetch",condition:function(e){return!!e.args.spaceId},prefetchData:function(e,n){var t=e.args,r=(0,n.getState)().entities.space
1s.objects[t.spaceId];return r?{result:r.id,entities:{spaces:(0,o._)({},r.id,r)}}:null}},function(e){var n=e.args;return(0,r._)(function(){var e;return(0,l.YH)(this,function(t){switch(t.label){case 0:return[4,c.n.call({endpoint:"spaces/".concat(n.spaceId),method:"GET"})];case 1:return e=t.sent(),[2,(0,s._)((0,i._)({},e),{result:e.result.space})]}})})()}),2),f=u[0],h=u[1];let m=f},39209:(e,n,t)=>{"use strict";t.d(n,{default:()=>O});var r=t(54568),o=t(7620),i=t(32130),s=t(82845),a=t(46615),l=t(17194),c=t(7798),d=t(95412),u=t(34865),f=t(53408),h=t(55788),m=t(70435),v=t(95512),p=i.default.ul.withConfig({componentId:"sc-bd81d98c-0"})(["display:flex;flex-direction:column;justify-content:flex-end;margin-left:50%;transform:translateX(-50%);width:408px;max-width:90%;position:absolute;overflow:visible;bottom:16px;"]),b="cubic-bezier(0.4, 0, 0.2, 1)",g=i.default.li.withConfig({componentId:"sc-bd81d98c-1"})(["list-style:none;position:relative;",""],function(e){var n=e.$mounted,t=e.$exiting,r=e.$i,o=e.$n,s=e.$hovered,a=n&&(s||0===r)&&!t,l=!n||t?0:a?250:Math.max(0,18-5*r),c=!n||t?0:16*!!a,d=!n||t?0:a?1:Math.max(0,1-.3*r),u="".concat(400,"ms ").concat(b);return(0,i.css)(["z-index:",";max-height:","px;margin-bottom:","px;opacity:",";pointer-events:",";transition:max-height ",",margin-bottom ",",opacity ",";"],o-r,l,c,d,a?"auto":"none",u,u,u)}),x=(0,i.default)(u.az).attrs(function(e){return{boxShadow:"panel",borderRadius:"default",background:"error"===e.level?"error":"info",textAlign:"left",position:"relative"}}).withConfig({componentId:"sc-bd81d98c-2"})(["transform-origin:bottom center;transition:transform ","ms ",";& .inner{padding:8px 16px;}& p{margin:0;}"," .close-button{opacity:0;transition:opacity 0.2s;}&:hover{.close-button{opacity:1;}}"],400,b,function(e){var n=e.$i,t=e.$hovered,r=e.$mounted;return(0,i.css)(["transform:scale(",");"],!r||t||0===n?1:Math.max(.85,1-.05*n))}),w=i.default.button.withConfig({componentId:"sc-bd81d98c-3"})(["position:absolute;top:-4px;left:-4px;padding:0;height:16px;width:16px;background-color:",";border-radius:50%;display:flex;justify-content:center;align-items:center;box-shadow:",";"],function(e){return(0,v.getColor)("error"===e.level?"errorDark":"infoDark")},(0,v.getShadow)("button")),P=(0,i.default)(u.EY).attrs({as:"span",font:"ui.small"}).withConfig({componentId:"sc-bd81d98c-4"})(["color:white !important;text-decoration:underline;font-weight:bold;"]),y=i.default.button.withConfig({componentId:"sc-bd81d98c-5"})(["display:inline;padding:0;margin:0;border:none;background:none;font:inherit;text-align:left;cursor:pointer;"]),I=(0,i.default)(u.$n).attrs(function(e){return{themeOverrides:{primaryColor:"error"===e.level?"error":"infoDark",primaryColorDark:"error"===e.level?"errorDark":"infoDark",primaryColorTint:"white"},size:"small",buttonStyle:"primary",flexShrink:0}}).withConfig({componentId:"sc-bd81d98c-6"})(["border:1px solid ",";cursor:pointer;margin-left:4px;"],function(e){return(0,v.getColor)("error"===e.level?"errorDark":"infoDark")}),k=function(e){var n=e.notification,t=e.navigation,i=e.dismiss,s=n.link,a=n.message,l=n.action,c=n.level,d=(0,o.useCallback)(function(){i(n.id)},[i,n.id]);return(0,r.jsxs)("div",{className:"inner",children:[(0,r.jsx)(w,{level:c,className:"close-button",onClick:d,children:(0,r.jsx)(u.In,{iconId:"action.close",fill:"white",size:14})}),(0,r.jsx)("div",{children:(0,r.jsxs)(u.so,{width:"100%",alignItems:"center",justifyContent:"space-between",children:[(0,r.jsxs)(u.EY,{as:"span",color:"white",font:"ui.small",style:{overflowWrap:"anywhere"},children:[Array.isArray(a)?a.map(function(e){return"string"==typeof e?e:(0,r.jsxs)(o.Fragment,{children:[" ",(0,r.jsx)(y,{onClick:function(r){r.preventDefault(),e.url?t.push(e.url):null==e||e.onClick(),i(n.id)},children:(0,r.jsx)(P,{children:e.text})})," "]},e.text)}):String(n.message),s&&(0,r.jsxs)(r.Fragment,{children:[" ",(0,r.jsx)(y,{onClick:function(e){e.preventDefault(),t.push(s.url),d()},children:(0,r.jsx)(P,{children:s.text})})]})]}),l&&(0,r.jsx)(I,{level:n.level,onClick:function(){l.onClick(),i(n.id)},text:l.text})]})})]})};let j=function(){var e,n=(0,f.A)(),t=(0,m.x)(function(e){return e.notifications}
1),i=(0,h.Ay)().dismissNotification,s=(0,c._)(o.useState(!1),2),u=s[0],v=s[1],b=(0,c._)(o.useState(new Set),2),w=b[0],P=b[1],y=(0,c._)(o.useState(new Set),2),I=y[0],j=y[1];(0,o.useEffect)(function(){var e=requestAnimationFrame(function(){P(function(e){var n=new Set(e),r=!1;return t.forEach(function(e){n.has(e.id)||(n.add(e.id),r=!0)}),r?n:e})});return function(){return cancelAnimationFrame(e)}},[t]),(0,o.useEffect)(function(){var e=new Set(t.map(function(e){return e.id}));P(function(n){var t=new Set((0,d._)(n).filter(function(n){return e.has(n)}));return t.size!==n.size?t:n})},[t]);var C=o.useCallback(function(e){j(function(n){if(n.has(e))return n;var t=new Set(n);return t.add(e),t}),setTimeout(function(){j(function(n){var t=new Set(n);return t.delete(e),t}),P(function(n){var t=new Set(n);return t.delete(e),t}),i(e)},450)},[i]);return(e=o.useRef(new Map),(0,o.useEffect)(function(){t.forEach(function(n){if(!e.current.has(n.id)){var t=n.action?1e4:n.link?8e3:5e3;if(u)e.current.set(n.id,{timerId:0,remaining:t,started:0});else{var r=setTimeout(function(){e.current.delete(n.id),C(n.id)},t);e.current.set(n.id,{timerId:r,remaining:t,started:Date.now()})}}});var n=new Set(t.map(function(e){return e.id}));e.current.forEach(function(t,r){n.has(r)||(clearTimeout(t.timerId),e.current.delete(r))})},[t,C,u]),(0,o.useEffect)(function(){u?e.current.forEach(function(n,t){clearTimeout(n.timerId);var r=n.started?Date.now()-n.started:0;e.current.set(t,(0,l._)((0,a._)({},n),{remaining:Math.max(n.remaining-r,500),started:0}))}):e.current.forEach(function(n,t){if(0===n.started){var r=setTimeout(function(){e.current.delete(t),C(t)},n.remaining);e.current.set(t,{timerId:r,remaining:n.remaining,started:Date.now()})}})},[u,C]),(0,o.useEffect)(function(){return function(){e.current.forEach(function(e){return clearTimeout(e.timerId)})}},[]),0===t.length)?null:(0,r.jsx)(p,{onMouseEnter:function(){return v(!0)},onMouseLeave:function(){return v(!1)},children:t.map(function(e,o){var i=t.length-1-o,s=w.has(e.id),a=I.has(e.id);return(0,r.jsx)(g,{$i:i,$n:t.length,$hovered:u,$mounted:s,$exiting:a,children:(0,r.jsx)(x,{level:e.level,role:"status",$i:i,$hovered:u,$mounted:s,children:(0,r.jsx)(k,{notification:e,dismiss:C,navigation:n})})},e.id)})})};var C=t(40361),E=t(36940),_=t(84407),S=t(79134),A=t(74594),D=t(95298),$=(0,i.keyframes)(["0%{margin-bottom:0;max-height:0;opacity:0;bottom:0;}100%{max-height:250px;opacity:1;bottom:24px;}"]),z=(0,i.keyframes)(["0%{max-height:250px;opacity:1;bottom:24px;}100%{margin-bottom:0;max-height:0;opacity:0;bottom:0;}"]),T=(0,i.default)(u.az).attrs({position:"absolute",ml:"50%",transform:"translateX(-50%)",width:"400px"}).withConfig({componentId:"sc-5abacaf9-0"})(["animation:"," 0.25s ease-out forwards;"],function(e){return e.hide?z:$}),M=(0,i.default)(u.so).attrs({p:"m",color:"black",background:"grayLightest",borderRadius:"default",boxShadow:"panel",textAlign:"left",alignItems:"center"}).withConfig({componentId:"sc-5abacaf9-1"})([""]),L=(0,i.default)(u.In).attrs({iconId:"checkmark",fill:"success",size:16}).withConfig({componentId:"sc-5abacaf9-2"})([""]),Y=(0,i.default)(u.In).attrs({iconId:"error",fill:"error",size:16}).withConfig({componentId:"sc-5abacaf9-3"})([""]),N=function(e){var n=0,t=0,r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0){var l=s.value;n+=l.upload.size,t+=l.upload.progress/100*l.upload.size}}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return 0===n?0:t/n*100};let q=function(){var e,n=(0,S.Ay)().showModal,t=(0,A.A)(),i=(0,D.MY)(),s=(0,D.sK)(),a=s.length>0,l=(0,o.useRef)(),c=s.some(function(e){return e.component===S.HM.UPLOAD_DETAILS}),d=(0,_.A)(c),f=i.recentUploads.map(function(e){return i.uploads[e]}),h=N(f),m=f.filter(function(e){return["pending","started"].includes(e.upload.status)}),v=f.filter(function(e){return"failed"===e.upload.status}),p=(null!=(e=(m[0]||v[0]||f[0]||{}).upload)?e:{}).status,b=(0,o.useCallback)(function(){n(S.HM.UPLOAD_DETAILS,{})},[n]),g=function(){clearTimeout(l.current),l.current=null},x=(0,o.useCallback)(function(e){l.current=setTimeout(function(){l.current=null,t()},e)},[t]),w=(0,_.A)(p);if((0,o.useEffect)(function(){"started"===p&&!w&&!c&&f.every(function(e){return!e.upload.insertPosition.kitId&&!e.upload.insertPosition.portalId&&!e.upload.insertPosition.productId})&&b()},[w,b,p,c,f]),(0,o.useEffect)(function(){if(c||"success"!==p){l.current&&g();return}return l.current||x(d?2e3:8e3),g},[x,p,c,d]),(0,o.useEffect)(function(){if(0!==m.length){var e=function(e){return e.preventDefault(),e.returnValue="",!0};return window.addEventListener("beforeunload",e),function(){return window.removeEventListener("beforeunload",e)}}},[m.length]),0===f.length)return null;var P=function(e,n,o){return(0,r.jsx)(T,{hide:a,children:(0,r.jsxs)(M,{children:[e,(0,r.jsx)(u.EY,{px:"s",font:"ui.small",flex:"1",children:n}
1),(0,r.jsx)(u.$n,{buttonStyle:"tertiary",size:"small",onClick:b,text:"View details"}),o&&(0,r.jsx)(u.$n,{buttonStyle:"tertiary",size:"small",onClick:t,icon:"close",my:"-xs",ml:"m"})]})})},y=f.length>0&&f.every(function(e){return e.upload.type===C.PW.color}),I=y?"color":"file",k=y?"added":"uploaded";switch(p){case"started":return P((0,r.jsx)(u.$$,{indeterminate:!1,progress:h,size:"extraSmall"}),(0,r.jsxs)(o.Fragment,{children:[y?"Adding":"Uploading"," ",f.length," ",(0,E.A)(I,f.length),(0,r.jsxs)(u.EY,{font:"ui.small",color:"grayDarker",as:"span",children:[" ","- ",m.length," ",(0,E.A)(I,m.length)," left"]},"0")]}),!1);case"failed":var j=f.length-v.length;return P((0,r.jsx)(Y,{}),"".concat(j," ").concat((0,E.A)(I,j)," ").concat(k,". ").concat(v.length," failed to ").concat(y?"add":"upload","."),!0);case"success":return P((0,r.jsx)(L,{}),"".concat(f.length," ").concat((0,E.A)(I,f.length)," ").concat(k),!0);default:return null}};var H=(0,i.default)(s.a).attrs({bottom:0,left:0,right:0,top:0,position:"absolute",zIndex:"25000",overflow:"hidden"}).withConfig({componentId:"sc-e0bde250-0"})(["pointer-events:none;> *{pointer-events:auto;}"]);function O(){return(0,r.jsxs)(H,{children:[(0,r.jsx)(j,{}),(0,r.jsx)(q,{})]})}},89559:(e,n,t)=>{"use strict";t.d(n,{ShowIntercom:()=>i,Y:()=>o});var r=t(7620),o=function(){var e,n,t,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=o.launchChat,s=o.message;if(!window.Intercom)return void console.warn("Intercom is not loaded");null==(e=window)||e.Intercom("update",{hide_default_launcher:!1}),(void 0===i||i||s)&&(null==(n=window)||n.Intercom("show"),s&&(null==(r=window)||r.Intercom("showNewMessage",s)),null==(t=window)||t.Intercom("onHide",function(){var e;return null==(e=window)?void 0:e.Intercom("update",{hide_default_launcher:!0})}))},i=function(){var e=!!window.Intercom;return(0,r.useEffect)(function(){var e=setTimeout(function(){o({launchChat:!1})},2e3);return function(){return clearTimeout(e)}},[e]),null}}},e=>{e.O(0,[6855,1194,7598,3249,6736,6654,4288,7716,9966,7609,2556,1546,5958,1685,3169,1790,6331,889,941,5401,9100,326,3183,9990,2678,2972,1661,8187,8936,6613,3142,6900,4533,5947,1853,5943,7064,9482,587,735,6698,7358],()=>e(e.s=6526)),_N_E=e.O()}]); 2//# sourceMappingURL=layout-4a67e5a8f0a5c784.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.