PageSourceSearch

https://cdn.monday.com/build/defer_init-2637e8f291b7340965b7.js

js monday.com collected 2026-10-01 08:27:09 UTC 14,068 bytes, 1 lines download raw bytes

1(()=>{var e,n={555109:()=>{const e=()=>{};function n(){return window.MNDY||{}}function r(){return window.performance&&"function"==typeof window.performance.mark?function(e,r={}){var i,t;i="latestLoadEvent",t=e,window.MNDY=n(),window.MNDY[i]=t,window.performance.mark(e,r)}:e}function i(){return n().initTime}function t(){return Date.now()-i()}!function(){window.mondayHelpers=window.mondayHelpers||{};const n=window.mondayHelpers;n.perfMark=r(),n.perfMarkAtIdleCb=window.performance&&"function"==typeof window.performance.mark&&"function"==typeof window.requestIdleCallback?function(e,n={}){window.requestIdleCallback(function(){window.performance.mark(e,n)})}:e,n.perfMarkPriorNextRepaint=window.performance&&"function"==typeof window.performance.mark&&"function"==typeof window.requestAnimationFrame?function(e,n={}){window.requestAnimationFrame(function(r){window.performance.mark(e,{...n,startTime:r})})}:e,n.getPerfMarkTs=window.performance&&"function"==typeof window.performance.mark&&"function"==typeof window.performance.getEntriesByName?function(e,n=""){const r=window.performance.getEntriesByName(e,"mark"),i=r?.[0]?.startTime;return i||(""!==n?(t=window,n.split(".").reduce((e,n)=>e?.[n],t)):0);var t}:e,n.getPageLoadedAt=i,n.getTsFromPageLoadedAt=t}()},108191:()=>{window.mondayHelpers=window.mondayHelpers||{},window.mondayHelpers.breadcrumbsQueue=[],window.mondayHelpers.loggerCallbacks||=[],window.mondayHelpers.logBreadcrumb=function(e,n){window.mondayHelpers.errorLogger?window.mondayHelpers.errorLogger.breadcrumbAndTag(e,n):window.mondayHelpers.breadcrumbsQueue.push({tag:e,crumb:n})},window.mondayHelpers.logError=function(e,n){window.mondayHelpers.errorLogger?window.mondayHelpers.errorLogger.error(e,n):window.mondayHelpers.breadcrumbsQueue.push({error:e,contexts:n})},window.mondayHelpers.onLogsAvailable=function(e){if(window.mondayHelpers.errorLogger)try{e(window.mondayHelpers.errorLogger)}catch(e){console.error("Error in onLogsAvailable logCallback",e)}else window.mondayHelpers.loggerCallbacks.push(e)},window.mondayHelpers.setTagValue=function(e,n){window.mondayHelpers.onLogsAvailable(r=>{r.setTag(e,n)})},window.mondayHelpers.flushBreadcrumbsQueue=function(){window.mondayHelpers.errorLogger&&(window.mondayHelpers.breadcrumbsQueue.forEach(({tag:e,crumb:n,error:r,contexts:i})=>{r?window.mondayHelpers.errorLogger.error(r,i):window.mondayHelpers.errorLogger.breadcrumbAndTag(e,n)}),window.mondayHelpers.loggerCallbacks.forEach(e=>{try{e(window.mondayHelpers.errorLogger)}catch(e){console.error("Error in loggerCallbacks callback",e)}}),window.mondayHelpers.breadcrumbsQueue=[],window.mondayHelpers.loggerCallbacks=[])}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={exports:{}};return n[e](o,o.exports,i),o.exports}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.p="https://webpack.llama.fan:3444/build/",(()=>{if(void 0!==i){var e=i.u,n=i.e,r={},t={};i.u=function(n){return e(n)+(r.hasOwnProperty(n)?"?"+r[n]:"")},i.e=function(o){return n(o).catch(function(n){var s=t.hasOwnProperty(o)?t[o]:3;if(s<1){var a=e(o);throw n.message="Loading chunk "+o+" failed after 3 retries.\n("+a+")",n.request=a,n}return new Promise(function(e){var n=3-s+1;setTimeout(function(){var a="cache-bust=true"+("&retry-attempt="+n);r[o]=a,t[o]=s-1,e(i.e(o))},1e3)})})}}})(),(e="undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"d645d3014d27884fe11a42e92e963fb1cef12beb"},e.SENTRY_RELEASES=e.SENTRY_RELEASES||{},e.SENTRY_RELEASES["monday-monolith-client@mondaycom-3j"]={id:"d645d3014d27884fe11a42e92e963fb1cef12beb"},window.webpackPublicPath&&(i.p=window.webpackPublicPath),(()=>{"use strict";i(108191),i(555109);const e="skip-script-finish",n={PULSE_SCRIPT_INIT:"pulse-script-init",PULSE_INIT:"pulse-init",MAIN_INIT:"main-init",VULCAN_MF_INIT:"vulcan-mf-init",VULCAN_INIT_RESOLVE:"vulcan-init-resolve",APP_FEATURE_EMBED_INIT:"app-feature-embed-init",BACKBONE_INIT:"backbone-init",BB_TRACKER_INIT:"bb-tracker-init",PIXELS_INIT:"pixels-init",EMBEDDED_ITEM_VIEW_INIT:"embedded-item-view-init",EMBEDDED_PAYMENTS_VIEW_INIT:"embedded-payments-view-init",MAIL_BACK_OFFICE_INIT:"mail-back-office-init",UNSUBSCRIBE_MAIL_INIT:"unsubscribe-init",PRODUCT_INIT:"product-init",SURFACE_INIT:"surface-init",FULLSTORY_INIT:"fullstory-init",REMINDER_BARS_INIT:"reminder-bars-init",REMINDER_BARS_INIT_RENDER:"reminder-bars-init-render",ANNOUNCEMENTS_INIT:"announcements-init",LITE_BOARD_PACKAGE:"lite-board-package",LITE_DOC_PACKAGE:"lite-doc-package",LOGIN_MONDAY_INIT:"login-monday-init",SIGNUP_INIT:"signup-init",SOFT_SIGNUP_INIT:"soft-signup-init",BLOCK_SCREEN_INIT:"block-screen-init",APPS_MARKETPLACE_INIT:"apps-marketplace-init",VIBE_INIT:"vibe-init",CHATS_INIT:"chats-init",MAGIC_INIT:"magic-init",ONBOARDING_INIT:"onboarding-init",REDACTOR:"redactor",REDACTOR_ALIGNMENT:"redactor-alignment",REDACTOR_FONT_SIZE:"redactor-font-size",REDACTOR_FONT_COLOR:"redactor-font-color",REDACTOR_TABLE_1:"redactor-table-1",REDACTOR_TABLE_2:"redactor-table-2",REDACTOR_TEXT_DIRECTION:"redactor-text-direction",MNDY_VARIABLES_INIT:"mndy-variables-init",DEVTOOLS_INIT:"devtools-init",BABEL_POLYFILL_AND_HELPERS_INIT:"babel-polyfill-and-helpers-init",BACKEND_FLASH_MESSAGES:"backend-flash-messages",WELCOME_WIZARD:"welcome-wizard",LOCAL_SUGGESTIONS_BACKBONE:"local-suggestions-backbone",PAGE_LOAD_EVENT_START:"page-load-event-start",PAGE_LOAD_EVENT_END:"page-load-event-end",PAYMENT_ENFORCER:"payment-enforcer",MICRO_FRONTEND_PRELOAD:"mf-preload",TOP_BARS_INIT:"top-bars-init",INBOX:"inbox-init",INBOX_COUNT_INIT:"inbox-count-init",CLIENT_INIT:"client-init",CURRENT_ENTITIES_INIT:"current-entities-init",MAIN_INIT_MF_SKELETON_START:"main-init-mf-skeleton-start",MAIN_INIT_MF_SKELETON:"main-init-mf-skeleton",STARTUP_SCRIPTS_FOR_SIGNUP:"startup-scripts-for-signup",BODY_CONTENT_START:"body-content-start",BODY_CONTENT_END:"body-content-end",CLIENT_INIT_GRANTED_FEATURES_INIT:"client-init_granted-features-init",CLIENT_INIT_LAYOUT_VARIABLES_INIT:"client-init_layout-variables-init",CLIENT_INIT_CURRENT_ENTITIES_INIT:"client-init_current-entities-init",CLIENT_INIT_BLOCK_SCREENS_INIT:"client-init_block-screens-init",CLIENT_INIT_MF_PRELOAD_INIT:"client-init_mf-preload-init",CLIENT_INIT_IGNITE_INIT:"client-init_ignite-init",CLIENT_INIT_MF_PACKAGE_INIT:"client-init-mf-package-init"},r=()=>window.mondayHelpers.deferredInit;function t(e){window.mondayHelpers.logBreadcrumb("deferred_callback",e)}const o=(e,n)=>
1{e.forEach(e=>{const{dependentOnScripts:r=[]}=e;e.dependentOnScripts=r.filter(e=>n.has(e))})},s=e=>{const n=[],r={};for(e.forEach(e=>{r[e.source]={...e}}),o(Object.values(r),new Set(Object.keys(r)));Object.keys(r).length>0;){let e=!1;const i=Object.values(r);if(i.forEach(t=>{const{dependentOnScripts:s=[]}=t;0===s.length&&(n.push(t),delete r[t.source],o(i,new Set(Object.keys(r))),e=!0)}),!e){const e=i[0];n.push(e),delete r[e.source],o(i,new Set(Object.keys(r)))}}return n.forEach(n=>{const{source:r}=n;n.dependentOnScripts=e.find(e=>e.source===r)?.dependentOnScripts||[]}),n},a=(e,n,i=null)=>{const t=r().deferInitPromisesStatus,o=Object.keys(t).filter(e=>!t[e].isSuccess);console.error(e,n,"Previous callbacks:",Object.keys(r().alreadyRunScriptsObj),"Success promises:",Object.keys(t).filter(e=>t[e].isSuccess),"Failed promises:",o,"Manually handled scripts (not finished):",Object.values(r().manualHandledScripts).filter(({source:e})=>!r().alreadyRunScriptsObj[e]).map(({source:e,startTime:n})=>`${e} running time ${performance.now()-n}`).join(", "),"\n",i),o.length>0&&console.error("Failed promises errors",o.map(e=>{const{error:n}=t[e];return`${e} - ${n?.message}`.substring(0,300)}))},c=()=>{const e=r(),n=r().deferInitPromisesStatus,i=Object.keys(n).filter(e=>!n[e].resolved),t=e.callbacksAfterDependenciesFinished.map(n=>{const{source:r,dependentOnScripts:i=[]}=n;return{source:r,waitingFor:i.filter(n=>!e.alreadyRunScriptsObj[n])}});console.group("🕐 Deferred Init - Waiting Scripts & Promises"),i.length>0?(console.group(`📦 Unresolved Promises (${i.length})`),i.forEach(e=>{const{startTime:r}=n[e],i=performance.now()-r;console.log(`  • ${e} (waiting ${Math.round(i)}ms)`)}),console.groupEnd()):console.log("✅ All promises resolved"),t.length>0?(console.group(`⏳ Scripts Waiting on Dependencies (${t.length})`),t.forEach(({source:e,waitingFor:n})=>{console.log(`  • ${e} → waiting for: [${n.join(", ")}]`)}),console.groupEnd()):console.log("✅ No scripts waiting on dependencies"),console.groupEnd()},d=((e,n)=>{let r=null;return(...i)=>{window.clearTimeout(r),r=window.setTimeout(()=>{e(...i)},n)}})(e=>{if(r().criticalError)return;const n=r().callbacksAfterDependenciesFinished;r().callbacksAfterDependenciesFinished=[];const i=s(n);t(`debounce timeout - running callbacks with unresolved dependencies ${i.map(e=>e.source).join(", ")}`),i.forEach(i=>{t(`in debounce timeout - running callback ${i.source}`);const o=(n.find(({source:e})=>e===i.source)?.dependentOnScripts||[]).find(e=>!r().alreadyRunScriptsObj[e]);window.mondayHelpers?.onLogsAvailable?.(e=>{e.error(new Error(`Calling callback with unresolved dependencies for ${i.source}. Missing dependency: ${o}`),{},{sourceType:"deferred-init",tags:{callback_name:i.source}})}),a("Calling callback with unresolved dependencies for ",i.source,`missing dependency: ${o}`),e(i.source,i.callback,!0)})},45e3);function l(e){r().alreadyStartedScriptsSet.add(e),window.mondayHelpers.perfMark(`deferred_init_start_run_${e}`)}const u=(n,i,t=!1)=>{if(r().alreadyRunScriptsObj[n]||r().alreadyStartedScriptsSet.has(n))return;if(r().criticalError)return void console.warn("actualRunCallback - Critical error - skipping callback",n);let o;const s=performance.now();try{l(n),o=i(),function(e){if(window.mondayHelpers.perfMark(`deferred_init_finish_run_${e}`),window.performance?.measure)try{window.performance.measure(`deferred_init_duration_run_${e}`,`deferred_init_start_run_${e}`,`deferred_init_finish_run_${e}`)}catch(e){}}(n)}catch(e){a("Error calling callback for ",n,e),window.mondayHelpers?.onLogsAvailable?.(r=>{r.error(e,{},{sourceType:"deferred-init",tags:{source_name:n}})})}o!==e&&m(n,t,s)},p=()=>{const e=r().callbacksAfterDependenciesFinished.filter(e=>{const{dependentOnScripts:n=[]}=e;return n.every(e=>r().alreadyRunScriptsObj[e])}),n=e.map(e=>e.source);r().callbacksAfterDependenciesFinished=r().callbacksAfterDependenciesFinished.filter(e=>!n.includes(e.source)),e.forEach(e=>{const{source:n,callback:r}=e;u(n,r)})};function m(e,n=!1,i){const o=i||r().manualHandledScripts[e]?.startTime||performance.now();r().alreadyRunScriptsObj[e]={startTime:o,endTime:performance.now()},r().alreadyStartedScriptsSet.add(e),t(`markScriptAsFinished ${e}`),d(u),n||p()}
1function f(e,n=performance.now()){l(e),r().manualHandledScripts[e]={source:e,startTime:n}}const w=(e,n,i=[],t=!1)=>{const o=new Set(r().deferredCallbacks.map(e=>e.source).concat(Object.keys(r().manualHandledScripts)).concat(r().callbacksAfterDependenciesFinished.map(e=>e.source)));if(0===i.filter(n=>o.has(n)||t?!r().alreadyRunScriptsObj[n]:(console.warn(`runAfterDependencies for ${e} - dependency does not exist: ${n}`),!1)).length)return u(e,n);r().callbacksAfterDependenciesFinished.push({source:e,callback:n,dependentOnScripts:i})},I=(e,n=[],r=!1)=>new Promise(i=>{let t=!1;w(e,()=>{t||(t=!0,i())},n,r)}),_=(e,r)=>{w(e,r,[n.BB_TRACKER_INIT],!0)},T=()=>r().deferInitPromisesStatus,E=e=>{T()[e]&&console.error("addInitPromise - Promise already exists",e),T()[e]={resolved:!1,startTime:performance.now()}},b=e=>!(!e||0===e.length)&&e.every(e=>{const n=T()[e];return!n||n.isSuccess}),N=()=>Object.keys(T()).filter(e=>!T()[e].resolved).length,S=(e,n={})=>{const{isSuccess:i=!0,error:t=null,startTime:o,endTime:a=performance.now(),stopLoadClient:c}=n;if(T()[e]){const n=o||T()[e].startTime;if(T()[e]={isSuccess:i,error:t,resolved:!0,totalTime:a-n,startTime:n,endTime:a},c)return console.error("resolveInitPromise - Stopping load client due to failure in promise",e),void(r().criticalError=!0);if(0===N()){window.mondayHelpers.perfMark("deferred_init_all_promises_resolved");
1s(r().deferredCallbacks).forEach(e=>{w(e.source,e.callback,e.dependentOnScripts)})}else r().deferredCallbacks.forEach(e=>{const{dependentOnPromises:n=[]}=e;b(n)&&u(e.source,e.callback)})}else console.error("resolveInitPromise - Promise does not exist",e)};function g(){const e=T();let n,i,t;const o={promises:{},scripts:{},version:2},s=o.promises;let a,c;return Object.keys(e).forEach(r=>{const o=e[r];(void 0===n||o.startTime<n)&&(n=Math.round(o.startTime)),(void 0===i||o.startTime>(i||0))&&(i=Math.round(o.startTime),c=r),(void 0===t||o.endTime>t)&&(t=Math.round(o.endTime),a=r);const{startTime:d,endTime:l}=o;s[r]=[Math.round(d),Math.round(l)]}),Object.keys(r().alreadyRunScriptsObj).forEach(e=>{const n=r().alreadyRunScriptsObj[e];o.scripts[e]=[Math.round(n.startTime),Math.round(n.endTime)]}),o.earliestStartTime=n,o.latestEndTime=t,o.totalEarliestToLatest=(t||0)-(n||0),o.finishedLast=a,o.startedLast=c,o}const y=(e,n,i=[],t=[])=>{const o=i.filter(e=>e);0===N()||b(t)?(o.some(e=>!r().alreadyRunScriptsObj[e])?r().callbacksAfterDependenciesFinished.push({source:e,callback:n,dependentOnScripts:o}):u(e,n),d(u)):r().deferredCallbacks.push({source:e,callback:n,dependentOnScripts:o,dependentOnPromises:t})};!function(){if(window.mondayHelpers=window.mondayHelpers||{},!window.mondayHelpers.deferredInit){const r={deferInitPromisesStatus:{},deferredCallbacks:[],manualHandledScripts:{},callbacksAfterDependenciesFinished:[],alreadyRunScriptsObj:{},alreadyStartedScriptsSet:new Set,deferredScripts:n,SKIP_SCRIPT_FINISH:e,criticalError:!1,addInitPromise:E,getUnresolvedPromisesCount:N,resolveInitPromise:S,areAllPromises
1Resolved:b,markScriptAsFinished:m,manuallyMarkScriptAsStarted:f,getSysLoadEventData:g,deferStartup:y,runAfterDependencies:w,waitForDependencies:I,runAfterBigBrainInitialized:_,printWaiting:c};window.mondayHelpers.deferredInit=r}}()})()})();

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.