toshub-widget 1.0.26 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/widget.min.js +1 -1
- package/package.json +1 -1
package/dist/widget.min.js
CHANGED
|
@@ -45,5 +45,5 @@ Error generating stack: `+o.message+`
|
|
|
45
45
|
*
|
|
46
46
|
* This source code is licensed under the MIT license found in the
|
|
47
47
|
* LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/var On=A;function Xp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Jp=typeof Object.is=="function"?Object.is:Xp,qp=On.useState,bp=On.useEffect,e1=On.useLayoutEffect,t1=On.useDebugValue;function n1(e,t){var n=t(),r=qp({inst:{value:n,getSnapshot:t}}),l=r[0].inst,o=r[1];return e1(function(){l.value=n,l.getSnapshot=t,Eo(l)&&o({inst:l})},[e,n,t]),bp(function(){return Eo(l)&&o({inst:l}),e(function(){Eo(l)&&o({inst:l})})},[e]),t1(n),n}function Eo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Jp(e,n)}catch{return!0}}function r1(e,t){return t()}var l1=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r1:n1;tf.useSyncExternalStore=On.useSyncExternalStore!==void 0?On.useSyncExternalStore:l1;ef.exports=tf;var o1=ef.exports;const _t=()=>{},Se=_t(),ko=Object,z=e=>e===Se,qe=e=>typeof e=="function",Mt=(e,t)=>({...e,...t}),i1=e=>qe(e.then),Gr=new WeakMap;let u1=0;const Cr=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let l,o;if(ko(e)===e&&!r&&n!=RegExp){if(l=Gr.get(e),l)return l;if(l=++u1+"~",Gr.set(e,l),n==Array){for(l="@",o=0;o<e.length;o++)l+=Cr(e[o])+",";Gr.set(e,l)}if(n==ko){l="#";const i=ko.keys(e).sort();for(;!z(o=i.pop());)z(e[o])||(l+=o+":"+Cr(e[o])+",");Gr.set(e,l)}}else l=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return l},st=new WeakMap,_o={},Zr={},xu="undefined",Gl=typeof window!=xu,xi=typeof document!=xu,s1=()=>Gl&&typeof window.requestAnimationFrame!=xu,nf=(e,t)=>{const n=st.get(e);return[()=>!z(t)&&e.get(t)||_o,r=>{if(!z(t)){const l=e.get(t);t in Zr||(Zr[t]=l),n[5](t,Mt(l,r),l||_o)}},n[6],()=>!z(t)&&t in Zr?Zr[t]:!z(t)&&e.get(t)||_o]};let Ci=!0;const a1=()=>Ci,[Ei,ki]=Gl&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[_t,_t],c1=()=>{const e=xi&&document.visibilityState;return z(e)||e!=="hidden"},f1=e=>(xi&&document.addEventListener("visibilitychange",e),Ei("focus",e),()=>{xi&&document.removeEventListener("visibilitychange",e),ki("focus",e)}),d1=e=>{const t=()=>{Ci=!0,e()},n=()=>{Ci=!1};return Ei("online",t),Ei("offline",n),()=>{ki("online",t),ki("offline",n)}},p1={isOnline:a1,isVisible:c1},h1={initFocus:f1,initReconnect:d1},Ms=!Li.useId,Er=!Gl||"Deno"in window,m1=e=>s1()?window.requestAnimationFrame(e):setTimeout(e,1),To=Er?A.useEffect:A.useLayoutEffect,No=typeof navigator<"u"&&navigator.connection,Is=!Er&&No&&(["slow-2g","2g"].includes(No.effectiveType)||No.saveData),Cu=e=>{if(qe(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Cr(e):"",[e,t]};let v1=0;const _i=()=>++v1,rf=0,lf=1,of=2,y1=3;var Qn={__proto__:null,ERROR_REVALIDATE_EVENT:y1,FOCUS_EVENT:rf,MUTATE_EVENT:of,RECONNECT_EVENT:lf};async function uf(...e){const[t,n,r,l]=e,o=Mt({populateCache:!0,throwOnError:!0},typeof l=="boolean"?{revalidate:l}:l||{});let i=o.populateCache;const u=o.rollbackOnError;let s=o.optimisticData;const f=h=>typeof u=="function"?u(h):u!==!1,m=o.throwOnError;if(qe(n)){const h=n,g=[],x=t.keys();for(const S of x)!/^\$(inf|sub)\$/.test(S)&&h(t.get(S)._k)&&g.push(S);return Promise.all(g.map(v))}return v(n);async function v(h){const[g]=Cu(h);if(!g)return;const[x,S]=nf(t,g),[D,a,c,d]=st.get(t),y=()=>{const le=D[g];return(qe(o.revalidate)?o.revalidate(x().data,h):o.revalidate!==!1)&&(delete c[g],delete d[g],le&&le[0])?le[0](of).then(()=>x().data):x().data};if(e.length<3)return y();let C=r,k;const N=_i();a[g]=[N,0];const E=!z(s),M=x(),j=M.data,te=M._c,_e=z(te)?j:te;if(E&&(s=qe(s)?s(_e,j):s,S({data:s,_c:_e})),qe(C))try{C=C(_e)}catch(le){k=le}if(C&&i1(C))if(C=await C.catch(le=>{k=le}),N!==a[g][0]){if(k)throw k;return C}else k&&E&&f(k)&&(i=!0,S({data:_e,_c:Se}));if(i&&!k)if(qe(i)){const le=i(C,_e);S({data:le,error:Se,_c:Se})}else S({data:C,error:Se,_c:Se});if(a[g][1]=_i(),Promise.resolve(y()).then(()=>{S({_c:Se})}),k){if(m)throw k;return}return C}}const As=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},g1=(e,t)=>{if(!st.has(e)){const n=Mt(h1,t),r={},l=uf.bind(Se,e);let o=_t;const i={},u=(m,v)=>{const h=i[m]||[];return i[m]=h,h.push(v),()=>h.splice(h.indexOf(v),1)},s=(m,v,h)=>{e.set(m,v);const g=i[m];if(g)for(const x of g)x(v,h)},f=()=>{if(!st.has(e)&&(st.set(e,[r,{},{},{},l,s,u]),!Er)){const m=n.initFocus(setTimeout.bind(Se,As.bind(Se,r,rf))),v=n.initReconnect(setTimeout.bind(Se,As.bind(Se,r,lf)));o=()=>{m&&m(),v&&v(),st.delete(e)}}};return f(),[e,l,f,o]}return[e,st.get(e)[4]]},w1=(e,t,n,r,l)=>{const o=n.errorRetryCount,i=l.retryCount,u=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!z(o)&&i>o||setTimeout(r,u,l)},S1=(e,t)=>Cr(e)==Cr(t),[sf,x1]=g1(new Map),C1=Mt({onLoadingSlow:_t,onSuccess:_t,onError:_t,onErrorRetry:w1,onDiscarded:_t,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Is?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Is?5e3:3e3,compare:S1,isPaused:()=>!1,cache:sf,mutate:x1,fallback:{}},p1),E1=(e,t)=>{const n=Mt(e,t);if(t){const{use:r,fallback:l}=e,{use:o,fallback:i}=t;r&&o&&(n.use=r.concat(o)),l&&i&&(n.fallback=Mt(l,i))}return n},k1=A.createContext({}),_1="$inf$",af=Gl&&window.__SWR_DEVTOOLS_USE__,T1=af?window.__SWR_DEVTOOLS_USE__:[],N1=()=>{af&&(window.__SWR_DEVTOOLS_REACT__=Li)},j1=e=>qe(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],P1=()=>Mt(C1,A.useContext(k1)),L1=e=>(t,n,r)=>e(t,n&&((...o)=>{const[i]=Cu(t),[,,,u]=st.get(sf);if(i.startsWith(_1))return n(...o);const s=u[i];return z(s)?n(...o):(delete u[i],s)}),r),R1=T1.concat(L1),O1=e=>function(...n){const r=P1(),[l,o,i]=j1(n),u=E1(r,i);let s=e;const{use:f}=u,m=(f||[]).concat(R1);for(let v=m.length;v--;)s=m[v](s);return s(l,o||u.fetcher||null,u)},z1=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const l=r.indexOf(n);l>=0&&(r[l]=r[r.length-1],r.pop())}};N1();const Vs=Li.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),jo={dedupe:!0},F1=(e,t,n)=>{const{cache:r,compare:l,suspense:o,fallbackData:i,revalidateOnMount:u,revalidateIfStale:s,refreshInterval:f,refreshWhenHidden:m,refreshWhenOffline:v,keepPreviousData:h}=n,[g,x,S,D]=st.get(r),[a,c]=Cu(e),d=A.useRef(!1),y=A.useRef(!1),C=A.useRef(a),k=A.useRef(t),N=A.useRef(n),E=()=>N.current,M=()=>E().isVisible()&&E().isOnline(),[j,te,_e,le]=nf(r,a),tt=A.useRef({}).current,Zl=z(i)?n.fallback[a]:i,nn=(H,$)=>{for(const ae in tt){const X=ae;if(X==="data"){if(!l(H[X],$[X])&&(!z(H[X])||!l(yt,$[X])))return!1}else if($[X]!==H[X])return!1}return!0},rn=A.useMemo(()=>{const H=!a||!t?!1:z(u)?E().isPaused()||o?!1:z(s)?!0:s:u,$=he=>{const rt=Mt(he);return delete rt._k,H?{isValidating:!0,isLoading:!0,...rt}:rt},ae=j(),X=le(),Ke=$(ae),ln=ae===X?Ke:$(X);let oe=Ke;return[()=>{const he=$(j());return nn(he,oe)?(oe.data=he.data,oe.isLoading=he.isLoading,oe.isValidating=he.isValidating,oe.error=he.error,oe):(oe=he,he)},()=>ln]},[r,a]),_=o1.useSyncExternalStore(A.useCallback(H=>_e(a,($,ae)=>{nn(ae,$)||H()}),[r,a]),rn[0],rn[1]),P=!d.current,L=g[a]&&g[a].length>0,I=_.data,U=z(I)?Zl:I,nt=_.error,Ge=A.useRef(U),yt=h?z(I)?Ge.current:I:U,Ze=L&&!z(nt)?!1:P&&!z(u)?u:E().isPaused()?!1:o?z(U)?!1:s:z(U)||s,Ut=!!(a&&t&&P&&Ze),xf=z(_.isValidating)?Ut:_.isValidating,Cf=z(_.isLoading)?Ut:_.isLoading,Mn=A.useCallback(async H=>{const $=k.current;if(!a||!$||y.current||E().isPaused())return!1;let ae,X,Ke=!0;const ln=H||{},oe=!S[a]||!ln.dedupe,he=()=>Ms?!y.current&&a===C.current&&d.current:a===C.current,rt={isValidating:!1,isLoading:!1},ku=()=>{te(rt)},_u=()=>{const Oe=S[a];Oe&&Oe[1]===X&&delete S[a]},Tu={isValidating:!0};z(j().data)&&(Tu.isLoading=!0);try{if(oe&&(te(Tu),n.loadingTimeout&&z(j().data)&&setTimeout(()=>{Ke&&he()&&E().onLoadingSlow(a,n)},n.loadingTimeout),S[a]=[$(c),_i()]),[ae,X]=S[a],ae=await ae,oe&&setTimeout(_u,n.dedupingInterval),!S[a]||S[a][1]!==X)return oe&&he()&&E().onDiscarded(a),!1;rt.error=Se;const Oe=x[a];if(!z(Oe)&&(X<=Oe[0]||X<=Oe[1]||Oe[1]===0))return ku(),oe&&he()&&E().onDiscarded(a),!1;const lt=j().data;rt.data=l(lt,ae)?lt:ae,oe&&he()&&E().onSuccess(ae,a,n)}catch(Oe){_u();const lt=E(),{shouldRetryOnError:Kl}=lt;lt.isPaused()||(rt.error=Oe,oe&&he()&&(lt.onError(Oe,a,lt),(Kl===!0||qe(Kl)&&Kl(Oe))&&(!E().revalidateOnFocus||!E().revalidateOnReconnect||M())&<.onErrorRetry(Oe,a,lt,Ef=>{const Yl=g[a];Yl&&Yl[0]&&Yl[0](Qn.ERROR_REVALIDATE_EVENT,Ef)},{retryCount:(ln.retryCount||0)+1,dedupe:!0})))}return Ke=!1,ku(),!0},[a,r]),Eu=A.useCallback((...H)=>uf(r,C.current,...H),[]);if(To(()=>{k.current=t,N.current=n,z(I)||(Ge.current=I)}),To(()=>{if(!a)return;const H=Mn.bind(Se,jo);let $=0;const X=z1(a,g,(Ke,ln={})=>{if(Ke==Qn.FOCUS_EVENT){const oe=Date.now();E().revalidateOnFocus&&oe>$&&M()&&($=oe+E().focusThrottleInterval,H())}else if(Ke==Qn.RECONNECT_EVENT)E().revalidateOnReconnect&&M()&&H();else{if(Ke==Qn.MUTATE_EVENT)return Mn();if(Ke==Qn.ERROR_REVALIDATE_EVENT)return Mn(ln)}});return y.current=!1,C.current=a,d.current=!0,te({_k:c}),Ze&&(z(U)||Er?H():m1(H)),()=>{y.current=!0,X()}},[a]),To(()=>{let H;function $(){const X=qe(f)?f(j().data):f;X&&H!==-1&&(H=setTimeout(ae,X))}function ae(){!j().error&&(m||E().isVisible())&&(v||E().isOnline())?Mn(jo).then($):$()}return $(),()=>{H&&(clearTimeout(H),H=-1)}},[f,m,v,a]),A.useDebugValue(yt),o&&z(U)&&a){if(!Ms&&Er)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,N.current=n,y.current=!1;const H=D[a];if(!z(H)){const $=Eu(H);Vs($)}if(z(nt)){const $=Mn(jo);z(yt)||($.status="fulfilled",$.value=!0),Vs($)}else throw nt}return{mutate:Eu,get data(){return tt.data=!0,yt},get error(){return tt.error=!0,nt},get isValidating(){return tt.isValidating=!0,xf},get isLoading(){return tt.isLoading=!0,Cf}}},D1=O1(F1),Gt=(e,t=!0)=>!t&&!window._TOSHUBWIDGET_SETTINGS?e:window._TOSHUBWIDGET_SETTINGS?window._TOSHUBWIDGET_SETTINGS[e]:null,cf={start_place:"start_place",end_place:"end_place",categories:"category",type_of_tour:"strengths"},M1="https://hub.tourofsicily.com/wp-json/hub-api/v1",I1=(e,t)=>fetch(e,{method:"GET",headers:{"X-Toshub":`${t}`}}).then(n=>n.json()),ff=e=>Object.values(e).every(t=>t==="0"),A1=(e,t)=>{const n=Object.keys(e).reduce((r,l)=>(t.includes(l)||(r[l]=e[l]),r),{});return Object.values(n).every(r=>r==="0")},V1=(e,t)=>{if(ff(t))return[];const n=Object.keys(t).filter(r=>t[r]!=="0");return e.filter(r=>n.every(l=>r[cf[l]].includes(parseInt(t[l]))))},U1=e=>e.sort((t,n)=>t.name.localeCompare(n.name)),H1=(e,t,n)=>{const r=new Set(t.map(l=>l[cf[e]]).flat());return U1(n.filter(l=>r.has(l.id)))};var df={exports:{}},$1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",B1=$1,W1=B1;function pf(){}function hf(){}hf.resetWarningCache=pf;var Q1=function(){function e(r,l,o,i,u,s){if(s!==W1){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:hf,resetWarningCache:pf};return n.PropTypes=n,n};df.exports=Q1();var G1=df.exports;const ut=Us(G1);function mf({options:e,taxon:t,setSelectedFilters:n,selectedFilters:r,products:l,label:o}){const i=f=>{n(m=>({...m,[t]:f.target.value}))},[u,s]=A.useState([]);return A.useEffect(()=>{if(l.length>0){const f=H1(t,l,e);s(f)}},[l,e,t,r]),p.jsxs("select",{id:t,name:t,onChange:i,className:"bg-white mt-2 block w-full rounded-15 font-bold text-tosBlue border-0 p-4 shadow focus:ring-2 focus:ring-tosBlue text-18 sm:leading-6 appearance-none tk-filson-soft",children:[p.jsx("option",{value:"0",children:o}),u.map(f=>p.jsx("option",{value:f.id,children:f.name==="Transfer-Tour"?"Transfer with Stops":f.name},f.id))]})}mf.propTypes={options:ut.array,taxon:ut.string,setSelectedFilters:ut.func,selectedFilters:ut.object,products:ut.array,label:ut.string};function vf(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(n=vf(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function yf(){for(var e,t,n=0,r="",l=arguments.length;n<l;n++)(e=arguments[n])&&(t=vf(e))&&(r&&(r+=" "),r+=t);return r}function Z1({product:e}){return p.jsxs("div",{children:[p.jsx("h5",{className:"mb-2 text-base md:text-lg font-bold tracking-tight leading-6 text-tosBlue line-clamp-2 min-h-12",dangerouslySetInnerHTML:{__html:e.post_title}}),p.jsx("p",{className:"mb-2 text-tosLightGrey text-xs",children:e.places.join(", ")}),p.jsx("p",{className:"font-normal text-tosBlue text-sm line-clamp-3 hidden md:webkit-box min-h-16",children:e.post_excerpt}),p.jsx("div",{className:"md:mt-8 mb-2 md:mb-4",children:p.jsxs("div",{className:"grid grid-cols-2 text-sm items-center",children:[p.jsx("div",{className:"text-tosLightGrey ",children:"Departure"}),p.jsxs("div",{className:"flex items-center gap-4",children:[p.jsx("span",{children:p.jsx("svg",{width:"15",height:"21",viewBox:"0 0 15 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{d:"M7.5 9.57312C6.83696 9.57312 6.20107 9.30973 5.73223 8.84089C5.26339 8.37205 5 7.73616 5 7.07312C5 6.41008 5.26339 5.77419 5.73223 5.30535C6.20107 4.83651 6.83696 4.57312 7.5 4.57312C8.16304 4.57312 8.79893 4.83651 9.26777 5.30535C9.73661 5.77419 10 6.41008 10 7.07312C10 7.40142 9.93534 7.72651 9.8097 8.02983C9.68406 8.33314 9.49991 8.60874 9.26777 8.84089C9.03562 9.07303 8.76002 9.25718 8.45671 9.38282C8.15339 9.50846 7.8283 9.57312 7.5 9.57312ZM7.5 0.0731201C5.64348 0.0731201 3.86301 0.810618 2.55025 2.12337C1.2375 3.43613 0.5 5.2166 0.5 7.07312C0.5 12.3231 7.5 20.0731 7.5 20.0731C7.5 20.0731 14.5 12.3231 14.5 7.07312C14.5 5.2166 13.7625 3.43613 12.4497 2.12337C11.137 0.810618 9.35652 0.0731201 7.5 0.0731201Z",fill:"#D2D3D3"})})}),p.jsx("span",{className:"font-semibold text-tosBlue text-base",children:e.start_place_text})]})]})})]})}function K1({product:e,link:t}){return p.jsxs("div",{className:"",children:[p.jsxs("h5",{className:"mb-2 text-base md:text-lg font-bold tracking-tight leading-6 text-tosBlue line-clamp-2 md:min-h-12 flex items-center md:justify-between gap-4 md:gap-0",children:[p.jsx("span",{children:e.start_place_text}),p.jsx("span",{children:p.jsx("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{d:"M20.8644 13.4165C21.0519 13.229 21.1572 12.9746 21.1572 12.7095C21.1572 12.4443 21.0519 12.19 20.8644 12.0025L15.2074 6.34548C15.1152 6.24997 15.0048 6.17379 14.8828 6.12138C14.7608 6.06897 14.6296 6.04138 14.4968 6.04023C14.3641 6.03908 14.2324 6.06438 14.1095 6.11466C13.9866 6.16494 13.8749 6.23919 13.781 6.33308C13.6872 6.42698 13.6129 6.53863 13.5626 6.66153C13.5123 6.78442 13.487 6.9161 13.4882 7.04888C13.4893 7.18166 13.5169 7.31288 13.5693 7.43488C13.6217 7.55689 13.6979 7.66723 13.7934 7.75948L17.7434 11.7095L4.50044 11.7095C4.23522 11.7095 3.98087 11.8148 3.79333 12.0024C3.6058 12.1899 3.50044 12.4443 3.50044 12.7095C3.50044 12.9747 3.6058 13.229 3.79333 13.4166C3.98087 13.6041 4.23522 13.7095 4.50044 13.7095L17.7434 13.7095L13.7934 17.6595C13.6113 17.8481 13.5105 18.1007 13.5128 18.3629C13.515 18.6251 13.6202 18.8759 13.8056 19.0613C13.991 19.2467 14.2418 19.3519 14.504 19.3542C14.7662 19.3564 15.0188 19.2556 15.2074 19.0735L20.8644 13.4165Z",fill:"#9EB1EF"})})}),p.jsx("span",{children:e.end_place_text})]}),e.label==="Transfer-Tour"?p.jsxs("p",{className:"mb-6 text-tosLightGrey text-sm md:text-xs grid grid-cols-6 items-center",children:[p.jsx("span",{className:"text-clamp-1 col-span-4",children:e.places.join(", ")}),p.jsx("span",{className:"col-span-2 text-right",children:p.jsx("a",{href:t,className:"text-tosLightGrey underline",children:"See all cities"})})]}):p.jsx("p",{className:"mb-6 text-tosLightGrey text-sm",children:e.places.join(", ")})]})}const Y1=e=>p.jsxs("svg",{width:369,height:35,viewBox:"0 0 369 35",className:"w-full",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[p.jsxs("g",{clipPath:"url(#clip0_4076_7176)",children:[p.jsx("path",{d:"M40.8584 28.7046C40.8584 31.7955 43.2843 34.2424 46.3487 34.2424C49.4131 34.2424 51.839 31.7955 51.839 28.7046C51.839 25.6137 49.4131 23.1667 46.3487 23.1667C43.2843 23.1667 40.8584 25.6137 40.8584 28.7046ZM43.9228 28.7046C43.9228 27.4167 44.9442 26.2576 46.3487 26.2576C47.7532 26.2576 48.7747 27.2879 48.7747 28.7046C48.7747 30.1212 47.7532 31.1515 46.3487 31.1515C44.9442 31.1515 43.9228 30.1212 43.9228 28.7046Z",fill:"url(#paint0_linear_4076_7176)"}),p.jsx("path",{d:"M8.29883 28.7046C8.29883 31.7955 10.7248 34.2424 13.7891 34.2424C16.8535 34.2424 19.2795 31.7955 19.2795 28.7046C19.2795 25.6137 16.8535 23.1667 13.7891 23.1667C10.7248 23.1667 8.29883 25.6137 8.29883 28.7046ZM11.4909 28.7046C11.4909 27.4167 12.5123 26.2576 13.9168 26.2576C15.3213 26.2576 16.3428 27.2879 16.3428 28.7046C16.3428 30.1212 15.3213 31.1515 13.9168 31.1515C12.5123 31.1515 11.4909 30.1212 11.4909 28.7046Z",fill:"url(#paint1_linear_4076_7176)"}),p.jsx("path",{d:"M0 3.84848V25.3561C0 27.1591 1.53218 28.7045 3.31972 28.7045H7.40554C7.40554 25.0985 10.3422 22.1364 13.9173 22.1364C17.4924 22.1364 20.4291 25.0985 20.4291 28.7045H39.8367C39.8367 25.0985 42.7734 22.1364 46.3484 22.1364C49.9235 22.1364 52.8602 25.0985 52.8602 28.7045H56.1799C57.9675 28.7045 59.4997 27.1591 59.4997 25.3561V17.6288C59.4997 15.8258 59.2443 12.8636 58.8612 11.0606L56.8183 3.7197C56.4353 1.91667 54.6478 0.5 52.8602 0.5H3.31972C1.53218 0.5 0 2.04545 0 3.84848ZM45.8377 2.56061H52.3495C53.754 2.56061 55.0308 3.7197 55.2862 5.00758L57.0737 12.2197C57.3291 13.3788 56.6907 14.2803 55.6692 14.5379L54.137 10.9318C53.8817 10.4167 53.3709 10.1591 52.8602 10.4167C52.3495 10.6742 52.0941 11.1894 52.3495 11.7045L53.6263 14.6667H45.9654V2.56061H45.8377ZM31.1543 2.56061H43.9225V14.6667H31.1543V2.56061ZM16.3433 2.56061H29.1114V14.6667H16.3433V2.56061ZM2.04291 5.00758C2.04291 3.59091 3.19204 2.56061 4.46886 2.56061H14.428V14.6667H4.46886C3.06436 14.6667 2.04291 13.5076 2.04291 12.2197V5.00758Z",fill:"url(#paint2_linear_4076_7176)"}),p.jsx("path",{d:"M358.913 0.5C353.295 0.5 348.826 5.13636 348.826 10.6742C348.826 16.2121 358.913 31.2803 358.913 31.2803C358.913 31.2803 369 16.3409 369 10.6742C369 5.00758 364.403 0.5 358.913 0.5ZM358.913 15.053C356.232 15.053 354.189 12.8636 354.189 10.2879C354.189 7.71212 356.359 5.52273 358.913 5.52273C361.467 5.52273 363.637 7.71212 363.637 10.2879C363.637 12.8636 361.467 15.053 358.913 15.053Z",fill:"url(#paint3_linear_4076_7176)"}),p.jsx("path",{d:"M84.1427 25.3561H79.6738V27.2879H84.1427V25.3561Z",fill:"url(#paint4_linear_4076_7176)"}),p.jsx("path",{d:"M326.227 27.2879H317.545V25.3561H326.227V27.2879ZM308.99 27.2879H300.308V25.3561H308.99V27.2879ZM291.626 27.2879H282.943V25.3561H291.626V27.2879ZM274.389 27.2879H265.706V25.3561H274.389V27.2879ZM257.024 27.2879H248.341V25.3561H257.024V27.2879ZM239.787 27.2879H231.104V25.3561H239.787V27.2879ZM222.55 27.2879H213.867V25.3561H222.55V27.2879ZM205.185 27.2879H196.503V25.3561H205.185V27.2879ZM187.948 27.2879H179.266V25.3561H187.948V27.2879ZM170.583 27.2879H161.901V25.3561H170.583V27.2879ZM153.346 27.2879H144.664V25.3561H153.346V27.2879ZM136.109 27.2879H127.427V25.3561H136.109V27.2879ZM118.745 27.2879H110.062V25.3561H118.745V27.2879ZM101.508 27.2879H92.8252V25.3561H101.508V27.2879Z",fill:"url(#paint5_linear_4076_7176)"}),p.jsx("path",{d:"M339.378 25.3561H334.909V27.2879H339.378V25.3561Z",fill:"url(#paint6_linear_4076_7176)"})]}),p.jsxs("defs",{children:[p.jsxs("linearGradient",{id:"paint0_linear_4076_7176",x1:46.3487,y1:32.1818,x2:46.3487,y2:23.1667,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"paint1_linear_4076_7176",x1:13.9168,y1:32.1818,x2:13.9168,y2:23.1667,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"paint2_linear_4076_7176",x1:29.7498,y1:23.2955,x2:29.7498,y2:.5,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"paint3_linear_4076_7176",x1:358.913,y1:.5,x2:358.913,y2:70.2967,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0CB20C"}),p.jsx("stop",{offset:1,stopColor:"#F2E30F"})]}),p.jsxs("linearGradient",{id:"paint4_linear_4076_7176",x1:81.9721,y1:25.3561,x2:81.9721,y2:27.2879,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"paint5_linear_4076_7176",x1:209.526,y1:.500017,x2:209.526,y2:.500017,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"paint6_linear_4076_7176",x1:337.08,y1:.500017,x2:337.08,y2:.500017,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsx("clipPath",{id:"clip0_4076_7176",children:p.jsx("rect",{width:369,height:34,fill:"white",transform:"translate(0 0.5)"})})]})]}),X1=e=>p.jsxs("svg",{width:353,height:77,viewBox:"0 0 353 77",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[p.jsx("path",{d:"M39.087 49.256a5.215 5.215 0 0 0 5.252 5.255 5.215 5.215 0 0 0 5.252-5.255A5.215 5.215 0 0 0 44.34 44a5.215 5.215 0 0 0-5.252 5.256m2.931 0c0-1.223.978-2.323 2.321-2.323s2.32.978 2.32 2.323-.976 2.322-2.32 2.322-2.32-.978-2.32-2.322",fill:"url(#a)"}),p.jsx("path",{d:"M7.94 49.256a5.215 5.215 0 0 0 5.252 5.255 5.215 5.215 0 0 0 5.252-5.255A5.215 5.215 0 0 0 13.192 44a5.215 5.215 0 0 0-5.253 5.256m3.053 0c0-1.223.977-2.323 2.32-2.323 1.344 0 2.322.978 2.322 2.323s-.978 2.322-2.321 2.322-2.32-.978-2.32-2.322",fill:"url(#b)"}),p.jsx("path",{d:"M0 25.667v20.41c0 1.712 1.466 3.179 3.176 3.179h3.908c0-3.423 2.81-6.234 6.23-6.234s6.23 2.811 6.23 6.234h18.565c0-3.423 2.81-6.234 6.23-6.234s6.23 2.811 6.23 6.234h3.175c1.71 0 3.176-1.467 3.176-3.178v-7.334c0-1.71-.245-4.522-.611-6.233l-1.954-6.967c-.367-1.71-2.077-3.055-3.787-3.055H3.176C1.466 22.489 0 23.956 0 25.667m43.85-1.345h6.23c1.343 0 2.565 1.1 2.809 2.322l1.71 6.845c.244 1.1-.366 1.955-1.344 2.2l-1.465-3.422c-.245-.49-.733-.734-1.222-.49-.488.245-.733.734-.488 1.223l1.221 2.811h-7.329V24.322zm-14.047 0h12.215v11.49H29.803zm-14.168 0h12.214v11.49H15.635zm-13.68 2.445a2.32 2.32 0 0 1 2.32-2.323h9.527v11.49H4.275c-1.344 0-2.32-1.1-2.32-2.323z",fill:"url(#c)"}),p.jsx("path",{d:"M137.047 23.833c-5.374 0-9.65 4.4-9.65 9.656 0 5.255 9.65 19.555 9.65 19.555s9.649-14.177 9.649-19.555-4.397-9.656-9.649-9.656m0 13.934c-2.565 0-4.519-2.078-4.519-4.523s2.076-4.522 4.519-4.522 4.519 2.078 4.519 4.522-2.076 4.523-4.519 4.523",fill:"url(#d)"}),p.jsx("path",{d:"M259.315 7.822c-5.375 0-9.65 4.4-9.65 9.656 0 5.255 9.65 19.555 9.65 19.555s9.649-14.177 9.649-19.555-4.397-9.656-9.649-9.656m0 13.934c-2.566 0-4.52-2.078-4.52-4.523s2.077-4.522 4.52-4.522 4.519 2.078 4.519 4.522-2.077 4.523-4.519 4.523",fill:"url(#e)"}),p.jsx("path",{d:"M343.351 23.833c-5.375 0-9.65 4.4-9.65 9.656 0 5.255 9.65 19.555 9.65 19.555S353 38.867 353 33.49s-4.397-9.656-9.649-9.656m0 13.934c-2.565 0-4.52-2.078-4.52-4.523s2.077-4.522 4.52-4.522 4.519 2.078 4.519 4.522-2.076 4.523-4.519 4.523",fill:"url(#f)"}),p.jsx("path",{d:"M72.799 49.867c-2.32-1.467-3.542-2.445-3.542-2.445l.733-.978s1.221.978 3.42 2.323l-.611.977z",fill:"url(#g)"}),p.jsx("path",{d:"M137.048 66.367c-2.443 0-4.886 0-7.207-.123v-1.222c2.443 0 4.886.122 7.207.122h1.221v1.223zm9.771-.367v-1.222c2.687-.245 5.497-.49 8.306-.856v1.222c-2.687.367-5.496.612-8.306.856m-25.65-.489c-2.81-.367-5.741-.733-8.428-1.222l.244-1.222c2.687.489 5.619.855 8.428 1.222v1.222zm42.506-1.711-.244-1.222c2.687-.49 5.497-1.1 8.306-1.711l.244 1.222c-2.809.611-5.619 1.222-8.306 1.711m-59.24-1.222c-2.81-.611-5.497-1.467-8.184-2.322l.367-1.223a90 90 0 0 0 8.183 2.2l-.244 1.223zm75.974-2.322-.244-1.223c2.687-.733 5.496-1.466 8.184-2.2l.366 1.223c-2.687.733-5.496 1.466-8.184 2.2zm-92.342-2.812c-2.687-1.1-5.374-2.2-7.817-3.422l.489-1.1c2.442 1.222 5.007 2.322 7.695 3.422l-.489 1.1zm233.054-.733c-2.321-.855-5.008-1.955-7.94-2.933l.367-1.1c2.931 1.1 5.618 2.078 7.939 2.933l-.489 1.1zm-124.344-.978-.367-1.222 1.222-.367c2.32-.61 4.641-1.344 7.084-1.955l.367 1.222c-2.321.611-4.642 1.345-7.085 1.956zm16.367-4.4-.244-1.222c2.931-.733 5.619-1.467 8.306-2.078l.244 1.223c-2.565.61-5.252 1.222-8.184 2.077zm91.976-.244c-2.688-.856-5.497-1.589-8.184-2.2l.244-1.222c2.687.61 5.497 1.466 8.184 2.2l-.367 1.222zm-75.364-3.545-.244-1.222c2.931-.61 5.74-.978 8.428-1.466v1.222a117 117 0 0 0-8.184 1.466m58.874-.488c-2.687-.49-5.497-.978-8.428-1.223v-1.222c2.931.367 5.863.733 8.55 1.345l-.244 1.222zM246.49 45.1v-1.222c2.687-.245 5.618-.49 8.428-.49v1.223c-2.687 0-5.619.245-8.428.489m25.406-.122a97 97 0 0 0-8.428-.367V43.39c2.931 0 5.741.244 8.55.367v1.222z",fill:"url(#h)"}),p.jsx("path",{d:"M333.579 60.378c-1.222 0-2.565-.245-4.397-.734l.366-1.222c1.71.49 2.932.734 4.031.734z",fill:"url(#i)"}),p.jsxs("defs",{children:[p.jsxs("linearGradient",{id:"a",x1:44.339,y1:52.433,x2:44.339,y2:43.878,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"b",x1:13.314,y1:52.433,x2:13.314,y2:43.878,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"c",x1:28.46,y1:44,x2:28.46,y2:22.489,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"d",x1:137.047,y1:47.422,x2:137.047,y2:23.833,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"e",x1:259.315,y1:31.411,x2:259.315,y2:7.822,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"f",x1:343.351,y1:23.833,x2:343.351,y2:90.072,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0CB20C"}),p.jsx("stop",{offset:1,stopColor:"#F2E30F"})]}),p.jsxs("linearGradient",{id:"g",x1:71.333,y1:43.267,x2:71.333,y2:66.367,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"h",x1:200.93,y1:43.389,x2:200.93,y2:66.367,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"i",x1:331.38,y1:43.267,x2:331.38,y2:66.367,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]})]})]});function J1({product:e}){return p.jsxs(p.Fragment,{children:[e.label==="Straight Transfer"&&p.jsx("div",{className:"px-5 bg-white h-full w-full object-cover md:rounded-t-30 flex items-center md:border border-tosBlue justify-center",children:p.jsx(Y1,{})}),e.label==="Transfer-Tour"&&p.jsx("div",{className:"px-5 bg-white h-full w-full object-cover md:rounded-t-30 flex items-center md:border border-tosBlue justify-center",children:p.jsx(X1,{})})]})}function q1(e){const t=["Cooking Class","Day tours","Boat and Sailing Experience"];return e==="Transfer-Tour"?"Transfer with Stops":t.includes(e)?"Private Day Tour":e}function gf({product:e}){let t="https://product.tourofsicily.com/";const n="p/"+e.ID,r="transfer/"+e.ID,l=e.label;l==="Straight Transfer"?t+=r:t+=n;const o={"Straight Transfer":"linear-gradient(180deg, #df9c17 50.74%, #f5d77c 100%)","Day tours":"linear-gradient(180deg, #0A1F64 -126.74%, #7A9AFF 100%)","Cooking Class":"linear-gradient(180deg, #0A1F64 -126.74%, #7A9AFF 100%)","Boat and Sailing Experience":"linear-gradient(180deg, #0A1F64 -126.74%, #7A9AFF 100%)","Transfer-Tour":"linear-gradient(180deg, #D1B904 22.58%, #F2E30F 117.74%)"},i=e.cover,u=i?e.cover.replace("https://tourofsicily.s3.eu-south-1.amazonaws.com/","https://tourofsicily.imgix.net/"):null;return p.jsxs("a",{href:t,target:"_blank",className:"w-full bg-white border border-gray-200 shadow hover:bg-gray-100 relative product-card md:mt-28 grid grid-cols-3 overflow-hidden md:overflow-visible rounded-15 md:rounded-30 content-center",children:[p.jsx("div",{className:"md:h-210 overflow-hidden md:px-1 md:-mt-28 order-2 col-span-1 md:col-span-3",children:i?p.jsx("img",{src:`${u}?h=300`,className:"h-full w-full object-cover md:rounded-t-30",alt:e.post_title}):p.jsx(J1,{product:e})}),p.jsx("p",{style:{background:o[l]||"#333"},className:yf("p-2 text-xs font-semibold leading-none tracking-tighter text-white uppercase text-center order-1 col-span-3 md:order-2"),children:q1(l)}),p.jsxs("div",{className:"p-4 md:py-4 md:px-6 order-3 col-span-2 md:col-span-3",children:[l==="Straight Transfer"||l==="Transfer-Tour"?p.jsx(K1,{product:e,link:t}):p.jsx(Z1,{product:e}),p.jsxs("div",{className:"flex md:grid grid-cols-2 items-center justify-between md:justify-start",children:[p.jsx("div",{}),p.jsx("div",{className:"flex justify-end",children:p.jsx("a",{href:t,target:"_blank",className:"items-center justify-center block md:py-2.5 mt-2 md:mt-0 md:px-30 text-base md:text-sm font-semibold md:font-bold text-tosBlue md:text-white md:bg-tosOrange rounded-15 md:hover:bg-tosOrange/90",children:"See more"})})]})]})]})}gf.propTypes={product:ut.object};function wf({products:e}){return p.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4 md:gap-6 mt-8 justify-items-center",children:e.map(t=>p.jsx(gf,{product:t},t.id))})}wf.propTypes={products:ut.array};function Sf({productTaxons:e}){const t=[{taxon:"start_place",label:"Starting from"},{taxon:"end_place",label:"Ending location"},{taxon:"categories",label:"Category"},{taxon:"type_of_tour",label:"Type of tour"}],n=Gt("defaultFilters")||{start_place:"0",end_place:"0",categories:"0",type_of_tour:"0"},r=Object.keys(n).filter(m=>n[m]!=="0"),[l,o]=A.useState(n),i=(m,v)=>{o(h=>({...h,[m]:"0"})),v.closest("div").querySelector("select").value="0"},u=ff(l)?e.products:V1(e.products,l),[s,f]=A.useState(!1);return p.jsxs("div",{className:"px-2 md:px-0",children:[p.jsxs("button",{className:"border border-tosBlue text-tosBlue rounded-15 p-3 w-full flex items-center gap-4 justify-center md:hidden",onClick:()=>f(!s),children:[p.jsx("span",{children:p.jsx("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{d:"M7 11.29H17V13.29H7V11.29ZM4 7.29004H20V9.29004H4V7.29004ZM10 15.29H14V17.29H10V15.29Z",fill:"#0A1F64"})})}),p.jsx("span",{children:s?"Close filters":"Filters"})]}),p.jsx("div",{className:yf("grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-2 lg:gap-8 rounded-lg",s?"grid":"hidden md:grid"),style:{backgroundColor:Gt("primary",!0)??"#f0f0f0"},children:t.map(({taxon:m,label:v})=>r.includes(m)?null:p.jsxs("div",{className:"relative",children:[p.jsxs("label",{htmlFor:m,className:"flex justify-between text-sm font-medium leading-6 text-left min-h-8absolute",children:[p.jsx("span",{className:"hidden",style:{color:Gt("text",!0)||"#333"},children:v}),l[m]!=="0"&&p.jsx("button",{type:"button",title:"Reset",className:"hover:bg-gray-100 p-1 rounded-xl absolute right-2 top-5",onClick:h=>i(m,h.target),children:p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"size-6",children:p.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"})})})]}),p.jsx(mf,{taxon:m,label:v,setSelectedFilters:o,selectedFilters:l,options:e[m],products:u}),l[m]==="0"&&p.jsx("div",{className:"pointer-events-none absolute top-7 right-1 flex items-center pr-3",children:p.jsx("svg",{width:"16",height:"11",viewBox:"0 0 16 11",className:"h-4 w-4 text-tosLightenGrey",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{d:"M7.99993 7.18668L14.2222 0.82312L16 2.64127L7.99993 10.8231L0 2.64127L1.77776 0.82312L7.99993 7.18668Z",fill:"#B1B2B2"})})}),l[m]!=="0"&&p.jsx("p",{className:"text-xs p-2",style:{color:Gt("text",!0)||"#666"},children:"if you like to change selection, please use the button reset before update your choice"})]},m))}),p.jsx("div",{children:p.jsx(wf,{products:A1(l,r)?[]:u})})]})}Sf.propTypes={productTaxons:ut.object.isRequired};function b1(){return p.jsxs("div",{role:"status",children:[p.jsxs("svg",{"aria-hidden":"true",className:"w-8 h-8 text-gray-200 animate-spin fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),p.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),p.jsx("span",{className:"sr-only",children:"Loading..."})]})}function e0(){const{data:e,error:t,isLoading:n}=D1(M1+"/productTaxons",o=>I1(o,Gt("apikey"))),[r,l]=A.useState({products:[],start_place:[],end_place:[],categories:[],type_of_tour:[]});return A.useEffect(()=>{e!=null&&e.success&&l(e.data)},[e]),p.jsxs("div",{className:"relative",id:"toshub-widget-container",children:[(n||t||!e.success)&&p.jsx("div",{className:"absolute z-10 bg-white/70 w-full h-full flex",children:p.jsxs("div",{className:"m-auto",children:[n&&!t&&p.jsx(b1,{}),t||e&&!(e!=null&&e.success)&&p.jsx("div",{className:"py-1 px-2 bg-zinc-900 text-white rounded",children:"An error occurred during loading products widget, please try again in few seconds."})]})}),!t&&!n&&e&&p.jsx(Sf,{productTaxons:r})]})}const t0=()=>p.jsx(e0,{}),n0=e=>{const t=document.createElement("style");t.textContent+=`*,\:before,\:after{box-sizing\:border-box;border-width\:0;border-style\:solid;border-color\:#e5e7eb}\:before,\:after{--tw-content\: ""}html,\:host{line-height\:1.5;-webkit-text-size-adjust\:100%;-moz-tab-size\:4;-o-tab-size\:4;tab-size\:4;font-family\:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings\:normal;font-variation-settings\:normal;-webkit-tap-highlight-color\:transparent}body{margin\:0;line-height\:inherit}hr{height\:0;color\:inherit;border-top-width\:1px}abbr\:where([title]){-webkit-text-decoration\:underline dotted;text-decoration\:underline dotted}h1,h2,h3,h4,h5,h6{font-size\:inherit;font-weight\:inherit}a{color\:inherit;text-decoration\:inherit}b,strong{font-weight\:bolder}code,kbd,samp,pre{font-family\:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings\:normal;font-variation-settings\:normal;font-size\:1em}small{font-size\:80%}sub,sup{font-size\:75%;line-height\:0;position\:relative;vertical-align\:baseline}sub{bottom\:-.25em}sup{top\:-.5em}table{text-indent\:0;border-color\:inherit;border-collapse\:collapse}button,input,optgroup,select,textarea{font-family\:inherit;font-feature-settings\:inherit;font-variation-settings\:inherit;font-size\:100%;font-weight\:inherit;line-height\:inherit;letter-spacing\:inherit;color\:inherit;margin\:0;padding\:0}button,select{text-transform\:none}button,input\:where([type=button]),input\:where([type=reset]),input\:where([type=submit]){-webkit-appearance\:button;background-color\:transparent;background-image\:none}\:-moz-focusring{outline\:auto}\:-moz-ui-invalid{box-shadow\:none}progress{vertical-align\:baseline}\:\:-webkit-inner-spin-button,\:\:-webkit-outer-spin-button{height\:auto}[type=search]{-webkit-appearance\:textfield;outline-offset\:-2px}\:\:-webkit-search-decoration{-webkit-appearance\:none}\:\:-webkit-file-upload-button{-webkit-appearance\:button;font\:inherit}summary{display\:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin\:0}fieldset{margin\:0;padding\:0}legend{padding\:0}ol,ul,menu{list-style\:none;margin\:0;padding\:0}dialog{padding\:0}textarea{resize\:vertical}input\:\:-moz-placeholder,textarea\:\:-moz-placeholder{opacity\:1;color\:#9ca3af}input\:\:placeholder,textarea\:\:placeholder{opacity\:1;color\:#9ca3af}button,[role=button]{cursor\:pointer}\:disabled{cursor\:default}img,svg,video,canvas,audio,iframe,embed,object{display\:block;vertical-align\:middle}img,video{max-width\:100%;height\:auto}[hidden]{display\:none}*,\:before,\:after{--tw-border-spacing-x\: 0;--tw-border-spacing-y\: 0;--tw-translate-x\: 0;--tw-translate-y\: 0;--tw-rotate\: 0;--tw-skew-x\: 0;--tw-skew-y\: 0;--tw-scale-x\: 1;--tw-scale-y\: 1;--tw-pan-x\: ;--tw-pan-y\: ;--tw-pinch-zoom\: ;--tw-scroll-snap-strictness\: proximity;--tw-gradient-from-position\: ;--tw-gradient-via-position\: ;--tw-gradient-to-position\: ;--tw-ordinal\: ;--tw-slashed-zero\: ;--tw-numeric-figure\: ;--tw-numeric-spacing\: ;--tw-numeric-fraction\: ;--tw-ring-inset\: ;--tw-ring-offset-width\: 0px;--tw-ring-offset-color\: #fff;--tw-ring-color\: rgb(59 130 246 / .5);--tw-ring-offset-shadow\: 0 0 #0000;--tw-ring-shadow\: 0 0 #0000;--tw-shadow\: 0 0 #0000;--tw-shadow-colored\: 0 0 #0000;--tw-blur\: ;--tw-brightness\: ;--tw-contrast\: ;--tw-grayscale\: ;--tw-hue-rotate\: ;--tw-invert\: ;--tw-saturate\: ;--tw-sepia\: ;--tw-drop-shadow\: ;--tw-backdrop-blur\: ;--tw-backdrop-brightness\: ;--tw-backdrop-contrast\: ;--tw-backdrop-grayscale\: ;--tw-backdrop-hue-rotate\: ;--tw-backdrop-invert\: ;--tw-backdrop-opacity\: ;--tw-backdrop-saturate\: ;--tw-backdrop-sepia\: ;--tw-contain-size\: ;--tw-contain-layout\: ;--tw-contain-paint\: ;--tw-contain-style\: }\:\:backdrop{--tw-border-spacing-x\: 0;--tw-border-spacing-y\: 0;--tw-translate-x\: 0;--tw-translate-y\: 0;--tw-rotate\: 0;--tw-skew-x\: 0;--tw-skew-y\: 0;--tw-scale-x\: 1;--tw-scale-y\: 1;--tw-pan-x\: ;--tw-pan-y\: ;--tw-pinch-zoom\: ;--tw-scroll-snap-strictness\: proximity;--tw-gradient-from-position\: ;--tw-gradient-via-position\: ;--tw-gradient-to-position\: ;--tw-ordinal\: ;--tw-slashed-zero\: ;--tw-numeric-figure\: ;--tw-numeric-spacing\: ;--tw-numeric-fraction\: ;--tw-ring-inset\: ;--tw-ring-offset-width\: 0px;--tw-ring-offset-color\: #fff;--tw-ring-color\: rgb(59 130 246 / .5);--tw-ring-offset-shadow\: 0 0 #0000;--tw-ring-shadow\: 0 0 #0000;--tw-shadow\: 0 0 #0000;--tw-shadow-colored\: 0 0 #0000;--tw-blur\: ;--tw-brightness\: ;--tw-contrast\: ;--tw-grayscale\: ;--tw-hue-rotate\: ;--tw-invert\: ;--tw-saturate\: ;--tw-sepia\: ;--tw-drop-shadow\: ;--tw-backdrop-blur\: ;--tw-backdrop-brightness\: ;--tw-backdrop-contrast\: ;--tw-backdrop-grayscale\: ;--tw-backdrop-hue-rotate\: ;--tw-backdrop-invert\: ;--tw-backdrop-opacity\: ;--tw-backdrop-saturate\: ;--tw-backdrop-sepia\: ;--tw-contain-size\: ;--tw-contain-layout\: ;--tw-contain-paint\: ;--tw-contain-style\: }.sr-only{position\:absolute;width\:1px;height\:1px;padding\:0;margin\:-1px;overflow\:hidden;clip\:rect(0,0,0,0);white-space\:nowrap;border-width\:0}.pointer-events-none{pointer-events\:none}.absolute{position\:absolute}.relative{position\:relative}.right-1{right\:.25rem}.right-2{right\:.5rem}.top-5{top\:1.25rem}.top-7{top\:1.75rem}.z-10{z-index\:10}.order-1{order\:1}.order-2{order\:2}.order-3{order\:3}.col-span-1{grid-column\:span 1 / span 1}.col-span-2{grid-column\:span 2 / span 2}.col-span-3{grid-column\:span 3 / span 3}.col-span-4{grid-column\:span 4 / span 4}.m-auto{margin\:auto}.mb-2{margin-bottom\:.5rem}.mb-6{margin-bottom\:1.5rem}.mt-2{margin-top\:.5rem}.mt-8{margin-top\:2rem}.line-clamp-2{overflow\:hidden;display\:-webkit-box;-webkit-box-orient\:vertical;-webkit-line-clamp\:2}.line-clamp-3{overflow\:hidden;display\:-webkit-box;-webkit-box-orient\:vertical;-webkit-line-clamp\:3}.block{display\:block}.flex{display\:flex}.grid{display\:grid}.hidden{display\:none}.size-6{width\:1.5rem;height\:1.5rem}.h-4{height\:1rem}.h-8{height\:2rem}.h-full{height\:100%}.min-h-12{min-height\:3rem}.min-h-16{min-height\:4rem}.w-4{width\:1rem}.w-8{width\:2rem}.w-full{width\:100%}.transform{transform\:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform\:rotate(360deg)}}.animate-spin{animation\:spin 1s linear infinite}.appearance-none{-webkit-appearance\:none;-moz-appearance\:none;appearance\:none}.grid-cols-1{grid-template-columns\:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns\:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns\:repeat(3,minmax(0,1fr))}.grid-cols-6{grid-template-columns\:repeat(6,minmax(0,1fr))}.content-center{align-content\:center}.items-center{align-items\:center}.justify-end{justify-content\:flex-end}.justify-center{justify-content\:center}.justify-between{justify-content\:space-between}.justify-items-center{justify-items\:center}.gap-2{gap\:.5rem}.gap-4{gap\:1rem}.overflow-hidden{overflow\:hidden}.rounded{border-radius\:.25rem}.rounded-15{border-radius\:15px}.rounded-lg{border-radius\:.5rem}.rounded-xl{border-radius\:.75rem}.border{border-width\:1px}.border-0{border-width\:0px}.border-gray-200{--tw-border-opacity\: 1;border-color\:rgb(229 231 235 / var(--tw-border-opacity))}.border-tosBlue{--tw-border-opacity\: 1;border-color\:rgb(32 58 142 / var(--tw-border-opacity))}.bg-white{--tw-bg-opacity\: 1;background-color\:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/70{background-color\:#ffffffb3}.bg-zinc-900{--tw-bg-opacity\: 1;background-color\:rgb(24 24 27 / var(--tw-bg-opacity))}.fill-blue-600{fill\:#2563eb}.object-cover{-o-object-fit\:cover;object-fit\:cover}.p-1{padding\:.25rem}.p-2{padding\:.5rem}.p-3{padding\:.75rem}.p-4{padding\:1rem}.px-2{padding-left\:.5rem;padding-right\:.5rem}.px-5{padding-left\:1.25rem;padding-right\:1.25rem}.py-1{padding-top\:.25rem;padding-bottom\:.25rem}.pr-3{padding-right\:.75rem}.text-left{text-align\:left}.text-center{text-align\:center}.text-right{text-align\:right}.text-18{font-size\:18px}.text-base{font-size\:1rem;line-height\:1.5rem}.text-sm{font-size\:.875rem;line-height\:1.25rem}.text-xs{font-size\:.75rem;line-height\:1rem}.font-bold{font-weight\:700}.font-medium{font-weight\:500}.font-normal{font-weight\:400}.font-semibold{font-weight\:600}.uppercase{text-transform\:uppercase}.leading-6{line-height\:1.5rem}.leading-none{line-height\:1}.tracking-tight{letter-spacing\:-.025em}.tracking-tighter{letter-spacing\:-.05em}.text-gray-200{--tw-text-opacity\: 1;color\:rgb(229 231 235 / var(--tw-text-opacity))}.text-tosBlue{--tw-text-opacity\: 1;color\:rgb(32 58 142 / var(--tw-text-opacity))}.text-tosLightGrey{--tw-text-opacity\: 1;color\:rgb(210 211 211 / var(--tw-text-opacity))}.text-tosLightenGrey{--tw-text-opacity\: 1;color\:rgb(177 178 178 / var(--tw-text-opacity))}.text-white{--tw-text-opacity\: 1;color\:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line\:underline}.shadow{--tw-shadow\: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored\: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow\:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter\:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@font-face{font-family\:filson-soft;src\:url(https\://use.typekit.net/af/0ceada/00000000000000003b9ade5c/27/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n7&v=3) format("woff2"),url(https\://use.typekit.net/af/0ceada/00000000000000003b9ade5c/27/d?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n7&v=3) format("woff"),url(https\://use.typekit.net/af/0ceada/00000000000000003b9ade5c/27/a?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n7&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:700;font-stretch\:normal}@font-face{font-family\:filson-soft;src\:url(https\://use.typekit.net/af/5fe107/00000000000000003b9ade62/27/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n5&v=3) format("woff2"),url(https\://use.typekit.net/af/5fe107/00000000000000003b9ade62/27/d?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n5&v=3) format("woff"),url(https\://use.typekit.net/af/5fe107/00000000000000003b9ade62/27/a?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n5&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:500;font-stretch\:normal}@font-face{font-family\:filson-soft;src\:url(https\://use.typekit.net/af/277d7a/00000000000000003b9ade63/27/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3) format("woff2"),url(https\://use.typekit.net/af/277d7a/00000000000000003b9ade63/27/d?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3) format("woff"),url(https\://use.typekit.net/af/277d7a/00000000000000003b9ade63/27/a?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:400;font-stretch\:normal}@font-face{font-family\:figtree;src\:url(https\://use.typekit.net/af/6c3490/0000000000000000774f4c24/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n6&v=3) format("woff2"),url(https\://use.typekit.net/af/6c3490/0000000000000000774f4c24/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n6&v=3) format("woff"),url(https\://use.typekit.net/af/6c3490/0000000000000000774f4c24/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n6&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:600;font-stretch\:normal}@font-face{font-family\:figtree;src\:url(https\://use.typekit.net/af/eb2807/0000000000000000774f4c1e/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3) format("woff2"),url(https\://use.typekit.net/af/eb2807/0000000000000000774f4c1e/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3) format("woff"),url(https\://use.typekit.net/af/eb2807/0000000000000000774f4c1e/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:400;font-stretch\:normal}@font-face{font-family\:figtree;src\:url(https\://use.typekit.net/af/c57472/0000000000000000774f4c26/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3) format("woff2"),url(https\://use.typekit.net/af/c57472/0000000000000000774f4c26/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3) format("woff"),url(https\://use.typekit.net/af/c57472/0000000000000000774f4c26/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:700;font-stretch\:normal}@font-face{font-family\:figtree;src\:url(https\://use.typekit.net/af/938b3c/0000000000000000774f4c1c/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("woff2"),url(https\://use.typekit.net/af/938b3c/0000000000000000774f4c1c/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("woff"),url(https\://use.typekit.net/af/938b3c/0000000000000000774f4c1c/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:500;font-stretch\:normal}.tk-filson-soft{font-family\:filson-soft,sans-serif}.tk-figtree{font-family\:figtree,sans-serif}#toshub-widget-container{font-family\:figtree,sans-serif;font-weight\:400}h1,h2,h3,h4,h5,h6{font-family\:filson-soft,sans-serif;font-weight\:700}.hover\\:bg-gray-100\:hover{--tw-bg-opacity\: 1;background-color\:rgb(243 244 246 / var(--tw-bg-opacity))}.focus\\:ring-2\: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);box-shadow\:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-tosBlue\:focus{--tw-ring-opacity\: 1;--tw-ring-color\: rgb(32 58 142 / var(--tw-ring-opacity))}@media (min-width\: 640px){.sm\\:leading-6{line-height\:1.5rem}}@media (min-width\: 768px){.md\\:order-2{order\:2}.md\\:col-span-3{grid-column\:span 3 / span 3}.md\\:-mt-28{margin-top\:-7rem}.md\\:mb-4{margin-bottom\:1rem}.md\\:mt-0{margin-top\:0}.md\\:mt-28{margin-top\:7rem}.md\\:mt-8{margin-top\:2rem}.md\\:grid{display\:grid}.md\\:hidden{display\:none}.md\\:h-210{height\:210px}.md\\:min-h-12{min-height\:3rem}.md\\:grid-cols-2{grid-template-columns\:repeat(2,minmax(0,1fr))}.md\\:justify-start{justify-content\:flex-start}.md\\:justify-between{justify-content\:space-between}.md\\:gap-0{gap\:0px}.md\\:gap-6{gap\:1.5rem}.md\\:overflow-visible{overflow\:visible}.md\\:rounded-30{border-radius\:30px}.md\\:rounded-t-30{border-radius\:30px 30px 0 0}.md\\:border{border-width\:1px}.md\\:bg-tosOrange{--tw-bg-opacity\: 1;background-color\:rgb(242 183 5 / var(--tw-bg-opacity))}.md\\:px-0{padding-left\:0;padding-right\:0}.md\\:px-1{padding-left\:.25rem;padding-right\:.25rem}.md\\:px-30{padding-left\:30px;padding-right\:30px}.md\\:px-6{padding-left\:1.5rem;padding-right\:1.5rem}.md\\:py-2\.5{padding-top\:.625rem;padding-bottom\:.625rem}.md\\:py-4{padding-top\:1rem;padding-bottom\:1rem}.md\\:text-lg{font-size\:1.125rem;line-height\:1.75rem}.md\\:text-sm{font-size\:.875rem;line-height\:1.25rem}.md\\:text-xs{font-size\:.75rem;line-height\:1rem}.md\\:font-bold{font-weight\:700}.md\\:text-white{--tw-text-opacity\: 1;color\:rgb(255 255 255 / var(--tw-text-opacity))}.md\\:webkit-box{display\:-webkit-box}.md\\:hover\\:bg-tosOrange\/90\:hover{background-color\:#f2b705e6}}@media (min-width\: 1024px){.lg\\:gap-8{gap\:2rem}}@media (min-width\: 1280px){.xl\\:grid-cols-3{grid-template-columns\:repeat(3,minmax(0,1fr))}.xl\\:grid-cols-4{grid-template-columns\:repeat(4,minmax(0,1fr))}}
|
|
48
|
+
*/var On=A;function Xp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Jp=typeof Object.is=="function"?Object.is:Xp,qp=On.useState,bp=On.useEffect,e1=On.useLayoutEffect,t1=On.useDebugValue;function n1(e,t){var n=t(),r=qp({inst:{value:n,getSnapshot:t}}),l=r[0].inst,o=r[1];return e1(function(){l.value=n,l.getSnapshot=t,Eo(l)&&o({inst:l})},[e,n,t]),bp(function(){return Eo(l)&&o({inst:l}),e(function(){Eo(l)&&o({inst:l})})},[e]),t1(n),n}function Eo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Jp(e,n)}catch{return!0}}function r1(e,t){return t()}var l1=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r1:n1;tf.useSyncExternalStore=On.useSyncExternalStore!==void 0?On.useSyncExternalStore:l1;ef.exports=tf;var o1=ef.exports;const _t=()=>{},Se=_t(),ko=Object,z=e=>e===Se,qe=e=>typeof e=="function",Mt=(e,t)=>({...e,...t}),i1=e=>qe(e.then),Gr=new WeakMap;let u1=0;const Cr=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let l,o;if(ko(e)===e&&!r&&n!=RegExp){if(l=Gr.get(e),l)return l;if(l=++u1+"~",Gr.set(e,l),n==Array){for(l="@",o=0;o<e.length;o++)l+=Cr(e[o])+",";Gr.set(e,l)}if(n==ko){l="#";const i=ko.keys(e).sort();for(;!z(o=i.pop());)z(e[o])||(l+=o+":"+Cr(e[o])+",");Gr.set(e,l)}}else l=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return l},st=new WeakMap,_o={},Zr={},xu="undefined",Gl=typeof window!=xu,xi=typeof document!=xu,s1=()=>Gl&&typeof window.requestAnimationFrame!=xu,nf=(e,t)=>{const n=st.get(e);return[()=>!z(t)&&e.get(t)||_o,r=>{if(!z(t)){const l=e.get(t);t in Zr||(Zr[t]=l),n[5](t,Mt(l,r),l||_o)}},n[6],()=>!z(t)&&t in Zr?Zr[t]:!z(t)&&e.get(t)||_o]};let Ci=!0;const a1=()=>Ci,[Ei,ki]=Gl&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[_t,_t],c1=()=>{const e=xi&&document.visibilityState;return z(e)||e!=="hidden"},f1=e=>(xi&&document.addEventListener("visibilitychange",e),Ei("focus",e),()=>{xi&&document.removeEventListener("visibilitychange",e),ki("focus",e)}),d1=e=>{const t=()=>{Ci=!0,e()},n=()=>{Ci=!1};return Ei("online",t),Ei("offline",n),()=>{ki("online",t),ki("offline",n)}},p1={isOnline:a1,isVisible:c1},h1={initFocus:f1,initReconnect:d1},Ms=!Li.useId,Er=!Gl||"Deno"in window,m1=e=>s1()?window.requestAnimationFrame(e):setTimeout(e,1),To=Er?A.useEffect:A.useLayoutEffect,No=typeof navigator<"u"&&navigator.connection,Is=!Er&&No&&(["slow-2g","2g"].includes(No.effectiveType)||No.saveData),Cu=e=>{if(qe(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Cr(e):"",[e,t]};let v1=0;const _i=()=>++v1,rf=0,lf=1,of=2,y1=3;var Qn={__proto__:null,ERROR_REVALIDATE_EVENT:y1,FOCUS_EVENT:rf,MUTATE_EVENT:of,RECONNECT_EVENT:lf};async function uf(...e){const[t,n,r,l]=e,o=Mt({populateCache:!0,throwOnError:!0},typeof l=="boolean"?{revalidate:l}:l||{});let i=o.populateCache;const u=o.rollbackOnError;let s=o.optimisticData;const f=h=>typeof u=="function"?u(h):u!==!1,m=o.throwOnError;if(qe(n)){const h=n,g=[],x=t.keys();for(const S of x)!/^\$(inf|sub)\$/.test(S)&&h(t.get(S)._k)&&g.push(S);return Promise.all(g.map(v))}return v(n);async function v(h){const[g]=Cu(h);if(!g)return;const[x,S]=nf(t,g),[D,a,c,d]=st.get(t),y=()=>{const le=D[g];return(qe(o.revalidate)?o.revalidate(x().data,h):o.revalidate!==!1)&&(delete c[g],delete d[g],le&&le[0])?le[0](of).then(()=>x().data):x().data};if(e.length<3)return y();let C=r,k;const N=_i();a[g]=[N,0];const E=!z(s),M=x(),j=M.data,te=M._c,_e=z(te)?j:te;if(E&&(s=qe(s)?s(_e,j):s,S({data:s,_c:_e})),qe(C))try{C=C(_e)}catch(le){k=le}if(C&&i1(C))if(C=await C.catch(le=>{k=le}),N!==a[g][0]){if(k)throw k;return C}else k&&E&&f(k)&&(i=!0,S({data:_e,_c:Se}));if(i&&!k)if(qe(i)){const le=i(C,_e);S({data:le,error:Se,_c:Se})}else S({data:C,error:Se,_c:Se});if(a[g][1]=_i(),Promise.resolve(y()).then(()=>{S({_c:Se})}),k){if(m)throw k;return}return C}}const As=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},g1=(e,t)=>{if(!st.has(e)){const n=Mt(h1,t),r={},l=uf.bind(Se,e);let o=_t;const i={},u=(m,v)=>{const h=i[m]||[];return i[m]=h,h.push(v),()=>h.splice(h.indexOf(v),1)},s=(m,v,h)=>{e.set(m,v);const g=i[m];if(g)for(const x of g)x(v,h)},f=()=>{if(!st.has(e)&&(st.set(e,[r,{},{},{},l,s,u]),!Er)){const m=n.initFocus(setTimeout.bind(Se,As.bind(Se,r,rf))),v=n.initReconnect(setTimeout.bind(Se,As.bind(Se,r,lf)));o=()=>{m&&m(),v&&v(),st.delete(e)}}};return f(),[e,l,f,o]}return[e,st.get(e)[4]]},w1=(e,t,n,r,l)=>{const o=n.errorRetryCount,i=l.retryCount,u=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!z(o)&&i>o||setTimeout(r,u,l)},S1=(e,t)=>Cr(e)==Cr(t),[sf,x1]=g1(new Map),C1=Mt({onLoadingSlow:_t,onSuccess:_t,onError:_t,onErrorRetry:w1,onDiscarded:_t,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Is?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Is?5e3:3e3,compare:S1,isPaused:()=>!1,cache:sf,mutate:x1,fallback:{}},p1),E1=(e,t)=>{const n=Mt(e,t);if(t){const{use:r,fallback:l}=e,{use:o,fallback:i}=t;r&&o&&(n.use=r.concat(o)),l&&i&&(n.fallback=Mt(l,i))}return n},k1=A.createContext({}),_1="$inf$",af=Gl&&window.__SWR_DEVTOOLS_USE__,T1=af?window.__SWR_DEVTOOLS_USE__:[],N1=()=>{af&&(window.__SWR_DEVTOOLS_REACT__=Li)},j1=e=>qe(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],P1=()=>Mt(C1,A.useContext(k1)),L1=e=>(t,n,r)=>e(t,n&&((...o)=>{const[i]=Cu(t),[,,,u]=st.get(sf);if(i.startsWith(_1))return n(...o);const s=u[i];return z(s)?n(...o):(delete u[i],s)}),r),R1=T1.concat(L1),O1=e=>function(...n){const r=P1(),[l,o,i]=j1(n),u=E1(r,i);let s=e;const{use:f}=u,m=(f||[]).concat(R1);for(let v=m.length;v--;)s=m[v](s);return s(l,o||u.fetcher||null,u)},z1=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const l=r.indexOf(n);l>=0&&(r[l]=r[r.length-1],r.pop())}};N1();const Vs=Li.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),jo={dedupe:!0},F1=(e,t,n)=>{const{cache:r,compare:l,suspense:o,fallbackData:i,revalidateOnMount:u,revalidateIfStale:s,refreshInterval:f,refreshWhenHidden:m,refreshWhenOffline:v,keepPreviousData:h}=n,[g,x,S,D]=st.get(r),[a,c]=Cu(e),d=A.useRef(!1),y=A.useRef(!1),C=A.useRef(a),k=A.useRef(t),N=A.useRef(n),E=()=>N.current,M=()=>E().isVisible()&&E().isOnline(),[j,te,_e,le]=nf(r,a),tt=A.useRef({}).current,Zl=z(i)?n.fallback[a]:i,nn=(H,$)=>{for(const ae in tt){const X=ae;if(X==="data"){if(!l(H[X],$[X])&&(!z(H[X])||!l(yt,$[X])))return!1}else if($[X]!==H[X])return!1}return!0},rn=A.useMemo(()=>{const H=!a||!t?!1:z(u)?E().isPaused()||o?!1:z(s)?!0:s:u,$=he=>{const rt=Mt(he);return delete rt._k,H?{isValidating:!0,isLoading:!0,...rt}:rt},ae=j(),X=le(),Ke=$(ae),ln=ae===X?Ke:$(X);let oe=Ke;return[()=>{const he=$(j());return nn(he,oe)?(oe.data=he.data,oe.isLoading=he.isLoading,oe.isValidating=he.isValidating,oe.error=he.error,oe):(oe=he,he)},()=>ln]},[r,a]),_=o1.useSyncExternalStore(A.useCallback(H=>_e(a,($,ae)=>{nn(ae,$)||H()}),[r,a]),rn[0],rn[1]),P=!d.current,L=g[a]&&g[a].length>0,I=_.data,U=z(I)?Zl:I,nt=_.error,Ge=A.useRef(U),yt=h?z(I)?Ge.current:I:U,Ze=L&&!z(nt)?!1:P&&!z(u)?u:E().isPaused()?!1:o?z(U)?!1:s:z(U)||s,Ut=!!(a&&t&&P&&Ze),xf=z(_.isValidating)?Ut:_.isValidating,Cf=z(_.isLoading)?Ut:_.isLoading,Mn=A.useCallback(async H=>{const $=k.current;if(!a||!$||y.current||E().isPaused())return!1;let ae,X,Ke=!0;const ln=H||{},oe=!S[a]||!ln.dedupe,he=()=>Ms?!y.current&&a===C.current&&d.current:a===C.current,rt={isValidating:!1,isLoading:!1},ku=()=>{te(rt)},_u=()=>{const Oe=S[a];Oe&&Oe[1]===X&&delete S[a]},Tu={isValidating:!0};z(j().data)&&(Tu.isLoading=!0);try{if(oe&&(te(Tu),n.loadingTimeout&&z(j().data)&&setTimeout(()=>{Ke&&he()&&E().onLoadingSlow(a,n)},n.loadingTimeout),S[a]=[$(c),_i()]),[ae,X]=S[a],ae=await ae,oe&&setTimeout(_u,n.dedupingInterval),!S[a]||S[a][1]!==X)return oe&&he()&&E().onDiscarded(a),!1;rt.error=Se;const Oe=x[a];if(!z(Oe)&&(X<=Oe[0]||X<=Oe[1]||Oe[1]===0))return ku(),oe&&he()&&E().onDiscarded(a),!1;const lt=j().data;rt.data=l(lt,ae)?lt:ae,oe&&he()&&E().onSuccess(ae,a,n)}catch(Oe){_u();const lt=E(),{shouldRetryOnError:Kl}=lt;lt.isPaused()||(rt.error=Oe,oe&&he()&&(lt.onError(Oe,a,lt),(Kl===!0||qe(Kl)&&Kl(Oe))&&(!E().revalidateOnFocus||!E().revalidateOnReconnect||M())&<.onErrorRetry(Oe,a,lt,Ef=>{const Yl=g[a];Yl&&Yl[0]&&Yl[0](Qn.ERROR_REVALIDATE_EVENT,Ef)},{retryCount:(ln.retryCount||0)+1,dedupe:!0})))}return Ke=!1,ku(),!0},[a,r]),Eu=A.useCallback((...H)=>uf(r,C.current,...H),[]);if(To(()=>{k.current=t,N.current=n,z(I)||(Ge.current=I)}),To(()=>{if(!a)return;const H=Mn.bind(Se,jo);let $=0;const X=z1(a,g,(Ke,ln={})=>{if(Ke==Qn.FOCUS_EVENT){const oe=Date.now();E().revalidateOnFocus&&oe>$&&M()&&($=oe+E().focusThrottleInterval,H())}else if(Ke==Qn.RECONNECT_EVENT)E().revalidateOnReconnect&&M()&&H();else{if(Ke==Qn.MUTATE_EVENT)return Mn();if(Ke==Qn.ERROR_REVALIDATE_EVENT)return Mn(ln)}});return y.current=!1,C.current=a,d.current=!0,te({_k:c}),Ze&&(z(U)||Er?H():m1(H)),()=>{y.current=!0,X()}},[a]),To(()=>{let H;function $(){const X=qe(f)?f(j().data):f;X&&H!==-1&&(H=setTimeout(ae,X))}function ae(){!j().error&&(m||E().isVisible())&&(v||E().isOnline())?Mn(jo).then($):$()}return $(),()=>{H&&(clearTimeout(H),H=-1)}},[f,m,v,a]),A.useDebugValue(yt),o&&z(U)&&a){if(!Ms&&Er)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,N.current=n,y.current=!1;const H=D[a];if(!z(H)){const $=Eu(H);Vs($)}if(z(nt)){const $=Mn(jo);z(yt)||($.status="fulfilled",$.value=!0),Vs($)}else throw nt}return{mutate:Eu,get data(){return tt.data=!0,yt},get error(){return tt.error=!0,nt},get isValidating(){return tt.isValidating=!0,xf},get isLoading(){return tt.isLoading=!0,Cf}}},D1=O1(F1),Gt=(e,t=!0)=>!t&&!window._TOSHUBWIDGET_SETTINGS?e:window._TOSHUBWIDGET_SETTINGS?window._TOSHUBWIDGET_SETTINGS[e]:null,cf={start_place:"start_place",end_place:"end_place",categories:"category",type_of_tour:"strengths"},M1="https://hub.tourofsicily.com/wp-json/hub-api/v1",I1=(e,t)=>fetch(e,{method:"GET",headers:{"X-Toshub":`${t}`}}).then(n=>n.json()),ff=e=>Object.values(e).every(t=>t==="0"),A1=(e,t)=>{const n=Object.keys(e).reduce((r,l)=>(t.includes(l)||(r[l]=e[l]),r),{});return Object.values(n).every(r=>r==="0")},V1=(e,t)=>{if(ff(t))return[];const n=Object.keys(t).filter(r=>t[r]!=="0");return e.filter(r=>n.every(l=>r[cf[l]].includes(parseInt(t[l]))))},U1=e=>e.sort((t,n)=>t.name.localeCompare(n.name)),H1=(e,t,n)=>{const r=new Set(t.map(l=>l[cf[e]]).flat());return U1(n.filter(l=>r.has(l.id)))};var df={exports:{}},$1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",B1=$1,W1=B1;function pf(){}function hf(){}hf.resetWarningCache=pf;var Q1=function(){function e(r,l,o,i,u,s){if(s!==W1){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:hf,resetWarningCache:pf};return n.PropTypes=n,n};df.exports=Q1();var G1=df.exports;const ut=Us(G1);function mf({options:e,taxon:t,setSelectedFilters:n,selectedFilters:r,products:l,label:o}){const i=f=>{n(m=>({...m,[t]:f.target.value}))},[u,s]=A.useState([]);return A.useEffect(()=>{if(l.length>0){const f=H1(t,l,e);s(f)}},[l,e,t,r]),p.jsxs("select",{id:t,name:t,onChange:i,className:"bg-white mt-2 block w-full rounded-15 font-bold text-tosBlue border-0 p-4 shadow focus:ring-2 focus:ring-tosBlue text-18 sm:leading-6 appearance-none tk-filson-soft",children:[p.jsx("option",{value:"0",children:o}),u.map(f=>p.jsx("option",{value:f.id,children:f.name==="Transfer-Tour"?"Transfer with Stops":f.name},f.id))]})}mf.propTypes={options:ut.array,taxon:ut.string,setSelectedFilters:ut.func,selectedFilters:ut.object,products:ut.array,label:ut.string};function vf(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(n=vf(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function yf(){for(var e,t,n=0,r="",l=arguments.length;n<l;n++)(e=arguments[n])&&(t=vf(e))&&(r&&(r+=" "),r+=t);return r}function Z1({product:e}){return p.jsxs("div",{children:[p.jsx("h5",{className:"mb-2 text-base md:text-lg font-bold tracking-tight leading-6 text-tosBlue line-clamp-2 min-h-12",dangerouslySetInnerHTML:{__html:e.post_title}}),p.jsx("p",{className:"mb-2 text-tosLightGrey text-xs",children:e.places.join(", ")}),p.jsx("p",{className:"font-normal text-tosBlue text-sm line-clamp-3 hidden md:webkit-box min-h-16",children:e.post_excerpt}),p.jsx("div",{className:"md:mt-8 mb-2 md:mb-4",children:p.jsxs("div",{className:"grid grid-cols-2 text-sm items-center",children:[p.jsx("div",{className:"text-tosLightGrey ",children:"Departure"}),p.jsxs("div",{className:"flex items-center gap-4",children:[p.jsx("span",{children:p.jsx("svg",{width:"15",height:"21",viewBox:"0 0 15 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{d:"M7.5 9.57312C6.83696 9.57312 6.20107 9.30973 5.73223 8.84089C5.26339 8.37205 5 7.73616 5 7.07312C5 6.41008 5.26339 5.77419 5.73223 5.30535C6.20107 4.83651 6.83696 4.57312 7.5 4.57312C8.16304 4.57312 8.79893 4.83651 9.26777 5.30535C9.73661 5.77419 10 6.41008 10 7.07312C10 7.40142 9.93534 7.72651 9.8097 8.02983C9.68406 8.33314 9.49991 8.60874 9.26777 8.84089C9.03562 9.07303 8.76002 9.25718 8.45671 9.38282C8.15339 9.50846 7.8283 9.57312 7.5 9.57312ZM7.5 0.0731201C5.64348 0.0731201 3.86301 0.810618 2.55025 2.12337C1.2375 3.43613 0.5 5.2166 0.5 7.07312C0.5 12.3231 7.5 20.0731 7.5 20.0731C7.5 20.0731 14.5 12.3231 14.5 7.07312C14.5 5.2166 13.7625 3.43613 12.4497 2.12337C11.137 0.810618 9.35652 0.0731201 7.5 0.0731201Z",fill:"#D2D3D3"})})}),p.jsx("span",{className:"font-semibold text-tosBlue text-base",children:e.start_place_text})]})]})})]})}function K1({product:e,link:t}){return p.jsxs("div",{className:"",children:[p.jsxs("h5",{className:"mb-2 text-base md:text-lg font-bold tracking-tight leading-6 text-tosBlue line-clamp-2 md:min-h-12 flex items-center md:justify-between gap-4 md:gap-0",children:[p.jsx("span",{children:e.start_place_text}),p.jsx("span",{children:p.jsx("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{d:"M20.8644 13.4165C21.0519 13.229 21.1572 12.9746 21.1572 12.7095C21.1572 12.4443 21.0519 12.19 20.8644 12.0025L15.2074 6.34548C15.1152 6.24997 15.0048 6.17379 14.8828 6.12138C14.7608 6.06897 14.6296 6.04138 14.4968 6.04023C14.3641 6.03908 14.2324 6.06438 14.1095 6.11466C13.9866 6.16494 13.8749 6.23919 13.781 6.33308C13.6872 6.42698 13.6129 6.53863 13.5626 6.66153C13.5123 6.78442 13.487 6.9161 13.4882 7.04888C13.4893 7.18166 13.5169 7.31288 13.5693 7.43488C13.6217 7.55689 13.6979 7.66723 13.7934 7.75948L17.7434 11.7095L4.50044 11.7095C4.23522 11.7095 3.98087 11.8148 3.79333 12.0024C3.6058 12.1899 3.50044 12.4443 3.50044 12.7095C3.50044 12.9747 3.6058 13.229 3.79333 13.4166C3.98087 13.6041 4.23522 13.7095 4.50044 13.7095L17.7434 13.7095L13.7934 17.6595C13.6113 17.8481 13.5105 18.1007 13.5128 18.3629C13.515 18.6251 13.6202 18.8759 13.8056 19.0613C13.991 19.2467 14.2418 19.3519 14.504 19.3542C14.7662 19.3564 15.0188 19.2556 15.2074 19.0735L20.8644 13.4165Z",fill:"#9EB1EF"})})}),p.jsx("span",{children:e.end_place_text})]}),e.label==="Transfer-Tour"?p.jsxs("p",{className:"mb-6 text-tosLightGrey text-sm md:text-xs grid grid-cols-6 items-center",children:[p.jsx("span",{className:"text-clamp-1 col-span-4",children:e.places.join(", ")}),p.jsx("span",{className:"col-span-2 text-right",children:p.jsx("a",{href:t,className:"text-tosLightGrey underline",children:"See all cities"})})]}):p.jsx("p",{className:"mb-6 text-tosLightGrey text-sm",children:e.places.join(", ")})]})}const Y1=e=>p.jsxs("svg",{width:369,height:35,viewBox:"0 0 369 35",className:"w-full",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[p.jsxs("g",{clipPath:"url(#clip0_4076_7176)",children:[p.jsx("path",{d:"M40.8584 28.7046C40.8584 31.7955 43.2843 34.2424 46.3487 34.2424C49.4131 34.2424 51.839 31.7955 51.839 28.7046C51.839 25.6137 49.4131 23.1667 46.3487 23.1667C43.2843 23.1667 40.8584 25.6137 40.8584 28.7046ZM43.9228 28.7046C43.9228 27.4167 44.9442 26.2576 46.3487 26.2576C47.7532 26.2576 48.7747 27.2879 48.7747 28.7046C48.7747 30.1212 47.7532 31.1515 46.3487 31.1515C44.9442 31.1515 43.9228 30.1212 43.9228 28.7046Z",fill:"url(#paint0_linear_4076_7176)"}),p.jsx("path",{d:"M8.29883 28.7046C8.29883 31.7955 10.7248 34.2424 13.7891 34.2424C16.8535 34.2424 19.2795 31.7955 19.2795 28.7046C19.2795 25.6137 16.8535 23.1667 13.7891 23.1667C10.7248 23.1667 8.29883 25.6137 8.29883 28.7046ZM11.4909 28.7046C11.4909 27.4167 12.5123 26.2576 13.9168 26.2576C15.3213 26.2576 16.3428 27.2879 16.3428 28.7046C16.3428 30.1212 15.3213 31.1515 13.9168 31.1515C12.5123 31.1515 11.4909 30.1212 11.4909 28.7046Z",fill:"url(#paint1_linear_4076_7176)"}),p.jsx("path",{d:"M0 3.84848V25.3561C0 27.1591 1.53218 28.7045 3.31972 28.7045H7.40554C7.40554 25.0985 10.3422 22.1364 13.9173 22.1364C17.4924 22.1364 20.4291 25.0985 20.4291 28.7045H39.8367C39.8367 25.0985 42.7734 22.1364 46.3484 22.1364C49.9235 22.1364 52.8602 25.0985 52.8602 28.7045H56.1799C57.9675 28.7045 59.4997 27.1591 59.4997 25.3561V17.6288C59.4997 15.8258 59.2443 12.8636 58.8612 11.0606L56.8183 3.7197C56.4353 1.91667 54.6478 0.5 52.8602 0.5H3.31972C1.53218 0.5 0 2.04545 0 3.84848ZM45.8377 2.56061H52.3495C53.754 2.56061 55.0308 3.7197 55.2862 5.00758L57.0737 12.2197C57.3291 13.3788 56.6907 14.2803 55.6692 14.5379L54.137 10.9318C53.8817 10.4167 53.3709 10.1591 52.8602 10.4167C52.3495 10.6742 52.0941 11.1894 52.3495 11.7045L53.6263 14.6667H45.9654V2.56061H45.8377ZM31.1543 2.56061H43.9225V14.6667H31.1543V2.56061ZM16.3433 2.56061H29.1114V14.6667H16.3433V2.56061ZM2.04291 5.00758C2.04291 3.59091 3.19204 2.56061 4.46886 2.56061H14.428V14.6667H4.46886C3.06436 14.6667 2.04291 13.5076 2.04291 12.2197V5.00758Z",fill:"url(#paint2_linear_4076_7176)"}),p.jsx("path",{d:"M358.913 0.5C353.295 0.5 348.826 5.13636 348.826 10.6742C348.826 16.2121 358.913 31.2803 358.913 31.2803C358.913 31.2803 369 16.3409 369 10.6742C369 5.00758 364.403 0.5 358.913 0.5ZM358.913 15.053C356.232 15.053 354.189 12.8636 354.189 10.2879C354.189 7.71212 356.359 5.52273 358.913 5.52273C361.467 5.52273 363.637 7.71212 363.637 10.2879C363.637 12.8636 361.467 15.053 358.913 15.053Z",fill:"url(#paint3_linear_4076_7176)"}),p.jsx("path",{d:"M84.1427 25.3561H79.6738V27.2879H84.1427V25.3561Z",fill:"url(#paint4_linear_4076_7176)"}),p.jsx("path",{d:"M326.227 27.2879H317.545V25.3561H326.227V27.2879ZM308.99 27.2879H300.308V25.3561H308.99V27.2879ZM291.626 27.2879H282.943V25.3561H291.626V27.2879ZM274.389 27.2879H265.706V25.3561H274.389V27.2879ZM257.024 27.2879H248.341V25.3561H257.024V27.2879ZM239.787 27.2879H231.104V25.3561H239.787V27.2879ZM222.55 27.2879H213.867V25.3561H222.55V27.2879ZM205.185 27.2879H196.503V25.3561H205.185V27.2879ZM187.948 27.2879H179.266V25.3561H187.948V27.2879ZM170.583 27.2879H161.901V25.3561H170.583V27.2879ZM153.346 27.2879H144.664V25.3561H153.346V27.2879ZM136.109 27.2879H127.427V25.3561H136.109V27.2879ZM118.745 27.2879H110.062V25.3561H118.745V27.2879ZM101.508 27.2879H92.8252V25.3561H101.508V27.2879Z",fill:"url(#paint5_linear_4076_7176)"}),p.jsx("path",{d:"M339.378 25.3561H334.909V27.2879H339.378V25.3561Z",fill:"url(#paint6_linear_4076_7176)"})]}),p.jsxs("defs",{children:[p.jsxs("linearGradient",{id:"paint0_linear_4076_7176",x1:46.3487,y1:32.1818,x2:46.3487,y2:23.1667,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"paint1_linear_4076_7176",x1:13.9168,y1:32.1818,x2:13.9168,y2:23.1667,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"paint2_linear_4076_7176",x1:29.7498,y1:23.2955,x2:29.7498,y2:.5,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"paint3_linear_4076_7176",x1:358.913,y1:.5,x2:358.913,y2:70.2967,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0CB20C"}),p.jsx("stop",{offset:1,stopColor:"#F2E30F"})]}),p.jsxs("linearGradient",{id:"paint4_linear_4076_7176",x1:81.9721,y1:25.3561,x2:81.9721,y2:27.2879,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"paint5_linear_4076_7176",x1:209.526,y1:.500017,x2:209.526,y2:.500017,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"paint6_linear_4076_7176",x1:337.08,y1:.500017,x2:337.08,y2:.500017,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsx("clipPath",{id:"clip0_4076_7176",children:p.jsx("rect",{width:369,height:34,fill:"white",transform:"translate(0 0.5)"})})]})]}),X1=e=>p.jsxs("svg",{width:353,height:77,viewBox:"0 0 353 77",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[p.jsx("path",{d:"M39.087 49.256a5.215 5.215 0 0 0 5.252 5.255 5.215 5.215 0 0 0 5.252-5.255A5.215 5.215 0 0 0 44.34 44a5.215 5.215 0 0 0-5.252 5.256m2.931 0c0-1.223.978-2.323 2.321-2.323s2.32.978 2.32 2.323-.976 2.322-2.32 2.322-2.32-.978-2.32-2.322",fill:"url(#a)"}),p.jsx("path",{d:"M7.94 49.256a5.215 5.215 0 0 0 5.252 5.255 5.215 5.215 0 0 0 5.252-5.255A5.215 5.215 0 0 0 13.192 44a5.215 5.215 0 0 0-5.253 5.256m3.053 0c0-1.223.977-2.323 2.32-2.323 1.344 0 2.322.978 2.322 2.323s-.978 2.322-2.321 2.322-2.32-.978-2.32-2.322",fill:"url(#b)"}),p.jsx("path",{d:"M0 25.667v20.41c0 1.712 1.466 3.179 3.176 3.179h3.908c0-3.423 2.81-6.234 6.23-6.234s6.23 2.811 6.23 6.234h18.565c0-3.423 2.81-6.234 6.23-6.234s6.23 2.811 6.23 6.234h3.175c1.71 0 3.176-1.467 3.176-3.178v-7.334c0-1.71-.245-4.522-.611-6.233l-1.954-6.967c-.367-1.71-2.077-3.055-3.787-3.055H3.176C1.466 22.489 0 23.956 0 25.667m43.85-1.345h6.23c1.343 0 2.565 1.1 2.809 2.322l1.71 6.845c.244 1.1-.366 1.955-1.344 2.2l-1.465-3.422c-.245-.49-.733-.734-1.222-.49-.488.245-.733.734-.488 1.223l1.221 2.811h-7.329V24.322zm-14.047 0h12.215v11.49H29.803zm-14.168 0h12.214v11.49H15.635zm-13.68 2.445a2.32 2.32 0 0 1 2.32-2.323h9.527v11.49H4.275c-1.344 0-2.32-1.1-2.32-2.323z",fill:"url(#c)"}),p.jsx("path",{d:"M137.047 23.833c-5.374 0-9.65 4.4-9.65 9.656 0 5.255 9.65 19.555 9.65 19.555s9.649-14.177 9.649-19.555-4.397-9.656-9.649-9.656m0 13.934c-2.565 0-4.519-2.078-4.519-4.523s2.076-4.522 4.519-4.522 4.519 2.078 4.519 4.522-2.076 4.523-4.519 4.523",fill:"url(#d)"}),p.jsx("path",{d:"M259.315 7.822c-5.375 0-9.65 4.4-9.65 9.656 0 5.255 9.65 19.555 9.65 19.555s9.649-14.177 9.649-19.555-4.397-9.656-9.649-9.656m0 13.934c-2.566 0-4.52-2.078-4.52-4.523s2.077-4.522 4.52-4.522 4.519 2.078 4.519 4.522-2.077 4.523-4.519 4.523",fill:"url(#e)"}),p.jsx("path",{d:"M343.351 23.833c-5.375 0-9.65 4.4-9.65 9.656 0 5.255 9.65 19.555 9.65 19.555S353 38.867 353 33.49s-4.397-9.656-9.649-9.656m0 13.934c-2.565 0-4.52-2.078-4.52-4.523s2.077-4.522 4.52-4.522 4.519 2.078 4.519 4.522-2.076 4.523-4.519 4.523",fill:"url(#f)"}),p.jsx("path",{d:"M72.799 49.867c-2.32-1.467-3.542-2.445-3.542-2.445l.733-.978s1.221.978 3.42 2.323l-.611.977z",fill:"url(#g)"}),p.jsx("path",{d:"M137.048 66.367c-2.443 0-4.886 0-7.207-.123v-1.222c2.443 0 4.886.122 7.207.122h1.221v1.223zm9.771-.367v-1.222c2.687-.245 5.497-.49 8.306-.856v1.222c-2.687.367-5.496.612-8.306.856m-25.65-.489c-2.81-.367-5.741-.733-8.428-1.222l.244-1.222c2.687.489 5.619.855 8.428 1.222v1.222zm42.506-1.711-.244-1.222c2.687-.49 5.497-1.1 8.306-1.711l.244 1.222c-2.809.611-5.619 1.222-8.306 1.711m-59.24-1.222c-2.81-.611-5.497-1.467-8.184-2.322l.367-1.223a90 90 0 0 0 8.183 2.2l-.244 1.223zm75.974-2.322-.244-1.223c2.687-.733 5.496-1.466 8.184-2.2l.366 1.223c-2.687.733-5.496 1.466-8.184 2.2zm-92.342-2.812c-2.687-1.1-5.374-2.2-7.817-3.422l.489-1.1c2.442 1.222 5.007 2.322 7.695 3.422l-.489 1.1zm233.054-.733c-2.321-.855-5.008-1.955-7.94-2.933l.367-1.1c2.931 1.1 5.618 2.078 7.939 2.933l-.489 1.1zm-124.344-.978-.367-1.222 1.222-.367c2.32-.61 4.641-1.344 7.084-1.955l.367 1.222c-2.321.611-4.642 1.345-7.085 1.956zm16.367-4.4-.244-1.222c2.931-.733 5.619-1.467 8.306-2.078l.244 1.223c-2.565.61-5.252 1.222-8.184 2.077zm91.976-.244c-2.688-.856-5.497-1.589-8.184-2.2l.244-1.222c2.687.61 5.497 1.466 8.184 2.2l-.367 1.222zm-75.364-3.545-.244-1.222c2.931-.61 5.74-.978 8.428-1.466v1.222a117 117 0 0 0-8.184 1.466m58.874-.488c-2.687-.49-5.497-.978-8.428-1.223v-1.222c2.931.367 5.863.733 8.55 1.345l-.244 1.222zM246.49 45.1v-1.222c2.687-.245 5.618-.49 8.428-.49v1.223c-2.687 0-5.619.245-8.428.489m25.406-.122a97 97 0 0 0-8.428-.367V43.39c2.931 0 5.741.244 8.55.367v1.222z",fill:"url(#h)"}),p.jsx("path",{d:"M333.579 60.378c-1.222 0-2.565-.245-4.397-.734l.366-1.222c1.71.49 2.932.734 4.031.734z",fill:"url(#i)"}),p.jsxs("defs",{children:[p.jsxs("linearGradient",{id:"a",x1:44.339,y1:52.433,x2:44.339,y2:43.878,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"b",x1:13.314,y1:52.433,x2:13.314,y2:43.878,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"c",x1:28.46,y1:44,x2:28.46,y2:22.489,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"d",x1:137.047,y1:47.422,x2:137.047,y2:23.833,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"e",x1:259.315,y1:31.411,x2:259.315,y2:7.822,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"f",x1:343.351,y1:23.833,x2:343.351,y2:90.072,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0CB20C"}),p.jsx("stop",{offset:1,stopColor:"#F2E30F"})]}),p.jsxs("linearGradient",{id:"g",x1:71.333,y1:43.267,x2:71.333,y2:66.367,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"h",x1:200.93,y1:43.389,x2:200.93,y2:66.367,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]}),p.jsxs("linearGradient",{id:"i",x1:331.38,y1:43.267,x2:331.38,y2:66.367,gradientUnits:"userSpaceOnUse",children:[p.jsx("stop",{stopColor:"#0A1F64"}),p.jsx("stop",{offset:1,stopColor:"#86A3FF"})]})]})]});function J1({product:e}){return p.jsxs(p.Fragment,{children:[e.label==="Straight Transfer"&&p.jsx("div",{className:"px-5 bg-white h-full w-full object-cover md:rounded-t-30 flex items-center md:border border-tosBlue justify-center",children:p.jsx(Y1,{})}),e.label==="Transfer-Tour"&&p.jsx("div",{className:"px-5 bg-white h-full w-full object-cover md:rounded-t-30 flex items-center md:border border-tosBlue justify-center",children:p.jsx(X1,{})})]})}function q1(e){const t=["Cooking Class","Day tours","Boat and Sailing Experience"];return e==="Transfer-Tour"?"Transfer with Stops":t.includes(e)?"Private Day Tour":e}function gf({product:e}){let t="https://product.tourofsicily.com/";const n="p/"+e.ID,r="transfer/"+e.ID,l=e.label;l==="Straight Transfer"?t+=r:t+=n;const o={"Straight Transfer":"linear-gradient(180deg, #df9c17 50.74%, #f5d77c 100%)","Day tours":"linear-gradient(180deg, #0A1F64 -126.74%, #7A9AFF 100%)","Cooking Class":"linear-gradient(180deg, #0A1F64 -126.74%, #7A9AFF 100%)","Boat and Sailing Experience":"linear-gradient(180deg, #0A1F64 -126.74%, #7A9AFF 100%)","Transfer-Tour":"linear-gradient(180deg, #D1B904 22.58%, #F2E30F 117.74%)"},i=e.cover,u=i?e.cover.replace("https://tourofsicily.s3.eu-south-1.amazonaws.com/","https://tourofsicily.imgix.net/"):null;return p.jsxs("a",{href:t,target:"_blank",className:"w-full bg-white border border-gray-200 shadow hover:bg-gray-100 relative product-card md:mt-28 grid grid-cols-3 overflow-hidden md:overflow-visible rounded-15 md:rounded-30 content-center",children:[p.jsx("div",{className:"md:h-210 overflow-hidden md:px-1 md:-mt-28 order-2 col-span-1 md:col-span-3",children:i?p.jsx("img",{src:`${u}?h=300`,className:"h-full w-full object-cover md:rounded-t-30",alt:e.post_title}):p.jsx(J1,{product:e})}),p.jsx("p",{style:{background:o[l]||"#333"},className:yf("p-2 text-xs font-semibold leading-none tracking-tighter text-white uppercase text-center order-1 col-span-3 md:order-2"),children:q1(l)}),p.jsxs("div",{className:"p-4 md:py-4 md:px-6 order-3 col-span-2 md:col-span-3",children:[l==="Straight Transfer"||l==="Transfer-Tour"?p.jsx(K1,{product:e,link:t}):p.jsx(Z1,{product:e}),p.jsxs("div",{className:"flex md:grid grid-cols-2 items-center justify-between md:justify-start",children:[p.jsx("div",{}),p.jsx("div",{className:"flex justify-end",children:p.jsx("a",{href:t,target:"_blank",style:{"padding-top":"10px","padding-bottom":"10px"},className:"block mt-2 md:mt-0 md:px-30 text-base md:text-sm font-semibold md:font-bold text-tosBlue md:text-white md:bg-tosOrange rounded-15 md:hover:bg-tosOrange/90",children:"See more"})})]})]})]})}gf.propTypes={product:ut.object};function wf({products:e}){return p.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4 md:gap-6 mt-8 justify-items-center",children:e.map(t=>p.jsx(gf,{product:t},t.id))})}wf.propTypes={products:ut.array};function Sf({productTaxons:e}){const t=[{taxon:"start_place",label:"Starting from"},{taxon:"end_place",label:"Ending location"},{taxon:"categories",label:"Category"},{taxon:"type_of_tour",label:"Type of tour"}],n=Gt("defaultFilters")||{start_place:"0",end_place:"0",categories:"0",type_of_tour:"0"},r=Object.keys(n).filter(m=>n[m]!=="0"),[l,o]=A.useState(n),i=(m,v)=>{o(h=>({...h,[m]:"0"})),v.closest("div").querySelector("select").value="0"},u=ff(l)?e.products:V1(e.products,l),[s,f]=A.useState(!1);return p.jsxs("div",{className:"px-2 md:px-0",children:[p.jsxs("button",{className:"border border-tosBlue text-tosBlue rounded-15 p-3 w-full flex items-center gap-4 justify-center md:hidden",onClick:()=>f(!s),children:[p.jsx("span",{children:p.jsx("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{d:"M7 11.29H17V13.29H7V11.29ZM4 7.29004H20V9.29004H4V7.29004ZM10 15.29H14V17.29H10V15.29Z",fill:"#0A1F64"})})}),p.jsx("span",{children:s?"Close filters":"Filters"})]}),p.jsx("div",{className:yf("grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-2 lg:gap-8 rounded-lg",s?"grid":"hidden md:grid"),style:{backgroundColor:Gt("primary",!0)??"#f0f0f0"},children:t.map(({taxon:m,label:v})=>r.includes(m)?null:p.jsxs("div",{className:"relative",children:[p.jsxs("label",{htmlFor:m,className:"flex justify-between text-sm font-medium leading-6 text-left min-h-8absolute",children:[p.jsx("span",{className:"hidden",style:{color:Gt("text",!0)||"#333"},children:v}),l[m]!=="0"&&p.jsx("button",{type:"button",title:"Reset",className:"hover:bg-gray-100 p-1 rounded-xl absolute right-2 top-5",onClick:h=>i(m,h.target),children:p.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"size-6",children:p.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"})})})]}),p.jsx(mf,{taxon:m,label:v,setSelectedFilters:o,selectedFilters:l,options:e[m],products:u}),l[m]==="0"&&p.jsx("div",{className:"pointer-events-none absolute top-7 right-1 flex items-center pr-3",children:p.jsx("svg",{width:"16",height:"11",viewBox:"0 0 16 11",className:"h-4 w-4 text-tosLightenGrey",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:p.jsx("path",{d:"M7.99993 7.18668L14.2222 0.82312L16 2.64127L7.99993 10.8231L0 2.64127L1.77776 0.82312L7.99993 7.18668Z",fill:"#B1B2B2"})})}),l[m]!=="0"&&p.jsx("p",{className:"text-xs p-2",style:{color:Gt("text",!0)||"#666"},children:"if you like to change selection, please use the button reset before update your choice"})]},m))}),p.jsx("div",{children:p.jsx(wf,{products:A1(l,r)?[]:u})})]})}Sf.propTypes={productTaxons:ut.object.isRequired};function b1(){return p.jsxs("div",{role:"status",children:[p.jsxs("svg",{"aria-hidden":"true",className:"w-8 h-8 text-gray-200 animate-spin fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),p.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),p.jsx("span",{className:"sr-only",children:"Loading..."})]})}function e0(){const{data:e,error:t,isLoading:n}=D1(M1+"/productTaxons",o=>I1(o,Gt("apikey"))),[r,l]=A.useState({products:[],start_place:[],end_place:[],categories:[],type_of_tour:[]});return A.useEffect(()=>{e!=null&&e.success&&l(e.data)},[e]),p.jsxs("div",{className:"relative",id:"toshub-widget-container",children:[(n||t||!e.success)&&p.jsx("div",{className:"absolute z-10 bg-white/70 w-full h-full flex",children:p.jsxs("div",{className:"m-auto",children:[n&&!t&&p.jsx(b1,{}),t||e&&!(e!=null&&e.success)&&p.jsx("div",{className:"py-1 px-2 bg-zinc-900 text-white rounded",children:"An error occurred during loading products widget, please try again in few seconds."})]})}),!t&&!n&&e&&p.jsx(Sf,{productTaxons:r})]})}const t0=()=>p.jsx(e0,{}),n0=e=>{const t=document.createElement("style");t.textContent+=`*,\:before,\:after{box-sizing\:border-box;border-width\:0;border-style\:solid;border-color\:#e5e7eb}\:before,\:after{--tw-content\: ""}html,\:host{line-height\:1.5;-webkit-text-size-adjust\:100%;-moz-tab-size\:4;-o-tab-size\:4;tab-size\:4;font-family\:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings\:normal;font-variation-settings\:normal;-webkit-tap-highlight-color\:transparent}body{margin\:0;line-height\:inherit}hr{height\:0;color\:inherit;border-top-width\:1px}abbr\:where([title]){-webkit-text-decoration\:underline dotted;text-decoration\:underline dotted}h1,h2,h3,h4,h5,h6{font-size\:inherit;font-weight\:inherit}a{color\:inherit;text-decoration\:inherit}b,strong{font-weight\:bolder}code,kbd,samp,pre{font-family\:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings\:normal;font-variation-settings\:normal;font-size\:1em}small{font-size\:80%}sub,sup{font-size\:75%;line-height\:0;position\:relative;vertical-align\:baseline}sub{bottom\:-.25em}sup{top\:-.5em}table{text-indent\:0;border-color\:inherit;border-collapse\:collapse}button,input,optgroup,select,textarea{font-family\:inherit;font-feature-settings\:inherit;font-variation-settings\:inherit;font-size\:100%;font-weight\:inherit;line-height\:inherit;letter-spacing\:inherit;color\:inherit;margin\:0;padding\:0}button,select{text-transform\:none}button,input\:where([type=button]),input\:where([type=reset]),input\:where([type=submit]){-webkit-appearance\:button;background-color\:transparent;background-image\:none}\:-moz-focusring{outline\:auto}\:-moz-ui-invalid{box-shadow\:none}progress{vertical-align\:baseline}\:\:-webkit-inner-spin-button,\:\:-webkit-outer-spin-button{height\:auto}[type=search]{-webkit-appearance\:textfield;outline-offset\:-2px}\:\:-webkit-search-decoration{-webkit-appearance\:none}\:\:-webkit-file-upload-button{-webkit-appearance\:button;font\:inherit}summary{display\:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin\:0}fieldset{margin\:0;padding\:0}legend{padding\:0}ol,ul,menu{list-style\:none;margin\:0;padding\:0}dialog{padding\:0}textarea{resize\:vertical}input\:\:-moz-placeholder,textarea\:\:-moz-placeholder{opacity\:1;color\:#9ca3af}input\:\:placeholder,textarea\:\:placeholder{opacity\:1;color\:#9ca3af}button,[role=button]{cursor\:pointer}\:disabled{cursor\:default}img,svg,video,canvas,audio,iframe,embed,object{display\:block;vertical-align\:middle}img,video{max-width\:100%;height\:auto}[hidden]{display\:none}*,\:before,\:after{--tw-border-spacing-x\: 0;--tw-border-spacing-y\: 0;--tw-translate-x\: 0;--tw-translate-y\: 0;--tw-rotate\: 0;--tw-skew-x\: 0;--tw-skew-y\: 0;--tw-scale-x\: 1;--tw-scale-y\: 1;--tw-pan-x\: ;--tw-pan-y\: ;--tw-pinch-zoom\: ;--tw-scroll-snap-strictness\: proximity;--tw-gradient-from-position\: ;--tw-gradient-via-position\: ;--tw-gradient-to-position\: ;--tw-ordinal\: ;--tw-slashed-zero\: ;--tw-numeric-figure\: ;--tw-numeric-spacing\: ;--tw-numeric-fraction\: ;--tw-ring-inset\: ;--tw-ring-offset-width\: 0px;--tw-ring-offset-color\: #fff;--tw-ring-color\: rgb(59 130 246 / .5);--tw-ring-offset-shadow\: 0 0 #0000;--tw-ring-shadow\: 0 0 #0000;--tw-shadow\: 0 0 #0000;--tw-shadow-colored\: 0 0 #0000;--tw-blur\: ;--tw-brightness\: ;--tw-contrast\: ;--tw-grayscale\: ;--tw-hue-rotate\: ;--tw-invert\: ;--tw-saturate\: ;--tw-sepia\: ;--tw-drop-shadow\: ;--tw-backdrop-blur\: ;--tw-backdrop-brightness\: ;--tw-backdrop-contrast\: ;--tw-backdrop-grayscale\: ;--tw-backdrop-hue-rotate\: ;--tw-backdrop-invert\: ;--tw-backdrop-opacity\: ;--tw-backdrop-saturate\: ;--tw-backdrop-sepia\: ;--tw-contain-size\: ;--tw-contain-layout\: ;--tw-contain-paint\: ;--tw-contain-style\: }\:\:backdrop{--tw-border-spacing-x\: 0;--tw-border-spacing-y\: 0;--tw-translate-x\: 0;--tw-translate-y\: 0;--tw-rotate\: 0;--tw-skew-x\: 0;--tw-skew-y\: 0;--tw-scale-x\: 1;--tw-scale-y\: 1;--tw-pan-x\: ;--tw-pan-y\: ;--tw-pinch-zoom\: ;--tw-scroll-snap-strictness\: proximity;--tw-gradient-from-position\: ;--tw-gradient-via-position\: ;--tw-gradient-to-position\: ;--tw-ordinal\: ;--tw-slashed-zero\: ;--tw-numeric-figure\: ;--tw-numeric-spacing\: ;--tw-numeric-fraction\: ;--tw-ring-inset\: ;--tw-ring-offset-width\: 0px;--tw-ring-offset-color\: #fff;--tw-ring-color\: rgb(59 130 246 / .5);--tw-ring-offset-shadow\: 0 0 #0000;--tw-ring-shadow\: 0 0 #0000;--tw-shadow\: 0 0 #0000;--tw-shadow-colored\: 0 0 #0000;--tw-blur\: ;--tw-brightness\: ;--tw-contrast\: ;--tw-grayscale\: ;--tw-hue-rotate\: ;--tw-invert\: ;--tw-saturate\: ;--tw-sepia\: ;--tw-drop-shadow\: ;--tw-backdrop-blur\: ;--tw-backdrop-brightness\: ;--tw-backdrop-contrast\: ;--tw-backdrop-grayscale\: ;--tw-backdrop-hue-rotate\: ;--tw-backdrop-invert\: ;--tw-backdrop-opacity\: ;--tw-backdrop-saturate\: ;--tw-backdrop-sepia\: ;--tw-contain-size\: ;--tw-contain-layout\: ;--tw-contain-paint\: ;--tw-contain-style\: }.sr-only{position\:absolute;width\:1px;height\:1px;padding\:0;margin\:-1px;overflow\:hidden;clip\:rect(0,0,0,0);white-space\:nowrap;border-width\:0}.pointer-events-none{pointer-events\:none}.absolute{position\:absolute}.relative{position\:relative}.right-1{right\:.25rem}.right-2{right\:.5rem}.top-5{top\:1.25rem}.top-7{top\:1.75rem}.z-10{z-index\:10}.order-1{order\:1}.order-2{order\:2}.order-3{order\:3}.col-span-1{grid-column\:span 1 / span 1}.col-span-2{grid-column\:span 2 / span 2}.col-span-3{grid-column\:span 3 / span 3}.col-span-4{grid-column\:span 4 / span 4}.m-auto{margin\:auto}.mb-2{margin-bottom\:.5rem}.mb-6{margin-bottom\:1.5rem}.mt-2{margin-top\:.5rem}.mt-8{margin-top\:2rem}.line-clamp-2{overflow\:hidden;display\:-webkit-box;-webkit-box-orient\:vertical;-webkit-line-clamp\:2}.line-clamp-3{overflow\:hidden;display\:-webkit-box;-webkit-box-orient\:vertical;-webkit-line-clamp\:3}.block{display\:block}.flex{display\:flex}.grid{display\:grid}.hidden{display\:none}.size-6{width\:1.5rem;height\:1.5rem}.h-4{height\:1rem}.h-8{height\:2rem}.h-full{height\:100%}.min-h-12{min-height\:3rem}.min-h-16{min-height\:4rem}.w-4{width\:1rem}.w-8{width\:2rem}.w-full{width\:100%}.transform{transform\:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform\:rotate(360deg)}}.animate-spin{animation\:spin 1s linear infinite}.appearance-none{-webkit-appearance\:none;-moz-appearance\:none;appearance\:none}.grid-cols-1{grid-template-columns\:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns\:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns\:repeat(3,minmax(0,1fr))}.grid-cols-6{grid-template-columns\:repeat(6,minmax(0,1fr))}.content-center{align-content\:center}.items-center{align-items\:center}.justify-end{justify-content\:flex-end}.justify-center{justify-content\:center}.justify-between{justify-content\:space-between}.justify-items-center{justify-items\:center}.gap-2{gap\:.5rem}.gap-4{gap\:1rem}.overflow-hidden{overflow\:hidden}.rounded{border-radius\:.25rem}.rounded-15{border-radius\:15px}.rounded-lg{border-radius\:.5rem}.rounded-xl{border-radius\:.75rem}.border{border-width\:1px}.border-0{border-width\:0px}.border-gray-200{--tw-border-opacity\: 1;border-color\:rgb(229 231 235 / var(--tw-border-opacity))}.border-tosBlue{--tw-border-opacity\: 1;border-color\:rgb(32 58 142 / var(--tw-border-opacity))}.bg-white{--tw-bg-opacity\: 1;background-color\:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/70{background-color\:#ffffffb3}.bg-zinc-900{--tw-bg-opacity\: 1;background-color\:rgb(24 24 27 / var(--tw-bg-opacity))}.fill-blue-600{fill\:#2563eb}.object-cover{-o-object-fit\:cover;object-fit\:cover}.p-1{padding\:.25rem}.p-2{padding\:.5rem}.p-3{padding\:.75rem}.p-4{padding\:1rem}.px-2{padding-left\:.5rem;padding-right\:.5rem}.px-5{padding-left\:1.25rem;padding-right\:1.25rem}.py-1{padding-top\:.25rem;padding-bottom\:.25rem}.pr-3{padding-right\:.75rem}.text-left{text-align\:left}.text-center{text-align\:center}.text-right{text-align\:right}.text-18{font-size\:18px}.text-base{font-size\:1rem;line-height\:1.5rem}.text-sm{font-size\:.875rem;line-height\:1.25rem}.text-xs{font-size\:.75rem;line-height\:1rem}.font-bold{font-weight\:700}.font-medium{font-weight\:500}.font-normal{font-weight\:400}.font-semibold{font-weight\:600}.uppercase{text-transform\:uppercase}.leading-6{line-height\:1.5rem}.leading-none{line-height\:1}.tracking-tight{letter-spacing\:-.025em}.tracking-tighter{letter-spacing\:-.05em}.text-gray-200{--tw-text-opacity\: 1;color\:rgb(229 231 235 / var(--tw-text-opacity))}.text-tosBlue{--tw-text-opacity\: 1;color\:rgb(32 58 142 / var(--tw-text-opacity))}.text-tosLightGrey{--tw-text-opacity\: 1;color\:rgb(210 211 211 / var(--tw-text-opacity))}.text-tosLightenGrey{--tw-text-opacity\: 1;color\:rgb(177 178 178 / var(--tw-text-opacity))}.text-white{--tw-text-opacity\: 1;color\:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line\:underline}.shadow{--tw-shadow\: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored\: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow\:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter\:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@font-face{font-family\:filson-soft;src\:url(https\://use.typekit.net/af/0ceada/00000000000000003b9ade5c/27/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n7&v=3) format("woff2"),url(https\://use.typekit.net/af/0ceada/00000000000000003b9ade5c/27/d?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n7&v=3) format("woff"),url(https\://use.typekit.net/af/0ceada/00000000000000003b9ade5c/27/a?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n7&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:700;font-stretch\:normal}@font-face{font-family\:filson-soft;src\:url(https\://use.typekit.net/af/5fe107/00000000000000003b9ade62/27/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n5&v=3) format("woff2"),url(https\://use.typekit.net/af/5fe107/00000000000000003b9ade62/27/d?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n5&v=3) format("woff"),url(https\://use.typekit.net/af/5fe107/00000000000000003b9ade62/27/a?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n5&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:500;font-stretch\:normal}@font-face{font-family\:filson-soft;src\:url(https\://use.typekit.net/af/277d7a/00000000000000003b9ade63/27/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3) format("woff2"),url(https\://use.typekit.net/af/277d7a/00000000000000003b9ade63/27/d?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3) format("woff"),url(https\://use.typekit.net/af/277d7a/00000000000000003b9ade63/27/a?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:400;font-stretch\:normal}@font-face{font-family\:figtree;src\:url(https\://use.typekit.net/af/6c3490/0000000000000000774f4c24/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n6&v=3) format("woff2"),url(https\://use.typekit.net/af/6c3490/0000000000000000774f4c24/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n6&v=3) format("woff"),url(https\://use.typekit.net/af/6c3490/0000000000000000774f4c24/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n6&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:600;font-stretch\:normal}@font-face{font-family\:figtree;src\:url(https\://use.typekit.net/af/eb2807/0000000000000000774f4c1e/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3) format("woff2"),url(https\://use.typekit.net/af/eb2807/0000000000000000774f4c1e/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3) format("woff"),url(https\://use.typekit.net/af/eb2807/0000000000000000774f4c1e/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:400;font-stretch\:normal}@font-face{font-family\:figtree;src\:url(https\://use.typekit.net/af/c57472/0000000000000000774f4c26/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3) format("woff2"),url(https\://use.typekit.net/af/c57472/0000000000000000774f4c26/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3) format("woff"),url(https\://use.typekit.net/af/c57472/0000000000000000774f4c26/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:700;font-stretch\:normal}@font-face{font-family\:figtree;src\:url(https\://use.typekit.net/af/938b3c/0000000000000000774f4c1c/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("woff2"),url(https\://use.typekit.net/af/938b3c/0000000000000000774f4c1c/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("woff"),url(https\://use.typekit.net/af/938b3c/0000000000000000774f4c1c/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3) format("opentype");font-display\:auto;font-style\:normal;font-weight\:500;font-stretch\:normal}.tk-filson-soft{font-family\:filson-soft,sans-serif}.tk-figtree{font-family\:figtree,sans-serif}#toshub-widget-container{font-family\:figtree,sans-serif;font-weight\:400}h1,h2,h3,h4,h5,h6{font-family\:filson-soft,sans-serif;font-weight\:700}.hover\\:bg-gray-100\:hover{--tw-bg-opacity\: 1;background-color\:rgb(243 244 246 / var(--tw-bg-opacity))}.focus\\:ring-2\: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);box-shadow\:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-tosBlue\:focus{--tw-ring-opacity\: 1;--tw-ring-color\: rgb(32 58 142 / var(--tw-ring-opacity))}@media (min-width\: 640px){.sm\\:leading-6{line-height\:1.5rem}}@media (min-width\: 768px){.md\\:order-2{order\:2}.md\\:col-span-3{grid-column\:span 3 / span 3}.md\\:-mt-28{margin-top\:-7rem}.md\\:mb-4{margin-bottom\:1rem}.md\\:mt-0{margin-top\:0}.md\\:mt-28{margin-top\:7rem}.md\\:mt-8{margin-top\:2rem}.md\\:grid{display\:grid}.md\\:hidden{display\:none}.md\\:h-210{height\:210px}.md\\:min-h-12{min-height\:3rem}.md\\:grid-cols-2{grid-template-columns\:repeat(2,minmax(0,1fr))}.md\\:justify-start{justify-content\:flex-start}.md\\:justify-between{justify-content\:space-between}.md\\:gap-0{gap\:0px}.md\\:gap-6{gap\:1.5rem}.md\\:overflow-visible{overflow\:visible}.md\\:rounded-30{border-radius\:30px}.md\\:rounded-t-30{border-radius\:30px 30px 0 0}.md\\:border{border-width\:1px}.md\\:bg-tosOrange{--tw-bg-opacity\: 1;background-color\:rgb(242 183 5 / var(--tw-bg-opacity))}.md\\:px-0{padding-left\:0;padding-right\:0}.md\\:px-1{padding-left\:.25rem;padding-right\:.25rem}.md\\:px-30{padding-left\:30px;padding-right\:30px}.md\\:px-6{padding-left\:1.5rem;padding-right\:1.5rem}.md\\:py-4{padding-top\:1rem;padding-bottom\:1rem}.md\\:text-lg{font-size\:1.125rem;line-height\:1.75rem}.md\\:text-sm{font-size\:.875rem;line-height\:1.25rem}.md\\:text-xs{font-size\:.75rem;line-height\:1rem}.md\\:font-bold{font-weight\:700}.md\\:text-white{--tw-text-opacity\: 1;color\:rgb(255 255 255 / var(--tw-text-opacity))}.md\\:webkit-box{display\:-webkit-box}.md\\:hover\\:bg-tosOrange\/90\:hover{background-color\:#f2b705e6}}@media (min-width\: 1024px){.lg\\:gap-8{gap\:2rem}}@media (min-width\: 1280px){.xl\\:grid-cols-3{grid-template-columns\:repeat(3,minmax(0,1fr))}.xl\\:grid-cols-4{grid-template-columns\:repeat(4,minmax(0,1fr))}}
|
|
49
49
|
`,Gt("isShadow")??!0?e.appendChild(t):document.head.appendChild(t)},r0=e=>{const n=Gt("isShadow")??!0?e.attachShadow({mode:"open"}):e;n0(n),bc(n).render(t0())},l0=e=>{const t=document.querySelector("toshub-widget");t.id="toshub-widget",r0(t)};typeof window<"u"&&l0();
|