PageSourceSearch

https://cm-mirandadocorvo.pt/_next/static/chunks/8647-f32898297bdc6f1a.js

js cm-mirandadocorvo.pt collected 2026-10-02 12:58:24 UTC 18,595 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8647],{6509:(e,t,n)=>{"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}}(n(62191));e.exports={dataScript:function(e){var t=document.createElement("script");return t.innerHTML=e,t},gtm:function(e){var t=r.default.tags(e);return{noScript:function(){var e=document.createElement("noscript");return e.innerHTML=t.iframe,e},script:function(){var e=document.createElement("script");return e.innerHTML=t.script,e},dataScript:this.dataScript(t.dataLayerVar)}},initialize:function(e){var t=e.gtmId,n=e.events,r=e.dataLayer,o=e.dataLayerName,i=e.auth,a=e.preview,s=this.gtm({id:t,events:void 0===n?{}:n,dataLayer:r||void 0,dataLayerName:void 0===o?"dataLayer":o,auth:void 0===i?"":i,preview:void 0===a?"":a});r&&document.head.appendChild(s.dataScript),document.head.insertBefore(s.script(),document.head.childNodes[0]),document.body.insertBefore(s.noScript(),document.body.childNodes[0])},dataLayer:function(e){var t=e.dataLayer,n=e.dataLayerName,o=void 0===n?"dataLayer":n;if(window[o])return window[o].push(t);var i=r.default.dataLayer(t,o),a=this.dataScript(i);document.head.insertBefore(a,document.head.childNodes[0])}}},8828:(e,t,n)=>{"use strict";e.exports=n(83654)},14806:(e,t,n)=>{"use strict";e.exports=n(30125)},30125:(e,t,n)=>{"use strict";var r=n(12115),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,c=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return s(function(){o.value=n,o.getSnapshot=t,u(o)&&l({inst:o})},[e,n,t]),a(function(){return u(o)&&l({inst:o}),e(function(){u(o)&&l({inst:o})})},[e]),c(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},32641:(e,t)=>{"use strict";t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");var n={},o=e.length;if(o<2)return n;var i=t&&t.decode||l,a=0,s=0,d=0;do{if(-1===(s=e.indexOf("=",a)))break;if(-1===(d=e.indexOf(";",a)))d=o;else if(s>d){a=e.lastIndexOf(";",s-1)+1;continue}var p=c(e,a,s),f=u(e,s,p),v=e.slice(p,f);if(!r.call(n,v)){var h=c(e,s+1,d),y=u(e,d,h);34===e.charCodeAt(h)&&34===e.charCodeAt(y-1)&&(h++,y--);var m=e.slice(h,y);n[v]=function(e,t){try{return t(e)}catch(t){return e}}(m,i)}a=d+1}while(a<o);return n},t.serialize=function(e,t,r){var c=r&&r.encode||encodeURIComponent;if("function"!=typeof c)throw TypeError("option encode is invalid");if(!o.test(e))throw TypeError("argument name is invalid");var u=c(t);if(!i.test(u))throw TypeError("argument val is invalid");var l=e+"="+u;if(!r)return l;if(null!=r.maxAge){var d=Math.floor(r.maxAge);if(!isFinite(d))throw TypeError("option maxAge is invalid");l+="; Max-Age="+d}if(r.domain){if(!a.test(r.domain))throw TypeError("option domain is invalid");l+="; Domain="+r.domain}if(r.path){if(!s.test(r.path))throw TypeError("option path is invalid");l+="; Path="+r.path}if(r.expires){var p,f=r.expires;if(p=f,"[object Date]"!==n.call(p)||isNaN(f.valueOf()))throw TypeError("option expires is invali
1d");l+="; Expires="+f.toUTCString()}if(r.httpOnly&&(l+="; HttpOnly"),r.secure&&(l+="; Secure"),r.partitioned&&(l+="; Partitioned"),r.priority)switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.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 n=Object.prototype.toString,r=Object.prototype.hasOwnProperty,o=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,i=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,a=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,s=/^[\u0020-\u003A\u003D-\u007E]*$/;function c(e,t,n){do{var r=e.charCodeAt(t);if(32!==r&&9!==r)return t}while(++t<n);return n}function u(e,t,n){for(;t>n;){var r=e.charCodeAt(--t);if(32!==r&&9!==r)return t+1}return n}
1function l(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}},45199:(e,t,n)=>{"use strict";e.exports=function(e){return e&&e.__esModule?e:{default:e}}(n(6509)).default},62191:(e,t,n)=>{"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}}(n(96483));e.exports={tags:function(e){var t=e.id,n=e.events,o=e.dataLayer,i=e.dataLayerName,a=e.preview,s="&gtm_auth="+e.auth,c="&gtm_preview="+a;t||(0,r.default)("GTM Id is required");var u="\n      (function(w,d,s,l,i){w[l]=w[l]||[];\n        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', "+JSON.stringify(n).slice(1,-1)+"});\n        var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n        j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'"+s+c+"&gtm_cookies_win=x';\n        f.parentNode.insertBefore(j,f);\n      })(window,document,'script','"+i+"','"+t+"');";return{iframe:'\n      <iframe src="https://www.googletagmanager.com/ns.html?id='+t+s+c+'&gtm_cookies_win=x"\n        height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>',script:u,dataLayerVar:this.dataLayer(o,i)}},dataLayer:function(e,t){return"\n      window."+t+" = window."+t+" || [];\n      window."+t+".push("+JSON.stringify(e)+")"}}},62692:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};Object.defineProperty(t,"__esModule",{value:!0}),t.hasCookie=t.deleteCookie=t.setCookie=t.getCookie=t.getCookies=void 0;var i=n(32641),a=function(){return"undefined"!=typeof window},s=function(e){return!!e&&"getAll"in e&&"set"in e&&"function"==typeof e.getAll&&"function"==typeof e.set},c=function(e){return!!(null==e?void 0:e.req)&&"cookies"in e.req&&s(null==e?void 0:e.req.cookies)||!!(null==e?void 0:e.res)&&"cookies"in e.res&&s(null==e?void 0:e.res.cookies)||!!(null==e?void 0:e.cookies)&&s(e.cookies())},u=function(e){var t={};return e.getAll().forEach(function(e){var n=e.name,r=e.value;t[n]=r}),t},l=function(e){try{if("string"==typeof e)return e;return JSON.stringify(e)}catch(t){return e}};t.getCookies=function(e){if(c(e)){if(null==e?void 0:e.req)return u(e.req.cookies);if(null==e?void 0:e.cookies)return u(e.cookies())}if(e&&(t=e.req),!a())return t&&t.cookies?t.cookies:t&&t.headers.cookie?(0,i.parse)(t.headers.cookie):{};for(var t,n={},r=document.cookie?document.cookie.split("; "):[],o=0,s=r.length;o<s;o++){var l=r[o].split("="),d=l.slice(1).join("=");n[l[0]]=d}return n},t.getCookie=function(e,n){var r=(0,t.getCookies)(n)[e];if(void 0!==r)return r?r.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent):r},t.setCookie=function(e,t,n){if(c(n)){var s,u,d,p=n.req,f=n.res,v=n.cookies,h=o(n,["req","res","cookies"]),y=r({name:e,value:l(t)},h);p&&p.cookies.set(y),f&&f.cookies.set(y),v&&v().set(y);return}if(n){var p=n.req,f=n.res,m=o(n,["req","res"]);u=p,d=f,s=m}var b=(0,i.serialize)(e,l(t),r({path:"/"},s));if(a())document.cookie=b;else if(d&&u){var g=d.getHeader("Set-Cookie");if(Array.isArray(g)||(g=g?[String(g)]:[]),d.setHeader("Set-Cookie",g.concat(b)),u&&u.cookies){var O=u.cookies;""===t?delete O[e]:O[e]=l(t)}if(u&&u.headers&&u.headers.cookie){var O=(0,i.parse)(u.headers.cookie);""===t?delete O[e]:O[e]=l(t),u.headers.cookie=Object.entries(O).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}},t.deleteCookie=function(e,n){return(0,t.setCookie)(e,"",r(r({},n),{maxAge:-1}))},t.hasCookie=function(e,n){return!!e&&(0,t.getCookies)(n).hasOwnProperty(e)}},77499:(e,t,n)=>{"use strict";n.d(t,{Wc:()=>i.a});var r,o=n(81867),i=n.n(o),a=n(12115),s=function(e){var t=e.condition,n=e.wrapper,r=e.children;return t?n(r):r};function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var l={TOP:"top",BOTTOM:"bottom"};!function(e){e.STRICT="strict",e.LAX="lax",e.NONE="none"}(r||(r={}));var d={HIDDEN:"hidden",BY_COOKIE_VALUE:"byCookieValue"},p="CookieConsent",f=["children"],v={disableStyles:!1,hideOnAccept:!0,hideOnDecline:!0,location:l.BOTTOM,visible:d.BY_COOKIE_VALUE,onAccept:function(e){},onDecline:function(){},cookieName:p,cookieValue:"true",declineCookieValue:"false",setDeclineCookie:!0,buttonText:"I understand",declineButtonText:"I decline",debug:!1,expires:365,containerClasses:"CookieConsent",contentClasses:"",buttonClasses:"",buttonWrapperClasses:"",declineButtonClasses:"",buttonId:"rcc-confirm-button",declineButtonId:"rcc-decline-button",extraCookieOptions:{},disableButtonStyles:!1,enableDeclineButton:!1,flipButtons:!1,sameSite:r.LAX,ButtonComponent:function(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,f);return a.createElement("button",Object.assign({},n),t)},overlay:!1,overlayClasses:"",onOverlayClick:function(){},acceptOnOverlayClick:!1,ariaAcceptLabel:"Accept cookies",ariaDeclineLabel:"Decline cookies",acceptOnScroll:!1,acceptOnScrollPercentage:25,customContentAttributes:{},customContainerAttributes:{},customButtonProps:{},customDeclineButtonProps:{},customButtonWrapperAttributes:{},style:{},buttonStyle:{},declineButtonStyle:{},contentStyle:{},overlayStyle:{}},h={visible:!1,style:{alignItems:"baseline",background:"#353535",color:"white",display:"flex",flexWrap:"wrap",justifyContent:"space-between",left:"0",position:"fixed",width:"100%",zIndex:"999"},buttonStyle:{background:"#ffd42d",border:"0",borderRadius:"0px",boxShadow:"none",color:"black",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},declineButtonStyle:{background:"#c12a2a",border:"0",borderRadius:"0px",boxShadow:"none",color:"#e5e5e5",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},contentStyle:{flex:"1 0 300px",margin:"15px"},overlayStyle:{position:"fixed",left:0,top:0,width:"100%",height:"100%",zIndex:"999",backgroundColor:"rgba(0,0,0,0.3)"}},y=function(e){void 0===e&&(e=p);var t=i().get(e);return void 0===t?i().get(m(e)):t},m=function(e){return e+"-legacy"};(function(e){function t(){var t;return t=e.apply(this,arguments)||this,t.state=h,t.handleScroll=function(){var e=c({},v,t.props).acceptOnScrollPercentage,n=document.documentElement,r=document.body,o="scrollTop",i="scrollHeight";(n[o]||r[o])/((n[i]||r[i])-n.clientHeight)*100>e&&t.accept(!0)},t.removeScrollListener=function(){t.props.acceptOnScroll&&window.removeEventListener("scroll",t.handleScroll)},t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,u(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props.debug;(void 0===this.getCookieValue()||e)&&(this.setState({visible:!0}),this.props.acceptOnScroll&&window.addEventListener("scroll",this.handleScroll,{passive:!0}))},n.componentWillUnmount=function(){this.removeScrollListener()},n.accept=function(e){void 0===e&&(e=!1);var t,n=c({},v,this.props),r=n.cookieName,o=n.cookieValue,i=n.hideOnAccept,a=n.onAccept;this.setCookie(r,o),a(null!=(t=e)&&t),i&&(this.setState({visible:!1}),this.removeScrollListener())},n.overlayClick=function(){var e=c({},v,this.props),t=e.acceptOnOverlayClick,n=e.onOverlayClick;t&&this.accept(),n()},n.decline=function(){var e=c({},v,this.props),t=e.cookieName,n=e.declineCookieValue,r=e.hideOnDecline,o=e.onDecline;e.setDeclineCookie&&this.setCookie(t,n),o(),r&&this.setState({visible:!1})},n.setCookie=function(e,t){var n=this.props,o=n.extraCookieOptions,a=n.expires,s=n.sameSite,u=this.props.cookieSecurity;void 0===u&&(u=!window.location||"https:"===window.location.protocol);var l=c({expires:a},o,{sameSite:s,secure:u});s===r.NONE&&i().set(m(e),t,l),i().set(e,t,l)},n.getCookieValue=function(){return y(this.props.cookieName)},n.render=function(){var e=this;switch(this.props.visible){case d.HIDDEN:return null;case d.BY_COOKIE_VALUE:if(!this.state.visible)return null}var t=this.props,n=t.location,r=t.style,o=t.buttonStyle,i=t.declineButtonStyle,u=t.contentStyle,p=t.disableStyles,f=t.buttonText,v=t.declineButtonText,h=t.containerClasses,y=t.contentClasses,m=t.buttonClasse
1s,b=t.buttonWrapperClasses,g=t.declineButtonClasses,O=t.buttonId,S=t.declineButtonId,k=t.disableButtonStyles,w=t.enableDeclineButton,C=t.flipButtons,x=t.ButtonComponent,E=t.overlay,j=t.overlayClasses,B=t.overlayStyle,A=t.ariaAcceptLabel,L=t.ariaDeclineLabel,T=t.customContainerAttributes,D=t.customContentAttributes,N=t.customButtonProps,_=t.customDeclineButtonProps,I=t.customButtonWrapperAttributes,P={},M={},V={},z={},R={};switch(p?(P=Object.assign({},r),M=Object.assign({},o),V=Object.assign({},i),z=Object.assign({},u),R=Object.assign({},B)):(P=Object.assign({},c({},this.state.style,r)),z=Object.assign({},c({},this.state.contentStyle,u)),R=Object.assign({},c({},this.state.overlayStyle,B)),k?(M=Object.assign({},o),V=Object.assign({},i)):(M=Object.assign({},c({},this.state.buttonStyle,o)),V=Object.assign({},c({},this.state.declineButtonStyle,i)))),n){case l.TOP:P.top="0";break;case l.BOTTOM:P.bottom="0"}var U=[];return w&&U.push(a.createElement(x,Object.assign({key:"declineButton",style:V,className:g,id:S,"aria-label":L,onClick:function(){e.decline()}},_),v)),U.push(a.createElement(x,Object.assign({key:"acceptButton",style:M,className:m,id:O,"aria-label":A,onClick:function(){e.accept()}},N),f)),C&&U.reverse(),a.createElement(s,{condition:E,wrapper:function(t){return a.createElement("div",{style:R,className:j,onClick:function(){e.overlayClick()}},t)}},a.createElement("div",Object.assign({className:""+h,style:P},T),a.createElement("div",Object.assign({style:z,className:y},D),this.props.children),a.createElement("div",Object.assign({className:""+b},I),U.map(function(e){return e}))))},t})(a.Component).defaultProps=v},81867:(e,t,n)=>{var r,o;!function(i){void 0===(o="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o),e.exports=i()}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent)}return function n(r){function o(){}function i(t,n,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(new Date*1+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var c in i)i[c]&&(s+="; "+c,!0!==i[c]&&(s+="="+i[c].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var s=i[a].split("="),c=s.slice(1).join("=");n||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var u=t(s[0]);if(c=(r.read||r)(c,u)||t(c),n)try{c=JSON.parse(c)}catch(e){}if(o[u]=c,e===u)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,n){i(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}(function(){})})},83654:(e,t,n)=>{"use strict";var r=n(12115),o=n(14806),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,s=r.useRef,c=r.useEffect,u=r.useMemo,l=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=s(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;var f=a(e,(d=u(function(){function e(e){if(!c){if(c=!0,a=e,e=r(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?(a=e,t):(a=e,s=n)}var a,s,c=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,o]))[0],d[1]);return c(function(){p.hasValue=!0,p.value=f},[f]),l(f),f}},95988:(e,t,n)=>{"use strict";n.d(t,{vt:()=>l});let r=e=>{let t,n=new Set,r=(e,r)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=r?r:"object"!=typeof o||null===o)?o:Object.assign({}
1,t,o),n.forEach(n=>n(t,e))}},o=()=>t,i={setState:r,getState:o,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},a=t=e(r,o,i);return i};var o=n(12115),i=n(8828);let{useDebugValue:a}=o,{useSyncExternalStoreWithSelector:s}=i,c=!1,u=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?(e=>e?r(e):r)(e):e,n=(e,n)=>(function(e,t=e=>e,n){n&&!c&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),c=!0);let r=s(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return a(r),r})(t,e,n);return Object.assign(n,t),n},l=e=>e?u(e):u},96483:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){console.warn("[react-gtm]",e)}}}]);

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.