PageSourceSearch

https://webstatic.chargebee.com/assets/web/20260924074434/scripts/application-v3.min.js

js chargebee.com collected 2026-09-24 15:15:13 UTC 16,481 bytes, 1 lines download raw bytes

1const Utils={getParameterByName(e){const t=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),o=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(location.search);return null===o?"":decodeURIComponent(o[1].replace(/\+/g," "))},checkParams:()=>/[?&]/g.test(location.search),setCookie(e,t,o=90){const n=new Date;n.setTime(n.getTime()+24*o*60*60*1e3);const i="expires="+n.toUTCString();document.cookie=`${e}=${t};${i};path=/`},getCookie(e){const t=e+"=",o=document.cookie.split(";");for(let e of o)if(e=e.trim(),0===e.indexOf(t))return e.substring(t.length);return""},safeExecute:(e,t)=>e&&"function"==typeof t?t(e):null,throttle(e,t){let o;return function(){const n=arguments,i=this;o||(e.apply(i,n),o=!0,setTimeout((()=>o=!1),t))}},debounce(e,t){let o;return function(...n){clearTimeout(o),o=setTimeout((()=>e.apply(this,n)),t)}}},DOM={ready(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)},addClass:(e,t)=>Utils.safeExecute(e,(e=>e.classList.add(t))),removeClass:(e,t)=>Utils.safeExecute(e,(e=>e.classList.remove(t))),hasClass:(e,t)=>e?.classList?.contains(t)||!1,toggle:(e,t=!0)=>Utils.safeExecute(e,(e=>{e.style.display=t?"":"none"})),hide:e=>DOM.toggle(e,!1),show:e=>DOM.toggle(e,!0),dimensions(e){if(!e)return{width:0,height:0,top:0,left:0};const t=e.getBoundingClientRect(),o=getComputedStyle(e);return{width:t.width+parseFloat(o.marginLeft)+parseFloat(o.marginRight),height:t.height+parseFloat(o.marginTop)+parseFloat(o.marginBottom),top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},animate(e,t,o=400,n="ease"){if(!e)return;const i=Object.keys(t).map((e=>`${e} ${o}ms ${n}`));e.style.transition=i.join(", "),Object.assign(e.style,t),setTimeout((()=>e.style.transition=""),o)},attr:(e,t,o)=>e?void 0!==o?(e.setAttribute(t,o),e):e.getAttribute(t):null,removeAttr(e,t){e?.removeAttribute(t)},val:(e,t)=>e?void 0!==t?(e.value=t,e):e.value:null,css:(e,t,o)=>e?"object"==typeof t?(Object.assign(e.style,t),e):void 0!==o?(e.style[t]=o,e):getComputedStyle(e)[t]:null,find:(e,t)=>e?.querySelector(t)||null,findAll:(e,t)=>e?Array.from(e.querySelectorAll(t)):[],parent(e,t){let o=e?.parentElement;for(;o;){if(!t||o.matches(t))return o;o=o.parentElement}return null},prevSiblings(e,t){const o=[];let n=e?.previousElementSibling;for(;n;)t&&!n.matches(t)||o.push(n),n=n.previousElementSibling;return o},on(e,t,o){e?.addEventListener(t,o)},scrollTo:(e,t)=>e?void 0!==t?(e===window||e===document?window.scrollTo(window.pageXOffset,t):e.scrollTop=t,e):e===window||e===document?window.pageYOffset:e.scrollTop:0},Cookie=(()=>{const e={defaults:{},raw:!1,json:!1},t=/\+/g;function o(t){return e.raw?t:encodeURIComponent(t)}function n(t){return o(e.json?JSON.stringify(t):String(t))}function i(o,n){const i=e.raw?o:function(o){0===o.indexOf('"')&&(o=o.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return o=decodeURIComponent(o.replace(t," ")),e.json?JSON.parse(o):o}catch(e){return}}(o);return"function"==typeof n?n(i):i}function s(t,s,r={}){if(void 0!==s&&"function"!=typeof s){if("number"==typeof(r={...e.defaults,...r}).expires){const e=r.expires,t=new Date;t.setTime(t.getTime()+864e5*e),r.expires=t}const i=[o(t),"=",n(s),r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("");return document.cookie=i}const a=t?void 0:{},c=document.cookie?document.cookie.split("; "):[];for(const o of c){const n=o.split("="),r=(l=n.shift(),e.raw?l:decodeURIComponent(l)),c=n.join("=");if(t&&t===r)return i(c,s);if(!t){const e=i(c);void 0!==e&&(a[r]=e)}}var l;return a}return{cookie:s,removeCookie:function(e,t={}){return void 0!==s(e)&&(s(e,"",{...t,expires:-1}),!s(e))},config:e}})(),MarketoHandler={formMessages:{36:"Thanks for submitting the form!",808:"Thank you for your submission! We'll be sending you more details about the event soon. Stay tuned!",1826:"Thank you for your submission, a team member will reach out shortly. We look forward to connecting at Dreamforce!",1832:"Your registration is confirmed. We look forward to meeting you!",1852:"Your registration is confirmed. We look forward to meeting you!",1828:"Thank y
1ou for your submission. Pick up your card from Chargebee at Booth #202. We look forward to seeing you at the event!",1017:"Thank you! Report en route—check your inbox shortly.",1020:"Thank you for registering. Keep an eye on your email for more details as the conference approaches. We're thrilled you'll be joining us at Beelieve '25!",1612:"Thank you! Report en route—check your inbox shortly.",1919:"We have received your submission and will follow up with more information about the events."},destyleForm(e,t=!1){const o=e.getFormElem()[0];if(!o)return;[...o.querySelectorAll("[style]"),o].forEach((e=>e?.removeAttribute?.("style"))),[...document.styleSheets].forEach((e=>{e?.ownerNode&&([window.mktoForms2BaseStyle,window.mktoForms2ThemeStyle].includes(e.ownerNode)||o.contains(e.ownerNode))&&(e.disabled=!0)})),t||(o.setAttribute("data-styles-ready","true"),console.log("Styles ready at: "+performance.now()))},setupFormFields(e){const t={latestreferralURL:document.referrer,latestMediumSource:`${Utils.getCookie("cb_medium")}/${Utils.getCookie("cb_source")}`};e.addHiddenFields(t)},setupSpecialForms(e){const t=e.getId();1828===t&&this.setupTermsForm(e),Object.keys(this.formMessages).map(Number).includes(t)&&this.setupSuccessHandler(e)},setupTermsForm(e){const t={openTerms:document.getElementById("openTerms"),termsContentClose:document.getElementById("termsContentClose"),termsContent:document.querySelector(".mktoFormTermsContent")};t.openTerms&&DOM.on(t.openTerms,"click",(()=>{MarketoHandler.showTermsModal(t)})),t.termsContentClose&&DOM.on(t.termsContentClose,"click",(()=>{MarketoHandler.hideTermsModal(t,!0)}))},showTermsModal(e){DOM.scrollTo(window,0),e.termsContent&&DOM.css(e.termsContent,"display","grid"),DOM.css(document.documentElement,"overflow","hidden"),DOM.css(document.body,"overflow","hidden")},hideTermsModal(e,t){e.termsContent&&DOM.hide(e.termsContent),document.documentElement.removeAttribute("style"),document.body.removeAttribute("style");const o=document.getElementById("mktoForm_1828");if(o){const e=DOM.dimensions(o).top;DOM.scrollTo(window,e)}},setupSuccessHandler(e){const t=e.getId();e.onSuccess((()=>{const e=document.getElementById(`mktoForm_${t}`),o=document.querySelector(".rc-form__footer");if(e&&this.formMessages[t]){e.innerHTML=this.formMessages[t];const o=e.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop;window.scrollTo({top:o.top+n-40,behavior:"smooth"})}return o&&DOM.hide(o),!1}))},initializeMktoForms(){console.log("Loading Marketo Form..."),MktoForms2.whenReady((e=>{this.setupFormFields(e),this.setupSpecialForms(e),this.destyleForm(e)})),MktoForms2.whenRendered((e=>{this.destyleForm(e)}))},init(){let e=document.createElement("script");e.src="https://go.chargebee.com/js/forms2/js/forms2.min.js",document.body.appendChild(e),e.addEventListener("load",(()=>{console.log("Marketo Forms script loaded"),this.initializeMktoForms();const e=new CustomEvent("mktoForms2Ready",{detail:{MktoForms2:window.MktoForms2}});window.dispatchEvent(e)}))}},ResponsiveContent={breakpoints:{mobile:992,tablet:768},isMobile(){return window.innerWidth<this.breakpoints.mobile},restrictMobileContent(){if(!this.isMobile())return void this.resetMobileRestrictions();const e=document.querySelectorAll("[cb-mob-restrict]");e.length&&(e.forEach((e=>{const t=DOM.dimensions(e).height,o=parseInt(DOM.attr(e,"cb-mob-restrict-height"))||260,n=DOM.find(e,"[cb-mob-more]");t>=o?(DOM.css(e,{height:`${o}px`,overflow:"hidden"}),n&&DOM.show(n)):(DOM.css(e,{height:"auto",maxHeight:"none"}),n&&DOM.hide(n))})),this.setupMoreButtons())},setupMoreButtons(){const e=document.querySelectorAll("[cb-mob-more]");e.length&&e.forEach((e=>{const t=e.cloneNode(!0);e.parentNode.replaceChild(t,e),DOM.on(t,"click",(function(){DOM.hide(this);const e=DOM.parent(this,"[cb-mob-restrict]");e&&DOM.css(e,{height:"auto",maxHeight:"none"})}))}))},resetMobileRestrictions(){const e=document.querySelectorAll("[cb-mob-restrict]"),t=document.querySelectorAll("[cb-mob-more]");e.length&&(e.forEach((e=>{DOM.css(e,{height:"auto",maxHeight:"none"})})),t.forEach(DOM.hide))},handleContentMovement(){const e=document.querySelectorAll("[move_this]");if(!e.length)return;const t="undefined"!=typeof uri&&"/"===uri?this.breakpoints.tablet:this.breakpoints.mobile;window.innerWidth<t?this.moveContentToMobile(e):this.moveContentToDesktop()}
1,moveContentToMobile(e){e.forEach((e=>{if(e.innerHTML.trim()){const t=DOM.parent(e,"[with_in_this_section]"),o=t?DOM.find(t,"[move_here]"):null;o&&(o.innerHTML=e.innerHTML,e.innerHTML="")}}))},moveContentToDesktop(){const e=document.querySelectorAll("[move_here]");e.length&&e.forEach((e=>{if(e.innerHTML.trim()){const t=DOM.parent(e,"[with_in_this_section]"),o=t?DOM.find(t,"[move_this]"):null;o&&(o.innerHTML=e.innerHTML,e.innerHTML="")}}))},init(){this.restrictMobileContent(),this.handleContentMovement();const e=Utils.debounce((()=>{this.restrictMobileContent(),this.handleContentMovement()}),250);window.addEventListener("resize",e),window.addEventListener("orientationchange",e)}},VerticalTabs={isDesktop:()=>window.innerWidth>991,initializeTabs(){const e=document.querySelectorAll("[cb-vtab-content]"),t=document.querySelector("[cb-vtab-content]:first-child"),o=document.querySelector("[cb-vtab] [cb-vtab-item-bg]"),n=document.querySelector("[cb-vtab-item]:first-child");e.forEach(DOM.hide),t&&DOM.show(t),o&&n&&DOM.css(o,"width",`${DOM.dimensions(n).width}px`),this.isDesktop()?this.setupDesktopTabs():this.setupMobileTabs()},setupDesktopTabs(){const e=document.querySelector("[cb-vtab-selectbox]"),t=document.querySelector("[cb-vtab-items]"),o=document.querySelector("[cb-vtab] [cb-vtab-item-bg]"),n=document.querySelector("[cb-vtab-item]:first-child");e&&DOM.hide(e),t&&DOM.show(t),o&&DOM.show(o);document.querySelectorAll("[cb-vtab-item]").forEach((e=>DOM.removeAttr(e,"cb-vtab-item-selected"))),n&&DOM.attr(n,"cb-vtab-item-selected",""),o&&DOM.css(o,"transform","translateX(0)"),this.bindDesktopClickHandlers()},bindDesktopClickHandlers(){document.querySelectorAll("[cb-vtab-item]").forEach((e=>{const t=e.cloneNode(!0);e.parentNode.replaceChild(t,e),DOM.on(t,"click",(function(){VerticalTabs.handleDesktopTabClick(this)}))}))},handleDesktopTabClick(e){const t=DOM.parent(e,"[cb-vtab]");if(!t)return;const o=DOM.find(t,"[cb-vtab-item-bg]"),n=DOM.findAll(t,"[cb-vtab-item]"),i=DOM.findAll(t,"[cb-vtab-contents] [cb-vtab-content]");o&&DOM.css(o,"width",`${DOM.dimensions(e).width}px`),n.forEach((e=>DOM.removeAttr(e,"cb-vtab-item-selected"))),DOM.attr(e,"cb-vtab-item-selected",""),i.forEach(DOM.hide);const s=DOM.find(t,`[cb-vtab-contents] [cb-vtab-content="${DOM.attr(e,"cb-vtab-item")}"]`);s&&DOM.show(s);const r=DOM.prevSiblings(e,"[cb-vtab-item]").reduce(((e,t)=>e+DOM.dimensions(t).width),0);o&&DOM.css(o,"transform",`translateX(${r}px)`)},setupMobileTabs(){const e=document.querySelector("[cb-vtab-selectbox]"),t=document.querySelector("[cb-vtab-items]"),o=document.querySelector("[cb-vtab] [cb-vtab-item-bg]"),n=document.querySelector("[cb-vtab-selectbox] option:first-child");e&&DOM.show(e),t&&DOM.hide(t),o&&DOM.hide(o),e&&n&&DOM.val(e,DOM.val(n)),e&&DOM.on(e,"change",(function(){VerticalTabs.handleMobileTabChange(this)}))},handleMobileTabChange(e){const t=DOM.parent(e,"[cb-vtab]");if(!t)return;const o=DOM.findAll(t,"[cb-vtab-contents] [cb-vtab-content]"),n=DOM.find(t,`[cb-vtab-contents] [cb-vtab-content="${e.value}"]`);o.forEach(DOM.hide),n&&DOM.show(n)},init(){this.initializeTabs();const e=Utils.debounce((()=>{this.initializeTabs()}),250);window.addEventListener("resize",e),window.addEventListener("orientationchange",e)}},VisualEffects={setupScrollReveal(){const e=Utils.throttle((()=>{const e=window.pageYOffset,t=1.1*window.innerHeight;document.querySelectorAll(".revealOnScroll:not(.animate)").forEach((o=>{const n=DOM.dimensions(o).top;if(e+t>n){const e=DOM.attr(o,"data-animate")||"";DOM.addClass(o,"animate"),e&&DOM.addClass(o,e)}}))}),100);window.addEventListener("scroll",e,{passive:!0})},setupLazyLoading(){if(window.innerWidth>991){const e=document.querySelector("img[data-src]:first-of-type");e&&this.loadImage(e)}window.addEventListener("scroll",(()=>{document.querySelectorAll("img[data-src]").forEach((e=>this.loadImage(e)))}),{once:!0,passive:!0})},loadImage(e){const t=DOM.attr(e,"data-src");t&&(DOM.attr(e,"src",t),DOM.addClass(e,"fancy"),DOM.removeAttr(e,"data-src"))},handleHashNavigation(){if(!window.location.hash)return;const e=document.querySelector(window.location.hash);if(e){const t=DOM.dimensions(e).top-50;DOM.animate(document.documentElement,{scrollTop:`${t}px`},50),DOM.animate(document.body,{scrollTop:`${t}px`},50)}},init(){this.setupScrollReveal(),this.setupLazyLoading(),this.handleHashNavigation()}},App={initializeClientTracking(){if(void 0!==Cookie.cookie&&!Cookie.cookie("_0")){const e=`${Date.now().toString(16)}-${Math.floor(Math.random()*Math.pow(2,32)).toString(16)}`,t=new Date;t.setFullYear(t.getFullYear()+5);const o=window.location.hostname.substring(window.location.hostname.lastIndexOf(".",window.location.hostname.lastIndexOf(".")-1)+1);document.cookie=`_0=${e}; domain=${o}; path=/;expires=${t.toUTCString()}`;const n=document.createElement("img");Object.assign(n,{alt:"client-id-img",id:"client-id-img",src:"https://www.chargebee.com/static/resources/square.png"}),document.body.appendChild(n)}},updateCustomerCount(){document.querySelectorAll(".customerCount").forEach((e=>{e.innerHTML="6,500+"}))},setupModalAutofocus(){document.addEventListener("show.bs.modal",(e=>{const t=e.target?.querySelector("[autofocus]");t&&setTimeout((()=>t.focus()),100)}))},handleSpecialUrls(){if("icp"===Utils.getParameterByName("from")){const e=document.getElementById("icp-navigation");if(e){const t='\n                    <div style="margin-top: 60px">\n                        Check out the complete blueprint to becoming a modern finance leader \n                        <a style="color: #000ff0; font-weight:500;" href="/resources/strategic-finance/" target="_blank">here</a>\n                    </div>\n                ';e.insertAdjacentHTML("beforeend",t)}}},setupUtmTracking(){if("undefined"==typeof Storage||!Utils.checkParams())return;Object.entries({utm_source:"cb_source",utm_medium:"cb_medium",utm_campaign:"cb_campaign",utm_content:"cb_content",utm_keyword:"cb_keyword",utm_term:"cb_term",gclid:"cb_gclid",utm_adgroupid:"cb_adgroupid",utm_campaignid:"cb_campaignid",adgroupid:"adgroupid",campaignid:"campaignid"}
1).forEach((([e,t])=>{const o=Utils.getParameterByName(e);o&&Utils.setCookie(t,o)}))},setupGoogleTracking(){window.google_conversion_id=979719580,window.google_custom_params=window.google_tag_params,window.google_remarketing_only=!0},init(){this.initializeClientTracking(),this.updateCustomerCount(),this.setupModalAutofocus(),this.handleSpecialUrls(),this.setupUtmTracking(),this.setupGoogleTracking(),this.initializeModules()},initializeModules(){[{name:"MarketoHandler",selector:'form[id^="mktoForm"]',handler:MarketoHandler},{name:"ResponsiveContent",selectors:["[cb-mob-restrict]","[move_this]","[move_here]","[with_in_this_section]","[cb-mob-more]"],handler:ResponsiveContent},{name:"VerticalTabs",selector:"[cb-vtab-content]",handler:VerticalTabs},{name:"VisualEffects",selector:".revealOnScroll",handler:VisualEffects}].forEach((e=>{try{let t=!1;e.selector?t=null!==document.querySelector(e.selector):e.selectors&&(t=e.selectors.some((e=>null!==document.querySelector(e)))),t&&e.handler?.init&&e.handler.init()}catch(t){console.warn(`Failed to initialize ${e.name}:`,t)}}))}};Object.assign(window,{cookie:Cookie.cookie,removeCookie:Cookie.removeCookie,getParameterByName:Utils.getParameterByName,checkParams:Utils.checkParams,setCookie:Utils.setCookie,getCookie:Utils.getCookie,ready:DOM.ready,addClass:DOM.addClass,removeClass:DOM.removeClass,hasClass:DOM.hasClass,hide:DOM.hide,show:DOM.show,outerWidth:e=>DOM.dimensions(e).width,outerHeight:e=>DOM.dimensions(e).height,offset:e=>
1({top:DOM.dimensions(e).top,left:DOM.dimensions(e).left}),animate:DOM.animate,replaceWith:(e,t)=>{e&&(e.innerHTML=t)},append:(e,t)=>{e&&e.insertAdjacentHTML("beforeend",t)},attr:DOM.attr,removeAttr:DOM.removeAttr,val:DOM.val,css:DOM.css,parents:DOM.parent,find:DOM.find,findAll:DOM.findAll,prevAll:DOM.prevSiblings,on:DOM.on,scrollTop:DOM.scrollTo}),DOM.ready((()=>{App.init()}));

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.