PageSourceSearch

https://www.dulaccinemas.com/assets/ClubsCalendar-jHf6hb8m.js

js dulaccinemas.com collected 2026-09-24 20:33:44 UTC 32,210 bytes, 1 lines download raw bytes

1var Ee=Object.defineProperty;var Oe=(r,n,e)=>n in r?Ee(r,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[n]=e;var o=(r,n,e)=>Oe(r,typeof n!="symbol"?n+"":n,e);import{aq as I,ar as D,o as ge,r as N,Q as Ye,W as Ie,j as c,b as Ce,L as He,s as $,B as Y,a1 as Le,a2 as qe,a3 as Re}from"./index-4GbVLrPE.js";import Qe from"./Footer-XcITMXcc.js";import{A as me,a as he}from"./alert-BqJT4o6D.js";import{B as xe}from"./badge-CRHC_8pq.js";import{u as Fe}from"./usePageSeo-BfM8zOmw.js";import{H as Te,C as Ae,D as Be,I as ze,J as Ge,d as Z,K as _e,L as We,M as $e,N as ke,O as Xe,P as we,Q as Ke,R as pe,S as Ve,c as X,j as C,u as Ze,a as Ue,r as Je,e as Se,f as et,h as tt,y as ye,l as st,w as rt,o as nt,k as V}from"./publicSignals-COcB3eVG.js";import{a as at}from"./CompactSeanceTag-CH7H2kZl.js";import{s as it,e as ot,a as be}from"./startOfMonth-9HNN952d.js";import{C as ct}from"./chevron-left-Dqo3d8qg.js";import{C as lt}from"./chevron-right-C3aRggHg.js";import{i as ut}from"./isSameDay-B7mP1czC.js";import"./map-pin-BL1scy23.js";import"./mail-JIPly4A8.js";import"./clock-DYsQa5uu.js";import"./siteUrl-B0_j_9d8.js";import"./star-DDQDfavO.js";import"./users-Cfw76emf.js";function dt(r,n){const e=I(r.start),s=I(r.end);let t=+e>+s;const i=t?+e:+s,u=t?s:e;u.setHours(0,0,0,0);let x=1;const g=[];for(;+u<=i;)g.push(I(u)),u.setDate(u.getDate()+x),u.setHours(0,0,0,0);return t?g.reverse():g}function ft(){return Object.assign({},Te())}function mt(r){let e=I(r).getDay();return e===0&&(e=7),e}function ht(r,n){const e=n instanceof Date?D(n,0):new n(0);return e.setFullYear(r.getFullYear(),r.getMonth(),r.getDate()),e.setHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),e}const xt=10;class Me{constructor(){o(this,"subPriority",0)}validate(n,e){return!0}}class wt extends Me{constructor(n,e,s,t,i){super(),this.value=n,this.validateValue=e,this.setValue=s,this.priority=t,i&&(this.subPriority=i)}validate(n,e){return this.validateValue(n,this.value,e)}set(n,e,s){return this.setValue(n,e,this.value,s)}}class pt extends Me{constructor(){super(...arguments);o(this,"priority",xt);o(this,"subPriority",-1)}set(e,s){return s.timestampIsSet?e:D(e,ht(e,Date))}}class f{run(n,e,s,t){const i=this.parse(n,e,s,t);return i?{setter:new wt(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(n,e,s){return!0}}class yt extends f{constructor(){super(...arguments);o(this,"priority",140);o(this,"incompatibleTokens",["R","u","t","T"])}parse(e,s,t){switch(s){case"G":case"GG":case"GGG":return t.era(e,{width:"abbreviated"})||t.era(e,{width:"narrow"});case"GGGGG":return t.era(e,{width:"narrow"});case"GGGG":default:return t.era(e,{width:"wide"})||t.era(e,{width:"abbreviated"})||t.era(e,{width:"narrow"})}}set(e,s,t){return s.era=t,e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}}const y={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},P={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function b(r,n){return r&&{value:n(r.value),rest:r.rest}}function w(r,n){const e=n.match(r);return e?{value:parseInt(e[0],10),rest:n.slice(e[0].length)}:null}function j(r,n){const e=n.match(r);if(!e)return null;if(e[0]==="Z")return{value:0,rest:n.slice(1)};const s=e[1]==="+"?1:-1,t=e[2]?parseInt(e[2],10):0,i=e[3]?parseInt(e[3],10):0,u=e[5]?parseInt(e[5],10):0;return{value:s*(t*Ae+i*Be+u*ze),rest:n.slice(e[0].length)}}function De(r){return w(y.anyDigitsSigned,r)}function p(r,n){switch(r){case 1:return w(y.singleDigit,n);case 2:return w(y.twoDigits,n);case 3:return w(y.threeDigits,n);case 4:return w(y.fourDigits,n);default:return w(new RegExp("^\\d{1,"+r+"}"),n)}}function K(r,n){switch(r){case 1:return w(y.singleDigitSigned,n);case 2:return w(y.twoDigitsSigned,n);case 3:return w(y.threeDigitsSigned,n);case 4:return w(y.fourDigitsSigned,n);default:return w(new RegExp("^-?\\d{1,"+r+"}"),n)}}function U(r){switch(r){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function ve(r,n){const e=n>0,s=e?n:1-n;let t;if(s<=50)t=r||100;else{const i=s+50,u=Math.trunc(i/100)*100,x=r>=i%100;t=r+u-(x?100:0)}return e?t:1-t}function Ne(r){return r%400===0||r%4===0&&r%100!==0}class bt extends f{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(e,s,t){const i=u=>({year:u,isTwoDigitYear:s==="yy"});switch(s){case"y":return b(p(4,e),i);case"yo":return b(t.ordinalNumber(e,{unit:"year"}),i);default:return b(p(s.length,e),i)}}validate(e,s){return s.isTwoDigitYear||s.year>0}set(e,s,t){const i=e.getFullYear();if(t.isTwoDigitYear){const x=ve(t.year,i);return e.setFullYear(x,0,1),e.setHours(0,0,0,0),e}const u=!("era"in s)||s.era===1?t.year:1-t.year;return e.setFullYear(u,0,1),e.setHours(0,0,0,0),e}}class gt extends f{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(e,s,t){const i=u=>({year:u,isTwoDigitYear:s==="YY"});switch(s){case"Y":return b(p(4,e),i);case"Yo":return b(t.ordinalNumber(e,{unit:"year"}),i);default:return b(p(s.length,e),i)}}validate(e,s){return s.isTwoDigitYear||s.year>0}set(e,s,t,i){const u=Ge(e,i);if(t.isTwoDigitYear){const g=ve(t.year,u);return e.setFullYear(g,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),Z(e,i)}const x=!("era"in s)||s.era===1?t.year:1-t.year;return e.setFullYear(x,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),Z(e,i)}}class Tt extends f{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,s){return K(s==="R"?4:s.length,e)}set(e,s,t){const i=D(e,0);return i.setFullYear(t,0,4),i.setHours(0,0,0,0),_e(i)}}class _t extends f{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,s){return K(s==="u"?4:s.length,e)}set(e,s,t){return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}}class kt extends f{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,s,t){switch(s){case"Q":case"QQ":return p(s.length,e);case"Qo":return t.ordinalNumber(e,{unit:"quarter"});case"QQQ":return t.quarter(e,{width:"abbreviated",context:"formatting"})||t.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return t.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(e,{width:"wide",context:"formatting"})||t.quarter(e,{width:"abbreviated",context:"formatting"})||t.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,s){return s>=1&&s<=4}set(e,s,t){return e.setMonth((t-1)*3,1),e.setHours(0,0,0,0),e}}class Mt extends f{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,s,t){switch(s){case"q":case"qq":return p(s.length,e);case"qo":return t.ordinalNumber(e,{unit:"quarter"});case"qqq":return t.quarter(e,{width:"abbreviated",context:"standalone"})||t.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return t.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(e,{width:"wide",context:"standalone"})||t.quarter(e,{width:"abbreviated",context:"standalone"})||t.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,s){return s>=1&&s<=4}set(e,s,t){return e.setMonth((t-1)*3,1),e.setHours(0,0,0,0),e}}class Dt extends f{constructor(){super(...arguments);o(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);o(this,"priority",110)}parse(e,s,t){const i=u=>u-1;switch(s){case"M":return b(w(y.month,e),i);case"MM":return b(p(2,e),i);case"Mo":return b(t.ordinalNumber(e,{unit:"month"}),i);case"MMM":return t.month(e,{width:"abbreviated",context:"formatting"})||t.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return t.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(e,{width:"wide",context:"formatting"})||t.month(e,{width:"abbreviated",context:"formatting"})||t.month(e,{width:"narrow",context:"formatting"})}}validate(e,s){return s>=0&&s<=11}set(e,s,t){return e.setMonth(t,1),e.setHours(0,0,0,0),e}}class vt extends f{constructor(){super(...arguments);o(this,"priority",110);o(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(e,s,t){const i=u=>u-1;switch(s){case"L":return b(w(y.month,e),i);case"LL":return b(p(2,e),i);case"Lo":return b(t.ordinalNumber(e,{unit:"month"}),i);case"LLL":return t.month(e,{width:"abbreviated",context:"standalone"})||t.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return t.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(e,{width:"wide",context:"standalone"})||t.month(e,{width:"abbreviated",context:"standalone"})||t.month(e,{width:"narrow",context:"standalone"})}}validate(e,s){return s>=0&&s<=11}set(e,s,t){return e.setMonth(t,1),e.setHours(0,0,0,0),e}}function Nt(r,n,e){const s=I(r),t=We(s,e)-n;return s.setDate(s.getDate()-t*7),s}class Pt extends f{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,s,t){switch(s){case"w":return w(y.week,e);case"wo":return t.ordinalNumber(e,{unit:"week"});default:return p(s.length,e)}}validate(e,s){return s>=1&&s<=53}set(e,s,t,i){return Z(Nt(e,t,i),i)}}function jt(r,n){const e=I(r),s=$e(e)-n;return e.setDate(e.getDate()-s*7),e}class Et extends f{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,s,t){switch(s){case"I":return w(y.week,e);case"Io":return t.ordinalNumber(e,{unit:"week"});default:return p(s.length,e)}}validate(e,s){return s>=1&&s<=53}set(e,s,t){return _e(jt(e,t))}}const Ot=[31,28,31,30,31,30,31,31,30,31,30,31],Yt=[31,29,31,30,31,30,31,31,30,31,30,31];class It extends f{constructor(){super(...arguments);o(this,"priority",90);o(this,"subPriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,s,t){switch(s){case"d":return w(y.date,e);case"do":return t.ordinalNumber(e,{unit:"date"});default:return p(s.length,e)}}validate(e,s){const t=e.getFullYear(),i=Ne(t),u=e.getMonth();return i?s>=1&&s<=Yt[u]:s>=1&&s<=Ot[u]}set(e,s,t){return e.setDate(t),e.setHours(0,0,0,0),e}}class Ct extends f{constructor(){super(...arguments);o(this,"priority",90);o(this,"subpriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,s,t){switch(s){case"D":case"DD":return w(y.dayOfYear,e);case"Do":return t.ordinalNumber(e,{unit:"date"});default:return p(s.length,e)}}validate(e,s){const t=e.getFullYear();return Ne(t)?s>=1&&s<=366:s>=1&&s<=365}set(e,s,t){return e.setMonth(0,t),e.setHours(0,0,0,0),e}}function J(r,n,e){var O,H,_,v;const s=Te(),t=(e==null?void 0:e.weekStartsOn)??((H=(O=e==null?void 0:e.locale)==null?void 0:O.options)==null?void 0:H.weekStartsOn)??s.weekStartsOn??((v=(_=s.locale)==null?void 0:_.options)==null?void 0:v.weekStartsOn)??0,i=I(r),u=i.getDay(),g=(n%7+7)%7,E=7-t,Q=n<0||n>6?n-(u+E)%7:(g+E)%7-(u+E)%7;return ge(i,Q)}class Ht extends f{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(e,s,t){switch(s){case"E":case"EE":case"EEE":return t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return t.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return t.day(e,{width:"wide",context:"formatting"})||t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"})}}validate(e,s){return s>=0&&s<=6}set(e,s,t,i){return e=J(e,t,i),e.setHours(0,0,0,0),e}}class Lt extends f{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(e,s,t,i){const u=x=>{const g=Math.floor((x-1)/7)*7;return(x+i.weekStartsOn+6)%7+g};switch(s){case"e":case"ee":return b(p(s.length,e),u);case"eo":return b(t.ordinalNumber(e,{unit:"day"}),u);case"eee":return t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});case"eeeee":return t.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return t.day(e,{width:"wide",context:"formatting"})||t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"})}}validate(e,s){return s>=0&&s<=6}set(e,s,t,i){return e=J(e,t,i),e.setHours(0,0,0,0),e}}class qt extends f{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(e,s,t,i){const u=x=>{const g=Math.floor((x-1)/7)*7;return(x+i.weekStartsOn+6)%7+g};switch(s){case"c":case"cc":return b(p(s.length,e),u);case"co":return b(t.ordinalNumber(e,{unit:"day"}),u);case"ccc":return t.day(e,{width:"abbreviated",context:"standalone"})||t.day(e,{width:"short",context:"standalone"})||t.day(e,{width:"narrow",context:"standalone"});case"ccccc":return t.day(e,{width:"narrow",context:"standalone"});case"cccccc":return t.day(e,{width:"short",context:"standalone"})||t.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return t.day(e,{width:"wide",context:"standalone"})||t.day(e,{width:"abbreviated",context:"standalone"})||t.day(e,{width:"short",context:"standalone"})||t.day(e,{width:"narrow",context:"standalone"})}}validate(e,s){return s>=0&&s<=6}set(e,s,t,i){return e=J(e,t,i),e.setHours(0,0,0,0),e}}function Rt(r,n){const e=I(r),s=mt(e),t=n-s;return ge(e,t)}class Qt extends f{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(e,s,t){const i=u=>u===0?7:u;switch(s){case"i":case"ii":return p(s.length,e);case"io":return t.ordinalNumber(e,{unit:"day"});case"iii":return b(t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"}),i);case"iiiii":return b(t.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return b(t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"}),i);case"iiii":default:return b(t.day(e,{width:"wide",context:"formatting"})||t.day(e,{width:"abbreviated",context:"formatting"})||t.day(e,{width:"short",context:"formatting"})||t.day(e,{width:"narrow",context:"formatting"}),i)}}validate(e,s){return s>=1&&s<=7}set(e,s,t){return e=Rt(e,t),e.setHours(0,0,0,0),e}}class Ft extends f{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(e,s,t){switch(s){case"a":case"aa":case"aaa":return t.dayPeriod(e,{width:"abbreviated",context:"formatting"})||t.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return t.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(e,{width:"wide",context:"formatting"})||t.dayPeriod(e,{width:"abbreviated",context:"formatting"})||t.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,s,t){return e.setHours(U(t),0,0,0),e}}
1class At extends f{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(e,s,t){switch(s){case"b":case"bb":case"bbb":return t.dayPeriod(e,{width:"abbreviated",context:"formatting"})||t.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return t.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(e,{width:"wide",context:"formatting"})||t.dayPeriod(e,{width:"abbreviated",context:"formatting"})||t.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,s,t){return e.setHours(U(t),0,0,0),e}}class Bt extends f{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","b","t","T"])}parse(e,s,t){switch(s){case"B":case"BB":case"BBB":return t.dayPeriod(e,{width:"abbreviated",context:"formatting"})||t.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return t.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(e,{width:"wide",context:"formatting"})||t.dayPeriod(e,{width:"abbreviated",context:"formatting"})||t.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,s,t){return e.setHours(U(t),0,0,0),e}}class zt extends f{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,s,t){switch(s){case"h":return w(y.hour12h,e);case"ho":return t.ordinalNumber(e,{unit:"hour"});default:return p(s.length,e)}}validate(e,s){return s>=1&&s<=12}set(e,s,t){const i=e.getHours()>=12;return i&&t<12?e.setHours(t+12,0,0,0):!i&&t===12?e.setHours(0,0,0,0):e.setHours(t,0,0,0),e}}class Gt extends f{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,s,t){switch(s){case"H":return w(y.hour23h,e);case"Ho":return t.ordinalNumber(e,{unit:"hour"});default:return p(s.length,e)}}validate(e,s){return s>=0&&s<=23}set(e,s,t){return e.setHours(t,0,0,0),e}}class Wt extends f{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,s,t){switch(s){case"K":return w(y.hour11h,e);case"Ko":return t.ordinalNumber(e,{unit:"hour"});default:return p(s.length,e)}}validate(e,s){return s>=0&&s<=11}set(e,s,t){return e.getHours()>=12&&t<12?e.setHours(t+12,0,0,0):e.setHours(t,0,0,0),e}}class $t extends f{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,s,t){switch(s){case"k":return w(y.hour24h,e);case"ko":return t.ordinalNumber(e,{unit:"hour"});default:return p(s.length,e)}}validate(e,s){return s>=1&&s<=24}set(e,s,t){const i=t<=24?t%24:t;return e.setHours(i,0,0,0),e}}class Xt extends f{constructor(){super(...arguments);o(this,"priority",60);o(this,"incompatibleTokens",["t","T"])}parse(e,s,t){switch(s){case"m":return w(y.minute,e);case"mo":return t.ordinalNumber(e,{unit:"minute"});default:return p(s.length,e)}}validate(e,s){return s>=0&&s<=59}set(e,s,t){return e.setMinutes(t,0,0),e}}class Kt extends f{constructor(){super(...arguments);o(this,"priority",50);o(this,"incompatibleTokens",["t","T"])}parse(e,s,t){switch(s){case"s":return w(y.second,e);case"so":return t.ordinalNumber(e,{unit:"second"});default:return p(s.length,e)}}validate(e,s){return s>=0&&s<=59}set(e,s,t){return e.setSeconds(t,0),e}}class Vt extends f{constructor(){super(...arguments);o(this,"priority",30);o(this,"incompatibleTokens",["t","T"])}parse(e,s){const t=i=>Math.trunc(i*Math.pow(10,-s.length+3));return b(p(s.length,e),t)}set(e,s,t){return e.setMilliseconds(t),e}}class Zt extends f{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","x"])}parse(e,s){switch(s){case"X":return j(P.basicOptionalMinutes,e);case"XX":return j(P.basic,e);case"XXXX":return j(P.basicOptionalSeconds,e);case"XXXXX":return j(P.extendedOptionalSeconds,e);case"XXX":default:return j(P.extended,e)}}set(e,s,t){return s.timestampIsSet?e:D(e,e.getTime()-ke(e)-t)}}class Ut extends f{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","X"])}parse(e,s){switch(s){case"x":return j(P.basicOptionalMinutes,e);case"xx":return j(P.basic,e);case"xxxx":return j(P.basicOptionalSeconds,e);case"xxxxx":return j(P.extendedOptionalSeconds,e);case"xxx":default:return j(P.extended,e)}}set(e,s,t){return s.timestampIsSet?e:D(e,e.getTime()-ke(e)-t)}}class Jt extends f{constructor(){super(...arguments);o(this,"priority",40);o(this,"incompatibleTokens","*")}parse(e){return De(e)}set(e,s,t){return[D(e,t*1e3),{timestampIsSet:!0}]}}class St extends f{constructor(){super(...arguments);o(this,"priority",20);o(this,"incompatibleTokens","*")}parse(e){return De(e)}set(e,s,t){return[D(e,t),{timestampIsSet:!0}]}}const es={G:new yt,y:new bt,Y:new gt,R:new Tt,u:new _t,Q:new kt,q:new Mt,M:new Dt,L:new vt,w:new Pt,I:new Et,d:new It,D:new Ct,E:new Ht,e:new Lt,c:new qt,i:new Qt,a:new Ft,b:new At,B:new Bt,h:new zt,H:new Gt,K:new Wt,k:new $t,m:new Xt,s:new Kt,S:new Vt,X:new Zt,x:new Ut,t:new Jt,T:new St},ts=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ss=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rs=/^'([^]*?)'?$/,ns=/''/g,as=/\S/,is=/[a-zA-Z]/;function os(r,n,e,s){var z,G,F,A;const t=ft(),i=t.locale??Xe,u=t.firstWeekContainsDate??((G=(z=t.locale)==null?void 0:z.options)==null?void 0:G.firstWeekContainsDate)??1,x=t.weekStartsOn??((A=(F=t.locale)==null?void 0:F.options)==null?void 0:A.weekStartsOn)??0,g={firstWeekContainsDate:u,weekStartsOn:x,locale:i},E=[new pt],Q=n.match(ss).map(d=>{const h=d[0];if(h in we){const k=we[h];return k(d,i.formatLong)}return d}).join("").match(ts),O=[];for(let d of Q){Ke(d)&&pe(d,n,r),Ve(d)&&pe(d,n,r);const h=d[0],k=es[h];if(k){const{incompatibleTokens:B}=k;if(Array.isArray(B)){const l=O.find(m=>B.includes(m.token)||m.token===h);
1if(l)throw new RangeError(`The format string mustn't contain \`${l.fullToken}\` and \`${d}\` at the same time`)}else if(k.incompatibleTokens==="*"&&O.length>0)throw new RangeError(`The format string mustn't contain \`${d}\` and any other token at the same time`);O.push({token:h,fullToken:d});const a=k.run(r,d,i.match,g);if(!a)return D(e,NaN);E.push(a.setter),r=a.rest}else{if(h.match(is))throw new RangeError("Format string contains an unescaped latin alphabet character `"+h+"`");if(d==="''"?d="'":h==="'"&&(d=cs(d)),r.indexOf(d)===0)r=r.slice(d.length);else return D(e,NaN)}}if(r.length>0&&as.test(r))return D(e,NaN);const H=E.map(d=>d.priority).sort((d,h)=>h-d).filter((d,h,k)=>k.indexOf(d)===h).map(d=>E.filter(h=>h.priority===d).sort((h,k)=>k.subPriority-h.subPriority)).map(d=>d[0]);let _=I(e);if(isNaN(_.getTime()))return D(e,NaN);const v={};for(const d of H){if(!d.validate(_,g))return D(e,NaN);const h=d.set(_,v,g);Array.isArray(h)?(_=h[0],Object.assign(v,h[1])):_=h}return D(e,_)}function cs(r){return r.match(rs)[1].replace(ns,"'")}function ls(r){const n=r,e=Array.isArray(n.field_article_seances)?n.field_article_seances:[],s=Array.isArray(n.field_article_grille_horaires)?n.field_article_grille_horaires:[];return rt({directSeances:e,grilles:s,logContext:"clubs_calendar"})}function us(r){return qe(r,Re.cineclub).length>0}function ds(r){return r.eventType==="kaleidoscope"||nt(r)}function fs(r){return r.eventType==="cineclub"||r.eventType==="kaleidoscope"||us(r)||ds(r)}const Os=()=>{Fe({title:"Calendrier des ciné-clubs",description:"Calendrier des séances et rencontres des ciné-clubs Dulac, mois par mois.",canonicalPath:"/calendar-clubs"});const[r,n]=N.useState(()=>new Date),[e,s]=N.useState(()=>X()),[t,i]=N.useState(null),u=C(r,"yyyy-MM"),x=N.useMemo(()=>it(os(`${u}-01`,"yyyy-MM-dd",new Date)),[u]),g=N.useMemo(()=>ot(x),[x]),E=N.useMemo(()=>dt({start:x,end:g}),[x,g]),{data:Q=[],isLoading:O,error:H}=Ze({limit:void 0,disableBootstrap:!0}),_=N.useMemo(()=>{const a=new Set,l=[];return Q.forEach(m=>{if(!fs(m))return;const T=Ue(m);ls(m).forEach(M=>{var se,re,ne,ae,ie,oe,ce,le,ue,de,fe;const q=typeof M.id=="string"?M.id:"";if(!q||a.has(q))return;const W=Ye((se=M.attributes)==null?void 0:se.field_seance_date);if(!W||W<x||W>g)return;a.add(q);const R=M.attributes,Pe=((ne=(re=M.field_seance_film)==null?void 0:re.attributes)==null?void 0:ne.title)||String(((ae=M.attributes)==null?void 0:ae.title)||""),je=String(((oe=(ie=M.field_seance_salle)==null?void 0:ie.attributes)==null?void 0:oe.title)||""),S=String(((ue=(le=(ce=M.field_seance_salle)==null?void 0:ce.field_salle_cinema)==null?void 0:le.attributes)==null?void 0:ue.title)||""),ee=String(((fe=(de=M.field_seance_salle)==null?void 0:de.field_salle_cinema)==null?void 0:fe.id)||""),te=Je({seanceType:R.field_seance_type,isSpecial:R.field_seance_is_special,info:R.field_seance_info,featuredTags:R.field_seance_featured_tags,eventLabel:R.field_seance_event_label,accessibilityModes:R.field_seance_accessibility_modes,accessibilityNote:R.field_seance_accessibility_note,cinemaId:ee,cinemaLabel:S,programs:T.programs,eventType:m.eventType,articleSeanceTags:T.articleSeanceTags||[]});l.push({id:q,date:W,cinemaId:ee,bookingUrl:Ie(M)||"",eventTitle:String(m.attributes.title||"Événement"),filmTitle:Pe,salleTitle:je,cinemaTitle:S,signals:te,facetRecord:Se(te)})})}),l.sort((m,T)=>m.date.getTime()-T.date.getTime())},[Q,g,x]),v=N.useMemo(()=>et(_.map(a=>a.facetRecord),e),[e,_]);N.useEffect(()=>{const a=new Map(v.map(l=>[l.id,new Set(l.options.map(m=>m.id))]));s(l=>{let m=!1;const T=X();return Object.keys(l).forEach(L=>{l[L].forEach(M=>{var q;(q=a.get(L))!=null&&q.has(M)?T[L].add(M):m=!0})}),m?T:l})},[v]);const z=N.useMemo(()=>{const a=new Map;return _.filter(l=>tt(l.facetRecord,e)).forEach(l=>{const m=C(l.date,"yyyy-MM-dd"),T=a.get(m)??[];a.set(m,[...T,l])}),a},[e,_]),G=t?C(t,"yyyy-MM-dd"):"",F=G?z.get(G)??[]:[],A=v.find(a=>a.id==="editorial"),d=v.find(a=>a.id==="program"),h=v.find(a=>a.id==="cinema"),k=(a,l)=>{s(m=>{const T=X();return Object.keys(m).forEach(L=>{T[L]=new Set(m[L])}),T[a].has(l)?T[a].delete(l):T[a].add(l),T})},B=a=>{s(l=>{if(l[a].size===0)return l;const m=X();return Object.keys(l).forEach(T=>{m[T]=new Set(l[T])}),m[a].clear(),m})};return c.jsxs("div",{className:"dulac-page",children:[c.jsx("main",{id:"main-content",tabIndex:-1,
1className:"dulac-main dulac-page-inner space-y-6 md:space-y-8 scroll-mt-24 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",children:c.jsxs("div",{className:Ce.contentMax1080,children:[c.jsxs("nav",{className:"text-sm text-muted-foreground","aria-label":"Fil d'Ariane",children:[c.jsx(He,{to:"/cineclubs",className:"hover:text-primary",children:"Ciné-clubs"}),c.jsx("span",{className:"mx-2 text-muted-foreground/70",children:"/"}),c.jsx("span",{className:"text-foreground font-medium",children:"Calendrier mensuel"})]}),c.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[c.jsxs("div",{children:[c.jsx("span",{className:"dulac-kicker-muted",children:$.kickerRendezVousReguliers}),c.jsx("h1",{className:"dulac-page-title",children:"Calendrier ciné-clubs & saison culturelle"}),c.jsx("p",{className:"dulac-lead max-w-2xl",children:"Vue mensuelle des séances associées aux ciné-clubs et à la saison culturelle."})]}),c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsx(Y,{variant:"outline",size:"sm",onClick:()=>n(a=>be(a,-1)),children:c.jsx(ct,{className:"h-4 w-4"})}),c.jsx("div",{className:"text-sm font-semibold min-w-[160px] text-center",children:C(r,"MMMM yyyy",{locale:V})}),c.jsx(Y,{variant:"outline",size:"sm",onClick:()=>n(a=>be(a,1)),children:c.jsx(lt,{className:"h-4 w-4"})})]})]}),c.jsxs("div",{className:"space-y-3",children:[c.jsxs("div",{className:"flex flex-wrap gap-2",children:[c.jsx(Y,{size:"sm",variant:e.editorial.size===0?"default":"outline",onClick:()=>B("editorial"),children:"Tous"}),A==null?void 0:A.options.filter(a=>a.id==="cineclub"||a.id==="kaleidoscope").map(a=>{const l=e.editorial.has(a.id);return c.jsxs(Y,{size:"sm",variant:l?"default":"outline",onClick:()=>k("editorial",a.id),children:[a.label,a.count>0?` (${a.count})`:""]},a.id)})]}),d&&d.options.length>0&&c.jsxs("div",{className:"space-y-1.5",children:[c.jsx("p",{className:"text-sm font-medium text-foreground",children:"Ciné-clubs & programmes"}),c.jsxs("div",{className:"flex flex-wrap gap-2",children:[c.jsx(Y,{size:"sm",variant:e.program.size===0?"default":"outline",onClick:()=>B("program"),children:"Tous"}),d.options.map(a=>{const l=e.program.has(a.id);return c.jsxs(Y,{size:"sm",variant:l?"default":"outline",onClick:()=>k("program",a.id),children:[a.label,a.count>0?` (${a.count})`:""]},a.id)})]})]}),h&&h.options.length>0&&c.jsxs("div",{className:"space-y-1.5",children:[c.jsx("p",{className:"text-sm font-medium text-foreground",children:"Cinémas"}),c.jsxs("div",{className:"flex flex-wrap gap-2",children:[c.jsx(Y,{size:"sm",variant:e.cinema.size===0?"default":"outline",onClick:()=>B("cinema"),children:"Tous"}),h.options.map(a=>{const l=e.cinema.has(a.id);return c.jsxs(Y,{size:"sm",variant:l?"default":"outline",onClick:()=>k("cinema",a.id),children:[a.label,a.count>0?` (${a.count})`:""]},a.id)})]})]})]}),O&&c.jsx("div",{className:"text-sm text-muted-foreground",children:$.loading}),H&&c.jsx(me,{children:c.jsx(he,{children:$.errorGeneric})}),!O&&!H&&c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:"grid grid-cols-7 gap-2",children:[["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"].map(a=>c.jsx("div",{className:"text-xs font-medium text-muted-foreground text-center py-1",children:a},a)),E.map(a=>{const l=C(a,"yyyy-MM-dd"),m=(z.get(l)??[]).length,T=t?ut(t,a):!1;return c.jsxs("button",{type:"button",onClick:()=>i(a),className:`rounded-xl border p-2 min-h-[74px] text-left transition ${T?"border-primary bg-primary/10":"border-border bg-background hover:border-primary/40"}`,children:[c.jsx("div",{className:"text-xs font-semibold",children:C(a,"d")}),m>0&&c.jsxs(xe,{className:"mt-2 bg-primary text-primary-foreground text-[10px]",children:[m," séance",m>1?"s":""]})]},l)})]}),c.jsxs("div",{className:"mt-6",children:[c.jsx("h2",{className:"dulac-section-title text-xl md:text-2xl mb-3",children:t?`Séances du ${C(t,"d MMMM yyyy",{locale:V})}`:"Choisis un jour dans le calendrier"}),t&&F.length===0&&c.jsx(me,{children:c.jsx(he,{children:$.emptyClubsD
1ay})}),t&&F.length>0&&c.jsx("div",{className:"space-y-2",children:F.map(a=>c.jsxs("div",{className:"rounded-xl border border-border bg-background p-3.5 flex items-center justify-between gap-3",children:[c.jsxs("div",{className:"min-w-0",children:[c.jsxs("div",{className:"flex items-center gap-2",children:[c.jsx("span",{className:"font-semibold",children:C(a.date,"HH:mm",{locale:V})}),a.signals.compactTags.map(l=>c.jsx(at,{tag:l,className:"text-xs"},`${a.id}-${l.id}`))]}),c.jsxs("div",{className:"text-sm text-muted-foreground mt-1",children:[a.filmTitle,a.cinemaTitle?` • ${a.cinemaTitle}`:"",a.salleTitle?` • ${a.salleTitle}`:""]}),c.jsx("div",{className:"text-xs text-muted-foreground/80 mt-1",children:[a.eventTitle,...ye(a.signals.programs,{includeClubName:!0})].join(" • ")}),a.signals.accessibilityModes.length>0&&c.jsx("div",{className:"mt-2 flex flex-wrap gap-1.5",children:a.signals.accessibilityModes.map(l=>c.jsx(xe,{variant:"secondary",children:st(l).filterLabel},`${a.id}-${l}`))}),a.signals.accessibilityNote&&c.jsx("div",{className:"text-xs text-muted-foreground/80 mt-1",children:a.signals.accessibilityNote}),c.jsx("div",{className:"text-xs text-muted-foreground/80 mt-1",children:a.signals.detailInfo.filter(l=>!ye(a.signals.programs,{includeClubName:!0}).includes(l)).slice(0,1).join(" ")})]}),a.bookingUrl&&c.jsx(Y,{asChild:!0,size:"sm",variant:"outline",children:c.jsxs("a",{href:a.bookingUrl,target:"_blank",rel:"noopener noreferrer",children:[c.jsx(Le,{className:"h-3 w-3 mr-1"}),"Réserver"]})})]},a.id))})]})]})]})}),c.jsx(Qe,{})]})};export{Os as default};

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.