1var module_208987116825=void function(){function RisePricingPlansModule(moduleEl){const group=label=>console.groupCollapsed(label),groupEnd=()=>console.groupEnd(),qs=(root,sel)=>(root||document).querySelector(sel),qsa=(root,sel)=>Array.from((root||document).querySelectorAll(sel)),clamp=(n,min,max)=>Math.max(min,Math.min(max,n)),raf=fn=>requestAnimationFrame(fn),isMobile=()=>window.matchMedia("(max-width: 767px)").matches,blob=qs(document,`#${moduleEl.id}-data`);if(!blob)return;let data;try{data=JSON.parse(blob.textContent)}catch{return}const current=()=>data[state.industry],state={industry:moduleEl.dataset.initialIndustry||"k_12",basic:{term:"yearly",qty:1},advanced:{term:"yearly",qty:1},enterprise:{stdQty:1,displaysQty:1,schoolsQty:1},modalOpen:!1},qtyBand=q=>q<=10?"one_to_ten_per_display_price":q<=69?"eleven_per_display_price":q<=199?"seventy_per_display_price":"two_hundred_per_display_price",dom={industry:{k12:qs(moduleEl,"#k-12-toggle"),higher:qs(moduleEl,"#higher-ed-toggle")||qs(moduleEl,"#higer-ed-toggle"),other:qs(moduleEl,"#biz-gov-other-toggle"),mobileSelect:qs(moduleEl,`#${moduleEl.id}-industry-select`),mobileIcon:qs(moduleEl,'[data-role="mobile-industry-icon"]'),cardBadges:qsa(moduleEl,'[data-role="industry-card-badge"]'),cardIcons:qsa(moduleEl,'[data-role="industry-card-icon"]')},tiles:{basic:qs(moduleEl,".tier-basic"),advanced:qs(moduleEl,".tier-advanced"),enterprise:qs(moduleEl,".tier-enterprise")},binds:{basicDesc:qs(moduleEl,'[data-bind="basic.description"]'),advDesc:qs(moduleEl,'[data-bind="advanced.description"]'),entDesc:qs(moduleEl,'[data-bind="enterprise.description"]'),basicSav:qs(moduleEl,'[data-bind="basic.savings"]'),advSav:qs(moduleEl,'[data-bind="advanced.savings"]'),basicPrice:qs(moduleEl,'[data-bind="basic.price"]'),advPrice:qs(moduleEl,'[data-bind="advanced.price"]'),basicTerm:qs(moduleEl,'[data-bind="basic.term-label"]'),advTerm:qs(moduleEl,'[data-bind="advanced.term-label"]'),entStdPrice:qs(moduleEl,'[data-bind="enterprise.stdPrice"]'),entDispPrice:qs(moduleEl,'[data-bind="enterprise.displayPrice"]'),entSchPrice:qs(moduleEl,'[data-bind="enterprise.schoolPrice"]'),basicQty:qs(moduleEl,'[data-bind="basic.qty"]'),advQty:qs(moduleEl,'[data-bind="advanced.qty"]'),entStdQty:qs(moduleEl,'[data-bind="enterprise.stdQty"]'),entDispQty:qs(moduleEl,'[data-bind="enterprise.displaysQty"]'),entSchQty:qs(moduleEl,'[data-bind="enterprise.schoolsQty"]')},ent:{k12:qs(moduleEl,'[data-section="enterprise-k12"]'),std:qs(moduleEl,'[data-section="enterprise-standard"]'),yearOnly:qs(moduleEl,'[data-bind="enterprise.yearOnly"]'),bestValueBadge:qs(moduleEl,".tier-enterprise .best-value-badge")},features:{basicBlock:qs(moduleEl,'[data-role="features"][data-tier="basic"]'),advBlock:qs(moduleEl,'[data-role="features"][data-tier="advanced"]'),entBlock:qs(moduleEl,'[data-role="features"][data-tier="enterprise"]')},modal:{root:qs(document,`#${moduleEl.id}-modal`),overlay:qs(document,`#${moduleEl.id}-modal [data-role="modal-overlay"]`),container:qs(document,`#${moduleEl.id}-modal [data-role="modal-container"]`),panel:qs(document,`#${moduleEl.id}-modal [data-role="modal-panel"]`),closeBtn:qs(document,`#${moduleEl.id}-modal [data-role="modal-close"]`),openers:qsa(moduleEl,".button-pricing")}};function setText(el,v){el&&(el.textContent=v||"")}function rewriteStandardFeatures(blockEl,items){if(!blockEl)return;let stdUl=qs(blockEl,'ul.std-features[data-role="feature-list"]');if(stdUl||(stdUl=document.createElement("ul"),blockEl.insertBefore(stdUl,blockEl.firstChild)),stdUl.innerHTML="",!items||!items.length)return stdUl.className="std-features",stdUl.setAttribute("data-role","feature-list"),void(stdUl.innerHTML='<li class="leading-6 text-rise-gray-700">â</li>');stdUl.classList.add("std-features"),stdUl.setAttribute("data-role","feature-list"),items.forEach(txt=>{const li=document.createElement("li");li.className="leading-6 text-rise-gray-700",li.setAttribute("data-feature",""),li.textContent=txt,stdUl.appendChild(li)})}function renderAiCreditsSections(tierKey,rows){const wrap=qs(moduleEl,`[data-role="${tierKey}-ai-credits"]`);if(!wrap)return;wrap.innerHTML="";const valid=(Array.isArray(rows)?rows:[]).filter(item=>{if(!item)return!1;const heading=String(item.heading||"").trim(),content=String(item.content||"").trim();return!(!heading&&!content)});
1valid.length?(wrap.classList.remove("hidden"),valid.forEach(item=>{const row=document.createElement("div");row.className="ai-credits-section";const heading=String(item.heading||"").trim(),content=String(item.content||"").trim();if(heading){const headingEl=document.createElement("div");headingEl.className="ai-credits-heading",headingEl.textContent=heading,row.appendChild(headingEl)}if(content){const contentEl=document.createElement("div");contentEl.className="ai-credits-content",contentEl.innerHTML=content,row.appendChild(contentEl)}wrap.appendChild(row)})):wrap.classList.add("hidden")}function animateUnlimitedAccordion(expand){const toggle=qs(dom.features.entBlock,'[data-role="unlimited-license-toggle"]'),panel=qs(dom.features.entBlock,'[data-bind="enterprise.unlimited-license-content"]'),icon=qs(dom.features.entBlock,'[data-role="unlimited-license-icon"]');if(!toggle||!panel)return;if(panel.__animating)return;panel.__animating=!0;const easing="cubic-bezier(0.4, 0, 0.2, 1)";toggle.setAttribute("aria-expanded",expand?"true":"false"),icon&&(icon.style.transform=expand?"rotate(180deg)":"rotate(0deg)"),panel.style.overflow="hidden",panel.style.transition="",panel.style.height="",panel.style.opacity="";const onEnd=evt=>{evt&&evt.target!==panel||(expand||panel.classList.add("hidden"),panel.removeEventListener("transitionend",onEnd),panel.style.transition="",panel.style.height="",panel.style.opacity="",panel.style.overflow="",panel.__animating=!1,equalizeAllHeights())};if(panel.addEventListener("transitionend",onEnd),expand){panel.classList.remove("hidden"),panel.style.height="0px",panel.style.opacity="0",panel.offsetHeight;const target=panel.scrollHeight;panel.style.transition=`height 380ms ${easing}, opacity 380ms ${easing}`,panel.style.height=`${Math.ceil(target)}px`,panel.style.opacity="1"}else{panel.classList.remove("hidden");const start=Math.ceil(panel.getBoundingClientRect().height||panel.scrollHeight);panel.style.height=`${start}px`,panel.style.opacity="1",panel.offsetHeight,panel.style.transition=`height 380ms ${easing}, opacity 380ms ${easing}`,panel.style.height="0px",panel.style.opacity="0"}}function renderUnlimitedLicenseAccordion(ind){const wrap=qs(dom.features.entBlock,'[data-role="unlimited-license-accordion"]'),title=qs(dom.features.entBlock,'[data-bind="enterprise.unlimited-license-title"]'),content=qs(dom.features.entBlock,'[data-bind="enterprise.unlimited-license-content"] .unlimited-license-accordion-panel-inner');if(!wrap||!title||!content)return;const accTitle=ind&&ind.enterprise_tier&&ind.enterprise_tier.unlimited_license_accordion_title||"",accContent=ind&&ind.enterprise_tier&&ind.enterprise_tier.unlimited_license_accordion_content||"",hasAccordion=!(!String(accTitle).trim()&&!String(accContent).trim());var el,v;wrap.classList.toggle("hidden",!hasAccordion),setText(title,accTitle),v=accContent,(el=content)&&(el.innerHTML=v||""),function(expanded){const toggle=qs(dom.features.entBlock,'[data-role="unlimited-license-toggle"]'),panel=qs(dom.features.entBlock,'[data-bind="enterprise.unlimited-license-content"]'),icon=qs(dom.features.entBlock,'[data-role="unlimited-license-icon"]');toggle&&panel&&(toggle.setAttribute("aria-expanded",expanded?"true":"false"),panel.classList.toggle("hidden",!expanded),panel.style.height="",panel.style.opacity="",panel.style.overflow="",panel.style.transition="",icon&&(icon.style.transform=expanded?"rotate(180deg)":"rotate(0deg)"))}(!1)}
1function renderStaticCopy(){group("renderStaticCopy");const ind=current();setText(dom.binds.basicDesc,ind.basic_tier.tier_description),setText(dom.binds.advDesc,ind.advanced_tier.tier_description),setText(dom.binds.entDesc,ind.enterprise_tier.tier_description),setText(dom.binds.basicSav,ind.basic_tier.yearly_savings_pill_text),setText(dom.binds.advSav,ind.advanced_tier.yearly_savings_pill_text);const basicHead=qs(dom.features.basicBlock,".features-heading"),advHead=qs(dom.features.advBlock,".features-heading"),entHead=qs(dom.features.entBlock,".features-heading");setText(basicHead,ind.basic_tier.features_heading),setText(advHead,ind.advanced_tier.features_heading),setText(entHead,ind.enterprise_tier.features_heading),rewriteStandardFeatures(dom.features.basicBlock,ind.basic_tier.features||[]),rewriteStandardFeatures(dom.features.advBlock,ind.advanced_tier.features||[]),rewriteStandardFeatures(dom.features.entBlock,ind.enterprise_tier.features||[]),renderAiCreditsSections("basic",ind.basic_tier.ai_credits_sections),renderAiCreditsSections("advanced",ind.advanced_tier.ai_credits_sections),renderAiCreditsSections("enterprise",ind.enterprise_tier.ai_credits_sections),renderUnlimitedLicenseAccordion(ind),function(){const ind=current(),src=(ind&&ind.toggle_icon?ind.toggle_icon:{}).src||"",hasIcon=!!src;dom.industry.cardBadges.forEach(badge=>badge.classList.toggle("hidden",!hasIcon)),dom.industry.cardIcons.forEach(img=>{hasIcon&&(img.src=src)}),dom.industry.mobileIcon&&(dom.industry.mobileIcon.classList.toggle("hidden",!hasIcon),hasIcon&&(dom.industry.mobileIcon.src=src)),dom.industry.mobileSelect&&(dom.industry.mobileSelect.value=state.industry)}(),groupEnd()}function setPriceSpan(spanEl,value){spanEl&&setTimeout(()=>{spanEl.textContent=(n=>{const v=Number(n);return Number.isFinite(v)?Math.round(v).toLocaleString("en-US"):"0"})(value)},0)}function renderNumbers(){group("renderNumbers"),dom.binds.basicQty&&(dom.binds.basicQty.textContent=String(state.basic.qty)),dom.binds.basicPrice&&setPriceSpan(dom.binds.basicPrice,(()=>{const ind=current(),grp="monthly"===state.basic.term?ind.basic_tier.monthly_pricing:ind.basic_t
1ier.yearly_pricing;return Number(grp[qtyBand(state.basic.qty)])||0})()),dom.binds.basicTerm&&(dom.binds.basicTerm.textContent="monthly"===state.basic.term?"month":"year");const bM=qs(dom.tiles.basic,".monthly-toggle"),bY=qs(dom.tiles.basic,".yearly-toggle");bM&&bY&&(bM.classList.toggle("active","monthly"===state.basic.term),bY.classList.toggle("active","yearly"===state.basic.term)),dom.binds.advQty&&(dom.binds.advQty.textContent=String(state.advanced.qty)),dom.binds.advPrice&&setPriceSpan(dom.binds.advPrice,(()=>{const ind=current(),grp="monthly"===state.advanced.term?ind.advanced_tier.monthly_pricing:ind.advanced_tier.yearly_pricing;return Number(grp[qtyBand(state.advanced.qty)])||0})()),dom.binds.advTerm&&(dom.binds.advTerm.textContent="monthly"===state.advanced.term?"month":"year");const aM=qs(dom.tiles.advanced,".monthly-toggle"),aY=qs(dom.tiles.advanced,".yearly-toggle");aM&&aY&&(aM.classList.toggle("active","monthly"===state.advanced.term),aY.classList.toggle("active","yearly"===state.advanced.term));const isK12="k_12"===state.industry;var q;dom.ent.k12&&dom.ent.k12.classList.toggle("hidden",!isK12),dom.ent.std&&dom.ent.std.classList.toggle("hidden",isK12),dom.ent.yearOnly&&dom.ent.yearOnly.classList.remove("hidden"),isK12?(dom.binds.entSchQty&&(dom.binds.entSchQty.textContent=String(state.enterprise.schoolsQty)),dom.binds.entDispQty&&(dom.binds.entDispQty.textContent=String(state.enterprise.displaysQty)),dom.binds.entSchPrice&&setPriceSpan(dom.binds.entSchPrice,Number(data.k_12.enterprise_tier.per_school_per_year_pricing[q=state.enterprise.schoolsQty,q<=1?"one_school_price":q<=3?"two_to_three_schools_price":q<=10?"four_to_ten_schools_price":"eleven_up_schools_price"])||0),dom.binds.entDispPrice&&setPriceSpan(dom.binds.entDispPrice,Number(data.k_12.enterprise_tier.per_display_per_month_pricing[qtyBand(state.enterprise.displaysQty)])||0)):(dom.binds.entStdQty&&(dom.binds.entStdQty.textContent=String(state.enterprise.stdQty)),dom.binds.entStdPrice&&setPriceSpan(dom.binds.entStdPrice,(()=>{const ind=current();return Number(ind.enterprise_tier.yearly_pricing[qtyBand(state.enterprise.stdQty)])||0})())),function(){const card=dom.tiles.enterprise;if(!card)return;
1card.classList.remove("shadow-[0_4px_20px_0_#A4CAFE]","shadow-[0_4px_20px_0_#EBF5FF]");const isK12="k_12"===state.industry,best=!!(data.k_12&&data.k_12.enterprise_tier&&data.k_12.enterprise_tier.add_best_value_label);card.classList.add(isK12&&best?"shadow-[0_4px_20px_0_#A4CAFE]":"shadow-[0_4px_20px_0_#EBF5FF]"),dom.ent.bestValueBadge&&dom.ent.bestValueBadge.classList.toggle("hidden",!(isK12&&best))}(),function(){const map=new Map([["k_12",dom.industry.k12],["higher_education_non_profit",dom.industry.higher],["business_government_other",dom.industry.other]]);map.forEach(btn=>{btn&&(btn.classList.remove("active"),btn.setAttribute("aria-selected","false"),btn.removeAttribute("aria-pressed"))});const activeBtn=map.get(state.industry);activeBtn&&(activeBtn.classList.add("active"),activeBtn.setAttribute("aria-selected","true"))}(),groupEnd()}function updateSliderMinHeight(){if(!splide||!splideRoot)return;const tiles=qsa(moduleEl,".pricing-tier");if(!tiles.length)return;let max=0;tiles.forEach(el=>{max=Math.max(max,el.getBoundingClientRect().height)});const track=splideRoot.querySelector(".splide__track"),list=splideRoot.querySelector(".splide__list"),h=`${Math.ceil(max)}px`;splideRoot&&(splideRoot.style.minHeight=h),track&&(track.style.minHeight=h),list&&(list.style.minHeight=h)}let eqPending=!1;function equalizeAllHeights(){eqPending||(eqPending=!0,requestAnimationFrame(()=>{const plansWrap=moduleEl.querySelector(".pricing-tiers");plansWrap&&plansWrap.style.setProperty("overflow-anchor","none"),function(){qsa(moduleEl,".pricing-tier-main").forEach(el=>el.style.minHeight=""),qsa(moduleEl,".pricing-tier_description").forEach(el=>{el.style.minHeight="",el.style.paddingBottom=""}),qsa(moduleEl,".pricing-tier_price").forEach(el=>{el.style.minHeight=""});const advToggle=qs(dom.tiles.advanced,".pricing-tier_term_toggle");advToggle&&(advToggle.style.minHeight="",advToggle.style.justifyContent="",advToggle.style.alignItems="",advToggle.style.flexDirection="");const entToggle=qs(dom.tiles.enterprise,".pricing-tier_term_toggle");entToggle&&(entToggle.style.minHeight="",entToggle.style.justifyContent="",entToggle.style.alignItems="",entToggle.style.flexDirection="");const entPrice=qs(dom.tiles.enterprise,".pricing-tier_price");entPrice&&(entPrice.style.marginTop=""),qsa(moduleEl,".pricing-tier").forEach(el=>el.style.minHeight="")}(),function(){const mains=qsa(moduleEl,".pricing-tier-main");let max=0;mains.forEach(el=>max=Math.max(max,el.getBoundingClientRect().height)),mains.forEach(el=>el.style.minHeight=`${Math.ceil(max)}px`)}(),function(){const basicDesc=qs(dom.tiles.basic,".pricing-tier_description"),advDesc=qs(dom.tiles.advanced,".pricing-tier_description"),entDesc=qs(dom.tiles.enterprise,".pricing-tier_description"),group=[basicDesc,advDesc].concat(entDesc?[entDesc]:[]).filter(Boolean);if(group.length<2)return;group.forEach(el=>{el.style.minHeight=""});const heights=group.map(el=>el.getBoundingClientRect().height),max=Math.max.apply(null,heights);group.forEach((el,i)=>{const h=heights[i];Math.abs(h-max)>.5?el.style.minHeight=`${Math.ceil(max)}px`:el.style.minHeight=`${Math.ceil(h)}px`})}(),function(){const stackHeight=tileEl=>{const term=qs(tileEl,".pricing-tier_term_toggle"),pill=qs(tileEl,".yearly-savings-pill");if(!term)return 0;const top=term.getBoundingClientRect().top,bottom=pill?pill.getBoundingClientRect().bottom:term.getBoundingClientRect().bottom;return Math.max(0,Math.round(bottom-top))},basicH=stackHeight(dom.tiles.basic),advH=stackHeight(dom.tiles.advanced),target=Math.max(basicH,advH),yearOnlyToggles=[qs(dom.tiles.advanced,".pricing-tier_term_toggle")];yearOnlyToggles.push(qs(dom.tiles.enterprise,".pricing-tier_term_toggle")),yearOnlyToggles.filter(Boolean).forEach(toggle=>{target<=0||(toggle.style.minHeight=`${target}px`,toggle.style.display="flex",toggle.style.flexDirection="column",toggle.style.justifyContent="center",toggle.style.alignItems="center")})}(),function(){if("k_12"!==state.industry)return;const getOffsetToQty=(tileEl,selector)=>{const mainTop=qs(tileEl,".pricing-tier-main-top")||qs(tileEl,".pricing-tier-main"),qty=qs(tileEl,selector);if(!mainTop||!qty)return 0;const topA=mainTop.getBoundingClientRect().top,topB=qty.getBoundingClientRect().top;return Math.max(0,Math.round(topB-topA))},basicOff=getOffsetToQty(dom.tiles.basic,'[data-role="qty"][data-target="basic"]'),advOff=getOffsetToQty(dom.tiles.advanced,'[data-role="qty"][data-target="advanced"]'),entOff=getOffsetToQty(dom.tiles.enterprise,'[data-role="qty"][data-target="enterprise-schools"]'),delta=Math.max(basicOff,advOff)-entOff,entPrice
1=qs(dom.tiles.enterprise,".pricing-tier_price");entPrice&&(entPrice.style.marginTop=delta>0?`${delta}px`:"")}(),function(){const ref=qs(dom.tiles.basic,".pricing-tier_price")||qs(dom.tiles.advanced,".pricing-tier_price"),ent=qs(dom.tiles.enterprise,".pricing-tier_price");if(!ref||!ent)return;const mt=window.getComputedStyle(ref).marginTop||"48px";ent.style.marginTop=mt}(),function(){if("k_12"===state.industry)return;const blocks=[qs(dom.tiles.basic,".pricing-tier_price"),qs(dom.tiles.advanced,".pricing-tier_price"),qs(dom.tiles.enterprise,".pricing-tier_price")].filter(Boolean);blocks.forEach(el=>el.style.minHeight="");let max=0;blocks.forEach(el=>max=Math.max(max,el.getBoundingClientRect().height)),blocks.forEach(el=>el.style.minHeight=`${Math.ceil(max)}px`)}(),function(){const tiles=qsa(moduleEl,".pricing-tier");tiles.forEach(el=>el.style.minHeight="");let max=0;tiles.forEach(el=>max=Math.max(max,el.getBoundingClientRect().height)),tiles.forEach(el=>el.style.minHeight=`${Math.ceil(max)}px`)}(),updateSliderMinHeight(),requestAnimationFrame(()=>{plansWrap&&plansWrap.style.removeProperty("overflow-anchor"),eqPending=!1})}))}function onEsc(e){"Escape"===e.key&&closeModal()}function closeModal(){if(!dom.modal.root||!state.modalOpen)return;const{overlay:overlay,panel:panel,root:root}=dom.modal;overlay&&(overlay.style.opacity="0",overlay.style.pointerEvents="none"),panel&&(panel.style.opacity="0",panel.style.transform="scale(0.95)"),document.documentElement.style.overflow="",document.body.style.overflow="",state.modalOpen=!1,root.setAttribute("aria-hidden","true"),setTimeout(()=>{!state.modalOpen&&root&&root.classList.add("hidden")},200)}function setSelectByName(root,name,wanted){if(!root||!wanted)return;const sel=root.querySelector(`select[name="${name}"]`);if(!sel)return;const want=String(wanted).trim().toLowerCase(),opt=Array.from(sel.options).find(o=>{const val=(o.value||"").trim().toLowerCase(),txt=(o.textContent||"").trim().toLowerCase();return val===want||txt===want});opt&&(sel.value=opt.value,sel.classList.remove("is-placeholder"),sel.dispatchEvent(new Event("input",{bubbles:!0})),sel.dispatchEvent(new Event("change",{bubbles:!0})))}function prefillQuoteForm({tierKey:tierKey,industryKey:industryKey},attempts=8){const form=dom.modal.panel&&dom.modal.panel.querySelector("form.hs-form, form.hs-form-private");if(!form)return void(attempts>0&&setTimeout(()=>prefillQuoteForm({tierKey:tierKey,industryKey:industryKey},attempts-1),125));const industryVal=function(industryKey){return"k_12"===industryKey?"K-12 Education":"higher_education_non_profit"===industryKey?"Higher Education":null}(industryKey);industryVal&&setSelectByName(form,"what_s_your_industry_",industryVal);const plan=function(tierKey){return tierKey?tierKey.charAt(0).toUpperCase()+tierKey.slice(1):null}(tierKey);plan&&setSelectByName(form,"what_plan_are_you_interested_in_",plan);const qty=function(tierKey){return"basic"===tierKey?state.basic.qty:"advanced"===tierKey?state.advanced.qty:"enterprise"===tierKey?"k_12"===state.industry?state.enterprise.displaysQty:state.enterprise.stdQty:""}(tierKey);qty&&function(root,name,value){if(!root)return;const inp=root.querySelector(`[name="${name}"]`);inp&&(inp.value=null!=value?String(value):"",inp.dispatchEvent(new Event("input",{bubbles:!0})),inp.dispatchEvent(new Event("change",{bubbles:!0})))}(form,"how_many_display_licenses_do_you_need_",qty)}function wireTermToggle(tileEl,tierKey){tileEl&&(qs(tileEl,'[data-role="term-toggle"]')||tileEl).addEventListener("click",e=>{const btn=e.target.closest("[data-term]");btn&&(state[tierKey].term="yearly"===btn.dataset.term?"yearly":"monthly",renderNumbers())})}function makeQtyEditable(qtyEl,get,set){qtyEl&&(qtyEl.setAttribute("contenteditable","true"),qtyEl.setAttribute("inputmode","numeric"),qtyEl.setAttribute("role","spinbutton"),qtyEl.setAttribute("aria-valuemin","1"),qtyEl.setAttribute("aria-valuemax","999"),qtyEl.addEventListener("beforeinput",e=>{e.data&&!/^\d+$/.test(e.data)&&e.preventDefault()}),qtyEl.addEventListener("input",()=>{const raw=qtyEl.textContent.replace(/[^\d]/g,"");if(""===raw)return;const v=clamp(parseInt(raw,10)||1,1,999);qtyEl.textContent=String(v),set(v),qtyEl.setAttribute("aria-valuenow",String(v)),renderNumbers(),function(el){try{const sel=window.getSelection(),range=document.createRange();range.selectNodeContents(el),range.collapse(!1),sel.removeAllRanges(),sel.addRange(range)}catch{}}(qtyEl)}),qtyEl.addEventListener("blur",()=>{let v=parseInt(qtyEl.textContent.replace(/[^\d]/g,""),10);(!v||v<1)&&(v=1),v=clamp(v,1,999),qtyEl.textContent=String(v),set(v),qtyEl.setAttribute("aria-valuenow",String(v)),renderNumbers()}),qtyEl.addEventListener("keydown",e=>{"Enter"===e.key&&e.preventDefault()}))}function wireQtyWrap(qtyWrap,get,set){qtyWrap&&(qtyWrap.addEventListener("click",e=>{const minus=e.target.closest(".minus-button"),plus=e.target.closest(".plus-button");if(!minus&&!plus)return;const cur=get(),next=clamp(cur+(plus?1:-1),1,999);set(next);const valEl=qs(qtyWrap,".quantity-value");valEl&&(valEl.textContent=String(next),valEl.setAttribute("aria-valuenow",String(next))),renderNumbers()}),makeQtyEditable(qs(qtyWrap,".quantity-value"),0,set))}let splide=null,splideRoot=null,customArrowsWrap=null,tiersInlineBackup=null;function setArrowDisabled(btn,disabled){btn&&(btn.classList.toggle("is-disabled",!!disabled),disabled?(btn.setAttribute("aria-disabled","true"),btn.setAttribute("disabled",""),btn.style.pointerEvents="none"):(btn.removeAttribute("aria-disabled"),btn.removeAttribute("disabled"),btn.style.pointerEvents=""))}
1function updateArrowState(){if(!splide||!customArrowsWrap)return;const prevBtn=qs(customArrowsWrap,".custom-prev"),nextBtn=qs(customArrowsWrap,".custom-next"),idx=splide.index||0,end=splide.Components.Controller.getEnd();setArrowDisabled(prevBtn,idx<=0),setArrowDisabled(nextBtn,idx>=end)}function initMobileSlider(){if(splide||!isMobile())return;if(!window.Splide)return;const tiersWrap=qs(moduleEl,".pricing-tiers");if(!tiersWrap)return;tiersInlineBackup||(tiersInlineBackup={display:tiersWrap.style.display||"",marginLeft:tiersWrap.style.marginLeft||"",marginRight:tiersWrap.style.marginRight||"",overflowX:tiersWrap.style.overflowX||""}),tiersWrap.style.display="block",tiersWrap.style.marginLeft="0",tiersWrap.style.marginRight="0",tiersWrap.style.overflowX="hidden";const cols=qsa(tiersWrap,":scope > div.w-full");if(!cols.length)return;splideRoot=document.createElement("div"),splideRoot.className="splide md:hidden",splideRoot.style.width="100%",splideRoot.style.overflow="hidden";const track=document.createElement("div");track.className="splide__track";const list=document.createElement("ul");list.className="splide__list",track.appendChild(list),splideRoot.appendChild(track),cols.forEach(col=>{const li=document.createElement("li");li.className="splide__slide",li.appendChild(col),list.appendChild(li)}),tiersWrap.appendChild(splideRoot),customArrowsWrap=function(){const wrap=document.createElement("div");return wrap.className="flex justify-center mt-6 gap-4 md:hidden",wrap.innerHTML='\n <button type="button" class="custom-prev cursor-pointer" aria-label="Previous slide">\n <div class="rounded-full h-13 w-13 bg-white border border-gray-alpha-30 p-4 flex justify-center items-center shadow-[0_25px_50px_-12px_rgba(0,0,0,0.05)]">\n <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">\n <path d="M15.8334 9.99967L4.16671 9.99967M4.16671 9.99967L10 15.833M4.16671 9.99967L10 4.16634" stroke="#111827" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>\n </svg>\n </div>\n </button>\n\n <button type="button" class="custom-next cursor-pointer" aria-label="Next slide">\n <div class="rounded-full h-13 w-13 bg-white border border-gray-alpha-30 p-4 flex justify-center items-center shadow-[0_25px_50px_-12px_rgba(0,0,0,0.05)]">\n <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">\n <path d="M4.16663 10.0003H15.8333M15.8333 10.0003L9.99996 4.16699M15.8333 10.0003L9.99996 15.8337" stroke="#111827" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>\n </svg>\n </div>\n </button>',wrap}(),tiersWrap.appendChild(customArrowsWrap),splide=new Splide(splideRoot,{type:"slide",perPage:1,perMove:1,arrows:!1,pagination:!1,drag:!0}),splide.on("mounted",()=>{updateArrowState(),raf(equalizeAllHeights)}),splide.on("move",()=>raf(equalizeAllHeights)),splide.on("moved",()=>{updateArrowState(),raf(equalizeAllHeights)}),splide.on("updated",()=>{updateArrowState(),raf(equalizeAllHeights)}),splide.mount();const prevBtn=qs(customArrowsWrap,".custom-prev"),nextBtn=qs(customArrowsWrap,".custom-next");prevBtn&&prevBtn.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),splide.index>0&&splide.go("<")}),nextBtn&&nextBtn.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation();const end=splide.Components.Controller.getEnd();splide.index<end&&splide.go(">")}),updateArrowState(),updateSliderMinHeight()}function handleResponsive(){isMobile()?initMobileSlider():function(){if(!splide)return;const tiersWrap=qs(moduleEl,".pricing-tiers");if(tiersWrap){try{splide.destroy(!0)}catch{}if(splide=null,qsa(splideRoot,".splide__slide").forEach(li=>{const col=li.firstElementChild;col&&tiersWrap.appendChild(col)}),customArrowsWrap&&customArrowsWrap.parentNode&&customArrowsWrap.parentNode.removeChild(customArrowsWrap),splideRoot&&splideRoot.parentNode&&splideRoot.parentNode.removeChild(splideRoot),splideRoot){const track=splideRoot.querySelector(".splide__track"),list=splideRoot.querySelector(".splide__list");splideRoot.style.minHeight="",track&&(track.style.minHeight=""),list&&(list.style.minHeight="")}splideRoot=null,tiersInlineBackup&&(tiersWrap.style.display=tiersInlineBackup.display,tiersWrap.style.marginLeft=tiersInlineBackup.marginLeft,tiersWrap.style.marginRight=tiersInlineBackup.marginRight,tiersWrap.style.overflowX=tiersInlineBackup.overflowX),raf(equalizeAllHeights)}}(),equalizeAllHeights()}function onResize(){handleResponsive()}let resizeTimer=null;window.addEventListener("resize",()=>{clearTimeout(resizeTimer),resizeTimer=setTimeout(onResize,120)}),function(){const mapBtn=new Map;dom.industry.k12&&mapBtn.set(dom.industry.k12,"k_12"),dom.industry.higher&&mapBtn.set(dom.industry.higher,"higher_education_non_profit"),dom.industry.other&&mapBtn.set(dom.industry.other,"business_government_other"),mapBtn.forEac
1h((key,btn)=>{btn.addEventListener("click",()=>{group("industry switch");const pre=window.scrollY;state.industry=key,renderStaticCopy(),renderNumbers(),raf(equalizeAllHeights),raf(()=>((...args)=>{console.log("[PricingPlans]",...args)})("industry switch scrollY Î:",window.scrollY-pre)),groupEnd()})})}(),wireTermToggle(dom.tiles.basic,"basic"),wireTermToggle(dom.tiles.advanced,"advanced"),wireQtyWrap(qs(dom.tiles.basic,'[data-role="qty"][data-target="basic"]'),()=>state.basic.qty,v=>state.basic.qty=v),wireQtyWrap(qs(dom.tiles.advanced,'[data-role="qty"][data-target="advanced"]'),()=>state.advanced.qty,v=>state.advanced.qty=v),wireQtyWrap(qs(dom.tiles.enterprise,'[data-role="qty"][data-target="enterprise-schools"]'),()=>state.enterprise.schoolsQty,v=>state.enterprise.schoolsQty=v),wireQtyWrap(qs(dom.tiles.enterprise,'[data-role="qty"][data-target="enterprise-displays"]'),()=>state.enterprise.displaysQty,v=>state.enterprise.displaysQty=v),wireQtyWrap(qs(dom.tiles.enterprise,'[data-role="qty"][data-target="enterprise-standard"]'),()=>state.enterprise.stdQty,v=>state.enterprise.stdQty=v),dom.modal.root&&(dom.modal.openers.forEach(btn=>{btn.addEventListener("click",e=>{e.preventDefault();const tierEl=e.currentTarget.closest(".pricing-tier"),tierKey=tierEl?tierEl.getAttribute("data-tier"):null;!function(){if(!dom.modal.root||state.modalOpen)return;const{overlay:overlay,panel:panel,root:root}=dom.modal;root.classList.remove("hidden"),root.setAttribute("aria-hidden","false"),overlay&&(overlay.style.pointerEvents="auto",overlay.style.opacity="1"),panel&&(panel.style.opacity="1",panel.style.transform="scale(1)"),document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden",state.modalOpen=!0;const focusable=panel&&panel.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');focusable&&focusable.focus({preventScroll:!0}),window.addEventListener("keydown",onEsc,{once:!0})}(),raf(()=>prefillQuoteForm({tierKey:tierKey,industryKey:state.industry}))})}),dom.modal.overlay&&dom.modal.overlay.addEventListener("click",closeModal),dom.modal.closeBtn&&dom.modal.closeBtn.addEventListener("click",closeModal)),function(){const toggle=qs(dom.features.entBlock,'[data-role="unlimited-license-toggle"]');toggle&&!toggle.__wired&&(toggle.__wired=!0,toggle.addEventListener("click",e=>{e.preventDefault(),animateUnlimitedAccordion(!("true"===toggle.getAttribute("aria-expanded")))}))}(),function(){const sel=dom.industry.mobileSelect;sel&&(sel.addEventListener("change",()=>{const v=sel.value,btn="k_12"===v?dom.industry.k12:"higher_education_non_profit"===v?dom.industry.higher:"business_government_other"===v?dom.industry.other:null;btn&&btn.click()}),"k_12"!==sel.value&&(sel.value="k_12"))}(),renderStaticCopy(),renderNumbers(),handleResponsive(),raf(equalizeAllHeights),window.addEventListener("load",equalizeAllHeights),window.addEventListener("load",handleResponsive)}document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".pricing-plans[id]").forEach(el=>RisePricingPlansModule(el))})}(); 2//# sourceURL=https://2700250.fs1.hubspotusercontent-na1.net/hubfs/2700250/hub_generated/module_assets/1/208987116825/1790612502308/module_Pricing_Tiers_by_Industry_Updated.js
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.