"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["environment"],{15947:(e,t,r)=>{var o=r(65809),i=r(71207);i.iG?.addEventListener("error",e=>{e.error&&o.eK(e.error)}),i.iG?.addEventListener("unhandledrejection",async e=>{if(e.promise)try{await e.promise}catch(e){o.eK(e)}}),i.iG?.location.hash==="#b00m"&&setTimeout(()=>{throw Error("b00m")}),r(30523),r(13604);var n=r(47940),a=r(50655);let s="default";n.ZO.createPolicy(s,{createHTML:e=>a.O.apply({policy:()=>e,policyName:s,fallback:e,sanitize:!0,fallbackOnError:!0}),createScript:e=>a.O.apply({policy:()=>e,policyName:s,fallback:e,sanitize:!1,fallbackOnError:!0}),createScriptURL:e=>a.O.apply({policy:()=>e,policyName:s,fallback:e,sanitize:!1,fallbackOnError:!0})});var c=r(18515);(0,r(21630).nn)(),"undefined"!=typeof document&&(()=>{if((0,c.c)("remove_child_patch")&&"function"==typeof Node&&Node.prototype){let e=Node.prototype.removeChild;Node.prototype.removeChild=function(t){try{return e.apply(this,[t])}catch(e){if(e instanceof Error&&e.stack?.includes("react-lib"))return t;throw e}}}})()},79697:(e,t,r)=>{let o;r.d(t,{YT:()=>p,qP:()=>y,yM:()=>_});var i=r(88149),n=r(86058),a=r(56363),s=r(43786);let{getItem:c}=(0,a.Z)("localStorage"),l="dimension_",d=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","scid"];try{let e=(0,i.n)("octolytics");delete e.baseContext,o=new n.R(e)}catch(e){}function u(e){let t=(0,i.n)("octolytics").baseContext||{};if(t)for(let[e,r]of(delete t.app_id,delete t.event_url,delete t.host,Object.entries(t)))e.startsWith(l)&&(t[e.replace(l,"")]=r,delete t[e]);let r=document.querySelector("meta[name=visitor-payload]");if(r){let e=JSON.parse(atob(r.content));Object.assign(t,e)}let o=new URLSearchParams(window.location.search);for(let[e,r]of o)d.includes(e.toLowerCase())&&(t[e]=r);return t.staff=(0,s.B)().toString(),Object.assign(t,e)}function p(e){o?.sendPageView(u(e))}function y(e,t={}){let r=document.head?.querySelector('meta[name="current-catalog-service"]')?.content,i=r?{service:r}:{};for(let[e,r]of Object.entries(t))null!=r&&(i[e]=`${r}`);if(o){let t=e||"unknown";u(i),o.sendEvent(t,u(i))}}function _(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,JSON.stringify(t)]))}},50655:(e,t,r)=>{r.d(t,{O:()=>l,d:()=>TrustedTypesPolicyError});var o=r(18515),i=r(43786),n=r(65809),a=r(27856),s=r.n(a),c=r(79697);let TrustedTypesPolicyError=class TrustedTypesPolicyError extends Error{};let l={apply:function({policy:e,policyName:t,fallback:r,fallbackOnError:a=!1,sanitize:l,silenceErrorReporting:d=!1}){try{if((0,o.c)("BYPASS_TRUSTED_TYPES_POLICY_RULES"))return r;(0,i.b)({incrementKey:"TRUSTED_TYPES_POLICY_CALLED",trustedTypesPolicyName:t},!1,.1);let n=e();return l&&new Promise(e=>{let r=window.performance.now(),o=s().sanitize(n,{FORBID_ATTR:[]}),i=window.performance.now();if(n.length!==o.length){let a=Error("Trusted Types policy output sanitized"),s=a.stack?.slice(0,1e3),l=n.slice(0,250);(0,c.qP)("trusted_types_policy.sanitize",{policyName:t,output:l,stack:s,outputLength:n.length,sanitizedLength:o.length,executionTime:i-r}),e(n)}}),n}catch(e){if(e instanceof TrustedTypesPolicyError||(d||(0,n.eK)(e),(0,i.b)({incrementKey:"TRUSTED_TYPES_POLICY_ERROR",trustedTypesPolicyName:t}),!a))throw e}return r}}},47940:(e,t,r)=>{r.d(t,{ZO:()=>d});var o,i=r(71207),n=r(43786);function a(e){return()=>{throw TypeError(`The policy does not implement the function ${e}`)}}let s={createHTML:a("createHTML"),createScript:a("createScript"),createScriptURL:a("createScriptURL")},c=(o=globalThis).__TRUSTED_TYPE_POLICIES__??(o.__TRUSTED_TYPE_POLICIES__=new Map),l=globalThis.trustedTypes??{createPolicy:(e,t)=>({name:e,...s,...t})},d={createPolicy:(e,t)=>{if(c.has(e))return(0,n.b)({incrementKey:"TRUSTED_TYPES_POLICY_INITIALIZED_TWICE"}),c.get(e);{let r=Object.freeze(l.createPolicy(e,t));return c.set(e,r),r}}},u=!1;i.n4?.addEventListener("securitypolicyviolation",e=>{"require-trusted-types-for"!==e.violatedDirective||u||(console.warn(`Hi fellow Hubber! You're probably seeing a Report Only Trusted Types error near this message. This is intended behaviour, staff-only, does not impact application control flow, and is used solely for statistic collection. Unfortunately we can't gather these statistics without adding the above warnings to your console. Sorry about that! Feel free to drop by #pse-architecture if you have any additional questions about Trusted Types or CSP.`),u=!0)})}},e=>{var t=t=>e(e.s=t);e.O(0,["vendors-node_modules_dompurify_dist_purify_js","vendors-node_modules_oddbird_popover-polyfill_dist_popover_js","vendors-node_modules_smoothscroll-polyfill_dist_smoothscroll_js-node_modules_stacktrace-parse-a448e4","ui_packages_failbot_failbot_ts"],()=>t(15947)),e.O()}]); //# sourceMappingURL=environment-5a51530ae034.js.map