var socialLite_frontend;!function(){var e,t,n,a={2591:function(e,t,n){"use strict";n.d(t,{t:function(){return l}});var a=n(530),r=n(8974),o=n(1594);const l=e=>{const{optionStore:t}=(0,r.g)(),[n,l]=(0,o.useState)(""),c=e=>{const t=e.replace("#","").match(/.{2}/g);return(parseInt(t[0],16)+parseInt(t[1],16)+parseInt(t[2],16))/3<155},s=e=>{if("solid"===e.backgroundType)return new Promise((t=>{t(c(e.background)?"#ffff":"#000")}));if("gradient"===e.backgroundType){const t="to top"===e.backgroundGradientDirection?e.backgroundGradientColorOne:e.backgroundGradientColorTwo;return new Promise((e=>{e(c(t)?"#ffff":"#000")}))}if("image"===e.backgroundType){const n=e.backgroundImageUrl.includes("http")?e.backgroundImageUrl:`${t.publicUrl}images/backgrounds/${e.backgroundImageUrl}`;return new Promise((e=>{(t=>{const n=document.createElement("img");n.src=t,n.style.display="none",document.body.appendChild(n);let a=0;n.onload=function(){const t=document.createElement("canvas");t.width=n.width,t.height=n.height;const r=t.getContext("2d");r.drawImage(n,0,0);const o=r.getImageData(0,0,t.width,t.height),{data:l}=o;let c,s,i,d;for(let e=0,t=l.length;e{e(t?"#ffff":"#000")})(Math.floor(a/(n.width*n.height))<155)}})(n)}))}return new Promise((t=>{t(c(e.background)?"#ffff":"#000")}))};return(0,o.useEffect)((()=>{s(e.backgroundStyles).then((e=>{l(e)}))}),[e.backgroundStyles]),n.length>0&&React.createElement("a",{href:`https://socialwp.io/?utm_source=${t.others.siteURL}&utm_medium=badge&utm_campaign=social-lite`,target:"_blank",className:"social-badge w-max relative gap-2 items-center rounded-2xl px-2.5 py-2 bg-gray-400 bg-opacity-10 "+(e.shown?"flex":"hidden")},React.createElement("img",{className:"w-5 h-5 object-contain border-none rounded-md",draggable:"false",src:`${t.publicUrl}images/logos/logo--badge.png`}),React.createElement("svg",{className:"absolute h-12 w-5 left-3.5 bottom-7 pointer-events-none",viewBox:"0 0 19 18"},React.createElement("g",{id:"el_IIytet5NQt",fillRule:"evenodd"},React.createElement("g",{id:"el_UbH5tdyPMI"},React.createElement("g",{id:"el_jRFP1iZ8mU_an_DgJ-5qTdj","data-animator-group":"true","data-animator-type":"0"},React.createElement("g",{id:"el_jRFP1iZ8mU_an_-l8DO8tko","data-animator-group":"true","data-animator-type":"2"},React.createElement("path",{d:"M3.8475,17.4245232 C1.53,15.3885559 0,14.0457766 0,12.3978202 C0,11.0550409 1.089,10 2.475,10 C3.258,10 4.0095,10.3531335 4.5,10.9111717 C4.9905,10.3531335 5.742,10 6.525,10 C7.911,10 9,11.0550409 9,12.3978202 C9,14.0457766 7.47,15.3885559 5.1525,17.4288828 L4.5,18 L3.8475,17.4245232 Z",id:"el_jRFP1iZ8mU"}))),React.createElement("g",{id:"el_7PCBmmds0c_an_p3yGQ4dJWc","data-animator-group":"true","data-animator-type":"0"},React.createElement("g",{id:"el_7PCBmmds0c_an_0wJgoJVV-","data-animator-group":"true","data-animator-type":"2"},React.createElement("path",{d:"M14.885625,10.5683924 C13.1475,9.04141689 12,8.03433243 12,6.79836512 C12,5.79128065 12.81675,5 13.85625,5 C14.4435,5 15.007125,5.26485014 15.375,5.68337875 C15.742875,5.26485014 16.3065,5 16.89375,5 C17.93325,5 18.75,5.79128065 18.75,6.79836512 C18.75,8.03433243 17.6025,9.04141689 15.864375,10.5716621 L15.375,11 L14.885625,10.5683924 Z",id:"el_7PCBmmds0c"}))),React.createElement("g",{id:"el_bOn6_Lkvw0_an_NB5bG0XGUT","data-animator-group":"true","data-animator-type":"0"},React.createElement("g",{id:"el_bOn6_Lkvw0_an_rE0dVlV53","data-animator-group":"true","data-animator-type":"2"},React.createElement("path",{d:"M4.92375,3.71226158 C3.765,2.69427793 3,2.02288828 3,1.19891008 C3,0.527520436 3.5445,0 4.2375,0 C4.629,0 5.00475,0.176566757 5.25,0.455585831 C5.49525,0.176566757 5.871,0 6.2625,0 C6.9555,0 7.5,0.527520436 7.5,1.19891008 C7.5,2.02288828 6.735,2.69427793 5.57625,3.71444142 L5.25,4 L4.92375,3.71226158 Z",id:"el_bOn6_Lkvw0"})))))),React.createElement("p",{className:"text-xs font-sans m-0",style:{color:n}},(0,a.__)("We use Social")))}},6464:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var a=n(8974),r=n(5856);const o=e=>{const{optionStore:t}=(0,a.g)(),n=e.socialIcons.filter((e=>e.visible)),o=e.footerLinks.filter((e=>e.visible));return React.createElement("footer",{className:"flex flex-col gap-3 w-10/12 m-auto "+(o.length>0||n.length>0?"mt-3":"")},React.createElement("div",{className:"flex items-center justify-center gap-4 flex-wrap"},t.others.isPremium&&n.map((e=>React.createElement("a",{key:e.id,className:"flex items-center justify-center",href:`${e.url}${e.username}`,target:"_blank",rel:"noopener noreferrer"},React.createElement(r.A,{src:`${t.publicUrl}images/socialIcons/${e.id}.svg`,width:25,height:25}))))),React.createElement("div",{className:"flex items-center justify-center gap-3 flex-wrap"},o.map((e=>React.createElement("a",{key:e.id,className:"text-xs flex items-center justify-center",href:`http://${e.url}`,target:"_blank",rel:"noopener noreferrer"},e.title)))))}},2674:function(e,t,n){"use strict";n.d(t,{Y:function(){return a}});const a=e=>React.createElement("header",{className:`flex flex-col ${e.leftAlign?"items-start text-left "+(e.card?"ml-2":"ml-3.5"):"items-center text-center mx-auto"} ${e.template?(e.frameLayout?"pb-0":"pb-3")+" w-10/12 gap-1.5":(e.frameLayout?"pb-0":"pb-5")+" gap-2"}`},e.avatar.length>0&&React.createElement("img",{src:e.avatar,className:(e.card?"":"w-20 h-20")+" my-0 border-none object-cover mb-1 object-center rounded-full",style:e.template?2==e.templateVariation?{width:"3.75rem",height:"3.75rem"}:{width:"3.25rem",height:"3.25rem"}:e.card?{width:"4.5rem",height:"4.5rem"}:null}),React.createElement("div",{className:(e.leftAlign&&e.card,"contents")},React.createElement("h2",{className:"font-medium normal-case tracking-normal my-0 py-0 "+(e.template?"text-xs":"text-base")},e.title),React.createElement("p",{className:"normal-case tracking-normal my-0 "+(e.template?"text-xs max-w-full truncate":"")},e.description)))},5755:function(e,t,n){"use strict";n.d(t,{$:function(){return I}});var a=n(9575),r=n(8231),o=n(8974),l=n(8383),c=n(7093),s=n(1594),i=n(2549),d=n(2561),u=n(8842),m=n(3139),p=n(9495),f=n(8221),g=n(3167),y=n(7682),h=n(8953),b=n(7213),w=n(3247),v=n(1921),E=n(1215),R=n(4715),k=n(7765),x=n(1633),C=n(7768),N=n(3176),_=n(1599),S=n(432),T=n(9269),P=n(9279),$=n(8955);const I=e=>{const{optionStore:t}=(0,o.g)(),[n,I]=(0,$.ok)(),[O,A]=(0,s.useState)(!e.card&&(e.content.content.open||!1)),B={Blog:d.d,YouTube:u.Y,Donation:m.$,ContactForm:p.D,Facebook:f.f,Calendly:g.t,Document:y.y,WooCommerce:h.V,Spotlight:b.L,Spotify:w.R,ContactInfo:v.L,Pinterest:E.t,TikTok:R.$,EmailSignup:k.P,Vimeo:x.H,Twitch:C.Y,Shortcode:N.A,DiscountCode:_.r,Text:S.E,X:T.X},j="Link"==e.content.type||e.content.content.hasOwnProperty(`Edit${e.content.type}`)&&e.content.content[`Edit${e.content.type}`].hasOwnProperty("embed")&&!e.content.content[`Edit${e.content.type}`].embed,F=j?"a":"button",L=B[e.content.type],U=!j&&"Blog"!==e.content.type&&"YouTube"!==e.content.type&&"Twitch"!==e.content.type&&"Facebook"!==e.content.type&&"Vimeo"!==e.content.type&&O,M=e.content.content.hasOwnProperty(`Edit${e.content.type}`)&&e.content.content[`Edit${e.content.type}`].hasOwnProperty("embed")&&e.content.content[`Edit${e.content.type}`].embed&&"Calendly"!==e.content.type&&"Spotify"!==e.content.type&&"X"!==e.content.type&&"TikTok"!==e.content.type&&"Pinterest"!==e.content.type&&O;return(0,s.useEffect)((()=>{n.get("payment")||A(!e.card&&(e.content.content.open||!1))}),[e.content.content.open]),React.createElement(React.Fragment,null,React.createElement(F,(0,a.A)({tabIndex:0,className:"mb-3 p-0 block text-center overflow-hidden relative transition-all "+(U?"shadow-lg bg-white text-gray-900":"delay-500")},t.others.isPremium&&e.content.content.hasOwnProperty("AddAnimation")&&""!==e.content.content.AddAnimation.type&&!O&&!e.card&&{"data-animation":e.content.content.AddAnimation.type},j&&{href:e.content.content.link,target:"_blank",rel:"noopener noreferrer"}),React.createElement("div",{onClick:()=>{j||A(!O),!O&&navigator.sendBeacon(`${t.restUrl}bio-link/analytics`,new Blob([JSON.stringify({data:{linkId:e.content.id,id:e.id,referrer:document.referrer}})],{type:"application/json;charset=UTF-8"}))},className:`w-full relative ${e.template?2==e.templateVariation?"py-2.5 px-6 text-xs":"py-2 px-6 text-xs":"py-4 px-12"} font-medium transition-all ${e.card?"truncate":""} ${U?"border-b border-grey-300":"delay-500"}\n ${M?"opacity-0":"opacity-1 delay-500"}`},e.content.content.hasOwnProperty("AddThumbnail")&&e.content.content.AddThumbnail.url.length>0&&React.createElement("div",{className:`absolute flex items-center justify-start thumbnail overflow-hidden -translate-y-1/2 top-1/2 left-1 transform transition-opacity ${e.template?"w-5 h-5 text-xl":"w-9 h-9 text-3xl"} ${U?"opacity-0":"opacity-1 delay-500"}`},React.createElement(r.f,{type:e.content.content.AddThumbnail.type,url:e.content.content.AddThumbnail.url})),e.content.title,e.content.content.hasOwnProperty("description")&&React.createElement("p",{className:"text-xs opacity-75"},e.content.content.description),!j&&React.createElement("div",{className:"absolute flex items-center justify-start thumbnail overflow-hidden -translate-y-1/2 top-1/2 right-1 text-3xl transform w-6 h-6"},React.createElement(l.A,{className:"w-4 h-4 transition ease-in-out duration-150 "+(O?"rotate-180 transform":"")}))),!j&&!e.card&&React.createElement(i.A,{duration:600,height:O?"auto":0,easing:"cubic-bezier(1,-0.5,0,1.6)"},React.createElement(L,(0,a.A)({},e.content.content[`Edit${e.content.type}`],{bioLinkId:e.id,linkId:e.content.id,open:O,slug:e.slug,preview:e.preview,searchParams:n,setSearchParams:I,setButtonOpen:A},e.content?.content?.link&&{link:e.content?.content?.link})))),React.createElement(P.e,{className:"m-auto mb-8",show:!j&&O,enter:"transition-opacity delay-500 duration-150",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity duration-150",leaveFrom:"opacity-100",leaveTo:"opacity-0"},React.createElement("button",{className:"close-button p-0 w-8 h-8 relative rounded-full",onClick:()=>A(!O)},React.createElement("div",{className:"w-full h-full rounded-full"}),React.createElement(c.A,{className:"w-4 h-4 absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"}))))}},2716:function(e,t,n){"use strict";n.d(t,{Y:function(){return a}});const a=e=>React.createElement("div",{className:"header pt-6 pb-4 text-center"},React.createElement("h3",{className:"font-medium text-sm my-0"},e.title))},2561:function(e,t,n){"use strict";n.d(t,{d:function(){return s}});var a=n(1594),r=n(8974),o=n(8231),l=n(530),c=n(1509);const s=e=>{const{optionStore:t}=(0,r.g)(),[n,s]=(0,a.useState)({loading:!0,posts:[]});return(0,a.useEffect)((()=>{(async()=>{const e=await fetch(`${t.restRoot}wp/v2/posts?per_page=9&_embed`),n=await e.json();s({loading:!1,posts:n})})()}),[]),React.createElement(React.Fragment,null,n.loading?React.createElement("div",{role:"status",className:"loader blog-link"},React.createElement("svg",{className:"inline my-3 w-4 h-4 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("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"}),React.createElement("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"})),React.createElement("span",{className:"sr-only"},"Loading...")):n.posts.length?n.posts.slice(0,e.postCount).map((t=>React.createElement("a",{key:t.id,href:t.link,className:"blog-link block border-t-1 border-b-0 border-l-0 border-r-0",target:"_blank"},React.createElement("div",{className:"py-3 px-12 relative"},(0,c.decode)(t.title.rendered),e.thumbnails&&t._embedded["wp:featuredmedia"]&&t._embedded["wp:featuredmedia"].length>0&&React.createElement("div",{className:"absolute flex items-center justify-start thumbnail overflow-hidden -translate-y-1/2 top-1/2 left-1 text-3xl transform w-9 h-9"},React.createElement(o.f,{url:t._embedded["wp:featuredmedia"][0].hasOwnProperty("media_details")&&t._embedded["wp:featuredmedia"][0].media_details.hasOwnProperty("sizes")&&(t._embedded["wp:featuredmedia"][0].media_details.sizes.hasOwnProperty("thumbnail")||t._embedded["wp:featuredmedia"][0].media_details.sizes.hasOwnProperty("medium"))?t._embedded["wp:featuredmedia"][0].media_details.sizes.hasOwnProperty("thumbnail")?t._embedded["wp:featuredmedia"][0].media_details.sizes.thumbnail.source_url:t._embedded["wp:featuredmedia"][0].media_details.sizes.hasOwnProperty("medium")?t._embedded["wp:featuredmedia"][0].media_details.sizes.medium.source_url:"":t._embedded["wp:featuredmedia"][0].hasOwnProperty("source_url")?t._embedded["wp:featuredmedia"][0].source_url:"",type:"image"})))))):React.createElement("div",{className:"blog-link py-3"},(0,l.__)("No posts found.")))}},3167:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});const a=e=>React.createElement("div",{className:(e.preview?"p-0":"md:p-10 p-0")+" bg-white"},React.createElement("iframe",{className:e.preview?"":"md:border md:rounded-2xl md:border-gray-200",src:e.embedUrl,height:"580",frameBorder:"0"}))},9495:function(e,t,n){"use strict";n.d(t,{D:function(){return d}});var a=n(9337),r=n(4927),o=n(1594),l=n(530),c=n(7169),s=n(9606),i=n(8974);const d=e=>{const{optionStore:t}=(0,i.g)(),[n,d]=(0,o.useState)("form"),u=(0,o.useRef)(null),m=(0,o.useCallback)((async()=>await(0,l.Em)({location:a.V})),[]),p=(0,o.useCallback)((async e=>await(0,l.Em)({location:r.e,request:{data:e}})),[]);return React.createElement("div",{className:(e.preview?"p-7":"md:p-10 p-7")+" bg-white"},"success"===n?React.createElement(React.Fragment,null,React.createElement("p",{className:"mb-5"},e.submitMessage.visible&&t.others.isPremium?e.submitMessage.description:(0,l.__)("Thank you for your message.")),React.createElement("a",{onClick:()=>{u.current?.reset(),d("form")},className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},React.createElement(s.A,{className:"mr-2 w-4 h-4"}),(0,l.__)("Go back"))):React.createElement(React.Fragment,null,e.description.length>0&&React.createElement("p",{className:"mb-5"},e.description),React.createElement("form",{onSubmit:t=>(async t=>{t.preventDefault(),d("loading");const n=t.target,a=new FormData(n);m().then((t=>{p({id:e.linkId,bioLinkId:e.bioLinkId,token:t.data.token,fields:Object.fromEntries(a.entries())}).then((e=>{e.success?d("success"):d("error")}))}))})(t)},c.a.filter((t=>!0===e.fields[t.id].visible)).map(((t,n,a)=>"textarea"===t.type?React.createElement("textarea",{rows:4,name:t.id,id:t.id,placeholder:t.placeholder,required:e.fields[t.id].required||1===a.length,className:"border border-gray-200 my-4 text-sm rounded-2xl focus:ring-gray-300 focus:border-gray-300 block w-full p-3"}):React.createElement("input",{name:t.id,id:t.id,type:t.type,placeholder:t.placeholder,required:e.fields[t.id].required||1===a.length,className:"border border-gray-200 my-4 text-sm rounded-2xl focus:ring-gray-300 focus:border-gray-300 block w-full p-3"}))),React.createElement("button",{disabled:"loading"===n,type:"submit",className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},(0,l.__)("Submit"),"loading"===n&&React.createElement("div",{role:"status",className:"loader blog-link"},React.createElement("svg",{className:"inline ml-2 w-4 h-4 text-gray-800 fill-white animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("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:"transparent"}),React.createElement("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"})),React.createElement("span",{className:"sr-only"},"Loading..."))),"error"===n&&React.createElement("p",{className:"mt-5"},(0,l.__)("An unexpected error occurred. Please try again."))),e.terms.visible&&t.others.isPremium&&React.createElement("p",{className:"mt-4 text-xs"},e.terms.description,e.terms.link.length>0&&React.createElement("a",{className:"ml-1 shadow-none border-none bg-transparent text-gray-800 hover:text-gray-900",href:(0,l.bo)(e.terms.link),rel:"noreferrer",target:"_blank"},(0,l.__)("Learn more")))))}},1921:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var a=n(3590),r=n(3713),o=n(7993),l=n(4399),c=n(530),s=n(1594);const i=e=>{const[t,n]=(0,s.useState)("");return(0,s.useEffect)((()=>{n(function(e,t,n,a,r){const o=[];return e&&o.push(e),t&&o.push(t),n&&o.push(n),a&&o.push(a),r&&o.push(r),o.join(", ")}(e.street,e.apartment,e.city,e.postalCode,e.country))}),[e]),React.createElement("div",{className:(e.preview?"p-7":"md:p-10 p-7")+" bg-white"},React.createElement("div",{className:"flex flex-col gap-3.5"},React.createElement("div",null,React.createElement("h6",{className:"text-sm font-medium text-gray-900 mb-1"},e.firstName," ",e.lastName),React.createElement("h6",{className:"text-sm font-normal text-gray-900"},e.position?`${e.position} ยท`:""," ",e.organization)),""!==e.email1Type&&(0,c.Sr)(e.email1)||""!==e.email2Type&&(0,c.Sr)(e.email2)?React.createElement("div",{className:"flex text-left items-start"},React.createElement(a.A,{size:20,className:"inline-block text-gray-900 mr-2 flex-shrink-0"}),React.createElement("div",{className:"flex flex-col gap-3"},""!==e.email1Type&&(0,c.Sr)(e.email1)?React.createElement("div",null,React.createElement("p",{className:"font-medium text-gray-900"},(0,c.Xw)(e.email1Type)),React.createElement("p",{onClick:()=>{window.location.href=`mailto:${e.email1}`},className:"text-gray-900"},e.email1)):"",""!==e.email2Type&&(0,c.Sr)(e.email2)?React.createElement("div",null,React.createElement("p",{className:"font-medium text-gray-900"},(0,c.Xw)(e.email2Type)),React.createElement("p",{onClick:()=>{window.location.href=`mailto:${e.email2}`},className:"text-gray-900"},e.email2)):"")):"",""!==e.phone1Type&&(0,c.ni)(e.phone1)||""!==e.phone2Type&&(0,c.ni)(e.phone2)?React.createElement("div",{className:"flex text-left items-start"},React.createElement(r.A,{size:20,className:"inline-block text-gray-900 mr-2 flex-shrink-0"}),React.createElement("div",{className:"flex flex-col gap-3"},""!==e.phone1Type&&(0,c.ni)(e.phone1)?React.createElement("div",null,React.createElement("p",{className:"font-medium text-gray-900"},(0,c.Xw)(e.phone1Type)),React.createElement("p",{onClick:()=>{window.location.href=`tel:${e.phone1}`},className:"text-gray-900"},e.phone1)):"",""!==e.phone2Type&&(0,c.ni)(e.phone2)?React.createElement("div",null,React.createElement("p",{className:"font-medium text-gray-900"},(0,c.Xw)(e.phone2Type)),React.createElement("p",{onClick:()=>{window.location.href=`tel:${e.phone2}`},className:"text-gray-900"},e.phone2)):"")):"",t.length>0?React.createElement("div",{className:"text-left flex text-left items-start"},React.createElement(o.A,{size:20,className:"text-gray-900 inline-block mr-2 flex-shrink-0"}),React.createElement("p",{className:"text-gray-900"},t)):"",e.openingHours.length>0?React.createElement("div",{className:"text-left flex text-left items-start"},React.createElement(l.A,{size:20,className:"text-gray-900 inline-block mr-2 flex-shrink-0"}),React.createElement("p",{className:"text-gray-900"},e.openingHours)):""),React.createElement("a",{onClick:()=>(()=>{const t=`BEGIN:VCARD\nVERSION:3.0\nN:${e.lastName};${e.firstName}\nFN:${e.firstName} ${e.lastName}\nORG:${e.organization}\nTITLE:${e.position}\nEMAIL;TYPE=${e.email1Type}:${e.email1}\nEMAIL;TYPE=${e.email2Type}:${e.email2}\nTEL;TYPE=${e.phone1Type}:${e.phone1}\nTEL;TYPE=${e.phone2Type}:${e.phone2}\nADR;TYPE=HOME:;;${e.street};${e.city};;${e.postalCode};${e.country}\nREV:${(new Date).toISOString()}\nEND:VCARD`,n=document.createElement("a");n.href=`data:text/vcard;charset=utf-8,${encodeURIComponent(t)}`,n.download="contact.vcf",n.click()})(),rel:"noreferrer noopener",className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm mt-5 focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},(0,c.__)("Save to contacts")))}},1599:function(e,t,n){"use strict";n.d(t,{r:function(){return l}});var a=n(1594),r=n(5233),o=n(530);const l=e=>{const[t,n]=(0,a.useState)(!1);return React.createElement("div",{className:(e.preview?"p-7":"md:p-10 p-7")+" bg-white"},e.description.length>0&&React.createElement("p",{className:"mb-5"},e.description),React.createElement("div",{className:"p-5 gap-5 justify-between flex border border-gray-200 items-center rounded-lg"},React.createElement("span",{className:"font-medium truncate"},e.code),React.createElement("div",{onClick:async()=>{await navigator.clipboard.writeText(e.code),n(!0),setTimeout((()=>{n(!1)}),2500)},role:"button",className:"bg-transparent relative whitespace-pre border border-gray-200 text-gray-800 font-medium rounded-full px-3.5 p-2"},React.createElement("span",{style:{opacity:t?0:1}},(0,o.__)("Copy code")),React.createElement("span",{className:"absolute inset-0 flex items-center justify-center",style:{opacity:t?1:0}},(0,o.__)("Copied")))),React.createElement("a",{href:e.link,target:"_blank",rel:"noreferrer noopener",className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm mt-5 focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},e.buttonText,React.createElement(r.A,{className:"ml-2 w-4 h-4"})))}},7682:function(e,t,n){"use strict";n.d(t,{y:function(){return c}});var a=n(530),r=n(1594),o=n(6770),l=n(5233);o.Uy.GlobalWorkerOptions.workerSrc=`//cdnjs.cloudflare.com/ajax/libs/pdf.js/${o.Uy.version}/pdf.worker.js`;const c=e=>{const t=e.preview?"200":"350",[n,c]=(0,r.useState)(null),s=(0,r.useRef)(null);return(0,r.useEffect)((()=>{s.current&&(s.current.style.height=`${t}px`)}),[n]),React.createElement("div",{className:(e.preview?"p-7":"md:p-10 p-7")+" bg-white"},React.createElement("div",{className:"relative rounded-lg w-full",style:{background:"#fafafa",margin:"auto",height:1.25*parseInt(t)+"px",overflowY:"scroll",display:"flex",justifyContent:"center"}},React.createElement("div",{className:"absolute left-0 top-0 bg-gray-100 text-gray-800 m-5 p-1 text-sm font-medium rounded-lg"},null!==n&&`1 of ${n}`),React.createElement(o.yo,{inputRef:s,className:"flex flex-col gap-11 relative m-auto",loading:"",onLoadSuccess:e=>c(e.numPages),file:e.link},Array.apply(null,Array(n)).map(((e,t)=>t+1)).map((e=>React.createElement(o.YW,{className:"shadow-sm",height:t,loading:"",key:e,pageNumber:e,renderAnnotationLayer:!1,renderTextLayer:!1}))))),e.description.length>0&&React.createElement("p",{className:"mt-5"},e.description),React.createElement("a",{href:e.link,target:"_blank",rel:"noreferrer noopener",className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm mt-5 focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},(0,a.__)("View"),React.createElement(l.A,{className:"ml-2 w-4 h-4"})))}},3139:function(e,t,n){"use strict";n.d(t,{$:function(){return m}});var a=n(1452),r=n(1594),o=n(1553),l=n(9606),c=n(5233),s=n(8974),i=n(530),d=n(3126),u=n.n(d);n(9355);const m=e=>{const{optionStore:t}=(0,s.g)(),n=(0,r.useRef)(null),[d,m]=(0,r.useState)(e.amounts[0]),[p,f]=(0,r.useState)("0"),g=e.amounts.slice(0,t.others.isPremium?e.amounts.length:3);return(0,r.useEffect)((()=>{e.searchParams.get("payment")==e.linkId&&(e.open||e.setButtonOpen(!0),setTimeout((()=>{n.current?.scrollIntoView({behavior:"smooth"})}),1e3))}),[e.searchParams]),React.createElement("div",{ref:n,className:(e.preview?"p-7":"md:p-10 p-7")+" bg-white"},e.searchParams.get("payment")==e.linkId?React.createElement(React.Fragment,null,React.createElement("p",{className:"mb-5"},(0,i.__)("Thank you for your donation.")),React.createElement("a",{onClick:()=>{e.searchParams.delete("payment"),e.setSearchParams(e.searchParams)},className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},React.createElement(l.A,{className:"mr-2 w-4 h-4"}),(0,i.__)("Go back"))):React.createElement(React.Fragment,null,e.description.length>0&&React.createElement("p",{className:"mb-5"},e.description),React.createElement(o.z,{className:`grid ${e.preview?"grid-cols-1":`md:grid-cols-${e.customAmount&&t.others.isPremium?g.length+1:g.length} grid-cols-1`} gap-2 mb-4`,value:d,onChange:e=>m(e)},g.map(((t,n)=>React.createElement(o.z.Option,{key:n,value:t},(n=>{let{checked:a}=n;return React.createElement("div",{className:"flex items-center bg-white justify-center text-lg w-full h-full text-gray-800 focus:ring-4 focus:outline-none focus:ring-gray-300 hover:text-black hover:bg-gray-50 p-3 border rounded-2xl border-gray-200 "+(a?"border-gray-800 text-gray-900 border-2":"")},u()(e.currency),t)})))),e.customAmount&&t.others.isPremium&&React.createElement(o.z.Option,{value:"custom"},(t=>{let{checked:n}=t;return React.createElement("div",{className:"flex items-center bg-white justify-center text-lg w-full h-full text-gray-800 focus:ring-4 focus:outline-none focus:ring-gray-300 hover:text-black hover:bg-gray-50 p-3 border rounded-2xl border-gray-200 "+(n?"border-gray-800 text-gray-900 border-2":"")},n?React.createElement(React.Fragment,null,u()(e.currency),React.createElement(a.g,{defaultValue:p,onSave:e=>f(e.value),placeholder:0,type:"number",min:1,key:p})):(0,i.__)("Custom"))}))),React.createElement("form",{action:"https://www.paypal.com/donate",method:"post"},React.createElement("input",{type:"hidden",name:"no_recurring",value:"0"}),React.createElement("input",{type:"hidden",name:"business",value:e.clientId}),React.createElement("input",{type:"hidden",name:"item_name",value:e.description}),React.createElement("input",{type:"hidden",name:"currency_code",value:e.currency}),React.createElement("input",{type:"hidden",name:"cancel_return",value:window.location.href}),React.createElement("input",{type:"hidden",name:"amount",value:"custom"==d?p:d}),React.createElement("input",{type:"hidden",name:"return",value:`${window.location.href}?payment=${e.linkId}`}),parseInt(p)>=0?React.createElement("button",{type:"submit",className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},(0,i.__)("Continue"),React.createElement(c.A,{className:"ml-2 w-4 h-4"})):React.createElement("p",null,(0,i.__)("Please enter a valid amount to continue.")))))}},7765:function(e,t,n){"use strict";n.d(t,{P:function(){return c}});var a=n(530),r=n(1594),o=n(2819),l=n(9606);const c=e=>{const[t,n]=(0,r.useState)("form"),[c,s]=(0,r.useState)(""),i=(0,r.useCallback)((async t=>await(0,a.Em)({location:o.t,request:{email:t,bioLinkId:e.bioLinkId,linkId:e.linkId}})),[]);return React.createElement("div",{className:(e.preview?"p-7":"md:p-10 p-7")+" bg-white"},"success"===t?React.createElement(React.Fragment,null,React.createElement("p",{className:"mb-5"},e.submitMessage.visible?e.submitMessage.description:(0,a.__)("Thank you for subscribing.")),React.createElement("a",{onClick:()=>{n("form")},className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},React.createElement(l.A,{className:"mr-2 w-4 h-4"}),(0,a.__)("Go back"))):React.createElement(React.Fragment,null,e.description.length>0&&React.createElement("p",{className:"mb-5"},e.description),React.createElement("form",{onSubmit:async e=>{e.preventDefault(),n("loading"),(await i(c)).data.error.length>0?n("error"):(n("success"),s(""))}},React.createElement("input",{name:"email",onChange:e=>s(e.target.value),value:c,id:"email",type:"email",placeholder:(0,a.__)("Email address"),required:!0,className:"border border-gray-200 my-4 text-sm rounded-2xl focus:ring-gray-300 focus:border-gray-300 block w-full p-3"}),React.createElement("button",{disabled:"loading"===t,type:"submit",className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},(0,a.__)("Subscribe"),"loading"===t&&React.createElement("div",{role:"status",className:"loader blog-link"},React.createElement("svg",{className:"inline ml-2 w-4 h-4 text-gray-800 fill-white animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("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:"transparent"}),React.createElement("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"})),React.createElement("span",{className:"sr-only"},"Loading..."))),"error"===t&&React.createElement("p",{className:"mt-5"},(0,a.__)("An unexpected error occurred. Please try again."))),e.terms.visible&&React.createElement("p",{className:"mt-4 text-xs"},e.terms.description,e.terms.link.length>0&&React.createElement("a",{className:"ml-1 shadow-none border-none bg-transparent text-gray-800 hover:text-gray-900",href:(0,a.bo)(e.terms.link),rel:"noreferrer",target:"_blank"},(0,a.__)("Learn more")))))}},8221:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var a=n(865),r=n(1594);const o=e=>{const[t,n]=(0,r.useState)(null);return(0,r.useEffect)((()=>{null!=t&&(e.open?e.autoplay&&t.play():t.pause())}),[e.open]),React.createElement("div",{style:{marginTop:"-53px"},className:"transition-opacity bg-black "+(e.open?"opacity-100":"opacity-0 delay-300")},React.createElement(a.A,{width:"auto",autoplay:e.autoplay&&e.open,id:e.linkId,mute:e.mute,onReady:n}))}},1215:function(e,t,n){"use strict";n.d(t,{t:function(){return l}});var a=n(5233),r=n(530),o=n(1594);const l=e=>((0,o.useEffect)((()=>{window.doBuild?window.doBuild():(()=>{const e=document.createElement("script");e.async=!0,e.dataset.pinBuild="doBuild",e.src="//assets.pinterest.com/js/pinit.js",document.body.appendChild(e)})()}),[e.embedUrl]),React.createElement("div",{className:(e.preview?"p-7":"md:p-10 p-7")+" bg-white"},React.createElement("div",{className:"overflow-hidden rounded-lg"},null!==e.embedUrl?React.createElement("div",{key:e.embedUrl,className:"mb-5"},React.createElement("a",{"data-pin-do":/pin\/\w+/.test(e.embedUrl)?"embedPin":/\/\w+\/\w+/.test(e.embedUrl)?"embedBoard":"embedUser","data-pin-build":"doBuild",href:e.embedUrl})):null),React.createElement("a",{href:e.embedUrl,target:"_blank",rel:"noreferrer noopener",className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},(0,r.__)("Open in Pinterest"),React.createElement(a.A,{className:"ml-2 w-4 h-4"}))))},3176:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var a=n(1594),r=n(2804);const o=e=>{const[t,n]=(0,a.useState)(!0),[o,l]=(0,a.useState)(!1),[c,s]=(0,a.useState)(Math.random());return(0,a.useEffect)((()=>{let t;return e.preview&&o&&(n(!0),t=setTimeout((()=>{s(Math.random())}),5e3)),()=>{t&&clearTimeout(t)}}),[e?.__private__tag]),React.createElement("div",{className:(e.preview?"p-7":"md:p-10 p-7")+" bg-white"},React.createElement(r.A,{key:c,className:"w-full shortcode-iframe "+(t?"hidden":""),src:`${window.location.origin}?cms-landingpages=${e.slug}&shortcode=${e.linkId}`,onLoad:()=>{n(!1),o||l(!0)}}),t&&React.createElement("div",{role:"status"},React.createElement("svg",{className:"inline ml-2 w-4 h-4 fill-current text-gray-800 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("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:"transparent"}),React.createElement("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"})),React.createElement("span",{className:"sr-only"},"Loading...")))}},3247:function(e,t,n){"use strict";n.d(t,{R:function(){return l}});var a=n(7838),r=n(5233),o=n(530);const l=e=>React.createElement("div",{className:(e.preview?"p-7":"md:p-10 p-7")+" bg-white"},React.createElement("div",{className:"overflow-hidden rounded-lg"},null!==e.embedUrl?React.createElement(a.R,{link:e.embedUrl,wide:e.embedUrl.includes("track")||e.embedUrl.includes("episode")}):null),React.createElement("a",{href:e.embedUrl,target:"_blank",rel:"noreferrer noopener",className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm mt-5 focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},(0,o.__)("Open in Spotify"),React.createElement(r.A,{className:"ml-2 w-4 h-4"})))},7213:function(e,t,n){"use strict";n.d(t,{L:function(){return c}});var a=n(530),r=n(8974),o=n(1594),l=n(5233);const c=e=>{const{optionStore:t}=(0,r.g)(),[n,c]=(0,o.useState)({feed:{},accounts:[],loading:!0});return(0,o.useEffect)((()=>{c((e=>({...e,loading:!0}))),fetch(`${t.restUrl}bio-link/sli/feed?id=${e.feed}`,{method:"GET"}).then((e=>{e.json().then((e=>{c((t=>({...t,feed:e.feed,accounts:e.accounts,loading:!1}))),window.SpotlightInstagram.init()}))}))}),[e.feed]),React.createElement("div",{className:"bg-white"},n.loading?React.createElement("div",{role:"status",className:"loader"},React.createElement("svg",{className:"inline my-3 w-4 h-4 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("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"}),React.createElement("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"})),React.createElement("span",{className:"sr-only"},"Loading...")):n.accounts.length>0?React.createElement("div",{className:e.preview?"p-7":"p-7 md:p-10"},React.createElement("div",{className:"spotlight-instagram-feed -mt-2","data-feed-var":e.linkId+e.feed,"data-instance":e.bioLinkId,"data-analytics":"0"}),React.createElement("input",{type:"hidden",id:`sli__f__${e.linkId+e.feed}`,"data-json":JSON.stringify(n.feed)}),React.createElement("input",{type:"hidden",id:`sli__a__${e.linkId+e.feed}`,"data-json":JSON.stringify(n.accounts)}),React.createElement("a",{href:`https://instagram.com/${n.accounts[0].username}`,target:"_blank",rel:"noreferrer noopener",className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm mt-5 focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},(0,a.__)("View on Instagram"),React.createElement(l.A,{className:"ml-2 w-4 h-4"}))):React.createElement("div",{className:"text-gray-800 p-7"},(0,a.__)("No feed found.")))}},432:function(e,t,n){"use strict";n.d(t,{E:function(){return r}});var a=n(5233);const r=e=>React.createElement("div",{className:(e.preview?"p-7":"md:p-10 p-7")+" bg-white"},e.text.length>0&&React.createElement("p",null,e.text),e.buttonText.length>0&&e.buttonUrl.length>0&&React.createElement("a",{href:e.buttonUrl,target:"_blank",rel:"noreferrer noopener",className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm mt-5 focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},e.buttonText,React.createElement(a.A,{className:"ml-2 w-4 h-4"})))},4715:function(e,t,n){"use strict";n.d(t,{$:function(){return c}});var a=n(9575),r=n(5233),o=n(530),l=n(1594);const c=e=>{const t=(0,l.useCallback)((()=>{const e="tiktok-embed-script";document.getElementById(e)&&document.getElementById(e).remove();const t=document.createElement("script");t.src="https://www.tiktok.com/embed.js",t.async=!0,t.id=e,document.body.appendChild(t)}),[]);(0,l.useEffect)((()=>{t()}),[e.embedUrl]);const n=(e.embedUrl||"").match(/(?:http[s]?:\/\/)?(?:www\.)?tiktok\.com\/(?:@([\w.-]+)(?:\/video\/(\d+))?|@([\w.-]+))/);return React.createElement("div",{className:(e.preview?"px-7 pb-7 pt-2":"md:pb-10 md:px-10 md:pt-4 pt-2 pb-7 px-7")+" bg-white"},React.createElement("div",{className:"overflow-hidden rounded-lg"},null!==e.embedUrl?React.createElement("blockquote",(0,a.A)({key:e.embedUrl,className:"tiktok-embed",cite:e.embedUrl,"data-embed-type":void 0!==n[2]?"video":"creator",style:{maxWidth:780,minWidth:288}},void 0!==n[2]?{"data-video-id":n[2]}:{"data-unique-id":n[1]}),React.createElement("section",null)):null),React.createElement("a",{href:e.embedUrl,target:"_blank",rel:"noreferrer noopener",className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm mt-5 focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},(0,o.__)("Open in TikTok"),React.createElement(r.A,{className:"ml-2 w-4 h-4"})))}},7768:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var a=n(1594),r=n(2700);const o=(0,a.memo)((e=>{const t=(0,a.useRef)(null);return(0,a.useEffect)((()=>{t.current&&(e.open?e.autoplay&&t.current?.play():t.current?.pause())}),[e.open]),React.createElement("div",{className:"pt-0 overflow-hidden h-0",style:{paddingBottom:"56.25%"}},e.channelName&&!e.videoId&&!e.clipId&&React.createElement(r.JP,{onReady:e=>t.current=e,id:e.linkId,channel:e.channelName,autoplay:e.autoplay&&e.open,muted:e.mute,className:"w-full h-full absolute top-0 left-0 transition-opacity "+(e.open?"opacity-100":"opacity-0 delay-300")}),e.videoId&&React.createElement(r.JP,{onReady:e=>t.current=e,id:e.linkId,video:e.videoId,autoplay:e.autoplay&&e.open,muted:e.mute,className:"w-full h-full absolute top-0 left-0 transition-opacity "+(e.open?"opacity-100":"opacity-0 delay-300")}),e.clipId&&e.open&&React.createElement(r.kx,{id:e.linkId,clip:e.clipId,autoplay:e.autoplay&&e.open,muted:e.mute,className:"w-full h-full absolute top-0 left-0 transition-opacity "+(e.open?"opacity-100":"opacity-0 delay-300")}))}))},1633:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var a=n(848),r=n(1594);const o=e=>{const[t,n]=(0,r.useState)(!0);return(0,r.useEffect)((()=>{e.open?e.autoplay&&n(!1):n(!0)}),[e.open]),React.createElement(a.A,{key:e.id+e.autoplay+e.mute,className:"transition-opacity -mt-14 "+(e.open?"opacity-100":"opacity-0 delay-300"),video:e.id,muted:e.mute,responsive:!0,paused:t,playsInline:!0,autopause:!0,showTitle:!1,showByline:!1,onPlay:()=>n(!1),onPause:()=>n(!0)})}},8953:function(e,t,n){"use strict";n.d(t,{V:function(){return s}});var a=n(530),r=n(1594),o=n(5233),l=n(8974),c=n(1509);const s=e=>{const[t,n]=(0,r.useState)({loading:!0,products:[],shop:""}),{optionStore:s}=(0,l.g)();return(0,r.useEffect)((()=>{n((e=>({...e,loading:!0}))),fetch(`${s.restUrl}bio-link/wc/${"individual"===e.type?"products":"categories"}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ids:e.selected})}).then((e=>e.json())).then((e=>n({loading:!1,products:e.data.hasOwnProperty("products")?e.data.products:[],shop:e.data.hasOwnProperty("shop_url")?e.data.shop_url:""})))}),[e.selected]),React.createElement("div",{className:(e.preview?"py-7":"md:py-10 py-7")+" bg-white"},React.createElement(React.Fragment,null,t.loading?React.createElement("div",{role:"status",className:"loader"},React.createElement("svg",{className:"inline w-4 h-4 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("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"}),React.createElement("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"})),React.createElement("span",{className:"sr-only"},"Loading...")):t.products.length>0?React.createElement(React.Fragment,null,React.createElement("div",{className:"flex overflow-x-scroll gap-5 pb-5 no-scrollbar"},t.products.map(((n,r)=>React.createElement("div",{onClick:()=>window.open(n.permalink,"_blank"),key:n.id,className:`text-center flex items-center justify-center flex-col gap-1 flex-shrink-0 ${0==r?e.preview?"ml-7":"md:ml-10 ml-7":"ml-0"} ${r==t.products.length-1?e.preview?"mr-7":"md:mr-10 mr-7":"mr-0"}`},React.createElement("div",{className:"bg-gray-50 p-3 rounded-lg w-fit"},React.createElement("img",{draggable:!1,className:(e.preview?"w-36 h-36":"md:w-52 md:h-52 w-44 h-44")+" object-cover rounded-lg border-none",src:n.image})),React.createElement("h6",{className:"mt-3 text-sm text-gray-900 md:w-52 w-44 truncate"},n.title),React.createElement("span",{className:"text-sm text-gray-600"},parseInt(n.price.replace(/\D/g,""))>0?(0,c.decode)(n.price):(0,a.__)("Free")))))),React.createElement("div",{className:e.preview?"px-7":"md:px-10 px-7"},e.description.length>0&&React.createElement("p",{className:"mt-5"},e.description),React.createElement("a",{href:t.shop,target:"_blank",rel:"noreferrer noopener",className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm mt-5 focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},(0,a.__)("View shop"),React.createElement(o.A,{className:"ml-2 w-4 h-4"})))):React.createElement("div",{className:"text-gray-800 "+(e.preview?"px-7":"px-7 md:px-10")},(0,a.__)("No products found."))))}},9269:function(e,t,n){"use strict";n.d(t,{X:function(){return l}});var a=n(1431),r=n(5233),o=n(530);const l=e=>React.createElement("div",{className:(e.preview?"p-7":"md:p-10 p-7")+" bg-white"},React.createElement("div",{className:`flex items-center ${e.preview?"":"md:py-8 md:bg-gray-100 md:rounded-lg"} justify-center`},React.createElement("div",{className:"w-full flex items-center justify-center twitter-embed"},null!==e.id?React.createElement(a.ul,{key:e.id,tweetId:e.id}):null)),React.createElement("a",{href:e.link,target:"_blank",rel:"noreferrer noopener",className:"text-white shadow-none border-none flex items-center justify-center w-full bg-gray-800 hover:bg-gray-900 text-sm mt-5 focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-2xl p-2"},(0,o.__)("Open on X"),React.createElement(r.A,{className:"ml-2 w-4 h-4"})))},8842:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});var a=n(1594);const r=e=>{const t=(0,a.useRef)(null);return(0,a.useEffect)((()=>{e.open?e.autoplay&&t.current?.contentWindow?.postMessage(JSON.stringify({event:"command",func:"playVideo"}),"*"):t.current?.contentWindow?.postMessage(JSON.stringify({event:"command",func:"pauseVideo"}),"*")}),[e.open]),React.createElement("div",{className:"pt-0 overflow-hidden h-0",style:{paddingBottom:"56.25%"}},React.createElement("iframe",{ref:t,className:"w-full h-full absolute top-0 left-0 transition-opacity "+(e.open?"opacity-100":"opacity-0 delay-300"),src:`https://www.youtube-nocookie.com/embed/${e.id}/?enablejsapi=1&autoplay=${e.autoplay&&e.open?1:0}&mute=${e.mute?1:0}`}))}},7170:function(e,t,n){"use strict";n.d(t,{g:function(){return s}});var a=n(8974),r=n(530),o=n(5755),l=n(2716),c=n(1594);const s=e=>{const{optionStore:t}=(0,a.g)(),n=(0,c.useMemo)((()=>{let n=0;return e.content.map((a=>{var c;if(!(n>=3&&e.card)&&a.visible&&a.title.length>0&&(e.template||e.skipValidation||!a.hasOwnProperty("error")||!a.error.error)&&(c=a.type,!t.others.dependencies.some((e=>e.id==c.toLowerCase()))||t.others.dependencies.some((e=>e.id==c.toLowerCase()&&e.active)))&&(!a.premium||t.others.isPremium)){if("Header"==a.type){if(e.template)return;return n++,React.createElement(l.Y,{key:a.id,title:a.title,preview:e.preview})}if(!a.content.hasOwnProperty("AddSchedule")||(0,r.SF)(a.content.AddSchedule))return n++,React.createElement(o.$,{key:a.id,content:a,slug:e.slug,preview:e.preview,card:e.card,template:e.template,templateVariation:e.templateVariation,id:e.id})}}))}),[e.card,e.content,t.others.isPremium]);return React.createElement("main",{className:"flex flex-col w-full"},n)}},4123:function(e,t,n){"use strict";n.d(t,{T:function(){return d}});var a=n(6880),r=n.n(a),o=n(3057),l=n(8974),c=n(4152),s=(n(3458),n(1594)),i=n(530);const d=e=>{const{optionStore:t}=(0,l.g)(),[n,a]=(0,s.useState)(!1),[d,u]=(0,s.useState)(!1);(0,i.w6)("image"===e.theme.styles.backgroundStyles.backgroundType?e.theme.styles.backgroundStyles.backgroundImageUrl:null,a),(0,i.w6)(e.theme.styles.hasOwnProperty("secondaryBackgroundStyles")&&"image"===e.theme.styles.secondaryBackgroundStyles.backgroundType?e.theme.styles.secondaryBackgroundStyles.backgroundImageUrl:null,u);const m=o.DU`${r()({...e.theme.styles.buttonStyles,...e.theme.styles.fontStyles,...e.theme.styles.hasOwnProperty("secondaryBackgroundStyles")?"image"==e.theme.styles.secondaryBackgroundStyles.backgroundType?{secondaryBackground:e.theme.styles.secondaryBackgroundStyles.backgroundImageUrl.includes("http")?d?`url("${e.theme.styles.secondaryBackgroundStyles.backgroundImageUrl}")`:void 0:`url("${t.publicUrl}images/backgrounds/${e.theme.styles.secondaryBackgroundStyles.backgroundImageUrl}")`}:{...Object.keys(e.theme.styles.secondaryBackgroundStyles).reduce(((t,n)=>({...t,[`secondary${n.charAt(0).toUpperCase()}${n.slice(1)}`]:e.theme.styles.secondaryBackgroundStyles[n]})),{}),secondaryBackgroundImageUrl:void 0}:null,..."image"==e.theme.styles.backgroundStyles.backgroundType?{background:e.theme.styles.backgroundStyles.backgroundImageUrl.includes("http")?n?`url("${e.theme.styles.backgroundStyles.backgroundImageUrl}")`:void 0:`url("${t.publicUrl}images/backgrounds/${e.theme.styles.backgroundStyles.backgroundImageUrl}")`}:{...e.theme.styles.backgroundStyles,backgroundImageUrl:void 0}},{element:`.social-link-in-bio-${e.id}`,pretty:!0})}`;return React.createElement(React.Fragment,null,React.createElement(c.A,{fonts:[{font:e.theme.styles.fontStyles.fontFamily.split(",",1)[0],weights:[400,500]}],subsets:["cyrillic-ext","greek"]}),React.createElement(m,null))}},313:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var a=n(8974),r=n(2591),o=n(4123),l=n(2674),c=n(6464),s=n(7170),i=n(9172),d=n(1594);n(6914);const u=e=>{const{optionStore:t}=(0,a.g)(),n=e.landingpage||t.others.__INITIAL_STATE__,u=t.others.isPremium||e.forceTheme?"custom"!==n.options.theme.id?i.A.find((e=>e.id===n.options.theme.id)):n.options.theme:"custom"==n.options.theme.id?i.A[0]:i.A.find((e=>e.id===n.options.theme.id));return(0,d.useEffect)((()=>{e.preview||e.import||e.card||e.template||navigator.sendBeacon(`${t.restUrl}bio-link/analytics`,new Blob([JSON.stringify({data:{id:e.id,referrer:document.referrer}})],{type:"application/json;charset=UTF-8"}))}),[]),React.createElement(React.Fragment,null,React.createElement("div",{className:`social-link-in-bio social-link-in-bio-${e.id} flex flex-col items-center overflow-y-auto transform scale-100 ${e.import?"social-link-in-bio-template h-96 rounded-t-2xl":""} ${e.preview&&!e.import?"social-link-in-bio-preview border border-gray-200 rounded-3xl":""} ${e.card?"rounded-t-2xl pointer-events-none overflow-y-hidden h-80 select-none":""} ${e.template?(n.options.hasOwnProperty("layout")&&"classic"!==n.options.layout?"pb-9":"py-9")+" w-full h-72 antialiased":n.options.hasOwnProperty("layout")&&"classic"!==n.options.layout?"pb-5":"py-5"}`,"data-background":u.styles.backgroundStyles.backgroundType,"data-button-style":u.styles.buttonStyles.buttonType},React.createElement(o.T,{theme:u,id:e.id}),n.options.hasOwnProperty("layout")&&"classic"!==n.options.layout&&React.createElement("div",{className:"frame"==n.options.layout?`social-link-in-bio-secondary-background-wrapper ${e.preview||e.card?e.card?"w-9/12 my-3.5":" w-full p-3.5":"md:p-5 p-3.5 w-full"} `:"contents"},React.createElement("div",{className:`social-link-in-bio-secondary-background w-full flex-shrink-0 -z-10 ${"frame"!==n.options.layout?e.preview?"h-20":e.card?"h-16":"h-20 md:h-32":"py-5"} ${n.options.avatar?"frame"!==n.options.layout?e.preview?"-mb-10":e.card?"-mb-7":"-mb-10":"":"mb-5"}`,"data-background":u.styles.secondaryBackgroundStyles.backgroundType},"frame"==n.options.layout&&React.createElement(React.Fragment,null,React.createElement(l.Y,{card:e.card,title:n.options.title,avatar:n.options.avatar,description:n.options.description,template:e.template,templateVariation:e.templateVariation,frameLayout:!0}),e.card?null:React.createElement(c.w,{disableMargin:!0,socialIcons:n.options.socialIcons,footerLinks:n.options.footerLinks})))),React.createElement("div",{className:`flex flex-col z-10 ${n.options.hasOwnProperty("layout")&&"pro"===n.options.layout?"items-start":"items-center"} max-w-2xl ${e.import?"social-link-in-bio-zoomed-out-big":""} ${e.template?1==e.templateVariation?"rounded-2xl w-9/12 social-link-in-bio-zoomed-out":2==e.templateVariation?"rounded-2xl w-9/12":"":e.card||e.import?"w-10/12":"w-11/12"}`},(n.options.hasOwnProperty("layout")&&"frame"!==n.options.layout||!n.options.hasOwnProperty("layout"))&&React.createElement(l.Y,{card:e.card,title:n.options.title,avatar:n.options.avatar,description:n.options.description,template:e.template,templateVariation:e.templateVariation,leftAlign:n.options.hasOwnProperty("layout")&&"pro"===n.options.layout}),React.createElement(s.g,{content:n.content,slug:n.meta?.slug,preview:e.preview,card:e.card,id:e.id,template:e.template,templateVariation:e.templateVariation,skipValidation:e.skipValidation}),(!e.card&&!e.template&&(n.options.hasOwnProperty("layout")&&"frame"!==n.options.layout||!n.options.hasOwnProperty("layout"))||!t.others.isPremium)&&React.createElement(c.w,{socialIcons:n.options.socialIcons,footerLinks:n.options.footerLinks})),!e.card&&!e.template&&n.options.badge&&React.createElement("div",{className:"mt-auto pt-5"},React.createElement(r.t,{shown:!0,themeId:u.id,backgroundStyles:u.styles.backgroundStyles}))))}},9172:function(e,t){"use strict";t.A=[{name:"Light",id:"light",styles:{fontStyles:{fontFamily:"Inter",fontColor:"#000000"},backgroundStyles:{backgroundType:"solid",background:"#ffffff"},secondaryBackgroundStyles:{backgroundType:"solid",background:"#f8f8f8"},buttonStyles:{buttonType:"solid",buttonColor:"#000000",buttonFontColor:"#ffffff",buttonBorderRadius:10}}},{name:"Dark",id:"dark",styles:{fontStyles:{fontFamily:"Inter",fontColor:"#ffffff"},backgroundStyles:{backgroundType:"solid",background:"#000000"},secondaryBackgroundStyles:{backgroundType:"solid",background:"#292929"},buttonStyles:{buttonType:"solid",buttonColor:"#292929",buttonFontColor:"#ffffff",buttonBorderRadius:10}}},{name:"Air",id:"air-grey",styles:{fontStyles:{fontFamily:"Inter",fontColor:"#000000"},backgroundStyles:{backgroundType:"solid",background:"#ebeef1"},secondaryBackgroundStyles:{backgroundType:"solid",background:"#f1f3f4"},buttonStyles:{buttonType:"solid",buttonColor:"#ffffff",buttonFontColor:"#000000",buttonBorderRadius:10}}},{name:"Smoke",id:"air-smoke",styles:{fontStyles:{fontFamily:"Inter",fontColor:"#ffffff"},backgroundStyles:{backgroundType:"solid",background:"#2a3235"},secondaryBackgroundStyles:{backgroundType:"solid",background:"#313b3e"},buttonStyles:{buttonType:"solid",buttonColor:"#ffffff",buttonFontColor:"#000000",buttonBorderRadius:10}}},{name:"Gradient",id:"gradient",styles:{fontStyles:{fontFamily:"Inter",fontColor:"#ffffff"},backgroundStyles:{backgroundType:"gradient",backgroundGradientColorOne:"#a83dff",backgroundGradientColorTwo:"#3556f8",backgroundGradientDirection:"to bottom"},secondaryBackgroundStyles:{backgroundType:"solid",background:"#ffffff40"},buttonStyles:{buttonType:"solid",buttonColor:"#ffffff40",buttonFontColor:"#ffffff",buttonBorderRadius:10}}},{name:"Seafoam",id:"seafoam",styles:{fontStyles:{fontFamily:"Inter",fontColor:"#ffffff"},backgroundStyles:{backgroundType:"gradient",backgroundGradientColorOne:"#0c8276",backgroundGradientColorTwo:"#d6f7e6",backgroundGradientDirection:"to bottom"},secondaryBackgroundStyles:{backgroundType:"solid",background:"#ffffff20"},buttonStyles:{buttonType:"solid",buttonColor:"#ffffff",buttonFontColor:"#042a44",buttonBorderRadius:25}}},{name:"Rose",id:"rose",styles:{fontStyles:{fontFamily:"Inter",fontColor:"#ffffff"},backgroundStyles:{backgroundType:"gradient",backgroundGradientColorOne:"#cb1d52",backgroundGradientColorTwo:"#e6c3eb",backgroundGradientDirection:"to bottom"},secondaryBackgroundStyles:{backgroundType:"solid",background:"#ffffff20"},buttonStyles:{buttonType:"solid",buttonColor:"#fcf3ff",buttonFontColor:"#5b1d52",buttonBorderRadius:25}}},{name:"Peach",id:"peach",styles:{fontStyles:{fontFamily:"Inter",fontColor:"#ff9696"},backgroundStyles:{backgroundType:"solid",background:"#ffeee2"},secondaryBackgroundStyles:{backgroundType:"solid",background:"#ffffff50"},buttonStyles:{buttonType:"solid",buttonColor:"#ff9696",buttonFontColor:"#ffffff",buttonBorderRadius:25}}},{name:"Lime",id:"lime",styles:{fontStyles:{fontFamily:"Inter",fontColor:"#000000"},backgroundStyles:{backgroundType:"solid",background:"#d9ff00"},secondaryBackgroundStyles:{backgroundType:"solid",background:"#ffffff50"},buttonStyles:{buttonType:"3d",buttonColor:"#d9ff00",buttonShadowColor:"#000",buttonFontColor:"#000",buttonBorderRadius:25}}},{name:"Blob",id:"blob",styles:{fontStyles:{fontFamily:"Inter",fontColor:"#ff9696"},backgroundStyles:{backgroundType:"image",backgroundImageUrl:"background--blob.svg"},secondaryBackgroundStyles:{backgroundType:"solid",background:"#ffffff20"},buttonStyles:{buttonType:"outline",buttonColor:"#ff9696",buttonFontColor:"#ff9696",buttonBorderRadius:25}}}]},7169:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});var a=n(530);const r=[{id:"name",label:(0,a.__)("Name"),placeholder:(0,a.__)("Name"),type:"text"},{id:"email",label:(0,a.__)("Email"),placeholder:(0,a.__)("Email"),type:"email"},{id:"mobile",label:(0,a.__)("Mobile"),placeholder:(0,a.__)("Phone"),type:"tel"},{id:"message",label:(0,a.__)("Message"),placeholder:(0,a.__)("Message"),type:"textarea"}]},865:function(e,t,n){"use strict";var a=n(1594),r=n.n(a);class o extends r().Component{constructor(e){super(e),this.loadFB=e=>window.FB?new Promise((e=>e(window.FB))):new Promise((t=>{window.fbAsyncInit=function(){return t(window.FB)},function(n,a,r){let o;const l=n.getElementsByTagName(a)[0];n.getElementById(r)||(o=n.createElement(a),o.id=r,o.src=`//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v${e||"10.0"}`,o.onload=function(){return t(window.FB)},l.parentNode.insertBefore(o,l))}(document,"script","facebook-jssdk")})),this.createPlayer=e=>{const{id:t,appId:n,sdkVersion:a,allowfullscreen:r,autoplay:o,mute:l,width:c,showText:s,showCaptions:i,onReady:d}=this.props,{FB:u}=this,m=`${t}--player`;this.container.innerHTML="";const p=document.createElement("div");p.classList.add("fb-video"),p.id=m,p.setAttribute("data-href",e),p.setAttribute("data-allowfullscreen",r),p.setAttribute("data-autoplay",o),p.setAttribute("data-mute",l),p.setAttribute("data-width",c),p.setAttribute("data-show-text",s),p.setAttribute("data-show-captions",i),this.container.appendChild(p),u.init({xfbml:!0,version:"v10.0"}),u.Event.subscribe("xfbml.ready",(e=>{window.msg=e,"video"===e.type&&(t&&e.id===m||!t)&&(this.videoPlayer=e.instance,d&&d(this.videoPlayer),this.subscribe())}))},this.subscribe=()=>{this.eventHandlers=[],this.eventsToListen.map((e=>{if(e.listener){const t=this.videoPlayer.subscribe(e.event,e.listener);this.eventHandlers.push({event:e.event,handler:t})}}))},this.unsubscribe=()=>{this.eventHandlers&&this.eventHandlers.length&&this.eventHandlers.map((e=>{e.handler.removeListener&&e.handler.removeListener(e.event)}))},this.refContainer=e=>{this.container=e},this.eventsToListen=[{event:"startedPlaying",listener:e.onStartedPlaying?()=>this.props.onStartedPlaying(this.props.id):null},{event:"paused",listener:e.onStartedPlaying?()=>this.props.onPaused(this.props.id):null},{event:"finishedPlaying",listener:e.onFinishedPlaying?()=>this.props.onFinishedPlaying(this.props.id):null},{event:"startedBuffering",listener:e.onStartedBuffering?()=>this.props.onStartedBuffering(this.props.id):null},{event:"finishedBuffering",listener:e.onFinishedBuffering?()=>this.props.onFinishedBuffering(this.props.id):null},{event:"error",listener:e.onError?()=>this.props.onError(this.props.id):null}],this.FB=null,this.videoPlayer=null,this.eventHandlers=null}componentDidMount(){const{videoId:e,sdkVersion:t}=this.props;"undefined"!=typeof window&&this.loadFB(t).then((t=>{t&&(this.FB=t,this.createPlayer(e))}))}componentWillReceiveProps(e){this.FB&&e.videoId!==this.props.videoId&&this.createPlayer(e.videoId)}componentWillUnmount(){}render(){const{id:e,className:t}=this.props;return r().createElement("div",{id:e,className:t,ref:this.refContainer})}}o.defaultProps={allowfullscreen:!1,autoplay:!1,showText:!1,showCaptions:!1,width:"auto"},t.A=o},8231:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});const a=e=>{switch(e.type){case"image":return React.createElement("img",{src:e.url,className:"w-full h-full object-cover object-center border-0"});case"icon":return React.createElement("span",{className:"material-symbols-outlined"},e.url);default:return React.createElement(React.Fragment,null)}}},4578:function(e,t,n){"use strict";n.r(t),n.d(t,{OptionStore:function(){return d.t6},RootStore:function(){return d.yd},useStores:function(){return d.gy}});var a=n(9507),r=n(8955),o=n(5206),l=n(8974),c=(n(2322),n(1299),n(313)),s={};for(var i in a)"default"!==i&&(s[i]=function(e){return a[e]}.bind(0,i));n.d(t,s);var d=n(4834);const u=document.getElementById(`${l.y.get.optionStore.slug}-root`);u&&(0,o.render)(React.createElement(l.y.StoreProvider,null,React.createElement(r.Kd,null,React.createElement(c.U,{preview:!1,card:!1,template:!1,id:u.getAttribute("data-bio-link-id")}))),u)},4834:function(e,t,n){"use strict";n.d(t,{gy:function(){return a.g},t6:function(){return r.t},yd:function(){return a.y}});var a=n(8974),r=n(1963)},1963:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var a,r,o=n(9088),l=n(6936),c=n(4497),s=n(9507);let i=(a=class extends s.BaseOptions{constructor(e){super(),(0,o.A)(this,"others",r,this),this.pureSlug=void 0,this.pureSlugCamelCased=void 0,this.rootStore=void 0,this.rootStore=e,this.pureSlug=s.BaseOptions.getPureSlug({NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"}),this.pureSlugCamelCased=s.BaseOptions.getPureSlug({NODE_ENV:"production",env:"production",rootSlug:"social-develop",slug:"social-lite"},!0),(0,c.runInAction)((()=>Object.assign(this,window[this.pureSlugCamelCased])))}},r=(0,l.A)(a.prototype,"others",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a)},8974:function(e,t,n){"use strict";n.d(t,{g:function(){return c},y:function(){return l}});var a=n(4497),r=n(9507),o=n(1963);(0,a.configure)({enforceActions:"always"});class l{get context(){return this.contextMemo?this.contextMemo:this.contextMemo=(0,r.createContextFactory)(this)}constructor(){this.optionStore=void 0,this.contextMemo=void 0,this.optionStore=new o.t(this)}static get StoreProvider(){return l.get.context.StoreProvider}static get get(){return l.me?l.me:l.me=new l}}l.me=void 0;const c=()=>l.get.context.useStores()},530:function(e,t,n){"use strict";n.d(t,{Em:function(){return p},SF:function(){return c},Sr:function(){return i},Xw:function(){return u},__:function(){return f},bo:function(){return s},ni:function(){return d},w6:function(){return m}});var a=n(9507),r=n(1594),o=n(8974);class l{constructor(){this.requestMemo=void 0,this.localizationMemo=void 0}get request(){return this.requestMemo?this.requestMemo:this.requestMemo=(0,a.createRequestFactory)(o.y.get.optionStore)}get localization(){return this.localizationMemo?this.localizationMemo:this.localizationMemo=(0,a.createLocalizationFactory)(o.y.get.optionStore.pureSlug)}static get get(){return l.me?l.me:l.me=new l}}l.me=void 0;const c=e=>{if(e.hasOwnProperty("start")&&e.hasOwnProperty("end")&&e.hasOwnProperty("timezone")){const t=(new Date).toLocaleString("en-US",{timeZone:e.timezone});if(""===e.start&&""===e.end)return!0;if(""===e.start&&""!==e.end)return new Date(e.end)>=new Date(t);if(""!==e.start&&""===e.end)return new Date(e.start)<=new Date(t);if(""!==e.start&&""!==e.end)return new Date(e.start)<=new Date(t)&&new Date(e.end)>=new Date(t)}return!0},s=e=>new RegExp("^(tel|mailto|sms):").test(e)||/^https?:\/\//i.test(e)?e:`http://${e}`,i=e=>new RegExp("^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$").test(e),d=e=>e.length>0,u=e=>e.replace(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase())),m=(e,t)=>{(0,r.useEffect)((()=>{if(e&&e.includes("http")){const n=new Image;n.src=e,n.onload=()=>{t(!0)}}else t(!0)}),[e,t])},p=function(){return l.get.request.request(...arguments)},f=function(){return l.get.localization.__(...arguments)}},9337:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});const a={path:"/bio-link/forms/token",method:n(9507).RouteHttpVerb.GET}},4927:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});const a={path:"/bio-link/forms/send",method:n(9507).RouteHttpVerb.POST}},2819:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});const a={path:"/bio-link/newsletter/subscribe",method:n(9507).RouteHttpVerb.POST}},9355:function(){},3458:function(){},6914:function(){},1299:function(){},2322:function(){},4152:function(e,t,n){"use strict";var a=n(1594);const r=(e,t,n)=>{const a=e.reduce(((e,t)=>{const n=t.font.replace(/ +/g,"+"),a=(t.weights||[]).join(",");return[...e,n+(a&&`:${a}`)]}),[]).join("|"),r=document.createElement("link");return r.rel="stylesheet",r.href=`https://fonts.bunny.net/css?family=${a}`,t&&Array.isArray(t)&&t.length>0&&(r.href+=`&subset=${t.join(",")}`),n&&(r.href+=`&display=${n}`),r};t.A=({fonts:e,subsets:t,display:n="swap"})=>{const[o,l]=(0,a.useState)(r(e,t,n));return(0,a.useEffect)((()=>(document.head.appendChild(o),()=>document.head.removeChild(o))),[o]),(0,a.useEffect)((()=>{l(r(e,t,n))}),[e,t,n]),null}},1594:function(e){"use strict";e.exports=React},5206:function(e){"use strict";e.exports=ReactDOM},4497:function(e){"use strict";e.exports=mobx},9507:function(e){"use strict";e.exports=socialDevelop_utils},3101:function(){},8348:function(){},6329:function(){},5104:function(){},3356:function(){},7670:function(){}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return a[e].call(n.exports,n,n.exports,o),n.exports}o.m=a,e=[],o.O=function(t,n,a,r){if(!n){var l=1/0;for(d=0;d=r)&&Object.keys(o.O).every((function(e){return o.O[e](n[s])}))?n.splice(s--,1):(c=!1,r0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[n,a,r]},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},o.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var r=Object.create(null);o.r(r);var l={};t=t||[null,n({}),n([]),n(n)];for(var c=2&a&&e;"object"==typeof c&&!~t.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach((function(t){l[t]=function(){return e[t]}}));return l.default=function(){return e},o.d(r,l),r},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={343:0};o.O.j=function(t){return 0===e[t]};var t=function(t,n){var a,r,l=n[0],c=n[1],s=n[2],i=0;if(l.some((function(t){return 0!==e[t]}))){for(a in c)o.o(c,a)&&(o.m[a]=c[a]);if(s)var d=s(o)}for(t&&t(n);i