PageSourceSearch

https://cloudscene.com/_next/static/chunks/2594-0737ca208c345182.js

js cloudscene.com collected 2026-09-24 10:06:31 UTC 76,605 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2594],{33033:function(e,t,n){n.d(t,{r:function(){return a}});n(41539),n(88674);var r=n(5152),i=n.n(r),o=n(74357),a=i()((function(){return n.e(8206).then(n.bind(n,48206)).then((function(e){return e.BannerMap}))}),{loading:o.Od,ssr:!1,loadableGenerated:{webpack:function(){return[48206]}}})},54108:function(e,t,n){n.d(t,{X:function(){return f}});n(47941),n(82526),n(57327),n(41539),n(38880),n(54747),n(49337);var r=n(59499),i=n(19521),o=n(86893),a=n(84192),c=n(79572),s=n(85893);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=(0,i.ZP)(a.kq).withConfig({componentId:"sc-1sasynh-0"})((function(){return{display:"flex",alignItems:"center","> :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":0,marginRight:"calc(1rem * var(--tw-space-x-reverse))",marginLeft:"calc(1rem * calc(1 - var(--tw-space-x-reverse)))"}}})),p=(0,i.ZP)(c.YS).withConfig({componentId:"sc-1sasynh-1"})((function(){return{fontWeight:"700","--tw-text-opacity":"1",color:"rgba(0, 0, 0, var(--tw-text-opacity))",marginBottom:"0.5rem"}})),m=i.ZP.span.withConfig({componentId:"sc-1sasynh-2"})((function(){return{flex:"1 1 0%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",textAlign:"left"}})),h={color:"#000",size:20},f=function(e){var t=e.salesNumber,n=e.supportNumber,r=e.web;return t||r||n?(0,s.jsxs)(g,{children:[r&&(0,s.jsxs)("div",{children:[(0,s.jsx)(p,{children:"Website"}),(0,s.jsxs)(u,{as:"a",href:r,target:"_blank",rel:"noopener noreferrer",children:[(0,s.jsx)(o.RsK,l({},h)),(0,s.jsx)(m,{children:r})]})]}),n&&(0,s.jsxs)("div",{children:[(0,s.jsx)(p,{children:"Support Contact"}),(0,s.jsxs)(u,{as:"a",href:"tel:".concat(n),children:[(0,s.jsx)(o.tUt,l({},h)),(0,s.jsx)(m,{children:n})]})]}),t&&(0,s.jsxs)("div",{children:[(0,s.jsx)(p,{children:"Sales Contact"}),(0,s.jsxs)(u,{as:"a",href:"tel:".concat(t),children:[(0,s.jsx)(o.tUt,l({},h)),(0,s.jsx)(m,{children:t})]})]})]}):null},g=(0,i.ZP)("div").withConfig({componentId:"sc-1sasynh-3"})({display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"1.25rem"})},76064:function(e,t,n){n.d(t,{I:function(){return d},_:function(){return s}});var r,i,o=n(71383),a=n(19521),c=(0,a.iv)(r||(r=(0,o.Z)(["\n  background-color: ",";\n  border-color: ",";\n  transition-property: background-color, border-color;\n  transition-duration: 75ms;\n  background-image: url(\"data:image/svg+xml,<svg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'><path d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/></svg>\");\n"])),"#009eff","#009eff"),s=a.ZP.label.withConfig({componentId:"sc-f625dx-0"})((function(e){var t=e.disabled;return[{display:"grid",gridTemplateColumns:"20px 1fr",gap:"1.25rem",alignItems:"center","--tw-text-opacity":"1",color:"rgba(107, 114, 128, var(--tw-text-opacity))",fontWeight:"400",fontSize:"0.875rem",lineHeight:"1.25rem"},!t&&{cursor:"pointer",":hover":{"--tw-text-opacity":"1",color:"rgba(17, 24, 39, var(--tw-text-opacity))"},":focus-within":{"--tw-text-opacity":"1",color:"rgba(17, 24, 39, var(--tw-text-opacity))"}},t&&{opacity:"0.7"}]})),d=a.ZP.input.attrs({type:"checkbox"}).withConfig({componentId:"sc-f625dx-1"})((function(e){return[{appearance:"none",height:"1.25rem",width:"1.25rem","--tw-bg-opacity":"1",backgroundColor:"rgba(255, 255, 255, var(--tw-bg-opacity))",borderWidth:"2px","--tw-border-opacity":"1",borderColor:"rgba(156, 163, 175, var(--tw-border-opacity))",borderRadius:"0.25rem",backgroundRepeat:"no-repeat",backgroundPosition:"center"},{":not(:disabled)":{cursor:"pointer"},":disabled":{opacity:"0.7","--tw-border-opacity":"1",borderColor:"rgba(209, 213, 219, var(--tw-border-opacity))"}}
1,{":focus":{outline:"2px solid transparent",outlineOffset:"2px",":not(:disabled)":{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgba(0, 158, 255, var(--tw-ring-opacity))","--tw-ring-offset-width":"1px"}}},e.checked&&c,(0,a.iv)(i||(i=(0,o.Z)(["\n    &:checked {\n      ","\n    }\n  "])),c)]}))},47089:function(e,t,n){n.d(t,{s:function(){return w}});n(47941),n(82526),n(57327),n(38880),n(54747),n(49337);var r=n(59499),i=n(19521),o=(n(68309),n(66992),n(41539),n(33948),n(69826),n(21249),n(92222),n(67294)),a=n(80705),c=n(53854),s=n(78720),d=n(41167),l=n(40051),u=n(85893),p=function(e){var t=e.label,n=e.onDelete;return(0,u.jsxs)(m,{children:[(0,u.jsx)("div",{children:t}),(0,u.jsx)(h,{role:"button",onClick:n,"aria-label":"Remove ".concat(t),children:(0,u.jsx)(c.apv,{size:16})})]})},m=(0,i.ZP)("div").withConfig({componentId:"sc-115o1t-0"})({display:"flex",alignItems:"center","--tw-bg-opacity":"1",backgroundColor:"rgba(243, 244, 246, var(--tw-bg-opacity))",borderRadius:"0.375rem","> :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":0,marginRight:"calc(0.5rem * var(--tw-space-x-reverse))",marginLeft:"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"},paddingLeft:"0.25rem",paddingRight:"0.25rem",paddingTop:"0.125rem",paddingBottom:"0.125rem"}),h=(0,i.ZP)("div").withConfig({componentId:"sc-115o1t-1"})({padding:"0.125rem",borderRadius:"9999px",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgba(229, 231, 235, var(--tw-bg-opacity))"}}),f=n(90400);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x=function(e,t){var n=e.label,r=e.name,m=e.placeholder,h=void 0===m?"Enter a search term...":m,g=e.items,x=void 0===g?[]:g,w=e.values,E=void 0===w?[]:w,q=e.defaultValues,z=void 0===q?[]:q,N=e.itemToString,L=e.itemToID,D=e.itemDisabled,$=e.inputDisabled,A=e.onInput,W=e.onItemSelected,B=e.onItemRemoved,F=e.inlineDropdown,M=void 0!==F&&F,V=e.children,Y=(0,o.useId)(),U=(0,o.useRef)(null),H=(0,s.o)({size:x.length,parentRef:U,estimateSize:(0,o.useCallback)((function(){return 44}),[]),overscan:5}),K=(0,a.M$)({selectedItems:E,initialSelectedItems:z}),X=K.getDropdownProps,G=K.addSelectedItem,Q=K.removeSelectedItem,J=K.selectedItems,ee=(0,a.Kb)({id:Y,selectedItem:null,items:x,onInputValueChange:function(e){var t=e.inputValue;null===A||void 0===A||A(t)},onIsOpenChange:function(){de("")},onHighlightedIndexChange:function(e){var t=e.highlightedIndex;void 0!==t&&H.scrollToIndex(t)},itemToString:N,stateReducer:function(e,t){var n=t.changes;switch(t.type){case a.Kb.stateChangeTypes.InputKeyDownEnter:case a.Kb.stateChangeTypes.ItemClick:return v(v({},n),{},{inputValue:e.inputValue,highlightedIndex:e.highlightedIndex});default:return n}},onStateChange:function(e){var t=e.type,n=e.selectedItem;switch(t){case a.Kb.stateChangeTypes.InputKeyDownEnter:case a.Kb.stateChangeTypes.ItemClick:if(!n)return;J.find((function(e){return L(e)===L(n)}))?(Q(n),null===B||void 0===B||B(n)):(G(n),null===W||void 0===W||W(n))}}}),te=ee.isOpen,ne=ee.highlightedIndex,re=ee.getToggleButtonProps,ie=ee.getLabelProps,oe=ee.getMenuProps,ae=ee.getInputProps,ce=ee.getComboboxProps,se=ee.getItemProps,de=ee.setInputValue;return(0,f.m)(t,te),(0,u.jsxs)(b,{children:[n&&(0,u.jsx)(d._,v(v({"aria-label":"".concat(r,"-label"),htmlFor:r},ie()),{},{children:n})),(0,u.jsx)("div",v(v({},ce()),{},{children:(0,u.jsxs)(y,v(v({},re({tabIndex:void 0})),{},{type:"button","aria-haspopup":"true","aria-expanded":te?"true":"false","aria-labelledby":"".concat(r,"-label"),$_css2:[{position:"relative",width:"100%","--tw-bg-opacity":"1",backgroundColor:"rgba(255, 255, 255, var(--tw-bg-opacity))",cursor:"pointer",fontSize:"0.875rem",lineHeight:"1.25rem",textAlign:"left"},{borderWidth:"2px","--tw-border-opacity":"1",borderColor:"rgba(229, 231, 235, var(--tw-border-opacity))",borderRadius:"0.375rem",padding:"0.25rem",paddingRight:"2.5rem"},{":focus":{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
1dow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgba(0, 158, 255, var(--tw-ring-opacity))",outline:"2px solid transparent",outlineOffset:"2px"}},(0,i.iv)(["min-height:2.5rem;"])],children:[(0,u.jsx)(j,{children:J.map((function(e,t){return(0,u.jsx)(p,{label:N(e),onDelete:function(t){t.stopPropagation(),e&&(Q(e),null===B||void 0===B||B(e))}},"selected-item-".concat(t))}))}),(0,u.jsx)(C,{"aria-hidden":!0,children:(0,u.jsx)(c.kWQ,{color:"#9ca3af",size:20})})]}))})),(0,u.jsxs)(I,{$_css3:[!M&&{position:"absolute"},{zIndex:"20",marginTop:"0.25rem",width:"100%",borderRadius:"0.5rem",borderWidth:"1px","--tw-border-opacity":"1",borderColor:"rgba(243, 244, 246, var(--tw-border-opacity))","--tw-bg-opacity":"1",backgroundColor:"rgba(255, 255, 255, var(--tw-bg-opacity))","--tw-shadow":"0 0 30px -6px rgba(88, 88, 88, 0.125), 0 0 15px -3px rgba(88, 88, 88, 0.1)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",display:"none"},te&&{display:"block"}],children:[(0,u.jsx)(P,v(v({},ce()),{},{children:(0,u.jsx)(l.I,v(v({},ae(X({preventKeyAction:te,ref:t,placeholder:h},{suppressRefError:!0}))),{},{disabled:$}))})),(0,u.jsx)(Z,{}),(0,u.jsxs)(O,v(v({},oe({ref:U})),{},{tabIndex:-1,role:"listbox","aria-labelledby":"".concat(r,"-label"),$_css4:[{maxHeight:"220px",fontSize:"0.875rem",lineHeight:"1.25rem",outline:"2px solid transparent",outlineOffset:"2px",position:"relative",overflowY:"auto"}],children:[0===x.length&&V,H.totalSize>0&&(0,u.jsx)(k,{"aria-hidden":!0,$_css5:[(0,i.iv)(["height:","px;"],H.totalSize)]},"total-size"),H.virtualItems.map((function(e){var t=e.index,n=e.size,a=e.start,s=null===D||void 0===D?void 0:D(x[t]),d=J.find((function(e){return L(e)===L(x[t])}));return(0,o.createElement)(S,v(v({},se({item:x[t],index:t,onMouseLeave:function(e){e.stopPropagation()},disabled:s})),{},{key:L(x[t]),id:"".concat(r,"-option-").concat(L(x[t])),role:"option",$_css6:[{"--tw-text-opacity":"1",color:"rgba(55, 65, 81, var(--tw-text-opacity))",userSelect:"none",position:"relative",padding:"0.25rem"},{position:"absolute",top:"0px",left:"0px",right:"0px",bottom:"0px"},!s&&{cursor:"pointer"},(0,i.iv)(["height:","px;transform:translateY(","px);"],n,a)]}),(0,u.jsxs)(_,{$_css7:[{paddingTop:"0.5rem",paddingBottom:"0.5rem",paddingLeft:"0.75rem",paddingRight:"2.5rem",borderRadius:"0.375rem"},ne===t&&!s&&{"--tw-bg-opacity":"1",backgroundColor:"rgba(243, 244, 246, var(--tw-bg-opacity))"}],children:[(0,u.jsx)(R,{$_css8:[{fontWeight:"400",display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},s&&{opacity:"0.5"}],children:N(x[t])}),d&&(0,u.jsx)(T,{children:(0,u.jsx)(c.dZ6,{"aria-label":"selected",color:"#009eff",size:16})})]}))}))]}))]})]})},w=(0,o.forwardRef)(x),b=(0,i.ZP)("div").withConfig({componentId:"sc-vpuhc3-0"})({position:"relative"}),y=(0,i.ZP)("button").withConfig({componentId:"sc-vpuhc3-1"})(["",""],(function(e){return e.$_css2})),j=(0,i.ZP)("div").withConfig({componentId:"sc-vpuhc3-2"})({display:"flex",flexWrap:"wrap",gap:"0.375rem"}),C=(0,i.ZP)("span").withConfig({componentId:"sc-vpuhc3-3"})({position:"absolute",top:"0px",bottom:"0px",right:"0px",display:"flex",alignItems:"center",paddingRight:"0.5rem",pointerEvents:"none"}),I=(0,i.ZP)("div").withConfig({componentId:"sc-vpuhc3-4"})(["",""],(function(e){return e.$_css3})),P=(0,i.ZP)("div").withConfig({componentId:"sc-vpuhc3-5"})({padding:"0.25rem"}),Z=(0,i.ZP)("div").withConfig({componentId:"sc-vpuhc3-6"})({borderWidth:"1px","--tw-border-opacity":"1",borderColor:"rgba(243, 244, 246, var(--tw-border-opacity))"}),O=(0,i.ZP)("ul").withConfig({componentId:"sc-vpuhc3-7"})(["",""],(function(e){return e.$_css4})),k=(0,i.ZP)("li").withConfig({componentId:"sc-vpuhc3-8"})(["",""],(function(e){return e.$_css5})),S=(0,i.ZP)("li").withConfig({componentId:"sc-vpuhc3-9"})(["",""],(function(e){return e.$_css6})),_=(0,i.ZP)("div").withConfig({componentId:"sc-vpuhc3-10"})(["",""],(function(e){return e.$_css7})),R=(0,i.ZP)("span").withConfig({componentId:"sc-vpuhc3-11"})(["",""],(function(e){return e.$_css8})),T=(0,i.ZP)("span").withConfig({componentId:"sc-vpuhc3-12"})({position:"absolute",top:"0px",bottom:"0px",right:"0px",display:"flex",alignItems:"center",paddingRight:"1rem"})},85889:function(e,t,n){n.d(t,{d:function(){return o}});n(47941),n(82526),n(57327),n(41539),n(38880),n(54747),n(49337),n(19521);var r=n(67294);n(85893);var i=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;return function(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(t),t=setTimeout((function(){return e.apply(r,o)}),n)}},o=function(e){var t=(0,r.useRef)(null),n=(0,r.useCallback)((function(){t.current&&(e(""),t.current.value="")}
1),[t,e]),o=(0,r.useCallback)((function(){t.current&&e(t.current.value)}),[e]);return{handleInput:i(o,350),ref:t,handleReset:n}}},48023:function(e,t,n){n.d(t,{K:function(){return r}});var r=n(19521).ZP.textarea.withConfig({componentId:"sc-8ewfe7-0"})((function(){return[{width:"100%",paddingLeft:"0.5rem",paddingRight:"0.5rem",paddingTop:"0.25rem",paddingBottom:"0.25rem",fontSize:"0.875rem",lineHeight:"1.25rem"},{borderRadius:"0.375rem",borderWidth:"2px","--tw-border-opacity":"1",borderColor:"rgba(229, 231, 235, var(--tw-border-opacity))","::placeholder":{"--tw-placeholder-opacity":"1",color:"rgba(156, 163, 175, var(--tw-placeholder-opacity))"}},{":focus":{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgba(0, 158, 255, var(--tw-ring-opacity))",outline:"2px solid transparent",outlineOffset:"2px"}}]}))},93340:function(e,t,n){n.d(t,{B:function(){return d},O:function(){return u}});var r=n(19521),i=(n(21249),n(51930)),o=n(73663),a=n(85893),c=function(e){var t=e.img;return(0,a.jsx)(l,{"data-testid":"mobile-banner",alt:"banner",src:(0,o.g)(t)})},s=function(e){var t=e.bannerImages;return(0,a.jsx)(i.o,{items:t,delay:7e3,infinite:!0,children:function(e){return e.page.map((function(e){return(0,a.jsx)(c,{img:e.attributes.url},e.id)}))}})},d=function(e){var t=e.premium,n=e.bannerImages;return(0,a.jsxs)(a.Fragment,{children:[n.length>0&&t&&(0,a.jsx)(s,{bannerImages:n})," "]})},l=(0,r.ZP)("img").withConfig({componentId:"sc-1cmvqq1-0"})({objectFit:"cover",width:"100%",height:"8rem"}),u=function(){return(0,a.jsx)(p,{})},p=(0,r.ZP)("div").withConfig({componentId:"sc-1jejtvw-0"})({width:"100%",height:"8rem",borderRadius:"0.75rem","--tw-bg-opacity":"1",backgroundColor:"rgba(243, 244, 246, var(--tw-bg-opacity))"})},51930:function(e,t,n){n.d(t,{o:function(){return f}});var r,i=n(71383),o=(n(21249),n(19521)),a=n(86893),c=n(84192),s=n(49326),d=n(79572),l=n(67294),u=n(33151),p=n(78764),m=n(85893),h=o.ZP.div.withConfig({componentId:"sc-1t4vtsl-0"})((function(e){var t=e.active;return[{borderRadius:"9999px",padding:"0.25rem",margin:"0.5rem",cursor:"pointer"},t?{"--tw-bg-opacity":"1",backgroundColor:"rgba(0, 158, 255, var(--tw-bg-opacity))"}:{"--tw-bg-opacity":"1",backgroundColor:"rgba(229, 231, 235, var(--tw-bg-opacity))"},t&&{"--tw-scale-x":"1.5","--tw-scale-y":"1.5",transform:"var(--tw-transform)"}
1,(0,o.iv)(r||(r=(0,i.Z)(["\n    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;\n  "])))]})),f=function(e){var t=e.itemsPerPage,n=void 0===t?{xs:1,sm:1,md:1,lg:1,xl:1}:t,r=e.items,i=e.delay,o=void 0===i?0:i,f=e.infinite,y=void 0!==f&&f,j=e.pagination,C=void 0===j?"none":j,I=e.children,P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.size,r=t.infinite,i=void 0!==r&&r,o=(0,l.useState)(0),a=o[0],c=o[1],s=(0,l.useMemo)((function(){return(0,p.y)(e,n)}),[e,n]),d=function(e){return c(e)},u=function(){c((function(e){var t=s.length-1;return e<t?e+1:e>=t&&i?0:e}))},m=function(){c((function(e){var t=s.length-1;return e>0?e-1:e<=0&&i?t:e}))};return(0,l.useEffect)((function(){c(0)}),[s]),{pages:s,activePage:a,setActivePage:d,nextPage:u,previousPage:m}}(r,{size:n[(0,s.Gc)()],infinite:y}),Z=P.pages,O=P.activePage,k=P.setActivePage,S=P.nextPage,_=P.previousPage,R=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).delay,n=void 0===t?0:t,r=(0,l.useRef)(e),i=(0,l.useRef)(0),o=(0,l.useRef)({start:u.Z,stop:u.Z});return(0,l.useEffect)((function(){r.current=e}),[e]),(0,l.useEffect)((function(){var e=function(){n>0&&(i.current=window.setInterval((function(){return r.current()}),n))},t=function(){window.clearInterval(i.current)};return o.current={start:e,stop:t},e(),function(){t()}}),[n]),o.current}((function(){return S()}),{delay:o});return 0==r.length?null:(0,m.jsxs)(g,{onMouseEnter:function(){return R.stop()},onMouseLeave:function(){return R.start()},$_css2:[{display:"flex",flexDirection:"column",height:"100%",width:"100%",position:"relative"}],children:[(0,m.jsx)(v,{children:I?I({page:Z[O],totalPages:Z.length,nextPage:S,previousPage:_,setPage:function(e){return k(e)}}):Z[O]}),"none"!==C&&Z.length>1&&(0,m.jsxs)(x,{children:[(0,m.jsx)(c.hU,{disabled:O<=0&&!y,onClick:_,"aria-label":"Back",children:(0,m.jsx)(a.YFh,{})}),(0,m.jsxs)(w,{children:["dots"===C&&Z.map((function(e,t){return(0,m.jsx)(h,{active:O===t,onClick:function(){k(t)}},t)})),"numbers"===C&&(0,m.jsxs)(d.YS,{children:["Page:"," ",(0,m.jsxs)(b,{children:[O+1," / ",Z.length]})]})]}),(0,m.jsx)(c.hU,{disabled:O>=Z.length-1&&!y,onClick:S,"aria-label":"Next",children:(0,m.jsx)(a.Tfp,{})})]})]})},g=(0,o.ZP)("div").withConfig({componentId:"sc-1t4vtsl-1"})(["",""],(function(e){return e.$_css2})),v=(0,o.ZP)("div").withConfig({componentId:"sc-1t4vtsl-2"})({display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",height:"100%",position:"relative"}),x=(0,o.ZP)("div").withConfig({componentId:"sc-1t4vtsl-3"})({display:"flex",justifyContent:"center",alignItems:"center","> :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":0,marginRight:"calc(0.5rem * var(--tw-space-x-reverse))",marginLeft:"calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))"}}),w=(0,o.ZP)("div").withConfig({componentId:"sc-1t4vtsl-4"})({marginTop:"0.5rem",marginBottom:"0.5rem",padding:"0.5rem",display:"flex",flexWrap:"wrap",justifyContent:"center",alignItems:"center"}),b=(0,o.ZP)("span").withConfig({componentId:"sc-1t4vtsl-5"})({fontWeight:"700"})},88234:function(e,t,n){n.d(t,{Z:function(){return o}});n(68309);var r=n(37246),i=n(85893),o=function(e){var t=e.id,n=e.attributes;return(0,i.jsx)(r.xZ,{companyName:n.name,companyProfileId:t,children:(0,i.jsx)(r.NL,{companyName:n.name})})}},16680:function(e,t,n){n.d(t,{Z:function(){return h}});var r,i=n(19521),o=(n(21249),n(67294)),a=n(71383),c=n(85893),s=i.ZP.svg.attrs((function(){return{viewBox:"0 0 16 16",strokeWidth:"0",xmlnsXlink:"http://www.w3.org/1999/xlink",xmlns:"http://www.w3.org/2000/svg"}})).withConfig({componentId:"sc-1wms977-0"})((function(e){var t=e.size,n=void 0===t?16:t;return[(0,i.iv)(r||(r=(0,a.Z)(["\n    width: ","px;\n    height: ","px;\n  "])),n,n)]})),d=i.ZP.path.attrs((function(){return{d:"M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927\n0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"}})).withConfig({componentId:"sc-1wms977-1"})((function(){return[]})),l=function(e){var t=e.id;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("defs",{children:(0,c.jsxs)("linearGradient",{id:"".concat(t,"-half-star-gradient"),x1:"0",x2:"100%",y1:"0",y2:"0",children:[(0,c.jsx)("stop",{offset:"50%",stopColor:"#009eff"}),(0,c.jsx)("stop",{offset:"50%",stopColor:"#e5e7eb"})]})}),(0,c.jsx)(d,{fill:"url(#".concat(t,"-half-star-gradient)")})]})},u=function(){return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(d,{fill:"#009eff"})})},p=function(){return(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(d,{fill:"#e5e7eb"})})},m=(n(91038),n(78783),function(e,t){return(0,o.useMemo)((function(){return function(e,t){var n=Math.round(2*e)/2,r=Math.floor(n),i=n%1;return Array.from(Array(t)).map((function(e,t){return t<r?1:t===r&&i>0?i:0}))}(e,t)}),[e,t])}),h=function(e){var t=e.rating,n=e.max,r=e.id,i=e.size,a=m(t,n);return(0,c.jsx)(f,{children:a.map((function(e,t){return(0,c.jsx)(o.Fragment,{children:(0,c.jsxs)(s,{size:i,children:[.5===e&&(0,c.jsx)(l,{id:r}),1===e&&(0,c.jsx)(u,{}),0===e&&(0,c.jsx)(p,{})]})},t)}))})},f=(0,i.ZP)("div").withConfig({componentId:"sc-17d5ey3-0"})({display:"flex",flexDirection:"row",alignItems:"center",gap:"0.25rem"})},42144:function(e,t,n){n.d(t,{i:function(){return f},K:function(){return l}});n(47941),n(82526),n(57327),n(41539),n(38880),n(54747),n(49337);var r=n(59499),i=n(43492),o=n(88234),a=n(66574),c=n(85893);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?s(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=function(e){var t,n=e.provider,r=e.children,s=(0,i.aC)().hasCompany,l=null===(t=n.meta)||void 0===t?void 0:t.reviews,u=!s(n.id);return l?(0,c.jsx)(a.jk,{meta:l,footer:u&&(0,c.jsx)(o.Z,d({},n)),children:r}):null},u=n(19521),p=(n(68309),n(38736)),m=n(46015),h=n(79572),f=function(e){var t,n=e.provider,r=e.id,i=null===(t=n.meta)||void 0===t?void 0:t.reviews;return i?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(g,{children:[(0,c.jsx)(v,{children:"Operated By"}),(0,c.jsx)(m.r,{href:"/service-provider/".concat(n.attributes.slug),children:(0,c.jsx)(p.e,{children:n.attributes.name})})]}),i.count>0?(0,c.jsx)(m.r,{href:"/service-provider/".concat(n.attributes.slug,"#reviews"),children:(0,c.jsx)("a",{children:(0,c.jsx)(a.h_,{meta:i,id:r,children:(0,c.jsx)(x,{count:i.count})})})}):(0,c.jsx)(a.XF,{count:i.count})]}):null},g=(0,u.ZP)(h.s0).withConfig({componentId:"sc-ry5s8c-0"})({marginBottom:"0.75rem"}),v=(0,u.ZP)(h.ZT).withConfig({componentId:"sc-ry5s8c-1"})({marginBottom:"0.25rem","--tw-text-opacity":"1",color:"rgba(0, 0, 0, var(--tw-text-opacity))"}),x=(0,u.ZP)(a.XF).withConfig({componentId:"sc-ry5s8c-2"})({":hover":{"--tw-text-opacity":"1",color:"rgba(3, 105, 161, var(--tw-text-opacity))"},":focus":{"--tw-text-opacity":"1",color:"rgba(3, 105, 161, var(--tw-text-opacity))"}})},3917:function(e,t,n){n.d(t,{m:function(){return ke}});var r=n(16835),i=n(19521),o=(n(68309),n(21249),n(57327),n(41539),n(67294)),a=n(8193),c=n(84192),s=n(94837),d=n(58311),l=n(79572),u=(n(47941),n(82526),n(38880),n(54747),n(49337),n(59499)),p=n(47533),m=n(85945),h=n(87536),f=n(38736),g=n(43492),v=n(13387),x=n(41167),w=n(39055),b=n(48023),y=n(46015),j=n(69789),C=n(31560),I=n(85893);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var O=function(){var e=(0,g.aC)(),t=e.user,n=e.signin,r=(0,h.Gc)(),i=r.register,a=r.setValue;return(0,o.useEffect)((function(){var e,n,r,i,o;t.isAuthenticated&&a("user",{firstName:null===(e=t.profile)||void 0===e?void 0:e.firstName,lastName:null===(n=t.profile)||void 0===n?void 0:n.lastName,email:null===(r=t.profile)||void 0===r?void 0:r.email,phone:null===(i=t.profile)||void 0===i?void 0:i.phone,company:null===(o=t.profile)||void 0===o?void 0:o.employer,country:""})}),[a,t]),(0,I.jsxs)(k,{$_css:[{display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"1rem",gridAutoFlow:"row",gridAutoRows:"min-content","@media (min-width: 640px)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}},t.isAuthenticated&&{display:"none"}],children:[(0,I.jsx)(S,{children:"Customer Details"}),(0,I.jsx)(_,{children:(0,I.jsxs)(R,{children:["Existing Customer? ","",(0,I.jsx)(f.e,{href:"/signin",onClick:function(e){e.preventDefault(),n()},children:"Log in"})]})}),(0,I.jsxs)("div",{children:[(0,I.jsx)(x._,{htmlFor:"user.firstName",children:" First Name *"}),(0,I.jsx)(C.I,Z({},i("user.firstName"))),(0,I.jsx)(v.d,{name:"user.firstName"})]}),(0,I.jsxs)("div",{children:[(0,I.jsx)(x._,{htmlFor:"user.lastName",children:"Last Name *"}),(0,I.jsx)(C.I,Z({},i("user.lastName"))),(0,I.jsx)(v.d,{name:"user.lastName"})]}),(0,I.jsxs)("div",{children:[(0,I.jsx)(x._,{htmlFor:"user.email",children:"Email *"}),(0,I.jsx)(C.I,Z({},i("user.email"))),(0,I.jsx)(v.d,{name:"user.email"})]}),(0,I.jsxs)("div",{children:[(0,I.jsx)(x._,{htmlFor:"user.phone",children:" Phone *"}),(0,I.jsx)(C.I,Z({type:"tel"},i("user.phone"))),(0,I.jsx)(v.d,{name:"user.phone"})]}),(0,I.jsxs)("div",{children:[(0,I.jsx)(x._,{htmlFor:"user.company",children:"Company *"}),(0,I.jsx)(C.I,Z({},i("user.company"))),(0,I.jsx)(v.d,{name:"user.company"})]}),(0,I.jsxs)("div",{children:[(0,I.jsx)(x._,{htmlFor:"user.country",children:"Country *"}),(0,I.jsx)(C.I,Z({},i("user.country"))),(0,I.jsx)(v.d,{name:"user.country"})]})]})},k=(0,i.ZP)("div").withConfig({componentId:"sc-lx49no-0"})(["",""],(function(e){return e.$_css})),S=(0,i.ZP)(l.ZT).withConfig({componentId:"sc-lx49no-1"})({"--tw-text-opacity":"1",color:"rgba(17, 24, 39, var(--tw-text-opacity))",fontWeight:"700"}),_=(0,i.ZP)("div").withConfig({componentId:"sc-lx49no-2"})({display:"flex","@media (min-width: 640px)":{justifyContent:"flex-end"}}),R=(0,i.ZP)(l.YS).withConfig({componentId:"sc-lx49no-3"})({"--tw-text-opacity":"1",color:"rgba(156, 163, 175, var(--tw-text-opacity))"}),T=n(53500),E=[{margin:"0px",padding:"1.25rem",display:"grid",gridAutoRows:"min-content",gap:"0.5rem",fontSize:"1.125rem",lineHeight:"1.75rem",borderWidth:"2px",borderRadius:"0.375rem","--tw-border-opacity":"1",borderColor:"rgba(229, 231, 235, var(--tw-border-opacity))",width:"100%",height:"100%"},{":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgba(243, 244, 246, var(--tw-bg-opacity))"}},{":focus-within":{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
1dow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgba(0, 158, 255, var(--tw-ring-opacity))"}},{".peer:checked ~ &":{"--tw-border-opacity":"1",borderColor:"rgba(0, 158, 255, var(--tw-border-opacity))"}}],q=n(74231),z=function(e){return{is:!1,then:q.Z_().required(e)}},N=q.Ry({markets:q.IX().min(1,"Please select at least one market").max(2,"Please select a maximum of two markets"),services:q.IX().min(1,"Please select at least one service").max(2,"Please select a maximum of two services"),details:q.Z_().required("Additional information is required"),user:q.Ry({firstName:q.Z_().when("$isAuthenticated",z("First Name is required")),lastName:q.Z_().when("$isAuthenticated",z("Last Name is required")),email:q.Z_().email("Your company email must be a valid address").when("$isAuthenticated",z("Your company email address is required")),phone:q.Z_().when("$isAuthenticated",z("Phone number is required")),company:q.Z_().when("$isAuthenticated",z("Your company name is required")),country:q.Z_().when("$isAuthenticated",z("Country name is required"))})}),L=n(50029),D=n(87794),$=n.n(D),A=(n(66992),n(78783),n(33948),n(60285),n(41637),n(26699),n(32023),n(34553),n(92222),n(36492)),W=n(82624),B=n(47089),F=n(85889),M=n(512),V=n(7813),Y=function(){var e,t=(0,o.useState)(""),n=t[0],r=t[1],i=(0,F.d)(r),c=i.ref,s=i.handleInput,d=(0,h.Gc)().control,l=(0,h.Dq)({control:d,name:"markets"}),u=l.fields,p=l.append,m=l.remove,f=(0,h.qo)({control:d,name:"markets"}),g=(0,A.a)(["directory-service","markets"],function(){var e=(0,L.Z)($().mark((function e(t){var n,r;return $().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.signal,r=new URL("".concat(j.O.SELF_SERVICE_URL,"/directory-service/markets")),e.next=4,(0,V.U2)(r,{signal:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{staleTime:6e5}),v=g.data,x=g.isFetching,w=g.isError,b=g.isSuccess,y=(0,o.useMemo)((function(){var e,t;return null!==(e=null===v||void 0===v||null===(t=v.data)||void 0===t?void 0:t.markets.filter((function(e){return!n||e.name.toLowerCase().includes(n.toLowerCase())})))&&void 0!==e?e:[]}),[null===v||void 0===v||null===(e=v.data)||void 0===e?void 0:e.markets,n]),C=(0,o.useCallback)((function(e){e&&p(e)}),[p]),P=(0,o.useCallback)((function(e){var t=u.findIndex((function(t){return t.uuid===e.uuid}));t>-1&&m(t)}),[u,m]);return(0,I.jsx)(B.s,{ref:c,name:"markets",items:x?[]:y,itemToString:function(e){return e?"".concat(e.name,", ").concat(e.iso):""},itemToID:function(e){return e.uuid},values:f,onItemSelected:C,onItemRemoved:P,itemDisabled:function(){return f.length>=2},onInput:s,label:(0,I.jsxs)(U,{children:[(0,I.jsxs)("div",{children:[(0,I.jsx)(H,{children:"Locations I am interested in *"}),(0,I.jsx)(K,{children:"(please select up to 2)"})]}),(0,I.jsx)(M.e,{label:"Indicate the markets that you're interested in contacting this provider about.",variant:"light",size:"small",children:(0,I.jsx)("div",{children:(0,I.jsx)(a.znh,{color:"#d1d5db",size:20})})})]}),children:(0,I.jsx)(W.IN,{status:{loading:x,error:w,success:b},items:x?[]:y,input:n})})},U=(0,i.ZP)("div").withConfig({componentId:"sc-w29i0r-0"})({display:"flex",alignItems:"center",alignContent:"center",gap:"0.5rem"}),H=(0,i.ZP)("span").withConfig({componentId:"sc-w29i0r-1"})({display:"block","@media (min-width: 640px)":{display:"inline"}}),K=(0,i.ZP)("span").withConfig({componentId:"sc-w29i0r-2"})({"--tw-text-opacity":"1",color:"rgba(107, 114, 128, var(--tw-text-opacity))",fontSize:"0.75rem",lineHeight:"1rem"}),X=function(){var e,t=(0,o.useState)(""),n=t[0],r=t[1],i=(0,F.d)(r),c=i.ref,s=i.handleInput,d=(0,h.Gc)().control,l=(0,h.Dq)({control:d,name:"services"}),u=l.fields,p=l.append,m=l.remove,f=(0,h.qo)({control:d,name:"services"}),g=(0,A.a)(["product-service","services"],function(){var e=(0,L.Z)($().mark((function e(t){var n,r;return $().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.signal,r=new URL("".concat(j.O.SELF_SERVICE_URL,"/product-service/services")),e.next=4,(0,V.U2)(r,{signal:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{staleTime:6e5}),v=g.data,x=g.isFetching,w=g.isError,b=g.isSuccess,y=(0,o.useMemo)((function(){var e,t;return null!==(e=null===v||void 0===v||null===(t=v.data)||void 0===t?void 0:t.services.filter((function(e){return!n||e.name.toLowerCase().includes(n.toLowerCase())})))&&void 0!==e?e:[]}),[null===v||void 0===v||null===(e=v.data)||void 0===e?void 0:e.services,n]),C=(0,o.useMemo)((function(){return y.concat([{name:"Other Services - Specify more information in the Additional Information Section",uuid:null}])}),[y]),P=(0,o.useCallback)((function(e){e&&p(e)}),[p]),Z=(0,o.useCallback)((function(e){var t=u.findIndex((function(t){return t.uuid===e.uuid}));t>-1&&m(t)}),[u,m]);return(0,I.jsx)(B.s,{ref:c,label:(0,I.jsxs)(G,{children:[(0,I.jsxs)("div",{children:[(0,I.jsx)(Q,{children:"Services I am interested in * "}),(0,I.jsx)(J,{children:"(please select up to 2)"})]}),(0,I.jsx)(M.e,{label:"Indicate the services that you are interested in contacting this provider about.",variant:"light",size:"small",children:(0,I.jsx)("div",{children:(0,I.jsx)(a.znh,{color:"#d1d5db",size:20})})})]}),name:"services",items:x?[]:C,itemToString:function(e){var t;return null!==(t=null===e||void 0===e?void 0:e.name)&&void 0!==t?t:""},itemToID:function(e){return e.uuid},values:f,itemDisabled:function(){return f.length>=2},onInput:s,onItemSelected:P,onItemRemoved:Z,children:(0,I.jsx)(W.IN,{status:{loading:x,error:w,success:b},items:x?[]:C,input:n})})},G=(0,i.ZP)("div").withConfig({componentId:"sc-12zfr0y-0"})({display:"flex",alignItems:"center",alignContent:"center",gap:"0.5rem"}),Q=(0,i.ZP)("span").withConfig({componentId:"sc-12zfr0y-1"})({display:"block","@media (min-width: 640px)":{display:"inline"}}),J=(0,i.ZP)("span").withConfig({componentId:"sc-12zfr0y-2"})({"--tw-text-opacity":"1",color:"rgba(107, 114, 128, var(--tw-text-opacity))",fontSize:"0.75rem",lineHeight:"1rem"});function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ee(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ne,re=function(e){var t,n,r,i,o,a,c,s,d,u,f=e.onSubmit,b=(0,g.aC)().user,C=null===b||void 0===b?void 0:b.isAuthenticated,P=(0,h.cI)({defaultValues:{markets:[],services:[],businessType:"business",details:"",user:{firstName:null!==(t=null===(n=b.profile)||void 0===n?void 0:n.firstName)&&void 0!==t?t:"",lastName:null!==(r=null===(i=b.profile)||void 0===i?void 0:i.lastName)&&void 0!==r?r:"",email:null!==(o=null===(a=b.profile)||void 0===a?void 0:a.email)&&void 0!==o?o:"",phone:null!==(c=null===(s=b.profile)||void 0===s?void 0:s.phone)&&void 0!==c?c:"",company:null!==(d=null===(u=b.profile)||void 0===u?void 0:u.employer)&&void 0!==d?d:"",country:""}},resolver:(0,p.X)(N),context:{isAuthenticated:C},mode:"onChange"});return(0,I.jsx)(m.aH,{client:T.E,children:(0,I.jsx)(h.RV,te(te({},P),{},{children:(0,I.jsx)("form",{onSubmit:P.handleSubmit(f),children:(0,I.jsxs)(ie,{children:[(0,I.jsxs)(oe,{children:[(0,I.jsx)(X,{}),(0,I.jsx)(Y,{})]}),(0,I.jsxs)("div",{children:[(0,I.jsx)(x._,{children:"Business Type *"}),(0,I.jsxs)(ae,{children:[(0,I.jsxs)("div",{children:[(0,I.jsx)(ce,te({type:"radio",id:"business",value:"BUSINESS",className:"peer",defaultChecked:!0},P.register("businessType"))),(0,I.jsxs)(se,{htmlFor:"business",$_css:E,children:["Business/Enterprise",(0,I.jsx)(l.YS,{children:"My company is interested in service(s) for Business/Enterprise use."})]})]}),(0,I.jsxs)("div",{children:[(0,I.jsx)(de,te({type:"radio",id:"wholesale",value:"WHOLESALE",className:"peer"},P.register("businessType"))),(0,I.jsxs)(le,{htmlFor:"wholesale",$_css2:E,children:["Wholesale Services",(0,I.jsx)(l.YS,{children:"My company is interested in service(s) for Wholesale use."})]})]})]})]}),(0,I.jsxs)(ue,{children:[(0,I.jsx)(x._,{htmlFor:"details",children:"Additional information *"}),(0,I.jsx)(pe,te(te({},P.register("details")),{},{maxLength:500,rows:4,placeholder:"Let the service provider know about the requirements"})),(0,I.jsx)(v.d,{name:"details"})]}),(0,I.jsx)(O,{}),(0,I.jsxs)(l.YS,{children:["By clicking 'submit', I agree to Cloudscene's ","",(0,I.jsx)(y.r,{href:"".concat(j.O.EXPLORE_URL,"/privacy-policy"),children:(0,I.jsx)(me,{variant:"primary",children:"Privacy Policy"})})," ","and ","",(0,I.jsx)(y.r,{href:"".concat(j.O.EXPLORE_URL,"/terms-of-service"),children:(0,I.jsx)(he,{variant:"primary",children:"Website Terms"})})]}),(0,I.jsx)(fe,{children:(0,I.jsx)(w.k,{children:"Submit"})})]})})}))})},ie=(0,i.ZP)("div").withConfig({componentId:"sc-455cp8-0"})({display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"1.5rem"}),oe=(0,i.ZP)("div").withConfig({componentId:"sc-455cp8-1"})({display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"0.5rem",gridAutoFlow:"row",gridAutoRows:"min-content","@media (min-width: 640px)":{gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}}),ae=(0,i.ZP)("div").withConfig({componentId:"sc-455cp8-2"})({display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"0.5rem","@media (min-width: 640px)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"}}),ce=(0,i.ZP)("input").withConfig({componentId:"sc-455cp8-3"})({appearance:"none",position:"absolute"}),se=(0,i.ZP)(x._).withConfig({componentId:"sc-455cp8-4"})(["",""],(function(e){return e.$_css})),de=(0,i.ZP)("input").withConfig({componentId:"sc-455cp8-5"})({appearance:"none",position:"absolute"}),le=(0,i.ZP)(x._).withConfig({componentId:"sc-455cp8-6"})(["",""],(function(e){return e.$_css2})),ue=(0,i.ZP)("div").withConfig({componentId:"sc-455cp8-7"})({display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"0.5rem",gridAutoFlow:"row",gridAutoRows:"min-content"}),pe=(0,i.ZP)(b.K).withConfig({componentId:"sc-455cp8-8"})({paddingLeft:"0.75rem",paddingRight:"0.75rem","::placeholder":{fontStyle:"italic"}}),me=(0,i.ZP)(f.e).withConfig({componentId:"sc-455cp8-9"})({fontWeight:"700",fontSize:"0.875rem",lineHeight:"1.25rem"}
1),he=(0,i.ZP)(f.e).withConfig({componentId:"sc-455cp8-10"})({fontWeight:"700",fontSize:"0.875rem",lineHeight:"1.25rem"}),fe=(0,i.ZP)("div").withConfig({componentId:"sc-455cp8-11"})({display:"flex",justifyContent:"flex-end"}),ge=n(71383),ve=n(88768),xe=n(48520).M.injectEndpoints({endpoints:function(e){return{createMarketplaceLead:e.mutation({query:function(e){return{document:(0,ve.Ps)(ne||(ne=(0,ge.Z)(["\n          mutation CreateLead($marketplaceLeadRequest: CreateLead!) {\n            createLead(input: $marketplaceLeadRequest) {\n              id\n            }\n          }\n        "]))),variables:{marketplaceLeadRequest:e.payload}}}})}}}).useCreateMarketplaceLeadMutation,we=function(){var e=(0,o.useContext)(s.tC);return(0,I.jsxs)(ye,{children:[(0,I.jsx)(je,{children:"Great news, your request has been sent. The service provider will be in contact with you!"}),(0,I.jsx)(Ce,{children:(0,I.jsx)(c.KM,{onClick:null===e||void 0===e?void 0:e.closeModal,children:"Close"})})]})},be=function(){var e=(0,o.useContext)(s.tC);return(0,I.jsxs)(Ie,{children:[(0,I.jsx)(Pe,{children:"Sorry, there was an error with submitting, please try again later. If this still occurs please contact our support."}),(0,I.jsx)(Ze,{children:(0,I.jsx)(c.KM,{onClick:null===e||void 0===e?void 0:e.closeModal,children:"Close"})})]})},ye=(0,i.ZP)("div").withConfig({componentId:"sc-1gnfyjv-0"})({display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"2rem"}),je=(0,i.ZP)(l.ZT).withConfig({componentId:"sc-1gnfyjv-1"})({"--tw-text-opacity":"1",color:"rgba(107, 114, 128, var(--tw-text-opacity))"}),Ce=(0,i.ZP)("div").withConfig({componentId:"sc-1gnfyjv-2"})({justifySelf:"end"}),Ie=(0,i.ZP)("div").withConfig({componentId:"sc-1gnfyjv-3"})({display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"2rem"}),Pe=(0,i.ZP)(l.ZT).withConfig({componentId:"sc-1gnfyjv-4"})({"--tw-text-opacity":"1",color:"rgba(107, 114, 128, var(--tw-text-opacity))"}),Ze=(0,i.ZP)("div").withConfig({componentId:"sc-1gnfyjv-5"})({justifySelf:"end"}),Oe=function(){var e=(0,o.useContext)(s.tC);return(0,I.jsx)(d.x,{onClick:null===e||void 0===e?void 0:e.closeModal})},ke=function(e){var t=e.id,n=e.name,i=e.image,d=void 0===i?null:i,u=xe(),p=(0,r.Z)(u,2),m=p[0],h=p[1],f=h.isSuccess,g=h.isError,v=(0,o.useCallback)((function(e){m({payload:{external_company_profile_id:t,business_type:e.businessType,first_name:e.user.firstName,last_name:e.user.lastName,email:e.user.email,phone:e.user.phone,company_name:e.user.company,country:e.user.country,additional_info:e.details,services:{create:e.services.filter((function(e){return null!==e.uuid})).map((function(e){return{external_service_name:e.name,external_service_id:e.uuid}}))},locations:{create:e.markets.map((function(e){return{location_type:"market",external_location_id:e.uuid}}))}}})}),[m,t]);return(0,I.jsxs)(s.u_,{Dialog:(0,I.jsx)(s.Vq.X,{size:f||g?"sm":"lg"}),action:function(e){var t=e.openModal;return(0,I.jsx)(c.KM,{onClick:t,children:"Contact Provider"})},children:[f&&(0,I.jsx)(s.Vq.V,{header:(0,I.jsx)(l.s0,{children:"Your request has been sent!"}),icon:(0,I.jsx)(a.mny,{size:40,color:"#009eff"}),children:(0,I.jsx)(we,{})}),g&&(0,I.jsx)(s.Vq.V,{header:(0,I.jsx)(l.s0,{children:"Sorry, there was an error!"}),icon:(0,I.jsx)(a.LHV,{size:40,color:"#f43f5e"}),children:(0,I.jsx)(be,{})}),!f&&!g&&(0,I.jsxs)(Se,{$_css:[{position:"relative",paddingTop:"2rem",paddingBottom:"2rem",overflow:"auto",height:"100%"}],children:[(0,I.jsx)(_e,{children:(0,I.jsx)(Oe,{})}),(0,I.jsxs)(Re,{$_css2:[{display:"grid",gap:"1.5rem",paddingLeft:"2rem",paddingRight:"2rem"}],children:[(0,I.jsxs)(Te,{children:[d&&(0,I.jsx)("div",{children:(0,I.jsx)(Ee,{src:d,alt:"".concat(n," logo")})}),(0,I.jsxs)(qe,{children:[(0,I.jsx)(l.s0,{children:"Contact Provider"}),(0,I.jsx)(ze,{children:n})]})]}),(0,I.jsx)(re,{onSubmit:v})]})]})]})},Se=(0,i.ZP)("div").withConfig({componentId:"sc-l2k8od-0"})(["",""],(function(e){return e.$_css})),_e=(0,i.ZP)("div").withConfig({componentId:"sc-l2k8od-1"})({position:"absolute",right:"2rem",display:"flex",justifyContent:"center",alignItems:"center",width:"2rem"}),Re=(0,i.ZP)("div").withConfig({componentId:"sc-l2k8od-2"})(["",""],(function(e){return e.$_css2})),Te=(0,i.ZP)("div").withConfig({componentId:"sc-l2k8od-3"})({display:"flex",gap:"1.5rem",alignItems:"center"}),Ee=(0,i.ZP)("img").withConfig({componentId:"sc-l2k8od-4"})({objectFit:"contain",height:"6rem",width:"6rem",padding:"0.75rem",borderWidth:"1px","--tw-border-opacity":"1",borderColor:"rgba(229, 231, 235, var(--tw-border-opacity))",borderStyle:"solid",borderRadius:"0.5rem","--tw-bg-opacity":"1",backgroundColor:"rgba(255, 255, 255, var(--tw-bg-opacity))"}),qe=(0,i.ZP)("div").withConfig({componentId:"sc-l2k8od-5"})({display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))"}),ze=(0,i.ZP)(l.s0).withConfig({componentId:"sc-l2k8od-6"})({fontWeight:"400","--tw-text-opacity":"1",color:"rgba(107, 114, 128, var(--tw-text-opacity))"})},37246:function(e,t,n){n.d(t,{NL:function(){return Ge},xZ:function(){return Ke}});var r=n(19521),i=(n(92222),n(43492)),o=n(94837),a=n(79572),c=n(69789),s=n(66309),d=n(26811),l=n(59499),u=n(50029),p=n(16835),m=n(27812),h=n(87794),f=n.n(h),g=(n(21249),n(41539),n(39714),n(69826),n(47941),n(82526),n(57327),n(38880),n(54747),n(49337),n(67294)),v=n(47533),x=n(99717),w=n(87536),b=n(73403),y=n(58311),j=n(67053),C=(n(73210),n(26699),function(e){return"boolean"===typeof e}),I=function(e){return"number"===typeof e},P=function(e){return"string"===typeof e},Z=function(e,t,n,r,i){var o,a,c={review:{companyProfileId:r,reviewTitle:null!==(o=null===(a=t.t
1itle)||void 0===a?void 0:a.trim())&&void 0!==o?o:"",firstName:n.firstName,lastName:n.lastName,role:n.role,anonymous:t.anonymous?1:0},responses:e.filter((function(e){return!["title","anonymous","displayCompanyName","compliant"].includes(e.id)})).map((function(e){var n=t[e.id];return{questionId:e.id,value:O(e,n)}}))};return i&&(c.reviewCampaignInvite={code:i},t.country&&(c.reviewCampaignInvite.countryCode=t.country)),!t.anonymous&&t.displayCompanyName&&(c.review.companyName=n.employer),c},O=function(e,t){switch(e.attributes.questionType){case"0-10":return I(t)?t:null;case"text":return P(t)?t.trim():null;case"yes-no":return C(t)?t?1:0:null;default:return null}},k=n(76064),S=n(31560),_=n(41167),R=n(84192),T=[{borderWidth:"2px","--tw-border-opacity":"1",borderColor:"rgba(243, 244, 246, var(--tw-border-opacity))",borderRadius:"0.25rem",display:"flex",alignItems:"center",justifyContent:"center","--tw-text-opacity":"1",color:"rgba(156, 163, 175, var(--tw-text-opacity))",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgba(249, 250, 251, var(--tw-bg-opacity))"},cursor:"pointer"}],E=[{"--tw-border-opacity":"1",borderColor:"rgba(14, 165, 233, var(--tw-border-opacity))","--tw-text-opacity":"1",color:"rgba(14, 165, 233, var(--tw-text-opacity))"}],q=n(85893),z=function(e){var t=e.value,n=e.onChange;return(0,q.jsxs)(N,{children:[(0,q.jsx)(L,{tabIndex:-1,onClick:function(){return n(!0)},$_css:[T,!0===t&&E],children:"Yes"}),(0,q.jsx)(D,{tabIndex:-1,onClick:function(){return n(!1)},$_css2:[T,!1===t&&E],children:"No"})]})},N=(0,r.ZP)("div").withConfig({componentId:"sc-14rqs4-0"})({display:"flex","> :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":0,marginRight:"calc(0.25rem * var(--tw-space-x-reverse))",marginLeft:"calc(0.25rem * calc(1 - var(--tw-space-x-reverse)))"}}),L=(0,r.ZP)(R.Xd).withConfig({componentId:"sc-14rqs4-1"})(["",""],(function(e){return e.$_css})),D=(0,r.ZP)(R.Xd).withConfig({componentId:"sc-14rqs4-2"})(["",""],(function(e){return e.$_css2}));function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var W=function(){var e=(0,w.Gc)().control;return(0,q.jsx)(w.Qr,{name:"anonymous",control:e,render:function(e){var t=e.field;return(0,q.jsxs)(k._,{children:[(0,q.jsx)(k.I,{checked:!!t.value,onChange:function(e){t.onChange(e.target.checked)}}),(0,q.jsx)("span",{children:"I would like to be anonymous on my review"})]})}})},B=function(){var e=(0,w.Gc)().control,t=(0,w.qo)({control:e,name:"anonymous"});return(0,q.jsxs)(M,{children:[(0,q.jsx)(a.ZT,{children:"I can confirm that this review was based off my own genuine experience with this provider/product. I am not an employee of the provider I am reviewing nor a direct competitor. If I was offered an incentive in exchange for providing a review, this offer did not influence the content of this review."}),!t&&(0,q.jsx)(a.ZT,{children:"I also give consent and understand the provider of the product I am reviewing may use my review, my name, and likeness for advertising or promotional purposes, as outlined in the Cloudscene Terms of Use, or potentially contact me about being a reference."}),(0,q.jsx)(w.Qr,{name:"compliant",control:e,defaultValue:!1,render:function(e){var t=e.field;return(0,q.jsxs)(k._,{children:[(0,q.jsx)(k.I,{tabIndex:-1,checked:!!C(t.value)&&t.value,onChange:function(e){t.onChange(e.target.checked)}}),(0,q.jsx)("span",{children:"I agree with this statement"})]})}})]})},F=function(){var e=(0,w.Gc)().register;return(0,q.jsxs)("div",{children:[(0,q.jsx)(V,{htmlFor:"title",$_css:[{fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"400"}],children:"Please provide a title for your review"}),(0,q.jsx)(S.I,A(A({},e("title")),{},{placeholder:"Summarize your experience in a short sentence"}))]})},M=(0,r.ZP)("div").withConfig({componentId:"sc-1uy00qg-1"})({display:"flex",flexDirection:"column",gap:"0.5rem"}),V=(0,r.ZP)(_._).withConfig({componentId:"sc-1uy00qg-2"})(["",""],(function(e){return e.$_css})),Y=n(48023),U=(n(68309),n(66992),n(33948),n(22506)),H=n(49326),K={borderWidth:"2px","--tw-border-opacity":"1",borderColor:"rgba(243, 244, 246, var(--tw-border-opacity))",borderRadius:"0.25rem",width:"2rem",height:"2rem",padding:"0px",marginLeft:"0.25rem",marginRight:"0.25rem",display:"flex",alignItems:"center",justifyContent:"center","--tw-text-opacity":"1",color:"rgba(156, 163, 175, var(--tw-text-opacity))",cursor:"pointer",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgba(249, 250, 251, var(--tw-bg-opacity))"}},X={"--tw-border-opacity":"1",borderColor:"rgba(14, 165, 233, var(--tw-border-opacity))","--tw-text-opacity":"1",color:"rgba(14, 165, 233, var(--tw-text-opacity))",opacity:"1 !important"},G=(0,r.ZP)(R.Xd).withConfig({componentId:"sc-b3m8sk-0"})((function(){return[K]})),Q=function(e){var t=e.rangeStart,n=e.rangeEnd,r=e.rating,i=e.onCh
1ange,o=e.name,a=(0,H.Fy)(),c=n-t+1,s=(0,m.Z)(Array(c).keys()).map((function(e){return e+t}));if("mobile"===a){var d=s.map((function(e){return{label:e.toString(),value:e}}));return(0,q.jsx)(U.Q,{name:o,initialValue:null!==r&&void 0!==r?r:void 0,items:d,onChange:function(e){return"number"===typeof(null===e||void 0===e?void 0:e.value)?i(e.value):null},inlineDropdown:!0})}return(0,q.jsx)(J,{children:s.map((function(e){var t=r===e;return(0,q.jsx)(ee,{tabIndex:-1,disabled:t,onClick:function(){return i(e)},$_css:[t&&X],children:e},e)}))})},J=(0,r.ZP)("div").withConfig({componentId:"sc-1yt7vm3-0"})({display:"flex"}),ee=(0,r.ZP)(G).withConfig({componentId:"sc-1yt7vm3-1"})(["",""],(function(e){return e.$_css}));function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re=function(e){var t,n=e.question,r=(0,w.Gc)().control,i=(0,w.qo)({control:r,name:n.id}),o=null!==(t=n.attributes.minimumSize)&&void 0!==t?t:0,a=P(i)?o-i.trim().length:o;return a<=0?null:(0,q.jsxs)(se,{children:[a," more ",1===a?"character":"characters"," required"]})},ie=function(e){var t=e.question,n=(0,w.Gc)().register;return(0,q.jsxs)(de,{children:[(0,q.jsx)(Y.K,ne(ne({},n(t.id)),{},{rows:6,placeholder:t.attributes.placeholderText})),(0,q.jsx)(re,{question:t})]})},oe=function(e){var t=e.question,n=(0,w.Gc)().control,r=I(t.attributes.minimumSize)?t.attributes.minimumSize:0,i=I(t.attributes.maximumSize)?t.attributes.maximumSize:10;return(0,q.jsx)("div",{children:(0,q.jsx)(w.Qr,{name:t.id,control:n,render:function(e){var n=e.field;return(0,q.jsx)(Q,{rangeStart:r,rangeEnd:i,rating:I(n.value)?n.value:null,onChange:n.onChange,name:t.id})}})})},ae=function(e){var t=e.question,n=(0,w.Gc)().control;return(0,q.jsx)(w.Qr,{name:t.id,control:n,render:function(e){var t=e.field;return(0,q.jsx)(z,{value:C(t.value)?t.value:null,onChange:t.onChange})}})},ce=function(e){var t=e.question;return t?(0,q.jsxs)("div",{children:[(0,q.jsx)(le,{htmlFor:t.id,$_css:[{fontSize:"1rem",lineHeight:"1.5rem",fontWeight:"400",marginBottom:"1rem"}],children:t.attributes.questionText}),"text"===t.attributes.questionType&&(0,q.jsx)(ie,{question:t}),"0-10"===t.attributes.questionType&&(0,q.jsx)(oe,{question:t}),"yes-no"===t.attributes.questionType&&(0,q.jsx)(ae,{question:t})]}):null},se=(0,r.ZP)("div").withConfig({componentId:"sc-90otob-0"})({"--tw-text-opacity":"1",color:"rgba(156, 163, 175, var(--tw-text-opacity))",fontSize:"0.875rem",lineHeight:"1.25rem"}),de=(0,r.ZP)("div").withConfig({componentId:"sc-90otob-1"})({width:"100%"}),le=(0,r.ZP)(_._).withConfig({componentId:"sc-90otob-2"})(["",""],(function(e){return e.$_css})),ue=n(56048),pe=n(62494),me=function(e){var t=e.variant,n=void 0===t?"default":t,r=e.size,i=void 0===r?"normal":r;return(0,q.jsx)(he,{$_css:[{animation:"spin 1s linear infinite",height:"3rem",width:"3rem"},"default"===n&&{"--tw-text-opacity":"1",color:"rgba(0, 158, 255, var(--tw-text-opacity))"},"light"===n&&{"--tw-text-opacity":"1",color:"rgba(229, 231, 235, var(--tw-text-opacity))"},"dark"===n&&{"--tw-text-opacity":"1",color:"rgba(55, 65, 81, var(--tw-text-opacity))"},"normal"===i&&{height:"2rem",width:"2rem"},"small"===i&&{height:"1.25rem",width:"1.25rem"},"large"===i&&{height:"3rem",width:"3rem"}],children:(0,q.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,q.jsx)(fe,{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,q.jsx)(ge,{fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})})},he=(0,r.ZP)("div").withConfig({componentId:"sc-139t0r7-0"})(["",""],(function(e){return e.$_css})),fe=(0,r.ZP)("circle").withConfig({componentId:"sc-139t0r7-1"})({opacity:"0.25"}),ge=(0,r.ZP)("path").withConfig({componentId:"sc-139t0r7-2"})({opacity:"0.75"}),ve=function(){return(0,q.jsx)(q.Fragment,{children:(0,q.jsx)(je,{children:"To leave a review, please login or create a free Cloudscene user account."})})},xe=function(){return(0,q.jsx)(Ce,{children:(0,q.jsx)(me,{variant:"light",size:"large"})})},we=function(){return(0,q.jsx)("div",{children:"Your review will make it easier for new potential customers to make informed decisions about their business needs."})},be=function(){return(0,q.jsx)("div",{children:"An error occured while submitting your review. Please try again later."})},ye=function(e){var t=e.onContinue,n=(0,g.useContext)(o.tC).closeModal;return(0,q.jsxs)("div",{children:[(0,q.jsx)(Ie,{children:"Are you sure you would like to discard this review?"}),(0,q.jsx)(z,{value:null,onChange:function(e){return e?n():t()}})]})},je=(0,r.ZP)(a.ZT).withConfig({componentId:"sc-g8ynii-0"})({textAlign:"center"}),Ce=(0,r.ZP)("div").withConfig({componentId:"sc-g8ynii-1"})({display:"flex",justifyContent:"center",padding:"0.5rem"}),Ie=(0,r.ZP)("div").withConfig({componentId:"sc-g8ynii-2"})({marginBottom:"1rem"}),Pe=function(e){var t=e.isActive,n=void 0!==t&&t;return(0,q.jsx)(Oe,{$_css:[{width:"0.5rem",height:"0.5rem",margin:"0.25rem",borderRadius:"9999px"},n?{"--tw-bg-opacity":"1",backgroundColor:"rgba(2, 132, 199, var(--tw-bg-opacity))"}:{"--tw-bg-opacity":"1",backgroundColor:"rgba(229, 231, 235, var(--tw-bg-opacity))"}]})},Ze=function(e){for(var t=e.count,n=e.position,r=[],i=0;i<t;i++)r.push((0,q.jsx)(Pe,{isActive:n===i}
1,i));return(0,q.jsx)(ke,{children:r})},Oe=(0,r.ZP)("div").withConfig({componentId:"sc-1k8z7fy-0"})(["",""],(function(e){return e.$_css})),ke=(0,r.ZP)("div").withConfig({componentId:"sc-1k8z7fy-1"})({paddingTop:"0.75rem",paddingBottom:"0.75rem",display:"flex",height:"100%"}),Se=(n(32023),n(39055)),_e=function(){var e=(0,g.useContext)(o.tC).closeModal;return(0,q.jsx)(R.KM,{tabIndex:-1,onClick:e,children:"Close"})},Re=function(e){var t=e.onNextStep,n=e.onPreviousStep,r=e.field,i=e.isBackVisible,o=e.isFinal,a=e.children,c=(0,w.Gc)().control,s=(0,w.cl)().errors,d=(0,w.qo)({control:c,name:r}),l=null!==d&&""!==d&&!Object.keys(s).includes(r);return(0,q.jsxs)(Te,{children:[(0,q.jsx)(Ee,{children:i&&(0,q.jsx)(qe,{tabIndex:-1,onClick:n,children:"Back"})}),a,(0,q.jsx)(ze,{children:o?(0,q.jsx)(Se.k,{children:"Finish"}):(0,q.jsx)(R.KM,{onClick:t,disabled:!l,children:"Next"})})]})},Te=(0,r.ZP)("div").withConfig({componentId:"sc-o1qaq5-0"})({width:"100%",display:"flex",justifyContent:"space-between"}),Ee=(0,r.ZP)("div").withConfig({componentId:"sc-o1qaq5-1"})({width:"6rem",display:"flex",justifyContent:"flex-start"}),qe=(0,r.ZP)(R.Xd).withConfig({componentId:"sc-o1qaq5-2"})({"--tw-text-opacity":"1",color:"rgba(156, 163, 175, var(--tw-text-opacity))",":hover":{"--tw-text-opacity":"1",color:"rgba(107, 114, 128, var(--tw-text-opacity))"}}),ze=(0,r.ZP)("div").withConfig({componentId:"sc-o1qaq5-3"})({width:"6rem",display:"flex",justifyContent:"flex-end"}),Ne=n(74231),Le=Ne.Ry({title:Ne.Z_().required().trim(),anonymous:Ne.O7().required(),displayCompanyName:Ne.O7().required(),compliant:Ne.O7().required().isTrue()});function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?De(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ae=function(e){var t=e.state,n=e.onClick,r=(0,g.useContext)(o.tC).closeModal;switch(t){case"unauthorized":return(0,q.jsx)(y.x,{onClick:r});case"error":case"submitted":case"cancelPrompt":return(0,q.jsx)(q.Fragment,{});default:return(0,q.jsx)(y.x,{onClick:n,disabled:"submitting"===t})}},We=function(e){var t,n,r,a=e.companyName,s=e.companyProfileId,d=e.questions,h=(0,i.aC)().user,g=[].concat((0,m.Z)(d.map((function(e){return e.id}))),["title","compliant"]),y=function(e,t){var n={totalSteps:e.length,currentStep:0,questions:e},r=t?"reviewing":"unauthorized";return(0,ue.C)({id:"review",context:n,initial:r,states:{unauthorized:{},reviewing:{on:{NEXT_QUESTION:{target:"reviewing",actions:["incrementCurrentStep"]},PREVIOUS_QUESTION:{target:"reviewing",actions:["decrementCurrentStep"]},SHOW_CANCEL_PROMPT:{target:"cancelPrompt"},SUBMIT_REVIEW:{target:"submitting"}}},cancelPrompt:{on:{CONTINUE:{target:"reviewing"}}},submitting:{on:{SUCCESS:{target:"submitted"},ERROR:{target:"error"}}},submitted:{},error:{}},on:{CANCEL:{target:r,actions:["resetContext"]}}},{actions:{incrementCurrentStep:(0,pe.f0)({currentStep:function(e){return e.currentStep+1}}),decrementCurrentStep:(0,pe.f0)({currentStep:function(e){return e.currentStep-1}}),resetContext:(0,pe.f0)((function(e,t){return n}))}})}(g,h.isAuthenticated),C=(0,x.e)(y),I=(0,p.Z)(C,2),P=I[0],O=I[1],k=P.context.questions[P.context.currentStep],S=d.reduce((function(e,t){return e[t.id]=null,e}),{displayCompanyName:!0,title:null,anonymous:!1,compliant:null}),_=(0,w.cI)({mode:"onChange",defaultValues:S,resolver:(0,v.X)((r={questions:d},r.questions.reduce((function(e,t){var n,r,i;switch(t.attributes.questionType){case"0-10":return e.concat(Ne.Ry((0,l.Z)({},t.id,Ne.Rx().required().min(null!==(n=t.attributes.minimumSize)&&void 0!==n?n:0).max(null!==(r=t.attributes.maximumSize)&&void 0!==r?r:0))));case"text":return e.concat(Ne.Ry((0,l.Z)({},t.id,Ne.Z_().required().trim().min(null!==(i=t.attributes.minimumSize)&&void 0!==i?i:0))));case"yes-no":return e.concat(Ne.Ry((0,l.Z)({},t.id,Ne.O7().required())))}}),Ne.Ry({}))).concat(Le))}),R=(0,j.m)("POST","".concat(c.O.DIRECTORY_SERVICE_URL,"/assets/reviews"),{onMutate:function(){O({type:"SUBMIT_REVIEW"})},onSuccess:function(){O({type:"SUCCESS"})},onError:function(){O({type:"ERROR"})}}),T=function(){var e=(0,u.Z)(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(h.profile){e.next=2;break}return e.abrupt("return");case 2:return e.abrupt("return",R.mutateAsync(Z(d,t,{firstName:h.profile.firstName,lastName:h.profile.lastName,role:h.profile.position,employer:h.profile.employer},s)));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),E=P.matches("submitted")?"Thank you for your feedback ".concat(null===(t=h.profile)||void 0===t?void 0:t.firstName,"!"):P.matches("error")?"Your review could not be submitted":P.matches("unauthorized")?"Want to leave a review?":"Hi ".concat(null===(n=h.profile)||void 0===n?void 0:n.firstName,", let us know about your experience with ").concat(a),z=!(0===P.context.currentStep),N=P.context.currentStep==P.context.totalSteps-1;return(0,q.jsx)(w.RV,$e($e({},_),{},{children:(0,q.jsxs)("form",{onSubmit:_.handleSubmit(T),children:[(0,q.jsxs)(o.Vq.V,{header:(0,q.jsx)(Be,{$_css:[P.matches("unauthorized")?{textAlign:"center"}:{textAlign:"left"}],children:E}),footer:(0,q.jsxs)(q.Fragment,{children:[P.matches("unauthorized")&&(0,q.jsx)(b.G,{}
1),(P.matches("submitted")||P.matches("error"))&&(0,q.jsx)(_e,{}),P.matches("reviewing")&&(0,q.jsx)(Re,{onNextStep:function(){return O({type:"NEXT_QUESTION"})},onPreviousStep:function(){return O({type:"PREVIOUS_QUESTION"})},field:k,isBackVisible:z,isFinal:N,children:(0,q.jsx)(Ze,{count:g.length,position:P.context.currentStep})})]}),close:(0,q.jsx)(Ae,{state:P.value.toString(),onClick:function(){O({type:"SHOW_CANCEL_PROMPT"})}}),children:[P.matches("unauthorized")&&(0,q.jsx)(ve,{}),P.matches("reviewing")&&(0,q.jsxs)(q.Fragment,{children:["title"===k&&(0,q.jsx)(F,{}),"compliant"===k&&(0,q.jsx)(B,{}),(0,q.jsx)(ce,{question:d.find((function(e){return e.id===k}))})]}),P.matches("submitting")&&(0,q.jsx)(xe,{}),P.matches("submitted")&&(0,q.jsx)(we,{}),P.matches("cancelPrompt")&&(0,q.jsx)(ye,{onContinue:function(){O({type:"CONTINUE"})}}),P.matches("error")&&(0,q.jsx)(be,{})]},P.context.currentStep),P.matches("reviewing")&&"compliant"!==k&&(0,q.jsx)(Fe,{children:(0,q.jsx)(W,{})})]})}))},Be=(0,r.ZP)(a.s0).withConfig({componentId:"sc-1wtxvbu-0"})(["",""],(function(e){return e.$_css})),Fe=(0,r.ZP)("div").withConfig({componentId:"sc-1wtxvbu-1"})({borderTopWidth:"1px","--tw-border-opacity":"1",borderColor:"rgba(229, 231, 235, var(--tw-border-opacity))",padding:"1.25rem",display:"flex",justifyContent:"flex-start",alignItems:"center"}),Me=function(){return(0,q.jsxs)(Ve,{children:[(0,q.jsx)("div",{className:"skeleton-header",children:(0,q.jsx)(Ye,{})}),(0,q.jsx)(Ue,{className:"skeleton-content",children:(0,q.jsx)("div",{children:(0,q.jsx)(He,{})})})]})},Ve=(0,r.ZP)("div").withConfig({componentId:"sc-4n5l81-0"})({display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"1.5rem",animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"}),Ye=(0,r.ZP)("div").withConfig({componentId:"sc-4n5l81-1"})({width:"100%",height:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgba(229, 231, 235, var(--tw-bg-opacity))",borderRadius:"9999px"}),Ue=(0,r.ZP)("div").withConfig({componentId:"sc-4n5l81-2"})({display:"flex",flexDirection:"column","> :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":0,marginTop:"calc(0.75rem * calc(1 - var(--tw-space-y-reverse)))",marginBottom:"calc(0.75rem * var(--tw-space-y-reverse))"}}),He=(0,r.ZP)("div").withConfig({componentId:"sc-4n5l81-3"})({width:"100%",height:"2rem","--tw-bg-opacity":"1",backgroundColor:"rgba(229, 231, 235, var(--tw-bg-opacity))",borderRadius:"0.375rem"}),Ke=function(e){var t,n,r,a,l,u=e.companyName,p=e.companyProfileId,m=e.children,h=(0,d.$)(),f=(0,i.aC)().user,g=f.isAuthenticated&&h,v=(0,s.E)(["has-reviews",p],{url:"".concat(c.O.DIRECTORY_SERVICE_URL,"/assets/companyProfiles/").concat(p,"/hasReviews"),params:{"filter[userId]":null===(t=f.profile)||void 0===t?void 0:t.id}},{enabled:g}),x=v.data,w=v.isInitialLoading,b=(0,s.E)(["review-questions",p],{url:"".concat(c.O.DIRECTORY_SERVICE_URL,"/assets/reviewQuestions"),params:{companyProfileId:p}},{enabled:g}),y=b.data;if(b.isInitialLoading||w)return(0,q.jsx)(Me,{});if(null===x||void 0===x||null===(n=x.data)||void 0===n||null===(r=n.data)||void 0===r?void 0:r.attributes.hasReviews)return(0,q.jsxs)(Xe,{children:["You have already reviewed ",u,". Thank you for your feedback!"]});var j=null!==(a=null===y||void 0===y||null===(l=y.data)||void 0===l?void 0:l.data)&&void 0!==a?a:[];return(0,q.jsx)(o.u_,{Dialog:(0,q.jsx)(o.Vq.X,{size:"sm"}),closeOnEsc:!1,action:m,children:(0,q.jsx)(We,{companyName:u,companyProfileId:p,questions:j})})},Xe=(0,r.ZP)(a.ZT).withConfig({componentId:"sc-1l29wh2-0"})({"--tw-text-opacity":"1",color:"rgba(107, 114, 128, var(--tw-text-opacity))",textAlign:"center"}),Ge=function(e){var t=e.companyName;return(0,q.jsxs)(Je,{children:[(0,q.jsxs)(et,{children:["Are you a customer of ",t,"?"]}),(0,q.jsx)(Qe,{})]})},Qe=function(){var e=(0,g.useContext)(o.tC).openModal;return(0,q.jsx)(R.KM,{onClick:e,children:"Leave a Review"})},Je=(0,r.ZP)("div").withConfig({componentId:"sc-1a2fn18-0"})({display:"flex",flexDirection:"column",gap:"1.5rem"}),et=(0,r.ZP)(a.ZT).withConfig({componentId:"sc-1a2fn18-1"})({fontWeight:"700",overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"2"})},66574:function(e,t,n){n.d(t,{Zb:function(){return v},q4:function(){return j},XF:function(){return N},h_:function(){return L},jk:function(){return H}});var r=n(19521),i=n(43178),o=n(16680),a=n(79572),c=(n(69600),n(57327),n(41539),n(53854)),s=n(512),d=n(85893),l=function(e){var t,n=e.review,r=n.attributes,i=r.anonymous,o=r.firstName,l=r.lastName,v=r.role,x=r.companyName,w=r.userId,b=[v,x].filter((function(e){return!!e})).join(" - "),y=!(null===(t=n.relationships)||void 0===t||!t.reviewCampaign.data);return(0,d.jsx)(d.Fragment,{children:i?(0,d.jsx)(a.s0,{children:"Anonymous"}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(u,{children:[(0,d.jsxs)(p,{children:[o," ",null===l||void 0===l?void 0:l.charAt(0)]}),w&&(0,d.jsx)(m,{children:(0,d.jsx)(s.e,{label:"Verified Cloudscene User",variant:"light",children:(0,d.jsx)("div",{children:(0,d.jsx)(c.HJi,{size:24,color:"#009eff"})})})})]}),(0,d.jsx)(h,{children:b}),(0,d.jsxs)(f,{children:["Review Source:"," ",(0,d.jsx)(g,{children:y?"Invitation from Cloudscene":"Organic"})]})]})})},u=(0,r.ZP)("div").withConfig({componentId:"sc-15i7zcj-0"})({display:"flex",alignItems:"center",gap:"0.5rem"}),p=(0,r.ZP)(a.s0).withConfig({componentId:"sc-15i7zcj-1"})({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",textTransform:"capitalize"}),m=(0,r.ZP)("div").withConfig({componentId:"sc-15i7zcj-2"})({flex:"1 1 0%"}),h=(0,r.ZP)(a.YS).withConfig({componentId:"sc-15i7zcj-3"})({fontWeight:"400",overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"1"}),f=(0,r.ZP)(a.YS).withConfig({componentId:"sc-15i7zcj-4"})({"--tw-text-opacity":"1",color:"rgba(156, 163, 175, var(--tw-text-opacity))"}),g=(0,r.ZP)(a.YS).withConfig({componentId:"sc-15i7zcj-5"})({display:"inline-block"}),v=function(e){var t=e.review,n=e.children;return(0,d.jsxs)(x,{children:[(0,d.jsx)(w,{children:(0,d.jsx)(l,{review:t})}),(0,d.jsxs)(b,{children:[(0,d.jsx)(y,{children:(0,d.jsx)(o.Z,{max:5,rating:t.meta.stars,id:"review-card-".concat(t.id,"-rating")})}),(0,d.jsxs)(a.QE,{children:['"',t.attributes.reviewTitle,'"']}),n]})]})},x=(0,r.ZP)(i.x).withConfig({componentId:"sc-1lqc2ph-0"})({padding:"0px",overflow:"hidden"}),w=(0,r.ZP)("div").withConfig({componentId:"sc-1lqc2ph-1"})({borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgba(229, 231, 235, var(--tw-border-opacity))",paddingLeft:"1.25rem",paddingRight:"1.25rem",height:"6rem",display:"flex",justifyContent:"center",flexDirection:"column"}),b=(0,r.ZP)("div").withConfig({componentId:"sc-1lqc2ph-2"})({padding:"1.25rem"}),y=(0,r.ZP)("div").withConfig({componentId:"sc-1lqc2ph-3"})({marginBottom:"0.75rem"}),j=function(){return(0,d.jsx)(C,{children:(0,d.jsxs)(I,{children:[(0,d.jsxs)(P,{children:[(0,d.jsx)(Z,{}),(0,d.jsx)(O,{})]}),(0,d.jsxs)(k,{children:[(0,d.jsx)(S,{children:(0,d.jsx)(o.Z,{max:5,rating:0,id:"review-card-skeleton-rating"})}),(0,d.jsx)(_,{}),(0,d.jsxs)(R,{children:[(0,d.jsxs)("div",{children:[(0,d.jsx)(T,{}),(0,d.jsx)(E,{})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)(q,{}),(0,d.jsx)(z,{})]})]})]})]})})},C=(0,r.ZP)(i.x).withConfig({componentId:"sc-1duolxk-0"})({padding:"0px"}),I=(0,r.ZP)("div").withConfig({componentId:"sc-1duolxk-1"})({animation:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"}),P=(0,r.ZP)("div").withConfig({componentId:"sc-1duolxk-2"})({borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgba(229, 231, 235, var(--tw-border-opacity))",paddingLeft:"1.25rem",paddingRight:"1.25rem",height:"6rem",display:"flex",justifyContent:"center",flexDirection:"column"}),Z=(0,r.ZP)("div").withConfig({componentId:"sc-1duolxk-3"})({width:"40%",height:"0.75rem",marginBottom:"0.5rem","--tw-bg-opacity":"1",backgroundColor:"rgba(229, 231, 235, var(--tw-bg-opacity))",borderRadius:"9999px"}),O=(0,r.ZP)("div").withConfig({componentId:"sc-1duolxk-4"})({width:"60%",height:"0.5rem","--tw-bg-opacity":"1",backgroundColor:"rgba(229, 231, 235, var(--tw-bg-opacity))",borderRadius:"9999px","@media (min-width: 640px)":{width:"50%"}}),k=(0,r.ZP)("div").withConfig({componentId:"sc-1duolxk-5"})({padding:"1.25rem"}),S=(0,r.ZP)("div").withConfig({componentId:"sc-1duolxk-6"})({marginBottom:"0.75rem"}),_=(0,r.ZP)("div").withConfig({componentId:"sc-1duolxk-7"})({width:"60%",height:"0.75rem",marginBottom:"1.25rem","--tw-bg-opacity":"1",backgroundColor:"rgba(229, 231, 235, var(--tw-bg-opacity))",borderRadius:"9999px","@media (min-width: 640px)":{width:"40%"}}),R=(0,r.ZP)("div").withConfig({componentId:"sc-1duolxk-8"})({display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",gap:"1.5rem"}),T=(0,r.ZP)("div").withConfig({componentId:"sc-1duolxk-9"})({width:"60%",height:"0.5rem",marginBottom:"0.5rem","--tw-bg-opacity":"1",backgroundColor:"rgba(229, 231, 235, var(--tw-bg-opacity))",borderRadius:"9999px","@media (min-width: 640px)":{width:"50%"}}),E=(0,r.ZP)("div").withConfig({componentId:"sc-1duolxk-10"})({width:"100%",height:"0.5rem","--tw-bg-opacity":"1",backgroundColor:"rgba(229, 231, 235, var(--tw-bg-opacity))",borderRadius:"9999px","@media (min-width: 640px)":{width:"80%"}}
1),q=(0,r.ZP)("div").withConfig({componentId:"sc-1duolxk-11"})({width:"60%",height:"0.5rem",marginBottom:"0.5rem","--tw-bg-opacity":"1",backgroundColor:"rgba(229, 231, 235, var(--tw-bg-opacity))",borderRadius:"9999px","@media (min-width: 640px)":{width:"50%"}}),z=(0,r.ZP)("div").withConfig({componentId:"sc-1duolxk-12"})({width:"100%",height:"0.5rem","--tw-bg-opacity":"1",backgroundColor:"rgba(229, 231, 235, var(--tw-bg-opacity))",borderRadius:"9999px","@media (min-width: 640px)":{width:"80%"}}),N=(0,r.ZP)(a.YS).attrs((function(e){var t=e.count;return{children:t>0?(0,d.jsxs)(d.Fragment,{children:["(",t,")"]}):"0 reviews"}})).withConfig({componentId:"sc-ubhknk-0"})((function(e){return e.count>0&&{"--tw-text-opacity":"1",color:"rgba(0, 158, 255, var(--tw-text-opacity))"}})),L=function(e){var t=e.id,n=e.meta,r=e.children;return(0,d.jsxs)(D,{children:[n.count>0&&(0,d.jsx)("div",{children:(0,d.jsx)(o.Z,{max:5,rating:n.stars,id:t})}),r&&(0,d.jsx)("div",{children:r}),n.count>0&&(0,d.jsxs)($,{children:[(0,d.jsx)(A,{children:n.stars}),"\xa0",(0,d.jsx)(a.YS,{children:"out of"}),"\xa0",(0,d.jsx)(W,{children:"5"})]})]})},D=(0,r.ZP)("div").withConfig({componentId:"sc-nhn3yw-0"})({display:"flex",alignItems:"center",flexWrap:"wrap",gap:"0.5rem"}),$=(0,r.ZP)("div").withConfig({componentId:"sc-nhn3yw-1"})({display:"flex",alignItems:"center"}),A=(0,r.ZP)(a.YS).withConfig({componentId:"sc-nhn3yw-2"})({fontWeight:"700","--tw-text-opacity":"1",color:"rgba(0, 0, 0, var(--tw-text-opacity))"}),W=(0,r.ZP)(a.YS).withConfig({componentId:"sc-nhn3yw-3"})({fontWeight:"700","--tw-text-opacity":"1",color:"rgba(0, 0, 0, var(--tw-text-opacity))"}),B={gray:{"--tw-bg-opacity":"1",backgroundColor:"rgba(156, 163, 175, var(--tw-bg-opacity))"},amber:{"--tw-bg-opacity":"1",backgroundColor:"rgba(251, 191, 36, var(--tw-bg-opacity))"},emerald:{"--tw-bg-opacity":"1",backgroundColor:"rgba(16, 185, 129, var(--tw-bg-opacity))"},brand:{"--tw-bg-opacity":"1",backgroundColor:"rgba(0, 158, 255, var(--tw-bg-opacity))"},linearGradient:{backgroundImage:"linear-gradient(to right, var(--tw-gradient-stops))","--tw-gradient-from":"#1d4ed8","--tw-gradient-stops":"var(--tw-gradient-from), var(--tw-gradient-to, rgba(29, 78, 216, 0))","--tw-gradient-to":"#93c5fd"}}
1,F=function(e){var t=e.percent,n=e.color,i=void 0===n?"brand":n;return(0,d.jsx)(M,{children:(0,d.jsx)(V,{$_css2:[{height:"100%",zIndex:"10",borderRadius:"0.375rem"},(0,r.iv)(["width:","%;"],t),B[i]]})})},M=(0,r.ZP)("div").withConfig({componentId:"sc-3woehs-0"})({height:"0.5rem",width:"100%",borderRadius:"0.375rem","--tw-bg-opacity":"1",backgroundColor:"rgba(243, 244, 246, var(--tw-bg-opacity))"}),V=(0,r.ZP)("div").withConfig({componentId:"sc-3woehs-1"})(["",""],(function(e){return e.$_css2})),Y=function(e){return e<30?"gray":e<60?"amber":e>=60?"emerald":"brand"},U=function(e){var t=e.percent,n=e.label;return(0,d.jsxs)("div",{children:[(0,d.jsxs)(K,{children:[(0,d.jsx)(a.YS,{children:n}),(0,d.jsx)(X,{$_css:[null!==t&&t>=0&&{"--tw-text-opacity":"1",color:"rgba(156, 163, 175, var(--tw-text-opacity))"},null!==t&&t>=30&&{"--tw-text-opacity":"1",color:"rgba(251, 191, 36, var(--tw-text-opacity))"},null!==t&&t>=60&&{"--tw-text-opacity":"1",color:"rgba(16, 185, 129, var(--tw-text-opacity))"}],children:null===t?"N/A":"".concat(t,"%")})]}),(0,d.jsx)(F,{percent:null!==t&&void 0!==t?t:0,color:Y(null!==t&&void 0!==t?t:0)})]})},H=function(e){var t=e.meta,n=e.footer,r=e.children;return(0,d.jsxs)(i.x,{children:[r&&(0,d.jsx)(G,{children:r}),t.count>0&&(0,d.jsxs)(Q,{children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)(J,{$_css2:[{marginBottom:"0.5rem"},t.overall>=0&&{"--tw-text-opacity":"1",color:"rgba(156, 163, 175, var(--tw-text-opacity))"},t.overall>=30&&{"--tw-text-opacity":"1",color:"rgba(251, 191, 36, var(--tw-text-opacity))"},t.overall>=60&&{"--tw-text-opacity":"1",color:"rgba(16, 185, 129, var(--tw-text-opacity))"}],children:[(0,d.jsx)(ee,{children:t.overall}),(0,d.jsx)(te,{children:"%"})]}),(0,d.jsx)(ne,{children:"Overall provider score"}),(0,d.jsx)(a.YS,{children:"based on service satifcation and technical / customer service"})]}),(0,d.jsxs)(re,{children:[(0,d.jsx)(U,{label:"Technical/Customer Service",percent:t.customerService}),(0,d.jsx)(U,{label:"Likely to renew services",percent:t.renew})]}),(0,d.jsx)("div",{children:(0,d.jsxs)(a.YS,{children:["Score based on ",t.count," ",1===t.count?"review":"reviews"]})})]}),n&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(ie,{}),n]})]})},K=(0,r.ZP)("div").withConfig({componentId:"sc-1smurtb-0"})({display:"flex",alignItems:"center",justifyContent:"space-between","> :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":0,marginRight:"calc(0.75rem * var(--tw-space-x-reverse))",marginLeft:"calc(0.75rem * calc(1 - var(--tw-space-x-reverse)))"},marginBottom:"0.5rem"}),X=(0,r.ZP)(a.YS).withConfig({componentId:"sc-1smurtb-1"})(["",""],(function(e){return e.$_css})),G=(0,r.ZP)("div").withConfig({componentId:"sc-1smurtb-2"})({marginBottom:"0.5rem"}),Q=(0,r.ZP)("div").withConfig({componentId:"sc-1smurtb-3"})({display:"grid",gap:"1.5rem"}),J=(0,r.ZP)(a.s0).withConfig({componentId:"sc-1smurtb-4"})(["",""],(function(e){return e.$_css2})),ee=(0,r.ZP)("span").withConfig({componentId:"sc-1smurtb-5"})({fontSize:"1.5rem",lineHeight:"2rem"}),te=(0,r.ZP)("span").withConfig({componentId:"sc-1smurtb-6"})({fontSize:"0.875rem",lineHeight:"1.25rem"}),ne=(0,r.ZP)(a.YS).withConfig({componentId:"sc-1smurtb-7"})({"--tw-text-opacity":"1",color:"rgba(0, 0, 0, var(--tw-text-opacity))"}),re=(0,r.ZP)("div").withConfig({componentId:"sc-1smurtb-8"})({display:"grid",gap:"2rem"}),ie=(0,r.ZP)("div").withConfig({componentId:"sc-1smurtb-9"})({borderBottomWidth:"2px",width:"auto",marginTop:"1.5rem",marginBottom:"1.5rem",marginLeft:"-1.25rem",marginRight:"-1.25rem"})},98114:function(e,t,n){n.d(t,{r:function(){return i}});var r=n(16835),i=(n(57327),n(41539),n(69720),n(69600),n(21249),n(92222),n(26699),n(32023),function(e){return function(t){if(!t)return e;var n=Object.entries(t).filter((function(e){return void 0!==(0,r.Z)(e,2)[1]}));if(0===n.length)return e;var i=n.filter((function(e){var t=(0,r.Z)(e,2);t[0];return void 0!==t[1]})).map((function(e){var t=(0,r.Z)(e,2),n=t[0],i=t[1];return"".concat(n,"=").concat(String(i))})).join("&");return"".concat(e).concat(e.includes("?")?"&":"?").concat(i)}})}}]);

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.