PageSourceSearch

https://museudocafe.org.br/main-YPEK2CM5.js

js museudocafe.org.br collected 2026-09-24 19:03:44 UTC 1,121,875 bytes, 9 lines download raw bytes

1import{a as Y,b as ze,c as yr,d as yw,e as vw,f as Kt}from"./chunk-CWTPBX7D.js";var qM=yw((a0,s0)=>{"use strict";(function(t,e){typeof define=="function"&&define.amd?define([],e):typeof a0<"u"?e():(e(),t.FileSaver={})})(a0,function(){"use strict";function t(s,l){return typeof l>"u"?l={autoBom:!1}:typeof l!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),l={autoBom:!l}),l.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s}function e(s,l,d){var h=new XMLHttpRequest;h.open("GET",s),h.responseType="blob",h.onload=function(){a(h.response,l,d)},h.onerror=function(){console.error("could not download file")},h.send()}function i(s){var l=new XMLHttpRequest;l.open("HEAD",s,!1);try{l.send()}catch{}return 200<=l.status&&299>=l.status}function n(s){try{s.dispatchEvent(new MouseEvent("click"))}catch{var l=document.createEvent("MouseEvents");l.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),s.dispatchEvent(l)}}var r=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,o=r.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=r.saveAs||(typeof window!="object"||window!==r?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(s,l,d){var h=r.URL||r.webkitURL,_=document.createElement("a");l=l||s.name||"download",_.download=l,_.rel="noopener",typeof s=="string"?(_.href=s,_.origin===location.origin?n(_):i(_.href)?e(s,l,d):n(_,_.target="_blank")):(_.href=h.createObjectURL(s),setTimeout(function(){h.revokeObjectURL(_.href)},4e4),setTimeout(function(){n(_)},0))}:"msSaveOrOpenBlob"in navigator?function(s,l,d){if(l=l||s.name||"download",typeof s!="string")navigator.msSaveOrOpenBlob(t(s,d),l);else if(i(s))e(s,l,d);else{var h=document.createElement("a");h.href=s,h.target="_blank",setTimeout(function(){n(h)})}}:function(s,l,d,h){if(h=h||open("","_blank"),h&&(h.document.title=h.document.body.innerText="downloading..."),typeof s=="string")return e(s,l,d);var _=s.type==="application/octet-stream",M=/constructor/i.test(r.HTMLElement)||r.safari,E=/CriOS\/[\d]+/.test(navigator.userAgent);if((E||_&&M||o)&&typeof FileReader<"u"){var S=new FileReader;S.onloadend=function(){var q=S.result;q=E?q:q.replace(/^data:[^;]*;/,"data:attachment/file;"),h?h.location.href=q:location=q,h=null},S.readAsDataURL(s)}else{var R=r.URL||r.webkitURL,G=R.createObjectURL(s);h?h.location=G:location.href=G,h=null,setTimeout(function(){R.revokeObjectURL(G)},4e4)}});r.saveAs=a.saveAs=a,typeof s0<"u"&&(s0.exports=a)})});var V0=null;var dp=1,up=Symbol("SIGNAL");function He(t){let e=V0;return V0=t,e}var U0={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function bw(t){if(!(hp(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===dp)){if(!t.producerMustRecompute(t)&&!pp(t)){t.dirty=!1,t.lastCleanEpoch=dp;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=dp}}function H0(t){return t&&(t.nextProducerIndex=0),He(t)}function z0(t,e){if(He(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(hp(t))for(let i=t.nextProducerIndex;i<t.producerNode.length;i++)fp(t.producerNode[i],t.producerIndexOfThis[i]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function pp(t){Rs(t);for(let e=0;e<t.producerNode.length;e++){let i=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==i.version||(bw(i),n!==i.version))return!0}return!1}function $0(t){if(Rs(t),hp(t))for(let e=0;e<t.producerNode.length;e++)fp(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function fp(t,e){if(xw(t),Rs(t),t.liveConsumerNode.length===1)for(let n=0;n<t.producerNode.length;n++)fp(t.producerNode[n],t.producerIndexOfThis[n]);let i=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[i],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[i],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],r=t.liveConsumerNode[e];Rs(r),r.producerIndexOfThis[n]=e}}function hp(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Rs(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function xw(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Mw(){throw new Error}var ww=Mw;function G0(t){ww=t}function ye(t){return typeof t=="function"}function no(t){let i=t(n=>{Error.call(n),n.stack=new Error().stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var Ls=no(t=>function(i){t(this),this.message=i?`${i.length} errors occurred during unsubscription:
2${i.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
3  `)}`:"",this.name="UnsubscriptionError",this.errors=i});function vr(t,e){if(t){let i=t.indexOf(e);0<=i&&t.splice(i,1)}}var _t=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}
vendor: 19,710 bytes, line 3
3unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(let o of i)o.remove(this);else i.remove(this);let{initialTeardown:n}=this;if(ye(n))try{n()}catch(o){e=o instanceof Ls?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{q0(o)}catch(a){e=e??[],a instanceof Ls?e=[...e,...a.errors]:e.push(a)}}if(e)throw new Ls(e)}}add(e){var i;if(e&&e!==this)if(this.closed)q0(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(e)}}_hasParent(e){let{_parentage:i}=this;return i===e||Array.isArray(i)&&i.includes(e)}_addParent(e){let{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(e),i):i?[i,e]:e}_removeParent(e){let{_parentage:i}=this;i===e?this._parentage=null:Array.isArray(i)&&vr(i,e)}remove(e){let{_finalizers:i}=this;i&&vr(i,e),e instanceof t&&e._removeParent(this)}};_t.EMPTY=(()=>{let t=new _t;return t.closed=!0,t})();var gp=_t.EMPTY;function Fs(t){return t instanceof _t||t&&"closed"in t&&ye(t.remove)&&ye(t.add)&&ye(t.unsubscribe)}function q0(t){ye(t)?t():t.unsubscribe()}var Un={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var io={setTimeout(t,e,...i){let{delegate:n}=io;return n?.setTimeout?n.setTimeout(t,e,...i):setTimeout(t,e,...i)},clearTimeout(t){let{delegate:e}=io;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Bs(t){io.setTimeout(()=>{let{onUnhandledError:e}=Un;if(e)e(t);else throw t})}function br(){}var W0=mp("C",void 0,void 0);function K0(t){return mp("E",void 0,t)}function Y0(t){return mp("N",t,void 0)}function mp(t,e,i){return{kind:t,value:e,error:i}}var xr=null;function ro(t){if(Un.useDeprecatedSynchronousErrorHandling){let e=!xr;if(e&&(xr={errorThrown:!1,error:null}),t(),e){let{errorThrown:i,error:n}=xr;if(xr=null,i)throw n}}else t()}function Q0(t){Un.useDeprecatedSynchronousErrorHandling&&xr&&(xr.errorThrown=!0,xr.error=t)}var Mr=class extends _t{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Fs(e)&&e.add(this)):this.destination=Ew}static create(e,i,n){return new Si(e,i,n)}next(e){this.isStopped?Cp(Y0(e),this):this._next(e)}error(e){this.isStopped?Cp(K0(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Cp(W0,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Ow=Function.prototype.bind;function _p(t,e){return Ow.call(t,e)}var yp=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:i}=this;if(i.next)try{i.next(e)}catch(n){js(n)}}error(e){let{partialObserver:i}=this;if(i.error)try{i.error(e)}catch(n){js(n)}else js(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(i){js(i)}}},Si=class extends Mr{constructor(e,i,n){super();let r;if(ye(e)||!e)r={next:e??void 0,error:i??void 0,complete:n??void 0};else{let o;this&&Un.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&_p(e.next,o),error:e.error&&_p(e.error,o),complete:e.complete&&_p(e.complete,o)}):r=e}this.destination=new yp(r)}};function js(t){Un.useDeprecatedSynchronousErrorHandling?Q0(t):Bs(t)}function Pw(t){throw t}function Cp(t,e){let{onStoppedNotification:i}=Un;i&&io.setTimeout(()=>i(t,e))}var Ew={closed:!0,next:br,error:Pw,complete:br};var oo=typeof Symbol=="function"&&Symbol.observable||"@@observable";function mn(t){return t}function vp(...t){return bp(t)}function bp(t){return t.length===0?mn:t.length===1?t[0]:function(i){return t.reduce((n,r)=>r(n),i)}}var Ne=(()=>{class t{constructor(i){i&&(this._subscribe=i)}lift(i){let n=new t;return n.source=this,n.operator=i,n}subscribe(i,n,r){let o=Iw(i)?i:new Si(i,n,r);return ro(()=>{let{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return n=Z0(n),new n((r,o)=>{let a=new Si({next:s=>{try{i(s)}catch(l){o(l),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(i){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(i)}[oo](){return this}pipe(...i){return bp(i)(this)}toPromise(i){return i=Z0(i),new i((n,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>n(o))})}}return t.create=e=>new t(e),t})();function Z0(t){var e;return(e=t??Un.Promise)!==null&&e!==void 0?e:Promise}function Sw(t){return t&&ye(t.next)&&ye(t.error)&&ye(t.complete)}function Iw(t){return t&&t instanceof Mr||Sw(t)&&Fs(t)}function xp(t){return ye(t?.lift)}function Se(t){return e=>{if(xp(e))return e.lift(function(i){try{return t(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Re(t,e,i,n,r){return new Mp(t,e,i,n,r)}var Mp=class extends Mr{constructor(e,i,n,r,o,a){super(e),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=i?function(s){try{i(s)}catch(l){e.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){e.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:i}=this;super.unsubscribe(),!i&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function ao(){return Se((t,e)=>{let i=null;t._refCount++;let n=Re(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){i=null;return}let r=t._connection,o=i;i=null,r&&(!o||r===o)&&r.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(i=t.connect())})}var so=class extends Ne{constructor(e,i){super(),this.source=e,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,xp(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new _t;let i=this.getSubject();e.add(this.source.subscribe(Re(i,void 0,()=>{this._teardown(),i.complete()},n=>{this._teardown(),i.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=_t.EMPTY)}return e}refCount(){return ao()(this)}};var X0=no(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Le=(()=>{class t extends Ne{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){let n=new Vs(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new X0}next(i){ro(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(i)}})}error(i){ro(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;let{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){ro(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){let{hasError:n,isStopped:r,observers:o}=this;return n||r?gp:(this.currentObservers=null,o.push(i),new _t(()=>{this.currentObservers=null,vr(o,i)}))}_checkFinalizedStatuses(i){let{hasError:n,thrownError:r,isStopped:o}=this;n?i.error(r):o&&i.complete()}asObservable(){let i=new Ne;return i.source=this,i}}return t.create=(e,i)=>new Vs(e,i),t})(),Vs=class extends Le{constructor(e,i){super(),this.destination=e,this.source=i}next(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,e)}error(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,e)}complete(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)}_subscribe(e){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&n!==void 0?n:gp}};var Pt=class extends Le{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let i=super._subscribe(e);return!i.closed&&e.next(this._value),i}getValue(){let{hasError:e,thrownError:i,_value:n}=this;if(e)throw i;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var ca={now(){return(ca.delegate||Date).now()},delegate:void 0};var Us=class extends Le{constructor(e=1/0,i=1/0,n=ca){super(),this._bufferSize=e,this._windowTime=i,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=i===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,i)}next(e){let{isStopped:i,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;i||(n.push(e),!r&&n.push(o.now()+a)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let i=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!e.closed;a+=n?1:2)e.next(o[a]);return this._checkFinalizedStatuses(e),i}_trimBuffer(){let{_bufferSize:e,_timestampProvider:i,_buffer:n,_infiniteTimeWindow:r}=this,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){let a=i.now(),s=0;for(let l=1;l<n.length&&n[l]<=a;l+=2)s=l;s&&n.splice(0,s+1)}}};var Hs=class extends _t{constructor(e,i){super()}schedule(e,i=0){return this}};var da={setInterval(t,e,...i){let{delegate:n}=da;return n?.setInterval?n.setInterval(t,e,...i):setInterval(t,e,...i)},clearInterval(t){let{delegate:e}=da;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var zs=class extends Hs{constructor(e,i){super(e,i),this.scheduler=e,this.work=i,this.pending=!1}schedule(e,i=0){var n;if(this.closed)return this;this.state=e;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,i)),this.pending=!0,this.delay=i,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,i),this}requestAsyncId(e,i,n=0){return da.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,i,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return i;i!=null&&da.clearInterval(i)}execute(e,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,i);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,i){let n=!1,r;try{this.work(e)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:e,scheduler:i}=this,{actions:n}=i;this.work=this.state=this.scheduler=null,this.pending=!1,vr(n,this),e!=null&&(this.id=this.recycleAsyncId(i,e,null)),this.delay=null,super.unsubscribe()}}};var lo=class t{constructor(e,i=t.now){this.schedulerActionCtor=e,this.now=i}schedule(e,i=0,n){return new this.schedulerActionCtor(this,e).schedule(n,i)}};lo.now=ca.now;var $s=class extends lo{constructor(e,i=lo.now){super(e,i),this.actions=[],this._active=!1}flush(e){let{actions:i}=this;if(this._active){i.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=i.shift());if(this._active=!1,n){for(;e=i.shift();)e.unsubscribe();throw n}}};var wp=new $s(zs),J0=wp;var Yt=new Ne(t=>t.complete());function Gs(t){return t&&ye(t.schedule)}function Op(t){return t[t.length-1]}function qs(t){return ye(Op(t))?t.pop():void 0}function oi(t){return Gs(Op(t))?t.pop():void 0}function e_(t,e){return typeof Op(t)=="number"?t.pop():e}function n_(t,e,i,n){function r(o){return o instanceof i?o:new i(function(a){a(o)})}return new(i||(i=Promise))(function(o,a){function s(h){try{d(n.next(h))}catch(_){a(_)}}function l(h){try{d(n.throw(h))}catch(_){a(_)}}function d(h){h.done?o(h.value):r(h.value).then(s,l)}d((n=n.apply(t,e||[])).next())})}function t_(t){var e=typeof Symbol=="function"&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function wr(t){return this instanceof wr?(this.v=t,this):new wr(t)}function i_(t,e,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(t,e||[]),r,o=[];return r={},s("next"),s("throw"),s("return",a),r[Symbol.asyncIterator]=function(){return this},r;function a(E){return function(S){return Promise.resolve(S).then(E,_)}}function s(E,S){n[E]&&(r[E]=function(R){return new Promise(function(G,q){o.push([E,R,G,q])>1||l(E,R)})},S&&(r[E]=S(r[E])))}function l(E,S){try{d(n[E](S))}catch(R){M(o[0][3],R)}}function d(E){E.value instanceof wr?Promise.resolve(E.value.v).then(h,_):M(o[0][2],E)}function h(E){l("next",E)}function _(E){l("throw",E)}function M(E,S){E(S),o.shift(),o.length&&l(o[0][0],o[0][1])}}function r_(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],i;return e?e.call(t):(t=typeof t_=="function"?t_(t):t[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(o){i[o]=t[o]&&function(a){return new Promise(function(s,l){a=t[o](a),r(s,l,a.done,a.value)})}}function r(o,a,s,l){Promise.resolve(l).then(function(d){o({value:d,done:s})},a)}}var co=t=>t&&typeof t.length=="number"&&typeof t!="function";function Ws(t){return ye(t?.then)}function Ks(t){return ye(t[oo])}function Ys(t){return Symbol.asyncIterator&&ye(t?.[Symbol.asyncIterator])}function Qs(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Tw(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Zs=Tw();function Xs(t){return ye(t?.[Zs])}function Js(t){return i_(this,arguments,function*(){let i=t.getReader();try{for(;;){let{value:n,done:r}=yield wr(i.read());if(r)return yield wr(void 0);yield yield wr(n)}}finally{i.releaseLock()}})}function el(t){return ye(t?.getReader)}function et(t){if(t instanceof Ne)return t;if(t!=null){if(Ks(t))return Dw(t);if(co(t))return kw(t);if(Ws(t))return Aw(t);if(Ys(t))return o_(t);if(Xs(t))return Nw(t);if(el(t))return Rw(t)}throw Qs(t)}function Dw(t){return new Ne(e=>{let i=t[oo]();if(ye(i.subscribe))return i.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function kw(t){return new Ne(e=>{for(let i=0;i<t.length&&!e.closed;i++)e.next(t[i]);e.complete()})}function Aw(t){return new Ne(e=>{t.then(i=>{e.closed||(e.next(i),e.complete())},i=>e.error(i)).then(null,Bs)})}function Nw(t){return new Ne(e=>{for(let i of t)if(e.next(i),e.closed)return;e.complete()})}function o_(t){return new Ne(e=>{Lw(t,e).catch(i=>e.error(i))})}function Rw(t){return o_(Js(t))}function Lw(t,e){var i,n,r,o;return n_(this,void 0,void 0,function*(){try{for(i=r_(t);n=yield i.next(),!n.done;){let a=n.value;if(e.next(a),e.closed)return}}catch(a){r={error:a}}finally{try{n&&!n.done&&(o=i.return)&&(yield o.call(i))}finally{if(r)throw r.error}}e.complete()})}function sn(t,e,i,n=0,r=!1){let o=e.schedule(function(){i(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!r)return o}function tl(t,e=0){return Se((i,n)=>{i.subscribe(Re(n,r=>sn(n,t,()=>n.next(r),e),()=>sn(n,t,()=>n.complete(),e),r=>sn(n,t,()=>n.error(r),e)))})}function nl(t,e=0){return Se((i,n)=>{n.add(t.schedule(()=>i.subscribe(n),e))})}function a_(t,e){return et(t).pipe(nl(e),tl(e))}function s_(t,e){return et(t).pipe(nl(e),tl(e))}function l_(t,e){return new Ne(i=>{let n=0;return e.schedule(function(){n===t.length?i.complete():(i.next(t[n++]),i.closed||this.schedule())})})}function c_(t,e){return new Ne(i=>{let n;return sn(i,e,()=>{n=t[Zs](),sn(i,e,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(a){i.error(a);return}o?i.complete():i.next(r)},0,!0)}),()=>ye(n?.return)&&n.return()})}function il(t,e){if(!t)throw new Error("Iterable cannot be null");return new Ne(i=>{sn(i,e,()=>{let n=t[Symbol.asyncIterator]();sn(i,e,()=>{n.next().then(r=>{r.done?i.complete():i.next(r.value)})},0,!0)})})}function d_(t,e){return il(Js(t),e)}function u_(t,e){if(t!=null){if(Ks(t))return a_(t,e);if(co(t))return l_(t,e);if(Ws(t))return s_(t,e);if(Ys(t))return il(t,e);if(Xs(t))return c_(t,e);if(el(t))return d_(t,e)}throw Qs(t)}function nt(t,e){return e?u_(t,e):et(t)}function pe(...t){let e=oi(t);return nt(t,e)}function Hn(t,e){let i=ye(t)?t:()=>t,n=r=>r.error(i());return new Ne(e?r=>e.schedule(n,0,r):n)}function zn(t){return!!t&&(t instanceof Ne||ye(t.lift)&&ye(t.subscribe))}var Ii=no(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function p_(t){return t instanceof Date&&!isNaN(t)}function be(t,e){return Se((i,n)=>{let r=0;i.subscribe(Re(n,o=>{n.next(t.call(e,o,r++))}))})}var{isArray:Fw}=Array;function Bw(t,e){return Fw(e)?t(...e):t(e)}function uo(t){return be(e=>Bw(t,e))}var{isArray:jw}=Array,{getPrototypeOf:Vw,prototype:Uw,keys:Hw}=Object;function rl(t){if(t.length===1){let e=t[0];if(jw(e))return{args:e,keys:null};if(zw(e)){let i=Hw(e);return{args:i.map(n=>e[n]),keys:i}}}return{args:t,keys:null}}function zw(t){return t&&typeof t=="object"&&Vw(t)===Uw}function ol(t,e){return t.reduce((i,n,r)=>(i[n]=e[r],i),{})}function al(...t){let e=oi(t),i=qs(t),{args:n,keys:r}=rl(t);if(n.length===0)return nt([],e);let o=new Ne($w(n,e,r?a=>ol(r,a):mn));return i?o.pipe(uo(i)):o}function $w(t,e,i=mn){return n=>{f_(e,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let l=0;l<r;l++)f_(e,()=>{let d=nt(t[l],e),h=!1;d.subscribe(Re(n,_=>{o[l]=_,h||(h=!0,s--),s||n.next(i(o.slice()))},()=>{--a||n.complete()}))},n)},n)}}function f_(t,e,i){t?sn(i,t,e):e()}function h_(t,e,i,n,r,o,a,s){let l=[],d=0,h=0,_=!1,M=()=>{_&&!l.length&&!d&&e.complete()},E=R=>d<n?S(R):l.push(R),S=R=>{o&&e.next(R),d++;let G=!1;et(i(R,h++)).subscribe(Re(e,q=>{r?.(q),o?E(q):e.next(q)},()=>{G=!0},void 0,()=>{if(G)try{for(d--;l.length&&d<n;){let q=l.shift();a?sn(e,a,()=>S(q)):S(q)}M()}catch(q){e.error(q)}}))};return t.subscribe(Re(e,E,()=>{_=!0,M()})),()=>{s?.()}}function ct(t,e,i=1/0){return ye(e)?ct((n,r)=>be((o,a)=>e(n,o,r,a))(et(t(n,r))),i):(typeof e=="number"&&(i=e),Se((n,r)=>h_(n,r,t,i)))}function ua(t=1/0){return ct(mn,t)}function g_(){return ua(1)}function $n(...t){return g_()(nt(t,oi(t)))}function Or(t){return new Ne(e=>{et(t()).subscribe(e)})}function pa(...t){let e=qs(t),{args:i,keys:n}=rl(t),r=new Ne(o=>{let{length:a}=i;if(!a){o.complete();return}let s=new Array(a),l=a,d=a;for(let h=0;h<a;h++){let _=!1;et(i[h]).subscribe(Re(o,M=>{_||(_=!0,d--),s[h]=M},()=>l--,void 0,()=>{(!l||!_)&&(d||o.next(n?ol(n,s):s),o.complete())}))}});return e?r.pipe(uo(e)):r}var Gw=["addListener","removeListener"],qw=["addEventListener","removeEventListener"],Ww=["on","off"];function fa(t,e,i,n){if(ye(i)&&(n=i,i=void 0),n)return fa(t,e,i).pipe(uo(n));let[r,o]=Qw(t)?qw.map(a=>s=>t[a](e,s,i)):Kw(t)?Gw.map(m_(t,e)):Yw(t)?Ww.map(m_(t,e)):[];
3if(!r&&co(t))return ct(a=>fa(a,e,i))(et(t));if(!r)throw new TypeError("Invalid event target");return new Ne(a=>{let s=(...l)=>a.next(1<l.length?l:l[0]);return r(s),()=>o(s)})}function m_(t,e){return i=>n=>t[i](e,n)}function Kw(t){return ye(t.addListener)&&ye(t.removeListener)}function Yw(t){return ye(t.on)&&ye(t.off)}function Qw(t){return ye(t.addEventListener)&&ye(t.removeEventListener)}function __(t=0,e,i=J0){let n=-1;return e!=null&&(Gs(e)?i=e:n=e),new Ne(r=>{let o=p_(t)?+t-i.now():t;o<0&&(o=0);let a=0;return i.schedule(function(){r.closed||(r.next(a++),0<=n?this.schedule(void 0,n):r.complete())},o)})}function Gn(...t){let e=oi(t),i=e_(t,1/0),n=t;return n.length?n.length===1?et(n[0]):ua(i)(nt(n,e)):Yt}function ft(t,e){return Se((i,n)=>{let r=0;i.subscribe(Re(n,o=>t.call(e,o,r++)&&n.next(o)))})}function _n(t){return Se((e,i)=>{let n=null,r=!1,o;n=e.subscribe(Re(i,void 0,void 0,a=>{o=et(t(a,_n(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(i)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(i))})}function sl(t,e,i,n,r){return(o,a)=>{let s=i,l=e,d=0;o.subscribe(Re(a,h=>{let _=d++;l=s?t(l,h,_):(s=!0,h),n&&a.next(l)},r&&(()=>{s&&a.next(l),a.complete()})))}}function C_(t,e){return Se(sl(t,e,arguments.length>=2,!1,!0))}var Zw=(t,e)=>(t.push(e),t);function Pp(){return Se((t,e)=>{C_(Zw,[])(t).subscribe(e)})}function ai(t,e){return ye(e)?ct(t,e,1):ct(t,1)}function Gi(t){return Se((e,i)=>{let n=!1;e.subscribe(Re(i,r=>{n=!0,i.next(r)},()=>{n||i.next(t),i.complete()}))})}function Mt(t){return t<=0?()=>Yt:Se((e,i)=>{let n=0;e.subscribe(Re(i,r=>{++n<=t&&(i.next(r),t<=n&&i.complete())}))})}function y_(){return Se((t,e)=>{t.subscribe(Re(e,br))})}function ha(t){return be(()=>t)}function Ep(t,e){return e?i=>$n(e.pipe(Mt(1),y_()),i.pipe(Ep(t))):ct((i,n)=>et(t(i,n)).pipe(Mt(1),ha(i)))}function Sp(t,e=wp){let i=__(t,e);return Ep(()=>i)}function ll(t=Xw){return Se((e,i)=>{let n=!1;e.subscribe(Re(i,r=>{n=!0,i.next(r)},()=>n?i.complete():i.error(t())))})}function Xw(){return new Ii}function qi(t){return Se((e,i)=>{try{e.subscribe(i)}finally{i.add(t)}})}function Qt(t,e){let i=arguments.length>=2;return n=>n.pipe(t?ft((r,o)=>t(r,o,n)):mn,Mt(1),i?Gi(e):ll(()=>new Ii))}function po(t){return t<=0?()=>Yt:Se((e,i)=>{let n=[];e.subscribe(Re(i,r=>{n.push(r),t<n.length&&n.shift()},()=>{for(let r of n)i.next(r);i.complete()},void 0,()=>{n=null}))})}function Ip(t,e){let i=arguments.length>=2;return n=>n.pipe(t?ft((r,o)=>t(r,o,n)):mn,po(1),i?Gi(e):ll(()=>new Ii))}function Tp(t,e){return Se(sl(t,e,arguments.length>=2,!0))}function v_(t={}){let{connector:e=()=>new Le,resetOnError:i=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,l,d=0,h=!1,_=!1,M=()=>{s?.unsubscribe(),s=void 0},E=()=>{M(),a=l=void 0,h=_=!1},S=()=>{let R=a;E(),R?.unsubscribe()};return Se((R,G)=>{d++,!_&&!h&&M();let q=l=l??e();G.add(()=>{d--,d===0&&!_&&!h&&(s=Dp(S,r))}),q.subscribe(G),!a&&d>0&&(a=new Si({next:ge=>q.next(ge),error:ge=>{_=!0,M(),s=Dp(E,i,ge),q.error(ge)},complete:()=>{h=!0,M(),s=Dp(E,n),q.complete()}}),et(R).subscribe(a))})(o)}}function Dp(t,e,...i){if(e===!0){t();return}if(e===!1)return;let n=new Si({next:()=>{n.unsubscribe(),t()}});return et(e(...i)).subscribe(n)}function cl(t,e,i){let n,r=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:r=!1,scheduler:i}=t:n=t??1/0,v_({connector:()=>new Us(n,e,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function dl(t){return ft((e,i)=>t<=i)}function kp(...t){let e=oi(t);return Se((i,n)=>{(e?$n(t,i,e):$n(t,i)).subscribe(n)})}function ht(t,e){return Se((i,n)=>{let r=null,o=0,a=!1,s=()=>a&&!r&&n.complete();i.subscribe(Re(n,l=>{r?.unsubscribe();let d=0,h=o++;et(t(l,h)).subscribe(r=Re(n,_=>n.next(e?e(l,_,h,d++):_),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function Ap(t){return Se((e,i)=>{et(t).subscribe(Re(i,()=>i.complete(),br)),!i.closed&&e.subscribe(i)})}function Oe(t,e,i){let n=ye(t)||e||i?{next:t,error:e,complete:i}:t;return n?Se((r,o)=>{var a;(a=n.subscribe)===null||a===void 0||a.call(n);let s=!0;r.subscribe(Re(o,l=>{var d;(d=n.next)===null||d===void 0||d.call(n,l),o.next(l)},()=>{var l;s=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var d;s=!1,(d=n.error)===null||d===void 0||d.call(n,l),o.error(l)},()=>{var l,d;s&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(d=n.finalize)===null||d===void 0||d.call(n)}))}):mn}
3var cC="https://g.co/ng/security#xss",K=class extends Error{constructor(e,i){super(Kl(e,i)),this.code=e}};function Kl(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function ka(t){return{toString:t}.toString()}var ul="__parameters__";function Jw(t){return function(...i){if(t){let n=t(...i);for(let r in n)this[r]=n[r]}}}function dC(t,e,i){return ka(()=>{let n=Jw(e);function r(...o){if(this instanceof r)return n.apply(this,o),this;let a=new r(...o);return s.annotation=a,s;function s(l,d,h){let _=l.hasOwnProperty(ul)?l[ul]:Object.defineProperty(l,ul,{value:[]})[ul];for(;_.length<=h;)_.push(null);return(_[h]=_[h]||[]).push(a),l}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}var Ti=globalThis;function it(t){for(let e in t)if(t[e]===it)return e;throw Error("Could not find renamed property on target object.")}function eO(t,e){for(let i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function Jt(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Jt).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
4`);return i===-1?e:e.substring(0,i)}function Xp(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var tO=it({__forward_ref__:it});function Li(t){return t.__forward_ref__=Li,t.toString=function(){return Jt(this())},t}function Zt(t){return uC(t)?t():t}function uC(t){return typeof t=="function"&&t.hasOwnProperty(tO)&&t.__forward_ref__===Li}function P(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function yt(t){return{providers:t.providers||[],imports:t.imports||[]}}function Yl(t){return b_(t,fC)||b_(t,hC)}function pC(t){return Yl(t)!==null}function b_(t,e){return t.hasOwnProperty(e)?t[e]:null}function nO(t){let e=t&&(t[fC]||t[hC]);return e||null}function x_(t){return t&&(t.hasOwnProperty(M_)||t.hasOwnProperty(iO))?t[M_]:null}var fC=it({\u0275prov:it}),M_=it({\u0275inj:it}),hC=it({ngInjectableDef:it}),iO=it({ngInjectorDef:it}),re=class{constructor(e,i){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof i=="number"?this.__NG_ELEMENT_ID__=i:i!==void 0&&(this.\u0275prov=P({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function gC(t){return t&&!!t.\u0275providers}var rO=it({\u0275cmp:it}),oO=it({\u0275dir:it}),aO=it({\u0275pipe:it}),sO=it({\u0275mod:it}),Ol=it({\u0275fac:it}),ma=it({__NG_ELEMENT_ID__:it}),w_=it({__NG_ENV_ID__:it});function Er(t){return typeof t=="string"?t:t==null?"":String(t)}function lO(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Er(t)}function cO(t,e){let i=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new K(-200,t)}function ph(t,e){throw new K(-201,!1)}var Fe=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(Fe||{}),Jp;function mC(){return Jp}function ln(t){let e=Jp;return Jp=t,e}function _C(t,e,i){let n=Yl(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&Fe.Optional)return null;if(e!==void 0)return e;ph(t,"Injector")}var dO={},_a=dO,ef="__NG_DI_FLAG__",Pl="ngTempTokenPath",uO="ngTokenPath",pO=/\n/gm,fO="\u0275",O_="__source",_o;function hO(){return _o}function Wi(t){let e=_o;return _o=t,e}function gO(t,e=Fe.Default){if(_o===void 0)throw new K(-203,!1);return _o===null?_C(t,void 0,e):_o.get(t,e&Fe.Optional?null:void 0,e)}function x(t,e=Fe.Default){return(mC()||gO)(Zt(t),e)}function H(t,e=Fe.Default){return x(t,Ql(e))}function Ql(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function tf(t){let e=[];for(let i=0;i<t.length;i++){let n=Zt(t[i]);if(Array.isArray(n)){if(n.length===0)throw new K(900,!1);let r,o=Fe.Default;for(let a=0;a<n.length;a++){let s=n[a],l=mO(s);typeof l=="number"?l===-1?r=s.token:o|=l:r=s}e.push(x(r,o))}else e.push(x(n))}return e}function CC(t,e){return t[ef]=e,t.prototype[ef]=e,t}function mO(t){return t[ef]}function _O(t,e,i,n){let r=t[Pl];throw e[O_]&&r.unshift(e[O_]),t.message=CO(`
5`+t.message,r,i,n),t[uO]=r,t[Pl]=null,t}function CO(t,e,i,n=null){t=t&&t.charAt(0)===`
6`&&t.charAt(1)==fO?t.slice(2):t;let r=Jt(e);if(Array.isArray(e))r=e.map(Jt).join(" -> ");else if(typeof e=="object"){let o=[];for(let a in e)if(e.hasOwnProperty(a)){let s=e[a];o.push(a+":"+(typeof s=="string"?JSON.stringify(s):Jt(s)))}r=`{${o.join(", ")}}`}return`${i}${n?"("+n+")":""}[${r}]: ${t.replace(pO,`
7  `)}`}var Zl=CC(dC("Optional"),8);var fh=CC(dC("SkipSelf"),4);function Sr(t,e){let i=t.hasOwnProperty(Ol);return i?t[Ol]:null}function yO(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let r=t[n],o=e[n];if(i&&(r=i(r),o=i(o)),o!==r)return!1}return!0}function vO(t){return t.flat(Number.POSITIVE_INFINITY)}function hh(t,e){t.forEach(i=>
vendor: 4,366 bytes, line 7
7Array.isArray(i)?hh(i,e):e(i))}function yC(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function El(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function bO(t,e){let i=[];for(let n=0;n<t;n++)i.push(e);return i}function xO(t,e,i,n){let r=t.length;if(r==e)t.push(i,n);else if(r===1)t.push(n,t[0]),t[0]=i;else{for(r--,t.push(t[r-1],t[r]);r>e;){let o=r-2;t[r]=t[o],r--}t[e]=i,t[e+1]=n}}function gh(t,e,i){let n=Aa(t,e);return n>=0?t[n|1]=i:(n=~n,xO(t,n,e,i)),n}function Np(t,e){let i=Aa(t,e);if(i>=0)return t[i|1]}function Aa(t,e){return MO(t,e,1)}function MO(t,e,i){let n=0,r=t.length>>i;for(;r!==n;){let o=n+(r-n>>1),a=t[o<<i];if(e===a)return o<<i;a>e?r=o:n=o+1}return~(r<<i)}var yo={},Xt=[],Ir=new re(""),vC=new re("",-1),bC=new re(""),Sl=class{get(e,i=_a){if(i===_a){let n=new Error(`NullInjectorError: No provider for ${Jt(e)}!`);throw n.name="NullInjectorError",n}return i}},xC=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(xC||{}),ci=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(ci||{}),gt=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(gt||{});function wO(t,e,i){let n=t.length;for(;;){let r=t.indexOf(e,i);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=e.length;if(r+o===n||t.charCodeAt(r+o)<=32)return r}i=r+1}}function nf(t,e,i){let n=0;for(;n<i.length;){let r=i[n];if(typeof r=="number"){if(r!==0)break;n++;let o=i[n++],a=i[n++],s=i[n++];t.setAttribute(e,a,s,o)}else{let o=r,a=i[++n];OO(o)?t.setProperty(e,o,a):t.setAttribute(e,o,a),n++}}return n}function MC(t){return t===3||t===4||t===6}function OO(t){return t.charCodeAt(0)===64}function Ca(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let r=e[n];typeof r=="number"?i=r:i===0||(i===-1||i===2?P_(t,i,r,null,e[++n]):P_(t,i,r,null,null))}}return t}function P_(t,e,i,n,r){let o=0,a=t.length;if(e===-1)a=-1;else for(;o<t.length;){let s=t[o++];if(typeof s=="number"){if(s===e){a=-1;break}else if(s>e){a=o-1;break}}}for(;o<t.length;){let s=t[o];if(typeof s=="number")break;if(s===i){if(n===null){r!==null&&(t[o+1]=r);return}else if(n===t[o+1]){t[o+2]=r;return}}o++,n!==null&&o++,r!==null&&o++}a!==-1&&(t.splice(a,0,e),o=a+1),t.splice(o++,0,i),n!==null&&t.splice(o++,0,n),r!==null&&t.splice(o++,0,r)}var wC="ng-template";function PO(t,e,i,n){let r=0;if(n){for(;r<e.length&&typeof e[r]=="string";r+=2)if(e[r]==="class"&&wO(e[r+1].toLowerCase(),i,0)!==-1)return!0}else if(mh(t))return!1;if(r=e.indexOf(1,r),r>-1){let o;for(;++r<e.length&&typeof(o=e[r])=="string";)if(o.toLowerCase()===i)return!0}return!1}function mh(t){return t.type===4&&t.value!==wC}function EO(t,e,i){let n=t.type===4&&!i?wC:t.value;return e===n}function SO(t,e,i){let n=4,r=t.attrs,o=r!==null?DO(r):0,a=!1;for(let s=0;s<e.length;s++){let l=e[s];if(typeof l=="number"){if(!a&&!qn(n)&&!qn(l))return!1;if(a&&qn(l))continue;a=!1,n=l|n&1;continue}if(!a)if(n&4){if(n=2|n&1,l!==""&&!EO(t,l,i)||l===""&&e.length===1){if(qn(n))return!1;a=!0}}else if(n&8){if(r===null||!PO(t,r,l,i)){if(qn(n))return!1;a=!0}}else{let d=e[++s],h=IO(l,r,mh(t),i);if(h===-1){if(qn(n))return!1;a=!0;continue}if(d!==""){let _;if(h>o?_="":_=r[h+1].toLowerCase(),n&2&&d!==_){if(qn(n))return!1;a=!0}}}}return qn(n)||a}function qn(t){return(t&1)===0}function IO(t,e,i,n){if(e===null)return-1;let r=0;if(n||!i){let o=!1;for(;r<e.length;){let a=e[r];if(a===t)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let s=e[++r];for(;typeof s=="string";)s=e[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return kO(e,t)}function OC(t,e,i=!1){for(let n=0;n<e.length;n++)if(SO(t,e[n],i))return!0;return!1}function TO(t){let e=t.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function DO(t){for(let e=0;e<t.length;e++){let i=t[e];if(MC(i))return e}return t.length}function kO(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){let n=t[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function AO(t,e){e:for(let i=0;i<e.length;i++){let n=e[i];if(t.length===n.length){for(let r=0;r<t.length;r++)if(t[r]!==n[r])continue e;return!0}}return!1}function E_(t,e){return t?":not("+e.trim()+")":e}function NO(t){let e=t[0],i=1,n=2,r="",o=!1;for(;i<t.length;){let a=t[i];
7if(typeof a=="string")if(n&2){let s=t[++i];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else n&8?r+="."+a:n&4&&(r+=" "+a);else r!==""&&!qn(a)&&(e+=E_(o,r),r=""),n=a,o=o||!qn(n);i++}return r!==""&&(e+=E_(o,r)),e}function RO(t){return t.map(NO).join(",")}function LO(t){let e=[],i=[],n=1,r=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")r===2?o!==""&&e.push(o,t[++n]):r===8&&i.push(o);else{if(!qn(r))break;r=o}n++}return{attrs:e,classes:i}}function T(t){return ka(()=>{let e=TC(t),i=ze(Y({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===xC.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ci.Emulated,styles:t.styles||Xt,_:null,schemas:t.schemas||null,tView:null,id:""});DC(i);let n=t.dependencies;return i.directiveDefs=I_(n,!1),i.pipeDefs=I_(n,!0),i.id=jO(i),i})}function FO(t){return Tr(t)||PC(t)}function BO(t){return t!==null}function vt(t){return ka(()=>({type:t.type,bootstrap:t.bootstrap||Xt,declarations:t.declarations||Xt,imports:t.imports||Xt,exports:t.exports||Xt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function S_(t,e){if(t==null)return yo;let i={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o,a,s=gt.None;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o):(o=r,a=r),e?(i[o]=s!==gt.None?[n,s]:n,e[o]=a):i[o]=n}return i}function Qe(t){return ka(()=>{let e=TC(t);return DC(e),e})}function Xl(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Tr(t){return t[rO]||null}function PC(t){return t[oO]||null}function EC(t){return t[aO]||null}function SC(t){let e=Tr(t)||PC(t)||EC(t);return e!==null?e.standalone:!1}function IC(t,e){let i=t[sO]||null;if(!i&&e===!0)throw new Error(`Type ${Jt(t)} does not have '\u0275mod' property.`);return i}function TC(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||yo,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Xt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:S_(t.inputs,e),outputs:S_(t.outputs),debugInfo:null}}function DC(t){t.features?.forEach(e=>e(t))}function I_(t,e){if(!t)return null;let i=e?EC:FO;return()=>(typeof t=="function"?t():t).map(n=>i(n)).filter(BO)}function jO(t){let e=0,i=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let r of i)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function pi(t){return{\u0275providers:t}}function _h(...t){return{\u0275providers:kC(!0,t),\u0275fromNgModule:!0}}function kC(t,...e){let i=[],n=new Set,r,o=a=>{i.push(a)};return hh(e,a=>{let s=a;rf(s,o,[],n)&&(r||=[],r.push(s))}),r!==void 0&&AC(r,o),i}function AC(t,e){for(let i=0;i<t.length;i++){let{ngModule:n,providers:r}=t[i];Ch(r,o=>{e(o,n)})}}function rf(t,e,i,n){if(t=Zt(t),!t)return!1;let r=null,o=x_(t),a=!o&&Tr(t);if(!o&&!a){let l=t.ngModule;if(o=x_(l),o)r=l;else return!1}else{if(a&&!a.standalone)return!1;r=t}let s=n.has(r);if(a){if(s)return!1;if(n.add(r),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let d of l)rf(d,e,i,n)}}else if(o){if(o.imports!=null&&!s){n.add(r);let d;try{hh(o.imports,h=>{rf(h,e,i,n)&&(d||=[],d.push(h))})}finally{}d!==void 0&&AC(d,e)}if(!s){let d=Sr(r)||(()=>new r);e({provide:r,useFactory:d,deps:Xt},r),e({provide:bC,useValue:r,multi:!0},r),e({provide:Ir,useValue:()=>x(r),multi:!0},r)}let l=o.providers;if(l!=null&&!s){let d=t;Ch(l,h=>{e(h,d)})}}else return!1;return r!==t&&t.providers!==void 0}function Ch(t,e){for(let i of t)gC(i)&&(i=i.\u0275providers),Array.isArray(i)?Ch(i,e):e(i)}var VO=it({provide:String,useValue:it});function NC(t){return t!==null&&typeof t=="object"&&VO in t}function UO(t){return!!(t&&t.useExisting)}function HO(t){return!!(t&&t.useFactory)}function vo(t){return typeof t=="function"}function zO(t){return!!t.useClass}var Jl=new re(""),yl={},$O={},Rp;function yh(){return Rp===void 0&&(Rp=new Sl),Rp}var en=class{},ya=class extends en{get destroyed(){return this._destroyed}constructor(e,i,n,r){super(),this.parent=i,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,af(e,a=>this.processProvider(a)),this.records.set(vC,fo(void 0,this)),r.has("environment")&&this.records.set(en,fo(void 0,this));let o=this.records.get(Jl);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(bC,Xt,Fe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=He(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),He(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let i=Wi(this),n=ln(void 0),r;try{return e()}finally{Wi(i),ln(n)}}get(e,i=_a,n=Fe.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(w_))return e[w_](this);n=Ql(n);let r,o=Wi(this),a=ln(void 0);try{if(!(n&Fe.SkipSelf)){let l=this.records.get(e);if(l===void 0){let d=YO(e)&&Yl(e);d&&this.injectableDefInScope(d)?l=fo(of(e),yl):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let s=n&Fe.Self?yh():this.parent;return i=n&Fe.Optional&&i===_a?null:i,s.get(e,i)}catch(s){if(s.name==="NullInjectorError"){if((s[Pl]=s[Pl]||[]).unshift(Jt(e)),o)throw s;return _O(s,e,"R3InjectorError",this.source)}else throw s}finally{ln(a),Wi(o)}}
7resolveInjectorInitializers(){let e=He(null),i=Wi(this),n=ln(void 0),r;try{let o=this.get(Ir,Xt,Fe.Self);for(let a of o)a()}finally{Wi(i),ln(n),He(e)}}toString(){let e=[],i=this.records;for(let n of i.keys())e.push(Jt(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new K(205,!1)}processProvider(e){e=Zt(e);let i=vo(e)?e:Zt(e&&e.provide),n=qO(e);if(!vo(e)&&e.multi===!0){let r=this.records.get(i);r||(r=fo(void 0,yl,!0),r.factory=()=>tf(r.multi),this.records.set(i,r)),i=e,r.multi.push(e)}this.records.set(i,n)}hydrate(e,i){let n=He(null);try{return i.value===yl&&(i.value=$O,i.value=i.factory()),typeof i.value=="object"&&i.value&&KO(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{He(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let i=Zt(e.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){let i=this._onDestroyHooks.indexOf(e);i!==-1&&this._onDestroyHooks.splice(i,1)}};function of(t){let e=Yl(t),i=e!==null?e.factory:Sr(t);if(i!==null)return i;if(t instanceof re)throw new K(204,!1);if(t instanceof Function)return GO(t);throw new K(204,!1)}function GO(t){if(t.length>0)throw new K(204,!1);let i=nO(t);return i!==null?()=>i.factory(t):()=>new t}function qO(t){if(NC(t))return fo(void 0,t.useValue);{let e=RC(t);return fo(e,yl)}}function RC(t,e,i){let n;if(vo(t)){let r=Zt(t);return Sr(r)||of(r)}else if(NC(t))n=()=>Zt(t.useValue);else if(HO(t))n=()=>t.useFactory(...tf(t.deps||[]));else if(UO(t))n=()=>x(Zt(t.useExisting));else{let r=Zt(t&&(t.useClass||t.provide));if(WO(t))n=()=>new r(...tf(t.deps));else return Sr(r)||of(r)}return n}function fo(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function WO(t){return!!t.deps}function KO(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function YO(t){return typeof t=="function"||typeof t=="object"&&t instanceof re}function af(t,e){for(let i of t)Array.isArray(i)?af(i,e):i&&gC(i)?af(i.\u0275providers,e):e(i)}function fi(t,e){t instanceof ya&&t.assertNotDestroyed();let i,n=Wi(t),r=ln(void 0);try{return e()}finally{Wi(n),ln(r)}}function LC(){return mC()!==void 0||hO()!=null}function QO(t){if(!LC())throw new K(-203,!1)}function ZO(t){return typeof t=="function"}var Cn=0,Me=1,xe=2,It=3,Kn=4,vn=5,yn=6,va=7,jt=8,bo=9,Yn=10,rt=11,ba=12,T_=13,Po=14,cn=15,Na=16,ho=17,ki=18,e
7c=19,FC=20,Ki=21,Lp=22,Dr=23,Ct=25,BC=1,xa=6,Ai=7,Il=8,xo=9,kt=10,vh=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(vh||{});function Di(t){return Array.isArray(t)&&typeof t[BC]=="object"}function hi(t){return Array.isArray(t)&&t[BC]===!0}function bh(t){return(t.flags&4)!==0}function Ra(t){return t.componentOffset>-1}function tc(t){return(t.flags&1)===1}function Yi(t){return!!t.template}function jC(t){return(t[xe]&512)!==0}var sf=class{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}};function VC(t,e,i,n){e!==null?e.applyValueToInputSignal(e,n):t[i]=n}function tn(){return UC}function UC(t){return t.type.prototype.ngOnChanges&&(t.setInput=JO),XO}tn.ngInherit=!0;function XO(){let t=zC(this),e=t?.current;if(e){let i=t.previous;if(i===yo)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function JO(t,e,i,n,r){let o=this.declaredInputs[n],a=zC(t)||eP(t,{previous:yo,current:null}),s=a.current||(a.current={}),l=a.previous,d=l[o];s[o]=new sf(d&&d.currentValue,i,l===yo),VC(t,e,r,i)}var HC="__ngSimpleChanges__";function zC(t){return t[HC]||null}function eP(t,e){return t[HC]=e}var D_=null;var si=function(t,e,i){D_?.(t,e,i)},$C="svg",tP="math",nP=!1;function iP(){return nP}function Qn(t){for(;Array.isArray(t);)t=t[Cn];return t}function GC(t,e){return Qn(e[t])}function bn(t,e){return Qn(e[t.index])}function xh(t,e){return t.data[e]}function qC(t,e){return t[e]}function Xi(t,e){let i=e[t];return Di(i)?i:i[Cn]}function rP(t){return(t[xe]&4)===4}function Mh(t){return(t[xe]&128)===128}function oP(t){return hi(t[It])}function Mo(t,e){return e==null?null:t[e]}function WC(t){t[ho]=0}function aP(t){t[xe]&1024||(t[xe]|=1024,Mh(t)&&Ma(t))}function sP(t,e){for(;t>0;)e=e[Po],t--;return e}function wh(t){return!!(t[xe]&9216||t[Dr]?.dirty)}function lf(t){t[Yn].changeDetectionScheduler?.notify(1),wh(t)?Ma(t):t[xe]&64&&(iP()?(t[xe]|=1024,Ma(t)):t[Yn].changeDetectionScheduler?.notify())}function Ma(t){t[Yn].changeDetectionScheduler?.notify();let e=wa(t);for(;e!==null&&!(e[xe]&8192||(e[xe]|=8192,!Mh(e)));)e=wa(e)}function KC(t,e){if((t[xe]&256)===256)throw new K(911,!1);t[Ki]===null&&(t[Ki]=[]),t[Ki].push(e)}function lP(t,e){if(t[Ki]===null)return;let i=t[Ki].indexOf(e);i!==-1&&t[Ki].splice(i,1)}function wa(t){let e=t[It];return hi(e)?e[It]:e}var Ee={lFrame:ey(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function cP(){return Ee.lFrame.elementDepthCount}function dP(){Ee.lFrame.elementDepthCount++}function uP(){Ee.lFrame.elementDepthCount--}function YC(){return Ee.bindingsEnabled}function Eo(){return Ee.skipHydrationRootTNode!==null}function pP(t){return Ee.skipHydrationRootTNode===t}function fP(t){Ee.skipHydrationRootTNode=t}function hP(){Ee.skipHydrationRootTNode=null}function Pe(){return Ee.lFrame.lView}function bt(){return Ee.lFrame.tView}function Q(t){return Ee.lFrame.contextLView=t,t[jt]}function Z(t){return Ee.lFrame.contextLView=null,t}function Vt(){let t=QC();for(;t!==null&&t.type===64;)t=t.parent;return t}function QC(){return Ee.lFrame.currentTNode}function gP(){let t=Ee.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Fr(t,e){let i=Ee.lFrame;i.currentTNode=t,i.isParent=e}function Oh(){return Ee.lFrame.isParent}function Ph(){Ee.lFrame.isParent=!1}function mP(){return Ee.lFrame.contextLView}function So(){let t=Ee.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function _P(){return Ee.lFrame.bindingIndex}function CP(t){return Ee.lFrame.bindingIndex=t}function Io(){return Ee.lFrame.bindingIndex++}function Eh(t){let e=Ee.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function yP(){return Ee.lFrame.inI18n}function vP(t,e){let i=Ee.lFrame;i.bindingIndex=i.bindingRootIndex=t,cf(e)}function bP(){return Ee.lFrame.currentDirectiveIndex}function cf(t){Ee.lFrame.currentDirectiveIndex=t}function xP(t){let e=Ee.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function ZC(){return Ee.lFrame.currentQueryIndex}function Sh(t){Ee.lFrame.currentQueryIndex=t}function MP(t){let e=t[Me];return e.type===2?e.declTNode:e.type===1?t[vn]:null}function XC(t,e,i){if(i&Fe.SkipSelf){let r=e,o=t;for(;r=r.parent,r===null&&!(i&Fe.Host);
vendor: 4,337 bytes, line 7
7)if(r=MP(o),r===null||(o=o[Po],r.type&10))break;if(r===null)return!1;e=r,t=o}let n=Ee.lFrame=JC();return n.currentTNode=e,n.lView=t,!0}function Ih(t){let e=JC(),i=t[Me];Ee.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function JC(){let t=Ee.lFrame,e=t===null?null:t.child;return e===null?ey(t):e}function ey(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function ty(){let t=Ee.lFrame;return Ee.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var ny=ty;function Th(){let t=ty();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function wP(t){return(Ee.lFrame.contextLView=sP(t,Ee.lFrame.contextLView))[jt]}function Fi(){return Ee.lFrame.selectedIndex}function kr(t){Ee.lFrame.selectedIndex=t}function Dh(){let t=Ee.lFrame;return xh(t.tView,t.selectedIndex)}function Zn(){Ee.lFrame.currentNamespace=$C}function To(){OP()}function OP(){Ee.lFrame.currentNamespace=null}function iy(){return Ee.lFrame.currentNamespace}var ry=!0;function nc(){return ry}function gi(t){ry=t}function PP(t,e,i){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(n){let a=UC(e);(i.preOrderHooks??=[]).push(t,a),(i.preOrderCheckHooks??=[]).push(t,a)}r&&(i.preOrderHooks??=[]).push(0-t,r),o&&((i.preOrderHooks??=[]).push(t,o),(i.preOrderCheckHooks??=[]).push(t,o))}function ic(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let o=t.data[i].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:d,ngOnDestroy:h}=o;a&&(t.contentHooks??=[]).push(-i,a),s&&((t.contentHooks??=[]).push(i,s),(t.contentCheckHooks??=[]).push(i,s)),l&&(t.viewHooks??=[]).push(-i,l),d&&((t.viewHooks??=[]).push(i,d),(t.viewCheckHooks??=[]).push(i,d)),h!=null&&(t.destroyHooks??=[]).push(i,h)}}function vl(t,e,i){oy(t,e,3,i)}function bl(t,e,i,n){(t[xe]&3)===i&&oy(t,e,i,n)}function Fp(t,e){let i=t[xe];(i&3)===e&&(i&=16383,i+=1,t[xe]=i)}function oy(t,e,i,n){let r=n!==void 0?t[ho]&65535:0,o=n??-1,a=e.length-1,s=0;for(let l=r;l<a;l++)if(typeof e[l+1]=="number"){if(s=e[l],n!=null&&s>=n)break}else e[l]<0&&(t[ho]+=65536),(s<o||o==-1)&&(EP(t,i,e,l),t[ho]=(t[ho]&4294901760)+l+2),l++}function k_(t,e){si(4,t,e);let i=He(null);try{e.call(t)}finally{He(i),si(5,t,e)}}function EP(t,e,i,n){let r=i[n]<0,o=i[n+1],a=r?-i[n]:i[n],s=t[a];r?t[xe]>>14<t[ho]>>16&&(t[xe]&3)===e&&(t[xe]+=16384,k_(s,o)):k_(s,o)}var Co=-1,Ar=class{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}};function SP(t){return t instanceof Ar}function IP(t){return(t.flags&8)!==0}function TP(t){return(t.flags&16)!==0}function ay(t){return t!==Co}function Tl(t){return t&32767}function DP(t){return t>>16}function Dl(t,e){let i=DP(t),n=e;for(;i>0;)n=n[Po],i--;return n}var df=!0;function kl(t){let e=df;return df=t,e}var kP=256,sy=kP-1,ly=5,AP=0,li={};function NP(t,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(ma)&&(n=i[ma]),n==null&&(n=i[ma]=AP++);let r=n&sy,o=1<<r;e.data[t+(r>>ly)]|=o}function Al(t,e){let i=cy(t,e);if(i!==-1)return i;let n=e[Me];n.firstCreatePass&&(t.injectorIndex=e.length,Bp(n.data,t),Bp(e,null),Bp(n.blueprint,null));let r=kh(t,e),o=t.injectorIndex;if(ay(r)){let a=Tl(r),s=Dl(r,e),l=s[Me].data;for(let d=0;d<8;d++)e[o+d]=s[a+d]|l[a+d]}return e[o+8]=r,o}function Bp(t,e){t.push(0,0,0,0,0,0,0,0,e)}function cy(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function kh(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let i=0,n=null,r=e;for(;r!==null;){if(n=hy(r),n===null)return Co;if(i++,r=r[Po],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return Co}function uf(t,e,i){NP(t,e,i)}function RP(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let i=t.attrs;if(i){let n=i.length,r=0;for(;r<n;){let o=i[r];if(MC(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;
7r<n&&typeof i[r]=="string";)r++;else{if(o===e)return i[r+1];r=r+2}}}return null}function dy(t,e,i){if(i&Fe.Optional||t!==void 0)return t;ph(e,"NodeInjector")}function uy(t,e,i,n){if(i&Fe.Optional&&n===void 0&&(n=null),!(i&(Fe.Self|Fe.Host))){let r=t[bo],o=ln(void 0);try{return r?r.get(e,n,i&Fe.Optional):_C(e,n,i&Fe.Optional)}finally{ln(o)}}return dy(n,e,i)}function py(t,e,i,n=Fe.Default,r){if(t!==null){if(e[xe]&2048&&!(n&Fe.Self)){let a=jP(t,e,i,n,li);if(a!==li)return a}let o=fy(t,e,i,n,li);if(o!==li)return o}return uy(e,i,n,r)}function fy(t,e,i,n,r){let o=FP(i);if(typeof o=="function"){if(!XC(e,t,n))return n&Fe.Host?dy(r,i,n):uy(e,i,n,r);try{let a;if(a=o(n),a==null&&!(n&Fe.Optional))ph(i);else return a}finally{ny()}}else if(typeof o=="number"){let a=null,s=cy(t,e),l=Co,d=n&Fe.Host?e[cn][vn]:null;for((s===-1||n&Fe.SkipSelf)&&(l=s===-1?kh(t,e):e[s+8],l===Co||!N_(n,!1)?s=-1:(a=e[Me],s=Tl(l),e=Dl(l,e)));s!==-1;){let h=e[Me];if(A_(o,s,h.data)){let _=LP(s,e,i,a,n,d);if(_!==li)return _}l=e[s+8],l!==Co&&N_(n,e[Me].data[s+8]===d)&&A_(o,s,e)?(a=h,s=Tl(l),e=Dl(l,e)):s=-1}}return r}function LP(t,e,i,n,r,o){let a=e[Me],s=a.data[t+8],l=n==null?Ra(s)&&df:n!=a&&(s.type&3)!==0,d=r&Fe.Host&&o===s,h=xl(s,a,i,l,d);return h!==null?Nr(e,a,h,s):li}function xl(t,e,i,n,r){let o=t.providerIndexes,a=e.data,s=o&1048575,l=t.directiveStart,d=t.directiveEnd,h=o>>20,_=n?s:s+h,M=r?s+h:d;for(let E=_;E<M;E++){let S=a[E];if(E<l&&i===S||E>=l&&S.type===i)return E}if(r){let E=a[l];if(E&&Yi(E)&&E.type===i)return l}return null}function Nr(t,e,i,n){let r=t[i],o=e.data;if(SP(r)){let a=r;a.resolving&&cO(lO(o[i]));let s=kl(a.canSeeViewProviders);a.resolving=!0;let l,d=a.injectImpl?ln(a.injectImpl):null,h=XC(t,n,Fe.Default);try{r=t[i]=a.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&PP(i,o[i],e)}finally{d!==null&&ln(d),kl(s),a.resolving=!1,ny()}}return r}function FP(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(ma)?t[ma]:void 0;return typeof e=="number"?e>=0?e&sy:BP:e}function A_(t,e,i){let n=1<<t;return!!(i[e+(t>>ly)]&n)}function N_(t,e){return!(t&Fe.Self)&&!(t&Fe.Host&&e)}var Pr=class{constructor(e,i){this._tNode=e,this._lView=i}get(e,i,n){return py(this._tNode,this._lView,e,Ql(n),i)}};function BP(){return new Pr(Vt(),Pe())}function Dn(t){return ka(()=>{let e=t.prototype.constructor,i=e[Ol]||pf(e),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let o=r[Ol]||pf(r);if(o&&o!==i)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function pf(t){return uC(t)?()=>{let e=pf(Zt(t));return e&&e()}:Sr(t)}function jP(t,e,i,n,r){let o=t,a=e;for(;o!==null&&a!==null&&a[xe]&2048&&!(a[xe]&512);){let s=fy(o,a,i,n|Fe.Self,li);if(s!==li)return s;let l=o.parent;if(!l){let d=a[FC];if(d){let h=d.get(i,li,n);if(h!==li)return h}l=hy(a),a=a[Po]}o=l}return r}function hy(t){let e=t[Me],i=e.type;return i===2?e.declTNode:i===1?t[vn]:null}function rc(t){return RP(Vt(),t)}function R_(t,e=null,i=null,n){let r=gy(t,e,i,n);return r.resolveInjectorInitializers(),r}function gy(t,e=null,i=null,n,r=new Set){let o=[i||Xt,_h(t)];return n=n||(typeof t=="object"?void 0:Jt(t)),new ya(o,e||yh(),n||null,r)}var Xn=(()=>{let e=class e{static create(n,r){if(Array.isArray(n))return R_({name:""},r,n,"");{let o=n.name??"";return R_({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=_a,e.NULL=new Sl,e.\u0275prov=P({token:e,providedIn:"any",factory:()=>x(vC)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var VP="ngOriginalError";function jp(t){return t[VP]}var In=class{constructor(){this._console=console}handleError(e){let i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&jp(e);for(;i&&jp(i);)i=jp(i);return i||null}},my=new re("",{providedIn:"root",factory:()=>H(In).handleError.bind(void 0)}),Ah=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=UP,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),ff=class extends Ah{constructor(e){super(),this._lView=e}onDestroy(e){return KC(this._lView,e),()=>lP(this._lView,e)}};function UP(){return new ff(Pe())}function HP(){return Do(Vt(),Pe())}function Do(t,e){return new $e(bn(t,e))}var $e=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=HP;let t=e;return t})();function zP(t){return t instanceof $e?t.nativeElement:t}var hf=class extends Le{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,LC()&&(this.destroyRef=H(Ah,{optional:!0})??void 0)}emit(e){let i=He(null);try{super.next(e)}finally{He(i)}}subscribe(e,i,n){let r=e,o=i||(()=>null),a=n;if(e&&typeof e=="object"){let l=e;r=l.next?.bind(l),o=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(o=Vp(o),r&&(r=Vp(r)),a&&(a=Vp(a)));let s=super.subscribe({next:r,error:o,complete:a});return e instanceof _t&&e.add(s),s}};function Vp(t){return e=>{setTimeout(t,void 0,e)}}var _e=hf;function $P(){return this._results[Symbol.iterator]()}var gf=class t{get changes(){return this._changes??=new _e}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let i=t.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=$P)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}
7forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=vO(e);(this._changesDetected=!yO(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},GP="ngSkipHydration",qP="ngskiphydration";function _y(t){let e=t.mergedAttrs;if(e===null)return!1;for(let i=0;i<e.length;i+=2){let n=e[i];if(typeof n=="number")return!1;if(typeof n=="string"&&n.toLowerCase()===qP)return!0}return!1}function Cy(t){return t.hasAttribute(GP)}function Nl(t){return(t.flags&128)===128}function WP(t){if(Nl(t))return!0;let e=t.parent;for(;e;){if(Nl(t)||_y(e))return!0;e=e.parent}return!1}var yy=new Map,KP=0;function YP(){return KP++}function QP(t){yy.set(t[ec],t)}function ZP(t){yy.delete(t[ec])}var L_="__ngContext__";function Qi(t,e){Di(e)?(t[L_]=e[ec],QP(e)):t[L_]=e}function vy(t){return xy(t[ba])}function by(t){return xy(t[Kn])}function xy(t){for(;t!==null&&!hi(t);)t=t[Kn];return t}var mf;function My(t){mf=t}function La(){if(mf!==void 0)return mf;if(typeof document<"u")return document;throw new K(210,!1)}var oc=new re("",{providedIn:"root",factory:()=>XP}),XP="ng",Nh=new re(""),De=new re("",{providedIn:"platform",factory:()=>"unknown"});var Rh=new re(""),Lh=new re("",{providedIn:"root",factory:()=>La().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function JP(){let t=new Br;return H(De)==="browser"&&(t.store=e2(La(),H(oc))),t}var Br=(()=>{let e=class e{constructor(){this.store={},this.onSerializeCallbacks={}}get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}};e.\u0275prov=P({token:e,providedIn:"root",factory:JP});let t=e;return t})();function e2(t,e){let i=t.getElementById(e+"-state");if(i?.textContent)try{return JSON.parse(i.textContent)}catch(n){console.warn("Exception while restoring TransferState for app "+e,n)}return{}}var wy="h",Oy="b",_f=function(t){return t.FirstChild="f",t.NextSibling="n",t}(_f||{}),t2="e",n2="t",Fh="c",Py="x",Rl="r",i2="i",r2="n",o2="d",a2="__nghData__",Ey=a2,Up="ngh",s2="nghm",Sy=()=>null;function l2(t,e,i=!1){let n=t.getAttribute(Up);if(n==null)return null;let[r,o]=n.split("|");if(n=i?o:r,!n)return null;let a=o?`|${o}`:"",s=i?r:a,l={};if(n!==""){let h=e.get(Br,null,{optional:!0});h!==null&&(l=h.get(Ey,[])[Number(n)])}let d={data:l,firstChild:t.firstChild??null};return i&&(d.firstChild=t,ac(d,0,t.nextSibling)),s?t.setAttribute(Up,s):t.removeAttribute(Up),d}function c2(){Sy=l2}function Bh(t,e,i=!1){return Sy(t,e,i)}function d2(t){let e=t._lView;return e[Me].type===2?null:(jC(e)&&(e=e[Ct]),e)}function u2(t){return t.textContent?.replace(/\s/gm,"")}function p2(t){let e=La(),i=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(o){let a=u2(o);return a==="ngetn"||a==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n,r=[];for(;n=i.nextNode();)r.push(n);for(let o of r)o.textContent==="ngetn"?o.replaceWith(e.createTextNode("")):o.remove()}function ac(t,e,i){t.segmentHeads??={},t.segmentHeads[e]=i}function Cf(t,e){return t.segmentHeads?.[e]??null}function f2(t,e){let i=t.data,n=i[t2]?.[e]??null;return n===null&&i[Fh]?.[e]&&(n=jh(t,e)),n}function Iy(t,e){return t.data[Fh]?.[e]??null}function jh(t,e){let i=Iy(t,e)??[],n=0;for(let r of i)n+=r[Rl]*(r[Py]??1);return n}function sc(t,e){if(typeof t.disconnectedNodes>"u"){let i=t.data[o2];t.disconnectedNodes=i?new Set(i):null}return!!t.disconnectedNodes?.has(e)}var pl=new re(""),Ty=!1,Dy=new re("",{providedIn:"root",factory:()=>Ty}),h2=new re(""),fl;function ky(){if(fl===void 0&&(fl=null,Ti.trustedTypes))try{fl=Ti.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return fl}function lc(t){return ky()?.createHTML(t)||t}function g2(t){return ky()?.createScriptURL(t)||t}var hl;function Ay(){if(hl===void 0&&(hl=null,Ti.trustedTypes))try{hl=Ti.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return hl}function F_(t){return Ay()?.createHTML(t)||t}function B_(t){return Ay()?.createScriptURL(t)||t}var Ni=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${cC})`}},yf=class extends Ni{getTypeName(){return"HTML"}},vf=class extends Ni{getTypeName(){return"Style"}}
vendor: 5,943 bytes, line 7
7,bf=class extends Ni{getTypeName(){return"Script"}},xf=class extends Ni{getTypeName(){return"URL"}},Mf=class extends Ni{getTypeName(){return"ResourceURL"}};function kn(t){return t instanceof Ni?t.changingThisBreaksApplicationSecurity:t}function Bi(t,e){let i=m2(t);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${cC})`)}return i===e}function m2(t){return t instanceof Ni&&t.getTypeName()||null}function Ny(t){return new yf(t)}function Ry(t){return new vf(t)}function Ly(t){return new bf(t)}function Fy(t){return new xf(t)}function By(t){return new Mf(t)}function _2(t){let e=new Of(t);return C2()?new wf(e):e}var wf=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let i=new window.DOMParser().parseFromString(lc(e),"text/html").body;return i===null?this.inertDocumentHelper.getInertBodyElement(e):(i.removeChild(i.firstChild),i)}catch{return null}}},Of=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let i=this.inertDocument.createElement("template");return i.innerHTML=lc(e),i}};function C2(){try{return!!new window.DOMParser().parseFromString(lc(""),"text/html")}catch{return!1}}var y2=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cc(t){return t=String(t),t.match(y2)?t:"unsafe:"+t}function ji(t){let e={};for(let i of t.split(","))e[i]=!0;return e}function Fa(...t){let e={};for(let i of t)for(let n in i)i.hasOwnProperty(n)&&(e[n]=!0);return e}var jy=ji("area,br,col,hr,img,wbr"),Vy=ji("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Uy=ji("rp,rt"),v2=Fa(Uy,Vy),b2=Fa(Vy,ji("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),x2=Fa(Uy,ji("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),j_=Fa(jy,b2,x2,v2),Hy=ji("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),M2=ji("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),w2=ji("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),O2=Fa(Hy,M2,w2),P2=ji("script,style,template"),Pf=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let i=e.firstChild,n=!0,r=[];for(;i;){if(i.nodeType===Node.ELEMENT_NODE?n=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,n&&i.firstChild){r.push(i),i=I2(i);continue}for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let o=S2(i);if(o){i=o;break}i=r.pop()}}return this.buf.join("")}startElement(e){let i=V_(e).toLowerCase();if(!j_.hasOwnProperty(i))return this.sanitizedSomething=!0,!P2.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);let n=e.attributes;for(let r=0;r<n.length;r++){let o=n.item(r),a=o.name,s=a.toLowerCase();if(!O2.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=o.value;Hy[s]&&(l=cc(l)),this.buf.push(" ",a,'="',U_(l),'"')}return this.buf.push(">"),!0}endElement(e){let i=V_(e).toLowerCase();j_.hasOwnProperty(i)&&!jy.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(e){this.buf.push(U_(e))}};function E2(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function S2(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw zy(e);return e}function I2(t){let e=t.firstChild;if(e&&E2(t,e))throw zy(e);return e}function V_(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function zy(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var T2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,D2=/([^\#-~ |!])/g;function U_(t){return t.replace(/&/g,"&amp;").replace(T2,function(e){let i=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(D2,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var gl;function Vh(t,e){let i=null;try{gl=gl||_2(t);let n=e?String(e):"";i=gl.getInertBodyElement(n);let r=5,o=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=i.innerHTML,i=gl.getInertBodyElement(n)}while(n!==o);let s=new Pf().sanitizeChildren(H_(i)||i);return lc(s)}finally{if(i){let n=H_(i)||i;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function H_(t){return"content"in t&&k2(t)?t.content:null}function k2(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Ut=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Ut||{});function J(t){let e=Uh();
7return e?F_(e.sanitize(Ut.HTML,t)||""):Bi(t,"HTML")?F_(kn(t)):Vh(La(),Er(t))}function L(t){let e=Uh();return e?e.sanitize(Ut.URL,t)||"":Bi(t,"URL")?kn(t):cc(Er(t))}function Ba(t){let e=Uh();if(e)return B_(e.sanitize(Ut.RESOURCE_URL,t)||"");if(Bi(t,"ResourceURL"))return B_(kn(t));throw new K(904,!1)}function $y(t){return g2(t[0])}function A2(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?Ba:L}function Gy(t,e,i){return A2(e,i)(t)}function Uh(){let t=Pe();return t&&t[Yn].sanitizer}var N2=/^>|^->|<!--|-->|--!>|<!-$/g,R2=/(<|>)/g,L2="\u200B$1\u200B";function F2(t){return t.replace(N2,e=>e.replace(R2,L2))}function dc(t){return t.ownerDocument.defaultView}function qy(t){return t.ownerDocument}function B2(t){return t.ownerDocument.body}function Wy(t){return t instanceof Function?t():t}function ga(t){return(t??H(Xn)).get(De)==="browser"}var di=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(di||{}),j2;function Hh(t,e){return j2(t,e)}function go(t,e,i,n,r){if(n!=null){let o,a=!1;hi(n)?o=n:Di(n)&&(a=!0,n=n[Cn]);let s=Qn(n);t===0&&i!==null?r==null?Zy(e,i,s):Ll(e,i,s,r||null,!0):t===1&&i!==null?Ll(e,i,s,r||null,!0):t===2?qh(e,s,a):t===3&&e.destroyNode(s),o!=null&&eE(e,t,o,i,r)}}function zh(t,e){return t.createText(e)}function V2(t,e,i){t.setValue(e,i)}function $h(t,e){return t.createComment(F2(e))}function uc(t,e,i){return t.createElement(e,i)}function U2(t,e){Ky(t,e),e[Cn]=null,e[vn]=null}function H2(t,e,i,n,r,o){n[Cn]=r,n[vn]=e,hc(t,n,i,1,r,o)}function Ky(t,e){e[Yn].changeDetectionScheduler?.notify(1),hc(t,e,e[rt],2,null,null)}function z2(t){let e=t[ba];if(!e)return Hp(t[Me],t);for(;e;){let i=null;if(Di(e))i=e[ba];else{let n=e[kt];n&&(i=n)}if(!i){for(;e&&!e[Kn]&&e!==t;)Di(e)&&Hp(e[Me],e),e=e[It];e===null&&(e=t),Di(e)&&Hp(e[Me],e),i=e&&e[Kn]}e=i}}function $2(t,e,i,n){let r=kt+n,o=i.length;n>0&&(i[r-1][Kn]=e),n<o-kt?(e[Kn]=i[r],yC(i,kt+n,e)):(i.push(e),e[Kn]=null),e[It]=i;let a=e[Na];a!==null&&i!==a&&G2(a,e);let s=e[ki];s!==null&&s.insertView(t),lf(e),e[xe]|=128}function G2(t,e){let i=t[xo],r=e[It][It][cn];e[cn]!==r&&(t[xe]|=vh.HasTransplantedViews),i===null?t[xo]=[e]:i.push(e)}function Yy(t,e){let i=t[xo],n=i.indexOf(e);i.splice(n,1)}function Oa(t,e){if(t.length<=kt)return;let i=kt+e,n=t[i];if(n){let r=n[Na];r!==null&&r!==t&&Yy(r,n),e>0&&(t[i-1][Kn]=n[Kn]);let o=El(t,kt+e);U2(n[Me],n);let a=o[ki];a!==null&&a.detachView(o[Me]),n[It]=null,n[Kn]=null,n[xe]&=-129}return n}function pc(t,e){if(!(e[xe]&256)){let i=e[rt];i.destroyNode&&hc(t,e,i,3,null,null),z2(e)}}function Hp(t,e){if(e[xe]&256)return;let i=He(null);try{e[xe]&=-129,e[xe]|=256,e[Dr]&&$0(e[Dr]),W2(t,e),q2(t,e),e[Me].type===1&&e[rt].destroy();let n=e[Na];if(n!==null&&hi(e[It])){n!==e[It]&&Yy(n,e);let r=e[ki];r!==null&&r.detachView(t)}ZP(e)}finally{He(i)}}function q2(t,e){let i=t.cleanup,n=e[va];if(i!==null)for(let o=0;o<i.length-1;o+=2)if(typeof i[o]=="string"){let a=i[o+3];a>=0?n[a]():n[-a].unsubscribe(),o+=2}else{let a=n[i[o+1]];i[o].call(a)}n!==null&&(e[va]=null);let r=e[Ki];if(r!==null){e[Ki]=null;for(let o=0;o<r.length;o++){let a=r[o];a()}}}function W2(t,e){let i;if(t!=null&&(i=t.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let r=e[i[n]];if(!(r instanceof Ar)){let o=i[n+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let s=r[o[a]],l=o[a+1];si(4,s,l);try{l.call(s)}finally{si(5,s,l)}}else{si(4,r,o);try{o.call(r)}finally{si(5,r,o)}}}}}function Qy(t,e,i){return K2(t,e.parent,i)}function K2(t,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[Cn];{let{componentOffset:r}=n;if(r>-1){let{encapsulation:o}=t.data[n.directiveStart+r];if(o===ci.None||o===ci.Emulated)return null}return bn(n,i)}}function Ll(t,e,i,n,r){t.insertBefore(e,i,n,r)}function Zy(t,e,i){t.appendChild(e,i)}function z_(t,e,i,n,r){n!==null?Ll(t,e,i,n,r):Zy(t,e,i)}function Y2(t,e,i,n){t.removeChild(e,i,n)}function Gh(t,e){return t.parentNode(e)}function Q2(t,e){return t.nextSibling(e)}function Xy(t,e,i){return X2(t,e,i)}function Z2(t,e,i){return t.type&40?bn(t,i):null}var X2=Z2,$_;function fc(t,e,i,n){let r=Qy(t,n,e),o=e[rt],a=n.parent||e[vn],s=Xy(a,n,e);if(r!=null)if(Array.isArray(i))for(let l=0;l<i.length;l++)z_(o,r,i[l],s,!1);else z_(o,r,i,s,!1);$_!==void 0&&$_(o,n,e,i,r)}function Ml(t,e){if(e!==null){let i=e.type;if(i&3)return bn(e,t);if(i&4)return Ef(-1,t[e.index]);if(i&8){let n=e.child;if(n!==null)return Ml(t,n);{let r=t[e.index];return hi(r)?Ef(-1,r):Qn(r)}}else{if(i&32)return Hh(e,t)()||Qn(t[e.index]);{let n=Jy(t,e);if(n!==null){if(Array.isArray(n))return n[0];let r=wa(t[cn]);return Ml(r,n)}else return Ml(t,e.next)}}}return null}function Jy(t,e){if(e!==null){let n=t[cn][vn],r=e.projection;return n.projection[r]}return null}function Ef(t,e){let i=kt+t+1;if(i<e.length){let n=e[i],r=n[Me].firstChild;if(r!==null)return Ml(n,r)}return e[Ai]}function qh(t,e,i){let n=Gh(t,e);n&&Y2(t,n,e,i)}function ev(t){t.textContent=""}
7function Wh(t,e,i,n,r,o,a){for(;i!=null;){let s=n[i.index],l=i.type;if(a&&e===0&&(s&&Qi(Qn(s),n),i.flags|=2),(i.flags&32)!==32)if(l&8)Wh(t,e,i.child,n,r,o,!1),go(e,t,r,s,o);else if(l&32){let d=Hh(i,n),h;for(;h=d();)go(e,t,r,h,o);go(e,t,r,s,o)}else l&16?tv(t,e,n,i,r,o):go(e,t,r,s,o);i=a?i.projectionNext:i.next}}function hc(t,e,i,n,r,o){Wh(i,n,t.firstChild,e,r,o,!1)}function J2(t,e,i){let n=e[rt],r=Qy(t,i,e),o=i.parent||e[vn],a=Xy(o,i,e);tv(n,0,e,i,r,a)}function tv(t,e,i,n,r,o){let a=i[cn],l=a[vn].projection[n.projection];if(Array.isArray(l))for(let d=0;d<l.length;d++){let h=l[d];go(e,t,r,h,o)}else{let d=l,h=a[It];Nl(n)&&(d.flags|=128),Wh(t,e,d,h,r,o,!0)}}function eE(t,e,i,n,r){let o=i[Ai],a=Qn(i);o!==a&&go(e,t,n,o,r);for(let s=kt;s<i.length;s++){let l=i[s];hc(l[Me],l,t,e,n,o)}}function tE(t,e,i,n,r){if(e)r?t.addClass(i,n):t.removeClass(i,n);else{let o=n.indexOf("-")===-1?void 0:di.DashCase;r==null?t.removeStyle(i,n,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=di.Important),t.setStyle(i,n,r,o))}}function nE(t,e,i){t.setAttribute(e,"style",i)}function nv(t,e,i){i===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i)}function iv(t,e,i){let{mergedAttrs:n,classes:r,styles:o}=i;n!==null&&nf(t,e,n),r!==null&&nv(t,e,r),o!==null&&nE(t,e,o)}var Jn={};function c(t=1){rv(bt(),Pe(),Fi()+t,!1)}function rv(t,e,i,n){if(!n)if((e[xe]&3)===3){let o=t.preOrderCheckHooks;o!==null&&vl(e,o,i)}else{let o=t.preOrderHooks;o!==null&&bl(e,o,0,i)}kr(i)}function m(t,e=Fe.Default){let i=Pe();if(i===null)return x(t,e);let n=Vt();return py(n,i,Zt(t),e)}function ov(){let t="invalid";throw new Error(t)}function av(t,e,i,n,r,o){let a=He(null);try{let s=null;r&gt.SignalBased&&(s=e[n][up]),s!==null&&s.transformFn!==void 0&&(o=s.transformFn(o)),r&gt.HasDecoratorInputTransform&&(o=t.inputTransforms[n].call(e,o)),t.setInput!==null?t.setInput(e,s,o,i,n):VC(e,s,n,o)}finally{He(a)}}function iE(t,e){let i=t.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let r=i[n];if(r<0)kr(~r);else{let o=r,a=i[++n],s=i[++n];vP(a,o);let l=e[o];s(2,l)}}}finally{kr(-1)}}function gc(t,e,i,n,r,o,a,s,l,d,h){let _=e.blueprint.slice();return _[Cn]=r,_[xe]=n|4|128|8|64,(d!==null||t&&t[xe]&2048)&&(_[xe]|=2048),WC(_),_[It]=_[Po]=t,_[jt]=i,_[Yn]=a||t&&t[Yn],_[rt]=s||t&&t[rt],_[bo]=l||t&&t[bo]||null,_[vn]=o,_[ec]=YP(),_[yn]=h,_[FC]=d,_[cn]=e.type==2?t[cn]:_,_}function ko(t,e,i,n,r){let o=t.data[e];if(o===null)o=rE(t,e,i,n,r),yP()&&(o.flags|=32);else if(o.type&64){o.type=i,o.value=n,o.attrs=r;let a=gP();o.injectorIndex=a===null?-1:a.injectorIndex}return Fr(o,!0),o}function rE(t,e,i,n,r){let o=QC(),a=Oh(),s=a?o:o&&o.parent,l=t.data[e]=uE(t,s,i,e,n,r);return t.firstChild===null&&(t.firstChild=l),o!==null&&(a?o.child==null&&l.parent!==null&&(o.child=l):o.next===null&&(o.next=l,l.prev=o)),l}function sv(t,e,i,n){if(i===0)return-1;let r=e.length;for(let o=0;o<i;o++)e.push(n),t.blueprint.push(n),t.data.push(null);return r}function lv(t,e,i,n,r){let o=Fi(),a=n&2;try{kr(-1),a&&e.length>Ct&&rv(t,e,Ct,!1),si(a?2:0,r),i(n,r)}finally{kr(o),si(a?3:1,r)}}function Kh(t,e,i){if(bh(e)){let n=He(null);try{let r=e.directiveStart,o=e.directiveEnd;for(let a=r;a<o;a++){let s=t.data[a];if(s.contentQueries){let l=i[a];s.contentQueries(1,l,a)}}}finally{He(n)}}}function Yh(t,e,i){YC()&&(_E(t,e,i,bn(i,e)),(i.flags&64)===64&&fv(t,e,i))}function Qh(t,e,i=bn){let n=e.localNames;if(n!==null){let r=e.index+1;for(let o=0;o<n.length;o+=2){let a=n[o+1],s=a===-1?i(e,t):t[a];t[r++]=s}}}function cv(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Zh(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Zh(t,e,i,n,r,o,a,s,l,d,h){let _=Ct+n,M=_+r,E=oE(_,M),S=typeof d=="function"?d():d;return E[Me]={type:t,blueprint:E,template:i,queries:null,viewQuery:s,declTNode:e,data:E.slice().fill(null,_),bindingStartIndex:_,expandoStartIndex:M,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:l,consts:S,incompleteFirstPass:!1,ssrId:h}}function oE(t,e){let i=[];for(let n=0;n<e;n++)i.push(n<t?null:Jn);return i}function aE(t,e,i,n){let o=n.get(Dy,Ty)||i===ci.ShadowDom,a=t.selectRootElement(e,o);return sE(a),a}function sE(t){dv(t)}var dv=()=>null;function lE(t){Cy(t)?ev(t):p2(t)}function cE(){dv=lE}function dE(t,e,i,n){let r=mv(e);r.push(i),t.firstCreatePass&&_v(t).push(n,r.length-1)}function uE(t,e,i,n,r,o){let a=e?e.injectorIndex:-1,s=0;return Eo()&&(s|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOff
7set:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function G_(t,e,i,n,r){for(let o in e){if(!e.hasOwnProperty(o))continue;let a=e[o];if(a===void 0)continue;n??={};let s,l=gt.None;Array.isArray(a)?(s=a[0],l=a[1]):s=a;let d=o;if(r!==null){if(!r.hasOwnProperty(o))continue;d=r[o]}t===0?q_(n,i,d,s,l):q_(n,i,d,s)}return n}function q_(t,e,i,n,r){let o;t.hasOwnProperty(i)?(o=t[i]).push(e,n):o=t[i]=[e,n],r!==void 0&&o.push(r)}function pE(t,e,i){let n=e.directiveStart,r=e.directiveEnd,o=t.data,a=e.attrs,s=[],l=null,d=null;for(let h=n;h<r;h++){let _=o[h],M=i?i.get(_):null,E=M?M.inputs:null,S=M?M.outputs:null;l=G_(0,_.inputs,h,l,E),d=G_(1,_.outputs,h,d,S);let R=l!==null&&a!==null&&!mh(e)?SE(l,h,a):null;s.push(R)}l!==null&&(l.hasOwnProperty("class")&&(e.flags|=8),l.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=s,e.inputs=l,e.outputs=d}function fE(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function uv(t,e,i,n,r,o,a,s){let l=bn(e,i),d=e.inputs,h;!s&&d!=null&&(h=d[n])?(Jh(t,i,h,n,r),Ra(e)&&hE(i,e.index)):e.type&3?(n=fE(n),r=a!=null?a(r,e.value||"",n):r,o.setProperty(l,n,r)):e.type&12}function hE(t,e){let i=Xi(e,t);i[xe]&16||(i[xe]|=64)}function Xh(t,e,i,n){if(YC()){let r=n===null?null:{"":-1},o=yE(t,i),a,s;o===null?a=s=null:[a,s]=o,a!==null&&pv(t,e,i,a,r,s),r&&vE(i,n,r)}i.mergedAttrs=Ca(i.mergedAttrs,i.attrs)}function pv(t,e,i,n,r,o){for(let d=0;d<n.length;d++)uf(Al(i,e),t,n[d].type);xE(i,t.data.length,n.length);for(let d=0;d<n.length;d++){let h=n[d];h.providersResolver&&h.providersResolver(h)}let a=!1,s=!1,l=sv(t,e,n.length,null);for(let d=0;d<n.length;d++){let h=n[d];i.mergedAttrs=Ca(i.mergedAttrs,h.hostAttrs),ME(t,i,e,l,h),bE(l,h,r),h.contentQueries!==null&&(i.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(i.flags|=64);let _=h.type.prototype;!a&&(_.ngOnChanges||_.ngOnInit||_.ngDoCheck)&&((t.preOrderHooks??=[]).push(i.index),a=!0),!s&&(_.ngOnChanges||_.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(i.index),s=!0),l++}pE(t,i,o)}function gE(t,e,i,n,r){let o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;a===null&&(a=t.hostBindingOpCodes=[]);let s=~e.index;mE(a)!=s&&a.push(s),a.push(i,n,o)}}function mE(t){let e=t.length;for(;e>0;){let i=t[--e];if(typeof i=="number"&&i<0)return i}return 0}function _E(t,e,i,n){let r=i.directiveStart,o=i.directiveEnd;Ra(i)&&wE(e,i,t.data[r+i.componentOffset]),t.firstCreatePass||Al(i,e),Qi(n,e);let a=i.initialInputs;for(let s=r;s<o;s++){let l=t.data[s],d=Nr(e,t,s,i);if(Qi(d,e),a!==null&&EE(e,s-r,d,l,i,a),Yi(l)){let h=Xi(i.index,e);h[jt]=Nr(e,t,s,i)}}}function fv(t,e,i){let n=i.directiveStart,r=i.directiveEnd,o=i.index,a=bP();try{kr(o);for(let s=n;s<r;s++){let l=t.data[s],d=e[s];cf(s),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&CE(l,d)}}finally{kr(-1),cf(a)}}function CE(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function yE(t,e){let i=t.directiveRegistry,n=null,r=null;if(i)for(let o=0;o<i.length;o++){let a=i[o];if(OC(e,a.selectors,!1))if(n||(n=[]),Yi(a))if(a.findHostDirectiveDefs!==null){let s=[];r=r||new Map,a.findHostDirectiveDefs(a,s,r),n.unshift(...s,a);let l=s.length;Sf(t,e,l)}else n.unshift(a),Sf(t,e,0);else r=r||new Map,a.findHostDirectiveDefs?.(a,n,r),n.push(a)}return n===null?null:[n,r]}function Sf(t,e,i){e.componentOffset=i,(t.components??=[]).push(e.index)}function vE(t,e,i){if(e){let n=t.localNames=[];for(let r=0;r<e.length;r+=2){let o=i[e[r+1]];if(o==null)throw new K(-301,!1);n.push(e[r],o)}}}function bE(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;Yi(e)&&(i[""]=t)}}function xE(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function ME(t,e,i,n,r){t.data[n]=r;let o=r.factory||(r.factory=Sr(r.type,!0)),a=new Ar(o,Yi(r),m);t.blueprint[n]=a,i[n]=a,gE(t,e,n,sv(t,i,r.hostVars,Jn),r)}
7function wE(t,e,i){let n=bn(e,t),r=cv(i),o=t[Yn].rendererFactory,a=16;i.signals?a=4096:i.onPush&&(a=64);let s=mc(t,gc(t,r,null,a,n,e,null,o.createRenderer(n,i),null,null,null));t[e.index]=s}function OE(t,e,i,n,r,o){let a=bn(t,e);PE(e[rt],a,o,t.value,i,n,r)}function PE(t,e,i,n,r,o,a){if(o==null)t.removeAttribute(e,r,i);else{let s=a==null?Er(o):a(o,n||"",r);t.setAttribute(e,r,s,i)}}function EE(t,e,i,n,r,o){let a=o[e];if(a!==null)for(let s=0;s<a.length;){let l=a[s++],d=a[s++],h=a[s++],_=a[s++];av(n,i,l,d,h,_)}}function SE(t,e,i){let n=null,r=0;for(;r<i.length;){let o=i[r];if(o===0){r+=4;continue}else if(o===5){r+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){n===null&&(n=[]);let a=t[o];for(let s=0;s<a.length;s+=3)if(a[s]===e){n.push(o,a[s+1],a[s+2],i[r+1]);break}}r+=2}return n}function hv(t,e,i,n){return[t,!0,0,e,null,n,null,i,null,null]}function gv(t,e){let i=t.contentQueries;if(i!==null){let n=He(null);try{for(let r=0;r<i.length;r+=2){let o=i[r],a=i[r+1];if(a!==-1){let s=t.data[a];Sh(o),s.contentQueries(2,e[a],a)}}}finally{He(n)}}}function mc(t,e){return t[ba]?t[T_][Kn]=e:t[ba]=e,t[T_]=e,e}function If(t,e,i){Sh(0);let n=He(null);try{e(t,i)}finally{He(n)}}function mv(t){return t[va]||(t[va]=[])}function _v(t){return t.cleanup||(t.cleanup=[])}function Cv(t,e){let i=t[bo],n=i?i.get(In,null):null;n&&n.handleError(e)}function Jh(t,e,i,n,r){for(let o=0;o<i.length;){let a=i[o++],s=i[o++],l=i[o++],d=e[a],h=t.data[a];av(h,d,n,s,l,r)}}function yv(t,e,i){let n=GC(e,t);V2(t[rt],n,i)}function IE(t,e){let i=Xi(e,t),n=i[Me];TE(n,i);let r=i[Cn];r!==null&&i[yn]===null&&(i[yn]=Bh(r,i[bo])),eg(n,i,i[jt])}function TE(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}function eg(t,e,i){Ih(e);try{let n=t.viewQuery;n!==null&&If(1,n,i);let r=t.template;r!==null&&lv(t,e,r,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),e[ki]?.finishViewCreation(t),t.staticContentQueries&&gv(t,e),t.staticViewQueries&&If(2,t.viewQuery,i);let o=t.components;o!==null&&DE(e,o)}
7catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[xe]&=-5,Th()}}function DE(t,e){for(let i=0;i<e.length;i++)IE(t,e[i])}function _c(t,e,i,n){let r=He(null);try{let o=e.tView,s=t[xe]&4096?4096:16,l=gc(t,o,i,s,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),d=t[e.index];l[Na]=d;let h=t[ki];return h!==null&&(l[ki]=h.createEmbeddedView(o)),eg(o,l,i),l}finally{He(r)}}function vv(t,e){let i=kt+e;if(i<t.length)return t[i]}function Pa(t,e){return!e||e.firstChild===null||Nl(t)}function Cc(t,e,i,n=!0){let r=e[Me];if($2(r,e,t,i),n){let a=Ef(i,t),s=e[rt],l=Gh(s,t[Ai]);l!==null&&H2(r,t[vn],s,e,l,a)}let o=e[yn];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function bv(t,e){let i=Oa(t,e);return i!==void 0&&pc(i[Me],i),i}function Fl(t,e,i,n,r=!1){for(;i!==null;){let o=e[i.index];o!==null&&n.push(Qn(o)),hi(o)&&kE(o,n);let a=i.type;if(a&8)Fl(t,e,i.child,n);else if(a&32){let s=Hh(i,e),l;for(;l=s();)n.push(l)}else if(a&16){let s=Jy(e,i);if(Array.isArray(s))n.push(...s);else{let l=wa(e[cn]);Fl(l[Me],l,s,n,!0)}}i=r?i.projectionNext:i.next}return n}function kE(t,e){for(let i=kt;i<t.length;i++){let n=t[i],r=n[Me].firstChild;r!==null&&Fl(n[Me],n,r,e)}t[Ai]!==t[Cn]&&e.push(t[Ai])}var xv=[];function AE(t){return t[Dr]??NE(t)}function NE(t){let e=xv.pop()??Object.create(LE);return e.lView=t,e}function RE(t){t.lView[Dr]!==t&&(t.lView=null,xv.push(t))}var LE=ze(Y({},U0),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Ma(t.lView)},consumerOnSignalRead(){this.lView[Dr]=this}}),Mv=100;function wv(t,e=!0,i=0){let n=t[Yn],r=n.rendererFactory,o=!1;o||r.begin?.();try{FE(t,i)}catch(a){throw e&&Cv(t,a),a}finally{o||(r.end?.(),n.inlineEffectRunner?.flush())}}function FE(t,e){Tf(t,e);let i=0;for(;wh(t);){if(i===Mv)throw new K(103,!1);i++,Tf(t,1)}}function BE(t,e,i,n){let r=e[xe];if((r&256)===256)return;let o=!1;!o&&e[Yn].inlineEffectRunner?.flush(),Ih(e);let a=null,s=null;!o&&jE(t)&&(s=AE(e),a=H0(s));try{WC(e),CP(t.bindingStartIndex),i!==null&&lv(t,e,i,2,n);let l=(r&3)===3;if(!o)if(l){let _=t.preOrderCheckHooks;_!==null&&vl(e,_,null)}else{let _=t.preOrderHooks;_!==null&&bl(e,_,0,null),Fp(e,0)}if(VE(e),Ov(e,0),t.contentQueries!==null&&gv(t,e),!o)if(l){let _=t.contentCheckHooks;_!==null&&vl(e,_)}else{let _=t.contentHooks;_!==null&&bl(e,_,1),Fp(e,1)}iE(t,e);let d=t.components;d!==null&&Ev(e,d,0);let h=t.viewQuery;if(h!==null&&If(2,h,n),!o)if(l){let _=t.viewCheckHooks;_!==null&&vl(e,_)}else{let _=t.viewHooks;_!==null&&bl(e,_,2),Fp(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Lp]){for(let _ of e[Lp])_();e[Lp]=null}o||(e[xe]&=-73)}catch(l){throw Ma(e),l}finally{s!==null&&(z0(s,a),RE(s)),Th()}}function jE(t){return t.type!==2}function Ov(t,e){for(let i=vy(t);i!==null;i=by(i))for(let n=kt;n<i.length;n++){let r=i[n];Pv(r,e)}}function VE(t){for(let e=vy(t);e!==null;e=by(e)){if(!(e[xe]&vh.HasTransplantedViews))continue;let i=e[xo];for(let n=0;n<i.length;n++){let r=i[n],o=r[It];aP(r)}}}function UE(t,e,i){let n=Xi(e,t);Pv(n,i)}function Pv(t,e){Mh(t)&&Tf(t,e)}function Tf(t,e){let n=t[Me],r=t[xe],o=t[Dr],a=!!(e===0&&r&16);if(a||=!!(r&64&&e===0),a||=!!(r&1024),a||=!!(o?.dirty&&pp(o)),o&&(o.dirty=!1),t[xe]&=-9217,a)BE(n,t,n.template,t[jt]);else if(r&8192){Ov(t,1);let s=n.components;s!==null&&Ev(t,s,1)}}function Ev(t,e,i){for(let n=0;n<e.length;n++)UE(t,e[n],i)}function tg(t){for(t[Yn].changeDetectionScheduler?.notify();t;){t[xe]|=64;let e=wa(t);if(jC(t)&&!e)return t;t=e}return null}var Rr=class{get rootNodes(){let e=this._lView,i=e[Me];return Fl(i,e,i.firstChild,[])}constructor(e,i,n=!0){this._lView=e,this._cdRefInjectingView=i,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[jt]}set context(e){this._lView[jt]=e}get destroyed(){return(this._lView[xe]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[It];if(hi(e)){let i=e[Il],n=i?i.indexOf(this):-1;n>-1&&(Oa(e,n),El(i,n))}this._attachedToViewContainer=!1}pc(this._lView[Me],this._lView)}onDestroy(e){KC(this._lView,e)}markForCheck(){tg(this._cdRefInjectingView||this._lView)}detach(){this._lView[xe]&=-129}reattach(){lf(this._lView),this._lView[xe]|=128}detectChanges(){this._lView[xe]|=1024,wv(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new K(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Ky(this._lView[Me],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new K(902,!1);this._appRef=e,lf(this._lView)}},ui=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=$E;let t=e;return t})(),HE=ui,zE=class extends HE{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){let r=_c(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:n});return new Rr(r)}};function $E(){return ng(Vt(),Pe())}function ng(t,e){return t.type&4?new zE(e,t,Do(t,e)):null}function Sv(t){let e=t[xa]??[],n=t[It][rt];for(let r of e)GE(r,n);t[xa]=Xt}function GE(t,e){let i=0,n=t.firstChild;if(n){let r=t.data[Rl];for(;i<r;){let o=n.nextSibling;qh(e,n,!1),n=o,i++}}}function Iv(t){Sv(t);for(let e=kt;e<t.length;e++)Bl(t[e])}function qE(t){let e=t[yn]?.i18nNodes;if(e){let i=t[rt];for(let n of e.values())qh(i,n,!1);t[yn].i18nNodes=void 0}}function Bl(t){qE(t);let e=t[Me];for(let i=Ct;i<e.bindingStartIndex;i++)if(hi(t[i])){let n=t[i];Iv(n)}else Di(t[i])&&Bl(t[i])}function WE(t){let e=t._views;for(let i of e){let n=d2(i);if(n!==null&&n[Cn]!==null)if(Di(n))Bl(n);else{let r=n[Cn];Bl(r),Iv(n)}}}var KE=new RegExp(`^(\\d+)*(${Oy}|${wy})*(.*)`);
7function YE(t){let e=t.match(KE),[i,n,r,o]=e,a=n?parseInt(n,10):r,s=[];for(let[l,d,h]of o.matchAll(/(f|n)(\d*)/g)){let _=parseInt(h,10)||1;s.push(d,_)}return[a,...s]}function QE(t){return!t.prev&&t.parent?.type===8}function zp(t){return t.index-Ct}function ZE(t,e){let i=t.i18nNodes;if(i){let n=i.get(e);return n&&i.delete(e),n}return null}function yc(t,e,i,n){let r=zp(n),o=ZE(t,r);if(!o){let a=t.data[r2];if(a?.[r])o=JE(a[r],i);else if(e.firstChild===n)o=t.firstChild;else{let s=n.prev===null,l=n.prev??n.parent;if(QE(n)){let d=zp(n.parent);o=Cf(t,d)}else{let d=bn(l,i);if(s)o=d.firstChild;else{let h=zp(l),_=Cf(t,h);if(l.type===2&&_){let E=jh(t,h)+1;o=vc(E,_)}else o=d.nextSibling}}}}return o}function vc(t,e){let i=e;for(let n=0;n<t;n++)i=i.nextSibling;return i}function XE(t,e){let i=t;for(let n=0;n<e.length;n+=2){let r=e[n],o=e[n+1];for(let a=0;a<o;a++)switch(r){case _f.FirstChild:i=i.firstChild;break;case _f.NextSibling:i=i.nextSibling;break}}return i}function JE(t,e){let[i,...n]=YE(t),r;if(i===wy)r=e[cn][Cn];else if(i===Oy)r=B2(e[cn][Cn]);else{let o=Number(i);r=Qn(e[o+Ct])}return XE(r,n)}function eS(t,e){let i=[];for(let n of e)for(let r=0;r<(n[Py]??1);r++){let o={data:n,firstChild:null};n[Rl]>0&&(o.firstChild=t,t=vc(n[Rl],t)),i.push(o)}return[t,i]}var Tv=()=>null;function tS(t,e){let i=t[xa];return!e||i===null||i.length===0?null:i[0].data[i2]===e?i.shift():(Sv(t),null)}function nS(){Tv=tS}function Ea(t,e){return Tv(t,e)}var wo=class{},Df=class{},jl=class{};function iS(t){let e=Error(`No component factory found for ${Jt(t)}.`);return e[rS]=t,e}var rS="ngComponent";var kf=class{resolveComponentFactory(e){throw iS(e)}},Ao=(()=>{let e=class e{};e.NULL=new kf;let t=e;return t})(),Ri=class{},At=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>oS();let t=e;return t})();function oS(){let t=Pe(),e=Vt(),i=Xi(e.index,t);return(Di(i)?i:t)[rt]}var aS=(()=>{let e=class e{};e.\u0275prov=P({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),$p={};var W_=new Set;function mi(t){W_.has(t)||(W_.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function K_(...t){}function sS(){let t=typeof Ti.requestAnimationFrame=="function",e=Ti[t?"requestAnimationFrame":"setTimeout"],i=Ti[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let r=i[Zone.__symbol__("OriginalDelegate")];r&&(i=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}var Ke=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _e(!1),this.onMicrotaskEmpty=new _e(!1),this.onStable=new _e(!1),this.onError=new _e(!1),typeof Zone>"u")throw new K(908,!1);Zone.assertZonePatched();let r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&i,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=sS().nativeRequestAnimationFrame,dS(r)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new K(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new K(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,e,lS,K_,K_);try{return o.runTask(a,i,n)}finally{o.cancelTask(a)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},lS={};function ig(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function cS(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Ti,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Af(t),t.isCheckStableRunning=!0,ig(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Af(t))}function dS(t){let e=()=>{cS(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,r,o,a,s)=>{if(uS(s))return i.invokeTask(r,o,a,s);try{return Y_(t),i.invokeTask(r,o,a,s)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Q_(t)}},onInvoke:(i,n,r,o,a,s,l)=>{try{return Y_(t),i.invoke(r,o,a,s,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Q_(t)}},onHasTask:(i,n,r,o)=>{i.hasTask(r,o),n===r&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Af(t),ig(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,n,r,o)=>(i.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Af(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Y_(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Q_(t){t._nesting--,ig(t)}function uS(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var mo=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(mo||{}),pS={destroy(){}};function rg(t,e){!e&&QO(rg);let i=e?.injector??H(Xn);if(!ga(i))return pS;mi("NgAfterNextRender");let n=i.get(og),r=n.handler??=new Rf,o=e?.phase??mo.MixedReadWrite,a=()=>{r.unregister(l),s()},s=i.get(Ah).onDestroy(a),l=fi(i,()=>new Nf(o,()=>{a(),t()}));return r.register(l),{destroy:a}}var Nf=class{constructor(e,i){this.phase=e,this.callbackFn=i,this.zone=H(Ke),this.errorHandler=H(In,{optional:!0}),H(wo,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Rf=class{constructor(){this.executingCallbacks=!1,this.buckets={[mo.EarlyRead]:new Set,[mo.Write]:new Set,[mo.MixedReadWrite]:new Set,[mo.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let i of e)i.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},og=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=P({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Vl(t,e,i){let n=i?t.styles:null,r=i?t.classes:null,o=0;if(e!==null)for(let a=0;a<e.length;a++){let s=e[a];if(typeof s=="number")o=s;else if(o==1)r=Xp(r,s);else if(o==2){let l=s,d=e[++a];n=Xp(n,l+": "+d+";")}}i?t.styles=n:t.stylesWithoutHost=n,i?t.classes=r:t.classesWithoutHost=r}var Ul=class extends Ao{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let i=Tr(e);return new Sa(i,this.ngModule)}};function Z_(t){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let n=t[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function fS(t){let e=t.toLowerCase();return e==="svg"?$C:e==="math"?tP:null}var Lf=class{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=Ql(n);let r=this.injector.get(e,$p,n);return r!==$p||i===$p?r:this.parentInjector.get(e,i,n)}},Sa=class extends jl{get inputs(){let e=this.componentDef,i=e.inputTransforms,n=Z_(e.input
7s);if(i!==null)for(let r of n)i.hasOwnProperty(r.propName)&&(r.transform=i[r.propName]);return n}get outputs(){return Z_(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=RO(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,r){let o=He(null);try{r=r||this.ngModule;let a=r instanceof en?r:r?.injector;a&&this.componentDef.getStandaloneInjector!==null&&(a=this.componentDef.getStandaloneInjector(a)||a);let s=a?new Lf(e,a):e,l=s.get(Ri,null);if(l===null)throw new K(407,!1);let d=s.get(aS,null),h=s.get(og,null),_=s.get(wo,null),M={rendererFactory:l,sanitizer:d,inlineEffectRunner:null,afterRenderEventManager:h,changeDetectionScheduler:_},E=l.createRenderer(null,this.componentDef),S=this.componentDef.selectors[0][0]||"div",R=n?aE(E,n,this.componentDef.encapsulation,s):uc(E,S,fS(S)),G=512;this.componentDef.signals?G|=4096:this.componentDef.onPush||(G|=16);let q=null;R!==null&&(q=Bh(R,s,!0));let ge=Zh(0,null,null,1,0,null,null,null,null,null,null),we=gc(null,ge,null,G,null,null,M,E,s,null,q);Ih(we);let Ce,lt;try{let de=this.componentDef,te,Ue=null;de.findHostDirectiveDefs?(te=[],Ue=new Map,de.findHostDirectiveDefs(de,te,Ue),te.push(de)):te=[de];let ot=hS(we,R),St=gS(ot,R,de,te,we,M,E);lt=xh(ge,Ct),R&&CS(E,de,R,n),i!==void 0&&yS(lt,this.ngContentSelectors,i),Ce=_S(St,de,te,Ue,we,[vS]),eg(ge,we,null)}finally{Th()}return new Ff(this.componentType,Ce,Do(lt,we),we,lt)}finally{He(o)}}},Ff=class extends Df{constructor(e,i,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new Rr(r,void 0,!1),this.componentType=e}setInput(e,i){let n=this._tNode.inputs,r;if(n!==null&&(r=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),i))return;let o=this._rootLView;Jh(o[Me],o,r,e,i),this.previousInputValues.set(e,i);let a=Xi(this._tNode.index,o);tg(a)}}get injector(){return new Pr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function hS(t,e){let i=t[Me],n=Ct;return t[n]=e,ko(i,n,2,"#host",null)}function gS(t,e,i,n,r,o,a){let s=r[Me];mS(n,t,e,a);let l=null;e!==null&&(l=Bh(e,r[bo]));let d=o.rendererFactory.createRenderer(e,i),h=16;i.signals?h=4096:i.onPush&&(h=64);let _=gc(r,cv(i),null,h,r[t.index],t,o,d,null,null,l);return s.firstCreatePass&&Sf(s,t,n.length-1),mc(r,_),r[t.index]=_}function mS(t,e,i,n){for(let r of t)e.mergedAttrs=Ca(e.mergedAttrs,r.hostAttrs);e.mergedAttrs!==null&&(Vl(e,e.mergedAttrs,!0),i!==null&&iv(n,i,e))}function _S(t,e,i,n,r,o){let a=Vt(),s=r[Me],l=bn(a,r);pv(s,r,a,i,null,n);for(let h=0;h<i.length;h++){let _=a.directiveStart+h,M=Nr(r,s,_,a);Qi(M,r)}fv(s,r,a),l&&Qi(l,r);let d=Nr(r,s,a.directiveStart+a.componentOffset,a);if(t[jt]=r[jt]=d,o!==null)for(let h of o)h(d,e);return Kh(s,a,r),d}function CS(t,e,i,n){if(n)nf(t,i,["ng-version","17.3.12"]);else{let{attrs:r,classes:o}=LO(e.selectors[0]);r&&nf(t,i,r),o&&o.length>0&&nv(t,i,o.join(" "))}}function yS(t,e,i){let n=t.projection=[];for(let r=0;r<e.length;r++){let o=i[r];n.push(o!=null?Array.from(o):null)}}function vS(){let t=Vt();ic(Pe()[Me],t)}var _i=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=bS;let t=e;return t})();function bS(){let t=Vt();return kv(t,Pe())}var xS=_i,Dv=class extends xS{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return Do(this._hostTNode,this._hostLView)}get injector(){return new Pr(this._hostTNode,this._hostLView)}get parentInjector(){let e=kh(this._hostTNode,this._hostLView);if(ay(e)){let i=Dl(e,this._hostLView),n=Tl(e),r=i[Me].data[n+8];return new Pr(r,i)}else return new Pr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let i=X_(this._lContainer);return i!==null&&i[e]||null}get length(){return this._lContainer.length-kt}createEmbeddedView(e,i,n){let r,o;typeof n=="number"?r=n:n!=null&&(r=n.index,o=n.injector);let a=Ea(this._lContainer,e.ssrId),s=e.createEmbeddedViewImpl(i||{},o,a);return this.insertImpl(s,r,Pa(this._hostTNode,a)),s}createComponent(e,i,n,r,o){let a=e&&!ZO(e),s;if(a)s=i;else{let S=i||{};s=S.index,n=S.injector,r=S.projectableNodes,o=S.environmentInjector||S.ngModuleRef}let l=a?e:new Sa(Tr(e)),d=n||this.parentInjector;if(!o&&l.ngModule==null){let R=(a?d:this.parentInjector).get(en,null);R&&(o=R)}let h=Tr(l.componentType??{}),_=Ea(this._lContainer,h?.id??null),M=_?.firstChild??null,E=l.create(d,r,M,o);return this.insertImpl(E.hostView,s,Pa(this._hostTNode,_)),E}insert(e,i){return this.insertImpl(e,i,!0)}insertImpl(e,i,n){let r=e._lView;if(oP(r)){let s=this.indexOf(e);if(s!==-1)this.detach(s);else{let l=r[It],d=new Dv(l,l[vn],l[It]);d.detach(d.indexOf(e))}}let o=this._adjustIndex(i),a=this._lContainer;return Cc(a,r,o,n),e.attachToViewContainerRef(),yC(Gp(a),o,e),e}move(e,i){return this.insert(e,i)}indexOf(e){let i=X_(this._lContainer);return i!==null?i.indexOf(e):-1}remove(e){let i=this._adjustIndex(e,-1),n=Oa(this._lContainer,i);n&&(El(Gp(this._lContainer),i),pc(n[Me],n))}detach(e){let i=this._adjustIndex(e,-1),n=Oa(this._lContainer,i);
vendor: 6,269 bytes, line 7
7return n&&El(Gp(this._lContainer),i)!=null?new Rr(n):null}_adjustIndex(e,i=0){return e??this.length+i}};function X_(t){return t[Il]}function Gp(t){return t[Il]||(t[Il]=[])}function kv(t,e){let i,n=e[t.index];return hi(n)?i=n:(i=hv(n,e,null,t),e[t.index]=i,mc(e,i)),Av(i,e,t,n),new Dv(i,t,e)}function MS(t,e){let i=t[rt],n=i.createComment(""),r=bn(e,t),o=Gh(i,r);return Ll(i,o,n,Q2(i,r),!1),n}var Av=Nv,ag=()=>!1;function wS(t,e,i){return ag(t,e,i)}function Nv(t,e,i,n){if(t[Ai])return;let r;i.type&8?r=Qn(n):r=MS(e,i),t[Ai]=r}function OS(t,e,i){if(t[Ai]&&t[xa])return!0;let n=i[yn],r=e.index-Ct;if(!n||WP(e)||sc(n,r))return!1;let a=Cf(n,r),s=n.data[Fh]?.[r],[l,d]=eS(a,s);return t[Ai]=l,t[xa]=d,!0}function PS(t,e,i,n){ag(t,i,e)||Nv(t,e,i,n)}function ES(){Av=PS,ag=OS}var Bf=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},jf=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,r=[];for(let o=0;o<n;o++){let a=i.getByIndex(o),s=this.queries[a.indexInDeclarationView];r.push(s.clone())}return new t(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)sg(e,i).matches!==null&&this.queries[i].setDirty()}},Hl=class{constructor(e,i,n=null){this.flags=i,this.read=n,typeof e=="string"?this.predicate=RS(e):this.predicate=e}},Vf=class t{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let r=i!==null?i.length:0,o=this.getByIndex(n).embeddedTView(e,r);o&&(o.indexInDeclarationView=n,i!==null?i.push(o):i=[o])}return i!==null?new t(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Uf=class t{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let o=n[r];this.matchTNodeWithReadOption(e,i,SS(i,o)),this.matchTNodeWithReadOption(e,i,xl(i,e,o,!1,!1))}else n===ui?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,xl(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===$e||r===_i||r===ui&&i.type&4)this.addMatch(i.index,-2);else{let o=xl(i,e,r,!1,!1);o!==null&&this.addMatch(i.index,o)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};function SS(t,e){let i=t.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function IS(t,e){return t.type&11?Do(t,e):t.type&4?ng(t,e):null}function TS(t,e,i,n){return i===-1?IS(e,t):i===-2?DS(t,e,n):Nr(t,t[Me],i,e)}function DS(t,e,i){if(i===$e)return Do(e,t);if(i===ui)return ng(e,t);if(i===_i)return kv(e,t)}function Rv(t,e,i,n){let r=e[ki].queries[n];if(r.matches===null){let o=t.data,a=i.matches,s=[];for(let l=0;a!==null&&l<a.length;l+=2){let d=a[l];if(d<0)s.push(null);else{let h=o[d];s.push(TS(e,h,a[l+1],i.metadata.read))}}r.matches=s}return r.matches}function Hf(t,e,i,n){let r=t.queries.getByIndex(i),o=r.matches;if(o!==null){let a=Rv(t,e,r,i);for(let s=0;s<o.length;s+=2){let l=o[s];if(l>0)n.push(a[s/2]);else{let d=o[s+1],h=e[-l];for(let _=kt;_<h.length;_++){let M=h[_];M[Na]===M[It]&&Hf(M[Me],M,d,n)}if(h[xo]!==null){let _=h[xo];for(let M=0;M<_.length;M++){let E=_[M];Hf(E[Me],E,d,n)}}}}}return n}function kS(t,e){return t[ki].queries[e].queryList}function Lv(t,e,i){let n=new gf((i&4)===4);return dE(t,e,n,n.destroy),(e[ki]??=new jf).queries.push(new Bf(n))-1}function AS(t,e,i){let n=bt();return n.firstCreatePass&&(Fv(n,new Hl(t,e,i),-1),(e&2)===2&&(n.staticViewQueries=!0)),Lv(n,Pe(),e)}function NS(t,e,i,n){let r=bt();if(r.firstCreatePass){let o=Vt();Fv(r,new Hl(e,i,n),o.index),LS(r,t),(i&2)===2&&(r.staticContentQueries=!0)}return Lv(r,Pe(),i)}function RS(t){return t.split(",").map(e=>e.trim())}function Fv(t,e,i){t.queries===null&&(t.queries=new Vf),t.queries.track(new Uf(e,i))}function LS(t,e){let i=t.contentQueries||(t.contentQueries=[]),n=i.length?i[i.length-1]:-1;e!==n&&i.push(t.queries.length-1,e)}function sg(t,e){return t.queries.getByIndex(e)}function FS(t,e){let i=t[Me],n=sg(i,e);return n.crossesNgTemplate?Hf(i,t,e,[]):Rv(i,t,n,e)}function BS(t){return typeof t=="function"&&t[up]!==void 0}function Bv(t){return BS(t)&&typeof t.set=="function"}function jS(t){return Object.getPrototypeOf(t.prototype).constructor}function Ci(t){let e=jS(t.type),i=!0,n=[t];for(;e;){let r;if(Yi(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new K(903,!1);r=e.\u0275dir}if(r){if(i){n.push(r);let a=t;a.inputs=ml(t.inputs),a.inputTransforms=ml(t.inputTransforms),a.declaredInputs=ml(t.declaredInputs),a.outputs=ml(t.outputs);let s=r.hostBindings;s&&$S(t,s);let l=r.viewQuery,d=r.contentQueries;if(l&&HS(t,l),d&&zS(t,d),VS(t,r),eO(t.outputs,r.outputs),Yi(r)&&r.data.animation){let h=t.data;h.animation=(h.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let a=0;a<o.length;a++){let s=o[a];s&&s.ngInherit&&s(t),s===Ci&&(i=!1)}}e=Object.getPrototypeOf(e)}US(n)}function VS(t,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||t.input
7s.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(t.inputs[i]=n,t.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let r=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(r))continue;t.inputTransforms??={},t.inputTransforms[r]=e.inputTransforms[r]}}}function US(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){let r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=Ca(r.hostAttrs,i=Ca(i,r.hostAttrs))}}function ml(t){return t===yo?{}:t===Xt?[]:t}function HS(t,e){let i=t.viewQuery;i?t.viewQuery=(n,r)=>{e(n,r),i(n,r)}:t.viewQuery=e}function zS(t,e){let i=t.contentQueries;i?t.contentQueries=(n,r,o)=>{e(n,r,o),i(n,r,o)}:t.contentQueries=e}function $S(t,e){let i=t.hostBindings;i?t.hostBindings=(n,r)=>{e(n,r),i(n,r)}:t.hostBindings=e}function lg(t){let e=t.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];Array.isArray(r)&&r[3]&&(i[n]=r[3])}t.inputTransforms=i}var Zi=class{},Ia=class{};var zf=class extends Zi{constructor(e,i,n){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ul(this);let r=IC(e);this._bootstrapComponents=Wy(r.bootstrap),this._r3Injector=gy(e,i,[{provide:Zi,useValue:this},{provide:Ao,useValue:this.componentFactoryResolver},...n],Jt(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},$f=class extends Ia{constructor(e){super(),this.moduleType=e}create(e){return new zf(this.moduleType,e,[])}};var zl=class extends Zi{constructor(e){super(),this.componentFactoryResolver=new Ul(this),this.instance=null;let i=new ya([...e.providers,{provide:Zi,useValue:this},{provide:Ao,useValue:this.componentFactoryResolver}],e.parent||yh(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function cg(t,e,i=null){return new zl({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}var jr=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Pt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function jv(t){return dg(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function GS(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{let i=t[Symbol.iterator](),n;for(;!(n=i.next()).done;)e(n.value)}}function dg(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function ja(t,e,i){return t[e]=i}function Vv(t,e){return t[e]}function Tn(t,e,i){let n=t[e];return Object.is(n,i)?!1:(t[e]=i,!0)}
vendor: 10,161 bytes, line 7
7function Ta(t,e,i,n){let r=Tn(t,e,i);return Tn(t,e+1,n)||r}function ug(t,e,i,n,r,o){let a=Ta(t,e,i,n);return Ta(t,e+2,r,o)||a}function Va(t){return(t.flags&32)===32}function qS(t,e,i,n,r,o,a,s,l){let d=e.consts,h=ko(e,t,4,a||null,Mo(d,s));Xh(e,i,h,Mo(d,l)),ic(e,h);let _=h.tView=Zh(2,h,n,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,d,null);return e.queries!==null&&(e.queries.template(e,h),_.queries=e.queries.embeddedTView(h)),h}function O(t,e,i,n,r,o,a,s){let l=Pe(),d=bt(),h=t+Ct,_=d.firstCreatePass?qS(h,d,l,e,i,n,r,o,a):d.data[h];Fr(_,!1);let M=Uv(d,l,_,t);nc()&&fc(d,l,M,_),Qi(M,l);let E=hv(M,l,M,_);return l[h]=E,mc(l,E),wS(E,_,l),tc(_)&&Yh(d,l,_),a!=null&&Qh(l,_,s),O}var Uv=Hv;function Hv(t,e,i,n){return gi(!0),e[rt].createComment("")}function WS(t,e,i,n){let r=e[yn],o=!r||Eo()||Va(i)||sc(r,n);if(gi(o),o)return Hv(t,e,i,n);let a=r.data[n2]?.[n]??null;a!==null&&i.tView!==null&&i.tView.ssrId===null&&(i.tView.ssrId=a);let s=yc(r,t,e,i);ac(r,n,s);let l=jh(r,n);return vc(l,s)}function KS(){Uv=WS}function Nt(t,e,i,n){let r=Pe(),o=Io();if(Tn(r,o,e)){let a=bt(),s=Dh();OE(s,r,t,e,i,n)}return Nt}function YS(t,e,i,n){return Tn(t,Io(),i)?e+Er(i)+n:Jn}function QS(t,e,i,n,r,o){let a=_P(),s=Ta(t,a,i,r);return Eh(2),s?e+Er(i)+n+Er(r)+o:Jn}function _l(t,e){return t<<17|e<<2}function Lr(t){return t>>17&32767}function ZS(t){return(t&2)==2}function XS(t,e){return t&131071|e<<17}function Gf(t){return t|2}function Oo(t){return(t&131068)>>2}function qp(t,e){return t&-131069|e<<2}function JS(t){return(t&1)===1}function qf(t){return t|1}function eI(t,e,i,n,r,o){let a=o?e.classBindings:e.styleBindings,s=Lr(a),l=Oo(a);t[n]=i;let d=!1,h;if(Array.isArray(i)){let _=i;h=_[1],(h===null||Aa(_,h)>0)&&(d=!0)}else h=i;if(r)if(l!==0){let M=Lr(t[s+1]);t[n+1]=_l(M,s),M!==0&&(t[M+1]=qp(t[M+1],n)),t[s+1]=XS(t[s+1],n)}else t[n+1]=_l(s,0),s!==0&&(t[s+1]=qp(t[s+1],n)),s=n;else t[n+1]=_l(l,0),s===0?s=n:t[l+1]=qp(t[l+1],n),l=n;d&&(t[n+1]=Gf(t[n+1])),J_(t,h,n,!0),J_(t,h,n,!1),tI(e,h,t,n,o),a=_l(s,l),o?e.classBindings=a:e.styleBindings=a}function tI(t,e,i,n,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Aa(o,e)>=0&&(i[n+1]=qf(i[n+1]))}function J_(t,e,i,n){let r=t[i+1],o=e===null,a=n?Lr(r):Oo(r),s=!1;for(;a!==0&&(s===!1||o);){let l=t[a],d=t[a+1];nI(l,e)&&(s=!0,t[a+1]=n?qf(d):Gf(d)),a=n?Lr(d):Oo(d)}s&&(t[i+1]=n?Gf(r):qf(r))}function nI(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Aa(t,e)>=0:!1}var Wn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function iI(t){return t.substring(Wn.key,Wn.keyEnd)}function rI(t){return oI(t),zv(t,$v(t,0,Wn.textEnd))}function zv(t,e){let i=Wn.textEnd;return i===e?-1:(e=Wn.keyEnd=aI(t,Wn.key=e,i),$v(t,e,i))}function oI(t){Wn.key=0,Wn.keyEnd=0,Wn.value=0,Wn.valueEnd=0,Wn.textEnd=t.length}function $v(t,e,i){for(;e<i&&t.charCodeAt(e)<=32;)e++;return e}function aI(t,e,i){for(;e<i&&t.charCodeAt(e)>32;)e++;return e}function f(t,e,i){let n=Pe(),r=Io();if(Tn(n,r,e)){let o=bt(),a=Dh();uv(o,a,n,t,e,n[rt],i,!1)}return f}function Wf(t,e,i,n,r){let o=e.inputs,a=r?"class":"style";Jh(t,i,o[a],a,n)}function bc(t,e,i){return Gv(t,e,i,!1),bc}function F(t,e){return Gv(t,e,null,!0),F}function xc(t){lI(hI,sI,t,!0)}function sI(t,e){for(let i=rI(e);i>=0;i=zv(e,i))gh(t,iI(e),!0)}function Gv(t,e,i,n){let r=Pe(),o=bt(),a=Eh(2);if(o.firstUpdatePass&&Wv(o,t,a,n),e!==Jn&&Tn(r,a,e)){let s=o.data[Fi()];Kv(o,s,r,r[rt],t,r[a+1]=mI(e,i),n,a)}}function lI(t,e,i,n){let r=bt(),o=Eh(2);r.firstUpdatePass&&Wv(r,null,o,n);let a=Pe();if(i!==Jn&&Tn(a,o,i)){let s=r.data[Fi()];if(Yv(s,n)&&!qv(r,o)){let l=n?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(i=Xp(l,i||"")),Wf(r,s,a,i,n)}else gI(r,s,a,a[rt],a[o+1],a[o+1]=fI(t,e,i),n,o)}}function qv(t,e){return e>=t.expandoStartIndex}function Wv(t,e,i,n){let r=t.data;if(r[i+1]===null){let o=r[Fi()],a=qv(t,i);Yv(o,n)&&e===null&&!a&&(e=!1),e=cI(r,o,e,n),eI(r,o,e,i,a,n)}}function cI(t,e,i,n){let r=xP(t),o=n?e.residualClasses:e.residualStyles;if(r===null)(n?e.classBindings:e.styleBindings)===0&&(i=Wp(null,t,e,i,n),i=Da(i,e.attrs,n),o=null);else{let a=e.directiveStylingLast;if(a===-1||t[a]!==r)if(i=Wp(r,t,e,i,n),o===null){let l=dI(t,e,n);l!==void 0&&Array.isArray(l)&&(l=Wp(null,t,e,l[1],n),l=Da(l,e.attrs,n),uI(t,e,n,l))}else o=pI(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),i}function dI(t,e,i){let n=i?e.classBindings:e.styleBindings;if(Oo(n)!==0)return t[Lr(n)]}function uI(t,e,i,n){let r=i?e.classBindings:e.styleBindings;t[Lr(r)]=n}function pI(t,e,i){let n,r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<r;o++){let a=t[o].hostAttrs;n=Da(n,a,i)}return Da(n,e.attrs,i)}function Wp(t,e,i,n,r){let o=null,a=i.directiveEnd,s=i.directiveStylingLast;for(s===-1?s=i.directiveStart:s++;s<a&&(o=e[s],n=Da(n,o.hostAttrs,r),o!==t);)s++;return t!==null&&(i.directiveStylingLast=s),n}function Da(t,e,i){let n=i?1:2,r=-1;if(e!==null)for(let o=0;o<e.length;o++){let a=e[o];typeof a=="number"?r=a:r===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),gh(t,a,i?!0:e[++o]))}return t===void 0?null:t}function fI(t,e,i){if(i==null||i==="")return Xt;let n=[],r=kn(i);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(n,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(n,o,r[o]);else typeof r=="string"&&e(n,r);return n}function hI(t,e,i){let n=String(e);n!==""&&!n.includes(" ")&&gh(t,n,i)}function gI(t,e,i,n,r,o,a,s){r===Jn&&(r=Xt);let l=0,d=0,h=0<r.length?r[0]:null,_=0<o.length?o[0]:null;for(;h!==null||_!==null;){let M=l<r.length?r[l+1]:void 0,E=d<o.length?o[d+1]:void 0,S=null,R;h===_?(l+=2,d+=2,M!==E&&(S=_,R=E)):_===null||h!==null&&h<_?(l+=2,S=h):(d+=2,S=_,R=E),S!==null&&Kv(t,e,i,n,S,R,a,s),h=l<r.length?r[l]:null,_=d<o.length?o[d]:null}}function Kv(t,e,i,n,r,o,a,s){if(!(e.type&3))return;let l=t.data,d=l[s+1],h=JS(d)?eC(l,e,i,r,Oo(d),a):void 0;if(!$l(h)){$l(o)||ZS(d)&&(o=eC(l,null,i,r,s,a));let _=GC(Fi(),i);tE(n,a,_,r,o)}}function eC(t,e,i,n,r,o){let a=e===null,s;for(;r>0;){let l=t[r],d=Array.isArray(l),h=d?l[1]:l,_=h===null,M=i[r+1];M===Jn&&(M=_?Xt:void 0);let E=_?Np(M,n):h===n?M:void 0;if(d&&!$l(E)&&(E=Np(l,n)),$l(E)&&(s=E,a))return s;let S=t[r+1];r=a?Lr(S):Oo(S)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(s=Np(l,n))}return s}function $l(t){return t!==void 0}function mI(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Jt(kn(t)))),t}function Yv(t,e){return(t.flags&(e?8:16))!==0}var Kf=class{destroy(e){}updateValue(e,i){}swap(e,i){let n=Math.min(e,i),r=Math.max(e,i),o=this.detach(r);if(r-n>1){let a=this.detach(n);this.attach(n,o),this.attach(r,a)}else this.attach(n,o)}move(e,i){this.attach(i,this.detach(e))}};function Kp(t,e,i,n,r){return t===i&&Object.is(e,n)?1:Object.is(r(t,e),r(i,n))?-1:0}function _I(t,e,i){let n,r,o=0,a=t.length-1;if(Array.isArray(e)){let s=e.length-1;for(;o<=a&&o<=s;){let l=t.at(o),d=e[o],h=Kp(o,l,o,d,i);if(h!==0){h<0&&t.updateValue(o,d),o++;continue}let _=t.at(a),M=e[s],E=Kp(a,_,s,M,i);if(E!==0){E<0&&t.updateValue(a,M),a--,s--;continue}let S=i(o,l),R=i(a,_),G=i(o,d);if(Object.is(G,R)){let q=i(s,M);Object.is(q,S)?(t.swap(o,a),t.updateValue(a,M),s--,a--):t.move(a,o),t.updateValue(o,d),o++;continue}if(n??=new Gl,r??=nC(t,o,a,i),Yf(t,n,o,G))t.updateValue(o,d),o++,a++;else if(r.has(G))n.set(S,t.detach(o)),a--;else{let q=t.create(o,e[o]);t.attach(o,q),o++,a++}}for(;o<=s;)tC(t,n,i,o,e[o]),o++}else if(e!=null){let s=e[Symbol.iterator](),l=s.next();for(;!l.done&&o<=a;){let d=t.at(o),h=l.value,_=Kp(o,d,o,h,i);if(_!==0)_<0&&t.updateValue(o,h),o++,l=s.next();else{n??=new Gl,r??=nC(t,o,a,i);let M=i(o,h);if(Yf(t,n,o,M))t.updateValue(o,h),o++,a++,l=s.next();else if(!r.has(M))t.attach(o,t.create(o,h)),o++,a++,l=s.next();else{let E=i(o,d);n.set(E,t.detach(o)),a--}}}for(;!l.done;)tC(t,n,i,t.length,l.value),l=s.next()}for(;o<=a;)t.destroy(t.detach(a--));n?.forEach(s=>{t.destroy(s)})}function Yf(t,e,i,n){return e!==void 0&&e.has(n)?(t.attach(i,e.get(n)),e.delete(n),!0):!1}function tC(t,e,i,n,r){if(Yf(t,e,n,i(n,r)))t.updateValue(n,r);else{let o=t.create(n,r);t.attach(n,o)}}function nC(t,e,i,n){let r=new Set;for(let o=e;o<=i;o++)r.add(n(o,t.at(o)));return r}var Gl=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let i=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(i)?(this.kvMap.set(e,this._vMap.get(i)),this._vMap.delete(i)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,i){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,i)}else this.kvMap.set(e,i)}forEach(e){for(let[i,n]of this.kvMap)if(e(n,i),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),e(n,i)}}};function w(t,e,i){mi("NgControlFlow");let n=Pe(),r=Io(),o=Jf(n,Ct+t),a=0;if(Tn(n,r,e)){let s=He(null);try{if(bv(o,a),e!==-1){let l=eh(n[Me],Ct+e),d=Ea(o,l.tView.ssrId),h=_c(n,l,i,{dehydratedView:d});Cc(o,h,a,Pa(l,d))}}finally{He(s)}}else{let s=vv(o,a);s!==void 0&&(s[jt]=i)}}var Qf=class{constructor(e,i,n){this.lContainer=e,this.$implicit=i,this.$index=n}get $count(){return this.lContainer.length-kt}};function j(t){return t}function yi(t,e){return e}var Zf=class{constructor(e,i,n){this.hasEmptyBlock=e,this.trackByFn=i,this.liveCollection=n}};function A(t,e,i,n,r,o,a,s,l,d,h,_,M){mi("NgControlFlow");let E=l!==void 0,S=Pe(),R=s?a.bind(S[cn][jt]):a,G=new Zf(E,R);S[Ct+t]=G,O(t+1,e,i,n,r,o),E&&O(t+2,l,d,h,_,M)}var Xf=class extends Kf{constructor(e,i,n){super(),this.lContainer=e,this.hostLView=i,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-kt}at(e){return this.getLView(e)[jt].$implicit}attach(e,i){let n=i[yn];this.needsIndexUpdate||=e!==this.length,Cc(this.lContainer,i,e,Pa(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,CI(this.lContainer,e)}create(e,i){let n=Ea(this.lContainer,this.templateTNode.tView.ssrId);return _c(this.hostLView,this.templateTNode,new Qf(this.lContainer,i,e),{dehydratedView:n})}destroy(e){pc(e[Me],e)}updateValue(e,i){this.getLView(e)[jt].$implicit=i}reset(){this.needsIndexUpdate=!1}
7updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[jt].$index=e}getLView(e){return yI(this.lContainer,e)}};function N(t){let e=He(null),i=Fi();try{let n=Pe(),r=n[Me],o=n[i];if(o.liveCollection===void 0){let s=i+1,l=Jf(n,s),d=eh(r,s);o.liveCollection=new Xf(l,n,d)}else o.liveCollection.reset();let a=o.liveCollection;if(_I(a,t,o.trackByFn),a.updateIndexes(),o.hasEmptyBlock){let s=Io(),l=a.length===0;if(Tn(n,s,l)){let d=i+2,h=Jf(n,d);if(l){let _=eh(r,d),M=Ea(h,_.tView.ssrId),E=_c(n,_,void 0,{dehydratedView:M});Cc(h,E,0,Pa(_,M))}else bv(h,0)}}}finally{He(e)}}function Jf(t,e){return t[e]}function CI(t,e){return Oa(t,e)}function yI(t,e){return vv(t,e)}function eh(t,e){return xh(t,e)}function vI(t,e,i,n,r,o){let a=e.consts,s=Mo(a,r),l=ko(e,t,2,n,s);return Xh(e,i,l,Mo(a,o)),l.attrs!==null&&Vl(l,l.attrs,!1),l.mergedAttrs!==null&&Vl(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function p(t,e,i,n){let r=Pe(),o=bt(),a=Ct+t,s=r[rt],l=o.firstCreatePass?vI(a,o,r,e,i,n):o.data[a],d=Qv(o,r,l,s,e,t);r[a]=d;let h=tc(l);return Fr(l,!0),iv(s,d,l),!Va(l)&&nc()&&fc(o,r,d,l),cP()===0&&Qi(d,r),dP(),h&&(Yh(o,r,l),Kh(o,l,r)),n!==null&&Qh(r,l),p}function u(){let t=Vt();Oh()?Ph():(t=t.parent,Fr(t,!1));let e=t;pP(e)&&hP(),uP();let i=bt();return i.firstCreatePass&&(ic(i,t),bh(t)&&i.queries.elementEnd(t)),e.classesWithoutHost!=null&&IP(e)&&Wf(i,e,Pe(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&TP(e)&&Wf(i,e,Pe(),e.stylesWithoutHost,!1),u}function g(t,e,i,n){return p(t,e,i,n),u(),g}var Qv=(t,e,i,n,r,o)=>(gi(!0),uc(n,r,iy()));function bI(t,e,i,n,r,o){let a=e[yn],s=!a||Eo()||Va(i)||sc(a,o);if(gi(s),s)return uc(n,r,iy());let l=yc(a,t,e,i);return Iy(a,o)&&ac(a,o,l.nextSibling),a&&(_y(i)||Cy(l))&&Ra(i)&&(fP(i),ev(l)),l}function xI(){Qv=bI}function MI(t,e,i,n,r){let o=e.consts,a=Mo(o,n),s=ko(e,t,8,"ng-container",a);a!==null&&Vl(s,a,!0);let l=Mo(o,r);return Xh(e,i,s,l),e.queries!==null&&e.queries.elementStart(e,s),s}function Ge(t,e,i){let n=Pe(),r=bt(),o=t+Ct,a=r.firstCreatePass?MI(o,r,n,e,i):r.data[o];Fr(a,!0);let s=Zv(r,n,a,t);return n[o]=s,nc()&&fc(r,n,s,a),Qi(s,n),tc(a)&&(Yh(r,n,a),Kh(r,a,n)),i!=null&&Qh(n,a),Ge}function qe(){let t=Vt(),e=bt();return Oh()?Ph():(t=t.parent,Fr(t,!1)),e.firstCreatePass&&(ic(e,t),bh(t)&&e.queries.elementEnd(t)),qe}var Zv=(t,e,i,n)=>(gi(!0),$h(e[rt],""));function wI(t,e,i,n){let r,o=e[yn],a=!o||Eo()||Va(i);if(gi(a),a)return $h(e[rt],"");let s=yc(o,t,e,i),l=f2(o,n);return ac(o,n,s),r=vc(l,s),r}function OI(){Zv=wI}function ne(){return Pe()}var ql="en-US";var PI=ql;function EI(t){typeof t=="string"&&(PI=t.toLowerCase().replace(/_/g,"-"))}function Xv(t,e,i){let n=t[rt];switch(i){case Node.COMMENT_NODE:return $h(n,e);case Node.TEXT_NODE:return zh(n,e);case Node.ELEMENT_NODE:return uc(n,e,null)}}var SI=(t,e,i,n)=>(gi(!0),Xv(t,i,n));function II(t,e,i,n){return gi(!0),Xv(t,i,n)}function TI(){SI=II}function B(t,e,i,n){let r=Pe(),o=bt(),a=Vt();return Jv(o,r,r[rt],a,t,e,n),B}function DI(t,e,i,n){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===i&&r[o+1]===n){let s=e[va],l=r[o+2];return s.length>l?s[l]:null}typeof a=="string"&&(o+=2)}return null}function Jv(t,e,i,n,r,o,a){let s=tc(n),d=t.firstCreatePass&&_v(t),h=e[jt],_=mv(e),M=!0;if(n.type&3||a){let R=bn(n,e),G=a?a(R):R,q=_.length,ge=a?Ce=>a(Qn(Ce[n.index])):n.index,we=null;if(!a&&s&&(we=DI(t,e,r,n.index)),we!==null){let Ce=we.__ngLastListenerFn__||we;Ce.__ngNextListenerFn__=o,we.__ngLastListenerFn__=o,M=!1}else{o=rC(n,e,h,o,!1);let Ce=i.listen(G,r,o);_.push(o,Ce),d&&d.push(r,ge,q,q+1)}}else o=rC(n,e,h,o,!1);let E=n.outputs,S;if(M&&E!==null&&(S=E[r])){let R=S.length;if(R)for(let G=0;G<R;G+=2){let q=S[G],ge=S[G+1],lt=e[q][ge].subscribe(o),de=_.length;_.push(o,lt),d&&d.push(r,n.index,de,-(de+1))}}}function iC(t,e,i,n){let r=He(null);try{return si(6,e,i),i(n)!==!1}catch(o){return Cv(t,o),!1}finally{si(7,e,i),He(r)}}function rC(t,e,i,n,r){return function o(a){if(a===Function)return n;let s=t.componentOffset>-1?Xi(t.index,e):e;tg(s);let l=iC(e,i,n,a),d=o.__ngNextListenerFn__;for(;d;)l=iC(e,i,d,a)&&l,d=d.__ngNextListenerFn__;return r&&l===!1&&a.preventDefault(),l}}function C(t=1){return wP(t)}function kI(t,e){let i=null,n=TO(t);for(let r=0;r<e.length;r++){let o=e[r];if(o==="*"){i=r;continue}if(n===null?OC(t,o,!0):AO(n,o))return r}return i}function Mc(t){let e=Pe()[cn][vn];if(!e.projection){let i=t?t.length:1,n=e.projection=bO(i,null),r=n.slice(),o=e.child;for(;o!==null;){let a=t?kI(o,t):0;a!==null&&(r[a]?r[a].projectionNext=o:n[a]=o,r[a]=o),o=o.next}}}function wc(t,e=0,i){let n=Pe(),r=bt(),o=ko(r,Ct+t,16,null,i||null);o.projection===null&&(o.projection=e),Ph(),(!n[yn]||Eo())&&(o.flags&32)!==32&&J2(r,n,o)}function pg(t,e,i,n){NS(t,e,i,n)}function wt(t,e,i){AS(t,e,i)}function dt(t){let e=Pe(),i=bt(),n=ZC();Sh(n+1);let r=sg(i,n);if(t.dirty&&rP(e)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=FS(e,n);t.reset(o,zP),t.notifyOnChanges()}return!0}return!1}function ut(){return kS(Pe(),ZC())}function AI(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}function Rt(t){let e=mP();return qC(e,Ct+t)}function b(t,e=""){let i=Pe(),n=bt(),r=t+Ct,o=n.firstCreatePass?ko(n,r,1,e,null):n.data[r],a=eb(n,i,o,e,t);i[r]=a,nc()&&fc(n,i,a,o),Fr(o,!1)}var eb=(t,e,i,n,r)=>(gi(!0),zh(e[rt],n));function NI(t,e,i,n,r){let o=e[yn],a=!o||Eo()||Va(i)||sc(o,r);return gi(a),a?zh(e[rt],n):yc(o,t,e,i)}function RI(){eb=NI}function $(t){return I("",t,""),$}function I(t,e,i){let n=Pe(),r=YS(n,t,e,i);return r!==Jn&&yv(n,Fi(),r),I}function dn(t,e,i,n,r){let o=Pe(),a=QS(o,t,e,i,n,r);return a!==Jn&&yv(o,Fi(),a),dn}function Oc(t,e,i){Bv(e)&&(e=e());let n=Pe(),r=Io();if(Tn(n,r,e)){let o=bt(),a=Dh();uv(o,a,n,t,e,n[rt],i,!1)}return Oc}function fg(t,e){let i=Bv(t);return i&&t.set(e),i}function Pc(t,e){let i=Pe(),n=bt(),r=Vt();return Jv(n,i,i[rt],r,t,e),Pc}function LI(t,e,i){let n=bt();if(n.firstCreatePass){let r=Yi(t);th(i,n.data,n.blueprint,r,!0),th(e,n.data,n.blueprint,r,!1)}}
vendor: 4,272 bytes, line 7
7function th(t,e,i,n,r){if(t=Zt(t),Array.isArray(t))for(let o=0;o<t.length;o++)th(t[o],e,i,n,r);else{let o=bt(),a=Pe(),s=Vt(),l=vo(t)?t:Zt(t.provide),d=RC(t),h=s.providerIndexes&1048575,_=s.directiveStart,M=s.providerIndexes>>20;if(vo(t)||!t.multi){let E=new Ar(d,r,m),S=Qp(l,e,r?h:h+M,_);S===-1?(uf(Al(s,a),o,l),Yp(o,t,e.length),e.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),i.push(E),a.push(E)):(i[S]=E,a[S]=E)}else{let E=Qp(l,e,h+M,_),S=Qp(l,e,h,h+M),R=E>=0&&i[E],G=S>=0&&i[S];if(r&&!G||!r&&!R){uf(Al(s,a),o,l);let q=jI(r?BI:FI,i.length,r,n,d);!r&&G&&(i[S].providerFactory=q),Yp(o,t,e.length,0),e.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),i.push(q),a.push(q)}else{let q=tb(i[r?S:E],d,!r&&n);Yp(o,t,E>-1?E:S,q)}!r&&n&&G&&i[S].componentProviders++}}}function Yp(t,e,i,n){let r=vo(e),o=zO(e);if(r||o){let l=(o?Zt(e.useClass):e).prototype.ngOnDestroy;if(l){let d=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){let h=d.indexOf(i);h===-1?d.push(i,[n,l]):d[h+1].push(n,l)}else d.push(i,l)}}}function tb(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function Qp(t,e,i,n){for(let r=i;r<n;r++)if(e[r]===t)return r;return-1}function FI(t,e,i,n){return nh(this.multi,[])}function BI(t,e,i,n){let r=this.multi,o;if(this.providerFactory){let a=this.providerFactory.componentProviders,s=Nr(i,i[Me],this.providerFactory.index,n);o=s.slice(0,a),nh(r,o);for(let l=a;l<s.length;l++)o.push(s[l])}else o=[],nh(r,o);return o}function nh(t,e){for(let i=0;i<t.length;i++){let n=t[i];e.push(n())}return e}function jI(t,e,i,n,r){let o=new Ar(t,i,m);return o.multi=[],o.index=e,o.componentProviders=0,tb(o,r,n&&!i),o}function ei(t,e=[]){return i=>{i.providersResolver=(n,r)=>LI(n,r?r(t):t,e)}}var VI=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=kC(!1,n.type),o=r.length>0?cg([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=P({token:e,providedIn:"environment",factory:()=>new e(x(en))});let t=e;return t})();function k(t){mi("NgStandalone"),t.getStandaloneInjector=e=>e.get(VI).getOrCreateStandaloneInjector(t)}function Ji(t,e,i,n){return nb(Pe(),So(),t,e,i,n)}function Ec(t,e,i,n,r){return UI(Pe(),So(),t,e,i,n,r)}function Sc(t,e,i,n,r,o,a){return HI(Pe(),So(),t,e,i,n,r,o,a)}function hg(t,e,i,n,r,o,a,s){let l=So()+t,d=Pe(),h=ug(d,l,i,n,r,o);return Tn(d,l+4,a)||h?ja(d,l+5,s?e.call(s,i,n,r,o,a):e(i,n,r,o,a)):Vv(d,l+5)}function Ic(t,e,i,n,r,o,a,s,l){let d=So()+t,h=Pe(),_=ug(h,d,i,n,r,o);return Ta(h,d+4,a,s)||_?ja(h,d+6,l?e.call(l,i,n,r,o,a,s):e(i,n,r,o,a,s)):Vv(h,d+6)}function gg(t,e){let i=t[e];return i===Jn?void 0:i}function nb(t,e,i,n,r,o){let a=e+i;return Tn(t,a,r)?ja(t,a+1,o?n.call(o,r):n(r)):gg(t,a+1)}function UI(t,e,i,n,r,o,a){let s=e+i;return Ta(t,s,r,o)?ja(t,s+2,a?n.call(a,r,o):n(r,o)):gg(t,s+2)}function HI(t,e,i,n,r,o,a,s,l){let d=e+i;return ug(t,d,r,o,a,s)?ja(t,d+4,l?n.call(l,r,o,a,s):n(r,o,a,s)):gg(t,d+4)}function y(t,e){let i=bt(),n,r=t+Ct;i.firstCreatePass?(n=zI(e,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks??=[]).push(r,n.onDestroy)):n=i.data[r];let o=n.factory||(n.factory=Sr(n.type,!0)),a,s=ln(m);try{let l=kl(!1),d=o();return kl(l),AI(i,Pe(),r,d),d}finally{ln(s)}}function zI(t,e){if(e)for(let i=e.length-1;i>=0;i--){let n=e[i];if(t===n.name)return n}}function v(t,e,i){let n=t+Ct,r=Pe(),o=qC(r,n);return $I(r,n)?nb(r,So(),e,o.transform,i,o):o.transform(i)}function $I(t,e){return t[Me].data[e].pure}var Tc=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var ib=new re("");function Vr(t){return!!t&&typeof t.then=="function"}function rb(t){return!!t&&typeof t.subscribe=="function"}var ob=new re(""),ab=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=H(ob,{optional:!0})??[]}
7runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let a=o();if(Vr(a))n.push(a);else if(rb(a)){let s=new Promise((l,d)=>{a.subscribe({complete:l,error:d})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),No=new re("");function GI(){G0(()=>{throw new K(600,!1)})}function qI(t){return t.isBoundToModule}function WI(t,e,i){try{let n=i();return Vr(n)?n.catch(r=>{throw e.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var vi=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=H(my),this.afterRenderEffectManager=H(og),this.externalTestViews=new Set,this.beforeRender=new Le,this.afterTick=new Le,this.componentTypes=[],this.components=[],this.isStable=H(jr).hasPendingTasks.pipe(be(n=>!n)),this._injector=H(en)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof jl;if(!this._injector.get(ab).done){let E=!o&&SC(n),S=!1;throw new K(405,S)}let s;o?s=n:s=this._injector.get(Ao).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let l=qI(s)?void 0:this._injector.get(Zi),d=r||s.selector,h=s.create(Xn.NULL,[],d,l),_=h.location.nativeElement,M=h.injector.get(ib,null);return M?.registerApplication(_),h.onDestroy(()=>{this.detachView(h.hostView),Zp(this.components,h),M?.unregisterApplication(_)}),this._loadComponent(h),h}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new K(101,!1);let r=He(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,He(r)}}detectChangesInAttachedViews(n){let r=0,o=this.afterRenderEffectManager;for(;;){if(r===Mv)throw new K(103,!1);if(n){let a=r===0;this.beforeRender.next(a);for(let{_lView:s,notifyErrorHandler:l}of this._views)KI(s,a,l)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:a})=>ih(a))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:a})=>ih(a))))break}}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Zp(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(No,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Zp(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new K(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Zp(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}var Cl;function mg(t){Cl??=new WeakMap;let e=Cl.get(t);if(e)return e;let i=t.isStable.pipe(Qt(n=>n)).toPromise().then(()=>{});return Cl.set(t,i),t.onDestroy(()=>Cl?.delete(t)),i}function KI(t,e,i){!e&&!ih(t)||YI(t,i,e)}function ih(t){return wh(t)}function YI(t,e,i){let n;i?(n=0,t[xe]|=1024):t[xe]&64?n=0:n=1,wv(t,e,n)}var rh=class{constructor(e,i){this.ngModuleFactory=e,this.componentFactories=i}},_g=(()=>{let e=class e{compileModuleSync(n){return new $f(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=IC(n),a=Wy(o.declarations).reduce((s,l)=>{let d=Tr(l);return d&&s.push(new Sa(d)),s},[]);return new rh(r,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var QI=(()=>{let e=class e{constructor(){this.zone=H(Ke),this.applicationRef=H(vi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ZI(t){return[{provide:Ke,useFactory:t},{provide:Ir,multi:!0,useFactory:()=>{let e=H(QI,{optional:!0});return()=>e.initialize()}},{provide:Ir,multi:!0,useFactory:()=>{let e=H(eT);return()=>{e.initialize()}}},{provide:my,useFactory:XI}]}function XI(){let t=H(Ke),e=H(In);return i=>t.runOutsideAngular(()=>e.handleError(i))}function Cg(t){let e=ZI(()=>new Ke(JI(t)));return pi([[],e])}function JI(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var eT=(()=>{let e=class e{constructor(){this.subscription=new _t,this.initialized=!1,this.zone=H(Ke),this.pendingTasks=H(jr)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ke.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}
vendor: 12,083 bytes, line 7
7))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ke.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function tT(){return typeof $localize<"u"&&$localize.locale||ql}var yg=new re("",{providedIn:"root",factory:()=>H(yg,Fe.Optional|Fe.SkipSelf)||tT()});var sb=new re("");var wl=null;function nT(t=[],e){return Xn.create({name:e,providers:[{provide:Jl,useValue:"platform"},{provide:sb,useValue:new Set([()=>wl=null])},...t]})}function iT(t=[]){if(wl)return wl;let e=nT(t);return wl=e,GI(),rT(e),e}function rT(t){t.get(Nh,null)?.forEach(i=>i())}function lb(){return!1}var xn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=oT;let t=e;return t})();function oT(t){return aT(Vt(),Pe(),(t&16)===16)}function aT(t,e,i){if(Ra(t)&&!i){let n=Xi(t.index,e);return new Rr(n,n)}else if(t.type&47){let n=e[cn];return new Rr(n,e)}return null}var oh=class{constructor(){}supports(e){return jv(e)}create(e){return new ah(e)}},sT=(t,e)=>e,ah=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||sT}forEachItem(e){let i;for(i=this._itHead;i!==null;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,r=0,o=null;for(;i||n;){let a=!n||i&&i.currentIndex<oC(n,r,o)?i:n,s=oC(a,r,o),l=a.currentIndex;if(a===n)r--,n=n._nextRemoved;else if(i=i._next,a.previousIndex==null)r++;else{o||(o=[]);let d=s-r,h=l-r;if(d!=h){for(let M=0;M<d;M++){let E=M<o.length?o[M]:o[M]=0,S=E+M;h<=S&&S<d&&(o[M]=E+1)}let _=a.previousIndex;o[_]=h-d}}s!==l&&e(a,s,l)}}forEachPreviousItem(e){let i;for(i=this._previousItHead;i!==null;i=i._nextPrevious)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachMovedItem(e){let i;for(i=this._movesHead;i!==null;i=i._nextMoved)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}forEachIdentityChange(e){let i;for(i=this._identityChangesHead;i!==null;i=i._nextIdentityChange)e(i)}diff(e){if(e==null&&(e=[]),!jv(e))throw new K(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._itHead,n=!1,r,o,a;if(Array.isArray(e)){this.length=e.length;for(let s=0;s<this.length;s++)o=e[s],a=this._trackByFn(s,o),i===null||!Object.is(i.trackById,a)?(i=this._mismatch(i,o,a,s),n=!0):(n&&(i=this._verifyReinsertion(i,o,a,s)),Object.is(i.item,o)||this._addIdentityChange(i,o)),i=i._next}else r=0,GS(e,s=>{a=this._trackByFn(r,s),i===null||!Object.is(i.trackById,a)?(i=this._mismatch(i,s,a,r),n=!0):(n&&(i=this._verifyReinsertion(i,s,a,r)),Object.is(i.item,s)||this._addIdentityChange(i,s)),i=i._next,r++}),this.length=r;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,r){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,o,r)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,r),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,o,r)):e=this._addAfter(new sh(i,n),o,r)),e}_verifyReinsertion(e,i,n,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;e!==null;){let i=e._next;this._addToRemovals(this._unlink(e)),e=i}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,i,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let r=e._prevRemoved,o=e._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){let r=i===null?this._itHead:i._next;return e._next=r,e._prev=i,r===null?this._itTail=e:r._prev=e,i===null?this._itHead=e:i._next=e,this._linkedRecords===null&&(this._linkedRecords=new Wl),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let i=e._prev,n=e._next;return i===null?this._itHead=n:i._next=n,n===null?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Wl),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},sh=class{constructor(e,i){this.item=e,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},lh=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;n!==null;n=n._nextDup)if((i===null||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let i=e._prevDup,n=e._nextDup;return i===null?this._head=n:i._nextDup=n,n===null?this._tail=i:n._prevDup=i,this._head===null}},Wl=class{constructor(){this.map=new Map}put(e){let i=e.trackById,n=this.map.get(i);n||(n=new lh,this.map.set(i,n)),n.add(e)}get(e,i){let n=e,r=this.map.get(n);return r?r.get(e,i):null}remove(e){let i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function oC(t,e,i){let n=t.previousIndex;if(n===null)return n;let r=0;return i&&n<i.length&&(r=i[n]),n+e+r}var ch=class{constructor(){}supports(e){return e instanceof Map||dg(e)}create(){return new dh}},dh=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let i;for(i=this._mapHead;i!==null;i=i._next)e(i)}forEachPreviousItem(e){let i;for(i=this._previousMapHead;i!==null;i=i._nextPrevious)e(i)}forEachChangedItem(e){let i;for(i=this._changesHead;i!==null;i=i._nextChanged)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||dg(e)))throw new K(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,r)=>{if(i&&i.key===r)this._maybeAddToChanges(i,n),this._appendAfter=i,i=i._next;else{let o=this._getOrCreateRecordForKey(r,n);i=this._insertBeforeOrAppend(i,o)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let n=i;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,i){if(e){let n=e._prev;return i._next=e,i._prev=n,e._prev=i,n&&(n._next=i),e===this._mapHead&&(this._mapHead=i),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(e,i){if(this._records.has(e)){let r=this._records.get(e);this._maybeAddToChanges(r,i);let o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}let n=new uh(e);return this._records.set(e,n),n.currentValue=i,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,i){Object.is(i,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=i,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,i){e instanceof Map?e.forEach(i):Object.keys(e).forEach(n=>i(e[n],n))}},uh=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function aC(){return new vg([new oh])}var vg=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||aC()),deps:[[e,new fh,new Zl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new K(901,!1)}};e.\u0275prov=P({token:e,providedIn:"root",factory:aC});let t=e;return t})();function sC(){return new bg([new ch])}var bg=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||sC()),deps:[[e,new fh,new Zl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new K(901,!1)}};e.\u0275prov=P({token:e,providedIn:"root",factory:sC});let t=e;return t})();function cb(t){try{let{rootComponent:e,appProviders:i,platformProviders:n}=t,r=iT(n),o=[Cg(),...i||[]],s=new zl({providers:o,parent:r,debugName:"",runEnvironmentInitializer
7s:!1}).injector,l=s.get(Ke);return l.run(()=>{s.resolveInjectorInitializers();let d=s.get(In,null),h;l.runOutsideAngular(()=>{h=l.onError.subscribe({next:E=>{d.handleError(E)}})});let _=()=>s.destroy(),M=r.get(sb);return M.add(_),s.onDestroy(()=>{h.unsubscribe(),M.delete(_)}),WI(d,l,()=>{let E=s.get(ab);return E.runInitializers(),E.donePromise.then(()=>{let S=s.get(yg,ql);EI(S||ql);let R=s.get(vi);return e!==void 0&&R.bootstrap(e),R})})})}catch(e){return Promise.reject(e)}}var lC=!1,lT=!1;function cT(){lC||(lC=!0,c2(),xI(),RI(),OI(),KS(),ES(),nS(),cE(),TI())}function dT(t,e){return mg(t)}function db(){return pi([{provide:pl,useFactory:()=>{let t=!0;return ga()&&(t=!!H(Br,{optional:!0})?.get(Ey,null)),t&&mi("NgHydration"),t}},{provide:Ir,useValue:()=>{lT=!!H(h2,{optional:!0}),ga()&&H(pl)&&(uT(),cT())},multi:!0},{provide:Dy,useFactory:()=>ga()&&H(pl)},{provide:No,useFactory:()=>{if(ga()&&H(pl)){let t=H(vi),e=H(Xn);return()=>{dT(t,e).then(()=>{WE(t)})}}return()=>{}},multi:!0}])}function uT(){let t=La(),e;for(let i of t.body.childNodes)if(i.nodeType===Node.COMMENT_NODE&&i.textContent?.trim()===s2){e=i;break}if(!e)throw new K(-507,!1)}function er(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}var mb=null;function bi(){return mb}function _b(t){mb??=t}var Dc=class{};var Ze=new re(""),Cb=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:()=>H(pT),providedIn:"platform"});let t=e;return t})();var pT=(()=>{let e=class e extends Cb{constructor(){super(),this._doc=H(Ze),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return bi().getBaseHref(this._doc)}onPopState(n){let r=bi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=bi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function yb(t,e){if(t.length==0)return e;if(e.length==0)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,i==2?t+e.substring(1):i==1?t+e:t+"/"+e}function ub(t){let e=t.match(/#|\?|$/),i=e&&e.index||t.length,n=i-(t[i-1]==="/"?1:0);return t.slice(0,n)+t.slice(i)}function Ur(t){return t&&t[0]!=="?"?"?"+t:t}var Hr=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:()=>H(vb),providedIn:"root"});let t=e;return t})(),fT=new re(""),vb=(()=>{let e=class e extends Hr{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??H(Ze).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return yb(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Ur(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,a){let s=this.prepareExternalUrl(o+Ur(a));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,a){let s=this.prepareExternalUrl(o+Ur(a));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(r){return new(r||e)(x(Cb),x(fT,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ua=(()=>
7{let e=class e{constructor(n){this._subject=new _e,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=mT(ub(pb(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Ur(r))}normalize(n){return e.stripTrailingSlash(gT(this._basePath,pb(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ur(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ur(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}};e.normalizeQueryParams=Ur,e.joinWithSlash=yb,e.stripTrailingSlash=ub,e.\u0275fac=function(r){return new(r||e)(x(Hr))},e.\u0275prov=P({token:e,factory:()=>hT(),providedIn:"root"});let t=e;return t})();function hT(){return new Ua(x(Hr))}function gT(t,e){if(!t||!e.startsWith(t))return e;let i=e.substring(t.length);return i===""||["/",";","?","#"].includes(i[0])?i:e}function pb(t){return t.replace(/\/index.html$/,"")}function mT(t){if(new RegExp("^(https?:)?//").test(t)){let[,i]=t.split(/\/\/[^\/]+/);return i}return t}function kc(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[r,o]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}var xg=/\s+/,fb=[],nn=(()=>{let e=class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=fb,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(xg):fb}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(xg):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(xg).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(r){return new(r||e)(m($e),m(At))},e.\u0275dir=Qe({type:e,selectors:[["","ngClass",""]],inputs:{klass:[gt.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Mg=class{constructor(e,i,n,r){this.$implicit=e,this.ngForOf=i,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},rn=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;
7n.forEachOperation((o,a,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Mg(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(a===null?void 0:a);else if(a!==null){let l=r.get(a);r.move(l,s),hb(l,o)}});for(let o=0,a=r.length;o<a;o++){let l=r.get(o).context;l.index=o,l.count=a,l.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let a=r.get(o.currentIndex);hb(a,o)})}static ngTemplateContextGuard(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(m(_i),m(ui),m(vg))},e.\u0275dir=Qe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function hb(t,e){t.context.$implicit=e.item}var Ha=(()=>{let e=class e{constructor(n,r){this._viewContainer=n,this._context=new wg,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){gb("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){gb("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(m(_i),m(ui))},e.\u0275dir=Qe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),wg=class{constructor(){this.$implicit=null,this.ngIf=null}};function gb(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Jt(e)}'.`)}var _T=!0,Og=class{constructor(e,i){this._viewContainerRef=e,this._templateRef=i,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},Vi=(()=>{let e=class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let r=_T?n===this._ngSwitch:n==this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let r of this._defaultViews)r.enforceState(n)}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Qe({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let t=e;return t})(),tr=(()=>{let e=class e{constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new Og(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};e.\u0275fac=function(r){return new(r||e)(m(_i),m(ui),m(Vi,9))},e.\u0275dir=Qe({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let t=e;return t})();var bb=(()=>{let e=class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,a]=n.split("."),s=o.indexOf("-")===-1?void 0:di.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,a?`${r}${a}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}
7_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}};e.\u0275fac=function(r){return new(r||e)(m($e),m(bg),m(At))},e.\u0275dir=Qe({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),xb=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}};e.\u0275fac=function(r){return new(r||e)(m(_i))},e.\u0275dir=Qe({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[tn]});let t=e;return t})();var Ye=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=vt({type:e}),e.\u0275inj=yt({});let t=e;return t})(),Ig="browser",CT="server";function Xe(t){return t===Ig}function za(t){return t===CT}var Mb=(()=>{let e=class e{};e.\u0275prov=P({token:e,providedIn:"root",factory:()=>Xe(H(De))?new Pg(H(Ze),window):new Eg});let t=e;return t})(),Pg=class{constructor(e,i){this.document=e,this.window=i,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let i=yT(this.document,e);i&&(this.scrollToElement(i),i.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let i=e.getBoundingClientRect(),n=i.left+this.window.pageXOffset,r=i.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}};function yT(t,e){let i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let o=r.shadowRoot;if(o){let a=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(a)return a}r=n.nextNode()}}return null}var Eg=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Ro=class{};var Ga=class{},qa=class{},Nn=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
8`).forEach(i=>{let n=i.indexOf(":");if(n>0){let r=i.slice(0,n),o=r.toLowerCase(),a=i.slice(n+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((i,n)=>{this.setHeaderEntries(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e
vendor: 5,056 bytes, line 8
8=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){let i=new t;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){let i=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,i);let r=(e.op==="a"?this.headers.get(i):void 0)||[];r.push(...n),this.headers.set(i,r);break;case"d":let o=e.value;if(!o)this.headers.delete(i),this.normalizedNames.delete(i);else{let a=this.headers.get(i);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,a)}break}}setHeaderEntries(e,i){let n=(Array.isArray(i)?i:[i]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}};var kg=class{encodeKey(e){return wb(e)}encodeValue(e){return wb(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function bT(t,e){let i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,s]=o==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=i.get(a)||[];l.push(s),i.set(a,l)}),i}var xT=/%(\d[a-f0-9])/gi,MT={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function wb(t){return encodeURIComponent(t).replace(xT,(e,i)=>MT[i]??e)}function Ac(t){return`${t}`}var ir=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new kg,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=bT(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(i=>{let n=e.fromObject[i],r=Array.isArray(n)?n.map(Ac):[Ac(n)];this.map.set(i,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let i=this.map.get(e);return i?i[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,i){return this.clone({param:e,value:i,op:"a"})}appendAll(e){let i=[];return Object.keys(e).forEach(n=>{let r=e[n];Array.isArray(r)?r.forEach(o=>{i.push({param:n,value:o,op:"a"})}):i.push({param:n,value:r,op:"a"})}),this.clone(i)}set(e,i){return this.clone({param:e,value:i,op:"s"})}delete(e,i){return this.clone({param:e,value:i,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let i=this.encoder.encodeKey(e);return this.map.get(e).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let i=new t({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let i=(e.op==="a"?this.map.get(e.param):void 0)||[];i.push(Ac(e.value)),this.map.set(e.param,i);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],r=n.indexOf(Ac(e.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Ag=class{constructor(){this.map=new Map}set(e,i){return this.map.set(e,i),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function wT(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Ob(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Pb(t){return typeof Blob<"u"&&t instanceof Blob}function Eb(t){return typeof FormData<"u"&&t instanceof FormData}function OT(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var $a=class t{constructor(e,i,n,r){this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(wT(this.method)||r?(this.body=n!==void 0?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Nn,this.context??=new Ag,!this.params)this.params=new ir,this.urlWithParams=i;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=i;else{let s=i.indexOf("?"),l=s===-1?"?":s<i.length-1?"&":"";this.urlWithParams=i+l+a}}}serializeBody(){return this.body===null?null:typeof this.body=="str
8ing"||Ob(this.body)||Pb(this.body)||Eb(this.body)||OT(this.body)?this.body:this.body instanceof ir?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Eb(this.body)?null:Pb(this.body)?this.body.type||null:Ob(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof ir?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let i=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,o=e.transferCache??this.transferCache,a=e.body!==void 0?e.body:this.body,s=e.withCredentials??this.withCredentials,l=e.reportProgress??this.reportProgress,d=e.headers||this.headers,h=e.params||this.params,_=e.context??this.context;return e.setHeaders!==void 0&&(d=Object.keys(e.setHeaders).reduce((M,E)=>M.set(E,e.setHeaders[E]),d)),e.setParams&&(h=Object.keys(e.setParams).reduce((M,E)=>M.set(E,e.setParams[E]),h)),new t(i,n,a,{params:h,headers:d,context:_,reportProgress:l,responseType:r,withCredentials:s,transferCache:o})}},rr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(rr||{}),Wa=class{constructor(e,i=Ka.Ok,n="OK"){this.headers=e.headers||new Nn,this.status=e.status!==void 0?e.status:i,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Rc=class t extends Wa{constructor(e={}){super(e),this.type=rr.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},zr=class t extends Wa{constructor(e={}){super(e),this.type=rr.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},nr=class extends Wa{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Ka=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(Ka||{});function Tg(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Ya=(()=>{let e=class e{constructor(n){this.handler=n}request(n,r,o={}){let a;if(n instanceof $a)a=n;else{let d;o.headers instanceof Nn?d=o.headers:d=new Nn(o.headers);let h;o.params&&(o.params instanceof ir?h=o.params:h=new ir({fromObject:o.params})),a=new $a(n,r,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=pe(a).pipe(ai(d=>this.handler.handle(d)));if(n instanceof $a||o.observe==="events")return s;let l=s.pipe(ft(d=>d instanceof zr));switch(o.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return l.pipe(be(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(be(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(be(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return l.pipe(be(d=>d.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new ir().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Tg(o,r))}post(n,r,o={}){return this.request("POST",n,Tg(o,r))}put(n,r,o={}){return this.request("PUT",n,Tg(o,r))}};e.\u0275fac=function(r){return new(r||e)(x(Ga))},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})(),PT=/^\)\]\}',?\n/,ET="X-Request-URL";function Sb(t){if(t.url)return t.url;let e=ET.toLocaleLowerCase();return t.headers.get(e)}var Dg=(()=>{let e=class e{constructor(){this.fetchImpl=H(Ng,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=H(Ke)}handle(n){return new Ne(r=>{let o=new AbortController;return this.doRequest(n,o.signal,r).then(Rg,a=>r.error(new nr({error:a}))),()=>o.abort()})}doRequest(n,r,o){return Kt(this,null,function*(){let a=this.createRequestInit(n),s;try{let S=this.fetchImpl(n.urlWithParams,Y({signal:r},a));ST(S),o.next({type:rr.Sent}),s=yield S}catch(S){o.error(new nr({error:S,status:S.status??0,statusText:S.statusText,url:n.urlWithParams,headers:S.headers}));return}let l=new Nn(s.headers),d=s.statusText,h=Sb(s)??n.urlWithParams,_=s.status,M=null;if(n.reportProgress&&o.next(new Rc({headers:l,status:_,statusText:d,url:h})),s.body){let S=s.headers.get("content-length"),R=[],G=s.body.getReader(),q=0,ge,we,Ce=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Kt(this,null,function*(){for(;;){let{done:de,value:te}=yield G.read();if(de)break;if(R.push(te),q+=te.length,n.reportProgress){we=n.responseType==="text"?(we??"")+(ge??=new TextDecoder).decode(te,{stream:!0}):void 0;let Ue=()=>o.next({type:rr.DownloadProgress,total:S?+S:void 0,loaded:q,partialText:we});Ce?Ce.run(Ue):Ue()}}}));let lt=this.concatChunks(R,q);try{let de=s.headers.get("Content-Type")??"";M=this.parseBody(n,lt,de)}catch(de){o.error(new nr({error:de,headers:new Nn(s.headers),status:s.status,statusText:s.statusText,url:Sb(s)??n.urlWithParams}));return}}_===0&&(_=M?Ka.Ok:0),_>=200&&_<300?(o.next(new zr({body:M,headers:l,status:_,statusText:d,url:h})),o.complete()):o.error(new nr({error:M,headers:l,status:_,statusText:d,url:h}))})}parseBody(n,r,o){switch(n.responseType){case"json":let a=new TextDecoder().decode(r).replace(PT,"");return a===""?null:JSON.parse(a);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o=n.withCredentials?"include":void 0;
8if(n.headers.forEach((a,s)=>r[a]=s.join(",")),r.Accept??="application/json, text/plain, */*",!r["Content-Type"]){let a=n.detectContentTypeHeader();a!==null&&(r["Content-Type"]=a)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){let o=new Uint8Array(r),a=0;for(let s of n)o.set(s,a),a+=s.length;return o}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})(),Ng=class{};function Rg(){}function ST(t){t.then(Rg,Rg)}function jb(t,e){return e(t)}function IT(t,e){return(i,n)=>e.intercept(i,{handle:r=>t(r,n)})}function TT(t,e,i){return(n,r)=>fi(i,()=>e(n,o=>t(o,r)))}var Lg=new re(""),Fg=new re(""),Vb=new re(""),Ub=new re("");function DT(){let t=null;return(e,i)=>{t===null&&(t=(H(Lg,{optional:!0})??[]).reduceRight(IT,jb));let n=H(jr),r=n.add();return t(e,i).pipe(qi(()=>n.remove(r)))}}var Ib=(()=>{let e=class e extends Ga{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=H(jr);let o=H(Ub,{optional:!0});this.backend=o??n}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Fg),...this.injector.get(Vb,[])]));this.chain=o.reduceRight((a,s)=>TT(a,s,this.injector),jb)}let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(qi(()=>this.pendingTasks.remove(r)))}};e.\u0275fac=function(r){return new(r||e)(x(qa),x(en))},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})();var kT=/^\)\]\}',?\n/;function AT(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Tb=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new K(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?nt(r.\u0275loadImpl()):pe(null)).pipe(ht(()=>new Ne(a=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((G,q)=>s.setRequestHeader(G,q.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let G=n.detectContentTypeHeader();G!==null&&s.setRequestHeader("Content-Type",G)}if(n.responseType){let G=n.responseType.toLowerCase();s.responseType=G!=="json"?G:"text"}let l=n.serializeBody(),d=null,h=()=>{if(d!==null)return d;let G=s.statusText||"OK",q=new Nn(s.getAllResponseHeaders()),ge=AT(s)||n.url;return d=new Rc({headers:q,status:s.status,statusText:G,url:ge}),d},_=()=>{let{headers:G,status:q,statusText:ge,url:we}=h(),Ce=null;q!==Ka.NoContent&&(Ce=typeof s.response>"u"?s.responseText:s.response),q===0&&(q=Ce?Ka.Ok:0);let lt=q>=200&&q<300;if(n.responseType==="json"&&typeof Ce=="string"){let de=Ce;Ce=Ce.replace(kT,"");try{Ce=Ce!==""?JSON.parse(Ce):null}catch(te){Ce=de,lt&&(lt=!1,Ce={error:te,text:Ce})}}lt?(a.next(new zr({body:Ce,headers:G,status:q,statusText:ge,url:we||void 0})),a.complete()):a.error(new nr({error:Ce,headers:G,status:q,statusText:ge,url:we||void 0}))},M=G=>{let{url:q}=h(),ge=new nr({error:G,status:s.status||0,statusText:s.statusText||"Unknown Error",url:q||void 0});a.error(ge)},E=!1,S=G=>{E||(a.next(h()),E=!0);let q={type:rr.DownloadProgress,loaded:G.loaded};G.lengthComputable&&(q.total=G.total),n.responseType==="text"&&s.responseText&&(q.partialText=s.responseText),a.next(q)},R=G=>{let q={type:rr.UploadProgress,loaded:G.loaded};G.lengthComputable&&(q.total=G.total),a.next(q)};return s.addEventListener("load",_),s.addEventListener("error",M),s.addEventListener("timeout",M),s.addEventListener("abort",M),n.reportProgress&&(s.addEventListener("progress",S),l!==null&&s.upload&&s.upload.addEventListener("progress",R)),s.send(l),a.next({type:rr.Sent}),()=>{s.removeEventListener("error",M),s.removeEventListener("abort",M),s.removeEventListener("load",_),s.removeEventListener("timeout",M),n.reportProgress&&(s.removeEventListener("progress",S),l!==null&&s.upload&&s.upload.removeEventListener("progress",R)),s.readyState!==s.DONE&&s.abort()}})))}};e.\u0275fac=function(r){return new(r||e)(x(Ro))},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})(),Hb=new re(""),NT="XSRF-TOKEN",RT=new re("",{providedIn:"root",factory:()=>NT}),LT="X-XSRF-TOKEN",FT=new re("",{providedIn:"root",factory:()=>LT}),Lc=class{},BT=(()=>{let e=class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=kc(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(r){return new(r||e)(x(Ze),x(De),x(RT))},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})();function jT(t,e){let i=t.url.toLowerCase();if(!H(Hb)||t.method==="GET"||t.method==="HEAD"||i.startsWith("http://")||i.startsWith("https://"))return e(t);let n=H(Lc).getToken(),r=H(FT);return n!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),e(t)}var Bg=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Bg||{});function zb(t,e){return{\u0275kind:t,\u0275providers:e}}function $b(...t){let e=[Ya,Tb,Ib,{provide:Ga,useExisting:Ib},{provide:qa,useExisting:Tb},{provide:Fg,useValue:jT,multi:!0},{provide:Hb,useValue:!0},{provide:Lc,useClass:BT}];for(let i of t)e.push(...i.\u0275providers);return pi(e)}var Db=new re("");function Gb(){return zb(Bg.LegacyInterceptors,[{provide:Db,useFactory:DT},{provide:Fg,useExisting:Db,multi:!0}])}function qb(){return zb(Bg.Fetch,[Dg,{provide:qa,useExisting:Dg},{provide:Ub,useExisting:Dg}])}var kb="b",Ab="h",Nb="s",Rb="st",Lb="u",Fb="rt",Nc=new re(""),VT=["GET","HEAD"];function UT(t,e){let _=H(Nc),{isCacheActive:i}=_,n=yr(_,["isCacheActive"]),{transferCache:r,method:o}=t;if(!i||o==="POST"&&!n.includePostRequests&&!r||o!=="POST"&&!VT.includes(o)||r===!1||n.filter?.(t)===!1)return e(t);let a=H(Br),s=zT(t),l=a.get(s,null),d=n.includeHeaders;if(typeof r=="object"&&r.includeHeaders&&(d=r.includeHeaders),l){let{[kb]:M,[Fb]:E,[Ab]:S,[Nb]:R,[Rb]:G,[Lb]:q}=l,ge=M;switch(E){case"arraybuffer":ge=new TextEncoder().encode(M).buffer;break;case"blob":ge=new Blob([M]);break}let we=new Nn(S);return pe(new zr({body:ge,headers:we,status:R,statusText:G,url:q}))}let h=za(H(De));return e(t).pipe(Oe(M=>{M instanceof zr&&h&&a.set(s,{[kb]:M.body,[Ab]:HT(M.headers,d),[Nb]:M.status,[Rb]:M.statusText,[Lb]:M.url||"",[Fb]:t.responseType})}))}function HT(t,e){if(!e)return{};let i={};for(let n of e){let r=t.getAll(n);r!==null&&(i[n]=r)}return i}function Bb(t){return[...t.keys()].sort().map(e=>`${e}=${t.getAll(e)}`).join("&")}function zT(t){let{params:e,method:i,responseType:n,url:r}=t,o=Bb(e),a=t.serializeBody();a instanceof URLSearchParams?a=Bb(a):typeof a!="string"&&(a="");let s=[i,n,r,a,o].join("|"),l=$T(s);return l}function $T(t){let e=0;for(let i of t)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,e.toString()}function Wb(t){return[{provide:Nc,useFactory:()=>(mi("NgHttpTransferCache"),Y({isCacheActive:!0},t))},{provide:Vb,useValue:UT,multi:!0,deps:[Br,Nc]},{provide:No,multi:!0,useFactory:()=>{let e=H(vi),i=H(Nc);return()=>{mg(e).then(()=>{i.isCacheActive=!1})}}}]}var Ug=class extends Dc{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Hg=class t extends Ug{static makeCurrent(){_b(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}
8isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=qT();return i==null?null:WT(i)}resetBaseElement(){Qa=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return kc(document.cookie,e)}},Qa=null;function qT(){return Qa=Qa||document.querySelector("base"),Qa?Qa.getAttribute("href"):null}function WT(t){return new URL(t,document.baseURI).pathname}var KT=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})(),zg=new re(""),Qb=(()=>{let e=class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(a=>a.supports(n)),!r)throw new K(5101,!1);return this._eventNameToPlugin.set(n,r),r}};e.\u0275fac=function(r){return new(r||e)(x(zg),x(Ke))},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})(),Fc=class{constructor(e){this._doc=e}},jg="ng-app-id",Zb=(()=>{let e=class e{constructor(n,r,o,a={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=za(a),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${jg}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){let o=this.styleRef;if(o.has(n)){let a=o.get(n);return a.usage+=r,a.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let o=this.styleNodesInDOM,a=o?.get(r);if(a?.parentNode===n)return o.delete(r),a.removeAttribute(jg),a;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(jg,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){let o=this.getStyleElement(n,r),a=this.styleRef,s=a.get(r)?.elements;s?s.push(o):a.set(r,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(x(Ze),x(oc),x(Lh,8),x(De))},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})(),Vg={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},qg=/%COMP%/g,Xb="%COMP%",YT=`_nghost-${Xb}`,QT=`_ngcontent-${Xb}`,ZT=!0,XT=new re("",{providedIn:"root",factory:()=>ZT});function JT(t){return QT.replace(qg,t)}function eD(t){return YT.replace(qg,t)}function Jb(t,e){return e.map(i=>i.replace(qg,t))}var Bc=(()=>{let e=class e{constructor(n,r,o,a,s,l,d,h=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=a,this.doc=s,this.platformId=l,this.ngZone=d,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=za(l),this.defaultRenderer=new Za(n,s,d,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===ci.ShadowDom&&(r=ze(Y({},r),{encapsulation:ci.Emulated}));let o=this.getOrCreateRenderer(n,r);
8return o instanceof jc?o.applyToHost(n):o instanceof Xa&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,a=o.get(r.id);if(!a){let s=this.doc,l=this.ngZone,d=this.eventManager,h=this.sharedStylesHost,_=this.removeStylesOnCompDestroy,M=this.platformIsServer;switch(r.encapsulation){case ci.Emulated:a=new jc(d,h,r,this.appId,_,s,l,M);break;case ci.ShadowDom:return new $g(d,h,n,r,s,l,this.nonce,M);default:a=new Xa(d,h,r,_,s,l,M);break}o.set(r.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(x(Qb),x(Zb),x(oc),x(XT),x(Ze),x(De),x(Ke),x(Lh))},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})(),Za=class{constructor(e,i,n,r){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(Vg[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(Kb(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(Kb(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new K(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,r){if(r){i=r+":"+i;let o=Vg[r];o?e.setAttributeNS(o,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let r=Vg[n];r?e.removeAttributeNS(r,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,r){r&(di.DashCase|di.Important)?e.style.setProperty(i,n,r&di.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&di.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=bi().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function Kb(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var $g=class extends Za{constructor(e,i,n,r,o,a,s,l){super(e,o,a,l),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=Jb(r.id,r.styles);for(let h of d){let _=document.createElement("style");s&&_.setAttribute("nonce",s),_.textContent=h,this.shadowRoot.appendChild(_)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xa=class extends Za{constructor(e,i,n,r,o,a,s,l){super(e,o,a,s),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=l?Jb(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},jc=class extends Xa{constructor(e,i,n,r,o,a,s,l){let d=r+"-"+n.id;super(e,i,n,o,a,s,l,d),this.contentAttr=JT(d),this.hostAttr=eD(d)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},tD=(()=>{let e=class e extends Fc{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}};e.\u0275fac=function(r){return new(r||e)(x(Ze))},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})(),Yb=["alt","control","meta","shift"],nD={"\b":"Backspace","	":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},iD={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},rD=(()=>{let e=class e extends Fc{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let a=e.parseEventName(r),s=e.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>bi().onAndCancel(n,a.domEventName,s))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let a=e._normalizeKey(r.pop()),s="",l=r.indexOf("code");if(l>-1&&(r.splice(l,1),s="code."),Yb.forEach(h=>{let _=r.indexOf(h);_>-1&&(r.splice(_,1),s+=h+".")}),s+=a,r.length!=0||a.length===0)return null;let d={};return d.domEventName=o,d.fullKey=s,d}static matchEventFullKeyCode(n,r){let o=nD[n.key]||n.key,a="";return r.indexOf("code.")>
8-1&&(o=n.code,a="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Yb.forEach(s=>{if(s!==o){let l=iD[s];l(n)&&(a+=s+".")}}),a+=o,a===r)}static eventCallback(n,r,o){return a=>{e.matchEventFullKeyCode(a,n)&&o.runGuarded(()=>r(a))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(r){return new(r||e)(x(Ze))},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})();function ex(t,e){return cb(Y({rootComponent:t},oD(e)))}function oD(t){return{appProviders:[...dD,...t?.providers??[]],platformProviders:cD}}function aD(){Hg.makeCurrent()}function sD(){return new In}function lD(){return My(document),document}var cD=[{provide:De,useValue:Ig},{provide:Nh,useValue:aD,multi:!0},{provide:Ze,useFactory:lD,deps:[]}];var dD=[{provide:Jl,useValue:"root"},{provide:In,useFactory:sD,deps:[]},{provide:zg,useClass:tD,multi:!0,deps:[Ze,Ke,De]},{provide:zg,useClass:rD,multi:!0,deps:[Ze]},Bc,Zb,Qb,{provide:Ri,useExisting:Bc},{provide:Ro,useClass:KT,deps:[]},[]];var tx=(()=>{let e=class e{constructor(n){this._doc=n,this._dom=bi()}addTag(n,r=!1){return n?this._getOrCreateElement(n,r):null}addTags(n,r=!1){return n?n.reduce((o,a)=>(a&&o.push(this._getOrCreateElement(a,r)),o),[]):[]}getTag(n){return n&&this._doc.querySelector(`meta[${n}]`)||null}getTags(n){if(!n)return[];let r=this._doc.querySelectorAll(`meta[${n}]`);return r?[].slice.call(r):[]}updateTag(n,r){if(!n)return null;r=r||this._parseSelector(n);let o=this.getTag(r);return o?this._setMetaElementAttributes(n,o):this._getOrCreateElement(n,!0)}removeTag(n){this.removeTagElement(this.getTag(n))}removeTagElement(n){n&&this._dom.remove(n)}_getOrCreateElement(n,r=!1){if(!r){let s=this._parseSelector(n),l=this.getTags(s).filter(d=>this._containsAttributes(n,d))[0];if(l!==void 0)return l}let o=this._dom.createElement("meta");return this._setMetaElementAttributes(n,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}_setMetaElementAttributes(n,r){return Object.keys(n).forEach(o=>r.setAttribute(this._getMetaKeyMap(o),n[o])),r}_parseSelector(n){let r=n.name?"name":"property";return`${r}="${n[r]}"`}_containsAttributes(n,r){return Object.keys(n).every(o=>r.getAttribute(this._getMetaKeyMap(o))===n[o])}_getMetaKeyMap(n){return uD[n]||n}};e.\u0275fac=function(r){return new(r||e)(x(Ze))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),uD={httpEquiv:"http-equiv"},Vc=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(r){return new(r||e)(x(Ze))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Et=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=x(pD),o},providedIn:"root"});let t=e;return t})(),pD=(()=>{let e=class e extends Et{constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Ut.NONE:return r;case Ut.HTML:return Bi(r,"HTML")?kn(r):Vh(this._doc,String(r)).toString();case Ut.STYLE:return Bi(r,"Style")?kn(r):r;case Ut.SCRIPT:if(Bi(r,"Script"))return kn(r);throw new K(5200,!1);case Ut.URL:return Bi(r,"URL")?kn(r):cc(String(r));case Ut.RESOURCE_URL:if(Bi(r,"ResourceURL"))return kn(r);throw new K(5201,!1);default:throw new K(5202,!1)}}bypassSecurityTrustHtml(n){return Ny(n)}bypassSecurityTrustStyle(n){return Ry(n)}bypassSecurityTrustScript(n){return Ly(n)}bypassSecurityTrustUrl(n){return Fy(n)}bypassSecurityTrustResourceUrl(n){return By(n)}};e.\u0275fac=function(r){return new(r||e)(x(Ze))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Gg=function(t){return t[t.NoHttpTransferCache=0]="NoHttpTransferCache",t[t.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",t}(Gg||{});function nx(...t){let e=[],i=new Set,n=i.has(Gg.HttpTransferCacheOptions);for(let{\u0275providers:r,\u0275kind:o}of t)i.add(o),r.length&&e.push(r);return pi([[],db(),i.has(Gg.NoHttpTransferCache)||n?[]:Wb({}),e])}var Te="primary",ps=Symbol("RouteTitle"),Zg=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function Vo(t){return new Zg(t)}function fD(t,e,i){let n=i.path.split("/");if(n.length>t.length||i.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let r={};for(let o=0;o<n.length;o++){let a=n[o],s=t[o];if(a.startsWith(":"))r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:t.slice(0,n.length),posParams:r}}function hD(t,e){if(t.length!==e.length)return!1;for(let i=0;i<t.length;++i)if(!xi(t[i],e[i]))return!1;return!0}function xi(t,e){let i=t?Xg(t):void 0,n=e?Xg(e):void 0;if(!i||!n||i.length!=n.length)return!1;let r;for(let o=0;o<i.length;o++)if(r=i[o],!lx(t[r],e[r]))return!1;return!0}function Xg(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function lx(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let i=[...t].sort(),n=[...e].sort();return i.every((r,o)=>n[o]===r)}else return t===e}function cx(t){return t.length>0?t[t.length-1]:null}function cr(t){return zn(t)?t:Vr(t)?nt(Promise.resolve(t)):pe(t)}var gD={exact:ux,subset:px},dx={exact:mD,subset:_D,ignored:()=>!0};function ix(t,e,i){return gD[i.paths](t.root,e.root,i.matrixParams)&&dx[i.queryParams](t.queryParams,e.queryParams)&&!(i.fragment==="exact"&&t.fragment!==e.fragment)}function mD(t,e){return xi(t,e)}function ux(t,e,i){if(!Gr(t.segments,e.segments)||!zc(t.segments,e.segments,i)||t.numberOfChildren!==e.numberOfChildren)return!1;
8for(let n in e.children)if(!t.children[n]||!ux(t.children[n],e.children[n],i))return!1;return!0}function _D(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>lx(t[i],e[i]))}function px(t,e,i){return fx(t,e,e.segments,i)}function fx(t,e,i,n){if(t.segments.length>i.length){let r=t.segments.slice(0,i.length);return!(!Gr(r,i)||e.hasChildren()||!zc(r,i,n))}else if(t.segments.length===i.length){if(!Gr(t.segments,i)||!zc(t.segments,i,n))return!1;for(let r in e.children)if(!t.children[r]||!px(t.children[r],e.children[r],n))return!1;return!0}else{let r=i.slice(0,t.segments.length),o=i.slice(t.segments.length);return!Gr(t.segments,r)||!zc(t.segments,r,n)||!t.children[Te]?!1:fx(t.children[Te],e,o,n)}}function zc(t,e,i){return e.every((n,r)=>dx[i](t[r].parameters,n.parameters))}var or=class{constructor(e=new Je([],{}),i={},n=null){this.root=e,this.queryParams=i,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Vo(this.queryParams),this._queryParamMap}toString(){return vD.serialize(this)}},Je=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $c(this)}},$r=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap??=Vo(this.parameters),this._parameterMap}toString(){return gx(this)}};function CD(t,e){return Gr(t,e)&&t.every((i,n)=>xi(i.parameters,e[n].parameters))}function Gr(t,e){return t.length!==e.length?!1:t.every((i,n)=>i.path===e[n].path)}function yD(t,e){let i=[];return Object.entries(t.children).forEach(([n,r])=>{n===Te&&(i=i.concat(e(r,n)))}),Object.entries(t.children).forEach(([n,r])=>{n!==Te&&(i=i.concat(e(r,n)))}),i}var id=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:()=>new qc,providedIn:"root"});let t=e;return t})(),qc=class{parse(e){let i=new em(e);return new or(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i=`/${Ja(e.root,!0)}`,n=MD(e.queryParams),r=typeof e.fragment=="string"?`#${bD(e.fragment)}`:"";return`${i}${n}${r}`}},vD=new qc;function $c(t){return t.segments.map(e=>gx(e)).join("/")}function Ja(t,e){if(!t.hasChildren())return $c(t);if(e){let i=t.children[Te]?Ja(t.children[Te],!1):"",n=[];return Object.entries(t.children).forEach(([r,o])=>{r!==Te&&n.push(`${r}:${Ja(o,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}else{let i=yD(t,(n,r)=>r===Te?[Ja(t.children[Te],!1)]:[`${r}:${Ja(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[Te]!=null?`${$c(t)}/${i[0]}`:`${$c(t)}/(${i.join("//")})`}}function hx(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Uc(t){return hx(t).replace(/%3B/gi,";")}function bD(t){return encodeURI(t)}function Jg(t){return hx(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Gc(t){return decodeURIComponent(t)}function rx(t){return Gc(t.replace(/\+/g,"%20"))}function gx(t){return`${Jg(t.path)}${xD(t.parameters)}`}function xD(t){return Object.entries(t).map(([e,i])=>`;${Jg(e)}=${Jg(i)}`).join("")}function MD(t){let e=Object.entries(t).map(([i,n])=>Array.isArray(n)?n.map(r=>`${Uc(i)}=${Uc(r)}`).join("&"):`${Uc(i)}=${Uc(n)}`).filter(i=>i);return e.length?`?${e.join("&")}`:""}var wD=/^[^\/()?;#]+/;function Wg(t){let e=t.match(wD);return e?e[0]:""}var OD=/^[^\/()?;=#]+/;function PD(t){let e=t.match(OD);return e?e[0]:""}var ED=/^[^=?&#]+/;function SD(t){let e=t.match(ED);return e?e[0]:""}var ID=/^[^&#]+/;function TD(t){let e=t.match(ID);return e?e[0]:""}var em=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Je([],{}):new Je([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}
8parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(n[Te]=new Je(e,i)),n}parseSegment(){let e=Wg(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new K(4009,!1);return this.capture(e),new $r(Gc(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=PD(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let r=Wg(this.remaining);r&&(n=r,this.capture(n))}e[Gc(i)]=Gc(n)}parseQueryParam(e){let i=SD(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let a=TD(this.remaining);a&&(n=a,this.capture(n))}let r=rx(i),o=rx(n);if(e.hasOwnProperty(r)){let a=e[r];Array.isArray(a)||(a=[a],e[r]=a),a.push(o)}else e[r]=o}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Wg(this.remaining),r=this.remaining[n.length];if(r!=="/"&&r!==")"&&r!==";")throw new K(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(
8o=Te);let a=this.parseChildren();i[o]=Object.keys(a).length===1?a[Te]:new Je([],a),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new K(4011,!1)}};function mx(t){return t.segments.length>0?new Je([],{[Te]:t}):t}function _x(t){let e={};for(let[n,r]of Object.entries(t.children)){let o=_x(r);if(n===Te&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))e[a]=s;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let i=new Je(t.segments,e);return DD(i)}function DD(t){if(t.numberOfChildren===1&&t.children[Te]){let e=t.children[Te];return new Je(t.segments.concat(e.segments),e.children)}return t}function Uo(t){return t instanceof or}function kD(t,e,i=null,n=null){let r=Cx(t);return yx(r,e,i,n)}function Cx(t){let e;function i(o){let a={};for(let l of o.children){let d=i(l);a[l.outlet]=d}let s=new Je(o.url,a);return o===t&&(e=s),s}let n=i(t.root),r=mx(n);return e??r}function yx(t,e,i,n){let r=t;for(;r.parent;)r=r.parent;if(e.length===0)return Kg(r,r,r,i,n);let o=AD(e);if(o.toRoot())return Kg(r,r,new Je([],{}),i,n);let a=ND(o,r,t),s=a.processChildren?ns(a.segmentGroup,a.index,o.commands):bx(a.segmentGroup,a.index,o.commands);return Kg(r,a.segmentGroup,s,i,n)}function Wc(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function os(t){return typeof t=="object"&&t!=null&&t.outlets}function Kg(t,e,i,n,r){let o={};n&&Object.entries(n).forEach(([l,d])=>{o[l]=Array.isArray(d)?d.map(h=>`${h}`):`${d}`});let a;t===e?a=i:a=vx(t,e,i);let s=mx(_x(a));return new or(s,o,r)}function vx(t,e,i){let n={};return Object.entries(t.children).forEach(([r,o])=>{o===e?n[r]=i:n[r]=vx(o,e,i)}),new Je(t.segments,n)}var Kc=class{constructor(e,i,n){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=n,e&&n.length>0&&Wc(n[0]))throw new K(4003,!1);let r=n.find(os);if(r&&r!==cx(n))throw new K(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function AD(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Kc(!0,0,t);let e=0,i=!1,n=t.reduce((r,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([l,d])=>{s[l]=typeof d=="string"?d.split("/"):d}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:a===0?(o.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?i=!0:s===".."?e++:s!=""&&r.push(s))}),r):[...r,o]},[]);return new Kc(i,e,n)}var Bo=class{constructor(e,i,n){this.segmentGroup=e,this.processChildren=i,this.index=n}};function ND(t,e,i){if(t.isAbsolute)return new Bo(e,!0,0);if(!i)return new Bo(e,!1,NaN);if(i.parent===null)return new Bo(i,!0,0);let n=Wc(t.commands[0])?0:1,r=i.segments.length-1+n;return RD(i,r,t.numberOfDoubleDots)}function RD(t,e,i){let n=t,r=e,o=i;for(;o>r;){if(o-=r,n=n.parent,!n)throw new K(4005,!1);r=n.segments.length}return new Bo(n,!1,r-o)}function LD(t){return os(t[0])?t[0].outlets:{[Te]:t}}function bx(t,e,i){if(t??=new Je([],{}),t.segments.length===0&&t.hasChildren())return ns(t,e,i);let n=FD(t,e,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new Je(t.segments.slice(0,n.pathIndex),{});return o.children[Te]=new Je(t.segments.slice(n.pathIndex),t.children),ns(o,0,r)}else return n.match&&r.length===0?new Je(t.segments,{}):n.match&&!t.hasChildren()?tm(t,e,i):n.match?ns(t,0,r):tm(t,e,i)}function ns(t,e,i){if(i.length===0)return new Je(t.segments,{});{let n=LD(i),r={};if(Object.keys(n).some(o=>o!==Te)&&t.children[Te]&&t.numberOfChildren===1&&t.children[Te].segments.length===0){let o=ns(t.children[Te],e,i);return new Je(t.segments,o.children)}return Object.entries(n).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(r[o]=bx(t.children[o],e,a))}),Object.entries(t.children).forEach(([o,a])=>{n[o]===void 0&&(r[o]=a)}),new Je(t.segments,r)}}function FD(t,e,i){let n=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(n>=i.length)return o;let a=t.segments[r],s=i[n];if(os(s))break;let l=`${s}`,d=n<i.length-1?i[n+1]:null;if(r>0&&l===void 0)break;if(l&&d&&typeof d=="object"&&d.outlets===void 0){if(!ax(l,d,a))return o;n+=2}else{if(!ax(l,{},a))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function tm(t,e,i){let n=t.segments.slice(0,e),r=0;for(;r<i.length;){let o=i[r];if(os(o)){let l=BD(o.outlets);return new Je(n,l)}if(r===0&&Wc(i[0])){let l=t.segments[e];n.push(new $r(l.path,ox(i[0]))),r++;continue}let a=os(o)?o.outlets[Te]:`${o}`,s=r<i.length-1?i[r+1]:null;a&&s&&Wc(s)?(n.push(new $r(a,ox(s))),r+=2):(n.push(new $r(a,{})),r++)}return new Je(n,{})}function BD(t){let e={};return Object.entries(t).forEach(([i,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[i]=tm(new Je([],{}),0,n))}),e}function ox(t){let e={};return Object.entries(t).forEach(([i,n])=>e[i]=`${n}`),e}function ax(t,e,i){return t==i.path&&xi(e,i.parameters)}var is="imperative",Tt=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(Tt||{}),Rn=class{constructor(e,i){this.id=e,this.url=i}},ar=class extends Rn{constructor(e,i,n="imperative",r=null){super(e,i),this.type=Tt.NavigationStart,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ni=class extends Rn{constructor(e,i,n){super(e,i),this.urlAfterRedirects=n,this.type=Tt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},wn=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
8solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(wn||{}),Yc=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Yc||{}),sr=class extends Rn{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=Tt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},lr=class extends Rn{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=Tt.NavigationSkipped}},as=class extends Rn{constructor(e,i,n,r){super(e,i),this.error=n,this.target=r,this.type=Tt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Qc=class extends Rn{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=Tt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nm=class extends Rn{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=Tt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},im=class extends Rn{constructor(e,i,n,r,o){super(e,i),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o,this.type=Tt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},rm=class extends Rn{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=Tt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},om=class extends Rn{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=Tt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},am=class{constructor(e){this.route=e,this.type=Tt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},sm=class{constructor(e){this.route=e,this.type=Tt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},lm=class{constructor(e){this.snapshot=e,this.type=Tt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},cm=class{constructor(e){this.snapshot=e,this.type=Tt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},dm=class{constructor(e){this.snapshot=e,this.type=Tt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},um=class{constructor(e){this.snapshot=e,this.type=Tt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zc=class{constructor(e,i,n){this.routerEvent=e,this.position=i,this.anchor=n,this.type=Tt.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},ss=class{},ls=class{constructor(e){this.url=e}};var pm=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new rd,this.attachRef=null}},rd=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new pm,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Xc=class{constructor(e){this._root=e}get root(){return this._root.value}
8parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=fm(e,this._root);return i?i.children.map(n=>n.value):[]}firstChild(e){let i=fm(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=hm(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return hm(e,this._root).map(i=>i.value)}};function fm(t,e){if(t===e.value)return e;for(let i of e.children){let n=fm(t,i);if(n)return n}return null}function hm(t,e){if(t===e.value)return[e];for(let i of e.children){let n=hm(t,i);if(n.length)return n.unshift(e),n}return[]}var Mn=class{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}};function Fo(t){let e={};return t&&t.children.forEach(i=>e[i.value.outlet]=i),e}var Jc=class extends Xc{constructor(e,i){super(e),this.snapshot=i,wm(this,e)}toString(){return this.snapshot.toString()}};function xx(t){let e=jD(t),i=new Pt([new $r("",{})]),n=new Pt({}),r=new Pt({}),o=new Pt({}),a=new Pt(""),s=new ke(i,n,o,a,r,Te,t,e.root);return s.snapshot=e.root,new Jc(new Mn(s,[]),e)}function jD(t){let e={},i={},n={},r="",o=new cs([],e,n,r,i,Te,t,null,{});return new ed("",new Mn(o,[]))}var ke=class{constructor(e,i,n,r,o,a,s,l){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(be(d=>d[ps]))??pe(void 0),this.url=e,this.params=i,this.queryParams=n,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(be(e=>Vo(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(be(e=>Vo(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Mm(t,e,i="emptyOnly"){let n,{routeConfig:r}=t;return e!==null&&(i==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:Y(Y({},e.params),t.params),data:Y(Y({},e.data),t.data),resolve:Y(Y(Y(Y({},t.data),e.data),r?.data),t._resolvedData)}:n={params:Y({},t.params),data:Y({},t.data),resolve:Y(Y({},t.data),t._resolvedData??{})},r&&wx(r)&&(n.resolve[ps]=r.title),n}var cs=class{get title(){return this.data?.[ps]}constructor(e,i,n,r,o,a,s,l,d){this.url=e,this.params=i,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Vo(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Vo(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${i}')`}},ed=class extends Xc{constructor(e,i){super(i),this.url=e,wm(this,i)}toString(){return Mx(this._root)}};function wm(t,e){e.value._routerState=t,e.children.forEach(i=>wm(t,i))}function Mx(t){let e=t.children.length>0?` { ${t.children.map(Mx).join(", ")} } `:"";return`${t.value}${e}`}function Yg(t){if(t.snapshot){let e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,xi(e.queryParams,i.queryParams)||t.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&t.fragmentSubject.next(i.fragment),xi(e.params,i.params)||t.paramsSubject.next(i.params),hD(e.url,i.url)||t.urlSubject.next(i.url),xi(e.data,i.data)||t.dataSubject.next(i.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function gm(t,e){let i=xi(t.params,e.params)&&CD(t.url,e.url),n=!t.parent!=!e.parent;return i&&!n&&(!t.parent||gm(t.parent,e.parent))}function wx(t){return typeof t.title=="string"||t.title===null}var Om=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=Te,this.activateEvents=new _e,this.deactivateEvents=new _e,this.attachEvents=new _e,this.detachEvents=new _e,this.parentContexts=H(rd),this.location=H(_i),this.changeDetector=H(xn),this.environmentInjector=H(en),this.inputBinder=H(Pm,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new K(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new K(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new K(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new K(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,d=new mm(n,l,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:d,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Qe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[tn]});let t=e;return t})(),mm=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,i,n){this.route=e,this.childContexts=i,this.parent=n}get(e,i){return e===ke?this.route:e===rd?this.childContexts:this.parent.get(e,i)}},Pm=new re("");
8function VD(t,e,i){let n=ds(t,e._root,i?i._root:void 0);return new Jc(n,e)}function ds(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){let n=i.value;n._futureSnapshot=e.value;let r=UD(t,e,i);return new Mn(n,r)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=e.value,a.children=e.children.map(s=>ds(t,s)),a}}let n=HD(e.value),r=e.children.map(o=>ds(t,o));return new Mn(n,r)}}function UD(t,e,i){return e.children.map(n=>{for(let r of i.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return ds(t,n,r);return ds(t,n)})}function HD(t){return new ke(new Pt(t.url),new Pt(t.params),new Pt(t.queryParams),new Pt(t.fragment),new Pt(t.data),t.outlet,t.component,t)}var Ox="ngNavigationCancelingError";function Px(t,e){let{redirectTo:i,navigationBehaviorOptions:n}=Uo(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=Ex(!1,wn.Redirect);return r.url=i,r.navigationBehaviorOptions=n,r}function Ex(t,e){let i=new Error(`NavigationCancelingError: ${t||""}`);return i[Ox]=!0,i.cancellationCode=e,i}function zD(t){return Sx(t)&&Uo(t.url)}function Sx(t){return!!t&&t[Ox]}var $D=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=T({type:e,selectors:[["ng-component"]],standalone:!0,features:[k],decls:1,vars:0,template:function(r,o){r&1&&g(0,"router-outlet")},dependencies:[Om],encapsulation:2});let t=e;return t})();function GD(t,e){return t.providers&&!t._injector&&(t._injector=cg(t.providers,e,`Route: ${t.path}`)),t._injector??e}function Em(t){let e=t.children&&t.children.map(Em),i=e?ze(Y({},t),{children:e}):Y({},t);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==Te&&(i.component=$D),i}function Mi(t){return t.outlet||Te}function qD(t,e){let i=t.filter(n=>Mi(n)===e);return i.push(...t.filter(n=>Mi(n)!==e)),i}function fs(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var WD=(t,e,i,n)=>be(r=>(new _m(e,r.targetRouterState,r.currentRouterState,i,n).activate(t),r)),_m=class{constructor(e,i,n,r,o){this.routeReuseStrategy=e,this.futureState=i,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(e){let i=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,n,e),Yg(this.futureState.root),this.activateChildRoutes(i,n,e)}deactivateChildRoutes(e,i,n){let r=Fo(i);e.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,r[a],n),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,i,n){let r=e.value,o=i?i.value:null;if(r===o)if(r.component){let a=n.getContext(r.outlet);a&&this.deactivateChildRoutes(e,i,a.children)}else this.deactivateChildRoutes(e,i,n);else o&&this.deactivateRouteAndItsChildren(i,n)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Fo(e);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);if(n&&n.outlet){let a=n.outlet.detach(),s=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:a,route:e,contexts:s})}}deactivateRouteAndOutlet(e,i){let n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Fo(e);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,i,n){let r=Fo(i);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new um(o.value.snapshot))}),e.children.length&&this.forwardEvent(new cm(e.value.snapshot))}activateRoutes(e,i,n){let r=e.value,o=i?i.value:null;if(Yg(r),r===o)if(r.component){let a=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,a.children)}else this.activateChildRoutes(e,i,n);else if(r.component){let a=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),Yg(s.route.value),this.activateChildRoutes(e,null,a.children)}else{let s=fs(r.snapshot);a.attachRef=null,a.route=r,a.injector=s,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,n)}},td=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},jo=class{constructor(e,i){this.component=e,this.route=i}};function KD(t,e,i){let n=t._root,r=e?e._root:null;return es(n,r,i,[n.value])}function YD(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function zo(t,e){let i=Symbol(),n=e.get(t,i);return n===i?typeof t=="function"&&!pC(t)?t:e.get(t):n}function es(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=Fo(e);
8return t.children.forEach(a=>{QD(a,o[a.value.outlet],i,n.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>rs(s,i.getContext(a),r)),r}function QD(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=e?e.value:null,s=i?i.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let l=ZD(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new td(n)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?es(t,e,s?s.children:null,n,r):es(t,e,i,n,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new jo(s.outlet.component,a))}else a&&rs(e,s,r),r.canActivateChecks.push(new td(n)),o.component?es(t,null,s?s.children:null,n,r):es(t,null,i,n,r);return r}function ZD(t,e,i){if(typeof i=="function")return i(t,e);switch(i){case"pathParamsChange":return!Gr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Gr(t.url,e.url)||!xi(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gm(t,e)||!xi(t.queryParams,e.queryParams);case"paramsChange":default:return!gm(t,e)}}function rs(t,e,i){let n=Fo(t),r=t.value;Object.entries(n).forEach(([o,a])=>{r.component?e?rs(a,e.children.getContext(o),i):rs(a,null,i):rs(a,e,i)}),r.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new jo(e.outlet.component,r)):i.canDeactivateChecks.push(new jo(null,r)):i.canDeactivateChecks.push(new jo(null,r))}function hs(t){return typeof t=="function"}function XD(t){return typeof t=="boolean"}function JD(t){return t&&hs(t.canLoad)}function ek(t){return t&&hs(t.canActivate)}function tk(t){return t&&hs(t.canActivateChild)}function nk(t){return t&&hs(t.canDeactivate)}function ik(t){return t&&hs(t.canMatch)}function Ix(t){return t instanceof Ii||t?.name==="EmptyError"}var Hc=Symbol("INITIAL_VALUE");function Ho(){return ht(t=>al(t.map(e=>e.pipe(Mt(1),kp(Hc)))).pipe(be(e=>{for(let i of e)if(i!==!0){if(i===Hc)return Hc;if(i===!1||i instanceof or)return i}return!0}),ft(e=>e!==Hc),Mt(1)))}function rk(t,e){return ct(i=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:a}}=i;return a.length===0&&o.length===0?pe(ze(Y({},i),{guardsResult:!0})):ok(a,n,r,t).pipe(ct(s=>s&&XD(s)?ak(n,o,t,e):pe(s)),be(s=>ze(Y({},i),{guardsResult:s})))})}function ok(t,e,i,n){return nt(t).pipe(ct(r=>uk(r.component,r.route,i,e,n)),Qt(r=>r!==!0,!0))}function ak(t,e,i,n){return nt(e).pipe(ai(r=>$n(lk(r.route.parent,n),sk(r.route,n),dk(t,r.path,i),ck(t,r.route,i))),Qt(r=>r!==!0,!0))}function sk(t,e){return t!==null&&e&&e(new dm(t)),pe(!0)}function lk(t,e){return t!==null&&e&&e(new lm(t)),pe(!0)}function ck(t,e,i){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return pe(!0);let r=n.map(o=>Or(()=>{let a=fs(e)??i,s=zo(o,a),l=ek(s)?s.canActivate(e,t):fi(a,()=>s(e,t));return cr(l).pipe(Qt())}));return pe(r).pipe(Ho())}function dk(t,e,i){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(a=>YD(a)).filter(a=>a!==null).map(a=>Or(()=>{let s=a.guards.map(l=>{let d=fs(a.node)??i,h=zo(l,d),_=tk(h)?h.canActivateChild(n,t):fi(d,()=>h(n,t));return cr(_).pipe(Qt())});return pe(s).pipe(Ho())}));return pe(o).pipe(Ho())}function uk(t,e,i,n,r){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return pe(!0);let a=o.map(s=>{let l=fs(e)??r,d=zo(s,l),h=nk(d)?d.canDeactivate(t,e,i,n):fi(l,()=>d(t,e,i,n));return cr(h).pipe(Qt())});return pe(a).pipe(Ho())}function pk(t,e,i,n){let r=e.canLoad;if(r===void 0||r.length===0)return pe(!0);let o=r.map(a=>{let s=zo(a,t),l=JD(s)?s.canLoad(e,i):fi(t,()=>s(e,i));return cr(l)});return pe(o).pipe(Ho(),Tx(n))}function Tx(t){return vp(Oe(e=>{if(Uo(e))throw Px(t,e)}),be(e=>e===!0))}function fk(t,e,i,n){let r=e.canMatch;if(!r||r.length===0)return pe(!0);let o=r.map(a=>{let s=zo(a,t),l=ik(s)?s.canMatch(e,i):fi(t,()=>s(e,i));return cr(l)});return pe(o).pipe(Ho(),Tx(n))}var us=class{constructor(e){this.segmentGroup=e||null}},nd=class extends Error{constructor(e){super(),this.urlTree=e}};function Lo(t){return Hn(new us(t))}function hk(t){return Hn(new K(4e3,!1))}function gk(t){return Hn(Ex(!1,wn.GuardRejected))}
8var Cm=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}lineralizeSegments(e,i){let n=[],r=i.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return pe(n);if(r.numberOfChildren>1||!r.children[Te])return hk(e.redirectTo);r=r.children[Te]}}applyRedirectCommands(e,i,n){let r=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,n);if(i.startsWith("/"))throw new nd(r);return r}applyRedirectCreateUrlTree(e,i,n,r){let o=this.createSegmentGroup(e,i.root,n,r);return new or(o,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let n={};return Object.entries(e).forEach(([r,o])=>{if(typeof o=="string"&&o.startsWith(":")){let s=o.substring(1);n[r]=i[s]}else n[r]=o}),n}createSegmentGroup(e,i,n,r){let o=this.createSegments(e,i.segments,n,r),a={};return Object.entries(i.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(e,l,n,r)}),new Je(o,a)}createSegments(e,i,n,r){return i.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,r):this.findOrReturn(o,n))}findPosParam(e,i,n){let r=n[i.path.substring(1)];if(!r)throw new K(4001,!1);return r}findOrReturn(e,i){let n=0;for(let r of i){if(r.path===e.path)return i.splice(n),r;n++}return e}},ym={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function mk(t,e,i,n,r){let o=Sm(t,e,i);return o.matched?(n=GD(e,n),fk(n,e,i,r).pipe(be(a=>a===!0?o:Y({},ym)))):pe(o)}function Sm(t,e,i){if(e.path==="**")return _k(i);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||i.length>0)?Y({},ym):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(e.matcher||fD)(i,t,e);if(!r)return Y({},ym);let o={};Object.entries(r.posParams??{}).forEach(([s,l])=>{o[s]=l.path});let a=r.consumed.length>0?Y(Y({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function _k(t){return{matched:!0,parameters:t.length>0?cx(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function sx(t,e,i,n){return i.length>0&&vk(t,i,n)?{segmentGroup:new Je(e,yk(n,new Je(i,t.children))),slicedSegments:[]}:i.length===0&&bk(t,i,n)?{segmentGroup:new Je(t.segments,Ck(t,i,n,t.children)),slicedSegments:i}:{segmentGroup:new Je(t.segments,t.children),slicedSegments:i}}function Ck(t,e,i,n){let r={};for(let o of i)if(od(t,e,o)&&!n[Mi(o)]){let a=new Je([],{});r[Mi(o)]=a}return Y(Y({},n),r)}function yk(t,e){let i={};i[Te]=e;for(let n of t)if(n.path===""&&Mi(n)!==Te){let r=new Je([],{});i[Mi(n)]=r}return i}function vk(t,e,i){return i.some(n=>od(t,e,n)&&Mi(n)!==Te)}function bk(t,e,i){return i.some(n=>od(t,e,n))}function od(t,e,i){return(t.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function xk(t,e,i,n){return Mi(t)!==n&&(n===Te||!od(e,i,t))?!1:Sm(e,t,i).matched}function Mk(t,e,i){return e.length===0&&!t.children[i]}var vm=class{};function wk(t,e,i,n,r,o,a="emptyOnly"){return new bm(t,e,i,n,r,a,o).recognize()}var Ok=31,bm=class{constructor(e,i,n,r,o,a,s){this.injector=e,this.configLoader=i,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new Cm(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new K(4002,`'${e.segmentGroup}'`)}recognize(){let e=sx(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(be(i=>{let n=new cs([],Object.freeze({}),Object.freeze(Y({},this.urlTree.queryParams)),this.urlTree.fragment,{},Te,this.rootComponentType,null,{}),r=new Mn(n,i),o=new ed("",r),a=kD(n,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root,null),{state:o,tree:a}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,Te).pipe(_n(n=>{if(n instanceof nd)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof us?this.noMatchError(n):n}))}inheritParamsAndData(e,i){let n=e.value,r=Mm(n,i,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEac
8h(o=>this.inheritParamsAndData(o,n))}processSegmentGroup(e,i,n,r){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,i,n):this.processSegment(e,i,n,n.segments,r,!0).pipe(be(o=>o instanceof Mn?[o]:[]))}processChildren(e,i,n){let r=[];for(let o of Object.keys(n.children))o==="primary"?r.unshift(o):r.push(o);return nt(r).pipe(ai(o=>{let a=n.children[o],s=qD(i,o);return this.processSegmentGroup(e,s,a,o)}),Tp((o,a)=>(o.push(...a),o)),Gi(null),Ip(),ct(o=>{if(o===null)return Lo(n);let a=Dx(o);return Pk(a),pe(a)}))}processSegment(e,i,n,r,o,a){return nt(i).pipe(ai(s=>this.processSegmentAgainstRoute(s._injector??e,i,s,n,r,o,a).pipe(_n(l=>{if(l instanceof us)return pe(null);throw l}))),Qt(s=>!!s),_n(s=>{if(Ix(s))return Mk(n,r,o)?pe(new vm):Lo(n);throw s}))}processSegmentAgainstRoute(e,i,n,r,o,a,s){return xk(n,r,o,a)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,n,o,a):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,n,o,a):Lo(r):Lo(r)}expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,a){let{matched:s,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=Sm(i,r,o);if(!s)return Lo(i);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ok&&(this.allowRedirects=!1));let _=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,d);return this.applyRedirects.lineralizeSegments(r,_).pipe(ct(M=>this.processSegment(e,n,i,M.concat(h),a,!1)))}matchSegmentAgainstRoute(e,i,n,r,o){let a=mk(i,n,r,e,this.urlSerializer);return n.path==="**"&&(i.children={}),a.pipe(ht(s=>s.matched?(e=n._injector??e,this.getChildConfig(e,n,r).pipe(ht(({routes:l})=>{let d=n._loadedInjector??e,{consumedSegments:h,remainingSegments:_,parameters:M}=s,E=new cs(h,M,Object.freeze(Y({},this.urlTree.queryParams)),this.urlTree.fragment,Sk(n),Mi(n),n.component??n._loadedComponent??null,n,Ik(n)),{segmentGroup:S,slicedSegments:R}=sx(i,h,_,l);if(R.length===0&&S.hasChildren())return this.processChildren(d,l,S).pipe(be(q=>q===null?null:new Mn(E,q)));if(l.length===0&&R.length===0)return pe(new Mn(E,[]));let G=Mi(n)===o;return this.processSegment(d,l,S,R,G?Te:o,!0).pipe(be(q=>new Mn(E,q instanceof Mn?[q]:[])))}))):Lo(i)))}getChildConfig(e,i,n){return i.children?pe({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?pe({routes:i._loadedRoutes,injector:i._loadedInjector}):pk(e,i,n,this.urlSerializer).pipe(ct(r=>r?this.configLoader.loadChildren(e,i).pipe(Oe(o=>{i._loadedRoutes=o.routes,i._loadedInjector=o.injector})):gk(i))):pe({routes:[],injector:e})}};function Pk(t){t.sort((e,i)=>e.value.outlet===Te?-1:i.value.outlet===Te?1:e.value.outlet.localeCompare(i.value.outlet))}function Ek(t){let e=t.value.routeConfig;return e&&e.path===""}function Dx(t){let e=[],i=new Set;for(let n of t){if(!Ek(n)){e.push(n);continue}let r=e.find(o=>n.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...n.children),i.add(r)):e.push(n)}for(let n of i){let r=Dx(n.children);e.push(new Mn(n.value,r))}return e.filter(n=>!i.has(n))}function Sk(t){return t.data||{}}function Ik(t){return t.resolve||{}}function Tk(t,e,i,n,r,o){return ct(a=>wk(t,e,i,n,a.extractedUrl,r,o).pipe(be(({state:s,tree:l})=>ze(Y({},a),{targetSnapshot:s,urlAfterRedirects:l}))))}function Dk(t,e){return ct(i=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=i;if(!r.length)return pe(i);let o=new Set(r.map(l=>l.route)),a=new Set;for(let l of o)if(!a.has(l))for(let d of kx(l))a.add(d);let s=0;return nt(a).pipe(ai(l=>o.has(l)?kk(l,n,t,e):(l.data=Mm(l,l.parent,t).resolve,pe(void 0))),Oe(()=>s++),po(1),ct(l=>s===a.size?pe(i):Yt))})}function kx(t){let e=t.children.map(i=>kx(i)).flat();return[t,...e]}function kk(t,e,i,n){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!wx(r)&&(o[ps]=r.title),Ak(o,t,e,n).pipe(be(a=>(t._resolvedData=a,t.data=Mm(t,t.parent,i).resolve,null)))}function Ak(t,e,i,n){let r=Xg(t);if(r.length===0)return pe({});let o={};return nt(r).pipe(ct(a=>Nk(t[a],e,i,n).pipe(Qt(),Oe(s=>{o[a]=s}))),po(1),ha(o),_n(a=>Ix(a)?Yt:Hn(a)))}function Nk(t,e,i,n){let r=fs(e)??n,o=zo(t,r),a=o.resolve?o.resolve(e,i):fi(r,()=>o(e,i));return cr(a)}function Qg(t){return ht(e=>{let i=t(e);return i?nt(i).pipe(be(()=>e)):pe(e)})}var Ax=(()=>{let e=class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(a=>a.outlet===Te);return r}getResolvedTitleForRoute(n){return n.data[ps]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:()=>H(Rk),providedIn:"root"});let t=e;return t})(),Rk=(()=>{let e=class e extends Ax{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(x(Vc))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Im=new re("",{providedIn:"root",factory:()=>({})}),Tm=new re(""),Lk=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=H(_g)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return pe(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=cr(n.loadComponent()).pipe(be(Nx),Oe(a=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=a}),qi(()=>{this.componentLoaders.delete(n)})),o=new so(r,()=>
8new Le).pipe(ao());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return pe({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let a=Fk(r,this.compiler,n,this.onLoadEndListener).pipe(qi(()=>{this.childrenLoaders.delete(r)})),s=new so(a,()=>new Le).pipe(ao());return this.childrenLoaders.set(r,s),s}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Fk(t,e,i,n){return cr(t.loadChildren()).pipe(be(Nx),ct(r=>r instanceof Ia||Array.isArray(r)?pe(r):nt(e.compileModuleAsync(r))),be(r=>{n&&n(t);let o,a,s=!1;return Array.isArray(r)?(a=r,s=!0):(o=r.create(i).injector,a=o.get(Tm,[],{optional:!0,self:!0}).flat()),{routes:a.map(Em),injector:o}}))}function Bk(t){return t&&typeof t=="object"&&"default"in t}function Nx(t){return Bk(t)?t.default:t}var Dm=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:()=>H(jk),providedIn:"root"});let t=e;return t})(),jk=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Vk=new re("");var Rx=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Le,this.transitionAbortSubject=new Le,this.configLoader=H(Lk),this.environmentInjector=H(en),this.urlSerializer=H(id),this.rootContexts=H(rd),this.location=H(Ua),this.inputBindingEnabled=H(Pm,{optional:!0})!==null,this.titleStrategy=H(Ax),this.options=H(Im,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=H(Dm),this.createViewTransition=H(Vk,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>pe(void 0),this.rootComponentType=null;let n=o=>this.events.next(new am(o)),r=o=>this.events.next(new sm(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(ze(Y(Y({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,o){return this.transitions=new Pt({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:is,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ft(a=>a.id!==0),be(a=>ze(Y({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),ht(a=>{let s=!1,l=!1;return pe(a).pipe(ht(d=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",wn.SupersededByNewNavigation),Yt;this.currentTransition=a,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?ze(Y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let h=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),_=d.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!h&&_!=="reload"){let M="";return this.events.next(new lr(d.id,this.urlSerializer.serialize(d.rawUrl),M,Yc.IgnoredSameUrlNavigation)),d.resolve(null),Yt}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return pe(d).pipe(ht(M=>{let E=this.transitions?.getValue();return this.events.next(new ar(M.id,this.urlSerializer.serialize(M.extractedUrl),M.source,M.restoredState)),E!==this.transitions?.getValue()?Yt:Promise.resolve(M)}),Tk(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Oe(M=>{a.targetSnapshot=M.targetSnapshot,a.urlAfterRedirects=M.urlAfterRedirects,this.currentNavigation=ze(Y({},this.currentNavigation),{finalUrl:M.urlAfterRedirects});let E=new Qc(M.id,this.urlSerializer.serialize(M.extractedUrl),this.urlSerializer.serialize(M.urlAfterRedirects),M.targetSnapshot);this.events.next(E)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:M,extractedUrl:E,source:S,restoredState:R,extras:G}=d,q=new ar(M,this.urlSerializer.serialize(E),S,R);this.events.next(q);let ge=xx(this.rootComponentType).snapshot;return this.currentTransition=a=ze(Y({},d),{targetSnapshot:ge,urlAfterRedirects:E,extras:ze(Y({},G),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=E,pe(a)}else{let M="";return this.events.next(new lr(d.id,this.urlSerializer.serialize(d.extractedUrl),M,Yc.IgnoredByUrlHandlingStrategy)),d.resolve(null),Yt}}),Oe(d=>{let h=new nm(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}),be(d=>(this.currentTransition=a=ze(Y({},d),{guards:KD(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),a)),rk(this.environmentInjector,d=>this.events.next(d)),Oe(d=>{if(a.guardsResult=d.guardsResult,Uo(d.guardsResult))throw Px(this.urlSerializer,d.guardsResult);let h=new im(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(h)}),ft(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",wn.GuardRejected),!1)),Qg(d=>{if(d.guards.canActivateChecks.length)return pe(d).pipe(Oe(h=>{let _=new rm(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(_)}),ht(h=>{let _=!1;return pe(h).pipe(Dk(this.paramsInheritanceStrategy,this.environmentInjector),Oe({next:()=>_=!0,complete:()=>
8{_||this.cancelNavigationTransition(h,"",wn.NoDataFromResolver)}}))}),Oe(h=>{let _=new om(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(_)}))}),Qg(d=>{let h=_=>{let M=[];_.routeConfig?.loadComponent&&!_.routeConfig._loadedComponent&&M.push(this.configLoader.loadComponent(_.routeConfig).pipe(Oe(E=>{_.component=E}),be(()=>{})));for(let E of _.children)M.push(...h(E));return M};return al(h(d.targetSnapshot.root)).pipe(Gi(null),Mt(1))}),Qg(()=>this.afterPreactivation()),ht(()=>{let{currentSnapshot:d,targetSnapshot:h}=a,_=this.createViewTransition?.(this.environmentInjector,d.root,h.root);return _?nt(_).pipe(be(()=>a)):pe(a)}),be(d=>{let h=VD(n.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=a=ze(Y({},d),{targetRouterState:h}),this.currentNavigation.targetRouterState=h,a}),Oe(()=>{this.events.next(new ss)}),WD(this.rootContexts,n.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),Mt(1),Oe({next:d=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ni(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{s=!0}}),Ap(this.transitionAbortSubject.pipe(Oe(d=>{throw d}))),qi(()=>{!s&&!l&&this.cancelNavigationTransition(a,"",wn.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),_n(d=>{if(l=!0,Sx(d))this.events.next(new sr(a.id,this.urlSerializer.serialize(a.extractedUrl),d.message,d.cancellationCode)),zD(d)?this.events.next(new ls(d.url)):a.resolve(!1);else{this.events.next(new as(a.id,this.urlSerializer.serialize(a.extractedUrl),d,a.targetSnapshot??void 0));try{a.resolve(n.errorHandler(d))}catch(h){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(h)}}return Yt}))}))}cancelNavigationTransition(n,r,o){let a=new sr(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(a),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Uk(t){return t!==is}var Hk=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:()=>H(zk),providedIn:"root"});let t=e;return t})(),xm=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},zk=(()=>{let e=class e extends xm{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Dn(e)))(o||e)}})(),e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Lx=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:()=>H($k),providedIn:"root"});let t=e;return t})(),$k=(()=>{let e=class e extends Lx{constructor(){super(...arguments),this.location=H(Ua),this.urlSerializer=H(id),this.options=H(Im,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=H(Dm),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new or,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=xx(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof ar)this.stateMemento=this.createStateMemento();else if(n instanceof lr)this.rawUrlTree=r.initialUrl;else if(n instanceof Qc){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof ss?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof sr&&(n.code===wn.GuardRejected||n.c
8ode===wn.NoDataFromResolver)?this.restoreHistory(r):n instanceof as?this.restoreHistory(r,!0):n instanceof ni&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let a=this.browserPageId,s=Y(Y({},r.extras.state),this.generateNgRouterState(r.id,a));this.location.replaceState(o,"",s)}else{let a=Y(Y({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,a=this.currentPageId-o;a!==0?this.location.historyGo(a):this.currentUrlTree===n.finalUrl&&a===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Dn(e)))(o||e)}})(),e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ts=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(ts||{});function Gk(t,e){t.events.pipe(ft(i=>i instanceof ni||i instanceof sr||i instanceof as||i instanceof lr),be(i=>i instanceof ni||i instanceof lr?ts.COMPLETE:(i instanceof sr?i.code===wn.Redirect||i.code===wn.SupersededByNewNavigation:!1)?ts.REDIRECTING:ts.FAILED),ft(i=>i!==ts.REDIRECTING),Mt(1)).subscribe(()=>{e()})}function qk(t){throw t}var Wk={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Kk={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},pt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=H(Tc),this.stateManager=H(Lx),this.options=H(Im,{optional:!0})||{},this.pendingTasks=H(jr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=H(Rx),this.urlSerializer=H(id),this.location=H(Ua),this.urlHandlingStrategy=H(Dm),this._events=new Le,this.errorHandler=this.options.errorHandler||qk,this.navigated=!1,this.routeReuseStrategy=H(Hk),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=H(Tm,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!H(Pm,{optional:!0}),this.eventsSubscription=new _t,this.isNgZoneEnabled=H(Ke)instanceof Ke&&Ke.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(o!==null&&a!==null){if(this.stateManager.handleRouterEvent(r,a),r instanceof sr&&r.code!==wn.Redirect&&r.code!==wn.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof ni)this.navigated=!0;else if(r instanceof ls){let s=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),l={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Uk(o.source)};this.scheduleNavigation(s,is,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Qk(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),is,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){let a={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let d=Y({},o);
8delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(a.state=d)}let l=this.parseUrl(n);this.scheduleNavigation(l,r,s,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Em),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:a,fragment:s,queryParamsHandling:l,preserveFragment:d}=r,h=d?this.currentUrlTree.fragment:s,_=null;switch(l){case"merge":_=Y(Y({},this.currentUrlTree.queryParams),a);break;case"preserve":_=this.currentUrlTree.queryParams;break;default:_=a||null}_!==null&&(_=this.removeEmptyProps(_));let M;try{let E=o?o.snapshot:this.routerState.snapshot.root;M=Cx(E)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),M=this.currentUrlTree.root}return yx(M,n,_,h??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=Uo(n)?n:this.parseUrl(n),a=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(a,is,null,r)}navigate(n,r={skipLocationChange:!1}){return Yk(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=Y({},Wk):r===!1?o=Y({},Kk):o=r,Uo(n))return ix(this.currentUrlTree,n,o);let a=this.parseUrl(n);return ix(this.currentUrlTree,a,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,a])=>(a!=null&&(r[o]=a),r),{})}scheduleNavigation(n,r,o,a,s){if(this.disposed)return Promise.resolve(!1);let l,d,h;s?(l=s.resolve,d=s.reject,h=s.promise):h=new Promise((M,E)=>{l=M,d=E});let _=this.pendingTasks.add();return Gk(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(_))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:a,resolve:l,reject:d,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(M=>Promise.reject(M))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Yk(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new K(4008,!1)}function Qk(t){return!(t instanceof ss)&&!(t instanceof ls)}var Ht=(()=>{let e=class e{constructor(n,r,o,a,s,l){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=a,this.el=s,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new Le,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let d=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=d==="a"||d==="area",this.isAnchorElement?this.subscription=n.events.subscribe(h=>{h instanceof ni&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,a,s){let l=this.urlTree;if(l===null||this.isAnchorElement&&(n!==0||r||o||a||s||typeof this.target=="string"&&this.target!="_self"))return!0;let d={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,d),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:Gy(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}
8applyAttributeValue(n,r){let o=this.renderer,a=this.el.nativeElement;r!==null?o.setAttribute(a,n,r):o.removeAttribute(a,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(r){return new(r||e)(m(pt),m(ke),rc("tabindex"),m(At),m($e),m(Hr))},e.\u0275dir=Qe({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&B("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Nt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[gt.HasDecoratorInputTransform,"preserveFragment","preserveFragment",er],skipLocationChange:[gt.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",er],replaceUrl:[gt.HasDecoratorInputTransform,"replaceUrl","replaceUrl",er],routerLink:"routerLink"},standalone:!0,features:[lg,tn]});let t=e;return t})();var Fx=new re(""),Zk=(()=>{let e=class e{constructor(n,r,o,a,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=a,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=H(en),s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ar?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof ni?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof lr&&n.code===Yc.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Zc&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>Kt(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),rg(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Zc(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(r){ov()},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})();function Bx(t,...e){return pi([{provide:Tm,multi:!0,useValue:t},[],{provide:ke,useFactory:Xk,deps:[pt]},{provide:No,multi:!0,useFactory:eA},e.map(i=>i.\u0275providers)])}function Xk(t){return t.routerState.root}function Jk(t,e){return{\u0275kind:t,\u0275providers:e}}function jx(t={}){return Jk(4,[{provide:Fx,useFactory:()=>{let i=H(Mb),n=H(Ke),r=H(Rx),o=H(id);return new Zk(o,r,i,n,t)}}])}function eA(){let t=H(Xn);return e=>{let i=t.get(vi);if(e!==i.components[0])return;let n=t.get(pt),r=t.get(tA);t.get(nA)===1&&n.initialNavigation(),t.get(iA,null,Fe.Optional)?.setUpPreloading(),t.get(Fx,null,Fe.Optional)?.init(),n.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var tA=new re("",{factory:()=>new Le}),nA=new re("",{providedIn:"root",factory:()=>1});var iA=new re("");var ur=class{},Vx=(()=>{class t extends ur{getTranslation(i){return pe({})}static \u0275fac=(()=>{let i;return function(r){return(i||(i=Dn(t)))(r||t)}})();static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})(),gs=class{},Ux=(()=>{class t{handle(i){return i.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})();function ad(t,e){if(t===e)return!0;
8if(t===null||e===null)return!1;if(t!==t&&e!==e)return!0;let i=typeof t,n=typeof e,r,o,a;if(i==n&&i=="object")if(Array.isArray(t)){if(!Array.isArray(e))return!1;if((r=t.length)==e.length){for(o=0;o<r;o++)if(!ad(t[o],e[o]))return!1;return!0}}else{if(Array.isArray(e))return!1;a=Object.create(null);for(o in t){if(!ad(t[o],e[o]))return!1;a[o]=!0}for(o in e)if(!(o in a)&&typeof e[o]<"u")return!1;return!0}return!1}function dr(t){return typeof t<"u"&&t!==null}function km(t){return t&&typeof t=="object"&&!Array.isArray(t)}function $x(t,e){let i=Object.assign({},t);return km(t)&&km(e)&&Object.keys(e).forEach(n=>{km(e[n])?n in t?i[n]=$x(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}var $o=class{},Hx=(()=>{class t extends $o{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(i,n){let r;return typeof i=="string"?r=this.interpolateString(i,n):typeof i=="function"?r=this.interpolateFunction(i,n):r=i,r}getValue(i,n){let r=typeof n=="string"?n.split("."):[n];n="";do n+=r.shift(),dr(i)&&dr(i[n])&&(typeof i[n]=="object"||!r.length)?(i=i[n],n=""):r.length?n+=".":i=void 0;while(r.length);return i}interpolateFunction(i,n){return i(n)}interpolateString(i,n){return n?i.replace(this.templateMatcher,(r,o)=>{let a=this.getValue(n,o);return dr(a)?a:r}):i}static \u0275fac=(()=>{let i;return function(r){return(i||(i=Dn(t)))(r||t)}})();static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})(),Go=class{},zx=(()=>{class t extends Go{compile(i,n){return i}compileTranslations(i,n){return i}static \u0275fac=(()=>{let i;return function(r){return(i||(i=Dn(t)))(r||t)}})();static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})(),sd=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new _e;onLangChange=new _e;onDefaultLangChange=new _e},Am=new re("USE_STORE"),Nm=new re("USE_DEFAULT_LANG"),Rm=new re("DEFAULT_LANGUAGE"),Lm=new re("USE_EXTEND"),ee=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new _e;_onLangChange=new _e;_onDefaultLangChange=new _e;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(i){this.isolate?this._defaultLang=i:this.store.defaultLang=i}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(i){this.isolate?this._currentLang=i:this.store.currentLang=i}get langs(){return this.isolate?this._langs:this.store.langs}set langs(i){this.isolate?this._langs=i:this.store.langs=i}get translations(){return this.isolate?this._translations:this.store.translations}set translations(i){this.isolate?this._translations=i:this.store.translations=i}constructor(i,n,r,o,a,s=!0,l=!1,d=!1,h){this.store=i,this.currentLoader=n,this.compiler=r,this.parser=o,this.missingTranslationHandler=a,this.useDefaultLang=s,this.isolate=l,this.extend=d,h&&this.setDefaultLang(h)}setDefaultLang(i){if(i===this.defaultLang)return;let n=this.retrieveTranslations(i);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=i),n.pipe(Mt(1)).subscribe(r=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(i===this.currentLang)return pe(this.translations[i]);let n=this.retrieveTranslations(i);return typeof n<"u"?(this.currentLang||(this.currentLang=i),n.pipe(Mt(1)).subscribe(r=>{this.changeLang(i)}),n):(this.changeLang(i),pe(this.translations[i]))}retrieveTranslations(i){let n;return(typeof this.translations[i]>"u"||this.extend)&&(this._translationRequests[i]=this._translationRequests[i]||this.getTranslation(i),n=this._translationRequests[i]),n}getTranslation(i){this.pending=!0;let n=this.currentLoader.getTranslation(i).pipe(cl(1),Mt(1));return this.loadingTranslations=n.pipe(be(r=>this.compiler.compileTranslations(r,i)),cl(1),Mt(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[i]=this.extend&&this.translations[i]?Y(Y({},r),this.translations[i]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),n}setTranslation(i,n,r=!1){n=this.compiler.compileTranslations(n,i),(r||this.extend)&&this.translations[i]?this.translations[i]=$x(this.translations[i],n):this.translations[i]=n,this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}getLangs(){return this.langs}
8addLangs(i){i.forEach(n=>{this.langs.indexOf(n)===-1&&this.langs.push(n)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(i,n,r){let o;if(n instanceof Array){let a={},s=!1;for(let l of n)a[l]=this.getParsedResult(i,l,r),zn(a[l])&&(s=!0);if(s){let l=n.map(d=>zn(a[d])?a[d]:pe(a[d]));return pa(l).pipe(be(d=>{let h={};return d.forEach((_,M)=>{h[n[M]]=_}),h}))}return a}if(i&&(o=this.parser.interpolate(this.parser.getValue(i,n),r)),typeof o>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],n),r)),typeof o>"u"){let a={key:n,translateService:this};typeof r<"u"&&(a.interpolateParams=r),o=this.missingTranslationHandler.handle(a)}return typeof o<"u"?o:n}get(i,n){if(!dr(i)||!i.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(ai(r=>(r=this.getParsedResult(r,i,n),zn(r)?r:pe(r))));{let r=this.getParsedResult(this.translations[this.currentLang],i,n);return zn(r)?r:pe(r)}}getStreamOnTranslationChange(i,n){if(!dr(i)||!i.length)throw new Error('Parameter "key" required');return $n(Or(()=>this.get(i,n)),this.onTranslationChange.pipe(ht(r=>{let o=this.getParsedResult(r.translations,i,n);return typeof o.subscribe=="function"?o:pe(o)})))}stream(i,n){if(!dr(i)||!i.length)throw new Error('Parameter "key" required');return $n(Or(()=>this.get(i,n)),this.onLangChange.pipe(ht(r=>{let o=this.getParsedResult(r.translations,i,n);return zn(o)?o:pe(o)})))}instant(i,n){if(!dr(i)||!i.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],i,n);if(zn(r)){if(i instanceof Array){let o={};return i.forEach((a,s)=>{o[i[s]]=i[s]}),o}return i}else return r}set(i,n,r=this.currentLang){this.translations[r][i]=this.compiler.compile(n,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(i){this.currentLang=i,this.onLangChange.emit({lang:i,translations:this.translations[i]}),this.defaultLang==null&&this.changeDefaultLang(i)}changeDefaultLang(i){this.defaultLang=i,this.onDefaultLangChange.emit({lang:i,translations:this.translations[i]})}reloadLang(i){return this.resetLang(i),this.getTranslation(i)}resetLang(i){this._translationRequests[i]=void 0,this.translations[i]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;if(i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof i>"u"))return i.indexOf("-")!==-1&&(i=i.split("-")[0]),i.indexOf("_")!==-1&&(i=i.split("_")[0]),i}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;return i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,i}static \u0275fac=function(n){return new(n||t)(x(sd),x(ur),x(Go),x($o),x(gs),x(Nm),x(Am),x(Lm),x(Rm))};static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})();var z=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(i,n){this.translate=i,this._ref=n}updateValue(i,n,r){let o=a=>{this.value=a!==void 0?a:i,this.lastKey=i,this._ref.markForCheck()};if(r){let a=this.translate.getParsedResult(r,i,n);zn(a.subscribe)?a.subscribe(o):o(a)}this.translate.get(i,n).subscribe(o)}transform(i,...n){if(!i||!i.length)return i;if(ad(i,this.lastKey)&&ad(n,this.lastParams))return this.value;let r;if(dr(n[0])&&n.length)if(typeof n[0]=="string"&&n[0].length){let o=n[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else typeof n[0]=="object"&&!Array.isArray(n[0])&&(r=n[0]);return this.lastKey=i,this.lastParams=n,this.updateValue(i,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateV
8alue(i,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(n){return new(n||t)(m(ee,16),m(xn,16))};static \u0275pipe=Xl({name:"translate",type:t,pure:!1});static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})(),V=(()=>{class t{static forRoot(i={}){return{ngModule:t,providers:[i.loader||{provide:ur,useClass:Vx},i.compiler||{provide:Go,useClass:zx},i.parser||{provide:$o,useClass:Hx},i.missingTranslationHandler||{provide:gs,useClass:Ux},sd,{provide:Am,useValue:i.isolate},{provide:Nm,useValue:i.useDefaultLang},{provide:Lm,useValue:i.extend},{provide:Rm,useValue:i.defaultLanguage},ee]}}static forChild(i={}){return{ngModule:t,providers:[i.loader||{provide:ur,useClass:Vx},i.compiler||{provide:Go,useClass:zx},i.parser||{provide:$o,useClass:Hx},i.missingTranslationHandler||{provide:gs,useClass:Ux},{provide:Am,useValue:i.isolate},{provide:Nm,useValue:i.useDefaultLang},{provide:Lm,useValue:i.extend},{provide:Rm,useValue:i.defaultLanguage},ee]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=vt({type:t});static \u0275inj=yt({})}return t})();var Ie=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(Ie||{}),wi="*";function Gx(t,e){return{type:Ie.Trigger,name:t,definitions:e,options:{}}}function Fm(t,e=null){return{type:Ie.Animate,styles:e,timings:t}}function qx(t,e=null){return{type:Ie.Sequence,steps:t,options:e}}function qo(t){return{type:Ie.Style,styles:t,offset:null}}function Bm(t,e,i){return{type:Ie.State,name:t,styles:e,options:i}}function jm(t,e,i=null){return{type:Ie.Transition,expr:t,animation:e,options:i}}var pr=class{constructor(e=0,i=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+i}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let i=e=="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},ms=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let i=0,n=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>
8this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++i==o&&this._onFinish()}),a.onDestroy(()=>{++n==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let i=e*this.totalTime;this.players.forEach(n=>{let r=n.totalTime?Math.min(1,i/n.totalTime):1;n.setPosition(r)})}getPosition(){let e=this.players.reduce((i,n)=>i===null||n.totalTime>i.totalTime?n:i,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let i=e=="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},ld="!";var rA=(t,e,i,n,r)=>({width:t,transform:e,transition:i,"padding-left":n,"padding-right":r}),oA=(t,e,i,n)=>({width:t,"margin-left":e,"margin-right":i,left:n}),aA=(t,e)=>({$implicit:t,index:e});function sA(t,e){}function lA(t,e){if(t&1&&O(0,sA,0,0,"ng-template",4),t&2){let i=C(),n=i.$implicit,r=i.index,o=C();f("ngTemplateOutlet",n.tplRef)("ngTemplateOutletContext",Ec(2,aA,o.preparePublicSlide(n),r))}}function cA(t,e){if(t&1){let i=ne();Ge(0),p(1,"div",2),B("animationend",function(){let r=Q(i).$implicit,o=C();return Z(o.clear(r.id))}),O(2,lA,1,5,null,3),u(),qe()}if(t&2){let i=e.$implicit;c(),f("ngClass",i.classes)("ngStyle",Sc(4,oA,i.width+"px",i.marginL?i.marginL+"px":"",i.marginR?i.marginR+"px":"",i.left))("@autoHeight",i.heightState),c(),f("ngIf",i.load)}}var dA=(t,e,i,n,r)=>({"owl-rtl":t,"owl-loaded":e,"owl-responsive":i,"owl-drag":n,"owl-grab":r}),uA=(t,e)=>({isMouseDragable:t,isTouchDragable:e}),cd=t=>({disabled:t}),pA=(t,e)=>({active:t,"owl-dot-text":e});function fA(t,e){if(t&1&&(p(0,"div",4),g(1,"owl-stage",5),u()),t&2){let i=C();c(),f("owlDraggable",Ec(3,uA,i.owlDOMData==null?null:i.owlDOMData.isMouseDragable,i.owlDOMData==null?null:i.owlDOMData.isTouchDragable))("stageData",i.stageData)("slidesData",i.slidesData)}}function hA(t,e){if(t&1){let i=ne();p(0,"div",11),B("click",function(){let r=Q(i).$implicit,o=C(2);return Z(o.moveByDot(r.id))}),g(1,"span",12),u()}if(t&2){let i=e.$implicit;f("ngClass",Ec(2,pA,i.active,i.showInnerContent)),c(),f("innerHTML",i.innerContent,J)}}function gA(t,e){if(t&1){let i=ne();Ge(0),p(1,"div",6)(2,"div",7),B("click",function(){Q(i);let r=C();return Z(r.prev())}),u(),p(3,"div",8),B("click",function(){Q(i);let r=C();return Z(r.next())}),u()(),p(4,"div",9),O(5,hA,2,5,"div",10),u(),qe()}if(t&2){let i=C();c(),f("ngClass",Ji(7,cd,i.navData==null?null:i.navData.disabled)),c(),f("ngClass",Ji(9,cd,i.navData==null||i.navData.prev==null?null:i.navData.prev.disabled))("innerHTML",i.navData==null||i.navData.prev==null?null:i.navData.prev.htmlText,J),c(),f("ngClass",Ji(11,cd,i.navData==null||i.navData.next==null?null:i.navData.next.disabled))("innerHTML",i.navData==null||i.navData.next==null?null:i.navData.next.htmlText,J),c(),f("ngClass",Ji(13,cd,i.dotsData==null?null:i.dotsData.disabled)),c(),f("ngForOf",i.dotsData==null?null:i.dotsData.dots)}}var Vm=class{items=3;skip_validateItems=!1;loop=!1;center=!1;rewind=!1;mouseDrag=!0;touchDrag=!0;pullDrag=!0;freeDrag=!1;margin=0;stagePadding=0;merge=!1;mergeFit=!0;autoWidth=!1;startPosition=0;rtl=!1;smartSpeed=250;fluidSpeed=!1;dragEndSpeed=!1;responsive={};responsiveRefreshRate=200;nav=!1;navText=["prev","next"];navSpeed=!1;slideBy=1;dots=!0;dotsEach=!1;dotsData=!1;dotsSpeed=!1;autoplay=!1;autoplayTimeout=5e3;autoplayHoverPause=!1;autoplaySpeed=!1;autoplayMouseleaveTimeout=1;lazyLoad=!1;lazyLoadEager=0;slideTransition="";animateOut=!1;animateIn=!1;autoHeight=!1;URLhashListener=!1;constructor(){}},Um=class{items="number";skip_validateItems="boolean";loop="boolean";center="boolean";rewind="boolean";mouseDrag="boolean";touchDrag="boolean";pullDrag="boolean";freeDrag="boolean";margin="number";stagePadding="number";merge="boolean";mergeFit="boolean";autoWidth="boolean";startPosition="number|string";rtl="boolean";smartSpeed="number";fluidSpeed="boolean";dragEndSpeed="number|boolean";responsive={};responsiveRefreshRate="number";nav="boolean";navText="string[]";navSpeed="number|boolean";slideBy="number|string";dots="boolean";dotsEach="number|boolean";dotsData="boolean";dotsSpeed="number|boolean";autoplay="boolean";autoplayTimeout="number";autoplayHoverPause="boolean";autoplaySpeed="number|boolean";autoplayMouseleaveTimeout="number";lazyLoad="boolean";lazyLoadEager="number";slideTransition="string";animateOut="string|boolean";
8animateIn="string|boolean";autoHeight="boolean";URLhashListener="boolean";constructor(){}},zm=(()=>{class t{errorHandler;constructor(i){this.errorHandler=i}log(i,...n){lb()&&console.log(i,...n)}error(i){this.errorHandler.handleError(i)}warn(i,...n){console.warn(i,...n)}static \u0275fac=function(n){return new(n||t)(x(In))};static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})();var Xx=function(t){return t.Event="event",t.State="state",t}(Xx||{}),dd=function(t){return t.Default="default",t.Inner="inner",t.Outer="outer",t}(dd||{});var Ui=(()=>{class t{logger;_viewSettingsShipper$=new Le;_initializedCarousel$=new Le;_changeSettingsCarousel$=new Le;_changedSettingsCarousel$=new Le;_translateCarousel$=new Le;_translatedCarousel$=new Le;_resizeCarousel$=new Le;_resizedCarousel$=new Le;_refreshCarousel$=new Le;_refreshedCarousel$=new Le;_dragCarousel$=new Le;_draggedCarousel$=new Le;settings={items:0};owlDOMData={rtl:!1,isResponsive:!1,isRefreshed:!1,isLoaded:!1,isLoading:!1,isMouseDragable:!1,isGrab:!1,isTouchDragable:!1};stageData={transform:"translate3d(0px,0px,0px)",transition:"0s",width:0,paddingL:0,paddingR:0};slidesData;navData;dotsData;_width;_items=[];_widths=[];_supress={};_plugins={};_current=null;_clones=[];_mergers=[];_speed=null;_coordinates=[];_breakpoint=null;clonedIdPrefix="cloned-";_options={};_invalidated={};get invalidated(){return this._invalidated}_states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}};get states(){return this._states}_pipe=[{filter:["width","items","settings"],run:i=>{i.current=this._items&&this._items[this.relative(this._current)]?.id}},{filter:["width","items","settings"],run:i=>{let n=this.settings.margin||"",r=!this.settings.autoWidth,o=this.settings.rtl,a={"margin-left":o?n:"","margin-right":o?"":n};r||this.slidesData.forEach(s=>{s.marginL=a["margin-left"],s.marginR=a["margin-right"]}),i.css=a}},{filter:["width","items","settings"],run:i=>{let n=+(this.width()/this.settings.items).toFixed(3)-this.settings.margin,r=!this.settings.autoWidth,o=[],a=null,s=this._items.length;for(i.items={merge:!1,width:n};s-- >0;)a=this._mergers[s],a=this.settings.mergeFit&&Math.min(a,this.settings.items)||a,i.items.merge=a>1||i.items.merge,o[s]=r?n*a:this._items[s].width?this._items[s].width:n;this._widths=o,this.slidesData.forEach((l,d)=>{l.width=this._widths[d],l.marginR=i.css["margin-right"],l.marginL=i.css["margin-left"]})}},{filter:["items","settings"],run:()=>{let i=[],n=this._items,r=this.settings,o=Math.max(r.items*2,4),a=Math.ceil(n.length/2)*2,s=[],l=[],d=r.loop&&n.length?r.rewind?o:Math.max(o,a):0;for(d/=2;d-- >0;)i.push(this.normalize(i.length/2,!0)),s.push(Y({},this.slidesData[i[i.length-1]])),i.push(this.normalize(n.length-1-(i.length-1)/2,!0)),l.unshift(Y({},this.slidesData[i[i.length-1]]));this._clones=i,s=s.map(h=>(h.id=`${this.clonedIdPrefix}${h.id}`,h.isActive=!1,h.isCloned=!0,h)),l=l.map(h=>(h.id=`${this.clonedIdPrefix}${h.id}`,h.isActive=!1,h.isCloned=!0,h)),this.slidesData=l.concat(this.slidesData).concat(s)}},{filter:["width","items","settings"],run:()=>{let i=this.settings.rtl?1:-1,n=this._clones.length+this._items.length,r=[],o=-1,a=0,s=0;for(;++o<n;)a=r[o-1]||0,s=this._widths[this.relative(o)]+this.settings.margin,r.push(a+s*i);this._coordinates=r}},{filter:["width","items","settings"],run:()=>{let i=this.settings.stagePadding,n=this._coordinates,r={width:Math.ceil(Math.abs(n[n.length-1]))+i*2,"padding-left":i||"","padding-right":i||""};this.stageData.width=r.width,this.stageData.paddingL=r["padding-left"],this.stageData.paddingR=r["padding-right"]}},{filter:["width","items","settings"],run:i=>{let n=i.current?this.slidesData.findIndex(r=>
8r.id===i.current):0;n=Math.max(this.minimum(),Math.min(this.maximum(),n)),this.reset(n)}},{filter:["position"],run:()=>{this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:()=>{let i=this.settings.rtl?1:-1,n=this.settings.stagePadding*2,r=[],o,a,s,l,d,h;if(o=this.coordinates(this.current()),typeof o=="number"?o+=n:o=0,a=o+this.width()*i,i===-1&&this.settings.center){let _=this._coordinates.filter(M=>this.settings.items%2===1?M>=o:M>o);o=_.length?_[_.length-1]:o}for(d=0,h=this._coordinates.length;d<h;d++)s=Math.ceil(this._coordinates[d-1]||0),l=Math.ceil(Math.abs(this._coordinates[d])+n*i),(this._op(s,"<=",o)&&this._op(s,">",a)||this._op(l,"<",o)&&this._op(l,">",a))&&r.push(d);this.slidesData.forEach(_=>(_.isActive=!1,_)),r.forEach(_=>{this.slidesData[_].isActive=!0}),this.settings.center&&(this.slidesData.forEach(_=>(_.isCentered=!1,_)),this.slidesData[this.current()].isCentered=!0)}}];constructor(i){this.logger=i}getViewCurSettings(){return this._viewSettingsShipper$.asObservable()}getInitializedState(){return this._initializedCarousel$.asObservable()}getChangeState(){return this._changeSettingsCarousel$.asObservable()}getChangedState(){return this._changedSettingsCarousel$.asObservable()}getTranslateState(){return this._translateCarousel$.asObservable()}getTranslatedState(){return this._translatedCarousel$.asObservable()}getResizeState(){return this._resizeCarousel$.asObservable()}getResizedState(){return this._resizedCarousel$.asObservable()}getRefreshState(){return this._refreshCarousel$.asObservable()}getRefreshedState(){return this._refreshedCarousel$.asObservable()}getDragState(){return this._dragCarousel$.asObservable()}getDraggedState(){return this._draggedCarousel$.asObservable()}setOptions(i){let n=new Vm,r=this._validateOptions(i,n);this._options=Y(Y({},n),r)}_validateOptions(i,n){let r=Y({},i),o=new Um,a=(s,l)=>(this.logger.log(`options.${l} must be type of ${s}; ${l}=${i[l]} skipped to defaults: ${l}=${n[l]}`),n[l]);for(let s in r)if(r.hasOwnProperty(s)){if(o[s]==="number")this._isNumeric(r[s])?(r[s]=+r[s],r[s]=s==="items"?this._validateItems(r[s],r.skip_validateItems):r[s]):r[s]=a(o[s],s);else if(o[s]==="boolean"&&typeof r[s]!="boolean")r[s]=a(o[s],s);else if(o[s]==="number|boolean"&&!this._isNumberOrBoolean(r[s]))r[s]=a(o[s],s);else if(o[s]==="number|string"&&!this._isNumberOrString(r[s]))r[s]=a(o[s],s);else if(o[s]==="string|boolean"&&!this._isStringOrBoolean(r[s]))r[s]=a(o[s],s);else if(o[s]==="string[]")if(Array.isArray(r[s])){let l=!1;r[s].forEach(d=>{l=typeof d=="string"}),l||(r[s]=a(o[s],s))}else r[s]=a(o[s],s)}return r}_validateItems(i,n){let r=i;return i>this._items.length?n?this.logger.log("The option 'items' in your options is bigger than the number of slides. The navigation got disabled"):(r=this._items.length,this.logger.log("The option 'items' in your options is bigger than the number of slides. This option is updated to the current number of slides and the navigation got disabled")):i===this._items.length&&(this.settings.dots||this.settings.nav)&&this.logger.log("Option 'items' in your options is equal to the number of slides. So the navigation got disabled"),r}setCarouselWidth(i){this._width=i}setup(i,n,r){this.setCarouselWidth(i),this.setItems(n),this._defineSlidesData(),this.setOptions(r),this.settings=Y({},this._options),this.setOptionsForViewport(),this._trigger("change",{property:{name:"settings",value:this.settings}}),this.invalidate("settings"),this._trigger("changed",{property:{name:"settings",value:this.settings}})}setOptionsForViewport(){let i=this._width,n=this._options.responsive,r=-1;if(!Object.keys(n).length)return;if(!i){this.settings.items=1;return}for(let a in n)n.hasOwnProperty(a)&&+a<=i&&+a>r&&(r=Number(a));this.settings=ze(Y(Y({},this._options),n[r]),{items:n[r]&&n[r].items?this._validateItems(n[r].items,this._options.skip_validateItems):this._options.items}),delete this.settings.responsive,this.owlDOMData.isResponsive=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag;let o=[];
8this._items.forEach(a=>{let s=this.settings.merge?a.dataMerge:1;o.push(s)}),this._mergers=o,this._breakpoint=r,this.invalidate("settings")}initialize(i){this.enter("initializing"),this.owlDOMData.rtl=this.settings.rtl,this._mergers.length&&(this._mergers=[]),i.forEach(n=>{let r=this.settings.merge?n.dataMerge:1;this._mergers.push(r)}),this._clones=[],this.reset(this._isNumeric(this.settings.startPosition)?+this.settings.startPosition:0),this.invalidate("items"),this.refresh(),this.owlDOMData.isLoaded=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag,this.sendChanges(),this.leave("initializing"),this._trigger("initialized")}sendChanges(){this._viewSettingsShipper$.next({owlDOMData:this.owlDOMData,stageData:this.stageData,slidesData:this.slidesData,navData:this.navData,dotsData:this.dotsData})}_optionsLogic(){this.settings.autoWidth&&(this.settings.stagePadding=0,this.settings.merge=!1)}update(){let i=0,n=this._pipe.length,r=a=>this._invalidated[a],o={};for(;i<n;){let a=this._pipe[i].filter.filter(r);(this._invalidated.all||a.length>0)&&this._pipe[i].run(o),i++}this.slidesData.forEach(a=>a.classes=this.setCurSlideClasses(a)),this.sendChanges(),this._invalidated={},this.is("valid")||this.enter("valid")}width(i){switch(i=i||dd.Default,i){case dd.Inner:case dd.Outer:return this._width;default:return this._width-this.settings.stagePadding*2+this.settings.margin}}refresh(){this.enter("refreshing"),this._trigger("refresh"),this._defineSlidesData(),this.setOptionsForViewport(),this._optionsLogic(),this.update(),this.leave("refreshing"),this._trigger("refreshed")}onResize(i){if(!this._items.length)return!1;this.setCarouselWidth(i),this.enter("resizing"),this._trigger("resize"),this.invalidate("width"),this.refresh(),this.leave("resizing"),this._trigger("resized")}prepareDragging(i){let n=null,r;return r=this.stageData.transform.replace(/.*\(|\)| |[^,-\d]\w|\)/g,"").split(","),n={x:+r[0],y:+r[1]},this.is("animating")&&this.invalidate("position"),i.type==="mousedown"&&(this.owlDOMData.isGrab=!0),this.speed(0),n}enterDragging(){this.enter("dragging"),this._trigger("drag")}defineNewCoordsDrag(i,n){let r=null,o=null,a=null,s=this.difference(n.pointer,this.pointer(i)),l=this.difference(n.stage.start,s);return this.is("dragging")?(this.settings.loop?(r=this.coordinates(this.minimum()),o=+this.coordinates(this.maximum()+1)-r,l.x=((l.x-r)%o+o)%o+r):(r=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),o=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),a=this.settings.pullDrag?-1*s.x/5:0,l.x=Math.max(Math.min(l.x,r+a),o+a)),l):!1}finishDragging(i,n,r){let o=["right","left"],a=this.difference(n.pointer,this.pointer(i)),s=n.stage.current,l=o[+(this.settings.rtl?a.x<+this.settings.rtl:a.x>+this.settings.rtl)],d,h,_;(a.x!==0&&this.is("dragging")||!this.is("valid"))&&(this.speed(+this.settings.dragEndSpeed||this.settings.smartSpeed),d=this.closest(s.x,a.x!==0?l:n.direction),h=this.current(),_=this.current(d===-1?void 0:d),h!==_&&(this.invalidate("position"),this.update()),n.direction=l,(Math.abs(a.x)>3||new Date().getTime()-n.time>300)&&r()),this.is("dragging")&&(this.leave("dragging"),this._trigger("dragged"))}closest(i,n){let o=this.width(),a=this.coordinates(),s=-1;this.settings.center&&(a=a.map(l=>(l===0&&(l+=1e-6),l)));for(let l=0;l<a.length&&(n==="left"&&i>a[l]-30&&i<a[l]+30?s=l:n==="right"&&i>a[l]-o-30&&i<a[l]-o+30?s=l+1:this._op(i,"<",a[l])&&this._op(i,">",a[l+1]||a[l]-o)?s=n==="left"?l+1:l:n===null&&i>a[l]-30&&i<a[l]+30&&(s=l),s===-1);l++);return this.settings.loop||(this._op(i,">",a[this.minimum()])?s=i=this.minimum():this._op(i,"<",a[this.maximum()])&&(s=i=this.maximum())),s}animate(i){let n=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),n&&(this.enter("animating"),this._trigger("translate")),this.stageData.transform="translate3d("+i+"px,0px,0px)",this.stageData.transition=this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}is(i){return this._states.current[i]&&this._states.current[i]>0}current(i){if(i===void 0)return this._current;if(this._items.length!==0){if(i=this.normalize(i),this._current!==i){let n=this._trigger("change",{property:{name:"position",value:i}});this._current=i,this.invalidate("position"),this._trigger("changed",{property:{name:"position",value:this._current}})}return this._current}}invalidate(i){return typeof i=="string"&&(this._invalidated[i]=!0,this.is("valid")&&this.leave("valid")),Object.keys(this._invalidated)}reset(i){i=this.normalize(i),i!==void 0&&(this._speed=0,this._current=i,this._suppress(["translate","translated"]),this.animate(this.coordinates(i)),this._release(["translate","translated"]))}normalize(i,n){let r=this._items.length,o=n?0:this._clones.length;return!this._isNumeric(i)||r<1?i=void 0:(i<0||i>
8=r+o)&&(i=((i-o/2)%r+r)%r+o/2),i}relative(i){return i-=this._clones.length/2,this.normalize(i,!0)}maximum(i=!1){let n=this.settings,r=this._coordinates.length,o,a,s;if(n.loop)r=this._clones.length/2+this._items.length-1;else if(n.autoWidth||n.merge){for(o=this._items.length,a=this.slidesData[--o].width,s=this._width;o-- >0&&(a+=+this.slidesData[o].width+this.settings.margin,!(a>s)););r=o+1}else n.center?r=this._items.length-1:r=this._items.length-n.items;return i&&(r-=this._clones.length/2),Math.max(r,0)}minimum(i=!1){return i?0:this._clones.length/2}items(i){return i===void 0?this._items.slice():(i=this.normalize(i,!0),[this._items[i]])}mergers(i){return i===void 0?this._mergers.slice():(i=this.normalize(i,!0),this._mergers[i])}clones(i){let n=this._clones.length/2,r=n+this._items.length,o=a=>a%2===0?r+a/2:n-(a+1)/2;return i===void 0?this._clones.map((a,s)=>o(s)):this._clones.map((a,s)=>a===i?o(s):null).filter(a=>a)}speed(i){return i!==void 0&&(this._speed=i),this._speed}coordinates(i){let n=1,r=i-1,o,a;return i===void 0?(a=this._coordinates.map((s,l)=>this.coordinates(l)),a):(this.settings.center?(this.settings.rtl&&(n=-1,r=i+1),o=this._coordinates[i],o+=(this.width()-o+(this._coordinates[r]||0))/2*n):o=this._coordinates[r]||0,o=Math.ceil(o),o)}_duration(i,n,r){return r===0?0:Math.min(Math.max(Math.abs(n-i),1),6)*Math.abs(+r||this.settings.smartSpeed)}to(i,n){let r=this.current(),o=null,a=i-this.relative(r),s=this.maximum(),l=0,d=+(a>0)-+(a<0),h=this._items.length,_=this.minimum();this.settings.loop?(!this.settings.rewind&&Math.abs(a)>h/2&&(a+=d*-1*h),i=r+a,o=((i-_)%h+h)%h+_,o!==i&&o-a<=s&&o-a>0&&(r=o-a,i=o,l=30,this.reset(r),this.sendChanges())):this.settings.rewind?(s+=1,i=(i%s+s)%s):i=Math.max(_,Math.min(s,i)),setTimeout(()=>{this.speed(this._duration(r,i,n)),this.current(i),this.update()},l)}next(i){i=i||!1,this.to(this.relative(this.current())+1,i)}prev(i){i=i||!1,this.to(this.relative(this.current())-1,i)}
8onTransitionEnd(i){if(i!==void 0)return!1;this.leave("animating"),this._trigger("translated")}_viewport(){let i;return this._width?i=this._width:this.logger.log("Can not detect viewport width."),i}setItems(i){this._items=i}_defineSlidesData(){let i;this.slidesData&&this.slidesData.length&&(i=new Map,this.slidesData.forEach(n=>{n.load&&i.set(n.id,n.load)})),this.slidesData=this._items.map(n=>({id:`${n.id}`,isActive:!1,tplRef:n.tplRef,dataMerge:n.dataMerge,width:0,isCloned:!1,load:i?i.get(n.id):!1,hashFragment:n.dataHash}))}setCurSlideClasses(i){let n={active:i.isActive,center:i.isCentered,cloned:i.isCloned,animated:i.isAnimated,"owl-animated-in":i.isDefAnimatedIn,"owl-animated-out":i.isDefAnimatedOut};return this.settings.animateIn&&(n[this.settings.animateIn]=i.isCustomAnimatedIn),this.settings.animateOut&&(n[this.settings.animateOut]=i.isCustomAnimatedOut),n}_op(i,n,r){let o=this.settings.rtl;switch(n){case"<":return o?i>r:i<r;case">":return o?i<r:i>r;case">=":return o?i<=r:i>=r;case"<=":return o?i>=r:i<=r;default:break}}_trigger(i,n,r,o,a){switch(i){case"initialized":this._initializedCarousel$.next(i);break;case"change":this._changeSettingsCarousel$.next(n);break;case"changed":this._changedSettingsCarousel$.next(n);break;case"drag":this._dragCarousel$.next(i);break;case"dragged":this._draggedCarousel$.next(i);break;case"resize":this._resizeCarousel$.next(i);break;case"resized":this._resizedCarousel$.next(i);break;case"refresh":this._refreshCarousel$.next(i);break;case"refreshed":this._refreshedCarousel$.next(i);break;case"translate":this._translateCarousel$.next(i);break;case"translated":this._translatedCarousel$.next(i);break;default:break}}enter(i){[i].concat(this._states.tags[i]||[]).forEach(n=>{this._states.current[n]===void 0&&(this._states.current[n]=0),this._states.current[n]++})}leave(i){[i].concat(this._states.tags[i]||[]).forEach(n=>{(this._states.current[n]===0||this._states.current[n])&&this._states.current[n]--})}register(i){i.type===Xx.State&&(this._states.tags[i.name]?this._states.tags[i.name]=this._states.tags[i.name].concat(i.tags):this._states.tags[i.name]=i.tags,this._states.tags[i.name]=this._states.tags[i.name].filter((n,r)=>this._states.tags[i.name].indexOf(n)===r))}_suppress(i){i.forEach(n=>{this._supress[n]=!0})}_release(i){i.forEach(n=>{delete this._supress[n]})}pointer(i){let n={x:null,y:null};return i=i.originalEvent||i||window.event,i=i.touches&&i.touches.length?i.touches[0]:i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,i.pageX?(n.x=i.pageX,n.y=i.pageY):(n.x=i.clientX,n.y=i.clientY),n}_isNumeric(i){return!isNaN(parseFloat(i))}_isNumberOrBoolean(i){return this._isNumeric(i)||typeof i=="boolean"}_isNumberOrString(i){return this._isNumeric(i)||typeof i=="string"}_isStringOrBoolean(i){return typeof i=="string"||typeof i=="boolean"}difference(i,n){return i===null||n===null?{x:0,y:0}:{x:i.x-n.x,y:i.y-n.y}}static \u0275fac=function(n){return new(n||t)(x(zm))};static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})(),Wx=(()=>{class t{carouselService;navSubscription;_initialized=!1;_pages=[];_navData={disabled:!1,prev:{disabled:!1,htmlText:""},next:{disabled:!1,htmlText:""}};_dotsData={disabled:!1,dots:[]};constructor(i){this.carouselService=i,this.spyDataStreams()}ngOnDestroy(){this.navSubscription.unsubscribe()}spyDataStreams(){let i=this.carouselService.getInitializedState().pipe(Oe(a=>{this.initialize(),this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),n=this.carouselService.getChangedState().pipe(ft(a=>a.property.name==="position"),Oe(a=>{this.update()})),r=this.carouselService.getRefreshedState().pipe(Oe(()=>{this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),o=Gn(i,n,r);this.navSubscription=o.subscribe(()=>{})}initialize(){this._navData.disabled=!0,this._navData.prev.htmlText=this.carouselService.settings.navText[0],this._navData.next.htmlText=this.carouselService.settings.navText[1],this._dotsData.disabled=!0,this.carouselService.navData=this._navData,this.carouselService.dotsData=this._dotsData}_updateNavPages(){let i,n,r,o=this.carouselService.clones().length/2,a=o+this.carouselService.items().length,s=this.carouselService.maximum(!0),l=[],d=this.carouselService.settings,h=d.center||d.autoWidth||d.dotsData?1:Math.floor(Number(d.dotsEach))||Math.floor(d.items);if(h=+h,d.slideBy!=="page"&&(d.slideBy=Math.min(+d.slideBy,d.items)),d.dots||d.slideBy==="page")for(i=o,n=0,r=0;i<a;i++){if(n>=h||n===0){if(l.push({start:Math.min(s,i-o),end:i-o+h-1}),Math.min(s,i-o)===s)break;n=0,++r}n+=this.carouselService.mergers(this.carouselService.relative(i))}this._pages=l}draw(){let i,n=this.carouselService.settings,r=this.carouselService.items(),o=r.length<=n.items;if(this._navData.disabled=!n.nav||o,this._dotsData.disabled=!n.dots||o,n.dots)if(i=this._pages.length-this._dotsData.dots.length,n.dotsData&&i!==0)this._dotsData.dots=[],r.forEach(a=>{this._dotsData.dots.push({active:!1,id:`dot-${a.id}`,innerContent:a.dotContent,showInnerContent:!0})});else if(i>0){let a=this._dotsData.dots.length>0?this._dotsData.dots.length:0;for(let s=0;s<i;s++)this._dotsData.dots.push({active:!1,id:`dot-${s+a}`,innerContent:"",showInnerContent:!1})}else i<0&&this._dotsData.dots.splice(i,Math.abs(i));this.carouselService.navData=this._navData,this.carouselService.dotsData=this._dotsData}update(){this._updateNavButtons(),this._updateDots()}_updateNavButtons(){let i=this.carouselService.settings,n=i.loop||i.rewind,r=this.carouselService.relative(this.carouselService.current());i.nav&&(this._navData.prev.disabled=!n&&r<=this.carouselService.minimum(!0),this._navData.next.disabled=!n&&r>=this.carouselService.maximum(!0)),this.carouselService.navData=this._navData}_updateDots(){let i;
8this.carouselService.settings.dots&&(this._dotsData.dots.forEach(n=>{n.active===!0&&(n.active=!1)}),i=this._current(),this._dotsData.dots.length&&(this._dotsData.dots[i].active=!0),this.carouselService.dotsData=this._dotsData)}_current(){let i=this.carouselService.relative(this.carouselService.current()),n,r=this._pages.filter((o,a)=>o.start<=i&&o.end>=i).pop();return n=this._pages.findIndex(o=>o.start===r.start&&o.end===r.end),n}_getPosition(i){let n,r,o=this.carouselService.settings;return o.slideBy==="page"?(n=this._current(),r=this._pages.length,i?++n:--n,n=this._pages[(n%r+r)%r].start):(n=this.carouselService.relative(this.carouselService.current()),r=this.carouselService.items().length,i?n+=+o.slideBy:n-=+o.slideBy),n}next(i){this.carouselService.to(this._getPosition(!0),i)}prev(i){this.carouselService.to(this._getPosition(!1),i)}to(i,n,r){let o;!r&&this._pages.length?(o=this._pages.length,this.carouselService.to(this._pages[(i%o+o)%o].start,n)):this.carouselService.to(i,n)}moveByDot(i){let n=this._dotsData.dots.findIndex(r=>i===r.id);this.to(n,this.carouselService.settings.dotsSpeed)}toSlideById(i){let n=this.carouselService.slidesData.findIndex(r=>
8r.id===i&&r.isCloned===!1);n===-1||n===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(n),!1)}static \u0275fac=function(n){return new(n||t)(x(Ui))};static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})(),$m=new re("WindowToken"),_s=class{get nativeWindow(){throw new Error("Not implemented.")}},mA=(()=>{class t extends _s{constructor(){super()}get nativeWindow(){return window}static \u0275fac=function(n){return new(n||t)};static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})();function _A(t,e){return Xe(e)?t.nativeWindow:{setTimeout:(n,r)=>{},clearTimeout:n=>{}}}var CA={provide:_s,useClass:mA},yA={provide:$m,useFactory:_A,deps:[_s,De]},vA=[CA,yA],Gm=new re("DocumentToken"),Cs=class{get nativeDocument(){throw new Error("Not implemented.")}},bA=(()=>{class t extends Cs{constructor(){super()}get nativeDocument(){return document}static \u0275fac=function(n){return new(n||t)};static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})();function xA(t,e){return Xe(e)?t.nativeDocument:{hidden:!1,visibilityState:"visible"}}var MA={provide:Cs,useClass:bA},wA={provide:Gm,useFactory:xA,deps:[Cs,De]},OA=[MA,wA],Kx=(()=>{class t{carouselService;ngZone;autoplaySubscription;_timeout=null;_paused=!1;_isArtificialAutoplayTimeout;_isAutoplayStopped=!1;get isAutoplayStopped(){return this._isAutoplayStopped}set isAutoplayStopped(i){this._isAutoplayStopped=i}winRef;docRef;constructor(i,n,r,o){this.carouselService=i,this.ngZone=o,this.winRef=n,this.docRef=r,this.spyDataStreams()}ngOnDestroy(){this.autoplaySubscription.unsubscribe()}spyDataStreams(){let i=this.carouselService.getInitializedState().pipe(Oe(()=>{this.carouselService.settings.autoplay&&this.play()})),n=this.carouselService.getChangedState().pipe(Oe(a=>{this._handleChangeObservable(a)})),r=this.carouselService.getResizedState().pipe(Oe(()=>{this.carouselService.settings.autoplay&&!this._isAutoplayStopped?this.play():this.stop()})),o=Gn(i,n,r);this.autoplaySubscription=o.subscribe(()=>{})}play(i,n){this._paused&&(this._paused=!1,this._setAutoPlayInterval(this.carouselService.settings.autoplayMouseleaveTimeout)),!this.carouselService.is("rotating")&&(this.carouselService.enter("rotating"),this._setAutoPlayInterval())}_getNextTimeout(i,n){return this._timeout&&this.winRef.clearTimeout(this._timeout),this._isArtificialAutoplayTimeout=!!i,this.ngZone.runOutsideAngular(()=>this.winRef.setTimeout(()=>{this.ngZone.run(()=>{this._paused||this.carouselService.is("busy")||this.carouselService.is("interacting")||this.docRef.hidden||this.carouselService.next(n||this.carouselService.settings.autoplaySpeed)})},i||this.carouselService.settings.autoplayTimeout))}_setAutoPlayInterval(i){this._timeout=this._getNextTimeout(i)}stop(){this.carouselService.is("rotating")&&(this._paused=!0,this.winRef.clearTimeout(this._timeout),this.carouselService.leave("rotating"))}pause(){this.carouselService.is("rotating")&&(this._paused=!0)}_handleChangeObservable(i){i.property.name==="settings"?this.carouselService.settings.autoplay?this.play():this.stop():i.property.name==="position"&&this.carouselService.settings.autoplay&&this._setAutoPlayInterval()}_playAfterTranslated(){pe("translated").pipe(ht(i=>this.carouselService.getTranslatedState()),Qt(),ft(()=>this._isArtificialAutoplayTimeout),Oe(()=>this._setAutoPlayInterval())).subscribe(()=>{})}startPausing(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&this.pause()}startPlayingMouseLeave(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}startPlayingTouchEnd(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}static \u0275fac=function(n){return new(n||t)(x(Ui),x($m),x(Gm),x(Ke))};static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})(),Yx=(()=>{class t{carouselService;lazyLoadSubscription;constructor(i){this.carouselService=i,this.spyDataStreams()}ngOnDestroy(){this.lazyLoadSubscription.unsubscribe()}
8spyDataStreams(){let i=this.carouselService.getInitializedState().pipe(Oe(()=>{let a=this.carouselService.settings&&!this.carouselService.settings.lazyLoad;this.carouselService.slidesData.forEach(s=>s.load=!!a)})),n=this.carouselService.getChangeState(),r=this.carouselService.getResizedState(),o=Gn(i,n,r).pipe(Oe(a=>this._defineLazyLoadSlides(a)));this.lazyLoadSubscription=o.subscribe(()=>{})}_defineLazyLoadSlides(i){if(!(!this.carouselService.settings||!this.carouselService.settings.lazyLoad)&&(i.property&&i.property.name==="position"||i==="initialized"||i==="resized")){let n=this.carouselService.settings,r=this.carouselService.clones().length,o=n.center&&Math.ceil(n.items/2)||n.items,a=n.center&&o*-1||0,s=(i.property&&i.property.value!==void 0?i.property.value:this.carouselService.current())+a;for(n.lazyLoadEager>0&&(o+=n.lazyLoadEager,n.loop&&(s-=n.lazyLoadEager,o++));a++<o;)this._load(r/2+this.carouselService.relative(s)),r&&this.carouselService.clones(this.carouselService.relative(s)).forEach(l=>this._load(l)),s++}}_load(i){this.carouselService.slidesData[i].load||(this.carouselService.slidesData[i].load=!0)}static \u0275fac=function(n){return new(n||t)(x(Ui))};static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})(),Hm=(()=>{class t{carouselService;animateSubscription;swapping=!0;previous=void 0;next=void 0;constructor(i){this.carouselService=i,this.spyDataStreams()}ngOnDestroy(){this.animateSubscription.unsubscribe()}spyDataStreams(){let i=this.carouselService.getChangeState().pipe(Oe(d=>{d.property.name==="position"&&(this.previous=this.carouselService.current(),this.next=d.property.value)})),n=this.carouselService.getDragState(),r=this.carouselService.getDraggedState(),o=this.carouselService.getTranslatedState(),a=Gn(n,r,o).pipe(Oe(d=>this.swapping=d==="translated")),s=this.carouselService.getTranslateState().pipe(Oe(d=>{this.swapping&&(this.carouselService._options.animateOut||this.carouselService._options.animateIn)&&this._swap()})),l=Gn(i,s,a).pipe();this.animateSubscription=l.subscribe(()=>{})}_swap(){if(this.carouselService.settings.items!==1)return;this.carouselService.speed(0);let i,n=this.carouselService.slidesData[this.previous],r=this.carouselService.slidesData[this.next],o=this.carouselService.settings.animateIn,a=this.carouselService.settings.animateOut;this.carouselService.current()!==this.previous&&(a&&(i=+this.carouselService.coordinates(this.previous)-+this.carouselService.coordinates(this.next),this.carouselService.slidesData.forEach(s=>{s.id===n.id&&(s.left=`${i}px`,s.isAnimated=!0,s.isDefAnimatedOut=!0,s.isCustomAnimatedOut=!0)})),o&&this.carouselService.slidesData.forEach(s=>{s.id===r.id&&(s.isAnimated=!0,s.isDefAnimatedIn=!0,s.isCustomAnimatedIn=!0)}))}clear(i){this.carouselService.slidesData.forEach(n=>{n.id===i&&(n.left="",n.isAnimated=!1,n.isDefAnimatedOut=!1,n.isCustomAnimatedOut=!1,n.isDefAnimatedIn=!1,n.isCustomAnimatedIn=!1,n.classes=this.carouselService.setCurSlideClasses(n))}),this.carouselService.onTransitionEnd()}static \u0275fac=function(n){return new(n||t)(x(Ui))};static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})(),Qx=(()=>{class t{carouselService;autoHeightSubscription;constructor(i){this.carouselService=i,this.spyDataStreams()}ngOnDestroy(){this.autoHeightSubscription.unsubscribe()}spyDataStreams(){let i=this.carouselService.getInitializedState().pipe(Oe(a=>{this.carouselService.settings.autoHeight?this.update():this.carouselService.slidesData.forEach(s=>s.heightState="full")})),n=this.carouselService.getChangedState().pipe(Oe(a=>{this.carouselService.settings.autoHeight&&a.property.name==="position"&&this.update()})),r=this.carouselService.getRefreshedState().pipe(Oe(a=>{this.carouselService.settings.autoHeight&&this.update()})),o=Gn(i,n,r);this.autoHeightSubscription=o.subscribe(()=>{})}update(){let i=this.carouselService.settings.items,n=this.carouselService.current(),r=n+i;this.carouselService.settings.center&&(n=i%2===1?n-(i-1)/2:n-i/2,r=i%2===1?n+i:n+i+1),this.carouselService.slidesData.forEach((o,a)=>{o.heightState=a>=n&&a<r?"full":"nulled"})}static \u0275fac=function(n){return new(n||t)(x(Ui))};static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})(),Zx=(()=>{class t{carouselService;route;router;hashSubscription;currentHashFragment;constructor(i,n,r){this.carouselService=i,this.route=n,this.router=r,this.spyDataStream
8s(),this.route||(this.route={fragment:pe("no route").pipe(Mt(1))}),this.router||(this.router={navigate:(o,a)=>{}})}ngOnDestroy(){this.hashSubscription.unsubscribe()}spyDataStreams(){let i=this.carouselService.getInitializedState().pipe(Oe(()=>this.listenToRoute())),n=this.carouselService.getChangedState().pipe(Oe(o=>{if(this.carouselService.settings.URLhashListener&&o.property.name==="position"){let a=this.carouselService.current(),s=this.carouselService.slidesData[a].hashFragment;if(!s||s===this.currentHashFragment)return;this.router.navigate(["./"],{fragment:s,relativeTo:this.route})}})),r=Gn(i,n);this.hashSubscription=r.subscribe(()=>{})}rewind(i){let n=this.carouselService.slidesData.findIndex(r=>r.hashFragment===i&&r.isCloned===!1);n===-1||n===this.carouselService.current()||this.carouselService.to(this.carouselService.relative(n),!1)}listenToRoute(){let i=this.carouselService.settings.startPosition==="URLHash"?0:2;this.route.fragment.pipe(dl(i)).subscribe(n=>{this.currentHashFragment=n,this.rewind(n)})}static \u0275fac=function(n){return new(n||t)(x(Ui),x(ke,8),x(pt,8))};static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})(),PA=0,xt=(()=>{class t{tplRef;id=`owl-slide-${PA++}`;_dataMerge=1;set dataMerge(i){this._dataMerge=this.isNumeric(i)?i:1}get dataMerge(){return this._dataMerge}width=0;dotContent="";dataHash="";constructor(i){this.tplRef=i}isNumeric(i){return!isNaN(parseFloat(i))}static \u0275fac=function(n){return new(n||t)(m(ui))};static \u0275dir=Qe({type:t,selectors:[["ng-template","carouselSlide",""]],inputs:{id:"id",dataMerge:"dataMerge",width:"width",dotContent:"dotContent",dataHash:"dataHash"}})}return t})(),Jx=(()=>{class t{resizeObservable$;get onResize$(){return this.resizeObservable$}constructor(i,n){this.resizeObservable$=Xe(n)?fa(i,"resize"):new Le().asObservable()}static \u0275fac=function(n){return new(n||t)(x($m),x(De))};static \u0275prov=P({token:t,factory:t.\u0275fac})}return t})(),EA=(()=>{class t{zone;el;renderer;carouselService;animateService;owlDraggable;stageData;slidesData;listenerMouseMove;listenerTouchMove;listenerOneMouseMove;listenerOneTouchMove;listenerMouseUp;listenerTouchEnd;listenerOneClick;listenerATag;_drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1};_oneDragMove$=new Le;_oneMoveSubsription;preparePublicSlide=i=>{let n=Y({},i);return delete n.tplRef,n};constructor(i,n,r,o,a){this.zone=i,this.el=n,this.renderer=r,this.carouselService=o,this.animateService=a}onMouseDown(i){this.owlDraggable.isMouseDragable&&this._onDragStart(i)}onTouchStart(i){if(i.targetTouches.length>=2)return!1;this.owlDraggable.isTouchDragable&&this._onDragStart(i)}onTouchCancel(i){this._onDragEnd(i)}
8onDragStart(){if(this.owlDraggable.isMouseDragable)return!1}onSelectStart(){if(this.owlDraggable.isMouseDragable)return!1}ngOnInit(){this._oneMoveSubsription=this._oneDragMove$.pipe(Qt()).subscribe(()=>{this._sendChanges()})}ngOnDestroy(){this._oneMoveSubsription.unsubscribe()}bindOneMouseTouchMove=i=>{this._oneMouseTouchMove(i)};bindOnDragMove=i=>{this._onDragMove(i)};bindOnDragEnd=i=>{this._onDragEnd(i)};_onDragStart(i){let n=null;i.which!==3&&(n=this._prepareDragging(i),this._drag.time=new Date().getTime(),this._drag.target=i.target,this._drag.stage.start=n,this._drag.stage.current=n,this._drag.pointer=this._pointer(i),this.listenerMouseUp=this.renderer.listen(document,"mouseup",this.bindOnDragEnd),this.listenerTouchEnd=this.renderer.listen(document,"touchend",this.bindOnDragEnd),this.zone.runOutsideAngular(()=>{this.listenerOneMouseMove=this.renderer.listen(document,"mousemove",this.bindOneMouseTouchMove),this.listenerOneTouchMove=this.renderer.listen(document,"touchmove",this.bindOneMouseTouchMove)}))}_oneMouseTouchMove(i){let n=this._difference(this._drag.pointer,this._pointer(i));this.listenerATag&&this.listenerATag(),!(Math.abs(n.x)<3&&Math.abs(n.y)<3&&this._is("valid"))&&(Math.abs(n.x)<3&&Math.abs(n.x)<Math.abs(n.y)&&this._is("valid")||(this.listenerOneMouseMove(),this.listenerOneTouchMove(),this._drag.moving=!0,this.blockClickAnchorInDragging(i),this.listenerMouseMove=this.renderer.listen(document,"mousemove",this.bindOnDragMove),this.listenerTouchMove=this.renderer.listen(document,"touchmove",this.bindOnDragMove),i.preventDefault(),this._enterDragging(),this._oneDragMove$.next(i)))}blockClickAnchorInDragging(i){let n=i.target;for(;n&&!(n instanceof HTMLAnchorElement);)n=n.parentElement;n instanceof HTMLAnchorElement&&(this.listenerATag=this.renderer.listen(n,"click",()=>!1))}_onDragMove(i){let n,r=this.carouselService.defineNewCoordsDrag(i,this._drag);r!==!1&&(n=r,i.preventDefault(),this._drag.stage.current=n,this._animate(n.x-this._drag.stage.start.x))}_animate(i){this.renderer.setStyle(this.el.nativeElement.children[0],"transform",`translate3d(${i}px,0px,0px`),this.renderer.setStyle(this.el.nativeElement.children[0],"transition","0s")}_onDragEnd(i){this.carouselService.owlDOMData.isGrab=!1,this.listenerOneMouseMove(),this.listenerOneTouchMove(),this._drag.moving&&(this.renderer.setStyle(this.el.nativeElement.children[0],"transform",""),this.renderer.setStyle(this.el.nativeElement.children[0],"transition",this.carouselService.speed(+this.carouselService.settings.dragEndSpeed||this.carouselService.settings.smartSpeed)/1e3+"s"),this._finishDragging(i),this.listenerMouseMove(),this.listenerTouchMove()),this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1},this.listenerMouseUp(),this.listenerTouchEnd()}_prepareDragging(i){return this.carouselService.prepareDragging(i)}_oneClickHandler=()=>{this.listenerOneClick=this.renderer.listen(this._drag.target,"click",()=>!1),this.listenerOneClick()};_finishDragging(i){this.carouselService.finishDragging(i,this._drag,this._oneClickHandler)}_pointer(i){return this.carouselService.pointer(i)}_difference(i,n){return this.carouselService.difference(i,n)}_is(i){return this.carouselService.is(i)}_enter(i){this.carouselService.enter(i)}_sendChanges(){this.carouselService.sendChanges()}onTransitionEnd(){this.carouselService.onTransitionEnd()}_enterDragging(){this.carouselService.enterDragging()}clear(i){this.animateService.clear(i)}static \u0275fac=function(n){return new(n||t)(m(Ke),m($e),m(At),m(Ui),m(Hm))};static \u0275cmp=T({type:t,selectors:[["owl-stage"]],hostBindings:function(n,r){n&1&&B("mousedown",function(a){return r.onMouseDown(a)})("touchstart",function(a){return r.onTouchStart(a)})("touchcancel",function(a){return r.onTouchCancel(a)})("dragstart",function(){return r.onDragStart()})("selectstart",function(){return r.onSelectStart()})},inputs:{owlDraggable:"owlDraggable",stageData:"stageData",slidesData:"slidesData"},decls:3,vars:8,consts:[[1,"owl-stage",3,"transitionend","ngStyle"],[4,"ngFor","ngForOf"],[1,"owl-item",3,"animationend","ngClass","ngStyle"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,r){n&1&&(p(0,"div")(1,"div",0),B("transitionend",function(){return r.onTransitionEnd()}),O(2,cA,3,9,"ng-container",1),u()()),n&2&&(c(),f("ngStyle",hg(2,rA,r.stageData.width+"px",r.stageData.transform,r.stageData.transition,r.stageData.paddingL?r.stageData.paddingL+"px":"",r.stageData.paddingR?r.stageData.paddingR+"px":"")),c(),f("ngForOf",r.slidesData))},dependencies:[nn,rn,Ha,xb,bb],encapsulation:2,data:{animation:[Gx("autoHeight",[Bm("nulled",qo({height:0})),Bm("full",qo({height:"*"})),jm("full => nulled",[Fm("700ms 350ms")]),jm("nulled => full",[Fm(350)])])]}})}return t})(),Ot=(()=>{class t{el;resizeService;carouselService;navigationService;autoplayService;lazyLoadService;animateService;autoHeightService;hashService;logger;changeDetectorRef;slides;translated=new _e;dragging=new _e;change=new _e;changed=new _e;initialized=new _e;carouselWindowWidth;resizeSubscription;_allObservSubscription;_slidesChangesSubscription;owlDOMData;stageData;slidesData=[];navData;dotsData;slidesOutputData;carouselLoaded=!1;options;prevOptions;_viewCurSettings$;_translatedCarousel$;_draggingCarousel$;_changeCarousel$;_changedCarousel$;_initializedCarousel$;_carouselMerge$;docRef;constructor(i,n,r,o,a,s,l,d,h,_,M,E){this.el=i,this.resizeService=n,this.carouselService=r,this.navigationService=o,this.autoplayService=a,this.lazyLoadService=s,this.animateService=l,this.autoHeightService=d,this.hashService=h,this.logger=_,this.changeDetectorRef=M,this.docRef=E}onVisibilityChange(i){if(this.carouselService.settings.autoplay)switch(this.docRef.visibilityState){case"visible":!this.autoplayService.isAutoplayStopped&&this.autoplayService.play();break;case"hidden":this.autoplayService.pause();break;default:break}}
8ngOnInit(){this.spyDataStreams(),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}ngOnChanges(){this.prevOptions!==this.options&&(this.prevOptions&&this.slides?.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,this.slides.toArray(),this.options),this.carouselService.initialize(this.slides.toArray())):this.prevOptions&&!this.slides?.toArray().length?(this.carouselLoaded=!1,this.logger.log("There are no slides to show. So the carousel won't be re-rendered")):this.carouselLoaded=!1,this.prevOptions=this.options)}ngAfterContentInit(){this.slides.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,this.slides.toArray(),this.options),this.carouselService.initialize(this.slides.toArray()),this._winResizeWatcher()):this.logger.log("There are no slides to show. So the carousel won't be rendered"),this._slidesChangesSubscription=this.slides.changes.pipe(Oe(i=>{this.carouselService.setup(this.carouselWindowWidth,i.toArray(),this.options),this.carouselService.initialize(i.toArray()),i.toArray().length||(this.carouselLoaded=!1),i.toArray().length&&!this.resizeSubscription&&this._winResizeWatcher()})).subscribe(()=>{})}ngOnDestroy(){this.resizeSubscription&&this.resizeSubscription.unsubscribe(),this._slidesChangesSubscription&&this._slidesChangesSubscription.unsubscribe(),this._allObservSubscription&&this._allObservSubscription.unsubscribe()}spyDataStreams(){this._viewCurSettings$=this.carouselService.getViewCurSettings().pipe(Oe(i=>{this.owlDOMData=i.owlDOMData,this.stageData=i.stageData,this.slidesData=i.slidesData,this.carouselLoaded||(this.carouselLoaded=!0),this.navData=i.navData,this.dotsData=i.dotsData,this.changeDetectorRef.markForCheck()})),this._initializedCarousel$=this.carouselService.getInitializedState().pipe(Oe(()=>{this.gatherTranslatedData(),this.initialized.emit(this.slidesOutputData)})),this._translatedCarousel$=this.carouselService.getTranslatedState().pipe(Oe(()=>{this.gatherTranslatedData(),this.translated.emit(this.slidesOutputData)})),this._changeCarousel$=this.carouselService.getChangeState().pipe(Oe(()=>{this.gatherTranslatedData(),this.change.emit(this.slidesOutputData)})),this._changedCarousel$=this.carouselService.getChangeState().pipe(ht(i=>{let n=pe(i).pipe(ft(()=>i.property.name==="position"),ht(()=>nt(this.slidesData)),dl(i.property.value),Mt(this.carouselService.settings.items),be(r=>{let o=this.carouselService.clonedIdPrefix,a=r.id.indexOf(o)>=0?r.id.slice(o.length):r.id;return ze(Y({},r),{id:a,isActive:!0})}),Pp(),be(r=>({slides:r,startPosition:this.carouselService.relative(i.property.value)})));return Gn(n)}),Oe(i=>{this.gatherTranslatedData(),this.changed.emit(i.slides.length?i:this.slidesOutputData)})),this._draggingCarousel$=this.carouselService.getDragState().pipe(Oe(()=>{this.gatherTranslatedData(),this.dragging.emit({dragging:!0,data:this.slidesOutputData})}),ht(()=>this.carouselService.getDraggedState().pipe(be(()=>!!this.carouselService.is("animating")))),ht(i=>i?this.carouselService.getTranslatedState().pipe(Qt()):pe("not animating")),Oe(()=>{this.dragging.emit({dragging:!1,data:this.slidesOutputData})})),this._carouselMerge$=Gn(this._viewCurSettings$,this._translatedCarousel$,this._draggingCarousel$,this._changeCarousel$,this._changedCarousel$,this._initializedCarousel$),this._allObservSubscription=this._carouselMerge$.subscribe(()=>{})}_winResizeWatcher(){Object.keys(this.carouselService._options.responsive).length&&(this.resizeSubscription=this.resizeService.onResize$.pipe(ft(()=>this.carouselWindowWidth!==this.el.nativeElement.querySelector(".owl-carousel").clientWidth),Sp(this.carouselService.settings.responsiveRefreshRate)).subscribe(()=>{this.carouselService.onResize(this.el.nativeElement.querySelector(".owl-carousel").clientWidth),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}))}onTransitionEnd(){this.carouselService.onTransitionEnd()}next(){this.carouselLoaded&&this.navigationService.next(this.carouselService.settings.navSpeed)}prev(){this.carouselLoaded&&this.navigationService.prev(this.carouselService.settings.navSpeed)}moveByDot(i){this.carouselLoaded&&this.navigationService.moveByDot(i)}to(i){this.carouselLoaded&&this.navigationService.toSlideById(i)}gatherTranslatedData(){let i,n=this.carouselService.clonedIdPrefix,r=this.slidesData.filter(o=>o.isActive===!0).map(o=>({id:o.id.indexOf(n)>=0?o.id.slice(n.length):o.id,width:o.width,marginL:o.marginL,marginR:o.marginR,center:o.isCentered}));i=this.carouselService.relative(this.carouselService.current()),this.slidesOutputData={startPosition:i,slides:r}}startPausing(){this.autoplayService.startPausing()}startPlayML(){this.autoplayService.startPlayingMouseLeave()}startPlayTE(){this.autoplayService.startPlayingTouchEnd()}stopAutoplay(){this.autoplayService.isAutoplayStopped=!0,this.autoplayService.stop()}startAutoplay(){this.autoplayService.isAutoplayStopped=!1,this.autoplayService.play()}static \u0275fac=function(n){return new(n||t)(m($e),m(Jx),m(Ui),m(Wx),m(Kx),m(Yx),m(Hm),m(Qx),m(Zx),m(zm),m(xn),m(Gm))};static \u0275cmp=T({type:t,selectors:[["owl-carousel-o"]],contentQueries:function(n,r,o){if(n&1&&pg(o,xt,4),n&2){let a;dt(a=ut())&&(r.slides=a)}},hostBindings:function(n,r){n&1&&B("visibilitychange",function(a){return r.onVisibilityChange(a)},!1,qy)},inputs:{options:"options"},outputs:{translated:"translated",dragging:"dragging",change:"change",changed:"changed",initialized:"initialized"}
8,features:[ei([Wx,Kx,Ui,Yx,Hm,Qx,Zx]),tn],decls:4,vars:9,consts:[["owlCarousel",""],[1,"owl-carousel","owl-theme",3,"mouseover","mouseleave","touchstart","touchend","ngClass"],["class","owl-stage-outer",4,"ngIf"],[4,"ngIf"],[1,"owl-stage-outer"],[3,"owlDraggable","stageData","slidesData"],[1,"owl-nav",3,"ngClass"],[1,"owl-prev",3,"click","ngClass","innerHTML"],[1,"owl-next",3,"click","ngClass","innerHTML"],[1,"owl-dots",3,"ngClass"],["class","owl-dot",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"owl-dot",3,"click","ngClass"],[3,"innerHTML"]],template:function(n,r){if(n&1){let o=ne();p(0,"div",1,0),B("mouseover",function(){return Q(o),Z(r.startPausing())})("mouseleave",function(){return Q(o),Z(r.startPlayML())})("touchstart",function(){return Q(o),Z(r.startPausing())})("touchend",function(){return Q(o),Z(r.startPlayTE())}),O(2,fA,2,6,"div",2)(3,gA,6,15,"ng-container",3),u()}n&2&&(f("ngClass",hg(3,dA,r.owlDOMData==null?null:r.owlDOMData.rtl,r.owlDOMData==null?null:r.owlDOMData.isLoaded,r.owlDOMData==null?null:r.owlDOMData.isResponsive,r.owlDOMData==null?null:r.owlDOMData.isMouseDragable,r.owlDOMData==null?null:r.owlDOMData.isGrab)),c(2),f("ngIf",r.carouselLoaded),c(),f("ngIf",r.slides.toArray().length))},dependencies:[nn,rn,Ha,EA],styles:[".owl-theme[_ngcontent-%COMP%]{display:block}"],changeDetection:0})}return t})();var tt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=vt({type:t});static \u0275inj=yt({providers:[vA,Jx,OA,zm],imports:[Ye]})}return t})();function SA(t,e){if(t&1){let i=ne();p(0,"a",1),B("click",function(r){Q(i);let o=C();return Z(o.onClick(r))}),b(1),u()}if(t&2){let i=C();F("active",i.isActive)("small",i.small),f("title",i.label)("target",i.isTargetBlank?"_blank":"_self")("ngClass",i.type)("href",i.link,L),c(),I(" ",i.label," ")}}function IA(t,e){if(t&1){let i=ne();p(0,"button",2),B("click",function(r){Q(i);let o=C();return Z(o.onClick(r))}),b(1),u()}if(t&2){let i=C();F("active",i.isActive)("small",i.small),f("title",i.label)("ngClass",i.type)("disabled",!i.isValid),Nt("type",i.isSubmit?"submit":"button"),c(),I(" ",i.label," ")}}var fe=(()=>{let e=class e{constructor(){this.handleClick=new _e,this.type="primary",this.link="",this.isTargetBlank=!1,this.label="Label",this.isValid=!0,this.isActive=!1,this.download=!1,this.small=!1,this.isSubmit=!1}onClick(n){this.handleClick.emit(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=T({type:e,selectors:[["app-button"]],inputs:{type:"type",link:"link",isTargetBlank:"isTargetBlank",label:"label",isValid:"isValid",isActive:"isActive",download:"download",small:"small",isSubmit:"isSubmit"},outputs:{handleClick:"handleClick"},standalone:!0,features:[k],decls:2,vars:1,consts:[[3,"title","target","ngClass","href","active","small"],[3,"click","title","target","ngClass","href"],[3,"click","title","ngClass","disabled"]],template:function(r,o){r&1&&O(0,SA,2,9,"a",0)(1,IA,2,9),r&2&&w(0,o.link?0:1)},dependencies:[Ye,nn],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}button[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;cursor:pointer;font-size:1rem;color:var(--gray-01);transition:all .4s;border-radius:64px;border:none;padding:10px 54px 10px 24px;position:relative;overflow:hidden;line-height:23px}button[_ngcontent-%COMP%]:before, a[_ngcontent-%COMP%]:before{content:"";position:absolute;
8left:-100%;top:0;width:44px;height:44px;background-image:url(/assets/img/icons/arrow-right-button.svg);background-position:center;background-size:auto;background-repeat:no-repeat;border-radius:56px;background-color:var(--orange);transition:all .3s}button[_ngcontent-%COMP%]:after, a[_ngcontent-%COMP%]:after{content:"";position:absolute;right:0;top:0;width:44px;height:44px;background-image:url(/assets/img/icons/arrow-right-button.svg);background-position:center;background-size:auto;background-repeat:no-repeat;border-radius:56px;background-color:var(--orange);transition:all .4s}button.primary[_ngcontent-%COMP%], a.primary[_ngcontent-%COMP%]{background:linear-gradient(90deg,var(--orange) 0%,var(--yellow) 78.5%)}button.primary[_ngcontent-%COMP%]:hover, a.primary[_ngcontent-%COMP%]:hover{background:linear-gradient(90deg,var(--orange) 0%,var(--orange) 100%);padding:10px 24px 10px 54px}button.primary[_ngcontent-%COMP%]:hover:before, a.primary[_ngcontent-%COMP%]:hover:before{left:0%}button.primary[_ngcontent-%COMP%]:hover:after, a.primary[_ngcontent-%COMP%]:hover:after{right:-100%}button.secondary[_ngcontent-%COMP%], a.secondary[_ngcontent-%COMP%]{background:var(--gray-01);color:var(--gray-06);border:1px solid var(--gray-03)}button.secondary[_ngcontent-%COMP%]:before, a.secondary[_ngcontent-%COMP%]:before{display:none}button.secondary[_ngcontent-%COMP%]:hover, a.secondary[_ngcontent-%COMP%]:hover{padding:10px 60px 10px 24px}button.tertiary[_ngcontent-%COMP%], a.tertiary[_ngcontent-%COMP%]{background:var(--orange);color:var(--gray-01);padding:6px 24px}button.tertiary[_ngcontent-%COMP%]:before, a.tertiary[_ngcontent-%COMP%]:before{display:none}button.tertiary[_ngcontent-%COMP%]:after, a.tertiary[_ngcontent-%COMP%]:after{display:none}button.tertiary[_ngcontent-%COMP%]:hover, a.tertiary[_ngcontent-%COMP%]:hover{background:var(--orange-dark)}button.fourth[_ngcontent-%COMP%], a.fourth[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;background:var(--gray-01);color:var(--gray-04);padding:6px 24px;border:1px solid var(--gray-04)}button.fourth[_ngcontent-%COMP%]:before, a.fourth[_ngcontent-%COMP%]:before{display:none}button.fourth[_ngcontent-%COMP%]:after, a.fourth[_ngcontent-%COMP%]:after{display:none}button.fourth[_ngcontent-%COMP%]:hover, a.fourth[_ngcontent-%COMP%]:hover, button.fourth.active[_ngcontent-%COMP%], a.fourth.active[_ngcontent-%COMP%]{background:var(--orange);color:var(--gray-01);border:1px solid var(--orange)}button.small[_ngcontent-%COMP%], a.small[_ngcontent-%COMP%]{font-size:.75rem;padding:8px 38px 8px 16px;position:relative;overflow:hidden;line-height:14px}button.small[_ngcontent-%COMP%]:before, a.small[_ngcontent-%COMP%]:before{width:24px;height:24px}button.small[_ngcontent-%COMP%]:after, a.small[_ngcontent-%COMP%]:after{right:0;top:0;width:30px;height:30px;background-size:15px}button.small.primary[_ngcontent-%COMP%]:hover, a.small.primary[_ngcontent-%COMP%]:hover{padding:8px 38px 8px 16px}button.small.primary[_ngcontent-%COMP%]:hover:before, a.small.primary[_ngcontent-%COMP%]:hover:before{left:0%}button.small.primary[_ngcontent-%COMP%]:hover:after, a.small.primary[_ngcontent-%COMP%]:hover:after{right:-100%}button.small.secondary[_ngcontent-%COMP%]:hover, a.small.secondary[_ngcontent-%COMP%]:hover{padding:8px 40px 8px 16px}a[_ngcontent-%COMP%]{display:block;width:max-content}@media (max-width: 768px){button[_ngcontent-%COMP%], a[_ngcontent-%COMP%]{font-size:.75rem;padding:8px 38px 8px 16px;position:relative;overflow:hidden;line-height:14px}button[_ngcontent-%COMP%]:before, a[_ngcontent-%COMP%]:before{width:24px;height:24px}button[_ngcontent-%COMP%]:after, a[_ngcontent-%COMP%]:after{right:0;top:0;width:30px;height:30px;background-size:15px}button.primary[_ngcontent-%COMP%]:hover, a.primary[_ngcontent-%COMP%]:hover{padding:8px 40px 8px 16px}button.primary[_ngcontent-%COMP%]:hover:before, a.primary[_ngcontent-%COMP%]:hover:before{left:0%}button.primary[_ngcontent-%COMP%]:hover:after, a.primary[_ngcontent-%COMP%]:hover:after{right:-100%}button.secondary[_ngcontent-%COMP%]:hover, a.secondary[_ngcontent-%COMP%]:hover{padding:8px 40px 8px 16px}}']}
8);let t=e;return t})();function TA(t,e){if(t&1&&(p(0,"span"),b(1),u()),t&2){let i=C(2).$implicit;c(),$(i.typeHighlights)}}function DA(t,e){if(t&1&&(p(0,"h1"),b(1),u()),t&2){let i=C(2).$implicit;c(),I(" ",i.title," ")}}function kA(t,e){if(t&1&&(p(0,"p"),b(1),u()),t&2){let i=C(2).$implicit;c(),$(i.description)}}function AA(t,e){if(t&1&&(g(0,"app-button",9),y(1,"translate")),t&2){let i=C(2).$implicit;f("label",v(1,3,"HOME.COURSES.ONE.LABEL-BTN"))("link",i.link)("isTargetBlank",i.isTarget)}}function NA(t,e){if(t&1&&(p(0,"div",5)(1,"div",6)(2,"div",7)(3,"div",8),O(4,TA,2,1,"span")(5,DA,2,1,"h1")(6,kA,2,1,"p")(7,AA,2,5,"app-button",9),u()()()()),t&2){let i=C().$implicit;bc("background-image","url("+i.srcImg+")"),c(4),w(4,i.typeHighlights?4:-1),c(),w(5,i.title?5:-1),c(),w(6,i.description?6:-1),c(),w(7,i.link?7:-1)}}function RA(t,e){t&1&&O(0,NA,8,6,"ng-template",4)}function LA(t,e){if(t&1&&(p(0,"owl-carousel-o",3,0),A(2,RA,1,0,null,4,j),u()),t&2){let i=C();f("options",i.customOptions),c(2),N(i.bannersList)}}function FA(t,e){t&1&&g(0,"div",10)}var Ln=(()=>{let e=class e{constructor(){this.bannersList=[],this.showComponent=!1,this.customOptions={loop:!0,autoplay:!0,autoplaySpeed:1e3,autoplayTimeout:7e3,mouseDrag:!1,touchDrag:!0,pullDrag:!1,items:1,slideBy:1,dots:!0,navSpeed:1e3,nav:!1,autoplayHoverPause:!0}}ngOnInit(){setTimeout(()=>{this.showComponent=!0},1e3)}onResize(n){}resetComponent(){this.showComponent=!1,setTimeout(()=>{this.showComponent=!0},1e3)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=T({type:e,selectors:[["app-banners"]],hostBindings:function(r,o){r&1&&B("resize",function(s){return o.onResize(s)},!1,dc)},inputs:{bannersList:"bannersList"},standalone:!0,features:[k],decls:2,vars:2,consts:[["owlCarousel",""],[3,"options",4,"ngIf"],["class","banner-fake",4,"ngIf"],[3,"options"],["carouselSlide",""],[1,"banner"],[1,"box-text"],[1,"container"],[1,"box"],["type","secondary",3,"label","link","isTargetBlank"],[1,"banner-fake"]],template:function(r,o){r&1&&O(0,LA,4,1,"owl-carousel-o",1)(1,FA,1,0,"div",2),r&2&&(f("ngIf",o.showComponent),c(),f("ngIf",!o.showComponent))},dependencies:[Ye,Ha,tt,Ot,xt,fe,V,z],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.banner[_ngcontent-%COMP%]{position:relative;background-position:center;background-repeat:no-repeat;background-size:cover;min-height:500px;width:100%}.banner[_ngcontent-%COMP%]   .box-text[_ngcontent-%COMP%]{position:absolute;
8left:0;top:0;width:100%;height:100%;display:flex;align-items:center;justify-content:flex-start}.banner[_ngcontent-%COMP%]   .box-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]{max-width:600px}.banner[_ngcontent-%COMP%]   .box-text[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:.75rem;color:var(--gray-01);margin-bottom:8px}.banner[_ngcontent-%COMP%]   .box-text[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:2.5rem;color:var(--gray-01);margin-bottom:8px;line-height:48px;text-transform:uppercase}.banner[_ngcontent-%COMP%]   .box-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-01);margin-bottom:24px;line-height:24px}.banner[_ngcontent-%COMP%]:before{content:"";position:absolute;width:100%;height:100%;top:0;left:0;transition:all .3s;background-color:var(--mask-banner)}.banner-fake[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;min-height:500px}.spiner-banner[_ngcontent-%COMP%]{border:7px solid rgba(0,0,0,.1);border-color:var(--orange);border-left-color:transparent;border-radius:50%;width:38px;height:38px;animation:_ngcontent-%COMP%_rotate 1s linear infinite}@media (max-width: 1050px){.banner[_ngcontent-%COMP%]   .box-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]{max-width:550px}.banner[_ngcontent-%COMP%]   .box-text[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:2.375rem}}@media (max-width: 768px){.banner[_ngcontent-%COMP%]{min-height:460px}.banner[_ngcontent-%COMP%]   .box-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]{max-width:300px}.banner[_ngcontent-%COMP%]   .box-text[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:1.5rem;line-height:28px}.banner[_ngcontent-%COMP%]   .box-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:16px;line-height:21px}}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}']});let t=e;return t})();function BA(t,e){if(t&1&&(p(0,"figure"),g(1,"img",7),u()),t&2){let i=C(2);c(),f("src",i.propsCard.srcImg,L)("alt",i.propsCard.altImg)}}function jA(t,e){if(t&1&&(p(0,"span",3),b(1),u()),t&2){let i=C(2);c(),$(i.propsCard.category)}}function VA(t,e){if(t&1&&(p(0,"p",6),b(1),u()),t&2){let i=C(2);c(),$(i.propsCard.date)}}function UA(t,e){if(t&1&&(p(0,"a",1),O(1,BA,2,2,"figure"),p(2,"div",2),O(3,jA,2,1,"span",3),p(4,"h3",4),b(5),u(),p(6,"p",5),b(7),u(),O(8,VA,2,1,"p",6),u()()),t&2){let i=C();F("disabled",i.propsCard.disabled?i.propsCard.disabled:!1)("link",i.propsCard.link)("full",i.isSizeFull),f("href",i.propsCard.link,L)("target",i.propsCard.isTarget?"_blank":"_self")("ngClass",i.typeCard)("title",i.propsCard.title),c(),w(1,i.propsCard.srcImg?1:-1),c(2),w(3,i.propsCard.category?3:-1),c(2),$(i.propsCard.title),c(2),$(i.propsCard.description),c(),w(8,i.propsCard.date?8:-1)}}function HA(t,e){if(t&1&&(p(0,"figure"),g(1,"img",7),u()),t&2){let i=C(2);c(),f("src",i.propsCard.srcImg,L)("alt",i.propsCard.altImg)}}function zA(t,e){if(t&1&&(p(0,"span",3),b(1),u()),t&2){let i=C(2);c(),$(i.propsCard.category)}}function $A(t,e){if(t&1&&(p(0,"p",6),b(1),u()),t&2){let i=C(2);c(),$(i.propsCard.date)}}function GA(t,e){if(t&1&&(p(0,"a",8),O(1,HA,2,2,"figure"),p(2,"div",2),O(3,zA,2,1,"span",3),p(4,"h3",4),b(5),u(),p(6,"p",5),b(7),u(),O(8,$A,2,1,"p",6),u()()),t&2){let i=C();F("disabled",i.propsCard.disabled?i.propsCard.disabled:!1)("link",i.propsCard.link)("full",i.isSizeFull),f("routerLink",i.propsCard.link)("target",i.propsCard.isTarget?"_blank":"_self")("ngClass",i.typeCard)("title",i.propsCard.title),c(),w(1,i.propsCard.srcImg?1:-1),c(2),w(3,i.propsCard.category?3:-1),c(2),$(i.propsCard.title),c(2),$(i.propsCard.description),c(),w(8,i.propsCard.date?8:-1)}}var un=(()=>{let e=class e{constructor(){this.typeCard="orange",this.isSizeFull=!1,this.propsCard={srcImg:"",altImg:"",category:"",title:"",description:"",date:"",link:"",isTarget:!1,disabled:!1}}isExternalLink(n){return/^https?:\/\//i.test(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=T({type:e,selectors:[["app-card"]],inputs:{typeCard:"typeCard",isSizeFull:"isSizeFull",propsCard:"propsCard"}
8,standalone:!0,features:[k],decls:2,vars:1,consts:[[1,"card",3,"disabled","href","target","ngClass","link","full","title"],[1,"card",3,"href","target","ngClass","title"],[1,"coll-text"],[1,"tag"],[1,"title"],[1,"description"],[1,"date"],[3,"src","alt"],[1,"card",3,"routerLink","target","ngClass","title"]],template:function(r,o){r&1&&O(0,UA,9,15,"a",0)(1,GA,9,15),r&2&&w(0,o.isExternalLink(o.propsCard.link)?0:1)},dependencies:[Ye,nn,Ht],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.card[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;max-width:700px;cursor:default;pointer-events:none}.card[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{width:100%;overflow:hidden;position:relative;transition:all .3s;height:288px;max-height:288px}.card[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;transition:all .3s;height:100%;object-fit:cover;object-position:center}.card[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]:before{content:"";transition:all .3s;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.card[_ngcontent-%COMP%]   .tag[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;display:block;padding:4px 8px;width:fit-content;font-size:.75rem;color:var(--gray-01);margin-bottom:8px}.card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.25rem;color:var(--gray-06);line-height:24px;margin-bottom:8px;transition:all .3s}.card[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-05);line-height:24px;margin-bottom:8px}.card[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:.75rem;color:var(--gray-04);line-height:18px}.card[_ngcontent-%COMP%]:hover{cursor:pointer}.card[_ngcontent-%COMP%]:hover   figure[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{transform:scale(1.05)}.card[_ngcontent-%COMP%]:hover   figure[_ngcontent-%COMP%]:before{background:#0006}.card.orange[_ngcontent-%COMP%]   .tag[_ngcontent-%COMP%]{background-color:var(--orange)}.card.orange[_ngcontent-%COMP%]:hover   .title[_ngcontent-%COMP%]{color:var(--orange)}
8.card.blue[_ngcontent-%COMP%]   .tag[_ngcontent-%COMP%]{background-color:var(--blue)}.card.blue[_ngcontent-%COMP%]:hover   .title[_ngcontent-%COMP%]{color:var(--blue)}.card.visit[_ngcontent-%COMP%]{border-radius:8px;overflow:hidden;background-color:var(--gray-01);height:100%}.card.visit[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]{padding:0 16px}.card.link[_ngcontent-%COMP%]{cursor:pointer;pointer-events:all}.card.disabled[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]:before{background:#fff6}.card.full[_ngcontent-%COMP%]{max-width:none}.card.full[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{height:350px;max-height:350px}@media (max-width: 768px){.card[_ngcontent-%COMP%]{max-width:none}.card[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{height:200px;max-height:200px}.card[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.card.full[_ngcontent-%COMP%]{max-width:none}.card.full[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{height:200px;max-height:200px}}']});let t=e;return t})();var lM=(()=>{let e=class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(r){return new(r||e)(m(At),m($e))},e.\u0275dir=Qe({type:e});let t=e;return t})(),qA=(()=>{let e=class e extends lM{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Dn(e)))(o||e)}})(),e.\u0275dir=Qe({type:e,features:[Ci]});let t=e;return t})(),xs=new re("");var WA={provide:xs,useExisting:Li(()=>hr),multi:!0};function KA(){let t=bi()?bi().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var YA=new re(""),hr=(()=>{let e=class e extends lM{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!KA())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(r){return new(r||e)(m(At),m($e),m(YA,8))},e.\u0275dir=Qe({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&B("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ei([WA]),Ci]});let t=e;return t})();function fr(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function cM(t){return t!=null&&typeof t.length=="number"}var Yo=new re(""),Qm=new re(""),QA=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,je=class{static min(e){return ZA(e)}static max(e){return XA(e)}static required(e){return dM(e)}static requiredTrue(e){return JA(e)}static email(e){return e3(e)}static minLength(e){return t3(e)}static maxLength(e){return n3(e)}static pattern(e){return i3(e)}static nullValidator(e){return pd(e)}static compose(e){return mM(e)}static composeAsync(e){return CM(e)}};function ZA(t){return e=>{if(fr(e.value)||fr(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i<t?{min:{min:t,actual:e.value}}:null}}function XA(t){return e=>{if(fr(e.value)||fr(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}function dM(t){return fr(t.value)?{required:!0}:null}function JA(t){return t.value===!0?null:{required:!0}}function e3(t){return fr(t.value)||QA.test(t.value)?null:{email:!0}}function t3(t){return e=>fr(e.value)||!cM(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function n3(t){return e=>cM(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function i3(t){if(!t)return pd;let e,i;return typeof t=="string"?(i="",t.charAt(0)!=="^"&&(i+="^"),i+=t,t.charAt(t.length-1)!=="$"&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),n=>
8{if(fr(n.value))return null;let r=n.value;return e.test(r)?null:{pattern:{requiredPattern:i,actualValue:r}}}}function pd(t){return null}function uM(t){return t!=null}function pM(t){return Vr(t)?nt(t):t}function fM(t){let e={};return t.forEach(i=>{e=i!=null?Y(Y({},e),i):e}),Object.keys(e).length===0?null:e}function hM(t,e){return e.map(i=>i(t))}function r3(t){return!t.validate}function gM(t){return t.map(e=>r3(e)?e:i=>e.validate(i))}function mM(t){if(!t)return null;let e=t.filter(uM);return e.length==0?null:function(i){return fM(hM(i,e))}}function _M(t){return t!=null?mM(gM(t)):null}function CM(t){if(!t)return null;let e=t.filter(uM);return e.length==0?null:function(i){let n=hM(i,e).map(pM);return pa(n).pipe(be(fM))}}function yM(t){return t!=null?CM(gM(t)):null}function eM(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function vM(t){return t._rawValidators}function bM(t){return t._rawAsyncValidators}function qm(t){return t?Array.isArray(t)?t:[t]:[]}function fd(t,e){return Array.isArray(t)?t.includes(e):t===e}function tM(t,e){let i=qm(e);return qm(t).forEach(r=>{fd(i,r)||i.push(r)}),i}function nM(t,e){return qm(e).filter(i=>!fd(t,i))}var hd=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=_M(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=yM(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,i){return this.control?this.control.hasError(e,i):!1}getError(e,i){return this.control?this.control.getError(e,i):null}},qr=class extends hd{get formDirective(){return null}get path(){return null}},Wr=class extends hd{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},gd=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},o3={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},UG=ze(Y({},o3),{"[class.ng-submitted]":"isSubmitted"}),Qo=(()=>{let e=class e extends gd{constructor(n){super(n)}};e.\u0275fac=function(r){return new(r||e)(m(Wr,2))},e.\u0275dir=Qe({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&F("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Ci]});let t=e;return t})(),Fn=(()=>{let e=class e extends gd{constructor(n){super(n)}};e.\u0275fac=function(r){return new(r||e)(m(qr,10))},e.\u0275dir=Qe({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){r&2&&F("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Ci]});let t=e;return t})();var ys="VALID",ud="INVALID",Wo="PENDING",vs="DISABLED";function Zm(t){return(yd(t)?t.validators:t)||null}function a3(t){return Array.isArray(t)?_M(t):t||null}function Xm(t,e){return(yd(e)?e.asyncValidators:t)||null}function s3(t){return Array.isArray(t)?yM(t):t||null}function yd(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function xM(t,e,i){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new K(1e3,"");if(!n[i])throw new K(1001,"")}function MM(t,e,i){t._forEachChild((n,r)=>{if(i[r]===void 0)throw new K(1002,"")})}var Ko=class{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===ys}get invalid(){return this.status===ud}get pending(){return this.status==Wo}get disabled(){return this.status===vs}get enabled(){return this.status!==vs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(tM(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(tM(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(nM(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(nM(e,this._rawAsyncValidators))}hasValidator(e){return fd(this._rawValidators,e)}hasAsyncValidator(e){return fd(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}
8),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Wo,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=vs,this.errors=null,this._forEachChild(n=>{n.disable(ze(Y({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ze(Y({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=ys,this._forEachChild(n=>{n.enable(ze(Y({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ze(Y({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ys||this.status===Wo)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?vs:ys}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Wo,this._hasOwnPendingAsyncValidator=!0;let i=pM(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(i.emitEvent!==!1)}get(e){let i=e;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((n,r)=>n&&n._find(r),this)}getError(e,i){let n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new _e,this.statusChanges=new _e}_calculateStatus(){return this._allControlsDisabled()?vs:this.errors?ud:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wo)?Wo:this._anyControlsHaveStatus(ud)?ud:ys}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){yd(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let i=this._parent&&this._parent.dirty;return!e&&!!i&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=a3(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=s3(this._rawAsyncValidators)}},md=class extends Ko{constructor(e,i,n){super(Zm(i),Xm(n,i)),this.controls=e,this._initOb
8servables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,i){return this.controls[e]?this.controls[e]:(this.controls[e]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(e,i,n={}){this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(e,i,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],i&&this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,i={}){MM(this,!0,e),Object.keys(e).forEach(n=>{xM(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(e,i={}){e!=null&&(Object.keys(e).forEach(n=>{let r=this.controls[n];r&&r.patchValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(e={},i={}){this._forEachChild((n,r)=>{n.reset(e?e[r]:null,{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(e,i,n)=>(e[n]=i.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(i,n)=>n._syncPendingControls()?!0:i);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(i=>{let n=this.controls[i];n&&e(n,i)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[i,n]of Object.entries(this.controls))if(this.contains(i)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(i,n,r)=>((n.enabled||this.disabled)&&(i[r]=n.value),i))}_reduceChildren(e,i){let n=e;return this._forEachChild((r,o)=>{n=i(n,r,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var Wm=class extends md{};var vd=new re("CallSetDisabledState",{providedIn:"root",factory:()=>bd}),bd="always";function wM(t,e){return[...e.path,t]}function Km(t,e,i=bd){Jm(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||i==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),c3(t,e),u3(t,e),d3(t,e),l3(t,e)}function iM(t,e,i=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Cd(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function _d(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function l3(t,e){if(e.valueAccessor.setDisabledState){let i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}function Jm(t,e){let i=vM(t);e.validator!==null?t.setValidators(eM(i,e.validator)):typeof i=="function"&&t.setValidators([i]);let n=bM(t);e.asyncValidator!==null?t.setAsyncValidators(eM(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();_d(e._rawValidators,r),_d(e._rawAsyncValidators,r)}function Cd(t,e){let i=!1;if(t!==null){if(e.validator!==null){let r=vM(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==e.validator);o.length!==r.length&&(i=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let r=bM(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==e.asyncValidator);o.length!==r.length&&(i=!0,t.setAsyncValidators(o))}}}let n=()=>{};return _d(e._rawValidators,n),_d(e._rawAsyncValidators,n),i}function c3(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&OM(t,e)})}function d3(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&OM(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function OM(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function u3(t,e){let i=(n,r)=>{e.valueAccessor.writeValue(n),r&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}function p3(t,e){t==null,Jm(t,e)}function f3(t,e){return Cd(t,e)}function PM(t,e){if(!t.hasOwnProperty("model"))return!1;let i=t.model;return i.isFirstChange()?!0:!Object.is(e,i.currentValue)}function h3(t){return Object.getPrototypeOf(t.constructor)===qA}function g3(t,e){t._syncPendingControls(),e.forEach(i=>
8{let n=i.control;n.updateOn==="submit"&&n._pendingChange&&(i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function EM(t,e){if(!e)return null;Array.isArray(e);let i,n,r;return e.forEach(o=>{o.constructor===hr?i=o:h3(o)?n=o:r=o}),r||n||i||null}function m3(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function rM(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function oM(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var bs=class extends Ko{constructor(e=null,i,n){super(Zm(i),Xm(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),yd(i)&&(i.nonNullable||i.initialValueIsDefault)&&(oM(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){rM(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){rM(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){oM(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var _3=t=>t instanceof bs;var C3={provide:Wr,useExisting:Li(()=>e0)},aM=Promise.resolve(),e0=(()=>{let e=class e extends Wr{constructor(n,r,o,a,s,l){super(),this._changeDetectorRef=s,this.callSetDisabledState=l,this.control=new bs,this._registered=!1,this.name="",this.update=new _e,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=EM(this,a)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),PM(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Km(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(n){aM.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&er(r);aM.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?wM(n,this._parent):[n]}};e.\u0275fac=function(r){return new(r||e)(m(qr,9),m(Yo,10),m(Qm,10),m(xs,10),m(xn,8),m(vd,8))},e.\u0275dir=Qe({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[gt.None,"disabled","isDisabled"],model:[gt.None,"ngModel","model"],options:[gt.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ei([C3]),Ci,tn]});let t=e;return t})(),Bn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Qe({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})();var SM=new re("");var y3={provide:qr,useExisting:Li(()=>On)},On=(()=>{let e=class e extends qr{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new _e,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateV
8alidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Cd(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let r=this.form.get(n.path);return Km(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){iM(n.control||null,n,!1),m3(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,g3(this.form,this.directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{let r=n.control,o=this.form.get(n.path);r!==o&&(iM(r||null,n),_3(o)&&(Km(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let r=this.form.get(n.path);p3(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let r=this.form.get(n.path);r&&f3(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Jm(this.form,this),this._oldForm&&Cd(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(r){return new(r||e)(m(Yo,10),m(Qm,10),m(vd,8))},e.\u0275dir=Qe({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&B("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[gt.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ei([y3]),Ci,tn]});let t=e;return t})();var v3={provide:Wr,useExisting:Li(()=>Ms)},Ms=(()=>{let e=class e extends Wr{set isDisabled(n){}constructor(n,r,o,a,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new _e,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=EM(this,a)}ngOnChanges(n){this._added||this._setUpControl(),PM(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return wM(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(r){return new(r||e)(m(qr,13),m(Yo,10),m(Qm,10),m(xs,10),m(SM,8))},e.\u0275dir=Qe({type:e,selectors:[["","formControlName",""]],inputs:{name:[gt.None,"formControlName","name"],isDisabled:[gt.None,"disabled","isDisabled"],model:[gt.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[ei([v3]),Ci,tn]});let t=e;return t})();var b3=(()=>{let e=class e{constructor(){this._validator=pd}ngOnChanges(n){if(this.inputName in n){let r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):pd,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Qe({type:e,features:[tn]});let t=e;return t})();var x3={provide:Yo,useExisting:Li(()=>t0),multi:!0};var t0=(()=>{let e=class e extends b3{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=er,this.createValidator=n=>dM}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Dn(e)))(o||e)}})(),e.\u0275dir=Qe({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){r&2&&Nt("required",o._enabled?"":null)},inputs:{required:"required"},features:[ei([x3]),Ci]});let t=e;return t})();var IM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=vt({type:e}),e.\u0275inj=yt({});let t=e;return t})(),Ym=class extends Ko{constructor(e,i,n){super(Zm(i),Xm(n,i)),this.controls=e,this._initOb
8servables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,i={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}insert(e,i,n={}){this.controls.splice(e,0,i),this._registerControl(i),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,i={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:i.emitEvent})}setControl(e,i,n={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),i&&(this.controls.splice(r,0,i),this._registerControl(i)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,i={}){MM(this,!1,e),e.forEach((n,r)=>{xM(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(e,i={}){e!=null&&(e.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(e=[],i={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(i=>i._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((i,n)=>n._syncPendingControls()?!0:i,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((i,n)=>{e(i,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(i=>i.enabled&&e(i))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function sM(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var jn=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let n=new e;return n.useNonNullable=!0,n}group(n,r=null){let o=this._reduceControls(n),a={};return sM(r)?a=r:r!==null&&(a.validators=r.validator,a.asyncValidators=r.asyncValidator),new md(o,a)}record(n,r=null){let o=this._reduceControls(n);return new Wm(o,r)}control(n,r,o){let a={};return this.useNonNullable?(sM(r)?a=r:(a.validators=r,a.asyncValidators=o),new bs(n,ze(Y({},a),{nonNullable:!0}))):new bs(n,r,o)}array(n,r,o){let a=n.map(s=>this._createControl(s));return new Ym(a,r,o)}_reduceControls(n){let r={};return Object.keys(n).forEach(o=>{r[o]=this._createControl(n[o])}),r}_createControl(n){if(n instanceof bs)return n;if(n instanceof Ko)return n;if(Array.isArray(n)){let r=n[0],o=n.length>1?n[1]:null,a=n.length>2?n[2]:null;return this.control(r,o,a)}else return this.control(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var pn=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:vd,useValue:n.callSetDisabledState??bd}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=vt({type:e}),e.\u0275inj=yt({imports:[IM]});let t=e;return t})(),zt=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:SM,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:vd,useValue:n.callSetDisabledState??bd}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=vt({type:e}),e.\u0275inj=yt({imports:[IM]});let t=e;return t})();function gr(){return t=>{let e=t.value===null?"":t.value,i=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;if(e.length>
80){if(typeof e=="string"&&e.trim().length<=0)return{invalidEmail:!0,message:"E-mail inv\xE1lido"};if(typeof e=="string"&&!i.test(e))return{invalidEmail:!0,message:"E-mail inv\xE1lido"}}return null}}function TM(t=10){return e=>(e.value?e.value:"").length>t?{invalidMaxCharacter:!0,message:`M\xE1ximo de ${t} caracteres permitidos`}:null}function Hi(t=1,e=!0){return i=>{let n=i.value;return!e&&n.length<=0?null:typeof n=="string"&&(n.trim().length<t||n.trim().length===0)?{invalidMinCharacter:!0,message:`M\xEDnimo de ${t} caracteres \xE9 necess\xE1rio.`}:null}}function DM(){return t=>{let e=t.value?t.value.replace(/[^\d]/g,""):"";if(e.length===0)return null;if(e.length!==14)return{invalidCNPJ:!0,message:"CNPJ deve conter 14 d\xEDgitos."};let i=e.length-2,n=e.substring(0,i),r=e.substring(i),o=0,a=i-7;for(let l=i;l>=1;l--)o+=+n[i-l]*a--,a<2&&(a=9);let s=o%11<2?0:11-o%11;if(s!=+r[0])return{invalidCNPJ:!0,message:"CNPJ inv\xE1lido."};i=i+1,n=e.substring(0,i),o=0,a=i-7;for(let l=i;l>=1;l--)o+=+n[i-l]*a--,a<2&&(a=9);return s=o%11<2?0:11-o%11,s!=+r[1]?{invalidCNPJ:!0,message:"CNPJ inv\xE1lido."}:null}}var xd={evnName:"prod",production:!0,baseAPI:"/manage/manage-api/",keyRecaptcha:"6LeWx1YqAAAAAEmoxWPsv1jYVOFitnaWkbs9hYce"};var U=(()=>{let e=class e{constructor(){this.isLoading=!1}open(){this.isLoading=!0}close(){setTimeout(()=>this.isLoading=!1,500)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var We=(()=>{let e=class e{constructor(n,r,o,a){this.router=n,this.translate=r,this.loading=o,this.platformId=a,this.lang={code:"",label:""},this.languages=[{code:"pt",label:"Portugu\xEAs"},{code:"en",label:"English"},{code:"es",label:"Espa\xF1ol"}],this.languageRoutes={pt:n0,en:i0,es:r0},this.indexRoutePath=0,this.indexRouteChildrenPath=0,this.indexRouteSubChildrenPath=null,this.isBrowser=Xe(this.platformId),this.router.events.subscribe(s=>{s instanceof ar&&this.loading.open(),s instanceof ni&&this.handleNavigationEnd(s.url)})}handleNavigationEnd(n){let r=n.split("/"),o=r[1],a=this.translate.getBrowserLang(),s=this.languages.some(l=>l.code===o);this.lang.code=s?o:a||"pt",this.translate.use(this.lang.code),this.changeLanguage(this.lang.code,s&&!r.includes(this.lang.code)),this.isBrowser&&document.documentElement.setAttribute("lang",this.lang.code)}changeLanguage(n,r=!0){this.searchNameRoute(this.languageRoutes,this.router.url),this.router.resetConfig(n?this.languageRoutes[n]:this.languageRoutes.pt),r&&this.navigateToRoute()}navigateToRoute(){let n=this.router.config[0].path,r=this.router.config[0].children?.[this.indexRoutePath],o=r?.children?.[this.indexRouteChildrenPath],a;this.indexRouteSubChildrenPath!=null&&(a=o?.children?.[this.indexRouteSubChildrenPath]);let s=[n,r?.path?`/${r.path}`:"",o?.path?`/${o.path}`:"",a?.path?`/${a.path}`:""].join("");this.router.navigateByUrl(s)}searchNameRoute(n,r){let o=r.split("/").pop();for(let a of Object.values(n))a[0].children.forEach((s,l)=>{this.checkChildRoutes(s,o,l)})}checkChildRoutes(n,r,o){if(n.children)n.children.forEach((a,s)=>{if(a.children)a.children.forEach((l,d)=>l.path===r?(this.indexRoutePath=o,this.indexRouteChildrenPath=s,this.indexRouteSubChildrenPath=d,!0):a.path===r?(this.indexRoutePath=o,this.indexRouteChildrenPath=s,this.indexRouteSubChildrenPath=null,!0):!1);else return a.path===r?(this.indexRoutePath=o,this.indexRouteChildrenPath=s,this.indexRouteSubChildrenPath=null,!0):n.path===r?(this.indexRoutePath=o,!0):!1;return!1});else if(n.path===r)return this.indexRoutePath=o,!0;return!1}};e.\u0275fac=function(r){return new(r||e)(x(pt),x(ee),x(U),x(De))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ie=(()=>{let e=class e{constructor(n,r,o){this.http=n,this.router=r,this.languageService=o}createHeader(n){let r=new Nn({accept:"application/json","Content-Type":"application/json","Access-Control-Allow-Origin":"*"});return n&&(r=r.set("Authorization",`Bearer ${n}`)),r}constructURL(n,r){return`${xd.baseAPI}${this.languageService.lang.code?this.languageService.lang.code==="pt"?"":`${this.languageService.lang.code}/`:""}${n}${r?`/${r}`:""}`}methodGet(n,r){let o=this.constructURL(n,r);return this.http.get(o,{headers:this.createHeader()}).pipe(_n(a=>(console.error("HTTP GET error:",a),Hn(a))))}methodPost(n,r,o){let a=this.constructURL(n,"");return this.http.post(a,r,{headers:this.createHeader(o)}).pipe(_n(s=>
8(console.error("HTTP POST error:",s),Hn(s))))}};e.\u0275fac=function(r){return new(r||e)(x(Ya),x(pt),x(We))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var kM=(()=>{let e=class e{constructor(n){this.baseService=n}postNewsLetter(n){return this.baseService.methodPost("newsletters/gravar",n,"")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function w3(t,e){if(t&1&&(p(0,"div",2)(1,"div",3)(2,"h3"),b(3),y(4,"translate"),u(),p(5,"p"),b(6),y(7,"translate"),u()()()),t&2){let i=C();F("sucess",i.isSucess),c(3),$(v(4,4,"COMPONENT-NEWSLETTER.TITLE-SUCESS")),c(3),I(" ",v(7,6,"COMPONENT-NEWSLETTER.DESCRIPTION-SUCESS")," ")}}function O3(t,e){if(t&1&&(p(0,"p"),b(1),y(2,"translate"),u()),t&2){let i=C(2);c(),I(" ",v(2,1,i.description)," ")}}function P3(t,e){t&1&&(p(0,"small"),b(1,"O e-mail \xE9 obrigat\xF3rio."),u())}function E3(t,e){t&1&&(p(0,"small"),b(1,"Digite um e-mail v\xE1lido."),u())}function S3(t,e){if(t&1&&(p(0,"span",8),O(1,P3,2,0,"small")(2,E3,2,0,"small"),u()),t&2){let i,n,r=C(2);c(),w(1,!((i=r.formValidation.get("email"))==null||i.errors==null)&&i.errors.required?1:-1),c(),w(2,!((n=r.formValidation.get("email"))==null||n.errors==null)&&n.errors.invalidEmail?2:-1)}}function I3(t,e){if(t&1){let i=ne();p(0,"div",2)(1,"div",3)(2,"h3"),b(3),y(4,"translate"),u(),O(5,O3,3,3,"p"),u(),p(6,"div",4)(7,"form",5),B("ngSubmit",function(){Q(i);let r=C();return Z(r.formValidation.valid&&r.submit())}),p(8,"div",6),g(9,"input",7),y(10,"translate"),O(11,S3,3,2,"span",8),u(),g(12,"app-button",9),y(13,"translate"),u()()()}if(t&2){let i,n=C();c(3),$(v(4,7,n.title)),c(2),w(5,n.description?5:-1),c(2),f("formGroup",n.formValidation),c(2),f("placeholder",v(10,9,"COMPONENT-NEWSLETTER.PLACEHOLDER")),c(2),w(11,(i=n.formValidation.get("email"))!=null&&i.errors&&((i=n.formValidation.get("email"))!=null&&i.touched)?11:-1),c(),f("isSubmit",!0)("label",v(13,11,"COMPONENT-NEWSLETTER.LABEL-BTN"))}}var Zo=(()=>{let e=class e{constructor(n,r){this.fb=n,this.service=r,this.title="COMPONENT-NEWSLETTER.TITLE",this.description="COMPONENT-NEWSLETTER.DESCRIPTION",this.type=1,this.isSucess=!1}ngOnInit(){this.formValidation=this.fb.group({email:["",[je.required,gr()]],type:[this.type]})}submit(){this.formValidation.valid&&this.service.postNewsLetter(this.formValidation.value).subscribe(n=>{this.isSucess=!0,this.formValidation.reset()},n=>{this.isSucess=!0,this.formValidation.reset()})}};e.\u0275fac=function(r){return new(r||e)(m(jn),m(kM))},e.\u0275cmp=T({type:e,selectors:[["app-newsletter"]],inputs:{title:"title",description:"description",type:"type"},standalone:!0,features:[k],decls:4,vars:3,consts:[[1,"container"],[1,"row",3,"sucess"],[1,"row"],[1,"coll-text"],[1,"coll-form"],[3,"ngSubmit","formGroup"],[1,"coll-input"],["type","email","name","email","required","","formControlName","email",3,"placeholder"],[1,"error-message"],["type","secondary",3,"isSubmit","label"]],template:function(r,o){r&1&&(p(0,"section")(1,"div",0),O(2,w3,8,8,"div",1)(3,I3,14,13),u()()),r&2&&(c(),F("blue",o.type===2),c(),w(2,o.isSucess?2:3))},dependencies:[fe,V,z,pn,Bn,hr,Qo,Fn,t0,zt,On,Ms],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{background-color:var(--green);padding:32px 40px;border-radius:24px;margin:16px auto}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:24px;flex-wrap:wrap}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]{width:100%}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--gray-01);font-size:2rem;margin-bottom:0;line-height:40px}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-01);font-size:1rem;line-height:24px}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-form[_ngcontent-%COMP%]{width:100%;display:flex;align-items:stretch;justify-content:flex-start;gap:8px}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-form[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:flex-start;gap:8px;width:100%}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-form[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .coll-input[_ngcontent-%COMP%]{flex:1}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-form[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;width:100%;font-size:1rem;color:var(--gray-07);line-height:20px;padding:12px 24px;border-radius:32px;background-color:var(--gray-01);border:none}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-form[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::placeholder{color:var(--gray-04)}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-form[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{padding-left:16px;font-family:bold;font-weight:700;font-style:normal;color:var(--red);display:block;margin-top:5px;font-size:.75rem}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-form[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-family:bold;font-weight:700;font-style:normal;font-size:.75rem}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row.sucess[_ngcontent-%COMP%]{justify-content:center}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row.sucess[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]{width:100%}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row.sucess[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%], section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row.sucess[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-align:center}section[_ngcontent-%COMP%]   .container.blue[_ngcontent-%COMP%]{background-color:var(--blue)}@media (max-width: 1050px){section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:24px}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{gap:16px}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]{min-width:250px}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.75rem;line-height:36px}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1rem;line-height:24px}}@media (max-width: 768px){section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:24px}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]{min-width:none;width:100%}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.25rem;line-height:24px}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-form[_ngcontent-%COMP%]{width:100%;flex-direction:column;gap:8px}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-form[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{width:100%}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-form[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding:6px 24px;font-size:.875rem}}@media (max-width: 425px){section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-form[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{width:100%;flex-direction:column;align-items:stretch;gap:16px}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-form[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   app-button[_ngcontent-%COMP%]{margin:0 auto}}']});let t=e;return t})();function T3(t,e){t&1&&g(0,"hr")}function D3(t,e){if(t&1){let i=ne();p(0,"button",4),B("click",function(){Q(i);let r=C(2);return Z(r.btnPrev())}),Zn(),p(1,"svg",5),g(2,"path",6)(3,"path",7),u()()}if(t&2){let i=C(2);f("title","voltar "+i.title)}}function k3(t,e){if(t&1){let i=ne();p(0,"button",8),B("click",function(){Q(i);let r=C(2);return Z(r.btnNext())}),Zn(),p(1,"svg",5),g(2,"path",9)(3,"path",10),u()()}if(t&2){let i=C(2);f("title","avan\xE7ar "+i.title)}}function A3(t,e){if(t&1&&(p(0,"div",1),O(1,D3,4,1,"button",2)(2,k3,4,1,"button",3),u()),t&2){let i=C();c(),w(1,i.btnPrev!==void 0&&i.btnPrev!==null?1:-1),c(),w(2,i.btnNext!==void 0&&i.btnNext!==null?2:-1)}}var ce=(()=>{let e=class e{constructor(){this.title="Title",this.white=!1,this.line=!0,this.size="normal"}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=T({type:e,selectors:[["app-title-section"]],inputs:{title:"title",white:"white",line:"line",size:"size",btnPrev:"btnPrev",btnNext:"btnNext"}
8,standalone:!0,features:[k],decls:5,vars:7,consts:[[1,"header-section"],[1,"row-btns"],[1,"btn","left",3,"title"],[1,"btn","right",3,"title"],[1,"btn","left",3,"click","title"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M0 12C0 18.6274 5.37258 24 12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12Z","fill","#F5780F"],["d","M10.391 16.276C10.5151 16.4 10.6624 16.4984 10.8245 16.5655C10.9866 16.6326 11.1604 16.6671 11.3359 16.6671C11.5113 16.667 11.685 16.6324 11.8471 16.5652C12.0092 16.4981 12.1565 16.3996 12.2805 16.2755C12.4045 16.1514 12.5029 16.0041 12.57 15.842C12.6371 15.6799 12.6716 15.5061 12.6716 15.3306C12.6715 14.9763 12.5306 14.6365 12.28 14.386L11 13.108H16.667C17.0207 13.108 17.3598 12.9675 17.6099 12.7174C17.86 12.4673 18.0005 12.1282 18.0005 11.7745C18.0005 11.4208 17.86 11.0817 17.6099 10.8316C17.3598 10.5815 17.0207 10.441 16.667 10.441H11L12.278 9.167C12.529 8.9165 12.6703 8.57655 12.6706 8.22191C12.671 7.86728 12.5305 7.52703 12.28 7.276C12.0295 7.02497 11.6895 6.88374 11.3349 6.88336C10.9803 6.88299 10.64 7.0235 10.389 7.274L6.834 10.829C6.58406 11.079 6.44365 11.418 6.44365 11.7715C6.44365 12.125 6.58406 12.464 6.834 12.714L10.391 16.276Z","fill","white"],[1,"btn","right",3,"click","title"],["d","M24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24C18.6274 24 24 18.6274 24 12Z","fill","#F5780F"],["d","M13.609 7.724C13.4849 7.59997 13.3376 7.50159 13.1755 7.43449C13.0134 7.36739 12.8396 7.33288 12.6641 7.33292C12.4887 7.33297 12.315 7.36757 12.1529 7.43476C11.9908 7.50195 11.8435 7.6004 11.7195 7.7245C11.5955 7.8486 11.4971 7.99591 11.43 8.15803C11.3629 8.32015 11.3284 8.4939 11.3284 8.66935C11.3285 9.0237 11.4694 9.3635 11.72 9.614L13 10.892H7.333C6.97933 10.892 6.64015 11.0325 6.39007 11.2826C6.13999 11.5327 5.9995 11.8718 5.9995 12.2255C5.9995 12.5792 6.13999 12.9183 6.39007 13.1684C6.64015 13.4185 6.97933 13.559 7.333 13.559H13L11.722 14.833C11.471 15.0835 11.3297 15.4235 11.3294 15.7781C11.329 16.1327 11.4695 16.473 11.72 16.724C11.9705 16.975 12.3105 17.1163 12.6651 17.1166C13.0197 17.117 13.36 16.9765 13.611 16.726L17.166 13.171C17.4159 12.921 17.5564 12.582 17.5564 12.2285C17.5564 11.875 17.4159 11.536 17.166 11.286L13.609 7.724Z","fill","white"]],template:function(r,o){r&1&&(p(0,"div",0)(1,"h2"),b(2),u(),O(3,T3,1,0,"hr")(4,A3,3,2,"div",1),u()),r&2&&(F("small",o.size==="small"),c(),F("white",o.white),c(),$(o.title),c(),w(3,o.line&&o.title?3:-1),c(),w(4,o.btnPrev!==void 0&&o.btnPrev!==null||o.btnNext!==void 0&&o.btnNext!==null?4:-1))},dependencies:[V],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.header-section[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:16px auto}.header-section[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{min-width:fit-content;font-family:black;font-weight:900;font-style:normal;font-size:2rem;color:var(--orange);text-transform:uppercase}.header-section[_ngcontent-%COMP%]   h2.white[_ngcontent-%COMP%]{color:var(--gray-01)}.header-section[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{flex:100%;border:1px solid var(--gray-03)}.header-section[_ngcontent-%COMP%]   .row-btns[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.header-section[_ngcontent-%COMP%]   .row-btns[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{width:28px;height:27px;background-color:transparent;border:none;cursor:pointer}.header-section[_ngcontent-%COMP%]   .row-btns[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{transition:all .3s}.header-section[_ngcontent-%COMP%]   .row-btns[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]:first-child{fill:var
8(--orange)}.header-section[_ngcontent-%COMP%]   .row-btns[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]:last-child{fill:var(--gray-01)}.header-section[_ngcontent-%COMP%]   .row-btns[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]:first-child{fill:var(--orange-dark)}.header-section[_ngcontent-%COMP%]   .row-btns[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]:last-child{fill:var(--gray-01)}.header-section.small[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.5rem;line-height:28px}@media (max-width: 768px){.header-section[_ngcontent-%COMP%]{gap:8px}.header-section[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.25rem}.header-section.small[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.25rem;line-height:24px}}']});let t=e;return t})();var AM=(()=>{let e=class e{constructor(n){this.baseService=n}listHome(){return this.baseService.methodGet("home","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function R3(t,e){if(t&1&&(p(0,"a",9),y(1,"translate"),y(2,"translate"),b(3),y(4,"translate"),Zn(),p(5,"svg",27),g(6,"path",28)(7,"path",29),u()()),t&2){let i=e.$implicit;f("routerLink","/"+v(1,3,i.link))("title",v(2,5,i.label)),c(3),I(" ",v(4,7,i.label)," ")}}function L3(t,e){if(t&1&&g(0,"app-card",30),t&2){let i=C().$implicit;f("propsCard",i)}}function F3(t,e){t&1&&O(0,L3,1,1,"ng-template",15)}function B3(t,e){if(t&1&&g(0,"app-card",31),t&2){let i=C().$implicit;f("propsCard",i)}}function j3(t,e){t&1&&O(0,B3,1,1,"ng-template",15)}function V3(t,e){if(t&1&&(p(0,"div",26)(1,"p"),b(2),u(),g(3,"app-button",32),u()),t&2){let i=e.$implicit;c(2),I(" ",i.text," "),c(),f("label",i.label)("link",i.link)("isTargetBlank",i.isTargetBlank)}}var Md=(()=>{let e=class e{constructor(n,r,o,a,s){this.languageService=n,this.service=r,this.loading=o,this.linguage=a,this.translate=s,this.listLinks=[{label:"HOME.ABOUT-US.HIGHLIGHTS-ONE.TITLE",link:"MENU-FOOTER.VISIT.LINK"},{label:"HOME.ABOUT-US.HIGHLIGHTS-TWO.TITLE",link:"HOME.ABOUT-US.HIGHLIGHTS-TWO.LINK"},{label:"HOME.ABOUT-US.HIGHLIGHTS-THREE.TITLE",link:"HOME.ABOUT-US.HIGHLIGHTS-THREE.LINK"},{label:"HOME.ABOUT-US.HIGHLIGHTS-FOUR.TITLE",link:"HOME.ABOUT-US.HIGHLIGHTS-FOUR.LINK"}],this.exploreCarousel={loop:!0,autoplay:!1,autoplaySpeed:800,autoplayTimeout:3e3,mouseDrag:!1,touchDrag:!0,items:1,slideBy:1,autoWidth:!0,margin:16,nav:!1,dots:!1,responsive:{650:{items:2},1300:{items:3}}},this.scheduleCarousel={loop:!0,autoplay:!1,autoplaySpeed:800,autoplayTimeout:3e3,mouseDrag:!1,touchDrag:!0,items:1,slideBy:1,autoWidth:!0,margin:16,nav:!1,dots:!1,responsive:{650:{items:2},1300:{items:3}}},this.listBtn=[],this.bannersList=[],this.ExploreList=[],this.scheduleList=[],this.highlightsList=[],this.linkSchules=""}ngOnInit(){this.linguage.get("EXPOSITION.BTNS").subscribe(n=>{this.listBtn=n.map(r=>({label:r.TITLE,link:r.LINK})),this.linkSchules=n[1].LINK}),this.onGet()}onGet(){this.service.listHome().subscribe(n=>{let{highlights:r,secondaryHighlights:o,events:a,modules:s,lists:l}=n;r.forEach(d=>{this.bannersList.push({srcImg:d.image.full_path,typeHighlights:d.kind.title,title:d.title,description:d.short_description,labelBtn:d.button_name,link:d.url,isTarget:d.is_target_blank===1})}),o.forEach(d=>{this.ExploreList.push({srcImg:d.image.full_path,altImg:d.alt_image,category:d.kind.title,title:d.title,description:d.short_description,date:"",link:d.url,isTarget:d.is_target_blank===1})}),a.forEach(d=>Kt(this,null,function*(){this.scheduleList.push({title:d.title,srcImg:d.flg_curso?d.image_thumb:d.image.full_path,altImg:d.alt_image,category:d.flg_curso?this.translate.instant("HOME.COURSES.ONE.TITLE"):this.translate.instant("SCHEDULE.TAG_TITLE"),description:d.short_description,date:this.getTypeHighlights(d),link:d.flg_curso?this.translate.instant("HOME.COURSES.ONE.LINK")+"/"+d.slug:this.linkSchules+"/"+d.types.slug+"/"+d.slug,isTarget:d.is_target_blank===1})})),l.forEach(d=>{this.highlightsList.push({text:d.text,label:d.button_name,link:d.url,isTargetBlank:d.is_target_blank===1})}),this.loading.close()},n=>{})}getTypeHighlights(n){let r=n.start_date?.formatted_day_month.toUpperCase()||"",o=n.end_date?.formatted_day_month.toUpperCase()||"";return r&&o?`${r} - ${o}`:`${r}`}};e.\u0275fac=function(r){return new(r||e)(m(We),m(AM),m(U),m(ee),m(ee))},e.\u0275cmp=T({type:e,selectors:[["app-home"]],standalone:!0,features:[
8k],decls:60,vars:41,consts:[["carouselExplore",""],["carouselSchedule",""],[3,"bannersList"],[1,"about-us"],[1,"row"],[1,"img"],["src","/assets/img/pages/home/museu-do-cafe.jpg","alt","Imagem da frente do Museu do Caf\xE9"],[1,"text"],[1,"coll"],[3,"routerLink","title"],[1,"explore"],[1,"container"],[3,"title","btnPrev","btnNext"],[1,"container-carousel"],[3,"options"],["carouselSlide",""],[1,"courses"],[1,"coll-50"],[1,"box"],[1,"title"],[1,"description"],["type","secondary",3,"label","link"],[1,"agenda"],[1,"row-btn"],["type","tertiary",3,"label","link"],[1,"highlights-list"],[1,"box-highlights"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24C18.6274 24 24 18.6274 24 12Z","fill","#F5780F"],["d","M13.609 7.724C13.4849 7.59997 13.3376 7.50159 13.1755 7.43449C13.0134 7.36739 12.8396 7.33288 12.6641 7.33292C12.4887 7.33297 12.315 7.36757 12.1529 7.43476C11.9908 7.50195 11.8435 7.6004 11.7195 7.7245C11.5955 7.8486 11.4971 7.99591 11.43 8.15803C11.3629 8.32015 11.3284 8.4939 11.3284 8.66935C11.3285 9.0237 11.4694 9.3635 11.72 9.614L13 10.892H7.333C6.97933 10.892 6.64015 11.0325 6.39007 11.2826C6.13999 11.5327 5.9995 11.8718 5.9995 12.2255C5.9995 12.5792 6.13999 12.9183 6.39007 13.1684C6.64015 13.4185 6.97933 13.559 7.333 13.559H13L11.722 14.833C11.471 15.0835 11.3297 15.4235 11.3294 15.7781C11.329 16.1327 11.4695 16.473 11.72 16.724C11.9705 16.975 12.3105 17.1163 12.6651 17.1166C13.0197 17.117 13.36 16.9765 13.611 16.726L17.166 13.171C17.4159 12.921 17.5564 12.582 17.5564 12.2285C17.5564 11.875 17.4159 11.536 17.166 11.286L13.609 7.724Z","fill","white"],[3,"propsCard"],["typeCard","blue",3,"propsCard"],["type","secondary",3,"label","link","isTargetBlank"]],template:function(r,o){if(r&1&&(g(0,"app-banners",2),p(1,"section",3)(2,"div",4)(3,"figure",5),g(4,"img",6),u(),p(5,"div",7)(6,"div",8),A(7,R3,8,9,"a",9,j),u()()()(),p(9,"section",10)(10,"div",11),g(11,"app-title-section",12),y(12,"translate"),u(),p(13,"div",13)(14,"div",11)(15,"owl-carousel-o",14,0),A(17,F3,1,0,null,15,j),u()()()(),p(19,"section",16)(20,"div",17)(21,"div",18)(22,"p",19),b(23),y(24,"translate"),u(),p(25,"p",20),b(26),y(27,"translate"),u(),g(28,"app-button",21),y(29,"translate"),y(30,"translate"),u()(),p(31,"div",17)(32,"div",18)(33,"p",19),b(34),y(35,"translate"),u(),p(36,"p",20),b(37),y(38,"translate"),u(),g(39,"app-button",21),y(40,"translate"),y(41,"translate"),u()()(),p(42,"section",22)(43,"div",11),g(44,"app-title-section",12),y(45,"translate"),u(),p(46,"div",13)(47,"div",11)(48,"owl-carousel-o",14,1),A(50,j3,1,0,null,15,j),u()(),p(52,"div",23),g(53,"app-button",24),y(54,"translate"),u()()(),g(55,"app-newsletter"),p(56,"section",25)(57,"div",11),A(58,V3,4,4,"div",26,j),u()()),r&2){let a=Rt(16),s=Rt(49);f("bannersList",o.bannersList),c(7),N(o.listLinks),c(4),f("title",v(12,19,"HOME.EXPLORE"))("btnPrev",a.prev.bind(a))("btnNext",a.next.bind(a)),c(4),f("options",o.exploreCarousel),c(2),N(o.ExploreList),c(6),$(v(24,21,"HOME.COURSES.ONE.TITLE")),c(3),I(" ",v(27,23,"HOME.COURSES.ONE.DESCRIPTION")," "),c(2),f("label",v(29,25,"HOME.COURSES.ONE.LABEL-BTN"))("link",v(30,27,"HOME.COURSES.ONE.LINK")),c(6),$(v(35,29,"HOME.COURSES.TWO.TITLE")),c(3),I(" ",v(38,31,"HOME.COURSES.TWO.DESCRIPTION")," "),c(2),f("label",v(40,33,"HOME.COURSES.TWO.LABEL-BTN"))("link",v(41,35,"HOME.COURSES.TWO.LINK")),c(5),f("title",v(45,37,"HOME.SCHEDULE"))("btnPrev",s.prev.bind(s))("btnNext",s.next.bind(s)),c(4),f("options",o.scheduleCarousel),c(2),N(o.scheduleList),c(3),f("label",v(54,39,"LABEL-BTN-SEE-MORE"))("link",o.listBtn[1]==null?null:o.listBtn[1].link),c(5),N(o.highlightsList)}},dependencies:[V,z,Ln,un,tt,Ot,xt,fe,Zo,ce,Ht],styles:[`.skeleton{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:shine 1s linear infinite;margin-bottom:8px}.skeleton-img{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:shine 1s linear infinite}@media (max-width: 768px){.skeleton-img{min-height:200px;height:200px}}@keyframes shine{to{background-position:right -40px top 0}}:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container{width:calc(100% - 40px)}}.about-us .row{display:flex;align-items:stretch;justify-content:center;max-height:700px}.about-us .row .img{width:50%}.about-us .row .img img{display:block;height:100%;object-fit:cover;object-position:center}.about-us .row .text{width:50%;min-height:100%;background-color:var(--orange);display:flex;align-items:center;justify-content:center;transition:all .3s}.about-us .row .text .coll{width:calc(100% - 40px);max-width:480px;
8display:flex;flex-direction:column;gap:16px;padding:40px 0}.about-us .row .text a{font-family:regular;font-weight:400;font-style:normal;font-size:1.5rem;line-height:28px;display:flex;align-items:center;justify-content:space-between;padding:16px 28px;border-radius:80px;background-color:var(--gray-01);color:var(--gray-06)}.about-us .row .text a svg{width:24px}.about-us .row .text a svg path{transition:all .3s}.about-us .row .text a svg path:first-child{fill:var(--orange)}.about-us .row .text a svg path:last-child{fill:var(--gray-01)}.explore .container-carousel{position:relative;width:100%;margin:24px 0;overflow-x:clip}.explore .container-carousel .owl-carousel .owl-stage-outer{overflow:visible}.explore .container-carousel .owl-stage{display:flex}.agenda .container-carousel{position:relative;width:100%;margin:24px 0 0;overflow-x:clip}.agenda .container-carousel .owl-stage{display:flex}.agenda .row-btn{display:flex;padding:30px 0;justify-content:center}.courses{display:flex;align-items:stretch;justify-content:center}.courses .coll-50{width:50%;height:360px;background-position:center;background-repeat:no-repeat;background-size:cover;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:40px 0}.courses .coll-50:nth-child(1){background-image:url(/assets/img/pages/home/cursos.jpg)}.courses .coll-50:nth-child(2){background-image:url(/assets/img/pages/home/orientacoes-visita.jpg)}.courses .coll-50 .box{width:calc(100% - 40px);max-width:500px;background-color:var(--gray-01);border-radius:32px;padding:16px 24px;text-align:center;max-height:72px;overflow:hidden;transition:all .8s;display:flex;align-items:center;justify-content:flex-start;flex-direction:column;scrollbar-width:none}.courses .coll-50 .box::-webkit-scrollbar{display:none}.courses .coll-50 .box .title{font-family:black;font-weight:900;font-style:normal;font-size:2rem;line-height:40px;color:var(--gray-06);margin-bottom:16px}.courses .coll-50 .box .description{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-05);margin-bottom:16px}.courses .coll-50 .box app-button{display:block;margin:0 auto;text-align:center}.courses .coll-50:hover .box{max-height:100%;overflow:auto}.highlights-list{margin-bottom:16px}.highlights-list .box-highlights{width:100%;display:flex;align-items:center;justify-content:space-between;gap:40px;padding:40px;border-bottom:1px solid var(--gray-03)}.highlights-list .box-highlights p{width:86%;font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1.25rem;line-height:1.5rem}.highlights-list .box-highlights:last-child{border-bottom:none}@media (max-width: 1050px){.about-us .row .text{width:50%;min-height:100%;background-color:var(--orange);display:flex;align-items:center;justify-content:center}.about-us .row .text a{font-size:1rem;line-height:24px;padding:10px 28px}.courses .coll-50 .box{max-height:62px}.courses .coll-50 .box .title{font-size:1.5rem;line-height:32px}.highlights-list .box-highlights{padding:24px;gap:16px}.highlights-list .box-highlights p{width:86%;font-size:1rem;line-height:1.3125rem}}@media (max-width: 768px){.about-us .row{flex-direction:column;max-height:none}.about-us .row .img,.about-us .row .text{width:100%}.courses{flex-direction:column}.courses .coll-50{width:100%}.courses .coll-50 .box{max-height:62px}.courses .coll-50 .box .title{font-size:1.5rem;line-height:28px}.agenda .row-btn{padding:15px 0}.highlights-list .box-highlights{padding:24px;flex-direction:column;gap:16px}.highlights-list .box-highlights p{width:100%;font-size:.875rem}}
9`],encapsulation:2});let t=e;return t})();var U3=["*"];function H3(t,e){if(t&1&&(p(0,"time",3),b(1),u()),t&2){let i=C(2);c(),I(" ",i.date," ")}}function z3(t,e){if(t&1){let i=ne();p(0,"div",1)(1,"div",2),B("click",function(){Q(i);let r=C();return Z(r.onToggle())}),p(2,"div"),O(3,H3,2,1,"time",3),p(4,"h3"),b(5),u()(),p(6,"button"),Zn(),p(7,"svg",4),g(8,"path",5),u()()(),To(),p(9,"div",6),wc(10),u()()}if(t&2){let i=C();F("active",i.active),c(3),w(3,i.date?3:-1),c(2),$(i.title)}}function $3(t,e){t&1&&g(0,"div",7)}var fn=(()=>{let e=class e{constructor(n){this.el=n,this.title="Title",this.date="",this.active=!1,this.toggle=new _e}ngAfterViewInit(){}
9onToggle(){this.active=!this.active,this.active&&this.scrollToView()}scrollToView(){this.el.nativeElement.scrollIntoView({behavior:"smooth",block:"center"})}};e.\u0275fac=function(r){return new(r||e)(m($e))},e.\u0275cmp=T({type:e,selectors:[["app-accordion"]],inputs:{title:"title",date:"date",active:"active"},outputs:{toggle:"toggle"},standalone:!0,features:[k],ngContentSelectors:U3,decls:2,vars:1,consts:[[1,"accordion",3,"active"],[1,"accordion"],[1,"header",3,"click"],["datetime","date"],["width","24","height","25","viewBox","0 0 24 25","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M11.9998 24.0297C9.22362 24.0296 6.53346 23.0663 4.38748 21.305C2.24149 19.5438 0.772859 17.0943 0.231228 14.3714C-0.310404 11.6486 0.108181 8.82181 1.41677 6.3734C2.72537 3.925 4.84223 2.00626 7.40701 0.943715C9.97179 -0.118825 12.8265 -0.260386 15.4832 0.545278C18.1399 1.35094 20.4347 3.05355 21.9773 5.36168C23.5199 7.66982 24.2139 10.4406 23.9422 13.2035C23.6704 15.9663 22.4498 18.5507 20.4871 20.514C19.3758 21.6329 18.0534 22.5198 16.5965 23.1234C15.1395 23.727 13.5768 24.0348 11.9998 24.0297ZM6.23806 10.7992C5.91065 10.7992 5.59653 10.929 5.36502 11.1605C5.1335 11.392 5.00369 11.7061 5.00369 12.0336C5.00369 12.361 5.1335 12.6751 5.36502 12.9066C5.59653 13.1381 5.91065 13.2679 6.23806 13.2679H10.7644L10.7644 17.7953C10.7644 18.1234 10.8948 18.4383 11.1267 18.6703C11.3587 18.9023 11.6737 19.0336 12.0017 19.0336C12.3298 19.0336 12.6448 18.9023 12.8767 18.6703C13.1087 18.4383 13.239 18.1234 13.239 17.7953L13.239 13.2679L17.7654 13.2679C18.0928 13.2679 18.4069 13.1381 18.6385 12.9066C18.87 12.6751 19.0008 12.361 19.0008 12.0336C19.0008 11.7061 18.87 11.392 18.6385 11.1605C18.4069 10.929 18.0928 10.7992 17.7654 10.7992L13.239 10.7992V6.26207C13.239 5.934 13.1087 5.61906 12.8767 5.38707C12.6448 5.15509 12.3298 5.02575 12.0017 5.02575C11.6737 5.02575 11.3587 5.15509 11.1267 5.38707C10.8948 5.61906 10.7644 5.934 10.7644 6.26207V10.7992H6.23806Z","fill","#F5780F"],[1,"content"],[1,"skeleton"]],template:function(r,o){r&1&&(Mc(),O(0,z3,11,4,"div",0)(1,$3,1,0)),r&2&&w(0,o.title?0:1)},styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.accordion[_ngcontent-%COMP%]{padding:0 0 16px;border-bottom:1px solid var(--gray-03);margin-bottom:16px}.accordion[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;cursor:pointer;gap:16px}.accordion[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   time[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-04);font-size:.75rem;line-height:1.125rem}.accordion[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--gray-04);font-size:1.25rem;line-height:1.5rem;text-transform:uppercase}.accordion[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{cursor:pointer;width:24px;height:24px;border-radius:50%;border:none;transition:all .3s}.accordion[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:var
9(--orange)}.accordion[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{transition:all .3s;max-height:0;margin-top:0;overflow:hidden;opacity:0;visibility:hidden}.accordion[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--gray-05);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.accordion[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.accordion[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.accordion[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-05);text-decoration:underline}.accordion[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-05)}.accordion[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem}.accordion[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-05)}.accordion[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem}.accordion[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}.accordion.active[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{transform:rotate(45deg)}.accordion.active[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{margin-top:15px;max-height:100000px;opacity:1;visibility:visible}.skeleton[_ngcontent-%COMP%]{margin-bottom:16px;height:57px}']});let t=e;return t})();var wd=(()=>{let e=class e{constructor(n){this.baseService=n}listVisit(){return this.baseService.methodGet("visite-o-museu","")}visitInternal(n){return this.baseService.methodGet(`visite-o-museu/${n}`,"")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var RM=(()=>{let e=class e{constructor(n,r){this.platformId=n,this.document=r}trackPageView(n,r){Xe(this.platformId)&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"virtual_page_view",page_path:n,page_location:window.location.href,page_title:r||this.document.title}))}pushEvent(n,r={}){Xe(this.platformId)&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(Y({event:n},r)))}};e.\u0275fac=function(r){return new(r||e)(x(De),x(Ze))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var W=(()=>{let e=class e{constructor(n,r,o,a,s,l){this.meta=n,this.title=r,this.rendererFactory=o,this.gtm=a,this.router=s,this.platformId=l,this.renderer=o.createRenderer(null,null),this.isBrowser=Xe(this.platformId)}updateMetaTag(n){let r=n.title?`${n.title} - Museu do Caf\xE9`:"Museu do Caf\xE9",o=n.img||"/assets/img/favicon/metatag.jpg",a=n.description||"Museu do Caf\xE9",s=this.isBrowser?n.url||window.location.href:n.url||"";this.title.setTitle(r),this.meta.updateTag({name:"title",content:r}),this.meta.updateTag({name:"description",content:a}),this.meta.updateTag({name:"image",content:o}),this.updateSocialTags(r,a,s,o,"twitter"),this.updateSocialTags(r,a,s,o,"og"),this.updateCanonicalUrl(s),this.isBrowser&&this.gtm.trackPageView(this.router.url,r)}updateSocialTags(n,r,o,a,s){(s==="twitter"?[{property:"twitter:title",content:n},{property:"twitter:description",content:r},{property:"twitter:url",content:o},{property:"twitter:image",content:a}]:[{property:"og:title",content:n},{property:"og:description",content:r},{property:"og:url",content:o},{property:"og:image",content:a}]).forEach(d=>{this.meta.updateTag({property:d.property,content:d.content})})}updateCanonicalUrl(n){if(!this.isBrowser)return;let r=this.renderer.selectRootElement('link[rel="canonical"]',!0);r||(r=this.renderer.createElement("link"),this.renderer.setAttribute(r,"rel","canonical"),this.renderer.appendChild(document.head,r)),this.renderer.setAttribute(r,"href",n)}};e.\u0275fac=function(r){return new(r||e)(x(tx),x(Vc),x(Ri),x(RM),x(pt),x(De))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ws=(t,e)=>e.id,q3=t=>({srcImg:"assets/img/pages/visit/banner.png",title:t,typeHighlights:"",description:"",labelBtn:"",link:"",isTarget:!1}),W3=t=>[t];function K3(t,e){if(t&1&&(Ge(0),p(1,"th"),b(2),u(),qe()),t&2){let i=e.$implicit;c(2),$(i.title)}}function Y3(t,e){if(t&1&&(Ge(0),p(1,"td"),b(2),u(),qe()),t&2){let i=C().$implicit;c(2),I(" ",i.value," ")}}function Q3(t,e){if(t&1&&(Ge(0),O(1,Y3,3,1,"ng-container"),qe()),t&2){let i=e.$implicit,n=C().$implicit;c(),w(1,n.id===i.admission_id?1:-1)}}function Z3(t,e){if(t&1&&A(0,Q3,2,1,"ng-container",null,ws),t&2){let i=C().$implicit;N(i.tickets)}}function X3(t,e){if(t&1&&(Ge(0),p(1,"tr")(2,"td"),b(3),u(),A(4,Z3,2,0,null,null,ws),u(),qe()),t&2){let i=e.$implicit,n=C();c(3),$(i.title),c(),N(n.listExpositions)}}function J3(t,e){if(t&1&&(Ge(0),p(1,"div",28)(2,"p",29)(3,"strong"),b(4),u()(),p(5,"p"),b(6),u()(),qe(
9)),t&2){let i=e.$implicit;c(4),$(i.admission.title),c(2),$(i.value)}}function eN(t,e){if(t&1&&(Ge(0),p(1,"div",26)(2,"p",27)(3,"strong"),b(4),u()(),A(5,J3,7,2,"ng-container",null,j),u(),qe()),t&2){let i=e.$implicit;c(4),$(i.title),c(),N(i.tickets)}}function tN(t,e){if(t&1&&(p(0,"div",8)(1,"figure",9),g(2,"img",30),u(),p(3,"div",11)(4,"h3"),b(5),u(),g(6,"div",31),u()()),t&2){let i=e.$implicit,n=e.$index;F("inverter",n%2!==0),c(2),f("src",i.image==null?null:i.image.full_path,L)("alt",i.alt_image),c(3),$(i.title),c(),f("innerHTML",i.description==null?null:i.description.description,J)}}function nN(t,e){if(t&1&&g(0,"app-card",32),t&2){let i=C().$implicit;f("propsCard",i)}}function iN(t,e){t&1&&O(0,nN,1,1,"ng-template",24)}function rN(t,e){if(t&1&&(p(0,"app-accordion",4),g(1,"div",13),u()),t&2){let i=e.$implicit,n=C(2);f("title",i.question==null?null:i.question.description),c(),f("innerHTML",n.sanitizeHtml(i.answer==null?null:i.answer.description),J)}}function oN(t,e){if(t&1&&(p(0,"section",25)(1,"div",3),g(2,"app-title-section",4),A(3,rN,2,2,"app-accordion",4,j),u()()),t&2){let i=C();c(2),f("title","FAQ"),c(),N(i.listFaqs)}}var Od=(()=>{let e=class e{constructor(n,r,o,a,s){this.loading=n,this.service=r,this.sanitizer=o,this.metaTags=a,this.translate=s,this.listHours=[],this.listEducational=[],this.listCardsVisit=[],this.exemption=[],this.listProfiles=[],this.listExpositions=[],this.listFaqs=[],this.visitCarousel={loop:!0,autoplay:!1,autoplaySpeed:800,autoplayTimeout:3e3,mouseDrag:!1,touchDrag:!0,items:1,slideBy:1,autoWidth:!0,margin:16,nav:!1,dots:!1,responsive:{650:{items:2},1300:{items:3}}}}ngOnInit(){this.metaTags.updateMetaTag({title:this.translate.instant("VISIT.TAG_TITLE"),description:this.translate.instant("VISIT.TAG_DESCRIPTION")}),this.onGet()}onGet(){this.service.listVisit().subscribe(n=>{let{hours:r,educational:o,visits:a,exemption:s,admissions:l,profiles:d,faqs:h}=n;this.listHours=r,this.listEducational=o,this.exemption=s,this.listExpositions=l,this.listProfiles=d,this.listFaqs=h,a.forEach(_=>{this.listCardsVisit.push({srcImg:_.image.full_path,altImg:_.alt_image,title:_.title,description:_.short_description,link:_.slug,isTarget:!1,category:"",date:""})}),this.loading.close()},n=>{this.loading.close()})}sanitizeHtml(n){return this.sanitizer.bypassSecurityTrustHtml(n)}};e.\u0275fac=function(r){return new(r||e)(m(U),m(wd),m(Et),m(W),m(ee))},e.\u0275cmp=T({type:e,selectors:[["app-visit"]],standalone:!0,features:[k],decls:75,vars:47,consts:[["carouselVisit",""],[3,"bannersList"],[1,"section-time"],[1,"container"],[3,"title"],[1,"section-map"],["src",$y`https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d14587.15690832322!2d-46.3300954!3d-23.9325166!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x94ce0483a06d9795%3A0x1d093fb38106a820!2sMuseu%20do%20Caf%C3%A9!5e0!3m2!1sen!2sbr!4v1725297678671!5m2!1sen!2sbr`,"allowfullscreen","","loading","lazy","referrerpolicy","no-referrer-when-downgrade",2,"border","0"],[1,"section-address"],[1,"row"],[1,"coll-img"],["src","/assets/img/pages/visit/img-museu.jpg","alt",""],[1,"coll-text"],[1,"box"],[3,"innerHTML"],["href","mailto:[email protected]"],[1,"section-tickets"],[1,"table-container"],[1,"table-mobile"],[1,"content",3,"innerHTML"],[1,"section-visit"],[1,"row",3,"inverter"],[1,"section-visit-two"],[3,"white","title","btnPrev","btnNext"],[3,"options"],["carouselSlide",""],[1,"section-faq"],[1,"card"],[1,"title"],[1,"box-tickes"],[1,"exposition"],[3,"src","alt"],[1,"box",3,"innerHTML"],["typeCard","visit",3,"propsCard"]],template:function(r,o){if(r&1&&(g(0,"app-banners",1),y(1,"translate"),p(2,"section",2)(3,"div",3),g(4,"app-title-section",4),y(5,"translate"),u()(),p(6,"section",5),g(7,"iframe",6),u(),p(8,"section",7)(9,"div",3),g(10,"app-title-section",4),y(11,"translate"),p(12,"div",8)(13,"figure",9),g(14,"img",10),u(),p(15,"div",11)(16,"div",12),g(17,"p",13),y(18,"translate"),p(19,"p"),b(20,"Rua XV de Novembro, 95 - Centro, Santos - SP, Cep: 11010-150"),u(),p(21,"p")(22,"strong"),b(23),y(24,"translate"),u(),p(25,"a",14),b(26,"[email protected]"),u()(),p(27,"p")(28,"strong"),b(29),y(30,"translate"),u(),b(31," (13) 3213-1750 "),u(),p(32,"p")(33,"strong"),b(34),y(35,"translate"),u(),b(36," (13) 3219-7070 "),u()()()()()(),p(37,"section",15)(38,"div",3),g(39,"app-title-section",4),y(40,"translate"),p(41,"div",16)(42,"table")(43,"thead")(44,"tr"),g(45,"th"),A(46,K3,3,1,"ng-container",null,ws),u()(),p(48,"tbody"),A(49,X3,6,1,"ng-container",null,ws),u()()(),p(51,"div",17),A(52,eN,7,1,"ng-container",null,ws),u(),p(54,"app-accordion",4),g(55,"div",18),u()()(),p(56,"section",19)(57,"div",3),g(58,"app-title-section",4),y(59,"translate"),A(60,tN,7,
96,"div",20,j),p(62,"app-accordion",4),y(63,"translate"),g(64,"div",13),y(65,"translate"),u()()(),p(66,"section",21)(67,"div",3),g(68,"app-title-section",22),y(69,"translate"),p(70,"owl-carousel-o",23,0),A(72,iN,1,0,null,24,j),u()()(),O(74,oN,5,1,"section",25)),r&2){let a=Rt(71);f("bannersList",Ji(45,W3,Ji(43,q3,v(1,19,"VISIT.TITLE")))),c(4),f("title",v(5,21,"VISIT.TIMETABLES")),c(6),f("title",v(11,23,"VISIT.ADDRESS.TITLE")),c(7),f("innerHTML",v(18,25,"VISIT.ADDRESS.DESCRIPTION"),J),c(6),I(" ",v(24,27,"VISIT.ADDRESS.EMAIL")," "),c(6),I(" ",v(30,29,"VISIT.ADDRESS.PHONE")," "),c(5),I(" ",v(35,31,"VISIT.ADDRESS.MUSEUM")," "),c(5),f("title",v(40,33,"VISIT.TICKETS")),c(7),N(o.listExpositions),c(3),N(o.listProfiles),c(3),N(o.listProfiles),c(2),f("title",o.exemption.title),c(),f("innerHTML",o.exemption.html==null?null:o.exemption.html.html,J),c(3),f("title",v(59,35,"VISIT.EDUCATIONAL-VISITS")),c(2),N(o.listEducational),c(2),f("title",v(63,37,"VISIT.VISITATION-STANDARD.TITLE")),c(2),f("innerHTML",v(65,39,"VISIT.VISITATION-STANDARD.DESCRIPTION"),J),c(4),f("white",!0)("title",v(69,41,"VISIT.VISIT-ALSO"))("btnPrev",a.prev.bind(a))("btnNext",a.next.bind(a)),c(2),f("options",o.visitCarousel),c(2),N(o.listCardsVisit),c(2),w(74,o.listFaqs.length>0?74:-1)}},dependencies:[Ln,ce,V,z,fn,un,tt,Ot,xt],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-time[_ngcontent-%COMP%]{margin-bottom:40px}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:center;gap:16px}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]{width:calc(50% - 8px)}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]{margin-bottom:24px}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;margin-bottom:16px}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}
9.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]     strong{font-weight:700}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]{width:calc(50% - 8px)}.section-map[_ngcontent-%COMP%]{margin-bottom:16px}.section-map[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{width:100%;height:300px}.section-address[_ngcontent-%COMP%]{margin-bottom:40px}.section-address[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:center;gap:24px}.section-address[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]{width:calc(50% - 8px)}.section-address[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:24px;margin-bottom:8px}.section-address[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin-bottom:0}.section-address[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]{width:calc(50% - 8px)}.section-tickets[_ngcontent-%COMP%]{margin-bottom:40px}.section-tickets[_ngcontent-%COMP%]   .table-container[_ngcontent-%COMP%]{overflow-x:auto;width:100%;margin-bottom:40px}.section-tickets[_ngcontent-%COMP%]   .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{width:100%;min-width:1140px;border-spacing:20px;table-layout:fixed}.section-tickets[_ngcontent-%COMP%]   .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.3125rem;text-align:start}.section-tickets[_ngcontent-%COMP%]   .table-container[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:24px;text-align:start}.section-tickets[_ngcontent-%COMP%]   .table-mobile[_ngcontent-%COMP%]{display:none}.section-visit[_ngcontent-%COMP%]{margin-bottom:40px}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:center;gap:24px;margin-bottom:40px}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]{width:calc(50% - 8px)}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;margin-bottom:16px}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]     p:last-child{margin-bottom:0}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]     strong{font-weight:700}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]{width:calc(50% - 8px)}.section-visit[_ngcontent-%COMP%]   .row.inverter[_ngcontent-%COMP%]{flex-direction:row-reverse}.section-visit-two[_ngcontent-%COMP%]{background-color:var(--orange);padding:24px 0 40px}.section-visit-two[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:24px}.section-visit-two[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:calc(50% - 12px)}.section-visit-two[_ngcontent-%COMP%]     .owl-carousel .owl-stage{display:flex}.section-faq[_ngcontent-%COMP%]{padding:40px 0}
9@media (max-width: 1050px){.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{flex-direction:column-reverse}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%], .section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]{width:100%}.section-address[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{flex-direction:column}.section-address[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]{width:100%}.section-address[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:24px;margin-bottom:8px}.section-address[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin-bottom:0}.section-address[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]{width:100%}.section-visit[_ngcontent-%COMP%]{margin-bottom:40px}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{flex-direction:column}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%], .section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]{width:100%}.section-visit[_ngcontent-%COMP%]   .row.inverter[_ngcontent-%COMP%]{flex-direction:column}}@media (max-width: 768px){.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]{margin-bottom:16px}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.25rem;line-height:24px;margin-bottom:8px}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:1.3125rem;margin-bottom:8px}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:1.3125rem}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:1.3125rem}.section-time[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]:last-child{margin-bottom:0}.section-address[_ngcontent-%COMP%]{margin-bottom:32px}.section-address[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{gap:16px}.section-address[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.3125rem}.section-tickets[_ngcontent-%COMP%]   .table-container[_ngcontent-%COMP%]{display:none}.section-tickets[_ngcontent-%COMP%]   .table-mobile[_ngcontent-%COMP%]{margin-bottom:24px;display:block}.section-tickets[_ngcontent-%COMP%]   .table-mobile[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{margin-bottom:32px}.section-tickets[_ngcontent-%COMP%]   .table-mobile[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:24px;text-align:start;margin-bottom:8px}.section-tickets[_ngcontent-%COMP%]   .table-mobile[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-weight:700}.section-tickets[_ngcontent-%COMP%]   .table-mobile[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .box-tickes[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:.875rem;line-height:21px;text-align:start;margin-bottom:8px}.section-tickets[_ngcontent-%COMP%]   .table-mobile[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .box-tickes[_ngcontent-%COMP%]   .exposition[_ngcontent-%COMP%]{color:var(--orange);font-size:1rem;line-height:24px}.section-tickets[_ngcontent-%COMP%]   .table-mobile[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .box-tickes[_ngcontent-%COMP%]   .exposition[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-weight:700}.section-tickets[_ngcontent-%COMP%]   .table-mobile[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]:last-child{margin-bottom:0}.section-visit[_ngcontent-%COMP%]{margin-bottom:32px}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{gap:16px;margin-bottom:24px}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.25rem;line-height:24px;margin-bottom:8px}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]{margin-bottom:16px}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:1.3125rem;margin-bottom:8px}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:1.3125rem}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:1.3125rem}.section-visit[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]:last-child{margin-bottom:0}.section-visit-two[_ngcontent-%COMP%]{padding:16px 0}.section-visit-two[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{gap:16px}.section-visit-two[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:100%}}']});let t=e;return t})();var X=(()=>{let e=class e{constructor(){this.title="Title"}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=T({type:e,selectors:[["app-title-page"]],inputs:{title:"title"}
9,standalone:!0,features:[k],decls:4,vars:1,consts:[[1,"container"]],template:function(r,o){r&1&&(p(0,"section")(1,"div",0)(2,"h1"),b(3),u()()()),r&2&&(c(3),I(" ",o.title," "))},styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}section[_ngcontent-%COMP%]{background-color:var(--orange)}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:44px 0}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:3rem;line-height:54px;color:var(--gray-01);text-transform:uppercase}@media (max-width: 768px){section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:24px 0}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:2rem;line-height:40px}}']});let t=e;return t})();var aN=["*"];function sN(t,e){if(t&1&&(p(0,"li")(1,"a",8),b(2),u()()),t&2){let i=e.$implicit,n=C(2).$implicit,r=C();F("active",r.isActiveSubLink(n.LINK+i.LINK)),c(),f("routerLink",n.LINK+i.LINK)("title",i.NAME),c(),$(i.NAME)}}function lN(t,e){if(t&1&&(Ge(0),p(1,"ul",9),A(2,sN,3,5,"li",7,j),u(),qe()),t&2){let i=C().$implicit;c(2),N(i.OPTIONS)}}function cN(t,e){if(t&1&&(p(0,"li")(1,"a",8),b(2),u(),O(3,lN,4,0,"ng-container"),u()),t&2){let i=e.$implicit,n=C();F("active",n.isActive(i.LINK)),c(),f("routerLink",i.LINK)("title",i.NAME),c(),$(i.NAME),c(),w(3,i.OPTIONS&&i.OPTIONS.length>0?3:-1)}}var oe=(()=>{let e=class e{constructor(n,r){this.router=n,this.translate=r,this.title="Title",this.listOptions=[],this.activeAccordion=!1,this.currentRoute=""}ngOnInit(){this.currentRoute=this.router.url}isActive(n){let r=this.getParamIndexForActive(n),o=this.currentRoute.split("/")[r],a=n.split("/")[r];return o===a}isActiveSubLink(n){let r=this.getParamIndexForSubLink(n),o=this.currentRoute.split("/")[r],a=n.split("/")[r];return o===a}getParamIndexForActive(n){return this.translate.currentLang==="pt"?2:3}getParamIndexForSubLink(n){return this.translate.currentLang==="pt"?3:4}};e.\u0275fac=function(r){return new(r||e)(m(pt),m(ee))},e.\u0275cmp=T({type:e,selectors:[["app-aside"]],inputs:{title:"title",listOptions:"listOptions"},standalone:!0,features:[k],ngContentSelectors:aN,decls:15,vars:4,consts:[[1,"container"],[1,"wrapper"],[1,"content"],[1,"wrapper-header"],[3,"click","title"],["width","24","height","25","viewBox","0 0 24 25","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M11.9998 24.0297C9.22362 24.0296 6.53346 23.0663 4.38748 21.305C2.24149 19.5438 0.772859 17.0943 0.231228 14.3714C-0.310404 11.6486 0.108181 8.82181 1.41677 6.3734C2.72537 3.925 4.84223 2.00626 7.40701 0.943715C9.97179 -0.118825 12.8265 -0.260386 15.4832 0.545278C18.1399 1.35094 20.4347 3.05355 21.9773 5.36168C23.5199 7.66982 24.2139 10.4406 23.9422 13.2035C23.6704 15.9663 22.4498 18.5507 20.4871 20.514C19.3758 21.6329 18.0534 22.5198 16.5965 23.1234C15.1395 23.727 13.5768 24.0348 11.9998 24.0297ZM6.23806 10.7992C5.91065 10.7992 5.59653 10.929 5.36502 11.1605C5.1335 11.392 5.00369 11.7061 5.00369 12.0336C5.00369 12.361 5.1335 12.6751 5.36502 12.9066C5.59653 13.1381 5.91065 13.2679 6.23806 13.2679H10.7644L10.7644 17.7953C10.7644 18.1234 10.8948 18.4383 11.1267 18.6703C11.3587 18.9023 11.6737 19.0336 12.0017 19.0336C12.3298 19.0336 12.6448 18.9023 12.8767 18.6703C13.1087 18.4383 13.239 18.1234 13.239 17.7953L13.239 13.2679L17.7654 13.2679C18.0928 13.2679 18.4069 13.1381 18.6385 12.9066C18.87 12.6751 19.0008 12.361 19.0008 12.0336C19.0008 11.7061 18.87 11.392 18.6385 11.1605C18.4069 10.929 18.0928 10.7992 17.76
954 10.7992L13.239 10.7992V6.26207C13.239 5.934 13.1087 5.61906 12.8767 5.38707C12.6448 5.15509 12.3298 5.02575 12.0017 5.02575C11.6737 5.02575 11.3587 5.15509 11.1267 5.38707C10.8948 5.61906 10.7644 5.934 10.7644 6.26207V10.7992H6.23806Z","fill","#F5780F"],[3,"active"],[3,"routerLink","title"],[1,"subList"]],template:function(r,o){r&1&&(Mc(),p(0,"div",0)(1,"div",1)(2,"div",2),wc(3),u(),p(4,"aside")(5,"div",3)(6,"h3"),b(7),u(),p(8,"button",4),B("click",function(){return o.activeAccordion=!o.activeAccordion}),Zn(),p(9,"svg",5),g(10,"path",6),u()()(),To(),g(11,"hr"),p(12,"ul"),A(13,cN,4,6,"li",7,j),u()()()()),r&2&&(c(4),F("active",o.activeAccordion),c(3),$(o.title),c(),f("title",o.title),c(5),N(o.listOptions))},dependencies:[Ht],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.container[_ngcontent-%COMP%]{margin:24px auto 56px}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:24px;justify-content:space-between;position:relative}.container[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{flex-basis:70%}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{min-width:300px;position:sticky;top:3%;flex-basis:30%;padding:40px 24px;background-color:var(--gray-02);border-radius:8px}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .wrapper-header[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .wrapper-header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--orange);font-size:2rem;line-height:2.5rem;text-transform:uppercase;display:-webkit-box;text-overflow:ellipsis;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .wrapper-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none;cursor:pointer;width:24px;height:24px;border-radius:50%;border:none}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .wrapper-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:var(--orange)}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin:16px 0;border:1px solid var(--gray-03)}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:16px}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;font-weight:500}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:0}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .subList[_ngcontent-%COMP%]{display:none;padding:16px 0 0 8px}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .subList[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding-left:8px}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .subList[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--gray-04)}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .subList[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]{border-left:2px solid var(--orange)}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .subList[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--gray-06)}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--orange)}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   .subList[_ngcontent-%COMP%]{display:block}@media (max-width: 768px){.container[_ngcontent-%COMP%]{margin:24px auto 40px}.container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:column-reverse}.container[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{flex-basis:100%;width:100%}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{width:100%;min-width:auto;flex-basis:100%;position:static;padding:24px;max-height:76px;overflow:hidden;transition:all .3s}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .wrapper-header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1.75rem}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .wrapper-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{transition:all .3s;display:block}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{transition:all .3s;opacity:0}
9.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1rem}.container[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .subList[_ngcontent-%COMP%]{padding:16px 0 0}.container[_ngcontent-%COMP%]   aside.active[_ngcontent-%COMP%]{max-height:10000px}.container[_ngcontent-%COMP%]   aside.active[_ngcontent-%COMP%]   .wrapper-header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{display:block;text-overflow:none;overflow:visible}.container[_ngcontent-%COMP%]   aside.active[_ngcontent-%COMP%]   .wrapper-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{transform:rotate(45deg)}.container[_ngcontent-%COMP%]   aside.active[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{opacity:1}}']});let t=e;return t})();var LM=(()=>{let e=class e{constructor(n){this.baseService=n}onGet(){return this.baseService.methodGet("gestao/transparencia","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ae=(()=>{let e=class e{constructor(n){this.translate=n,this.footerList=[{TITLE:"Title 1",LINK:"link1",OPTIONS:[]},{TITLE:"Title 2",LINK:"link2",OPTIONS:[]},{TITLE:"Title 3",LINK:"link3",OPTIONS:[]}],this.loadTranslations(),this.langChangeSubscription=this.translate.onLangChange.subscribe(r=>{this.loadTranslations()})}ngOnDestroy(){this.langChangeSubscription&&this.langChangeSubscription.unsubscribe()}loadTranslations(){this.translate.get("FOOTER-LIST").subscribe(n=>{this.footerList=n})}};e.\u0275fac=function(r){return new(r||e)(x(ee))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function uN(t,e){if(t&1&&(p(0,"li"),g(1,"img",4),p(2,"a",5),b(3),u()()),t&2){let i=e.$implicit;c(2),f("href",i.file.full_path,L)("title",i.title),c(),I(" ",i.title," ")}}function pN(t,e){if(t&1&&(p(0,"app-accordion",2)(1,"ul",3),A(2,uN,4,3,"li",null,j),u()()),t&2){let i=e.$implicit,n=e.$index;f("title",i.title)("active",n===0),c(2),N(i.files)}}var Pd=(()=>{let e=class e{constructor(n,r,o){this.service=n,this.loading=r,this.footerService=o,this.listTransparencies=[{},{},{},{},{},{}]}ngOnInit(){this.onGet()}onGet(){this.service.onGet().subscribe(n=>{this.listTransparencies=n.transparencies,this.loading.close()},n=>{})}};e.\u0275fac=function(r){return new(r||e)(m(LM),m(U),m(ae))},e.\u0275cmp=T({type:e,selectors:[["app-transparency"]],standalone:!0,features:[k],decls:5,vars:5,consts:[[3,"title"],[3,"title","listOptions"],[3,"title","active"],[1,"list-file"],["src","assets/img/icons/icon-pdf.svg","alt","\xCDcone PDF"],["target","_blank",3,"href","title"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1),A(3,pN,4,2,"app-accordion",2,j),u()),r&2&&(f("title",v(1,3,"MANAGEMENT.TRANSPARENCY.TITLE")),c(2),f("title",o.footerService.footerList[2].TITLE)("listOptions",o.footerService.footerList[2].OPTIONS),c(),N(o.listTransparencies))},dependencies:[X,V,z,oe,fn],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:8px}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem;border-bottom:1px solid var(--gray-05);text-decoration:none}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:0}app-title-section[_ngcontent-%COMP%]{display:block;margin-top:40px}app-title-section[_ngcontent-%COMP%]:first-child{margin-top:0}']});let t=e;return t})();var FM=(()=>{let e=class e{constructor(n){this.baseService=n}onGetProgress(){return this.baseService.methodGet("gestao/compras-e-contratacoes/em-progresso","")}onGetClosed(n){return this.baseService.methodGet(`gestao/compras-e-contratacoes/fechado${n?`?page=${n}`:""}`,"")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function hN(t,e){if(t&1&&g(0,"div",3),t&2){let i=C().$implicit;f("innerHTML",i.winner,J)}}function gN(t,e){if(t&1&&(p(0,"li"),g(1,"img",5),p(2,"a",6),b(3),u()()),t&2){let i=e.$implicit;c(2),f("href",i.file.full_path,L)("title",i.title),c(),I(" ",i.title," ")}}function mN(t,e){if(t&1&&(p(0,"ul",4),A(1,gN,4,3,"li",null,j),u()),t&2){let i=C().$implicit;c(),N(i.files)}}function _N(t,e){if(t&1&&(p(0,"app-accordion",2),g(1,"div",3),O(2,hN,1,1,"div",3)(3,mN,3,0,"ul",4),u()),t&2){let i=e.$implicit,n=e.$index;f("title",i.title)("active",n===0)("date",i.date==null?null:i.date.formatted),c(),f("innerHTML",i.description==null?null:i.description.description,J),c(),w(2,i.winner?2:-1),c(),w(3,i.files?3:-1)}}function CN(t,e){if(t&1&&(g(0,"app-title-section",0),y(1,"translate"),A(2,_N,4,6,"app-accordion",2,j)),t&2){let i=C();f("title",v(1,1,"MANAGEMENT.PURCHASES-AND-CONTRACTS.PROGRESS")),c(2),N(i.purchaseAndContractsInProgress)}}function yN(t,e){if(t&1&&(p(0,"li"),g(1,"img",5),p(2,"a",6),b(3),u()()),t&2){let i=e.$implicit;c(2),f("href",i.file.full_path,L)("title",i.title),c(),I(" ",i.title," ")}}function vN(t,e){if(t&1&&(p(0,"ul",4),A(1,yN,4,3,"li",null,j),u()),t&2){let i=C().$implicit;c(),N(i.files)}}function bN(t,e){if(t&1&&g(0,"div",9),t&2){let i=C().$implicit;f("innerHTML",i.winner,J)}}function xN(t,e){if(t&1&&(p(0,"app-accordion",7),g(1,"div",3),O(2,vN,3,0,"ul",4)(3,bN,1,1,"div",9),u()),t&2){let i=e.$implicit;f("title",i.title)("date",i.date==null?null:i.date.formatted),c(),f("innerHTML",i.description==null?null:i.description.description,J),c(),w(2,i.files?2:-1),c(),w(3,i.winner?3:-1)}}function MN(t,e){if(t&1){let i=ne();p(0,"div",8)(1,"app-button",10),y(2,"translate"),B("handleClick",function(){Q(i);let r=C(2);return Z(r.onGetClosed())}
9),u()()}t&2&&(c(),f("label",v(2,1,"LABEL-BTN-SEE-MORE")))}function wN(t,e){if(t&1&&(g(0,"app-title-section",0),y(1,"translate"),A(2,xN,4,5,"app-accordion",7,j),O(4,MN,3,3,"div",8)),t&2){let i=C();f("title",v(1,2,"MANAGEMENT.PURCHASES-AND-CONTRACTS.CLOSED")),c(2),N(i.purchaseAndContractsClosed),c(2),w(4,i.current_page<=i.total_pages?4:-1)}}var Ed=(()=>{let e=class e{constructor(n,r,o){this.service=n,this.loading=r,this.footerService=o,this.purchaseAndContractsInProgress=[{description:{description:""},winner:""},{description:{description:""},winner:""},{description:{description:""},winner:""},{description:{description:""},winner:""}],this.purchaseAndContractsClosed=[{description:{description:""},winner:""},{description:{description:""},winner:""},{description:{description:""},winner:""},{description:{description:""},winner:""}],this.current_page=1,this.total_pages=0}ngOnInit(){this.onGetProgress(),this.onGetClosed()}onGetProgress(){this.service.onGetProgress().subscribe(n=>{this.purchaseAndContractsInProgress=n.purchaseAndContracts,this.loading.close()},n=>{})}onGetClosed(){this.loading.open(),this.current_page===1&&(this.purchaseAndContractsClosed=[]),this.service.onGetClosed(this.current_page).subscribe(n=>{this.purchaseAndContractsClosed=[...this.purchaseAndContractsClosed,...n.purchaseAndContracts.data],this.current_page++,this.total_pages=n.purchaseAndContracts.last_page,this.loading.close()},n=>{console.error(n)})}};e.\u0275fac=function(r){return new(r||e)(m(FM),m(U),m(ae))},e.\u0275cmp=T({type:e,selectors:[["app-purchases-and-contracts"]],standalone:!0,features:[k],decls:5,vars:7,consts:[[3,"title"],[3,"title","listOptions"],[3,"title","active","date"],[3,"innerHTML"],[1,"list-file"],["src","assets/img/icons/icon-pdf.svg","alt","\xCDcone PDF"],["target","_blank",3,"href","title"],[3,"title","date"],[1,"row-btn"],[1,"winner",3,"innerHTML"],["type","secondary",3,"handleClick","label"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1),O(3,CN,4,3)(4,wN,5,4),u()),r&2&&(f("title",v(1,5,"MANAGEMENT.PURCHASES-AND-CONTRACTS.TITLE")),c(2),f("title",o.footerService.footerList[2].TITLE)("listOptions",o.footerService.footerList[2].OPTIONS),c(),w(3,o.purchaseAndContractsInProgress.length>0?3:-1),c(),w(4,o.purchaseAndContractsClosed.length>0?4:-1))},dependencies:[X,oe,fn,V,z,ce,fe],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}app-title-section[_ngcontent-%COMP%]{display:block;margin-top:40px}app-title-section[_ngcontent-%COMP%]:first-child{margin-top:0}.list-file[_ngcontent-%COMP%]{padding-left:0!important;padding-top:16px;margin-bottom:16px}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:8px}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem;border-bottom:1px solid var(--gray-05);text-decoration:none}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:0}.winner[_ngcontent-%COMP%]{background-color:var(--gray-02);padding:16px;font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem}.winner[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--gray-05);font-size:1.25rem;line-height:1.5rem;margin-bottom:0!important}.winner[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem;margin-bottom:0!important}.row-btn[_ngcontent-%COMP%]{text-align:center;margin:24px auto}']});let t=e;return t})();var BM=(()=>{let e=class e{constructor(n){this.baseService=n}onGetProgress(){return this.baseService.methodGet("gestao/trabalhe-conosco/em-progresso","")}onGetClosed(n){return this.baseService.methodGet(`gestao/trabalhe-conosco/fechado${n?`?page=${n}`:""}`,"")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function PN(t,e){if(t&1&&(p(0,"li"),g(1,"img",6),p(2,"a",7),b(3),u()()),t&2){let i=e.$implicit;c(2),f("href",i.file.full_path,L)("title",i.title),c(),I(" ",i.title," ")}}function EN(t,e){if(t&1&&(p(0,"app-accordion",4),g(1,"div",3),p(2,"p"),b(3),u(),p(4,"ul",5),A(5,PN,4,3,"li",null,j),u()()),t&2){let i=e.$implicit,n=e.$index;f("title",i.title)("active",n===0)("date",i.date==null?null:i.date.formatted),c(),f("innerHTML",i.description==null?null:i.description.description,J),c(2),I(" ",i.winner," "),c(2),N(i.files)}}function SN(t,e){if(t&1&&(g(0,"app-title-section",0),y(1,"translate"),A(2,EN,7,5,"app-accordion",4,j)),t&2){let i=C();f("title",v(1,1,"MANAGEMENT.PURCHASES-AND-CONTRACTS.PROGRESS")),c(2),N(i.workWithUsInProgress)}}function IN(t,e){if(t&1&&(p(0,"li"),g(1,"img",6),p(2,"a",7),b(3),u()()),t&2){let i=e.$implicit;c(2),f("href",i.file.full_path,L)("title",i.title),c(),I(" ",i.title," ")}}function TN(t,e){if(t&1&&(p(0,"app-accordion",8),g(1,"div",3)(2,"p",3),p(3,"ul",5),A(4,IN,4,3,"li",null,j),u()()),t&2){let i=e.$implicit;f("title",i.title)("date",i.date==null?null:i.date.formatted),c(),f("innerHTML",i.description==null?null:i.description.description,J),c(),f("innerHTML",i.winner,J),c(2),N(i.files)}}function DN(t,e){if(t&1){let i=ne();p(0,"div",9)(1,"app-button",10),y(2,"translate"),B("handleClick",function(){Q(i);let r=C(2);return Z(r.onGetClosed())}
9),u()()}t&2&&(c(),f("label",v(2,1,"LABEL-BTN-SEE-MORE")))}function kN(t,e){if(t&1&&(g(0,"app-title-section",0),y(1,"translate"),A(2,TN,6,4,"app-accordion",8,j),O(4,DN,3,3,"div",9)),t&2){let i=C();f("title",v(1,2,"MANAGEMENT.PURCHASES-AND-CONTRACTS.CLOSED")),c(2),N(i.workWithUsClosed),c(2),w(4,i.current_page<=i.total_pages?4:-1)}}var Sd=(()=>{let e=class e{constructor(n,r,o){this.service=n,this.loading=r,this.footerService=o,this.workWithUsInProgress=[{description:{description:""},winner:""},{description:{description:""},winner:""},{description:{description:""},winner:""},{description:{description:""},winner:""}],this.workWithUsClosed=[{description:{description:""},winner:""},{description:{description:""},winner:""},{description:{description:""},winner:""},{description:{description:""},winner:""}],this.current_page=1,this.total_pages=0}ngOnInit(){this.onGetProgress(),this.onGetClosed()}onGetProgress(){this.service.onGetProgress().subscribe(n=>{this.workWithUsInProgress=n.workWithUs,this.loading.close()},n=>{console.error(n)})}onGetClosed(){this.current_page===1&&(this.workWithUsClosed=[]),this.service.onGetClosed(this.current_page).subscribe(n=>{this.workWithUsClosed=[...this.workWithUsClosed,...n.workWithUs.data],this.total_pages=n.workWithUs.last_page,this.current_page++,this.loading.close()},n=>{console.error(n)})}};e.\u0275fac=function(r){return new(r||e)(m(BM),m(U),m(ae))},e.\u0275cmp=T({type:e,selectors:[["app-work-with-us"]],standalone:!0,features:[k],decls:11,vars:13,consts:[[3,"title"],[3,"title","listOptions"],[1,"box-workwithus"],[3,"innerHTML"],[3,"title","active","date"],[1,"list-file"],["src","assets/img/icons/icon-pdf.svg","alt","\xCDcone PDF"],["target","_blank",3,"href","title"],[3,"title","date"],[1,"row-btn"],["type","secondary",3,"handleClick","label"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"div",2)(4,"h2"),b(5),y(6,"translate"),u(),g(7,"p",3),y(8,"translate"),u(),O(9,SN,4,3)(10,kN,5,4),u()),r&2&&(f("title",v(1,7,"MANAGEMENT.WORK-WITH-US.TITLE")),c(2),f("title",o.footerService.footerList[2].TITLE)("listOptions",o.footerService.footerList[2].OPTIONS),c(3),$(v(6,9,"MANAGEMENT.WORK-WITH-US.SUB-TITLE")),c(2),f("innerHTML",v(8,11,"MANAGEMENT.WORK-WITH-US.DESCRIPTION"),J),c(2),w(9,o.workWithUsInProgress.length>0?9:-1),c(),w(10,o.workWithUsClosed.length>0?10:-1))},dependencies:[ce,fn,oe,X,V,z,fe],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}app-title-section[_ngcontent-%COMP%]{display:block;margin-top:40px}app-title-section[_ngcontent-%COMP%]:first-child{margin-top:0}.box-workwithus[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:2rem;color:var(--orange);text-transform:uppercase;margin-bottom:8px}.box-workwithus[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-workwithus[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]  a{text-decoration:underline}@media (max-width: 768px){.box-workwithus[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.5rem}.box-workwithus[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.3125rem}}.row-btn[_ngcontent-%COMP%]{text-align:center;margin:24px auto}.list-file[_ngcontent-%COMP%]{padding-left:0!important;padding-top:16px}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:8px}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem;border-bottom:1px solid var(--gray-05);text-decoration:none}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:0}']});let t=e;return t})();var jM=(()=>{let e=class e{constructor(n){this.baseService=n}listPrograms(){return this.baseService.methodGet("educativo/programas","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function NN(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.aboutPrograms.image)}}function RN(t,e){if(t&1&&(p(0,"figure"),g(1,"img",6),u()),t&2){let i=C();c(),f("src",i.aboutPrograms.image==null?null:i.aboutPrograms.image.full_path,L)("alt",i.aboutPrograms.image==null?null:i.aboutPrograms.image.alt_image)}}function LN(t,e){if(t&1&&g(0,"app-card",12),t&2){let i=C().$implicit;f("propsCard",i)}}function FN(t,e){t&1&&O(0,LN,1,1,"ng-template",11)}function BN(t,e){if(t&1&&(p(0,"section",5)(1,"div",7),g(2,"app-title-section",8),y(3,"translate"),u(),p(4,"div",9)(5,"div",7)(6,"owl-carousel-o",10,0),A(8,FN,1,0,null,11,j),u()()()()),t&2){let i=Rt(7),n=C();c(2),f("title",v(3,4,"EDUCATIONAL.PROGRAMS.EDUCATIONAL-PROGRAMS"))("btnPrev",i.prev.bind(i))("btnNext",i.next.bind(i)),c(4),f("options",n.programsCarousel),c(2),N(n.programsList)}}var Id=(()=>{let e=class e{constructor(n,r,o,a,s){this.translate=n,this.service=r,this.loading=o,this.footerService=a,this.metaTags=s,this.aboutPrograms={},this.programsList=[],this.programsCarousel={loop:!0,mouseDrag:!1,touchDrag:!0,items:1,slideBy:1,autoWidth:!0,margin:16,nav:!1,dots:!1,responsive:{650:{items:2},1300:{items:3}}}}ngOnInit(){this.onGet()}onGet(){this.service.listPrograms().subscribe(n=>{let{about:r,programs:o}=n;this.aboutPrograms=r,o.forEach(a=>{this.programsList.push({srcImg:a.image.full_path,altImg:a.alt_image,title:a.title,de
9scription:a.short_description,link:a.slug})}),this.metaTags.updateMetaTag({title:r.tag_title,description:r.tag_description,img:r.image.full_path}),this.loading.close()},n=>{})}};e.\u0275fac=function(r){return new(r||e)(m(ee),m(jM),m(U),m(ae),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-programs-list"]],standalone:!0,features:[k],decls:10,vars:10,consts:[["carouselPrograms",""],[3,"title"],[3,"title","listOptions"],[3,"skeleton-img"],[1,"box-text"],[1,"educational-programs"],[3,"src","alt"],[1,"container"],[3,"title","btnPrev","btnNext"],[1,"container-carousel"],[3,"options"],["carouselSlide",""],[3,"propsCard"]],template:function(r,o){r&1&&(g(0,"app-title-page",1),y(1,"translate"),p(2,"app-aside",2)(3,"section"),O(4,NN,1,2,"figure",3)(5,RN,2,2),p(6,"div",4)(7,"article"),b(8),u()()()(),O(9,BN,10,6,"section",5)),r&2&&(f("title",v(1,8,"EDUCATIONAL.PROGRAMS.TITLE")),c(2),f("title",o.footerService.footerList[1].TITLE)("listOptions",o.footerService.footerList[1].OPTIONS),c(2),w(4,o.aboutPrograms.image?5:4),c(3),F("skeleton-img",!o.aboutPrograms.description),c(),I(" ",o.aboutPrograms.description==null?null:o.aboutPrograms.description.description," "),c(),w(9,o.programsList.length>0?9:-1))},dependencies:[X,V,z,oe,tt,Ot,xt,ce,un],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-06)}.educational-programs[_ngcontent-%COMP%]{margin-top:-32px;margin-bottom:56px}.educational-programs[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]{position:relative;width:100%;margin:24px 0;overflow-x:clip}.educational-programs[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]   .owl-carousel[_ngcontent-%COMP%]   .owl-stage-outer[_ngcontent-%COMP%]{overflow:visible}.educational-programs[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]   .owl-stage[_ngcontent-%COMP%]{display:flex}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}}']});let t=e;return t})();var VM=(()=>{let e=class e{constructor(n){this.baseService=n}listProgram(n){return this.baseService.methodGet("educativo/programas",n)}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function VN(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.aboutPrograms.image)}}function UN(t,e){if(t&1&&(p(0,"figure"),g(1,"img",5),u()),t&2){let i=C();c(),f("src",i.aboutPrograms.image==null?null:i.aboutPrograms.image.full_path,L)("alt",i.aboutPrograms.image==null?null:i.aboutPrograms.image.alt_image)}}function HN(t,e){if(t&1&&g(0,"iframe",6),t&2){let i=C().$implicit,n=C(2);f("src",n.sanitizeUrl(i.url_video+"?rel=0"),Ba)}}function zN(t,e){if(t&1&&(p(0,"app-accordion",0)(1,"p"),b(2),u(),O(3,HN,1,1,"iframe",6),u()),t&2){let i=e.$implicit;f("title",i.title),c(2),I(" ",i.description==null?null:i.description.description," "),c(),w(3,i.url_video?3:-1)}}function $N(t,e){if(t&1&&(p(0,"section",4),g(1,"app-title-section",0),y(2,"translate"),A(3,zN,4,3,"app-accordion",0,j),u()),t&2){let i=C();c(),f("title",v(2,1,"EDUCATIONAL.PROGRAMS.ACTIVITIES")),c(2),N(i.projectsList)}}var Td=(()=>{let e=class e{constructor(n,r,o,a,s,l){this.service=n,this.loading=r,this.route=o,this.sanitizer=a,this.footerService=s,this.metaTags=l,this.aboutPrograms={},this.projectsList=[],this.slug=""}ngOnInit(){this.route.params.subscribe(n=>{this.slug=n.id}),this.onGet()}onGet(){this.service.listProgram(this.slug).subscribe(n=>{let{program:r}=n;this.aboutPrograms=r,this.projectsList=r.projects,this.loading.close(),this.metaTags.updateMetaTag({title:r.tag_title,de
9scription:r.tag_description,img:r.image.full_path})},n=>{})}sanitizeUrl(n){return this.sanitizer.bypassSecurityTrustResourceUrl(n)}};e.\u0275fac=function(r){return new(r||e)(m(VM),m(U),m(ke),m(Et),m(ae),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-programs-internal"]],standalone:!0,features:[k],decls:9,vars:9,consts:[[3,"title"],[3,"title","listOptions"],[3,"skeleton-img"],[1,"box-text",3,"innerHTML"],[1,"section-activities"],[3,"src","alt"],["title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share","referrerpolicy","strict-origin-when-cross-origin","allowfullscreen","",3,"src"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section"),g(4,"app-title-section",0),O(5,VN,1,2,"figure",2)(6,UN,2,2),g(7,"div",3),u(),O(8,$N,5,3,"section",4),u()),r&2&&(f("title",v(1,7,"EDUCATIONAL.PROGRAMS.TITLE")),c(2),f("title",o.footerService.footerList[1].TITLE)("listOptions",o.footerService.footerList[1].OPTIONS),c(2),f("title",o.aboutPrograms.title),c(),w(5,o.aboutPrograms.image?6:5),c(2),f("innerHTML",o.aboutPrograms.description==null?null:o.aboutPrograms.description.description,J),c(),w(8,o.projectsList.length>0?8:-1))},dependencies:[X,oe,V,z,ce,fn],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-text[_ngcontent-%COMP%]{margin-bottom:8px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-activities[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--gray-06)!important}.section-activities[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{width:100%;max-width:500px;display:block;margin:0 auto;height:auto;aspect-ratio:16/9}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:1.3125rem}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:1.3125rem}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:1.3125rem}}']});let t=e;return t})();var Dd=(()=>{let e=class e{constructor(n,r,o){this.loading=n,this.metaTags=r,this.translate=o,this.metaTags.updateMetaTag({title:"404",description:this.translate.instant("NOT-FOUND.DESCRIPTION")})}ngOnInit(){this.loading.close()}};e.\u0275fac=function(r){return new(r||e)(m(U),m(W),m(ee))},e.\u0275cmp=T({type:e,selectors:[["app-not-found"]],standalone:!0,features:[
9k],decls:14,vars:12,consts:[["srcset","/assets/img/icons/icon-not-found-mobile.svg","media","(max-width:1000px)"],["src","/assets/img/icons/icon-not-found.svg","alt",""],[1,"container"],["type","secondary",3,"link","label"]],template:function(r,o){r&1&&(p(0,"section")(1,"picture"),g(2,"source",0)(3,"img",1),u(),p(4,"div",2)(5,"h1"),b(6),y(7,"translate"),u(),p(8,"p"),b(9),y(10,"translate"),u(),g(11,"app-button",3),y(12,"translate"),y(13,"translate"),u()()),r&2&&(c(6),$(v(7,4,"NOT-FOUND.TITLE")),c(3),$(v(10,6,"NOT-FOUND.DESCRIPTION")),c(2),f("link",v(12,8,"MENU-FOOTER.HOME.LINK"))("label",v(13,10,"NOT-FOUND.LABEL-BTN")))},dependencies:[fe,V,z],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}section[_ngcontent-%COMP%]{position:relative}section[_ngcontent-%COMP%]   picture[_ngcontent-%COMP%]{max-width:700px;margin:0 0 0 auto;display:block}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--gray-06);font-size:3rem;line-height:3.375rem;margin-bottom:8px}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:16px}@media (max-width: 1330px){section[_ngcontent-%COMP%]   picture[_ngcontent-%COMP%]{max-width:500px}}@media (max-width: 1000px){section[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:column-reverse}section[_ngcontent-%COMP%]   picture[_ngcontent-%COMP%]{max-width:700px;margin:0 auto 0 0}section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:167px 0;position:static;transform:translate(0)}}']});let t=e;return t})();var UM=(()=>{let e=class e{constructor(n){this.baseService=n}listSchedulingVisits(){return this.baseService.methodGet("educativo/agendamento-de-visitas","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function qN(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.aboutScheduling.image)}}function WN(t,e){if(t&1&&(p(0,"figure"),g(1,"img",6),u()),t&2){let i=C();c(),f("src",i.aboutScheduling.image==null?null:i.aboutScheduling.image.full_path,L)("alt",i.aboutScheduling.image==null?null:i.aboutScheduling.image.alt_image)}}function KN(t,e){if(t&1&&(p(0,"section",5),g(1,"app-title-section",0),y(2,"translate"),g(3,"app-button",7),y(4,"translate"),u()),t&2){let i=C();c(),f("title",v(2,4,"EDUCATIONAL.SCHEDULING-VISITS.VISITATION-MANUAL")),c(2),f("link",i.aboutScheduling.file==null?null:i.aboutScheduling.file.full_path)("isTargetBlank",!0)("label",v(4,6,"EDUCATIONAL.SCHEDULING-VISITS.BUTTON"))}}function YN(t,e){if(t&1&&(p(0,"app-accordion",0),g(1,"div",4),u()),t&2){let i=e.$implicit,n=C(2);f("title",i.question==null?null:i.question.description),c(),f("innerHTML",n.sanitizeHtml(i.answer==null?null:i.answer.description),J)}}function QN(t,e){if(t&1&&(p(0,"section",5),g(1,"app-title-section",0),A(2,YN,2,2,"app-accordion",0,j),u()),t&2){let i=C();c(),f("title",i.titleFaq),c(),N(i.listFaq)}}var kd=(()=>{let e=class e{constructor(n,r,o,a,s){this.service=n,this.loading=r,this.footerService=o,this.sanitizer=a,this.metaTags=s,this.aboutScheduling={},this.listFaq=[],this.titleFaq="FAQ"}ngOnInit(){this.onGet()}onGet(){this.service.listSchedulingVisits().subscribe(n=>{let{scheduling:r,faqTopic:o}=n;this.aboutScheduling=r,this.listFaq=o.faqs,this.titleFaq=o.title,this.metaTags.updateMetaTag({title:r.tag_title,de
9scription:r.tag_description,img:r.image.full_path}),this.loading.close()},n=>{})}sanitizeHtml(n){return this.sanitizer.bypassSecurityTrustHtml(n)}};e.\u0275fac=function(r){return new(r||e)(m(UM),m(U),m(ae),m(Et),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-scheduling-visits"]],standalone:!0,features:[k],decls:12,vars:12,consts:[[3,"title"],[3,"title","listOptions"],[3,"skeleton-img"],[1,"box-text"],[3,"innerHTML"],[1,"section-visitation"],[3,"src","alt"],["type","tertiary",3,"link","isTargetBlank","label"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section"),O(4,qN,1,2,"figure",2)(5,WN,2,2),p(6,"div",3)(7,"article"),b(8),u(),g(9,"article",4),u()(),O(10,KN,5,8,"section",5)(11,QN,4,1,"section",5),u()),r&2&&(f("title",v(1,10,"EDUCATIONAL.SCHEDULING-VISITS.TITLE")),c(2),f("title",o.footerService.footerList[1].TITLE)("listOptions",o.footerService.footerList[1].OPTIONS),c(2),w(4,o.aboutScheduling.image?5:4),c(3),F("skeleton-img",!o.aboutScheduling.description),c(),I(" ",o.aboutScheduling.description==null?null:o.aboutScheduling.description.description," "),c(),f("innerHTML",o.aboutScheduling.html==null?null:o.aboutScheduling.html.html,J),c(),w(10,o.aboutScheduling.file?10:-1),c(),w(11,o.listFaq.length>0?11:-1))},dependencies:[X,V,z,oe,ce,fe,fn],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-06);margin-bottom:24px}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]  h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]  p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]  strong{font-weight:700}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]  a{color:var(--orange);text-decoration:underline;font-weight:700}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]  ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]  ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]  ol{padding-left:18px}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]  ol li{color:var(--gray-06);font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:1.5rem}.section-visitation[_ngcontent-%COMP%]{margin:40px auto}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]  h3{line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]  p{font-size:.875rem;line-height:1.3125rem}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]  ul li{font-size:.875rem;line-height:1.3125rem}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]  ol li{font-size:.875rem;line-height:1.3125rem}}']});let t=e;return t})();var HM=(()=>{let e=class e{constructor(n){this.baseService=n}listDonations(){return this.baseService.methodGet("apoie/doacoes","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ad=(()=>{let e=class e{constructor(n,r,o,a,s){this.languageService=n,this.service=r,this.loading=o,this.footerService=a,this.metaTags=s,this.html=""}ngOnInit(){this.onGet()}onGet(){this.service.listDonations().subscribe(n=>{let{donation:r}=n;this.html=r?.html?.html,this.metaTags.updateMetaTag({title:r?.tag_title,de
9scription:r?.tag_description}),this.loading.close()},n=>{console.error("Error:",n),this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(We),m(HM),m(U),m(ae),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-donations"]],standalone:!0,features:[k],decls:5,vars:8,consts:[[3,"title"],[3,"title","listOptions"],[1,"box-text",3,"innerHTML"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section"),g(4,"div",2),u()()),r&2&&(f("title",v(1,6,"COFFEE-MUSEUM.DONATIONS.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(2),F("skeleton-img",!o.html),f("innerHTML",o.html,J))},dependencies:[X,oe,V,z],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.box-text[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}']});let t=e;return t})();var zM=(()=>{let e=class e{constructor(n){this.baseService=n}listFriendsOfMc(){return this.baseService.methodGet("apoie/amigos-do-mc","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function JN(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.about.image)}}function eR(t,e){if(t&1&&(p(0,"figure"),g(1,"img",6),u()),t&2){let i=C();c(),f("src",i.about.image==null?null:i.about.image.full_path,L)("alt",i.about.image==null?null:i.about.image.alt_image)}}function tR(t,e){if(t&1&&(p(0,"li"),b(1),u()),t&2){let i=e.$implicit;c(),I(" ",i.name," ")}}function nR(t,e){if(t&1&&(p(0,"figure",13),g(1,"img",14),u()),t&2){let i=C().$implicit;c(),f("src",i.image==null?null:i.image.full_path,L)}}function iR(t,e){if(t&1&&(p(0,"div",8)(1,"div",9)(2,"div",10)(3,"h3"),b(4),p(5,"span"),b(6),u()(),p(7,"ul",11),A(8,tR,2,1,"li",null,j),u(),g(10,"app-button",12),y(11,"translate"),u(),O(12,nR,2,1,"figure",13),u()()),t&2){let i=e.$implicit;
9c(4),I(" ",i.title," "),c(2),$(i.value),c(2),N(i.benefits),c(2),f("label",v(11,7,"COFFEE-MUSEUM.FRIEND-OF-MC.LABEL-BTN"))("link",i.link)("isTargetBlank",!0)("type","secondary"),c(2),w(12,i.image?12:-1)}}function rR(t,e){if(t&1&&(p(0,"section",4),g(1,"app-title-section",7),y(2,"translate"),A(3,iR,13,9,"div",8,j),u()),t&2){let i=C();c(),f("title",v(2,1,"COFFEE-MUSEUM.FRIEND-OF-MC.TITLE-CATEGORY")),c(2),N(i.listCategories)}}function oR(t,e){if(t&1&&(p(0,"p"),b(1),u()),t&2){let i=e.$implicit;c(),$(i.name)}}function aR(t,e){if(t&1&&(p(0,"section",5),g(1,"app-title-section",7),y(2,"translate"),p(3,"div",9),A(4,oR,2,1,"p",null,j),u()()),t&2){let i=C();c(),f("title",v(2,1,"COFFEE-MUSEUM.FRIEND-OF-MC.TITLE-FRIENDS-MC")),c(3),N(i.listPeople)}}var Nd=(()=>{let e=class e{constructor(n,r,o,a,s){this.languageService=n,this.service=r,this.loading=o,this.footerService=a,this.metaTags=s,this.about={},this.listCategories=[],this.listPeople=[]}ngOnInit(){this.onGet()}onGet(){this.service.listFriendsOfMc().subscribe(n=>{let{about:r,categories:o,people:a}=n;this.about=r??{},this.listCategories=o??[],this.listPeople=a??[],this.metaTags.updateMetaTag({title:r?.tag_title??"",description:r?.tag_description??"",img:r?.image.full_path??""}),this.loading.close()},n=>{console.error("Error:",n),this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(We),m(zM),m(U),m(ae),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-friends-of-mc"]],standalone:!0,features:[k],decls:9,vars:11,consts:[[3,"title"],[3,"title","listOptions"],[3,"skeleton-img"],[1,"box-text",3,"innerHTML"],[1,"section-category"],[1,"section-people"],[3,"src","alt"],["size","small",3,"title"],[1,"category"],[1,"wrapper"],[1,"coll-text"],[1,"list"],[3,"label","link","isTargetBlank","type"],[1,"coll-img"],["alt","",3,"src"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section"),O(4,JN,1,2,"figure",2)(5,eR,2,2),g(6,"div",3),u(),O(7,rR,5,3,"section",4)(8,aR,6,3,"section",5),u()),r&2&&(f("title",v(1,9,"COFFEE-MUSEUM.FRIEND-OF-MC.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(2),w(4,o.about.image?5:4),c(2),F("skeleton-img",!o.about.description),f("innerHTML",o.about.description==null?null:o.about.description.description,J),c(),w(7,o.listCategories.length>0?7:-1),c(),w(8,o.listPeople.length>0?8:-1))},dependencies:[X,oe,V,z,ce,fe],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-text[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-category[_ngcontent-%COMP%]{margin:40px auto 0}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{width:100%;margin-bottom:32px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:center;gap:24px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]{width:100%;flex-basis:100%}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.25rem;color:var(--gray-06);line-height:24px;margin-bottom:16px;text-transform:uppercase;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-04);text-transform:none}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{padding-left:20px;margin-bottom:24px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-06)}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]{width:100%;max-width:226px;height:auto}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{margin-bottom:0}
9.section-people[_ngcontent-%COMP%]{margin:40px auto 0}.section-people[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:16px}.section-people[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{min-width:300px;width:calc(50% - 8px);font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}.section-category[_ngcontent-%COMP%]{margin:24px auto}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{margin-bottom:24px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:column-reverse;gap:16px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1rem;line-height:24px;margin-bottom:8px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{padding-left:20px;margin-bottom:16px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]{max-width:156px;margin-bottom:0}}@media (max-width: 600px){.section-people[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{gap:8px}.section-people[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{min-width:auto;width:100%}}']});let t=e;return t})();var $M=(()=>{let e=class e{constructor(n){this.baseService=n}listSponsors(){return this.baseService.methodGet("apoie/patrocinadores-texto","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function lR(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.image.full_path)}}function cR(t,e){if(t&1&&(p(0,"figure"),g(1,"img",7),u()),t&2){let i=C();c(),f("src",i.image==null?null:i.image.full_path,L)("alt",i.image==null?null:i.image.alt_image)}}var Rd=(()=>{let e=class e{constructor(n,r,o,a,s){this.languageService=n,this.service=r,this.loading=o,this.footerService=a,this.metaTags=s,this.image={},this.description={},this.sponsors=""}ngOnInit(){this.onGet()}onGet(){this.service.listSponsors().subscribe(n=>{let{page:r}=n;this.image=ze(Y({},r.image),{alt_image:r.alt_image}),this.description=r.description,this.sponsors=r.sponsor_image,this.metaTags.updateMetaTag({title:r?.tag_title,de
9scription:r?.tag_description,img:r.image.full_path}),this.loading.close()},n=>{console.error("Error:",n),this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(We),m($M),m(U),m(ae),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-sponsors"]],standalone:!0,features:[k],decls:10,vars:10,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-content"],[3,"skeleton-img"],[1,"box-text",3,"innerHTML"],[1,"img"],["alt","",3,"src"],[3,"src","alt"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section",2),O(4,lR,1,2,"figure",3)(5,cR,2,2),g(6,"div",4),p(7,"div",5)(8,"figure"),g(9,"img",6),u()()()()),r&2&&(f("title",v(1,8,"COFFEE-MUSEUM.SPONSORS.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(2),w(4,o.image.full_path?5:4),c(2),F("skeleton-img",!o.description.description),f("innerHTML",o.description==null?null:o.description.description,J),c(3),f("src",o.sponsors,L))},dependencies:[X,oe,V,z],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-content[_ngcontent-%COMP%]{margin-bottom:40px}.section-content[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{padding-top:24px}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-text[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     p br{margin-bottom:16px}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-sponsors[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:24px}.section-sponsors[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{display:block;max-width:315px;width:calc(33.3333333333% - 16px)}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}}@media (max-width: 600px){.section-sponsors[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{gap:16px}.section-sponsors[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(50% - 8px)}}']}
9);let t=e;return t})();var Xo=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("exposicoes","")}getExposition(n){return this.baseService.methodGet("exposicoes",n)}getExpositionPage(n,r){return this.baseService.methodGet("exposicoes",`${n}?take=9&page=${r}`)}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var dR=(t,e,i,n,r,o)=>({srcImg:t,altImg:e,title:i,date:n,link:r,category:"",description:"",isTarget:!1,disabled:o});function uR(t,e){if(t&1&&g(0,"app-button",4),t&2){let i=e.$implicit,n=e.$index;f("label",i.label)("link",i.link)("isActive",n===0)}}function pR(t,e){if(t&1&&(p(0,"figure"),g(1,"img",12),u()),t&2){let i=C(2);c(),f("src",i.highlight.image==null?null:i.highlight.image.full_path,L)("alt",i.highlight.alt_image)}}function fR(t,e){if(t&1&&(p(0,"section",7),g(1,"app-title-section",0),p(2,"a",8)(3,"div",9),O(4,pR,2,2,"figure"),p(5,"div",10)(6,"p",11),b(7),u(),p(8,"h3"),b(9),u()()()()()),t&2){let i=C();F("skeleton-img",!(i.highlight.image!=null&&i.highlight.image.full_path)),c(),f("title",i.highlight.type==null?null:i.highlight.type.title),c(),f("routerLink",(i.highlight.type==null?null:i.highlight.type.slug)+"/"+i.highlight.slug)("title",i.highlight.title),c(2),w(4,i.highlight.image!=null&&i.highlight.image.full_path?4:-1),c(3),dn(" ",i.highlight.start_date==null?null:i.highlight.start_date.formatted_day_month_year," - ",i.highlight.start_date==null?null:i.highlight.start_date.formatted_day_month_year," "),c(2),I(" ",i.highlight.title," ")}}function hR(t,e){if(t&1&&g(0,"app-card",14),t&2){let i=e.$implicit,n=C().$implicit,r=C();f("propsCard",Ic(1,dR,i.image_2==null?null:i.image_2.full_path,i.alt_image_2,i.title,i.show_date?r.getTypeHighlights(i):"",n.slug+"/"+i.slug,r.isFutureDate(i.end_date==null?null:i.end_date.date)))}}function gR(t,e){if(t&1&&(p(0,"div",15),g(1,"app-button",17),y(2,"translate"),u()),t&2){let i=C().$implicit,n=C();c(),f("label",v(2,2,"LABEL-BTN-SEE-MORE"))("link",n.listBtn[0].link+"/"+i.slug)}}function mR(t,e){if(t&1&&(p(0,"div",18)(1,"p"),b(2),u(),g(3,"app-button",19),u()),t&2){let i=e.$implicit;c(2),$(i.text),c(),f("label",i.button_name)("isTargetBlank",i.is_target_blank===1)("link",i.link)}}function _R(t,e){if(t&1&&(p(0,"div",16),A(1,mR,4,4,"div",18,j),u()),t&2){let i=C().$implicit;c(),N(i.expositionTypeComplements)}}function CR(t,e){if(t&1&&(p(0,"section",6),g(1,"app-title-section",0),p(2,"div",13),A(3,hR,1,8,"app-card",14,j),u(),O(5,gR,3,4,"div",15)(6,_R,3,0,"div",16),u()),t&2){let i=e.$implicit;c(),f("title",i.title),c(2),N(i.expositions.data),c(2),w(5,i.expositions.total>3?5:-1),c(),w(6,i.expositionTypeComplements.length>0?6:-1)}}var Ld=(()=>{let e=class e{constructor(n,r,o){this.loading=n,this.linguage=r,this.service=o,this.listBtn=[],this.highlight={},this.listExposition=[]}ngOnInit(){this.linguage.get("EXPOSITION.BTNS").subscribe(n=>{this.listBtn=n.map(r=>({label:r.TITLE,link:r.LINK}))}),this.onGet()}onGet(){this.service.list().subscribe(n=>{this.highlight=n.highlight,this.listExposition=n.types,this.loading.close()},n=>{this.loading.close()})}isFutureDate(n){return(typeof n=="string"||typeof n=="number")&&(n=new Date(n)),!(n instanceof Date)||isNaN(n.getTime())?!1:n<new Date}getTypeHighlights(n){let r=n.start_date?.formatted_day_month_year.toUpperCase()||"",o=n.end_date?.formatted_day_month_year.toUpperCase()||"";return r&&o?`${r} - ${o}`:r?`${r}`:""}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ee),m(Xo))},e.\u0275cmp=T({type:e,selectors:[["app-expositions"]],standalone:!0,features:[k],decls:11,vars:8,consts:[[3,"title"],[1,"container"],["size","small",3,"title","line"],[1,"wrapper-btn-category"],["type","fourth",3,"label","link","isActive"],[1,"section-highlights",3,"skeleton-img"],[1,"section-expositions"],[1,"section-highlights"],[3,"routerLink","title"],[1,"box-highlights"],[1,"coll-text"],[1,"date"],[3,"src","alt"],[1,"wrapper"],[3,"propsCard"],[1,"row-btn"],[1,"box-files"],["type","tertiary",3,"label","link"],[1,"file"],["type","secondary",3,"label","isTargetBlank","link"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"div",1),g(3,"app-title-section",2),y(4,"translate"),p(5,"div",3),A(6,uR,1,3,"app-button",4,j),u(),O(8,fR,10,9,"section",5),A(9,CR,7,3,"section",6,j),u()),r&2&&(f("title",v(1,4,"MENU-FOOTER.SCHEDULE.TITLE")),c(3),f("title",v(4,6,"EXPOSITION.TITLE-CATEGORY"))("line",!1),c(3),N(o.listBtn),c(2),w(8,o.highlight?8:-1),c(),N(o.listExposition))},dependencies:[X,V,z,ce,fe,un,Ht],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;
9height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.wrapper-btn-category[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:40px}.section-highlights[_ngcontent-%COMP%]{margin-bottom:40px}.section-highlights[_ngcontent-%COMP%]   .box-highlights[_ngcontent-%COMP%]{position:relative}.section-highlights[_ngcontent-%COMP%]   .box-highlights[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]{position:absolute;top:0;left:50%;width:calc(100% - 40px);height:calc(100% - 5px);display:flex;align-items:flex-start;justify-content:center;transform:translate(-50%);flex-direction:column}.section-highlights[_ngcontent-%COMP%]   .box-highlights[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--gray-01);text-transform:uppercase;font-size:3rem;line-height:54px;max-width:680px}.section-highlights[_ngcontent-%COMP%]   .box-highlights[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-01);text-transform:uppercase;font-size:.75rem;line-height:18px}.section-highlights[_ngcontent-%COMP%]   .box-highlights[_ngcontent-%COMP%]:before{position:absolute;content:"";width:100%;height:100%;top:0;left:0;background-color:var(--mask-banner)}.section-expositions[_ngcontent-%COMP%]{margin-bottom:40px}.section-expositions[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:flex-start;gap:24px;margin-bottom:24px}.section-expositions[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:33.3333333333%}.section-expositions[_ngcontent-%COMP%]   .row-btn[_ngcontent-%COMP%]{width:100%;margin:0 auto 24px;display:flex;justify-content:center}.section-expositions[_ngcontent-%COMP%]   .box-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:30px 0;border-bottom:1px solid var(--gray-03);gap:16px}.section-expositions[_ngcontent-%COMP%]   .box-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1.25rem;line-height:24px}.section-expositions[_ngcontent-%COMP%]   .box-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]:last-child{border-bottom:1px solid transparent;padding:30px 0 0}@media (max-width: 1050px){.section-highlights[_ngcontent-%COMP%]   .box-highlights[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:2rem;line-height:40px}.section-expositions[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-wrap:wrap}.section-expositions[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:calc(50% - 12px)}}@media (max-width: 768px){.section-highlights[_ngcontent-%COMP%]   .box-highlights[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{height:320px;overflow:hidden}.section-highlights[_ngcontent-%COMP%]   .box-highlights[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100%;object-position:center;object-fit:cover;width:auto}.section-highlights[_ngcontent-%COMP%]   .box-highlights[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.5rem;line-height:28px}.section-expositions[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-wrap:wrap}.section-expositions[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:100%}.section-expositions[_ngcontent-%COMP%]   .box-files[_ngcontent-%COMP%]   .file[_ng
9content-%COMP%]{padding:24px 0}}@media (max-width: 500px){.section-expositions[_ngcontent-%COMP%]   .box-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]{flex-direction:column;align-items:center;padding:24px 0}.section-expositions[_ngcontent-%COMP%]   .box-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]:last-child{padding:24px 0 0}}']});let t=e;return t})();var yR=(t,e,i,n,r,o)=>({srcImg:t,altImg:e,title:i,date:n,link:r,category:"",description:"",isTarget:!1,disabled:o});function vR(t,e){if(t&1&&g(0,"app-button",4),t&2){let i=e.$implicit,n=e.$index;f("label",i.label)("link",i.link)("isActive",n===0)}}function bR(t,e){if(t&1&&g(0,"app-card",7),t&2){let i=e.$implicit,n=C();f("propsCard",Ic(1,yR,i.image_2==null?null:i.image_2.full_path,i.alt_image_2,i.title,i.show_date?n.getTypeHighlights(i):"",i.slug,n.isFutureDate(i.end_date==null?null:i.end_date.date)))}}function xR(t,e){if(t&1){let i=ne();p(0,"div",8)(1,"app-button",10),y(2,"translate"),B("handleClick",function(){Q(i);let r=C();return Z(r.onGet())}),u()()}t&2&&(c(),f("label",v(2,1,"LABEL-BTN-SEE-MORE")))}function MR(t,e){if(t&1&&(p(0,"div",11)(1,"p"),b(2),u(),g(3,"app-button",12),u()),t&2){let i=e.$implicit;c(2),$(i.text),c(),f("label",i.button_name)("isTargetBlank",i.is_target_blank===1)("link",i.link)}}function wR(t,e){if(t&1&&(p(0,"div",9),A(1,MR,4,4,"div",11,j),u()),t&2){let i=C();c(),N(i.categoryExposition.complements)}}var Fd=(()=>{let e=class e{constructor(n,r,o,a,s){this.loading=n,this.linguage=r,this.service=o,this.route=a,this.metaTags=s,this.listBtn=[],this.categoryExposition={},this.slug="",this.current_page=1,this.listExpositions=[]}ngOnInit(){this.linguage.get("EXPOSITION.BTNS").subscribe(n=>{this.listBtn=n.map(r=>({label:r.TITLE,link:r.LINK}))}),this.route.params.subscribe(n=>{this.slug=n.type}),this.onGet()}onGet(){this.loading.open(),this.service.getExpositionPage(this.slug,this.current_page).subscribe(n=>{this.categoryExposition=n,this.listExpositions&&this.listExpositions.length>0?this.listExpositions=[...this.listExpositions,...n.expositions.data]:this.listExpositions=n.expositions.data,this.current_page=n.expositions.current_page+1,this.metaTags.updateMetaTag({title:n.title}),this.loading.close()})}isFutureDate(n){return(typeof n=="string"||typeof n=="number")&&(n=new Date(n)),!(n instanceof Date)||isNaN(n.getTime())?!1:n<new Date}getTypeHighlights(n){let r=n.start_date?.formatted_day_month_year.toUpperCase()||"",o=n.end_date?.formatted_day_month_year.toUpperCase()||"";return r&&o?`${r} - ${o}`:`${r}`}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ee),m(Xo),m(ke),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-exposition-category"]],standalone:!0,features:[k],decls:15,vars:10,consts:[[3,"title"],[1,"container"],["size","small",3,"title","line"],[1,"wrapper-btn-category"],["type","fourth",3,"label","link","isActive"],[1,"section-expositions"],[1,"wrapper"],[3,"propsCard"],[1,"row-btn"],[1,"box-files"],["type","tertiary",3,"handleClick","label"],[1,"file"],["type","secondary",3,"label","isTargetBlank","link"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"div",1),g(3,"app-title-section",2),y(4,"translate"),p(5,"div",3),A(6,vR,1,3,"app-button",4,j),u(),p(8,"section",5),g(9,"app-title-section",0),p(10,"div",6),A(11,bR,1,8,"app-card",7,j),u(),O(13,xR,3,3,"div",8)(14,wR,3,0,"div",9),u()()),r&2&&(f("title",v(1,6,"MENU-FOOTER.SCHEDULE.TITLE")),c(3),f("title",v(4,8,"EXPOSITION.TITLE-CATEGORY"))("line",!1),c(3),N(o.listBtn),c(3),f("title",o.categoryExposition.title),c(2),N(o.listExpositions),c(2),w(13,(o.categoryExposition.expositions==null?null:o.categoryExposition.expositions.current_page)<(o.categoryExposition.expositions==null?null:o.categoryExposition.expositions.last_page)?13:-1),c(),w(14,(o.categoryExposition.complements==null?null:o.categoryExposition.complements.length)>0?14:-1))},dependencies:[X,V,z,ce,fe,un],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;
9height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.wrapper-btn-category[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:40px}.section-expositions[_ngcontent-%COMP%]{margin-bottom:40px}.section-expositions[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:flex-start;gap:24px;margin-bottom:24px;flex-wrap:wrap}.section-expositions[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:calc(33.3333333333% - 16px)}.section-expositions[_ngcontent-%COMP%]   .row-btn[_ngcontent-%COMP%]{width:100%;margin:0 auto 24px;display:flex;justify-content:center}.section-expositions[_ngcontent-%COMP%]   .box-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:30px 0;border-bottom:1px solid var(--gray-03);gap:16px}.section-expositions[_ngcontent-%COMP%]   .box-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1.25rem;line-height:24px}.section-expositions[_ngcontent-%COMP%]   .box-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]:last-child{border-bottom:1px solid transparent;padding:30px 0 0}@media (max-width: 1050px){.section-expositions[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-wrap:wrap}.section-expositions[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:calc(50% - 12px)}}@media (max-width: 768px){.section-expositions[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-wrap:wrap}.section-expositions[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:100%}.section-expositions[_ngcontent-%COMP%]   .box-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]{padding:24px 0}}@media (max-width: 500px){.section-expositions[_ngcontent-%COMP%]   .box-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]{flex-direction:column;align-items:center;padding:24px 0}.section-expositions[_ngcontent-%COMP%]   .box-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]:last-child{padding:24px 0 0}}']});let t=e;return t})();var OR=(t,e,i,n)=>({srcImg:t,altImg:e,title:i,link:n,date:"",category:"",description:"",isTarget:!1});function PR(t,e){if(t&1&&(g(0,"app-button",6),y(1,"translate")),t&2){let i=C();f("label",v(1,4,"COLLECTION-AND-RESEARCH.COLLECTION.LABEL-BTN"))("link",i.urlBtn)("isTargetBlank",!0)("type","secondary")}}function ER(t,e){if(t&1&&(p(0,"li"),g(1,"img",18),p(2,"a",19),b(3),u()()),t&2){let i=e.$implicit;c(2),f("href",i.file.full_path,L)("title",i.title),c(),I(" ",i.title," ")}}function SR(t,e){if(t&1&&(p(0,"ul",7),A(1,ER,4,3,"li",null,j),u()),t&2){let i=C();c(),N(i.files)}}
9function IR(t,e){if(t&1&&(p(0,"figure"),g(1,"img",20),u()),t&2){let i=C();c(),f("src",i.exposition==null?null:i.exposition.full_path,L)}}function TR(t,e){if(t&1&&(p(0,"figure",25),g(1,"img",20),u()),t&2){let i=C().$implicit;c(),f("src",i.file.full_path,L)}}function DR(t,e){t&1&&O(0,TR,2,1,"ng-template",24)}function kR(t,e){if(t&1&&(p(0,"section",16)(1,"div",3),g(2,"app-title-section",21),y(3,"translate"),u(),p(4,"div",22)(5,"div",3)(6,"owl-carousel-o",23,0),A(8,DR,1,0,null,24,j),u()()()()),t&2){let i=Rt(7),n=C();c(2),f("title",v(3,4,"EXPOSITION.INTERNAL.TITLE-GALLERY"))("btnPrev",i.prev.bind(i))("btnNext",i.next.bind(i)),c(4),f("options",n.galleryCarousel),c(2),N(n.galleryList)}}function AR(t,e){if(t&1&&g(0,"app-card",27),t&2){let i=e.$implicit;f("propsCard",Sc(1,OR,i.image==null?null:i.image.full_path,i.alt_image,i.title,i.category_slug+"/"+i.slug))}}function NR(t,e){if(t&1&&(p(0,"section",17)(1,"div",3),g(2,"app-title-section",26),y(3,"translate"),p(4,"div",4),A(5,AR,1,6,"app-card",27,j),u()()()),t&2){let i=C();c(2),f("title",v(3,1,"EXPOSITION.INTERNAL.TITLE-SEE-MORE")),c(3),N(i.listSeeMore)}}var Bd=(()=>{let e=class e{constructor(n,r,o,a,s){this.loading=n,this.service=r,this.route=o,this.metaTags=a,this.platformId=s,this.slug="",this.url="",this.title="",this.html="",this.exposition={},this.galleryList=[],this.bannersList=[],this.galleryCarousel={},this.listSeeMore=[],this.files=[],this.urlBtn="",Xe(this.platformId)&&(this.url=window.location.href)}ngOnInit(){this.route.params.subscribe(n=>{this.slug=n.type+"/"+n.slug}),this.onGet()}onGet(){this.service.getExposition(this.slug).subscribe(n=>{this.bannersList.push({srcImg:n.exposition.image?.full_path,typeHighlights:this.getTypeHighlights(n.exposition),title:n.exposition.title,description:"",labelBtn:"",link:"",isTarget:!1}),this.title=n.exposition.title,this.html=n.exposition.html.html,this.files=n.exposition.files,this.galleryList=n.exposition.gallery,this.listSeeMore=n.related.data,this.exposition=n.exposition.sponsor_image,this.urlBtn=n.exposition.url,this.listCarousel(),this.metaTags.updateMetaTag({title:n.exposition?.tag_title,de
9scription:n.exposition?.tag_description,img:n.exposition?.image.full_path}),this.loading.close()},n=>{this.loading.close()})}listCarousel(){this.galleryCarousel={loop:this.galleryList.length>1,autoplay:!1,autoplaySpeed:800,autoplayTimeout:3e3,mouseDrag:!1,touchDrag:!0,items:1,slideBy:1,autoWidth:!0,margin:16,nav:!1,dots:!1,responsive:{650:{items:2,loop:this.galleryList.length>2},1300:{items:3,loop:this.galleryList.length>3}}}}getTypeHighlights(n){let r=n.start_date?.formatted_day_month_year.toUpperCase()||"",o=n.end_date?.formatted_day_month_year.toUpperCase()||"",a=n.type?.title.toUpperCase()||"Tipo n\xE3o definido";return r&&o?`${r} - ${o} | ${a}`:r?`${r} | ${a}`:o?`${o} | ${a}`:`${a}`}};e.\u0275fac=function(r){return new(r||e)(m(U),m(Xo),m(ke),m(W),m(De))},e.\u0275cmp=T({type:e,selectors:[["app-exposition-internal"]],standalone:!0,features:[k],decls:23,vars:13,consts:[["carouselGallery",""],[3,"bannersList"],[1,"section-content"],[1,"container"],[1,"wrapper"],[1,"content",3,"innerHTML"],[3,"label","link","isTargetBlank","type"],[1,"list-file"],[1,"box-aside"],[1,"icons"],["target","_blank","title","\xEDcone facebook",3,"href"],["src","assets/img/icons/icon-facebook-orange.svg","alt","\xEDcone facebook"],["target","_blank","title","\xEDcone x",3,"href"],["src","assets/img/icons/icon-x-orange.svg","alt","\xEDcone x"],["target","_blank","title","\xEDcone whatsapp",3,"href"],["src","assets/img/icons/icon-whatsapp-orange.svg","alt","\xEDcone whatsapp"],[1,"section-gallery"],[1,"section-see-more"],["src","assets/img/icons/icon-pdf.svg","alt","\xCDcone PDF"],["target","_blank",3,"href","title"],["alt","",3,"src"],[3,"title","btnPrev","btnNext"],[1,"container-carousel"],[3,"options"],["carouselSlide",""],[1,"img"],[3,"title"],[3,"propsCard"]],template:function(r,o){r&1&&(g(0,"app-banners",1),p(1,"section",2)(2,"div",3)(3,"div",4)(4,"div"),g(5,"article",5),O(6,PR,2,6,"app-button",6)(7,SR,3,0,"ul",7)(8,IR,2,1,"figure"),u(),p(9,"aside")(10,"div",8)(11,"p"),b(12),y(13,"translate"),u(),p(14,"div",9)(15,"a",10),g(16,"img",11),u(),p(17,"a",12),g(18,"img",13),u(),p(19,"a",14),g(20,"img",15),u()()()()()()(),O(21,kR,10,6,"section",16)(22,NR,7,3,"section",17)),r&2&&(f("bannersList",o.bannersList),c(5),f("innerHTML",o.html,J),c(),w(6,o.urlBtn?6:-1),c(),w(7,o.files.length>0?7:-1),c(),w(8,o.exposition?8:-1),c(4),$(v(13,11,"EXPOSITION.INTERNAL.LABEL-SHARE")),c(3),f("href","https://www.facebook.com/sharer/sharer.php?u="+o.url,L),c(2),f("href","https://twitter.com/intent/tweet?text="+o.title+"&url="+o.url,L),c(2),f("href","https://wa.me/?text="+o.url,L),c(2),w(21,o.galleryList.length>0?21:-1),c(),w(22,o.listSeeMore.length>0?22:-1))},dependencies:[Ln,ce,tt,Ot,xt,V,z,un,fe],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-content[_ngcontent-%COMP%]{margin:30px auto}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:24px;justify-content:space-between;position:relative}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]{padding-left:0!important;padding-top:10px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem;border-bottom:1px solid var(--gray-05);text-decoration:none}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:0}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{position:sticky;top:3%}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]{background-color:var(--gray-02);display:flex;align-items:center;justify-content:center;gap:44px;padding:40px 48px;border-radius:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--orange);font-size:2rem;line-height:2.5rem}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:16px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{width:20px;height:20px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-button[_ngcontent-%COMP%]{display:block;margin-top:16px}.section-gallery[_ngcontent-%COMP%]{margin-bottom:80px}
9.section-gallery[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]{position:relative;width:100%;margin:24px 0;overflow-x:clip}.section-gallery[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]     .owl-carousel .owl-stage-outer{overflow:visible}.section-gallery[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]     .owl-stage{display:flex}.section-gallery[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{max-width:500px}.section-see-more[_ngcontent-%COMP%]{margin-bottom:40px}.section-see-more[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:flex-start;gap:24px;margin-bottom:24px}.section-see-more[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:33.3333333333%}@media (max-width: 1050px){.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]{gap:16px;padding:30px 38px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1.75rem}.section-see-more[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-wrap:wrap}.section-see-more[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:calc(50% - 12px)}}@media (max-width: 768px){.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:column;gap:24px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]{gap:50px;padding:24px 16px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.5rem}.section-gallery[_ngcontent-%COMP%]{margin-bottom:40px}.section-see-more[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-wrap:wrap}.section-see-more[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:100%}}']});let t=e;return t})();var GM=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("institucional/missao-visao-objetivo","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Jo=(()=>{let e=class e{constructor(n,r,o){this.updateMetaTagsService=n,this.service=r,this.loading=o}resolve(n,r){return this.service.list().toPromise().then(o=>{this.data=o;
9let a={title:o.objectives.tag_title,description:o.objectives.tag_description,img:o.objectives.image};return this.updateMetaTagsService.updateMetaTag(a)},o=>{this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(x(W),x(GM),x(U))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function FR(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.image.full_path)}}function BR(t,e){if(t&1&&(p(0,"figure"),g(1,"img",5),u()),t&2){let i=C();c(),f("src",i.image==null?null:i.image.full_path,L)("alt",i.image==null?null:i.image.alt_image)}}var jd=(()=>{let e=class e{constructor(n,r,o,a){this.languageService=n,this.loading=r,this.footerService=o,this.resolver=a,this.image={full_path:"",alt_image:""},this.description={},this.list=[]}ngOnInit(){this.image={full_path:this.resolver.data.objectives.image,alt_image:this.resolver.data.objectives.alt_image},this.description=this.resolver.data.objectives.html,this.loading.close()}};e.\u0275fac=function(r){return new(r||e)(m(We),m(U),m(ae),m(Jo))},e.\u0275cmp=T({type:e,selectors:[["app-mission-vision-goals"]],standalone:!0,features:[k],decls:7,vars:9,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-content"],[3,"skeleton-img"],[1,"box-text",3,"innerHTML"],[3,"src","alt"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section",2),O(4,FR,1,2,"figure",3)(5,BR,2,2),g(6,"div",4),u()()),r&2&&(f("title",v(1,7,"COFFEE-MUSEUM.MISSION-VISION-GOALS.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(2),w(4,o.image.full_path?5:4),c(2),F("skeleton-img",!o.description.html),f("innerHTML",o.description==null?null:o.description.html,J))},dependencies:[X,oe,V,z],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-content[_ngcontent-%COMP%]{margin-bottom:40px}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-text[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     p br{margin-bottom:16px}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}}']});let t=e;return t})();var WM=vw(qM(),1);var KM=(()=>{class t{get isFileSaverSupported(){try{return!!new Blob}catch{return!1}}genType(i){if(!i||i.lastIndexOf(".")===-1)return"text/plain";let n=i.substr(i.lastIndexOf(".")+1);switch(n){case"txt":return"text/plain";case"xml":case"html":return`text/${n}`;case"json":return"octet/stream";default:return`application/${n}`}}save(i,n,r,o){if(!i)throw new Error("Data argument should be a blob instance");let a=new Blob([i],{type:r||i.type||this.genType(n)});(0,WM.saveAs)(a,decodeURI(n||"download"),o)}saveText(i,n,r){let o=new Blob([i]);this.save(o,n,void 0,r)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var YM=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=vt({type:t}),t.\u0275inj=yt({}),t})();var Gt={CHANGE_PAGE:1,CLOSE:2,OPEN:3,ZOOM_IN:4,ZOOM_OUT:5,ROTATE_LEFT:6,ROTATE_RIGHT:7},zi=(()=>{class t{constructor(){this._lightboxEventSource=new Le,this.lightboxEvent$=this._lightboxEventSource.asObservable()}broadcastLightboxEvent(i){this._lightboxEventSource.next(i)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();function VR(){return window}
9var Vd=(()=>{class t{get nativeWindow(){return VR()}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();var UR=["outerContainer"],HR=["container"],zR=["leftArrow"],$R=["rightArrow"],GR=["navArrow"],qR=["dataContainer"],WR=["image"],KR=["caption"],YR=["number"],QR=["lb-content",""],QM=(()=>{class t{constructor(i,n,r,o,a,s,l,d){this._elemRef=i,this._rendererRef=n,this._lightboxEvent=r,this._lightboxElem=o,this._lightboxWindowRef=a,this._fileSaverService=s,this._sanitizer=l,this._documentRef=d,this.options=this.options||{},this.album=this.album||[],this.currentImageIndex=this.currentImageIndex||0,this._windowRef=this._lightboxWindowRef.nativeWindow,this.ui={showReloader:!0,showLeftArrow:!1,showRightArrow:!1,showArrowNav:!1,showZoomButton:!1,showRotateButton:!1,showPageNumber:!1,showCaption:!1,showDownloadButton:!1,classList:"lightbox animation fadeIn"},this.content={pageNumber:""},this._event={},this._lightboxElem=this._elemRef,this._event.subscription=this._lightboxEvent.lightboxEvent$.subscribe(h=>this._onReceivedEvent(h)),this.rotate=0}ngOnInit(){this.album.forEach(i=>{i.caption&&(i.caption=this._sanitizer.sanitize(Ut.HTML,i.caption))})}ngAfterViewInit(){this._cssValue={containerTopPadding:Math.round(this._getCssStyleValue(this._containerElem,"padding-top")),containerRightPadding:Math.round(this._getCssStyleValue(this._containerElem,"padding-right")),containerBottomPadding:Math.round(this._getCssStyleValue(this._containerElem,"padding-bottom")),containerLeftPadding:Math.round(this._getCssStyleValue(this._containerElem,"padding-left")),imageBorderWidthTop:Math.round(this._getCssStyleValue(this._imageElem,"border-top-width")),imageBorderWidthBottom:Math.round(this._getCssStyleValue(this._imageElem,"border-bottom-width")),imageBorderWidthLeft:Math.round(this._getCssStyleValue(this._imageElem,"border-left-width")),imageBorderWidthRight:Math.round(this._getCssStyleValue(this._imageElem,"border-right-width"))},this._validateInputData()&&(this._prepareComponent(),this._registerImageLoadingEvent())}ngOnDestroy(){this.options.disableKeyboardNav||this._disableKeyboardNav(),this._event.subscription.unsubscribe()}close(i){i.stopPropagation(),(i.target.classList.contains("lightbox")||i.target.classList.contains("lb-loader")||i.target.classList.contains("lb-close"))&&this._lightboxEvent.broadcastLightboxEvent({id:Gt.CLOSE,data:null})}download(i){i.stopPropagation();let n=this.album[this.currentImageIndex].src,r=this.album[this.currentImageIndex].downloadUrl,o=n.split("/"),a=o[o.length-1],s=document.createElement("canvas"),l=s.getContext("2d"),d=new Image,h=this;d.onload=function(){s.width=this.naturalWidth,s.height=this.naturalHeight,l.drawImage(this,0,0),s.toBlob(function(_){h._fileSaverService.save(_,a)},"image/jpeg",.75)},d.crossOrigin="",r&&r.length>0?d.src=this._sanitizer.sanitize(Ut.URL,r):d.src=this._sanitizer.sanitize(Ut.URL,n)}control(i){i.stopPropagation();let n,r;i.target.classList.contains("lb-turnLeft")?(this.rotate=this.rotate-90,this._rotateContainer(),this._calcTransformPoint(),this._documentRef.getElementById("image").style.transform=`rotate(${this.rotate}deg)`,this._documentRef.getElementById("image").style.webkitTransform=`rotate(${this.rotate}deg)`,this._lightboxEvent.broadcastLightboxEvent({id:Gt.ROTATE_LEFT,data:null})):i.target.classList.contains("lb-turnRight")?(this.rotate=this.rotate+90,this._rotateContainer(),this._calcTransformPoint(),this._documentRef.getElementById("image").style.transform=`rotate(${this.rotate}deg)`,this._documentRef.getElementById("image").style.webkitTransform=`rotate(${this.rotate}deg)`,this._lightboxEvent.broadcastLightboxEvent({id:Gt.ROTATE_RIGHT,data:null})):i.target.classList.contains("lb-zoomOut")?(n=parseInt(this._documentRef.getElementById("outerContainer").style.height,10)/1.5,r=parseInt(this._documentRef.getElementById("outerContainer").style.width,10)/1.5,this._documentRef.getElementById("outerContainer").style.height=n+"px",this._documentRef.getElementById("outerContainer").style.width=r+"px",n=parseInt(this._documentRef.getElementById("image").style.height,10)/1.5,r=parseInt(this._documentRef.getElementById("image").style.width,10)/1.5,this._documentRef.getElementById("image").style.height=n+"px",this._documentRef.getElementById("image").style.width=r+"px",this._lightboxEvent.broadcastLightboxEvent({id:Gt.ZOOM_OUT,data:null})):i.target.classList.contains("lb-zoomIn")&&(n=parseInt(this._documentRef.getElementById("outerContainer").style.height,10)*1.5,r=parseInt(this._documentRef.getElementById("outerContainer").style.width,10)*1.5,this._documentRef.getElementById("outerContainer").style.height=n+"px",this._documentRef.getElementById("outerContainer").style.width=r+"px",n=parseInt(this._documentRef.getElementById("image").style.height,10)*1.5,r=parseInt(this._documentRef.getElementById("image").style.width,10)*1.5,this._documentRef.getElementById("image").style.height=n+"px",this._documentRef.getElementById("image").style.width=r+"px",this._lightboxEvent.broadcastLightboxEvent({id:Gt.ZOOM_IN,data:null}))}_rotateContainer(){let i=this.rotate;i<0&&(i*=-1),i/90%4===1||i/90%4===3?(this._documentRef.getElementById("outerContainer").style.height=this._documentRef.getElementById("image").style.width,this._documentRef.getElementById("outerContainer").style.width=this._documentRef.getElementById("image").style.height,this._documentRef.getElementById("container").style.height=this._documentRef.getElementById("image").style.width,this._documentRef.getElementById("container").style.width=this._documentRef.getElementById("image").style.height):(this._documentRef.getElementById("outerContainer").style.height=this._documentRef.getElementById("image").style.height,this._documentRef.getElementById("outerContainer").style.width=this._documentRef.getElementById("image").style.width,this._documentRef.getElementById("container").style.height=this._documentRef.getElementById("image").style.width,this._documentRef.getElementById("container").style.width=this._documentRef.getElementById("image").style.height)}_resetImage(){this.rotate=0,this._documentRef.getElementById("image").style.transform=`rotate(${this.rotate}deg)`,this._documentRef.getElementById("image").style.webkitTransform=`rotate(${this.rotate}deg)`}_calcTransformPoint(){let i=parseInt(this._documentRef.getElementById("image").style.height,10),n=parseInt(this._documentRef.getElementById("image").style.width,10),r=this.rotate%360;r<0&&(r=360+r),r===90?this._documentRef.getElementById("image").style.transformOrigin=i/2+"px "+i/2+"px":r===180?this._documentRef.getElementById("image").style.transformOrigin=n/2+"px "+i/2+"px":r===270&&(this._documentRef.getElementById("image").style.transformOrigin=n/2+"px "+n/2+"px")}nextImage(){this.album.length!==1&&(this.currentImageIndex===this.album.length-1?this._changeImage(0):this._changeImage(this.currentImageIndex+1))}prevImage(){this.album.length!==1&&(this.currentImageIndex===0&&this.album.length>1?this._changeImage(this.album.length-1):this._changeImage(this.currentImageIndex-1))}_validateInputData(){if(this.album&&this.album instanceof Array&&this.album.length>0){for(let i=0;i<this.album.length;i++)if(!this.album[i].src)throw new Error("One of the album data does not have source data")}else throw new Error("No album data or album data is not correct in type");if(isNaN(this.currentImageIndex))throw new Error("Current image index is not a number");return this.currentImageIndex=Number(this.currentImageIndex),!0}_registerImageLoadingEvent(){let i=new Image;i.onload=()=>{this._onLoadImageSuccess()};let n=this.album[this.currentImageIndex].src;i.src=this._sanitizer.sanitize(Ut.URL,n)}_onLoadImageSuccess(){this.options.disableKeyboardNav||this._disableKeyboardNav();let i,n,r,o,a,s,l,d;
9n=l=this._imageElem.nativeElement.naturalWidth,i=d=this._imageElem.nativeElement.naturalHeight,this.options.fitImageInViewPort&&(s=this._windowRef.innerWidth,a=this._windowRef.innerHeight,o=s-this._cssValue.containerLeftPadding-this._cssValue.containerRightPadding-this._cssValue.imageBorderWidthLeft-this._cssValue.imageBorderWidthRight-20,r=a-this._cssValue.containerTopPadding-this._cssValue.containerTopPadding-this._cssValue.imageBorderWidthTop-this._cssValue.imageBorderWidthBottom-120,(l>o||d>r)&&(l/o>d/r?(n=o,i=Math.round(d/(l/n))):(i=r,n=Math.round(l/(d/i)))),this._rendererRef.setStyle(this._imageElem.nativeElement,"width",`${n}px`),this._rendererRef.setStyle(this._imageElem.nativeElement,"height",`${i}px`)),this._sizeContainer(n,i),this.options.centerVertically&&this._centerVertically(n,i)}_centerVertically(i,n){let r=this._documentRef.documentElement.scrollTop,a=this._windowRef.innerHeight/2-n/2,s=r+a;this._rendererRef.setStyle(this._lightboxElem.nativeElement,"top",`${s}px`)}_sizeContainer(i,n){let r=this._outerContainerElem.nativeElement.offsetWidth,o=this._outerContainerElem.nativeElement.offsetHeight,a=i+this._cssValue.containerRightPadding+this._cssValue.containerLeftPadding+this._cssValue.imageBorderWidthLeft+this._cssValue.imageBorderWidthRight,s=n+this._cssValue.containerTopPadding+this._cssValue.containerBottomPadding+this._cssValue.imageBorderWidthTop+this._cssValue.imageBorderWidthBottom;Math.abs(r-a)+Math.abs(o-s)>5?(this._rendererRef.setStyle(this._outerContainerElem.nativeElement,"width",`${a}px`),this._rendererRef.setStyle(this._outerContainerElem.nativeElement,"height",`${s}px`),this.options.enableTransition?(this._event.transitions=[],["transitionend","webkitTransitionEnd","oTransitionEnd","MSTransitionEnd"].forEach(l=>{this._event.transitions.push(this._rendererRef.listen(this._outerContainerElem.nativeElement,l,d=>{d.target===d.currentTarget&&this._postResize(a,s)}))})):this._postResize(a,s)):this._postResize(a,s)}_postResize(i,n){Array.isArray(this._event.transitions)&&(this._event.transitions.forEach(r=>{r()}),this._event.transitions=[]),this._rendererRef.setStyle(this._dataContainerElem.nativeElement,"width",`${i}px`),this._showImage()}_showImage(){this.ui.showReloader=!1,this._updateNav(),this._updateDetails(),this.options.disableKeyboardNav||this._enableKeyboardNav()}_prepareComponent(){this._addCssAnimation(),this._positionLightBox(),setTimeout(()=>{this.ui.showZoomButton=this.options.showZoom,this.ui.showRotateButton=this.options.showRotate,this.ui.showDownloadButton=this.options.showDownloadButton},0)}_positionLightBox(){let i=(this._windowRef.pageYOffset||this._documentRef.documentElement.scrollTop)+this.options.positionFromTop,n=this._windowRef.pageXOffset||this._documentRef.documentElement.scrollLeft;this.options.centerVertically||this._rendererRef.setStyle(this._lightboxElem.nativeElement,"top",`${i}px`),this._rendererRef.setStyle(this._lightboxElem.nativeElement,"left",`${n}px`),this._rendererRef.setStyle(this._lightboxElem.nativeElement,"display","block"),this.options.disableScrolling&&this._rendererRef.addClass(this._documentRef.documentElement,"lb-disable-scrolling")}_addCssAnimation(){let i=this.options.resizeDuration,n=this.options.fadeDuration;this._rendererRef.setStyle(this._lightboxElem.nativeElement,"-webkit-animation-duration",`${n}s`),this._rendererRef.setStyle(this._lightboxElem.nativeElement,"animation-duration",`${n}s`),this._rendererRef.setStyle(this._outerContainerElem.nativeElement,"-webkit-transition-duration",`${i}s`),this._rendererRef.setStyle(this._outerContainerElem.nativeElement,"transition-duration",`${i}s`),this._rendererRef.setStyle(this._dataContainerElem.nativeElement,"-webkit-animation-duration",`${n}s`),this._rendererRef.setStyle(this._dataContainerElem.nativeElement,"animation-duration",`${n}s`),this._rendererRef.setStyle(this._imageElem.nativeElement,"-webkit-animation-duration",`${n}s`),this._rendererRef.setStyle(this._imageElem.nativeElement,"animation-duration",`${n}s`),this._rendererRef.setStyle(this._captionElem.nativeElement,"-webkit-animation-duration",`${n}s`),this._rendererRef.setStyle(this._captionElem.nativeElement,"animation-duration",`${n}s`),this._rendererRef.setStyle(this._numberElem.nativeElement,"-webkit-animation-duration",`${n}s`),this._rendererRef.setStyle(this._numberElem.nativeElement,"animation-duration",`${n}s`)}_end(){this.ui.classList="lightbox animation fadeOut",this.options.disableScrolling&&this._rendererRef.removeClass(this._documentRef.documentElement,"lb-disable-scrolling"),setTimeout(()=>{this.cmpRef.destroy()},this.options.fadeDuration*1e3)}
9_updateDetails(){typeof this.album[this.currentImageIndex].caption<"u"&&this.album[this.currentImageIndex].caption!==""&&(this.ui.showCaption=!0),this.album.length>1&&this.options.showImageNumberLabel&&(this.ui.showPageNumber=!0,this.content.pageNumber=this._albumLabel())}_albumLabel(){return this.options.albumLabel.replace(/%1/g,Number(this.currentImageIndex+1)).replace(/%2/g,this.album.length)}_changeImage(i){this._resetImage(),this.currentImageIndex=i,this._hideImage(),this._registerImageLoadingEvent(),this._lightboxEvent.broadcastLightboxEvent({id:Gt.CHANGE_PAGE,data:i})}_hideImage(){this.ui.showReloader=!0,this.ui.showArrowNav=!1,this.ui.showLeftArrow=!1,this.ui.showRightArrow=!1,this.ui.showPageNumber=!1,this.ui.showCaption=!1}_updateNav(){let i=!1;try{this._documentRef.createEvent("TouchEvent"),i=!!this.options.alwaysShowNavOnTouchDevices}catch{}this._showArrowNav(),this.album.length>1&&(this.options.wrapAround?(i&&(this._rendererRef.setStyle(this._leftArrowElem.nativeElement,"opacity","1"),this._rendererRef.setStyle(this._rightArrowElem.nativeElement,"opacity","1")),this._showLeftArrowNav(),this._showRightArrowNav()):(this.currentImageIndex>0&&(this._showLeftArrowNav(),i&&this._rendererRef.setStyle(this._leftArrowElem.nativeElement,"opacity","1")),this.currentImageIndex<this.album.length-1&&(this._showRightArrowNav(),i&&this._rendererRef.setStyle(this._rightArrowElem.nativeElement,"opacity","1"))))}_showLeftArrowNav(){this.ui.showLeftArrow=!0}_showRightArrowNav(){this.ui.showRightArrow=!0}_showArrowNav(){this.ui.showArrowNav=this.album.length!==1}_enableKeyboardNav(){this._event.keyup=this._rendererRef.listen("document","keyup",i=>{this._keyboardAction(i)})}_disableKeyboardNav(){this._event.keyup&&this._event.keyup()}_keyboardAction(i){let a=i.keyCode,s=String.fromCharCode(a).toLowerCase();a===27||s.match(/x|o|c/)?this._lightboxEvent.broadcastLightboxEvent({id:Gt.CLOSE,data:null}):s==="p"||a===37?this.currentImageIndex!==0?this._changeImage(this.currentImageIndex-1):this.options.wrapAround&&this.album.length>1&&this._changeImage(this.album.length-1):(s==="n"||a===39)&&(this.currentImageIndex!==this.album.length-1?this._changeImage(this.currentImageIndex+1):this.options.wrapAround&&this.album.length>1&&this._changeImage(0))}_getCssStyleValue(i,n){return parseFloat(this._windowRef.getComputedStyle(i.nativeElement,null).getPropertyValue(n))}_onReceivedEvent(i){switch(i.id){case Gt.CLOSE:this._end();break;default:break}}}return t.\u0275fac=function(i){return new(i||t)(m($e),m(At),m(zi),m($e),m(Vd),m(KM),m(Et),m(Ze))},t.\u0275cmp=T({type:t,selectors:[["","lb-content",""]],viewQuery:function(i,n){if(i&1&&(wt(UR,5),wt(HR,5),wt(zR,5),wt($R,5),wt(GR,5),wt(qR,5),wt(WR,5),wt(KR,5),wt(YR,5)),i&2){let r;dt(r=ut())&&(n._outerContainerElem=r.first),dt(r=ut())&&(n._containerElem=r.first),dt(r=ut())&&(n._leftArrowElem=r.first),dt(r=ut())&&(n._rightArrowElem=r.first),dt(r=ut())&&(n._navArrowElem=r.first),dt(r=ut())&&(n._dataContainerElem=r.first),dt(r=ut())&&(n._imageElem=r.first),dt(r=ut())&&(n._captionElem=r.first),dt(r=ut())&&(n._numberElem=r.first)}},hostVars:2,hostBindings:function(i,n){i&1&&B("click",function(o){return n.close(o)}),i&2&&xc(n.ui.classList)},inputs:{album:"album",currentImageIndex:"currentImageIndex",options:"options",cmpRef:"cmpRef"},attrs:QR,decls:34,vars:14,consts:[["id","outerContainer",1,"lb-outerContainer","transition"],["outerContainer",""],["id","container",1,"lb-container"],["container",""],["id","image",1,"lb-image","animation","fadeIn",3,"src","hidden"],["image",""],[1,"lb-nav",3,"hidden"],["navArrow",""],[1,"lb-prev",3,"hidden","click"],["leftArrow",""],[1,"lb-next",3,"hidden","click"],["rightArrow",""],[1,"lb-loader",3,"hidden","click"],[1,"lb-cancel"],[1,"lb-dataContainer",3,"hidden"],["dataContainer",""],[1,"lb-data"],[1,"lb-details"],[1,"lb-caption","animation","fadeIn",3,"hidden","innerHtml"],["caption",""],[1,"lb-number","animation","fadeIn",3,"hidden"],["number",""],[1,"lb-controlContainer"],[1,"lb-closeContainer"],[1,"lb-close",3,"click"],[1,"lb-downloadContainer",3,"hidden"],[1,"lb-download",3,"click"],[1,"lb-turnContainer",3,"hidden"],[1,"lb-turnLeft",3,"click"],[1,"lb-turnRight",3,"click"],[1,"lb-zoomContainer",3,"hidden"],[1,"lb-zoomOut",3,"click"],[1,"lb-zoomIn",3,"click"]],template:function(i,n){i&1&&(p(0,"div",0,1)(2,"div",2,3),g(4,"img",4,5),p(6,"div",6,7)(8,"a",8,9),B("click",function(){return n.prevImage()}),u(),p(10,"a",10,11),B("click",function(){return n.nextImage()}),u()(),p(12,"div",12),B("click",function(o){return n.close(o)}),g(13,"a",13),u()()(),p(14,"div",14,15)(16,"div",16)(17,"div",17),g(18,"span",18,19),p(20,"span",20,21),b(22),u()(),p(23,"div",22)(24,"div",23)(25,"a",24),B("click",function(o){return n.close(o)}),u()(),p(26,"div",25)(27,"a",26),B("click",function(o){return n.download(o)}
9),u()(),p(28,"div",27)(29,"a",28),B("click",function(o){return n.control(o)}),u(),p(30,"a",29),B("click",function(o){return n.control(o)}),u()(),p(31,"div",30)(32,"a",31),B("click",function(o){return n.control(o)}),u(),p(33,"a",32),B("click",function(o){return n.control(o)}),u()()()()()),i&2&&(c(4),f("src",n.album[n.currentImageIndex].src,L)("hidden",n.ui.showReloader),c(2),f("hidden",!n.ui.showArrowNav),c(2),f("hidden",!n.ui.showLeftArrow),c(2),f("hidden",!n.ui.showRightArrow),c(2),f("hidden",!n.ui.showReloader),c(2),f("hidden",n.ui.showReloader),c(4),f("hidden",!n.ui.showCaption)("innerHtml",n.album[n.currentImageIndex].caption,J),c(2),f("hidden",!n.ui.showPageNumber),c(2),$(n.content.pageNumber),c(4),f("hidden",!n.ui.showDownloadButton),c(2),f("hidden",!n.ui.showRotateButton),c(3),f("hidden",!n.ui.showZoomButton))},encapsulation:2}),t})();var Os=(()=>{class t{constructor(){this.fadeDuration=.7,this.resizeDuration=.5,this.fitImageInViewPort=!0,this.positionFromTop=20,this.showImageNumberLabel=!1,this.alwaysShowNavOnTouchDevices=!1,this.wrapAround=!1,this.disableKeyboardNav=!1,this.disableScrolling=!1,this.centerVertically=!1,this.enableTransition=!0,this.albumLabel="Image %1 of %2",this.showZoom=!1,this.showRotate=!1,this.containerElementResolver=i=>i.querySelector("body")}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();var XR=["lb-overlay",""],ZM=(()=>{class t{constructor(i,n,r,o){this._elemRef=i,this._rendererRef=n,this._lightboxEvent=r,this._documentRef=o,this.classList="lightboxOverlay animation fadeInOverlay",this._subscription=this._lightboxEvent.lightboxEvent$.subscribe(a=>this._onReceivedEvent(a))}close(){this._lightboxEvent.broadcastLightboxEvent({id:Gt.CLOSE,data:null})}ngAfterViewInit(){let i=this.options.fadeDuration;this._rendererRef.setStyle(this._elemRef.nativeElement,"-webkit-animation-duration",`${i}s`),this._rendererRef.setStyle(this._elemRef.nativeElement,"animation-duration",`${i}s`),this._sizeOverlay()}onResize(){this._sizeOverlay()}ngOnDestroy(){this._subscription.unsubscribe()}_sizeOverlay(){let i=this._getOverlayWidth(),n=this._getOverlayHeight();this._rendererRef.setStyle(this._elemRef.nativeElement,"width",`${i}px`),this._rendererRef.setStyle(this._elemRef.nativeElement,"height",`${n}px`)}_onReceivedEvent(i){switch(i.id){case Gt.CLOSE:this._end();break;default:break}}_end(){this.classList="lightboxOverlay animation fadeOutOverlay",setTimeout(()=>{this.cmpRef.destroy()},this.options.fadeDuration*1e3)}_getOverlayWidth(){return Math.max(this._documentRef.body.scrollWidth,this._documentRef.body.offsetWidth,this._documentRef.documentElement.clientWidth,this._documentRef.documentElement.scrollWidth,this._documentRef.documentElement.offsetWidth)}_getOverlayHeight(){return Math.max(this._documentRef.body.scrollHeight,this._documentRef.body.offsetHeight,this._documentRef.documentElement.clientHeight,this._documentRef.documentElement.scrollHeight,this._documentRef.documentElement.offsetHeight)}}return t.\u0275fac=function(i){return new(i||t)(m($e),m(At),m(zi),m(Ze))},t.\u0275cmp=T({type:t,selectors:[["","lb-overlay",""]],hostVars:2,hostBindings:function(i,n){i&1&&B("click",function(){return n.close()})("resize",function(){return n.onResize()},!1,dc),i&2&&xc(n.classList)},inputs:{options:"options",cmpRef:"cmpRef"},attrs:XR,decls:0,vars:0,template:function(i,n){},encapsulation:2}),t})();var Lt=(()=>{class t{constructor(i,n,r,o,a,s){this._componentFactoryResolver=i,this._injector=n,this._applicationRef=r,this._lightboxConfig=o,this._lightboxEvent=a,this._documentRef=s}open(i,n=0,r={}){let o=this._createComponent(ZM),a=this._createComponent(QM),s={};this._lightboxEvent.broadcastLightboxEvent({id:Gt.OPEN}),Object.assign(s,this._lightboxConfig,r),a.instance.album=i,a.instance.currentImageIndex=n,a.instance.options=s,a.instance.cmpRef=a,o.instance.options=s,o.instance.cmpRef=o,setTimeout(()=>{this._applicationRef.attachView(o.hostView),this._applicationRef.attachView(a.hostView),o.onDestroy(()=>{this._applicationRef.detachView(o.hostView)}),a.onDestroy(()=>{this._applicationRef.detachView(a.hostView)});let l=s.containerElementResolver(this._documentRef);l.appendChild(o.location.nativeElement),l.appendChild(a.location.nativeElement)})}close(){this._lightboxEvent&&this._lightboxEvent.broadcastLightboxEvent({id:Gt.CLOSE})}_createComponent(i){return this._componentFactoryResolver.resolve
9ComponentFactory(i).create(this._injector)}}return t.\u0275fac=function(i){return new(i||t)(x(Ao),x(Xn),x(vi),x(Os),x(zi),x(Ze))},t.\u0275prov=P({token:t,factory:t.\u0275fac}),t})();var on=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=vt({type:t}),t.\u0275inj=yt({providers:[Lt,Os,zi,Vd],imports:[YM]}),t})();var JR=["masonryContainer"];function e4(t,e){if(t&1){let i=ne();p(0,"div",3),B("click",function(){let r=Q(i).index,o=C();return Z(o.open(r))}),p(1,"img",4),B("load",function(){Q(i);let r=C();return Z(r.layoutMasonry())}),u(),p(2,"p",5),b(3),u()()}if(t&2){let i=e.$implicit;c(),f("src",i.thumb,L),c(2),$(i.title)}}var Ud=(()=>{let e=class e{constructor(n){this.lightbox=n,this.masonryItems=[]}ngAfterViewInit(){setTimeout(()=>{this.layoutMasonry()},2e3)}layoutMasonry(){this.isBrowser()&&import("./chunk-AOCLFZKG.js").then(n=>{let r=n.default;this.masonryInstance=new r(this.masonryContainer.nativeElement,{itemSelector:".masonry-item",columnWidth:".masonry-item",percentPosition:!0}),this.masonryInstance.layout()})}open(n){this.lightbox.open(this.masonryItems,n)}close(){this.lightbox.close()}isBrowser(){return typeof window<"u"}};e.\u0275fac=function(r){return new(r||e)(m(Lt))},e.\u0275cmp=T({type:e,selectors:[["app-gallery"]],viewQuery:function(r,o){if(r&1&&wt(JR,5),r&2){let a;dt(a=ut())&&(o.masonryContainer=a.first)}},inputs:{masonryItems:"masonryItems"},standalone:!0,features:[k],decls:3,vars:1,consts:[["masonryContainer",""],[1,"masonry-container"],["class","masonry-item",3,"click",4,"ngFor","ngForOf"],[1,"masonry-item",3,"click"],["alt","",3,"load","src"],[1,"title"]],template:function(r,o){r&1&&(p(0,"div",1,0),O(2,e4,4,2,"div",2),u()),r&2&&(c(2),f("ngForOf",o.masonryItems))},dependencies:[Ye,rn,on],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.masonry-container[_ngcontent-%COMP%]{display:block}.masonry-item[_ngcontent-%COMP%]{width:33.3333333333%;padding:0 12px;margin-bottom:24px;cursor:pointer}.masonry-image[_ngcontent-%COMP%]{width:100%;display:block;height:auto}.title[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:.875rem;line-height:1.3125rem;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}  .lb-caption{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-01)!important;font-size:.875rem!important;line-height:1.3125rem!important;padding-top:16px!important}  .lightbox{top:50%!important;left:50%!important;display:flex!important;position:fixed!important;align-items:center!important;flex-direction:column-reverse!important;justify-content:center!important;transform:translate(-50%,-50%)!important}@media (max-width: 1050px){.masonry-item[_ngcontent-%COMP%]{width:50%}}@media (max-width: 600px){.masonry-item[_ngcontent-%COMP%]{width:100%}}']});let t=e;return t})();var Hd=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("imprensa","")}listReleases(n){return this.baseService.methodGet(`imprensa/releases?page=${n}`,"")}listImages(n){return this.baseService.methodGet(`imprensa/imagens?page=${n}`,"")}listInternal(n){return this.baseService.methodGet("imprensa/releases",n)}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function t4(t,e){if(t&1&&(p(0,"li"),g(1,"img",10),p(2,"a",11),b(3),u()()),t&2){let i=C(2);c(2),f("href",i.about.file==null?null:i.about.file.full_path,L)("title",i.about==null||i.about.file==null?null:i.about.file.name),c(),I(" ",i.about.file==null?null:i.about.file.name," ")}}function n4(t,e){if(t&1&&(p(0,"ul",9),O(1,t4,4,3,"li"),u()),t&2){let i=C();F("skeleton-img",!i.about.file),c(),w(1,i.about.file?1:-1)}}function i4(t,e){if(t&1&&(p(0,"li"),b(1),p(2,"a",11),b(3),u()()),t&2){let i=e.$implicit;c(),dn(" ",i==null?null:i.name,"",i.phone?"-"+i.phone:""," - "),c(),f("href","mailto:"+(i==null?null:i.email),L)("title",i==null?null:i.email),c(),I(" ",i==null?null:i.email," ")}}function r4(t,e){if(t&1&&(p(0,"li")(1,"a",12)(2,"span",13),b(3),u(),p(4,"p"),b(5),u()()()),t&2){let i=e.$implicit;c(),f("routerLink",i.slug)("title",i.title),c(2),I(" ",i.date==null?null:i.date.formatted," "),c(2),I(" ",i.title," ")}}function o4(t,e){if(t&1){let i=ne();p(0,"div",8)(1,"app-button",14),y(2,"translate"),B("handleClick",function(){Q(i);let r=C();return Z(r.onGetReleases())}
9),u()()}t&2&&(c(),f("label",v(2,1,"LABEL-BTN-SEE-MORE")))}function a4(t,e){if(t&1){let i=ne();p(0,"div",8)(1,"app-button",14),y(2,"translate"),B("handleClick",function(){Q(i);let r=C(2);return Z(r.onGetImages())}),u()()}t&2&&(c(),f("label",v(2,1,"LABEL-BTN-SEE-MORE")))}function s4(t,e){if(t&1&&(g(0,"app-title-section",6),y(1,"translate"),g(2,"app-gallery",15),O(3,a4,3,3,"div",8)),t&2){let i=C();f("size","small")("title",v(1,4,"COFFEE-MUSEUM.PRESS.TITLE-IMAGENS")),c(2),f("masonryItems",i.listImages),c(),w(3,(i.InfoImages==null?null:i.InfoImages.current_page)<(i.InfoImages==null?null:i.InfoImages.last_page)?3:-1)}}var zd=(()=>{let e=class e{constructor(n,r,o,a){this.service=n,this.loading=r,this.footerService=o,this.metaTags=a,this.current_page=1,this.current_page_images=1,this.about={description:{description:""},file:null,contacts:[]},this.listRealises=[],this.listImages=[],this.InfoImages={}}ngOnInit(){this.onGet(),this.onGetReleases(),this.onGetImages()}onGet(){this.service.list().subscribe(n=>{this.about=n.press,this.loading.close(),this.metaTags.updateMetaTag({title:n.press.tag_title,de
9scription:n.press.tag_description})},n=>{})}onGetReleases(){this.loading.open(),this.service.listReleases(this.current_page).subscribe(n=>{this.realises=n.releases,this.current_page=this.realises.current_page+1,this.listRealises&&this.listRealises.length>0?this.listRealises=[...this.listRealises,...n.releases.data]:this.listRealises=n.releases.data,this.loading.close()})}onGetImages(){this.loading.open(),this.service.listImages(this.current_page_images).subscribe(n=>{this.InfoImages=n.images,this.current_page_images=this.InfoImages.current_page+1,this.listImages&&this.listImages.length>0?(this.listImages=[...this.listImages],n.images.data.forEach(r=>{this.listImages.push({src:r.high_image.full_path,thumb:r.image.full_path,caption:r.title,title:r.title})})):n.images.data.forEach(r=>{this.listImages.push({src:r.high_image.full_path,thumb:r.image.full_path,caption:r.title,title:r.title})}),this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(Hd),m(U),m(ae),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-press"]],standalone:!0,features:[k],decls:22,vars:18,consts:[[3,"title"],[3,"title","listOptions"],[1,"box-text"],[1,"list-file",3,"skeleton-img"],[1,"box-contact"],[1,"list-contact"],[3,"size","title"],[1,"list-releases"],[1,"row-btn"],[1,"list-file"],["src","assets/img/icons/icon-pdf.svg","alt","\xCDcone PDF"],["target","_blank",3,"href","title"],["target","_self",3,"routerLink","title"],[1,"date"],["type","tertiary",3,"handleClick","label"],[3,"masonryItems"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section")(4,"div",2)(5,"article"),b(6),u()(),O(7,n4,2,3,"ul",3),p(8,"div",4)(9,"h3"),b(10),y(11,"translate"),u(),p(12,"ul",5),A(13,i4,4,5,"li",null,j),u()()(),g(15,"app-title-section",6),y(16,"translate"),p(17,"ul",7),A(18,r4,6,4,"li",null,j),u(),O(20,o4,3,3,"div",8)(21,s4,4,6),u()),r&2&&(f("title",v(1,12,"COFFEE-MUSEUM.PRESS.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(3),F("skeleton-img",!o.about.description),c(),I(" ",o.about.description.description," "),c(),w(7,o.about.file?7:-1),c(3),I(" ",v(11,14,"COFFEE-MUSEUM.PRESS.PRESS-OFFICE")," "),c(3),N(o.about==null?null:o.about.contacts),c(2),f("size","small")("title",v(16,16,"COFFEE-MUSEUM.PRESS.SUB-TITLE")),c(3),N(o.listRealises),c(2),w(20,(o.realises==null?null:o.realises.current_page)<(o.realises==null?null:o.realises.last_page)?20:-1),c(),w(21,o.listImages.length>0?21:-1))},dependencies:[X,V,z,oe,tt,ce,Ht,fe,Ud,Ye],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.box-text[_ngcontent-%COMP%]{margin-bottom:24px}.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-06)}.list-file[_ngcontent-%COMP%]{padding-left:0!important;margin-bottom:24px}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:8px}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem;border-bottom:1px solid var(--gray-05);text-decoration:none}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:0}.box-contact[_ngcontent-%COMP%]{padding:24px;background-color:var(--gray-02);border-radius:8px;margin-bottom:40px}.box-contact[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.25rem;line-height:24px;color:var(--orange);margin-bottom:16px}.box-contact[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none}.box-contact[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-06);margin-bottom:8px}.box-contact[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--gray-06);text-decoration:underline}.list-releases[_ngcontent-%COMP%]{list-style:none}.list-releases[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:24px 0;border-bottom:1px solid var(--gray-03)}.list-releases[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer}.list-releases[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:.875rem;line-height:21px;color:var(--gray-06)}.list-releases[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.25rem;line-height:24px;color:var(--gray-06)}.list-releases[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{border-bottom:none}.list-releases[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--orange)}.row-btn[_ngcontent-%COMP%]{margin:0 auto 40px;text-align:center;display:flex;justify-content:center}.wrapper-img[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:24px}.wrapper-img[_ngcontent-%COMP%]   .card-img[_ngcontent-%COMP%]{width:calc(33.3333333333% - 16px)}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]   article[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}}']});let t=e;return t})();function l4(t,e){if(t&1&&(p(0,"li"),g(1,"img",4),p(2,"a",5),b(3),u()()),t&2){let i=C();c(2),f("href",i.file==null?null:i.file.full_path,L)("title",i.file==null?null:i.file.name),c(),I(" ",i.file==null?null:i.file.name," ")}}var $d=(()=>{let e=class e{constructor(n,r,o,a,s,l){this.languageService=n,this.service=r,this.loading=o,this.footerService=a,this.route=s,this.metaTags=l,this.slug="",this.html="",this.file=null,this.title=""}ngOnInit(){this.route.params.subscribe(n=>{this.slug=n.id}),this.onGet()}onGet(){this.service.listInternal(this.slug).subscribe(n=>{this.html=n.release?.description?.description,this.file=n.release?.file,this.title=n.release?.title,this.metaTags.updateMetaTag({title:n.release?.title,de
9scription:n.release?.description?.description_limit}),this.loading.close()},n=>{console.error("Error:",n)})}};e.\u0275fac=function(r){return new(r||e)(m(We),m(Hd),m(U),m(ae),m(ke),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-press-internal"]],standalone:!0,features:[k],decls:8,vars:12,consts:[[3,"title"],[3,"title","listOptions"],[1,"box-text",3,"innerHTML"],[1,"list-file"],["src","assets/img/icons/icon-pdf.svg","alt","\xCDcone PDF"],["target","_blank",3,"href","title"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section"),g(4,"app-title-section",0)(5,"div",2),p(6,"ul",3),O(7,l4,4,3,"li"),u()()()),r&2&&(f("title",v(1,10,"COFFEE-MUSEUM.PRESS.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(2),f("title",o.title),c(),F("skeleton-img",!o.html),f("innerHTML",o.html,J),c(),F("skeleton-img",!o.file),c(),w(7,o.file?7:-1))},dependencies:[X,oe,V,z,ce],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.box-text[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.list-file[_ngcontent-%COMP%]{padding-left:0!important;margin:24px 0}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:8px}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem;border-bottom:1px solid var(--gray-05);text-decoration:none}.list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:0}']});let t=e;return t})();var JM=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("institucional/quem-somos","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function d4(t,e){if(t&1&&(p(0,"p",7),b(1),u()),t&2){let i=C().$implicit;c(),$(i.short_description)}}function u4(t,e){if(t&1&&(p(0,"p",8),b(1),u()),t&2){let i=C().$implicit;c(),$(i.title)}}function p4(t,e){if(t&1&&(p(0,"li"),O(1,d4,2,1,"p",7)(2,u4,2,1,"p",8),u()),t&2){let i=e.$implicit;c(),w(1,i.short_description?1:-1),c(),w(2,i.title?2:-1)}}function f4(t,e){if(t&1&&(p(0,"div",3)(1,"div",4)(2,"p",5),b(3),u()(),p(4,"ul",6),A(5,p4,3,2,"li",null,j),u()()),t&2){let i=e.$implicit;c(3),$(i.title),c(2),N(i.items)}}function h4(t,e){if(t&1&&(p(0,"app-accordion",2),A(1,f4,7,1,"div",3,j),u()),t&2){let i=e.$implicit,n=e.$index;f("title",i.title)("active",n===0),c(),N(i.groups)}}var Gd=(()=>{let e=class e{constructor(n,r,o,a){this.footerService=n,this.loading=r,this.service=o,this.metaTags=a,this.entities=[]}ngOnInit(){this.onGet()}onGet(){this.service.list().subscribe(n=>{this.entities=n.entities,this.metaTags.updateMetaTag({title:n.pageDescription.tag_title,de
9scription:n.pageDescription.tag_description}),this.loading.close()},n=>{this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(ae),m(U),m(JM),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-who-we-are"]],standalone:!0,features:[k],decls:5,vars:5,consts:[[3,"title"],[3,"title","listOptions"],[3,"title","active"],[1,"wrapper"],[1,"coll-50"],[1,"title"],[1,"coll-50","list"],[1,"position"],[1,"name"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1),A(3,h4,3,2,"app-accordion",2,j),u()),r&2&&(f("title",v(1,3,"COFFEE-MUSEUM.WHO-WE-ARE.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(),N(o.entities))},dependencies:[X,oe,V,z,fn],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.wrapper[_ngcontent-%COMP%]{display:flex;width:100%;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:16px}.wrapper[_ngcontent-%COMP%]   .coll-50[_ngcontent-%COMP%]{width:calc(50% - 24px)}.wrapper[_ngcontent-%COMP%]   .coll-50[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:bold;font-weight:700;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.wrapper[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{list-style-position:center}.wrapper[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{position:relative;list-style:none;margin-bottom:8px}.wrapper[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:.875rem;line-height:1.3125rem;margin-bottom:0}.wrapper[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   .position[_ngcontent-%COMP%]{font-family:bold;font-weight:700;font-style:normal}.wrapper[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{content:"";width:8px;height:8px;background-color:#f5780f;border-radius:50%;position:absolute;left:-17px;top:50%;transform:translateY(-50%)}@media (max-width: 600px){.wrapper[_ngcontent-%COMP%]{flex-direction:column;gap:8px;margin-bottom:24px}.wrapper[_ngcontent-%COMP%]   .coll-50[_ngcontent-%COMP%]{width:100%}}']});let t=e;return t})();var qd=(()=>{let e=class e{constructor(n){this.baseService=n}listBlog(n,r){return this.baseService.methodGet(`blog${n?`/${n}`:""}?page=${r}`,"")}blog(n){return this.baseService.methodGet("blog",n)}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function g4(t,e){if(t&1&&g(0,"app-card",3),t&2){let i=e.$implicit;f("typeCard","blue")("isSizeFull",!0)("propsCard",i)}}function m4(t,e){if(t&1){let i=ne();p(0,"div",4)(1,"app-button",5),y(2,"translate"),B("handleClick",function(){Q(i);let r=C();return Z(r.onGet())}),u()()}t&2&&(c(),f("label",v(2,1,"LABEL-BTN-SEE-MORE")))}var Qr=(()=>{let e=class e{constructor(n,r,o,a,s,l){this.loading=n,this.translate=r,this.service=o,this.route=a,this.router=s,this.metaTags=l,this.listAside={},this.listCards=[],this.slugCategory="",this.current_page=1,this.propsPage={},this.metaTags.updateMetaTag({title:"Blog",description:this.translate.instant("COLLECTION-AND-RESEARCH.BLOG.TAG_DESCRIPTION")})}ngOnInit(){this.route.params.subscribe(n=>{this.slugCategory=n.category||""}),this.loadTranslations()}loadTranslations(){this.translate.get("MENU-FOOTER.COLLECTION-AND-RESEARCH").subscribe(n=>{this.listAside=n,this.onGet()})}onGet(){this.loading.open(),this.service.listBlog(this.slugCategory,this.current_page).subscribe(n=>{let{articles:r,categories:o}=n;this.propsPage=r,this.current_page=r.current_page+1,this.listAside?.OPTIONS&&this.listAside.OPTIONS&&(this.listAside.OPTIONS[2].OPTIONS=[],this.listAside.OPTIONS[2].OPTIONS.push({NAME:"Todas as categorias",LINK:""})),o.forEach(a=>{this.listAside.OPTIONS[2].OPTIONS.push({NAME:a.title,LINK:"/"+a.slug})}),this.listCards&&this.listCards.length>0?(this.listCards=[...this.listCards],r.data.forEach(a=>{this.listCards.push({srcImg:a.image?.full_path,altImg:a.alt_image,category:a.category?.title,title:a.title,de
9scription:a.short_description?.description,date:a.date.formatted,link:a.category?.slug+"/"+a.slug,isTarget:!1,disabled:!1})})):(this.listCards=[],r.data.forEach(a=>{this.listCards.push({srcImg:a.image?.full_path,altImg:a.alt_image,category:a.category?.title,title:a.title,description:a.short_description?.description,date:a.date.formatted,link:this.slugCategory?a.slug:a.category?.slug+"/"+a.slug,isTarget:!1,disabled:!1})})),this.loading.close()},n=>{this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ee),m(qd),m(ke),m(pt),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-blog"]],standalone:!0,features:[k],decls:8,vars:6,consts:[[3,"title"],[3,"title","listOptions"],[1,"wrapper"],[3,"typeCard","isSizeFull","propsCard"],[1,"row-btn"],["type","tertiary",3,"handleClick","label"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section")(4,"div",2),A(5,g4,1,3,"app-card",3,j),u(),O(7,m4,3,3,"div",4),u()()),r&2&&(f("title",v(1,4,"COLLECTION-AND-RESEARCH.BLOG.TITLE")),c(2),f("title",o.listAside.TITLE)("listOptions",o.listAside.OPTIONS),c(3),N(o.listCards),c(2),w(7,(o.propsPage==null?null:o.propsPage.current_page)<(o.propsPage==null?null:o.propsPage.last_page)?7:-1))},dependencies:[X,oe,V,z,un,fe],styles:[".wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px}.row-btn[_ngcontent-%COMP%]{margin:0 auto 40px;text-align:center;display:flex;justify-content:center}"]});let t=e;return t})();function _4(t,e){if(t&1&&(p(0,"figure"),g(1,"img",14),u()),t&2){let i=C();c(),f("src",i.propsPage.image.full_path,L)("alt",i.propsPage.image.alt_image)}}function C4(t,e){if(t&1&&(p(0,"p",4),b(1),u()),t&2){let i=C();c(),dn(" ",i.propsPage.category==null?null:i.propsPage.category.title," | ",i.propsPage.date==null?null:i.propsPage.date.formatted," ")}}var Wd=(()=>{let e=class e{constructor(n,r,o,a,s,l,d){this.loading=n,this.translate=r,this.service=o,this.route=a,this.sanitizer=s,this.metaTags=l,this.platformId=d,this.listAside={},this.listCards=[],this.slug="",this.propsPage={image:{full_path:""},description:{description:""}},this.url=""}ngOnInit(){this.route.params.subscribe(n=>{this.slug=n.category+"/"+n.slug||""}),Xe(this.platformId)&&(this.url=window.location.href),this.loadTranslations()}loadTranslations(){this.translate.get("MENU-FOOTER.COLLECTION-AND-RESEARCH").subscribe(n=>{this.listAside=n,this.onGet()})}onGet(){this.loading.open(),this.service.blog(this.slug).subscribe(n=>{let{article:r,categories:o,related:a}=n;this.listCards=[],this.propsPage=r,this.listAside?.OPTIONS&&this.listAside.OPTIONS&&(this.listAside.OPTIONS[2].OPTIONS=[],this.listAside.OPTIONS[2].OPTIONS.push({NAME:"Todas as categorias",LINK:""})),o.forEach(s=>{this.listAside.OPTIONS[2].OPTIONS.push({NAME:s.title,LINK:"/"+s.slug})}),a.forEach(s=>{this.listCards.push({srcImg:s.image?.full_path,altImg:s.alt_image,category:s.category?.title,title:s.title,description:s.short_description?.description,date:s.date.formatted,link:s.category?.slug+"/"+s.slug,isTarget:!1,disabled:!1})}
9),this.metaTags.updateMetaTag({title:n.article?.tag_title,description:n.article?.tag_description,img:n.article.image?n.article.image.full_path:""}),this.loading.close()},n=>{this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ee),m(qd),m(ke),m(Et),m(W),m(De))},e.\u0275cmp=T({type:e,selectors:[["app-blog-internal"]],standalone:!0,features:[k],decls:21,vars:17,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-content"],[1,"box-title"],[1,"category"],[1,"box-text",3,"innerHTML"],[1,"box-share"],[1,"icons"],["target","_blank","title","\xEDcone facebook",3,"href"],["src","assets/img/icons/icon-facebook-orange.svg","alt","\xEDcone facebook"],["target","_blank","title","\xEDcone x",3,"href"],["src","assets/img/icons/icon-x-orange.svg","alt","\xEDcone x"],["target","_blank","title","\xEDcone whatsapp",3,"href"],["src","assets/img/icons/icon-whatsapp-orange.svg","alt","\xEDcone whatsapp"],[3,"src","alt"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section",2),O(4,_4,2,2,"figure"),p(5,"div",3)(6,"h3"),b(7),u(),O(8,C4,2,2,"p",4),u(),g(9,"article",5),p(10,"div",6)(11,"h5"),b(12),y(13,"translate"),u(),p(14,"div",7)(15,"a",8),g(16,"img",9),u(),p(17,"a",10),g(18,"img",11),u(),p(19,"a",12),g(20,"img",13),u()()()()()),r&2&&(f("title",v(1,13,"COLLECTION-AND-RESEARCH.BLOG.TITLE")),c(2),f("title",o.listAside.TITLE)("listOptions",o.listAside.OPTIONS),c(2),w(4,o.propsPage&&(o.propsPage.image!=null&&o.propsPage.image.full_path)?4:-1),c(3),I(" ",o.propsPage.title," "),c(),w(8,o.propsPage.category?8:-1),c(),F("skeleton-img",!o.propsPage.description.description),f("innerHTML",o.sanitizer.bypassSecurityTrustHtml(o.propsPage.description==null?null:o.propsPage.description.description),J),c(3),$(v(13,15,"EXPOSITION.INTERNAL.LABEL-SHARE")),c(3),f("href","https://www.facebook.com/sharer/sharer.php?u="+o.url,L),c(2),f("href","https://twitter.com/intent/tweet?text="+o.propsPage.title+"&url="+o.url,L),c(2),f("href","https://wa.me/?text="+o.url,L))},dependencies:[X,oe,V,z],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-content[_ngcontent-%COMP%]{margin-bottom:40px}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-title[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:2rem;line-height:2.5rem;margin-bottom:8px}.box-title[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;text-transform:uppercase;color:var(--gray-04);font-size:.875rem;line-height:1.3125rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]{margin-bottom:32px;font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:24px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     p br{margin-bottom:16px}.box-text[_ngcontent-%COMP%]     figcaption{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:.875rem;line-height:1.3125rem;text-align:center;font-style:italic;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     figure{max-width:500px!important;margin:0 auto;width:100%!important}.box-text[_ngcontent-%COMP%]     .image-style-align-left{float:left;padding-right:15px}.box-text[_ngcontent-%COMP%]     .image-style-align-right{float:right;padding-left:15px}.box-text[_ngcontent-%COMP%]     strong, .box-text[_ngcontent-%COMP%]   b[_ngcontent-%COMP%]{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline;word-wrap:break-word}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     blockquote{border-left:1px solid var(--orange);padding-left:16px;margin-left:6px}.box-share[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;
9gap:16px}.box-share[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--orange);font-size:1.25rem;line-height:1.5rem}.box-share[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:16px}.box-share[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{width:20px;height:20px}@media (max-width: 768px){.box-title[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{color:var(--orange);font-size:1.25rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]{margin-bottom:24px;font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}.box-share[_ngcontent-%COMP%]{flex-wrap:wrap;justify-content:space-between}}']});let t=e;return t})();var t1={evnName:"prod",production:!0,baseAPI:"/manage/manage-api/",keyRecaptcha:"6LeWx1YqAAAAAEmoxWPsv1jYVOFitnaWkbs9hYce"};var Kd=new re("ngx-mask config"),n1=new re("new ngx-mask config"),i1=new re("initial ngx-mask config"),y4={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:t=>t,outputTransformFn:t=>t,maskFilled:new _e,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},v4=["Hh:m0:s0","Hh:m0","m0:s0"],b4=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"],x4=(()=>{let e=class e{constructor(){this._config=H(Kd),this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.hiddenInput=this._config.hiddenInput,this.clearIfNotMatch=this._config.clearIfNotMatch,this.specialCharacters=this._config.specialCharacters,this.patterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime,this.leadZero=this._config.leadZero,this.apm=this._config.apm,this.inputTransformFn=this._config.inputTransformFn,this.outputTransformFn=this._config.outputTransformFn,this.keepCharacterPositions=this._config.keepCharacterPositions,this._shift=new Set,this.plusOnePosition=!1,this.maskExpression="",this.actualValue="",this.showKeepCharacterExp="",this.shownMaskExpression="",this.deletedSpecialCharacter=!1,this._formatWithSeparators=(n,r,o,a)=>{let s=[],l="";if(Array.isArray(o)){let E=new RegExp(o.map(S=>"[\\^$.|?*+()".indexOf(S)>=0?`\\${S}`:S).join("|"));s=n.split(E),l=n.match(E)?.[0]??""}else s=n.split(o),l=o;let d=s.length>1?`${l}${s[1]}`:"",h=s[0]??"",_=this.separatorLimit.replace(/\s/g,"");_&&+_&&(h[0]==="-"?h=`-${h.slice(1,h.length).slice(0,_.length)}`:h=h.slice(0,_.length));let M=/(\d+)(\d{3})/;for(;r&&M.test(h);)h=h.replace(M,"$1"+r+"$2");return a===void 0?h+d:a===0?h:h+d.substring(0,a+1)},this.percentage=n=>{let r=n.replace(",","."),o=Number(this.allowNegativeNumbers&&n.includes("-")?r.slice(1,n.length):r);return!isNaN(o)&&o>=0&&o<=100},this.getPrecision=n=>{let r=n.split(".");return r.length>1?Number(r[r.length-1]):1/0},this.checkAndRemoveSuffix=n=>{for(let r=this.suffix?.length-1;r>=0;r--){let o=this.suffix.substring(r,this.suffix?.length);if(n.includes(o)&&r!==this.suffix?.length-1&&(r-1<0||!n.includes(this.suffix.substring(r-1,this.suffix?.length))))return n.replace(o,"")}return n},this.checkInputPrecision=(n,r,o)=>{if(r<1/0){if(Array.isArray(o)){let d=o.find(h=>h!==this.thousandSeparator);o=d||o[0]}let a=new RegExp(this._charToRegExpExpression(o)+`\\d{${r}}.*$`),s=n.match(a),l=(s&&s[0]?.length)??0;if(l-1>r){let d=l-1-r;n=n.substring(0,n.length-d)}r===0&&this._compareOrIncludes(n[n.length-1],o,this.thousandSeparator)&&(n=n.substring(0,n.length-1))}return n}}applyMaskWithPattern(n,r){let[o,a]=r;return this.customPattern=a,this.applyMask(n,o)}applyMask(n,r,o=0,a=!1,s=!1,l=()=>{}
9){if(!r||typeof n!="string")return"";let d=0,h="",_=!1,M=!1,E=1,S=!1;n.slice(0,this.prefix.length)===this.prefix&&(n=n.slice(this.prefix.length,n.length)),this.suffix&&n?.length>0&&(n=this.checkAndRemoveSuffix(n)),n==="("&&this.prefix&&(n="");let R=n.toString().split("");if(this.allowNegativeNumbers&&n.slice(d,d+1)==="-"&&(h+=n.slice(d,d+1)),r==="IP"){let de=n.split(".");this.ipError=this._validIP(de),r="099.099.099.099"}let G=[];for(let de=0;de<n.length;de++)n[de]?.match("\\d")&&G.push(n[de]??"");if(r==="CPF_CNPJ"&&(this.cpfCnpjError=G.length!==11&&G.length!==14,G.length>11?r="00.000.000/0000-00":r="000.000.000-00"),r.startsWith("percent")){if(n.match("[a-z]|[A-Z]")||n.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!s){n=this._stripToDecimal(n);let Ue=this.getPrecision(r);n=this.checkInputPrecision(n,Ue,this.decimalMarker)}let de=typeof this.decimalMarker=="string"?this.decimalMarker:".";if(n.indexOf(de)>0&&!this.percentage(n.substring(0,n.indexOf(de)))){let Ue=n.substring(0,n.indexOf(de)-1);this.allowNegativeNumbers&&n.slice(d,d+1)==="-"&&!s&&(Ue=n.substring(0,n.indexOf(de))),n=`${Ue}${n.substring(n.indexOf(de),n.length)}`}let te="";this.allowNegativeNumbers&&n.slice(d,d+1)==="-"?te=`-${n.slice(d+1,d+n.length)}`:te=n,this.percentage(te)?h=this._splitPercentZero(n):h=this._splitPercentZero(n.substring(0,n.length-1))}else if(r.startsWith("separator")){(n.match("[w\u0430-\u044F\u0410-\u042F]")||n.match("[\u0401\u0451\u0410-\u044F]")||n.match("[a-z]|[A-Z]")||n.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||n.match("[^A-Za-z0-9,]"))&&(n=this._stripToDecimal(n));let de=this.getPrecision(r),te=Array.isArray(this.decimalMarker)?".":this.decimalMarker;if(de===0?n=this.allowNegativeNumbers?n.length>2&&n[0]==="-"&&n[1]==="0"&&n[2]!==this.thousandSeparator&&n[2]!==","&&n[2]!=="."?"-"+n.slice(2,n.length):n[0]==="0"&&n.length>1&&n[1]!==this.thousandSeparator&&n[1]!==","&&n[1]!=="."?n.slice(1,n.length):n:n.length>1&&n[0]==="0"&&n[1]!==this.thousandSeparator&&n[1]!==","&&n[1]!=="."?n.slice(1,n.length):n:(n[0]===te&&n.length>1&&(n="0"+n.slice(0,n.length+1),this.plusOnePosition=!0),n[0]==="0"&&n[1]!==te&&n[1]!==this.thousandSeparator&&(n=n.length>1?n.slice(0,1)+te+n.slice(1,n.length+1):n,this.plusOnePosition=!0),this.allowNegativeNumbers&&n[0]==="-"&&(n[1]===te||n[1]==="0")&&(n=n[1]===te&&n.length>2?n.slice(0,1)+"0"+n.slice(1,n.length):n[1]==="0"&&n.length>2&&n[2]!==te?n.slice(0,2)+te+n.slice(2,n.length):n,this.plusOnePosition=!0)),s){let Dt=n.slice(this._findFirstNonZeroDigitIndex(n),n.length),gn=n[o]==="0"||n[o]===te,se=n[0]==="0",ue=n[0]==="-",me=n[0]===this.thousandSeparator,Ae=n[1]===te,at=n[1]==="0",an=n[2]===te;se&&Ae&&gn&&o<2&&(n=Dt),ue&&at&&an&&gn&&o<3&&(n="-"+Dt),Dt!=="-"&&(o===0&&(se||me)||this.allowNegativeNumbers&&o===1&&ue&&!at)&&(n=ue?"-"+Dt:Dt)}let Ue=this._charToRegExpExpression(this.thousandSeparator),ot='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Ue,"");if(Array.isArray(this.decimalMarker))for(let Dt of this.decimalMarker)ot=ot.replace(this._charToRegExpExpression(Dt),"");else ot=ot.replace(this._charToRegExpExpression(this.decimalMarker),"");let St=new RegExp("["+ot+"]");n.match(St)&&(n=n.substring(0,n.length-1)),n=this.checkInputPrecision(n,de,this.decimalMarker);let hn=n.replace(new RegExp(Ue,"g"),"");h=this._formatWithSeparators(hn,this.thousandSeparator,this.decimalMarker,de);let qt=h.indexOf(",")-n.indexOf(","),Ft=h.length-n.length;if(h[o-1]===this.thousandSeparator&&this.prefix&&s)o=o-1;else if(Ft>0&&h[o]!==this.thousandSeparator){M=!0;let Dt=0;do this._shift.add(o+Dt),Dt++;while(Dt<Ft)}else h[o-1]===this.decimalMarker||Ft===-4||Ft===-3||h[o]===this.thousandSeparator?(this._shift.clear(),this._shift.add(o-1)):qt!==0&&o>0&&!(h.indexOf(",")>=o&&o>3)||!(h.indexOf(".")>=o&&o>3)&&Ft<=0?(this._shift.clear(),M=!0,E=Ft,o+=Ft,this._shift.add(o)):this._shift.clear()}else for(let de=0,te=R[0];de<R.length&&d!==r.length;de++,te=R[de]??""){let Ue="*"in this.patterns;if(this._checkSymbolMask(te,r[d]??"")&&r[d+1]==="?")h+=te,d+=2;else if(r[d+1]==="*"&&_&&this._checkSymbolMask(te,r[d+2]??""))h+=te,d+=3,_=!1;else if(this._checkSymbolMask(te,r[d]??"")&&r[d+1]==="*"&&!Ue)h+=te,_=!0;else if(r[d+1]==="?"&&this._checkSymbolMask(te,r[d+2]??""))h+=te,d+=3;
9else if(this._checkSymbolMask(te,r[d]??"")){if(r[d]==="H"&&(this.apm?Number(te)>9:Number(te)>2)){o=this.leadZeroDateTime?o:o+1,d+=1,this._shiftStep(r,d,R.length),de--,this.leadZeroDateTime&&(h+="0");continue}if(r[d]==="h"&&(this.apm?h.length===1&&Number(h)>1||h==="1"&&Number(te)>2||n.slice(d-1,d).length===1&&Number(n.slice(d-1,d))>2||n.slice(d-1,d)==="1"&&Number(te)>2:h==="2"&&Number(te)>3||(h.slice(d-2,d)==="2"||h.slice(d-3,d)==="2"||h.slice(d-4,d)==="2"||h.slice(d-1,d)==="2")&&Number(te)>3&&d>10)){o=o+1,d+=1,de--;continue}if((r[d]==="m"||r[d]==="s")&&Number(te)>5){o=this.leadZeroDateTime?o:o+1,d+=1,this._shiftStep(r,d,R.length),de--,this.leadZeroDateTime&&(h+="0");continue}let ot=31,St=n[d],hn=n[d+1],qt=n[d+2],Ft=n[d-1],Dt=n[d-2],gn=n.slice(d-3,d-1),se=n.slice(d-1,d+1),ue=n.slice(d,d+2),me=n.slice(d-2,d);if(r[d]==="d"){let Ae=r.slice(0,2)==="M0",at=r.slice(0,2)==="M0"&&this.specialCharacters.includes(Dt);if(Number(te)>3&&this.leadZeroDateTime||!Ae&&(Number(ue)>ot||Number(se)>ot||this.specialCharacters.includes(hn))||(at?Number(se)>ot||!this.specialCharacters.includes(St)&&this.specialCharacters.includes(qt)||this.specialCharacters.includes(St):Number(ue)>ot||this.specialCharacters.includes(hn))){o=this.leadZeroDateTime?o:o+1,d+=1,this._shiftStep(r,d,R.length),de--,this.leadZeroDateTime&&(h+="0");continue}}if(r[d]==="M"){let at=d===0&&(Number(te)>2||Number(ue)>12||this.specialCharacters.includes(hn)&&!s),an=r.slice(d+2,d+3),Wt=gn.includes(an)&&r.includes("d0")&&(this.specialCharacters.includes(Dt)&&Number(se)>12&&!this.specialCharacters.includes(St)||this.specialCharacters.includes(St)),ri=Number(gn)<=ot&&!this.specialCharacters.includes(gn)&&this.specialCharacters.includes(Ft)&&(Number(ue)>12||this.specialCharacters.includes(hn)),st=Number(ue)>12&&d===5||this.specialCharacters.includes(hn)&&d===5,As=Number(gn)>ot&&!this.specialCharacters.includes(gn)&&!this.specialCharacters.includes(me)&&Number(me)>12&&r.includes("d0"),lp=Number(gn)<=ot&&!this.specialCharacters.includes(gn)&&!this.specialCharacters.includes(Ft)&&Number(se)>12;if(Number(te)>1&&this.leadZeroDateTime||at||Wt||lp||As||ri||st&&!this.leadZeroDateTime){o=this.leadZeroDateTime?o:o+1,d+=1,this._shiftStep(r,d,R.length),de--,this.leadZeroDateTime&&(h+="0");continue}}h+=te,d++}else this.specialCharacters.includes(te)&&r[d]===te?(h+=te,d++):this.specialCharacters.indexOf(r[d]??"")!==-1?(h+=r[d],d++,this._shiftStep(r,d,R.length),de--):r[d]==="9"&&this.showMaskTyped?this._shiftStep(r,d,R.length):this.patterns[r[d]??""]&&this.patterns[r[d]??""]?.optional?(R[d]&&r!=="099.099.099.099"&&r!=="000.000.000-00"&&r!=="00.000.000/0000-00"&&!r.match(/^9+\.0+$/)&&!this.patterns[r[d]??""]?.optional&&(h+=R[d]),r.includes("9*")&&r.includes("0*")&&d++,d++,de--):this.maskExpression[d+1]==="*"&&this._findSpecialChar(this.maskExpression[d+2]??"")&&this._findSpecialChar(te)===this.maskExpression[d+2]&&_||this.maskExpression[d+1]==="?"&&this._findSpecialChar(this.maskExpression[d+2]??"")&&this._findSpecialChar(te)===this.maskExpression[d+2]&&_?(d+=3,h+=te):this.showMaskTyped&&this.specialCharacters.indexOf(te)<0&&te!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(S=!0)}h.length+1===r.length&&this.specialCharacters.indexOf(r[r.length-1]??"")!==-1&&(h+=r[r.length-1]);let q=o+1;for(;this._shift.has(q);)E++,q++;let ge=a&&!r.startsWith("separator")?d:this._shift.has(o)?E:0;S&&ge--,l(ge,M),E<0&&this._shift.clear();let we=!1;s&&(we=R.every(de=>this.specialCharacters.includes(de)));let Ce=`${this.prefix}${we?"":h}${this.showMaskTyped?"":this.suffix}`;h.length===0&&(Ce=this.dropSpecialCharacters?`${h}`:`${this.prefix}${h}`);let lt=n.length===1&&this.specialCharacters.includes(r[0])&&n!==r[0];if(!this._checkSymbolMask(n,r[1])&&lt)return"";if(h.includes("-")&&this.prefix&&this.allowNegativeNumbers){if(s&&h==="-")return"";Ce=`-${this.prefix}${h.split("-").join("")}${this.suffix}`}return Ce}_findDropSpecialChar(n){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(r=>r===n):this._findSpecialChar(n)}_findSpecialChar(n){return this.specialCharacters.find(r=>r===n)}_checkSymbolMask(n,r){return this.patterns=this.customPattern?this.customPattern:this.patterns,(this.patterns[r]?.pattern&&this.patterns[r]?.pattern.test(n))??!1}_stripToDecimal(n){return n.split("").filter((r,o)=>{let a=typeof this.decimalMarker=="string"?r===this.decimalMarker:this.decimalMarker.includes(r);return r.match("^-?\\d")||r===this.thousandSeparator||a||r==="-"&&o===0&&this.allowNegativeNumbers}).join("")}_charToRegExpExpression(n){return n&&(n===" "?"\\s":"[\\^$.|?*+()".indexOf(n)>=0?`\\${n}`:n)}_shiftStep(n,r,o){let a=/[*?]/g.test(n.slice(0,r))?o:r;this._shift.add(a+this.prefix.length||0)}_compareOrIncludes(n,r,o){return Array.isArray(r)?r.filter(a=>a!==o).includes(n):n===r}_validIP(n){return!(n.length===4&&!n.some((r,o)=>n.length!==o+1?r===""||Number(r)>255:r===""||Number(r.substring(0,3))>
9255))}_splitPercentZero(n){if(n==="-"&&this.allowNegativeNumbers)return n;let r=typeof this.decimalMarker=="string"?n.indexOf(this.decimalMarker):n.indexOf("."),o=this.allowNegativeNumbers&&n.includes("-")?"-":"";if(r===-1){let a=parseInt(o?n.slice(1,n.length):n,10);return isNaN(a)?"":`${o}${a}`}else{let a=parseInt(n.replace("-","").substring(0,r),10),s=n.substring(r+1),l=isNaN(a)?"":a.toString(),d=typeof this.decimalMarker=="string"?this.decimalMarker:".";return l===""?"":`${o}${l}${d}${s}`}}_findFirstNonZeroDigitIndex(n){for(let r=0;r<n.length;r++){let o=n[r];if(o&&o>="1"&&o<="9")return r}return-1}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})(),c0=(()=>{let e=class e extends x4{constructor(){super(...arguments),this.isNumberValue=!1,this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this._maskExpressionArray=[],this.triggerOnMaskChange=!1,this._previousValue="",this._currentValue="",this._emitValue=!1,this.onChange=n=>{},this._elementRef=H($e,{optional:!0}),this.document=H(Ze),this._config=H(Kd),this._renderer=H(At,{optional:!0})}applyMask(n,r,o=0,a=!1,s=!1,l=()=>{}){if(!r)return n!==this.actualValue?this.actualValue:n;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"",this.maskExpression==="IP"&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(n||"#")),this.maskExpression==="CPF_CNPJ"&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(n||"#")),!n&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let d=n&&typeof this.selStart=="number"?n[this.selStart]??"":"",h="";if(this.hiddenInput!==void 0&&!this.writingValue){let S=n&&n.length===1?n.split(""):this.actualValue.split("");typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):n!==""&&S.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(n.length>S.length?S.splice(this.selStart,0,d):n.length<S.length&&(S.length-n.length===1?s?S.splice(this.selStart-1,1):S.splice(n.length-1,1):S.splice(this.selStart,this.selEnd-this.selStart))):S=[],this.showMaskTyped&&(this.hiddenInput||(n=this.removeMask(n))),h=this.actualValue.length&&S.length<=n.length?this.shiftTypedSymbols(S.join("")):n}if(a&&(this.hiddenInput||!this.hiddenInput)&&(h=n),s&&this.specialCharacters.indexOf(this.maskExpression[o]??"")!==-1&&this.showMaskTyped&&!this.prefix&&(h=this._currentValue),this.deletedSpecialCharacter&&o&&(this.specialCharacters.includes(this.actualValue.slice(o,o+1))?o=o+1:r.slice(o-1,o+1)!=="M0"&&(o=o-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(n=this.removeMask(n)),this.maskChanged?h=n:h=h&&h.length?h:n,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!a&&!this.writingValue){let S=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(S),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let _=super.applyMask(h,r,o,a,s,l);if(this.actualValue=this.getActualValue(_),this.thousandSeparator==="."&&this.decimalMarker==="."&&(this.decimalMarker=","),this.maskExpression.startsWith("separator")&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(S=>!this._compareOrIncludes(S,this.decimalMarker,this.thousandSeparator))),(_||_==="")&&(this._previousValue=this._currentValue,this._currentValue=_,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this._previousValue===this._currentValue&&a),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(_)):this.formControlResult(_)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?s?this.hideInput(_,this.maskExpression):`${this.hideInput(_,this.maskExpression)}${this.maskIsShown.slice(_.length)}`:_;let M=_.length,E=`${this.prefix}${this.maskIsShown}${this.suffix}`;
9if(this.maskExpression.includes("H")){let S=this._numberSkipedSymbols(_);return`${_}${E.slice(M+S)}`}else if(this.maskExpression==="IP"||this.maskExpression==="CPF_CNPJ")return`${_}${E}`;return`${_}${E.slice(M)}`}_numberSkipedSymbols(n){let r=/(^|\D)(\d\D)/g,o=r.exec(n),a=0;for(;o!=null;)a+=1,o=r.exec(n);return a}applyValueChanges(n,r,o,a=()=>{}){let s=this._elementRef?.nativeElement;s&&(s.value=this.applyMask(s.value,this.maskExpression,n,r,o,a),s!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(n,r){return n.split("").map((o,a)=>this.patterns&&this.patterns[r[a]??""]&&this.patterns[r[a]??""]?.symbol?this.patterns[r[a]??""]?.symbol:o).join("")}getActualValue(n){let r=n.split("").filter((o,a)=>{let s=this.maskExpression[a]??"";return this._checkSymbolMask(o,s)||this.specialCharacters.includes(s)&&o===s});return r.join("")===n?r.join(""):n}shiftTypedSymbols(n){let r="";return(n&&n.split("").map((a,s)=>{if(this.specialCharacters.includes(n[s+1]??"")&&n[s+1]!==this.maskExpression[s+1])return r=a,n[s+1];if(r.length){let l=r;return r="",l}return a})||[]).join("")}numberToString(n){return!n&&n!==0||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith("separator")&&this.separatorLimit.length>14&&String(n).length>14?String(n):Number(n).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace("/-/","-")}showMaskInInput(n){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(n){if(this.maskExpression==="IP")return this._checkForIp(n);if(this.maskExpression==="CPF_CNPJ")return this._checkForCpfCnpj(n)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){let n=this._elementRef?.nativeElement;n&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==n.value.replace(this.placeHolderCharacter,"").length&&(this.formElementProperty=["value",""],this.applyMask("",this.maskExpression))}set formElementProperty([n,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>this._renderer?.setProperty(this._elementRef?.nativeElement,n,r))}checkDropSpecialCharAmount(n){return n.split("").filter(o=>this._findDropSpecialChar(o)).length}removeMask(n){return this._removeMask(this._removeSuffix(this._removePrefix(n)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(n){if(n==="#")return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let o=0;o<n.length;o++){let a=n[o]??"";a&&a.match("\\d")&&r.push(a)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:(r.length>9&&r.length<=12,"")}_checkForCpfCnpj(n){let r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,o=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(n==="#")return r;let a=[];for(let s=0;s<n.length;s++){let l=n[s]??"";l&&l.match("\\d")&&a.push(l)}return a.length<=3?r.slice(a.length,r.length):a.length>3&&a.length<=6?r.slice(a.length+1,r.length):a.length>6&&a.length<=9?r.slice(a.length+2,r.length):a.length>9&&a.length<11?r.slice(a.length+3,r.length):a.length===11?"":a.length===12?n.length===17?o.slice(16,o.length):o.slice(15,o.length):a.length>12&&a.length<=14?o.slice(a.length+4,o.length):""}_getActiveElement(n=this.document){let r=n?.activeElement?.shadowRoot;return r?.activeElement?this._getActiveElement(r):n.activeElement}formControlResult(n){if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbol
9s(this._removeSuffix(this._removePrefix(n)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(n)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===n?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(n)))))):this.onChange(this.outputTransformFn(this._toNumber(n)))}_toNumber(n){if(!this.isNumberValue||n===""||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters))return n;if(String(n).length>16&&this.separatorLimit.length>14)return String(n);let r=Number(n);if(this.maskExpression.startsWith("separator")&&Number.isNaN(r)){let o=String(n).replace(",",".");return Number(o)}return Number.isNaN(r)?n:r}_removeMask(n,r){return this.maskExpression.startsWith("percent")&&n.includes(".")?n:n&&n.replace(this._regExpForRemove(r),"")}_removePrefix(n){return this.prefix?n&&n.replace(this.prefix,""):n}_removeSuffix(n){return this.suffix?n&&n.replace(this.suffix,""):n}_retrieveSeparatorValue(n){let r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(o=>this.dropSpecialCharacters.includes(o)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&n.includes(" ")&&this.maskExpression.includes("*")&&(r=r.filter(o=>o!==" ")),this._removeMask(n,r)}_regExpForRemove(n){return new RegExp(n.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(n){let r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return n.replace(this._regExpForRemove(r),".")}_checkSymbols(n){if(n==="")return n;this.maskExpression.startsWith("percent")&&this.decimalMarker===","&&(n=n.replace(",","."));let r=this._retrieveSeparatorPrecision(this.maskExpression),o=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(n));return this.isNumberValue&&r?n===this.decimalMarker?null:this.separatorLimit.length>14?String(o):this._checkPrecision(this.maskExpression,o):o}_checkPatternForSpace(){for(let n in this.patterns)if(this.patterns[n]&&this.patterns[n]?.hasOwnProperty("pattern")){let r=this.patterns[n]?.pattern.toString(),o=this.patterns[n]?.pattern;if(r?.includes(" ")&&o?.test(this.maskExpression))return!0}return!1}_retrieveSeparatorPrecision(n){let r=n.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(n,r){let o=n.slice(10,11);return n.indexOf("2")>0||this.leadZero&&Number(o)>0?(this.decimalMarker===","&&this.leadZero&&(r=r.replace(",",".")),this.leadZero?Number(r).toFixed(Number(o)):Number(r).toFixed(2)):this.numberToString(r)}_repeatPatternSymbols(n){return n.match(/{[0-9]+}/)&&n.split("").reduce((r,o,a)=>{if(this._start=o==="{"?a:this._start,o!=="}")return this._findSpecialChar(o)?r+o:r;this._end=a;let s=Number(n.slice(this._start+1,this._end)),l=new Array(s+1).join(n[this._start-1]);if(n.slice(0,this._start).length>1&&n.includes("S")){let d=n.slice(0,this._start-1);return d.includes("{")?r+l:d+r+l}else return r+l},"")||n}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=Dn(e)))(o||e)}})(),e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})();function M4(){let t=H(i1),e=H(n1);return e instanceof Function?Y(Y({},t),e()):Y(Y({},t),e)}function w4(t){return[{provide:n1,useValue:t},{provide:i1,useValue:y4},{provide:Kd,useFactory:M4},c0]}function r1(t){return pi(w4(t))}var o1=(()=>{let e=class e{constructor(){this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.leadZero=null,this.triggerOnMaskChange=null,this.apm=null,this.inputTransformFn=null,this.outputTransformFn=null,this.keepCharacterPositions=null,this.maskFilled=new _e,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._allowFewMaskChangeMask=!1,this._justPasted=!1,this._isFocused=!1,this._isComposing=!1,this.document=H(Ze),this._maskService=H(c0,{self:!0}),this._config=H(Kd),this.onChange=n=>{},this.onTouch=()=>{}}ngOnChanges(n){let{maskExpression:r,specialCharacters:o,patterns:a,prefix:s,suffix:l,thousandSeparator:d,decimalMarker:h,dropSpecialCharacters:_,hiddenInput:M,showMaskTyped:E,placeHolderCharacter:S,shownMaskExpression:R,showTemplate:G,clearIfNotMatch:q,validation:ge,separatorLimit:we,allowNegativeNumbers:Ce,leadZeroDateTime:lt,leadZero:de,triggerOnMaskChange:te,apm:Ue,inputTransformFn:ot,outputTransformFn:St,keepCharacterPositions:hn}=n;if(r&&(r.currentValue!==r.previousValue&&!r.firstChange&&(this._maskService.maskChanged=!0),r.currentValue&&r.currentValue.split("||").length>1?(this._maskExpressionArray=r.currentValue.split("||").sort((qt,Ft)=>qt.length-Ft.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=r.currentValue||"",this._maskService.maskExpression=this._maskValue)),o){if(!o.currentValue||!Array.isArray(o.currentValue))return;this._maskService.specialCharacters=o.currentValue||[]}Ce&&(this._maskService.allowNegativeNumbers=Ce.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.specialCharacters=this._maskService.specialCharacters.filter(qt=>qt!=="-"))),a&&a.currentValue&&(this._maskService.patterns=a.currentValue),Ue&&Ue.currentValue&&(this._maskService.apm=Ue.currentValue),s&&(this._maskService.prefix=s.currentValue),l&&(this._maskService.suffix=l.currentValue),d&&(this._maskService.thousandSeparator=d.currentValue),h&&(this._maskService.decimalMarker=h.currentValue),_&&(this._maskService.dropSpecialCharacters=_.currentValue),M&&(this._maskService.hiddenInput=M.currentValue),E&&(this._maskService.showMaskTyped=E.currentValue,E.previousValue===!1&&E.currentValue===!0&&this._isFocused&&requestAnimationFrame(()=>
9{this._maskService._elementRef?.nativeElement.click()})),S&&(this._maskService.placeHolderCharacter=S.currentValue),R&&(this._maskService.shownMaskExpression=R.currentValue),G&&(this._maskService.showTemplate=G.currentValue),q&&(this._maskService.clearIfNotMatch=q.currentValue),ge&&(this._maskService.validation=ge.currentValue),we&&(this._maskService.separatorLimit=we.currentValue),lt&&(this._maskService.leadZeroDateTime=lt.currentValue),de&&(this._maskService.leadZero=de.currentValue),te&&(this._maskService.triggerOnMaskChange=te.currentValue),ot&&(this._maskService.inputTransformFn=ot.currentValue),St&&(this._maskService.outputTransformFn=St.currentValue),hn&&(this._maskService.keepCharacterPositions=hn.currentValue),this._applyMask()}validate({value:n}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(n);if(this._maskService.cpfCnpjError)return this._createValidationError(n);if(this._maskValue.startsWith("separator")||b4.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;if(v4.includes(this._maskValue))return this._validateTime(n);if(n&&n.toString().length>=1){let r=0;if(this._maskValue.includes("{")&&this._maskValue.includes("}"))return this._maskValue.slice(this._maskValue.indexOf("{")+1,this._maskValue.indexOf("}"))===String(n.length)?null:this._createValidationError(n);if(this._maskValue.startsWith("percent"))return null;for(let o in this._maskService.patterns)if(this._maskService.patterns[o]?.optional){if(this._maskValue.indexOf(o)!==this._maskValue.lastIndexOf(o)){let a=this._maskValue.split("").filter(s=>s===o).join("");r+=a.length}else this._maskValue.indexOf(o)!==-1&&r++;if(this._maskValue.indexOf(o)!==-1&&n.toString().length>=this._maskValue.indexOf(o)||r===this._maskValue.length)return null}if(this._maskValue.indexOf("*")>1&&n.toString().length<this._maskValue.indexOf("*")||this._maskValue.indexOf("?")>1&&n.toString().length<this._maskValue.indexOf("?"))return this._createValidationError(n);if(this._maskValue.indexOf("*")===-1||this._maskValue.indexOf("?")===-1){n=typeof n=="number"?String(n):n;let o=this._maskValue.split("*"),a=this._maskService.dropSpecialCharacters?this._maskValue.length-this._maskService.checkDropSpecialCharAmount(this._maskValue)-r:this.prefix?this._maskValue.length+this.prefix.length-r:this._maskValue.length-r;if(o.length===1&&n.toString().length<a)return this._createValidationError(n);if(o.length>1){let s=o[o.length-1];if(s&&this._maskService.specialCharacters.includes(s[0])&&String(n).includes(s[0]??"")&&!this.dropSpecialCharacters){let l=n.split(s[0]);return l[l.length-1].length===s.length-1?null:this._createValidationError(n)}else return(s&&!this._maskService.specialCharacters.includes(s[0])||!s||this._maskService.dropSpecialCharacters)&&n.length>=a-1?null:this._createValidationError(n)}}if(this._maskValue.indexOf("*")===1||this._maskValue.indexOf("?")===1)return null}return n&&this.maskFilled.emit(),null}onPaste(){this._justPasted=!0}onFocus(){this._isFocused=!0}onModelChange(n){(n===""||n===null||n===void 0)&&this._maskService.actualValue&&(this._maskService.actualValue=this._maskService.getActualValue(""))}onInput(n){if(this._isComposing)return;let r=n.target,o=this._maskService.inputTransformFn(r.value);if(r.type!=="number")if(typeof o=="string"||typeof o=="number"){if(r.value=o.toString(),this._inputValue=r.value,this._setMask(),!this._maskValue){this.onChange(r.value);return}let a=r.selectionStart===1?r.selectionStart+this._maskService.prefix.length:r.selectionStart;if(this.showMaskTyped&&this.keepCharacterPositions&&this._maskService.placeHolderCharacter.length===1){let h=r.value.slice(a-1,a),_=this.prefix.length,M=this._maskService._checkSymbolMask(h,this._maskService.maskExpression[a-1-_]??""),E=this._maskService._checkSymbolMask(h,this._maskService.maskExpression[a+1-_]??""),S=this._maskService.selStart===this._maskService.selEnd,R=Number(this._maskService.selStart)-_,G=Number(this._maskService.selEnd)-_;if(this._code==="Backspace"){if(!S)this._maskService.selStart===_?this._maskService.actualValue=`${this.prefix}${this._maskService.maskIsShown.slice(0,G)}${this._inputValue.split(this.prefix).join("")}`:this._maskService.selStart===this._maskService.maskIsShown.length+_?this._maskService.actualValue=`${this._inputValue}${this._maskService.maskIsShown.slice(R,G)}`:this._maskService.actualValue=`${this.prefix}${this._inputValue.split(this.prefix).join("").slice(0,R)}${this._maskService.maskIsShown.slice(R,G)}${this._maskService.actualValue.slice(G+_,this._maskService.maskIsShown.length+_)}${this.suffix}`;else if(!this._maskService.specialCharacters.includes(this._maskService.maskExpression.slice(a-this.prefix.length,a+1-this.prefix.length))&&S)if(R===1&&this.prefix)this._maskService.actualValue=`${this.prefix}${this._maskService.placeHolderCharacter}
9${r.value.split(this.prefix).join("").split(this.suffix).join("")}${this.suffix}`,a=a-1;else{let q=r.value.substring(0,a),ge=r.value.substring(a);this._maskService.actualValue=`${q}${this._maskService.placeHolderCharacter}${ge}`}}this._code!=="Backspace"&&(!M&&!E&&S?a=Number(r.selectionStart)-1:this._maskService.specialCharacters.includes(r.value.slice(a,a+1))&&E&&!this._maskService.specialCharacters.includes(r.value.slice(a+1,a+2))?(this._maskService.actualValue=`${r.value.slice(0,a-1)}${r.value.slice(a,a+1)}${h}${r.value.slice(a+2)}`,a=a+1):M?r.value.length===1&&a===1?this._maskService.actualValue=`${this.prefix}${h}${this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)}${this.suffix}`:this._maskService.actualValue=`${r.value.slice(0,a-1)}${h}${r.value.slice(a+1).split(this.suffix).join("")}${this.suffix}`:this.prefix&&r.value.length===1&&a-_===1&&this._maskService._checkSymbolMask(r.value,this._maskService.maskExpression[a-1-_]??"")&&(this._maskService.actualValue=`${this.prefix}${r.value}${this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)}${this.suffix}`))}let s=0,l=!1;if(this._code==="Delete"&&(this._maskService.deletedSpecialCharacter=!0),this._inputValue.length>=this._maskService.maskExpression.length-1&&this._code!=="Backspace"&&this._maskService.maskExpression==="d0/M0/0000"&&a<10){let h=this._inputValue.slice(a-1,a);r.value=this._inputValue.slice(0,a-1)+h+this._inputValue.slice(a+1)}if(this._maskService.maskExpression==="d0/M0/0000"&&this.leadZeroDateTime&&(a<3&&Number(r.value)>31&&Number(r.value)<40||a===5&&Number(r.value.slice(3,5))>12)&&(a=a+2),this._maskService.maskExpression==="Hh:m0:s0"&&this.apm&&(this._justPasted&&r.value.slice(0,2)==="00"&&(r.value=r.value.slice(1,2)+r.value.slice(2,r.value.length)),r.value=r.value==="00"?"0":r.value),this._maskService.applyValueChanges(a,this._justPasted,this._code==="Backspace"||this._code==="Delete",(h,_)=>{this._justPasted=!1,s=h,l=_}),this._getActiveElement()!==r)return;if(this._maskService.plusOnePosition&&(a=a+1,this._maskService.plusOnePosition=!1),this._maskExpressionArray.length)if(this._code==="Backspace"){let h=this.specialCharacters.includes(this._maskService.actualValue.slice(a-1,a)),_=this.specialCharacters.includes(this._maskService.actualValue.slice(a,a+1));this._allowFewMaskChangeMask&&!_?(a=r.selectionStart+1,this._allowFewMaskChangeMask=!1):a=h?a-1:a}else a=r.selectionStart===1?r.selectionStart+this._maskService.prefix.length:r.selectionStart;this._position=this._position===1&&this._inputValue.length===1?null:this._position;let d=this._position?this._inputValue.length+a+s:a+(this._code==="Backspace"&&!l?0:s);d>this._getActualInputLength()&&(d=r.value===this._maskService.decimalMarker&&r.value.length===1?this._getActualInputLength()+1:this._getActualInputLength()),d<0&&(d=0),r.setSelectionRange(d,d),this._position=null}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof o);else{if(!this._maskValue){this.onChange(r.value);return}this._maskService.applyValueChanges(r.value.length,this._justPasted,this._code==="Backspace"||this._code==="Delete")}}onCompositionStart(){this._isComposing=!0}onCompositionEnd(n){this._isComposing=!1,this._justPasted=!0,this.onInput(n)}onBlur(n){if(this._maskValue){let r=n.target;if(this.leadZero&&r.value.length>0&&typeof this.decimalMarker=="string"){let o=this._maskService.maskExpression,a=Number(this._maskService.maskExpression.slice(o.length-1,o.length));if(a>0){r.value=this.suffix?r.value.split(this.suffix).join(""):r.value;let s=r.value.split(this.decimalMarker)[1];r.value=r.value.includes(this.decimalMarker)?r.value+"0".repeat(a-s.length)+this.suffix:r.value+this.decimalMarker+"0".repeat(a)+this.suffix,this._maskService.actualValue=r.value}}this._maskService.clearIfNotMatchFn()}this._isFocused=!1,this.onTouch()}onClick(n){if(!this._maskValue)return;let r=n.target,o=0,a=0;r!==null&&r.selectionStart!==null&&r.selectionStart===r.selectionEnd&&r.selectionStart>this._maskService.prefix.length&&n.keyCode!==38&&this._maskService.showMaskTyped&&!this.keepCharacterPositions&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),r.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===r.value?(r.focus(),r.setSelectionRange(o,a)):r.selectionStart>this._maskService.actualValue.length&&r.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));let s=r&&(r.value===this._maskService.prefix?this._maskService.prefix+this._maskService.maskIsShown:r.value);if(r&&r.value!==s&&(r.value=s),r&&r.type!=="number"&&(r.selectionStart||r.selectionEnd)<=this._maskService.prefix.length){r.selectionStart=this._maskService.prefix.length;return}r&&r.selectionEnd>this._getActualInputLength()&&(r.selectionEnd=this._getActualInputLength())}onKeyDown(n){if(!this._maskValue)return;if(this._isComposing){n.key==="Enter"&&this.onCompositionEnd(n);return}
9this._code=n.code?n.code:n.key;let r=n.target;if(this._inputValue=r.value,this._setMask(),r.type!=="number"){if(n.key==="ArrowUp"&&n.preventDefault(),n.key==="ArrowLeft"||n.key==="Backspace"||n.key==="Delete"){if(n.key==="Backspace"&&r.value.length===0&&(r.selectionStart=r.selectionEnd),n.key==="Backspace"&&r.selectionStart!==0){if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&r.selectionStart<=this.prefix.length)r.setSelectionRange(this.prefix.length,r.selectionEnd);else if(this._inputValue.length!==r.selectionStart&&r.selectionStart!==1)for(;this.specialCharacters.includes((this._inputValue[r.selectionStart-1]??"").toString())&&(this.prefix.length>=1&&r.selectionStart>this.prefix.length||this.prefix.length===0);)r.setSelectionRange(r.selectionStart-1,r.selectionEnd)}this.checkSelectionOnDeletion(r),this._maskService.prefix.length&&r.selectionStart<=this._maskService.prefix.length&&r.selectionEnd<=this._maskService.prefix.length&&n.preventDefault();let o=r.selectionStart;n.key==="Backspace"&&!r.readOnly&&o===0&&r.selectionEnd===r.value.length&&r.value.length!==0&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length<r.selectionStart?r.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length):(n.code==="KeyA"&&n.ctrlKey||n.code==="KeyA"&&n.metaKey)&&(r.setSelectionRange(0,this._getActualInputLength()),n.preventDefault()),this._maskService.selStart=r.selectionStart,this._maskService.selEnd=r.selectionEnd}}writeValue(n){return Kt(this,null,function*(){if(typeof n=="object"&&n!==null&&"value"in n&&("disable"in n&&this.setDisabledState(!!n.disable),n=n.value),n!==null&&(n=this.inputTransformFn?this.inputTransformFn(n):n),typeof n=="string"||typeof n=="number"||n===null||n===void 0){(n==null||n==="")&&(this._maskService._currentValue="",this._maskService._previousValue="");let r=n;if(typeof r=="number"||this._maskValue.startsWith("separator")){r=String(r);let o=this._maskService.currentLocaleDecimalMarker();Array.isArray(this._maskService.decimalMarker)||(r=this._maskService.decimalMarker!==o?r.replace(o,this._maskService.decimalMarker):r),this._maskService.leadZero&&r&&this.maskExpression&&this.dropSpecialCharacters!==!1&&(r=this._maskService._checkPrecision(this._maskService.maskExpression,r)),(this.decimalMarker===","||Array.isArray(this._maskService.decimalMarker)&&this.thousandSeparator===".")&&(r=r.toString().replace(".",",")),this.maskExpression?.startsWith("separator")&&this.leadZero&&requestAnimationFrame(()=>{this._maskService.applyMask(r?.toString()??"",this._maskService.maskExpression)}),this._maskService.isNumberValue=!0}typeof r!="string"&&(r=""),this._inputValue=r,this._setMask(),r&&this._maskService.maskExpression||this._maskService.maskExpression&&(this._maskService.prefix||this._maskService.showMaskTyped)?(typeof this.inputTransformFn!="function"&&(this._maskService.writingValue=!0),this._maskService.formElementProperty=["value",this._maskService.applyMask(r,this._maskService.maskExpression)],typeof this.inputTransformFn!="function"&&(this._maskService.writingValue=!1)):this._maskService.formElementProperty=["value",r],this._inputValue=r}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof n)})}registerOnChange(n){this._maskService.onChange=this.onChange=n}registerOnTouched(n){this.onTouch=n}_getActiveElement(n=this.document){let r=n?.activeElement?.shadowRoot;return r?.activeElement?this._getActiveElement(r):n.activeElement}checkSelectionOnDeletion(n){n.selectionStart=Math.min(Math.max(this.prefix.length,n.selectionStart),this._inputValue.length-this.suffix.length),n.selectionEnd=Math.min(Math.max(this.prefix.length,n.selectionEnd),this._inputValue.length-this.suffix.length)}setDisabledState(n){this._maskService.formElementProperty=["disabled",n]}_applyMask(){this._maskService.maskExpression=this._maskService._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyM
9ask(this._inputValue,this._maskService.maskExpression)]}_validateTime(n){let r=this._maskValue.split("").filter(o=>o!==":").length;return n&&(+(n[n.length-1]??-1)==0&&n.length<r||n.length<=r-2)?this._createValidationError(n):null}_getActualInputLength(){return this._maskService.actualValue.length||this._maskService.actualValue.length+this._maskService.prefix.length}_createValidationError(n){return{mask:{requiredMask:this._maskValue,actualValue:n}}}_setMask(){this._maskExpressionArray.some(n=>{if(n.split("").some(o=>this._maskService.specialCharacters.includes(o))&&this._inputValue&&this._areAllCharactersInEachStringSame(this._maskExpressionArray)||n.includes("{")){let o=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(n)?.length;if(o)return this._maskValue=this.maskExpression=this._maskService.maskExpression=n.includes("{")?this._maskService._repeatPatternSymbols(n):n,o;{this._code==="Backspace"&&(this._allowFewMaskChangeMask=!0);let a=this._maskExpressionArray[this._maskExpressionArray.length-1]??"";this._maskValue=this.maskExpression=this._maskService.maskExpression=a.includes("{")?this._maskService._repeatPatternSymbols(a):a}}else{let o=this._maskService.removeMask(this._inputValue)?.split("").every((a,s)=>{let l=n.charAt(s);return this._maskService._checkSymbolMask(a,l)});if(o||this._justPasted)return this._maskValue=this.maskExpression=this._maskService.maskExpression=n,o}})}_areAllCharactersInEachStringSame(n){let r=this._maskService.specialCharacters;function o(s){let l=new RegExp(`[${r.map(d=>`\\${d}`).join("")}]`,"g");return s.replace(l,"")}return n.map(o).every(s=>new Set(s).size===1)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Qe({type:e,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(r,o){r&1&&B("paste",function(){return o.onPaste()})("focus",function(s){return o.onFocus(s)})("ngModelChange",function(s){return o.onModelChange(s)})("input",function(s){return o.onInput(s)})("compositionstart",function(s){return o.onCompositionStart(s)})("compositionend",function(s){return o.onCompositionEnd(s)})("blur",function(s){return o.onBlur(s)})("click",function(s){return o.onClick(s)})("keydown",function(s){return o.onKeyDown(s)})},inputs:{maskExpression:[gt.None,"mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",leadZero:"leadZero",triggerOnMaskChange:"triggerOnMaskChange",apm:"apm",inputTransformFn:"inputTransformFn",outputTransformFn:"outputTransformFn",keepCharacterPositions:"keepCharacterPositions"},outputs:{maskFilled:"maskFilled"},exportAs:["mask","ngxMask"],standalone:!0,features:[ei([{provide:xs,useExisting:e,multi:!0},{provide:Yo,useExisting:e,multi:!0},c0]),tn]});let t=e;return t})();var a1=(()=>{let e=class e{constructor(){this.help="",this.disabled=!1}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=T({type:e,selectors:[["app-tooltip"]],inputs:{help:"help",disabled:"disabled"},standalone:!0,features:[k],decls:8,vars:3,consts:[[1,"box-tooltip"],["width","15","height","15","viewBox","0 0 15 15","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7 0.5C10.8598 0.5 14 3.64018 14 7.5C14 11.3598 10.8598 14.5 7 14.5C3.14018 14.5 0 11.3598 0 7.5C0 3.64018 3.14018 0.5 7 0.5ZM7 13.3C10.1981 13.3 12.8 10.6981 12.8 7.5C12.8 4.30187 10.1981 1.7 7 1.7C3.80187 1.7 1.2 4.30187 1.2 7.5C1.2 10.6981 3.80187 13.3 7 13.3Z","fill","#989898"],["d","M7.00839 4.89922H7.00039C6.66902 4.89922 6.40039 4.63059 6.40039 4.29922C6.40039 3.96785 6.66902 3.69922 7.00039 3.69922H7.00839C7.33976 3.69922 7.60839 3.96785 7.60839 4.29922C7.60839 4.63059 7.33976 4.89922 7.00839 4.89922Z","fill","#989898"],["d","M7.79961 11.3004H6.99961C6.66824 11.3004 6.39961 11.0318 6.39961 10.7004V8.10039H6.19961C5.86824 8.10039 5.59961 7.83176 5.59961 7.50039C5.59961 7.16902 5.86824 6.90039 6.19961 6.90039H6.99961C7.33098 6.90039 7.59961 7.16902 7.59961 7.50039V10.1004H7.79961C8.13098 10.1004 8.39961 10.369 8.39961 10.7004C8.39961 11.0318 8.13098 11.3004 7.79961 11.3004Z","fill","#989898"],[1,"msg"]],template:function(r,o){r&1&&(p(0,"div",0),Zn(),p(1,"svg",1),g(2,"path",2)(3,"path",3)(4,"path",4),u(),To(),p(5,"div",5)(6,"p"),b(7),u(
9)()()),r&2&&(F("disabled",o.disabled),c(7),I(" ",o.help," "))},styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.box-tooltip[_ngcontent-%COMP%]{position:relative}.box-tooltip[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{transform:translateY(3px)}.box-tooltip[_ngcontent-%COMP%]   .msg[_ngcontent-%COMP%]{display:none;top:3px;left:20px;position:absolute;width:240px;background-color:var(--gray-04);padding:4px 8px;border-radius:4px;min-width:fit-content;z-index:100;word-break:break-word}.box-tooltip[_ngcontent-%COMP%]   .msg[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:.75rem;color:var(--gray-01)}.box-tooltip[_ngcontent-%COMP%]   .msg[_ngcontent-%COMP%]:before{content:"";top:4px;left:-3px;position:absolute;width:8px;height:8px;transform:rotate(-130deg);background-color:var(--gray-04)}.box-tooltip[_ngcontent-%COMP%]:hover   .msg[_ngcontent-%COMP%]{display:block}.box-tooltip.disabled[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   path[_ngcontent-%COMP%]{fill:var(--gray-03)}']});let t=e;return t})();function O4(t,e){t&1&&(p(0,"span",2),b(1,"*"),u())}function P4(t,e){if(t&1&&g(0,"app-tooltip",3),t&2){let i=C();f("help",i.help)("disabled",i.disabled)}}function E4(t,e){if(t&1&&(p(0,"span",4),b(1),u()),t&2){let i=C();c(),dn(" ",i.ngControl.value.length,"/",i.maxLength,"")}}var mr=(()=>{let e=class e{constructor(){this.required=!0,this.disabled=!1}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=T({type:e,selectors:[["app-header-inputs"]],inputs:{ngControl:"ngControl",id:"id",label:"label",help:"help",maxLength:"maxLength",required:"required",disabled:"disabled"},standalone:!0,features:[k],decls:6,vars:7,consts:[[1,"header-input"],[3,"for"],[1,"required"],[3,"help","disabled"],[1,"maxLength"]],template:function(r,o){r&1&&(p(0,"div",0)(1,"label",1),b(2),u(),O(3,O4,2,0,"span",2)(4,P4,1,2,"app-tooltip",3)(5,E4,2,2,"span",4),u()),r&2&&(F("disabled",o.disabled),c(),f("for",o.id),c(),I(" ",o.label," "),c(),w(3,o.required?3:-1),c(),w(4,o.help?4:-1),c(),w(5,o.maxLength?5:-1))},dependencies:[a1],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;
9height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.header-input[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:flex-start;margin-bottom:8px;gap:6px}.header-input[_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .header-input[_ngcontent-%COMP%]   .required[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06)}.header-input[_ngcontent-%COMP%]   .maxLength[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);margin:0 0 0 auto}.header-input.disabled[_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .header-input.disabled[_ngcontent-%COMP%]   .maxLength[_ngcontent-%COMP%], .header-input.disabled[_ngcontent-%COMP%]   .required[_ngcontent-%COMP%]{color:var(--gray-03)}']});let t=e;return t})();var Pi=(()=>{let e=class e{constructor(){this.isError=!1}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function S4(t,e){if(t&1){let i=ne();p(0,"i",7),B("click",function(){Q(i);let r=C(2);return Z(r.viewPassword())}),g(1,"img",8),u()}if(t&2){let i=C(2);c(),f("src",i.urlIcon,L)}}function I4(t,e){if(t&1){let i=ne();p(0,"li",10),B("click",function(r){Q(i);let o=C(3);return Z(o.changeItemList(r))}),b(1),u()}if(t&2){let i=e.$implicit,n=e.$index;Nt("id",i.id?i.id:n),c(),I(" ",i.value," ")}}function T4(t,e){if(t&1&&(p(0,"ul",9),A(1,I4,2,2,"li",null,yi),u()),t&2){let i=C(2);F("active",i.activeList)("isActiveOptionsUp",i.isActiveOptionsUp),c(),N(i.options)}}function D4(t,e){if(t&1){let i=ne();p(0,"div",2)(1,"input",4),Pc("ngModelChange",function(r){Q(i);let o=C();return fg(o.value,r)||(o.value=r),Z(r)}),B("input",function(r){Q(i);let o=C();return Z(o.onInputChange(r))})("blur",function(){Q(i);let r=C();return Z(r.closeList())}),u(),O(2,S4,2,1,"i",5)(3,T4,3,4,"ul",6),u()}if(t&2){let i=C();c(),f("disabled",i.disabled),Oc("ngModel",i.value),f("autocomplete",i.autoComplete?"on":"new-password")("mask",i.mask)("name",i.label+"-"+i.id),Nt("id",i.id)("placeholder",i.placeholder)("type",i.type==="search"?"text":i.type)("maxlength",i.maxLength?i.maxLength:""),c(),w(2,i.iconPassword?2:-1),c(),w(3,i.options.length>0?3:-1)}}function k4(t,e){if(t&1){let i=ne();p(0,"div",11)(1,"textarea",12),Pc("ngModelChange",function(r){Q(i);let o=C();return fg(o.value,r)||(o.value=r),Z(r)}),B("input",function(r){Q(i);let o=C();return Z(o.onInputChange(r))}),b(2," "),u()()}if(t&2){let i=C();c(),f("disabled",i.disabled),Oc("ngModel",i.value),f("autocomplete",i.autoComplete?"on":"new-password"),Nt("id",i.id)("placeholder",i.placeholder)}}function A4(t,e){if(t&1&&(p(0,"span",3)(1,"figure"),g(2,"img",13),u(),b(3),u()),t&2){let i=C();c(3),I(" ",i.messageError," ")}}var ea=(()=>{let e=class e{constructor(n,r,o){this.configForm=n,this.el=r,this.cd=o,this.onSearch=new _e,this.onKeyup=new _e,this.onChange=new _e,this.id="",this.placeholder="Digite o texto",this.value="",this.type="text",this.disabled=!1,this.autoComplete=!1,this.required=!0,this.listOptions=[],this.isError=!1,this.urlIcon="assets/img/icons/show.svg",this.messageError="",this.iconPassword=!1,this.activeList=!1,this.isActiveOptionsUp=!1,this.options=[]}ngOnInit(){this.iconPassword=this.type==="password",this.checkError()}onInputChange(n){this.ngControl&&(this.ngControl.setValue(n.target.value),this.value=n.target.value),this.checkError(),this.activeList=!0,this.activeOptionsUp(n),this.onKeyup.emit(n)}
9checkError(){return this.ngControl?(this.ngControl.errors&&(this.ngControl.errors.required?this.messageError="Este campo \xE9 obrigat\xF3rio":this.messageError=this.ngControl.errors.message),this.ngControl.invalid&&this.ngControl.value!==""):!1}viewPassword(){this.type=="text"?this.type="password":this.type="text",this.type=="text"?this.urlIcon="assets/img/icons/hide.svg":this.urlIcon="assets/img/icons/show.svg"}clearValue(){this.ngControl&&this.ngControl.setValue(""),this.value="",this.onSearch.emit(this.ngControl?this.ngControl.value:this.value)}search(){this.onSearch.emit(this.ngControl.value)}activeOptionsUp(n){this.listOptions&&setTimeout(()=>{if(this.listOptions.length>0){this.options=this.listOptions;let r=this.el.nativeElement.getBoundingClientRect(),o=document.querySelector("body");if(o){let a=o.getBoundingClientRect(),s=this.listOptions.length>=6?7:this.listOptions.length;r.bottom+s*150>a.bottom?this.isActiveOptionsUp=!0:this.isActiveOptionsUp=!1}}if(n&&this.listOptions.length>0){let r=n.target.value.toLowerCase(),o=this.listOptions.filter(a=>{if(!a.value)return!1;let s=a.value.toLowerCase();return r===s.substring(0,r.length)});this.options=o}},0)}changeItemList(n){clearTimeout(this.blurTimeout),this.activeList=!1,this.value=n.target.innerText,this.ngControl&&this.ngControl.setValue(n.target.innerText),this.onChange.emit(n)}closeList(){this.blurTimeout=setTimeout(()=>{this.activeList=!1},500)}};e.\u0275fac=function(r){return new(r||e)(m(Pi),m($e),m(xn))},e.\u0275cmp=T({type:e,selectors:[["app-input"]],inputs:{ngControl:"ngControl",id:"id",label:"label",placeholder:"placeholder",value:"value",type:"type",disabled:"disabled",autoComplete:"autoComplete",required:"required",maxLength:"maxLength",help:"help",mask:"mask",listOptions:"listOptions"},outputs:{onSearch:"onSearch",onKeyup:"onKeyup",onChange:"onChange"},standalone:!0,features:[k],decls:5,vars:15,consts:[[1,"container-input"],[3,"label","disabled","id","help","maxLength","required","ngControl"],[1,"input"],[1,"msg-error"],[3,"ngModelChange","input","blur","disabled","ngModel","autocomplete","mask","name"],[1,"icon-password"],[1,"list",3,"active","isActiveOptionsUp"],[1,"icon-password",3,"click"],["alt","\xCDcone senha",3,"src"],[1,"list"],[3,"click"],[1,"textarea"],[3,"ngModelChange","input","disabled","ngModel","autocomplete"],["src","/assets/img/icons/triangle-error-input.svg","alt",""]],template:function(r,o){r&1&&(p(0,"div",0),g(1,"app-header-inputs",1),O(2,D4,4,11,"div",2)(3,k4,3,5)(4,A4,4,1,"span",3),u()),r&2&&(F("error",o.checkError()||o.configForm.isError&&o.ngControl.invalid)("disabled",o.disabled)("search",o.type==="search"),c(),f("label",o.label)("disabled",o.disabled)("id",o.id)("help",o.help)("maxLength",o.maxLength)("required",o.required)("ngControl",o.ngControl),c(),w(2,o.type!="textarea"?2:3),c(2),w(4,o.type!="search"?4:-1))},dependencies:[Ye,pn,hr,Qo,e0,zt,o1,mr],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.container-input[_ngcontent-%COMP%]{width:100%}.container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%], .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]{position:relative}.container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%], .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{width:100%;height:56px;font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);padding:16px;border-radius:16px;border:1px solid var(--gray-03);transition:all .2s}.container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::placeholder, .container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]::placeholder, .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::placeholder, .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]::placeholder{color:var(--gray-04)}.container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:hover, .container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:hover, .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:hover, .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:hover{background-color:var(--gray-02)}.container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus, .container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus, .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus, .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus{border:1px solid var(--gray-06);background:var(--gray-01)}.container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:not(:placeholder-shown), .container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:not(:placeholder-shown), .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:not(:placeholder-shown), .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:not(:placeholder-shown){border:1px solid var(--gray-06);color:var(--gray-06)}.container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%], .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{resize:none;height:160px}.container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .icon-password[_ngcontent-%COMP%], .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   .icon-password[_ngcontent-%COMP%]{position:absolute;top:2px;right:0;display:block;width:100%;max-width:32px;
9cursor:pointer}.container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%], .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{top:calc(100% + 8px);position:absolute;list-style:none;width:100%;max-height:165px;border-radius:8px;border:1px solid var(--gray-03);background:var(--gray-01);box-shadow:0 6px 20px #0003;z-index:999;padding:8px;overflow:auto;display:none;opacity:0}.container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:.875rem;color:var(--gray-04);padding:10px 14px;cursor:pointer}.container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover, .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:var(--gray-02);border-radius:8px}.container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .list.active.active[_ngcontent-%COMP%], .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   .list.active.active[_ngcontent-%COMP%]{display:block;opacity:1}.container-input[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .list.active.isActiveOptionsUp[_ngcontent-%COMP%], .container-input[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   .list.active.isActiveOptionsUp[_ngcontent-%COMP%]{top:calc(100% + 8px)}.container-input[_ngcontent-%COMP%]   .msg-error[_ngcontent-%COMP%]{margin-top:4px;display:flex;align-items:center;justify-content:flex-start;gap:4px;visibility:hidden;transition:all .2s;font-family:regular;font-weight:400;font-style:normal;font-size:.75rem;color:var(--red)}.container-input[_ngcontent-%COMP%]   .msg-error[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{width:100%;max-width:10px}.container-input.error[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .container-input.error[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%], .container-input.error[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .container-input.error[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{border:1px solid var(--red)}.container-input.error[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus, .container-input.error[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus, .container-input.error[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus, .container-input.error[_ngcontent-%COMP%]   .textarea[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus{box-shadow:none}.container-input.error[_ngcontent-%COMP%]   .msg-error[_ngcontent-%COMP%]{visibility:visible}.container-input.disabled[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:1px solid var(--gray-03);background:var(--gray-02)}.container-input.disabled[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{box-shadow:none}.container-input.search[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:8px;position:relative}.container-input.search[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding:8px 30px}.container-input.search[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .icon-search[_ngcontent-%COMP%]{position:absolute;top:55%;left:10px;display:block;width:100%;max-width:15px;transform:translateY(-50%)}.container-input.search[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .icon-search[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:80%}.container-input.search[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .icon-clear[_ngcontent-%COMP%]{position:absolute;top:2px;right:48px;display:block;width:100%;max-width:32px;cursor:pointer}.container-input.search[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]:before{content:"";top:50%;left:7px;position:absolute;width:16px;height:16px;background-image:url(/assets/img/icons/magnifying.svg);background-position:center;background-size:cover;background-repeat:no-repeat;transform:translateY(-50%)}']});let t=e;return t})();function N4(t,e){if(t&1){let i=ne();p(0,"div",0)(1,"label",1)(2,"input",2),B("change",function(r){Q(i);let o=C();return Z(o.handleChange(r))}),u(),g(3,"span",3),b(4),u()()}if(t&2){let i=C();c(2),f("checked",i.checked),c(2),I(" ",i.label,"")}}function R4(t,e){if(t&1){let i=ne();p(0,"div",4)(1,"label",5)(2,"input",6),B("change",function(r){Q(i);let o=C();return Z(o.handleChange(r))}),u(),b(3),u()()}if(t&2){let i=C();F("small",i.size==="small"),c(),f("for",i.id),c(),f("id",i.id)("checked",i.checked),c(),I(" ",i.label," ")}}var ta=(()=>{let e=class e{constructor(){this.checked=!1,this.type="default",this.size="medium",this.label="",this.id="",this.onChange=new _e}ngOnInit(){this.ngControl&&(this.checked=this.ngControl.value)}handleChange(n){if(this.ngControl){this.ngControl.setValue(n.target.checked),this.onChange.emit(n);return}this.onChange.emit(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=T({type:e,selectors:[["app-checkbox"]],inputs:{ngControl:"ngControl",checked:"checked",type:"type",size:"size",label:"label",id:"id"},outputs:{onChange:"onChange"}
9,standalone:!0,features:[k],decls:2,vars:1,consts:[[1,"checkbox"],[1,"label-input"],["type","checkbox",1,"input-checkbox-square",3,"change","checked"],[1,"checkmark"],[1,"toggle"],[1,"label-input",3,"for"],["type","checkbox",1,"input-checkbox",3,"change","id","checked"]],template:function(r,o){r&1&&O(0,N4,5,2,"div",0)(1,R4,4,6),r&2&&w(0,o.type==="default"?0:o.type==="toggle"?1:-1)},styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.checkbox[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:.875rem;color:var(--gray-06);cursor:pointer;display:flex;align-items:stretch;justify-content:flex-start;position:relative;gap:8px}.checkbox[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]   .input-checkbox-square[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;width:16px;height:16px;visibility:hidden;cursor:pointer;appearance:initial}.checkbox[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]   .input-checkbox-square[_ngcontent-%COMP%]:before{content:"";position:absolute;width:16px;height:16px;border-radius:4px;background:var(--gray-01);border:1px solid var(--gray-04);visibility:initial;transition:.3s}.checkbox[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]   .input-checkbox-square[_ngcontent-%COMP%]:checked:before{background-color:var(--orange);border:1px solid var(--orange)}.checkbox[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]   .checkmark[_ngcontent-%COMP%]{position:absolute;display:none;left:7px;top:2px;width:4px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.checkbox[_ngcontent-%COMP%]:hover   .label-input[_ngcontent-%COMP%]   .input-checkbox-square[_ngcontent-%COMP%]:before{box-shadow:0 0 0 3px var(--orange)}.label-input[_ngcontent-%COMP%]   .input-checkbox-square[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]{display:block}.toggle[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;display:block;font-size:.875rem;color:var(--gray-06);cursor:pointer;display:flex;align-items:center;justify-content:flex-start;gap:8px}.toggle[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]   .input-checkbox[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;width:40px;height:18px;visibility:hidden;cursor:pointer;appearance:initial}.toggle[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]   .input-checkbox[_ngcontent-%COMP%]:before{content:"";position:absolute;width:40px;height:24px;border-radius:40px;background:var(--gray-01);visibility:initial;border:2px solid var(--gray-06)}.toggle[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]   .input-checkbox[_ngcontent-%COMP%]:after{content:"";position:absolute;
9left:3px;width:18px;height:18px;border-radius:50%;background:var(--gray-06);visibility:initial;transform:translate(0);transition:all .2s ease}.toggle[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]   .input-checkbox[_ngcontent-%COMP%]:checked:before{background:var(--gray-06)}.toggle[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]   .input-checkbox[_ngcontent-%COMP%]:checked:after{background:var(--gray-01);transform:translate(calc(34px - 100%))}.toggle.small[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]   .input-checkbox[_ngcontent-%COMP%]{width:24px;height:12px}.toggle.small[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]   .input-checkbox[_ngcontent-%COMP%]:before{width:20px;height:12px}.toggle.small[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]   .input-checkbox[_ngcontent-%COMP%]:after{left:4px;width:8px;height:8px}.toggle.small[_ngcontent-%COMP%]   .label-input[_ngcontent-%COMP%]   .input-checkbox[_ngcontent-%COMP%]:checked:after{transform:translate(calc(15px - 100%))}']});let t=e;return t})();var L4=["searchInput"];function F4(t,e){if(t&1){let i=ne();p(0,"li",12),B("click",function(){let r=Q(i).$implicit,o=C(2);return Z(o.selectOption(r))}),b(1),u()}if(t&2){let i=e.$implicit;f("id",i.id),c(),I(" ",i.value," ")}}function B4(t,e){if(t&1){let i=ne();p(0,"div",1),g(1,"app-header-inputs",2),p(2,"div",3)(3,"div",4),B("click",function(){Q(i);let r=C();return Z(r.handleOpenCloseList())}),p(4,"span",5),b(5),u()()(),p(6,"span",6)(7,"figure"),g(8,"img",7),u(),b(9),u(),p(10,"ul",8)(11,"li",9)(12,"input",10,0),B("keyup",function(r){Q(i);let o=C();return Z(o.filter(r))}),u()(),A(14,F4,2,2,"li",11,yi),u()()}if(t&2){let i=C();F("activeList",i.activeList)("optionSelected",i.isOptionSelected)("error",i.handleIsError||i.configForm.isError&&i.ngControl.invalid)("disabled",i.disabled)("optionsUp",i.isActiveOptionsUp),f("id",i.id),c(),f("label",i.label)("disabled",i.disabled)("id",i.id)("help",i.help)("required",i.required)("ngControl",i.ngControl),c(4),I(" ",i.placeholder," "),c(4),I(" ",i.messageError," "),c(5),N(i.listOptions)}}function j4(t,e){if(t&1){let i=ne();p(0,"li",12),B("click",function(){Q(i);let r=C().$implicit,o=C(3);return Z(o.removeSelectValue(r.id))}),b(1),p(2,"figure"),g(3,"img",16),u()()}if(t&2){let i=C().$implicit;f("id",i.id),c(),I(" ",i.value," ")}}function V4(t,e){if(t&1&&O(0,j4,4,2,"li",11),t&2){let i=e.$implicit;w(0,i.active?0:-1)}}function U4(t,e){if(t&1&&(p(0,"ul",14),A(1,V4,1,1,null,null,yi),u()),t&2){let i=C(2);c(),N(i.listSelected)}}function H4(t,e){if(t&1&&(p(0,"span",5),b(1),u()),t&2){let i=C(2);c(),I(" ",i.placeholder," ")}}function z4(t,e){if(t&1){let i=ne();p(0,"li")(1,"app-checkbox",17),B("onChange",function(r){let o=Q(i).$implicit,a=C(2);return Z(a.selectOptionAll(o,r))}),u()()}if(t&2){let i=e.$implicit;c(),f("label",i.value)("id",i.id)("checked",i.active)}}function $4(t,e){if(t&1){let i=ne();p(0,"div",13),g(1,"app-header-inputs",2),p(2,"div",3)(3,"div",4),B("click",function(){Q(i);let r=C();return Z(r.handleOpenCloseList())}),O(4,U4,3,0,"ul",14)(5,H4,2,1),u()(),p(6,"span",6)(7,"figure"),g(8,"img",7),u(),b(9),u(),p(10,"ul",8)(11,"li",9)(12,"input",15,0),B("keyup",function(r){Q(i);let o=C();return Z(o.filter(r))}),u()(),A(14,z4,2,3,"li",null,yi),u()()}if(t&2){let i=C();F("activeList",i.activeList)("optionSelected",i.isOptionSelected)("error",i.handleIsError||i.configForm.isError&&i.ngControl.invalid)("disabled",i.disabled)("optionsUp",i.isActiveOptionsUp),c(),f("label",i.label)("disabled",i.disabled)("id",i.id)("help",i.help)("required",i.required)("ngControl",i.ngControl),c(3),w(4,i.listSelected.length>0?4:5),c(5),I(" ",i.messageError," "),c(5),N(i.listOptions)}}var na=(()=>{let e=class e{constructor(n,r){this.el=n,this.configForm=r,this.onChange=new _e,this.type="single",this.placeholder="Selecione",this.required=!0,this.disabled=!1,this.backupListOptions=[],this.activeList=!1,this.isActiveOptionsUp=!1,this.isOptionSelected=!1,this.handleIsError=!1,this.messageError="Selecione uma op\xE7\xE3o v\xE1lida.",this.listSelected=[]}ngOnInit(){this.backupListOptions=this.listOptions,this.validateValue()}
9validateValue(){if(this.listOptions){if(this.type==="single"){let n=this.listOptions.find(r=>this.ngControl.value===r.id);if(n){this.placeholder=n.value,this.isOptionSelected=!0;return}else this.placeholder=this.placeholder,this.isOptionSelected=!1}if(this.type==="multiple"){let n=this.ngControl.value?this.ngControl.value:[];this.listOptions.forEach(r=>{r.active=n.includes(r.id)}),this.listSelected=this.listOptions.filter(r=>r.active)}this.checkError()}}handleOpenCloseList(){if(this.activeList=!this.activeList,!this.activeList||!this.listOptions)return;this.activeList&&setTimeout(()=>{this.searchInput.nativeElement.focus()},0);let n=document.querySelector("body"),r=this.el.nativeElement.getBoundingClientRect(),o=n?.getBoundingClientRect();if(o){let a=Math.min(this.listOptions.length,6);r.bottom+a*50>o.bottom?this.isActiveOptionsUp=!0:this.isActiveOptionsUp=!1}this.closeList()}closeList(){let n=document.querySelector("body"),r=o=>{let a=o.target;this.el.nativeElement.contains(a)||(this.activeList=!1,n?.removeEventListener("click",r),this.handleIsError=this.checkError())};n?.addEventListener("click",r)}selectOption(n){this.activeList=!1,this.isOptionSelected=!0,this.placeholder=n.value,this.ngControl.setValue(n.id),this.onChange.emit(n.id),this.handleIsError=this.checkError()}selectOptionAll(n,r){r.target.checked?this.addSelectValue(n.id):this.removeSelectValue(n.id)}addSelectValue(n){let r=parseInt(n),o=this.ngControl.value||[];o.includes(r)||o.push(r),this.ngControl.setValue(o),this.onChange.emit(o),this.validateValue()}removeSelectValue(n){let o=(this.ngControl.value||[]).filter(a=>a!==parseInt(n));this.ngControl.setValue(o),this.onChange.emit(o),this.validateValue()}filter(n){if(this.listOptions=this.backupListOptions,!this.listOptions)return;let r=n.target.value.toLowerCase(),o=this.listOptions.filter(a=>{if(!a.value)return!1;let s=a.value.toLowerCase();return r===s.substring(0,r.length)});this.listOptions=o}checkError(){return this.ngControl.errors&&(this.messageError=this.ngControl.errors.message,this.ngControl.errors.required&&(this.messageError="Selecione uma op\xE7\xE3o v\xE1lida.")),this.ngControl.invalid}};e.\u0275fac=function(r){return new(r||e)(m($e),m(Pi))},e.\u0275cmp=T({type:e,selectors:[["app-select"]],viewQuery:function(r,o){if(r&1&&wt(L4,5),r&2){let a;dt(a=ut())&&(o.searchInput=a.first)}},inputs:{ngControl:"ngControl",id:"id",type:"type",label:"label",placeholder:"placeholder",help:"help",required:"required",disabled:"disabled",listOptions:"listOptions",handleAdd:"handleAdd"},outputs:{onChange:"onChange"},standalone:!0,features:[k],decls:2,vars:1,consts:[["searchInput",""],[1,"container-input",3,"id"],[3,"label","disabled","id","help","required","ngControl"],[1,"row-box-select"],[1,"box-select",3,"click"],[1,"placeholder"],[1,"msg-error"],["src","/assets/img/icons/triangle-error-input.svg","alt",""],[1,"list"],[1,"input-search"],["type","text","placeholder","Pesquisar...","name","Pesquisar",3,"keyup"],[3,"id"],[3,"click","id"],[1,"container-input","multiple"],[1,"list-selected"],["type","text","placeholder","Pesquisar...",3,"keyup"],["src","/assets/img/icons/close-select-multiple.svg","alt",""],[3,"onChange","label","id","checked"]],template:function(r,o){if(r&1&&O(0,B4,16,19)(1,$4,16,18),r&2){let a;w(0,(a=o.type)==="single"?0:a==="multiple"?1:-1)}},dependencies:[mr,ta],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.container-input[_ngcontent-%COMP%]{position:relative}.container-input[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:8px}
9.container-input[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]{position:relative;width:100%;height:56px;border-radius:16px;border:1px solid var(--gray-03);transition:all .2s;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.container-input[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]   .placeholder[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-04);display:block;padding:16px 14px}.container-input[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]:after{content:"";position:absolute;width:16px;height:16px;right:14px;background-image:url(/assets/img/icons/arrow-down-select.svg);background-position:center;background-repeat:no-repeat;background-size:auto}.container-input[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{top:calc(100% - 10px);position:absolute;list-style:none;width:100%;max-height:210px;border-radius:8px;border:1px solid var(--gray-03);background:var(--gray-01);box-shadow:0 6px 20px #0003;z-index:999;padding:8px;overflow:auto;display:none;opacity:0}.container-input[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   .input-search[_ngcontent-%COMP%]{width:100%;position:relative;border:1px solid var(--gray-03);border-radius:8px;padding:0;margin-bottom:8px}.container-input[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   .input-search[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]{width:100%;font-family:regular;font-weight:400;font-style:normal;font-size:.875rem;color:var(--gray-06);padding:8px 30px;border-radius:8px;border:none}.container-input[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   .input-search[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]::placeholder{color:var(--gray-03)}.container-input[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   .input-search[_ngcontent-%COMP%]:before{content:"";position:absolute;width:10px;height:10px;left:10px;top:50%;transform:translateY(-50%);background-image:url(/assets/img/icons/magnifying-select.svg);background-position:center;background-repeat:no-repeat;background-size:cover}.container-input[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:10px 14px;font-family:regular;font-weight:400;font-style:normal;font-size:.875rem;color:var(--gray-04);cursor:pointer}.container-input[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:var(--gray-02);border-radius:8px}.container-input[_ngcontent-%COMP%]   .msg-error[_ngcontent-%COMP%]{margin-top:4px;display:flex;align-items:center;justify-content:flex-start;gap:4px;visibility:hidden;transition:all .2s;font-family:regular;font-weight:400;font-style:normal;font-size:.75rem;color:var(--red)}.container-input[_ngcontent-%COMP%]   .msg-error[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{width:100%;max-width:10px}.container-input.optionSelected[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]{border:1px solid var(--gray-06)}.container-input.optionSelected[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]   .placeholder[_ngcontent-%COMP%]{color:var(--gray-06)}.container-input.activeList[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{display:block;opacity:1}.container-input.activeList[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]{border:1px solid var(--gray-04);background:var(--gray-01)}.container-input.activeList[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]   .placeholder[_ngcontent-%COMP%]{color:var(--gray-03)}.container-input.error[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]{border:1px solid var(--red)}.container-input.error[_ngcontent-%COMP%]   .msg-error[_ngcontent-%COMP%]{visibility:visible}.container-input.disabled[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]{border:1px solid var(--gray-03);background:var(--gray-02);pointer-events:none;cursor:default}.container-input.optionsUp[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{top:auto;bottom:calc(100% - 15px)}.multiple[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]{min-height:38px;
9height:100%}.multiple[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]   .placeholder[_ngcontent-%COMP%]{padding:9px 14px}.multiple[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]   .list-selected[_ngcontent-%COMP%]{display:flex;list-style:none;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:4px;padding:6px 14px}.multiple[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]   .list-selected[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:.75rem;color:var(--gray-06);background-color:var(--orange-dark);padding:4px 8px;border-radius:4px;display:flex;align-items:center;justify-content:flex-start;gap:5px}.multiple[_ngcontent-%COMP%]   .row-box-select[_ngcontent-%COMP%]   .box-select[_ngcontent-%COMP%]   .list-selected[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{width:100%;max-width:6px;transform:translateY(-1px)}']});let t=e;return t})();var G4=new re("recaptcha-language"),q4=new re("recaptcha-base-url"),W4=new re("recaptcha-nonce-tag"),K4=new re("recaptcha-settings"),Y4=new re("recaptcha-v3-site-key"),Q4=new re("recaptcha-loader-options");function Z4(t,e,i,{url:n,lang:r,nonce:o}={}){window.ng2recaptchaloaded=()=>{i(grecaptcha)};let a=document.createElement("script");a.innerHTML="";let{url:s,nonce:l}=e(new URL(n||"https://www.google.com/recaptcha/api.js"));s.searchParams.set("render",t==="explicit"?t:t.key),s.searchParams.set("onload","ng2recaptchaloaded"),s.searchParams.set("trustedtypes","true"),r&&s.searchParams.set("hl",r),a.src=s.href;let d=l||o;d&&a.setAttribute("nonce",d),a.async=!0,a.defer=!0,document.head.appendChild(a)}function X4({v3SiteKey:t,onBeforeLoad:e,onLoaded:i}){let n=t?{key:t}:"explicit";s1.loadScript(n,e,i)}var s1={loadScript:Z4,newLoadScript:X4};function J4(t){return t.asObservable().pipe(ft(e=>e!==null))}var l1=(()=>{let e=class e{constructor(n,r,o,a,s,l){this.platformId=n,this.language=r,this.baseUrl=o,this.nonce=a,this.v3SiteKey=s,this.options=l;let d=this.init();this.ready=d?J4(d):pe()}init(){if(e.ready)return e.ready;if(!Xe(this.platformId))return;let n=new Pt(null);return e.ready=n,s1.newLoadScript({v3SiteKey:this.v3SiteKey,onBeforeLoad:r=>{if(this.options?.onBeforeLoad)return this.options.onBeforeLoad(r);let o=new URL(this.baseUrl??r);return this.language&&o.searchParams.set("hl",this.language),{url:o,nonce:this.nonce}},onLoaded:r=>{let o=r;this.options?.onLoaded&&(o=this.options.onLoaded(r)),n.next(o)}}),n}};e.ready=null,e.\u0275fac=function(r){return new(r||e)(x(De),x(G4,8),x(q4,8),x(W4,8),x(Y4,8),x(Q4,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})(),e9=0,Yd=(()=>{let e=class e{constructor(n,r,o,a){this.elementRef=n,this.loader=r,this.zone=o,this.id=`ngrecaptcha-${e9++}`,this.errorMode="default",this.resolved=new _e,this.error=new _e,this.errored=new _e,a&&(this.siteKey=a.siteKey,this.theme=a.theme,this.type=a.type,this.size=a.size,this.badge=a.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(n=>{n!=null&&n.render instanceof Function&&(this.grecaptcha=n,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){this.size==="invisible"&&(this.widget!=null?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){this.widget!=null&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}get __unsafe_widgetValue(){return this.widget!=null?this.grecaptcha.getResponse(this.widget):null}expired(){this.resolved.emit(null)}onError(n){this.error.emit(n),this.errored.emit(n)}captchaResponseCallback(n){this.resolved.emit(n)}grecaptchaReset(){this.widget!=null&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){let n={badge:this.badge,callback:r=>{this.zone.run(()=>this.captchaResponseCallback(r))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.t
9ype};this.errorMode==="handled"&&(n["error-callback"]=(...r)=>{this.zone.run(()=>this.onError(r))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,n),this.executeRequested===!0&&(this.executeRequested=!1,this.execute())}};e.\u0275fac=function(r){return new(r||e)(m($e),m(l1),m(Ke),m(K4,8))},e.\u0275cmp=T({type:e,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(r,o){r&2&&Nt("id",o.id)},inputs:{id:"id",siteKey:"siteKey",theme:"theme",type:"type",size:"size",tabIndex:"tabIndex",badge:"badge",errorMode:"errorMode"},outputs:{resolved:"resolved",error:"error",errored:"errored"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(r,o){},encapsulation:2});let t=e;return t})(),t9=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=vt({type:e}),e.\u0275inj=yt({});let t=e;return t})(),Qd=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=vt({type:e}),e.\u0275inj=yt({providers:[l1],imports:[t9]});let t=e;return t})();var d1=(()=>{let e=class e{constructor(n){this.BaseService=n}listFiles(){return this.BaseService.methodGet("gestao/cadastro-de-fornecedores","")}postForm(n){return this.BaseService.methodPost("gestao/cadastro-de-fornecedores",n,"")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var i9=["successMessage"];function r9(t,e){if(t&1&&(p(0,"div",5),g(1,"div",7)(2,"app-button",8),y(3,"translate"),u()),t&2){let i=e.$implicit;c(),f("innerHTML",i.description==null?null:i.description.description,J),c(),f("link",i.file==null?null:i.file.full_path)("download",!0)("isTargetBlank",!0)("label",v(3,5,"LABEL-BTN-DOWNLOAD"))}}function o9(t,e){if(t&1&&(Ge(0),p(1,"div",18),g(2,"app-input",19),y(3,"translate"),y(4,"translate"),u(),qe()),t&2){let i=C().$implicit;c(),f("ngClass",i.row),c(),f("id",i.id)("type",i.type)("label",v(3,12,i.label))("placeholder",v(4,14,i.placeholder))("required",i.required)("disabled",i.disabled)("maxLength",i.maxLength)("help",i.help)("mask",i.mask)("ngControl",i.ngControl)("listOptions",i.listOptions)}}function a9(t,e){if(t&1&&(Ge(0),p(1,"div",18),g(2,"app-select",20),y(3,"translate"),y(4,"translate"),u(),qe()),t&2){let i=C().$implicit;c(),f("ngClass",i.row),c(),f("handleAdd",i.handleAdd)("type",i.type)("label",v(3,10,i.label))("placeholder",v(4,12,i.placeholder))("required",i.required)("disabled",i.disabled)("help",i.help)("ngControl",i.ngControl)("listOptions",i.listOptions)}}function s9(t,e){if(t&1&&(Ge(0,16),O(1,o9,5,16,"ng-container",17)(2,a9,5,14,"ng-container",17),qe()),t&2){let i=e.$implicit;f("ngSwitch",i.component),c(),f("ngSwitchCase","input"),c(),f("ngSwitchCase","select")}}function l9(t,e){if(t&1){let i=ne();p(0,"h3",9),b(1),y(2,"translate"),u(),p(3,"form",10)(4,"div",11),O(5,s9,3,3,"ng-container",12),u(),p(6,"div",13)(7,"re-captcha",14,0),B("resolved",function(r){Q(i);let o=C();return Z(o.resolved(r))}),u(),p(9,"app-button",15),y(10,"translate"),B("handleClick",function(){Q(i);let r=C();return Z(r.handleSave())}),u()()()}if(t&2){let i=C();c(),I(" ",v(2,6,"MANAGEMENT.SUPPLIER-REGISTRATION.TITLE-FORM")," "),c(2),f("formGroup",i.formValidation),c(2),f("ngForOf",i.listInputs),c(2),f("siteKey",i.key)("size","normal"),c(2),f("label",v(10,8,"COMPONENT-NEWSLETTER.LABEL-BTN"))}}function c9(t,e){t&1&&(p(0,"h3",9,1),b(2),y(3,"translate"),u()),t&2&&(c(2),I(" ",v(3,1,"MANAGEMENT.SUPPLIER-REGISTRATION.SUCESS-FORM")," "))}var Zd=(()=>{let e=class e{constructor(n,r,o,a,s){this.loading=n,this.footerService=r,this.fb=o,this.configForm=a,this.service=s,this.key=t1.keyRecaptcha,this.listInputs=[],this.isSucess=!1,this.files=[]}ngOnInit(){this.formValidation=this.fb.group({company_name:["",[je.required]],trade_name:["",[je.required]],cnpj:["",[je.required,DM()]],state_registration:["",[je.required,Hi(3)]],municipal_registration:["",[je.required,Hi(3)]],address:["",[je.required,Hi(3)]],city:["",[je.required,Hi(3)]],state:["",[je.required]],zip_code:["",[je.required]],phone:["",[je.required,TM(15),Hi(12)]],email:["",[je.required,gr()]],web_site:["",[je.required]],type_service_provided:["",[je.required,Hi(2)]],representative:["",[je.required,Hi(3)]],observation:["",[je.required,Hi(3)]],"g-recaptcha-response":["",[je.required]]}),this.onListInputs(),this.onGet()}onGet(){this.service.listFiles().subscribe(n=>{this.files=n.files,this.loading.close()},n=>{this.loading.close()})}onListInputs(){this.listInputs=[{id:0,component:"input",row:"row-50",type:"text",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.COMPANY_NAME",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.company_name},{id:1,component:"input",row:"row-50",type:"text",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.TRADE_NAME",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.trade_name},{id:2,component:"input",row:"row-50",type:"text",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.CNPJ",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"00.
9000.000/0000-00",help:"",ngControl:this.formValidation.controls.cnpj},{id:3,component:"input",row:"row-50",type:"text",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.STATE_REGISTRATION",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.state_registration},{id:4,component:"input",row:"row-50",type:"text",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.MUNICIPAL_REGISTRATION",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.municipal_registration},{id:5,component:"input",row:"row-50",type:"text",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.ADDRESS",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.address},{id:6,component:"input",row:"row-50",type:"text",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.CITY",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.city},{id:7,component:"select",row:"row-50",type:"single",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.STATE",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,help:"",ngControl:this.formValidation.controls.state,listOptions:[{value:"AC",id:"AC",active:!1},{value:"AL",id:"AL",active:!1},{value:"AM",id:"AM",active:!1},{value:"AP",id:"AP",active:!1},{value:"BA",id:"BA",active:!1},{value:"CE",id:"CE",active:!1},{value:"DF",id:"DF",active:!1},{value:"ES",id:"ES",active:!1},{value:"GO",id:"GO",active:!1},{value:"MA",id:"MA",active:!1},{value:"MG",id:"MG",active:!1},{value:"MS",id:"MS",active:!1},{value:"MT",id:"MT",active:!1},{value:"PA",id:"PA",active:!1},{value:"PB",id:"PB",active:!1},{value:"PE",id:"PE",active:!1},{value:"PI",id:"PI",active:!1},{value:"PR",id:"PR",active:!1},{value:"RJ",id:"RJ",active:!1},{value:"RN",id:"RN",active:!1},{value:"RO",id:"RO",active:!1},{value:"RR",id:"RR",active:!1},{value:"RS",id:"RS",active:!1},{value:"SC",id:"SC",active:!1},{value:"SE",id:"SE",active:!1},{value:"SP",id:"SP",active:!1},{value:"TO",id:"TO",active:!1}]},{id:8,component:"input",row:"row-50",type:"text",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.ZIP_CODE",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"00000-000",help:"",ngControl:this.formValidation.controls.zip_code},{id:9,component:"input",row:"row-50",type:"text",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PHONE",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"00 00000-0000 || 00 0000-0000",help:"",ngControl:this.formValidation.controls.phone},{id:10,component:"input",row:"row-50",type:"text",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.EMAIL",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.email},{id:11,component:"input",row:"row-50",type:"text",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.WEB_SITE",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.web_site},{id:12,component:"input",row:"row-50",type:"text",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.TYPE_SERVICE_PROVIDED",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.type_service_provided},{id:13,component:"input",row:"row-50",type:"text",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.REPRESENTATIVE",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.representative},{id:14,component:"input",row:"row-100",type:"textarea",label:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.OBSERVATION",placeholder:"MANAGEMENT.SUPPLIER-REGISTRATION.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.observation}]}isValidForm(){return this.formValidation.valid}handleSave(){if(!this.isValidForm()){this.configForm.isError=!0;return}this.loading.open(),this.service.postForm(this.formValidation.value).subscribe(n=>{this.isSucess=!0,this.formValidation.reset(),this.configForm.isError=!1,this.onListInputs(),setTimeout(()=>{this.scrollToSuccessMessage()},100),this.loading.close(),setTimeout(()=>{this.isSucess=!1},5e3)},n=>{this.loading.close()})}scrollToSuccessMessage(){let n=this.successMessageRef.nativeElement,r=n.getBoundingClientRect(),o=window.innerHeight,a=n.offsetTop-o/2+r.height/2;window.scrollTo({top:a,behavior:"smooth"})}resolved(n){this.formValidation.controls["g-recaptcha-response"].setValue(n)}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ae),m(jn),m(Pi),m(d1))},e.\u0275cmp=T({type:e,selectors:[["app-supplier-registration"]],viewQuery:function(r,o){if(r&1&&wt(i9,5),r&2){let a;dt(a=ut())&&(o.successMessageRef=a.first)}}
9,standalone:!0,features:[k],decls:9,vars:6,consts:[["captchaRef","reCaptcha"],["successMessage",""],[3,"title"],[3,"title","listOptions"],[1,"section-files"],[1,"box-file"],[1,"section-form"],[1,"content",3,"innerHTML"],["type","tertiary",3,"link","download","isTargetBlank","label"],[1,"title"],[3,"formGroup"],[1,"grid"],[3,"ngSwitch",4,"ngFor","ngForOf"],[1,"row-btns"],[3,"resolved","siteKey","size"],["type","tertiary",3,"handleClick","label"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"ngClass"],[3,"id","type","label","placeholder","required","disabled","maxLength","help","mask","ngControl","listOptions"],[3,"handleAdd","type","label","placeholder","required","disabled","help","ngControl","listOptions"]],template:function(r,o){r&1&&(g(0,"app-title-page",2),y(1,"translate"),p(2,"app-aside",3)(3,"section",4),A(4,r9,4,7,"div",5,j),u(),p(6,"section",6),O(7,l9,11,10)(8,c9,4,3),u()()),r&2&&(f("title",v(1,4,"MANAGEMENT.SUPPLIER-REGISTRATION.TITLE")),c(2),f("title",o.footerService.footerList[2].TITLE)("listOptions",o.footerService.footerList[2].OPTIONS),c(2),N(o.files),c(3),w(7,o.isSucess?8:7))},dependencies:[X,V,z,oe,Ye,nn,rn,Vi,tr,pn,Bn,Fn,zt,On,ea,na,Qd,Yd,fe],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-form[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.25rem;line-height:1.5rem;margin-bottom:16px}.section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-50[_ngcontent-%COMP%]{width:calc(50% - 12px)}.section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-100[_ngcontent-%COMP%]{width:100%}.section-form[_ngcontent-%COMP%]   .row-btns[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.box-file[_ngcontent-%COMP%]{margin-bottom:24px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{margin-bottom:8px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}@media (max-width: 768px){.box-file[_ngcontent-%COMP%]{margin-bottom:24px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{margin-bottom:8px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:1.3125rem;margin-bottom:8px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:1.3125rem}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:1.3125rem}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}}@media (max-width: 650px){.section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-50[_ngcontent-%COMP%], .section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-100[_ngcontent-%COMP%]{width:100%}}']});let t=e;return t})();function d9(t,e){if(t&1){let i=ne();p(0,"figure",9),B("click",function(){Q(i);let r=C().$index,o=C();return Z(o.open(r))}),g(1,"img",10),u()}if(t&2){let i=C().$implicit;c(),f("src",i.src,L)}}function u9(t,e){t&1&&O(0,d9,2,1,"ng-template",6)}function p9(t,e){if(t&1&&(p(0,"p",8),b(1),u()),t&2){let i=C();c(),I(" ",i.propsCards.description," ")}}function f9(t,e){if(t&1&&(p(0,"p")(1,"strong"),b(2),y(3,"translate"),u(),b(4),u()),t&2){let i=C();c(2),I(" ",v(3,2,"COFFEE-MUSEUM.VENUE-RENTAL.SPACE")," "),c(2),I(" ",i.propsCards.space," ")}}function h9(t,e){if(t&1&&(p(0,"p")(1,"strong"),b(2),y(3,"translate"),u(),b(4),u()),t&2){let i=C();c(2),I(" ",v(3,2,"COFFEE-MUSEUM.VENUE-RENTAL.CAPACITIES")," "),c(2),I(" ",i.propsCards.capacities," ")}}function g9(t,e){if(t&1&&(p(0,"p")(1,"strong"),b(2),y(3,"translate"),u(),b(4),u()),t&2){let i=C();c(2),I(" ",v(3,2,"COFFEE-MUSEUM.VENUE-RENTAL.AVAILABILITY")," "),c(2),I(" ",i.propsCards.availability," ")}}function m9(t,e){if(t&1&&(p(0,"p")(1,"strong"),b(2),y(3,"translate"),u(),b(4),u()),t&2){let i=C();c(2),I(" ",v(3,2,"COFFEE-MUSEUM.VENUE-RENTAL.INCLUDED")," "),c(2),I(" ",i.propsCards.included," ")}}function _9(t,e){if(t&1&&(p(0,"p")(1,"strong"),b(2),y(3,"translate"),u(),b(4),u()),t&2){let i=C();c(2),I(" ",v(3,2,"COFFEE-MUSEUM.VENUE-RENTAL.VALUE")," "),c(2),I(" ",i.propsCards.value," ")}}var u1=(()=>{let e=class e{constructor(n){this.lightbox=n,this.customOptions={loop:!0,autoplay:!1,autoplaySpeed:800,autoplayTimeout:5e3,mouseDrag:!1,touchDrag:!1,pullDrag:!1,items:1,slideBy:1,dots:!0,navSpeed:800,nav:!1,autoplayHoverPause:!0},this.propsCards={title:"",description:"",space:"",capacities:"",availability:"",included:"",value:"",imgs:[]}}open(n){this.lightbox.open(this.propsCards.imgs,n)}};e.\u0275fac=function(r){return new(r||e)(m(Lt))},e.\u0275cmp=T({type:e,selectors:[["app-card-rental"]],inputs:{propsCards:"propsCards"}
9,standalone:!0,features:[k],decls:15,vars:8,consts:[["owlCarousel",""],[1,"card"],[3,"title"],[1,"wrapper"],[1,"carousel","coll-50"],[3,"options"],["carouselSlide",""],[1,"text","coll-50"],[1,"description"],[3,"click"],["alt","",3,"src"]],template:function(r,o){r&1&&(p(0,"div",1),g(1,"app-title-section",2),p(2,"div",3)(3,"div",4)(4,"owl-carousel-o",5,0),A(6,u9,1,0,null,6,j),u()(),p(8,"div",7),O(9,p9,2,1,"p",8)(10,f9,5,4,"p")(11,h9,5,4,"p")(12,g9,5,4,"p")(13,m9,5,4,"p")(14,_9,5,4,"p"),u()()()),r&2&&(c(),f("title",o.propsCards.title),c(3),f("options",o.customOptions),c(2),N(o.propsCards.imgs),c(3),w(9,o.propsCards.description?9:-1),c(),w(10,o.propsCards.space?10:-1),c(),w(11,o.propsCards.capacities?11:-1),c(),w(12,o.propsCards.availability?12:-1),c(),w(13,o.propsCards.included?13:-1),c(),w(14,o.propsCards.value?14:-1))},dependencies:[Ye,tt,Ot,xt,ce,on,V,z],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.card[_ngcontent-%COMP%]{width:100%}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:24px}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{flex-basis:100%}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px;margin-bottom:5px}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-family:bold;font-weight:700;font-style:normal}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .carousel[_ngcontent-%COMP%]{max-width:437px;width:100%}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .carousel[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{cursor:pointer}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .carousel[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:auto}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .carousel[_ngcontent-%COMP%]     .owl-dots{position:static;margin:8px auto;transform:translate(0)}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .carousel[_ngcontent-%COMP%]     .owl-dots .owl-dot span{border:1px solid var(--orange);margin:0 2px}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .carousel[_ng
9content-%COMP%]     .owl-dots .owl-dot.active span{background-color:var(--orange);width:10px}@media (max-width: 1050px){.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:column}}@media (max-width: 550px){.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .carousel[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}}']});let t=e;return t})();var p1=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("locacao-de-espacos","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function y9(t,e){if(t&1&&(p(0,"a",3),y(1,"translate"),b(2),y(3,"translate"),u()),t&2){let i=C();f("href",i.propsPage.file==null?null:i.propsPage.file.full_path,L)("download",!0)("title",v(1,4,"COFFEE-MUSEUM.VENUE-RENTAL.LABEL-BTN")),c(2),I(" ",v(3,6,"COFFEE-MUSEUM.VENUE-RENTAL.LABEL-BTN")," ")}}function v9(t,e){if(t&1&&g(0,"app-card-rental",6),t&2){let i=e.$implicit;f("propsCards",i)}}function b9(t,e){if(t&1&&(p(0,"section",4)(1,"div",5),A(2,v9,1,1,"app-card-rental",6,j),u()()),t&2){let i=C();c(2),N(i.listCards)}}var Xd=(()=>{let e=class e{constructor(n,r,o,a){this.loading=n,this.footerService=r,this.service=o,this.metaTags=a,this.listCards=[],this.propsPage={}}ngOnInit(){this.onGet()}onGet(){this.service.list().subscribe(n=>{let{spaceRentingItems:r,spaceRenting:o}=n;r.forEach(a=>{let s=[];a.gallery.forEach(l=>{s.push({src:l.file?.full_path,thumb:l.file?.full_path,caption:l.title})}),this.listCards.push({title:a.title,description:a.description?.description,space:a.measure,capacities:a.capacity,availability:a.availability,included:a.included,value:a.value,imgs:s})}),this.propsPage=o,this.metaTags.updateMetaTag({title:n.spaceRenting?.tag_title,de
9scription:n.spaceRenting?.tag_description}),this.loading.close()},n=>{this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ae),m(p1),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-venue-rental"]],standalone:!0,features:[k],decls:8,vars:10,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-description"],["target","_blank",3,"href","download","title"],[1,"section-cards"],[1,"wrapper"],[3,"propsCards"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section",2)(4,"p"),b(5),u(),O(6,y9,4,8,"a",3),u(),O(7,b9,4,0,"section",4),u()),r&2&&(f("title",v(1,8,"COFFEE-MUSEUM.VENUE-RENTAL.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(),F("skeleton-img",!(o.propsPage.description!=null&&o.propsPage.description.description)),c(2),I(" ",o.propsPage.description==null?null:o.propsPage.description.description," "),c(),w(6,o.propsPage.file!=null&&o.propsPage.file.full_path?6:-1),c(),w(7,o.listCards.length>0?7:-1))},dependencies:[X,oe,V,z,u1],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-description[_ngcontent-%COMP%]{margin-bottom:24px}.section-description[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px;margin-bottom:16px}.section-description[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:.75rem;color:var(--gray-06);line-height:18px;padding:4px 8px;text-decoration:none;border:1px solid var(--gray-03);border-radius:64px;cursor:pointer}.section-cards[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px}@media (max-width: 768px){.section-cards[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{gap:16px}}']});let t=e;return t})();var f1=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("cpc/about-cpc","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function M9(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!(i.propsPage.image!=null&&i.propsPage.image.full_path))}}function w9(t,e){if(t&1&&(p(0,"figure"),g(1,"img",7),u()),t&2){let i=C();c(),f("src",i.propsPage.image==null?null:i.propsPage.image.full_path,L)("alt",i.propsPage.image==null?null:i.propsPage.image.alt_image)}}var Jd=(()=>{let e=class e{constructor(n,r,o,a,s){this.loading=n,this.footerService=r,this.translate=o,this.service=a,this.metaTags=s,this.listAside={},this.propsPage={title:"",description:{description:""},image:{full_path:""},alt_image:""},this.partners={partners:[],supporters:[]}}ngOnInit(){this.loadTranslations()}loadTranslations(){this.translate.get("MENU-FOOTER.CPC").subscribe(n=>{this.listAside=n,this.onGet()})}onGet(){this.service.list().subscribe(n=>{let{page:r}=n;
9this.propsPage=r,this.metaTags.updateMetaTag({title:r.title,description:r.description.description_limit,img:r.image.full_path}),this.loading.close()},n=>{console.error(n),this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ae),m(ee),m(f1),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-about"]],standalone:!0,features:[k],decls:11,vars:9,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-page"],[3,"skeleton-img"],[1,"content",3,"innerHTML"],[1,"img"],["alt","",3,"src"],[3,"src","alt"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section",2),O(4,M9,1,2,"figure",3)(5,w9,2,2),g(6,"app-title-section",0)(7,"div",4),p(8,"div",5)(9,"figure"),g(10,"img",6),u()()()()),r&2&&(f("title",v(1,7,"CPC.ABOUT.TITLE")),c(2),f("title",o.listAside.ABBREVIATION)("listOptions",o.listAside.OPTIONS),c(2),w(4,o.propsPage.image.full_path?5:4),c(2),f("title",o.propsPage.title),c(),f("innerHTML",o.propsPage.description.description,J),c(3),f("src",o.propsPage.partner_image,L))},dependencies:[X,oe,V,z,ce],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-page[_ngcontent-%COMP%]{margin-bottom:24px}.section-page[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{max-width:960px;width:100%}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}.section-page[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{padding-top:24px}.section-partners[_ngcontent-%COMP%]   .partners-supporters[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:16px 0}.section-partners[_ngcontent-%COMP%]   .partners-supporters[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-family:bold;font-weight:700;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;text-align:center;margin-bottom:16px}.section-partners[_ngcontent-%COMP%]   .partners-supporters[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}.section-partners[_ngcontent-%COMP%]   .partners-supporters[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{max-width:250px;width:100%}@media (max-width: 768px){.content[_ngcontent-%COMP%]     h3{line-height:1.5rem;margin-bottom:8px}.content[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.content[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.content[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}}']});let t=e;return t})();var eu=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("sobre-o-mi/o-museu","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ia=(()=>{let e=class e{constructor(n,r,o){this.updateMetaTagsService=n,this.service=r,this.loading=o}resolve(n,r){return this.service.list().toPromise().then(o=>{this.data=o;
9let a={title:o.museum.tag_title,description:o.museum.tag_description,img:o.museum.image};return this.updateMetaTagsService.updateMetaTag(a)},o=>{this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(x(W),x(eu),x(U))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function P9(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.image.full_path)}}function E9(t,e){if(t&1&&(p(0,"figure"),g(1,"img",7),u()),t&2){let i=C();c(),f("src",i.image==null?null:i.image.full_path,L)("alt",i.image==null?null:i.image.alt_image)}}function S9(t,e){if(t&1){let i=ne();p(0,"div",13),B("click",function(){Q(i);let r=C().$index,o=C(2);return Z(o.open(r))}),p(1,"figure"),g(2,"img",7),u(),g(3,"p",14),u()}if(t&2){let i=C().$implicit;c(2),f("src",i.thumb,L)("alt",i.name),c(),f("innerHTML",i.caption,J)}}function I9(t,e){t&1&&O(0,S9,4,3,"ng-template",12)}function T9(t,e){if(t&1&&(p(0,"section",6)(1,"div",8),g(2,"app-title-section",9),y(3,"translate"),u(),p(4,"div",10)(5,"div",8)(6,"owl-carousel-o",11,0),A(8,I9,1,0,null,12,j),u()()()()),t&2){let i=Rt(7),n=C();c(2),f("title",v(3,4,"COFFEE-MUSEUM.THE-MUSEUM.SUB-TITLE"))("btnPrev",i.prev.bind(i))("btnNext",i.next.bind(i)),c(4),f("options",n.carousel),c(2),N(n.files)}}var tu=(()=>{let e=class e{constructor(n,r,o,a,s,l){this.languageService=n,this.service=r,this.loading=o,this.footerService=a,this.lightbox=s,this.resolver=l,this.image={},this.description={},this.list=[],this.files=[],this.carousel={loop:!0,autoplay:!0,autoplaySpeed:800,autoplayTimeout:5e3,mouseDrag:!1,touchDrag:!0,items:1,slideBy:1,autoWidth:!0,margin:16,nav:!1,dots:!1,responsive:{650:{items:2},1300:{items:3}}}}ngOnInit(){this.onGet()}onGet(){let{museum:n,files:r}=this.resolver.data;this.image={full_path:n.image,alt_image:n.alt_image},this.description=n.html,r.forEach(o=>{this.files.push({src:o.file,thumb:o.file,caption:o.caption,name:o.name})}),this.loading.close()}open(n){this.lightbox.open(this.files,n)}};e.\u0275fac=function(r){return new(r||e)(m(We),m(eu),m(U),m(ae),m(Lt),m(ia))},e.\u0275cmp=T({type:e,selectors:[["app-the-museum"]],standalone:!0,features:[k],decls:8,vars:10,consts:[["carouselFiles",""],[3,"title"],[3,"title","listOptions"],[1,"section-content"],[3,"skeleton-img"],[1,"box-text",3,"innerHTML"],[1,"carousel"],[3,"src","alt"],[1,"container"],[3,"title","btnPrev","btnNext"],[1,"container-carousel"],[3,"options"],["carouselSlide",""],[1,"card",3,"click"],[3,"innerHTML"]],template:function(r,o){r&1&&(g(0,"app-title-page",1),y(1,"translate"),p(2,"app-aside",2)(3,"section",3),O(4,P9,1,2,"figure",4)(5,E9,2,2),g(6,"div",5),u()(),O(7,T9,10,6,"section",6)),r&2&&(f("title",v(1,8,"COFFEE-MUSEUM.THE-MUSEUM.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(2),w(4,o.image.full_path?5:4),c(2),F("skeleton-img",!o.description.html),f("innerHTML",o.description==null?null:o.description.html,J),c(),w(7,o.files.length>0?7:-1))},dependencies:[X,oe,V,z,ce,tt,Ot,xt,on],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-content[_ngcontent-%COMP%]{margin-bottom:40px}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-text[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     p br{margin-bottom:16px}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}
9.carousel[_ngcontent-%COMP%]{margin-top:-32px;margin-bottom:56px}.carousel[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]{position:relative;width:100%;margin:24px 0 100px;overflow-x:clip}.carousel[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]     .owl-carousel .owl-stage-outer{overflow:visible}.carousel[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]     .owl-stage{display:flex}.carousel[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{max-width:470px;max-height:400px;cursor:pointer}.carousel[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{width:100%;overflow:hidden;margin-bottom:8px}.carousel[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}}']});let t=e;return t})();function D9(t,e){t&1&&(p(0,"div",0),g(1,"div",1),u())}var g1=(()=>{let e=class e{constructor(n){this.loading=n}ngOnInit(){}};e.\u0275fac=function(r){return new(r||e)(m(U))},e.\u0275cmp=T({type:e,selectors:[["app-loading"]],standalone:!0,features:[k],decls:1,vars:1,consts:[[1,"loading-container"],[1,"spinner"]],template:function(r,o){r&1&&O(0,D9,2,0,"div",0),r&2&&w(0,o.loading.isLoading?0:-1)},styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.loading-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;position:fixed;width:100%;height:100vh;top:0;left:0;transition:all .3s;z-index:9999;background-color:#fff}.loading-container[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%]{border:4px solid rgba(0,0,0,.1);border-color:var(--orange);border-left-color:transparent;border-radius:50%;width:50px;height:50px;animation:_ngcontent-%COMP%_rotate 1s linear infinite}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}']});let t=e;return t})();function k9(t,e){if(t&1&&(b(0," a "),p(1,"time"),b(2),u()),t&2){let i=C(2);c(),Nt("datetime",i.propsCard.dateExite==null?null:i.propsCard.dateExite.date),c(),I(" ",i.propsCard.dateExite==null?null:i.propsCard.dateExite.formatted_day_month," ")}}function A9(t,e){if(t&1&&(p(0,"div",2)(1,"time",8),b(2),u(),O(3,k9,3,2,"time"),u()),t&2){let i=C();c(),Nt("datetime",i.propsCard.dateEntry==null?null:i.propsCard.dateEntry.date),c(),I(" ",i.propsCard.dateEntry==null?null:i.propsCard.dateEntry.formatted_day_month," "),c(),w(3,i.propsCard.dateExite!=null&&i.propsCard.dateExite.date?3:-1)}}var nu=(()=>{let e=class e{constructor(){this.propsCard={srcImg:"",category:"",title:"",description:"",slug:"",dateEntry:{date:"",formatted_day_month:""},dateExite:{date:"",formatted_day_month:""},active:!1}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=T({type:e,selectors:[["app-card-schedule"]],inputs:{propsCard:"propsCard"}
9,standalone:!0,features:[k],decls:12,vars:9,consts:[[1,"card",3,"routerLink","title"],[1,"wrapper"],[1,"date"],["alt","",3,"src"],[1,"text"],[1,"category"],[1,"title"],[1,"description"],[1,"create"]],template:function(r,o){r&1&&(p(0,"a",0)(1,"div",1),O(2,A9,4,3,"div",2),p(3,"figure"),g(4,"img",3),u(),p(5,"div",4)(6,"span",5),b(7),u(),p(8,"p",6),b(9),u(),p(10,"p",7),b(11),u()()()()),r&2&&(F("active",o.propsCard.active),f("routerLink",o.propsCard.slug)("title",o.propsCard.title),c(2),w(2,o.propsCard.dateEntry||o.propsCard.dateExite?2:-1),c(2),f("src",o.propsCard.srcImg,L),c(3),$(o.propsCard.category),c(2),I(" ",o.propsCard.title," "),c(2),I(" ",o.propsCard.description," "))},dependencies:[Ht],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.card[_ngcontent-%COMP%]{display:block}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:flex-start;gap:24px}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{min-width:93px;font-family:regular;font-weight:400;font-style:normal;font-size:1.5rem;line-height:28px;color:var(--gray-06)}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]   .create[_ngcontent-%COMP%]{display:block;font-size:2rem;line-height:40px}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{width:100%;max-width:480px;min-width:480px;opacity:.5}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%], .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-05);margin-bottom:8px}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.5rem;line-height:28px;color:var(--gray-06);margin-bottom:8px}.card.active[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{opacity:1}@media (max-width: 1050px){.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{padding:8px;position:absolute;background-color:#fffc}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{width:100%;max-width:400px;min-width:400px}}@media (max-width: 768px){.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:column;gap:16px}.card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{width:100%;max-width:none;min-width:auto}}']});let t=e;return t})();function N9(t,e){if(t&1){let i=ne();p(0,"app-checkbox",4),B("onChange",function(r){let o=Q(i).$implicit,a=C();return Z(a.selectOptionAll(o,r))}),u()}if(t&2){let i=e.$implicit;f("label",i.value)("id",i.value+i.id)("checked",i.active)}}var m1=(()=>{let e=class e{constructor(){this.id="",this.label="Label",this.disabled=!1,this.required=!0,this.listOptions=[],this.isVertical=!1}ngOnInit(){this.validateValue()}validateValue(){if(!this.listOptions)return;let n=this.ngControl.value?this.ngControl.value:[];this.listOptions.forEach(r=>{r.active=n.includes(r.id)})}selectOption(n){this.ngControl.setValue(n)}selectOptionAll(n,r){r.target.checked?this.addSelectValue(n.id):this.removeSelectValue(n.id)}addSelectValue(n){let r=n,o=this.ngControl.value||[];o.includes(r)||o.push(r),this.ngControl.setValue(o),this.validateValue()}removeSelectValue(n){let o=(this.ngControl.value||[]).filter(a=>a!==n);this.ngControl.setValue(o),this.validateValue()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=T({type:e,selectors:[["app-checkbox-group"]],inputs:{ngControl:"ngControl",id:"id",label:"label",disabled:"disabled",required:"required",help:"help",listOptions:"listOptions",isVertical:"isVertical"}
9,standalone:!0,features:[k],decls:5,vars:7,consts:[[1,"container-input"],[3,"label","disabled","id","help","required"],[1,"list-options"],[3,"label","id","checked"],[3,"onChange","label","id","checked"]],template:function(r,o){r&1&&(p(0,"div",0),g(1,"app-header-inputs",1),p(2,"div",2),A(3,N9,1,3,"app-checkbox",3,yi),u()()),r&2&&(c(),f("label",o.label)("disabled",o.disabled)("id",o.id)("help",o.help)("required",o.required),c(),F("column",o.isVertical),c(),N(o.listOptions))},dependencies:[mr,ta],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.container-input[_ngcontent-%COMP%]   .list-options[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:15px;flex-wrap:wrap}.container-input[_ngcontent-%COMP%]   .list-options.column[_ngcontent-%COMP%]{align-items:flex-start;flex-direction:column}']});let t=e;return t})();var iu=(()=>{let e=class e{constructor(n){this.baseService=n}list(n,r){let o=n.month,a=n.year,s=[];if(s.push(`page=${r}`),n.category&&n.category.length>0){let d=n.category.join(",");s.push(`category=${d}`)}o!=null&&s.push(`month=${o}`),a!=null&&s.push(`year=${a}`);let l=s.length?"?"+s.join("&"):"";return this.baseService.methodGet(`eventos${l}`,"")}getSchedule(n){return this.baseService.methodGet("eventos",n)}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function R9(t,e){if(t&1&&g(0,"app-button",4),t&2){let i=e.$implicit,n=e.$index;f("label",i.label)("link",i.link)("isActive",n===1)}}function L9(t,e){if(t&1&&(Ge(0),p(1,"div",14),g(2,"app-select",15),u(),qe()),t&2){let i=C().$implicit;c(),f("ngClass",i.row),c(),f("handleAdd",i.handleAdd)("type",i.type)("label",i.label)("placeholder",i.placeholder)("required",i.required)("disabled",i.disabled)("help",i.help)("ngControl",i.ngControl)("listOptions",i.listOptions)}}function F9(t,e){if(t&1&&(Ge(0,12),O(1,L9,3,10,"ng-container",13),qe()),t&2){let i=e.$implicit;f("ngSwitch",i.component),c(),f("ngSwitchCase","select")}}function B9(t,e){if(t&1&&(Ge(0),p(1,"div",14),g(2,"app-checkbox-group",16),u(),qe()),t&2){let i=C().$implicit;c(),f("ngClass",i.row),c(),f("id",i.id)("label",i.label)("required",i.required)("disabled",i.disabled)("help",i.help)("ngControl",i.ngControl)("isVertical",i.isVertical)("listOptions",i.listOptions)}}function j9(t,e){if(t&1&&(Ge(0,12),O(1,B9,3,9,"ng-container",13),qe()),t&2){let i=e.$implicit;f("ngSwitch",i.component),c(),f("ngSwitchCase","checkbox-multiple")}}function V9(t,e){if(t&1){let i=ne();p(0,"div",9)(1,"app-button",17),y(2,"translate"),B("handleClick",function(){Q(i);let r=C();return Z(r.handleFilter())}),u()()}t&2&&(c(),f("label",v(2,1,"SCHEDULE.LABEL-BTN")))}function U9(t,e){if(t&1&&(p(0,"div",18),g(1,"app-card-schedule",19),u()),t&2){let i=e.$implicit;c(),f("propsCard",i)}}function H9(t,e){if(t&1&&A(0,U9,2,1,"div",18,j),t&2){let i=C();N(i.listCards)}}function z9(t,e){t&1&&g(0,"div",20)(1,"div",20)}function $9(t,e){t&1&&(p(0,"h3",21),b(1),y(2,"translate"),u()),t&2&&(c(),I(" ",v(2,1,"HIGHLIGHTS.NOT-FOUND")," "))}function G9(t,e){if(t&1&&O(0,z9,2,0)(1,$9,3,3),t&2){let i=C();w(0,i.skeleton?0:1)}}function q9(t,e){if(t&1){let i=ne();p(0,"div",11)(1,"app-button",22),y(2,"translate"),B("handleClick",function(){Q(i);let r=C();return Z(r.onGet())}),u()()}t&2&&(c(),f("label",v(2,1,"LABEL-BTN-SEE-MORE")))}var ru=(()=>{let e=class e{constructor(n,r,o,a,s,l,d,h){this.loading=n,this.linguage=r,this.service=o,this.metaTags=a,this.translate=s,this.fb=l,this.router=d,this.activatedRoute=h,this.listBtn=[],this.listInputs=[],this.listCards=[],this.listYears=[],this.listMonth=[],this.listTypes=[],this.current_page=1,this.total_pages=0,this.skeleton=!0}ngOnInit(){this.linguage.get("EXPOSITION.BTNS").subscribe(n=>{this.listBtn=n.map(r=>({label:r.TITLE,link:r.LINK}))}),this.formValidation=this.fb.group({month:[""],year:[""],category:[""]}),this.activatedRoute.queryParams.subscribe(n=>{let r=new Date,o=r.getMonth()+1,a=r.getFullYear(),s=n.month,l=n.year;s===void 0?s=o:s=parseInt(n.month)||"",l===void 0?l=a:l=parseInt(n.year)||"";let d=n.category?n.category.split(","):[];this.formValidation.patchValue({month:s,year:l,category:d}),this.onGet()})}onGet(){this.loading.open(),this.service.list(this.formValidation.value,this.current_page).subscribe(n=>{let{types:r,years:o,months:a,events:s}=n;this.listCards=this.current_page===1?[]:this.listCards,this.listTypes=[],this.listMonth=[{value:this.translate.instant("SCHEDULE.ALL"),id:"",active:!1}],this.listYears=[{value:this.translate.instant("SCHEDULE.ALL"),id:"",active:!1}],r.forEach(l=>{this.listTypes.push({value:l.title,id:l.slug,active:!1})}),a.forEach((l,d)=>{this.listMonth.push({value:l,id:d+1,active:!1})}),o.forEach(l=>{this.listYears.push({value:l.year,id:l.year,active:!1})}),s.data.forEach(l=>{this.listCards.push({dateEntry:{date:l.start_date?.date,formatted_day_month:l.start_date?.formatted_day_month},dateExite:{date:l.end_date?.date,formatted_day_month:l.end_date?.formatted_day_month},srcImg:l.image?.full_path||"",category:l.types.title,title:l.title,de
9scription:l.short_description,slug:l.types.slug+"/"+l.slug,active:this.isActiveCard(l)})}),this.onListInputs(),this.current_page=s.current_page+1,this.total_pages=s.last_page,this.loading.close(),this.skeleton=!1},n=>{this.loading.close()})}handleFilter(){this.current_page=1,this.skeleton=!0;let n=this.formValidation.value,r=n.month,o=n.year,a=n.category.join(","),s={month:r,year:o,category:a};this.router.navigate([],{relativeTo:this.activatedRoute,queryParams:s}),this.onGet()}onListInputs(){this.listInputs=[{id:0,component:"select",row:"row-select",type:"single",label:this.translate.instant("SCHEDULE.MONTH"),placeholder:this.translate.instant("SCHEDULE.PLACEHOLDER"),required:!1,disabled:!1,help:"",ngControl:this.formValidation.controls.month,listOptions:this.listMonth},{id:1,component:"select",row:"row-select",type:"single",label:this.translate.instant("SCHEDULE.YEAR"),placeholder:this.translate.instant("SCHEDULE.PLACEHOLDER"),required:!1,disabled:!1,help:"",ngControl:this.formValidation.controls.year,listOptions:this.listYears},{id:7,component:"checkbox-multiple",row:"row-50",type:"default",label:"",required:!1,disabled:!1,help:"",ngControl:this.formValidation.controls.category,isVertical:!1,listOptions:this.listTypes}]}isActiveCard(n){return n.end_date?n.end_date?.is_gte_today:n.start_date?.is_gte_today}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ee),m(iu),m(W),m(ee),m(jn),m(pt),m(ke))},e.\u0275cmp=T({type:e,selectors:[["app-schedule"]],standalone:!0,features:[k],decls:20,vars:14,consts:[[3,"title"],[1,"container"],["size","small",3,"title","line"],[1,"wrapper-btn-category"],["type","fourth",3,"label","link","isActive"],[1,"filter"],[3,"formGroup"],[1,"grid"],[3,"ngSwitch",4,"ngFor","ngForOf"],[1,"row-btns"],[1,"section-cards"],[1,"row-btn"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"ngClass"],[3,"handleAdd","type","label","placeholder","required","disabled","help","ngControl","listOptions"],[3,"id","label","required","disabled","help","ngControl","isVertical","listOptions"],["type","tertiary",3,"handleClick","label"],[1,"card"],[3,"propsCard"],[1,"skeleton-img"],[1,"not-found"],["type","secondary",3,"handleClick","label"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"div",1),g(3,"app-title-section",2),y(4,"translate"),p(5,"div",3),A(6,R9,1,3,"app-button",4,j),u(),p(8,"div",5)(9,"form",6)(10,"div",7),O(11,F9,2,2,"ng-container",8),u()(),p(12,"form",6)(13,"div",7),O(14,j9,2,2,"ng-container",8),u()(),O(15,V9,3,3,"div",9),u(),p(16,"section",10),O(17,H9,2,0)(18,G9,2,1)(19,q9,3,3,"div",11),u()()),r&2&&(f("title",v(1,10,"MENU-FOOTER.SCHEDULE.TITLE")),c(3),f("title",v(4,12,"EXPOSITION.TITLE-CATEGORY"))("line",!1),c(3),N(o.listBtn),c(3),f("formGroup",o.formValidation),c(2),f("ngForOf",o.listInputs),c(),f("formGroup",o.formValidation),c(2),f("ngForOf",o.listInputs),c(),w(15,o.listInputs.length>0?15:-1),c(2),w(17,o.listCards.length>0?17:18),c(2),w(19,o.current_page<=o.total_pages?19:-1))},dependencies:[X,V,z,ce,fe,nu,Ye,nn,rn,Vi,tr,pn,Bn,Fn,zt,On,na,m1],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.wrapper-btn-category[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:40px;flex-wrap:wrap}.filter[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:4%;row-gap:8px;padding-bottom:40px;border-bottom:1px solid var(--gray-03);flex-wrap:wrap}.filter[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:16px;flex-wrap:wrap}.filter[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-select[_ngcontent-%COMP%]{width:calc(50% - 12px);min-width:230px}.filter[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]     .header-input label{font-family:bold;font-weight:700;font-style:normal;font-size:.875rem;border-radius:8px;color:var(--gray-05)}.filter[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]     .box-select{height:38px!important;border-radius:8px!important}.filter[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]     .box-select .placeholder{font-size:.875pxrem}.filter[_ngcontent-%COMP%]   .row-btns[_ngcontent-%COMP%]{padding-top:6px}.section-cards[_ngcontent-%COMP%]{margin:56px auto}.section-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{padding-bottom:16px;border-bottom:1px solid var(--gray-03);margin-bottom:20px}.section-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:last-child{border-bottom:none}.section-cards[_ngcontent-%COMP%]   .row-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:24px 0}.section-cards[_ngcontent-%COMP%]   .not-found[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1.25rem;border-radius:8px;color:var(--gray-05)}@media (max-width: 507px){.filter[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-select[_ngcontent-%COMP%]{width:100%;min-width:auto}}']});let t=e;return t})();function W9(t,e){if(t&1&&b(0),t&2){let i=C(2);I(" a ",i.event.end_date.formatted," ")}}function K9(t,e){if(t&1&&(p(0,"li")(1,"strong"),b(2),y(3,"translate"),u(),g(4,"br"),b(5),O(6,W9,1,1),u()),t&2){let i=C();c(2),$(v(3,3,"SCHEDULE.INTERNAL.DATE")),c(3),I(" ",i.event.start_date==null?null:i.event.start_date.formatted," "),c(),w(6,i.event.end_date?6:-1)}}function Y9(t,e){if(t&1&&(p(0,"li")(1,"strong"),b(2),y(3,"translate"),u(),g(4,"br"),b(5),u()),t&2){let i=C();c(2),$(v(3,2,"SCHEDULE.INTERNAL.PRICE")),c(3),I(" ",i.event.price," ")}}function Q9(t,e){if(t&1&&(p(0,"li")(1,"strong"),b(2),y(3,"translate"),u(),g(4,"br"),b(5),u()),t&2){let i=C();c(2),$(v(3,2,"SCHEDULE.INTERNAL.TIME")),c(3),I(" ",i.event.hour," ")}}function Z9(t,e){if(t&1&&(p(0,"li")(1,"strong"),b(2),y(3,"translate"),u(),g(4,"br"),b(5),u()),t&2){let i=C();c(2),$(v(3,2,"SCHEDULE.INTERNAL.REGISTRATIONS")),c(3),I(" ",i.event.guid
9ance," ")}}function X9(t,e){if(t&1&&(g(0,"app-button",8),y(1,"translate")),t&2){let i=C();f("label",v(1,4,"SCHEDULE.INTERNAL.LABEL-BTN"))("type","tertiary")("isTargetBlank",!0)("link",i.event.purchase_link)}}function J9(t,e){if(t&1&&(p(0,"figure",14),g(1,"img",15),u()),t&2){let i=C().$implicit;c(),f("src",i.file.full_path,L)}}function e5(t,e){t&1&&O(0,J9,2,1,"ng-template",13)}function t5(t,e){if(t&1&&(p(0,"section",9)(1,"div",3),g(2,"app-title-section",10),y(3,"translate"),u(),p(4,"div",11)(5,"div",3)(6,"owl-carousel-o",12,0),A(8,e5,1,0,null,13,j),u()()()()),t&2){let i=Rt(7),n=C();c(2),f("title",v(3,4,"EXPOSITION.INTERNAL.TITLE-GALLERY"))("btnPrev",i.prev.bind(i))("btnNext",i.next.bind(i)),c(4),f("options",n.galleryCarousel),c(2),N(n.galleryList)}}var ou=(()=>{let e=class e{constructor(n,r,o,a,s){this.loading=n,this.service=r,this.route=o,this.metaTags=a,this.platformId=s,this.slug="",this.url="",this.title="",this.html="",this.event={},this.galleryList=[],this.bannersList=[],this.galleryCarousel={},this.listSeeMore=[],this.files=[],Xe(this.platformId)&&(this.url=window.location.href)}ngOnInit(){this.route.params.subscribe(n=>{this.slug=n.type+"/"+n.slug}),this.onGet()}onGet(){this.service.getSchedule(this.slug).subscribe(n=>{this.event=n.event,this.bannersList.push({srcImg:n.event.image?n.event.image.full_path:"",typeHighlights:"",title:"",description:"",labelBtn:"",link:"",isTarget:!1}),this.title=n.event.title,this.html=n.event.description?.description,this.metaTags.updateMetaTag({title:n.event?.tag_title,de
9scription:n.event?.tag_description,img:n.event.image?n.event.image.full_path:""}),this.loading.close()},n=>{this.loading.close()})}listCarousel(){this.galleryCarousel={loop:this.galleryList.length>1,autoplay:!1,autoplaySpeed:800,autoplayTimeout:3e3,mouseDrag:!1,touchDrag:!0,items:1,slideBy:1,autoWidth:!0,margin:16,nav:!1,dots:!1,responsive:{650:{items:2,loop:this.galleryList.length>2},1300:{items:3,loop:this.galleryList.length>3}}}}getTypeHighlights(n){let r=n.start_date?.formatted_day_month.toUpperCase()||"",o=n.end_date?.formatted_day_month.toUpperCase()||"",a=n.types?.title.toUpperCase()||"Tipo n\xE3o definido";return r&&o?`${r} - ${o} | ${a}`:r?`${r} | ${a}`:o?`${o} | ${a}`:`${a}`}};e.\u0275fac=function(r){return new(r||e)(m(U),m(iu),m(ke),m(W),m(De))},e.\u0275cmp=T({type:e,selectors:[["app-schedule-internal"]],standalone:!0,features:[k],decls:19,vars:13,consts:[["carouselGallery",""],[3,"bannersList"],[1,"section-content"],[1,"container"],[1,"wrapper"],[3,"title","line"],[1,"content",3,"innerHTML"],[1,"box-aside"],[3,"label","type","isTargetBlank","link"],[1,"section-gallery"],[3,"title","btnPrev","btnNext"],[1,"container-carousel"],[3,"options"],["carouselSlide",""],[1,"img"],["alt","",3,"src"]],template:function(r,o){r&1&&(g(0,"app-banners",1),p(1,"section",2)(2,"div",3)(3,"div",4)(4,"div"),g(5,"app-title-section",5)(6,"article",6),u(),p(7,"aside")(8,"div",7)(9,"p"),b(10),y(11,"translate"),u(),p(12,"ul",4),O(13,K9,7,5,"li")(14,Y9,6,4,"li")(15,Q9,6,4,"li")(16,Z9,6,4,"li"),u(),O(17,X9,2,6,"app-button",8),u()()()()(),O(18,t5,10,6,"section",9)),r&2&&(f("bannersList",o.bannersList),c(5),f("title",o.event.title)("line",!1),c(),f("innerHTML",o.event.description==null?null:o.event.description.description,J),c(4),$(v(11,11,"SCHEDULE.INTERNAL.INFORMATION")),c(3),w(13,o.event.start_date?13:-1),c(),w(14,o.event.price?14:-1),c(),w(15,o.event.hour?15:-1),c(),w(16,o.event.guidance?16:-1),c(),w(17,o.event.purchase_link?17:-1),c(),w(18,o.galleryList.length>0?18:-1))},dependencies:[Ln,ce,tt,Ot,xt,V,z,fe],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-content[_ngcontent-%COMP%]{margin:30px auto}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:24px;justify-content:space-between;position:relative}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{position:sticky;top:3%}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]{background-color:var(--gray-02);padding:40px 24px;border-radius:8px;min-width:400px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--orange);font-size:2rem;line-height:2.5rem;padding-bottom:16px;border-bottom:1px solid var(--gray-03)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:16px;list-style:none;padding:16px 0}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:calc(50% - 8px);font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;word-break:break-word}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-family:bold;font-weight:700;font-style:normal}@media (max-width: 768px){.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:column;gap:24px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{width:100%}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]{gap:50px;padding:24px 16px;width:100%;min-width:auto}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.5rem}}']});let t=e;return t})();
9var C1=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("institucional/inci","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function i5(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.image.full_path)}}function r5(t,e){if(t&1&&(p(0,"figure"),g(1,"img",5),u()),t&2){let i=C();c(),f("src",i.image==null?null:i.image.full_path,L)("alt",i.image==null?null:i.image.alt_image)}}function o5(t,e){t&1&&g(0,"div",4)}function a5(t,e){if(t&1&&(g(0,"app-title-section",0),p(1,"div",6)(2,"p"),b(3),u()()),t&2){let i=C();f("title",i.title),c(3),I(" ",i.description," ")}}var au=(()=>{let e=class e{constructor(n,r,o,a,s){this.languageService=n,this.service=r,this.loading=o,this.footerService=a,this.metaTags=s,this.image={},this.description="",this.title="",this.list=[]}ngOnInit(){this.onGet()}onGet(){this.service.list().subscribe(n=>{this.image={full_path:n.inci.image?.full_path,alt_image:n.inci.alt_image},this.description=n.inci.description?.description,this.title=n.inci.title,this.metaTags.updateMetaTag({title:n.inci?.tag_title,de
9scription:n.inci?.tag_description,img:n.inci?.image}),this.loading.close()},n=>{console.error("Error:",n)})}};e.\u0275fac=function(r){return new(r||e)(m(We),m(C1),m(U),m(ae),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-inci"]],standalone:!0,features:[k],decls:8,vars:7,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-content"],[3,"skeleton-img"],[1,"skeleton-img"],[3,"src","alt"],[1,"box-text"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section",2),O(4,i5,1,2,"figure",3)(5,r5,2,2)(6,o5,1,0,"div",4)(7,a5,4,2),u()()),r&2&&(f("title",v(1,5,"COFFEE-MUSEUM.INCI.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(2),w(4,o.image.full_path?5:4),c(2),w(6,o.description?7:6))},dependencies:[X,oe,V,z,ce],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-content[_ngcontent-%COMP%]{margin-bottom:40px}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-text[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     p br{margin-bottom:16px}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}}']});let t=e;return t})();var su=(()=>{let e=class e{constructor(n,r){this.loading=n,this.footerService=r}ngOnInit(){this.loading.close()}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ae))},e.\u0275cmp=T({type:e,selectors:[["app-calixtos"]],standalone:!0,features:[
9k],decls:44,vars:40,consts:[[3,"title"],[3,"title","listOptions"],[1,"right"],["src","assets/img/pages/calixtos/image1.jpg","alt",""],[1,"link"],["type","secondary","link","/calixto",3,"isTargetBlank","label"],[1,"banner"],["src","assets/img/pages/calixtos/image2.jpg","alt",""],["src","assets/img/pages/calixtos/image3.jpg","alt",""]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section")(4,"figure",2),g(5,"img",3),u(),p(6,"h2"),b(7),y(8,"translate"),u(),p(9,"h3"),b(10),y(11,"translate"),u(),p(12,"p"),b(13),y(14,"translate"),u(),p(15,"p"),b(16),y(17,"translate"),u(),p(18,"div",4)(19,"p"),b(20),y(21,"translate"),u(),g(22,"app-button",5),y(23,"translate"),u()(),p(24,"figure",6),g(25,"img",7),u(),p(26,"section")(27,"figure",2),g(28,"img",8),u(),p(29,"h2"),b(30),y(31,"translate"),u(),p(32,"h3"),b(33),y(34,"translate"),u(),p(35,"p"),b(36),y(37,"translate"),u(),p(38,"div",4)(39,"p"),b(40),y(41,"translate"),u(),g(42,"app-button",5),y(43,"translate"),u()()()),r&2&&(f("title",v(1,16,"CALIXTOS.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(5),I(" ",v(8,18,"CALIXTOS.TITLE-SECTION")," "),c(3),I(" ",v(11,20,"CALIXTOS.SUB-TITLE-SECTION")," "),c(3),I(" ",v(14,22,"CALIXTOS.PARAGRAPH-1")," "),c(3),I(" ",v(17,24,"CALIXTOS.PARAGRAPH-2")," "),c(4),I(" ",v(21,26,"CALIXTOS.LABEL-LINK")," "),c(2),f("isTargetBlank",!0)("label",v(23,28,"CALIXTOS.LABEL-BTN")),c(8),I(" ",v(31,30,"CALIXTOS.TITLE-SECTION-2")," "),c(3),I(" ",v(34,32,"CALIXTOS.SUB-TITLE-SECTION-2")," "),c(3),I(" ",v(37,34,"CALIXTOS.PARAGRAPH-3")," "),c(4),I(" ",v(41,36,"CALIXTOS.LABEL-LINK")," "),c(2),f("isTargetBlank",!0)("label",v(43,38,"CALIXTOS.LABEL-BTN")))},dependencies:[oe,X,V,z,fe],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}section[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{float:right;max-width:438px;width:100%;margin:0 0 24px 24px}section[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.5rem;line-height:28px;color:var(--orange);margin-bottom:16px}section[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1.25rem;line-height:24px;color:var(--gray-06);margin-bottom:16px}section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-06);margin-bottom:16px}section[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:8px 0 24px;gap:16px}section[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0;font-size:1.25rem;color:var(--gray-05)}.banner[_ngcontent-%COMP%]{margin-bottom:40px}@media (max-width: 1150px){section[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{max-width:300px}}@media (max-width: 1000px){section[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{max-width:300px;float:none;margin:0 auto 24px}}@media (max-width: 768px){section[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1rem;line-height:24px}section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:.875rem;line-height:21px;margin-bottom:8px}section[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1rem;line-height:24px}}@media (max-width: 500px){section[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{flex-direction:column}}']});let t=e;return t})();var y1=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("sobre-o-mi/historia","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function l5(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.image.full_path)}}function c5(t,e){if(t&1&&(p(0,"figure"),g(1,"img",7),u()),t&2){let i=C();c(),f("src",i.image==null?null:i.image.full_path,L)("alt",i.image==null?null:i.image.alt_image)}}function d5(t,e){if(t&1){let i=ne();p(0,"div",13),B("click",function(){Q(i);let r=C().$index,o=C(2);return Z(o.open(r))}),p(1,"figure"),g(2,"img",7),u(),g(3,"p",14),u()}if(t&2){let i=C().$implicit;c(2),f("src",i.thumb,L)("alt",i.name),c(),f("innerHTML",i.caption,J)}}function u5(t,e){t&1&&O(0,d5,4,3,"ng-template",12)}function p5(t,e){if(t&1&&(p(0,"section",6)(1,"div",8),g(2,"app-title-section",9),y(3,"translate"),u(),p(4,"div",10)(5,"div",8)(6,"owl-carousel-o",11,0),A(8,u5,1,0,null,12,j),u()()()()),t&2){let i=Rt(7),n=C();c(2),f("title",v(3,4,"COFFEE-MUSEUM.OFFICIAL-COFFE-BAG.SUB-TITLE"))("btnPrev",i.prev.bind(i))("btnNext",i.next.bind(i)),c(4),f("options",n.carousel),c(2),N(n.files)}}var lu=(()=>{let e=class e{constructor(n,r,o,a,s,l){this.languageService=n,this.service=r,this.loading=o,this.footerService=a,this.lightbox=s,this.metaTags=l,this.image={},this.description={},this.list=[],this.files=[],this.carousel={loop:!0,autoplay:!0,autoplaySpeed:800,autoplayTimeout:5e3,mouseDrag:!1,touchDrag:!0,items:1,slideBy:1,autoWidth:!0,margin:16,nav:!1,dots:!1,responsive:{650:{items:2},1300:{items:3}}}}ngOnInit(){this.onGet()}onGet(){this.service.list().subscribe(n=>{let{history:r,timelines:o}=n;this.image={full_path:r.image?.full_path,alt_image:r.alt_image},this.description=r.description,o.forEach(a=>{this.files.push({src:a.image?.full_path,thumb:a.image?.full_path,caption:a.description?.description,name:a.description?.description})}
9),this.metaTags.updateMetaTag({title:r.tag_title,description:r.tag_description,img:r.image}),this.loading.close()},n=>{console.error("Error:",n),this.loading.close()})}open(n){this.lightbox.open(this.files,n)}};e.\u0275fac=function(r){return new(r||e)(m(We),m(y1),m(U),m(ae),m(Lt),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-official-coffee-bag"]],standalone:!0,features:[k],decls:8,vars:10,consts:[["carouselFiles",""],[3,"title"],[3,"title","listOptions"],[1,"section-content"],[3,"skeleton-img"],[1,"box-text",3,"innerHTML"],[1,"carousel"],[3,"src","alt"],[1,"container"],[3,"title","btnPrev","btnNext"],[1,"container-carousel"],[3,"options"],["carouselSlide",""],[1,"card",3,"click"],[3,"innerHTML"]],template:function(r,o){r&1&&(g(0,"app-title-page",1),y(1,"translate"),p(2,"app-aside",2)(3,"section",3),O(4,l5,1,2,"figure",4)(5,c5,2,2),g(6,"div",5),u()(),O(7,p5,10,6,"section",6)),r&2&&(f("title",v(1,8,"COFFEE-MUSEUM.OFFICIAL-COFFE-BAG.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(2),w(4,o.image.full_path?5:4),c(2),F("skeleton-img",!o.description.description),f("innerHTML",o.description==null?null:o.description.description,J),c(),w(7,o.files.length>0?7:-1))},dependencies:[X,oe,V,z,ce,tt,Ot,xt,on],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-content[_ngcontent-%COMP%]{margin-bottom:40px}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-text[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     p br{margin-bottom:16px}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     blockquote{border-left:1px solid var(--orange);padding-left:16px;margin-left:6px}
9.carousel[_ngcontent-%COMP%]{margin-top:-32px;margin-bottom:56px}.carousel[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]{position:relative;width:100%;margin:24px 0 100px;overflow-x:clip}.carousel[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]     .owl-carousel .owl-stage-outer{overflow:visible}.carousel[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]     .owl-stage{display:flex}.carousel[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{max-width:470px;max-height:400px;cursor:pointer}.carousel[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{width:100%;overflow:hidden;margin-bottom:8px}.carousel[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}}']});let t=e;return t})();var cu=(()=>{let e=class e{constructor(n){this.baseService=n}listMaterials(n){return this.baseService.methodGet(`educativo/materiais-educativos?type=${n}`,"")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function f5(t,e){if(t&1&&g(0,"figure",5),t&2){let i=C().$implicit;F("skeleton-img",!i.image)}}function h5(t,e){if(t&1&&(p(0,"a",6)(1,"figure"),g(2,"img",7),u(),p(3,"h5"),b(4),u()()),t&2){let i=C().$implicit;f("href",i.file==null?null:i.file.full_path,L)("title",i.title),c(2),f("src",i.image==null?null:i.image.full_path,L),c(2),$(i.title)}}function g5(t,e){if(t&1&&O(0,f5,1,2,"figure",4)(1,h5,5,4),t&2){let i=e.$implicit;w(0,i.image?1:0)}}var du=(()=>{let e=class e{constructor(n,r,o,a,s){this.translate=n,this.service=r,this.loading=o,this.footerService=a,this.metaTags=s,this.listMaterials=[],this.description="",this.type=1}ngOnInit(){this.loading.close(),this.onGet()}onGet(){this.service.listMaterials(this.type).subscribe(n=>{let{description:r,materials:o}=n;this.description=r?.description?.description,this.listMaterials=o,this.metaTags.updateMetaTag({title:r.tag_title||"",description:r.tag_description||""}),this.loading.close()},n=>{})}};e.\u0275fac=function(r){return new(r||e)(m(ee),m(cu),m(U),m(ae),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-materials"]],standalone:!0,features:[k],decls:9,vars:6,consts:[[3,"title"],[3,"title","listOptions"],[1,"descripion"],[1,"wrapper"],[1,"card",3,"skeleton-img"],[1,"card"],["target","_blank","download","",1,"card",3,"href","title"],["alt","Imagem Material",3,"src"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"p",2),b(4),u(),p(5,"section")(6,"div",3),A(7,g5,2,1,null,null,j),u()()()),r&2&&(f("title",v(1,4,"EDUCATIONAL.EDUCATIONAL-MATERIALS.TITLE")),c(2),f("title",o.footerService.footerList[1].TITLE)("listOptions",o.footerService.footerList[1].OPTIONS),c(2),I(" ",o.description," "),c(3),N(o.listMaterials))},dependencies:[X,oe,V,z],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.descripion[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-06);margin-bottom:40px}.wrapper[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:flex-start;flex-wrap:wrap;gap:24px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(33.3333333333% - 16px);text-decoration:none;color:var(--gray-05);overflow:hidden}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{margin-bottom:16px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.25rem;line-height:24px;color:var(--gray-05)}@media (max-width: 1050px){.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(50% - 12px)}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1.25rem;line-height:24px}}@media (max-width: 768px){.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(50% - 12px)}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1.125rem;line-height:24px}}@media (max-width: 500px){.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:100%}}']});let t=e;return t})();function m5(t,e){if(t&1&&g(0,"figure",5),t&2){let i=C().$implicit;F("skeleton-img",!i.src)}}function _5(t,e){if(t&1&&(p(0,"a",6)(1,"figure"),g(2,"img",7),u(),p(3,"h5"),b(4),u()()),t&2){let i=C(2).$implicit;f("href",i.link,L)("title",i.title),c(2),f("src",i.src,L),c(2),$(i.title)}}function C5(t,e){if(t&1){let i=ne();p(0,"div",8),B("click",function(){Q(i);let r=C(2).$index,o=C();return Z(o.open(r))}),p(1,"figure"),g(2,"img",7),u(),p(3,"h5"),b(4),u()()}if(t&2){let i=C(2).$implicit;f("title",i.title),c(2),f("src",i.src,L),c(2),$(i.title)}}function y5(t,e){if(t&1&&O(0,_5,5,4,"a",6)(1,C5,5,3),t&2){let i=C().$implicit;w(0,i.link?0:1)}}function v5(t,e){if(t&1&&O(0,m5,1,2,"figure",4)(1,y5,2,1),t&2){let i=e.$implicit;w(0,i.src?1:0)}}var uu=(()=>{let e=class e{constructor(n,r,o,a,s,l){this.translate=n,this.service=r,this.loading=o,this.footerService=a,this.metaTags=s,this.lightbox=l,this.listMaterials=[],this.description="",this.type=2}ngOnInit(){this.loading.close(),this.onGet()}onGet(){this.service.listMaterials(this.type).subscribe(n=>{let{description:r,materials:o}=n;this.description=r?.description?.description,o.forEach(a=>{this.listMaterials.push({src:a.image?.full_path,thumb:a.image?.full_path,caption:a.title,title:a.title,link:a.link})}
9),this.metaTags.updateMetaTag({title:r.tag_title,description:r.tag_description}),this.loading.close()},n=>{this.loading.close()})}open(n){this.lightbox.open(this.listMaterials,n)}};e.\u0275fac=function(r){return new(r||e)(m(ee),m(cu),m(U),m(ae),m(W),m(Lt))},e.\u0275cmp=T({type:e,selectors:[["app-virtual-tours"]],standalone:!0,features:[k],decls:9,vars:6,consts:[[3,"title"],[3,"title","listOptions"],[1,"descripion"],[1,"wrapper"],[1,"card",3,"skeleton-img"],[1,"card"],["target","_blank","download","",1,"card",3,"href","title"],["alt","Material",3,"src"],[1,"card",3,"click","title"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"p",2),b(4),u(),p(5,"section")(6,"div",3),A(7,v5,2,1,null,null,j),u()()()),r&2&&(f("title",v(1,4,"EDUCATIONAL.VIRTUAL-TOURS.TITLE")),c(2),f("title",o.footerService.footerList[1].TITLE)("listOptions",o.footerService.footerList[1].OPTIONS),c(2),I(" ",o.description," "),c(3),N(o.listMaterials))},dependencies:[X,oe,V,z,on],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.descripion[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-06);margin-bottom:40px}.wrapper[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:flex-start;flex-wrap:wrap;gap:24px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(33.3333333333% - 16px);text-decoration:none;color:var(--gray-05);overflow:hidden}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{margin-bottom:16px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.25rem;line-height:24px;color:var(--gray-05)}@media (max-width: 1050px){.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(50% - 12px)}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1.25rem;line-height:24px}}@media (max-width: 768px){.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(50% - 12px)}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1.125rem;line-height:24px}}@media (max-width: 500px){.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:100%}}']});let t=e;return t})();var b1=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("cpc/baristas","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function x5(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.image.full_path)}}function M5(t,e){if(t&1&&(p(0,"figure"),g(1,"img",5),u()),t&2){let i=C();c(),f("src",i.image==null?null:i.image.full_path,L)("alt",i.image==null?null:i.image.alt_image)}}function w5(t,e){t&1&&g(0,"div",4)}function O5(t,e){if(t&1&&g(0,"div",6),t&2){let i=C();f("innerHTML",i.description,J)}}function P5(t,e){if(t&1&&g(0,"iframe",11),t&2){let i=C().$implicit,n=C(2);f("src",n.sanitizeUrl(i.video+"?rel=0"),Ba)}}function E5(t,e){if(t&1&&g(0,"img",5),t&2){let i=C().$implicit;f("src",i.image==null?null:i.image.full_path,L)("alt",i.alt_image)}}function S5(t,e){if(t&1&&(p(0,"div",8)(1,"div",9)(2,"div")(3,"h3"),b(4),u(),p(5,"p"),b(6),u()(),p(7,"div",10),O(8,P5,1,1,"iframe",11)(9,E5,1,2),u()()()),t&2){let i=e.$implicit;c(4),I(" ",i.name," "),c(2),I(" ",i.description.description," "),c(2),w(8,i.video?8:9)}}function I5(t,e){if(t&1&&(g(0,"hr"),p(1,"section",7),A(2,S5,10,3,"div",8,j),u()),t&2){let i=C();c(2),N(i.highlights)}}var pu=(()=>{let e=class e{constructor(n,r,o,a,s,l,d){this.languageService=n,this.service=r,this.loading=o,this.footerService=a,this.translate=s,this.metaTags=l,this.sanitizer=d,this.listAside={},this.image={},this.description="",this.list=[],this.highlights=[]}ngOnInit(){this.loadTranslations()}loadTranslations(){this.translate.get("MENU-FOOTER.CPC").subscribe(n=>{this.listAside=n,this.onGet()})}onGet(){this.service.list().subscribe(n=>{let{page:r,highlights:o}=n;this.image={full_path:r.image?.full_path,alt_image:r.alt_image},this.description=r.description?.description,this.metaTags.updateMetaTag({title:r?.tag_title,de
9scription:r?.tag_description,img:r?.image}),this.highlights=o,this.loading.close()},n=>{console.error("Error:",n)})}sanitizeUrl(n){return this.sanitizer.bypassSecurityTrustResourceUrl(n)}};e.\u0275fac=function(r){return new(r||e)(m(We),m(b1),m(U),m(ae),m(ee),m(W),m(Et))},e.\u0275cmp=T({type:e,selectors:[["app-the-barista-profession"]],standalone:!0,features:[k],decls:9,vars:8,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-content"],[3,"skeleton-img"],[1,"skeleton-img"],[3,"src","alt"],[1,"box-text",3,"innerHTML"],[1,"section-highlights"],[1,"card"],[1,"wrapper"],[1,"figure"],["title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share","referrerpolicy","strict-origin-when-cross-origin","allowfullscreen","",3,"src"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section",2),O(4,x5,1,2,"figure",3)(5,M5,2,2)(6,w5,1,0,"div",4)(7,O5,1,1),u(),O(8,I5,4,0),u()),r&2&&(f("title",v(1,6,"CPC.THE-BARISTA-PROFESSION.TITLE")),c(2),f("title",o.listAside.ABBREVIATION)("listOptions",o.listAside.OPTIONS),c(2),w(4,o.image.full_path?5:4),c(2),w(6,o.description?7:6),c(2),w(8,o.highlights.length>0?8:-1))},dependencies:[X,oe,V,z],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}figure[_ngcontent-%COMP%]{margin-bottom:24px}hr[_ngcontent-%COMP%]{margin:24px 0;border:1px solid var(--gray-03)}.box-text[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     p br{margin-bottom:16px}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{margin-bottom:40px}.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:24px}.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.25rem;line-height:1.5rem}.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .figure[_ngcontent-%COMP%]{width:100%;max-width:440px}.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .figure[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{width:100%;aspect-ratio:16/9;border-radius:10px;overflow:hidden}.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .figure[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:10px}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{margin-bottom:40px}.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{gap:16px}.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.3125rem}.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .figure[_ngcontent-%COMP%]{width:100%}}@media (max-width: 600px){.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{margin-bottom:40px}.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:column;gap:16px}.section-highlights[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .figure[_ngcontent-%COMP%]{width:100%}}']});let t=e;return t})();var fu=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("sobre-o-mi/explore","")}listImages(n){return this.baseService.methodGet(`sobre-o-mi/explore/imagens?page=${n}`,"")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ra=(()=>{let e=class e{constructor(n,r,o){this.updateMetaTagsService=n,this.service=r,this.loading=o}resolve(n,r){return this.service.list().toPromise().then(o=>{this.data=o;
9let a={title:o.explore.tag_title,description:o.explore.tag_description,img:o.explore.image};return this.updateMetaTagsService.updateMetaTag(a)},o=>{this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(x(W),x(fu),x(U))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function D5(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.image.full_path)}}function k5(t,e){if(t&1&&(p(0,"a",5)(1,"figure"),g(2,"img",6),u()()),t&2){let i=C();f("href",i.image==null?null:i.image.link,L)("title",i.image==null?null:i.image.alt_image),c(2),f("src",i.image==null?null:i.image.full_path,L)("alt",i.image==null?null:i.image.alt_image)}}function A5(t,e){if(t&1){let i=ne();p(0,"div",9)(1,"app-button",10),y(2,"translate"),B("handleClick",function(){Q(i);let r=C(2);return Z(r.onGetImages())}),u()()}t&2&&(c(),f("label",v(2,1,"LABEL-BTN-SEE-MORE")))}function N5(t,e){if(t&1&&(g(0,"app-title-section",7),y(1,"translate"),g(2,"app-gallery",8),O(3,A5,3,3,"div",9)),t&2){let i=C();f("size","small")("title",v(1,4,"COFFEE-MUSEUM.EXPLORE.TITLE-IMAGENS")),c(2),f("masonryItems",i.listImages),c(),w(3,(i.InfoImages==null?null:i.InfoImages.current_page)<(i.InfoImages==null?null:i.InfoImages.last_page)?3:-1)}}var hu=(()=>{let e=class e{constructor(n,r,o,a,s,l){this.languageService=n,this.resolve=r,this.service=o,this.loading=a,this.footerService=s,this.lightbox=l,this.image={},this.description={},this.list=[],this.listImages=[],this.InfoImages={},this.current_page_images=1}ngOnInit(){this.onGet(),this.onGetImages()}onGet(){let{explore:n}=this.resolve.data;this.image={full_path:n.image,alt_image:n.alt_image,link:n.link},this.description=n.html,this.loading.close()}open(n){this.lightbox.open(this.listImages,n)}onGetImages(){this.loading.open(),this.service.listImages(this.current_page_images).subscribe(n=>{this.InfoImages=n.images,this.current_page_images=this.InfoImages.current_page+1,this.listImages&&this.listImages.length>0?(this.listImages=[...this.listImages],n.images.data.forEach(r=>{this.listImages.push({src:r.file.full_path,thumb:r.file.full_path,caption:r.title,title:""})})):n.images.data.forEach(r=>{this.listImages.push({src:r.file.full_path,thumb:r.file.full_path,caption:r.title,title:""})}),this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(We),m(ra),m(fu),m(U),m(ae),m(Lt))},e.\u0275cmp=T({type:e,selectors:[["app-explore"]],standalone:!0,features:[k],decls:8,vars:10,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-content"],[1,"box-text",3,"innerHTML"],[3,"skeleton-img"],["target","_blank",3,"href","title"],[3,"src","alt"],[3,"size","title"],[3,"masonryItems"],[1,"row-btn"],["type","tertiary",3,"handleClick","label"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section",2),g(4,"div",3),O(5,D5,1,2,"figure",4)(6,k5,3,4),u(),O(7,N5,4,6),u()),r&2&&(f("title",v(1,8,"COFFEE-MUSEUM.EXPLORE.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(2),F("skeleton-img",!o.description.html),f("innerHTML",o.description==null?null:o.description.html,J),c(),w(5,o.image.full_path?6:5),c(2),w(7,o.listImages.length>0?7:-1))},dependencies:[X,oe,V,z,ce,tt,on,Ud,fe],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-content[_ngcontent-%COMP%]{margin-bottom:40px}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-text[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px;margin-bottom:40px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     p br{margin-bottom:16px}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.row-btn[_ngcontent-%COMP%]{margin:0 auto 40px;text-align:center;display:flex;justify-content:center}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}}']});let t=e;return t})();function R5(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.image.full_path)}}
9function L5(t,e){if(t&1&&(p(0,"figure"),g(1,"img",17),u()),t&2){let i=C();c(),f("src",i.image==null?null:i.image.full_path,L)("alt",i.image==null?null:i.image.alt_image)}}function F5(t,e){if(t&1){let i=ne();p(0,"figure",22),B("click",function(){Q(i);let r=C().$index,o=C(2);return Z(o.open(r))}),g(1,"img",23),u()}if(t&2){let i=C().$implicit;c(),f("src",i.thumb,L)}}function B5(t,e){t&1&&O(0,F5,2,1,"ng-template",21)}function j5(t,e){if(t&1&&(p(0,"section",16)(1,"div",3),g(2,"app-title-section",18),y(3,"translate"),u(),p(4,"div",19)(5,"div",3)(6,"owl-carousel-o",20,0),A(8,B5,1,0,null,21,j),u()()()()),t&2){let i=Rt(7),n=C();c(2),f("title",v(3,4,"COFFEE-MUSEUM.EXPLORE.TITLE-IMAGENS"))("btnPrev",i.prev.bind(i))("btnNext",i.next.bind(i)),c(4),f("options",n.galleryCarousel),c(2),N(n.galleryList)}}var gu=(()=>{let e=class e{constructor(n,r,o,a,s,l,d,h){this.languageService=n,this.service=r,this.loading=o,this.footerService=a,this.lightbox=s,this.metaTags=l,this.route=d,this.platformId=h,this.image={},this.description={},this.list=[],this.galleryList=[],this.slug="",this.title="",this.url="",this.galleryCarousel={},Xe(this.platformId)&&(this.url=window.location.href)}ngOnInit(){this.route.params.subscribe(n=>{this.slug=n.id}),this.onGet()}onGet(){this.service.visitInternal(this.slug).subscribe(n=>{let{visit:r}=n;this.title=r.title,this.image={full_path:r.image?.full_path,alt_image:r.alt_image},this.description=r.description,r.gallery.forEach(o=>{this.galleryList.push({src:o.file?.full_path,thumb:o.file?.full_path,caption:"",name:""})}
9),this.metaTags.updateMetaTag({title:r.tag_title,description:r.tag_description,img:r.image?.full_path}),this.listCarousel(),this.loading.close()},n=>{console.error("Error:",n)})}open(n){this.lightbox.open(this.galleryList,n)}listCarousel(){this.galleryCarousel={loop:this.galleryList.length>1,autoplay:!1,autoplaySpeed:800,autoplayTimeout:3e3,mouseDrag:!1,touchDrag:!0,items:1,slideBy:1,autoWidth:!0,margin:16,nav:!1,dots:!1,responsive:{650:{items:2,loop:this.galleryList.length>2},1300:{items:3,loop:this.galleryList.length>3}}}}};e.\u0275fac=function(r){return new(r||e)(m(We),m(wd),m(U),m(ae),m(Lt),m(W),m(ke),m(De))},e.\u0275cmp=T({type:e,selectors:[["app-visit-internal"]],standalone:!0,features:[k],decls:21,vars:12,consts:[["carouselGallery",""],[3,"title"],[1,"section-content"],[1,"container"],[1,"wrapper"],[1,"content"],[3,"skeleton-img"],[1,"box-text",3,"innerHTML"],[1,"box-aside"],[1,"icons"],["target","_blank","title","\xEDcone facebook",3,"href"],["src","assets/img/icons/icon-facebook-orange.svg","alt","\xEDcone facebook"],["target","_blank","title","\xEDcone x",3,"href"],["src","assets/img/icons/icon-x-orange.svg","alt","\xEDcone x"],["target","_blank","title","\xEDcone whatsapp",3,"href"],["src","assets/img/icons/icon-whatsapp-orange.svg","alt","\xEDcone whatsapp"],[1,"section-gallery"],[3,"src","alt"],[3,"title","btnPrev","btnNext"],[1,"container-carousel"],[3,"options"],["carouselSlide",""],[1,"img",3,"click"],["alt","",3,"src"]],template:function(r,o){r&1&&(g(0,"app-title-page",1),p(1,"section",2)(2,"div",3)(3,"div",4)(4,"div",5),O(5,R5,1,2,"figure",6)(6,L5,2,2),g(7,"div",7),u(),p(8,"aside")(9,"div",8)(10,"p"),b(11),y(12,"translate"),u(),p(13,"div",9)(14,"a",10),g(15,"img",11),u(),p(16,"a",12),g(17,"img",13),u(),p(18,"a",14),g(19,"img",15),u()()()()()()(),O(20,j5,10,6,"section",16)),r&2&&(f("title",o.title),c(5),w(5,o.image.full_path?6:5),c(2),F("skeleton-img",!o.description.description),f("innerHTML",o.description==null?null:o.description.description,J),c(4),$(v(12,10,"EXPOSITION.INTERNAL.LABEL-SHARE")),c(3),f("href","https://www.facebook.com/sharer/sharer.php?u="+o.url,L),c(2),f("href","https://twitter.com/intent/tweet?text="+o.title+"&url="+o.url,L),c(2),f("href","https://wa.me/?text="+o.url,L),c(2),w(20,o.galleryList.length>0?20:-1))},dependencies:[X,V,z,ce,tt,Ot,xt,on],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-content[_ngcontent-%COMP%]{margin:30px auto}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:24px;justify-content:space-between;position:relative}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{width:100%}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{margin-bottom:20px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]{padding-left:0!important;padding-top:10px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem;border-bottom:1px solid var(--gray-05);text-decoration:none}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:0}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{position:sticky;top:3%}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]{background-color:var(--gray-02);display:flex;align-items:center;justify-content:center;gap:44px;padding:40px 48px;border-radius:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--orange);font-size:2rem;line-height:2.5rem}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:16px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{width:20px;height:20px}.section-gallery[_ngcontent-%COMP%]{margin-bottom:80px}
9.section-gallery[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]{position:relative;width:100%;margin:24px 0;overflow-x:clip}.section-gallery[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]     .owl-carousel .owl-stage-outer{overflow:visible}.section-gallery[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]     .owl-stage{display:flex}.section-gallery[_ngcontent-%COMP%]   .container-carousel[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{max-width:500px;cursor:pointer}.section-see-more[_ngcontent-%COMP%]{margin-bottom:40px}.section-see-more[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:flex-start;gap:24px;margin-bottom:24px}.section-see-more[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:33.3333333333%}@media (max-width: 1050px){.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]{gap:16px;padding:30px 38px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.5rem;line-height:1.75rem}.section-see-more[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-wrap:wrap}.section-see-more[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:calc(50% - 12px)}}@media (max-width: 768px){.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:column;gap:24px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]{gap:50px;padding:24px 16px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.5rem}.section-gallery[_ngcontent-%COMP%]{margin-bottom:40px}.section-see-more[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-wrap:wrap}.section-see-more[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   app-card[_ngcontent-%COMP%]{width:100%}}']});let t=e;return t})();var M1=(()=>{let e=class e{constructor(n){this.baseService=n}search(n,r){return this.baseService.methodGet(`busca?${n?`q=${n}&`:""}page=${r}`,"")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function U5(t,e){if(t&1&&(p(0,"figure",5),g(1,"img",10),u()),t&2){let i=C().$implicit;c(),f("src",i.srcImg,L)("alt",i.altImg)}}function H5(t,e){if(t&1&&(Ge(0),p(1,"div",3)(2,"h4"),b(3),g(4,"hr"),u(),p(5,"div",4),O(6,U5,2,2,"figure",5),p(7,"div",6)(8,"p",7),b(9),u(),p(10,"p",8),b(11),u(),g(12,"app-button",9),y(13,"translate"),u()()(),qe()),t&2){let i=e.$implicit;c(3),dn(" ",i.titlePage," > ",i.title_category," "),c(3),w(6,i.srcImg?6:-1),c(3),I(" ",i.title," "),c(2),I(" ",i.description," "),c(),f("type","secondary")("link",i.link)("label",v(13,8,"SEARCH.LABEL-BTN"))}}function z5(t,e){if(t&1){let i=ne();p(0,"div",2)(1,"app-button",11),y(2,"translate"),B("handleClick",function(){Q(i);let r=C();return Z(r.onGet())}),u()()}t&2&&(c(),f("label",v(2,1,"LABEL-BTN-SEE-MORE")))}var mu=(()=>{let e=class e{constructor(n,r,o,a,s){this.loading=n,this.activatedRoute=r,this.router=o,this.service=a,this.translate=s,this.search="",this.current_page=1,this.response={},this.listCards=[]}ngOnInit(){this.activatedRoute.queryParams.subscribe(n=>{n.search?this.search=n.search:this.router.navigate(["/404"])}),this.onGet()}onGet(){this.loading.open(),this.service.search(this.search,this.current_page).subscribe(n=>Kt(this,null,function*(){let{response:r}=n;this.current_page=r.current_page+1,this.response=r,this.listCards.length===0&&(this.listCards=[]);let o=yield Promise.all(r.data.map(a=>Kt(this,null,function*(){let[s,l]=yield Promise.all([this.generateURL(a.type),this.generateTitlePage(a.type)]);return{titlePage:l,title:a.title,srcImg:a.image?.full_path,altImg:a.alt_image,description:a.description?.description_limit,title_category:a.title_category,link:s+"/"+a.slug}})));this.listCards.push(...o),this.loading.close()}),n=>{console.error(n),this.loading.close()})}generateURL(n){return Kt(this,null,function*(){let o={exposicao:"EXPOSITION.BTNS","programacao-agenda":"EXPOSITION.BTNS",blog:"MENU-FOOTER.COLLECTION-AND-RESEARCH.OPTIONS","imprensa-release":"FOOTER-LIST"}[n]||"";return o?this.translate.get(o).toPromise().then(a=>{switch(n){case"exposicao":return a[0]?.LINK||"";case"programacao-agenda":return a[1]?.LINK||"";case"blog":return a[2]?.LINK||"";case"imprensa-release":return a[0]?.OPTIONS[5]?.LINK||"";default:return""}}).catch(()=>""):""})}generateTitlePage(n){return Kt(this,null,function*(){let o={exposicao:"EXPOSITION.BTNS",blog:"MENU-FOOTER.COLLECTION-AND-RESEARCH.OPTIONS","programacao-agenda":"EXPOSITION.BTNS","imprensa-release":"FOOTER-LIST"}[n]||"";return o?this.translate.get(o).toPromise().then(a=>{switch(n){case"exposicao":return a[0]?.TITLE||"";case"programacao-agenda":return a[1]?.TITLE||"";case"blog":return a[2]?.NAME||"";case"imprensa-release":return a[0]?.OPTIONS[5]?.NAME||"";default:return""}}).catch(()=>""):""})}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ke),m(pt),m(M1),m(ee))},e.\u0275cmp=T({type:e,selectors:[["app-search"]],standalone:!0,features:[
9k],decls:14,vars:9,consts:[[1,"container"],[1,"box-title"],[1,"row-btn"],[1,"card"],[1,"wrapper"],[1,"coll-img"],[1,"coll-text"],[1,"title"],[1,"description"],[3,"type","link","label"],[3,"src","alt"],["type","tertiary",3,"handleClick","label"]],template:function(r,o){r&1&&(p(0,"section")(1,"div",0)(2,"div",1)(3,"h1")(4,"strong"),b(5),y(6,"translate"),u(),b(7),u(),p(8,"span"),b(9),y(10,"translate"),u()(),A(11,H5,14,10,"ng-container",null,j),O(13,z5,3,3,"div",2),u()()),r&2&&(c(5),$(v(6,5,"SEARCH.TITLE")),c(2),I(" ",o.search," "),c(2),dn(" ",o.response.total," ",v(10,7,"SEARCH.RESULT")," "),c(2),N(o.listCards),c(2),w(13,(o.response==null?null:o.response.current_page)<(o.response==null?null:o.response.last_page)?13:-1))},dependencies:[fe,V,z],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}section[_ngcontent-%COMP%]{margin:40px auto}section[_ngcontent-%COMP%]   .box-title[_ngcontent-%COMP%]{margin-bottom:24px}section[_ngcontent-%COMP%]   .box-title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1.5rem;line-height:28px;margin-bottom:8px}section[_ngcontent-%COMP%]   .box-title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal}section[_ngcontent-%COMP%]   .box-title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:.875rem;line-height:21px}section[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{margin-bottom:24px}section[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.5rem;text-transform:uppercase;line-height:28px;margin-bottom:16px;display:flex;align-items:center;justify-content:flex-start;gap:24px}section[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{flex:auto;border:1px solid var(--gray-03)}section[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:24px}section[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]{width:100%;max-width:322px;min-width:300px}section[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.25rem;line-height:24px;margin-bottom:8px}section[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;margin-bottom:16px}.row-btn[_ngcontent-%COMP%]{margin:0 auto 40px;text-align:center;display:flex;justify-content:center}@media (max-width: 768px){section[_ngcontent-%COMP%]   .box-title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:1.25rem;line-height:24px}section[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{margin-bottom:24px}
9section[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:1.25rem;line-height:24px;margin-bottom:16px;gap:8px}section[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;flex-direction:column;gap:16px}section[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]{min-width:auto}}']});let t=e;return t})();var _u=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("cpc/cursos","")}getCourses(n){return this.baseService.methodGet("cpc/cursos",n)}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function $5(t,e){t&1&&g(0,"div",4)(1,"div",4)}function G5(t,e){if(t&1&&(p(0,"span"),b(1),u()),t&2){let i=C(2).$implicit;c(),I(" a ",i.next_class.end_date," ")}}function q5(t,e){if(t&1&&(p(0,"p",12),b(1),y(2,"translate"),O(3,G5,2,1,"span"),u()),t&2){let i=C().$implicit;c(),dn(" ",v(2,3,"CPC.COURSES.NEXT_CLASS")," ",i.next_class.start_date," "),c(2),w(3,i.next_class.end_date?3:-1)}}function W5(t,e){t&1&&(p(0,"p",12),b(1),y(2,"translate"),u()),t&2&&(c(),I(" ",v(2,1,"CPC.COURSES.NO_CLASS")," "))}function K5(t,e){if(t&1&&(p(0,"div",10)(1,"figure"),g(2,"img",5),u(),p(3,"p",11),b(4),u(),O(5,q5,4,5,"p",12)(6,W5,3,3),g(7,"app-button",13),y(8,"translate"),u()),t&2){let i=e.$implicit,n=C(2);F("active",i.next_class),c(2),f("src",i.image_thumb,L)("alt",i.alt_image),c(2),I(" ",i.title," "),c(),w(5,i.next_class?5:6),c(2),f("type","secondary")("link",n.listAside.OPTIONS[2].LINK+"/"+i.slug)("isTargetBlank",!1)("small",!0)("label",v(8,11,"CPC.COURSES.LABEL-BTN"))}}function Y5(t,e){if(t&1&&(p(0,"section",2),g(1,"app-title-section",0),p(2,"figure"),g(3,"img",5),u(),p(4,"div",6)(5,"p"),b(6),u()(),g(7,"app-title-section",7),y(8,"translate"),p(9,"div",8),A(10,K5,9,13,"div",9,j),u()()),t&2){let i=e.$implicit;c(),f("title",i.name),c(2),f("src",i.image,L)("alt",i.alt_image),c(3),I(" ",i.description," "),c(),f("title",v(8,7,"CPC.COURSES.MODULES"))("size","small")("line",!1),c(3),N(i.modules)}}var Cu=(()=>{let e=class e{constructor(n,r,o,a,s){this.loading=n,this.footerService=r,this.translate=o,this.service=a,this.metaTags=s,this.listAside={},this.listCourses=[]}ngOnInit(){this.loadTranslations()}loadTranslations(){this.translate.get("MENU-FOOTER.CPC").subscribe(n=>{this.listAside=n,this.onGet()})}onGet(){this.service.list().subscribe(n=>{let{courses:r}=n;this.listCourses=r,this.loading.close()},n=>{console.error(n),this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ae),m(ee),m(_u),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-courses"]],standalone:!0,features:[k],decls:7,vars:7,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-page"],["title","CPC.COURSES.TITLE-NEWSLETTER","description","",3,"type"],[1,"skeleton-img"],[3,"src","alt"],[1,"content"],[3,"title","size","line"],[1,"row-cards"],[1,"card",3,"active"],[1,"card"],[1,"title"],[1,"description"],[3,"type","link","isTargetBlank","small","label"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1),O(3,$5,2,0),A(4,Y5,12,9,"section",2,j),u(),g(6,"app-newsletter",3)),r&2&&(f("title",v(1,5,"CPC.COURSES.TITLE")),c(2),f("title",o.listAside.ABBREVIATION)("listOptions",o.listAside.OPTIONS),c(),w(3,o.listCourses.length===0?3:-1),c(),N(o.listCourses),c(2),f("type",2))},dependencies:[X,oe,ce,V,z,fe,Zo],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-page[_ngcontent-%COMP%]{margin-bottom:24px}.section-page[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{max-width:960px;width:100%;margin-bottom:16px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}.section-page[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:flex-start;flex-wrap:wrap;gap:16px}.section-page[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(33.3333333333% - 11px);margin-bottom:16px;gap:8px}.section-page[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{width:100%;margin-bottom:16px;position:relative}.section-page[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]:before{content:"";position:absolute;width:100%;height:100%;background-color:#fff6}.section-page[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--gray-05);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem;margin-bottom:16px}.section-page[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card.active[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]:before{display:none}app-newsletter[_ngcontent-%COMP%]{margin-top:-30px;margin-bottom:56px;display:block}@media (max-width: 1200px){.section-page[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(50% - 8px)}}@media (max-width: 768px){.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}.section-page[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--gray-03);padding:16px 0;margin-bottom:0}.section-page[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:.875rem;line-height:1.3125rem}.section-page[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%], .section-page[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{display:none}.section-page[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]:last-child{border-bottom:1px solid transparent}app-newsletter[_ngcontent-%COMP%]{margin-bottom:32px;display:block}}']});let t=e;return t})();function Q5(t,e){if(t&1&&(p(0,"a",10)(1,"figure"),g(2,"img",11),u()()),t&2){let i=e.$implicit;f("href",i.link,L)("title",i.alt_image),c(2),f("src",i.image,L)("alt",i.alt_image)}}function Z5(t,e){if(t&1&&(g(0,"app-title-section",8),y(1,"translate"),p(2,"div",9),A(3,Q5,3,4,"a",10,j),u()),t&2){let i=C();f("line",!1)("title",v(1,2,"CPC.COURSES.VIDEO")),c(3),N(i.event.videos)}}function X5(t,e){if(t&1&&(p(0,"li")(1,"strong"),b(2),y(3,"translate"),u(),g(4,"br"),b(5),u()),t&2){let i=C();c(2),$(v(3,2,"SCHEDULE.INTERNAL.PRICE")),c(3),I(" ",i.event.price," ")}}function J5(t,e){if(t&1&&(p(0,"li")(1,"strong"),b(2),y(3,"translate"),u(),g(4,"br"),b(5),u()),t&2){let i=C();c(2),$(v(3,2,"SCHEDULE.INTERNAL.WORKLOAD")),c(3),I(" ",i.event.workload," ")}}function eL(t,e){if(t&1&&(p(0,"li")(1,"strong"),b(2),y(3,"translate"),u(),g(4,"br"),b(5),u()),t&2){let i=C();c(2),$(v(3,2,"SCHEDULE.INTERNAL.TIME")),c(3),I(" ",i.event.hour," ")}}function tL(t,e){if(t&1&&b(0),t&2){let i=C().$implicit;I(" a ",i.end_date," ")}}function nL(t,e){if(t&1&&(b(0),O(1,tL,1,1),g(2,"br")),t&2){let i=e.$implicit;I(" ",i.start_date," "),c(),w(1,i.end_date?1:-1)}}function iL(t,e){if(t&1&&(p(0,"li")(1,"strong"),b(2),y(3,"translate"),u(),g(4,"br"),A(5,nL,3,2,"br",null,j),u()),t&2){let i=C();c(2),$(v(3,1,"SCHEDULE.INTERNAL.DATE")),c(3),N(i.event.classes)}}function rL(t,e){if(t&1&&(p(0,"li")(1,"strong"),b(2),y(3,"translate"),u(),g(4,"br"),b(5),u()),t&2){let i=C();c(2),$(v(3,2,"SCHEDULE.INTERNAL.REGISTRATIONS")),c(3),I(" ",i.event.guid
9ance," ")}}function oL(t,e){if(t&1&&(g(0,"app-button",7),y(1,"translate")),t&2){let i=C();f("label",v(1,4,"SCHEDULE.INTERNAL.LABEL-BTN"))("type","tertiary")("isTargetBlank",!0)("link",i.event.event_brite_id)}}var yu=(()=>{let e=class e{constructor(n,r,o,a,s){this.loading=n,this.service=r,this.route=o,this.metaTags=a,this.platformId=s,this.slug="",this.url="",this.title="",this.html="",this.event={},this.galleryList=[],this.bannersList=[],this.galleryCarousel={},this.listSeeMore=[],this.files=[],Xe(this.platformId)&&(this.url=window.location.href)}ngOnInit(){this.route.params.subscribe(n=>{this.slug=n.slug}),this.onGet()}onGet(){this.service.getCourses(this.slug).subscribe(n=>{this.event=n.module,this.bannersList.push({srcImg:n.module.image,typeHighlights:"",title:"",description:"",labelBtn:"",link:"",isTarget:!1}),this.title=n.module.title,this.html=n.module.description?.description,this.metaTags.updateMetaTag({title:n.module?.tag_title,description:n.module?.tag_description,img:n.module?.image}),this.loading.close()},n=>{this.loading.close()})}listCarousel(){this.galleryCarousel={loop:this.galleryList.length>1,autoplay:!1,autoplaySpeed:800,autoplayTimeout:3e3,mouseDrag:!1,touchDrag:!0,items:1,slideBy:1,autoWidth:!0,margin:16,nav:!1,dots:!1,responsive:{650:{items:2,loop:this.galleryList.length>2},1300:{items:3,loop:this.galleryList.length>3}}}}getTypeHighlights(n){let r=n.start_date?.formatted_day_month.toUpperCase()||"",o=n.end_date?.formatted_day_month.toUpperCase()||"",a=n.types?.title.toUpperCase()||"Tipo n\xE3o definido";return r&&o?`${r} - ${o} | ${a}`:r?`${r} | ${a}`:o?`${o} | ${a}`:`${a}`}};e.\u0275fac=function(r){return new(r||e)(m(U),m(_u),m(ke),m(W),m(De))},e.\u0275cmp=T({type:e,selectors:[["app-courses-internal"]],standalone:!0,features:[k],decls:20,vars:14,consts:[[3,"bannersList"],[1,"section-content"],[1,"container"],[1,"wrapper"],[3,"title","line"],[1,"content",3,"innerHTML"],[1,"box-aside"],[3,"label","type","isTargetBlank","link"],["size","small",3,"line","title"],[1,"row-cards"],["target","_blank",1,"card",3,"href","title"],[3,"src","alt"]],template:function(r,o){r&1&&(g(0,"app-banners",0),p(1,"section",1)(2,"div",2)(3,"div",3)(4,"div"),g(5,"app-title-section",4)(6,"article",5),O(7,Z5,5,4),u(),p(8,"aside")(9,"div",6)(10,"p"),b(11),y(12,"translate"),u(),p(13,"ul",3),O(14,X5,6,4,"li")(15,J5,6,4,"li")(16,eL,6,4,"li")(17,iL,7,3,"li")(18,rL,6,4,"li"),u(),O(19,oL,2,6,"app-button",7),u()()()()()),r&2&&(f("bannersList",o.bannersList),c(5),f("title",o.event.title)("line",!1),c(),f("innerHTML",o.event.description==null?null:o.event.description.description,J),c(),w(7,(o.event.videos==null?null:o.event.videos.length)>0?7:-1),c(4),$(v(12,12,"SCHEDULE.INTERNAL.INFORMATION")),c(3),w(14,o.event.price?14:-1),c(),w(15,o.event.workload?15:-1),c(),w(16,o.event.hour?16:-1),c(),w(17,o.event.classes?17:-1),c(),w(18,o.event.guidance?18:-1),c(),w(19,o.event.event_brite_id?19:-1))},dependencies:[Ln,ce,tt,V,z,fe],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-content[_ngcontent-%COMP%]{margin:30px auto}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:24px;justify-content:space-between;position:relative}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:16px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(33.3333333333% - 11px)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{position:sticky;top:3%}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]{background-color:var(--gray-02);padding:40px 24px;border-radius:8px;min-width:400px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--orange);font-size:2rem;line-height:2.5rem;padding-bottom:16px;border-bottom:1px solid var(--gray-03)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-wrap:wrap;gap:16px;list-style:none;padding:16px 0}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:100%;font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;word-break:break-word}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-family:bold;font-weight:700;font-style:normal}@media (max-width: 1200px){.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(50% - 8px)}}@media (max-width: 768px){.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:column;gap:24px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{width:100%}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]{gap:50px;padding:24px 16px;width:100%;min-width:auto}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.5rem}}@media (max-width: 500px){.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .row-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(100% - 8px)}}']}
9);let t=e;return t})();var vu=(()=>{let e=class e{constructor(n){this.baseService=n}listAcervo(){return this.baseService.methodGet("acervo-e-pesquisa/acervo","")}listAcervoInternal(n){return this.baseService.methodGet(`acervo-e-pesquisa/acervo/${n}`,"")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function aL(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!(i.about.image!=null&&i.about.image.full_path))}}function sL(t,e){if(t&1&&(p(0,"figure"),g(1,"img",8),u()),t&2){let i=C();c(),f("src",i.about.image==null?null:i.about.image.full_path,L)("alt",i.about.image==null?null:i.about.image.alt_image)}}function lL(t,e){if(t&1&&g(0,"figure",10),t&2){let i=C().$implicit;F("skeleton-img",!i.image)}}function cL(t,e){if(t&1&&g(0,"app-button",13),t&2){let i=C().$implicit,n=C(3);f("small",!0)("label",i.btn_text)("link",n.listAside.OPTIONS[0].LINK+"/"+i.slug)}}function dL(t,e){if(t&1&&g(0,"app-button",14),t&2){let i=C().$implicit;f("small",!0)("label",i.title)("link",i.url)("isTargetBlank",i.is_target_blank)}}function uL(t,e){if(t&1&&O(0,cL,1,3,"app-button",13)(1,dL,1,4),t&2){let i=e.$implicit;w(0,i.slug?0:1)}}function pL(t,e){if(t&1&&(p(0,"div",11)(1,"figure"),g(2,"img",8),u(),p(3,"h5"),b(4),u(),p(5,"p"),b(6),u(),p(7,"div",12),A(8,uL,2,1,null,null,j),u()()),t&2){let i=C().$implicit;f("title",i.title),c(2),f("src",i.image==null?null:i.image.full_path,L)("alt",i.alt_image),c(2),$(i.title),c(2),I(" ",i.short_description==null?null:i.short_description.description," "),c(2),N(i.pageLinks)}}function fL(t,e){if(t&1&&O(0,lL,1,2,"figure",9)(1,pL,10,5),t&2){let i=e.$implicit;w(0,i.image?1:0)}}var bu=(()=>{let e=class e{constructor(n,r,o,a,s){this.translate=n,this.service=r,this.loading=o,this.footerService=a,this.metaTags=s,this.about={},this.listAside={}}ngOnInit(){this.loading.close(),this.loadTranslations()}loadTranslations(){this.translate.get("MENU-FOOTER.COLLECTION-AND-RESEARCH").subscribe(n=>{this.listAside=n,this.onGet()})}onGet(){this.service.listAcervo().subscribe(n=>{let{about:r}=n;this.about=r,this.metaTags.updateMetaTag({title:r.tag_title||"",description:r.tag_description||""}),this.loading.close()},n=>{})}};e.\u0275fac=function(r){return new(r||e)(m(ee),m(vu),m(U),m(ae),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-collection"]],standalone:!0,features:[k],decls:12,vars:10,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-page"],[3,"skeleton-img"],[3,"size","line","title"],[1,"content",3,"innerHTML"],[1,"section-cards"],[1,"wrapper"],[3,"src","alt"],[1,"card",3,"skeleton-img"],[1,"card"],[1,"card",3,"title"],[1,"row-btn"],["type","secondary",3,"small","label","link"],["type","secondary",3,"small","label","link","isTargetBlank"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section",2),O(4,aL,1,2,"figure",3)(5,sL,2,2),g(6,"app-title-section",4)(7,"div",5),u(),p(8,"section",6)(9,"div",7),A(10,fL,2,1,null,null,j),u()()()),r&2&&(f("title",v(1,8,"COLLECTION-AND-RESEARCH.COLLECTION.TITLE")),c(2),f("title",o.listAside.TITLE)("listOptions",o.listAside.OPTIONS),c(2),w(4,o.about.image!=null&&o.about.image.full_path?5:4),c(2),f("size","small")("line",!1)("title",o.about.title),c(),f("innerHTML",o.about.description==null?null:o.about.description.description,J),c(3),N(o.about==null?null:o.about.contents))},dependencies:[oe,X,V,z,fe,ce],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-page[_ngcontent-%COMP%]{margin-bottom:24px}.section-page[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{max-width:960px;width:100%}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}.section-page[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{padding-top:24px}.section-cards[_ngcontent-%COMP%]{margin-bottom:30px}.wrapper[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:flex-start;flex-wrap:wrap;gap:24px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(33.3333333333% - 16px);text-decoration:none;color:var(--gray-05);overflow:hidden}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{margin-bottom:16px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.25rem;line-height:24px;color:var(--gray-05);margin-bottom:8px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-05);margin-bottom:16px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .row-btn[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;flex-direction:column}.row-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}.row-btn[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}@media (max-width: 1050px){.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(50% - 12px)}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1.25rem;line-height:24px}}@media (max-width: 768px){.content[_ngcontent-%COMP%]     h3{line-height:1.5rem;margin-bottom:8px}.content[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.content[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.content[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(50% - 12px)}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1.125rem;line-height:24px}}@media (max-width: 500px){.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:100%}}']});let t=e;return t})();var xu=(()=>{let e=class e{constructor(n){this.baseService=n}listSearch(){return this.baseService.methodGet("acervo-e-pesquisa/pesquisa","")}listSearchInternal(n){return this.baseService.methodGet(`acervo-e-pesquisa/pesquisa/${n}`,"")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function hL(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!(i.about.image!=null&&i.about.image.full_path))}}function gL(t,e){if(t&1&&(p(0,"figure"),g(1,"img",7),u()),t&2){let i=C();c(),f("src",i.about.image==null?null:i.about.image.full_path,L)("alt",i.about.image==null?null:i.about.image.alt_image)}}function mL(t,e){if(t&1&&g(0,"figure",9),t&2){let i=C().$implicit;F("skeleton-img",!i.image)}}function _L(t,e){if(t&1&&g(0,"app-button",12),t&2){let i=C().$implicit,n=C(3);f("small",!0)("label",i.btn_text)("link",n.listAside.OPTIONS[1].LINK+"/"+i.slug)}}function CL(t,e){if(t&1&&g(0,"app-button",13),t&2){let i=C().$implicit;f("small",!0)("label",i.title)("link",i.url)("isTargetBlank",i.is_target_blank)}}function yL(t,e){if(t&1&&O(0,_L,1,3,"app-button",12)(1,CL,1,4),t&2){let i=e.$implicit;w(0,i.slug?0:1)}}function vL(t,e){if(t&1&&(p(0,"div",10)(1,"figure"),g(2,"img",7),u(),p(3,"h5"),b(4),u(),p(5,"p"),b(6),u(),p(7,"div",11),A(8,yL,2,1,null,null,j),u()()),t&2){let i=C().$implicit;f("title",i.title),c(2),f("src",i.image==null?null:i.image.full_path,L)("alt",i.alt_image),c(2),$(i.title),c(2),I(" ",i.short_description==null?null:i.short_description.description," "),c(2),N(i.pageLinks)}}function bL(t,e){if(t&1&&O(0,mL,1,2,"figure",8)(1,vL,10,5),t&2){let i=e.$implicit;w(0,i.image?1:0)}}var Mu=(()=>{let e=class e{constructor(n,r,o,a,s){this.translate=n,this.service=r,this.loading=o,this.footerService=a,this.metaTags=s,this.about={},this.listAside={}}ngOnInit(){this.loading.close(),this.loadTranslations()}loadTranslations(){this.translate.get("MENU-FOOTER.COLLECTION-AND-RESEARCH").subscribe(n=>{this.listAside=n,this.onGet()})}onGet(){this.service.listSearch().subscribe(n=>{let{about:r}=n;this.about=r,this.metaTags.updateMetaTag({title:r.tag_title||"",description:r.tag_description||""}),this.loading.close()},n=>{})}};e.\u0275fac=function(r){return new(r||e)(m(ee),m(xu),m(U),m(ae),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-investigacion"]],standalone:!0,features:[
9k],decls:12,vars:10,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-page"],[3,"skeleton-img"],[3,"size","line","title"],[1,"content",3,"innerHTML"],[1,"wrapper"],[3,"src","alt"],[1,"card",3,"skeleton-img"],[1,"card"],[1,"card",3,"title"],[1,"row-btn"],["type","secondary",3,"small","label","link"],["type","secondary",3,"small","label","link","isTargetBlank"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section",2),O(4,hL,1,2,"figure",3)(5,gL,2,2),g(6,"app-title-section",4)(7,"div",5),u(),p(8,"section")(9,"div",6),A(10,bL,2,1,null,null,j),u()()()),r&2&&(f("title",v(1,8,"COLLECTION-AND-RESEARCH.RESEARCH.TITLE")),c(2),f("title",o.listAside.TITLE)("listOptions",o.listAside.OPTIONS),c(2),w(4,o.about.image!=null&&o.about.image.full_path?5:4),c(2),f("size","small")("line",!1)("title",o.about.title),c(),f("innerHTML",o.about.description==null?null:o.about.description.description,J),c(3),N(o.about==null?null:o.about.contents))},dependencies:[oe,X,V,z,fe,ce],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-page[_ngcontent-%COMP%]{margin-bottom:24px}.section-page[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{max-width:960px;width:100%}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}.section-page[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{padding-top:24px}.wrapper[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:flex-start;flex-wrap:wrap;gap:24px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(33.3333333333% - 16px);text-decoration:none;color:var(--gray-05);overflow:hidden}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{margin-bottom:16px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.25rem;line-height:24px;color:var(--gray-05);margin-bottom:8px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-05);margin-bottom:16px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .row-btn[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;flex-direction:column}@media (max-width: 1050px){.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(50% - 12px)}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1.25rem;line-height:24px}}@media (max-width: 768px){.content[_ngcontent-%COMP%]     h3{line-height:1.5rem;margin-bottom:8px}.content[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.content[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.content[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:calc(50% - 12px)}.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:1.125rem;line-height:24px}}@media (max-width: 500px){.wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{width:100%}}']});let t=e;return t})();function xL(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!(i.propsPage.image!=null&&i.propsPage.image.full_path))}}function ML(t,e){if(t&1&&(p(0,"figure"),g(1,"img",5),u()),t&2){let i=C();c(),f("src",i.propsPage.image==null?null:i.propsPage.image.full_path,L)("alt",i.propsPage.image==null?null:i.propsPage.image.alt_image)}}var wu=(()=>{let e=class e{constructor(n,r,o,a,s,l){this.loading=n,this.footerService=r,this.route=o,this.translate=a,this.service=s,this.metaTags=l,this.listAside={},this.slug="",this.propsPage={title:"",description:{description:""},image:{full_path:""},alt_image:""},this.partners={partners:[],supporters:[]}}ngOnInit(){this.route.params.subscribe(n=>{this.slug=n.slug||""}),this.loadTranslations()}loadTranslations(){this.translate.get("MENU-FOOTER.COLLECTION-AND-RESEARCH").subscribe(n=>{this.listAside=n,this.onGet()})}onGet(){this.service.listAcervoInternal(this.slug).subscribe(n=>{let{page:r}=n;
9this.propsPage=r,this.metaTags.updateMetaTag({title:r.title,description:r.description.description_limit,img:r.image.full_path}),this.loading.close()},n=>{console.error(n),this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ae),m(ke),m(ee),m(vu),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-collection-internal"]],standalone:!0,features:[k],decls:8,vars:8,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-page"],[3,"skeleton-img"],[1,"content",3,"innerHTML"],[3,"src","alt"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section",2),O(4,xL,1,2,"figure",3)(5,ML,2,2),g(6,"app-title-section",0)(7,"div",4),u()()),r&2&&(f("title",v(1,6,"COLLECTION-AND-RESEARCH.COLLECTION.TITLE")),c(2),f("title",o.listAside.TITLE)("listOptions",o.listAside.OPTIONS),c(2),w(4,o.propsPage.image.full_path?5:4),c(2),f("title",o.propsPage.title),c(),f("innerHTML",o.propsPage.description.description,J))},dependencies:[X,oe,V,z,ce],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-page[_ngcontent-%COMP%]{margin-bottom:24px}.section-page[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{max-width:960px;width:100%}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}.section-page[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{padding-top:24px}.section-partners[_ngcontent-%COMP%]   .partners-supporters[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:16px 0}.section-partners[_ngcontent-%COMP%]   .partners-supporters[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-family:bold;font-weight:700;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;text-align:center;margin-bottom:16px}.section-partners[_ngcontent-%COMP%]   .partners-supporters[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}.section-partners[_ngcontent-%COMP%]   .partners-supporters[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{max-width:250px;width:100%}@media (max-width: 768px){.content[_ngcontent-%COMP%]     h3{line-height:1.5rem;margin-bottom:8px}.content[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.content[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.content[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}}']});let t=e;return t})();function wL(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!(i.propsPage.image!=null&&i.propsPage.image.full_path))}}function OL(t,e){if(t&1&&(p(0,"figure"),g(1,"img",5),u()),t&2){let i=C();c(),f("src",i.propsPage.image==null?null:i.propsPage.image.full_path,L)("alt",i.propsPage.image==null?null:i.propsPage.image.alt_image)}}var Ou=(()=>{let e=class e{constructor(n,r,o,a,s,l){this.loading=n,this.footerService=r,this.route=o,this.translate=a,this.service=s,this.metaTags=l,this.listAside={},this.slug="",this.propsPage={title:"",description:{description:""},image:{full_path:""},alt_image:""},this.partners={partners:[],supporters:[]}}ngOnInit(){this.route.params.subscribe(n=>{this.slug=n.slug||""}),this.loadTranslations()}loadTranslations(){this.translate.get("MENU-FOOTER.COLLECTION-AND-RESEARCH").subscribe(n=>{this.listAside=n,this.onGet()})}onGet(){this.service.listSearchInternal(this.slug).subscribe(n=>{let{page:r}=n;
9this.propsPage=r,this.metaTags.updateMetaTag({title:r.title,description:r.description.description_limit,img:r.image.full_path}),this.loading.close()},n=>{console.error(n),this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ae),m(ke),m(ee),m(xu),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-investigacion-internal"]],standalone:!0,features:[k],decls:8,vars:8,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-page"],[3,"skeleton-img"],[1,"content",3,"innerHTML"],[3,"src","alt"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section",2),O(4,wL,1,2,"figure",3)(5,OL,2,2),g(6,"app-title-section",0)(7,"div",4),u()()),r&2&&(f("title",v(1,6,"COLLECTION-AND-RESEARCH.RESEARCH.TITLE")),c(2),f("title",o.listAside.TITLE)("listOptions",o.listAside.OPTIONS),c(2),w(4,o.propsPage.image.full_path?5:4),c(2),f("title",o.propsPage.title),c(),f("innerHTML",o.propsPage.description.description,J))},dependencies:[X,oe,V,z,ce],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-page[_ngcontent-%COMP%]{margin-bottom:24px}.section-page[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{max-width:960px;width:100%}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-page[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}.section-page[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{padding-top:24px}.section-partners[_ngcontent-%COMP%]   .partners-supporters[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:16px 0}.section-partners[_ngcontent-%COMP%]   .partners-supporters[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-family:bold;font-weight:700;font-style:normal;color:var(--gray-06);font-size:1.25rem;line-height:1.5rem;text-align:center;margin-bottom:16px}.section-partners[_ngcontent-%COMP%]   .partners-supporters[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}.section-partners[_ngcontent-%COMP%]   .partners-supporters[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{max-width:250px;width:100%}@media (max-width: 768px){.content[_ngcontent-%COMP%]     h3{line-height:1.5rem;margin-bottom:8px}.content[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.content[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.content[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}}']});let t=e;return t})();var E1=(()=>{let e=class e{constructor(n){this.baseService=n}listDocuments(){return this.baseService.methodGet("acervo-e-pesquisa/acervo/documentos-de-gestao","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function EL(t,e){if(t&1&&(p(0,"li"),g(1,"img",3),p(2,"a",4),b(3),u()()),t&2){let i=e.$implicit;c(2),f("href",i.file==null?null:i.file.full_path,L)("title",i==null||i.file==null?null:i.file.name),c(),I(" ",i.name," ")}}function SL(t,e){if(t&1&&(p(0,"ul",2),A(1,EL,4,3,"li",null,j),u()),t&2){let i=C();c(),N(i.listFile)}}var Pu=(()=>{let e=class e{constructor(n,r,o,a,s){this.translate=n,this.service=r,this.loading=o,this.footerService=a,this.metaTags=s,this.about={},this.listAside={},this.listFile=[],this.metaTags.updateMetaTag({title:this.translate.instant("COLLECTION-AND-RESEARCH.COLLECTION.INTERNAL.TITLE"),description:this.translate.instant("COLLECTION-AND-RESEARCH.COLLECTION.INTERNAL.DESCRIPTION")})}ngOnInit(){this.loadTranslations(),this.loading.open()}loadTranslations(){this.translate.get("MENU-FOOTER.COLLECTION-AND-RESEARCH").subscribe(n=>{this.listAside=n,this.onGet()})}onGet(){this.service.listDocuments().subscribe(n=>
9{n.documents.forEach(r=>{this.listFile.push({name:r.title,file:r.file}),this.loading.close()})},n=>{this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(ee),m(E1),m(U),m(ae),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-documents-of-gestation"]],standalone:!0,features:[k],decls:10,vars:12,consts:[[3,"title"],[3,"title","listOptions"],[1,"list-file"],["src","assets/img/icons/icon-pdf.svg","alt","\xCDcone PDF"],["target","_blank",3,"href","title"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section"),g(4,"app-title-section",0),y(5,"translate"),p(6,"p"),b(7),y(8,"translate"),u(),O(9,SL,3,0,"ul",2),u()()),r&2&&(f("title",v(1,6,"COLLECTION-AND-RESEARCH.COLLECTION.TITLE")),c(2),f("title",o.listAside.TITLE)("listOptions",o.listAside.OPTIONS),c(2),f("title",v(5,8,"COLLECTION-AND-RESEARCH.COLLECTION.INTERNAL.TITLE")),c(3),I(" ",v(8,10,"COLLECTION-AND-RESEARCH.COLLECTION.INTERNAL.DESCRIPTION")," "),c(2),w(9,o.listFile.length>0?9:-1))},dependencies:[oe,X,V,z,ce],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}section[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]{padding-left:0!important;margin:24px 0}section[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:8px}section[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px}section[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1rem;line-height:1.5rem;border-bottom:1px solid var(--gray-05);text-decoration:none}section[_ngcontent-%COMP%]   .list-file[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:0}']});let t=e;return t})();var S1=(()=>{let e=class e{constructor(){this.onChange=new _e,this.checked=!1,this.type="default",this.label="Label",this.name="",this.id="",this.disabled=!1}ngOnInit(){this.ngControl&&(this.checked=this.ngControl.value)}handleChange(n){if(this.ngControl){this.ngControl.setValue(n.target.id),this.onChange.emit(n);return}this.onChange.emit(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=T({type:e,selectors:[["app-radio-button"]],inputs:{ngControl:"ngControl",checked:"checked",type:"type",label:"label",name:"name",id:"id",disabled:"disabled"},outputs:{onChange:"onChange"}
9,standalone:!0,features:[k],decls:5,vars:8,consts:[[1,"container-input"],["type","radio",3,"input","id","value","name","checked","disabled"],[1,"check"]],template:function(r,o){r&1&&(p(0,"div",0)(1,"label")(2,"input",1),B("input",function(s){return o.handleChange(s)}),u(),g(3,"div",2),b(4),u()()),r&2&&(F("disabled",o.disabled),c(2),f("id",o.id)("value",o.label)("name",o.name)("checked",o.checked)("disabled",o.disabled),c(2),I(" ",o.label," "))},styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.container-input[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{position:relative;font-family:regular;font-weight:400;font-style:normal;font-size:.875rem;color:var(--gray-06);display:flex;align-items:center;justify-content:flex-start;gap:8px;cursor:pointer}.container-input[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%]{position:relative;display:block;border:1px solid var(--gray-04);border-radius:100%;height:20px;width:20px;transition:all .2s}.container-input[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]:hover   .check[_ngcontent-%COMP%]{box-shadow:0 0 0 3px var(--orange);border:2px solid var(--gray-04)}.container-input[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]{position:absolute;visibility:hidden}.container-input[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:checked ~ .check[_ngcontent-%COMP%]{border:2px solid var(--orange)}.container-input[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]:checked ~ .check[_ngcontent-%COMP%]:before{content:"";position:absolute;width:8px;height:8px;background-color:var(--orange);top:50%;left:50%;transform:translate(-50%,-50%);border-radius:100%}.container-input.disabled[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{color:var(--gray-03);cursor:default}.container-input.disabled[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]   .check[_ngcontent-%COMP%], .container-input.disabled[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]:hover   .check[_ngcontent-%COMP%]{box-shadow:none;border:1px solid var(--gray-03)}']});let t=e;return t})();function IL(t,e){if(t&1){let i=ne();p(0,"app-radio-button",4),B("onChange",function(){let r=Q(i).$implicit,o=C();return Z(o.selectOption(r.id))}),u()}if(t&2){let i=e.$implicit,n=C();f("label",i.value)("id",i.id)("name",n.label+n.id)("checked",i.active)("disabled",n.disabled)}}var I1=(()=>{let e=class e{constructor(){this.handleClick=new _e,this.id="",this.label="Label",this.disabled=!1,this.required=!0,this.listOptions=[],this.isVertical=!1}ngOnInit(){this.validateValue()}validateValue(){this.listOptions&&this.listOptions.forEach(n=>
9{n.active=n.id===this.ngControl.value})}selectOption(n){this.ngControl.setValue(n),this.handleClick.emit(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=T({type:e,selectors:[["app-radio-group-button"]],inputs:{ngControl:"ngControl",id:"id",label:"label",disabled:"disabled",required:"required",help:"help",listOptions:"listOptions",isVertical:"isVertical"},outputs:{handleClick:"handleClick"},standalone:!0,features:[k],decls:5,vars:7,consts:[[1,"container-input"],[3,"label","disabled","id","help","required"],[1,"list-options"],[3,"label","id","name","checked","disabled"],[3,"onChange","label","id","name","checked","disabled"]],template:function(r,o){r&1&&(p(0,"div",0),g(1,"app-header-inputs",1),p(2,"div",2),A(3,IL,1,5,"app-radio-button",3,yi),u()()),r&2&&(c(),f("label",o.label)("disabled",o.disabled)("id",o.id)("help",o.help)("required",o.required),c(),F("column",o.isVertical),c(),N(o.listOptions))},dependencies:[S1,mr],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.container-input[_ngcontent-%COMP%]   .list-options[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:15px;flex-wrap:wrap;padding:18px 0}.container-input[_ngcontent-%COMP%]   .list-options.column[_ngcontent-%COMP%]{align-items:flex-start;flex-direction:column}']});let t=e;return t})();var T1=(()=>{let e=class e{constructor(n){this.BaseService=n}listFiles(){return this.BaseService.methodGet("gestao/cadastro-de-fornecedores","")}postForm(n){return this.BaseService.methodPost("acervo-e-pesquisa",n,"")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var DL=["successMessage"];function kL(t,e){if(t&1&&(p(0,"div",5),g(1,"div",7)(2,"app-button",8),y(3,"translate"),u()),t&2){let i=e.$implicit;c(),f("innerHTML",i.description==null?null:i.description.description,J),c(),f("link",i.file==null?null:i.file.full_path)("download",!0)("isTargetBlank",!0)("label",v(3,5,"LABEL-BTN-DOWNLOAD"))}}function AL(t,e){if(t&1&&(Ge(0),p(1,"div",19),g(2,"app-input",20),u(),qe()),t&2){let i=C().$implicit;c(),f("ngClass",i.row),c(),f("id",i.id)("type",i.type)("label",i.label)("placeholder",i.placeholder)("required",i.required)("disabled",i.disabled)("maxLength",i.maxLength)("help",i.help)("mask",i.mask)("ngControl",i.ngControl)("listOptions",i.listOptions)}}function NL(t,e){if(t&1&&(Ge(0),p(1,"div",19),g(2,"app-select",21),u(
9),qe()),t&2){let i=C().$implicit;c(),f("ngClass",i.row),c(),f("handleAdd",i.handleAdd)("type",i.type)("label",i.label)("placeholder",i.placeholder)("required",i.required)("disabled",i.disabled)("help",i.help)("ngControl",i.ngControl)("listOptions",i.listOptions)}}function RL(t,e){if(t&1&&(Ge(0),p(1,"div",19),g(2,"app-radio-group-button",22),u(),qe()),t&2){let i=C().$implicit;c(),f("ngClass",i.row),c(),f("id",i.id)("label",i.label)("required",i.required)("disabled",i.disabled)("help",i.help)("ngControl",i.ngControl)("isVertical",i.isVertical)("listOptions",i.listOptions)}}function LL(t,e){if(t&1&&(Ge(0,17),O(1,AL,3,12,"ng-container",18)(2,NL,3,10,"ng-container",18)(3,RL,3,9,"ng-container",18),qe()),t&2){let i=e.$implicit;f("ngSwitch",i.component),c(),f("ngSwitchCase","input"),c(),f("ngSwitchCase","select"),c(),f("ngSwitchCase","radio-button")}}function FL(t,e){if(t&1){let i=ne();p(0,"h3",9),b(1),y(2,"translate"),u(),p(3,"p",10),b(4),y(5,"translate"),u(),p(6,"form",11)(7,"div",12),O(8,LL,4,4,"ng-container",13),u(),p(9,"div",14)(10,"re-captcha",15,0),B("resolved",function(r){Q(i);let o=C();return Z(o.resolved(r))}),u(),p(12,"app-button",16),y(13,"translate"),B("handleClick",function(){Q(i);let r=C();return Z(r.handleSave())}),u()()()}if(t&2){let i=C();c(),I(" ",v(2,7,"COLLECTION-AND-RESEARCH.SEARCH-REQUEST.SUB-TITLE")," "),c(3),I(" ",v(5,9,"COLLECTION-AND-RESEARCH.SEARCH-REQUEST.DESCRIPTION")," "),c(2),f("formGroup",i.formValidation),c(2),f("ngForOf",i.listInputs),c(2),f("siteKey",i.key)("size","normal"),c(2),f("label",v(13,11,"COMPONENT-NEWSLETTER.LABEL-BTN"))}}function BL(t,e){t&1&&(p(0,"h3",9,1),b(2),y(3,"translate"),u()),t&2&&(c(2),I(" ",v(3,1,"COLLECTION-AND-RESEARCH.SEARCH-REQUEST.SUCESS-FORM")," "))}var Eu=(()=>{let e=class e{constructor(n,r,o,a,s,l,d){this.loading=n,this.footerService=r,this.fb=o,this.configForm=a,this.service=s,this.metaTags=l,this.translate=d,this.key=xd.keyRecaptcha,this.listInputs=[],this.isSucess=!1,this.files=[],this.listAside=[],this.metaTags.updateMetaTag({title:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.TITLE"),description:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.DESCRIPTION")})}ngOnInit(){this.formValidation=this.fb.group({name:["",[je.required]],institution:["",[je.required]],profession:["",[je.required]],city:["",[je.required]],state:[""],email:["",[je.required,gr()]],title_search:[""],purpose:[""],description:["",[je.required]],language:[""],sources:[""],other_sources_information:[""],interested_party_suggestions:[""],"g-recaptcha-response":["",[je.required]]}),this.onListInputs(),this.onGet(),this.loadTranslations()}loadTranslations(){this.translate.get("MENU-FOOTER.COLLECTION-AND-RESEARCH").subscribe(n=>{this.listAside=n,this.onGet()})}onGet(){this.service.listFiles().subscribe(n=>{this.files=n.files,this.loading.close()},n=>{this.loading.close()})}onListInputs(){this.listInputs=[{id:0,component:"input",row:"row-50",type:"text",label:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.FIELDS.NAME"),placeholder:"Digite aqui..",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.name},{id:1,component:"input",row:"row-50",type:"text",label:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.FIELDS.INSTITUTION"),placeholder:"Digite aqui..",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.institution},{id:2,component:"select",row:"row-50",type:"single",label:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.FIELDS.PROFESSION"),placeholder:"Selecione",required:!0,disabled:!1,help:"",ngControl:this.formValidation.controls.profession,listOptions:[{value:"Pesquisador Cient\xEDfico",id:"Pesquisador Cient\xEDfico",active:!1},{value:"Bibliotec\xE1rio/Documentalista",id:"Bibliotec\xE1rio/Documentalista",active:!1},{value:"Criador de Conte\xFAdo",id:"Criador de Conte\xFAdo",active:!1},{value:"Jornalista",id:"Jornalista",active:!1},{value:"Estudante",id:"Estudante",active:!1},{value:"Outro",id:"Outro",active:!1}]},{id:3,component:"input",row:"row-50",type:"text",label:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.FIELDS.CITY"),placeholder:"Digite aqui..",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.city},{id:4,component:"select",row:"row-50",type:"single",label:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.FIELDS.STATE"),placeholder:"Selecione",required:!1,disabled:!1,help:"",ngControl:this.formValidation.controls.state,listOptions:[{value:"AC",
9id:"AC",active:!1},{value:"AL",id:"AL",active:!1},{value:"AM",id:"AM",active:!1},{value:"AP",id:"AP",active:!1},{value:"BA",id:"BA",active:!1},{value:"CE",id:"CE",active:!1},{value:"DF",id:"DF",active:!1},{value:"ES",id:"ES",active:!1},{value:"GO",id:"GO",active:!1},{value:"MA",id:"MA",active:!1},{value:"MG",id:"MG",active:!1},{value:"MS",id:"MS",active:!1},{value:"MT",id:"MT",active:!1},{value:"PA",id:"PA",active:!1},{value:"PB",id:"PB",active:!1},{value:"PE",id:"PE",active:!1},{value:"PI",id:"PI",active:!1},{value:"PR",id:"PR",active:!1},{value:"RJ",id:"RJ",active:!1},{value:"RN",id:"RN",active:!1},{value:"RO",id:"RO",active:!1},{value:"RR",id:"RR",active:!1},{value:"RS",id:"RS",active:!1},{value:"SC",id:"SC",active:!1},{value:"SE",id:"SE",active:!1},{value:"SP",id:"SP",active:!1},{value:"TO",id:"TO",active:!1}]},{id:5,component:"input",row:"row-50",type:"text",label:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.FIELDS.EMAIL"),placeholder:"Digite aqui..",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.email},{id:6,component:"input",row:"row-50",type:"text",label:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.FIELDS.TITLE_SEARCH"),placeholder:"Digite aqui..",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.title_search},{id:7,component:"radio-button",row:"row-50",type:"default",label:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.FIELDS.PURPOSE"),required:!1,disabled:!1,help:"",ngControl:this.formValidation.controls.purpose,isVertical:!1,listOptions:[{id:"Gradua\xE7\xE3o",value:"Gradua\xE7\xE3o",active:!0},{id:"P\xF3s-gradua\xE7\xE3o",value:"P\xF3s-gradua\xE7\xE3o",active:!1},{id:"Outra",value:"Outra",active:!1}]},{id:8,component:"input",row:"row-100",type:"textarea",label:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.FIELDS.DESCRIPTION"),placeholder:"Digite aqui..",required:!1,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.description},{id:9,component:"radio-button",row:"row-50",type:"default",label:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.FIELDS.LANGUAGE"),required:!1,disabled:!1,help:"",ngControl:this.formValidation.controls.purpose,isVertical:!1,listOptions:[{id:"Somente portugu\xEAs",value:"Somente portugu\xEAs",active:!0},{id:"N\xE3o h\xE1 restri\xE7\xE3o",value:"N\xE3o h\xE1 restri\xE7\xE3o",active:!1}]},{id:10,component:"input",row:"row-50",type:"text",label:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.FIELDS.SOURCES"),placeholder:"Digite aqui..",required:!1,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.sources},{id:11,component:"input",row:"row-100",type:"text",label:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.FIELDS.OTHER_SOURCES_INFORMATION"),placeholder:"Digite aqui..",required:!1,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.other_sources_information},{id:13,component:"input",row:"row-100",type:"textarea",label:this.translate.instant("COLLECTION-AND-RESEARCH.SEARCH-REQUEST.FIELDS.INT
9ERESTED_PARTY_SUGGESTIONS"),placeholder:"Digite aqui..",required:!1,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.interested_party_suggestions}]}isValidForm(){return this.formValidation.valid}handleSave(){if(!this.isValidForm()){this.configForm.isError=!0;return}this.loading.open(),this.service.postForm(this.formValidation.value).subscribe(n=>{this.isSucess=!0,this.formValidation.reset(),this.configForm.isError=!1,this.onListInputs(),setTimeout(()=>{this.scrollToSuccessMessage()},100),this.loading.close(),setTimeout(()=>{this.isSucess=!1,this.configForm.isError=!1},5e3)},n=>{this.loading.close()})}scrollToSuccessMessage(){let n=this.successMessageRef.nativeElement,r=n.getBoundingClientRect(),o=window.innerHeight,a=n.offsetTop-o/2+r.height/2;window.scrollTo({top:a,behavior:"smooth"})}resolved(n){this.formValidation.controls["g-recaptcha-response"].setValue(n)}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ae),m(jn),m(Pi),m(T1),m(W),m(ee))},e.\u0275cmp=T({type:e,selectors:[["app-search-request"]],viewQuery:function(r,o){if(r&1&&wt(DL,5),r&2){let a;dt(a=ut())&&(o.successMessageRef=a.first)}},standalone:!0,features:[k],decls:9,vars:6,consts:[["captchaRef","reCaptcha"],["successMessage",""],[3,"title"],[3,"title","listOptions"],[1,"section-files"],[1,"box-file"],[1,"section-form"],[1,"content",3,"innerHTML"],["type","tertiary",3,"link","download","isTargetBlank","label"],[1,"title"],[1,"description"],[3,"formGroup"],[1,"grid"],[3,"ngSwitch",4,"ngFor","ngForOf"],[1,"row-btns"],[3,"resolved","siteKey","size"],["type","tertiary",3,"handleClick","label"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"ngClass"],[3,"id","type","label","placeholder","required","disabled","maxLength","help","mask","ngControl","listOptions"],[3,"handleAdd","type","label","placeholder","required","disabled","help","ngControl","listOptions"],[3,"id","label","required","disabled","help","ngControl","isVertical","listOptions"]],template:function(r,o){r&1&&(g(0,"app-title-page",2),y(1,"translate"),p(2,"app-aside",3)(3,"section",4),A(4,kL,4,7,"div",5,j),u(),p(6,"section",6),O(7,FL,14,13)(8,BL,4,3),u()()),r&2&&(f("title",v(1,4,"COLLECTION-AND-RESEARCH.SEARCH-REQUEST.TITLE")),c(2),f("title",o.listAside.TITLE)("listOptions",o.listAside.OPTIONS),c(2),N(o.files),c(3),w(7,o.isSucess?8:7))},dependencies:[X,V,z,oe,Ye,nn,rn,Vi,tr,pn,Bn,Fn,zt,On,ea,na,I1,Qd,Yd,fe],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-form[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.25rem;line-height:1.5rem;margin-bottom:16px}.section-form[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:24px}.section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:space-between;gap:12px;flex-wrap:wrap}.section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-50[_ngcontent-%COMP%]{width:calc(50% - 12px)}.section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-100[_ngcontent-%COMP%]{width:100%}.section-form[_ngcontent-%COMP%]   .row-btns[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.box-file[_ngcontent-%COMP%]{margin-bottom:24px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{margin-bottom:8px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}@media (max-width: 768px){.box-file[_ngcontent-%COMP%]{margin-bottom:24px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{margin-bottom:8px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:1.3125rem;margin-bottom:8px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:1.3125rem}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:1.3125rem}.box-file[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:500px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9}}@media (max-width: 650px){.section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-50[_ngcontent-%COMP%], .section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-100[_ngcontent-%COMP%]{width:100%}}']});let t=e;return t})();var Su=(()=>{let e=class e{constructor(n,r){this.updateMetaTagsService=n,this.translate=r}resolve(n,r){setTimeout(()=>{let o=this.translate.currentLang||this.translate.getDefaultLang();return this.translate.getTranslation(o).toPromise().then(a=>{let s={title:a.HOME.TAG_TITLE,description:a.HOME.TAG_DESCRIPTION};return this.updateMetaTagsService.updateMetaTag(s)})},50)}};e.\u0275fac=function(r){return new(r||e)(x(W),x(ee))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Iu=(()=>{let e=class e{constructor(n,r){this.updateMetaTagsService=n,this.translate=r}resolve(n,r){setTimeout(()=>{let o=this.translate.currentLang||this.translate.getDefaultLang();return this.translate.getTranslation(o).toPromise().then(a=>{let s={title:a.VISIT.TAG_TITLE,description:a.VISIT.TAG_DESCRIPTION};return this.updateMetaTagsService.updateMetaTag(s)})},50)}};e.\u0275fac=function(r){return new(r||e)(x(W),x(ee))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Tu=(()=>{let e=class e{constructor(n,r){this.updateMetaTagsService=n,this.translate=r}resolve(n,r){setTimeout(()=>{let o=this.translate.currentLang||this.translate.getDefaultLang();return this.translate.getTranslation(o).toPromise().then(a=>{let s={title:a.SCHEDULE.TAG_TITLE,description:a.SCHEDULE.TAG_DESCRIPTION};return this.updateMetaTagsService.updateMetaTag(s)})},50)}};e.\u0275fac=function(r){return new(r||e)(x(W),x(ee))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Du=(()=>{let e=class e{constructor(n,r){this.updateMetaTagsService=n,this.translate=r}resolve(n,r){setTimeout(()=>{let o=this.translate.currentLang||this.translate.getDefaultLang();return this.translate.getTranslation(o).toPromise().then(a=>
9{let s={title:a.CPC.COURSES.TAG_TITLE,description:a.CPC.COURSES.TAG_DESCRIPTION};return this.updateMetaTagsService.updateMetaTag(s)})},50)}};e.\u0275fac=function(r){return new(r||e)(x(W),x(ee))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ku=(()=>{let e=class e{constructor(n){this.baseService=n}list(n){return this.baseService.methodGet(`destaques?page=${n}`,"")}getHighlights(n){return this.baseService.methodGet("destaques",n)}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function jL(t,e){if(t&1&&g(0,"app-button",4),t&2){let i=e.$implicit,n=e.$index;f("label",i.label)("link",i.link)("isActive",n===2)}}function VL(t,e){if(t&1&&(p(0,"div",7),g(1,"app-card-schedule",8),u()),t&2){let i=e.$implicit;c(),f("propsCard",i)}}function UL(t,e){if(t&1&&A(0,VL,2,1,"div",7,j),t&2){let i=C();N(i.listCards)}}function HL(t,e){t&1&&g(0,"div",9)(1,"div",9)}function zL(t,e){t&1&&(p(0,"h3",10),b(1),y(2,"translate"),u()),t&2&&(c(),I(" ",v(2,1,"HIGHLIGHTS.NOT-FOUND")," "))}function $L(t,e){if(t&1&&O(0,HL,2,0)(1,zL,3,3),t&2){let i=C();w(0,i.skeleton?0:1)}}function GL(t,e){if(t&1){let i=ne();p(0,"div",6)(1,"app-button",11),y(2,"translate"),B("handleClick",function(){Q(i);let r=C();return Z(r.onGet())}),u()()}t&2&&(c(),f("label",v(2,1,"LABEL-BTN-SEE-MORE")))}var Au=(()=>{let e=class e{constructor(n,r,o){this.loading=n,this.linguage=r,this.service=o,this.listBtn=[],this.listCards=[],this.skeleton=!0,this.current_page=1,this.total_pages=0}ngOnInit(){this.linguage.get("EXPOSITION.BTNS").subscribe(n=>{this.listBtn=n.map(r=>({label:r.TITLE,link:r.LINK}))}),this.onGet()}onGet(){this.loading.open(),this.service.list(this.current_page).subscribe(n=>{let{highlights:r}=n;this.listCards=this.current_page===1?[]:this.listCards,r.data.forEach(o=>{this.listCards.push({srcImg:o.image?.full_path||"",category:"",title:o.title,description:o.short_description,slug:o.slug,active:!0})}),this.current_page=r.current_page+1,this.total_pages=r.last_page,this.loading.close(),this.skeleton=!1},n=>{this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ee),m(ku))},e.\u0275cmp=T({type:e,selectors:[["app-highlights"]],standalone:!0,features:[k],decls:12,vars:9,consts:[[3,"title"],[1,"container"],["size","small",3,"title","line"],[1,"wrapper-btn-category"],["type","fourth",3,"label","link","isActive"],[1,"section-cards"],[1,"row-btn"],[1,"card"],[3,"propsCard"],[1,"skeleton-img"],[1,"not-found"],["type","secondary",3,"handleClick","label"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"div",1),g(3,"app-title-section",2),y(4,"translate"),p(5,"div",3),A(6,jL,1,3,"app-button",4,j),u(),p(8,"section",5),O(9,UL,2,0)(10,$L,2,1)(11,GL,3,3,"div",6),u()()),r&2&&(f("title",v(1,5,"MENU-FOOTER.SCHEDULE.TITLE")),c(3),f("title",v(4,7,"EXPOSITION.TITLE-CATEGORY"))("line",!1),c(3),N(o.listBtn),c(3),w(9,o.listCards.length>0?9:10),c(2),w(11,o.current_page<=o.total_pages?11:-1))},dependencies:[X,V,z,ce,fe,nu,Ye,pn,zt],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.wrapper-btn-category[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:40px;flex-wrap:wrap}.filter[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:4%;row-gap:8px;padding-bottom:40px;border-bottom:1px solid var(--gray-03);flex-wrap:wrap}.filter[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:16px;flex-wrap:wrap}.filter[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-select[_ngcontent-%COMP%]{width:calc(50% - 12px);min-width:230px}.filter[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]     .header-input label{font-family:bold;font-weight:700;font-style:normal;font-size:.875rem;border-radius:8px;color:var(--gray-05)}.filter[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]     .box-select{height:38px!important;border-radius:8px!important}.filter[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]     .box-select .placeholder{font-size:.875pxrem}.filter[_ngcontent-%COMP%]   .row-btns[_ngcontent-%COMP%]{padding-top:6px}.section-cards[_ngcontent-%COMP%]{margin:56px auto}.section-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{padding-bottom:16px;border-bottom:1px solid var(--gray-03);margin-bottom:20px}.section-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:last-child{border-bottom:none}.section-cards[_ngcontent-%COMP%]   .row-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:24px 0}.section-cards[_ngcontent-%COMP%]   .not-found[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1.25rem;border-radius:8px;color:var(--gray-05)}@media (max-width: 507px){.filter[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-select[_ngcontent-%COMP%]{width:100%;min-width:auto}}']});let t=e;return t})();function qL(t,e){if(t&1&&(p(0,"li")(1,"strong"),b(2),y(3,"translate"),u(),g(4,"br"),b(5),u()),t&2){let i=C(2);c(2),$(v(3,2,"SCHEDULE.INTERNAL.PRICE")),c(3),I(" ",i.highlight.price," ")}}function WL(t,e){if(t&1&&(p(0,"li")(1,"strong"),b(2),y(3,"translate"),u(),g(4,"br"),b(5),u()),t&2){let i=C(2);c(2),$(v(3,2,"SCHEDULE.INTERNAL.TIME")),c(3),I(" ",i.highlight.hour," ")}}function KL(t,e){if(t&1&&(p(0,"li")(1,"strong"),b(2),y(3,"translate"),u(),g(4,"br"),b(5),u()),t&2){let i=C(2);c(2),$(v(3,2,"SCHEDULE.INTERNAL.REGISTRATIONS")),c(3),I(" ",i.highlight.guidance," ")}}function YL(t,e){if(t&1&&(g(0,"app-button",7),y(1,"translate")),t&2){let i=C(2);f("label",v(1,4,"SCHEDULE.INTERNAL.LABEL-BTN"))("type","tertiary")("isTargetBlank",!0)("link",i.highlight.purchase_link)}}function QL(t,e){if(t&1&&(p(0,"aside")(1,"div",6)(2,"p"),b(3),y(4,"translate"),u(),p(5,"ul",3),O(6,qL,6,4,"li")(7,WL,6,4,"li")(8,KL,6,4,"li"),u(),O(9,YL,2,6,"app-button",7),u()()),t&2){let i=C();c(3),$(v(4,5,"SCHEDULE.INTERNAL.INFORMATION")),c(3),w(6,i.highlight.price?6:-1),c(),w(7,i.highlight.hour?7:-1),c(),w(8,i.highlight.guidance?8:-1),c(),w(9,i.highlight.purchase_link?9:-1)}}var Nu=(()=>{let e=class e{constructor(n,r,o,a,s,l){this.loading=n,this.service=r,this.route=o,this.metaTags=a,this.sanitizer=s,this.platformId=l,this.slug="",this.url="",this.title="",this.html="",this.highlight={},this.bannersList=[],Xe(this.platformId)&&(this.url=window.location.href)}ngOnInit(){this.route.params.subscribe(n=>{this.slug=n.slug}),this.onGet()}onGet(){this.service.getHighlights(this.slug).subscribe(n=>{this.highlight=n.highlight,this.bannersList.push({srcImg:n.highlight.image?.full_path,typeHighlights:"",title:"",description:"",labelBtn:"",link:"",isTarget:!1}),this.title=n.highlight.title,this.html=n.highlight.description?.description,this.metaTags.updateMetaTag({title:n.highlight?.tag_title,de
9scription:n.highlight?.tag_description,img:n.highlight?.image.full_path}),this.loading.close()},n=>{this.loading.close()})}getTypeHighlights(n){let r=n.start_date?.formatted_day_month.toUpperCase()||"",o=n.end_date?.formatted_day_month.toUpperCase()||"",a=n.types?.title.toUpperCase()||"Tipo n\xE3o definido";return r&&o?`${r} - ${o} | ${a}`:r?`${r} | ${a}`:o?`${o} | ${a}`:`${a}`}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ku),m(ke),m(W),m(Et),m(De))},e.\u0275cmp=T({type:e,selectors:[["app-highlights-internal"]],standalone:!0,features:[k],decls:8,vars:5,consts:[[3,"bannersList"],[1,"section-content"],[1,"container"],[1,"wrapper"],[3,"title","line"],[1,"content",3,"innerHTML"],[1,"box-aside"],[3,"label","type","isTargetBlank","link"]],template:function(r,o){r&1&&(g(0,"app-banners",0),p(1,"section",1)(2,"div",2)(3,"div",3)(4,"div"),g(5,"app-title-section",4)(6,"article",5),u(),O(7,QL,10,7,"aside"),u()()()),r&2&&(f("bannersList",o.bannersList),c(5),f("title",o.highlight.title)("line",!1),c(),f("innerHTML",o.sanitizer.bypassSecurityTrustHtml(o.highlight.description==null?null:o.highlight.description.formatted_editor),J),c(),w(7,o.highlight.hour?7:-1))},dependencies:[Ln,ce,tt,V,z,fe],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.section-content[_ngcontent-%COMP%]{margin:30px auto}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:24px;justify-content:space-between;position:relative}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.25rem;line-height:1.5rem;margin-bottom:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     strong{font-weight:700}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]     .media iframe{max-width:700px;display:block;margin:0 auto;width:100%;aspect-ratio:16/9;border:none}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{position:sticky;top:3%}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]{background-color:var(--gray-02);padding:40px 24px;border-radius:8px;min-width:400px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--orange);font-size:2rem;line-height:2.5rem;padding-bottom:16px;border-bottom:1px solid var(--gray-03)}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:16px;list-style:none;padding:16px 0}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:calc(50% - 8px);font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;word-break:break-word}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-family:bold;font-weight:700;font-style:normal}@media (max-width: 768px){.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:column;gap:24px}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{width:100%}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]{gap:50px;padding:24px 16px;width:100%;min-width:auto}.section-content[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]   .box-aside[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.5rem}}']});let t=e;return t})();var Ru=(()=>{let e=class e{constructor(n,r){this.updateMetaTagsService=n,this.translate=r}resolve(n,r){setTimeout(()=>{let o=this.translate.currentLang||this.translate.getDefaultLang();return this.translate.getTranslation(o).toPromise().then(a=>{let s={title:a.EXPOSITION.TAG_TITLE,description:a.EXPOSITION.TAG_DESCRIPTION};return this.updateMetaTagsService.updateMetaTag(s)})},50)}};e.\u0275fac=function(r){return new(r||e)(x(W),x(ee))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Lu=(()=>{let e=class e{constructor(n,r){this.updateMetaTagsService=n,this.translate=r}resolve(n,r){setTimeout(()=>{let o=this.translate.currentLang||this.translate.getDefaultLang();return this.translate.getTranslation(o).toPromise().then(a=>{let s={title:a.HIGHLIGHTS.TAG_TITLE,description:a.HIGHLIGHTS.TAG_DESCRIPTION};return this.updateMetaTagsService.updateMetaTag(s)})},50)}};e.\u0275fac=function(r){return new(r||e)(x(W),x(ee))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var k1=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("acervo-e-pesquisa/pesquisa/c
9ppr","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var oa=(()=>{let e=class e{constructor(n,r,o){this.updateMetaTagsService=n,this.service=r,this.loading=o}resolve(n,r){return this.service.list().toPromise().then(o=>{this.data=o;let a={title:o.page.tag_title,description:o.page.tag_description,img:o.page.image};return this.updateMetaTagsService.updateMetaTag(a)},o=>{this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(x(W),x(k1),x(U))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function JL(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.propsPage.image.full_path)}}function eF(t,e){if(t&1&&(p(0,"figure"),g(1,"img",8),u()),t&2){let i=C();c(),f("src",i.propsPage.image==null?null:i.propsPage.image.full_path,L)("alt",i.propsPage.alt_image)}}function tF(t,e){if(t&1&&(p(0,"li"),b(1),g(2,"app-button",9),y(3,"translate"),u()),t&2){let i=e.$implicit;c(),I(" ",i.title," "),c(),f("label",v(3,4,"COLLECTION-AND-RESEARCH.CPPR.LABEL-BTN"))("link",i.file?i.file==null?null:i.file.full_path:i.link)("isTargetBlank",!0)}}var Fu=(()=>{let e=class e{constructor(n,r,o,a,s){this.languageService=n,this.loading=r,this.footerService=o,this.resolver=a,this.translate=s,this.listAside={},this.propsPage={}}ngOnInit(){this.propsPage=this.resolver.data.page,this.loadTranslations()}loadTranslations(){this.translate.get("MENU-FOOTER.COLLECTION-AND-RESEARCH").subscribe(n=>{this.listAside=n,this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(We),m(U),m(ae),m(oa),m(ee))},e.\u0275cmp=T({type:e,selectors:[["app-cppr"]],standalone:!0,features:[k],decls:12,vars:12,consts:[[3,"title"],[3,"title","listOptions"],[1,"section-content"],[3,"skeleton-img"],[1,"box-text",3,"innerHTML"],[1,"row-btn"],["type","tertiary",3,"link","label","isTargetBlank"],[1,"list-files"],[3,"src","alt"],["type","secondary",3,"label","link","isTargetBlank"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section",2),O(4,JL,1,2,"figure",3)(5,eF,2,2),g(6,"div",4),p(7,"div",5),g(8,"app-button",6),u(),p(9,"ul",7),A(10,tF,4,6,"li",null,j),u()()()),r&2&&(f("title",v(1,10,"COLLECTION-AND-RESEARCH.CPPR.TITLE")),c(2),f("title",o.listAside.TITLE)("listOptions",o.listAside.OPTIONS),c(2),w(4,o.propsPage.image!=null&&o.propsPage.image.full_path?5:4),c(2),F("skeleton-img",!(o.propsPage.description!=null&&o.propsPage.description.description)),f("innerHTML",o.propsPage.description==null?null:o.propsPage.description.description,J),c(2),f("link",o.propsPage.link)("label",o.propsPage.call_link)("isTargetBlank",!0),c(2),N(o.propsPage.files))},dependencies:[oe,X,V,z,fe],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-text[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     p br{margin-bottom:16px}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.row-btn[_ngcontent-%COMP%]{padding:24px 0}.list-files[_ngcontent-%COMP%]{list-style:none}.list-files[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0;border-bottom:1px solid var(--gray-03);font-family:regular;font-weight:400;font-style:normal;color:var(--gray-05);font-size:1.25rem;line-height:1.5rem}.list-files[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{border-bottom:1px solid transparent}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}.list-files[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}}']});let t=e;return t})();var Bu=(()=>{let e=class e{constructor(n,r){this.updateMetaTagsService=n,this.translate=r}resolve(n,r){setTimeout(()=>{let o=this.translate.currentLang||this.translate.getDefaultLang();return this.translate.getTranslation(o).toPromise().then(a=>{let s={title:a.MANAGEMENT["WORK-WITH-US"].TITLE,description:a.MANAGEMENT["WORK-WITH-US"].TAG_DESCRIPTION};return this.updateMetaTagsService.updateMetaTag(s)})},50)}};e.\u0275fac=function(r){return new(r||e)(x(W),x(ee))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var ju=(()=>{let e=class e{constructor(n,r){this.updateMetaTagsService=n,this.translate=r}resolve(n,r){setTimeout(()=>{let o=this.translate.currentLang||this.translate.getDefaultLang();return this.translate.getTranslation(o).toPromise().then(a=>{let s={title:a.MANAGEMENT.TRANSPARENCY.TITLE,description:a.MANAGEMENT.TRANSPARENCY.TAG_DESCRIPTION};return this.updateMetaTagsService.updateMetaTag(s)})},50)}};e.\u0275fac=function(r){return new(r||e)(x(W),x(ee))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Vu=(()=>{let e=class e{constructor(n,r){this.updateMetaTagsService=n,this.translate=r}resolve(n,r){setTimeout(()=>{let o=this.translate.currentLang||this.translate.getDefaultLang();return this.translate.getTranslation(o).toPromise().then(a=>{let s={title:a.MANAGEMENT["PURCHASES-AND-CONTRACTS"].TITLE,description:a.MANAGEMENT["PURCHASES-AND-CONTRACTS"].TAG_DESCRIPTION};return this.updateMetaTagsService.updateMetaTag(s)})},50)}};e.\u0275fac=function(r){return new(r||e)(x(W),x(ee))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Uu=(()=>{let e=class e{constructor(n,r){this.updateMetaTagsService=n,this.translate=r}resolve(n,r){setTimeout(()=>{let o=this.translate.currentLang||this.translate.getDefaultLang();return this.translate.getTranslation(o).toPromise().then(a=>{let s={title:a.MANAGEMENT["SUPPLIER-REGISTRATION"].TITLE,description:a.MANAGEMENT["SUPPLIER-REGISTRATION"].TAG_DESCRIPTION};return this.updateMetaTagsService.updateMetaTag(s)})},50)}};e.\u0275fac=function(r){return new(r||e)(x(W),x(ee))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var A1=(()=>{let e=class e{constructor(n){this.baseService=n}list(n){return this.baseService.methodGet(n,"")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function iF(t,e){if(t&1&&(p(0,"figure"),g(1,"img",4),u()),t&2){let i=C();c(),f("src",i.propsPage.image.full_path,L)("alt",i.propsPage.image.alt_image)}}var Hu=(()=>{let e=class e{constructor(n,r,o,a,s,l,d){this.loading=n,this.translate=r,this.service=o,this.route=a,this.sanitizer=s,this.metaTags=l,this.platformId=d,this.listAside={},this.listCards=[],this.slug="",this.propsPage={image:{full_path:""},description:{description:""}},this.url=""}ngOnInit(){this.route.params.subscribe(n=>{this.slug=n.slug||""}),Xe(this.platformId)&&(this.url=window.location.href),this.onGet()}onGet(){this.loading.open(),this.service.list(this.slug).subscribe(n=>{let s=n.page,{tag_title:r,tag_description:o}=s,a=yr(s,["tag_title","tag_description"]);
9this.propsPage=a,this.metaTags.updateMetaTag({title:r,description:o,img:a.image?a.image.full_path:""}),this.loading.close()},n=>{this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(U),m(ee),m(A1),m(ke),m(Et),m(W),m(De))},e.\u0275cmp=T({type:e,selectors:[["app-single-page"]],standalone:!0,features:[k],decls:5,vars:5,consts:[[3,"title"],[1,"section-content"],[1,"container"],[1,"box-text",3,"innerHTML"],[3,"src","alt"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),p(1,"section",1)(2,"div",2),O(3,iF,2,2,"figure"),g(4,"article",3),u()()),r&2&&(f("title",o.propsPage.title),c(3),w(3,o.propsPage&&(o.propsPage.image!=null&&o.propsPage.image.full_path)?3:-1),c(),F("skeleton-img",!o.propsPage.description.description),f("innerHTML",o.sanitizer.bypassSecurityTrustHtml(o.propsPage.description==null?null:o.propsPage.description.description),J))},dependencies:[X,V],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.container[_ngcontent-%COMP%]{margin:24px auto 56px}@media (max-width: 768px){.container[_ngcontent-%COMP%]{margin:24px auto 40px}}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-title[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:2rem;line-height:2.5rem;margin-bottom:8px}.box-title[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;text-transform:uppercase;color:var(--gray-04);font-size:.875rem;line-height:1.3125rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]{margin-bottom:32px;font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:24px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     p br{margin-bottom:16px}.box-text[_ngcontent-%COMP%]     figcaption{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:.875rem;line-height:1.3125rem;text-align:center;font-style:italic;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     figure{max-width:500px!important;margin:0 auto;width:100%!important}.box-text[_ngcontent-%COMP%]     .image-style-align-left{float:left;padding-right:15px}.box-text[_ngcontent-%COMP%]     .image-style-align-right{float:right;padding-left:15px}.box-text[_ngcontent-%COMP%]     strong, .box-text[_ngcontent-%COMP%]   b[_ngcontent-%COMP%]{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline;word-wrap:break-word}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     blockquote{border-left:1px solid var(--orange);padding-left:16px;margin-left:6px}.box-share[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;
9gap:16px}.box-share[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;color:var(--orange);font-size:1.25rem;line-height:1.5rem}.box-share[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:16px}.box-share[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{width:20px;height:20px}@media (max-width: 768px){.box-title[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{color:var(--orange);font-size:1.25rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]{margin-bottom:24px;font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}.box-share[_ngcontent-%COMP%]{flex-wrap:wrap;justify-content:space-between}}']});let t=e;return t})();var N1=(()=>{let e=class e{constructor(n){this.baseService=n}listFriendsOfMc(){return this.baseService.methodGet("apoie/patronos","")}postForm(n){return this.baseService.methodPost("apoie/patronos",n,"")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var oF=["successMessage"];function aF(t,e){if(t&1&&g(0,"figure"),t&2){let i=C();F("skeleton-img",!i.about.image)}}function sF(t,e){if(t&1&&(p(0,"figure"),g(1,"img",12),u()),t&2){let i=C();c(),f("src",i.about.image==null?null:i.about.image.full_path,L)("alt",i.about.image==null?null:i.about.image.alt_image)}}function lF(t,e){if(t&1&&(p(0,"li"),b(1),u()),t&2){let i=e.$implicit;c(),I(" ",i.name," ")}}function cF(t,e){if(t&1&&(p(0,"figure",18),g(1,"img",19),u()),t&2){let i=C().$implicit;c(),f("src",i.image==null?null:i.image.full_path,L)}}function dF(t,e){if(t&1&&(p(0,"div",13)(1,"div",14)(2,"div",15)(3,"h3"),b(4),p(5,"span"),b(6),u()(),p(7,"ul",16),A(8,lF,2,1,"li",null,j),u(),g(10,"app-button",17),y(11,"translate"),u(),O(12,cF,2,1,"figure",18),u()()),t&2){let i=e.$implicit;c(4),I(" ",i.title," "),c(2),$(i.value),c(2),N(i.benefits),c(2),f("label",v(11,7,"COFFEE-MUSEUM.PATRONS.LABEL-BTN"))("link",i.link)("isTargetBlank",!0)("type","secondary"),c(2),w(12,i.image?12:-1)}}function uF(t,e){if(t&1&&(p(0,"section",5),g(1,"app-title-section",9),y(2,"translate"),A(3,dF,13,9,"div",13,j),u()),t&2){let i=C();c(),f("title",v(2,1,"COFFEE-MUSEUM.PATRONS.TITLE-CATEGORY")),c(2),N(i.listCategories)}}function pF(t,e){if(t&1&&(p(0,"p"),b(1),u()),t&2){let i=e.$implicit;c(),$(i.name)}}function fF(t,e){if(t&1&&(p(0,"section",6),g(1,"app-title-section",9),y(2,"translate"),p(3,"div",14),A(4,pF,2,1,"p",null,j),u()()),t&2){let i=C();c(),f("title",v(2,1,"COFFEE-MUSEUM.PATRONS.TITLE-FRIENDS-MC")),c(3),N(i.listPeople)}}function hF(t,e){if(t&1&&(p(0,"figure"),g(1,"img",12),u()),t&2){let i=e.$implicit;c(),f("src",i.image,L)("alt",i.name)}}function gF(t,e){if(t&1&&(p(0,"section",7),g(1,"app-title-section",9),y(2,"translate"),p(3,"div",20),A(4,hF,2,2,"figure",null,j),u()()),t&2){let i=C();c(),f("title",v(2,1,"COFFEE-MUSEUM.PATRONS.TITLE-PATRONS")),c(3),N(i.listCompanies)}}function mF(t,e){if(t&1&&(Ge(0),p(1,"div",26),g(2,"app-input",27),y(3,"translate"),y(4,"translate"),u(),qe()),t&2){let i=C().$implicit;c(),f("ngClass",i.row),c(),f("id",i.id)("type",i.type)("label",v(3,12,i.label))("placeholder",v(4,14,i.placeholder))("required",i.required)("disabled",i.disabled)("maxLength",i.maxLength)("help",i.help)("mask",i.mask)("ngControl",i.ngControl)("listOptions",i.listOptions)}}function _F(t,e){if(t&1&&(Ge(0,24),O(1,mF,5,16,"ng-container",25),qe()),t&2){let i=e.$implicit;f("ngSwitch",i.component),c(),f("ngSwitchCase","input")}}function CF(t,e){if(t&1){let i=ne();p(0,"form",11)(1,"div",20),O(2,_F,2,2,"ng-container",21),u(),p(3,"div",22)(4,"app-button",23),y(5,"translate"),B("handleClick",function(){Q(i);let r=C();return Z(r.handleSave())}),u()()()}if(t&2){let i=C();f("formGroup",i.formValidation),c(2),f("ngForOf",i.listInputs),c(2),f("label",v(5,3,"COMPONENT-NEWSLETTER.LABEL-BTN"))}}function yF(t,e){t&1&&(p(0,"h3",28,0),b(2),y(3,"translate"),u()),t&2&&(c(2),I(" ",v(3,1,"MANAGEMENT.SUPPLIER-REGISTRATION.SUCESS-FORM")," "))}var zu=(()=>{let e=class e{constructor(n,r,o,a,s,l,d,h){this.languageService=n,this.service=r,this.loading=o,this.footerService=a,this.metaTags=s,this.fb=l,this.configForm=d,this.sanitizer=h,this.about={},this.listCategories=[],this.listPeople=[],this.listCompanies=[],this.listInputs=[],this.isSucess=!1}ngOnInit(){this.formValidation=this.fb.group({name:["",[je.required]],company:["",[je.required]],email:["",[je.required,gr()]],p
9hone:["",[je.required]]}),this.onListInputs(),this.onGet()}onListInputs(){this.listInputs=[{id:0,component:"input",row:"row-50",type:"text",label:"COFFEE-MUSEUM.PATRONS.FORM.NAME",placeholder:"COFFEE-MUSEUM.PATRONS.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.name},{id:1,component:"input",row:"row-50",type:"text",label:"COFFEE-MUSEUM.PATRONS.FORM.COMPANY",placeholder:"COFFEE-MUSEUM.PATRONS.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.company},{id:2,component:"input",row:"row-50",type:"text",label:"COFFEE-MUSEUM.PATRONS.FORM.EMAIL",placeholder:"COFFEE-MUSEUM.PATRONS.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"",help:"",ngControl:this.formValidation.controls.email},{id:3,component:"input",row:"row-50",type:"text",label:"COFFEE-MUSEUM.PATRONS.FORM.PHONE",placeholder:"COFFEE-MUSEUM.PATRONS.FORM.PLACEHOLDER",required:!0,disabled:!1,mask:"00 00000-0000 || 00 0000-0000",help:"",ngControl:this.formValidation.controls.phone}]}onGet(){this.service.listFriendsOfMc().subscribe(n=>{let{about:r,categories:o,people:a,company:s}=n;this.about=r??{},this.html=this.sanitizer.bypassSecurityTrustHtml(r.description?.description||""),this.listCategories=o??[],this.listPeople=a??[],this.listCompanies=s??[],this.metaTags.updateMetaTag({title:r?.tag_title??"",description:r?.tag_description??"",img:r?.image.full_path??""}),this.loading.close()},n=>{console.error("Error:",n),this.loading.close()})}isValidForm(){return this.formValidation.valid}handleSave(){if(!this.isValidForm()){this.configForm.isError=!0;return}this.loading.open(),this.service.postForm(this.formValidation.value).subscribe(n=>{this.isSucess=!0,this.formValidation.reset(),this.configForm.isError=!1,this.onListInputs(),setTimeout(()=>{this.scrollToSuccessMessage()},100),this.formValidation.patchValue({name:"",company:"",email:"",phone:""}),this.loading.close(),setTimeout(()=>{this.isSucess=!1},5e3)},n=>{this.loading.close()})}scrollToSuccessMessage(){let n=this.successMessageRef.nativeElement,r=n.getBoundingClientRect(),o=window.innerHeight,a=n.offsetTop-o/2+r.height/2;setTimeout(()=>{window.scrollTo({top:a,behavior:"smooth"})},50)}};e.\u0275fac=function(r){return new(r||e)(m(We),m(N1),m(U),m(ae),m(W),m(jn),m(Pi),m(Et))},e.\u0275cmp=T({type:e,selectors:[["app-patrons"]],viewQuery:function(r,o){if(r&1&&wt(oF,5),r&2){let a;dt(a=ut())&&(o.successMessageRef=a.first)}},standalone:!0,features:[k],decls:17,vars:19,consts:[["successMessage",""],[3,"title"],[3,"title","listOptions"],[3,"skeleton-img"],[1,"box-text",3,"innerHTML"],[1,"section-category"],[1,"section-people"],[1,"section-patrons"],[1,"section-form"],["size","small",3,"title"],[3,"innerHTML"],[3,"formGroup"],[3,"src","alt"],[1,"category"],[1,"wrapper"],[1,"coll-text"],[1,"list"],[3,"label","link","isTargetBlank","type"],[1,"coll-img"],["alt","",3,"src"],[1,"grid"],[3,"ngSwitch",4,"ngFor","ngForOf"],[1,"row-btns"],["type","tertiary",3,"handleClick","label"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"ngClass"],[3,"id","type","label","placeholder","required","disabled","maxLength","help","mask","ngControl","listOptions"],[1,"title"]],template:function(r,o){r&1&&(g(0,"app-title-page",1),y(1,"translate"),p(2,"app-aside",2)(3,"section"),O(4,aF,1,2,"figure",3)(5,sF,2,2),g(6,"div",4),u(),O(7,uF,5,3,"section",5)(8,fF,6,3,"section",6)(9,gF,6,3,"section",7),p(10,"section",8),g(11,"app-title-section",9),y(12,"translate"),g(13,"p",10),y(14,"translate"),O(15,CF,6,5,"form",11)(16,yF,4,3),u()()),r&2&&(f("title",v(1,13,"COFFEE-MUSEUM.PATRONS.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(2),w(4,o.about.image?5:4),c(2),F("skeleton-img",!o.about.description),f("innerHTML",o.html,J),c(),w(7,o.listCategories.length>0?7:-1),c(),w(8,o.listPeople.length>0?8:-1),c(),w(9,o.listCompanies.length>0?9:-1),c(2),f("title",v(12,15,"COFFEE-MUSEUM.PATRONS.FORM.TITLE")),c(2),f("innerHTML",v(14,17,"COFFEE-MUSEUM.PATRONS.FORM.DESCRIPTION"),J),c(2),w(15,o.isSucess?16:15))},dependencies:[Ye,nn,rn,Vi,tr,X,oe,V,z,ce,fe,ea,zt,Bn,Fn,On],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;
9height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}figure[_ngcontent-%COMP%]{margin-bottom:24px}.box-text[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.section-category[_ngcontent-%COMP%]{margin:40px auto 0}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{width:100%;margin-bottom:32px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:center;gap:24px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]{width:100%;flex-basis:100%}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.25rem;color:var(--gray-06);line-height:24px;margin-bottom:16px;text-transform:uppercase;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-04);text-transform:none}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{padding-left:20px;margin-bottom:24px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;line-height:24px;color:var(--gray-06)}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]{width:100%;max-width:226px;height:auto}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{margin-bottom:0}
9.section-people[_ngcontent-%COMP%]{margin:40px auto 0}.section-people[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:16px}.section-people[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{min-width:300px;width:calc(50% - 8px);font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px}.section-form[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px;margin-bottom:16px}.section-form[_ngcontent-%COMP%]     p   a{font-family:bold;font-weight:700;font-style:normal;text-decoration:underline}.section-form[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.25rem;line-height:1.5rem;margin-bottom:16px}.section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-50[_ngcontent-%COMP%]{width:calc(50% - 12px)}.section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-100[_ngcontent-%COMP%]{width:100%}.section-form[_ngcontent-%COMP%]   .row-btns[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.section-patrons[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(152px,205px));gap:21px}.section-patrons[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%]{margin-bottom:0}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}.section-category[_ngcontent-%COMP%]{margin:24px auto}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{margin-bottom:24px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{flex-direction:column-reverse;gap:16px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1rem;line-height:24px;margin-bottom:8px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{padding-left:20px;margin-bottom:16px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-text[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.section-category[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   .coll-img[_ngcontent-%COMP%]{max-width:156px;margin-bottom:0}}@media (max-width: 600px){.section-people[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{gap:8px}.section-people[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{min-width:auto;width:100%}.section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-50[_ngcontent-%COMP%], .section-form[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]   .row-100[_ngcontent-%COMP%]{width:100%}.section-patrons[_ngcontent-%COMP%]   .grid[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}}']});let t=e;return t})();var R1=(()=>{let e=class e{constructor(n){this.baseService=n}list(){return this.baseService.methodGet("relacionamento","")}};e.\u0275fac=function(r){return new(r||e)(x(ie))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var $u=(()=>{let e=class e{constructor(n,r,o,a){this.service=n,this.loading=r,this.footerService=o,this.metaTags=a,this.current_page=1,this.current_page_images=1,this.about={html:""}}ngOnInit(){this.onGet()}onGet(){this.service.list().subscribe(n=>{this.about=n.relationship,this.metaTags.updateMetaTag({title:n.relationship.tag_title,de
9scription:n.relationship.tag_description}),this.loading.close()},n=>{this.loading.close()})}};e.\u0275fac=function(r){return new(r||e)(m(R1),m(U),m(ae),m(W))},e.\u0275cmp=T({type:e,selectors:[["app-relationship"]],standalone:!0,features:[k],decls:8,vars:12,consts:[[3,"title"],[3,"title","listOptions"],[3,"size","title"],[1,"box-text",3,"innerHTML"]],template:function(r,o){r&1&&(g(0,"app-title-page",0),y(1,"translate"),p(2,"app-aside",1)(3,"section"),g(4,"app-title-section",2),y(5,"translate"),g(6,"div",3),u(),g(7,"app-newsletter"),u()),r&2&&(f("title",v(1,8,"COFFEE-MUSEUM.RELATIONSHIP.TITLE")),c(2),f("title",o.footerService.footerList[0].TITLE)("listOptions",o.footerService.footerList[0].OPTIONS),c(2),f("size","small")("title",v(5,10,"COFFEE-MUSEUM.RELATIONSHIP.SUB-TITLE")),c(2),F("skeleton-img",!o.about.html),f("innerHTML",o.about.html,J))},dependencies:[X,V,z,oe,ce,Zo],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.box-text[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-06);line-height:24px;margin-bottom:40px}.box-text[_ngcontent-%COMP%]     h3{font-family:black;font-weight:900;font-style:normal;color:var(--orange);font-size:1.5rem;line-height:1.75rem;margin-bottom:16px}.box-text[_ngcontent-%COMP%]     p{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem;margin-bottom:8px}.box-text[_ngcontent-%COMP%]     p a{color:var(--orange);font-weight:700;text-decoration:underline}.box-text[_ngcontent-%COMP%]     p br{margin-bottom:16px}.box-text[_ngcontent-%COMP%]     strong{font-weight:700}.box-text[_ngcontent-%COMP%]     a{color:var(--gray-06);text-decoration:underline}.box-text[_ngcontent-%COMP%]     ul{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ul li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}.box-text[_ngcontent-%COMP%]     ol{padding-left:18px;color:var(--gray-06)}.box-text[_ngcontent-%COMP%]     ol li{font-family:regular;font-weight:400;font-style:normal;color:var(--gray-06);font-size:1rem;line-height:1.5rem}  app-newsletter .container{max-width:none!important;width:100%!important}@media (max-width: 768px){.box-text[_ngcontent-%COMP%]{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     p{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ul li{font-size:.875rem;line-height:21px}.box-text[_ngcontent-%COMP%]     ol li{font-size:.875rem;line-height:21px}}']});let t=e;return t})();var n0=[{path:"",children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:Md,resolve:[Su]},{path:"visite",children:[{path:"",component:Od,resolve:[Iu]},{path:":id",component:gu}]},{path:"programacao",children:[{path:"",redirectTo:"exposicoes",pathMatch:"full"},{path:"exposicoes",children:[{path:"",component:Ld,resolve:[Ru]},{path:":type",component:Fd},{path:":type/:slug",component:Bd}]},{path:"agenda",children:[{path:"",component:ru,resolve:[Tu]},{path:":type/:slug",component:ou},{path:"**",redirectTo:""}]},{path:"destaques",children:[{path:"",component:Au,resolve:[Lu]},{path:":slug",component:Nu},{path:"**",redirectTo:""}]}]},{path:"acervo-e-pesquisa",children:[{path:"",redirectTo:"acervo",pathMatch:"full"},{path:"acervo",children:[{path:"",component:bu},{path:"documentos-de-gestao",component:Pu},{path:":slug",component:wu}]},{path:"pesquisa",children:[{path:"",component:Mu},{path:"solicitacao-de-pesquisa",component:Eu},{path:":slug",component:Ou}]},{path:"blog",children:[{path:"",component:Qr},{path:":category",component:Qr},{path:":category/:slug",component:Wd}]},{path:"cppr",component:Fu,resolve:[oa]}]},{path:"centro-de-preparacao-de-cafe",children:[{path:"",redirectTo:"sobre",pathMatch:"full"},{path:"sobre",component:Jd},{path:"a-profissao-de-barista",component:pu},{path:"cursos-e-formacoes",children:[{path:"",component:Cu,resolve:[Du]},{path:":slug",component:yu}]}]},{path:"educativo",children:[{path:"",redirectTo:"programas",pathMatch:"full"}
9,{path:"programas",children:[{path:"",component:Id},{path:":id",component:Td}]},{path:"agendamentos-de-visitas",component:kd},{path:"materiais-educativos",children:[{path:"",redirectTo:"materiais",pathMatch:"full"},{path:"materiais",component:du},{path:"visitas-virtuais",component:uu}]}]},{path:"gestao",children:[{path:"",redirectTo:"compras-e-contratacoes",pathMatch:"full"},{path:"compras-e-contratacoes",component:Ed,resolve:[Vu]},{path:"trabalhe-conosco",component:Sd,resolve:[Bu]},{path:"transparencia",component:Pd,resolve:[ju]},{path:"cadastro-de-fornecedores",component:Zd,resolve:[Uu]}]},{path:"museu-do-cafe",children:[{path:"",redirectTo:"sobre-o-mc",pathMatch:"full"},{path:"sobre-o-mc",children:[{path:"",redirectTo:"o-museu",pathMatch:"full"},{path:"o-museu",component:tu,resolve:[ia]},{path:"missao-visao-objetivos",component:jd,resolve:[Jo]},{path:"explore",component:hu,resolve:[ra]}]},{path:"historia",children:[{path:"",redirectTo:"bolsa-oficial-do-cafe",pathMatch:"full"},{path:"bolsa-oficial-do-cafe",component:lu},{path:"calixtos",component:su}]},{path:"institucional",children:[{path:"",redirectTo:"inci",pathMatch:"full"},{path:"inci",component:au},{path:"quem-somos",component:Gd}]},{path:"apoie",children:[{path:"",redirectTo:"amigos-do-mc",pathMatch:"full"},{path:"amigos-do-mc",component:Nd},{path:"patronos",component:zu},{path:"patrocinadores",component:Rd},{path:"doacoes",component:Ad}]},{path:"locacao-de-espacos",component:Xd},{path:"imprensa",children:[{path:"",component:zd},{path:":id",component:$d}]},{path:"relacionamento",children:[{path:"",component:$u}]}]},{path:"buscar",component:mu},{path:"404",component:Dd},{path:":slug",component:Hu}]}],i0=[{path:"en",children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:Md,resolve:[Su]},{path:"visit",children:[{path:"",component:Od,resolve:[Iu]},{path:":id",component:gu}]},{path:"schedule",children:[{path:"",redirectTo:"exhibitions",pathMatch:"full"},{path:"exhibitions",children:[{path:"",component:Ld,resolve:[Ru]},{path:":type",component:Fd},{path:":type/:slug",component:Bd}]},{path:"schedule",children:[{path:"",component:ru,resolve:[Tu]},{path:":type/:slug",component:ou},{path:"**",redirectTo:""}]},{path:"highlights",children:[{path:"",component:Au,resolve:[Lu]},{path:":slug",component:Nu},{path:"**",redirectTo:""}]}]},{path:"collection-and-research",children:[{path:"",redirectTo:"collection",pathMatch:"full"},{path:"collection",children:[{path:"",component:bu},{path:"documents-of-gestation",component:Pu},{path:":slug",component:wu}]},{path:"research",children:[{path:"",component:Mu},{path:"request-search",component:Eu},{path:":slug",component:Ou}]},{path:"blog",children:[{path:"",component:Qr},{path:":category",component:Qr},{path:":category/:slug",component:Wd}]},{path:"cppr",component:Fu,resolve:[oa]}]},{path:"coffee-making-center",children:[{path:"",redirectTo:"about",pathMatch:"full"},{path:"about",component:Jd},{path:"the-barista-profession",component:pu},{path:"courses-and-training",children:[{path:"",component:Cu,resolve:[Du]},{path:":slug",component:yu}]}]},{path:"educational",children:[{path:"",redirectTo:"programs",pathMatch:"full"},{path:"programs",children:[{path:"",component:Id},{path:":id",component:Td}]},{path:"visit-scheduling",component:kd},{path:"educational-materials",children:[{path:"",redirectTo:"materials",pathMatch:"full"},{path:"materials",component:du},{path:"virtual-tours",component:uu}]}]},{path:"management",children:[{path:"",redirectTo:"purchases-and-contracts",pathMatch:"full"},{path:"purchases-and-contracts",component:Ed,resolve:[Vu]},{path:"work-with-us",component:Sd,resolve:[Bu]},{path:"transparency",component:Pd,resolve:[ju]},{path:"supplier-registration",component:Zd,resolve:[Uu]}]},{path:"coffee-museum",children:[{path:"",redirectTo:"about-the-mc",pathMatch:"full"},{path:"about-the-mc",children:[{path:"",redirectTo:"the-museum",pathMatch:"full"},{path:"the-museum",component:tu,resolve:[ia]},{path:"mission-vision-goals",component:jd,resolve:[Jo]},{path:"explore",component:hu,resolve:[ra]}]},{path:"history",children:[{path:"",redirectTo:"official-coffee-bag",pathMatch:"full"},{path:"official-coffee-bag",component:lu},{path:"calixtos",component:su}]},{path:"institutional",children:[{path:"",redirectTo:"inci",pathMatch:"full"},{path:"inci",component:au},{path:"who-we-are",component:Gd}]},{path:"support",children:[{path:"",redirectTo:"friends-of-mc",pathMatch:"full"},{path:"friends-of-mc",component:Nd},{path:"patrons",component:zu},{path:"sponsors",component:Rd},{path:"donations",component:Ad}]},{path:"venue-rental",component:Xd},{path:"press",children:[{path:"",component:zd},{path:":id",component:$d}]},{path:"relationship",children:[{path:"",component:$u}]}]},{path:"search",component:mu},{path:"404",component:Dd},{path:":slug",component:Hu}]}],r0=[{path:"es",children:[{path:"",redirectTo:"inicio",pathMatch:"full"},{path:"inicio",component:Md,resolve:[Su]},{path:"visita",children:[{path:"",component:Od,resolve:[Iu]},{path:":id",component:gu}]},{path:"programacion",children:[{path:"",redirectTo:"exhibiciones",pathMatch:"full"},{path:"exhibiciones",children:[{path:"",component:Ld,resolve:[Ru]},{path:":type",component:Fd},{path:":type/:slug",component:Bd}]},{path:"agenda",children:[{path:"",component:ru,resolve:[Tu]},{path:":type/:slug",component:ou},{path:"**",redirectTo:""}]},{path:"destacados",children:[{path:"",component:Au,resolve:[Lu]},{path:":slug",component:Nu},{path:"**",redirectTo:""}]}]},{path:"coleccion-e-investigacion",children:[{path:"",redirectTo:"coleccion",pathMatch:"full"},{path:"coleccion",children:[{path:"",component:bu},{path:"documentos-de-gestacion",component:Pu},{path:":slug",component:wu}]},{path:"investigacion",children:[{path:"",component:Mu},{path:"solicitud-busqueda",component:Eu},{path:":slug",component:Ou}]},{path:"blog",children:[{path:"",component:Qr},{path:":category",component:Qr},{path:":category/:slug",component:Wd}]},{path:"cppr",component:Fu,resolve:[oa]}]},{path:"centro-de-preparacion-de-cafe",children:[{path:"",redirectTo:"acerca",pathMatch:"full"},{path:"acerca",component:Jd},{path:"la-profesion-de-barista",component:pu},{path:"cursos-y-formacion",children:[{path:"",component:Cu,resolve:[Du]},{path:":slug",component:yu}]}]},{path:"educativo",children:[{path:"",redirectTo:"programas",pathMatch:"full"}
9,{path:"programas",children:[{path:"",component:Id},{path:":id",component:Td}]},{path:"agendamiento-de-visitas",component:kd},{path:"materiales-educativos",children:[{path:"",redirectTo:"materiales",pathMatch:"full"},{path:"materiales",component:du},{path:"visitas-virtuales",component:uu}]}]},{path:"gestion",children:[{path:"",redirectTo:"compras-y-contrataciones",pathMatch:"full"},{path:"compras-y-contrataciones",component:Ed,resolve:[Vu]},{path:"trabaja-con-nosotros",component:Sd,resolve:[Bu]},{path:"transparencia",component:Pd,resolve:[ju]},{path:"registro-de-proveedores",component:Zd,resolve:[Uu]}]},{path:"museu-do-cafe",children:[{path:"",redirectTo:"sobre-el-mc",pathMatch:"full"},{path:"sobre-el-mc",children:[{path:"",redirectTo:"el-museo",pathMatch:"full"},{path:"el-museo",component:tu,resolve:[ia]},{path:"mision-vision-objetivos",component:jd,resolve:[Jo]},{path:"explorar",component:hu,resolve:[ra]}]},{path:"historia",children:[{path:"",redirectTo:"bolsa-oficial-del-cafe",pathMatch:"full"},{path:"bolsa-oficial-del-cafe",component:lu},{path:"calixtos",component:su}]},{path:"institucional",children:[{path:"",redirectTo:"inci",pathMatch:"full"},{path:"inci",component:au},{path:"quienes-somos",component:Gd}]},{path:"apoyar",children:[{path:"",redirectTo:"amigos-del-mc",pathMatch:"full"},{path:"amigos-del-mc",component:Nd},{path:"patronos",component:zu},{path:"patrocinadores",component:Rd},{path:"donaciones",component:Ad}]},{path:"alquiler-de-espacios",component:Xd},{path:"prensa",children:[{path:"",component:zd},{path:":id",component:$d}]},{path:"relacion",children:[{path:"",component:$u}]}]},{path:"buscar",component:mu},{path:"404",component:Dd},{path:":slug",component:Hu}]}],L1=[...n0,...i0,...r0,{path:"**",redirectTo:"404"}];var Gu=class{http;prefix;suffix;constructor(e,i="/assets/i18n/",n=".json"){this.http=e,this.prefix=i,this.suffix=n}getTranslation(e){return this.http.get(`${this.prefix}${e}${this.suffix}`)}};function F1(t){return new K(3e3,!1)}function bF(){return new K(3100,!1)}function xF(){return new K(3101,!1)}function MF(t){return new K(3001,!1)}function wF(t){return new K(3003,!1)}function OF(t){return new K(3004,!1)}function PF(t,e){return new K(3005,!1)}function EF(){return new K(3006,!1)}function SF(){return new K(3007,!1)}function IF(t,e){return new K(3008,!1)}function TF(t){return new K(3002,!1)}function DF(t,e,i,n,r){return new K(3010,!1)}function kF(){return new K(3011,!1)}function AF(){return new K(3012,!1)}function NF(){return new K(3200,!1)}function RF(){return new K(3202,!1)}function LF(){return new K(3013,!1)}function FF(t){return new K(3014,!1)}function BF(t){return new K(3015,!1)}function jF(t){return new K(3016,!1)}function VF(t,e){return new K(3404,!1)}function UF(t){return new K(3502,!1)}function HF(t){return new K(3503,!1)}function zF(){return new K(3300,!1)}function $F(t){return new K(3504,!1)}function GF(t){return new K(3301,!1)}function qF(t,e){return new K(3302,!1)}function WF(t){return new K(3303,!1)}function KF(t,e){return new K(3400,!1)}function YF(t){return new K(3401,!1)}function QF(t){return new K(3402,!1)}function ZF(t,e){return new K(3505,!1)}function _r(t){switch(t.length){case 0:return new pr;case 1:return t[0];default:return new ms(t)}}function Z1(t,e,i=new Map,n=new Map){let r=[],o=[],a=-1,s=null;if(e.forEach(l=>{let d=l.get("offset"),h=d==a,_=h&&s||new Map;l.forEach((M,E)=>{let S=E,R=M;if(E!=="offset")switch(S=t.normalizePropertyName(S,r),R){case ld:R=i.get(E);break;case wi:R=n.get(E);break;default:R=t.normalizeStyleValue(E,S,R,r);break}_.set(S,R)}),h||o.push(_),s=_,a=d}),r.length)throw UF(r);return o}function k0(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&d0(i,"start",t)));break;case"done":t.onDone(()=>n(i&&d0(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&d0(i,"destroy",t)));break}}function d0(t,e,i){let n=i.totalTime,r=!!i.disabled,o=A0(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,n??t.totalTime,r),a=t._data;return a!=null&&(o._data=a),o}function A0(t,e,i,n,r="",o=0,a){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:r,totalTime:o,disabled:!!a}}
9function En(t,e,i){let n=t.get(e);return n||t.set(e,n=i),n}function B1(t){let e=t.indexOf(":"),i=t.substring(1,e),n=t.slice(e+1);return[i,n]}var XF=typeof document>"u"?null:document.documentElement;function N0(t){let e=t.parentNode||t.host||null;return e===XF?null:e}function JF(t){return t.substring(1,6)=="ebkit"}var Zr=null,j1=!1;function e6(t){Zr||(Zr=t6()||{},j1=Zr.style?"WebkitAppearance"in Zr.style:!1);let e=!0;return Zr.style&&!JF(t)&&(e=t in Zr.style,!e&&j1&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Zr.style)),e}function t6(){return typeof document<"u"?document.body:null}function X1(t,e){for(;e;){if(e===t)return!0;e=N0(e)}return!1}function J1(t,e,i){if(i)return Array.from(t.querySelectorAll(e));let n=t.querySelector(e);return n?[n]:[]}var R0=(()=>{let e=class e{validateStyleProperty(n){return e6(n)}matchesElement(n,r){return!1}containsElement(n,r){return X1(n,r)}getParentElement(n){return N0(n)}query(n,r,o){return J1(n,r,o)}computeStyle(n,r,o){return o||""}animate(n,r,o,a,s,l=[],d){return new pr(o,a)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})(),j0=class j0{};j0.NOOP=new R0;var eo=j0,to=class{};var n6=1e3,ew="{{",i6="}}",tw="ng-enter",m0="ng-leave",qu="ng-trigger",Zu=".ng-trigger",V1="ng-animating",_0=".ng-animating";function $i(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:C0(parseFloat(e[1]),e[2])}function C0(t,e){switch(e){case"s":return t*n6;default:return t}}function Xu(t,e,i){return t.hasOwnProperty("duration")?t:r6(t,e,i)}function r6(t,e,i){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,a="";if(typeof t=="string"){let s=t.match(n);if(s===null)return e.push(F1(t)),{duration:0,delay:0,easing:""};r=C0(parseFloat(s[1]),s[2]);let l=s[3];l!=null&&(o=C0(parseFloat(l),s[4]));let d=s[5];d&&(a=d)}else r=t;if(!i){let s=!1,l=e.length;r<0&&(e.push(bF()),s=!0),o<0&&(e.push(xF()),s=!0),s&&e.splice(l,0,F1(t))}return{duration:r,delay:o,easing:a}}function o6(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function Ei(t,e,i){e.forEach((n,r)=>{let o=L0(r);i&&!i.has(r)&&i.set(r,t.style[o]),t.style[o]=n})}function Jr(t,e){e.forEach((i,n)=>{let r=L0(n);t.style[r]=""})}function Es(t){return Array.isArray(t)?t.length==1?t[0]:qx(t):t}function a6(t,e,i){let n=e.params||{},r=nw(t);r.length&&r.forEach(o=>{n.hasOwnProperty(o)||i.push(MF(o))})}var y0=new RegExp(`${ew}\\s*(.+?)\\s*${i6}`,"g");function nw(t){let e=[];
vendor: 43,891 bytes, line 9
9if(typeof t=="string"){let i;for(;i=y0.exec(t);)e.push(i[1]);y0.lastIndex=0}return e}function Is(t,e,i){let n=`${t}`,r=n.replace(y0,(o,a)=>{let s=e[a];return s==null&&(i.push(wF(a)),s=""),s.toString()});return r==n?t:r}var s6=/-+([a-z0-9])/g;function L0(t){return t.replace(s6,(...e)=>e[1].toUpperCase())}function l6(t,e){return t===0||e===0}function c6(t,e,i){if(i.size&&e.length){let n=e[0],r=[];if(i.forEach((o,a)=>{n.has(a)||r.push(a),n.set(a,o)}),r.length)for(let o=1;o<e.length;o++){let a=e[o];r.forEach(s=>a.set(s,F0(t,s)))}}return e}function Pn(t,e,i){switch(e.type){case Ie.Trigger:return t.visitTrigger(e,i);case Ie.State:return t.visitState(e,i);case Ie.Transition:return t.visitTransition(e,i);case Ie.Sequence:return t.visitSequence(e,i);case Ie.Group:return t.visitGroup(e,i);case Ie.Animate:return t.visitAnimate(e,i);case Ie.Keyframes:return t.visitKeyframes(e,i);case Ie.Style:return t.visitStyle(e,i);case Ie.Reference:return t.visitReference(e,i);case Ie.AnimateChild:return t.visitAnimateChild(e,i);case Ie.AnimateRef:return t.visitAnimateRef(e,i);case Ie.Query:return t.visitQuery(e,i);case Ie.Stagger:return t.visitStagger(e,i);default:throw OF(e.type)}}function F0(t,e){return window.getComputedStyle(t)[e]}var d6=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Ju=class extends to{normalizePropertyName(e,i){return L0(e)}normalizeStyleValue(e,i,n,r){let o="",a=n.toString().trim();if(d6.has(i)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&r.push(PF(e,n))}return a+o}};var ep="*";function u6(t,e){let i=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>p6(n,i,e)):i.push(t),i}function p6(t,e,i){if(t[0]==":"){let l=f6(t,i);if(typeof l=="function"){e.push(l);return}t=l}let n=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return i.push(BF(t)),e;let r=n[1],o=n[2],a=n[3];e.push(U1(r,a));let s=r==ep&&a==ep;o[0]=="<"&&!s&&e.push(U1(a,r))}function f6(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n)<parseFloat(i);default:return e.push(jF(t)),"* => *"}}var Wu=new Set(["true","1"]),Ku=new Set(["false","0"]);function U1(t,e){let i=Wu.has(t)||Ku.has(t),n=Wu.has(e)||Ku.has(e);return(r,o)=>{let a=t==ep||t==r,s=e==ep||e==o;return!a&&i&&typeof r=="boolean"&&(a=r?Wu.has(t):Ku.has(t)),!s&&n&&typeof o=="boolean"&&(s=o?Wu.has(e):Ku.has(e)),a&&s}}var iw=":self",h6=new RegExp(`s*${iw}s*,?`,"g");function rw(t,e,i,n){return new v0(t).build(e,i,n)}var H1="",v0=class{constructor(e){this._driver=e}build(e,i,n){let r=new b0(i);return this._resetContextStyleTimingState(r),Pn(this,Es(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=H1,e.collectedStyles=new Map,e.collectedStyles.set(H1,new Map),e.currentTime=0}visitTrigger(e,i){let n=i.queryCount=0,r=i.depCount=0,o=[],a=[];return e.name.charAt(0)=="@"&&i.errors.push(EF()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(i),s.type==Ie.State){let l=s,d=l.name;d.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,o.push(this.visitState(l,i))}),l.name=d}else if(s.type==Ie.Transition){let l=this.visitTransition(s,i);n+=l.queryCount,r+=l.depCount,a.push(l)}else i.errors.push(SF())}),{type:Ie.Trigger,name:e.name,states:o,transitions:a,queryCount:n,depCount:r,options:null}}visitState(e,i){let n=this.visitStyle(e.styles,i),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,a=r||{};n.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{nw(l).forEach(d=>{a.hasOwnProperty(d)||o.add(d)})})}),o.size&&i.errors.push(IF(e.name,[...o.values()]))}return{type:Ie.State,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,i){i.queryCount=0,i.depCount=0;let n=Pn(this,Es(e.animation),i),r=u6(e.expr,i.errors);return{type:Ie.Transition,matchers:r,animation:n,queryCount:i.queryCount,depCount:i.depCount,options:Xr(e.options)}}visitSequence(e,i){return{type:Ie.Sequence,steps:e.steps.map(n=>Pn(this,n,i)),options:Xr(e.options)}}visitGroup(e,i){let n=i.currentTime,r=0,o=e.steps.map(a=>{i.currentTime=n;let s=Pn(this,a,i);return r=Math.max(r,i.currentTime),s});return i.currentTime=r,{type:Ie.Group,steps:o,options:Xr(e.options)}}visitAnimate(e,i){let n=C6(e.timings,i.errors);i.currentAnimateTimings=n;let r,o=e.styles?e.styles:qo({});if(o.type==Ie.Keyframes)r=this.visitKeyframes(o,i);else{let a=e.styles,s=!1;if(!a){s=!0;let d={};n.easing&&(d.easing=n.easing),a=qo(d)}i.currentTime+=n.duration+n.delay;let l=this.visitStyle(a,i);l.isEmptyStep=s,r=l}return i.currentAnimateTimings=null,{type:Ie.Animate,timings:n,style:r,options:null}}visitStyle(e,i){let n=this._makeStyleAst(e,i);return this._validateStyleAst(n,i),n}_makeStyleAst(e,i){let n=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of r)typeof s=="string"?s===wi?n.push(s):i.errors.push(TF(s)):n.push(new Map(Object.entries(s)));let o=!1,a=null;return n.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o)){for(let l of s.values())if(l.toString().indexOf(ew)>=0){o=!0;break}}}),{type:Ie.Style,styles:n,easing:a,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,i){let n=i.currentAnimateTimings,r=i.currentTime,o=i.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let d=i.collectedStyles.get(i.currentQuerySelector),h=d.get(l),_=!0;h&&(o!=r&&o>=h.startTime&&r<=h.endTime&&(i.errors.push(DF(l,h.startTime,h.endTime,o,r)),_=!1),o=h.startTime),_&&d.set(l,{startTime:o,endTime:r}),i.options&&a6(s,i.options,i.errors)})})}visitKeyframes(e,i){let n={type:Ie.Keyframes,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(kF()),n;let r=1,o=0,a=[],s=!1,l=!1,d=0,h=e.steps.map(q=>{let ge=this._makeStyleAst(q,i),we=ge.offset!=null?ge.offset:_6(ge.styles),Ce=0;return we!=null&&(o++,Ce=ge.offset=we),l=l||Ce<0||Ce>1,s=s||Ce<d,d=Ce,a.push(Ce),ge});l&&i.errors.push(AF()),s&&i.errors.push(NF());let _=e.steps.length,M=0;o>0&&o<_?i.errors.push(RF()):o==0&&(M=r/(_-1));let E=_-1,S=i.currentTime,R=i.currentAnimateTimings,G=R.duration;return h.forEach((q,ge)=>{let we=M>0?ge==E?1:M*ge:a[ge],Ce=we*G;i.currentTime=S+R.delay+Ce,R.duration=Ce,this._validateStyleAst(q,i),q.offset=we,n.styles.push(q)}),n}visitReference(e,i){return{type:Ie.Reference,animation:Pn(this,Es(e.animation),i),options:Xr(e.options)}}visitAnimateChild(e,i){return i.depCount++,{type:Ie.AnimateChild,options:Xr(e.options)}}visitAnimateRef(e,i){return{type:Ie.AnimateRef,animation:this.visitReference(e.animation,i),options:Xr(e.options)}}visitQuery(e,i){let n=i.currentQuerySelector,r=e.options||{};i.queryCount++,i.currentQuery=e;let[o,a]=g6(e.selector);i.currentQuerySelector=n.length?n+" "+o:o,En(i.collectedStyles,i.currentQuerySelector,new Map);let s=Pn(this,Es(e.animation),i);return i.currentQuery=null,i.currentQuerySelector=n,{type:Ie.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:Xr(e.options)}}visitStagger(e,i){i.currentQuery||i.errors.push(LF());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Xu(e.timings,i.errors,!0);return{type:Ie.Stagger,animation:Pn(this,Es(e.animation),i),timings:n,options:null}}};function g6(t){let e=!!t.split(/\s*,\s*/).find(i=>i==iw);return e&&(t=t.replace(h6,"")),t=t.replace(/@\*/g,Zu).replace(/@\w+/g,i=>Zu+"-"+i.slice(1)).replace(/:animating/g,_0),[t,e]}function m6(t){return t?Y({},t):null}var b0=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function _6(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(i=>{if(i instanceof Map&&i.has("offset")){let n=i;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}return e}function C6(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Xu(t,e).duration;return u0(o,0,"")}let i=t;if(i.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=u0(0,0,"");return o.dynamic=!0,o.strValue=i,o}let r=Xu(i,e);return u0(r.duration,r.delay,r.easing)}function Xr(t){return t?(t=Y({},t),t.params&&(t.params=m6(t.params))):t={},t}function u0(t,e,i){return{duration:t,delay:e,easing:i}}function B0(t,e,i,n,r,o,a=null,s=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var Ts=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,i){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...i)}has(e){return this._map.has(e)}clear(){this._map.clear()}},y6=1,v6=":enter",b6=new RegExp(v6,"g"),x6=":leave",M6=new RegExp(x6,"g");function ow(t,e,i,n,r,o=new Map,a=new Map,s,l,d=[]){return new x0().buildKeyframes(t,e,i,n,r,o,a,s,l,d)}var x0=class{buildKeyframes(e,i,n,r,o,a,s,l,d,h=[]){d=d||new Ts;let _=new M0(e,i,d,r,o,h,[]);_.options=l;let M=l.delay?$i(l.delay):0;_.currentTimeline.delayNextStep(M),_.currentTimeline.setStyles([a],null,_.errors,l),Pn(this,n,_);let E=_.timelines.filter(S=>S.containsAnimation());if(E.length&&s.size){let S;for(let R=E.length-1;R>=0;R--){let G=E[R];if(G.element===i){S=G;break}}S&&!S.allowOnlyTimelineStyles()&&S.setStyles([s],null,_.errors,l)}return E.length?E.map(S=>S.buildKeyframes()):[B0(i,[],[],[],0,M,"",!1)]}visitTrigger(e,i){}visitState(e,i){}visitTransition(e,i){}visitAnimateChild(e,i){let n=i.subInstructions.get(i.element);if(n){let r=i.createSubContext(e.options),o=i.currentTimeline.currentTime,a=this._visitSubInstructions(n,r,r.options);o!=a&&i.transformIntoNewTimeline(a)}i.previousNode=e}visitAnimateRef(e,i){let n=i.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],i,n),this.visitReference(e.animation,n),i.transformIntoNewTimeline(n.currentTimeline.currentTime),i.previousNode=e}_applyAnimationRefDelays(e,i,n){for(let r of e){let o=r?.delay;if(o){let a=typeof o=="number"?o:$i(Is(o,r?.params??{},i.errors));n.delayNextStep(a)}}}_visitSubInstructions(e,i,n){let o=i.currentTimeline.currentTime,a=n.duration!=null?$i(n.duration):null,s=n.delay!=null?$i(n.delay):null;return a!==0&&e.forEach(l=>{let d=i.appendInstructionToTimeline(l,a,s);o=Math.max(o,d.duration+d.delay)}),o}visitReference(e,i){i.updateOptions(e.options,!0),Pn(this,e.animation,i),i.previousNode=e}visitSequence(e,i){let n=i.subContextCount,r=i,o=e.options;if(o&&(o.params||o.delay)&&(r=i.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==Ie.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=tp);let a=$i(o.delay);r.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>Pn(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),i.previousNode=e}visitGroup(e,i){let n=[],r=i.currentTimeline.currentTime,o=e.options&&e.options.delay?$i(e.options.delay):0;e.steps.forEach(a=>{let s=i.createSubContext(e.options);o&&s.delayNextStep(o),Pn(this,a,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(a=>i.currentTimeline.mergeTimelineCollectedStyles(a)),i.transformIntoNewTimeline(r),i.previousNode=e}_visitTiming(e,i){if(e.dynamic){let n=e.strValue,r=i.params?Is(n,i.params,i.errors):n;return Xu(r,i.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,i){let n=i.currentAnimateTimings=this._visitTiming(e.timings,i),r=i.currentTimeline;n.delay&&(i.incrementTime(n.delay),r.snapshotCurrentStyles());let o=e.style;o.type==Ie.Keyframes?this.visitKeyframes(o,i):(i.incrementTime(n.duration),this.visitStyle(o,i),r.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=e}visitStyle(e,i){let n=i.currentTimeline,r=i.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,i.errors,i.options),i.previousNode=e}visitKeyframes(e,i){let n=i.currentAnimateTimings,r=i.currentTimeline.duration,o=n.duration,s=i.createSubContext().currentTimeline;s.easing=n.easing,e.styles.forEach(l=>{let d=l.offset||0;s.forwardTime(d*o),s.setStyles(l.styles,l.easing,i.errors,i.options),s.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(s),i.transformIntoNewTimeline(r+o),i.previousNode=e}visitQuery(e,i){let n=i.currentTimeline.currentTime,r=e.options||{},o=r.delay?$i(r.delay):0;o&&(i.previousNode.type===Ie.Style||n==0&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=tp);let a=n,s=i.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,i.errors);i.currentQueryTotal=s.length;let l=null;s.forEach((d,h)=>{i.currentQueryIndex=h;let _=i.createSubContext(e.options,d);o&&_.delayNextStep(o),d===i.element&&(l=_.currentTimeline),Pn(this,e.animation,_),_.currentTimeline.applyStylesToKeyframe();let M=_.currentTimeline.currentTime;a=Math.max(a,M)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(a),l&&(i.currentTimeline.mergeTimelineCollectedStyles(l),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=e}visitStagger(e,i){let n=i.parentContext,r=i.currentTimeline,o=e.timings,a=Math.abs(o.duration),s=a*(i.currentQueryTotal-1),l=a*i.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=n.currentStaggerTime;break}let h=i.currentTimeline;l&&h.delayNextStep(l);let _=h.currentTime;Pn(this,e.animation,i),i.previousNode=e,n.currentStaggerTime=r.currentTime-_+(r.startTime-n.currentTimeline.startTime)}},tp={},M0=class t{constructor(e,i,n,r,o,a,s,l){this._driver=e,this.element=i,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=tp,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new np(this._driver,i,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,i){if(!e)return;let n=e,r=this.options;n.duration!=null&&(r.duration=$i(n.duration)),n.delay!=null&&(r.delay=$i(n.delay));let o=n.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!i||!a.hasOwnProperty(s))&&(a[s]=Is(o[s],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let i=this.options.params;if(i){let n=e.params={};Object.keys(i).forEach(r=>{n[r]=i[r]})}}return e}createSubContext(e=null,i,n){let r=i||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=tp,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,i,n){let r={duration:i??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new w0(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,i,n,r,o,a){let s=[];if(r&&s.push(this.element),e.length>0){e=e.replace(b6,"."+this._enterClassName),e=e.replace(M6,"."+this._leaveClassName);let l=n!=1,d=this._driver.query(this.element,e,l);n!==0&&(d=n<0?d.slice(d.length+n,d.length):d.slice(0,n)),s.push(...d)}return!o&&s.length==0&&a.push(FF(i)),s}},np=class t{constructor(e,i,n,r){this._driver=e,this.element=i,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let i=this._keyframes.size===1&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+e),i&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,i){return this.applyStylesToKeyframe(),new t(this._driver,e,i||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=y6,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,i){this._localTimelineStyles.set(e,i),this._globalTimelineStyles.set(e,i),this._styleSummary.set(e,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||wi),this._currentKeyframe.set(i,wi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,i,n,r){i&&this._previousKeyframe.set("easing",i);let o=r&&r.params||{},a=w6(e,this._globalTimelineStyles);for(let[s,l]of a){let d=Is(l,o,n);this._pendingStyles.set(s,d),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??wi),this._updateStyle(s,d)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,i)=>{this._currentKeyframe.set(i,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,e)}))}snapshotCurrentStyles(){for(let[e,i]of this._localTimelineStyles)this._pendingStyles.set(e,i),this._updateStyle(e,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let i in this._currentKeyframe)e.push(i);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((i,n)=>{let r=this._styleSummary.get(n);(!r||i.time>r.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,i=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((s,l)=>{let d=new Map([...this._backFill,...s]);d.forEach((h,_)=>{h===ld?e.add(_):h===wi&&i.add(_)}),n||d.set("offset",l/this.duration),r.push(d)});let o=[...e.values()],a=[...i.values()];if(n){let s=r[0],l=new Map(s);s.set("offset",0),l.set("offset",1),r=[s,l]}return B0(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}},w0=class extends np{constructor(e,i,n,r,o,a,s=!1){super(e,i,a.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:i,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&i){let o=[],a=n+i,s=i/a,l=new Map(e[0]);l.set("offset",0),o.push(l);let d=new Map(e[0]);d.set("offset",z1(s)),o.push(d);let h=e.length-1;for(let _=1;_<=h;_++){let M=new Map(e[_]),E=M.get("offset"),S=i+E*n;M.set("offset",z1(S/a)),o.push(M)}n=a,i=0,r="",e=o}return B0(this.element,e,this.preStyleProps,this.postStyleProps,n,i,r,!0)}};function z1(t,e=3){let i=Math.pow(10,e-1);return Math.round(t*i)/i}function w6(t,e){let i=new Map,n;return t.forEach(r=>{if(r==="*"){n??=e.keys();for(let o of n)i.set(o,wi)}else for(let[o,a]of r)i.set(o,a)}),i}function $1(t,e,i,n,r,o,a,s,l,d,h,_,M){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:i,fromStyles:o,toState:n,toStyles:a,timelines:s,queriedElements:l,preStyleProps:d,postStyleProps:h,totalTime:_,errors:M}}var p0={},ip=class{constructor(e,i,n){this._triggerName=e,this.ast=i,this._stateStyles=n}match(e,i,n,r){return O6(this.ast.matchers,e,i,n,r)}buildStyles(e,i,n){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(i,n):new Map}build(e,i,n,r,o,a,s,l,d,h){let _=[],M=this.ast.options&&this.ast.options.params||p0,E=s&&s.params||p0,S=this.buildStyles(n,E,_),R=l&&l.params||p0,G=this.buildStyles(r,R,_),q=new Set,ge=new Map,we=new Map,Ce=r==="void",lt={params:aw(R,M),delay:this.ast.options?.delay},de=h?[]:ow(e,i,this.ast.animation,o,a,S,G,lt,d,_),te=0;return de.forEach(Ue=>{te=Math.max(Ue.duration+Ue.delay,te)}),_.length?$1(i,this._triggerName,n,r,Ce,S,G,[],[],ge,we,te,_):(de.forEach(Ue=>{let ot=Ue.element,St=En(ge,ot,new Set);Ue.preStyleProps.forEach(qt=>St.add(qt));let hn=En(we,ot,new Set);Ue.postStyleProps.forEach(qt=>hn.add(qt)),ot!==i&&q.add(ot)}),$1(i,this._triggerName,n,r,Ce,S,G,de,[...q.values()],ge,we,te))}};function O6(t,e,i,n,r){return t.some(o=>o(e,i,n,r))}function aw(t,e){let i=Y({},e);return Object.entries(t).forEach(([n,r])=>{r!=null&&(i[n]=r)}),i}var O0=class{constructor(e,i,n){this.styles=e,this.defaultParams=i,this.normalizer=n}buildStyles(e,i){let n=new Map,r=aw(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,s)=>{a&&(a=Is(a,r,i));let l=this.normalizer.normalizePropertyName(s,i);a=this.normalizer.normalizeStyleValue(s,l,a,i),n.set(s,a)})}),n}};function P6(t,e,i){return new P0(t,e,i)}var P0=class{constructor(e,i,n){this.name=e,this.ast=i,this._normalizer=n,this.transitionFactories=[],this.states=new Map,i.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new O0(r.style,o,n))}),G1(this.states,"true","1"),G1(this.states,"false","0"),i.transitions.forEach(r=>{this.transitionFactories.push(new ip(e,r,this.states))}),this.fallbackTransition=E6(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,i,n,r){return this.transitionFactories.find(a=>a.match(e,i,n,r))||null}matchStyles(e,i,n){return this.fallbackTransition.buildStyles(e,i,n)}};function E6(t,e,i){let n=[(a,s)=>!0],r={type:Ie.Sequence,steps:[],options:null},o={type:Ie.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new ip(t,o,e)}function G1(t,e,i){t.has(e)?t.has(i)||t.set(i,t.get(e)):t.has(i)&&t.set(e,t.get(i))}var S6=new Ts,E0=class{constructor(e,i,n){this.bodyNode=e,this._driver=i,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,i){let n=[],r=[],o=rw(this._driver,i,n,r);if(n.length)throw HF(n);r.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,i,n){let r=e.element,o=Z1(this._normalizer,e.keyframes,i,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,i,n={}){let r=[],o=this._animations.get(e),a,s=new Map;if(o?(a=ow(this._driver,i,o,tw,m0,new Map,new Map,n,S6,r),a.forEach(h=>{let _=En(s,h.element,new Map);h.postStyleProps.forEach(M=>_.set(M,null))})):(r.push(zF()),a=[]),r.length)throw $F(r);s.forEach((h,_)=>{h.forEach((M,E)=>{h.set(E,this._driver.computeStyle(_,E,wi))})});let l=a.map(h=>{let _=s.get(h.element);return this._buildPlayer(h,new Map,_)}),d=_r(l);return this._playersById.set(e,d),d.onDestroy(()=>this.destroy(e)),this.players.push(d),d}destroy(e){let i=this._getPlayer(e);i.destroy(),this._playersById.delete(e);let n=this.players.indexOf(i);n>=0&&this.players.splice(n,1)}_getPlayer(e){let i=this._playersById.get(e);if(!i)throw GF(e);return i}listen(e,i,n,r){let o=A0(i,"","","");return k0(this._getPlayer(e),n,o,r),()=>{}}command(e,i,n,r){if(n=="register"){this.register(e,r[0]);return}if(n=="create"){let a=r[0]||{};this.create(e,i,a);return}let o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e);break}}},q1="ng-animate-queued",I6=".ng-animate-queued",f0="ng-animate-disabled",T6=".ng-animate-disabled",D6="ng-star-inserted",k6=".ng-star-inserted",A6=[],sw={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},N6={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ii="__ng_removed",Ds=class{get params(){return this.options.params}constructor(e,i=""){this.namespaceId=i;let n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=L6(r),n){let o=e,{value:a}=o,s=yr(o,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let i=e.params;if(i){let n=this.options.params;Object.keys(i).forEach(r=>{n[r]==null&&(n[r]=i[r])})}}},Ss="void",h0=new Ds(Ss),S0=class{constructor(e,i,n){this.id=e,this.hostElement=i,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Vn(i,this._hostClassName)}listen(e,i,n,r){if(!this._triggers.has(i))throw qF(n,i);if(n==null||n.length==0)throw WF(i);if(!F6(n))throw KF(n,i);let o=En(this._elementListeners,e,[]),a={name:i,phase:n,callback:r};o.push(a);let s=En(this._engine.statesByElement,e,new Map);return s.has(i)||(Vn(e,qu),Vn(e,qu+"-"+i),s.set(i,h0)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(i)||s.delete(i)})}}register(e,i){return this._triggers.has(e)?!1:(this._triggers.set(e,i),!0)}_getTrigger(e){let i=this._triggers.get(e);if(!i)throw YF(e);return i}trigger(e,i,n,r=!0){let o=this._getTrigger(i),a=new ks(this.id,i,e),s=this._engine.statesByElement.get(e);s||(Vn(e,qu),Vn(e,qu+"-"+i),this._engine.statesByElement.set(e,s=new Map));let l=s.get(i),d=new Ds(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&d.absorbOptions(l.options),s.set(i,d),l||(l=h0),!(d.value===Ss)&&l.value===d.value){if(!V6(l.params,d.params)){let R=[],G=o.matchStyles(l.value,l.params,R),q=o.matchStyles(d.value,d.params,R);R.length?this._engine.reportError(R):this._engine.afterFlush(()=>{Jr(e,G),Ei(e,q)})}return}let M=En(this._engine.playersByElement,e,[]);M.forEach(R=>{R.namespaceId==this.id&&R.triggerName==i&&R.queued&&R.destroy()});let E=o.matchTransition(l.value,d.value,e,d.params),S=!1;if(!E){if(!r)return;E=o.fallbackTransition,S=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:E,fromState:l,toState:d,player:a,isFallbackTransition:S}),S||(Vn(e,q1),a.onStart(()=>{aa(e,q1)})),a.onDone(()=>{let R=this.players.indexOf(a);R>=0&&this.players.splice(R,1);let G=this._engine.playersByElement.get(e);if(G){let q=G.indexOf(a);q>=0&&G.splice(q,1)}}),this.players.push(a),M.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(i=>i.delete(e)),this._elementListeners.forEach((i,n)=>{this._elementListeners.set(n,i.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let i=this._engine.playersByElement.get(e);i&&(i.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,i){let n=this._engine.driver.query(e,Zu,!0);n.forEach(r=>{if(r[ii])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,i,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,i,n,r){let o=this._engine.statesByElement.get(e),a=new Map;if(o){let s=[];if(o.forEach((l,d)=>{if(a.set(d,l.value),this._triggers.has(d)){let h=this.trigger(e,d,Ss,r);h&&s.push(h)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,i,a),n&&_r(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let i=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(i&&n){let r=new Set;i.forEach(o=>{let a=o.name;if(r.has(a))return;r.add(a);let l=this._triggers.get(a).fallbackTransition,d=n.get(a)||h0,h=new Ds(Ss),_=new ks(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:d,toState:h,player:_,isFallbackTransition:!0})})}}removeNode(e,i){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,i),this.triggerLeaveAnimation(e,i,!0))return;let r=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let a=e;for(;a=a.parentNode;)if(n.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,i);else{let o=e[ii];(!o||o===sw)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,i))}}insertNode(e,i){Vn(e,this._hostClassName)}drainQueuedTransitions(e){let i=[];return this._queue.forEach(n=>{let r=n.player;if(r.destroyed)return;let o=n.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==n.triggerName){let l=A0(o,n.triggerName,n.fromState.value,n.toState.value);l._data=e,k0(n.player,s.phase,l,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):i.push(n)}),this._queue=[],i.sort((n,r)=>{let o=n.transition.ast.depCount,a=r.transition.ast.depCount;return o==0||a==0?o-a:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(e){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},I0=class{_onRemovalComplete(e,i){this.onRemovalComplete(e,i)}constructor(e,i,n,r){this.bodyNode=e,this.driver=i,this._normalizer=n,this.scheduler=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,a)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(i=>{i.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,i){let n=new S0(e,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(n,i):(this.newHostElements.set(i,n),this.collectEnterElement(i)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,i){let n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let a=!1,s=this.driver.getParentElement(i);for(;s;){let l=r.get(s);if(l){let d=n.indexOf(l);n.splice(d+1,0,e),a=!0;break}s=this.driver.getParentElement(s)}a||n.unshift(e)}else n.push(e);return r.set(i,e),e}register(e,i){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,i)),n}registerTrigger(e,i,n){let r=this._namespaceLookup[e];r&&r.register(i,n)&&this.totalAnimations++}destroy(e,i){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(i),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let i=new Set,n=this.statesByElement.get(e);if(n){for(let r of n.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&i.add(o)}}return i}trigger(e,i,n,r){if(Yu(i)){let o=this._fetchNamespace(e);if(o)return o.trigger(i,n,r),!0}return!1}insertNode(e,i,n,r){if(!Yu(i))return;let o=i[ii];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let a=this.collectedLeaveElements.indexOf(i);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(i,n)}r&&this.collectEnterElement(i)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,i){i?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Vn(e,f0)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),aa(e,f0))}removeNode(e,i,n){if(Yu(i)){this.scheduler?.notify();let r=e?this._fetchNamespace(e):null;r?r.removeNode(i,n):this.markElementAsRemoved(e,i,!1,n);let o=this.namespacesByHostElement.get(i);o&&o.id!==e&&o.removeNode(i,n)}else this._onRemovalComplete(i,n)}markElementAsRemoved(e,i,n,r,o){this.collectedLeaveElements.push(i),i[ii]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,i,n,r,o){return Yu(i)?this._fetchNamespace(e).listen(i,n,r,o):()=>{}}_buildInstruction(e,i,n,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,i,o)}destroyInnerAnimations(e){let i=this.driver.query(e,Zu,!0);i.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(i=this.driver.query(e,_0,!0),i.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let i=this.playersByElement.get(e);i&&i.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let i=this.playersByQueriedElement.get(e);i&&i.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return _r(this.players).onDone(()=>e());e()})}processLeaveNode(e){let i=e[ii];if(i&&i.setForRemoval){if(e[ii]=sw,i.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(i.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}e.classList?.contains(f0)&&this.markElementAsDisabled(e,!1),this.driver.query(e,T6,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let r=this.collectedEnterElements[n];Vn(r,D6)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{i=this._flushAnimations(n,e)}finally{for(let r=0;r<n.length;r++)n[r]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let r=this.collectedLeaveElements[n];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],i.length?_r(i).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(e){throw QF(e)}_flushAnimations(e,i){let n=new Ts,r=[],o=new Map,a=[],s=new Map,l=new Map,d=new Map,h=new Set;this.disabledNodes.forEach(se=>{h.add(se);let ue=this.driver.query(se,I6,!0);for(let me=0;me<ue.length;me++)h.add(ue[me])});let _=this.bodyNode,M=Array.from(this.statesByElement.keys()),E=Y1(M,this.collectedEnterElements),S=new Map,R=0;E.forEach((se,ue)=>{let me=tw+R++;S.set(ue,me),se.forEach(Ae=>Vn(Ae,me))});let G=[],q=new Set,ge=new Set;for(let se=0;se<this.collectedLeaveElements.length;se++){let ue=this.collectedLeaveElements[se],me=ue[ii];me&&me.setForRemoval&&(G.push(ue),q.add(ue),me.hasAnimation?this.driver.query(ue,k6,!0).forEach(Ae=>q.add(Ae)):ge.add(ue))}let we=new Map,Ce=Y1(M,Array.from(q));Ce.forEach((se,ue)=>{let me=m0+R++;we.set(ue,me),se.forEach(Ae=>Vn(Ae,me))}),e.push(()=>{E.forEach((se,ue)=>{let me=S.get(ue);se.forEach(Ae=>aa(Ae,me))}),Ce.forEach((se,ue)=>{let me=we.get(ue);se.forEach(Ae=>aa(Ae,me))}),G.forEach(se=>{this.processLeaveNode(se)})});let lt=[],de=[];for(let se=this._namespaceList.length-1;se>=0;se--)this._namespaceList[se].drainQueuedTransitions(i).forEach(me=>{let Ae=me.player,at=me.element;if(lt.push(Ae),this.collectedEnterElements.length){let Bt=at[ii];if(Bt&&Bt.setForMove){if(Bt.previousTriggersValues&&Bt.previousTriggersValues.has(me.triggerName)){let Cr=Bt.previousTriggersValues.get(me.triggerName),Sn=this.statesByElement.get(me.element);if(Sn&&Sn.has(me.triggerName)){let Ns=Sn.get(me.triggerName);Ns.value=Cr,Sn.set(me.triggerName,Ns)}}Ae.destroy();return}}let an=!_||!this.driver.containsElement(_,at),Wt=we.get(at),ri=S.get(at),st=this._buildInstruction(me,n,ri,Wt,an);if(st.errors&&st.errors.length){de.push(st);return}if(an){Ae.onStart(()=>Jr(at,st.fromStyles)),Ae.onDestroy(()=>Ei(at,st.toStyles)),r.push(Ae);return}if(me.isFallbackTransition){Ae.onStart(()=>Jr(at,st.fromStyles)),Ae.onDestroy(()=>Ei(at,st.toStyles)),r.push(Ae);return}let As=[];st.timelines.forEach(Bt=>{Bt.stretchStartingKeyframe=!0,this.disabledNodes.has(Bt.element)||As.push(Bt)}),st.timelines=As,n.append(at,st.timelines);let lp={instruction:st,player:Ae,element:at};a.push(lp),st.queriedElements.forEach(Bt=>En(s,Bt,[]).push(Ae)),st.preStyleProps.forEach((Bt,Cr)=>{if(Bt.size){let Sn=l.get(Cr);Sn||l.set(Cr,Sn=new Set),Bt.forEach((Ns,cp)=>Sn.add(cp))}}),st.postStyleProps.forEach((Bt,Cr)=>{let Sn=d.get(Cr);Sn||d.set(Cr,Sn=new Set),Bt.forEach((Ns,cp)=>Sn.add(cp))})});if(de.length){let se=[];de.forEach(ue=>{se.push(ZF(ue.triggerName,ue.errors))}),lt.forEach(ue=>ue.destroy()),this.reportError(se)}let te=new Map,Ue=new Map;a.forEach(se=>{let ue=se.element;n.has(ue)&&(Ue.set(ue,ue),this._beforeAnimationBuild(se.player.namespaceId,se.instruction,te))}),r.forEach(se=>{let ue=se.element;this._getPreviousPlayers(ue,!1,se.namespaceId,se.triggerName,null).forEach(Ae=>{En(te,ue,[]).push(Ae),Ae.destroy()})});let ot=G.filter(se=>Q1(se,l,d)),St=new Map;K1(St,this.driver,ge,d,wi).forEach(se=>{Q1(se,l,d)&&ot.push(se)});let qt=new Map;E.forEach((se,ue)=>{K1(qt,this.driver,new Set(se),l,ld)}),ot.forEach(se=>{let ue=St.get(se),me=qt.get(se);St.set(se,new Map([...ue?.entries()??[],...me?.entries()??[]]))});let Ft=[],Dt=[],gn={};a.forEach(se=>{let{element:ue,player:me,instruction:Ae}=se;if(n.has(ue)){if(h.has(ue)){me.onDestroy(()=>Ei(ue,Ae.toStyles)),me.disabled=!0,me.overrideTotalTime(Ae.totalTime),r.push(me);return}let at=gn;if(Ue.size>1){let Wt=ue,ri=[];for(;Wt=Wt.parentNode;){let st=Ue.get(Wt);if(st){at=st;break}ri.push(Wt)}ri.forEach(st=>Ue.set(st,at))}let an=this._buildAnimation(me.namespaceId,Ae,te,o,qt,St);if(me.setRealPlayer(an),at===gn)Ft.push(me);else{let Wt=this.playersByElement.get(at);Wt&&Wt.length&&(me.parentPlayer=_r(Wt)),r.push(me)}}else Jr(ue,Ae.fromStyles),me.onDestroy(()=>Ei(ue,Ae.toStyles)),Dt.push(me),h.has(ue)&&r.push(me)}),Dt.forEach(se=>{let ue=o.get(se.element);if(ue&&ue.length){let me=_r(ue);se.setRealPlayer(me)}}),r.forEach(se=>{se.parentPlayer?se.syncPlayerEvents(se.parentPlayer):se.destroy()});for(let se=0;se<G.length;se++){let ue=G[se],me=ue[ii];if(aa(ue,m0),me&&me.hasAnimation)continue;let Ae=[];if(s.size){let an=s.get(ue);an&&an.length&&Ae.push(...an);let Wt=this.driver.query(ue,_0,!0);for(let ri=0;ri<Wt.length;ri++){let st=s.get(Wt[ri]);st&&st.length&&Ae.push(...st)}}let at=Ae.filter(an=>!an.destroyed);at.length?B6(this,ue,at):this.processLeaveNode(ue)}return G.length=0,Ft.forEach(se=>{this.players.push(se),se.onDone(()=>{se.destroy();let ue=this.players.indexOf(se);this.players.splice(ue,1)}),se.play()}),Ft}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,i,n,r,o){let a=[];if(i){let s=this.playersByQueriedElement.get(e);s&&(a=s)}else{let s=this.playersByElement.get(e);if(s){let l=!o||o==Ss;s.forEach(d=>{d.queued||!l&&d.triggerName!=r||a.push(d)})}}return(n||r)&&(a=a.filter(s=>!(n&&n!=s.namespaceId||r&&r!=s.triggerName))),a}_beforeAnimationBuild(e,i,n){let r=i.triggerName,o=i.element,a=i.isRemovalTransition?void 0:e,s=i.isRemovalTransition?void 0:r;for(let l of i.timelines){let d=l.element,h=d!==o,_=En(n,d,[]);this._getPreviousPlayers(d,h,a,s,i.toState).forEach(E=>{let S=E.getRealPlayer();S.beforeDestroy&&S.beforeDestroy(),E.destroy(),_.push(E)})}Jr(o,i.fromStyles)}_buildAnimation(e,i,n,r,o,a){let s=i.triggerName,l=i.element,d=[],h=new Set,_=new Set,M=i.timelines.map(S=>{let R=S.element;h.add(R);let G=R[ii];if(G&&G.removedBeforeQueried)return new pr(S.duration,S.delay);let q=R!==l,ge=j6((n.get(R)||A6).map(te=>te.getRealPlayer())).filter(te=>{let Ue=te;return Ue.element?Ue.element===R:!1}),we=o.get(R),Ce=a.get(R),lt=Z1(this._normalizer,S.keyframes,we,Ce),de=this._buildPlayer(S,lt,ge);if(S.subTimeline&&r&&_.add(R),q){let te=new ks(e,s,R);te.setRealPlayer(de),d.push(te)}return de});d.forEach(S=>{En(this.playersByQueriedElement,S.element,[]).push(S),S.onDone(()=>R6(this.playersByQueriedElement,S.element,S))}),h.forEach(S=>Vn(S,V1));let E=_r(M);return E.onDestroy(()=>{h.forEach(S=>aa(S,V1)),Ei(l,i.toStyles)}),_.forEach(S=>{En(r,S,[]).push(E)}),E}_buildPlayer(e,i,n){return i.length>0?this.driver.animate(e.element,i,e.duration,e.delay,e.easing,n):new pr(e.duration,e.delay)}},ks=class{constructor(e,i,n){this.namespaceId=e,this.triggerName=i,this.element=n,this._player=new pr,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((i,n)=>{i.forEach(r=>k0(e,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let i=this._player;i.triggerCallback&&e.onStart(()=>i.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,i){En(this._queuedCallbacks,e,[]).push(i)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let i=this._player;i.triggerCallback&&i.triggerCallback(e)}};function R6(t,e,i){let n=t.get(e);if(n){if(n.length){let r=n.indexOf(i);n.splice(r,1)}n.length==0&&t.delete(e)}return n}function L6(t){return t??null}function Yu(t){return t&&t.nodeType===1}function F6(t){return t=="start"||t=="done"}function W1(t,e){let i=t.style.display;return t.style.display=e??"none",i}function K1(t,e,i,n,r){let o=[];
9i.forEach(l=>o.push(W1(l)));let a=[];n.forEach((l,d)=>{let h=new Map;l.forEach(_=>{let M=e.computeStyle(d,_,r);h.set(_,M),(!M||M.length==0)&&(d[ii]=N6,a.push(d))}),t.set(d,h)});let s=0;return i.forEach(l=>W1(l,o[s++])),a}function Y1(t,e){let i=new Map;if(t.forEach(s=>i.set(s,[])),e.length==0)return i;let n=1,r=new Set(e),o=new Map;function a(s){if(!s)return n;let l=o.get(s);if(l)return l;let d=s.parentNode;return i.has(d)?l=d:r.has(d)?l=n:l=a(d),o.set(s,l),l}return e.forEach(s=>{let l=a(s);l!==n&&i.get(l).push(s)}),i}function Vn(t,e){t.classList?.add(e)}function aa(t,e){t.classList?.remove(e)}function B6(t,e,i){_r(i).onDone(()=>t.processLeaveNode(e))}function j6(t){let e=[];return lw(t,e),e}function lw(t,e){for(let i=0;i<t.length;i++){let n=t[i];n instanceof ms?lw(n.players,e):e.push(n)}}function V6(t,e){let i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let r=0;r<i.length;r++){let o=i[r];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}function Q1(t,e,i){let n=i.get(t);if(!n)return!1;let r=e.get(t);return r?n.forEach(o=>r.add(o)):e.set(t,n),i.delete(t),!0}var la=class{constructor(e,i,n,r){this._driver=i,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(o,a)=>{},this._transitionEngine=new I0(e.body,i,n,r),this._timelineEngine=new E0(e.body,i,n),this._transitionEngine.onRemovalComplete=(o,a)=>this.onRemovalComplete(o,a)}registerTrigger(e,i,n,r,o){let a=e+"-"+r,s=this._triggerCache[a];if(!s){let l=[],d=[],h=rw(this._driver,o,l,d);if(l.length)throw VF(r,l);d.length&&void 0,s=P6(r,h,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(i,r,s)}register(e,i){this._transitionEngine.register(e,i)}destroy(e,i){this._transitionEngine.destroy(e,i)}onInsert(e,i,n,r){this._transitionEngine.insertNode(e,i,n,r)}onRemove(e,i,n){this._transitionEngine.removeNode(e,i,n)}disableAnimations(e,i){this._transitionEngine.markElementAsDisabled(e,i)}process(e,i,n,r){if(n.charAt(0)=="@"){let[o,a]=B1(n),s=r;this._timelineEngine.command(o,i,a,s)}else this._transitionEngine.trigger(e,i,n,r)}listen(e,i,n,r,o){if(n.charAt(0)=="@"){let[a,s]=B1(n);return this._timelineEngine.listen(a,i,s,o)}return this._transitionEngine.listen(e,i,n,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function U6(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=g0(e[0]),e.length>1&&(n=g0(e[e.length-1]))):e instanceof Map&&(i=g0(e)),i||n?new T0(t,i,n):null}var sa=class sa{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let r=sa.initialStylesByElement.get(e);r||sa.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Ei(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ei(this._element,this._initialStyles),this._endStyles&&(Ei(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(sa.initialStylesByElement.delete(this._element),this._startStyles&&(Jr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Jr(this._element,this._endStyles),this._endStyles=null),Ei(this._element,this._initialStyles),this._state=3)}};sa.initialStylesByElement=new WeakMap;var T0=sa;function g0(t){let e=null;return t.forEach((i,n)=>{H6(n)&&(e=e||new Map,e.set(n,i))}),e}function H6(t){return t==="display"||t==="position"}var rp=class{constructor(e,i,n,r){this.element=e,this.keyframes=i,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e
9=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let i=()=>this._onFinish();this.domPlayer.addEventListener("finish",i),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",i)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let i=[];return e.forEach(n=>{i.push(Object.fromEntries(n))}),i}_triggerWebAnimation(e,i,n){return e.animate(this._convertKeyframesToObject(i),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{r!=="offset"&&e.set(r,this._finished?n:F0(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let i=e==="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},op=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,i){return!1}containsElement(e,i){return X1(e,i)}getParentElement(e){return N0(e)}query(e,i,n){return J1(e,i,n)}computeStyle(e,i,n){return F0(e,i)}animate(e,i,n,r,o,a=[]){let s=r==0?"both":"forwards",l={duration:n,delay:r,fill:s};o&&(l.easing=o);let d=new Map,h=a.filter(E=>E instanceof rp);l6(n,r)&&h.forEach(E=>{E.currentSnapshot.forEach((S,R)=>d.set(R,S))});let _=o6(i).map(E=>new Map(E));_=c6(e,_,d);let M=U6(e,_);return new rp(e,_,l,M)}};var Qu="@",cw="@.disabled",ap=class{constructor(e,i,n,r){this.namespaceId=e,this.delegate=i,this.engine=n,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,i){return this.delegate.createElement(e,i)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,i){this.delegate.appendChild(e,i),this.engine.onInsert(this.namespaceId,i,e,!1)}insertBefore(e,i,n,r=!0){this.delegate.insertBefore(e,i,n),this.engine.onInsert(this.namespaceId,i,e,r)}removeChild(e,i,n){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(e,i){return this.delegate.selectRootElement(e,i)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,i,n,r){this.delegate.setAttribute(e,i,n,r)}removeAttribute(e,i,n){this.delegate.removeAttribute(e,i,n)}addClass(e,i){this.delegate.addClass(e,i)}removeClass(e,i){this.delegate.removeClass(e,i)}setStyle(e,i,n,r){this.delegate.setStyle(e,i,n,r)}removeStyle(e,i,n){this.delegate.removeStyle(e,i,n)}setProperty(e,i,n){i.charAt(0)==Qu&&i==cw?this.disableAnimations(e,!!n):this.delegate.setProperty(e,i,n)}setValue(e,i){this.delegate.setValue(e,i)}listen(e,i,n){return this.delegate.listen(e,i,n)}disableAnimations(e,i){this.engine.disableAnimations(e,i)}},D0=class extends ap{constructor(e,i,n,r,o){super(i,n,r,o),this.factory=e,this.namespaceId=i}setProperty(e,i,n){i.charAt(0)==Qu?i.charAt(1)=="."&&i==cw?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,i.slice(1),n):this.delegate.setProperty(e,i,n)}listen(e,i,n){if(i.charAt(0)==Qu){let r=z6(e),o=i.slice(1),a="";return o.charAt(0)!=Qu&&([o,a]=$6(o)),this.engine.listen(this.namespaceId,r,o,a,s=>{let l=s._data||-1;this.factory.scheduleListenerCallback(l,n,s)})}return this.delegate.listen(e,i,n)}};function z6(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function $6(t){let e=t.indexOf("."),i=t.substring(0,e),n=t.slice(e+1);return[i,n]}var sp=class{constructor(e,i,n){this.delegate=e,this.engine=i,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(r,o)=>{let a=o?.parentNode(r);a&&o.removeChild(a,r)}}
9createRenderer(e,i){let n="",r=this.delegate.createRenderer(e,i);if(!e||!i?.data?.animation){let d=this._rendererCache,h=d.get(r);if(!h){let _=()=>d.delete(r);h=new ap(n,r,this.engine,_),d.set(r,h)}return h}let o=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let s=d=>{Array.isArray(d)?d.forEach(s):this.engine.registerTrigger(o,a,e,d.name,d)};return i.data.animation.forEach(s),new D0(this,a,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>i(n));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),r.push([i,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var q6=(()=>{let e=class e extends la{constructor(n,r,o){super(n,r,o,H(wo,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(r){return new(r||e)(x(Ze),x(eo),x(to))},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})();function W6(){return new Ju}function K6(t,e,i){return new sp(t,e,i)}var dw=[{provide:to,useFactory:W6},{provide:la,useClass:q6},{provide:Ri,useFactory:K6,deps:[Bc,la,Ke]}],Y6=[{provide:eo,useFactory:()=>new op},{provide:Rh,useValue:"BrowserAnimations"},...dw],cie=[{provide:eo,useClass:R0},{provide:Rh,useValue:"NoopAnimations"},...dw];function uw(){return mi("NgEagerAnimations"),[...Y6]}var pw=(()=>{let e=class e{constructor(n,r){this.router=n,this.loading=r}intercept(n,r){return r.handle(n).pipe(be(o=>o),_n(o=>(o.status===404&&(this.loading.close(),this.router.navigate(["/404"])),Hn(o))))}};e.\u0275fac=function(r){return new(r||e)(x(pt),x(U))},e.\u0275prov=P({token:e,factory:e.\u0275fac});let t=e;return t})();var fw={providers:[Cg({eventCoalescing:!0}),Bx(L1,jx({scrollPositionRestoration:"top"})),nx(),$b(qb(),Gb()),r1(),_h(V.forRoot({defaultLanguage:"pt",loader:{provide:ur,useFactory:t=>new Gu(t,"./assets/lang/",".json"),deps:[Ya]}})),uw(),{provide:Lg,useClass:pw,multi:!0}]};function Q6(t,e){if(t&1&&(p(0,"li")(1,"a",21),y(2,"translate"),y(3,"translate"),b(4),y(5,"translate"),u()()),t&2){let i=e.$implicit;c(),f("routerLink",v(2,3,i.link))("title",v(3,5,i.name)),c(3),I(" ",v(5,7,i.name)," ")}}function Z6(t,e){if(t&1){let i=ne();p(0,"li",20)(1,"a",22),y(2,"translate"),y(3,"translate"),B("click",function(){Q(i);let r=C();return Z(r.closeMenu())}),b(4),y(5,"translate"),u()()}if(t&2){let i=e.$implicit;c(),f("routerLink",v(2,3,i.link))("title",v(3,5,i.name)),c(3),$(v(5,7,i.name))}}function X6(t,e){if(t&1){let i=ne();p(0,"li")(1,"a",22),y(2,"translate"),y(3,"translate"),B("click",function(){Q(i);let r=C();return Z(r.closeMenu())}),b(4),y(5,"translate"),u()()}if(t&2){let i=e.$implicit;c(),f("routerLink",v(2,3,i.link))("title",v(3,5,i.name)),c(3),$(v(5,7,i.name))}}var hw=(()=>{let e=class e{constructor(n,r,o){this.fb=n,this.router=r,this.translate=o,this.searchBar=!1,this.listMenu=[{name:"MENU-FOOTER.VISIT.TITLE",link:"MENU-FOOTER.VISIT.LINK"},{name:"MENU-FOOTER.SCHEDULE.TITLE",link:"MENU-FOOTER.SCHEDULE.LINK"},{name:"MENU-FOOTER.COLLECTION-AND-RESEARCH.TITLE",link:"MENU-FOOTER.COLLECTION-AND-RESEARCH.LINK"},{name:"MENU-FOOTER.CPC.TITLE",link:"MENU-FOOTER.CPC.LINK"}],this.listMenuMobile=[{name:"MENU-FOOTER.COFFEE-MUSEUM.TITLE",link:"MENU-FOOTER.COFFEE-MUSEUM.LINK"},{name:"MENU-FOOTER.EDUCATIONAL.TITLE",link:"MENU-FOOTER.EDUCATIONAL.LINK"},{name:"MENU-FOOTER.MANAGEMENT.TITLE",link:"MENU-FOOTER.MANAGEMENT.LINK"}]}ngOnInit(){this.formSearch=this.fb.group({search:["",[je.required]]})}handleSearch(){let n=this.formSearch.value?.search,r=this.translate.instant("SEARCH.LINK-SEARCH"),o={search:n};this.router.navigate([r],{queryParams:o}),this.searchBar=!1}closeMenu(){this.searchBar=!this.searchBar}};e.\u0275fac=function(r){return new(r||e)(m(jn),m(pt),m(ee))},e.\u0275cmp=T({type:e,selectors:[["app-header"]],standalone:!0,features:[
9k],decls:38,vars:28,consts:[[1,"container"],["target","_self","title","logo",3,"routerLink"],[1,"logo"],["srcset","/assets/img/icons/logo.svg","media","(min-width: 1200px)"],["src","/assets/img/icons/logo2.svg","alt",""],[1,"list"],[1,"btns"],["title","Pesquisar",1,"search",3,"click"],["src","/assets/img/icons/search.svg","alt",""],["type","primary","link","https://museudocafe.byinti.com/#/event/museu-do-cafe",3,"isTargetBlank","label"],["title","abrir barra pesquisa",1,"menu-mobile",3,"click"],[1,"box-serch"],[1,"search"],[1,"btn-close",3,"click","title"],["src","/assets/img/icons/close.svg","alt",""],[1,"input-serch",3,"formGroup"],["type","search","formControlName","search","name","Pesquisar",3,"placeholder"],[3,"click","disabled","title"],["src","/assets/img/icons/search-white.svg","alt",""],[1,"list-mobile"],[1,"strong"],[3,"routerLink","title"],[3,"click","routerLink","title"]],template:function(r,o){r&1&&(p(0,"header")(1,"nav")(2,"div",0)(3,"a",1),y(4,"translate"),p(5,"picture",2),g(6,"source",3)(7,"img",4),u()(),p(8,"ul",5),A(9,Q6,6,9,"li",null,j),u(),p(11,"div",6)(12,"button",7),B("click",function(){return o.searchBar=!0}),g(13,"img",8),u(),g(14,"app-button",9),y(15,"translate"),p(16,"button",10),B("click",function(){return o.searchBar=!o.searchBar}),u()()()(),p(17,"div",11)(18,"div",12)(19,"div",0)(20,"button",13),y(21,"translate"),B("click",function(){return o.searchBar=!1}),b(22),y(23,"translate"),g(24,"img",14),u(),p(25,"form",15),g(26,"input",16),y(27,"translate"),p(28,"button",17),y(29,"translate"),B("click",function(){return o.handleSearch()}),b(30),y(31,"translate"),g(32,"img",18),u()()()(),p(33,"ul",19),A(34,Z6,6,9,"li",20,j),A(36,X6,6,9,"li",null,j),u()()()),r&2&&(c(3),f("routerLink",v(4,14,"MENU-FOOTER.HOME.LINK")),c(6),N(o.listMenu),c(5),f("isTargetBlank",!0)("label",v(15,16,"MENU-FOOTER.BTN-MENU-STORE")),c(2),F("active",o.searchBar),c(),F("active",o.searchBar),c(3),f("title",v(21,18,"MENU-FOOTER.BTN-CLOSE-SEARCH")),c(2),I(" ",v(23,20,"MENU-FOOTER.BTN-CLOSE-SEARCH")," "),c(3),f("formGroup",o.formSearch),c(),f("placeholder",v(27,22,"MENU-FOOTER.PLACEHOLDER-SEARCH")),c(2),f("disabled",!o.formSearch.valid)("title",v(29,24,"MENU-FOOTER.BTN-SEARCH")),c(2),I(" ",v(31,26,"MENU-FOOTER.BTN-SEARCH")," "),c(4),N(o.listMenu),c(2),N(o.listMenuMobile))},dependencies:[Ht,V,z,fe,Ye,pn,Bn,hr,Qo,Fn,zt,On,Ms],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}header[_ngcontent-%COMP%]{position:relative;z-index:990}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]{position:relative;background-color:var(--gray-02);z-index:2}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:15px 0;gap:10px}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:100%;max-width:160px;display:block}@media (max-width: 1300px){header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:100px}}@media (max-width: 1200px){header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:36px}}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{display:flex;align-items:center;gap:32px;list-style:none}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{position:relative;cursor:pointer;text-align:center}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--gray-04);font-family:regular;font-weight:400;font-style:normal;font-size:1rem;transition:all .3s}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{content:"";position:absolute;
9left:0;top:0;width:0%;height:100%;border-bottom:1px solid var(--gray-06);transition:all .3s}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%]{color:var(--gray-06)}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover:before{pointer-events:none;width:100%}@media (max-width: 1200px){header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{display:none}}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:24px}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]{border:0;background-color:transparent;cursor:pointer}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]   .menu-mobile[_ngcontent-%COMP%]{display:none;width:32px;height:32px;background-image:url(/assets/img/icons/menu-open.svg);background-position:center;background-repeat:no-repeat;background-size:auto;border:none;background-color:transparent}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]   .menu-mobile.active[_ngcontent-%COMP%]{background-image:url(/assets/img/icons/menu-close.svg)}@media (max-width: 1300px){header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]{gap:12px}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:20px}}@media (max-width: 1200px){header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]{display:none}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]   .menu-mobile[_ngcontent-%COMP%]{display:block}header[_ngcontent-%COMP%]   nav[_ngcontent-%COMP%]   .btns[_ngcontent-%COMP%]   app-button[_ngcontent-%COMP%]{display:block}}header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]{position:absolute;width:100%;top:0;padding:0;max-height:0;overflow:hidden;opacity:0;transition:all .3s;z-index:1}header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]{background-color:var(--orange)}header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .btn-close[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:8px;border:0;background-color:transparent;color:var(--gray-01);font-family:black;font-weight:900;font-style:normal;font-size:1.25rem;cursor:pointer;margin:0 0 24px auto}@media (max-width: 1200px){header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .btn-close[_ngcontent-%COMP%]{display:none}}header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .input-serch[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .input-serch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%;background-color:transparent;border:none;padding:12px 16px;border-bottom:2px solid var(--gray-01);font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-01)}header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .input-serch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::placeholder{color:var(--gray-01)}header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .input-serch[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-01);display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;background-color:transparent;border:none;padding:12px 16px;border-bottom:2px solid var(--gray-01)}@media (max-width: 1200px){header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .input-serch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:.75rem}header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .input-serch[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-size:.75rem}header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .input-serch[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:12px}}header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .list-mobile[_ngcontent-%COMP%]{width:100%;height:100vh;background-color:var(--gray-02);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;list-style:none;gap:8px;display:none;padding-top:40px}header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .list-mobile[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{text-align:center}header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .list-mobile[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-05);width:100%}header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .list-mobile[_ngcontent-%COMP%]   li.strong[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.25rem;color:var(--gray-06)}@media (max-width: 1200px){header[_ngcontent-%COMP%]   .box-serch[_ngcontent-%COMP%]   .list-mobile[_ngcontent-%COMP%]{display:flex}}header[_ngcontent-%COMP%]   .box-serch.active[_ngcontent-%COMP%]{max-height:1000px;top:100%;opacity:1}header[_ngcontent-%COMP%]   .box-serch.active[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]{padding:24px 0}@media (max-width: 1200px){header[_ngcontent-%COMP%]   .box-serch.active[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]{padding:16px 0}}']});let t=e;return t})();function J6(t,e){if(t&1&&(p(0,"li")(1,"a",9),b(2),u()()),t&2){let i=e.$implicit;c(),f("routerLink",i.LINK)("title",i.NAME),c(),I(" ",i.NAME," ")}}function e8(t,e){if(t&1&&(p(0,"div",6)(1,"ul",7)(2,"li",32),b(3),u(),O(4,J6,3,3,"li",33),u()()),t&2){let i=e.$implicit;c(3),I(" ",i.TITLE," "),c(),f("ngForOf",i.OPTIONS)}}function t8(t,e){if(t&1&&(p(0,"li")(1,"a",34),g(2,"img",35),u()()),t&2){let i=e.$implicit;c(),f("href",i.link,L)("title",i.alt),c(),f("src",i.srcIcon,L)("alt",i.alt)}}var gw=(()=>{let e=class e{constructor(n){this.footerService=n,this.footerList=[],this.socialMedia=[{link:"https://www.facebook.com/MuseudoCafe",srcIcon:"/assets/img/icons/icon-facebook.svg",alt:"\xCDcone facebook"},{link:"https://www.youtube.com/user/museudocafe",srcIcon:"/assets/img/icons/icon-youtube.svg",alt:"\xCDcone youtube"},{link:"https://www.flickr.com/photos/museudocafe/",srcIcon:"/assets/img/icons/icon-flickr.svg",alt:"\xCDcone flickr"},{link:"https://www.instagram.com/museudocafe",srcIcon:"/assets/img/icons/icon-instagram.svg",alt:"\xCDcone instagram"},{link:"https://www.tiktok.com/@museudocafe",srcIcon:"/assets/img/icons/icon-tiktok.svg",alt:"\xCDcone tiktok"},{link:"https://open.spotify.com/show/6pX0bI1mctPNhT0r54SatQ?si=aca3672565d54934 ",srcIcon:"/assets/img/icons/icon-spotify.svg",alt:"\xCDcone Spotify"}]}ngOnInit(){}};e.\u0275fac=function(r){return new(r||e)(m(ae))},e.\u0275cmp=T({type:e,selectors:[["app-footer"]],standalone:!0,features:[
9k],decls:77,vars:43,consts:[[1,"container"],[1,"wrapper-footer"],[1,"coll-100"],["title","Logo",3,"routerLink"],[1,"logo"],["src","/assets/img/icons/logo-footer.svg","alt","Logo"],[1,"coll"],[1,"list"],[1,"title"],[3,"routerLink","title"],["class","coll",4,"ngFor","ngForOf"],[1,"wrapper-footer","space-between"],[1,"row-footer","social-media"],[1,"logos-secretaria"],["src","/assets/img/icons/mc-logo.png","alt","Logo Museu do Caf\xE9"],[1,"bar-digital"],[1,"row-icons"],["href","https://www.isiaroma.it/","target","_blank","title","Site isiaroma"],[1,"row"],["src","/assets/img/icons/logo-isia.png","alt","Logo isiaroma"],["href","https://digitalindustry.com.br","target","_blank","title","Site Digital Industry"],["src","/assets/img/icons/logo-digital.svg","alt","Logo Digital Industry"],["id","govsp-rodape"],[1,"linha-botoes"],[1,"coluna-4"],["href","https://fala.sp.gov.br/",1,"btn","btn-model"],["href","http://www.transparencia.sp.gov.br/",1,"btn","btn-model"],["href","http://www.sic.sp.gov.br/",1,"btn","btn-model"],[1,"container","rodape"],[1,"logo-rodape"],["href","https://www.saopaulo.sp.gov.br/"],["src","https://www.saopaulo.sp.gov.br/barra-govsp/img/logo-rodape-governo-do-estado-sp.png","alt","Governo de S\xE3o Paulo","width","206","height","38"],[1,"title","mb-16"],[4,"ngFor","ngForOf"],["target","_blank",3,"href","title"],[3,"src","alt"]],template:function(r,o){r&1&&(p(0,"footer")(1,"div",0)(2,"div",1)(3,"div",2)(4,"a",3),y(5,"translate"),p(6,"figure",4),g(7,"img",5),u()()(),p(8,"div",6)(9,"ul",7)(10,"li",8)(11,"a",9),y(12,"translate"),y(13,"translate"),b(14),y(15,"translate"),u()(),p(16,"li",8)(17,"a",9),y(18,"translate"),y(19,"translate"),b(20),y(21,"translate"),u()(),p(22,"li",8)(23,"a",9),y(24,"translate"),y(25,"translate"),b(26),y(27,"translate"),u()(),p(28,"li",8)(29,"a",9),y(30,"translate"),y(31,"translate"),b(32),y(33,"translate"),u()()()(),O(34,e8,5,2,"div",10),u(),g(35,"hr"),p(36,"div",11)(37,"ul",12),A(38,t8,3,4,"li",null,j),u(),p(40,"div",13)(41,"figure"),g(42,"img",14),u()()()(),p(43,"div",15)(44,"div",0)(45,"p"),b(46,"Copyright \xA9 2024 - Museu do Caf\xE9"),u(),p(47,"div",16)(48,"a",17)(49,"div",18)(50,"p"),b(51,"Brand Design"),u(),g(52,"img",19),u()(),g(53,"hr"),p(54,"a",20)(55,"div",18)(56,"p"),b(57),y(58,"translate"),u(),g(59,"img",21),u()()()()(),p(60,"section",22)(61,"div",0)(62,"div",23)(63,"div",24)(64,"a",25),b(65,"Ouvidoria"),u()(),p(66,"div",24)(67,"a",26),b(68,"Transpar\xEAncia"),u()(),p(69,"div",24)(70,"a",27),b(71,"SIC"),u()()()(),p(72,"div",28)(73,"div",29)(74,"p")(75,"a",30),g(76,"img",31),u()()()()()()),r&2&&(c(4),f("routerLink",v(5,15,"MENU-FOOTER.HOME.LINK")),c(7),f("routerLink",v(12,17,"MENU-FOOTER.VISIT.LINK"))("title",v(13,19,"MENU-FOOTER.VISIT.TITLE")),c(3),I(" ",v(15,21,"MENU-FOOTER.VISIT.TITLE")," "),c(3),f("routerLink",v(18,23,"MENU-FOOTER.SCHEDULE.LINK"))("title",v(19,25,"MENU-FOOTER.SCHEDULE.TITLE")),c(3),I(" ",v(21,27,"MENU-FOOTER.SCHEDULE.TITLE")," "),c(3),f("routerLink",v(24,29,"MENU-FOOTER.COLLECTION-AND-RESEARCH.LINK"))("title",v(25,31,"MENU-FOOTER.COLLECTION-AND-RESEARCH.TITLE")),c(3),I(" ",v(27,33,"MENU-FOOTER.COLLECTION-AND-RESEARCH.TITLE")," "),c(3),f("routerLink",v(30,35,"MENU-FOOTER.CPC.LINK"))("title",v(31,37,"MENU-FOOTER.CPC.TITLE")),c(3),I(" ",v(33,39,"MENU-FOOTER.CPC.TITLE"),""),c(2),f("ngForOf",o.footerService.footerList),c(4),N(o.socialMedia),c(19),$(v(58,41,"MENU-FOOTER.DIGITAL")))},dependencies:[Ye,rn,Ht,V,z],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}footer[_ngcontent-%COMP%]{background-color:var(--gray-02);width:100%;background-image:url(/assets/img/icons/bg-footer.svg);background-position:100% 60%;background-size:auto;background-repeat:no-repeat}footer[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:56px 0 40px}footer[_ngcontent-%COMP%]   .wrapper-footer[_ngcontent-%COMP%]{display:flex;align-items:flex-start;flex-wrap:wrap}footer[_ngcontent-%COMP%]   .wrapper-footer.space-between[_ngcontent-%COMP%]{justify-content:space-between}footer[_ngcontent-%COMP%]   .wrapper-footer[_ngcontent-%COMP%]   .coll-100[_ngcontent-%COMP%]{flex:100%}footer[_ngcontent-%COMP%]   .wrapper-footer[_ngcontent-%COMP%]   .coll[_ng
9content-%COMP%]{flex:25%}footer[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:100%;max-width:300px;margin-bottom:60px}footer[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{list-style:none}footer[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:8px;width:fit-content}footer[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-05);text-transform:lowercase;line-height:24px}footer[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li.title[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.5rem;line-height:28px;color:var(--gray-05);text-transform:lowercase}footer[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li.title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-family:black;font-weight:900;font-style:normal;font-size:1.5rem;line-height:28px;text-transform:lowercase}footer[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li.mb-16[_ngcontent-%COMP%]{margin-bottom:16px}footer[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%]{transition:all .3s;color:var(--orange)}footer[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover.title   a[_ngcontent-%COMP%]{text-decoration:underline}footer[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{color:transparent;border:1px solid var(--gray-03);margin:40px 0}footer[_ngcontent-%COMP%]   .row-footer[_ngcontent-%COMP%]{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px}footer[_ngcontent-%COMP%]   .row-footer.list-pages[_ngcontent-%COMP%]{list-style:disc;gap:26px}footer[_ngcontent-%COMP%]   .row-footer.list-pages[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:var(--gray-05);font-family:regular;font-weight:400;font-style:normal;font-size:1rem}footer[_ngcontent-%COMP%]   .row-footer.list-pages[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--gray-05)}footer[_ngcontent-%COMP%]   .row-footer.list-pages[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{list-style:none}footer[_ngcontent-%COMP%]   .row-footer.list-pages[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]::marker{color:var(--orange)}footer[_ngcontent-%COMP%]   .row-footer.list-pages[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover   a[_ngcontent-%COMP%]{transition:all .3s;color:var(--orange)}footer[_ngcontent-%COMP%]   .logos-secretaria[_ngcontent-%COMP%]{display:flex;align-items:stretch;justify-content:flex-start;gap:24px}footer[_ngcontent-%COMP%]   .bar-digital[_ngcontent-%COMP%]{padding:40px 0;background-color:var(--gray-05)}footer[_ngcontent-%COMP%]   .bar-digital[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:0;flex-wrap:wrap;gap:10px}footer[_ngcontent-%COMP%]   .bar-digital[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row-icons[_ngcontent-%COMP%]{gap:32px;display:flex;align-items:center;justify-content:space-between;color:var(--gray-04)}footer[_ngcontent-%COMP%]   .bar-digital[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row-icons[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{height:24px;margin:0 auto}footer[_ngcontent-%COMP%]   .bar-digital[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:12px}footer[_ngcontent-%COMP%]   .bar-digital[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:70px}footer[_ngcontent-%COMP%]   .bar-digital[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;font-size:1rem;color:var(--gray-01);min-width:fit-content}@media (max-width: 1050px){footer[_ngcontent-%COMP%]{background-position:100% 75%}footer[_ngcontent-%COMP%]   .wrapper-footer[_ngcontent-%COMP%]{gap:20px}footer[_ngcontent-%COMP%]   .wrapper-footer[_ngcontent-%COMP%]   .coll-100[_ngcontent-%COMP%]{flex:50%}footer[_ngcontent-%COMP%]   .wrapper-footer[_ngcontent-%COMP%]   .coll[_ng
9content-%COMP%]{flex:calc(33.3333333333% - 20px)}footer[_ngcontent-%COMP%]   .wrapper-footer.space-between[_ngcontent-%COMP%]{justify-content:space-around}footer[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:0}}@media (max-width: 768px){footer[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:32px 0 16px}footer[_ngcontent-%COMP%]   .wrapper-footer[_ngcontent-%COMP%]{gap:16px}footer[_ngcontent-%COMP%]   .wrapper-footer[_ngcontent-%COMP%]   .coll-100[_ngcontent-%COMP%]{flex:100%}footer[_ngcontent-%COMP%]   .wrapper-footer[_ngcontent-%COMP%]   .coll[_ngcontent-%COMP%]{flex:calc(50% - 20px)}footer[_ngcontent-%COMP%]   .wrapper-footer.space-between[_ngcontent-%COMP%]{justify-content:center;flex-direction:column;align-items:center}footer[_ngcontent-%COMP%]   .wrapper-footer[_ngcontent-%COMP%]   .list-pages[_ngcontent-%COMP%]{order:3}footer[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:16px;max-width:208px}footer[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li.title[_ngcontent-%COMP%]{font-size:1.25rem;line-height:24px}footer[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li.title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.25rem;line-height:24px}footer[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]   li.mb-16[_ngcontent-%COMP%]{margin-bottom:8px}footer[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin:24px 0}footer[_ngcontent-%COMP%]   .logo-secretaria[_ngcontent-%COMP%]{width:100%;max-width:300px}}@media (max-width: 550px){footer[_ngcontent-%COMP%]{background-image:url(/assets/img/icons/bg-footer-mobile.svg)}footer[_ngcontent-%COMP%]   .wrapper-footer[_ngcontent-%COMP%]   .coll-100[_ngcontent-%COMP%]{flex:100%}footer[_ngcontent-%COMP%]   .wrapper-footer[_ngcontent-%COMP%]   .coll[_ngcontent-%COMP%]{flex:100%}footer[_ngcontent-%COMP%]   .bar-digital[_ngcontent-%COMP%]{padding:24px 0}footer[_ngcontent-%COMP%]   .bar-digital[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;gap:16px}footer[_ngcontent-%COMP%]   .bar-digital[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row-icons[_ngcontent-%COMP%]{flex-direction:column;gap:16px;align-items:flex-start}footer[_ngcontent-%COMP%]   .bar-digital[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .row-icons[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{display:none}}']});let t=e;return t})();var mw=(()=>{let e=class e{constructor(){this.currentFontSize=100}increaseFontSize(n){this.currentFontSize=n?110:100,document.documentElement.style.fontSize=`${this.currentFontSize}%`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function i8(t,e){if(t&1){let i=ne();p(0,"li",20),B("click",function(){let r=Q(i).$implicit,o=C();return Z(o.language.changeLanguage(r.code))}),b(1),u()}if(t&2){let i=e.$implicit;c(),$(i.label)}}var _w=(()=>{let e=class e{constructor(n,r,o){this.language=n,this.fontSizeService=r,this.platformId=o,this.isDarkMode=!1,this.isBrowser=Xe(this.platformId)}ngOnInit(){if(this.isBrowser){let n=localStorage.getItem("theme")||"light";this.isDarkMode=n==="dark",document.documentElement.setAttribute("data-theme",n)}}toggleTheme(n){if(this.isBrowser){this.isDarkMode=n;let r=this.isDarkMode?"dark":"light";document.documentElement.setAttribute("data-theme",r),localStorage.setItem("theme",r)}}};e.\u0275fac=function(r){return new(r||e)(m(We),m(mw),m(De))},e.\u0275cmp=T({type:e,selectors:[["app-accessibility-bar"]],standalone:!0,features:[k],decls:38,vars:19,consts:[[1,"govsp-topo"],["id","govsp-topbarGlobal",1,"blu-e"],["id","topbarGlobal"],["id","topbarLink",1,"govsp-black"],[1,"govsp-portal"],["href","https://www.saopaulo.sp.gov.br","title","nova guia Site Governo do Estado de S\xE3o Paulo","role","link"],["src","https://saopaulo.sp.gov.br/barra-govsp/img/logo-governo-do-estado-sp.png","alt","logomarca Governo de S\xE3o Paulo","height","38",1,"logo"],[1,"accessibility-bar"],[1,"dropdown","accessibility"],[3,"title"],["src","/assets/img/icons/settings.svg","alt","\xCCcone configura\xE7\xF5es"],["src","/assets/img/icons/arrow-bottom-menu.svg","alt","Seta apontada para baixo"],[1,"list-options"],["src","/assets/img/icons/text.svg","alt","\xCCcone ampliar texto"],["id","1","type","toggle","size","small",3,"onChange"],["src","/assets/img/icons/contraste.svg","alt","\xCCcone contraste"],["id","2","type","toggle","size","small",3,"onChange","checked"],[1,"dropdown"],["src","/assets/img/icons/mundo.svg","alt","\xCCcone mundo"],[1,"list-options","language"],[3,"click"]],template:function(r,o){r&1&&(p(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"a",5),g(6,"img",6),u()()()()()(),p(7,"div",7)(8,"div",8)(9,"button",9),y(10,"translate"),g(11,"img",10),b(12),y(13,"translate"),g(14,"img",11),u(),p(15,"ul",12)(16,"li"),g(17,"img",13),p(18,"span"),b(19),y(20,"translate"),u(),p(21,"app-checkbox",14),B("onChange",function(s){return o.fontSizeService.increaseFontSize(s.target.checked)}),u()(),p(22,"li"),g(23,"img",15),p(24,"span"),b(25),y(26,"translate"),u(),p(27,"app-checkbox",16),B("onChange",function(s){return o.toggleTheme(s.target.checked)}),u()()()(),p(28,"div",17)(29,"button",9),y(30,"translate"),g(31,"img",18),b(32),y(33,"translate"),g(34,"img",11),u(),p(35,"ul",19),A(36,i8,2,1,"li",null,j),u()()()),r&2&&(c(9),f("title",v(10,7,"ACCESSIBILITY-BAR.ACCESSIBILITY")),c(3),I(" ",v(13,9,"ACCESSIBILITY-BAR.ACCESSIBILITY")," "),c(7),$(v(20,11,"ACCESSIBILITY-BAR.BTN-ZOOM-TEXT")),c(6),$(v(26,13,"ACCESSIBILITY-BAR.BTN-DARK")),c(2),f("checked",o.isDarkMode),c(2),f("title",v(30,15,"ACCESSIBILITY-BAR.LANGUAGE")),c(3),I(" ",v(33,17,"ACCESSIBILITY-BAR.LANGUAGE")," "),c(4),N(o.language.languages)
9)},dependencies:[V,z,ta],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.accessibility-bar[_ngcontent-%COMP%]{width:calc(100% - 40px);margin:0 auto;padding:8px 0;display:flex;align-items:center;justify-content:flex-end;gap:10px}.accessibility-bar[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]{position:relative}.accessibility-bar[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background-color:transparent;padding:4px 20px;display:flex;align-items:center;justify-content:center;gap:8px;border:none;cursor:pointer;font-family:regular;font-weight:400;font-style:normal;font-size:1rem}.accessibility-bar[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:16px}.accessibility-bar[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .list-options[_ngcontent-%COMP%]{display:none;width:240px;list-style:none;position:absolute;top:100%;left:50%;transform:translate(-50%);background-color:var(--gray-01);box-shadow:0 4px 8px #0000001a;border-radius:0 0 8px 8px;padding:20px 24px;z-index:999}.accessibility-bar[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;gap:8px;margin-bottom:12px;font-family:regular;font-weight:400;font-style:normal;font-size:1rem}.accessibility-bar[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:0}.accessibility-bar[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:16px}.accessibility-bar[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-checkbox[_ngcontent-%COMP%]{margin:0 0 0 auto}.accessibility-bar[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .list-options.language[_ngcontent-%COMP%]{width:130px}.accessibility-bar[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .list-options.language[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-family:regular;font-weight:400;font-style:normal;cursor:pointer}.accessibility-bar[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]   .list-options.language[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{color:var(--orange)}
9.accessibility-bar[_ngcontent-%COMP%]   .dropdown[_ngcontent-%COMP%]:hover   .list-options[_ngcontent-%COMP%]{display:block}@media (max-width: 768px){.accessibility-bar[_ngcontent-%COMP%]   .dropdown.accessibility[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}.accessibility-bar[_ngcontent-%COMP%]   .dropdown.accessibility[_ngcontent-%COMP%]   .list-options[_ngcontent-%COMP%]{width:auto;display:block;position:static;box-shadow:none;display:flex;align-items:center;justify-content:center;padding:0;gap:24px;transform:translate(0)}.accessibility-bar[_ngcontent-%COMP%]   .dropdown.accessibility[_ngcontent-%COMP%]   .list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:0}.accessibility-bar[_ngcontent-%COMP%]   .dropdown.accessibility[_ngcontent-%COMP%]   .list-options[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:none}}@media (max-width: 768px){.accessibility-bar[_ngcontent-%COMP%]{justify-content:space-between}}']});let t=e;return t})();var Cw=(()=>{let e=class e{constructor(n){this.loading=n,this.title="MC-Institucional"}};e.\u0275fac=function(r){return new(r||e)(m(U))},e.\u0275cmp=T({type:e,selectors:[["app-root"]],standalone:!0,features:[k],decls:6,vars:2,template:function(r,o){r&1&&(g(0,"app-loading")(1,"app-accessibility-bar")(2,"app-header"),p(3,"main"),g(4,"router-outlet"),u(),g(5,"app-footer")),r&2&&(c(3),F("loading",o.loading.isLoading))},dependencies:[Om,hw,gw,_w,g1],styles:['.skeleton[_ngcontent-%COMP%]{background-color:#efefef!important;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:30px;border-radius:4px;height:30px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite;margin-bottom:8px}.skeleton-img[_ngcontent-%COMP%]{background-color:#efefef;background-image:linear-gradient(90deg,#fff0,#ffffff80,#fff0);background-size:40px 100%;background-repeat:no-repeat;background-position:left -40px top 0;min-height:300px;border-radius:4px;margin-bottom:20px!important;height:300px;width:100%;animation:_ngcontent-%COMP%_shine 1s linear infinite}@media (max-width: 768px){.skeleton-img[_ngcontent-%COMP%]{min-height:200px;height:200px}}@keyframes _ngcontent-%COMP%_shine{to{background-position:right -40px top 0}}[_ngcontent-%COMP%]:root[data-theme=light]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #888888;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .5);--orange: #f5780f;--orange-dark: #c4600c;--blue: #00a0dd;--green: #a2c617;--brown: #563e39;--yellow: #f9b000;--red: #f34747}[_ngcontent-%COMP%]:root[data-theme=dark]{--gray-01: #ffffff;--gray-02: #f6f6f6;--gray-03: #dcdcdc;--gray-04: #525252;--gray-05: #525252;--gray-06: #292929;--mask-banner: rgba(0, 0, 0, .8);--orange: #292929;--orange-dark: #292929;--blue: #292929;--green: #292929;--brown: #292929;--yellow: #292929;--red: #292929}@font-face{font-family:regular;src:url("./media/Barlow-Regular-HITCA4HU.ttf")}@font-face{font-family:bold;src:url("./media/Barlow-Bold-V44UI4CN.ttf")}@font-face{font-family:black;src:url("./media/Barlow-Black-UE7YRD5A.ttf")}.container[_ngcontent-%COMP%]{width:calc(100% - 80px);margin:0 auto;max-width:1440px}@media (max-width: 1050px){.container[_ngcontent-%COMP%]{width:calc(100% - 40px)}}.loading[_ngcontent-%COMP%]{min-height:60vh;transition:all .2s}']});let t=e;return t})();ex(Cw,fw).catch(t=>console.error(t));

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.