PageSourceSearch

https://www.inside-lyon.com/_next/static/chunks/pages/_app-fab378382c355776.js

js inside-lyon.com collected 2026-10-04 13:32:13 UTC 58,932 bytes, 10 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{3188:function(e,t){"use strict";/*!
2 * cookie
3 * Copyright(c) 2012-2014 Roman Shtylman
4 * Copyright(c) 2015 Douglas Christopher Wilson
5 * MIT Licensed
6 */t.Q=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var n={},o=e.split(";"),i=(t||{}).decode||r,a=0;a<o.length;a++){var s=o[a],l=s.indexOf("=");if(!(l<0)){var u=s.substring(0,l).trim();if(void 0==n[u]){var c=s.substring(l+1,s.length).trim();'"'===c[0]&&(c=c.slice(1,-1)),n[u]=function(e,t){try{return t(e)}catch(t){return e}}(c,i)}}}return n},t.q=function(e,t,r){var i=r||{},a=i.encode||n;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!o.test(e))throw TypeError("argument name is invalid");var s=a(t);if(s&&!o.test(s))throw TypeError("argument val is invalid");var l=e+"="+s;if(null!=i.maxAge){var u=i.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(u)}if(i.domain){if(!o.test(i.domain))throw TypeError("option domain is invalid");l+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw TypeError("option path is invalid");l+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw TypeError("option expires is invali
6d");l+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(l+="; HttpOnly"),i.secure&&(l+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l};var r=decodeURIComponent,n=encodeURIComponent,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},8794:function(e,t,r){"use strict";var n,o;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(o=r.g.process)?void 0:o.env)?r.g.process:r(742)},6535:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(2131)}])},108:function(e,t,r){"use strict";var n=r(1527),o=r(7841),i=r.n(o);let a={blue:{bgColor:"bg-blue",hoverBgColor:"hover:bg-orange",textColor:"text-white"},coral:{bgColor:"bg-coral",hoverBgColor:"hover:bg-blue",textColor:"text-white"},tertiary:{bgColor:"bg-coral",hoverBgColor:"hover:bg-blue",textColor:"text-white"},coralBis:{bgColor:"bg-coral",hoverBgColor:"hover:bg-orange",textColor:"text-white"},pink:{bgColor:"bg-pink",hoverBgColor:"hover:bg-coral",textColor:"text-white"},primary:{bgColor:"bg-pink",hoverBgColor:"hover:bg-coral",textColor:"text-white"},orange:{bgColor:"bg-orange",hoverBgColor:"hover:bg-pink",textColor:"text-white"},secondary:{bgColor:"bg-orange",hoverBgColor:"hover:bg-pink",textColor:"text-white"},white:{bgColor:"bg-white",hoverBgColor:"hover:bg-poisedPeach",textColor:"text-blue"},poisedPeach:{bgColor:"bg-poisedPeach",hoverBgColor:"hover:bg-coral",textColor:"text-white"}},s=e=>{let{text:t,link:r="",variant:o="blue",isBlank:s=!1,isBold:l=!1,className:u="",isButton:c=!1,onClick:f}=e,{bgColor:d,hoverBgColor:p,textColor:m}=a[o];return c?(0,n.jsx)("button",{onClick:f,className:"".concat(d," ").concat(p," ").concat(m," ").concat(l?"font-semibold":"font-normal"," transition ease px-5 lg:px-7 lg:py-3 py-2 font-adrianna rounded-3xl text-sm lg:text-base ").concat(u),children:t}):(0,n.jsx)(i(),{className:"".concat(d," ").concat(p," ").concat(m," ").concat(l?"font-semibold":"font-normal"," transition ease px-5 lg:px-7 lg:py-3 py-2 font-adrianna rounded-3xl text-sm lg:text-base ").concat(u),href:r,target:s?"_blank":"_self",children:t})};t.Z=s},7658:function(e,t,r){"use strict";var n=r(1527),o=r(7841),i=r.n(o);let a=e=>{let t,{text:r,link:o="",color:a,isBlank:s=!1,isBold:l=!1,isUnderlined:u=!1,className:c=""}=e;switch(a){case"body":t="text-body";break;case"white":t="text-white";break;case"blue":t="text-blue"}return(0,n.jsx)(i(),{className:"".concat(t," \n      ").concat(l?"font-semibold":"font-normal"," ").concat(u&&"underline"," font-adrianna text-base leading-7 text-[18px] ").concat(c),href:o,target:s?"_blank":void 0,children:r})};t.Z=a},1721:function(e,t,r){"use strict";r.d(t,{Pi:function(){return f},y7:function(){return c}});var n=r(1527),o=r(4151),i=r.n(o),a=r(959),s=r(108),l=r(7841),u=r.n(l);let c={backgroundColor:{primary:"coral",secondary:"orange",tertiary:"pink"},textColor:{primary:"text-pink",secondary:"text-coral",tertiary:"text-orange"},ctaVariant:{primary:"pink",secondary:"coral",tertiary:"orange"}},f={blue:"after:block after:absolute after:top-2 after:-right-2 after:w-2 after:h-full before:block before:absolute before:-bottom-2 before:left-2 before:w-full before:h-2 after:bg-blue before:bg-blue",coral:"after:block after:absolute after:top-2 after:-right-2 after:w-2 after:h-full before:block before:absolute before:-bottom-2 before:left-2 before:w-full before:h-2 after:bg-coral before:bg-coral",pink:"after:block after:absolute after:top-2 after:-right-2 after:w-2 after:h-full before:block before:absolute before:-bottom-2 before:left-2 before:w-full before:h-2 after:bg-pink before:bg-pink",orange:"after:block after:absolute after:top-2 after:-right-2 after:w-2 after:h-full before:block before:absolute before:-bottom-2 before:left-2 before:w-full before:h-2 after:bg-orange before:bg-orange"},d=e=>{let{title:t,categories:r,slug:o,excerpt:l,featuredImage:d,variant:p,postContent:m,dragging:h=!1,currentSlideSlug:y}=e,v=f.blue,g=f[c.backgroundColor[p]],b=l||(null==m?void 0:m.flexible.find(e=>"Post_Postcontent_Flexible_Text"===e.fieldGroupName).text),[x,w]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{w(!0)},[]),(0,n.jsxs)("div",{className:"relative h-[770px] ".concat(y&&y!==o?"pointer-events-none":"pointer-events-auto z-10"),children:[(0,n.jsx)(u(),{href:"/".concat(o),onClick:e=>h&&e.preventDefault(),children:(0,n.jsx)("div",{className:"absolute w-5/6 cursor-pointer ".concat(g),children:(0,n.jsx)(i(),{width:d.node.mediaDetails.width,height:d.node.mediaDetails.height,src:d.node.sourceUrl,alt:t,className:"z-10 h-[600px] w-[925px] object-cover",priority:!0})})}),(0,n.jsxs)("div",{className:"absolute right-2 top-[160px] p-12 bg-white w-[387px] z-20 border-borderPink border ".concat(v),children:[(0,n.jsx)("div",{className:"flex mb-4 flex-wrap",children:r.edges.filter(e=>{let{node:t}=e;return"a-la-une"!==t.slug}).map((e,t,r)=>{let{node:o}=e;return(0,n.jsxs)(u(),{className:"text-lg font-semibold block ".concat(c.textColor[p]," mr-1"),href:"/category/".concat(o.slug),children:[o.name,t!==r.length-1&&","]},t)})}),(0,n.jsx)(u(),{href:"/".concat(o),onClick:e=>h&&e.preventDefault(),children:(0,n.jsx)("span",{className:"font-magicline text-5xl text-blue leading-[50px]",children:t})}),b&&x&&(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:b.substring(0,200).split(" ").slice(0,-1).join(" ")+"..."},className:"text-sm mb-12 mt-6"}),(0,n.jsx)(s.Z,{text:"Lire l'article",variant:c.ctaVariant[p],isBold:!0,link:"/".concat(o)})]})]})};t.ZP=d},9287:function(e,t){"use strict";var r,n;
6Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PrefetchKind:function(){return r},ACTION_REFRESH:function(){return o},ACTION_NAVIGATE:function(){return i},ACTION_RESTORE:function(){return a},ACTION_SERVER_PATCH:function(){return s},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return u},ACTION_SERVER_ACTION:function(){return c}});let o="refresh",i="navigate",a="restore",s="server-patch",l="prefetch",u="fast-refresh",c="server-action";(n=r||(r={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9716:function(e,t){"use strict";function r(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7105:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});let n=r(8266),o=r(7144),i=o._(r(959)),a=n._(r(6432)),s=r(8648),l=r(9161),u=r(5409);r(2346);let c=n._(r(4667)),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function d(e){return void 0!==e.default}function p(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function m(e,t,r,n,o,i,a){if(!e||e["data-loaded-src"]===t)return;e["data-loaded-src"]=t;let s="decode"in e?e.decode():Promise.resolve();s.catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("blur"===r&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,o=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==o?void 0:o.current)&&o.current(e)}})}function h(e){let[t,r]=i.version.split("."),n=parseInt(t,10),o=parseInt(r,10);return n>18||18===n&&o>=3?{fetchPriority:e}:{fetchpriority:e}}let y=(0,i.forwardRef)((e,t)=>{let{imgAttributes:r,heightInt:n,widthInt:o,qualityInt:a,className:s,imgStyle:l,blurStyle:u,isLazy:c,fetchPriority:f,fill:d,placeholder:p,loading:y,srcString:v,config:g,unoptimized:b,loader:x,onLoadRef:w,onLoadingCompleteRef:j,setBlurComplete:_,setShowAltText:O,onLoad:C,onError:k,...E}=e;return y=c?"lazy":y,i.default.createElement("img",{...E,...h(f),loading:y,width:o,height:n,decoding:"async","data-nimg":d?"fill":"1",className:s,style:{...l,...u},...r,ref:(0,i.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(k&&(e.src=e.src),e.complete&&m(e,v,p,w,j,_,b))},[v,p,w,j,_,k,b,t]),onLoad:e=>{let t=e.currentTarget;m(t,v,p,w,j,_,b)},onError:e=>{O(!0),"blur"===p&&_(!0),k&&k(e)}})}),v=(0,i.forwardRef)((e,t)=>{var r;let n,o,{src:m,sizes:v,unoptimized:g=!1,priority:b=!1,loading:x,className:w,quality:j,width:_,height:O,fill:C,style:k,onLoad:E,onLoadingComplete:S,placeholder:T="empty",blurDataURL:P,fetchPriority:N,layout:I,objectFit:M,objectPosition:R,lazyBoundary:A,lazyRoot:L,...D}=e,q=(0,i.useContext)(u.ImageConfigContext),F=(0,i.useMemo)(()=>{let e=f||q||l.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r}},[q]),z=D.loader||c.default;delete D.loader;let U="__next_img_default"in z;if(U){if("custom"===F.loader)throw Error('Image with src "'+m+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=z;z=t=>{let{config:r,...n}=t;return e(n)}}if(I){"fill"===I&&(C=!0);
6let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[I];e&&(k={...k,...e});let t={responsive:"100vw",fill:"100vw"}[I];t&&!v&&(v=t)}let $="",B=p(_),H=p(O);if("object"==typeof(r=m)&&(d(r)||void 0!==r.src)){let e=d(m)?m.default:m;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(n=e.blurWidth,o=e.blurHeight,P=P||e.blurDataURL,$=e.src,!C){if(B||H){if(B&&!H){let t=B/e.width;H=Math.round(e.height*t)}else if(!B&&H){let t=H/e.height;B=Math.round(e.width*t)}}else B=e.width,H=e.height}}let W=!b&&("lazy"===x||void 0===x);(!(m="string"==typeof m?m:$)||m.startsWith("data:")||m.startsWith("blob:"))&&(g=!0,W=!1),F.unoptimized&&(g=!0),U&&m.endsWith(".svg")&&!F.dangerouslyAllowSVG&&(g=!0),b&&(N="high");let[V,Q]=(0,i.useState)(!1),[K,Z]=(0,i.useState)(!1),Y=p(j),G=Object.assign(C?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:R}:{},K?{}:{color:"transparent"},k),J="blur"===T&&P&&!V?{backgroundSize:G.objectFit||"cover",backgroundPosition:G.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'+(0,s.getImageBlurSvg)({widthInt:B,heightInt:H,blurWidth:n,blurHeight:o,blurDataURL:P,objectFit:G.objectFit})+'")'}:{},X=function(e){let{config:t,src:r,unoptimized:n,width:o,quality:i,sizes:a,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:o}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:o,kind:"w"}}if("number"!=typeof t)return{widths:n,kind:"w"};let i=[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))];return{widths:i,kind:"x"}}(t,o,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,n)=>s({config:t,src:r,quality:i,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:s({config:t,src:r,quality:i,width:l[c]})}}({config:F,src:m,unoptimized:g,width:B,quality:Y,sizes:v,loader:z}),ee=m,et=(0,i.useRef)(E);(0,i.useEffect)(()=>{et.current=E},[E]);let er=(0,i.useRef)(S);(0,i.useEffect)(()=>{er.current=S},[S]);let en={isLazy:W,imgAttributes:X,heightInt:H,widthInt:B,qualityInt:Y,className:w,imgStyle:G,blurStyle:J,loading:x,config:F,fetchPriority:N,fill:C,unoptimized:g,placeholder:T,loader:z,srcString:ee,onLoadRef:et,onLoadingCompleteRef:er,setBlurComplete:Q,setShowAltText:Z,...D};return i.default.createElement(i.default.Fragment,null,i.default.createElement(y,{...en,ref:t}),b?i.default.createElement(a.default,null,i.default.createElement("link",{key:"__nimg-"+X.src+X.srcSet+X.sizes,rel:"preload",as:"image",href:X.srcSet?void 0:X.src,imageSrcSet:X.srcSet,imageSizes:X.sizes,crossOrigin:D.crossOrigin,referrerPolicy:D.referrerPolicy,...h(N)})):null)}),g=v;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8184:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});let n=r(8266),o=n._(r(959)),i=r(4586),a=r(6597),s=r(5515),l=r(9466),u=r(5034),c=r(5797),f=r(1048),d=r(8675),p=r(9716),m=r(4527),h=r(9287),y=new Set;function v(e,t,r,n,o,i){if(!i&&!(0,a.isLocalURL)(t))return;if(!n.bypassPrefetchedCheck){let o=void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0,i=t+"%"+r+"%"+o;if(y.has(i))return;y.add(i)}let s=i?e.prefetch(t,o):e.prefetch(t,r,n);Promise.resolve(s).catch(e=>{})}function g(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let b=o.default.forwardRef(function(e,t){let r,n;let{href:s,as:y,children:b,prefetch:x=null,passHref:w,replace:j,shallow:_,scroll:O,locale:C,onClick:k,onMouseEnter:E,onTouchStart:S,legacyBehavior:T=!1,...P}=e;r=b,T&&("string"==typeof r||"number"==typeof r)&&(r=o.default.createElement("a",null,r));let N=!1!==x,I=null===x?h.PrefetchKind.AUTO:h.PrefetchKind.FULL,M=o.default.useContext(c.RouterContext),R=o.default.useContext(f.AppRouterContext),A=null!=M?M:R,L=!M,{href:D,as:q}=o.default.useMemo(()=>
6{if(!M){let e=g(s);return{href:e,as:y?g(y):e}}let[e,t]=(0,i.resolveHref)(M,s,!0);return{href:e,as:y?(0,i.resolveHref)(M,y):t||e}},[M,s,y]),F=o.default.useRef(D),z=o.default.useRef(q);T&&(n=o.default.Children.only(r));let U=T?n&&"object"==typeof n&&n.ref:t,[$,B,H]=(0,d.useIntersection)({rootMargin:"200px"}),W=o.default.useCallback(e=>{(z.current!==q||F.current!==D)&&(H(),z.current=q,F.current=D),$(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[q,U,D,H,$]);o.default.useEffect(()=>{A&&B&&N&&v(A,D,q,{locale:C},{kind:I},L)},[q,D,B,C,N,null==M?void 0:M.locale,A,L,I]);let V={ref:W,onClick(e){T||"function"!=typeof k||k(e),T&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),A&&!e.defaultPrevented&&function(e,t,r,n,i,s,l,u,c,f){let{nodeName:d}=e.currentTarget,p="A"===d.toUpperCase();if(p&&(function(e){let t=e.currentTarget,r=t.getAttribute("target");return r&&"_self"!==r||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,a.isLocalURL)(r)))return;e.preventDefault();let m=()=>{"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:s,locale:u,scroll:l}):t[i?"replace":"push"](n||r,{forceOptimisticNavigation:!f})};c?o.default.startTransition(m):m()}(e,A,D,q,j,_,O,C,L,N)},onMouseEnter(e){T||"function"!=typeof E||E(e),T&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),A&&(N||!L)&&v(A,D,q,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:I},L)},onTouchStart(e){T||"function"!=typeof S||S(e),T&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),A&&(N||!L)&&v(A,D,q,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:I},L)}};if((0,l.isAbsoluteUrl)(q))V.href=q;else if(!T||w||"a"===n.type&&!("href"in n.props)){let e=void 0!==C?C:null==M?void 0:M.locale,t=(null==M?void 0:M.isLocaleDomain)&&(0,p.getDomainLocale)(q,e,null==M?void 0:M.locales,null==M?void 0:M.domainLocales);V.href=t||(0,m.addBasePath)((0,u.addLocale)(q,e,null==M?void 0:M.defaultLocale))}return T?o.default.cloneElement(n,V):o.default.createElement("a",{...P,...V},r)}),x=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8675:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(959),o=r(6095),i="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:r,disabled:l}=e,u=l||!i,[c,f]=(0,n.useState)(!1),d=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{d.current=e},[]);(0,n.useEffect)(()=>{if(i){if(u||c)return;let e=d.current;if(e&&e.tagName){let n=function(e,t,r){let{id:n,observer:o,elements:i}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let o=new Map,i=new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e);return t={id:r,observer:i,elements:o},s.push(r),a.set(r,t),t}(r);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:r});return n}}else if(!c){let e=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(e)}},[u,r,t,c,d.current]);let m=(0,n.useCallback)(()=>{f(!1)},[]);return[p,c,m]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8648:function(e,t){"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:o,blurDataURL:i,objectFit:a}=e,s=n||t,l=o||r,u=i.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return s&&l?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 "+s+" "+l+"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+(n&&o?"1":"20")+"'/%3E"+u+"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='"+i+"'/%3E%3C/svg%3E":"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' preserveAspectRatio='"+("contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' x='0' y='0' height='100%25' width='100%25' href='"+i+"'/%3E%3C/svg%3E"}
6Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},4667:function(e,t){"use strict";function r(e){let{config:t,src:r,width:n,quality:o}=e;return t.path+"?url="+encodeURIComponent(r)+"&w="+n+"&q="+(o||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},2131:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return M}});var n,o=r(1527);r(5796),r(195),r(9146);var i=r(959),a=r(507),s=r.n(a),l=r(6873),u=r.n(l),c=r(3188);function f(e,t){void 0===t&&(t={});var r,n=e&&"j"===e[0]&&":"===e[1]?e.substr(2):e;if(void 0===(r=t.doNotParse)&&(r=!n||"{"!==n[0]&&"["!==n[0]&&'"'!==n[0]),!r)try{return JSON.parse(n)}catch(e){}return e}var d=function(){return(d=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},p=function(){function e(e,t){var r=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies="string"==typeof e?c.Q(e,t):"object"==typeof e&&null!==e?e:{},new Promise(function(){r.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie}).catch(function(){})}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=c.Q(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,r){return void 0===t&&(t={}),this._updateBrowserValues(r),f(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var r={};for(var n in this.cookies)r[n]=f(this.cookies[n],e);return r},e.prototype.set=function(e,t,r){var n;"object"==typeof t&&(t=JSON.stringify(t)),this.cookies=d(d({},this.cookies),((n={})[e]=t,n)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=c.q(e,t,r)),this._emitChange({name:e,value:t,options:r})},e.prototype.remove=function(e,t){var r=t=d(d({},t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=d({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=c.q(e,"",r)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}(),m=i.createContext(new p),h=m.Provider;m.Consumer;var y=[{id:"gtm",name:"Google Tag Manager",uri:"https://adssettings.google.com/",cookies:["_ga","_gat_UA-4662679-1","1P_JAR","CONSENT","IDE","NID","_gid","_gat","__utma","__utmb","__utmc","__utmt","__utmz","__gads","_drt_","FLC","exchange_uid","id","fc","rrs","rds","rv","uid","UIDR","UID","clid","ipinfo","acs","test_cookie"],status:"pending"}],v=r(8794);let g=i.createContext(),b=e=>{let{children:t,scrollAutoConsent:r,changePageAutoConsent:n}=e,[a,s,l]=function(e){var t=(0,i.useContext)(m);if(!t)throw Error("Missing <CookiesProvider>");var r=t.getAll(),n=(0,i.useState)(r),o=n[0],a=n[1],s=(0,i.useRef)(o);return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement&&(0,i.useLayoutEffect)(function(){function r(){var r=t.getAll();(function(e,t,r){if(!e)return!0;for(var n=0;n<e.length;n++){var o=e[n];if(t[o]!==r[o])return!0}return!1})(e||null,r,s.current)&&a(r),s.current=r}return t.addChangeListener(r),function(){t.removeChangeListener(r)}},[t]),[o,(0,i.useMemo)(function(){return t.set.bind(t)},[t]),(0,i.useMemo)(function(){return t.remove.bind(t)},[t])]}(["rgpd"]),[c,f]=(0,i.useState)([]),[d,p]=(0,i.useState)("hidden"),[h,b]=(0,i.useState)("hidden"),[x,w]=(0,i.useState)(0),j=()=>{let e=c.map(e=>'{"id":"'.concat(e.id,'","status":"').concat(e.status,'"}'));s("rgpd","[".concat(e.join(","),"]"),{path:"/",domain:v.env.FRONT_DOMAIN})},_=e=>{let t=c.filter(t=>t.id===e);return t[0]||{}},O=()=>c.filter(e=>"pending"===e.status),C=e=>{let t=c.map(t=>t.id===e?{...t,status:"allowed"}:t);f(t)},k=e=>{let t=c.reduce((t,r)=>r.id===e&&r.cookies&&"allowed"===r.status?r.cookies:t,null),r=c.map(t=>
6t.id===e?{...t,status:"denied"}:t);f(r),t&&(t.map(e=>l(e)),setTimeout(()=>window.location.reload(),500))},E=()=>{let e=c.map(e=>({...e,status:"pending"===e.status?"allowed":e.status}));f(e)},S=()=>{let e=c.map(e=>({...e,status:"allowed"}));f(e)},T=()=>{let e=c.map(e=>({...e,status:"denied"}));f(e)},P=()=>{b("hidden")},N=()=>{b("visible")},I=()=>{b("visible"===h?"hidden":"visible")},M=()=>{if(x>1)return;let e=window.innerHeight/2,t=document.body.offsetHeight-window.innerHeight>e?e:document.body.offsetHeight-window.innerHeight,r=(window.pageYOffset||document.documentElement.scrollTop)-(document.documentElement.clientTop||0),n=r/t;n>=1&&E(),w(n)};return(0,i.useEffect)(()=>{if(a.rgpd)try{let e=y.map(e=>{let{status:t}=a.rgpd.reduce((t,r)=>r.id===e.id?r:t,{status:null});return t?{...e,status:t}:e});f(e)}catch(e){console.warn("rgpd's cookies not valid. reinitialised.")}else f(y)},[]),(0,i.useEffect)(()=>{let e=O().length,t=()=>M(),o=()=>E();return 0===e?p("hidden"):(p("visible"),e&&(r&&window.addEventListener("scroll",t),n&&u().events.on("routeChangeStart",o))),j(),()=>{window.removeEventListener("scroll",t),u().events.off("routeChangeStart",o)}},[c]),(0,o.jsx)(g.Provider,{value:{services:c,getServiceById:_,allowServiceById:C,denyServiceById:k,allowAllServices:S,denyAllServices:T,bannerStatus:d,setBannerStatus:p,customStatus:h,hideCustomServices:P,showCustomServices:N,toggleCustomServices:I,scrollProgress:x},children:t})};b.propTypes={scrollAutoConsent:s().bool,changePageAutoConsent:s().bool,children:s().oneOfType([s().arrayOf(s().node),s().node]).isRequired},b.defaultProps={scrollAutoConsent:!1,changePageAutoConsent:!1};let x=e=>{let{children:t,serviceId:r,noPending:n,disable:o}=e,{getServiceById:a,allowServiceById:s}=(0,i.useContext)(g),l=a(r);return o?null:"allowed"===l.status?t:n?null:void 0};x.propTypes={serviceId:s().string.isRequired,noPending:s().bool,disable:s().bool,children:s().oneOfType([s().arrayOf(s().node),s().node]).isRequired},x.defaultProps={noPending:!1,disable:!1};var w=r(108);function j(){let{allowAllServices:e,bannerStatus:t,showCustomServices:r}=(0,i.useContext)(g),[n,a]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{a(!0)},[]),n)?(0,o.jsx)("div",{className:"fixed z-[1000] bottom-0 left-0 w-full opacity-0 transition-all duration-300 ease-in-out text-white bg-blue shadow-[5px_5px_15px_5px_rgba(0,0,0,0.5)] border-t-2",style:{visibility:"visible"===t?"visible":"hidden",opacity:"visible"===t?1:0},children:(0,o.jsx)("div",{className:"relative ".concat("visible"===t?"translate-y-0":"translate-y-full"," transition-transform duration-300 ease-in-out"),style:{transform:"visible"===t?"translateY(0%)":"translateY(100%)"},children:(0,o.jsx)("div",{className:"container mx-auto mb-4",children:(0,o.jsxs)("div",{className:"flex lg:flex-row flex-col justify-center gap-8 mt-6 items-center",children:[(0,o.jsx)("p",{className:"font-magicline text-[32px] w-64 text-center translate-y-1 -rotate-6 pt-2 lg:pb-7",children:"Les meilleurs cookies de Lyon"}),(0,o.jsx)("p",{className:"lg:text-left text-center max-w-[485px] text-[15px] leading-5 font-light px-4 lg:px-0",children:"Pour continuer \xe0 d\xe9velopper notre m\xe9dia, nous avons besoin de savoir quels articles vous plaisent le plus. Pour nous aider, vous pouvez accepter les cookies que notre site utilise. Sachez que les donn\xe9es r\xe9colt\xe9es sont anonymes et ne sont jamais partag\xe9es \xe0 des tiers !"}),(0,o.jsxs)("div",{className:"flex flex-col gap-4 order-2 lg:order-1",children:[(0,o.jsx)("button",{className:"text-white  flex items-center text-center pl-5 lg:pl-3 lg:text-base text-sm",onClick:e,children:"Tout refuser"}),(0,o.jsxs)("button",{className:"text-white  flex items-center gap-2 text-center text-sm lg:text-base ml-3 lg:ml-0",onClick:()=>r(),children:["Personnaliser",(0,o.jsx)("img",{src:"/svg/rightarrow.svg",alt:"rightarrow"})]})]}),(0,o.jsx)(w.Z,{className:"px-8 btn-primary lg:ml-14 order-1 lg:order-2",onClick:e,text:"Tout accepter",variant:"pink",isButton:!0})]})})})}):null}r(7658);var _=r(7841),O=r.n(_),C=r(1721),k=r(1773);function E(){let{services:e,allowServiceById:t,denyServiceById:r,customStatus:n,hideCustomServices:a,allowAllServices:s}=(0,i.useContext)(g),[l,u]=(0,i.useState)(!1),c=(0,k.Z)();if((0,i.useEffect)(()=>{u(!0)},[]),!l)return null;let f=C.Pi.pink;return(0,o.jsxs)("div",{className:"RgpdCustom ".concat("visible"===n?"-visible":""," fixed top-0 left-0 w-full h-full flex justify-center items-center"),style:{opacity:"visible"===n?1:0,visibility:"visible"===n?"visible":"hidden",zIndex:99999},children:[(0,o.jsx)("div",{role:"button",tabIndex:"0",onClick:a,className:"top-0 left-0 w-full h-full absolute backdrop-blur-md"}),(0,o.jsxs)("div",{className:"RgpdCustom__content relative bg-white rounded-5 shadow-lg lg:w-[1000px] w-full mx-2 ".concat(c&&f),children:[(0,o.jsxs)("div",{className:"flex flex-col items-center text-white bg-blue w-full lg:px-12 py-12 px-2 lg:gap-4",children:[(0,o.jsx)("p",{className:"text-[36px] mb-2 font-bold",children:"Gestion des cookies"}),(0,o.jsx)("p",{className:"text-center max-w-[700px] mb-4",children:"En autorisant ces services tiers, vous acceptez le d\xe9p\xf4t et la lecture de cookies et l’utilisation de technologies de suivi n\xe9cessaires \xe0 leur bon fonctionnement."}),(0,o.jsxs)("div",{className:"flex justify-center gap-8",children:[(0,o.jsx)(w.Z,{text:"Tout accepter",variant:"orange"}),(0,o.jsx)(w.Z,{text:"Tout refuser",variant:"pink"})]}),(0,o.jsxs)("button",{className:"absolute right-4 top-2 text-[16px] flex items-center gap-2",onClick:a,children:[(0,o.jsx)("img",{src:"/svg/close.svg",alt:"close"}),"Fermer"]})]}),(0,o.jsxs)("div",{className:"lg:p-8 p-4",children:[(0,o.jsxs)("div",{className:"flex gap-6",children:[(0,o.jsx)("input",{type:"checkbox",name:"mandatory",id:"mandatory",checked:!0,readOnly:!0}),(0,o.jsxs)("label",{htmlFor:"mandatory",className:"text-[16px] leading-6",children:["Ce site utilise des cookies n\xe9cessaires \xe0 son bon fonctionnement.",(0,o.jsx)("br",{}),"Ils ne peuvent pas \xeatre d\xe9sactiv\xe9s"]})]}),(0,o.jsxs)("div",{className:"lg:mt-10 mt-6",children:[(0,o.jsxs)("div",{className:"flex gap-6",children:[(0,o.jsx)("input",{type:"checkbox",name:"audience",id:"audience"}),(0,o.jsxs)("label",{htmlFor:"audience",className:"text-[16px] leading-6 text-2xl font-semibold text-pink",children:["Mesure d","'","audience"]})]}),(0,o.jsxs)("p",{className:"text-[16px] mt-1 lg:mb-3",children:["Les services de mesure d","'","audience permettent de g\xe9n\xe9rer des statistiques de fr\xe9quentation utiles \xe0 l","'","am\xe9lioration du site."]}),(0,o.jsx)(O(),{className:"text-[16px] underline",href:"https://policies.google.com/privacy",target:"_blank",children:"En savoir plus"})]}),(0,o.jsxs)("div",{className:"lg:mt-10 mt-6",children:[(0,o.jsxs)("div",{className:"flex gap-6",children:[(0,o.jsx)("input",{type:"checkbox",name:"video",id:"video"}),(0,o.jsx)("label",{htmlFor:"video",className:"text-[16px] leading-6 text-2xl font-semibold text-pink",children:"Visionnage de vid\xe9o"})]}),(0,o.jsxs)("p",{className:"text-[16px] mt-1 lg:mb-3",children:["Les r\xe9seaux sociaux permettent d","'","am\xe9liorer la convivialit\xe9 du site et aident \xe0 sa promotion via les partages."]}),(0,o.jsx)(O(),{className:"text-[16px] underline",href:"#",target:"_blank",children:"En savoir plus"})]}),(0,o.jsx)("div",{className:"w-full flex justify-center mt-4",children:(0,o.jsx)(w.Z,{isButton:!0,className:"px-16 btn-primary mx-auto",onClick:()=>{s(),a()},text:"Valider la s\xe9lection"})})]})]})]})}let S=e=>{let{children:t,...r}=e,{showCustomServices:n}=(0,i.useContext)(g);return(0,o.jsx)("button",{...r,type:"button",onClick:()=>n(),children:t})};S.propTypes={children:s().oneOfType([s().arrayOf(s().node),s().node]).isRequired};
6var T=r(7834),P=r.n(T),N=(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),I=function(e){function t(t){var r=e.call(this,t)||this;return t.cookies?r.cookies=t.cookies:r.cookies=new p,r}return N(t,e),t.prototype.render=function(){return i.createElement(h,{value:this.cookies},this.props.children)},t}(i.Component),M=function(e){let{Component:t,pageProps:r}=e;return(0,o.jsx)(I,{children:(0,o.jsxs)(b,{children:[(0,o.jsx)(x,{serviceId:"gtm",children:(0,o.jsx)(o.Fragment,{})}),(0,o.jsxs)(P(),{children:[(0,o.jsx)("script",{dangerouslySetInnerHTML:{__html:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n'https://www.googletagmanager.com/gtm.js?id='
6+i+dl;f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','".concat("GTM-5J22RVN","');")}}),(0,o.jsx)("script",{defer:!0,"data-domain":"inside-lyon.com",src:"https://plausible.io/js/script.js"}),(0,o.jsx)("meta",{name:"google-site-verification",content:"Ppo2jg13Z6LLm-SkFoOt75m5_--Mw74aq-nPcAc2hC4"})]}),(0,o.jsx)(t,{...r}),(0,o.jsx)(j,{}),(0,o.jsx)(E,{})]})})}},1773:function(e,t,r){"use strict";var n=r(959),o=r(6186);let i=()=>{let e=(0,o.useMediaQuery)({minWidth:1024}),[t,r]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{r(!0)},[]),!!t&&e};t.Z=i},9146:function(){},195:function(){},5796:function(){},742:function(e){!function(){var t={229:function(e){var t,r,n,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l=[],u=!1,c=-1;function f(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&d())}function d(){if(!u){var e=s(f);u=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new p(e,t)),1!==l.length||u||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,n),a=!1}finally{a&&delete r[e]}return i.exports}n.ab="//";var o=n(229);e.exports=o}()},7834:function(e,t,r){e.exports=r(6432)},4151:function(e,t,r){e.exports=r(7105)},7841:function(e,t,r){e.exports=r(8184)},6873:function(e,t,r){e.exports=r(4725)},4049:function(e,t,r){"use strict";var n=r(6257);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},507:function(e,t,r){e.exports=r(4049)()},6257:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6186:function(e,t,r){var n;e.exports=(n=r(959),(()=>{var e={
vendor: 1,781 bytes, line 6
6"./node_modules/css-mediaquery/index.js":(e,t)=>{"use strict";t.match=function(e,t){return s(e).some(function(e){var r=e.inverse,n="all"===e.type||t.type===e.type;if(n&&r||!(n||r))return!1;var o=e.expressions.every(function(e){var r=e.feature,n=e.modifier,o=e.value,i=t[r];if(!i)return!1;switch(r){case"orientation":case"scan":return i.toLowerCase()===o.toLowerCase();case"width":case"height":case"device-width":case"device-height":o=c(o),i=c(i);break;case"resolution":o=u(o),i=u(i);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":o=l(o),i=l(i);break;case"grid":case"color":case"color-index":case"monochrome":o=parseInt(o,10)||1,i=parseInt(i,10)||0}switch(n){case"min":return i>=o;case"max":return i<=o;default:return i===o}});return o&&!r||!o&&r})},t.parse=s;var r=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,n=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,o=/^(?:(min|max)-)?(.+)/,i=/(em|rem|px|cm|mm|in|pt|pc)?$/,a=/(dpi|dpcm|dppx)?$/;function s(e){return e.split(",").map(function(e){var t=(e=e.trim()).match(r),i=t[1],a=t[2],s=t[3]||"",l={};return l.inverse=!!i&&"not"===i.toLowerCase(),l.type=a?a.toLowerCase():"all",s=s.match(/\([^\)]+\)/g)||[],l.expressions=s.map(function(e){var t=e.match(n),r=t[1].toLowerCase().match(o);return{modifier:r[1],feature:r[2],value:t[2]}}),l})}function l(e){var t,r=Number(e);return r||(r=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),r}function u(e){var t=parseFloat(e);switch(String(e).match(a)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function c(e){var t=parseFloat(e);switch(String(e).match(i)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}},
vendor: 275 bytes, line 6
6"./node_modules/hyphenate-style-name/index.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=/[A-Z]/g,o=/^ms-/,i={};function a(e){return"-"+e.toLowerCase()}let s=function(e){if(i.hasOwnProperty(e))return i[e];var t=e.replace(n,a);return i[e]=o.test(t)?"-"+t:t}},
vendor: 605 bytes, line 6
6"./node_modules/matchmediaquery/index.js":(e,t,r)=>{"use strict";var n=r(/*! css-mediaquery */"./node_modules/css-mediaquery/index.js").match,o="undefined"!=typeof window?window.matchMedia:null;function i(e,t,r){var i=this;if(o&&!r){var a=o.call(window,e);this.matches=a.matches,this.media=a.media,a.addListener(s)}else this.matches=n(e,t),this.media=e;function s(e){i.matches=e.matches,i.media=e.media}this.addListener=function(e){a&&a.addListener(e)},this.removeListener=function(e){a&&a.removeListener(e)},this.dispose=function(){a&&a.removeListener(s)}}e.exports=function(e,t,r){return new i(e,t,r)}},
vendor: 1,031 bytes, lines 6-10
6"./node_modules/object-assign/index.js":e=>{"use strict";/*
7object-assign
8(c) Sindre Sorhus
9@license MIT
10*/var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==n.join(""))return!1;var o={};if("abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},o)).join(""))return!1;return!0}catch(e){return!1}}()?function(e,o){for(var i,a,s=function(e){if(null==e)throw TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var u in i=Object(arguments[l]))r.call(i,u)&&(s[u]=i[u]);if(t){a=t(i);for(var c=0;c<a.length;c++)n.call(i,a[c])&&(s[a[c]]=i[a[c]])}}return s}:Object.assign},
vendor: 1,289 bytes, line 10
10"./node_modules/prop-types/checkPropTypes.js":(e,t,r)=>{"use strict";var n=function(){},o=r(/*! ./lib/ReactPropTypesSecret */"./node_modules/prop-types/lib/ReactPropTypesSecret.js"),i={},a=r(/*! ./lib/has */"./node_modules/prop-types/lib/has.js");function s(e,t,r,s,l){for(var u in e)if(a(e,u)){var c;try{if("function"!=typeof e[u]){var f=Error((s||"React class")+": "+r+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}c=e[u](t,u,s,r,null,o)}catch(e){c=e}if(!c||c instanceof Error||n((s||"React class")+": type specification of "+r+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in i)){i[c.message]=!0;var d=l?l():"";n("Failed "+r+" type: "+c.message+(null!=d?d:""))}}}n=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw Error(t)}catch(e){}},s.resetWarningCache=function(){i={}},e.exports=s},
vendor: 6,990 bytes, line 10
10"./node_modules/prop-types/factoryWithTypeCheckers.js":(e,t,r)=>{"use strict";var n=r(/*! react-is */"./node_modules/react-is/index.js"),o=r(/*! object-assign */"./node_modules/object-assign/index.js"),i=r(/*! ./lib/ReactPropTypesSecret */"./node_modules/prop-types/lib/ReactPropTypesSecret.js"),a=r(/*! ./lib/has */"./node_modules/prop-types/lib/has.js"),s=r(/*! ./checkPropTypes */"./node_modules/prop-types/checkPropTypes.js"),l=function(){};function u(){return null}l=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw Error(t)}catch(e){}},e.exports=function(e,t){var r="function"==typeof Symbol&&Symbol.iterator,c="<<anonymous>>",f={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:p(u),arrayOf:function(e){return p(function(t,r,n,o,a){if("function"!=typeof e)return new d("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s)){var l=y(s);return new d("Invalid "+o+" `"+a+"` of type `"+l+"` supplied to `"+n+"`, expected an array.")}for(var u=0;u<s.length;u++){var c=e(s,u,n,o,a+"["+u+"]",i);if(c instanceof Error)return c}return null})},element:p(function(t,r,n,o,i){var a=t[r];if(!e(a)){var s=y(a);return new d("Invalid "+o+" `"+i+"` of type `"+s+"` supplied to `"+n+"`, expected a single ReactElement.")}return null}),elementType:p(function(e,t,r,o,i){var a=e[t];if(!n.isValidElementType(a)){var s=y(a);return new d("Invalid "+o+" `"+i+"` of type `"+s+"` supplied to `"+r+"`, expected a single ReactElement type.")}return null}),instanceOf:function(e){return p(function(t,r,n,o,i){if(!(t[r]instanceof e)){var a,s=e.name||c,l=(a=t[r]).constructor&&a.constructor.name?a.constructor.name:c;return new d("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+n+"`, expected instance of `"+s+"`.")}return null})},node:p(function(t,n,o,i,a){return!function t(n){switch(typeof n){case"number":case"string":case"undefined":return!0;case"boolean":return!n;case"object":if(Array.isArray(n))return n.every(t);if(null===n||e(n))return!0;var o=function(e){var t=e&&(r&&e[r]||e["@@iterator"]);if("function"==typeof t)return t}(n);if(!o)return!1;var i,a=o.call(n);if(o!==n.entries){for(;!(i=a.next()).done;)if(!t(i.value))return!1}else for(;!(i=a.next()).done;){var s=i.value;if(s&&!t(s[1]))return!1}return!0;default:return!1}}(t[n])?new d("Invalid "+i+" `"+a+"` supplied to `"+o+"`, expected a ReactNode."):null}),objectOf:function(e){return p(function(t,r,n,o,s){if("function"!=typeof e)return new d("Property `"+s+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var l=t[r],u=y(l);if("object"!==u)return new d("Invalid "+o+" `"+s+"` of type `"+u+"` supplied to `"+n+"`, expected an object.");for(var c in l)if(a(l,c)){var f=e(l,c,n,o,s+"."+c,i);if(f instanceof Error)return f}return null})},oneOf:function(e){return Array.isArray(e)?p(function(t,r,n,o,i){for(var a,s=t[r],l=0;l<e.length;l++)if(s===(a=e[l])?0!==s||1/s==1/a:s!=s&&a!=a)return null;var u=JSON.stringify(e,function(e,t){return"symbol"===v(t)?String(t):t});return new d("Invalid "+o+" `"+i+"` of value `"+String(s)+"` supplied to `"+n+"`, expected one of "+u+".")}):(arguments.length>1?l("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):l("Invalid argument supplied to oneOf, expected an array."),u)},oneOfType:function(e){if(!Array.isArray(e))return l("Invalid argument supplied to oneOfType, expected an instance of array."),u;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return l("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+function(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}(r)+" at index "+t+"."),u}return p(function(t,r,n,o,s){for(var l=[],u=0;u<e.length;u++){var c=(0,e[u])(t,r,n,o,s,i);if(null==c)return null;c.data&&a(c.data,"expectedType")&&l.push(c.data.expectedType)}var f=l.length>0?", expected one of type ["+l.join(", ")+"]":"";return new d("Invalid "+o+" `"+s+"` supplied to `"+n+"`"+f+".")})},shape:function(e){return p(function(t,r,n,o,a){var s=t[r],l=y(s);if("object"!==l)return new d("Invalid "+o+" `"+a+"` of type `"+l+"` supplied to `"+n+"`, expected `object`.");for(var u in e){var c=e[u];if("function"!=typeof c)return h(n,o,a,u,v(c));var f=c(s,u,n,o,a+"."+u,i);if(f)return f}return null})},exact:function(e){return p(function(t,r,n,s,l){var u=t[r],c=y(u);if("object"!==c)return new d("Invalid "+s+" `"+l+"` of type `"+c+"` supplied to `"+n+"`, expected `object`.");var f=o({},t[r],e);for(var p in f){var m=e[p];if(a(e,p)&&"function"!=typeof m)return h(n,s,l,p,v(m));if(!m)return new d("Invalid "+s+" `"+l+"` key `"+p+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(t[r],null,"  ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null,"  "));var g=m(u,p,n,s,l+"."+p,i);if(g)return g}return null})}};function d(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function p(e){var r={},n=0;function o(o,a,s,u,f,p,m){if(u=u||c,p=p||s,m!==i){if(t){var h=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("undefined"!=typeof console){var y=u+":"+s;!r[y]&&n<3&&(l("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[y]=!0,n++)}}return null!=a[s]?e(a,s,u,f,p):o?new d(null===a[s]?"The "+f+" `"+p+"` is marked as required in `"+u+"`, but its value is `null`.":"The "+f+" `"+p+"` is marked as required in `"+u+"`, but its value is `undefined`."):null}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function m(e){return p(function(t,r,n,o,i,a){var s=t[r];if(y(s)!==e){var l=v(s);return new d("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e})}return null})}function h(e,t,r,n,o){return new d((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":"symbol"===t||e&&("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)?"symbol":t}function v(e){if(null==e)return""+e;var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}return d.prototype=Error.prototype,f.checkPropTypes=s,f.resetWarningCache=s.resetWarningCache,f.PropTypes=f,f}},
vendor: 223 bytes, line 10
10"./node_modules/prop-types/index.js":(e,t,r)=>{var n=r(/*! react-is */"./node_modules/react-is/index.js");e.exports=r(/*! ./factoryWithTypeCheckers */"./node_modules/prop-types/factoryWithTypeCheckers.js")(n.isElement,!0)},
vendor: 131 bytes, line 10
10"./node_modules/prop-types/lib/ReactPropTypesSecret.js":e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},
vendor: 106 bytes, line 10
10"./node_modules/prop-types/lib/has.js":e=>{e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},
vendor: 2,422 bytes, line 10
10"./node_modules/react-is/cjs/react-is.development.js":(e,t)=>{"use strict";!function(){var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var p=e.type;switch(p){case u:case c:case o:case a:case i:case d:return p;default:var y=p&&p.$$typeof;switch(y){case l:case f:case h:case m:case s:return y;default:return t}}case n:return t}}}var w=!1;function j(e){return x(e)===c}t.AsyncMode=u,t.ConcurrentMode=c,t.ContextConsumer=l,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=h,t.Memo=m,t.Portal=n,t.Profiler=a,t.StrictMode=i,t.Suspense=d,t.isAsyncMode=function(e){return w||(w=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),j(e)||x(e)===u},t.isConcurrentMode=j,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===h},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===n},t.isProfiler=function(e){return x(e)===a},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===a||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===l||e.$$typeof===f||e.$$typeof===v||e.$$typeof===g||e.$$typeof===b||e.$$typeof===y)},t.typeOf=x}()},
vendor: 162 bytes, line 10
10"./node_modules/react-is/index.js":(e,t,r)=>{"use strict";e.exports=r(/*! ./cjs/react-is.development.js */"./node_modules/react-is/cjs/react-is.development.js")},
vendor: 522 bytes, line 10
10"./node_modules/shallow-equal/dist/index.esm.js":(e,t,r)=>{"use strict";function n(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),o=r.length;if(n.length!==o)return!1;for(var i=0;i<o;i++){var a=r[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}function o(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=e.length;if(t.length!==r)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}r.r(t),r.d(t,{shallowEqualArrays:()=>o,shallowEqualObjects:()=>n})},
10"./src/Component.ts":function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=o(r(/*! ./useMediaQuery */"./src/useMediaQuery.ts"));t.default=function(e){var t=e.children,r=e.device,o=e.onChange,a=n(e,["children","device","onChange"]),s=(0,i.default)(a,r,o);return"function"==typeof t?t(s):s?t:null}},
10"./src/Context.ts":(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(0,r(/*! react */"react").createContext)(void 0);t.default=n},
10"./src/index.ts":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Context=t.toQuery=t.useMediaQuery=t.default=void 0;var o=n(r(/*! ./useMediaQuery */"./src/useMediaQuery.ts"));t.useMediaQuery=o.default;var i=n(r(/*! ./Component */"./src/Component.ts"));t.default=i.default;var a=n(r(/*! ./toQuery */"./src/toQuery.ts"));t.toQuery=a.default;var s=n(r(/*! ./Context */"./src/Context.ts"));t.Context=s.default},
10"./src/mediaQuery.ts":function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(r(/*! prop-types */"./node_modules/prop-types/index.js")),s=a.default.oneOfType([a.default.string,a.default.number]),l={all:a.default.bool,grid:a.default.bool,aural:a.default.bool,braille:a.default.bool,handheld:a.default.bool,print:a.default.bool,projection:a.default.bool,screen:a.default.bool,tty:a.default.bool,tv:a.default.bool,embossed:a.default.bool},u={orientation:a.default.oneOf(["portrait","landscape"]),scan:a.default.oneOf(["progressive","interlace"]),aspectRatio:a.default.string,deviceAspectRatio:a.default.string,height:s,deviceHeight:s,width:s,deviceWidth:s,color:a.default.bool,colorIndex:a.default.bool,monochrome:a.default.bool,resolution:s,type:Object.keys(l)};u.type;var c=o(u,["type"]),f=n({minAspectRatio:a.default.string,maxAspectRatio:a.default.string,minDeviceAspectRatio:a.default.string,maxDeviceAspectRatio:a.default.string,minHeight:s,maxHeight:s,minDeviceHeight:s,maxDeviceHeight:s,minWidth:s,maxWidth:s,minDeviceWidth:s,maxDeviceWidth:s,minColor:a.default.number,maxColor:a.default.number,minColorIndex:a.default.number,maxColorIndex:a.default.number,minMonochrome:a.default.number,maxMonochrome:a.default.number,minResolution:s,maxResolution:s},c),d=n(n({},l),f);t.default={all:d,types:l,matchers:u,features:f}},
10"./src/toQuery.ts":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(/*! hyphenate-style-name */"./node_modules/hyphenate-style-name/index.js")),i=n(r(/*! ./mediaQuery */"./src/mediaQuery.ts")),a=function(e,t){var r=(0,o.default)(e);return("number"==typeof t&&(t="".concat(t,"px")),!0===t)?r:!1===t?"not ".concat(r):"(".concat(r,": ").concat(t,")")};t.default=function(e){var t=[];return Object.keys(i.default.all).forEach(function(r){var n=e[r];null!=n&&t.push(a(r,n))}),t.join(" and ")}},
10"./src/useMediaQuery.ts":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(/*! react */"react"),i=n(r(/*! matchmediaquery */"./node_modules/matchmediaquery/index.js")),a=n(r(/*! hyphenate-style-name */"./node_modules/hyphenate-style-name/index.js")),s=r(/*! shallow-equal */"./node_modules/shallow-equal/dist/index.esm.js"),l=n(r(/*! ./toQuery */"./src/toQuery.ts")),u=n(r(/*! ./Context */"./src/Context.ts")),c=function(e){if(e)return Object.keys(e).reduce(function(t,r){return t[(0,a.default)(r)]=e[r],t},{})},f=function(){var e=(0,o.useRef)(!1);return(0,o.useEffect)(function(){e.current=!0},[]),e.current},d=function(e){var t=(0,o.useContext)(u.default),r=function(){return c(e)||c(t)},n=(0,o.useState)(r),i=n[0],a=n[1];return(0,o.useEffect)(function(){var e=r();(0,s.shallowEqualObjects)(i,e)||a(e)},[e,t]),i},p=function(e){var t=function(){return e.query||(0,l.default)(e)},r=(0,o.useState)(t),n=r[0],i=r[1];return(0,o.useEffect)(function(){var e=t();n!==e&&i(e)},[e]),n},m=function(e,t){var r=function(){return(0,i.default)(e,t||{},!!t)},n=(0,o.useState)(r),a=n[0],s=n[1],l=f();return(0,o.useEffect)(function(){if(l){var e=r();return s(e),function(){e&&e.dispose()}}},[e,t]),a},h=function(e){var t=(0,o.useState)(e.matches),r=t[0],n=t[1];return(0,o.useEffect)(function(){var t=function(e){n(e.matches)};return e.addListener(t),n(e.matches),function(){e.removeListener(t)}},[e]),r};t.default=function(e,t,r){var n=d(t),i=p(e);if(!i)throw Error("Invalid or missing MediaQuery!");var a=m(i,n),s=h(a),l=f();return(0,o.useEffect)(function(){l&&r&&r(s)},[s]),(0,o.useEffect)(function(){return function(){a&&a.dispose()}},[]),s}}
10,react:e=>{"use strict";e.exports=n}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}return r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r("./src/index.ts")})())}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(6535),t(4725)}),_N_E=e.O()}]);

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.