1(()=>{var e,t,n,s={189182:(e,t,n)=>{"use strict";const s=n(970610),r=n(444020),i=n(480500),a=n(92806),o=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function d(e,t){return t.encode?t.strict?s(e):encodeURIComponent(e):e}function l(e,t){return t.decode?r(e):e}function m(e){return Array.isArray(e)?e.sort():"object"==typeof e?m(Object.keys(e)).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]):e}function f(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function u(e){const t=(e=f(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function p(e,t){c((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,s)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===s[e]&&(s[e]={}),s[e][t[1]]=n):s[e]=n};case"bracket":return(e,n,s)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==s[e]?s[e]=[].concat(s[e],n):s[e]=[n]:s[e]=n};case"colon-list-separator":return(e,n,s)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==s[e]?s[e]=[].concat(s[e],n):s[e]=[n]:s[e]=n};case"comma":case"separator":return(t,n,s)=>{const r="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!r&&l(n,e).includes(e.arrayFormatSeparator);n=i?l(n,e):n;const a=r||i?n.split(e.arrayFormatSeparator).map(t=>l(t,e)):null===n?n:l(n,e);s[t]=a};case"bracket-separator":return(t,n,s)=>{const r=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!r)return void(s[t]=n?l(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map(t=>l(t,e));void 0!==s[t]?s[t]=[].concat(s[t],i):s[t]=i};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),s=Object.create(null);if("string"!=typeof e)return s;if(!(e=e.trim().replace(/^[?#&]/,"")))return s;for(const r of e.split("&")){if(""===r)continue;let[e,a]=i(t.decode?r.replace(/\+/g," "):r,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:l(a,t),n(l(e,t),a,s)}for(const e of Object.keys(s)){const n=s[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else s[e]=h(n,t)}return!1===t.sort?s:(!0===t.sort?Object.keys(s).sort():Object.keys(s).sort(t.sort)).reduce((e,t)=>{const n=s[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=m(n):e[t]=n,e},Object.create(null))}t.extract=u,t.parse=p,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],s=function(e){switch(e.arrayFormat){case"index":return t=>(n,s)=>{const r=n.length;return void 0===s||e.skipNull&&null===s||e.skipEmptyString&&""===s?n:null===s?[...n,[d(t,e),"[",r,"]"].join("")]:[...n,[d(t,e),"[",d(r,e),"]=",d(s,e)].join("")]};case"bracket":return t=>(n,s)=>void 0===s||e.skipNull&&null===s||e.skipEmptyString&&""===s?n:null===s?[...n,[d(t,e),"[]"].join("")]:[...n,[d(t,e),"[]=",d(s,e)].join("")];case"colon-list-separator":return t=>(n,s)=>void 0===s||e.skipNull&&null===s||e.skipEmptyString&&""===s?n:null===s?[...n,[d(t,e),":list="].join("")]:[...n,[d(t,e),":list=",d(s,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(s,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?s:(r=null===r?"":r,0===s.length?[[d(n,e),t,d(r,e)].join("")]:[[s,d(r,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,s)=>void 0===s||e.skipNull&&null===s||e.skipEmptyString&&""===s?n:null===s?[...n,d(t,e)]:[...n,[d(t,e),"=",d(s,e)].join("")]}}(t),r={};for(const t of Object.keys(e))n(t)||(r[t]=e[t]);const i=Object.keys(r);return!1!==t.sort&&i.sort(t.sort),i.map(n=>{const r=e[n];return void 0===r?"":null===r?d(n,t):Array.isArray(r)?0===r.length&&"bracket-separator"===t.arrayFormat?d(n,t)+"[]":r.reduce(s(n),[]).join("&"):d(n,t)+"="+d(r,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>
1{t=Object.assign({decode:!0},t);const[n,s]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:p(u(e),t)},t&&t.parseFragmentIdentifier&&s?{fragmentIdentifier:l(s,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[o]:!0},n);const s=f(e.url).split("?")[0]||"",r=t.extract(e.url),i=t.parse(r,{sort:!1}),a=Object.assign(i,e.query);let c=t.stringify(a,n);c&&(c=`?${c}`);let l=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(l=`#${n[o]?d(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${s}${c}${l}`},t.pick=(e,n,s)=>{s=Object.assign({parseFragmentIdentifier:!0,[o]:!1},s);const{url:r,query:i,fragmentIdentifier:c}=t.parseUrl(e,s);return t.stringifyUrl({url:r,query:a(i,n),fragmentIdentifier:c},s)},t.exclude=(e,n,s)=>{const r=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,r,s)}},444020:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),s=new RegExp("("+t+")+","gi");function r(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),s=e.slice(t);return Array.prototype.concat.call([],r(n),r(s))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n)||[],s=1;s<t.length;s++)t=(e=r(t,s).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=s.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var r=i(n[0]);r!==n[0]&&(t[n[0]]=r)}n=s.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),o=0;o<a.length;o++){var c=a[o];e=e.replace(new RegExp(c,"g"),t[c])}return e}(e)}}},92806:e=>{"use strict";e.exports=function(e,t){for(var n={},s=Object.keys(e),r=Array.isArray(t),i=0;i<s.length;i++){var a=s[i],o=e[a];(r?-1!==t.indexOf(a):t(a,o,e))&&(n[a]=o)}return n}},435202:function(){!function(){"use strict";function e(e){var t=!0,n=!1,s=null,r={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function i(e){return!!(e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList)}function a(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!r[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}function o(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function c(e){e.hasAttribute("data-focus-visible-added")&&(e.classList.remove("focus-visible"),e.removeAttribute("data-focus-visible-added"))}function d(n){n.metaKey||n.altKey||n.ctrlKey||(i(e.activeElement)&&o(e.activeElement),t=!0)}function l(e){t=!1}function m(e){i(e.target)&&(t||a(e.target))&&o(e.target)}function f(e){i(e.target)&&(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(s),s=window.setTimeout(function(){n=!1},100),c(e.target))}function u(e){"hidden"===document.visibilityState&&(n&&(t=!0),h())}function h(){document.addEventListener("mousemove",w),document.addEventListener("mousedown",w),document.addEventListener("mouseup",w),document.addEventListener("pointermove",w),document.addEventListener("pointerdown",w),document.addEventListener("pointerup",w),document.addEventListener("touchmove",w),document.addEventListener("touchstart",w),document.addEventListener("touchend",w)}function p(){document.removeEventListener("mousemove",w),document.removeEventListener("mousedown",w),document.removeEventListener("mouseup",w),document.removeEventListener("pointermove",w),document.removeEventListener("pointerdown",w),document.removeEventListener("pointerup",w),document.removeEventListener("touchmove",w),document.removeEventListener("touchstart",w),document.removeEventListener("touchend",w)}function w(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=!1,p())}document.addEventListener("keydown",d,!0),document.addEventListener("mousedown",l,!0),document.addEventListener("pointerdown",l,!0),document.addEventListener("touchstart",l,!0),document.addEventListener("visibilitychange",u,!0),h(),e.addEventListener("focus",m,!0),e.addEventListener("blur",f,!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var t;window.applyFocusVisiblePolyfill=e;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}"undefined"!=typeof document&&e(document)}()},480500:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},970610:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},448007:()=>{"function"!=typeof window.BigBrain&&(window.BigBrainQ=[],window.BigBrain=function(e,t,n){window.BigBrainQ.push(function(e,t,n){const s=Math.trunc(Date.now()/1e3);return"track"===e?((n=n||{}).timestamp=s,n.data=n.data||{},n.data.isQueue=!0,[e,t,n]):"track_many"===e&&t&&t.length?(t.forEach(e
1=>{e&&e[1]&&(e[1].timestamp=s)}),[e,t]):[e,t,n]}(e,t,n))},window.BigBrain.isQueue=!0)},437529:(e,t,n)=>{"use strict";n.r(t);var s=n(551613);window.mondayHelpers.b2fEnhance=s.R9,window.mondayHelpers.b2fSet=s.rY},15885:(e,t,n)=>{"use strict";n.r(t);var s=n(716251);window.routerReadyPromise=(0,s.PQ)()},544248:(e,t,n)=>{"use strict";n.r(t);const s={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let r;const i=new Uint8Array(16);function a(){if(!r&&(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function c(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}const d=function(e,t,n){if(s.randomUUID&&!t&&!e)return s.randomUUID();const r=(e=e||{}).random||(e.rng||a)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return c(r)};var l=(e=>(e[e.js=0]="js",e[e.css=1]="css",e))(l||{}),m=(e=>(e.development="development",e.staging="staging",e.production="production",e))(m||{}),f=(e=>(e.SkeletonCreated="skeleton_created",e.GetAllMfsStart="get_all_mfs_start",e.GetAllMfsSuccess="get_all_mfs_success",e.GetAllMfsError="get_all_mfs_error",e.InitMF="init_mf",e.MFLoadStart="mf_load_start",e.PrefetchMF="prefetch_mf",e.PrepareMfStart="skeleton_prepare_mf_start",e.PrepareMfSuccess="skeleton_prepare_mf_success",e.PrepareMfError="skeleton_prepare_mf_error",e.FetchMfAssetsStart="fetch_mf_assets_start",e.FetchMfAssetsSuccess="fetch_mf_assets_success",e.FetchMfAssetsError="fetch_mf_assets_error",e.FetchMfAssetsFallbackSuccess="fetch_mf_assets_fallback_success",e.FetchMfAssetsFallbackError="fetch_mf_assets_fallback_error",e.MFNotInList="mf_not_in_list",e.UseLocalMetaData="use_local_meta_data",e.StartFetchingMetaData="start_fetching_meta_data",e.SuccessFetchingMetaData="success_fetching_meta_data",e.ErrorFetchingMetaData="error_fetching_meta_data",e.StartFetchingManifest="start_fetching_manifest",e.SuccessFetchingManifest="success_fetching_manifest",e.ErrorFetchingManifest="error_fetching_manifest",e.SharedDependenciesLoadStart="shared_dependencies_load_start",e.SharedDependenciesLoadEnd="shared_dependencies_load_end",e.StartLoadingJsAssets="start_loading_js_assets",e.SuccessLoadingJsAssets="success_loading_js_assets",e.SuccessLoadingJSAsset="success_loading_js_asset",e.ErrorLoadingJSAsset="error_loading_js_assets",e.SuccessLoadingCSSAsset="success_loading_css_asset",e.ErrorLoadingCSSAsset="error_loading_asset_css",e.ErrorMissingAssetsDir="error_missing_assets_dir",e.MfContainerStart="mf_container_start",e.MfUserSsrStart="mf_user_ssr_start",e.MfUserSsrSuccess="mf_user_ssr_success",e.MfUserSsrError="mf_user_ssr_error",e.StartPreFetchMF="start_prefetch_mf",e.ErrorPreFetchMF="error_prefetch_mf",e.MfUserInitStart="mf_user_init_start",e.MfUserInitSuccess="mf_user_init_success",e.MfUserInitError="mf_user_init_error",e.MfUserRenderStart="mf_user_render_start",e.MfUserRenderSuccess="mf_user_render_success",e.MfUserRenderError="mf_user_render_error",e.MfUserRenderComplete="mf_user_render_complete",e.MfUserUpdateInitialDataError="mf_user_update_initial_data_error",e.MfUserUnmount="mf_user_unmount",e.MfUserUnmountError="mf_user_unmount_error",e.MFLoadDone="mf_load_done",e))(f||{});const u="version",h="is_ssr",p={name:"init",spans:{getAllMfs:"getAllMfs",fetchingMetaData:"fetchingMetaData",fetchingManifest:"fetchingManifest",loadExternals:"loadExternals",loadJsAssets:"loadJsAssets",userInit:"userInit"}},w={name:"render"},g={name:"csr",spans:{beforeInit:"beforeInit_csr",init:"init_csr",render:"render_csr",renderTimeToInteractive:"renderTimeToInteractive_csr"}},_={name:"ssr",spans:{beforeInit:"beforeInit_ssr",fetchAndAppendHtml:"fetchAndAppendHtml_ssr",init:"init_ssr",render:"render_ssr",renderTimeToInteractive:"renderTimeToInteractive_ssr"}},y={mfFcp:"mf-fcp",mfLcp:"mf-lcp"};class S{constructor(e,t){this.transactionsByMf={},this.createTransaction=e,this.preloadedMFs=t}getTransactionByMf(e,t){const n=this.transactionsByMf[e];return n?n[t]:null}startTransaction(e,t,n={}){var s;const r=this.createTransaction(t,e,n);(s=this.transactionsByMf)[e]||(s[e]={}),this.transactionsByMf[e][t]=r}finishTransaction(e,t){const n=this.getTransactionByMf(e,t);n&&("end"in n?n.end():"finish"in n&&n.finish())}startSpan(e,t,n){const s=this.getTransactionByMf(e,t);s&&("startSpanManual"in s?this.transactionsByMf[e][n]=s.startSpanManual({name:n,forceTransaction:!0,op:n},e=>
1e):"startChild"in s&&(this.transactionsByMf[e][n]=s.startChild({op:n,description:n})))}finishSpan(e,t){if(!e||!t)return;const n=this.getTransactionByMf(e,t);n&&("end"in n?n.end():"finish"in n&&n.finish())}getSsrTransactionName(e){return e?_.name:g.name}startWebVitalTransaction(e,t,n){const s=`${t}_${n?"ssr":"csr"}`,r={webVital:t,isSsr:n,mfSpecific:!0};this.startTransaction(e,s,r)}finishWebVitalTransaction(e,t,n){const s=`${t}_${n?"ssr":"csr"}`;this.finishTransaction(e,s)}track(e,t={}){const{mfName:n,version:s}=t;try{switch(e){case f.MfContainerStart:{const e=this.getSsrTransactionName(t.isSsr);this.startTransaction(n,e,{[u]:s,[h]:t.isSsr}),this.startWebVitalTransaction(n,y.mfFcp,t.isSsr),this.startWebVitalTransaction(n,y.mfLcp,t.isSsr);const r=t.isSsr?_.spans.beforeInit:g.spans.beforeInit;this.startSpan(n,e,r);break}case f.MfUserSsrStart:this.finishSpan(n,_.spans.beforeInit),this.startSpan(n,_.name,_.spans.fetchAndAppendHtml);break;case f.MfUserSsrSuccess:this.finishWebVitalTransaction(n,y.mfFcp,!0),this.finishSpan(n,_.spans.fetchAndAppendHtml);break;case f.MFLoadStart:{this.startTransaction(n,p.name,{[u]:s}),t.isSsr||this.finishSpan(n,g.spans.beforeInit);const e=t.isSsr?_.spans.init:g.spans.init;this.startSpan(n,this.getSsrTransactionName(t.isSsr),e);break}case f.MFLoadDone:{this.finishTransaction(n,p.name);const e=t.isSsr?_.spans.init:g.spans.init;this.finishSpan(n,e);break}case f.StartFetchingMetaData:this.startSpan(n,p.name,p.spans.fetchingMetaData);break;case f.SuccessFetchingMetaData:this.finishSpan(n,p.spans.fetchingMetaData);break;case f.StartFetchingManifest:this.startSpan(n,p.name,p.spans.fetchingManifest);break;case f.SuccessFetchingManifest:this.finishSpan(n,p.spans.fetchingManifest);break;case f.SharedDependenciesLoadStart:this.startSpan(n,p.name,p.spans.loadExternals);break;case f.SharedDependenciesLoadEnd:this.finishSpan(n,p.spans.loadExternals);break;case f.StartLoadingJsAssets:this.startSpan(n,p.name,p.spans.loadJsAssets);break;case f.SuccessLoadingJsAssets:this.finishSpan(n,p.spans.loadJsAssets);break;case f.MfUserInitStart:this.preloadedMFs.has(n)&&this.startTransaction(n,p.name,{[u]:s}),this.startSpan(n,p.name,p.spans.userInit);break;case f.MfUserInitSuccess:this.finishSpan(n,p.spans.userInit),this.preloadedMFs.has(n)&&this.finishTransaction(n,p.name);break;case f.MfUserRenderStart:{const e=t.isSsr?_.spans.render:g.spans.render,s=t.isSsr?_.spans.renderTimeToInteractive:g.spans.renderTimeToInteractive;this.startSpan(n,this.getSsrTransactionName(t.isSsr),e),this.startSpan(n,this.getSsrTransactionName(t.isSsr),s),this.startTransaction(n,w.name);const r=new MutationObserver(s=>{for(const i of s)if("childList"===i.type){this.finishTransaction(n,w.name),this.finishSpan(n,e),t.isSsr||this.finishWebVitalTransaction(n,y.mfFcp,!1),r.disconnect();break}});r.observe(t.element,{childList:!0});break}case f.MfUserRenderComplete:{this.finishWebVitalTransaction(n,y.mfLcp,t.isSsr);const e=t.isSsr?_.spans.renderTimeToInteractive:g.spans.renderTimeToInteractive;this.finishSpan(n,e),this.finishTransaction(n,this.getSsrTransactionName(t.isSsr));break}}}catch(n){console.error(`Failed creating sentry transactions. event: ${e}. data:${JSON.stringify(t)}`)}}}class E{constructor({host:e,api:t,preloadedMFs:n}){this.uuid=d(),this.host=e,this.api=t,this.host.environment===m.production&&this.api?.loggerService?.startTransaction?this.transactionsManager=new S(this.api.loggerService.startTransaction,n):this.transactionsManager=null}track(e,t={}){this.transactionsManager&&this.transactionsManager.track(e,t),this.bigbrainSample(e,t).catch(e=>{console.error("Error while trying to send BigBrain sample event:",e)})}cleanBigbrainData(e){const{error:t}=e;return{...e,error:t?t.message:void 0,element:void 0}}async bigbrainSample(e,t){if("undefined"!=typeof window&&Math.random()<.005){if(!this.bigbrain){const{bigBrain:e}=await n.e(53321).then(n.bind(n,953321));this.bigbrain=e(this.host.environment,this.host.name)}const s={kind:e,data:{uuid:this.uuid,time:Date.now(),...this.cleanBigbrainData(t)}};this.bigbrain.track("trident-metrics",s)}}}var M=n(189182);function v(e,t,n){const{methodsConfig:s,attempts:r,delayMs:i,onRetry:a,onSuccessfulRetry:o,onAllAttemptsFailed:c}=t,d=i??1e3;return new Promise((t,i)=>{let l=1;const m=()=>{const f="string"==typeof e?e:e.url;let u;const h=function(e){return"string"!=typeof e?e?.clone():e}(e),p=function(e,t){return t?.method?t.method:"string"==typeof e?"GET":e.method}
1(e,n);fetch(h,n).then(e=>{if(u=e.status,e.ok)1!==l&&o?.({attempt:l,attempts:r,delayMs:d,status:u,url:f});else if(function(e,t,n){if(!e||0===Object.keys(e).length)return!0;const s=e[n];return s?.includes(t)}(s,u,p))throw new Error(`Attempt ${l} - Fetch failed with status ${u}`);t(e)}).catch(e=>{l<r?(a?.({attempt:l,attempts:r,delayMs:d,status:u,url:f}),l++,setTimeout(m,d)):(c?.({attempt:l,attempts:r,delayMs:d,status:u,url:f}),i(e))})};m()})}const b=new class{constructor(){this.pendingPromises=new Map,this.serviceVersion=1}getPendingPromisesMap(){return"undefined"!=typeof window?(window.fetchOnePromiseServiceMap||(window.fetchOnePromiseServiceMap=this.pendingPromises),window.fetchOnePromiseServiceMap):this.pendingPromises}getVersion(){return this.serviceVersion}getPendingId(e){return"string"==typeof e?`GET.${e}`:`${e.method?.toUpperCase()||"GET"}.${e.url}`}clearPromise(e,t){const n=this.getPendingId(e);this.getPendingPromisesMap().get(n)?.promise===t&&this.getPendingPromisesMap().delete(n)}setPendingPromise(e,t){const n={promise:t};return this.getPendingPromisesMap().set(this.getPendingId(e),n),n}clearPromiseAfterComplete(e,t,n){const s=()=>{n?setTimeout(()=>{this.clearPromise(e,t)},n):this.clearPromise(e,t)};t.then(s).catch(s)}getPendingPromise(e){if(this.getPendingPromisesMap().get(this.getPendingId(e)))return async function(t,n){const s=n(e);return(await t.get(s).promise).clone()}(this.pendingPromises,this.getPendingId)}fetchWithOnePromise(e,t={}){const{log:n,graceTimeMs:s,retry:r,cache:i}=t,a=this.getPendingPromise(e);if(a)return this.getPendingPromisesMap().get(this.getPendingId(e)).moreThanOne=!0,n?.trace("existing fetchPromise for",e),a;const o=function(e,t){return{onRetry:e?.onRetry||(({attempt:e,attempts:n,delayMs:s})=>t?.trace(`Fetch attempt ${e} (out of ${n}) failed for`,"retrying in",s,"ms")),onSuccessfulRetry:e?.onSuccessfulRetry||(({attempt:e,attempts:n})=>t?.trace(`Fetch attempt ${e} (out of ${n}) succeeded`)),onAllAttemptsFailed:e?.onAllAttemptsFailed||(({attempt:e,attempts:n,delayMs:s,status:r})=>t?.trace("All fetch attempts failed",{attempt:e,attempts:n,delayMs:s,status:r})),attempts:3,...e}}(r,n),c=i?{cache:i}:void 0,d=r?v(e,o,c):fetch(e,c);n?.trace("just created fetchPromise for",e);const l=this.setPendingPromise(e,d);return s&&(l.moreThanOne=!0),this.clearPromiseAfterComplete(e,d,s),d.then(t=>{l.moreThanOne&&(n?.trace("cloning due to moreThanOne for",e,s),function(e){const t=e.json;e.json=async function(){const n=e.clone();return t.call(n)}}(t))}),d}};function T(){return"undefined"!=typeof window?(e=b,window.fetchOnePromiseService?window.fetchOnePromiseService.getVersion()<e.getVersion()&&(window.fetchOnePromiseService=e):window.fetchOnePromiseService=e,window.fetchOnePromiseService):b;var e}async function D(e,t){return(await fetch(e,t)).json()}const I="/microfrontends/mf_assets";function A(){}function P(e){return e.endsWith("/")?e.slice(0,-1):e}async function F({testOverridesQueryParams:e,prodOverridesQueryParams:t,mfUrl:n,emitSkeletonEvent:s=A}){if(s(f.FetchMfAssetsStart),window.microfrontends?.mfAssets)return window.microfrontends.mfAssets;const r=function({testOverridesQueryParams:e,prodOverridesQueryParams:t}){if(t)return"?"+M.stringify({"prod_overrides[]":t});if(e)return"?"+M.stringify({"test_overrides[]":e});return""}({testOverridesQueryParams:e,prodOverridesQueryParams:t});try{const i=`${n}/mf-assets${r}`,a=await async function(e,t){return await T().fetchWithOnePromise(e,t)}(i,{graceTimeMs:5e3,cache:"reload"}),o=await a.json();return o.cdnAge=a.headers?.get("age"),o.fromBrowserCache=function(e){try{const t=(performance.getEntriesByType?.("resource")||[]).find(t=>t.name===e);return!!t&&("deliveryType"in t?"cache"===t.deliveryType:0===t.transferSize)}catch(e){return void console.error("Error checking if response is from cache",e)}}(i),window.microfrontends||(window.microfrontends={}),window.microfrontends.mfAssets=function({mfAssets:e,testOverridesQueryParams:t,prodOverridesQueryParams:n}){const s=function({testOverridesQueryParams:e,prodOverridesQueryParams:t}){const n=L(e),s=L(t);return[...n,...s].reduce((e,t)=>
1(e[t.mfName]=t,e),{})}({testOverridesQueryParams:t,prodOverridesQueryParams:n});return Object.keys(s).forEach(t=>{delete e.assets[t]?.canary}),e}({mfAssets:o,testOverridesQueryParams:e,prodOverridesQueryParams:t}),s(f.FetchMfAssetsSuccess),o}catch(t){if(console.error("Fetch mf-assets failed",t),s(f.FetchMfAssetsError,{error:t}),!e)return await async function(e){try{const t=await D(I);return e(f.FetchMfAssetsFallbackSuccess),t}catch(t){throw e(f.FetchMfAssetsFallbackError,{error:t}),new Error("Failed to fetch mf-assets")}}(s);throw new Error("Failed to fetch mf-assets")}}function N(e){if(!e||["null","null~undefined"].includes(e))return;const[t,n,s]=e.split("~");return{mfName:t,version:n,testEnvOverride:s}}function L(e){if(!e)return[];return(Array.isArray(e)?e:[e]).map(N).filter(e=>void 0!==e)}function k({mfName:e,version:t,testEnvOverride:n}){return`${`${e}~${t}`}${(n?`~${n}`:"").toLowerCase()}`}function O(e){if(0===e.length)return;const t=e.map(k);return 1===t.length?t[0]:t}const C="mf-localstorage-dev";function U(){return function(){try{const e=window.localStorage?.getItem(C)||"[]";return JSON.parse(e)}catch(e){return console.error("Error getting local MFs",e),[]}}().reduce((e,t)=>(e[t.name]=e[t.name]||{},e[t.name].endpoint=t.endpoint,e[t.name].version=t.version,e[t.name].active=t.active,e),{})}function R(e){return U()[e]?.active||!1}const j="data-mf-name";function x({mfName:e,src:t,onEvent:n=A,assetType:s=l.js,appendScript:r,type:i}){const a=document.createElement("link");a.href=t,a.rel=s===l.js&&"module"===i?"modulepreload":"preload",a.as=s===l.js?"script":"style",a.setAttribute(j,e);const o=new Promise(e=>{a.onload=e});return a.onerror=()=>{n(s===l.js?f.ErrorLoadingJSAsset:f.ErrorLoadingCSSAsset,{mfName:e,src:t,mfResource:t})},r?r(a):document.body.appendChild(a),o}const B="mfs-canary";const V=new class{constructor({isMondayUser:e}){this.isMondayUser=e}isInCanary(e,t){try{if(!t||!localStorage)return!1;if(this.isMondayUser)return!0;const n=this.getCanaryPercentage(t);return n>=this.getAndSetUserCanaryExperimentalGroup(e,t.version)}catch(e){return console.error(e),!1}}getCanaryPercentage(e){const{startTimestamp:t,endTimestamp:n}=e,s=new Date(n).valueOf()-new Date(t).valueOf(),r=(new Date).valueOf()-new Date(t).valueOf(),i=Math.round(r/s*100);return(a=i)>100?100:a<0?0:a;var a}getAndSetUserCanaryExperimentalGroup(e,t){const n=(e=>{try{const t=localStorage.getItem(e);return t?JSON.parse(t):null}catch(e){return null}})(B)||{};let s=n[e]?.[t];return s||(s=Math.round(100*Math.random()),n[e]={[t]:s},r=B,i=n,localStorage&&localStorage.setItem(r,JSON.stringify(i)),s);var r,i}}({isMondayUser:!1});function $(e,t){return{canary:t.canary&&V.isInCanary(e,t.canary),nonExternals:H(e)&&!!t.nonExternalsEntrypoints}}function H(e){const t=(n={key:"MF_EXTERNALS_FALLBACK",defaultValue:"none"},window?.Pulse?.Globals?.system_variables?.[n.key]||n.defaultValue);var n;return"none"!==t&&("all"===t||t[e])}var W=(e=>(e[e.preFetchOnly=0]="preFetchOnly",e[e.skipPreFetch=1]="skipPreFetch",e[e.withPreFetch=2]="withPreFetch",e))(W||{});class z{constructor({emitSkeletonEvent:e,sharedDependencies:t,initMF:n}){this.emitSkeletonEvent=e,this.sharedDependencies=t,this.initMF=n}async loadMfAssets({mfName:e,manifest:t,assetsDir:n,mode:s=2,appendScript:r}){const i=this.getSharedDependenciesBuckets({mfName:e,manifest:t}),a=function(e,t){const{canary:n,nonExternals:s}=$(e,t);return s?t.nonExternalsEntrypoints:n?t.canary.entrypoints:t.entrypoints}(e,t).map(e=>`${n}/${e}`);return this.loadAssets({mfName:e,mode:s,sharedDependenciesBuckets:i,mfAssets:a,appendScript:r,mfs:t.mfs,scriptType:t.scriptType??null})}async loadMfs(e){return this.initMF?Promise.all(e.map(e=>this.initMF(e))):Promise.resolve()}async loadAssets({mfName:e,mfAssets:t,sharedDependenciesBuckets:n,mode:s=2,appendScript:r,mfs:i=[],scriptType:a}){if(1!==s){const s=n.flat().filter(e=>!this.sharedDependencies.getDependencyLoadPromise(e.globalName));this.preload({mfAssets:t,sharedDependenciesBuckets:[s],mfName:e,appendScript:r,scriptType:a})}if(0===s)return{assetsLoadTime:0};await this.loadMfs(i),await this.loadSharedDependencies({mfName:e,sharedDependenciesBuckets:n});return{assetsLoadTime:await this.loadManifestAssets({mfAssets:t,mfName:e,appendScript:r,scriptType:a})}}
1fillLocalSharedDeps(e,t){e.shared?.forEach(e=>{"url"in e&&e.globalName&&this.sharedDependencies.addKnownDependencies([{globalName:e.globalName,url:`${t}/${e.url}`}])})}getSharedDependenciesBuckets({mfName:e,manifest:t}){if(!t)return[];const{sameAsHost:n}=t,s=function(e,t){const{canary:n,nonExternals:s}=$(e,t);return s?[]:n?t.canary.shared:t.shared}(e,t);if(!s?.length)return[];if(!0===n)return[];const r=[];return s.forEach(({globalName:e,dependencies:t})=>{if(!e)throw new Error('Attempted to load a shared dependency with missing globalName". This most likely means that the MF has an old Trident version which is no longer supported');const n=this.sharedDependencies.getUrl(e),s=Object.keys(t).length;r[s]||(r[s]=[]),r[s].push({globalName:e,url:n})}),r}async loadSharedDependencies({sharedDependenciesBuckets:e,mfName:t,appendScript:n}){const s=Date.now();this.emitSkeletonEvent(f.SharedDependenciesLoadStart,{mfName:t});for(let s=0;s<e.length;s++){const r=e[s]||[],i=Promise.all(r.map(e=>this.sharedDependencies.ensureDependencyLoadPromise(e.globalName,()=>this.loadAsset({mfName:t,src:e.url,appendScript:n}))));await i}this.emitSkeletonEvent(f.SharedDependenciesLoadEnd,{mfName:t,loadTime:Date.now()-s})}preload({mfAssets:e,sharedDependenciesBuckets:t,mfName:n,appendScript:s,scriptType:r}){const i=t.flat().map(({url:e})=>e),a=e.filter(e=>e.endsWith(".js")),o=e.filter(e=>e.endsWith(".css"));Promise.all([...i.map(e=>x({mfName:n,src:e,appendScript:s})),...a.map(e=>x({mfName:n,src:e,appendScript:s,type:r})),...o.map(e=>x({mfName:n,src:e,assetType:l.css,type:r}))]).catch(e=>{throw e})}async loadAsset({src:e,mfName:t,appendScript:n,scriptType:s=null}){e.endsWith(".js")?await function({mfName:e,src:t,onEvent:n=A,appendScript:s,type:r}){const i=document.createElement("script");i.src=t,i.setAttribute(j,e),r&&(i.type=r);const a=new Promise(e=>{i.onload=e});return i.onerror=()=>{n(f.ErrorLoadingJSAsset,{mfName:e,src:t,mfResource:t})},s?s(i):document.body.appendChild(i),a}({mfName:t,src:e,onEvent:this.emitSkeletonEvent,appendScript:n,type:s}):e.endsWith(".css")&&await function({mfName:e,src:t,onEvent:n=A}){const s=document.createElement("link");s.href=t,s.rel="stylesheet",s.setAttribute(j,e);const r=new Promise(e=>{s.onload=e});return s.onerror=()=>{n(f.ErrorLoadingCSSAsset,{mfName:e,src:t,mfResource:t})},document.head.appendChild(s),r}({mfName:t,src:e,onEvent:this.emitSkeletonEvent})}async loadManifestAssets({mfAssets:e,mfName:t,appendScript:n,scriptType:s}){this.emitSkeletonEvent(f.StartLoadingJsAssets,{mfName:t});const r=Date.now(),i=[],{cssFiles:a,jsFiles:o}=e.reduce((e,t)=>(t.endsWith(".js")?e.jsFiles.push(t):t.endsWith(".css")&&e.cssFiles.push(t),e),{cssFiles:[],jsFiles:[]});a.forEach(e=>{i.push(this.loadAsset({mfName:t,src:e}))});for(const e of o)await this.loadAsset({mfName:t,src:e,appendScript:n,scriptType:s??(R(t)?"module":null)});this.emitSkeletonEvent(f.SuccessLoadingJsAssets,{mfName:t}),await Promise.all(i);return Date.now()-r}}const Q="__SHARED_DEPENDENCIES__";class Y{constructor(){this.globalDependencies=function(){const e=void 0!==globalThis[Q]?globalThis[Q]:{};return window.microfrontends=window.microfrontends||{},window.microfrontends.globalSharedDependencies=window.microfrontends.globalSharedDependencies||new Map,Object.keys(e).forEach(e=>{window.microfrontends.globalSharedDependencies.has(e)||window.microfrontends.globalSharedDependencies.set(e,{loadFrom:"preloaded-from-host",loadPromise:Promise.resolve()})}),window.microfrontends.globalSharedDependencies}()}ensureDependencyLoadPromise(e,t){const n=this.globalDependencies.get(e);return n?(n.loadPromise||(n.loadPromise=t()),n.loadPromise):null}getDependencyLoadPromise(e){const t=this.globalDependencies.get(e);return t&&t.loadPromise||null}addKnownDependencies(e){e.forEach(({globalName:e,url:t})=>{this.globalDependencies.has(e)||this.globalDependencies.set(e,{loadFrom:t,loadPromise:null})})}getUrl(e){const t=this.globalDependencies.get(e);if(!t)throw new Error(`Attempted getting URL to load of a missing global dependency: ${e}`);return t.loadFrom}}const G="We noticed you had CSP errors while loading a local MF. Please refer to this guide: https://trident.monday.beer/docs/frontend/getting-started/develop-mf#working-with-a-remote-host",J=/https?:\/\/localhost/;var K=(e=>(e.Preloaded="preloaded",e.WithAssetsDir="withAssetsDir",e.WithAssetsData="withAssetsData",e))(K||{});const q="tridentMfContainerUuid";class X{constructor({name:e,initConfig:t,skeletonContext:n,version:s,isLocal:r}){if(this.preFetched=!1,this.loadedAssets=new Set,this.renderedContainerUuids=new Set,this.name=e,this.skeletonContext=n,this.version=s,this.initType=t.type,this.isLocal=r??!1,t.type===K.Preloaded)this.handleLoadedEntrypointScripts(t.entrypoints);else if(t.type===K.WithAssetsDir)this.assetsDir=t.assetsDir,this.manifestPath=t.manifestPath||`${P(t.assetsDir)}/asset-manifest.json`;else{if(t.type!==K.WithAssetsData)throw new Error(`Unexpected initialization type for MF "${this.name}": "${t.type}"`);this.assetsManifest=t.manifest,this.assetsDir=t.assetsDir}}get isCurrentlyRendered(){return!!this.renderedContainerUuids.size}get renderedContainerCount(){return this.renderedContainerUuids.size}render(e,t={}){if(!this.mfInterface)return;const{emitSkeletonEvent:n}=this.skeletonContext;try{n(f.MfUserRenderStart,{mfName:this.name,element:e}),this.mfInterface.render(e,t);const s=this.ensureContainerUuid(e);s&&this.renderedContainerUuids.add(s),n(f.MfUserRenderSuccess,{mfName:this.name})}catch(e){n(f.MfUserRenderError,{mfName:this.name,error:e})}}unmount(e){const{emitSkeletonEvent:t}=this.skeletonContext;try{this.mfInterface?.unmount({element:e,mfName:this.name});const n=this.getContainerUuid(e);n&&this.renderedContainerUuids.delete(n),t(f.MfUserUnmount,{mfName:this.name})}catch(e){t(f.MfUserUnmountError,{mfName:this.name,error:e})}}async preFetch(){if(this.preFetched||this.initOncePromise)return;const{emitSkeletonEvent:e}=this.skeletonContext;if(this.validateAssetsDataInput()&&this.validateAssetsDirInput())try{this.preFetched=!0;const e=P(this.assetsDir);let t;this.initType===K.WithAssetsData?t=this.assetsManifest:(t=await D(this.manifestPath,{mode:"cors"}),this.isLocal&&this.skeletonContext.manifestHandler.fillLocalSharedDeps(t,e)),await this.skeletonContext.manifestHandler.loadMfAssets({mfName:this.name,manifest:t,assetsDir:e,mode:W.preFetchOnly})}catch(t){e(f.ErrorPreFetchMF,{mfName:this.name,error:t})}else e(f.ErrorPreFetchMF,{mfName:this.name,error:new Error(`Attempt to prefetch MF: ${this.name} with a missing params. assetsDir: ${this.assetsDir}, manifestPath: ${this.manifestPath}`)})}async initOnce(e,t){return this.initOncePromise||(this.initOncePromise=this.initOnceImpl(e,t)),this.initOncePromise}shouldSkipTranslationsFetch(){return this.assetsManifest?.skipTranslationFetch??!1}validateAssetsDirInput(){return this.initType!==K.WithAssetsDir||this.assetsDir&&this.manifestPath}validateAssetsDataInput(){return this.initType!==K.WithAssetsData||this.assetsManifest&&Object.keys(this.assetsManifest).length>0&&this.assetsDir}
1validateInputByInitType(){if(!this.validateAssetsDirInput())throw new Error(`Attempted to initialize MF: ${this.name} with missing params. init type: ${this.initType} assetsDir: ${this.assetsDir}, manifestPath: ${this.manifestPath}\nThis probably means that an MF was preloaded and attempted to be initialized afterwards.`);if(!this.validateAssetsDataInput())throw new Error(`Attempted to initialize MF: ${this.name}, init type: ${this.initType} with a missing assets manifest.`)}async initOnceImpl(e,t){if(this.mfInterface)return this.mfInterface;this.validateInputByInitType();const{emitSkeletonEvent:n}=this.skeletonContext;if(n(f.MFLoadStart,{mfName:this.name,version:this.version}),![K.WithAssetsDir,K.WithAssetsData].includes(this.initType))throw new Error(`Unexpected initialization type for MF "${this.name}": "${this.initType}"`);const s=P(this.assetsDir);if(this.initType===K.WithAssetsDir){n(f.StartFetchingManifest,{mfName:this.name,version:this.version?.toString()||"",mfResource:s});try{const r=await D(this.manifestPath,{mode:"cors"});n(f.SuccessFetchingManifest,{mfName:this.name}),this.isLocal&&this.skeletonContext.manifestHandler.fillLocalSharedDeps(r,s),await this.handleManifestFiles({manifest:r,assetsDir:s,timeStart:e,appendScript:t})}catch(e){(function(e,t){if("object"!=typeof e||"Failed to fetch"!==e.message)return!1;const n=J.test(t),s="localhost"===window.location.hostname;return n&&!s})(e,this.manifestPath)&&(console.log(`\n======================\n${G}\n======================\n`),alert(G)),n(f.ErrorFetchingManifest,{mfName:this.name,error:e,manifestURL:this.manifestPath})}}if(this.initType===K.WithAssetsData){const n=this.assetsManifest;await this.handleManifestFiles({manifest:n,assetsDir:s,timeStart:e,appendScript:t})}return this.mfInterface}async handleManifestFiles({manifest:e,assetsDir:t,timeStart:n,appendScript:s,type:r}){if(!e)return;const i=(r?e.entrypoints.filter(e=>e.endsWith(`.${r}`)):e.entrypoints).filter(e=>!this.loadedAssets.has(e));if(0===i.length)return;const{assetsLoadTime:a}=await this.skeletonContext.manifestHandler.loadMfAssets({mfName:this.name,manifest:{...e,entrypoints:i},assetsDir:t,mode:this.preFetched?W.skipPreFetch:W.withPreFetch,appendScript:s});i.forEach(e=>{this.loadedAssets.add(e)}),this.handleLoadedEntrypointScripts(e.entrypoints),this.skeletonContext.emitSkeletonEvent(f.MFLoadDone,{mfName:this.name,totalLoadTime:Date.now()-n,assetsLoadTime:a})}isInitialized(){return!!this.initOncePromise}handleLoadedEntrypointScripts(e){const t=e.find(e=>(e.split("/").pop()??e).startsWith("MF-"));if(!t)throw new Error(`No Main MF file found for MF: "${this.name}"`);const{emitSkeletonEvent:n,mfApi:s}=this.skeletonContext,[r]=(t.split("/").pop()??t).split("."),i=window[r];try{this.mfInterface=i;const e={mfUuid:r,mfName:this.name};n(f.MfUserInitStart,e),i.init({api:s}),n(f.MfUserInitSuccess,e)}catch(e){n(f.MfUserInitError,{error:e,mfName:this.name})}}ensureContainerUuid(e){return e[q]||(e[q]=d()),e[q]}getContainerUuid(e){return e[q]}}function Z(){return(0,M.parse)(window.location.search).mf_test_version}function ee(){return(0,M.parse)(window.location.search).mf_prod_version}class te{constructor({api:e,mfUrl:t,preloadedMFs:n={},isDev:s=!1,mfTestVersion:r=Z(),mfProdVersion:i=ee(),onEvent:a=A,host:o,mfAssets:c,isMondayUser:d=!1,onPrepareMF:l=A}){this.preparedMfs=new Set,this.emitEvent=(e,t)=>{this.tracker.track(e,t),this.onEvent(e,t)},this.renderMF=(e,t,n={})=>{const s=this.mfs.get(e);s?s.render(t,n):console.warn(`Tried to render a non-existing MF: ${e}`)},this.unmountMF=(e,t)=>{const n=this.mfs.get(e);n?n.unmount(t):console.warn(`Tried to unmount a non-existing MF: ${e}`)},this.getCurrentlyRenderedMfsCount=()=>this.getCurrentlyRenderedMfs().total,this.getCurrentlyRenderedMfs=()=>{const e={total:0};for(const t of this.mfs.values()){const n=t.renderedContainerCount;n&&(e[t.name]=n,e.total+=n)}return e},this.ensureMfInstance=async e=>{if(this.mfs.has(e)||await this.initializeMfsPromise,!this.mfs.has(e)){const t=this.getLocalMfAssetsDir(e),n=new X({name:e,skeletonContext:this.context,initConfig:{type:K.WithAssetsDir,assetsDir:t}});this.mfs.set(e,n)}},this.ensureMfInstanceSsr=async(e,t)=>{this.mfs.has(e)||await this.initializeMfsPromise;let n=this.mfs.get(e);return n||(n=new X({name:e,skeletonContext:this.context,initConfig:{type:K.WithAssetsData,assetsDir:`${this.mfUrl}/${e}/latest`,manifest:t}}),this.mfs.set(e,n)),n},this.prepareMF=async({mfName:e})=>
1{if(this.preparedMfs.has(e))return;const t=this.mfs.get(e);try{this.emitEvent(f.PrepareMfStart,{mfName:e});const n=t.shouldSkipTranslationsFetch();await this.onPrepareMF({mfName:e,skipTranslationFetch:n}),this.preparedMfs.add(e),this.emitEvent(f.PrepareMfSuccess,{mfName:e})}catch(t){const n=`Failed to execute onPrepareMF provided to trident skeleton for ${e}. Check your onPrepareMF implementation.`;throw this.emitEvent(f.PrepareMfError,{mfName:e,error:t,description:n}),new Error(n)}},this.ssrMF=async(e,t,n,s,r)=>{if(r.children.length>0||r.textContent?.trim())return;this.emitEvent(f.MfUserSsrStart,{mfName:e,isSsr:!0});const{html:i,assetManifest:a}=await this.fetchSsr(s,t,n),o=await this.ensureMfInstanceSsr(e,a);await o.handleManifestFiles({manifest:a,assetsDir:o.assetsDir,timeStart:Date.now(),type:"css"});const c=i.replace(/\\"/g,'"').replace(/\\n/g,"");r.innerHTML=c,this.emitEvent(f.MfUserSsrSuccess,{mfName:e,isSsr:!0}),await o.handleManifestFiles({manifest:a,assetsDir:o.assetsDir,timeStart:Date.now(),type:"js"})},this.preFetchMF=async e=>(this.emitEvent(f.PrefetchMF,{mfName:e}),await this.ensureMfInstance(e),await this.prepareMF({mfName:e}),this.mfs.get(e).preFetch()),this.initMF=async(e,t)=>{this.emitEvent(f.InitMF,{mfName:e,initializedMFs:[...this.mfs.keys()]});const n=Date.now();return await this.ensureMfInstance(e),await this.prepareMF({mfName:e}),this.mfs.get(e).initOnce(n,t)},this.handleManifestFiles=async(e,t,n,{timeStart:s})=>{const r=this.mfs.get(e);r?await r.handleManifestFiles({manifest:t,assetsDir:n,timeStart:s}):console.warn(`Tried to handle manifest files for a non-existing MF: ${e}`)},this.mfUrl=t,this.onEvent=a,this.onPrepareMF=l,V.isMondayUser=d;const m=this.emitEvent.bind(this);this.globalSharedDependencies=new Y,this.mfs=new Map;const u=new z({emitSkeletonEvent:m,sharedDependencies:this.globalSharedDependencies,initMF:(...e)=>this.initMF(...e)});this.context={skeleton:this,isDev:s,emitSkeletonEvent:m,mfApi:e,manifestHandler:u},this.tracker=new E({host:o,api:e,preloadedMFs:new Set(Object.keys(n))}),this.emitEvent(f.SkeletonCreated,{preloaded:n}),this.mfTestVersion=L(r),this.mfProdVersion=L(i),this.handlePreloadedMfs(n),this.initializeMfsPromise=this.fetchCurrentMfsWithAssets(c)}async fetchSsr(e,t,n){const s=await fetch(`/${e}/render`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:t,ssrData:n})});return await s.json()}async fetchCurrentMfsWithAssets(e){const{mfs:t,globalSharedDependencies:n}=this,{assets:s,sharedDependencyLocations:r}=e||await F({testOverridesQueryParams:this.testOverridesQueryParams,prodOverridesQueryParams:this.prodOverridesQueryParams,mfUrl:this.mfUrl,emitSkeletonEvent:this.emitEvent});Object.entries(s).forEach(([e,n])=>{if(t.has(e))return;const s=V.isInCanary(e,n.canary)?n.canary:n;if(R(e)){const n=s.url,{assetsDir:r,manifestPath:i}=function({mfName:e,assetsDir:t,manifestPath:n}){if(!R(e))return{assetsDir:t,manifestPath:n};const s=U(),{endpoint:r,version:i}=s[e]||{};if(r)return{assetsDir:r,manifestPath:`${r}/asset-manifest.json`};if(i){if(n)return{assetsDir:t,manifestPath:`${n.split("asset-manifest")[0]}/asset-manifest.${i}.json`};const e=t.lastIndexOf("/"),s=`${t.substring(0,e+1)}${i}`;return{assetsDir:s,manifestPath:`${s}/asset-manifest.json`}}return{assetsDir:t,manifestPath:n}}({mfName:e,assetsDir:n,manifestPath:s.url}),a=new X({name:e,initConfig:{type:K.WithAssetsDir,assetsDir:r,manifestPath:i},version:s.version,skeletonContext:this.context,isLocal:!0});return void t.set(e,a)}const r=new X({name:e,initConfig:{type:K.WithAssetsData,assetsDir:s.url,manifest:s},version:s.version,skeletonContext:this.context});t.set(e,r)});const i=Object.entries(r).map(([e,t])=>({globalName:e,url:t}));n.addKnownDependencies(i)}handlePreloadedMfs(e){Object.entries(e).forEach(([e,t])=>{const n=new X({name:e,skeletonContext:this.context,initConfig:{type:K.Preloaded,entrypoints:t}});this.mfs.set(e,n)})}getLocalMfAssetsDir(e){const{endpoint:t}=R(e)&&U()[e]||{};if(!t)throw this.emitEvent(f.MFNotInList,{mfName:e}),new Error(`'${e}' does not exist in Micro frontends list`);return t}get testOverridesQueryParams(){return O(this.mfTestVersion)}get prodOverridesQueryParams(){return O(this.mfProdVersion)}}const ne={VISITOR_ID:"visitor_id",ACCOUNT_ID:"account_id",CALLBACK_NAME:"c
1allback_name",SOURCE_NAME:"source_name",ACCOUNT_FEATURE_PERCENTAGE:"account_feature_percentage",ACCOUNT_FEATURE_PERCENTAGE_GROUP:"account_feature_perc_group",TIER:"tier",PRODUCT_KIND:"product_kind",SIGNUP_PRODUCT_KIND:"signup_product_kind",COMPONENT_NAME:"component_name",IS_ADMIN:"is_admin",IS_FIRST_USER:"is_first_user",IS_GUEST:"is_guest",IS_VIEW_ONLY:"is_view_only",SUBSCRIPTION:"subscription",PRICING_VERSION:"pricing_version",CODE_USED:"code_used",SERVER_CLUSTER:"server_cluster",CLUSTER:"cluster",SUB_CLUSTER:"sub_cluster",ERROR_SOURCE_TYPE:"error_source_type",SESSION_TIME:"session_time",LAST_EVENT_GENERIC:e=>`last_${e}`,LAST_EVENT:"last_event",ACTION_TYPE:"action_type",BOARD_ID:"board_id",PUSHER_NAME:"pusher_name",BOARD_VIEW_TYPE:"board_view_type",OVERVIEW_ID:"overview_id",BOARD_SUBSET_ID:"board_subset_id",COLUMN_TYPE:"column_type",COLUMN_ID:"column_id",ENTITY_TYPE:"entity_type",VIRTUALIZE_ROW_TYPE:"virtualize_row_type",FULL_STORY_SESSION_URL:"full_story_session_url",COOKIE_NAME:"cookie_name",URL:"url",IS_SOFT_SIGNUP:"is_soft_signup",IS_SIGNUP:"is_signup",BUILD_TIME:"build_time",REGION:"region",IS_MDB:"is_mdb",HAS_STANDALONE_PRODUCTS:"has_standalone_products",MEMORY:"memory",STATUS_ERROR_CODE:"status_error_code",STATUS_ERROR_TEXT:"status_error_text",WEBPACK_BUILD_TIME:"WEBPACK_BUILD_TIME",HTML_SERVER_TIMESTAMP:"HTML_SERVER_TIMESTAMP",HTML_BUILD_TIMESTAMP:"HTML_BUILD_TIMESTAMP",HTML_POD_ID:"HTML_POD_ID",HTML_FROM_SW_CACHE:"HTML_FROM_SW_CACHE",HTML_SW_CACHE_EXP:"HTML_SW_CACHE_EXP",CLIENT_INIT_TIME:"client_init_time",HOST_ENVIRONMENT:"host_environment",INDEXED_DB_TABLE_NAME:"indexed_db_table_name",CALLER:"caller",PULSE_INIT_STATUS:"pulse_init_status",DISABLED_MDB_REQUESTS_FROM_CVMS:"disabled_mdb_requests_from_cvms",SKIP_PD:"skip_pd",MF_NAME:"mf_name",PLATFORM_TRANS_LOAD:"platform_trans_load",PLATFORM_TRANS_LOAD_PROMISE:"platform_trans_load_promise",MF_ASSETS_METADATA:"mf_assets_metadata",VULCAN_MF_VERSION:"vulcan_mf_version",MF_REDUX_LOADED:"mf_redux_loaded",HAS_FULLSTORY:"has_fullstory",HIGH_LEVEL_LOW_LEVEL:"high_level_low_level",IS_SENSITIVE_ACCOUNT:"sensitive_account"};new Set(Object.values(ne));function se(){return"undefined"==typeof window?{}:(window.Pulse||(window.Pulse={}),window.Pulse)}const re=()=>se().__pusherServiceInitializedPromise;var ie=n(716251);const ae=()=>(window.VulcanInitData.initializePromiseDeferred||=(0,ie.PQ)(),window.VulcanInitData.initializePromiseDeferred),oe="mf-board-columns";function ce(){return window.__ENVIRONMENT__}const de=()=>le()?.promise;function le(){var e;return re()||(e=(0,ie.PQ)(),se().__pusherServiceInitializedPromise=e),re()}var me=n(551613);function fe(){return se().Realtime?.pusher?.connection?.socket_id}function ue(){return de()}function he(){return window.__ENVIRONMENT__}function pe(){return window.BigBrain}function we(e){return se()?.features?.[e]}function ge(...e){if(!window._t)throw new Error("[Vulcan] window._t is not defined");return window._t(...e)}function _e(){return(0,me.K$)()}function ye(){return{reducerSampleRate:se()?.Globals?.system_variables?.VULCAN_REDUCER_SAMPLING_RATE||0,expensiveReducerSampleRate:se()?.Globals?.system_variables?.VULCAN_EXPENSIVE_REDUCER_SAMPLING_RATE||0,sessionSampleRate:se()?.Globals?.system_variables?.VULCAN_SESSION_SAMPLING_RATE||0}}function Se(e,t){window.mondayHelpers.deferredInit.markScriptAsFinished(t,!1,e)}const Ee="mf-vulcan";!async function(){if(window.VulcanInitData?.preventMfVulcan)return;(function(){se().current_user_promise||(se().current_user_promise=(0,ie.PQ)());se().current_user_promise})(),async function(){e=window.mondayHelpers.deferredInit.deferredScripts.VULCAN_MF_INIT,window.mondayHelpers.deferredInit.manuallyMarkScriptAsStarted(e);var e;const t=performance.now(),n=function(){const e=document.querySelector("meta[name=csrf-token]");if(e)return e.getAttribute("content")}();let s=null;window.mondayHelpers.setTagValue?.(ne.MF_REDUX_LOADED,"init");const r={options:{csrfToken:n,isEmbeddedView:window.VulcanInitData?.isEmbeddedView,sppToken:window.VulcanInitData?.sppToken,shouldLoadCurrentUser:window.VulcanInitData?.shouldLoadCurrentUser,features:window.VulcanInitData?.features,canFeature:we,translate:ge,getTrackerSampleRates:ye,getEnvironment:he,getBigBrainTracker:pe,getSerializersVersions:_e,getSocketId:fe,getPusherServicePromise:ue,getSkeleton:()=>s},onDone:()=>function(e,t){window.mondayHelpers.setTagValue?.(ne.MF_REDUX_LOADED,"vulcan-done"),e.initMF("mf-redux").then(()=>
1{Se(t,window.mondayHelpers.deferredInit.deferredScripts.VULCAN_MF_INIT),window.mondayHelpers.setTagValue?.(ne.MF_REDUX_LOADED,"success")}).catch(e=>{console.error("Failed to initialize mf-redux",e),window.mondayHelpers.setTagValue?.(ne.MF_REDUX_LOADED,"failure"),window.mondayHelpers.logError?.(e,{info:"Failed to initialize mf-redux"}),Se(t,window.mondayHelpers.deferredInit.deferredScripts.VULCAN_MF_INIT)})}(s,t),onError:e=>function(e,t){window.mondayHelpers.setTagValue?.(ne.MF_REDUX_LOADED,"vulcan-error"),console.error("Failed to initialize Vulcan",e),window.mondayHelpers.logError?.(e,{info:"Failed to initialize Vulcan"}),Se(t,window.mondayHelpers.deferredInit.deferredScripts.VULCAN_MF_INIT),ae().promise.reject()}(e,t),api:{}};(function(e){window.VulcanInitData.servicesInitParams=e})({getSocketId:fe,getPusherServicePromise:ue,csrfToken:n,canFeature:we,translate:ge,getBigBrainTracker:pe,getSerializersVersions:_e}),s=new te({api:r,isDev:!0,preloadedMFs:{},mfUrl:window.MicrofrontendsInitData?.microfrontendUrl,onEvent:e=>{if(e===f.ErrorLoadingJSAsset)throw new Error("could not load Vulcan JS asset")},host:Object.defineProperty({name:"monolith"},"environment",{get:he})}),s.preFetchMF(Ee);try{await async function(){const e=new te({api:{onError:e=>{console.error(`Failed to initialize ${oe}`,e),window.mondayHelpers.logError?.(e,{info:`Failed to initialize ${oe}`})}},isDev:!0,preloadedMFs:{},mfUrl:window.MicrofrontendsInitData?.microfrontendUrl,onEvent:e=>{if(e===f.ErrorLoadingJSAsset)throw new Error(`could not load ${oe} JS assets`)},host:Object.defineProperty({name:"monolith"},"environment",{get:ce})});await e.initMF(oe,e=>{"SCRIPT"===e.tagName&&(e.async=!0),document.head.appendChild(e)})}()}catch(e){console.error("Failed to initialize mf-board-columns",e),window.mondayHelpers.logError?.(e,{info:"Failed to initialize mf-board-columns",message:e?.message})}s.initMF(Ee,e=>{"SCRIPT"===e.tagName&&(e.async=!0),document.head.appendChild(e)}).catch(e=>{console.error("Failed to initialize Vulcan MF",e),window.mondayHelpers.logError?.(e,{info:"Failed to initialize Vulcan MF",message:e?.message}),Se(t,window.mondayHelpers.deferredInit.deferredScripts.VULCAN_MF_INIT)})}(),window.mondayHelpers.deferredInit.runAfterDependencies(window.mondayHelpers.deferredInit.deferredScripts.VULCAN_INIT_RESOLVE,()=>{ae().resolve()},[window.mondayHelpers.deferredInit.deferredScripts.VULCAN_MF_INIT])}()},87089:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});const s=()=>{window.mondayHelpers.runWithRetries||(window.mondayHelpers.runWithRetries=async(e,{retries:t=3,interval:n=100,onError:s=null,onFinish:r=null})=>{const i=performance.now();let a=null;for(let o=0;o<t;o++)try{const t=await e();return r&&r(i,!0),t}catch(e){a=e,s&&s(e,o+1),await new Promise(e=>setTimeout(e,n))}if(a)throw r&&r(i,!1),a})}},85674:(e,t,n)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const s=n(538719);t.initialize=function(){n(744378),s.initializePolyfills()}},570365:(e,t,n)=>{n(435202)},398324:()=>{window.indexedDB||(window.indexedDB=window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB),window.IDBTransaction||(window.IDBTransaction=window.webkitIDBTransaction||window.msIDBTransaction||{READ_WRITE:"readwrite"}),window.IDBKeyRange||(window.IDBKeyRange=window.webkitIDBKeyRange||window.msIDBKeyRange)},608289:()=>{let e=!0;try{window.localStorage.getItem("test")}catch(t){e=!1}try{e&&"object"==typeof window.localStorage&&(window.localStorage.setItem("localStorage","1"),window.localStorage.removeItem("localStorage"))}catch(e){Storage.prototype._setItem=Storage.prototype.setItem,Storage.prototype.setItem=function(){}}if(e)window.safeLocalStorage=window.localStorage;else{const e=new Map;window.safeLocalStorage={key:t=>Array.from(e.keys())[t]||null,length:0,getItem(t){const n=String(t);return e.has(t)?String(e.get(n)):null},setItem(t,n){e.set(String(t),String(n)),length=e.size},removeItem(t){e.delete(t),length=e.size},clear(){e.clear(),length=0}}}},538719:(e,t,n)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const s=[()=>n(608289),()=>n(398324),()=>n(907521),()=>n(570365)];t.initializePolyfills=function(){for(let e=0;e<s.length;e++){const t=s[e];try{t()}catch(e){console.error(e)}}}},907521:()=>{window.nativeRequestIdleCallback=window.requestIdleCallback,window.requestIdleCallback=window.requestIdleCallback||function(e){const t=Date.now();return setTimeout(function(){requestAnimationFrame(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)}},744378:()=>{window.guid||(window.guid=()=>{function e(e=!1){const t=(Math.random().toString(16)+"000000000").substring(2,10);return e?"-"+t.substring(0,4)+"-"+t.substring(4,8):t}return e()+e(!0)+e(!0)+e()});const e=/[&<>"'`=]/g,t=/[&<>"'`=]/,n={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="};function s(e){return n[e]}window.escape_all_but_em=function(n){return n=(n=(n=function(n){if("string"!=typeof n){if(n&&n.toHTML)return n.toHTML();if(null==n)return"";if(!n)return n+"";n=""+n}return t.test(n)?n.replace(e,s):n}(n)).replace(/<em>/g,"<em>")).replace(/<\/em>/g,"</em>")};const r=window.navigator?.appVersion?.toLowerCase()||"";window.isHelpers={isMac:function(){return/mac/i.test(r)}},window.global||(window.global=window)},551613:(e,t,n)=>{"use strict";function s(){return window.MNDY||{}}function r(e,t){return window.MNDY=s(),window.MNDY[e]=window.MNDY[e]||{},Object.assign(window.MNDY[e],t),window.MNDY[e]}function i(e,t){return window.MNDY=s(),window.MNDY[e]=t,t}function a(){return s().serializersVersions||{}}n.d(t,{K$:()=>a,R9:()=>r,rY:()=>i})},716251:(e,t,n)=>{"use strict";n.d(t,{PQ:()=>s});function s(){const e={},t=new Promise((t,n)=>{e.resolve=t,e.reject=n});return e.promise=r(t,e.reject),e.then=e.promise.then.bind(e.promise),e.catch=e.promise.catch.bind(e.promise),e.finally=e.promise.finally.bind(e.promise),e}function r(e,t){const n=e;return n.done=function(n,s){return r(e.then(n,s),t)},n.fail=function(n){return r(e.catch(n),t)},n.always=function(n){return r(e.finally(n),t)},n.abort=function(){t&&t(new Error("Promise aborted"))},n}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return s[e].call(n.exports,n,n.exports,i),n.exports}i.m=s,i.n=e=>
1{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,n)=>(i.f[n](e,t),t),[])),i.u=e=>e+"-b9e03f9b7bf10d4a72f4.js",i.miniCssF=e=>{},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="Monolith:",i.l=(n,s,r,a)=>{if(e[n])e[n].push(s);else{var o,c;if(void 0!==r)for(var d=document.getElementsByTagName("script"),l=0;l<d.length;l++){var m=d[l];if(m.getAttribute("src")==n||m.getAttribute("data-webpack")==t+r){o=m;break}}o||(c=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,i.nc&&o.setAttribute("nonce",i.nc),o.setAttribute("data-webpack",t+r),o.src=n,0!==o.src.indexOf(window.location.origin+"/")&&(o.crossOrigin="anonymous")),e[n]=[s];var f=(t,s)=>{o.onerror=o.onload=null,clearTimeout(u);var r=e[n];if(delete e[n],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach(e=>e(s)),t)return t(s)},u=setTimeout(f.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=f.bind(null,o.onerror),o.onload=f.bind(null,o.onload),c&&document.head.appendChild(o)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="https://webpack.llama.fan:3444/build/build-react18/",(()=>{if(void 0!==i){var e=i.u,t=i.e,n={},s={};i.u=function(t){return e(t)+(n.hasOwnProperty(t)?"?"+n[t]:"")},i.e=function(r){return t(r).catch(function(t){var a=s.hasOwnProperty(r)?s[r]:3;if(a<1){var o=e(r);throw t.message="Loading chunk "+r+" failed after 3 retries.\n("+o+")",t.request=o,t}return new Promise(function(e){var t=3-a+1;setTimeout(function(){var o="cache-bust=true"+("&retry-attempt="+t);n[r]=o,s[r]=a-1,e(i.e(r))},1e3)})})}}})(),(()=>{var e={54312:0};i.f.j=(t,n)=>{var s=i.o(e,t)?e[t]:void 0;if(0!==s)if(s)n.push(s[2]);else{var r=new Promise((n,r)=>s=e[t]=[n,r]);n.push(s[2]=r);var a=i.p+i.u(t),o=new Error;i.l(a,n=>{if(i.o(e,t)&&(0!==(s=e[t])&&(e[t]=void 0),s)){var r=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed.\n("+r+": "+a+")",o.name="ChunkLoadError",o.type=r,o.request=a,s[1](o)}},"chunk-"+t,t)}};var t=(t,n)=>{var s,r,[a,o,c]=n,d=0;if(a.some(t=>0!==e[t])){for(s in o)i.o(o,s)&&(i.m[s]=o[s]);if(c)c(i)}for(t&&t(n);d<a.length;d++)r=a[d],i.o(e,r)&&e[r]&&e[r][0](),e[r]=0},n=globalThis.webpackChunkMonolith=globalThis.webpackChunkMonolith||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(n="undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"08163e7c7daca7ddb53d09d798d0cf12d7b1bb45"},n.SENTRY_RELEASES=n.SENTRY_RELEASES||{},n.SENTRY_RELEASES["monday-monolith-client@mondaycom-3j"]={id:"08163e7c7daca7ddb53d09d798d0cf12d7b1bb45"},window.webpackPublicPath&&(i.p=window.webpackPublicPath),(()=>{const e=[()=>i(85674).initialize(),()=>i(448007),()=>i(87089).k(),()=>i(437529),()=>i(544248),()=>i(15885)];function t(){for(let t=0;t<e.length;t++){const n=e[t];try{n()}catch(e){console.error(e)}}window.mondayHelpers.deferredInit?.markScriptAsFinished(window.mondayHelpers.deferredInit.deferredScripts.BABEL_POLYFILL_AND_HELPERS_INIT),window.mondayHelpers.deferredInit?.resolveInitPromise("babel_polyfill_and_helpers_promise")}window.mondayHelpers=window.mondayHelpers||{},window.mondayHelpers.deferredInit?window.mondayHelpers.deferredInit.deferStartup(window.mondayHelpers.deferredInit.deferredScripts.BABEL_POLYFILL_AND_HELPERS_INIT,t,[],["externals_promise"]):t()})()})();
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.