PageSourceSearch

https://calo.app/_next/static/chunks/892.a858b64b24ed4dd0.js

js calo.app collected 2026-09-25 03:02:44 UTC 15,629 bytes, 13 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="78920b54-5999-4484-9643-a814aa0a1837",e._sentryDebugIdIdentifier="sentry-dbid-78920b54-5999-4484-9643-a814aa0a1837")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[892],{2363:function(e,t,r){"use strict";r.d(t,{X:function(){return ButtonSimplified},Z:function(){return ui_Button}});var n=r(85893),s=r(67294),o=r(41664),a=r.n(o),i=r(93967),l=r.n(i),icons_ArrowLeft=()=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,n.jsx)("path",{d:"M4.16669 9.99992H15.8334",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M4.16669 10L9.16669 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M4.16669 10L9.16669 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),icons_ArrowRight=e=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...e,children:[(0,n.jsx)("path",{d:"M4.16666 9.99992H15.8333",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M10.8333 15L15.8333 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M10.8333 5L15.8333 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),Close=e=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 20 20",fill:"none",...e,children:[(0,n.jsx)("path",{d:"M4 4L16 16",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M4 16L16 4",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}),icons_Play=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",style:{marginRight:"-6px"},children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.26702 1.76859C4.53458 1.62252 4.86055 1.63419 5.11697 1.79904L16.7836 9.29904C17.0222 9.45237 17.1663 9.71647 17.1663 10C17.1663 10.2836 17.0222 10.5477 16.7836 10.701L5.11697 18.201C4.86055 18.3658 4.53458 18.3775 4.26702 18.2314C3.99946 18.0854 3.83301 17.8049 3.83301 17.5V2.50002C3.83301 2.19518 3.99946 1.91467 4.26702 1.76859ZM5.49967 4.02641V15.9736L14.792 10L5.49967 4.02641Z",fill:"currentColor"})}),u=r(91106),c=r(73970),d=r.n(c),icons_Trash=()=>(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M14.7404 9L14.3942 18M9.60577 18L9.25962 9M19.2276 5.79057C19.5696 5.84221 19.9104 5.89747 20.25 5.95629M19.2276 5.79057L18.1598 19.6726C18.0696 20.8448 17.0921 21.75 15.9164 21.75H8.08357C6.90786 21.75 5.93037 20.8448 5.8402 19.6726L4.77235 5.79057M19.2276 5.79057C18.0812 5.61744 16.9215 5.48485 15.75 5.39432M3.75 5.95629C4.08957 5.89747 4.43037 5.84221 4.77235 5.79057M4.77235 5.79057C5.91878 5.61744 7.07849 5.48485 8.25 5.39432M15.75 5.39432V4.47819C15.75 3.29882 14.8393 2.31423 13.6606 2.27652C13.1092 2.25889 12.5556 2.25 12 2.25C11.4444 2.25 10.8908 2.25889 10.3394 2.27652C9.16065 2.31423 8.25 3.29882 8.25 4.47819V5.39432M15.75 5.39432C14.5126 5.2987 13.262 5.25 12 5.25C10.738 5.25 9.48744 5.2987 8.25 5.39432",stroke:"#212121",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),Button_Icon=e=>{let{icon:t,direction:r,children:s}=e;if(!t)return(0,n.jsx)(n.Fragment,{children:s});let renderIcon=()=>{switch(t){case"arrowLeft":return(0,n.jsx)(icons_ArrowLeft,{});case"arrowRight":return(0,n.jsx)(icons_ArrowRight,{});case"loader":return(0,n.jsx)(u.a,{className:d().buttonIconLoader});case"play":return(0,n.jsx)(icons_Play,{});case"close":return(0,n.jsx)(Close,{});case"trash":return(0,n.jsx)(icons_Trash,{});default:return null}};return"left"===r?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:d().buttonIcon,children:renderIcon()}),s]}):(0,n.jsxs)(n.Fragment,{children:[s,(0,n.jsx)("span",{className:d().buttonIcon,children:renderIcon()})]})},p=r(38726),h=r.n(p);let ButtonSimplified=e=>{let{href:t,target:r,className:o,variant:i="primary",size:u="medium",disabled:c=!1,content:d=""}=e,p=(0,s.useMemo)(()=>l()(h().button,h()["".concat(i)],h()["".concat(u)],{[h().disabled]:!0===c},o),[i,u,c,o]);return(0,n.jsx)(a(),{href:null!=t?t:"#",target:r,className:p,children:d})};
1var ui_Button=e=>{let{href:t,target:r,children:o,className:i,variant:u="primary",size:c="medium",icon:d,iconDirection:p="right",disabled:m=!1,...f}=e,v=(0,s.useMemo)(()=>l()(h().button,h()["".concat(u)],h()["".concat(c)],{[h().disabled]:!0===m},i),[u,c,m,i]),renderBody=()=>(0,n.jsx)(Button_Icon,{icon:d,direction:p,children:o});return t?(0,n.jsx)(a(),{href:t,target:r,className:v,children:renderBody()}):(0,n.jsx)("button",{disabled:m,className:v,...f,children:renderBody()})}},36657:function(e,t,r){"use strict";r.d(t,{M:function(){return FormSuccess}});var n=r(85893),s=r(89508),o=r(97522),a=r(2363),i=r(53929),l=r.n(i);let FormSuccess=e=>(0,n.jsx)(s.M,{children:(0,n.jsxs)(o.E.div,{initial:{opacity:0},animate:{opacity:1,transition:{duration:.4}},exit:{opacity:0},className:l().formSuccess,...null!==e.myRef&&{ref:e.myRef},children:[(0,n.jsx)("h3",{className:l().successHeading,children:"Thanks for reaching out"}),(0,n.jsx)("p",{className:l().successDescription,children:"You will receive a response within 48 hours."}),(0,n.jsx)(a.Z,{size:"big",variant:"primary",onClick:e.onSuccess,children:"Submit another message"})]})})},91106:function(e,t,r){"use strict";r.d(t,{a:function(){return Loader}});var n=r(85893);r(67294);var s=r(93967),o=r.n(s),a=r(97522),i=r(78646),l=r.n(i);let u={repeat:1/0,ease:"easeInOut",duration:1},Loader=e=>(0,n.jsx)("div",{className:o()(l().container,e.className),children:(0,n.jsx)(a.E.span,{className:l().span,animate:{rotate:360},transition:u})})},98107:function(e,t,r){"use strict";var n,s;r.d(t,{zk:function(){return n}}),(s=n||(n={})).EN_SA="en-sa",s.AR_SA="ar-sa",s.EN_QA="en-qa",s.AR_QA="ar-qa",s.EN_KW="en-kw",s.AR_KW="ar-kw",s.EN_BH="en-bh",s.AR_BH="ar-bh",s.EN_AE="en-ae",s.AR_AE="ar-ae",s.EN_OM="en-om",s.AR_OM="ar-om",s.EN="en",s.AR="ar",Object.values(n),Object.values(n).filter(e=>e.startsWith("ar")),Object.values(n).filter(e=>e.startsWith("en"))},65137:function(e,t,r){"use strict";r.d(t,{K:function(){return FormTab}});var n=r(85893),s=r(67294),o=r(11163),a=r(93967),i=r.n(a),l=r(69993),u=r(72327),c=r(45112),d=r.n(c);let FormTab=e=>{var t;let r=(0,o.useRouter)(),[a,c]=(0,s.useState)(!1),{controls:p,submit:h}=(0,u.c)({id:null==e?void 0:e.formId,fields:null==e?void 0:null===(t=e.formFields)||void 0===t?void 0:t.nodes});return(0,n.jsx)(l.l,{isLoading:a,className:i()(d().formWrapper,e.active&&d().active,"/events"===r.pathname?d().formWrapperEvent:d().formWrapperNotEvent),title:e.title,description:e.description,controls:p,shortText:e.shortText,onSuccess:()=>{c(!0),h().then(t=>{c(!1),t&&e.onSuccess()})}})}},97191:function(e,t,r){"use strict";r.r(t);var n=r(85893),s=r(67294),o=r(11163),a=r(93967),i=r.n(a),l=r(36657),u=r(91106),c=r(65137),d=r(45112),p=r.n(d);let h=(0,s.forwardRef)((e,t)=>{var r,a,d,h,m,f,v,_,b,g,x;let y=(0,o.useRouter)(),[w,j]=(0,s.useState)(null!==(d=null==e?void 0:e.tabsFormData)&&void 0!==d?d:[]),[C,N]=(0,s.useState)(0),[k,L]=(0,s.useState)(!1),[R,M]=(0,s.useState)(!1),E=(0,s.useRef)(null);return(0,s.useEffect)(()=>{function handleClickOutside(e){E.current&&!E.current.contains(e.target)&&window.scrollTo({top:0,behavior:"smooth"})}return document.addEventListener("mousedown",handleClickOutside),()=>{document.removeEventListener("mousedown",handleClickOutside)}},[E]),(0,n.jsx)("section",{className:i()(p().formTabs,"/events"!==y.pathname?p().noMarginTop:void 0),children:(0,n.jsxs)("div",{className:"/events"!==y.pathname?p().wrap:void 0,children:["/events"!==y.pathname&&(null==e?void 0:null===(f=e.formTabs)||void 0===f?void 0:null===(m=f.tabs)||void 0===m?void 0:null===(h=m[0])||void 0===h?void 0:h.tabName)?(0,n.jsx)("div",{className:p().tabsNavWrapper,children:(null==e?void 0:null===(b=e.formTabs)||void 0===b?void 0:null===(_=b.tabs)||void 0===_?void 0:null===(v=_[0])||void 0===v?void 0:v.tabName)&&(0,n.jsxs)("div",{className:p().tabsNav,children:[null==e?void 0:null===(x=e.formTabs)||void 0===x?void 0:null===(g=x.tabs)||void 0===g?void 0:g.map((e,t)=>e.tabName?(0,n.jsx)("button",{className:i()(p().tabsNavItem,t===C?p().tabsNavItemActive:void 0),onClick:()=>N(t),children:e.tabName},t):null),(0,n.jsx)("span",{className:p().tabsNavItemLine})]})}):null,R?(0,n.jsx)(u.a,{className:p().loader}):(0,n.jsx)(n.Fragment,{children:k?(0,n.jsx)(l.M,{onSuccess:()=>L(!1),myRef:E}):(0,n.jsx)("div",{className:p().formsWrapper,children:w.length>0&&(null==e?void 0:null===(a=e.formTabs)||void 0===a?void 0:null===(r=a.tabs)||void 0===r?void 0:r.map((e,t)=>{let r=w[t];return r?(0,n.jsx)(c.K,{...e,onSuccess:()=>L(!0),active:t===C,formId:null==r?void 0:r.databaseId,formFields:null==r?void 0:r.formFields},t):null}))})})]})})});h.displayName="FormTabs",t.default=h},73970:function(e){e.exports={buttonIcon:"styles_buttonIcon__d068L",buttonIconLoader:"styles_buttonIconLoader__duKxw"}},38726:function(e){e.exports={button:"styles_button___Dvql",big:"styles_big__okX76",medium:"styles_medium__frxjB",small:"styles_small__CSoBw",primary:"styles_primary__wRObf",secondary:"styles_secondary__IvJj0",onPictures:"styles_onPictures__fI_5b",disabled:"styles_disabled__QcJR4",white:"styles_white__gXDsE",gray:"styles_gray__LXRDJ",link:"styles_link__xgDAd"}},78646:function(e){e.exports={span:"Loader_span__1Gy9w",container:"Loader_container__Wbacl"}},45112:function(e){e.exports={formTabs:"FormTabs_formTabs__l59jK",noMarginTop:"FormTabs_noMarginTop__skXDN",wrap:"FormTabs_wrap__ZgGEW",loader:"FormTabs_loader__KeLeT",formsWrapper:"FormTabs_formsWrapper__RBLJr",formWrapperEvent:"FormTabs_formWrapperEvent___51ea",formWrapperNotEvent:"FormTabs_formWrapperNotEvent__73m9c",formWrapper:"FormTabs_formWrapper__39RIg",active:"FormTabs_active__Upq2Q",tabsNavWrapper:"FormTabs_tabsNavWrapper__MKyo7",tabsNav:"FormTabs_tabsNav__R4pOC",tabsNavItem:"FormTabs_tabsNavItem__mnf62",tabsNavItemActive:"FormTabs_tabsNavItemActive__45jyM",tabsNavItemLine:"FormTabs_tabsNavItemLine__0SlOX"}},93967:function(e,t){var r;/*!
2	Copyright (c) 2018 Jed Watson.
3	Licensed under the MIT License (MIT), see
4	http://jedwatson.github.io/classnames
5*/!function(){"use strict";var n={}.hasOwnProperty;function classNames(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=appendClass(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return classNames.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=appendClass(t,r));return t}(r)))}return e}function appendClass(e,t){return t?e?e+" "+t:e+t:e}e.exports?(classNames.default=classNames,e.exports=classNames):void 0!==(r=(function(){return classNames}).apply(t,[]))&&(e.exports=r)}()},89508:function(e,t,r){"use strict";r.d(t,{M:function(){return AnimatePresence}});var n=r(85893),s=r(67294),o=r(25364),a=r(96681),i=r(75062),l=r(240),u=r(93243),c=r(16014);function setRef(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}let PopChildMeasure=class PopChildMeasure extends s.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,u.R)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,u.R)(e)&&e.offsetWidth||0,n=(0,u.R)(e)&&e.offsetHeight||0,s=getComputedStyle(t),o=this.props.sizeRef.current;o.height=parseFloat(s.height),o.width=parseFloat(s.width),o.top=t.offsetTop,o.left=t.offsetLeft,o.right=r-o.width-o.left,o.bottom=n-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}};function PopChild({children:e,isPresent:t,anchorX:r,anchorY:o,root:a,pop:i}){let l=(0,s.useId)(),u=(0,s.useRef)(null),d=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:p}=(0,s.useContext)(c._),h=e.props?.ref??e?.ref,m=function(...e){return s.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=setRef(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():setRef(e[t],null)}}}}(...e),e)}(u,h);return(0,s.useInsertionEffect)(()=>{let{width:e,height:n,top:s,left:c,right:h,bottom:m}=d.current;if(t||!1===i||!u.current||!e||!n)return;let f="left"===r?`left: ${c}`:`right: ${h}`,v="bottom"===o?`bottom: ${m}`:`top: ${s}`;u.current.dataset.motionPopId=l;let _=document.createElement("style");p&&(_.nonce=p);let b=a??document.head;return b.appendChild(_),_.sheet&&_.sheet.insertRule(`
6          [data-motion-pop-id="${l}"] {
7            position: absolute !important;
8            width: ${e}px !important;
9            height: ${n}px !important;
10            ${f}px !important;
11            ${v}px !important;
12          }
13        `),()=>{u.current?.removeAttribute("data-motion-pop-id"),b.contains(_)&&b.removeChild(_)}},[t]),(0,n.jsx)(PopChildMeasure,{isPresent:t,childRef:u,sizeRef:d,pop:i,children:!1===i?e:s.cloneElement(e,{ref:m})})}let PresenceChild=({children:e,initial:t,isPresent:r,onExitComplete:o,custom:i,presenceAffectsLayout:u,mode:c,anch
13orX:d,anchorY:p,root:h})=>{let m=(0,a.h)(newChildrenMap),f=(0,s.useId)(),v=!0,_=(0,s.useMemo)(()=>(v=!1,{id:f,initial:t,isPresent:r,custom:i,onExitComplete:e=>{for(let t of(m.set(e,!0),m.values()))if(!t)return;o&&o()},register:e=>(m.set(e,!1),()=>m.delete(e))}),[r,m,o]);return u&&v&&(_={..._}),(0,s.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[r]),s.useEffect(()=>{r||m.size||!o||o()},[r]),e=(0,n.jsx)(PopChild,{pop:"popLayout"===c,isPresent:r,anchorX:d,anchorY:p,root:h,children:e}),(0,n.jsx)(l.O.Provider,{value:_,children:e})};function newChildrenMap(){return new Map}var d=r(15947);let getChildKey=e=>e.key||"";function onlyElements(e){let t=[];return s.Children.forEach(e,e=>{(0,s.isValidElement)(e)&&t.push(e)}),t}let AnimatePresence=({children:e,custom:t,initial:r=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:p=!1,anchorX:h="left",anchorY:m="top",root:f})=>{let[v,_]=(0,d.oO)(p),b=(0,s.useMemo)(()=>onlyElements(e),[e]),g=p&&!v?[]:b.map(getChildKey),x=(0,s.useRef)(!0),y=(0,s.useRef)(b),w=(0,a.h)(()=>new Map),j=(0,s.useRef)(new Set),[C,N]=(0,s.useState)(b),[k,L]=(0,s.useState)(b);(0,i.L)(()=>{x.current=!1,y.current=b;for(let e=0;e<k.length;e++){let t=getChildKey(k[e]);g.includes(t)?(w.delete(t),j.current.delete(t)):!0!==w.get(t)&&w.set(t,!1)}},[k,g.length,g.join("-")]);let R=[];if(b!==C){let e=[...b];for(let t=0;t<k.length;t++){let r=k[t],n=getChildKey(r);g.includes(n)||(e.splice(t,0,r),R.push(r))}return"wait"===c&&R.length&&(e=R),L(onlyElements(e)),N(b),null}let{forceRender:M}=(0,s.useContext)(o.p);return(0,n.jsx)(n.Fragment,{children:k.map(e=>{let s=getChildKey(e),o=(!p||!!v)&&(b===k||g.includes(s));return(0,n.jsx)(PresenceChild,{isPresent:o,initial:(!x.current||!!r)&&void 0,custom:t,presenceAffectsLayout:u,mode:c,root:f,onExitComplete:o?void 0:()=>{if(j.current.has(s)||!w.has(s))return;j.current.add(s),w.set(s,!0);let e=!0;w.forEach(t=>{t||(e=!1)}),e&&(M?.(),L(y.current),p&&_?.(),l&&l())},anchorX:h,anchorY:m,children:e},s)})})}}}]);

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.