PageSourceSearch

https://scholardemia.com/_next/static/chunks/1n6yreelnxn26.js?dpl=f5df8a442b54752d9e8db37f3d0c4ef6ca95f2bd

js scholardemia.com collected 2026-10-09 23:03:45 UTC 29,779 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1138915,e=>{"use strict";var t=e.i(403141),r=e.i(9939516);let n={month:"short",day:"numeric",year:"numeric"};function i(e){if(!e)return null;let t=e instanceof Date?e:new Date(e);return Number.isNaN(t.getTime())?null:t}function l(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone||null}catch{return null}}function o(e,t,r=n,l){let a=i(e);if(!a)return null;try{return new Intl.DateTimeFormat(l,{...r,timeZone:t||void 0}).format(a)}catch{return new Intl.DateTimeFormat(l,r).format(a)}}function a(e,t){let r=i(e);if(!r)return null;try{let e=new Intl.DateTimeFormat("en-CA",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t||void 0}).formatToParts(r),n=Object.fromEntries(e.map(e=>[e.type,e.value]));return`${n.year}-${n.month}-${n.day}`}catch{return r.toISOString().slice(0,10)}}e.s(["formatDateInTimeZone",0,o,"formatDateKeyInTimeZone",0,a,"formatEventTimeSplit",0,function(e,s,u=!1){let c=i(e);if(!c)return null;let d=void 0===s?l():s,f=o(c,"UTC",n,r.UK_DATE_LOCALE)||"Date TBA",p=(0,t.formatTimeOfDay)(c,{viewerClock:u,timeZone:"UTC"})||"Time TBA",m=d&&o(c,d,n,r.UK_DATE_LOCALE)||f,y=d&&(0,t.formatTimeOfDay)(c,{viewerClock:u,timeZone:d})||p;return{utcDate:f,utcTime:p,utcDateTime:`${f}, ${p}`,localDate:m,localTime:y,localDateTime:`${m}, ${y}`,localTimeZone:d,sameLocalDateAsUtc:!d||a(c,"UTC")===a(c,d)}},"formatTimeZoneShortName",0,function(e,t){let n=i(e);if(!n)return null;let l=e=>new Intl.DateTimeFormat(r.UK_DATE_LOCALE,{timeZone:e,timeZoneName:"short"}).formatToParts(n).find(e=>"timeZoneName"===e.type)?.value||null;try{return l(t||void 0)}catch{return l(void 0)}},"formatWallClock",0,function(e,r=!1){let n=/^(\d{1,2}):(\d{2})$/.exec(e.trim());if(!n)return e;let i=Number(n[1]),l=Number(n[2]);return i>23||l>59?e:(0,t.formatTimeOfDay)(Date.UTC(2e3,0,1,i,l),{viewerClock:r,timeZone:"UTC"})},"getViewerTimeZone",0,l])},3715792,e=>{"use strict";e.s(["conferencePlace",0,function(e){if(!e)return null;let t=e.split(/[,·]/u).map(e=>e.trim()).filter(Boolean);return t.length&&(t.length>=3?t[t.length-2]:t[t.length-1]).replace(/\s+[A-Z0-9]{2,4}\s?[0-9][A-Z0-9]{2}$/u,"").trim()||null},"formatConferenceRange",0,function(e,t,r,n){if(!e)return null;
1let i=r||"UTC",l=new Date(e),o=t?new Date(t):l;if(Number.isNaN(l.getTime()))return null;let a=(e,t)=>{try{return new Intl.DateTimeFormat("en-GB",{...t,timeZone:i}).format(e).replace(/\bSept\b/u,"Sep")}catch{return new Intl.DateTimeFormat("en-GB",t).format(e).replace(/\bSept\b/u,"Sep")}};return a(l,{day:"numeric",month:n,year:"numeric"})===a(o,{day:"numeric",month:n,year:"numeric"})||Number.isNaN(o.getTime())?a(l,{day:"numeric",month:n,year:"numeric"}):a(l,{month:n,year:"numeric"})===a(o,{month:n,year:"numeric"})?`${a(l,{day:"numeric"})}–${a(o,{day:"numeric",month:n,year:"numeric"})}`:`${a(l,{day:"numeric",month:n})} – ${a(o,{day:"numeric",month:n,year:"numeric"})}`}])},2347194,e=>{"use strict";let t=["short_text","long_text","single_choice","multiple_choice","dropdown","ranking","linear_scale","likert","number","date"],r=new Set(["single_choice","multiple_choice","dropdown"]),n=new Set([5,7,10]),i="Other";function l(e){return`${e}__other`}function o(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;let t="string"==typeof e.questionId?e.questionId.trim():"";if(!t)return null;let r=Array.isArray(e.in)?[...new Set(e.in.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>e.trim()))].slice(0,50):[];return r.length?{questionId:t,in:r}:null}function a(e){if(!e||"object"!=typeof e||Array.isArray(e))return null;let t="string"==typeof e.title?e.title.trim():"";if(!t||t.length>200)return null;let r="string"==typeof e.description?e.description.trim():"";return{title:t,...r?{description:r.slice(0,500)}:{}}}function s(e,t){let n=e.find(e=>e.id===t.questionId);return n?r.has(n.type)?t.in.some(e=>!(n.options??[]).includes(e))?"display condition lists an option the controlling question does not offer":null:"display condition needs a choice question":"display condition must point to an earlier question"}function u(e,t){let n=[];for(let i of e){let l=i.visibleIf;if(!l){n.push(i);continue}let o=e.find(e=>e.id===l.questionId);if(!o||!r.has(o.type)||e.indexOf(o)>=e.indexOf(i)){n.push(i);continue}n.some(e=>e.id===o.id)&&function(e,t){let r=t[e.questionId];return"string"==typeof r?e.in.includes(r):!!Array.isArray(r)&&r.some(t=>"string"==typeof t&&e.in.includes(t))}(l,t)&&n.push(i)}return n}function c(e){let t=e.options??[];return e.otherOption?[...t,i]:t}function d(e,t,r,n){if(!e.otherOption||t!==i)return null;let o=r[l(e.id)],a="string"==typeof o?o.trim():"";return!a||a.length>500?`'${e.label}': please say what "Other" means (max 500 chars).`:(n[l(e.id)]=a,null)}e.s(["OTHER_OPTION_LABEL",0,i,"QUESTION_TYPES",0,t,"otherAnswerKey",0,l,"parseSectionHeading",0,a,"parseVisibilityRule",0,o,"splitQuestionsIntoSections",0,function(e){let t=[];for(let r of e)r.section?t.push({title:r.section.title,description:r.section.description??null,questions:[r]}):t.length?t[t.length-1].questions.push(r):t.push({title:null,description:null,questions:[r]});return t},"validateAnswers",0,function(e,t,r,n){if(n&&!r)return{ok:!1,error:"Consent is required before responding."};if(!t||"object"!=typeof t)return{ok:!1,error:"Malformed answers."};let l={};for(let r of u(e,t)){let e=t[r.id];if(null==e||""===e||Array.isArray(e)&&0===e.length){if(r.required)return{ok:!1,error:`'${r.label}' requires an answer.`};continue}switch(r.type){case"short_text":case"long_text":if("string"!=typeof e||e.length>1e4)return{ok:!1,error:`'${r.label}': invalid text answer.`};l[r.id]=e.trim();break;case"single_choice":case"dropdown":{let n=c(r);if("string"!=typeof e||!n.includes(e))return{ok:!1,error:`'${r.label}': choose one of the options.`};l[r.id]=e;let i=d(r,e,t,l);if(i)return{ok:!1,error:i};break}case"multiple_choice":{let n=c(r),o=Array.isArray(e)?e:[e];if(!o.every(e=>"string"==typeof e&&n.includes(e)))return{ok:!1,error:`'${r.label}': choose from the options.`};let a=[...new Set(o)];l[r.id]=a;let s=d(r,a.includes(i)?i:null,t,l);if(s)return{ok:!1,error:s};break}case"ranking":{let t=r.options??[];if(!Array.isArray(e)||e.some(e=>"string"!=typeof e||!t.includes(e)))return{ok:!1,error:`'${r.label}': rank the options.`};if(new Set(e).size!==e.length)return{ok:!1,error:`'${r.label}': each option can only be ranked once.`};if(r.required&&e.length!==t.length)return{ok:!1,error:`'${r.label}': rank every option.`};l[r.id]=e;break}case"linear_scale":{let t=Number(e);if(!Number.isInteger(t)||t<1||t>(r.scale??5))return{ok:!1,error:`'${r.label}': pick a value on the scale.`};l[r.id]=t;break}case"likert":{if(!e||"object"!=typeof e||Array.isArray(e))return{ok:!1,error:`'${r.label}': malformed ratings.`};let t={};for(let n of r.rows??[]){let i=Number(e[n]);if(Number.isInteger(i)&&i>=1&&i<=(r.scale??5))t[n]=i;else if(r.required)return{ok:!1,error:`'${r.label}': rate every statement.`}}l[r.id]=t;break}case"number":{let t=Number(e);if(!Number.isFinite(t))return{ok:!1,error:`'${r.label}': enter a number.`};l[r.id]=t;break}case"date":if("string"!=typeof e||Number.isNaN(Date.parse(e)))return{ok:!1,error:`'${r.label}': enter a valid date.`};l[r.id]=e}}return{ok:!0,answers:l}},"validateQuestions",0,function(e){if(!Array.isArray(e))return{ok:!1,error:"Questions must be a list."};if(0===e.length)return{ok:!1,error:"Add at least one question."};if(e.length>100)return{ok:!1,error:"At most 100 questions."};let l=new Set,u=[];for(let c of e){if(!c||"object"!=typeof c)return{ok:!1,error:"Malformed question."};let e="string"==typeof c.id?c.id.trim():"",d=c.type,f="string"==typeof c.label?c.label.trim():"";if(!e||l.has(e))return{ok:!1,error:"Question ids must be unique."};if(!t.includes(d))return{ok:!1,error:`Unknown question type '${String(c.type)}'.`};if(!f||f.length>500)return{ok:!1,error:"Every question needs a label (max 500 chars)."};let p={id:e,type:d,label:f,required:!0===c.required};if(void 0!==c.visibleIf&&null!==c.visibleIf){let e=o(c.visibleIf);if(!e)return{ok:!1,error:`'${f}' has a malformed display condition.`};let t=s(u,e);if(t)return{ok:!1,error:`'${f}': ${t}.`};p.visibleIf=e}if(void 0!==c.section&&null!==c.section){let e=a(c.section);if(!e)return{ok:!1,error:`'${f}' has a malformed section heading.`};p.section=e}if("string"==typeof c.hint&&c.hint.trim()&&(p.hint=c.hint.trim().slice(0,500)),r.has(d)||"ranking"===d){let e=Array.isArray(c.options)?c.options.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>e.trim()):[];if(e.length<2||e.length>50)return{ok:!1,error:`'${f}' needs 2–50 options.`};if(!0===c.otherOption){if("ranking"===d)return{ok:!1,error:`'${f}': only choice questions can offer "Other, please specify".`};if(e.some(e=>e.toLowerCase()===i.toLowerCase()))return{ok:!1,error:`'${f}' already has an "${i}" option — remove it or turn off "Other, please specify".`};p.otherOption=!0}p.options=e}else if(!0===c.otherOption)return{ok:!1,error:`'${f}': only choice questions can offer "Other, please specify".`};if("linear_scale"===d||"likert"===d){let e=Number(c.scale);if(!n.has(e))return{ok:!1,error:`'${f}' needs a scale of 5, 7, or 10.`};p.scale=e}if("likert"===d){let e=Array.isArray(c.rows)?c.rows.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>e.trim()):[];if(e.length<1||e.length>50)return{ok:!1,error:`'${f}' needs at least one statement row.`};p.rows=e}l.add(e),u.push(p)}return{ok:!0,questions:u}},"visibilityRuleError",0,s,"visibleQuestions",0,u])},3121628,e=>{"use strict";let t=[{value:"Conference",label:"Conference"},{value:"Workshop",label:"Workshop"},{value:"Seminar",label:"Seminar"},{value:"Webinar",label:"Webinar"},{value:"Training",label:"Training"},{value:"Meeting",label:"Meeting"},{value:"SocialEvent",label:"Social Event"},{value:"Exhibition",label:"Exhibition"},{value:"External",label:"External"}],r=[{value:"InPerson",label:"In-person"},{value:"Online",label:"Online"},{value:"Hybrid",label:"Hybrid"}];e.s(["EVENT_FORMATS",0,r,"EVENT_STATUSES",0,[{value:"Draft",label:"Draft"},{value:"Published",label:"Published"},{value:"Archived",label:"Archived"},{value:"Cancelled",label:"Cancelled"}],"EVENT_TYPES",0,t,"getEventFormatLabel",0,function(e){let t=r.find(t=>t.value===e);return t?.label??e},"getEventTypeLabel",0,function(e){let r=t.find(t=>t.value===e);return r?.label??e}
1])},6733261,e=>{"use strict";var t=e.i(3121628);function r(e){return e.trim().replace(/[_\s-]+/g,"").toLowerCase()}function n(e,t={}){return new Map([...e.flatMap(e=>[[r(e.value),e.value],[r(e.label),e.value]]),...Object.entries(t)])}let i=n(t.EVENT_TYPES,{meetup:"SocialEvent",social:"SocialEvent"}),l=n(t.EVENT_FORMATS);n(t.EVENT_STATUSES,{archive:"Archived"}),e.s(["coerceEventFormat",0,function(e,t="Online"){return"string"!=typeof e?t:l.get(r(e))??t},"coerceEventType",0,function(e,t="Conference"){return"string"!=typeof e?t:i.get(r(e))??t}])},3829737,e=>{"use strict";var t=e.i(6733261);function r(e){return!e||"object"!=typeof e||Array.isArray(e)?{}:e}function n(e){if("string"!=typeof e)return null;let t=e.trim();return t.length>0?t:null}function i(e){let r=(0,t.coerceEventType)(e,"Conference");switch(r){case"Conference":return{type:r,forcedFormat:null,supportsInternalRegistration:!0,supportsSubmissions:!0};case"Webinar":return{type:r,forcedFormat:"Online",supportsInternalRegistration:!0,supportsSubmissions:!1};case"External":return{type:r,forcedFormat:"Online",supportsInternalRegistration:!1,supportsSubmissions:!1};default:return{type:r,forcedFormat:null,supportsInternalRegistration:!0,supportsSubmissions:!1}}}function l(e,r,n="Online"){let o=i(e);return o.forcedFormat?o.forcedFormat:(0,t.coerceEventFormat)(r,n)}e.s(["getEventAdminSurfaceCapabilities",0,function(e){let t=i(e);return{showsRegistrationsTab:t.supportsInternalRegistration,showsWaitlistTab:t.supportsInternalRegistration,showsReviewsTab:t.supportsSubmissions,showsJoinRequestsTab:"Webinar"===t.type}},"getEventLogisticsCapabilities",0,function(e){let r=(0,t.coerceEventFormat)(e,"Online"),n="InPerson"===r||"Hybrid"===r;return{collectsDietary:n,collectsTravel:n,showsJoinLink:"Online"===r||"Hybrid"===r,issuesEntryPass:n,hasVenue:n}},"getEventTypeCapabilities",0,i,"normalizeAbstractSubmissionForType",0,function(e,t){let n=i(e),l=r(t);return n.supportsSubmissions?l:{...l,enabled:!1}},"normalizeEventFormatForType",0,l,"normalizeLocationFieldsForType",0,function(e,r,i,o="Online"){let a=(0,t.coerceEventType)(e,"Conference"),s=l(a,r,o),u=n(i.venueAddress),c=n(i.meetingLink),d=n(i.externalEventUrl);return"External"===a?{eventLocation:s,venueAddress:null,meetingLink:null,externalEventUrl:d}:"InPerson"===s?{eventLocation:s,venueAddress:u,meetingLink:null,externalEventUrl:null}:"Hybrid"===s?{eventLocation:s,venueAddress:u,meetingLink:c,externalEventUrl:null}:{eventLocation:s,venueAddress:null,meetingLink:c,externalEventUrl:null}},"normalizeRegistrationSettingsForType",0,function(e,t){let n=i(e),l=r(t);return n.supportsInternalRegistration?l:{...l,registrationOpen:!1,requiresApproval:!1,waitlistEnabled:!1}},"normalizeReviewSettingsForType",0,function(e,t){let n=i(e),l=r(t);return n.supportsSubmissions?l:{...l,acceptsSubmissions:!1}}])},6687997,e=>{"use strict";var t=e.i(3829737),r=e.i(2347194);let n="accessibility-accommodations",i=new Set(["single_choice","multiple_choice","dropdown"]);function l(e,t){return Array.isArray(e)?e.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>e.trim()).slice(0,t):[]}function o(e){let t={id:e.id,type:e.type??"short_text",label:e.question,required:e.required};return e.helpText&&(t.hint=e.helpText),e.options?.length&&(t.options=[...e.options]),e.scale&&(t.scale=e.scale),e.rows?.length&&(t.rows=[...e.rows]),e.visibleIf&&(t.visibleIf={questionId:e.visibleIf.questionId,in:[...e.visibleIf.in]}),e.otherOption&&(t.otherOption=!0),e.section&&(t.section=e.section.description?{title:e.section.title,description:e.section.description}:{title:e.section.title}),t}function a(e){return e.map(o)}function s(e){let t={id:e.id,question:e.label,required:e.required};return e.hint&&(t.helpText=e.hint),"short_text"!==e.type&&(t.type=e.type),e.options?.length&&(t.options=[...e.options]),e.scale&&(t.scale=e.scale),e.rows?.length&&(t.rows=[...e.rows]),e.visibleIf?.in.length&&(t.visibleIf={questionId:e.visibleIf.questionId,in:[...e.visibleIf.in]}),e.otherOption&&(t.otherOption=!0),e.section&&(t.section=e.section.description?{title:e.section.title,description:e.section.description}:{title:e.section.title}),t}e.s(["ACCESSIBILITY_ACCOMMODATIONS_QUESTION_ID",0,n,"configsToRegistrationQuestions",0,function(e){return e.map(s)},"formatRegistrationAnswerValue",0,function(e){return"string"==typeof e?e.trim():"number"==typeof e?Number.isFinite(e)?String(e):"":Array.isArray(e)?e.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>e.trim()).join(", "):e&&"object"==typeof e?Object.entries(e).filter(([,e])=>"number"==typeof e&&Number.isFinite(e)).map(([e,t])=>`${e}: ${t}`).join(" · "):""},"getMissingRequiredQuestions",0,function(e,t){if(!e.length)return[];let n=t&&"object"==typeof t?t:{},i=new Set((0,r.visibleQuestions)(a(e),n).map(e=>e.id));return e.filter(e=>{if(!i.has(e.id)||!e.required)return!1;let t=n[e.id];if("string"==typeof t)return 0===t.trim().length;if("number"==typeof t)return!Number.isFinite(t);if(Array.isArray(t)){let r=t.filter(e=>"string"==typeof e&&e.trim());return"ranking"===e.type?r.length!==(e.options??[]).length:0===r.length}return!t||"object"!=typeof t||!Object.values(t).some(e=>"number"==typeof e&&Number.isFinite(e))})},"normalizeRegistrationQuestions",0,function(e,o){var a;let s=Array.isArray(e)?e:e&&"object"==typeof e&&Array.isArray(e.customQuestions)?e.customQuestions:[],u=new Set,c=[];
1if(s.forEach(e=>{let t="string"==typeof e?.id?e.id.trim():"",n="string"==typeof e?.question?e.question.trim():"";if(!t||!n||u.has(t))return;u.add(t);let o={id:t,question:n,required:!!e?.required};if("string"==typeof e?.helpText){let t=e.helpText.trim();t&&(o.helpText=t)}let a=(0,r.parseVisibilityRule)(e?.visibleIf);a&&(o.visibleIf=a);let s=(0,r.parseSectionHeading)(e?.section);s&&(o.section=s),e&&"object"==typeof e&&function(e,t){let n=r.QUESTION_TYPES.includes(t.type)?t.type:null;if(n&&"short_text"!==n){if(i.has(n)){let r=l(t.options,50);if(r.length<2)return;e.type=n,e.options=r,!0!==t.otherOption||r.some(e=>"other"===e.toLowerCase())||(e.otherOption=!0);return}if("ranking"===n){let r=l(t.options,50);if(r.length<2)return;e.type="ranking",e.options=r;return}if("likert"===n){let r=Number(t.scale),n=l(t.rows,50);if(5!==r&&7!==r&&10!==r||!n.length)return;e.type="likert",e.scale=r,e.rows=n;return}if("linear_scale"===n){let r=Number(t.scale);if(5!==r&&7!==r&&10!==r)return;e.type="linear_scale",e.scale=r;return}e.type=n}}(o,e),c.push(o)}),c.forEach((e,t)=>{if(!e.visibleIf)return;let n=c.slice(0,t).map(e=>({id:e.id,type:e.type??"short_text",options:e.options}));(0,r.visibilityRuleError)(n,e.visibleIf)&&delete e.visibleIf}),o?.includeDefaults!==!1){let e;for(let r of[(a=o?.eventLocation,e=(0,t.getEventLogisticsCapabilities)(a??"InPerson").hasVenue?"For example step-free access, captioning, sign-language interpretation, or seating needs.":"For example captioning, sign-language interpretation, or screen-reader needs.",{id:n,type:"long_text",question:"Do you have any accessibility requirements or accommodations we should arrange?",required:!1,helpText:`${e} Shared only with the event organisers.`})])u.has(r.id)||(u.add(r.id),c.push(r))}return c},"registrationQuestionsToConfigs",0,a])},3296577,e=>{"use strict";var t=e.i(1692690);function r(e){return e&&"object"==typeof e&&!Array.isArray(e)?e:{}}function n(e){return"string"==typeof e&&e.trim()?e.trim():null}function i(e){let t=r(e?.abstractSubmission);return Object.prototype.hasOwnProperty.call(t,"deadline")?n(t.deadline):n(t.submissionDeadline)??n(r(e?.reviewSettings).submissionDeadline)}e.s(["callForPapersWindow",0,function(e,r,n){let l=i(e),o=(0,t.resolveEventDateBoundary)(l,"end",n);if(!o||null===r)return{open:!0,deadline:o?l:null,closesAt:o,daysLeft:null};let a=r instanceof Date?r:new Date(r),s=a.getTime()<=o.getTime();return{open:s,deadline:l,closesAt:o,daysLeft:s?Math.max(0,(0,t.eventDaysUntil)(l,a,n)??0):null}},"eventSubmissionDeadline",0,i])},6621272,e=>{"use strict";function t(e,r=Date.now()){let n=Date.parse(e.start??"");if(!Number.isFinite(n))return"unscheduled";let i=Date.parse(e.end??"");return r<n-9e5?"upcoming":Number.isFinite(i)&&r>i?"ended":"live"}let r="#session-";e.s(["SESSION_ENTRY_LEAD_MS",0,9e5,"happeningNow",0,function(e,r=Date.now()){let n=e.find(e=>"live"===t(e,r));if(n)return{session:n,state:"live"};let i=e.filter(e=>"upcoming"===t(e,r)).sort((e,t)=>Date.parse(e.start??"")-Date.parse(t.start??""))[0];return i?{session:i,state:"upcoming"}:null},"readSessionReturnHash",0,function(e){if(!e||!e.startsWith(r))return null;try{let t=decodeURIComponent(e.slice(r.length));return t&&t.length<=200?t:null}catch{return null}},"sessionEntry",0,function(e,r=Date.now()){let n=t(e.session,r),i=`/events/${encodeURIComponent(e.eventId)}`,l=`${i}/live/${encodeURIComponent(e.session.id)}`;return"live"===n?{state:n,chip:"Live now",action:{label:"Join session",href:l,primary:!0}}:"ended"===n?{state:n,chip:null,action:{label:"Watch recording",href:`${i}/replay/${encodeURIComponent(e.session.id)}`,primary:!1}}:{state:n,chip:null,action:{label:"Preview session",href:l,primary:!1}}},"sessionEntryState",0,t,"sessionReturnHash",0,function(e){return`${r}${encodeURIComponent(e)}`}])},3074265,e=>{"use strict";e.s(["REGISTRATION_STATUS_LABELS",0,{open:"Registration open",paused:"Registration not open",closed:"Registration closed","not-open":"Registration not yet open",cancelled:"Event cancelled"},"buildTicketPayload",0,function(e){return Array.isArray(e.ticketTypes)&&e.ticketTypes.length>0?e.ticketTypes:Array.isArray(e.registrationTypes)?e.registrationTypes.map((e,t)=>({id:e.id||`legacy-${t}`,name:e.name||e.type||`Ticket ${t+1}`,description:e.description??"",price:"number"==typeof e.price?e.price:Number(e.price)||0,currency:e.currency||e.currencyCode||"USD",quantity:e.quantity??null,salesStart:e.salesStart??null,salesEnd:e.salesEnd??null,earlyBird:!!e.earlyBird,earlyBirdPrice:e.earlyBirdPrice??null,earlyBirdEndsAt:e.earlyBirdEndsAt??null,bulkPricing:e.bulkPricing??[]})):[]},"formatCurrency",0,function(e,t){if("number"!=typeof e||Number.isNaN(e))return null;let r=t||"USD";try{return new Intl.NumberFormat(void 0,{style:"currency",currency:r}).format(e)}catch{return`${e.toFixed(2)} ${r}`}},"normalizeTickets",0,function(e){let t=e=>{if("number"==typeof e&&Number.isFinite(e))return e;if("string"==typeof e&&e.trim().length>0){let t=Number(e);if(Number.isFinite(t))return t}return null};return e.map((e,r)=>({id:String(e.id||e.type||e.name||r),name:e.name||e.type||`Ticket ${r+1}`,description:e.description??e.notes??null,price:t(e.price),currency:e.currency||e.currencyCode||null,earlyBird:!!e.earlyBird,earlyBirdPrice:t(e.earlyBirdPrice),earlyBirdEndsAt:e.earlyBirdEndsAt??null,salesStart:"string"==typeof e.salesStart?e.salesStart:null,salesEnd:"string"==typeof e.salesEnd?e.salesEnd:null,available:t(e.available),soldOut:!0===e.soldOut,total:t(e.total)??t(e.quantity),features:Array.isArray(e.features)?e.features.filter(e=>"string"==typeof e).map(e=>
1e.trim()).filter(Boolean):[]}))}])},2474337,e=>{"use strict";var t=e.i(9927898),r=e.i(1692690);let n=(e,t=0)=>{if("number"==typeof e&&Number.isFinite(e))return e;if("string"==typeof e&&""!==e.trim()){let r=Number(e);return Number.isFinite(r)?r:t}return t},i=e=>{var t;let r="string"==typeof e?.currency&&e.currency.trim()?e.currency.trim().toUpperCase():"USD";return{id:String(e?.id||""),name:"string"==typeof e?.name?e.name:"Ticket",price:n(e?.price,0),currency:r,earlyBird:!!e?.earlyBird,earlyBirdPrice:e?.earlyBirdPrice===void 0||e?.earlyBirdPrice===null?null:n(e.earlyBirdPrice,0),earlyBirdEndsAt:"string"==typeof e?.earlyBirdEndsAt?e.earlyBirdEndsAt:"string"==typeof e?.salesEnd?e.salesEnd:null,salesStart:"string"==typeof e?.salesStart?e.salesStart:null,salesEnd:"string"==typeof e?.salesEnd?e.salesEnd:null,bulkPricing:Array.isArray(t=e?.bulkPricing)?t.map(e=>({id:"string"==typeof e?.id?e.id:void 0,minQuantity:n(e?.minQuantity,0),price:n(e?.price,0)})).filter(e=>e.minQuantity>0&&e.price>=0).sort((e,t)=>e.minQuantity-t.minQuantity):[]}},l=(e,t,n)=>{if(!e.earlyBird)return!1;if(!e.earlyBirdEndsAt)return!!e.earlyBirdPrice;let i=(0,r.resolveEventDateBoundary)(e.earlyBirdEndsAt,"end",n);return i?t.getTime()<=i.getTime():!!e.earlyBirdPrice},o=e=>Math.max(0,Math.round(100*e)),a=e=>Number((e/100).toFixed(2));e.s(["applyDiscount",0,(e,t)=>{if(!t)return{...e,total:e.subtotal,discountAmount:0,discountedBreakdowns:e.breakdowns.map(e=>({...e,discountAmount:0,total:e.subtotal}))};let r=e.breakdowns.map(e=>t&&(!Array.isArray(t.appliesToTicketIds)||0===t.appliesToTicketIds.length||t.appliesToTicketIds.includes(e.ticketId))?o(e.subtotal):0),n=Math.min(o(Math.min(a(r.reduce((e,t)=>e+t,0)),Number(t.amount.toFixed(2)))),r.reduce((e,t)=>e+t,0)),i=((e,t)=>{if(t<=0||0===e.length)return e.map(()=>0);let r=e.reduce((e,t)=>e+Math.max(0,t),0);if(r<=0)return e.map(()=>0);let n=e.map((e,n)=>{let i=Math.max(0,e),l=i/r*t,o=Math.min(Math.floor(l),i);return{index:n,allocated:o,remainder:l-Math.floor(l),capacity:i-o}}),i=t-n.reduce((e,t)=>e+t.allocated,0);return n.sort((e,t)=>t.remainder!==e.remainder?t.remainder-e.remainder:t.capacity-e.capacity).forEach(e=>{i<=0||e.capacity<=0||(e.allocated+=1,e.capacity-=1,i-=1)}),i>0&&n.sort((e,t)=>t.capacity-e.capacity).forEach(e=>{for(;i>0&&e.capacity>0;)e.allocated+=1,e.capacity-=1,i-=1}),n.sort((e,t)=>e.index-t.index).map(e=>e.allocated)})(r,n),l=e.breakdowns.map((e,t)=>{let r=a(i[t]??0);return{...e,discountAmount:r,total:Number((e.subtotal-r).toFixed(2))}}),s=Number(l.reduce((e,t)=>e+t.total,0).toFixed(2));return{...e,total:s,discountAmount:a(n),discountedBreakdowns:l}},"calculatePricingSummary",0,({tickets:e,selections:t,now:r=new Date,timeZone:n})=>{let o,a=(o={},e.forEach(e=>{let t=i(e);t.id&&(o[t.id]=t)}),o),s=[],u=0,c=0,d=null;return t.forEach(e=>{let t=a[e.ticketId];if(!t||e.quantity<=0)return;let i=((e,t,r,n)=>{let i=[],o=Math.max(0,t),a=e.price;if(e.earlyBird&&l(e,r,n)){let t=Math.min(a,e.earlyBirdPrice??e.price);t<a&&(i.push({type:"early-bird",label:"Early bird",amount:Number((a-t).toFixed(2))}),a=t)}let s=((e,t)=>{if(!e.bulkPricing||0===e.bulkPricing.length)return null;let r=e.bulkPricing.filter(e=>e.minQuantity<=t);return 0===r.length?null:r.reduce((e,t)=>t.minQuantity>(e?.minQuantity??0)?t:e,r[0])})(e,o);s&&s.price<a&&(i.push({type:"bulk",label:`Bulk ${s.minQuantity}+`,amount:Number((a-s.price).toFixed(2))}),a=s.price);let u=Number((a*o).toFixed(2));return{ticketId:e.id,ticketName:e.name,unitPrice:a,quantity:o,subtotal:u,total:u,currency:e.currency,adjustments:i}})(t,e.quantity,r,n);u+=i.total,c+=e.quantity,d=d||i.currency,s.push(i)}),{breakdowns:s,subtotal:Number(u.toFixed(2)),totalQuantity:c,currency:d||"USD"}},"isEarlyBirdPriceActive",0,(e,r=new Date)=>{let{now:n,timeZone:o}=(0,t.readEventDateClock)(r),a=i(e);return null!==a.earlyBirdPrice&&l(a,n,o)}])},3397394,e=>{"use strict";var t=e.i(9927898),r=e.i(1692690);function n(e,i=new Date){let{now:l,timeZone:o}=(0,t.readEventDateClock)(i),a="string"==typeof e.salesStart?(0,r.resolveEventDateBoundary)(e.salesStart,"start",o):null;if(a&&l.getTime()<a.getTime())return"not-yet-on-sale";let s="string"==typeof e.salesEnd?(0,r.resolveEventDateBoundary)(e.salesEnd,"end",o):null;return s&&l.getTime()>s.getTime()?"sales-ended":"on-sale"}function i(e,r){return(0,t.formatEventDateDay)(e,r)}function l(e,t=new Date){let r=n(e,t);return"on-sale"!==r?r:!0===e.soldOut||"number"==typeof e.available&&e.available<=0?"sold-out":"available"}function o(e,t={}){if(t.heldTicketId&&e.id===t.heldTicketId)return null;let r=l(e,{now:t.now,timeZone:t.timeZone});return"not-yet-on-sale"===r?`On sale from ${i(e.salesStart,t.timeZone)}`:"sales-ended"===r?"Sales ended":"sold-out"===r?"Sold out":null}let a={"not-yet-on-sale":"Not on sale yet","sold-out":"Sold out","sales-ended":"Sales ended"};e.s(["formatTicketSalesDate",0,i,"getTicketAvailabilityState",0,l,"getTicketSalesState",0,n,"getTicketUnavailableLabel",0,o,"isTicketSelectable",0,(e,t={})=>null===o(e,t),"summariseTicketAvailability",0,function(e,t=new Date){let r=e.map(e=>l(e,t));return 0===r.length||r.includes("available")?{available:!0,label:null}:{available:!1,label:a[["not-yet-on-sale","sold-out","sales-ended"].find(e=>r.includes(e))??"sales-ended"]}}])},4969159,7702528,e=>{"use strict";function t(e){let t=r(e);if(!t)return null;let i="number"==typeof t.rate&&Number.isFinite(t.rate)?t.rate:null;return null===i||i<=0?null:{rate:i<1?i:Math.min(i,100)/100,inclusive:!!t.inclusive,label:n(t.label)??"Tax",organizerTaxId:n(t.organizerTaxId)}}function r(e){return null===e||"object"!=typeof e||Array.isArray(e)?null:e}function n(e){if("string"!=typeof e)return null;let t=e.trim();return t.length>0?t:null}e.s(["normalizeEventTaxConfig",0,t,"readEventTaxConfig",0,function(e){return t(r(r(e)?.paymentSettings)?.tax)}],7702528);let i=e=>Number((e/100).toFixed(2));e.s(["applyTaxToTotal",0,function(e,t){let r,n,l,o=Number.isFinite(e)&&e>0?Number(e.toFixed(2)):0;if(!t||t.rate<=0||o<=0)return{grossTotal:o,appliedTax:null};let a=Math.round(100*o);return t.inclusive?(r=Math.round((l=a)/(1+t.rate)),n=l-r):(n=Math.round((r=a)*t.rate),l=r+n),{grossTotal:i(l),appliedTax:{rate:t.rate,inclusive:t.inclusive,label:t.label,organizerTaxId:t.organizerTaxId,taxAmount:i(n),netTotal:i(r),grossTotal:i(l)}}},"formatTaxRatePercent",0,function(e){return`${Number((100*e).toFixed(2))}%`}],4969159)},96807,e=>{"use strict";var t=e.i(4969159),r=e.i(7702528);function n(e){if(!e||"object"!=typeof e)return null;let{rate:t,inclusive:r,label:n}=e;return"number"!=typeof t||!Number.isFinite(t)||t<=0?null:{rate:t,inclusive:!0===r,label:"string"==typeof n&&n.trim()?n.trim():"Tax"}}let i=e=>e&&"object"==typeof e&&!Array.isArray(e)?e:null;function l(e,r){if(!r||!(r.rate>0)||!(e>0))return null;let{grossTotal:n,appliedTax:i}=(0,t.applyTaxToTotal)(e,{...r,organizerTaxId:null});return i?{gross:n,net:i.netTotal,tax:i.taxAmount}:null}e.s(["grossPrice",0,function(e,t){return l(e,t)?.gross??e},"readEventTicketTax",0,function(e){if(!e?.isPaymentRequired)return null;let t=i(e.optionalQuestions);if(!t)return null;if(void 0!==t.ticketTax)return n(t.ticketTax);let l=(0,r.normalizeEventTaxConfig)(i(t.paymentSettings)?.tax);return l?{rate:l.rate,inclusive:l.inclusive,label:l.label}:null},"readPriceTaxRule",0,n,"taxRuleLabel",0,function(e){return`${e.label} (${(0,t.formatTaxRatePercent)(e.rate)})`},"taxSplitLabel",0,function(e,t,r){return`${r(e.net)} + ${r(e.tax)} ${t.label}`},"taxedPrice",0,l])},367823,e=>{"use strict";function t(e){return`/events/${encodeURIComponent(e)}`}e.s(["eventDashboardHref",0,function(e,r){let n=`${t(e)}/dashboard`;return r&&"overview"!==r?`${n}?tab=${r}`:n},"eventManageHref",0,function(e){return`${t(e)}/manage`},"eventPagePath",0,t,"eventReviewsHref",0,function(e){return`${t(e)}/reviews`},"eventSurveyHref",0,function(e){return`${t(e)}/survey`},"registrationIntentHref",0,function(e,r,n){let i=new URLSearchParams({tab:"registration",intent:r});
1return n&&i.set("ticket",n),`${t(e)}?${i.toString()}`},"resolveEventPathId",0,function(e){for(let t of[e.publicEventId,e.slug,e.id])if("string"==typeof t&&t.trim())return t.trim();return""},"signInHref",0,function(e){return`/sign-in?callbackURL=${encodeURIComponent(e)}`}])},4041266,e=>{"use strict";e.s(["REFUND_ON_ITS_WAY_REFUSAL",0,{status:409,code:"REFUND_ON_ITS_WAY",error:"Your refund is still on its way. You can book again once it has gone through."},"isPlaceRefundedInFull",0,function(e){return"APPROVED"===(e?.refundStatus??"").trim().toUpperCase()}])}]);

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.