1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7411],{3998:(e,r,t)=>{"use strict";t.d(r,{$:()=>c,r:()=>i});var o=t(95155),l=t(12115),n=t(32467),a=t(83101),s=t(77298);let i=(0,a.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"text-primary-foreground text-white shadow relative z-10 transition-colors before:absolute before:-z-10 before:left-0 before:top-0 before:h-full before:w-full before:origin-top-left before:scale-x-0 before:bg-color_hover before:transition-transform before:duration-500 before:content-[''] before:hover:scale-x-100 overflow-hidden bg-color_button before:rounded-full rounded-full",reverse:"text-primary-foreground text-white shadow relative z-10 transition-colors before:absolute before:-z-10 before:left-0 before:top-0 before:h-full before:w-full before:origin-top-left before:scale-x-0 before:bg-color_button before:transition-transform before:duration-500 before:content-[''] before:hover:scale-x-100 overflow-hidden bg-color_hover before:rounded-full rounded-full",second:"group text-primary-foreground text-white shadow relative z-10 transition-colors before:absolute before:-z-10 before:left-0 before:top-0 before:h-full before:w-full before:origin-top-left before:scale-x-0 before:bg-white before:transition-transform before:duration-500 before:content-[''] before:hover:scale-x-100 overflow-hidden bg-transparent before:rounded-full rounded-full border border-color_hover",third:"group text-primary-foreground text-white shadow relative z-10 transition-colors before:absolute before:-z-10 before:left-0 before:top-0 before:h-full before:w-full before:origin-top-left before:scale-x-0 before:bg-color_button before:transition-transform before:duration-500 before:content-[''] before:hover:scale-x-100 overflow-hidden bg-transparent before:rounded-full rounded-full border border-color_gold",icon:"shadow-sm bg-white/40 hover:bg-color_hover rounded-full text-white",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",lux:"text-primary-foreground text-white shadow relative transition-colors before:absolute before:left-0 before:top-0 before:h-full before:w-full before:origin-top-left before:scale-x-0 before:bg-color_button before:transition-transform before:duration-500 before:content-[''] before:hover:scale-x-100 overflow-hidden bg-color_gold before:rounded-full rounded-full",luxSecond:"group text-primary-foreground text-white shadow relative transition-colors before:absolute before:left-0 before:top-0 before:h-full before:w-full before:origin-top-left before:scale-x-0 before:bg-white before:transition-transform before:duration-500 before:content-[''] before:hover:scale-x-100 overflow-hidden bg-transparent before:rounded-full rounded-full border border-color_gold",luxIcon:"shadow-sm bg-white/40 hover:bg-white/60 rounded-full text-white border border-color_gold",luxury:"relative z-10 !text-lg !h-[54px] text-white bg-transparent rounded-none text-base !px-7 !py-3 border border-solid border-color_gold uppercase before:absolute before:top-0 before:bottom-0 before:left-0 before:right-0 before:bg-white before:transition-all before:duration-500 before:content-[''] before:-z-10 after:content-[''] after:absolute after:left-0 after:top-[calc(100%+8px)] after:h-[1px] after:w-[25%] after:rounded-full after:bg-color_gold hover:text-color_gold before:scale-x-0 hover:before:scale-x-100",luxuryContain:"relative z-10 !text-lg !h-[54px] text-white bg-color_gold rounded-none text-base !px-7 !py-3 border border-solid border-color_gold uppercase before:absolute before:top-0 before:bottom-0 before:left-0 before:right-0 before:bg-white before:transition-all before:duration-500 before:content-[''] before:-z-10 after:content-[''] after:absolute after:left-0 after:top-[calc(100%+8px)] after:h-[1px] after:w-[25%] after:rounded-full after:bg-color_gold hover:text-color_gold before:scale-x-0 hover:before:scale-x-100",luxuryIcon:"relative !w-20 !h-20 !text-lg
1!aspect-square text-white bg-color_gold rounded-none before:content-[''] before:absolute before:inset-0 before:animate-[ripple_1.6s_ease-out_infinite] before:border before:border-solod before:border-color_gold"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"size-[50px]",clear:""}},defaultVariants:{variant:"default",size:"default"}}),c=l.forwardRef((e,r)=>{let{className:t,variant:l,size:a,asChild:c=!1,...d}=e,f=c?n.DX:"button";return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("style",{children:"\n @keyframes ripple {\n 0%, 35% {\n -webkit-transform: scale(0);\n -moz-transform: scale(0);\n -ms-transform: scale(0);\n -o-transform: scale(0);\n transform: scale(0);\n opacity: 1; }\n 50% {\n -webkit-transform: scale(1.5);\n -moz-transform: scale(1.5);\n -ms-transform: scale(1.5);\n -o-transform: scale(1.5);\n transform: scale(1.5);\n opacity: 0.8; }\n 100% {\n opacity: 0;\n -webkit-transform: scale(2);\n -moz-transform: scale(2);\n -ms-transform: scale(2);\n -o-transform: scale(2);\n transform: scale(2);\n }\n }\n "}),(0,o.jsx)(f,{className:(0,s.cn)(i({variant:l,size:a,className:t})),ref:r,...d})]})});c.displayName="Button"},29640:(e,r,t)=>{"use strict";t.d(r,{VideoMedia:()=>a});var o=t(95155),l=t(12115),n=t(77298);let a=e=>{let{onClick:r,resource:t,videoClassName:a}=e,s=(0,l.useRef)(null);if((0,l.useEffect)(()=>{let{current:e}=s;e&&e.addEventListener("suspend",()=>{})},[]),t&&"object"==typeof t){let{filename:e}=t;return(0,o.jsx)("video",{autoPlay:!0,className:(0,n.cn)(a),controls:!1,loop:!0,muted:!0,onClick:r,playsInline:!0,"webkit-playsinline":"true",ref:s,controlsList:"nodownload",children:(0,o.jsx)("source",{src:"".concat("https://tweetworldtravel.com","/media/").concat(e)})})}return null}},34294:(e,r,t)=>{"use strict";t.d(r,{$:()=>s});var o=t(95155),l=t(12115),n=t(51383),a=t(29640);let s=e=>{var r;let{className:t,htmlElement:s="div",resource:i}=e,c="object"==typeof i&&(null==i||null==(r=i.mimeType)?void 0:r.includes("video")),d=s||l.Fragment;return(0,o.jsx)(d,{...null!==s?{className:t}:{},children:c?(0,o.jsx)(a.VideoMedia,{...e}):(0,o.jsx)(n.ImageMedia,{...e})})}},51383:(e,r,t)=>{"use strict";t.d(r,{ImageMedia:()=>i});var o=t(95155),l=t(15239),n=t(12115),a=t(77298);let{breakpoints:s}={breakpoints:{l:1440,m:1024,s:768},colors:{base0:"rgb(255, 255, 255)",base100:"rgb(235, 235, 235)",base500:"rgb(128, 128, 128)",base850:"rgb(34, 34, 34)",base1000:"rgb(0, 0, 0)",error500:"rgb(255, 111, 118)"}},i=e=>{let r,t,{alt:i,fill:c,imgClassName:d,onClick:f,onLoad:u,priority:b,resource:h,size:x,src:m}=e,[p,g]=n.useState(!0),v=i,w=m||"";if(!w&&h&&"object"==typeof h){let{alt:e,filename:o,height:l,url:n,width:a}=h;r=a,t=l,v=e,w=(e=>e?/^https?:\/\//i.test(e)?e:"".concat("https://tweetworldtravel.com").concat(e):"")(n)}let j=x||Object.entries(s).map(e=>{let[,r]=e;return"(max-width: ".concat(r,"px) ").concat(r,"px")}).join(", ");return(0,o.jsx)(l.default,{alt:v||"",className:(0,a.cn)(d),fill:c,height:c?void 0:t,onClick:f,onLoad:()=>{g(!1),"function"==typeof u&&u()},priority:b,quality:90,sizes:j,src:w,width:c?void 0:r})}},64954:()=>{},67411:(e,r,t)=>{"use strict";t.d(r,{A:()=>y});var o=t(95155),l=t(12115),n=t(77298);let a=e=>{let{className:r,content:t,style:l}=e;return(0,o.jsx)("div",{className:(0,n.cn)("mx-auto my-8 w-full",r),children:(0,o.jsx)("div",{className:(0,n.cn)("border py-3 px-6 flex items-center rounded",{"border-border bg-card":"info"===l,"border-error bg-error/30":"error"===l,"border-success bg-success/30":"success"===l,"border-warning bg-warning/30":"warning"===l}),children:(0,o.jsx)(y,{content:t,enableGutter:!1,enableProse:!1})})})};var s=t(3998),i=t(52619),c=t.n(i);let d=e=>{try{return new URL(e).host.toLowerCase()}catch(e){return null}},f=e=>{let{type:r,appearance:t="inline",children:l,className:a,label:i,labelClassName:f,newTab:u,reference:b,size:h,url:x}=e,m="reference"===r&&"object"==typeof(null==b?void 0:b.value)&&b.value.slug?"".concat((null==b?void 0:b.relationTo)!=="pages"?"/".concat(null==b?void 0:b.relationTo):"","/").concat(b.value.slug):x;if(!m)return null;let p=(e=>{if(!e||e.startsWith("/")||e.startsWith("#")||e.startsWith("mailto:")||e.startsWith("tel:")||!(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("//")))return!1;let r=d(e.startsWith("//")?"https:".concat(e):e),t=d("https://tweetworldtravel.com");return!r||!t||r!==t})(m||""),g=new Set;u&&(g.add("noopener"),g.add("noreferrer")),p&&g.add("nofollow");let v=g.size?Array.from(g).join(" "):void 0,w={...u?{target:"_blank"}:{},...v?{rel:v}:{}};return"inline"===t?(0,o.jsxs)(c(),{className:(0,n.cn)(a),href:m||x||"",...w,children:[i&&(0,o.jsx)("span",{className:f,children:i}),l&&(0,o.jsx)("span",{className:f,children:l})]}):(0,o.jsx)(s.$,{asChild:!0,className:a,size:"link"===t?"clear":h,variant:t,children:(0,o.jsxs)(c(),{className:(0,n.cn)(a),href:m||x||"",...w,children:[i&&(0,o.jsx)("span",{className:f,children:i}),l&&(0,o.jsx)("span",{className:f,children:l})]})})},u=e=>{let{links:r,richText:t}=e;return(0,o.jsx)("div",{className:"container",children:(0,o.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,o.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,o.jsx)(y,{className:"mb-0",content:t,enableGutter:!1})}),(0,o.jsx)("div",{className:"flex flex-col gap-8",children:(r||[]).map((e,r)=>{let{link:t}=e;return(0,o.jsx)(f,{size:"lg",...t},r)})})]})})};var b=t(73677);let h=e=>{let{className:r,code:t,language:l}=e;
1return(0,o.jsx)("div",{className:[r,"not-prose"].filter(Boolean).join(" "),children:(0,o.jsx)(b.Code,{code:t,language:l})})};var x=t(34294);let m=e=>{let r,{captionClassName:t,className:l,enableGutter:a=!0,imgClassName:s,media:i,position:c="default",staticImage:d,disableInnerContainer:f}=e;return i&&"object"==typeof i&&(r=i.caption),(0,o.jsxs)("div",{className:(0,n.cn)("",{container:"default"===c&&a},l),children:["fullscreen"===c&&(0,o.jsx)("div",{className:"relative",children:(0,o.jsx)(x.$,{resource:i,src:d})}),"default"===c&&(0,o.jsx)(x.$,{imgClassName:(0,n.cn)("rounded",s),resource:i,src:d}),r&&(0,o.jsx)("div",{className:(0,n.cn)("mt-6",{container:"fullscreen"===c&&!f},t),children:(0,o.jsx)(y,{content:r,enableGutter:!1})})]})},p="Ö-ß¿ï¬-﷽ﹰ-ﻼ",g="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-ʸÌ-Öà -á¿¿ââ°-ï¬ï¸-﹯﻽-ï¿¿";RegExp("^[^"+g+"]*["+p+"]"),RegExp("^[^"+p+"]*["+g+"]");let v={2:"center",6:"end",4:"justify",1:"left",3:"right",5:"start"},w=e=>e?e.split(";").map(e=>e.trim()).filter(Boolean).reduce((e,r)=>{let t=r.indexOf(":");if(-1===t)return e;let o=r.slice(0,t).trim(),l=r.slice(t+1).trim();return o&&l?(e[o.replace(/-([a-z])/g,(e,r)=>r.toUpperCase())]=l,e):e},{}):{},j=e=>{var r;let t="number"==typeof e.format?v[e.format]:e.format;return{...w(null==e?void 0:e.style),...w(null==e?void 0:e.textStyle),marginLeft:"".concat((null!=(r=null==e?void 0:e.indent)?r:0)*60,"px"),...t?{textAlign:t}:{}}};t(64954);let y=e=>{var r;let{className:t,content:s,enableGutter:i=!0,enableProse:c=!0,classChild:d="",isHtml:b=!1}=e;return s?(0,o.jsxs)("div",{className:(0,n.cn)("lexical-rich-text",{"container ":i,"max-w-none":!i,"mx-auto prose dark:prose-invert ":c},t),children:[s&&!b&&!Array.isArray(s)&&"object"==typeof s&&"root"in s&&function e(r){let{nodes:t,classChild:s=""}=r;return(0,o.jsx)(l.Fragment,{children:null==t?void 0:t.map((r,t)=>{var i,c,d,b,p,g,v,y;if(null==r)return null;if("text"===r.type){let e=(0,o.jsx)(l.Fragment,{children:r.text},t);return r.style&&(e=(0,o.jsx)("span",{style:w(r.style),children:e},t)),1&r.format&&(e=(0,o.jsx)("strong",{className:"!font-bold",children:e},t)),2&r.format&&(e=(0,o.jsx)("em",{children:e},t)),4&r.format&&(e=(0,o.jsx)("span",{style:{textDecoration:"line-through"},children:e},t)),8&r.format&&(e=(0,o.jsx)("span",{style:{textDecoration:"underline"},children:e},t)),16&r.format&&(e=(0,o.jsx)("code",{children:r.text},t)),32&r.format&&(e=(0,o.jsx)("sub",{children:e},t)),64&r.format&&(e=(0,o.jsx)("sup",{children:e},t)),e}let N="children"in r?(r=>{if(!("children"in r)||null==r.children)return null;if("list"===r.type&&"check"===r.listType)for(let e of r.children)"checked"in e&&!e.checked&&(e.checked=!1);return e({nodes:r.children,classChild:s})})(r):"";if("block"===r.type){let e=r.fields,l=null==e?void 0:e.blockType;if(!e||!l)return null;switch(l){case"cta":return(0,o.jsx)(u,{...e},t);case"mediaBlock":return(0,o.jsx)(m,{className:"col-start-1 col-span-3",imgClassName:"m-0",...e,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return(0,o.jsx)(a,{className:"col-start-2 mb-4",...e},t);case"code":return(0,o.jsx)(h,{className:"col-start-2",...e},t);default:return null}}switch(r.type){case"linebreak":return(0,o.jsx)("br",{className:"col-start-2"},t);case"paragraph":return(0,o.jsx)("p",{className:"col-start-2 ".concat(s),style:j(r),children:N},t);case"heading":{let e=null==r?void 0:r.tag;return(0,o.jsx)(e,{className:"col-start-2",style:j(r),children:N},t)}case"list":{let e=null==r?void 0:r.tag,l=(null==r||null==(b=r.children)||null==(d=b[0])||null==(c=d.children)||null==(i=c[0])?void 0:i.type)==="list";return(0,o.jsx)(e,{className:(0,n.cn)("col-start-2 ~ml-3/6 ".concat(l?"":"list"),s),style:j(r),children:N},t)}case"listitem":if((null==r?void 0:r.checked)!=null)return(0,o.jsx)("li",{"aria-checked":r.checked?"true":"false",className:"".concat(s," ").concat((r.checked,"")),role:"checkbox",tabIndex:-1,value:null==r?void 0:r.value,children:N},t);{let e=(null==r||null==(y=r.children)||null==(v=y[0])||null==(g=v.children)||null==(p=g[0])?void 0:p.type)==="listitem";return(0,o.jsx)("li",{value:null==r?void 0:r.value,className:"".concat(e?"!list-none":""," ").concat(s),style:{marginLeft:"".concat((null==r?void 0:r.indent)*60,"px"),listStyle:e?"none !important":""},children:N},t)}case"quote":return(0,o.jsx)("blockquote",{className:"col-start-2",style:j(r),children:N},t);case"upload":{let e="media"===r.relationTo&&"object"==typeof r.value?r.value:null;if(!e)return null;return(0,o.jsx)("div",{className:"col-start-2 my-6 max-w-[620px] mx-auto",children:(0,o.jsx)(x.$,{resource:e,imgClassName:"w-full h-auto rounded object-cover"})},t)}case"autolink":case"link":{let e=r.fields;return(0,o.jsx)(f,{newTab:!0,reference:e.doc,type:"internal"===e.linkType?"reference":"custom",url:e.url,children:N},t)}default:return null}})})}({nodes:null==s||null==(r=s.root)?void 0:r.children,classChild:d}),b&&s&&(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:null==s?void 0:s.content}})]}):null}},73677:(e,r,t)=>{"use strict";t.r(r),t.d(r,{Code:()=>c});var o=t(95155),l=t(24212),n=t(12115),a=t(3998),s=t(30746);
1function i(e){let{code:r}=e,[t,l]=(0,n.useState)("Copy");return(0,o.jsx)("div",{className:"flex justify-end align-middle",children:(0,o.jsxs)(a.$,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(r),"Copy"===t&&(l(()=>"Copied!"),setTimeout(()=>{l(()=>"Copy")},1e3))},children:[(0,o.jsx)("p",{children:t}),(0,o.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,o.jsx)(s.CopyIcon,{})})]})})}let c=e=>{let{code:r,language:t=""}=e;return r?(0,o.jsx)(l.f4,{code:r,language:t,theme:l.Zj.vsDark,children:e=>{let{getLineProps:t,getTokenProps:l,tokens:n}=e;return(0,o.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((e,r)=>(0,o.jsxs)("div",{...t({className:"table-row",line:e}),children:[(0,o.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:r+1}),(0,o.jsx)("span",{className:"table-cell pl-4",children:e.map((e,r)=>(0,o.jsx)("span",{...l({token:e})},r))})]},r)),(0,o.jsx)(i,{code:r})]})}}):null}},77298:(e,r,t)=>{"use strict";t.d(r,{J4:()=>s,L7:()=>c,XM:()=>a,cn:()=>n,h2:()=>i});var o=t(2821),l=t(75889);function n(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,l.QP)((0,o.$)(r))}function a(e){for(var r=e.split("_"),t=0;t<r.length;t++){var o=r[t];r[t]=o.charAt(0).toUpperCase()+o.slice(1)}return r.join(" ").replace(/&/g,"&")}let s=function(e){let r=document.getElementById(e);if(r){let e=r.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:e-80,behavior:"smooth"})}},i=e=>e.includes("http")?e:"".concat("https://d1qgxusrpsdhlx.cloudfront.net/").concat("staging").concat(e),c=e=>e.includes("http")?e:"https://d1qgxusrpsdhlx.cloudfront.net/staging".concat(e)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.