PageSourceSearch

https://www.zensar.com/_next/static/chunks/14ffn4ieetvg3.js

js zensar.com collected 2026-09-24 09:34:46 UTC 52,091 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,410160,e=>{"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.s(["default",()=>t])},266027,869230,469637,e=>{"use strict";let t;var a,r,s,i,n,l,o,c,d,u,h,p,m,f,x,b,g,v,w,y,j,k,_,N,C=e.i(739946),M=e.i(470292),S=e.i(62351),E=e.i(337696),R=e.i(788245);function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}var A=e.i(120786),z=e.i(92808),L=e.i(175555),T=e.i(540143),F=e.i(286491),I=e.i(915823),P=e.i(793803),W=e.i(619273),D=e.i(180166),B=(a=new WeakMap,r=new WeakMap,s=new WeakMap,i=new WeakMap,n=new WeakMap,l=new WeakMap,o=new WeakMap,c=new WeakMap,d=new WeakMap,u=new WeakMap,h=new WeakMap,p=new WeakMap,m=new WeakMap,f=new WeakMap,x=new WeakMap,b=new WeakSet,g=new WeakSet,v=new WeakSet,w=new WeakSet,y=new WeakSet,j=new WeakSet,k=new WeakSet,_=new WeakSet,N=new WeakSet,class extends I.Subscribable{bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&((0,C._)(this,r).addObserver(this),q((0,C._)(this,r),this.options)?(0,E._)(this,b,K).call(this):this.updateResult(),(0,E._)(this,y,Y).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return U((0,C._)(this,r),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return U((0,C._)(this,r),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,(0,E._)(this,j,G).call(this),(0,E._)(this,k,X).call(this),(0,C._)(this,r).removeObserver(this)}setOptions(e){let t=this.options,s=(0,C._)(this,r);if(this.options=(0,C._)(this,a).defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,W.resolveEnabled)(this.options.enabled,(0,C._)(this,r)))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");(0,E._)(this,_,$).call(this),(0,C._)(this,r).setOptions(this.options),t._defaulted&&!(0,W.shallowEqualObjects)(this.options,t)&&(0,C._)(this,a).getQueryCache().notify({type:"observerOptionsUpdated",query:(0,C._)(this,r),observer:this});let i=this.hasListeners();i&&Q((0,C._)(this,r),s,this.options,t)&&(0,E._)(this,b,K).call(this),this.updateResult(),i&&((0,C._)(this,r)!==s||(0,W.resolveEnabled)(this.options.enabled,(0,C._)(this,r))!==(0,W.resolveEnabled)(t.enabled,(0,C._)(this,r))||(0,W.resolveStaleTime)(this.options.staleTime,(0,C._)(this,r))!==(0,W.resolveStaleTime)(t.staleTime,(0,C._)(this,r)))&&(0,E._)(this,g,V).call(this);let n=(0,E._)(this,v,J).call(this);i&&((0,C._)(this,r)!==s||(0,W.resolveEnabled)(this.options.enabled,(0,C._)(this,r))!==(0,W.resolveEnabled)(t.enabled,(0,C._)(this,r))||n!==(0,C._)(this,f))&&(0,E._)(this,w,Z).call(this,n)}getOptimisticResult(e){var t,s;let o=(0,C._)(this,a).getQueryCache().build((0,C._)(this,a),e),c=this.createResult(o,e);return t=this,s=c,(0,W.shallowEqualObjects)(t.getCurrentResult(),s)||((0,S._)(this,i,c),(0,S._)(this,l,this.options),(0,S._)(this,n,(0,C._)(this,r).state)),c}getCurrentResult(){return(0,C._)(this,i)}trackResult(e,t){return new Proxy(e,{get:(e,a)=>(this.trackProp(a),null==t||t(a),"promise"===a&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==(0,C._)(this,o).status||(0,C._)(this,o).reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,a))})}trackProp(e){(0,C._)(this,x).add(e)}getCurrentQuery(){return(0,C._)(this,r)}refetch(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,[t={}]=[e],{}=t,a=O({},t);return this.fetch((0,A._)({},a))}fetchOptimistic(e){let t=(0,C._)(this,a).defaultQueryOptions(e),r=(0,C._)(this,a).getQueryCache().build((0,C._)(this,a),t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){var t;return(0,E._)(this,b,K).call(this,(0,z._)((0,A._)({},e),{cancelRefetch:null==(t=e.cancelRefetch)||t})).then(()=>(this.updateResult(),(0,C._)(this,i)))}createResult(e,t){let a,p=(0,C._)(this,r),m=this.options,f=(0,C._)(this,i),x=(0,C._)(this,n),b=(0,C._)(this,l),g=e!==p?e.state:(0,C._)(this,s),{state:v}=e,w=(0,A._)({},v),y=!1;if(t._optimisticResults){let a=this.hasListeners(),r=!a&&q(e,t),s=a&&Q(e,p,t,m);(r||s)&&(w=(0,A._)({},w,(0,F.fetchState)(v.data,e.options))),"isRestoring"===t._optimisticResults&&(w.fetchStatus="idle")}let{error:j,errorUpdatedAt:k,status:_}=w;a=w.data;let N=!1;if(void 0!==t.placeholderData&&void 0===a&&"pending"===_){let e;if((null==f?void 0:f.isPlaceholderData)&&t.placeholderData===(null==b?void 0:b.placeholderData))e=f.data,N=!0;else{var M;e="function"==typeof t.placeholderData?t.placeholderData(null==(M=(0,C._)(this,h))?void 0:M.state.data,(0,C._)(this,h)):t.placeholderData}void 0!==e&&(_="success",a=(0,W.replaceData)(null==f?void 0:f.data,e,t),y=!0)}if(t.select&&void 0!==a&&!N)if(f&&a===(null==x?void 0:x.data)&&t.select===(0,C._)(this,d))a=(0,C._)(this,u);else try{(0,S._)(this,d,t.select),a=t.select(a),a=(0,W.replaceData)(null==f?void 0:f.data,a,t),(0,S._)(this,u,a),(0,S._)(this,c,null)}catch(e){(0,S._)(this,c,e)}(0,C._)(this,c)&&(j=(0,C._)(this,c),a=(0,C._)(this,u),k=Date.now(),_="error");let E="fetching"===w.fetchStatus,R="pending"===_,O="error"===_,z=R&&E,L=void 0!==a,T={status:_,fetchStatus:w.fetchStatus,isPending:R,isSuccess:"success"===_,isError:O,isInitialLoading:z,isLoading:z,data:a,dataUpdatedAt:w.dataUpdatedAt,error:j,errorUpdatedAt:k,failureCount:w.fetchFailureCount,failureReason:w.fetchFailureReason,errorUpdate
1Count:w.errorUpdateCount,isFetched:w.dataUpdateCount>0||w.errorUpdateCount>0,isFetchedAfterMount:w.dataUpdateCount>g.dataUpdateCount||w.errorUpdateCount>g.errorUpdateCount,isFetching:E,isRefetching:E&&!R,isLoadingError:O&&!L,isPaused:"paused"===w.fetchStatus,isPlaceholderData:y,isRefetchError:O&&L,isStale:H(e,t),refetch:this.refetch,promise:(0,C._)(this,o),isEnabled:!1!==(0,W.resolveEnabled)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===T.status?e.reject(T.error):void 0!==T.data&&e.resolve(T.data)},a=()=>{t((0,S._)(this,o,T.promise=(0,P.pendingThenable)()))},r=(0,C._)(this,o);switch(r.status){case"pending":e.queryHash===p.queryHash&&t(r);break;case"fulfilled":("error"===T.status||T.data!==r.value)&&a();break;case"rejected":("error"!==T.status||T.error!==r.reason)&&a()}}return T}updateResult(){let e=(0,C._)(this,i),t=this.createResult((0,C._)(this,r),this.options);if((0,S._)(this,n,(0,C._)(this,r).state),(0,S._)(this,l,this.options),void 0!==(0,C._)(this,n).data&&(0,S._)(this,h,(0,C._)(this,r)),(0,W.shallowEqualObjects)(t,e))return;(0,S._)(this,i,t);let a=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,a="function"==typeof t?t():t;if("all"===a||!a&&!(0,C._)(this,x).size)return!0;let r=new Set(null!=a?a:(0,C._)(this,x));return this.options.throwOnError&&r.add("error"),Object.keys((0,C._)(this,i)).some(t=>(0,C._)(this,i)[t]!==e[t]&&r.has(t))};(0,E._)(this,N,ee).call(this,{listeners:a()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&(0,E._)(this,y,Y).call(this)}constructor(e,t){super(),(0,R._)(this,b),(0,R._)(this,g),(0,R._)(this,v),(0,R._)(this,w),(0,R._)(this,y),(0,R._)(this,j),(0,R._)(this,k),(0,R._)(this,_),(0,R._)(this,N),(0,M._)(this,a,{writable:!0,value:void 0}),(0,M._)(this,r,{writable:!0,value:void 0}),(0,M._)(this,s,{writable:!0,value:void 0}),(0,M._)(this,i,{writable:!0,value:void 0}),(0,M._)(this,n,{writable:!0,value:void 0}),(0,M._)(this,l,{writable:!0,value:void 0}),(0,M._)(this,o,{writable:!0,value:void 0}),(0,M._)(this,c,{writable:!0,value:void 0}),(0,M._)(this,d,{writable:!0,value:void 0}),(0,M._)(this,u,{writable:!0,value:void 0}),(0,M._)(this,h,{writable:!0,value:void 0}),(0,M._)(this,p,{writable:!0,value:void 0}),(0,M._)(this,m,{writable:!0,value:void 0}),(0,M._)(this,f,{writable:!0,value:void 0}),(0,M._)(this,x,{writable:!0,value:new Set}),this.options=t,(0,S._)(this,a,e),(0,S._)(this,c,null),(0,S._)(this,o,(0,P.pendingThenable)()),this.bindMethods(),this.setOptions(t)}});function q(e,t){return!1!==(0,W.resolveEnabled)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&U(e,t,t.refetchOnMount)}function U(e,t,a){if(!1!==(0,W.resolveEnabled)(t.enabled,e)&&"static"!==(0,W.resolveStaleTime)(t.staleTime,e)){let r="function"==typeof a?a(e):a;return"always"===r||!1!==r&&H(e,t)}return!1}function Q(e,t,a,r){return(e!==t||!1===(0,W.resolveEnabled)(r.enabled,e))&&(!a.suspense||"error"!==e.state.status)&&H(e,a)}function H(e,t){return!1!==(0,W.resolveEnabled)(t.enabled,e)&&e.isStaleByTime((0,W.resolveStaleTime)(t.staleTime,e))}function K(e){(0,E._)(this,_,$).call(this);let t=(0,C._)(this,r).fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(W.noop)),t}function V(){(0,E._)(this,j,G).call(this);let e=(0,W.resolveStaleTime)(this.options.staleTime,(0,C._)(this,r));if(W.isServer||(0,C._)(this,i).isStale||!(0,W.isValidTimeout)(e))return;let t=(0,W.timeUntilStale)((0,C._)(this,i).dataUpdatedAt,e);(0,S._)(this,p,D.timeoutManager.setTimeout(()=>{(0,C._)(this,i).isStale||this.updateResult()},t+1))}function J(){var e;return null!=(e="function"==typeof this.options.refetchInterval?this.options.refetchInterval((0,C._)(this,r)):this.options.refetchInterval)&&e}function Z(e){(0,E._)(this,k,X).call(this),(0,S._)(this,f,e),!W.isServer&&!1!==(0,W.resolveEnabled)(this.options.enabled,(0,C._)(this,r))&&(0,W.isValidTimeout)((0,C._)(this,f))&&0!==(0,C._)(this,f)&&(0,S._)(this,m,D.timeoutManager.setInterval(()=>{(this.options.refetchIntervalInBackground||L.focusManager.isFocused())&&(0,E._)(this,b,K).call(this)},(0,C._)(this,f)))}function Y(){(0,E._)(this,g,V).call(this),(0,E._)(this,w,Z).call(this,(0,E._)(this,v,J).call(this))}function G(){(0,C._)(this,p)&&(D.timeoutManager.clearTimeout((0,C._)(this,p)),(0,S._)(this,p,void 0))}function X(){(0,C._)(this,m)&&(D.timeoutManager.clearInterval((0,C._)(this,m)),(0,S._)(this,m,void 0))}function $(){let e=(0,C._)(this,a).getQueryCache().build((0,C._)(this,a),this.options);if(e===(0,C._)(this,r))return;let t=(0,C._)(this,r);(0,S._)(this,r,e),(0,S._)(this,s,e.state),this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}function ee(e){T.notifyManager.batch(()=>
1{e.listeners&&this.listeners.forEach(e=>{e((0,C._)(this,i))}),(0,C._)(this,a).getQueryCache().notify({query:(0,C._)(this,r),type:"observerResultsUpdated"})})}e.s(["QueryObserver",0,B],869230);var et=e.i(271645),ea=e.i(912598);e.i(843476);var er=et.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),es=et.createContext(!1);es.Provider;var ei=(e,t,a)=>t.fetchOptimistic(e).catch(()=>{a.clearReset()});function en(e,t,a){var r,s,i,n,l;let o=et.useContext(es),c=et.useContext(er),d=(0,ea.useQueryClient)(a),u=d.defaultQueryOptions(e);if(null==(s=d.getDefaultOptions().queries)||null==(r=s._experimental_beforeQuery)||r.call(s,u),u._optimisticResults=o?"isRestoring":"optimistic",u.suspense){let e=e=>"static"===e?e:Math.max(null!=e?e:1e3,1e3),t=u.staleTime;u.staleTime="function"==typeof t?function(){for(var a=arguments.length,r=Array(a),s=0;s<a;s++)r[s]=arguments[s];return e(t(...r))}:e(t),"number"==typeof u.gcTime&&(u.gcTime=Math.max(u.gcTime,1e3))}(u.suspense||u.throwOnError||u.experimental_prefetchInRender)&&!c.isReset()&&(u.retryOnMount=!1),et.useEffect(()=>{c.clearReset()},[c]);let h=!d.getQueryCache().get(u.queryHash),[p]=et.useState(()=>new t(d,u)),m=p.getOptimisticResult(u),f=!o&&!1!==e.subscribed;if(et.useSyncExternalStore(et.useCallback(e=>{let t=f?p.subscribe(T.notifyManager.batchCalls(e)):W.noop;return p.updateResult(),t},[p,f]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),et.useEffect(()=>{p.setOptions(u)},[u,p]),(null==u?void 0:u.suspense)&&m.isPending)throw ei(u,p,c);if((e=>{let{result:t,errorResetBoundary:a,throwOnError:r,query:s,suspense:i}=e;return t.isError&&!a.isReset()&&!t.isFetching&&s&&(i&&void 0===t.data||(0,W.shouldThrowError)(r,[t.error,s]))})({result:m,errorResetBoundary:c,throwOnError:u.throwOnError,query:d.getQueryCache().get(u.queryHash),suspense:u.suspense}))throw m.error;if(null==(n=d.getDefaultOptions().queries)||null==(i=n._experimental_afterQuery)||i.call(n,u,m),u.experimental_prefetchInRender&&!W.isServer&&m.isLoading&&m.isFetching&&!o){let e=h?ei(u,p,c):null==(l=d.getQueryCache().get(u.queryHash))?void 0:l.promise;null==e||e.catch(W.noop).finally(()=>{p.updateResult()})}return u.notifyOnChangeProps?m:p.trackResult(m)}e.s(["useBaseQuery",0,en],469637),e.s(["useQuery",0,function(e,t){return en(e,B,t)}],266027)},808341,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return n},requestIdleCallback:function(){return i}};for(var s in r)Object.defineProperty(a,s,{enumerable:!0,get:r[s]});let i="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},768834,579473,e=>{"use strict";var t=e.i(271645);let a=e=>{let t,a=new Set,r=(e,r)=>{let s="function"==typeof e?e(t):e;if(!Object.is(s,t)){let e=t;t=(null!=r?r:"object"!=typeof s||null===s)?s:Object.assign({},t,s),a.forEach(a=>a(t,e))}},s=()=>t,i={setState:r,getState:s,getInitialState:()=>n,subscribe:e=>(a.add(e),()=>a.delete(e))},n=t=e(r,s,i);return i},r=e=>e,s=e=>{let s=e?a(e):a,i=e=>(function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,s=t.default.useSyncExternalStore(e.subscribe,t.default.useCallback(()=>a(e.getState()),[e,a]),t.default.useCallback(()=>a(e.getInitialState()),[e,a]));return t.default.useDebugValue(s),s})(s,e);return Object.assign(i,s),i};e.s(["create",0,e=>e?s(e):s],768834);var i=e.i(120786);e.i(92808),e.i(233027);let n=e=>t=>{try{let a=e(t);if(a instanceof Promise)return a;return{then:e=>n(e)(a),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>n(t)(e)}}};e.s(["persist",0,(e,t)=>(a,r,s)=>{let l,o=(0,i._)({storage:function(e){let t;try{t=e()}catch(e){return}return{getItem:e=>{var a;let r=e=>null===e?null:JSON.parse(e,void 0),s=null!=(a=t.getItem(e))?a:null;return s instanceof Promise?s.then(r):r(s)},setItem:(e,a)=>t.setItem(e,JSON.stringify(a,void 0)),removeItem:e=>t.removeItem(e)}}(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>
1(0,i._)({},t,e)},t),c=!1,d=0,u=new Set,h=new Set,p=o.storage;if(!p)return e(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];console.warn("[zustand persist middleware] Unable to update item '".concat(o.name,"', the given storage is currently unavailable.")),a(...t)},r,s);let m=()=>{let e=o.partialize((0,i._)({},r()));return p.setItem(o.name,{state:e,version:o.version})},f=s.setState;s.setState=(e,t)=>(f(e,t),m());let x=e(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return a(...t),m()},r,s);s.getInitialState=()=>x;let b=()=>{var e,t;if(!p)return;let s=++d;c=!1,u.forEach(e=>{var t;return e(null!=(t=r())?t:x)});let i=(null==(t=o.onRehydrateStorage)?void 0:t.call(o,null!=(e=r())?e:x))||void 0;return n(p.getItem.bind(p))(o.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===o.version)return[!1,e.state];else{if(o.migrate){let t=o.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;if(s!==d)return;let[i,n]=e;if(a(l=o.merge(n,null!=(t=r())?t:x),!0),i)return m()}).then(()=>{s===d&&(null==i||i(r(),void 0),l=r(),c=!0,h.forEach(e=>e(l)))}).catch(e=>{s===d&&(null==i||i(void 0,e))})};return s.persist={setOptions:e=>{o=(0,i._)({},o,e),e.storage&&(p=e.storage)},clearStorage:()=>{null==p||p.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>b(),hasHydrated:()=>c,onHydrate:e=>(u.add(e),()=>{u.delete(e)}),onFinishHydration:e=>(h.add(e),()=>{h.delete(e)})},o.skipHydration||b(),l||x}],579473)},663140,e=>{e.q("/_next/static/media/locationmarker.0lgmh_irr5g78.svg")},8262,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(369620);e.s(["default",0,e=>{let{id:s,label:i,value:n,onChange:l,options:o,placeholder:c,icon:d,className:u=""}=e,[h,p]=(0,a.useState)(!1),[m,f]=(0,a.useState)(-1),x=(0,a.useRef)(null),b=(0,a.useRef)(null),g=(0,a.useRef)(null),v=(0,a.useRef)(null),w=c?[{value:"",label:c},...o]:o,y=w.find(e=>e.value===n);(0,a.useEffect)(()=>{let e=e=>{x.current&&!x.current.contains(e.target)&&(p(!1),f(-1))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,a.useEffect)(()=>{if(h&&b.current&&m>=0){let e=b.current,t=e.children[m];if(t){let a=t.offsetTop,r=a+t.offsetHeight,s=e.scrollTop,i=s+e.offsetHeight;a<s?e.scrollTop=a:r>i&&(e.scrollTop=r-e.offsetHeight)}}},[m,h]);let j=e=>{var t,a;if(l(e),p(!1),f(-1),null==(t=g.current)||t.focus(),v.current){let t=(null==(a=w.find(t=>t.value===e))?void 0:a.label)||"";v.current.textContent=t?"Selected: ".concat(t):"No option selected"}};return(0,t.jsxs)("div",{ref:x,className:"relative ".concat(u),children:[(0,t.jsx)("label",{id:"".concat(s,"-label"),className:"sr-only",children:i}),(0,t.jsxs)("button",{ref:g,id:"".concat(s,"-button"),type:"button",role:"combobox","aria-haspopup":"listbox","aria-expanded":h,"aria-controls":"".concat(s,"-listbox"),"aria-labelledby":"".concat(s,"-label ").concat(s,"-button"),"aria-activedescendant":h&&m>=0?"".concat(s,"-option-").concat(m):void 0,onClick:()=>p(!h),onKeyDown:e=>{switch(e.key){case"Enter":case" ":if(e.preventDefault(),h)m>=0&&j(w[m].value||"");else{p(!0);let e=w.findIndex(e=>e.value===n);f(e>=0?e:0)}break;case"ArrowDown":e.preventDefault(),h?f(e=>e<w.length-1?e+1:e):(p(!0),f(0));break;case"ArrowUp":e.preventDefault(),h?f(e=>e>0?e-1:e):(p(!0),f(w.length-1));break;case"Escape":if(h){var t;e.preventDefault(),p(!1),null==(t=g.current)||t.focus()}break;case"Tab":h&&p(!1);break;case"Home":e.preventDefault(),p(!0),f(0);break;case"End":e.preventDefault(),p(!0),f(w.length-1)}},className:"flex w-full items-center justify-between rounded-md border border-gray-300 bg-white px-4 py-2 text-left text-gray-700 shadow-sm transition-all focus:border-blue-500 focus:ring-2 focus:ring-blue-500 focus:ring-offset-1 focus:outline-none",children:[(0,t.jsx)("span",{className:"truncate",id:"".concat(s,"-selected-value"),children:y?y.label:c||"Select..."}),d&&"customIcon"===d?(0,t.jsx)(r.IoChevronDown,{className:"ml-2 h-4 w-4 text-gray-500 transition-transform dark:text-gray-400 ".concat(h?"rotate-180":"")}):(0,t.jsx)("span",{className:"pointer-events-none ml-2",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-gray-400 transition-transform ".concat(h?"rotate-180":""),viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",children:(0,t.jsx)("path",{d:"M7 7l3-3 3 3m0 6l-3 3-3-3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,t.jsx)("div",{ref:v,"aria-live":"polite","aria-atomic":"true",className:"sr-only"}),h&&(0,t.jsx)("ul",{ref:b,id:"".concat(s,"-listbox"),role:"listbox","aria-labelledby":"".concat(s,"-label"),"aria-activedescendant":m>
1=0?"".concat(s,"-option-").concat(m):void 0,tabIndex:-1,className:"ring-opacity-5 absolute z-50 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black focus:outline-none sm:text-sm",children:w.map((e,a)=>{let r=e.value===n,i=a===m;return(0,t.jsxs)("li",{id:"".concat(s,"-option-").concat(a),role:"option","aria-selected":r,"aria-label":e.label+(r?" selected":""),className:"relative cursor-default py-2 pr-9 pl-3 select-none ".concat(i?"bg-blue-600 text-white":"text-gray-900"),onClick:()=>j(e.value||""),onMouseEnter:()=>f(a),children:[(0,t.jsx)("span",{className:"block truncate ".concat(r?"font-semibold":"font-normal"),children:e.label}),r&&(0,t.jsx)("span",{className:"absolute inset-y-0 right-0 flex items-center pr-4 ".concat(i?"text-white":"text-blue-600"),children:(0,t.jsx)("svg",{className:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})})]},"".concat(s,"-option-").concat(a))})})]})}])},591406,e=>{"use strict";var t=e.i(120786),a=e.i(92808),r=e.i(843476),s=e.i(657688),i=e.i(618566),n=e.i(271645),l=e.i(918789),o=e.i(742531),c=e.i(225960),d=e.i(813407),u=e.i(973465),h=e.i(144102);let p=e=>{if(e)return e.startsWith("//")?"https:".concat(e):e},m=e=>!!e&&"object"==typeof e&&"fields"in e,f=e=>{var t,a;return e?"url"in e&&"string"==typeof e.url?p(e.url):p(null==(a=e.fields)||null==(t=a.file)?void 0:t.url):void 0},x=e=>{var t,a;return e?"title"in e&&e.title?e.title:(null==(t=e.fields)?void 0:t.title)||(null==(a=e.fields)?void 0:a.description)||"Banner image":void 0},b=e=>{if(e){if("string"==typeof e&&""!==e.trim())return e;if(m(e)){let t=e.fields;return(null==t?void 0:t.cardTag)||(null==t?void 0:t.title)||(null==t?void 0:t.label)||(null==t?void 0:t.sectionTag)}}};e.s(["default",0,e=>{let{image:p,mobileImage:g,header:v,description:w,descriptionText:y,button:j,registrationButton:k,descriptionTextColor:_,logo:N,badge:C,section:M,cardTag:S,subTitle:E,registrationPageBannerInfo:R}=e,O=(0,i.usePathname)(),[A,z]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=()=>z(window.innerWidth<768);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let L=A&&g?g:p||g,T=f(L),F=x(L),I=(e=>{if(e)return m(e)?e.fields:e})(v),P=I&&I.title?I:void 0,W=(e=>{if(e)return m(e)?e.fields:e})(j),D=null!=y?y:w,B=f(N),q=f(C),U=null==O?void 0:O.endsWith("/register"),Q="white"===_?"text-white":"text-black",H=Array.isArray(M)?M[0]:void 0,K=(null==H?void 0:H.fields)||H,V=(null==K?void 0:K.sectionName)||"Key Highlights",J=Array.isArray(null==K?void 0:K.sectionItems)?K.sectionItems:[],Z=b(S)||b(null==K?void 0:K.cardTag)||b(null==K?void 0:K.sectionTag);b(null==K?void 0:K.cardTag)||b(null==K?void 0:K.sectionTag);let Y="\n    inline-flex items-center gap-3 mt-4 py-4 px-8\n    bg-white text-black text-xl font-bold rounded-sm\n    transition-all duration-200 hover:bg-neutral-200\n    focus-visible:outline focus-visible:outline-4 focus-visible:outline-white focus-visible:outline-offset-4\n    active:scale-[0.98] w-fit decoration-none\n  ";return(0,r.jsxs)("section",{"aria-labelledby":"servicenow-heading",className:"relative mt-0 overflow-hidden bg-black text-white md:mt-[44px] lg:mt-[44px]",children:[(0,r.jsxs)("div",{className:"absolute inset-0","aria-hidden":"true",children:[T&&(0,r.jsx)(s.default,{src:T,alt:F||"Banner image",fill:!0,priority:!0,sizes:"100vw",loader:c.default,className:"object-cover object-top"}),(0,r.jsx)("div",{className:"absolute inset-0"})]}),(0,r.jsxs)("div",{className:"pad-x md:pad-x maxWidthAuto relative z-10 mx-auto flex flex-col items-center gap-10 py-12 md:flex-row lg:min-h-[500px] lg:flex-row",children:[(0,r.jsxs)("div",{className:"w-full md:w-[100%] lg:w-[100%]",children:[Z&&"three-columns"!==Z&&(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)("div",{className:"card-tag-section mb-4",children:(0,r.jsx)("div",{className:"card-tag mb-0 text-sm font-extralight text-white dark:text-white",children:Z})})}),(0,r.jsx)("div",{className:"mb-4",children:B?(0,r.jsx)(s.default,{src:B,alt:x(N)||"Logo",width:160,height:80,loader:c.default,className:"mb-6 h-auto max-h-[80px] object-contain"}):R&&U?"string"==typeof R?(0,r.jsx)("div",{className:"text-white dark:text-white",children:R}):(0,r.jsx)("div",{className:"text-white dark:text-white",children:(0,d.richTextRenderer)(R)}):P?(0,r.jsx)(u.default,(0,a._)((0,t._)({}
1,P),{extraClasses:P.color?"":"text-white"})):null}),E&&(0,r.jsx)("p",{className:"mb-4 text-base leading-relaxed font-extralight text-white lg:text-lg xl:text-xl 2xl:text-2xl ".concat(Q),children:E}),J.length>0?(0,r.jsx)("ul",{className:"mb-6 flex flex-wrap gap-4",children:J.slice(0,4).map((e,t)=>{var a;return(0,r.jsxs)("li",{className:"w-[100%] rounded-2xl border border-white bg-black/10 p-5 text-center sm:w-[100%] md:w-[min-content] lg:w-[min-content]",children:[(0,r.jsx)("span",{className:"mb-3 block text-lg font-semibold text-white",children:((e,t)=>{let a=(null==e?void 0:e.fields)||e,r=null==a?void 0:a.header,s=(null==a?void 0:a.title)||(null==a?void 0:a.sectionName)||(null==a?void 0:a.label);if(r){var i;if("string"==typeof r)return r;if(null==(i=r.fields)?void 0:i.title)return r.fields.title;if(r.title)return r.title}return s||"Highlight ".concat(t+1)})(e,t)}),(0,r.jsx)("span",{className:"mt-2 block text-sm leading-relaxed text-white/80",children:(e=>{let t=(null==e?void 0:e.fields)||e,a=(null==t?void 0:t.description)||(null==t?void 0:t.subTitle)||(null==t?void 0:t.label);if(!a){var r;return(null==t||null==(r=t.sys)?void 0:r.id)?"CMS entry: ".concat(t.sys.id):"Featured highlight"}return"object"==typeof a&&null!==a?(0,d.richTextRenderer)(a):a})(e)})]},(null==e||null==(a=e.sys)?void 0:a.id)||"".concat(V,"-").concat(t))})}):"",(0,r.jsxs)("div",{className:"max-w-3xl",children:[D&&("object"==typeof D?(0,r.jsx)("div",{className:"mb-4 text-base leading-relaxed font-extralight lg:text-lg xl:text-xl 2xl:text-2xl ".concat(Q),children:(0,d.richTextRenderer)(D)}):y?(0,r.jsx)("div",{className:"mb-4 text-base leading-relaxed font-extralight lg:text-lg xl:text-xl 2xl:text-2xl ".concat(Q),children:(0,r.jsx)(l.default,{remarkPlugins:[o.default],children:D.replace(/\\n
1/g,"  \n").replace(/\n/g,"  \n")})}):(0,r.jsx)("p",{className:"mb-4 text-base leading-relaxed font-extralight lg:text-lg xl:text-xl 2xl:text-2xl ".concat(Q),children:D})),(0,r.jsx)("div",{className:"mb-4 block text-center md:hidden",children:q&&(0,r.jsx)(s.default,{src:q,alt:x(C)||"Badge",width:140,height:140,loader:c.default,className:"h-auto max-h-[140px] w-auto object-contain"})}),(W||k)&&(0,r.jsx)("div",{className:"flex w-full",children:k&&!W?(0,r.jsx)(h.default,{config:k,className:"mt-4"}):(null==W?void 0:W.href)||(null==W?void 0:W.redirectToFooterContactForm)?(0,r.jsxs)("a",{href:W.redirectToFooterContactForm?"#contactusFooterForm":W.href,className:Y,children:[(0,r.jsx)("span",{children:W.label||"Know More"}),(0,r.jsx)("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:"h-5 w-5",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14m-6-6 6 6-6 6"})})]}):(0,r.jsxs)("button",{type:"button",className:Y,children:[(0,r.jsx)("span",{children:(null==W?void 0:W.label)||"Know More"}),(0,r.jsx)("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:"h-5 w-5",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14m-6-6 6 6-6 6"})})]})})]})]}),(0,r.jsx)("div",{className:"absolute right-0 hidden w-full self-start text-center md:right-15 md:block md:w-[10%] lg:w-[10%] lg:text-right",children:q&&(0,r.jsx)(s.default,{src:q,alt:x(C)||"Badge",width:140,height:140,loader:c.default,className:"mx-auto mt-0 h-auto max-h-[140px] w-auto object-contain md:mt-12 lg:mt-0"})})]})]})}])},654330,e=>{"use strict";var t=e.i(843476),a=e.i(437902),r=e.i(271645),s=e.i(973465),i=e.i(109346);let n=e=>{let{className:a=""}=e;return(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"#1132A8",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:a,"aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),(0,t.jsx)("circle",{cx:"12",cy:"10",r:"3"})]})},l=e=>{let{className:a=""}=e;return(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"#1132A8",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:a,"aria-hidden":"true",children:(0,t.jsx)("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"})})},o=e=>{let{className:a=""}=e;return(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:a,"aria-hidden":"true",children:(0,t.jsx)("polygon",{points:"3 11 22 2 13 21 11 13 3 11"})})},c=e=>{let{className:a=""}=e;return(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"#16a34a",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:a,"aria-hidden":"true",children:(0,t.jsx)("polyline",{points:"20 6 9 17 4 12"})})},d=e=>{let{className:a=""}=e;return(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:a,"aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),(0,t.jsx)("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})},u=e=>{let{className:a=""}=e;return(0,t.jsxs)("svg",{width:"30",height:"38",viewBox:"0 0 30 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,"aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M29.1628 14.5814C29.1628 22.6345 14.5814 38 14.5814 38C14.5814 38 0 22.6345 0 14.5814C0 6.52831 6.52831 0 14.5814 0C22.6345 0 29.1628 6.52831 29.1628 14.5814Z",fill:"#FF4E42"}),(0,t.jsx)("circle",{cx:"14.5815",cy:"14.5815",r:"7.01163",fill:"#FFFFFF"})]})},h={India:"India","UK and Europe":"UK and Europe","North America":"North America","Latin America":"Latin America",Africa:"Africa",APAC:"APAC"},p=e=>h[e]||"Other",m=["All","North America","UK and Europe","Latin America","Africa","India","APAC"],f=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return t.filter(t=>{var r,s,i,n;let l,o,c;return t.id===e.id||(r=e.coordinates.latitude,s=e.coordinates.longitude,i=t.coordinates.latitude,n=t.coordinates.longitude,2*Math.atan2(Math.sqrt(c=Math.sin((l=(i-r)*Math.PI/180)/2)*Math.sin(l/2)+Math.cos(r*Math.PI/180)*Math.cos(i*Math.PI/180)*Math.sin((o=(n-s)*Math.PI/180)/2)*Math.sin(o/2)),Math.sqrt(1-c))*6371<=a)})};e.s(["default",0,e=>{let h,{accordionData:x}=e,b=(0,r.useRef)(null),g=(0,r.useRef)(null),v=(0,r.useRef)(null),w=(0,r.useRef)([]),[y,j]=(0,r.useState)(null),[k,_]=(0,r.useState)(!1),[N,C]=(0,r.useState)(null),[M,S]=(0,r.useState)(()=>window.innerWidth<768?"India":"All"),[E,R]=(0,r.useState)(!1),[O,A]=(0,r.useState)(!1),z=(0,r.useRef)(null),[L,T]=(0,r.useState)(null),F={subscriptionKey:"9GxEDGaOR7SQJ
1yZ6uhaOJVHbWYKzQLIS4uPU5eio9pHV4Mpf6hcMJQQJ99CAACYeBjFu66bRAAAgAZMPCVln"},{isLoaded:I,error:P}=((e,t)=>{var a;let[s,i]=(0,r.useState)(!1),[n,l]=(0,r.useState)(null),o=(0,r.useRef)(null),c=(0,r.useRef)(null),d=(0,r.useRef)([]),u=null==(a=null==t?void 0:t.enabled)||a;(0,r.useEffect)(()=>{if(e&&u)return(async()=>{try{if(window.atlas)return void i(!0);let e="https://atlas.microsoft.com/sdk/javascript/mapcontrol/3.0/atlas.min.css";if(!document.querySelector('link[href="'.concat(e,'"]'))){let t=document.createElement("link");t.rel="stylesheet",t.href=e,document.head.appendChild(t)}await new Promise((e,t)=>{let a=document.querySelector('script[src="https://atlas.microsoft.com/sdk/javascript/mapcontrol/3.0/atlas.min.js"]');if(a){a.addEventListener("load",()=>e(),{once:!0}),a.addEventListener("error",()=>t(Error("Failed to load Azure Maps SDK")),{once:!0});return}let r=document.createElement("script");r.src="https://atlas.microsoft.com/sdk/javascript/mapcontrol/3.0/atlas.min.js",r.async=!0,r.defer=!0,r.onload=()=>e(),r.onerror=()=>t(Error("Failed to load Azure Maps SDK")),document.body.appendChild(r)}),i(!0)}catch(e){l(e instanceof Error?e.message:"Failed to load Azure Maps")}})(),()=>{c.current&&c.current.dispose()}},[e,u]);let h=(0,r.useCallback)(function(t,a){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;if(!s||!e||c.current)return null;try{if(o.current=t,!window.atlas)throw Error("Azure Maps SDK not loaded");let s=a?[a.longitude,a.latitude]:[78.9629,20.5937],i=new window.atlas.Map(t,{center:s,zoom:r,authOptions:{authType:"subscriptionKey",subscriptionKey:e.subscriptionKey},view:"Auto"});return c.current=i,i.addEventListener("ready",()=>{i.addControl(new window.atlas.control.ZoomControl,"top-right"),i.addControl(new window.atlas.control.CompassControl,"top-right"),i.addControl(new window.atlas.control.StyleControl,"top-right")}),i}catch(e){return l(e instanceof Error?e.message:"Failed to initialize map"),null}},[s,e]),p=(0,r.useCallback)((e,t)=>{t&&s&&window.atlas&&(d.current.forEach(e=>{t.markers.remove(e)}),d.current=[],e.forEach(e=>{let a=new window.atlas.HtmlMarker({position:[e.coordinates.longitude,e.coordinates.latitude],color:e.color||"#E31837",text:e.name.charAt(0),popupHtml:'\n            <div style="padding: 10px; max-width: 250px;">\n              <h3 style="margin: 0 0 8px 0; color: #333; font-size: 14px; font-weight: 600;">\n                '.concat(e.name,"\n              </h3>\n              ").concat(e.address?'<p style="margin: 0 0 4px 0; color: #666; font-size: 12px;">'.concat(e.address,"</p>"):"","\n              ").concat(e.phone?'<p style="margin: 0; color: #E31837; font-size: 12px;">'.concat(e.phone,"</p>"):"","\n            </div>\n          ")});a.metadata={id:e.id},t.markers.add(a),d.current.push(a)}))},[s]),m=(0,r.useCallback)(()=>{let e=c.current;e&&(d.current.forEach(t=>{e.markers.remove(t)}),d.current=[])},[]),f=(0,r.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12;c.current&&c.current.setCamera({center:[e.longitude,e.latitude],zoom:t})},[]),x=(0,r.useCallback)(e=>{if(!c.current||0===e.length||!window.atlas)return;let t=new window.atlas.data.BoundingBox(new window.atlas.data.Position(Math.min(...e.map(e=>e.coordinates.longitude)),Math.min(...e.map(e=>e.coordinates.latitude))),new window.atlas.data.Position(Math.max(...e.map(e=>e.coordinates.longitude)),Math.max(...e.map(e=>e.coordinates.latitude))));c.current.setCamera({bounds:t,padding:50})},[]),b=(0,r.useCallback)(()=>{c.current&&(c.current.dispose(),c.current=null,o.current=null)},[]);return{isLoaded:s,error:n,mapRef:c,markersRef:d,initializeMap:h,addMarkers:p,clearMarkers:m,flyToLocation:f,fitBoundsToMarkers:x,disposeMap:b}})(F,{enabled:O});(0,r.useEffect)(()=>{let e=b.current;if(!e||O)return;let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(A(!0),_(!0),t.disconnect())},{rootMargin:"300px 0px"});return t.observe(e),()=>{t.disconnect()}},[O]);let W=(e=>{if(!e||!e.regions)return[];let t=[],a=0;return e.regions.forEach(e=>{e.locations&&e.locations.forEach(r=>
1{r.addresses&&r.addresses.forEach(s=>{let i=s.geoLocation?(e=>{if(!e||"string"!=typeof e)return null;try{let t,a,r=e.trim(),s=r.match(/[?&]query=(-?\d+\.?\d*),(-?\d+\.?\d*)/);if(s&&(t=parseFloat(s[1]),a=parseFloat(s[2])),!t||!a){let e=r.match(/[?&]q=(-?\d+\.?\d*),(-?\d+\.?\d*)/);e&&(t=parseFloat(e[1]),a=parseFloat(e[2]))}if(!t||!a){let e=r.match(/@(-?\d+\.?\d*),(-?\d+\.?\d*)/);e&&(t=parseFloat(e[1]),a=parseFloat(e[2]))}if(!t||!a){let e=r.match(/^(-?\d+\.?\d*),(-?\d+\.?\d*)$/);e&&(t=parseFloat(e[1]),a=parseFloat(e[2]))}if(void 0!==t&&void 0!==a&&t>=-90&&t<=90&&a>=-180&&a<=180&&!isNaN(t)&&!isNaN(a))return{latitude:t,longitude:a};return null}catch(t){return console.warn("Error parsing geoLocation:",e,t),null}})(s.geoLocation):null;if(i){var n,l;let o="";(null==(n=s.address)?void 0:n.content)&&(o=s.address.content.map(e=>e.content.map(e=>e.value).join("")).join("\n"));let c=s.phone&&s.phone.length>0?null==(l=s.phone[0])?void 0:l.phoneNumber:"";t.push({id:"accordion-".concat(a++),name:r.countryOrCity||s.title,coordinates:i,address:o||s.title||r.countryOrCity,phone:c||"",region:e.region,continent:p(e.region),color:"#121178",googleMapsUrl:s.geoLocation?s.geoLocation.startsWith("http")?s.geoLocation:"https://".concat(s.geoLocation):""})}})})}),t})(x).map((e,t)=>({id:e.id||"static-".concat(t),name:e.name,coordinates:e.coordinates,address:e.address||e.address,phone:e.phone||e.phone,region:e.region,continent:p(e.region),color:"#121178",googleMapsUrl:e.googleMapsUrl||""})),D=W.filter(e=>"All"===M||e.continent===M);W.reduce((e,t)=>(e[t.continent]=(e[t.continent]||0)+1,e),{}),W.reduce((e,t)=>(e[t.continent]||(e[t.continent]=new Set),e[t.continent].add(t.region),e),{});let B=(0,r.useCallback)(e=>{let t=e.continent||"All";t!==M&&S(t),C(e.id),y&&y.setCamera({center:[e.coordinates.longitude,e.coordinates.latitude],zoom:12,duration:1e3})},[y,M]),q=(0,r.useCallback)(e=>{if(S(e),y){let t="All"===e?W:W.filter(t=>t.continent===e);if(t.length>0){let e,a,r=Math.min(...t.map(e=>e.coordinates.longitude)),s=Math.min(...t.map(e=>e.coordinates.latitude)),i=Math.max(...t.map(e=>e.coordinates.longitude)),n=Math.max(...t.map(e=>e.coordinates.latitude));1===t.length?(e=20,a=20):t.length<=3?(e=5,a=5):(e=Math.max((i-r)*.2+2,2),a=Math.max((n-s)*.2+2,2));let l=new window.atlas.data.BoundingBox(new window.atlas.data.Position(r-e,s-a),new window.atlas.data.Position(i+e,n+a));y.setCamera({bounds:l,padding:80,duration:1500})}}},[y,W]),U=(0,r.useCallback)((e,t)=>{let a=window.atlas;a&&e&&(w.current.forEach(t=>{try{e.markers.remove(t)}catch(e){console.warn(" Error removing marker:",e)}}),w.current=[],t.forEach((t,r)=>{try{let r="marker-".concat(t.id),s="tooltip-".concat(t.id),i='\n            <div \n              id="'.concat(s,'" \n              data-marker-id="').concat(t.id,'"\n              class="map-marker-container"\n              style="width: 30px; height: 38px; position: relative; cursor: pointer; transition: transform 0.2s ease;"\n            >\n              <div class="marker-tooltip" style="position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(0); background-color: white; color: black; padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; margin-bottom: 8px; opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease; pointer-events: none; box-shadow: 0 2px 8px rgba(0,0,0,0.15); border: 1px solid #e0e0e0; z-index: 99999;">\n                ').concat(t.name,'\n                <div style="position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid white;"></div>\n              </div>\n              <svg width="30" height="38" viewBox="0 0 30 38" fill="none" xmlns="http://www.w3.org/2000/svg">\n                <path d="M29.1628 14.5814C29.1628 22.6345 14.5814 38 14.5814 38C14.5814 38 0 22.6345 0 14.5814C0 6.52831 6.52831 0 14.5814 0C22.6345 0 29.1628 6.52831 29.1628 14.5814Z" fill="#FF4E42"/>\n                <circle cx="14.5815" cy="14.5815" r="7.01163" fill="#FFFFFF"/>\n              </svg>\n            </div>\n          '),n=new a.HtmlMarker({position:[t.coordinates.longitude,t.coordinates.latitude],htmlContent:i,anchor:"bottom"});n.metadata={id:t.id,markerId:r},e.events.add("click",n,()=>{B(t)}),e.markers.add(n),w.current.push(n)}catch(e){console.error("Error adding marker ".concat(t.name,":"),e)}}))},[B]);(0,r.useEffect)(()=>
1{if(!g.current||!I||!F||E)return;let e=window.atlas;if(!e)return void queueMicrotask(()=>_(!1));try{let t=new e.data.BoundingBox(new e.data.Position(Math.min(...W.map(e=>e.coordinates.longitude))-10,Math.min(...W.map(e=>e.coordinates.latitude))-20),new e.data.Position(Math.max(...W.map(e=>e.coordinates.longitude))+10,Math.max(...W.map(e=>e.coordinates.latitude))+20)),a=new e.Map(g.current,{center:[20,30],zoom:2,authOptions:{authType:"subscriptionKey",subscriptionKey:F.subscriptionKey},view:"Auto",style:"satellite",preserveDrawingBuffer:!0});v.current=a,a.addEventListener("ready",()=>{if(_(!1),j(a),R(!0),a.addControl(new e.control.ZoomControl,"top-right"),a.addControl(new e.control.StyleControl,"top-right"),"All"===M)a.setCamera({bounds:t,padding:50,duration:1500});else{let r=W.filter(e=>e.continent===M);if(r.length>0){let t=Math.min(...r.map(e=>e.coordinates.longitude)),s=Math.min(...r.map(e=>e.coordinates.latitude)),i=Math.max(...r.map(e=>e.coordinates.longitude)),n=Math.max(...r.map(e=>e.coordinates.latitude)),l=new e.data.BoundingBox(new e.data.Position(t-5,s-5),new e.data.Position(i+5,n+5));a.setCamera({bounds:l,padding:50,duration:1500})}else a.setCamera({bounds:t,padding:50,duration:1500})}U(a,W)}),a.addEventListener("error",()=>{queueMicrotask(()=>_(!1))})}catch(e){queueMicrotask(()=>_(!1))}},[I,F,W,U,E,M]),(0,r.useEffect)(()=>{y&&E&&U(y,D)},[M,y,E,D,U]),(0,r.useEffect)(()=>{if(N&&z.current){let e=z.current.querySelector('[data-office-id="'.concat(N,'"]'));e&&e.scrollIntoView({behavior:"smooth",block:"nearest"})}},[N]);let Q=(0,r.useCallback)(async(e,t)=>{try{await navigator.clipboard.writeText(e),T(t),setTimeout(()=>{T(null)},2e3)}catch(e){console.error("Failed to copy address:",e)}},[]),H=(0,r.useCallback)(()=>{if(C(null),y){let e="All"===M?W:W.filter(e=>e.continent===M);if(e.length>0){let t,a,r=Math.min(...e.map(e=>e.coordinates.longitude)),s=Math.min(...e.map(e=>e.coordinates.latitude)),i=Math.max(...e.map(e=>e.coordinates.longitude)),n=Math.max(...e.map(e=>e.coordinates.latitude));1===e.length?(t=20,a=20):e.length<=3?(t=5,a=5):(t=Math.max((i-r)*.2+2,2),a=Math.max((n-s)*.2+2,2));let l=new window.atlas.data.BoundingBox(new window.atlas.data.Position(r-t,s-a),new window.atlas.data.Position(i+t,n+a));y.setCamera({bounds:l,padding:80,duration:1e3})}}},[y,M,W]),K=W.find(e=>e.id===N);return P?(0,t.jsx)("section",{className:"bg-gray-100 py-12",children:(0,t.jsxs)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[(0,t.jsx)("div",{className:"mb-8 text-center",children:(0,t.jsx)(s.default,{title:"Our Locations",size:"text-3xl",weight:700,color:"#1a1a1a",extraClasses:"mb-4"})}),(0,t.jsx)("div",{className:"flex h-[500px] items-center justify-center rounded-lg border-2 border-red-200 bg-red-50",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"mb-4 text-5xl",children:"⚠️"}),(0,t.jsx)(s.default,{title:"Map Error",size:"text-xl",weight:600,color:"#d32f2f",extraClasses:"mb-2"}),(0,t.jsx)(i.default,{content:P,color:"#666",size:"text-sm"})]})})]})}):(0,t.jsxs)("section",{className:"jsx-a5513587b35e9a08 bg-gray-50 py-12",children:[(0,t.jsxs)("div",{className:"jsx-a5513587b35e9a08 mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 mb-8 text-center",children:(0,t.jsx)(s.default,{title:"Our Locations",size:"text-3xl",weight:700,color:"#1a1a1a",extraClasses:"mb-4"})}),(0,t.jsxs)("div",{className:"jsx-a5513587b35e9a08 mb-8 flex flex-wrap items-center justify-center gap-3",children:[(0,t.jsx)("span",{className:"jsx-a5513587b35e9a08 text-sm font-bold text-gray-600 dark:text-black",children:"Locations:"}),m.map(e=>(0,t.jsx)("button",{onClick:()=>q(e),className:"jsx-a5513587b35e9a08 "+"cursor-pointer rounded-full px-5 py-2 text-sm font-medium transition-colors duration-200 ".concat(M===e?"bg-[#10005D] dark:bg-[#808080] text-white border-transparent":"bg-gray-200 text-black border border-transparent hover:bg-gray-300 dark:bg-[#2D2D2D] dark:border-[#808080] dark:text-white"," ").concat("All"===e?"hidden md:block":""),children:e},e))]}),(0,t.jsxs)("div",{ref:b,className:"jsx-a5513587b35e9a08 map-container relative z-0 overflow-hidden rounded-xl border border-gray-200 shadow-xl",children:[(0,t.jsx)("div",{ref:g,className:"jsx-a5513587b35e9a08 absolute inset-0 h-full w-full",children:(!O||k)&&(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 absolute inset-0 z-10 overflow-hidden rounded-[12px]",children:O?(0,t.jsxs)("div",{className:"jsx-a5513587b35e9a08 h-full w-full animate-pulse bg-gray-200",children:[(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 grid h-full w-full grid-cols-4 grid-rows-4 gap-0.5 p-0.5",children:Array.from({length:16}).map((e,a)=>(0,t.jsx)("div",{style:{opacity:.6+a%4*.1},className:"jsx-a5513587b35e9a08 rounded-sm bg-gray-300"},a))}),(0,t.jsxs)("div",{className:"jsx-a5513587b35e9a08 absolute top-3 left-3 flex flex-col gap-1",children:[(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 h-8 w-8 rounded bg-gray-400"}),(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 h-8 w-8 rounded bg-gray-400"})]}),(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 absolute top-1/3 left-1/4 h-4 w-4 roun
1ded-full bg-gray-400"}),(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 absolute top-1/2 left-1/2 h-4 w-4 rounded-full bg-gray-400"}),(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 absolute top-2/3 left-2/3 h-4 w-4 rounded-full bg-gray-400"}),(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 absolute bottom-6 left-1/2 h-4 w-28 -translate-x-1/2 rounded-full bg-gray-400"})]}):(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 flex h-full w-full items-center justify-center bg-white",children:(0,t.jsx)("p",{className:"jsx-a5513587b35e9a08 text-gray-600",children:"Map loads as you reach this section"})})})}),(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 absolute bottom-0 left-0 z-10 m-3 mb-[64px] rounded-full bg-white/90 px-3 py-1 text-xs text-gray-600 shadow-sm md:mb-6",children:"Click on any location marker to view our office details"}),(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 absolute top-0 right-0 z-10 m-3 flex items-center gap-2 rounded-full bg-white/90 px-3 py-1 text-xs text-gray-600 shadow-sm",children:(0,t.jsxs)("span",{className:"jsx-a5513587b35e9a08 flex items-center gap-1",children:[(0,t.jsx)("span",{className:"jsx-a5513587b35e9a08 bg-scarletred h-2.5 w-2.5 rounded-full"}),D.length," of ",W.length," locations"]})}),(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 "+"absolute top-0 right-0 z-20 h-full w-[360px] max-w-[85vw] overflow-hidden rounded-r-[12px] bg-white shadow-2xl sm:max-w-[360px] ".concat(K?"block":"hidden"),children:K&&(0,t.jsxs)("div",{className:"jsx-a5513587b35e9a08 flex h-full flex-col overflow-hidden",children:[(0,t.jsxs)("div",{className:"jsx-a5513587b35e9a08 bg-skyblue flex flex-shrink-0 items-center justify-between border-b border-gray-200 px-4 py-3",children:[(0,t.jsx)(s.default,{title:"Location Details",size:"text-lg",weight:400,level:"h3",color:"white"}),(0,t.jsx)("button",{onClick:H,"aria-label":"Close sidebar",className:"jsx-a5513587b35e9a08 bg-skyblue flex h-8 w-8 cursor-pointer items-center justify-center rounded-full text-white transition-colors hover:opacity-80",children:(0,t.jsx)("span",{className:"jsx-a5513587b35e9a08 text-xl",children:"×"})})]}),(0,t.jsx)("div",{ref:z,className:"jsx-a5513587b35e9a08 scrollbar-thin scrollbar-thumb-gray-300 scrollbar-track-transparent flex-1 overflow-y-auto p-4",children:(h=f(K,W,100),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"jsx-a5513587b35e9a08 mb-4",children:[(0,t.jsx)(s.default,{title:"Office".concat(h.length>1?"s":""," in this area"),size:"text-base",weight:700,color:"#1a1a1a",level:"h6"}),(0,t.jsxs)("p",{className:"jsx-a5513587b35e9a08 mt-1 text-xs text-gray-500",children:[h.length," location",h.length>1?"s":""," found within 100km"]})]}),h.map((e,a)=>(0,t.jsxs)("div",{"data-office-id":e.id,onClick:()=>{let t=W.find(t=>t.id===e.id);t&&B(t)},className:"jsx-a5513587b35e9a08 "+"mb-3 cursor-pointer rounded-lg border p-3 transition-all ".concat(e.id===K.id?"border-blue-400 bg-blue-50 shadow-md":"border-gray-200 bg-gray-50 hover:border-blue-300 hover:bg-blue-50/50"),children:[(0,t.jsxs)("div",{className:"jsx-a5513587b35e9a08 mb-3 flex items-start gap-3",children:[(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 relative flex h-10 w-10 flex-shrink-0 items-center justify-center bg-transparent",children:(0,t.jsx)(u,{className:"h-8 w-6"})}),(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 min-w-0 flex-1",children:(0,t.jsxs)("div",{className:"jsx-a5513587b35e9a08 flex items-start justify-between gap-2",children:[(0,t.jsxs)("div",{className:"jsx-a5513587b35e9a08 flex-1",children:[(0,t.jsx)(s.default,{title:e.name,size:"text-sm",weight:700,color:"#1a1a1a",level:"h6",extraClasses:"truncate"}),(0,t.jsx)("span",{className:"jsx-a5513587b35e9a08 "+"text-skyblue mt-1 inline-block rounded-full px-2 py-0.5 text-xs font-medium ".concat(e.id===K.id?"bg-skyblue/10":"bg-skyblue/20"),children:e.region})]}),(0,t.jsx)("button",{onClick:t=>{t.stopPropagation(),Q(e.address||"",e.id)},title:"Copy address",className:"jsx-a5513587b35e9a08 text-skyblue hover:bg-skyblue/10 mt-1 flex-shrink-0 cursor-pointer rounded-md p-1.5 transition-colors hover:text-blue-700",children:L===e.id?(0,t.jsx)(c,{}):(0,t.jsx)(d,{})})]})})]}),(0,t.jsxs)("div",{className:"jsx-a5513587b35e9a08 mb-2 flex items-start gap-2",children:[(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 "+"mt-0.5 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full ".concat(e.id===K.id?"bg-skyblue/10":"bg-skyblue/20"),children:(0,t.jsx)(n,{})}),(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 min-w-0 flex-1",children:(0,t.jsx)(i.default,{content:e.address||"",color:"#1a1a1a",size:"text-xs",weight:500,className:"break-words whitespace-normal"})})]}),e.phone&&(0,t.jsxs)("div",{className:"jsx-a5513587b35e9a08 flex items-center gap-2",children:[(0,t.jsx)("div",{className:"jsx-a5513587b35e9a08 "+"flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full ".concat(e.id===K.id?"bg-skyblue/10":"bg-skyblue/20"),children:(0,t.jsx)(l,{})}),(0,t.jsx)("a",{href:"tel:".concat(e.phone),className:"jsx-a5513587b35e9a08 text-skyblue text-base font-medium",children:e.phone})]}),(0,t.jsxs)("a",{href:e.googleMapsUrl||"https://www.google.com/maps/search/?api=1&query=".concat(e.coordinates.latitude,",").concat(e.coordinates.longitude),target:"_blank",rel:"noopener noreferrer",className:"jsx-a5513587b35e9a08 bg-skyblue mt-2 flex w-full items-center justify-center gap-1 rounded px-3 py-1.5 text-xs font-medium text-white transition-colors",children:[(0,t.jsx)(o,{}),"View on Google Maps"]})]},e.id))]}))})]})})]})]}),(0,t.jsx)(a.default,{id:"a5513587b35e9a08",children:".scrollbar-thin::-webkit-scrollbar{width:6px}.scrollbar-thin::-webkit-scrollbar-track{background:0 0}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:#9ca3af;border-radius:3px}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:#6b7280}.scrollbar-thin{scrollbar-width:thin;scrollbar-color:#9ca3af transparent}.map-marker-container:hover .marker-tooltip{opacity:1!important;transform:translate(-50%)translateY(-5px)!important}.map-marker-container .marker-tooltip{opacity:0!important;transform:translate(-50%)translateY(5px)!important}.custom-azure-marker{transition:all .3s}.custom-azure-marker:hover{transform:scale(1.15)}.custom-azure-marker.selected{transform:scale(1.2);box-shadow:0 0 0 4px #1211784d}.azure-map .atlas-popup-content{border-radius:8px;box-shadow:0 4px 20px #00000026}.azure-map .atlas-popup-close-button{color:#666;padding:4px 8px;font-size:20px}.azure-map canvas{image-rendering:unset!important}.atlas-map canvas{background-color:#0000!important}.azure-maps-control-container{width:-webkit-fit-content!important;width:fit-content!important;min-width:unset!important}.azure-maps-control-container .atlas-control{width:28px!important;min-width:28px!important}.azure-maps-control-container button{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important}@media (max-width:767px){.azure-maps-control-container{z-index:15!important}.map-container{height:400px!important}}.map-container{height:500px}"})]})}],654330)}]);

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.