PageSourceSearch

https://webapps-cdn.esri.com/CDN/components/contact-us/js/contact-us-esri-product-pages.js

js esri.com collected 2026-09-24 06:52:13 UTC 7,605 bytes, 1 lines download raw bytes

1(()=>{window.contactUsEsriProductPagesModified="31-march-26",window.verboseMode=!1,location.search.match(/verbose=true/)&&(window.verboseMode=!0),window.devMode=!1,location.search.match(/dev=true/)&&(window.devMode=!0);const e=new URLSearchParams(document.location.search);window.alpha2=e.get("a2")?e.get("a2").toLowerCase():"";const o=[{pathSegment:"en-us",businessHoursString:"During business hours",officeYoureLookingForString:"Not the office you're looking for?"},{pathSegment:"fr-fr",businessHoursString:"Pendant les horaires de bureau",officeYoureLookingForString:"Ce n’est pas le bureau que vous recherchez ?"},{pathSegment:"zh-cn",businessHoursString:"在工作时间内",officeYoureLookingForString:"不是您要查找的办事处?"},{pathSegment:"ja-jp",businessHoursString:"営業時間内",officeYoureLookingForString:"お探しの事務所ではありませんか?"},{pathSegment:"es-es",businessHoursString:"Durante el horario laboral",officeYoureLookingForString:"¿No es la oficina que está buscando?"},{pathSegment:"ru-ru",businessHoursString:"В рабочее время",officeYoureLookingForString:"Это не тот офис, который вы ищете?"},{pathSegment:"de-de",businessHoursString:"Während der Geschäftszeiten",officeYoureLookingForString:"Nicht die gewünschte Niederlassung?"},{pathSegment:"ar-sa",businessHoursString:"خلال ساعات العمل",officeYoureLookingForString:"ليس المكتب الذي تبحث عنه؟"},{pathSegment:"it-it",businessHoursString:"Durante le ore lavorative",officeYoureLookingForString:"Non è l'ufficio che stai cercando?"},{pathSegment:"ko-kr",businessHoursString:"업무 시간 내",officeYoureLookingForString:"찾고 계신 사무실이 아닙니까?"},{pathSegment:"pl-pl",businessHoursString:"W godzinach pracy",officeYoureLookingForString:"To nie jest biuro, którego szukasz?"},{pathSegment:"pt-br",businessHoursString:"Durante o horário comercial",officeYoureLookingForString:"Não é o escritório que você está procurando?"},{pathSegment:"tr-tr",businessHoursString:"İş saatleri sırasında",officeYoureLookingForString:"Aradığınız ofis değil mi?"},{pathSegment:"zh-cn",businessHoursString:"在工作时间内",officeYoureLookingForString:"不是您要查找的办事处?"}],t=()=>{const e=location.pathname.split("/");if(e[1].match(/\D\D-\D\D/)){const t=e[1],n=o.findIndex(e=>e.pathSegment.toLowerCase()===t.toLowerCase());if(n>-1)return o[n]}return o[0]};window.translationStrings=o,window.getTranslationStrings=t;const n=async()=>{if(window.runContactScriptFunctionIsRunning)return;window.runContactScriptFunctionIsRunning=!0;let e=document.querySelector(".dynamic-sales-content");e||(e=document.querySelector(".cta-questions_primary-contact-questions"));const o=await(async()=>{const e="https://geoip.esri.com/get-insight";try{const o=await fetch(e),t=await o.json();window.verboseMode&&console.log("getGeoipData json",t);let n=t.country.iso_code;return"GB"===n.toUpperCase()&&(n="UK"),n}catch(o){return console.error("Error: getGeoipData",e,o),"US"}})(),n=window.alpha2||o.toLowerCase();window.cc=n;const r=e.querySelector('[href*="chat"], .dynamic-sales-content [data-component-link*="chat"]'),s=e.querySelector("li.block");let a=e.querySelector(".grid-container.cta-questions_primary-contact-questions.block-group");r&&!a&&(a=r.parentElement),window.$dynamicSalesContactContainer=e,window.$chatCta=r,window.$chatCtaParentSingleBlock=s,window.$chatCtaParent=a,r||console.error("$chatCta not found.");let c=0;const i=document.querySelectorAll(".dynamic-sales-content .cta-questions");for(let e=0;e<i.length;e+=1)i[e].querySelectorAll('.dynamic-sales-content a.block.question-container[href*="contact#t=5"]').length>0&&(c=e);let l=null;if(c>0&&(l=i[c]),"US"===n.toUpperCase())l&&l.classList.remove("hidden"),r&&r.classList.remove("hidden"),s&&s.classList.remove("hidden"),a&&(a.classList.add("block-group-3-up"),a.classList.remove("block-group-2-up"));else{l&&(l.classList.add("hidden"),l.classList.remove(".opacity-0"),l.classList.remove(".opacity-1")),r&&(r.classList.add("hidden"),r.classList.remove(".opacity-0"),r.classList.remove(".opacity-1")),s&&s.classList.add("hidden"),a&&(a.classList.add("block-group-2-up"),a.classList.remove("block-group-3-up"));const e=await(async e=>{const o=`https://dpa.esri.com/api/distributor-lookup/?c=${e}&t=0`;try{const e=await fetch(o),t=await e.json();return window.verboseMode&&console.log("getDistributor json dist + url ",o,t),t}catch(e){return console.error("Error: getDistributor",o,e),{data:[]}}})(n);window.json=e,window.verboseMode&&console.log("json",e),e.data.length>0&&e.data[0].alpha2.toLowerCase()===n.toLowerCase()&&(async e=>{const{salesPhone:o,phone:n,companyName:r}=e.data[0];window.verboseMode&&console.log(`Dynamic Distributor Name and Phone json - salesPhone: '${o}', phone: '${n}', companyName: '${r}'`);const s=o||n,a=r;document.querySelector(".dynamic-sales-content")||document.querySelector("#getstarted")&&document.querySelector("#getstarted").classList.add("dynamic-sales-content");const c=document.querySelector(".dynamic-sales-content");
1if(c){window.$dynamicSalesContactContainer=c,setTimeout(()=>{document.querySelector("a.sales-contact-phone-number")||document.querySelector('a[href^="tel:"][data-component-link="800-447-9778"]')&&document.querySelector('a[href^="tel:"][data-component-link="800-447-9778"]').classList.add("sales-contact-phone-number");try{const e=c.querySelector("a.sales-contact-phone-number");if(window.$salesContactPhoneNumber=e,e&&s){e.innerHTML=s;const o=`tel:+${s.replace(/\(0\)/g,"").replace(/\D/g,"")}`;e.setAttribute("href",o),e.classList.remove("hidden")}else console.warn(`Dynamic Distributor Name and Phone: No $salesContactPhoneNumber found.  $dynamicSalesContactContainer.querySelector('a.sales-contact-phone-number') = ${e}`)}catch(e){console.error("Error: setHtml",e)}},10),setTimeout(()=>{try{const e=c.querySelector(".sales-contact>h3.sales-contact-title"),o=c.querySelector(".esri-text-container>h2.esri-text__title"),t=e||o;window.$salesContactTitle=t,t?t.innerHTML=a:console.warn(`Dynamic Distributor Name and Phone: No $salesContactTitle found.  $dynamicSalesContactContainer.querySelector('h3.sales-contact-title') = ${t}`)}catch(e){console.error("Error: setHtml",e)}},20);const{businessHoursString:e}=t();setTimeout(()=>{try{const o=c.querySelector("p.sales-contact-body"),t=document.querySelectorAll(".dynamic-sales-content .cmp-text p")[1];o?o.innerHTML=e:console.warn(`Dynamic Distributor Name and Phone: No $salesContactBody found.  $dynamicSalesContactContainer.querySelector('p.sales-contact-body') = ${o} (businessHoursString)`),t&&!o&&(t.innerHTML=e)}catch(e){console.error("Error: setHtml",e)}},30)}else console.warn(`Dynamic Distributor Name and Phone: No $dynamicSalesContactContainer found - document.querySelector('.dynamic-sales-content') = ${c}`)})(e)}};window.addEventListener("DOMContentLoaded",async e=>{if(window.$thisScript=document.querySelector('script[src*="contact-us-esri-product-pages.js"]'),!window.startRunContactScript){window.startRunContactScript=!0;const e=document.querySelectorAll(".dynamic-sales-content .grid-container.cta-questions_primary-contact-questions.block-group, .dynamic-sales-content .grid-container.ctasecondary");window.$$ctaQuestions=e,e&&e.forEach(e=>{e.querySelectorAll("*").forEach(e=>{e.classList.add("opacity-0"),e.classList.remove("opacity-1")})}),setTimeout(async()=>{await n(),e&&e.forEach(e=>{e.querySelectorAll("*").forEach(e=>{e.classList.add("opacity-1"),e.classList.remove("opacity-0")})})},10)}},!1)})();

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.