PageSourceSearch

https://booking.digitalcafe.media/_next/static/chunks/49075-6aab74e3e9fa0407.js

js digitalcafe.media collected 2026-10-02 15:50:22 UTC 8,167 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[49075],{845304:function(e,n,t){t.d(n,{V:function(){return y}});var o=t(410960),a=t(77671),i=t(793986),r=t(260877),l=t(27843),u=t(215330),c=t(786650),p=t(534753),s=t(984854),g=t(122406),d=t(557529);let f={facetime:o,ga4:a,googlevideo:i.P,gtm:r,metapixel:l,office365video:u,"booking-pages-tag":c,"event-type-location-video-static":p,webex:s,whatsapp:g,zoomvideo:d.P};var v=t(938232);let y={};for(let[e,n]of Object.entries(f))y[e]=(0,v.q)(n)},49075:function(e,n,t){t.d(n,{$5:function(){return locationKeyToString},A5:function(){return getSuccessPageLocationMessage},B5:function(){return getEventLocationTypeFromApp},E1:function(){return getOrganizerInputLocationTypes},FA:function(){return getLocationOptionsFormatted},KX:function(){return getMissingApp},Kd:function(){return a},QG:function(){return getHumanReadableLocationValue},XP:function(){return locationSupportsTeamCredentials},_i:function(){return _},aW:function(){return d},dL:function(){return f},gy:function(){return isTeamCredentialsSupported},ht:function(){return p},lD:function(){return g},ld:function(){return getEventLocationType},np:function(){return s},ns:function(){return isConferencingLocation},vl:function(){return guessEventLocationType},yh:function(){return getTranslatedLocation}});var o,a,i,r,l=t(845304);t(793986);var u=t(903588),c=t(753538);let p="",s="integrations:google:meet",g="integrations:facetime_video",d="integrations:whatsapp_video",f="conferencing";(o=a||(a={})).AttendeeInPerson="attendeeInPerson",o.InPerson="inPerson",o.Phone="phone",o.UserPhone="userPhone",o.Link="link",o.Conferencing="conferencing";let v=["in_person_attendee_address","in_person","attendee_phone_number","link_meeting","organizer_phone_number","organizer_default_conferencing_app"],y={},m=[];for(let[e,n]of Object.entries(l.V)){let t=null===(i=n.appData)||void 0===i?void 0:i.location;if(t){for(let[e,o]of Object.entries(t))"string"==typeof o&&(t[e]=o.replace(/{SLUG}/g,n.slug).replace(/{TITLE}/g,n.name));let o={...t,messageForOrganizer:t.messageForOrganizer||"Set ".concat(t.label," link"),iconUrl:n.logo,variable:t.variable||"locationLink",defaultValueVariable:t.defaultValueVariable||"link"};"static"===o.linkType?(o.organizerInputType=t.organizerInputType||"text",(null===(r=o.organizerInputPlaceholder)||void 0===r?void 0:r.match(/https?:\/\//))&&(o.organizerInputPlaceholder=" ".concat(o.organizerInputPlaceholder))):o.organizerInputType=null,y[e]=o.type,m.push({...o})}}let b=[{default:!0,type:"attendeeInPerson",label:"in_person_attendee_address",variable:"address",organizerInputType:null,messageForOrganizer:"Lunacal will ask your invitee to enter an address before scheduling.",attendeeInputType:"attendeeAddress",attendeeInputPlaceholder:"enter_address",defaultValueVariable:"attendeeAddress",iconUrl:"/map-pin-dark.svg",category:"in person"},{default:!0,type:"inPerson",label:"in_person",organizerInputType:"text",messageForOrganizer:"Provide an Address or Place",variable:"locationAddress",defaultValueVariable:"address",defaultValue:"456 Elm St, San Francisco, CA 94107",iconUrl:"/map-pin-dark.svg",category:"in person"},{default:!0,type:"conferencing",iconUrl:"/link.svg",organizerInputType:null,label:"organizer_default_conferencing_app",variable:"hostDefault",defaultValueVariable:"hostDefault",category:"conferencing",messageForOrganizer:""},{default:!0,type:"link",label:"link_meeting",organizerInputType:"text",variable:"locationLink",messageForOrganizer:"Provide a Meeting Link",defaultValueVariable:"link",defaultValue:"https://example.com/meeting",iconUrl:"/link.svg",category:"other"},{default:!0,type:"phone",label:"attendee_phone_number",variable:"phone",organizerInputType:null,attendeeInputType:"phone",attendeeInputPlaceholder:"enter_phone_number",defaultValueVariable:"phone",messageForOrganizer:"Lunacal will ask your invitee to enter a phone number before scheduling.",iconUrl:"/phone.svg",category:"phone"},{default:!0,type:"userPhone",label:"organizer_phone_number",messageForOrganizer:"Provide your phone number",organizerInputType:"phone",variable:"locationPhoneNumber",defaultValueVariable:"hostPhoneNumber",iconUrl:"/phone.svg",category:"phone"},...m],getEventLocationTypeFromApp=e=>m.find(n=>n.type===e),getEventLocationType=e=>b.find(n=>n.type===e),getEventLocationTypeFromValue=e=>e?b.find(n=>{if(!n.default&&"dynamic"!=n.linkType&&n.urlRegExp)return new RegExp(n.urlRegExp).test(e)}):null,guessEventLocationType=e=>getEventLocationType(e)||getEventLocationTypeFromValue(e),_={...a,...y}
1,getHumanReadableLocationValue=(e,n)=>{if(!e)return n("no_location");let t=getEventLocationType(e),o=null==t?void 0:t.default;return t?o?n(t.label):"".concat(t.label):e||""},locationKeyToString=e=>{let n=getEventLocationType(e.type);if(!n)return null;let t=n.defaultValueVariable;return t?e[t]||n.label:(console.error("defaultValueVariable not set for ".concat(e.type)),"")};function getSuccessPageLocationMessage(e,n,t){let o=getEventLocationType(e),a=e;if(o&&!o.default&&"dynamic"===o.linkType){let o=t===u.gn.ACCEPTED;t===u.gn.CANCELLED||t===u.gn.REJECTED?n("web_conference"):a=o?"".concat(getHumanReadableLocationValue(e,n),": ").concat(n("meeting_url_in_confirmation_email")):n("web_conferencing_details_to_follow")}return a}let getTranslatedLocation=(e,n,t)=>{if(!n)return null;if(n.organizerInputType&&!(null==e?void 0:e.displayLocationPublicly)){var o;let a=null===(o=e.customLabel)||void 0===o?void 0:o.trim();if(a)return a;if(n.default&&"link"===n.type)return t("link_meeting")}let a=!!n.organizerInputType&&!!(null==e?void 0:e.displayLocationPublicly),i=c.Z_().default("").parse(locationKeyToString(e)),r=e.type.startsWith("integrations:")&&!a?n.label:v.includes(i)?t(i):i;return r},getOrganizerInputLocationTypes=()=>{let e=[],n=b.filter(e=>!!e.organizerInputType);return null==n||n.forEach(n=>e.push(n.type)),e},isConferencingLocation=e=>e.includes("integrations:"),h=[u.Nz.conferencing,"in person","phone","other"],T=[{disabled:!1,icon:"/app-store/googlevideo/logo.webp",label:"Google Meet",slug:"google-meet",type:"google_video",value:s,installed:!1,category:u.Nz.conferencing},{disabled:!1,icon:"/app-store/zoomvideo/icon.svg",label:"Zoom Video",slug:"zoom",type:"zoom_video",value:"integrations:zoom",installed:!1,category:u.Nz.conferencing},{disabled:!1,icon:"/app-store/office365video/icon.svg",label:"MS Teams",slug:"msteams",type:"office365_video",value:"integrations:office365_video",installed:!1,category:u.Nz.conferencing},{disabled:!1,icon:"/app-store/facetime/icon.svg",label:"Facetime",slug:"facetime",type:"facetime_video",value:g,installed:!1,category:u.Nz.conferencing}],getLocationTypeFromValue=e=>{var n;return null===(n=T.find(n=>n.value===e))||void 0===n?void 0:n.type},getLocationLabelFromValue=e=>{var n;return null===(n=T.find(n=>n.value===e))||void 0===n?void 0:n.label},locationSupportsTeamCredentials=e=>e.startsWith("integrations:")&&e!==g,isTeamCredentialsSupported=(e,n)=>e&&locationSupportsTeamCredentials(n),getLocationOptionsFormatted=e=>{let{locationOptions:n,isChildrenManagedEventType:t,schedulingType:o,defaultConferencingApp:a,t:i}=e,r=o===u.dH.ROUND_ROBIN||o===u.dH.MANAGED||o===u.dH.COLLECTIVE,l=!!o,c=n.flatMap(e=>e.options.map(e=>({...e,installed:!0,type:getLocationTypeFromValue(e.value)}))),p=T.filter(e=>!c.some(n=>n.value===e.value));c=[...c,...p],c=(c=r||t?c.map(e=>e.value===f?{...e,label:t?i("your_default_conferencing_app"):e.label,defaultApp:t?a:null}:e):c.filter(e=>e.value!==f)).map(e=>({...e,hideNotInstalledBadge:isTeamCredentialsSupported(l,e.value)}));let s=c.sort((e,n)=>{var t,o;return h.indexOf(null!==(t=null==e?void 0:e.category)&&void 0!==t?t:"")-h.indexOf(null!==(o=null==n?void 0:n.category)&&void 0!==o?o:"")});return s},getMissingApp=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=null;for(let a of e){var o;let e=null===(o=a.useTeamCredentials)||void 0===o||o;if(!isConferencingLocation(a.type)||e)continue;let i=n.find(e=>e.type===getLocationTypeFromValue(a.type));if(!i){t=a.type;break}}return t?getLocationLabelFromValue(t):null}}}]);

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.