PageSourceSearch

https://dentaltourismalbania.com/_next/static/chunks/8208-4dd10c5eeb70a563.js

js dentaltourismalbania.com collected 2026-10-09 17:21:43 UTC 28,182 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8208],{4449:(e,t,r)=>{r.d(t,{G:()=>a.GP});var a=r(5263)},6875:(e,t,r)=>{r.d(t,{w:()=>s});var a=r(95155),n=r(2821);function i({className:e="",children:t}){return(0,a.jsx)("div",{className:(0,n.A)("layout-container mx-auto w-full max-w-screen-xl px-4 md:px-6",e),children:t})}function s({id:e,className:t="",children:r,contained:s=!0,deferRender:l=!1}){return(0,a.jsx)("section",{id:e,className:(0,n.A)("py-section-y",t),style:l?{contentVisibility:"auto",containIntrinsicSize:"1px 800px"}:void 0,children:s?(0,a.jsx)(i,{children:r}):r})}r(12115)},11356:(e,t,r)=>{r.d(t,{s:()=>s});var a=r(76784),n=r(28078),i=r(82466);function s(e,t){if((0,n.vP)())try{(0,a.sendGTMEvent)({event:e,...t})}catch(t){i.A.error({event:"track_event_failed",gtmEvent:e,error:t})}}},11872:(e,t,r)=>{r.d(t,{a:()=>o});var a=r(95155),n=r(12115),i=r(39125),s=r(24478),l=r(33203);let o=({isOpen:e,onClose:t,children:r})=>{let o=(0,i.o)(),c=s.S8d[o],d=(0,n.useRef)(!1);return((0,n.useEffect)(()=>{"undefined"!=typeof navigator&&(d.current=/\bWindows\b/.test(navigator.userAgent))},[]),(0,n.useEffect)(()=>(e&&d.current?(document.body.style.overflow="hidden",document.body.style.width="calc(100% - 15px)",document.body.style.marginRight="auto"):(document.body.style.overflow="",document.body.style.width="",document.body.style.marginRight=""),()=>{document.body.style.overflow="",document.body.style.width="",document.body.style.marginRight=""}),[e]),e)?(0,a.jsx)("div",{className:"fixed inset-0 z-20 flex items-center justify-center bg-gray-800 bg-opacity-75",onClick:t,children:(0,a.jsxs)("div",{className:"mx-4 flex w-full max-w-lg flex-col items-center rounded-lg bg-white p-4 text-center sm:mx-6 sm:max-w-md sm:p-6 md:mx-auto md:p-8",onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("div",{className:"max-h-96 overflow-y-auto",children:r}),(0,a.jsx)("div",{onClick:t,className:"w-fit",children:(0,a.jsx)(l.A,{variant:"primary",className:"button mt-4 border px-16 py-2 font-semibold transition-all duration-200 hover:border-secondary-base hover:bg-tertiary-white hover:text-secondary-base",children:c})})]})}):null}},12378:(e,t,r)=>{r.d(t,{L:()=>a});let a=e=>e?.replace(/[#%&*<>"'`]/g,"").replace(/[^\x20-\x7E]/g,"")},14997:(e,t,r)=>{r.d(t,{w:()=>d});var a=r(95155),n=r(12115),i=r(44980),s=r(11356),l=r(64269),o=r(82466);let c=()=>(0,a.jsxs)("svg",{id:"Share_24",width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-label":"Share Icon",children:[(0,a.jsx)("rect",{width:"24",height:"24",stroke:"none",fill:"#1C82B1",opacity:"0"}),(0,a.jsx)("g",{transform:"matrix(0.83 0 0 0.83 12 12)",children:(0,a.jsx)("path",{transform:"translate(-15, -15)",d:"M 23 3 C 20.790861000676827 3 19 4.790861000676826 19 7 C 19.001782866247694 7.281166357331076 19.033206577012333 7.561361111649108 19.09375 7.8359375 L 10.011719 12.376953 C 9.253866777438894 11.504445134647924 8.155683524287866 11.002357547799328 7.000000000000002 11 C 4.790861000676826 11 3 12.790861000676827 3 15 C 3 17.209138999323173 4.790861000676826 19 7 19 C 8.156055212198664 18.998698187755465 9.255011018954107 18.497295170343904 10.013672 17.625 L 19.089844 22.164062 C 19.03061381338721 22.4387782327156 19.00049950956681 22.718971577925238 19 23 C 19 25.209138999323173 20.790861000676827 27 23 27 C 25.209138999323173 27 27 25.209138999323173 27 23 C 27 20.790861000676827 25.209138999323173 19 23 19 C 21.843944787801338 19.001301812244538 20.744988981045893 19.502704829656096 19.986328 20.375 L 10.910156 15.835938 C 10.969386186612791 15.5612217672844 10.999500490433189 15.281028422074762 11 14.999999999999998 C 10.998080050222471 14.719487064074768 10.96665714476816 14.43995425999575 10.90625 14.166015999999999 L 19.988281 9.625 C 20.746494206769245 10.496781890462847 21.844626705286966 10.998134169829504 23 11 C 25.209138999323173 11 27 9.209138999323173 27 7 C 27 4.790861000676826 25.209138999323173 3 23 3 z",fill:"#1C82B1",strokeLinecap:"round",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinejoin:"miter",strokeMiterlimit:4,fillRule:"nonzero",opacity:1}})})]}),d=({title:e,url:t,ariaLabel:r="Share",enabled:d,promotionId:m,discount:u})=>
1{let[p,x]=(0,n.useState)(!1),[_,h]=(0,n.useState)(!1),[f,g]=(0,n.useState)(!1),[A,y]=(0,n.useState)(t),b=(0,n.useRef)(null),E=()=>{(0,s.s)(i.q.SHARE_PROMOTION,{promotion_id:m,promotion_name:e,promotion_url:A,discount:u,timestamp:new Date().toISOString()})};(0,n.useEffect)(()=>{y(t.startsWith("http")?t:`${window.location.origin}${t}`)},[t]),(0,n.useEffect)(()=>{let e=()=>{let e="ontouchstart"in window||navigator.maxTouchPoints>0,t=window.innerWidth>=768;g(!e||t)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,n.useEffect)(()=>()=>{b.current&&clearTimeout(b.current)},[]);let N=()=>"undefined"!=typeof navigator&&"share"in navigator,v=async()=>{if(N())try{await navigator.share({title:e,url:A}),E()}catch(e){}x(!1)},w=async()=>{try{await navigator.clipboard.writeText(A),h(!0),E(),b.current=setTimeout(()=>{h(!1),x(!1)},1e3)}catch(e){o.A.error({event:"share_copy_link_failed",error:e})}};return(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("button",{"aria-label":r,onClick:()=>{f&&N()?x(!p):N()?v():w()},className:(0,l.cn)("absolute right-3 top-3 z-10 rounded-full p-2 shadow-md transition",d?"bg-white hover:bg-gray-100":"cursor-not-allowed bg-gray-300 opacity-60"),disabled:!d,children:(0,a.jsx)(c,{})}),p&&d&&(0,a.jsx)("div",{className:"absolute right-3 top-14 z-20 min-w-32 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5",children:(0,a.jsxs)("div",{className:"py-1",children:[N()&&(0,a.jsx)("p",{onClick:v,className:"text-m w-full cursor-pointer px-4 py-1 text-left text-gray-700 hover:bg-gray-100",children:"Share"}),(0,a.jsx)("p",{onClick:w,className:"text-m w-full cursor-pointer px-4 py-2 text-left text-gray-700 hover:bg-gray-100",children:_?(0,a.jsxs)("span",{className:"flex items-center justify-between text-secondary-base",children:[(0,a.jsx)("span",{children:"Copied"}),(0,a.jsx)("span",{children:"✓"})]}):"Copy link"})]})}),p&&(0,a.jsx)("div",{className:"fixed inset-0 z-10",onClick:()=>{b.current&&clearTimeout(b.current),x(!1),h(!1)}})]})}},15130:(e,t,r)=>{r.d(t,{C:()=>E});var a=r(95155),n=r(68321),i=r(90311),s=r(12115);let l=e=>{let t=new Date().getTime(),r=new Date(e);r.setHours(23,59,59,999);let a=r.getTime()-t;if(a<=0)return null;let n=Math.floor(a/864e5);return{days:n,hours:Math.floor(a%864e5/36e5),minutes:Math.floor(a%36e5/6e4)}},o=e=>{let{days:t,hours:r,minutes:a}=e;return`${t}d ${r.toString().padStart(2,"0")}h ${a.toString().padStart(2,"0")}m`};var c=r(64269),d=r(44980),m=r(11356),u=r(99840),p=r(39125),x=r(12378),_=r(24478),h=r(33203),f=r(77495),g=r(45219),A=r(14997);let y=({variant:e,children:t})=>(0,a.jsx)("div",{className:"absolute left-4 right-3 top-3 z-10 flex flex-row gap-2 sm:flex-col sm:items-start sm:gap-2",children:(0,a.jsx)("div",{className:`rounded-full px-3 py-1.5 text-xs font-bold uppercase tracking-wide shadow-lg sm:text-xs ${{warning:"bg-tertiary-cream text-primary-dark",expired:"bg-red-800 text-white"}[e]}`,children:t})}),b={teal:"from-primary-base to-primary-dark",blue:"from-sky-500 to-primary-base",aqua:"from-secondary-base to-primary-base"},E=({promotion:e,language:t,isClickable:r=!0,accent:E="teal"})=>{let{image:N,slug:v,location:w,validDate:C,actualPrice:T,promotionalPrice:j,clinicName:I}=e,O=encodeURIComponent((0,x.L)(w)),S=encodeURIComponent((0,x.L)(v)),k=`/promotions/${O}/${S}`,M=(0,p.V)(t,k),{timeRemaining:P,formatCountdown:R}=(e=>{let[t,r]=(0,s.useState)(null);return(0,s.useEffect)(()=>{r(l(new Date(e)));let t=setInterval(()=>{r(l(new Date(e)))},6e4);return()=>clearInterval(t)},[e]),{timeRemaining:t,formatCountdown:o}})(C),{isEnabled:L,shouldShowWarning:D}=((e,t)=>
1{let[r,a]=(0,s.useState)(()=>(0,c.i1)(new Date(e))),[n,i]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let r=(0,c.i1)(new Date(e));a(r),i(!!t&&t.days<=30&&r)},[e,t]),{isEnabled:r,shouldShowWarning:n}})(C,P),B=_.SuB[t],U=_.zCX[t],K=_.BWj[t],F=e._id,W=T&&j?T-j:0,$=T&&j?T-j:0,G=()=>{(0,m.s)(d.q.SELECT_PROMOTION,{promotion_id:e._id,promotion_name:e.title,discount:$,timestamp:new Date().toISOString()})},Q=(0,u.U)(e,L);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.default,{id:`promo-jsonld-${e._id}`,type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Q)}}),(0,a.jsxs)("div",{className:"flex h-full w-full flex-col overflow-hidden rounded-lg p-0 shadow-lg",children:[(0,a.jsxs)("div",{className:"relative",children:[D&&(0,a.jsx)(y,{variant:"warning",children:(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-1 sm:gap-1.5",children:[(0,a.jsx)("span",{className:"text-primary-dark",children:_.cDE[t]}),(0,a.jsx)("span",{className:"rounded bg-transparent py-0.5 font-mono font-bold text-primary-dark",children:P?R(P):""})]})}),!L&&(0,a.jsx)(y,{variant:"expired",children:(0,a.jsx)("div",{className:"flex items-center gap-1 sm:gap-1.5",children:(0,a.jsx)("span",{className:"text-white",children:K})})}),(0,a.jsx)(A.w,{url:M,title:v,ariaLabel:"Share Promotion",enabled:L,promotionId:F,discount:W}),N&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g.A,{desktopImg:N,mobileImg:N,alt:e.title||"promotion",variant:"card",ariaLabel:e.title,className:"h-48 w-full object-cover",loadingValue:"lazy"}),(0,a.jsx)("div",{className:(0,c.cn)("absolute inset-0 bg-gradient-to-br opacity-30",b[E])})]})]}),(0,a.jsxs)("div",{className:"flex h-full flex-col items-start justify-evenly p-4",children:[(0,a.jsx)("div",{children:L&&r?(0,a.jsx)(f.Link,{className:"w-full",href:k,onClick:G,children:(0,a.jsx)("h2",{className:"h4 cursor-pointer text-start text-primary-base",children:e.title})}):(0,a.jsx)("h2",{className:"h4 cursor-default text-start text-primary-base",children:e.title})}),(T||j)&&(0,a.jsx)("div",{className:"mt-auto w-full py-3",children:(0,a.jsx)("div",{className:"flex flex-row items-center justify-between gap-3",children:(0,a.jsx)("div",{className:"flex w-full flex-row items-center justify-between gap-3 text-start",children:T&&j&&T!==j?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"mb-1 text-sm font-medium text-gray-600",children:_.Fir[t]}),(0,a.jsxs)("div",{className:"flex items-baseline gap-2 sm:gap-3",children:[(0,a.jsxs)("span",{className:"bg-primary-dark bg-clip-text text-2xl font-black text-transparent",children:["€",j]}),(0,a.jsxs)("span",{className:"text-sm font-semibold text-gray-500 line-through sm:text-lg",children:["€",T]})]})]}),(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"flex items-center rounded-full bg-primary-soft px-3 py-2 text-primary-dark shadow-lg sm:rounded-2xl",children:[(0,a.jsx)("div",{className:"mr-2 text-xs font-bold uppercase opacity-90",children:_.sGY[t]}),(0,a.jsxs)("div",{className:"text-xs font-black leading-none sm:text-sm",children:[Math.round((T-j)/T*100),"%"]})]})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mb-1 text-xs font-medium text-gray-600 sm:text-sm",children:_.EJK[t]}),(0,a.jsxs)("span",{className:"bg-primary-base bg-clip-text text-3xl font-black text-transparent sm:text-4xl md:text-5xl",children:["€",j||T]})]})})})}),(0,a.jsx)("div",{className:"mt-3 w-full text-start",children:I&&(0,a.jsx)("div",{className:"flex w-full items-start justify-between",children:(0,a.jsxs)("p",{className:"mt-2 text-left text-sm capitalize text-gray-500",children:["\uD83D\uDCCD ",U," ",I,", ",w]})})}),(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"mt-2 flex items-center",children:L&&r?(0,a.jsx)(f.Link,{className:"w-full",href:k,onClick:G,children:(0,a.jsx)(h.A,{variant:"primary",className:"group relative w-full overflow-hidden border py-3 font-semibold transition-all duration-300",children:_.EQX[t]})}):(0,a.jsx)(h.A,{variant:"primary",className:"btn group relative w-full cursor-not-allowed overflow-hidden rounded-md border bg-ink-darkGray py-3 text-lg font-semibold opacity-60",disabled:!0,children:_.EQX[t]})}),(0,a.jsxs)("div",{className:"mx-auto mt-4 flex w-fit items-center justify-center gap-1 text-center md:flex-col lg:flex-row",children:[(0,a.jsxs)("span",{className:"text-sm text-gray-600",children:[B,":"]}),(0,a.jsx)("span",{className:"text-sm font-bold text-sky-800",children:(0,a.jsx)(i.W,{date:new Date(C)})})]})]})]})]})]})}},16056:(e,t,r)=>{r.d(t,{v:()=>i});var a=r(95155);r(12115);var n=r(64269);let i=({children:e,containerClassName:t})=>(0,a.jsx)("div",{className:(0,n.cn)("horizontal-grid horizontal-grid-sm sm:horizontal-grid-md lg:horizontal-grid-lg mx-auto grid w-full max-w-7xl gap-y-6",t),children:e})},28078:(e,t,r)=>{r.d(t,{J2:()=>n,V4:()=>i,vP:()=>s});let a="dta_cookie_consent",n=()=>{let e=(e=>{if("undefined"==typeof document)return null;let t=document.cookie.split(";").map(e=>e.trim()).find(t=>t.startsWith(`${e}=`));return t?decodeURIComponent(t.split("=").slice(1).join("=")):null})(a);return"all"===e||"essential"===e?e:null},i=e=>{if("undefined"==typeof document)return;let t="https:"===window.location.protocol?"; Secure":"";document.cookie=`${a}=${encodeURIComponent(e)}; Path=/; Max-Age=15552000; SameSite=Lax${t}`},s=()=>"all"===n()},33203:(e,t,r)=>{r.d(t,{A:()=>n});var a=r(95155);r(12115);let n=({handleClick:e,name:t,variant:r,type:n="button",className:i,dataTestId:s,children:l,tabIndex:o,disabled:c})=>{let d="btn rounded-button text-lg transition-all duration-200 ";switch(i&&(d+=i),r){case"primary":d+=" bg-primary-base text-tertiary-white hover:bg-primary-dark focus:ring-2 focus:ring-primary-base/20 focu
1s:outline-none";break;case"secondary":d+=" bg-secondary-base text-tertiary-white hover:bg-secondary-dark focus:ring-2 focus:ring-secondary-base/20 focus:outline-none";break;case"tertiary":d+=" bg-tertiary-white text-primary-base border border-primary-base hover:bg-primary-base hover:text-tertiary-white focus:ring-2 focus:ring-primary-base/20 focus:outline-none";break;case"inactive":d+=" cursor-not-allowed bg-tertiary-gray text-ink-lightGray opacity-60";break;default:d+=""}return(0,a.jsx)("button",{className:d,type:n,onClick:e,name:t,tabIndex:o,disabled:c,children:l})}},39125:(e,t,r)=>{r.d(t,{V:()=>i,o:()=>n});var a=r(20063);let n=()=>{let e=(0,a.usePathname)();if(!e)return"en";let t=e.split("/");return["en","it","al"].includes(t[1])?t[1]:"en"},i=(e,t)=>{let r=t.startsWith("/")?t:`/${t}`;return"en"===e?r:`/${e}${r}`}},39755:(e,t,r)=>{r.d(t,{L:()=>s});let a="true"===r(95704).env.ENABLE_PREVIEW;var n=r(95704);let i=a?"http://localhost:3000":n.env.BASE_URL;function s(e,{base:t=!0,params:r,lang:a,rootCollection:n,overrideSlug:l}={rootCollection:[],overrideSlug:[]}){if("_type"in e&&"location"===e._type){let n=e.metadata?.slug?.current;return(t?`${i}/`:"/")+["en"===a?null:a,"dental-clinics","index"===n?null:n,r].filter(Boolean).join("/")}let o=e.metadata?.slug?.current,c=l?.filter(Boolean).join("/"),d=c?.length?c:o!==n?.at(-1)?o:"";return(t?`${i}/`:"/")+["en"===a?null:a,...n??[],"index"===o?null:d,r].filter(Boolean).join("/")}},40511:(e,t,r)=>{r.d(t,{E:()=>n});var a=r(12115);let n=()=>{let[e,t]=(0,a.useState)(!1),[r,n]=(0,a.useState)();return{isModalOpen:e,promoItem:r,openModal:e=>{n(e),t(!0)},closeModal:()=>{t(!1)}}}},44980:(e,t,r)=>{r.d(t,{E:()=>n,q:()=>a});var a=function(e){return e.GENERATE_LEAD="generate_lead",e.VIEW_ITEM="view_item",e.VIEW_PROMOTION="view_promotion",e.SELECT_PROMOTION="select_promotion",e.CLAIM_PROMOTION_SUCCESS="claim_promotion_success",e.CLAIM_PROMOTION_FAILURE="claim_promotion_failure",e.SHARE_PROMOTION="share_promotion",e.QUOTE_FORM_START="quote_form_start",e.QUOTE_FORM_FAILURE="quote_form_failure",e.CLICK_GET_QUOTE_BUTTON="click_get_quote_button",e.FILTER_CLINICS="filter_clinics",e.EXPLORE_ALBANIA_LOCATION="explore_albania_location",e.CLICK_SMILE_ANALYSIS_BUTTON="click_smile_analysis_button",e.CLICK_CONTACT_US="click_contact_us",e.CLICK_COST_BREAKDOWN_BUTTON="click_cost_breakdown_button",e.SMART_ANALYSE_SUCCESS="smart_analyse_success",e.SMART_ANALYSE_FAILURE="smart_analyse_failure",e.ACCORDION_OPEN="accordion_open",e.ACCORDION_CLOSE="accordion_close",e.CLICK_BOOK_CONSULTATION_BUTTON="click_book_consultation_button",e.CLICK_INSTANT_BOOKING_BUTTON="click_instant_booking_button",e.BOOK_SMART_CONSULTATION_FORM_SUCCESS="book_smart_consultation_form_success",e.BOOK_SMART_CONSULTATION_FORM_FAILURE="book_smart_consultation_form_failure",e.ANALYZE_TRANSFORMATION_SUCCESS="analyze_transformation_success",e.ANALYZE_TRANSFORMATION_FAILURE="analyze_transformation_failure",e.VIEW_SMILE_ANALYSIS_PAGE="view_smile_analysis_page",e.VIEW_COST_BREAKDOWN_PAGE="view_cost_breakdown_page",e.VIEW_SMART_CONSULTATION_FORM="view_smart_consultation_form",e.EMAIL_SUBSCRIPTION_SUCCESS="email_subscription_success",e.EMAIL_SUBSCRIPTION_FAILURE="email_subscription_failure",e.APPOINTMENT_WIZARD_STARTED="appointment_wizard_started",e.APPOINTMENT_WIZARD_ABANDONED="appointment_wizard_abandoned",e.APPOINTMENT_STEP_VIEWED="appointment_step_viewed",e.APPOINTMENT_STEP_BACK="appointment_step_back",e.APPOINTMENT_SERVICE_SELECTED="appointment_service_selected",e.APPOINTMENT_SERVICE_DESELECTED="appointment_service_deselected",e.APPOINTMENT_COST_BREAKDOWN_VIEWED="appointment_cost_breakdown_viewed",e.APPOINTMENT_SERVICE_STEP_COMPLETED="appointment_service_step_completed",e.APPOINTMENT_SLOT_SELECTED="appointment_slot_selected",e.APPOINTMENT_DATETIME_STEP_
1COMPLETED="appointment_datetime_step_completed",e.APPOINTMENT_FORM_FIELD_COMPLETED="appointment_form_field_completed",e.APPOINTMENT_GDPR_CONSENT_GIVEN="appointment_gdpr_consent_given",e.APPOINTMENT_DETAILS_STEP_COMPLETED="appointment_details_step_completed",e.APPOINTMENT_CONFIRMATION_VIEWED="appointment_confirmation_viewed",e.APPOINTMENT_EDIT_CLICKED="appointment_edit_clicked",e.APPOINTMENT_SUBMIT_ATTEMPT="appointment_submit_attempt",e.APPOINTMENT_SUBMIT_SUCCESS="appointment_submit_success",e.APPOINTMENT_SUBMIT_ERROR="appointment_submit_error",e.APPOINTMENT_REFERENCE_COPIED="appointment_reference_copied",e.APPOINTMENT_BOOK_ANOTHER_CLICKED="appointment_book_another_clicked",e.APPOINTMENT_BACK_TO_CLINICS_CLICKED="appointment_back_to_clinics_clicked",e.APPOINTMENT_ERROR_DISPLAYED="appointment_error_displayed",e.CLICK_FAQ_CTA_BUTTON="click_faq_cta_button",e.EXPERIMENT_VIEWED="experiment_viewed",e.EXPERIMENT_CLICKED="experiment_clicked",e}({}),n=function(e){return e.HEADER="header",e.CLINIC_DETAIL_PAGE="clinic_detail_page",e.CLINIC_PAGE="clinic_page",e.BLOG="blog",e.PROMOTIONS_PAGE="promotions_page",e.VIRTUAL_SMILE_MAKEOVER="virtual_smile_makeover",e.HOME_PAGE="home_page",e}({})},45219:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(95155),n=r(15239);r(12115);let i=({desktopImg:e,mobileImg:t,children:r,variant:i="default",alt:s,ariaLabel:l,className:o,role:c,onLoad:d,priority:m,quality:u,loadingValue:p,draggable:x,fetchPriority:_="auto",decoding:h})=>{let f,g,A;switch(i){case"thumbnail":f=100,g=100,A="100px";break;case"card":f=600,g=600,A="(max-width: 768px) 100vw, 600px";break;case"carousel-img":f=1200,g=384,A="(max-width: 768px) 100vw, 1200px";break;case"form-img":f=130,g=130,A="130px";break;case"logo":f=140,g=50,A="140px";break;default:f=2e3,g=700,A="(max-width: 768px) 100vw, 2000px"}return t?(0,a.jsxs)("picture",{children:[(0,a.jsx)("source",{media:"(min-width: 640px)",type:"image/webp",srcSet:`${e}`}),(0,a.jsx)("source",{media:"(max-width: 639px)",type:"image/webp",srcSet:`${t}?w=640`}),(0,a.jsx)(n.default,{src:t||e,alt:s||"dental-image",width:f,height:g,sizes:A,placeholder:"blur",blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAABAAEDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAv/xAAhEAACAQMDBQAAAAAAAAAAAAABAgMABAUGIWGRkqGx0f/EABUBAQEAAAAAAAAAAAAAAAAAAAMF/8QAGhEAAgIDAAAAAAAAAAAAAAAAAAECEgMRkf/aAAwDAQACEQMRAD8AltJagyeH0AthI5xdrLcNM91BF5pX2HaH9bcfaSXWGaRmknyJckliyjqTzSlT54b6bk+h0R+IRjWjBqO6O2mhP//Z",className:o,"aria-label":l,tabIndex:0,onLoad:d,loading:p,priority:m,role:c,quality:u,fetchPriority:_,draggable:x,decoding:h??"async"}),r]}):null}},46758:(e,t,r)=>{r.d(t,{t:()=>i});var a=r(95155),n=r(27987);let i=e=>(0,a.jsx)(n.ErrorBoundary,{...e})},51210:(e,t,r)=>{r.d(t,{H:()=>a});let a=e=>e.map(e=>"block"===e._type&&e.children?e.children.map(e=>"text"in e?e.text:"").join(""):"").join(" ")},64269:(e,t,r)=>{r.d(t,{QI:()=>c,TZ:()=>u,Y3:()=>o,Yq:()=>x,cn:()=>d,gI:()=>m,i1:()=>p});var a=r(2821),n=r(4449),i=r(31047),s=r(17726),l=r(75889);function o(e){return Math.max(1,parseInt(e||"1",10)||1)}function c({homeLabel:e,blogsLabel:t,currentCategory:r,postTitle:a,postSlug:n,categorySlug:i,basePath:s="/blogs"}){let l=`/${s.replace(/^\/+|\/+$/g,"")}`,o=(...e)=>[l,...e.filter(Boolean)].join("/"),c=[{label:e,href:"/"},{label:t,href:l}];return r?c.push({label:r.title,href:o(r.metadata.slug.current)}):i&&c.push({label:i.replace(/-/g," ").replace(/\b\w/g,e=>e.toUpperCase()),href:o(i)}),a&&c.push({label:a,href:n&&i?o(i,n):void 0}),c}function d(...e){return(0,l.QP)((0,a.$)(e))}function m(e){try{return(0,s.L5)(e).country}catch{return}}function u(e){let{totalMinCost:t,totalMaxCost:r}=e.reduce((e,t)=>(e.totalMinCost+=t.estimatedCost.min,e.totalMaxCost+=t.estimatedCost.max,e),{totalMinCost:0,totalMaxCost:0}),a=e.length>1?`${2*e.length}-${3*e.length} days`:e[0]?.estimatedDuration||"1-2 days",n=Math.round(3.5*t),i=Math.round(3.5*r),s=(t+r)/2,l=(n+i)/2,o=l-s;return{totalMinCost:t,totalMaxCost:r,totalDuration:a,ukMinCostToPound:Math.round(.87*n),ukMaxCostToPound:Math.round(.87*i),savingsAmountPounds:Math.round(.87*o),savingsPercentage:Math.round(o/l*100),averageAlbaniaCost:s,averageUkCost:l}}function p(e){let t=new Date;t.setHours(0,0,0,0);let r=new Date(e);return r.setHours(0,0,0,0),r>=t}function x(e,t="dd MMM yyyy"){let r=new Date("string"==typeof e?Date.parse(e):e),a=new Date(r.getTime()+6e4*r.getTimezoneOffset());return(0,n.G)(a,t,{locale:i.uP})}r(39755),i.uP,i.it,i.sq},67947:(e,t,r)=>{r.d(t,{R:()=>u});var a=r(95155),n=r(84935);function i(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function s(e){return i(e)&&!("$$typeof"in e)}function l(e){return"string"==typeof e?e:"number"==typeof e?String(e):""}function o(e,t){if(i(e))return e[t]}function c(e){return!!i(e)&&"string"==typeof e._type}function d({value:e}
1){let t=o(e,"table")??e,r=o(t,"headers"),s=o(t,"rows"),m=Array.isArray(r)?r.map(e=>l(i(e)?e.content??e.title:e)):[],u=Array.isArray(s)?s:[];return m.length||u.length?(0,a.jsx)("div",{className:"my-6 overflow-x-auto",children:(0,a.jsxs)("table",{className:"w-full border-collapse",children:[m.length?(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{className:"border-b-2 border-tertiary-gray",children:m.map((e,t)=>(0,a.jsx)("th",{scope:"col",className:"px-4 py-3 text-center font-bold text-primary-base",children:e},t))})}):null,(0,a.jsx)("tbody",{children:u.map((e,t)=>{let r=o(e,"cells")??e,i=Array.isArray(r)?r:[],s=o(e,"_key");return(0,a.jsx)("tr",{className:"border-b border-tertiary-gray",children:i.map((e,t)=>{let r=o(e,"content")??e,i=o(e,"_key");return(0,a.jsx)("td",{className:"px-4 py-3 align-top",children:Array.isArray(r)&&r.every(c)?(0,a.jsx)(n.RK,{value:r,components:{types:{table:({value:e})=>(0,a.jsx)(d,{value:e}),tableWrapper:({value:e})=>(0,a.jsx)(d,{value:e})}}}):l(r)},"string"==typeof i?i:t)})},"string"==typeof s?s:t)})})]})}):null}r(12115);let m={block:{},types:{table:({value:e})=>(0,a.jsx)(d,{value:e}),tableWrapper:({value:e})=>(0,a.jsx)(d,{value:e})}};function u({components:e,...t}){return(0,a.jsx)(n.RK,{...t,components:e?{...m,...e,block:function(e,t){if(!t)return e;if(!e)return t;let r=s(e),a=s(t);return r&&a?{...e,...t}:t}(m.block,e.block),marks:{...m.marks,...e.marks},types:{...m.types,...e.types}}:m})}},77495:(e,t,r)=>{r.r(t),r.d(t,{Link:()=>c});var a=r(95155),n=r(52619),i=r.n(n),s=r(12115),l=r(39755),o=r(82675);let c=({sanitylink:e,href:t="",variant:r,ctaStyle:n,className:c,options:d={},prefetch:m=!1,...u})=>{let{lang:p}=(0,s.useContext)(o.B),x="";if(c&&(x+=c),n)switch(n){case"action":x+=" bg-secondary-base text-tertiary-white !no-underline";break;case"ghost":x+=" bg-primary-base text-tertiary-white !no-underline hover:bg-primary-dark";break;case"link":x+=" bg-tertiary-white text-primary-base !no-underline hover:bg-tertiary-gray";break;case"accent":x+=" bg-accent-orange text-ink-black !no-underline hover:bg-accent-yellow"}else if(r)switch(r){case"primary":x+=" bg-primary-base text-tertiary-white rounded-md text-lg";break;case"secondary":x+=" bg-secondary-base text-tertiary-white rounded-md text-lg";break;case"tertiary":x+=" bg-tertiary-white text-primary-base rounded-md text-lg"}if(e)return(0,a.jsx)(i(),{href:(0,l.L)(e,{...d,lang:p}),className:x,prefetch:m,...u});let _=t.startsWith("/")?t:`/${t}`,h="en"===p?_:`/${p}${_}`;return(0,a.jsx)(i(),{href:h,className:x,...u})}},82675:(e,t,r)=>{r.d(t,{B:()=>l,default:()=>o});var a=r(95155),n=r(12115),i=r(78855),s=r(96077);let l=(0,n.createContext)({lang:"en"});function o({children:e,lang:t}){return(0,n.useEffect)(()=>{let e=e=>{"ResizeObserver loop completed with undelivered notifications."===e.message&&(e.preventDefault(),e.stopImmediatePropagation())};return window.addEventListener("error",e),()=>window.removeEventListener("error",e)},[]),(0,a.jsx)(l.Provider,{value:{lang:t},children:(0,a.jsx)(i.R,{children:(0,a.jsx)(s.O,{lang:t,children:e})})})}},86519:(e,t,r)=>{r.d(t,{J:()=>s});var a=r(95155);r(12115);var n=r(64269),i=r(77495);let s=({link:e,style:t,ctaStyle:r,className:s,children:l})=>{if(!e||!("type"in e))return null;let o=e.label||("internal"===e.type?e.internal?.title:void 0),c={className:(0,n.cn)(t,s),children:l||o,title:o};switch(e.type){case"internal":if(!e.internal)return null;return(0,a.jsx)(i.Link,{sanitylink:e.internal,options:{base:!1,params:e.params??void 0},...c,ctaStyle:r});case"external":return(0,a.jsx)("a",{target:"_blank",rel:"noreferrer",href:e.external,...c});default:return null}}},90311:(e,t,r)=>{r.d(t,{W:()=>i});var a=r(95155),n=r(64269);let i=({date:e,className:t=""})=>{let r=(0,n.Yq)(e);return(0,a.jsx)("span",{className:t,children:r})}},92569:(e,t,r)=>{r.d(t,{N:()=>c});var a=r(95155),n=r(64269),i=r(39125),s=r(24478),l=r(11872),o=r(67947);let c=({isOpen:e,onClose:t,promotion:r})=>{let c=(0,i.o)(),d=s.SuB[c];if(!r)return null;let{actualPrice:m,promotionalPrice:u}=r,p=(0,n.Yq)(r.validDate);return(0,a.jsx)(l.a,{isOpen:e,onClose:t,children:(0,a.jsxs)("div",{className:"mx-auto max-w-4xl p-6",children:[(0,a.jsx)("div",{className:"text-xl font-semibold text-primary-base",children:r.title}),(m||u)&&(0,a.jsx)("div",{className:"mb-4 flex items-center justify-center gap-4",children:m&&u&&m!==u?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"text-2xl font-bold text-primary-base",children:["€",u]}),(0,a.jsxs)("span",{className:"text-lg text-gray-500 line-through",children:["€",m]})]}):(0,a.jsxs)("span",{className:"text-2xl font-bold text-primary-base",children:["€",u||m]})}),(0,a.jsx)("div",{className:"richtext flex justify-self-center text-left text-base",children:Array.isArray(r.description)?(0,a.jsx)(o.R,{value:r.description,components:{block:{normal:({children:e})=>(0,a.jsx)("span",{children:e})}}}
1):r.description}),(0,a.jsxs)("div",{className:"mt-6 text-center text-lg font-bold",children:[(0,a.jsxs)("span",{className:"text-gray-600",children:[d,": "]}),(0,a.jsx)("span",{className:"text-red-500",children:p})]})]})})}},93605:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});var a=r(95155);function n({fallbackMessage:e="Something went wrong."}){return(0,a.jsx)("div",{className:"flex min-h-[20vh] items-center justify-center px-4",children:(0,a.jsx)("p",{className:"text-center text-lg font-medium",children:e})})}r(12115)},99840:(e,t,r)=>{r.d(t,{U:()=>n});var a=r(51210);let n=(e,t)=>({"@context":"https://schema.org","@type":"Product",name:e.title,description:(0,a.H)(e.description),image:e.image?[e.image]:[""],offers:{"@type":"Offer",price:e.promotionalPrice,priceCurrency:"EUR",availability:t?"https://schema.org/LimitedAvailability":"https://schema.org/SoldOut",priceValidUntil:e.validDate}})}}]);

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.