PageSourceSearch

https://www.5692.com.ua/main-es5.dd5028e89f06a0560aa6.js

js 5692.com.ua collected 2026-09-26 06:41:09 UTC 1,865,388 bytes, 1 lines download raw bytes

1function _wrapRegExp(e,t){_wrapRegExp=function(e,t){return new a(e,void 0,t)};var n=_wrapNativeSuper(RegExp),i=RegExp.prototype,r=new WeakMap;function a(e,t,i){var a=n.call(this,e,t);return r.set(a,i||r.get(e)),a}function o(e,t){var n=r.get(t);return Object.keys(n).reduce((function(t,i){return t[i]=e[n[i]],t}),Object.create(null))}return _inherits(a,n),a.prototype.exec=function(e){var t=i.exec.call(this,e);return t&&(t.groups=o(t,this)),t},a.prototype[Symbol.replace]=function(e,t){if("string"==typeof t){var n=r.get(this);return i[Symbol.replace].call(this,e,t.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+n[t]})))}if("function"==typeof t){var a=this;return i[Symbol.replace].call(this,e,(function(){var e=[];return e.push.apply(e,arguments),"object"!=typeof e[e.length-1]&&e.push(o(e,a)),t.apply(this,e)}))}return i[Symbol.replace].call(this,e,t)},_wrapRegExp.apply(this,arguments)}function _wrapNativeSuper(e){var t="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(n,e)})(e)}function _construct(e,t,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&_setPrototypeOf(r,n.prototype),r}).apply(null,arguments)}function _isNativeFunction(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _defineProperty2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _createForOfIteratorHelper(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function _slicedToArray2(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(c){r=!0,a=c}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _templateObject35(){var e=_taggedTemplateLiteral([":@@ngb.toast.close-aria\u241ff4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8\u241f7819314041543176992:Close"]);return _templateObject35=function(){return e},e}function _templateObject34(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.AM\u241f69a1f176a93998876952adac57c3bc3863b6105e\u241f4592818992509942761:",":INTERPOLATION:"]);return _templateObject34=function(){return e},e}function _templateObject33(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.PM\u241f8d6e691e10306c1b34c6b26805151aaea320ef7f\u241f3564199131264287502:",":INTERPOLATION:"]);return _templateObject33=function(){return e},e}function _templateObject32(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-seconds\u241f5db47ac104294243a70eb9124fbea9d0004ddf69\u241f753633511487974857:Decrement seconds"]);
1return _templateObject32=function(){return e},e}function _templateObject31(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.increment-seconds\u241f912322ecee7d659d04dcf494a70e22e49d334b26\u241f5364772110539092174:Increment seconds"]);return _templateObject31=function(){return e},e}function _templateObject30(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.seconds\u241f4f2ed9e71a7c981db3e50ae2fedb28aff2ec4e6c\u241f8874012390997067175:Seconds"]);return _templateObject30=function(){return e},e}function _templateObject29(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.SS\u241febe38d36a40a2383c5fefa9b4608ffbda08bd4a3\u241f3628127143071124194:SS"]);return _templateObject29=function(){return e},e}function _templateObject28(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-minutes\u241fc1a6899e529c096da5b660385d4e77fe1f7ad271\u241f7447789825403243588:Decrement minutes"]);return _templateObject28=function(){return e},e}function _templateObject27(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.increment-minutes\u241ff5a4a3bc05e053f6732475d0e74875ec01c3a348\u241f180147720391025024:Increment minutes"]);return _templateObject27=function(){return e},e}function _templateObject26(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-hours\u241f147c7a19429da7d999e247d22e33fee370b1691b\u241f3651829882940481818:Decrement hours"]);return _templateObject26=function(){return e},e}function _templateObject25(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.increment-hours\u241fcb74bc1d625a6c1742f0d7d47306cf495780c218\u241f5939278348542933629:Increment hours"]);return _templateObject25=function(){return e},e}function _templateObject24(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.minutes\u241f41e62daa962947c0d23ded0981975d1bddf0bf38\u241f5531237363767747080:Minutes"]);return _templateObject24=function(){return e},e}function _templateObject23(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.MM\u241f72c8edf6a50068a05bde70991e36b1e881f4ca54\u241f1647282246509919852:MM"]);return _templateObject23=function(){return e},e}function _templateObject22(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.hours\u241f3bbce5fef7e1151da052a4e529453edb340e3912\u241f8070396816726827304:Hours"]);return _templateObject22=function(){return e},e}function _templateObject21(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.HH\u241fce676ab1d6d98f85c836381cf100a4a91ef95a1f\u241f4043638465245303811:HH"]);return _templateObject21=function(){return e},e}function _templateObject20(){var e=_taggedTemplateLiteral([":@@ngb.progressbar.value\u241ff8e9a947b9db4252c0e9905765338712f2fd032f\u241f3720830768741091151:",":INTERPOLATION:"]);return _templateObject20=function(){return e},e}function _templateObject19(){var e=_taggedTemplateLiteral([":@@ngb.pagination.last-aria\u241f5c729788ba138508aca1bec050b610f7bf81db3e\u241f4882268002141858767:Last"]);return _templateObject19=function(){return e},e}function _templateObject18(){var e=_taggedTemplateLiteral([":@@ngb.pagination.next-aria\u241ff732c304c7433e5a83ffcd862c3dce709a0f4982\u241f3885497195825665706:Next"]);return _templateObject18=function(){return e},e}function _templateObject17(){var e=_taggedTemplateLiteral([":@@ngb.pagination.previous-aria\u241f680d5c75b7fd8d37961083608b9fcdc4167b4c43\u241f4452427314943113135:Previous"]);return _templateObject17=function(){return e},e}function _templateObject16(){var e=_taggedTemplateLiteral([":@@ngb.pagination.first-aria\u241ff2f852318759c6396b5d3d17031d53817d7b38cc\u241f2241508602425256033:First"]);return _templateObject16=function(){return e},e}function _templateObject15(){var e=_taggedTemplateLiteral([":@@ngb.pagination.last\u241f49f27a460bc97e7e00be5b37098bfa79884fc7d9\u241f5277020320267646988:\xbb\xbb"]);return _templateObject15=function(){return e},e}function _templateObject14(){var e=_taggedTemplateLiteral([":@@ngb.pagination.next\u241fba9cbb4ff311464308a3627e4f1c3345d9fe6d7d\u241f5458177150283468089:\xbb"]);return _templateObject14=function(){return e},e}function _templateObject13(){var e=_taggedTemplateLiteral([":@@ngb.pagination.previous\u241f6e52b6ee77a4848d899dd21b591c6fd499e3aef3\u241f6479320895410098858:\xab"]);
1return _templateObject13=function(){return e},e}function _templateObject12(){var e=_taggedTemplateLiteral([":@@ngb.pagination.first\u241f656506dfd46380956a655f919f1498d018f75ca0\u241f6867721956102594380:\xab\xab"]);return _templateObject12=function(){return e},e}function _templateObject11(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-year\u241f8ceb09d002bf0c5d1cac171dfbffe1805d2b3962\u241f8852264961585484321:Select year"]);return _templateObject11=function(){return e},e}function _templateObject10(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-year\u241f8ceb09d002bf0c5d1cac171dfbffe1805d2b3962\u241f8852264961585484321:Select year"]);return _templateObject10=function(){return e},e}function _templateObject9(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-month\u241f1dbc84807f35518112f62e5775d1daebd3d8462b\u241f2253869508135064750:Select month"]);return _templateObject9=function(){return e},e}function _templateObject8(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-month\u241f1dbc84807f35518112f62e5775d1daebd3d8462b\u241f2253869508135064750:Select month"]);return _templateObject8=function(){return e},e}function _templateObject7(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.next-month\u241f4bd046985cfe13040d5ef0cd881edce0968a111a\u241f3628374603023447227:Next month"]);return _templateObject7=function(){return e},e}function _templateObject6(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.next-month\u241f4bd046985cfe13040d5ef0cd881edce0968a111a\u241f3628374603023447227:Next month"]);return _templateObject6=function(){return e},e}function _templateObject5(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.previous-month\u241fc3b08b07b5ab98e7cdcf18df39355690ab7d3884\u241f8586908745456864217:Previous month"]);return _templateObject5=function(){return e},e}function _templateObject4(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.previous-month\u241fc3b08b07b5ab98e7cdcf18df39355690ab7d3884\u241f8586908745456864217:Previous month"]);return _templateObject4=function(){return e},e}function _templateObject3(){var e=_taggedTemplateLiteral([":@@ngb.carousel.next\u241ff732c304c7433e5a83ffcd862c3dce709a0f4982\u241f3885497195825665706:Next"]);return _templateObject3=function(){return e},e}function _templateObject2(){var e=_taggedTemplateLiteral([":@@ngb.carousel.previous\u241f680d5c75b7fd8d37961083608b9fcdc4167b4c43\u241f4452427314943113135:Previous"]);return _templateObject2=function(){return e},e}function _templateObject(){var e=_taggedTemplateLiteral([":@@ngb.alert.close\u241ff4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8\u241f7819314041543176992:Close"]);return _templateObject=function(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _toConsumableArray2(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function _get(e,t,n){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=_superPropBase(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}})(e,t,n||e)}function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var n,i=_getPrototypeOf(e);if(t){var r=_getPrototypeOf(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _possibleConstructorReturn(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?_assertThisInitialized(e):t}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+EKe":function(e,t,n){"use strict";var i=n("23KU"),r=n("uE2L");t.a=function(e,t,n,a){var o=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var l=t[s],u=a?a(n[l],e[l],l,n,e):void 0;void 0===u&&(u=e[l]),o?Object(r.a)(n,l,u):Object(i.a)(n,l,u)}return n}},"+Xah":function(e,t,n){"use strict";t.a=function(e){return e}},"/1FC":function(e,t,n){"use strict";t.a=Array.isArray},"/ACT":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL"),r=function(){var e=function(){function e(t){_classCallCheck(this,e),this.elementRef=t,this.isDirectiveInit=!1,this.embeddedElementRect=null,this.pIsAbsolute=!1,this.pScale=!1}return _createClass(e,[{key:"ngDoCheck",value:function(){this.isDirectiveInit||null===this.embeddedElementRect||(this.embeddedElementRect.height>0&&this.embeddedElementRect.width>this.embeddedElementRect.height&&(this.pIsAbsolute=!0,this.pScale=this.embeddedElementRect.height/this.embeddedElementRect.width*100),this.isDirectiveInit=!0)}},{key:"ngAfterViewInit",value:function(){var e=this.elementRef.nativeElement.querySelector("iframe,object,embed,video");null!==e&&"function"==typeof e.getBoundingClientRect&&(this.embeddedElementRect=e.getBoundingClientRect())}},{key:"isAbsolute",get:function(){return this.pIsAbsolute}},{key:"scale",get:function(){return!1!==this.pScale&&this.pScale}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["","appFitToContainer",""]],hostVars:4,hostBindings:function(e,t){2&e&&(i.wd("padding-top",t.scale,"%"),i.pc("absolute-100",t.isAbsolute))}}),e}()},"/uUt":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){return function(n){return n.lift(new a(e,t))}}var a=function(){function e(t,n){_classCallCheck(this,e),this.compare=t,this.keySelector=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new o(e,this.compare,this.keySelector))}}]),e}(),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).keySelector=r,a.hasKey=!1,"function"==typeof i&&(a.compare=i),a}
1return _createClass(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(r){return this.destination.error(r)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}]),n}(i.a)},0:function(e,t,n){e.exports=n("zUnb")},"0EUg":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("bHdf");function r(){return Object(i.a)(1)}},"0st4":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var i=n("fXoL"),r=n("ofXK"),a=n("6NWb"),o=n("iQdX");function s(e,t){if(1&e&&(i.Ec(0,"div",6),i.zc(1,"fa-icon",7),i.Dc()),2&e){var n=i.Uc(2),r=i.kd(1);i.jc(1),i.bd("icon",n.icon||r.icon)("fixedWidth",!0)}}function c(e,t){if(1&e&&(i.Ec(0,"div",8),i.zd(1),i.Dc()),2&e){var n=i.Uc(2),r=i.kd(1);i.jc(1),i.Bd(" ",n.text||r.text," ")}}function l(e,t){if(1&e&&(i.Ec(0,"div",3),i.xd(1,s,2,2,"div",4),i.xd(2,c,2,1,"div",5),i.Dc()),2&e){var n=i.Uc(),r=i.kd(1);i.jc(1),i.bd("ngIf",n.showIcon&&r.icon),i.jc(1),i.bd("ngIf",n.showText)}}var u=function(){var e=function(){function e(t){_classCallCheck(this,e),this._share=t,this.showIcon=!0,this.showText=!1,this.size=this._share.config.size,this.theme=this._share.config.theme,this.opened=new i.s,this.closed=new i.s}return _createClass(e,[{key:"buttonClass",get:function(){return"sb-button sb-"+this.theme}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(o.e))},e.\u0275cmp=i.sc({type:e,selectors:[["share-button"]],hostVars:2,hostBindings:function(e,t){2&e&&i.lc(t.buttonClass)},inputs:{showIcon:"showIcon",showText:"showText",size:"size",theme:"theme",button:"button",url:"url",title:"title",description:"description",image:"image",tags:"tags",autoSetMeta:"autoSetMeta",text:"text",icon:"icon",disabled:"disabled"},outputs:{opened:"opened",closed:"closed"},decls:3,vars:15,consts:[["type","button",1,"sb-wrapper",3,"shareButton","url","image","title","description","tags","autoSetMeta","disabled","opened","closed"],["btn","shareButton"],["class","sb-content",4,"ngIf"],[1,"sb-content"],["class","sb-icon",4,"ngIf"],["class","sb-text",4,"ngIf"],[1,"sb-icon"],[3,"icon","fixedWidth"],[1,"sb-text"]],template:function(e,t){if(1&e&&(i.Ec(0,"button",0,1),i.Qc("opened",(function(e){return t.opened.emit(e)}))("closed",(function(e){return t.closed.emit(e)})),i.xd(2,l,3,2,"div",2),i.Dc()),2&e){var n=i.kd(1);i.wd("font-size",14*(1+t.size/20),"px"),i.pc("sb-show-icon",t.showIcon)("sb-show-text",t.showText),i.bd("shareButton",t.button)("url",t.url)("image",t.image)("title",t.title)("description",t.description)("tags",t.tags)("autoSetMeta",t.autoSetMeta)("disabled",t.disabled),i.jc(2),i.bd("ngIf",n)}},directives:[o.c,r.u,a.b],styles:["[_nghost-%COMP%]{--sb-margin:0.3125em}"],changeDetection:0}),e}(),d=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:o.b,useValue:t}]}}}]),e}();return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[o.d,a.i,r.c],o.d,a.i]}),e}()},"11ml":function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var i=n("3Pt+"),r=n("IzEk"),a=n("GJzE"),o=n("fXoL"),s=n("1kSV"),c=n("sYmb"),l=n("ofXK"),u=n("jCJ1");function d(e,t){1&e&&(o.Ec(0,"div",9),o.zd(1," we-sent-you-email-to-reset-password "),o.Dc())}function h(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){var n=o.Uc(3);o.jc(1),o.Bd(" ",n.renderAttributeError("form-attribute-email","required")," ")}}function f(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){var n=o.Uc(3);o.jc(1),o.Bd(" ",n.renderAttributeError("form-attribute-email","email")," ")}}function p(e,t){if(1&e&&(o.Ec(0,"div",21),o.xd(1,h,2,1,"div",6),o.xd(2,f,2,1,"div",6),o.Dc()),2&e){var n=o.Uc(2);o.jc(1),o.bd("ngIf",n.modalForm.controls.userEmail.errors.required),o.jc(1),o.bd("ngIf",n.modalForm.controls.userEmail.errors.email)}}function g(e,t){if(1&e&&(o.Ec(0,"div",22),o.zd(1),o.Dc()),2&e){var n=o.Uc(2);o.jc(1),o.Bd(" ",n.formErrorMessage," ")}}function v(e,t){1&e&&o.zc(0,"span",23)}function m(e,t){1&e&&(o.Ec(0,"span",24),o.zd(1,"modal-reset-password-submit-label"),o.Dc())}function b(e,t){if(1&e){var n=o.Fc();o.Cc(0),o.Ec(1,"div",10),o.zd(2,"reset-password-message"),o.Dc(),o.Ec(3,"form",11),o.Qc("ngSubmit",(function(){return o.nd(n),o.Uc().onFormSubmit()})),o.Ec(4,"div",12),o.zc(5,"input",13),o.Vc(6,"translate"),o.xd(7,p,3,2,"div",14),o.Dc(),o.xd(8,g,2,1,"div",15),o.Ec(9,"div",16),o.zc(10,"re-captcha",17),o.Dc(),o.Ec(11,"button",18),o.xd(12,v,1,0,"span",19),o.xd(13,m,2,0,"span",20),o.Dc(),o.Dc(),o.Bc()}if(2&e){var i=o.Uc();o.jc(3),o.bd("formGroup",i.modalForm),o.jc(2),o.cd("placeholder",o.Wc(6,7,"form-attribute-email-prompt")),o.jc(2),o.bd("ngIf",i.isFormControlHasErrors("userEmail")),o.jc(1),o.bd("ngIf",i.formErrorMessage),o.jc(3),o.bd("disabled",!i.modalForm.valid),o.jc(1),o.bd("ngIf",i.isFormLoading),o.jc(1),o.bd("ngIf",!i.isFormLoading)}}var y=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this,e,i,r,a,o)).modal=e,s.authModalsService=i,s.translateService=r,s.formBuilder=a,s.authService=o,s.isFormLoading=!1,s.formErrorMessage="",s.isResetPasswordSuccessful=!1,s}return _createClass(n,[{key:"onFormSubmit",value:function(){var e=this;
1if(!this.modalForm.invalid){this.formErrorMessage="",this.isFormLoading=!0,this.isResetPasswordSuccessful=!1;var t=this.modalForm.value,n=t.userEmail,i=t.reCaptcha;this.authService.resetPassword(n,i).pipe(Object(r.a)(1)).subscribe({next:function(){e.isResetPasswordSuccessful=!0,e.isFormLoading=!1},error:function(t){e.formErrorMessage=t.join(", "),e.modalForm.get("userEmail").setErrors({incorrect:!0}),e.isFormLoading=!1}})}}},{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this)}},{key:"buildModalForm",value:function(){return this.formBuilder.group({userEmail:["",[i.D.required,i.D.email]],reCaptcha:[null,[i.D.required]]})}}]),n}(a.m);return e.\u0275fac=function(t){return new(t||e)(o.yc(s.b),o.yc(a.e),o.yc(c.e),o.yc(i.f),o.yc(a.f))},e.\u0275cmp=o.sc({type:e,selectors:[["app-reset-password-modal"]],features:[o.gc],decls:13,vars:2,consts:[[1,"modal-header"],["translate","",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],["class","text-green h4","translate","",4,"ngIf"],[4,"ngIf"],[1,"text-center"],["type","button","translate","",1,"btn","btn--sm","btn--link",3,"click"],["translate","",1,"text-green","h4"],["translate","",1,"text-center","mb-3"],[3,"formGroup","ngSubmit"],[1,"form-group"],["type","text","formControlName","userEmail",1,"form-control",3,"placeholder"],["class","error-hint",4,"ngIf"],["class","error-hint text-center mb-3",4,"ngIf"],[2,"transform","scale(0.8)","transform-origin","0"],["formControlName","reCaptcha"],["type","submit",1,"btn","btn--primary","btn--block",3,"disabled"],["class","btn__loader",4,"ngIf"],["translate","",4,"ngIf"],[1,"error-hint"],[1,"error-hint","text-center","mb-3"],[1,"btn__loader"],["translate",""]],template:function(e,t){1&e&&(o.Ec(0,"div",0),o.Ec(1,"h4",1),o.zd(2,"reset-password-label"),o.Dc(),o.Ec(3,"button",2),o.Qc("click",(function(){return t.modal.dismiss("Cross click")})),o.Ec(4,"span",3),o.zd(5,"\xd7"),o.Dc(),o.Dc(),o.Dc(),o.Ec(6,"div",4),o.xd(7,d,2,0,"div",5),o.xd(8,b,14,9,"ng-container",6),o.zc(9,"hr"),o.Ec(10,"div",7),o.Ec(11,"button",8),o.Qc("click",(function(){return t.authModalsService.openSignInModal()})),o.zd(12," modal-reset-password-cancel-label "),o.Dc(),o.Dc(),o.Dc()),2&e&&(o.jc(7),o.bd("ngIf",t.isResetPasswordSuccessful),o.jc(1),o.bd("ngIf",!t.isResetPasswordSuccessful))},directives:[c.b,l.u,i.F,i.q,i.i,i.c,i.p,i.h,u.c,u.g],pipes:[c.d],styles:[".modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{background-color:transparent;border:0;font-size:24px}.form-group[_ngcontent-%COMP%]{position:relative;margin-bottom:16px}.form-control[_ngcontent-%COMP%]{width:100%;height:40px;line-height:40px;padding:0 10px;border:1px solid rgba(50,50,50,.15);border-radius:3px;font-size:16px;transition:all .3s ease-out}.form-control[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(50,50,50,.35)}.form-control[_ngcontent-%COMP%]::placeholder{color:rgba(50,50,50,.35)}.form-control[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--green-primary)}.form-control.ng-invalid.ng-touched[_ngcontent-%COMP%]{border-color:#e74c3c}.error-hint[_ngcontent-%COMP%]{margin-top:4px;font-size:12px;color:#e74c3c}.auth-block[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-around}.auth-block[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 1 135px}"]}),e}()},"13ou":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("fXoL"),r=n("DKs6"),a=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.viewContainerRef=t,this.templateRef=n,this.deviceState=i}return _createClass(e,[{key:"ngOnInit",value:function(){this.deviceState.isBrowserApp?this.viewContainerRef.createEmbeddedView(this.templateRef):this.viewContainerRef.clear()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U),i.yc(r.a))},e.\u0275dir=i.tc({type:e,selectors:[["","appOnlyInBrowser",""]]}),e}()},"1G5W":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("l7GE"),r=n("ZUHj");function a(e){return function(t){return t.lift(new o(e))}}var o=function(){function e(t){_classCallCheck(this,e),this.notifier=t}return _createClass(e,[{key:"call",value:function(e,t){var n=new s(e),i=Object(r.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}]),e}(),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e)).seenValue=!1,i}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,i,r){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(i.a)},"1kSV":function(e,t,n){"use strict";n.d(t,"a",(function(){return qn})),n.d(t,"b",(function(){return va})),n.d(t,"c",(function(){return Xn})),n.d(t,"d",(function(){return Yn})),n.d(t,"e",(function(){return si}
1)),n.d(t,"f",(function(){return Kn})),n.d(t,"g",(function(){return di})),n.d(t,"h",(function(){return Wi})),n.d(t,"i",(function(){return $i})),n.d(t,"j",(function(){return Zi})),n.d(t,"k",(function(){return ca})),n.d(t,"l",(function(){return oa})),n.d(t,"m",(function(){return ra})),n.d(t,"n",(function(){return aa})),n.d(t,"o",(function(){return la})),n.d(t,"p",(function(){return sa})),n.d(t,"q",(function(){return us})),n.d(t,"r",(function(){return Kr})),n.d(t,"s",(function(){return _a})),n.d(t,"t",(function(){return Ss})),n.d(t,"u",(function(){return Ea})),n.d(t,"v",(function(){return Sa})),n.d(t,"w",(function(){return Pa})),n.d(t,"x",(function(){return Ma})),n.d(t,"y",(function(){return Ia})),n.d(t,"z",(function(){return ia})),n.d(t,"A",(function(){return Fa})),n.d(t,"B",(function(){return Aa})),n.d(t,"C",(function(){return Ta})),n.d(t,"D",(function(){return za})),n.d(t,"E",(function(){return La})),n.d(t,"F",(function(){return Na})),n.d(t,"G",(function(){return Ra})),n.d(t,"H",(function(){return Bn})),n.d(t,"I",(function(){return Hn})),n.d(t,"J",(function(){return Vn})),n.d(t,"K",(function(){return Un})),n.d(t,"L",(function(){return $n})),n.d(t,"M",(function(){return ho})),n.d(t,"N",(function(){return fo})),n.d(t,"O",(function(){return go})),n.d(t,"P",(function(){return ni})),n.d(t,"Q",(function(){return ti})),n.d(t,"R",(function(){return yo})),n.d(t,"S",(function(){return oi})),n.d(t,"T",(function(){return Oo})),n.d(t,"U",(function(){return xo})),n.d(t,"V",(function(){return ko})),n.d(t,"W",(function(){return So})),n.d(t,"X",(function(){return Jo})),n.d(t,"Y",(function(){return is})),n.d(t,"Z",(function(){return ns})),n.d(t,"ab",(function(){return cs})),n.d(t,"bb",(function(){return ks}));var i=n("fXoL"),r=n("ofXK"),a=n("3Pt+"),o=n("XNiG"),s=n("2Vo4"),c=n("itXk"),l=n("PqYM"),u=n("5yfJ"),d=n("xgIS"),h=n("VRyK"),f=n("DH7j"),p=n("yCtX"),g=n("l7GE"),v=n("ZUHj"),m=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new b(e))}}]),e}(),b=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e)).hasFirst=!1,i.observables=[],i.subscriptions=[],i}return _createClass(n,[{key:"_next",value:function(e){this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(var n=0;n<t&&!this.hasFirst;n++){var i=e[n],r=Object(v.a)(this,i,i,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}}},{key:"notifyNext",value:function(e,t,n,i,r){if(!this.hasFirst){this.hasFirst=!0;for(var a=0;a<this.subscriptions.length;a++)if(a!==n){var o=this.subscriptions[a];o.unsubscribe(),this.remove(o)}this.subscriptions=null}this.destination.next(t)}}]),n}(g.a),y=n("HDdC"),C=n("lJxs"),_=n("JX91"),w=n("/uUt"),k=n("eIep"),x=n("1G5W"),O=n("pLZG"),S=n("IzEk"),P=n("vkgz");function E(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){var n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new M(t,n))}}var M=function(){function e(t,n){_classCallCheck(this,e),this.observables=t,this.project=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new I(e,this.observables,this.project))}}]),e}(),I=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;_classCallCheck(this,n),(a=t.call(this,e)).observables=i,a.project=r,a.toRespond=[];var o=i.length;a.values=new Array(o);for(var s=0;s<o;s++)a.toRespond.push(s);for(var c=0;c<o;c++){var l=i[c];a.add(Object(v.a)(_assertThisInitialized(a),l,l,c))}return a}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,i,r){this.values[n]=t;var a=this.toRespond;if(a.length>0){var o=a.indexOf(n);-1!==o&&a.splice(o,1)}}},{key:"notifyComplete",value:function(){}},{key:"_next",value:function(e){if(0===this.toRespond.length){var t=[e].concat(_toConsumableArray2(this.values));this.project?this._tryProject(t):this.destination.next(t)}}},{key:"_tryProject",value:function(e){var t;try{t=this.project.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(g.a),D=n("3E0/"),j=n("w1tV");function A(e,t){}function T(e,t){if(1&e&&(i.Ec(0,"button",3),i.zd(1),i.xd(2,A,0,0,"ng-template",4),i.Dc()),2&e){var n=t.$implicit;i.bd("ngbPanelToggle",n),i.jc(1),i.Bd(" ",n.title,""),i.jc(1),i.bd("ngTemplateOutlet",null==n.titleTpl?null:n.titleTpl.templateRef)}}function z(e,t){}function L(e,t){}function N(e,t){if(1&e&&(i.Ec(0,"div",8),i.Ec(1,"div",9),i.xd(2,L,0,0,"ng-template",4),i.Dc(),i.Dc()),2&e){var n=i.Uc().$implicit;i.pc("show",n.isOpen),i.cd("id",n.id),i.kc("aria-labelledby",n.id+"-header"),i.jc(2),i.bd("ngTemplateOutlet",(null==n.contentTpl?null:n.contentTpl.templateRef)||null)}}var R=function(e,t){return{$implicit:e,opened:t}};function F(e,t){if(1&e&&(i.Ec(0,"div"),i.Ec(1,"div",5),i.xd(2,z,0,0,"ng-template",6),i.Dc(),i.xd(3,N,3,5,"div",7),i.Dc()),2&e){var n=t.$implicit,r=i.Uc(),a=i.kd(1);i.lc("card "+(n.cardClass||"")),i.jc(1),i.lc("card-header "+(n.type?"bg-"+n.type:r.type?"bg-"+r.type:"")),i.dd("id","",n.id,"-header"),i.jc(1),i.bd("ngTemplateOutlet",(null==n.headerTpl?null:n.headerTpl.templateRef)||a)("ngTemplateOutletContext",i.gd(8,R,n,n.isOpen)),i.jc(1),i.bd("ngIf",!r.destroyOnHide||n.isOpen)}}
1var V=["aria-label",$localize(_templateObject())];function U(e,t){if(1&e){var n=i.Fc();i.Ec(0,"button",1),i.Kc(1,V),i.Qc("click",(function(){return i.nd(n),i.Uc().closeHandler()})),i.Ec(2,"span",2),i.zd(3,"\xd7"),i.Dc(),i.Dc()}}var H,B,q=["*"];function $(e,t){if(1&e){var n=i.Fc();i.Ec(0,"li",7),i.Qc("click",(function(){i.nd(n);var e=t.$implicit,r=i.Uc(2);return r.select(e.id,r.NgbSlideEventSource.INDICATOR)})),i.Dc()}if(2&e){var r=t.$implicit,a=i.Uc(2);i.pc("active",r.id===a.activeId),i.bd("id",r.id)}}function W(e,t){if(1&e&&(i.Ec(0,"ol",5),i.xd(1,$,1,3,"li",6),i.Dc()),2&e){var n=i.Uc();i.jc(1),i.bd("ngForOf",n.slides)}}function G(e,t){}function X(e,t){if(1&e&&(i.Ec(0,"div",8),i.xd(1,G,0,0,"ng-template",9),i.Dc()),2&e){var n=t.$implicit,r=i.Uc();i.pc("active",n.id===r.activeId),i.jc(1),i.bd("ngTemplateOutlet",n.tplRef)}}function Z(e,t){if(1&e){var n=i.Fc();i.Ec(0,"a",10),i.Qc("click",(function(){i.nd(n);var e=i.Uc();return e.prev(e.NgbSlideEventSource.ARROW_LEFT)})),i.zc(1,"span",11),i.Ec(2,"span",12),i.Ic(3,H),i.Dc(),i.Dc()}}function Y(e,t){if(1&e){var n=i.Fc();i.Ec(0,"a",13),i.Qc("click",(function(){i.nd(n);var e=i.Uc();return e.next(e.NgbSlideEventSource.ARROW_RIGHT)})),i.zc(1,"span",14),i.Ec(2,"span",12),i.Ic(3,B),i.Dc(),i.Dc()}}H=$localize(_templateObject2()),B=$localize(_templateObject3());var Q=["defaultDayTemplate"],K=["content"];function J(e,t){if(1&e&&i.zc(0,"div",7),2&e){var n=t.currentMonth,r=t.selected,a=t.disabled,o=t.focused;i.bd("date",t.date)("currentMonth",n)("selected",r)("disabled",a)("focused",o)}}function ee(e,t){if(1&e&&(i.Ec(0,"div",12),i.zd(1),i.Dc()),2&e){var n=i.Uc().$implicit,r=i.Uc(2);i.jc(1),i.Cd(" ",r.i18n.getMonthFullName(n.number,n.year)," ",r.i18n.getYearNumerals(n.year)," ")}}function te(e,t){if(1&e&&(i.Ec(0,"div",9),i.xd(1,ee,2,2,"div",10),i.zc(2,"ngb-datepicker-month",11),i.Dc()),2&e){var n=t.$implicit,r=i.Uc(2);i.jc(1),i.bd("ngIf","none"===r.navigation||r.displayMonths>1&&"select"===r.navigation),i.jc(1),i.bd("month",n.firstDate)}}function ne(e,t){if(1&e&&i.xd(0,te,3,2,"div",8),2&e){var n=i.Uc();i.bd("ngForOf",n.model.months)}}function ie(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngb-datepicker-navigation",13),i.Qc("navigate",(function(e){return i.nd(n),i.Uc().onNavigateEvent(e)}))("select",(function(e){return i.nd(n),i.Uc().onNavigateDateSelect(e)})),i.Dc()}if(2&e){var r=i.Uc();i.bd("date",r.model.firstDate)("months",r.model.months)("disabled",r.model.disabled)("showSelect","select"===r.model.navigation)("prevDisabled",r.model.prevDisabled)("nextDisabled",r.model.nextDisabled)("selectBoxes",r.model.selectBoxes)}}function re(e,t){}function ae(e,t){}function oe(e,t){1&e&&i.zc(0,"div",5)}function se(e,t){if(1&e&&(i.Ec(0,"div",6),i.zd(1),i.Dc()),2&e){var n=t.$implicit,r=i.Uc(2);i.jc(1),i.Bd(" ",r.i18n.getWeekdayShortName(n)," ")}}function ce(e,t){if(1&e&&(i.Ec(0,"div",2),i.xd(1,oe,1,0,"div",3),i.xd(2,se,2,1,"div",4),i.Dc()),2&e){var n=i.Uc();i.jc(1),i.bd("ngIf",n.datepicker.showWeekNumbers),i.jc(1),i.bd("ngForOf",n.viewModel.weekdays)}}function le(e,t){if(1&e&&(i.Ec(0,"div",11),i.zd(1),i.Dc()),2&e){var n=i.Uc(2).$implicit,r=i.Uc();i.jc(1),i.Ad(r.i18n.getWeekNumerals(n.number))}}function ue(e,t){}function de(e,t){if(1&e&&i.xd(0,ue,0,0,"ng-template",14),2&e){var n=i.Uc().$implicit,r=i.Uc(3);i.bd("ngTemplateOutlet",r.datepicker.dayTemplate)("ngTemplateOutletContext",n.context)}}function he(e,t){if(1&e){var n=i.Fc();i.Ec(0,"div",12),i.Qc("click",(function(e){i.nd(n);var r=t.$implicit;return i.Uc(3).doSelect(r),e.preventDefault()})),i.xd(1,de,1,2,"ng-template",13),i.Dc()}if(2&e){var r=t.$implicit;i.pc("disabled",r.context.disabled)("hidden",r.hidden)("ngb-dp-today",r.context.today),i.bd("tabindex",r.tabindex),i.kc("aria-label",r.ariaLabel),i.jc(1),i.bd("ngIf",!r.hidden)}}function fe(e,t){if(1&e&&(i.Ec(0,"div",8),i.xd(1,le,2,1,"div",9),i.xd(2,he,2,9,"div",10),i.Dc()),2&e){var n=i.Uc().$implicit,r=i.Uc();i.jc(1),i.bd("ngIf",r.datepicker.showWeekNumbers),i.jc(1),i.bd("ngForOf",n.days)}}function pe(e,t){1&e&&i.xd(0,fe,3,2,"div",7),2&e&&i.bd("ngIf",!t.$implicit.collapsed)}
1var ge=["aria-label",$localize(_templateObject4()),"title",$localize(_templateObject5())],ve=["aria-label",$localize(_templateObject6()),"title",$localize(_templateObject7())];function me(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngb-datepicker-navigation-select",6),i.Qc("select",(function(e){return i.nd(n),i.Uc().select.emit(e)})),i.Dc()}if(2&e){var r=i.Uc();i.bd("date",r.date)("disabled",r.disabled)("months",r.selectBoxes.months)("years",r.selectBoxes.years)}}function be(e,t){1&e&&i.zc(0,"div",0)}function ye(e,t){1&e&&i.zc(0,"div",0)}function Ce(e,t){if(1&e&&(i.xd(0,be,1,0,"div",8),i.Ec(1,"div",9),i.zd(2),i.Dc(),i.xd(3,ye,1,0,"div",8)),2&e){var n=t.$implicit,r=t.index,a=i.Uc(2);i.bd("ngIf",r>0),i.jc(2),i.Cd(" ",a.i18n.getMonthFullName(n.number,n.year)," ",a.i18n.getYearNumerals(n.year)," "),i.jc(1),i.bd("ngIf",r!==a.months.length-1)}}function _e(e,t){if(1&e&&i.xd(0,Ce,4,4,"ng-template",7),2&e){var n=i.Uc();i.bd("ngForOf",n.months)}}var we=["ngbDatepickerDayView",""],ke=["month"],xe=["year"],Oe=["aria-label",$localize(_templateObject8()),"title",$localize(_templateObject9())],Se=["aria-label",$localize(_templateObject10()),"title",$localize(_templateObject11())];function Pe(e,t){if(1&e&&(i.Ec(0,"option",4),i.zd(1),i.Dc()),2&e){var n=t.$implicit,r=i.Uc();i.bd("value",n),i.kc("aria-label",r.i18n.getMonthFullName(n,null==r.date?null:r.date.year)),i.jc(1),i.Ad(r.i18n.getMonthShortName(n,null==r.date?null:r.date.year))}}function Ee(e,t){if(1&e&&(i.Ec(0,"option",4),i.zd(1),i.Dc()),2&e){var n=t.$implicit,r=i.Uc();i.bd("value",n),i.jc(1),i.Ad(r.i18n.getYearNumerals(n))}}var Me=["dialog"],Ie=["ngbNavOutlet",""];function De(e,t){}var je,Ae,Te,ze,Le=function(e){return{$implicit:e}};function Ne(e,t){if(1&e&&(i.Ec(0,"div",2),i.xd(1,De,0,0,"ng-template",3),i.Dc()),2&e){var n=i.Uc().$implicit,r=i.Uc();i.pc("active",n.active),i.bd("id",n.panelDomId),i.kc("role",r.paneRole?r.paneRole:r.nav.roles?"tabpanel":void 0)("aria-labelledby",n.domId),i.jc(1),i.bd("ngTemplateOutlet",(null==n.contentTpl?null:n.contentTpl.templateRef)||null)("ngTemplateOutletContext",i.fd(7,Le,n.active))}}function Re(e,t){1&e&&i.xd(0,Ne,2,9,"div",1),2&e&&i.bd("ngIf",t.$implicit.isPanelInDom())}function Fe(e,t){1&e&&(i.Ec(0,"span",8),i.Ic(1,je),i.Dc())}function Ve(e,t){1&e&&(i.Ec(0,"span",8),i.Ic(1,Ae),i.Dc())}function Ue(e,t){1&e&&(i.Ec(0,"span",8),i.Ic(1,Te),i.Dc())}function He(e,t){1&e&&(i.Ec(0,"span",8),i.Ic(1,ze),i.Dc())}function Be(e,t){1&e&&i.zd(0,"...")}function qe(e,t){1&e&&(i.Ec(0,"span",10),i.zd(1,"(current)"),i.Dc())}function $e(e,t){if(1&e&&(i.zd(0),i.xd(1,qe,2,0,"span",9)),2&e){var n=t.$implicit,r=t.currentPage;i.Bd(" ",n," "),i.jc(1),i.bd("ngIf",n===r)}}je=$localize(_templateObject12()),Ae=$localize(_templateObject13()),Te=$localize(_templateObject14()),ze=$localize(_templateObject15());var We=["aria-label",$localize(_templateObject16())];function Ge(e,t){}var Xe=function(e,t){return{disabled:e,currentPage:t}};function Ze(e,t){if(1&e){var n=i.Fc();i.Ec(0,"li",11),i.Ec(1,"a",12),i.Kc(2,We),i.Qc("click",(function(e){return i.nd(n),i.Uc().selectPage(1),e.preventDefault()})),i.xd(3,Ge,0,0,"ng-template",13),i.Dc(),i.Dc()}if(2&e){var r=i.Uc(),a=i.kd(1);i.pc("disabled",r.previousDisabled()),i.jc(1),i.kc("tabindex",r.previousDisabled()?"-1":null)("aria-disabled",r.previousDisabled()?"true":null),i.jc(2),i.bd("ngTemplateOutlet",(null==r.tplFirst?null:r.tplFirst.templateRef)||a)("ngTemplateOutletContext",i.gd(6,Xe,r.previousDisabled(),r.page))}}var Ye=["aria-label",$localize(_templateObject17())];function Qe(e,t){}var Ke=function(e){return{disabled:e}};function Je(e,t){if(1&e){var n=i.Fc();i.Ec(0,"li",11),i.Ec(1,"a",12),i.Kc(2,Ye),i.Qc("click",(function(e){i.nd(n);var t=i.Uc();return t.selectPage(t.page-1),e.preventDefault()})),i.xd(3,Qe,0,0,"ng-template",13),i.Dc(),i.Dc()}if(2&e){var r=i.Uc(),a=i.kd(3);i.pc("disabled",r.previousDisabled()),i.jc(1),i.kc("tabindex",r.previousDisabled()?"-1":null)("aria-disabled",r.previousDisabled()?"true":null),i.jc(2),i.bd("ngTemplateOutlet",(null==r.tplPrevious?null:r.tplPrevious.templateRef)||a)("ngTemplateOutletContext",i.fd(6,Ke,r.previousDisabled()))}}function et(e,t){}var tt=function(e){return{disabled:!0,currentPage:e}};function nt(e,t){if(1&e&&(i.Ec(0,"a",16),i.xd(1,et,0,0,"ng-template",13),i.Dc()),2&e){var n=i.Uc(2),r=i.kd(9);i.jc(1),i.bd("ngTemplateOutlet",(null==n.tplEllipsis?null:n.tplEllipsis.templateRef)||r)("ngTemplateOutletContext",i.fd(2,tt,n.page))}}function it(e,t){}var rt=function(e,t,n){return{disabled:e,$implicit:t,currentPage:n}};function at(e,t){if(1&e){var n=i.Fc();i.Ec(0,"a",17),i.Qc("click",(function(e){i.nd(n);var t=i.Uc().$implicit;return i.Uc().selectPage(t),e.preventDefault()})),i.xd(1,it,0,0,"ng-template",13),i.Dc()}if(2&e){var r=i.Uc().$implicit,a=i.Uc(),o=i.kd(11);i.kc("tabindex",a.disabled?"-1":null)("aria-disabled",a.disabled?"true":null),i.jc(1),i.bd("ngTemplateOutlet",(null==a.tplNumber?null:a.tplNumber.templateRef)||o)("ngTemplateOutletContext",i.hd(4,rt,a.disabled,r,a.page))}}function ot(e,t){if(1&e&&(i.Ec(0,"li",11),i.xd(1,nt,2,4,"a",14),i.xd(2,at,2,8,"a",15),i.Dc()),2&e){var n=t.$implicit,r=i.Uc();i.pc("active",n===r.page)("disabled",r.isEllipsis(n)||r.disabled),i.kc("aria-current",n===r.page?"page":null),i.jc(1),i.bd("ngIf",r.isEllipsis(n)),i.jc(1),i.bd("ngIf",!r.isEllipsis(n))}}
1var st=["aria-label",$localize(_templateObject18())];function ct(e,t){}function lt(e,t){if(1&e){var n=i.Fc();i.Ec(0,"li",11),i.Ec(1,"a",12),i.Kc(2,st),i.Qc("click",(function(e){i.nd(n);var t=i.Uc();return t.selectPage(t.page+1),e.preventDefault()})),i.xd(3,ct,0,0,"ng-template",13),i.Dc(),i.Dc()}if(2&e){var r=i.Uc(),a=i.kd(5);i.pc("disabled",r.nextDisabled()),i.jc(1),i.kc("tabindex",r.nextDisabled()?"-1":null)("aria-disabled",r.nextDisabled()?"true":null),i.jc(2),i.bd("ngTemplateOutlet",(null==r.tplNext?null:r.tplNext.templateRef)||a)("ngTemplateOutletContext",i.gd(6,Xe,r.nextDisabled(),r.page))}}var ut,dt=["aria-label",$localize(_templateObject19())];function ht(e,t){}function ft(e,t){if(1&e){var n=i.Fc();i.Ec(0,"li",11),i.Ec(1,"a",12),i.Kc(2,dt),i.Qc("click",(function(e){i.nd(n);var t=i.Uc();return t.selectPage(t.pageCount),e.preventDefault()})),i.xd(3,ht,0,0,"ng-template",13),i.Dc(),i.Dc()}if(2&e){var r=i.Uc(),a=i.kd(7);i.pc("disabled",r.nextDisabled()),i.jc(1),i.kc("tabindex",r.nextDisabled()?"-1":null)("aria-disabled",r.nextDisabled()?"true":null),i.jc(2),i.bd("ngTemplateOutlet",(null==r.tplLast?null:r.tplLast.templateRef)||a)("ngTemplateOutletContext",i.gd(6,Xe,r.nextDisabled(),r.page))}}function pt(e,t){if(1&e&&i.zd(0),2&e){var n=i.Uc(2);i.Ad(n.title)}}function gt(e,t){}function vt(e,t){if(1&e&&(i.Ec(0,"h3",3),i.xd(1,pt,1,1,"ng-template",null,4,i.yd),i.xd(3,gt,0,0,"ng-template",5),i.Dc()),2&e){var n=i.kd(2),r=i.Uc();i.jc(3),i.bd("ngTemplateOutlet",r.isTitleTemplate()?r.title:n)("ngTemplateOutletContext",r.context)}}function mt(e,t){if(1&e&&(i.Ec(0,"span"),i.Ic(1,ut),i.Vc(2,"percent"),i.Dc()),2&e){var n=i.Uc();i.jc(2),i.Lc(i.Wc(2,1,n.getValue()/n.max)),i.Jc(1)}}function bt(e,t){1&e&&i.zd(0),2&e&&i.Ad(100===t.fill?"\u2605":"\u2606")}function yt(e,t){}function Ct(e,t){if(1&e){var n=i.Fc();i.Ec(0,"span",2),i.zd(1),i.Dc(),i.Ec(2,"span",3),i.Qc("mouseenter",(function(){i.nd(n);var e=t.index;return i.Uc().enter(e+1)}))("click",(function(){i.nd(n);var e=t.index;return i.Uc().handleClick(e+1)})),i.xd(3,yt,0,0,"ng-template",4),i.Dc()}if(2&e){var r=t.index,a=i.Uc(),o=i.kd(1);i.jc(1),i.Bd("(",r<a.nextRate?"*":" ",")"),i.jc(1),i.wd("cursor",a.readonly||a.disabled?"default":"pointer"),i.jc(1),i.bd("ngTemplateOutlet",a.starTemplate||a.starTemplateFromContent||o)("ngTemplateOutletContext",a.contexts[r])}}function _t(e,t){}function wt(e,t){if(1&e){var n=i.Fc();i.Ec(0,"li",4),i.Ec(1,"a",5),i.Qc("click",(function(e){i.nd(n);var r=t.$implicit;return i.Uc().select(r.id),e.preventDefault()})),i.zd(2),i.xd(3,_t,0,0,"ng-template",6),i.Dc(),i.Dc()}if(2&e){var r=t.$implicit,a=i.Uc();i.jc(1),i.pc("active",r.id===a.activeId)("disabled",r.disabled),i.bd("id",r.id),i.kc("tabindex",r.disabled?"-1":void 0)("aria-controls",a.destroyOnHide&&r.id!==a.activeId?null:r.id+"-panel")("aria-selected",r.id===a.activeId)("aria-disabled",r.disabled),i.jc(1),i.Bd(" ",r.title,""),i.jc(1),i.bd("ngTemplateOutlet",(null==r.titleTpl?null:r.titleTpl.templateRef)||null)}}function kt(e,t){}function xt(e,t){if(1&e&&(i.Ec(0,"div",8),i.xd(1,kt,0,0,"ng-template",6),i.Dc()),2&e){var n=i.Uc().$implicit,r=i.Uc();i.mc("tab-pane ",n.id===r.activeId?"active":null,""),i.dd("id","",n.id,"-panel"),i.kc("aria-labelledby",n.id),i.jc(1),i.bd("ngTemplateOutlet",(null==n.contentTpl?null:n.contentTpl.templateRef)||null)}}function Ot(e,t){if(1&e&&i.xd(0,xt,2,6,"div",7),2&e){var n=t.$implicit,r=i.Uc();i.bd("ngIf",!r.destroyOnHide||n.id===r.activeId)}}ut=$localize(_templateObject20(),"\ufffd0\ufffd");var St,Pt,Et,Mt,It=["placeholder",$localize(_templateObject21()),"aria-label",$localize(_templateObject22())],Dt=["placeholder",$localize(_templateObject23()),"aria-label",$localize(_templateObject24())];function jt(e,t){if(1&e){var n=i.Fc();i.Ec(0,"button",10),i.Qc("click",(function(){i.nd(n);var e=i.Uc();return e.changeHour(e.hourStep)})),i.zc(1,"span",11),i.Ec(2,"span",12),i.Ic(3,St),i.Dc(),i.Dc()}if(2&e){var r=i.Uc();i.pc("btn-sm",r.isSmallSize)("btn-lg",r.isLargeSize)("disabled",r.disabled),i.bd("disabled",r.disabled)}}function At(e,t){if(1&e){var n=i.Fc();i.Ec(0,"button",10),i.Qc("click",(function(){i.nd(n);var e=i.Uc();return e.changeHour(0-e.hourStep)})),i.zc(1,"span",13),i.Ec(2,"span",12),i.Ic(3,Pt),i.Dc(),i.Dc()}if(2&e){var r=i.Uc();
1i.pc("btn-sm",r.isSmallSize)("btn-lg",r.isLargeSize)("disabled",r.disabled),i.bd("disabled",r.disabled)}}function Tt(e,t){if(1&e){var n=i.Fc();i.Ec(0,"button",10),i.Qc("click",(function(){i.nd(n);var e=i.Uc();return e.changeMinute(e.minuteStep)})),i.zc(1,"span",11),i.Ec(2,"span",12),i.Ic(3,Et),i.Dc(),i.Dc()}if(2&e){var r=i.Uc();i.pc("btn-sm",r.isSmallSize)("btn-lg",r.isLargeSize)("disabled",r.disabled),i.bd("disabled",r.disabled)}}function zt(e,t){if(1&e){var n=i.Fc();i.Ec(0,"button",10),i.Qc("click",(function(){i.nd(n);var e=i.Uc();return e.changeMinute(0-e.minuteStep)})),i.zc(1,"span",13),i.Ec(2,"span",12),i.Ic(3,Mt),i.Dc(),i.Dc()}if(2&e){var r=i.Uc();i.pc("btn-sm",r.isSmallSize)("btn-lg",r.isLargeSize)("disabled",r.disabled),i.bd("disabled",r.disabled)}}function Lt(e,t){1&e&&(i.Ec(0,"div",5),i.zd(1,":"),i.Dc())}St=$localize(_templateObject25()),Pt=$localize(_templateObject26()),Et=$localize(_templateObject27()),Mt=$localize(_templateObject28());var Nt,Rt,Ft,Vt,Ut=["placeholder",$localize(_templateObject29()),"aria-label",$localize(_templateObject30())];function Ht(e,t){if(1&e){var n=i.Fc();i.Ec(0,"button",10),i.Qc("click",(function(){i.nd(n);var e=i.Uc(2);return e.changeSecond(e.secondStep)})),i.zc(1,"span",11),i.Ec(2,"span",12),i.Ic(3,Nt),i.Dc(),i.Dc()}if(2&e){var r=i.Uc(2);i.pc("btn-sm",r.isSmallSize)("btn-lg",r.isLargeSize)("disabled",r.disabled),i.bd("disabled",r.disabled)}}function Bt(e,t){if(1&e){var n=i.Fc();i.Ec(0,"button",10),i.Qc("click",(function(){i.nd(n);var e=i.Uc(2);return e.changeSecond(0-e.secondStep)})),i.zc(1,"span",13),i.Ec(2,"span",12),i.Ic(3,Rt),i.Dc(),i.Dc()}if(2&e){var r=i.Uc(2);i.pc("btn-sm",r.isSmallSize)("btn-lg",r.isLargeSize)("disabled",r.disabled),i.bd("disabled",r.disabled)}}function qt(e,t){if(1&e){var n=i.Fc();i.Ec(0,"div",14),i.xd(1,Ht,4,7,"button",3),i.Ec(2,"input",4),i.Kc(3,Ut),i.Qc("change",(function(e){return i.nd(n),i.Uc().updateSecond(e.target.value)}))("input",(function(e){return i.nd(n),i.Uc().formatInput(e.target)}))("keydown.ArrowUp",(function(e){i.nd(n);var t=i.Uc();return t.changeSecond(t.secondStep),e.preventDefault()}))("keydown.ArrowDown",(function(e){i.nd(n);var t=i.Uc();return t.changeSecond(0-t.secondStep),e.preventDefault()})),i.Dc(),i.xd(4,Bt,4,7,"button",3),i.Dc()}if(2&e){var r=i.Uc();i.jc(1),i.bd("ngIf",r.spinners),i.jc(1),i.pc("form-control-sm",r.isSmallSize)("form-control-lg",r.isLargeSize),i.bd("value",r.formatMinSec(null==r.model?null:r.model.second))("readOnly",r.readonlyInputs)("disabled",r.disabled),i.jc(2),i.bd("ngIf",r.spinners)}}function $t(e,t){1&e&&i.zc(0,"div",5)}function Wt(e,t){if(1&e&&(i.Cc(0),i.Ic(1,Ft),i.Bc()),2&e){var n=i.Uc(2);i.jc(1),i.Lc(n.i18n.getAfternoonPeriod()),i.Jc(1)}}function Gt(e,t){if(1&e&&i.Ic(0,Vt),2&e){var n=i.Uc(2);i.Lc(n.i18n.getMorningPeriod()),i.Jc(0)}}function Xt(e,t){if(1&e){var n=i.Fc();i.Ec(0,"div",15),i.Ec(1,"button",16),i.Qc("click",(function(){return i.nd(n),i.Uc().toggleMeridian()})),i.xd(2,Wt,2,1,"ng-container",17),i.xd(3,Gt,1,1,"ng-template",null,18,i.yd),i.Dc(),i.Dc()}if(2&e){var r=i.kd(4),a=i.Uc();i.jc(1),i.pc("btn-sm",a.isSmallSize)("btn-lg",a.isLargeSize)("disabled",a.disabled),i.bd("disabled",a.disabled),i.jc(1),i.bd("ngIf",a.model&&a.model.hour>=12)("ngIfElse",r)}}function Zt(e,t){if(1&e&&(i.Ec(0,"strong",3),i.zd(1),i.Dc()),2&e){var n=i.Uc();i.jc(1),i.Ad(n.header)}}Nt=$localize(_templateObject31()),Rt=$localize(_templateObject32()),Ft=$localize(_templateObject33(),"\ufffd0\ufffd"),Vt=$localize(_templateObject34(),"\ufffd0\ufffd");var Yt=["aria-label",$localize(_templateObject35())];function Qt(e,t){}function Kt(e,t){if(1&e){var n=i.Fc();i.Ec(0,"div",4),i.xd(1,Qt,0,0,"ng-template",5),i.Ec(2,"button",6),i.Kc(3,Yt),i.Qc("click",(function(){return i.nd(n),i.Uc().hide()})),i.Ec(4,"span",7),i.zd(5,"\xd7"),i.Dc(),i.Dc(),i.Dc()}if(2&e){var r=i.Uc(),a=i.kd(1);i.jc(1),i.bd("ngTemplateOutlet",r.contentHeaderTpl||a)}}function Jt(e,t){if(1&e&&(i.Ec(0,"span"),i.zd(1),i.Dc()),2&e){var n=i.Uc().$implicit,r=i.Uc();i.lc(r.highlightClass),i.jc(1),i.Ad(n)}}function en(e,t){if(1&e&&i.zd(0),2&e){var n=i.Uc().$implicit;i.Ad(n)}}function tn(e,t){if(1&e&&(i.xd(0,Jt,2,3,"span",1),i.xd(1,en,1,1,"ng-template",null,2,i.yd)),2&e){var n=t.odd,r=i.kd(2);i.bd("ngIf",n)("ngIfElse",r)}}function nn(e,t){if(1&e&&i.zc(0,"ngb-highlight",2),2&e){var n=t.term;i.bd("result",(0,t.formatter)(t.result))("term",n)}}function rn(e,t){}var an=function(e,t,n){return{result:e,term:t,formatter:n}};function on(e,t){if(1&e){var n=i.Fc();i.Ec(0,"button",3),i.Qc("mouseenter",(function(){i.nd(n);var e=t.index;return i.Uc().markActive(e)}))("click",(function(){i.nd(n);var e=t.$implicit;return i.Uc().select(e)})),i.xd(1,rn,0,0,"ng-template",4),i.Dc()}if(2&e){var r=t.$implicit,a=t.index,o=i.Uc(),s=i.kd(1);i.pc("active",a===o.activeIdx),i.bd("id",o.id+"-"+a),i.jc(1),i.bd("ngTemplateOutlet",o.resultTemplate||s)("ngTemplateOutletContext",i.hd(5,an,r,o.term,o.formatter))}}function sn(e){return parseInt(""+e,10)}function cn(e){return null!=e?""+e:""}function ln(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.max(Math.min(e,t),n)}function un(e){return"string"==typeof e}function dn(e){return!isNaN(sn(e))}function hn(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function fn(e){return null!=e}function pn(e){return dn(e)?("0"+e).slice(-2):""}function gn(e,t){return e&&e.className&&e.className.split&&e.className.split(/\s+/).indexOf(t)>=0}"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});var vn,mn,bn,yn,Cn,_n,wn,kn,xn,On,Sn,Pn,En,Mn,In,Dn,jn,An,Tn,zn,Ln,Nn,Rn=((Pn=function e(){_classCallCheck(this,e),this.closeOthers=!1}
1).\u0275fac=function(e){return new(e||Pn)},Pn.\u0275prov=Object(i.uc)({factory:function(){return new Pn},token:Pn,providedIn:"root"}),Pn),Fn=0,Vn=((Sn=function e(t){_classCallCheck(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||Sn)(i.yc(i.U))},Sn.\u0275dir=i.tc({type:Sn,selectors:[["ng-template","ngbPanelHeader",""]]}),Sn),Un=((On=function e(t){_classCallCheck(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||On)(i.yc(i.U))},On.\u0275dir=i.tc({type:On,selectors:[["ng-template","ngbPanelTitle",""]]}),On),Hn=((xn=function e(t){_classCallCheck(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||xn)(i.yc(i.U))},xn.\u0275dir=i.tc({type:xn,selectors:[["ng-template","ngbPanelContent",""]]}),xn),Bn=((kn=function(){function e(){_classCallCheck(this,e),this.disabled=!1,this.id="ngb-panel-"+Fn++,this.isOpen=!1}return _createClass(e,[{key:"ngAfterContentChecked",value:function(){this.titleTpl=this.titleTpls.first,this.headerTpl=this.headerTpls.first,this.contentTpl=this.contentTpls.first}}]),e}()).\u0275fac=function(e){return new(e||kn)},kn.\u0275dir=i.tc({type:kn,selectors:[["ngb-panel"]],contentQueries:function(e,t,n){var r;1&e&&(i.qc(n,Un,!1),i.qc(n,Vn,!1),i.qc(n,Hn,!1)),2&e&&(i.jd(r=i.Rc())&&(t.titleTpls=r),i.jd(r=i.Rc())&&(t.headerTpls=r),i.jd(r=i.Rc())&&(t.contentTpls=r))},inputs:{disabled:"disabled",id:"id",title:"title",type:"type",cardClass:"cardClass"}}),kn),qn=((wn=function(){function e(t){_classCallCheck(this,e),this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new i.s,this.type=t.type,this.closeOtherPanels=t.closeOthers}return _createClass(e,[{key:"isExpanded",value:function(e){return this.activeIds.indexOf(e)>-1}},{key:"expand",value:function(e){this._changeOpenState(this._findPanelById(e),!0)}},{key:"expandAll",value:function(){var e=this;this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach((function(t){return e._changeOpenState(t,!0)}))}},{key:"collapse",value:function(e){this._changeOpenState(this._findPanelById(e),!1)}},{key:"collapseAll",value:function(){var e=this;this.panels.forEach((function(t){e._changeOpenState(t,!1)}))}},{key:"toggle",value:function(e){var t=this._findPanelById(e);t&&this._changeOpenState(t,!t.isOpen)}},{key:"ngAfterContentChecked",value:function(){var e=this;un(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach((function(t){return t.isOpen=!t.disabled&&e.activeIds.indexOf(t.id)>-1})),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0]),this._updateActiveIds())}},{key:"_changeOpenState",value:function(e,t){if(null!=e&&!e.disabled&&e.isOpen!==t){var n=!1;this.panelChange.emit({panelId:e.id,nextState:t,preventDefault:function(){n=!0}}),n||(e.isOpen=t,t&&this.closeOtherPanels&&this._closeOthers(e.id),this._updateActiveIds())}}},{key:"_closeOthers",value:function(e){this.panels.forEach((function(t){t.id!==e&&(t.isOpen=!1)}))}},{key:"_findPanelById",value:function(e){return this.panels.find((function(t){return t.id===e}))||null}},{key:"_updateActiveIds",value:function(){this.activeIds=this.panels.filter((function(e){return e.isOpen&&!e.disabled})).map((function(e){return e.id}))}}]),e}()).\u0275fac=function(e){return new(e||wn)(i.yc(Rn))},wn.\u0275cmp=i.sc({type:wn,selectors:[["ngb-accordion"]],contentQueries:function(e,t,n){var r;1&e&&i.qc(n,Bn,!1),2&e&&i.jd(r=i.Rc())&&(t.panels=r)},hostAttrs:["role","tablist",1,"accordion"],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("aria-multiselectable",!t.closeOtherPanels)},inputs:{activeIds:"activeIds",destroyOnHide:"destroyOnHide",type:"type",closeOtherPanels:["closeOthers","closeOtherPanels"]},outputs:{panelChange:"panelChange"},exportAs:["ngbAccordion"],decls:3,vars:1,consts:[["ngbPanelHeader",""],["t",""],["ngFor","",3,"ngForOf"],[1,"btn","btn-link",3,"ngbPanelToggle"],[3,"ngTemplateOutlet"],["role","tab",3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tabpanel","class","collapse",3,"id","show",4,"ngIf"],["role","tabpanel",1,"collapse",3,"id"],[1,"card-body"]],template:function(e,t){1&e&&(i.xd(0,T,3,3,"ng-template",0,1,i.yd),i.xd(2,F,4,11,"ng-template",2)),2&e&&(i.jc(2),i.bd("ngForOf",t.panels))},directives:function(){return[Vn,r.t,$n,r.B,r.u]},encapsulation:2}),wn),$n=((_n=function(){function e(t,n){_classCallCheck(this,e),this.accordion=t,this.panel=n}return _createClass(e,[{key:"ngbPanelToggle",set:function(e){e&&(this.panel=e)}}]),e}()).\u0275fac=function(e){return new(e||_n)(i.yc(qn),i.yc(Bn,9))},_n.\u0275dir=i.tc({type:_n,selectors:[["button","ngbPanelToggle",""]],hostAttrs:["type","button"],hostVars:5,hostBindings:function(e,t){1&e&&i.Qc("click",(function(){return t.accordion.toggle(t.panel.id)})),2&e&&(i.Hc("disabled",t.panel.disabled),i.kc("aria-expanded",t.panel.isOpen)("aria-controls",t.panel.id),i.pc("collapsed",!t.panel.isOpen))},inputs:{ngbPanelToggle:"ngbPanelToggle"}}),_n),Wn=((Cn=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:Cn}),Cn.\u0275inj=i.vc({factory:function(e){return new(e||Cn)},imports:[[r.c]]}),Cn),Gn=((yn=function e(){_classCallCheck(this,e),this.dismissible=!0,this.type="warning"}).\u0275fac=function(e){return new(e||yn)}
1,yn.\u0275prov=Object(i.uc)({factory:function(){return new yn},token:yn,providedIn:"root"}),yn),Xn=((bn=function(){function e(t,n,r){_classCallCheck(this,e),this._renderer=n,this._element=r,this.close=new i.s,this.dismissible=t.dismissible,this.type=t.type}return _createClass(e,[{key:"closeHandler",value:function(){this.close.emit()}},{key:"ngOnChanges",value:function(e){var t=e.type;t&&!t.firstChange&&(this._renderer.removeClass(this._element.nativeElement,"alert-"+t.previousValue),this._renderer.addClass(this._element.nativeElement,"alert-"+t.currentValue))}},{key:"ngOnInit",value:function(){this._renderer.addClass(this._element.nativeElement,"alert-"+this.type)}}]),e}()).\u0275fac=function(e){return new(e||bn)(i.yc(Gn),i.yc(i.L),i.yc(i.q))},bn.\u0275cmp=i.sc({type:bn,selectors:[["ngb-alert"]],hostAttrs:["role","alert",1,"alert"],hostVars:2,hostBindings:function(e,t){2&e&&i.pc("alert-dismissible",t.dismissible)},inputs:{dismissible:"dismissible",type:"type"},outputs:{close:"close"},features:[i.hc],ngContentSelectors:q,decls:2,vars:1,consts:[["type","button","class","close",3,"click",4,"ngIf",6,"aria-label"],["type","button",1,"close",3,"click",6,"aria-label"],["aria-hidden","true"]],template:function(e,t){1&e&&(i.ad(),i.Zc(0),i.xd(1,U,4,0,"button",0)),2&e&&(i.jc(1),i.bd("ngIf",t.dismissible))},directives:[r.u],styles:["ngb-alert{display:block}"],encapsulation:2,changeDetection:0}),bn),Zn=((mn=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:mn}),mn.\u0275inj=i.vc({factory:function(e){return new(e||mn)},imports:[[r.c]]}),mn),Yn=((vn=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||vn)},vn.\u0275dir=i.tc({type:vn,selectors:[["","ngbButtonLabel",""]],hostVars:8,hostBindings:function(e,t){2&e&&i.pc("btn",!0)("active",t.active)("disabled",t.disabled)("focus",t.focused)}}),vn),Qn={provide:a.o,useExisting:Object(i.cb)((function(){return Kn})),multi:!0},Kn=((En=function(){function e(t,n){_classCallCheck(this,e),this._label=t,this._cd=n,this.disabled=!1,this.valueChecked=!0,this.valueUnChecked=!1,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"onInputChange",value:function(e){var t=e.target.checked?this.valueChecked:this.valueUnChecked;this.onChange(t),this.onTouched(),this.writeValue(t)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._label.disabled=e}},{key:"writeValue",value:function(e){this.checked=e===this.valueChecked,this._label.active=this.checked,this._cd.markForCheck()}},{key:"focused",set:function(e){this._label.focused=e,e||this.onTouched()}}]),e}()).\u0275fac=function(e){return new(e||En)(i.yc(Yn),i.yc(i.j))},En.\u0275dir=i.tc({type:En,selectors:[["","ngbButton","","type","checkbox"]],hostVars:2,hostBindings:function(e,t){1&e&&i.Qc("change",(function(e){return t.onInputChange(e)}))("focus",(function(){return t.focused=!0}))("blur",(function(){return t.focused=!1})),2&e&&i.Hc("checked",t.checked)("disabled",t.disabled)},inputs:{disabled:"disabled",valueChecked:"valueChecked",valueUnChecked:"valueUnChecked"},features:[i.ic([Qn])]}),En),Jn={provide:a.o,useExisting:Object(i.cb)((function(){return ti})),multi:!0},ei=0,ti=((Tn=function(){function e(){_classCallCheck(this,e),this._radios=new Set,this._value=null,this.name="ngb-radio-"+ei++,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"onRadioChange",value:function(e){this.writeValue(e.value),this.onChange(e.value)}},{key:"onRadioValueUpdate",value:function(){this._updateRadiosValue()}},{key:"register",value:function(e){this._radios.add(e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._disabled=e,this._updateRadiosDisabled()}},{key:"unregister",value:function(e){this._radios.delete(e)}},{key:"writeValue",value:function(e){this._value=e,this._updateRadiosValue()}},{key:"_updateRadiosValue",value:function(){var e=this;this._radios.forEach((function(t){return t.updateValue(e._value)}))}},{key:"_updateRadiosDisabled",value:function(){this._radios.forEach((function(e){return e.updateDisabled()}))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this.setDisabledState(e)}}]),e}()).\u0275fac=function(e){return new(e||Tn)},Tn.\u0275dir=i.tc({type:Tn,selectors:[["","ngbRadioGroup",""]],hostAttrs:["role","radiogroup"],inputs:{name:"name"},features:[i.ic([Jn])]}),Tn),ni=((An=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this._group=t,this._label=n,this._renderer=i,this._element=r,this._cd=a,this._value=null,this._group.register(this),this.updateDisabled()}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._group.unregister(this)}},{key:"onChange",value:function(){this._group.onRadioChange(this)}}
1,{key:"updateValue",value:function(e){this.value!==e&&this._cd.markForCheck(),this._checked=this.value===e,this._label.active=this._checked}},{key:"updateDisabled",value:function(){this._label.disabled=this.disabled}},{key:"value",set:function(e){this._value=e;var t=e?e.toString():"";this._renderer.setProperty(this._element.nativeElement,"value",t),this._group.onRadioValueUpdate()},get:function(){return this._value}},{key:"disabled",set:function(e){this._disabled=!1!==e,this.updateDisabled()},get:function(){return this._group.disabled||this._disabled}},{key:"focused",set:function(e){this._label&&(this._label.focused=e),e||this._group.onTouched()}},{key:"checked",get:function(){return this._checked}},{key:"nameAttr",get:function(){return this.name||this._group.name}}]),e}()).\u0275fac=function(e){return new(e||An)(i.yc(ti),i.yc(Yn),i.yc(i.L),i.yc(i.q),i.yc(i.j))},An.\u0275dir=i.tc({type:An,selectors:[["","ngbButton","","type","radio"]],hostVars:3,hostBindings:function(e,t){1&e&&i.Qc("change",(function(){return t.onChange()}))("focus",(function(){return t.focused=!0}))("blur",(function(){return t.focused=!1})),2&e&&i.Hc("checked",t.checked)("disabled",t.disabled)("name",t.nameAttr)},inputs:{value:"value",disabled:"disabled",name:"name"}}),An),ii=((jn=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:jn}),jn.\u0275inj=i.vc({factory:function(e){return new(e||jn)}}),jn),ri=((Dn=function e(){_classCallCheck(this,e),this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}).\u0275fac=function(e){return new(e||Dn)},Dn.\u0275prov=Object(i.uc)({factory:function(){return new Dn},token:Dn,providedIn:"root"}),Dn),ai=0,oi=((In=function e(t){_classCallCheck(this,e),this.tplRef=t,this.id="ngb-slide-"+ai++}).\u0275fac=function(e){return new(e||In)(i.yc(i.U))},In.\u0275dir=i.tc({type:In,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"}}),In),si=((Mn=function(){function e(t,n,r,a){_classCallCheck(this,e),this._platformId=n,this._ngZone=r,this._cd=a,this.NgbSlideEventSource=li,this._destroy$=new o.a,this._interval$=new s.a(0),this._mouseHover$=new s.a(!1),this._pauseOnHover$=new s.a(!1),this._pause$=new s.a(!1),this._wrap$=new s.a(!1),this.slide=new i.s,this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard,this.pauseOnHover=t.pauseOnHover,this.showNavigationArrows=t.showNavigationArrows,this.showNavigationIndicators=t.showNavigationIndicators}return _createClass(e,[{key:"mouseEnter",value:function(){this._mouseHover$.next(!0)}},{key:"mouseLeave",value:function(){this._mouseHover$.next(!1)}},{key:"ngAfterContentInit",value:function(){var e=this;Object(r.O)(this._platformId)&&this._ngZone.runOutsideAngular((function(){var t=Object(c.a)([e.slide.pipe(Object(C.a)((function(e){return e.current})),Object(_.a)(e.activeId)),e._wrap$,e.slides.changes.pipe(Object(_.a)(null))]).pipe(Object(C.a)((function(t){var n=_slicedToArray2(t,2),i=n[0],r=n[1],a=e.slides.toArray(),o=e._getSlideIdxById(i);return r?a.length>1:o<a.length-1})),Object(w.a)());Object(c.a)([e._pause$,e._pauseOnHover$,e._mouseHover$,e._interval$,t]).pipe(Object(C.a)((function(e){var t=_slicedToArray2(e,5),n=t[0],i=t[1],r=t[2],a=t[3],o=t[4];return n||i&&r||!o?0:a})),Object(w.a)(),Object(k.a)((function(e){return e>0?Object(l.a)(e,e):u.a})),Object(x.a)(e._destroy$)).subscribe((function(){return e._ngZone.run((function(){return e.next(li.TIMER)}))}))})),this.slides.changes.pipe(Object(x.a)(this._destroy$)).subscribe((function(){return e._cd.markForCheck()}))}},{key:"ngAfterContentChecked",value:function(){var e=this._getSlideById(this.activeId);this.activeId=e?e.id:this.slides.length?this.slides.first.id:""}},{key:"ngOnDestroy",value:function(){this._destroy$.next()}},{key:"select",value:function(e,t){this._cycleToSelected(e,this._getSlideEventDirection(this.activeId,e),t)}},{key:"prev",value:function(e){this._cycleToSelected(this._getPrevSlide(this.activeId),ci.RIGHT,e)}},{key:"next",value:function(e){this._cycleToSelected(this._getNextSlide(this.activeId),ci.LEFT,e)}},{key:"pause",value:function(){this._pause$.next(!0)}},{key:"cycle",value:function(){this._pause$.next(!1)}},{key:"_cycleToSelected",value:function(e,t,n){var i=this._getSlideById(e);i&&i.id!==this.activeId&&(this.slide.emit({prev:this.activeId,current:i.id,direction:t,paused:this._pause$.value,source:n}),this.activeId=i.id),this._cd.markForCheck()}},{key:"_getSlideEventDirection",value:function(e,t){return this._getSlideIdxById(e)>this._getSlideIdxById(t)?ci.RIGHT:ci.LEFT}},{key:"_getSlideById",value:function(e){return this.slides.find((function(t){return t.id===e}))||null}},{key:"_getSlideIdxById",value:function(e){var t=this._getSlideById(e);return null!=t?this.slides.toArray().indexOf(t):-1}},{key:"_getNextSlide",value:function(e){var t=this.slides.toArray(),n=this._getSlideIdxById(e);return n===t.length-1?this.wrap?t[0].id:t[t.length-1].id:t[n+1].id}},{key:"_getPrevSlide",value:function(e){var t=this.slides.toArray(),n=this._getSlideIdxById(e);return 0===n?this.wrap?t[t.length-1].id:t[0].id:t[n-1].id}},{key:"interval",set:function(e){this._interval$.next(e)},get:function(){return this._interval$.value}},{key:"wrap",set:function(e){this._wrap$.next(e)},get:function(){return this._wrap$.value}},{key:"pauseOnHover",set:function(e){this._pauseOnHover$.next(e)},get:function(){return this._pauseOnHover$.value}}]),e}()).\u0275fac=function(e){return new(e||Mn)(i.yc(ri),i.yc(i.I),i.yc(i.F),i.yc(i.j))},Mn.\u0275cmp=i.sc({type:Mn,selectors:[["ngb-carousel"]],contentQueries:function(e,t,n){var r;
11&e&&i.qc(n,oi,!1),2&e&&i.jd(r=i.Rc())&&(t.slides=r)},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:2,hostBindings:function(e,t){1&e&&i.Qc("keydown.arrowLeft",(function(){return t.keyboard&&t.prev(t.NgbSlideEventSource.ARROW_LEFT)}))("keydown.arrowRight",(function(){return t.keyboard&&t.next(t.NgbSlideEventSource.ARROW_RIGHT)}))("mouseenter",(function(){return t.mouseEnter()}))("mouseleave",(function(){return t.mouseLeave()})),2&e&&i.wd("display","block")},inputs:{interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators",activeId:"activeId"},outputs:{slide:"slide"},exportAs:["ngbCarousel"],decls:5,vars:4,consts:[["class","carousel-indicators",4,"ngIf"],[1,"carousel-inner"],["class","carousel-item",3,"active",4,"ngFor","ngForOf"],["class","carousel-control-prev","role","button",3,"click",4,"ngIf"],["class","carousel-control-next","role","button",3,"click",4,"ngIf"],[1,"carousel-indicators"],[3,"id","active","click",4,"ngFor","ngForOf"],[3,"id","click"],[1,"carousel-item"],[3,"ngTemplateOutlet"],["role","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],[1,"sr-only"],["role","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"]],template:function(e,t){1&e&&(i.xd(0,W,2,1,"ol",0),i.Ec(1,"div",1),i.xd(2,X,2,3,"div",2),i.Dc(),i.xd(3,Z,4,0,"a",3),i.xd(4,Y,4,0,"a",4)),2&e&&(i.bd("ngIf",t.showNavigationIndicators),i.jc(2),i.bd("ngForOf",t.slides),i.jc(1),i.bd("ngIf",t.showNavigationArrows),i.jc(1),i.bd("ngIf",t.showNavigationArrows))},directives:[r.u,r.t,r.B],encapsulation:2,changeDetection:0}),Mn),ci=function(e){return e[e.LEFT="left"]="LEFT",e[e.RIGHT="right"]="RIGHT",e}({}),li=function(e){return e.TIMER="timer",e.ARROW_LEFT="arrowLeft",e.ARROW_RIGHT="arrowRight",e.INDICATOR="indicator",e}({}),ui=((Nn=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:Nn}),Nn.\u0275inj=i.vc({factory:function(e){return new(e||Nn)},imports:[[r.c]]}),Nn),di=((Ln=function e(){_classCallCheck(this,e),this.collapsed=!1}).\u0275fac=function(e){return new(e||Ln)},Ln.\u0275dir=i.tc({type:Ln,selectors:[["","ngbCollapse",""]],hostVars:4,hostBindings:function(e,t){2&e&&i.pc("collapse",!0)("show",!t.collapsed)},inputs:{collapsed:["ngbCollapse","collapsed"]},exportAs:["ngbCollapse"]}),Ln),hi=((zn=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:zn}),zn.\u0275inj=i.vc({factory:function(e){return new(e||zn)}}),zn),fi=function(){function e(t,n,i){_classCallCheck(this,e),this.year=hn(t)?t:null,this.month=hn(n)?n:null,this.day=hn(i)?i:null}return _createClass(e,[{key:"equals",value:function(e){return null!=e&&this.year===e.year&&this.month===e.month&&this.day===e.day}},{key:"before",value:function(e){return!!e&&(this.year===e.year?this.month===e.month?this.day!==e.day&&this.day<e.day:this.month<e.month:this.year<e.year)}},{key:"after",value:function(e){return!!e&&(this.year===e.year?this.month===e.month?this.day!==e.day&&this.day>e.day:this.month>e.month:this.year>e.year)}}],[{key:"from",value:function(t){return t instanceof e?t:t?new e(t.year,t.month,t.day):null}}]),e}();function pi(e){return new fi(e.getFullYear(),e.getMonth()+1,e.getDate())}function gi(e){var t=new Date(e.year,e.month-1,e.day,12);return isNaN(t.getTime())||t.setFullYear(e.year),t}function vi(){return new Ci}var mi,bi,yi=((bi=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||bi)},bi.\u0275prov=Object(i.uc)({factory:vi,token:bi,providedIn:"root"}),bi),Ci=((mi=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getDaysPerWeek",value:function(){return 7}},{key:"getMonths",value:function(){return[1,2,3,4,5,6,7,8,9,10,11,12]}},{key:"getWeeksPerMonth",value:function(){return 6}},{key:"getNext",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=gi(e),r=!0,a=i.getMonth();switch(t){case"y":i.setFullYear(i.getFullYear()+n);break;case"m":a+=n,i.setMonth(a),(a%=12)<0&&(a+=12);break;case"d":i.setDate(i.getDate()+n),r=!1;break;default:return e}return r&&i.getMonth()!==a&&i.setDate(0),pi(i)}},{key:"getPrev",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return this.getNext(e,t,-n)}},{key:"getWeekday",value:function(e){var t=gi(e).getDay();return 0===t?7:t}},{key:"getWeekNumber",value:function(e,t){7===t&&(t=0);var n=gi(e[(11-t)%7]);n.setDate(n.getDate()+4-(n.getDay()||7));var i=n.getTime();return n.setMonth(0),n.setDate(1),Math.floor(Math.round((i-n.getTime())/864e5)/7)+1}},{key:"getToday",value:function(){return pi(new Date)}},{key:"isValid",value:function(e){if(!(e&&hn(e.year)&&hn(e.month)&&hn(e.day)))return!1;if(0===e.year)return!1;var t=gi(e);return!isNaN(t.getTime())&&t.getFullYear()===e.year&&t.getMonth()+1===e.month&&t.getDate()===e.day}}]),n}(yi)).\u0275fac=function(e){return Ps(e||mi)},mi.\u0275prov=i.uc({token:mi,factory:mi.\u0275fac}),mi);function _i(e,t){return!function(e,t){return!e&&!t||!!e&&!!t&&e.equals(t)}(e,t)}function wi(e,t){return!(!e&&!t||e&&t&&e.year===t.year&&e.month===t.month)}function ki(e,t,n){return e&&t&&e.before(t)?t:e&&n&&e.after(n)?n:e||null}function xi(e,t){var n=t.minDate,i=t.maxDate,r=t.disabled,a=t.markDisabled;return!(null==e||r||a&&a(e,{year:e.year,month:e.month})||n&&e.before(n)||i&&e.after(i))}var Oi,Si,Pi,Ei,Mi=((Pi=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"getDayNumerals",value:function(e){return""+e.day}}
1,{key:"getWeekNumerals",value:function(e){return""+e}},{key:"getYearNumerals",value:function(e){return""+e}}]),e}()).\u0275fac=function(e){return new(e||Pi)},Pi.\u0275prov=Object(i.uc)({factory:function(){return e=Object(i.Mc)(i.z),new Ii(e);var e},token:Pi,providedIn:"root"}),Pi),Ii=((Si=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;_classCallCheck(this,n),(i=t.call(this))._locale=e;var a=Object(r.L)(e,r.h.Standalone,r.H.Short);return i._weekdaysShort=a.map((function(e,t){return a[(t+1)%7]})),i._monthsShort=Object(r.N)(e,r.h.Standalone,r.H.Abbreviated),i._monthsFull=Object(r.N)(e,r.h.Standalone,r.H.Wide),i}return _createClass(n,[{key:"getWeekdayShortName",value:function(e){return this._weekdaysShort[e-1]||""}},{key:"getMonthShortName",value:function(e){return this._monthsShort[e-1]||""}},{key:"getMonthFullName",value:function(e){return this._monthsFull[e-1]||""}},{key:"getDayAriaLabel",value:function(e){var t=new Date(e.year,e.month-1,e.day);return Object(r.K)(t,"fullDate",this._locale)}}]),n}(Mi)).\u0275fac=function(e){return new(e||Si)(i.Mc(i.z))},Si.\u0275prov=i.uc({token:Si,factory:Si.\u0275fac}),Si),Di=((Oi=function(){function e(t,n){var i=this;_classCallCheck(this,e),this._calendar=t,this._i18n=n,this._VALIDATORS={dayTemplateData:function(e){if(i._state.dayTemplateData!==e)return{dayTemplateData:e}},displayMonths:function(e){if(hn(e=sn(e))&&e>0&&i._state.displayMonths!==e)return{displayMonths:e}},disabled:function(e){if(i._state.disabled!==e)return{disabled:e}},firstDayOfWeek:function(e){if(hn(e=sn(e))&&e>=0&&i._state.firstDayOfWeek!==e)return{firstDayOfWeek:e}},focusVisible:function(e){if(i._state.focusVisible!==e&&!i._state.disabled)return{focusVisible:e}},markDisabled:function(e){if(i._state.markDisabled!==e)return{markDisabled:e}},maxDate:function(e){var t=i.toValidDate(e,null);if(_i(i._state.maxDate,t))return{maxDate:t}},minDate:function(e){var t=i.toValidDate(e,null);if(_i(i._state.minDate,t))return{minDate:t}},navigation:function(e){if(i._state.navigation!==e)return{navigation:e}},outsideDays:function(e){if(i._state.outsideDays!==e)return{outsideDays:e}}},this._model$=new o.a,this._dateSelect$=new o.a,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]}}}return _createClass(e,[{key:"set",value:function(e){var t=this,n=Object.keys(e).map((function(n){return t._VALIDATORS[n](e[n])})).reduce((function(e,t){return Object.assign(Object.assign({},e),t)}),{});Object.keys(n).length>0&&this._nextState(n)}},{key:"focus",value:function(e){var t=this.toValidDate(e,null);null!=t&&!this._state.disabled&&_i(this._state.focusDate,t)&&this._nextState({focusDate:e})}},{key:"focusSelect",value:function(){xi(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}},{key:"open",value:function(e){var t=this.toValidDate(e,this._calendar.getToday());null==t||this._state.disabled||this._state.firstDate&&!wi(this._state.firstDate,t)||this._nextState({firstDate:t})}},{key:"select",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.toValidDate(e,null);null==n||this._state.disabled||(_i(this._state.selectedDate,n)&&this._nextState({selectedDate:n}),t.emitEvent&&xi(n,this._state)&&this._dateSelect$.next(n))}},{key:"toValidDate",value:function(e,t){var n=fi.from(e);return void 0===t&&(t=this._calendar.getToday()),this._calendar.isValid(n)?n:t}},{key:"getMonth",value:function(e){var t,n=_createForOfIteratorHelper(this._state.months);try{for(n.s();!(t=n.n()).done;){var i=t.value;if(e.month===i.number&&e.year===i.year)return i}}catch(r){n.e(r)}finally{n.f()}throw new Error("month ".concat(e.month," of year ").concat(e.year," not found"))}},{key:"_nextState",value:function(e){var t=this._updateState(e);this._patchContexts(t),this._state=t,this._model$.next(this._state)}},{key:"_patchContexts",value:function(e){var t=e.months,n=e.displayMonths,i=e.selectedDate,r=e.focusDate,a=e.focusVisible,o=e.disabled,s=e.outsideDays;e.months.forEach((function(e){e.weeks.forEach((function(c){c.days.forEach((function(c){r&&(c.context.focused=r.equals(c.date)&&a),c.tabindex=!o&&r&&c.date.equals(r)&&r.month===e.number?0:-1,!0===o&&(c.context.disabled=!0),void 0!==i&&(c.context.selected=null!==i&&i.equals(c.date)),e.number!==c.date.month&&(c.hidden="hidden"===s||"collapsed"===s||n>1&&c.date.after(t[0].firstDate)&&c.date.before(t[n-1].lastDate))}))}))}))}},{key:"_updateState",value:function(e){var t,n,i,r,a=Object.assign({},this._state,e),o=a.firstDate;if(("minDate"in e||"maxDate"in e)&&(function(e,t){if(t&&e&&t.before(e))throw new Error("'maxDate' ".concat(t," should be greater than 'minDate' ").concat(e))}(a.minDate,a.maxDate),a.focusDate=ki(a.focusDate,a.minDate,a.maxDate),a.firstDate=ki(a.firstDate,a.minDate,a.maxDate),o=a.focusDate),"disabled"in e&&(a.focusVisible=!1),"selectedDate"in e&&0===this._state.months.length&&(o=a.selectedDate),"focu
1sVisible"in e)return a;if("focusDate"in e&&(a.focusDate=ki(a.focusDate,a.minDate,a.maxDate),o=a.focusDate,0!==a.months.length&&a.focusDate&&!a.focusDate.before(a.firstDate)&&!a.focusDate.after(a.lastDate)))return a;if("firstDate"in e&&(a.firstDate=ki(a.firstDate,a.minDate,a.maxDate),o=a.firstDate),o){var s=function(e,t,n,i,r){var a=n.displayMonths,o=n.months,s=o.splice(0,o.length);return Array.from({length:a},(function(n,i){var a=Object.assign(e.getNext(t,"m",i),{day:1});if(o[i]=null,!r){var c=s.findIndex((function(e){return e.firstDate.equals(a)}));-1!==c&&(o[i]=s.splice(c,1)[0])}return a})).forEach((function(t,r){null===o[r]&&(o[r]=function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.dayTemplateData,o=n.minDate,s=n.maxDate,c=n.firstDayOfWeek,l=n.markDisabled,u=n.outsideDays,d=e.getToday();r.firstDate=null,r.lastDate=null,r.number=t.month,r.year=t.year,r.weeks=r.weeks||[],r.weekdays=r.weekdays||[],t=function(e,t,n){var i=e.getDaysPerWeek(),r=new fi(t.year,t.month,1),a=e.getWeekday(r)%i;return e.getPrev(r,"d",(i+a-n)%i)}(e,t,c);for(var h=0;h<e.getWeeksPerMonth();h++){var f=r.weeks[h];f||(f=r.weeks[h]={number:0,days:[],collapsed:!0});for(var p=f.days,g=0;g<e.getDaysPerWeek();g++){0===h&&(r.weekdays[g]=e.getWeekday(t));var v=new fi(t.year,t.month,t.day),m=e.getNext(v),b=i.getDayAriaLabel(v),y=!!(o&&v.before(o)||s&&v.after(s));!y&&l&&(y=l(v,{month:r.number,year:r.year}));var C=v.equals(d),_=a?a(v,{month:r.number,year:r.year}):void 0;null===r.firstDate&&v.month===r.number&&(r.firstDate=v),v.month===r.number&&m.month!==r.number&&(r.lastDate=v);var w=p[g];w||(w=p[g]={}),w.date=v,w.context=Object.assign(w.context||{},{$implicit:v,date:v,data:_,currentMonth:r.number,currentYear:r.year,disabled:y,focused:!1,selected:!1,today:C}),w.tabindex=-1,w.ariaLabel=b,w.hidden=!1,t=m}f.number=e.getWeekNumber(p.map((function(e){return e.date})),c),f.collapsed="collapsed"===u&&p[0].date.month!==r.number&&p[p.length-1].date.month!==r.number}return r}(e,t,n,i,s.shift()||{}))})),o}(this._calendar,o,a,this._i18n,"dayTemplateData"in e||"firstDayOfWeek"in e||"markDisabled"in e||"minDate"in e||"maxDate"in e||"disabled"in e||"outsideDays"in e);a.months=s,a.firstDate=s[0].firstDate,a.lastDate=s[s.length-1].lastDate,"selectedDate"in e&&!xi(a.selectedDate,a)&&(a.selectedDate=null),"firstDate"in e&&(!a.focusDate||a.focusDate.before(a.firstDate)||a.focusDate.after(a.lastDate))&&(a.focusDate=o);var c=!this._state.firstDate||this._state.firstDate.year!==a.firstDate.year,l=!this._state.firstDate||this._state.firstDate.month!==a.firstDate.month;"select"===a.navigation?(("minDate"in e||"maxDate"in e||0===a.selectBoxes.years.length||c)&&(a.selectBoxes.years=function(e,t,n){if(!e)return[];for(var i=t?Math.max(t.year,e.year-500):e.year-10,r=(n?Math.min(n.year,e.year+500):e.year+10)-i+1,a=Array(r),o=0;o<r;o++)a[o]=i+o;return a}(a.firstDate,a.minDate,a.maxDate)),("minDate"in e||"maxDate"in e||0===a.selectBoxes.months.length||c)&&(a.selectBoxes.months=function(e,t,n,i){if(!t)return[];var r=e.getMonths(t.year);if(n&&t.year===n.year){var a=r.findIndex((function(e){return e===n.month}));r=r.slice(a)}if(i&&t.year===i.year){var o=r.findIndex((function(e){return e===i.month}));r=r.slice(0,o+1)}return r}(this._calendar,a.firstDate,a.minDate,a.maxDate))):a.selectBoxes={years:[],months:[]},"arrows"!==a.navigation&&"select"!==a.navigation||!(l||c||"minDate"in e||"maxDate"in e||"disabled"in e)||(a.prevDisabled=a.disabled||(t=this._calendar,n=a.firstDate,i=a.minDate,r=Object.assign(t.getPrev(n,"m"),{day:1}),null!=i&&(r.year===i.year&&r.month<i.month||r.year<i.year&&1===i.month)),a.nextDisabled=a.disabled||function(e,t,n){var i=Object.assign(e.getNext(t,"m"),{day:1});return null!=n&&i.after(n)}(this._calendar,a.lastDate,a.maxDate))}return a}},{key:"model$",get:function(){return this._model$.pipe(Object(O.a)((function(e){return e.months.length>0})))}},{key:"dateSelect$",get:function(){return this._dateSelect$.pipe(Object(O.a)((function(e){return null!==e})))}}]),e}()).\u0275fac=function(e){return new(e||Oi)(i.Mc(yi),i.Mc(Mi))},Oi.\u0275prov=i.uc({token:Oi,factory:Oi.\u0275fac}),Oi),ji=function(e){return e[e.PREV=0]="PREV",e[e.NEXT=1]="NEXT",e}({}),Ai=((Ei=function e(){_classCallCheck(this,e),this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekdays=!0,this.showWeekNumbers=!1}).\u0275fac=function(e){return new(e||Ei)},Ei.\u0275prov=Object(i.uc)({factory:function(){return new Ei},token:Ei,providedIn:"root"}),Ei);function Ti(){return new Bi}var zi,Li,Ni,Ri,Fi,Vi,Ui,Hi=((Li=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Li)}
1,Li.\u0275prov=Object(i.uc)({factory:Ti,token:Li,providedIn:"root"}),Li),Bi=((zi=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"fromModel",value:function(e){return e&&hn(e.year)&&hn(e.month)&&hn(e.day)?{year:e.year,month:e.month,day:e.day}:null}},{key:"toModel",value:function(e){return e&&hn(e.year)&&hn(e.month)&&hn(e.day)?{year:e.year,month:e.month,day:e.day}:null}}]),n}(Hi)).\u0275fac=function(e){return Es(e||zi)},zi.\u0275prov=i.uc({token:zi,factory:zi.\u0275fac}),zi),qi={provide:a.o,useExisting:Object(i.cb)((function(){return Wi})),multi:!0},$i=((Ri=function e(t){_classCallCheck(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||Ri)(i.yc(i.U))},Ri.\u0275dir=i.tc({type:Ri,selectors:[["ng-template","ngbDatepickerContent",""]]}),Ri),Wi=((Ni=function(){function e(t,n,r,a,s,c,l,u){var d=this;_classCallCheck(this,e),this._service=t,this._calendar=n,this.i18n=r,this._elementRef=c,this._ngbDateAdapter=l,this._ngZone=u,this._controlValue=null,this._destroyed$=new o.a,this._publicState={},this.navigate=new i.s,this.dateSelect=new i.s,this.select=this.dateSelect,this.onChange=function(e){},this.onTouched=function(){},["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekdays","showWeekNumbers","startDate"].forEach((function(e){return d[e]=a[e]})),t.dateSelect$.pipe(Object(x.a)(this._destroyed$)).subscribe((function(e){d.dateSelect.emit(e)})),t.model$.pipe(Object(x.a)(this._destroyed$)).subscribe((function(e){var t=e.firstDate,n=d.model?d.model.firstDate:null;d._publicState={maxDate:e.maxDate,minDate:e.minDate,firstDate:e.firstDate,lastDate:e.lastDate,focusedDate:e.focusDate,months:e.months.map((function(e){return e.firstDate}))};var i=!1;if(t.equals(n)||(d.navigate.emit({current:n?{year:n.year,month:n.month}:null,next:{year:t.year,month:t.month},preventDefault:function(){return i=!0}}),!i||null===n)){var r=e.selectedDate,a=e.focusDate,o=d.model?d.model.focusDate:null;d.model=e,_i(r,d._controlValue)&&(d._controlValue=r,d.onTouched(),d.onChange(d._ngbDateAdapter.toModel(r))),_i(a,o)&&o&&e.focusVisible&&d.focus(),s.markForCheck()}else d._service.open(n)}))}return _createClass(e,[{key:"focusDate",value:function(e){this._service.focus(fi.from(e))}},{key:"focusSelect",value:function(){this._service.focusSelect()}},{key:"focus",value:function(){var e=this;this._ngZone.onStable.asObservable().pipe(Object(S.a)(1)).subscribe((function(){var t=e._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');t&&t.focus()}))}},{key:"navigateTo",value:function(e){this._service.open(fi.from(e?e.day?e:Object.assign(Object.assign({},e),{day:1}):null))}},{key:"ngAfterViewInit",value:function(){var e=this;this._ngZone.runOutsideAngular((function(){var t=Object(d.a)(e._contentEl.nativeElement,"focusin"),n=Object(d.a)(e._contentEl.nativeElement,"focusout"),i=e._elementRef.nativeElement;Object(h.a)(t,n).pipe(Object(O.a)((function(e){var t=e.target,n=e.relatedTarget;return!(gn(t,"ngb-dp-day")&&gn(n,"ngb-dp-day")&&i.contains(t)&&i.contains(n))})),Object(x.a)(e._destroyed$)).subscribe((function(t){var n=t.type;return e._ngZone.run((function(){return e._service.set({focusVisible:"focusin"===n})}))}))}))}},{key:"ngOnDestroy",value:function(){this._destroyed$.next()}},{key:"ngOnInit",value:function(){var e=this;if(void 0===this.model){var t={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays"].forEach((function(n){return t[n]=e[n]})),this._service.set(t),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}},{key:"ngOnChanges",value:function(e){var t=this,n={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays"].filter((function(t){return t in e})).forEach((function(e){return n[e]=t[e]})),this._service.set(n),"startDate"in e){var i=e.startDate,r=i.currentValue;wi(i.previousValue,r)&&this.navigateTo(this.startDate)}}},{key:"onDateSelect",value:function(e){this._service.focus(e),this._service.select(e,{emitEvent:!0})}},{key:"onNavigateDateSelect",value:function(e){this._service.open(e)}},{key:"onNavigateEvent",value:function(e){switch(e){case ji.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case ji.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._service.set({disabled:e})}},{key:"writeValue",value:function(e){this._controlValue=fi.from(this._ngbDateAdapter.fromModel(e)),this._service.select(this._controlValue)}},{key:"state",get:function(){return this._publicState}},{key:"calendar",get:function(){return this._calendar}}]),e}()).\u0275fac=function(e){return new(e||Ni)(i.yc(Di),i.yc(yi),i.yc(Mi),i.yc(Ai),i.yc(i.j),i.yc(i.q),i.yc(Hi),i.yc(i.F))},Ni.\u0275cmp=i.sc({type:Ni,selectors:[["ngb-datepicker"]],contentQueries:function(e,t,n){var r;1&e&&i.td(n,$i,!0),2&e&&i.jd(r=i.Rc())&&(t.contentTemplate=r.first)},viewQuery:function(e,t){var n;1&e&&(i.ud(Q,!0),i.ud(K,!0)),2&e&&(i.jd(n=i.Rc())&&(t._defaultDayTemplate=n.first),i.jd(n=i.Rc())&&(t._contentEl=n.first))},inputs:{dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate"},outputs:{navigate:"navigate",dateSelect:"dateSelect",select:"select"},exportAs:["ngbDatepicker"],features:[i.ic([qi,Di]),i.hc],decls:10,vars:5,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],["content",""],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select"]],template:function(e,t){if(1&e&&(i.xd(0,J,1,5,"ng-template",null,0,i.yd),i.xd(2,ne,1,1,"ng-template",null,1,i.yd),i.Ec(4,"div",2),i.xd(5,ie,1,7,"ngb-datepicker-navigation",3),i.Dc(),i.Ec(6,"div",4,5),i.xd(8,re,0,0,"ng-template",6),i.Dc(),i.xd(9,ae,0,0,"ng-template",6)),2&e){var n=i.kd(3);i.jc(5),i.bd("ngIf","none"!==t.navigation),i.jc(1),i.pc("ngb-dp-months",!t.contentTemplate),i.jc(2),i.bd("ngTemplateOutlet",(null==t.contentTemplate?null:t.contentTemplate.templateRef)||n),i.jc(1),i.bd("ngTemplateOutlet",t.footerTemplate)}},directives:function(){return[r.u,r.B,Jr,r.t,Zi,Yi]},styles:["ngb-datepicker{border:1px solid #dfdfdf;border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}
1.ngb-dp-body{z-index:1050}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-months{display:-ms-flexbox;display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}"],encapsulation:2,changeDetection:0}),Ni),Gi=function(e){return e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.Space=32]="Space",e[e.PageUp=33]="PageUp",e[e.PageDown=34]="PageDown",e[e.End=35]="End",e[e.Home=36]="Home",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowUp=38]="ArrowUp",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowDown=40]="ArrowDown",e}({}),Xi=((Ui=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"processKey",value:function(e,t){var n=t.state,i=t.calendar;switch(e.which){case Gi.PageUp:t.focusDate(i.getPrev(n.focusedDate,e.shiftKey?"y":"m",1));break;case Gi.PageDown:t.focusDate(i.getNext(n.focusedDate,e.shiftKey?"y":"m",1));break;case Gi.End:t.focusDate(e.shiftKey?n.maxDate:n.lastDate);break;case Gi.Home:t.focusDate(e.shiftKey?n.minDate:n.firstDate);break;case Gi.ArrowLeft:t.focusDate(i.getPrev(n.focusedDate,"d",1));break;case Gi.ArrowUp:t.focusDate(i.getPrev(n.focusedDate,"d",i.getDaysPerWeek()));break;case Gi.ArrowRight:t.focusDate(i.getNext(n.focusedDate,"d",1));break;case Gi.ArrowDown:t.focusDate(i.getNext(n.focusedDate,"d",i.getDaysPerWeek()));break;case Gi.Enter:case Gi.Space:t.focusSelect();break;default:return}e.preventDefault(),e.stopPropagation()}}]),e}()).\u0275fac=function(e){return new(e||Ui)},Ui.\u0275prov=Object(i.uc)({factory:function(){return new Ui},token:Ui,providedIn:"root"}),Ui),Zi=((Vi=function(){function e(t,n,i,r){_classCallCheck(this,e),this.i18n=t,this.datepicker=n,this._keyboardService=i,this._service=r}return _createClass(e,[{key:"onKeyDown",value:function(e){this._keyboardService.processKey(e,this.datepicker)}},{key:"doSelect",value:function(e){e.context.disabled||e.hidden||this.datepicker.onDateSelect(e.date)}},{key:"month",set:function(e){this.viewModel=this._service.getMonth(e)}}]),e}()).\u0275fac=function(e){return new(e||Vi)(i.yc(Mi),i.yc(Wi),i.yc(Xi),i.yc(Di))},Vi.\u0275cmp=i.sc({type:Vi,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(e,t){1&e&&i.Qc("keydown",(function(e){return t.onKeyDown(e)}))},inputs:{month:"month"},decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"tabindex","click"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(i.xd(0,ce,3,2,"div",0),i.xd(1,pe,1,1,"ng-template",1)),2&e&&(i.bd("ngIf",t.datepicker.showWeekdays),i.jc(1),i.bd("ngForOf",t.viewModel.weeks))},directives:[r.u,r.t,r.B],styles:['ngb-datepicker-month{display:block}.ngb-dp-week-number,.ngb-dp-weekday{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:#5bc0de;color:var(--info)}.ngb-dp-week{border-radius:.25rem;display:-ms-flexbox;display:flex}.ngb-dp-weekdays{border-bottom:1px solid rgba(0,0,0,.125);border-radius:0;background-color:#f8f9fa;background-color:var(--light)}.ngb-dp-day,.ngb-dp-week-number,.ngb-dp-weekday{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}'],encapsulation:2}),Vi),Yi=((Fi=function(){function e(t){_classCallCheck(this,e),this.i18n=t,this.navigation=ji,this.months=[],this.navigate=new i.s,this.select=new i.s}return _createClass(e,[{key:"onClickPrev",value:function(e){e.currentTarget.focu
1s(),this.navigate.emit(this.navigation.PREV)}},{key:"onClickNext",value:function(e){e.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}}]),e}()).\u0275fac=function(e){return new(e||Fi)(i.yc(Mi))},Fi.\u0275cmp=i.sc({type:Fi,selectors:[["ngb-datepicker-navigation"]],inputs:{months:"months",date:"date",disabled:"disabled",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},decls:10,vars:4,consts:[[1,"ngb-dp-arrow"],["type","button",1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click",6,"aria-label","title"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years","select"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.Ec(1,"button",1),i.Kc(2,ge),i.Qc("click",(function(e){return t.onClickPrev(e)})),i.zc(3,"span",2),i.Dc(),i.Dc(),i.xd(4,me,1,4,"ngb-datepicker-navigation-select",3),i.xd(5,_e,1,1,void 0,4),i.Ec(6,"div",5),i.Ec(7,"button",1),i.Kc(8,ve),i.Qc("click",(function(e){return t.onClickNext(e)})),i.zc(9,"span",2),i.Dc(),i.Dc()),2&e&&(i.jc(1),i.bd("disabled",t.prevDisabled),i.jc(3),i.bd("ngIf",t.showSelect),i.jc(1),i.bd("ngIf",!t.showSelect),i.jc(2),i.bd("disabled",t.nextDisabled))},directives:function(){return[r.u,ea,r.t]},styles:["ngb-datepicker-navigation{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;-webkit-transform:rotate(-135deg);transform:rotate(-135deg)}.right .ngb-dp-navigation-chevron{-webkit-transform:rotate(45deg);transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{-ms-flex-pack:end;justify-content:flex-end}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:-ms-flexbox;display:flex;-ms-flex:1 1 9rem;flex:1 1 9rem}"],encapsulation:2,changeDetection:0}),Fi),Qi=function(e,t){return!!t&&t.some((function(t){return t.contains(e)}))},Ki=function(e,t){return!t||null!=function(e,t){return t?void 0===e.closest?null:e.closest(t):null}(e,t)},Ji="undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function er(e,t,n,i,r,a,o,s){var c;n&&e.runOutsideAngular((c=function(){var c=Object(d.a)(t,"keydown").pipe(Object(x.a)(r),Object(O.a)((function(e){return e.which===Gi.Escape})),Object(P.a)((function(e){return e.preventDefault()}))),l=Object(d.a)(t,"mousedown").pipe(Object(C.a)((function(e){var t=e.target;return 2!==e.button&&!Qi(t,o)&&("inside"===n?Qi(t,a)&&Ki(t,s):"outside"===n?!Qi(t,a):Ki(t,s)||!Qi(t,a))})),Object(x.a)(r)),u=Object(d.a)(t,"mouseup").pipe(E(l),Object(O.a)((function(e){var t=_slicedToArray2(e,2);t[0];return t[1]})),Object(D.a)(0),Object(x.a)(r));(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){if(!Object(f.a)(t[0]))return t[0];t=t[0]}return Object(p.a)(t,void 0).lift(new m)})([c.pipe(Object(C.a)((function(e){return 0}))),u.pipe(Object(C.a)((function(e){return 1})))]).subscribe((function(t){return e.run((function(){return i(t)}))}))},Ji?function(){return setTimeout((function(){return c()}),100)}:c))}var tr=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not
1([tabindex="-1"])'].join(", ");function nr(e){var t=Array.from(e.querySelectorAll(tr)).filter((function(e){return-1!==e.tabIndex}));return[t[0],t[t.length-1]]}var ir=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.runOutsideAngular((function(){var e=Object(d.a)(t,"focusin").pipe(Object(x.a)(n),Object(C.a)((function(e){return e.target})));Object(d.a)(t,"keydown").pipe(Object(x.a)(n),Object(O.a)((function(e){return e.which===Gi.Tab})),E(e)).subscribe((function(e){var n=_slicedToArray2(e,2),i=n[0],r=n[1],a=_slicedToArray2(nr(t),2),o=a[0],s=a[1];r!==o&&r!==t||!i.shiftKey||(s.focus(),i.preventDefault()),r!==s||i.shiftKey||(o.focus(),i.preventDefault())})),i&&Object(d.a)(t,"click").pipe(Object(x.a)(n),E(e),Object(C.a)((function(e){return e[1]}))).subscribe((function(e){return e.focus()}))}))},rr=/\s+/,ar=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"getAllStyles",value:function(e){return window.getComputedStyle(e)}},{key:"getStyle",value:function(e,t){return this.getAllStyles(e)[t]}},{key:"isStaticPositioned",value:function(e){return"static"===(this.getStyle(e,"position")||"static")}},{key:"offsetParent",value:function(e){for(var t=e.offsetParent||document.documentElement;t&&t!==document.documentElement&&this.isStaticPositioned(t);)t=t.offsetParent;return t||document.documentElement}},{key:"position",value:function(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(e,"position"))t={top:(t=e.getBoundingClientRect()).top,bottom:t.bottom,left:t.left,right:t.right,height:t.height,width:t.width};else{var r=this.offsetParent(e);t=this.offset(e,!1),r!==document.documentElement&&(i=this.offset(r,!1)),i.top+=r.clientTop,i.left+=r.clientLeft}return t.top-=i.top,t.bottom-=i.top,t.left-=i.left,t.right-=i.left,n&&(t.top=Math.round(t.top),t.bottom=Math.round(t.bottom),t.left=Math.round(t.left),t.right=Math.round(t.right)),t}},{key:"offset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.getBoundingClientRect(),i=window.pageYOffset-document.documentElement.clientTop,r=window.pageXOffset-document.documentElement.clientLeft,a={height:n.height||e.offsetHeight,width:n.width||e.offsetWidth,top:n.top+i,bottom:n.bottom+i,left:n.left+r,right:n.right+r};return t&&(a.height=Math.round(a.height),a.width=Math.round(a.width),a.top=Math.round(a.top),a.bottom=Math.round(a.bottom),a.left=Math.round(a.left),a.right=Math.round(a.right)),a}},{key:"positionElements",value:function(e,t,n,i){var r=_slicedToArray2(n.split("-"),2),a=r[0],o=void 0===a?"top":a,s=r[1],c=void 0===s?"center":s,l=i?this.offset(e,!1):this.position(e,!1),u=this.getAllStyles(t),d=parseFloat(u.marginTop),h=parseFloat(u.marginBottom),f=parseFloat(u.marginLeft),p=parseFloat(u.marginRight),g=0,v=0;switch(o){case"top":g=l.top-(t.offsetHeight+d+h);break;case"bottom":g=l.top+l.height;break;case"left":v=l.left-(t.offsetWidth+f+p);break;case"right":v=l.left+l.width}switch(c){case"top":g=l.top;break;case"bottom":g=l.top+l.height-t.offsetHeight;break;case"left":v=l.left;break;case"right":v=l.left+l.width-t.offsetWidth;break;case"center":"top"===o||"bottom"===o?v=l.left+l.width/2-t.offsetWidth/2:g=l.top+l.height/2-t.offsetHeight/2}t.style.transform="translate(".concat(Math.round(v),"px, ").concat(Math.round(g),"px)");var m=t.getBoundingClientRect(),b=document.documentElement,y=window.innerHeight||b.clientHeight,C=window.innerWidth||b.clientWidth;return m.left>=0&&m.top>=0&&m.right<=C&&m.bottom<=y}}]),e}());function or(e,t,n,i,r){var a=Array.isArray(n)?n:n.split(rr),o=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],s=t.classList,c=function(e){var t=_slicedToArray2(e.split("-"),2),n=t[0],i=t[1],a=[];return r&&(a.push("".concat(r,"-").concat(n)),i&&a.push("".concat(r,"-").concat(n,"-").concat(i)),a.forEach((function(e){s.add(e)}))),a};r&&o.forEach((function(e){s.remove("".concat(r,"-").concat(e))}));var l=a.findIndex((function(e){return"auto"===e}));l>=0&&o.forEach((function(e){null==a.find((function(t){return-1!==t.search("^"+e)}))&&a.splice(l++,1,e)}));var u=t.style;u.position="absolute",u.top="0",u.left="0",u["will-change"]="transform";var d,h=null,f=!1,p=_createForOfIteratorHelper(a);try{for(p.s();!(d=p.n()).done;){var g=c(h=d.value);if(ar.positionElements(e,t,h,i)){f=!0;break}r&&g.forEach((function(e){s.remove(e)}))}}catch(v){p.e(v)}finally{p.f()}return f||(c(h=a[0]),ar.positionElements(e,t,h,i)),h}function sr(){return new Xr}var cr,lr,ur,dr,hr,fr,pr,gr,vr,mr,br,yr,Cr,_r,wr,kr,xr,Or,Sr,Pr,Er,Mr,Ir,Dr,jr,Ar,Tr,zr,Lr,Nr,Rr,Fr,Vr,Ur,Hr,Br,qr,$r,Wr,Gr=((ur=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||ur)},ur.\u0275prov=Object(i.uc)({factory:sr,token:ur,providedIn:"root"}),ur),Xr=((lr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"parse",value:function(e){if(null!=e){var t=e.trim().split("-");if(1===t.length&&dn(t[0]))return{year:sn(t[0]),month:null,day:null};if(2===t.length&&dn(t[0])&&dn(t[1]))return{year:sn(t[0]),month:sn(t[1]),day:null};if(3===t.length&&dn(t[0])&&dn(t[1])&&dn(t[2]))return{year:sn(t[0]),month:sn(t[1]),day:sn(t[2])}}return null}},{key:"format",value:function(e){return e?"".concat(e.year,"-").concat(dn(e.month)?pn(e.month):"","-").concat(dn(e.day)?pn(e.day):""):""}}]),n}(Gr)).\u0275fac=function(e){return Ms(e||lr)},lr.\u0275prov=i.uc({token:lr,factory:lr.\u0275fac}),lr),Zr=((cr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).autoClose=!0,e.placement=["bottom-left","bottom-right","top-left","top-right"],e.restoreFocus=!0,e}return n}(Ai)).\u0275fac=function(e){return Is(e||cr)},cr.\u0275prov=Object(i.uc)({factory:function(){return new cr},token:cr,providedIn:"root"}),cr),Yr={provide:a.o,useExisting:Object(i.cb)((function(){return Kr})),multi:!0},Qr={provide:a.n,useExisting:Object(i.cb)((function(){return Kr})),multi:!0},Kr=((gr=function(){function e(t,n,r,a,o,s,c,l,u,d,h){var f=this;_classCallCheck(this,e),this._parserFormatter=t,this._elRef=n,this._vcRef=r,this._renderer=a,this._cfr=o,this._ngZone=s,this._calendar=c,this._dateAdapter=l,this._document=u,this._changeDetector=d,this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this.dateSelect=new i.s,this.navigate=new i.s,this.closed=new i.s,this._onChange=function(e){},this._onTouched=function(){}
1,this._validatorChange=function(){},["autoClose","container","positionTarget","placement"].forEach((function(e){return f[e]=h[e]})),this._zoneSubscription=s.onStable.subscribe((function(){return f._updatePopupPosition()}))}return _createClass(e,[{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"registerOnValidatorChange",value:function(e){this._validatorChange=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"validate",value:function(e){var t=e.value;if(null!=t){var n=this._fromDateStruct(this._dateAdapter.fromModel(t));if(!n)return{ngbDate:{invalid:t}};if(this.minDate&&n.before(fi.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:t}}};if(this.maxDate&&n.after(fi.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:t}}}}return null}},{key:"writeValue",value:function(e){this._model=this._fromDateStruct(this._dateAdapter.fromModel(e)),this._writeModelValue(this._model)}},{key:"manualDateChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e!==this._inputValue;n&&(this._inputValue=e,this._model=this._fromDateStruct(this._parserFormatter.parse(e))),!n&&t||this._onChange(this._model?this._dateAdapter.toModel(this._model):""===e?null:e),t&&this._model&&this._writeModelValue(this._model)}},{key:"isOpen",value:function(){return!!this._cRef}},{key:"open",value:function(){var e=this;if(!this.isOpen()){var t=this._cfr.resolveComponentFactory(Wi);this._cRef=this._vcRef.createComponent(t),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange((function(t){e.writeValue(t),e._onChange(t),e._onTouched()})),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,ir(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),this._cRef.instance.focus(),er(this._ngZone,this._document,this.autoClose,(function(){return e.close()}),this.closed,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}}},{key:"close",value:function(){if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this.closed.emit(),this._changeDetector.markForCheck();var e=this._elWithFocus;un(this.restoreFocus)?e=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&(e=this.restoreFocus),e&&e.focus?e.focus():this._document.body.focus()}}},{key:"toggle",value:function(){this.isOpen()?this.close():this.open()}},{key:"navigateTo",value:function(e){this.isOpen()&&this._cRef.instance.navigateTo(e)}},{key:"onBlur",value:function(){this._onTouched()}},{key:"onFocus",value:function(){this._elWithFocus=this._elRef.nativeElement}},{key:"ngOnChanges",value:function(e){(e.minDate||e.maxDate)&&(this._validatorChange(),this.isOpen()&&(e.minDate&&(this._cRef.instance.minDate=this.minDate),e.maxDate&&(this._cRef.instance.maxDate=this.maxDate),this._cRef.instance.ngOnChanges(e)))}},{key:"ngOnDestroy",value:function(){this.close(),this._zoneSubscription.unsubscribe()}},{key:"_applyDatepickerInputs",value:function(e){var t=this;["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekdays","showWeekNumbers"].forEach((function(n){void 0!==t[n]&&(e[n]=t[n])})),e.startDate=this.startDate||this._model}},{key:"_applyPopupStyling",value:function(e){this._renderer.addClass(e,"dropdown-menu"),this._renderer.addClass(e,"show"),"body"===this.container&&this._renderer.addClass(e,"ngb-dp-body")}},{key:"_subscribeForDatepickerOutputs",value:function(e){var t=this;e.navigate.subscribe((function(e){return t.navigate.emit(e)})),e.dateSelect.subscribe((function(e){t.dateSelect.emit(e),!0!==t.autoClose&&"inside"!==t.autoClose||t.close()}))}},{key:"_writeModelValue",value:function(e){var t=this._parserFormatter.format(e);this._inputValue=t,this._renderer.setProperty(this._elRef.nativeElement,"value",t),this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(e)),this._onTouched())}},{key:"_fromDateStruct",value:function(e){var t=e?new fi(e.year,e.month,e.day):null;return this._calendar.isValid(t)?t:null}},{key:"_updatePopupPosition",value:function(){if(this._cRef){var e;if(e=un(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this.positionTarget&&!e)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");or(e,this._cRef.location.nativeElement,this.placement,"body"===this.container)}}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=""===e||e&&"false"!==e,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}}]),e}()).\u0275fac=function(e){return new(e||gr)(i.yc(Gr),i.yc(i.q),i.yc(i.X),i.yc(i.L),i.yc(i.n),i.yc(i.F),i.yc(yi),i.yc(Hi),i.yc(r.e),i.yc(i.j),i.yc(Zr))},gr.\u0275dir=i.tc({type:gr,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(e,t){1&e&&i.Qc("input",(function(e){return t.manualDateChange(e.target.value)}))("change",(function(e){return t.manualDateChange(e.target.value,!0)}))("focus",(function(){return t.onFocus()}))("blur",(function(){return t.onBlur()})),2&e&&i.Hc("disabled",t.disabled)},inputs:{disabled:"disabled",autoClose:"autoClose",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",restoreFocus:"restoreFocus",showWeekdays:"showWeekdays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],features:[i.ic([Yr,Qr,{provide:Ai,useExisting:Zr}]),i.hc]}),gr),Jr=((pr=function(){function e(t){_classCallCheck(this,e),this.i18n=t}return _createClass(e,[{key:"isMuted",value:function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}}]),e}()).\u0275fac=function(e){return new(e||pr)(i.yc(Mi))},pr.\u0275cmp=i.sc({type:pr,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(e,t){2&e&&i.pc("bg-primary",t.selected)("text-white",t.selected)("text-muted",t.isMuted())("outside",t.isMuted())("active",t.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},attrs:we,decls:1,vars:1,template:function(e,t){1&e&&i.zd(0),2&e&&i.Ad(t.i18n.getDayNumerals(t.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:0 0}[ngbDatepickerDayView].outside{opacity:.5}"],encapsulation:2,changeDetection:0}),pr),ea=((fr=function(){function e(t,n){_classCallCheck(this,e),this.i18n=t,this._renderer=n,this.select=new i.s,this._month=-1,this._year=-1}return _createClass(e,[{key:"changeMonth",value:function(e){this.select.emit(new fi(this.date.year,sn(e),1))}},{key:"changeYear",value:function(e){this.select.emit(new fi(sn(e),this.date.month,1))}},{key:"ngAfterViewChecked",value:function(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}}]),e}()).\u0275fac=function(e){return new(e||fr)(i.yc(Mi),i.yc(i.L))},fr.\u0275cmp=i.sc({type:fr,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(e,t){var n;1&e&&(i.ud(ke,!0,i.q),i.ud(xe,!0,i.q)),2&e&&(i.jd(n=i.Rc())&&(t.monthSelect=n.first),i.jd(n=i.Rc())&&(t.yearSelect=n.first))},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},decls:8,vars:4,consts:[[1,"custom-select",3,"disabled","change",6,"aria-label","t
1itle"],["month",""],[3,"value",4,"ngFor","ngForOf"],["year",""],[3,"value"]],template:function(e,t){1&e&&(i.Ec(0,"select",0,1),i.Kc(2,Oe),i.Qc("change",(function(e){return t.changeMonth(e.target.value)})),i.xd(3,Pe,2,3,"option",2),i.Dc(),i.Ec(4,"select",0,3),i.Kc(6,Se),i.Qc("change",(function(e){return t.changeYear(e.target.value)})),i.xd(7,Ee,2,2,"option",2),i.Dc()),2&e&&(i.bd("disabled",t.disabled),i.jc(3),i.bd("ngForOf",t.months),i.jc(1),i.bd("disabled",t.disabled),i.jc(3),i.bd("ngForOf",t.years))},directives:[r.t,a.u,a.E],styles:["ngb-datepicker-navigation-select>.custom-select{-ms-flex:1 1 auto;flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.custom-select:focus{z-index:1}ngb-datepicker-navigation-select>.custom-select::-ms-value{background-color:transparent!important}"],encapsulation:2,changeDetection:0}),fr),ta=((hr=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:hr}),hr.\u0275inj=i.vc({factory:function(e){return new(e||hr)},imports:[[r.c,a.k]]}),hr),na=((dr=function e(){_classCallCheck(this,e),this.autoClose=!0,this.placement=["bottom-left","bottom-right","top-left","top-right"]}).\u0275fac=function(e){return new(e||dr)},dr.\u0275prov=Object(i.uc)({factory:function(){return new dr},token:dr,providedIn:"root"}),dr),ia=((xr=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||xr)},xr.\u0275dir=i.tc({type:xr,selectors:[["",8,"navbar"]]}),xr),ra=((kr=function(){function e(t){_classCallCheck(this,e),this.elementRef=t,this._disabled=!1}return _createClass(e,[{key:"disabled",set:function(e){this._disabled=""===e||!0===e},get:function(){return this._disabled}}]),e}()).\u0275fac=function(e){return new(e||kr)(i.yc(i.q))},kr.\u0275dir=i.tc({type:kr,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:2,hostBindings:function(e,t){2&e&&i.pc("disabled",t.disabled)},inputs:{disabled:"disabled"}}),kr),aa=((wr=function e(t,n){_classCallCheck(this,e),this.dropdown=t,this.placement="bottom",this.isOpen=!1,this.nativeElement=n.nativeElement}).\u0275fac=function(e){return new(e||wr)(i.yc(Object(i.cb)((function(){return ca}))),i.yc(i.q))},wr.\u0275dir=i.tc({type:wr,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(e,t,n){var r;1&e&&i.qc(n,ra,!1),2&e&&i.jd(r=i.Rc())&&(t.menuItems=r)},hostVars:5,hostBindings:function(e,t){1&e&&i.Qc("keydown.ArrowUp",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.ArrowDown",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Home",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.End",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Enter",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Space",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Tab",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Shift.Tab",(function(e){return t.dropdown.onKeyDown(e)})),2&e&&(i.kc("x-placement",t.placement),i.pc("dropdown-menu",!0)("show",t.dropdown.isOpen()))}}),wr),oa=((_r=function e(t,n){_classCallCheck(this,e),this.dropdown=t,this.nativeElement=n.nativeElement}).\u0275fac=function(e){return new(e||_r)(i.yc(Object(i.cb)((function(){return ca}))),i.yc(i.q))},_r.\u0275dir=i.tc({type:_r,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:["aria-haspopup","true",1,"dropdown-toggle"],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("aria-expanded",t.dropdown.isOpen())}}),_r),sa=((Cr=vr=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){return _classCallCheck(this,n),t.call(this,e,i)}return n}(oa)).\u0275fac=function(e){return new(e||Cr)(i.yc(Object(i.cb)((function(){return ca}))),i.yc(i.q))},Cr.\u0275dir=i.tc({type:Cr,selectors:[["","ngbDropdownToggle",""]],hostAttrs:["aria-haspopup","true",1,"dropdown-toggle"],hostVars:1,hostBindings:function(e,t){1&e&&i.Qc("click",(function(){return t.dropdown.toggle()}))("keydown.ArrowUp",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.ArrowDown",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Home",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.End",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Tab",(function(e){return t.dropdown.onKeyDown(e)}))("keydown.Shift.Tab",(function(e){return t.dropdown.onKeyDown(e)})),2&e&&i.kc("aria-expanded",t.dropdown.isOpen())},features:[i.ic([{provide:oa,useExisting:Object(i.cb)((function(){return vr}))}]),i.gc]}),Cr),ca=((yr=function(){function e(t,n,r,a,s,c,l){var u=this;_classCallCheck(this,e),this._changeDetector=t,this._document=r,this._ngZone=a,this._elementRef=s,this._renderer=c,this._closed$=new o.a,this._bodyContainer=null,this._open=!1,this.openChange=new i.s,this.placement=n.placement,this.container=n.container,this.autoClose=n.autoClose,this.display=l?"static":"dynamic",this._zoneSubscription=a.onStable.subscribe((function(){u._positionMenu()}))}return _createClass(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._ngZone.onStable.pipe(Object(S.a)(1)).subscribe((function(){e._applyPlacementClasses(),e._open&&e._setCloseHandlers()}))}},{key:"ngOnChanges",value:function(e){e.container&&this._open&&this._applyContainer(this.container),e.placement&&!e.placement.isFirstChange&&this._applyPlacementClasses()}},{key:"isOpen",value:function(){return this._open}},{key:"open",value:function(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&this._anchor.nativeElement.focus())}},{key:"_setCloseHandlers",value:function(){var e=this;er(this._ngZone,this._document,this.autoClose,(function(t){e.close(),0===t&&e._anch
1or.nativeElement.focus()}),this._closed$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}},{key:"close",value:function(){this._open&&(this._open=!1,this._resetContainer(),this._closed$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}},{key:"toggle",value:function(){this.isOpen()?this.close():this.open()}},{key:"ngOnDestroy",value:function(){this._resetContainer(),this._closed$.next(),this._zoneSubscription.unsubscribe()}},{key:"onKeyDown",value:function(e){var t=this,n=e.which,i=this._getMenuElements(),r=-1,a=null,o=this._isEventFromToggle(e);if(!o&&i.length&&i.forEach((function(n,i){n.contains(e.target)&&(a=n),n===t._document.activeElement&&(r=i)})),n!==Gi.Space&&n!==Gi.Enter){if(n!==Gi.Tab){if(o||a){if(this.open(),i.length){switch(n){case Gi.ArrowDown:r=Math.min(r+1,i.length-1);break;case Gi.ArrowUp:if(this._isDropup()&&-1===r){r=i.length-1;break}r=Math.max(r-1,0);break;case Gi.Home:r=0;break;case Gi.End:r=i.length-1}i[r].focus()}e.preventDefault()}}else if(e.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===e.target)return void("body"!==this.container||e.shiftKey?e.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){var s=this._menu.nativeElement.querySelectorAll(tr);e.shiftKey&&e.target===s[0]?(this._anchor.nativeElement.focus(),e.preventDefault()):e.shiftKey||e.target!==s[s.length-1]||(this._anchor.nativeElement.focus(),this.close())}else Object(d.a)(e.target,"focusout").pipe(Object(S.a)(1)).subscribe((function(e){var n=e.relatedTarget;t._elementRef.nativeElement.contains(n)||t.close()}))}}else!a||!0!==this.autoClose&&"inside"!==this.autoClose||Object(d.a)(a,"click").pipe(Object(S.a)(1)).subscribe((function(){return t.close()}))}},{key:"_isDropup",value:function(){return this._elementRef.nativeElement.classList.contains("dropup")}},{key:"_isEventFromToggle",value:function(e){return this._anchor.nativeElement.contains(e.target)}},{key:"_getMenuElements",value:function(){var e=this._menu;return null==e?[]:e.menuItems.filter((function(e){return!e.disabled})).map((function(e){return e.elementRef.nativeElement}))}},{key:"_positionMenu",value:function(){var e=this._menu;this.isOpen()&&e&&this._applyPlacementClasses("dynamic"===this.display?or(this._anchor.nativeElement,this._bodyContainer||this._menu.nativeElement,this.placement,"body"===this.container):this._getFirstPlacement(this.placement))}},{key:"_getFirstPlacement",value:function(e){return Array.isArray(e)?e[0]:e.split(" ")[0]}},{key:"_resetContainer",value:function(){var e=this._renderer;if(this._menu){var t=this._menu.nativeElement;e.appendChild(this._elementRef.nativeElement,t),e.removeStyle(t,"position"),e.removeStyle(t,"transform")}this._bodyContainer&&(e.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}},{key:"_applyContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this._resetContainer(),"body"===e){var t=this._renderer,n=this._menu.nativeElement,i=this._bodyContainer=this._bodyContainer||t.createElement("div");t.setStyle(i,"position","absolute"),t.setStyle(n,"position","static"),t.setStyle(i,"z-index","1050"),t.appendChild(i,n),t.appendChild(this._document.body,i)}}},{key:"_applyPlacementClasses",value:function(e){var t=this._menu;if(t){e||(e=this._getFirstPlacement(this.placement));var n=this._renderer,i=this._elementRef.nativeElement;n.removeClass(i,"dropup"),n.removeClass(i,"dropdown"),t.placement="static"===this.display?null:e;var r=-1!==e.search("^top")?"dropup":"dropdown";n.addClass(i,r);var a=this._bodyContainer;a&&(n.removeClass(a,"dropup"),n.removeClass(a,"dropdown"),n.addClass(a,r))}}}]),e}()).\u0275fac=function(e){return new(e||yr)(i.yc(i.j),i.yc(na),i.yc(r.e),i.yc(i.F),i.yc(i.q),i.yc(i.L),i.yc(ia,8))},yr.\u0275dir=i.tc({type:yr,selectors:[["","ngbDropdown",""]],contentQueries:function(e,t,n){var r;1&e&&(i.qc(n,aa,!0),i.qc(n,oa,!0)),2&e&&(i.jd(r=i.Rc())&&(t._menu=r.first),i.jd(r=i.Rc())&&(t._anchor=r.first))},hostVars:2,hostBindings:function(e,t){2&e&&i.pc("show",t.isOpen())},inputs:{_open:["open","_open"],placement:"placement",container:"container",autoClose:"autoClose",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[i.hc]}),yr),la=((br=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:br}),br.\u0275inj=i.vc({factory:function(e){return new(e||br)}}),br),ua=((mr=function e(){_classCallCheck(this,e),this.backdrop=!0,this.keyboard=!0}).\u0275fac=function(e){return new(e||mr)},mr.\u0275prov=Object(i.uc)({factory:function(){return new mr},token:mr,providedIn:"root"}),mr),da=function e(t,n,i){_classCallCheck(this,e),this.nodes=t,this.viewRef=n,this.componentRef=i},ha=function(){function e(t,n,i,r,a,o){_classCallCheck(this,e),this._type=t,this._injector=n,this._viewContainerRef
1=i,this._renderer=r,this._componentFactoryResolver=a,this._applicationRef=o,this._windowRef=null,this._contentRef=null}return _createClass(e,[{key:"open",value:function(e,t){return this._windowRef||(this._contentRef=this._getContentRef(e,t),this._windowRef=this._viewContainerRef.createComponent(this._componentFactoryResolver.resolveComponentFactory(this._type),this._viewContainerRef.length,this._injector,this._contentRef.nodes)),this._windowRef}},{key:"close",value:function(){var e;this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,(null===(e=this._contentRef)||void 0===e?void 0:e.viewRef)&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null))}},{key:"_getContentRef",value:function(e,t){if(e){if(e instanceof i.U){var n=e.createEmbeddedView(t);return this._applicationRef.attachView(n),new da([n.rootNodes],n)}return new da([[this._renderer.createText(""+e)]])}return new da([])}}]),e}(),fa=function(){},pa=((Sr=function(){function e(t){_classCallCheck(this,e),this._document=t}return _createClass(e,[{key:"compensate",value:function(){var e=this._getWidth();return this._isPresent(e)?this._adjustBody(e):fa}},{key:"_adjustBody",value:function(e){var t=this._document.body,n=t.style.paddingRight,i=parseFloat(window.getComputedStyle(t)["padding-right"]);return t.style["padding-right"]=i+e+"px",function(){return t.style["padding-right"]=n}}},{key:"_isPresent",value:function(e){var t=this._document.body.getBoundingClientRect();return window.innerWidth-(t.left+t.right)>=e-.1*e}},{key:"_getWidth",value:function(){var e=this._document.createElement("div");e.className="modal-scrollbar-measure";var t=this._document.body;t.appendChild(e);var n=e.getBoundingClientRect().width-e.clientWidth;return t.removeChild(e),n}}]),e}()).\u0275fac=function(e){return new(e||Sr)(i.Mc(r.e))},Sr.\u0275prov=Object(i.uc)({factory:function(){return new Sr(Object(i.Mc)(r.e))},token:Sr,providedIn:"root"}),Sr),ga=((Or=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Or)},Or.\u0275cmp=i.sc({type:Or,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:2,hostBindings:function(e,t){2&e&&i.lc("modal-backdrop fade show"+(t.backdropClass?" "+t.backdropClass:""))},inputs:{backdropClass:"backdropClass"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),Or),va=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"close",value:function(e){}},{key:"dismiss",value:function(e){}}]),e}(),ma=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this._windowCmptRef=t,this._contentRef=n,this._backdropCmptRef=i,this._beforeDismiss=r,t.instance.dismissEvent.subscribe((function(e){a.dismiss(e)})),this.result=new Promise((function(e,t){a._resolve=e,a._reject=t})),this.result.then(null,(function(){}))}return _createClass(e,[{key:"close",value:function(e){this._windowCmptRef&&(this._resolve(e),this._removeModalElements())}},{key:"_dismiss",value:function(e){this._reject(e),this._removeModalElements()}},{key:"dismiss",value:function(e){var t=this;if(this._windowCmptRef)if(this._beforeDismiss){var n=this._beforeDismiss();n&&n.then?n.then((function(n){!1!==n&&t._dismiss(e)}),(function(){})):!1!==n&&this._dismiss(e)}else this._dismiss(e)}},{key:"_removeModalElements",value:function(){var e=this._windowCmptRef.location.nativeElement;if(e.parentNode.removeChild(e),this._windowCmptRef.destroy(),this._backdropCmptRef){var t=this._backdropCmptRef.location.nativeElement;t.parentNode.removeChild(t),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null}},{key:"componentInstance",get:function(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}}]),e}(),ba=function(e){return e[e.BACKDROP_CLICK=0]="BACKDROP_CLICK",e[e.ESC=1]="ESC",e}({}),ya=((Dr=function(){function e(t,n,r){_classCallCheck(this,e),this._document=t,this._elRef=n,this._zone=r,this._closed$=new o.a,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new i.s}return _createClass(e,[{key:"dismiss",value:function(e){this.dismissEvent.emit(e)}},{key:"ngOnInit",value:function(){this._elWithFocus=this._document.activeElement}},{key:"ngAfterViewInit",value:function(){var e=this,t=this._elRef.nativeElement;if(this._zone.runOutsideAngular((function(){Object(d.a)(t,"keydown").pipe(Object(x.a)(e._closed$),Object(O.a)((function(t){return t.which===Gi.Escape&&e.keyboard}))).subscribe((function(t){return requestAnimationFrame((function(){t.defaultPrevented||e._zone.run((function(){return e.dismiss(ba.ESC)}))}))}));var n=!1;Object(d.a)(e._dialogEl.nativeElement,"mousedown").pipe(Object(x.a)(e._closed$),Object(P.a)((function(){return n=!1})),Object(k.a)((function(){return Object(d.a)(t,"mouseup").pipe(Object(x.a)(e._closed$),Object(S.a)(1))})),Object(O.a)((function(e){var n=e.target;return t===n}))).subscribe((function(){n=!0})),Object(d.a)(t,"click").pipe(Object(x.a)(e._closed$)).subscribe((function(i){var r=i.target;!0!==e.backdrop||t!==r||n||e._zone.run((function(){return e.dismiss(ba.BACKDROP_CLICK)})),n=!1}))}
1)),!t.contains(document.activeElement)){var n=t.querySelector("[ngbAutofocus]"),i=nr(t)[0];(n||i||t).focus()}}},{key:"ngOnDestroy",value:function(){var e,t=this,n=this._document.body,i=this._elWithFocus;e=i&&i.focus&&n.contains(i)?i:n,this._zone.runOutsideAngular((function(){setTimeout((function(){return e.focus()})),t._elWithFocus=null})),this._closed$.next()}}]),e}()).\u0275fac=function(e){return new(e||Dr)(i.yc(r.e),i.yc(i.q),i.yc(i.F))},Dr.\u0275cmp=i.sc({type:Dr,selectors:[["ngb-modal-window"]],viewQuery:function(e,t){var n;1&e&&i.ud(Me,!0),2&e&&i.jd(n=i.Rc())&&(t._dialogEl=n.first)},hostAttrs:["role","dialog","tabindex","-1"],hostVars:5,hostBindings:function(e,t){2&e&&(i.kc("aria-modal",!0)("aria-labelledby",t.ariaLabelledBy)("aria-describedby",t.ariaDescribedBy),i.lc("modal fade show d-block"+(t.windowClass?" "+t.windowClass:"")))},inputs:{backdrop:"backdrop",keyboard:"keyboard",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",centered:"centered",scrollable:"scrollable",size:"size",windowClass:"windowClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:q,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(e,t){1&e&&(i.ad(),i.Ec(0,"div",0,1),i.Ec(2,"div",2),i.Zc(3),i.Dc(),i.Dc()),2&e&&i.lc("modal-dialog"+(t.size?" modal-"+t.size:"")+(t.centered?" modal-dialog-centered":"")+(t.scrollable?" modal-dialog-scrollable":""))},styles:["ngb-modal-window .component-host-scrollable{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}"],encapsulation:2}),Dr),Ca=((Ir=function(){function e(t,n,r,a,s,c){var l=this;_classCallCheck(this,e),this._applicationRef=t,this._injector=n,this._document=r,this._scrollBar=a,this._rendererFactory=s,this._ngZone=c,this._activeWindowCmptHasChanged=new o.a,this._ariaHiddenValues=new Map,this._backdropAttributes=["backdropClass"],this._modalRefs=[],this._windowAttributes=["ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass"],this._windowCmpts=[],this._activeInstances=new i.s,this._activeWindowCmptHasChanged.subscribe((function(){if(l._windowCmpts.length){var e=l._windowCmpts[l._windowCmpts.length-1];ir(l._ngZone,e.location.nativeElement,l._activeWindowCmptHasChanged),l._revertAriaHidden(),l._setAriaHidden(e.location.nativeElement)}}))}return _createClass(e,[{key:"open",value:function(e,t,n,i){var r=this,a=i.container instanceof HTMLElement?i.container:fn(i.container)?this._document.querySelector(i.container):this._document.body,o=this._rendererFactory.createRenderer(null,null),s=this._scrollBar.compensate(),c=function(){r._modalRef
1s.length||(o.removeClass(r._document.body,"modal-open"),r._revertAriaHidden())};if(!a)throw new Error('The specified modal container "'.concat(i.container||"body",'" was not found in the DOM.'));var l=new va,u=this._getContentRef(e,i.injector||t,n,l,i),d=!1!==i.backdrop?this._attachBackdrop(e,a):void 0,h=this._attachWindowComponent(e,a,u),f=new ma(h,u,d,i.beforeDismiss);return this._registerModalRef(f),this._registerWindowCmpt(h),f.result.then(s,s),f.result.then(c,c),l.close=function(e){f.close(e)},l.dismiss=function(e){f.dismiss(e)},this._applyWindowOptions(h.instance,i),1===this._modalRefs.length&&o.addClass(this._document.body,"modal-open"),d&&d.instance&&this._applyBackdropOptions(d.instance,i),f}},{key:"dismissAll",value:function(e){this._modalRefs.forEach((function(t){return t.dismiss(e)}))}},{key:"hasOpenModals",value:function(){return this._modalRefs.length>0}},{key:"_attachBackdrop",value:function(e,t){var n=e.resolveComponentFactory(ga).create(this._injector);return this._applicationRef.attachView(n.hostView),t.appendChild(n.location.nativeElement),n}},{key:"_attachWindowComponent",value:function(e,t,n){var i=e.resolveComponentFactory(ya).create(this._injector,n.nodes);return this._applicationRef.attachView(i.hostView),t.appendChild(i.location.nativeElement),i}},{key:"_applyWindowOptions",value:function(e,t){this._windowAttributes.forEach((function(n){fn(t[n])&&(e[n]=t[n])}))}},{key:"_applyBackdropOptions",value:function(e,t){this._backdropAttributes.forEach((function(n){fn(t[n])&&(e[n]=t[n])}))}},{key:"_getContentRef",value:function(e,t,n,r,a){return n?n instanceof i.U?this._createFromTemplateRef(n,r):un(n)?this._createFromString(n):this._createFromComponent(e,t,n,r,a):new da([])}},{key:"_createFromTemplateRef",value:function(e,t){var n=e.createEmbeddedView({$implicit:t,close:function(e){t.close(e)},dismiss:function(e){t.dismiss(e)}});return this._applicationRef.attachView(n),new da([n.rootNodes],n)}},{key:"_createFromString",value:function(e){var t=this._document.createTextNode(""+e);return new da([[t]])}},{key:"_createFromComponent",value:function(e,t,n,r,a){var o=e.resolveComponentFactory(n),s=i.w.create({providers:[{provide:va,useValue:r}],parent:t}),c=o.create(s),l=c.location.nativeElement;return a.scrollable&&l.classList.add("component-host-scrollable"),this._applicationRef.attachView(c.hostView),new da([[l]],c.hostView,c)}},{key:"_setAriaHidden",value:function(e){var t=this,n=e.parentElement;n&&e!==this._document.body&&(Array.from(n.children).forEach((function(n){n!==e&&"SCRIPT"!==n.nodeName&&(t._ariaHiddenValues.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))})),this._setAriaHidden(n))}},{key:"_revertAriaHidden",value:function(){this._ariaHiddenValues.forEach((function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")})),this._ariaHiddenValues.clear()}},{key:"_registerModalRef",value:function(e){var t=this,n=function(){var n=t._modalRefs.indexOf(e);n>-1&&(t._modalRefs.splice(n,1),t._activeInstances.emit(t._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(n,n)}},{key:"_registerWindowCmpt",value:function(e){var t=this;this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy((function(){var n=t._windowCmpts.indexOf(e);n>-1&&(t._windowCmpts.splice(n,1),t._activeWindowCmptHasChanged.next())}))}},{key:"activeInstances",get:function(){return this._activeInstances}}]),e}()).\u0275fac=function(e){return new(e||Ir)(i.Mc(i.g),i.Mc(i.w),i.Mc(r.e),i.Mc(pa),i.Mc(i.M),i.Mc(i.F))},Ir.\u0275prov=Object(i.uc)({factory:function(){return new Ir(Object(i.Mc)(i.g),Object(i.Mc)(i.t),Object(i.Mc)(r.e),Object(i.Mc)(pa),Object(i.Mc)(i.M),Object(i.Mc)(i.F))},token:Ir,providedIn:"root"}),Ir),_a=((Mr=function(){function e(t,n,i,r){_classCallCheck(this,e),this._moduleCFR=t,this._injector=n,this._modalStack=i,this._config=r}return _createClass(e,[{key:"open",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},this._config,t);return this._modalStack.open(this._moduleCFR,this._injector,e,n)}},{key:"dismissAll",value:function(e){this._modalStack.dismissAll(e)}},{key:"hasOpenModals",value:function(){return this._modalStack.hasOpenModals()}},{key:"activeInstances",get:function(){return this._modalStack.activeInstances}}]),e}()).\u0275fac=function(e){return new(e||Mr)(i.Mc(i.n),i.Mc(i.w),i.Mc(Ca),i.Mc(ua))},Mr.\u0275prov=Object(i.uc)({factory:function(){return new Mr(Object(i.Mc)(i.n),Object(i.Mc)(i.t),Object(i.Mc)(Ca),Object(i.Mc)(ua))},token:Mr,providedIn:"root"}),Mr),wa=((Er=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:Er}),Er.\u0275inj=i.vc({factory:function(e){return new(e||Er)},providers:[_a]}),Er),ka=((Pr=function e(){_classCallCheck(this,e),this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!1}).\u0275fac=function(e){return new(e||Pr)},Pr.\u0275prov=Object(i.uc)({factory:function(){return new Pr},token:Pr,providedIn:"root"}),Pr),xa=function(e){return fn(e)&&""!==e}
1,Oa=0,Sa=((Wr=function e(t){_classCallCheck(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||Wr)(i.yc(i.U))},Wr.\u0275dir=i.tc({type:Wr,selectors:[["ng-template","ngbNavContent",""]]}),Wr),Pa=(($r=function(){function e(t,n){_classCallCheck(this,e),this.elementRef=n,this.disabled=!1,this._nav=t}return _createClass(e,[{key:"ngAfterContentChecked",value:function(){this.contentTpl=this.contentTpls.first}},{key:"ngOnInit",value:function(){fn(this.domId)||(this.domId="ngb-nav-"+Oa++)}},{key:"isPanelInDom",value:function(){return(fn(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}},{key:"active",get:function(){return this._nav.activeId===this.id}},{key:"id",get:function(){return xa(this._id)?this._id:this.domId}},{key:"panelDomId",get:function(){return this.domId+"-panel"}}]),e}()).\u0275fac=function(e){return new(e||$r)(i.yc(Object(i.cb)((function(){return Ea}))),i.yc(i.q))},$r.\u0275dir=i.tc({type:$r,selectors:[["","ngbNavItem",""]],contentQueries:function(e,t,n){var r;1&e&&i.qc(n,Sa,!1),2&e&&i.jd(r=i.Rc())&&(t.contentTpls=r)},hostVars:2,hostBindings:function(e,t){2&e&&i.pc("nav-item",!0)},inputs:{disabled:"disabled",domId:"domId",destroyOnHide:"destroyOnHide",_id:["ngbNavItem","_id"]},exportAs:["ngbNavItem"]}),$r),Ea=((qr=function(){function e(t,n,r,a){_classCallCheck(this,e),this.role=t,this._cd=r,this._document=a,this.activeIdChange=new i.s,this.navChange=new i.s,this.destroyOnHide=n.destroyOnHide,this.orientation=n.orientation,this.roles=n.roles,this.keyboard=n.keyboard}return _createClass(e,[{key:"click",value:function(e){e.disabled||this._updateActiveId(e.id)}},{key:"onKeyDown",value:function(e){var t=this;if("tablist"===this.roles&&this.keyboard){var n=e.which,i=this.links.filter((function(e){return!e.navItem.disabled})),r=i.length,a=-1;if(i.forEach((function(e,n){e.elRef.nativeElement===t._document.activeElement&&(a=n)})),r){switch(n){case Gi.ArrowLeft:if("vertical"===this.orientation)return;a=(a-1+r)%r;break;case Gi.ArrowRight:if("vertical"===this.orientation)return;a=(a+1)%r;break;case Gi.ArrowDown:if("horizontal"===this.orientation)return;a=(a+1)%r;break;case Gi.ArrowUp:if("horizontal"===this.orientation)return;a=(a-1+r)%r;break;case Gi.Home:a=0;break;case Gi.End:a=r-1}"changeWithArrows"===this.keyboard&&this.select(i[a].navItem.id),i[a].elRef.nativeElement.focus(),e.preventDefault()}}}},{key:"select",value:function(e){this._updateActiveId(e,!1)}},{key:"ngAfterContentInit",value:function(){if(!fn(this.activeId)){var e=this.items.first?this.items.first.id:null;xa(e)&&(this._updateActiveId(e,!1),this._cd.detectChanges())}}},{key:"_updateActiveId",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.activeId!==e){var n=!1;t&&this.navChange.emit({activeId:this.activeId,nextId:e,preventDefault:function(){n=!0}}),n||(this.activeId=e,this.activeIdChange.emit(e))}}}]),e}()).\u0275fac=function(e){return new(e||qr)(i.Nc("role"),i.yc(ka),i.yc(i.j),i.yc(r.e))},qr.\u0275dir=i.tc({type:qr,selectors:[["","ngbNav",""]],contentQueries:function(e,t,n){var r;1&e&&(i.qc(n,Pa,!1),i.qc(n,Ma,!0)),2&e&&(i.jd(r=i.Rc())&&(t.items=r),i.jd(r=i.Rc())&&(t.links=r))},hostVars:6,hostBindings:function(e,t){1&e&&i.Qc("keydown.arrowLeft",(function(e){return t.onKeyDown(e)}))("keydown.arrowRight",(function(e){return t.onKeyDown(e)}))("keydown.arrowDown",(function(e){return t.onKeyDown(e)}))("keydown.arrowUp",(function(e){return t.onKeyDown(e)}))("keydown.Home",(function(e){return t.onKeyDown(e)}))("keydown.End",(function(e){return t.onKeyDown(e)})),2&e&&(i.kc("aria-orientation","vertical"===t.orientation&&"tablist"===t.roles?"vertical":void 0)("role",t.role?t.role:t.roles?"tablist":void 0),i.pc("nav",!0)("flex-column","vertical"===t.orientation))},inputs:{destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard",activeId:"activeId"},outputs:{activeIdChange:"activeIdChange",navChange:"navChange"},exportAs:["ngbNav"]}),qr),Ma=((Br=function(){function e(t,n,i,r){_classCallCheck(this,e),this.role=t,this.navItem=n,this.nav=i,this.elRef=r}return _createClass(e,[{key:"hasNavItemClass",value:function(){return this.navItem.elementRef.nativeElement.nodeType===Node.COMMENT_NODE}}]),e}()).\u0275fac=function(e){return new(e||Br)(i.Nc("role"),i.yc(Pa),i.yc(Ea),i.yc(i.q))}
1,Br.\u0275dir=i.tc({type:Br,selectors:[["a","ngbNavLink",""]],hostAttrs:["href",""],hostVars:14,hostBindings:function(e,t){1&e&&i.Qc("click",(function(e){return t.nav.click(t.navItem),e.preventDefault()})),2&e&&(i.Hc("id",t.navItem.domId),i.kc("role",t.role?t.role:t.nav.roles?"tab":void 0)("tabindex",t.navItem.disabled?-1:void 0)("aria-controls",t.navItem.isPanelInDom()?t.navItem.panelDomId:null)("aria-selected",t.navItem.active)("aria-disabled",t.navItem.disabled),i.pc("nav-link",!0)("nav-item",t.hasNavItemClass())("active",t.navItem.active)("disabled",t.navItem.disabled))}}),Br),Ia=((Hr=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Hr)},Hr.\u0275cmp=i.sc({type:Hr,selectors:[["","ngbNavOutlet",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.pc("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},attrs:Ie,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["class","tab-pane",3,"id","active",4,"ngIf"],[1,"tab-pane",3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&i.xd(0,Re,1,1,"ng-template",0),2&e&&i.bd("ngForOf",t.nav.items)},directives:[r.t,r.u,r.B],encapsulation:2}),Hr),Da=((Ur=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:Ur}),Ur.\u0275inj=i.vc({factory:function(e){return new(e||Ur)},imports:[[r.c]]}),Ur),ja=((Vr=function e(){_classCallCheck(this,e),this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}).\u0275fac=function(e){return new(e||Vr)},Vr.\u0275prov=Object(i.uc)({factory:function(){return new Vr},token:Vr,providedIn:"root"}),Vr),Aa=((Fr=function e(t){_classCallCheck(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||Fr)(i.yc(i.U))},Fr.\u0275dir=i.tc({type:Fr,selectors:[["ng-template","ngbPaginationEllipsis",""]]}),Fr),Ta=((Rr=function e(t){_classCallCheck(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||Rr)(i.yc(i.U))},Rr.\u0275dir=i.tc({type:Rr,selectors:[["ng-template","ngbPaginationFirst",""]]}),Rr),za=((Nr=function e(t){_classCallCheck(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||Nr)(i.yc(i.U))},Nr.\u0275dir=i.tc({type:Nr,selectors:[["ng-template","ngbPaginationLast",""]]}),Nr),La=((Lr=function e(t){_classCallCheck(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||Lr)(i.yc(i.U))},Lr.\u0275dir=i.tc({type:Lr,selectors:[["ng-template","ngbPaginationNext",""]]}),Lr),Na=((zr=function e(t){_classCallCheck(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||zr)(i.yc(i.U))},zr.\u0275dir=i.tc({type:zr,selectors:[["ng-template","ngbPaginationNumber",""]]}),zr),Ra=((Tr=function e(t){_classCallCheck(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||Tr)(i.yc(i.U))},Tr.\u0275dir=i.tc({type:Tr,selectors:[["ng-template","ngbPaginationPrevious",""]]}),Tr),Fa=((Ar=function(){function e(t){_classCallCheck(this,e),this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new i.s(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}return _createClass(e,[{key:"hasPrevious",value:function(){return this.page>1}},{key:"hasNext",value:function(){return this.page<this.pageCount}},{key:"nextDisabled",value:function(){return!this.hasNext()||this.disabled}},{key:"previousDisabled",value:function(){return!this.hasPrevious()||this.disabled}},{key:"selectPage",value:function(e){this._updatePages(e)}},{key:"ngOnChanges",value:function(e){this._updatePages(this.page)}},{key:"isEllipsis",value:function(e){return-1===e}},{key:"_applyEllipses",value:function(e,t){this.ellipses&&(e>0&&(e>2?this.pages.unshift(-1):2===e&&this.pages.unshift(2),this.pages.unshift(1)),t<this.pageCount&&(t<this.pageCount-2?this.pages.push(-1):t===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}},{key:"_applyRotation",value:function(){var e=0,t=this.pageCount,n=Math.floor(this.maxSize/2);return this.page<=n?t=this.maxSize:this.pageCount-this.page<n?e=this.pageCount-this.maxSize:(e=this.page-n-1,t=this.page+(this.maxSize%2==0?n-1:n)),[e,t]}},{key:"_applyPagination",value:function(){var e=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[e,e+this.maxSize]}},{key:"_setPageInRange",value:function(e){var t=this.page;this.page=ln(e,this.pageCount,1),this.page!==t&&dn(this.collectionSize)&&this.pageChange.emit(this.page)}},{key:"_updatePages",value:function(e){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),dn(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(var t=1;t<=this.pageCount;t++)this.pages.push(t);if(this._setPageInRange(e),this.maxSize>0&&this.pageCount>this.maxSize){var n,i,r=this.pageCount;i=(n=_slicedToArray2(this.rotate?this._applyRotation():this._applyPagination(),2))[0],r=n[1],this.pages=this.pages.slice(i,r),this._applyEllipses(i,r)}}}]),e}()).\u0275fac=function(e){return new(e||Ar)(i.yc(ja))},Ar.\u0275cmp=i.sc({type:Ar,selectors:[["ngb-pagination"]],contentQueries:function(e,t,n){var r;1&e&&(i.qc(n,Aa,!0),i.qc(n,Ta,!0),i.qc(n,za,!0),i.qc(n,La,!0),i.qc(n,Na,!0),i.qc(n,Ra,!0)),2&e&&(i.jd(r=i.Rc())&&(t.tplEllipsis=r.first),i.jd(r=i.Rc())&&(t.tplFirst=r.first),i.jd(r=i.Rc())&&(t.tplLast=r.first),i.jd(r=i.Rc())&&(t.tplNext=r.first),i.jd(r=i.Rc())&&(t.tplNumber=r.first),i.jd(r=i.Rc())&&(t.tplPrevious=r.first))},hostAttrs:["role","navigation"],inputs:{page:"page",disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",maxSize:"maxSize",pageSize:"pageSize",rotate:"rotate",size:"size",collectionSize:"collectionSize"},outputs:{pageChange:"pageChange"},features:[i.hc],decls:18,vars:7,consts:[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["class","page-item",3,"disabled",4,"ngIf"],["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],["aria-hidden","true"],["class","sr-only",4,"ngIf"],[1,"sr-only"],[1,"page-item"],["href","",1,"page-link",3,"click",6,"aria-label"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"]],template:function(e,t){1&e&&(i.xd(0,Fe,2,0,"ng-template",null,0,i.yd),i.xd(2,Ve,2,0,"ng-template",null,1,i.yd),i.xd(4,Ue,2,0,"ng-template",null,2,i.yd),i.xd(6,He,2,0,"ng-template",null,3,i.yd
1),i.xd(8,Be,1,0,"ng-template",null,4,i.yd),i.xd(10,$e,2,2,"ng-template",null,5,i.yd),i.Ec(12,"ul"),i.xd(13,Ze,4,9,"li",6),i.xd(14,Je,4,8,"li",6),i.xd(15,ot,3,7,"li",7),i.xd(16,lt,4,9,"li",6),i.xd(17,ft,4,9,"li",6),i.Dc()),2&e&&(i.jc(12),i.lc("pagination"+(t.size?" pagination-"+t.size:"")),i.jc(1),i.bd("ngIf",t.boundaryLinks),i.jc(1),i.bd("ngIf",t.directionLinks),i.jc(1),i.bd("ngForOf",t.pages),i.jc(1),i.bd("ngIf",t.directionLinks),i.jc(1),i.bd("ngIf",t.boundaryLinks))},directives:[r.u,r.t,r.B],encapsulation:2,changeDetection:0}),Ar),Va=((jr=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:jr}),jr.\u0275inj=i.vc({factory:function(e){return new(e||jr)},imports:[[r.c]]}),jr),Ua=function(){function e(t,n){_classCallCheck(this,e),this.open=t,this.close=n,n||(this.close=t)}return _createClass(e,[{key:"isManual",value:function(){return"manual"===this.open||"manual"===this.close}}]),e}(),Ha={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]},Ba=function(e){return e>0?Object(D.a)(e):function(e){return e}};function qa(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ha,n=(e||"").trim();if(0===n.length)return[];var i=n.split(/\s+/).map((function(e){return e.split(":")})).map((function(e){var n=t[e[0]]||e;return new Ua(n[0],n[1])})),r=i.filter((function(e){return e.isManual()}));if(r.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===r.length&&i.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i}(n);if(1===c.length&&c[0].isManual())return function(){};var l=function(e,t,n,i){return new y.a((function(r){var a=[],o=function(){return r.next(!0)},s=function(){return r.next(!1)},c=function(){return r.next(!i())};return n.forEach((function(n){n.open===n.close?a.push(e.listen(t,n.open,c)):a.push(e.listen(t,n.open,o),e.listen(t,n.close,s))})),function(){a.forEach((function(e){return e()}))}}))}(e,t,c,i).pipe(function(e,t,n){return function(i){var r=null,a=i.pipe(Object(C.a)((function(e){return{open:e}})),Object(O.a)((function(e){var t=n();return t===e.open||r&&r.open!==t?(r&&r.open!==e.open&&(r=null),!1):(r=e,!0)})),Object(j.a)()),o=a.pipe(Object(O.a)((function(e){return e.open})),Ba(e)),s=a.pipe(Object(O.a)((function(e){return!e.open})),Ba(t));return Object(h.a)(o,s).pipe(Object(O.a)((function(e){return e===r&&(r=null,e.open!==n())})),Object(C.a)((function(e){return e.open})))}}(o,s,i)).subscribe((function(e){return e?r():a()}));return function(){return l.unsubscribe()}}var $a,Wa,Ga,Xa,Za,Ya,Qa,Ka,Ja,eo,to,no,io,ro,ao,oo,so,co=((Ka=function e(){_classCallCheck(this,e),this.autoClose=!0,this.placement="auto",this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}).\u0275fac=function(e){return new(e||Ka)},Ka.\u0275prov=Object(i.uc)({factory:function(){return new Ka},token:Ka,providedIn:"root"}),Ka),lo=0,uo=((Qa=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"isTitleTemplate",value:function(){return this.title instanceof i.U}}]),e}()).\u0275fac=function(e){return new(e||Qa)},Qa.\u0275cmp=i.sc({type:Qa,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip"],hostVars:3,hostBindings:function(e,t){2&e&&(i.Hc("id",t.id),i.lc("popover"+(t.popoverClass?" "+t.popoverClass:"")))},inputs:{title:"title",id:"id",popoverClass:"popoverClass",context:"context"},ngContentSelectors:q,decls:4,vars:1,consts:[[1,"arrow"],["class","popover-header",4,"ngIf"],[1,"popover-body"],[1,"popover-header"],["simpleTitle",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(i.ad(),i.zc(0,"div",0),i.xd(1,vt,4,2,"h3",1),i.Ec(2,"div",2),i.Zc(3),i.Dc()),2&e&&(i.jc(1),i.bd("ngIf",null!=t.title))},directives:[r.u,r.B],styles:["ngb-popover-window.bs-popover-bottom>.arrow,ngb-popover-window.bs-popover-top>.arrow{left:50%;margin-left:-.5rem}ngb-popover-window.bs-popover-bottom-left>.arrow,ngb-popover-window.bs-popover-top-left>.arrow{left:2em}ngb-popover-window.bs-popover-bottom-right>.arrow,ngb-popover-window.bs-popover-top-right>.arrow{left:auto;right:2em}ngb-popover-window.bs-popover-left>.arrow,ngb-popover-window.bs-popover-right>.arrow{top:50%;margin-top:-.5rem}ngb-popover-window.bs-popover-left-top>.arrow,ngb-popover-window.bs-popover-right-top>.arrow{top:.7em}ngb-popover-window.bs-popover-left-bottom>.arrow,ngb-popover-window.bs-popover-right-bottom>.arrow{top:auto;bottom:.7em}"],encapsulation:2,changeDetection:0}),Qa),ho=((Ya=function(){function e(t,n,r,a,o,s,c,l,u,d){var h=this;_classCallCheck(this,e),this._elementRef=t,this._renderer=n,this._ngZone=c,this._document=l,this._changeDetector=u,this.shown=new i.s,this.hidden=new i.s,this._ngbPopoverWindowId="ngb-popover-"+lo++,this._windowRef=null,this.autoClose=s.autoClose,this.placement=s.placement,this.triggers=s.triggers,this.container=s.container,this.disablePopover=s.disablePopover,this.popoverClass=s.popoverClass,this.openDelay=s.openDelay,this.closeDelay=s.closeDelay,this._popupService=new ha(uo,r,o,n,a,d),this._zoneSubscription=c.onStable.subscribe((function(){h._windowRef&&or(h._elementRef.nativeElement,h._windowRef.location.nativeElement,h.placement,"body"===h.container,"bs-popover")}))}return _createClass(e,[{key:"_isDisabled",value:function(){return!!this.disablePopover||!this.ngbPopover&&!this.popoverTitle}},{key:"open",value:function(e){var t=this;this._windowRef||this._isDisabled()||(this._windowRef=this._popupService.open(this.ngbPopover,e),this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.context=e,this._windowRef.instance.popoverClass=this.popoverClass,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),er(this._ngZone,this._document,this.autoClose,(function(){return t.close()}),this.hidden,[this._windowRef.location.nativeElement]),this.shown.emit())}},{key:"close",value:function(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit(),this._changeDetector.markForCheck())}},{key:"toggle",value:function(){this._windowRef?this.close():this.open()}},{key:"isOpen",value:function(){return null!=this._windowRef}},{key:"ngOnInit",value:function(){this._unregisterListenersFn=qa(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}},{key:"ngOnChanges",value:function(e){var t=e.ngbPopover,n=e.popoverTitle,i=e.disablePopover,r=e.popoverClass;r&&this.isOpen()&&(this._windowRef.instance.popoverClass=r.currentValue),(t||n||i)&&this._isDisabled()&&this.close()}},{key:"ngOnDestroy",value:function(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){return new(e||Ya)(i.yc(i.q),i.yc(i.L),i.yc(i.w),i.yc(i.n),i.yc(i.X),i.yc(co),i.yc(i.F),i.yc(r.e),i.yc(i.j),i.yc(i.g))},Ya.\u0275dir=i.tc({type:Ya,selectors:[["","ngbPopover",""]],inputs:{autoClose:"autoClose",placement:"placement",triggers:"triggers",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],features:[i.hc]}),Ya),fo=((Za=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:Za}),Za.\u0275inj=i.vc({factory:function(e){return new(e||Za)},imports:[[r.c]]}),Za),po=((Xa=function e(){_classCallCheck(this,e),this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}).\u0275fac=function(e){return new(e||Xa)},Xa.\u0275prov=Object(i.uc)({factory:function(){return new Xa},token:Xa,providedIn:"root"}),Xa),go=((Ga=function(){function e(t){_classCallCheck(this,e),this.value=0,this.max=t.max,this.animated=t.animated,this.striped=t.striped,this.textType=t.textType,this.type=t.type,this.showValue=t.showValue,this.height=t.height}return _createClass(e,[{key:"getValue",value:function(){return ln(this.value,this.max)}},{key:"getPercentValue",value:function(){return 100*this.getValue()/this.max}},{key:"max",set:function(e){this._max=!dn(e)||e<=0?100:e},get:function(){return this._max}}]),e}()).\u0275fac=function(e){return new(e||Ga)(i.yc(po))},Ga.\u0275cmp=i.sc({type:Ga,selectors:[["ngb-progressbar"]],inputs:{value:"value",max:"max",animated:"animated",striped:"str
1iped",textType:"textType",type:"type",showValue:"showValue",height:"height"},ngContentSelectors:q,decls:4,vars:13,consts:[[1,"progress"],["role","progressbar","aria-valuemin","0"],[4,"ngIf"]],template:function(e,t){1&e&&(i.ad(),i.Ec(0,"div",0),i.Ec(1,"div",1),i.xd(2,mt,3,3,"span",2),i.Zc(3),i.Dc(),i.Dc()),2&e&&(i.wd("height",t.height),i.jc(1),i.oc("progress-bar",t.type?" bg-"+t.type:"","",t.textType?" text-"+t.textType:"","\n      ",t.animated?" progress-bar-animated":"","",t.striped?" progress-bar-striped":"",""),i.wd("width",t.getPercentValue(),"%"),i.kc("aria-valuenow",t.getValue())("aria-valuemax",t.max),i.jc(1),i.bd("ngIf",t.showValue))},directives:[r.u],pipes:[r.D],encapsulation:2,changeDetection:0}),Ga),vo=((Wa=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:Wa}),Wa.\u0275inj=i.vc({factory:function(e){return new(e||Wa)},imports:[[r.c]]}),Wa),mo=(($a=function e(){_classCallCheck(this,e),this.max=10,this.readonly=!1,this.resettable=!1}).\u0275fac=function(e){return new(e||$a)},$a.\u0275prov=Object(i.uc)({factory:function(){return new $a},token:$a,providedIn:"root"}),$a),bo={provide:a.o,useExisting:Object(i.cb)((function(){return yo})),multi:!0},yo=((oo=function(){function e(t,n){_classCallCheck(this,e),this._changeDetectorRef=n,this.contexts=[],this.disabled=!1,this.hover=new i.s,this.leave=new i.s,this.rateChange=new i.s(!0),this.onChange=function(e){},this.onTouched=function(){},this.max=t.max,this.readonly=t.readonly}return _createClass(e,[{key:"ariaValueText",value:function(){return"".concat(this.nextRate," out of ").concat(this.max)}},{key:"enter",value:function(e){this.readonly||this.disabled||this._updateState(e),this.hover.emit(e)}},{key:"handleBlur",value:function(){this.onTouched()}},{key:"handleClick",value:function(e){this.readonly||this.disabled||this.update(this.resettable&&this.rate===e?0:e)}},{key:"handleKeyDown",value:function(e){switch(e.which){case Gi.ArrowDown:case Gi.ArrowLeft:this.update(this.rate-1);break;case Gi.ArrowUp:case Gi.ArrowRight:this.update(this.rate+1);break;case Gi.Home:this.update(0);break;case Gi.End:this.update(this.max);break;default:return}e.preventDefault()}},{key:"ngOnChanges",value:function(e){e.rate&&this.update(this.rate)}},{key:"ngOnInit",value:function(){this.contexts=Array.from({length:this.max},(function(e,t){return{fill:0,index:t}})),this._updateState(this.rate)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"reset",value:function(){this.leave.emit(this.nextRate),this._updateState(this.rate)}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"update",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=ln(e,this.max,0);this.readonly||this.disabled||this.rate===n||(this.rate=n,this.rateChange.emit(this.rate)),t&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)}},{key:"writeValue",value:function(e){this.update(e,!1),this._changeDetectorRef.markForCheck()}},{key:"_getFillValue",value:function(e){var t=this.nextRate-e;return t>=1?100:t<1&&t>0?parseInt((100*t).toFixed(2),10):0}},{key:"_updateState",value:function(e){var t=this;
1this.nextRate=e,this.contexts.forEach((function(e,n){return e.fill=t._getFillValue(n)}))}}]),e}()).\u0275fac=function(e){return new(e||oo)(i.yc(mo),i.yc(i.j))},oo.\u0275cmp=i.sc({type:oo,selectors:[["ngb-rating"]],contentQueries:function(e,t,n){var r;1&e&&i.qc(n,i.U,!0),2&e&&i.jd(r=i.Rc())&&(t.starTemplateFromContent=r.first)},hostAttrs:["role","slider","aria-valuemin","0",1,"d-inline-flex"],hostVars:5,hostBindings:function(e,t){1&e&&i.Qc("blur",(function(){return t.handleBlur()}))("keydown",(function(e){return t.handleKeyDown(e)}))("mouseleave",(function(){return t.reset()})),2&e&&(i.Hc("tabindex",t.disabled?-1:0),i.kc("aria-valuemax",t.max)("aria-valuenow",t.nextRate)("aria-valuetext",t.ariaValueText())("aria-disabled",!!t.readonly||null))},inputs:{max:"max",readonly:"readonly",rate:"rate",resettable:"resettable",starTemplate:"starTemplate"},outputs:{hover:"hover",leave:"leave",rateChange:"rateChange"},features:[i.ic([bo]),i.hc],decls:3,vars:1,consts:[["t",""],["ngFor","",3,"ngForOf"],[1,"sr-only"],[3,"mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(i.xd(0,bt,1,1,"ng-template",null,0,i.yd),i.xd(2,Ct,4,5,"ng-template",1)),2&e&&(i.jc(2),i.bd("ngForOf",t.contexts))},directives:[r.t,r.B],encapsulation:2,changeDetection:0}),oo),Co=((ao=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:ao}),ao.\u0275inj=i.vc({factory:function(e){return new(e||ao)},imports:[[r.c]]}),ao),_o=((ro=function e(){_classCallCheck(this,e),this.justify="start",this.orientation="horizontal",this.type="tabs"}).\u0275fac=function(e){return new(e||ro)},ro.\u0275prov=Object(i.uc)({factory:function(){return new ro},token:ro,providedIn:"root"}),ro),wo=0,ko=((io=function e(t){_classCallCheck(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||io)(i.yc(i.U))},io.\u0275dir=i.tc({type:io,selectors:[["ng-template","ngbTabTitle",""]]}),io),xo=((no=function e(t){_classCallCheck(this,e),this.templateRef=t}).\u0275fac=function(e){return new(e||no)(i.yc(i.U))},no.\u0275dir=i.tc({type:no,selectors:[["ng-template","ngbTabContent",""]]}),no),Oo=((to=function(){function e(){_classCallCheck(this,e),this.id="ngb-tab-"+wo++,this.disabled=!1}return _createClass(e,[{key:"ngAfterContentChecked",value:function(){this.titleTpl=this.titleTpls.first,this.contentTpl=this.contentTpls.first}}]),e}()).\u0275fac=function(e){return new(e||to)},to.\u0275dir=i.tc({type:to,selectors:[["ngb-tab"]],contentQueries:function(e,t,n){var r;1&e&&(i.qc(n,ko,!1),i.qc(n,xo,!1)),2&e&&(i.jd(r=i.Rc())&&(t.titleTpls=r),i.jd(r=i.Rc())&&(t.contentTpls=r))},inputs:{id:"id",disabled:"disabled",title:"title"}}),to),So=((eo=function(){function e(t){_classCallCheck(this,e),this.destroyOnHide=!0,this.tabChange=new i.s,this.type=t.type,this.justify=t.justify,this.orientation=t.orientation}return _createClass(e,[{key:"select",value:function(e){var t=this._getTabById(e);if(t&&!t.disabled&&this.activeId!==t.id){var n=!1;this.tabChange.emit({activeId:this.activeId,nextId:t.id,preventDefault:function(){n=!0}}),n||(this.activeId=t.id)}}},{key:"ngAfterContentChecked",value:function(){var e=this._getTabById(this.activeId);this.activeId=e?e.id:this.tabs.length?this.tabs.first.id:null}},{key:"_getTabById",value:function(e){var t=this.tabs.filter((function(t){return t.id===e}));return t.length?t[0]:null}},{key:"justify",set:function(e){this.justifyClass="fill"===e||"justified"===e?"nav-"+e:"justify-content-"+e}}]),e}()).\u0275fac=function(e){return new(e||eo)(i.yc(_o))},eo.\u0275cmp=i.sc({type:eo,selectors:[["ngb-tabset"]],contentQueries:function(e,t,n){var r;1&e&&i.qc(n,Oo,!1),2&e&&i.jd(r=i.Rc())&&(t.tabs=r)},inputs:{destroyOnHide:"destroyOnHide",type:"type",justify:"justify",orientation:"orientation",activeId:"activeId"},outputs:{tabChange:"tabChange"},exportAs:["ngbTabset"],decls:4,vars:4,consts:[["role","tablist"],["class","nav-item",4,"ngFor","ngForOf"],[1,"tab-content"],["ngFor","",3,"ngForOf"],[1,"nav-item"],["href","","role","tab",1,"nav-link",3,"id","click"],[3,"ngTemplateOutlet"],["role","tabpanel",3,"class","id",4,"ngIf"],["role","tabpanel",3,"id"]],template:function(e,t){1&e&&(i.Ec(0,"ul",0),i.xd(1,wt,4,11,"li",1),i.Dc(),i.Ec(2,"div",2),i.xd(3,Ot,1,1,"ng-template",3),i.Dc()),2&e&&(i.lc("nav nav-"+t.type+("horizontal"==t.orientation?" "+t.justifyClass:" flex-column")),i.jc(1),i.bd("ngForOf",t.tabs),i.jc(2),i.bd("ngForOf",t.tabs))},directives:[r.t,r.B,r.u],encapsulation:2}),eo),Po=((Ja=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:Ja}),Ja.\u0275inj=i.vc({factory:function(e){return new(e||Ja)},imports:[[r.c]]}),Ja),Eo=function(){function e(t,n,i){_classCallCheck(this,e),this.hour=sn(t),this.minute=sn(n),this.second=sn(i)}return _createClass(e,[{key:"changeHour",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.updateHour((isNaN(this.hour)?0:this.hour)+e)}},{key:"updateHour",value:function(e){this.hour=dn(e)?(e<0?24+e:e)%24:NaN}},{key:"changeMinute",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.updateMinute((isNaN(this.minute)?0:this.minute)+e)}},{key:"updateMinute",value:function(e){dn(e)?(this.minute=e%60<0?60+e%60:e%60,this.changeHour(Math.floor(e/60))):this.minute=NaN}},{key:"changeSecond",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.updateSecond((isNaN(this.second)?0:this.second)+e)}},{key:"updateSecond",value:function(e){dn(e)?(this.second=e<0?60+e%60:e%60,this.changeMinute(Math.floor(e/60))):this.second=NaN}},{key:"isValid",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return dn(this.hour)&&dn(this.minute)&&(!e||dn(this.second))}},{key:"toString",value:function(){return"".concat(this.hour||0,":").concat(this.minute||0,":").concat(this.second||0)}}]),e}(),Mo=((so=function e(){_classCallCheck(this,e),this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInput
1s=!1,this.size="medium"}).\u0275fac=function(e){return new(e||so)},so.\u0275prov=Object(i.uc)({factory:function(){return new so},token:so,providedIn:"root"}),so);function Io(){return new Xo}var Do,jo,Ao,To,zo,Lo,No,Ro,Fo,Vo,Uo,Ho,Bo,qo,$o,Wo,Go=((To=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||To)},To.\u0275prov=Object(i.uc)({factory:Io,token:To,providedIn:"root"}),To),Xo=((Ao=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"fromModel",value:function(e){return e&&hn(e.hour)&&hn(e.minute)?{hour:e.hour,minute:e.minute,second:hn(e.second)?e.second:null}:null}},{key:"toModel",value:function(e){return e&&hn(e.hour)&&hn(e.minute)?{hour:e.hour,minute:e.minute,second:hn(e.second)?e.second:null}:null}}]),n}(Go)).\u0275fac=function(e){return Ds(e||Ao)},Ao.\u0275prov=i.uc({token:Ao,factory:Ao.\u0275fac}),Ao),Zo=((jo=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||jo)},jo.\u0275prov=Object(i.uc)({factory:function(){return e=Object(i.Mc)(i.z),new Yo(e);var e},token:jo,providedIn:"root"}),jo),Yo=((Do=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._periods=Object(r.M)(e,r.h.Standalone,r.H.Narrow),i}return _createClass(n,[{key:"getMorningPeriod",value:function(){return this._periods[0]}},{key:"getAfternoonPeriod",value:function(){return this._periods[1]}}]),n}(Zo)).\u0275fac=function(e){return new(e||Do)(i.Mc(i.z))},Do.\u0275prov=i.uc({token:Do,factory:Do.\u0275fac}),Do),Qo=/[^0-9]/g,Ko={provide:a.o,useExisting:Object(i.cb)((function(){return Jo})),multi:!0},Jo=((Wo=function(){function e(t,n,i,r){_classCallCheck(this,e),this._config=t,this._ngbTimeAdapter=n,this._cd=i,this.i18n=r,this.onChange=function(e){},this.onTouched=function(){},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}return _createClass(e,[{key:"writeValue",value:function(e){var t=this._ngbTimeAdapter.fromModel(e);this.model=t?new Eo(t.hour,t.minute,t.second):new Eo,this.seconds||t&&dn(t.second)||(this.model.second=0),this._cd.markForCheck()}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"changeHour",value:function(e){this.model.changeHour(e),this.propagateModelChange()}},{key:"changeMinute",value:function(e){this.model.changeMinute(e),this.propagateModelChange()}},{key:"changeSecond",value:function(e){this.model.changeSecond(e),this.propagateModelChange()}},{key:"updateHour",value:function(e){var t=this.model.hour>=12,n=sn(e);this.model.updateHour(this.meridian&&(t&&n<12||!t&&12===n)?n+12:n),this.propagateModelChange()}},{key:"updateMinute",value:function(e){this.model.updateMinute(sn(e)),this.propagateModelChange()}},{key:"updateSecond",value:function(e){this.model.updateSecond(sn(e)),this.propagateModelChange()}},{key:"toggleMeridian",value:function(){this.meridian&&this.changeHour(12)}},{key:"formatInput",value:function(e){e.value=e.value.replace(Qo,"")}},{key:"formatHour",value:function(e){return dn(e)?pn(this.meridian?e%12==0?12:e%12:e%24):pn(NaN)}},{key:"formatMinSec",value:function(e){return pn(dn(e)?e:NaN)}},{key:"ngOnChanges",value:function(e){e.seconds&&!this.seconds&&this.model&&!dn(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))}},{key:"propagateModelChange",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))}},{key:"hourStep",set:function(e){this._hourStep=hn(e)?e:this._config.hourStep},get:function(){return this._hourStep}},{key:"minuteStep",set:function(e){this._minuteStep=hn(e)?e:this._config.minuteStep},get:function(){return this._minuteStep}},{key:"secondStep",set:function(e){this._secondStep=hn(e)?e:this._config.secondStep},get:function(){return this._secondStep}},{key:"isSmallSize",get:function(){return"small"===this.size}},{key:"isLargeSize",get:function(){return"large"===this.size}}]),e}()).\u0275fac=function(e){return new(e||Wo)(i.yc(Mo),i.yc(Go),i.yc(i.j),i.yc(Zo))},Wo.\u0275cmp=i.sc({type:Wo,selectors:[["ngb-timepicker"]],inputs:{meridian:"meridian",spinners:"spinners",seconds:"seconds",hourStep:"hourStep",minuteStep:"minuteStep",secondStep:"secondStep",readonlyInput
1s:"readonlyInputs",size:"size"},features:[i.ic([Ko]),i.hc],decls:18,vars:25,consts:[[3,"disabled"],[1,"ngb-tp"],[1,"ngb-tp-input-container","ngb-tp-hour"],["tabindex","-1","type","button","class","btn btn-link",3,"btn-sm","btn-lg","disabled","click",4,"ngIf"],["type","text","maxlength","2","inputmode","numeric",1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","input","keydown.ArrowUp","keydown.ArrowDown",6,"placeholder","aria-label"],[1,"ngb-tp-spacer"],[1,"ngb-tp-input-container","ngb-tp-minute"],["class","ngb-tp-spacer",4,"ngIf"],["class","ngb-tp-input-container ngb-tp-second",4,"ngIf"],["class","ngb-tp-meridian",4,"ngIf"],["tabindex","-1","type","button",1,"btn","btn-link",3,"disabled","click"],[1,"chevron","ngb-tp-chevron"],[1,"sr-only"],[1,"chevron","ngb-tp-chevron","bottom"],[1,"ngb-tp-input-container","ngb-tp-second"],[1,"ngb-tp-meridian"],["type","button",1,"btn","btn-outline-primary",3,"disabled","click"],[4,"ngIf","ngIfElse"],["am",""]],template:function(e,t){1&e&&(i.Ec(0,"fieldset",0),i.Ec(1,"div",1),i.Ec(2,"div",2),i.xd(3,jt,4,7,"button",3),i.Ec(4,"input",4),i.Kc(5,It),i.Qc("change",(function(e){return t.updateHour(e.target.value)}))("input",(function(e){return t.formatInput(e.target)}))("keydown.ArrowUp",(function(e){return t.changeHour(t.hourStep),e.preventDefault()}))("keydown.ArrowDown",(function(e){return t.changeHour(0-t.hourStep),e.preventDefault()})),i.Dc(),i.xd(6,At,4,7,"button",3),i.Dc(),i.Ec(7,"div",5),i.zd(8,":"),i.Dc(),i.Ec(9,"div",6),i.xd(10,Tt,4,7,"button",3),i.Ec(11,"input",4),i.Kc(12,Dt),i.Qc("change",(function(e){return t.updateMinute(e.target.value)}))("input",(function(e){return t.formatInput(e.target)}))("keydown.ArrowUp",(function(e){return t.changeMinute(t.minuteStep),e.preventDefault()}))("keydown.ArrowDown",(function(e){return t.changeMinute(0-t.minuteStep),e.preventDefault()})),i.Dc(),i.xd(13,zt,4,7,"button",3),i.Dc(),i.xd(14,Lt,2,0,"div",7),i.xd(15,qt,5,9,"div",8),i.xd(16,$t,1,0,"div",7),i.xd(17,Xt,5,9,"div",9),i.Dc(),i.Dc()),2&e&&(i.pc("disabled",t.disabled),i.bd("disabled",t.disabled),i.jc(3),i.bd("ngIf",t.spinners),i.jc(1),i.pc("form-control-sm",t.isSmallSize)("form-control-lg",t.isLargeSize),i.bd("value",t.formatHour(null==t.model?null:t.model.hour))("readOnly",t.readonlyInputs)("disabled",t.disabled),i.jc(2),i.bd("ngIf",t.spinners),i.jc(4),i.bd("ngIf",t.spinners),i.jc(1),i.pc("form-control-sm",t.isSmallSize)("form-control-lg",t.isLargeSize),i.bd("value",t.formatMinSec(null==t.model?null:t.model.minute))("readOnly",t.readonlyInputs)("disabled",t.disabled),i.jc(2),i.bd("ngIf",t.spinners),i.jc(1),i.bd("ngIf",t.seconds),i.jc(1),i.bd("ngIf",t.seconds),i.jc(1),i.bd("ngIf",t.meridian),i.jc(1),i.bd("ngIf",t.meridian))},directives:[r.u],styles:['ngb-timepicker{font-size:1rem}.ngb-tp{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron::before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;-webkit-transform:rotate(135deg);transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-meridian,.ngb-tp-minute,.ngb-tp-second{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center}'],encapsulation:2}),Wo),es=(($o=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:$o}),$o.\u0275inj=i.vc({factory:function(e){return new(e||$o)},imports:[[r.c]]}),$o),ts=((qo=function e(){_classCallCheck(this,e),this.autohide=!0,this.delay=500,this.ariaLive="polite"}).\u0275fac=function(e){return new(e||qo)},qo.\u0275prov=Object(i.uc)({factory:function(){return new qo},token:qo,providedIn:"root"}),qo),ns=((Bo=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Bo)},Bo.\u0275dir=i.tc({type:Bo,selectors:[["","ngbToastHeader",""]]}),Bo),is=((Ho=function(){function e(t,n){_classCallCheck(this,e),this.ariaLive=t,this.contentHeaderTpl=null,this.hideOutput=new i.s,null==this.ariaLive&&(this.ariaLive=n.ariaLive),this.delay=n.delay,this.autohide=n.auto
1hide}return _createClass(e,[{key:"ngAfterContentInit",value:function(){this._init()}},{key:"ngOnChanges",value:function(e){"autohide"in e&&(this._clearTimeout(),this._init())}},{key:"hide",value:function(){this._clearTimeout(),this.hideOutput.emit()}},{key:"_init",value:function(){var e=this;this.autohide&&!this._timeoutID&&(this._timeoutID=setTimeout((function(){return e.hide()}),this.delay))}},{key:"_clearTimeout",value:function(){this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null)}}]),e}()).\u0275fac=function(e){return new(e||Ho)(i.Nc("aria-live"),i.yc(ts))},Ho.\u0275cmp=i.sc({type:Ho,selectors:[["ngb-toast"]],contentQueries:function(e,t,n){var r;1&e&&i.td(n,ns,!0,i.U),2&e&&i.jd(r=i.Rc())&&(t.contentHeaderTpl=r.first)},hostAttrs:["role","alert","aria-atomic","true"],hostVars:5,hostBindings:function(e,t){2&e&&(i.kc("aria-live",t.ariaLive),i.pc("toast",!0)("show",!0))},inputs:{delay:"delay",autohide:"autohide",header:"header"},outputs:{hideOutput:"hide"},exportAs:["ngbToast"],features:[i.hc],ngContentSelectors:q,decls:5,vars:1,consts:[["headerTpl",""],[3,"ngIf"],[1,"toast-body"],[1,"mr-auto"],[1,"toast-header"],[3,"ngTemplateOutlet"],["type","button",1,"close",3,"click",6,"aria-label"],["aria-hidden","true"]],template:function(e,t){1&e&&(i.ad(),i.xd(0,Zt,2,1,"ng-template",null,0,i.yd),i.xd(2,Kt,6,1,"ng-template",1),i.Ec(3,"div",2),i.Zc(4),i.Dc()),2&e&&(i.jc(2),i.bd("ngIf",t.contentHeaderTpl||t.header))},directives:[r.u,r.B],styles:[".ngb-toasts{position:fixed;top:0;right:0;margin:.5em;z-index:1200}ngb-toast .toast-header .close{margin-left:auto;margin-bottom:.25rem}"],encapsulation:2}),Ho),rs=((Uo=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:Uo}),Uo.\u0275inj=i.vc({factory:function(e){return new(e||Uo)},imports:[[r.c]]}),Uo),as=((Vo=function e(){_classCallCheck(this,e),this.autoClose=!0,this.placement="auto",this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}).\u0275fac=function(e){return new(e||Vo)},Vo.\u0275prov=Object(i.uc)({factory:function(){return new Vo},token:Vo,providedIn:"root"}),Vo),os=0,ss=((Fo=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Fo)},Fo.\u0275cmp=i.sc({type:Fo,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:3,hostBindings:function(e,t){2&e&&(i.Hc("id",t.id),i.lc("tooltip show"+(t.tooltipClass?" "+t.tooltipClass:"")))},inputs:{id:"id",tooltipClass:"tooltipClass"},ngContentSelectors:q,decls:3,vars:0,consts:[[1,"arrow"],[1,"tooltip-inner"]],template:function(e,t){1&e&&(i.ad(),i.zc(0,"div",0),i.Ec(1,"div",1),i.Zc(2),i.Dc())},styles:["ngb-tooltip-window.bs-tooltip-bottom .arrow,ngb-tooltip-window.bs-tooltip-top .arrow{left:calc(50% - .4rem)}ngb-tooltip-window.bs-tooltip-bottom-left .arrow,ngb-tooltip-window.bs-tooltip-top-left .arrow{left:1em}ngb-tooltip-window.bs-tooltip-bottom-right .arrow,ngb-tooltip-window.bs-tooltip-top-right .arrow{left:auto;right:.8rem}ngb-tooltip-window.bs-tooltip-left .arrow,ngb-tooltip-window.bs-tooltip-right .arrow{top:calc(50% - .4rem)}ngb-tooltip-window.bs-tooltip-left-top .arrow,ngb-tooltip-window.bs-tooltip-right-top .arrow{top:.4rem}ngb-tooltip-window.bs-tooltip-left-bottom .arrow,ngb-tooltip-window.bs-tooltip-right-bottom .arrow{top:auto;bottom:.4rem}"],encapsulation:2,changeDetection:0}),Fo),cs=((Ro=function(){function e(t,n,r,a,o,s,c,l,u,d){var h=this;_classCallCheck(this,e),this._elementRef=t,this._renderer=n,this._ngZone=c,this._document=l,this._changeDetector=u,this.shown=new i.s,this.hidden=new i.s,this._ngbTooltipWindowId="ngb-tooltip-"+os++,this._windowRef=null,this.autoClose=s.autoClose,this.placement=s.placement,this.triggers=s.triggers,this.container=s.container,this.disableTooltip=s.disableTooltip,this.tooltipClass=s.tooltipClass,this.openDelay=s.openDelay,this.closeDelay=s.closeDelay,this._popupService=new ha(ss,r,o,n,a,d),this._zoneSubscription=c.onStable.subscribe((function(){h._windowRef&&or(h._elementRef.nativeElement,h._windowRef.location.nativeElement,h.placement,"body"===h.container,"bs-tooltip")}))}return _createClass(e,[{key:"open",value:function(e){var t=this;this._windowRef||!this._ngbTooltip||this.disableTooltip||(this._windowRef=this._popupService.open(this._ngbTooltip,e),this._windowRef.instance.tooltipClass=this.tooltipClass,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),er(this._ngZone,this._document,this.autoClose,(function(){return t.close()}),this.hidden,[this._windowRef.location.nativeElement]),this.shown.emit())}},{key:"close",value:function(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(),this._windowRef=null,this.hidden.emit(),this._changeDetector.markForCheck())}},{key:"toggle",value:function(){this._windowRef?this.close():this.open()}},{key:"isOpen",value:function(){return null!=this._windowRef}},{key:"ngOnInit",value:function(){this._unregisterListenersFn=qa(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}},{key:"ngOnChanges",value:function(e){var t=e.tooltipClass;t&&this.isOpen()&&(this._windowRef.instance.tooltipClass=t.currentValue)}},{key:"ngOnDestroy",value:function(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()}},{key:"ngbTooltip",set:function(e){this._ngbTooltip=e,!e&&this._windowRef&&this.close()},get:function(){return this._ngbTooltip}}]),e}()).\u0275fac=function(e){return new(e||Ro)(i.yc(i.q),i.yc(i.L),i.yc(i.w),i.yc(i.n),i.yc(i.X),i.yc(as),i.yc(i.F),i.yc(r.e),i.yc(i.j),i.yc(i.g))},Ro.\u0275dir=i.tc({type:Ro,selectors:[["","ngbTooltip",""]],inputs:{autoClose:"autoClose",placement:"placement",triggers:"triggers",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],features:[i.hc]}),Ro),ls=((No=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:No}),No.\u0275inj=i.vc({factory:function(e){return new(e||No)}}),No),us=((Lo=function(){function e(){_classCallCheck(this,e),this.highlightClass="ngb-highlight"}return _createClass(e,[{key:"ngOnChanges",value:function(e){var t=cn(this.result),n=(Array.isArray(this.term)?this.term:[this.term]).map((function(e){return cn(e).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")})).filter((function(e){return e}));this.parts=n.length?t.split(new RegExp("(".concat(n.join("|"),")"),"gmi")):[t]}}]),e}()).\u0275fac=function(e){return new(e||Lo)},Lo.\u0275cmp=i.sc({type:Lo,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term"},features:[i.hc],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(e,t){1&e&&i.xd(0,tn,3,2,"ng-template",0),2&e&&i.bd("ngForOf",t.parts)},directives:[r.t,r.u],styles:[".ngb-highlight{font-weight:700}"],encapsulation:2,changeDetection:0}
1),Lo),ds=((zo=function(){function e(){_classCallCheck(this,e),this.activeIdx=0,this.focusFirst=!0,this.formatter=cn,this.selectEvent=new i.s,this.activeChangeEvent=new i.s}return _createClass(e,[{key:"hasActive",value:function(){return this.activeIdx>-1&&this.activeIdx<this.results.length}},{key:"getActive",value:function(){return this.results[this.activeIdx]}},{key:"markActive",value:function(e){this.activeIdx=e,this._activeChanged()}},{key:"next",value:function(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}},{key:"prev",value:function(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}},{key:"resetActive",value:function(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}},{key:"select",value:function(e){this.selectEvent.emit(e)}},{key:"ngOnInit",value:function(){this.resetActive()}},{key:"_activeChanged",value:function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}}]),e}()).\u0275fac=function(e){return new(e||zo)},zo.\u0275cmp=i.sc({type:zo,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox",1,"dropdown-menu","show"],hostVars:1,hostBindings:function(e,t){1&e&&i.Qc("mousedown",(function(e){return e.preventDefault()})),2&e&&i.Hc("id",t.id)},inputs:{focusFirst:"focusFirst",formatter:"formatter",id:"id",results:"results",term:"term",resultTemplate:"resultTemplate"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:3,vars:1,consts:[["rt",""],["ngFor","",3,"ngForOf"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"id","mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(i.xd(0,nn,1,2,"ng-template",null,0,i.yd),i.xd(2,on,2,9,"ng-template",1)),2&e&&(i.jc(2),i.bd("ngForOf",t.results))},directives:[r.t,us,r.B],encapsulation:2}),zo),hs=new i.v("live announcer delay",{providedIn:"root",factory:function(){return 100}});function fs(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.body.querySelector("#ngb-live");return null==n&&t&&((n=e.createElement("div")).setAttribute("id","ngb-live"),n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),n.classList.add("sr-only"),e.body.appendChild(n)),n}var ps,gs,vs,ms,bs,ys=((gs=function(){function e(t,n){_classCallCheck(this,e),this._document=t,this._delay=n}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=fs(this._document);e&&e.parentElement.removeChild(e)}},{key:"say",value:function(e){var t=fs(this._document,!0),n=this._delay;if(null!=t){t.textContent="";var i=function(){return t.textContent=e};null===n?i():setTimeout(i,n)}}}]),e}()).\u0275fac=function(e){return new(e||gs)(i.Mc(r.e),i.Mc(hs))},gs.\u0275prov=Object(i.uc)({factory:function(){return new gs(Object(i.Mc)(r.e),Object(i.Mc)(hs))},token:gs,providedIn:"root"}),gs),Cs=((ps=function e(){_classCallCheck(this,e),this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=["bottom-left","bottom-right","top-left","top-right"]}).\u0275fac=function(e){return new(e||ps)},ps.\u0275prov=Object(i.uc)({factory:function(){return new ps},token:ps,providedIn:"root"}),ps),_s={provide:a.o,useExisting:Object(i.cb)((function(){return ks})),multi:!0},ws=0,ks=((ms=function(){function e(t,n,r,a,c,l,u,h,f,p,g,v){var m=this;_classCallCheck(this,e),this._elementRef=t,this._renderer=r,this._live=h,this._document=f,this._ngZone=p,this._changeDetector=g,this._subscription=null,this._closed$=new o.a,this._inputValueBackup=null,this._windowRef=null,this.autocomplete="off",this.placement="bottom-left",this.selectItem=new i.s,this.activeDescendant=null,this.popupId="ngb-typeahead-"+ws++,this._onTouched=function(){},this._onChange=function(e){},this.container=l.container,this.editable=l.editable,this.focusFirst=l.focusFirst,this.showHint=l.showHint,this.placement=l.placement,this._valueChanges=Object(d.a)(t.nativeElement,"input").pipe(Object(C.a)((function(e){return e.target.value}))),this._resubscribeTypeahead=new s.a(null),this._popupService=new ha(ds,a,n,r,c,v),this._zoneSubscription=u.onStable.subscribe((function(){m.isPopupOpen()&&or(m._elementRef.nativeElement,m._windowRef.location.nativeElement,m.placement,"body"===m.container)}))}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this,t=this._valueChanges.pipe(Object(P.a)((function(t){e._inputValueBackup=e.showHint?t:null,e._onChange(e.editable?t:void 0)}))).pipe(this.ngbTypeahead),n=this._resubscribeTypeahead.pipe(Object(k.a)((function(){return t})));this._subscription=this._subscribeToUserInput(n)}},{key:"ngOnDestroy",value:function(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"writeValue",value:function(e){this._writeInputValue(this._formatItemForInput(e)),this.showHint&&(this._inputValueBackup=e)}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"dismissPopup",value:function(){this.isPopupOpen()&&(this._resubscribeTypeahead.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}},{key:"isPopupOpen",value:function(){return null!=this._windowRef}},{key:"handleBlur",value:function(){this._resubscribeTypeahead.next(null),this._onTouched()}},{key:"handleKeyDown",value:function(e){if(this.isPopupOpen())switch(e.which){case Gi.ArrowDown:e.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case Gi.ArrowUp:e.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case Gi.Enter:case Gi.Tab:var t=this._windowRef.instance.getActive();fn(t)&&(e.preventDefault(),e.stopPropagation(),this._selectResult(t)),this._closePopup()}}},{key:"_openPopup",value:function(){var e=this;this.isPopupOpen()||(this._inputValueBackup=this._elementRef.nativeElement.value,this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe((function(t){return e._selectResultClosePopup(t)})),this._windowRef.instance.activeChangeEvent.subscribe((function(t){return e.activeDescendant=t})),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._changeDetector.markForCheck(),er(this._ngZone,this._document,"outside",(function(){return e.dismissPopup()}),this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement]))}},{key:"_closePopup",value:function(){this._closed$.next(),this._popupService.close(),this._windowRef=null,this.activeDescendant=null}},{key:"_selectResult",value:function(e){var t=!1;this.selectItem.emit({item:e,preventDefault:function(){t=!0}}),this._resubscribeTypeahead.next(null),t||(this.writeValue(e),this._onChange(e))}},{key:"_selectResultClosePopup",value:function(e){this._selectResult(e),this._closePopup()}},{key:"_showHint",value:function(){var e;if(this.showHint&&(null===(e=this._windowRef)||void 0===e?void 0:e.instance.hasActive())&&null!=this._inputValueBackup){var t=this._inputValueBackup.toLowerCase(),n=this._formatItemForInput(this._windowRef.instance.getActive());t===n.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+n.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,n.length])):this._writeInputValue(n)}}},{key:"_formatItemForInput",value:function(e){return null!=e&&this.inputFormatter?this.inputFormatter(e):cn(e)}},{key:"_writeInputValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",cn(e))}},{key:"_subscribeToUserInput",value:function(e){var t=this;return e.subscribe((function(e){e&&0!==e.length?(t._openPopup(),t._windowRef.instance.focusFirst=t.focusFirst,t._windowRef.instance.results=e,t._windowRef.instance.term=t._elementRef.nativeElement.value,t.resultFormatter&&(t._windowRef.instance.formatter=t.resultFormatter),t.resultTemplate&&(t._windowRef.instance.resultTemplate=t.resultTemplate),t._windowRef.instance.resetActive(),t._windowRef.changeDetectorRef.detectChanges(),t._showHint()):t._closePopup();var n=e?e.length:0;t._live.say(0===n?"No results available":"".concat(n," result").concat(1===n?"":"s"," available"))}))}},{key:"_unsubscribeFromUserInput",value:function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}}]),e}()).\u0275fac=function(e){return new(e||ms)(i.yc(i.q),i.yc(i.X),i.yc(i.L),i.yc(i.w),i.yc(i.n),i.yc(Cs),i.yc(i.F),i.yc(ys),i.yc(r.e),i.yc(i.F),i.yc(i.j),i.yc(i.g))},ms.\u0275dir=i.tc({type:ms,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox","aria-multiline","false"],hostVars:7,hostBindings:function(e,t){1&e&&i.Qc("blur",(function(){return t.handleBlur()}))("keydown",(function(e){return t.handleKeyDown(e)})),2&e&&(i.Hc("autocomplete",t.autocomplete),i.kc("aria-autocomplete",t.showHint?"both":"list")("aria-activedescendant",t.activeDescendant)("aria-owns",t.isPopupOpen()?t.popupId:null)("aria-expanded",t.isPopupOpen()),i.pc("open",t.isPopupOpen()))},inputs:{autocomplete:"autocomplete",placement:"placement",container:"container",editable:"editable",focusFirst:"focusFirst",showHint:"showHint",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[i.ic([_s])]}),ms),xs=((vs=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:vs}),vs.\u0275inj=i.vc({factory:function(e){return new(e||vs)},imports:[[r.c]]}),vs),Os=[Wn,Zn,ii,ui,hi,ta,la,wa,Da,Va,fo,vo,Co,es,rs,ls,xs,Po],Ss=((bs=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:bs}),bs.\u0275inj=i.vc({factory:function(e){return new(e||bs)},imports:[Os,Wn,Zn,ii,ui,hi,ta,la,wa,Da,Va,fo,vo,Co,es,rs,ls,xs,Po]}),bs),Ps=i.Gc(Ci),Es=i.Gc(Bi),Ms=i.Gc(Xr),Is=i.Gc(Zr),Ds=i.Gc(Xo)},"23KU":function(e,t,n){"use strict";var i=n("uE2L"),r=n("YHEm"),a=Object.prototype.hasOwnProperty;t.a=function(e,t,n){var o=e[t];a.call(e,t)&&Object(r.a)(o,n)&&(void 0!==n||t in e)||Object(i.a)(e,t,n
1)}},"25cm":function(e,t,n){"use strict";var i=n("tPH9"),r=n("/1FC");t.a=function(e,t,n){var a=t(e);return Object(r.a)(e)?a:Object(i.a)(a,n(e))}},"2FYO":function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n("Muja"),r=n("fXoL"),a=n("GJzE"),o=n("p3ot"),s=n("tyNb");function c(e,t){1&e&&r.Ac(0)}function l(e,t){if(1&e&&(r.Ec(0,"li"),r.Ec(1,"a",6),r.zd(2),r.Dc(),r.Dc()),2&e){var n=t.item;r.jc(1),r.bd("routerLink",n.url),r.jc(1),r.Ad(n.label)}}function u(e,t){if(1&e&&(r.Ec(0,"li"),r.Ec(1,"span"),r.zd(2),r.Dc(),r.Dc()),2&e){var n=t.item;r.jc(2),r.Ad(n.label)}}function d(e,t){1&e&&(r.Ec(0,"div",1),r.Ec(1,"ul",2),r.xd(2,c,1,0,"ng-container",3),r.xd(3,l,3,2,"li",4),r.xd(4,u,3,1,"li",5),r.Dc(),r.Dc())}var h=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.pageMetaDataService=t,this.changeDetector=n,this.pBreadcrumbs=[]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.subscription=this.pageMetaDataService.breadCrumbs$.subscribe((function(t){e.pBreadcrumbs.length===t.length&&Object(i.a)(e.pBreadcrumbs,t)||(e.pBreadcrumbs=t.slice(),e.changeDetector.markForCheck())}))}},{key:"ngOnDestroy",value:function(){void 0!==this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}},{key:"breadcrumbs",get:function(){return this.pBreadcrumbs}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.yc(a.V),r.yc(r.j))},e.\u0275cmp=r.sc({type:e,selectors:[["app-breadcrumbs"]],decls:1,vars:1,consts:[["class","container-fluid",4,"appBreadcrumbs"],[1,"container-fluid"],[1,"top-breadcrumbs","unstyled-list"],[4,"appBreadcrumbsContainer"],[4,"appBreadcrumbRouteTemplate"],[4,"appBreadcrumbSimpleTemplate"],[3,"routerLink"]],template:function(e,t){1&e&&r.xd(0,d,5,0,"div",0),2&e&&r.bd("appBreadcrumbs",t.breadcrumbs)},directives:[o.d,o.c,o.a,o.b,s.g],styles:['.top-breadcrumbs[_ngcontent-%COMP%]{display:none}@media (min-width:1024px){.top-breadcrumbs[_ngcontent-%COMP%]{display:flex;margin-bottom:16px;font-size:12px}.top-breadcrumbs[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child){color:rgba(50,50,50,.35)}.top-breadcrumbs[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child):after{margin:0 4px;content:"/"}.top-breadcrumbs[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.top-breadcrumbs[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .top-breadcrumbs[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}}'],changeDetection:0}),e}()},"2KnI":function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return f}));var i=n("fXoL"),r=n("XNiG"),a=n("1G5W"),o=n("ehPC"),s=n("GJzE"),c=n("ofXK"),l=n("sYmb");function u(e,t){}function d(e,t){if(1&e){var n=i.Fc();i.Ec(0,"button",6),i.Qc("click",(function(){i.nd(n);var e=i.Uc();return e.isMobile=!e.isMobile})),i.zd(1," catalog-popular-places-view-more-label "),i.Dc()}}var h=new i.v("PopularPlaces widget default cards service"),f=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,a,o,s,c){var l;return _classCallCheck(this,n),(l=t.call(this,e,i,a,o,s,c)).destroy$=new r.a,l}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.deviceState.onDeviceStateChange.pipe(Object(a.a)(this.destroy$)).subscribe((function(t){e.isMobile=t.state.isMobile}))}},{key:"ngOnDestroy",value:function(){this.destroy$.next(),this.destroy$.complete()}}]),n}(o.s);return e.\u0275fac=function(t){return new(t||e)(i.yc(o.A,8),i.yc(i.w),i.yc(i.n),i.yc(s.t),i.yc(o.p),i.yc(o.z,8))},e.\u0275cmp=i.sc({type:e,selectors:[["app-shared-popular-places"]],features:[i.ic([{provide:Object(i.cb)((function(){return s.n})),useFactory:function(e){return e},deps:[[new i.G,Object(i.cb)((function(){return h}))]]},Object(i.cb)((function(){return Object(o.T)()}))]),i.gc],decls:8,vars:4,consts:[[1,"col-12"],[1,"top-firm-card-wrapper"],[1,"c-card-label","c-card-label--as-section-title","mb-4"],[1,"row"],["
1insertPoint",""],["type","button","translate","",3,"click",4,"ngIf"],["type","button","translate","",3,"click"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.Ec(1,"div",1),i.Ec(2,"div",2),i.zd(3),i.Dc(),i.Ec(4,"div",3),i.xd(5,u,0,0,"ng-template",null,4,i.yd),i.xd(7,d,2,0,"button",5),i.Dc(),i.Dc(),i.Dc()),2&e&&(i.jc(1),i.pc("top-firm-card-wrapper-mobile",t.isMobile),i.jc(2),i.Ad(t.widget.label),i.jc(4),i.bd("ngIf",t.isMobile))},directives:[c.u,l.b],styles:[".top-firm-card-wrapper[_ngcontent-%COMP%]{margin:48px 0}.top-firm-card-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:7px auto 13px;background-color:unset;border-radius:5px;border:1px solid #000;padding:12px 34px}@media (min-width:1024px){.top-firm-card-wrapper[_ngcontent-%COMP%]{margin-top:74px}}.c-card-label[_ngcontent-%COMP%]{display:inline-block;max-width:230px;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}.c-card-label--ad[_ngcontent-%COMP%], .c-card-label--regular[_ngcontent-%COMP%]{padding:2px 8px;border:1px solid #fff;border-radius:3px;text-shadow:1px 1px 1px rgba(0,0,0,.4)}.c-card-label--in-news[_ngcontent-%COMP%]{margin-left:10px;color:rgba(50,50,50,.35);border:1px solid rgba(50,50,50,.35);border-radius:3px}.c-card-label--main[_ngcontent-%COMP%]{position:absolute;z-index:11;top:10px;left:10px}.c-card-label--main[_ngcontent-%COMP%] + .card-wrapper[_ngcontent-%COMP%]   .c-card__subinfo[_ngcontent-%COMP%]{top:40px}.c-card-label--accent[_ngcontent-%COMP%]{padding:5px 10px;background-color:hsla(var(--green-primary-h),var(--green-primary-s),var(--green-primary-l),.75);text-transform:uppercase}.c-card-label--as-section-title[_ngcontent-%COMP%]{max-width:100%;padding:4px 8px;font-size:14px;font-weight:700;text-transform:uppercase;background-color:var(--green-primary)}.c-card-label--special[_ngcontent-%COMP%]{background-color:#fb661c}.c-card-label--blue[_ngcontent-%COMP%]{background-color:#00afe1}.c-card-label--on-slider[_ngcontent-%COMP%]{position:absolute;z-index:10;left:25px;top:20px}@media (min-width:1024px){.c-card-label--in-news[_ngcontent-%COMP%]{margin-left:20px}}@media (max-width:1024px){[_nghost-%COMP%]     .top-firm-card-wrapper-mobile app-popular-places:nth-of-type(1n+3){display:none}}"]}),e}()},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("XNiG"),r=n("9ppp"),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._value=e,i}return _createClass(n,[{key:"_subscribe",value:function(e){var t=_get(_getPrototypeOf(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value}},{key:"next",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,this._value=e)}},{key:"value",get:function(){return this.getValue()}}]),n}(i.a)},"2aVW":function(e,t,n){"use strict";n.d(t,"a",(function(){return P}));var i=n("PqYM"),r=n("GQzd"),a=n("AytR"),o=n("fXoL"),s=n("GJzE");function c(e,t){if(1&e&&o.zc(0,"app-placeholder",5),2&e){var n=o.Uc();o.bd("width",n.card.width)("height",1)}}function l(e,t){if(1&e&&(o.Ec(0,"span",19),o.zd(1),o.Dc()),2&e){var n=o.Uc(3).singleNews;o.jc(1),o.Ad(n.label)}}function u(e,t){1&e&&(o.Tc(),o.Ec(0,"svg",20),o.zc(1,"use",21),o.Dc())}function d(e,t){1&e&&(o.Tc(),o.Ec(0,"svg",20),o.zc(1,"use",22),o.Dc())}function h(e,t){if(1&e&&(o.Ec(0,"div",16),o.xd(1,l,2,1,"span",17),o.xd(2,u,2,0,"svg",18),o.xd(3,d,2,0,"svg",18),o.Dc()),2&e){var n=o.Uc(2).singleNews;o.jc(1),o.bd("ngIf",n.label.length>0),o.jc(1),o.bd("ngIf",n.hasPictures),o.jc(1),o.bd("ngIf",n.hasVideo)}}function f(e,t){if(1&e&&(o.Cc(0),o.xd(1,h,4,3,"div",15),o.Bc()),2&e){var n=o.Uc().singleNews;o.jc(1),o.bd("ngIf",n.hasPictures||n.hasVideo||n.label.length>0)}}function p(e,t){1&e&&(o.Ec(0,"div",23),o.zd(1,"\u0415\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e \u0440\u043e\u0441\u0442 \u0447\u0438\u0441\u043b\u0430 \u043d\u043e\u0432\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043a\u043e\u0440\u043e\u043d\u0430\u0432\u0438\u0440\u0443\u0441\u0430 \u0432 \u0423\u043a\u0440\u0430\u0438\u043d\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0431\u043e\u043b\u0435\u0435 10%. "),o.Dc())}function g(e,t){if(1&e&&(o.Ec(0,"div",24),o.Ec(1,"a",25),o.Tc(),o.Ec(2,"svg",20),o.zc(3,"use",26),o.Dc(),o.Sc(),o.Ec(4,"span"),o.zd(5),o.Vc(6,"number"),o.Dc(),o.Dc(),o.Dc()),2&e){var n=o.Uc().singleNews;o.jc(1),o.dd("fragment","comments-",n.id,""),o.bd("appNewsUrl",n),o.jc(4),o.Ad(o.Wc(6,3,n.commentsCount))}}function v(e,t){if(1&e&&(o.Ec(0,"article",6),o.zc(1,"a",7),o.xd(2,f,2,1,"ng-container",8),o.Ec(3,"div",9),o.Ec(4,"div",10),o.Ec(5,"a",11),o.zd(6),o.Dc(),o.Dc(),o.xd(7,p,2,0,"ng-template"),o.Ec(8,"div",12),o.Ec(9,"div",13),o.zd(10),o.Dc(),o.xd(11,g,7,5,"div",14),o.Dc(),o.Dc(),o.Dc()),2&e){var n=t.singleNews;o.jc(1),o.bd("appNewsUrl",n)("lazyLoad",n.cardPosterUrl),o.jc(1),o.bd("ngIf",null!==n.cardPosterUrl),o.jc(3),o.cd("title",n.title),o.bd("appNewsUrl",n),o.jc(1),o.Ad(n.title),o.jc(4),o.Ad(n.friendlyPublishDate.join(", ")),o.jc(1),o.bd("ngIf",n.allowComment&&n.commentsCount>0)}}function m(e,t){if(1&e&&(o.Ec(0,"span",19),o.zd(1),o.Dc()),2&e){var n=o.Uc(3).singleNews;o.jc(1),o.Ad(n.label)}}function b(e,t){1&e&&(o.Tc(),o.Ec(0,"svg",20),o.zc(1,"use",21),o.Dc())}function y(e,t){1&e&&(o.Tc(),o.Ec(0,"svg",20),o.zc(1,"use",22),o.Dc())}function C(e,t){if(1&e&&(o.Ec(0,"div",16),o.xd(1,m,2,1,"span",17),o.xd(2,b,2,0,"svg",18),o.xd(3,y,2,0,"svg",18),o.Dc()),2&e){var n=o.Uc(2).singleNews;o.jc(1),o.bd("ngIf",n.label.length>0),o.jc(1),o.bd("ngIf",n.hasPictures),o.jc(1),o.bd("ngIf",n.hasVideo)}}function _(e,t){if(1&e&&(o.Cc(0),o.xd(1,C,4,3,"div",15),o.Bc()),2&e){var n=o.Uc().singleNews;o.jc(1),o.bd("ngIf",n.hasPictures||n.hasVideo||n.label.length>0)}}function w(e,t){if(1&e&&(o.Ec(0,"div",24),o.Ec(1,"a",25),o.Tc(),o.Ec(2,"svg",20),o.zc(3,"use",26),o.Dc(),o.Sc(),o.Ec(4,"span"),o.zd(5),o.Vc(6,"number"),o.Dc(),o.Dc(),o.Dc()),2&e){var n=o.Uc().singleNews;o.jc(1),o.dd("fragment","comments-",n.id,""),o.bd("appNewsUrl",n),o.jc(4),o.Ad(o.Wc(6,3,n.commentsCount))}}function k(e,t){if(1&e&&(o.Ec(0,"article",27),o.zc(1,"a",7),o.xd(2,_,2,1,"ng-container",8),o.Ec(3,"div",9),o.Ec(4,"div",10),o.Ec(5,"a",11),o.zd(6),o.Dc(),o.Dc(),o.Ec(7,"div",12),o.Ec(8,"div",13),o.zd(9),o.Dc(),o.xd(10,w,7,5,"div",14),o.Dc(),o.Dc(),o.Dc()),2&e){var n=t.singleNews;o.jc(1),o.bd("appNewsUrl",n)("lazyLoad",n.rectanglePosterUrl),o.jc(1),o.bd("ngIf",null!==n.cardPosterUrl),o.jc(3),o.cd("title",n.title),o.bd("appNewsUrl",n),o.jc(1),o.Ad(n.title),o.jc(3),o.Ad(n.friendlyPublishDate.join(", ")),o.jc(1),o.bd("ngIf",n.allowComment&&n.commentsCount>0)}}function x(e,t){if(1&e&&(o.Ec(0,"div",30),o.zd(1),o.Dc()),2&e){var n=o.Uc().singleNews;o.jc(1),o.Ad(n.label)}}function O(e,t){if(1&e&&(o.Ec(0,"div",24),o.Ec(1,"a",25),o.Tc(),o.Ec(2,"svg",20),o.zc(3,"use",26),o.Dc(),o.Sc(),o.Ec(4,"span"),o.zd(5),o.Vc(6,"number"),o.Dc(),o.Dc(),o.Dc()),2&e){var n=o.Uc().singleNews;o.jc(1),o.dd("fragment","comments-",n.id,""),o.bd("appNewsUrl",n),o.jc(4),o.Ad(o.Wc(6,3,n.commentsCount))}}function S(e,t){if(1&e&&(o.Ec(0,"article",28),o.Ec(1,"div",9),o.Ec(2,"div",10),o.Ec(3,"a",11),o.zd(4),o.Dc(),o.Dc(),o.Ec(5,"div",12),o.Ec(6,"div",13),o.xd(7,x,2,1,"div",29),o.zd(8),o.Dc(),o.xd(9,O,7,5,"div",14),o.Dc(),o.Dc(),o.Dc()),2&e){var n=t.singleNews;o.jc(3),o.cd("title",n.title),o.bd("appNewsUrl",n),o.jc(1),o.Ad(n.title),o.jc(3),o.bd("ngIf",n.label.length>0),o.jc(1),o.Bd(" ",n.friendlyPublishDate.join(", ")," "),o.jc(1),o.bd("ngIf",n.allowComment&&n.commentsCount>0)}}var P=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).newsService=i,r}return _createClass(n,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this)}},{key:"getModels",value:function(){return this.newsService.getNextTopNews(this.card.onlyNonCommercialNews)}},{key:"renderCard",value:function(e){var t=this;this.models=e;var n=function(){t.insertPoint.clear(),t.insertPoint.createEmbeddedView(2===t.card.width?t.doubleNewsTemplate:t.halfNewsTemplate,{singleNews:t.models})};a.a.useLoadingDelay?Object(i.a)(1500).subscribe(n):n()}}]),n}(r.b);return e.\u0275fac=function(t){return new(t||e)(o.yc(s.fb),o.yc(r.y
1))},e.\u0275cmp=o.sc({type:e,selectors:[["app-shared-top-news"]],features:[o.gc],decls:10,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["doubleNews",""],["halfNews",""],["simpleNews",""],[3,"width","height"],[1,"article-card","article-card--double"],[1,"article-card__poster",3,"appNewsUrl","lazyLoad"],[4,"ngIf"],[1,"article-card__content"],[1,"article-card__title"],[3,"appNewsUrl","title"],[1,"article-card__info"],[1,"article-card__date"],["class","card-actions",4,"ngIf"],["class","article-card__subinfo",4,"ngIf"],[1,"article-card__subinfo"],["class","article-card__subinfo--toaster",4,"ngIf"],["width","20","height","20",4,"ngIf"],[1,"article-card__subinfo--toaster"],["width","20","height","20"],[0,"xlink","href","#icon-photo"],[0,"xlink","href","#icon-video"],[1,"article-card__subtitle"],[1,"card-actions"],[1,"card-actions__item",3,"appNewsUrl","fragment"],[0,"xlink","href","#icon-comment"],[1,"article-card","article-card--half"],[1,"article-card","article-card--simple"],["class","article-card__date--toaster",4,"ngIf"],[1,"article-card__date--toaster"]],template:function(e,t){1&e&&(o.Ac(0,null,0),o.xd(2,c,1,2,"app-placeholder",1),o.Vc(3,"async"),o.xd(4,v,12,8,"ng-template",null,2,o.yd),o.xd(6,k,11,8,"ng-template",null,3,o.yd),o.xd(8,S,10,6,"ng-template",null,4,o.yd)),2&e&&(o.jc(2),o.bd("ngIf",!o.Wc(3,1,t.isComponentLoaded$)))},styles:['.article-card[_ngcontent-%COMP%]{position:relative;margin:0 -8px;overflow:hidden;border-bottom:1px solid rgba(50,50,50,.15)}.article-card__poster[_ngcontent-%COMP%]{display:block;background-position:50%;background-size:cover;background-color:#e6e6e6}.article-card__poster[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%}.article-card__subinfo[_ngcontent-%COMP%]{display:block;position:absolute;max-width:calc(100% - 16px);top:12px;left:0}.article-card__subinfo--toaster[_ngcontent-%COMP%]{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-left:16px;border:1px solid #fff;padding:3px 6px;color:#fff;font-size:14px;line-height:16px}.article-card__subinfo[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:12px;fill:#fff}.article-card__title[_ngcontent-%COMP%]{font-size:24px}.article-card__info[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:15px;color:rgba(50,50,50,.35)}.article-card__date--toaster[_ngcontent-%COMP%]{width:-webkit-fit-content;width:fit-content;width:-moz-fit-content;border:1px solid var(--green-primary);padding:2px 6px;margin-bottom:8px;color:var(--green-primary);font-size:14px;position:relative;top:1px;line-height:14px;text-transform:uppercase}.article-card--in-feed[_ngcontent-%COMP%]{padding:16px 24px}.article-card--double[_ngcontent-%COMP%]{padding-bottom:137.2%;color:#fff}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.article-card--double[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;padding:16px}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{line-height:1;font-size:30px;font-weight:700}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{margin-top:16px;font-size:18px}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.35)}.article-card--double[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:hsla(0,0%,100%,.35)}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:relative;padding-bottom:47.6%}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(180deg,rgba(0,0,0,.4) 30%,transparent)}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:16px 24px}@media (min-width:1024px){.article-card[_ngcontent-%COMP%]{margin:0 0 24px;border-bottom:0}.article-card__title[_ngcontent-%COMP%]{font-size:21px}.article-card__info[_ngcontent-%COMP%]{font-size:14px}.article-card--in-feed[_ngcontent-%COMP%]{padding:0}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{order:-1;margin-top:4px;margin-right:10px;color:var(--green-primary)}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:none}.article-card--double[_ngcontent-%COMP%]{padding-bottom:45.12%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.3) 19.55%,rgba(0,0,0,.2) 33.1%,rgba(0,0,0,.2) 50.8
1%,rgba(0,0,0,.37) 64.35%,rgba(0,0,0,.7))}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%], .article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{display:none}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:12px 16px}}@media (min-width:1200px){.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{font-size:36px}}.card-actions[_ngcontent-%COMP%]{display:flex;margin-left:20px}.card-actions__item[_ngcontent-%COMP%]{color:inherit}.card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;fill:var(--green-primary)}.card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:4px;vertical-align:middle;color:inherit}']}),e}()},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}}},"2gGH":function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n("PqYM"),r=n("IzEk"),a=n("GQzd"),o=n("AytR"),s=n("ehPC"),c=n("fXoL"),l=n("GJzE");function u(e,t){if(1&e&&(c.Ec(0,"div",12),c.zd(1),c.Dc()),2&e){var n=c.Uc().$implicit;c.jc(1),c.Ad(n.label)}}function d(e,t){if(1&e&&(c.Tc(),c.Sc(),c.Ec(0,"span"),c.zd(1),c.Vc(2,"number"),c.Dc()),2&e){var n=c.Uc(2).$implicit;c.jc(1),c.Ad(c.Wc(2,1,n.commentsCount))}}function h(e,t){if(1&e&&(c.Ec(0,"div",13),c.Ec(1,"a",14),c.Tc(),c.Ec(2,"svg",15),c.zc(3,"use",16),c.Dc(),c.xd(4,d,3,3,"span",17),c.Dc(),c.Dc()),2&e){var n=c.Uc().$implicit;c.jc(1),c.dd("fragment","comments-",n.id,""),c.bd("appNewsUrl",n),c.jc(3),c.bd("ngIf",n.commentsCount>0)}}function f(e,t){if(1&e&&(c.Ec(0,"div",6),c.Ec(1,"article",7),c.Ec(2,"div",8),c.Ec(3,"a",9),c.zd(4),c.Dc(),c.xd(5,u,2,1,"div",10),c.xd(6,h,5,3,"div",11),c.Dc(),c.Dc(),c.Dc()),2&e){var n=t.$implicit;c.jc(3),c.cd("title",n.title),c.bd("appNewsUrl",n),c.jc(1),c.Ad(n.title),c.jc(1),c.bd("ngIf",n.label.length>0),c.jc(1),c.bd("ngIf",n.allowComment&&n.commentsCount>0)}}function p(e,t){if(1&e&&(c.Ec(0,"div",2),c.Ec(1,"div",3),c.zd(2),c.Dc(),c.Ec(3,"div",4),c.xd(4,f,7,5,"div",5),c.Dc(),c.Dc()),2&e){var n=c.Uc(2);c.jc(2),c.Ad(n.widget.label),c.jc(2),c.bd("ngForOf",n.models)}}function g(e,t){if(1&e&&(c.Cc(0),c.xd(1,p,5,2,"div",1),c.Bc()),2&e){var n=c.Uc();c.jc(1),c.bd("ngIf",null==n.models?null:n.models.length)}}var v=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,o.injector=i,o.routesService=r,o.newsService=a,o}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.newsService.getNextWeekTopNews(this.widget.itemsCount).pipe(Object(r.a)(1)).subscribe((function(t){e.models=t,null!==e.models?e.emitHasData():e.emitEmptyData();var n=function(){e.emitComponentLoaded()};o.a.useLoadingDelay?Object(i.a)(1500).subscribe(n):n()}))}}]),n}(s.j);return e.\u0275fac=function(t){return new(t||e)(c.yc(s.A,8),c.yc(c.w),c.yc(l.fb),c.yc(a.B))},e.\u0275cmp=c.sc({type:e,selectors:[["app-shared-week-top-news"]],features:[c.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","top-news-block",4,"ngIf"],[1,"top-news-block"],[1,"card-label","top-news-block__label"],[1,"top-news-block__row","row"],["class","col-12 col-lg",4,"ngFor","ngForOf"],[1,"col-12","col-lg"],[1,"top-article"],[1,"top-article__content"],[1,"top-article__title",3,"appNewsUrl","title"],["class","top-article--toaster",4,"ngIf"],["class","card-actions",4,"ngIf"],[1,"top-article--toaster"],[1,"card-actions"],[1,"card-actions__item",3,"appNewsUrl","fragment"],["width","20","height","20"],[0,"xlink","href","#icon-comment"],[4,"ngIf"]],template:function(e,t){1&e&&(c.xd(0,g,2,1,"ng-container",0),c.Vc(1,"async")),2&e&&c.bd("appLoadingPlaceholder",c.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:['.card-label[_ngcontent-%COMP%]{max-width:240px;padding:4px 8px;font-weight:700;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background-color:var(--green-primary);color:#fff}.top-news-block[_ngcontent-%COMP%]{border-bottom:3px solid var(--green-primary);margin:0 -8px;padding:0 8px}.top-news-block__label[_ngcontent-%COMP%]{display:inline-block;margin-bottom:24px}.top-news-block__row[_ngcontent-%COMP%] > .col-lg[_ngcontent-%COMP%]:first-child   .top-article[_ngcontent-%COMP%]:before{content:"1"}.top-news-block__row[_ngcontent-%COMP%] > .col-lg[_ngcontent-%COMP%]:nth-child(2)   .top-article[_ngcontent-%COMP%]:before{content:"2"}.top-news-block__row[_ngcontent-%COMP%] > .col-lg[_ngcontent-%COMP%]:nth-child(3)   .top-article[_ngcontent-%COMP%]:before{content:"3"}.top-news-block__row[_ngcontent-%COMP%] > .col-lg[_ngcontent-%COMP%]:nth-child(4)   .top-article[_ngcontent-%COMP%]:before{content:"4"}@media (min-width:1024px){.top-news-block[_ngcontent-%COMP%]{margin:0 0 36px;padding:0}.top-news-block__row[_ngcontent-%COMP%] > .col-lg[_ngcontent-%COMP%]{margin-bottom:24px}.top-news-block__row[_ngcontent-%COMP%] > .col-lg[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid var(--green-primary)}}.top-article[_ngcontent-%COMP%]{position:relative;height:100%;margin-bottom:24px}.top-article--toaster[_ngcontent-%COMP%]{width:-webkit-fit-content;width:fit-content;width:-moz-fit-content;border:1px solid var(--green-primary);padding:2px 6px 1px;margin-right:4px;margin-top:6px;color:var(--green-primary);font-size:14px;position:relative;top:-2px;line-height:14px;text-transform:uppercase}.top-article[_ngcontent-%COMP%]:before{display:block;position:absolute;z-index:1;right:0;bottom:0;color:#f5f5f5;font-size:82px}.top-article__content[_ngcontent-%COMP%]{position:relative;z-index:1;padding:0 8px}.top-article__title[_ngcontent-%COMP%]{font-size:32px;vertical-align:sub}.top-article[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:inline-flex;margin-left:0}.top-article[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var
1(--green-primary)}.top-article[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:inherit;margin-left:4px;vertical-align:middle}@media (min-width:1024px){.top-article[_ngcontent-%COMP%]{margin-bottom:0}}']}),e}()},"3/ER":function(e,t,n){"use strict";(function(e){var i=n("Ju5/"),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,o=a&&a.exports===r?i.a.Buffer:void 0,s=o?o.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,i=s?s(n):new e.constructor(n);return e.copy(i),i}}).call(this,n("3UD+")(e))},"3Adg":function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var i=n("fXoL"),r=new Map,a=function(e){return r.has(e)||r.set(e,0),r.set(e,r.get(e)+1),r.get(e)},o=function(e){if(!r.has(e))return 0;var t=r.get(e)-1;return t>0?r.set(e,t):r.delete(e),Math.max(t,0)},s=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.viewContainerRef=t,this.templateRef=n}return _createClass(e,[{key:"ngOnInit",value:function(){if(void 0===this.storeKey||""===this.storeKey)throw new Error("OnlyOnceDirective: store key must be set");a(this.storeKey)>1?this.viewContainerRef.clear():this.viewContainerRef.createEmbeddedView(this.templateRef)}},{key:"ngOnDestroy",value:function(){o(this.storeKey)}},{key:"appOnlyOnce",set:function(e){this.storeKey=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["","appOnlyOnce",""]],inputs:{appOnlyOnce:"appOnlyOnce"}}),e}()},"3E0/":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("D0XW"),r=n("7o/Q"),a=n("WMd4");function o(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a,r=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new s(r,n))}}var s=function(){function e(t,n){_classCallCheck(this,e),this.delay=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.delay,this.scheduler))}}]),e}(),c=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).delay=i,a.scheduler=r,a.queue=[],a.active=!1,a.errored=!1,a}return _createClass(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new l(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(a.a.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(a.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var a=Math.max(0,n[0].time-i.now());this.schedule(e,a)}else this.unsubscribe(),t.active=!1}}]),n}(r.a),l=function e(t,n){_classCallCheck(this,e),this.time=t,this.notification=n}},"3N8a":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;
1return _classCallCheck(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r.pending=!1,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"schedule",value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this}}]),n}(n("quSY").a))},"3Pt+":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return $e})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return Xe})),n.d(t,"e",(function(){return Re})),n.d(t,"f",(function(){return nt})),n.d(t,"g",(function(){return je})),n.d(t,"h",(function(){return Ue})),n.d(t,"i",(function(){return Te})),n.d(t,"j",(function(){return Le})),n.d(t,"k",(function(){return it})),n.d(t,"l",(function(){return Ke})),n.d(t,"m",(function(){return Ye})),n.d(t,"n",(function(){return k})),n.d(t,"o",(function(){return c})),n.d(t,"p",(function(){return C})),n.d(t,"q",(function(){return _})),n.d(t,"r",(function(){return Ce})),n.d(t,"s",(function(){return Ee})),n.d(t,"t",(function(){return Oe})),n.d(t,"u",(function(){return W})),n.d(t,"v",(function(){return A})),n.d(t,"w",(function(){return et})),n.d(t,"x",(function(){return L})),n.d(t,"y",(function(){return R})),n.d(t,"z",(function(){return rt})),n.d(t,"A",(function(){return qe})),n.d(t,"B",(function(){return $})),n.d(t,"C",(function(){return Z})),n.d(t,"D",(function(){return S})),n.d(t,"E",(function(){return Y})),n.d(t,"F",(function(){return Me}));var i=n("fXoL"),r=n("ofXK"),a=n("cp0P"),o=n("Cfvw"),s=n("lJxs"),c=new i.v("NgValueAccessor"),l={provide:c,useExisting:Object(i.cb)((function(){return u})),multi:!0},u=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&i.Qc("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[i.ic([l])]}),e}(),d={provide:c,useExisting:Object(i.cb)((function(){return f})),multi:!0},h=new i.v("CompositionEventMode"),f=function(){var e=function(){function e(t,n,i){var a;_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._compositionMode=i,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(a=Object(r.T)()?Object(r.T)().getUserAgent():"",!/android (\d+)/.test(a.toLowerCase())))}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q),i.yc(h,8))},e.\u0275dir=i.tc({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(e,t){1&e&&i.Qc("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[i.ic([d])]}),e}(),p=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"reset",value:function(e){this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}},{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e}),e}(),g=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(p);return e.\u0275fac=function(t){return v(t||e)},e.\u0275dir=i.tc({type:e,features:[i.gc]}),e}(),v=i.Gc(g);function m(){throw new Error("unimplemented")}var b=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return _createClass(n,[{key:"validator",get:function(){return m()}},{key:"asyncValidator",get:function(){return m()}}]),n}(p),y=function(){function e(t){_classCallCheck(this,e),this._cd=t}return _createClass(e,[{key:"ngClassUntouched",get:function(){return!!this._cd.control&&this._cd.control.untouched}},{key:"ngClassTouched",get:function(){return!!this._cd.control&&this._cd.control.touched}},{key:"ngClassPristine",get:function(){return!!this._cd.control&&this._cd.control.pristine}},{key:"ngClassDirty",get:function(){return!!this._cd.control&&this._cd.control.dirty}},{key:"ngClassValid",get:function(){return!!this._cd.control&&this._cd.control.valid}},{key:"ngClassInvalid",get:function(){return!!this._cd.control&&this._cd.control.invalid}},{key:"ngClassPending",get:function(){return!!this._cd.control&&this._cd.control.pending}}]),e}(),C=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(y);return e.\u0275fac=function(t){return new(t||e)(i.yc(b,2))},e.\u0275dir=i.tc({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.pc("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[i.gc]}),e}(),_=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(y);return e.\u0275fac=function(t){return new(t||e)(i.yc(g,2))},e.\u0275dir=i.tc({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.pc("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[i.gc]}),e}();function w(e){return null==e||0===e.length}var k=new i.v("NgValidators"),x=new i.v("NgAsyncValidators"),O=/^(?=.{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])?)*$/,S=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"min",value:function(e){return function(t){if(w(t.value)||w(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}},{key:"max",value:function(e){return function(t){if(w(t.value)||w(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}},{key:"required",value:function(e){return w(e.value)?{required:!0}:null}},{key:"requiredTrue",value:function(e){return!0===e.value?null:{required:!0}}},{key:"email",value:function(e){return w(e.value)||O.test(e.value)?null:{email:!0}}},{key:"minLength",value:function(e){return function(t){if(w(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}},{key:"maxLength",value:function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}},{key:"pattern",value:function(t){return t?("string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),n=new RegExp(i)):(i=t.toString(),n=t),function(e){if(w(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:i,actualValue:t}}}):e.nullValidator;var n,i}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){if(!e)return null;var t=e.filter(P);return 0==t.length?null:function(e){return M(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}}},{key:"composeAsync",value:function(e){if(!e)return null;var t=e.filter(P);return 0==t.length?null:function(e){var n=function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(E);return Object(a.a)(n).pipe(Object(s.a)(M))}}}]),e}();function P(e){return null!=e}function E(e){var t=Object(i.Mb)(e)?Object(o.a)(e):e;if(!Object(i.Lb)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function M(e){var t={};return e.forEach((function(e){t=null!=e?Object.assign(Object.assign({},t),e):t})),0===Object.keys(t).length?null:t}function I(e){return e.validate?function(t){return e.validate(t)}:e}function D(e){return e.validate?function(t){return e.validate(t)}:e}var j={provide:c,useExisting:Object(i.cb)((function(){return A})),multi:!0},A=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&i.Qc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[i.ic([j])]}),e}(),T={provide:c,useExisting:Object(i.cb)((function(){return L})),multi:!0},z=function(){var e=function(){function e(){_classCallCheck(this,e),this._accessors=[]}return _createClass(e,[{key:"add",value:function(e,t){this._accessors.push([e,t])}},{key:"remove",value:function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}},{key:"select",value:function(e){var t=this;
1this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))}},{key:"_isSameGroup",value:function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e}(),L=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._registry=i,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return _createClass(e,[{key:"ngOnInit",value:function(){this._control=this._injector.get(b),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}}},{key:"fireUncheck",value:function(e){this.writeValue(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_checkName",value:function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}},{key:"_throwNameError",value:function(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q),i.yc(z),i.yc(i.w))},e.\u0275dir=i.tc({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&i.Qc("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.ic([T])]}),e}(),N={provide:c,useExisting:Object(i.cb)((function(){return R})),multi:!0},R=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&i.Qc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[i.ic([N])]}),e}(),F='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',V='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',U='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>',H=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"controlParentException",value:function(){throw new Error("formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\
1n\n      Example:\n\n      "+F)}},{key:"ngModelGroupException",value:function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        '.concat(V,"\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        ").concat(U))}},{key:"missingFormException",value:function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+F)}},{key:"groupParentException",value:function(){throw new Error("formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+V)}},{key:"arrayParentException",value:function(){throw new Error('formArrayName must be used with a parent formGroup directive.  You\'ll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        \n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });')}},{key:"disabledAttrWarning",value:function(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n       \n      Example: \n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")}},{key:"ngModelWarning",value:function(e){console.warn("\n    It looks like you're using ngModel on the same form field as ".concat(e,". \n    Support for using the ngModel input property and ngModelChange event with \n    reactive form directives has been deprecated in Angular v6 and will be removed \n    in Angular v7.\n    \n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/").concat("formControl"
1===e?"FormControlDirective":"FormControlName","#use-with-ngmodel\n    "))}}]),e}(),B={provide:c,useExisting:Object(i.cb)((function(){return $})),multi:!0};function q(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var $=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=i.Nb}return _createClass(e,[{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=q(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var i=n[t];if(this._compareWith(this._optionMap.get(i),e))return i}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}},{key:"compareWith",set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&i.Qc("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i.ic([B])]}),e}(),W=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._element=t,this._renderer=n,this._select=i,this._select&&(this.id=this._select._registerOption())}return _createClass(e,[{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}},{key:"ngValue",set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(q(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(i.L),i.yc($,9))},e.\u0275dir=i.tc({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e}(),G={provide:c,useExisting:Object(i.cb)((function(){return Z})),multi:!0};function X(e,t){return null==e?""+t:("string"==typeof t&&(t="'".concat(t,"'")),t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var Z=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=i.Nb}return _createClass(e,[{key:"writeValue",value:function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var i=e.map((function(e){return n._getOptionId(e)}));t=function(e,t){e._setSelected(i.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var i=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,a=0;a<r.length;a++){var o=r.item(a),s=t._getOptionValue(o.value);i.push(s)}else for(var c=n.options,l=0;l<c.length;l++){var u=c.item(l);if(u.selected){var d=t._getOptionValue(u.value);i.push(d)}}t.value=i,e(i)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var i=n[t];if(this._compareWith(this._optionMap.get(i)._value,e))return i}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}},{key:"compareWith",set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.L),i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&i.Qc("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i.ic([G])]}),e}(),Y=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._element=t,this._renderer=n,this._select=i,this._select&&(this.id=this._select._registerOption(this))}return _createClass(e,[{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"_setSelected",value:function(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}},{key:"ngValue",set:function(e){null!=this._select&&(this._value=e,this._setElementValue(X(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._select?(this._value=e,this._setElementValue(X(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(i.L),i.yc(Z,9))},e.\u0275dir=i.tc({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e}();function Q(e,t){return[].concat(_toConsumableArray2(t.path),[e])}function K(e,t){e||ne(t,"Cannot find control with"),t.valueAccessor||ne(t,"No value accessor for form control with"),e.validator=S.compose([e.validator,t.validator]),e.asyncValidator=S.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange((function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&J(e,t)}))}(e,t),function(e,t){e.registerOnChange((function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&J(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange((function(e){t.valueAccessor.setDisabledState(e)})),t._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))})),t._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))}))}function J(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ee(e,t){null==e&&ne(t,"Cannot find control with"),e.validator=S.compose([e.validator,t.validator]),e.asyncValidator=S.composeAsync([e.asyncValidator,t.asyncValidator])}function te(e){return ne(e,"There is no FormControl instance attached to form control element with")}function ne(e,t){var n;throw n=e.path.length>1?"path: '".concat(e.path.join(" -> "),"'"):e.path[0]?"name: '".concat(e.path,"'"):"unspecified name attribute",new Error("".concat(t," ").concat(n))}function ie(e){return null!=e?S.compose(e.map(I)):null}function re(e){return null!=e?S.composeAsync(e.map(D)):null}function ae(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object(i.Nb)(t,n.currentValue)}var oe=[u,R,A,$,Z,L];function se(e,t){e._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function ce(e,t){if(!t)return null;Array.isArray(t)||ne(e,"Value accessor was not provided as an array for form control with");var n=void 0,i=void 0,r=void 0;return t.forEach((function(t){var a;t.constructor===f?n=t:(a=t,oe.some((function(e){return a.constructor===e}))?(i&&ne(e,"More than one built-in value accessor matches form control with"),i=t):(r&&ne(e,"More than one custom value accessor matches form control with"),r=t))})),r||i||n||(ne(e,"No valid value accessor for form control with"),null)}function le(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function ue(e,t,n,r){Object(i.db)()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(H.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function de(e){var t=fe(e)?e.validators:e;return Array.isArray(t)?ie(t):t||null}function he(e,t){var n=fe(t)?t.asyncValidators:e;return Array.isArray(n)?re(n):n||null}function fe(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var pe=function(){function e(t,n){_classCallCheck(this,e),this.validator=t,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return _createClass(e,[{key:"setValidators",value:function(e){this.validator=de(e)}},{key:"setAsyncValidators",value:function(e){this.asyncValidator=he(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}
vendor: 4,391 bytes, line 1
1),this._forEachChild((function(e){return e.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!0)}))}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild((function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!1)}))}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=E(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach((function(e){i=i instanceof ve?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof me&&i.at(e)||null})),i}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}}
1,{key:"_initObservables",value:function(){this.valueChanges=new i.s,this.statusChanges=new i.s}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls((function(t){return t.status===e}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(e){return e.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(e){return e.touched}))}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){fe(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}}]),e}(),ge=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,n),(e=t.call(this,de(r),he(a,r)))._onChange=[],e._applyFormState(i),e._setUpdateStrategy(r),e.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),e._initObservables(),e}return _createClass(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(e){return e(t.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pe
1ndingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(pe),ve=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,de(i),he(r,i))).controls=e,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return _createClass(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach((function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(e).forEach((function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof ge?t.value:t.getRawValue(),e}))}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){var t=this,n=!1;return this._forEachChild((function(i,r){n=n||t.contains(r)&&e(i)})),n}},{key:"_reduceValue",value:function(){var e=this;return this._reduceChildren({},(function(t,n,i){return(n.enabled||e.disabled)&&(t[i]=n.value),t}))}},{key:"_reduceChildren",value:function(e,t){var n=e;return this._forEachChild((function(e,i){n=t(n,e,i)})),n}},{key:"_allControlsDisabled",value:function(){for(var e=0,t=Object.keys(this.controls);e<t.length;e++){var n=t[e];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Mu
1st supply a value for form control with name: '".concat(n,"'."))}))}}]),n}(pe),me=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,de(i),he(r,i))).controls=e,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return _createClass(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach((function(e,i){t._throwIfControlMissing(i),t.at(i).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e,i){t.at(i)&&t.at(i).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map((function(e){return e instanceof ge?e.value:e.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}},{key:"_forEachChild",value:function(e){this.controls.forEach((function(t,n){e(t,n)}))}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))}},{key:"_anyControls",value:function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Mu
1st supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var e,t=_createForOfIteratorHelper(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}},{key:"length",get:function(){return this.controls.length}}]),n}(pe),be={provide:g,useExisting:Object(i.cb)((function(){return Ce}))},ye=Promise.resolve(null),Ce=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var a;return _classCallCheck(this,n),(a=t.call(this)).submitted=!1,a._directives=[],a.ngSubmit=new i.s,a.form=new ve({},ie(e),re(r)),a}return _createClass(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"addControl",value:function(e){var t=this;ye.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),K(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;ye.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),le(t._directives,e)}))}},{key:"addFormGroup",value:function(e){var t=this;ye.then((function(){var n=t._findContainer(e.path),i=new ve({});ee(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(e){var t=this;ye.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;ye.then((function(){n.form.get(e.path).setValue(t)}))}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,se(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(i.yc(k,10),i.yc(x,10))},e.\u0275dir=i.tc({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.Qc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.ic([be]),i.gc]}),e}(),_e=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"_checkParentType",value:function(){}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return Q(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return ie(this._validators)}},{key:"asyncValidator",get:function(){return re(this._asyncValidators)}}]),n}(g);return e.\u0275fac=function(t){return we(t||e)},e.\u0275dir=i.tc({type:e,features:[i.gc]}),e}(),we=i.Gc(_e),ke=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"modelParentException",value:function(){throw new Error('\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup\'s partner directive "formControlName" instead.  Example:\n\n      '.concat(F,'\n\n      Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n      Example:\n\n      \n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  '))}},{key:"formGroupNameException",value:function(){throw new Error("\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      ".concat(V,"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      ").concat(U))}},{key:"missingNameException",value:function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}},{key:"modelGroupParentException",value:function(){throw new Error("\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      ".concat(V,"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      ").concat(U))}}]),e}(),xe={provide:g,useExisting:Object(i.cb)((function(){return Oe}))},Oe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this))._parent=e,a._validators=i,a._asyncValidators=r,a}return _createClass(n,[{key:"_checkParentType",value:function(){this._parent instanceof n||this._parent instanceof Ce||ke.modelGroupParentException()}}]),n}(_e);return e.\u0275fac=function(t){return new(t||e)(i.yc(g,5),i.yc(k,10),i.yc(x,10))},e.\u0275dir=i.tc({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[i.ic([xe]),i.gc]}),e}(),Se={provide:b,useExisting:Object(i.cb)((function(){return Ee}))},Pe=Promise.resolve(null),Ee=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this)).control=new ge,s._registered=!1,s.update=new i.s,s._parent=e,s._rawValidators=r||[],s._rawAsyncValidators=a||[],s.valueAccessor=ce(_assertThisInitialized(s),o),s}return _createClass(n,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),ae(e,this.viewModel)&&(this._updateV
1alue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){K(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){!(this._parent instanceof Oe)&&this._parent instanceof _e?ke.formGroupNameException():this._parent instanceof Oe||this._parent instanceof Ce||ke.modelParentException()}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ke.missingNameException()}},{key:"_updateValue",value:function(e){var t=this;Pe.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,i=""===n||n&&"false"!==n;Pe.then((function(){i&&!t.control.disabled?t.control.disable():!i&&t.control.disabled&&t.control.enable()}))}},{key:"path",get:function(){return this._parent?Q(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return ie(this._rawValidators)}},{key:"asyncValidator",get:function(){return re(this._rawAsyncValidators)}}]),n}(b);return e.\u0275fac=function(t){return new(t||e)(i.yc(g,9),i.yc(k,10),i.yc(x,10),i.yc(c,10))},e.\u0275dir=i.tc({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.ic([Se]),i.gc,i.hc]}),e}(),Me=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),Ie=new i.v("NgModelWithFormControlWarning"),De={provide:b,useExisting:Object(i.cb)((function(){return je}))},je=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this))._ngModelWarningConfig=o,s.update=new i.s,s._ngModelWarningSent=!1,s._rawValidators=e||[],s._rawAsyncValidators=r||[],s.valueAccessor=ce(_assertThisInitialized(s),a),s}return _createClass(n,[{key:"ngOnChanges",value:function(e){this._isControlChanged(e)&&(K(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),ae(e,this.viewModel)&&(ue("formControl",n,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_isControlChanged",value:function(e){return e.hasOwnProperty("form")}},{key:"isDisabled",set:function(e){H.disabledAttrWarning()}},{key:"path",get:function(){return[]}},{key:"validator",get:function(){return ie(this._rawValidators)}},{key:"asyncValidator",get:function(){return re(this._rawAsyncValidators)}},{key:"control",get:function(){return this.form}}]),n}(b);return e.\u0275fac=function(t){return new(t||e)(i.yc(k,10),i.yc(x,10),i.yc(c,10),i.yc(Ie,8))},e.\u0275dir=i.tc({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i.ic([De]),i.gc,i.hc]}),e._ngModelWarningSentOnce=!1,e}(),Ae={provide:g,useExisting:Object(i.cb)((function(){return Te}))},Te=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var a;return _classCallCheck(this,n),(a=t.call(this))._validators=e,a._asyncValidators=r,a.submitted=!1,a.directives=[],a.form=null,a.ngSubmit=new i.s,a}return _createClass(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateV
1alidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return K(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){le(this.directives,e)}},{key:"addFormGroup",value:function(e){var t=this.form.get(e.path);ee(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(e){}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){var t=this.form.get(e.path);ee(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(e){}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,se(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach((function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){t.valueAccessor.registerOnChange((function(){return te(t)})),t.valueAccessor.registerOnTouched((function(){return te(t)})),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),n&&K(n,t),t.control=n)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}}
1,{key:"_updateValidators",value:function(){var e=ie(this._validators);this.form.validator=S.compose([this.form.validator,e]);var t=re(this._asyncValidators);this.form.asyncValidator=S.composeAsync([this.form.asyncValidator,t])}},{key:"_checkFormPresent",value:function(){this.form||H.missingFormException()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(i.yc(k,10),i.yc(x,10))},e.\u0275dir=i.tc({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.Qc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.ic([Ae]),i.gc,i.hc]}),e}(),ze={provide:g,useExisting:Object(i.cb)((function(){return Le}))},Le=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this))._parent=e,a._validators=i,a._asyncValidators=r,a}return _createClass(n,[{key:"_checkParentType",value:function(){Fe(this._parent)&&H.groupParentException()}}]),n}(_e);return e.\u0275fac=function(t){return new(t||e)(i.yc(g,13),i.yc(k,10),i.yc(x,10))},e.\u0275dir=i.tc({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[i.ic([ze]),i.gc]}),e}(),Ne={provide:g,useExisting:Object(i.cb)((function(){return Re}))},Re=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this))._parent=e,a._validators=i,a._asyncValidators=r,a}return _createClass(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormArray(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormArray(this)}},{key:"_checkParentType",value:function(){Fe(this._parent)&&H.arrayParentException()}},{key:"control",get:function(){return this.formDirective.getFormArray(this)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"path",get:function(){return Q(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"validator",get:function(){return ie(this._validators)}},{key:"asyncValidator",get:function(){return re(this._asyncValidators)}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(i.yc(g,13),i.yc(k,10),i.yc(x,10))},e.\u0275dir=i.tc({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[i.ic([Ne]),i.gc]}),e}();function Fe(e){return!(e instanceof Le||e instanceof Te||e instanceof Re)}var Ve={provide:b,useExisting:Object(i.cb)((function(){return Ue}))},Ue=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,a,o,s){var c;return _classCallCheck(this,n),(c=t.call(this))._ngModelWarningConfig=s,c._added=!1,c.update=new i.s,c._ngModelWarningSent=!1,c._parent=e,c._rawValidators=r||[],c._rawAsyncValidators=a||[],c.valueAccessor=ce(_assertThisInitialized(c),o),c}return _createClass(n,[{key:"ngOnChanges",value:function(e){this._added||this._setUpControl(),ae(e,this.viewModel)&&(ue("formControlName",n,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_checkParentType",value:function(){!(this._parent instanceof Le)&&this._parent instanceof _e?H.ngModelGroupException():this._parent instanceof Le||this._parent instanceof Te||this._parent instanceof Re||H.controlParentException()}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}},{key:"isDisabled",set:function(e){H.disabledAttrWarning()}},{key:"path",get:function(){return Q(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return ie(this._rawValidators)}},{key:"asyncValidator",get:function(){return re(this._rawAsyncValidators)}}]),n}(b);return e.\u0275fac=function(t){return new(t||e)(i.yc(g,13),i.yc(k,10),i.yc(x,10),i.yc(c,10),i.yc(Ie,8))},e.\u0275dir=i.tc({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.ic([Ve]),i.gc,i.hc]}),e._ngModelWarningSentOnce=!1,e}(),He={provide:k,useExisting:Object(i.cb)((function(){return qe})),multi:!0},Be={provide:k,useExisting:Object(i.cb)((function(){return $e})),multi:!0},qe=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validate",value:function(e){return this.required?S.required(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("required",t.required?"":null)},inputs:{required:"required"},features:[i.ic([He])]}),e}(),$e=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"validate",value:function(e){return this.required?S.requiredTrue(e):null}}]),n}(qe);return e.\u0275fac=function(t){return We(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("required",t.required?"":null)},features:[i.ic([Be]),i.gc]}),e}(),We=i.Gc($e),Ge={provide:k,useExisting:Object(i.cb)((function(){return Xe})),multi:!0},Xe=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validate",value:function(e){return this._enabled?S.email(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"email",set:function(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[i.ic([Ge])]}),e}(),Ze={provide:k,useExisting:Object(i.cb)((function(){return Ye})),multi:!0},Ye=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnChanges",value:function(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return null==this.minlength?null:this._val
1idator(e)}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=S.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("minlength",t.minlength?t.minlength:null)},inputs:{minlength:"minlength"},features:[i.ic([Ze]),i.hc]}),e}(),Qe={provide:k,useExisting:Object(i.cb)((function(){return Ke})),multi:!0},Ke=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnChanges",value:function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return null!=this.maxlength?this._validator(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=S.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i.ic([Qe]),i.hc]}),e}(),Je={provide:k,useExisting:Object(i.cb)((function(){return et})),multi:!0},et=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnChanges",value:function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return this._validator(e)}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=S.pattern(this.pattern)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[i.ic([Je]),i.hc]}),e}(),tt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)}}),e}(),nt=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"group",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(e),i=null,r=null,a=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(i=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,a=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new ve(n,{asyncValidators:r,updateOn:a,validators:i})}},{key:"control",value:function(e,t,n){return new ge(e,t,n)}},{key:"array",value:function(e,t,n){var i=this,r=e.map((function(e){return i._createControl(e)}));return new me(r,t,n)}},{key:"_reduceControls",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(i){n[i]=t._createControl(e[i])})),n}},{key:"_createControl",value:function(e){return e instanceof ge||e instanceof ve||e instanceof me?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e}(),it=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[z],imports:[tt]}),e}(),rt=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:Ie,useValue:t.warnOnNgModelWithFormControl}]}}}]),e}();return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[nt,z],imports:[tt]}),e}()},"3UD+":function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"3cmB":function(e,t,n){"use strict";var i=n("Y7yP"),r=n("Ju5/"),a=Object(i.a)(r.a,"Map");t.a=a},"4/q3":function(e,t,n){"use strict";var i=n("7gMY"),r=n("IzLi"),a=n("pyRK"),o=Object.prototype.hasOwnProperty,s=n("5WsY");t.a=function(e){return Object(s.a)(e)?Object(i.a)(e,!0):function(e){if(!Object(r.a)(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Object(a.a)(e),n=[];
1for(var i in e)("constructor"!=i||!t&&o.call(e,i))&&n.push(i);return n}(e)}},"4DlN":function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n("XNiG"),r=n("itXk"),a=n("lJxs"),o=n("1G5W"),s=n("vkgz"),c=n("fXoL"),l=n("GJzE"),u=n("sYmb"),d=n("tyNb"),h=n("ofXK");function f(e,t){if(1&e&&(c.Ec(0,"a",3),c.zd(1),c.Dc()),2&e){var n=t.$implicit;c.cd("href",n.url,c.qd),c.jc(1),c.Ad(n.label)}}function p(e,t){if(1&e&&(c.Ec(0,"div",1),c.xd(1,f,2,2,"a",2),c.Dc()),2&e){var n=c.Uc();c.jc(1),c.bd("ngForOf",n.items)}}var g=function(){var e=function(){function e(t,n,r,a,o){_classCallCheck(this,e),this.languagesManagerService=t,this.routesService=n,this.translateService=r,this.router=a,this.changeDetector=o,this.pItems=[],this.pHasItems=!1,this.onDestroy$=new i.a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;Object(r.a)([this.languagesManagerService.siteLanguages$.pipe(Object(a.a)((function(e){return e.all}))),this.languagesManagerService.appLanguage$,this.routesService.onRouteIdsChanged]).pipe(Object(o.a)(this.onDestroy$),Object(s.a)((function(t){var n=_slicedToArray2(t,3),i=n[0],r=n[1],a=n[2];e.updateLanguageItems(i,r,a.actual),e.changeDetector.markForCheck()}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"updateLanguageItems",value:function(e,t,n){var i=this;n=-1!==["newsDetailPage","notFoundPage"].indexOf(n)?"homePage":n;var r=this.languagesManagerService.getAllowedLanguages(n);this.pItems=e.filter((function(e){return e!==t&&-1!==r.indexOf(e)})).map((function(e){return{label:i.translateService.instant("site-language-switcher-"+e),url:i.router.serializeUrl(i.router.createUrlTree(i.routesService.buildRoute(e,n)))}})),this.pHasItems=this.pItems.length>0}},{key:"items",get:function(){return this.pItems}},{key:"hasItems",get:function(){return this.pHasItems}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.yc(l.C),c.yc(l.fb),c.yc(u.e),c.yc(d.d),c.yc(c.j))},e.\u0275cmp=c.sc({type:e,selectors:[["app-switch-site-language"]],decls:1,vars:1,consts:[["class","switch-site-language d-flex btn-group","role","group",4,"ngIf"],["role","group",1,"switch-site-language","d-flex","btn-group"],["role","button","class","btn btn--outline-black btn--sm",3,"href",4,"ngFor","ngForOf"],["role","button",1,"btn","btn--outline-black","btn--sm",3,"href"]],template:function(e,t){1&e&&c.xd(0,p,2,1,"div",0),2&e&&c.bd("ngIf",t.hasItems)},directives:[h.u,h.t],styles:[".switch-site-language[_ngcontent-%COMP%]{margin-left:40px}.switch-site-language[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:6px 10px;font-size:16px}@media (min-width:1024px) and (max-width:1410px){.switch-site-language[_ngcontent-%COMP%]{margin-left:0}}"],changeDetection:0}),e}()},"4I5i":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}()},"4qgU":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("LRne"),r=n("ehPC"),a=n("fXoL"),o=n("jhN1");function s(e,t){if(1&e&&a.zc(0,"iframe",2),2&e){var n=a.Uc(2);a.bd("src",n.iFrameUrl,a.pd)}}function c(e,t){if(1&e&&(a.Cc(0),a.xd(1,s,1,1,"iframe",1),a.Bc()),2&e){var n=a.Uc();a.jc(1),a.bd("ngIf",n.hasModel)}}var l=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).domSanitizer=e,i.pNeedInstantSubstitute=!1,i.pHasModel=!1,i}return _createClass(n,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this)}},{key:"getModels",value:function(){return Object(i.a)(null!==this.card.url?this.card:null)}},{key:"renderCard",value:function(e){this.models=e,this.pHasModel=!0,this.pSafeUrl=this.domSanitizer.bypassSecurityTrustResourceUrl(this.models.url)}},{key:"hasModel",get:function(){return this.pHasModel}},{key:"iFrameUrl",get:function(){return this.pSafeUrl}},{key:"aspectRatio",get:function(){return this.card.width+"/0.75"}}]),n}(r.d);return e.\u0275fac=function(t){return new(t||e)(a.yc(o.c))},e.\u0275cmp=a.sc({type:e,selectors:[["app-iframe-card"]],hostVars:2,hostBindings:function(e,t){2&e&&a.wd("aspect-ratio",t.aspectRatio)},features:[a.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","a
1ppLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","iframe-element","loading","lazy",3,"src",4,"ngIf"],["loading","lazy",1,"iframe-element",3,"src"]],template:function(e,t){1&e&&(a.xd(0,c,2,1,"ng-container",0),a.Vc(1,"async")),2&e&&a.bd("appLoadingPlaceholder",a.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.card.width)("appLoadingPlaceholderHeight",1)},styles:["[_nghost-%COMP%]{position:relative;display:block;width:100%;overflow:hidden;box-sizing:border-box;padding-bottom:24px}[_nghost-%COMP%]   .iframe-element[_ngcontent-%COMP%]{width:100%;height:100%;border:none}"]}),e}()},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("ZUHj"),r=n("l7GE"),a=n("51Dv"),o=n("lJxs"),s=n("Cfvw");function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(i){return i.pipe(c((function(n,i){return Object(s.a)(e(n,i)).pipe(Object(o.a)((function(e,r){return t(n,e,i,r)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new l(e,n))})}var l=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}]),e}(),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,n),(r=t.call(this,e)).project=i,r.concurrent=a,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return _createClass(n,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=new a.a(this,t,n),o=this.destination;o.add(r);var s=Object(i.a)(this,e,void 0,void 0,r);s!==r&&o.add(s)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e,t,n,i,r){this.destination.next(t)}},{key:"notifyComplete",value:function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(r.a)},"51Dv":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this)).parent=e,a.outerValue=i,a.outerIndex=r,a.index=0,a}return _createClass(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(n("7o/Q").a)},"5WsY":function(e,t,n){"use strict";var i=n("vJtL"),r=n("Js68");t.a=function(e){return null!=e&&Object(r.a)(e.length)&&!Object(i.a)(e)}},"5yfJ":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var i=n("HDdC"),r=n("KqfI"),a=new i.a(r.a);function o(){return a}},"6LIB":function(e,t,n){"use strict";var i=n("8M4i"),r=n("UudT"),a=n("EUcb"),o=Function.prototype.toString,s=Object.prototype.hasOwnProperty,c=o.call(Object);t.a=function(e){if(!Object(a.a)(e)||"[object Object]"!=Object(i.a)(e))return!1;var t=Object(r.a)(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&o.call(n)==c}},"6NWb":function(e,t,n){"use strict";n.d(t,"a",(function(){return Fe})),n.d(t,"b",(function(){return Re})),n.d(t,"c",(function(){return Te})),n.d(t,"d",(function(){return He})),n.d(t,"e",(function(){return Be})),n.d(t,"f",(function(){return qe})),n.d(t,"g",(function(){return Ne})),n.d(t,"h",(function(){return Le})),n.d(t,"i",(function(){return $e}));var i=n("fXoL");function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
1)))),i.forEach((function(t){a(e,t,n[t])}))}return e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(c){r=!0,a=c}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var l={},u={};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(u=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&performance}catch(We){}var d=(l.navigator||{}).userAgent,h=void 0===d?"":d,f=l,p=u,g=!!p.documentElement&&!!p.head&&"function"==typeof p.addEventListener&&"function"==typeof p.createElement,v=~h.indexOf("MSIE")||~h.indexOf("Trident/"),m=[1,2,3,4,5,6,7,8,9,10],b=m.concat([11,12,13,14,15,16,17,18,19,20]),y={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},C=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",y.GROUP,y.SWAP_OPACITY,y.PRIMARY,y.SECONDARY].concat(m.map((function(e){return"".concat(e,"x")}))).concat(b.map((function(e){return"w-".concat(e)}))),f.FontAwesomeConfig||{});p&&"function"==typeof p.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=s(e,2),n=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=p.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t[0]));null!=i&&(C[n]=i)}));var _=o({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},C);_.autoReplaceSvg||(_.observeMutations=!1);var w=o({},_);f.FontAwesomeConfig=w;var k=f||{};k.___FONT_AWESOME___||(k.___FONT_AWESOME___={}),k.___FONT_AWESOME___.styles||(k.___FONT_AWESOME___.styles={}),k.___FONT_AWESOME___.hooks||(k.___FONT_AWESOME___.hooks={}),k.___FONT_AWESOME___.shims||(k.___FONT_AWESOME___.shims=[]);var x=k.___FONT_AWESOME___,O=[];g&&((p.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(p.readyState)||p.addEventListener("DOMContentLoaded",(function e(){p.removeEventListener("DOMContentLoaded",e),O.map((function(e){return e()}))})));var S,P=function(){},E="undefined"!=typeof global&&void 0!==global.process&&"function"==typeof global.process.emit,M="undefined"==typeof setImmediate?setTimeout:setImmediate,I=[];function D(){for(var e=0;e<I.length;e++)I[e][0](I[e][1]);I=[],S=!1}function j(e,t){I.push([e,t]),S||(S=!0,M(D,0))}function A(e){var t=e.owner,n=t._state,i=t._data,r=e[n],a=e.then;if("function"==typeof r){n="fulfilled";try{i=r(i)}catch(We){N(a,We)}}T(a,i)||("fulfilled"===n&&z(a,i),"rejected"===n&&N(a,i))}function T(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===r(t))){var i=t.then;if("function"==typeof i)return i.call(t,(function(i){n||(n=!0,t===i?L(e,i):z(e,i))}),(function(t){n||(n=!0,N(e,t))})),!0}}catch(We){return n||N(e,We),!0}return!1}function z(e,t){e!==t&&T(e,t)||L(e,t)}function L(e,t){"pending"===e._state&&(e._state="settled",e._data=t,j(F,e))}function N(e,t){"pending"===e._state&&(e._state="settled",e._data=t,j(V,e))}
1function R(e){e._then=e._then.forEach(A)}function F(e){e._state="fulfilled",R(e)}function V(e){e._state="rejected",R(e),!e._handled&&E&&global.process.emit("unhandledRejection",e._data,e)}function U(e){global.process.emit("rejectionHandled",e)}function H(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof H==0)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){N(t,e)}try{e((function(e){z(t,e)}),n)}catch(We){n(We)}}(e,this)}H.prototype={constructor:H,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(P),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&E&&j(U,this)),"fulfilled"===this._state||"rejected"===this._state?j(A,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},H.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new H((function(t,n){var i=[],r=0;function a(e){return r++,function(n){i[e]=n,--r||t(i)}}for(var o,s=0;s<e.length;s++)(o=e[s])&&"function"==typeof o.then?o.then(a(s),n):i[s]=o;r||t(i)}))},H.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new H((function(t,n){for(var i,r=0;r<e.length;r++)(i=e[r])&&"function"==typeof i.then?i.then(t,n):t(i)}))},H.resolve=function(e){return e&&"object"===r(e)&&e.constructor===H?e:new H((function(t){t(e)}))},H.reject=function(e){return new H((function(t,n){n(e)}))};var B=16,q={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function $(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function W(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function G(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function X(e){return e.size!==q.size||e.x!==q.x||e.y!==q.y||e.rotate!==q.rotate||e.flipX||e.flipY}function Z(e){var t=e.transform,n=e.iconWidth,i={transform:"translate(".concat(e.containerWidth/2," 256)")},r="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(r," ").concat(a," ").concat(o)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}var Y={x:0,y:0,width:"100%",height:"100%"};function Q(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function K(e){var t=e.icons,n=t.main,i=t.mask,r=e.prefix,a=e.iconName,s=e.transform,c=e.symbol,l=e.title,u=e.maskId,d=e.titleId,h=e.extra,f=e.watchable,p=void 0!==f&&f,g=i.found?i:n,v=g.width,m=g.height,b="fak"===r,y=b?"":"fa-w-".concat(Math.ceil(v/m*16)),C=[w.replacementClass,a?"".concat(w.familyPrefix,"-").concat(a):"",y].filter((function(e){return-1===h.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(h.classes).join(" "),_={children:[],attributes:o({},h.attributes,{"data-prefix":r,"data-icon":a,class:C,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(m)})},k=b&&!~h.classes.indexOf("fa-fw")?{width:"".concat(v/m*16*.0625,"em")}:{};p&&(_.attributes["data-fa-i2svg"]=""),l&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(d||$())},children:[l]});var x=o({},_,{prefix:r,iconName:a,main:n,mask:i,maskId:u,transform:s,symbol:c,styles:o({},k,h.styles)}),O=i.found&&n.found?function(e){var t,n=e.children,i=e.attributes,r=e.main,a=e.mask,s=e.maskId,c=r.icon,l=a.icon,u=Z({transform:e.transform,containerWidth:a.width,iconWidth:r.width}),d={tag:"rect",attributes:o({},Y,{fill:"white"})},h=c.children?{children:c.children.map(Q)}:{},f={tag:"g",attributes:o({},u.inner),children:[Q(o({tag:c.tag,attributes:o({},c.attributes,u.path)},h))]},p={tag:"g",attributes:o({},u.outer),children:[f]},g="mask-".concat(s||$()),v="clip-".concat(s||$()),m={tag:"mask",attributes:o({},Y,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,p]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=l,"g"===t.tag?t.children:[t])},m]};
1return n.push(b,{tag:"rect",attributes:o({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(g,")")},Y)}),{children:n,attributes:i}}(x):function(e){var t=e.children,n=e.attributes,i=e.main,r=e.transform,a=G(e.styles);if(a.length>0&&(n.style=a),X(r)){var s=Z({transform:r,containerWidth:i.width,iconWidth:i.width});t.push({tag:"g",attributes:o({},s.outer),children:[{tag:"g",attributes:o({},s.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:o({},i.icon.attributes,s.path)}]}]})}else t.push(i.icon);return{children:t,attributes:n}}(x),S=O.attributes;return x.children=O.children,x.attributes=S,c?function(e){var t=e.iconName,n=e.children,i=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:o({},e.attributes,{id:!0===i?"".concat(e.prefix,"-").concat(w.familyPrefix,"-").concat(t):i}),children:n}]}]}(x):function(e){var t=e.children,n=e.main,i=e.mask,r=e.attributes,a=e.styles,s=e.transform;if(X(s)&&n.found&&!i.found){var c={x:n.width/n.height/2,y:.5};r.style=G(o({},a,{"transform-origin":"".concat(c.x+s.x/16,"em ").concat(c.y+s.y/16,"em")}))}return[{tag:"svg",attributes:r,children:t}]}(x)}function J(e){var t=e.content,n=e.width,i=e.height,r=e.transform,a=e.title,s=e.extra,c=e.watchable,l=void 0!==c&&c,u=o({},s.attributes,a?{title:a}:{},{class:s.classes.join(" ")});l&&(u["data-fa-i2svg"]="");var d=o({},s.styles);X(r)&&(d.transform=function(e){var t=e.transform,n=e.width,i=e.height,r=void 0===i?16:i,a=e.startCentered,o=void 0!==a&&a,s="";return s+=o&&v?"translate(".concat(t.x/B-(void 0===n?16:n)/2,"em, ").concat(t.y/B-r/2,"em) "):o?"translate(calc(-50% + ".concat(t.x/B,"em), calc(-50% + ").concat(t.y/B,"em)) "):"translate(".concat(t.x/B,"em, ").concat(t.y/B,"em) "),(s+="scale(".concat(t.size/B*(t.flipX?-1:1),", ").concat(t.size/B*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:r,startCentered:!0,width:n,height:i}),d["-webkit-transform"]=d.transform);var h=G(d);h.length>0&&(u.style=h);var f=[];return f.push({tag:"span",attributes:u,children:[t]}),a&&f.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),f}function ee(e){var t=e.content,n=e.title,i=e.extra,r=o({},i.attributes,n?{title:n}:{},{class:i.classes.join(" ")}),a=G(i.styles);a.length>0&&(r.style=a);var s=[];return s.push({tag:"span",attributes:r,children:[t]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var te=function(e,t,n,i){var r,a,o,s=Object.keys(e),c=s.length,l=void 0!==i?function(e,t){return function(n,i,r,a){return e.call(t,n,i,r,a)}}(t,i):t;for(void 0===n?(r=1,o=e[s[0]]):(r=0,o=n);r<c;r++)o=l(o,e[a=s[r]],a,e);return o};function ne(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.skipHooks,r=void 0!==i&&i,a=Object.keys(t).reduce((function(e,n){var i=t[n];return i.icon?e[i.iconName]=i.icon:e[n]=i,e}),{});"function"!=typeof x.hooks.addPack||r?x.styles[e]=o({},x.styles[e]||{},a):x.hooks.addPack(e,a),"fas"===e&&ne("fa",t)}var ie=x.styles,re=x.shims,ae=function(){var e=function(e){return te(ie,(function(t,n,i){return t[i]=te(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var i=t[2];return e[n]=n,i.forEach((function(t){e[t]=n})),e}));var t="far"in ie;te(re,(function(e,n){var i=n[1];return"far"!==i||t||(i="fas"),e[n[0]]={prefix:i,iconName:n[2]},e}),{})};function oe(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function se(e){var t=e.tag,n=e.attributes,i=void 0===n?{}:n,r=e.children,a=void 0===r?[]:r;return"string"==typeof e?W(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(W(e[n]),'" ')}),"").trim()}(i),">").concat(a.map(se).join(""),"</").concat(t,">")}function ce(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}ae(),(ce.prototype=Object.create(Error.prototype)).constructor=ce;var le={fill:"currentColor"},ue={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},de=(o({},le,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2
1-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),o({},ue,{attributeName:"opacity"}));function he(e){var t=e[0],n=e[1],i=s(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(i)?{tag:"g",attributes:{class:"".concat(w.familyPrefix,"-").concat(y.GROUP)},children:[{tag:"path",attributes:{class:"".concat(w.familyPrefix,"-").concat(y.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(w.familyPrefix,"-").concat(y.PRIMARY),fill:"currentColor",d:i[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:i}}}}function fe(){w.autoAddCss&&!Ee&&(function(e){if(e&&g){var t=p.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=p.head.childNodes,i=null,r=n.length-1;r>-1;r--){var a=n[r],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(i=a)}p.head.insertBefore(t,i)}}(function(){var e="svg-inline--fa",t=w.familyPrefix,n=w.replacementClass,i='svg:not(:root).svg-inline--fa {\n  overflow: visible;\n}\n\n.svg-inline--fa {\n  display: inline-block;\n  font-size: inherit;\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n  width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n  width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n  width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n  width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n  width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n  width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n  width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n  width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n  width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n  width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n  width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n  width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n  width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n  width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n  width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n  width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n  width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n  width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n  width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n  width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-border {\n  height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n  width: 2em;\n}\n.svg-inline--fa.fa-fw {\n  width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: #ff253a;\n  border-radius: 1em;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  color: #fff;\n  height: 1.5em;\n  line-height: 1;\n  max-width: 5em;\n  min-width: 1.5em;\n  overflow: hidden;\n  padding: 0.25em;\n  right: 0;\n  text-overflow: ellipsis;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: 0;\n  right: 0;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: 0;\n  left: 0;\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  right: 0;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: 0;\n  right: auto;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-lg {\n  font-size: 1.3333333333em;\n  line-height: 0.75em;\n  vertical-align: -0.0667em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;
1\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: 2.5em;\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: -2em;\n  position: absolute;\n  text-align: center;\n  width: 2em;\n  line-height: inherit;\n}\n\n.fa-border {\n  border: solid 0.08em #eee;\n  border-radius: 0.1em;\n  padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n  float: left;\n}\n\n.fa-pull-right {\n  float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n  margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n  margin-left: 0.3em;\n}\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n          animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n          animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n  -webkit-filter: none;\n          filter: none;\n}\n\n.fa-stack {\n  display: inline-block;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: #fff;\n}\n\n.sr-only {\n  border: 0;\n  clip: rect(0, 0, 0, 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n  clip: auto;\n  height: auto;\n  margin: 0;\n  overflow: visible;\n  position: static;\n  width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse {\n  color: #fff;\n}';if("fa"!==t||n!==e){var r=new RegExp("\\.".concat("fa","\\-"),"g"),a=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(e),"g");i=i.replace(r,".".concat(t,"-")).replace(a,"--".concat(t,"-")).replace(o,".".concat(n))}return i}()),Ee=!0)}function pe(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return se(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(g){var t=p.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function ge(e){var t=e.prefix,n=void 0===t?"fa":t,i=e.iconName;if(i)return oe(Pe.definitions,n,i)||oe(x.styles,n,i)}o({},le,{cx:"256",cy:"364",r:"28"}),o({},ue,{attributeName:"r",values:"28;14;28;28;14;28;"}),o({},de,{values:"1;0;1;1;0;1;"}),o({},le,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),o({},de,{values:"1;0;0;0;0;1;"}),o({},le,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),o({},de,{values:"0;0;1;1;0;0;"});var ve,me,be,ye,Ce,_e,we,ke,xe,Oe,Se,Pe=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t;return(t=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach((function(t){e.definitions[t]=o({},e.definitions[t]||{},r[t]),ne(t,r[t]),ae()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var i=n[t],r=i.prefix,a=i.iconName,o=i.icon;e[r]||(e[r]={}),e[r][a]=o})),e}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}()),Ee=!1,Me=function(e){return function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),i=n[0],r=n.slice(1).join("-");if(i&&"h"===r)return e.flipX=!0,e;if(i&&"v"===r)return e.flipY=!0,e;if(r=parseFloat(r),isNaN(r))return e;switch(i){case"grow":e.size=e.size+r;break;case"shrink":e.size=e.size-r;break;case"left":e.x=e.x-r;break;case"right":e.x=e.x+r;break;case"up":e.y=e.y-r;break;case"down":e.y=e.y+r;break;case"rotate":e.rotate=e.rotate+r}return e}),t):t}(e)},Ie=(ve=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,i=void 0===n?q:n,r=t.symbol,a=void 0!==r&&r,s=t.mask,c=void 0===s?null:s,l=t.maskId,u=void 0===l?null:l,d=t.title,h=void 0===d?null:d,f=t.titleId,p=void 0===f?null:f,g=t.classes,v=void 0===g?[]:g,m=t.attributes,b=void 0===m?{}:m,y=t.styles,C=void 0===y?{}:y;if(e){var _=e.prefix,k=e.iconName,x=e.icon;return pe(o({type:"icon"},e),(function(){return fe(),w.autoA11y&&(h?b["aria-labelledby"]="".concat(w.replacementClass,"-title-").concat(p||$()):(b["aria-hidden"]="true",b.focusable="false")),K({icons:{main:he(x),mask:c?he(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:_,iconName:k,transform:o({},q,i),symbol:a,title:h,maskId:u,titleId:p,extra:{attributes:b,styles:C,classes:v}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:ge(e||{}),i=t.mask;return i&&(i=(i||{}).icon?i:ge(i||{})),ve(n,o({},t,{mask:i}))}),De=n("jhN1"),je=["*"],Ae=((be=function e(){_classCallCheck(this,e),this.defaultPrefix="fas",this.fallbackIcon=null,this.globalLibrary=!1}).\u0275fac=function(e){return new(e||be)},be.\u0275prov=Object(i.uc)({factory:function(){return new be},token:be,providedIn:"root"}),be),Te=((me=function(){function e(){_classCallCheck(this,e),this.definitions={}}return _createClass(e,[{key:"addIcons",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var i=0,r=t;i<r.length;i++){var a=r[i];a.prefix in this.definitions||(this.definitions[a.prefix]={}),this.definitions[a.prefix][a.iconName]=a}}},{key:"addIconPacks",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];for(var r=function(){var t=o[a],n=Object.keys(t).map((function(e){return t[e]}));e.addIcons.apply(e,_toConsumableArray2(n))},a=0,o=n;a<o.length;a++)r()}},{key:"getIconDefinition",value:function(e,t){return e in this.definitions&&t in this.definitions[e]?this.definitions[e][t]:null}}]),e}()).\u0275fac=function(e){return new(e||me)},me.\u0275prov=Object(i.uc)({factory:function(){return new me},token:me,providedIn:"root"}),me),ze=function(e){var t,n=(_defineProperty2(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-inverse":e.inverse,"fa-layers-counter"
1:e.counter,"fa-flip-horizontal":"horizontal"===e.flip||"both"===e.flip,"fa-flip-vertical":"vertical"===e.flip||"both"===e.flip},"fa-"+e.size,null!==e.size),_defineProperty2(t,"fa-rotate-"+e.rotate,null!==e.rotate),_defineProperty2(t,"fa-pull-"+e.pull,null!==e.pull),_defineProperty2(t,"fa-stack-"+e.stackItemSize,null!=e.stackItemSize),t);return Object.keys(n).map((function(e){return n[e]?e:null})).filter((function(e){return e}))},Le=((we=function(){function e(){_classCallCheck(this,e),this.stackItemSize="1x"}return _createClass(e,[{key:"ngOnChanges",value:function(e){if("size"in e)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}}]),e}()).\u0275fac=function(e){return new(e||we)},we.\u0275dir=i.tc({type:we,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[i.hc]}),we),Ne=((_e=function(){function e(t,n){_classCallCheck(this,e),this.renderer=t,this.elementRef=n}return _createClass(e,[{key:"ngOnInit",value:function(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}},{key:"ngOnChanges",value:function(e){"size"in e&&(null!=e.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,"fa-"+e.size.currentValue),null!=e.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,"fa-"+e.size.previousValue))}}]),e}()).\u0275fac=function(e){return new(e||_e)(i.yc(i.L),i.yc(i.q))},_e.\u0275cmp=i.sc({type:_e,selectors:[["fa-stack"]],inputs:{size:"size"},features:[i.hc],ngContentSelectors:je,decls:1,vars:0,template:function(e,t){1&e&&(i.ad(),i.Zc(0))},encapsulation:2}),_e),Re=((Ce=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.sanitizer=t,this.config=n,this.iconLibrary=i,this.stackItem=r,this.classes=[],null!=a&&null==r&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}return _createClass(e,[{key:"ngOnChanges",value:function(e){if(null==this.icon&&null==this.config.fallbackIcon)return function(){throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")}();var t;if(t=null==this.icon?this.config.fallbackIcon:this.icon,e){var n=this.findIconDefinition(t);if(null!=n){var i=this.buildParams();this.renderIcon(n,i)}}}},{key:"render",value:function(){this.ngOnChanges({})}},{key:"findIconDefinition",value:function(e){var t=function(e,t){return void 0!==(n=e).prefix&&void 0!==n.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:t,iconName:e}:void 0;var n}(e,this.config.defaultPrefix);if("icon"in t)return t;var n=this.iconLibrary.getIconDefinition(t.prefix,t.iconName);if(null!=n)return n;var i=ge(t);if(null!=i){var r="Global icon library is deprecated. Consult https://github.com/FortAwesome/angular-fontawesome/blob/master/UPGRADING.md for the migration instructions.";if("unset"===this.config.globalLibrary)console.error("FontAwesome: "+r);else if(!this.config.globalLibrary)throw new Error(r);return i}return function(e){throw new Error("Could not find icon with iconName=".concat(e.iconName," and prefix=").concat(e.prefix," in the icon library."))}(t),null}},{key:"buildParams",value:function(){var e={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},t="string"==typeof this.transform?Me(this.transform):this.transform;return{title:this.title,transform:t,classes:[].concat(_toConsumableArray2(ze(e)),_toConsumableArray2(this.classes)),mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}},{key:"renderIcon",value:function(e,t){var n=Ie(e,t);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(n.html.join("\n"))}}]),e}()).\u0275fac=function(e){return new(e||Ce)(i.yc(De.c),i.yc(Ae),i.yc(Te),i.yc(Le,8),i.yc(Ne,8))},Ce.\u0275cmp=i.sc({type:Ce,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(e,t){2&e&&(i.Hc("innerHTML",t.renderedIconHTML,i.od),i.kc("title",t.title))},inputs:{classes:"classes",icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol
1:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},features:[i.hc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),Ce),Fe=((ye=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"findIconDefinition",value:function(e){var t=_get(_getPrototypeOf(n.prototype),"findIconDefinition",this).call(this,e);if(null!=t&&!Array.isArray(t.icon[4]))throw new Error("The specified icon does not appear to be a Duotone icon. Check that you specified the correct style: <fa-duotone-icon [icon]=\"['fad', '".concat(t.iconName,'\']"></fa-duotone-icon> or use: <fa-icon icon="').concat(t.iconName,'"></fa-icon> instead.'));return t}},{key:"buildParams",value:function(){var e=_get(_getPrototypeOf(n.prototype),"buildParams",this).call(this);return!0!==this.swapOpacity&&"true"!==this.swapOpacity||e.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(e.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(e.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(e.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(e.styles["--fa-secondary-color"]=this.secondaryColor),e}}]),n}(Re)).\u0275fac=function(e){return Ve(e||ye)},ye.\u0275cmp=i.sc({type:ye,selectors:[["fa-duotone-icon"]],inputs:{swapOpacity:"swapOpacity",primaryOpacity:"primaryOpacity",secondaryOpacity:"secondaryOpacity",primaryColor:"primaryColor",secondaryColor:"secondaryColor"},features:[i.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),ye),Ve=i.Gc(Fe),Ue=function(e,t,n){if(!e)throw new Error("".concat(n," should be used as child of ").concat(t," only."))},He=((Se=function(){function e(t,n,i){_classCallCheck(this,e),this.renderer=t,this.elementRef=n,this.config=i}return _createClass(e,[{key:"ngOnInit",value:function(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth}},{key:"ngOnChanges",value:function(e){"size"in e&&(null!=e.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,"fa-"+e.size.currentValue),null!=e.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,"fa-"+e.size.previousValue))}}]),e}()).\u0275fac=function(e){return new(e||Se)(i.yc(i.L),i.yc(i.q),i.yc(Ae))},Se.\u0275cmp=i.sc({type:Se,selectors:[["fa-layers"]],hostVars:2,hostBindings:function(e,t){2&e&&i.pc("fa-fw",t.fixedWidth)},inputs:{fixedWidth:"fixedWidth",size:"size"},features:[i.hc],ngContentSelectors:je,decls:1,vars:0,template:function(e,t){1&e&&(i.ad(),i.Zc(0))},encapsulation:2}),Se),Be=((Oe=function(){function e(t,n){_classCallCheck(this,e),this.parent=t,this.sanitizer=n,this.classes=[],Ue(this.parent,"FaLayersComponent",this.constructor.name)}return _createClass(e,[{key:"ngOnChanges",value:function(e){if(e){var t=this.buildParams();this.updateContent(t)}}},{key:"buildParams",value:function(){return{title:this.title,classes:this.classes,styles:this.styles}}},{key:"updateContent",value:function(e){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,i=void 0===n?null:n,r=t.classes,a=void 0===r?[]:r,o=t.attributes,s=void 0===o?{}:o,l=t.styles,u=void 0===l?{}:l;return pe({type:"counter",content:e},(function(){return fe(),ee({content:e.toString(),title:i,extra:{attributes:s,styles:u,classes:["".concat(w.familyPrefix,"-layers-counter")].concat(c(a))}})}))}(this.content||"",e).html.join(""))}}]),e}()).\u0275fac=function(e){return new(e||Oe)(i.yc(He,8),i.yc(De.c))},Oe.\u0275cmp=i.sc({type:Oe,selectors:[["fa-layers-counter"]],hostAttrs:[1,"ng-fa-layers-counter"],hostVars:1,hostBindings:function(e,t){2&e&&i.Hc("innerHTML",t.renderedHTML,i.od)},inputs:{classes:"classes",content:"content",title:"title",styles:"styles"},features:[i.hc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),Oe),qe=((xe=function(){function e(t,n){_classCallCheck(this,e),this.parent=t,this.sanitizer=n,this.classes=[],Ue(this.parent,"FaLayersComponent",this.constructor.name)}return _createClass(e,[{key:"ngOnChanges",value:function(e){if(e){var t=this.buildParams();this.updateContent(t)}}},{key:"buildParams",value:function(){var e={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth};return{transform:"string"==typeof this.transform?Me(this.transform):this.transform,classes:[].concat(_toConsumableArray2(ze(e)),_toConsumableArray2(this.classes)),title:this.title,styles:this.styles}}},{key:"updateContent",value:function(e){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,i=void 0===n?q:n,r=t.title,a=void 0===r?null:r,s=t.classes,l=void 0===s?[]:s,u=t.attributes,d=void 0===u?{}:u,h=t.styles,f=void 0===h?{}:h;return pe({type:"text",content:e},(function(){return fe(),J({content:e,transform:o({},q,i),title:a,extra:{attributes:d,styles:f,classes:["".concat(w.familyPrefix,"-layers-text")].concat(c(l))}})}))}(this.content||"",e).html.join("\n"))}}]),e}()).\u0275fac=function(e){return new(e||xe)(i.yc(He,8),i.yc(De.c))},xe.\u0275cmp=i.sc({type:xe,selectors:[["fa-layers-text"]],hostAttrs:[1,"ng-fa-layers-text"],hostVars:1,hostBindings:function(e,t){2&e&&i.Hc("innerHTML",t.renderedHTML,i.od)},inputs:{classes:"classes",content:"content",title:"title",styles:"styles",spin:"spin",pulse:"pulse",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform"},features:[i.hc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),xe),$e=((ke=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:ke}),ke.\u0275inj=i.vc({factory:function(e){return new(e||ke)}}),ke)},"7Yz4":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("XNiG"),r=n("1G5W"),a=n("pLZG"),o=n("lJxs"),s=n("vkgz"),c=n("fXoL"),l=n("GJzE"),u=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.viewContainerRef
1=t,this.templateRef=n,this.routesService=r,this.onDestroy$=new i.a,this.isContentVisible=!1,this.pOnlyRoutes=null,this.pExceptRoutes=null}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.routesService.onRouteIdsChanged.pipe(Object(r.a)(this.onDestroy$),Object(a.a)((function(t){return e.isRouteIdOk(t.actual)!==e.isContentVisible})),Object(o.a)((function(t){return e.isRouteIdOk(t.actual)})),Object(s.a)((function(t){t?e.viewContainerRef.createEmbeddedView(e.templateRef):e.viewContainerRef.clear(),e.isContentVisible=t}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"isRouteIdOk",value:function(e){var t=this;return null===this.pOnlyRoutes&&(null===this.pExceptRoutes||0===this.pExceptRoutes.length)||(null===this.pOnlyRoutes||0!==this.pOnlyRoutes.length)&&(null===this.pOnlyRoutes&&null!==this.pExceptRoutes?-1===this.pExceptRoutes.indexOf(e):-1!==(null!==this.pExceptRoutes?this.pOnlyRoutes.filter((function(e){return-1===t.pExceptRoutes.indexOf(e)})):_toConsumableArray2(this.pOnlyRoutes)).indexOf(e))}},{key:"exceptRoutes",set:function(e){this.pExceptRoutes=e}},{key:"onlyRoutes",set:function(e){this.pOnlyRoutes=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.yc(c.X),c.yc(c.U),c.yc(l.fb))},e.\u0275dir=c.tc({type:e,selectors:[["","appOnlyOnRoutes",""]],inputs:{exceptRoutes:["appOnlyOnRoutesExcept","exceptRoutes"],onlyRoutes:["appOnlyOnRoutes","onlyRoutes"]}}),e}()},"7gMY":function(e,t,n){"use strict";var i=n("9f76"),r=n("/1FC"),a=n("WOAq"),o=n("cSlR"),s=n("oYcn"),c=Object.prototype.hasOwnProperty;t.a=function(e,t){var n=Object(r.a)(e),l=!n&&Object(i.a)(e),u=!n&&!l&&Object(a.a)(e),d=!n&&!l&&!u&&Object(s.a)(e),h=n||l||u||d,f=h?function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}(e.length,String):[],p=f.length;for(var g in e)!t&&!c.call(e,g)||h&&("length"==g||u&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||Object(o.a)(g,p))||f.push(g);return f}},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("n6bG"),r=n("gRHU"),a=n("quSY"),o=n("2QA8"),s=n("2fFW"),c=n("NJ4a"),l=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,a){var o;switch(_classCallCheck(this,n),(o=t.call(this)).syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=r.a;break;case 1:if(!e){o.destination=r.a;break}if("object"==typeof e){e instanceof n?(o.syncErrorThrowable=e.syncErrorThrowable,o.destination=e,e.add(_assertThisInitialized(o))):(o.syncErrorThrowable=!0,o.destination=new u(_assertThisInitialized(o),e));break}default:o.syncErrorThrowable=!0,o.destination=new u(_assertThisInitialized(o),e,i,a)}return o}return _createClass(n,[{key:o.a,value:function(){return this}},{key:"next",value:function(e){this.isStopped||this._next(e)}},{key:"error",value:function(e){this.isStopped||(this.isStopped=!0,this._error(e))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,_get(_getPrototypeOf(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}],[{key:"create",value:function(e,t,i){var r=new n(e,t,i);return r.syncErrorThrowable=!1,r}}]),n}(a.a),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,a,o,s){var c,l;_classCallCheck(this,n),(c=t.call(this))._parentSubscriber=e;var u=_assertThisInitialized(c);return Object(i.a)(a)?l=a:a&&(l=a.next,o=a.error,s=a.complete,a!==r.a&&(u=Object.create(a),Object(i.a)(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(_assertThisInitialized(c)))),c._context=u,c._next=l,c._error=o,c._complete=s,c}return _createClass(n,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;s.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}},{key:"error",value:function(e){if(!this.isStopped){var t=this._parentSubscriber,n=s.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(c.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(c.a)(e)}}}},{key:"complete",value:function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};s.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return s.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(Object(c.a)(i),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}]),n}(l)},"8M4i":function(e,t,n){"use strict";var i=n("ylTp"),r=Object.prototype,a=r.hasOwnProperty,o=r.toString,s=i.a?i.a.toStringTag:void 0,c=Object.prototype.toString,l=i.a?i.a.toStringTag:void 0;
1t.a=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":l&&l in Object(e)?function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var i=!0}catch(c){}var r=o.call(e);return i&&(t?e[s]=n:delete e[s]),r}(e):function(e){return c.call(e)}(e)}},"96xf":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("PqYM"),r=n("ehPC"),a=n("AytR"),o=n("fXoL"),s=n("jhN1");function c(e,t){if(1&e&&o.zc(0,"iframe",2),2&e){var n=o.Uc(2);o.bd("src",n.iFrameUrl,o.pd)}}function l(e,t){if(1&e&&(o.Cc(0),o.xd(1,c,1,1,"iframe",1),o.Bc()),2&e){var n=o.Uc();o.jc(1),o.bd("ngIf",n.hasModel)}}var u=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,a.injector=i,a.domSanitizer=r,a.needInstantSubstitute=!1,a.pHasModel=!1,a.pAspectRatio=null,a}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.pHasModel=null!==this.widget.url,this.pAspectRatio="".concat(this.widget.width,"/").concat(.75*this.widget.height),this.pHasModel?(this.pSafeUrl=this.domSanitizer.bypassSecurityTrustResourceUrl(this.widget.url),this.emitHasData()):this.emitEmptyData();var t=function(){e.emitComponentLoaded()};a.a.useLoadingDelay?Object(i.a)(1500).subscribe(t):t()}},{key:"hasModel",get:function(){return this.pHasModel}},{key:"iFrameUrl",get:function(){return this.pSafeUrl}},{key:"aspectRatio",get:function(){return this.pAspectRatio}}]),n}(r.j);return e.\u0275fac=function(t){return new(t||e)(o.yc(r.A,8),o.yc(o.w),o.yc(s.c))},e.\u0275cmp=o.sc({type:e,selectors:[["app-iframe-widget"]],hostVars:2,hostBindings:function(e,t){2&e&&o.wd("aspect-ratio",t.aspectRatio)},features:[o.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","iframe-element","loading","lazy",3,"src",4,"ngIf"],["loading","lazy",1,"iframe-element",3,"src"]],template:function(e,t){1&e&&(o.xd(0,l,2,1,"ng-container",0),o.Vc(1,"async")),2&e&&o.bd("appLoadingPlaceholder",o.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:["[_nghost-%COMP%]{position:relative;display:block;width:100%;overflow:hidden;padding:5px 0;box-sizing:border-box}[_nghost-%COMP%]   .iframe-element[_ngcontent-%COMP%]{width:100%;height:100%;border:none}"]}),e}()},"9a0I":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL"),r=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-page-loader"]],decls:6,vars:0,consts:[[1,"mobile-page-loader","d-lg-none"],[1,"lds-ring"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.Ec(1,"div",1),i.zc(2,"div"),i.zc(3,"div"),i.zc(4,"div"),i.zc(5,"div"),i.Dc(),i.Dc())},styles:[".mobile-page-loader[_ngcontent-%COMP%]{height:150vh;display:flex;justify-content:center}.lds-ring[_ngcontent-%COMP%]{display:inline-block;position:relative;width:80px;height:80px}.lds-ring[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{box-sizing:border-box;display:block;position:absolute;width:64px;height:64px;margin:8px;border-radius:50%;-webkit-animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;animation:lds-ring 1.2s cubic-bezier(.5,0,.5,1) infinite;border:8px solid transparent;border-top:8px solid var(--green-primary)}.lds-ring[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.45s;animation-delay:-.45s}.lds-ring[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.3s;animation-delay:-.3s}.lds-ring[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.15s;animation-delay:-.15s}@-webkit-keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes lds-ring{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"]}),e}()},"9f76":function(e,t,n){"use strict";var i=n("8M4i"),r=n("EUcb"),a=function(e){return Object(r.a)(e)&&"[object Arguments]"==Object(i.a)(e)},o=Object.prototype,s=o.hasOwnProperty,c=o.propertyIsEnumerable,l=a(function(){return arguments}())?a:function(e){return Object(r.a)(e)&&s.call(e,"callee")&&!c.call(e,"callee")};t.a=l},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},"A/Aq":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("LRne"),r=n("IzEk"),a=n("ehPC"),o=n("GQzd"),s=n("fXoL"),c=n("GJzE");function l(e,t){}var u=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c){var l;return _classCallCheck(this,n),(l=t.call(this,e,i,r,a,o,s)).newsService=c,l}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;(void 0!==this.newsModelsByCards?Object(i.a)(this.newsModelsByCards):this.newsService.getPage(this.widget.width,this.widget.height).pipe(Object(r.a)(1))).subscribe((function(t){null!==t?(e.newsModelsByCards=t,_get(_getPrototypeOf(n.prototype),"ngOnInit",e).call(e)):(e.emitEmptyData(),e.emitComponentLoaded())}))}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this)}},{key:"setUpCardInstance",value:function(e,t,i){_get(_getPrototypeOf(n.prototype),"setUpCardInstance",this).call(this,e,t,i),e.instance instanceof o.u&&(e.instance.models=i<this.newsModelsByCards.length?this.newsModelsByCards[i]:null)}}]),n}(a.s);return e.\u0275fac=function(t){return new(t||e)(s.yc(a.A,8),s.yc(s.w),s.yc(s.n),s.yc(c.t),s.yc(a.p),s.yc(a.z,8),s.yc(o.n))},e.\u0275cmp=s.sc({type:e,selectors:[["app-news-cards-block"]],inputs:{newsModelsByCards:"newsModelsByCards"},features:[s.gc],decls:2,vars:0,consts:[["insertPoint",""]],template:function(e,t){1&e&&s.xd(0,l,0,0,"ng-template",null,0,s.yd)},encapsulation:2}),e}()},AMXB:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("fXoL"),r=n("ofXK"),a=n("wf0l"),o=n("sYmb");function s(e,t){if(1&e&&(i.Ec(0,"div"),i.Ec(1,"div",3),i.zd(2,"in-header-menu-label"),i.Dc(),i.Ec(3,"div",4),i.zd(4),i.Dc(),i.Dc()),2&e){var n=i.Uc(2);i.jc(4),i.Ad(n.model.label)}}function c(e,t){if(1&e&&(i.Ec(0,"a",1),i.xd(1,s,5,1,"div",2),i.Dc()),2&e){var n=i.Uc();i.cd("href",n.model.url,i.qd),i.bd("lazyLoad",n.model.imageUrl),i.kc("target",n.model.linkTarget)("rel",n.model.linkRel),i.jc(1),i.bd("ngIf",null===n.model.imageUrl&&(null==n.model.label?null:n.model.label.length)>0)}}var l=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-special-link"]],inputs:{model:"model"},decls:1,vars:1,consts:[["class","special-link",3,"href","lazyLoad",4,"ngIf"],[1,"special-link",3,"href","lazyLoad"],[4,"ngIf"],["translate","",1,"special-link__label","special-link__label--rubric"],[1,"special-link__label","special-link__label--title"]],template:function(e,t){1&e&&i.xd(0,c,2,5,"a",0),2&e&&i.bd("ngIf",null!==t.model)},directives:[r.u,a.a,o.b],styles:[".special-link[_ngcontent-%COMP%]{display:flex;flex-grow:1;height:100%;background-position:50%;background-size:cover}.special-link__label[_ngcontent-%COMP%]{position:absolute;color:#fff;font-size:16px;padding:5px 15px;border-radius:12px}.special-link__label--rubric[_ngcontent-%COMP%]{z-index:1;right:15px;top:22px;transform:rotate(5deg);background-color:#609946}.special-link__label--title[_ngcontent-%COMP%]{right:40px;top:45px;background-color:#fb661c}"]}
1),e}()},AwXo:function(e,t,n){"use strict";var i=n("Y7yP"),r=function(){try{var e=Object(i.a)(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();t.a=r},AytR:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i={production:!0,basePath:"/",useLoadingDelay:!1,userSessionDuration:900,bannerSlideDuration:2e4}},Ce4a:function(e,t,n){"use strict";var i=n("Ju5/");t.a=i.a.Uint8Array},Cfvw:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n("HDdC"),r=n("SeVD"),a=n("quSY"),o=n("kJWO"),s=n("jZKg"),c=n("Lhse"),l=n("c2HN"),u=n("I55L");function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[o.a]}(e))return function(e,t){return new i.a((function(n){var i=new a.a;return i.add(t.schedule((function(){var r=e[o.a]();i.add(r.subscribe({next:function(e){i.add(t.schedule((function(){return n.next(e)})))},error:function(e){i.add(t.schedule((function(){return n.error(e)})))},complete:function(){i.add(t.schedule((function(){return n.complete()})))}}))}))),i}))}(e,t);if(Object(l.a)(e))return function(e,t){return new i.a((function(n){var i=new a.a;return i.add(t.schedule((function(){return e.then((function(e){i.add(t.schedule((function(){n.next(e),i.add(t.schedule((function(){return n.complete()})))})))}),(function(e){i.add(t.schedule((function(){return n.error(e)})))}))}))),i}))}(e,t);if(Object(u.a)(e))return Object(s.a)(e,t);if(function(e){return e&&"function"==typeof e[c.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.a((function(n){var i,r=new a.a;return r.add((function(){i&&"function"==typeof i.return&&i.return()})),r.add(t.schedule((function(){i=e[c.a](),r.add(t.schedule((function(){if(!n.closed){var e,t;try{var r=i.next();e=r.value,t=r.done}catch(a){return void n.error(a)}t?n.complete():(n.next(e),this.schedule())}})))}))),r}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof i.a?e:new i.a(Object(r.a)(e))}},CqXF:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(t){_classCallCheck(this,e),this.value=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new o(e,this.value))}}]),e}(),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).value=i,r}return _createClass(n,[{key:"_next",value:function(e){this.destination.next(this.value)}}]),n}(i.a)},D0XW:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("3N8a"),r=new(n("IjjT").a)(i.a)},DG55:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s}));var i=n("ehPC"),r=function(e){return e[e.CurrencyInformer=0]="CurrencyInformer",e[e.CustomCard=1]="CustomCard",e[e.IframeCard=2]="IframeCard",e[e.SimpleNews=3]="SimpleNews",e[e.TopNews=4]="TopNews",e[e.CompaniesNewsNews=5]="CompaniesNewsNews",e[e.PromoNews=6]="PromoNews",e[e.NumberOfTheDay=7]="NumberOfTheDay",e[e.CompanyProduct=8]="CompanyProduct",e[e.PopularCompany=9]="PopularCompany",e[e.CompanyCard=10]="CompanyCard",e[e.PayedCompany=11]="PayedCompany",e}({}),a=function(){function e(t){_classCallCheck(this,e),this.width=t}return _createClass(e,[{key:"type",get:function(){return this.pType}},{key:"typeName",get:function(){return r[this.pType]}},{key:"isRenderedInBrowserApp",get:function(){return!0}},{key:"isRenderedInServerApp",get:function(){return!0}}]),e}(),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,a,o,s){var c;return _classCallCheck(this,n),(c=t.call(this,e)).width=e,c.label=i,c.posterType=a,c.links=o,c.posterUrl=s,c.pType=r.CustomCard,c}return _createClass(n,[{key:"getComponent",value:function(){return i.u}}]),n}(a),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var a;return _classCallCheck(this,n),(a=t.call(this,e)).width=e,a.url=i,a.pType=r.IframeCard,a}return _createClass(n,[{key:"getComponent",value:function(){return i.C}}]),n}(a)},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=Array.isArray||function(e){return e&&"number"==typeof e.length}},DKs6:function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return v}));var i=n("fXoL"),r=n("ofXK"),a=n("jtHE"),o=n("XNiG"),s=n("xgIS"),c=n("Kj3r"),l=n("lJxs"),u=n("/uUt"),d=n("JX91"),h=n("1G5W"),f=n("GJzE"),p=new i.v("Mobile state max width"),g=new i.v("Is SSR on mobile device"),v=function(){var e=function(){function e(t,n,i){var r=this;if(_classCallCheck(this,e),this.platformId=t,this.mobileStateWidth=n,this.isSsrOnMobileDevice=i,this.deviceStateChangeSubject$=new a.a(1),this.mobileStateChangeSubject$=new a.a(1),this.desktopStateChangeSubject$=new a.a(1),this.onDestroy$=new o.a,Object(f.Kb)()){var p=Object(f.Jb)();Object(s.a)(p,"resize").pipe(Object(c.a)(100),Object(l.a)((function(){return p.innerWidth})),Object(u.a)(),Object(d.a)(p.innerWidth),Object(h.a)(this.onDestroy$)).subscribe((function(e){r.updateActualData(e)&&r.emitActualState()}))}else this.actualIsMobile=this.isSsrOnMobileDevice,this.emitActualState()}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"updateActualData",value:function(e){var t=e<this.mobileStateWidth,n=void 0===this.actualIsMobile||this.actualIsMobile!==t;return this.actualIsMobile=t,n}},{key:"emitActualState",value:function(){this.deviceStateChangeSubject$.next({state:{isDesktop:!this.actualIsMobile,isMobile:this.actualIsMobile}}),this.mobileStateChangeSubject$.next({actualState:this.actualIsMobile}),this.desktopStateChangeSubject$.next({actualState:!this.actualIsMobile})}},{key:"onDeviceStateChange",get:function(){return this.deviceStateChangeSubject$.asObservable()}},{key:"onMobileStateChange",get:function(){return this.mobileStateChangeSubject$.asObservable()}},{key:"onDesktopStateChange",get:function(){return this.desktopStateChangeSubject$.asObservable()}},{key:"isMobile",get:function(){return void 0===this.actualIsMobile&&console.trace("actualIsMobile is undefined!!!"),this.actualIsMobile}},{key:"isDesktop",get:function(){return!this.actualIsMobile}},{key:"isBrowserApp",get:function(){return void 0===this.isBrowserAppCache&&(this.isBrowserAppCache=Object(r.O)(this.platformId)),this.isBrowserAppCache}},{key:"isServerApp",get:function(){return void 0===this.isServerAppCache&&(this.isServerAppCache=Object(r.P)(this.platformId)),this.isServerAppCache}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mc(i.I),i.Mc(p),i.Mc(g))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},DlmY:function(e,t,n){"use strict";var i=n("Y7yP"),r=Object(i.a)(Object,"create"),a=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}s.prototype.clear=function(){this.__data__=r?r(null):{},this.size=0},s.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},s.prototype.get=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(t,e)?t[e]:void 0},s.prototype.has=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)},s.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this};var c=s,l=n("nLtN"),u=n("3cmB"),d=function(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map};function h(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}h.prototype.clear=function(){this.size=0,this.__data__={hash:new c,map:new(u.a||l.a),string:new c}},h.prototype.delete=function(e){var t=d(this,e).delete(e);return this.size-=t?1:0,t},h.prototype.get=function(e){return d(this,e).get(e)},h.prototype.has=function(e){return d(this,e).has(e)},h.prototype.set=function(e,t){var n=d(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},t.a=h},EUcb:function(e,t,n){"use strict";t.a=function(e){return null!=e&&"object"==typeof e}},EY2u:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var i=n("HDdC"),r=new i.a((function(e){return e.complete()}
1));function a(e){return e?function(e){return new i.a((function(t){return e.schedule((function(){return t.complete()}))}))}(e):r}},EYhJ:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var i=n("fXoL"),r=n("IzEk"),a=n("pLZG"),o=n("Gi4w"),s=n("VRyK"),c=n("PqYM"),l=n("ehPC"),u=n("s1DB"),d=n("GJzE"),h=n("H0t/"),f=n("ofXK"),p=["scrollSpy"],g=["insertPoint"];function v(e,t){}function m(e,t){1&e&&(i.Ec(0,"div",3),i.zc(1,"div",4),i.Dc())}var b=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c){var l;return _classCallCheck(this,n),(l=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,l.injector=i,l.componentFactoryResolver=r,l.deviceState=a,l.cardsFactory=o,l.companyCardsPagedService=s,l.scrollSpy=c,l.hostClasses="row",l.isLoadMoreCompanies=!1,l.maxPages=2,l.currentPageIndex=1,l.companiesFields=["title","mainUrl","averageRating","firstPhotoAlbum.allPhotoUrls","firstPhotoAlbum.allPhotoPreviewUrls","lastFeedback.content","commentsCount","logoUrl","iconsSet","firstAddress.todaySchedule","firstAddress.isOpen","actualRubrics.title","actualViewsCount","actualAddresses.address","actualAddresses.phones"],l}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.insertPoint.clear(),this.cardsLoadedList=[],this.cardsHasDataList=[],this.widget.cards.filter(this.canRenderCard,this).forEach((function(t,n){var i=e.componentFactoryResolver.resolveComponentFactory(e.injector.get(u.f,u.f)),a=e.insertPoint.createComponent(i);e.setUpCardInstance(a,t,n),e.cardsLoadedList.push(a.instance.isComponentLoaded$.pipe(Object(r.a)(1))),e.cardsHasDataList.push(a.instance.isComponentHasData$.pipe(Object(r.a)(1)))})),Object(s.a).apply(void 0,_toConsumableArray2(this.cardsLoadedList)).subscribe({complete:function(){e.emitComponentLoaded(),e.widget.useScrollSpy&&(e.unsubscribeScrollSpy(),Object(c.a)(1).subscribe((function(){e.subscription=e.scrollSpy.registerScrollSpy({element:e.scrollSpyAnchor.nativeElement,threshold:1}).pipe(Object(a.a)((function(e){return e}))).subscribe((function(){e.currentPageIndex<e.maxPages&&(e.isLoadMoreCompanies=!0,e.companyCardsPagedService.getPagedCompanyCards(++e.currentPageIndex,e.widget.pageSize,e.companiesFields).subscribe({next:function(t){e.currentPageIndex=t.currentPage,e.maxPages=t.pageCount,t.models.forEach((function(t){var n=e.cardsFactory.buildCompanyCard(4),i=e.componentFactoryResolver.resolveComponentFactory(e.injector.get(u.f,u.f)),r=e.insertPoint.createComponent(i),a=r.instance;a.card=n,a.models=t,a.parentContainer=e,a.containerRef=r}))},complete:function(){e.isLoadMoreCompanies=!1}}))}))})))}}),Object(s.a).apply(void 0,_toConsumableArray2(this.cardsHasDataList)).pipe(Object(o.a)((function(e){return!e}))).subscribe((function(t){e.hasData$.next(!t)}))}},{key:"setUpCardInstance",value:function(e,t,n){var i=e.instance;i.card=t,i.parentContainer=this,i.containerRef=e}},{key:"canRenderCard",value:function(e){return this.deviceState.isBrowserApp&&e.isRenderedInBrowserApp||this.deviceState.isServerApp&&e.isRenderedInServerApp}},{key:"unsubscribeScrollSpy",value:function(){void 0!==this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}},{key:"ngOnDestroy",value:function(){this.unsubscribeScrollSpy()}}]),n}(l.j);return e.\u0275fac=function(t){return new(t||e)(i.yc(l.A,8),i.yc(i.w),i.yc(i.n),i.yc(d.t),i.yc(l.p),i.yc(u.g),i.yc(h.d))},e.\u0275cmp=i.sc({type:e,selectors:[["app-shared-companies-list"]],viewQuery:function(e,t){var n;1&e&&(i.Dd(p,!0,i.q),i.ud(g,!0,i.X)),2&e&&(i.jd(n=i.Rc())&&(t.scrollSpyAnchor=n.first),i.jd(n=i.Rc())&&(t.insertPoint=n.first))},hostVars:2,hostBindings:function(e,t){2&e&&i.lc(t.hostClasses)},features:[i.gc],decls:5,vars:1,consts:[["insertPoint",""],["scrollSpy",""],["class","companies__loader",4,"ngIf"],[1,"companies__loader"],[1,"companies__loader--spinner"]],template:function(e,t){1&e&&(i.xd(0,v,0,0,"ng-template",null,0,i.yd),i.zc(2,"div",null,1),i.xd(4,m,2,0,"div",2)),2&e&&(i.jc(4),i.bd("ngIf",t.isLoadMoreCompanies))},directives:[f.u],styles:[".companies__loader[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;height:100px;z-index:1}.companies__loader--spinner[_ngcontent-%COMP%]{display:inline-block;width:50px;height:50px;border-radius:50%;border:2px solid var(--green-primary);border-right-width:0;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}"]}),e}()},EZ3V:function(e,t,n){var i={"./az":"2SR5","./az.js":"2SR5","./cs":"4mcN","./cs.js":"4mcN","./en":"tAZD","./en.js":"tAZD","./extra/az":"hhSf","./extra/az.js":"hhSf","./extra/cs":"lStF","./extra/cs.js":"lStF","./extra/en":"uiD2","./extra/en.js":"uiD2","./extra/ky":"t2kw","./extra/ky.js":"t2kw","./extra/pl":"Qa7h","./extra/pl.js":"Qa7h","./extra/ro":"uuqu","./extra/ro.js":"uuqu","./extra/ru":"BWy3","./extra/ru-BY":"LLiU","./extra/ru-BY.js":"LLiU","./extra/ru-KG":"4V30","./extra/ru-KG.js":"4V30","./extra/ru-KZ":"0e4k","./extra/ru-KZ.js":"
10e4k","./extra/ru-MD":"Lcjd","./extra/ru-MD.js":"Lcjd","./extra/ru-UA":"D+FL","./extra/ru-UA.js":"D+FL","./extra/ru.js":"BWy3","./extra/uk":"9Afg","./extra/uk.js":"9Afg","./global/az":"sFJl","./global/az.js":"sFJl","./global/cs":"Hgmd","./global/cs.js":"Hgmd","./global/en":"2TOE","./global/en.js":"2TOE","./global/ky":"pVyj","./global/ky.js":"pVyj","./global/pl":"wuDY","./global/pl.js":"wuDY","./global/ro":"ekok","./global/ro.js":"ekok","./global/ru":"Lrdh","./global/ru-BY":"H+G5","./global/ru-BY.js":"H+G5","./global/ru-KG":"z/5i","./global/ru-KG.js":"z/5i","./global/ru-KZ":"kxHu","./global/ru-KZ.js":"kxHu","./global/ru-MD":"vzoN","./global/ru-MD.js":"vzoN","./global/ru-UA":"9CCi","./global/ru-UA.js":"9CCi","./global/ru.js":"Lrdh","./global/uk":"XuSJ","./global/uk.js":"XuSJ","./ky":"Il4k","./ky.js":"Il4k","./pl":"BAOO","./pl.js":"BAOO","./ro":"cGRD","./ro.js":"cGRD","./ru":"wq8c","./ru-BY":"CoLG","./ru-BY.js":"CoLG","./ru-KG":"8cfi","./ru-KG.js":"8cfi","./ru-KZ":"R2mC","./ru-KZ.js":"R2mC","./ru-MD":"vrcw","./ru-MD.js":"vrcw","./ru-UA":"XCgr","./ru-UA.js":"XCgr","./ru.js":"wq8c","./uk":"dp1V","./uk.js":"dp1V"};function r(e){return a(e).then((function(e){return n.t(e,7)}))}function a(e){return n.e(2).then((function(){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}))}r.keys=function(){return Object.keys(i)},r.resolve=a,r.id="EZ3V",e.exports=r},EqEh:function(e,t,n){"use strict";var i=n("oSzE"),r=n("DlmY");function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r.a;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},a.prototype.has=function(e){return this.__data__.has(e)};var o=a,s=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1},c=function(e,t,n,i,r,a){var c=1&n,l=e.length,u=t.length;if(l!=u&&!(c&&u>l))return!1;var d=a.get(e);if(d&&a.get(t))return d==t;var h=-1,f=!0,p=2&n?new o:void 0;for(a.set(e,t),a.set(t,e);++h<l;){var g=e[h],v=t[h];if(i)var m=c?i(v,g,h,t,e,a):i(g,v,h,e,t,a);if(void 0!==m){if(m)continue;f=!1;break}if(p){if(!s(t,(function(e,t){if(!p.has(t)&&(g===e||r(g,e,n,i,a)))return p.push(t)}))){f=!1;break}}else if(g!==v&&!r(g,v,n,i,a)){f=!1;break}}return a.delete(e),a.delete(t),f},l=n("ylTp"),u=n("Ce4a"),d=n("YHEm"),h=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n},f=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},p=l.a?l.a.prototype:void 0,g=p?p.valueOf:void 0,v=n("TFwu"),m=Object.prototype.hasOwnProperty,b=n("YM6B"),y=n("/1FC"),C=n("WOAq"),_=n("oYcn"),w="[object Object]",k=Object.prototype.hasOwnProperty,x=n("EUcb");t.a=function e(t,n,r,a,o){return t===n||(null==t||null==n||!Object(x.a)(t)&&!Object(x.a)(n)?t!=t&&n!=n:function(e,t,n,r,a,o){var s=Object(y.a)(e),l=Object(y.a)(t),p=s?"[object Array]":Object(b.a)(e),x=l?"[object Array]":Object(b.a)(t),O=(p="[object Arguments]"==p?w:p)==w,S=(x="[object Arguments]"==x?w:x)==w,P=p==x;if(P&&Object(C.a)(e)){if(!Object(C.a)(t))return!1;s=!0,O=!1}if(P&&!O)return o||(o=new i.a),s||Object(_.a)(e)?c(e,t,n,r,a,o):function(e,t,n,i,r,a,o){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!a(new u.a(e),new u.a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Object(d.a)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=h;case"[object Set]":if(s||(s=f),e.size!=t.size&&!(1&i))return!1;var l=o.get(e);if(l)return l==t;i|=2,o.set(e,t);var p=c(s(e),s(t),i,r,a,o);return o.delete(e),p;case"[object Symbol]":if(g)return g.call(e)==g.call(t)}return!1}(e,t,p,n,r,a,o);if(!(1&n)){var E=O&&k.call(e,"__wrapped__"),M=S&&k.call(t,"__wrapped__");
1if(E||M){var I=E?e.value():e,D=M?t.value():t;return o||(o=new i.a),a(I,D,n,r,o)}}return!!P&&(o||(o=new i.a),function(e,t,n,i,r,a){var o=1&n,s=Object(v.a)(e),c=s.length;if(c!=Object(v.a)(t).length&&!o)return!1;for(var l=c;l--;){var u=s[l];if(!(o?u in t:m.call(t,u)))return!1}var d=a.get(e);if(d&&a.get(t))return d==t;var h=!0;a.set(e,t),a.set(t,e);for(var f=o;++l<c;){var p=e[u=s[l]],g=t[u];if(i)var b=o?i(g,p,u,t,e,a):i(p,g,u,e,t,a);if(!(void 0===b?p===g||r(p,g,n,i,a):b)){h=!1;break}f||(f="constructor"==u)}if(h&&!f){var y=e.constructor,C=t.constructor;y==C||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof C&&C instanceof C||(h=!1)}return a.delete(e),a.delete(t),h}(e,t,n,r,a,o))}(t,n,r,a,e,o))}},FSIP:function(e,t,n){"use strict";t.a=function(e){return function(t){return null==t?void 0:t[e]}}},FTlY:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("tyNb"),r=n("fXoL"),a=n("GJzE"),o=function(){var e=function(){function e(t,n,r){var a=this;_classCallCheck(this,e),this.router=t,this.route=n,this.routesService=r,this.news=null,this.subscription=t.events.subscribe((function(e){e instanceof i.b&&a.updateTargetUrlAndHref()}))}return _createClass(e,[{key:"ngOnChanges",value:function(){this.updateTargetUrlAndHref()}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(e,t,n,i){if(null===this.news)throw new Error("News model must be set");return!!this.news.isExclusive||!!(0!==e||t||n||i)||"string"==typeof this.target&&"_self"!==this.target||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:s(this.skipLocationChange),replaceUrl:s(this.replaceUrl),state:this.state}),!1)}},{key:"updateTargetUrlAndHref",value:function(){var e,t=this.news.url;(null===(e=this.fragment)||void 0===e?void 0:e.length)>0&&(t+="#"+this.fragment),this.href=t}},{key:"newsModel",set:function(e){this.news=e}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.routesService.buildNewsDetailPageRoute(this.news),{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:s(this.preserveFragment)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.yc(i.d),r.yc(i.a),r.yc(a.fb))},e.\u0275dir=r.tc({type:e,selectors:[["a","appNewsUrl",""]],hostVars:2,hostBindings:function(e,t){1&e&&r.Qc("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(r.Hc("href",t.href,r.qd),r.kc("target",t.target))},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",newsModel:["appNewsUrl","newsModel"]},features:[r.hc]}),e}();function s(e){return""===e||!!e}},Fbma:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n("XNiG"),r=n("2Vo4"),a=n("itXk"),o=n("1G5W"),s=n("JX91"),c=n("vkgz"),l=n("pLZG"),u=n("eIep"),d=n("/uUt"),h=n("lJxs"),f=n("ehPC"),p=n("fXoL");function g(e,t){1&e&&p.zc(0,"app-block",1),2&e&&p.bd("blockModel",t.$implicit)}var v=function(){var e=function(){function e(){_classCallCheck(this,e),this.onDestroy$=new i.a,this.isLoaded$=new r.a(!1)}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;this.blockComponents.changes.pipe(Object(o.a)(this.onDestroy$),Object(s.a)(this.blockComponents),Object(c.a)((function(){e.isLoaded$.next(!1)})),Object(l.a)((function(e){return e.length>0})),Object(u.a)((function(e){return Object(a.a)(_toConsumableArray2(e.map((function(e){return e.isComponentLoaded$.pipe(Object(d.a)())}))))})),Object(h.a)((function(e){return e.every((function(e){return e}))})),Object(d.a)(),Object(c.a)((function(t){e.isLoaded$.next(t)}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"isComponentLoaded$",get:function(){return this.isLoaded$.asObservable()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p.sc({type:e,selectors:[["app-section"]],viewQuery:function(e,t){var n;
11&e&&p.Dd(f.o,!0),2&e&&p.jd(n=p.Rc())&&(t.blockComponents=n)},inputs:{sectionModel:"sectionModel"},decls:1,vars:1,consts:[[3,"blockModel",4,"ngFor","ngForOf"],[3,"blockModel"]],template:function(e,t){1&e&&p.xd(0,g,1,1,"app-block",0),2&e&&p.bd("ngForOf",t.sectionModel.blocks)},encapsulation:2}),e}()},FpXt:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("ofXK"),r=n("fXoL"),a=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=r.wc({type:e}),e.\u0275inj=r.vc({factory:function(t){return new(t||e)},imports:[[i.c]]}),e}()},G4mU:function(e,t,n){"use strict";var i=n("lkxz");t.a=function(e,t){var n=t?Object(i.a)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},G8aS:function(e,t,n){"use strict";var i=n("8M4i"),r=n("EUcb");t.a=function(e){return"symbol"==typeof e||Object(r.a)(e)&&"[object Symbol]"==Object(i.a)(e)}},GJzE:function(e,t,n){"use strict";function i(e){return!0===e.success}function r(e){return"object"==typeof e&&e.hasOwnProperty("error")}n.d(t,"Mb",(function(){return r})),n.d(t,"Nb",(function(){return i})),n.d(t,"Eb",(function(){return o})),n.d(t,"Cb",(function(){return c})),n.d(t,"Ob",(function(){return u})),n.d(t,"ob",(function(){return l})),n.d(t,"Pb",(function(){return f})),n.d(t,"p",(function(){return _.a})),n.d(t,"O",(function(){return w.a})),n.d(t,"P",(function(){return k.a})),n.d(t,"Q",(function(){return x.a})),n.d(t,"cb",(function(){return O.a})),n.d(t,"lb",(function(){return S.a})),n.d(t,"kb",(function(){return P.a})),n.d(t,"v",(function(){return E.a})),n.d(t,"D",(function(){return M.a})),n.d(t,"N",(function(){return I.a})),n.d(t,"R",(function(){return D.a})),n.d(t,"Ib",(function(){return j.b})),n.d(t,"Lb",(function(){return j.c})),n.d(t,"S",(function(){return j.a})),n.d(t,"gb",(function(){return A.a})),n.d(t,"mb",(function(){return T.a})),n.d(t,"z",(function(){return z.a})),n.d(t,"X",(function(){return L.a})),n.d(t,"Z",(function(){return N.a})),n.d(t,"db",(function(){return V})),n.d(t,"I",(function(){return U.a})),n.d(t,"B",(function(){return H.a})),n.d(t,"L",(function(){return B.a})),n.d(t,"pb",(function(){return q.a})),n.d(t,"U",(function(){return $.a})),n.d(t,"j",(function(){return W.a})),n.d(t,"vb",(function(){return G.a})),n.d(t,"Y",(function(){return X.a})),n.d(t,"H",(function(){return Z.a})),n.d(t,"K",(function(){return Y.a})),n.d(t,"m",(function(){return J})),n.d(t,"qb",(function(){return ee.a})),n.d(t,"rb",(function(){return te.a})),n.d(t,"eb",(function(){return ne.a})),n.d(t,"W",(function(){return ie.a})),n.d(t,"q",(function(){return re.a})),n.d(t,"ub",(function(){return ae.a})),n.d(t,"tb",(function(){return oe.a})),n.d(t,"c",(function(){return se.a})),n.d(t,"wb",(function(){return ce.a})),n.d(t,"sb",(function(){return le.a})),n.d(t,"x",(function(){return ue.a})),n.d(t,"f",(function(){return ye})),n.d(t,"d",(function(){return _e})),n.d(t,"e",(function(){return we})),n.d(t,"h",(function(){return ke})),n.d(t,"i",(function(){return xe})),n.d(t,"g",(function(){return Pe})),n.d(t,"k",(function(){return Ee})),n.d(t,"y",(function(){return qe.b})),n.d(t,"G",(function(){return qe.c})),n.d(t,"t",(function(){return qe.a})),n.d(t,"s",(function(){return We})),n.d(t,"u",(function(){return it})),n.d(t,"w",(function(){return at})),n.d(t,"A",(function(){return ot.a})),n.d(t,"C",(function(){return ht})),n.d(t,"Ab",(function(){return dt})),n.d(t,"E",(function(){return ft})),n.d(t,"Db",(function(){return gt})),n.d(t,"F",(function(){return vt})),n.d(t,"M",(function(){return mt})),n.d(t,"T",(function(){return bt})),n.d(t,"V",(function(){return yt})),n.d(t,"bb",(function(){return Ct})),n.d(t,"fb",(function(){return _t})),n.d(t,"nb",(function(){return wt})),n.d(t,"xb",(function(){return kt})),n.d(t,"yb",(function(){return ln})),n.d(t,"zb",(function(){return un})),n.d(t,"Bb",(function(){return dn})),n.d(t,"l",(function(){return gn})),n.d(t,"n",(function(){return pn})),n.d(t,"o",(function(){return fn})),n.d(t,"Kb",(function(){return mn})),n.d(t,"Jb",(function(){return vn})),n.d(t,"a",(function(){return _n})),n.d(t,"b",(function(){return wn})),n.d(t,"Hb",(function(){return kn})),n.d(t,"hb",(function(){return bn}
1)),n.d(t,"ib",(function(){return yn})),n.d(t,"jb",(function(){return Cn})),n.d(t,"J",(function(){return On})),n.d(t,"Qb",(function(){return En})),n.d(t,"Rb",(function(){return Pn})),n.d(t,"Sb",(function(){return Sn})),n.d(t,"ab",(function(){return Mn})),n.d(t,"Tb",(function(){return In})),n.d(t,"r",(function(){return Dn})),n.d(t,"Fb",(function(){return jn})),n.d(t,"Gb",(function(){return An}));var a=function(){function e(t,n,i,r){_classCallCheck(this,e),this.userName=t,this.eMail=n,this.avatarUrl=i,this.token=r}return _createClass(e,[{key:"isLoggedIn",get:function(){return null!==this.token}}]),e}();function o(e){return new a(e.userName,e.userEMail,e.avatarUrl,e.token)}var s=function e(t,n,i){_classCallCheck(this,e),this.id=t,this.iso=n,this.sign=i};function c(e){return new s(e.id,e.iso,e.sign)}var l=function e(t,n,i,r,a){_classCallCheck(this,e),this.models=t,this.currentPage=n,this.pageCount=i,this.perPage=r,this.totalCount=a};function u(e){return e instanceof l}var d=n("6LIB");function h(e){return Object(d.a)(e)&&e.hasOwnProperty("sourceUrl")&&e.hasOwnProperty("type")}function f(e){if(!(Object(d.a)(e)&&e.hasOwnProperty("sources")&&e.hasOwnProperty("fallbackUrl")&&Array.isArray(e.sources)))return!1;var t,n=_createForOfIteratorHelper(e.sources);try{for(n.s();!(t=n.n()).done;){if(!h(t.value))return!1}}catch(i){n.e(i)}finally{n.f()}return!0}var p,g,v,m,b,y,C,_=n("nL8Z"),w=n("JUSj"),k=n("INbW"),x=n("7Yz4"),O=n("bsIB"),S=n("iOsp"),P=n("OevD"),E=n("/ACT"),M=n("QauM"),I=n("13ou"),D=n("QNIm"),j=n("3Adg"),A=n("y5FN"),T=n("X2cd"),z=n("dam5"),L=n("pI7v"),N=n("HLmT"),R=n("fXoL"),F=n("1kSV"),V=((p=function(){function e(t){_classCallCheck(this,e),this.modal=t,this.isReCaptchaInProgress=!1}return _createClass(e,[{key:"sendContentErrorReport",value:function(){var e=this;this.isReCaptchaInProgress=!0,this.reCaptcha.queueExecute({onSuccess:function(t){e.modal.close(t)},onError:function(){e.reCaptcha.showErrorMessage()},onComplete:function(){e.isReCaptchaInProgress=!1}})}}]),e}()).\u0275fac=function(e){return new(e||p)(R.yc(F.b))},p.\u0275cmp=R.sc({type:p,selectors:[["app-report-content-error-modal"]],viewQuery:function(e,t){var n;1&e&&R.Dd(N.a,!0),2&e&&R.jd(n=R.Rc())&&(t.reCaptcha=n.first)},inputs:{selectedText:"selectedText"},decls:14,vars:1,consts:[[1,"modal-header"],["translate","",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[1,"modal-body__button-block"],[1,"btn","btn--primary","modal-body__send-button",3,"click"],["translate",""],["size","invisible","errorMode","handled"]],template:function(e,t){1&e&&(R.Ec(0,"div",0),R.Ec(1,"h4",1),R.zd(2,"report-content-error-modal-title"),R.Dc(),R.Ec(3,"button",2),R.Qc("click",(function(){return t.modal.dismiss()})),R.Ec(4,"span",3),R.zd(5,"\xd7"),R.Dc(),R.Dc(),R.Dc(),R.Ec(6,"div",4),R.Ec(7,"div"),R.zd(8),R.Dc(),R.Ec(9,"div",5),R.Ec(10,"button",6),R.Qc("click",(function(){return t.sendContentErrorReport()})),R.Ec(11,"span",7),R.zd(12,"report-content-error-send-label"),R.Dc(),R.Dc(),R.Dc(),R.zc(13,"app-re-captcha",8),R.Dc()),2&e&&(R.jc(8),R.Ad(t.selectedText))},styles:[".modal-header[_ngcontent-%COMP%]{display:block}.modal-header[_ngcontent-%COMP%]   .modal-title[_ngcontent-%COMP%]{font-weight:700;text-align:center}.modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{background-color:transparent;border:0;font-size:24px;position:absolute;top:0;right:0;margin:auto}.modal-body__button-block[_ngcontent-%COMP%]{display:flex;justify-content:center}.modal-body__send-button[_ngcontent-%COMP%]{margin-top:14px}.modal-body[_ngcontent-%COMP%]     .grecaptcha-badge{position:absolute!important;right:0!important;bottom:0!important;margin:0!important;visibility:inherit!important;justify-content:flex-start!important}"]}),p),U=n("r//d"),H=n("p9Pj"),B=n("Xiot"),q=n("qDyL"),$=n("9a0I"),W=n("UBAy"),G=n("MlV6"),X=n("q2jt"),Z=n("Tj+J"),Y=n("yApx"),Q=n("sYmb"),K=n("3Pt+"),J=((g=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.modal=t,this.authModalsService=n,this.translateService=i,this.formBuilder=r,this.authService=a}return _createClass(e,[{key:"ngOnInit",value:function(){this.modalForm=this.buildModalForm()}},{key:"isFormControlHasErrors",value:function(e,t){var n=(t=t||this.modalForm).get(e);return null!==n&&n.invalid&&(n.dirty||n.touched)}},{key:"renderAttributeError",value:function(e,t,n){switch(e=this.translateService.instant(e),t){case"required":return this.translateService.instant("validation-error-required",{attribute:e});case"email":return this.translateService.instant("validation-error-email",{attribute:e});case"minlength":return this.translateService.instant("validation-error-too-short",{attribute:e,min:n.requiredLength});case"maxlength":return this.translateService.instant("validation-error-too-long",{attribute:e,max:n.requiredLength});default:return""}}},{key:"resetError",value:function(e,t,n){if(e.hasError(t,n)){var i=n?e.get(n):e,r=i.errors;delete r[t],i.setErrors(Object.keys(r).length>0?r:null)}}}]),e}()).\u0275fac=function(e){return new(e||g)(R.yc(F.b),R.yc(we),R.yc(Q.e),R.yc(K.f),R.yc(ye))},g.\u0275dir=R.tc({type:g}),g),ee=n("ZwN2"),te=n("qy30"),ne=n("11ml"),ie=n("otbX"),re=n("PGyc"),ae=n("AMXB"),oe=n("Zivq"),se=n("J/4d"),ce=n("4DlN"),le=n("Y6Wm"),ue=n("VDON"),de=n("2Vo4"),he=n("z6cu"),fe=n("LRne"),pe=n("zP0r"),ge=n("vkgz"),ve=n("CqXF"),me=n("UXun"),be=n("eIep"),ye=((v=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.apiService=t,this.localStorageService=n,this.userModel$=new de.a(null),this.userModel.pipe(Object(pe.a)(1)).subscribe((function(e){i.updateUserToken(null!==e?e.token:null)}))}return _createClass(e,[{key:"fetchUserToken",value:function(){return this.localStorageService.localStorage.getItem(e.userTokenStorageKey)}},{key:"updateUserToken",value:function(t){null===t?this.localStorageService.localStorage.removeItem(e.userTokenStorageKey):this.localStorageService.localStorage.setItem(e.userTokenStorageKey,t)}},{key:"signInViaOAuth",value:function(e){null===this.instantUserModel&&this.userModel$.next(o(e))}},{key:"checkAuthStatus",value:function(){var e=this;return this.apiService.checkAuthStatus().pipe(Object(ge.a)((function(t){e.userModel$.next(null!==t?o(t):null)})),Object(ve.a)(!0),Object(me.a)(1))}},{key:"signIn",value:function(e,t){var n=this;return this.apiService.signIn(e,t,!0).pipe(Object(be.a)((function(e){return r(e)?Object(he.a)(e.error):(n.userModel$.next(o(e)),Object(fe.a)(n.instantUserModel))})),Object(ve.a)(!0))}},{key:"signUp",value:function(e,t,n,i){var a=this;return this.apiService.signUp(e,t,n,i).pipe(Object(be.a)((function(e){return r(e)?Object(he.a)(e.error):(a.userModel$.next(o(e)),Object(fe.a)(a.instantUserModel))})),Object(ve.a)(!0))}},{key:"signOut",value:function(){var e=this;return this.apiService.signOut().pipe(Object(ge.a)((function(){e.userModel$.next(null)})),Object(ve.a)(!0))}},{key:"resetPassword",value:function(e,t){return this.apiService.resetPassword(e,t).pipe(Object(be.a)((function(e){return i(e)?Object(fe.a)(!0):Object(he.a)(e.error)})))}},{key:"userModel",get:function(){return this.userModel$.asObservable()}},{key:"instantUserModel",get:function(){return this.userModel$.value}}]),e}()).userTokenStorageKey="userDataToken",v.\u0275fac=function(e){return new(e||v)(R.Mc(_e),R.Mc(ft))},v.\u0275prov=R.uc({token:v,factory:v.\u0275fac,providedIn:"root"}),v),Ce=n("tk/3"),_e=((b=function(){function e(t,n){_classCallCheck(this,e),this.http=t,this.siteApiHostInfo=n,this.supportOldAuth=!0}return _createClass(e,[{key:"signIn",value:function(t,n,i){return this.http.post("".concat(this.siteApiHostInfo).concat(e.signInUrl),{username:t,password:n,remember:i?1:0},this.supportOldAuth?{withCredentials:!0}:{})}},{key:"signUp",value:function(t,n,i,r){return this.http.post("".concat(this.siteApiHostInfo).concat(e.signUpUrl),{username:t,password:n,email:i,captcha:r},this.supportOldAuth?{withCredentials:!0}:{})}},{key:"signOut",value:function(){return this.http.post("".concat(this.siteApiHostInfo).concat(e.signOutUrl),null,this.supportOldAuth?{withCredentials:!0}:{})}},{key:"checkAuthStatus",value:function(){return this.http.get("".concat(this.siteApiHostInfo).concat(e.checkAuthStatusUrl),this.supportOldAuth?{withCredentials:!0}:{})}},{key:"resetPassword",value:function(t,n){return this.http.post("".concat(this.siteApiHostInfo).concat(e.resetPasswordUrl),{email:t,captcha:n},this.supportOldAuth?{withCredentials:!0}:{})}}]),e}
1()).signInUrl="api3/auth/sign-in",b.signUpUrl="api3/auth/sign-up",b.signOutUrl="api3/auth/sign-out",b.checkAuthStatusUrl="api3/auth/check-login",b.resetPasswordUrl="api3/auth/reset-password",b.\u0275fac=function(e){return new(e||b)(R.Mc(Ce.b),R.Mc(bn))},b.\u0275prov=R.uc({token:b,factory:b.\u0275fac,providedIn:"root"}),b),we=((m=function(){function e(t){_classCallCheck(this,e),this.modalService=t}return _createClass(e,[{key:"closeAllModals",value:function(){this.modalService.dismissAll()}},{key:"openSignInModal",value:function(){return this.closeAllModals(),this.modalService.open(ee.a,{centered:!0,size:"sm"})}},{key:"openSignUpModal",value:function(){return this.closeAllModals(),this.modalService.open(te.a,{centered:!0,size:"sm"})}},{key:"openResetPasswordModal",value:function(){return this.closeAllModals(),this.modalService.open(ne.a,{centered:!0,size:"sm"})}}]),e}()).\u0275fac=function(e){return new(e||m)(R.Mc(F.s))},m.\u0275prov=R.uc({token:m,factory:m.\u0275fac,providedIn:"root"}),m),ke=function(){function e(t,n,i,r,a,o){_classCallCheck(this,e),this.pageName=t,this.placeName=n,this.minimalParagraphsBeforeCount=i,this.pMinimalParagraphsAfterCount=r,this.afterParagraphsCount=a,this.renderAtContentEnd=o}return _createClass(e,[{key:"minimalParagraphsAfterCount",get:function(){return this.renderAtContentEnd?0:this.pMinimalParagraphsAfterCount}},{key:"minimalParagraphsCount",get:function(){return this.minimalParagraphsBeforeCount+this.minimalParagraphsAfterCount}}]),e}(),xe=((y=function(){function e(t,n){_classCallCheck(this,e),this.componentFactoryResolver=t,this.deviceState=n,this.bannersConfig=[],this.actualBannerConfig=null,this.actualBannerIndex=0,this.actualParagraphIndex=0,this.skipContent=!1,this.paragraphsTillRender=0,this.needToRenderBanner=!1,this.isContentBegin=!1}return _createClass(e,[{key:"setUp",value:function(e){this.bannersConfig=e,this.reset()}},{key:"reset",value:function(){this.actualBannerIndex=-1,this.processToNextBanner(),this.isContentBegin=!1}},{key:"contentBegin",value:function(e,t){if(this.isContentBegin)throw new Error("Wrong method's call sequence");this.actualInsertPoint=e,this.actualParagraphsCount=t,this.actualParagraphIndex=0,this.skipContent=null===this.actualBannerConfig||t<this.actualBannerConfig.minimalParagraphsCount,this.isContentBegin=!0}},{key:"contentEnd",value:function(){if(!this.isContentBegin)throw new Error("Wrong method's call sequence");if(this.needToRenderBanner){if(!this.actualBannerConfig.renderAtContentEnd)throw new Error("Something goes wrong");this.renderBanner()}this.isContentBegin=!1}},{key:"processContentParagraph",value:function(){var e=this.actualBannerConfig;null!==e&&(this.paragraphsTillRender>0&&--this.paragraphsTillRender,this.skipContent||(++this.actualParagraphIndex,0!==this.paragraphsTillRender||this.needToRenderBanner||(this.needToRenderBanner=this.actualParagraphIndex>=e.minimalParagraphsBeforeCount&&this.actualParagraphIndex<=this.actualParagraphsCount-e.minimalParagraphsAfterCount,this.needToRenderBanner&&!this.actualBannerConfig.renderAtContentEnd&&this.renderBanner())))}},{key:"renderBanner",value:function(){if(null===this.actualBannerConfig)throw new Error("Actual banner's config must be set");if(!this.deviceState.isServerApp){var e=this.componentFactoryResolver.resolveComponentFactory(G.a),t=this.actualInsertPoint.createComponent(e).instance;t.pageName=this.actualBannerConfig.pageName,t.placeName=this.actualBannerConfig.placeName}this.needToRenderBanner=!1,this.processToNextBanner()}},{key:"processToNextBanner",value:function(){this.skipContent=++this.actualBannerIndex>=this.bannersConfig.length,this.actualBannerConfig=this.skipContent?null:this.bannersConfig[this.actualBannerIndex],this.paragraphsTillRender=this.skipContent?0:this.actualBannerConfig.afterParagraphsCount}}]),e}()).\u0275fac=function(e){return new(e||y)(R.Mc(R.n),R.Mc(qe.a))},y.\u0275prov=R.uc({token:y,factory:y.\u0275fac,providedIn:"root"}),y),Oe=n("ofXK"),Se=n("jtHE"),Pe=new R.v("Banner slide duration"),Ee=((C=function(){function e(t,n){_classCallCheck(this,e),this.googleTagManagerService=t,this.document=n,this.bannersPlacesChanged$=new Se.a(1),this.registerCisBannersService()}return _createClass(e,[{key:"updateBannerPlacesInfo",value:function(e,t){this.bannersPlacesChanged$.next({pageName:e,bannersPlacesInfo:t})}},{key:"registerComponent",value:function(t,n){e.componentInstancesById.set(t,n)}},{key:"unregisterComponent",value:function(t){e.componentInstancesById.delete(t)}},{key:"registerCisBannersService",value:function(){var e=this;mn()&&vn().addEventListener("message",(function(t){if("cisBannersService"===t.data.type)switch(t.data.action){case"updateActualBannerId":e.updateActualBannerId(t.data.wrapperId,t.data.bannerId);break;case"replaceWithCodeBanner":e.replaceWithCodeBanner(t.data.wrapperId,t.data.bannersInfo);break;case"removeBannersPlaceWrapper":e.removeBannersPlaceWrapper(t.data.wrapperId);break;case"clickOnBannersPlace":e.clickOnBannersPlace({url:t.data.url,target:t.data.target,rel:t.data.rel,bannerPlace:t.data.bannerPlace,bannerId:t.data.bannerId})}}))}},{key:"updateActualBannerId",value:function(e,t){var n=this.getCisBannersInstance(e);null!==n&&n.updateActualBannerId(t)}},{key:"replaceWithCodeBanner",value:function(e,t){var n=this.getCisBannersInstance(e);null!==n&&(t.length>0?n.replaceWithCodeBanner(t):n.removeBannersPlaceWrapper())}},{key:"removeBannersPlaceWrapper",value:function(e){var t=this.getCisBannersInstance(e);null!==t&&t.removeBannersPlaceWrapper()}},{key:"clickOnBannersPlace",value:function(e){var t=this.document.createElement("a");t.href=e.url,t.target=e.target,""!==e.rel&&(t.rel=e.rel),"_blank"===t.target?this.googleTagManagerService.pushDataLayer({gaBannersPlace:e.bannerPlace,gaBannerId:e.bannerId.toString(),event:"clickOnBannersPlace"}):(t.dataset.placeName=e.bannerPlace,t.dataset.currentBannerId=e.bannerId.toString(),t.style.display="none",document.body.prepend(t)),t.click()}},{key:"getCisBannersInstance",value:function(t){return e.componentInstancesById.has(t)?e.componentInstancesById.get(t):null}},{key:"onBannersPlacesChanged",get:function(){return this.bannersPlacesChanged$.asObservable()}}]),e}()).componentInstancesById=new Map,C.\u0275fac=function(e){return new(e||C)(R.Mc(at),R.Mc(Oe.e))}
1,C.\u0275prov=R.uc({token:C,factory:C.\u0275fac,providedIn:"root"}),C);n("EY2u");var Me,Ie,De,je,Ae,Te,ze,Le,Ne,Re,Fe,Ve,Ue,He=n("IzEk"),Be=n("kBKH"),qe=n("DKs6"),$e=n("pLZG"),We=((Me=function(){function e(){_classCallCheck(this,e),this.pIsDemoLink=new de.a(null)}return _createClass(e,[{key:"setIsDemoLink",value:function(e){this.pIsDemoLink.next(e)}},{key:"isDemoLink$",get:function(){return this.pIsDemoLink.asObservable().pipe(Object($e.a)((function(e){return null!==e})))}}]),e}()).\u0275fac=function(e){return new(e||Me)},Me.\u0275prov=R.uc({token:Me,factory:Me.\u0275fac,providedIn:"root"}),Me),Ge=n("XNiG"),Xe=n("xgIS"),Ze=n("Kj3r"),Ye=n("lJxs"),Qe=n("/uUt"),Ke=n("JX91"),Je=n("7o/Q"),et=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new tt(e))}}]),e}(),tt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e)).hasPrev=!1,i}return _createClass(n,[{key:"_next",value:function(e){var t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}]),n}(Je.a),nt=n("1G5W"),it=((Ie=function(){function e(){var t=this;if(_classCallCheck(this,e),this.pScroll$=new Ge.a,this.pScrollUp$=new Ge.a,this.pScrollDown$=new Ge.a,this.onDestroy$=new Ge.a,mn()){var n=vn();Object(Xe.a)(n,"scroll").pipe(Object(Ze.a)(100),Object(Ye.a)((function(){return n.scrollY})),Object(Qe.a)(),Object(ge.a)((function(e){t.pScroll$.next({top:e,bottom:e+n.innerHeight})})),Object(Ke.a)(n.scrollY),(function(e){return e.lift(new et)}),Object(ge.a)((function(e){var i=_slicedToArray2(e,2),r=i[0],a=i[1],o={top:a,bottom:a+n.innerHeight};r<a?t.pScrollDown$.next(o):t.pScrollUp$.next(o)})),Object(nt.a)(this.onDestroy$)).subscribe()}}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"scroll$",get:function(){return this.pScroll$.asObservable()}},{key:"scrollUp$",get:function(){return this.pScrollUp$.asObservable()}},{key:"scrollDown$",get:function(){return this.pScrollDown$.asObservable()}}]),e}()).\u0275fac=function(e){return new(e||Ie)},Ie.\u0275prov=R.uc({token:Ie,factory:Ie.\u0275fac,providedIn:"root"}),Ie),rt=n("tyNb"),at=((De=function(){function e(t,n,i,r){_classCallCheck(this,e),this.siteConfigService=t,this.jsInjector=n,this.router=i,this.ngZone=r,this.pContainerId=null,this.isBeginEventSent=!1}return _createClass(e,[{key:"startService",value:function(){var e=this;this.siteConfigService.allConfig.pipe(Object(He.a)(1)).subscribe((function(t){e.containerId=t.mainConfig.gtmContainerId}))}},{key:"stopService",value:function(){this.disableService()}},{key:"sendBeginEvent",value:function(){this.pushDataLayer({event:"gtm.js","gtm.start":Date.now()}),this.isBeginEventSent=!0}},{key:"pushDataLayer",value:function(e){var t=this;this.isEnabled&&this.ngZone.runOutsideAngular((function(){t.jsInjector.injectJsFile(t.getApiUrl()).then((function(){t.getDataLayer().push(e)})).catch((function(){console.log("Can't inject Google Tag Manager script")}))}))}},{key:"sendPageView",value:function(){this.pushDataLayer({event:"pageview"})}},{key:"getApiUrl",value:function(){return"//www.googletagmanager.com/gtm.js?id="+this.containerId}},{key:"updateState",value:function(e){e?this.enableService():this.disableService()}},{key:"enableService",value:function(){var e=this;this.navigationSubscription||(this.navigationSubscription=this.router.events.pipe(Object($e.a)((function(e){return e instanceof rt.b}))).subscribe((function(){e.isBeginEventSent||e.sendBeginEvent()})))}},{key:"disableService",value:function(){this.navigationSubscription&&(this.navigationSubscription.unsubscribe(),this.navigationSubscription=void 0)}},{key:"getDataLayer",value:function(){var e=vn();return null===e?[]:(void 0===e.dataLayer&&(e.dataLayer=[]),e.dataLayer)}},{key:"isEnabled",get:function(){return mn()&&null!==this.pContainerId}},{key:"containerId",get:function(){return this.pContainerId},set:function(e){var t=this.pContainerId!==e;this.pContainerId=e,t&&this.updateState(this.isEnabled)}}]),e}()).\u0275fac=function(e){return new(e||De)(R.Mc(Be.c),R.Mc(ot.a),R.Mc(rt.d),R.Mc(R.F))},De.\u0275prov=R.uc({token:De,factory:De.\u0275fac,providedIn:"root"}),De),ot=n("O4lx"),st=n("itXk"),ct=n("Cfvw"),lt=n("SxV6"),ut=n("JIr8"),dt=function(e){_inherits(n,_wrapNativeSuper(Error));var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.call(this,"Unsupported language!")}return n}(),ht=((Ae=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.apiService=t,this.translateService=n,this.siteLanguagesSettings$=new Ge.a,this.requestedLanguage$=new Ge.a,this.pSiteLanguages$=new Se.a(1),this.pLanguagesAndNames$=ne
1w Se.a(1),this.pAppLanguage$=new Se.a(1),this.pAppLocale$=new Se.a(1),this.pHasLanguages$=new Se.a(1),this.pRoutesRestrictions=new Map,this.pSiteLanguages$.pipe(Object(ge.a)((function(e){i.pHasLanguages$.next(e.all.length>1)}))).subscribe(),Object(st.a)([this.siteLanguagesSettings$,this.requestedLanguage$]).pipe(Object(be.a)((function(e){var t=_slicedToArray2(e,2),n=t[0],r=t[1];null===r&&(r=n.primary.iso);var a=[n.primary].concat(_toConsumableArray2(n.secondary)),o=a.map((function(e){return e.iso})),s=-1===o.indexOf(r);s&&(r=n.primary.iso);var c="".concat(r,"-").concat(n.region),l=new Map(a.map((function(e){return[e.iso,e.name]})));return i.setUpLocale(c).pipe(Object(ge.a)((function(){if(i.pRoutesRestrictions=n.routesRestrictions,i.pSiteLanguages$.next({primary:n.primary.iso,all:o}),i.pAppLanguage$.next(r),i.pAppLocale$.next(c),i.pLanguagesAndNames$.next(l),s)throw new dt})))}))).subscribe()}return _createClass(e,[{key:"getAllowedLanguages",value:function(e){var t,n=this.pRoutesRestrictions.get(e);return this.pLanguagesAndNames$.pipe(Object(ge.a)((function(e){t=_toConsumableArray2(e.keys())})),Object(lt.a)()).subscribe(),void 0!==n&&(t=n.filter((function(e){return-1!==t.indexOf(e)}))),t}},{key:"setRequestedLanguage",value:function(e){this.requestedLanguage$.next(e)}},{key:"prepare",value:function(){var e=this;return void 0===this.prepareObservable&&(this.prepareObservable=this.apiService.requestSiteLanguages().pipe(Object(ge.a)((function(t){e.siteLanguagesSettings$.next(t)})),Object(ve.a)(!0),Object(me.a)(1))),this.prepareObservable}},{key:"setUpLocale",value:function(e){var t=this;return Object(ct.a)(this.tryToSetUpLocale(e)).pipe(Object(ut.a)((function(){var n=_slicedToArray2(e.split("-",2),2),i=n[0];return void 0===n[1]?Object(fe.a)(!0):Object(ct.a)(t.tryToSetUpLocale(i)).pipe(Object(ut.a)((function(){return console.log("Can't import locale \"".concat(e,'", use default')),t.translateService.currentLang="en",Object(fe.a)(!0)})))})))}},{key:"tryToSetUpLocale",value:function(e){var t=this;return n("EZ3V")("./"+e).then((function(n){Object(Oe.Q)(n.default),t.translateService.use(e).pipe(Object(lt.a)()).subscribe()}))}},{key:"siteLanguages$",get:function(){return this.pSiteLanguages$.asObservable()}},{key:"languagesAndNames$",get:function(){return this.pLanguagesAndNames$.asObservable().pipe(Object(Qe.a)())}},{key:"appLanguage$",get:function(){return this.pAppLanguage$.asObservable().pipe(Object(Qe.a)())}},{key:"appLocale$",get:function(){return this.pAppLocale$.asObservable().pipe(Object(Qe.a)())}},{key:"hasLanguages$",get:function(){return this.pHasLanguages$.asObservable()}}]),e}()).\u0275fac=function(e){return new(e||Ae)(R.Mc(Be.a),R.Mc(Q.e))},Ae.\u0275prov=R.uc({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),Ae),ft=((je=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"getStorageSurrogate",value:function(){return new(function(){function e(){_classCallCheck(this,e),this.pStorage={}}return _createClass(e,[{key:"clear",value:function(){this.pStorage={}}},{key:"key",value:function(e){var t=Object.keys(this.pStorage);return e<t.length?t[e]:null}},{key:"getItem",value:function(e){return this.pStorage.hasOwnProperty(e)?this.pStorage[e]:null}},{key:"setItem",value:function(e,t){this.pStorage[e]=t}},{key:"removeItem",value:function(e){this.pStorage.hasOwnProperty(e)&&delete this.pStorage}},{key:"length",get:function(){return Object.keys(this.pStorage).length}}]),e}())}},{key:"localStorage",get:function(){return void 0===this.pLocalStorage&&(this.pLocalStorage=mn()?vn().localStorage:this.getStorageSurrogate()),this.pLocalStorage}}]),e}()).\u0275fac=function(e){return new(e||je)},je.\u0275prov=R.uc({token:je,factory:je.\u0275fac,providedIn:"root"}),je),pt=n("jhN1"),gt=function(){return new Event("scrollToAnchorEvent",{bubbles:!0})},vt=((Ue=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this.viewportScroller=n,this.location=i,this.eventManager=r,t.isServerApp||(this.location.onUrlChange((function(e){a.tryAnchorScroll(e)})),this.globalEventSubscription=r.addGlobalEventListener("document","scrollToAnchorEvent",(function(){a.tryAnchorScroll(a.location.path(!0))})))}return _createClass(e,[{key:"ngOnDestroy",value:function(){void 0!==this.globalEventSubscription&&(this.globalEventSubscription(),this.globalEventSubscription=void 0)}}
1,{key:"tryAnchorScroll",value:function(e){var t=e.match(_wrapRegExp(/#([a-z][\x2D\.0-:A-Z_a-z]*)$/,{id:1}));null!==t&&this.viewportScroller.scrollToAnchor(t.groups.id)}}]),e}()).\u0275fac=function(e){return new(e||Ue)(R.Mc(qe.a),R.Mc(Oe.J),R.Mc(Oe.o),R.Mc(pt.d))},Ue.\u0275prov=R.uc({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue),mt=((Ve=function(){function e(t,n,i,r){_classCallCheck(this,e),this.eventManager=t,this.authService=n,this.siteConfigService=i,this.authModalsService=r,this.oAuthProviders$=new de.a(null)}return _createClass(e,[{key:"startService",value:function(){var e=this;mn()&&this.siteConfigService.allConfig.pipe(Object(He.a)(1)).subscribe((function(t){var n=t.oAuthProviders.size>0;e.oAuthProviders$.next(n?t.oAuthProviders:null),n&&e.addOAuthSignInListener()}))}},{key:"stopService",value:function(){this.removeOAuthSignInListener()}},{key:"addOAuthSignInListener",value:function(){var e=this;this.removeOAuthSignInListener(),this.listener=this.eventManager.addGlobalEventListener("window","message",(function(t){var n=t.data;n.providerId&&n.userData&&e.validateMessageOrigin(n.providerId,t.origin)&&(e.authService.signInViaOAuth(n.userData),e.authModalsService.closeAllModals())}))}},{key:"removeOAuthSignInListener",value:function(){this.listener&&this.listener()}},{key:"validateMessageOrigin",value:function(e,t){var n,i=null===(n=this.oAuthProviders$.value)||void 0===n?void 0:n.get(e);return!!i&&t===new URL(i.authUrl).origin}},{key:"oAuthProviders",get:function(){return this.oAuthProviders$}}]),e}()).\u0275fac=function(e){return new(e||Ve)(R.Mc(pt.d),R.Mc(ye),R.Mc(Be.c),R.Mc(we))},Ve.\u0275prov=R.uc({token:Ve,factory:Ve.\u0275fac,providedIn:"root"}),Ve),bt=((Fe=function(){function e(t,n){_classCallCheck(this,e),this.document=n,this.renderer=t.createRenderer(null,null)}return _createClass(e,[{key:"setFavIcon",value:function(e,t){this.getOrCreateTag(["rel='shortcut icon'","type='".concat(t,"'")],{rel:"shortcut icon",type:t,href:e},!1)}},{key:"createLink",value:function(e,t){var n=this;Array.isArray(t)||(t=[t]),t.forEach((function(t){n.getOrCreateTag(null,Object.assign({rel:e},"string"==typeof t?{href:t}:t),!0)}))}},{key:"updateLinkUrl",value:function(e,t){this.getOrCreateTag("rel='".concat(e,"'"),Object.assign({rel:e},"string"==typeof t?{href:t}:t),!1)}},{key:"removeLinkUrl",value:function(e){var t=this;this.document.querySelectorAll("link[rel='".concat(e,"']")).forEach((function(e){t.renderer.removeChild(t.renderer.parentNode(e),e)}))}},{key:"getOrCreateTag",value:function(e,t){var n=this,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=null;i||(Array.isArray(e)||(e=[e]),e="link[".concat(e.join("]["),"]"),r=this.document.querySelector(e)||null);var a=null===r||i;if(a&&(r=this.renderer.createElement("link")),null!==r&&Object.keys(t).forEach((function(e){n.renderer.setAttribute(r,e,t[e])})),a){var o=this.document.getElementsByTagName("head");if(0===o.length)throw new Error("Can't find HEAD element in document");this.renderer.appendChild(o.item(0),r)}return r}}]),e}()).\u0275fac=function(e){return new(e||Fe)(R.Mc(R.M),R.Mc(Oe.e))},Fe.\u0275prov=R.uc({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe),yt=((Re=function(){function e(){_classCallCheck(this,e),this.pBreadCrumbs$=new de.a([]),this.pLinks$=new de.a(null)}return _createClass(e,[{key:"updateBreadCrumbs",value:function(e){this.pBreadCrumbs$.next(e)}},{key:"updateLinks",value:function(e){this.pLinks$.next(e)}},{key:"breadCrumbs$",get:function(){return this.pBreadCrumbs$.asObservable()}},{key:"links$",get:function(){return this.pLinks$.asObservable().pipe(Object($e.a)((function(e){return null!==e})))}}]),e}()).\u0275fac=function(e){return new(e||Re)},Re.\u0275prov=R.uc({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re),Ct=((Ne=function(){function e(t,n){_classCallCheck(this,e),this.http=t,this.siteApiHostInfo=n}return _createClass(e,[{key:"reportContentError",value:function(e){return this.http.post(this.siteApiHostInfo+"api3/misc/report-content-error",e)}}]),e}()).\u0275fac=function(e){return new(e||Ne)(R.Mc(Ce.b),R.Mc(bn))},Ne.\u0275prov=R.uc({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne),_t=((Le=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.newsDetailPage="news/:id/:slug",this.secondaryLanguageNewsDetailPage=":lang/news",this.primaryLanguage=null,this.actualLanguage=null,this.actualRouteId=null,this.previousRouteId=null,this.actualRoute=null,this.previousRoute=null,this.pOnRoutesC
1hanged=new Se.a(1),this.pOnRouteIdsChanged=new Se.a(1),this.pIsOnHomePage=new Se.a(1)}return _createClass(e,[{key:"routeLanguageMatcher",value:function(){var e=this.languagesManagerService;return function(t,n,i){console.log("Routes matcher",t);var r=t.length>0&&2===t[0].path.length&&"**"!==t[0].path;return e.setRequestedLanguage(r?t[0].path:null),{consumed:r?[t[0]]:[]}}}},{key:"buildRoute",value:function(e,t){switch(t=void 0!==t?t:this.actualRouteId){case"homePage":return this.buildHomePageRoute(e);case"newsDetailPage":for(var n=this.injector.get(rt.a);null!==n.firstChild;)n=n.firstChild;var i=n.snapshot.paramMap;return this.buildNewsDetailPageRoute({id:Number(i.get("id")),slug:i.get("slug")},e);case"catalogIndexPage":return this.buildCatalogIndexPageRoute(e);case"notFoundPage":return this.buildNotFoundRoute(e);default:throw new Error("Unknown route ID: "+this.actualRouteId)}}},{key:"buildNotFoundRoute",value:function(t){var n=this.buildRouteLocalizedPart("notFoundPage",t);return n.push(e.notFound),n}},{key:"buildHomePageRoute",value:function(t){var n=this.buildRouteLocalizedPart("homePage",t);return""!==e.mainPage&&n.push(e.mainPage),n}},{key:"buildCatalogIndexPageRoute",value:function(t){var n=this.buildRouteLocalizedPart("catalogIndexPage",t);return n.push(e.catalogPage),n}},{key:"buildNewsDetailPageRoute",value:function(t,n){var i=this.buildRouteLocalizedPart("newsDetailPage",n);return i.push(e.newsPage,t.id.toString(),t.slug),i}},{key:"startService",value:function(){var t=this;this.stopService();var n=this.injector.get(rt.d);this.subscription=n.events.pipe(Object($e.a)((function(e){return e instanceof rt.b}))).subscribe((function(){for(var n,i=t.injector.get(rt.a),r=[];null!==i.firstChild;)(null===(n=(i=i.firstChild).snapshot.routeConfig)||void 0===n?void 0:n.path)&&r.push(i.snapshot.routeConfig.path);var a=i.snapshot.data.routeId,o=t.actualRouteId!==a;t.previousRouteId=t.actualRouteId,t.actualRouteId=a,console.log("Actual route ID: "+a),o&&t.pOnRouteIdsChanged.next({actual:t.actualRouteId,previous:t.previousRouteId});var s=r.join("/"),c=t.actualRoute!==s;t.previousRoute=t.actualRoute,t.actualRoute=s,c&&(t.pOnRoutesChanged.next({actual:t.actualRoute,previous:t.previousRoute}),t.pIsOnHomePage.next(t.actualRoute===e.mainPage))})),Object(st.a)([this.languagesManagerService.siteLanguages$,this.languagesManagerService.appLanguage$]).pipe(Object(ge.a)((function(e){var n=_slicedToArray2(e,2),i=n[0],r=n[1];t.primaryLanguage=i.primary,t.actualLanguage=r}))).subscribe()}},{key:"stopService",value:function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}},{key:"isRouteForActualLanguage",value:function(e){var t=this.actualLanguage===this.primaryLanguage;return t&&(1===e.length||2!==e[1].length)||!t&&e.length>1&&e[1]===this.actualLanguage}},{key:"buildRouteLocalizedPart",value:function(e,t){var n=["/"];return(t=this.getLanguage(e,t))!==this.primaryLanguage&&n.push(t),n}},{key:"getLanguage",value:function(e,t){var n=this;if(void 0!==t)return t;var i=this.languagesManagerService.getAllowedLanguages(e);return i.some((function(e){return e===n.actualLanguage}))?this.actualLanguage:i[0]}},{key:"onRoutesChanged",get:function(){return this.pOnRoutesChanged.asObservable()}},{key:"onRouteIdsChanged",get:function(){return this.pOnRouteIdsChanged.asObservable()}},{key:"isOnHomePage$",get:function(){return this.pIsOnHomePage.asObservable()}},{key:"languagesManagerService",get:function(){return this.injector.get(ht)}}]),e}()).mainPage="",Le.newsPage="news",Le.catalogPage="catalog",Le.notFound="**",Le.friendlyNotFound="not-found",Le.\u0275fac=function(e){return new(e||Le)(R.Mc(R.w))},Le.\u0275prov=R.uc({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le),wt=((ze=function(){function e(t,n){_classCallCheck(this,e),this.http=t,this.siteApiHostInfo=n}return _createClass(e,[{key:"doSearchRequest",value:function(e){return this.http.post(this.siteApiHostInfo+"search/jsonrpc",{jsonrpc:"2.0",method:"getHint",params:{searchWord:e}}).pipe(Object(Ye.a)((function(e){return e.result})))}}]),e}()).\u0275fac=function(e){return new(e||ze)(R.Mc(Ce.b),R.Mc(bn))},ze.\u0275prov=R.uc({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze),kt=((Te=function(){function e(){_classCallCheck(this,e),this.titleLabel=new de.a("")}return _createClass(e,[{key:"changeTitle",value:function(e){this.titleLabel.next(e)}}]),e}()).\u0275fac=function(e){return new(e||Te)},Te.\u0275prov=R.uc({token:Te,factory:Te.\u0275fac,providedIn:"root"}),Te),xt=n("oSzE"),Ot=n("23KU"),St=n("+EKe"),Pt=n("mkut"),Et=n("4/q3"),Mt=n("3/ER"),It=n("eAQQ"),Dt=n("jN84"),jt=n("tPH9"),At=n("UudT"),Tt=n("WJ6P"),zt=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Object(jt.a)(t,Object(Dt.a)(e)),e=Object(At.a)(e);return t}:Tt.a,Lt=n("TFwu"),Nt=n("25cm"),Rt=function(e){return Object(Nt.a)(e,Et.a,zt)},Ft=n("YM6B"),Vt=Object.prototype.hasOwnProperty,Ut=n("lkxz"),Ht=/\w*$/,Bt=n("ylTp"),qt=Bt.a?Bt.a.prototype:void 0,$t=qt?qt.valueOf:void 0,Wt=n("G4mU"),Gt=n("hYPf"),Xt=n("/1FC"),Zt=n("WOAq"),Yt=n("EUcb"),Qt=n("ovuK"),Kt=n("xutz"),Jt=Kt.a&&Kt.a.isMap,en=Jt?Object(Qt.a)(Jt):function(e){return Object(Yt.a)(e)&&"[object Map]"==Object(Ft.a)(e)},tn=n("IzLi"),nn=Kt.a&&Kt.a.isSet,rn=nn?Object(Qt.a)(nn):function(e){return Object(Yt.a)(e)&&"[object Set]"==Object(Ft.a)(e)},an={};an["[object Arguments]"]=an["[object Array]"]=an["[object ArrayBuffer]"]=an["[object DataView]"]=an["[object Boolean]"]=an["[object Date]"]=an["[object Float32Array]"]=an["[object Float64Array
1]"]=an["[object Int8Array]"]=an["[object Int16Array]"]=an["[object Int32Array]"]=an["[object Map]"]=an["[object Number]"]=an["[object Object]"]=an["[object RegExp]"]=an["[object Set]"]=an["[object String]"]=an["[object Symbol]"]=an["[object Uint8Array]"]=an["[object Uint8ClampedArray]"]=an["[object Uint16Array]"]=an["[object Uint32Array]"]=!0,an["[object Error]"]=an["[object Function]"]=an["[object WeakMap]"]=!1;var on,sn,cn,ln=((on=function(){function e(t,n){_classCallCheck(this,e),this.transferState=t,this.deviceState=n}return _createClass(e,[{key:"makeStateKey",value:function(e){return Object(pt.j)(e)}},{key:"hasKey",value:function(e){return this.transferState.hasKey(e)}},{key:"restoreData",value:function(e,t){var n=this.transferState.get(e,t);return this.transferState.remove(e),n}},{key:"storeData",value:function(e,t){this.deviceState.isServerApp&&this.transferState.set(e,function e(t,n,i,r,a,o){var s,c=1&n,l=2&n,u=4&n;if(i&&(s=a?i(t,r,a,o):i(t)),void 0!==s)return s;if(!Object(tn.a)(t))return t;var d=Object(Xt.a)(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Vt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!c)return Object(It.a)(t,s)}else{var h=Object(Ft.a)(t),f="[object Function]"==h||"[object GeneratorFunction]"==h;if(Object(Zt.a)(t))return Object(Mt.a)(t,c);if("[object Object]"==h||"[object Arguments]"==h||f&&!a){if(s=l||f?{}:Object(Gt.a)(t),!c)return l?function(e,t){return Object(St.a)(e,zt(e),t)}(t,function(e,t){return e&&Object(St.a)(t,Object(Et.a)(t),e)}(s,t)):function(e,t){return Object(St.a)(e,Object(Dt.a)(e),t)}(t,function(e,t){return e&&Object(St.a)(t,Object(Pt.a)(t),e)}(s,t))}else{if(!an[h])return a?t:{};s=function(e,t,n){var i,r,a=e.constructor;switch(t){case"[object ArrayBuffer]":return Object(Ut.a)(e);case"[object Boolean]":case"[object Date]":return new a(+e);case"[object DataView]":return function(e,t){var n=t?Object(Ut.a)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Object(Wt.a)(e,n);case"[object Map]":return new a;case"[object Number]":case"[object String]":return new a(e);case"[object RegExp]":return(r=new(i=e).constructor(i.source,Ht.exec(i))).lastIndex=i.lastIndex,r;case"[object Set]":return new a;case"[object Symbol]":return $t?Object($t.call(e)):{}}}(t,h,c)}}o||(o=new xt.a);var p=o.get(t);if(p)return p;o.set(t,s),rn(t)?t.forEach((function(r){s.add(e(r,n,i,r,t,o))})):en(t)&&t.forEach((function(r,a){s.set(a,e(r,n,i,a,t,o))}));var g=u?l?Rt:Lt.a:l?keysIn:Pt.a,v=d?void 0:g(t);return function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n););}(v||t,(function(r,a){v&&(r=t[a=r]),Object(Ot.a)(s,a,e(r,n,i,a,t,o))})),s}(t,5))}}]),e}()).\u0275fac=function(e){return new(e||on)(R.Mc(pt.i),R.Mc(qe.a))},on.\u0275prov=R.uc({token:on,factory:on.\u0275fac,providedIn:"root"}),on),un=new R.v("User session duration"),dn=((sn=function(){function e(t,n,i){_classCallCheck(this,e),this.routesService=t,this.localStorageService=n,this.userSessionDuration=i,this.sessionKey="userSession",this.pIsExpired=new de.a(null)}return _createClass(e,[{key:"startService",value:function(){var e=this;this.stopService(),this.subscription=this.routesService.onRoutesChanged.subscribe((function(){var t=e.localStorageService.localStorage.getItem(e.sessionKey);null!==t&&(t=Number(t),Number.isNaN(t)&&(t=null)),e.pIsExpired.next(null===t||Date.now()>t),e.localStorageService.localStorage.setItem(e.sessionKey,String(Date.now()+1e3*e.userSessionDuration))}))}},{key:"stopService",value:function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}},{key:"isExpired",get:function(){return this.pIsExpired.pipe(Object($e.a)((function(e){return null!==e})))}}]),e}()).\u0275fac=function(e){return new(e||sn)(R.Mc(_t),R.Mc(ft),R.Mc(un))},sn.\u0275prov=R.uc({token:sn,factory:sn.\u0275fac,providedIn:"root"}),sn),hn=n("ehPC"),fn=new R.v("Card substitute type"),pn=new R.v("Service with substitute models for card"),gn=function(){function e(t,n){_classCallCheck(this,e),this.cardsFactory=t,this.cardSubstituteType=n,null===this.cardSubstituteType&&(this.cardSubstituteType="preserveWidth")}return _createClass(e,[{key:"getInstantSubstitute",value:function(e,t){var n=this,i=e instanceof hn.c,r=i?this._getInstantSubstituteForCard(e):this._getInstantSubstitute(e,t);return null!==r?r.map((function(t){return{model:t,card:i?n._buildSubstituteCardForCard(e):n._buildDefaultSubstituteCard()}})):null}},{key:"getSubstitute",value:function(e,t){var n=this,i=e instanceof hn.c;return(i?this._getSubstituteForCard(e):this._getSubstitute(e,t)).pipe(Object(Ye.a)((function(t){return null!==t?t.map((function(t){return{model:t,card:i?n._buildSubstituteCardForCard(e):n._buildDefaultSubstituteCard()}})):null})))}},{key:"_buildSubstituteCardForCard",value:function(e){return this._buildDefaultSubstituteCard()}},{key:"_buildDefaultSubstituteCard",value:function(){throw new Error("Not implemented")}},{key:"_getInstantSubstituteForCard",value:function(e){return this._getInstantSubstitute("preserveWidth"===this.cardSubstituteType?1:e.width,1)}},{key:"_getInstantSubstitute",value:function(e,t){throw new Error("Not implemented")}},{key:"_getSubstituteForCard",value:function(e){return this._getSubstitute("preserveWidth"===this.cardSubstituteType?1:e.width,1)}},{key:"_getSubstitute",value:function(e,t){throw new Error("Not implemented")}}]),e}();function vn(){return void 0===cn&&(cn="undefined"!=typeof window?window:null),cn}function mn(){return null!==vn()}var bn=new R.v("Site's API host info"),yn=new R.v("Source site host"),Cn=new R.v("Source site scheme"),_n=new R.v("Header name for source site host for API requests"),wn=new R.v("Header name for source site scheme for API requests");function kn(e){var t=new Ce.e,n=typeof e;if("object"!==n||Array.isArray(e))throw n=Array.isArray(e)?"array":n,new Error('Request must be of type "object", got "'.concat(n,'"'));return function e(n,i){switch(typeof n){case"string":case"number":case"bigint":t=t.set(i,n.toString());break;case"boolean":t=t.set(i,n?"1":"0");break;
1case"object":Array.isArray(n)?n.forEach((function(t,n){e(t,i+"["+n+"]")})):Object.keys(n).forEach((function(t){e(n[t],0===i.length?t:i+"["+t+"]")}))}}(e,""),t}var xn=n("dhcM");function On(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(n,i){if(en(n)&&en(i))return _toConsumableArray2(n.keys()).forEach((function(t){i.has(t)?Object(xn.a)(n.get(t),i.get(t),On(e)):e&&n.delete(t)})),t&&_toConsumableArray2(i.keys()).forEach((function(e){n.has(e)||n.set(e,i.get(e))})),n}}function Sn(e){return e.hasOwnProperty("isExpireEvent")&&!1===e.isExpireEvent}function Pn(e){return e.hasOwnProperty("isExpireEvent")&&!0===e.isExpireEvent}function En(e){return e.hasOwnProperty("isError")&&!0===e.isError}var Mn=new R.v("reCaptcha component token");function In(e,t){return Object(ge.a)((function(n){e.storeData(t,n)}))}var Dn=Symbol("Model default fields");function jn(e){if(Array.isArray(e))return e;var t=Array.isArray(e[Dn])?_toConsumableArray2(e[Dn]):[];return Object.keys(e).forEach((function(n){t.push.apply(t,_toConsumableArray2(jn(e[n]).map((function(e){return"".concat(n,".").concat(e)}))))})),t}function An(e){return"string"==typeof e&&(e=[e]),Array.isArray(e)?e:Object.keys(e).map((function(t){return"desc"===e[t]?"-"+t:t}))}},GQzd:function(e,t,n){"use strict";n.d(t,"C",(function(){return p})),n.d(t,"e",(function(){return y})),n.d(t,"t",(function(){return m})),n.d(t,"w",(function(){return b})),n.d(t,"c",(function(){return C})),n.d(t,"h",(function(){return _})),n.d(t,"k",(function(){return x})),n.d(t,"p",(function(){return w})),n.d(t,"z",(function(){return k})),n.d(t,"b",(function(){return D})),n.d(t,"u",(function(){return j.a})),n.d(t,"x",(function(){return A.a})),n.d(t,"f",(function(){return oe})),n.d(t,"d",(function(){return se})),n.d(t,"i",(function(){return ce.a})),n.d(t,"l",(function(){return le.a})),n.d(t,"q",(function(){return de})),n.d(t,"A",(function(){return he.a})),n.d(t,"o",(function(){return fe.a})),n.d(t,"g",(function(){return pe})),n.d(t,"j",(function(){return ve})),n.d(t,"m",(function(){return we})),n.d(t,"n",(function(){return me})),n.d(t,"r",(function(){return Ce})),n.d(t,"s",(function(){return ye})),n.d(t,"v",(function(){return ge})),n.d(t,"y",(function(){return be})),n.d(t,"B",(function(){return _e})),n.d(t,"a",(function(){return Oe}));var i=n("LrWZ"),r=n("Rhl8"),a=n("nFFm"),o=n("bHHr"),s=n("y96F"),c=n("WI3F"),l=function e(t,n,i){_classCallCheck(this,e),this.url=t,this.title=n,this.reliability=i},u=function e(t,n,i,r,a,o,s){_classCallCheck(this,e),this.language=t,this.title=n,this.content=i,this.keywords=r,this.slug=a,this.label=o,this.description=s};function d(e){return new u(e.language,e.title,e.content,e.keywords,e.slug,e.label,e.description)}var h=function e(t,n){_classCallCheck(this,e),this.id=t,this.title=n},f=function(){function e(t,n,i,r,a,o,s,c,l,u,d,h,f,p,g,v,m,b,y,C,_,w,k,x,O,S,P,E,M,I,D,j,A,T,z,L){_classCallCheck(this,e),this.id=t,this.slug=n,this.publishDate=i,this.label=r,this.isCommercial=a,this.isExclusive=o,this.url=s,this.useSvg=c,this.allowComment=l,this.isIndexingForbidden=u,this.title=d,this.friendlyPublishDate=h,this.sourceReliability=f,this.rubric=p,this.hasPictures=g,this.hasVideo=v,this.isAgeLimited=m,this.commentsCount=b,this.commentsUrl=y,this.keywords=C,this.keywordsWithLinks=_,this.internalPoster=w,this.internalPosterUrl=k,this.posterUrl=x,this.squarePosterUrl=O,this.rectanglePosterUrl=S,this.cardPosterUrl=P,this.author=E,this.parsedContent=M,this.poll=I,this.ratingsInfo=D,this.commentsPreview=j,this.allSpecialThemes=A,this.actualSpecialThemes=T,this.publishedI18nData=z,this.source=L,this.pHasPoster=null}return _createClass(e,[{key:"isPublishedToday",get:function(){this.pPublishDate||(this.pPublishDate=new Date(this.publishDate));var e=new Date;return this.pPublishDate.toDateString()===e.toDateString()}},{key:"hasPoster",get:function(){return null===this.pHasPoster&&(this.pHasPoster=!(Object(i.a)(this.posterUrl)&&Object(i.a)(this.cardPosterUrl)&&Object(i.a)(this.rectanglePosterUrl)&&Object(i.a)(this.squarePosterUrl))),this.pHasPoster}}]),e}();function p(e){var t=new f(e.id,e.slug,e.publishDate,e.label,e.isCommercial,e.isExclusive,e.url,Boolean(e.useSvg));if(e.rubric&&(e.rubric=function(e){var t=new h(e.id);return Object.assign(t,e),t}(e.rubric)),e.author&&(e.author=Object(r.a)(e.author)),e.poll&&(e.poll=Object(a.n)(e.poll)),e.ratingsInfo&&(e.ratingsInfo=Object(o.h)(e.ratingsInfo)),Array.isArray(e.commentsPreview)&&(e.commentsPreview=e.commentsPreview.map(s.o)),e.allSpecialThemes&&(e.allSpecialThemes=Array.isArray(e.allSpecialThemes)?e.allSpecialThemes.map(c.f):[]),e.actualSpecialThemes&&(e.actualSpecialThemes=Array.isArray(e.actualSpecialThemes)?e.actualSpecialThemes.map(c.f):[]),e.publishedI18nData){var n=Object.entries(e.publishedI18nData).map((function(e){var t=_slicedToArray2(e,2);return[t[0],d(t[1])]}));e.publishedI18nData=new Map(n)}return void 0!==e.source&&(e.source=function(e){return new l(e.url,e.title,e.reliability)}(e.source)),Object.assign(t,e),t}var g,v=n("ehPC"),m=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).width=e,a.id=i,a.onlyNonCommercialNews=r,a.pType=v.q.SimpleNews,a}return _createClass(n,[{key:"getComponent",value:function(){return j.a}}]),n}(v.c),b=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).width=e,r.onlyNonCommercialNews=i,r.pType=v.q.TopNews,r}return _createClass(n,[{key:"getComponent",value:function(){return A.a}}]),n}(v.c),y=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e)).width=e,i.pType=v.q.CompaniesNewsNews,i}return _createClass(n,[{key:"getComponent",value:function(){return oe}}]),n}(v.c),C=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c,l,u){var d;return _classCallCheck(this,n),(d=t.call(this,e,i,r,a,u)).width=e,d.height=i,d.pEmptyAction=r,d.label=a,d.promoNewsLabel=o,d.promoNewsLink=s,d.placeHereLabel=c,d.placeHereLink=l,d.
1cards=u,d.pType=v.R.CompaniesNews,d}return _createClass(n,[{key:"getComponent",value:function(){return se}}]),n}(v.r),_=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s){var c;return _classCallCheck(this,n),(c=t.call(this,e,i,r)).width=e,c.height=i,c.pEmptyAction=r,c.newsCount=a,c.label=o,c.fillerItemsCount=s,c.pType=v.R.LastNewsFeed,c}return _createClass(n,[{key:"getComponent",value:function(){return ce.a}}]),n}(v.i),w=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this,e,i,r)).width=e,s.height=i,s.pEmptyAction=r,s.label=a,s.itemsCount=o,s.pType=v.R.PoliticalNews,s}return _createClass(n,[{key:"getComponent",value:function(){return de}}]),n}(v.i),k=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this,e,i,r)).width=e,s.height=i,s.pEmptyAction=r,s.label=a,s.itemsCount=o,s.pType=v.R.WeekTopNews,s}return _createClass(n,[{key:"getComponent",value:function(){return he.a}}]),n}(v.i),x=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i,r,"",a)).width=e,o.height=i,o.pEmptyAction=r,o.cards=a,o.pType=v.R.NewsCardsBlock,o}return _createClass(n,[{key:"getComponent",value:function(){return le.a}}]),n}(v.r),O=n("fXoL"),S=n("GJzE"),P=["insertPoint"],E=["doubleNews"],M=["halfNews"],I=["simpleNews"],D=((g=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).routesService=e,i}return _createClass(n,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this)}}]),n}(v.d)).\u0275fac=function(e){return new(e||g)(O.yc(S.fb))},g.\u0275cmp=O.sc({type:g,selectors:[["app-base-news"]],viewQuery:function(e,t){var n;1&e&&(O.ud(P,!0,O.X),O.ud(E,!0),O.ud(M,!0),O.ud(I,!0)),2&e&&(O.jd(n=O.Rc())&&(t.insertPoint=n.first),O.jd(n=O.Rc())&&(t.doubleNewsTemplate=n.first),O.jd(n=O.Rc())&&(t.halfNewsTemplate=n.first),O.jd(n=O.Rc())&&(t.singleNewsTemplate=n.first))},features:[O.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),g),j=n("QPoD"),A=n("2aVW"),T=n("PqYM"),z=n("lJxs"),L=n("AytR");function N(e,t){if(1&e&&O.zc(0,"app-placeholder",5),2&e){var n=O.Uc();O.bd("width",n.card.width)("height",1)}}function R(e,t){if(1&e&&(O.Ec(0,"span",19),O.zd(1),O.Dc()),2&e){var n=O.Uc(3).singleNews;O.jc(1),O.Ad(n.label)}}function F(e,t){1&e&&(O.Tc(),O.Ec(0,"svg",20),O.zc(1,"use",21),O.Dc())}function V(e,t){1&e&&(O.Tc(),O.Ec(0,"svg",20),O.zc(1,"use",22),O.Dc())}function U(e,t){if(1&e&&(O.Ec(0,"div",16),O.xd(1,R,2,1,"span",17),O.xd(2,F,2,0,"svg",18),O.xd(3,V,2,0,"svg",18),O.Dc()),2&e){var n=O.Uc(2).singleNews;O.jc(1),O.bd("ngIf",n.label.length>0),O.jc(1),O.bd("ngIf",n.hasPictures),O.jc(1),O.bd("ngIf",n.hasVideo)}}function H(e,t){if(1&e&&(O.Cc(0),O.xd(1,U,4,3,"div",15),O.Bc()),2&e){var n=O.Uc().singleNews;O.jc(1),O.bd("ngIf",n.hasPictures||n.hasVideo||n.label.length>0)}}function B(e,t){1&e&&(O.Ec(0,"div",23),O.zd(1,"\u0415\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e \u0440\u043e\u0441\u0442 \u0447\u0438\u0441\u043b\u0430 \u043d\u043e\u0432\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043a\u043e\u0440\u043e\u043d\u0430\u0432\u0438\u0440\u0443\u0441\u0430 \u0432 \u0423\u043a\u0440\u0430\u0438\u043d\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0431\u043e\u043b\u0435\u0435 10%. "),O.Dc())}function q(e,t){if(1&e&&(O.Ec(0,"div",24),O.Ec(1,"a",25),O.Tc(),O.Ec(2,"svg",20),O.zc(3,"use",26),O.Dc(),O.Sc(),O.Ec(4,"span"),O.zd(5),O.Vc(6,"number"),O.Dc(),O.Dc(),O.Dc()),2&e){var n=O.Uc().singleNews;O.jc(1),O.dd("fragment","comments-",n.id,""),O.bd("appNewsUrl",n),O.jc(4),O.Ad(O.Wc(6,3,n.commentsCount))}}function $(e,t){if(1&e&&(O.Ec(0,"article",6),O.zc(1,"a",7),O.xd(2,H,2,1,"ng-container",8),O.Ec(3,"div",9),O.Ec(4,"div",10),O.Ec(5,"a",11),O.zd(6),O.Dc(),O.Dc(),O.xd(7,B,2,0,"ng-template"),O.Ec(8,"div",12),O.Ec(9,"div",13),O.zd(10),O.Dc(),O.xd(11,q,7,5,"div",14),O.Dc(),O.Dc(),O.Dc()),2&e){var n=t.singleNews;O.jc(1),O.bd("appNewsUrl",n)("lazyLoad",n.cardPosterUrl),O.jc(1),O.bd("ngIf",null!==n.cardPosterUrl),O.jc(3),O.cd("title",n.title),O.bd("appNewsUrl",n),O.jc(1),O.Ad(n.title),O.jc(4),O.Ad(n.friendlyPublishDate.join(", ")),O.jc(1),O.bd("ngIf",n.allowComment&&n.commentsCount>0)}}function W(e,t){if(1&e&&(O.Ec(0,"span",19),O.zd(1),O.Dc()),2&e){var n=O.Uc(3).singleNews;O.jc(1),O.Ad(n.label)}}function G(e,t){1&e&&(O.Tc(),O.Ec(0,"svg",20),O.zc(1,"use",21),O.Dc())}function X(e,t){1&e&&(O.Tc(),O.Ec(0,"svg",20),O.zc(1,"use",22),O.Dc())}function Z(e,t){if(1&e&&(O.Ec(0,"div",16),O.xd(1,W,2,1,"span",17),O.xd(2,G,2,0,"svg",18),O.xd(3,X,2,0,"svg",18),O.Dc()),2&e){var n=O.Uc(2).singleNews;O.jc(1),O.bd("ngIf",n.label.length>0),O.jc(1),O.bd("ngIf",n.hasPictures),O.jc(1),O.bd("ngIf",n.hasVideo)}}function Y(e,t){if(1&e&&(O.Cc(0),O.xd(1,Z,4,3,"div",15),O.Bc()),2&e){var n=O.Uc().singleNews;O.jc(1),O.bd("ngIf",n.hasPictures||n.hasVideo||n.label.length>0)}}function Q(e,t){if(1&e&&(O.Ec(0,"div",24),O.Ec(1,"a",25),O.Tc(),O.Ec(2,"svg",20),O.zc(3,"use",26),O.Dc(),O.Sc(),O.Ec(4,"span"),O.zd(5),O.Vc(6,"number"),O.Dc(),O.Dc(),O.Dc()),2&e){var n=O.Uc().singleNews;O.jc(1),O.dd("fragment","comments-",n.id,""),O.bd("appNewsUrl",n),O.jc(4),O.Ad(O.Wc(6,3,n.commentsCount))}}function K(e,t){if(1&e&&(O.Ec(0,"article",27),O.zc(1,"a",7),O.xd(2,Y,2,1,"ng-container",8),O.Ec(3,"div",9),O.Ec(4,"div",10),O.Ec(5,"a",11),O.zd(6),O.Dc(),O.Dc(),O.Ec(7,"div",12),O.Ec(8,"div",13),O.zd(9),O.Dc(),O.xd(10,Q,7,5,"div",14),O.Dc(),O.Dc(),O.Dc()),2&e){var n=t.singleNews;O.jc(1),O.bd("appNewsUrl",n)("lazyLoad",n.rectanglePosterUrl),O.jc(1),O.bd("ngIf",null!==n.cardPosterUrl),O.jc(3),O.cd("title",n.title),O.bd("appNewsUrl",n),O.jc(1),O.Ad(n.title),O.jc(3),O.Ad(n.friendlyPublishDate.join(", ")),O.jc(1),O.bd("ngIf",n.allowComment&&n.commentsCount>0)}}function J(e,t){if(1&e&&(O.Ec(0,"div",30),O.zd(1),O.Dc()),2&e){var n=O.Uc().singleNews;O.jc(1),O.Ad(n.label)}}function ee(e,t){if(1&e&&(O.Ec(0,"div",24),O.Ec(1,"a",25),O.Tc(),O.Ec(2,"svg",20),O.zc(3,"use",26),O.Dc(),O.Sc(),O.Ec(4,"span"),O.zd(5),O.Vc(6,"number"),O.Dc(),O.Dc(),O.Dc()),2&e){var n=O.Uc().singleNews;O.jc(1),O.dd("fragment","comments-",n.id,""),O.bd("appNewsUrl",n),O.jc(4),O.Ad(O.Wc(6,3,n.commentsCount))}}function te(e,t){if(1&e&&(O.Ec(0,"article",28),O.Ec(1,"div",9),O.Ec(2,"div",10),O.Ec(3,"a",11),O.zd(4),O.Dc(),O.Dc(),O.Ec(5,"div",12),O.Ec(6,"div",13),O.xd(7,J,2,1,"div",29),O.zd(8),O.Dc(),O.xd(9,ee,7,5,"div",14),O.Dc(),O.Dc(),O.Dc()),2&e){var n=t.singleNews;O.jc(3),O.cd("title",n.title),O.bd("appNewsUrl",n),O.jc(1),O.Ad(n.title),O.jc(3),O.bd("ngIf",n.label.length>0),O.jc(1),O.Bd(" ",n.friendlyPublishDate.join(", ")," "),O.jc(1),O.bd("ngIf",n.allowComment&&n.commentsCount>0)}}var ne,ie,re,ae,oe=((ie=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).newsService=i,r}return _createClass(n,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this)}},{key:"getModels",value:function(){if(null===this.newsService)throw new Error("Required services must be injected");return this.newsService.getNextCompaniesNews(1).pipe(Object(z.a)((function(e){return null!==e?e[0]:null})))}},{key:"renderCard",value:function(e){var t=this;this.models=e;var n=function(){t.insertPoint.clear(),t.insertPoint.createEmbeddedView(2===t.card.width?t.doubleNewsTemplate:t.halfNewsTemplate,{singleNews:t.models})};L.a.useLoadingDelay?Object(T.a)(1500).subscribe(n):n()}}]),n}(D)).\u0275fac=function(e){return new(e||ie)(O.yc(S.fb),O.yc(pe,8))},ie.\u0275cmp=O.sc({type:ie,selectors:[["app-shared-companies-news-news"]],features:[O.gc],decls:10,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["doubleNews",""],["halfNews",""],["simpleNews",""],[3,"width","height"],[1,"article-card","article-card--double"],[1,"article-card__poster",3,"appNewsUrl","lazyLoad"],[4,"ngIf"],[1,"article-card__content"],[1,"article-card__title"],[3,"appNewsUrl","title"],[1,"article-card__info"],[1,"article-card__date"],["class","card-actions",4,"ngIf"],["class","article-card__subinfo",4,"ngIf"],[1,"article-card__subinfo"],["class","article-card__subinfo--toaster",4,"ngIf"],["width","20","height","20",4,"ngIf"],[1,"article-card__subinfo--toaster"],["width","20","height","20"],[0,"xlink","href","#icon-photo"],[0,"xlink","href","#icon-video"],[1,"article-card__subtitle"],[1,"card-actions"],[1,"card-actions__item",3,"appNewsUrl","fragment"],[0,"xlink","href","#icon-comment"],[1,"article-card","article-card--half"],[1,"article-card","article-card--simple"],["class","article-card__date--toaster",4,"ngIf"],[1,"article-card__date--toaster"]],template:function(e,t){1&e&&(O.Ac(0,null,0),O.xd(2,N,1,2,"app-placeholder",1),O.Vc(3,"async"),O.xd(4,$,12,8,"ng-template",null,2,O.yd),O.xd(6,K,11,8,"ng-template",null,3,O.yd),O.xd(8,te,10,6,"ng-template",null,4,O.yd)),2&e&&(O.jc(2),O.bd("ngIf",!O.Wc(3,1,t.isComponentLoaded$)))},styles:['.article-card[_ngcontent-%COMP%]{position:relative;margin:0 -8px;overflow:hidden;border-bottom:1px solid rgba(50,50,50,.15)}.article-card__poster[_ngcontent-%COMP%]{display:block;background-position:50%;background-size:cover;background-color:#e6e6e6}.article-card__poster[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%}.article-card__subinfo[_ngcontent-%COMP%]{display:block;position:absolute;max-width:calc(100% - 16px);top:12px;left:0}.article-card__subinfo--toaster[_ngcontent-%COMP%]{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-left:16px;border:1px solid #fff;padding:3px 6px;color:#fff;font-size:14px;line-height:16px}.article-card__subinfo[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:12px;
1fill:#fff}.article-card__title[_ngcontent-%COMP%]{font-size:24px}.article-card__info[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:15px;color:rgba(50,50,50,.35)}.article-card__date--toaster[_ngcontent-%COMP%]{width:-webkit-fit-content;width:fit-content;width:-moz-fit-content;border:1px solid var(--green-primary);padding:2px 6px;margin-bottom:8px;color:var(--green-primary);font-size:14px;position:relative;top:1px;line-height:14px;text-transform:uppercase}.article-card--in-feed[_ngcontent-%COMP%]{padding:16px 24px}.article-card--double[_ngcontent-%COMP%]{padding-bottom:137.2%;color:#fff}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.article-card--double[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;padding:16px}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{line-height:1;font-size:30px;font-weight:700}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{margin-top:16px;font-size:18px}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.35)}.article-card--double[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:hsla(0,0%,100%,.35)}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:relative;padding-bottom:47.6%}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(180deg,rgba(0,0,0,.4) 30%,transparent)}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:16px 24px}@media (min-width:1024px){.article-card[_ngcontent-%COMP%]{margin:0 0 24px;border-bottom:0}.article-card__title[_ngcontent-%COMP%]{font-size:21px}.article-card__info[_ngcontent-%COMP%]{font-size:14px}.article-card--in-feed[_ngcontent-%COMP%]{padding:0}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{order:-1;margin-top:4px;margin-right:10px;color:var(--green-primary)}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:none}.article-card--double[_ngcontent-%COMP%]{padding-bottom:45.12%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.3) 19.55%,rgba(0,0,0,.2) 33.1%,rgba(0,0,0,.2) 50.8%,rgba(0,0,0,.37) 64.35%,rgba(0,0,0,.7))}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%], .article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{display:none}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:12px 16px}}@media (min-width:1200px){.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{font-size:36px}}.card-actions[_ngcontent-%COMP%]{display:flex;margin-left:20px}.card-actions__item[_ngcontent-%COMP%]{color:inherit}.card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;
1fill:var(--green-primary)}.card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:4px;vertical-align:middle;color:inherit}']}),ie),se=((ne=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s){return _classCallCheck(this,n),t.call(this,e,i,r,a,o,s)}return n}(v.s)).\u0275fac=function(e){return new(e||ne)(O.yc(v.A,8),O.yc(O.w),O.yc(O.n),O.yc(S.t),O.yc(v.p),O.yc(v.z,8))},ne.\u0275cmp=O.sc({type:ne,selectors:[["app-shared-companies-news"]],features:[O.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),ne),ce=n("qJSi"),le=n("A/Aq"),ue=n("IzEk"),de=((re=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,o.injector=i,o.routesService=r,o.newsService=a,o}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.newsService.getNextPoliticalNews(this.widget.itemsCount).pipe(Object(ue.a)(1)).subscribe((function(t){e.models=t,null!==e.models?e.emitHasData():e.emitEmptyData();var n=function(){e.emitComponentLoaded()};L.a.useLoadingDelay?Object(T.a)(1500).subscribe(n):n()}))}}]),n}(v.j)).\u0275fac=function(e){return new(e||re)(O.yc(v.A,8),O.yc(O.w),O.yc(S.fb),O.yc(Ce))},re.\u0275cmp=O.sc({type:re,selectors:[["app-shared-political-news"]],features:[O.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),re),he=n("2gGH"),fe=n("FTlY"),pe=new O.v("News service with companies news"),ge=new O.v("News service with simple news"),ve=new O.v("News service with cards"),me=new O.v("News service with pages"),be=new O.v("News service with TOP news"),ye=new O.v("News service with selected news"),Ce=new O.v("News service with political news"),_e=new O.v("News service with week TOP news"),we=new O.v("News service with news' detail view"),ke=n("tk/3"),xe=n("LRne"),Oe=((ae=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.http=t,this.transferStateService=n,this.ratingApiService=i,this.commentsApiService=r,this.siteApiHostInfo=a}return _createClass(e,[{key:"doCompoundRequest",value:function(e){var t,n,i,r,a,o,s,c,l={request:{}};if((null===(t=e.simpleNews)||void 0===t?void 0:t.count)>=0){var u={count:e.simpleNews.count+1};e.simpleNews.nonCommercialCount>0&&(u.nonCommercialCount=e.simpleNews.nonCommercialCount),e.simpleNews.tillTime&&(u.tillTime=e.simpleNews.tillTime),(null===(n=e.selectedNews)||void 0===n?void 0:n.selectedIds.length)>0&&(u.excludedIds=e.selectedNews.selectedIds),l.request.simpleNews={filter:u,fields:Object(S.Fb)(e.simpleNews.fields).join()}}if((null===(i=e.topNews)||void 0===i?void 0:i.count)>0){var d={count:e.topNews.count};e.topNews.nonCommercialCount>0&&(d.nonCommercialCount=e.topNews.nonCommercialCount),(null===(r=e.selectedNews)||void 0===r?void 0:r.selectedIds.length)>0&&(d.excludedIds=e.selectedNews.selectedIds),l.request.topNews={filter:d,fields:Object(S.Fb)(e.topNews.fields).join()}}(null===(a=e.selectedNews)||void 0===a?void 0:a.selectedIds.length)>0&&(l.request.selectedNews={filter:{selectedIds:e.selectedNews.selectedIds},fields:Object(S.Fb)(e.selectedNews.fields).join()}),(null===(o=e.weekTopNews)||void 0===o?void 0:o.count)>0&&(l.request.weekTopNews={filter:{count:e.weekTopNews.count},fields:Object(S.Fb)(e.weekTopNews.fields).join()}),(null===(s=e.politicalNews)||void 0===s?void 0:s.count)>0&&(l.request.politicalNews={filter:{count:e.politicalNews.count},fields:Object(S.Fb)(e.politicalNews.fields).join()}),(null===(c=e.companiesNews)||void 0===c?void 0:c.count)>0&&(l.request.companiesNews={filter:{count:e.companiesNews.count},fields:Object(S.Fb)(e.companiesNews.fields).join()});var h=Object(S.Hb)(l),f=this.transferStateService.makeStateKey("compound-news-models-"+h);return this.transferStateService.hasKey(f)?Object(xe.a)(this.buildCompoundNews(this.transferStateService.restoreData(f,null))):(Object.keys(l.request).length>0?this.http.get(this.siteApiHostInfo+"api3/news/compound",{params:h}):Object(xe.a)({})).pipe(Object(S.Tb)(this.transferStateService,f),Object(z.a)(this.buildCompoundNews))}},{key:"doSimpleRequest",value:function(e){var t=Object(S.Hb)(e),n=this.transferStateService.makeStateKey("simple-news-models-"+t);if(this.transferStateService.hasKey(n))return Object(xe.a)(this.buildSimpleNews(this.transferStateService.restoreData(n,null)));var i={params:t};return/poll\.(canUserVote|userVote)/.test(e.expand)&&(i.withCredentials=!0),this.http.get(this.siteApiHostInfo+"api3/news",i).pipe(Object(S.Tb)(this.transferStateService,n),Object(z.a)(this.buildSimpleNews))}},{key:"requestSingleNews",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r={expand:Array.isArray(t)?t.join():t};null!==n&&((n=Object.assign({},n)).demoLink&&(r.demo=n.demoLink,delete n.demoLink),Object.keys(n).length>0&&(r.filter=n));var a=Object(S.Hb)(r),o=this.transferStateService.makeStateKey("single-news-model-".concat(e,"-").concat(a));if(this.transferStateService.hasKey(o))return Object(xe.a)(this.buildSingleNews(this.transferStateService.restoreData(o,null)));var s={params:a};if(/poll\.(canUserVote|userVote)/.test(r.expand)&&(s.withCredentials=!0),void 0!==i){var c=i.split("-",2),l=_slicedToArray2(c,1),u=l[0];s.headers=new ke.d({"accept-language":"".concat(i,",").concat(u)})}return this.http.get("".concat(this.siteApiHostInfo,"api3/news/").concat(e),s).pipe(Object(S.Tb)(this.transferStateService,o),Object(z.a)(this.buildSingleNews))}},{key:"getRatingsInfo",value:function(e){return this.ratingApiService.getRatingsInfo("api3/news/".concat(e,"/rates"))}},{key:"updateRatings",value:function(e,t,n){return this.ratingApiService.updateRatings("api3/news/".concat(e,"/rates"),t,n)}},{key:"createComment",value:function(e,t,n){return this.commentsApiService.createComment("api3/news/"+e,t,n)}},{key:"listComments",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.commentsApiService.listComments("api3/news/"+e,t)}},{key:"createDislike",value:function(e,t,n){return this.commentsApiService.createDislike(t,"api3/news/"+e,n)}},{key:"createLike",value:function(e,t,n){return this.commentsApiService.createLike(t,"api3/news/"+e,n)}},{key:"deleteComment",value:function(e,t){return this.commentsApiService.deleteComment(t,"api3/news/"+e)}},{key:"deleteDislike",value:function(e,t){return this.commentsApiService.deleteDislike(t,"api3/news/"+e)}},{key:"deleteLike",value:function(e,t){return this.commentsApiService.deleteLike(t,"api3/news/"+e)}},{key:"checkRedirect",value:function(e){return this.http.get("".concat(this.siteApiHostInfo,"api3/news/").concat(e,"/check-redirect"))}},{key:"buildCompoundNews",value:function(e){if(e.simpleNews&&(e.simpleNews=e.simpleNews.map(p)),e.topNews&&(e.topNews=e.topNews.map(p)),e.selectedNews)for(var t in e.selectedNews)e.selectedNews.hasOwnProperty(t)&&(e.selectedNews[t]=p(e.selectedNews[t]));return e.weekTopNews&&(e.weekTopNews=e.weekTopNews.map(p)),e.politicalNews&&(e.politicalNews=e.politicalNews.map(p)),e.companiesNews&&(e.companiesNews=e.companiesNews.map(p)),e}},{key:"buildSimpleNews",value:function(e){return e=e.news||[],Array.isArray(e)?e.map(p):(Object.keys(e).forEach((function(t){e[t]=p(e[t])})),e)}},{key:"buildSingleNews",value:function(e){return null!==e?p(e):null}}]),e}()).\u0275fac=function(e){return new(e||ae)(O.Mc(ke.b),O.Mc(S.yb),O.Mc(o.a),O.Mc(s.a),O.Mc(S.hb))},ae.\u0275prov=O.uc({token:ae,factory:ae.\u0275fac,providedIn:"root"}),ae)},Gi4w:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){return function(n){return n.lift(new a(e,t,n))}}var a=function(){function e(t,n,i){_classCallCheck(this,e),this.predicate=t,this.thisArg=n,this.source=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg,this.source))}}]),e}(),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e)).predicate=i,o.thisArg=r,o.source=a,o.index=0,o.thisArg=r||_assertThisInitialized(o),o}return _createClass(n,[{key:"notifyComplete",value:function(e){this.destination.next(e),this.destination.complete()}},{key:"_next",value:function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),n}(i.a)},GyhO:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("LRne"),r=n("0EUg");function a(){return Object(r.a)()(Object(i.a).apply(void 0,arguments))}},"H0t/":function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return d})),n.d(t,"d",(function(){return p}));var i,r=n("fXoL"),a=new r.v("Scroll spy hooks"),o=n("ofXK"),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"isDisabled",value:function(){return Object(o.P)(this.platformId)}}]),n}(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"setPlatformId",value:function(e){this.platformId=e}}]),e}()),c=n("XNiG"),l=n("HDdC"),u=n("pLZG"),d=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).observers=new WeakMap,e.intersectionSubject=ne
1w c.a,e.commonViewportKey={},e}return _createClass(n,[{key:"getObservable",value:function(e){var t=this;if(e.customObservable)return e.customObservable;var n=e.scrollContainer||this.commonViewportKey,i={},r={root:e.scrollContainer||null};e.offset&&(r.rootMargin=e.offset+"px",i.offset=e.offset),e.threshold&&(r.threshold=e.threshold,i.threshold=Array.isArray(e.threshold)&&1===e.threshold.length?e.threshold[0]:e.threshold),this.observers.has(n)||this.observers.set(n,new Map);var a=this.observers.get(n).get(JSON.stringify(i));return void 0===a&&(a=new IntersectionObserver((function(e){t.loadingCallback(e)}),r),this.observers.get(n).set(JSON.stringify(i),a)),a.observe(e.element),new l.a((function(n){var i=t.intersectionSubject.pipe(Object(u.a)((function(t){return t.target===e.element}))).subscribe(n);return function(){i.unsubscribe(),a.unobserve(e.element)}}))}},{key:"isVisible",value:function(e,t){return e.isIntersecting}},{key:"loadingCallback",value:function(e){var t=this;e.forEach((function(e){return t.intersectionSubject.next(e)}))}}]),n}(s),h=n("5yfJ"),f=n("lJxs"),p=((i=function(){function e(t,n){_classCallCheck(this,e),this.hooks=t,this.platformId=n,this.hooks.setPlatformId(n)}return _createClass(e,[{key:"registerScrollSpy",value:function(e){var t=this;return this.hooks.isDisabled()?h.a:this.hooks.getObservable(e).pipe(Object(f.a)((function(n){return t.hooks.isVisible(n,e)})))}}]),e}()).\u0275fac=function(e){return new(e||i)(r.Mc(a),r.Mc(r.I))},i.\u0275prov=r.uc({token:i,factory:i.\u0275fac,providedIn:"root"}),i)},HDdC:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i,r=n("7o/Q"),a=n("2QA8"),o=n("gRHU"),s=n("kJWO"),c=n("mCNh"),l=n("2fFW"),u=((i=function(){function e(t){_classCallCheck(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return _createClass(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var i=this.operator,s=function(e,t,n){if(e){if(e instanceof r.a)return e;if(e[a.a])return e[a.a]()}return e||t||n?new r.a(e,t,n):new r.a(o.a)}(e,t,n);if(s.add(i?i.call(s,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),l.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){l.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,i=t.destination,a=t.isStopped;if(n||a)return!1;e=i&&i instanceof r.a?i:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=d(t))((function(t,i){var r;r=n.subscribe((function(t){try{e(t)}catch(n){i(n),r&&r.unsubscribe()}}),i,t)}))}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:s.a,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?this:Object(c.b)(t)(this)}},{key:"toPromise",value:function(e){var t=this;return new(e=d(e))((function(e,n){var i;t.subscribe((function(e){return i=e}),(function(e){return n(e)}),(function(){return e(i)}))}))}}]),e}()).create=function(e){return new i(e)},i);function d(e){if(e||(e=l.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HLmT:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n("fXoL"),r=n("jCJ1"),a=n("VRyK"),o=n("/uUt"),s=n("lJxs"),c=n("vkgz"),l=n("vJtL"),u=n("GJzE"),d=n("sYmb"),h=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,a,o,s){var c;return _classCallCheck(this,n),(c=t.call(this,e,r,a,s)).events=new i.s,c.executeQueue=[],c.actualHandler=null,c.errorMessage=o.instant("re-captcha-widget-error"),c}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.mergedSubscription=Object(a.a)(this.resolved.pipe(Object(o.a)(),Object(s.a)((function(e){return null!==e?{isExpireEvent:!1,result:e}:{isExpireEvent:!0}}))),this.error.pipe(Object(o.a)(),Object(s.a)((function(e){return{isError:!0,error:e}})))).subscribe((function(t){e.events.emit(t)})),this.events.pipe(Object(o.a)(),Object(c.a)((function(t){null!==e.actualHandler&&(Object(u.Sb)(t)&&Object(l.a)(e.actualHandler.onSuccess)?e.actualHandler.onSuccess(t.result):Object(u.Rb)(t)&&Object(l.a)(e.actualHandler.onExpire)?e.actualHandler.onExpire():Object(u.Qb)(t)&&Object(l.a)(e.actualHandler.onError)&&e.actualHandler.onError(t.error),Object(l.a)(e.actualHandler.onComplete)&&e.actualHandler.onComplete()),e.actualHandler=null,e.reset(),e.processQueue()}))).subscribe()}},{key:"ngAfterViewInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngAfterViewInit",this).call(this)}},{key:"ngOnDestroy",value:function(){void 0!==this.mergedSubscription&&(this.mergedSubscription.unsubscribe(),this.mergedSubscription=void 0),_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this)}},{key:"queueExecute",value:function(e){this.executeQueue.push(e),this.processQueue()}},{key:"processQueue",value:function(){null===this.actualHandler&&this.executeQueue.length>0&&(this.actualHandler=this.executeQueue.shift(),this.execute())}},{key:"showErrorMessage",value:function(){alert(this.errorMessage)}}]),n}(r.c);return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(r.e),i.yc(i.F),i.yc(d.e),i.yc(r.b,8))},e.\u0275cmp=i.sc({type:e,selectors:[["app-re-captcha"]],outputs:{events:"events"},features:[i.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e}()},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},INbW:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("XNiG"),r=n("1G5W"),a=n("pLZG"),o=n("lJxs"),s=n("vkgz"),c=n("fXoL"),l=n("GJzE"),u=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.viewContainerRef
1=t,this.templateRef=n,this.deviceState=r,this.onDestroy$=new i.a,this.isContentVisible=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.deviceState.onMobileStateChange.pipe(Object(r.a)(this.onDestroy$),Object(a.a)((function(t){return t.actualState!==e.isContentVisible})),Object(o.a)((function(e){return e.actualState})),Object(s.a)((function(t){t?e.viewContainerRef.createEmbeddedView(e.templateRef):e.viewContainerRef.clear(),e.isContentVisible=t}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.yc(c.X),c.yc(c.U),c.yc(l.t))},e.\u0275dir=c.tc({type:e,selectors:[["","appOnlyOnMobile",""]]}),e}()},IjjT:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=n}return _createClass(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),r=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.now;return _classCallCheck(this,n),(r=t.call(this,e,(function(){return n.delegate&&n.delegate!==_assertThisInitialized(r)?n.delegate.now():a()}))).actions=[],r.active=!1,r.scheduled=void 0,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,i):_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t,i)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(i)},IzEk:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("7o/Q"),r=n("4I5i"),a=n("EY2u");function o(e){return function(t){return 0===e?Object(a.b)():t.lift(new s(e))}}var s=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new r.a}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.total))}}]),e}(),c=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return _createClass(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(i.a)},IzLi:function(e,t,n){"use strict";t.a=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},"J/4d":function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n("fXoL"),r=n("kBKH"),a=n("GJzE"),o=n("ofXK"),s=n("sYmb"),c=n("OevD"),l=function(e){return{domainName:e}};function u(e,t){if(1&e){var n=i.Fc();i.Ec(0,"div",1),i.Ec(1,"div",2),i.Tc(),i.Ec(2,"svg",3),i.zc(3,"use",4),i.Dc(),i.Sc(),i.zc(4,"div",5),i.Vc(5,"safeHtml"),i.Vc(6,"translate"),i.Ec(7,"div",6),i.Ec(8,"button",7),i.Qc("click",(function(){return i.nd(n),i.Uc().addToHomeScreen()})),i.zd(9," add-to-home-screen-add-label "),i.Dc(),i.Ec(10,"button",8),i.Qc("click",(function(){return i.nd(n),i.Uc().closePrompt()})),i.zd(11," add-to-home-screen-cancel-label "),i.Dc(),i.Dc(),i.Dc(),i.Dc()}if(2&e){var r=i.Uc();i.jc(4),i.bd("innerHTML",i.Wc(5,1,i.Xc(6,3,"add-to-home-screen-label-template",i.fd(6,l,r.siteUrl))),i.od)}}var d=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.siteConfigService=t,this.localStorageService=n,this.isShowCustomPrompt=!1}return _createClass(e,[{key:"ngOnInit",value:function(){this.registerServiceWorker()}},{key:"onBeforeInstallPrompt",value:function(e){e.preventDefault(),this.deferredPrompt=e,this.isShowCustomPrompt=this.canShowPrompt()}},{key:"addToHomeScreen",value:function(){var e=this;this.closePrompt(!1),this.deferredPrompt.prompt(),this.deferredPrompt.userChoice.then((function(t){"accepted"===t.outcome?console.log("User accepted the A2HS prompt"):console.log("User dismissed the A2HS prompt"),e.deferredPrompt=null}))}},{key:"closePrompt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.isShowCustomPrompt=!1,e){var t=new Date;t.setMonth(t.getMonth()+3),this.localStorageService.localStorage.setItem("isAgreedWithA2HS",t.toString())}}}
1,{key:"registerServiceWorker",value:function(){"serviceWorker"in navigator&&navigator.serviceWorker.register("/service-worker.js").then((function(){console.log("Service worker registration in complete")}),(function(e){console.warn("Service worker registration in failure",e)}))}},{key:"canShowPrompt",value:function(){var e=this.localStorageService.localStorage.getItem("isAgreedWithA2HS");return null===e||!(new Date<=new Date(e))&&(this.localStorageService.localStorage.removeItem("isAgreedWithA2HS"),!0)}},{key:"siteUrl",get:function(){return this.siteConfigService.instantMainConfig.siteUrl}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(r.c),i.yc(a.E))},e.\u0275cmp=i.sc({type:e,selectors:[["app-add-to-home-screen"]],hostBindings:function(e,t){1&e&&i.Qc("beforeinstallprompt",(function(e){return t.onBeforeInstallPrompt(e)}),!1,i.md)},decls:1,vars:1,consts:[["class","push-panel",4,"ngIf"],[1,"push-panel"],[1,"push-panel__content"],["width","24","height","24"],[0,"xlink","href","#notification-bell"],[1,"push-panel__title",3,"innerHTML"],[1,"push-panel__btns"],["translate","",1,"push-panel__btn","btn","btn-brand",3,"click"],["translate","",1,"push-panel__btn","push-panel__btn--cancel","btn",3,"click"]],template:function(e,t){1&e&&i.xd(0,u,12,8,"div",0),2&e&&i.bd("ngIf",t.isShowCustomPrompt)},directives:[o.u,s.b],pipes:[c.a,s.d],styles:[".push-panel[_ngcontent-%COMP%]{position:fixed;z-index:40;bottom:10px;left:10px;background-color:#fff;border-radius:8px;box-shadow:0 2px 3px rgba(0,0,0,.1);transition:transform .3s cubic-bezier(.2,0,.2,1)}.push-panel__content[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;max-width:290px;padding:5px}.push-panel__content[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:24px;height:24px;margin-right:5px}.push-panel__title[_ngcontent-%COMP%]{width:calc(100% - 30px)}.push-panel__title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary);text-decoration:underline}.push-panel__btns[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;width:100%;margin-top:5px}.push-panel__btn[_ngcontent-%COMP%]{padding:5px 10px;border-color:transparent}.push-panel__btn[_ngcontent-%COMP%]:last-of-type{margin-left:5px}.push-panel.is-shown[_ngcontent-%COMP%]{transform:translateX(0)}"]}),e}()},J8dt:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var i=n("fXoL"),r=n("LRne"),a=n("PqYM"),o=n("ehPC"),s=n("AytR"),c=n("ofXK"),l=n("pI7v"),u=n("wf0l"),d=["insertPoint"],h=["fullFill"],f=["halfFill"],p=["withoutPoster"];function g(e,t){if(1&e&&i.zc(0,"app-placeholder",5),2&e){var n=i.Uc();i.bd("width",n.card.width)("height",1)}}function v(e,t){if(1&e&&(i.Ec(0,"div",11),i.Ec(1,"span",12),i.zd(2),i.Dc(),i.Dc()),2&e){var n=i.Uc(2);i.jc(2),i.Ad(n.card.label)}}function m(e,t){if(1&e&&(i.Ec(0,"a",13),i.zd(1),i.Dc()),2&e){var n=t.$implicit;i.cd("href",n.url,i.qd),i.cd("title",n.label),i.kc("rel",n.rel),i.jc(1),i.Bd(" ",n.label," ")}}function b(e,t){if(1&e&&(i.Ec(0,"article",6),i.zc(1,"a",7),i.xd(2,v,3,1,"div",8),i.Ec(3,"div",9),i.xd(4,m,2,4,"a",10),i.Dc(),i.Dc()),2&e){var n=i.Uc();i.jc(1),i.bd("lazyLoad",n.posterImageUrl),i.kc("href",n.posterLinkUrl,i.qd)("rel",n.posterLinkRel),i.jc(1),i.bd("ngIf",n.hasLabel),i.jc(2),i.bd("ngForOf",n.customLinks)}}function y(e,t){if(1&e&&(i.Ec(0,"div",11),i.Ec(1,"div",12),i.zd(2),i.Dc(),i.Dc()),2&e){var n=i.Uc(2);i.jc(2),i.Ad(n.card.label)}}function C(e,t){if(1&e&&(i.Ec(0,"a",13),i.zd(1),i.Dc()),2&e){var n=t.$implicit;i.cd("href",n.url,i.qd),i.cd("title",n.label),i.kc("rel",n.rel),i.jc(1),i.Bd(" ",n.label," ")}}function _(e,t){if(1&e&&(i.Ec(0,"article",14),i.zc(1,"a",7),i.xd(2,y,3,1,"div",8),i.Ec(3,"div",9),i.xd(4,C,2,4,"a",10),i.Dc(),i.Dc()),2&e){var n=i.Uc();i.jc(1),i.bd("lazyLoad",n.posterImageUrl),i.kc("href",n.posterLinkUrl,i.qd)("rel",n.posterLinkRel),i.jc(1),i.bd("ngIf",n.hasLabel),i.jc(2),i.bd("ngForOf",n.customLinks)}}function w(e,t){if(1&e&&(i.Ec(0,"div",11),i.Ec(1,"span",12),i.zd(2),i.Dc(),i.Dc()),2&e){var n=i.Uc(2);i.jc(2),i.Ad(n.card.label)}}function k(e,t){if(1&e&&(i.Ec(0,"a",13),i.zd(1),i.Dc()),2&e){var n=t.$implicit;i.cd("href",n.url,i.qd),i.cd("title",n.label),i.kc("rel",n.rel),i.jc(1),i.Bd(" ",n.label," ")}}function x(e,t){if(1&e&&(i.Ec(0,"article",15),i.xd(1,w,3,1,"div",8),i.Ec(2,"div",9),i.xd(3,k,2,4,"a",10),i.Dc(),i.Dc()),2&e){var n=i.Uc();i.jc(1),i.bd("ngIf",n.hasLabel),i.jc(2),i.bd("ngForOf",n.customLinks)}}var O=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.call(this)).pNeedInstantSubstitute=!1,e.pPosterImageUrl=null,e.pPosterLinkUrl=null,e.pPosterLinkRel=null,e.pHasLabel=!1,e.pCustomLinks=[],e}return _createClass(n,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this)}},{key:"getModels",value:function(){return Object(r.a)(this.card)}},{key:"renderCard",value:function(e){var t=this;this.models=e,this.pPosterImageUrl=this.card.posterUrl,1===this.card.links.length&&(this.pPosterLinkUrl=this.card.links[0].url,this.pPosterLinkRel=this.card.links[0].noFollow?"
1nofollow":null),this.pHasLabel=null!==this.card.label,this.pCustomLinks=this.card.links.map((function(e){return{url:e.url,label:e.label,rel:e.noFollow?"nofollow":null}}));var n=function(){var e;switch(t.insertPoint.clear(),t.card.posterType){case o.v.WithoutPoster:e=t.withoutPosterTemplate;break;case o.v.HalfFill:e=t.halfFillTemplate;break;case o.v.FullFill:e=t.fullFillTemplate}t.insertPoint.createEmbeddedView(e)};s.a.useLoadingDelay?Object(a.a)(1500).subscribe(n):n()}},{key:"posterImageUrl",get:function(){return this.pPosterImageUrl}},{key:"posterLinkUrl",get:function(){return this.pPosterLinkUrl}},{key:"posterLinkRel",get:function(){return this.pPosterLinkRel}},{key:"hasLabel",get:function(){return this.pHasLabel}},{key:"customLinks",get:function(){return this.pCustomLinks}}]),n}(o.d);return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-custom-card"]],viewQuery:function(e,t){var n;1&e&&(i.ud(d,!0,i.X),i.ud(h,!0),i.ud(f,!0),i.ud(p,!0)),2&e&&(i.jd(n=i.Rc())&&(t.insertPoint=n.first),i.jd(n=i.Rc())&&(t.fullFillTemplate=n.first),i.jd(n=i.Rc())&&(t.halfFillTemplate=n.first),i.jd(n=i.Rc())&&(t.withoutPosterTemplate=n.first))},features:[i.gc],decls:10,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["fullFill",""],["halfFill",""],["withoutPoster",""],[3,"width","height"],[1,"custom-card","custom-card--full"],[1,"custom-card__poster",3,"lazyLoad"],["class","custom-card__info",4,"ngIf"],[1,"custom-card__content"],[3,"href","title",4,"ngFor","ngForOf"],[1,"custom-card__info"],[1,"custom-card__info--toaster"],[3,"href","title"],[1,"custom-card","custom-card--half"],[1,"custom-card","custom-card--simple"]],template:function(e,t){1&e&&(i.Ac(0,null,0),i.xd(2,g,1,2,"app-placeholder",1),i.Vc(3,"async"),i.xd(4,b,5,5,"ng-template",null,2,i.yd),i.xd(6,_,5,5,"ng-template",null,3,i.yd),i.xd(8,x,4,2,"ng-template",null,4,i.yd)),2&e&&(i.jc(2),i.bd("ngIf",!i.Wc(3,1,t.isComponentLoaded$)))},directives:[c.u,l.a,u.a,c.t],pipes:[c.b],styles:['.custom-card[_ngcontent-%COMP%]{position:relative;margin:0 -8px;overflow:hidden;border-bottom:1px solid rgba(50,50,50,.15)}.custom-card__poster[_ngcontent-%COMP%]{background-position:50%;background-size:cover;background-color:#e6e6e6}.custom-card__poster[_ngcontent-%COMP%], .custom-card__poster[_ngcontent-%COMP%]:after{display:block;position:absolute;top:0;left:0;width:100%;height:100%}.custom-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.custom-card__content[_ngcontent-%COMP%]{width:100%;position:absolute;z-index:1;bottom:0;left:0;padding:16px 24px}.custom-card__content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-top:8px;display:block;width:100%;font-size:21px;line-height:24px}.custom-card__info[_ngcontent-%COMP%]{display:block;position:absolute;top:12px;left:0}.custom-card__info--toaster[_ngcontent-%COMP%]{margin-left:16px;border:1px solid #fff;padding:3px 6px;color:#fff;font-size:14px;font-weight:700;line-height:16px}.custom-card--full[_ngcontent-%COMP%], .custom-card--simple[_ngcontent-%COMP%]{padding-bottom:137.2%}.custom-card--full[_ngcontent-%COMP%]   .custom-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.custom-card--full[_ngcontent-%COMP%]   .custom-card__content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:700;color:#fff}.custom-card--half[_ngcontent-%COMP%]{padding-bottom:96px}.custom-card--half[_ngcontent-%COMP%]   .custom-card__poster[_ngcontent-%COMP%]{position:relative;padding-bottom:47.6%}.custom-card--half[_ngcontent-%COMP%]   .custom-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(180deg,rgba(0,0,0,.4) 30%,transparent)}.custom-card--half[_ngcontent-%COMP%]   .custom-card__content[_ngcontent-%COMP%]{position:absolute}.custom-card--simple[_ngcontent-%COMP%]{background-color:#e6e6e6}.custom-card--simple[_ngcontent-%COMP%]:after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(180deg,rgba(0,0,0,.4) 30%,transparent)}.custom-card--simple[_ngcontent-%COMP%]   .custom-card__info--toaster[_ngcontent-%COMP%]{color:#323232;border-color:#323232}@media (min-width:1024px){.custom-card[_ngcontent-%COMP%]{margin:0 0 24px;border-bottom:0}.custom-card__content[_ngcontent-%COMP%]{padding:12px 16px}.custom-card--full[_ngcontent-%COMP%]{border-bottom:0}.custom-card--full[_ngcontent-%COMP%]   .custom-card__poster[_ngcontent-%COMP%]:after{background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.3) 19.55%,rgba(0,0,0,.2) 33.1%,rgba(0,0,0,.2) 50.8
1%,rgba(0,0,0,.37) 64.35%,rgba(0,0,0,.7))}.custom-card--half[_ngcontent-%COMP%]{padding-bottom:96px}.custom-card--full[_ngcontent-%COMP%], .custom-card--simple[_ngcontent-%COMP%]{padding-bottom:45.12%}}.col-lg-3[_nghost-%COMP%]   .custom-card--full[_ngcontent-%COMP%], .col-lg-3   [_nghost-%COMP%]   .custom-card--full[_ngcontent-%COMP%], .col-lg-3[_nghost-%COMP%]   .custom-card--simple[_ngcontent-%COMP%], .col-lg-3   [_nghost-%COMP%]   .custom-card--simple[_ngcontent-%COMP%]{padding-bottom:calc(45.12% + 107px)}@media (min-width:1024px){.col-lg-4[_nghost-%COMP%]   .custom-card--full[_ngcontent-%COMP%], .col-lg-4   [_nghost-%COMP%]   .custom-card--full[_ngcontent-%COMP%], .col-lg-4[_nghost-%COMP%]   .custom-card--simple[_ngcontent-%COMP%], .col-lg-4   [_nghost-%COMP%]   .custom-card--simple[_ngcontent-%COMP%]{padding-bottom:80%}}.col-lg-4[_nghost-%COMP%]   .custom-card--half[_ngcontent-%COMP%], .col-lg-4   [_nghost-%COMP%]   .custom-card--half[_ngcontent-%COMP%]{padding-bottom:140px}']}),e}()},JIr8:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("l7GE"),r=n("51Dv"),a=n("ZUHj");function o(e){return function(t){var n=new s(e),i=t.lift(n);return n.caught=i}}var s=function(){function e(t){_classCallCheck(this,e),this.selector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.selector,this.caught))}}]),e}(),c=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).selector=i,a.caught=r,a}return _createClass(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(s){return void _get(_getPrototypeOf(n.prototype),"error",this).call(this,s)}this._unsubscribeAndRecycle();var i=new r.a(this,void 0,void 0);this.add(i);var o=Object(a.a)(this,t,void 0,void 0,i);o!==i&&this.add(o)}}}]),n}(i.a)},JUSj:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("XNiG"),r=n("1G5W"),a=n("pLZG"),o=n("lJxs"),s=n("vkgz"),c=n("fXoL"),l=n("GJzE"),u=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.viewContainerRef=t,this.templateRef=n,this.deviceState=r,this.onDestroy$=new i.a,this.isContentVisible=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.deviceState.onDesktopStateChange.pipe(Object(r.a)(this.onDestroy$),Object(a.a)((function(t){return t.actualState!==e.isContentVisible})),Object(o.a)((function(e){return e.actualState})),Object(s.a)((function(t){t?e.viewContainerRef.createEmbeddedView(e.templateRef):e.viewContainerRef.clear(),e.isContentVisible=t}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.yc(c.X),c.yc(c.U),c.yc(l.t))},e.\u0275dir=c.tc({type:e,selectors:[["","appOnlyOnDesktop",""]]}),e}()},JUpc:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var i=n("IzEk"),r=n("bHHr"),a=n("fXoL"),o=n("GJzE"),s=n("1kSV"),c=n("sYmb");function l(e,t){if(1&e&&a.zc(0,"span",16),2&e){var n=a.Uc(2);a.bd("innerHTML",n.topRatingLabel,a.od)}}function u(e,t){1&e&&(a.Ec(0,"span",17),a.zd(1,"model-ratings-no-rates-prompt"),a.Dc())}function d(e,t){1&e&&(a.Ec(0,"span",18),a.Zc(1),a.Dc())}function h(e,t){if(1&e&&(a.Cc(0),a.Ec(1,"div",19),a.zc(2,"div",20),a.zc(3,"div",21),a.Dc(),a.Bc()),2&e){var n=a.Uc(2);a.jc(2),a.bd("innerHTML",n.signInLabel,a.od),a.jc(1),a.bd("innerHTML",n.signInLabel,a.od)}}function f(e,t){if(1&e&&a.zc(0,"div",25),2&e){var n=a.Uc(3);a.bd("innerHTML",n.userInfoLabel,a.od)}}function p(e,t){if(1&e&&(a.Ec(0,"div",22),a.zc(1,"div",23),a.xd(2,f,1,1,"div",24),a.Dc()),2&e){var n=a.Uc(2);a.jc(1),a.bd("lazyLoad",n.userModel.avatarUrl?n.userModel.avatarUrl:null),a.jc(1),a.bd("ngIf",n.model)}}function g(e,t){if(1&e){var n=a.Fc();a.Ec(0,"div",26),a.Ec(1,"ngb-alert",27),a.Qc("close",(function(){return a.nd(n),a.Uc(2).closeAlert()})),a.zd(2),a.Dc(),a.Dc()}if(2&e){var i=a.Uc(2);a.jc(1),a.bd("type","danger"),a.jc(1),a.Ad(i.alert)}}function v(e,t){if(1&e){var n=a.Fc();a.Ec(0,"div",1),a.Ec(1,"div",2),a.Qc("click",(function(e){a.nd(n);var t=a.Uc();return t.isAuthenticated?t.openUserRatesModal():t.openSignInModal(e)})),a.Ec(2,"div",3),a.Ec(3,"app-single-rate",4,5),a.Ec(5,"div",6),a.zd(6),a.Vc(7,"number"),a.Dc(),a.Dc(),a.Dc(),a.Ec(8,"div",3),a.Ec(9,"div",7),a.Ec(10,"span",8),a.xd(11,l,1,1,"span",9),a.xd(12,u,2,0,"ng-template",null,10,a.yd),a.Dc(),a.xd(14,d,2,0,"span",11),a.Dc(),a.Dc(),a.Ec(15,"div",3),a.xd(16,h,4,2,"ng-container",12),a.xd(17,p,3,2,"ng-template",null,13,a.yd),a.Dc(),a.Dc(),a.Ec(19,"div",14),a.xd(20,g,3,2,"div",15),a.Dc(),a.Dc()}if(2&e){var i=a.kd(4),r=a.kd(13),o=a.kd(18),s=a.Uc();a.jc(3),a.bd("model",s.model.averageRating),a.jc(3),a.Ad(a.Xc(7,8,i.actualRating,"1.1-1")),a.jc(5),a.bd("ngIf",s.model.hasRatings)("ngIfElse",r),a.jc(3),a.bd("ngIf",s.isAuthenticated),a.jc(2),a.bd("ngIf",!s.isAuthenticated)("ngIfElse",o),a.jc(4),a.bd("ngIf",s.showErrorAlert)}}var m=[[["","data-rate-model-prompt",""]]],b=["[data-rate-model-prompt]"],y=function(){var e=function(){function e(t,n,i,r,a,o,s){_classCallCheck(this,e),this.authService=t,this.authModalsService=n,this.modalService=i,this.injector=r,this.translateService=a,this.getRatingsInfoService=o,this.updateRatingsService=s,this.isAuthenticated=!1,this.userModel=null,this.alert=null,this.showErrorAlert=!1,this.openRatesModalAfterSignIn=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var t=this;this.userModelSubscription=this.authService.userModel.subscribe((function(n){e.userInfoTranslate=void 0,t.isAuthenticated=null!==n,t.userModel=n,t.isAuthenticated?t.getRatingsInfoService.getRatingsInfo(t.modelId,t.model).pipe(Object(i.a)(1)).subscribe((function(){t.openRatesModalAfterSignIn&&(t.openUserRatesModal(),t.openRatesModalAfterSignIn=!1)})):(t.model.clearUserRates(),t.openRatesModalAfterSignIn=!1)}))}},{key:"ngOnDestroy",value:function(){this.userModelSubscription&&(this.userModelSubscription.unsubscribe(),this.userModelSubscription=void 0)}},{key:"openSignInModal",value:function(e){var t=this;e.preventDefault(),this.openRatesModalAfterSignIn=!0,this.authModalsService.openSignInModal().result.catch((function(){t.openRatesModalAfterSignIn=!1}))}},{key:"openUserRatesModal",value:function(){var e=this;this.modalService.dismissAll();var t=this.modalService.open(r.d,{centered:!0,size:"lg",injector:this.injector});t.componentInstance.model=this.model,t.result.then((function(t){null!==t&&e.sendRating(t)}),(function(){}))}},{key:"closeAlert",value:function(){this.alert=null,this.showErrorAlert=!1}},{key:"sendRating",value:function(e){var t=this;this.updateRatingsService.updateRatings(this.modelId,this.model,e).pipe(Object(i.a)(1)).subscribe({error:function(e){t.alert=e.message,t.showErrorAlert=!0}})}},{key:"topRatingLabel",get:function(){return this.translateService.instant("model-ratings-top-rating-template",{parameter:"<strong>".concat(this.model.topRatedRubric.label,"</strong>")})}},{key:"signInLabel",get:function(){return void 0===e.signInTranslate&&(e.signInTranslate=this.translateService.instant("model-ratings-sign-in-prompt-template",{signInPrompt:"<span>".concat(this.translateService.instant("model-ratings-sign-in-prompt"),"</sp
1an>")})),e.signInTranslate}},{key:"userInfoLabel",get:function(){return void 0===e.userInfoTranslate&&(e.userInfoTranslate=this.translateService.instant("model-ratings-user-info-template",{userName:"<span>".concat(this.userModel.userName,"</span>")})),e.userInfoTranslate}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.yc(o.f),a.yc(o.e),a.yc(s.s),a.yc(a.w),a.yc(c.e),a.yc(r.b),a.yc(r.g))},e.\u0275cmp=a.sc({type:e,selectors:[["app-model-ratings"]],inputs:{model:"model",modelId:"modelId"},ngContentSelectors:b,decls:1,vars:1,consts:[["class","model-rating-block",4,"ngIf"],[1,"model-rating-block"],[1,"row",3,"click"],[1,"col-12","col-lg-4"],[3,"model"],["rate","singleRate"],["data-rating-value","",1,"dot-rating__value"],[1,"model-rating-block__overview-block"],[1,"model-rating-block__overview","d-none","d-lg-block"],[3,"innerHTML",4,"ngIf","ngIfElse"],["noRate",""],["class","model-rating-block__mobile-overview d-lg-none",4,"ngIf"],[4,"ngIf","ngIfElse"],["isAuth",""],[1,"model-rating-block__error-action-container"],["class","model-rating-block__error-alert",4,"ngIf"],[3,"innerHTML"],["translate","",1,"model-rating-block__overview"],[1,"model-rating-block__mobile-overview","d-lg-none"],[1,"model-rating-block__auth-block"],[1,"model-rating-block__auth-action","d-none","d-lg-block",3,"innerHTML"],[1,"model-rating-block__auth-action","model-rating-block__auth-action-mobile","d-lg-none",3,"innerHTML"],[1,"model-rating-block__user","model-rating-block__auth-action","d-none","d-lg-flex"],[1,"rounded-bg-image","model-rating-block__user-avatar",3,"lazyLoad"],["class","model-rating-block__user-info ",3,"innerHTML",4,"ngIf"],[1,"model-rating-block__user-info",3,"innerHTML"],[1,"model-rating-block__error-alert"],[3,"type","close"]],template:function(e,t){1&e&&(a.ad(m),a.xd(0,v,21,11,"div",0)),2&e&&a.bd("ngIf",t.model.params.size>0)},styles:[".model-rating-block[_ngcontent-%COMP%]{margin-top:32px;padding:24px 0;border-bottom:1px solid rgba(50,50,50,.15);font-size:15px;position:relative}.model-rating-block__mobile-overview[_ngcontent-%COMP%]{display:block;margin-top:9px}.model-rating-block__auth-block[_ngcontent-%COMP%], .model-rating-block__overview-block[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%}[_nghost-%COMP%]     .model-rating-block__auth-action{color:rgba(50,50,50,.35)}[_nghost-%COMP%]     .model-rating-block__auth-action span{text-decoration:underline;font-weight:700;color:var(--green-primary)}[_nghost-%COMP%]     .model-rating-block__auth-action-mobile{margin-top:9px}.model-rating-block__user[_ngcontent-%COMP%]{display:flex;align-items:center}.model-rating-block__user-avatar[_ngcontent-%COMP%]{flex-shrink:0;width:24px;height:24px;margin-right:16px;background-color:#dcdcdc}.model-rating-block__error-action-container[_ngcontent-%COMP%]{width:100%;position:absolute;bottom:-20px;left:0;text-align:center}@media (min-width:1024px){.model-rating-block[_ngcontent-%COMP%]{padding:24px;border-top:1px solid rgba(50,50,50,.15)}}@media (max-width:1024px){.model-rating-block[_ngcontent-%COMP%]{margin-top:8px}}.dot-rating__value[_ngcontent-%COMP%]{margin-left:16px;font-size:21px;font-weight:700;color:#dcdcdc}"]}),e}()},JX91:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("GyhO"),r=n("z+Ro");function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t[t.length-1];return Object(r.a)(a)?(t.pop(),function(e){return Object(i.a)(t,e,a)}):function(e){return Object(i.a)(t,e)}}},Js68:function(e,t,n){"use strict";t.a=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},"Ju5/":function(e,t,n){"use strict";var i=n("XqMk"),r="object"==typeof self&&self&&self.Object===Object&&self,a=i.a||r||Function("return this")();t.a=a},Kj3r:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("7o/Q"),r=n("D0XW");function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.a;return function(n){return n.lift(new o(e,t))}}var o=function(){function e(t,n){_classCallCheck(this,e),this.dueTime=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.dueTime,this.scheduler))}}]),e}(),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).dueTime=i,a.scheduler
1=r,a.debouncedSubscription=null,a.lastValue=null,a.hasValue=!1,a}return _createClass(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(i.a);function c(e){e.debouncedNext()}},KqfI:function(e,t,n){"use strict";function i(){}n.d(t,"a",(function(){return i}))},L3Qv:function(e,t,n){"use strict";t.a=function(){return!1}},LFf6:function(e,t,n){"use strict";var i=n("ylTp"),r=n("/1FC"),a=n("G8aS"),o=i.a?i.a.prototype:void 0,s=o?o.toString:void 0;t.a=function e(t){if("string"==typeof t)return t;if(Object(r.a)(t))return function(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}(t,e)+"";if(Object(a.a)(t))return s?s.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},LRne:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("z+Ro"),r=n("yCtX"),a=n("jZKg");function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[t.length-1];return Object(i.a)(o)?(t.pop(),Object(a.a)(t,o)):Object(r.a)(t)}},Lhse:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},LrWZ:function(e,t,n){"use strict";t.a=function(e){return null==e}},ML90:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var i=n("fXoL"),r=n("XNiG"),a=n("2Vo4"),o=n("itXk"),s=n("PqYM"),c=n("HDdC"),l=n("/uUt"),u=n("1G5W"),d=n("lJxs"),h=n("vkgz"),f=n("pLZG"),p=n("IzEk"),g=n("ehPC"),v=n("GJzE"),m=["insertPoint"],b=function(){var e=function(){function e(t,n,i,o){_classCallCheck(this,e),this.componentFactoryResolver=t,this.deviceState=n,this.widgetsFactory=i,this.shiftBannersPlacesService=o,this.widgetComponents=[],this.widgetsToRemove=[],this.onDestroy$=new r.a,this.isLoaded$=new a.a(!1)}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.insertPoint.clear(),this.widgetComponents=[],this.blockModel.widgets.filter(this.canRenderWidget,this).forEach((function(t){t instanceof g.K&&(t=e.shiftBannersPlacesService.getNextBannerWidget(t,e.widgetsFactory));var n=e.componentFactoryResolver.resolveComponentFactory(e.insertPoint.injector.get(t.getComponent(),t.getComponent())),i=e.insertPoint.createComponent(n);i.instance.widget=t,i.instance.parentBlock=e,i.instance.componentViewRef=i.hostView,e.widgetComponents.push(i.instance)})),this.widgetComponents.length>0?(Object(o.a)(_toConsumableArray2(this.widgetComponents.map((function(e){return e.isComponentLoaded$.pipe(Object(l.a)())})))).pipe(Object(u.a)(this.onDestroy$),Object(d.a)((function(e){return e.every((function(e){return e}))})),Object(l.a)(),Object(h.a)((function(t){e.isLoaded$.next(t)}))).subscribe(),this.isLoaded$.pipe(Object(u.a)(this.onDestroy$),Object(f.a)((function(e){return e})),Object(p.a)(1),Object(h.a)((function(){e.widgetsToRemove.length>0&&Object(s.a)(1).subscribe((function(){e.ngDoCheck()}))}))).subscribe()):this.isLoaded$.next(!0)}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"ngDoCheck",value:function(){var e=this;this.widgetsToRemove.length>0&&(this.widgetsToRemove.forEach((function(t){var n=e.insertPoint.indexOf(t.widgetViewRef);if(-1!==n&&(e.insertPoint.remove(n),e.widgetComponents.splice(n,1),null!==t.componentReplaceCallback)){var i=t.componentReplaceCallback(e.insertPoint,n);if(null!==i){var r=function(t){null!==t&&e.widgetComponents.splice(n,0,t.instance)};i instanceof c.a?i.subscribe(r):r(i)}}})),this.widgetsToRemove=[])}},{key:"processEmptyWidget",value:function(e,t){this.widgetsToRemove.push({widgetViewRef:e,componentReplaceCallback:null!==t?t.getComponentReplaceCallback():null})}},{key:"canRenderWidget",value:function(e){return this.deviceState.isBrowserApp&&e.isRenderedInBrowserApp||this.deviceState.isServerApp&&e.isRenderedInServerApp}},{key:"hostClasses",get:function(){return"col-12 col-lg-"+3*this.blockModel.width}},{key:"isComponentLoaded$",get:function(){return this.isLoaded$.asObservable()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.n),i.yc(v.t),i.yc(g.O),i.yc(g.J))},e.\u0275cmp=i.sc({type:e,selectors:[["app-block"]],viewQuery:function(e,t){var n;1&e&&i.ud(m,!0,i.X),2&e&&i.jd(n=i.Rc())&&(t.insertPoint=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&i.lc(t.hostClasses)},inputs:{blockModel:"blockModel"},decls:2,vars:0,consts:[["insertPoint",""]],template:function(e,t){1&e&&i.Ac(0,null,0)},encapsulation:2}),e}()},MlV6:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("fXoL"),r=n("XNiG"),a=n("1G5W"),o=n("vkgz"),s=n("GJzE");function c(e,t){if(1&e){var n=i.Fc();i.Ec(0,"app-banners-place-content",1),i.Qc("placeLoaded",(function(e){return i.nd(n),i.Uc().onPlaceLoaded(e)}))("actualBannerIdUpdated",(function(e){return i.nd(n),i.Uc().onActualBannerIdUpdated(e)})),i.Dc()}if(2&e){var r=i.Uc();i.bd("appScaledBox",r.aspectRatio)("loadingMode",r.loadingMode)("placeUrl",r.placeUrl)}}var l=function(){var e=function(){function e(t){_classCallCheck(this,e),this.bannersPlacesService=t,this.pageName=null,this.isWithoutMargin=!1,this.loadingMode="lazy",this.onDestroy$=new r.a,this.pPlaceLoaded$=new i.s(!0),this.pAspectRatio=null,this.pHasModel=!1,this.pIsCodePlace=!1,this.pPlaceUrl=null,this.pGaPlaceName=null,this.pActualBannerId=null}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.bannersPlacesService.onBannersPlacesChanged.pipe(Object(a.a)(this.onDestroy$),Object(o.a)((function(t){e.resetBannersPlace();var n=null!==e.pageName?e.pageName:t.pageName;if(e.pHasModel=t.bannersPlacesInfo.has(n)&&t.bannersPlacesInfo.get(n).has(e.placeName),e.pHasModel){var i=t.bannersPlacesInfo.get(n).get(e.placeName);e.pPlaceUrl=i.placeUrl,e.pGaPlaceName=i.gaPlaceName}else e.pPlaceLoaded$.emit({hasModel:!1,isCodePlace:!1})}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"onPlaceLoaded",value:function(e){this.pHasModel=e.hasModel,this.pIsCodePlace=e.isCodePlace,this.pHasModel||(this.pGaPlaceName=null,this.pActualBannerId=null),this.pPlaceLoaded$.emit(e)}},{key:"onActualBannerIdUpdated",value:function(e){this.pActualBannerId=e}},{key:"resetBannersPlace",value:function(){this.pHasModel=!1,this.pIsCodePlace=!1,this.pPlaceUrl=null,this.pGaPlaceName=null,this.pActualBannerId=null}},{key:"aspectRatio",set:function(e){this.pAspectRatio=null!==e?Number(e):null},get:function(){return this.pIsCodePlace?null:this.pAspectRatio}},{key:"placeLoaded",get:function(){return this.pPlaceLoaded$.asObservable()}},{key:"hasModel",get:function(){return this.pHasModel}},{key:"placeUrl",get:function(){return this.pPlaceUrl}},{key:"gaPlaceName",get:function(){return this.pGaPlaceName}},{key:"actualBannerId",get:function(){return this.pActualBannerId}},{key:"withoutMargin",get:function(){return this.isWithoutMargin}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(s.k))},e.\u0275cmp=i.sc({type:e,selectors:[["app-standalone-banners-place"]],hostVars:4,hostBindings:function(e,t){2&e&&(i.kc("data-place-name",t.gaPlaceName)("data-banner-id",t.actualBannerId),i.pc("mb-0",t.withoutMargin))},inputs:{pageName:"pageName",placeName:"placeName",isWithoutMargin:"isWithoutMargin",loadingMode:"loadingMode",aspectRatio:"aspectRatio"},outputs:{placeLoaded:"placeLoaded"},decls:1,vars:1,consts:[[3,"appScaledBox","loadingMode","placeUrl","placeLoaded","actualBannerIdUpdated",4,"ngIf"],[3,"appScaledBox","loadingMode","placeUrl","placeLoaded","actualBannerIdUpdated"]],template:function(e,t){1&e&&i.xd(0,c,1,3,"app-banners-place-content",0),2&e&&i.bd("ngIf",t.hasModel)},styles:["[_nghost-%COMP%]{display:block;margin-bottom:20px}"]}),e}()},Muja:function(e,t,n){"use strict";var i=n("EqEh");t.a=function(e,t){return Object(i.a)(e,t)}},NJ4a:function(e,t,n){"use strict";function i(e){setTimeout((function(){throw e}
1),0)}n.d(t,"a",(function(){return i}))},NXyV:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("HDdC"),r=n("Cfvw"),a=n("EY2u");function o(e){return new i.a((function(t){var n;try{n=e()}catch(i){return void t.error(i)}return(n?Object(r.a)(n):Object(a.b)()).subscribe(t)}))}},O4lx:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("ofXK"),r=n("fXoL"),a=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.document=n,this.injectedJsFiles=new Map,this.injectedJsCodes=new Map,this.renderer=t.createRenderer(null,null)}return _createClass(e,[{key:"injectJsFile",value:function(e){if("string"==typeof e&&(e={src:e}),this.injectedJsFiles.has(e.src))return this.injectedJsFiles.get(e.src);var t,n,i=this.document.getElementsByTagName("head");if(0===i.length)return Promise.reject("Can't find HEAD element in document");this.injectedJsFiles.set(e.src,new Promise((function(e,i){t=e,n=i})));var r=this.renderer.createElement("script");return r.onload=function(){t()},r.onerror=function(e){n(e)},r.async=!0,Object.keys(e).forEach((function(t){r.setAttribute(t,e[t])})),this.renderer.appendChild(i.item(0),r),this.injectedJsFiles.get(e.src)}},{key:"injectJsCode",value:function(e,t){if(!this.injectedJsCodes.has(e)){var n=this.document.getElementsByTagName("head");if(0===n.length)throw new Error("Can't find HEAD element in document");this.injectedJsCodes.set(e,!0);var i=this.renderer.createElement("script");this.renderer.setProperty(i,"innerHTML",t),this.renderer.appendChild(n.item(0),i)}}},{key:"reInjectJsScript",value:function(e){var t=this,n=this.renderer.createElement("script");e.getAttributeNames().forEach((function(i){t.renderer.setAttribute(n,i,e.getAttribute(i))})),e.innerHTML&&this.renderer.setProperty(n,"innerHTML",e.innerHTML);var i=this.renderer.parentNode(e);this.renderer.insertBefore(i,n,e),this.renderer.removeChild(i,e,!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Mc(r.M),r.Mc(i.e))},e.\u0275prov=r.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},OevD:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("fXoL"),r=n("jhN1"),a=function(){var e=function(){function e(t){_classCallCheck(this,e),this.sanitizer=t}return _createClass(e,[{key:"transform",value:function(e){return this.sanitizer.bypassSecurityTrustHtml(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(r.c))},e.\u0275pipe=i.xc({name:"safeHtml",type:e,pure:!0}),e}()},PGyc:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var i=n("LrWZ"),r=n("XNiG"),a=n("IzEk"),o=n("1G5W"),s=n("JX91"),c=n("vkgz"),l=n("GJzE"),u=n("fXoL"),d=n("b6Qw"),h=n("kBKH");function f(e,t){if(1&e){var n=u.Fc();u.Ec(0,"button",6),u.Qc("click",(function(){return u.nd(n),u.Uc(3).acceptConsent()})),u.zd(1," cookie-consent-popup-dismiss-label "),u.Dc()}}function p(e,t){1&e&&(u.Ec(0,"button",7),u.zd(1,"\u232a"),u.Dc())}function g(e,t){if(1&e){var n=u.Fc();u.Ec(0,"div",2),u.Qc("click",(function(){return u.nd(n),u.Uc(2).switchToFullView()})),u.Ec(1,"span"),u.zd(2),u.Vc(3,"translate"),u.Ec(4,"a",3),u.zd(5,"cookie-consent-popup-link-label"),u.Dc(),u.Dc(),u.xd(6,f,2,0,"button",4),u.xd(7,p,2,0,"button",5),u.Dc()}if(2&e){var i=u.Uc(2);u.pc("is-compact",i.isCompactView),u.jc(2),u.Bd("",u.Wc(3,6,"cookie-consent-popup-message")," "),u.jc(2),u.cd("href",i.sitePrivacyPolicyUrl,u.qd),u.jc(2),u.bd("ngIf",!i.isCompactView),u.jc(1),u.bd("ngIf",i.isCompactView)}}function v(e,t){if(1&e&&(u.Cc(0),u.xd(1,g,8,8,"div",1),u.Bc()),2&e){var n=u.Uc();u.jc(1),u.bd("ngIf",!n.isConsentAccepted)}}var m=function(){var e=function(){function e(t,n,i,a){_classCallCheck(this,e),this.cookiesService=t,this.siteConfigService=n,this.fastScrollService=i,this.elementRef=a,this.pIsConsentAccepted=!0,this.pIsFullView=!1,this.pScrollBottom=0,this.onDestroy$=new r.a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;if(this.siteConfigService.allConfig.pipe(Object(a.a)(1)).subscribe((function(t){null!==t.mainConfig.cookieConsentSettings&&(e.cookieConsentSettings=t.mainConfig.cookieConsentSettings,e.sitePrivacyPolicyUrl=t.oldUrls.sitePrivacyPolicy,e.pIsConsentAccepted=e.cookiesService.check(e.cookieConsentSettings.name))})),Object(l.Kb)()){var t=Object(l.Jb)();this.fastScrollService.scroll$.pipe(Object(o.a)(this.onDestroy$),Object(s.a)({top:t.scrollY,bottom:t.scrollY+t.innerHe
1ight}),Object(c.a)((function(t){e.pScrollBottom=t.bottom}))).subscribe()}}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"switchToFullView",value:function(){return this.pIsFullView=!0}},{key:"acceptConsent",value:function(){Object(i.a)(this.cookieConsentSettings)||(this.cookiesService.set(this.cookieConsentSettings.name,"dismiss",{path:this.cookieConsentSettings.path,domain:this.cookieConsentSettings.domain,expires:this.cookieConsentSettings.expiryDays,secure:this.cookieConsentSettings.secure}),this.pIsConsentAccepted=this.cookiesService.check(this.cookieConsentSettings.name))}},{key:"isCompactView",get:function(){return!this.pIsConsentAccepted&&!this.pIsFullView&&this.pScrollBottom<=this.elementRef.nativeElement.offsetTop-30}},{key:"isConsentAccepted",get:function(){return this.pIsConsentAccepted}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.yc(d.a),u.yc(h.c),u.yc(l.u),u.yc(u.q))},e.\u0275cmp=u.sc({type:e,selectors:[["app-cookie-consent-popup"]],decls:1,vars:0,consts:[[4,"appOnlyInBrowser"],["class","pop-out__container",3,"is-compact","click",4,"ngIf"],[1,"pop-out__container",3,"click"],["translate","",3,"href"],["type","button","class","pop-out__accept","translate","",3,"click",4,"ngIf"],["class","pop-out__toggle",4,"ngIf"],["type","button","translate","",1,"pop-out__accept",3,"click"],[1,"pop-out__toggle"]],template:function(e,t){1&e&&u.xd(0,v,2,1,"ng-container",0)},styles:[".pop-out__container[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;background-color:var(--green-primary);color:#fff;font-size:16px;line-height:24px;padding:16px 28px;box-sizing:border-box;z-index:10}.pop-out__container[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff;text-decoration:underline;white-space:nowrap}.pop-out__container[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{text-overflow:unset;overflow:unset;white-space:unset;width:calc(100% - 88px)}@media (min-width:768px){.pop-out__container[_ngcontent-%COMP%]{flex-direction:row;height:auto;align-items:center;-moz-column-gap:2em;column-gap:2em}}@media (min-width:1800px){.pop-out__container[_ngcontent-%COMP%]{padding:16px calc(50% - 892px)}}.pop-out__container.is-compact[_ngcontent-%COMP%]{padding-top:6px;height:40px;align-items:flex-start}.pop-out__container.is-compact[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:unset;max-width:1660px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.pop-out__toggle[_ngcontent-%COMP%]{position:absolute;bottom:-5px;left:50%;background-color:unset;border:unset;outline:unset;color:#fff;font-size:40px;transform:translateX(-50%) rotate(90deg);padding:unset;margin-left:0!important;margin-top:0}.pop-out__accept[_ngcontent-%COMP%]{background-color:var(--green-primary);color:#fff;padding:.4em .8em;border-radius:5px;text-align:center;border:2px solid #fff;box-sizing:border-box}@media (min-width:768px){.pop-out__accept[_ngcontent-%COMP%]{margin-top:unset}}@media (min-width:768px){.pop-out__text[_ngcontent-%COMP%]{max-width:72%}}.privacy__container[_ngcontent-%COMP%]{position:fixed;min-height:calc(100% - 160px);background-color:#fff;padding:0 10px;top:160px;bottom:0;overflow-y:scroll;z-index:2}@media (min-width:992px){.privacy__container[_ngcontent-%COMP%]{top:320px;min-height:calc(100% - 320px)}}@media (min-width:1600px){.privacy__container[_ngcontent-%COMP%]{padding:0 calc(50% - 790px)}}.privacy__detail[_ngcontent-%COMP%]{padding:40px 32px;margin-bottom:10px;line-height:1.6;font-size:18px;box-shadow:0 4px 15px rgba(0,0,0,.5)}"]}),e}()},PLBQ:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return a})),n.d(t,"h",(function(){return s})),n.d(t,"c",(function(){return l.a})),n.d(t,"f",(function(){return u.a})),n.d(t,"a",(function(){return v})),n.d(t,"d",(function(){return m})),n.d(t,"g",(function(){return b}));var i=n("ehPC"),r=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).width=e,a.id=r,a.pType=i.q.CurrencyInformer,a}return _createClass(n,[{key:"getComponent",value:function(){return l.a}}]),n}(i.c),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this,e,r,a)).width=e,s.height=r,s.pEmptyAction=a,s.id=o,s.pType=i.R.CurrencyInformer,s}return _createClass(n,[{key:"getComponent",value:function(){return u.a}}]),n}(i.i),o=function e(t,n,i){_classCallCheck(this,e),this.id=t,this.adapterName=n,this.widget=i};function s(e){return new o(e.id,e.adapterName,e.widget)}var c,l=n("VuEF"),u=n("d8+s"),d=n("LRne"),h=n("lJxs"),f=n("GJzE"),p=n("fXoL"),g=n("tk/3"),v=((c=function(){function e(t,n,i){_classCallCheck(this,e),this.http=t,this.transferStateService=n,this.siteApiHostInfo=i}return _createClass(e,[{key:"doCompoundRequest",value:function(e){var t,n,i={request:{}};if(e.currencyInformers.count>0){var r={template:"default",filter:{count:e.currencyInformers.count},fields:e.currencyInformers.fields.join()};e.currencyInformers.onlyForHomePage&&(r.filter.onlyForHomePage=!0),e.currencyInformers.exceptForHomePage&&(r.filter.exceptForHomePage=!0),(null===(t=e.selectedCurrencyInformers.selectedIds)||void 0===t?void 0:t.length)>0&&(r.filter.excludedIds=e.selectedCurrencyInformers.selectedIds),i.request.items=r}(null===(n=e.selectedCurrencyInformers.selectedIds)||void 0===n?void 0:n.length)>0&&(i.request.selectedItems={template:"selectedCurrencyRates",filter:{selectedIds:e.selectedCurrencyInformers.selectedIds},fields:e.selectedCurrencyInformers.fields.join()});var a=Object(f.Hb)(i),o=this.transferStateService.makeStateKey("compound-currency-informer-models-"+a);return this.transferStateService.hasKey(o)?Object(d.a)(this.buildCompoundResult(this.transferStateService.restoreData(o,null))):(Object.keys(i.request).length>0?this.http.get(this.siteApiHostInfo+"api3/currency-informers/compound",{params:a}):Object(d.a)({})).pipe(Object(f.Tb)(this.transferStateService,o),Object(h.a)(this.buildCompoundResult))}},{key:"doSimpleRequest",value:function(e){e.fields&&(e.expand=e.fields,delete e.fields);var t=Object(f.Hb)(e),n=this.transferStateService.makeStateKey("simple-currency-informer-models-"+t);return this.transferStateService.hasKey(n)?Object(d.a)(this.buildSimpleResult(this.transferStateService.restoreData(n,null))):this.http.get(this.siteApiHostInfo+"api3/currency-informers",{params:t}).pipe(Object(f.Tb)(this.transferStateService,n),Object(h.a)(this.buildSimpleResult))}},{key:"buildCompoundResult",value:function(e){var t;return e.items&&(e.items=Array.isArray(e.items)?e.items.map(s):new f.ob((t=e.items).currencyInformers.map(s),t._meta.currentPage,t._meta.pageCount,t._meta.perPage,t._meta.totalCount)),e.selectedItems&&Object.keys(e.selectedItems).forEac
1h((function(t){e.selectedItems[t]=s(e.selectedItems[t])})),e}},{key:"buildSimpleResult",value:function(e){return e.hasOwnProperty("_meta")?new f.ob(e.currencyInformers.map(s),e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount):(e=e.currencyInformers||[],Array.isArray(e)?e.map(s):(Object.keys(e).forEach((function(t){e[t]=s(e[t])})),e))}}]),e}()).\u0275fac=function(e){return new(e||c)(p.Mc(g.b),p.Mc(f.yb),p.Mc(f.hb))},c.\u0275prov=p.uc({token:c,factory:c.\u0275fac,providedIn:"root"}),c),m=new p.v("Currency informers service with simple items"),b=new p.v("Currency informers service with selected items")},PqYM:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("HDdC"),r=n("D0XW"),a=n("DH7j");function o(e){return!Object(a.a)(e)&&e-parseFloat(e)+1>=0}var s=n("z+Ro");function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=-1;return o(t)?a=Number(t)<1?1:Number(t):Object(s.a)(t)&&(n=t),Object(s.a)(n)||(n=r.a),new i.a((function(t){var i=o(e)?e:+e-n.now();return n.schedule(l,i,{index:0,period:a,subscriber:t})}))}function l(e){var t=e.index,n=e.period,i=e.subscriber;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}},QNIm:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("fXoL"),r=n("DKs6"),a=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.viewContainerRef=t,this.templateRef=n,this.deviceState=i}return _createClass(e,[{key:"ngOnInit",value:function(){this.deviceState.isServerApp?this.viewContainerRef.createEmbeddedView(this.templateRef):this.viewContainerRef.clear()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U),i.yc(r.a))},e.\u0275dir=i.tc({type:e,selectors:[["","appOnlyOnServer",""]]}),e}()},QPoD:function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var i=n("PqYM"),r=n("lJxs"),a=n("GQzd"),o=n("AytR"),s=n("fXoL"),c=n("GJzE");function l(e,t){if(1&e&&s.zc(0,"app-placeholder",5),2&e){var n=s.Uc();s.bd("width",n.card.width)("height",1)}}function u(e,t){if(1&e&&(s.Ec(0,"span",19),s.zd(1),s.Dc()),2&e){var n=s.Uc(3).singleNews;s.jc(1),s.Ad(n.label)}}function d(e,t){1&e&&(s.Tc(),s.Ec(0,"svg",20),s.zc(1,"use",21),s.Dc())}function h(e,t){1&e&&(s.Tc(),s.Ec(0,"svg",20),s.zc(1,"use",22),s.Dc())}function f(e,t){if(1&e&&(s.Ec(0,"div",16),s.xd(1,u,2,1,"span",17),s.xd(2,d,2,0,"svg",18),s.xd(3,h,2,0,"svg",18),s.Dc()),2&e){var n=s.Uc(2).singleNews;s.jc(1),s.bd("ngIf",n.label.length>0),s.jc(1),s.bd("ngIf",n.hasPictures),s.jc(1),s.bd("ngIf",n.hasVideo)}}function p(e,t){if(1&e&&(s.Cc(0),s.xd(1,f,4,3,"div",15),s.Bc()),2&e){var n=s.Uc().singleNews;s.jc(1),s.bd("ngIf",n.hasPictures||n.hasVideo||n.label.length>0)}}function g(e,t){1&e&&(s.Ec(0,"div",23),s.zd(1,"\u0415\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e \u0440\u043e\u0441\u0442 \u0447\u0438\u0441\u043b\u0430 \u043d\u043e\u0432\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043a\u043e\u0440\u043e\u043d\u0430\u0432\u0438\u0440\u0443\u0441\u0430 \u0432 \u0423\u043a\u0440\u0430\u0438\u043d\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0431\u043e\u043b\u0435\u0435 10%. "),s.Dc())}function v(e,t){if(1&e&&(s.Ec(0,"div",24),s.Ec(1,"a",25),s.Tc(),s.Ec(2,"svg",20),s.zc(3,"use",26),s.Dc(),s.Sc(),s.Ec(4,"span"),s.zd(5),s.Vc(6,"number"),s.Dc(),s.Dc(),s.Dc()),2&e){var n=s.Uc().singleNews;s.jc(1),s.dd("fragment","comments-",n.id,""),s.bd("appNewsUrl",n),s.jc(4),s.Ad(s.Wc(6,3,n.commentsCount))}}function m(e,t){if(1&e&&(s.Ec(0,"article",6),s.zc(1,"a",7),s.xd(2,p,2,1,"ng-container",8),s.Ec(3,"div",9),s.Ec(4,"div",10),s.Ec(5,"a",11),s.zd(6),s.Dc(),s.Dc(),s.xd(7,g,2,0,"ng-template"),s.Ec(8,"div",12),s.Ec(9,"div",13),s.zd(10),s.Dc(),s.xd(11,v,7,5,"div",14),s.Dc(),s.Dc(),s.Dc()),2&e){var n=t.singleNews;s.jc(1),s.bd("appNewsUrl",n)("lazyLoad",n.cardPosterUrl),s.jc(1),s.bd("ngIf",null!==n.cardPosterUrl),s.jc(3),s.cd("title",n.title),s.bd("appNewsUrl",n),s.jc(1),s.Ad(n.title),s.jc(4),s.Ad(n.friendlyPublishDate.join(", ")),s.jc(1),s.bd("ngIf",n.allowComment&&n.commentsCount>0)}}function b(e,t){if(1&e&&(s.Ec(0,"span",19),s.zd(1),s.Dc()),2&e){var n=s.Uc(3).singleNews;s.jc(1),s.Ad(n.label)}}function y(e,t){1&e&&(s.Tc(),s.Ec(0,"svg",20),s.zc(1,"use",21),s.Dc())}function C(e,t){1&e&&(s.Tc(),s.Ec(0,"svg",20),s.zc(1,"use",22),s.Dc())}function _(e,t){if(1&e&&(s.Ec(0,"div",16),s.xd(1,b,2,1,"span",17),s.xd(2,y,2,0,"svg",18),s.xd(3,C,2,0,"svg",18),s.Dc()),2&e){var n=s.Uc(2).singleNews;s.jc(1),s.bd("ngIf",n.label.length>0),s.jc(1),s.bd("ngIf",n.hasPictures),s.jc(1),s.bd("ngIf",n.hasVideo)}}function w(e,t){if(1&e&&(s.Cc(0),s.xd(1,_,4,3,"div",15),s.Bc()),2&e){var n=s.Uc().singleNews;s.jc(1),s.bd("ngIf",n.hasPictures||n.hasVideo||n.label.length>0)}}function k(e,t){if(1&e&&(s.Ec(0,"div",24),s.Ec(1,"a",25),s.Tc(),s.Ec(2,"svg",20),s.zc(3,"use",26),s.Dc(),s.Sc(),s.Ec(4,"span"),s.zd(5),s.Vc(6,"number"),s.Dc(),s.Dc(),s.Dc()),2&e){var n=s.Uc().singleNews;s.jc(1),s.dd("fragment","comments-",n.id,""),s.bd("appNewsUrl",n),s.jc(4),s.Ad(s.Wc(6,3,n.commentsCount))}}function x(e,t){if(1&e&&(s.Ec(0,"article",27),s.zc(1,"a",7),s.xd(2,w,2,1,"ng-container",8),s.Ec(3,"div",9),s.Ec(4,"div",10),s.Ec(5,"a",11),s.zd(6),s.Dc(),s.Dc(),s.Ec(7,"div",12),s.Ec(8,"div",13),s.zd(9),s.Dc(),s.xd(10,k,7,5,"div",14),s.Dc(),s.Dc(),s.Dc()),2&e){var n=t.singleNews;s.jc(1),s.bd("appNewsUrl",n)("lazyLoad",n.rectanglePosterUrl),s.jc(1),s.bd("ngIf",null!==n.cardPosterUrl),s.jc(3),s.cd("title",n.title),s.bd("appNewsUrl",n),s.jc(1),s.Ad(n.title),s.jc(3),s.Ad(n.friendlyPublishDate.join(", ")),s.jc(1),s.bd("ngIf",n.allowComment&&n.commentsCount>0)}}function O(e,t){if(1&e&&(s.Ec(0,"div",30),s.zd(1),s.Dc()),2&e){var n=s.Uc().singleNews;s.jc(1),s.Ad(n.label)}}function S(e,t){if(1&e&&(s.Ec(0,"div",24),s.Ec(1,"a",25),s.Tc(),s.Ec(2,"svg",20),s.zc(3,"use",26),s.Dc(),s.Sc(),s.Ec(4,"span"),s.zd(5),s.Vc(6,"number"),s.Dc(),s.Dc(),s.Dc()),2&e){var n=s.Uc().singleNews;s.jc(1),s.dd("fragment","comments-",n.id,""),s.bd("appNewsUrl",n),s.jc(4),s.Ad(s.Wc(6,3,n.commentsCount))}}function P(e,t){if(1&e&&(s.Ec(0,"article",28),s.Ec(1,"div",9),s.Ec(2,"div",10),s.Ec(3,"a",11),s.zd(4),s.Dc(),s.Dc(),s.Ec(5,"div",12),s.Ec(6,"div",13),s.xd(7,O,2,1,"div",29),s.zd(8),s.Dc(),s.xd(9,S,7,5,"div",14),s.Dc(),s.Dc(),s.Dc()),2&e){var n=t.singleNews;s.jc(3),s.cd("title",n.title),s.bd("appNewsUrl",n),s.jc(1),s.Ad(n.title),s.jc(3),s.bd("ngIf",n.label.length>0),s.jc(1),s.Bd(" ",n.friendlyPublishDate.join(", ")," "),s.jc(1),s.bd("ngIf",n.allowComment&&n.commentsCount>0)}}var E=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).newsService=i,a.selectedNewsService=r,a}return _createClass(n,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this)}},{key:"getModels",value:function(){if(null===this.newsService||null===this.selectedNewsService)throw new Error("News services must be injected");return null!==this.card.id?this.selectedNewsService.getSelectedNews(this.card.id):this.newsService.getFillCard(this.card,this.card.onlyNonCommercialNews).pipe(Object(r.a)((function(e){return null!==e?e[0]:null})))}},{key:"renderCard",value:function(e){var t=this;this.models=e;var n=function(){if(t.insertPoint.clear(),Array.isArray(t.models)){if(1!==t.models.length)return void t.models.forEac
1h((function(e){t.insertPoint.createEmbeddedView(t.singleNewsTemplate,{singleNews:e})}));t.models=t.models[0]}var e=t.models;t.insertPoint.createEmbeddedView(null!==(2===t.card.width?e.cardPosterUrl:e.rectanglePosterUrl)?2===t.card.width?t.doubleNewsTemplate:t.halfNewsTemplate:t.singleNewsTemplate,{singleNews:e})};o.a.useLoadingDelay?Object(i.a)(1500).subscribe(n):n()}}]),n}(a.b);return e.\u0275fac=function(t){return new(t||e)(s.yc(c.fb),s.yc(a.j,8),s.yc(a.s,8))},e.\u0275cmp=s.sc({type:e,selectors:[["app-shared-simple-news"]],features:[s.gc],decls:10,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["doubleNews",""],["halfNews",""],["simpleNews",""],[3,"width","height"],[1,"article-card","article-card--double"],[1,"article-card__poster",3,"appNewsUrl","lazyLoad"],[4,"ngIf"],[1,"article-card__content"],[1,"article-card__title"],[3,"appNewsUrl","title"],[1,"article-card__info"],[1,"article-card__date"],["class","card-actions",4,"ngIf"],["class","article-card__subinfo",4,"ngIf"],[1,"article-card__subinfo"],["class","article-card__subinfo--toaster",4,"ngIf"],["width","20","height","20",4,"ngIf"],[1,"article-card__subinfo--toaster"],["width","20","height","20"],[0,"xlink","href","#icon-photo"],[0,"xlink","href","#icon-video"],[1,"article-card__subtitle"],[1,"card-actions"],[1,"card-actions__item",3,"appNewsUrl","fragment"],[0,"xlink","href","#icon-comment"],[1,"article-card","article-card--half"],[1,"article-card","article-card--simple"],["class","article-card__date--toaster",4,"ngIf"],[1,"article-card__date--toaster"]],template:function(e,t){1&e&&(s.Ac(0,null,0),s.xd(2,l,1,2,"app-placeholder",1),s.Vc(3,"async"),s.xd(4,m,12,8,"ng-template",null,2,s.yd),s.xd(6,x,11,8,"ng-template",null,3,s.yd),s.xd(8,P,10,6,"ng-template",null,4,s.yd)),2&e&&(s.jc(2),s.bd("ngIf",!s.Wc(3,1,t.isComponentLoaded$)))},styles:['.article-card[_ngcontent-%COMP%]{position:relative;margin:0 -8px;overflow:hidden;border-bottom:1px solid rgba(50,50,50,.15)}.article-card__poster[_ngcontent-%COMP%]{display:block;background-position:50%;background-size:cover;background-color:#e6e6e6}.article-card__poster[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%}.article-card__subinfo[_ngcontent-%COMP%]{display:block;position:absolute;max-width:calc(100% - 16px);top:12px;left:0}.article-card__subinfo--toaster[_ngcontent-%COMP%]{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-left:16px;border:1px solid #fff;padding:3px 6px;color:#fff;font-size:14px;line-height:16px}.article-card__subinfo[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:12px;fill:#fff}.article-card__title[_ngcontent-%COMP%]{font-size:24px}.article-card__info[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:15px;color:rgba(50,50,50,.35)}.article-card__date--toaster[_ngcontent-%COMP%]{width:-webkit-fit-content;width:fit-content;width:-moz-fit-content;border:1px solid var(--green-primary);padding:2px 6px;margin-bottom:8px;color:var(--green-primary);font-size:14px;position:relative;top:1px;line-height:14px;text-transform:uppercase}.article-card--in-feed[_ngcontent-%COMP%]{padding:16px 24px}.article-card--double[_ngcontent-%COMP%]{padding-bottom:137.2%;color:#fff}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.article-card--double[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;padding:16px}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{line-height:1;font-size:30px;font-weight:700}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{margin-top:16px;font-size:18px}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.35)}.article-card--double[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:hsla(0,0%,100%,.35)}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:relative;padding-bottom:47.6%}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(180deg,rgba(0,0,0,.4) 30%,transparent)}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:16px 24px}@media (min-width:1024px){.article-card[_ngcontent-%COMP%]{margin:0 0 24px;border-bottom:0}.article-card__title[_ngcontent-%COMP%]{font-size:21px}.article-card__info[_ngcontent-%COMP%]{font-size:14px}.article-card--in-feed[_ngcontent-%COMP%]{padding:0}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{order:-1;margin-top:4px;margin-right:10px;color:var(--green-primary)}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:none}.article-card--double[_ngcontent-%COMP%]{padding-bottom:45.12%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.3) 19.55%,rgba(0,0,0,.2) 33.1%,rgba(0,0,0,.2) 50.8
1%,rgba(0,0,0,.37) 64.35%,rgba(0,0,0,.7))}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%], .article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{display:none}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:12px 16px}}@media (min-width:1200px){.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{font-size:36px}}.card-actions[_ngcontent-%COMP%]{display:flex;margin-left:20px}.card-actions__item[_ngcontent-%COMP%]{color:inherit}.card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;fill:var(--green-primary)}.card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:4px;vertical-align:middle;color:inherit}']}),e}()},QauM:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("GJzE"),r=n("fXoL"),a=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.insertPoint=t,this.templateRef=n,this.placeholderComponent=r.resolveComponentFactory(i.X)}return _createClass(e,[{key:"ngOnChanges",value:function(e){if(e.appLoadingPlaceholder)if(this.insertPoint.clear(),this.isDone)this.insertPoint.createEmbeddedView(this.templateRef);else{var t=this.insertPoint.createComponent(this.placeholderComponent);t.instance.width=this.appLoadingPlaceholderWidth,t.instance.height=this.appLoadingPlaceholderHeight}}},{key:"appLoadingPlaceholder",set:function(e){this.isDone=Boolean(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.yc(r.X),r.yc(r.U),r.yc(r.n))},e.\u0275dir=r.tc({type:e,selectors:[["","appLoadingPlaceholder",""]],inputs:{appLoadingPlaceholderWidth:"appLoadingPlaceholderWidth",appLoadingPlaceholderHeight:"appLoadingPlaceholderHeight",appLoadingPlaceholder:"appLoadingPlaceholder"},features:[r.hc]}),e}()},Rhl8:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=function e(t,n,i,r,a){_classCallCheck(this,e),this.id=t,this.publishName=n,this.publishPost=i,this.authorUrl=r,this.avatarUrl=a};function r(e){var t=new i;return Object.assign(t,e),t}},SLGL:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var i=n("fXoL"),r=n("XNiG"),a=n("itXk"),o=n("VRyK"),s=n("HDdC"),c=n("/uUt"),l=n("1G5W"),u=n("lJxs"),d=n("vkgz"),h=n("IzEk"),f=n("Gi4w"),p=n("ehPC"),g=n("GJzE"),v=["insertPoint"];function m(e,t){}var b=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,a,o,s,c){var l;return _classCallCheck(this,n),(l=t.call(this,e,i)).componentFactoryResolver=a,l.deviceState=o,l.cardsFactory=s,l.emptyCardProcessorsFactory=c,l.hostClasses="row",l.cardComponents=[],l.onDestroy$=new r.a,l}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.insertPoint.clear(),this.cardComponents=[],this.widget.cards.filter(this.canRenderCard,this).forEach((function(t,n){var i=e.componentFactoryResolver.resolveComponentFactory(e.insertPoint.injector.get(t.getComponent(),t.getComponent())),r=e.insertPoint.createComponent(i);e.setUpCardInstance(r,t,n),e.cardComponents.push(r.instance)})),this.cardComponents.length>0?Object(a.a)(_toConsumableArray2(this.cardComponents.map((function(e){return e.isComponentLoaded$.pipe(Object(c.a)())})))).pipe(Object(l.a)(this.onDestroy$),Object(u.a)((function(e){return e.every((function(e){return e}))})),Object(c.a)(),Object(d.a)((function(t){e.isLoaded$.next(t)}))).subscribe():this.emitComponentLoaded(),Object(o.a).apply(void 0,_toConsumableArray2(this.cardComponents.map((function(e){return e.isComponentHasData$.pipe(Object(h.a)(1))})))).pipe(Object(f.a)((function(e){return!e}))).subscribe((function(t){t?e.emitEmptyData():e.emitHasData()}))}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"processEmptyCard",value:function(e,t){var n=this,i=null!==this.emptyCardProcessorsFactory?this.emptyCardProcessorsFactory.getSubstituteProcessor(e):null;if(null===i){var r=this.insertPoint.indexOf(t);-1!==r&&(this.insertPoint.remove(r),this.cardComponents.splice(r,1))}else{var a=function(e){var t;-1!==e.index&&(t=n.cardComponents).splice.apply(t,[e.index,1].concat(_toConsumableArray2(e.newCardsComponents.map((function(e){return e.instance})))))},o=i.getComponentReplaceCallback()(this.injector,this,this.insertPoint,t);o instanceof s.a?o.pipe(Object(h.a)(1)).subscribe(a):a(o)}}},{key:"setUpCardInstance",value:function(e,t,n){var i=e.instance;
1i.card=t,i.parentContainer=this,i.containerRef=e}},{key:"canRenderCard",value:function(e){return this.deviceState.isBrowserApp&&e.isRenderedInBrowserApp||this.deviceState.isServerApp&&e.isRenderedInServerApp}}]),n}(p.j);return e.\u0275fac=function(t){return new(t||e)(i.yc(p.A,8),i.yc(i.w),i.yc(i.n),i.yc(g.t),i.yc(p.p),i.yc(p.z,8))},e.\u0275cmp=i.sc({type:e,selectors:[["app-cards-container"]],viewQuery:function(e,t){var n;1&e&&i.ud(v,!0,i.X),2&e&&i.jd(n=i.Rc())&&(t.insertPoint=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&i.lc(t.hostClasses)},features:[i.gc],decls:2,vars:0,consts:[["insertPoint",""]],template:function(e,t){1&e&&i.xd(0,m,0,0,"ng-template",null,0,i.yd)},encapsulation:2}),e}()},SPLc:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var i=n("XNiG"),r=n("VRyK"),a=n("xgIS"),o=n("/uUt"),s=n("pLZG"),c=n("vkgz"),l=n("1G5W"),u=n("eIep"),d=n("IzEk"),h=n("lJxs"),f=n("y96F"),p=n("GJzE"),g=n("fXoL"),v=n("sYmb");function m(e,t){1&e&&(g.Ec(0,"h3",6),g.zd(1," model-comments-title"),g.Dc())}function b(e,t){if(1&e){var n=g.Fc();g.Ec(0,"app-comment-form",7),g.Qc("commentCreated",(function(e){return g.nd(n),g.Uc(2).addNewComment(e)}))("errorOccurred",(function(e){return g.nd(n),g.Uc(2).updateServerErrors(e)})),g.Dc()}if(2&e){var i=g.Uc(2);g.bd("pageId",i.pageId)}}function y(e,t){if(1&e&&(g.Ec(0,"p"),g.zd(1),g.Dc()),2&e){var n=g.Uc().$implicit;g.jc(1),g.Ad(n)}}function C(e,t){if(1&e&&(g.Ec(0,"div"),g.xd(1,y,2,1,"p",5),g.Dc()),2&e){var n=t.$implicit;g.jc(1),g.bd("ngIf",n)}}function _(e,t){if(1&e){var n=g.Fc();g.Cc(0),g.Ec(1,"div",8),g.Ec(2,"app-comments-list",9),g.Qc("click",(function(e){return g.nd(n),g.Uc(3).getFullCommentsList(e)})),g.Ec(3,"div",10),g.Ec(4,"div",11),g.zd(5,"model-comments-sort-title"),g.Dc(),g.Ec(6,"span",12),g.Qc("click",(function(e){return g.nd(n),g.Uc(3).getFullCommentsList(e,"oldestFirst")})),g.zd(7,"model-comments-sort-oldest-first-label "),g.Dc(),g.Ec(8,"span",13),g.Qc("click",(function(e){return g.nd(n),g.Uc(3).getFullCommentsList(e,"newestFirst")})),g.zd(9,"model-comments-sort-newest-first-label "),g.Dc(),g.Dc(),g.zc(10,"div",14),g.Dc(),g.Dc(),g.Ec(11,"div",15),g.Ec(12,"button",16),g.Qc("click",(function(e){return g.nd(n),g.Uc(3).getFullCommentsList(e)})),g.Ec(13,"span"),g.zd(14),g.Dc(),g.Dc(),g.Dc(),g.Bc()}if(2&e){var i=g.Uc(3);g.jc(2),g.bd("models",i.models)("pageId",i.pageId)("isAllowComment",i.isAllowComment)("isInPreviewMode",!0),g.jc(12),g.Ad(i.commentCountLabel)}}function w(e,t){if(1&e){var n=g.Fc();g.Ec(0,"div"),g.Ec(1,"app-comments-list",17),g.Ec(2,"div",18),g.Ec(3,"div",11),g.zd(4,"model-comments-sort-title"),g.Dc(),g.Ec(5,"span",13),g.Qc("click",(function(e){return g.nd(n),g.Uc(3).onSortClick(e,"oldestFirst")})),g.zd(6,"model-comments-sort-oldest-first-label "),g.Dc(),g.Ec(7,"span",13),g.Qc("click",(function(e){return g.nd(n),g.Uc(3).onSortClick(e,"newestFirst")})),g.zd(8,"model-comments-sort-newest-first-label "),g.Dc(),g.Dc(),g.Dc(),g.Dc()}if(2&e){var i=g.Uc(3);g.jc(1),g.bd("models",i.models)("pageId",i.pageId)("isAllowComment",i.isAllowComment)("isInPreviewMode",!1),g.jc(4),g.pc("comments-sort__type--active",i.isOldestCommentsFirst),g.jc(2),g.pc("comments-sort__type--active",i.isNewestCommentsFirst)}}function k(e,t){if(1&e&&(g.Cc(0),g.xd(1,_,15,5,"ng-container",5),g.xd(2,w,9,8,"div",5),g.Bc()),2&e){var n=g.Uc(2);g.jc(1),g.bd("ngIf",n.isInPreviewMode),g.jc(1),g.bd("ngIf",!n.isInPreviewMode)}}function x(e,t){if(1&e&&(g.Ec(0,"div",1),g.xd(1,m,2,0,"h3",2),g.xd(2,b,1,1,"app-comment-form",3),g.xd(3,C,2,1,"div",4),g.xd(4,k,3,2,"ng-container",5),g.Dc()),2&e){var n=g.Uc();g.jc(1),g.bd("ngIf",n.isAllowComment||null!==n.models&&n.models.length>0),g.jc(1),g.bd("ngIf",n.isAllowComment),g.jc(1),g.bd("ngForOf",n.errorMessages),g.jc(1),g.bd("ngIf",null!==n.models&&n.models.length>0)}}var O=function(){var e=function(){function e(t,n,r,a,o){_classCallCheck(this,e),this.listCommentsService=t,this.localStorageService=n,this.authService=r,this.translateService=a,this.elementRef=o,this.errorMessages=[],this.isInPreviewMode=!0,this.onDestroy$=new i.a,this.sortType$=new i.a,this.newCommentsBuffer=[],this.shadowSortType=this.getSortType()}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.isInPreviewMode=null!==this.models&&this.models.length>0,Object(r.a)(this.authService.userModel.pipe(Object(o.a)(),Object(s.a)((function(){return!e.isInPreviewMode}))),this.sortType$.pipe(Object(o.a)(),Object(c.a)((function(t){e.setSortType(t)})))).pipe(Object(l.a)(this.onDestroy$),Object(u.a)((function(){return e.refreshCommentsList(e.getSortType()).pipe(Object(c.a)((function(){e.shadowSortType=e.getSortType()})))}))).subscribe((function(){e.isInPreviewMode=!1,e.newCommentsBuffer.length>0&&(e.models=e.appendNewCommentsToModels(e.newCommentsBuffer,e.models),e.newCommentsBuffer=[])})),Object(a.a)(this.elementRef.nativeElement,"commentDeleted").pipe(Object(l.a)(this.onDestroy$),Object(o.a)(),Object(u.a)((function(){return e.refreshCommentsList(e.getSortType())}))).subscribe(),Object(a.a)(this.elementRef.nativeElement,"commentErrors").pipe(Object(l.a)(this.onDestroy$),Object(o.a)(),Object(c.a)((function(t){return e.updateServerErrors(t.detail.errors)}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"updateServerErrors",value:function(e){this.errorMessages=e}},{key:"addNewComment",value:function(e){this.isInPreviewMode?(e.isModerated||this.newCommentsBuffer.push(e),++this.commentsCount):this.models=this.appendNewCommentsToModels(e,this.models)}},{key:"getFullCommentsList",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e.preventDefault(),e.stopPropagation(),this.sortType$.next(null!==t?t:this.getSortType())}},{key:"onSortClick",value:function(e,t){this.getFullCommentsList(e,t)}},{key:"appendNewCommentsToModels",value:function(e,t){Array.isArray(e)||(e=[e]);var n=this.getSortType();switch(n){case"newestFirst":return[].concat(_toConsumableArray2(e.reverse()),_toConsumableArray2(t));case"oldestFirst":return[].concat(_toConsumableArray2(t),_toConsumableArray2(e));default:throw new Error("Unknown comments sort type: "+n)}}},{key:"getSortType",value:function(){var t=this.localStorageService.localStorage.getItem(e.SORT_TYPE_KEY);return null!==t?t:"oldestFirst"}},{key:"setSortType",value:function(t){null===t?this.localStorageService.localStorage.removeItem(e.SORT_TYPE_KEY):this.localStorageService.localStorage.setItem(e.SORT_TYPE_KEY,t)}},{key:"refreshCommentsList",value:function(e){var t=this;return this.listCommentsService.listComments(this.pageId,{sort:e,pagination:{page:1,perPage:0},fields:["content","userName","isUserLiked","isUserDisliked","likesCount","dislikesCount","avatarUrl","friendlyPublishDate","isAnonymous","isModerated","childrenTree","canBeDeleted"]}).pipe(Object(d.a)(1),Object(h.a)((function(e){return Object(p.Ob)(e)?e.models:e})),Object(c.a)((function(e){t.models=e})))}},{key:"commentCountLabel",get:function(){return this.translateService.instant("model-comments-show-all-label",{commentsCount:this.commentsCount})}},{key:"isNewestCommentsFirst",get:function(){return"newestFirst"===this.shadowSortType}},{key:"isOldestCommentsFirst",get:function(){return"oldestFirst"===this.shadowSortType}}]),e}();return e.SORT_TYPE_KEY="commentsSort",e.\u0275fac=function(t){return new(t||e)(g.yc(f.m),g.yc(p.E),g.yc(p.f),g.yc(v.e),g.yc(g.q))},e.\u0275cmp=g.sc({type:e,selectors:[["app-comments"]],inputs:{pageId:"pageId",commentsCount:"commentsCount",models:"models",isAllowComment:"isAllowComment",isAllowShowCommentsList:"isAllowShowCommentsList"},decls:1,vars:1,consts:[["class","comments-section",4,"ngIf"],[1,"comments-section"],["class","comments-section__title","translate","",4,"ngIf"],[3,"pageId","commentCreated","errorOccurred",4,"ngIf"],[4,"ngFor","ngForOf"],[4,"ngIf"],["translate","",1,"comments-section__title"],[3,"pageId","commentCreated","errorOccurred"],[2,"position","relative"],[3,"models","pageId","isAllowComment","isInPreviewMode","click"],[1,"comments-sort"],["translate","",1,"comments-sort__title"],["translate","",1,"comments-sort__type","comments-sort__type--active",3,"click"],["translate","",1,"comments-sort__type",3,"click"],[1,"comments-section__bottom-white-gradient"],[1,"comments-section__more-comments-btn"],[1,"btn","btn--outline-black",3,"click"],[3,"models","pageId","isAllowComment","isInPreviewMode"],[1,"comments-section__sort","comments-sort"]],template:function(e,t){1&e&&g.xd(0,x,5,4,"div",0),2&e&&g.bd("ngIf",t.isAllowShowCommentsList)},styles:['.comments-section__title[_ngcontent-%COMP%]{font-size:21px;font-weight:700}.comments-section__more-comments-btn[_ngcontent-%COMP%]{text-align:center}
1.comments-section__bottom-white-gradient[_ngcontent-%COMP%]{height:30%;background:linear-gradient(hsla(0,0%,100%,0),#fff);width:100%;position:absolute;bottom:0}.comments-sort[_ngcontent-%COMP%]{display:flex;align-items:center;margin:24px 0;font-size:16px}.comments-sort__title[_ngcontent-%COMP%]{font-weight:700}.comments-sort__type[_ngcontent-%COMP%]{margin-left:12px;padding:2px;border:1px solid transparent;border-radius:5px}.comments-sort__type--active[_ngcontent-%COMP%]{color:var(--green-primary);border-color:var(--green-primary)}.comments-sort__type[_ngcontent-%COMP%]:hover{cursor:pointer}@media (min-width:1024px){.comments-sort__type[_ngcontent-%COMP%]{padding:0;color:rgba(50,50,50,.35);border:0}.comments-sort__type[_ngcontent-%COMP%]:last-child{margin-left:0}.comments-sort__type[_ngcontent-%COMP%]:last-child:before{margin:0 12px;content:"|";color:rgba(50,50,50,.35)}.comments-sort__type--active[_ngcontent-%COMP%]{color:var(--green-primary);border-color:transparent}}']}),e}()},SeVD:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("ngJS"),r=n("NJ4a"),a=n("Lhse"),o=n("kJWO"),s=n("I55L"),c=n("c2HN"),l=n("XoHu"),u=function(e){if(e&&"function"==typeof e[o.a])return u=e,function(e){var t=u[o.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(s.a)(e))return Object(i.a)(e);if(Object(c.a)(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,r.a),e};if(e&&"function"==typeof e[a.a])return t=e,function(e){for(var n=t[a.a]();;){var i=n.next();if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,u,d=Object(l.a)(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(d," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},SpAZ:function(e,t,n){"use strict";function i(e){return e}n.d(t,"a",(function(){return i}))},SxV6:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("sVev"),r=n("pLZG"),a=n("IzEk"),o=n("xbPD"),s=n("XDbj"),c=n("SpAZ");function l(e,t){var n=arguments.length>=2;return function(l){return l.pipe(e?Object(r.a)((function(t,n){return e(t,n,l)})):c.a,Object(a.a)(1),n?Object(o.a)(t):Object(s.a)((function(){return new i.a})))}}},TFwu:function(e,t,n){"use strict";var i=n("25cm"),r=n("jN84"),a=n("mkut");t.a=function(e){return Object(i.a)(e,a.a,r.a)}},"Tj+J":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("GJzE"),r=n("fXoL");function a(e,t){if(1&e){var n=r.Fc();r.Ec(0,"div",1),r.zc(1,"div",2),r.Ec(2,"div",3),r.Ec(3,"button",4),r.Qc("click",(function(){return r.nd(n),r.Uc().close()})),r.zd(4,"\xd7"),r.Dc(),r.Ec(5,"app-standalone-banners-place",5),r.Qc("placeLoaded",(function(e){return r.nd(n),r.Uc().onPlaceLoaded(e)})),r.Dc(),r.Dc(),r.Dc()}if(2&e){var i=r.Uc();r.pc("is-visible",i.isShown),r.jc(5),r.bd("aspectRatio",i.aspectRatio)("loadingMode",null)("pageName",i.pageName)("placeName",i.placeName)}}var o=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).pageName="site",e.placeName="Popup on mobile devices",e.pAspectRatio=163,e}return _createClass(n,[{key:"isNeedToShow",value:function(e,t){return e||t}}]),n}(i.Y);return e.\u0275fac=function(t){return s(t||e)},e.\u0275cmp=r.sc({type:e,selectors:[["app-main-page-popup-banners-place"]],inputs:{pageName:"pageName",placeName:"placeName"},features:[r.gc],decls:1,vars:1,consts:[["class","popup-banner",3,"is-visible",4,"ngIf"],[1,"popup-banner"],[1,"popup-banner__overlay"],[1,"popup-banner__content"],["type","button",1,"popup-banner__close",3,"click"],[3,"aspectRatio","loadingMode","pageName","placeName","placeLoaded"]],template:function(e,t){1&e&&r.xd(0,a,6,6,"div",0),2&e&&r.bd("ngIf",t.canBeShown)},styles:[".popup-banner[_ngcontent-%COMP%]{display:none;position:fixed;z-index:70;top:0;left:0;width:100%;height:100%}.popup-banner.is-visible[_ngcontent-%COMP%]{display:block}.popup-banner__overlay[_ngcontent-%COMP%]{width:100%;height:100%;background-color:rgba(50,50,50,.35)}.popup-banner__content[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;padding:16px 0;text-align:center}.popup-banner__content[_ngcontent-%COMP%]   .popup-banner__close[_ngcontent-%COMP%]{padding:0;position:absolute;z-index:10;top:5px;right:5px;width:48px;height:48px;text-align:center;border:0;border-radius:50%;background-color:hsla(0,0%,100%,.95);color:rgba(50,50,50,.35);font-size:36px}"]}),e}(),s=r.Gc(o)},U6JX:function(e,t,n){"use strict";t.a=function(e,t){return function(n){return e(t(n))}}},U7oc:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var i=n("fXoL"),r=n("PqYM"),a=n("ehPC"),o=n("AytR"),s=n("ofXK"),c=n("pI7v"),l=n("wf0l"),u=["insertPoint"],d=["fullFill"],h=["withoutPoster"];function f(e,t){if(1&e&&i.zc(0,"app-placeholder",4),2&e){var n=i.Uc();i.bd("width",n.widget.width)("height",n.widget.height)}}function p(e,t){if(1&e&&(i.Ec(0,"div",10),i.Ec(1,"span",11),i.zd(2),i.Dc(),i.Dc()),2&e){var n=i.Uc(2);i.jc(2),i.Ad(n.widget.label)}}function g(e,t){if(1&e&&(i.Ec(0,"a",12),i.zd(1),i.Dc()),2&e){var n=t.$implicit;i.cd("href",n.url,i.qd),i.cd("title",n.label),i.kc("rel",n.rel),i.jc(1),i.Bd(" ",n.label," ")}}function v(e,t){if(1&e&&(i.Ec(0,"article",5),i.zc(1,"a",6),i.xd(2,p,3,1,"div",7),i.Ec(3,"div",8),i.xd(4,g,2,4,"a",9),i.Dc(),i.Dc()),2&e){var n=i.Uc();i.jc(1),i.bd("lazyLoad",n.posterImageUrl),i.kc("href",n.posterLinkUrl,i.qd)("rel",n.posterLinkRel),i.jc(1),i.bd("ngIf",n.hasLabel),i.jc(2),i.bd("ngForOf",n.customLinks)}}function m(e,t){if(1&e&&(i.Ec(0,"div",10),i.Ec(1,"span",11),i.zd(2),i.Dc(),i.Dc()),2&e){var n=i.Uc(2);i.jc(2),i.Ad(n.widget.label)}}function b(e,t){if(1&e&&(i.Ec(0,"a",12),i.zd(1),i.Dc()),2&e){var n=t.$implicit;i.cd("href",n.url,i.qd),i.cd("title",n.label),i.kc("rel",n.rel),i.jc(1),i.Bd(" ",n.label," ")}}function y(e,t){if(1&e&&(i.Ec(0,"article",13),i.xd(1,m,3,1,"div",7),i.Ec(2,"div",8),i.xd(3,b,2,4,"a",9),i.Dc(),i.Dc()),2&e){var n=i.Uc();i.jc(1),i.bd("ngIf",n.hasLabel),i.jc(2),i.bd("ngForOf",n.customLinks)}}var C=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,r.injector=i,r.needInstantSubstitute=!1,r.pAspectRatio=null,r.pPosterImageUrl=null,r.pPosterLinkUrl=null,r.pPosterLinkRel=null,r.pHasLabel=!1,r.pCustomLinks=[],r}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.pAspectRatio="".concat(this.widget.width,"/").concat(.75*this.widget.height),this.pPosterImageUrl=this.widget.posterUrl,1===this.widget.links.length&&(this.pPosterLinkUrl=this.widget.links[0].url,this.pPosterLinkRel=this.widget.links[0].noFollow?"
1nofollow":null),this.pHasLabel=null!==this.widget.label,this.pCustomLinks=this.widget.links.map((function(e){return{url:e.url,label:e.label,rel:e.noFollow?"nofollow":null}}));var t=function(){e.emitHasData(),e.emitComponentLoaded(),e.insertPoint.clear(),e.insertPoint.createEmbeddedView(a.y.WithoutPoster===e.widget.posterType?e.withoutPosterTemplate:e.fullFillTemplate)};o.a.useLoadingDelay?Object(r.a)(1500).subscribe(t):t()}},{key:"aspectRatio",get:function(){return this.pAspectRatio}},{key:"posterImageUrl",get:function(){return this.pPosterImageUrl}},{key:"posterLinkUrl",get:function(){return this.pPosterLinkUrl}},{key:"posterLinkRel",get:function(){return this.pPosterLinkRel}},{key:"hasLabel",get:function(){return this.pHasLabel}},{key:"customLinks",get:function(){return this.pCustomLinks}}]),n}(a.j);return e.\u0275fac=function(t){return new(t||e)(i.yc(a.A,8),i.yc(i.w))},e.\u0275cmp=i.sc({type:e,selectors:[["app-custom-widget"]],viewQuery:function(e,t){var n;1&e&&(i.ud(u,!0,i.X),i.ud(d,!0),i.ud(h,!0)),2&e&&(i.jd(n=i.Rc())&&(t.insertPoint=n.first),i.jd(n=i.Rc())&&(t.fullFillTemplate=n.first),i.jd(n=i.Rc())&&(t.withoutPosterTemplate=n.first))},hostVars:2,hostBindings:function(e,t){2&e&&i.wd("aspect-ratio",t.aspectRatio)},features:[i.gc],decls:8,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["fullFill",""],["withoutPoster",""],[3,"width","height"],[1,"custom-widget","custom-widget--full"],[1,"custom-widget__poster",3,"lazyLoad"],["class","custom-widget__info",4,"ngIf"],[1,"custom-widget__content"],[3,"href","title",4,"ngFor","ngForOf"],[1,"custom-widget__info"],[1,"custom-widget__info--toaster"],[3,"href","title"],[1,"custom-widget","custom-widget--simple"]],template:function(e,t){1&e&&(i.Ac(0,null,0),i.xd(2,f,1,2,"app-placeholder",1),i.Vc(3,"async"),i.xd(4,v,5,5,"ng-template",null,2,i.yd),i.xd(6,y,4,2,"ng-template",null,3,i.yd)),2&e&&(i.jc(2),i.bd("ngIf",!i.Wc(3,1,t.isComponentLoaded$)))},directives:[s.u,c.a,l.a,s.t],pipes:[s.b],styles:['[_nghost-%COMP%]{display:block;padding-bottom:24px}@media (max-width:1024px){[_nghost-%COMP%]{padding-bottom:15px;aspect-ratio:100/75!important}}.custom-widget[_ngcontent-%COMP%]{position:relative;overflow:hidden;height:100%;border-bottom:1px solid rgba(50,50,50,.15)}.custom-widget__poster[_ngcontent-%COMP%]{background-position:50%;background-size:cover;background-color:#e6e6e6}.custom-widget__poster[_ngcontent-%COMP%], .custom-widget__poster[_ngcontent-%COMP%]:after{display:block;position:absolute;top:0;left:0;width:100%;height:100%}.custom-widget__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.custom-widget__content[_ngcontent-%COMP%]{width:100%;position:absolute;bottom:0;left:0;padding:16px 24px}.custom-widget__content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{width:100%;margin-top:8px;display:inline;font-size:xx-small}.custom-widget__info[_ngcontent-%COMP%]{display:block;position:absolute;top:12px;left:0}.custom-widget__info--toaster[_ngcontent-%COMP%]{margin-left:16px;border:1px solid #fff;padding:3px 6px;color:#fff;font-size:14px;font-weight:700;line-height:16px}.custom-widget--full[_ngcontent-%COMP%]   .custom-widget__content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:700;color:#fff}.custom-widget--simple[_ngcontent-%COMP%]   .custom-widget__info--toaster[_ngcontent-%COMP%]{color:#323232;border-color:#323232}@media (min-width:1024px){.custom-widget[_ngcontent-%COMP%]{border-bottom:0}.custom-widget__content[_ngcontent-%COMP%]{padding:12px 16px}.custom-widget--full[_ngcontent-%COMP%]{border-bottom:0}.custom-widget--full[_ngcontent-%COMP%]   .custom-widget__poster[_ngcontent-%COMP%]:after{background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.3) 19.55%,rgba(0,0,0,.2) 33.1%,rgba(0,0,0,.2) 50.8%,rgba(0,0,0,.37) 64.35%,rgba(0,0,0,.7))}}']}),e}()},U9Oy:function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var i=n("ofXK"),r=n("tyNb"),a=n("3Pt+"),o=n("nhfI"),s=n("jCJ1"),c=n("wf0l"),l=n("pj/B"),u=n("iQdX"),d=n("1kSV"),h=n("eLTN"),f=n("2FYO"),p=n("p3ot"),g=n("XhrQ"),v=n("GJzE"),m=n("s8G/"),b=n("fXoL"),y=n("sYmb"),C=n("6NWb"),_=n("0st4"),w=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=b.wc({type:e}),e.\u0275inj=b.vc({factory:function(t){return new(t||e)},imports:[[i.c,o.c,a.z,s.f,s.d,r.h,m.b,c.b,d.o,d.N,l.b.withConfig({prop:{odnoklassniki:{type:"odnoklassniki",text:"\u041e\u0434\u043d\u043e\u043a\u043b\u0430\u0441\u0441\u043d\u0438\u043a\u0438",icon:["fab","odnoklassniki"],color:"#f68634",share:{desktop:"https://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1"},params:{url:"url",description:"text"}},"my-mailru":{type:"my-mailru",text:"\u041c\u043e\u0439 \u041c\u0438\u0440",ariaLabel:"Share on Mail.ru",icon:["fas","at"],color:"#168de2",share:{desktop:"https://connect.mail.ru/share?"},params:{url:"url",title:"title",description:"text",image:"image"}}
1,viber:{share:{desktop:"viber://forward?"},params:{url:"url",title:"title",description:"text",image:"image"}},vkontakte:{type:"vkontakte",text:"VKontakte",ariaLabel:"Share on VKontakte",icon:["fab","vk"],color:"#2787f5",share:{desktop:"https://vk.com/share.php?"},params:{url:"url"}},facebook:{method:u.f.Window},twitter:{method:u.f.Window}}})]]}),e}();b.rd(v.j,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,a.F,a.u,a.E,a.c,a.v,a.y,a.a,a.B,a.C,a.x,a.p,a.q,a.A,a.m,a.l,a.w,a.b,a.d,a.g,a.i,a.h,a.j,a.e,s.c,s.g,r.i,r.e,r.g,r.f,r.k,y.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,C.b,C.a,C.d,C.f,C.e,C.g,C.h,_.a,l.a,v.p,v.O,v.P,v.Q,v.cb,v.lb,v.j,v.vb,v.Y,v.H,v.K,v.q,v.tb,v.c,v.wb,v.B,v.x,v.sb,v.v,v.z,v.D,v.N,v.R,v.S,v.gb,v.mb,v.X,v.db,v.Z,h.a,g.a,v.I,v.L,v.W,v.ub,v.pb,v.U,f.a,p.d,p.c,p.b,p.a,v.qb,v.rb,v.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,y.d,v.kb]),b.rd(v.vb,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,a.F,a.u,a.E,a.c,a.v,a.y,a.a,a.B,a.C,a.x,a.p,a.q,a.A,a.m,a.l,a.w,a.b,a.d,a.g,a.i,a.h,a.j,a.e,s.c,s.g,r.i,r.e,r.g,r.f,r.k,y.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,C.b,C.a,C.d,C.f,C.e,C.g,C.h,_.a,l.a,v.p,v.O,v.P,v.Q,v.cb,v.lb,v.j,v.vb,v.Y,v.H,v.K,v.q,v.tb,v.c,v.wb,v.B,v.x,v.sb,v.v,v.z,v.D,v.N,v.R,v.S,v.gb,v.mb,v.X,v.db,v.Z,h.a,g.a,v.I,v.L,v.W,v.ub,v.pb,v.U,f.a,p.d,p.c,p.b,p.a,v.qb,v.rb,v.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,y.d,v.kb]),b.rd(v.Y,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,a.F,a.u,a.E,a.c,a.v,a.y,a.a,a.B,a.C,a.x,a.p,a.q,a.A,a.m,a.l,a.w,a.b,a.d,a.g,a.i,a.h,a.j,a.e,s.c,s.g,r.i,r.e,r.g,r.f,r.k,y.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,C.b,C.a,C.d,C.f,C.e,C.g,C.h,_.a,l.a,v.p,v.O,v.P,v.Q,v.cb,v.lb,v.j,v.vb,v.Y,v.H,v.K,v.q,v.tb,v.c,v.wb,v.B,v.x,v.sb,v.v,v.z,v.D,v.N,v.R,v.S,v.gb,v.mb,v.X,v.db,v.Z,h.a,g.a,v.I,v.L,v.W,v.ub,v.pb,v.U,f.a,p.d,p.c,p.b,p.a,v.qb,v.rb,v.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,y.d,v.kb]),b.rd(v.H,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,a.F,a.u,a.E,a.c,a.v,a.y,a.a,a.B,a.C,a.x,a.p,a.q,a.A,a.m,a.l,a.w,a.b,a.d,a.g,a.i,a.h,a.j,a.e,s.c,s.g,r.i,r.e,r.g,r.f,r.k,y.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,C.b,C.a,C.d,C.f,C.e,C.g,C.h,_.a,l.a,v.p,v.O,v.P,v.Q,v.cb,v.lb,v.j,v.vb,v.Y,v.H,v.K,v.q,v.tb,v.c,v.wb,v.B,v.x,v.sb,v.v,v.z,v.D,v.N,v.R,v.S,v.gb,v.mb,v.X,v.db,v.Z,h.a,g.a,v.I,v.L,v.W,v.ub,v.pb,v.U,f.a,p.d,p.c,p.b,p.a,v.qb,v.rb,v.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,y.d,v.kb]),b.rd(v.K,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,a.F,a.u,a.E,a.c,a.v,a.y,a.a,a.B,a.C,a.x,a.p,a.q,a.A,a.m,a.l,a.w,a.b,a.d,a.g,a.i,a.h,a.j,a.e,s.c,s.g,r.i,r.e,r.g,r.f,r.k,y.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,C.b,C.a,C.d,C.f,C.e,C.g,C.h,_.a,l.a,v.p,v.O,v.P,v.Q,v.cb,v.lb,v.j,v.vb,v.Y,v.H,v.K,v.q,v.tb,v.c,v.wb,v.B,v.x,v.sb,v.v,v.z,v.D,v.N,v.R,v.S,v.gb,v.mb,v.X,v.db,v.Z,h.a,g.a,v.I,v.L,v.W,v.ub,v.pb,v.U,f.a,p.d,p.c,p.b,p.a,v.qb,v.rb,v.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,y.d,v.kb]),b.rd(v.q,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,a.F,a.u,a.E,a.c,a.v,a.y,a.a,a.B,a.C,a.x,a.p,a.q,a.A,a.m,a.l,a.w,a.b,a.d,a.g,a.i,a.h,a.j,a.e,s.c,s.g,r.i,r.e,r.g,r.f,r.k,y.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,C.b,C.a,C.d,C.f,C.e,C.g,C.h,_.a,l.a,v.p,v.O,v.P,v.Q,v.cb,v.lb,v.j,v.vb,v.Y,v.H,v.K,v.q,v.tb,v.c,v.wb,v.B,v.x,v.sb,v.v,v.z,v.D,v.N,v.R,v.S,v.gb,v.mb,v.X,v.db,v.Z,h.a,g.a,v.I,v.L,v.W,v.ub,v.pb,v.U,f.a,p.d,p.c,p.b,p.a,v.qb,v.rb,v.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,y.d,v.kb]),b.rd(v.x,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,a.F,a.u,a.E,a.c,a.v,a.y,a.a,a.B,a.C,a.x,a.p,a.q,a.A,a.m,a.l,a.w,a.b,a.d,a.g,a.i,a.h,a.j,a.e,s.c,s.g,r.i,r.e,r.g,r.f,r.k,y.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,C.b,C.a,C.d,C.f,C.e,C.g,C.h,_.a,l.a,v.p,v.O,v.P,v.Q,v.cb,v.lb,v.j,v.vb,v.Y,v.H,v.K,v.q,v.tb,v.c,v.wb,v.B,v.x,v.sb,v.v,v.z,v.D,v.N,v.R,v.S,v.gb,v.mb,v.X,v.db,v.Z,h.a,g.a,v.I,v.L,v.W,v.ub,v.pb,v.U,f.a,p.d,p.c,p.b,p.a,v.qb,v.rb,v.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,y.d,v.kb]),b.rd(v.db,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,a.F,a.u,a.E,a.c,a.v,a.y,a.a,a.B,a.C,a.x,a.p,a.q,a.A,a.m,a.l,a.w,a.b,a.d,a.g,a.i,a.h,a.j,a.e,s.c,s.g,r.i,r.e,r.g,r.f,r.k,y.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,C.b,C.a,C.d,C.f,C.e,C.g,C.h,_.a,l.a,v.p,v.O,v.P,v.Q,v.cb,v.lb,v.j,v.vb,v.Y,v.H,v.K,v.q,v.tb,v.c,v.
1wb,v.B,v.x,v.sb,v.v,v.z,v.D,v.N,v.R,v.S,v.gb,v.mb,v.X,v.db,v.Z,h.a,g.a,v.I,v.L,v.W,v.ub,v.pb,v.U,f.a,p.d,p.c,p.b,p.a,v.qb,v.rb,v.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,y.d,v.kb]),b.rd(v.qb,[i.r,i.s,i.t,i.u,i.B,i.x,i.y,i.z,i.A,i.v,i.w,o.a,o.b,a.F,a.u,a.E,a.c,a.v,a.y,a.a,a.B,a.C,a.x,a.p,a.q,a.A,a.m,a.l,a.w,a.b,a.d,a.g,a.i,a.h,a.j,a.e,s.c,s.g,r.i,r.e,r.g,r.f,r.k,y.b,c.a,d.k,d.l,d.p,d.n,d.m,d.z,d.M,u.c,C.b,C.a,C.d,C.f,C.e,C.g,C.h,_.a,l.a,v.p,v.O,v.P,v.Q,v.cb,v.lb,v.j,v.vb,v.Y,v.H,v.K,v.q,v.tb,v.c,v.wb,v.B,v.x,v.sb,v.v,v.z,v.D,v.N,v.R,v.S,v.gb,v.mb,v.X,v.db,v.Z,h.a,g.a,v.I,v.L,v.W,v.ub,v.pb,v.U,f.a,p.d,p.c,p.b,p.a,v.qb,v.rb,v.eb],[i.b,i.I,i.q,i.l,i.F,i.g,i.D,i.G,i.d,i.f,i.j,i.k,i.m,y.d,v.kb])},UBAy:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n("fXoL"),r=n("XNiG"),a=n("GJzE"),o=n("jhN1");function s(e,t){if(1&e&&i.zc(0,"iframe",4),2&e){var n=i.Uc(3);i.bd("src",n.placeUrl,i.pd),i.kc("loading",n.loadingMode)("data-banner-placeholder",n.isLoading)}}function c(e,t){if(1&e&&(i.Ec(0,"div"),i.zc(1,"div",9),i.Vc(2,"safeHtml"),i.Dc()),2&e){var n=t.$implicit;i.jc(1),i.bd("innerHTML",i.Wc(2,1,n.content),i.od)}}function l(e,t){if(1&e){var n=i.Fc();i.Ec(0,"swiper",7),i.Qc("indexChange",(function(e){i.nd(n);var t=i.Uc(4);return t.updateActualBannerId(t.codeBanners[e].id)})),i.xd(1,c,3,3,"div",8),i.Dc()}if(2&e){var r=i.Uc(4);i.bd("config",r.sliderConfig),i.jc(1),i.bd("ngForOf",r.codeBanners)}}function u(e,t){if(1&e&&(i.zc(0,"div",10),i.Vc(1,"safeHtml")),2&e){var n=i.Uc(4);i.bd("innerHTML",i.Wc(1,1,n.codeBanners[0].content),i.od)}}function d(e,t){if(1&e&&(i.xd(0,l,2,2,"swiper",5),i.xd(1,u,2,3,"ng-template",null,6,i.yd)),2&e){var n=i.kd(2),r=i.Uc(3);i.bd("ngIf",r.codeBanners.length>1)("ngIfElse",n)}}function h(e,t){if(1&e&&(i.Cc(0),i.xd(1,s,1,3,"iframe",2),i.xd(2,d,3,2,"ng-template",null,3,i.yd),i.Bc()),2&e){var n=i.kd(3),r=i.Uc(2);i.jc(1),i.bd("ngIf",!r.isCodeBanner)("ngIfElse",n)}}function f(e,t){1&e&&(i.Cc(0),i.xd(1,h,4,2,"ng-container",1),i.Bc())}var p=function(){var e=function(){function e(t,n,a,o){_classCallCheck(this,e),this.bannersPlacesService=t,this.domSanitizer=n,this.jsInjector=a,this.bannerSlideDuration=o,this.loadingMode="lazy",this.sliderConfig={autoplay:{delay:5e3},effect:"fade",fadeEffect:{crossFade:!0},allowTouchMove:!1,simulateTouch:!1},this.onDestroy$=new r.a,this.onPlaceLoaded$=new i.s,this.pActualBannerIdUpdated$=new i.s(!0),this.pWrapperId=null,this.pHasModel=!0,this.pActualBannerId=null,this.pIsCodeBanner=!1,this.pCodeBanners=[],this.pIsLoading=!0,this.placeAction=null}return _createClass(e,[{key:"ngOnInit",value:function(){this.bannersPlacesService.registerComponent(this.wrapperId,this),this.sliderConfig.autoplay.delay=this.bannerSlideDuration}},{key:"ngOnDestroy",value:function(){this.bannersPlacesService.unregisterComponent(this.wrapperId),this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"updateActualBannerId",value:function(e){this.pIsLoading?(this.placeAction="updateActualBannerId",this.pActualBannerId=e,this.processBanner()):this.pActualBannerIdUpdated$.emit(e)}},{key:"removeBannersPlaceWrapper",value:function(){this.placeAction="remove",this.processBanner()}},{key:"replaceWithCodeBanner",value:function(e){this.placeAction="replaceByCodeBanners",this.pCodeBanners=e,this.processBanner()}},{key:"processBanner",value:function(){var e=this;setTimeout((function(){e.pIsLoading=!1;var t=!1;switch(e.placeAction){case"remove":e.resetBannersPlace(),e.pHasModel=!1;break;case"replaceByCodeBanners":e.pIsCodeBanner=!0,e.pCodeBanners.forEach((function(t){var n=[];t.libraryScripts.forEach((function(t){n.push(e.jsInjector.injectJsFile(t))})),null!==t.headScript&&Object.keys(t.headScript).forEach((function(n){e.jsInjector.injectJsCode(n,t.headScript[n])})),Promise.all(n).catch((function(){}))})),e.pActualBannerId=e.pCodeBanners[0].id;case"updateActualBannerId":t=!0}e.placeAction=null,e.onPlaceLoaded$.emit({hasModel:e.pHasModel,isCodePlace:e.pIsCodeBanner}),t&&e.pActualBannerIdUpdated$.emit(e.pActualBannerId)}))}},{key:"resetBannersPlace",value:function(){this.pHasModel=!0,this.pActualBannerId=null,this.pIsCodeBanner=!1,this.pCodeBanners=[],this.placeAction=null}},{key:"placeLoaded",get:function(){return this.onPlaceLoaded$.asObservable()}},{key:"actualBannerIdUpdated",get:function(){return this.pActualBannerIdUpdated$.asObservable()}},{key:"hasModel",get:function(){return this.pHasModel}},{key:"placeUrl",set:function(e){var t=new URL(e);t.searchParams.set("widgetId",this.wrapperId),this.pPlaceUrl=this.domSanitizer.bypassSecurityTrustResourceUrl(t.toString()),this.resetBannersPlace(),this.pIsLoading=!0},get:function(){return this.pPlaceUrl}},{key:"wrapperId",get:function(){return null===this.pWrapperId&&(this.pWrapperId="banners-place-content-"+ ++e.widgetCounter),this.pWrapperId}},{key:"isCodeBanner",get:function(){return this.pIsCodeBanner}},{key:"codeBanners",get:function(){return this.pCodeBanners}},{key:"isLoading",get:function(){return this.pIsLoading?"":null}}]),e}();return e.widgetCounter=0,e.\u0275fac=function(t){return new(t||e)(i.yc(a.k),i.yc(o.c),i.yc(a.A),i.yc(a.g))},e.\u0275cmp=i.sc({type:e,selectors:[["app-banners-place-content"]],hostVars:1,hostBindings:function(e,t){2&e&&i.Hc("id",t.wrapperId)},inputs:{loadingMode:"loadingMode",placeUrl:"placeUrl"},outputs:{placeLoaded:"placeLoaded",actualBannerIdUpdated:"actualBannerIdUpdated"},decls:1,vars:1,consts:[[4,"ngIf"],[4,"appOnlyInBrowser"],["data-banner-anchor","",3,"src",4,"ngIf","ngIfElse"],["codeBanner",""],["data-banner-anchor","",3,"src"],["appRunScripts","",3,"config","indexChange",4,"ngIf","ngIfElse"],["singleItem",""],["appRunScripts","",3,"config","indexChange"],[4,"ngFor","ngForOf"],["data-place-content","",3,"innerHTML"],["data-place-content","","appRunScripts","",3,"innerHTML"]],template:function(e,t){1&e&&i.xd(0,f,2,0,"ng-container",0),2&e&&i.bd("ngIf",t.hasModel)},styles:["[_nghost-%COMP%]{display:block;text-align:center}[_nghost-%COMP%]   iframe[data-banner-anchor][_ngcontent-%COMP%]{height:100%;width:100%;border:none}[_nghost-%COMP%]   [data-place-content][_ngcontent-%COMP%], [_nghost-%COMP%]   [data-place-content][_ngcontent-%COMP%]     .banner-data-block{width:100%;height:100%}[_nghost-%COMP%]   [data-place-content][_ngcontent-%COMP%]     .banner-data-block a.image-banner-link{display:block;width:100%;height:100%}[_nghost-%COMP%]   [data-place-content][_ngcontent-%COMP%]     .banner-data-block a.image-banner-link img{width:100%;height:100%;-o-object-fit:scale-down;object-fit:scale-down}[_nghost-%COMP%]   [data-place-content][_ngcontent-%COMP%]     .banner-data-block a.wrapper-banner-link{position:absolute;z-index:5;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%]   [data-place-content][_ngcontent-%COMP%]     .banner-data-block iframe{width:100%;height:100%}"]}),e}()},UXun:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("jtHE");function r(e,t,n){var r;return r=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},function(e){return e.lift(function(e){var t,n,r=e.bufferSize,a=void 0===r?Number.POSITIVE_INFINITY:r,o=e.windowTime,s=void 0===o?Number.POSITIVE_INFINITY:o,c=e.refCount,l=e.scheduler,u=0,d=!1,h=!1;return function(e){u++,t&&!d||(d=!1,t=new i.a(a,s,l),n=e.subscribe({next:function(e){t.next(e)},error:function(e){d=!0,t.error(e)},complete:function(){h=!0,n=void 0,t.complete()}}));var r=t.subscribe(this);this.add((function(){u--,r.unsubscribe(),n&&!h&&c&&0===u&&(n.unsubscribe(),n=void 0,t=void 0)}))}}(r))}}},UudT:function(e,t,n){"use strict";var i=n("U6JX"),r=Object(i.a)(Object.getPrototypeOf,Object);t.a=r},VDON:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n("XNiG"),r=n("1G5W"),a=n("IzEk"),o=n("vkgz"),s=n("fXoL"),c=n("kBKH");function l(e,t){if(1&e&&s.zc(0,"app-picture",6),2&e){var n=s.Uc();s.bd("model",n.headerImage)}}function u(e,t){if(1&e&&s.zc(0,"app-special-link",7),2&e){var n=s.Uc();s.bd("model",n.inHeader)}}function d(e,t){if(1&e&&s.zc(0,"div",8),2&e){var n=s.Uc();s.bd("lazyLoad",n.cityLogoUrl)}}var h=function(){var e=function(){function e(t){_classCallCheck(this,e),this.configService=t,this.hostClass="d-none d-lg-block",this.pLogoUrl=null,this.pCityLogoUrl=null,this.pHeaderImage=null,this.pInHeader=null,this.onDestroy$=new i.a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.configService.allConfig.pipe(Object(r.a)(this.onDestroy$),Object(a.a)(1),Object(o.a)((function(t){e.pLogoUrl=t.mainConfig.logoUrl,e.pHeaderImage=t.mainConfig.headerImage,e.pCityLogoUrl=t.mainConfig.cityLogoUrl,e.pInHeader=t.navigation.inHeader}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"inHeader",get:function(){return this.pInHeader}},{key:"headerImage",get:function(){return this.pHeaderImage}},{key:"cityLogoUrl",get:function(){return this.pCityLogoUrl}},{key:"logoUrl",get:function(){return this.pLogoUrl}}
1,{key:"hasMenuItemInHeader",get:function(){return null!==this.pInHeader}},{key:"hasCityLogo",get:function(){return!this.hasMenuItemInHeader&&null!==this.pCityLogoUrl}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.yc(c.c))},e.\u0275cmp=s.sc({type:e,selectors:[["app-header-poster"]],hostVars:2,hostBindings:function(e,t){2&e&&s.lc(t.hostClass)},decls:6,vars:4,consts:[[1,"container-fluid"],[2,"position","relative"],[1,"logo-inside-header",3,"logoUrl"],["class","head-poster",3,"model",4,"ngIf"],["class","special-link",3,"model",4,"ngIf"],["class","city-logo__wrapper",3,"lazyLoad",4,"ngIf"],[1,"head-poster",3,"model"],[1,"special-link",3,"model"],[1,"city-logo__wrapper",3,"lazyLoad"]],template:function(e,t){1&e&&(s.Ec(0,"div",0),s.Ec(1,"div",1),s.zc(2,"app-site-logo",2),s.xd(3,l,1,1,"app-picture",3),s.xd(4,u,1,1,"app-special-link",4),s.xd(5,d,1,1,"div",5),s.Dc(),s.Dc()),2&e&&(s.jc(2),s.cd("logoUrl",t.logoUrl),s.jc(1),s.bd("ngIf",t.headerImage),s.jc(1),s.bd("ngIf",t.hasMenuItemInHeader),s.jc(1),s.bd("ngIf",t.hasCityLogo))},styles:["[_nghost-%COMP%]{text-align:center;margin-bottom:20px}[_nghost-%COMP%]     img{max-width:100%;height:auto;min-height:94px}[_nghost-%COMP%]   .head-poster[_ngcontent-%COMP%]{position:relative;display:flex;height:94px;overflow:hidden}[_nghost-%COMP%]   .head-poster[_ngcontent-%COMP%]     picture{flex-grow:1}[_nghost-%COMP%]   .head-poster[_ngcontent-%COMP%]     picture img{-o-object-fit:cover;object-fit:cover;-o-object-position:left;object-position:left;width:100%;min-height:100%}[_nghost-%COMP%]   .logo-inside-header[_ngcontent-%COMP%]{display:var(--logo-inside-header)}[_nghost-%COMP%]   .logo-inside-header[_ngcontent-%COMP%]     .logo, [_nghost-%COMP%]   .logo-inside-header[_ngcontent-%COMP%]     .logo-cap{position:absolute;z-index:1;left:36px;top:50%;height:unset;transform:translateY(-50%);max-height:100%}[_nghost-%COMP%]   .logo-inside-header[_ngcontent-%COMP%]     .logo img{min-height:unset;max-height:72px}[_nghost-%COMP%]   .city-logo__wrapper[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);height:calc(100% - 20px);background-size:contain;background-position:50%;background-repeat:no-repeat;width:300px;right:80px}[_nghost-%COMP%]   .special-link[_ngcontent-%COMP%]{position:absolute;right:0;top:0;min-width:400px;height:100%}"],changeDetection:0}),e}()},VMQv:function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return y})),n.d(t,"d",(function(){return C})),n.d(t,"c",(function(){return O}));var i=function(e){return e[e.Ads=0]="Ads",e[e.Auto=1]="Auto",e[e.Estate=2]="Estate",e[e.Resume=3]="Resume",e[e.Vacancy=4]="Vacancy",e}({}),r=function(){function e(t,n,i,r,a,o,s,c,l){_classCallCheck(this,e),this.id=t,this.title=n,this.fromDate=i,this.toDate=r,this.friendlyFromDate=a,this.friendlyToDate=o,this.viewsCount=s,this.url=c,this.posterUrl=l}return _createClass(e,[{key:"type",get:function(){return this.pType}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).pType=i.Ads,e}return n}(r),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).pType=i.Auto,e}return n}(r),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).pType=i.Estate,e}return n}(r),c=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).pType=i.Resume,e}return n}(r),l=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).pType=i.Vacancy,e}return n}(r);function u(e){var t;switch(e.type){case"doska":t=new a(e.id);break;case"auto":t=new o(e.id);break;case"estate":t=new s(e.id);break;case"resume":t=new c(e.id);break;case"vacancy":t=new l(e.id);break;default:throw new Error("Unknown ads type: "+e.type)}return delete e.type,Object.assign(t,e),t}var d,h,f=n("ehPC"),p=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c,l,u){var d;return _classCallCheck(this,n),(d=t.call(this,e,i,r)).width=e,d.height=i,d.pEmptyAction=r,d.label=a,d.itemsCount=o,d.promoNewsLabel=s,d.promoNewsLink=c,d.placeHereLabel=l,d.placeHereLink=u,d.pType=f.R.AdsTeaser,d}return _createClass(n,[{key:"getComponent",value:function(){return y}}]),n}(f.i),g=n("PqYM"),v=n("IzEk"),m=n("AytR"),b=n("fXoL"),y=((d=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,a.injector=i,a.adsService=r,a}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.adsService.getNextTeaserAds(this.widget.itemsCount).pipe(Object(v.a)(1)).subscribe((function(t){e.models=t,null!==t?e.emitHasData():e.emitEmptyData();var n=function(){e.emitComponentLoaded()};m.a.useLoadingDelay?Object(g.a)(1500).subscribe(n):n()}))}}]),n}(f.j)).\u0275fac=function(e){return new(e||d)(b.yc(f.A,8),b.yc(b.w),b.yc(C))},d.\u0275cmp=b.sc({type:d,selectors:[["app-shared-ads-teaser"]],features:[b.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),d),C=new b.v("Ads service with teaser"),_=n("LRne"),w=n("lJxs"),k=n("GJzE"),x=n("tk/3"),O=((h=function(){function e(t,n,i){_classCallCheck(this,e),this.http=t,this.transferStateService=n,this.siteApiHostInfo=i}return _createClass(e,[{key:"requestAds",value:function(e){var t={request:{}};
1e.teaserAds.count>0&&(t.request.teaserAds={filter:{count:e.teaserAds.count},fields:["title","url","posterUrl","friendlyFromDate","viewsCount"].join()});var n=Object(k.Hb)(t),i=this.transferStateService.makeStateKey("ads-models-"+n);return this.transferStateService.hasKey(i)?Object(_.a)(this.buildModels(this.transferStateService.restoreData(i,null))):(Object.keys(t.request).length>0?this.http.get(this.siteApiHostInfo+"api3/ads/compound",{params:n}):Object(_.a)({})).pipe(Object(k.Tb)(this.transferStateService,i),Object(w.a)(this.buildModels))}},{key:"buildModels",value:function(e){return e.teaserAds&&(e.teaserAds=e.teaserAds.map(u)),e}}]),e}()).\u0275fac=function(e){return new(e||h)(b.Mc(x.b),b.Mc(k.yb),b.Mc(k.hb))},h.\u0275prov=b.uc({token:h,factory:h.\u0275fac,providedIn:"root"}),h)},VRyK:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("HDdC"),r=n("z+Ro"),a=n("bHdf"),o=n("yCtX");function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var s=Number.POSITIVE_INFINITY,c=null,l=t[t.length-1];return Object(r.a)(l)?(c=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(s=t.pop())):"number"==typeof l&&(s=t.pop()),null===c&&1===t.length&&t[0]instanceof i.a?t[0]:Object(a.a)(s)(Object(o.a)(t,c))}},VuEF:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("lJxs"),r=n("ehPC"),a=n("PLBQ"),o=n("fXoL");function s(e,t){if(1&e&&(o.zc(0,"div",1),o.Vc(1,"safeHtml")),2&e){var n=o.Uc();o.bd("outerHTML",o.Wc(1,1,n.models.widget),o.od)}}var c=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).itemsService=e,r.selectedItemsService=i,r}return _createClass(n,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this)}},{key:"getModels",value:function(){var e=null!==this.card.id;if(e&&null===this.selectedItemsService||!e&&null===this.itemsService)throw new Error("Required services must be injected");return e?this.selectedItemsService.getSelectedCurrencyInformer(this.card.id):this.itemsService.getNextCurrencyInformers(1).pipe(Object(i.a)((function(e){return null!==e?e[0]:null})))}},{key:"renderCard",value:function(e){this.models=e}}]),n}(r.d);return e.\u0275fac=function(t){return new(t||e)(o.yc(a.d,8),o.yc(a.g,8))},e.\u0275cmp=o.sc({type:e,selectors:[["app-currency-informer-card"]],features:[o.gc],decls:2,vars:5,consts:[[3,"outerHTML",4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[3,"outerHTML"]],template:function(e,t){1&e&&(o.xd(0,s,2,3,"div",0),o.Vc(1,"async")),2&e&&o.bd("appLoadingPlaceholder",o.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.card.width)("appLoadingPlaceholderHeight",1)},encapsulation:2}),e}()},WI3F:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return l.a})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return m}));var i=n("GQzd"),r=function e(t,n,i,r,a,o,s,c,l,u){_classCallCheck(this,e),this.id=t,this.title=n,this.description=i,this.text=r,this.url=a,this.posterUrl=o,this.keywords=s,this.availableTill=c,this.hasMoreNews=l,this.news=u};function a(e){var t=new r(e.id);return e.news&&(e.news=e.news.map(i.C)),Object.assign(t,e),t}var o,s=n("ehPC"),c=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,c,l,u){var d;return _classCallCheck(this,n),(d=t.call(this,e,i,r)).width=e,d.height=i,d.pEmptyAction=r,d.id=a,d.label=o,d.showMoreLabel=c,d.showNewsPreview=l,d.newsPreviewCount=u,d.pType=s.R.SingleSpecialTheme,d}return _createClass(n,[{key:"getComponent",value:function(){return l.a}}]),n}(s.i),l=n("iAk7"),u=n("fXoL"),d=new u.v("Special themes service with simple themes"),h=new u.v("Special themes service with selected themes"),f=n("LRne"),p=n("lJxs"),g=n("GJzE"),v=n("tk/3"),m=((o=function(){function e(t,n,i){_classCallCheck(this,e),this.http=t,this.transferStateService=n,this.siteApiHostInfo=i}return _createClass(e,[{key:"doCompoundRequest",value:function(e){var t,n,i,r={request:{}};if((null===(t=e.simpleSpecialThemes)||void 0===t?void 0:t.count)>0){var a={count:e.simpleSpecialThemes.count,newsLimit:e.simpleSpecialThemes.newsLimit};(null===(n=e.selectedSpecialThemes)||void 0===n?void 0:n.selectedIds.length)>0&&(a.excludedIds=e.selectedSpecialThemes.selectedIds),r.request.simpleSpecialThemes={filter:a,fields:Object(g.Fb)(e.simpleSpecialThemes.fields).join()}}(null===(i=e.selectedSpecialThemes)||void 0===i?void 0:i.selectedIds.length)>0&&(r.request.selectedSpecialThemes={filter:{newsLimit:e.selectedSpecialThemes.newsLimit,selectedIds:e.selectedSpecialThemes.selectedIds},fields:Object(g.Fb)(e.selectedSpecialThemes.fields).join()});var o=Object(g.Hb)(r),s=this.transferStateService.makeStateKey("compound-special-theme-models-"+o);return this.transferStateService.hasKey(s)?Object(f.a)(this.buildCompoundSpecialThemes(this.transferStateService.restoreData(s,null))):(Object.keys(r.request).length>0?this.http.get(this.siteApiHostInfo+"api3/special-themes/compound",{params:o}):Object(f.a)({})).pipe(Object(g.Tb)(this.transferStateService,s),Object(p.a)(this.buildCompoundSpecialThemes))}},{key:"doSimpleRequest",value:function(e){e.fields&&(e.expand=e.fields,delete e.fields);var t=Object(g.Hb)(e),n=this.transferStateService.makeStateKey("simple-special-theme-models-"+t);return this.transferStateService.hasKey(n)?Object(f.a)(this.buildSimpleResult(this.transferStateService.restoreData(n,null))):this.http.get(this.siteApiHostInfo+"api3/special-themes",{params:t}).pipe(Object(g.Tb)(this.transferStateService,n),Object(p.a)(this.buildSimpleResult))}},{key:"buildCompoundSpecialThemes",value:function(e){if(e.simpleSpecialThemes&&(e.simpleSpecialThemes=e.simpleSpecialThemes.map(a)),e.selectedSpecialThemes)for(var t in e.selectedSpecialThemes)e.selectedSpecialThemes.hasOwnProperty(t)&&(e.selectedSpecialThemes[t]=a(e.selectedSpecialThemes[t]));return e}},{key:"buildSimpleResult",value:function(e){return e.hasOwnProperty("_meta")?new g.ob(e.specialThemes.map(a),e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount):(e=e.specialThemes||[],Array.isArray(e)?e.map(a):(Object.keys(e).forEach((function(t){e[t]=a(e[t])})),e))}}]),e}()).\u0275fac=function(e){return new(e||o)(u.Mc(v.b),u.Mc(g.yb),u.Mc(g.hb))}
1,o.\u0275prov=u.uc({token:o,factory:o.\u0275fac,providedIn:"root"}),o)},WJ6P:function(e,t,n){"use strict";t.a=function(){return[]}},WMd4:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("EY2u"),r=n("LRne"),a=n("z6cu"),o=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.kind=t,this.value=n,this.error=i,this.hasValue="N"===t}return _createClass(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(a.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}();return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},WOAq:function(e,t,n){"use strict";(function(e){var i=n("Ju5/"),r=n("L3Qv"),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===a?i.a.Buffer:void 0;t.a=(s?s.isBuffer:void 0)||r.a}).call(this,n("3UD+")(e))},X2cd:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("xgIS"),r=n("fXoL"),a=n("GJzE"),o=n("jhN1"),s=n("ofXK"),c=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this.elementRef=t,this.deviceState=n,this.eventManager=i,this.location=r}return _createClass(e,[{key:"ngAfterViewInit",value:function(){this.deviceState.isServerApp||this.initAnchorClickListeners()}},{key:"ngOnDestroy",value:function(){void 0!==this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}},{key:"initAnchorClickListeners",value:function(){var e,t=this,n=this.elementRef.nativeElement;(e=this.isAnchorElement(n)&&/^#/.test(this.getRelatedUrl(n))?[n]:n.querySelectorAll('a[href^="#"]')).length>0&&(this.subscription=Object(i.a)(e,"click").subscribe((function(e){return t.anchorClickHandler(e)})))}},{key:"anchorClickHandler",value:function(e){return this.location.go(this.location.path()+e.currentTarget.hash),e.preventDefault(),e.stopPropagation(),!1}},{key:"isAnchorElement",value:function(e){return"a"===e.tagName.toLowerCase()}},{key:"getRelatedUrl",value:function(e){return e.getAttribute("href")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.yc(r.q),r.yc(a.t),r.yc(o.d),r.yc(s.o))},e.\u0275dir=r.tc({type:e,selectors:[["","appScrollToAnchors",""]]}),e}()},XDbj:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("sVev"),r=n("7o/Q");function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return function(t){return t.lift(new o(e))}}var o=function(){function e(t){_classCallCheck(this,e),this.errorFactory=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.errorFactory))}}]),e}(),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).errorFactory=i,r.hasValue=!1,r}return _createClass(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(r.a);function c(){return new i.a}},XGsO:function(e,t,n){"use strict";n.d(t,"a",(function(){return q})),n.d(t,"b",(function(){return J})),n.d(t,"c",(function(){return Y})),n.d(t,"d",(function(){return re}));var i=n("fXoL"),r=n("jhN1"),a=n("ofXK"),o=["previewImage"];function s(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-arrows",16),i.Qc("prevClick",(function(){return i.nd(n),i.Uc().showPrev()}))("nextClick",(function(){return i.nd(n),i.Uc().showNext()})),i.Dc()}if(2&e){var r=i.Uc();i.bd("prevDisabled",!r.canShowPrev())("nextDisabled",!r.canShowNext())("arrowPrevIcon",r.arrowPrevIcon)("arrowNextIcon",r.arrowNextIcon)}}function c(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-action",17),i.Qc("closeClick",(function(e){i.nd(n);var r=t.$implicit,a=i.Uc();return r.onClick(e,a.index)})),i.Dc()}if(2&e){var r=t.$implicit;i.bd("icon",r.icon)("disabled",r.disabled)("titleText",r.titleText)}}function l(e,t){if(1&e&&(i.Ec(0,"a",18),i.zc(1,"i"),i.Dc()),2&e){var n=i.Uc();i.bd("href",n.src,i.qd),i.jc(1),i.mc("ngx-gallery-icon-content ",n.downloadIcon,"")}}function u(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-action",19),i.Qc("closeClick",(function(){return i.nd(n),i.Uc().zoomOut()})),i.Dc()}if(2&e){var r=i.Uc();i.bd("icon",r.zoomOutIcon)("disabled",!r.canZoomOut())}}function d(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-action",19),i.Qc("closeClick",(function(){return i.nd(n),i.Uc().zoomIn()})),i.Dc()}if(2&e){var r=i.Uc();i.bd("icon",r.zoomInIcon)("disabled",!r.canZoomIn())}}function h(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-action",7),i.Qc("closeClick",(function(){return i.nd(n),i.Uc().rotateLeft()})),i.Dc()}if(2&e){var r=i.Uc();i.bd("icon",r.rotateLeftIcon)}}function f(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-action",7),i.Qc("closeClick",(function(){return i.nd(n),i.Uc().rotateRight()})),i.Dc()}if(2&e){var r=i.Uc();i.bd("icon",r.rotateRightIcon)}}function p(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-action",7),i.Qc("closeClick",(function(){return i.nd(n),i.Uc().manageFullscreen()})),i.Dc()}if(2&e){var r=i.Uc();i.bd("icon","ngx-gallery-fullscreen "+r.fullscreenIcon)}}function g(e,t){if(1&e){var n=i.Fc();i.Ec(0,"img",20,21),i.Qc("click",(function(e){return i.nd(n),e.stopPropagation()}))("mouseenter",(function(){return i.nd(n),i.Uc().imageMouseEnter()}))("mouseleave",(function(){return i.nd(n),i.Uc().imageMouseLeave()}))("mousedown",(function(e){return i.nd(n),i.Uc().mouseDownHandler(e)}))("touchstart",(function(e){return i.nd(n),i.Uc().mouseDownHandler(e)})),i.Dc()}if(2&e){var r=i.Uc();i.wd("transform",r.getTransform())("left",r.positionLeft+"px")("top",r.positionTop+"px"),i.pc("ngx-gallery-active",!r.loading)("animation",r.animation)("ngx-gallery-grab",r.canDragOnZoom()),i.bd("src",r.src,i.qd)}}function v(e,t){if(1&e){var n=i.Fc();i.Ec(0,"video",22,21),i.Qc("click",(function(e){return i.nd(n),e.stopPropagation()}))("mouseenter",(function(){return i.nd(n),i.Uc().imageMouseEnter()}))("mouseleave",(function(){return i.nd(n),i.Uc().imageMouseLeave()}))("mousedown",(function(e){return i.nd(n),i.Uc().mouseDownHandler(e)}))("touchstart",(function(e){return i.nd(n),i.Uc().mouseDownHandler(e)})),i.zc(2,"source",23),i.zd(3," Your browser does not support the video tag. "),i.Dc()}if(2&e){var r=i.Uc();i.wd("transform",r.getTransform())("left",r.positionLeft+"px")("top",r.positionTop+"px"),i.pc("ngx-gallery-active",!r.loading)("animation",r.animation)("ngx-gallery-grab",r.canDragOnZoom()),i.jc(2),i.bd("src",r.src,i.qd)}}function m(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-bullets",24),i.Qc("bulletChange",(function(e){return i.nd(n),i.Uc().showAtIndex(e)})),i.Dc()}if(2&e){var r=i.Uc();i.bd("count",r.images.length)("active",r.index)}}function b(e,t){if(1&e){var n=i.Fc();i.Ec(0,"div",25),i.Qc("click",(function(e){return i.nd(n),e.stopPropagation()})),i.Dc()}if(2&e){var r=i.Uc();i.bd("innerHTML",r.description,i.od)}}function y(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-action",8),i.Qc("closeClick",(function(e){i.nd(n);var r=t.$implicit,a=i.Uc(2).$implicit;return r.onClick(e,a.index)})),i.Dc()}if(2&e){var r=t.$implicit;i.bd("icon",r.icon)("disabled",r.disabled)("titleText",r.titleText)}}function C(e,t){if(1&e){var n=i.Fc();i.Ec(0,"div",9),i.Qc("click",(function(e){return i.nd(n),e.stopPropagation()})),i.Dc()}if(2&e){var r=i.Uc(2).$implicit,a=i.Uc();i.bd("innerHTML",a.descriptions[r.index],i.od)}}var _=function(e,t,n,i){return{"ngx-gallery-active":e,"ngx-gallery-inactive-left":t,"ngx-gallery-inactive-right":n,"ngx-gallery-clickable":i}};function w(e,t){if(1&e){var n=i.Fc();i.Ec(0,"div",4),i.Qc("click",(function(e){i.nd(n);var t=i.Uc().$implicit;return i.Uc().handleClick(e,t.index)})),i.Ec(1,"div",5),i.xd(2,y,1,3,"ngx-gallery-action",6),i.Dc(),i.xd(3,C,1,1,"div",7),i.Dc()}if(2&e){var r=i.Uc().$implicit,a=i.Uc();i.wd("background-image",a.getSafeUrl(r.src),i.rc),i.bd("ngClass",i.id(5,_,a.selectedIndex==r.index,a.selectedIndex>r.index,a.selectedIndex<r.index,a.clickable)),i.jc(2),i.bd("ngForOf",a.actions),i.jc(1),i.bd("ngIf",a.showDescription&&a.descriptions[r.index])}}function k(e,t){if(1&e&&(i.Ec(0,"div"),i.xd(1,w,4,10,"div",3),i.Dc()),2&e){var n=t.$implicit;i.jc(1),i.bd("ngIf","image"===n.type)}}function x(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-action",8),i.Qc("closeClick",(function(e){i.nd(n);var r=t.$implicit,a=i.Uc(2).$implicit;return r.onClick(e,a.index)})),i.Dc()}if(2&e){var r=t.$implicit;i.bd("icon",r.icon)("disabled",r.disabled)("titleText",r.titleText)}}function O(e,t){if(1&e){var n=i.Fc();i.Ec(0,"div",9),i.Qc("click",(function(e){return i.nd(n),e.stopPropagation()})),i.Dc()}if(2&e){var r=i.Uc(2).$implicit,a=i.Uc();i.bd("innerHTML",a.descriptions[r.index],i.od)}}function S(e,t){if(1&e){var n=i.Fc();i.Ec(0,"div",4),i.Qc("click",(function(e){i.nd(n);var t=i.Uc().$implicit;return i.Uc().handleClick(e,t.index)})),i.Ec(1,"video",11),i.zc(2,"source",12),i.zd(3," Your browser does not support the video tag. "),i.Dc(),i.Ec(4,"div",5),i.xd(5,x,1,3,"ngx-gallery-action",6),i.Dc(),i.xd(6,O,1,1,"div",7),i.Dc()}if(2&e){var r=i.Uc().$implicit,a=i.Uc();i.bd("ngClass",i.id(4,_,a.selectedIndex==r.index,a.selectedIndex>r.index,a.selectedIndex<r.index,a.clickable)),i.jc(2),i.bd("src",r.src,i.qd),i.jc(3),i.bd("ngForOf",a.actions),i.jc(1),i.bd("ngIf",a.showDescription&&a.descriptions[r.index])}}function P(e,t){if(1&e&&(i.Ec(0,"div"),i.xd(1,S,7,9,"div",10),i.Dc()),2&e){var n=t.$implicit;i.jc(1),i.bd("ngIf","video"===n.type)}}function E(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-bullets",13),i.Qc("bulletChange",(function(e){return i.nd(n),i.Uc().show(e)})),i.Dc()}if(2&e){var r=i.Uc();i.bd("count",r.images.length)("active",r.selectedIndex)}}function M(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-arrows",14),i.Qc("prevClick",(function(){return i.nd(n),i.Uc().showPrev()}))("nextClick",(function(){return i.nd(n),i.Uc().showNext()})),i.Dc()}if(2&e){var r=i.Uc();i.mc("ngx-gallery-image-size-",r.size,""),i.bd("prevDisabled",!r.canShowPrev())("nextDisabled",!r.canShowNext())("arrowPrevIcon",r.arrowPrevIcon)("arrowNextIcon",r.arrowNextIcon)}}var I=function(e,t){return{"ngx-gallery-active":e,"ngx-gallery-clickable":t}};function D(e,t){if(1&e&&i.zc(0,"div",9),2&e){var n=i.Uc(),r=n.$implicit,a=n.index,o=i.Uc();i.wd("background-image",o.getSafeUrl(r),i.rc),i.bd("ngClass",i.gd(3,I,a==o.selectedIndex,o.clickable))}}function j(e,t){if(1&e&&(i.Ec(0,"div",10),i.Ec(1,"video",11),i.zc(2,"source",12),i.zd(3," Your browser does not support the video tag. "),i.Dc(),i.Dc()),2&e){var n=i.Uc(),r=n.index,a=n.$implicit,o=i.Uc();i.jc(1),i.bd("ngClass",i.gd(2,I,r==o.selectedIndex,o.clickable)),i.jc(1),i.bd("src",a,i.qd)}}function A(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-action",13),i.Qc("closeClick",(function(e){i.nd(n);var r=t.$implicit,a=i.Uc().index;return r.onClick(e,a)})),i.Dc()}if(2&e){var r=t.$implicit;i.bd("icon",r.icon)("disabled",r.disabled)("titleText",r.titleText)}}function T(e,t){if(1&e&&(i.Ec(0,"div",14),i.Ec(1,"span",15),i.zd(2),i.Dc(),i.Dc()),2&e){var n=i.Uc(2);i.jc(2),i.Bd("+",n.remainingCountValue,"")}}function z(e,t){if(1&e){var n=i.Fc();i.Ec(0,"a",3),i.Qc("click",(function(e){i.nd(n);var r=t.index;return i.Uc().handleClick(e,r)})),i.xd(1,D,1,6,"div",4),i.xd(2,j,4,5,"div",5),i.Ec(3,"div",6),i.xd(4,A,1,3,"ngx-gallery-action",7),i.Dc(),i.xd(5,T,3,1,"div",8),i.Dc()}if(2&e){var r=t.$implicit,a=t.index,o=i.Uc();i.wd("width",o.getThumbnailWidth())("height",o.getThumbnailHeight())("left",o.getThumbnailLeft(a))("top",o.getThumbnailTop(a)),i.bd("href",o.hasLink(a)?o.links[a]:"#",i.qd)("target",o.linkTarget)("ngClass",i.gd(16,I,a==o.selectedIndex,o.clickable)),i.kc("aria-label",o.labels[a]),i.jc(1),i.bd("ngIf","image"==o.getFileType(r)),i.jc(1),i.bd("ngIf","video"==o.getFileType(r)),i.jc(2),i.bd("ngForOf",o.actions),i.jc(1),i.bd("ngIf",o.remainingCount&&o.remainingCountValue&&a==o.rows*o.columns-1)}}function L(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-arrows",16),i.Qc("prevClick",(function(){return i.nd(n),i.Uc().moveLeft()}))("nextClick",(function(){return i.nd(n),i.Uc().moveRight()})),i.Dc()}if(2&e){var r=i.Uc();i.bd("prevDisabled",!r.canMoveLeft())("nextDisabled",!r.canMoveRight())("arrowPrevIcon",r.arrowPrevIcon)("arrowNextIcon",r.arrowNextIcon)}}function N(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ngx-gallery-image",3),i.Qc("imageClick",(function(e){return i.nd(n),i.Uc().openPreview(e)}))("activeChange",(function(e){return i.nd(n),i.Uc().selectFromImage(e)})),i.Dc()}if(2&e){var r=i.Uc();i.wd("height",r.getImageHeight()),i.bd("images",r.mediumImages)("clickable",null==r.currentOptions?null:r.currentOptions.preview)("selectedIndex",r.selectedIndex)("arrows",null==r.currentOptions?null:r.currentOptions.imageArrows)("arrowsAutoHide",null==r.currentOptions?null:r.currentOptions.imageArrowsAutoHide)("arrowPrevIcon",null==r.currentOptions?null:r.currentOptions.arrowPrevIcon)("arrowNextIcon",null==r.currentOptions?null:r.currentOptions.arrowNextIcon)("swipe",null==r.currentOptions?null:r.currentOptions.imageSwipe)("animation",null==r.currentOptions?null:r.currentOptions.imageAnimation)("size",null==r.currentOptions?null:r.currentOptions.imageSize)("autoPlay",null==r.currentOptions?null:r.currentOptions.imageAutoPlay)("autoPlayInterval",null==r.currentOptions?null:r.currentOptions.imageAutoPlayInterval)("autoPlayPauseOnHover",null==r.currentOptions?null:r.currentOptions.imageAutoPlayPauseOnHover)("infinityMove",null==r.currentOptions?null:r.currentOptions.imageInfinityMove)("lazyLoading",null==r.currentOptions?null:r.currentOptions.lazyLoading)("actions",null==r.currentOptions?null:r.currentOptions.imageActions)("descriptions",r.descriptions)("showDescription",null==r.currentOptions?null:r.currentOptions.imageDescription)("bullets",null==r.currentOptions?null:r.currentOptions.imageBullets)}}var R=function(){return[]};function F(e,t){if(1&e){var n=i.Fc();
1i.Ec(0,"ngx-gallery-thumbnails",4),i.Qc("activeChange",(function(e){return i.nd(n),i.Uc().selectFromThumbnails(e)})),i.Dc()}if(2&e){var r=i.Uc();i.wd("margin-top",r.getThumbnailsMarginTop())("margin-bottom",r.getThumbnailsMarginBottom())("height",r.getThumbnailsHeight()),i.bd("images",r.smallImages)("links",null!=r.currentOptions&&r.currentOptions.thumbnailsAsLinks?r.links:i.ed(27,R))("labels",r.labels)("linkTarget",null==r.currentOptions?null:r.currentOptions.linkTarget)("selectedIndex",r.selectedIndex)("columns",null==r.currentOptions?null:r.currentOptions.thumbnailsColumns)("rows",null==r.currentOptions?null:r.currentOptions.thumbnailsRows)("margin",null==r.currentOptions?null:r.currentOptions.thumbnailMargin)("arrows",null==r.currentOptions?null:r.currentOptions.thumbnailsArrows)("arrowsAutoHide",null==r.currentOptions?null:r.currentOptions.thumbnailsArrowsAutoHide)("arrowPrevIcon",null==r.currentOptions?null:r.currentOptions.arrowPrevIcon)("arrowNextIcon",null==r.currentOptions?null:r.currentOptions.arrowNextIcon)("clickable",(null==r.currentOptions?null:r.currentOptions.image)||(null==r.currentOptions?null:r.currentOptions.preview))("swipe",null==r.currentOptions?null:r.currentOptions.thumbnailsSwipe)("size",null==r.currentOptions?null:r.currentOptions.thumbnailSize)("moveSize",null==r.currentOptions?null:r.currentOptions.thumbnailsMoveSize)("order",null==r.currentOptions?null:r.currentOptions.thumbnailsOrder)("remainingCount",null==r.currentOptions?null:r.currentOptions.thumbnailsRemainingCount)("lazyLoading",null==r.currentOptions?null:r.currentOptions.lazyLoading)("actions",null==r.currentOptions?null:r.currentOptions.thumbnailActions)("ngClass",null==r.currentOptions?null:r.currentOptions.thumbnailClasses)}}var V=function(e){return{"ngx-gallery-active":e}};function U(e,t){if(1&e){var n=i.Fc();i.Ec(0,"div",1),i.Qc("click",(function(e){i.nd(n);var r=t.index;return i.Uc().handleChange(e,r)})),i.Dc()}if(2&e){var r=t.index,a=i.Uc();i.bd("ngClass",i.fd(1,V,r==a.active))}}var H=function(){var e=function(){function e(t){_classCallCheck(this,e),this.renderer=t,this.swipeHandlers=new Map}return _createClass(e,[{key:"manageSwipe",value:function(e,t,n,i,r){var a=this.getSwipeHandlers(n);try{e&&!a?this.swipeHandlers.set(n,[this.renderer.listen(t.nativeElement,"swipeleft",(function(){return i()})),this.renderer.listen(t.nativeElement,"swiperight",(function(){return r()}))]):!e&&a&&(a.map((function(e){return e()})),this.removeSwipeHandlers(n))}catch(o){}}},{key:"validateUrl",value:function(e){return e.replace?e.replace(new RegExp(" ","g"),"%20").replace(new RegExp("'","g"),"%27"):e}},{key:"getBackgroundUrl",value:function(e){return"url('"+this.validateUrl(e)+"')"}},{key:"getFileType",value:function(e){var t=e.split(".").pop().toLowerCase();return"avi"===t||"flv"===t||"wmv"===t||"mov"===t||"mp4"===t?"video":"image"}},{key:"getSwipeHandlers",value:function(e){return this.swipeHandlers.get(e)}},{key:"removeSwipeHandlers",value:function(e){this.swipeHandlers.delete(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mc(i.L))},e.\u0275prov=Object(i.uc)({factory:function(){return new e(Object(i.Mc)(i.L))},token:e,providedIn:"root"}),e}(),B=function(){var e=function(){function e(t,n,r,a,o){_classCallCheck(this,e),this.sanitization=t,this.elementRef=n,this.helperService=r,this.renderer=a,this.changeDetectorRef=o,this.showSpinner=!1,this.positionLeft=0,this.positionTop=0,this.zoomValue=1,this.loading=!1,this.rotateValue=0,this.index=0,this.previewOpen=new i.s,this.previewClose=new i.s,this.activeChange=new i.s,this.isOpen=!1,this.initialX=0,this.initialY=0,this.initialLeft=0,this.initialTop=0,this.isMove=!1}return _createClass(e,[{key:"ngOnInit",value:function(){this.arrows&&this.arrowsAutoHide&&(this.arrows=!1)}},{key:"ngOnChanges",value:function(e){var t=this;e.swipe&&this.helperService.manageSwipe(this.swipe,this.elementRef,"preview",(function(){return t.showNext()}),(function(){return t.showPrev()}))}},{key:"ngOnDestroy",value:function(){this.keyDownListener&&this.keyDownListener()}},{key:"onMouseEnter",value:function(){this.arrowsAutoHide&&!this.arrows&&(this.arrows=!0)}},{key:"onMouseLeave",value:function(){this.arrowsAutoHide&&this.arrows&&(this.arrows=!1)}},{key:"onKeyDown",value:function(e){this.isOpen&&(this.keyboardNavigation&&(this.isKeyboardPrev(e)?this.showPrev():this.isKeyboardNext(e)&&this.showNext()),this.closeOnEsc&&this.isKeyboardEsc(e)&&this.close())}},{key:"open",value:function(e){var t=this;this.previewOpen.emit(),this.index=e,this.isOpen=!0,this.show(!0),this.forceFullscreen&&this.manageFullscreen(),this.keyDownListener=this.renderer.listen("window","keydown",(function(e){return t.onKeyDown(e)}))}},{key:"close",value:function(){this.isOpen=!1,this.closeFullscreen(),this.previewClose.emit(),this.stopAutoPlay(),this.keyDownListener&&this.keyDownListener()}},{key:"imageMouseEnter",value:function(){this.autoPlay&&this.autoPlayPauseOnHover&&this.stopAutoPlay()}},{key:"imageMouseLeave",value:function(){this.autoPlay&&this.autoPlayPauseOnHover&&this.startAutoPlay()}},{key:"startAutoPlay",value:function(){var e=this;this.autoPlay&&(this.stopAutoPlay(),this.timer=setTimeout((function(){e.showNext()||(e.index=-1,e.showNext())}),this.autoPlayInterval))}},{key:"stopAutoPlay",value:function(){this.timer&&clearTimeout(this.timer)}},{key:"showAtIndex",value:function(e){this.index=e,this.show()}},{key:"showNext",value:function(){return!!this.canShowNext()&&(this.index++,this.index===this.images.length&&(this.index=0),this.show(),!0)}},{key:"showPrev",value:function(){this.canShowPrev()&&(this.index--,this.index<0&&(this.index=this.images.length-1),this.show())}},{key:"canShowNext",value:function(){return!this.loading&&!!this.images&&(this.infinityMove||this.index<this.images.length-1)}},{key:"canShowPrev",value:function(){return!this.loading&&!!this.images&&(this.infinityMove||this.index>0)}},{key:"manageFullscreen",value:function(){if(this.fullscreen||this.forceFullscreen){var e=document;e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||e.msFullscreenElement?this.closeFullscreen():this.openFullscreen()}}},{key:"getSafeUrl",value:function(e){return this.sanitization.bypassSecurityTrustUrl(e)}},{key:"getFileType",value:function(e){return this.helperService.getFileType(e)}},{key:"zoomIn",value:function(){this.canZoomIn()&&(this.zoomValue+=this.zoomStep,this.zoomValue>this.zoomMax&&(this.zoomValue=this.zoomMax))}},{key:"zoomOut",value:function(){this.canZoomOut()&&(this.zoomValue-=this.zoomStep,this.zoomValue<this.zoomMin&&(this.zoomValue=this.zoomMin),this.zoomValue<=1&&this.resetPosition())}},{key:"rotateLeft",value:function(){this.rotateValue-=90}},{key:"rotateRight",value:function(){this.rotateValue+=90}},{key:"getTransform",value:function(){return this.sanitization.bypassSecurityTrustStyle("scale("+this.zoomValue+") rotate("+this.rotateValue+"deg)")}},{key:"canZoomIn",value:function(){return this.zoomValue<this.zoomMax}},{key:"canZoomOut",value:function(){return this.zoomValue>this.zoomMin}},{key:"canDragOnZoom",value:function(){return this.zoom&&this.zoomValue>1}},{key:"mouseDownHandler",value:function(e){this.canDragOnZoom()&&(this.initialX=this.getClientX(e),this.initialY=this.getClientY(e),this.initialLeft=this.positionLeft,this.initialTop=this.positionTop,this.isMove=!0,e.preventDefault())}},{key:"mouseUpHandler",value:function(e){this.isMove=!1}},{key:"mouseMoveHandler",value:function(e){this.isMove&&(this.positionLeft=this.initialLeft+(this.getClientX(e)-this.initialX),this.positionTop=this.initialTop+(this.getClientY(e)-this.initialY))}},{key:"getClientX",value:function(e){return e.touches&&e.touches.length?e.touches[0].clientX:e.clientX}},{key:"getClientY",value:function(e){return e.touches&&e.touches.length?e.touches[0].clientY:e.clientY}},{key:"resetPosition",value:function(){this.zoom&&(this.positionLeft=0,this.positionTop=0)}},{key:"isKeyboardNext",value:function(e){return 39===e.keyCode}}
1,{key:"isKeyboardPrev",value:function(e){return 37===e.keyCode}},{key:"isKeyboardEsc",value:function(e){return 27===e.keyCode}},{key:"openFullscreen",value:function(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.msRequestFullscreen?e.msRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()}},{key:"closeFullscreen",value:function(){if(this.isFullscreen()){var e=document;e.exitFullscreen?e.exitFullscreen():e.msExitFullscreen?e.msExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.webkitExitFullscreen&&e.webkitExitFullscreen()}}},{key:"isFullscreen",value:function(){var e=document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.loading=!0,this.stopAutoPlay(),this.activeChange.emit(this.index),t||!this.animation?this._show():setTimeout((function(){return e._show()}),600)}},{key:"_show",value:function(){var e=this;this.zoomValue=1,this.rotateValue=0,this.resetPosition(),this.src=this.getSafeUrl(this.images[this.index]),this.type=this.getFileType(this.images[this.index]),this.srcIndex=this.index,this.description=this.descriptions[this.index],this.changeDetectorRef.markForCheck(),setTimeout((function(){e.isLoaded(e.previewImage.nativeElement)||"video"===e.type?(e.loading=!1,e.startAutoPlay(),e.changeDetectorRef.markForCheck()):"video"===e.type||(setTimeout((function(){e.loading&&(e.showSpinner=!0,e.changeDetectorRef.markForCheck())})),e.previewImage.nativeElement.onload=function(){e.loading=!1,e.showSpinner=!1,e.previewImage.nativeElement.onload=null,e.startAutoPlay(),e.changeDetectorRef.markForCheck()})}))}},{key:"isLoaded",value:function(e){return!(!e.complete||void 0!==e.naturalWidth&&0===e.naturalWidth)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(r.c),i.yc(i.q),i.yc(H),i.yc(i.L),i.yc(i.j))},e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery-preview"]],viewQuery:function(e,t){var n;1&e&&i.Dd(o,!0),2&e&&i.jd(n=i.Rc())&&(t.previewImage=n.first)},hostBindings:function(e,t){1&e&&i.Qc("mouseenter",(function(){return t.onMouseEnter()}))("mouseleave",(function(){return t.onMouseLeave()}))},inputs:{arrows:"arrows",images:"images",descriptions:"descriptions",showDescription:"showDescription",arrowsAutoHide:"arrowsAutoHide",swipe:"swipe",fullscreen:"fullscreen",forceFullscreen:"forceFullscreen",closeOnClick:"closeOnClick",closeOnEsc:"closeOnEsc",keyboardNavigation:"keyboardNavigation",arrowPrevIcon:"arrowPrevIcon",arrowNextIcon:"arrowNextIcon",closeIcon:"closeIcon",fullscreenIcon:"fullscreenIcon",spinnerIcon:"spinnerIcon",autoPlay:"autoPlay",autoPlayInterval:"autoPlayInterval",autoPlayPauseOnHover:"autoPlayPauseOnHover",infinityMove:"infinityMove",zoom:"zoom",zoomStep:"zoomStep",zoomMax:"zoomMax",zoomMin:"zoomMin",zoomInIcon:"zoomInIcon",zoomOutIcon:"zoomOutIcon",animation:"animation",actions:"actions",rotate:"rotate",rotateLeftIcon:"rotateLeftIcon",rotateRightIcon:"rotateRightIcon",download:"download",downloadIcon:"downloadIcon",bullets:"bullets"},outputs:{previewOpen:"previewOpen",previewClose:"previewClose",activeChange:"activeChange"},features:[i.hc],decls:19,vars:18,consts:[[3,"prevDisabled","nextDisabled","arrowPrevIcon","arrowNextIcon","prevClick","nextClick",4,"ngIf"],[1,"ngx-gallery-preview-top"],[1,"ngx-gallery-preview-icons"],[3,"icon","disabled","titleText","closeClick",4,"ngFor","ngForOf"],["class","ngx-gallery-icon","aria-hidden","true","download","",3,"href",4,"ngIf"],[3,"icon","disabled","closeClick",4,"ngIf"],[3,"icon","closeClick",4,"ngIf"],[3,"icon","closeClick"],[1,"ngx-spinner-wrapper","ngx-gallery-center"],["aria-hidden","true"],[1,"ngx-gallery-preview-wrapper",3,"click","mouseup","mousemove","touchend","touchmove"],[1,"ngx-gallery-preview-img-wrapper"],["class","ngx-gallery-preview-img ngx-gallery-center",3,"src","ngx-gallery-active","animation","ngx-gallery-grab","transform","left","top","click","mouseenter","mouseleave","mousedown","touchstart",4,"ngIf"],["controls","","style","width: 100%; height: 100%;","class","ngx-gallery-preview-img ngx-gallery-center",3,"ngx-gallery-active","animation","ngx-gallery-grab","transform","left","top","click","mouseenter","mouseleave","mousedown","touchstart",4,"ngIf"],[3,"count","active","bulletChange",4,"ngIf"],["class","ngx-gallery-preview-text",3,"innerHTML","click",4,"ngIf"],[3,"prevDisabled","nextDisabled","arrowPrevIcon","arrowNextIcon","prevClick","nextClick"],[3,"icon","disabled","titleText","closeClick"],["aria-hidden","true","download","",1,"ngx-gallery-icon",3,"href"],[3,"icon","disabled","closeClick"],[1,"ngx-gallery-preview-img","ngx-gallery-center",3,"src","click","mouseenter","mouseleave","mousedown","touchstart"],["previewImage",""],["controls","",1,"ngx-gallery-preview-img","ngx-gallery-center",2,"width","100%","height","100%",3,"click","mouseenter","mouseleave","mousedown","touchstart"],[3,"src"],[3,"count","active","bulletChange"],[1,"ngx-gallery-preview-text",3,"innerHTML","click"]],template:function(e,t){1&e&&(i.xd(0,s,1,4,"ngx-gallery-arrows",0),i.Ec(1,"div",1),i.Ec(2,"div",2),i.xd(3,c,1,3,"ngx-gallery-action",3),i.xd(4,l,2,4,"a",4),i.xd(5,u,1,2,"ngx-gallery-action",5),i.xd(6,d,1,2,"ngx-gallery-action",5),i.xd(7,h,1,1,"ngx-gallery-action",6),i.xd(8,f,1,1,"ngx-gallery-action",6),i.xd(9,p,1,1,"ngx-gallery-action",6),i.Ec(10,"ngx-gallery-action",7),i.Qc("closeClick",(function(){return t.close()})),i.Dc(),i.Dc(),i.Dc(),i.Ec(11,"div",8),i.zc(12,"i",9),i.Dc(),i.Ec(13,"div",10),i.Qc("click",(function(){return t.closeOnClick&&t.close()}))("mouseup",(function(e){return t.mouseUpHandler(e)}))("mousemove",(function(e){return t.mouseMoveHandler(e)}))("touchend",(function(e){return t.mouseUpHandler(e)}))("touchmove",(function(e){return t.mouseMoveHandler(e)})),i.Ec(14,"div",11),i.xd(15,g,2,13,"img",12),i.xd(16,v,4,13,"video",13),i.xd(17,m,1,2,"ngx-gallery-bullets",14),i.Dc(),i.xd(18,b,1,1,"div",15),i.Dc()),2&e&&(i.bd("ngIf",t.arrows),i.jc(3),i.bd("ngForOf",t.actions),i.jc(1),i.bd("ngIf",t.download&&t.src),i.jc(1),i.bd("ngIf",t.zoom),i.jc(1),i.bd("ngIf",t.zoom),i.jc(1),i.bd("ngIf",t.rotate),i.jc(1),i.bd("ngIf",t.rotate),i.jc(1),i.bd("ngIf",t.fullscreen),i.jc(1),i.bd("icon","ngx-gallery-close "+t.closeIcon),i.jc(1),i.pc("ngx-gallery-active",t.showSpinner),i.jc(1),i.mc("ngx-gallery-icon ngx-gallery-spinner ",t.spinnerIcon,""),i.jc(3),i.bd("ngIf",t.src&&"image"==t.type),i.jc(1),i.bd("ngIf",t.src&&"video"==t.type),i.jc(1),i.bd("ngIf",t.bullets),i.jc(1),i.bd("ngIf",t.showDescription&&t.description))},directives:function(){return[a.u,a.t,te,ee,ne]},styles:[".ngx-gallery-active[_nghost-%COMP%]{width:100%;height:100%;position:fixed;left:0;top:0;background:rgba(0,0,0,.7);z-index:10000;display:inline-block;font-size:50px!important}[_nghost-%COMP%]{display:none;font-size:50px!important}[_nghost-%COMP%]   .ngx-gallery-arrow[_ngcontent-%COMP%]{font-size:50px!important}ngx-gallery-bullets[_ngcontent-%COMP%]{height:5%;align-items:center;padding:0}.ngx-gallery-preview-img[_ngcontent-%COMP%]{opacity:0;max-width:90%;max-height:90%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:transform .5s}.ngx-gallery-preview-img.animation[_ngcontent-%COMP%]{transition:opacity .5s linear,transform .5s}.ngx-gallery-preview-img.ngx-gallery-active[_ngcontent-%COMP%]{opacity:1}.ngx-gallery-preview-img.ngx-gallery-grab[_ngcontent-%COMP%]{cursor:-webkit-grab;cursor:grab}.ngx-gallery-icon.ngx-gallery-spinner[_ngcontent-%COMP%]{font-size:50px;left:0;display:inline-block}[_nghost-%COMP%]   .ngx-gallery-preview-top[_ngcontent-%COMP%]{position:absolute;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:25px}.ngx-gallery-preview-icons[_ngcontent-%COMP%]{float:right}.ngx-gallery-preview-icons[_ngcontent-%COMP%]   .ngx-gallery-icon[_ngcontent-%COMP%]{position:relative;margin-right:10px;margin-top:10px;font-size:25px;cursor:pointer;text-decoration:none}.ngx-gallery-preview-icons[_ngcontent-%COMP%]   .ngx-gallery-icon.ngx-gallery-icon-disabled[_ngcontent-%COMP%]{cursor:default;opacity:.4}.ngx-spinner-wrapper[_ngcontent-%COMP%]{width:50px;height:50px;display:none}.ngx-spinner-wrapper.ngx-gallery-active[_ngcontent-%COMP%]{display:inline-block}.ngx-gallery-center[_ngcontent-%COMP%]{position:absolute;
1left:0;right:0;bottom:0;margin:auto;top:0}.ngx-gallery-preview-text[_ngcontent-%COMP%]{width:100%;background:rgba(0,0,0,.7);padding:10px;text-align:center;color:#fff;font-size:16px;flex:0 1 auto;z-index:10}.ngx-gallery-preview-wrapper[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-flow:column}.ngx-gallery-preview-img-wrapper[_ngcontent-%COMP%]{flex:1 1 auto;position:relative}"],changeDetection:0}),e}(),q=function(){var e=function e(){_classCallCheck(this,e)};return e.Fade="fade",e.Slide="slide",e.Rotate="rotate",e.Zoom="zoom",e}(),$=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.sanitization=t,this.elementRef=n,this.helperService=r,this.imageClick=new i.s,this.activeChange=new i.s,this.canChangeImage=!0}return _createClass(e,[{key:"ngOnInit",value:function(){this.arrows&&this.arrowsAutoHide&&(this.arrows=!1),this.autoPlay&&this.startAutoPlay()}},{key:"ngOnChanges",value:function(e){var t=this;e.swipe&&this.helperService.manageSwipe(this.swipe,this.elementRef,"image",(function(){return t.showNext()}),(function(){return t.showPrev()}))}},{key:"onMouseEnter",value:function(){this.arrowsAutoHide&&!this.arrows&&(this.arrows=!0),this.autoPlay&&this.autoPlayPauseOnHover&&this.stopAutoPlay()}},{key:"onMouseLeave",value:function(){this.arrowsAutoHide&&this.arrows&&(this.arrows=!1),this.autoPlay&&this.autoPlayPauseOnHover&&this.startAutoPlay()}},{key:"reset",value:function(e){this.selectedIndex=e}},{key:"getImages",value:function(){if(!this.images)return[];if(this.lazyLoading){var e=[this.selectedIndex],t=this.selectedIndex-1;-1===t&&this.infinityMove?e.push(this.images.length-1):t>=0&&e.push(t);var n=this.selectedIndex+1;return n===this.images.length&&this.infinityMove?e.push(0):n<this.images.length&&e.push(n),this.images.filter((function(t,n){return-1!==e.indexOf(n)}))}return this.images}},{key:"startAutoPlay",value:function(){var e=this;this.stopAutoPlay(),this.timer=setInterval((function(){e.showNext()||(e.selectedIndex=-1,e.showNext())}),this.autoPlayInterval)}},{key:"stopAutoPlay",value:function(){this.timer&&clearInterval(this.timer)}},{key:"handleClick",value:function(e,t){this.clickable&&(this.imageClick.emit(t),e.stopPropagation(),e.preventDefault())}},{key:"show",value:function(e){this.selectedIndex=e,this.activeChange.emit(this.selectedIndex),this.setChangeTimeout()}},{key:"showNext",value:function(){return!(!this.canShowNext()||!this.canChangeImage||(this.selectedIndex++,this.selectedIndex===this.images.length&&(this.selectedIndex=0),this.activeChange.emit(this.selectedIndex),this.setChangeTimeout(),0))}},{key:"showPrev",value:function(){this.canShowPrev()&&this.canChangeImage&&(this.selectedIndex--,this.selectedIndex<0&&(this.selectedIndex=this.images.length-1),this.activeChange.emit(this.selectedIndex),this.setChangeTimeout())}},{key:"setChangeTimeout",value:function(){var e=this;this.canChangeImage=!1;var t=1e3;this.animation!==q.Slide&&this.animation!==q.Fade||(t=500),setTimeout((function(){e.canChangeImage=!0}),t)}},{key:"canShowNext",value:function(){return!!this.images&&(this.infinityMove||this.selectedIndex<this.images.length-1)}},{key:"canShowPrev",value:function(){return!!this.images&&(this.infinityMove||this.selectedIndex>0)}},{key:"getSafeUrl",value:function(e){return this.sanitization.bypassSecurityTrustStyle(this.helperService.getBackgroundUrl(e))}},{key:"getFileType",value:function(e){return this.helperService.getFileType(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(r.c),i.yc(i.q),i.yc(H))},e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery-image"]],hostBindings:function(e,t){1&e&&i.Qc("mouseenter",(function(){return t.onMouseEnter()}))("mouseleave",(function(){return t.onMouseLeave()}))},inputs:{arrows:"arrows",selectedIndex:"selectedIndex",images:"images",clickable:"clickable",arrowsAutoHide:"arrowsAutoHide",swipe:"swipe",animation:"animation",size:"size",arrowPrevIcon:"arrowPrevIcon",arrowNextIcon:"arrowNextIcon",autoPlay:"autoPlay",autoPlayInterval:"autoPlayInterval",autoPlayPauseOnHover:"autoPlayPauseOnHover",infinityMove:"infinityMove",lazyLoading:"lazyLoading",actions:"actions",descriptions:"descriptions",showDescription:"showDescription",bullets:"bullets"},outputs:{imageClick:"imageClick",activeChange:"activeChange"},features:[i.hc],decls:5,vars:8,consts:[[4,"ngFor","ngForOf"],[3,"count","active","bulletChange",4,"ngIf"],[3,"class","prevDisabled","nextDisabled","arrowPrevIcon","arrowNextIcon","prevClick","nextClick",4,"ngIf"],["class","ngx-gallery-image",3,"ngClass","background-image","click",4,"ngIf"],[1,"ngx-gallery-image",3,"ngClass","click"],[1,"ngx-gallery-icons-wrapper"],[3,"icon","disabled","titleText","closeClick",4,"ngFor","ngForOf"],["class","ngx-gallery-image-text",3,"innerHTML","click",4,"ngIf"],[3,"icon","disabled","titleText","closeClick"],[1,"ngx-gallery-image-text",3,"innerHTML","click"],["class","ngx-gallery-image",3,"ngClass","click",4,"ngIf"],["controls","",2,"width","100%","height","100%","background","#000"],[3,"src"],[3,"count","active","bulletChange"],[3,"prevDisabled","nextDisabled","arrowPrevIcon","arrowNextIcon","prevClick","nextClick"]],template:function(e,t){1&e&&(i.Ec(0,"div"),i.xd(1,k,2,1,"div",0),i.xd(2,P,2,1,"div",0),i.Dc(),i.xd(3,E,1,2,"ngx-gallery-bullets",1),i.xd(4,M,1,7,"ngx-gallery-arrows",2)),2&e&&(i.nc("ngx-gallery-image-wrapper ngx-gallery-animation-",t.animation," ngx-gallery-image-size-",t.size,""),i.jc(1),i.bd("ngForOf",t.getImages()),i.jc(1),i.bd("ngForOf",t.getImages()),i.jc(1),i.bd("ngIf",t.bullets),i.jc(1),i.bd("ngIf",t.arrows))},directives:function(){return[a.t,a.u,a.r,te,ne,ee]},styles:["[_nghost-%COMP%]{width:100%;display:inline-block;position:relative;font-size:25px}.ngx-gallery-image-wrapper[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;
1left:0;top:0;overflow:hidden}.ngx-gallery-image[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;height:100%;width:100%;position:absolute;top:0}.ngx-gallery-image-size-cover[_ngcontent-%COMP%]   .ngx-gallery-image[_ngcontent-%COMP%]{background-size:cover}.ngx-gallery-image-size-contain[_ngcontent-%COMP%]   .ngx-gallery-image[_ngcontent-%COMP%]{background-size:contain}.ngx-gallery-animation-fade[_ngcontent-%COMP%]   .ngx-gallery-image[_ngcontent-%COMP%]{left:0;opacity:0;transition:.5s ease-in-out}.ngx-gallery-animation-fade[_ngcontent-%COMP%]   .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%]{opacity:1}.ngx-gallery-animation-slide[_ngcontent-%COMP%]   .ngx-gallery-image[_ngcontent-%COMP%]{transition:.5s ease-in-out}.ngx-gallery-animation-slide[_ngcontent-%COMP%]   .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%]{transform:translateX(0)}.ngx-gallery-animation-slide[_ngcontent-%COMP%]   .ngx-gallery-image.ngx-gallery-inactive-left[_ngcontent-%COMP%]{transform:translateX(-100%)}.ngx-gallery-animation-slide[_ngcontent-%COMP%]   .ngx-gallery-image.ngx-gallery-inactive-right[_ngcontent-%COMP%]{transform:translateX(100%)}.ngx-gallery-animation-rotate[_ngcontent-%COMP%]   .ngx-gallery-image[_ngcontent-%COMP%]{transition:1s;transform:scale(3.5,3.5) rotate(90deg);left:0;opacity:0}
1.ngx-gallery-animation-rotate[_ngcontent-%COMP%]   .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%]{transform:scale(1,1) rotate(0);opacity:1}.ngx-gallery-animation-zoom[_ngcontent-%COMP%]   .ngx-gallery-image[_ngcontent-%COMP%]{transition:1s;transform:scale(2.5,2.5);left:0;opacity:0}.ngx-gallery-animation-zoom[_ngcontent-%COMP%]   .ngx-gallery-image.ngx-gallery-active[_ngcontent-%COMP%]{transform:scale(1,1);opacity:1}.ngx-gallery-image-text[_ngcontent-%COMP%]{width:100%;background:rgba(0,0,0,.7);padding:10px;text-align:center;color:#fff;font-size:16px;position:absolute;bottom:0;z-index:10}"],changeDetection:0}),e}(),W=function(){var e=function e(){_classCallCheck(this,e)};return e.Column=1,e.Row=2,e.Page=3,e}(),G=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.sanitization=t,this.elementRef=n,this.helperService=r,this.minStopIndex=0,this.activeChange=new i.s,this.index=0}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"ngOnChanges",value:function(e){var t=this;e.selectedIndex&&this.validateIndex(),e.swipe&&this.helperService.manageSwipe(this.swipe,this.elementRef,"thumbnails",(function(){return t.moveRight()}),(function(){return t.moveLeft()})),this.images&&(this.remainingCountValue=this.images.length-this.rows*this.columns)}},{key:"onMouseEnter",value:function(){this.mouseenter=!0}},{key:"onMouseLeave",value:function(){this.mouseenter=!1}},{key:"reset",value:function(e){this.selectedIndex=e,this.setDefaultPosition(),this.index=0,this.validateIndex()}},{key:"getImages",value:function(){if(!this.images)return[];if(this.remainingCount)return this.images.slice(0,this.rows*this.columns);if(this.lazyLoading&&this.order!==W.Row){var e=0;return this.order===W.Column?e=(this.index+this.columns+this.moveSize)*this.rows:this.order===W.Page&&(e=this.index+this.columns*this.rows*2),e<=this.minStopIndex?e=this.minStopIndex:this.minStopIndex=e,this.images.slice(0,e)}return this.images}},{key:"handleClick",value:function(e,t){this.hasLink(t)||(this.selectedIndex=t,this.activeChange.emit(t),e.stopPropagation(),e.preventDefault())}},{key:"hasLink",value:function(e){if(this.links&&this.links.length&&this.links[e])return!0}},{key:"moveRight",value:function(){if(this.canMoveRight()){this.index+=this.moveSize;var e=this.getMaxIndex()-this.columns;this.index>e&&(this.index=e),this.setThumbnailsPosition()}}},{key:"moveLeft",value:function(){this.canMoveLeft()&&(this.index-=this.moveSize,this.index<0&&(this.index=0),this.setThumbnailsPosition())}},{key:"canMoveRight",value:function(){return this.index+this.columns<this.getMaxIndex()}},{key:"canMoveLeft",value:function(){return 0!==this.index}},{key:"getThumbnailLeft",value:function(e){var t;return t=this.order===W.Column?Math.floor(e/this.rows):this.order===W.Page?e%this.columns+Math.floor(e/(this.rows*this.columns))*this.columns:this.order===W.Row&&this.remainingCount?e%this.columns:e%Math.ceil(this.images.length/this.rows),this.getThumbnailPosition(t,this.columns)}},{key:"getThumbnailTop",value:function(e){var t;return t=this.order===W.Column?e%this.rows:this.order===W.Page?Math.floor(e/this.columns)-Math.floor(e/(this.rows*this.columns))*this.rows:this.order===W.Row&&this.remainingCount?Math.floor(e/this.columns):Math.floor(e/Math.ceil(this.images.length/this.rows)),this.getThumbnailPosition(t,this.rows)}},{key:"getThumbnailWidth",value:function(){return this.getThumbnailDimension(this.columns)}},{key:"getThumbnailHeight",value:function(){return this.getThumbnailDimension(this.rows)}},{key:"setThumbnailsPosition",value:function(){this.thumbnailsLeft=-100/this.columns*this.index+"%",this.thumbnailsMarginLeft=-(this.margin-(this.columns-1)*this.margin/this.columns)*this.index+"px"}},{key:"setDefaultPosition",value:function(){this.thumbnailsLeft="0px",this.thumbnailsMarginLeft="0px"}},{key:"canShowArrows",value:function(){return!this.remainingCount&&this.arrows&&this.images&&this.images.length>this.getVisibleCount()&&(!this.arrowsAutoHide||this.mouseenter)}},{key:"validateIndex",value:function(){var e;if(this.images&&(e=this.order===W.Column?Math.floor(this.selectedIndex/this.rows):this.selectedIndex%Math.ceil(this.images.length/this.rows),this.remainingCount&&(e=0),e<this.index||e>=this.index+this.columns)){var t=this.getMaxIndex()-this.columns;this.index=e>t?t:e,this.setThumbnailsPosition()}}},{key:"getSafeUrl",value:function(e){return this.sanitization.bypassSecurityTrustStyle(this.helperService.getBackgroun
1dUrl(e))}},{key:"getFileType",value:function(e){return this.helperService.getFileType(e)}},{key:"getThumbnailPosition",value:function(e,t){return this.getSafeStyle("calc("+100/t*e+"% + "+(this.margin-(t-1)*this.margin/t)*e+"px)")}},{key:"getThumbnailDimension",value:function(e){return this.getSafeStyle(0!==this.margin?"calc("+100/e+"% - "+(e-1)*this.margin/e+"px)":"calc("+100/e+"% + 1px)")}},{key:"getMaxIndex",value:function(){if(this.order===W.Page){var e=Math.floor(this.images.length/this.getVisibleCount())*this.columns;return this.images.length%this.getVisibleCount()>this.columns?e+=this.columns:e+=this.images.length%this.getVisibleCount(),e}return Math.ceil(this.images.length/this.rows)}},{key:"getVisibleCount",value:function(){return this.columns*this.rows}},{key:"getSafeStyle",value:function(e){return this.sanitization.bypassSecurityTrustStyle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(r.c),i.yc(i.q),i.yc(H))},e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery-thumbnails"]],hostBindings:function(e,t){1&e&&i.Qc("mouseenter",(function(){return t.onMouseEnter()}))("mouseleave",(function(){return t.onMouseLeave()}))},inputs:{selectedIndex:"selectedIndex",images:"images",links:"links",labels:"labels",linkTarget:"linkTarget",columns:"columns",rows:"rows",arrows:"arrows",arrowsAutoHide:"arrowsAutoHide",margin:"margin",clickable:"clickable",swipe:"swipe",size:"size",arrowPrevIcon:"arrowPrevIcon",arrowNextIcon:"arrowNextIcon",moveSize:"moveSize",order:"order",remainingCount:"remainingCount",lazyLoading:"lazyLoading",actions:"actions"},outputs:{activeChange:"activeChange"},features:[i.hc],decls:4,vars:9,consts:[[1,"ngx-gallery-thumbnails"],["class","ngx-gallery-thumbnail",3,"href","target","width","height","left","top","ngClass","click",4,"ngFor","ngForOf"],[3,"prevDisabled","nextDisabled","arrowPrevIcon","arrowNextIcon","prevClick","nextClick",4,"ngIf"],[1,"ngx-gallery-thumbnail",3,"href","target","ngClass","click"],["class","ngx-gallery-thumbnail","style","width: 100%; height: 100%; position:absolute;",3,"background-image","ngClass",4,"ngIf"],["class","ngx-gallery-thumbnail-video",4,"ngIf"],[1,"ngx-gallery-icons-wrapper"],[3,"icon","disabled","titleText","closeClick",4,"ngFor","ngForOf"],["class","ngx-gallery-remaining-count-overlay",4,"ngIf"],[1,"ngx-gallery-thumbnail",2,"width","100%","height","100%","position","absolute",3,"ngClass"],[1,"ngx-gallery-thumbnail-video"],[1,"ngx-gallery-thumbnail",2,"width","100%","height","100%","position","absolute","left","0","background","#000",3,"ngClass"],[3,"src"],[3,"icon","disabled","titleText","closeClick"],[1,"ngx-gallery-remaining-count-overlay"],[1,"ngx-gallery-remaining-count"],[3,"prevDisabled","nextDisabled","arrowPrevIcon","arrowNextIcon","prevClick","nextClick"]],template:function(e,t){1&e&&(i.Ec(0,"div"),i.Ec(1,"div",0),i.xd(2,z,6,19,"a",1),i.Dc(),i.Dc(),i.xd(3,L,1,4,"ngx-gallery-arrows",2)),2&e&&(i.mc("ngx-gallery-thumbnails-wrapper ngx-gallery-thumbnail-size-",t.size,""),i.jc(1),i.wd("transform","translateX("+t.thumbnailsLeft+")")("margin-left",t.thumbnailsMarginLeft),i.jc(1),i.bd("ngForOf",t.getImages()),i.jc(1),i.bd("ngIf",t.canShowArrows()))},directives:function(){return[a.t,a.u,a.r,te,ee]},styles:['@charset "UTF-8";[_nghost-%COMP%]{width:100%;display:inline-block;position:relative;font-size:25px}.ngx-gallery-thumbnails-wrapper[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;overflow:hidden}.ngx-gallery-thumbnails[_ngcontent-%COMP%]{height:100%;width:100%;position:absolute;left:0;transform:translateX(0);transition:transform .5s ease-in-out;will-change:transform}.ngx-gallery-thumbnails[_ngcontent-%COMP%]   .ngx-gallery-thumbnail[_ngcontent-%COMP%]{position:absolute;height:100%;background-position:center;background-repeat:no-repeat;text-decoration:none;border:1px double #000}.ngx-gallery-thumbnails[_ngcontent-%COMP%]   .ngx-gallery-thumbnail[_ngcontent-%COMP%]   .ngx-gallery-thumbnail-video[_ngcontent-%COMP%]::after{content:"\uf144";display:block;position:absolute;background:#0000;height:100%;width:100%;left:0;top:calc(50% - 20px);font-size:40px;color:#fff;margin:0;padding:0;font-family:fontawesome;text-shadow:0 4px 3px rgba(0,0,0,.4),0 8px 13px rgba(0,0,0,.1),0 18px 23px rgba(0,0,0,.1)}
1.ngx-gallery-thumbnails[_ngcontent-%COMP%]   .ngx-gallery-thumbnail[_ngcontent-%COMP%]   .img[_ngcontent-%COMP%]{background-size:cover;height:100%}.ngx-gallery-thumbnails[_ngcontent-%COMP%]   .ngx-gallery-thumbnail.ngx-gallery-active[_ngcontent-%COMP%]{border:1px double #cc4548}.ngx-gallery-thumbnail-size-cover[_ngcontent-%COMP%]   .ngx-gallery-thumbnails[_ngcontent-%COMP%]   .ngx-gallery-thumbnail[_ngcontent-%COMP%]{background-size:cover}.ngx-gallery-thumbnail-size-contain[_ngcontent-%COMP%]   .ngx-gallery-thumbnails[_ngcontent-%COMP%]   .ngx-gallery-thumbnail[_ngcontent-%COMP%]{background-size:contain}.ngx-gallery-remaining-count-overlay[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;left:0;top:0;background-color:rgba(0,0,0,.4)}.ngx-gallery-remaining-count[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:30px}'],changeDetection:0}),e}(),X=function e(t){_classCallCheck(this,e),this.icon=t.icon,this.disabled=!!t.disabled&&t.disabled,this.titleText=t.titleText?t.titleText:"",this.onClick=t.onClick},Z=function(){var e=function e(){_classCallCheck(this,e)};return e.ThumbnailsTop="thumbnails-top",e.ThumbnailsBottom="thumbnails-bottom",e}(),Y=function(){var e=function e(){_classCallCheck(this,e)};return e.Cover="cover",e.Contain="contain",e}(),Q=function e(t){_classCallCheck(this,e);var n=void 0!==t.breakpoint;function i(e,i){return t&&(void 0!==e||n)?e:i}this.breakpoint=i(t.breakpoint,void 0),this.width=i(t.width,"500px"),this.height=i(t.height,"400px"),this.fullWidth=i(t.fullWidth,!1),this.layout=i(t.layout,Z.ThumbnailsBottom),this.startIndex=i(t.startIndex,0),this.linkTarget=i(t.linkTarget,"_blank"),this.lazyLoading=i(t.lazyLoading,!0),this.image=i(t.image,!0),this.imagePercent=i(t.imagePercent,75),this.imageArrows=i(t.imageArrows,!0),this.imageArrowsAutoHide=i(t.imageArrowsAutoHide,!1),this.imageSwipe=i(t.imageSwipe,!1),this.imageAnimation=i(t.imageAnimation,q.Fade),this.imageSize=i(t.imageSize,Y.Cover),this.imageAutoPlay=i(t.imageAutoPlay,!1),this.imageAutoPlayInterval=i(t.imageAutoPlayInterval,2e3),this.imageAutoPlayPauseOnHover=i(t.imageAutoPlayPauseOnHover,!1),this.imageInfinityMove=i(t.imageInfinityMove,!1),t&&t.imageActions&&t.imageActions.length&&(t.imageActions=t.imageActions.map((function(e){return new X(e)}))),this.imageActions=i(t.imageActions,[]),this.imageDescription=i(t.imageDescription,!1),this.imageBullets=i(t.imageBullets,!1),this.thumbnails=i(t.thumbnails,!0),this.thumbnailsColumns=i(t.thumbnailsColumns,4),this.thumbnailsRows=i(t.thumbnailsRows,1),this.thumbnailsPercent=i(t.thumbnailsPercent,25),this.thumbnailsMargin=i(t.thumbnailsMargin,10),this.thumbnailsArrows=i(t.thumbnailsArrows,!0),this.thumbnailsArrowsAutoHide=i(t.thumbnailsArrowsAutoHide,!1),this.thumbnailsSwipe=i(t.thumbnailsSwipe,!1),this.thumbnailsMoveSize=i(t.thumbnailsMoveSize,1),this.thumbnailsOrder=i(t.thumbnailsOrder,W.Column),this.thumbnailsRemainingCount=i(t.thumbnailsRemainingCount,!1),this.thumbnailsAsLinks=i(t.thumbnailsAsLinks,!1),this.thumbnailsAutoHide=i(t.thumbnailsAutoHide,!1),this.thumbnailMargin=i(t.thumbnailMargin,10),this.thumbnailSize=i(t.thumbnailSize,Y.Cover),t&&t.thumbnailActions&&t.thumbnailActions.length&&(t.thumbnailActions=t.thumbnailActions.map((function(e){return new X(e)}))),this.thumbnailActions=i(t.thumbnailActions,[]),this.thumbnailClasses=i(t.thumbnailClasses,[]),this.preview=i(t.preview,!0),this.previewDescription=i(t.previewDescription,!0),this.previewArrows=i(t.previewArrows,!0),this.previewArrowsAutoHide=i(t.previewArrowsAutoHide,!1),this.previewSwipe=i(t.previewSwipe,!1),this.previewFullscreen=i(t.previewFullscreen,!1),this.previewForceFullscreen=i(t.previewForceFullscreen,!1),this.previewCloseOnClick=i(t.previewCloseOnClick,!1),this.previewCloseOnEsc=i(t.previewCloseOnEsc,!1),this.previewKeyboardNavigation=i(t.previewKeyboardNavigation,!1),this.previewAnimation=i(t.previewAnimation,!0),this.previewAutoPlay=i(t.previewAutoPlay,!1),this.previewAutoPlayInterval=i(t.previewAutoPlayInterval,2e3),this.previewAutoPlayPauseOnHover=i(t.previewAutoPlayPauseOnHover,!1),this.previewInfinityMove=i(t.previewInfinityMove,!1),this.previewZoom=i(t.previewZoom,!1),this.previewZoomStep=i(t.previewZoomStep,.1),this.previewZoomMax=i(t.previewZoomMax,2),this.previewZoomMin=i(t.previewZoomMin,.5),this.previewRotate=i(t.previewRotate,!1),this.previewDownload=i(t.previewDownload,!1),this.previewCustom=i(t.previewCustom,void 0),this.previewBullets=i(t.previewBullets,!1),this.arrowPrevIcon=i(t.arrowPrevIcon,"fa fa-arrow-circle-left"),this.arrowNextIcon=i(t.arrowNextIcon,"fa fa-arrow-circle-right"),this.closeIcon=i(t.closeIcon,"fa fa-times-circle"),this.fullscreenIcon=i(t.fullscreenIcon,"fa fa-arrows-alt"),this.spinnerIcon=i(t.spinnerIcon,"fa fa-spinner fa-pulse fa-3x fa-fw"),this.zoomInIcon=i(t.zoomInIcon,"fa fa-search-plus"),this.zoomOutIcon=i(t.zoomOutIcon,"fa fa-search-minus"),this.rotateLeftIcon=i(t.rotateLeftIcon,"fa fa-undo"),this.rotateRightIcon=i(t.rotateRightIcon,"fa fa-repeat"),this.downloadIcon=i(t.downloadIcon,"fa fa-arrow-circle-down"),t&&t.actions&&t.actions.length&&(t.actions=t.actions.map((function(e){return new X(e)}))),this.actions=i(t.actions,[])},K=function e(t){_classCallCheck(this,e),this.src=t.src,this.type=t.type,this.index=t.index},J=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.myElement=t,this.helperService=n,this.options=[{}],this.imagesReady=new i.s,this.change=new i.s,this.previewOpen=new i.s,this.previewClose=new i.s,this.previewChange=new i.s,this.oldImagesLength=0,this.selectedIndex=0,this.breakpoint=void 0,this.prevBreakpoint=void 0}return _createClass(e,[{key:"ngOnInit",value:function(){this.options=this.options.map((function(e){return new Q(e)})),this.sortOptions(),this.setBreakpoint(),this.setOptions(),this.checkFullWidth(),this.currentOptions&&(this.selectedIndex=this.currentOptions.startIndex)}},{key:"ngDoCheck",value:function(){(void 0!==this.images&&this.images.length!==this.oldImagesLength||this.images!==this.oldImages)&&(this.oldImagesLength=this.images.length,this.oldImages=this.images,this.setOptions(),this.setImages(),this.images&&this.images.length&&this.imagesReady.emit(),this.image&&this.image.reset(this.currentOptions.startIndex),this.currentOptions.thumbnailsAutoHide&&this.currentOptions.thumbnails&&this.images.length<=1&&(this.currentOptions.thumbnails=!1,this.currentOptions.imageArrows=!1),this.resetThumbnails())}},{key:"ngAfterViewInit",value:function(){this.checkFullWidth()}},{key:"onResize",value:function(){var e=this;this.setBreakpoint(),this.prevBreakpoint!==this.breakpoint&&(this.setOptions(),this.resetThumbnails()),this.currentOptions&&this.currentOptions.fullWidth&&(this.fullWidthTimeout&&clearTimeout(this.fullWidthTimeout),this.fullWidthTimeout=setTimeout((function(){e.checkFullWidth()}),200))}},{key:"getImageHeight",value:function(){return this.currentOptions&&this.currentOptions.thumbnails?this.currentOptions.imagePercent+"%":"100%"}},{key:"getThumbnailsHeight",value:function(){return this.currentOptions&&this.currentOptions.image?"calc("+this.currentOptions.thumbnailsPercent+"% - "+this.currentOptions.thumbnailsMargin+"px)":"100%"}},{key:"getThumbnailsMarginTop",value:function(){return this.currentOptions&&this.currentOptions.layout===Z.ThumbnailsBottom?this.currentOptions.thumbnailsMargin+"px":"0px"}},{key:"getThumbnailsMarginBottom",value:function(){return this.currentOptions&&this.currentOptions.layout===Z.ThumbnailsTop?this.currentOptions.thumbnailsMargin+"px":"0px"}},{key:"openPreview",value:function(e){this.currentOptions.previewCustom?this.currentOptions.previewCustom(e):(this.previewEnabled=!0,this.preview.open(e))}},{key:"onPreviewOpen",value:function(){this.previewOpen.emit(),this.image&&this.image.autoPlay&&this.image.stopAutoPlay()}},{key:"onPreviewClose",value:function(){this.previewEnabled=!1,this.previewClose.emit(),this.image&&this.image.autoPlay&&this.image.startAutoPlay()}},{key:"selectFromImage",value:function(e){this.select(e)}},{key:"selectFromThumbnails",value:function(e){this.select(e),this.currentOptions&&this.currentOptions.thumbnails&&this.currentOptions.preview&&(!this.currentOptions.image||this.currentOptions.thumbnailsRemainingCount)&&this.openPreview(this.selectedIndex)}},{key:"show",value:function(e){this.select(e)}},{key:"showNext",value:function(){this.image.showNext()}},{key:"showPrev",value:function(){this.image.showPrev()}},{key:"canShowNext",value:function(){return!(!this.images||!this.currentOptions||!(this.currentOptions.imageInfinityMove||this.selectedIndex<this.images.length-1))}},{key:"canShowPrev",value:function(){return!(!this.images||!this.currentOptions||!(this.currentOptions.imageInfinityMove||this.selectedIndex>0))}},{key:"previewSelect",value:function(e){this.previewChange.emit({index:e,image:this.images[e]})}}
1,{key:"moveThumbnailsRight",value:function(){this.thumbnails.moveRight()}},{key:"moveThumbnailsLeft",value:function(){this.thumbnails.moveLeft()}},{key:"canMoveThumbnailsRight",value:function(){return this.thumbnails.canMoveRight()}},{key:"canMoveThumbnailsLeft",value:function(){return this.thumbnails.canMoveLeft()}},{key:"resetThumbnails",value:function(){this.thumbnails&&this.thumbnails.reset(this.currentOptions.startIndex)}},{key:"select",value:function(e){this.selectedIndex=e,this.change.emit({index:e,image:this.images[e]})}},{key:"checkFullWidth",value:function(){this.currentOptions&&this.currentOptions.fullWidth&&(this.width=document.body.clientWidth+"px",this.left="translateX("+-(document.body.clientWidth-this.myElement.nativeElement.parentNode.innerWidth)/2+"px)")}},{key:"setImages",value:function(){var e=this;this.images.forEach((function(t){return t.type=e.helperService.getFileType(t.url||t.big||t.medium||t.small||"")})),this.smallImages=this.images.map((function(e){return e.small})),this.mediumImages=this.images.map((function(e,t){return new K({src:e.medium,type:e.type,index:t})})),this.bigImages=this.images.map((function(e){return e.big})),this.descriptions=this.images.map((function(e){return e.description})),this.links=this.images.map((function(e){return e.url})),this.labels=this.images.map((function(e){return e.label}))}},{key:"setBreakpoint",value:function(){var e;this.prevBreakpoint=this.breakpoint,"undefined"!=typeof window&&(e=this.options.filter((function(e){return e.breakpoint>=window.innerWidth})).map((function(e){return e.breakpoint}))),this.breakpoint=e&&e.length?e.pop():void 0}},{key:"sortOptions",value:function(){this.options=[].concat(_toConsumableArray2(this.options.filter((function(e){return void 0===e.breakpoint}))),_toConsumableArray2(this.options.filter((function(e){return void 0!==e.breakpoint})).sort((function(e,t){return t.breakpoint-e.breakpoint}))))}},{key:"setOptions",value:function(){var e=this;this.currentOptions=new Q({}),this.options.filter((function(t){return void 0===t.breakpoint||t.breakpoint>=e.breakpoint})).map((function(t){return e.combineOptions(e.currentOptions,t)})),this.width=this.currentOptions.width,this.height=this.currentOptions.height}},{key:"combineOptions",value:function(e,t){Object.keys(t).map((function(n){return e[n]=void 0!==t[n]?t[n]:e[n]}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(H))},e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery"]],viewQuery:function(e,t){var n;1&e&&(i.Dd(B,!0),i.Dd($,!0),i.Dd(G,!0)),2&e&&(i.jd(n=i.Rc())&&(t.preview=n.first),i.jd(n=i.Rc())&&(t.image=n.first),i.jd(n=i.Rc())&&(t.thumbnails=n.first))},hostVars:6,hostBindings:function(e,t){1&e&&i.Qc("resize",(function(){return t.onResize()}),!1,i.md),2&e&&i.wd("width",t.width)("transform",t.left)("height",t.height)},inputs:{options:"options",images:"images"},outputs:{imagesReady:"imagesReady",change:"change",previewOpen:"previewOpen",previewClose:"previewClose",previewChange:"previewChange"},features:[i.ic([H])],decls:4,vars:41,consts:[[3,"height","images","clickable","selectedIndex","arrows","arrowsAutoHide","arrowPrevIcon","arrowNextIcon","swipe","animation","size","autoPlay","autoPlayInterval","autoPlayPauseOnHover","infinityMove","lazyLoading","actions","descriptions","showDescription","bullets","imageClick","activeChange",4,"ngIf"],[3,"marginTop","marginBottom","height","images","links","labels","linkTarget","selectedIndex","columns","rows","margin","arrows","arrowsAutoHide","arrowPrevIcon","arrowNextIcon","clickable","swipe","size","moveSize","order","remainingCount","lazyLoading","actions","ngClass","activeChange",4,"ngIf"],[3,"images","descriptions","showDescription","arrowPrevIcon","arrowNextIcon","closeIcon","fullscreenIcon","spinnerIcon","arrows","arrowsAutoHide","swipe","fullscreen","forceFullscreen","closeOnClick","closeOnEsc","keyboardNavigation","animation","autoPlay","autoPlayInterval","autoPlayPauseOnHover","infinityMove","zoom","zoomStep","zoomMax","zoomMin","zoomInIcon","zoomOutIcon","actions","rotate","rotateLeftIcon","rotateRightIcon","download","downloadIcon","bullets","previewClose","previewOpen","activeChange"],[3,"images","clickable","selectedIndex","arrows","arrowsAutoHide","arrowPrevIcon","arrowNextIcon","swipe","animation","size","autoPlay","autoPlayInterval","autoPlayPauseOnHover","infinityMove","lazyLoading","actions","descriptions","showDescription","bullets","imageClick","activeChange"],[3,"images","links","labels","linkTarget","selectedIndex","columns","rows","margin","arrows","arrowsAutoHide","arrowPrevIcon","arrowNextIcon","clickable","swipe","size","moveSize","order","remainingCount","lazyLoading","actions","ngClass","activeChange"]],template:function(e,t){1&e&&(i.Ec(0,"div"),i.xd(1,N,1,21,"ngx-gallery-image",0),i.xd(2,F,1,28,"ngx-gallery-thumbn
1ails",1),i.Ec(3,"ngx-gallery-preview",2),i.Qc("previewClose",(function(){return t.onPreviewClose()}))("previewOpen",(function(){return t.onPreviewOpen()}))("activeChange",(function(e){return t.previewSelect(e)})),i.Dc(),i.Dc()),2&e&&(i.mc("ngx-gallery-layout ",null==t.currentOptions?null:t.currentOptions.layout,""),i.jc(1),i.bd("ngIf",null==t.currentOptions?null:t.currentOptions.image),i.jc(1),i.bd("ngIf",null==t.currentOptions?null:t.currentOptions.thumbnails),i.jc(1),i.pc("ngx-gallery-active",t.previewEnabled),i.bd("images",t.bigImages)("descriptions",t.descriptions)("showDescription",null==t.currentOptions?null:t.currentOptions.previewDescription)("arrowPrevIcon",null==t.currentOptions?null:t.currentOptions.arrowPrevIcon)("arrowNextIcon",null==t.currentOptions?null:t.currentOptions.arrowNextIcon)("closeIcon",null==t.currentOptions?null:t.currentOptions.closeIcon)("fullscreenIcon",null==t.currentOptions?null:t.currentOptions.fullscreenIcon)("spinnerIcon",null==t.currentOptions?null:t.currentOptions.spinnerIcon)("arrows",null==t.currentOptions?null:t.currentOptions.previewArrows)("arrowsAutoHide",null==t.currentOptions?null:t.currentOptions.previewArrowsAutoHide)("swipe",null==t.currentOptions?null:t.currentOptions.previewSwipe)("fullscreen",null==t.currentOptions?null:t.currentOptions.previewFullscreen)("forceFullscreen",null==t.currentOptions?null:t.currentOptions.previewForceFullscreen)("closeOnClick",null==t.currentOptions?null:t.currentOptions.previewCloseOnClick)("closeOnEsc",null==t.currentOptions?null:t.currentOptions.previewCloseOnEsc)("keyboardNavigation",null==t.currentOptions?null:t.currentOptions.previewKeyboardNavigation)("animation",null==t.currentOptions?null:t.currentOptions.previewAnimation)("autoPlay",null==t.currentOptions?null:t.currentOptions.previewAutoPlay)("autoPlayInterval",null==t.currentOptions?null:t.currentOptions.previewAutoPlayInterval)("autoPlayPauseOnHover",null==t.currentOptions?null:t.currentOptions.previewAutoPlayPauseOnHover)("infinityMove",null==t.currentOptions?null:t.currentOptions.previewInfinityMove)("zoom",null==t.currentOptions?null:t.currentOptions.previewZoom)("zoomStep",null==t.currentOptions?null:t.currentOptions.previewZoomStep)("zoomMax",null==t.currentOptions?null:t.currentOptions.previewZoomMax)("zoomMin",null==t.currentOptions?null:t.currentOptions.previewZoomMin)("zoomInIcon",null==t.currentOptions?null:t.currentOptions.zoomInIcon)("zoomOutIcon",null==t.currentOptions?null:t.currentOptions.zoomOutIcon)("actions",null==t.currentOptions?null:t.currentOptions.actions)("rotate",null==t.currentOptions?null:t.currentOptions.previewRotate)("rotateLeftIcon",null==t.currentOptions?null:t.currentOptions.rotateLeftIcon)("rotateRightIcon",null==t.currentOptions?null:t.currentOptions.rotateRightIcon)("download",null==t.currentOptions?null:t.currentOptions.previewDownload)("downloadIcon",null==t.currentOptions?null:t.currentOptions.downloadIcon)("bullets",null==t.currentOptions?null:t.currentOptions.previewBullets))},directives:[a.u,B,$,G,a.r],styles:[":host{display:inline-block}:host>*{float:left}.ngx-gallery-layout{width:100%;height:100%;display:flex;flex-direction:column}.ngx-gallery-layout.thumbnails-top ngx-gallery-image{order:2}.ngx-gallery-layout.thumbnails-bottom ngx-gallery-image,.ngx-gallery-layout.thumbnails-top ngx-gallery-thumbnails{order:1}.ngx-gallery-layout.thumbnails-bottom ngx-gallery-thumbnails{order:2}*{box-sizing:border-box}.ngx-gallery-icon{color:#fff;position:absolute;display:inline-block}.ngx-gallery-icon .ngx-gallery-icon-content{display:block}ngx-gallery-preview{font-size:25px}ngx-gallery-preview .ngx-gallery-icon{z-index:2000}.ngx-gallery-clickable{cursor:pointer}.ngx-gallery-icons-wrapper .ngx-gallery-icon{position:relative;margin-right:5px;margin-top:5px;font-size:20px;cursor:pointer}.ngx-gallery-icons-wrapper{float:right}"],encapsulation:2,changeDetection:0}),e}(),ee=function(){var e=function(){function e(){_classCallCheck(this,e),this.prevClick=new i.s,this.nextClick=new i.s}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"handlePrevClick",value:function(){this.prevClick.emit()}},{key:"handleNextClick",value:function(){this.nextClick.emit()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery-arrows"]],inputs:{prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",arrowPrevIcon:"arrowPrevIcon",arrowNextIcon:"arrowNextIcon"},outputs:{prevClick:"prevClick",nextClick:"nextClick"},decls:6,vars:10,consts:[[1,"ngx-gallery-arrows-wrapper","ngx-gallery-arrow-left"],["aria-hidden","true",1,"ngx-gallery-icon","ngx-gallery-arrow",3,"click"],[1,"ngx-gallery-arrows-wrapper","ngx-gallery-arrow-right"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.Ec(1,"div",1),i.Qc("click",(function(){return t.handlePrevClick()})),i.zc(2,"i"),i.Dc(),i.Dc(),i.Ec(3,"div",2),i.Ec(4,"div",1),i.Qc("click",(function(){return t.handleNextClick()})),i.zc(5,"i"),i.Dc(),i.Dc()),2&e&&(i.jc(1),i.pc("ngx-gallery-disabled",t.prevDisabled),i.jc(1),i.mc("ngx-gallery-icon-content ",t.arrowPrevIcon,""),i.jc(2),i.pc("ngx-gallery-disabled",t.nextDisabled),i.jc(1),i.mc("ngx-gallery-icon-content ",t.arrowNextIcon,""))},styles:[".ngx-gallery-arrow-wrapper[_ngcontent-%COMP%]{position:absolute;height:100%;width:1px;display:table;table-layout:fixed}.ngx-gallery-preview-img-wrapper[_ngcontent-%COMP%]   .ngx-gallery-arrow-wrapper[_ngcontent-%COMP%]{z-index:10001}.ngx-gallery-arrow-left[_ngcontent-%COMP%]{left:0}.ngx-gallery-arrow-right[_ngcontent-%COMP%]{right:0}.ngx-gallery-arrow[_ngcontent-%COMP%]{top:50%;transform:translateY(-50%);cursor:pointer}.ngx-gallery-arrow.ngx-gallery-disabled[_ngcontent-%COMP%]{opacity:.6;cursor:default}.ngx-gallery-arrow-left[_ngcontent-%COMP%]   .ngx-gallery-arrow[_ngcontent-%COMP%]{left:10px}.ngx-gallery-arrow-right[_ngcontent-%COMP%]   .ngx-gallery-arrow[_ngcontent-%COMP%]{right:10px}"],changeDetection:0}),e}(),te=function(){var e=function(){function e(){_classCallCheck(this,e),this.disabled=!1,this.titleText="",this.closeClick=new i.s}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"handleClick",value:function(e){this.disabled||this.closeClick.emit(e),e.stopPropagation(),e.preventDefault()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery-action"]],inputs:{disabled:"disabled",titleText:"titleText",icon:"icon"},outputs:{closeClick:"closeClick"},decls:2,vars:6,consts:[["aria-hidden","true",1,"ngx-gallery-icon",3,"title","click"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.Qc("click",(function(e){return t.handleClick(e)})),i.zc(1,"i"),i.Dc()),2&e&&(i.pc("ngx-gallery-icon-disabled",t.disabled),i.cd("title",t.titleText),i.jc(1),i.mc("ngx-gallery-icon-content ",t.icon,""))},styles:[".ngx-gallery-icon[_ngcontent-%COMP%]{color:#fff;z-index:2000;display:inline-block;position:relative;margin-right:10px;margin-top:10px;font-size:25px;cursor:pointer;text-decoration:none}.ngx-gallery-icon[_ngcontent-%COMP%]   .ngx-gallery-icon-content[_ngcontent-%COMP%]{display:block}"],changeDetection:0}),e}(),ne=function(){var e=function(){function e(){_classCallCheck(this,e),this.active=0,this.bulletChange=new i.s}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"getBullets",value:function(){return Array(this.count)}},{key:"handleChange",value:function(e,t){this.bulletChange.emit(t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["ngx-gallery-bullets"]],inputs:{active:"active",count:"count"},outputs:{bulletChange:"bulletChange"},decls:1,vars:1,consts:[["class","ngx-gallery-bullet",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"ngx-gallery-bullet",3,"ngClass","click"]],template:function(e,t){1&e&&i.xd(0,U,1,3,"div",0),2&e&&i.bd("ngForOf",t.getBullets())},directives:[a.t,a.r],styles:["[_nghost-%COMP%]{position:absolute;z-index:2000;display:inline-flex;left:50%;transform:translateX(-50%);bottom:0;padding:10px}.ngx-gallery-bullet[_ngcontent-%COMP%]{width:10px;height:10px;border-radius:50%;cursor:pointer;background:#fff}.ngx-gallery-bullet[_ngcontent-%COMP%]:not(:first-child){margin-left:5px}.ngx-gallery-bullet.ngx-gallery-active[_ngcontent-%COMP%], .ngx-gallery-bullet[_ngcontent-%COMP%]:hover{background:#000}"],changeDetection:0}),e}(),ie=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).overrides={pinch:{enable:!1},rotate:{enable:!1}},e}return n}(r.f);return e.\u0275fac=function(t){return ae(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e}(),re=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[{provide:r.e,useClass:ie}],imports:[[a.c]]}),e}(),ae=i.Gc(ie)},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return u}));var i=n("HDdC"),r=n("7o/Q"),a=n("quSY"),o=n("9ppp"),s=n("Ylt2"),c=n("2QA8"),l=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e)).destination=e,i}return n}(r.a),u=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return _createClass(n,[{key:c.a,value:function(){return new l(this)}},{key:"lift",value:function(e){var t=new d(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new o.a;if(!this.isStopped)for(var t=this.observers,n=t.length,i=t.slice(),r=0;r<n;r++)i[r].next(e)}},{key:"error",value:function(e){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,i=t.slice(),r=0;r<n;r++)i[r].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new o.a;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),i=0;i<t;i++)n[i].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(e){if(this.closed)throw new o.a;return _get(_getPrototypeOf(n.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new o.a;return this.hasError?(e.error(this.thrownError),a.a.EMPTY):this.isStopped?(e.complete(),a.a.EMPTY):(this.observers.push(e),new s.a(this,e))}},{key:"asObservable",value:function(){var e=new i.a;return e.source=this,e}}]),n}(i.a);return e.create=function(e,t){return new d(e,t)},e}(),d=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).destination=e,r.source=i,r}return _createClass(n,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):a.a.EMPTY}}]),n}(u)},XhrQ:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL"),r=function(){var e=function(){function e(){_classCallCheck(this,e),this.small=!1}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-circle-loader"]],inputs:{small:"small"},decls:1,vars:2,consts:[[1,"circle-loader"]],template:function(e,t){1&e&&i.zc(0,"div",0),2&e&&i.pc("circle-loader--sm",t.small)},styles:[".circle-loader[_ngcontent-%COMP%]{display:inline-block;width:32px;height:32px;border-color:var(--green-primary);border-radius:50%;-webkit-animation:spin-action 1.2s cubic-bezier(.97,.29,.4,.85) infinite;animation:spin-action 1.2s cubic-bezier(.97,.29,.4,.85) infinite;border:3px solid var(--green-primary);
1border-right:3px solid transparent;vertical-align:middle}.circle-loader--sm[_ngcontent-%COMP%]{width:16px;height:16px;border-width:2px}@-webkit-keyframes spin-action{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spin-action{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"]}),e}()},Xiot:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("fXoL"),r=n("ofXK"),a=function(){var e=function(){function e(){_classCallCheck(this,e),this.window=window}return _createClass(e,[{key:"showPopup",value:function(){if(this.window){e.actualPopup&&(e.actualPopup.close(),e.actualPopup=void 0);var t=Object.assign({},this.getPopupOptions()),n=Object.keys(t).map((function(e){return"".concat(e,"=").concat(t[e])})).join(),i=this.window.open(this.settings.authUrl,"cis_auth_choice",n);null!==i&&(i.focus(),e.actualPopup=i)}}},{key:"getPopupOptions",value:function(){var e={resizable:"yes",scrollbars:"no",toolbar:"no",menubar:"no",location:"no",directories:"no",status:"yes",width:450,height:380,left:0,top:0};return this.settings.popupWidth&&(e.width=this.settings.popupWidth),this.settings.popupHeight&&(e.height=this.settings.popupHeight),e.left=(this.window.screen.width-e.width)/2,e.top=(this.window.screen.height-e.height)/2,e}},{key:"providerClass",get:function(){return"provider-button--"+this.type}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-oauth-provider-button"]],inputs:{type:"type",settings:"settings"},decls:2,vars:3,consts:[[1,"provider-button",3,"ngClass","title","click"]],template:function(e,t){1&e&&(i.Ec(0,"a",0),i.Qc("click",(function(){return t.showPopup()})),i.zd(1),i.Dc()),2&e&&(i.cd("title",t.settings.title),i.bd("ngClass",t.providerClass),i.jc(1),i.Bd(" ",t.settings.title,"\n"))},directives:[r.r],styles:[".provider-button[_ngcontent-%COMP%]{display:block;height:40px;line-height:40px;margin:0 5px 10px;padding:0 15px 0 45px;text-align:center;color:#fff;font-weight:700;white-space:nowrap;border-radius:4px;border:none;text-transform:capitalize;cursor:pointer}.provider-button[_ngcontent-%COMP%]:focus, .provider-button[_ngcontent-%COMP%]:hover{color:#fff}.provider-button--facebook[_ngcontent-%COMP%]{background:url(dist-assets/auth-facebook.7df491f7d2a4425d26bb.svg) #4678b2 7% 50% no-repeat;background-size:25px 25px}.provider-button--facebook[_ngcontent-%COMP%]:focus, .provider-button--facebook[_ngcontent-%COMP%]:hover{background-color:#5585bc}.provider-button--facebook[_ngcontent-%COMP%]:active{background-color:#3f6ca0}.provider-button--google[_ngcontent-%COMP%]{background:url(dist-assets/auth-google.7734efbe7eaa3cac623f.svg) #4285f4 7% 50% no-repeat;background-size:38px 38px}.provider-button--google[_ngcontent-%COMP%]:focus, .provider-button--google[_ngcontent-%COMP%]:hover{background-color:#5a95f5}.provider-button--google[_ngcontent-%COMP%]:active{background-color:#2a75f3}.provider-button--instagram[_ngcontent-%COMP%]{background:url(dist-assets/auth-instagram.ad5353f649dcd96b60ee.svg) #d83190 7% 50% no-repeat;background-size:20%}.provider-button--instagram[_ngcontent-%COMP%]:focus, .provider-button--instagram[_ngcontent-%COMP%]:hover{background-color:#dc469c}.provider-button--instagram[_ngcontent-%COMP%]:active{background-color:#c92683}.provider-button--linkedIn[_ngcontent-%COMP%]{background:url(dist-assets/auth-linkedin.51907ed6113228edf7b3.svg) #0077b5 7% 50% no-repeat;background-size:20%}.provider-button--linkedIn[_ngcontent-%COMP%]:focus, .provider-button--linkedIn[_ngcontent-%COMP%]:hover{background-color:#0088cf}.provider-button--linkedIn[_ngcontent-%COMP%]:active{background-color:#00669c}.provider-button--twitter[_ngcontent-%COMP%]{background:url(dist-assets/auth-twitter.03f77fae239daae5d84d.svg) #00aced 7% 50% no-repeat;background-size:20%}.provider-button--twitter[_ngcontent-%COMP%]:focus, .provider-button--twitter[_ngcontent-%COMP%]:hover{background-color:#08bbff}.provider-button--twitter[_ngcontent-%COMP%]:active{background-color:#0099d4}.provider-button--vkontakte[_ngcontent-%COMP%]{background:url(dist-assets/auth-vkontakte.e5f1fc42010b61dd1942.svg) #2787f5 7% 50% no-repeat;background-size:20%}.provider-button--vkontakte[_ngcontent-%COMP%]:focus, .provider-button--vkontakte[_ngcontent-%COMP%]:hover{background-color:#3f95f6}.provider-button--vkontakte[_ngcontent-%COMP%]:active{background-color:#0f79f4}"]}),e}()},XoHu:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return i}))},XqMk:function(e,t,n){"use strict";var i="object"==typeof global&&global&&global.Object===Object&&global;t.a=i},Y6Wm:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var i=n("XNiG"),r=n("1G5W"),a=n("fXoL"),o=n("GJzE"),s=n("ofXK"),c=n("tyNb");function l(e,t){if(1&e&&(a.Ec(0,"span",4),a.zc(1,"img",5),a.Dc()),2&e){var n=a.Uc(2);a.jc(1),a.cd("src",n.logoUrl,a.qd)}}function u(e,t){if(1&e&&(a.Ec(0,"a",6),a.zc(1,"img",5),a.Dc()),2&e){var n=a.Uc(2);a.bd("routerLink",n.routesService.buildHomePageRoute()),a.jc(1),a.cd("src",n.logoUrl,a.qd)}}function d(e,t){if(1&e&&(a.Cc(0),a.xd(1,l,2,1,"span",2),a.Vc(2,"async"),a.xd(3,u,2,2,"ng-template",null,3,a.yd),a.Bc()),2&e){var n=a.kd(4),i=a.Uc();a.jc(1),a.bd("ngIf",a.Wc(2,2,i.isOnHomePage$))("ngIfElse",n)}}function h(e,t){1&e&&a.zc(0,"div",7)}var f=function(){var e=function(){function e(t){_classCallCheck(this,e),this.routesService=t,this.logoUrl=null,this.onDestroy$=new i.a}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"isOnHomePage$",get:function(){return void 0===this.pIsOnHomePage$&&(this.pIsOnHomePage$=this.routesService.isOnHomePage$.pipe(Object(r.a)(this.onDestroy$))),this.pIsOnHomePage$}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.yc(o.fb))},e.\u0275cmp=a.sc({type:e,selectors:[["app-site-logo"]],inputs:{logoUrl:"logoUrl"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["logoCap",""],["class","logo",4,"ngIf","ngIfElse"],["logoWithLink",""],[1,"logo"],["alt","",3,"src"],[1,"logo",3,"routerLink"],[1,"logo-cap"]],template:function(e,t){if(1&e&&(a.xd(0,d,5,4,"ng-container",0),a.xd(1,h,1,0,"ng-template",null,1,a.yd)),2&e){var n=a.kd(2);a.bd("ngIf",t.logoUrl)("ngIfElse",n)}}
1,directives:[s.u,c.g],pipes:[s.b],styles:[".logo-cap[_ngcontent-%COMP%]{width:124px;height:55px;margin:auto;border-radius:8px;background-color:#f5f5f5}@media (min-width:1024px){.logo-cap[_ngcontent-%COMP%]{margin:0 40px 0 0}}.logo[_ngcontent-%COMP%]{height:55px;margin:auto;display:inline-block;width:275px;text-align:center}.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100%}@media (min-width:1024px){.logo[_ngcontent-%COMP%]{text-align:unset;margin:0 30px 0 0}}"]}),e}()},Y7yP:function(e,t,n){"use strict";var i,r=n("vJtL"),a=n("Ju5/").a["__core-js_shared__"],o=(i=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",s=n("IzLi"),c=n("dLWn"),l=/^\[object .+?Constructor\]$/,u=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.a=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Object(s.a)(e)||(t=e,o&&o in t))&&(Object(r.a)(e)?u:l).test(Object(c.a)(e));var t}(n)?n:void 0}},YHEm:function(e,t,n){"use strict";t.a=function(e,t){return e===t||e!=e&&t!=t}},YLoO:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n("PqYM"),r=n("IzEk"),a=n("s1DB"),o=n("AytR"),s=n("ehPC"),c=n("fXoL");function l(e,t){if(1&e&&c.zc(0,"app-card-label",7),2&e){var n=c.Uc(3);c.bd("title",n.widget.label)}}function u(e,t){if(1&e&&(c.Ec(0,"div",13),c.zd(1),c.Dc()),2&e){var n=c.Uc().$implicit;c.jc(1),c.Bd(" ",n.firstAddress.phones.join(", ")," ")}}function d(e,t){if(1&e&&(c.Ec(0,"a",8),c.Tc(),c.Ec(1,"svg",9),c.zc(2,"use"),c.Dc(),c.Sc(),c.Ec(3,"div",10),c.Ec(4,"div",11),c.zd(5),c.Dc(),c.xd(6,u,2,1,"div",12),c.Dc(),c.Dc()),2&e){var n=t.$implicit,i=c.Uc(3);c.cd("href",n.mainUrl,c.qd),c.bd("ngClass",i.getListItemClass(n)),c.jc(2),c.kc("href",i.getListItemIcon(n),null,"xlink"),c.jc(3),c.Bd(" ",n.title," "),c.jc(1),c.bd("ngIf",null==n.firstAddress||null==n.firstAddress.phones?null:n.firstAddress.phones.length)}}function h(e,t){if(1&e&&(c.Ec(0,"div",2),c.xd(1,l,1,1,"app-card-label",3),c.xd(2,d,7,5,"a",4),c.Ec(3,"div",5),c.Ec(4,"a",6),c.zd(5),c.Dc(),c.Dc(),c.Dc()),2&e){var n=c.Uc(2);c.jc(1),c.bd("ngIf",n.widget.label),c.jc(1),c.bd("ngForOf",n.models),c.jc(2),c.cd("href",n.widget.addCompanyLink,c.qd),c.jc(1),c.Ad(n.widget.addCompanyLabel)}}function f(e,t){if(1&e&&(c.Cc(0),c.xd(1,h,6,4,"div",1),c.Bc()),2&e){var n=c.Uc();c.jc(1),c.bd("ngIf",null==n.models?null:n.models.length)}}var p=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,a.injector=i,a.companiesService=r,a}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.companiesService.getNextTopCompanies(this.widget.itemsCount).pipe(Object(r.a)(1)).subscribe((function(t){e.models=t,null!==t?e.emitHasData():e.emitEmptyData();var n=function(){e.emitComponentLoaded()};o.a.useLoadingDelay?Object(i.a)(1500).subscribe(n):n()}))}},{key:"isListItemPayed",value:function(e){return a.m.Standard!==e.iconsSet}},{key:"getListItemClass",value:function(e){switch(e.iconsSet){case a.m.Lux:return"teaser-block__item--lux";case a.m.Premium:return"teaser-block__item--premium";case a.m.Platinum:return"teaser-block__item--platinum";case a.m.Standard:return"teaser-block__item--standard";default:return""}}},{key:"getListItemIcon",value:function(e){switch(e.iconsSet){case a.m.Lux:return"#icon-queen";case a.m.Premium:return"#icon-crown";case a.m.Platinum:return"#icon-diamond";case a.m.Standard:return"#icon-standard";default:return""}}}]),n}(s.j);return e.\u0275fac=function(t){return new(t||e)(c.yc(s.A,8),c.yc(c.w),c.yc(a.w))},e.\u0275cmp=c.sc({type:e,selectors:[["app-shared-top-companies"]],features:[c.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","teaser-block",4,"ngIf"],[1,"teaser-block"],["className","card-label d-lg-inline-block mb-4",3,"title",4,"ngIf"],["class","teaser-block__item","rel","nofollow",3,"href","ngClass",4,"ngFor","ngForOf"],[1,"teaser-block__btn-container","mt-4","text-center"],[1,"btn","btn--primary",3,"href"],["className","card-label d-lg-inline-block mb-4",3,"title"],["rel","nofollow",1,"teaser-block__item",3,"href","ngClass"],["width","24","height","24",1,"teaser-block__icon"],[1,"teaser-block__info"],[1,"teaser-block__title"],["class","teaser-block__subtitle",4,"ngIf"],[1,"teaser-block__subtitle"]],template:function(e,t){1&e&&(c.xd(0,f,2,1,"ng-container",0),c.Vc(1,"async")),2&e&&c.bd("appLoadingPlaceholder",c.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:[".teaser-block[_ngcontent-%COMP%]{margin-bottom:48px}.teaser-block__item[_ngcontent-%COMP%]{display:flex;align-items:flex-start;margin-bottom:16px;line-height:21px}.teaser-block__item--premium[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:#c0f}.teaser-block__item--platinum[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:#00afe1}.teaser-block__item--lux[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:#fb661c}.teaser-block__item--standard[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:var
1(--green-primary)}.teaser-block__icon[_ngcontent-%COMP%]{flex-shrink:0;width:24px;height:24px;margin-right:8px}.teaser-block__info[_ngcontent-%COMP%]{overflow:hidden}.teaser-block__title[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:42px;overflow:hidden}.teaser-block__subtitle[_ngcontent-%COMP%]{min-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:rgba(50,50,50,.35)}"]}),e}()},YM6B:function(e,t,n){"use strict";var i=n("Y7yP"),r=n("Ju5/"),a=Object(i.a)(r.a,"DataView"),o=n("3cmB"),s=Object(i.a)(r.a,"Promise"),c=Object(i.a)(r.a,"Set"),l=Object(i.a)(r.a,"WeakMap"),u=n("8M4i"),d=n("dLWn"),h=Object(d.a)(a),f=Object(d.a)(o.a),p=Object(d.a)(s),g=Object(d.a)(c),v=Object(d.a)(l),m=u.a;(a&&"[object DataView]"!=m(new a(new ArrayBuffer(1)))||o.a&&"[object Map]"!=m(new o.a)||s&&"[object Promise]"!=m(s.resolve())||c&&"[object Set]"!=m(new c)||l&&"[object WeakMap]"!=m(new l))&&(m=function(e){var t=Object(u.a)(e),n="[object Object]"==t?e.constructor:void 0,i=n?Object(d.a)(n):"";if(i)switch(i){case h:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case g:return"[object Set]";case v:return"[object WeakMap]"}return t}),t.a=m},Ylt2:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).subject=e,r.subscriber=i,r.closed=!1,r}return _createClass(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}]),n}(n("quSY").a)},ZUHj:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("51Dv"),r=n("SeVD"),a=n("HDdC");function o(e,t,n,o){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new i.a(e,n,o);if(!s.closed)return t instanceof a.a?t.subscribe(s):Object(r.a)(t)(s)}},Zivq:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL"),r=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"iconName",get:function(){return"#icon-"+this.type}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-social-link"]],inputs:{type:"type",url:"url"},decls:4,vars:5,consts:[["rel","nofollow","target","_blank",3,"href"],[1,"footer-social__icon"]],template:function(e,t){1&e&&(i.Ec(0,"a",0),i.Ec(1,"div",1),i.Tc(),i.Ec(2,"svg"),i.zc(3,"use"),i.Dc(),i.Dc(),i.Dc()),2&e&&(i.mc("footer-social footer-social--",t.type,""),i.cd("href",t.url,i.qd),i.jc(3),i.kc("href",t.iconName,null,"xlink"))},styles:[".footer-social[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:32px 24px;color:inherit}.footer-social__icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:36px;height:36px;transition:all .3s ease-out}.footer-social--oki-tv[_ngcontent-%COMP%]   .footer-social__icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:90px}.footer-social__views[_ngcontent-%COMP%]{margin-bottom:8px;font-size:14px}.footer-social__btn[_ngcontent-%COMP%]{padding:4px 12px;border:1px solid #fff}.footer-social[_ngcontent-%COMP%]:hover{color:inherit}.footer-social[_ngcontent-%COMP%]:focus{outline:none}.footer-social--facebook[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#4678b2}.footer-social--facebook[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--facebook[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#385f8d}.footer-social--telegram[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#08c}.footer-social--telegram[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--telegram[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#069}.footer-social--instagram[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#d83190}.footer-social--instagram[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--instagram[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#b42275}.footer-social--twitter[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#00aced}.footer-social--twitter[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--twitter[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#0087ba}.footer-social--odnoklassniki[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#f68634}.footer-social--odnoklassniki[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--odnoklassniki[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#ed6a0a}.footer-social--viber[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#7c529e}.footer-social--viber[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--viber[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#62417c}.footer-social--whatsapp[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#075e54}.footer-social--whatsapp[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--whatsapp[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#032f2a}.footer-social--vkontakte[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#2787f5}.footer-social--vkontakte[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--vkontakte[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#0a6ddf}
1.footer-social--youtube[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#cd201f}.footer-social--youtube[_ngcontent-%COMP%]:focus   svg[_ngcontent-%COMP%], .footer-social--youtube[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:#a11918}@media (min-width:1024px){.footer-social[_ngcontent-%COMP%]{width:auto;padding:12px 24px;border-top:0}.footer-social__icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:24px;height:24px}.footer-social--oki-tv[_ngcontent-%COMP%]{padding:12px}.footer-social--oki-tv[_ngcontent-%COMP%]   .footer-social__icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:60px}.footer-social__info[_ngcontent-%COMP%]{margin-left:16px}}"]}),e}()},ZwN2:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var i=n("3Pt+"),r=n("IzEk"),a=n("GJzE"),o=n("fXoL"),s=n("1kSV"),c=n("sYmb");function l(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){var n=o.Uc(2);o.jc(1),o.Bd(" ",n.renderAttributeError("form-attribute-email-or-login","required")," ")}}function u(e,t){if(1&e&&(o.Ec(0,"div",19),o.xd(1,l,2,1,"div",16),o.Dc()),2&e){var n=o.Uc();o.jc(1),o.bd("ngIf",n.modalForm.controls.userLogin.errors.required)}}function d(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){var n=o.Uc(2);o.jc(1),o.Bd(" ",n.renderAttributeError("form-attribute-password","required")," ")}}function h(e,t){if(1&e&&(o.Ec(0,"div",19),o.xd(1,d,2,1,"div",16),o.Dc()),2&e){var n=o.Uc();o.jc(1),o.bd("ngIf",n.modalForm.controls.userPassword.errors.required)}}function f(e,t){if(1&e&&(o.Ec(0,"div",20),o.zd(1),o.Dc()),2&e){var n=o.Uc();o.jc(1),o.Bd(" ",n.formErrorMessage," ")}}function p(e,t){1&e&&o.zc(0,"span",21)}function g(e,t){1&e&&(o.Ec(0,"span",18),o.zd(1,"modal-sign-in-submit-label"),o.Dc())}function v(e,t){if(1&e&&o.zc(0,"app-oauth-provider-button",24),2&e){var n=t.$implicit;o.bd("type",n.key)("settings",n.value)}}function m(e,t){if(1&e&&(o.Cc(0),o.zc(1,"hr"),o.Ec(2,"div",22),o.xd(3,v,1,2,"app-oauth-provider-button",23),o.Vc(4,"keyvalue"),o.Dc(),o.Bc()),2&e){var n=o.Uc();o.jc(3),o.bd("ngForOf",o.Wc(4,1,n.oAuthProviders))}}var b=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s){var c;return _classCallCheck(this,n),(c=t.call(this,e,i,r,a,o)).modal=e,c.authModalsService=i,c.translateService=r,c.formBuilder=a,c.authService=o,c.oAuthService=s,c.isFormLoading=!1,c.formErrorMessage="",c}return _createClass(n,[{key:"onFormSubmit",value:function(){var e=this;
1if(!this.modalForm.invalid){this.formErrorMessage="",this.isFormLoading=!0;var t=this.modalForm.value,n=t.userLogin,i=t.userPassword;this.authService.signIn(n,i).pipe(Object(r.a)(1)).subscribe({next:function(t){e.modalForm.reset(),e.isFormLoading=!1,e.modal.close(t)},error:function(t){e.formErrorMessage=t.join(", "),e.modalForm.get("userLogin").setErrors({incorrect:!0}),e.modalForm.get("userPassword").setErrors({incorrect:!0}),e.isFormLoading=!1}})}}},{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.oAuthProvidersSubscription=this.oAuthService.oAuthProviders.subscribe((function(t){e.oAuthProviders=t}))}},{key:"ngOnDestroy",value:function(){this.oAuthProvidersSubscription&&(this.oAuthProvidersSubscription.unsubscribe(),this.oAuthProvidersSubscription=void 0)}},{key:"buildModalForm",value:function(){var e=this;return this.formBuilder.group({userLogin:["",[i.D.required]],userPassword:["",[i.D.required]]},{validators:[function(t){return e.modalForm&&(e.resetError(e.modalForm,"incorrect","userLogin"),e.resetError(e.modalForm,"incorrect","userPassword")),t.errors}]})}},{key:"isLoginOrPasswordIncorrect",get:function(){var e,t;return(null===(e=this.modalForm)||void 0===e?void 0:e.hasError("incorrect","userLogin"))||(null===(t=this.modalForm)||void 0===t?void 0:t.hasError("incorrect","userPassword"))}}]),n}(a.m);return e.\u0275fac=function(t){return new(t||e)(o.yc(s.b),o.yc(a.e),o.yc(c.e),o.yc(i.f),o.yc(a.f),o.yc(a.M))},e.\u0275cmp=o.sc({type:e,selectors:[["app-sign-in-modal"]],features:[o.gc],decls:31,vars:14,consts:[[1,"modal-header"],["translate","",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[3,"formGroup","ngSubmit"],[1,"form-group"],["type","text","formControlName","userLogin",1,"form-control",3,"placeholder"],["class","error-hint",4,"ngIf"],["type","password","formControlName","userPassword",1,"form-control",3,"placeholder"],["class","error-hint text-center mb-3",4,"ngIf"],["type","submit",1,"btn","btn--primary","btn--block",3,"disabled"],["class","btn__loader",4,"ngIf"],["translate","",4,"ngIf"],[1,"text-right"],["type","button","translate","",1,"btn","btn--sm","btn--link",3,"click"],[4,"ngIf"],[1,"text-center"],["translate",""],[1,"error-hint"],[1,"error-hint","text-center","mb-3"],[1,"btn__loader"],[1,"auth-block"],[3,"type","settings",4,"ngFor","ngForOf"],[3,"type","settings"]],template:function(e,t){1&e&&(o.Ec(0,"div",0),o.Ec(1,"h4",1),o.zd(2,"sign-in-label"),o.Dc(),o.Ec(3,"button",2),o.Qc("click",(function(){return t.modal.dismiss("Cross click")})),o.Ec(4,"span",3),o.zd(5,"\xd7"),o.Dc(),o.Dc(),o.Dc(),o.Ec(6,"div",4),o.Ec(7,"form",5),o.Qc("ngSubmit",(function(){return t.onFormSubmit()})),o.Ec(8,"div",6),o.zc(9,"input",7),o.Vc(10,"translate"),o.xd(11,u,2,1,"div",8),o.Dc(),o.Ec(12,"div",6),o.zc(13,"input",9),o.Vc(14,"translate"),o.xd(15,h,2,1,"div",8),o.Dc(),o.xd(16,f,2,1,"div",10),o.Ec(17,"button",11),o.xd(18,p,1,0,"span",12),o.xd(19,g,2,0,"span",13),o.Dc(),o.Dc(),o.Ec(20,"div",14),o.Ec(21,"button",15),o.Qc("click",(function(){return t.authModalsService.openResetPasswordModal()})),o.zd(22," modal-reset-password-prompt "),o.Dc(),o.Dc(),o.xd(23,m,5,3,"ng-container",16),o.zc(24,"hr"),o.Ec(25,"div",17),o.Ec(26,"span",18),o.zd(27,"modal-sign-up-prompt"),o.Dc(),o.zd(28,"\xa0 "),o.Ec(29,"button",15),o.Qc("click",(function(){return t.authModalsService.openSignUpModal()})),o.zd(30," sign-up-label "),o.Dc(),o.Dc(),o.Dc()),2&e&&(o.jc(7),o.bd("formGroup",t.modalForm),o.jc(2),o.cd("placeholder",o.Wc(10,10,"form-attribute-email-or-login-prompt")),o.jc(2),o.bd("ngIf",t.isFormControlHasErrors("userLogin")),o.jc(2),o.cd("placeholder",o.Wc(14,12,"form-attribute-password")),o.jc(2),o.bd("ngIf",t.isFormControlHasErrors("userPassword")),o.jc(1),o.bd("ngIf",t.isLoginOrPasswordIncorrect),o.jc(1),o.bd("disabled",!t.modalForm.valid),o.jc(1),o.bd("ngIf",t.isFormLoading),o.jc(1),o.bd("ngIf",!t.isFormLoading),o.jc(4),o.bd("ngIf",null==t.oAuthProviders?null:t.oAuthProviders.size))},styles:[".modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{background-color:transparent;border:0;font-size:24px}.form-group[_ngcontent-%COMP%]{position:relative;margin-bottom:16px}.form-control[_ngcontent-%COMP%]{width:100%;height:40px;line-height:40px;padding:0 10px;border:1px solid rgba(50,50,50,.15);border-radius:3px;font-size:16px;transition:all .3s ease-out}.form-control[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(50,50,50,.35)}.form-control[_ngcontent-%COMP%]::placeholder{color:rgba(50,50,50,.35)}.form-control[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--green-primary)}.form-control.ng-invalid.ng-touched[_ngcontent-%COMP%]{border-color:#e74
1c3c}.error-hint[_ngcontent-%COMP%]{margin-top:4px;font-size:12px;color:#e74c3c}.auth-block[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-around}.auth-block[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 1 135px}"]}),e}()},a4Kx:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL");new i.v("REQUEST");var r=new i.v("RESPONSE")},b6Qw:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("fXoL"),r=n("ofXK"),a=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.document=t,this.platformId=n,this.documentIsAccessible=Object(r.O)(this.platformId)}return _createClass(e,[{key:"check",value:function(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),this.getCookieRegExp(e).test(this.document.cookie))}},{key:"get",value:function(e){if(this.documentIsAccessible&&this.check(e)){e=encodeURIComponent(e);var t=this.getCookieRegExp(e).exec(this.document.cookie);return this.safeDecodeURIComponent(t[1])}return""}},{key:"getAll",value:function(){var e=this;if(!this.documentIsAccessible)return{};var t={},n=this.document;return n.cookie&&""!==n.cookie&&n.cookie.split(";").forEach((function(n){var i=_slicedToArray2(n.split("="),2),r=i[0],a=i[1];t[e.safeDecodeURIComponent(r.replace(/^ /,""))]=e.safeDecodeURIComponent(a)})),t}},{key:"set",value:function(e,t,n,i,r,a,o){if(this.documentIsAccessible)if("number"==typeof n||n instanceof Date||i||r||a||o)this.set(e,t,{expires:n,path:i,domain:r,secure:a,sameSite:o||"Lax"});else{var s=encodeURIComponent(e)+"="+encodeURIComponent(t)+";",c=n||{};c.expires&&(s+="number"==typeof c.expires?"expires="+new Date((new Date).getTime()+1e3*c.expires*60*60*24).toUTCString()+";":"expires="+c.expires.toUTCString()+";"),c.path&&(s+="path="+c.path+";"),c.domain&&(s+="domain="+c.domain+";"),!1===c.secure&&"None"===c.sameSite&&(c.secure=!0,console.warn("[ngx-cookie-service] Cookie ".concat(e," was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130"))),c.secure&&(s+="secure;"),c.sameSite||(c.sameSite="Lax"),s+="sameSite="+c.sameSite+";",this.document.cookie=s}}},{key:"delete",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Lax";if(this.documentIsAccessible){var a=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:a,path:t,domain:n,secure:i,sameSite:r})}}},{key:"deleteAll",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Lax";if(this.documentIsAccessible){var r=this.getAll();for(var a in r)r.hasOwnProperty(a)&&this.delete(a,e,t,n,i)}}},{key:"getCookieRegExp",value:function(e){var t=e.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}},{key:"safeDecodeURIComponent",value:function(e){try{return decodeURIComponent(e)}catch(t){return e}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mc(r.e),i.Mc(i.I))},e.\u0275prov=Object(i.uc)({factory:function(){return new e(Object(i.Mc)(r.e),Object(i.Mc)(i.I))},token:e,providedIn:"root"}),e}()},bHHr:function(e,t,n){"use strict";n.d(t,"h",(function(){return z})),n.d(t,"f",(function(){return N})),n.d(t,"c",(function(){return R.a})),n.d(t,"d",(function(){return B})),n.d(t,"e",(function(){return J})),n.d(t,"a",(function(){return ie})),n.d(t,"b",(function(){return ae})),n.d(t,"g",(function(){return re}));var i=n("G8aS"),r=function(e,t){return e>t},a=n("oSzE"),o=n("EqEh"),s=n("IzLi"),c=function(e){return e==e&&!Object(s.a)(e)},l=n("mkut"),u=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},d=n("/1FC"),h=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f=/^\w*$/,p=function(e,t){if(Object(d.a)(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Object(i.a)(e))||f.test(e)||!h.test(e)||null!=t&&e in Object(t)},g=n("DlmY");function v(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var i=arguments,r=t?t.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=e.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(v.Cache||g.a),n}v.Cache=g.a;var m,b,y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,C=/\\(\\)?/g,_=(m=v((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(y,(function(e,n,i,r){t.push(i?r.replace(C,"$1"):n||e)})),t}),(function(e){return 500===b.size&&b.clear(),e})),b=m.cache,m),w=n("efZk"),k=function(e,t){return Object(d.a)(e)?e:p(e,t)?[e]:_(Object(w.a)(e))},x=function(e){if("string"==typeof e||Object(i.a)(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},O=function(e,t){for(var n=0,i=(t=k(t,e)).length;null!=e&&n<i;)e=e[x(t[n++])];return n&&n==i?e:void 0},S=function(e,t){return null!=e&&t in Object(e)},P=n("9f76"),E=n("cSlR"),M=n("Js68"),I=n("+Xah"),D=n("FSIP"),j=function(e,t){return e&&e.length?function(e,t,n){for(var r=-1,a=e.length;++r<a;){var o=e[r],s=t(o);if(null!=s&&(void 0===c?s==s&&!Object(i.a)(s):n(s,c)))var c=s,l=o}return l}(e,"function"==typeof(f=t)?f:null==f?I.a:"object"==typeof f?Object(d.a)(f)?function(e,t){return p(e)&&c(t)?u(x(e),t):function(n){var i=function(e,t,n){var i=null==e?void 0:O(e,t);return void 0===i?void 0:i}(n,e);return void 0===i&&i===t?function(e,t){return null!=e&&function(e,t,n){for(var i=-1,r=(t=k(t,e)).length,a=!1;++i<r;){var o=x(t[i]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++i!=r?a:!!(r=null==e?0:e.length)&&Object(M.a)(r)&&Object(E.a)(o,r)&&(Object(d.a)(e)||Object(P.a)(e))}(e,t,S)}(n,e):Object(o.a)(t,i,3)}}(f[0],f[1]):1==(h=function(e){for(var t=Object(l.a)(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,c(r)]}return t}(s=f)).length&&h[0][2]?u(h[0][0],h[0][1]):function(e){return e===s||function(e,t,n,i){var r=n.length,s=r;if(null==e)return!s;for(e=Object(e);r--;){var c=n[r];if(c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++r<s;){var l=(c=n[r])[0],u=e[l],d=c[1];if(c[2]){if(void 0===u&&!(l in e))return!1}else{var h=new a.a;if(!Object(o.a)(d,u,3,void 0,h))return!1}}return!0}(e,0,h)}:p(n=f)?Object(D.a)(x(n)):function(e){return function(t){return O(t,e)}}(n),r):void 0;var n,s,h,f},A=function(){function e(t,n,i){_classCallCheck(this,e),this.label=t,this.averageRating=n,this.userRating=i}return _createClass(e,[{key:"hasRating",get:function(){return null!==this.averageRating}},{key:"hasUserRating",get:function(){return null!==this.userRating}}]),e}(),T=function(){function e(t){_classCallCheck(this,e),this.params=t}return _createClass(e,[{key:"getUserRates",value:function(){var e={};
1return _toConsumableArray2(this.params).forEach((function(t){e[t[0]]=t[1].hasUserRating?t[1].userRating:0})),e}},{key:"clearUserRates",value:function(){_toConsumableArray2(this.params.values()).forEach((function(e){e.userRating=null}))}},{key:"hasRatings",get:function(){return _toConsumableArray2(this.params.values()).some((function(e){return e.hasRating}))}},{key:"hasUserRatings",get:function(){return _toConsumableArray2(this.params.values()).some((function(e){return e.hasUserRating}))}},{key:"topRatedRubric",get:function(){return j(_toConsumableArray2(this.params.values()),(function(e){return e.hasRating?e.averageRating.rate:0}))}},{key:"averageRating",get:function(){var e=0,t=_toConsumableArray2(this.params.values()).reduce((function(t,n){return n.hasRating?(e++,t+n.averageRating.rate):t}),0);return e>0?t/e:0}}]),e}();function z(e){var t=new Map;return Object.keys(e).forEach((function(n){t.set(Number(n),function(e){return new A(e.label,e.averageRating,e.userRating)}(e[n]))})),new T(t)}var L=n("fXoL"),N=new L.v("Single rate options"),R=n("JUpc"),F=n("Muja"),V=n("1kSV");function U(e,t){if(1&e){var n=L.Fc();L.Ec(0,"div"),L.Ec(1,"div",8),L.zd(2),L.Dc(),L.Ec(3,"app-single-rate",9,10),L.Qc("ratingChange",(function(e){L.nd(n);var i=t.$implicit;return L.Uc().onRatingChange(i.key,e)})),L.Ec(5,"div",11),L.zd(6),L.Dc(),L.Dc(),L.Dc()}if(2&e){var i=t.$implicit,r=L.kd(4),a=L.Uc();L.jc(2),L.Bd(" ",i.value.label," "),L.jc(1),L.bd("model",a.userRatesData[i.key])("isInteractive",!0),L.jc(3),L.Cd("",r.actualRating," / ",a.maxRating,"")}}var H,B=((H=function(){function e(t,n){_classCallCheck(this,e),this.modal=t,this.maxRating=(null==n?void 0:n.maxRating)||12}return _createClass(e,[{key:"ngOnInit",value:function(){this.userRatesData=this.model.getUserRates()}},{key:"sendRating",value:function(){this.modal.close(Object(F.a)(this.userRatesData,this.model.getUserRates())?null:this.userRatesData)}},{key:"onRatingChange",value:function(e,t){this.userRatesData[e]=t}}]),e}()).\u0275fac=function(e){return new(e||H)(L.yc(V.b),L.yc(N,8))},H.\u0275cmp=L.sc({type:H,selectors:[["app-model-ratings-modal"]],inputs:{model:"model"},decls:12,vars:3,consts:[[1,"modal-header"],["translate","",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[4,"ngFor","ngForOf"],["type","submit",1,"btn","btn--primary","btn--block",3,"click"],["translate",""],[1,"category"],[1,"p-15",3,"model","isInteractive","ratingChange"],["rate","singleRate"],["data-rating-value","",1,"dot-rating__value"]],template:function(e,t){1&e&&(L.Ec(0,"div",0),L.Ec(1,"h4",1),L.zd(2,"model-ratings-modal-title"),L.Dc(),L.Ec(3,"button",2),L.Qc("click",(function(){return t.modal.dismiss()})),L.Ec(4,"span",3),L.zd(5,"\xd7"),L.Dc(),L.Dc(),L.Dc(),L.Ec(6,"div",4),L.xd(7,U,7,5,"div",5),L.Vc(8,"keyvalue"),L.Ec(9,"button",6),L.Qc("click",(function(){return t.sendRating()})),L.Ec(10,"span",7),L.zd(11,"model-ratings-modal-submit-label"),L.Dc(),L.Dc(),L.Dc()),2&e&&(L.jc(7),L.bd("ngForOf",L.Wc(8,1,t.model.params)))},styles:[".modal-header[_ngcontent-%COMP%]{display:block}.modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{background-color:transparent;border:0;font-size:24px;position:absolute;top:0;right:0;margin:auto}.category[_ngcontent-%COMP%], .dot-rating__value[_ngcontent-%COMP%]{margin-left:16px;font-size:21px;font-weight:700}.dot-rating__value[_ngcontent-%COMP%]{color:#dcdcdc}.p-15[_ngcontent-%COMP%]{padding:15px}"]}),H),q=n("ofXK");function $(e,t){if(1&e){var n=L.Fc();L.Ec(0,"div",5),L.Qc("mouseenter",(function(){L.nd(n);var e=t.index;return L.Uc(2).mouseEnterDot(e+1)}))("click",(function(){return L.nd(n),L.Uc(2).chooseRate()})),L.Dc()}2&e&&L.pc("is-active",t.$implicit)}function W(e,t){if(1&e){var n=L.Fc();L.Ec(0,"div",3),L.Qc("mouseleave",(function(){return L.nd(n),L.Uc().clearDots()})),L.xd(1,$,1,2,"div",4),L.Dc()}if(2&e){var i=L.Uc();L.jc(1),L.bd("ngForOf",i.ratingDots)}}function G(e,t){1&e&&L.zc(0,"div",8),2&e&&L.pc("is-active",t.$implicit)}function X(e,t){if(1&e&&(L.Ec(0,"div",6),L.xd(1,G,1,2,"div",7),L.Dc()),2&e){var n=L.Uc();L.jc(1),L.bd("ngForOf",n.ratingDots)}}var Z,Y,Q=[[["","data-rating-value",""]]],K=["[data-rating-value]"],J=((Z=function(){function e(t){if(_classCallCheck(this,e),this.isInteractive=!1,this.ratingChange=new L.s,this.isChanging=!1,this.maxRating=(null==t?void 0:t.maxRating)||12,this.ratingPerStep=(null==t?void 0:t.ratingPerStep)||2,!(0==this.maxRating%this.ratingPerStep&&this.maxRating>0&&this.ratingPerStep>0))throw new Error("Invalid ratings params");this.dotCounter=Math.trunc(this.maxRating/this.ratingPerStep)}return _createClass(e,[{key:"mouseEnterDot",value:function(e){this.mouseEnterRating=e*this.ratingPerStep,this.isChanging=!0}},{key:"chooseRate",value:function(){this.model!==this.mouseEnterRating&&(this.model=this.mouseEnterRating,this.ratingChange.emit(this.model)),this.isChanging=!1}},{key:"clearDots",value:function(){this.isChanging=!1}},{key:"getStepsForRating",value:function(e){var t=Array(this.dotCounter).fill(!1,0,this.dotCounter),n=Math.round(e/this.ratingPerStep);return n>0&&t.fill(!0,0,n),t}},{key:"ratingDots",get:function(){var e=this.actualRating;return this.oldRating!==e&&(this.pRatingDots=this.getStepsForRating(e),this.oldRating=e),this.pRatingDots}},{key:"actualRating",get:function(){return this.isChanging?this.mouseEnterRating:this.model}}]),e}()).\u0275fac=function(e){return new(e||Z)(L.yc(N,8))},Z.\u0275cmp=L.sc({type:Z,selectors:[["app-single-rate"]],inputs:{isInteractive:"isInteractive",model:"model"},outputs:{ratingChange:"ratingChange"},exportAs:["singleRate"],ngContentSelectors:K,decls:5,vars:4,consts:[[1,"dot-rating"],["class","dot-rating__items",3,"mouseleave",4,"ngIf","ngIfElse"],["staticControl",""],[1,"dot-rating__items",3,"mouseleave"],["class","dot-rating__item",3,"is-active","mouseenter","click",4,"ngFor","ngForOf"],[1,"dot-rating__item",3,"mouseenter","click"],[1,"dot-rating__items"],["class","dot-rating__item",3,"is-active",4,"ngFor","ngForOf"],[1,"dot-rating__item"]],template:function(e,t){if(1&e&&(L.ad(Q),L.Ec(0,"div",0),L.xd(1,W,2,1,"div",1),L.xd(2,X,2,1,"ng-template",null,2,L.yd),L.Zc(4),L.Dc()),2&e){var n=L.kd(3);L.pc("is-activated",t.isInteractive||t.model>0),L.jc(1),L.bd("ngIf",t.isInteractive)("ngIfElse",n)}},directives:[q.u,q.t],styles:[".dot-rating[_ngcontent-%COMP%]{display:flex;align-items:center}.dot-rating[_ngcontent-%COMP%]:hover{cursor:pointer}.dot-rating__items[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex:1 1 0;max-width:224px}.dot-rating__item[_ngcontent-%COMP%]{width:24px;height:24px;border-radius:50%;background-color:rgba(50,50,50,.15);z-index:10}.dot-rating__item.is-active[_ngcontent-%COMP%]{background-color:var(--green-primary)}[_nghost-%COMP%]     .dot-rating.is-activated .dot-rating__value{color:var(--green-primary)}"]}),Z),ee=n("lJxs"),te=n("GJzE"),ne=n("tk/3"),ie=((Y=function(){function e(t,n){_classCallCheck(this,e),this.http=t,this.siteApiHostInfo=n}return _createClass(e,[{key:"getRatingsInfo",value:function(e){return this.http.get("".concat(this.siteApiHostInfo).concat(e)).pipe(Object(ee.a)((function(e){return z(e)})))}},{key:"updateRatings",value:function(e,t,n){return this.http.post("".concat(this.siteApiHostInfo).concat(e),{userRates:n}).pipe(Object(ee.a)((function(e){return z(e)})))}}]),e}()).\u0275fac=function(e){return new(e||Y)(L.Mc(ne.b),L.Mc(te.hb))},Y.\u0275prov=L.uc({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y),re=new L.v("Update model ratings service"),ae=new L.v("Get model ratings info service")},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("5+tZ"),r=n("SpAZ");function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Object(i.a)(r.a,e)}},bOdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("5+tZ");function r(e,t){return Object(i.a)(e,t,1)}},bsIB:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("fXoL"),r=n("ofXK"),a=n("GJzE"),o=n("1kSV"),s=n("sYmb"),c=function(){var e=function(){function e(t,n,r,a){_classCallCheck(this,e),this.elementRef=t,this.modalService=n,this.translateService=r,this.document=a,this.errorSelected=new i.s}return _createClass(e,[{key:"onKeyDown",value:function(e){var t=this;if(e.ctrlKey&&"Enter"===e.key){var n=this.document.getSelection().getRangeAt(0);if(this.isRangeFullyContained(n)){e.stopImmediatePropagation(),e.preventDefault();var i=n.toString().trim();if(i.length>256)alert(this.translateService.instant("report-content-error-selection-too-big-message"));else{this.selectedText=i;var r=this.modalService.open(a.db,{centered:!0,size:"lg"});r.componentInstance.selectedText=this.selectedText,r.result.then((function(e){t.errorSelected.emit({reCaptcha:e,erroneousContent:t.selectedText})})).catch((function(){}))}}}}},{key:"isRangeFullyContained",value:function(e){for(var t=e.commonAncestorContainer;Node.ELEMENT_NODE!==t.nodeType;)t=t.parentNode;return this.elementRef.nativeElement.contains(t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(o.s),i.yc(s.e),i.yc(r.e))},e.\u0275dir=i.tc({type:e,selectors:[["","appReportContentError",""]],hostBindings:function(e,t){1&e&&i.Qc("keydown",(function(e){return t.onKeyDown(e)}),!1,i.ld)},outputs:{errorSelected:"errorSelected"}}),e}()},c2HN:function(e,t,n){"use strict";function i(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return i}))},cSlR:function(e,t,n){"use strict";var i=/^(?:0|[1-9]\d*)$/;t.a=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&i.test(e))&&e>-1&&e%1==0&&e<t}},cp0P:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("HDdC"),r=n("DH7j"),a=n("lJxs"),o=n("XoHu"),s=n("Cfvw");function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){var i=t[0];if(Object(r.a)(i))return l(i,null);if(Object(o.a)(i)&&Object.getPrototypeOf(i)===Object.prototype){var s=Object.keys(i);return l(s.map((function(e){return i[e]})),s)}}if("function"==typeof t[t.length-1]){var c=t.pop();return l(t=1===t.length&&Object(r.a)(t[0])?t[0]:t,null).pipe(Object(a.a)((function(e){return c.apply(void 0,_toConsumableArray2(e))})))}return l(t,null)}function l(e,t){return new i.a((function(n){var i=e.length;if(0!==i)for(var r=new Array(i),a=0,o=0,c=function(c){var l=Object(s.a)(e[c]),u=!1;n.add(l.subscribe({next:function(e){u||(u=!0,o++),r[c]=e},error:function(e){return n.error(e)},complete:function(){++a!==i&&u||(o===i&&n.next(t?t.reduce((function(e,t,n){return e[t]=r[n],e}),{}):r),n.complete())}}))},l=0;l<i;l++)c(l);else n.complete()}
1))}},"d8+s":function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var i=n("PqYM"),r=n("lJxs"),a=n("IzEk"),o=n("LrWZ"),s=n("ehPC"),c=n("PLBQ"),l=n("AytR"),u=n("fXoL");function d(e,t){1&e&&(u.zc(0,"div",2),u.Vc(1,"safeHtml")),2&e&&u.bd("outerHTML",u.Wc(1,1,t.$implicit.widget),u.od)}function h(e,t){if(1&e&&(u.Cc(0),u.xd(1,d,2,3,"div",1),u.Bc()),2&e){var n=u.Uc();u.jc(1),u.bd("ngForOf",n.models)}}var f=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,o.injector=i,o.itemsService=r,o.selectedItemsService=a,o}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this,t=null!==this.widget.id;if(t&&null===this.selectedItemsService||!t&&null===this.itemsService)throw new Error("Required services must be injected");(t?this.selectedItemsService.getSelectedCurrencyInformer(this.widget.id).pipe(Object(r.a)((function(e){return null!==e?[e]:null}))):this.itemsService.getNextCurrencyInformers(this.widget.width*this.widget.height)).pipe(Object(a.a)(1)).subscribe((function(t){e.models=null!==t?t.filter((function(e){return!Object(o.a)(e.widget)})):[],e.models.length>0?e.emitHasData():e.emitEmptyData();var n=function(){e.emitComponentLoaded()};l.a.useLoadingDelay?Object(i.a)(1500).subscribe(n):n()}))}}]),n}(s.j);return e.\u0275fac=function(t){return new(t||e)(u.yc(s.A,8),u.yc(u.w),u.yc(c.d,8),u.yc(c.g,8))},e.\u0275cmp=u.sc({type:e,selectors:[["app-currency-informer-widget"]],features:[u.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[3,"outerHTML",4,"ngFor","ngForOf"],[3,"outerHTML"]],template:function(e,t){1&e&&(u.xd(0,h,2,1,"ng-container",0),u.Vc(1,"async")),2&e&&u.bd("appLoadingPlaceholder",u.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},encapsulation:2}),e}()},dDMU:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var i=n("LRne"),r=n("PqYM"),a=n("IzEk"),o=n("AytR"),s=n("ehPC"),c=n("GJzE"),l=n("nFFm"),u=n("fXoL"),d=n("sYmb");function h(e,t){1&e&&(u.Ec(0,"div",21),u.zc(1,"div",22),u.Dc())}function f(e,t){if(1&e){var n=u.Fc();u.Ec(0,"div",26),u.Ec(1,"button",27),u.Qc("click",(function(){u.nd(n);var e=u.Uc().$implicit;return u.Uc(3).addUserVote(e)})),u.zd(2),u.Dc(),u.Dc()}if(2&e){var i=u.Uc().$implicit,r=u.Uc(3);u.jc(1),u.bd("disabled",r.waitRequest),u.jc(1),u.Ad(i.answer)}}function p(e,t){if(1&e&&(u.Ec(0,"div",28),u.zd(1),u.Dc(),u.Ec(2,"div",29),u.Ec(3,"div",30),u.zc(4,"div"),u.Dc(),u.Ec(5,"div",31),u.zd(6),u.Vc(7,"percent"),u.Dc(),u.Dc()),2&e){var n=u.Uc().$implicit,i=u.Uc(3);u.jc(1),u.Ad(n.answer),u.jc(3),u.wd("width",100*i.getAnswerVotesPercent(n),"%"),u.jc(2),u.Ad(u.Xc(7,4,i.getAnswerVotesPercent(n),"1.1"))}}function g(e,t){if(1&e&&(u.Ec(0,"div",23),u.xd(1,f,3,2,"div",24),u.xd(2,p,8,7,"ng-template",null,25,u.yd),u.Dc()),2&e){var n=t.$implicit,i=u.kd(3),r=u.Uc(3);u.pc("quiz-option--is-chosen",r.isUserAnswer(n)),u.jc(1),u.bd("ngIf",!r.showResults)("ngIfElse",i)}}function v(e,t){if(1&e&&(u.Ec(0,"p"),u.zd(1),u.Dc()),2&e){var n=u.Uc().$implicit;u.jc(1),u.Ad(n)}}function m(e,t){if(1&e&&(u.Ec(0,"div"),u.xd(1,v,2,1,"p",32),u.Dc()),2&e){var n=t.$implicit;u.jc(1),u.bd("ngIf",n)}}function b(e,t){if(1&e){var n=u.Fc();u.Ec(0,"button",33),u.Qc("click",(function(){return u.nd(n),u.Uc(3).toggleResults()})),u.zd(1),u.Dc()}if(2&e){var i=u.Uc(3);u.jc(1),u.Bd(" ",i.stateToggleLabel," ")}}function y(e,t){1&e&&u.zc(0,"app-re-captcha",34)}function C(e,t){if(1&e){var n=u.Fc();u.Ec(0,"div",35),u.Ec(1,"button",36),u.Qc("click",(function(){return u.nd(n),u.Uc(3).showNextPoll()})),u.Tc(),u.Ec(2,"svg",37),u.zc(3,"use",38),u.Dc(),u.Dc(),u.Sc(),u.Ec(4,"button",36),u.Qc("click",(function(){return u.nd(n),u.Uc(3).showPreviousPoll()})),u.Tc(),u.Ec(5,"svg",37),u.zc(6,"use",39),u.Dc(),u.Dc(),u.Dc()}if(2&e){var i=u.Uc(3);u.jc(1),u.bd("disabled",!i.hasNextPoll),u.jc(3),u.bd("disabled",!i.hasPreviousPoll)}}var _=function(e,t){return{n:e,count:t}};function w(e,t){if(1&e&&(u.Ec(0,"div",2),u.xd(1,h,2,0,"div",3),u.Ec(2,"div",4),u.Ec(3,"div",5),u.zd(4),u.Dc(),u.Ec(5,"a",6),u.Tc(),u.Ec(6,"svg",7),u.zc(7,"use",8),u.Dc(),u.Dc(),u.Dc(),u.Sc(),u.Ec(8,"div",9),u.Ec(9,"div",10),u.Ec(10,"a",11),u.zd(11),u.Dc(),u.Ec(12,"div",12),u.zd(13),u.Dc(),u.Dc(),u.Ec(14,"div",13),u.xd(15,g,4,4,"div",14),u.Dc(),u.Ec(16,"div",15),u.Ec(17,"div"),u.xd(18,m,2,1,"div",16),u.xd(19,b,2,1,"button",17),u.Dc(),u.Ec(20,"div",18),u.xd(21,y,1,0,"app-re-captcha",19),u.Dc(),u.xd(22,C,7,2,"div",20),u.Dc(),u.Dc(),u.Dc()),2&e){var n=u.Uc(2);u.jc(1),u.bd("ngIf",n.waitRequest),u.jc(3),u.Ad(n.widget.label),u.jc(1),u.cd("href",n.model.url,u.qd),u.jc(5),u.cd("title",n.model.question),u.cd("href",n.model.url,u.qd),u.jc(1),u.Ad(n.model.question),u.jc(1),u.bd("translateParams",u.gd(13,_,n.model.votesCount,n.model.votesCount)),u.jc(1),u.Ad(n.votesCountLabelKey),u.jc(2),u.bd("ngForOf",n.model.answers
1),u.jc(3),u.bd("ngForOf",n.errorMessages),u.jc(1),u.bd("ngIf",n.model.canUserVote),u.jc(2),u.bd("ngIf",n.model.canUserVote),u.jc(1),u.bd("ngIf",n.isNavigationEnabled)}}function k(e,t){if(1&e&&(u.Cc(0),u.xd(1,w,23,16,"div",1),u.Bc()),2&e){var n=u.Uc();u.jc(1),u.bd("ngIf",n.model)}}var x=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s){var c;return _classCallCheck(this,n),(c=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,c.injector=i,c.translateService=r,c.addPollVoteService=a,c.pollsService=o,c.selectedPollsService=s,c.waitRequest=!1,c.errorMessages=[],c.pPollIndex=1,c.pIsNavigationEnabled=!1,c.pShowResults=!1,c}return _createClass(n,[{key:"ngOnInit",value:function(){var e,t=this;this.votesCountLabelKey===this.translateService.instant(this.votesCountLabelKey,{n:1,count:1})&&this.translateService.set(this.votesCountLabelKey,this.widget.votesCountLabel),this.model?e=Object(i.a)(this.model):(this.pIsNavigationEnabled=null===this.widget.id,e=this.pIsNavigationEnabled?this.pollsService.getPagedSimplePolls(this.pPollIndex,1):this.selectedPollsService.getSelectedSimplePoll(this.widget.id)),e.pipe(Object(a.a)(1)).subscribe((function(e){t.model=t.processServiceResult(e),null!==t.model?t.emitHasData():t.emitEmptyData();var n=function(){t.emitComponentLoaded()};o.a.useLoadingDelay?Object(r.a)(1500).subscribe(n):n()}))}},{key:"toggleResults",value:function(){this.pShowResults=!this.pShowResults}},{key:"showNextPoll",value:function(){var e=this;return this.waitRequest=!0,this.pollsService.getPagedSimplePolls(++this.pPollIndex,1).pipe(Object(a.a)(1)).subscribe((function(t){e.model=e.processServiceResult(t),e.waitRequest=!1}))}},{key:"showPreviousPoll",value:function(){var e=this;return this.waitRequest=!0,this.pollsService.getPagedSimplePolls(--this.pPollIndex,1).pipe(Object(a.a)(1)).subscribe((function(t){e.model=e.processServiceResult(t),e.waitRequest=!1}))}},{key:"getAnswerVotesPercent",value:function(e){return 0!==this.model.votesCount?e.votesCount/this.model.votesCount:0}},{key:"isUserAnswer",value:function(e){return this.model.userVote&&e.id===this.model.userVote}},{key:"addUserVote",value:function(e){var t;(null===(t=this.model)||void 0===t?void 0:t.canUserVote)&&(this.errorMessages=[],this.waitRequest=!0,this.answerToVote=e,this.reCaptchaExecute())}},{key:"clearField",value:function(){this.answerToVote=void 0,this.waitRequest=!1}},{key:"processServiceResult",value:function(e){var t;return Object(c.Ob)(e)?(this.pHasPreviousPoll=this.pPollIndex>1,this.pHasNextPoll=this.pPollIndex<e.pageCount,t=e.models.length>0?e.models[0]:null):t=e,t}},{key:"reCaptchaExecute",value:function(){var e=this;this.reCaptcha.queueExecute({onSuccess:function(t){e.addPollVoteService.addVote(e.model,e.answerToVote,t).pipe(Object(a.a)(1)).subscribe({error:function(t){e.errorMessages=Array.isArray(t.error)?t.error.map((function(e){return e.message})):[],e.clearField()},complete:function(){e.clearField()}})},onExpire:function(){e.clearField()},onError:function(){e.clearField(),e.reCaptcha.showErrorMessage()}})}},{key:"stateToggleLabel",get:function(){return this.showResults?this.widget.voteLabel:this.widget.resultsLabel}},{key:"showResults",get:function(){var e;return!(null===(e=this.model)||void 0===e?void 0:e.canUserVote)||this.pShowResults}},{key:"votesCountLabelKey",get:function(){return"poll-widget-votes-count-label"}},{key:"isNavigationEnabled",get:function(){return this.pIsNavigationEnabled}},{key:"hasPreviousPoll",get:function(){return this.pHasPreviousPoll}},{key:"hasNextPoll",get:function(){return this.pHasNextPoll}}]),n}(s.j);return e.\u0275fac=function(t){return new(t||e)(u.yc(s.A,8),u.yc(u.w),u.yc(d.e),u.yc(l.a),u.yc(l.h,8),u.yc(l.e,8))},e.\u0275cmp=u.sc({type:e,selectors:[["app-shared-poll"]],viewQuery:function(e,t){var n;1&e&&u.Dd(c.Z,!0),2&e&&u.jd(n=u.Rc())&&(t.reCaptcha=n.first)},inputs:{model:"model"},features:[u.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","lead-quiz",4,"ngIf"],[1,"lead-quiz"],["class","poll__loader",4,"ngIf"],[1,"lead-quiz__subinfo"],[1,"card-label"],[1,"lead-quiz__share-btn",3,"href"],["width","20","height","20"],[0,"xlink","href","#icon-share"],[1,"lead-quiz__content"],[1,"lead-quiz__header"],[1,"lead-quiz__title",3,"title","href"],["translate","",1,"lead-quiz__count","mt-2",3,"translateParams"],[1,"mt-4"],["class","quiz-option",3,"quiz-option--is-chosen",4,"ngFor","ngForOf"],[1,"lead-quiz__bottom"],[4,"ngFor","ngForOf"],["class","lead-quiz__result-button","type","button",3,"click",4,"ngIf"],[1,"lead-quiz__re-captcha-parent"],["size","invisible","badge","inline","errorMode","handled","class","lead-quiz__re-captcha",4,"ngIf"],["class","lead-quiz__controls",4,"ngIf"],[1,"poll__loader"],[1,"poll__loader--spinner"],[1,"quiz-option"],["class","lead-quiz__option",4,"ngIf","ngIfElse"],["results",""],[1,"lead-quiz__option"],["type","button",1,"lead-quiz__poll-button",3,"disabled","click"],[1,"quiz-option__title"],[1,"quiz-option__info"],[1,"quiz-option__progress"],[1,"quiz-option__percentage"],[4,"ngIf"],["type","button",1,"lead-quiz__result-button",3,"click"],["size","invisible","badge","inline","errorMode","handled",1,"lead-quiz__re-captcha"],[1,"lead-quiz__controls"],["type","button",1,"lead-quiz__control",3,"disabled","click"],["width","24","height","24"],[0,"xlink","href","#icon-chevron-left"],[0,"xlink","href","#icon-chevron-right"]],template:function(e,t){1&e&&(u.xd(0,k,2,1,"ng-container",0),u.Vc(1,"async")),2&e&&u.bd("appLoadingPlaceholder",u.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:[".card-label[_ngcontent-%COMP%]{padding:4px 8px;font-weight:700;text-transform:uppercase;background-color:var(--green-primary);color:#fff}
1.lead-quiz[_ngcontent-%COMP%]{position:relative;margin:0 -8px;padding-top:16px;background-color:#f0f0f0;border-bottom:3px solid var(--green-primary)}.lead-quiz__poll-button[_ngcontent-%COMP%]{display:block;position:relative;width:100%;font-size:18px;padding:16px 24px;margin-bottom:8px;border-color:var(--green-primary);border-style:solid}.lead-quiz__poll-button[_ngcontent-%COMP%]:hover{color:#fff;background-color:var(--green-primary)}.lead-quiz__result-button[_ngcontent-%COMP%]{color:var(--green-primary);border:unset;text-decoration:underline;font-weight:700}.lead-quiz__header[_ngcontent-%COMP%]{margin-bottom:auto}.lead-quiz__subinfo[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:24px;padding-right:16px}.lead-quiz__content[_ngcontent-%COMP%]{padding:0 16px 16px}.lead-quiz__share-btn[_ngcontent-%COMP%]{border:0;background-color:transparent}.lead-quiz__share-btn[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var(--green-primary)}.lead-quiz__title[_ngcontent-%COMP%]{margin:auto 0;font-size:32px}.lead-quiz__bottom[_ngcontent-%COMP%]{display:flex;align-items:flex-end;justify-content:space-between;margin-top:32px}.lead-quiz__control[_ngcontent-%COMP%]{position:relative;margin:0 4px;padding:6px;background-color:#fff;box-shadow:1px 1px 2px rgba(0,0,0,.15);border-radius:3px;border:0}.lead-quiz__control[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:18px;height:30px;transition:all .3s ease-out}.lead-quiz__control[_ngcontent-%COMP%]:hover   svg[_ngcontent-%COMP%]{fill:var(--green-primary)}.lead-quiz__control--spinner[_ngcontent-%COMP%]{position:absolute;display:inline-block;width:50px;height:50px;border-radius:50%;border:2px solid var(--green-primary);border-right-width:0;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.lead-quiz__re-captcha-parent[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;width:50%}@media (min-width:1024px){.lead-quiz[_ngcontent-%COMP%]{margin:0;height:calc(100% - 36px)}.lead-quiz[_ngcontent-%COMP%], .lead-quiz__content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.lead-quiz__content[_ngcontent-%COMP%]{flex-grow:1}}.quiz-option[_ngcontent-%COMP%]{display:block}.quiz-option[_ngcontent-%COMP%]:not(:last-child){margin-bottom:16px}.quiz-option__title[_ngcontent-%COMP%]{margin-bottom:4px;font-size:18px}.quiz-option__info[_ngcontent-%COMP%]{display:flex;align-items:center}.quiz-option__progress[_ngcontent-%COMP%]{position:relative;flex-grow:1;height:3px;background-color:#fff}.quiz-option__progress[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:3px;background-color:var(--green-primary)}.quiz-option__percentage[_ngcontent-%COMP%]{flex-shrink:0;width:48px;margin-left:16px;text-align:right;font-size:18px;font-weight:700}.quiz-option--is-chosen[_ngcontent-%COMP%]   .quiz-option__percentage[_ngcontent-%COMP%]{color:var(--green-primary)}.poll__loader[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:center;align-items:center;top:0;width:100%;height:100%;background-color:rgba(50,50,50,.5);z-index:1}.poll__loader--spinner[_ngcontent-%COMP%]{display:inline-block;width:50px;height:50px;border-radius:50%;border:2px solid var(--green-primary);border-right-width:0;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}[_nghost-%COMP%]     .grecaptcha-badge{transform:scale(.6);transform-origin:right bottom;margin:0}"]}),e}()},dLWn:function(e,t,n){"use strict";var i=Function.prototype.toString;t.a=function(e){if(null!=e){try{return i.call(e)}catch(t){}try{return e+""}catch(t){}}return""}},dam5:function(e,t,n){"use strict";n.d(t,"a",(function(){return q}));var i,r=n("LFf6"),a=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),o=function(e){return a.test(e)},s=n("IzLi"),c=n("8M4i"),l=n("EUcb"),u=n("ovuK"),d=n("xutz"),h=d.a&&d.a.isRegExp,f=h?Object(u.a)(h):function(e){return Object(l.a)(e)&&"[object RegExp]"==Object(c.a)(e)},p=n("FSIP"),g=Object(p.a)("length"),v="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",m="\\ud83c[\\udffb-\\udfff]",b="[^\\ud800-\\udfff]",y="(?:\\ud83c[\\udde6-\\uddff]){2}",C="[\\ud800-\\udbff][\\udc00-\\udfff]",_="(?:"+v+"|"+m+")?",w="[\\ufe0e\\ufe0f]?"+_+"(?:\\u200d(?:"+[b,y,C].join("|")+")[\\ufe0e\\ufe0f]?"+_+")*",k="(?:"+[b+v+"?",v,y,C,"[\\ud800-\\udfff]"].join("|")+")",x=RegExp(m+"(?="+m+")|"+k+w,"g"),O="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",S="[^\\ud800-\\udfff]",P="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",M="(?:"+O+"|\\ud83c[\\udffb-\\udfff])?",I="[\\ufe0e\\ufe0f]?"+M+"(?:\\u200d(?:"+[S,P,E].join("|")+")[\\ufe0e\\ufe0f]?"+M+")*",D="(?:"+[S+O+"?",O,P,E,"[\\ud800-\\udfff]"].join("|")+")",j=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+D+I,"g"),A=n("G8aS"),T=/^\s+|\s+$/g,z=/^[-+]0x[0-9a-f]+$/i,L=/^0b[01]+$/i,N=/^0o[0-7]+$/i,R=parseInt,F=n("efZk"),V=/\w*$/,U=function(e,t){var n=30,i="...";if(Object(s.a)(t)){var a="separator"in t?t.separator:a;n="length"in t?function(e){var t=function(e){return e?(e=function(e){if("number"==typeof e)return e;if(Object(A.a)(e))return NaN;if(Object(s.a)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Object(s.a)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(T,"");var n=L.test(e);return n||N.test(e)?R(e.slice(2),n?2:8):z.test(e)?NaN:+e}(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),n=t%1;return t==t?n?t-n:t:0}(t.length):n,i="omission"in t?Object(r.a)(t.omission):i}var c=(e=Object(F.a)(e)).length;if(o(e)){var l=function(e){return o(e)?function(e){return e.match(j)||[]}(e):function(e){return e.split("")}(e)}(e);c=l.length}if(n>=c)return e;var u=n-function(e){return o(e)?function(e){for(var t=x.lastIndex=0;x.test(e);)++t;return t}(e):g(e)}(i);if(u<1)return i;var d=l?function(e,t,n){var i=e.length;return(n=void 0===n?i:n)>=i?e:function(e,t,n){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(r);++i<r;)a[i]=e[i+t];return a}(e,0,n)}(l,0,u).join(""):e.slice(0,u);if(void 0===a)return d+i;
1if(l&&(u+=d.length-u),f(a)){if(e.slice(u).search(a)){var h,p=d;for(a.global||(a=RegExp(a.source,Object(F.a)(V.exec(a))+"g")),a.lastIndex=0;h=a.exec(p);)var v=h.index;d=d.slice(0,void 0===v?u:v)}}else if(e.indexOf(Object(r.a)(a),u)!=u){var m=d.lastIndexOf(a);m>-1&&(d=d.slice(0,m))}return d+i},H=n("fXoL"),B=n("sYmb"),q=((i=function(){function e(t){_classCallCheck(this,e),this.translateService=t,this.pAuthor="",this.pDescription="",this.pUseImageIndex=!0}return _createClass(e,[{key:"getTemplateFixedLength",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return void 0===e.templateFixedLength&&(e.templateFixedLength=this.translateService.instant("default-image-description-template",{defaultName:"",imageIndex:""}).length),e.templateFixedLength+(null!==t?t:2)}},{key:"internalGetTitle",value:function(e){var t=this.pDescription,n=!1;if(0===t.length&&(t=this.pDefaultName,this.pUseImageIndex&&(e-=this.getTemplateFixedLength(),n=!0)),e<=0)throw new Error("Maximal title's length must be greater than 0");return t.length>e&&(t=U(t,{length:e})),n?this.translateService.instant("default-image-description-template",{defaultName:t,imageIndex:this.pImageIndex}):t}},{key:"defaultName",set:function(e){this.pDefaultName=e}},{key:"imageIndex",set:function(e){this.pImageIndex=e}},{key:"author",set:function(e){this.pAuthor=e||""}},{key:"description",set:function(e){this.pDescription=e||""}},{key:"useImageIndex",set:function(e){this.pUseImageIndex=e}},{key:"alt",get:function(){var t=this.pAuthor,n=t.length;if(0===n)return this.internalGetTitle(e.maxAltLength);var i=e.maxAltLength-(n+2);if(i<=0)return U(t,{length:e.maxAltLength});try{return this.internalGetTitle(i)+(0!==n?", "+t:"")}catch(r){return t}}},{key:"title",get:function(){return this.internalGetTitle(e.maxTitleLength)}}]),e}()).maxAltLength=150,i.maxTitleLength=70,i.\u0275fac=function(e){return new(e||i)(H.yc(B.e))},i.\u0275dir=H.tc({type:i,selectors:[["","appImageAltAndTitle",""]],inputs:{defaultName:"defaultName",imageIndex:"imageIndex",author:"author",description:"description",useImageIndex:"useImageIndex"},exportAs:["imageAltAndTitle"]}),i)},dhcM:function(e,t,n){"use strict";var i,r,a=n("oSzE"),o=n("uE2L"),s=n("YHEm"),c=function(e,t,n){(void 0!==n&&!Object(s.a)(e[t],n)||void 0===n&&!(t in e))&&Object(o.a)(e,t,n)},l=n("3/ER"),u=n("G4mU"),d=n("eAQQ"),h=n("hYPf"),f=n("9f76"),p=n("/1FC"),g=n("5WsY"),v=n("EUcb"),m=n("WOAq"),b=n("vJtL"),y=n("IzLi"),C=n("6LIB"),_=n("oYcn"),w=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},k=n("+EKe"),x=n("4/q3"),O=n("+Xah"),S=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},P=Math.max,E=n("AwXo"),M=Date.now,I=function(e){var t=0,n=0;return function(){var i=M(),r=16-(i-n);if(n=i,r>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(E.a?function(e,t){return Object(E.a)(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:O.a),D=n("cSlR"),j=(i=function(e,t,n,i){!function e(t,n,i,r,o){t!==n&&function(e,t,n){for(var i=-1,r=Object(e),a=n(e),o=a.length;o--;){var s=a[++i];if(!1===t(r[s],s))break}}(n,(function(s,O){if(o||(o=new a.a),Object(y.a)(s))!function(e,t,n,i,r,a,o){var s,O=w(e,n),S=w(t,n),P=o.get(S);if(P)c(e,n,P);else{var E=a?a(O,S,n+"",e,t,o):void 0,M=void 0===E;if(M){var I=Object(p.a)(S),D=!I&&Object(m.a)(S),j=!I&&!D&&Object(_.a)(S);E=S,I||D||j?Object(p.a)(O)?E=O:(s=O,Object(v.a)(s)&&Object(g.a)(s)?E=Object(d.a)(O):D?(M=!1,E=Object(l.a)(S,!0)):j?(M=!1,E=Object(u.a)(S,!0)):E=[]):Object(C.a)(S)||Object(f.a)(S)?(E=O,Object(f.a)(O)?E=function(e){return Object(k.a)(e,Object(x.a)(e))}(O):Object(y.a)(O)&&!Object(b.a)(O)||(E=Object(h.a)(S))):M=!1}M&&(o.set(S,E),r(E,S,i,a,o),o.delete(S)),c(e,n,E)}}(t,n,O,i,e,r,o);else{var S=r?r(w(t,O),s,O+"",t,n,o):void 0;void 0===S&&(S=s),c(t,O,S)}}),x.a)}(e,t,n,i)},I(function(e,t,n){return t=P(void 0===t?e.length-1:t,0),function(){for(var i=arguments,r=-1,a=P(i.length-t,0),o=Array(a);++r<a;)o[r]=i[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=i[r];return s[t]=n(o),S(e,this,s)}}(r=function(e,t){var n=-1,r=t.length,a=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(a=i.length>3&&"function"==typeof a?(r--,a):void 0,o&&function(e,t,n){if(!Object(y.a)(n))return!1;var i=typeof t;return!!("number"==i?Object(g.a)(n)&&Object(D.a)(t,n.length):"string"==i&&t in n)&&Object(s.a)(n[t],e)}(t[0],t[1],o)&&(a=r<3?void 0:a,r=1),e=Object(e);++n<r;){var c=t[n];c&&i(e,c,n,a)}return e},void 0,O.a),r+""));t.a=j},eAQQ:function(e,t,n){"use strict";t.a=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}},eIep:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("l7GE"),r=n("51Dv"),a=n("ZUHj"),o=n("lJxs"),s=n("Cfvw");function c(e,t){return"function"==typeof t?function(n){return n.pipe(c((function(n,i){return Object(s.a)(e(n,i)).pipe(Object(o.a)((function(e,r){return t(n,e,i,r)})))}
1)))}:function(t){return t.lift(new l(e))}}var l=function(){function e(t){_classCallCheck(this,e),this.project=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.project))}}]),e}(),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).project=i,r.index=0,r}return _createClass(n,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var i=this.innerSubscription;i&&i.unsubscribe();var o=new r.a(this,t,n),s=this.destination;s.add(o),this.innerSubscription=Object(a.a)(this,e,void 0,void 0,o),this.innerSubscription!==o&&s.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||_get(_getPrototypeOf(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e,t,n,i,r){this.destination.next(t)}}]),n}(i.a)},eLTN:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL"),r=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-card-label"]],inputs:{className:"className",title:"title"},decls:2,vars:3,template:function(e,t){1&e&&(i.Ec(0,"div"),i.zd(1),i.Dc()),2&e&&(i.lc(t.className),i.jc(1),i.Bd(" ",t.title,"\n"))},styles:[".card-label[_ngcontent-%COMP%]{padding:4px 8px;font-weight:700;text-transform:uppercase;background-color:var(--green-primary);color:#fff}.card-label--in-feed[_ngcontent-%COMP%]{display:none}@media (min-width:1024px){.card-label--in-feed[_ngcontent-%COMP%]{display:inline-block;margin-bottom:40px}}"]}),e}()},efZk:function(e,t,n){"use strict";var i=n("LFf6");t.a=function(e){return null==e?"":Object(i.a)(e)}},ehPC:function(e,t,n){"use strict";n.d(t,"L",(function(){return i})),n.d(t,"q",(function(){return r.b})),n.d(t,"c",(function(){return r.a})),n.d(t,"t",(function(){return r.c})),n.d(t,"B",(function(){return r.d})),n.d(t,"F",(function(){return s})),n.d(t,"H",(function(){return o})),n.d(t,"l",(function(){return a})),n.d(t,"R",(function(){return c})),n.d(t,"i",(function(){return l})),n.d(t,"r",(function(){return d})),n.d(t,"P",(function(){return u})),n.d(t,"w",(function(){return h})),n.d(t,"D",(function(){return f})),n.d(t,"m",(function(){return g})),n.d(t,"K",(function(){return m})),n.d(t,"M",(function(){return v})),n.d(t,"S",(function(){return w})),n.d(t,"v",(function(){return y})),n.d(t,"y",(function(){return C})),n.d(t,"d",(function(){return A})),n.d(t,"j",(function(){return T})),n.d(t,"s",(function(){return z.a})),n.d(t,"Q",(function(){return L.a})),n.d(t,"g",(function(){return G})),n.d(t,"I",(function(){return X.a})),n.d(t,"o",(function(){return Z.a})),n.d(t,"u",(function(){return Y.a})),n.d(t,"C",(function(){return Q.a})),n.d(t,"x",(function(){return K.a})),n.d(t,"E",(function(){return J.a})),n.d(t,"b",(function(){return ee})),n.d(t,"n",(function(){return re})),n.d(t,"N",(function(){return de})),n.d(t,"a",(function(){return ge})),n.d(t,"h",(function(){return ye})),n.d(t,"G",(function(){return Pe})),n.d(t,"J",(function(){return Ee})),n.d(t,"e",(function(){return Me})),n.d(t,"p",(function(){return Ie})),n.d(t,"k",(function(){return De})),n.d(t,"O",(function(){return je})),n.d(t,"f",(function(){return Ae})),n.d(t,"A",(function(){return Te})),n.d(t,"z",(function(){return ze})),n.d(t,"T",(function(){return Ve}));var i=function(e){return e[e.desktop=1]="desktop",e[e.mobile=2]="mobile",e[e.all=3]="all",e}({}),r=n("DG55"),a=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this.width=t,this.widgets=n,this.pEmptyAction=i,this.widgets.forEach((function(e){e.owner=r}))}return _createClass(e,[{key:"emptyAction",get:function(){var e;return this.pEmptyAction||(null===(e=this.pOwner)||void 0===e?void 0:e.emptyAction)}},{key:"owner",set:function(e){this.pOwner=e}}]),e}(),o=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this.height=t,this.blocks=n,this.pEmptyAction=i,this.blocks.forEach((function(e){e.owner=r}))}return _createClass(e,[{key:"emptyAction",get:function(){return this.pEmptyAction||this.pOwner.emptyAction}},{key:"owner",set:function(e){this.pOwner=e}}]),e}(),s=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this.width=t,this.sections=n,this.pEmptyAction=i,this.sections.forEach((function(e){e.owner=r}))}return _createClass(e,[{key:"emptyAction",get:function(){return this.pEmptyAction||"doNothing"}}]),e}(),c=function(e){return e[e.WidgetContainer=0]="WidgetContainer",e[e.BlockBanner=1]="BlockBanner",e[e.StretchBanner=2]="StretchBanner",e[e.ShiftStretchBanner=3]="ShiftStretchBanner",e[e.BannerInContent=4]="BannerInContent",e[e.CurrencyInformer=5]="CurrencyInformer",e[e.CustomWidget=6]="CustomWidget",e[e.IframeWidget=7]="IframeWidget",e[e.LastNewsFeed=8]="LastNewsFeed",e[e.CardsContainer=9]="CardsContainer",e[e.EndlessNewsBlock=10]="EndlessNewsBlock",e[e.Poll=11]="Poll",e[e.TwoAnswerPoll=12]="TwoAnswerPoll",e[e.SingleSpecialTheme=13]="SingleSpecialTheme",e[e.WeekTopNews=14]="WeekTopNews",e[e.PoliticalNews=15]="PoliticalNews",e[e.CompaniesNews=16]="CompaniesNews",e[e.AdsTeaser=17]="AdsTeaser",e[e.TopCompanies=18]="TopCompanies",e[e.CompanyLogos=19]="CompanyLogos",e[e.CatalogRubrics=20]="CatalogRubrics",e[e.PopularPlaces=21]="PopularPlaces",e[e.CompaniesList=22]="CompaniesList",e[e.CompaniesProducts=23]="CompaniesProducts",e[e.NewsDetailVie
1w=24]="NewsDetailView",e[e.NewsCardsBlock=25]="NewsCardsBlock",e}({}),l=function(){function e(t,n,i){_classCallCheck(this,e),this.width=t,this.height=n,this.pEmptyAction=i}return _createClass(e,[{key:"type",get:function(){return this.pType}},{key:"typeName",get:function(){return c[this.pType]}},{key:"widthInCols",get:function(){return 12/this.width}},{key:"isRenderedInBrowserApp",get:function(){return!0}},{key:"isRenderedInServerApp",get:function(){return!0}},{key:"emptyAction",get:function(){var e;return this.pEmptyAction||(null===(e=this.pOwner)||void 0===e?void 0:e.emptyAction)}},{key:"owner",set:function(e){this.pOwner=e}}]),e}(),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s,l=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;return _classCallCheck(this,n),(s=t.call(this,e,i,r)).width=e,s.height=i,s.pEmptyAction=r,s.widgets=a,s.showByPage=o,s.useInfiniteScroll=l,s.replayCount=u,s.pType=c.WidgetContainer,s}return _createClass(n,[{key:"getComponent",value:function(){return L.a}}]),n}(l),d=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this,e,i,r)).width=e,s.height=i,s.pEmptyAction=r,s.label=a,s.cards=o,s.pType=c.CardsContainer,s}return _createClass(n,[{key:"getComponent",value:function(){return z.a}},{key:"widthInCols",get:function(){return 12/this.internalWidth}},{key:"internalWidth",get:function(){return this.width}},{key:"internalHeight",get:function(){return this.height}}]),n}(l),h=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,l){var u;return _classCallCheck(this,n),(u=t.call(this,e,i,r)).width=e,u.height=i,u.pEmptyAction=r,u.label=a,u.posterType=o,u.links=s,u.posterUrl=l,u.pType=c.CustomWidget,u}return _createClass(n,[{key:"getComponent",value:function(){return K.a}}]),n}(l),f=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i,r)).width=e,o.height=i,o.pEmptyAction=r,o.url=a,o.pType=c.IframeWidget,o}return _createClass(n,[{key:"getComponent",value:function(){return J.a}}]),n}(l),p=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this,e,i,r)).width=e,s.height=i,s.pEmptyAction=r,s.placeUrl=a,s.gaPlaceName=o,s}return n}(l),g=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).pType=c.BlockBanner,e}return _createClass(n,[{key:"getComponent",value:function(){return re}}]),n}(p),v=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).pType=c.StretchBanner,e}return _createClass(n,[{key:"getComponent",value:function(){return de}}]),n}(p),m=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i,r,a.length>0?a[0].placeUrl:null,a.length>0?a[0].gaPlaceName:null)).width=e,o.height=i,o.pEmptyAction=r,o.bannersPlaces=a,o.pType=c.ShiftStretchBanner,o}return n}(v),b=n("6LIB"),y=function(e){return e[e.WithoutPoster=0]="WithoutPoster",e[e.HalfFill=1]="HalfFill",e[e.FullFill=2]="FullFill",e}({}),C=function(e){return e[e.WithoutPoster=0]="WithoutPoster",e[e.FullFill=1]="FullFill",e}({}),_=function e(t,n,i){_classCallCheck(this,e),this.label=t,this.url=n,this.noFollow=i};function w(e){return function(e){return Object(b.a)(e)&&"string"==typeof e.label&&"string"==typeof e.url&&"boolean"==typeof e.noFollow&&e.label.length>0&&e.url.length>0}(e)?new _(e.label,e.url,e.noFollow):null}var k,x,O,S,P=n("2Vo4"),E=n("PqYM"),M=n("zP0r"),I=n("IzEk"),D=n("AytR"),j=n("fXoL"),A=((x=function(){function e(){_classCallCheck(this,e),this.isLoaded$=new P.a(!1),this.hasData$=new P.a(!1),this.pNeedInstantSubstitute=!0}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this,t=function(){e.emitComponentLoaded()};void 0===this.models?this.getModels().pipe(Object(I.a)(1)).subscribe((function(n){null!==n?(e.renderCard(n),e.emitHasData()):e.emitEmptyData(),D.a.useLoadingDelay?Object(E.a)(1500).subscribe(t):t()})):(this.renderCard(this.models),this.emitHasData(),D.a.useLoadingDelay?Object(E.a)(1500).subscribe(t):t())}}
1,{key:"addClassForTablet",value:function(){return"PopularPlaces"===this.parentContainer.widget.typeName||"CompaniesProducts"===this.parentContainer.widget.typeName}},{key:"emitHasData",value:function(){this.hasData$.next(!0)}},{key:"emitEmptyData",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.hasData$.next(!1),e&&this.parentContainer instanceof z.a&&this.parentContainer.processEmptyCard(this,this.containerRef.hostView)}},{key:"emitComponentLoaded",value:function(){this.isLoaded$.next(!0)}},{key:"hostClasses",get:function(){var e=this.parentContainer.widget.widthInCols*this.card.width;return["col-12",this.addClassForTablet()?"col-md-6":"",12!==e?"col-lg-"+e:null].join(" ")}},{key:"isComponentLoaded$",get:function(){return this.isLoaded$.asObservable()}},{key:"isComponentHasData$",get:function(){return this.hasData$.asObservable().pipe(Object(M.a)(1))}},{key:"needInstantSubstitute",get:function(){return this.pNeedInstantSubstitute}}]),e}()).\u0275fac=function(e){return new(e||x)},x.\u0275cmp=j.sc({type:x,selectors:[["app-base-card"]],hostVars:2,hostBindings:function(e,t){2&e&&j.lc(t.hostClasses)},inputs:{card:"card",models:"models",containerRef:"containerRef",parentContainer:"parentContainer"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),x),T=((k=function(){function e(t,n){_classCallCheck(this,e),this.emptyWidgetProcessorsFactory=t,this.injector=n,this.isLoaded$=new P.a(!1),this.hasData$=new P.a(!1),this.needInstantSubstitute=!0}return _createClass(e,[{key:"emitHasData",value:function(){this.hasData$.next(!0)}},{key:"emitEmptyData",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.hasData$.next(!1),e&&null!==this.parentBlock&&this.parentBlock.processEmptyWidget(this.componentViewRef,this.getEmptyWidgetProcessor())}},{key:"emitComponentLoaded",value:function(){this.isLoaded$.next(!0)}},{key:"getEmptyWidgetProcessor",value:function(){if(null===this.emptyWidgetProcessorsFactory||"doNothing"===this.widget.emptyAction)return null;switch(this.widget.emptyAction){case"substituteByWidget":return this.emptyWidgetProcessorsFactory.getSubstituteByWidgetProcessor(this.widget,this.needInstantSubstitute);case"substituteByAdSense":return this.emptyWidgetProcessorsFactory.getSubstituteByAdSenseProcessor(this.widget,this.needInstantSubstitute)}}},{key:"isComponentLoaded$",get:function(){return this.isLoaded$.asObservable()}},{key:"isComponentHasData$",get:function(){return this.hasData$.asObservable().pipe(Object(M.a)(1))}}]),e}()).\u0275fac=function(e){return new(e||k)(j.yc(Te,8),j.yc(j.w))},k.\u0275cmp=j.sc({type:k,selectors:[["ng-component"]],inputs:{widget:"widget",parentBlock:"parentBlock"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),k),z=n("SLGL"),L=n("hVat"),N=n("XNiG"),R=n("itXk"),F=n("1G5W"),V=n("vkgz"),U=n("JX91"),H=n("pLZG"),B=n("eIep"),q=n("/uUt"),$=n("lJxs"),W=n("GJzE"),G=((O=function(){function e(t,n){_classCallCheck(this,e),this.layoutsManager=t,this.googleTagManagerService=n,this.layoutModel=null,this.isLoaded$=new P.a(!1),this.onDestroy$=new N.a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.layoutsManager.onLayoutChange.pipe(Object(F.a)(this.onDestroy$),Object(V.a)((function(t){e.layoutModel=t,e.resetServices()}))).subscribe(),this.registerDefaultOnLoadHandler()}},{key:"ngAfterViewInit",value:function(){var e=this;this.sectionComponents.changes.pipe(Object(F.a)(this.onDestroy$),Object(U.a)(this.sectionComponents),Object(V.a)((function(){e.isLoaded$.next(!1)})),Object(H.a)((function(e){return e.length>0})),Object(B.a)((function(e){return Object(R.a)(_toConsumableArray2(e.map((function(e){return e.isComponentLoaded$.pipe(Object(q.a)())}))))})),Object($.a)((function(e){return e.every((function(e){return e}))})),Object(q.a)(),Object(V.a)((function(t){e.isLoaded$.next(t)}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"registerDefaultOnLoadHandler",value:function(){var e=this;this.isComponentLoaded$.pipe(Object(F.a)(this.onDestroy$),Object(H.a)((function(e){return e})),Object(I.a)(1),Object(V.a)((function(){e.sendPageView()}))).subscribe()}},{key:"sendPageView",value:function(){this.googleTagManagerService.sendPageView()}},{key:"isComponentLoaded$",get:function(){return this.isLoaded$.asObservable()}}]),e}()).\u0275fac=function(e){return new(e||O)(j.yc(Pe),j.yc(W.w))},O.\u0275cmp=j.sc({type:O,selectors:[["app-base-layout"]],viewQuery:function(e,t){var n;1&e&&j.Dd(X.a,!0),2&e&&j.jd(n=j.Rc())&&(t.sectionComponents=n)},decls:0,vars:0,template:function(e,t){},encapsulation:2}),O),X=n("Fbma"),Z=n("ML90"),Y=n("J8dt"),Q=n("4qgU"),K=n("U7oc"),J=n("96xf"),ee=((S=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e,i)).needInstantSubstitute=!1,r.pAspectRatio=null,r.pHasModel=!1,r.pIsCodePlace=!1,r.pPlaceUrl=null,r.pGaPlaceName=null,r.pActualBannerId=null,r}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.pHasModel=null!==this.widget.placeUrl,this.pHasModel?(this.pPlaceUrl=this.widget.placeUrl,this.pGaPlaceName=this.widget.gaPlaceName,null===this.pAspectRatio&&(this.pAspectRatio=this.injector.get(W.t).isMobile?48:null),this.emitHasData()):this.emitEmptyData();var t=function(){e.emitComponentLoaded()};D.a.useLoadingDelay?Object(E.a)(1500).subscribe(t):t()}},{key:"onActualBannerIdUpdated",value:function(e){this.pActualBannerId=e}},{key:"onPlaceLoaded",value:function(e){this.pIsCodePlace=e.isCodePlace}},{key:"aspectRatio",set:function(e){this.pAspectRatio=e},get:function(){return this.pIsCodePlace?null:this.pAspectRatio}},{key:"hasModel",get:function(){return this.pHasModel}},{key:"placeUrl",get:function(){return this.pPlaceUrl}},{key:"gaPlaceName",get:function(){return this.pGaPlaceName}},{key:"actualBannerId",get:function(){return this.pActualBannerId}}]),n}(T)).\u0275fac=function(e){return new(e||S)(j.yc(Te,8),j.yc(j.w))},S.\u0275cmp=j.sc({type:S,selectors:[["ng-component"]],hostVars:2,hostBindings:function(e,t){2&e&&j.kc("data-place-name",t.gaPlaceName)("data-banner-id",t.actualBannerId)},inputs:{aspectRatio:"aspectRatio"},features:[j.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),S);function te(e,t){if(1&e){var n=j.Fc();j.Ec(0,"app-banners-place-content",2),j.Qc("actualBannerIdUpdated",(function(e){return j.nd(n),j.Uc(2).onActualBannerIdUpdated(e)}))("placeLoaded",(function(e){return j.nd(n),j.Uc(2).onPlaceLoaded(e)})),j.Dc()}if(2&e){var i=j.Uc(2);j.bd("placeUrl",i.placeUrl)("appScaledBox",i.aspectRatio)}}function ne(e,t){if(1&e&&(j.Cc(0),j.xd(1,te,1,2,"app-banners-place-content",1),j.Bc()),2&e){var n=j.Uc();j.jc(1),j.bd("ngIf",n.hasModel)}}var ie,re=((ie=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).pAspectRatio=163,e}return n}(ee)).\u0275fac=function(e){return ae(e||ie)},ie.\u0275cmp=j.sc({type:ie,selectors:[["app-block-banners-place-widget"]],features:[j.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","a
1ppLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[3,"placeUrl","appScaledBox","actualBannerIdUpdated","placeLoaded",4,"ngIf"],[3,"placeUrl","appScaledBox","actualBannerIdUpdated","placeLoaded"]],template:function(e,t){1&e&&(j.xd(0,ne,2,1,"ng-container",0),j.Vc(1,"async")),2&e&&j.bd("appLoadingPlaceholder",j.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   app-banners-place-content[_ngcontent-%COMP%]{margin-bottom:20px}"]}),ie),ae=j.Gc(re);function oe(e,t){if(1&e){var n=j.Fc();j.Ec(0,"app-banners-place-content",2),j.Qc("actualBannerIdUpdated",(function(e){return j.nd(n),j.Uc(2).onActualBannerIdUpdated(e)}))("placeLoaded",(function(e){return j.nd(n),j.Uc(2).onPlaceLoaded(e)})),j.Dc()}if(2&e){var i=j.Uc(2);j.bd("placeUrl",i.placeUrl)("appScaledBox",i.aspectRatio)}}function se(e,t){if(1&e&&(j.Cc(0),j.xd(1,oe,1,2,"app-banners-place-content",1),j.Bc()),2&e){var n=j.Uc();j.jc(1),j.bd("ngIf",n.hasModel)}}var ce,le,ue,de=((ce=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(ee)).\u0275fac=function(e){return he(e||ce)},ce.\u0275cmp=j.sc({type:ce,selectors:[["app-stretching-banners-place-widget"]],features:[j.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[3,"placeUrl","appScaledBox","actualBannerIdUpdated","placeLoaded",4,"ngIf"],[3,"placeUrl","appScaledBox","actualBannerIdUpdated","placeLoaded"]],template:function(e,t){1&e&&(j.xd(0,se,2,1,"ng-container",0),j.Vc(1,"async")),2&e&&j.bd("appLoadingPlaceholder",j.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   app-banners-place-content[_ngcontent-%COMP%]{margin-bottom:20px}"]}),ce),he=j.Gc(de),fe=n("LRne"),pe=n("tk/3"),ge=((le=function(){function e(t,n,i){_classCallCheck(this,e),this.http=t,this.transferStateService=n,this.siteApiHostInfo=i}return _createClass(e,[{key:"requestLayout",value:function(e){var t=this.transferStateService.makeStateKey("page-layout-"+e);return this.transferStateService.hasKey(t)?Object(fe.a)(this.transferStateService.restoreData(t,null)):this.http.get("".concat(this.siteApiHostInfo,"api3/layouts/").concat(e)).pipe(Object(W.Tb)(this.transferStateService,t))}}]),e}()).\u0275fac=function(e){return new(e||le)(j.Mc(pe.b),j.Mc(W.yb),j.Mc(W.hb))},le.\u0275prov=j.uc({token:le,factory:le.\u0275fac,providedIn:"root"}),le),ve=n("SxV6"),me=n("CqXF"),be=n("UXun"),ye=((ue=function(){function e(t,n,i,r){_classCallCheck(this,e),this.deviceState=t,this.apiLayoutService=n,this.cardsFactory=i,this.widgetsFactory=r,this.pending=!1}return _createClass(e,[{key:"getActualLayout",value:function(e){var t=this;return e=void 0!==e?e:this.deviceState.isMobile,this.requestLayout().pipe(Object($.a)((function(){return e&&t.internalHasSeparateLayouts()?t.mobileLayout:t.desktopLayout})),Object(ve.a)())}},{key:"requestLayout",value:function(){var e=this;return void 0===this.requestLayoutObservable&&(this.pending=!0,this.requestLayoutObservable=this.apiLayoutService.requestLayout(this.getPageId()).pipe(Object($.a)((function(t){return e.separateLayouts(t)})),Object(V.a)((function(t){e.desktopLayout=t.desktop,e.mobileLayout=t.mobile,e.pending=!1})),Object(me.a)(!0),Object(be.a)(1),Object(I.a)(1))),this.requestLayoutObservable}},{key:"buildLayout",value:function(e){var t=this,n=e.sections.map((function(e){var n=e.blocks.map((function(e){var n=e.widgets.map((function(e){return t.buildWidget(e)}));return new a(e.width,n,e.emptyAction)}));
1return new o(e.height,n,e.emptyAction)}));return new s(e.width,n,e.emptyAction)}},{key:"buildWidget",value:function(e){var t=this;if(null===this.widgetsFactory)throw new Error("Widget factory must be provided");switch(e.type){case"widgetsContainer":case"repeatableWidgetsContainer":var n=e.widgets.map((function(e){return t.buildWidget(e)}));return this.widgetsFactory.buildWidgetContainer(e.width,e.height,e.emptyAction,n,e.showByPage,e.useInfiniteScroll,e.replayCount);case"cardsContainer":var i=e.cards.map(this.buildCard,this);return this.widgetsFactory.buildCardsContainer(e.width,e.height,e.emptyAction,e.label,i);case"companiesProducts":return this.widgetsFactory.buildCompaniesProducts(e.width,e.height,e.emptyAction,e.label,e.onlyForRubrics,e.cards.map(this.buildCard,this));case"popularPlaces":return this.widgetsFactory.buildPopularPlacesWidget(e.width,e.height,e.emptyAction,e.label,e.onlyForRubrics,e.cards.map(this.buildCard,this));case"custom":return this.widgetsFactory.buildCustomWidget(e.width,e.height,e.emptyAction,e.label,e.posterType,e.links.map((function(e){return w(e)})).filter((function(e){return null!==e})),e.posterUrl);case"iFrame":return this.widgetsFactory.buildIframeWidget(e.width,e.height,e.emptyAction,e.url);case"companiesList":var r=[];e.cards.length>0&&r.push.apply(r,_toConsumableArray2(e.cards.map(this.buildCard,this)));for(var a=0;a<e.pageSize;++a)r.push(this.cardsFactory.buildCompanyCard(e.width));return this.widgetsFactory.buildCompaniesListWidget(e.width,e.height,e.emptyAction,e.useScrollSpy,e.itemsCount,e.pageSize,r);case"newsCardsBlock":for(var o=[],s=0;s<e.width*e.height;++s)o.push(this.cardsFactory.buildSimpleNews(1,null,!1));return this.widgetsFactory.buildNewsCardsBlock(e.width,e.height,e.emptyAction,o);case"blockBanner":return this.widgetsFactory.buildBlockBannersPlace(e.width,e.height,e.emptyAction,e.placeUrl,e.gaPlaceName);case"stretchBanner":return this.widgetsFactory.buildStretchingBannersPlace(e.width,e.height,e.emptyAction,e.placeUrl,e.gaPlaceName);case"shiftStretchBanner":return this.widgetsFactory.buildShiftStretchingBannersPlace(e.width,e.height,e.emptyAction,e.bannersPlaces);case"topCompanies":return this.widgetsFactory.buildTopCompanies(e.width,e.height,e.emptyAction,e.label,e.itemsCount,e.addCompanyLabel,e.addCompanyLink);case"catalogRubrics":return this.widgetsFactory.buildCatalogRubrics(e.width,e.height,e.emptyAction,e.mainRubricsList);case"companyLogos":return this.widgetsFactory.buildCompanyLogos(e.width,e.height,e.emptyAction,e.itemsCount);case"lastNewsFeed":return this.widgetsFactory.buildLastNewsFeed(e.width,e.height,e.emptyAction,e.newsCount,e.label,e.fillerItemsCount);case"weekTopNews":return this.widgetsFactory.buildWeekTopNews(e.width,e.height,e.emptyAction,e.label,e.itemsCount);case"politicalNews":return this.widgetsFactory.buildPoliticalNews(e.width,e.height,e.emptyAction,e.label,e.itemsCount);case"companiesNews":return this.widgetsFactory.buildCompaniesNews(e.width,e.height,e.emptyAction,e.label,e.promoNewsLabel,e.promoNewsLink,e.placeHereLabel,e.placeHereLink,e.cards.map(this.buildCard,this));case"endlessNewsBlock":for(var c=[],l=0;l<e.width*e.height;++l)c.push(this.cardsFactory.buildSimpleNews(1,null,!1));return this.widgetsFactory.buildEndlessNewsBlock(e.width,e.height,e.emptyAction,c,e.pageRowsCount,e.pagerButtonLabel);case"poll":return this.widgetsFactory.buildPoll(e.width,e.height,e.emptyAction,e.id,e.label,e.resultsLabel,e.voteLabel,e.votesCountLabel);case"twoAnswerPoll":return this.widgetsFactory.buildTwoAnswerPoll(e.width,e.height,e.emptyAction,e.id,e.votesCountLabel);case"singleSpecialTheme":return this.widgetsFactory.buildSingleSpecialTheme(e.width,e.height,e.emptyAction,e.id,e.label,e.showMoreLabel,e.showNewsPreview,e.newsPreviewCount);case"adsTeaser":return this.widgetsFactory.buildAdsTeaser(e.width,e.height,e.emptyAction,e.label,e.itemsCount,e.promoNewsLabel,e.promoNewsLink,e.placeHereLabel,e.placeHereLink);case"currencyInformer":return this.widgetsFactory.buildCurrencyInformer(e.width,e.height,e.emptyAction,e.id);case"newsDetailView":return this.widgetsFactory.buildNewsDetailVie
1w(e.width,e.height,e.emptyAction,new Map(Object.entries(e.sourceReliabilityLabels)),e.useScrollSpy,e.placementOfStretchingInNewsText,new Map(Object.entries(e.readInLabels)));default:return null}}},{key:"buildCard",value:function(e){if(null===this.cardsFactory)throw new Error("Cards factory must be provided");switch(e.type){case"custom":return this.cardsFactory.buildCustomCard(e.width,e.label,e.posterType,e.links.map((function(e){return w(e)})).filter((function(e){return null!==e})),e.posterUrl);case"iFrame":return this.cardsFactory.buildIframeCard(e.width,e.url);case"companyProduct":return this.cardsFactory.buildCompanyProduct(e.width,e.id);case"news":return this.cardsFactory.buildSimpleNews(e.width,e.id,e.onlyNonCommercialNews);case"topNews":return this.cardsFactory.buildTopNews(e.width,e.onlyNonCommercialNews);case"companiesNewsNews":return this.cardsFactory.buildCompaniesNewsNews(e.width);case"promoNews":return this.cardsFactory.buildPromoNews(e.width,e.id);case"numberOfTheDay":return this.cardsFactory.buildNumberOfTheDay(e.width,e.label,e.backgroundColor,e.number,e.measure,e.description);case"currencyInformer":return this.cardsFactory.buildCurrencyInformer(e.width,e.id);case"popularCompany":return this.cardsFactory.buildPopularPlaceCard(e.width);case"payedCompany":return this.cardsFactory.buildPayedCompanyCard(e.width,e.id);default:throw new Error("Unknown card type: "+e.type)}}},{key:"internalHasSeparateLayouts",value:function(){return null!==this.mobileLayout}},{key:"separateLayouts",value:function(e){var t=[],n=[],r=!1;return e.sections.forEach((function(e){var a=e.showOn||i.all;if(i.desktop===a)t.push(e);else if(i.mobile===a)n.push(e);else{if(i.all!==a)throw new Error('Unknown section\'s "show-on" type');var o=[],s=[],c=!1;e.blocks.forEach((function(e){var t=[],n=[],r=!1;e.widgets.forEach((function(e){var a=e.showOn||i.all,o=Object.assign({},e),s=Object.assign({},e);("repeatableWidgetsContainer"===e.type||"widgetsContainer"===e.type)&&i.all===a&&(o.widgets=[],s.widgets=[],e.widgets.forEach((function(e){var t=e.showOn||i.all;i.desktop&t&&o.widgets.push(e),i.mobile&t&&s.widgets.push(e),r=r||i.all!==t}))),i.desktop&a&&t.push(o),i.mobile&a&&n.push(s),r=r||i.all!==a})),o.push({width:e.width,widgets:t,emptyAction:e.emptyAction}),s.push({width:e.width,widgets:r?n:t,emptyAction:e.emptyAction}),c=c||r})),t.push({height:e.height,blocks:o,emptyAction:e.emptyAction}),n.push({height:e.height,blocks:c?s:o,emptyAction:e.emptyAction}),r=r||c}r=r||i.all!==a})),{desktop:this.buildLayout({width:e.width,sections:t,emptyAction:e.emptyAction}),mobile:r?this.buildLayout({width:e.width,sections:n,emptyAction:e.emptyAction}):null}}},{key:"hasSeparateLayouts",get:function(){var e=this;return this.requestLayout().pipe(Object($.a)((function(){return e.internalHasSeparateLayouts()})),Object(ve.a)())}}]),e}()).\u0275fac=function(e){return new(e||ue)(j.Mc(W.t),j.Mc(ge),j.Mc(Ie,8),j.Mc(je,8))},ue.\u0275prov=j.uc({token:ue,factory:ue.\u0275fac}),ue),Ce=n("tyNb");new j.v("Page layout service");var _e,we,ke,xe,Oe,Se,Pe=((ke=function(){function e(t,n,i,r){var a=this;_classCallCheck(this,e),this.injector=t,this.activatedRoute=n,this.routesService=i,this.deviceState=r,this.actualState=new P.a(null),this.layouts=new Map,this.layoutChangedSubject=ne
1w P.a(null),console.log("LayoutsManagerService: constructor"),Object(R.a)([this.routesService.onRoutesChanged,this.deviceState.onMobileStateChange]).subscribe((function(e){var t=_slicedToArray2(e,2),n=t[0],i=t[1];console.log("LayoutsManagerService: preChange");var r=a.activatedRoute;if(null!==r.firstChild){for(;null!==r.firstChild;)r=r.firstChild;var o=a.actualRoute!==n.actual,s=a.actualIsMobile!==i.actualState;a.actualRoute=n.actual,a.actualIsMobile=i.actualState,a.actualRouteSnapshot=r.snapshot,a.actualState.next({isMobile:a.actualIsMobile,route:a.actualRoute}),(o||s)&&(s&&!o?a.actualLayoutService.hasSeparateLayouts.pipe(Object(ve.a)()).subscribe((function(e){e&&a.triggerLayoutChange()})):a.triggerLayoutChange())}}))}return _createClass(e,[{key:"triggerLayoutChange",value:function(){var e=this;this.actualLayoutService.getActualLayout(this.actualIsMobile).pipe(Object(ve.a)(),Object(U.a)(null)).subscribe((function(t){e.layoutChangedSubject.next(t)}))}},{key:"getLayoutForRoute",value:function(){if(void 0===this.actualRouteSnapshot)throw new Error("Actual route snapshot must be set");return this.injector.get(this.actualRouteSnapshot.data.layoutService)}},{key:"onLayoutChange",get:function(){return this.layoutChangedSubject.pipe(Object(H.a)((function(e){return e instanceof s})))}},{key:"onActualStateChange",get:function(){return this.actualState.pipe(Object(H.a)((function(e){return null!==e})))}},{key:"actualLayoutService",get:function(){return this.layouts.has(this.actualRoute)||this.layouts.set(this.actualRoute,this.getLayoutForRoute()),this.layouts.get(this.actualRoute)}}]),e}()).\u0275fac=function(e){return new(e||ke)(j.Mc(j.w),j.Mc(Ce.a),j.Mc(W.fb),j.Mc(W.t))},ke.\u0275prov=j.uc({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke),Ee=((we=function(){function e(t){var n=this;_classCallCheck(this,e),this.router=t,this.shiftBannersPlaces=new Map,this.router.events.pipe(Object(H.a)((function(e){return e instanceof Ce.b}))).subscribe((function(){n.shiftBannersPlaces.clear()}))}return _createClass(e,[{key:"getNextBannerWidget",value:function(e,t){var n=this.getWidgetHash(e);this.shiftBannersPlaces.has(n)||this.shiftBannersPlaces.set(n,_toConsumableArray2(e.bannersPlaces));var i=this.shiftBannersPlaces.get(n).shift(),r=void 0!==i;return t.buildStretchingBannersPlace(e.width,e.height,e.emptyAction,r?i.placeUrl:null,r?i.gaPlaceName:null)}},{key:"getWidgetHash",value:function(e){return e.bannersPlaces.map((function(e){return e.gaPlaceName})).sort().join("::")}}]),e}()).\u0275fac=function(e){return new(e||we)(j.Mc(Ce.d))},we.\u0275prov=j.uc({token:we,factory:we.\u0275fac,providedIn:"root"}),we),Me=((_e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"buildSimpleNews",value:function(e,t,n){throw new Error("Not implemented!")}},{key:"buildTopNews",value:function(e,t){throw new Error("Not implemented!")}},{key:"buildCompaniesNewsNews",value:function(e){throw new Error("Not implemented!")}},{key:"buildPromoNews",value:function(e,t){throw new Error("Not implemented!")}},{key:"buildCompanyProduct",value:function(e,t){throw new Error("Not implemented!")}},{key:"buildPopularPlaceCard",value:function(e){throw new Error("Not implemented!")}},{key:"buildPayedCompanyCard",value:function(e,t){throw new Error("Not implemented!")}},{key:"buildCompanyCard",value:function(e){throw new Error("Not implemented!")}},{key:"buildNumberOfTheDay",value:function(e,t,n,i,r,a){throw new Error("Not implemented!")}},{key:"buildCurrencyInformer",value:function(e,t){throw new Error("Not implemented!")}},{key:"buildCustomCard",value:function(e,t,n,i,a){return new r.c(e,t,n,i,a)}},{key:"buildIframeCard",value:function(e,t){return new r.d(e,t)}}]),e}()).\u0275fac=function(e){return new(e||_e)},_e.\u0275prov=j.uc({token:_e,factory:_e.\u0275fac}),_e),Ie=new j.v("Cards factory"),De=((xe=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"buildWidgetContainer",value:function(e,t,n,i,r,a,o){return new u(e,t,n,i,r,a,o)}},{key:"buildCardsContainer",value:function(e,t,n,i,r){throw new Error("Not implemented!")}},{key:"buildNewsCardsBlock",value:function(e,t,n,i){throw new Error("Not implemented!")}},{key:"buildBlockBannersPlace",value:function(e,t,n,i,r){return new g(e,t,n,i,r)}},{key:"buildStretchingBannersPlace",value:function(e,t,n,i,r){return new v(e,t,n,i,r)}},{key:"buildShiftStretchingBannersPlace",value:function(e,t,n,i){return new m(e,t,n,i)}},{key:"buildAdsTeaser",value:function(e,t,n,i,r,a,o,s,c){throw new Error("Not implemented!")}},{key:"buildCompaniesNews",value:function(e,t,n,i,r,a,o,s,c){throw new Error("Not implemented!")}},{key:"buildEndlessNewsBlock",value:function(e,t,n,i,r,a){throw new Error("Not implemented!")}},{key:"buildLastNewsFeed",value:function(e,t,n,i,r,a){throw new Error("Not implemented!")}}
1,{key:"buildNewsDetailView",value:function(e,t,n,i,r,a,o){throw new Error("Not implemented!")}},{key:"buildPoliticalNews",value:function(e,t,n,i,r){throw new Error("Not implemented!")}},{key:"buildPoll",value:function(e,t,n,i,r,a,o,s){throw new Error("Not implemented!")}},{key:"buildTwoAnswerPoll",value:function(e,t,n,i,r){throw new Error("Not implemented!")}},{key:"buildSingleSpecialTheme",value:function(e,t,n,i,r,a,o,s){throw new Error("Not implemented!")}},{key:"buildTopCompanies",value:function(e,t,n,i,r,a,o){throw new Error("Not implemented!")}},{key:"buildWeekTopNews",value:function(e,t,n,i,r){throw new Error("Not implemented!")}},{key:"buildCurrencyInformer",value:function(e,t,n,i){throw new Error("Not implemented!")}},{key:"buildCustomWidget",value:function(e,t,n,i,r,a,o){return new h(e,t,n,i,r,a,o)}},{key:"buildIframeWidget",value:function(e,t,n,i){return new f(e,t,n,i)}},{key:"buildCompaniesProducts",value:function(e,t,n,i,r,a){throw new Error("Not implemented!")}},{key:"buildPopularPlacesWidget",value:function(e,t,n,i,r,a){throw new Error("Not implemented!")}},{key:"buildCompaniesListWidget",value:function(e,t,n,i,r,a,o){throw new Error("Not implemented!")}},{key:"buildCompanyLogos",value:function(e,t,n,i){throw new Error("Not implemented!")}},{key:"buildCatalogRubrics",value:function(e,t,n,i){throw new Error("Not implemented!")}}]),e}()).\u0275fac=function(e){return new(e||xe)},xe.\u0275prov=j.uc({token:xe,factory:xe.\u0275fac}),xe),je=new j.v("Widgets factory"),Ae=((Oe=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"getSubstituteByWidgetProcessor",value:function(e,t){return null}},{key:"getSubstituteByAdSenseProcessor",value:function(e,t){return null}}]),e}()).\u0275fac=function(e){return new(e||Oe)},Oe.\u0275prov=j.uc({token:Oe,factory:Oe.\u0275fac}),Oe),Te=new j.v("Empty widget processors factory"),ze=new j.v("Empty card processors factory"),Le=function(){function e(t,n,i,r){_classCallCheck(this,e),this.card=t,this.componentFactoryResolver=n,this.substituteService=i,this.deviceState=r}return _createClass(e,[{key:"doSubstitute",value:function(e,t,n,i,r){var a=this,o={index:n.indexOf(i),newCardsComponents:[]};return-1===o.index||(n.remove(o.index),null===r||(o.newCardsComponents=r.map((function(i,r){if(a.canRenderCard(i.card)){var s=a.componentFactoryResolver.resolveComponentFactory(e.get(i.card.getComponent(),i.card.getComponent())),c=n.createComponent(s,o.index+r),l=c.instance;return l.card=i.card,l.models=i.model,l.parentContainer=t,l.containerRef=c,c}return null})).filter((function(e){return null!==e})))),o}},{key:"canRenderCard",value:function(e){return this.deviceState.isBrowserApp&&e.isRenderedInBrowserApp||this.deviceState.isServerApp&&e.isRenderedInServerApp}}]),e}(),Ne=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getComponentReplaceCallback",value:function(){var e=this,t=this.substituteService.getInstantSubstitute(this.card);return function(n,i,r,a){return e.doSubstitute(n,i,r,a,t)}}}]),n}(Le),Re=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getComponentReplaceCallback",value:function(){var e=this,t=this.substituteService.getSubstitute(this.card);return function(n,i,r,a){return t.pipe(Object(I.a)(1),Object($.a)((function(t){return e.doSubstitute(n,i,r,a,t)})))}}}]),n}(Le),Fe=((Se=function(){function e(t,n,i){_classCallCheck(this,e),this.componentFactoryResolver=t,this.deviceState=n,this.substituteService=i}return _createClass(e,[{key:"getSubstituteProcessor",value:function(e){return null===this.substituteService?null:e.needInstantSubstitute?new Ne(e.card,this.componentFactoryResolver,this.substituteService,this.deviceState):new Re(e.card,this.componentFactoryResolver,this.substituteService,this.deviceState)}}]),e}()).\u0275fac=function(e){return new(e||Se)(j.Mc(j.n),j.Mc(W.t),j.Mc(W.n,8))},Se.\u0275prov=j.uc({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se);function Ve(){return{provide:Object(j.cb)((function(){return ze})),useFactory:function(e,t,n){return new Fe(e,t,n)},deps:[Object(j.cb)((function(){return j.n})),Object(j.cb)((function(){return W.t})),[new j.G,Object(j.cb)((function(){return W.n}))]]}}},fXoL:function(e,t,n){"use strict";n.d(t,"a",(function(){return to})),n.d(t,"b",(function(){return vh}
1)),n.d(t,"c",(function(){return dh})),n.d(t,"d",(function(){return lh})),n.d(t,"e",(function(){return uh})),n.d(t,"f",(function(){return Ef})),n.d(t,"g",(function(){return nf})),n.d(t,"h",(function(){return jh})),n.d(t,"i",(function(){return ve})),n.d(t,"j",(function(){return Ma})),n.d(t,"k",(function(){return Dh})),n.d(t,"l",(function(){return Ah})),n.d(t,"m",(function(){return ec})),n.d(t,"n",(function(){return rc})),n.d(t,"o",(function(){return Js})),n.d(t,"p",(function(){return Ch})),n.d(t,"q",(function(){return sc})),n.d(t,"r",(function(){return Pn})),n.d(t,"s",(function(){return Fd})),n.d(t,"t",(function(){return X})),n.d(t,"u",(function(){return d})),n.d(t,"v",(function(){return G})),n.d(t,"w",(function(){return eo})),n.d(t,"x",(function(){return Sc})),n.d(t,"y",(function(){return Pc})),n.d(t,"z",(function(){return yh})),n.d(t,"A",(function(){return kh})),n.d(t,"B",(function(){return se})),n.d(t,"C",(function(){return af})),n.d(t,"D",(function(){return oe})),n.d(t,"E",(function(){return Qh})),n.d(t,"F",(function(){return Lh})),n.d(t,"G",(function(){return h})),n.d(t,"H",(function(){return mh})),n.d(t,"I",(function(){return gh})),n.d(t,"J",(function(){return ph})),n.d(t,"K",(function(){return Ud})),n.d(t,"L",(function(){return dc})),n.d(t,"M",(function(){return lc})),n.d(t,"N",(function(){return uc})),n.d(t,"O",(function(){return fc})),n.d(t,"P",(function(){return gi})),n.d(t,"Q",(function(){return p})),n.d(t,"R",(function(){return cf})),n.d(t,"S",(function(){return _h})),n.d(t,"T",(function(){return wh})),n.d(t,"U",(function(){return Dc})),n.d(t,"V",(function(){return qh})),n.d(t,"W",(function(){return pc})),n.d(t,"X",(function(){return Ac})),n.d(t,"Y",(function(){return me})),n.d(t,"Z",(function(){return uo})),n.d(t,"ab",(function(){return Kh})),n.d(t,"bb",(function(){return $n})),n.d(t,"cb",(function(){return D})),n.d(t,"db",(function(){return qn})),n.d(t,"eb",(function(){return Sf})),n.d(t,"fb",(function(){return Wh})),n.d(t,"gb",(function(){return ac})),n.d(t,"hb",(function(){return bh})),n.d(t,"ib",(function(){return Sl})),n.d(t,"jb",(function(){return Pl})),n.d(t,"kb",(function(){return Va})),n.d(t,"lb",(function(){return Nu})),n.d(t,"mb",(function(){return Na})),n.d(t,"nb",(function(){return fi})),n.d(t,"ob",(function(){return bi})),n.d(t,"pb",(function(){return Zn})),n.d(t,"qb",(function(){return zn})),n.d(t,"rb",(function(){return Mf})),n.d(t,"sb",(function(){return Nn})),n.d(t,"tb",(function(){return Un})),n.d(t,"ub",(function(){return Fn})),n.d(t,"vb",(function(){return Rn})),n.d(t,"wb",(function(){return Vn})),n.d(t,"xb",(function(){return Vl})),n.d(t,"yb",(function(){return eg})),n.d(t,"zb",(function(){return Yc})),n.d(t,"Ab",(function(){return su})),n.d(t,"Bb",(function(){return If})),n.d(t,"Cb",(function(){return Au})),n.d(t,"Db",(function(){return xf})),n.d(t,"Eb",(function(){return Tu})),n.d(t,"Fb",(function(){return zu})),n.d(t,"Gb",(function(){return Ln})),n.d(t,"Hb",(function(){return F})),n.d(t,"Ib",(function(){return xl})),n.d(t,"Jb",(function(){return kl})),n.d(t,"Kb",(function(){return ho})),n.d(t,"Lb",(function(){return Lo})),n.d(t,"Mb",(function(){return zo})),n.d(t,"Nb",(function(){return co})),n.d(t,"Ob",(function(){return Al})),n.d(t,"Pb",(function(){return jl})),n.d(t,"Qb",(function(){return Vf})),n.d(t,"Rb",(function(){return Ql})),n.d(t,"Sb",(function(){return Bf})),n.d(t,"Tb",(function(){return cu})),n.d(t,"Ub",(function(){return qf})),n.d(t,"Vb",(function(){return Hf})),n.d(t,"Wb",(function(){return lu})),n.d(t,"Xb",(function(){return zf})),n.d(t,"Yb",(function(){return ju})),n.d(t,"Zb",(function(){return Cd})),n.d(t,"ac",(function(){return He})),n.d(t,"bc",(function(){return E})),n.d(t,"cc",(function(){return Wf})),n.d(t,"dc",(function(){return Zc})),n.d(t,"ec",(function(){return Tn})),n.d(t,"fc",(function(){return Zf})),n.d(t,"gc",(function(){return Ls})),n.d(t,"hc",(function(){return Hs})),n.d(t,"ic",(function(){return Ks})),n.d(t,"jc",(function(){return Yi})),n.d(t,"kc",(function(){return bo})),n.d(t,"lc",(function(){return us})),n.d(t,"mc",(function(){return Ps})),n.d(t,"nc",(function(){return Es})),n.d(t,"oc",(function(){return Ms})),n.d(t,"pc",(function(){return ss})),n.d(t,"qc",(function(){return eh})),n.d(t,"rc",(function(){return ki})),n.d(t,"sc",(function(){return _e})),n.d(t,"tc",(function(){return Me})),n.d(t,"uc",(function(){return b})),n.d(t,"vc",(function(){return y}
1)),n.d(t,"wc",(function(){return Se})),n.d(t,"xc",(function(){return Ie})),n.d(t,"yc",(function(){return ko})),n.d(t,"zc",(function(){return Io})),n.d(t,"Ac",(function(){return Ao})),n.d(t,"Bc",(function(){return jo})),n.d(t,"Cc",(function(){return Do})),n.d(t,"Dc",(function(){return Mo})),n.d(t,"Ec",(function(){return Eo})),n.d(t,"Fc",(function(){return To})),n.d(t,"Gc",(function(){return kn})),n.d(t,"Hc",(function(){return Is})),n.d(t,"Ic",(function(){return od})),n.d(t,"Jc",(function(){return dd})),n.d(t,"Kc",(function(){return sd})),n.d(t,"Lc",(function(){return ud})),n.d(t,"Mc",(function(){return ne})),n.d(t,"Nc",(function(){return xo})),n.d(t,"Oc",(function(){return ch})),n.d(t,"Pc",(function(){return Oo})),n.d(t,"Qc",(function(){return No})),n.d(t,"Rc",(function(){return ih})),n.d(t,"Sc",(function(){return Lt})),n.d(t,"Tc",(function(){return zt})),n.d(t,"Uc",(function(){return Vo})),n.d(t,"Vc",(function(){return Ad})),n.d(t,"Wc",(function(){return Td})),n.d(t,"Xc",(function(){return zd})),n.d(t,"Yc",(function(){return Ld})),n.d(t,"Zc",(function(){return $o})),n.d(t,"ad",(function(){return Ho})),n.d(t,"bd",(function(){return So})),n.d(t,"cd",(function(){return Wo})),n.d(t,"dd",(function(){return Go})),n.d(t,"ed",(function(){return xd})),n.d(t,"fd",(function(){return Od})),n.d(t,"gd",(function(){return Sd})),n.d(t,"hd",(function(){return Pd})),n.d(t,"id",(function(){return Ed})),n.d(t,"jd",(function(){return Yd})),n.d(t,"kd",(function(){return wo})),n.d(t,"ld",(function(){return rn})),n.d(t,"md",(function(){return nn})),n.d(t,"nd",(function(){return ut})),n.d(t,"od",(function(){return yi})),n.d(t,"pd",(function(){return wi})),n.d(t,"qd",(function(){return _i})),n.d(t,"rd",(function(){return we})),n.d(t,"sd",(function(){return Pe})),n.d(t,"td",(function(){return th})),n.d(t,"ud",(function(){return Qd})),n.d(t,"vd",(function(){return cs})),n.d(t,"wd",(function(){return os})),n.d(t,"xd",(function(){return _o})),n.d(t,"yd",(function(){return sh})),n.d(t,"zd",(function(){return ks})),n.d(t,"Ad",(function(){return xs})),n.d(t,"Bd",(function(){return Os})),n.d(t,"Cd",(function(){return Ss})),n.d(t,"Dd",(function(){return Kd}));var i=n("XNiG"),r=n("quSY"),a=n("HDdC"),o=n("VRyK"),s=n("w1tV");function c(e){return{toString:e}.toString()}var l="__parameters__";function u(e,t,n){return c((function(){var i=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof r)return i.apply(this,t),this;var a=_construct(r,t);return o.annotation=a,o;function o(e,t,n){for(var i=e.hasOwnProperty(l)?e[l]:Object.defineProperty(e,l,{value:[]})[l];i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(a),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r}))}var d=u("Inject",(function(e){return{token:e}})),h=u("Optional"),f=u("Self"),p=u("SkipSelf"),g=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function v(e){for(var t in e)if(e[t]===v)return t;throw Error("Could not find renamed property on target object.")}function m(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function b(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function y(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function C(e){return _(e,e[k])||_(e,e[S])}function _(e,t){return t&&t.token===e?t:null}function w(e){return e&&(e.hasOwnProperty(x)||e.hasOwnProperty(P))?e[x]:null}var k=v({"\u0275prov":v}),x=v({"\u0275inj":v}),O=v({"\u0275provFallback":v}),S=v({ngInjectableDef:v}),P=v({ngInjectorDef:v});function E(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(E).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function M(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var I=v({__forward_ref__:v});function D(e){return e.__forward_ref__=D,e.toString=function(){return E(this())},e}function j(e){return A(e)?e():e}function A(e){return"function"==typeof e&&e.hasOwnProperty(I)&&e.__forward_ref__===D}var T,z="undefined"!=typeof globalThis&&globalThis,L="undefined"!=typeof window&&window,N="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,R="undefined"!=typeof global&&global,F=z||R||L||N,V=v({"\u0275cmp":v}),U=v({"\u0275dir":v}),H=v({"\u0275pipe":v}),B=v({"\u0275mod":v}),q=v({"\u0275loc":v}),$=v({"\u0275fac":v}),W=v({__NG_ELEMENT_ID__:v}),G=function(){function e(t,n){_classCallCheck(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=b({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return _createClass(e,[{key:"toString",value:function(){return"InjectionToken "+this._desc}}]),e}(),X=new G("INJECTOR",-1),Z={},Y=/\n/gm,Q=v({provide:String,useValue:v}),K=void 0;function J(e){var t=K;return K=e,t}function ee(e){var t=T;return T=e,t}function te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.Default;if(void 0===K)throw new Error("inject() must be called from an injection context");return null===K?ie(e,void 0,t):K.get(e,t&g.Optional?null:void 0,t)}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.Default;return(T||te)(j(e),t)}function ie(e,t,n){var i=C(e);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&g.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(E(e),"]"))}function re(e){for(var t=[],n=0;n<e.length;n++){var i=j(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");for(var r=void 0,a=g.Default,o=0;o<i.length;o++){var s=i[o];s instanceof h||"Optional"===s.ngMetadataName||s===h?a|=g.Optional:s instanceof p||"SkipSelf"===s.ngMetadataName||s===p?a|=g.SkipSelf:s instanceof f||"Self"===s.ngMetadataName||s===f?a|=g.Self:r=s instanceof d||s===d?s.token:s}t.push(ne(r,a))}else t.push(ne(i))}return t}var ae=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z;if(t===Z){var n=new Error("NullInjectorError: No provider for ".concat(E(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),oe=function e(){_classCallCheck(this,e)},se=function e(){_classCallCheck(this,e)};function ce(e,t){for(var n=0;n<e.length;n++)t.push(e[n])}function le(e,t){e.forEach((function(e){return Array.isArray(e)?le(e,t):t(e)}))}function ue(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function de(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function he(e,t){for(var n=[],i=0;i<e;i++)n.push(t);return n}function fe(e,t,n){var i=ge(e,t);return i>=0?e[1|i]=n:function(e,t,n,i){var r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;
1e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function pe(e,t){var n=ge(e,t);if(n>=0)return e[1|n]}function ge(e,t){return function(e,t,n){for(var i=0,r=e.length>>1;r!==i;){var a=i+(r-i>>1),o=e[a<<1];if(t===o)return a<<1;o>t?r=a:i=a+1}return~(r<<1)}(e,t)}var ve=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),me=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),be={},ye=[],Ce=0;function _e(e){return c((function(){var t=e.type,n=t.prototype,i={},r={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===ve.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ye,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||me.Emulated,id:"c",styles:e.styles||ye,_:null,setInput:null,schemas:e.schemas||null,tView:null},a=e.directives,o=e.features,s=e.pipes;return r.id+=Ce++,r.inputs=Ee(e.inputs,i),r.outputs=Ee(e.outputs),o&&o.forEach((function(e){return e(r)})),r.directiveDefs=a?function(){return("function"==typeof a?a():a).map(ke)}:null,r.pipeDefs=s?function(){return("function"==typeof s?s():s).map(xe)}:null,r}))}function we(e,t,n){var i=e.\u0275cmp;i.directiveDefs=function(){return t.map(ke)},i.pipeDefs=function(){return n.map(xe)}}function ke(e){return De(e)||function(e){return e[U]||null}(e)}function xe(e){return function(e){return e[H]||null}(e)}var Oe={};function Se(e){var t={type:e.type,bootstrap:e.bootstrap||ye,declarations:e.declarations||ye,imports:e.imports||ye,exports:e.exports||ye,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&c((function(){Oe[e.id]=e.type})),t}function Pe(e,t){return c((function(){var n=Ae(e,!0);n.declarations=t.declarations||ye,n.imports=t.imports||ye,n.exports=t.exports||ye}))}function Ee(e,t){if(null==e)return be;var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,t&&(t[r]=a)}return n}var Me=_e;function Ie(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function De(e){return e[V]||null}function je(e,t){return e.hasOwnProperty($)?e[$]:null}function Ae(e,t){var n=e[B]||null;if(!n&&!0===t)throw new Error("Type ".concat(E(e)," does not have '\u0275mod' property."));return n}function Te(e){return Array.isArray(e)&&"object"==typeof e[1]}function ze(e){return Array.isArray(e)&&!0===e[1]}function Le(e){return 0!=(8&e.flags)}function Ne(e){return 2==(2&e.flags)}function Re(e){return 1==(1&e.flags)}function Fe(e){return null!==e.template}function Ve(e){return 0!=(512&e[2])}var Ue=void 0;function He(e){Ue=e}function Be(){return void 0!==Ue?Ue:"undefined"!=typeof document?document:void 0}function qe(e){return!!e.listen}var $e={createRenderer:function(e,t){return Be()}};function We(e){for(;Array.isArray(e);)e=e[0];return e}function Ge(e,t){return We(t[e+20])}function Xe(e,t){return We(t[e.index])}function Ze(e,t){var n=e.index;return-1!==n?We(t[n]):null}function Ye(e,t){return e.data[t+20]}function Qe(e,t){return e[t+20]}function Ke(e,t){var n=t[e];return Te(n)?n:n[0]}function Je(e){return e.__ngContext__||null}function et(e){var t=Je(e);return t?Array.isArray(t)?t:t.lView:null}function tt(e){return 4==(4&e[2])}function nt(e){return 128==(128&e[2])}function it(e,t){return null===e||null==t?null:e[t]}function rt(e){e[18]=0}function at(e,t){e[5]+=t;for(var n=e,i=e[3];null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}
1var ot={lFrame:Et(null),bindingsEnabled:!0,checkNoChangesMode:!1};function st(){return ot.bindingsEnabled}function ct(){return ot.lFrame.lView}function lt(){return ot.lFrame.tView}function ut(e){ot.lFrame.contextLView=e}function dt(){return ot.lFrame.previousOrParentTNode}function ht(e,t){ot.lFrame.previousOrParentTNode=e,ot.lFrame.isParent=t}function ft(){return ot.lFrame.isParent}function pt(){ot.lFrame.isParent=!1}function gt(){return ot.checkNoChangesMode}function vt(e){ot.checkNoChangesMode=e}function mt(){var e=ot.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function bt(){return ot.lFrame.bindingIndex}function yt(){return ot.lFrame.bindingIndex++}function Ct(e){var t=ot.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function _t(e,t){var n=ot.lFrame;n.bindingIndex=n.bindingRootIndex=e,wt(t)}function wt(e){ot.lFrame.currentDirectiveIndex=e}function kt(){return ot.lFrame.currentQueryIndex}function xt(e){ot.lFrame.currentQueryIndex=e}function Ot(e,t){var n=Pt();ot.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function St(e,t){var n=Pt(),i=e[1];ot.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=i,n.contextLView=e,n.bindingIndex=i.bindingStartIndex}function Pt(){var e=ot.lFrame,t=null===e?null:e.child;return null===t?Et(e):t}function Et(e){var t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function Mt(){var e=ot.lFrame;return ot.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var It=Mt;function Dt(){var e=Mt();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function jt(){return ot.lFrame.selectedIndex}function At(e){ot.lFrame.selectedIndex=e}function Tt(){var e=ot.lFrame;return Ye(e.tView,e.selectedIndex)}function zt(){ot.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Lt(){ot.lFrame.currentNamespace=null}function Nt(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n<i;n++){var r=e.data[n];r.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,r.afterContentInit),r.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,r.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,r.afterContentChecked)),r.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,r.afterViewInit),r.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,r.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,r.afterViewChecked)),null!=r.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,r.onDestroy)}}function Rt(e,t,n){Ut(e,t,3,n)}function Ft(e,t,n,i){(3&e[2])===n&&Ut(e,t,n,i)}function Vt(e,t){var n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Ut(e,t,n,i){for(var r=null!=i?i:-1,a=0,o=void 0!==i?65535&e[18]:0;o<t.length;o++)if("number"==typeof t[o+1]){if(a=t[o],null!=i&&a>=i)break}else t[o]<0&&(e[18]+=65536),(a<r||-1==r)&&(Ht(e,n,t,o),e[18]=(4294901760&e[18])+o+2),o++}function Ht(e,t,n,i){var r=n[i]<0,a=n[i+1],o=e[r?-n[i]:n[i]];r?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,a.call(o)):a.call(o)}var Bt=function e(t,n,i){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function qt(e,t,n){for(var i=qe(e),r=0;r<n.length;){var a=n[r];if("number"==typeof a){if(0!==a)break;r++;var o=n[r++],s=n[r++],c=n[r++];i?e.setAttribute(t,s,c,o):t.setAttributeNS(o,s,c)}else{var l=a,u=n[++r];Wt(l)?i&&e.setProperty(t,l,u):i?e.setAttribute(t,l,u):t.setAttribute(l,u),r++}}return r}function $t(e){return 3===e||4===e||6===e}function Wt(e){return 64===e.charCodeAt(0)}function Gt(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,i=0;i<t.length;i++){var r=t[i];"number"==typeof r?n=r:0===n||Xt(e,n,r,null,-1===n||2===n?t[++i]:null)}return e}function Xt(e,t,n,i,r){var a=0,o=e.length;if(-1===t)o=-1;else for(;a<e.length;){var s=e[a++];if("number"==typeof s){if(s===t){o=-1;break}if(s>t){o=a-1;break}}}for(;a<e.length;){var c=e[a];if("number"==typeof c)break;if(c===n){if(null===i)return void(null!==r&&(e[a+1]=r));if(i===e[a+1])return void(e[a+2]=r)}a++,null!==i&&a++,null!==r&&a++}-1!==o&&(e.splice(o,0,t),a=o+1),e.splice(a++,0,n),null!==i&&e.splice(a++,0,i),null!==r&&e.splice(a++,0,r)}function Zt(e){return-1!==e}function Yt(e){return 32767&e}function Qt(e){return e>>16}function Kt(e,t){for(var n=Qt(e),i=t;n>0;)i=i[15],n--;return i}function Jt(e){return"string"==typeof e?e:null==e?"":""+e}function en(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Jt(e)}var tn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(F);function nn(e){return{name:"window",target:e.ownerDocument.defaultView}}function rn(e){return{name:"document",target:e.ownerDocument}}function an(e){return e instanceof Function?e():e}var on=!0;function sn(e){var t=on;return on=e,t}var cn=0;function ln(e,t){var n=dn(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,un(i.data,e),un(t,null),un(i.blueprint,null));var r=hn(e,t),a=e.injectorIndex;if(Zt(r))for(var o=Yt(r),s=Kt(r,t),c=s[1].data,l=0;l<8;l++)t[a+l]=s[o+l]|c[o+l];return t[a+8]=r,a}function un(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function hn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],i=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,i++;return n?n.injectorIndex|i<<16:-1}function fn(e,t,n){!function(e,t,n){var i="string"!=typeof n?n[W]:n.charCodeAt(0)||0;null==i&&(i=n[W]=cn++);var r=255&i,a=1<<r,o=64&r,s=32&r,c=t.data;128&r?o?s?c[e+7]|=a:c[e+6]|=a:s?c[e+5]|=a:c[e+4]|=a:o?s?c[e+3]|=a:c[e+2]|=a:s?c[e+1]|=a:c[e]|=a}
1(e,t,n)}function pn(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==e){var a=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[W];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof a){Ot(t,e);try{var o=a();if(null!=o||i&g.Optional)return o;throw new Error("No provider for ".concat(en(n),"!"))}finally{It()}}else if("number"==typeof a){if(-1===a)return new _n(e,t);var s=null,c=dn(e,t),l=-1,u=i&g.Host?t[16][6]:null;for((-1===c||i&g.SkipSelf)&&(l=-1===c?hn(e,t):t[c+8],Cn(i,!1)?(s=t[1],c=Yt(l),t=Kt(l,t)):c=-1);-1!==c;){l=t[c+8];var d=t[1];if(yn(a,c,d.data)){var h=vn(c,t,n,s,i,u);if(h!==gn)return h}Cn(i,t[1].data[c+8]===u)&&yn(a,c,t)?(s=d,c=Yt(l),t=Kt(l,t)):c=-1}}}if(i&g.Optional&&void 0===r&&(r=null),0==(i&(g.Self|g.Host))){var f=t[9],p=ee(void 0);try{return f?f.get(n,r,i&g.Optional):ie(n,r,i&g.Optional)}finally{ee(p)}}if(i&g.Optional)return r;throw new Error("NodeInjector: NOT_FOUND [".concat(en(n),"]"))}var gn={};function vn(e,t,n,i,r,a){var o=t[1],s=o.data[e+8],c=mn(s,o,n,null==i?Ne(s)&&on:i!=o&&3===s.type,r&g.Host&&a===s);return null!==c?bn(t,o,c,s):gn}function mn(e,t,n,i,r){for(var a=e.providerIndexes,o=t.data,s=65535&a,c=e.directiveStart,l=a>>16,u=r?s+l:e.directiveEnd,d=i?s:s+l;d<u;d++){var h=o[d];if(d<c&&n===h||d>=c&&h.type===n)return d}if(r){var f=o[c];if(f&&Fe(f)&&f.type===n)return c}return null}function bn(e,t,n,i){var r=e[n],a=t.data;if(r instanceof Bt){var o=r;if(o.resolving)throw new Error("Circular dep for "+en(a[n]));var s,c=sn(o.canSeeViewProviders);o.resolving=!0,o.injectImpl&&(s=ee(o.injectImpl)),Ot(e,i);try{r=e[n]=o.factory(void 0,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.onChanges,r=t.onInit,a=t.doCheck;i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)),r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{o.injectImpl&&ee(s),sn(c),o.resolving=!1,It()}}return r}function yn(e,t,n){var i=64&e,r=32&e;return!!((128&e?i?r?n[t+7]:n[t+6]:r?n[t+5]:n[t+4]:i?r?n[t+3]:n[t+2]:r?n[t+1]:n[t])&1<<e)}function Cn(e,t){return!(e&g.Self||e&g.Host&&t)}var _n=function(){function e(t,n){_classCallCheck(this,e),this._tNode=t,this._lView=n}return _createClass(e,[{key:"get",value:function(e,t){return pn(this._tNode,this._lView,e,void 0,t)}}]),e}();function wn(e){var t=e;if(A(e))return function(){var e=wn(j(t));return e?e():null};var n=je(t);if(null===n){var i=w(t);n=i&&i.factory}return n||null}function kn(e){return c((function(){for(var t=e.prototype.constructor,n=t[$]||wn(t),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;r&&r!==i;){var a=r[$]||wn(r);if(a&&a!==n)return a;r=Object.getPrototypeOf(r)}return function(e){return new e}}))}function xn(e){return e.ngDebugContext}function On(e){return e.ngOriginalError}function Sn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];e.error.apply(e,n)}var Pn=function(){function e(){_classCallCheck(this,e),this._console=console}return _createClass(e,[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||Sn}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?xn(e)?xn(e):this._findContext(On(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=On(e);t&&On(t);)t=On(t);return t}}]),e}(),En=function(){function e(t){_classCallCheck(this,e),this.changingThisBreaksApplicationSecurity=t}return _createClass(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}]),e}(),Mn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(En),In=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Style"}}
1]),n}(En),Dn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(En),jn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(En),An=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(En);function Tn(e){return e instanceof En?e.changingThisBreaksApplicationSecurity:e}function zn(e,t){var n=Ln(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see http://g.co/ng/security#xss)"))}return n===t}function Ln(e){return e instanceof En&&e.getTypeName()||null}function Nn(e){return new Mn(e)}function Rn(e){return new In(e)}function Fn(e){return new Dn(e)}function Vn(e){return new jn(e)}function Un(e){return new An(e)}var Hn=!0,Bn=!1;function qn(){return Bn=!0,Hn}function $n(){if(Bn)throw new Error("Cannot enable prod mode after platform setup.");Hn=!1}var Wn=function(){function e(t){_classCallCheck(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");var n=this.inertDocument.body;if(null==n){var i=this.inertDocument.createElement("html");this.inertDocument.appendChild(i),n=this.inertDocument.createElement("body"),i.appendChild(n)}n.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!n.querySelector||n.querySelector("svg")?(n.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=n.querySelector&&n.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return _createClass(e,[{key:"getInertBodyElement_XHR",value:function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(i){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n}},{key:"getInertBodyElement_DOMParser",value:function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}}},{key:"getInertBodyElement_InertDocument",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var i=t.item(n).name;"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||e.removeAttribute(i)}for(var r=e.firstChild;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}]),e}(),Gn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Xn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Zn(e){return(e=String(e)).match(Gn)||e.match(Xn)?e:(qn()&&console.warn("WARNING: sanitizing unsafe URL value ".concat(e," (see http://g.co/ng/security#xss)")),"unsafe:"+e)}function Yn(e){return(e=String(e)).split(",").map((function(e){return Zn(e.trim())})).join(", ")}function Qn(e){var t,n={},i=_createForOfIteratorHelper(e.split(","));try{for(i.s();!(t=i.n()).done;){n[t.value]=!0}}catch(r){i.e(r)}finally{i.f()}return n}function Kn(){for(var e={},t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];for(var s in o)o.hasOwnProperty(s)&&(e[s]=!0)}return e}var Jn,ei=Qn("area,br,col,hr,img,wbr"),ti=Qn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ni=Qn("rp,rt"),ii=Kn(ni,ti),ri=Kn(ei,Kn(ti,Qn("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")),Kn(ni,Qn("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")),ii),ai=Qn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),oi=Qn("srcset"),si=Kn(ai,oi,Qn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Qn("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")),ci=Qn("script,style,template"),li=function(){function e(){_classCallCheck(this,e),this.sanitizedSomething=!1,this.buf=[]}return _createClass(e,[{key:"sanitizeChildren",value:function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t=e.nodeName.toLowerCase();if(!ri.hasOwnProperty(t))return this.sanitizedSomething=!0,!ci.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n=e.attributes,i=0;i<n.length;i++){var r=n.item(i),a=r.name,o=a.toLowerCase();if(si.hasOwnProperty(o)){var s=r.value;ai[o]&&(s=Zn(s)),oi[o]&&(s=Yn(s)),this.buf.push(" ",a,'="',hi(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();ri.hasOwnProperty(t)&&!ei.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(hi(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}]),e}(),ui=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,di=/([^\#-~ |!])/g;function hi(e){return e.replace(/&/g,"&amp;").replace(ui,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(di,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function fi(e,t){var n=null;try{Jn=Jn||new Wn(e);var i=t?String(t):"";n=Jn.getInertBodyElement(i);var r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=Jn.getInertBodyElement(i)}while(i!==a);var o=new li,s=o.sanitizeChildren(pi(n)||n);return qn()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var c=pi(n)||n;c.firstChild;)c.removeChild(c.firstChild)}}function pi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var gi=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),vi=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),mi=/^url\(([^)]+)\)$/;function bi(e){if(!(e=String(e).trim()))return"";var t=e.match(mi);return t&&Zn(t[1])===t[1]||e.match(vi)&&function(e){for(var t=!0,n=!0,i=0;i<e.length;i++){var r=e.charAt(i);"'"===r&&n?t=!t:'"'===r&&t&&(n=!n)}return t&&n}(e)?e:(qn()&&console.warn("WARNING: sanitizing unsafe style value ".concat(e," (see http://g.co/ng/security#xss).")),"unsafe")}function yi(e){var t=Oi();return t?t.sanitize(gi.HTML,e)||"":zn(e,"HTML")?Tn(e):fi(Be(),Jt(e))}function Ci(e){var t=Oi();return t?t.sanitize(gi.STYLE,e)||"":zn(e,"Style")?Tn(e):bi(Jt(e))}function _i(e){var t=Oi();return t?t.sanitize(gi.URL,e)||"":zn(e,"URL")?Tn(e):Zn(Jt(e))}function wi(e){var t=Oi();if(t)return t.sanitize(gi.RESOURCE_URL,e)||"";if(zn(e,"ResourceURL"))return Tn(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}var ki=function(e,t,n){if(void 0===t&&void 0===n)return Ci(e);var i=!0;return 1&(n=n||3)&&(i=xi(e)),2&n?i?Ci(t):Tn(t):i};function xi(e){return"background-image"===e||"backgroundImage"===e||"background"===e||"border-image"===e||"borderImage"===e||"border-image-source"===e||"borderImageSource"===e||"filter"===e||"list-style"===e||"listStyle"===e||"list-style-image"===e||"listStyleImage"===e||"clip-path"===e||"clipPath"===e}function Oi(){var e=ct();return e&&e[12]}var Si=/([A-Z])/g;function Pi(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Ei(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Mi(e,t){e.__ngContext__=t}function Ii(e,t){for(var n=e[1].firstChild;n;){if(Ze(n,e)===t)return n.index;
1n=Di(n)}return-1}function Di(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function ji(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function Ai(){throw new Error("Cannot mix multi providers and regular providers")}function Ti(e,t,n){for(var i=e.length;;){var r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){var a=t.length;if(r+a===i||e.charCodeAt(r+a)<=32)return r}n=r+1}}function zi(e,t,n){for(var i=0;i<e.length;){var r=e[i++];if(n&&"class"===r){if(-1!==Ti((r=e[i]).toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function Li(e){return 0===e.type&&"ng-template"!==e.tagName}function Ni(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function Ri(e,t,n){for(var i=4,r=e.attrs||[],a=function(e){for(var t=0;t<e.length;t++)if($t(e[t]))return t;return e.length}(r),o=!1,s=0;s<t.length;s++){var c=t[s];if("number"!=typeof c){if(!o)if(4&i){if(i=2|1&i,""!==c&&!Ni(e,c,n)||""===c&&1===t.length){if(Fi(i))return!1;o=!0}}else{var l=8&i?c:t[++s];if(8&i&&null!==e.attrs){if(!zi(e.attrs,l,n)){if(Fi(i))return!1;o=!0}continue}var u=Vi(8&i?"class":c,r,Li(e),n);if(-1===u){if(Fi(i))return!1;o=!0;continue}if(""!==l){var d;d=u>a?"":r[u+1].toLowerCase();var h=8&i?d:null;if(h&&-1!==Ti(h,l,0)||2&i&&l!==d){if(Fi(i))return!1;o=!0}}}}else{if(!o&&!Fi(i)&&!Fi(c))return!1;if(o&&Fi(c))continue;o=!1,i=c|1&i}}return Fi(i)||o}function Fi(e){return 0==(1&e)}function Vi(e,t,n,i){if(null===t)return-1;var r=0;if(i||!n){for(var a=!1;r<t.length;){var o=t[r];if(o===e)return r;if(3===o||6===o)a=!0;else{if(1===o||2===o){for(var s=t[++r];"string"==typeof s;)s=t[++r];continue}if(4===o)break;if(0===o){r+=4;continue}}r+=a?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Ui(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=0;i<t.length;i++)if(Ri(e,t[i],n))return!0;return!1}function Hi(e,t){e:for(var n=0;n<t.length;n++){var i=t[n];if(e.length===i.length){for(var r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function Bi(e,t){return e?":not("+t.trim()+")":t}function qi(e){for(var t=e[0],n=1,i=2,r="",a=!1;n<e.length;){var o=e[n];if("string"==typeof o)if(2&i){var s=e[++n];r+="["+o+(s.length>0?'="'+s+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||Fi(o)||(t+=Bi(a,r),r=""),i=o,a=a||!Fi(i);n++}return""!==r&&(t+=Bi(a,r)),t}var $i={};function Wi(e){var t=e[3];return ze(t)?t[3]:t}function Gi(e){return Zi(e[13])}function Xi(e){return Zi(e[4])}function Zi(e){for(;null!==e&&!ze(e);)e=e[4];return e}function Yi(e){Qi(lt(),ct(),jt()+e,gt())}function Qi(e,t,n,i){if(!i)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&&Rt(t,r,n)}else{var a=e.preOrderHooks;null!==a&&Ft(t,a,0,n)}At(n)}var Ki={marker:"element"},Ji={marker:"comment"};function er(e,t){return e<<17|t<<2}function tr(e){return e>>17&32767}function nr(e){return 2|e}function ir(e){return(131068&e)>>2}function rr(e,t){return-131069&e|t<<2}function ar(e){return 1|e}function or(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;i<n.length;i+=2){var r=n[i],a=n[i+1];if(-1!==a){var o=e.data[a];xt(r),o.contentQueries(2,t[a],a)}}}function sr(e,t,n){return qe(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function cr(e,t,n,i,r,a,o,s,c,l){var u=t.blueprint.slice();return u[0]=r,u[2]=140|i,rt(u),u[3]=u[15]=e,u[8]=n,u[10]=o||e&&e[10],u[11]=s||e&&e[11],u[12]=c||e&&e[12]||null,u[9]=l||e&&e[9]||null,u[6]=a,u[16]=2==t.type?e[16]:u,u}function lr(e,t,n,i,r,a){var o=n+20,s=e.data[o]||function(e,t,n,i,r,a){var o=dt(),s=ft(),c=s?o:o&&o.parent,l=e.data[n]=yr(0,c&&c!==t?c:null,i,n,r,a);return null===e.firstChild&&(e.firstChild=l),o&&(!s||null!=o.child||null===l.parent&&2!==o.type?s||(o.next=l):o.child=l),l}(e,t,o,i,r,a);return ht(s,!0),s}function ur(e,t,n){St(t,t[6]);try{var i=e.viewQuery;null!==i&&Hr(1,i,n);var r=e.template;null!==r&&fr(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&or(e,t),e.staticViewQueries&&Hr(2,e.viewQuery,n);var a=e.components;null!==a&&function(e,t){for(var n=0;n<t.length;n++)Nr(e,t[n])}(t,a)}catch(o){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),o}finally{t[2]&=-5,Dt()}}function dr(e,t,n,i){var r=t[2];if(256!=(256&r)){St(t,t[6]);var a=gt();try{rt(t),ot.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&fr(e,t,n,2,i);var o=3==(3&r);if(!a)if(o){var s=e.preOrderCheckHooks;null!==s&&Rt(t,s,null)}else{var c=e.preOrderHooks;null!==c&&Ft(t,c,0,null),Vt(t,0)}if(function(e){for(var t=Gi(e);null!==t;t=Xi(t))if(t[2])for(var n=t[9],i=0;i<n.length;i++){var r=n[i],a=r[3];0==(1024&r[2])&&at(a,1),r[2]|=1024}}(t),function(e){for(var t=Gi(e);null!==t;t=Xi(t))for(var n=10;n<t.length;n++){var i=t[n],r=i[1];nt(i)&&dr(r,i,r.template,i[8])}}(t),null!==e.contentQueries&&or(e,t),!a)if(o){var l=e.contentCheckHooks;null!==l&&Rt(t,l)}else{var u=e.contentHooks;null!==u&&Ft(t,u,1),Vt(t,1)}!function(e,t){try{var n=e.expandoInstructions;if(null!==n)for(var i=e.expandoStartIndex,r=-1,a=0;a<n.length;a++){var o=n[a];"number"==typeof o?o<=0?(At(0-o),r=i+=9+n[++a]):i+=o:(null!==o&&(_t(i,r),o(2,t[r])),r++)}}finally{At(-1)}}(e,t);var d=e.components;null!==d&&function(e,t){for(var n=0;n<t.length;n++)Lr(e,t[n])}(t,d);var h=e.viewQuery;if(null!==h&&Hr(2,h,i),!a)if(o){var f=e.viewCheckHooks;null!==f&&Rt(t,f)}else{var p=e.viewHooks;null!==p&&Ft(t,p,2),Vt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),a||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,at(t[3],-1))}finally{Dt()}}}function hr(e,t,n,i){var r=t[10],a=!gt(),o=tt(t);try{a&&!o&&r.begin&&r.begin(),o&&ur(e,t,i),dr(e,t,n,i)}finally{a&&!o&&r.end&&r.end()}}function fr(e,t,n,i,r){var a=jt();try{At(-1),2&i&&t.length>20&&Qi(e,t,0,gt()),n(i,r)}finally{At(a)}}function pr(e,t,n){if(Le(t))for(var i=t.directiveEnd,r=t.directiveStart;r<i;r++){var a=e.data[r];a.contentQueries&&a.contentQueries(1,n[r],r)}}function gr(e,t,n){st()&&(function(e,t,n,i){var r=n.directiveStart,a=n.directiveEnd;e.firstCreatePass||ln(n,t),Mi(i,t);for(var o=n.initialInputs,s=r;s<a;s++){var c=e.data[s],l=Fe(c);l&&Dr(t,n,c);var u=bn(t,e,s,n);Mi(u,t),null!==o&&Ar(0,s-r,u,c,0,o),l&&(Ke(n.index,t)[8]=u)}}(e,t,n,Xe(n,t)),128==(128&n.flags)&&function(e,t,n){var i=n.directiveStart,r=n.directiveEnd,a=e.expandoInstructions,o=e.firstCreatePass,s=n.index-20,c=ot.lFrame.currentDirectiveIndex;try{At(s);for(var l=i;l<r;l++){var u=e.data[l],d=t[l];wt(l),null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs?Or(u,d):o&&a.push(null)}}finally{At(-1),wt(c)}}
1(e,t,n))}function vr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Xe,i=t.localNames;if(null!==i)for(var r=t.index+1,a=0;a<i.length;a+=2){var o=i[a+1],s=-1===o?n(t,e):e[o];e[r++]=s}}function mr(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=br(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function br(e,t,n,i,r,a,o,s,c,l){var u=20+i,d=u+r,h=function(e,t){for(var n=[],i=0;i<t;i++)n.push(i<e?null:$i);return n}(u,d);return h[1]={type:e,id:t,blueprint:h,template:n,queries:null,viewQuery:s,node:null,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,expandoInstructions: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:"function"==typeof a?a():a,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:c,consts:l,incompleteFirstPass:!1}}function yr(e,t,n,i,r,a){return{type:n,index:i,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:r,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Cr(e,t,n){for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,r):n[i]=[t,r]}return n}function _r(e,t,n,i,r,a,o,s){var c,l,u=Xe(t,n),d=t.inputs;!s&&null!=d&&(c=d[i])?(Gr(e,n,c,i,r),Ne(t)&&function(e,t){var n=Ke(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3===t.type&&(i="class"===(l=i)?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l,r=null!=o?o(r,t.tagName||"",i):r,qe(a)?a.setProperty(u,i,r):Wt(i)||(u.setProperty?u.setProperty(i,r):u[i]=r))}function wr(e,t,n,i){var r=!1;if(st()){var a=function(e,t,n){var i=e.directiveRegistry,r=null;if(i)for(var a=0;a<i.length;a++){var o=i[a];Ui(n,o.selectors,!1)&&(r||(r=[]),fn(ln(n,t),e,o.type),Fe(o)?(2&n.flags&&ji(n),Pr(e,n),r.unshift(o)):r.push(o))}return r}(e,t,n),o=null===i?null:{"":-1};if(null!==a){var s=0;r=!0,Mr(n,e.data.length,a.length);for(var c=0;c<a.length;c++){var l=a[c];l.providersResolver&&l.providersResolver(l)}Sr(e,n,a.length);for(var u=!1,d=!1,h=0;h<a.length;h++){var f=a[h];n.mergedAttrs=Gt(n.mergedAttrs,f.hostAttrs),Ir(e,t,f),Er(e.data.length-1,f,o),null!==f.contentQueries&&(n.flags|=8),null===f.hostBindings&&null===f.hostAttrs&&0===f.hostVars||(n.flags|=128),!u&&(f.onChanges||f.onInit||f.doCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-20),u=!0),d||!f.onChanges&&!f.doCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-20),d=!0),kr(e,f),s+=f.hostVars}!function(e,t){for(var n=t.directiveEnd,i=e.data,r=t.attrs,a=[],o=null,s=null,c=t.directiveStart;c<n;c++){var l=i[c],u=l.inputs,d=null===r||Li(t)?null:Tr(u,r);a.push(d),o=Cr(u,c,o),s=Cr(l.outputs,c,s)}null!==o&&(o.hasOwnProperty("class")&&(t.flags|=16),o.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=a,t.inputs=o,t.outputs=s}(e,n),xr(e,t,s)}o&&function(e,t,n){if(t)for(var i=e.localNames=[],r=0;r<t.length;r+=2){var a=n[t[r+1]];if(null==a)throw new Error("Export of name '".concat(t[r+1],"' not found!"));i.push(t[r],a)}}(n,i,o)}return n.mergedAttrs=Gt(n.mergedAttrs,n.attrs),r}function kr(e,t){var n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function xr(e,t,n){for(var i=0;i<n;i++)t.push($i),e.blueprint.push($i),e.data.push(null)}function Or(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Sr(e,t,n){var i=20-t.index,r=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(i,r,n)}function Pr(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Er(e,t,n){if(n){if(t.exportAs)for(var i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Fe(t)&&(n[""]=e)}}function Mr(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t
1+n,e.providerIndexes=t}function Ir(e,t,n){e.data.push(n);var i=n.factory||(n.factory=je(n.type)),r=new Bt(i,Fe(n),null);e.blueprint.push(r),t.push(r)}function Dr(e,t,n){var i=Xe(t,e),r=mr(n),a=e[10],o=Rr(e,cr(e,r,null,n.onPush?64:16,i,t,a,a.createRenderer(i,n)));e[t.index]=o}function jr(e,t,n,i,r,a){var o=Xe(e,t),s=t[11];if(null==i)qe(s)?s.removeAttribute(o,n,a):o.removeAttribute(n);else{var c=null==r?Jt(i):r(i,e.tagName||"",n);qe(s)?s.setAttribute(o,n,c,a):a?o.setAttributeNS(a,n,c):o.setAttribute(n,c)}}function Ar(e,t,n,i,r,a){var o=a[t];if(null!==o)for(var s=i.setInput,c=0;c<o.length;){var l=o[c++],u=o[c++],d=o[c++];null!==s?i.setInput(n,d,l,u):n[u]=d}}function Tr(e,t){for(var n=null,i=0;i<t.length;){var r=t[i];if(0!==r)if(5!==r){if("number"==typeof r)break;e.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,e[r],t[i+1])),i+=2}else i+=2;else i+=4}return n}function zr(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function Lr(e,t){var n=Ke(t,e);if(nt(n)){var i=n[1];80&n[2]?dr(i,n,i.template,n[8]):n[5]>0&&function e(t){for(var n=Gi(t);null!==n;n=Xi(n))for(var i=10;i<n.length;i++){var r=n[i];if(1024&r[2]){var a=r[1];dr(a,r,a.template,r[8])}else r[5]>0&&e(r)}var o=t[1].components;if(null!==o)for(var s=0;s<o.length;s++){var c=Ke(o[s],t);nt(c)&&c[5]>0&&e(c)}}(n)}}function Nr(e,t){var n=Ke(t,e),i=n[1];!function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n),ur(i,n,n[8])}function Rr(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Fr(e){for(;e;){e[2]|=64;var t=Wi(e);if(Ve(e)&&!t)return e;e=t}return null}function Vr(e,t,n){var i=t[10];i.begin&&i.begin();try{dr(e,t,e.template,n)}catch(r){throw Wr(t,r),r}finally{i.end&&i.end()}}function Ur(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],i=et(n),r=i[1];hr(r,i,r.template,n)}}(e[8])}function Hr(e,t,n){xt(0),t(e,n)}var Br=Promise.resolve(null);function qr(e){return e[7]||(e[7]=[])}function $r(e){return e.cleanup||(e.cleanup=[])}function Wr(e,t){var n=e[9],i=n?n.get(Pn,null):null;i&&i.handleError(t)}function Gr(e,t,n,i,r){for(var a=0;a<n.length;){var o=n[a++],s=n[a++],c=t[o],l=e.data[o];null!==l.setInput?l.setInput(c,r,i,s):c[s]=r}}function Xr(e,t,n){var i=Ge(t,e),r=e[11];qe(r)?r.setValue(i,n):i.textContent=n}function Zr(e,t){var n=t[3];return-1===e.index?ze(n)?n:null:n}function Yr(e,t){var n=Zr(e,t);return n?la(t[11],n[7]):null}function Qr(e,t,n,i,r){if(null!=i){var a,o=!1;ze(i)?a=i:Te(i)&&(o=!0,i=i[0]);var s=We(i);0===e&&null!==n?null==r?sa(t,n,s):oa(t,n,s,r||null):1===e&&null!==n?oa(t,n,s,r||null):2===e?fa(t,s,o):3===e&&t.destroyNode(s),null!=a&&function(e,t,n,i,r){var a=n[7];a!==We(n)&&Qr(t,e,i,a,r);for(var o=10;o<n.length;o++){var s=n[o];ga(s[1],s,e,t,i,a)}}(t,e,a,n,r)}}function Kr(e,t){return qe(t)?t.createText(e):t.createTextNode(e)}function Jr(e,t,n,i){var r=Yr(e.node,t);r&&ga(e,t,t[11],n?1:2,r,i)}function ea(e,t){var n=e[9],i=n.indexOf(t);1024&t[2]&&at(t[3],-1),n.splice(i,1)}function ta(e,t){if(!(e.length<=10)){var n=10+t,i=e[n];if(i){var r=i[17];null!==r&&r!==e&&ea(r,i),t>0&&(e[n-1][4]=i[4]);var a=de(e,10+t);Jr(i[1],i,!1,null);var o=a[19];null!==o&&o.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function na(e,t){if(!(256&t[2])){var n=t[11];qe(n)&&n.destroyNode&&ga(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return ra(e[1],e);for(;t;){var n=null;if(Te(t))n=t[13];else{var i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Te(t)&&ra(t[1],t),t=ia(t,e);null===t&&(t=e),Te(t)&&ra(t[1],t),n=t&&t[4]}t=n}}(t)}}function ia(e,t){var n;return Te(e)&&(n=e[6])&&2===n.type?Zr(n,e):e[3]===t?null:e[3]}function ra(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i<n.length;i+=2){var r=t[n[i]];if(!(r instanceof Bt)){var a=n[i+1];if(Array.isArray(a))for(var o=0;o<a.length;o+=2)a[o+1].call(r[a[o]]);else a.call(r)}}}(e,t),function(e,t){var n=e.cleanup;if(null!==n){for(var i=t[7],r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){var a=n[r+1],o="function"==typeof a?a(t):We(t[a]),s=i[n[r+2]],c=n[r+3];"boolean"==typeof c?o.removeEventListener(n[r],s,c):c>=0?i[c]():i[-c].unsubscribe(),r+=2}else n[r].call(i[n[r+1]]);t[7]=null}}(e,t);var n=t[6];n&&3===n.type&&qe(t[11])&&t[11].destroy();var i=t[17];if(null!==i&&ze(t[3])){i!==t[3]&&ea(i,t);var r=t[19];null!==r&&r.detachView(e)}}}
1function aa(e,t,n){for(var i=t.parent;null!=i&&(4===i.type||5===i.type);)i=(t=i).parent;if(null==i){var r=n[6];return 2===r.type?Yr(r,n):n[0]}if(t&&5===t.type&&4&t.flags)return Xe(t,n).parentNode;if(2&i.flags){var a=e.data,o=a[a[i.index].directiveStart].encapsulation;if(o!==me.ShadowDom&&o!==me.Native)return null}return Xe(i,n)}function oa(e,t,n,i){qe(e)?e.insertBefore(t,n,i):t.insertBefore(n,i,!0)}function sa(e,t,n){qe(e)?e.appendChild(t,n):t.appendChild(n)}function ca(e,t,n,i){null!==i?oa(e,t,n,i):sa(e,t,n)}function la(e,t){return qe(e)?e.parentNode(t):t.parentNode}function ua(e,t){if(2===e.type){var n=Zr(e,t);return null===n?null:ha(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?Xe(e,t):null}function da(e,t,n,i){var r=aa(e,i,t);if(null!=r){var a=t[11],o=ua(i.parent||t[6],t);if(Array.isArray(n))for(var s=0;s<n.length;s++)ca(a,r,n[s],o);else ca(a,r,n,o)}}function ha(e,t){var n=10+e+1;if(n<t.length){var i=t[n],r=i[1].firstChild;if(null!==r)return function e(t,n){if(null!==n){var i=n.type;if(3===i)return Xe(n,t);if(0===i)return ha(-1,t[n.index]);if(4===i||5===i){var r=n.child;if(null!==r)return e(t,r);var a=t[n.index];return ze(a)?ha(-1,a):We(a)}var o=t[16],s=o[6],c=Wi(o),l=s.projection[n.projection];return null!=l?e(c,l):e(t,n.next)}return null}(i,r)}return t[7]}function fa(e,t,n){var i=la(e,t);i&&function(e,t,n,i){qe(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}function pa(e,t,n,i,r,a,o){for(;null!=n;){var s=i[n.index],c=n.type;o&&0===t&&(s&&Mi(We(s),i),n.flags|=4),64!=(64&n.flags)&&(4===c||5===c?(pa(e,t,n.child,i,r,a,!1),Qr(t,e,r,s,a)):1===c?ma(e,t,i,n,r,a):Qr(t,e,r,s,a)),n=o?n.projectionNext:n.next}}function ga(e,t,n,i,r,a){pa(n,i,e.node.child,t,r,a,!1)}function va(e,t,n){ma(t[11],0,t,n,aa(e,n,t),ua(n.parent||t[6],t))}function ma(e,t,n,i,r,a){var o=n[16],s=o[6].projection[i.projection];if(Array.isArray(s))for(var c=0;c<s.length;c++)Qr(t,e,r,s[c],a);else pa(e,t,s,o[3],r,a,!0)}function ba(e,t,n){qe(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function ya(e,t,n){qe(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}var Ca,_a,wa,ka=function(){function e(t,n){_classCallCheck(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._viewContainerRef=null}return _createClass(e,[{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}na(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){var t,n,i;t=this._lView[1],i=e,qr(n=this._lView).push(i),t.firstCreatePass&&$r(t).push(n[7].length-1,null)}},{key:"markForCheck",value:function(){Fr(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Vr(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){vt(!0);try{Vr(e,t,n)}finally{vt(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,ga(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"rootNodes",get:function(){var e=this._lView;return null==e[0]?function e(t,n,i,r){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==i;){var o=n[i.index];if(null!==o&&r.push(We(o)),ze(o))for(var s=10;s<o.length;s++){var c=o[s],l=c[1].firstChild;null!==l&&e(c[1],c,l,r)}var u=i.type;if(4===u||5===u)e(t,n,i.child,r);else if(1===u){var d=n[16],h=d[6].projection[i.projection];if(Array.isArray(h))r.push.apply(r,_toConsumableArray2(h));else{var f=Wi(d);e(f[1],f,h,r,!0)}}i=a?i.projectionNext:i.next}return r}(e[1],e,e[6].child,[]):[]}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}}]),e}(),xa=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e))._view=e,i}return _createClass(n,[{key:"detectChanges",value:function(){Ur(this._view)}},{key:"checkNoChanges",value:function(){!function(e){vt(!0);try{Ur(e)}finally{vt(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(ka);function Oa(e,t,n){return Ca||(Ca=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(e)),new Ca(Xe(t,n))}function Sa(e,t,n,i){return _a||(_a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this))._declarationView=e,a._declarationTContainer=i,a.elementRef=r,a}return _createClass(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=cr(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];var i=this._declarationView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),ur(t,n,e),new ka(n)}}]),n}(e)),0===n.type?new _a(i,n,Oa(t,n,i)):null}function Pa(e,t,n,i){var r;wa||(wa=function(e){_inherits(i,e);var n=_createSuper(i);function i(e,t,r){var a;return _classCallCheck(this,i),(a=n.call(this))._lContainer=e,a._hostTNode=t,a._hostView=r,a}return _createClass(i,[{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var a=n||this.parentInjector;if(!r&&null==e.ngModule&&a){var o=a.get(oe,null);
1o&&(r=o)}var s=e.create(a,i,void 0,r);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,i=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),ze(n[3])){var r=this.indexOf(e);if(-1!==r)this.detach(r);else{var a=n[3],o=new wa(a,a[6],a[3]);o.detach(o.indexOf(e))}}var s=this._adjustIndex(t);return function(e,t,n,i){var r=10+i,a=n.length;i>0&&(n[r-1][4]=t),i<a-10?(t[4]=n[r],ue(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;var o=t[17];null!==o&&n!==o&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(i,n,this._lContainer,s),Jr(i,n,!0,ha(s,this._lContainer)),e.attachToViewContainerRef(this),ue(this._lContainer[8],s,e),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=this._lContainer[8];return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1);!function(e,t){var n=ta(e,t);n&&na(n[1],n)}(this._lContainer,t),de(this._lContainer[8],t)}},{key:"detach",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=ta(this._lContainer,t);return n&&null!=de(this._lContainer[8],t)?new ka(n):null}},{key:"_adjustIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return Oa(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new _n(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=hn(this._hostTNode,this._hostView),t=Kt(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var i=n.parent.injectorIndex,r=n.parent;null!=r.parent&&i==r.parent.injectorIndex;)r=r.parent;return r}for(var a=Qt(e),o=t,s=t[6];a>1;)s=(o=o[15])[6],a--;return s}(e,this._hostView,this._hostTNode);return Zt(e)&&null!=n?new _n(n,t):new _n(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),i}(e));var a=i[n.index];if(ze(a))r=a;else{var o;if(4===n.type)o=We(a);else if(o=i[11].createComment(""),Ve(i)){var s=i[11],c=Xe(n,i);oa(s,la(s,c),o,function(e,t){return qe(e)?e.nextSibling(t):t.nextSibling}(s,c))}else da(i[1],i,o,n);i[n.index]=r=zr(a,i,o,n),Rr(i,r)}return new wa(r,n,i)}function Ea(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&Ne(e)){var i=Ke(e.index,t);return new ka(i,i)}return 3===e.type||0===e.type||4===e.type||5===e.type?new ka(t[16],t):null}(dt(),ct(),e)}var Ma=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return Ia()},e}(),Ia=Ea,Da=Function;function ja(e){return"function"==typeof e}var Aa=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Ta=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,za=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,La=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/,Na=function(){function e(t){_classCallCheck(this,e),this._reflect=t||F.Reflect}return _createClass(e,[{key:"isReflectionEnabled",value:function(){return!0}},{key:"factory",value:function(e){return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return _construct(e,n)}}},{key:"_zipTypesAndAnnotations",value:function(e,t){var n;n=he(void 0===e?t.length:e.length);for(var i=0;i<n.length;i++)n[i]=void 0===e?[]:e[i]&&e[i]!=Object?[e[i]]:[],t&&null!=t[i]&&(n[i]=n[i].concat(t[i]));return n}},{key:"_ownParameters",value:function(e,t){if(n=e.toString(),Aa.test(n)||La.test(n)||Ta.test(n)&&!za.test(n))return null;var n;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var i=e.ctorParameters;if(i&&i!==t.ctorParameters){var r="function"==typeof i?i():i,a=r.map((function(e){return e&&e.type})),o=r.map((function(e){return e&&Ra(e.decorators)}));return this._zipTypesAndAnnotations(a,o)}var s=e.hasOwnProperty(l)&&e[l],c=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return c||s?this._zipTypesAndAnnotations(c,s):he(e.length)}},{key:"parameters",value:function(e){if(!ja(e))return[];var t=Fa(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}},{key:"_ownAnnotations",value:function(e,t){if(e.annotations&&e.annotations!==t.annotations){var n=e.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return e.decorators&&e.decorators!==t.decorators?Ra(e.decorators):e.hasOwnProperty("__annotations__")?e.__annotations__:null}},{key:"annotations",value:function(e){if(!ja(e))return[];var t=Fa(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}},{key:"_ownPropMetadata",value:function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var i=e.propDecorators,r={};
1return Object.keys(i).forEach((function(e){r[e]=Ra(i[e])})),r}return e.hasOwnProperty("__prop__metadata__")?e.__prop__metadata__:null}},{key:"propMetadata",value:function(e){if(!ja(e))return{};var t=Fa(e),n={};if(t!==Object){var i=this.propMetadata(t);Object.keys(i).forEach((function(e){n[e]=i[e]}))}var r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach((function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,_toConsumableArray2(n[e])),t.push.apply(t,_toConsumableArray2(r[e])),n[e]=t})),n}},{key:"ownPropMetadata",value:function(e){return ja(e)&&this._ownPropMetadata(e,Fa(e))||{}}},{key:"hasLifecycleHook",value:function(e,t){return e instanceof Da&&t in e.prototype}},{key:"guards",value:function(e){return{}}},{key:"getter",value:function(e){return new Function("o","return o."+e+";")}},{key:"setter",value:function(e){return new Function("o","v","return o."+e+" = v;")}},{key:"method",value:function(e){return new Function("o","args","if (!o.".concat(e,") throw new Error('\"").concat(e,"\" is undefined');\n        return o.").concat(e,".apply(o, args);"))}},{key:"importUri",value:function(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+E(e)}},{key:"resourceUri",value:function(e){return"./"+E(e)}},{key:"resolveIdentifier",value:function(e,t,n,i){return i}},{key:"resolveEnum",value:function(e,t){return e[t]}}]),e}();function Ra(e){return e?e.map((function(e){return _construct(e.type.annotationCls,_toConsumableArray2(e.args?e.args:[]))})):[]}function Fa(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}var Va=new G("Set Injector scope."),Ua={},Ha={},Ba=[],qa=void 0;function $a(){return void 0===qa&&(qa=new ae),qa}function Wa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new Ga(e,n,t||$a(),i)}var Ga=function(){function e(t,n,i){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&le(n,(function(e){return r.processProvider(e,t,n)})),le([t],(function(e){return r.processInjectorType(e,[],o)})),this.records.set(X,Ya(void 0,this));var s=this.records.get(Va);this.scope=null!=s?s.value:null,this.source=a||("object"==typeof t?null:E(t))}return _createClass(e,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.Default;this.assertNotDestroyed();var i,r=J(this);try{if(!(n&g.SkipSelf)){var a=this.records.get(e);if(void 0===a){var o=("function"==typeof(i=e)||"object"==typeof i&&i instanceof G)&&C(e);a=o&&this.injectableDefInScope(o)?Ya(Xa(e),Ua):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(n&g.Self?$a():this.parent).get(e,t=n&g.Optional&&t===Z?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(E(e)),r)throw s;return function(e,t,n,i){var r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var r=E(t);if(Array.isArray(t))r=t.map(E).join(" -> ");else if("object"==typeof t){var a=[];for(var o in t)if(t.hasOwnProperty(o)){var s=t[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):E(s)))}r="{".concat(a.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(e.replace(Y,"\n  "))}("\n"+e.message,r,"R3InjectorError",i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{J(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach((function(t){return e.get(t)}))}},{key:"toString",value:function(){var e=[];return this.records.forEach((function(t,n){return e.push(E(n))})),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var i=this;if(!(e=j(e)))return!1;var r=w(e),a=null==r&&e.ngModule||void 0,o=void 0===a?e:a,s=-1!==n.indexOf(o);if(void 0!==a&&(r=w(a)),null==r)return!1;if(null!=r.imports&&!s){var c;n.push(o);try{le(r.imports,(function(e){i.processInjectorType(e,t,n)&&(void 0===c&&(c=[]),c.push(e))}))}finally{}if(void 0!==c)for(var l=function(e){var t=c[e],n=t.ngModule,r=t.providers;le(r,(function(e){return i.processProvider(e,n,r||Ba)}))},u=0;u<c.length;u++)l(u)}this.injectorDefTypes.add(o),this.records.set(o,Ya(r.factory,Ua));var d=r.providers;if(null!=d&&!s){var h=e;le(d,(function(e){return i.processProvider(e,h,d)}))}return void 0!==a&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var i=Ka(e=j(e))?e:j(e&&e.provide),r=function(e,t,n){return Qa(e)?Ya(void 0,e.useValue):Ya(Za(e,t,n),Ua)}
1(e,t,n);if(Ka(e)||!0!==e.multi){var a=this.records.get(i);a&&void 0!==a.multi&&Ai()}else{var o=this.records.get(i);o?void 0===o.multi&&Ai():((o=Ya(void 0,Ua,!0)).factory=function(){return re(o.multi)},this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,r)}},{key:"hydrate",value:function(e,t){var n;return t.value===Ha?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(E(e)):t.value===Ua&&(t.value=Ha,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}},{key:"injectableDefInScope",value:function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();function Xa(e){var t=C(e),n=null!==t?t.factory:je(e);if(null!==n)return n;var i=w(e);if(null!==i)return i.factory;if(e instanceof G)throw new Error("Token ".concat(E(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=he(t,"?");throw new Error("Can't resolve all parameters for ".concat(E(e),": (").concat(n.join(", "),")."))}var i=function(e){var t=e&&(e[k]||e[S]||e[O]&&e[O]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Za(e,t,n){var i,r=void 0;if(Ka(e)){var a=j(e);return je(a)||Xa(a)}if(Qa(e))r=function(){return j(e.useValue)};else if((i=e)&&i.useFactory)r=function(){return e.useFactory.apply(e,_toConsumableArray2(re(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))r=function(){return ne(j(e.useExisting))};else{var o=j(e&&(e.useClass||e.provide));if(o||function(e,t,n){var i="";throw e&&t&&(i=" - only instances of Provider and Type are allowed, got: [".concat(t.map((function(e){return e==n?"?"+n+"?":"..."})).join(", "),"]")),new Error("Invalid provider for the NgModule '".concat(E(e),"'")+i)}(t,n,e),!function(e){return!!e.deps}(e))return je(o)||Xa(o);r=function(){return _construct(o,_toConsumableArray2(re(e.deps)))}}return r}function Ya(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Qa(e){return null!==e&&"object"==typeof e&&Q in e}function Ka(e){return"function"==typeof e}var Ja=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=Wa(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)},eo=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Ja(e,t,""):Ja(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=Z,e.NULL=new ae,e.\u0275prov=b({token:e,providedIn:"any",factory:function(){return ne(X)}}),e.__NG_ELEMENT_ID__=-1,e}(),to=new G("AnalyzeForEntryComponents"),no=new Map,io=new Set;function ro(e){return"string"==typeof e?e:e.text()}function ao(e,t,n){var i=n?e.styles:null,r=n?e.classes:null,a=0;if(null!==t)for(var o=0;o<t.length;o++){var s=t[o];"number"==typeof s?a=s:1==a?r=M(r,s):2==a&&(i=M(i,s+": "+t[++o]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}var oo=null;function so(){if(!oo){var e=F.Symbol;if(e&&e.iterator)oo=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(oo=i)}}return oo}function co(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function lo(e,t){var n=ho(e),i=ho(t);return n&&i?function(e,t,n){for(var i=e[so()](),r=t[so()]();;){var a=i.next(),o=r.next();if(a.done&&o.done)return!0;
1if(a.done||o.done)return!1;if(!n(a.value,o.value))return!1}}(e,t,lo):!(n||!(e&&("object"==typeof e||"function"==typeof e))||i||!(t&&("object"==typeof t||"function"==typeof t)))||co(e,t)}var uo=function(){function e(t){_classCallCheck(this,e),this.wrapped=t}return _createClass(e,null,[{key:"wrap",value:function(t){return new e(t)}},{key:"unwrap",value:function(t){return e.isWrapped(t)?t.wrapped:t}},{key:"isWrapped",value:function(t){return t instanceof e}}]),e}();function ho(e){return!!fo(e)&&(Array.isArray(e)||!(e instanceof Map)&&so()in e)}function fo(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function po(e,t,n){return e[t]=n}function go(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function vo(e,t,n,i){var r=go(e,t,n);return go(e,t+1,i)||r}function mo(e,t,n,i,r,a){var o=vo(e,t,n,i);return vo(e,t+2,r,a)||o}function bo(e,t,n,i){var r=ct();return go(r,yt(),t)&&(lt(),jr(Tt(),r,e,t,n,i)),bo}function yo(e,t,n,i){return go(e,yt(),n)?t+Jt(n)+i:$i}function Co(e,t,n,i,r,a){var o=vo(e,bt(),n,r);return Ct(2),o?t+Jt(n)+i+Jt(r)+a:$i}function _o(e,t,n,i,r,a,o,s){var c=ct(),l=lt(),u=e+20,d=l.firstCreatePass?function(e,t,n,i,r,a,o,s,c){var l=t.consts,u=lr(t,n[6],e,0,o||null,it(l,s));wr(t,n,u,it(l,c)),Nt(t,u);var d=u.tViews=br(2,-1,i,r,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l),h=yr(0,null,2,-1,null,null);return h.injectorIndex=u.injectorIndex,d.node=h,null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(e,l,c,t,n,i,r,a,o):l.data[u];ht(d,!1);var h=c[11].createComment("");da(l,c,h,d),Mi(h,c),Rr(c,c[u]=zr(h,c,h,d)),Re(d)&&gr(l,c,d),null!=o&&vr(c,d,s)}function wo(e){return Qe(ot.lFrame.contextLView,e)}function ko(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.Default,n=ct();return null==n?ne(e,t):pn(dt(),n,j(e),t)}function xo(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var i=n.length,r=0;r<i;){var a=n[r];if($t(a))break;if(0===a)r+=2;else if("number"==typeof a)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(a===t)return n[r+1];r+=2}}return null}(dt(),e)}function Oo(){throw new Error("invalid")}function So(e,t,n){var i=ct();return go(i,yt(),t)&&_r(lt(),Tt(),i,e,t,i[11],n,!1),So}function Po(e,t,n,i,r){var a=r?"class":"style";Gr(e,n,t.inputs[a],a,i)}function Eo(e,t,n,i){var r=ct(),a=lt(),o=20+e,s=r[11],c=r[o]=sr(t,s,ot.lFrame.currentNamespace),l=a.firstCreatePass?function(e,t,n,i,r,a,o){var s=t.consts,c=it(s,a),l=lr(t,n[6],e,3,r,c);return wr(t,n,l,it(s,o)),null!==l.attrs&&ao(l,l.attrs,!1),null!==l.mergedAttrs&&ao(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(e,a,r,0,t,n,i):a.data[o];ht(l,!0);var u=l.mergedAttrs;null!==u&&qt(s,c,u);var d=l.classes;null!==d&&ya(s,c,d);var h=l.styles;null!==h&&ba(s,c,h),da(a,r,c,l),0===ot.lFrame.elementDepthCount&&Mi(c,r),ot.lFrame.elementDepthCount++,Re(l)&&(gr(a,r,l),pr(a,l,r)),null!==i&&vr(r,l)}function Mo(){var e=dt();ft()?pt():ht(e=e.parent,!1);var t=e;ot.lFrame.elementDepthCount--;var n=lt();n.firstCreatePass&&(Nt(n,e),Le(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Po(n,t,ct(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Po(n,t,ct(),t.stylesWithoutHost,!1)}function Io(e,t,n,i){Eo(e,t,n,i),Mo()}function Do(e,t,n){var i=ct(),r=lt(),a=e+20,o=r.firstCreatePass?function(e,t,n,i,r){var a=t.consts,o=it(a,i),s=lr(t,n[6],e,4,"ng-container",o);return null!==o&&ao(s,o,!0),wr(t,n,s,it(a,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(e,r,i,t,n):r.data[a];ht(o,!0);var s=i[a]=i[11].createComment("");da(r,i,s,o),Mi(s,i),Re(o)&&(gr(r,i,o),pr(r,o,i)),null!=n&&vr(i,o)}function jo(){var e=dt(),t=lt();ft()?pt():ht(e=e.parent,!1),t.firstCreatePass&&(Nt(t,e),Le(e)&&t.queries.elementEnd(e))}function Ao(e,t,n){Do(e,t,n),jo()}function To(){return ct()}function zo(e){return!!e&&"function"==typeof e.then}function Lo(e){return!!e&&"function"==typeof e.subscribe}function No(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=ct(),a=lt(),o=dt();return function(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,c=Re(i),l=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=qr(t),d=!0;if(3===i.type){var h=Xe(i,t),f=s?s(h):be,p=f.target||h,g=u.length,v=s?function(e){return s(We(e[i.index])).target}:i.index;if(qe(n)){var m=null;if(!s&&c&&(m=function(e,t,n,i){var r=e.cleanup;if(null!=r)for(var a=0;a<r.length-1;a+=2){var o=r[a];if(o===n&&r[a+1]===i){var s=t[7],c=r[a+2];return s.length>c?s[c]:null}"string"==typeof o&&(a+=2)}return null}(e,t,r,i.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=a,m.__ngLastListenerFn__=a,d=!1;else{a=Fo(i,t,a,!1);var b=n.listen(f.name||p,r,a);u.push(a,b),l&&l.push(r,v,g,g+1)}}else a=Fo(i,t,a,!0),p.addEventListener(r,a,o),u.push(a),l&&l.push(r,v,g,o)}var y,C=i.outputs;if(d&&null!==C&&(y=C[r])){var _=y.length;if(_)for(var w=0;w<_;w+=2){var k=t[y[w]][y[w+1]].subscribe(a),x=u.length;u.push(a,k),l&&l.push(r,i.index,x,-(x+1))}}}(a,r,r[11],o,e,t,n,i),No}
1function Ro(e,t,n){try{return!1!==t(n)}catch(i){return Wr(e,i),!1}}function Fo(e,t,n,i){return function r(a){if(a===Function)return n;var o=2&e.flags?Ke(e.index,t):t;0==(32&t[2])&&Fr(o);for(var s=Ro(t,n,a),c=r.__ngNextListenerFn__;c;)s=Ro(t,c,a)&&s,c=c.__ngNextListenerFn__;return i&&!1===s&&(a.preventDefault(),a.returnValue=!1),s}}function Vo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(ot.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,ot.lFrame.contextLView))[8]}(e)}function Uo(e,t){for(var n=null,i=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),r=0;r<t.length;r++){var a=t[r];if("*"!==a){if(null===i?Ui(e,a,!0):Hi(i,a))return r}else n=r}return n}function Ho(e){var t=ct()[16][6];if(!t.projection)for(var n=t.projection=he(e?e.length:1,null),i=n.slice(),r=t.child;null!==r;){var a=e?Uo(r,e):0;null!==a&&(i[a]?i[a].projectionNext=r:n[a]=r,i[a]=r),r=r.next}}var Bo=!1;function qo(e){Bo=e}function $o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=ct(),r=lt(),a=lr(r,i[6],e,1,null,n||null);null===a.projection&&(a.projection=t),pt(),Bo||va(r,i,a)}function Wo(e,t,n){return Go(e,"",t,"",n),Wo}function Go(e,t,n,i,r){var a=ct(),o=yo(a,t,n,i);return o!==$i&&_r(lt(),Tt(),a,e,o,a[11],r,!1),Go}var Xo=[];function Zo(e,t,n,i,r){for(var a=e[n+1],o=null===t,s=i?tr(a):ir(a),c=!1;0!==s&&(!1===c||o);){var l=e[s+1];Yo(e[s],t)&&(c=!0,e[s+1]=i?ar(l):nr(l)),s=i?tr(l):ir(l)}c&&(e[n+1]=i?nr(a):ar(a))}function Yo(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ge(e,t)>=0}var Qo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ko(e){return e.substring(Qo.key,Qo.keyEnd)}function Jo(e){return e.substring(Qo.value,Qo.valueEnd)}function es(e,t){var n=Qo.textEnd;return n===t?-1:(t=Qo.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Qo.key=t,n),is(e,t,n))}function ts(e,t){var n=Qo.textEnd,i=Qo.key=is(e,t,n);return n===i?-1:(i=Qo.keyEnd=function(e,t,n){for(var i;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90);)t++;return t}(e,i,n),i=rs(e,i,n),i=Qo.value=is(e,i,n),i=Qo.valueEnd=function(e,t,n){for(var i=-1,r=-1,a=-1,o=t,s=o;o<n;){var c=e.charCodeAt(o++);if(59===c)return s;34===c||39===c?s=o=as(e,c,o,n):t===o-4&&85===a&&82===r&&76===i&&40===c?s=o=as(e,41,o,n):c>32&&(s=o),a=r,r=i,i=-33&c}return s}(e,i,n),rs(e,i,n))}function ns(e){Qo.key=0,Qo.keyEnd=0,Qo.value=0,Qo.valueEnd=0,Qo.textEnd=e.length}function is(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function rs(e,t,n,i){return(t=is(e,t,n))<n&&t++,t}function as(e,t,n,i){for(var r=-1,a=n;a<i;){var o=e.charCodeAt(a++);if(o==t&&92!==r)return a;r=92==o&&92===r?0:o}throw new Error}function os(e,t,n){return hs(e,t,n,!1),os}function ss(e,t){return hs(e,t,null,!0),ss}function cs(e){fs(bs,ls,e,!1)}function ls(e,t){for(var n=function(e){return ns(e),ts(e,is(e,0,Qo.textEnd))}(t);n>=0;n=ts(t,n))bs(e,Ko(t),Jo(t))}function us(e){fs(fe,ds,e,!0)}function ds(e,t){for(var n=function(e){return ns(e),es(e,is(e,0,Qo.textEnd))}(t);n>=0;n=es(t,n))fe(e,Ko(t),!0)}function hs(e,t,n,i){var r,a,o=ct(),s=lt(),c=Ct(2);(s.firstUpdatePass&&gs(s,e,c,i),t!==$i&&go(o,c,t))&&(null==n&&(r=null===(a=ot.lFrame)?null:a.currentSanitizer)&&(n=r),ys(s,s.data[jt()+20],o,o[11],e,o[c+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=E(Tn(e)))),e}(t,n),i,c))}function fs(e,t,n,i){var r=lt(),a=Ct(2);r.firstUpdatePass&&gs(r,null,a,i);var o=ct();if(n!==$i&&go(o,a,n)){var s=r.data[jt()+20];if(ws(s,i)&&!ps(r,a)){var c=i?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(n=M(c,n||"")),Po(r,s,o,n,i)}else!function(e,t,n,i,r,a,o,s){r===$i&&(r=Xo);for(var c=0,l=0,u=0<r.length?r[0]:null,d=0<a.length?a[0]:null;null!==u||null!==d;){var h=c<r.length?r[c+1]:void 0,f=l<a.length?a[l+1]:void 0,p=null,g=void 0;u===d?(c+=2,l+=2,h!==f&&(p=d,g=f)):null===d||null!==u&&u<d?(c+=2,p=u):(l+=2,p=d,g=f),null!==p&&ys(e,t,n,i,p,g,o,s),u=c<r.length?r[c]:null,d=l<a.length?a[l]:null}}(r,s,o,o[11],o[a+1],o[a+1]=function(e,t,n){if(null==n||""===n)return Xo;var i=[],r=Tn(n);if(Array.isArray(r))for(var a=0;a<r.length;a++)e(i,r[a],!0);else if("object"==typeof r)for(var o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&t(i,r);return i}
1(e,t,n),i,a)}}function ps(e,t){return t>=e.expandoStartIndex}function gs(e,t,n,i){var r=e.data;if(null===r[n+1]){var a=r[jt()+20],o=ps(e,n);ws(a,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){var r=function(e){var t=ot.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e),a=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=ms(n=vs(null,e,t,n,i),t.attrs,i),a=null);else{var o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=vs(r,e,t,n,i),null===a){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==ir(i))return e[tr(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[tr(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=ms(s=vs(null,e,t,s[1],i),t.attrs,i))}else a=function(e,t,n){for(var i=void 0,r=t.directiveEnd,a=1+t.directiveStylingLast;a<r;a++)i=ms(i,e[a].hostAttrs,n);return ms(i,t.attrs,n)}(e,t,i)}return void 0!==a&&(i?t.residualClasses=a:t.residualStyles=a),n}(r,a,t,i),function(e,t,n,i,r,a){var o=a?t.classBindings:t.styleBindings,s=tr(o),c=ir(o);e[i]=n;var l,u=!1;if(Array.isArray(n)){var d=n;(null===(l=d[1])||ge(d,l)>0)&&(u=!0)}else l=n;if(r)if(0!==c){var h=tr(e[s+1]);e[i+1]=er(h,s),0!==h&&(e[h+1]=rr(e[h+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=er(s,0),0!==s&&(e[s+1]=rr(e[s+1],i)),s=i;else e[i+1]=er(c,0),0===s?s=i:e[c+1]=rr(e[c+1],i),c=i;u&&(e[i+1]=nr(e[i+1])),Zo(e,l,i,!0),Zo(e,l,i,!1),function(e,t,n,i,r){var a=r?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&ge(a,t)>=0&&(n[i+1]=ar(n[i+1]))}(t,l,e,i,a),o=er(s,c),a?t.classBindings=o:t.styleBindings=o}(r,a,t,n,o,i)}}function vs(e,t,n,i,r){var a=null,o=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<o&&(i=ms(i,(a=t[s]).hostAttrs,r),a!==e);)s++;return null!==e&&(n.directiveStylingLast=s),i}function ms(e,t,n){var i=n?1:2,r=-1;if(null!==t)for(var a=0;a<t.length;a++){var o=t[a];"number"==typeof o?r=o:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),fe(e,o,!!n||t[++a]))}return void 0===e?null:e}function bs(e,t,n){xi(t)&&(n=Ci(n)),fe(e,t,n)}function ys(e,t,n,i,r,a,o,s){if(3===t.type){var c=e.data,l=c[s+1];_s(1==(1&l)?Cs(c,t,n,r,ir(l),o):void 0)||(_s(a)||2==(2&l)&&(a=Cs(c,null,n,r,s,o)),function(e,t,n,i,r){var a=qe(e);if(t)r?a?e.addClass(n,i):n.classList.add(i):a?e.removeClass(n,i):n.classList.remove(i);else{var o=-1==i.indexOf("-")?void 0:2;null==r?a?e.removeStyle(n,i,o):n.style.removeProperty(i):a?e.setStyle(n,i,r,o):n.style.setProperty(i,r)}}(i,o,Ge(jt(),n),r,a))}}function Cs(e,t,n,i,r,a){for(var o=null===t,s=void 0;r>0;){var c=e[r],l=Array.isArray(c),u=l?c[1]:c,d=null===u,h=n[r+1];h===$i&&(h=d?Xo:void 0);var f=d?pe(h,i):u===i?h:void 0;if(l&&!_s(f)&&(f=pe(c,i)),_s(f)&&(s=f,o))return s;var p=e[r+1];r=o?tr(p):ir(p)}if(null!==t){var g=a?t.residualClasses:t.residualStyles;null!=g&&(s=pe(g,i))}return s}function _s(e){return void 0!==e}function ws(e,t){return 0!=(e.flags&(t?16:32))}function ks(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=ct(),i=lt(),r=e+20,a=i.firstCreatePass?lr(i,n[6],e,3,null,null):i.data[r],o=n[r]=Kr(t,n[11]);da(i,n,o,a),ht(a,!1)}function xs(e){return Os("",e,""),xs}function Os(e,t,n){var i=ct(),r=yo(i,e,t,n);return r!==$i&&Xr(i,jt(),r),Os}function Ss(e,t,n,i,r){var a=ct(),o=Co(a,e,t,n,i,r);return o!==$i&&Xr(a,jt(),o),Ss}function Ps(e,t,n){fs(fe,ds,yo(ct(),e,t,n),!0)}function Es(e,t,n,i,r){fs(fe,ds,Co(ct(),e,t,n,i,r),!0)}function Ms(e,t,n,i,r,a,o,s,c){fs(fe,ds,function(e,t,n,i,r,a,o,s,c,l){var u=mo(e,bt(),n,r,o,c);return Ct(4),u?t+Jt(n)+i+Jt(r)+a+Jt(o)+s+Jt(c)+l:$i}(ct(),e,t,n,i,r,a,o,s,c),!0)}function Is(e,t,n){var i=ct();return go(i,yt(),t)&&_r(lt(),Tt(),i,e,t,i[11],n,!0),Is}function Ds(e){Ts(e);var t,n,i,r=js(e,!1);return null===r?null:(void 0===r.component&&(r.component=(t=r.nodeIndex,n=r.lView,2&(i=n[1].data[t]).flags?n[i.directiveStart]:null)),r.component)}function js(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=function(e){var t,n=Je(e);if(n){if(Array.isArray(n)){var i,r=n,a=void 0,o=void 0;if((t=e)&&t.constructor&&t.constructor.\u0275cmp){if(-1==(i=function(e,t){var n=e[1].components;if(n)for(var i=0;i<n.length;i++){var r=n[i];if(Ke(r,e)[8]===t)return r}else if(Ke(20,e)[8]===t)return 20;return-1}(r,e)))throw new Error("The provided component was not found in the application");a=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(-1==(i=function(e,t){for(var n=e[1].firstChild;n;){for(var i=n.directiveEnd,r=n.directiveStart;r<i;r++)if(e[r]===t)return n.index;
1n=Di(n)}return-1}(r,e)))throw new Error("The provided directive was not found in the application");o=function(e,t,n){var i=t[1].data[e],r=i.directiveStart;return 0==r?ye:(2&i.flags&&r++,t.slice(r,i.directiveEnd))}(i,r)}else if(-1==(i=Ii(r,e)))return null;var s=We(r[i]),c=Je(s),l=c&&!Array.isArray(c)?c:Ei(r,i,s);if(a&&void 0===l.component&&(l.component=a,Mi(l.component,l)),o&&void 0===l.directives){l.directives=o;for(var u=0;u<o.length;u++)Mi(o[u],l)}Mi(l.native,l),n=l}}else for(var d=e,h=d;h=h.parentNode;){var f=Je(h);if(f){var p;if(!(p=Array.isArray(f)?f:f.lView))return null;var g=Ii(p,d);if(g>=0){var v=We(p[g]),m=Ei(p,g,v);Mi(v,m),n=m;break}}}return n||null}(e);if(!n&&t)throw new Error("Invalid ng target");return n}function As(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function Ts(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function zs(e,t){var n=et(e)[1],i=n.data.length-1;Nt(n,{directiveStart:i,directiveEnd:i+1})}function Ls(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,i=[e];t;){var r=void 0;if(Fe(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);var a=e;a.inputs=Ns(e.inputs),a.declaredInputs=Ns(e.declaredInputs),a.outputs=Ns(e.outputs);var o=r.hostBindings;o&&Vs(e,o);var s=r.viewQuery,c=r.contentQueries;if(s&&Rs(e,s),c&&Fs(e,c),m(e.inputs,r.inputs),m(e.declaredInputs,r.declaredInputs),m(e.outputs,r.outputs),Fe(r)&&r.data.animation){var l=e.data;l.animation=(l.animation||[]).concat(r.data.animation)}a.afterContentChecked=a.afterContentChecked||r.afterContentChecked,a.afterContentInit=e.afterContentInit||r.afterContentInit,a.afterViewChecked=e.afterViewChecked||r.afterViewChecked,a.afterViewInit=e.afterViewInit||r.afterViewInit,a.doCheck=e.doCheck||r.doCheck,a.onDestroy=e.onDestroy||r.onDestroy,a.onInit=e.onInit||r.onInit}var u=r.features;if(u)for(var d=0;d<u.length;d++){var h=u[d];h&&h.ngInherit&&h(e),h===Ls&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){for(var t=0,n=null,i=e.length-1;i>=0;i--){var r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=Gt(r.hostAttrs,n=Gt(n,r.hostAttrs))}}(i)}function Ns(e){return e===be?{}:e===ye?[]:e}function Rs(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function Fs(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,r){t(e,i,r),n(e,i,r)}:t}function Vs(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}var Us=function(){function e(t,n,i){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=i}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Hs(e){e.type.prototype.ngOnChanges&&(e.setInput=Bs,e.onChanges=function(){var e=qs(this),t=e&&e.current;if(t){var n=e.previous;if(n===be)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}})}function Bs(e,t,n,i){var r=qs(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:be,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],c=o[s];a[s]=new Us(c&&c.currentValue,t,o===be),e[i]=t}function qs(e){return e.__ngSimpleChanges__||null}function $s(e,t,n,i,r){if(e=j(e),Array.isArray(e))for(var a=0;a<e.length;a++)$s(e[a],t,n,i,r);else{var o=lt(),s=ct(),c=Ka(e)?e:j(e.provide),l=Za(e),u=dt(),d=65535&u.providerIndexes,h=u.directiveStart,f=u.providerIndexes>>16;if(Ka(e)||!e.multi){var p=new Bt(l,r,ko),g=Xs(c,t,r?d:d+f,h);-1===g?(fn(ln(u,s),o,c),Ws(o,e,t.length),t.push(c),u.directiveStart++,u.directiveEnd++,r&&(u.providerIndexes+=65536),n.push(p),s.push(p)):(n[g]=p,s[g]=p)}else{var v=Xs(c,t,d+f,h),m=Xs(c,t,d,d+f),b=v>=0&&n[v],y=m>=0&&n[m];if(r&&!y||!r&&!b){fn(ln(u,s),o,c);var C=function(e,t,n,i,r){var a=new Bt(e,n,ko);return a.multi=[],a.index=t,a.componentProviders=0,Gs(a,r,i&&!n),a}(r?Ys:Zs,n.length,r,i,l);!r&&y&&(n[m].providerFactory=C),Ws(o,e,t.length,0),t.push(c),u.directiveStart++,u.directiveEnd++,r&&(u.providerIndexes+=65536),n.push(C),s.push(C)}else Ws(o,e,v>-1?v:m,Gs(n[r?m:v],l,!r&&i));!r&&i&&y&&n[m].componentProviders++}}}function Ws(e,t,n,i){var r=Ka(t);if(r||t.useClass){var a=(t.useClass||t).prototype.ngOnDestroy;if(a){var o=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){var s=o.indexOf(n);-1===s?o.push(n,[i,a]):o[s+1].push(i,a)}else o.push(n,a)}}}function Gs(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Xs(e,t,n,i){for(var r=n;r<i;r++)if(t[r]===e)return r;return-1}function Zs(e,t,n,i){return Qs(this.multi,[])}function Ys(e,t,n,i){var r,a=this.multi;if(this.providerFactory){var o=this.providerFactory.componentProviders,s=bn(n,n[1],this.providerFactory.index,i);Qs(a,r=s.slice(0,o));for(var c=o;c<s.length;c++)r.push(s[c])}else Qs(a,r=[]);return r}function Qs(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function Ks(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(e,t,n){var i=lt();if(i.firstCreatePass){var r=Fe(e);$s(n,i.data,i.blueprint,r,!0),$s(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}}Hs.ngInherit=!0;var Js=function e(){_classCallCheck(this,e)},ec=function e(){_classCallCheck(this,e)};function tc(e){var t=Error("No component factory found for ".concat(E(e),". Did you add it to @NgModule.entryComponents?"));return t[nc]=e,t}var nc="ngComponent",ic=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw tc(e)}}]),e}(),rc=function(){var e=function e(){_classCallCheck(this,e)};return e.NULL=new ic,e}(),ac=function(){function e(t,n,i){_classCallCheck(this,e),this._parent=n,this._ngModule=i,this._factories=new Map;for(var r=0;r<t.length;r++){var a=t[r];this._factories.set(a.componentType,a)}}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){var t=this._factories.get(e);
1if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw tc(e);return new oc(t,this._ngModule)}}]),e}(),oc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).factory=e,r.ngModule=i,r.selector=e.selector,r.componentType=e.componentType,r.ngContentSelectors=e.ngContentSelectors,r.inputs=e.inputs,r.outputs=e.outputs,r}return _createClass(n,[{key:"create",value:function(e,t,n,i){return this.factory.create(e,t,n,i||this.ngModule)}}]),n}(ec),sc=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return cc(e)},e}(),cc=function(e){return Oa(e,dt(),ct())},lc=function e(){_classCallCheck(this,e)},uc=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),dc=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return hc()},e}(),hc=function(){var e=ct(),t=Ke(dt().index,e);return function(e){var t=e[11];if(qe(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Te(t)?t:e)},fc=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=b({token:e,providedIn:"root",factory:function(){return null}}),e}(),pc=function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},gc=new pc("9.1.12"),vc=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return ho(e)}},{key:"create",value:function(e){return new bc(e)}}]),e}(),mc=function(e,t){return t},bc=function(){function e(t){_classCallCheck(this,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=t||mc}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,i=0,r=null;t||n;){var a=!n||t&&t.currentIndex<wc(n,i,r)?t:n,o=wc(a,i,r),s=a.currentIndex;if(a===n)i--,n=n._nextRemoved;else if(t=t._next,null==a.previousIndex)i++;else{r||(r=[]);var c=o-i,l=s-i;if(c!=l){for(var u=0;u<c;u++){var d=u<r.length?r[u]:r[u]=0,h=d+u;l<=h&&h<c&&(r[u]=d+1)}r[a.previousIndex]=l-c}}o!==s&&e(a,o,s)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!ho(e))throw new Error("Error trying to diff '".concat(E(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n,i,r,a=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)i=e[s],r=this._trackByFn(s,i),null!==a&&co(a.trackById,r)?(o&&(a=this._verifyReinsertion(a,i,r,s)),co(a.item,i)||this._addIdentityChange(a,i)):(a=this._mismatch(a,i,r,s),o=!0),a=a._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var i,r=e[so()]();!(i=r.next()).done;)t(i.value)}(e,(function(e){r=t._trackByFn(n,e),null!==a&&co(a.trackById,r)?(o&&(a=t._verifyReinsertion(a,e,r,n)),co(a.item,e)||t._addIdentityChange(a,e)):(a=t._mismatch(a,e,r,n),o=!0),a=a._next,n++})),this.length=n;return this._truncate(a),this.collection=e,this.isDirty}},{key:"_reset",value:function(){if(this.isDirty){var e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,i){var r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(co(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(co(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):e=this._addAfter(new yc(t,n),r,i),e}},{key:"_verifyReinsertion",value:function(e,t,n,i){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}},{key:"_truncate",value:function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_moveAfter",value:function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_addAfter",value:function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value:function(e,t,n){var i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new _c),this._linkedRecords.put(e),e.currentIndex=n,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value:function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}},{key:"_addToMoves",value:function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new _c),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}},{key:"_addIdentityChange",value:function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}]),e}(),yc=function e(t,n){_classCallCheck(this,e),this.item=t,this.trackById=n,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},Cc=function(){function e(){_classCallCheck(this,e),this._head=null,this._tail=null}return _createClass(e,[{key:"add",value:function(e){null===this._head?(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)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&co(n.trackById,e))return n;return null}},{key:"remove",value:function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}]),e}(),_c=function(){function e(){_classCallCheck(this,e),this.map=new Map}return _createClass(e,[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new Cc,this.map.set(t,n)),n.add(e)}},{key:"get",value:function(e,t){var n=this.map.get(e);return n?n.get(e,t):null}},{key:"remove",value:function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}},{key:"clear",value:function(){this.map.clear()}},{key:"isEmpty",get:function(){return 0===this.map.size}}]),e}();function wc(e,t,n){var i=e.previousIndex;if(null===i)return i;var r=0;return n&&i<n.length&&(r=n[i]),i+t+r}var kc=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return e instanceof Map||fo(e)}},{key:"create",value:function(){return new xc}}]),e}(),xc=function(){function e(){_classCallCheck(this,e),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}
1return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachChangedItem",value:function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"diff",value:function(e){if(e){if(!(e instanceof Map||fo(e)))throw new Error("Error trying to diff '".concat(E(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(function(e,i){if(n&&n.key===i)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var r=t._getOrCreateRecordForKey(i,e);n=t._insertBeforeOrAppend(n,r)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}},{key:"_getOrCreateRecordForKey",value:function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}var a=new Oc(e);return this._records.set(e,a),a.currentValue=t,this._addToAdditions(a),a}},{key:"_reset",value:function(){if(this.isDirty){var e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(e,t){co(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((function(n){return t(e[n],n)}))}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}]),e}(),Oc=function e(t){_classCallCheck(this,e),this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},Sc=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value:function(e){var t,n=this.factories.find((function(t){return t.supports(e)}));if(null!=n)return n;throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'"))}}],[{key:"create",value:function(t,n){if(null!=n){var i=n.factories.slice();t=t.concat(i)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new p,new h]]}}}]),e}();return e.\u0275prov=b({token:e,providedIn:"root",factory:function(){return new e([new vc])}}),e}(),Pc=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value:function(e){var t=this.factories.find((function(t){return t.supports(e)}));if(t)return t;throw new Error("Cannot find a differ supporting object '".concat(e,"'"))}}],[{key:"create",value:function(t,n){if(n){var i=n.factories.slice();t=t.concat(i)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new p,new h]]}}}]),e}();return e.\u0275prov=b({token:e,providedIn:"root",factory:function(){return new e([new kc])}}),e}(),Ec=[new kc],Mc=new Sc([new vc]),Ic=new Pc(Ec),Dc=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return jc(e,sc)},e}(),jc=function(e,t){return Sa(e,t,dt(),ct())},Ac=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return Tc(e,sc)},e}(),Tc=function(e,t){return Pa(e,t,dt(),ct())};function zc(e,t,n,i){var r="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '".concat(t,"'. Current value: '").concat(n,"'.");return i&&(r+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return Lc(n,t),n}(r,e)}function Lc(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Nc(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function Rc(e,t,n){var i=e.state,r=1792&i;return r===t?(e.state=-1793&i|n,e.initIndex=-1,!0):r===n}function Fc(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}
1function Vc(e,t){return e.nodes[t]}function Uc(e,t){return e.nodes[t]}function Hc(e,t){return e.nodes[t]}function Bc(e,t){return e.nodes[t]}function qc(e,t){return e.nodes[t]}var $c={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Wc=function(){},Gc=new Map;function Xc(e){var t=Gc.get(e);return t||(t=E(e)+"_"+Gc.size,Gc.set(e,t)),t}function Zc(e,t,n,i){if(uo.isWrapped(i)){i=uo.unwrap(i);var r=e.def.nodes[t].bindingIndex+n,a=uo.unwrap(e.oldValues[r]);e.oldValues[r]=new uo(a)}return i}function Yc(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var Qc=0;function Kc(e,t,n,i){return!(!(2&e.state)&&co(e.oldValues[t.bindingIndex+n],i))}function Jc(e,t,n,i){return!!Kc(e,t,n,i)&&(e.oldValues[t.bindingIndex+n]=i,!0)}function el(e,t,n,i){var r=e.oldValues[t.bindingIndex+n];if(1&e.state||!lo(r,i)){var a=t.bindings[n].name;throw zc($c.createDebugContext(e,t.nodeIndex),"".concat(a,": ").concat(r),"".concat(a,": ").concat(i),0!=(1&e.state))}}function tl(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function nl(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function il(e,t,n,i){try{return tl(33554432&e.def.nodes[t].flags?Uc(e,t).componentView:e),$c.handleEvent(e,t,n,i)}catch(r){e.root.errorHandler.handleError(r)}}function rl(e){return e.parent?Uc(e.parent,e.parentNodeDef.nodeIndex):null}function al(e){return e.parent?e.parentNodeDef.parent:null}function ol(e,t){switch(201347067&t.flags){case 1:return Uc(e,t.nodeIndex).renderElement;case 2:return Vc(e,t.nodeIndex).renderText}}function sl(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function cl(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function ll(e){return 1<<e%32}function ul(e){var t={},n=0,i={};return e&&e.forEach((function(e){var r=_slicedToArray2(e,2),a=r[0],o=r[1];"number"==typeof a?(t[a]=o,n|=ll(a)):i[a]=o})),{matchedQueries:t,references:i,matchedQueryIds:n}}function dl(e,t){return e.map((function(e){var n,i,r;return Array.isArray(e)?(r=(n=_slicedToArray2(e,2))[0],i=n[1]):(r=0,i=e),i&&("function"==typeof i||"object"==typeof i)&&t&&Object.defineProperty(i,"__source",{value:t,configurable:!0}),{flags:r,token:i,tokenKey:Xc(i)}}))}function hl(e,t,n){var i=n.renderParent;return i?0==(1&i.flags)||0==(33554432&i.flags)||i.element.componentRendererType&&i.element.componentRendererType.encapsulation===me.Native?Uc(e,n.renderParent.nodeIndex).renderElement:void 0:t}var fl=new WeakMap;function pl(e){var t=fl.get(e);return t||((t=e((function(){return Wc}))).factory=e,fl.set(e,t)),t}function gl(e,t,n,i,r){3===t&&(n=e.renderer.parentNode(ol(e,e.def.lastRenderRootNode))),vl(e,t,0,e.def.nodes.length-1,n,i,r)}function vl(e,t,n,i,r,a,o){for(var s=n;s<=i;s++){var c=e.def.nodes[s];11&c.flags&&bl(e,c,t,r,a,o),s+=c.childCount}}function ml(e,t,n,i,r,a){for(var o=e;o&&!sl(o);)o=o.parent;for(var s=o.parent,c=al(o),l=c.nodeIndex+c.childCount,u=c.nodeIndex+1;u<=l;u++){var d=s.def.nodes[u];d.ngContentIndex===t&&bl(s,d,n,i,r,a),u+=d.childCount}if(!s.parent){var h=e.root.projectableNodes[t];if(h)for(var f=0;f<h.length;f++)yl(e,h[f],n,i,r,a)}}function bl(e,t,n,i,r,a){if(8&t.flags)ml(e,t.ngContent.index,n,i,r,a);else{var o=ol(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&yl(e,o,n,i,r,a),32&t.bindingFlags&&yl(Uc(e,t.nodeIndex).componentView,o,n,i,r,a)):yl(e,o,n,i,r,a),16777216&t.flags)for(var s=Uc(e,t.nodeIndex).viewContainer._embeddedViews,c=0;c<s.length;c++)gl(s[c],n,i,r,a);1&t.flags&&!t.element.name&&vl(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,i,r,a)}}function yl(e,t,n,i,r,a){var o=e.renderer;switch(n){case 1:o.appendChild(i,t);break;case 2:o.insertBefore(i,t,r);break;case 3:o.removeChild(i,t);break;case 0:a.push(t)}}var Cl=/^:([^:]+):(.+)$/;function _l(e){if(":"===e[0]){var t=e.match(Cl);return[t[1],t[2]]}return["",e]}function wl(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function kl(e,t){for(var n="",i=0;i<2*e;i+=2)n=n+t[i]+Ol(t[i+1]);return n+t[2*e]}function xl(e,t,n,i,r,a,o,s,c,l,u,d,h,f,p,g,v,m,b,y){switch(e){case 1:return t+Ol(n)+i;case 2:return t+Ol(n)+i+Ol(r)+a;case 3:return t+Ol(n)+i+Ol(r)+a+Ol(o)+s;case 4:return t+Ol(n)+i+Ol(r)+a+Ol(o)+s+Ol(c)+l;case 5:return t+Ol(n)+i+Ol(r)+a+Ol(o)+s+Ol(c)+l+Ol(u)+d;case 6:return t+Ol(n)+i+Ol(r)+a+Ol(o)+s+Ol(c)+l+Ol(u)+d+Ol(h)+f;
1case 7:return t+Ol(n)+i+Ol(r)+a+Ol(o)+s+Ol(c)+l+Ol(u)+d+Ol(h)+f+Ol(p)+g;case 8:return t+Ol(n)+i+Ol(r)+a+Ol(o)+s+Ol(c)+l+Ol(u)+d+Ol(h)+f+Ol(p)+g+Ol(v)+m;case 9:return t+Ol(n)+i+Ol(r)+a+Ol(o)+s+Ol(c)+l+Ol(u)+d+Ol(h)+f+Ol(p)+g+Ol(v)+m+Ol(b)+y;default:throw new Error("Does not support more than 9 expressions")}}function Ol(e){return null!=e?e.toString():""}var Sl=[],Pl={},El={},Ml=Xc(eo),Il=Xc(X),Dl=Xc(oe);function jl(e,t,n,i){return n=j(n),{index:-1,deps:dl(i,E(t)),flags:e,token:t,value:n}}function Al(e){for(var t={},n=[],i=null,r=0;r<e.length;r++){var a=e[r];a.token===Va&&(i=a.value),1073741824&a.flags&&n.push(a.token),a.index=r,t[Xc(a.token)]=a}return{factory:null,providersByKey:t,providers:e,modules:n,scope:i}}function Tl(e,t){var n,i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eo.THROW_IF_NOT_FOUND,a=J(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(r=null),1&t.flags)return e._parent.get(t.token,r);var o=t.tokenKey;switch(o){case Ml:case Il:case Dl:return e}var s,c=e._def.providersByKey[o];if(c){var l=e._providers[c.index];return void 0===l&&(l=e._providers[c.index]=zl(e,c)),l===El?void 0:l}if((s=C(t.token))&&(n=e,null!=(i=s.providedIn)&&("any"===i||i===n._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(n,i)))){var u=e._providers.length;return e._def.providers[u]=e._def.providersByKey[t.tokenKey]={flags:5120,value:s.factory,deps:[],index:u,token:t.token},e._providers[u]=El,e._providers[u]=zl(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?r:e._parent.get(t.token,r)}finally{J(a)}}function zl(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var i=n.length;switch(i){case 0:return new t;case 1:return new t(Tl(e,n[0]));case 2:return new t(Tl(e,n[0]),Tl(e,n[1]));case 3:return new t(Tl(e,n[0]),Tl(e,n[1]),Tl(e,n[2]));default:for(var r=[],a=0;a<i;a++)r[a]=Tl(e,n[a]);return _construct(t,r)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var i=n.length;switch(i){case 0:return t();case 1:return t(Tl(e,n[0]));case 2:return t(Tl(e,n[0]),Tl(e,n[1]));case 3:return t(Tl(e,n[0]),Tl(e,n[1]),Tl(e,n[2]));default:for(var r=[],a=0;a<i;a++)r[a]=Tl(e,n[a]);return t.apply(void 0,r)}}(e,t.value,t.deps);break;case 2048:n=Tl(e,t.deps[0]);break;case 256:n=t.value}return n===El||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?El:n}function Ll(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var i=n[t];return i.viewContainerParent=null,de(n,t),$c.dirtyParentQueries(i),Rl(i),i}function Nl(e,t,n){var i=t?ol(t,t.def.lastRenderRootNode):e.renderElement,r=n.renderer.parentNode(i),a=n.renderer.nextSibling(i);gl(n,2,r,a,void 0)}function Rl(e){gl(e,3,null,null,void 0)}var Fl={};function Vl(e,t,n,i,r,a){return new Ul(e,t,n,i,r,a)}var Ul=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s){var c;return _classCallCheck(this,n),(c=t.call(this)).selector=e,c.componentType=i,c._inputs=a,c._outputs=o,c.ngContentSelectors=s,c.viewDefFactory=r,c}return _createClass(n,[{key:"create",value:function(e,t,n,i){if(!i)throw new Error("ngModule should be provided");var r=pl(this.viewDefFactory),a=r.nodes[0].element.componentProvider.nodeIndex,o=$c.createRootView(e,t||[],n,r,i,Fl),s=Hc(o,a).instance;return n&&o.renderer.setAttribute(Uc(o,0).renderElement,"ng-version",gc.full),new Hl(o,new Wl(o),s)}},{key:"inputs",get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e}},{key:"outputs",get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}}]),n}(ec),Hl=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this))._view=e,a._viewRef=i,a._component=r,a._elDef=a._view.def.nodes[0],a.hostView=i,a.changeDetectorRef=i,a.instance=r,a}return _createClass(n,[{key:"destroy",value:function(){this._viewRef.destroy()}},{key:"onDestroy",value:function(e){this._viewRef.onDestroy(e)}},{key:"location",get:function(){return new sc(Uc(this._view,this._elDef.nodeIndex).renderElement)}},{key:"injector",get:function(){return new Yl(this._view,this._elDef)}},{key:"componentType",get:function(){return this._component.constructor}}]),n}(Js);function Bl(e,t,n){return new ql(e,t,n)}var ql=function(){function e(t,n,i){_classCallCheck(this,e),this._view=t,this._elDef=n,this._data=i,this._embeddedViews=[]}return _createClass(e,[{key:"clear",value:function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Ll(this._data,e);$c.destroyView(t)}}},{key:"get",value:function(e){var t=this._embeddedViews[e];if(t){var n=new Wl(t);return n.attachToViewContainerRef(this),n}return null}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var a=n||this.parentInjector;r||e instanceof oc||(r=a.get(oe));var o=e.create(a,i,void 0,r);return this.insert(o.hostView,t),o}},{key:"insert",value:function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,i,r,a,o,s=e;return n=this._view,i=this._data,r=t,a=s._view,o=i.viewContainer._embeddedViews,null==r&&(r=o.length),a.viewContainerParent=n,ue(o,r,a),function(e,t){var n=rl(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(t),function(e,t){if(!(4&t.flags)){e.nodeFlags|=4,t.flags|=4;for(var n=t.parent;n;)n.childFlags|=4,n=n.parent}}(t.parent.def,t.parentNodeDef)}}(i,a),$c.dirtyParentQueries(a),Nl(i,r>0?o[r-1]:null,a),s.attachToViewContainerRef(this),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,i,r,a,o,s=this._embeddedViews.indexOf(e._view);return n=this._data,i=s,r=t,a=n.viewContainer._embeddedViews,o=a[i],de(a,i),null==r&&(r=a.length),ue(a,r,o),$c.dirtyParentQueries(o),Rl(o),Nl(n,r>0?a[r-1]:null,o),e}},{key:"indexOf",value:function(e){return this._embeddedViews.indexOf(e._view)}},{key:"remove",value:function(e){var t=Ll(this._data,e);t&&$c.destroyView(t)}},{key:"detach",value:function(e){var t=Ll(this._data,e);return t?new Wl(t):null}},{key:"element",get:function(){return new sc(this._data.renderElement)}},{key:"injector",get:function(){return new Yl(this._view,this._elDef)}},{key:"parentInjector",get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=al(e),e=e.parent;return e?new Yl(e,t):new Yl(this._view,null)}},{key:"length",get:function(){return this._embeddedViews.length}}]),e}();function $l(e){return new Wl(e)}var Wl=function(){function e(t){_classCallCheck(this,e),this._view=t,this._viewContainerRef
1=null,this._appRef=null}return _createClass(e,[{key:"markForCheck",value:function(){tl(this._view)}},{key:"detach",value:function(){this._view.state&=-5}},{key:"detectChanges",value:function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{$c.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}},{key:"checkNoChanges",value:function(){$c.checkNoChangesView(this._view)}},{key:"reattach",value:function(){this._view.state|=4}},{key:"onDestroy",value:function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}},{key:"destroy",value:function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),$c.destroyView(this._view)}},{key:"detachFromAppRef",value:function(){this._appRef=null,Rl(this._view),$c.dirtyParentQueries(this._view)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"rootNodes",get:function(){return gl(this._view,0,void 0,void 0,e=[]),e;var e}},{key:"context",get:function(){return this._view.context}},{key:"destroyed",get:function(){return 0!=(128&this._view.state)}}]),e}();function Gl(e,t){return new Xl(e,t)}var Xl=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this))._parentView=e,r._def=i,r}return _createClass(n,[{key:"createEmbeddedView",value:function(e){return new Wl($c.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}},{key:"elementRef",get:function(){return new sc(Uc(this._parentView,this._def.nodeIndex).renderElement)}}]),n}(Dc);function Zl(e,t){return new Yl(e,t)}var Yl=function(){function e(t,n){_classCallCheck(this,e),this.view=t,this.elDef=n}return _createClass(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eo.THROW_IF_NOT_FOUND;return $c.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Xc(e)},t)}}]),e}();function Ql(e,t){var n=e.def.nodes[t];if(1&n.flags){var i=Uc(e,n.nodeIndex);return n.element.template?i.template:i.renderElement}if(2&n.flags)return Vc(e,n.nodeIndex).renderText;if(20240&n.flags)return Hc(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Kl(e,t,n,i){return new Jl(e,t,n,i)}var Jl=function(){function e(t,n,i,r){_classCallCheck(this,e),this._moduleType=t,this._parent=n,this._bootstrapComponents=i,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=he(t.providers.length),i=0;i<t.providers.length;i++){var r=t.providers[i];4096&r.flags||void 0===n[i]&&(n[i]=zl(e,r))}}(this)}return _createClass(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eo.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.Default,i=0;return n&g.SkipSelf?i|=1:n&g.Self&&(i|=4),Tl(this,{token:e,tokenKey:Xc(e),flags:i},t)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The ng module ".concat(E(this.instance.constructor)," has already been destroyed."));this._destroyed=!0,function(e,t){for(var n=e._def,i=new Set,r=0;r<n.providers.length;r++)if(131072&n.providers[r].flags){var a=e._providers[r];if(a&&a!==El){var o=a.ngOnDestroy;"function"!=typeof o||i.has(a)||(o.apply(a),i.add(a))}}}(this),this._destroyListeners.forEach((function(e){return e()}))}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"instance",get:function(){return this.get(this._moduleType)}},{key:"componentFactoryResolver",get:function(){return this.get(rc)}}]),e}(),eu=Xc(dc),tu=Xc(sc),nu=Xc(Ac),iu=Xc(Dc),ru=Xc(Ma),au=Xc(eo),ou=Xc(X);function su(e,t,n,i,r,a,o,s){var c=[];if(o)for(var l in o){var u=_slicedToArray2(o[l],2),d=u[0],h=u[1];c[d]={flags:8,name:l,nonMinifiedName:h,ns:null,securityContext:null,suffix:null}}var f=[];if(s)for(var p in s)f.push({type:1,propName:p,target:null,eventName:s[p]});return uu(e,t|=16384,n,i,r,r,a,c,f)}function cu(e,t,n){return uu(-1,e|=16,null,0,t,t,n)}function lu(e,t,n,i,r){return uu(-1,e,t,0,n,i,r)}function uu(e,t,n,i,r,a,o,s,c){var l=ul(n),u=l.matchedQueries,d=l.references,h=l.matchedQueryIds;c||(c=[]),s||(s=[]),a=j(a);var f=dl(o,E(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,
1checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:h,references:d,ngContentIndex:-1,childCount:i,bindings:s,bindingFlags:wl(s),outputs:c,element:null,provider:{token:r,value:a,deps:f},text:null,query:null,ngContent:null}}function du(e,t){return gu(e,t)}function hu(e,t){for(var n=e;n.parent&&!sl(n);)n=n.parent;return vu(n.parent,al(n),!0,t.provider.value,t.provider.deps)}function fu(e,t){var n=vu(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var i=0;i<t.outputs.length;i++){var r=t.outputs[i],a=n[r.propName];if(!Lo(a))throw new Error("@Output ".concat(r.propName," not initialized in '").concat(n.constructor.name,"'."));var o=a.subscribe(pu(e,t.parent.nodeIndex,r.eventName));e.disposables[t.outputIndex+i]=o.unsubscribe.bind(o)}return n}function pu(e,t,n){return function(i){return il(e,t,n,i)}}function gu(e,t){var n=(8192&t.flags)>0,i=t.provider;switch(201347067&t.flags){case 512:return vu(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,r){var a=r.length;switch(a){case 0:return i();case 1:return i(bu(e,t,n,r[0]));case 2:return i(bu(e,t,n,r[0]),bu(e,t,n,r[1]));case 3:return i(bu(e,t,n,r[0]),bu(e,t,n,r[1]),bu(e,t,n,r[2]));default:for(var o=[],s=0;s<a;s++)o.push(bu(e,t,n,r[s]));return i.apply(void 0,o)}}(e,t.parent,n,i.value,i.deps);case 2048:return bu(e,t.parent,n,i.deps[0]);case 256:return i.value}}function vu(e,t,n,i,r){var a=r.length;switch(a){case 0:return new i;case 1:return new i(bu(e,t,n,r[0]));case 2:return new i(bu(e,t,n,r[0]),bu(e,t,n,r[1]));case 3:return new i(bu(e,t,n,r[0]),bu(e,t,n,r[1]),bu(e,t,n,r[2]));default:for(var o=[],s=0;s<a;s++)o.push(bu(e,t,n,r[s]));return _construct(i,o)}}var mu={};function bu(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:eo.THROW_IF_NOT_FOUND;if(8&i.flags)return i.token;var a=e;2&i.flags&&(r=null);var o=i.tokenKey;o===ru&&(n=!(!t||!t.element.componentView)),t&&1&i.flags&&(n=!1,t=t.parent);for(var s=e;s;){if(t)switch(o){case eu:return yu(s,t,n).renderer;case tu:return new sc(Uc(s,t.nodeIndex).renderElement);case nu:return Uc(s,t.nodeIndex).viewContainer;case iu:if(t.element.template)return Uc(s,t.nodeIndex).template;break;case ru:return $l(yu(s,t,n));case au:case ou:return Zl(s,t);default:var c=(n?t.element.allProviders:t.element.publicProviders)[o];if(c){var l=Hc(s,c.nodeIndex);return l||(l={instance:gu(s,c)},s.nodes[c.nodeIndex]=l),l.instance}}n=sl(s),t=al(s),s=s.parent,4&i.flags&&(s=null)}var u=a.root.injector.get(i.token,mu);return u!==mu||r===mu?u:a.root.ngModule.injector.get(i.token,r)}function yu(e,t,n){var i;if(n)i=Uc(e,t.nodeIndex).componentView;else for(i=e;i.parent&&!sl(i);)i=i.parent;return i}function Cu(e,t,n,i,r,a){if(32768&n.flags){var o=Uc(e,n.parent.nodeIndex).componentView;2&o.def.flags&&(o.state|=8)}if(t.instance[n.bindings[i].name]=r,524288&n.flags){a=a||{};var s=uo.unwrap(e.oldValues[n.bindingIndex+i]);a[n.bindings[i].nonMinifiedName]=new Us(s,r,0!=(2&e.state))}return e.oldValues[n.bindingIndex+i]=r,a}function _u(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,i=0,r=0;r<n.length;r++){var a=n[r],o=a.parent;for(!o&&a.flags&t&&ku(e,r,a.flags&t,i++),0==(a.childFlags&t)&&(r+=a.childCount);o&&1&o.flags&&r===o.nodeIndex+o.childCount;)o.directChildFlags&t&&(i=wu(e,o,t,i)),o=o.parent}}function wu(e,t,n,i){for(var r=t.nodeIndex+1;r<=t.nodeIndex+t.childCount;r++){var a=e.def.nodes[r];a.flags&n&&ku(e,r,a.flags&n,i++),r+=a.childCount}return i}function ku(e,t,n,i){var r=Hc(e,t);if(r){var a=r.instance;a&&($c.setCurrentNode(e,t),1048576&n&&Fc(e,512,i)&&a.ngAfterContentInit(),2097152&n&&a.ngAfterContentChecked(),4194304&n&&Fc(e,768,i)&&a.ngAfterViewInit(),8388608&n&&a.ngAfterViewChecked(),131072&n&&a.ngOnDestroy())}}var xu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).ngModule=e,i}return _createClass(n,[{key:"resolveComponentFactory",value:function(e){var t=De(e);return new Pu(t,this.ngModule)}}]),n}(rc);function Ou(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var Su=new G("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return tn}}),Pu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).componentDef=e,r.ngModule=i,r.componentType=e.type,r.selector=e.selectors.map(qi).join(","),r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!i,r}return _createClass(n,[{key:"create",value:function(e,t,n,i){var r,a,o=(i=i||this.ngModule)?function(e,t){return{get:function(n,i,r){var a=e.get(n,mu,r);return a!==mu||i===mu?a:t.get(n,i,r)}}}(e,i.injector):e,s=o.get(lc,$e),c=o.get(fc,null),l=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=n?function(e,t,n){if(qe(e))return e.selectRootElement(t,n===me.ShadowDom);var i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(l,n,this.componentDef.encapsulation):sr(u,s.createRenderer(null,this.componentDef),function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(u)),h=this.componentDef.onPush?576:528,f="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),p={components:[],scheduler:tn,clean:Br,playerHandler:null,flags:0},g=br(0,-1,null,1,0,null,null,null,null,null),v=cr(null,g,p,h,null,null,s,l,c,o);St(v,null);try{var m=function(e,t,n,i,r,a){var o=n[1];n[20]=e;var s=lr(o,null,0,3,null,null),c=s.mergedAttrs=t.hostAttrs;null!==c&&(ao(s,c,!0),null!==e&&(qt(r,e,c),null!==s.classes&&ya(r,e,s.classes),null!==s.styles&&ba(r,e,s.styles)));var l=i.createRenderer(e,t),u=cr(n,mr(t),null,t.onPush?64:16,n[20],s,i,l,void 0);return o.firstCreatePass&&(fn(ln(s,n),o,t.type),Pr(o,s),Mr(s,n.length,1)),Rr(n,u),n[20]=u}(d,this.componentDef,v,s,l);
1if(d)if(n)qt(l,d,["ng-version",gc.full]);else{var b=function(e){for(var t=[],n=[],i=1,r=2;i<e.length;){var a=e[i];if("string"==typeof a)2===r?""!==a&&t.push(a,e[++i]):8===r&&n.push(a);else{if(!Fi(r))break;r=a}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),y=b.attrs,C=b.classes;y&&qt(l,d,y),C&&C.length>0&&ya(l,d,C.join(" "))}if(a=Ye(g,0),void 0!==t)for(var _=a.projection=[],w=0;w<this.ngContentSelectors.length;w++){var k=t[w];_.push(null!=k?Array.from(k):null)}r=function(e,t,n,i,r){var a=n[1],o=function(e,t,n){var i=dt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Sr(e,i,1),Ir(e,t,n));var r=bn(t,e,t.length-1,i);Mi(r,t);var a=Xe(i,t);return a&&Mi(a,t),r}(a,n,t);i.components.push(o),e[8]=o,r&&r.forEach((function(e){return e(o,t)})),t.contentQueries&&t.contentQueries(1,o,n.length-1);var s=dt();if(a.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){At(s.index-20);var c=n[1];kr(c,t),xr(c,n,t.hostVars),Or(t,o)}return o}(m,this.componentDef,v,p,[zs]),ur(g,v,null)}finally{Dt()}var x=new Eu(this.componentType,r,Oa(sc,a,v),v,a);return n&&!f||(g.node.child=a),x}},{key:"inputs",get:function(){return Ou(this.componentDef.inputs)}},{key:"outputs",get:function(){return Ou(this.componentDef.outputs)}}]),n}(ec),Eu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s,c,l,u;return _classCallCheck(this,n),(s=t.call(this)).location=r,s._rootLView=a,s._tNode=o,s.destroyCbs=[],s.instance=i,s.hostView=s.changeDetectorRef=new xa(a),c=a[1],l=a,null==(u=c.node)&&(c.node=u=yr(0,null,2,-1,null,null)),l[6]=u,s.componentType=e,s}return _createClass(n,[{key:"destroy",value:function(){this.destroyCbs&&(this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}},{key:"onDestroy",value:function(e){this.destroyCbs&&this.destroyCbs.push(e)}},{key:"injector",get:function(){return new _n(this._tNode,this._rootLView)}}]),n}(Js),Mu=void 0,Iu=["en",[["a","p"],["AM","PM"],Mu],[["AM","PM"],Mu,Mu],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Mu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Mu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Mu,"{1} 'at' {0}",Mu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Du={};function ju(e,t,n){"string"!=typeof t&&(n=t,t=e[Nu.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Du[t]=e,n&&(Du[t][Nu.ExtraData]=n)}function Au(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=Lu(t);if(n)return n;var i=t.split("-")[0];if(n=Lu(i))return n;if("en"===i)return Iu;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function Tu(e){return Au(e)[Nu.CurrencyCode]||null}function zu(e){return Au(e)[Nu.PluralCase]}function Lu(e){return e in Du||(Du[e]=F.ng&&F.ng.common&&F.ng.common.locales&&F.ng.common.locales[e]),Du[e]}var Nu=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.Directionality]="Directionality",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),Ru=["zero","one","two","few","many"],Fu=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Vu=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Uu=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,Hu=/\ufffd(\d+):?\d*\ufffd/gi,Bu=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi;function qu(e){if(!e)return[];var t,n=0,i=[],r=[],a=/[{}]/g;for(a.lastIndex=0;t=a.exec(e);){var o=t.index;if("}"==t[0]){if(i.pop(),0==i.length){var s=e.substring(n,o);
1Fu.test(s)?r.push($u(s)):r.push(s),n=o+1}}else{if(0==i.length){var c=e.substring(n,o);r.push(c),n=o+1}i.push("{")}}var l=e.substring(n);return r.push(l),r}function $u(e){for(var t=[],n=[],i=1,r=0,a=qu(e=e.replace(Fu,(function(e,t,n){return i="select"===n?0:1,r=parseInt(t.substr(1),10),""}))),o=0;o<a.length;){var s=a[o++].trim();1===i&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&t.push(s);var c=qu(a[o++]);t.length>n.length&&n.push(c)}return{type:i,mainBinding:r,cases:t,values:n}}function Wu(e){for(var t,n,i="",r=0,a=!1;null!==(t=Vu.exec(e));)a?t[0]==="\ufffd/*".concat(n,"\ufffd")&&(r=t.index,a=!1):(i+=e.substring(r,t.index+t[0].length),n=t[1],a=!0);return i+=e.substr(r)}function Gu(e,t,n){for(var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=[null,null],a=e.split(Hu),o=0,s=0;s<a.length;s++){var c=a[s];if(1&s){var l=parseInt(c,10);r.push(-1-l),o|=Qu(l)}else""!==c&&r.push(c)}return r.push(t<<2|(n?1:0)),n&&r.push(n,i),r[0]=o,r[1]=r.length-2,r}function Xu(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;n|=Qu(e.mainBinding);for(var i=0;i<e.values.length;i++)for(var r=e.values[i],a=0;a<r.length;a++){var o=r[a];if("string"==typeof o)for(;t=Hu.exec(o);)n|=Qu(parseInt(t[1],10));else n=Xu(o,n)}return n}var Zu=[],Yu=-1;function Qu(e){return 1<<Math.min(e,31)}var Ku,Ju=[];function ed(e){return e+Ku++}function td(e,t,n,i,r){var a=t.next;i||(i=n),i===n&&t!==n.child?(t.next=n.child,n.child=t):i!==n&&t!==i.next?(t.next=i.next,i.next=t):t.next=null,n!==r[6]&&(t.parent=n);for(var o=t.next;o;)o.next===t&&(o.next=a),o=o.next;if(1===t.type)return va(e,r,t),t;da(e,r,Xe(t,r),t);var s=r[t.index];return 0!==t.type&&ze(s)&&da(e,r,s[7],t),t}function nd(e){return void 0===e}function id(e,t,n,i,r,a){var o=dt();t[n+20]=r;var s=lr(e,t[6],n,i,a,null);return o&&o.next===s&&(o.next=null),s}function rd(e,t,n,i){for(var r=i[11],a=null,o=null,s=[],c=0;c<t.length;c++){var l=t[c];if("string"==typeof l){var u=Kr(l,r),d=t[++c];o=a,a=id(n,i,d,3,u,null),s.push(d),pt()}else if("number"==typeof l)switch(7&l){case 1:var h=l>>>17;o=td(n,a,h===e?i[6]:Ye(n,h),o,i);break;case 0:var f=l>=0,p=(f?l:~l)>>>3;s.push(p),o=a,(a=Ye(n,p))&&ht(a,f);break;case 5:o=a=Ye(n,l>>>3),ht(a,!1);break;case 4:var g=t[++c],v=t[++c];jr(Ye(n,l>>>3),i,g,v,null,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(l,'"'))}else switch(l){case Ji:var m=t[++c],b=t[++c],y=r.createComment(m);o=a,a=id(n,i,b,5,y,null),s.push(b),Mi(y,i),a.activeCaseIndex=null,pt();break;case Ki:var C=t[++c],_=t[++c];o=a,a=id(n,i,_,3,r.createElement(C),C),s.push(_);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(l,'"'))}}return pt(),s}function ad(e,t,n,i){var r=Ye(e,n),a=Ge(n,t);a&&fa(t[11],a);var o=Qe(t,n);if(ze(o)){var s=o;0!==r.type&&fa(t[11],s[7])}i&&(r.flags|=64)}function od(e,t,n){var i;(function(e,t,n){var i=lt();Zu[++Yu]=e,qo(!0),i.firstCreatePass&&null===i.data[e+20]&&function(e,t,n,i,r){var a=t.blueprint.length-20;Ku=0;var o=dt(),s=ft()?o:o&&o.parent,c=s&&s!==e[6]?s.index-20:n,l=0;Ju[l]=c;var u=[];if(n>0&&o!==s){var d=o.index-20;ft()||(d=~d),u.push(d<<3|0)}var h,f=[],p=[];if(""===i&&nd(r))u.push(i,ed(a),c<<17|1);else for(var g=function(e,t){if(nd(t))return Wu(e);var n=e.indexOf(":".concat(t,"\ufffd"))+2+t.toString().length,i=e.search(new RegExp("\ufffd\\/\\*\\d+:".concat(t,"\ufffd")));return Wu(e.substring(n,i))}(i,r),v=(h=g,h.replace(vd," ")).split(Uu),m=0;m<v.length;m++){var b=v[m];if(1&m)if("/"===b.charAt(0)){if("#"===b.charAt(1)){var y=parseInt(b.substr(2),10);c=Ju[--l],u.push(y<<3|5)}}else{var C=parseInt(b.substr(1),10),_="#"===b.charAt(0);u.push((_?C:~C)<<3|0,c<<17|1),_&&(Ju[++l]=c=C)}else for(var w=qu(b),k=0;k<w.length;k++)if(1&k){var x=w[k];if("object"!=typeof x)throw new Error('Unable to parse ICU expression in "'.concat(g,'" message.'));var O=ed(a);u.push(Ji,"",O,c<<17|1);var S=Xu(x);fd(p,x,O,O);var P=p.length-1;f.push(Qu(x.mainBinding),3,-1-x.mainBinding,O<<2|2,P,S,2,O<<2|3,P)}else if(""!==w[k]){var E=w[k],M=E.match(Hu),I=ed(a);u.push(M?"":E,I,c<<17|1),M&&ce(Gu(E,I),f)}}Ku>0&&function(e,t,n){if(n>0&&e.firstCreatePass){for(var i=0;i<n;i++)e.blueprint.push(null),e.data.push(null),t.push(null);e.expandoInstructions?e.expandoInstructions.push(n):e.expandoStartIndex+=n}}(t,e,Ku),t.data[n+20]={vars:Ku,create:u,update:f,icus:p.length?p:null}}(ct(),i,e,t,n)})(e,t,n),i=ct(),function(e,t){for(var n=Zu[Yu--],i=e.data[n+20],r=dt(),a=rd(n,i.create,e,t),o=n+1;o<=r.index-20;){-1===a.indexOf(o)&&ad(e,t,o,!0);var s=Ye(e,o);
1!s||0!==s.type&&3!==s.type&&4!==s.type||null===s.localNames||(o+=s.localNames.length>>1),o++}}(lt(),i),qo(!1)}function sd(e,t){!function(e,t,n,i){for(var r=dt().index-20,a=[],o=0;o<i.length;o+=2)for(var s=i[o],c=i[o+1].split(Bu),l=0;l<c.length;l++){var u=c[l];if(1&l)throw new Error("ICU expressions are not yet supported in attributes");if(""!==u)if(u.match(Hu))t.firstCreatePass&&null===t.data[n+20]&&ce(Gu(u,r,s),a);else{var d=Ye(t,r);3===d.type&&jr(d,e,s,u,null,null);var h=null!==d.inputs&&d.inputs[s];h&&Gr(t,e,h,s,u)}}t.firstCreatePass&&null===t.data[n+20]&&(t.data[n+20]=a)}(ct(),lt(),e,t)}var cd=0,ld=0;function ud(e){return go(ct(),yt(),e)&&(cd|=1<<ld),ld++,ud}function dd(e){if(ld){var t,n=lt(),i=n.data[e+20],r=null;Array.isArray(i)?t=i:(t=i.update,r=i.icus);var a=bt()-ld-1,o=ct();!function e(t,n,i,r,a,o){for(var s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],c=!1,l=0;l<t.length;l++){var u=t[l],d=t[++l];if(s||u&r)for(var h="",f=l+1;f<=l+d;f++){var p=t[f];if("string"==typeof p)h+=p;else if("number"==typeof p)if(p<0)h+=Jt(o[i-p]);else{var g=p>>>2,v=void 0,m=void 0;switch(3&p){case 1:var b=t[++f],y=t[++f];_r(a,Ye(a,g),o,b,h,o[11],y,!1);break;case 0:Xr(o,g,h);break;case 2:if(v=n[t[++f]],null!==(m=Ye(a,g)).activeCaseIndex)for(var C=v.remove[m.activeCaseIndex],_=0;_<C.length;_++){var w=C[_];switch(7&w){case 3:ad(a,o,w>>>3,!1);break;case 6:var k=Ye(a,C[_+1]>>>3).activeCaseIndex;null!==k&&ce(n[w>>>3].remove[k],C)}}var x=hd(v,h);m.activeCaseIndex=-1!==x?x:null,x>-1&&(rd(-1,v.create[x],a,o),c=!0);break;case 3:v=n[t[++f]],null!==(m=Ye(a,g)).activeCaseIndex&&e(v.update[m.activeCaseIndex],n,i,r,a,o,c)}}}l+=d}}(t,r,a,cd,n,o),cd=0,ld=0}}function hd(e,t){var n,i,r,a=e.cases.indexOf(t);if(-1===a)switch(e.type){case 1:var o=(n=t,i=zu(md)(parseInt(n,10)),void 0!==(r=Ru[i])?r:"other");-1===(a=e.cases.indexOf(o))&&"other"!==o&&(a=e.cases.indexOf("other"));break;case 0:a=e.cases.indexOf("other")}return a}function fd(e,t,n,i){for(var r=[],a=[],o=[],s=[],c=[],l=0;l<t.values.length;l++){for(var u=t.values[l],d=[],h=0;h<u.length;h++){var f=u[h];if("string"!=typeof f){var p=d.push(f)-1;u[h]="\x3c!--\ufffd".concat(p,"\ufffd--\x3e")}}var g=pd(u.join(""),n,d,e,i);r.push(g.create),a.push(g.remove),o.push(g.update),s.push(g.vars),c.push(g.childIcus)}e.push({type:t.type,vars:s,childIcus:c,cases:t.cases,create:r,remove:a,update:o}),Ku+=Math.max.apply(Math,s)}function pd(e,t,n,i,r){var a=new Wn(Be()).getInertBodyElement(e);if(!a)throw new Error("Unable to generate inert body element");var o={vars:0,childIcus:[],create:[],remove:[],update:[]};return function e(t,n,i,r,a,o){if(t){for(var s=[];t;){var c=t.nextSibling,l=o+ ++n.vars;switch(t.nodeType){case Node.ELEMENT_NODE:var u=t,d=u.tagName.toLowerCase();if(ri.hasOwnProperty(d)){n.create.push(Ki,d,l,i<<17|1);for(var h=u.attributes,f=0;f<h.length;f++){var p=h.item(f),g=p.name.toLowerCase();p.value.match(Hu)?si.hasOwnProperty(g)&&ce(ai[g]?Gu(p.value,l,p.name,Zn):oi[g]?Gu(p.value,l,p.name,Yn):Gu(p.value,l,p.name),n.update):n.create.push(l<<3|4,p.name,p.value)}e(t.firstChild,n,l,r,a,o),n.remove.push(l<<3|3)}else n.vars--;break;case Node.TEXT_NODE:var v=t.textContent||"",m=v.match(Hu);n.create.push(m?"":v,l,i<<17|1),n.remove.push(l<<3|3),m&&ce(Gu(v,l),n.update);break;case Node.COMMENT_NODE:var b=gd.exec(t.textContent||"");if(b){var y=parseInt(b[1],10);n.create.push(Ji,"",l,i<<17|1),s.push([r[y],l])}else n.vars--;break;default:n.vars--}t=c}for(var C=0;C<s.length;C++){var _=s[C][0],w=s[C][1];fd(a,_,w,o+n.vars);var k=a.length-1;n.vars+=Math.max.apply(Math,_toConsumableArray2(a[k].vars)),n.childIcus.push(k);var x=Xu(_);n.update.push(Qu(_.mainBinding),3,-1-_.mainBinding,w<<2|2,k,x,2,w<<2|3,k),n.remove.push(k<<3|6,w<<3|3)}}}((pi(a)||a).firstChild,o,t,n,i,r),o}var gd=/\ufffd(\d+)\ufffd/,vd=/\uE500/g,md="en-US";function bd(e){var t;null==(t=e)&&function(e,t,n,i){throw new Error("ASSERTION ERROR: Expected localeId to be defined"+" [Expected=> null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&(md=e.toLowerCase().replace(/_/g,"-"))}var yd=new Map;function Cd(e,t){var n=yd.get(e);_d(e,n&&n.moduleType,t.moduleType),yd.set(e,t)}function _d(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(E(t)," vs ").concat(E(t.name)))}var wd=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;_classCallCheck(this,n),(r=t.call(this))._parent=i,r._bootstrapComponents=[],r.injector=_assertThisInitialized(r),r.destroyCbs=[],r.componentFactoryResolver=new xu(_assertThisInitialized(r));var a=Ae(e),o=e[q]||null;return o&&bd(o),r._bootstrapComponents=an(a.bootstrap),r._r3Injector=Wa(e,i,[{provide:oe,useValue:_assertThisInitialized(r)},{provide:rc,useValue:r.componentFactoryResolver}],E(e)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(e),r}return _createClass(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eo.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.Default;return e===eo||e===oe||e===X?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;
1!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(oe),kd=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).moduleType=e,null!==Ae(e)&&function e(t){if(null!==t.\u0275mod.id){var n=t.\u0275mod.id;_d(n,yd.get(n),t),yd.set(n,t)}var i=t.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach((function(t){return e(t)}))}(e),i}return _createClass(n,[{key:"create",value:function(e){return new wd(this.moduleType,e)}}]),n}(se);function xd(e,t,n){var i=mt()+e,r=ct();return r[i]===$i?po(r,i,n?t.call(n):t()):function(e,t){return e[t]}(r,i)}function Od(e,t,n,i){return Id(ct(),mt(),e,t,n,i)}function Sd(e,t,n,i,r){return Dd(ct(),mt(),e,t,n,i,r)}function Pd(e,t,n,i,r,a){return jd(ct(),mt(),e,t,n,i,r,a)}function Ed(e,t,n,i,r,a,o){return function(e,t,n,i,r,a,o,s,c){var l=t+n;return mo(e,l,r,a,o,s)?po(e,l+4,c?i.call(c,r,a,o,s):i(r,a,o,s)):Md(e,l+4)}(ct(),mt(),e,t,n,i,r,a,o)}function Md(e,t){var n=e[t];return n===$i?void 0:n}function Id(e,t,n,i,r,a){var o=t+n;return go(e,o,r)?po(e,o+1,a?i.call(a,r):i(r)):Md(e,o+1)}function Dd(e,t,n,i,r,a,o){var s=t+n;return vo(e,s,r,a)?po(e,s+2,o?i.call(o,r,a):i(r,a)):Md(e,s+2)}function jd(e,t,n,i,r,a,o,s){var c=t+n;return function(e,t,n,i,r){var a=vo(e,t,n,i);return go(e,t+2,r)||a}(e,c,r,a,o)?po(e,c+3,s?i.call(s,r,a,o):i(r,a,o)):Md(e,c+3)}function Ad(e,t){var n,i=lt(),r=e+20;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new Error("The pipe '".concat(e,"' could not be found!"))}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var a=n.factory||(n.factory=je(n.type)),o=ee(ko),s=sn(!1),c=a();return sn(s),ee(o),function(e,t,n,i){var r=n+20;r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=i}(i,ct(),e,c),c}function Td(e,t,n){var i=ct(),r=Qe(i,e);return Rd(i,Nd(i,e)?Id(i,mt(),t,r.transform,n,r):r.transform(n))}function zd(e,t,n,i){var r=ct(),a=Qe(r,e);return Rd(r,Nd(r,e)?Dd(r,mt(),t,a.transform,n,i,a):a.transform(n,i))}function Ld(e,t,n,i,r){var a=ct(),o=Qe(a,e);return Rd(a,Nd(a,e)?jd(a,mt(),t,o.transform,n,i,r,o):o.transform(n,i,r))}function Nd(e,t){return e[1].data[t+20].pure}function Rd(e,t){return uo.isWrapped(t)&&(t=uo.unwrap(t),e[bt()]=$i),t}var Fd=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,n),(e=t.call(this)).__isAsync=i,e}return _createClass(n,[{key:"emit",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,i){var a,o=function(e){return null},s=function(){return null};e&&"object"==typeof e?(a=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(a=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},t&&(o=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)}),i&&(s=this.__isAsync?function(){setTimeout((function(){return i()}))}:function(){i()}));var c=_get(_getPrototypeOf(n.prototype),"subscribe",this).call(this,a,o,s);return e instanceof r.a&&e.add(c),c}}]),n}(i.a);function Vd(){return this._results[so()]()}var Ud=function(){function e(){_classCallCheck(this,e),this.dirty=!0,this._results=[],this.changes=new Fd,this.length=0;var t=so(),n=e.prototype;n[t]||(n[t]=Vd)}return _createClass(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}}
1,{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var i=0;i<t.length;i++){var r=t[i];Array.isArray(r)?(n===t&&(n=t.slice(0,i)),e(r,n)):n!==t&&n.push(r)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}},{key:"notifyOnChanges",value:function(){this.changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),e}(),Hd=function(){function e(t){_classCallCheck(this,e),this.queryList=t,this.matches=null}return _createClass(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),Bd=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[],a=0;a<i;a++){var o=n.getByIndex(a);r.push(this.queries[o.indexInDeclarationView].clone())}return new e(r)}return null}},{key:"insertView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"detachView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"dirtyQueriesWithMatches",value:function(e){for(var t=0;t<this.queries.length;t++)null!==oh(e,t).matches&&this.queries[t].setDirty()}}]),e}(),qd=function e(t,n,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.predicate=t,this.descendants=n,this.isStatic=i,this.read=r},$d=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}},{key:"elementEnd",value:function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}},{key:"embeddedTView",value:function(t){for(var n=null,i=0;i<this.length;i++){var r=null!==n?n.length:0,a=this.getByIndex(i).embeddedTView(t,r);a&&(a.indexInDeclarationView=i,null!==n?n.push(a):n=[a])}return null!==n?new e(n):null}},{key:"template",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"track",value:function(e){this.queries.push(e)}},{key:"length",get:function(){return this.queries.length}}]),e}(),Wd=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,i=0;i<n.length;i++)this.matchTNodeWithReadOption(e,t,Gd(t,n[i]));else{var r=this.metadata.predicate;r===Dc?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,mn(t,e,r,!1,!1))}}},{key:"matchTNodeWithReadOption",value:function(e,t,n){if(null!==n){var i=this.metadata.read;
1if(null!==i)if(i===sc||i===Ac||i===Dc&&0===t.type)this.addMatch(t.index,-2);else{var r=mn(t,e,i,!1,!1);null!==r&&this.addMatch(t.index,r)}else this.addMatch(t.index,n)}}},{key:"addMatch",value:function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}]),e}();function Gd(e,t){var n=e.localNames;if(null!==n)for(var i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function Xd(e,t,n,i){return-1===n?function(e,t){return 3===e.type||4===e.type?Oa(sc,e,t):0===e.type?Sa(Dc,sc,e,t):null}(t,e):-2===n?function(e,t,n){return n===sc?Oa(sc,t,e):n===Dc?Sa(Dc,sc,t,e):n===Ac?Pa(Ac,sc,t,e):void 0}(e,t,i):bn(e,e[1],n,t)}function Zd(e,t,n,i){var r=t[19].queries[i];if(null===r.matches){for(var a=e.data,o=n.matches,s=[],c=0;c<o.length;c+=2){var l=o[c];s.push(l<0?null:Xd(t,a[l],o[c+1],n.metadata.read))}r.matches=s}return r.matches}function Yd(e){var t=ct(),n=lt(),i=kt();xt(i+1);var r=oh(n,i);if(e.dirty&&tt(t)===r.metadata.isStatic){if(null===r.matches)e.reset([]);else{var a=r.crossesNgTemplate?function e(t,n,i,r){var a=t.queries.getByIndex(i),o=a.matches;if(null!==o)for(var s=Zd(t,n,a,i),c=0;c<o.length;c+=2){var l=o[c];if(l>0)r.push(s[c/2]);else{for(var u=o[c+1],d=n[-l],h=10;h<d.length;h++){var f=d[h];f[17]===f[3]&&e(f[1],f,u,r)}if(null!==d[9])for(var p=d[9],g=0;g<p.length;g++){var v=p[g];e(v[1],v,u,r)}}}return r}(n,t,i,[]):Zd(n,t,r,i);e.reset(a),e.notifyOnChanges()}return!0}return!1}function Qd(e,t,n){Jd(lt(),ct(),e,t,n,!0)}function Kd(e,t,n){Jd(lt(),ct(),e,t,n,!1)}function Jd(e,t,n,i,r,a){e.firstCreatePass&&(ah(e,new qd(n,i,a,r),-1),a&&(e.staticViewQueries=!0)),rh(e,t)}function eh(e,t,n,i){nh(lt(),ct(),t,n,i,!1,dt(),e)}function th(e,t,n,i){nh(lt(),ct(),t,n,i,!0,dt(),e)}function nh(e,t,n,i,r,a,o,s){e.firstCreatePass&&(ah(e,new qd(n,i,a,r),o.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,s),a&&(e.staticContentQueries=!0)),rh(e,t)}function ih(){return e=ct(),t=kt(),e[19].queries[t].queryList;var e,t}function rh(e,t){var n=new Ud;!function(e,t,n,i){var r=qr(t);r.push(n),e.firstCreatePass&&$r(e).push(i,r.length-1)}(e,t,n,n.destroy),null===t[19]&&(t[19]=new Bd),t[19].queries.push(new Hd(n))}function ah(e,t,n){null===e.queries&&(e.queries=new $d),e.queries.track(new Wd(t,n))}function oh(e,t){return e.queries.getByIndex(t)}function sh(e,t){return Sa(Dc,sc,e,t)}function ch(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.Default,t=Ea(!0);if(null!=t||e&g.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}var lh=new G("Application Initializer"),uh=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,t){n.resolve=e,n.reject=t}))}return _createClass(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var i=0;i<this.appInits.length;i++){var r=this.appInits[i]();zo(r)&&t.push(r)}Promise.all(t).then((function(){n()})).catch((function(t){e.reject(t)})),0===t.length&&n(),this.initialized=!0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(ne(lh,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}(),dh=new G("AppId"),hh={provide:dh,useFactory:function(){return"".concat(fh()).concat(fh()).concat(fh())},deps:[]};function fh(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var ph=new G("Platform Initializer"),gh=new G("Platform ID"),vh=new G("appBootstrapListener"),mh=new G("Application Packages Root URL"),bh=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}(),yh=new G("LocaleId"),Ch=new G("DefaultCurrencyCode"),_h=new G("Translations"),wh=new G("TranslationsFormat"),kh=function(){var e={Error:0,Warning:1,Ignore:2};return e[e.Error]="Error",e[e.Warning]="Warning",e[e.Ignore]="Ignore",e}(),xh=function e(t,n){_classCallCheck(this,e),this.ngModuleFactory=t,this.componentFactories=n},Oh=function(e){return new kd(e)},Sh=Oh,Ph=function(e){return Promise.resolve(Oh(e))},Eh=function(e){var t=Oh(e),n=an(Ae(e).declarations).reduce((function(e,t){var n=De(t);return n&&e.push(new Pu(n)),e}),[]);return new xh(t,n)},Mh=Eh,Ih=function(e){return Promise.resolve(Eh(e))},Dh=function(){var e=function(){function e(){_classCallCheck(this,e),this.compileModuleSync=Sh,this.compileModuleAsync=Ph,this.compileModuleAndAllComponentsSync=Mh,this.compileModuleAndAllComponentsAsync=Ih}return _createClass(e,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}(),jh=new G("compilerOptions"),Ah=function e(){_classCallCheck(this,e)},Th=Promise.resolve(0);function zh(e){"undefined"==typeof Zone?Th.then((function(){e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Lh=function(){function e(t){var n,i,r=t.enableLongStackTrace,a=void 0!==r&&r,o=t.shouldCoalesceEventChangeDetection,s=void 0!==o&&o;if(_classCallCheck(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Fd(!1),this.onMicrotaskEmpty=new Fd(!1),this.onStable=new Fd(!1),this.onError=ne
1w Fd(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=s,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var e=F.requestAnimationFrame,t=F.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,i=!!(n=this).shouldCoalesceEventChangeDetection&&n.nativeRequestAnimationFrame&&function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(F,(function(){e.lastRequestAnimationFrameId=-1,Vh(e),Fh(e)})),Vh(e))}(n)},n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:i},onInvokeTask:function(e,t,r,a,o,s){try{return Uh(n),e.invokeTask(r,a,o,s)}finally{i&&"eventTask"===a.type&&i(),Hh(n)}},onInvoke:function(e,t,i,r,a,o,s){try{return Uh(n),e.invoke(i,r,a,o,s)}finally{Hh(n)}},onHasTask:function(e,t,i,r){e.hasTask(i,r),t===i&&("microTask"==r.change?(n._hasPendingMicrotasks=r.microTask,Vh(n),Fh(n)):"macroTask"==r.change&&(n.hasPendingMacrotasks=r.macroTask))},onHandleError:function(e,t,i,r){return e.handleError(i,r),n.runOutsideAngular((function(){return n.onError.emit(r)})),!1}})}return _createClass(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,i){var r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+i,e,Rh,Nh,Nh);try{return r.runTask(a,t,n)}finally{r.cancelTask(a)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),e}();function Nh(){}var Rh={};function Fh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular((function(){return e.onStable.emit(null)}))}finally{e.isStable=!0}}}function Vh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Uh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hh(e){e._nesting--,Fh(e)}var Bh=function(){function e(){_classCallCheck(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Fd,this.onMicrotaskEmpty=new Fd,this.onStable=new Fd,this.onError=new Fd}return _createClass(e,[{key:"run",value:function(e,t,n){return e.apply(t,n)}},{key:"runGuarded",value:function(e,t,n){return e.apply(t,n)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,t,n,i){return e.apply(t,n)}}]),e}(),qh=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run((function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return _createClass(e,[{key:"_watchAngularEvents",value:function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.subscribe({next:function(){Lh.assertNotInAngularZone(),zh((function(){e._isZoneStable=!0,e._runCallbacksIfReady()}))}})}))}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pe
1ndingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var e=this;if(this.isStable())zh((function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1}));else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)})),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}})):[]}},{key:"addCallback",value:function(e,t,n){var i=this,r=-1;t&&t>0&&(r=setTimeout((function(){i._callbacks=i._callbacks.filter((function(e){return e.timeoutId!==r})),e(i._didWork,i.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(ne(Lh))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}(),$h=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,Xh.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Xh.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}();function Wh(e){Xh=e}var Gh,Xh=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Zh=function(e,t,n){var i=e.get(jh,[]).concat(t),r=new kd(n);if(0===no.size)return Promise.resolve(r);var a,o,s=(a=i.map((function(e){return e.providers})),o=[],a.forEach((function(e){return e&&o.push.apply(o,_toConsumableArray2(e))})),o);if(0===s.length)return Promise.resolve(r);var c=function(){var e=F.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),l=eo.create({providers:s}).get(c.ResourceLoader);return function(e){var t=[],n=new Map;function i(e){var t=n.get(e);if(!t){var i=function(e){return Promise.resolve(l.get(e))}(e);n.set(e,t=i.then(ro))}return t}return no.forEach((function(e,n){var r=[];e.templateUrl&&r.push(i(e.templateUrl).then((function(t){e.template=t})));var a=e.styleUrls,o=e.styles||(e.styles=[]),s=e.styles.length;a&&a.forEach((function(t,n){o.push(""),r.push(i(t).then((function(i){o[s+n]=i,a.splice(a.indexOf(t),1),0==a.length&&(e.styleUrls=void 0)})))}));var c=Promise.all(r).then((function(){return function(e){io.delete(e)}(n)}));t.push(c)})),no=new Map,Promise.all(t).then((function(){}))}().then((function(){return r}))},Yh=new G("AllowMultipleToken"),Qh=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function Kh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: "+t,r=new G(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=Jh();if(!a||a.injector.get(Yh,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var o=n.concat(t).concat({provide:r,useValue:!0},{provide:Va,useValue:"platform"});!function(e){if(Gh&&!Gh.destroyed&&!Gh.injector.get(Yh,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Gh=e.get(ef);var t=e.get(ph,null);t&&t.forEach((function(e){return e()}))}(eo.create({providers:o,name:i}))}return function(e){var t=Jh();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different c
1onfiguration has been created. Please destroy it first.");return t}(r)}}function Jh(){return Gh&&!Gh.destroyed?Gh:null}var ef=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,i,r=this,a=(n=t?t.ngZone:void 0,i=t&&t.ngZoneEventCoalescing||!1,"noop"===n?new Bh:("zone.js"===n?void 0:n)||new Lh({enableLongStackTrace:qn(),shouldCoalesceEventChangeDetection:i})),o=[{provide:Lh,useValue:a}];return a.run((function(){var t=eo.create({providers:o,parent:r.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(Pn,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return rf(r._modules,n)})),a.runOutsideAngular((function(){return a.onError.subscribe({next:function(e){i.handleError(e)}})})),function(e,t,i){try{var a=((o=n.injector.get(uh)).runInitializers(),o.donePromise.then((function(){return bd(n.injector.get(yh,"en-US")||"en-US"),r._moduleDoBootstrap(n),n})));return zo(a)?a.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):a}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var o}(i,a)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=tf({},n);return Zh(this.injector,i,e).then((function(e){return t.bootstrapModuleFactory(e,i)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(nf);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(E(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(ne(eo))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}();function tf(e,t){return Array.isArray(t)?t.reduce(tf,e):Object.assign(Object.assign({},e),t)}var nf=function(){var e=function(){function e(t,n,i,r,c,l){var u=this;_classCallCheck(this,e),this._zone=t,this._console=n,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=c,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=qn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run((function(){u.tick()}))}});var d=new a.a((function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular((function(){e.next(u._stable),e.complete()}))})),h=new a.a((function(e){var t;u._zone.runOutsideAngular((function(){t=u._zone.onStable.subscribe((function(){Lh.assertNotInAngularZone(),zh((function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))}))}))}));var n=u._zone.onUnstable.subscribe((function(){Lh.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(o.a)(d,h.pipe(Object(s.a)()))}return _createClass(e,[{key:"bootstrap",value:function(e,t){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");
1n=e instanceof ec?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(oe),a=n.create(eo.NULL,[],t||n.selector,r);a.onDestroy((function(){i._unloadComponent(a)}));var o=a.injector.get(qh,null);return o&&a.injector.get($h).registerApplication(a.location.nativeElement,o),this._loadComponent(a),qn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=_createForOfIteratorHelper(this._views);try{for(n.s();!(t=n.n()).done;){t.value.detectChanges()}}catch(a){n.e(a)}finally{n.f()}if(this._enforceNoNewChanges){var i,r=_createForOfIteratorHelper(this._views);try{for(r.s();!(i=r.n()).done;){i.value.checkNoChanges()}}catch(a){r.e(a)}finally{r.f()}}}catch(o){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(o)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;rf(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(vh,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),rf(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(ne(Lh),ne(bh),ne(eo),ne(Pn),ne(rc),ne(uh))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}();function rf(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var af=function e(){_classCallCheck(this,e)},of=function e(){_classCallCheck(this,e)},sf={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},cf=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||sf}return _createClass(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,i=_slicedToArray2(e.split("#"),2),r=i[0],a=i[1];return void 0===a&&(a="default"),n("zn8P")(r).then((function(e){return e[a]})).then((function(e){return lf(e,r,a)})).then((function(e){return t._compiler.compileModuleAsync(e)}))}},{key:"loadFactory",value:function(e){var t=_slicedToArray2(e.split("#"),2),i=t[0],r=t[1],a="NgFactory";return void 0===r&&(r="default",a=""),n("zn8P")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then((function(e){return e[r+a]})).then((function(e){return lf(e,i,r)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(ne(Dh),ne(of,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e}();function lf(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var uf=function e(t,n){_classCallCheck(this,e),this.name=t,this.callback=n},df=function(){function e(t,n,i){_classCallCheck(this,e),this.listeners=[],this.parent=null,this._debugContext=i,this.nativeNode=t,n&&n instanceof hf&&n.addChild(this)}return _createClass(e,[{key:"injector",get:function(){return this._debugContext.injector}},{key:"componentInstance",get:function(){return this._debugContext.component}},{key:"context",get:function(){return this._debugContext.context}},{key:"references",get:function(){return this._debugContext.references}},{key:"providerTokens",get:function(){return this._debugContext.providerTokens}}]),e}(),hf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e,i,r)).properties={},a.attributes={},a.classes={},a.styles={},a.childNodes=[],a.nativeElement=e,a}return _createClass(n,[{key:"addChild",value:function(e){e&&(this.childNodes.push(e),e.parent=this)}},{key:"removeChild",value:function(e){var t=this.childNodes.indexOf(e);
1-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}},{key:"insertChildrenAfter",value:function(e,t){var n,i=this,r=this.childNodes.indexOf(e);-1!==r&&((n=this.childNodes).splice.apply(n,[r+1,0].concat(_toConsumableArray2(t))),t.forEach((function(t){t.parent&&t.parent.removeChild(t),e.parent=i})))}},{key:"insertBefore",value:function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}},{key:"query",value:function(e){return this.queryAll(e)[0]||null}},{key:"queryAll",value:function(e){var t=[];return function e(t,i,r){t.childNodes.forEach((function(t){t instanceof n&&(i(t)&&r.push(t),e(t,i,r))}))}(this,e,t),t}},{key:"queryAllNodes",value:function(e){var t=[];return function e(t,i,r){t instanceof n&&t.childNodes.forEach((function(t){i(t)&&r.push(t),t instanceof n&&e(t,i,r)}))}(this,e,t),t}},{key:"triggerEventHandler",value:function(e,t){this.listeners.forEach((function(n){n.name==e&&n.callback(t)}))}},{key:"children",get:function(){return this.childNodes.filter((function(e){return e instanceof n}))}}]),n}(df),ff=function(){function e(t){_classCallCheck(this,e),this.nativeNode=t}return _createClass(e,[{key:"parent",get:function(){var e=this.nativeNode.parentNode;return e?new pf(e):null}},{key:"injector",get:function(){return e=this.nativeNode,null===(t=js(e,!1))?eo.NULL:new _n(t.lView[1].data[t.nodeIndex],t.lView);var e,t}},{key:"componentInstance",get:function(){var e=this.nativeNode;return e&&(Ds(e)||function(e){var t=js(e,!1);if(null===t)return null;for(var n,i=t.lView;null===i[0]&&(n=Wi(i));)i=n;return 512&i[2]?null:i[8]}(e))}},{key:"context",get:function(){return Ds(this.nativeNode)||function(e){Ts(e);var t=js(e,!1);return null===t?null:t.lView[8]}(this.nativeNode)}},{key:"listeners",get:function(){return function(e){Ts(e);var t=js(e,!1);if(null===t)return[];var n=t.lView,i=n[7],r=n[1].cleanup,a=[];if(r&&i)for(var o=0;o<r.length;){var s=r[o++],c=r[o++];if("string"==typeof s){var l=s,u=We(n[c]),d=i[r[o++]],h=r[o++],f="boolean"==typeof h||h>=0?"dom":"output",p="boolean"==typeof h&&h;e==u&&a.push({element:e,name:l,callback:d,useCapture:p,type:f})}}return a.sort(As),a}(this.nativeNode).filter((function(e){return"dom"===e.type}))}},{key:"references",get:function(){return e=this.nativeNode,null===(t=js(e,!1))?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){var n=e[1].data[t];if(n&&n.localNames){for(var i={},r=n.index+1,a=0;a<n.localNames.length;a+=2)i[n.localNames[a]]=e[r],r++;return i}return null}(t.lView,t.nodeIndex)),t.localRefs||{});var e,t}},{key:"providerTokens",get:function(){return function(e){var t=js(e,!1);if(null===t)return[];for(var n,i=t.lView[1],r=i.data[t.nodeIndex],a=[],o=r.directiveEnd,s=65535&r.providerIndexes;s<o;s++){var c=i.data[s];void 0!==(n=c).type&&void 0!==n.template&&void 0!==n.declaredInputs&&(c=c.type),a.push(c)}return a}(this.nativeNode)}}]),e}(),pf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return _createClass(n,[{key:"query",value:function(e){return this.queryAll(e)[0]||null}},{key:"queryAll",value:function(e){var t=[];return vf(this,e,t,!0),t}},{key:"queryAllNodes",value:function(e){var t=[];return vf(this,e,t,!1),t}},{key:"triggerEventHandler",value:function(e,t){var n=this.nativeNode,i=[];this.listeners.forEach((function(r){if(r.name===e){var a=r.callback;a.call(n,t),i.push(a)}})),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach((function(e){if(-1!==e.toString().indexOf("__ngUnwrap__")){var r=e("__ngUnwrap__");return-1===i.indexOf(r)&&r.call(n,t)}}))}},{key:"nativeElement",get:function(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}},{key:"name",get:function(){try{var e=js(this.nativeNode);return e.lView[1].data[e.nodeIndex].tagName}catch(t){return this.nativeNode.nodeName}}},{key:"properties",get:function(){var e=js(this.nativeNode,!1);if(null==e)return{};var t=e.lView,n=t[1].data,i=n[e.nodeIndex],r={};return function(e,t){if(e)for(var n=Object.getPrototypeOf(e),i=Node.prototype;null!==n&&n!==i;){var r=Object.getOwnPropertyDescriptors(n);for(var a in r)if(!a.startsWith("__")&&!a.startsWith("on")){var o=e[a];gf(o)&&(t[a]=o)}n=Object.getPrototypeOf(n)}}(this.nativeElement,r),function(e,t,n,i){var r=t.propertyBindings;if(null!==r)for(var a=0;a<r.length;a++){var o=r[a],s=i[o].split("\ufffd"),c=s[0];if(s.length>1){for(var l=s[1],u=1;u<s.length-1;u++)l+=Jt(n[o+u-1])+s[u+1];e[c]=l}else e[c]=n[o]}}(r,i,t,n),r}},{key:"attributes",get:function(){var e={},t=this.nativeElement;if(!t)return e;var n=js(t,!1);if(null==n)return{};var i=n.lView[1].data[n.nodeIndex].attrs,r=[];if(i)for(var a=0;a<i.length;){var o=i[a];if("string"!=typeof o)break;e[o]=i[a+1],r.push(o.toLowerCase()),a+=2}for(var s=t.attributes,c=0;c<s.length;c++){var l=s[c],u=l.name.toLowerCase();-1===r.indexOf(u)&&(e[u]=l.value)}return e}},{key:"styles",get:function(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}},{key:"classes",get:function(){var e={},t=this.nativeElement.className;return(t&&"string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEac
1h((function(t){return e[t]=!0})),e}},{key:"childNodes",get:function(){for(var e=this.nativeNode.childNodes,t=[],n=0;n<e.length;n++)t.push(wf(e[n]));return t}},{key:"children",get:function(){var e=this.nativeElement;if(!e)return[];for(var t=e.children,n=[],i=0;i<t.length;i++)n.push(wf(t[i]));return n}}]),n}(ff);function gf(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function vf(e,t,n,i){var r=js(e.nativeNode,!1);null!==r?mf(r.lView[1].data[r.nodeIndex],r.lView,t,n,i,e.nativeNode):Cf(e.nativeNode,t,n,i)}function mf(e,t,n,i,r,a){var o=Ze(e,t);if(3===e.type||4===e.type){if(yf(o,n,i,r,a),Ne(e)){var s=Ke(e.index,t);s&&s[1].firstChild&&mf(s[1].firstChild,s,n,i,r,a)}else e.child&&mf(e.child,t,n,i,r,a),o&&Cf(o,n,i,r);var c=t[e.index];ze(c)&&bf(c,n,i,r,a)}else if(0===e.type){var l=t[e.index];yf(l[7],n,i,r,a),bf(l,n,i,r,a)}else if(1===e.type){var u=t[16],d=u[6].projection[e.projection];if(Array.isArray(d)){var h,f=_createForOfIteratorHelper(d);try{for(f.s();!(h=f.n()).done;){yf(h.value,n,i,r,a)}}catch(v){f.e(v)}finally{f.f()}}else if(d){var p=u[3];mf(p[1].data[d.index],p,n,i,r,a)}}else e.child&&mf(e.child,t,n,i,r,a);if(a!==o){var g=4&e.flags?e.projectionNext:e.next;g&&mf(g,t,n,i,r,a)}}function bf(e,t,n,i,r){for(var a=10;a<e.length;a++){var o=e[a];mf(o[1].node,o,t,n,i,r)}}function yf(e,t,n,i,r){if(r!==e){var a=kf(e);if(!a)return;(i&&a instanceof pf&&t(a)&&-1===n.indexOf(a)||!i&&t(a)&&-1===n.indexOf(a))&&n.push(a)}}function Cf(e,t,n,i){for(var r=e.childNodes,a=r.length,o=0;o<a;o++){var s=r[o],c=kf(s);c&&((i&&c instanceof pf&&t(c)&&-1===n.indexOf(c)||!i&&t(c)&&-1===n.indexOf(c))&&n.push(c),Cf(s,t,n,i))}}var _f=new Map;function wf(e){return e instanceof Node?(e.hasOwnProperty("__ng_debug__")||(e.__ng_debug__=e.nodeType==Node.ELEMENT_NODE?new pf(e):new ff(e)),e.__ng_debug__):null}var kf=wf,xf=function(e){return null};function Of(e){_f.set(e.nativeNode,e)}var Sf=Kh(null,"core",[{provide:gh,useValue:"unknown"},{provide:ef,deps:[eo]},{provide:$h,deps:[]},{provide:bh,deps:[]}]),Pf=[{provide:nf,useClass:nf,deps:[Lh,bh,eo,Pn,rc,uh]},{provide:Su,deps:[Lh],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:uh,useClass:uh,deps:[[new h,lh]]},{provide:Dh,useClass:Dh,deps:[]},hh,{provide:Sc,useFactory:function(){return Mc},deps:[]},{provide:Pc,useFactory:function(){return Ic},deps:[]},{provide:yh,useFactory:function(e){return bd(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new d(yh),new h,new p]]},{provide:Ch,useValue:"USD"}],Ef=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275mod=Se({type:e}),e.\u0275inj=y({factory:function(t){return new(t||e)(ne(nf))},providers:Pf}),e}();function Mf(e,t,n,i,r,a){e|=1;var o=ul(t),s=o.matchedQueries,c=o.references;return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:o.matchedQueryIds,references:c,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:a?pl(a):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||Wc},provider:null,text:null,query:null,ngContent:null}}function If(e,t,n,i,r,a){var o,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],c=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,d=arguments.length>10?arguments[10]:void 0,h=arguments.length>11?arguments[11]:void 0;u||(u=Wc);var f=ul(n),p=f.matchedQueries,g=f.references,v=f.matchedQueryIds,m=null,b=null;a&&(m=(o=_slicedToArray2(_l(a),2))[0],b=o[1]),c=c||[];for(var y=[],C=0;C<c.length;C++){var _=_slicedToArray2(c[C],3),w=_[0],k=_[1],x=_[2],O=_l(k),S=_slicedToArray2(O,2),P=S[0],E=S[1],M=void 0,I=void 0;switch(15&w){case 4:I=x;break;case 1:case 8:M=x}y[C]={flags:w,ns:P,name:E,nonMinifiedName:E,securityContext:M,suffix:I}}l=l||[];for(var D=[],j=0;j<l.length;j++){var A=_slicedToArray2(l[j],2),T=A[0],z=A[1];D[j]={type:0,target:T,eventName:z,propName:null}}var L=(s=s||[]).map((function(e){var t=_slicedToArray2(e,2),n=t[0],i=t[1],r=_slicedToArray2(_l(n),2);return[r[0],r[1],i]}));return h=function(e){if(e&&"$$undefined"===e.id){var t=null!=e.encapsulation&&e.encapsulation!==me.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Qc++:"$$empty"}return e&&"$$empty"===e.id&&(e=null),e||null}(h),d&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,
vendor: 4,343 bytes, line 1
1checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:p,matchedQueryIds:v,references:g,ngContentIndex:i,childCount:r,bindings:y,bindingFlags:wl(y),outputs:D,element:{ns:m,name:b,attrs:L,template:null,componentProvider:null,componentView:d||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:u||Wc},provider:null,text:null,query:null,ngContent:null}}function Df(e,t,n){var i,r=n.element,a=e.root.selectorOrNode,o=e.renderer;if(e.parent||!a){i=r.name?o.createElement(r.name,r.ns):o.createComment("");var s=hl(e,t,n);s&&o.appendChild(s,i)}else i=o.selectRootElement(a,!!r.componentRendererType&&r.componentRendererType.encapsulation===me.ShadowDom);if(r.attrs)for(var c=0;c<r.attrs.length;c++){var l=_slicedToArray2(r.attrs[c],3),u=l[0],d=l[1],h=l[2];o.setAttribute(i,d,h,u)}return i}function jf(e,t,n,i){for(var r=0;r<n.outputs.length;r++){var a=n.outputs[r],o=Af(e,n.nodeIndex,(d=a.eventName,(u=a.target)?"".concat(u,":").concat(d):d)),s=a.target,c=e;"component"===a.target&&(s=null,c=t);var l=c.renderer.listen(s||i,a.eventName,o);e.disposables[n.outputIndex+r]=l}var u,d}function Af(e,t,n){return function(i){return il(e,t,n,i)}}function Tf(e,t,n,i){if(!Jc(e,t,n,i))return!1;var r=t.bindings[n],a=Uc(e,t.nodeIndex),o=a.renderElement,s=r.name;switch(15&r.flags){case 1:!function(e,t,n,i,r,a){var o=t.securityContext,s=o?e.root.sanitizer.sanitize(o,a):a;s=null!=s?s.toString():null;var c=e.renderer;null!=a?c.setAttribute(n,r,s,i):c.removeAttribute(n,r,i)}(e,r,o,r.ns,s,i);break;case 2:!function(e,t,n,i){var r=e.renderer;i?r.addClass(t,n):r.removeClass(t,n)}(e,o,s,i);break;case 4:!function(e,t,n,i,r){var a=e.root.sanitizer.sanitize(gi.STYLE,r);if(null!=a){a=a.toString();var o=t.suffix;null!=o&&(a+=o)}else a=null;var s=e.renderer;null!=a?s.setStyle(n,i,a):s.removeStyle(n,i)}(e,r,o,s,i);break;case 8:!function(e,t,n,i,r){var a=t.securityContext,o=a?e.root.sanitizer.sanitize(a,r):r;e.renderer.setProperty(n,i,o)}(33554432&t.flags&&32&r.flags?a.componentView:e,r,o,s,i)}return!0}function zf(e,t,n){var i=[];for(var r in n)i.push({propName:r,bindingType:n[r]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:ll(t),bindings:i},ngContent:null}}function Lf(e){for(var t=e.def.nodeMatchedQueries;e.parent&&cl(e);){var n=e.parentNodeDef;e=e.parent;for(var i=n.nodeIndex+n.childCount,r=0;r<=i;r++){var a=e.def.nodes[r];67108864&a.flags&&536870912&a.flags&&(a.query.filterId&t)===a.query.filterId&&qc(e,r).setDirty(),!(1&a.flags&&r+a.childCount<n.nodeIndex)&&67108864&a.childFlags&&536870912&a.childFlags||(r+=a.childCount)}}if(134217728&e.def.nodeFlags)for(var o=0;o<e.def.nodes.length;o++){var s=e.def.nodes[o];134217728&s.flags&&536870912&s.flags&&qc(e,o).setDirty(),o+=s.childCount}}function Nf(e,t){var n=qc(e,t.nodeIndex);if(n.dirty){var i,r=void 0;if(67108864&t.flags){var a=t.parent.parent;r=Rf(e,a.nodeIndex,a.nodeIndex+a.childCount,t.query,[]),i=Hc(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(r=Rf(e,0,e.def.nodes.length-1,t.query,[]),i=e.component);n.reset(r);for(var o=t.query.bindings,s=!1,c=0;c<o.length;c++){var l=o[c],u=void 0;switch(l.bindingType){case 0:u=n.first;break;case 1:u=n,s=!0}i[l.propName]=u}s&&n.notifyOnChanges()}}function Rf(e,t,n,i,r){for(var a=t;a<=n;a++){var o=e.def.nodes[a],s=o.matchedQueries[i.id];if(null!=s&&r.push(Ff(e,o,s)),1&o.flags&&o.element.template&&(o.element.template.nodeMatchedQueries&i.filterId)===i.filterId){var c=Uc(e,a);if((o.childMatchedQueries&i.filterId)===i.filterId&&(Rf(e,a+1,a+o.childCount,i,r),a+=o.childCount),16777216&o.flags)for(var l=c.viewContainer._embeddedViews,u=0;u<l.length;u++){var d=l[u],h=rl(d);h&&h===c&&Rf(d,0,d.def.nodes.length-1,i,r)}var f=c.template._projectedViews;if(f)for(var p=0;p<f.length;p++){var g=f[p];Rf(g,0,g.def.nodes.length-1,i,r)}}(o.childMatchedQueries&i.filterId)!==i.filterId&&(a+=o.childCount)}return r}function Ff(e,t,n){if(null!=n)switch(n){case 1:return Uc(e,t.nodeIndex).renderElement;case 0:return new sc(Uc(e,t.nodeIndex).renderElement);case 2:return Uc(e,t.nodeIndex).template;
1case 3:return Uc(e,t.nodeIndex).viewContainer;case 4:return Hc(e,t.nodeIndex).instance}}function Vf(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function Uf(e,t,n){var i=hl(e,t,n);i&&ml(e,n.ngContent.index,1,i,null,void 0)}function Hf(e,t){return $f(128,e,he(t+1))}function Bf(e,t){return $f(32,e,he(t))}function qf(e,t){for(var n=Object.keys(t),i=n.length,r=[],a=0;a<i;a++)r.push(n[a]);return $f(64,e,r)}function $f(e,t,n){for(var i=[],r=0;r<n.length;r++){var a=n[r];i.push({flags:8,name:a,ns:null,nonMinifiedName:a,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:i,bindingFlags:wl(i),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Wf(e,t,n){for(var i=[],r=1;r<n.length;r++)i[r-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[r]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:i,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Gf(e,t,n){var i,r=e.renderer;i=r.createText(n.text.prefix);var a=hl(e,t,n);return a&&r.appendChild(a,i),{renderText:i}}function Xf(e,t){return(null!=e?e.toString():"")+t.suffix}function Zf(e,t,n,i){for(var r=0,a=0,o=0,s=0,c=0,l=null,u=null,d=!1,h=!1,f=null,p=0;p<t.length;p++){var g=t[p];if(g.nodeIndex=p,g.parent=l,g.bindingIndex=r,g.outputIndex=a,g.renderParent=u,o|=g.flags,c|=g.matchedQueryIds,g.element){var v=g.element;v.publicProviders=l?l.element.publicProviders:Object.create(null),v.allProviders=v.publicProviders,d=!1,h=!1,g.element.template&&(c|=g.element.template.nodeMatchedQueries)}if(Qf(l,g,t.length),r+=g.bindings.length,a+=g.outputs.length,!u&&3&g.flags&&(f=g),20224&g.flags){d||(d=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var m=0!=(32768&g.flags);0==(8192&g.flags)||m?l.element.publicProviders[Xc(g.provider.token)]=g:(h||(h=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Xc(g.provider.token)]=g),m&&(l.element.componentProvider=g)}if(l?(l.childFlags|=g.flags,l.directChildFlags|=g.flags,l.childMatchedQueries|=g.matchedQueryIds,g.element&&g.element.template&&(l.childMatchedQueries|=g.element.template.nodeMatchedQueries)):s|=g.flags,g.childCount>0)l=g,Yf(g)||(u=g);else for(;l&&p===l.nodeIndex+l.childCount;){var b=l.parent;b&&(b.childFlags|=l.childFlags,b.childMatchedQueries|=l.childMatchedQueries),u=(l=b)&&Yf(l)?l.renderParent:l}}return{factory:null,nodeFlags:o,rootNodeFlags:s,nodeMatchedQueries:c,flags:e,nodes:t,updateDirectives:n||Wc,updateRenderer:i||Wc,handleEvent:function(e,n,i,r){return t[n].element.handleEvent(e,i,r)},bindingCount:r,outputCount:a,lastRenderRootNode:f}}function Yf(e){return 0!=(1&e.flags)&&null===e.element.name}function Qf(e,t,n){var i=t.element&&t.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index ".concat(t.nodeIndex,"!"))}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ".concat(t.nodeIndex,"!"));if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index ".concat(t.no
vendor: 10,491 bytes, line 1
1deIndex,"!"));if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index ".concat(t.nodeIndex,"!"))}if(t.childCount){var r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error("Illegal State: childCount of node leads outside of parent, at index ".concat(t.nodeIndex,"!"))}}function Kf(e,t,n,i){var r=tp(e.root,e.renderer,e,t,n);return np(r,e.component,i),ip(r),r}function Jf(e,t,n){var i=tp(e,e.renderer,null,null,t);return np(i,n,n),ip(i),i}function ep(e,t,n,i){var r,a=t.element.componentRendererType;return r=a?e.root.rendererFactory.createRenderer(i,a):e.root.renderer,tp(e.root,r,e,t.element.componentProvider,n)}function tp(e,t,n,i,r){var a=new Array(r.nodes.length),o=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:a,state:13,root:e,renderer:t,oldValues:new Array(r.bindingCount),disposables:o,initIndex:-1}}function np(e,t,n){e.component=t,e.context=n}function ip(e){var t;sl(e)&&(t=Uc(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,i=e.nodes,r=0;r<n.nodes.length;r++){var a=n.nodes[r],o=void 0;switch($c.setCurrentNode(e,r),201347067&a.flags){case 1:var s=Df(e,t,a),c=void 0;if(33554432&a.flags){var l=pl(a.element.componentView);c=$c.createComponentView(e,a,l,s)}jf(e,c,a,s),o={renderElement:s,componentView:c,viewContainer:null,template:a.element.template?Gl(e,a):void 0},16777216&a.flags&&(o.viewContainer=Bl(e,a,o));break;case 2:o=Gf(e,t,a);break;case 512:case 1024:case 2048:case 256:(o=i[r])||4096&a.flags||(o={instance:du(e,a)});break;case 16:o={instance:hu(e,a)};break;case 16384:(o=i[r])||(o={instance:fu(e,a)}),32768&a.flags&&np(Uc(e,a.parent.nodeIndex).componentView,o.instance,o.instance);break;case 32:case 64:case 128:o={value:void 0};break;case 67108864:case 134217728:o=new Ud;break;case 8:Uf(e,t,a),o=void 0}i[r]=o}hp(e,dp.CreateViewNodes),vp(e,201326592,268435456,0)}function rp(e){sp(e),$c.updateDirectives(e,1),fp(e,dp.CheckNoChanges),$c.updateRenderer(e,1),hp(e,dp.CheckNoChanges),e.state&=-97}function ap(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Rc(e,0,256),sp(e),$c.updateDirectives(e,0),fp(e,dp.CheckAndUpdate),vp(e,67108864,536870912,0);var t=Rc(e,256,512);_u(e,2097152|(t?1048576:0)),$c.updateRenderer(e,0),hp(e,dp.CheckAndUpdate),vp(e,134217728,536870912,0),_u(e,8388608|((t=Rc(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Rc(e,768,1024)}function op(e,t,n,i,r,a,o,s,c,l,u,d,h){return 0===n?function(e,t,n,i,r,a,o,s,c,l,u,d){switch(201347067&t.flags){case 1:return function(e,t,n,i,r,a,o,s,c,l,u,d){var h=t.bindings.length,f=!1;return h>0&&Tf(e,t,0,n)&&(f=!0),h>1&&Tf(e,t,1,i)&&(f=!0),h>2&&Tf(e,t,2,r)&&(f=!0),h>3&&Tf(e,t,3,a)&&(f=!0),h>4&&Tf(e,t,4,o)&&(f=!0),h>5&&Tf(e,t,5,s)&&(f=!0),h>6&&Tf(e,t,6,c)&&(f=!0),h>7&&Tf(e,t,7,l)&&(f=!0),h>8&&Tf(e,t,8,u)&&(f=!0),h>9&&Tf(e,t,9,d)&&(f=!0),f}(e,t,n,i,r,a,o,s,c,l,u,d);case 2:return function(e,t,n,i,r,a,o,s,c,l,u,d){var h=!1,f=t.bindings,p=f.length;if(p>0&&Jc(e,t,0,n)&&(h=!0),p>1&&Jc(e,t,1,i)&&(h=!0),p>2&&Jc(e,t,2,r)&&(h=!0),p>3&&Jc(e,t,3,a)&&(h=!0),p>4&&Jc(e,t,4,o)&&(h=!0),p>5&&Jc(e,t,5,s)&&(h=!0),p>6&&Jc(e,t,6,c)&&(h=!0),p>7&&Jc(e,t,7,l)&&(h=!0),p>8&&Jc(e,t,8,u)&&(h=!0),p>9&&Jc(e,t,9,d)&&(h=!0),h){var g=t.text.prefix;p>0&&(g+=Xf(n,f[0])),p>1&&(g+=Xf(i,f[1])),p>2&&(g+=Xf(r,f[2])),p>3&&(g+=Xf(a,f[3])),p>4&&(g+=Xf(o,f[4])),p>5&&(g+=Xf(s,f[5])),p>6&&(g+=Xf(c,f[6])),p>7&&(g+=Xf(l,f[7])),p>8&&(g+=Xf(u,f[8])),p>9&&(g+=Xf(d,f[9]));var v=Vc(e,t.nodeIndex).renderText;e.renderer.setValue(v,g)}return h}(e,t,n,i,r,a,o,s,c,l,u,d);case 16384:return function(e,t,n,i,r,a,o,s,c,l,u,d){var h=Hc(e,t.nodeIndex),f=h.instance,p=!1,g=void 0,v=t.bindings.length;return v>0&&Kc(e,t,0,n)&&(p=!0,g=Cu(e,h,t,0,n,g)),v>1&&Kc(e,t,1,i)&&(p=!0,g=Cu(e,h,t,1,i,g)),v>2&&Kc(e,t,2,r)&&(p=!0,g=Cu(e,h,t,2,r,g)),v>3&&Kc(e,t,3,a)&&(p=!0,g=Cu(e,h,t,3,a,g)),v>4&&Kc(e,t,4,o)&&(p=!0,g=Cu(e,h,t,4,o,g)),v>5&&Kc(e,t,5,s)&&(p=!0,g=Cu(e,h,t,5,s,g)),v>6&&Kc(e,t,6,c)&&(p=!0,g=Cu(e,h,t,6,c,g)),v>7&&Kc(e,t,7,l)&&(p=!0,g=Cu(e,h,t,7,l,g)),v>8&&Kc(e,t,8,u)&&(p=!0,g=Cu(e,h,t,8,u,g)),v>9&&Kc(e,t,9,d)&&(p=!0,g=Cu(e,h,t,9,d,g)),g&&f.ngOnChanges(g),65536&t.flags&&Fc(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,i,r,a,o,s,c,l,u,d);case 32:case 64:case 128:return function(e,t,n,i,r,a,o,s,c,l,u,d){var h=t.bindings,f=!1,p=h.length;if(p>0&&Jc(e,t,0,n)&&(f=!0),p>1&&Jc(e,t,1,i)&&(f=!0),p>2&&Jc(e,t,2,r)&&(f=!0),p>3&&Jc(e,t,3,a)&&(f=!0),p>4&&Jc(e,t,4,o)&&(f=!0),p>5&&Jc(e,t,5,s)&&(f=!0),p>6&&Jc(e,t,6,c)&&(f=!0),p>7&&Jc(e,t,7,l)&&(f=!0),p>8&&Jc(e,t,8,u)&&(f=!0),p>9&&Jc(e,t,9,d)&&(f=!0),f){var g,v=Bc(e,t.nodeIndex);switch(201347067&t.flags){case 32:g=[],p>0&&g.push(n),p>1&&g.push(i),p>2&&g.push(r),p>3&&g.push(a),p>4&&g.push(o),p>5&&g.push(s),p>6&&g.push(c),p>7&&g.push(l),p>8&&g.push(u),p>9&&g.push(d);break;case 64:g={},p>0&&(g[h[0].name]=n),p>1&&(g[h[1].name]=i),p>2&&(g[h[2].name]=r),p>3&&(g[h[3].name]=a),p>4&&(g[h[4].name]=o),p>5&&(g[h[5].name]=s),p>6&&(g[h[6].name]=c),p>7&&(g[h[7].name]=l),p>8&&(g[h[8].name]=u),p>9&&(g[h[9].name]=d);break;case 128:var m=n;switch(p){case 1:g=m.transform(n);break;case 2:g=m.transform(i);break;case 3:g=m.transform(i,r);break;case 4:g=m.transform(i,r,a);break;case 5:g=m.transform(i,r,a,o);break;case 6:g=m.transform(i,r,a,o,s);break;case 7:g=m.transform(i,r,a,o,s,c);break;case 8:g=m.transform(i,r,a,o,s,c,l);break;case 9:g=m.transform(i,r,a,o,s,c,l,u);break;case 10:g=m.transform(i,r,a,o,s,c,l,u,d)}}v.value=g}return f}(e,t,n,i,r,a,o,s,c,l,u,d);default:throw"unreachable"}}(e,t,i,r,a,o,s,c,l,u,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var i=!1,r=0;r<n.length;r++)Tf(e,t,r,n[r])&&(i=!0);return i}(e,t,n);case 2:return function(e,t,n){for(var i=t.bindings,r=!1,a=0;a<n.length;a++)Jc(e,t,a,n[a])&&(r=!0);if(r){for(var o="",s=0;s<n.length;s++)o+=Xf(n[s],i[s]);o=t.text.prefix+o;var c=Vc(e,t.nodeIndex).renderText;e.renderer.setValue(c,o)}return r}(e,t,n);case 16384:return function(e,t,n){for(var i=Hc(e,t.nodeIndex),r=i.instance,a=!1,o=void 0,s=0;s<n.length;s++)Kc(e,t,s,n[s])&&(a=!0,o=Cu(e,i,t,s,n[s],o));return o&&r.ngOnChanges(o),65536&t.flags&&Fc(e,256,t.nodeIndex)&&r.ngOnInit(),262144&t.flags&&r.ngDoCheck(),a}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var i=t.bindings,r=!1,a=0;a<n.length;a++)Jc(e,t,a,n[a])&&(r=!0);if(r){var o,s=Bc(e,t.nodeIndex);switch(201347067&t.flags){case 32:o=n;break;case 64:o={};for(var c=0;c<n.length;c++)o[i[c].name]=n[c];break;case 128:var l=n[0],u=n.slice(1);o=l.transform.apply(l,_toConsumableArray2(u))}s.value=o}return r}(e,t,n);default:throw"unreachable"}}(e,t,i)}function sp(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var i=t.nodes[n];if(4&i.flags){var r=Uc(e,n).template._projectedViews;if(r)for(var a=0;a<r.length;a++){var o=r[a];o.state|=32,nl(o,e)}}else 0==(4&i.childFlags)&&(n+=i.childCount)}}function cp(e,t,n,i,r,a,o,s,c,l,u,d,h){return 0===n?function(e,t,n,i,r,a,o,s,c,l,u,d){var h=t.bindings.length;h>0&&el(e,t,0,n),h>1&&el(e,t,1,i),h>2&&el(e,t,2,r),h>3&&el(e,t,3,a),h>4&&el(e,t,4,o),h>5&&el(e,t,5,s),h>6&&el(e,t,6,c),h>7&&el(e,t,7,l),h>8&&el(e,t,8,u),h>9&&el(e,t,9,d)}(e,t,i,r,a,o,s,c,l,u,d,h):function(e,t,n){for(var i=0;i<n.length;i++)el(e,t,i,n[i])}(e,t,i),!1}function lp(e,t){if(qc(e,t.nodeIndex).dirty)throw zc($c.createDebugContext(e,t.nodeIndex),"Query ".concat(t.query.id," not dirty"),"Query ".concat(t.query.id," dirty"),0!=(1&e.state))}function up(e){if(!(128&e.state)){if(fp(e,dp.Destroy),hp(e,dp.Destroy),_u(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=rl(e);if(t){var n=t.template._projectedViews;n&&(de(n,n.indexOf(e)),$c.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var i=e.def.nodes[n];1&i.flags?e.renderer.destroyNode(Uc(e,n).renderElement):2&i.flags?e.renderer.destroyNode(Vc(e,n).renderText):(67108864&i.flags||134217728&i.flags)&&qc(e,n).destroy()}}(e),sl(e)&&e.renderer.destroy(),e.state|=128}}var dp=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function hp(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var i=0;i<n.nodes.length;i++){var r=n.nodes[i];33554432&r.flags?pp(Uc(e,i).componentView,t):0==(33554432&r.childFlags)&&(i+=r.childCount)}}function fp(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var i=0;i<n.nodes.length;i++){var r=n.nodes[i];if(16777216&r.flags)for(var a=Uc(e,i).viewContainer._embeddedViews,o=0;o<a.length;o++)pp(a[o],t);else 0==(16777216&r.childFlags)&&(i+=r.childCount)}}function pp(e,t){var n=e.state;switch(t){case dp.CheckNoChanges:0==(128&n)&&(12==(12&n)?rp(e):64&n&&gp(e,dp.CheckNoChangesProjectedViews));break;case dp.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?rp(e):64&n&&gp(e,t));break;case dp.CheckAndUpdate:0==(128&n)&&(12==(12&n)?ap(e):64&n&&gp(e,dp.CheckAndUpdateProjectedViews));break;case dp.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?ap(e):64&n&&gp(e,t));break;case dp.Destroy:up(e);break;case dp.CreateViewNodes:ip(e)}}function gp(e,t){fp(e,t),hp(e,t)}function vp(e,t,n,i){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var r=e.def.nodes.length,a=0;a<r;a++){var o=e.def.nodes[a];if(o.flags&t&&o.flags&n)switch($c.setCurrentNode(e,o.nodeIndex),i){case 0:Nf(e,o);break;case 1:lp(e,o)}o.childFlags&t&&o.childFlags&n||(a+=o.childCount)}}var mp=!1;function bp(e,t,n,i,r,a){var o=r.injector.get(lc);return Jf(Cp(e,r,o,t,n),i,a)}function yp(e,t,n,i,r,a){var o=r.injector.get(lc),s=Cp(e,r,new Kp(o),t,n),c=Ip(i);return Yp(Fp.create,Jf,null,[s,c,a])}function Cp(e,t,n,i,r){var a=t.injector.get(fc),o=t.injector.get(Pn),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:i,selectorOrNode:r,sanitizer:a,rendererFactory:n,renderer:s,errorHandler:o}}function _p(e,t,n,i){var r=Ip(n);return Yp(Fp.create,Kf,null,[e,t,r,i])}function wp(e,t,n,i){return n=Sp.get(t.element.componentProvider.provider.token)||Ip(n),Yp(Fp.create,ep,null,[e,t,n,i])}function kp(e,t,n,i){return Kl(e,t,n,function(e){var t=function(e){var t=!1,n=!1;
1return 0===xp.size||(e.providers.forEach((function(e){var i=xp.get(e.token);3840&e.flags&&i&&(t=!0,n=n||i.deprecatedBehavior)})),e.modules.forEach((function(e){Op.forEach((function(i,r){C(r).providedIn===e&&(t=!0,n=n||i.deprecatedBehavior)}))}))),{hasOverrides:t,hasDeprecatedOverrides:n}}(e),n=t.hasOverrides,i=t.hasDeprecatedOverrides;return n?(function(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];i&&(n.flags|=4096);var r=xp.get(n.token);r&&(n.flags=-3841&n.flags|r.flags,n.deps=dl(r.deps),n.value=r.value)}if(Op.size>0){var a=new Set(e.modules);Op.forEach((function(t,n){if(a.has(C(n).providedIn)){var r={token:n,flags:t.flags|(i?4096:0),deps:dl(t.deps),value:t.value,index:e.providers.length};e.providers.push(r),e.providersByKey[Xc(n)]=r}}))}}(e=e.factory((function(){return Wc}))),e):e}(i))}var xp=new Map,Op=new Map,Sp=new Map;function Pp(e){var t;xp.set(e.token,e),"function"==typeof e.token&&(t=C(e.token))&&"function"==typeof t.providedIn&&Op.set(e.token,e)}function Ep(e,t){var n=pl(t.viewDefFactory),i=pl(n.nodes[0].element.componentView);Sp.set(e,i)}function Mp(){xp.clear(),Op.clear(),Sp.clear()}function Ip(e){if(0===xp.size)return e;var t=function(e){for(var t=[],n=null,i=0;i<e.nodes.length;i++){var r=e.nodes[i];1&r.flags&&(n=r),n&&3840&r.flags&&xp.has(r.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory((function(){return Wc}));for(var n=0;n<t.length;n++)i(e,t[n]);return e;function i(e,t){for(var n=t+1;n<e.nodes.length;n++){var i=e.nodes[n];if(1&i.flags)return;if(3840&i.flags){var r=i.provider,a=xp.get(r.token);a&&(i.flags=-3841&i.flags|a.flags,r.deps=dl(a.deps),r.value=a.value)}}}}function Dp(e,t,n,i,r,a,o,s,c,l,u,d,h){var f=e.def.nodes[t];return op(e,f,n,i,r,a,o,s,c,l,u,d,h),224&f.flags?Bc(e,t).value:void 0}function jp(e,t,n,i,r,a,o,s,c,l,u,d,h){var f=e.def.nodes[t];return cp(e,f,n,i,r,a,o,s,c,l,u,d,h),224&f.flags?Bc(e,t).value:void 0}function Ap(e){return Yp(Fp.detectChanges,ap,null,[e])}function Tp(e){return Yp(Fp.checkNoChanges,rp,null,[e])}function zp(e){return Yp(Fp.destroy,up,null,[e])}var Lp,Np,Rp,Fp=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();function Vp(e,t){Np=e,Rp=t}function Up(e,t,n,i){return Vp(e,t),Yp(Fp.handleEvent,e.def.handleEvent,null,[e,t,n,i])}function Hp(e,t){if(128&e.state)throw Nc(Fp[Lp]);return Vp(e,Wp(e,0)),e.def.updateDirectives((function(e,n,i){for(var r=e.def.nodes[n],a=arguments.length,o=new Array(a>3?a-3:0),s=3;s<a;s++)o[s-3]=arguments[s];return 0===t?qp(e,r,i,o):$p(e,r,i,o),16384&r.flags&&Vp(e,Wp(e,n)),224&r.flags?Bc(e,r.nodeIndex).value:void 0}),e)}function Bp(e,t){if(128&e.state)throw Nc(Fp[Lp]);return Vp(e,Gp(e,0)),e.def.updateRenderer((function(e,n,i){for(var r=e.def.nodes[n],a=arguments.length,o=new Array(a>3?a-3:0),s=3;s<a;s++)o[s-3]=arguments[s];return 0===t?qp(e,r,i,o):$p(e,r,i,o),3&r.flags&&Vp(e,Gp(e,n)),224&r.flags?Bc(e,r.nodeIndex).value:void 0}),e)}function qp(e,t,n,i){if(op.apply(void 0,[e,t,n].concat(_toConsumableArray2(i)))){var r=1===n?i[0]:i;if(16384&t.flags){for(var a={},o=0;o<t.bindings.length;o++){var s=t.bindings[o],c=r[o];8&s.flags&&(a[(f=s.nonMinifiedName,"ng-reflect-"+f.replace(/[$@]/g,"_").replace(Si,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"-"+t[1].toLowerCase()})))]=Pi(c))}var l=t.parent,u=Uc(e,l.nodeIndex).renderElement;if(l.element.name)for(var d in a){var h=a[d];null!=h?e.renderer.setAttribute(u,d,h):e.renderer.removeAttribute(u,d)}else e.renderer.setValue(u,"bindings="+JSON.stringify(a,null,2))}}var f}function $p(e,t,n,i){cp.apply(void 0,[e,t,n].concat(_toConsumableArray2(i)))}function Wp(e,t){for(var n=t;n<e.def.nodes.length;n++){var i=e.def.nodes[n];if(16384&i.flags&&i.bindings&&i.bindings.length)return n}return null}function Gp(e,t){for(var n=t;n<e.def.nodes.length;n++){var i=e.def.nodes[n];if(3&i.flags&&i.bindings&&i.bindings.length)return n}return null}var Xp=function(){function e(t,n){_classCallCheck(this,e),this.view=t,this.nodeIndex=n,null==n&&(this.nodeIndex=n=0),this.nodeDef=t.def.nodes[n];for(var i=this.nodeDef,r=t;i&&0==(1&i.flags);)i=i.parent;if(!i)for(;!i&&r;)i=al(r),r=r.parent;this.elDef=i,this.elView=r}return _createClass(e,[{key:"logError",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r,a;2&this.nodeDef.flags?(r=this.view.def,a=this.nodeDef.nodeIndex):(r=this.elView.def,a=this.elDef.nodeIndex);var o=function(e,t){for(var n=-1,i=0;i<=t;i++)3&e.nodes[i].flags&&n++;return n}(r,a),s=-1;r.factory((function(){var t;return++s===o?(t=e.error).bind.apply(t,[e].concat(n)):Wc})),s<o&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,n))}},{key:"elOrCompView",get:function(){return Uc(this.elView,this.elDef.nodeIndex).componentView||this.view}},{key:"injector",get:function(){return Zl(this.elView,this.elDef)}},{key:"component",get:function(){return this.elOrCompView.component}},{key:"context",get:function(){return this.elOrCompView.context}},{key:"providerTokens",get:function(){var e=[];
1if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}},{key:"references",get:function(){var e={};if(this.elDef){Zp(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&Zp(this.elView,n,e),t+=n.childCount}}return e}},{key:"componentRenderElement",get:function(){var e=function(e){for(;e&&!sl(e);)e=e.parent;return e.parent?Uc(e.parent,al(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}},{key:"renderNode",get:function(){return 2&this.nodeDef.flags?ol(this.view,this.nodeDef):ol(this.elView,this.elDef)}}]),e}();function Zp(e,t,n){for(var i in t.references)n[i]=Ff(e,t,t.references[i])}function Yp(e,t,n,i){var r,a,o=Lp,s=Np,c=Rp;try{Lp=e;var l=t.apply(n,i);return Np=s,Rp=c,Lp=o,l}catch(u){if(xn(u)||!Np)throw u;throw r=u,a=Qp(),r instanceof Error||(r=new Error(r.toString())),Lc(r,a),r}}function Qp(){return Np?new Xp(Np,Rp):null}var Kp=function(){function e(t){_classCallCheck(this,e),this.delegate=t}return _createClass(e,[{key:"createRenderer",value:function(e,t){return new Jp(this.delegate.createRenderer(e,t))}},{key:"begin",value:function(){this.delegate.begin&&this.delegate.begin()}},{key:"end",value:function(){this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}]),e}(),Jp=function(){function e(t){_classCallCheck(this,e),this.delegate=t,this.debugContextFactory=Qp,this.data=this.delegate.data}return _createClass(e,[{key:"createDebugContext",value:function(e){return this.debugContextFactory(e)}},{key:"destroyNode",value:function(e){var t=kf(e);!function(e){_f.delete(e.nativeNode)}(t),t instanceof df&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)}},{key:"destroy",value:function(){this.delegate.destroy()}},{key:"createElement",value:function(e,t){var n=this.delegate.createElement(e,t),i=this.createDebugContext(n);if(i){var r=new hf(n,null,i);r.name=e,Of(r)}return n}},{key:"createComment",value:function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Of(new df(t,null,n)),t}},{key:"createText",value:function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Of(new df(t,null,n)),t}},{key:"appendChild",value:function(e,t){var n=kf(e),i=kf(t);n&&i&&n instanceof hf&&n.addChild(i),this.delegate.appendChild(e,t)}},{key:"insertBefore",value:function(e,t,n){var i=kf(e),r=kf(t),a=kf(n);i&&r&&i instanceof hf&&i.insertBefore(a,r),this.delegate.insertBefore(e,t,n)}},{key:"removeChild",value:function(e,t){var n=kf(e),i=kf(t);n&&i&&n instanceof hf&&n.removeChild(i),this.delegate.removeChild(e,t)}},{key:"selectRootElement",value:function(e,t){var n=this.delegate.selectRootElement(e,t),i=Qp();return i&&Of(new hf(n,null,i)),n}},{key:"setAttribute",value:function(e,t,n,i){var r=kf(e);r&&r instanceof hf&&(r.attributes[i?i+":"+t:t]=n),this.delegate.setAttribute(e,t,n,i)}},{key:"removeAttribute",value:function(e,t,n){var i=kf(e);i&&i instanceof hf&&(i.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){var n=kf(e);n&&n instanceof hf&&(n.classes[t]=!0),this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){var n=kf(e);n&&n instanceof hf&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,i){var r=kf(e);r&&r instanceof hf&&(r.styles[t]=n),this.delegate.setStyle(e,t,n,i)}},{key:"removeStyle",value:function(e,t,n){var i=kf(e);i&&i instanceof hf&&(i.styles[t]=null),this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){var i=kf(e);i&&i instanceof hf&&(i.properties[t]=n),this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){if("string"!=typeof e){var i=kf(e);i&&i.listeners.push(new uf(t,n))}return this.delegate.listen(e,t,n)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setValue",value:function(e,t){return this.delegate.setValue(e,t)}}]),e}();function eg(e,t,n){return new tg(e,t,n)}var tg=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this)).moduleType=e,a._bootstrapComponents=i,a._ngModuleDefFactory=r,a}return _createClass(n,[{key:"create",value:function(e){!function(){if(!mp){mp=!0;var e=qn()?{setCurrentNode:Vp,createRootView:yp,createEmbeddedView:_p,createComponentView:wp,createNgModuleRef:kp,overrideProvider:Pp,overrideComponentView:Ep,clearOverrides:Mp,checkAndUpdateView:Ap,checkNoChangesView:Tp,destroyView:zp,createDebugContext:function(e,t){return new Xp(e,t)},handleEvent:Up,updateDirectives:Hp,updateRenderer:Bp}:{setCurrentNode:function(){},createRootView:bp,createEmbeddedView:Kf,createComponentView:ep,createNgModuleRef:Kl,overrideProvider:Wc,overrideComponentView:Wc,clearOverrides:Wc,checkAndUpdateView:ap,checkNoChangesView:rp,destroyView:up,createDebugContext:function(e,t){return new Xp(e,t)},handleEvent:function(e,t,n,i){return e.def.handleEvent(e,t,n,i)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?Dp:jp,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Dp:jp,e)}};$c.setCurrentNode=e.setCurrentNode,$c.createRootView=e.createRootView,$c.createEmbeddedView=e.createEmbeddedView,$c.createComponentView=e.createComponentView,$c.createNgModuleRef=e.createNgModuleRef,$c.overrideProvider=e.overrideProvider,$c.overrideComponentView=e.overrideComponentView,$c.clearOverrides=e.clearOverrides,$c.checkAndUpdateView=e.checkAndUpdateView,$c.checkNoChangesView=e.checkNoChangesView,$c.destroyView=e.destroyView,$c.resolveDep=bu,$c.createDebugContext=e.createDebugContext,$c.handleEvent=e.handleEvent,$c.updateDirectives=e.updateDirectives,$c.updateRenderer=e.updateRenderer,$c.dirtyParentQueries=Lf}}();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),i={};for(var r in e.providersByKey)i[r]=e.providersByKey[r];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:i}}
1(pl(this._ngModuleDefFactory));return $c.createNgModuleRef(this.moduleType,e||eo.NULL,this._bootstrapComponents,t)}}]),n}(se)},fujP:function(e,t,n){"use strict";var i=n("jMTf"),r=n("YM6B"),a=n("9f76"),o=n("/1FC"),s=n("5WsY"),c=n("WOAq"),l=n("pyRK"),u=n("oYcn"),d=Object.prototype.hasOwnProperty;t.a=function(e){if(null==e)return!0;if(Object(s.a)(e)&&(Object(o.a)(e)||"string"==typeof e||"function"==typeof e.splice||Object(c.a)(e)||Object(u.a)(e)||Object(a.a)(e)))return!e.length;var t=Object(r.a)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(Object(l.a)(e))return!Object(i.a)(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("2fFW"),r=n("NJ4a"),a={closed:!0,next:function(e){},error:function(e){if(i.a.useDeprecatedSynchronousErrorHandling)throw e;Object(r.a)(e)},complete:function(){}}},hVat:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var i=n("fXoL"),r=n("XNiG"),a=n("HDdC"),o=n("EY2u"),s=n("cp0P"),c=n("PqYM"),l=n("VRyK"),u=n("itXk"),d=n("1G5W"),h=n("vkgz"),f=n("eIep"),p=n("IzEk"),g=n("pLZG"),v=n("/uUt"),m=n("lJxs"),b=n("ehPC"),y=n("GJzE"),C=n("H0t/"),_=n("ofXK"),w=["insertPoint"],k=["scrollSpy"];function x(e,t){1&e&&i.zc(0,"div",3)}function O(e,t){if(1&e){var n=i.Fc();i.Ec(0,"div",4),i.Ec(1,"button",5),i.Qc("click",(function(){return i.nd(n),i.Uc().doReplay()})),i.zd(2,"\u0415\u0449\u0451"),i.Dc(),i.Dc()}}var S=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,a,o,s,c,l,u){var d;return _classCallCheck(this,n),(d=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,d.injector=i,d.componentFactoryResolver=a,d.changeDetector=o,d.deviceState=s,d.scrollSpy=c,d.widgetsFactory=l,d.shiftBannersPlacesService=u,d.widgetComponents=[],d.pBatchIsLoading=!1,d.reset$=new r.a,d.doReplay$=new r.a,d.onDestroy$=new r.a,d.actualWidgetIndex=0,d.actualReplay=0,d.widgetsToRemove=[],d}return _createClass(n,[{key:"ngOnInit",value:function(){this.registerDoReplyHandler(),this.reset(),this.doReplay()}},{key:"ngDoCheck",value:function(){var e=this;this.widgetsToRemove.length>0&&(this.widgetsToRemove.forEach((function(t){var n=e.insertPoint.indexOf(t.widgetViewRef);if(-1!==n){if(e.insertPoint.remove(n),e.widgetComponents.splice(n,1),null!==t.componentReplaceCallback){var i=t.componentReplaceCallback(e.insertPoint,n);if(null!==i){var r=function(t){null!==t&&e.widgetComponents.splice(n,0,t.instance)};i instanceof a.a?i.subscribe(r):r(i)}}e.subscribeIsAllWidgetsLoaded()}})),this.widgetsToRemove=[])}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next()}},{key:"reset",value:function(){this.reset$.next()}},{key:"doReplay",value:function(){this.doReplay$.next()}},{key:"processEmptyWidget",value:function(e,t){this.widgetsToRemove.push({widgetViewRef:e,componentReplaceCallback:null!==t?t.getComponentReplaceCallback():null})}},{key:"registerDoReplyHandler",value:function(){var e=this;this.reset$.asObservable().pipe(Object(d.a)(this.onDestroy$),Object(h.a)((function(){e.pBatchIsLoading=!1,e.actualWidgetIndex=0,e.actualReplay=0,e.widgetComponents=[],e.isLoaded$.next(!1),e.insertPoint.clear(),e.getActualWidgets(!0)})),Object(f.a)((function(){return e.doReplay$.pipe(Object(d.a)(e.onDestroy$),Object(f.a)((function(){if(!e.canReplay||e.batchIsLoading)return o.a;e.pBatchIsLoading=!0;var t=e.actualWidgetIndex,n=e.getActualWidgets().length,i=[];if(e.actualWidgetIndex<n)do{i.push(e.renderNextWidget().instance)}while(e.widget.showByPage&&e.actualWidgetIndex<n);return i.length>0?Object(s.a).apply(void 0,_toConsumableArray2(i.map((function(e){return e.isComponentHasData$.pipe(Object(p.a)(1))})))).pipe(Object(h.a)((function(r){var a,o=t,s=_createForOfIteratorHelper(r);try{for(s.s();!(a=s.n()).done;){a.value?++o:(e.actualWidgets.splice(o,1),e.actualWidgetIndex>o&&--e.actualWidgetIndex)}}catch(l){s.e(l)}finally{s.f()}(n=e.getActualWidgets().length)>0&&(e.actualWidgetIndex>=n&&(e.actualWidgetIndex=0,null!==e.widget.replayCount&&++e.actualReplay),e.widget.useInfiniteScroll&&e.canReplay&&e.registerScrollSpy(i)),Object(c.a)(1).subscribe((function(){e.pBatchIsLoading=!1,e.changeDetector.markForCheck()}))}))):void 0})))}))).subscribe()}},{key:"getActualWidgets",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(void 0===this.actualWidgets||e)&&(this.actualWidgets=this.widget.widgets.filter(this.canRenderWidget,this)),this.actualWidgets}},{key:"canRenderWidget",value:function(e){return this.deviceState.isBrowserApp&&e.isRenderedInBrowserApp||this.deviceState.isServerApp&&e.isRenderedInServerApp}},{key:"renderNextWidget",value:function(){var e=this.getActualWidgets()[this.actualWidgetIndex++];e instanceof b.K&&(e=this.shiftBannersPlacesService.getNextBannerWidget(e,this.widgetsFactory));
1var t=this.componentFactoryResolver.resolveComponentFactory(this.injector.get(e.getComponent(),e.getComponent())),n=this.insertPoint.createComponent(t);return n.instance.widget=e,n.instance.parentBlock=this,n.instance.componentViewRef=n.hostView,this.widgetComponents.push(n.instance),this.subscribeIsAllWidgetsLoaded(),n}},{key:"registerScrollSpy",value:function(e){var t=this;Object(l.a).apply(void 0,_toConsumableArray2(e.map((function(e){return e.isComponentLoaded$.pipe(Object(p.a)(1))})))).subscribe({complete:function(){Object(c.a)(10).subscribe((function(){var e=t.insertPoint.createEmbeddedView(t.scrollSpyTemplate);t.scrollSpy.registerScrollSpy({element:e.rootNodes[0],offset:100}).pipe(Object(g.a)((function(e){return e})),Object(p.a)(1)).subscribe((function(){t.insertPoint.remove(t.insertPoint.indexOf(e)),t.doReplay()}))}))}})}},{key:"subscribeIsAllWidgetsLoaded",value:function(){var e=this;this.unsubscribeIsAllWidgetsLoaded(),this.isAllWidgetsLoadedSubscription=Object(u.a)(_toConsumableArray2(this.widgetComponents.map((function(e){return e.isComponentLoaded$.pipe(Object(v.a)())})))).pipe(Object(d.a)(this.onDestroy$),Object(m.a)((function(e){return e.every((function(e){return e}))})),Object(v.a)(),Object(h.a)((function(t){e.isLoaded$.next(t)}))).subscribe()}},{key:"unsubscribeIsAllWidgetsLoaded",value:function(){void 0!==this.isAllWidgetsLoadedSubscription&&(this.isAllWidgetsLoadedSubscription.unsubscribe(),this.isAllWidgetsLoadedSubscription=void 0)}},{key:"canReplay",get:function(){return(null===this.widget.replayCount||this.actualReplay<this.widget.replayCount)&&this.getActualWidgets().length>0}},{key:"batchIsLoading",get:function(){return this.pBatchIsLoading}}]),n}(b.j);return e.\u0275fac=function(t){return new(t||e)(i.yc(b.A,8),i.yc(i.w),i.yc(i.n),i.yc(i.j),i.yc(y.t),i.yc(C.d),i.yc(b.O),i.yc(b.J))},e.\u0275cmp=i.sc({type:e,selectors:[["app-widget-container"]],viewQuery:function(e,t){var n;1&e&&(i.ud(w,!0,i.X),i.ud(k,!0,i.U)),2&e&&(i.jd(n=i.Rc())&&(t.insertPoint=n.first),i.jd(n=i.Rc())&&(t.scrollSpyTemplate=n.first))},inputs:{widget:"widget"},features:[i.gc],decls:5,vars:1,consts:[["insertPoint",""],["scrollSpy",""],["class","text-center mt-2",4,"ngIf"],[2,"height","1px"],[1,"text-center","mt-2"],[1,"btn","btn--primary",3,"click"]],template:function(e,t){1&e&&(i.Ac(0,null,0),i.xd(2,x,1,0,"ng-template",null,1,i.yd),i.xd(4,O,3,0,"div",2)),2&e&&(i.jc(4),i.bd("ngIf",!t.widget.useInfiniteScroll&&!t.batchIsLoading&&t.canReplay))},directives:[_.u],styles:[""]}),e}()},hYPf:function(e,t,n){"use strict";var i=n("IzLi"),r=Object.create,a=function(){function e(){}return function(t){if(!Object(i.a)(t))return{};if(r)return r(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),o=n("UudT"),s=n("pyRK");t.a=function(e){return"function"!=typeof e.constructor||Object(s.a)(e)?{}:a(Object(o.a)(e))}},iAk7:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var i=n("PqYM"),r=n("lJxs"),a=n("IzEk"),o=n("WI3F"),s=n("AytR"),c=n("ehPC"),l=n("fXoL"),u=n("GJzE");function d(e,t){if(1&e&&(l.Ec(0,"a",22),l.zd(1),l.Dc()),2&e){var n=t.$implicit;l.cd("title",n.title),l.bd("appNewsUrl",n),l.jc(1),l.Bd(" ",n.title," ")}}function h(e,t){if(1&e&&(l.Ec(0,"div",20),l.xd(1,d,2,3,"a",21),l.Dc()),2&e){var n=l.Uc(3);l.jc(1),l.bd("ngForOf",n.model.news.slice(0,n.widget.newsPreviewCount))}}function f(e,t){if(1&e&&(l.Ec(0,"div",23),l.Ec(1,"a",24),l.zd(2),l.Dc(),l.Dc()),2&e){var n=l.Uc(3);l.jc(1),l.cd("href",n.model.url,l.qd),l.jc(1),l.Ad(n.widget.showMoreLabel)}}function p(e,t){if(1&e&&(l.Ec(0,"div",25),l.Ec(1,"a",24),l.zd(2),l.Dc(),l.Dc()),2&e){var n=l.Uc(3);l.jc(1),l.cd("href",n.model.url,l.qd),l.jc(1),l.Ad(n.widget.showMoreLabel)}}function g(e,t){if(1&e&&(l.Ec(0,"div",27),l.Ec(1,"article",28),l.zc(2,"a",29),l.Ec(3,"div",14),l.Ec(4,"div",15),l.zd(5),l.Dc(),l.Dc(),l.Ec(6,"div",30),l.Ec(7,"div",31),l.Ec(8,"a",32),l.zd(9),l.Dc(),l.Dc(),l.Dc(),l.Dc(),l.Dc()),2&e){var n=t.$implicit,i=l.Uc(4);l.jc(2),l.bd("appNewsUrl",n)("lazyLoad",n.rectanglePosterUrl),l.jc(3),l.Ad(i.model.title),l.jc(3),l.cd("title",n.title),l.bd("appNewsUrl",n),l.jc(1),l.Ad(n.title)}}function v(e,t){if(1&e&&(l.Cc(0),l.xd(1,g,10,6,"div",26),l.Bc()),2&e){var n=l.Uc(3);l.jc(1),l.bd("ngForOf",n.model.news.slice(0,n.widget.newsPreviewCount))}}function m(e,t){if(1&e&&(l.Cc(0),l.Ec(1,"div",2),l.Ec(2,"div",3),l.zd(3),l.Dc(),l.Ec(4,"div",4),l.Ec(5,"div",5),l.Ec(6,"a",6),l.zd(7),l.Dc(),l.Dc(),l.xd(8,h,2,1,"div",7),l.xd(9,f,3,2,"div",8),l.Dc(),l.Dc(),l.Ec(10,"div",9),l.Ec(11,"div",10),l.Ec(12,"div",11),l.Ec(13,"article",12),l.zc(14,"div",13),l.Ec(15,"div",14),l.Ec(16,"div",15),l.zd(17),l.Dc(),l.Dc(),l.Ec(18,"div",16),l.Ec(19,"div",17),l.Ec(20,"a",6),l.zd(21),l.Dc(),l.Dc(),l.Ec(22,"div",18),l.zd(23),l.Dc(),l.xd(24,p,3,2,"div",19),l.Dc(),l.Dc(),l.Dc(),l.xd(25,v,2,1,"ng-container",1),l.Dc(),l.Dc(),l.Bc()),2&e){var n=l.Uc(2);l.jc(1),l.bd("lazyLoad",n.model.posterUrl),l.jc(2),l.Ad(n.widget.label),l.jc(3),l.cd("href",n.model.url,l.qd),l.jc(1),l.Ad(n.model.title),l.jc(1),l.bd("ngIf",n.widget.showNewsPreview&&n.model.news.length>0),l.jc(1),l.bd("ngIf",n.model.hasMoreNews),l.jc(5),l.bd("lazyLoad",n.model.posterUrl),l.jc(3),l.Ad(n.widget.label),l.jc(3),l.cd("href",n.model.url,l.qd),l.jc(1),l.Ad(n.model.title),l.jc(2),l.Ad(n.model.description),l.jc(1),l.bd("ngIf",n.model.hasMoreNews),l.jc(1),l.bd("ngIf",n.widget.showNewsPreview&&n.model.news.length>0)}}function b(e,t){if(1&e&&(l.Cc(0),l.xd(1,m,26,13,"ng-container",1),l.Bc()),2&e){var n=l.Uc();l.jc(1),l.bd("ngIf",n.model)}}var y=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,s.injector=i,s.routesService=r,s.specialThemesService=a,s.selectedSpecialThemesService=o,s}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this,t=null!==this.widget.id;if(t&&null===this.selectedSpecialThemesService||!t&&null===this.specialThemesService)throw new Error("Required services must be injected");(t?this.selectedSpecialThemesService.getSelectedSpecialTheme(this.widget.id):this.specialThemesService.getNextSimpleSpecialTheme(1).pipe(Object(r.a)((function(e){return null!==e?e[0]:null})))).pipe(Object(a.a)(1)).subscribe((function(t){e.model=t,null!==e.model?e.emitHasData():e.emitEmptyData();var n=function(){e.emitComponentLoaded()};s.a.useLoadingDelay?Object(i.a)(1500).subscribe(n):n()}))}}]),n}(c.j);return e.\u0275fac=function(t){return new(t||e)(l.yc(c.A,8),l.yc(l.w),l.yc(u.fb),l.yc(o.c,8),l.yc(o.b,8))},e.\u0275cmp=l.sc({type:e,selectors:[["app-shared-single-special-theme"]],features:[l.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","a
1ppLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[4,"ngIf"],[1,"mobile-spec-theme","d-lg-none",3,"lazyLoad"],[1,"mobile-spec-theme__label","card-label"],[1,"mobile-spec-theme__content"],[1,"mobile-spec-theme__title"],[3,"href"],["class","mobile-spec-theme__cards",4,"ngIf"],["class","text-center mt-4",4,"ngIf"],[1,"desktop-spec-theme","d-none","d-lg-block"],[1,"row"],[1,"col-12"],[1,"article-card","lead-theme-card"],[1,"article-card__poster",3,"lazyLoad"],[1,"article-card__subinfo"],[1,"card-label"],[1,"lead-theme-card__content"],[1,"lead-theme-card__title"],[1,"lead-theme-card__subtitle"],["class","lead-theme-card__btn-wrapper",4,"ngIf"],[1,"mobile-spec-theme__cards"],["class","mobile-spec-theme__card",3,"appNewsUrl","title",4,"ngFor","ngForOf"],[1,"mobile-spec-theme__card",3,"appNewsUrl","title"],[1,"text-center","mt-4"],[1,"btn","btn--primary",3,"href"],[1,"lead-theme-card__btn-wrapper"],["class","col-4",4,"ngFor","ngForOf"],[1,"col-4"],[1,"article-card","article-card--half"],[1,"article-card__poster",3,"appNewsUrl","lazyLoad"],[1,"article-card__content"],[1,"article-card__title"],[3,"appNewsUrl","title"]],template:function(e,t){1&e&&(l.xd(0,b,2,1,"ng-container",0),l.Vc(1,"async")),2&e&&l.bd("appLoadingPlaceholder",l.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:['.article-card[_ngcontent-%COMP%]{position:relative;margin:0 -8px;overflow:hidden;border-bottom:1px solid rgba(50,50,50,.15)}.article-card__poster[_ngcontent-%COMP%]{display:block;background-position:50%;background-size:cover;background-color:#e6e6e6}.article-card__subinfo[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:12px;fill:#fff}.article-card__title[_ngcontent-%COMP%]{font-size:24px}.article-card__info[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:15px;color:rgba(50,50,50,.35)}.article-card--in-feed[_ngcontent-%COMP%]{padding:16px 24px}.article-card--double[_ngcontent-%COMP%]{padding-bottom:137.2%;color:#fff}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%], .article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{content:"";background:linear-gradient(358.89deg,#000 24.62%,transparent 71.53%)}.article-card--double[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;padding:16px}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{line-height:1;font-size:30px;font-weight:700}.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{margin-top:16px;font-size:18px}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.35)}.article-card--double[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:hsla(0,0%,100%,.35)}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{padding-bottom:47.6%}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:16px 24px}@media (min-width:1024px){.article-card[_ngcontent-%COMP%]{margin:0 0 24px;border-bottom:0}.article-card__subinfo[_ngcontent-%COMP%]{display:block;position:absolute;top:12px;left:0}.article-card__title[_ngcontent-%COMP%]{font-size:21px}.article-card__info[_ngcontent-%COMP%]{font-size:14px}.article-card--in-feed[_ngcontent-%COMP%]{padding:0}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{order:-1;margin-top:4px;margin-right:10px;color:var(--green-primary)}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:none}.article-card--double[_ngcontent-%COMP%]{padding-bottom:45.12%}.article-card--double[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.3) 19.55%,rgba(0,0,0,.2) 33.1%,rgba(0,0,0,.2) 50.8
1%,rgba(0,0,0,.37) 64.35%,rgba(0,0,0,.7))}.article-card--double[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%], .article-card--double[_ngcontent-%COMP%]   .article-card__subtitle[_ngcontent-%COMP%]{display:none}.article-card--half[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%], .article-card--simple[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{padding:12px 16px}}@media (min-width:1200px){.article-card--double[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{font-size:36px}}.card-label[_ngcontent-%COMP%]{padding:4px 8px;font-weight:700;text-transform:uppercase;background-color:var(--green-primary);color:#fff}.mobile-spec-theme[_ngcontent-%COMP%]{position:relative;margin:0 -8px;padding:80px 16px 20px;background-position:50%;background-size:cover;border-bottom:3px solid var(--green-primary);color:#fff}.mobile-spec-theme[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-color:rgba(50,50,50,.2)}.mobile-spec-theme__content[_ngcontent-%COMP%]{position:relative;z-index:1}.mobile-spec-theme__label[_ngcontent-%COMP%]{position:absolute;z-index:1;left:0;top:24px}.mobile-spec-theme__title[_ngcontent-%COMP%]{margin-bottom:32px;font-size:36px;font-weight:700}.mobile-spec-theme__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.mobile-spec-theme__card[_ngcontent-%COMP%]{display:block;margin-bottom:8px;padding:16px 12px;background-color:rgba(0,0,0,.71);color:inherit;font-size:21px}.mobile-spec-theme__card[_ngcontent-%COMP%]:nth-child(2n){background-color:var(--green-primary)}.desktop-spec-theme[_ngcontent-%COMP%]{background-color:#f0f0f0;border-bottom:3px solid var(--green-primary)}@media (min-width:1024px){.desktop-spec-theme[_ngcontent-%COMP%]{margin-bottom:36px}}.lead-theme-card[_ngcontent-%COMP%]{padding-bottom:28.58%}.lead-theme-card[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column}.lead-theme-card[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-color:rgba(50,50,50,.2)}.lead-theme-card__content[_ngcontent-%COMP%]{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;padding:60px 20px 24px;color:#fff}.lead-theme-card__title[_ngcontent-%COMP%]{margin-bottom:16px;font-size:48px;font-weight:700}.lead-theme-card__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.lead-theme-card__subtitle[_ngcontent-%COMP%]{margin-bottom:16px;font-size:24px;font-weight:700}.lead-theme-card__btn-wrapper[_ngcontent-%COMP%]{margin-top:auto;text-align:right}.lead-theme-card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{font-size:17px}@media (min-width:1024px){.lead-theme-card__subtitle[_ngcontent-%COMP%]{max-width:65%;max-height:2.35em;overflow:hidden}}@media (min-width:1024px){.height-auto[_nghost-%COMP%]   .desktop-spec-theme[_ngcontent-%COMP%], .height-auto   [_nghost-%COMP%]   .desktop-spec-theme[_ngcontent-%COMP%]{height:auto}}']}),e}()},iOsp:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL"),r=function(){var e=function(){function e(){_classCallCheck(this,e),this.$pAspectRatioStyle=null}return _createClass(e,[{key:"aspectRatio",set:function(e){this.$pAspectRatioStyle=null!==e?"100/"+Number(e):null}},{key:"scaledBoxStyles",get:function(){return null!==this.$pAspectRatioStyle?{position:"relative",display:"block",width:"100%",overflow:"hidden",aspectRatio:this.$pAspectRatioStyle}:null}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","appScaledBox",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.vd(t.scaledBoxStyles)},inputs:{aspectRatio:["appScaledBox","aspectRatio"]}}),e}()},iQdX:function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return T})),n.d(t,"d",(function(){return z})),n.d(t,"e",(function(){return A})),n.d(t,"f",(function(){return S}));var i,r=n("fXoL"),a=n("ofXK");try{i="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(L){i=!1}var o,s,c,l,u=((s=function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?Object(a.O)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(m
1sie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!i)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}).\u0275fac=function(e){return new(e||s)(r.Mc(r.I))},s.\u0275prov=Object(r.uc)({factory:function(){return new s(Object(r.Mc)(r.I))},token:s,providedIn:"root"}),s),d=((o=function e(){_classCallCheck(this,e)}).\u0275mod=r.wc({type:o}),o.\u0275inj=r.vc({factory:function(e){return new(e||o)}}),o),h=function(){function e(t,n){_classCallCheck(this,e),this._document=n;var i=this._textarea=this._document.createElement("textarea"),r=i.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",i.setAttribute("aria-hidden","true"),i.value=t,this._document.body.appendChild(i)}return _createClass(e,[{key:"copy",value:function(){var e=this._textarea,t=!1;try{if(e){var n=this._document.activeElement;e.select(),e.setSelectionRange(0,e.value.length),t=this._document.execCommand("copy"),n&&n.focus()}}catch(L){}return t}},{key:"destroy",value:function(){var e=this._textarea;e&&(e.parentNode&&e.parentNode.removeChild(e),this._textarea=void 0)}}]),e}(),f=((l=function(){function e(t){_classCallCheck(this,e),this._document=t}return _createClass(e,[{key:"copy",value:function(e){var t=this.beginCopy(e),n=t.copy();return t.destroy(),n}},{key:"beginCopy",value:function(e){return new h(e,this._document)}}]),e}()).\u0275fac=function(e){return new(e||l)(r.Mc(a.e))},l.\u0275prov=Object(r.uc)({factory:function(){return new l(Object(r.Mc)(a.e))},token:l,providedIn:"root"}),l),p=((c=function e(){_classCallCheck(this,e)}).\u0275mod=r.wc({type:c}),c.\u0275inj=r.vc({factory:function(e){return new(e||c)}}),c),g=n("HDdC"),v=n("LRne"),m=n("2Vo4"),b=n("XNiG"),y=n("EY2u"),C=n("vkgz"),_=n("3E0/"),w=n("IzEk"),k=n("1G5W"),x=n("jhN1"),O=new r.v("shareButtonsConfig"),S=function(e){return e.Anchor="anchor",e.Window="window",e}({});function P(e){return e&&"object"==typeof e&&!Array.isArray(e)}var E,M,I,D={description:function(e){return e.description?"".concat(e.description,"\r\n").concat(e.url):e.url}},j={facebook:{type:"facebook",text:"Facebook",ariaLabel:"Share on Facebook",icon:["fab","facebook-f"],color:"#4267B2",share:{desktop:"https://www.facebook.com/sharer/sharer.php?"},params:{url:"u"}},twitter:{type:"twitter",text:"Twitter",ariaLabel:"Share on Twitter",icon:["fab","twitter"],color:"#00acee",share:{desktop:"https://twitter.com/intent/tweet?"},params:{url:"url",description:"text",tags:"hashtags",via:"via"}},linkedin:{type:"linkedin",text:"LinkedIn",ariaLabel:"Share on LinkedIn",icon:["fab","linkedin-in"],color:"#006fa6",share:{desktop:"https://www.linkedin.com/shareArticle?"},params:{url:"url",title:"title",description:"summary"}},pinterest:{type:"pinterest",text:"Pinterest",ariaLabel:"Share on Pinterest",icon:["fab","pinterest-p"],color:"#BD091D",share:{desktop:"https://pinterest.com/pin/create/button/?"},params:{url:"url",description:"description",image:"media"}},reddit:{type:"reddit",text:"Reddit",ariaLabel:"Share on Reddit",icon:["fab","reddit-alien"],color:"#FF4006",share:{desktop:"https://www.reddit.com/submit?"},params:{url:"url",title:"title"}},tumblr:{type:"tumblr",text:"Tumblr",ariaLabel:"Share on Tumblr",icon:["fab","tumblr"],color:"#36465D",share:{desktop:"https://tumblr.com/widgets/share/tool?"},params:{url:"canonicalUrl",description:"caption",tags:"tags"}},mix:{type:"mix",text:"Mix",ariaLabel:"Share on Mix",icon:["fab","mix"],color:"#eb4924",share:{desktop:"https://mix.com/add?"},params:{url:"url"}},viber:{type:"viber",text:"Viber",ariaLabel:"Share on Viber",icon:["fab","viber"],color:"#665ca7",share:{android:"viber://forward?",ios:"viber://forward?"},params:{description:"text"},paramsFunc:D},vk:{type:"vk",text:"VKontakte",ariaLabel:"Share on VKontakte",icon:["fab","vk"],color:"#4C75A3",share:{desktop:"https://vk.com/share.php?"},params:{url:"url"}},telegram:{type:"telegram",text:"Telegram",ariaLabel:"Share on Telegram",icon:["fab","telegram-plane"],color:"#0088cc",share:{desktop:"https://t.me/share/url?"},params:{url:"url",description:"text"}},messenger:{type:"messenger",text:"Messenger",ariaLabel:"Share on Messenger",icon:["fab","facebook-messenger"],color:"#0080FF",share:{android:"fb-messenger://share/?",i
1os:"fb-messenger://share/?"},params:{url:"link"}},whatsapp:{type:"whatsapp",text:"WhatsApp",ariaLabel:"Share on WhatsApp",icon:["fab","whatsapp"],color:"#25D366",share:{desktop:"https://web.whatsapp.com/send?",android:"whatsapp://send?",ios:"https://api.whatsapp.com/send?"},params:{description:"text"},paramsFunc:D},xing:{type:"xing",text:"Xing",ariaLabel:"Share on Xing",icon:["fab","xing"],color:"#006567",share:{desktop:"https://www.xing.com/spi/shares/new?"},params:{url:"url"}},line:{type:"line",text:"Line",ariaLabel:"Share on Line",icon:["fab","line"],color:"#00b900",share:{desktop:"https://social-plugins.line.me/lineit/share?"},params:{url:"url"}},sms:{type:"sms",text:"SMS",ariaLabel:"Share link via SMS",icon:["fas","sms"],color:"#20c16c",share:{desktop:"sms:?",ios:"sms:&"},params:{description:"body"},paramsFunc:D},email:{type:"email",text:"Email",ariaLabel:"Share link via email",icon:["fas","envelope"],color:"#FF961C",share:{desktop:"mailto:?"},params:{title:"subject",description:"body"},paramsFunc:D},print:{type:"print",text:"Print",ariaLabel:"Print page",icon:["fas","print"],color:"#765AA2",func:function(){return new g.a((function(e){return document.defaultView.print()}))}},copy:{type:"copy",text:"Copy link",ariaLabel:"Copy link",icon:["fas","link"],color:"#607D8B",data:{text:"Copy link",icon:["fas","link"],successText:"Copied",successIcon:["fas","check"],delay:2e3},func:function(e){var t=e.params,n=e.data,i=e.clipboard,r=e.updater;return Object(v.a)(null).pipe(Object(C.a)((function(){i.copy(t.url),r.next({icon:n.successIcon,text:n.successText,disabled:!0})})),Object(_.a)(n.delay),Object(C.a)((function(){return r.next({icon:n.icon,text:n.text,disabled:!1})})),Object(w.a)(1))}}},A=((I=function(){function e(t,n){_classCallCheck(this,e),this._document=n,this.config={sharerMethod:S.Anchor,sharerTarget:"_blank",windowObj:this._document.defaultView,windowFuncName:"open",prop:j,theme:"default",include:[],exclude:[],size:0,autoSetMeta:!0,windowWidth:800,windowHeight:500,moreButtonIcon:"ellipsis-h",lessButtonIcon:"minus"},this.config$=new m.a(this.config),t&&this.setConfig(t)}return _createClass(e,[{key:"setConfig",value:function(e){this.config=function e(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];if(!i.length)return t;var a=i.shift();if(P(t)&&P(a))for(var o in a)P(a[o])?(t[o]||Object.assign(t,_defineProperty2({},o,{})),e(t[o],a[o])):Object.assign(t,_defineProperty2({},o,a[o]));return e.apply(void 0,[t].concat(i))}(this.config,e),this.config$.next(this.config)}},{key:"addButton",value:function(e,t){this.setConfig({prop:_defineProperty2({},e,t)})}},{key:"prop",get:function(){return this.config.prop}},{key:"windowSize",get:function(){return"width=".concat(this.config.windowWidth,", height=").concat(this.config.windowHeight)}}]),e}()).\u0275fac=function(e){return new(e||I)(r.Mc(O,8),r.Mc(a.e))},I.\u0275prov=Object(r.uc)({factory:function(){return new I(Object(r.Mc)(O,8),Object(r.Mc)(a.e))},token:I,providedIn:"root"}),I),T=((M=function(){function e(t,n,i,a,o,s,c){_classCallCheck(this,e),this._meta=n,this._platform=i,this._clipboard=a,this._share=o,this._cd=s,this._document=c,this._destroyed=new b.a,this._updater=new b.a,this.autoSetMeta=this._share.config.autoSetMeta,this.url=this._share.config.url,this.title=this._share.config.title,this.description=this._share.config.description,this.image=this._share.config.image,this.tags=this._share.config.tags,this.opened=new r.s,this.closed=new r.s,this._el=t.nativeElement}return _createClass(e,[{key:"share",value:function(){if(this._platform.isBrowser&&this.shareButton){var e=this.autoSetMeta?this.getParamsFromMetaTags():this.getParamsFromInputs();(this.shareButton.share?this.open(e):this.shareButton.func({params:e,data:this.shareButton.data,clipboard:this._clipboard,updater:this._updater})).pipe(Object(k.a)(this._destroyed)).subscribe()}else console.warn(this.text+" button is not compatible on this Platform")}},{key:"ngOnInit",value:function(){var e=this;this._updater.pipe(Object(C.a)((function(t){e.icon=t.icon,e.text=t.text,e._el.style.pointerEvents=t.disabled?"none":"auto",e._cd.markForCheck()})),Object(k.a)(this._destroyed)).subscribe()}},{key:"ngOnChanges",value:function(e){this._platform.isBrowser&&(this._shareButtonChanged(e.shareButtonName)&&this._createShareButton(),this._urlChanged(e.url)&&(this.url=function(e,t){if(e){if(/(http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/.test(e))return e;console.warn("[ShareButtons]: Sharing link '".concat(e,"' is invali
1d!"))}return t}(this.autoSetMeta?this.url||this._getMetaTagContent("og:url"):this.url,this._document.defaultView.location.href)))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_createShareButton",value:function(){var e=this._share.config.prop[this.shareButtonName];e?(this.shareButton=e,this._el.classList.remove("sb-"+this._buttonClass),this._el.classList.add("sb-"+this.shareButtonName),this._el.style.setProperty("--button-color",this.shareButton.color),this._buttonClass=this.shareButtonName,this.color=this.shareButton.color,this.text=this.shareButton.text,this.icon=this.shareButton.icon,this._el.setAttribute("aria-label",e.ariaLabel)):console.error("[ShareButtons]: The share button '".concat(this.shareButtonName,"' does not exist!"))}},{key:"_getMetaTagContent",value:function(e){var t=this._meta.getTag('property="'.concat(e,'"'));if(t)return t.getAttribute("content");var n=this._meta.getTag('name="'.concat(e,'"'));return n?n.getAttribute("content"):void 0}},{key:"_shareButtonChanged",value:function(e){return e&&(e.firstChange||e.previousValue!==e.currentValue)}},{key:"_urlChanged",value:function(e){return!this.url||e&&e.previousValue!==e.currentValue}},{key:"getParamsFromMetaTags",value:function(){return{url:this.url,title:this.title||this._getMetaTagContent("og:title"),description:this.description||this._getMetaTagContent("og:description"),image:this.image||this._getMetaTagContent("og:image"),via:this._share.config.twitterAccount,tags:this.tags}}},{key:"getParamsFromInputs",value:function(){return{url:this.url,title:this.title,description:this.description,image:this.image,tags:this.tags,via:this._share.config.twitterAccount}}},{key:"open",value:function(e){var t,n=this;if(t=this._platform.IOS&&this.shareButton.share.ios?this.shareButton.share.ios:this._platform.ANDROID&&this.shareButton.share.android?this.shareButton.share.android:this.shareButton.share.desktop){this._finalUrl=t+this._serializeParams(e),this._share.config.debug&&console.log("[DEBUG SHARE BUTTON]: ",this._finalUrl);var i=this.shareButton.target||this._share.config.sharerTarget;switch(this.shareButton.method||this._share.config.sharerMethod){case S.Anchor:var r=this._document.createElement("a");r.setAttribute("target",i),r.setAttribute("rel","noopener noreferrer"),r.href=this._finalUrl,r.click(),r.remove();break;case S.Window:var a=(0,this._share.config.windowObj[this._share.config.windowFuncName])(this._finalUrl,i,this._share.windowSize);if(this._share.config.windowObj.opener=null,a)return new g.a((function(e){var t=n._document.defaultView.setInterval((function(){a.closed&&(n._document.defaultView.clearInterval(t),n.closed.emit(n.shareButtonName),e.next(),e.complete())}),200)}))}this.opened.emit(this.shareButtonName)}return y.a}},{key:"_serializeParams",value:function(e){var t=this;return Object.entries(this.shareButton.params).map((function(n){var i=_slicedToArray2(n,2),r=i[0],a=i[1],o=t.shareButton.paramsFunc?t.shareButton.paramsFunc[r]:null;if(e[r]||o){var s=o?o(e):e[r];return"".concat(a,"=").concat(encodeURIComponent(s))}return""})).filter((function(e){return""!==e})).join("&")}}]),e}()).\u0275fac=function(e){return new(e||M)(r.yc(r.q),r.yc(x.g),r.yc(u),r.yc(f),r.yc(A),r.yc(r.j),r.yc(a.e))},M.\u0275dir=r.tc({type:M,selectors:[["","shareButton",""]],hostBindings:function(e,t){1&e&&r.Qc("click",(function(){return t.share()}))},inputs:{autoSetMeta:"autoSetMeta",url:"url",title:"title",description:"description",image:"image",tags:"tags",shareButtonName:["shareButton","shareButtonName"]},outputs:{opened:"opened",closed:"closed"},exportAs:["shareButton"],features:[r.hc]}),M),z=((E=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:O,useValue:t}]}}}]),e}()).\u0275mod=r.wc({type:E}),E.\u0275inj=r.vc({factory:function(e){return new(e||E)},imports:[[d,p]]}),E)},itXk:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("z+Ro"),r=n("DH7j"),a=n("l7GE"),o=n("ZUHj"),s=n("yCtX"),c={};function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=null,o=null;return Object(i.a)(t[t.length-1])&&(o=t.pop()),"function"==typeof t[t.length-1]&&(a=t.pop()),1===t.length&&Object(r.a)(t[0])&&(t=t[0]),Object(s.a)(t,o).lift(new u(a))}var u=function(){function e(t){_classCallCheck(this,e),this.resultSelector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new d(e,this.resultSelector))}}]),e}(),d=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).resultSelector=i,r.active=0,r.values=[],r.observables=[],r}return _createClass(n,[{key:"_next",value:function(e){this.values.push(c),this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var i=e[n];this.add(Object(o.a)(this,i,i,n))}}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n,i,r){var a=this.values,o=this.toRespond?a[n]===c?--this.toRespond:this.toRespond:0;a[n]=t,0===o&&(this.resultSelector?this._tryResultSelector(a):this.destination.next(a.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(a.a)},jCJ1:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return g})),n.d(t,"d",(function(){return y}
1)),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return b}));var i=n("fXoL"),r=n("ofXK"),a=n("LRne"),o=n("2Vo4"),s=(n("XNiG"),n("3Pt+")),c=new i.v("recaptcha-language"),l=new i.v("recaptcha-base-url"),u=new i.v("recaptcha-nonce-tag"),d=new i.v("recaptcha-settings"),h=new i.v("recaptcha-v3-site-key"),f=function(){var e=function(){function e(t,n,i,o,s){_classCallCheck(this,e),this.platformId=t,this.language=n,this.baseUrl=i,this.nonce=o,this.v3SiteKey=s,this.init(),this.ready=Object(r.O)(this.platformId)?e.ready.asObservable():Object(a.a)()}return _createClass(e,[{key:"init",value:function(){if(!e.ready&&Object(r.O)(this.platformId)){var t=new o.a(null);e.ready=t,function(e,n,i,r,a){window.ng2recaptchaloaded=function(){!function(e){t.next(e)}(grecaptcha)};var o=document.createElement("script");o.innerHTML="",o.src="".concat(r||"https://www.google.com/recaptcha/api.js","?render=").concat(e,"&onload=ng2recaptchaloaded").concat(i),a&&(o.nonce=a),o.async=!0,o.defer=!0,document.head.appendChild(o)}(this.v3SiteKey||"explicit",0,this.language?"&hl="+this.language:"",this.baseUrl,this.nonce)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mc(i.I),i.Mc(c,8),i.Mc(l,8),i.Mc(u,8),i.Mc(h,8))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e.ready=null,e}(),p=0,g=function(){var e=function(){function e(t,n,r,a){_classCallCheck(this,e),this.elementRef=t,this.loader=n,this.zone=r,this.id="ngrecaptcha-"+p++,this.errorMode="default",this.resolved=new i.s,this.error=new i.s,a&&(this.siteKey=a.siteKey,this.theme=a.theme,this.type=a.type,this.size=a.size,this.badge=a.badge)}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;this.subscription=this.loader.ready.subscribe((function(t){null!=t&&t.render instanceof Function&&(e.grecaptcha=t,e.renderRecaptcha())}))}},{key:"ngOnDestroy",value:function(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}},{key:"execute",value:function(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}},{key:"reset",value:function(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}},{key:"expired",value:function(){this.resolved.emit(null)}},{key:"errored",value:function(e){this.error.emit(e)}},{key:"captchaResponseCallback",value:function(e){this.resolved.emit(e)}},{key:"grecaptchaReset",value:function(){var e=this;null!=this.widget&&this.zone.runOutsideAngular((function(){return e.grecaptcha.reset(e.widget)}))}},{key:"renderRecaptcha",value:function(){var e=this,t={badge:this.badge,callback:function(t){e.zone.run((function(){return e.captchaResponseCallback(t)}))},"expired-callback":function(){e.zone.run((function(){return e.expired()}))},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(t["error-callback"]=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.zone.run((function(){return e.errored(n)}))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,t),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(f),i.yc(i.F),i.yc(d,8))},e.\u0275cmp=i.sc({type:e,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(e,t){2&e&&i.kc("id",t.id)},inputs:{id:"id",errorMode:"errorMode",siteKey:"siteKey",theme:"theme",type:"type",size:"size",badge:"badge",tabIndex:"tabIndex"},outputs:{resolved:"resolved",error:"error"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e}(),v=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)}}),e}(),m=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[f],imports:[[v]]}),e}(),b=function(){var e=function(){function e(t){_classCallCheck(this,e),this.host=t}return _createClass(e,[{key:"writeValue",value:function(e){e||this.host.reset()}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}}
1,{key:"onResolve",value:function(e){this.onChange&&this.onChange(e),this.onTouched&&this.onTouched()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(g))},e.\u0275dir=i.tc({type:e,selectors:[["re-captcha","formControlName",""],["re-captcha","formControl",""],["re-captcha","ngModel",""]],hostBindings:function(e,t){1&e&&i.Qc("resolved",(function(e){return t.onResolve(e)}))},features:[i.ic([{multi:!0,provide:s.o,useExisting:Object(i.cb)((function(){return e}))}])]}),e}(),y=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[s.k,v]]}),e}()},jMTf:function(e,t,n){"use strict";var i=n("pyRK"),r=n("U6JX"),a=Object(r.a)(Object.keys,Object),o=Object.prototype.hasOwnProperty;t.a=function(e){if(!Object(i.a)(e))return a(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},jN84:function(e,t,n){"use strict";var i=n("WJ6P"),r=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.a=a?function(e){return null==e?[]:(e=Object(e),function(t,n){for(var i=-1,a=null==t?0:t.length,o=0,s=[];++i<a;){var c=t[i];r.call(e,c)&&(s[o++]=c)}return s}(a(e)))}:i.a},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("HDdC"),r=n("quSY");function a(e,t){return new i.a((function(n){var i=new r.a,a=0;return i.add(t.schedule((function(){a!==e.length?(n.next(e[a++]),n.closed||i.add(this.schedule())):n.complete()}))),i}))}},jhN1:function(e,t,n){"use strict";n.d(t,"a",(function(){return N})),n.d(t,"b",(function(){return $})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return O})),n.d(t,"f",(function(){return S})),n.d(t,"g",(function(){return F})),n.d(t,"h",(function(){return U})),n.d(t,"i",(function(){return B})),n.d(t,"j",(function(){return H})),n.d(t,"k",(function(){return z}));var i,r=n("ofXK"),a=n("fXoL"),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getProperty",value:function(e,t){return e[t]}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"getValue",value:function(e){return e.value}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,n=s||(s=document.querySelector("base"))?s.getAttribute("href"):null;return null==n?null:(t=n,i||(i=document.createElement("a")),i.setAttribute("href",t),"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname)}},{key:"resetBaseElement",value:function(){s=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return Object(r.U)(document.cookie,e)}}],[{key:"makeCurrent",value:function(){Object(r.V)(new n)}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(r.R)),s=null,c=new a.v("TRANSITION_ID"),l=[{provide:a.d,useFactory:function(e,t,n){return function(){n.get(a.e).donePromise.then((function(){var n=Object(r.T)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter((function(t){return t.getAttribute("ng-transition")===e}
1)).forEach((function(e){return n.remove(e)}))}))}},deps:[c,r.e,a.w],multi:!0}],u=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){a.Hb.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},a.Hb.getAllAngularTestabilities=function(){return e.getAllTestabilities()},a.Hb.getAllAngularRootElements=function(){return e.getAllRootElements()},a.Hb.frameworkStabilizers||(a.Hb.frameworkStabilizers=[]),a.Hb.frameworkStabilizers.push((function(e){var t=a.Hb.getAllAngularTestabilities(),n=t.length,i=!1,r=function(t){i=i||t,0==--n&&e(i)};t.forEach((function(e){e.whenStable(r)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?Object(r.T)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){Object(a.fb)(new e)}}]),e}(),d=new a.v("EventManagerPlugins"),h=function(){var e=function(){function e(t,n){var i=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=i})),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i<n.length;i++){var r=n[i];if(r.supports(e))return this._eventNameToPlugin.set(e,r),r}throw new Error("No event manager plugin found for event "+e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Mc(d),a.Mc(a.F))},e.\u0275prov=a.uc({token:e,factory:e.\u0275fac}),e}(),f=function(){function e(t){_classCallCheck(this,e),this._doc=t}return _createClass(e,[{key:"addGlobalEventListener",value:function(e,t,n){var i=Object(r.T)().getGlobalEventTarget(this._doc,e);if(!i)throw new Error("Unsupported event target ".concat(i," for event ").concat(t));return this.addEventListener(i,t,n)}}]),e}(),p=function(){var e=function(){function e(){_classCallCheck(this,e),this._stylesSet=new Set}return _createClass(e,[{key:"addStyles",value:function(e){var t=this,n=new Set;e.forEach((function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))})),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.uc({token:e,factory:e.\u0275fac}),e}(),g=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._doc=e,i._hostNodes=new Set,i._styleNodes=new Set,i._hostNodes.add(e.head),i}return _createClass(n,[{key:"_addStylesToHost",value:function(e,t){var n=this;e.forEach((function(e){var i=n._doc.createElement("style");i.textContent=e,n._styleNodes.add(t.appendChild(i))}))}},{key:"addHost",value:function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}},{key:"removeHost",value:function(e){this._hostNodes.delete(e)}},{key:"onStylesAdded",value:function(e){var t=this;this._hostNodes.forEach((function(n){return t._addStylesToHost(e,n)}))}},{key:"ngOnDestroy",value:function(){this._styleNodes.forEach((function(e){return Object(r.T)().remove(e)}))}}]),n}(p);return e.\u0275fac=function(t){return new(t||e)(a.Mc(r.e))},e.\u0275prov=a.uc({token:e,factory:e.\u0275fac}),e}(),v={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/"},m=/%COMP%/g;function b(e,t,n){for(var i=0;i<t.length;i++){var r=t[i];Array.isArray(r)?b(e,r,n):(r=r.replace(m,e),n.push(r))}return n}function y(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var C=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new _(t)}return _createClass(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case a.Y.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new w(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyTo
1Host(e),n;case a.Y.Native:case a.Y.ShadowDom:return new k(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var i=b(t.id,t.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Mc(h),a.Mc(g),a.Mc(a.c))},e.\u0275prov=a.uc({token:e,factory:e.\u0275fac}),e}(),_=function(){function e(t){_classCallCheck(this,e),this.eventManager=t,this.data=Object.create(null)}return _createClass(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(v[t]||t,e):document.createElement(e)}},{key:"createComment",value:function(e){return document.createComment(e)}},{key:"createText",value:function(e){return document.createTextNode(e)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"insertBefore",value:function(e,t,n){e&&e.insertBefore(t,n)}},{key:"removeChild",value:function(e,t){e&&e.removeChild(t)}},{key:"selectRootElement",value:function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'.concat(e,'" did not match any elements'));return t||(n.textContent=""),n}},{key:"parentNode",value:function(e){return e.parentNode}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"setAttribute",value:function(e,t,n,i){if(i){t=i+":"+t;var r=v[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var i=v[n];i?e.removeAttributeNS(i,t):e.removeAttribute("".concat(n,":").concat(t))}else e.removeAttribute(t)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"setStyle",value:function(e,t,n,i){i&a.N.DashCase?e.style.setProperty(t,n,i&a.N.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&a.N.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,y(n)):this.eventManager.addEventListener(e,t,y(n))}}]),e}(),w=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;_classCallCheck(this,n),(o=t.call(this,e)).component=r;var s,c=b(a+"-"+r.id,r.styles,[]);return i.addStyles(c),o.contentAttr="_ngcontent-%COMP%".replace(m,a+"-"+r.id),o.hostAttr=(s=a+"-"+r.id,"_nghost-%COMP%".replace(m,s)),o}return _createClass(n,[{key:"applyToHost",value:function(e){_get(_getPrototypeOf(n.prototype),"setAttribute",this).call(this,e,this.hostAttr,"")}},{key:"createElement",value:function(e,t){var i=_get(_getPrototypeOf(n.prototype),"createElement",this).call(this,e,t);return _get(_getPrototypeOf(n.prototype),"setAttribute",this).call(this,i,this.contentAttr,""),i}}]),n}(_),k=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,o){var s;_classCallCheck(this,n),(s=t.call(this,e)).sharedStylesHost=i,s.hostEl=r,s.component=o,s.shadowRoot=o.encapsulation===a.Y.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),s.sharedStylesHost.addHost(s.shadowRoot);for(var c=b(o.id,o.styles,[]),l=0;l<c.length;l++){var u=document.createElement("style");u.textContent=c[l],s.shadowRoot.appendChild(u)}return s}return _createClass(n,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,t){return _get(_getPrototypeOf(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"insertBefore",value:function(e,t,i){return _get(_getPrototypeOf(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(e),t,i)}},{key:"removeChild",value:function(e,t){return _get(_getPrototypeOf(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(_get(_getPrototypeOf(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(e)))}}]),n}(_),x=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return _createClass(n,[{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var i=this;return e.addEventListener(t,n,!1),function(){return i.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){return e.removeEventListener(t,n)}}]),n}(f);return e.\u0275fac=function(t){return new(t||e)(a.Mc(r.e))},e.\u0275prov=a.uc({token:e,factory:e.\u0275fac}),e}(),O=new a.v("HammerGestureConfig"),S=function(){var e=function(){function e(){_classCallCheck(this,e),this.events=[],this.overrides={}}return _createClass(e,[{key:"buildHammer",value:function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.uc({token:e,factory:e.\u0275fac}),e}(),P=["alt","control","meta","shift"],E={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},M={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},I={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},D=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return _createClass(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,i){var a=n.parseEventName(t),o=n.eventCallback(a.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return Object(r.T)().onAndCancel(e,a.domEventName,o)}))}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),i=t.shift();if(0===t.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(t.pop()),a="";if(P.forEach((function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),a+=e+".")})),a+=r,0!=t.length||0===r.length)return null;var o={};return o.domEventName=i,o.fullKey=a,o}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&M.hasOwnProperty(t)&&(t=M[t]))}return E[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),P.forEach((function(i){i!=n&&(0,I[i])(e)&&(t+=i+".")})),t+=n}},{key:"eventCallback",value:function(e,t,i){return function(r){n.getEventFullKey(r)===e&&i.runGuarded((function(){return t(r)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(f);return e.\u0275fac=function(t){return new(t||e)(a.Mc(r.e))},e.\u0275prov=a.uc({token:e,factory:e.\u0275fac}),e}(),j=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(a.uc)({factory:function(){return Object(a.Mc)(T)},token:e,providedIn:"root"}),e}();function A(e){return new T(e.get(r.e))}var T=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._doc=e,i}return _createClass(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case a.P.NONE:return t;case a.P.HTML:return Object(a.qb)(t,"HTML")?Object(a.ec)(t):Object(a.nb)(this._doc,String(t));case a.P.STYLE:return Object(a.qb)(t,"Style")?Object(a.ec)(t):Object(a.ob)(t);case a.P.SCRIPT:if(Object(a.qb)(t,"Script"))return Object(a.ec)(t);throw new Error("unsafe value used in a script context");case a.P.URL:return Object(a.Gb)(t),Object(a.qb)(t,"URL")?Object(a.ec)(t):Object(a.pb)(String(t));case a.P.RESOURCE_URL:if(Object(a.qb)(t,"ResourceURL"))return Object(a.ec)(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return Object(a.sb)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return Object(a.vb)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return Object(a.ub)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return Object(a.wb)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return Object(a.tb)(e)}}]),n}(j);return e.\u0275fac=function(t){return new(t||e)(a.Mc(r.e))},e.\u0275prov=Object(a.uc)({factory:function(){return A(Object(a.Mc)(a.t))},token:e,providedIn:"root"}),e}(),z=[{provide:a.I,useValue:r.S}
1,{provide:a.J,useValue:function(){o.makeCurrent(),u.init()},multi:!0},{provide:r.e,useFactory:function(){return Object(a.ac)(document),document},deps:[]}],L=[[],{provide:a.kb,useValue:"root"},{provide:a.r,useFactory:function(){return new a.r},deps:[]},{provide:d,useClass:x,multi:!0,deps:[r.e,a.F,a.I]},{provide:d,useClass:D,multi:!0,deps:[r.e]},[],{provide:C,useClass:C,deps:[h,g,a.c]},{provide:a.M,useExisting:C},{provide:p,useExisting:g},{provide:g,useClass:g,deps:[r.e]},{provide:a.V,useClass:a.V,deps:[a.F]},{provide:h,useClass:h,deps:[d,a.F]},[]],N=function(){var e=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:a.c,useValue:t.appId},{provide:c,useExisting:a.c},l]}}}]),e}();return e.\u0275mod=a.wc({type:e}),e.\u0275inj=a.vc({factory:function(t){return new(t||e)(a.Mc(e,12))},providers:L,imports:[r.c,a.f]}),e}();function R(){return new F(Object(a.Mc)(r.e))}var F=function(){var e=function(){function e(t){_classCallCheck(this,e),this._doc=t,this._dom=Object(r.T)()}return _createClass(e,[{key:"addTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?this._getOrCreateElement(e,t):null}},{key:"addTags",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?e.reduce((function(e,i){return i&&e.push(t._getOrCreateElement(i,n)),e}),[]):[]}},{key:"getTag",value:function(e){return e&&this._doc.querySelector("meta[".concat(e,"]"))||null}},{key:"getTags",value:function(e){if(!e)return[];var t=this._doc.querySelectorAll("meta[".concat(e,"]"));return t?[].slice.call(t):[]}},{key:"updateTag",value:function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}},{key:"removeTag",value:function(e){this.removeTagElement(this.getTag(e))}},{key:"removeTagElement",value:function(e){e&&this._dom.remove(e)}},{key:"_getOrCreateElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t){var n=this._parseSelector(e),i=this.getTag(n);if(i&&this._containsAttributes(e,i))return i}var r=this._dom.createElement("meta");return this._setMetaElementAttributes(e,r),this._doc.getElementsByTagName("head")[0].appendChild(r),r}},{key:"_setMetaElementAttributes",value:function(e,t){return Object.keys(e).forEach((function(n){return t.setAttribute(n,e[n])})),t}},{key:"_parseSelector",value:function(e){var t=e.name?"name":"property";return"".concat(t,'="').concat(e[t],'"')}},{key:"_containsAttributes",value:function(e,t){return Object.keys(e).every((function(n){return t.getAttribute(n)===e[n]}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Mc(r.e))},e.\u0275prov=Object(a.uc)({factory:R,token:e,providedIn:"root"}),e}();function V(){return new U(Object(a.Mc)(r.e))}var U=function(){var e=function(){function e(t){_classCallCheck(this,e),this._doc=t}return _createClass(e,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(e){this._doc.title=e||""}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Mc(r.e))},e.\u0275prov=Object(a.uc)({factory:V,token:e,providedIn:"root"}),e}();function H(e){return e}"undefined"!=typeof window&&window;var B=function(){var e=function(){function e(){_classCallCheck(this,e),this.store={},this.onSerializeCallbacks={}}return _createClass(e,[{key:"get",value:function(e,t){return void 0!==this.store[e]?this.store[e]:t}},{key:"set",value:function(e,t){this.store[e]=t}},{key:"remove",value:function(e){delete this.store[e]}},{key:"hasKey",value:function(e){return this.store.hasOwnProperty(e)}},{key:"onSerialize",value:function(e,t){this.onSerializeCallbacks[e]=t}},{key:"toJson",value:function(){for(var e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)}}],[{key:"init",value:function(t){var n=new e;return n.store=t,n}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.uc({token:e,factory:e.\u0275fac}),e}();function q(e,t){var n,i,r=e.getElementById(t+"-state"),a={};if(r&&r.textContent)try{a=JSON.parse((n=r.textContent,i={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"},n.replace(/&[^;]+;/g,(function(e){return i[e]}))))}catch(o){console.warn("Exception while restoring TransferState for app "+t,o)}
1return B.init(a)}var $=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=a.wc({type:e}),e.\u0275inj=a.vc({factory:function(t){return new(t||e)},providers:[{provide:B,useFactory:q,deps:[r.e,a.c]}]}),e}()},jtHE:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var i=n("XNiG"),r=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?_get(_getPrototypeOf(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,i):e.flush(this)}}]),n}(n("3N8a").a),a=new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(n("IjjT").a))(r),o=n("quSY"),s=n("7o/Q"),c=n("WMd4"),l=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return _classCallCheck(this,n),(r=t.call(this,e)).scheduler=i,r.delay=a,r}return _createClass(n,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new u(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(c.a.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(c.a.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(c.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()}}]),n}(s.a),u=function e(t,n){_classCallCheck(this,e),this.notification=t,this.destination=n},d=n("9ppp"),h=n("Ylt2"),f=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,a=arguments.length>2?arguments[2]:void 0;
1return _classCallCheck(this,n),(e=t.call(this)).scheduler=a,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=i<1?1:i,e._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return _createClass(n,[{key:"nextInfiniteTimeWindow",value:function(e){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this._events.push(new p(this._getNow(),e)),this._trimBufferThenGetEvents(),_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"_subscribe",value:function(e){var t,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,a=i.length;if(this.closed)throw new d.a;if(this.isStopped||this.hasError?t=o.a.EMPTY:(this.observers.push(e),t=new h.a(this,e)),r&&e.add(e=new l(e,r)),n)for(var s=0;s<a&&!e.closed;s++)e.next(i[s]);else for(var c=0;c<a&&!e.closed;c++)e.next(i[c].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t}},{key:"_getNow",value:function(){return(this.scheduler||a).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,i=this._events,r=i.length,a=0;a<r&&!(e-i[a].time<n);)a++;return r>t&&(a=Math.max(a,r-t)),a>0&&i.splice(0,a),i}}]),n}(i.a),p=function e(t,n){_classCallCheck(this,e),this.time=t,this.value=n}},kBKH:function(e,t,n){"use strict";n.d(t,"g",(function(){return s})),n.d(t,"j",(function(){return v})),n.d(t,"k",(function(){return c})),n.d(t,"h",(function(){return C})),n.d(t,"i",(function(){return x})),n.d(t,"f",(function(){return j})),n.d(t,"a",(function(){return U})),n.d(t,"b",(function(){return H})),n.d(t,"c",(function(){return Y})),n.d(t,"d",(function(){return Q})),n.d(t,"e",(function(){return K}));var i=n("6LIB"),r=n("GJzE"),a=function(){function e(t){_classCallCheck(this,e),this.siteKeyV2=t}return _createClass(e,[{key:"isSiteKeyValid",value:function(){return"string"==typeof this.siteKeyV2&&this.siteKeyV2.length>0}},{key:"isConfigured",get:function(){return this.isSiteKeyValid()}}]),e}(),o=function e(t,n,i,r,a){_classCallCheck(this,e),this.region=t,this.primary=n,this.secondary=i,this.selected=r,this.routesRestrictions=a};function s(e){var t=function(e){return"string"==typeof e?{iso:e,name:e}:e};return e.routesRestrictions=new Map(Object(i.a)(e.routesRestrictions)?Object.entries(e.routesRestrictions):null),new o(e.region,t(e.primary),e.secondary.map(t),e.selected,e.routesRestrictions)}function c(e){return Object(i.a)(e)&&e.hasOwnProperty("content")&&(e.hasOwnProperty("property")||e.hasOwnProperty("name"))}var l=function(){function e(t,n,i,r,a,o,s,c,l,u,d,h,f,p){_classCallCheck(this,e),this.siteUrl=t,this.siteId=n,this.logoUrl=i,this.cityLogoUrl=r,this.favIconUrl=a,this.headerImage=o,this.locale=s,this.siteTheme=c,this.siteHeaderType=l,this.reCaptcha=u,this.gtmContainerId=d,this.additionalMeta=h,this.cookieConsentSettings=f,this.pushNotifications=p}return _createClass(e,[{key:"language",get:function(){var e=this.locale.split("-");if(0===e.length)throw new Error("Site locale must be set!");return e[0]}},{key:"region",get:function(){var e=this.locale.split("-");if(0===e.length)throw new Error("Site locale must be set!");return e.length>1?e[1]:null}}]),e}(),u=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.type=t,this.label=n,this.iconType=i,this.externalUrl=r,this.externalLinkOptions=a}return _createClass(e,[{key:"isExternal",get:function(){return"external"===this.type}}]),e}(),d=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.label=t,this.url=n,this.imageUrl=i,this.linkTarget=r,this.noFollow=a}return _createClass(e,[{key:"linkRel",get:function(){return this.noFollow?"nofollow":null}}]),e}(),h=function e(t,n){_classCallCheck(this,e),this.desktop=t,this.inHeader=n},f=function e(t,n,i,r){_classCallCheck(this,e),this.authUrl=t,this.title=n,this.popupWidth=i,this.popupHeight=r},p=function e(){_classCallCheck(this,e)},g=function(){function e(t,n,i,r,a,o){_classCallCheck(this,e),this.mainConfig=t,this.navigation=n,this.oAuthProviders=i,this.oldUrls=r,this.i18n=a,this.socialSharesConfig=o}return _createClass(e,[{key:"hasI18n",get:function(){return Object.keys(this.i18n).length>0}}]),e}();function v(e){var t=new Map;
1return Object.keys(e.oAuthProviders).forEach((function(n){t.set(n,function(e){return new f(e.authUrl,e.title,e.popupWidth,e.popupHeight)}(e.oAuthProviders[n]))})),new g(function(e){return new l(e.siteUrl,e.siteId,e.logoUrl,e.cityLogoUrl,e.favIconUrl,Object(r.Pb)(e.headerImage)?e.headerImage:void 0,e.locale,e.siteTheme,e.siteHeaderType,function(e){return new a(e.siteKeyV2)}(e.reCaptcha),e.gtmContainerId,(e.additionalMeta||[]).filter(c),e.cookieConsentSettings,(e.pushNotifications||[]).map(x).filter((function(e){return null!==e})))}(e.mainConfig),function(e){return new h(e.desktop.map((function(e){return function(e){var t="external"===e.type;return new u(e.type,e.label,e.iconType,t?e.externalUrl:null,t?e.externalLinkOptions:null)}(e)})),function(e){return t=e,Object(i.a)(t)&&t.hasOwnProperty("label")&&t.hasOwnProperty("url")&&t.hasOwnProperty("imageUrl")&&t.hasOwnProperty("linkTarget")&&t.hasOwnProperty("noFollow")?new d(e.label,e.url,e.imageUrl,e.linkTarget,e.noFollow):null;var t}(e.inHeader))}(e.navigation),t,function(e){var t=new p;return Object.assign(t,e),t}(e.oldUrls),e.i18n,function(e){return new Map(Object.entries(e))}(e.socialSharesConfig))}var m=function e(t,n,i,r,a,o){_classCallCheck(this,e),this.title=t,this.description=n,this.imageUrl=i,this.siteName=r,this.pageType=a,this.url=o},b=function(){function e(t,n){_classCallCheck(this,e),this.label=t,this.page=n}return _createClass(e,[{key:"isSimpleItem",get:function(){return void 0===this.page}}]),e}(),y=function(){function e(t,n,i,r,a,o,s,c,l,u,d,h){_classCallCheck(this,e),this.title=t,this.keywords=n,this.description=i,this.headerTitle=r,this.facebookAppId=a,this.breadCrumbs=o,this.openGraphTags=s,this.links=c,this.banners=l,this.additionalMeta=u,this.i18n=d,this.misc=h}return _createClass(e,[{key:"hasLinks",get:function(){return this.links.size>0}},{key:"hasAdditionalMeta",get:function(){return Array.isArray(this.additionalMeta)&&this.additionalMeta.length>0}},{key:"hasI18n",get:function(){return void 0!==this.i18n&&Object.keys(this.i18n).length>0}}]),e}();function C(e){return e.links=new Map(e.links&&Object.keys(e.links).length>0?Object.entries(e.links):[]),Array.isArray(e.additionalMeta)&&(e.additionalMeta=e.additionalMeta.filter(c)),null!==e.banners&&(e.banners=new Map(Object.keys(e.banners).map((function(t){return[t,new Map(Object.keys(e.banners[t]).map((function(n){return[n,e.banners[t][n]]})))]})))),new y(e.title,e.keywords,e.description,e.headerTitle,e.facebookAppId,e.breadCrumbs.map((function(e){return function(e){return new b(e.label,e.page)}(e)})),function(e){var t=new m;return Object.assign(t,e),t}(e.openGraphTags),e.links,e.banners,e.additionalMeta,e.i18n,e.misc)}var _=function(){function e(t){_classCallCheck(this,e),this.scriptUrl=t.scriptUrl}return _createClass(e,[{key:"register",value:function(e){if(0===this.scriptUrl.length)return!1;var t=e.get(r.A,null);return null!==t&&(t.injectJsFile(this.scriptUrl).catch((function(e){console.log(e)})),!0)}}],[{key:"isValidConfig",value:function(e){return Object(i.a)(e)&&"string"==typeof e.scriptUrl}}]),e}(),w=function(){function e(t){_classCallCheck(this,e),this.sdkUrl=t.sdkUrl,this.manifestUrl=t.manifestUrl,this.initOptions=t.initOptions}return _createClass(e,[{key:"register",value:function(e){var t=this;if(0===Object.keys(this.initOptions).length)return!1;if(0!==this.manifestUrl.length){var n=e.get(r.T,null);null!==n&&n.updateLinkUrl("manifest",this.manifestUrl)}if(0!==this.sdkUrl.length){var i=e.get(r.A,null);if(null===i)return!1;i.injectJsFile(this.sdkUrl).then((function(){if(Object(r.Kb)()){var e=Object(r.Jb)();void 0===e.OneSignal&&(e.OneSignal=[]),e.OneSignal.push((function(){e.OneSignal.init(t.initOptions)}))}})).catch((function(e){console.log(e)}))}return!0}}],[{key:"isValidConfig",value:function(e){return Object(i.a)(e)&&"string"==typeof e.sdkUrl&&"string"==typeof e.manifestUrl&&Object(i.a)(e.initOptions)}}]),e}(),k=function(){function e(t){_classCallCheck(this,e),this.scriptUrl=t.scriptUrl}return _createClass(e,[{key:"register",value:function(e){if(0===this.scriptUrl.length)return!1;var t=e.get(r.A,null);return null!==t&&(t.injectJsFile(this.scriptUrl).catch((function(e){console.log(e)})),!0)}}],[{key:"isValidConfig",value:function(e){return Object(i.a)(e)&&"string"==typeof e.scriptUrl}}]),e}();function x(e){if(!Object(i.a)(e)||"string"!=typeof e.name)return null;switch(e.name){case"gravitec":return _.isValidConfig(e)?new _(e):null;case"oneSignal":return w.isValidConfig(e)?new w(e):null;case"sendPulse":return k.isValidConfig(e)?new k(e):null;default:return null}}var O=function e(t,n,i){_classCallCheck(this,e),this.url=t,this.name=n,this.noFollow=i};function S(e){return new O(e.url,e.name,void 0!==e.noFollow&&e.noFollow)}var P=function e(t,n,i){_classCallCheck(this,e),this.aboutUs=t,this.mobile=n,this.social=i},E=function e(t,n,i){_classCallCheck(this,e),this.address=t,this.email=n,this.phone=i},M=function e(t,n,i){_classCallCheck(this,e),this.label=t,this.url=n,this.options=i},I=function e(t,n,i,r,a){_classCallCheck(this,e),this.copyright=t,this.counters=n,this.info=i,this.socialsNetwork=r,this.staticPageLinks=a},D=function e(t,n){_classCallCheck(this,e),this.bottom=t,this.top=n};function j(e){return new D(function(e){var t=new Map;
1return Object.keys(e.staticPageLinks).forEach((function(n){t.set(n,function(e){return new M(e.label,e.url,e.options)}(e.staticPageLinks[n]))})),new I(e.copyright,e.counters,function(e){return new E(e.address,e.email,e.phone)}(e.info),new Map(Object.entries(e.socialsNetwork)),t)}(e.bottom),function(e){return new P(e.aboutUs.map(S),e.mobile.map(S),e.social.map(S))}(e.top))}var A,T,z,L,N=n("LRne"),R=n("lJxs"),F=n("fXoL"),V=n("tk/3"),U=((A=function(){function e(t,n,i){_classCallCheck(this,e),this.http=t,this.transferStateService=n,this.siteApiHostInfo=i}return _createClass(e,[{key:"requestSiteConfig",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.transferStateService.makeStateKey("site-config-".concat(t,"-").concat(n));return this.transferStateService.hasKey(i)?Object(N.a)(v(this.transferStateService.restoreData(i,null))):this.http.get("".concat(this.siteApiHostInfo).concat(e.siteConfigUrl)).pipe(Object(r.Tb)(this.transferStateService,i),Object(R.a)(v))}},{key:"requestSiteLanguages",value:function(){var e=this.transferStateService.makeStateKey("site-languages");return this.transferStateService.hasKey(e)?Object(N.a)(s(this.transferStateService.restoreData(e,null))):this.http.get(this.siteApiHostInfo+"api3/misc/site-languages").pipe(Object(r.Tb)(this.transferStateService,e),Object(R.a)(s))}},{key:"requestSiteFooter",value:function(){console.log("Request footer");var t=this.transferStateService.makeStateKey("site-footer");return this.transferStateService.hasKey(t)?Object(N.a)(j(this.transferStateService.restoreData(t,null))):this.http.get("".concat(this.siteApiHostInfo).concat(e.siteFooterUrl)).pipe(Object(r.Tb)(this.transferStateService,t),Object(R.a)(j))}},{key:"requestPageMeta",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Object(r.Hb)(n),a=this.transferStateService.makeStateKey("page-meta-".concat(t,"-").concat(i));return this.transferStateService.hasKey(a)?Object(N.a)(C(this.transferStateService.restoreData(a,null))):this.http.get("".concat(this.siteApiHostInfo).concat(e.pageMetaUrl,"/").concat(t),{params:i}).pipe(Object(r.Tb)(this.transferStateService,a),Object(R.a)(C))}}]),e}()).siteConfigUrl="api3/misc",A.siteFooterUrl="api3/misc/get-footer",A.pageMetaUrl="api3/misc/page-meta",A.\u0275fac=function(e){return new(e||A)(F.Mc(V.b),F.Mc(r.yb),F.Mc(r.hb))},A.\u0275prov=F.uc({token:A,factory:A.\u0275fac,providedIn:"root"}),A),H=function(){function e(t,n,i,r,a,o){_classCallCheck(this,e),this.titleService=t,this.metaService=n,this.pageMetaDataService=i,this.titleDataService=r,this.pageLinksService=a,this.bannersPlacesService=o}return _createClass(e,[{key:"setUpPageMeta",value:function(e){var t=this;this.titleService.setTitle(e.title),this.titleDataService.changeTitle(e.headerTitle),this.pageMetaDataService.updateBreadCrumbs(e.breadCrumbs),this.setUpPageLinks(e.links),this.metaService.updateTag({name:"description",content:e.description}),this.metaService.updateTag({name:"keywords",content:Array.isArray(e.keywords)?e.keywords.join(", "):e.keywords}),e.facebookAppId?this.metaService.updateTag({property:"fb:app_id",content:e.facebookAppId}):this.metaService.removeTag("property='fb:app_id'"),e.hasAdditionalMeta&&e.additionalMeta.forEach((function(e){t.metaService.updateTag(e)}))}},{key:"setUpPageOpenGraph",value:function(e){var t=this,n={title:"og:title",pageType:"og:type",description:"og:description",url:"og:url",siteName:"og:site_name",imageUrl:"og:image"};Object.keys(n).forEach((function(i){var r=n[i];e[i]?t.metaService.updateTag({property:r,content:e[i]}):t.metaService.removeTag("property='".concat(r,"'"))}))}},{key:"setUpPageLinks",value:function(e){var t=this;["canonical","amphtml","manifest","alternate"].forEach((function(n){if(e.has(n)){var i=e.get(n);Array.isArray(i)?(t.pageLinksService.removeLinkUrl(n),t.pageLinksService.createLink(n,i)):t.pageLinksService.updateLinkUrl(n,i)}else t.pageLinksService.removeLinkUrl(n)})),this.pageMetaDataService.updateLinks(e)}},{key:"updateBannersPlacesInfo",value:function(e,t){this.bannersPlacesService.updateBannerPlacesInfo(e,null!==t?t:new Map)}},{key:"pageMiscData",get:function(){}}]),e}(),B=n("ofXK"),q=n("eIep"),$=n("vkgz"),W=n("CqXF"),G=n("UXun"),X=n("sYmb"),Z=n("jhN1"),Y=((L=function(){function e(t,n,i,r,a,o,s,c){_classCallCheck(this,e),this.injector=t,this.translateService=n,this.apiService=i,this.pageLinksService=r,this.languagesManagerService=a,this.siteThemeService=o,this.metaService=s,this.document=c}return _createClass(e,[{key:"prepare",value:function(){var e=this;return void 0===this.prepareObservable&&(this.prepareObservable=this.languagesManagerService.appLocale$.pipe(Object(q.a)((function(){return e.apiService.requestSiteConfig()}
1)),Object($.a)((function(t){e.siteConfigData=t,e.setUpSite(t),e.siteConfigData.hasI18n&&e.translateService.setTranslation(e.translateService.currentLang,e.siteConfigData.i18n,!0)})),Object(W.a)(!0),Object(G.a)(1))),this.prepareObservable}},{key:"setUpSite",value:function(e){var t=this,n=e.mainConfig;this.document&&(this.document.documentElement.lang=n.language,this.siteThemeService.setUpSiteTheme(e.mainConfig.siteTheme),n.favIconUrl&&this.pageLinksService.setFavIcon(n.favIconUrl,"image/png"),n.additionalMeta.forEach((function(e){t.metaService.updateTag(e)})));var i=this.injector.get(r.t,null);if(null!==i&&i.isBrowserApp&&n.pushNotifications.length>0){var a,o=_createForOfIteratorHelper(n.pushNotifications);try{for(o.s();!(a=o.n()).done&&!a.value.register(this.injector););}catch(s){o.e(s)}finally{o.f()}}}},{key:"instantMainConfig",get:function(){var e;return null===(e=this.siteConfigData)||void 0===e?void 0:e.mainConfig}},{key:"instantSiteLocale",get:function(){return this.siteConfigData.mainConfig.locale}},{key:"allConfig",get:function(){var e=this;return this.prepare().pipe(Object(R.a)((function(){return e.siteConfigData})))}},{key:"siteLocale",get:function(){var e=this;return this.prepare().pipe(Object(R.a)((function(){return e.siteConfigData.mainConfig.locale})))}},{key:"instantSocialSharesConfig",get:function(){var e;return null===(e=this.siteConfigData)||void 0===e?void 0:e.socialSharesConfig}}]),e}()).\u0275fac=function(e){return new(e||L)(F.Mc(F.w),F.Mc(X.e),F.Mc(U),F.Mc(r.T),F.Mc(r.C),F.Mc(K),F.Mc(Z.g),F.Mc(B.e,8))},L.\u0275prov=F.uc({token:L,factory:L.\u0275fac,providedIn:"root"}),L),Q=((z=function(){function e(t){_classCallCheck(this,e),this.apiService=t}return _createClass(e,[{key:"prepare",value:function(){var e=this;return void 0===this.prepareObservable&&(this.prepareObservable=this.apiService.requestSiteFooter().pipe(Object($.a)((function(t){e.footerModel=t})),Object(W.a)(!0),Object(G.a)(1))),this.prepareObservable}},{key:"footer",get:function(){var e=this;return this.prepare().pipe(Object(R.a)((function(){return Object.assign({},e.footerModel)})))}}]),e}()).\u0275fac=function(e){return new(e||z)(F.Mc(U))},z.\u0275prov=F.uc({token:z,factory:z.\u0275fac,providedIn:"root"}),z),K=((T=function(){function e(t,n,i){_classCallCheck(this,e),this.metaService=t,this.deviceState=n,this.document=i}return _createClass(e,[{key:"setUpSiteTheme",value:function(e){if(null!==this.document){var t=this.document.documentElement;t.setAttribute("data-site-theme",e);
1var n=this.getPrimaryThemeColor(e),i=this.getSecondaryThemeColor(e);this.deviceState.isBrowserApp?(t.style.setProperty("--green-primary-h",n.h),t.style.setProperty("--green-primary-s",n.s),t.style.setProperty("--green-primary-l",n.l),t.style.setProperty("--green-extra-h",i.h),t.style.setProperty("--green-extra-s",i.s),t.style.setProperty("--green-extra-l",i.l)):t.setAttribute("style","--green-primary-h: ".concat(n.h,"; --green-primary-s: ").concat(n.s,"; --green-primary-l:\n      ").concat(n.l,"; --green-extra-h: ").concat(i.h,"; --green-extra-s: ").concat(i.s,"; --green-extra-l: ").concat(i.l,";")),this.metaService.updateTag({name:"theme-color",content:"hsl(".concat(n.h," ").concat(n.s," ").concat(n.l,")")})}}},{key:"getPrimaryThemeColor",value:function(e){switch(e){case"blue":return{h:"236",s:"64.6%",l:"52.4%"};case"darkGreen":return{h:"151",s:"62.8%",l:"35.9%"};default:return{h:"72",s:"100%",l:"35.3%"}}}},{key:"getSecondaryThemeColor",value:function(e){switch(e){case"blue":return{h:"236",s:"64.6%",l:"52.4%"};case"darkGreen":default:return{h:"101",s:"37%",l:"44%"}}}}]),e}()).\u0275fac=function(e){return new(e||T)(F.Mc(Z.g),F.Mc(r.t),F.Mc(B.e,8))},T.\u0275prov=F.uc({token:T,factory:T.\u0275fac,providedIn:"root"}),T)},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},l7GE:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,i,r){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(n("7o/Q").a)},lJxs:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new a(e,t))}}var a=function(){function e(t,n){_classCallCheck(this,e),this.project=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new o(e,this.project,this.thisArg))}}]),e}(),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).project=i,a.count=0,a.thisArg=r||_assertThisInitialized(a),a}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(i.a)},lPHt:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n("vkgz"),r=n("CqXF"),a=n("UXun"),o=n("kBKH"),s=n("qHzz"),c=n("fXoL"),l=n("jhN1"),u=n("GJzE"),d=n("sYmb"),h=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c,l){var u;return _classCallCheck(this,n),(u=t.call(this,e,i,r,a,o,s)).translateService=c,u.apiService=l,u}return _createClass(n,[{key:"prepare",value:function(e,t){var n=this;if(void 0===this.prepareObservable||null!==e){var o={id:e};t&&(o.demo=t),this.prepareObservable=this.apiService.requestPageMeta("newsDetailPage",o).pipe(Object(i.a)((function(e){e.misc=Object(s.w)(e.misc),n.pageMeta=e,n.pageMeta.hasI18n&&n.translateService.setTranslation(n.translateService.currentLang,n.pageMeta.i18n,!0)})),Object(r.a)(!0),Object(a.a)(1),Object(i.a)((function(){n.setUpPageMeta(n.pageMeta),n.setUpPageOpenGraph(n.pageMeta.openGraphTags),n.updateBannersPlacesInfo("news",n.pageMeta.banners)})))}return this.prepareObservable}},{key:"pageMiscData",get:function(){return this.pageMeta.misc}},{key:"openGraphTags",get:function(){return this.pageMeta.openGraphTags}}]),n}(o.b);return e.\u0275fac=function(t){return new(t||e)(c.Mc(l.h),c.Mc(l.g),c.Mc(u.V),c.Mc(u.xb),c.Mc(u.T),c.Mc(u.k),c.Mc(d.e),c.Mc(o.a))},e.\u0275prov=c.uc({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},lkxz:function(e,t,n){"use strict";var i=n("Ce4a");t.a=function(e){var t=new e.constructor(e.byteLength);return new i.a(t).set(new i.a(e)),t}},mCNh:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var i=n("SpAZ");function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a(t)}
1function a(e){return 0===e.length?i.a:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}},mkut:function(e,t,n){"use strict";var i=n("7gMY"),r=n("jMTf"),a=n("5WsY");t.a=function(e){return Object(a.a)(e)?Object(i.a)(e):Object(r.a)(e)}},mrSG:function(e,t,n){"use strict";function i(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}n.d(t,"a",(function(){return i}))},n6bG:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,"a",(function(){return i}))},nFFm:function(e,t,n){"use strict";n.d(t,"g",(function(){return o})),n.d(t,"k",(function(){return s})),n.d(t,"m",(function(){return c})),n.d(t,"n",(function(){return l})),n.d(t,"o",(function(){return u})),n.d(t,"c",(function(){return p})),n.d(t,"i",(function(){return g})),n.d(t,"d",(function(){return v.a})),n.d(t,"j",(function(){return x})),n.d(t,"a",(function(){return O})),n.d(t,"e",(function(){return P})),n.d(t,"f",(function(){return M})),n.d(t,"h",(function(){return S})),n.d(t,"l",(function(){return E})),n.d(t,"b",(function(){return T}));var i=function e(t,n,i,r){_classCallCheck(this,e),this.id=t,this.answer=n,this.votesCount=i,this.posterUrl=r};function r(e){var t=new i(e.id);return Object.assign(t,e),t}var a=function e(t,n,i,r,a,o,s,c,l,u,d,h,f){_classCallCheck(this,e),this.id=t,this.isWhoWorse=n,this.question=i,this.answers=r,this.isActive=a,this.canUserVote=o,this.votesCount=s,this.votesCountLabel=c,this.userVote=l,this.beginDate=u,this.endDate=d,this.url=h,this.posterUrl=f},o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c,l,u,d,h,f){var p;return _classCallCheck(this,n),(p=t.call(this,e,!1,i,r,a,o,s,c,l,u,d,h,f)).id=e,p.question=i,p.answers=r,p.isActive=a,p.canUserVote=o,p.votesCount=s,p.votesCountLabel=c,p.userVote=l,p.beginDate=u,p.endDate=d,p.url=h,p.posterUrl=f,p}return n}(a),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c,l,u,d,h){var f;return _classCallCheck(this,n),(f=t.call(this,e,!0,i,r,a,o,s,c,l,u,d,h,null)).id=e,f.question=i,f.answers=r,f.isActive=a,f.canUserVote=o,f.votesCount=s,f.votesCountLabel=c,f.userVote=l,f.beginDate=u,f.endDate=d,f.url=h,f}return n}(a);function c(e){if(!e.hasOwnProperty("isWhoWorse"))throw Error("Field isWhoWorse must be set");var t=e.isWhoWorse?new s(e.id):new o(e.id);return e.hasOwnProperty("answers")&&(e.answers=e.answers.map(r)),Object.assign(t,e),t}function l(e){return e.isWhoWorse=!1,c(e)}function u(e){return e.isWhoWorse=!0,c(e)}var d,h,f=n("ehPC"),p=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c,l){var u;return _classCallCheck(this,n),(u=t.call(this,e,i,r)).width=e,u.height=i,u.pEmptyAction=r,u.id=a,u.label=o,u.resultsLabel=s,u.voteLabel=c,u.votesCountLabel=l,u.pType=f.R.Poll,u}return _createClass(n,[{key:"getComponent",value:function(){return v.a}}]),n}(f.i),g=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this,e,i,r)).width=e,s.height=i,s.pEmptyAction=r,s.id=a,s.votesCountLabel=o,s.pType=f.R.TwoAnswerPoll,s}return _createClass(n,[{key:"getComponent",value:function(){return x}}]),n}(f.i),v=n("dDMU"),m=n("PqYM"),b=n("lJxs"),y=n("IzEk"),C=n("AytR"),_=n("GJzE"),w=n("fXoL"),k=n("sYmb"),x=((d=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s){var c;return _classCallCheck(this,n),(c=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,c.injector=i,c.translateService=r,c.addPollVoteService=a,c.pollsService=o,c.selectedPollsService=s,c.waitRequest=!1,c.errorMessages=[],c}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.votesCountLabelKey===this.translateService.instant(this.votesCountLabelKey,{n:1,count:1})&&this.translateService.set(this.votesCountLabelKey,this.widget.votesCountLabel),(null!==this.widget.id?this.selectedPollsService.getSelectedTwoAnswerPoll(this.widget.id):this.pollsService.getNextTwoAnswerPolls(1).pipe(Object(b.a)((function(e){return null!==e?e[0]:null})))).pipe(Object(y.a)(1)).subscribe((function(t){e.model=t,null!==e.model?e.emitHasData():e.emitEmptyData();var n=function(){e.emitComponentLoaded()};C.a.useLoadingDelay?Object(m.a)(1500).subscribe(n):n()}))}},{key:"getAnswerVotesPercent",value:function(e){return 0!==this.model.votesCount?e.votesCount/this.model.votesCount:0}},{key:"isUserAnswer",value:function(e){return this.model.userVote&&e.id===this.model.userVote}},{key:"addUserVote",value:function(e){var t;(null===(t=this.model)||void 0===t?void 0:t.canUserVote)&&(this.errorMessages=[],this.waitRequest=!0,this.answerToVote=e,this.reCaptchaExecute())}},{key:"clearField",value:function(){this.answerToVote=void 0,this.waitRequest=!1}},{key:"reCaptchaExecute",value:function(){var e=this;this.reCaptcha.queueExecute({onSuccess:function(t){e.addPollVoteService.addVote(e.model,e.answerToVote,t).pipe(Object(y.a)(1)).subscribe({error:function(t){e.errorMessages=Array.isArray(t.error)?t.error.map((function(e){return e.message})):[],e.clearField()},complete:function(){e.clearField()}})},onExpire:function(){e.clearField()},onError:function(){e.clearField(),e.reCaptcha.showErrorMessage()}})}},{key:"showResults",get:function(){var e;return!(null===(e=this.model)||void 0===e?void 0:e.canUserVote)}},{key:"votesCountLabelKey",get:function(){return"two-answer-poll-widget-votes-count-label"}}]),n}(f.j)).\u0275fac=function(e){return new(e||d)(w.yc(f.A,8),w.yc(w.w),w.yc(k.e),w.yc(O),w.yc(E),w.yc(M))},d.\u0275cmp=w.sc({type:d,selectors:[["app-shared-two-answer-poll"]],viewQuery:function(e,t){var n;1&e&&w.Dd(_.Z,!0),2&e&&w.jd(n=w.Rc())&&(t.reCaptcha=n.first)},features:[w.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),d),O=new w.v("Add poll's vote service"),S=(new w.v("Polls service with simple poll"),new w.v("Paged polls service for simple poll")),P=new w.v("Polls service with selected simple poll"),E=new w.v("Polls service with two-answer poll"),M=(new w.v("Paged polls service for two-answer poll"),new w.v("Polls service with selected two-answer poll")),I=n("LRne"),D=n("fujP"),j=n("LrWZ"),A=n("tk/3"),T=((h=function(){function e(t,n,i){_classCallCheck(this,e),this.http=t,this.transferStateService=n,this.siteApiHostInfo=i}return _createClass(e,[{key:"doCompoundRequest",value:function(e){var t={request:{}},n=["question","url","votesCount","votesCountLabel","userVote","canUserVote","isActive","answers.answer","answers.votesCount"];if(!0===e.simplePolls.count||e.simplePolls.count>0){var i={onlyActive:!1};e.selectedIds.length>0&&(i.excludedIds=e.selectedIds),t.request.simplePolls={filter:i,fields:n.join()},!0===e.simplePolls.count?t.request.simplePolls.extraParams={page:1,"per-page":1}:i.count=e.simplePolls.count}if(e.twoAnswerPolls.count>0){var r={count:e.twoAnswerPolls.count,onlyActive:!1};e.selectedIds.length>0&&(r.excludedIds=e.selectedIds),t.request.twoAnswerPolls={filter:r,fields:[].concat(n,["answers.posterUrl"]).join()}}e.selectedIds.length>0&&(t.request.selectedPolls={filter:{onlyActive:!1,selectedIds:e.selectedIds},fields:[].concat(n,["isWhoWorse","answers.posterUrl"]).join()});var a=Object(_.Hb)(t),o=this.transferStateService.makeStateKey("compound-poll-models-"+a);return this.transferStateService.hasKey(o)?Object(I.a)(this.buildCompoundPolls(this.transferStateService.restoreData(o,null))):(Object.keys(t.request).length>0?this.http.get(this.siteApiHostInfo+"api3/polls/compound",{params:a,withCredentials:!0}):Object(I.a)({})).pipe(Object(_.Tb)(this.transferStateService,o),Object(b.a)(this.buildCompoundPolls))}},{key:"doSimplePollsRequest",value:function(e,t,n){return this.doSimpleRequest(e,t,n,"simplePolls")}},{key:"doTwoAnswerPollsRequest",value:function(e,t,n){return this.doSimpleRequest(e,t,n,"twoAnswerPolls")}},{key:"doSimpleRequest",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r={filter:e,expand:Array.isArray(t)?t.join():t};Object(D.a)(n)||(r=Object.assign(Object.assign({},r),n)),Object(j.a)(i)||(r.template=i);var a,o=Object(_.Hb)(r),s=this.transferStateService.makeStateKey("".concat(i,"-poll-models-").concat(o)),d={params:o};switch(i){case"simplePolls":a=l;break;case"twoAnswerPolls":a=u;break;default:a=c}return this.http.get(this.siteApiHostInfo+"api3/polls",d).pipe(Object(_.Tb)(this.transferStateService,s),Object(b.a)((function(e){var t=e.hasOwnProperty("_meta"),n=e.polls.map(a);return t?new _.ob(n,e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount):n})))}},{key:"addVote",value:function(e,t,n){var i="".concat(this.siteApiHostInfo,"api3/polls/").concat(e.id,"/votes?expand=").concat(["isWhoWorse","votesCount","votesCountLabel","userVote","canUserVote","isActive","answers.votesCount"].join());return this.http.post(i,{answerId:t.id,reCaptcha:n},{withCredentials:!0}).pipe(Object(b.a)((function(e){return c(e)})))}},{key:"buildCompoundPolls",value:function(e){var t=function(e,t){return new _.ob(e.polls.map(t),e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount)};if(e.simplePolls&&(e.simplePolls=Array.isArray(e.simplePolls)?e.simplePolls.map(l):t(e.simplePolls,l)),e.twoAnswerPolls&&(e.twoAnswerPolls=Array.isArray(e.twoAnswerPolls)?e.twoAnswerPolls.map(u):t(e.twoAnswerPolls,u)),e.selectedPolls)for(var n in e.selectedPolls)e.selectedPolls.hasOwnProperty(n)&&(e.selectedPolls[n]=c(e.selectedPolls[n]));return e}}]),e}()).\u0275fac=function(e){return new(e||h)(w.Mc(A.b),w.Mc(_.yb),w.Mc(_.hb))},h.\u0275prov=w.uc({token:h,factory:h.\u0275fac,providedIn:"root"}),h)},nL8Z:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL"),r=function(){var e=function(){function e(t){_classCallCheck(this,e),this.elementRef=t,this.clickOutside=new i.s}return _createClass(e,[{key:"onDocumentClicked",value:function(e,t){t&&document.body.contains(t)&&!this.elementRef.nativeElement.contains(t)&&this.clickOutside.emit(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q))},e.\u0275dir=i.tc({type:e,selectors:[["","appClickOutside",""]],hostBindings:function(e,t){1&e&&i.Qc("click",(function(e){return t.onDocumentClicked(e,e.target)}),!1,i.ld)},outputs:{clickOutside:"clickOutside"}}),e}()},nLtN:function(e,t,n){"use strict";var i=n("YHEm"),r=function(e,t){for(var n=e.length;n--;)if(Object(i.a)(e[n][0],t))return n;return-1},a=Array.prototype.splice;function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}o.prototype.clear=function(){this.__data__=[],this.size=0},o.prototype.delete=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():a.call(t,n,1),--this.size,0))},o.prototype.get=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]},o.prototype.has=function(e){return r(this.__data__,e)>-1},o.prototype.set=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},t.a=o},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){return function(t){for(var n=0,i=e.length;n<i&&!t.closed;
1n++)t.next(e[n]);t.complete()}}},nhfI:function(e,t,n){"use strict";n.d(t,"a",(function(){return Le})),n.d(t,"b",(function(){return ze})),n.d(t,"c",(function(){return Ne}));var i=n("fXoL"),r=n("ofXK");function a(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function o(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(n){void 0===e[n]?e[n]=t[n]:a(t[n])&&a(e[n])&&Object.keys(t[n]).length>0&&o(e[n],t[n])}))}var s="undefined"!=typeof document?document:{},c={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};o(s,c);var l="undefined"!=typeof window?window:{};o(l,{document:c,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}});var u=function e(t){_classCallCheck(this,e);for(var n=0;n<t.length;n+=1)this[n]=t[n];return this.length=t.length,this};function d(e,t){var n=[],i=0;if(e&&!t&&e instanceof u)return e;if(e)if("string"==typeof e){var r,a,o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){var c="div";for(0===o.indexOf("<li")&&(c="ul"),0===o.indexOf("<tr")&&(c="tbody"),0!==o.indexOf("<td")&&0!==o.indexOf("<th")||(c="tr"),0===o.indexOf("<tbody")&&(c="table"),0===o.indexOf("<option")&&(c="select"),(a=s.createElement(c)).innerHTML=o,i=0;i<a.childNodes.length;i+=1)n.push(a.childNodes[i])}else for(r=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||s).querySelectorAll(e.trim()):[s.getElementById(e.trim().split("#")[1])],i=0;i<r.length;i+=1)r[i]&&n.push(r[i])}else if(e.nodeType||e===l||e===s)n.push(e);else if(e.length>0&&e[0].nodeType)for(i=0;i<e.length;i+=1)n.push(e[i]);return new u(n)}function h(e){for(var t=[],n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}d.fn=u.prototype,d.Class=u,d.Dom7=u,"resize scroll".split(" ");var f={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.add(t[n]);return this},removeClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.remove(t[n]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.toggle(t[n]);return this},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(var i in e)this[n][i]=e[i],this[n].setAttribute(i,e[i]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var n;if(void 0!==t){for(var i=0;i<this.length;i+=1)(n=this[i]).dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this}if(n=this[0])return n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage?n.dom7ElementDataStorage[e]:n.getAttribute("data-"+e)||void 0},transform:function(e){for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransform=e,n.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransitionDuration=e,n.transitionDuration=e}return this},on:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=n[0],a=n[1],o=n[2],s=n[3];function c(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),d(t).is(a))o.apply(t,n);else for(var i=d(t).parents(),r=0;r<i.length;r+=1)d(i[r]).is(a)&&o.apply(i[r],n)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),o.apply(this,t)}"function"==typeof n[1]&&(r=(e=_slicedToArray2(n,3))[0],o=e[1],s=e[2],a=void 0),s||(s=!1);for(var u,h=r.split(" "),f=0;f<this.length;f+=1){var p=this[f];if(a)for(u=0;
1u<h.length;u+=1){var g=h[u];p.dom7LiveListeners||(p.dom7LiveListeners={}),p.dom7LiveListeners[g]||(p.dom7LiveListeners[g]=[]),p.dom7LiveListeners[g].push({listener:o,proxyListener:c}),p.addEventListener(g,c,s)}else for(u=0;u<h.length;u+=1){var v=h[u];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[v]||(p.dom7Listeners[v]=[]),p.dom7Listeners[v].push({listener:o,proxyListener:l}),p.addEventListener(v,l,s)}}return this},off:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=n[0],a=n[1],o=n[2],s=n[3];"function"==typeof n[1]&&(r=(e=_slicedToArray2(n,3))[0],o=e[1],s=e[2],a=void 0),s||(s=!1);for(var c=r.split(" "),l=0;l<c.length;l+=1)for(var u=c[l],d=0;d<this.length;d+=1){var h=this[d],f=void 0;if(!a&&h.dom7Listeners?f=h.dom7Listeners[u]:a&&h.dom7LiveListeners&&(f=h.dom7LiveListeners[u]),f&&f.length)for(var p=f.length-1;p>=0;p-=1){var g=f[p];o&&g.listener===o||o&&g.listener&&g.listener.dom7proxy&&g.listener.dom7proxy===o?(h.removeEventListener(u,g.proxyListener,s),f.splice(p,1)):o||(h.removeEventListener(u,g.proxyListener,s),f.splice(p,1))}}return this},trigger:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var i=t[0].split(" "),r=t[1],a=0;a<i.length;a+=1)for(var o=i[a],c=0;c<this.length;c+=1){var u=this[c],d=void 0;try{d=new l.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0})}catch(h){(d=s.createEvent("Event")).initEvent(o,!0,!0),d.detail=r}u.dom7EventData=t.filter((function(e,t){return t>0})),u.dispatchEvent(d),u.dom7EventData=[],delete u.dom7EventData}return this},transitionEnd:function(e){var t,n=["webkitTransitionEnd","transitionend"],i=this;function r(a){if(a.target===this)for(e.call(this,a),t=0;t<n.length;t+=1)i.off(n[t],r)}if(e)for(t=0;t<n.length;t+=1)i.on(n[t],r);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),n=s.body;return{top:t.top+(e===l?l.scrollY:e.scrollTop)-(e.clientTop||n.clientTop||0),left:t.left+(e===l?l.scrollX:e.scrollLeft)-(e.clientLeft||n.clientLeft||0)}}return null},css:function(e,t){var n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(var i in e)this[n].style[i]=e[i];return this}if(this[0])return l.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,n,i=this[0];if(!i||void 0===e)return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(t=d(e),n=0;n<t.length;n+=1)if(t[n]===i)return!0;return!1}if(e===s)return i===s;if(e===l)return i===l;if(e.nodeType||e instanceof u){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===i)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,n=this.length;return e>n-1?new u([]):e<0?new u((t=n+e)<0?[]:[this[t]]):new u([this[e]])},append:function(){for(var e,t=0;t<arguments.length;t+=1){e=t<0||arguments.length<=t?void 0:arguments[t];for(var n=0;n<this.length;n+=1)if("string"==typeof e){var i=s.createElement("div");for(i.innerHTML=e;i.firstChild;)this[n].appendChild(i.firstChild)}else if(e instanceof u)for(var r=0;r<e.length;r+=1)this[n].appendChild(e[r]);else this[n].appendChild(e)}return this},prepend:function(e){var t,n;for(t=0;t<this.length;t+=1)if("string"==typeof e){var i=s.createElement("div");for(i.innerHTML=e,n=i.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(i.childNodes[n],this[t].childNodes[0])}else if(e instanceof u)for(n=0;n<e.length;
1n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&d(this[0].nextElementSibling).is(e)?new u([this[0].nextElementSibling]):new u([]):new u(this[0].nextElementSibling?[this[0].nextElementSibling]:[]):new u([])},nextAll:function(e){var t=[],n=this[0];if(!n)return new u([]);for(;n.nextElementSibling;){var i=n.nextElementSibling;e?d(i).is(e)&&t.push(i):t.push(i),n=i}return new u(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&d(t.previousElementSibling).is(e)?new u([t.previousElementSibling]):new u([]):new u(t.previousElementSibling?[t.previousElementSibling]:[])}return new u([])},prevAll:function(e){var t=[],n=this[0];if(!n)return new u([]);for(;n.previousElementSibling;){var i=n.previousElementSibling;e?d(i).is(e)&&t.push(i):t.push(i),n=i}return new u(t)},parent:function(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?d(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return d(h(t))},parents:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var i=this[n].parentNode;i;)e?d(i).is(e)&&t.push(i):t.push(i),i=i.parentNode;return d(h(t))},closest:function(e){var t=this;return void 0===e?new u([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var i=this[n].querySelectorAll(e),r=0;r<i.length;r+=1)t.push(i[r]);return new u(t)},children:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var i=this[n].childNodes,r=0;r<i.length;r+=1)e?1===i[r].nodeType&&d(i[r]).is(e)&&t.push(i[r]):1===i[r].nodeType&&t.push(i[r]);return new u(h(t))},filter:function(e){for(var t=[],n=0;n<this.length;n+=1)e.call(this[n],n,this[n])&&t.push(this[n]);return new u(t)},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e,t,n=this,i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];for(e=0;e<r.length;e+=1){var o=d(r[e]);for(t=0;t<o.length;t+=1)n[n.length]=o[t],n.length+=1}return n},styles:function(){return this[0]?l.getComputedStyle(this[0],null):{}}};Object.keys(f).forEach((function(e){d.fn[e]=d.fn[e]||f[e]}));var p,g,v,m,b,y,C,_,w,k,x,O,S,P,E,M={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}}))},nextTick:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e){var t,n,i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",a=l.getComputedStyle(e,null);return l.WebKitCSSMatrix?((n=a.transform||a.webkitTransform).split(",").length>6&&(n=n.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),i=new l.WebKitCSSMatrix("none"===n?"":n)):t=(i=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===r&&(n=l.WebKitCSSMatrix?i.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===r&&(n=l.WebKitCSSMatrix?i.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5])),n||0},parseUrlQuery:function(e){var t,n,i,r,a={},o=e||l.location.href;if("string"==typeof o&&o.length)for(r=(n=(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,t=0;t<r;t+=1)i=n[t].replace(/#\S+/g,"").split("="),a[decodeURIComponent(i[0])]=void 0===i[1]?void 0:decodeURIComponent(i[1])||"";return a},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=1;t<arguments.length;t+=1){var n=t<0||arguments.length<=t?void 0:arguments[t];if(null!=n)for(var i=Object.keys(Object(n)),r=0,a=i.length;r<a;r+=1){var o=i[r],s=Object.getOwnPropertyDescriptor(n,o);void 0!==s&&s.enumerable&&(M.isObject(e[o])&&M.isObject(n[o])?M.extend(e[o],n[o]):!M.isObject(e[o])&&M.isObject(n[o])?(e[o]={},M.extend(e[o],n[o])):e[o]=n[o])}}return e}},I={touch:!!("ontouchstart"in l||l.DocumentTouch&&s instanceof l.DocumentTouch),pointerEvents:!!l.PointerEvent&&"maxTouchPoints"in l.navigator&&l.navigator.maxTouchPoints>=0,observer:"MutationObserver"in l||"WebkitMutationObserver"in l,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});l.addEventListener("testPassiveListener",null,t)}catch(n){}return e}(),gestures:"ongesturestart"in l},D=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,e);var n=this;n.params=t,n.eventsListeners={}
1,n.params&&n.params.on&&Object.keys(n.params.on).forEach((function(e){n.on(e,n.params.on[e])}))}return _createClass(e,[{key:"on",value:function(e,t,n){var i=this;if("function"!=typeof t)return i;var r=n?"unshift":"push";return e.split(" ").forEach((function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)})),i}},{key:"once",value:function(e,t,n){var i=this;if("function"!=typeof t)return i;function r(){for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];i.off(e,r),r.f7proxy&&delete r.f7proxy,t.apply(i,a)}return r.f7proxy=t,i.on(e,r,n)}},{key:"off",value:function(e,t){var n=this;return n.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].length&&n.eventsListeners[e].forEach((function(i,r){(i===t||i.f7proxy&&i.f7proxy===t)&&n.eventsListeners[e].splice(r,1)}))})),n):n}},{key:"emit",value:function(){var e,t,n,i=this;if(!i.eventsListeners)return i;for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return"string"==typeof a[0]||Array.isArray(a[0])?(e=a[0],t=a.slice(1,a.length),n=i):(e=a[0].events,t=a[0].data,n=a[0].context||i),(Array.isArray(e)?e:e.split(" ")).forEach((function(e){if(i.eventsListeners&&i.eventsListeners[e]){var r=[];i.eventsListeners[e].forEach((function(e){r.push(e)})),r.forEach((function(e){e.apply(n,t)}))}})),i}},{key:"useModulesParams",value:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var i=t.modules[n];i.params&&M.extend(e,i.params)}))}},{key:"useModules",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var i=t.modules[n],r=e[n]||{};i.instance&&Object.keys(i.instance).forEach((function(e){var n=i.instance[e];t[e]="function"==typeof n?n.bind(t):n})),i.on&&t.on&&Object.keys(i.on).forEach((function(e){t.on(e,i.on[e])})),i.create&&i.create.bind(t)(r)}))}}],[{key:"installModule",value:function(e){var t=this;t.prototype.modules||(t.prototype.modules={});for(var n=e.name||"".concat(Object.keys(t.prototype.modules).length,"_").concat(M.now()),i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];return t.prototype.modules[n]=e,e.proto&&Object.keys(e.proto).forEach((function(n){t.prototype[n]=e.proto[n]})),e.static&&Object.keys(e.static).forEach((function(n){t[n]=e.static[n]})),e.install&&e.install.apply(t,r),t}},{key:"use",value:function(e){for(var t=this,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return Array.isArray(e)?(e.forEach((function(e){return t.installModule(e)})),t):t.installModule.apply(t,[e].concat(i))}},{key:"components",set:function(e){this.use&&this.use(e)}}]),e}(),j={updateSize:function(){var e,t,n=this.$el;e=void 0!==this.params.width?this.params.width:n[0].clientWidth,t=void 0!==this.params.height?this.params.height:n[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(n.css("padding-left"),10)-parseInt(n.css("padding-right"),10),t=t-parseInt(n.css("padding-top"),10)-parseInt(n.css("padding-bottom"),10),M.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this.params,t=this.$wrapperEl,n=this.size,i=this.rtlTranslate,r=this.wrongRTL,a=this.virtual&&e.virtual.enabled,o=a?this.virtual.slides.length:this.slides.length,s=t.children("."+this.params.slideClass),c=a?this.virtual.slides.length:s.length,u=[],d=[],h=[];function f(t){return!e.cssMode||t!==s.length-1}var p=e.slidesOffsetBefore;"function"==typeof p&&(p=e.slidesOffsetBefore.call(this));var g=e.slidesOffsetAfter;"function"==typeof g&&(g=e.slidesOffsetAfter.call(this));var v,m,b=this.snapGrid.length,y=this.snapGrid.length,C=e.spaceBetween,_=-p,w=0,k=0;if(void 0!==n){"string"==typeof C&&C.indexOf("%")>=0&&(C=parseFloat(C.replace("%",""))/100*n),this.virtualSize=-C,s.css(i?{marginLeft:"",marginTop:""}:{marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(v=Math.floor(c/e.slidesPerColumn)===c/this.params.slidesPerColumn?c:Math.ceil(c/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(v=Math.max(v,e.slidesPerView*e.slidesPerColumn)));for(var x,O=e.slidesPerColumn,S=v/O,P=Math.floor(c/e.slidesPerColumn),E=0;E<c;E+=1){m=0;var I=s.eq(E);if(e.slidesPerColumn>1){var D=void 0,j=void 0,A=void 0;if("row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){var T=Math.floor(E/(e.slidesPerGroup*e.slidesPerColumn)),z=E-e.slidesPerColumn*e.slidesPerGroup*T,L=0===T?e.slidesPerGroup:Math.min(Math.ceil((c-T*O*e.slidesPerGroup)/O),e.slidesPerGroup);D=(j=z-(A=Math.floor(z/L))*L+T*e.slidesPerGroup)+A*v/O,I.css({"-webkit-box-ordinal-group":D,"-moz-box-ordinal-group":D,"-ms-flex-order":D,"-webkit-order":D,order:D})}else"column"===e.slidesPerColumnFill?(A=E-(j=Math.floor(E/O))*O,(j>P||j===P&&A===O-1)&&((A+=1)>=O&&(A=0,j+=1))):j=E-(A=Math.floor(E/S))*S;I.css("margin-"+(this.isHorizontal()?"top":"left"),0!==A&&e.spaceBetween&&e.spaceBetween+"px")}if("none"!==I.css("display")){if("auto"===e.slidesPerView){var N=l.getComputedStyle(I[0],null),R=I[0].style.transform,F=I[0].style.webkitTransform;if(R&&(I[0].style.transform="none"),F&&(I[0].style.webkitTransform="none"),e.roundLengths)m=this.isHorizontal()?I.outerWidth(!0):I.outerHeight(!0);
1else if(this.isHorizontal()){var V=parseFloat(N.getPropertyValue("width")),U=parseFloat(N.getPropertyValue("padding-left")),H=parseFloat(N.getPropertyValue("padding-right")),B=parseFloat(N.getPropertyValue("margin-left")),q=parseFloat(N.getPropertyValue("margin-right")),$=N.getPropertyValue("box-sizing");m=$&&"border-box"===$?V+B+q:V+U+H+B+q}else{var W=parseFloat(N.getPropertyValue("height")),G=parseFloat(N.getPropertyValue("padding-top")),X=parseFloat(N.getPropertyValue("padding-bottom")),Z=parseFloat(N.getPropertyValue("margin-top")),Y=parseFloat(N.getPropertyValue("margin-bottom")),Q=N.getPropertyValue("box-sizing");m=Q&&"border-box"===Q?W+Z+Y:W+G+X+Z+Y}R&&(I[0].style.transform=R),F&&(I[0].style.webkitTransform=F),e.roundLengths&&(m=Math.floor(m))}else m=(n-(e.slidesPerView-1)*C)/e.slidesPerView,e.roundLengths&&(m=Math.floor(m)),s[E]&&(this.isHorizontal()?s[E].style.width=m+"px":s[E].style.height=m+"px");s[E]&&(s[E].swiperSlideSize=m),h.push(m),e.centeredSlides?(_=_+m/2+w/2+C,0===w&&0!==E&&(_=_-n/2-C),0===E&&(_=_-n/2-C),Math.abs(_)<.001&&(_=0),e.roundLengths&&(_=Math.floor(_)),k%e.slidesPerGroup==0&&u.push(_),d.push(_)):(e.roundLengths&&(_=Math.floor(_)),(k-Math.min(this.params.slidesPerGroupSkip,k))%this.params.slidesPerGroup==0&&u.push(_),d.push(_),_=_+m+C),this.virtualSize+=m+C,w=m,k+=1}}if(this.virtualSize=Math.max(this.virtualSize,n)+g,i&&r&&("slide"===e.effect||"coverflow"===e.effect)&&t.css({width:this.virtualSize+e.spaceBetween+"px"}),e.setWrapperSize&&(this.isHorizontal()?t.css({width:this.virtualSize+e.spaceBetween+"px"}):t.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(m+e.spaceBetween)*v,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?t.css({width:this.virtualSize+e.spaceBetween+"px"}):t.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){x=[];for(var K=0;K<u.length;K+=1){var J=u[K];e.roundLengths&&(J=Math.floor(J)),u[K]<this.virtualSize+u[0]&&x.push(J)}u=x}if(!e.centeredSlides){x=[];for(var ee=0;ee<u.length;ee+=1){var te=u[ee];e.roundLengths&&(te=Math.floor(te)),u[ee]<=this.virtualSize-n&&x.push(te)}u=x,Math.floor(this.virtualSize-n)-Math.floor(u[u.length-1])>1&&u.push(this.virtualSize-n)}if(0===u.length&&(u=[0]),0!==e.spaceBetween&&(this.isHorizontal()?i?s.filter(f).css({marginLeft:C+"px"}):s.filter(f).css({marginRight:C+"px"}):s.filter(f).css({marginBottom:C+"px"})),e.centeredSlides&&e.centeredSlidesBounds){var ne=0;h.forEach((function(t){ne+=t+(e.spaceBetween?e.spaceBetween:0)}));var ie=(ne-=e.spaceBetween)-n;u=u.map((function(e){return e<0?-p:e>ie?ie+g:e}))}if(e.centerInsufficientSlides){var re=0;if(h.forEach((function(t){re+=t+(e.spaceBetween?e.spaceBetween:0)})),(re-=e.spaceBetween)<n){var ae=(n-re)/2;u.forEach((function(e,t){u[t]=e-ae})),d.forEach((function(e,t){d[t]=e+ae}))}}M.extend(this,{slides:s,snapGrid:u,slidesGrid:d,slidesSizesGrid:h}),c!==o&&this.emit("slidesLengthChange"),u.length!==b&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),d.length!==y&&this.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,n=[],i=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)if(this.params.centeredSlides)this.visibleSlides.each((function(e,t){n.push(t)}));else for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var r=this.activeIndex+t;if(r>this.slides.length)break;n.push(this.slides.eq(r)[0])}else n.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<n.length;t+=1)if(void 0!==n[t]){var a=n[t].offsetHeight;i=a>i?a:i}i&&this.$wrapperEl.css("height",i+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this&&this.translate||0,t=this,n=t.params,i=t.slides,r=t.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();var a=-e;r&&(a=e),i.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var o=0;o<i.length;o+=1){var s=i[o],c=(a+(n.centeredSlides?t.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight){var l=-(a-s.swiperSlideOffset),u=l+t.slidesSizesGrid[o];(l>=0&&l<t.size-1||u>1&&u<=t.size||l<=0&&u>=t.size)&&(t.visibleSlides.push(s),t.visibleSlidesIndexes.push(o),i.eq(o).addClass(n.slideVisibleClass))}s.progress=r?-c:c}t.visibleSlides=d(t.visibleSlides)}},updateProgress:function(e){if(void 0===e){var t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}var n=this.params,i=this.maxTranslate()-this.minTranslate(),r=this.progress,a=this.isBeg
1inning,o=this.isEnd,s=a,c=o;0===i?(r=0,a=!0,o=!0):(a=(r=(e-this.minTranslate())/i)<=0,o=r>=1),M.extend(this,{progress:r,isBeginning:a,isEnd:o}),(n.watchSlidesProgress||n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&this.updateSlidesProgress(e),a&&!s&&this.emit("reachBeginning toEdge"),o&&!c&&this.emit("reachEnd toEdge"),(s&&!a||c&&!o)&&this.emit("fromEdge"),this.emit("progress",r)},updateSlidesClasses:function(){var e,t=this.slides,n=this.params,i=this.$wrapperEl,r=this.activeIndex,a=this.realIndex,o=this.virtual&&n.virtual.enabled;t.removeClass("".concat(n.slideActiveClass," ").concat(n.slideNextClass," ").concat(n.slidePrevClass," ").concat(n.slideDuplicateActiveClass," ").concat(n.slideDuplicateNextClass," ").concat(n.slideDuplicatePrevClass)),(e=o?this.$wrapperEl.find(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(r,'"]')):t.eq(r)).addClass(n.slideActiveClass),n.loop&&(e.hasClass(n.slideDuplicateClass)?i.children(".".concat(n.slideClass,":not(.").concat(n.slideDuplicateClass,')[data-swiper-slide-index="').concat(a,'"]')).addClass(n.slideDuplicateActiveClass):i.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,'[data-swiper-slide-index="').concat(a,'"]')).addClass(n.slideDuplicateActiveClass));var s=e.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&0===s.length&&(s=t.eq(0)).addClass(n.slideNextClass);var c=e.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=t.eq(-1)).addClass(n.slidePrevClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?i.children(".".concat(n.slideClass,":not(.").concat(n.slideDuplicateClass,')[data-swiper-slide-index="').concat(s.attr("data-swiper-slide-index"),'"]')).addClass(n.slideDuplicateNextClass):i.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,'[data-swiper-slide-index="').concat(s.attr("data-swiper-slide-index"),'"]')).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?i.children(".".concat(n.slideClass,":not(.").concat(n.slideDuplicateClass,')[data-swiper-slide-index="').concat(c.attr("data-swiper-slide-index"),'"]')).addClass(n.slideDuplicatePrevClass):i.children(".".concat(n.slideClass,".").concat(n.slideDuplicateClass,'[data-swiper-slide-index="').concat(c.attr("data-swiper-slide-index"),'"]')).addClass(n.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,n=this.rtlTranslate?this.translate:-this.translate,i=this.slidesGrid,r=this.snapGrid,a=this.params,o=this.activeIndex,s=this.realIndex,c=this.snapIndex,l=e;if(void 0===l){for(var u=0;u<i.length;u+=1)void 0!==i[u+1]?n>=i[u]&&n<i[u+1]-(i[u+1]-i[u])/2?l=u:n>=i[u]&&n<i[u+1]&&(l=u+1):n>=i[u]&&(l=u);a.normalizeSlideIndex&&(l<0||void 0===l)&&(l=0)}if(r.indexOf(n)>=0)t=r.indexOf(n);else{var d=Math.min(a.slidesPerGroupSkip,l);t=d+Math.floor((l-d)/a.slidesPerGroup)}if(t>=r.length&&(t=r.length-1),l!==o){var h=parseInt(this.slides.eq(l).attr("data-swiper-slide-index")||l,10);M.extend(this,{snapIndex:t,realIndex:h,previousIndex:o,activeIndex:l}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),s!==h&&this.emit("realIndexChange"),(this.initialized||this.params.runCallbacksOnInit)&&this.emit("slideChange")}else t!==c&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,n=d(e.target).closest("."+t.slideClass)[0],i=!1;if(n)for(var r=0;r<this.slides.length;r+=1)this.slides[r]===n&&(i=!0);if(!n||!i)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=n,this.clickedIndex=this.virtual&&this.params.virtual.enabled?parseInt(d(n).attr("data-swiper-slide-index"),10):d(n).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},A={getTranslate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.isHorizontal()?"x":"y",t=this.params,n=this.rtlTranslate,i=this.translate,r=this.$wrapperEl;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;var a=M.getTranslate(r[0],e);return n&&(a=-a),a||0},setTranslate:function(e,t){var n=this.rtlTranslate,i=this.params,r=this.$wrapperEl,a=this.wrapperEl,o=this.progress,s=0,c=0;this.isHorizontal()?s=n?-e:e:c=e,i.roundLengths&&(s=Math.floor(s),c=Math.floor(c)),i.cssMode?a[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-s:-c:i.virtualTranslate||r.transform("translate3d(".concat(s,"px, ").concat(c,"px, 0px)")),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?s:c;var l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==o&&this.updateProgress(e),this.emit
1("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4?arguments[4]:void 0,a=this,o=a.params,s=a.wrapperEl;if(a.animating&&o.preventInteractionOnTransition)return!1;var c,l=a.minTranslate(),u=a.maxTranslate();if(c=i&&e>l?l:i&&e<u?u:e,a.updateProgress(c),o.cssMode){var d,h=a.isHorizontal();return 0===t?s[h?"scrollLeft":"scrollTop"]=-c:s.scrollTo?s.scrollTo((_defineProperty2(d={},h?"left":"top",-c),_defineProperty2(d,"behavior","smooth"),d)):s[h?"scrollLeft":"scrollTop"]=-c,!0}return 0===t?(a.setTransition(0),a.setTranslate(c),n&&(a.emit("beforeTransitionStart",t,r),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(c),n&&(a.emit("beforeTransitionStart",t,r),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,n&&a.emit("transitionEnd"))}),a.$wrapperEl[0].addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd))),!0}},T={slideTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0,r=this,a=e;a<0&&(a=0);var o=r.params,s=r.snapGrid,c=r.slidesGrid,l=r.previousIndex,u=r.activeIndex,d=r.rtlTranslate,h=r.wrapperEl;if(r.animating&&o.preventInteractionOnTransition)return!1;var f=Math.min(r.params.slidesPerGroupSkip,a),p=f+Math.floor((a-f)/r.params.slidesPerGroup);p>=s.length&&(p=s.length-1),(u||o.initialSlide||0)===(l||0)&&n&&r.emit("beforeSlideChangeStart");var g,v=-s[p];if(r.updateProgress(v),o.normalizeSlideIndex)for(var m=0;m<c.length;m+=1)-Math.floor(100*v)>=Math.floor(100*c[m])&&(a=m);if(r.initialized&&a!==u){if(!r.allowSlideNext&&v<r.translate&&v<r.minTranslate())return!1;if(!r.allowSlidePrev&&v>r.translate&&v>r.maxTranslate()&&(u||0)!==a)return!1}if(g=a>u?"next":a<u?"prev":"reset",d&&-v===r.translate||!d&&v===r.translate)return r.updateActiveIndex(a),o.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==o.effect&&r.setTranslate(v),"reset"!==g&&(r.transitionStart(n,g),r.transitionEnd(n,g)),!1;if(o.cssMode){var b,y=r.isHorizontal(),C=-v;return d&&(C=h.scrollWidth-h.offsetWidth-C),0===t?h[y?"scrollLeft":"scrollTop"]=C:h.scrollTo?h.scrollTo((_defineProperty2(b={},y?"left":"top",C),_defineProperty2(b,"behavior","smooth"),b)):h[y?"scrollLeft":"scrollTop"]=C,!0}return 0===t?(r.setTransition(0),r.setTranslate(v),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,g),r.transitionEnd(n,g)):(r.setTransition(t),r.setTranslate(v),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,g),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(n,g))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.params.speed,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0,r=e;return this.params.loop&&(r+=this.loopedSlides),this.slideTo(r,t,n,i)},slideNext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,i=this,r=i.params,a=i.animating,o=i.activeIndex<r.slidesPerGroupSkip?1:r.slidesPerGroup;if(r.loop){if(a)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return i.slideTo(i.activeIndex+o,e,t,n)},slidePrev:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,i=this,r=i.params,a=i.animating,o=i.snapGrid,s=i.slidesGrid,c=i.rtlTranslate;if(r.loop){if(a)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function l(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var u=l(c?i.translate:-i.translate),d=o.map((function(e){return l(e)}));s.map((function(e){return l(e)})),d.indexOf(u);var h,f=o[d.indexOf(u)-1];return void 0===f&&r.cssMode&&o.forEach((function(e){!f&&u>=e&&(f=e)})),void 0!==f&&((h=s.indexOf(f))<0&&(h=i.activeIndex-1)),i.slideTo(h,e,t,n)},slideReset:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0;return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,r=this,a=r.activeIndex,o=Math.min(r.params.slidesPerGroupSkip,a),s=o+Math.floor((a-o)/r.params.slidesPerGroup),c=r.rtlTranslate?r.translate:-r.translate;if(c>=r.snapGrid[s]){var l=r.snapGrid[s];c-l>(r.snapGrid[s+1]-l)*i&&(a+=r.params.slidesPerGroup)}else{var u=r.snapGrid[s-1];c-u<=(r.snapGrid[s]-u)*i&&(a-=r.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,r.slidesGrid.length-1),r.slideTo(a,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,i=t.$wrapperEl,r="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,a=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt(d(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?a<t.loopedSlides-r/2||a>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),a=i.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),M.nextTick((function(){t.slideTo(a)}))):t.slideTo(a):a>t.slides.length-r?(t.loopFix(),a=i.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]:not(.').concat(n.slideDuplicateClass,")")).eq(0).index(),M.nextTick((function(){t.slideTo(a)}))):t.slideTo(a)}else t.slideTo(a)}},z={loopCreate:function(){var e=this,t=e.params,n=e.$wrapperEl;n.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass)).remove();var i=n.children("."+t.slideClass);if(t.loopFillGroupWithBlank){var r=t.slidesPerGroup-i.length%t.slidesPerGroup;if(r!==t.slidesPerGroup){for(var a=0;a<r;a+=1){var o=d(s.createElement("div")).addClass("".concat(t.slideClass," ").concat(t.slideBlankClass));n.append(o)}i=n.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=i.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>i.length&&(e.loopedSlides=i.length);var c=[],l=[];i.each((function(t,n){var r=d(n);t<e.loopedSlides&&l.push(n),t<i.length&&t>=i.length-e.loopedSlides&&c.push(n),r.attr("data-swiper-slide-index",t)}));for(var u=0;u<l.length;u+=1)n.append(d(l[u].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var h=c.length-1;h>=0;h-=1)n.prepend(d(c[h].cloneNode(!0)).addClass(t.slideDuplicateClass))}
1,loopFix:function(){this.emit("beforeLoopFix");var e,t=this.activeIndex,n=this.slides,i=this.loopedSlides,r=this.allowSlidePrev,a=this.allowSlideNext,o=this.snapGrid,s=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var c=-o[t]-this.getTranslate();t<i?(e=n.length-3*i+t,e+=i,this.slideTo(e,0,!1,!0)&&0!==c&&this.setTranslate((s?-this.translate:this.translate)-c)):t>=n.length-i&&(e=-n.length+t+i,e+=i,this.slideTo(e,0,!1,!0)&&0!==c&&this.setTranslate((s?-this.translate:this.translate)-c)),this.allowSlidePrev=r,this.allowSlideNext=a,this.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,n=this.slides;e.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass,",.").concat(t.slideClass,".").concat(t.slideBlankClass)).remove(),n.removeAttr("data-swiper-slide-index")}},L={setGrabCursor:function(e){if(!(I.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){I.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},N={appendSlide:function(e){var t=this.$wrapperEl,n=this.params;if(n.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var i=0;i<e.length;i+=1)e[i]&&t.append(e[i]);else t.append(e);n.loop&&this.loopCreate(),n.observer&&I.observer||this.update()},prependSlide:function(e){var t=this.params,n=this.$wrapperEl,i=this.activeIndex;t.loop&&this.loopDestroy();var r=i+1;if("object"==typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)e[a]&&n.prepend(e[a]);r=i+e.length}else n.prepend(e);t.loop&&this.loopCreate(),t.observer&&I.observer||this.update(),this.slideTo(r,0,!1)},addSlide:function(e,t){var n=this.$wrapperEl,i=this.params,r=this.activeIndex;i.loop&&(r-=this.loopedSlides,this.loopDestroy(),this.slides=n.children("."+i.slideClass));var a=this.slides.length;if(e<=0)this.prependSlide(t);else if(e>=a)this.appendSlide(t);else{for(var o=r>e?r+1:r,s=[],c=a-1;c>=e;c-=1){var l=this.slides.eq(c);l.remove(),s.unshift(l)}if("object"==typeof t&&"length"in t){for(var u=0;u<t.length;u+=1)t[u]&&n.append(t[u]);o=r>e?r+t.length:r}else n.append(t);for(var d=0;d<s.length;d+=1)n.append(s[d]);i.loop&&this.loopCreate(),i.observer&&I.observer||this.update(),this.slideTo(i.loop?o+this.loopedSlides:o,0,!1)}},removeSlide:function(e){var t=this.params,n=this.$wrapperEl,i=this.activeIndex;t.loop&&(i-=this.loopedSlides,this.loopDestroy(),this.slides=n.children("."+t.slideClass));var r,a=i;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],this.slides[r]&&this.slides.eq(r).remove(),r<a&&(a-=1);a=Math.max(a,0)}else r=e,this.slides[r]&&this.slides.eq(r).remove(),r<a&&(a-=1),a=Math.max(a,0);t.loop&&this.loopCreate(),t.observer&&I.observer||this.update(),this.slideTo(t.loop?a+this.loopedSlides:a,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},R=(p=l.navigator.platform,g=l.navigator.userAgent,v={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!l.cordova&&!l.phonegap),phonegap:!(!l.cordova&&!l.phonegap),electron:!1},m=l.screen.width,b=l.screen.height,y=g.match(/(Android);?[\s\/]+([\d.]+)?/),C=g.match(/(iPad).*OS\s([\d_]+)/),_=g.match(/(iPod)(.*OS\s([\d_]+))?/),w=!C&&g.match(/(iPhone\sOS|iOS)\s([\d_]+)/),k=g.indexOf("MSIE ")>=0||g.indexOf("Trident/")>=0,x=g.indexOf("Edge/")>=0,O=g.indexOf("Gecko/")>=0&&g.indexOf("Firefox/")>=0,S="Win32"===p,P=g.toLowerCase().indexOf("electron")>=0,E="MacIntel"===p,!C&&E&&I.touch&&(1024===m&&1366===b||834===m&&1194===b||834===m&&1112===b||768===m&&1024===b)&&(C=g.match(/(Version)\/([\d.]+)/),E=!1),v.ie=k,v.edge=x,v.firefox=O,y&&!S&&(v.os="android",v.osVersion=y[2],v.android=!0,v.androidChrome=g.toLowerCase().indexOf("chrome")>=0),(C||w||_)&&(v.os="ios",v.ios=!0),w&&!_&&(v.osVersion=w[2].replace(/_/g,"."),v.iphone=!0),C&&(v.osVersion=C[2].replace(/_/g,"."),v.ipad=!0),_&&(v.osVersion=_[3]?_[3].replace(/_/g,"."):null,v.ipod=!0),v.ios&&v.osVersion&&g.indexOf("Version/")>=0&&"10"===v.osVersion.split(".")[0]&&(v.osVersion=g.toLowerCase().split("version/")[1].split(" ")[0]),v.webView=!(!(w||C||_)||!g.match(/.*AppleWeb
1Kit(?!.*Safari)/i)&&!l.navigator.standalone)||l.matchMedia&&l.matchMedia("(display-mode: standalone)").matches,v.webview=v.webView,v.standalone=v.webView,v.desktop=!(v.ios||v.android)||P,v.desktop&&(v.electron=P,v.macos=E,v.windows=S,v.macos&&(v.os="macos"),v.windows&&(v.os="windows")),v.pixelRatio=l.devicePixelRatio||1,v);function F(e){var t=this.touchEventsData,n=this.params,i=this.touches;if(!this.animating||!n.preventInteractionOnTransition){var r=e;r.originalEvent&&(r=r.originalEvent);var a=d(r.target);if(("wrapper"!==n.touchEventsTarget||a.closest(this.wrapperEl).length)&&(t.isTouchEvent="touchstart"===r.type,(t.isTouchEvent||!("which"in r)||3!==r.which)&&!(!t.isTouchEvent&&"button"in r&&r.button>0||t.isTouched&&t.isMoved)))if(n.noSwiping&&a.closest(n.noSwipingSelector?n.noSwipingSelector:"."+n.noSwipingClass)[0])this.allowClick=!0;else if(!n.swipeHandler||a.closest(n.swipeHandler)[0]){i.currentX="touchstart"===r.type?r.targetTouches[0].pageX:r.pageX,i.currentY="touchstart"===r.type?r.targetTouches[0].pageY:r.pageY;var o=i.currentX,c=i.currentY,u=n.edgeSwipeThreshold||n.iOSEdgeSwipeThreshold;if(!n.edgeSwipeDetection&&!n.iOSEdgeSwipeDetection||!(o<=u||o>=l.screen.width-u)){if(M.extend(t,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),i.startX=o,i.startY=c,t.touchStartTime=M.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,n.threshold>0&&(t.allowThresholdMove=!1),"touchstart"!==r.type){var h=!0;a.is(t.formElements)&&(h=!1),s.activeElement&&d(s.activeElement).is(t.formElements)&&s.activeElement!==a[0]&&s.activeElement.blur();var f=h&&this.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||f)&&r.preventDefault()}this.emit("touchStart",r)}}}}function V(e){var t=this.touchEventsData,n=this.params,i=this.touches,r=this.rtlTranslate,a=e;if(a.originalEvent&&(a=a.originalEvent),t.isTouched){if(!t.isTouchEvent||"touchmove"===a.type){var o="touchmove"===a.type&&a.targetTouches&&(a.targetTouches[0]||a.changedTouches[0]),c="touchmove"===a.type?o.pageX:a.pageX,l="touchmove"===a.type?o.pageY:a.pageY;if(a.preventedByNestedSwiper)return i.startX=c,void(i.startY=l);if(!this.allowTouchMove)return this.allowClick=!1,void(t.isTouched&&(M.extend(i,{startX:c,startY:l,currentX:c,currentY:l}),t.touchStartTime=M.now()));if(t.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(this.isVertical()){if(l<i.startY&&this.translate<=this.maxTranslate()||l>i.startY&&this.translate>=this.minTranslate())return t.isTouched=!1,void(t.isMoved=!1)}else if(c<i.startX&&this.translate<=this.maxTranslate()||c>i.startX&&this.translate>=this.minTranslate())return;if(t.isTouchEvent&&s.activeElement&&a.target===s.activeElement&&d(a.target).is(t.formElements))return t.isMoved=!0,void(this.allowClick=!1);if(t.allowTouchCallbacks&&this.emit("touchMove",a),!(a.targetTouches&&a.targetTouches.length>1)){i.currentX=c,i.currentY=l;var u=i.currentX-i.startX,h=i.currentY-i.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(u,2)+Math.pow(h,2))<this.params.threshold)){var f;if(void 0===t.isScrolling)this.isHorizontal()&&i.currentY===i.startY||this.isVertical()&&i.currentX===i.startX?t.isScrolling=!1:u*u+h*h>=25&&(f=180*Math.atan2(Math.abs(h),Math.abs(u))/Math.PI,t.isScrolling=this.isHorizontal()?f>n.touchAngle:90-f>n.touchAngle);if(t.isScrolling&&this.emit("touchMoveOpposite",a),void 0===t.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(t.startMoving=!0)),t.isScrolling)t.isTouched=!1;else if(t.startMoving){this.allowClick=!1,!n.cssMode&&a.cancelable&&a.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&a.stopPropagation(),t.isMoved||(n.loop&&this.loopFix(),t.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),t.allowMomentumBounce=!1,!n.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",a)),this.emit("sliderMove",a),t.isMoved=!0;var p=this.isHorizontal()?u:h;i.diff=p,p*=n.touchRatio,r&&(p=-p),this.swipeDirection=p>0?"prev":"next",t.currentTranslate=p+t.startTranslate;var g=!0,v=n.resistanceRatio;if(n.touchReleaseOnEdges&&(v=0),p>
10&&t.currentTranslate>this.minTranslate()?(g=!1,n.resistance&&(t.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+t.startTranslate+p,v))):p<0&&t.currentTranslate<this.maxTranslate()&&(g=!1,n.resistance&&(t.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-t.startTranslate-p,v))),g&&(a.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&t.currentTranslate<t.startTranslate&&(t.currentTranslate=t.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&t.currentTranslate>t.startTranslate&&(t.currentTranslate=t.startTranslate),n.threshold>0){if(!(Math.abs(p)>n.threshold||t.allowThresholdMove))return void(t.currentTranslate=t.startTranslate);if(!t.allowThresholdMove)return t.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,t.currentTranslate=t.startTranslate,void(i.diff=this.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}n.followFinger&&!n.cssMode&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),n.freeMode&&(0===t.velocities.length&&t.velocities.push({position:i[this.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:i[this.isHorizontal()?"currentX":"currentY"],time:M.now()})),this.updateProgress(t.currentTranslate),this.setTranslate(t.currentTranslate))}}}}}else t.startMoving&&t.isScrolling&&this.emit("touchMoveOpposite",a)}function U(e){var t=this,n=t.touchEventsData,i=t.params,r=t.touches,a=t.rtlTranslate,o=t.$wrapperEl,s=t.slidesGrid,c=t.snapGrid,l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,d=M.now(),h=d-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(l),t.emit("tap click",l),h<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)),n.lastClickTime=M.now(),M.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,u=i.followFinger?a?t.translate:-t.translate:-n.currentTranslate,!i.cssMode)if(i.freeMode){if(u<-t.minTranslate())return void t.slideTo(t.activeIndex);if(u>-t.maxTranslate())return void t.slideTo(t.slides.length<c.length?c.length-1:t.slides.length-1);if(i.freeModeMomentum){if(n.velocities.length>1){var f=n.velocities.pop(),p=n.velocities.pop(),g=f.time-p.time;t.velocity=(f.position-p.position)/g,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(g>150||M.now()-f.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,n.velocities.length=0;
1var v=1e3*i.freeModeMomentumRatio,m=t.translate+t.velocity*v;a&&(m=-m);var b,y,C=!1,_=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(m<t.maxTranslate())i.freeModeMomentumBounce?(m+t.maxTranslate()<-_&&(m=t.maxTranslate()-_),b=t.maxTranslate(),C=!0,n.allowMomentumBounce=!0):m=t.maxTranslate(),i.loop&&i.centeredSlides&&(y=!0);else if(m>t.minTranslate())i.freeModeMomentumBounce?(m-t.minTranslate()>_&&(m=t.minTranslate()+_),b=t.minTranslate(),C=!0,n.allowMomentumBounce=!0):m=t.minTranslate(),i.loop&&i.centeredSlides&&(y=!0);else if(i.freeModeSticky){for(var w,k=0;k<c.length;k+=1)if(c[k]>-m){w=k;break}m=-(m=Math.abs(c[w]-m)<Math.abs(c[w-1]-m)||"next"===t.swipeDirection?c[w]:c[w-1])}if(y&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity){if(v=a?Math.abs((-m-t.translate)/t.velocity):Math.abs((m-t.translate)/t.velocity),i.freeModeSticky){var x=Math.abs((a?-m:m)-t.translate),O=t.slidesSizesGrid[t.activeIndex];v=x<O?i.speed:x<2*O?1.5*i.speed:2.5*i.speed}}else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&C?(t.updateProgress(b),t.setTransition(v),t.setTranslate(m),t.transitionStart(!0,t.swipeDirection),t.animating=!0,o.transitionEnd((function(){t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),setTimeout((function(){t.setTranslate(b),o.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(t.updateProgress(m),t.setTransition(v),t.setTranslate(m),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,o.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(m),t.updateActiveIndex(),t.updateSlidesClasses()}else if(i.freeModeSticky)return void t.slideToClosest();(!i.freeModeMomentum||h>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var S=0,P=t.slidesSizesGrid[0],E=0;E<s.length;E+=E<i.slidesPerGroupSkip?1:i.slidesPerGroup){var I=E<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==s[E+I]?u>=s[E]&&u<s[E+I]&&(S=E,P=s[E+I]-s[E]):u>=s[E]&&(S=E,P=s[s.length-1]-s[s.length-2])}var D=(u-s[S])/P,j=S<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(h>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(D>=i.longSwipesRatio?S+j:S),"prev"===t.swipeDirection&&t.slideTo(D>1-i.longSwipesRatio?S+j:S)}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||l.target!==t.navigation.nextEl&&l.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(S+j),"prev"===t.swipeDirection&&t.slideTo(S)):t.slideTo(l.target===t.navigation.nextEl?S+j:S)}}}function H(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var n=this.allowSlideNext,i=this.allowSlidePrev,r=this.snapGrid;this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),this.slideTo(("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.isBeginning&&!this.params.centeredSlides?this.slides.length-1:this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=i,this.allowSlideNext=n,this.params.watchOverflow&&r!==this.snapGrid&&this.checkOverflow()}}function B(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function q(){var e=this.wrapperEl,t=this.rtlTranslate;this.previousTranslate=this.translate,this.translate=this.isHorizontal()?t?e.scrollWidth-e.offsetWidth-e.scrollLeft:-e.scrollLeft:-e.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var n=this.maxTranslate()-this.minTranslate();(0===n?0:(this.translate-this.minTranslate())/n)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}var $=!1;function W(){}var G={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesB
1ounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},X={update:j,translate:A,transition:{setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this,i=n.activeIndex,r=n.params,a=n.previousIndex;if(!r.cssMode){r.autoHeight&&n.updateAutoHeight();var o=t;if(o||(o=i>a?"next":i<a?"prev":"reset"),n.emit("transitionStart"),e&&i!==a){if("reset"===o)return void n.emit("slideResetTransitionStart");n.emit("slideChangeTransitionStart"),n.emit("next"===o?"slideNextTransitionStart":"slidePrevTransitionStart")}}},transitionEnd:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this,i=n.activeIndex,r=n.previousIndex,a=n.params;if(n.animating=!1,!a.cssMode){n.setTransition(0);var o=t;if(o||(o=i>r?"next":i<r?"prev":"reset"),n.emit("transitionEnd"),e&&i!==r){if("reset"===o)return void n.emit("slideResetTransitionEnd");n.emit("slideChangeTransitionEnd"),n.emit("next"===o?"slideNextTransitionEnd":"slidePrevTransitionEnd")}}}},slide:T,loop:z,grabCursor:L,manipulation:N,events:{attachEvents:function(){var e=this.params,t=this.touchEvents,n=this.el,i=this.wrapperEl;this.onTouchStart=F.bind(this),this.onTouchMove=V.bind(this),this.onTouchEnd=U.bind(this),e.cssMode&&(this.onScroll=q.bind(this)),this.onClick=B.bind(this);var r=!!e.nested;if(!I.touch&&I.pointerEvents)n.addEventListener(t.start,this.onTouchStart,!1),s.addEventListener(t.move,this.onTouchMove,r),s.addEventListener(t.end,this.onTouchEnd,!1);else{if(I.touch){var a=!("touchstart"!==t.start||!I.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};n.addEventListener(t.start,this.onTouchStart,a),n.addEventListener(t.move,this.onTouchMove,I.passiveListener?{passive:!1,capture:r}:r),n.addEventListener(t.end,this.onTouchEnd,a),t.cancel&&n.addEventListener(t.cancel,this.onTouchEnd,a),$||(s.addEventListener("touchstart",W),$=!0)}(e.simulateTouch&&!R.ios&&!R.android||e.simulateTouch&&!I.touch&&R.ios)&&(n.addEventListener("mousedown",this.onTouchStart,!1),s.addEventListener("mousemove",this.onTouchMove,r),s.addEventListener("mouseup",this.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&n.addEventListener("click",this.onClick,!0),e.cssMode&&i.addEventListener("scroll",this.onScroll),this.on(e.updateOnWindowResize?R.ios||R.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate",H,!0)},detachEvents:function(){var e=this.params,t=this.touchEvents,n=this.el,i=this.wrapperEl,r=!!e.nested;if(!I.touch&&I.pointerEvents)n.removeEventListener(t.start,this.onTouchStart,!1),s.removeEventListener(t.move,this.onTouchMove,r),s.removeEventListener(t.end,this.onTouchEnd,!1);else{if(I.touch){var a=!("onTouchStart"!==t.start||!I.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};
1n.removeEventListener(t.start,this.onTouchStart,a),n.removeEventListener(t.move,this.onTouchMove,r),n.removeEventListener(t.end,this.onTouchEnd,a),t.cancel&&n.removeEventListener(t.cancel,this.onTouchEnd,a)}(e.simulateTouch&&!R.ios&&!R.android||e.simulateTouch&&!I.touch&&R.ios)&&(n.removeEventListener("mousedown",this.onTouchStart,!1),s.removeEventListener("mousemove",this.onTouchMove,r),s.removeEventListener("mouseup",this.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&n.removeEventListener("click",this.onClick,!0),e.cssMode&&i.removeEventListener("scroll",this.onScroll),this.off(R.ios||R.android?"resize orientationchange observerUpdate":"resize observerUpdate",H)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,n=this.loopedSlides,i=void 0===n?0:n,r=this.params,a=this.$el,o=r.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var s=this.getBreakpoint(o);if(s&&this.currentBreakpoint!==s){var c=s in o?o[s]:void 0;c&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(e){var t=c[e];void 0!==t&&(c[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var l=c||this.originalParams,u=r.slidesPerColumn>1,d=l.slidesPerColumn>1;u&&!d?a.removeClass("".concat(r.containerModifierClass,"multirow ").concat(r.containerModifierClass,"multirow-column")):!u&&d&&(a.addClass(r.containerModifierClass+"multirow"),"column"===l.slidesPerColumnFill&&a.addClass(r.containerModifierClass+"multirow-column"));var h=l.direction&&l.direction!==r.direction,f=r.loop&&(l.slidesPerView!==r.slidesPerView||h);h&&t&&this.changeDirection(),M.extend(this.params,l),M.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=s,f&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-i+this.loopedSlides,0,!1)),this.emit("breakpoint",l)}}},getBreakpoint:function(e){if(e){var t=!1,n=Object.keys(e).map((function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:l.innerHeight*t,point:e}}return{value:e,point:e}}));n.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var i=0;i<n.length;i+=1){var r=n[i],a=r.point;r.value<=l.innerWidth&&(t=a)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.params,t=this.isLocked,n=this.slides.length>0&&e.slidesOffsetBefore+e.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;this.isLocked=e.slidesOffsetBefore&&e.slidesOffsetAfter&&n?n<=this.size:1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation&&this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,n=this.rtl,i=this.$el,r=[];r.push("initialized"),r.push(t.direction),t.freeMode&&r.push("free-mode"),t.autoHeight&&r.push("autoheight"),n&&r.push("rtl"),t.slidesPerColumn>1&&(r.push("multirow"),"column"===t.slidesPerColumnFill&&r.push("multirow-column")),R.android&&r.push("android"),R.ios&&r.push("ios"),t.cssMode&&r.push("css-mode"),r.forEach((function(n){e.push(t.containerModifierClass+n)})),i.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,n,i,r,a){var o;function s(){a&&a()}d(e).parent("picture")[0]||e.complete&&r?s():t?((o=new l.Image).onload=s,o.onerror=s,i&&(o.sizes=i),n&&(o.srcset=n),t&&(o.src=t)):s()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var i=e.imagesToLoad[n];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},Z={},Y=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i,r,a;_classCallCheck(this,n);for(var o=arguments.length,s=new Array(o),c=0;c<o;c++)s[c]=arguments[c];1===s.length&&s[0].constructor&&s[0].constructor===Object?a=s[0]:(r=(e=_slicedToArray2(s,2))[0],a=e[1]),a||(a={}),a=M.extend({}
1,a),r&&!a.el&&(a.el=r),i=t.call(this,a),Object.keys(X).forEach((function(e){Object.keys(X[e]).forEach((function(t){n.prototype[t]||(n.prototype[t]=X[e][t])}))}));var l=_assertThisInitialized(i);void 0===l.modules&&(l.modules={}),Object.keys(l.modules).forEach((function(e){var t=l.modules[e];if(t.params){var n=Object.keys(t.params)[0],i=t.params[n];if("object"!=typeof i||null===i)return;if(!(n in a)||!("enabled"in i))return;!0===a[n]&&(a[n]={enabled:!0}),"object"!=typeof a[n]||"enabled"in a[n]||(a[n].enabled=!0),a[n]||(a[n]={enabled:!1})}}));var u=M.extend({},G);l.useModulesParams(u),l.params=M.extend({},u,Z,a),l.originalParams=M.extend({},l.params),l.passedParams=M.extend({},a),l.$=d;var h,f,p,g=d(l.params.el);if(!(r=g[0]))return _possibleConstructorReturn(i);if(g.length>1){var v=[];return _possibleConstructorReturn(i,(g.each((function(e,t){var i=M.extend({},a,{el:t});v.push(new n(i))})),v))}return _possibleConstructorReturn(i,(r.swiper=l,g.data("swiper",l),r&&r.shadowRoot&&r.shadowRoot.querySelector?(h=d(r.shadowRoot.querySelector("."+l.params.wrapperClass))).children=function(e){return g.children(e)}:h=g.children("."+l.params.wrapperClass),M.extend(l,{$el:g,el:r,$wrapperEl:h,wrapperEl:h[0],classNames:[],slides:d(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===r.dir.toLowerCase()||"rtl"===g.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===g.css("direction")),wrongRTL:"-webkit-box"===h.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(f=["touchstart","touchmove","touchend","touchcancel"],p=["mousedown","mousemove","mouseup"],I.pointerEvents&&(p=["pointerdown","pointermove","pointerup"]),l.touchEventsTouch={start:f[0],move:f[1],end:f[2],cancel:f[3]},l.touchEventsDesktop={start:p[0],move:p[1],end:p[2]},I.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:M.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l))}return _createClass(n,[{key:"slidesPerViewDynamic",value:function(){var e=this.params,t=this.slides,n=this.slidesGrid,i=this.size,r=this.activeIndex,a=1;if(e.centeredSlides){for(var o,s=t[r].swiperSlideSize,c=r+1;c<t.length;c+=1)t[c]&&!o&&(a+=1,(s+=t[c].swiperSlideSize)>i&&(o=!0));for(var l=r-1;l>=0;l-=1)t[l]&&!o&&(a+=1,(s+=t[l].swiperSlideSize)>i&&(o=!0))}else for(var u=r+1;u<t.length;u+=1)n[u]-n[r]<i&&(a+=1);return a}},{key:"update",value:function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,n=e.params;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(i(),e.params.autoHeight&&e.updateAutoHeight()):e.slideTo(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slides.length-1:e.activeIndex,0,!1,!0)||i(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function i(){var t=Math.min(Math.max(e.rtlTranslate?-1*e.translate:e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(t),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(this.$el.removeClass("".concat(this.params.containerModifierClass).concat(n)).addClass("".concat(this.params.containerModifierClass).concat(e)),this.params.direction=e,this.slides.each((function(t,n){"vertical"===e?n.style.width="":n.style.height=""}
1)),this.emit("changeDirection"),t&&this.update()),this}},{key:"init",value:function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.slideTo(this.params.loop?this.params.initialSlide+this.loopedSlides:this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))}},{key:"destroy",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,i=n.params,r=n.$el,a=n.$wrapperEl,o=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),a.removeAttr("style"),o&&o.length&&o.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(e){n.off(e)})),!1!==e&&(n.$el[0].swiper=null,n.$el.data("swiper",null),M.deleteProps(n)),n.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){M.extend(Z,e)}},{key:"extendedDefaults",get:function(){return Z}},{key:"defaults",get:function(){return G}},{key:"Class",get:function(){return D}},{key:"$",get:function(){return d}}]),n}(D),Q={name:"device",proto:{device:R},static:{device:R}},K={name:"support",proto:{support:I},static:{support:I}},J={isEdge:!!l.navigator.userAgent.match(/Edge/g),isSafari:function(){var e=l.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(l.navigator.userAgent)},ee={name:"browser",proto:{browser:J},static:{browser:J}},te={name:"resize",create:function(){var e=this;M.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){l.addEventListener("resize",this.resize.resizeHandler),l.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){l.removeEventListener("resize",this.resize.resizeHandler),l.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},ne={func:l.MutationObserver||l.WebkitMutationObserver,attach:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this,i=new(0,ne.func)((function(e){if(1!==e.length){var t=function(){n.emit("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(t):l.setTimeout(t,0)}else n.emit("observerUpdate",e[0])}));i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.observer.observers.push(i)},init:function(){if(I.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},ie={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){M.extend(this,{observer:{init:ne.init.bind(this),attach:ne.attach.bind(this),destroy:ne.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},re={update:function(e){var t=this,n=t.params,i=n.slidesPerView,r=n.slidesPerGroup,a=n.centeredSlides,o=t.params.virtual,s=o.addSlidesBefore,c=o.addSlidesAfter,l=t.virtual,u=l.from,d=l.to,h=l.slides,f=l.slidesGrid,p=l.renderSlide,g=l.offset;t.updateActiveIndex();var v,m,b,y=t.activeIndex||0;v=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",a?(m=Math.floor(i/2)+r+s,b=Math.floor(i/2)+r+c):(m
1=i+(r-1)+s,b=r+c);var C=Math.max((y||0)-b,0),_=Math.min((y||0)+m,h.length-1),w=(t.slidesGrid[C]||0)-(t.slidesGrid[0]||0);function k(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(M.extend(t.virtual,{from:C,to:_,offset:w,slidesGrid:t.slidesGrid}),u===C&&d===_&&!e)return t.slidesGrid!==f&&w!==g&&t.slides.css(v,w+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:w,from:C,to:_,slides:function(){for(var e=[],t=C;t<=_;t+=1)e.push(h[t]);return e}()}),void k();var x=[],O=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var S=u;S<=d;S+=1)(S<C||S>_)&&t.$wrapperEl.find(".".concat(t.params.slideClass,'[data-swiper-slide-index="').concat(S,'"]')).remove();for(var P=0;P<h.length;P+=1)P>=C&&P<=_&&(void 0===d||e?O.push(P):(P>d&&O.push(P),P<u&&x.push(P)));O.forEach((function(e){t.$wrapperEl.append(p(h[e],e))})),x.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(p(h[e],e))})),t.$wrapperEl.children(".swiper-slide").css(v,w+"px"),k()},renderSlide:function(e,t){var n=this.params.virtual;if(n.cache&&this.virtual.cache[t])return this.virtual.cache[t];var i=d(n.renderSlide?n.renderSlide.call(this,e,t):'<div class="'.concat(this.params.slideClass,'" data-swiper-slide-index="').concat(t,'">').concat(e,"</div>"));return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",t),n.cache&&(this.virtual.cache[t]=i),i},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this.activeIndex,n=t+1,i=1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)e[r]&&this.virtual.slides.unshift(e[r]);n=t+e.length,i=e.length}else this.virtual.slides.unshift(e);if(this.params.virtual.cache){var a=this.virtual.cache,o={};Object.keys(a).forEach((function(e){var t=a[e],n=t.attr("data-swiper-slide-index");n&&t.attr("data-swiper-slide-index",parseInt(n,10)+1),o[parseInt(e,10)+i]=t})),this.virtual.cache=o}this.virtual.update(!0),this.slideTo(n,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var n=e.length-1;n>=0;n-=1)this.virtual.slides.splice(e[n],1),this.params.virtual.cache&&delete this.virtual.cache[e[n]],e[n]<t&&(t-=1),t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},ae={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){M.extend(this,{virtual:{update:re.update.bind(this),appendSlide:re.appendSlide.bind(this),prependSlide:re.prependSlide.bind(this),removeSlide:re.removeSlide.bind(this),removeAllSlides:re.removeAllSlides.bind(this),renderSlide:re.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};M.extend(this.params,e),M.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update(
1)}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},oe={handle:function(e){var t=this.rtlTranslate,n=e;n.originalEvent&&(n=n.originalEvent);var i=n.keyCode||n.charCode,r=this.params.keyboard.pageUpDown,a=r&&33===i,o=r&&34===i,c=37===i,u=39===i,d=38===i,h=40===i;if(!this.allowSlideNext&&(this.isHorizontal()&&u||this.isVertical()&&h||o))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&c||this.isVertical()&&d||a))return!1;if(!(n.shiftKey||n.altKey||n.ctrlKey||n.metaKey||s.activeElement&&s.activeElement.nodeName&&("input"===s.activeElement.nodeName.toLowerCase()||"textarea"===s.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(a||o||c||u||d||h)){var f=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var p=l.innerWidth,g=l.innerHeight,v=this.$el.offset();t&&(v.left-=this.$el[0].scrollLeft);for(var m=[[v.left,v.top],[v.left+this.width,v.top],[v.left,v.top+this.height],[v.left+this.width,v.top+this.height]],b=0;b<m.length;b+=1){var y=m[b];y[0]>=0&&y[0]<=p&&y[1]>=0&&y[1]<=g&&(f=!0)}if(!f)return}this.isHorizontal()?((a||o||c||u)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),((o||u)&&!t||(a||c)&&t)&&this.slideNext(),((a||c)&&!t||(o||u)&&t)&&this.slidePrev()):((a||o||d||h)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),(o||h)&&this.slideNext(),(a||d)&&this.slidePrev()),this.emit("keyPress",i)}},enable:function(){this.keyboard.enabled||(d(s).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(d(s).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},se={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){M.extend(this,{keyboard:{enabled:!1,enable:oe.enable.bind(this),disable:oe.disable.bind(this),handle:oe.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},ce={lastScrollTime:M.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return l.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel"in s;if(!e){var t=s.createElement("div");t.setAttribute("onwheel","return;"),e="function"==typeof t.onwheel}return!e&&s.implementation&&s.implementation.hasFeature&&!0!==s.implementation.hasFeature("","")&&(e=s.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel"},normalize:function(e){var t=0,n=0,i=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=r,r=0),(i||r)&&e.deltaMode&&(1===e.deltaMode?(i*=40,r*=40):(i*=800,r*=800)),i&&!t&&(t=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:r}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,n=this,i=n.params.mousewheel;n.params.cssMode&&t.preventDefault();var r=n.$el;if("container"!==n.params.mousewheel.eventsTarged&&(r=d(n.params.mousewheel.eventsTarged)),!n.mouseEntered&&!r[0].contains(t.target)&&!i.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var a=0,o=n.rtlTranslate?-1:1,s=ce.normalize(t);if(i.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;a=-s.pixelX*o}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;a=-s.pixelY}else a=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*o:-s.pixelY;if(0===a)return!0;if(i.invert&&(a=-a),n.params.freeMode){var c={time:M.now(),delta:Math.abs(a),direction:Math.sign(a)},l=n.mousewheel.lastEventBeforeSnap,u=l&&c.time<l.time+500&&c.delta<=l.delta&&c.direction===l.direction;if(!u){n.mousewheel.lastEventBeforeSnap=void 0,n.params.loop&&n.loopFix();var h=n.getTranslate()+a*i.sensitivity,f=n.isBeginning,p=n.isEnd;if(h>=n.minTranslate()&&(h=n.minTranslate()),h<=n.maxTranslate()&&(h=n.maxTranslate()),n.setTransition(0),n.setTranslate(h),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!f&&n.isBeginning||!p&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky){clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0;var g=n.mousewheel.recentWheelEvents;g.length>=15&&g.shift();var v=g.length?g[g.length-1]:void 0,m=g[0];if(g.push(c),v&&(c.delta>v.delta||c.direction!==v.direction))g.splice(0);else if(g.length>=15&&c.time-m.time<500&&m.delta-c.delta>=1&&c.delta<=6){var b=a>0?.8:.2;n.mousewheel.lastEventBeforeSnap=c,g.splice(0),n.mousewheel.timeout=M.nextTick((function(){n.slideToClosest(n.params.speed,!0,void 0,b)}),0)}n.mousewheel.timeout||(n.mousewheel.timeout=M.nextTick((function(){n.mousewheel.lastEventBeforeSnap=c,g.splice(0),n.slideToClosest(n.params.speed,!0,void 0,.5)}),500))}if(u||n.emit("scroll",t),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),h===n.minTranslate()||h===n.maxTranslate())return!0}}else{var y={time:M.now(),delta:Math.abs(a),direction:Math.sign(a),raw:e},C=n.mousewheel.recentWheelEvents;C.length>=2&&C.shift();var _=C.length?C[C.length-1]:void 0;if(C.push(y),_?(y.direction!==_.direction||y.delta>_.delta||y.time>
1_.time+150)&&n.mousewheel.animateSlider(y):n.mousewheel.animateSlider(y),n.mousewheel.releaseScroll(y))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){return e.delta>=6&&M.now()-this.mousewheel.lastScrollTime<60||(e.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit("scroll",e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",e.raw)),this.mousewheel.lastScrollTime=(new l.Date).getTime(),!1)},releaseScroll:function(e){var t=this.params.mousewheel;if(e.direction<0){if(this.isEnd&&!this.params.loop&&t.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges)return!0;return!1},enable:function(){var e=ce.event();if(this.params.cssMode)return this.wrapperEl.removeEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=d(this.params.mousewheel.eventsTarged)),t.on("mouseenter",this.mousewheel.handleMouseEnter),t.on("mouseleave",this.mousewheel.handleMouseLeave),t.on(e,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){var e=ce.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(e,this.mousewheel.handle),!0;if(!e)return!1;if(!this.mousewheel.enabled)return!1;var t=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(t=d(this.params.mousewheel.eventsTarged)),t.off(e,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},le={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,n=t.$nextEl,i=t.$prevEl;i&&i.length>0&&(this.isBeginning?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),n&&n.length>0&&(this.isEnd?n.addClass(e.disabledClass):n.removeClass(e.disabledClass),n[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,n=this.params.navigation;(n.nextEl||n.prevEl)&&(n.nextEl&&(e=d(n.nextEl),this.params.uniqueNavElements&&"string"==typeof n.nextEl&&e.length>1&&1===this.$el.find(n.nextEl).length&&(e=this.$el.find(n.nextEl))),n.prevEl&&(t=d(n.prevEl),this.params.uniqueNavElements&&"string"==typeof n.prevEl&&t.length>1&&1===this.$el.find(n.prevEl).length&&(t=this.$el.find(n.prevEl))),e&&e.length>0&&e.on("click",this.navigation.onNextClick),t&&t.length>0&&t.on("click",this.navigation.onPrevClick),M.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,n=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),n&&n.length&&(n.off("click",this.navigation.onPrevClick),n.removeClass(this.params.navigation.disabledClass))}},ue={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var n,i=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,r=this.pagination.$el,a=this.params.loop?Math.ceil((i-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((n=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>i-1-2*this.loopedSlides&&(n-=i-2*this.loopedSlides),n>a-1&&(n-=a),n<0&&"bullets"!==this.params.paginationType&&(n=a+n)):n=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var o,s,c,l=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=l.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=n-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),o=n-this.pagination.dynamicBulletIndex,c=((s=o+(Math.min(l.length,t.dynamicMainBullets)-1))+o)/2),l.removeClass("".concat(t.bulletActiveClass," ").concat(t.bulletActiveClass,"-next ").concat(t.bulletActiveClass,"-next-next ").concat(t.bulletActiveClass,"-prev ").concat(t.bulletActiveClass,"-prev-prev ").concat(t.bulletActiveClass,"-main")),r.length>1)l.each((function(e,i){var r=d(i),a=r.index();a===n&&r.addClass(t.bulletActiveClass),t.dynamicBullets&&(a>=o&&a<=s&&r.addClass(t.bulletActiveClass+"-main"),a===o&&r.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),a===s&&r.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))}));else{var u=l.eq(n),h=u.index();if(u.addClass(t.bulletActiveClass),t.dynamicBullets){for(var f=l.eq(o),p=l.eq(s),g=o;g<=s;g+=1)l.eq(g).addClass(t.bulletActiveClass+"-main");if(this.params.loop)if(h>=l.length-t.dynamicMainBullets){for(var v=t.dynamicMainBullets;v>=0;v-=1)l.eq(l.length-v).addClass(t.bulletActiveClass+"-main");l.eq(l.length-t.dynamicMainBullets-1).addClass(t.bulletActiveClass+"-prev")}else f.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),p.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next");else f.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),p.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}}if(t.dynamicBullets){var m=Math.min(l.length,t.dynamicMainBullets+4),b=(this.pagination.bulletSize*m-this.pagination.bulletSize)/2-c*this.pagination.bulletSize,y=e?"right":"left";l.css(this.isHorizontal()?y:"top",b+"px")}}if("fraction"===t.type&&(r.find("."+t.currentClass).text(t.formatFractionCurrent(n+1)),r.find("."+t.totalClass).text(t.formatFractionTotal(a))),"progressbar"===t.type){var C;C=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var _=(n+1)/a,w=1,k=1;"horizontal"===C?w=_:k=_,r.find("."+t.progressbarFillClass).transform("translate3d(0,
10,0) scaleX(".concat(w,") scaleY(").concat(k,")")).transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(r.html(t.renderCustom(this,n+1,a)),this.emit("paginationRender",this,r[0])):this.emit("paginationUpdate",this,r[0]),r[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el,n="";if("bullets"===e.type){for(var i=this.params.loop?Math.ceil(((this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length)-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,r=0;r<i;r+=1)n+=e.renderBullet?e.renderBullet.call(this,r,e.bulletClass):"<".concat(e.bulletElement,' class="').concat(e.bulletClass,'"></').concat(e.bulletElement,">");t.html(n),this.pagination.bullets=t.find("."+e.bulletClass)}"fraction"===e.type&&(n=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'.concat(e.currentClass,'"></span> / <span class="').concat(e.totalClass,'"></span>'),t.html(n)),"progressbar"===e.type&&(n=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'.concat(e.progressbarFillClass,'"></span>'),t.html(n)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var n=d(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass("".concat(t.modifierClass).concat(t.type,"-dynamic")),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click","."+t.bulletClass,(function(t){t.preventDefault();var n=d(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),M.extend(e.pagination,{$el:n,el:n[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},de={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,n=this.progress,i=e.dragSize,r=e.trackSize,a=e.$dragEl,o=e.$el,s=this.params.scrollbar,c=i,l=(r-i)*n;t?(l=-l)>0?(c=i-l,l=0):-l+i>r&&(c=r+l):l<0?(c=i+l,l=0):l+i>r&&(c=r-l),this.isHorizontal()?(a.transform("translate3d(".concat(l,"px, 0, 0)")),a[0].style.width=c+"px"):(a.transform("translate3d(0px, ".concat(l,"px, 0)")),a[0].style.height=c+"px"),s.hide&&(clearTimeout(this.scrollbar.timeout),o[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){o[0].style.opacity=0,o.transition(400)}),1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,n=e.$el;t[0].style.width="",t[0].style.height="";var i,r=this.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,a=this.size/this.virtualSize,o=a*(r/this.size);i="auto"===this.params.scrollbar.dragSize?r*a:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=i+"px":t[0].style.height=i+"px",n[0].style.display=a>=1?"none":"",this.params.scrollbar.hide&&(n[0].style.opacity=0),M.extend(e,{trackSize:r,divider:a,moveDivider:o,dragSize:i}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY}
1,setDragPosition:function(e){var t,n=this.scrollbar,i=this.rtlTranslate,r=n.$el,a=n.dragSize,o=n.trackSize,s=n.dragStartPos;t=(n.getPointerPosition(e)-r.offset()[this.isHorizontal()?"left":"top"]-(null!==s?s:a/2))/(o-a),t=Math.max(Math.min(t,1),0),i&&(t=1-t);var c=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(c),this.setTranslate(c),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,n=this.scrollbar,i=this.$wrapperEl,r=n.$el,a=n.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===a[0]||e.target===a?n.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),a.transition(100),n.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),r.transition(0),t.hide&&r.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,n=this.$wrapperEl,i=t.$el,r=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),n.transition(0),i.transition(0),r.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,n=this.scrollbar,i=this.$wrapperEl,r=n.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),i.transition("")),t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=M.nextTick((function(){r.css("opacity",0),r.transition(400)}),1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,n=this.touchEventsDesktop,i=this.params,r=e.$el[0],a=!(!I.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},o=!(!I.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};I.touch?(r.addEventListener(t.start,this.scrollbar.onDragStart,a),r.addEventListener(t.move,this.scrollbar.onDragMove,a),r.addEventListener(t.end,this.scrollbar.onDragEnd,o)):(r.addEventListener(n.start,this.scrollbar.onDragStart,a),s.addEventListener(n.move,this.scrollbar.onDragMove,a),s.addEventListener(n.end,this.scrollbar.onDragEnd,o))}},disableDraggable:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.touchEventsTouch,n=this.touchEventsDesktop,i=this.params,r=e.$el[0],a=!(!I.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},o=!(!I.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};I.touch?(r.removeEventListener(t.start,this.scrollbar.onDragStart,a),r.removeEventListener(t.move,this.scrollbar.onDragMove,a),r.removeEventListener(t.end,this.scrollbar.onDragEnd,o)):(r.removeEventListener(n.start,this.scrollbar.onDragStart,a),s.removeEventListener(n.move,this.scrollbar.onDragMove,a),s.removeEventListener(n.end,this.scrollbar.onDragEnd,o))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,n=this.params.scrollbar,i=d(n.el);this.params.uniqueNavElements&&"string"==typeof n.el&&i.length>1&&1===t.find(n.el).length&&(i=t.find(n.el));var r=i.find("."+this.params.scrollbar.dragClass);0===r.length&&(r=d('<div class="'.concat(this.params.scrollbar.dragClass,'"></div>')),i.append(r)),M.extend(e,{$el:i,el:i[0],$dragEl:r,dragEl:r[0]}),n.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},he={setTransform:function(e,t){var n=this.rtl,i=d(e),r=n?-1:1,a=i.attr("data-swiper-parallax")||"0",o=i.attr("data-swiper-parallax-x"),s=i.attr("data-swiper-parallax-y"),c=i.attr("data-swiper-parallax-scale"),l=i.attr("data-swiper-parallax-opacity");if(o||s?(o=o||"0",s=s||"0"):this.isHorizontal()?(o=a,s="0"):(s=a,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*t*r+"%":o*t*r+"px",s=s.indexOf("%")>=0?parseInt(s,10)*t+"%":s*t+"px",null!=l){var u=l-(l-1)*(1-Math.abs(t));i[0].style.opacity=u}if(null==c)i.transform("translate3d(".concat(o,", ").concat(s,", 0px)"));else{var h=c-(c-1)*(1-Math.abs(t));i.transform("translate3d(".concat(o,", ").concat(s,", 0px) scale(").concat(h,")"))}},setTranslate:function(){var e=this,t=e.$el,n=e.slides,i=e.progress,r=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,i)})),n.each((function(t,n){var a=n.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(a+=Math.ceil(t/2)-i*(r.length-1)),a=Math.min(Math.max(a,-1),1),d(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,a)}))}))},setTransition:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.params.speed,t=this.$el;t.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){var i=d(n),r=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(r=0),i.transition(r)}))}},fe={getDistanceBetweenTouches:function(e){return e.targetTouches.length<2?1:Math.sqrt(Math.pow(e.targetTouches[1].pageX-e.targetTouches[0].pageX,2)+Math.pow(e.targetTouches[1].pageY-e.targetTouches[0].pageY,2))},onGestureStart:function(e){var t=this.params.zoom,n=this.zoom,i=n.gesture;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!I.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;n.fakeGestureTouched=!0,i.scaleStart=fe.getDistanceBetweenTouches(e)}i.$slideEl&&i.$slideEl.length||(i.$slideEl=d(e.target).closest("."+this.params.slideClass),0===i.$slideEl.length&&(i.$slideEl=this.slides.eq(this.activeIndex)),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass),i.maxRatio=i.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==i.$imageWrapEl.length)?(i.$imageEl&&i.$imageEl.transition(0),this.zoom.isScaling=!0):i.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,n=this.zoom,i=n.gesture;if(!I.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,i.scaleMove=fe.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=I.gestures?e.scale*n.currentScale:i.scaleMove/i.scaleStart*n.currentScale,n.scale>i.maxRatio&&(n.scale=i.maxRatio-1+Math.pow(n.scale-i.maxRatio+1,.5)),n.scale<t.minRatio&&(n.scale=t.minRatio+1-Math.pow(t.minRatio-n.scale+1,.5)),i.$imageEl.transform("translate3d(0,
10,0) scale(".concat(n.scale,")")))},onGestureEnd:function(e){var t=this.params.zoom,n=this.zoom,i=n.gesture;if(!I.gestures){if(!n.fakeGestureTouched||!n.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!R.android)return;n.fakeGestureTouched=!1,n.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=Math.max(Math.min(n.scale,i.maxRatio),t.minRatio),i.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale(".concat(n.scale,")")),n.currentScale=n.scale,n.isScaling=!1,1===n.scale&&(i.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,n=t.gesture,i=t.image;n.$imageEl&&0!==n.$imageEl.length&&(i.isTouched||(R.android&&e.cancelable&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this.zoom,n=t.gesture,i=t.image,r=t.velocity;if(n.$imageEl&&0!==n.$imageEl.length&&(this.allowClick=!1,i.isTouched&&n.$slideEl)){i.isMoved||(i.width=n.$imageEl[0].offsetWidth,i.height=n.$imageEl[0].offsetHeight,i.startX=M.getTranslate(n.$imageWrapEl[0],"x")||0,i.startY=M.getTranslate(n.$imageWrapEl[0],"y")||0,n.slideWidth=n.$slideEl[0].offsetWidth,n.slideHeight=n.$slideEl[0].offsetHeight,n.$imageWrapEl.transition(0),this.rtl&&(i.startX=-i.startX,i.startY=-i.startY));var a=i.width*t.scale,o=i.height*t.scale;if(!(a<n.slideWidth&&o<n.slideHeight)){if(i.minX=Math.min(n.slideWidth/2-a/2,0),i.maxX=-i.minX,i.minY=Math.min(n.slideHeight/2-o/2,0),i.maxY=-i.minY,i.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!i.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(i.minX)===Math.floor(i.startX)&&i.touchesCurrent.x<i.touchesStart.x||Math.floor(i.maxX)===Math.floor(i.startX)&&i.touchesCurrent.x>i.touchesStart.x))return void(i.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.y<i.touchesStart.y||Math.floor(i.maxY)===Math.floor(i.startY)&&i.touchesCurrent.y>i.touchesStart.y))return void(i.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),i.isMoved=!0,i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX,i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY,i.currentX<i.minX&&(i.currentX=i.minX+1-Math.pow(i.minX-i.currentX+1,.8)),i.currentX>i.maxX&&(i.currentX=i.maxX-1+Math.pow(i.currentX-i.maxX+1,.8)),i.currentY<i.minY&&(i.currentY=i.minY+1-Math.pow(i.minY-i.currentY+1,.8)),i.currentY>i.maxY&&(i.currentY=i.maxY-1+Math.pow(i.currentY-i.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=i.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=i.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(i.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(i.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(i.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(i.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=i.touchesCurrent.x,r.prevPositionY=i.touchesCurrent.y,r.prevTime=Date.now(),n.$imageWrapEl.transform("translate3d(".concat(i.currentX,"px, ").concat(i.currentY,"px,0)"))}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,n=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;var r=300,a=300,o=n.currentX+i.x*r,s=n.currentY+i.y*a;0!==i.x&&(r=Math.abs((o-n.currentX)/i.x)),0!==i.y&&(a=Math.abs((s-n.currentY)/i.y));var c=Math.max(r,a);n.currentX=o,n.currentY=s;var l=n.height*e.scale;n.minX=Math.min(t.slideWidth/2-n.width*e.scale/2,0),n.maxX=-n.minX,n.minY=Math.min(t.slideHeight/2-l/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),t.$imageWrapEl.transition(c).transform("translate3d(".concat(n.currentX,"px, ").concat(n.currentY,"px,0)"))}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,
10,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,n,i,r,a,o,s,c,l,u,d,h,f,p,g,v,m=this.zoom,b=this.params.zoom,y=m.gesture,C=m.image;(y.$slideEl||(y.$slideEl=this.params.virtual&&this.params.virtual.enabled&&this.virtual?this.$wrapperEl.children("."+this.params.slideActiveClass):this.slides.eq(this.activeIndex),y.$imageEl=y.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),y.$imageWrapEl=y.$imageEl.parent("."+b.containerClass)),y.$imageEl&&0!==y.$imageEl.length)&&(y.$slideEl.addClass(""+b.zoomedSlideClass),void 0===C.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,n="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=C.touchesStart.x,n=C.touchesStart.y),m.scale=y.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,m.currentScale=y.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio,e?(g=y.$slideEl[0].offsetWidth,v=y.$slideEl[0].offsetHeight,i=y.$slideEl.offset().left+g/2-t,r=y.$slideEl.offset().top+v/2-n,s=y.$imageEl[0].offsetWidth,c=y.$imageEl[0].offsetHeight,l=s*m.scale,u=c*m.scale,f=-(d=Math.min(g/2-l/2,0)),p=-(h=Math.min(v/2-u/2,0)),(a=i*m.scale)<d&&(a=d),a>f&&(a=f),(o=r*m.scale)<h&&(o=h),o>p&&(o=p)):(a=0,o=0),y.$imageWrapEl.transition(300).transform("translate3d(".concat(a,"px, ").concat(o,"px,0)")),y.$imageEl.transition(300).transform("translate3d(0,0,0) scale(".concat(m.scale,")")))},out:function(){var e=this.zoom,t=this.params.zoom,n=e.gesture;n.$slideEl||(n.$slideEl=this.params.virtual&&this.params.virtual.enabled&&this.virtual?this.$wrapperEl.children("."+this.params.slideActiveClass):this.slides.eq(this.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),n.$imageWrapEl=n.$imageEl.parent("."+t.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&(e.scale=1,e.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+t.zoomedSlideClass),n.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!I.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},n=!I.passiveListener||{passive:!1,capture:!0},i="."+this.params.slideClass;I.gestures?(this.$wrapperEl.on("gesturestart",i,e.onGestureStart,t),this.$wrapperEl.on("gesturechange",i,e.onGestureChange,t),this.$wrapperEl.on("gestureend",i,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,i,e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,i,e.onGestureChange,n),this.$wrapperEl.on(this.touchEvents.end,i,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel,i,e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,n)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!I.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},n=!I.passiveListener||{passive:!1,capture:!0},i="."+this.params.slideClass;I.gestures?(this.$wrapperEl.off("gesturestart",i,e.onGestureStart,t),this.$wrapperEl.off("gesturechange",i,e.onGestureChange,t),this.$wrapperEl.off("gestureend",i,e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,i,e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,i,e.onGestureChange,n),this.$wrapperEl.off(this.touchEvents.end,i,e.onGestureEnd,t),this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel,i,e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,n)}}},pe={loadInSlide:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,i=n.params.lazy;if(void 0!==e&&0!==n.slides.length){var r=n.virtual&&n.params.virtual.enabled?n.$wrapperEl.children(".".concat(n.params.slideClass,'[data-swiper-slide-index="').concat(e,'"]')):n.slides.eq(e),a=r.find(".".concat(i.elementClass,":not(.").concat(i.loadedClass,"):not(.").concat(i.loadingClass,")"));!r.hasClass(i.elementClass)||r.hasClass(i.loadedClass)||r.hasClass(i.loadingClass)||(a=a.add(r[0])),0!==a.length&&a.each((function(e,a){var o=d(a);o.addClass(i.loadingClass);var s=o.attr("data-background"),c=o.attr("data-src"),l=o.attr("data-srcset"),u=o.attr("data-sizes"),h=o.parent("picture");n.loadImage(o[0],c||s,l,u,!1,(function(){if(null!=n&&n&&(!n||n.params)&&!n.destroyed){
1if(s?(o.css("background-image",'url("'.concat(s,'")')),o.removeAttr("data-background")):(l&&(o.attr("srcset",l),o.removeAttr("data-srcset")),u&&(o.attr("sizes",u),o.removeAttr("data-sizes")),h.length&&h.children("source").each((function(e,t){var n=d(t);n.attr("data-srcset")&&(n.attr("srcset",n.attr("data-srcset")),n.removeAttr("data-srcset"))})),c&&(o.attr("src",c),o.removeAttr("data-src"))),o.addClass(i.loadedClass).removeClass(i.loadingClass),r.find("."+i.preloaderClass).remove(),n.params.loop&&t){var e=r.attr("data-swiper-slide-index");if(r.hasClass(n.params.slideDuplicateClass)){var a=n.$wrapperEl.children('[data-swiper-slide-index="'.concat(e,'"]:not(.').concat(n.params.slideDuplicateClass,")"));n.lazy.loadInSlide(a.index(),!1)}else{var f=n.$wrapperEl.children(".".concat(n.params.slideDuplicateClass,'[data-swiper-slide-index="').concat(e,'"]'));n.lazy.loadInSlide(f.index(),!1)}}n.emit("lazyImageReady",r[0],o[0]),n.params.autoHeight&&n.updateAutoHeight()}})),n.emit("lazyImageLoad",r[0],o[0])}))}},load:function(){var e=this,t=e.$wrapperEl,n=e.params,i=e.slides,r=e.activeIndex,a=e.virtual&&n.virtual.enabled,o=n.lazy,s=n.slidesPerView;function c(e){if(a){if(t.children(".".concat(n.slideClass,'[data-swiper-slide-index="').concat(e,'"]')).length)return!0}else if(i[e])return!0;return!1}function l(e){return a?d(e).attr("data-swiper-slide-index"):d(e).index()}if("auto"===s&&(s=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+n.slideVisibleClass).each((function(t,n){var i=a?d(n).attr("data-swiper-slide-index"):d(n).index();e.lazy.loadInSlide(i)}));else if(s>1)for(var u=r;u<r+s;u+=1)c(u)&&e.lazy.loadInSlide(u);else e.lazy.loadInSlide(r);if(o.loadPrevNext)if(s>1||o.loadPrevNextAmount&&o.loadPrevNextAmount>1){for(var h=o.loadPrevNextAmount,f=s,p=Math.min(r+f+Math.max(h,f),i.length),g=Math.max(r-Math.max(f,h),0),v=r+s;v<p;v+=1)c(v)&&e.lazy.loadInSlide(v);for(var m=g;m<r;m+=1)c(m)&&e.lazy.loadInSlide(m)}else{var b=t.children("."+n.slideNextClass);b.length>0&&e.lazy.loadInSlide(l(b));var y=t.children("."+n.slidePrevClass);y.length>0&&e.lazy.loadInSlide(l(y))}}},ge={LinearSpline:function(e,t){var n,i,r,a,o,s=function(e,t){for(i=-1,n=e.length;n-i>1;)e[r=n+i>>1]<=t?i=r:n=r;return n};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(o=s(this.x,e),a=o-1,(e-this.x[a])*(this.y[o]-this.y[a])/(this.x[o]-this.x[a])+this.y[a]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new ge.LinearSpline(this.slidesGrid,e.slidesGrid):new ge.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var n,i,r=this,a=r.controller.control;function o(e){var t=r.rtlTranslate?-r.translate:r.translate;"slide"===r.params.controller.by&&(r.controller.getInterpolateFunction(e),i=-r.controller.spline.interpolate(-t)),i&&"container"!==r.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(r.maxTranslate()-r.minTranslate()),i=(t-r.minTranslate())*n+e.minTranslate()),r.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,r),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(a))for(var s=0;s<a.length;s+=1)a[s]!==t&&a[s]instanceof Y&&o(a[s]);else a instanceof Y&&t!==a&&o(a)},setTransition:function(e,t){var n,i=this,r=i.controller.control;function a(t){t.setTransition(e,i),0!==e&&(t.transitionStart(),t.params.autoHeight&&M.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){r&&(t.params.loop&&"slide"===i.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(r))for(n=0;n<r.length;n+=1)r[n]!==t&&r[n]instanceof Y&&a(r[n]);else r instanceof Y&&t!==r&&a(r)}},ve={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;if(13===e.keyCode){var n=d(e.target);this.navigation&&this.navigation.$nextEl&&n.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.a11y.notify(this.isEnd?t.lastSlideMessage:t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&n.is(this.navigation.$prevEl)&&(this.isBeg
1inning&&!this.params.loop||this.slidePrev(),this.a11y.notify(this.isBeginning?t.firstSlideMessage:t.prevSlideMessage)),this.pagination&&n.is("."+this.params.pagination.bulletClass)&&n[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){if(!this.params.loop&&this.navigation){var e=this.navigation,t=e.$nextEl,n=e.$prevEl;n&&n.length>0&&(this.isBeginning?(this.a11y.disableEl(n),this.a11y.makeElNotFocusable(n)):(this.a11y.enableEl(n),this.a11y.makeElFocusable(n))),t&&t.length>0&&(this.isEnd?(this.a11y.disableEl(t),this.a11y.makeElNotFocusable(t)):(this.a11y.enableEl(t),this.a11y.makeElFocusable(t)))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(n,i){var r=d(i);e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.paginationBulletMessage.replace(/\{\{index\}\}/,r.index()+1))}))},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,n=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,n.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,n.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},me={init:function(){if(this.params.history){if(!l.history||!l.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=me.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||l.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||l.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=me.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=l.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){if(this.history.initialized&&this.params.history.enabled){var n=this.slides.eq(t),i=me.slugify(n.attr("data-history"));l.location.pathname.includes(e)||(i="".concat(e,"/").concat(i));var r=l.history.state;r&&r.value===i||(this.params.history.replaceState?l.history.replaceState({value:i},null,i):l.history.pushState({value:i},null,i))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,n){if(t)for(var i=0,r=this.slides.length;i<r;i+=1){var a=this.slides.eq(i);if(me.slugify(a.attr("data-history"))===t&&!a.hasClass(this.params.slideDuplicateClass)){var o=a.index();this.slideTo(o,e,n)}}else this.slideTo(0,e,n)}},be={onHashCange:function(){this.emit("hashChange");var e=s.location.hash.replace("#","");if(e!==this.slides.eq(this.activeIndex).attr("data-hash")){var t=this.$wrapperEl.children(".".concat(this.params.slideClass,'[data-hash="').concat(e,'"]')).index();if(void 0===t)return;this.slideTo(t)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&l.history&&l.history.replaceState)l.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||""),this.emit
1("hashSet");else{var e=this.slides.eq(this.activeIndex),t=e.attr("data-hash")||e.attr("data-history");s.location.hash=t||"",this.emit("hashSet")}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var e=s.location.hash.replace("#","");if(e)for(var t=0,n=this.slides.length;t<n;t+=1){var i=this.slides.eq(t);if((i.attr("data-hash")||i.attr("data-history"))===e&&!i.hasClass(this.params.slideDuplicateClass)){var r=i.index();this.slideTo(r,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&d(l).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&d(l).off("hashchange",this.hashNavigation.onHashCange)}},ye={run:function(){var e=this,t=e.slides.eq(e.activeIndex),n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=M.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()}),n)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},Ce={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var n=this.slides.eq(t),i=-n[0].swiperSlideOffset;this.params.virtualTranslate||(i-=this.translate);var r=0;this.isHorizontal()||(r=i,i=0);var a=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(n[0].progress),0):1+Math.min(Math.max(n[0].progress,-1),0);n.css({opacity:a}).transform("translate3d(".concat(i,"px, ").concat(r,"px, 0px)"))}},setTransition:function(e){var t=this,n=t.slides,i=t.$wrapperEl;if(n.transition(e),t.params.virtualTranslate&&0!==e){var r=!1;n.transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)i.trigger(e[n])}}))}}},_e={setTranslate:function(){var e,t=this.$el,n=this.$wrapperEl,i=this.slides,r=this.width,a=this.height,o=this.rtlTranslate,s=this.size,c=this.params.cubeEffect,l=this.isHorizontal(),u=this.virtual&&this.params.virtual.enabled,h=0;c.shadow&&(l?(0===(e=n.find(".swiper-cube-shadow")).length&&(e=d('<div class="swiper-cube-shadow"></div>'),n.append(e)),e.css({height:r+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=d('<div class="swiper-cube-shadow"></div>'),t.append(e)));for(var f=0;f<i.length;f+=1){var p=i.eq(f),g=f;u&&(g=parseInt(p.attr("data-swiper-slide-index"),10));var v=90*g,m=Math.floor(v/360);o&&(v=-v,m=Math.floor(-v/360));var b=Math.max(Math.min(p[0].progress,1),-1),y=0,C=0,_=0;g%4==0?(y=4*-m*s,_=0):(g-1)%4==0?(y=0,_=4*-m*s):(g-2)%4==0?(y=s+4*m*s,_=s):(g-3)%4==0&&(y=-s,_=3*s+4*s*m),o&&(y=-y),l||(C=y,y=0);var w="rotateX(".concat(l?0:-v,"deg) rotateY(").concat(l?v:0,"deg) translate3d(").concat(y,"px, ").concat(C,"px, ").concat(_,"px)");if(b<=1&&b>-1&&(h=90*g+90*b,o&&(h=90*-g-90*b)),p.transform(w),c.slideShadows){var k=p.find(l?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),x=p.find(l?".swiper-slide-shadow-right":".
1swiper-slide-shadow-bottom");0===k.length&&(k=d('<div class="swiper-slide-shadow-'.concat(l?"left":"top",'"></div>')),p.append(k)),0===x.length&&(x=d('<div class="swiper-slide-shadow-'.concat(l?"right":"bottom",'"></div>')),p.append(x)),k.length&&(k[0].style.opacity=Math.max(-b,0)),x.length&&(x[0].style.opacity=Math.max(b,0))}}if(n.css({"-webkit-transform-origin":"50% 50% -".concat(s/2,"px"),"-moz-transform-origin":"50% 50% -".concat(s/2,"px"),"-ms-transform-origin":"50% 50% -".concat(s/2,"px"),"transform-origin":"50% 50% -".concat(s/2,"px")}),c.shadow)if(l)e.transform("translate3d(0px, ".concat(r/2+c.shadowOffset,"px, ").concat(-r/2,"px) rotateX(90deg) rotateZ(0deg) scale(").concat(c.shadowScale,")"));else{var O=Math.abs(h)-90*Math.floor(Math.abs(h)/90),S=1.5-(Math.sin(2*O*Math.PI/360)/2+Math.cos(2*O*Math.PI/360)/2),P=c.shadowScale/S;e.transform("scale3d(".concat(c.shadowScale,", 1, ").concat(P,") translate3d(0px, ").concat(a/2+c.shadowOffset,"px, ").concat(-a/2/P,"px) rotateX(-90deg)"))}n.transform("translate3d(0px,0,".concat(J.isSafari||J.isWebView?-s/2:0,"px) rotateX(").concat(this.isHorizontal()?0:h,"deg) rotateY(").concat(this.isHorizontal()?-h:0,"deg)"))},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},we={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,n=0;n<e.length;n+=1){var i=e.eq(n),r=i[0].progress;this.params.flipEffect.limitRotation&&(r=Math.max(Math.min(i[0].progress,1),-1));var a=-180*r,o=0,s=-i[0].swiperSlideOffset,c=0;if(this.isHorizontal()?t&&(a=-a):(c=s,s=0,o=-a,a=0),i[0].style.zIndex=-Math.abs(Math.round(r))+e.length,this.params.flipEffect.slideShadows){var l=this.isHorizontal()?i.find(".swiper-slide-shadow-left"):i.find(".swiper-slide-shadow-top"),u=this.isHorizontal()?i.find(".swiper-slide-shadow-right"):i.find(".swiper-slide-shadow-bottom");0===l.length&&(l=d('<div class="swiper-slide-shadow-'.concat(this.isHorizontal()?"left":"top",'"></div>')),i.append(l)),0===u.length&&(u=d('<div class="swiper-slide-shadow-'.concat(this.isHorizontal()?"right":"bottom",'"></div>')),i.append(u)),l.length&&(l[0].style.opacity=Math.max(-r,0)),u.length&&(u[0].style.opacity=Math.max(r,0))}i.transform("translate3d(".concat(s,"px, ").concat(c,"px, 0px) rotateX(").concat(o,"deg) rotateY(").concat(a,"deg)"))}},setTransition:function(e){var t=this,n=t.slides,i=t.activeIndex,r=t.$wrapperEl;if(n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var a=!1;n.eq(i).transitionEnd((function(){if(!a&&t&&!t.destroyed){a=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)r.trigger(e[n])}}))}}},ke={setTranslate:function(){for(var e=this.width,t=this.height,n=this.slides,i=this.$wrapperEl,r=this.slidesSizesGrid,a=this.params.coverflowEffect,o=this.isHorizontal(),s=this.translate,c=o?e/2-s:t/2-s,l=o?a.rotate:-a.rotate,u=a.depth,h=0,f=n.length;h<f;h+=1){var p=n.eq(h),g=r[h],v=(c-p[0].swiperSlideOffset-g/2)/g*a.modifier,m=o?l*v:0,b=o?0:l*v,y=-u*Math.abs(v),C=a.stretch;"string"==typeof C&&-1!==C.indexOf("%")&&(C=parseFloat(a.stretch)/100*g);var _=o?0:C*v,w=o?C*v:0,k=1-(1-a.scale)*Math.abs(v);if(Math.abs(w)<.001&&(w=0),Math.abs(_)<.001&&(_=0),Math.abs(y)<.001&&(y=0),Math.abs(m)<.001&&(m=0),Math.abs(b)<.001&&(b=0),Math.abs(k)<.001&&(k=0),p.transform("translate3d(".concat(w,"px,").concat(_,"px,").concat(y,"px)  rotateX(").concat(b,"deg) rotateY(").concat(m,"deg) scale(").concat(k,")")),p[0].style.zIndex=1-Math.abs(Math.round(v)),a.slideShadows){var x=p.find(o?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),O=p.find(o?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");0===x.length&&(x=d('<div class="swiper-slide-shadow-'.concat(o?"left":"top",'"></div>')),p.append(x)),0===O.length&&(O=d('<div class="swiper-slide-shadow-'.concat(o?"right":"bottom",'"></div>')),p.append(O)),x.length&&(x[0].style.opacity=v>0?v:0),O.length&&(O[0].style.opacity=-v>0?-v:0)}}(I.pointerEvents||I.prefixedPointerEvents)&&(i[0].style.perspectiveOrigin=c+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},xe={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,M.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),M.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):M.isObject(e.swiper)&&(this.thumbs.swiper=new t(M.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e=this.thumbs.swiper;if(e){var t=e.clickedIndex,n=e.clickedSlide;if(!(n&&d(n).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){var i;if(i=e.params.loop?parseInt(d(e.clickedSlide).attr("data-swiper-slide-index"),10):t,this.params.loop){var r=this.activeIndex;this.slides.eq(r).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,r=this.activeIndex);var a=this.slides.eq(r).prevAll('[data-swiper-slide-index="'.concat(i,'"]')).eq(0).index(),o=this.slides.eq(r).nextAll('[data-swiper-slide-index="'.concat(i,'"]')).eq(0).index();i=void 0===a?o:void 0===o?a:o-r<r-a?o:a}this.slideTo(i)}}},update:function(e){var t=this.thumbs.swiper;if(t){var n="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView,i=this.params.thumbs.autoScrollOffset,r=i&&!t.params.loop;if(this.realIndex!==t.realIndex||r){var a,o,s=t.activeIndex;if(t.params.loop){t.slides.eq(s).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,s=t.activeIndex);var c=t.slides.eq(s).prevAll('[data-swiper-slide-index="'.concat(this.realIndex,'"]')).eq(0).index(),l=t.slides.eq(s).nextAll('[data-swiper-slide-index="'.concat(this.realIndex,'"]')).eq(0).index();a=void 0===c?l:void 0===l?c:l-s==s-c?s:l-s<s-c?l:c,o=this.activeIndex>this.previousIndex?"next":"prev"}else o=(a=this.realIndex)>this.previousIndex?"next":"prev";r&&(a+="next"===o?i:-1*i),t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(a)<0&&(t.params.centeredSlides?a=a>s?a-Math.floor(n/2)+1:a+Math.floor(n/2)-1:a>s&&(a=a-n+1),t.slideTo(a,e?0:void 0))}var u=1,d=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(u=this.params.slidesPerView),this.params.thumbs.multipleActiveThumbs||(u=1),u=Math.floor(u),t.slides.removeClass(d),t.params.loop||t.params.virtual&&t.params.virtual.enabled)for(var h=0;h<u;h+=1)t.$wrapperEl.children('[data-swiper-slide-index="'.concat(this.realIndex+h,'"]')).addClass(d);else for(var f=0;f<u;f+=1)t.slides.eq(this.realIndex+f).addClass(d)}}},Oe=[Q,K,ee,te,ie,ae,se,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){M.extend(this,{mousewheel:{enabled:!1,enable:ce.enable.bind(this),disable:ce.disable.bind(this),handle:ce.handle.bind(this),handleMouseEnter:ce.handleMouseEnter.bind(this),handleMouseLeave:ce.handleMouseLeave.bind(this),animateSlider:ce.animateSlider.bind(this),releaseScroll:ce.releaseScroll.bind(this),lastScrollTime:M.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[]}})},on:{init:function(){!this.params.mousewheel.enabled&&this.params.cssMode&&this.mousewheel.disable(),this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.params.cssMode&&this.mousewheel.enable(),this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){M.extend(this,{navigation:{init:le.init.bind(this),update:le.update.bind(this),destroy:le.destroy.bind(this),onNextClick:le.onNextClick.bind(this),onPrevClick:le.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,n=this.navigation,i=n.$nextEl,r=n.$prevEl;!this.params.navigation.hideOnClick||d(e.target).is(r)||d(e.target).is(i)||(i?t=i.hasClass(this.params.navigation.hiddenClass):r&&(t=r.hasClass(this.params.navigation.hiddenClass)),this.emit
1(!0===t?"navigationShow":"navigationHide",this),i&&i.toggleClass(this.params.navigation.hiddenClass),r&&r.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){M.extend(this,{pagination:{init:ue.init.bind(this),render:ue.render.bind(this),update:ue.update.bind(this),destroy:ue.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){(this.params.loop||void 0===this.snapIndex)&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){if(this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!d(e.target).hasClass(this.params.pagination.bulletClass)){var t=this.pagination.$el.hasClass(this.params.pagination.hiddenClass);this.emit(!0===t?"paginationShow":"paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass)}}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){M.extend(this,{scrollbar:{init:de.init.bind(this),destroy:de.destroy.bind(this),updateSize:de.updateSize.bind(this),setTranslate:de.setTranslate.bind(this),setTransition:de.setTransition.bind(this),enableDraggable:de.enableDraggable.bind(this),disableDraggable:de.disableDraggable.bind(this),setDragPosition:de.setDragPosition.bind(this),getPointerPosition:de.getPointerPosition.bind(this),onDragStart:de.onDragStart.bind(this),onDragMove:de.onDragMove.bind(this),onDragEnd:de.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){M.extend(this,{parallax:{setTransform:he.setTransform.bind(this),setTranslate:he.setTranslate.bind(this),setTransition:he.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(n){t[n]=fe[n].bind(e)})),M.extend(e,{zoom:t});var n=1;Object.defineProperty(e.zoom,"scale",{get:function(){return n},set:function(t){n!==t&&e.emit("zoomChange",t,e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0),n=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()},slideChange:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){M.extend(this,{lazy:{initialImageLoaded:!1,load:pe.load.bind(this),loadInSlide:pe.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()},slideChange:function(){this.params.lazy.enabled&&this.params.cssMode&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){M.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:ge.getInterpolateFunction.bind(this),setTranslate:ge.setTranslate.bind(this),setTransition:ge.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;M.extend(e,{a11y:{liveRegion:d('<span class="'.concat(e.params.a11y.notificationClass,'" aria-live="assertive" aria-atomic="true"></span>'))}}),Object.keys(ve).forEach((function(t){e.a11y[t]=ve[t].bind(e)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){M.extend(this,{history:{init:me.init.bind(this),setHistory:me.setHistory.bind(this),setHistoryPopState:me.setHistoryPopState.bind(this),scrollToSlide:me.scrollToSlide.bind(this),destroy:me.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)},slideChange:function(){this.history.initialized&&this.params.cssMode&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){M.extend(this,{hashNavigation:{initialized:!1,init:be.init.bind(this),destroy:be.destroy.bind(this),setHash:be.setHash.bind(this),onHashCange:be.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()},slideChange:function(){this.hashNavigation.initialized&&this.params.cssMode&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;M.extend(e,{autoplay:{running:!1,paused:!1,run:ye.run.bind(e),start:ye.start.bind(e),stop:ye.stop.bind(e),pause:ye.pause.bind(e),onVisibilityChange:function(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addEventListener("visibilitychange",this.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},touchEnd:function(){this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeEventListener("visibilitychange",this.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){M.extend(this,{fadeEffect:{setTranslate:Ce.setTranslate.bind(this),setTransition:Ce.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};M.extend(this.params,e),M.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){M.extend(this,{cubeEffect:{setTranslate:_e.setTranslate.bind(this),setTransition:_e.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};M.extend(this.params,e),M.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){M.extend(this,{flipEffect:{setTranslate:we.setTranslate.bind(this),setTransition:we.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};M.extend(this.params,e),M.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){M.extend(this,{coverflowEffect:{setTranslate:ke.setTranslate.bind(this),setTransition:ke.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){M.extend(this,{thumbs:{swiper:null,init:xe.init.bind(this),update:xe.update.bind(this),onThumbClick:xe.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];
1void 0===Y.use&&(Y.use=Y.Class.use,Y.installModule=Y.Class.installModule),Y.use(Oe);var Se,Pe,Ee,Me=Y,Ie=["swiperSlides"],De=["*"],je=new i.v("SWIPER_CONFIG"),Ae=["init","beforeDestroy","scroll","progress","keyPress","resize","loopFix","breakpoint","zoomChange","beforeResize","beforeLoopFix","sliderMove","slideChange","setTranslate","setTransition","fromEdge","reachEnd","reachBeginning","autoplay","autoplayStop","autoplayStart","imagesReady","lazyImageLoad","lazyImageReady","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","navigationHide","navigationShow","paginationRender","paginationUpdate","paginationHide","paginationShow","swiperTap","swiperClick","swiperDoubleTap","swiperTouchEnd","swiperTouchMove","swiperTouchStart","swiperTouchMoveOpposite","swiperTransitionEnd","swiperTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideChangeTransitionEnd","slideChangeTransitionStart"],Te=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,e),this.assign(t)}return _createClass(e,[{key:"assign",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t=t||this,e)null==e[n]||Array.isArray(e[n])||"object"!=typeof e[n]||"undefined"!=typeof HTMLElement&&e[n]instanceof HTMLElement?t[n]=e[n]:(t[n]={},this.assign(e[n],t[n]))}}]),e}(),ze=((Ee=function(){function e(t,n,r,a,o){_classCallCheck(this,e),this.platformId=t,this.zone=n,this.elementRef=r,this.differs=a,this.defaults=o,this.initialIndex=null,this.configDiff=null,this.disabled=!1,this.performance=!1,this.indexChange=new i.s,this.S_INIT=new i.s,this.S_BEFOREDESTROY=new i.s,this.S_SCROLL=new i.s,this.S_PROGRESS=new i.s,this.S_KEYPRESS=new i.s,this.S_RESIZE=new i.s,this.S_BREAKPOINT=new i.s,this.S_ZOOMCHANGE=new i.s,this.S_AFTERRESIZE=new i.s,this.S_BEFORERESIZE=new i.s,this.S_LOOPFIX=new i.s,this.S_BEFORELOOPFIX=new i.s,this.S_SLIDERMOVE=new i.s,this.S_SLIDECHANGE=new i.s,this.S_SETTRANSLATE=new i.s,this.S_SETTRANSITION=new i.s,this.S_FROMEDGE=new i.s,this.S_REACHEND=new i.s,this.S_REACHBEGINNING=new i.s,this.S_AUTOPLAY=new i.s,this.S_AUTOPLAYSTART=new i.s,this.S_AUTOPLAYSTOP=new i.s,this.S_IMAGESREADY=new i.s,this.S_LAZYIMAGELOAD=new i.s,this.S_LAZYIMAGEREADY=new i.s,this.S_SCROLLDRAGEND=new i.s,this.S_SCROLLDRAGMOVE=new i.s,this.S_SCROLLDRAGSTART=new i.s,this.S_NAVIGATIONHIDE=new i.s,this.S_NAVIGATIONSHOW=new i.s,this.S_PAGINATIONRENDER=new i.s,this.S_PAGINATIONUPDATE=new i.s,this.S_PAGINATIONHIDE=new i.s,this.S_PAGINATIONSHOW=new i.s,this.S_TAP=new i.s,this.S_CLICK=new i.s,this.S_DOUBLETAP=new i.s,this.S_TOUCHEND=new i.s,this.S_TOUCHMOVE=new i.s,this.S_TOUCHSTART=new i.s,this.S_TOUCHMOVEOPPOSITE=new i.s,this.S_TRANSITIONEND=new i.s,this.S_TRANSITIONSTART=new i.s,this.S_SLIDEPREVTRANSITIONEND=new i.s,this.S_SLIDEPREVTRANSITIONSTART=new i.s,this.S_SLIDENEXTTRANSITIONEND=new i.s,this.S_SLIDENEXTTRANSITIONSTART=new i.s,this.S_SLIDECHANGETRANSITIONEND=new i.s,this.S_SLIDECHANGETRANSITIONSTART=new i.s}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;if(Object(r.O)(this.platformId)){var t=new Te(this.defaults);t.assign(this.config),!0===t.scrollbar&&(t.scrollbar={el:".swiper-scrollbar"}),!0===t.pagination&&(t.pagination={el:".swiper-pagination"}),!0===t.navigation&&(t.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}),this.disabled&&(t.allowSlidePrev=!1,t.allowSlideNext=!1),null!=this.initialIndex&&(t.initialSlide=this.initialIndex,this.initialIndex=null),t.on={slideChange:function(){e.instance&&e.indexChange.observers.length&&e.emit(e.indexChange,e.instance.realIndex)}},this.zone.runOutsideAngular((function(){e.instance=new Me(e.elementRef.nativeElement,t)})),!1!==t.init&&this.S_INIT.observers.length&&this.emit(this.S_INIT,this.instance),Ae.forEach((function(t){var n=t.replace("swiper","");n=n.charAt(0).toLowerCase()+n.slice(1),e.instance.on(n,(function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];1===i.length&&(i=i[0]);var a=e["S_"+n.toUpperCase()];a.observers.length&&e.emit(a,i)}))})),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{}))}}},{key:"ngOnDestroy",value:function(){var e=this;this.instance&&(this.zone.runOutsideAngular((function(){e.instance.destroy(!0,e.instance.initialized||!1)})),this.instance=null)}},{key:"ngDoCheck",value:function(){this.configDiff&&this.configDiff.diff(this.config||{})&&(this.initialIndex=this.getIndex(!0),this.ngOnDestroy(),this.ngAfterViewInit(),this.update())}},{key:"ngOnChanges",value:function(e){var t=this;this.instance&&e.disabled&&e.disabled.currentValue!==e.disabled.previousValue&&(!0===e.disabled.currentValue||!1===e.disabled.currentValue)&&this.zone.runOutsideAngular((function(){t.ngOnDestroy(),t.ngAfterViewInit()}))}},{key:"emit",value:function(e,t){this.performance?e.emit(t):this.zone.run((function(){return e.emit(t)}))}},{key:"swiper",value:function(){return this.instance}},{key:"init",value:function(){var e=this;this.instance&&this.zone.runOutsideAngular((function(){e.instance.init()}))}},{key:"update",value:function(){var e=this;setTimeout((function(){e.instance&&e.zone.runOutsideAngular((function(){e.instance.update(
1)}))}),0)}},{key:"getIndex",value:function(e){return this.instance?e?this.instance.realIndex:this.instance.activeIndex:this.initialIndex||0}},{key:"setIndex",value:function(e,t,n){var i=this;if(this.instance){var r=e*this.instance.params.slidesPerGroup;this.instance.params.loop&&(r+=this.instance.loopedSlides),this.zone.runOutsideAngular((function(){i.instance.slideTo(r,t,!n)}))}else this.initialIndex=e}},{key:"prevSlide",value:function(e,t){var n=this;this.instance&&this.zone.runOutsideAngular((function(){n.instance.slidePrev(e,!t)}))}},{key:"nextSlide",value:function(e,t){var n=this;this.instance&&this.zone.runOutsideAngular((function(){n.instance.slideNext(e,!t)}))}},{key:"stopAutoplay",value:function(e){var t=this;e&&this.setIndex(0),this.instance&&this.instance.autoplay&&this.zone.runOutsideAngular((function(){t.instance.autoplay.stop()}))}},{key:"startAutoplay",value:function(e){var t=this;e&&this.setIndex(0),this.instance&&this.instance.autoplay&&this.zone.runOutsideAngular((function(){t.instance.autoplay.start()}))}},{key:"index",set:function(e){null!=e&&this.setIndex(e)}}]),e}()).\u0275fac=function(e){return new(e||Ee)(i.yc(i.I),i.yc(i.F),i.yc(i.q),i.yc(i.y),i.yc(je,8))},Ee.\u0275dir=i.tc({type:Ee,selectors:[["","swiper",""]],inputs:{disabled:"disabled",performance:"performance",index:"index",config:["swiper","config"]},outputs:{indexChange:"indexChange",S_INIT:"init",S_BEFOREDESTROY:"beforeDestroy",S_SCROLL:"scroll",S_PROGRESS:"progress",S_KEYPRESS:"keyPress",S_RESIZE:"resize",S_BREAKPOINT:"breakpoint",S_ZOOMCHANGE:"zoomChange",S_AFTERRESIZE:"afterResize",S_BEFORERESIZE:"beforeResize",S_LOOPFIX:"loopFix",S_BEFORELOOPFIX:"beforeLoopFix",S_SLIDERMOVE:"sliderMove",S_SLIDECHANGE:"slideChange",S_SETTRANSLATE:"setTranslate",S_SETTRANSITION:"setTransition",S_FROMEDGE:"fromEdge",S_REACHEND:"reachEnd",S_REACHBEGINNING:"reachBeginning",S_AUTOPLAY:"autoplay",S_AUTOPLAYSTART:"autoplayStart",S_AUTOPLAYSTOP:"autoplayStop",S_IMAGESREADY:"imagesReady",S_LAZYIMAGELOAD:"lazyImageLoad",S_LAZYIMAGEREADY:"lazyImageReady",S_SCROLLDRAGEND:"scrollDragEnd",S_SCROLLDRAGMOVE:"scrollDragMove",S_SCROLLDRAGSTART:"scrollDragStart",S_NAVIGATIONHIDE:"navigationHide",S_NAVIGATIONSHOW:"navigationShow",S_PAGINATIONRENDER:"paginationRender",S_PAGINATIONUPDATE:"paginationUpdate",S_PAGINATIONHIDE:"paginationHide",S_PAGINATIONSHOW:"paginationShow",S_TAP:"swiperTap",S_CLICK:"swiperClick",S_DOUBLETAP:"swiperDoubleTap",S_TOUCHEND:"swiperTouchEnd",S_TOUCHMOVE:"swiperTouchMove",S_TOUCHSTART:"swiperTouchStart",S_TOUCHMOVEOPPOSITE:"swiperTouchMoveOpposite",S_TRANSITIONEND:"swiperTransitionEnd",S_TRANSITIONSTART:"swiperTransitionStart",S_SLIDEPREVTRANSITIONEND:"slidePrevTransitionEnd",S_SLIDEPREVTRANSITIONSTART:"slidePrevTransitionStart",S_SLIDENEXTTRANSITIONEND:"slideNextTransitionEnd",S_SLIDENEXTTRANSITIONSTART:"slideNextTransitionStart",S_SLIDECHANGETRANSITIONEND:"slideChangeTransitionEnd",S_SLIDECHANGETRANSITIONSTART:"slideChangeTransitionStart"},exportAs:["ngxSwiper"],features:[i.hc]}),Ee),Le=((Pe=function(){function e(t,n,r,a){_classCallCheck(this,e),this.zone=t,this.cdRef=n,this.platformId=r,this.defaults=a,this.mo=null,this.swiperConfig=null,this.paginationBackup=null,this.paginationConfig=null,this.index=null,this.disabled=!1,this.performance=!1,this.useSwiperClass=!0,this.indexChange=new i.s,this.S_INIT=new i.s,this.S_BEFOREDESTROY=new i.s,this.S_SCROLL=new i.s,this.S_PROGRESS=new i.s,this.S_KEYPRESS=new i.s,this.S_RESIZE=new i.s,this.S_BREAKPOINT=new i.s,this.S_ZOOMCHANGE=new i.s,this.S_AFTERRESIZE=new i.s,this.S_BEFORERESIZE=new i.s,this.S_BEFORELOOPFIX=new i.s,this.S_LOOPFIX=new i.s,this.S_SLIDERMOVE=new i.s,this.S_SLIDECHANGE=new i.s,this.S_SETTRANSLATE=new i.s,this.S_SETTRANSITION=new i.s,this.S_FROMEDGE=new i.s,this.S_REACHEND=new i.s,this.S_REACHBEGINNING=new i.s,this.S_AUTOPLAY=new i.s,this.S_AUTOPLAYSTART=new i.s,this.S_AUTOPLAYSTOP=new i.s,this.S_IMAGESREADY=new i.s,this.S_LAZYIMAGELOAD=new i.s,this.S_LAZYIMAGEREADY=new i.s,this.S_SCROLLDRAGEND=new i.s,this.S_SCROLLDRAGMOVE=new i.s,this.S_SCROLLDRAGSTART=new i.s,this.S_NAVIGATIONHIDE=new i.s,this.S_NAVIGATIONSHOW=new i.s,this.S_PAGINATIONRENDER=new i.s,this.S_PAGINATIONUPDATE=new i.s,this.S_PAGINATIONHIDE=new i.s,this.S_PAGINATIONSHOW=new i.s,this.S_TAP=new i.s,this.S_CLICK=new i.s,this.S_DOUBLETAP=new i.s,this.S_TOUC
1HEND=new i.s,this.S_TOUCHMOVE=new i.s,this.S_TOUCHSTART=new i.s,this.S_TOUCHMOVEOPPOSITE=new i.s,this.S_TRANSITIONEND=new i.s,this.S_TRANSITIONSTART=new i.s,this.S_SLIDEPREVTRANSITIONEND=new i.s,this.S_SLIDEPREVTRANSITIONSTART=new i.s,this.S_SLIDENEXTTRANSITIONEND=new i.s,this.S_SLIDENEXTTRANSITIONSTART=new i.s,this.S_SLIDECHANGETRANSITIONEND=new i.s,this.S_SLIDECHANGETRANSITIONSTART=new i.s}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;Object(r.O)(this.platformId)&&(this.zone.runOutsideAngular((function(){e.updateClasses(),e.swiperSlides&&"undefined"!=typeof MutationObserver&&(e.mo=new MutationObserver((function(){e.updateClasses()})),e.mo.observe(e.swiperSlides.nativeElement,{childList:!0}))})),window.setTimeout((function(){e.directiveRef&&(e.S_INIT.emit(),e.directiveRef.indexChange=e.indexChange,Ae.forEach((function(t){if(e.directiveRef){var n="S_"+t.replace("swiper","").toUpperCase();e.directiveRef[n]=e[n]}})))}),0))}},{key:"ngOnDestroy",value:function(){this.mo&&this.mo.disconnect(),this.config&&this.paginationBackup&&(this.config.pagination=this.paginationBackup)}},{key:"getConfig",value:function(){var e=this;return this.swiperConfig=new Te(this.defaults),this.swiperConfig.assign(this.config),!this.swiperSlides||!0!==this.swiperConfig.pagination&&(!this.swiperConfig.pagination||"object"!=typeof this.swiperConfig.pagination||this.swiperConfig.pagination.type&&"bullets"!==this.swiperConfig.pagination.type||this.swiperConfig.pagination.renderBullet||".swiper-pagination"!==this.swiperConfig.pagination.el)||(this.config=this.config||{},this.paginationConfig||(this.paginationBackup=this.config.pagination,this.paginationConfig={el:".swiper-pagination",renderBullet:function(t,n){var i=e.swiperSlides?Array.from(e.swiperSlides.nativeElement.children):[];i=i.filter((function(e){return e.classList.contains("swiper-slide")}));var r='<span class="'.concat(n," ").concat(n,'-middle" index="').concat(t,'"></span>');return 0===t?r='<span class="'.concat(n," ").concat(n,'-first" index="').concat(t,'"></span>'):t===i.length-1&&(r='<span class="'.concat(n," ").concat(n,'-last" index="').concat(t,'"></span>')),'<span class="swiper-pagination-handle" index="'.concat(t,'">').concat(r,"</span>")}}),this.config.pagination=!0===this.swiperConfig.pagination?this.paginationConfig:Object.assign({},this.config.pagination,this.paginationConfig)),this.config}},{key:"updateClasses",value:function(){if(this.swiperSlides){for(var e=!1,t=this.swiperSlides.nativeElement.children,n=0;n<t.length;n++)!1===/swiper-.*/.test(t[n].className)&&(e=!0,t[n].classList.add("swiper-slide"));e&&this.directiveRef&&this.directiveRef.update()}this.cdRef.detectChanges()}},{key:"onPaginationClick",value:function(e){this.config&&this.directiveRef&&(!0===this.config.pagination||this.config.pagination&&"object"==typeof this.config.pagination&&(!this.config.pagination.type||"bullets"===this.config.pagination.type)&&this.config.pagination.clickable&&".swiper-pagination"===this.config.pagination.el)&&this.directiveRef.setIndex(e)}},{key:"isAtLast",get:function(){return!(!this.directiveRef||!this.directiveRef.swiper())&&this.directiveRef.swiper().isEnd}},{key:"isAtFirst",get:function(){return!(!this.directiveRef||!this.directiveRef.swiper())&&this.directiveRef.swiper().isBeginning}}]),e}()).\u0275fac=function(e){return new(e||Pe)(i.yc(i.F),i.yc(i.j),i.yc(i.I),i.yc(je,8))},Pe.\u0275cmp=i.sc({type:Pe,selectors:[["swiper"]],viewQuery:function(e,t){var n;1&e&&(i.Dd(Ie,!0),i.Dd(ze,!0)),2&e&&(i.jd(n=i.Rc())&&(t.swiperSlides=n.first),i.jd(n=i.Rc())&&(t.directiveRef=n.first))},inputs:{index:"index",disabled:"disabled",performance:"performance",useSwiperClass:"useSwiperClass",config:"config"},outputs:{indexChange:"indexChange",S_INIT:"init",S_BEFOREDESTROY:"beforeDestroy",S_SCROLL:"scroll",S_PROGRESS:"progress",S_KEYPRESS:"keyPress",S_RESIZE:"resize",S_BREAKPOINT:"breakpoint",S_ZOOMCHANGE:"zoomChange",S_AFTERRESIZE:"afterResize",S_BEFORERESIZE:"beforeResize",S_BEFORELOOPFIX:"beforeLoopFix",S_LOOPFIX:"loopFix",S_SLIDERMOVE:"sliderMove",S_SLIDECHANGE:"slideChange",S_SETTRANSLATE:"setTranslate",S_SETTRANSITION:"setTransition",S_FROMEDGE:"fromEdge",S_REACHEND:"reachEnd",S_REACHBEGINNING:"reachBeginning",S_AUTOPLAY:"autoplay",S_AUTOPLAYSTART:"autoplayStart",S_AUTOPLAYSTOP:"autoplayStop",S_IMAGESREADY:"imagesReady",S_LAZYIMAGELOAD:"lazyImageLoad",S_LAZYIMAGEREADY:"lazyImageReady",S_SCROLLDRAGEND:"scrollDragEnd",S_SCROLLDRAGMOVE:"scrollDragMove",S_SCROLLDRAGSTART:"scrollDragStart",S_NAVIGATIONHIDE:"navigationHide",S_NAVIGATIONSHOW:"navigationShow",S_PAGINATIONRENDER:"paginationRender",S_PAGINATIONUPDATE:"paginationUpdate",S_PAGINATIONHIDE:"paginationHide",S_PAGINATIONSHOW:"paginationShow",S_TAP:"swiperTap",S_CLICK:"swiperClick",S_DOUBLETAP:"swiperDoubleTap",S_TOUCHEND:"swiperTouchEnd",S_TOUCHMOVE:"swiperTouchMove",S_TOUCHSTART:"swiperTouchStart",S_TOUCHMOVEOPPOSITE:"swiperTouchMoveOpposite",S_TRANSITIONEND:"swiperTransitionEnd",S_TRANSITIONSTART:"swiperTransitionStart",S_SLIDEPREVTRANSITIONEND:"slidePrevTransitionEnd",S_SLIDEPREVTRANSITIONSTART:"slidePrevTransitionStart",S_SLIDENEXTTRANSITIONEND:"slideNextTransitionEnd",S_SLIDENEXTTRANSITIONSTART:"slideNextTransitionStart",S_SLIDECHANGETRANSITIONEND:"slideChangeTransitionEnd",S_SLIDECHANGETRANSITIONSTART:"slideChangeTransitionStart"},exportAs:["ngxSwiper"],ngContentSelectors:De,decls:9,vars:14,consts:[[1,"s-wrapper",3,"swiper","index","disabled","performance"],["swiper",""],[1,"swiper-wrapper"],["swiperSlides",""],[1,"swiper-scrollbar",3,"hidden"],[1,"swiper-button-prev",3,"hidden"],[1,"swiper-button-next",3,"hidden"],[1,"swiper-pagination",3,"hidden","click","keyup.enter"]],template:function(e,t){1&e&&(i.ad(),i.Ec(0,"div",0,1),i.Ec(2,"div",2,3),i.Zc(4),i.Dc(),i.zc(5,"div",4),i.zc(6,"div",5),i.zc(7,"div",6),i.Ec(8,"div",7),i.Qc("click",(function(e){return t.onPaginationClick(e.target.getAttribute("index"))}))("keyup.enter",(function(e){return t.onPaginationClick(e.target.getAttribute("index"))})),i.Dc(),i.Dc()),2&e&&(i.pc("swiper",t.useSwiperClass)("swiper-container",t.useSwiperClass),i.bd("swiper",t.getConfig())("index",t.index)("disabled",t.disabled)("performance",t.performance),i.jc(5),i.bd("hidden",!(null!=t.swiperConfig&&t.swiperConfig.scrollbar)||!0!==(null==t.swiperConfig?null:t.swiperConfig.scrollbar)&&!(null==t.swiperConfig||null==t.swiperConfig.scrollbar||!t.swiperConfig.scrollbar.el)&&".swiper-scrollbar"!==(null==t.swiperConfig||null==t.swiperConfig.scrollbar?null:t.swiperConfig.scrollbar.el)),i.jc(1),i.bd("hidden",!(null!=t.swiperConfig&&t.swiperConfig.navigation)||!0!==(null==t.swiperConfig?null:t.swiperConfig.navigation)&&!(null==t.swiperConfig||null==t.swiperConfig.navigation||!t.swiperConfig.navigation.prevEl)&&".swiper-button-prev"!==(null==t.swiperConfig||null==t.swiperConfig.navigation?null:t.swiperConfig.navigation.prevEl)),i.kc("disabled",t.isAtFirst||null),i.jc(1),i.bd("hidden",!(null!=t.swiperConfig&&t.swiperConfig.navigation)||!0!==(null==t.swiperConfig?null:t.swiperConfig.navigation)&&!(null==t.swiperConfig||null==t.swiperConfig.navigation||!t.swiperConfig.navigation.nextEl)&&".swiper-button-next"!==(null==t.swiperConfig||null==t.swiperConfig.navigation?null:t.swiperConfig.navigation.nextEl)),i.kc("disabled",t.isAtLast||null),i.jc(1),i.bd("hidden",!(null!=t.swiperConfig&&t.swiperConfig.pagination)||!0!==(null==t.swiperConfig?null:t.swiperConfig.pagination)&&!(null==t.swiperConfig||null==t.swiperConfig.pagination||!t.swiperConfig.pagination.el)&&".swiper-pagination"!==(null==t.swiperConfig||null==t.swiperConfig.pagination?null:t.swiperConfig.pagination.el)))},directives:[ze],styles:["swiper[fxflex]{display:-webkit-box;display:flex;flex-direction:inherit;min-width:0;min-height:0;-webkit-box-direction:inherit;-webkit-box-orient:inherit}swiper[fxflex]>.swiper.s-wrapper{flex:1 1 auto;min-width:0;min-height:0;-webkit-box-flex:1}swiper>.swiper.s-wrapper{width:100%;height:100%}
1swiper>.swiper.s-wrapper .swiper-wrapper .swiper-slide{will-change:transform;overflow:auto;width:100%;height:100%;max-width:100%;max-height:100%}swiper>.swiper.s-wrapper .swiper-pagination{pointer-events:none}swiper>.swiper.s-wrapper .swiper-pagination .swiper-pagination-handle{position:relative;display:inline-block;padding:4px;margin:2px;cursor:pointer;pointer-events:all}swiper>.swiper.s-wrapper .swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet{display:inline-block;margin:0;pointer-events:none}swiper>.swiper.s-wrapper .swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet.swiper-pagination-bullet-first,swiper>.swiper.s-wrapper .swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet.swiper-pagination-bullet-last{border:1px solid rgba(0,0,0,.5)}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-button-prev{top:10px;left:50%;margin-top:0;margin-left:-13px;-webkit-transform:rotate(90deg);transform:rotate(90deg)}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-button-next{top:auto;bottom:10px;left:50%;margin-top:0;margin-left:-13px;-webkit-transform:rotate(90deg);transform:rotate(90deg)}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-scrollbar{width:8px;-webkit-transition:width 250ms ease-in-out;transition:width 250ms ease-in-out}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-scrollbar:hover{width:16px}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-pagination .swiper-pagination-handle{display:block}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet{display:inline-block}swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet.swiper-pagination-bullet-first,swiper>.swiper.s-wrapper.swiper-container-vertical>.swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet.swiper-pagination-bullet-last{margin:0 -1px}swiper>.swiper.s-wrapper.swiper-container-horizontal>.swiper-scrollbar{height:8px;-webkit-transition:height 250ms ease-in-out;transition:height 250ms ease-in-out}swiper>.swiper.s-wrapper.swiper-container-horizontal>.swiper-scrollbar:hover{height:16px}swiper>.swiper.s-wrapper.swiper-container-horizontal>.swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet.swiper-pagination-bullet-first,swiper>.swiper.s-wrapper.swiper-container-horizontal>.swiper-pagination .swiper-pagination-handle .swiper-pagination-bullet.swiper-pagination-bullet-last{margin:-1px 0}","@font-face{font-family:swiper-icons;src:url(\"data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMk
1pFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA\") format(\"woff\");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;--swiper-navigation-size:44px}.swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:flex;-webkit-transition-property:-webkit-transform;transition-property:transform,-webkit-transform;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{flex-wrap:wrap;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:transform,-webkit-transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:transform,height,-webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/ 44 * 27);
1height:var(--swiper-navigation-size);margin-top:calc(-1 * var(--swiper-navigation-size)/ 2);z-index:10;cursor:pointer;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;font-variant:initial}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:'next'}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#ffffff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:opacity .3s;transition:opacity .3s;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}
1.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:transform .2s,top .2s;transition:transform .2s,top .2s}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:transform .2s,left .2s;transition:transform .2s,left .2s}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:transform .2s,right .2s;transition:transform .2s,right .2s}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white{--swiper-pagination-color:#ffffff}.swiper-pagination-black{--swiper-pagination-color:#000000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;
1left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:1s linear infinite swiper-preloader-spin;animation:1s linear infinite swiper-preloader-spin;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}"],encapsulation:2}),Pe),Ne=((Se=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:Se}),Se.\u0275inj=i.vc({factory:function(e){return new(e||Se)},imports:[[r.c],r.c]}),Se)},oSzE:function(e,t,n){"use strict";var i=n("nLtN"),r=n("3cmB"),a=n("DlmY");function o(e){var t=this.__data__=new i.a(e);this.size=t.size}o.prototype.clear=function(){this.__data__=new i.a,this.size=0},o.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},o.prototype.get=function(e){return this.__data__.get(e)},o.prototype.has=function(e){return this.__data__.has(e)},o.prototype.set=function(e,t){var n=this.__data__;if(n instanceof i.a){var o=n.__data__;if(!r.a||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new a.a(o)}return n.set(e,t),this.size=n.size,this},t.a=o},oYcn:function(e,t,n){"use strict";var i=n("8M4i"),r=n("Js68"),a=n("EUcb"),o={};
1o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var s=n("ovuK"),c=n("xutz"),l=c.a&&c.a.isTypedArray,u=l?Object(s.a)(l):function(e){return Object(a.a)(e)&&Object(r.a)(e.length)&&!!o[Object(i.a)(e)]};t.a=u},ofXK:function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return Le})),n.d(t,"c",(function(){return et})),n.d(t,"d",(function(){return Ye})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return Ue})),n.d(t,"g",(function(){return Xe})),n.d(t,"h",(function(){return M})),n.d(t,"i",(function(){return w})),n.d(t,"j",(function(){return Be})),n.d(t,"k",(function(){return qe})),n.d(t,"l",(function(){return $e})),n.d(t,"m",(function(){return We})),n.d(t,"n",(function(){return d})),n.d(t,"o",(function(){return k})),n.d(t,"p",(function(){return b})),n.d(t,"q",(function(){return Ne})),n.d(t,"r",(function(){return ve})),n.d(t,"s",(function(){return me})),n.d(t,"t",(function(){return ye})),n.d(t,"u",(function(){return _e})),n.d(t,"v",(function(){return Ee})),n.d(t,"w",(function(){return Me})),n.d(t,"x",(function(){return Ie})),n.d(t,"y",(function(){return Oe})),n.d(t,"z",(function(){return Se})),n.d(t,"A",(function(){return Pe})),n.d(t,"B",(function(){return De})),n.d(t,"C",(function(){return _})),n.d(t,"D",(function(){return Ze})),n.d(t,"E",(function(){return l})),n.d(t,"F",(function(){return Je})),n.d(t,"G",(function(){return Fe})),n.d(t,"H",(function(){return I})),n.d(t,"I",(function(){return Ve})),n.d(t,"J",(function(){return rt})),n.d(t,"K",(function(){return Q})),n.d(t,"L",(function(){return T})),n.d(t,"M",(function(){return A})),n.d(t,"N",(function(){return z})),n.d(t,"O",(function(){return nt})),n.d(t,"P",(function(){return it})),n.d(t,"Q",(function(){return pe})),n.d(t,"R",(function(){return s})),n.d(t,"S",(function(){return tt})),n.d(t,"T",(function(){return a})),n.d(t,"U",(function(){return ge})),n.d(t,"V",(function(){return o}));var i=n("fXoL"),r=null;function a(){return r}function o(e){r||(r=e)}var s=function e(){_classCallCheck(this,e)},c=new i.v("DocumentToken"),l=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:u,token:e,providedIn:"platform"}),e}();function u(){return Object(i.Mc)(h)}var d=new i.v("Location Initialized"),h=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this))._doc=e,i._init(),i}return _createClass(n,[{key:"_init",value:function(){this.location=a().getLocation(),this._history=a().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return a().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){a().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){a().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{key:"pushState",value:function(e,t,n){f()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){f()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}}]),n}(l);return e.\u0275fac=function(t){return new(t||e)(i.Mc(c))},e.\u0275prov=Object(i.uc)({factory:p,token:e,providedIn:"platform"}),e}();function f(){return!!window.history.pushState}function p(){return new h(Object(i.Mc)(c))}function g(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function v(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function m(e){return e&&"?"!==e[0]?"?"+e:e}var b=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.uc)({factory:y,token:e,providedIn:"root"}),e}();function y(e){var t=Object(i.Mc)(c).location;return new _(Object(i.Mc)(l),t&&t.origin||"")}var C=new i.v("appBaseHref"),_=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;if(_classCallCheck(this,n),(r=t.call(this))._platformLocation=e,null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=i,_possibleConstructorReturn(r)}return _createClass(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.on
1HashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return g(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+m(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+m(i));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+m(i));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(b);return e.\u0275fac=function(t){return new(t||e)(i.Mc(l),i.Mc(C,8))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e}(),w=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this))._platformLocation=e,r._baseHref="",null!=i&&(r._baseHref=i),r}return _createClass(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=g(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+m(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+m(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(b);return e.\u0275fac=function(t){return new(t||e)(i.Mc(l),i.Mc(C,8))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e}(),k=function(){var e=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._subject=new i.s,this._urlChangeListeners=[],this._platformStrategy=t;var a=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=v(O(a)),this._platformStrategy.onPopState((function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})}))}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+m(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,O(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;
1this._urlChangeListeners.forEach((function(n){return n(e,t)}))}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mc(b),i.Mc(l))},e.normalizeQueryParams=m,e.joinWithSlash=g,e.stripTrailingSlash=v,e.\u0275prov=Object(i.uc)({factory:x,token:e,providedIn:"root"}),e}();function x(){return new k(Object(i.Mc)(b),Object(i.Mc)(l))}function O(e){return e.replace(/\/index.html$/,"")}var S={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},P=function(){var e={Decimal:0,Percent:1,Currency:2,Scientific:3};return e[e.Decimal]="Decimal",e[e.Percent]="Percent",e[e.Currency]="Currency",e[e.Scientific]="Scientific",e}(),E=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),M=function(){var e={Format:0,Standalone:1};return e[e.Format]="Format",e[e.Standalone]="Standalone",e}(),I=function(){var e={Narrow:0,Abbreviated:1,Wide:2,Short:3};return e[e.Narrow]="Narrow",e[e.Abbreviated]="Abbreviated",e[e.Wide]="Wide",e[e.Short]="Short",e}(),D=function(){var e={Short:0,Medium:1,Long:2,Full:3};return e[e.Short]="Short",e[e.Medium]="Medium",e[e.Long]="Long",e[e.Full]="Full",e}(),j=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}();function A(e,t,n){var r=Object(i.Cb)(e),a=B([r[i.lb.DayPeriodsFormat],r[i.lb.DayPeriodsStandalone]],t);return B(a,n)}function T(e,t,n){var r=Object(i.Cb)(e),a=B([r[i.lb.DaysFormat],r[i.lb.DaysStandalone]],t);return B(a,n)}function z(e,t,n){var r=Object(i.Cb)(e),a=B([r[i.lb.MonthsFormat],r[i.lb.MonthsStandalone]],t);return B(a,n)}function L(e,t){return B(Object(i.Cb)(e)[i.lb.DateFormat],t)}function N(e,t){return B(Object(i.Cb)(e)[i.lb.TimeFormat],t)}function R(e,t){return B(Object(i.Cb)(e)[i.lb.DateTimeFormat],t)}function F(e,t){var n=Object(i.Cb)(e),r=n[i.lb.NumberSymbols][t];if(void 0===r){if(t===j.CurrencyDecimal)return n[i.lb.NumberSymbols][j.Decimal];if(t===j.CurrencyGroup)return n[i.lb.NumberSymbols][j.Group]}return r}
1function V(e,t){return Object(i.Cb)(e)[i.lb.NumberFormats][t]}var U=i.Fb;function H(e){if(!e[i.lb.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[i.lb.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function B(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function q(e){var t=_slicedToArray2(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}var $=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,W={},G=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,X=function(){var e={Short:0,ShortGMT:1,Long:2,Extended:3};return e[e.Short]="Short",e[e.ShortGMT]="ShortGMT",e[e.Long]="Long",e[e.Extended]="Extended",e}(),Z=function(){var e={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return e[e.FullYear]="FullYear",e[e.Month]="Month",e[e.Date]="Date",e[e.Hours]="Hours",e[e.Minutes]="Minutes",e[e.Seconds]="Seconds",e[e.FractionalSeconds]="FractionalSeconds",e[e.Day]="Day",e}(),Y=function(){var e={DayPeriods:0,Days:1,Months:2,Eras:3};return e[e.DayPeriods]="DayPeriods",e[e.Days]="Days",e[e.Months]="Months",e[e.Eras]="Eras",e}();function Q(e,t,n,r){var a=function(e){if(oe(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t,n=parseFloat(e);if(!isNaN(e-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var i=_slicedToArray2(e.split("-").map((function(e){return+e})),3),r=i[0],a=i[1],o=i[2];return new Date(r,a-1,o)}if(t=e.match($))return function(e){var t=new Date(0),n=0,i=0,r=e[8]?t.setUTCFullYear:t.setFullYear,a=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var o=Number(e[4]||0)-n,s=Number(e[5]||0)-i,c=Number(e[6]||0),l=Math.round(1e3*parseFloat("0."+(e[7]||0)));return a.call(t,o,s,c,l),t}(t)}var s=new Date(e);if(!oe(s))throw new Error('Unable to convert "'.concat(e,'" into a date'));return s}(e);t=function e(t,n){var r=function(e){return Object(i.Cb)(e)[i.lb.LocaleId]}(t);if(W[r]=W[r]||{},W[r][n])return W[r][n];var a="";switch(n){case"shortDate":a=L(t,D.Short);break;case"mediumDate":a=L(t,D.Medium);break;case"longDate":a=L(t,D.Long);break;case"fullDate":a=L(t,D.Full);break;case"shortTime":a=N(t,D.Short);break;case"mediumTime":a=N(t,D.Medium);break;case"longTime":a=N(t,D.Long);break;case"fullTime":a=N(t,D.Full);break;case"short":var o=e(t,"shortTime"),s=e(t,"shortDate");a=K(R(t,D.Short),[o,s]);break;case"medium":var c=e(t,"mediumTime"),l=e(t,"mediumDate");a=K(R(t,D.Medium),[c,l]);break;case"long":var u=e(t,"longTime"),d=e(t,"longDate");a=K(R(t,D.Long),[u,d]);break;case"full":var h=e(t,"fullTime"),f=e(t,"fullDate");a=K(R(t,D.Full),[h,f])}return a&&(W[r][n]=a),a}(n,t)||t;for(var o,s=[];t;){if(!(o=G.exec(t))){s.push(t);break}var c=(s=s.concat(o.slice(1))).pop();if(!c)break;t=c}var l=a.getTimezoneOffset();r&&(l=ae(r,l),a=function(e,t,n){var i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(ae(t,i)-i))}(a,r));var u="";return s.forEach((function(e){var t=function(e){if(re[e])return re[e];var t;switch(e){case"G":case"GG":case"GGG":t=te(Y.Eras,I.Abbreviated);break;case"GGGG":t=te(Y.Eras,I.Wide);break;case"GGGGG":t=te(Y.Eras,I.Narrow);break;case"y":t=ee(Z.FullYear,1,0,!1,!0);break;case"yy":t=ee(Z.FullYear,2,0,!0,!0);break;case"yyy":t=ee(Z.FullYear,3,0,!1,!0);break;case"yyyy":t=ee(Z.FullYear,4,0,!1,!0);break;case"M":case"L":t=ee(Z.Month,1,1);break;case"MM":case"LL":t=ee(Z.Month,2,1);break;case"MMM":t=te(Y.Months,I.Abbreviated);break;case"MMMM":t=te(Y.Months,I.Wide);break;case"MMMMM":t=te(Y.Months,I.Narrow);break;case"LLL":t=te(Y.Months,I.Abbreviated,M.Standalone);break;case"LLLL":t=te(Y.Months,I.Wide,M.Standalone);break;case"LLLLL":t=te(Y.Months,I.Narrow,M.Standalone);break;case"w":t=ie(1);break;case"ww":t=ie(2);break;case"W":t=ie(1,!0);break;case"d":t=ee(Z.Date,1);break;case"dd":t=ee(Z.Date,2);break;case"E":case"EE":case"EEE":t=te(Y.Days,I.Abbreviated);break;case"EEEE":t=te(Y.Days,I.Wide);break;case"EEEEE":t=te(Y.Days,I.Narrow);break;case"EEEEEE":t=te(Y.Days,I.Short);break;case"a":case"aa":case"aaa":t=te(Y.DayPeriods,I.Abbreviated);break;case"aaaa":t=te(Y.DayPeriods,I.Wide);break;case"aaaaa":t=te(Y.DayPeriods,I.Narrow);break;
1case"b":case"bb":case"bbb":t=te(Y.DayPeriods,I.Abbreviated,M.Standalone,!0);break;case"bbbb":t=te(Y.DayPeriods,I.Wide,M.Standalone,!0);break;case"bbbbb":t=te(Y.DayPeriods,I.Narrow,M.Standalone,!0);break;case"B":case"BB":case"BBB":t=te(Y.DayPeriods,I.Abbreviated,M.Format,!0);break;case"BBBB":t=te(Y.DayPeriods,I.Wide,M.Format,!0);break;case"BBBBB":t=te(Y.DayPeriods,I.Narrow,M.Format,!0);break;case"h":t=ee(Z.Hours,1,-12);break;case"hh":t=ee(Z.Hours,2,-12);break;case"H":t=ee(Z.Hours,1);break;case"HH":t=ee(Z.Hours,2);break;case"m":t=ee(Z.Minutes,1);break;case"mm":t=ee(Z.Minutes,2);break;case"s":t=ee(Z.Seconds,1);break;case"ss":t=ee(Z.Seconds,2);break;case"S":t=ee(Z.FractionalSeconds,1);break;case"SS":t=ee(Z.FractionalSeconds,2);break;case"SSS":t=ee(Z.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ne(X.Short);break;case"ZZZZZ":t=ne(X.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ne(X.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ne(X.Long);break;default:return null}return re[e]=t,t}(e);u+=t?t(a,n,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),u}function K(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function J(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,a="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,a=n));for(var o=String(e);o.length<t;)o="0"+o;return i&&(o=o.substr(o.length-t)),a+o}function ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(a,o){var s,c=function(e,t){switch(e){case Z.FullYear:return t.getFullYear();case Z.Month:return t.getMonth();case Z.Date:return t.getDate();case Z.Hours:return t.getHours();case Z.Minutes:return t.getMinutes();case Z.Seconds:return t.getSeconds();case Z.FractionalSeconds:return t.getMilliseconds();case Z.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,a);if((n>0||c>-n)&&(c+=n),e===Z.Hours)0===c&&-12===n&&(c=12);else if(e===Z.FractionalSeconds)return s=t,J(c,3).substr(0,s);var l=F(o,j.MinusSign);return J(c,t,l,i,r)}}function te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M.Format,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(a,o){return function(e,t,n,r,a,o){switch(n){case Y.Months:return z(t,a,r)[e.getMonth()];case Y.Days:return T(t,a,r)[e.getDay()];case Y.DayPeriods:var s=e.getHours(),c=e.getMinutes();if(o){var l,u=function(e){var t=Object(i.Cb)(e);return H(t),(t[i.lb.ExtraData][2]||[]).map((function(e){return"string"==typeof e?q(e):[q(e[0]),q(e[1])]}))}(t),d=function(e,t,n){var r=Object(i.Cb)(e);H(r);var a=B([r[i.lb.ExtraData][0],r[i.lb.ExtraData][1]],t)||[];return B(a,n)||[]}(t,a,r);if(u.forEach((function(e,t){if(Array.isArray(e)){var n=e[0],i=n.hours,r=n.minutes,a=e[1],o=a.hours,u=a.minutes;s>=i&&c>=r&&(s<o||s===o&&c<u)&&(l=d[t])}else{var h=e.hours,f=e.minutes;h===s&&f===c&&(l=d[t])}})),l)return l}return A(t,a,r)[s<12?0:1];case Y.Eras:return function(e,t){return B(Object(i.Cb)(e)[i.lb.Eras],t)}(t,r)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(a,o,e,t,n,r)}}function ne(e){return function(t,n,i){var r=-1*i,a=F(n,j.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case X.Short:return(r>=0?"+":"")+J(o,2,a)+J(Math.abs(r%60),2,a);case X.ShortGMT:return"GMT"+(r>=0?"+":"")+J(o,1,a);case X.Long:return"GMT"+(r>=0?"+":"")+J(o,2,a)+":"+J(Math.abs(r%60),2,a);case X.Extended:return 0===i?"Z":(r>=0?"+":"")+J(o,2,a)+":"+J(Math.abs(r%60),2,a);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function ie(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var r,a,o,s;if(t){var c=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,l=n.getDate();r=1+Math.floor((l+c)/7)}else{var u=(a=n.getFullYear(),o=new Date(a,0,1).getDay(),new Date(a,0,1+(o<=4?4:11)-o)),d=(s=n,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))).getTime()-u.getTime();r=1+Math.round(d/6048e5)}return J(r,e,F(i,j.MinusSign))}}var re={};function ae(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function oe(e){return e instanceof Date&&!isNaN(e.valueOf())}var se=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ce(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s="",c=!1;if(isFinite(e)){var l=function(e){var t,n,i,r,a,o=Math.abs(e)+"",s=0;for((n=o.indexOf("."))>-1&&(o=o.replace(".","")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;"0"===o.charAt(i);i++);if(i===(a=o.length))t=[0],n=1;else{for(a--;"0"===o.charAt(a);)a--;for(n-=i,t=[],r=0;i<=a;i++,r++)t[r]=Number(o.charAt(i))}return n>22&&(t=t.splice(0,21),s=n-1,n=1),{digits:t,exponent:s,integerLen:n}}(e);o&&(l=function(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(l));var u=t.minInt,d=t.minFrac,h=t.maxFrac;if(a){var f=a.match(se);if(null===f)throw new Error(a+" is not a valid digit info");var p=f[1],g=f[3],v=f[5];null!=p&&(u=ue(p)),null!=g&&(d=ue(g)),null!=v?h=ue(v):null!=g&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction (".concat(t,") is higher than the maximum (").concat(n,")."));var i=e.digits,r=i.length-e.integerLen,a=Math.min(Math.max(t,r),n),o=a+e.integerLen,s=i[o];if(o>0){i.splice(Math.max(e.integerLen,o));for(var c=o;c<i.length;c++)i[c]=0}else{r=Math.max(0,r),e.integerLen=1,i.length=Math.max(1,o=a+1),i[0]=0;for(var l=1;l<o;l++)i[l]=0}if(s>=5)if(o-1<0){for(var u=0;u>o;u--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[o-1]++;for(;r<Math.max(0,a);r++)i.push(0);var d=0!==a,h=t+e.integerLen,f=i.reduceRight((function(e,t,n,i){return i[n]=(t+=e)<10?t:t-10,d&&(0===i[n]&&n>=h?i.pop():d=!1),t>=10?1:0}),0);f&&(i.unshift(f),e.integerLen++)}(l,d,h);var m=l.digits,b=l.integerLen,y=l.exponent,C=[];for(c=m.every((function(e){return!e}));b<u;b++)m.unshift(0);for(;b<0;b++)m.unshift(0);b>0?C=m.splice(b,m.length):(C=m,m=[0]);var _=[];for(m.length>=t.lgSize&&_.unshift(m.splice(-t.lgSize,m.length).join(""));m.length>t.gSize;)_.unshift(m.splice(-t.gSize,m.length).join(""));m.length&&_.unshift(m.join("")),s=_.join(F(n,i)),C.length&&(s+=F(n,r)+C.join("")),y&&(s+=F(n,j.Exponential)+"+"+y)}else s=F(n,j.Infinity);return s=e<0&&!c?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}function le(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(";"),r=i[0],a=i[1],o=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],s=o[0],c=o[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(var l=0;l<c.length;
1l++){var u=c.charAt(l);"0"===u?n.minFrac=n.maxFrac=l+1:"#"===u?n.maxFrac=l+1:n.posSuf+=u}var d=s.split(",");if(n.gSize=d[1]?d[1].length:0,n.lgSize=d[2]||d[1]?(d[2]||d[1]).length:0,a){var h=r.length-n.posPre.length-n.posSuf.length,f=a.indexOf("#");n.negPre=a.substr(0,f).replace(/'/g,""),n.negSuf=a.substr(f+h).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function ue(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var de=function e(){_classCallCheck(this,e)};function he(e,t,n,i){var r="="+e;if(t.indexOf(r)>-1)return r;if(r=n.getPluralCategory(e,i),t.indexOf(r)>-1)return r;if(t.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'.concat(e,'"'))}var fe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this)).locale=e,i}return _createClass(n,[{key:"getPluralCategory",value:function(e,t){switch(U(t||this.locale)(e)){case E.Zero:return"zero";case E.One:return"one";case E.Two:return"two";case E.Few:return"few";case E.Many:return"many";default:return"other"}}}]),n}(de);return e.\u0275fac=function(t){return new(t||e)(i.Mc(i.z))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e}();function pe(e,t,n){return Object(i.Yb)(e,t,n)}function ge(e,t){t=encodeURIComponent(t);var n,i=_createForOfIteratorHelper(e.split(";"));try{for(i.s();!(n=i.n()).done;){var r=n.value,a=r.indexOf("="),o=_slicedToArray2(-1==a?[r,""]:[r.slice(0,a),r.slice(a+1)],2),s=o[0],c=o[1];if(s.trim()===t)return decodeURIComponent(c)}}catch(l){i.e(l)}finally{i.f()}return null}var ve=function(){var e=function(){function e(t,n,i,r){_classCallCheck(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(i.bc)(e.item));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))}},{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(i.Kb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.x),i.yc(i.y),i.yc(i.q),i.yc(i.L))},e.\u0275dir=i.tc({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),me=function(){var e=function(){function e(t){_classCallCheck(this,e),this._viewContainerRef
1=t,this._componentRef=null,this._moduleRef=null}return _createClass(e,[{key:"ngOnChanges",value:function(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=t.get(i.D);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(i.n)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(r,this._viewContainerRef.length,t,this.ngComponentOutletContent)}}},{key:"ngOnDestroy",value:function(){this._moduleRef&&this._moduleRef.destroy()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X))},e.\u0275dir=i.tc({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[i.hc]}),e}(),be=function(){function e(t,n,i,r){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),ye=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation((function(e,i,r){if(null==e.previousIndex){var a=t._viewContainer.createEmbeddedView(t._template,new be(null,t._ngForOf,-1,-1),null===r?void 0:r),o=new Ce(e,a);n.push(o)}else if(null==r)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,r);var c=new Ce(e,s);n.push(c)}}));for(var i=0;i<n.length;i++)this._perViewChange(n[i].view,n[i].record);for(var r=0,a=this._viewContainer.length;r<a;r++){var o=this._viewContainer.get(r);o.context.index=r,o.context.count=a,o.context.ngForOf=this._ngForOf}e.forEachIdentityChange((function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item}))}},{key:"_perViewChange",value:function(e,t){e.context.$implicit=t.item}},{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",set:function(e){Object(i.db)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received ".concat(JSON.stringify(e),". See https://angular.io/api/common/NgForOf#change-propagation for more information.")),this._trackByFn=e},get:function(){return this._trackByFn}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U),i.yc(i.x))},e.\u0275dir=i.tc({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e}(),Ce=function e(t,n){_classCallCheck(this,e),this.record=t,this.view=n},_e=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._viewContainer=t,this._context=new we,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return _createClass(e,[{key:"_updateView",value:function(){this._context.$implicit?this._thenView
1Ref||(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)))}},{key:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){ke("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){ke("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e}(),we=function e(){_classCallCheck(this,e),this.$implicit=null,this.ngIf=null};function ke(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(Object(i.bc)(t),"'."))}var xe=function(){function e(t,n){_classCallCheck(this,e),this._viewContainerRef=t,this._templateRef=n,this._created=!1}return _createClass(e,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}]),e}(),Oe=function(){var e=function(){function e(){_classCallCheck(this,e),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return _createClass(e,[{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}},{key:"_matchCase",value:function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}},{key:"_updateDefaultCases",value:function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}},{key:"ngSwitch",set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.tc({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e}(),Se=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.ngSwitch=i,i._addCase(),this._view=new xe(t,n)}return _createClass(e,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U),i.yc(Oe,1))},e.\u0275dir=i.tc({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e}(),Pe=function(){var e=function e(t,n,i){_classCallCheck(this,e),i._addDefault(new xe(t,n))};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U),i.yc(Oe,1))},e.\u0275dir=i.tc({type:e,selectors:[["","ngSwitchDefault",""]]}),e}(),Ee=function(){var e=function(){function e(t){_classCallCheck(this,e),this._localization=t,this._caseViews={}}return _createClass(e,[{key:"addCase",value:function(e,t){this._caseViews[e]=t}},{key:"_updateView",value:function(){this._clearViews();var e=Object.keys(this._caseViews),t=he(this._switchValue,e,this._localization);this._activateView(this._caseViews[t])}},{key:"_clearViews",value:function(){this._activeView&&this._activeView.destroy()}},{key:"_activateView",value:function(e){e&&(this._activeView=e,this._activeView.create())}},{key:"ngPlural",set:function(e){this._switchValue=e,this._updateView()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(de))},e.\u0275dir=i.tc({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),e}(),Me=function(){var e=function e(t,n,i,r){_classCallCheck(this,e),this.value=t;var a=!isNaN(Number(t));r.addCase(a?"="+t:t,new xe(i,n))};return e.\u0275fac=function(t){return new(t||e)(i.Nc("ngPluralCase"),i.yc(i.U),i.yc(i.X),i.yc(Ee,1))},e.\u0275dir=i.tc({type:e,selectors:[["","ngPluralCase",""]]}),e}(),Ie=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._ngEl=t,this._differs=n,this._renderer=i,this._ngStyle=null,this._differ=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}},{key:"_setStyle",value:function(e,t){var n=_slicedToArray2(e.split("."),2),i=n[0],r=n[1];null!=(t=null!=t&&r?"".concat(t).concat(r):t)?this._renderer.setStyle(this._ngEl.nativeElement,i,t):this._renderer.removeStyle(this._ngEl.nativeElement,i)}},{key:"_applyChanges",value:function(e){var t=this;e.forEachRemovedItem((function(e){return t._setStyle(e.key,null)})),e.forEachAddedItem((function(e){return t._setStyle(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._setStyle(e.key,e.currentValue)}))}},{key:"ngStyle",set:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q),i.yc(i.y),i.yc(i.L))},e.\u0275dir=i.tc({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}
1),e}(),De=function(){var e=function(){function e(t){_classCallCheck(this,e),this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return _createClass(e,[{key:"ngOnChanges",value:function(e){if(this._shouldRecreateView(e)){var t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}},{key:"_shouldRecreateView",value:function(e){var t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}},{key:"_hasContextShapeChanged",value:function(e){var t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){var i,r=_createForOfIteratorHelper(n);try{for(r.s();!(i=r.n()).done;){var a=i.value;if(-1===t.indexOf(a))return!0}}catch(o){r.e(o)}finally{r.f()}return!1}return!0}},{key:"_updateExistingContext",value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var i=n[t];this._viewRef.context[i]=this.ngTemplateOutletContext[i]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X))},e.\u0275dir=i.tc({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.hc]}),e}();function je(e,t){return Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat(Object(i.bc)(e),"'"))}var Ae=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"createSubscription",value:function(e,t){return e.subscribe({next:t,error:function(e){throw e}})}},{key:"dispose",value:function(e){e.unsubscribe()}},{key:"onDestroy",value:function(e){e.unsubscribe()}}]),e}(),Te=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"createSubscription",value:function(e,t){return e.then(t,(function(e){throw e}))}},{key:"dispose",value:function(e){}},{key:"onDestroy",value:function(e){}}]),e}()),ze=new Ae,Le=function(){var e=function(){function e(t){_classCallCheck(this,e),this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):Object(i.Nb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,i.Z.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}},{key:"_subscribe",value:function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,(function(n){return t._updateLatestValue(e,n)}))}},{key:"_selectStrategy",value:function(t){if(Object(i.Mb)(t))return Te;if(Object(i.Lb)(t))return ze;throw je(e,t)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Oc())},e.\u0275pipe=i.xc({name:"async",type:e,pure:!1}),e}(),Ne=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(t){if(!t)return t;if("string"!=typeof t)throw je(e,t);return t.toLowerCase()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.xc({name:"lowercase",type:e,pure:!0}),e}(),Re
vendor: 7,067 bytes, line 1
1=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g,
1Fe=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(t){if(!t)return t;if("string"!=typeof t)throw je(e,t);return t.replace(Re,(function(e){return e[0].toUpperCase()+e.substr(1).toLowerCase()}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.xc({name:"titlecase",type:e,pure:!0}),e}(),Ve=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(t){if(!t)return t;if("string"!=typeof t)throw je(e,t);return t.toUpperCase()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.xc({name:"uppercase",type:e,pure:!0}),e}(),Ue=function(){var e=function(){function e(t){_classCallCheck(this,e),this.locale=t}return _createClass(e,[{key:"transform",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mediumDate",i=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return Q(t,n,r||this.locale,i)}catch(a){throw je(e,a.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.z))},e.\u0275pipe=i.xc({name:"date",type:e,pure:!0}),e}(),He=/#/g,Be=function(){var e=function(){function e(t){_classCallCheck(this,e),this._localization=t}return _createClass(e,[{key:"transform",value:function(t,n,i){if(null==t)return"";if("object"!=typeof n||null===n)throw je(e,n);return n[he(t,Object.keys(n),this._localization,i)].replace(He,t.toString())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(de))},e.\u0275pipe=i.xc({name:"i18nPlural",type:e,pure:!0}),e}(),qe=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(t,n){if(null==t)return"";if("object"!=typeof n||"string"!=typeof t)throw je(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.xc({name:"i18nSelect",type:e,pure:!0}),e}(),$e=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){return JSON.stringify(e,null,2)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.xc({name:"json",type:e,pure:!1}),e}(),We=function(){var e=function(){function e(t){_classCallCheck(this,e),this.differs=t,this.keyValues=[]}return _createClass(e,[{key:"transform",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ge;if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());var i=this.differ.diff(e);return i&&(this.keyValues=[],i.forEachItem((function(e){t.keyValues.push({key:e.key,value:e.currentValue})})),this.keyValues.sort(n)),this.keyValues}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.y))},e.\u0275pipe=i.xc({name:"keyvalue",type:e,pure:!1}),e}();function Ge(e,t){var n=e.key,i=t.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;var r=String(n),a=String(i);return r==a?0:r<a?-1:1}var Xe=function(){var e=function(){function e(t){_classCallCheck(this,e),this._locale=t}return _createClass(e,[{key:"transform",value:function(t,n,i){if(Qe(t))return null;i=i||this._locale;try{return function(e,t,n){return ce(e,le(V(t,P.Decimal),F(t,j.MinusSign)),t,j.Group,j.Decimal,n)}(Ke(t),i,n)}catch(r){throw je(e,r.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.z))},e.\u0275pipe=i.xc({name:"number",type:e,pure:!0}),e}(),Ze=function(){var e=function(){function e(t){_classCallCheck(this,e),this._locale=t}return _createClass(e,[{key:"transform",value:function(t,n,i){if(Qe(t))return null;i=i||this._locale;try{return function(e,t,n){return ce(e,le(V(t,P.Percent),F(t,j.MinusSign)),t,j.Group,j.Decimal,n,!0).replace(new RegExp("%","g"),F(t,j.PercentSign))}(Ke(t),i,n)}catch(r){throw je(e,r.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.z))},e.\u0275pipe=i.xc({name:"percent",type:e,pure:!0}),e}(),Ye=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD";_classCallCheck(this,e),this._locale=t,this._defaultCurrencyCode=n}return _createClass(e,[{key:"transform",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"symbol",a=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(Qe(t))return null;o=o||this._locale,"boolean"==typeof r&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),r=r?"symbol":"code");var s=n||this._defaultCurrencyCode;"code"!==r&&(s="symbol"===r||"symbol-narrow"===r?function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en",r=function(e){return Object(i.Cb)(e)[i.lb.Currencies]}(n)[e]||S[e]||[],a=r[1];return"narrow"===t&&"string"==typeof a?a:r[0]||e}(s,"symbol"===r?"wide":"narrow",o):r);try{return function(e,t,n,i,r){var a=le(V(t,P.Currency),F(t,j.MinusSign));return a.minFrac=function(e){var t,n=S[e];return n&&(t=n[2]),"number"==typeof t?t:2}(i),a.maxFrac=a.minFrac,ce(e,a,t,j.CurrencyGroup,j.CurrencyDecimal,r).replace("\xa4",n).replace("\xa4","").trim()}(Ke(t),o,s,n,a)}catch(c){throw je(e,c.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.z),i.yc(i.p))},e.\u0275pipe=i.xc({name:"currency",type:e,pure:!0}),e}();function Qe(e){return null==e||""===e||e!=e}function Ke(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(e+" is not a number");return e}var Je=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(t,n,i){if(null==t)return t;if(!this.supports(t))throw je(e,t);return t.slice(n,i)}},{key:"supports",value:function(e){return"string"==typeof e||Array.isArray(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.xc({name:"slice",type:e,pure:!1}),e}(),et=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[{provide:de,useClass:fe}]}),e}(),tt="browser";function nt(e){return e===tt}function it(e){return"server"===e}var rt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=Object(i.uc)({token:e,providedIn:"root",factory:function(){return new at(Object(i.Mc)(c),window,Object(i.Mc)(i.r))}}),e}(),at=function(){function e(t,n,i){_classCallCheck(this,e),this.document=t,this.window=n,this.errorHandler=i,this.offset=function(){return[0,0]}}return _createClass(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='".concat(e,"']"));if(n)return void this.scrollToElement(n)}catch(i){this.errorHandler.handleError(i)}}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"supportScrollRestoration",value:function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}]),e}()},otbX:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("fXoL"),r=n("ofXK"),a=n("wf0l");function o(e,t){if(1&e&&i.zc(0,"source",4),2&e){var n=t.$implicit,r=i.Uc(2);i.bd("type",n.type)("srcset",r.placeholderUrl,i.qd),i.kc("lazyLoad",n.sourceUrl)}}function s(e,t){if(1&e&&(i.Ec(0,"picture"),i.xd(1,o,1,3,"source",2),i.zc(2,"img",3),i.Dc()),2&e){var n=i.Uc();i.jc(1),i.bd("ngForOf",n.model.sources),i.jc(1),i.bd("src",n.placeholderUrl,i.qd)("alt",n.model.alt||"")("lazyLoad",n.model.fallbackUrl)}}function c(e,t){if(1&e&&i.zc(0,"img",3),2&e){var n=i.Uc();i.bd("src",n.placeholderUrl,i.qd)("alt",n.model.alt||"")("lazyLoad",n.model.fallbackUrl)}}var l=function(){var e=function e(){_classCallCheck(this,e),this.placeholderUrl="/dist-assets/images/cap.jpg"};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-picture"]],inputs:{model:"model",placeholderUrl:"placeholderUrl"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["image",""],[3,"type","srcset",4,"ngFor","ngForOf"],[3,"src","alt","lazyLoad"],[3,"type","srcset"]],template:function(e,t){if(1&e&&(i.xd(0,s,3,4,"picture",0),i.xd(1,c,1,3,"ng-template",null,1,i.yd)),2&e){var n=i.kd(2);i.bd("ngIf",t.model.sources.length>0)("ngIfElse",n)}},directives:[r.u,r.t,a.a],encapsulation:2}),e}()},ovuK:function(e,t,n){"use strict";t.a=function(e){return function(t){return e(t)}}},p3ot:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return o}
1)),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return c}));var i=n("fXoL"),r=n("GJzE"),a=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.viewContainer=t,this.templateRef=n,this.routesService=i,this.pItems=[]}return _createClass(e,[{key:"ngOnChanges",value:function(e){var t=this;void 0!==this.pInsertContainer&&void 0!==this.pSimpleItemTemplate&&void 0!==this.pRouterItemTemplate&&(this.pInsertContainer.clear(),this.pItems.forEach((function(e){t.pInsertContainer.createEmbeddedView(e.isSimpleItem?t.pSimpleItemTemplate:t.pRouterItemTemplate,{item:e,$implicit:e})})))}},{key:"buildRouterLink",value:function(e){switch(e){case"homePage":return this.routesService.buildHomePageRoute();case"catalogIndexPage":return this.routesService.buildCatalogIndexPageRoute();default:throw new Error("Unknown page: "+e)}}},{key:"items",set:function(e){var t=this;this.pItems=e.map((function(e){return e.isSimpleItem?{isSimpleItem:!0,label:e.label}:{isSimpleItem:!1,label:e.label,url:t.buildRouterLink(e.page)}})),this.viewContainer.clear(),this.pItems.length>0&&!this.pItems[0].isSimpleItem&&this.viewContainer.createEmbeddedView(this.templateRef)}},{key:"insertContainer",set:function(e){this.pInsertContainer=e}},{key:"simpleItemTemplate",set:function(e){this.pSimpleItemTemplate=e}},{key:"routerItemTemplate",set:function(e){this.pRouterItemTemplate=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(i.X),i.yc(i.U),i.yc(r.fb))},e.\u0275dir=i.tc({type:e,selectors:[["","appBreadcrumbs",""]],inputs:{items:["appBreadcrumbs","items"]},features:[i.hc]}),e}(),o=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.host=t,this.host.insertContainer=n}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.host.insertContainer=void 0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(a,1),i.yc(i.X))},e.\u0275dir=i.tc({type:e,selectors:[["","appBreadcrumbsContainer",""]]}),e}(),s=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.host=t,this.host.simpleItemTemplate=n}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.host.simpleItemTemplate=void 0}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(a,1),i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["","appBreadcrumbSimpleTemplate",""]]}),e}(),c=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.host=t,this.host.routerItemTemplate=n}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.host.routerItemTemplate=void 0}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(a,1),i.yc(i.U))},e.\u0275dir=i.tc({type:e,selectors:[["","appBreadcrumbRouteTemplate",""]]}),e}()},p9Pj:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("ofXK"),r=n("fXoL"),a=n("kBKH"),o=n("lPHt"),s=n("OevD"),c=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.siteConfigService=t,this.pageMetaService=n,this.document=i}return _createClass(e,[{key:"ngOnChanges",value:function(e){e.newsModel&&(this.script=this.createScript())}},{key:"createScript",value:function(){return'<script type="application/ld+json">'.concat(JSON.stringify(this.getSchema()),"<\/script>")}},{key:"getSchema",value:function(){var e={"@context":"https://schema.org","@type":"NewsArticle",headline:this.newsModel.title,datePublished:this.newsModel.publishDate,publisher:{name:this.pageMetaService.openGraphTags.siteName,url:this.document.location.origin}};return null!==this.newsModel.internalPoster&&(e.image=[this.pageMetaService.openGraphTags.imageUrl]),e.author=null!==this.newsModel.author&&this.newsModel.author.publicName.length>0?[{"@type":"Person",name:this.newsModel.author.publicName,url:this.newsModel.author.authorUrl||""}]:[{"@type":"Organization",name:this.pageMetaService.openGraphTags.siteName,url:this.document.location.origin}],e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.yc(a.c),r.yc(o.a),r.yc(i.e))},e.\u0275cmp=r.sc({type:e,selectors:[["app-json-ld"]],inputs:{newsModel:"newsModel"},features:[r.hc],decls:2,vars:3,consts:[[3,"innerHTML"]],template:function(e,t){1&e&&(r.zc(0,"div",0),r.Vc(1,"safeHtml")),2&e&&r.bd("innerHTML",r.Wc(1,1,t.script),r.od)},pipes:[s.a],encapsulation:2}),e}()},pI7v:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("fXoL"),r=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.sc({type:e,selectors:[["app-placeholder"]],inputs:{width:"width",height:"height"},decls:4,vars:0,consts:[[1,"card-placeholder"],[1,"card-placeholder__image","card-placeholder__item"],[1,"card-placeholder__title","card-placeholder__item"],[1,"card-placeholder__subtitle","card-placeholder__item"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.zc(1,"div",1),i.zc(2,"div",2),i.zc(3,"div",3),i.Dc())},styles:[".card-placeholder[_ngcontent-%COMP%]{position:relative;max-width:100%;margin-bottom:16px}@-webkit-keyframes shine-lines{0%{background-position:-100px}40%,to{background-position:300px}}@keyframes shine-lines{0%{background-position:-100px}40%,to{background-position:300px}}.card-placeholder__item[_ngcontent-%COMP%]{background-color:#ccc;
1background-image:linear-gradient(90deg,#f0f0f0,#f4f4f4 40px,#f0f0f0 80px);background-size:400px;border-radius:8px;-webkit-animation:shine-lines 1.5s linear infinite;animation:shine-lines 1.5s linear infinite}.card-placeholder__image[_ngcontent-%COMP%]{height:160px}.card-placeholder__title[_ngcontent-%COMP%]{max-width:80%;margin-top:8px;height:32px}.card-placeholder__subtitle[_ngcontent-%COMP%]{max-width:40%;margin-top:8px;height:24px}"]}),e}()},pLZG:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e,t){return function(n){return n.lift(new a(e,t))}}var a=function(){function e(t,n){_classCallCheck(this,e),this.predicate=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new o(e,this.predicate,this.thisArg))}}]),e}(),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e)).predicate=i,a.thisArg=r,a.count=0,a}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(i.a)},"pj/B":function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return v}));var i=n("fXoL"),r=n("ofXK"),a=n("iQdX"),o=n("0st4"),s=n("2Vo4"),c=n("quSY"),l=n("lJxs"),u=n("6NWb");function d(e,t){if(1&e){var n=i.Fc();i.Ec(0,"share-button",3),i.Qc("opened",(function(e){return i.nd(n),i.Uc(2).opened.emit(e)}))("closed",(function(e){return i.nd(n),i.Uc(2).closed.emit(e)})),i.Dc()}if(2&e){var r=t.$implicit,a=i.Uc(2);i.bd("button",r)("theme",a.theme)("url",a.url)("title",a.title)("description",a.description)("image",a.image)("tags",a.tags)("autoSetMeta",a.autoSetMeta)("showIcon",a.showIcon)("showText",a.showText)("size",a.size)("disabled",a.disabled)}}function h(e,t){if(1&e){var n=i.Fc();i.Ec(0,"expand-button",4),i.Qc("toggle",(function(e){return i.nd(n),i.Uc(2).updateState({expanded:e})})),i.Dc()}if(2&e){var r=i.Uc().$implicit,a=i.Uc();i.mc("sb-button sb-",a.theme,""),i.bd("expanded",r.expanded)("moreIcon",r.moreIcon)("lessIcon",r.lessIcon)("size",14*(1+a.size/20))}}function f(e,t){if(1&e&&(i.Ec(0,"div"),i.xd(1,d,1,12,"share-button",1),i.xd(2,h,1,7,"expand-button",2),i.Dc()),2&e){var n=t.$implicit,r=i.Uc();i.mc("sb-group sb-",r.theme,""),i.jc(1),i.bd("ngForOf",n.selectedButtons),i.jc(1),i.bd("ngIf",n.shownCount<n.userButtons.length)}}var p=function(){var e=function(){function e(t){_classCallCheck(this,e),this._share=t,this._state$=new s.a({includedButtons:[],excludedButtons:[],userButtons:[],selectedButtons:[],expanded:!0,shownCount:Object.keys(a.a).length}),this._configSub$=c.a.EMPTY,this.theme=this._share.config.theme,this.showIcon=!0,this.showText=!1,this.size=0,this.opened=new i.s,this.closed=new i.s}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.state$=this._state$.pipe(Object(l.a)((function(e){var t=e.includedButtons&&e.includedButtons.length?e.includedButtons:e.userButtons,n=e.excludedButtons?t.filter((function(t){return e.excludedButtons.indexOf(t)<0})):t,i=n.slice(0,e.expanded?n.length:e.shownCount);return{userButtons:n,selectedButtons:i,expanded:e.expanded,shownCount:e.shownCount,moreIcon:e.moreIcon,lessIcon:e.lessIcon}}))),this._configSub$=this._share.config$.subscribe((function(t){var n=(t.include.length?t.include:Object.keys(a.a)).filter((function(e){return t.exclude.indexOf(e)<0}));e.updateState({userButtons:n,expanded:!1,moreIcon:t.moreButtonIcon,lessIcon:t.lessButtonIcon})}))}},{key:"ngOnChanges",value:function(e){(e.include&&e.include.currentValue!==e.include.previousValue||e.exclude&&e.exclude.currentValue!==e.exclude.previousValue||e.show&&e.show.currentValue!==e.show.previousValue)&&this.updateState({includedButtons:this.include,excludedButtons:this.exclude,shownCount:this.show})}},{key:"ngOnDestroy",value:function(){this._configSub$.unsubscribe(),this._state$.complete()}},{key:"updateState",value:function(e){this._state$.next(Object.assign(Object.assign({},this._state$.value),e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(a.e))},e.\u0275cmp=i.sc({type:e,selectors:[["share-buttons"]],inputs:{theme:"theme",showIcon:"showIcon",showText:"showText",size:"size",include:"include",exclude:"exclude",show:"show",url:"url",title:"title",description:"description",image:"image",tags:"tags",autoSetMeta:"autoSetMeta",disabled:"disabled"},outputs:{opened:"opened",closed:"closed"},features:[i.hc],decls:2,vars:3,consts:[[3,"class",4,"ngIf"],[3,"button","theme","url","title","description","image","tags","autoSetMeta","showIcon","showText","size","disabled","opened","closed",4,"ngFor","ngForOf"],[3,"class","expanded","moreIcon","lessIcon","size","toggle",4,"ngIf"],[3,"button","theme","url","title","description","image","tags","autoSetMeta","showIcon","showText","size","disabled","opened","closed"],[3,"expanded","moreIcon","lessIcon","size","toggle"]],template:function(e,t){1&e&&(i.xd(0,f,3,5,"div",0),i.Vc(1,"async")),2&e&&i.bd("ngIf",i.Wc(1,1,t.state$))},directives:function(){return[r.u,r.t,o.a,g]},pipes:function(){return[r.b]},styles:["[_nghost-%COMP%]{--sb-margin:0.3125em;display:inherit}"],changeDetection:0}),e}(),g=function(){var e=function e(t){_classCallCheck(this,e),this.toggle=new i.s,t.nativeElement.style.setProperty("--button-color","#FF6651")};return e.\u0275fac=function(t){return new(t||e)(i.yc(i.q))},e.\u0275cmp=i.sc({type:e,selectors:[["expand-button"]],inputs:{moreIcon:"moreIcon",lessIcon:"lessIcon",expanded:"expanded",size:"size"},outputs:{toggle:"toggle"},decls:4,vars:3,consts:[[1,"sb-wrapper","sb-expand","sb-show-icon",3,"click"],[1,"sb-content"],[1,"sb-icon"],[3,"icon"]],template:function(e,t){1&e&&(i.Ec(0,"button",0),i.Qc("click",(function(){return t.toggle.emit(!t.expanded)})),i.Ec(1,"div",1),i.Ec(2,"div",2),i.zc(3,"fa-icon",3),i.Dc(),i.Dc(),i.Dc()),2&e&&(i.wd("font-size",t.size,"px"),i.jc(3),i.bd("icon",t.expanded?t.lessIcon:t.moreIcon))},directives:[u.b],encapsulation:2,changeDetection:0}),e}(),v=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:a.b,useValue:t}]}}}]),e}();return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},imports:[[o.b,r.c],o.b]}),e}()},pyRK:function(e,t,n){"use strict";var i=Object.prototype;t.a=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||i)}},q2jt:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("XNiG"),r=n("itXk"),a=n("1G5W"),o=n("vkgz"),s=n("fXoL"),c=n("GJzE");function l(e,t){if(1&e){var n=s.Fc();s.Ec(0,"div",1),s.zc(1,"div",2),s.Ec(2,"div",3),s.Ec(3,"button",4),s.Qc("click",(function(){return s.nd(n),s.Uc().close()})),s.zd(4,"\xd7"),s.Dc(),s.Ec(5,"app-standalone-banners-place",5),s.Qc("placeLoaded",(function(e){return s.nd(n),s.Uc().onPlaceLoaded(e)})),s.Dc(),s.Dc(),s.Dc()}if(2&e){var i=s.Uc();s.pc("is-visible",i.isShown),s.jc(5),s.bd("aspectRatio",i.aspectRatio)("loadingMode",null)("pageName",i.pageName)("placeName",i.placeName)}
1}var u=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.routesService=t,this.userSessionService=n,this.pageName=null,this.pAspectRatio=null,this.onDestroy$=new i.a,this.pCanBeShown=!1,this.pIsShown=!1,this.pIsCodePlace=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;Object(r.a)([this.routesService.onRoutesChanged,this.userSessionService.isExpired]).pipe(Object(a.a)(this.onDestroy$),Object(o.a)((function(t){var n=_slicedToArray2(t,2),i=n[0],r=n[1];e.pCanBeShown=e.isNeedToShow(null===i.previous,r)}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"show",value:function(){this.pIsShown=!0}},{key:"hide",value:function(){this.pIsShown=!1}},{key:"open",value:function(){this.pCanBeShown=!0}},{key:"close",value:function(){this.hide(),this.pCanBeShown=!1}},{key:"onPlaceLoaded",value:function(e){this.pIsCodePlace=e.isCodePlace,e.hasModel?this.show():this.close()}},{key:"isNeedToShow",value:function(e,t){return!0}},{key:"aspectRatio",set:function(e){this.pAspectRatio=e},get:function(){return this.pIsCodePlace?null:this.pAspectRatio}},{key:"canBeShown",get:function(){return this.pCanBeShown}},{key:"isShown",get:function(){return this.pIsShown}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.yc(c.fb),s.yc(c.Bb))},e.\u0275cmp=s.sc({type:e,selectors:[["app-popup-banners-place"]],inputs:{pageName:"pageName",placeName:"placeName",aspectRatio:"aspectRatio"},decls:1,vars:1,consts:[["class","popup-banner",3,"is-visible",4,"ngIf"],[1,"popup-banner"],[1,"popup-banner__overlay"],[1,"popup-banner__content"],["type","button",1,"popup-banner__close",3,"click"],[3,"aspectRatio","loadingMode","pageName","placeName","placeLoaded"]],template:function(e,t){1&e&&s.xd(0,l,6,6,"div",0),2&e&&s.bd("ngIf",t.canBeShown)},styles:[".popup-banner[_ngcontent-%COMP%]{display:none;position:fixed;z-index:70;top:0;left:0;width:100%;height:100%}.popup-banner.is-visible[_ngcontent-%COMP%]{display:block}.popup-banner__overlay[_ngcontent-%COMP%]{width:100%;height:100%;background-color:rgba(50,50,50,.35)}.popup-banner__content[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;padding:16px 0;text-align:center}.popup-banner__content[_ngcontent-%COMP%]   .popup-banner__close[_ngcontent-%COMP%]{padding:0;position:absolute;z-index:10;top:5px;right:5px;width:48px;height:48px;text-align:center;border:0;border-radius:50%;background-color:hsla(0,0%,100%,.95);color:rgba(50,50,50,.35);font-size:36px}"]}),e}()},qDyL:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("fXoL"),r=n("kBKH"),a=n("iQdX"),o=n("ofXK"),s=n("pj/B");function c(e,t){if(1&e&&(i.Ec(0,"div",1),i.zc(1,"share-buttons",2),i.Dc()),2&e){var n=i.Uc();i.jc(1),i.bd("include",n.allowedShares)("url",n.shareUrl)("title",n.shareTitle)("showText",!1)}}var l=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.siteConfigService=t,this.shareService=n,this.pSharesConfig=new Map}return _createClass(e,[{key:"ngOnInit",value:function(){0===this.sharesConfig.size&&(this.sharesConfig=this.siteConfigService.instantSocialSharesConfig)}},{key:"sharesConfig",set:function(e){for(var t in this.pSharesConfig.clear(),this.shareService.prop)e.has(t)&&this.pSharesConfig.set(t,e.get(t))},get:function(){return this.pSharesConfig}},{key:"allowedShares",get:function(){return _toConsumableArray2(this.sharesConfig.keys())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(r.c),i.yc(a.e))},e.\u0275cmp=i.sc({type:e,selectors:[["app-share-content-widget"]],inputs:{shareUrl:"shareUrl",shareTitle:"shareTitle",sharesConfig:"sharesConfig"},decls:1,vars:1,consts:[["class","share-buttons",4,"ngIf"],[1,"share-buttons"],[3,"include","url","title","showText"]],template:function(e,t){1&e&&i.xd(0,c,2,4,"div",0),2&e&&i.bd("ngIf",t.allowedShares.length>0)},directives:[o.u,s.a],encapsulation:2}),e}()},qHzz:function(e,t,n){"use strict";n.d(t,"l",(function(){return r})),n.d(t,"w",(function(){return s})),n.d(t,"i",(function(){return S})),n.d(t,"j",(function(){return E})),n.d(t,"k",(function(){return ee})),n.d(t,"b",(function(){return ce})),n.d(t,"m",(function(){return et})),n.d(t,"r",(function(){return rt})),n.d(t,"u",(function(){return ft})),n.d(t,"t",(function(){return jt})),n.d(t,"a",(function(){return Nt})),n.d(t,"d",(function(){return Rt})),n.d(t,"e",(function(){return Ft})),n.d(t,"f",(function(){return Vt})),n.d(t,"g",(function(){return Ut})),n.d(t,"h",(function(){return Ht})),n.d(t,"n",(function(){return Wt})),n.d(t,"o",(function(){return Gt.a})),n.d(t,"p",(function(){return en})),n.d(t,"s",(function(){return tn})),n.d(t,"q",(function(){return nn})),n.d(t,"c",(function(){return rn})),n.d(t,"v",(function(){return on}));var i=n("ehPC"),r=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,a,o){var s,c=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=arguments.length>5?arguments[5]:void 0,u=arguments.length>6?arguments[6]:void 0;return _classCallCheck(this,n),(s=t.call(this,e,r,a)).width=e,s.height=r,s.pEmptyAction=a,s.sourceReliabilityLabels=o,s.useScrollSpy=c,s.placementOfStretchingInNewsText=l,s.readInLabels=u,s.pType=i.R.NewsDetailVie
1w,s}return _createClass(n,[{key:"getComponent",value:function(){return et}}]),n}(i.i),a=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.subscribePrompt=t,this.googleNews=n,this.telegram=i,this.yandexNews=r,this.yandexZen=a,this.pHasSubscribePrompt=null!==t,this.pHasGoogleNews=null!==n,this.pHasTelegram=null!==i,this.pHasYandexNews=null!==r,this.pHasYandexZen=null!==a,this.pHasNewsChannels=this.pHasGoogleNews||this.pHasTelegram||this.pHasYandexNews||this.pHasYandexZen}return _createClass(e,[{key:"hasSubscribePrompt",get:function(){return this.pHasSubscribePrompt}},{key:"hasGoogleNews",get:function(){return this.pHasGoogleNews}},{key:"hasTelegram",get:function(){return this.pHasTelegram}},{key:"hasYandexNews",get:function(){return this.pHasYandexNews}},{key:"hasYandexZen",get:function(){return this.pHasYandexZen}},{key:"hasNewsChannels",get:function(){return this.pHasNewsChannels}}]),e}(),o=function e(t,n,i,r,a){_classCallCheck(this,e),this.allowAnonymousComment=t,this.allowVotes=n,this.showTextInCommentForm=i,this.textInCommentForm=r,this.newsChannels=a};function s(e){return new o(e.allowAnonymousComment,e.allowVotes,e.showTextInCommentForm,e.textInCommentForm,function(e){return new a(e.subscribePrompt,e.googleNews,e.telegram,e.yandexNews,e.yandexZen)}(e.newsChannels))}var c=n("fXoL"),l=n("XNiG"),u=["insertPoint"],d=["commonBlock"],h=["quoteBlock"],f=["videoBlock"],p=["imageBlock"],g=["galleryBlock"];function v(e,t){1&e&&(c.zc(0,"p",6),c.Vc(1,"safeHtml")),2&e&&c.bd("outerHTML",c.Wc(1,1,t.block.content),c.od)}function m(e,t){if(1&e&&(c.Ec(0,"blockquote"),c.zc(1,"div",6),c.Vc(2,"safeHtml"),c.Dc()),2&e){var n=t.block;c.jc(1),c.bd("outerHTML",c.Wc(2,1,n.content),c.od)}}function b(e,t){if(1&e&&(c.Ec(0,"div",7),c.zc(1,"p",6),c.Vc(2,"safeHtml"),c.Dc()),2&e){var n=t.block;c.jc(1),c.bd("outerHTML",c.Wc(2,1,n.content),c.od)}}function y(e,t){if(1&e&&c.zc(0,"img",12,13),2&e){var n=c.kd(1),i=c.Uc(),r=i.block,a=i.imageIndex,o=c.Uc();c.cd("defaultName",o.defaultName),c.cd("description",r.description),c.cd("author",r.author),c.bd("lazyLoad",r.sourceUrl)("imageIndex",a)("alt",n.alt)("title",n.title)}}function C(e,t){if(1&e&&(c.Ec(0,"a",14),c.zc(1,"img",12,13),c.Dc()),2&e){var n=c.kd(2),i=c.Uc(),r=i.block.linkParams,a=i.block,o=i.imageIndex,s=c.Uc();c.cd("href",r.href,c.qd),c.kc("rel",r.rel)("target",r.target)("title",r.title),c.jc(1),c.cd("defaultName",s.defaultName),c.cd("description",a.description),c.cd("author",a.author),c.bd("lazyLoad",a.sourceUrl)("imageIndex",o)("alt",n.alt)("title",n.title)}}function _(e,t){if(1&e&&(c.Ec(0,"p",15),c.zd(1),c.Dc()),2&e){var n=c.Uc().imageDescription;c.jc(1),c.Ad(n.join(", "))}}function w(e,t){if(1&e&&(c.Ec(0,"div",8),c.xd(1,y,2,7,"img",9),c.xd(2,C,3,11,"ng-template",null,10,c.yd),c.xd(4,_,2,1,"p",11),c.Dc()),2&e){var n=t.block.linkParams,i=t.imageDescription,r=c.kd(3);c.jc(1),c.bd("ngIf",!n.href)("ngIfElse",r),c.jc(3),c.bd("ngIf",i.length>0)}}function k(e,t){1&e&&c.zc(0,"app-model-content-gallery",16),2&e&&c.bd("galleryBlock",t.block)}var x,O,S=((x=function(){function e(){_classCallCheck(this,e),this.onDestroy$=new l.a}return _createClass(e,[{key:"ngOnChanges",value:function(e){var t=this;if(e.content){this.insertPoint.clear();var n={commonBlock:0,galleryBlock:0,imageBlock:0,quoteBlock:0,videoBlock:0},i={commonBlock:0,galleryBlock:0,imageBlock:0,quoteBlock:0,videoBlock:0},r=1;this.content.forEach((function(e){++n[e.type]})),this.canShowInTextBanner&&this.bannersInContentService.contentBegin(this.insertPoint,n.commonBlock),this.content.forEach((function(e){var n,a;switch(e.type){case"commonBlock":t.insertPoint.createEmbeddedView(t.commonBlockTemplate,{block:{content:e.content}}),t.canShowInTextBanner&&t.bannersInContentService.processContentParagraph();break;case"galleryBlock":t.insertPoint.createEmbeddedView(t.galleryBlockTemplate,{block:e,startImageIndex:r}),r+=e.images.length;break;case"imageBlock":var o=[];(null===(n=e.description)||void 0===n?void 0:n.length)>0&&o.push(e.description),(null===(a=e.author)||void 0===a?void 0:a.length)>0&&o.push(e.author),t.insertPoint.createEmbeddedView(t.imageBlockTemplate,{block:e,imageIndex:r,imageDescription:o}),r++;break;case"quoteBlock":t.insertPoint.createEmbeddedView(t.quoteBlockTemplate,{block:{content:e.content}});break;case"videoBlock":t.insertPoint.createEmbeddedView(t.videoBlockTemplate,{block:{content:e.content}})}++i[e.type]})),this.canShowInTextBanner&&this.bannersInContentService.contentEnd()}}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}}]),e}()).\u0275fac=function(e){return new(e||x)},x.\u0275cmp=c.sc({type:x,selectors:[["app-model-content"]],viewQuery:function(e,t){var n;1&e&&(c.ud(u,!0,c.X),c.ud(d,!0),c.ud(h,!0),c.ud(f,!0),c.ud(p,!0),c.ud(g,!0)),2&e&&(c.jd(n=c.Rc())&&(t.insertPoint=n.first),c.jd(n=c.Rc())&&(t.commonBlockTemplate=n.first),c.jd(n=c.Rc())&&(t.quoteBlockTemplate=n.first),c.jd(n=c.Rc())&&(t.videoBlockTemplate=n.first),c.jd(n=c.Rc())&&(t.imageBlockTemplate=n.first),c.jd(n=c.Rc())&&(t.galleryBlockTemplate=n.first))},inputs:{content:"content",canShowInTextBanner:"canShowInTextBanner",defaultName:"defaultName",bannersInContentService:"bannersInContentService"},features:[c.hc],decls:12,vars:0,consts:[["insertPoint",""],["commonBlock",""],["quoteBlock",""],["videoBlock",""],["imageBlock",""],["galleryBlock",""],[3,"outerHTML"],["appFitToContainer","",1,"text-center","article-video"],[1,"text-center"],["src","/dist-assets/images/cap.jpg","appImageAltAndTitle","",3,"lazyLoad","defaultName","description","author","imageIndex","alt","title",4,"ngIf","ngIfElse"],["hrefImage",""],["class","image-description",4,"ngIf"],["src","/dist-assets/images/cap.jpg","appImageAltAndTitle","",3,"lazyLoad","defaultName","description","author","imageIndex","alt","title"],["generator","imageAltAndTitle"],[3,"href"],[1,"image-description"],[3,"galleryBlock"]],template:function(e,t){1&e&&(c.Ac(0,null,0),c.xd(2,v,2,3,"ng-template",null,1,c.yd),c.xd(4,m,3,3,"ng-template",null,2,c.yd),c.xd(6,b,3,3,"ng-template",null,3,c.yd),c.xd(8,w,5,3,"ng-template",null,4,c.yd),c.xd(10,k,1,1,"ng-template",null,5,c.yd
1))},styles:[".article-video[_ngcontent-%COMP%]{position:relative;height:auto;margin-bottom:.9em}.article-video[_ngcontent-%COMP%]     embed, .article-video[_ngcontent-%COMP%]     iframe, .article-video[_ngcontent-%COMP%]     object, .article-video[_ngcontent-%COMP%]     video{max-width:100%;max-height:100%}.image-description[_ngcontent-%COMP%]{font-size:14px;color:#000}[_nghost-%COMP%]     p{margin-bottom:.9em}[_nghost-%COMP%]     h2{font-size:1.25em}[_nghost-%COMP%]     h3{font-size:1.17em}[_nghost-%COMP%]     h4{font-size:1em}[_nghost-%COMP%]     .article-table-wrapper{width:100%;overflow:auto;margin-bottom:.9em}[_nghost-%COMP%]     blockquote{padding-left:16px;border-left:2px solid var(--green-primary);font-weight:300;font-style:italic}[_nghost-%COMP%]     img{max-width:100%;height:auto;margin-bottom:.9em}[_nghost-%COMP%]     a{color:var(--green-primary);box-shadow:inset 0 -1px var(--green-primary)}"]}),x),P=n("XGsO"),E=((O=function(){function e(){_classCallCheck(this,e),this.galleryImages=[]}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.galleryOptions=[{width:"100%",height:"660px",thumbnailsArrows:!1,thumbnailsColumns:6,thumbnailsPercent:16.6667,imageArrowsAutoHide:!0,arrowPrevIcon:"gallery-action gallery-action--prev",arrowNextIcon:"gallery-action gallery-action--next",closeIcon:"gallery-action gallery-action--close",imageSize:P.c.Contain,imageSwipe:!0,previewSwipe:!0,imageDescription:!0,imageAnimation:P.a.Slide},{breakpoint:991,width:"100%",height:"400px",imagePercent:80,thumbnailsColumns:5,thumbnailsPercent:20},{breakpoint:400,preview:!1}],this.galleryBlock.images.forEach((function(t){var n,i,r=[];(null===(n=t.description)||void 0===n?void 0:n.length)>0&&r.push(t.description),(null===(i=t.author)||void 0===i?void 0:i.length)>0&&r.push(t.author),e.galleryImages.push({small:t.sourceUrl,medium:t.sourceUrl,big:t.sourceUrl,description:r.length>0?r.join("<br>"):""})}))}}]),e}()).\u0275fac=function(e){return new(e||O)},O.\u0275cmp=c.sc({type:O,selectors:[["app-model-content-gallery"]],inputs:{galleryBlock:"galleryBlock"},decls:2,vars:2,consts:[[1,"ngx-gallery",3,"options","images"]],template:function(e,t){1&e&&(c.Ec(0,"div"),c.zc(1,"ngx-gallery",0),c.Dc()),2&e&&(c.jc(1),c.bd("options",t.galleryOptions)("images",t.galleryImages))},directives:[P.b],styles:["[_nghost-%COMP%]     ngx-gallery .ngx-gallery-image-text{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;text-align:left}"]}),O),M=n("tyNb"),I=n("1G5W"),D=n("pLZG"),j=n("vkgz"),A=n("VMQv"),T=n("GQzd"),z=n("s1DB"),L=n("WI3F"),N=n("nFFm"),R=n("bHHr"),F=n("y96F"),V=n("PLBQ"),U=n("GJzE");function H(e,t){1&e&&c.zc(0,"app-news-page-popup-banners-place")}function B(e,t){1&e&&(c.Cc(0),c.xd(1,H,1,0,"app-news-page-popup-banners-place",4),c.Bc())}function q(e,t){1&e&&c.zc(0,"app-section",9),2&e&&c.bd("sectionModel",t.$implicit)}function $(e,t){if(1&e&&(c.Ec(0,"div",5),c.Ec(1,"div",6),c.Ec(2,"div",7),c.xd(3,q,1,1,"app-section",8),c.Dc(),c.Dc(),c.Dc()),2&e){var n=c.Uc();c.jc(3),c.bd("ngForOf",n.layoutModel.sections)}}function W(e,t){1&e&&c.zc(0,"app-page-loader")}var G,X=Object(c.cb)((function(){return Nt})),Z=Object(c.cb)((function(){return Wt})),Y=Object(c.cb)((function(){return Ft})),Q=Object(c.cb)((function(){return tn})),K=Object(c.cb)((function(){return nn})),J=Object(c.cb)((function(){return Vt})),ee=((G=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c,l,u){var d;return _classCallCheck(this,n),(d=t.call(this,e,i)).layoutsManager=e,d.googleTagManagerService=i,d.router=r,d.newsService=a,d.adsService=o,d.companiesService=s,d.specialThemesService=c,d.bannersInContentService=l,d.currencyInformersService=u,d.widgetContainer=null,d.newsDetailView=null,d}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.bannersInContentService.reset(),this.router.events.pipe(Object(I.a)(this.onDestroy$),Object(D.a)((function(e){return e instanceof M.b})),Object(j.a)((function(){e.newsService.resetDetailView(),e.bannersInContentService.reset(),null!==e.findNewsDetailVie
1w()&&e.newsDetailView.reset(),null!==e.findWidgetContainer()&&(e.widgetContainer.reset(),e.widgetContainer.doReplay())}))).subscribe()}},{key:"ngAfterViewInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngAfterViewInit",this).call(this)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this)}},{key:"resetServices",value:function(){this.widgetContainer=null,this.newsService.reset(),this.adsService.reset(),this.companiesService.reset(),this.specialThemesService.reset(),this.currencyInformersService.reset()}},{key:"findWidgetContainer",value:function(){if(null===this.widgetContainer){var e,t=_createForOfIteratorHelper(this.sectionComponents);try{for(t.s();!(e=t.n()).done;){var n,r=_createForOfIteratorHelper(e.value.blockComponents);try{for(r.s();!(n=r.n()).done;){var a,o=_createForOfIteratorHelper(n.value.widgetComponents);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(s instanceof i.Q){this.widgetContainer=s;break}}}catch(c){o.e(c)}finally{o.f()}if(null!==this.widgetContainer)break}}catch(c){r.e(c)}finally{r.f()}if(null!==this.widgetContainer)break}}catch(c){t.e(c)}finally{t.f()}}return this.widgetContainer}},{key:"findNewsDetailView",value:function(){if(null===this.newsDetailView){var e,t=_createForOfIteratorHelper(this.sectionComponents);try{for(t.s();!(e=t.n()).done;){var n,i=_createForOfIteratorHelper(e.value.blockComponents);try{for(i.s();!(n=i.n()).done;){var r,a=_createForOfIteratorHelper(n.value.widgetComponents);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(o instanceof et){this.newsDetailView=o;break}}}catch(s){a.e(s)}finally{a.f()}if(null!==this.newsDetailView)break}}catch(s){i.e(s)}finally{i.f()}if(null!==this.newsDetailView)break}}catch(s){t.e(s)}finally{t.f()}}return this.newsDetailView}},{key:"registerDefaultOnLoadHandler",value:function(){}}]),n}(i.g)).\u0275fac=function(e){return new(e||G)(c.yc(i.G),c.yc(U.w),c.yc(M.d),c.yc(Wt),c.yc(Nt),c.yc(Ft),c.yc(tn),c.yc(U.i),c.yc(Vt))},G.\u0275cmp=c.sc({type:G,selectors:[["app-news-detail-layout"]],features:[c.ic([{provide:i.p,useExisting:Object(c.cb)((function(){return rn}))},{provide:i.O,useExisting:Object(c.cb)((function(){return on}))},{provide:F.f,useExisting:Object(c.cb)((function(){return Rt}))},{provide:A.d,useExisting:X},{provide:T.v,useExisting:Z},{provide:T.B,useExisting:Z},{provide:T.n,useExisting:Z},{provide:T.m,useExisting:Z},{provide:R.b,useExisting:Z},{provide:R.g,useExisting:Z},{provide:F.g,useExisting:Z},{provide:F.j,useExisting:Z},{provide:F.h,useExisting:Z},{provide:F.i,useExisting:Z},{provide:F.k,useExisting:Z},{provide:F.l,useExisting:Z},{provide:F.m,useExisting:Z},{provide:z.w,useExisting:Y},{provide:L.c,useExisting:Q},{provide:L.b,useExisting:Q},{provide:Object(c.cb)((function(){return V.d})),useExisting:J},{provide:Object(c.cb)((function(){return V.g})),useExisting:J},{provide:N.a,useExisting:K}]),c.gc],decls:5,vars:2,consts:[[4,"appOnlyInBrowser"],[1,"main"],["class","container-fluid",4,"ngIf"],[4,"ngIf"],[4,"appOnlyOnMobile"],[1,"container-fluid"],[1,"row","position-relative"],[1,"col"],["class","row article-details",3,"sectionModel",4,"ngFor","ngForOf"],[1,"row","article-details",3,"sectionModel"]],template:function(e,t){1&e&&(c.zc(0,"app-breadcrumbs"),c.xd(1,B,2,0,"ng-container",0),c.Ec(2,"main",1),c.xd(3,$,4,1,"div",2),c.xd(4,W,1,0,"app-page-loader",3),c.Dc()),2&e&&(c.jc(3),c.bd("ngIf",t.layoutModel),c.jc(1),c.bd("ngIf",!t.layoutModel))},styles:[""]}),G);function te(e,t){if(1&e&&c.zc(0,"app-card-label",4),2&e){var n=c.Uc(3);c.bd("title",n.widget.label)}}function ne(e,t){if(1&e&&c.zc(0,"a",14),2&e){var n=c.Uc().$implicit;c.cd("href",n.url,c.qd),c.bd("lazyLoad",n.posterUrl)}}function ie(e,t){if(1&e&&(c.Ec(0,"div",15),c.Tc(),c.Ec(1,"svg",16),c.zc(2,"use",17),c.Dc(),c.Sc(),c.Ec(3,"span"),c.zd(4),c.Vc(5,"number"),c.Dc(),c.Dc()),2&e){var n=c.Uc().$implicit;c.jc(4),c.Ad(c.Wc(5,1,n.viewsCount))}}function re(e,t){if(1&e&&(c.Ec(0,"article",5),c.xd(1,ne,1,2,"a",6),c.Ec(2,"div",7),c.Ec(3,"div",8),c.Ec(4,"a",9),c.zd(5),c.Dc(),c.Dc(),c.Ec(6,"div",10),c.Ec(7,"div",11),c.zd(8),c.Dc(),c.Ec(9,"div",12),c.xd(10,ie,6,3,"div",13),c.Dc(),c.Dc(),c.Dc(),c.Dc()),2&e){var n=t.$implicit;c.bd("ngClass",n.posterUrl?"article-card--half":"article-card--simple"),c.jc(1),c.bd("ngIf",n.posterUrl),c.jc(3),c.cd("href",n.url,c.qd),c.cd("title",n.title),c.jc(1),c.Ad(n.title),c.jc(3),c.Ad(n.friendlyFromDate.join(", ")),c.jc(2),c.bd("ngIf",n.viewsCount>0)}}function ae(e,t){if(1&e&&(c.Cc(0),c.xd(1,te,1,1,"app-card-label",2),c.xd(2,re,11,7,"article",3),c.Bc()),2&e){var n=c.Uc(2);c.jc(1),c.bd("ngIf",n.widget.label),c.jc(1),c.bd("ngForOf",n.models)}}function oe(e,t){if(1&e&&(c.Cc(0),c.xd(1,ae,3,2,"ng-container",1),c.Bc()),2&e){var n=c.Uc();c.jc(1),c.bd("ngIf",null==n.models?null:n.models.length)}}var se,ce=((se=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(A.b)).\u0275fac=function(e){return le(e||se)},se.\u0275cmp=c.sc({type:se,selectors:[["app-ads-teaser"]],features:[c.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","a
1ppLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[4,"ngIf"],["className","card-label d-inline-block mb-4",3,"title",4,"ngIf"],["class","article-card",3,"ngClass",4,"ngFor","ngForOf"],["className","card-label d-inline-block mb-4",3,"title"],[1,"article-card",3,"ngClass"],["class","article-card__poster",3,"href","lazyLoad",4,"ngIf"],[1,"article-card__content"],[1,"article-card__title"],[3,"href","title"],[1,"article-card__info"],[1,"article-card__date"],[1,"card-actions"],["class","card-actions__item",4,"ngIf"],[1,"article-card__poster",3,"href","lazyLoad"],[1,"card-actions__item"],["width","20","height","20"],[0,"xlink","href","#icon-eye"]],template:function(e,t){1&e&&(c.xd(0,oe,2,1,"ng-container",0),c.Vc(1,"async")),2&e&&c.bd("appLoadingPlaceholder",c.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:[".article-card[_ngcontent-%COMP%]{position:relative;margin:0 0 24px;border-bottom:0;overflow:hidden}.article-card__poster[_ngcontent-%COMP%]{display:block;background-position:50%;background-size:cover;background-color:#e6e6e6}.article-card__title[_ngcontent-%COMP%]{font-size:24px}.article-card__info[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:14px;color:rgba(50,50,50,.35)}.article-card__content[_ngcontent-%COMP%]{padding:16px 24px}.article-card--half[_ngcontent-%COMP%]   .article-card__poster[_ngcontent-%COMP%]{padding-bottom:47.6%}.card-actions[_ngcontent-%COMP%]{display:inline-flex;margin-left:8px}.card-actions[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:4px;fill:rgba(50,50,50,.35)}"]}),se),le=c.Gc(ce),ue=n("ofXK"),de=n("PqYM"),he=n("IzEk"),fe=n("eIep"),pe=n("H0t/"),ge=n("jhN1"),ve=n("sYmb"),me=["scrollSpyTitle"],be=["dateText"];function ye(e,t){if(1&e&&c.zc(0,"app-card-label",45),2&e){var n=c.Uc(3);c.bd("title",n.model.label)}}function Ce(e,t){if(1&e&&c.zc(0,"app-article-author",46),2&e){var n=c.Uc(3);c.bd("model",n.model.author)}}function _e(e,t){if(1&e&&(c.Tc(),c.Ec(0,"tspan"),c.zd(1),c.Dc()),2&e){var n=t.$implicit;c.jc(1),c.Ad(n)}}function we(e,t){if(1&e&&(c.Tc(),c.Ec(0,"svg",47),c.Ec(1,"text",48,49),c.xd(3,_e,2,1,"tspan",50),c.Dc(),c.Dc()),2&e){var n=c.Uc(3);c.jc(3),c.bd("ngForOf",n.fakePublishDateItems)}}function ke(e,t){if(1&e&&c.zd(0),2&e){var n=c.Uc(3);c.Ad(n.model.friendlyPublishDate.join(", "))}}function xe(e,t){if(1&e&&(c.Tc(),c.Sc(),c.Ec(0,"span"),c.zd(1),c.Vc(2,"number"),c.Dc()),2&e){var n=c.Uc(4);c.jc(1),c.Ad(c.Wc(2,1,n.model.commentsCount))}}function Oe(e,t){if(1&e&&(c.Ec(0,"a",51),c.Tc(),c.Ec(1,"svg",52),c.zc(2,"use",53),c.Dc(),c.xd(3,xe,3,3,"span",54),c.Dc()),2&e){var n=c.Uc(3);c.dd("href","#comments-",n.model.id,"",c.qd),c.jc(3),c.bd("ngIf",n.model.commentsCount>0)}}function Se(e,t){if(1&e&&(c.Ec(0,"div",55),c.Tc(),c.Ec(1,"svg",52),c.zc(2,"use",56),c.Dc(),c.Sc(),c.Ec(3,"span"),c.zd(4),c.Dc(),c.Dc()),2&e){var n=c.Uc(3);c.jc(4),c.Ad(n.widget.sourceReliabilityLabels.get("reliable"))}}function Pe(e,t){if(1&e&&(c.Ec(0,"div",57),c.Tc(),c.Ec(1,"svg",52),c.zc(2,"use",58),c.Dc(),c.Sc(),c.Ec(3,"span"),c.zd(4),c.Dc(),c.Dc()),2&e){var n=c.Uc(3);c.jc(4),c.Ad(n.widget.sourceReliabilityLabels.get("needCheck"))}}function Ee(e,t){if(1&e&&(c.Ec(0,"div",59),c.Tc(),c.Ec(1,"svg",52),c.zc(2,"use",60),c.Dc(),c.Sc(),c.Ec(3,"span"),c.zd(4),c.Dc(),c.Dc()),2&e){var n=c.Uc(3);c.jc(4),c.Ad(n.widget.sourceReliabilityLabels.get("cantCheck"))}}function Me(e,t){if(1&e&&(c.Ec(0,"div",61),c.Tc(),c.Ec(1,"svg",52),c.zc(2,"use",62),c.Dc(),c.Sc(),c.Ec(3,"span"),c.zd(4),c.Dc(),c.Dc()),2&e){var n=c.Uc(3);c.jc(4),c.Ad(n.widget.sourceReliabilityLabels.get("lie"))}}function Ie(e,t){1&e&&(c.Ec(0,"div",63),c.Tc(),c.Ec(1,"svg",52),c.zc(2,"use",64),c.Dc(),c.Dc())}function De(e,t){if(1&e&&c.zc(0,"app-card-label",65),2&e){var n=c.Uc(3);c.bd("title",n.model.label)}}function je(e,t){if(1&e&&(c.Ec(0,"p",70),c.zd(1),c.Dc()),2&e){var n=c.Uc(4);c.jc(1),c.Bd(" ",n.model.internalPoster.description," ")}}function Ae(e,t){if(1&e&&(c.Ec(0,"div",66),c.zc(1,"img",67,68),c.xd(3,je,2,1,"p",69),c.Dc()),2&e){var n=c.kd(2),i=c.Uc(3);c.jc(1),c.cd("defaultName",i.model.title),c.cd("description",i.model.internalPoster.description),c.bd("lazyLoad",i.model.internalPoster.url)("useImageIndex",!1)("alt",n.alt)("title",n.title),c.jc(2),c.bd("ngIf",(null==i.model.internalPoster.description?null:i.model.internalPoster.description.length)>0)}}function Te(e,t){if(1&e&&(c.Ec(0,"div",71),c.zc(1,"app-shared-poll",72),c.Dc()),2&e){var n=c.Uc(3);c.jc(1),c.bd("model",n.model.poll)("widget",n.pollWidget)}}function ze(e,t){if(1&e&&(c.Ec(0,"a",79),c.zd(1),c.Dc()),2&e){var n=c.Uc(5);c.cd("href",n.model.source.url,c.qd),c.jc(1),c.Ad(n.model.source.title)}}function Le(e,t){if(1&e&&(c.Ec(0,"span"),c.zd(1),c.Dc()),2&e){var n=c.Uc(5);c.jc(1),c.Ad(n.model.source.title)}}function Ne(e,t){if(1&e&&(c.Ec(0,"div",76),c.xd(1,ze,2,2,"a",77),c.xd(2,Le,2,1,"ng-template",null,78,c.yd),c.Dc()),2&e){var n=c.kd(3),i=c.Uc(4);c.jc(1),c.bd("ngIf",null!==i.model.source.url)("ngIfElse",n)}}function Re(e,t){if(1&e&&(c.Ec(0,"a",82),c.zd(1),c.Dc()),2&e){var n=t.$implicit;c.cd("href",n.searchLink,c.qd),c.jc(1),c.Bd(" #",n.keyword," ")}}function Fe(e,t){if(1&e&&(c.Ec(0,"div",80),c.xd(1,Re,2,2,"a",81),c.Dc()),2&e){var n=c.Uc(4);c.jc(1),c.bd("ngForOf",n.model.keywordsWithLinks)}}function Ve(e,t){if(1&e&&(c.Ec(0,"div",73),c.xd(1,Ne,4,2,"div",74),c.xd(2,Fe,2,1,"div",75),c.Dc()),2&e){var n=c.Uc(3);c.jc(1),c.bd("ngIf",null!==n.model.source.title),c.jc(1),c.bd("ngIf",n.model.keywordsWithLinks.length>0)}}function Ue(e,t){if(1&e&&c.zc(0,"app-article-author",83),2&e){var n=c.Uc(3);c.bd("model",n.model.author)}}function He(e,t){if(1&e&&(c.Ec(0,"div",84),c.zd(1),c.Dc()),2&e){var n=c.Uc(3);c.jc(1),c.Bd(" ",n.newsChannels.subscribePrompt," ")}}function Be(e,t){if(1&e&&(c.Ec(0,"div",85),c.zd(1),c.Dc()),2&e){var n=c.Uc(3);c.jc(1),c.Bd(" ",n.newsChannels.subscribePrompt," ")}}function qe(e,t){if(1&e&&(c.Ec(0,"a",91),c.zc(1,"img",92),c.Dc()),2&e){var n=c.Uc(4);c.bd("href",n.newsChannels.telegram,c.qd),c.jc(1),c.bd("lazyLoad","/dist-assets/images/news/telegram.svg")}}function $e(e,t){if(1&e&&(c.Ec(0,"a",93),c.zc(1,"img",94),c.Dc()),2&e){var n=c.Uc(4);c.bd("href",n.newsChannels.googleNews,c.qd),c.jc(1),c.bd("lazyLoad","/dist-assets/images/news/google_news.svg")}}function We(e,t){if(1&e&&(c.Ec(0,"a",95),c.zc(1,"img",96),c.Dc()),2&e){var n=c.Uc(4);c.bd("href",n.newsChannels.yandexNews,c.qd),c.jc(1),c.bd("lazyLoad","/dist-assets/images/news/yandex_news.svg")}}function Ge(e,t){if(1&e&&(c.Ec(0,"a",97),c.zc(1,"img",98),c.Dc()),2&e){var n=c.Uc(4);c.bd("href",n.newsChannels.yandexZen,c.qd),c.jc(1),c.bd("lazyLoad","/dist-assets/images/news/yandex_zen.svg")}}function Xe(e,t){if(1&e&&(c.Ec(0,"div",86),c.xd(1,qe,2,2,"a",87),c.xd(2,$e,2,2,"a",88),c.xd(3,We,2,2,"a",89),c.xd(4,Ge,2,2,"a",90),c.Dc()),2&e){var n=c.Uc(3);c.jc(1),c.bd("ngIf",n.newsChannels.hasTelegram),c.jc(1),c.bd("ngIf",n.newsChannels.googleNews),c.jc(1),c.bd("ngIf",n.newsChannels.yandexNews),c.jc(1),c.bd("ngIf",n.newsChannels.yandexZen)}}function Ze(e,t){if(1&e&&c.zc(0,"app-shared-single-special-theme",99),2&e){var n=c.Uc(3);c.bd("widget",n.inTextSpecialThemeWidget)}}function Ye(e,t){if(1&e&&(c.Ec(0,"div",100),c.zc(1,"app-comments",101),c.Dc()),2&e){var n=c.Uc(3);c.dd("id","comments-",n.model.id,""),c.jc(1),c.bd("models",n.model.commentsPreview)("pageId",n.model.id)("commentsCount",n.model.commentsCount)("isAllowComment",n.model.allowComment)("isAllowShowCommentsList",n.model.allowShowCommentsList)}}function Qe(e,t){if(1&e){var n=c.Fc();c.Ec(0,"div",2),c.Ec(1,"div",3),c.xd(2,ye,1,1,"app-card-label",4),c.xd(3,Ce,1,1,"app-article-author",5),c.Dc(),c.Ec(4,"div",6),c.Ec(5,"div",7),c.Ec(6,"div",8),c.xd(7,we,4,1,"svg",9),c.xd(8,ke,1,1,"ng-template",null,10,c.yd),c.Dc(),c.xd(10,Oe,4,2,"a",11),c.Cc(11,12),c.xd(12,Se,5,1,"div",13),c.xd(13,Pe,5,1,"div",14),c.xd(14,Ee,5,1,"div",15),c.xd(15,Me,5,1,"div",16),c.Bc(),c.xd(16,Ie,3,0,"div",17),c.Dc(),c.Ec(17,"div",18),c.Qc("errorSelected",(function(e){return c.nd(n),c.Uc(2).doReportContentError(e)})),c.Ec(18,"h1",null,19),c.zd(20),c.Dc(),c.xd(21,De,1,1,"app-card-label",20),c.Dc(),c.zc(22,"app-switch-news-language",21),c.Ec(23,"div",22),c.xd(24,Ae,4,7,"div",23),c.Ec(25,"app-model-content",24),c.Qc("errorSelected",(function(e){return c.nd(n),c.Uc(2).doReportContentError(e)})),c.Dc(),c.zc(26,"app-json-ld",25),c.Dc(),c.Ec(27,"div",26),c.zd(28,"report-content-error-prompt"),c.Dc(),c.xd(29,Te,2,2,"div",27),c.xd(30,Ve,3,2,"div",28),c.xd(31,Ue,1,1,"app-article-author",29),c.Ec(32,"app-model-ratings",30),c.Ec(33,"span",31),c.zd(34,"model-ratings-rate-news-prompt"),c.Dc(),c.Dc(),c.Ec(35,"div",32),c.xd(36,He,2,1,"div",33),c.Ec(37,"div",34),c.xd(38,Be,2,1,"div",35),c.Ec(39,"div",36),c.Ec(40,"div",37),c.Tc(),c.Ec(41,"svg",38),c.zc(42,"use",39),c.Dc(),c.Dc(),c.Sc(),c.Ec(43,"div",40),c.zc(44,"app-share-content-widget",41),c.Dc(),c.Dc(),c.xd(45,Xe,5,4,"div",42),c.Dc(),c.Dc(),c.xd(46,Ze,1,1,"app-shared-single-special-theme",43),c.xd(47,Ye,2,6,"div",44),c.Dc(),c.Dc()}if(2&e){var i=c.kd(9),r=c.Uc(2);c.jc(2),c.bd("ngIf",r.model.label),c.jc(1),c.bd("ngIf",null!==r.model.author),c.jc(4),c.bd("ngIf",r.model.useSvg)("ngIfElse",i),c.jc(3),c.bd("ngIf",r.model.allowComment&&r.model.commentsCount>0),c.jc(1),c.bd("ngSwitch",r.model.source.reliability),c.jc(1),c.bd("ngSwitchCase","reliable"),c.jc(1),c.bd("ngSwitchCase","needCheck"),c.jc(1),c.bd("ngSwitchCase","cantCheck"),c.jc(1),c.bd("ngSwitchCase","lie"),c.jc(1),c.bd("ngIf",r.model.isAgeLimited),c.jc(4),c.Ad(r.model.title),c.jc(1),c.bd("ngIf",r.model.label),c.jc(1),c.bd("model",r.model)("readInLabels",r.widget.readInLabels),c.jc(2),c.bd("ngIf",null==r.model.internalPoster?null:r.model.internalPoster.url),c.jc(1),c.cd("defaultName",r.model.title),c.bd("content",r.model.parsedContent)("canShowInTextBanner",r.canShowInTextBanner)("bannersInContentService",r.bannersInContentService),c.jc(1),c.bd("newsModel",r.model),c.jc(3),c.bd("ngIf",r.model.poll),c.jc(1),c.bd("ngIf",null!==r.model.source.title||r.model.keywordsWithLinks.length>0),c.jc(1),c.bd("ngIf",r.model.author),c.jc(1),c.bd("model",r.model.ratingsInfo)("modelId",r.model.id),c.jc(4),c.bd("ngIf",r.newsChannels.hasSubscribePrompt),c.jc(2),c.bd("ngIf",r.newsChannels.hasSubscribePrompt),c.jc(6),c.bd("shareUrl",r.model.url)("shareTitle",r.model.title),c.jc(1),c.bd("ngIf",r.newsChannels.hasNewsChannels),c.jc(1),c.bd("ngIf",r.model.actualSpecialThemes.length>0),c.jc(1),c.bd("ngIf",r.model.allowShowCommentsList)}}function Ke(e,t){if(1&e&&(c.Cc(0),c.xd(1,Qe,48,33,"div",1),c.Bc()),2&e){var n=c.Uc();c.jc(1),c.bd("ngIf",n.model)}}var Je,et=((Je=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c,u,d,h,f,p,g,v){var m;return _classCallCheck(this,n),(m=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,m.injector=i,m.routesService=r,m.newsService=a,m.googleTagManagerService=o,m.scrollSpy=s,m.locationService=c,m.titleService=u,m.routerService=d,m.element=h,m.translateService=f,m.demoLinkService=p,m.metaService=g,m.widgetFactory=v,m.isGooglePageViewSent=!1,m.getModel$=new l.a,m.onDestroy$=new l.a,m.pFakePublishDateItems=[],m.decrementUniqueKey=function(){},m.pBannersInContentService=i.get(U.i),m}return _createClass(n,[{key:"ngOnInit",value:function(){this.pNewsChannels=this.injector.get(Gt.a).pageMiscData.newsChannels,this.setUpBanners(),this.registerGetModelHandler(),this.reset()}},{key:"ngOnDestroy",value:function(){this.decrementUniqueKey(),this.onDestroy$.next(),this.unsubscribeScrollSpy(),this.metaService.removeTag("name='robots'"),this.metaService.removeTag("name='googlebot'")}},{key:"reset",value:function(){this.isLoaded$.next(!1),this.getModel$.next()}},{key:"doReportContentError",value:function(e){var t=this.routerService.serializeUrl(this.routerService.createUrlTree(this.routesService.buildNewsDetailPageRoute(this.model)));this.injector.get(U.bb).reportContentError(Object.assign(Object.assign({},e),{pageType:"news",userAgent:navigator.userAgent,pageUrl:"".concat(this.injector.get(ue.e).location.origin).concat(t)})).pipe(Object(he.a)(1)).subscribe()}},{key:"registerGetModelHandler",value:function(){var e=this;this.getModel$.asObservable().pipe(Object(I.a)(this.onDestroy$),Object(fe.a)((function(){return e.demoLinkService.isDemoLink$.pipe(Object(he.a)(1))})),Object(j.a)((function(t){e.isDemo=t})),Object(fe.a)((function(){return e.newsService.getNextNews(1,!0).pipe(Object(he.a)(1))}))).subscribe((function(t){e.isGooglePageViewSent=!1,e.model=void 0,e.pFakePublishDateItems=[],t.length>0?(e.model=t[0],e.model.useSvg&&(e.pFakePublishDateItems=e.model.friendlyPublishDate.join(", ").split("")),(e.model.isIndexingForbidden||e.isDemo)&&e.metaService.addTag({name:"robots",content:"noindex"}),e.isDemo&&e.metaService.addTag({name:"googlebot",content:"noindex"}),e.unsubscribeScrollSpy(),Object(de.a)(1).subscribe((function(){e.widget.useScrollSpy?e.subscription=e.scrollSpy.registerScrollSpy({element:e.scrollSpyAnchor.nativeElement,threshold:1}).pipe(Object(D.a)((function(e){return e}))).subscribe((function(){e.updatePageUrlAndTitle(e.model)}
1)):e.sendPageView(),1===e.incrementUniqueKey()&&e.element.nativeElement.dispatchEvent(Object(U.Db)())})),e.emitHasData()):e.emitEmptyData(),e.emitComponentLoaded()}))}},{key:"unsubscribeScrollSpy",value:function(){void 0!==this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}},{key:"updatePageUrlAndTitle",value:function(e){var t=this.routerService.parseUrl(this.locationService.path()),n=this.routerService.createUrlTree(this.routesService.buildNewsDetailPageRoute(e));t.root=new M.j(n.root.segments,n.root.children),this.locationService.isCurrentPathEqualTo(this.routerService.serializeUrl(t))||(this.titleService.setTitle(e.title),this.locationService.go(this.routerService.serializeUrl(n))),this.sendPageView()}},{key:"sendGoogleTagEvent",value:function(e){var t;(null===(t=e.author)||void 0===t?void 0:t.publicName.length)>0&&this.googleTagManagerService.pushDataLayer({Author:e.author.publicName})}},{key:"incrementUniqueKey",value:function(){var e=Object(U.Lb)("newsDetailLoaded");return this.decrementUniqueKey=function(){Object(U.Ib)("newsDetailLoaded")},e}},{key:"setUpBanners",value:function(){var e=this.injector.get(U.t).isMobile,t=e?"forMobile":"forDesktop";if(t!==n.isBannersInContentConfigured){var i="after"===this.widget.placementOfStretchingInNewsText;this.pBannersInContentService.setUp([new U.h("news",e?"banner-place-in-text-mobile":"banner-place-in-text",i?5:4,i?0:1,0,i),new U.h("news",e?"Web mobile 5":"Stretching 5",i?5:4,i?0:1,2,i)]),n.isBannersInContentConfigured=t}}},{key:"sendPageView",value:function(){this.isGooglePageViewSent||(this.googleTagManagerService.sendPageView(),this.isGooglePageViewSent=!0)}},{key:"pollWidget",get:function(){return void 0===this.pPollWidget&&(this.pPollWidget=this.widgetFactory.buildPoll(1,2,"doNothing",void 0,this.translateService.instant("poll-widget-label"),this.translateService.instant("poll-widget-results-label"),this.translateService.instant("poll-widget-vote-label"),void 0)),this.pPollWidget}},{key:"inTextSpecialThemeWidget",get:function(){return void 0===this.pInTextSpecialThemeWidget&&(this.pInTextSpecialThemeWidget=new L.d(this.widget.width,2,"doNothing",this.model.actualSpecialThemes[0].id,this.translateService.instant("special-theme-widget-label"),this.translateService.instant("special-theme-widget-show-more-label"),!0,3)),this.pInTextSpecialThemeWidget}},{key:"canShowInTextBanner",get:function(){var e;return!1===this.isDemo&&!1===(null===(e=this.model)||void 0===e?void 0:e.isCommercial)}},{key:"bannersInContentService",get:function(){return this.pBannersInContentService}},{key:"newsChannels",get:function(){return this.pNewsChannels}},{key:"fakePublishDateItems",get:function(){return this.pFakePublishDateItems}},{key:"dateTextElement",set:function(e){void 0!==e&&(e.nativeElement.ownerSVGElement.style.width=e.nativeElement.getBoundingClientRect().width+"px")}}]),n}(i.j)).isBannersInContentConfigured=void 0,Je.\u0275fac=function(e){return new(e||Je)(c.yc(i.A,8),c.yc(c.w),c.yc(U.fb),c.yc(T.m),c.yc(U.w),c.yc(pe.d),c.yc(ue.o),c.yc(ge.h),c.yc(M.d),c.yc(c.q),c.yc(ve.e),c.yc(U.s),c.yc(ge.g),c.yc(i.O))},Je.\u0275cmp=c.sc({type:Je,selectors:[["app-news-detail-view"]],viewQuery:function(e,t){var n;1&e&&(c.Dd(me,!0,c.q),c.Dd(be,!0,c.q)),2&e&&(c.jd(n=c.Rc())&&(t.scrollSpyAnchor=n.first),c.jd(n=c.Rc())&&(t.dateTextElement=n.first))},features:[c.ic([{provide:L.b,useExisting:Object(c.cb)((function(){return Ut}))}]),c.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","row mb-4",4,"ngIf"],[1,"row","mb-4"],[1,"col-12","col-lg-3"],["className","card-label mb-4 d-none d-lg-inline-block",3,"title",4,"ngIf"],["class","d-none d-lg-block",3,"model",4,"ngIf"],[1,"col-12","col-lg-9"],[1,"article-details__head-info"],[1,"article-details__date"],["xmlns","http://www.w3.org/2000/svg",4,"ngIf","ngIfElse"],["realPublishDate",""],["class","article-details__comments","appScrollToAnchors","",3,"href",4,"ngIf"],[3,"ngSwitch"],["class","article-details__status article-details__status--reliable",4,"ngSwitchCase"],["class","article-details__status article-details__status--need-check",4,"ngSwitchCase"],["class","article-details__status article-details__status--cant-check",4,"ngSwitchCase"],["class","article-details__status article-details__status--lie",4,"ngSwitchCase"],["class","article-details__status article-details__status--adult",4,"ngIf"],["appReportContentError","",1,"article-details__title-container",3,"errorSelected"],["scrollSpyTitle",""],["className","card-label d-inline-block d-lg-none",3,"title",4,"ngIf"],[3,"model","readInLabels"],[1,"article-details__text"],["class","article-details__poster-container",4,"ngIf"],["appReportContentError","","appRunScripts","","appScrollToAnchors","",3,"content","canShowInTextBanner","bannersInContentService","defaultName","errorSelected"],[3,"newsModel"],["translate","",1,"article-details__report_error"],["class","article-details__voting",4,"ngIf"],["class","article-details-info",4,"ngIf"],["class","d-lg-none",3,"model",4,"ngIf"],[3,"model","modelId"],["data-rate-model-prompt","","translate",""],[1,"social-media-block"],["class","social-media-block__title d-none d-lg-flex",4,"ngIf"],[1,"social-media-block__share"],["class","social-media-block__share--title d-lg-none d-flex",4,"ngIf"],[1,"social-media-block__share--share-buttons"],[1,"icon"],["width","30","height","30"],[0,"xlink","href","#icon-share"],[1,"buttons"],[3,"shareUrl","shareTitle"],["class","social-media-block__share--subscribe-buttons",4,"ngIf"],["class","height-auto",3,"widget",4,"ngIf"],["class","col-12 mt-5",3,"id",4,"ngIf"],["className","card-label mb-4 d-none d-lg-inline-block",3,"title"],[1,"d-none","d-lg-block",3,"model"],["xmlns","http://www.w3.org/2000/svg"],["y","1em"],["dateText",""],[4,"ngFor","ngForOf"],["appScrollToAnchors","",1,"article-details__comments",3,"href"],["width","20","height","20"],[0,"xlink","href","#icon-comment"],[4,"ngIf"],[1,"article-details__status","article-details__status--reliable"],[0,"xlink","href","#icon-check-mark"],[1,"article-details__status","article-details__status--need-check"],[0,"xlink","href","#icon-error-triangle"],[1,"article-details__status","article-details__status--cant-check"],[0,"xlink","href","#icon-lock"],[1,"article-details__status","article-details__status--lie"],[0,"xlink","href","#icon-hat"],[1,"article-details__status","article-details__status--adult"],[0,"xlink","href","#icon-adult"],["className","card-label d-inline-block d-lg-none",3,"title"],[1,"article-details__poster-container"],["src","/dist-assets/images/cap.jpg","appImageAltAndTitle","",3,"lazyLoad","defaultName","description","useImageIndex","alt","title"],["generator","imageAltAndTitle"],["class","article-details__poster-description",4,"ngIf"],[1,"article-details__poster-description"],[1,"article-details__voting"],[3,"model","widget"],[1,"article-details-info"],["class","article-details-info__source",4,"ngIf"],["class","article-details-info__tags",4,"ngIf"],[1,"article-details-info__source"],["target","_blank","rel","nofollow noreferrer noopener",3,"href",4,"ngIf","ngIfElse"],["onlySourceTitle",""],["target","_blank","rel","nofollow noreferrer noopener",3,"href"],[1,"article-details-info__tags"],[3,"href",4,"ngFor","ngForOf"],[3,"href"],[1,"d-lg-none",3,"model"],[1,"social-media-block__title","d-none","d-lg-flex"],[1,"social-media-block__share--title","d-lg-none","d-flex"],[1,"social-media-block__share--subscribe-buttons"],["target","_blank","rel","nofollow","class","telegram",3,"href",4,"ngIf"],["target","_blank","rel","nofollow","class","google-news",3,"href",4,"ngIf"],["target","_blank","rel","nofollow","class","yandex-news",3,"href",4,"ngIf"],["target","_blank","rel","nofollow","class","yandex-zen",3,"href",4,"ngIf"],["target","_blank","rel","nofollow",1,"telegram",3,"href"],["src","/dist-assets/images/cap.jpg","alt","Telegram",3,"lazyLoad"],["target","_blank","rel","nofollow",1,"google-news",3,"href"],["src","/dist-assets/images/cap.jpg","alt","Google News",3,"lazyLoad"],["target","_blank","rel","nofollow",1,"yandex-news",3,"href"],["src","/dist-assets/images/cap.jpg","alt","Yandex News",3,"lazyLoad"],["target","_blank","rel","nofollow",1,"yandex-zen",3,"href"],["src","/dist-assets/images/cap.jpg","alt","Yandex Zen",3,"lazyLoad"],[1,"height-auto",3,"widget"],[1,"col-12","mt-5",3,"id"],[3,"models","pageId","commentsCount","
1isAllowComment","isAllowShowCommentsList"]],template:function(e,t){1&e&&(c.xd(0,Ke,2,1,"ng-container",0),c.Vc(1,"async")),2&e&&c.bd("appLoadingPlaceholder",c.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:[".text-dotted[_ngcontent-%COMP%]{text-decoration:none;border-bottom:1px dotted}.text-dotted.active[_ngcontent-%COMP%], .text-dotted[_ngcontent-%COMP%]:hover{border-color:transparent}.article-details[_ngcontent-%COMP%]{margin-top:40px}.article-details__head-info[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:16px;font-size:15px}.article-details__date[_ngcontent-%COMP%]{color:#323232}.article-details__date[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:1lh}.article-details__date[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]   text[_ngcontent-%COMP%]{display:inline-block;fill:#323232}.article-details__comments[_ngcontent-%COMP%]{margin-left:6px}.article-details__comments[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;margin-right:4px;fill:var(--green-primary)}.article-details__comments[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}.article-details__status[_ngcontent-%COMP%]{margin-left:6px}.article-details__status[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px}.article-details__status[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:6px;vertical-align:middle}.article-details__status--reliable[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var(--green-primary)}.article-details__status--need-check[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#00afe1}.article-details__status--adult[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%], .article-details__status--cant-check[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#e74c3c}.article-details__status--lie[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#fb661c}.article-details__restriction[_ngcontent-%COMP%]{display:block;width:21px;height:21px;line-height:21px;text-align:center;border-radius:50%;background-color:#e74c3c;font-size:12px;font-weight:700;color:#fff}.article-details__title-container[_ngcontent-%COMP%]{margin-bottom:32px}.article-details__title-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{vertical-align:middle;margin-left:6px}.article-details__title-container[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{display:inline;font-size:32px}@media (min-width:1024px){.article-details__title-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-left:0}}.article-details__text[_ngcontent-%COMP%]{font-size:24px;line-height:1.35;word-break:break-word}.article-details-info[_ngcontent-%COMP%]{margin-top:32px;font-size:16px}.article-details-info__source[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .article-details-info__source[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;line-height:1.4;margin-bottom:10px;word-break:break-word}.article-details-info__source[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-transform:uppercase;text-decoration:underline}.article-details-info__source[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.article-details-info__tags[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;color:#5680a6}.article-details-info__tags[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(:last-of-type){margin-right:12px}.article-details__voting[_ngcontent-%COMP%]{max-width:100%;padding:0 10px}.article-details__poster-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.article-details__poster-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block}.article-details__poster-description[_ngcontent-%COMP%]{font-size:14px;text-align:center}.article-details__report_error[_ngcontent-%COMP%]{padding-top:10px;font-size:11px;color:rgba(50,50,50,.35)}@media (min-width:1024px){.article-details__title-container[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:48px}.article-details__text[_ngcontent-%COMP%]{font-size:18px}.article-details__voting[_ngcontent-%COMP%]{margin:0 auto;max-width:520px}}.social-media-block[_ngcontent-%COMP%]{margin-top:20px}.social-media-block__title[_ngcontent-%COMP%]{padding:0 0 10px 5px}.social-media-block__share[_ngcontent-%COMP%]{width:100%;padding:20px 30px;border:1px solid rgba(50,50,50,.15);border-radius:10px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.social-media-block__share--title[_ngcontent-%COMP%]{width:100%;padding-bottom:10px}.social-media-block__share--share-buttons[_ngcontent-%COMP%]{display:flex;margin-right:auto;align-items:center}.social-media-block__share--share-buttons[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{padding-right:20px}.social-media-block__share--share-buttons[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var
1(--green-primary)}.social-media-block__share--share-buttons[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{border-left:1px solid rgba(50,50,50,.15)}.social-media-block__share--subscribe-buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-left:auto}.social-media-block__share--subscribe-buttons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin:5px auto;padding:0!important}.social-media-block__share--subscribe-buttons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]:not(.telegram > img)[_ngcontent-%COMP%]{width:144px;height:40px}.social-media-block__share--subscribe-buttons[_ngcontent-%COMP%]   .telegram[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:134px}"]}),Je);function tt(e,t){if(1&e&&(c.Ec(0,"div",2),c.zc(1,"div",3),c.Ec(2,"div",4),c.zc(3,"app-card-label",5),c.Dc(),c.Ec(4,"div",6),c.Ec(5,"div",7),c.Ec(6,"a",8),c.zd(7),c.Dc(),c.Dc(),c.Ec(8,"div",9),c.Ec(9,"a",10),c.zd(10),c.Dc(),c.Dc(),c.Dc(),c.Dc()),2&e){var n=c.Uc(2);c.jc(1),c.bd("lazyLoad",n.model.posterUrl?n.model.posterUrl:null),c.jc(2),c.cd("title",n.widget.label),c.jc(3),c.cd("href",n.model.url,c.qd),c.jc(1),c.Ad(n.model.title),c.jc(2),c.cd("href",n.model.url,c.qd),c.jc(1),c.Ad(n.widget.showMoreLabel)}}function nt(e,t){if(1&e&&(c.Cc(0),c.xd(1,tt,11,6,"div",1),c.Bc()),2&e){var n=c.Uc();c.jc(1),c.bd("ngIf",n.model)}}var it,rt=((it=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(L.e)).\u0275fac=function(e){return at(e||it)},it.\u0275cmp=c.sc({type:it,selectors:[["app-single-special-theme"]],features:[c.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],["class","mini-special-theme",4,"ngIf"],[1,"mini-special-theme"],[1,"mini-special-theme__poster",3,"lazyLoad"],[1,"mini-special-theme__subinfo"],["className","card-label d-inline-block",3,"title"],[1,"mini-special-theme__content"],[1,"mini-special-theme__title"],[3,"href"],[1,"mini-special-theme__btn-wrapper"],[1,"btn","btn--primary","btn--block",3,"href"]],template:function(e,t){1&e&&(c.xd(0,nt,2,1,"ng-container",0),c.Vc(1,"async")),2&e&&c.bd("appLoadingPlaceholder",c.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:['.mini-special-theme[_ngcontent-%COMP%]{position:relative;padding-bottom:93%;margin-bottom:32px;overflow:hidden}.mini-special-theme__poster[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background-position:50%;background-size:cover}.mini-special-theme__poster[_ngcontent-%COMP%]:before{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-color:rgba(0,0,0,.15)}.mini-special-theme__subinfo[_ngcontent-%COMP%]{position:absolute;top:12px;left:0}.mini-special-theme__content[_ngcontent-%COMP%]{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;padding:40px 16px 24px}.mini-special-theme__title[_ngcontent-%COMP%]{margin:auto 0;font-size:40px;font-weight:700;color:#fff}.mini-special-theme__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}']}),it),at=c.Gc(rt);function ot(e,t){if(1&e&&(c.Ec(0,"div",8),c.zd(1),c.Dc()),2&e){var n=c.Uc().$implicit;c.jc(1),c.Ad(n.label)}}function st(e,t){if(1&e&&(c.Tc(),c.Sc(),c.Ec(0,"span"),c.zd(1),c.Vc(2,"number"),c.Dc()),2&e){var n=c.Uc(2).$implicit;c.jc(1),c.Ad(c.Wc(2,1,n.commentsCount))}}function ct(e,t){if(1&e&&(c.Ec(0,"div",9),c.Ec(1,"a",10),c.Tc(),c.Ec(2,"svg",11),c.zc(3,"use",12),c.Dc(),c.xd(4,st,3,3,"span",1),c.Dc(),c.Dc()),2&e){var n=c.Uc().$implicit;c.jc(1),c.dd("fragment","comments-",n.id,""),c.bd("appNewsUrl",n),c.jc(3),c.bd("ngIf",n.commentsCount>0)}}function lt(e,t){if(1&e&&(c.Ec(0,"div",4),c.Ec(1,"a",5),c.zd(2),c.Dc(),c.xd(3,ot,2,1,"div",6),c.xd(4,ct,5,3,"div",7),c.Dc()),2&e){var n=t.$implicit;c.jc(1),c.cd("title",n.title),c.bd("appNewsUrl",n),c.jc(1),c.Ad(n.title),c.jc(1),c.bd("ngIf",n.label.length>0),c.jc(1),c.bd("ngIf",n.allowComment&&n.commentsCount>0)}}function ut(e,t){if(1&e&&(c.Ec(0,"div"),c.zc(1,"app-card-label",2),c.xd(2,lt,5,5,"div",3),c.Dc()),2&e){var n=c.Uc(2);c.jc(1),c.cd("title",n.widget.label),c.jc(1),c.bd("ngForOf",n.models)}}function dt(e,t){if(1&e&&(c.Cc(0),c.xd(1,ut,3,2,"div",1),c.Bc()),2&e){var n=c.Uc();c.jc(1),c.bd("ngIf",null==n.models?null:n.models.length)}}var ht,ft=((ht=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(T.A)).\u0275fac=function(e){return pt(e||ht)},ht.\u0275cmp=c.sc({type:ht,selectors:[["app-week-top-news"]],features:[c.gc],decls:2,vars:5,consts:[[4,"appLoadingPlaceholder","a
1ppLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[4,"ngIf"],["className","card-label d-inline-block mb-4",3,"title"],["class","side-top-article",4,"ngFor","ngForOf"],[1,"side-top-article"],[1,"side-top-article__title",3,"appNewsUrl","title"],["class","side-top-article--toaster",4,"ngIf"],["class","card-actions",4,"ngIf"],[1,"side-top-article--toaster"],[1,"card-actions"],[1,"card-actions__item",3,"appNewsUrl","fragment"],["width","20","height","20"],[0,"xlink","href","#icon-comment"]],template:function(e,t){1&e&&(c.xd(0,dt,2,1,"ng-container",0),c.Vc(1,"async")),2&e&&c.bd("appLoadingPlaceholder",c.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:[".card-actions[_ngcontent-%COMP%]{display:flex;margin-left:20px}.card-actions__item[_ngcontent-%COMP%]{color:inherit}.card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;fill:var(--green-primary)}.card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:4px;vertical-align:middle;color:inherit}.side-top-article[_ngcontent-%COMP%]{margin-bottom:32px;padding:0 16px}.side-top-article--toaster[_ngcontent-%COMP%]{width:-webkit-fit-content;width:fit-content;width:-moz-fit-content;border:1px solid var(--green-primary);padding:2px 6px 1px;margin-right:4px;margin-top:6px;color:var(--green-primary);font-size:14px;position:relative;top:-2px;line-height:14px;text-transform:uppercase}.side-top-article__title[_ngcontent-%COMP%]{vertical-align:sub;font-size:28px}.side-top-article__title[_ngcontent-%COMP%]:hover{text-decoration:underline}.side-top-article[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:inline-flex;margin-left:0}.side-top-article[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var(--green-primary)}.side-top-article[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}"]}),ht),pt=c.Gc(ft),gt=n("jtHE"),vt=n("itXk");function mt(e,t){if(1&e&&(c.Ec(0,"a",3),c.zd(1),c.Dc()),2&e){var n=t.$implicit;c.bd("href",n.url,c.qd),c.jc(1),c.Bd(" ",n.label," ")}}function bt(e,t){if(1&e&&(c.Ec(0,"div",1),c.xd(1,mt,2,2,"a",2),c.Dc()),2&e){var n=c.Uc();c.jc(1),c.bd("ngForOf",n.languageItems)}}var yt,Ct,_t,wt,kt,xt,Ot,St,Pt,Et,Mt,It,Dt,jt=((yt=function(){function e(t,n,i){_classCallCheck(this,e),this.router=t,this.routesService=n,this.languagesManagerService=i,this.readInLabels=new Map,this.languageItems=[],this.availableReadInData$=new gt.a(1),this.onDestroy$=new l.a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;Object(vt.a)([this.languagesManagerService.appLanguage$,this.availableReadInData$.asObservable()]).pipe(Object(I.a)(this.onDestroy$),Object(j.a)((function(t){var n=_slicedToArray2(t,2),i=n[0],r=n[1];e.languageItems=_toConsumableArray2(r.keys()).filter((function(e){return e!==i})).map((function(t){var n=e.routesService.buildNewsDetailPageRoute({id:e.model.id,slug:r.get(t)},t);return{label:e.readInLabels.get(t),url:e.router.serializeUrl(e.router.createUrlTree(n))}}))}))).subscribe()}},{key:"ngOnChanges",value:function(e){var t=this;if(void 0!==e.model||void 0!==e.readInLabels){var n=new Map;this.model.publishedI18nData.forEach((function(e,i){t.readInLabels.has(i)&&n.set(i,e.slug)})),this.availableReadInData$.next(n)}}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}}]),e}()).\u0275fac=function(e){return new(e||yt)(c.yc(M.d),c.yc(U.fb),c.yc(U.C))},yt.\u0275cmp=c.sc({type:yt,selectors:[["app-switch-news-language"]],inputs:{model:"model",readInLabels:"readInLabels"},features:[c.hc],decls:1,vars:1,consts:[["class","switch-news-language",4,"ngIf"],[1,"switch-news-language"],["class","switch-news-language--btn btn btn--outline-black btn--sm",3,"href",4,"ngFor","ngForOf"],[1,"switch-news-language--btn","btn","btn--outline-black","btn--sm",3,"href"]],template:function(e,t){1&e&&c.xd(0,bt,2,1,"div",0),2&e&&c.bd("ngIf",t.languageItems.length>0)},directives:[ue.u,ue.t],styles:[".switch-news-language[_ngcontent-%COMP%]{margin-bottom:15px}.switch-news-language--btn[_ngcontent-%COMP%]{margin-right:10px}"]}),yt),At=n("lJxs"),Tt=n("CqXF"),zt=n("UXun"),Lt=n("Muja"),Nt=((Ot=function(){function e(t,n){_classCallCheck(this,e),this.layoutService=t,this.apiAds=n,this.teaserAds=[],this.actualTeaserAdsIndex=-1,this.isPrepareInProgress=!1,this.oldLayoutData=null}return _createClass(e,[{key:"reset",value:function(){var e=this;this.layoutService.parseAdsLayout().pipe(Object(he.a)(1)).subscribe((function(t){void 0!==e.prepareObservable&&Object(Lt.a)(e.oldLayoutData,t)||(e.prepareObservable=void 0,e.oldLayoutData=t),e.actualTeaserAdsIndex=0}))}},{key:"getNextTeaserAds",value:function(e){var t=this;return this.prepare().pipe(Object(At.a)((function(){return t.internalGetNextTeaserAds(e)})))}},{key:"internalGetNextTeaserAds",value:function(e){if(this.actualTeaserAdsIndex>=this.teaserAds.length)return null;var t=this.teaserAds.slice(this.actualTeaserAdsIndex,this.actualTeaserAdsIndex+e);return this.actualTeaserAdsIndex+=t.length,t}},{key:"prepare",value:function(){var e=this;return void 0===this.prepareObservable&&(this.isPrepareInProgress=!0,this.prepareObservable=this.layoutService.parseAdsLayout().pipe(Object(he.a)(1),Object(fe.a)((function(t){return e.apiAds.requestAds(t).pipe(Object(j.a)((function(t){t.teaserAds&&(e.teaserAds=t.teaserAds,e.actualTeaserAdsIndex=0)})))})),Object(j.a)((function(){e.isPrepareInProgress=!1})),Object(Tt.a)(!0),Object(zt.a)(1),Object(he.a)(1))),this.prepareObservable}}]),e}()).\u0275fac=function(e){return new(e||Ot)(c.Mc(Ht),c.Mc(A.c))},Ot.\u0275prov=c.uc({token:Ot,factory:Ot.\u0275fac,providedIn:"root"}),Ot),Rt=((xt=function(){function e(t){_classCallCheck(this,e),this.pageMetaService=t}return _createClass(e,[{key:"getSettings",value:function(){return this.pageMetaService.pageMiscData}}]),e}()).\u0275fac=function(e){return new(e||xt)(c.Mc(Gt.a))},xt.\u0275prov=c.uc({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt),Ft=((kt=function(){function e(t,n){_classCallCheck(this,e),this.layoutService=t,this.apiCompanies=n,this.topCompanies=[],this.actualTopCompaniesIndex=-1,this.isPrepareInProgress=!1,this.oldLayoutData=null}return _createClass(e,[{key:"reset",value:function(){var e=this;this.layoutService.parseCompaniesLayout().pipe(Object(he.a)(1)).subscribe((function(t){void 0!==e.prepareObservable&&Object(Lt.a)(e.oldLayoutData,t)||(e.prepareObservable=void 0,e.oldLayoutData=t),e.actualTopCompaniesIndex=0}))}},{key:"getNextTopCompanies",value:function(e){var t=this;return this.prepare().pipe(Object(At.a)((function(){return t.internalGetNextTopCompanies(e)})))}},{key:"internalGetNextTopCompanies",value:function(e){if(this.actualTopCompaniesIndex>
1=this.topCompanies.length)return null;var t=this.topCompanies.slice(this.actualTopCompaniesIndex,this.actualTopCompaniesIndex+e);return this.actualTopCompaniesIndex+=t.length,t}},{key:"prepare",value:function(){var e=this;return void 0===this.prepareObservable&&(this.isPrepareInProgress=!0,this.prepareObservable=this.layoutService.parseCompaniesLayout().pipe(Object(he.a)(1),Object(fe.a)((function(t){return e.apiCompanies.doCompoundRequest(t).pipe(Object(j.a)((function(t){t.topCompanies&&(e.topCompanies=t.topCompanies,e.actualTopCompaniesIndex=0)})))})),Object(j.a)((function(){e.isPrepareInProgress=!1})),Object(Tt.a)(!0),Object(zt.a)(1),Object(he.a)(1))),this.prepareObservable}}]),e}()).\u0275fac=function(e){return new(e||kt)(c.Mc(Ht),c.Mc(z.a))},kt.\u0275prov=c.uc({token:kt,factory:kt.\u0275fac,providedIn:"root"}),kt),Vt=((wt=function(){function e(t,n){_classCallCheck(this,e),this.layoutService=t,this.apiService=n,this.simpleItems=[],this.actualSimpleItemsIndex=-1,this.selectedItems=new Map,this.isPrepareInProgress=!1,this.oldLayoutData=null}return _createClass(e,[{key:"reset",value:function(){var e=this;this.layoutService.parseCurrencyInformersLayout().pipe(Object(he.a)(1)).subscribe((function(t){void 0!==e.prepareObservable&&Object(Lt.a)(e.oldLayoutData,t)||(e.prepareObservable=void 0,e.oldLayoutData=t),e.actualSimpleItemsIndex=0}))}},{key:"getNextCurrencyInformers",value:function(e){var t=this;return this.prepare().pipe(Object(At.a)((function(){if(t.actualSimpleItemsIndex>=t.simpleItems.length)return null;var n=t.simpleItems.slice(t.actualSimpleItemsIndex,t.actualSimpleItemsIndex+e);return t.actualSimpleItemsIndex+=n.length,n})))}},{key:"getSelectedCurrencyInformer",value:function(e){var t=this;return this.prepare().pipe(Object(At.a)((function(){return t.selectedItems.has(e)?t.selectedItems.get(e):null})))}},{key:"prepare",value:function(){var e=this;return void 0===this.prepareObservable&&(this.isPrepareInProgress=!0,this.prepareObservable=this.layoutService.parseCurrencyInformersLayout().pipe(Object(he.a)(1),Object(fe.a)((function(t){return e.apiService.doCompoundRequest(t).pipe(Object(j.a)((function(t){t.items&&(e.simpleItems=Object(U.Ob)(t.items)?t.items.models:t.items,e.actualSimpleItemsIndex=0),t.selectedItems&&(e.selectedItems.clear(),Object.keys(t.selectedItems).forEach((function(n){e.selectedItems.set(Number(n),t.selectedItems[n])})))})))})),Object(j.a)((function(){e.isPrepareInProgress=!1})),Object(Tt.a)(!0),Object(zt.a)(1),Object(he.a)(1))),this.prepareObservable}}]),e}()).\u0275fac=function(e){return new(e||wt)(c.Mc(Ht),c.Mc(V.a))},wt.\u0275prov=c.uc({token:wt,factory:wt.\u0275fac,providedIn:"root"}),wt),Ut=((_t=function(){function e(t){_classCallCheck(this,e),this.apiService=t}return _createClass(e,[{key:"getSelectedSpecialTheme",value:function(e){var t,n=(_defineProperty2(t={},U.r,["title","description","url","posterUrl","hasMoreNews"]),_defineProperty2(t,"news",["title","rectanglePosterUrl"]),t),i={template:"selectedSpecialThemes",filter:{selectedIds:[e],newsLimit:3},fields:Object(U.Fb)(n).join()};return this.apiService.doSimpleRequest(i).pipe(Object(At.a)((function(t){if(Array.isArray(t)&&0===t.length&&(t={}),Object(U.Ob)(t)||Array.isArray(t))throw new Error("Wrong result type for request");return t.hasOwnProperty(e)?t[e]:null})))}}]),e}()).\u0275fac=function(e){return new(e||_t)(c.Mc(L.a))},_t.\u0275prov=c.uc({token:_t,factory:_t.\u0275fac,providedIn:"root"}),_t),Ht=((Ct=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i,r,a)).deviceState=e,o.apiLayoutService=i,o.cardsFactory=r,o.widgetsFactory=a,o}return _createClass(n,[{key:"parseNewsLayout",value:function(){return this.getActualLayout().pipe(Object(At.a)((function(e){var t={simpleNews:{count:0,nonCommercialCount:0,fields:["title","friendlyPublishDate","commentsUrl","commentsCount","cardPosterUrl","rectanglePosterUrl","hasPictures","hasVideo","allowComment"]},weekTopNews:{count:0,fields:["title","commentsUrl","allowComment","commentsCount"]}};return e.sections.forEach((function(e){e.blocks.forEach((function(e){e.widgets.forEac
1h((function(e){switch(e.type){case i.R.LastNewsFeed:t.simpleNews.count+=e.newsCount;break;case i.R.WeekTopNews:t.weekTopNews.count+=e.itemsCount}}))}))})),t})))}},{key:"parseSpecialThemesLayout",value:function(){return this.getActualLayout().pipe(Object(At.a)((function(e){var t=["title","url","posterUrl"],n={simpleSpecialThemes:{count:0,newsLimit:0,fields:t},selectedSpecialThemes:{selectedIds:[],newsLimit:0,fields:t}};return e.sections.forEach((function(e){e.blocks.forEach((function(e){e.widgets.forEach((function(e){switch(e.type){case i.R.SingleSpecialTheme:var t=e;null!==t.id?(n.selectedSpecialThemes.selectedIds.push(t.id),t.showNewsPreview&&(n.selectedSpecialThemes.newsLimit=Math.max(n.selectedSpecialThemes.newsLimit,t.newsPreviewCount))):(++n.simpleSpecialThemes.count,t.showNewsPreview&&(n.simpleSpecialThemes.newsLimit=Math.max(n.simpleSpecialThemes.newsLimit,t.newsPreviewCount)))}}))}))})),n})))}},{key:"parseAdsLayout",value:function(){return this.getActualLayout().pipe(Object(At.a)((function(e){var t={teaserAds:{count:0}};return e.sections.forEach((function(e){e.blocks.forEach((function(e){e.widgets.forEach((function(e){switch(e.type){case i.R.AdsTeaser:t.teaserAds.count+=e.itemsCount}}))}))})),t})))}},{key:"parseCompaniesLayout",value:function(){return this.getActualLayout().pipe(Object(At.a)((function(e){var t={topCompanies:{count:0}};return e.sections.forEach((function(e){e.blocks.forEach((function(e){e.widgets.forEach((function(e){switch(e.type){case i.R.TopCompanies:t.topCompanies.count+=e.itemsCount,t.topCompanies.fields=["title","iconsSet","mainUrl","firstAddress.phones","previousViewsCount"]}}))}))})),t})))}},{key:"parseCurrencyInformersLayout",value:function(){return this.getActualLayout().pipe(Object(At.a)((function(e){var t={currencyInformers:{count:0,exceptForHomePage:!0,fields:["widget"]},selectedCurrencyInformers:{selectedIds:[],fields:["widget"]}};return e.sections.forEach((function(e){e.blocks.forEach((function(e){e.widgets.forEach((function(e){!function e(n){switch(n.type){case i.R.WidgetContainer:n.widgets.forEach(e);break;case i.R.CurrencyInformer:var r=n;null!==r.id?t.selectedCurrencyInformers.selectedIds.push(r.id):t.currencyInformers.count+=r.width*r.height}}(e)}))}))})),t})))}},{key:"getPageId",value:function(){return"newsDetailPage"}}]),n}(i.h)).\u0275fac=function(e){return new(e||Ct)(c.Mc(U.t),c.Mc(i.a),c.Mc(rn),c.Mc(on))},Ct.\u0275prov=c.uc({token:Ct,factory:Ct.\u0275fac,providedIn:"root"}),Ct),Bt=n("2Vo4"),qt=n("bOdf"),$t=n("dhcM"),Wt=((St=function(){function e(t,n,i){var r,a,o;_classCallCheck(this,e),this.layoutService=t,this.apiNews=n,this.activatedRoute=i,this.simpleNews=[],this.actualSimpleNewsIndex=-1,this.pHasMoreNews=new Bt.a(null),this.weekTopNews=[],this.actualWeekTopNewsIndex=-1,this.isPrepareInProgress=!1,this.oldLayoutData=null,this.rootNewsId=null,this.rootNewsPublishDate=null,this.queue=[],this.contentNewsFields=(_defineProperty2(a={},U.r,["title","friendlyPublishDate","source","isAgeLimited","isIndexingForbidden","commentsCount","keywordsWithLinks","internalPoster","parsedContent","ratingsInfo","allowShowCommentsList","allowComment","actualSpecialThemes","useSvg"]),_defineProperty2(a,"author",["publicName","publicPost","authorUrl","avatarUrl"]),_defineProperty2(a,"poll",(_defineProperty2(r={},U.r,["question","url","votesCount","userVote","canUserVote","isActive"]),_defineProperty2(r,"answers",["answer","votesCount"]),r)),_defineProperty2(a,"commentsPreview",["userName","isAnonymous","isModerated","likesCount","dislikesCount","content","friendlyPublishDate","avatarUrl","isUserLiked","isUserDisliked"]),_defineProperty2(a,"publishedI18nData",["slug"]),a),this.simpleNewsFields=(_defineProperty2(o={},U.r,["title","friendlyPublishDate","source","isAgeLimited","commentsCount","keywordsWithLinks"]),_defineProperty2(o,"author",["publicName","publicPost","authorUrl","avatarUrl"]),o)}return _createClass(e,[{key:"reset",value:function(){var e=this;this.layoutService.parseNewsLayout().pipe(Object(he.a)(1)).subscribe((function(t){void 0!==e.prepareObservable&&Object(Lt.a)(e.oldLayoutData,t)||(e.prepareObservable=void 0,e.oldLayoutData=t),e.actualSimpleNewsIndex=0,e.actualWeekTopNewsIndex=0,e.resetDetailVie
1w()}))}},{key:"resetDetailView",value:function(){this.rootNewsId=null,this.rootNewsPublishDate=null,this.queue=[],this.actualPage=1}},{key:"getNextSimpleNews",value:function(e,t){var n=this;return this.prepare().pipe(Object(At.a)((function(){return n.internalGetNextSimpleNews(e)})))}},{key:"getNextWeekTopNews",value:function(e){var t=this;return this.prepare().pipe(Object(At.a)((function(){return t.internalGetNextWeekTopNews(e)})))}},{key:"getPage",value:function(e,t){var n=this,i=function(){var i={template:"default",filter:{tillTime:n.rootNewsPublishDate,excludedIds:[n.rootNewsId],offset:Math.max(n.actualPage-1,0),count:e*t*2},expand:Object(U.Fb)(["title","friendlyPublishDate","commentsCount","hasPictures","hasVideo","rectanglePosterUrl"]).join()};return n.apiNews.doSimpleRequest(i)},r=function(e,t){if(t>=e.length)return null;var n=[e[t++]];if(!n[0].hasPoster&&t<e.length){var i=e[t];i.hasPoster||n.push(i)}return n},a=(0!==this.queue.length?this.queue[this.queue.length-1].pipe(Object(he.a)(1),Object(qt.a)(i)):i()).pipe(Object(At.a)((function(i){for(var a=[],o=0,s=0,c=e*t;s<c;++s){var l=r(i,o);null!==l&&(a.push(l),o+=l.length)}return n.actualPage+=o,a.length>0?a:null})),Object(zt.a)(1));return this.queue.push(a),a}},{key:"getNextNews",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(null===this.rootNewsId){if(t>1)throw new Error("You need request single news first");this.rootNewsId=this.getRootNewsId();var i=this.extractDemoLink(),r=i?{demoLink:i}:null;return this.queue=[this.apiNews.requestSingleNews(this.rootNewsId,Object(U.Fb)(this.contentNewsFields),r).pipe(Object(At.a)((function(t){return null===t?[]:(e.rootNewsPublishDate=t.publishDate,[t])})),Object(zt.a)(1))],this.queue[0]}var a=this.queue[this.queue.length-1].pipe(Object(he.a)(1),Object(qt.a)((function(){var t={template:"default",filter:{tillTime:e.rootNewsPublishDate,excludedIds:[e.rootNewsId]},expand:Object(U.Fb)(n?e.contentNewsFields:e.simpleNewsFields).join(),"per-page":1,page:e.actualPage};return e.apiNews.doSimpleRequest(t)})),Object(j.a)((function(t){e.actualPage+=t.length})),Object(zt.a)(1));return this.queue.push(a),a}},{key:"getRatingsInfo",value:function(e,t){return this.apiNews.getRatingsInfo(e).pipe(Object(j.a)((function(e){Object($t.a)(t,e,Object(U.J)())})))}},{key:"updateRatings",value:function(e,t,n){return this.apiNews.updateRatings(e,t,n).pipe(Object(j.a)((function(e){Object($t.a)(t,e,Object(U.J)())})))}},{key:"createComment",value:function(e,t,n){return this.apiNews.createComment(e,t,n)}},{key:"listComments",value:function(e,t){return this.apiNews.listComments(e,t)}},{key:"createDislike",value:function(e,t,n){return this.apiNews.createDislike(e,t,n)}},{key:"createLike",value:function(e,t,n){return this.apiNews.createLike(e,t,n)}},{key:"deleteComment",value:function(e,t){return this.apiNews.deleteComment(e,t)}},{key:"deleteDislike",value:function(e,t){return this.apiNews.deleteDislike(e,t)}},{key:"deleteLike",value:function(e,t){return this.apiNews.deleteLike(e,t)}},{key:"internalGetNextSimpleNews",value:function(e){if(this.actualSimpleNewsIndex>=this.simpleNews.length)return null;var t=this.simpleNews.slice(this.actualSimpleNewsIndex,this.actualSimpleNewsIndex+e);return this.actualSimpleNewsIndex+=t.length,t}},{key:"internalGetNextWeekTopNews",value:function(e){if(this.actualWeekTopNewsIndex>=this.weekTopNews.length)return null;var t=this.weekTopNews.slice(this.actualWeekTopNewsIndex,this.actualWeekTopNewsIndex+e);return this.actualWeekTopNewsIndex+=t.length,t}},{key:"getRootNewsId",value:function(){for(var e=this.activatedRoute;null!==e.firstChild;)e=e.firstChild;return Number(e.snapshot.paramMap.get("id"))}},{key:"extractDemoLink",value:function(){for(var e=this.activatedRoute;null!==e.firstChild;)e=e.firstChild;return e.snapshot.queryParamMap.get("demo")}},{key:"prepare",value:function(){var e=this;return void 0===this.prepareObservable&&(this.isPrepareInProgress=!0,this.prepareObservable=this.layoutService.parseNewsLayout().pipe(Object(he.a)(1),Object(j.a)((function(t){var n;(null===(n=t.simpleNews)||void 0===n?void 0:n.count)>0&&e.pHasMoreNews.next(null)})),Object(fe.a)((function(t){return e.apiNews.doCompoundRequest(t).pipe(Object(j.a)((function(n){n.simpleNews&&(e.simpleNews=n.simpleNews,e.actualSimpleNewsIndex=0,e.pHasMoreNews.next(e.simpleNews.length>t.simpleNews.count)),n.weekTopNews&&(e.weekTopNews=n.weekTopNews,e.actualWeekTopNewsIndex=0)})))})),Object(j.a)((function(){e.isPrepareInProgress=!1})),Object(Tt.a)(!0),Object(zt.a)(1),Object(he.a)(1))),this.prepareObservable}},{key:"hasMoreNews",get:function(){return this.pHasMoreNews}}]),e}()).\u0275fac=function(e){return new(e||St)(c.Mc(Ht),c.Mc(T.a),c.Mc(M.a))},St.\u0275prov=c.uc({token:St,factory:St.\u0275fac,providedIn:"root"}),St),Gt=n("lPHt"),Xt=n("a4Kx"),Zt=n("GyhO"),Yt=n("EY2u"),Qt=n("LRne"),Kt=n("JIr8"),Jt=n("kBKH"),en=((It=function(){function e(t,n,i,r,a,o,s,c,l){_classCallCheck(this,e),this.router=t,this.siteConfigService=n,this.pageMetaService=i,this.newsApiService=r,this.demoLinkService=a,this.routesService=o,this.languagesManagerService=s,this.document=c,this.response=l}return _createClass(e,[{key:"resolve",value:function(e,t){var n=this;console.log("Resolving news page");var i=Number(e.paramMap.get("id")),r=e.queryParamMap.get("demo");return Object(Zt.a)(this.siteConfigService.prepare().pipe(Object(he.a)(1)),this.pageMetaService.prepare(i,r).pipe(Object(he.a)(1))).pipe(Object(Tt.a)(!0),Object(Kt.a)((function(e){return console.log(e),n.router.navigate(n.routesService.buildNotFoundRoute
1()),Yt.a})))}},{key:"canActivate",value:function(e,t){var n=this,i=Number(e.paramMap.get("id")),r=e.paramMap.get("slug"),a=e.queryParamMap.get("demo"),o=a?{demoLink:a}:null;return this.languagesManagerService.appLocale$.pipe(Object(fe.a)((function(t){return n.newsApiService.requestSingleNews(i,[],o,t).pipe(Object(he.a)(1),Object(fe.a)((function(o){var s,c,l=_slicedToArray2(t.split("-",2),1)[0];if(null===o)return null!==n.response?n.newsApiService.checkRedirect(i).pipe(Object(fe.a)((function(e){var t=null!==e.redirectUrl;return t&&n.response.redirect(e.redirectUrl,e.httpCode),Object(Qt.a)(!t&&n.router.createUrlTree(n.routesService.buildNotFoundRoute(l)))}))):Object(Qt.a)(n.router.createUrlTree(n.routesService.buildNotFoundRoute(l)));if(n.demoLinkService.setIsDemoLink(Boolean(a)),o.isExclusive){var u=o.url,d=Object.keys(null!==(s=e.queryParams)&&void 0!==s?s:{}).map((function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e.queryParams[t]))})).join("&");return d.length>0&&(u+="?"+d),(null===(c=e.fragment)||void 0===c?void 0:c.length)>0&&(u+="#"+e.fragment),null!==n.response?n.response.redirect(301,u):n.document.location.href=u,Object(Qt.a)(!1)}return r!==o.slug?Object(Qt.a)(n.router.createUrlTree(n.routesService.buildNewsDetailPageRoute(o,l))):Object(Qt.a)(!0)})))})))}}]),e}()).\u0275fac=function(e){return new(e||It)(c.Mc(M.d),c.Mc(Jt.c),c.Mc(Gt.a),c.Mc(T.a),c.Mc(U.s),c.Mc(U.fb),c.Mc(U.C),c.Mc(ue.e),c.Mc(Xt.a,8))},It.\u0275prov=c.uc({token:It,factory:It.\u0275fac,providedIn:"root"}),It),tn=((Mt=function(){function e(t,n){_classCallCheck(this,e),this.layoutService=t,this.apiService=n,this.simpleSpecialThemes=[],this.actualSimpleSpecialThemeIndex=-1,this.selectedSpecialThemes=new Map,this.isPrepareInProgress=!1,this.oldLayoutData=null}return _createClass(e,[{key:"reset",value:function(){var e=this;this.layoutService.parseSpecialThemesLayout().pipe(Object(he.a)(1)).subscribe((function(t){void 0!==e.prepareObservable&&Object(Lt.a)(e.oldLayoutData,t)||(e.prepareObservable=void 0,e.oldLayoutData=t),e.actualSimpleSpecialThemeIndex=0}))}},{key:"getNextSimpleSpecialTheme",value:function(e){var t=this;return this.prepare().pipe(Object(At.a)((function(){return t.internalGetNextSimpleSpecialThemes(e)})))}},{key:"getSelectedSpecialTheme",value:function(e){var t=this;return this.prepare().pipe(Object(At.a)((function(){return t.internalGetSelectedSpecialTheme(e)})))}},{key:"internalGetNextSimpleSpecialThemes",value:function(e){if(this.actualSimpleSpecialThemeIndex>=this.simpleSpecialThemes.length)return null;var t=this.simpleSpecialThemes.slice(this.actualSimpleSpecialThemeIndex,this.actualSimpleSpecialThemeIndex+e);return this.actualSimpleSpecialThemeIndex+=t.length,t}},{key:"internalGetSelectedSpecialTheme",value:function(e){return this.selectedSpecialThemes.has(e)?this.selectedSpecialThemes.get(e):null}},{key:"prepare",value:function(){var e=this;return void 0===this.prepareObservable&&(this.isPrepareInProgress=!0,this.prepareObservable=this.layoutService.parseSpecialThemesLayout().pipe(Object(he.a)(1),Object(fe.a)((function(t){return e.apiService.doCompoundRequest(t).pipe(Object(j.a)((function(t){if(t.simpleSpecialThemes&&(e.simpleSpecialThemes=t.simpleSpecialThemes,e.actualSimpleSpecialThemeIndex=0),t.selectedSpecialThemes)for(var n in e.selectedSpecialThemes.clear(),t.selectedSpecialThemes)t.selectedSpecialThemes.hasOwnProperty(n)&&e.selectedSpecialThemes.set(Number.parseInt(n,10),t.selectedSpecialThemes[n])})))})),Object(j.a)((function(){e.isPrepareInProgress=!1})),Object(Tt.a)(!0),Object(zt.a)(1),Object(he.a)(1))),this.prepareObservable}}]),e}()).\u0275fac=function(e){return new(e||Mt)(c.Mc(Ht),c.Mc(L.a))},Mt.\u0275prov=c.uc({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt),nn=((Et=function(){function e(t){_classCallCheck(this,e),this.apiService=t}return _createClass(e,[{key:"addVote",value:function(e,t,n){return this.apiService.addVote(e,t,n).pipe(Object(j.a)((function(t){e.isActive=t.isActive,e.userVote=t.userVote,e.canUserVote=t.canUserVote,e.votesCount=t.votesCount,e.votesCountLabel=t.votesCountLabel,e.answers.forEac
1h((function(e){var n=t.answers.find((function(t){return t.id===e.id}));void 0!==n&&(e.votesCount=n.votesCount)}))})))}}]),e}()).\u0275fac=function(e){return new(e||Et)(c.Mc(N.b))},Et.\u0275prov=c.uc({token:Et,factory:Et.\u0275fac,providedIn:"root"}),Et),rn=((Pt=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"buildSimpleNews",value:function(e,t,n){return new T.t(e,t,n)}}]),n}(i.e)).\u0275fac=function(e){return an(e||Pt)},Pt.\u0275prov=c.uc({token:Pt,factory:Pt.\u0275fac,providedIn:"root"}),Pt),an=c.Gc(rn),on=((Dt=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"buildAdsTeaser",value:function(e,t,n,i,r,a,o,s,c){return new A.a(e,t,n,i,r,a,o,s,c)}},{key:"buildLastNewsFeed",value:function(e,t,n,i,r,a){return new T.h(e,t,n,i,r,a)}},{key:"buildSingleSpecialTheme",value:function(e,t,n,i,r,a,o,s){return new L.d(e,t,n,i,r,a,o,s)}},{key:"buildTopCompanies",value:function(e,t,n,i,r,a,o){return new z.u(e,t,n,i,r,a,o)}},{key:"buildWeekTopNews",value:function(e,t,n,i,r){return new T.z(e,t,n,i,r)}},{key:"buildNewsCardsBlock",value:function(e,t,n,i){return new T.k(e,t,n,i)}},{key:"buildNewsDetailView",value:function(e,t,n,i,a,o,s){return new r(e,t,n,i,a,o,s)}},{key:"buildPoll",value:function(e,t,n,i,r,a,o,s){return new N.c(e,t,n,i,r,a,o,s)}},{key:"buildCurrencyInformer",value:function(e,t,n,i){return new V.e(e,t,n,i)}}]),n}(i.k)).\u0275fac=function(e){return sn(e||Dt)},Dt.\u0275prov=c.uc({token:Dt,factory:Dt.\u0275fac,providedIn:"root"}),Dt),sn=c.Gc(on)},qJSi:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var i=n("fXoL"),r=n("PqYM"),a=n("IzEk"),o=n("GQzd"),s=n("AytR"),c=n("ehPC"),l=n("GJzE"),u=["newsFeed"];function d(e,t){if(1&e&&i.zc(0,"app-card-label",7),2&e){var n=i.Uc(3);i.bd("title",n.widget.label)}}function h(e,t){if(1&e&&(i.Ec(0,"div",18),i.zd(1),i.Dc()),2&e){var n=i.Uc().$implicit;i.jc(1),i.Ad(n.label)}}function f(e,t){if(1&e&&(i.Ec(0,"div",19),i.Ec(1,"a",20),i.Tc(),i.Ec(2,"svg",21),i.zc(3,"use",22),i.Dc(),i.Sc(),i.Ec(4,"span"),i.zd(5),i.Vc(6,"number"),i.Dc(),i.Dc(),i.Dc()),2&e){var n=i.Uc().$implicit;i.jc(1),i.dd("fragment","comments-",n.id,""),i.bd("appNewsUrl",n),i.jc(4),i.Ad(i.Wc(6,3,n.commentsCount))}}function p(e,t){if(1&e&&(i.Ec(0,"div"),i.zd(1),i.Dc()),2&e){var n=t.$implicit;i.jc(1),i.Bd(" ",n," ")}}function g(e,t){if(1&e&&(i.Ec(0,"article",8),i.Ec(1,"div",9),i.Ec(2,"div",10),i.Ec(3,"a",11),i.zd(4),i.Dc(),i.Ec(5,"div",12),i.xd(6,h,2,1,"div",13),i.xd(7,f,7,5,"div",14),i.Dc(),i.Dc(),i.Ec(8,"div",15),i.Ec(9,"div",16),i.xd(10,p,2,1,"div",17),i.Dc(),i.Dc(),i.Dc(),i.Dc()),2&e){var n=t.$implicit,r=i.Uc(3);i.jc(3),i.cd("title",n.title),i.bd("appNewsUrl",n),i.jc(1),i.Ad(n.title),i.jc(2),i.bd("ngIf",n.label.length>0),i.jc(1),i.bd("ngIf",n.allowComment&&n.commentsCount>0),i.jc(2),i.bd("ngClass",r.getModelPublishDateClass(n)),i.jc(1),i.bd("ngForOf",r.getModelPublishDate(n))}}function v(e,t){if(1&e&&(i.Cc(0),i.xd(1,d,1,1,"app-card-label",5),i.xd(2,g,11,7,"article",6),i.Bc()),2&e){var n=i.Uc(2);i.jc(1),i.bd("ngIf",n.widget.label),i.jc(1),i.bd("ngForOf",n.news)}}function m(e,t){1&e&&(i.Ec(0,"div",23),i.zc(1,"app-circle-loader"),i.Dc())}function b(e,t){if(1&e&&(i.Ec(0,"div",1,2),i.xd(2,v,3,2,"ng-container",3),i.xd(3,m,2,0,"div",4),i.Dc()),2&e){var n=i.Uc();i.pc("showAfter",n.isTall),i.jc(2),i.bd("ngIf",null!==n.news),i.jc(1),i.bd("ngIf",null===n.news)}}var y=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,o.injector=i,o.routesService=r,o.newsService=a,o.news=null,o.pIsTall=!1,o.pIsTallShadow=!1,o}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.newsService.getNextSimpleNews(this.widget.newsCount,this.widget.fillerItemsCount).pipe(Object(a.a)(1)).subscribe((function(t){e.news=t,null!==e.news?e.emitHasData():e.emitEmptyData();var n=function(){e.emitComponentLoaded()};s.a.useLoadingDelay?Object(r.a)(1500).subscribe(n):n()}))}},{key:"ngAfterViewChecked",value:function(){this.pIsTallShadow=void 0!==this.newsFeedElement&&this.newsFeedElement.nativeElement.clientHeight>=1100}},{key:"ngDoCheck",value:function(){this.pIsTallShadow!==this.pIsTall&&(this.pIsTall=this.pIsTallShadow)}},{key:"getModelPublishDate",value:function(e){return e.isPublishedToday?[e.friendlyPublishDate[0]]:e.friendlyPublishDate}},{key:"getModelPublishDateClass",value:function(e){return e.isPublishedToday?null:"article-card__date--past"}},{key:"isTall",get:function(){return this.pIsTall}}]),n}(c.j);return e.\u0275fac=function(t){return new(t||e)(i.yc(c.A,8),i.yc(i.w),i.yc(l.fb),i.yc(o.v))}
1,e.\u0275cmp=i.sc({type:e,selectors:[["app-shared-last-news-feed"]],viewQuery:function(e,t){var n;1&e&&i.Dd(u,!0,i.q),2&e&&i.jd(n=i.Rc())&&(t.newsFeedElement=n.first)},features:[i.gc],decls:2,vars:5,consts:[["class","news-feed",3,"showAfter",4,"appLoadingPlaceholder","appLoadingPlaceholderWidth","appLoadingPlaceholderHeight"],[1,"news-feed"],["newsFeed",""],[4,"ngIf"],["class","text-center",4,"ngIf"],["className","card-label card-label--in-feed mb-4",3,"title",4,"ngIf"],["class","article-card article-card--in-feed",4,"ngFor","ngForOf"],["className","card-label card-label--in-feed mb-4",3,"title"],[1,"article-card","article-card--in-feed"],[1,"article-card__content"],[1,"article-card__title"],[3,"title","appNewsUrl"],[1,"article-card__title--info"],["class","article-card__title--toaster",4,"ngIf"],["class","card-actions",4,"ngIf"],[1,"article-card__info"],[1,"article-card__date",3,"ngClass"],[4,"ngFor","ngForOf"],[1,"article-card__title--toaster"],[1,"card-actions"],[1,"card-actions__item",3,"appNewsUrl","fragment"],["width","20","height","20"],[0,"xlink","href","#icon-comment"],[1,"text-center"]],template:function(e,t){1&e&&(i.xd(0,b,4,4,"div",0),i.Vc(1,"async")),2&e&&i.bd("appLoadingPlaceholder",i.Wc(1,3,t.isComponentLoaded$))("appLoadingPlaceholderWidth",t.widget.width)("appLoadingPlaceholderHeight",t.widget.height)},styles:['.news-feed[_ngcontent-%COMP%]{overflow:hidden}@media (min-width:1024px){.news-feed[_ngcontent-%COMP%]{margin:0 0 24px;position:relative}}@media (min-width:1024px){.news-feed[_ngcontent-%COMP%]:after{position:absolute;bottom:0;left:0;width:100%;height:60px;background-color:hsla(0,0%,100%,.5);background-image:linear-gradient(0deg,#fff,hsla(0,0%,100%,.75),hsla(0,0%,100%,.5),hsla(0,0%,100%,0));content:"";pointer-events:none}}@media (min-width:1024px) and (max-width:1199px){.news-feed[_ngcontent-%COMP%]{max-height:800px}}@media (min-width:1200px) and (max-width:1500px){.news-feed[_ngcontent-%COMP%]{max-height:1000px}}@media (min-width:1500px){.news-feed[_ngcontent-%COMP%]{max-height:1100px}.news-feed[_ngcontent-%COMP%]:after{display:none}}.article-card[_ngcontent-%COMP%]{position:relative;margin:0 -8px;overflow:hidden;border-bottom:1px solid rgba(50,50,50,.15)}.article-card__subinfo[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:12px;fill:#fff}.article-card__title[_ngcontent-%COMP%]{font-size:24px}.article-card__title--info[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:6px}.article-card__title--info[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:not(:first-child){margin-left:10px}.article-card__title--toaster[_ngcontent-%COMP%]{width:-webkit-fit-content;width:fit-content;width:-moz-fit-content;border:1px solid var(--green-primary);padding:2px 6px;color:var(--green-primary);font-size:14px;line-height:14px;text-transform:uppercase}.article-card__info[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;margin-top:8px;font-size:15px;color:rgba(50,50,50,.35)}.article-card__date[_ngcontent-%COMP%]{display:flex;max-width:100%;color:var(--green-primary)}.article-card__date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.article-card__date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{content:",";display:inline}.article-card__date--past[_ngcontent-%COMP%]{color:rgba(50,50,50,.35)}.article-card--in-feed[_ngcontent-%COMP%]{padding:16px 24px}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions[_ngcontent-%COMP%]{display:flex}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]{line-height:0}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px;
1fill:var(--green-primary)}.article-card--in-feed[_ngcontent-%COMP%]   .card-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:4px;vertical-align:middle;font-size:14px;line-height:29px;color:var(--green-primary)}@media (min-width:1024px){.article-card[_ngcontent-%COMP%]{margin:0 0 24px;border-bottom:0}.article-card__date[_ngcontent-%COMP%]{flex-direction:column}.article-card__date[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{content:"";display:none}.article-card__subinfo[_ngcontent-%COMP%]{display:block;position:absolute;top:16px;left:0}.article-card__title[_ngcontent-%COMP%]{font-size:21px}.article-card__info[_ngcontent-%COMP%]{font-size:14px}.article-card--in-feed[_ngcontent-%COMP%]{padding:0}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__content[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__title[_ngcontent-%COMP%]{flex-grow:1}.article-card--in-feed[_ngcontent-%COMP%]   .article-card__info[_ngcontent-%COMP%]{order:-1;flex-shrink:0;width:56px;margin-top:4px;margin-right:10px}}@media (min-width:1500px){.showAfter[_ngcontent-%COMP%]:after{display:initial!important}}']}),e}()},qkWt:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,(function(t){return e[t]}).bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t,n){var i,r;void 0===(r="function"==typeof(i={af:function(e,t){return t?"other":1==e?"one":"other"},ak:function(e,t){return t?"other":0==e||1==e?"one":"other"},am:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},ar:function(e,t){var n=String(e).split("."),i=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":i>=3&&i<=10?"few":i>=11&&i<=99?"many":"other"},ars:function(e,t){var n=String(e).split("."),i=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":i>=3&&i<=10?"few":i>=11&&i<=99?"many":"other"},as:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},asa:function(e,t){return t?"other":1==e?"one":"other"},ast:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},az:function(e,t){var n=String(e).split(".")[0],i=n.slice(-1),r=n.slice(-2),a=n.slice(-3);return t?1==i||2==i||5==i||7==i||8==i||20==r||50==r||70==r||80==r?"one":3==i||4==i||100==a||200==a||300==a||400==a||500==a||600==a||700==a||800==a||900==a?"few":0==n||6==i||40==r||60==r||90==r?"many":"other":1==e?"one":"other"},be:function(e,t){var n=String(e).split("."),i=Number(n[0])==e,r=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return t?2!=r&&3!=r||12==a||13==a?"other":"few":1==r&&11!=a?"one":r>=2&&r<=4&&(a<12||a>14)?"few":i&&0==r||r>=5&&r<=9||a>=11&&a<=14?"many":"other"},bem:function(e,t){return t?"other":1==e?"one":"other"},bez:function(e,t){return t?"other":1==e?"one":"other"},bg:function(e,t){return t?"other":1==e?"one":"other"},bh:function(e,t){return t?"other":0==e||1==e?"one":"other"},bm:function(e,t){return"other"},bn:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},bo:function(e,t){return"other"},br:function(e,t){var n=String(e).split("."),i=Number(n[0])==e,r=i&&n[0].slice(-1),a=i&&n[0].slice(-2),o=i&&n[0].slice(-6);return t?"other":1==r&&11!=a&&71!=a&&91!=a?"one":2==r&&12!=a&&72!=a&&92!=a?"two":(3==r||4==r||9==r)&&(a<10||a>19)&&(a<70||a>79)&&(a<90||a>99)?"few":0!=e&&i&&0==o?"many":"other"},brx:function(e,t){return t?"other":1==e?"one":"other"},bs:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),c=r.slice(-1),l=r.slice(-2);return t?"other":a&&1==o&&11!=s||1==c&&11!=l?"one":a&&o>=2&&o<=4&&(s<12||s>14)||c>=2&&c<=4&&(l<12||l>14)?"few":"other"},ca:function(e,t){var n=String(e).split(".");return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1!=e||n[1]?"other":"one"},ce:function(e,t){return t?"other":1==e?"one":"other"},cgg:function(e,t){return t?"other":1==e?"one":"other"},chr:function(e,t){return t?"other":1==e?"one":"other"},ckb:function(e,t){return t?"other":1==e?"one":"other"},cs:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1];return t?"other":1==e&&r?"one":i>=2&&i<=4&&r?"few":r?"other":"many"},cy:function(e,t){return t?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"},da:function(e,t){var n=String(e).split("."),i=n[0],r=Number(n[0])==e;return t||1!=e&&(r||0!=i&&1!=i)?"other":"one"},de:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},dsb:function(e,t){var n=String(e).split("."),i=n[1]||"",r=!n[1],a=n[0].slice(-2),o=i.slice(-2);return t?"other":r&&1==a||1==o?"one":r&&2==a||2==o?"two":r&&(3==a||4==a)||3==o||4==o?"few":"other"},dv:function(e,t){return t?"other":1==e?"one":"other"},dz:function(e,t){return"other"},ee:function(e,t){return t?"other":1==e?"one":"other"},el:function(e,t){return t?"other":1==e?"one":"other"},en:function(e,t){var n=String(e).split("."),i=!n[1],r=Number(n[0])==e,a=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return t?1==a&&11!=o?"one":2==a&&12!=o?"two":3==a&&13!=o?"few":"other":1==e&&i?"one":"other"},eo:function(e,t){return t?"other":1==e?"one":"other"},es:function(e,t){return t?"other":1==e?"one":"other"},et:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},eu:function(e,t){return t?"other":1==e?"one":"other"},fa:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},ff:function(e,t){return t?"other":e>
1=0&&e<2?"one":"other"},fi:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},fil:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=r.slice(-1);return t?1==e?"one":"other":a&&(1==i||2==i||3==i)||a&&4!=o&&6!=o&&9!=o||!a&&4!=s&&6!=s&&9!=s?"one":"other"},fo:function(e,t){return t?"other":1==e?"one":"other"},fr:function(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"},fur:function(e,t){return t?"other":1==e?"one":"other"},fy:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},ga:function(e,t){var n=String(e).split("."),i=Number(n[0])==e;return t?1==e?"one":"other":1==e?"one":2==e?"two":i&&e>=3&&e<=6?"few":i&&e>=7&&e<=10?"many":"other"},gd:function(e,t){var n=String(e).split("."),i=Number(n[0])==e;return t?1==e||11==e?"one":2==e||12==e?"two":3==e||13==e?"few":"other":1==e||11==e?"one":2==e||12==e?"two":i&&e>=3&&e<=10||i&&e>=13&&e<=19?"few":"other"},gl:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},gsw:function(e,t){return t?"other":1==e?"one":"other"},gu:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},guw:function(e,t){return t?"other":0==e||1==e?"one":"other"},gv:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1],a=i.slice(-1),o=i.slice(-2);return t?"other":r&&1==a?"one":r&&2==a?"two":!r||0!=o&&20!=o&&40!=o&&60!=o&&80!=o?r?"other":"many":"few"},ha:function(e,t){return t?"other":1==e?"one":"other"},haw:function(e,t){return t?"other":1==e?"one":"other"},he:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1],a=Number(n[0])==e,o=a&&n[0].slice(-1);return t?"other":1==e&&r?"one":2==i&&r?"two":r&&(e<0||e>10)&&a&&0==o?"many":"other"},hi:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},hr:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),c=r.slice(-1),l=r.slice(-2);return t?"other":a&&1==o&&11!=s||1==c&&11!=l?"one":a&&o>=2&&o<=4&&(s<12||s>14)||c>=2&&c<=4&&(l<12||l>14)?"few":"other"},hsb:function(e,t){var n=String(e).split("."),i=n[1]||"",r=!n[1],a=n[0].slice(-2),o=i.slice(-2);return t?"other":r&&1==a||1==o?"one":r&&2==a||2==o?"two":r&&(3==a||4==a)||3==o||4==o?"few":"other"},hu:function(e,t){return t?1==e||5==e?"one":"other":1==e?"one":"other"},hy:function(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"},ia:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},id:function(e,t){return"other"},ig:function(e,t){return"other"},ii:function(e,t){return"other"},in:function(e,t){return"other"},io:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},is:function(e,t){var n=String(e).split("."),i=n[0],r=Number(n[0])==e,a=i.slice(-1),o=i.slice(-2);return t?"other":r&&1==a&&11!=o||!r?"one":"other"},it:function(e,t){var n=String(e).split(".");return t?11==e||8==e||80==e||800==e?"many":"other":1!=e||n[1]?"other":"one"},iu:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},iw:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1],a=Number(n[0])==e,o=a&&n[0].slice(-1);return t?"other":1==e&&r?"one":2==i&&r?"two":r&&(e<0||e>10)&&a&&0==o?"many":"other"},ja:function(e,t){return"other"},jbo:function(e,t){return"other"},jgo:function(e,t){return t?"other":1==e?"one":"other"},ji:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},jmc:function(e,t){return t?"other":1==e?"one":"other"},jv:function(e,t){return"other"},jw:function(e,t){return"other"},ka:function(e,t){var n=String(e).split(".")[0],i=n.slice(-2);return t?1==n?"one":0==n||i>=2&&i<=20||40==i||60==i||80==i?"many":"other":1==e?"one":"other"},kab:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},kaj:function(e,t){return t?"other":1==e?"one":"other"},kcg:function(e,t){return t?"other":1==e?"one":"other"},kde:function(e,t){return"other"},kea:function(e,t){return"other"},kk:function(e,t){var n=String(e).split("."),i=Number(n[0])==e,r=i&&n[0].slice(-1);return t?6==r||9==r||i&&0==r&&0!=e?"many":"other":1==e?"one":"other"},kkj:function(e,t){return t?"other":1==e?"one":"other"},kl:function(e,t){return t?"other":1==e?"one":"other"},km:function(e,t){return"other"},kn:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},ko:function(e,t){return"other"},ks:function(e,t){return t?"other":1==e?"one":"other"},ksb:function(e,t){return t?"other":1==e?"one":"other"},ksh:function(e,t){return t?"other":0==e?"zero":1==e?"one":"other"},ku:function(e,t){return t?"other":1==e?"one":"other"},kw:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},ky:function(e,t){return t?"other":1==e?"one":"other"},lag:function(e,t){var n=String(e).split(".")[0];return t?"other":0==e?"zero":0!=n&&1!=n||0==e?"other":"one"},lb:function(e,t){return t?"other":1==e?"one":"other"},lg:function(e,t){return t?"other":1==e?"one":"other"},lkt:function(e,t){return"other"},ln:function(e,t){return t?"other":0==e||1==e?"one":"other"},lo:function(e,t){return t&&1==e?"one":"other"},lt:function(e,t){var n=String(e).split("."),i=n[1]||"",r=Number(n[0])==e,a=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return t?"other":1==a&&(o<11||o>19)?"one":a>=2&&a<=9&&(o<11||o>19)?"few":0!=i?"many":"other"},lv:function(e,t){var n=String(e).split("."),i=n[1]||"",r=i.length,a=Number(n[0])==e,o=a&&n[0].slice(-1),s=a&&n[0].slice(-2),c=i.slice(-2),l=i.slice(-1);return t?"other":a&&0==o||s>=11&&s<=19||2==r&&c>=11&&c<=19?"zero":1==o&&11!=s||2==r&&1==l&&11!=c||2!=r&&1==l?"one":"other"},mas:function(e,t){return t?"other":1==e?"one":"other"},mg:function(e,t){return t?"other":0==e||1==e?"one":"other"},mgo:function(e,t){return t?"other":1==e?"one":"other"},mk:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),c=r.slice(-1),l=r.slice(-2);return t?1==o&&11!=s?"one":2==o&&12!=s?"two":7!=o&&8!=o||17==s||18==s?"other":"many":a&&1==o&&11!=s||1==c&&11!=l?"one":"other"},ml:function(e,t){return t?"other":1==e?"one":"other"},mn:function(e,t){return t?"other":1==e?"one":"other"},mo:function(e,t){var n=String(e).split("."),i=!n[1],r=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&i?"one":!i||0==e||1!=e&&r>=1&&r<=19?"few":"other"},mr:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":e>=0&&e<=1?"one":"other"},ms:function(e,t){return t&&1==e?"one":"other"},mt:function(e,t){var n=String(e).split("."),i=Number(n[0])==e&&n[0].slice(-2);return t?"other":1==e?"one":0==e||i>=2&&i<=10?"few":i>=11&&i<=19?"many":"other"},my:function(e,t){return"other"},nah:function(e,t){return t?"other":1==e?"one":"other"},naq:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},nb:function(e,t){return t?"other":1==e?"one":"other"},nd:function(e,t){return t?"other":1==e?"one":"other"},ne:function(e,t){var n=String(e).split("."),i=Number(n[0])==e;return t?i&&e>
1=1&&e<=4?"one":"other":1==e?"one":"other"},nl:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},nn:function(e,t){return t?"other":1==e?"one":"other"},nnh:function(e,t){return t?"other":1==e?"one":"other"},no:function(e,t){return t?"other":1==e?"one":"other"},nqo:function(e,t){return"other"},nr:function(e,t){return t?"other":1==e?"one":"other"},nso:function(e,t){return t?"other":0==e||1==e?"one":"other"},ny:function(e,t){return t?"other":1==e?"one":"other"},nyn:function(e,t){return t?"other":1==e?"one":"other"},om:function(e,t){return t?"other":1==e?"one":"other"},or:function(e,t){var n=String(e).split("."),i=Number(n[0])==e;return t?1==e||5==e||i&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"},os:function(e,t){return t?"other":1==e?"one":"other"},pa:function(e,t){return t?"other":0==e||1==e?"one":"other"},pap:function(e,t){return t?"other":1==e?"one":"other"},pl:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1],a=i.slice(-1),o=i.slice(-2);return t?"other":1==e&&r?"one":r&&a>=2&&a<=4&&(o<12||o>14)?"few":r&&1!=i&&(0==a||1==a)||r&&a>=5&&a<=9||r&&o>=12&&o<=14?"many":"other"},prg:function(e,t){var n=String(e).split("."),i=n[1]||"",r=i.length,a=Number(n[0])==e,o=a&&n[0].slice(-1),s=a&&n[0].slice(-2),c=i.slice(-2),l=i.slice(-1);return t?"other":a&&0==o||s>=11&&s<=19||2==r&&c>=11&&c<=19?"zero":1==o&&11!=s||2==r&&1==l&&11!=c||2!=r&&1==l?"one":"other"},ps:function(e,t){return t?"other":1==e?"one":"other"},pt:function(e,t){var n=String(e).split(".")[0];return t?"other":0==n||1==n?"one":"other"},"pt-PT":function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},rm:function(e,t){return t?"other":1==e?"one":"other"},ro:function(e,t){var n=String(e).split("."),i=!n[1],r=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&i?"one":!i||0==e||1!=e&&r>=1&&r<=19?"few":"other"},rof:function(e,t){return t?"other":1==e?"one":"other"},root:function(e,t){return"other"},ru:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1],a=i.slice(-1),o=i.slice(-2);return t?"other":r&&1==a&&11!=o?"one":r&&a>=2&&a<=4&&(o<12||o>14)?"few":r&&0==a||r&&a>=5&&a<=9||r&&o>=11&&o<=14?"many":"other"},rwk:function(e,t){return t?"other":1==e?"one":"other"},sah:function(e,t){return"other"},saq:function(e,t){return t?"other":1==e?"one":"other"},sc:function(e,t){var n=String(e).split(".");return t?11==e||8==e||80==e||800==e?"many":"other":1!=e||n[1]?"other":"one"},scn:function(e,t){var n=String(e).split(".");return t?11==e||8==e||80==e||800==e?"many":"other":1!=e||n[1]?"other":"one"},sd:function(e,t){return t?"other":1==e?"one":"other"},sdh:function(e,t){return t?"other":1==e?"one":"other"},se:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},seh:function(e,t){return t?"other":1==e?"one":"other"},ses:function(e,t){return"other"},sg:function(e,t){return"other"},sh:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),c=r.slice(-1),l=r.slice(-2);return t?"other":a&&1==o&&11!=s||1==c&&11!=l?"one":a&&o>=2&&o<=4&&(s<12||s>14)||c>=2&&c<=4&&(l<12||l>14)?"few":"other"},shi:function(e,t){var n=String(e).split("."),i=Number(n[0])==e;return t?"other":e>=0&&e<=1?"one":i&&e>=2&&e<=10?"few":"other"},si:function(e,t){var n=String(e).split(".");return t?"other":0==e||1==e||0==n[0]&&1==(n[1]||"")?"one":"other"},sk:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1];return t?"other":1==e&&r?"one":i>=2&&i<=4&&r?"few":r?"other":"many"},sl:function(e,t){var n=String(e).split("."),i=!n[1],r=n[0].slice(-2);return t?"other":i&&1==r?"one":i&&2==r?"two":i&&(3==r||4==r)||!i?"few":"other"},sma:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smi:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smj:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smn:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},sms:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},sn:function(e,t){return t?"other":1==e?"one":"other"},so:function(e,t){return t?"other":1==e?"one":"other"},sq:function(e,t){var n=String(e).split("."),i=Number(n[0])==e,r=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return t?1==e?"one":4==r&&14!=a?"many":"other":1==e?"one":"other"},sr:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),c=r.slice(-1),l=r.slice(-2);return t?"other":a&&1==o&&11!=s||1==c&&11!=l?"one":a&&o>=2&&o<=4&&(s<12||s>14)||c>=2&&c<=4&&(l<12||l>14)?"few":"other"},ss:function(e,t){return t?"other":1==e?"one":"other"},ssy:function(e,t){return t?"other":1==e?"one":"other"},st:function(e,t){return t?"other":1==e?"one":"other"},sv:function(e,t){var n=String(e).split("."),i=!n[1],r=Number(n[0])==e,a=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return t?1!=a&&2!=a||11==o||12==o?"other":"one":1==e&&i?"one":"other"},sw:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},syr:function(e,t){return t?"other":1==e?"one":"other"},ta:function(e,t){return t?"other":1==e?"one":"other"},te:function(e,t){return t?"other":1==e?"one":"other"},teo:function(e,t){return t?"other":1==e?"one":"other"},th:function(e,t){return"other"},ti:function(e,t){return t?"other":0==e||1==e?"one":"other"},tig:function(e,t){return t?"other":1==e?"one":"other"},tk:function(e,t){var n=String(e).split("."),i=Number(n[0])==e&&n[0].slice(-1);return t?6==i||9==i||10==e?"few":"other":1==e?"one":"other"},tl:function(e,t){var n=String(e).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=r.slice(-1);return t?1==e?"one":"other":a&&(1==i||2==i||3==i)||a&&4!=o&&6!=o&&9!=o||!a&&4!=s&&6!=s&&9!=s?"one":"other"},tn:function(e,t){return t?"other":1==e?"one":"other"},to:function(e,t){return"other"},tr:function(e,t){return t?"other":1==e?"one":"other"},ts:function(e,t){return t?"other":1==e?"one":"other"},tzm:function(e,t){var n=String(e).split("."),i=Number(n[0])==e;return t?"other":0==e||1==e||i&&e>=11&&e<=99?"one":"other"},ug:function(e,t){return t?"other":1==e?"one":"other"},uk:function(e,t){var n=String(e).split("."),i=n[0],r=!n[1],a=Number(n[0])==e,o=a&&n[0].slice(-1),s=a&&n[0].slice(-2),c=i.slice(-1),l=i.slice(-2);return t?3==o&&13!=s?"few":"other":r&&1==c&&11!=l?"one":r&&c>=2&&c<=4&&(l<12||l>14)?"few":r&&0==c||r&&c>=5&&c<=9||r&&l>=11&&l<=14?"many":"other"},ur:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},uz:function(e,t){return t?"other":1==e?"one":"other"},ve:function(e,t){return t?"other":1==e?"one":"other"},vi:function(e,t){return t&&1==e?"one":"other"},vo:function(e,t){return t?"other":1==e?"one":"other"},vun:function(e,t){return t?"other":1==e?"one":"other"},wa:function(e,t){return t?"other":0==e||1==e?"one":"other"},wae:function(e,t){return t?"other":1==e?"one":"other"},wo:function(e,t){return"other"},xh:function(e,t){return t?"other":1==e?"one":"other"},xog:function(e,t){return t?"other":1==e?"one":"other"},yi:function(e,t){var n=String(e).split(".");return t||1!=e||n[1]?"other":"one"},yo:function(e,t){return"other"},yue:function(e,t){return"other"},zh:function(e,t){return"other"},zu:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"}})?i.call(t,n,t,e):i)||(e.exports=r)},function(e,t,n){e.exports={date:n(4),duration:n(5),number:n(6),time:n(7)}},function(e,t,n){"use strict";function i(e,t,n,r){this.message=e,this.expected=t,this.found=n,this.location=r,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,i)}!function(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}(i,Error),i.buildMessage=function(e,t){var n={literal:function(e){return'"'+r(e.text)+'"'},class:function(e){var t,n="";for(t=0;t<e.parts.length;t++)n+=e.parts[t]instanceof Array?a(e.parts[t][0])+"-"+a(e.parts[t][1]):a(e.parts[t]);return"["+(e.inverted?"^":"")+n+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};function i(e){return e.charCodeAt(0).toString(16).toUpperCase()}function r(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+i(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+i(e)}))}function a(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+i(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+i(e)}))}return"Expected "+function(e){var t,i,r,a=new Array(e.length);for(t=0;t<e.length;t++)a[t]=n[(r=e[t]).type](r);if(a.sort(),a.length>0){for(t=1,i=1;t<a.length;t++)a[t-1]!==a[t]&&(a[i]=a[t],i++);a.length=i}switch(a.length){case 1:return a[0];
1case 2:return a[0]+" or "+a[1];default:return a.slice(0,-1).join(", ")+", or "+a[a.length-1]}}(e)+" but "+function(e){return e?'"'+r(e)+'"':"end of input"}(t)+" found."},e.exports={SyntaxError:i,parse:function(e,t){t=void 0!==t?t:{};var n,r={},a={start:Oe},o=Oe,s=Ce("#",!1),c=function(){return Ne[0]},l=function(e){return e.join("")},u="{",d=Ce("{",!1),h="}",f=Ce("}",!1),p=",",g=Ce(",",!1),v="select",m=Ce("select",!1),b=function(e,n){return t.strict&&Ne.unshift(!1),n},y=function(e,n){return t.strict&&Ne.shift(),{type:"select",arg:e,cases:n}},C="plural",_=Ce("plural",!1),w="selectordinal",k=Ce("selectordinal",!1),x=function(e,n,i,r){var a=("selectordinal"===n?t.ordinal:t.cardinal)||["zero","one","two","few","many","other"];return a&&a.length&&r.forEach((function(t){if(isNaN(t.key)&&a.indexOf(t.key)<0)throw new Error("Invalid key `"+t.key+"` for argument `"+e+"`. Valid "+n+" keys for this locale are `"+a.join("`, `")+"`, and explicit keys like `=0`.")})),Ne.shift(),{type:n,arg:e,offset:i||0,cases:r}},O=we("identifier"),S=/^[^\t-\r \x85\u200E\u200F\u2028\u2029!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,P=_e([["\t","\r"]," ","\x85","\u200e","\u200f","\u2028","\u2029",["!","/"],[":","@"],["[","^"],"`",["{","~"],["\xa1","\xa7"],"\xa9","\xab","\xac","\xae","\xb0","\xb1","\xb6","\xbb","\xbf","\xd7","\xf7",["\u2010","\u2027"],["\u2030","\u203e"],["\u2041","\u2053"],["\u2055","\u205e"],["\u2190","\u245f"],["\u2500","\u2775"],["\u2794","\u2bff"],["\u2e00","\u2e7f"],["\u3001","\u3003"],["\u3008","\u3020"],"\u3030","\ufd3e","\ufd3f","\ufe45","\ufe46"],!0,!1),E=function(e,t){return{key:e,tokens:t}},M=we("plural offset"),I="offset",D=Ce("offset",!1),j=Ce(":",!1),A=Ce("=",!1),T="number",z=Ce("number",!1),L="date",N=Ce("date",!1),R="time",F=Ce("time",!1),V="spellout",U=Ce("spellout",!1),H="ordinal",B=Ce("ordinal",!1),q="duration",$=Ce("duration",!1),W=function(e){if(t.strict||/^\d/.test(e))return!1;switch(e.toLowerCase()){case"select":case"plural":case"selectordinal":return!1;default:return!0}},G=function(e){return!t.strict},X=we("a valid (strict) function parameter"),Z=/^[^'{}]/,Y=_e(["'","{","}"],!0,!1),Q=Ce("'",!1),K=we("doubled apostrophe"),J=Ce("''",!1),ee=/^[^']/,te=_e(["'"],!0,!1),ne=Ce("'{",!1),ie=Ce("'}",!1),re=we("escaped string"),ae=Ce("'#",!1),oe=we("plain char"),se=/^[^{}#\0-\x08\x0E-\x1F\x7F]/,ce=_e(["{","}","#",["\0","\b"],["\x0e","\x1f"],"\x7f"],!0,!1),le=we("integer"),ue=/^[0-9]/,de=_e([["0","9"]],!1,!1),he=we("white space"),fe=/^[\t-\r \x85\u200E\u200F\u2028\u2029]/,pe=_e([["\t","\r"]," ","\x85","\u200e","\u200f","\u2028","\u2029"],!1,!1),ge=0,ve=[{line:1,column:1}],me=0,be=[],ye=0;if("startRule"in t){if(!(t.startRule in a))throw new Error("Can't start parsing from rule \""+t.startRule+'".');o=a[t.startRule]}function Ce(e,t){return{type:"literal",text:e,ignoreCase:t}}function _e(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function we(e){return{type:"other",description:e}}function ke(t){var n,i=ve[t];if(i)return i;for(n=t-1;!ve[n];)n--;for(i={line:(i=ve[n]).line,column:i.column};n<t;)10===e.charCodeAt(n)?(i.line++,i.column=1):i.column++,n++;return ve[t]=i,i}function xe(e){ge<me||(ge>me&&(me=ge,be=[]),be.push(e))}function Oe(){var e,t;for(e=[],t=Se();t!==r;)e.push(t),t=Se();return e}function Se(){var t,n,i;if((t=function(){var t,n,i,a;return t=ge,123===e.charCodeAt(ge)?(n=u,ge++):(n=r,0===ye&&xe(d)),n!==r&&Le()!==r&&(i=Pe())!==r&&Le()!==r?(125===e.charCodeAt(ge)?(a=h,ge++):(a=r,0===ye&&xe(f)),a!==r?t=n=function(e){return{type:"argument",arg:e}}(i):(ge=t,t=r)):(ge=t,t=r),t}())===r&&(t=function(){var t,n,i,a,o,s,c,l,C;if(t=ge,123===e.charCodeAt(ge)?(n=u,ge++):(n=r,0===ye&&xe(d)),n!==r)if(Le()!==r)if((i=Pe())!==r)if(Le()!==r)if(44===e.charCodeAt(ge)?(a=p,ge++):(a=r,0===ye&&xe(g)),a!==r)if(Le()!==r)if(e.substr(ge,6)===v?(o=v,ge+=6):(o=r,0===ye&&xe(m)),o!==r&&(o=b(0,o)),o!==r)if((o=Le())!==r)if(44===e.charCodeAt(ge)?(s=p,ge++):(s=r,0===ye&&xe(g)),s!==r)if(Le()!==r){if(c=[],(l=Ee())!==r)for(;l!==r;)c.push(l),l=Ee();else c=r;c!==r&&(l=Le())!==r?(125===e.charCodeAt(ge)?(C=h,ge++):(C=r,0===ye&&xe(f)),C!==r?t=n=y(i,c):(ge=t,t=r)):(ge=t,t=r)}else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;return t}())===r&&(t=function(){var t,n,i,a,o,s,c,l,v,m,b;if(t=ge,123===e.charCodeAt(ge)?(n=u,ge++):(n=r,0===ye&&xe(d)),n!==r)if(Le()!==r)if((i=Pe())!==r)if(Le()!==r)if(44===e.charCodeAt(ge)?(a=p,ge++):(a=r,0===ye&&xe(g)),a!==r)if(Le()!==r)if(e.substr(ge,6)===C?(s=C,ge+=6):(s=r,0===ye&&xe(_)),s===r&&(e.substr(ge,13)===w?(s=w,ge+=13):(s=r,0===ye&&xe(k))),s!==r&&(s=function(e,t){return Ne.unshift(!0),t}(0,s)),(o=s)!==r)if((s=Le())!==r)if(44===e.charCodeAt(ge)?(c=p,ge++):(c=r,0===ye&&xe(g)),c!==r)if(Le()!==r)if((l=function(){var t,n,i,a;return ye++,t=ge,Le()!==r?(e.substr(ge,6)===I?(n=I,ge+=6):(n=r,0===ye&&xe(D)),n!==r&&Le()!==r?(58===e.charCodeAt(ge)?(i=":",ge++):(i=r,0===ye&&xe(j)),i!==r&&Le()!==r&&(a=ze())!==r&&Le()!==r?t=a:(ge=t,t=r)):(ge=t,t=r)):(ge=t,t=r),ye--,t===r&&0===ye&&xe(M),t}())===r&&(l=null),l!==r){if(v=[],(m=Me())!==r)for(;m!==r;)v.push(m),m=Me();else v=r;v!==r&&(m=Le())!==r?(125===e.charCodeAt(ge)?(b=h,ge++):(b=r,0===ye&&xe(f)),b!==r?t=n=x(i,o,l,v):(ge=t,t=r)):(ge=t,t=r)}else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;else ge=t,t=r;return t}())===r&&(t=function(){var t,n,i,a,o,s,c;return t=ge,123===e.charCodeAt(ge)?(n=u,ge++):(n=r,0===ye&&xe(d)),n!==r&&Le()!==r&&(i=Pe())!==r&&Le()!==r?(44===e.charCodeAt(ge)?(a=p,ge++):(a=r,0===ye&&xe(g)),a!==r&&Le()!==r&&(o=function(){var t,n,i,a,o;return e.substr(ge,6)===T?(t=T,ge+=6):(t=r,0===ye&&xe(z)),t===r&&(e.substr(ge,4)===L?(t=L,ge+=4):(t=r,0===ye&&xe(N)),t===r&&(e.substr(ge,4)===R?(t=R,ge+=4):(t=r,0===ye&&xe(F)),t===r&&(e.substr(ge,8)===V?(t=V,ge+=8):(t=r,0===ye&&xe(U)),t===r&&(e.substr(ge,7)===H?(t=H,ge+=7):(t=r,0===ye&&xe(B)),t===r&&(e.substr(ge,8)===q?(t=q,ge+=8):(t=r,0===ye&&xe($)),t===r&&(t=ge,n=ge,ye++,e.substr(ge,6)===v?(i=v,ge+=6):(i=r,0===ye&&xe(m)),ye--,i===r?n=void 0:(ge=n,n=r),n!==r?(i=ge,ye++,e.substr(ge,6)===C?(a=C,ge+=6):(a=r,0===ye&&xe(_)),ye--,a===r?i=void 0:(ge=i,i=r),i!==r?(a=ge,ye++,e.substr(ge,13)===w?(o=w,ge+=13):(o=r,0===ye&&xe(k)),ye--,o===r?a=void 0:(ge=a,a=r),a!==r&&(o=Pe())!==r&&(W(o)?void 0:r)!==r?t=n=o:(ge=t,t=r)):(ge=t,t=r)):(ge=t,t=r))))))),t}())!==r&&Le()!==r?((s=function(){var t,n,i,a;if(t=ge,Le()!==r)if(44===e.charCodeAt(ge)?(n=p,ge++):(n=r,0===ye&&xe(g)),n!==r){for(i=[],a=Se();a!==r;)i.push(a),a=Se();i!==r&&(a=(a=G())?void 0:r)!==r?t=function(e){return{tokens:e}}(i):(ge=t,t=r)}else ge=t,t=r;else ge=t,t=r;if(t===r)if(t=ge,Le()!==r)if(44===e.charCodeAt(ge)?(n=p,ge++):(n=r,0===ye&&xe(g)),n!==r){for(i=[],a=De();a!==r;)i.push(a),a=De();i!==r?t=function(e){return{tokens:[e.join("")]}}(i):(ge=t,t=r)}else ge=t,t=r;else ge=t,t=r;return t}())===r&&(s=null),s!==r?(125===e.charCodeAt(ge)?(c=h,ge++):(c=r,0===ye&&xe(f)),c!==r?t=n=function(e,t,n){return{type:"function",arg:e,ke
1y:t,param:n}}(i,o,s):(ge=t,t=r)):(ge=t,t=r)):(ge=t,t=r)):(ge=t,t=r),t}())===r&&(t=ge,35===e.charCodeAt(ge)?(n="#",ge++):(n=r,0===ye&&xe(s)),n!==r&&(i=(i=c())?void 0:r)!==r?t=n={type:"octothorpe"}:(ge=t,t=r),t===r)){if(t=ge,n=[],(i=Te())!==r)for(;i!==r;)n.push(i),i=Te();else n=r;n!==r&&(n=l(n)),t=n}return t}function Pe(){var t,n,i;if(ye++,t=ge,n=[],S.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===ye&&xe(P)),i!==r)for(;i!==r;)n.push(i),S.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===ye&&xe(P));else n=r;return t=n!==r?e.substring(t,ge):n,ye--,t===r&&(n=r,0===ye&&xe(O)),t}function Ee(){var e,t,n;return e=ge,Le()!==r&&(t=Pe())!==r&&Le()!==r&&(n=Ie())!==r?e=E(t,n):(ge=e,e=r),e}function Me(){var t,n,i;return t=ge,Le()!==r&&(n=function(){var t,n,i;return(t=Pe())===r&&(t=ge,61===e.charCodeAt(ge)?(n="=",ge++):(n=r,0===ye&&xe(A)),n!==r&&(i=ze())!==r?t=n=i:(ge=t,t=r)),t}())!==r&&Le()!==r&&(i=Ie())!==r?t=E(n,i):(ge=t,t=r),t}function Ie(){var t,n,i,a,o,s;if(t=ge,123===e.charCodeAt(ge)?(n=u,ge++):(n=r,0===ye&&xe(d)),n!==r)if(i=ge,(a=Le())!==r?(o=ge,ye++,123===e.charCodeAt(ge)?(s=u,ge++):(s=r,0===ye&&xe(d)),ye--,s!==r?(ge=o,o=void 0):o=r,o!==r?i=a=[a,o]:(ge=i,i=r)):(ge=i,i=r),i===r&&(i=null),i!==r){for(a=[],o=Se();o!==r;)a.push(o),o=Se();a!==r&&(o=Le())!==r?(125===e.charCodeAt(ge)?(s=h,ge++):(s=r,0===ye&&xe(f)),s!==r?t=n=a:(ge=t,t=r)):(ge=t,t=r)}else ge=t,t=r;else ge=t,t=r;return t}function De(){var t,n,i,a;if(ye++,t=ge,n=[],Z.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===ye&&xe(Y)),i!==r)for(;i!==r;)n.push(i),Z.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===ye&&xe(Y));else n=r;if(n!==r&&(n=function(e){return e.join("")}(n)),(t=n)===r&&(t=je())===r&&(t=ge,39===e.charCodeAt(ge)?(n="'",ge++):(n=r,0===ye&&xe(Q)),n!==r&&(i=Ae())!==r?(39===e.charCodeAt(ge)?(a="'",ge++):(a=r,0===ye&&xe(Q)),a!==r?t=n=i:(ge=t,t=r)):(ge=t,t=r),t===r))if(t=ge,123===e.charCodeAt(ge)?(n=u,ge++):(n=r,0===ye&&xe(d)),n!==r){for(i=[],a=De();a!==r;)i.push(a),a=De();i!==r?(125===e.charCodeAt(ge)?(a=h,ge++):(a=r,0===ye&&xe(f)),a!==r?t=n=function(e){return"{"+e.join("")+"}"}(i):(ge=t,t=r)):(ge=t,t=r)}else ge=t,t=r;return ye--,t===r&&(n=r,0===ye&&xe(X)),t}function je(){var t,n;return ye++,"''"===e.substr(ge,2)?(n="''",ge+=2):(n=r,0===ye&&xe(J)),n!==r&&(n="'"),ye--,(t=n)===r&&(n=r,0===ye&&xe(K)),t}function Ae(){var t,n,i;if((t=je())===r){if(t=ge,n=[],ee.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===ye&&xe(te)),i!==r)for(;i!==r;)n.push(i),ee.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===ye&&xe(te));else n=r;n!==r&&(n=l(n)),t=n}return t}function Te(){var t,n;return(t=je())===r&&(t=function(){var t,n,i,a,o,s;if(ye++,(t=function(){var t,n,i,a;if(t=ge,"'{"===e.substr(ge,2)?(n="'{",ge+=2):(n=r,0===ye&&xe(ne)),n!==r){for(i=[],a=Ae();a!==r;)i.push(a),a=Ae();i!==r?(39===e.charCodeAt(ge)?(a="'",ge++):(a=r,0===ye&&xe(Q)),a!==r?t=n=function(e){return"{"+e.join("")}(i):(ge=t,t=r)):(ge=t,t=r)}else ge=t,t=r;if(t===r)if(t=ge,"'}"===e.substr(ge,2)?(n="'}",ge+=2):(n=r,0===ye&&xe(ie)),n!==r){for(i=[],a=Ae();a!==r;)i.push(a),a=Ae();i!==r?(39===e.charCodeAt(ge)?(a="'",ge++):(a=r,0===ye&&xe(Q)),a!==r?t=n=function(e){return"}"+e.join("")}(i):(ge=t,t=r)):(ge=t,t=r)}else ge=t,t=r;return t}())===r){if(t=ge,n=ge,i=ge,"'#"===e.substr(ge,2)?(a="'#",ge+=2):(a=r,0===ye&&xe(ae)),a!==r){for(o=[],s=Ae();s!==r;)o.push(s),s=Ae();o!==r?(39===e.charCodeAt(ge)?(s="'",ge++):(s=r,0===ye&&xe(Q)),s!==r?i=a=function(e){return"#"+e.join("")}(o):(ge=i,i=r)):(ge=i,i=r)}else ge=i,i=r;i!==r&&(a=(a=c())?void 0:r)!==r?n=i=[i,a]:(ge=n,n=r),n!==r&&(n=function(e){return e[0]}(n)),(t=n)===r&&(39===e.charCodeAt(ge)?(t="'",ge++):(t=r,0===ye&&xe(Q)))}return ye--,t===r&&(n=r,0===ye&&xe(re)),t}())===r&&(t=ge,35===e.charCodeAt(ge)?(n="#",ge++):(n=r,0===ye&&xe(s)),n!==r&&(Ne[0]?r:void 0)!==r?t=n=n:(ge=t,t=r),t===r&&(t=function(){var t;return ye++,se.test(e.charAt(ge))?(t=e.charAt(ge),ge++):(t=r,0===ye&&xe(ce)),ye--,t===r&&0===ye&&xe(oe),t}())),t}function ze(){var t,n,i;if(ye++,t=ge,n=[],ue.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===ye&&xe(de)),i!==r)for(;i!==r;)n.push(i),ue.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===ye&&xe(de));else n=r;return t=n!==r?e.substring(t,ge):n,ye--,t===r&&(n=r,0===ye&&xe(le)),t}function Le(){var t,n,i;for(ye++,t=ge,n=[],fe.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===ye&&xe(pe));i!==r;)n.push(i),fe.test(e.charAt(ge))?(i=e.charAt(ge),ge++):(i=r,0===ye&&xe(pe));return t=n!==r?e.substring(t,ge):n,ye--,t===r&&(n=r,0===ye&&xe(he)),t}var Ne=[!1];if((n=o())!==r&&ge===e.length)return n;throw n!==r&&ge<e.length&&xe({type:"end"}),function(e,t,n){return new i(i.buildMessage(e,t),e,t,n)}(be,me<e.length?e.charAt(me):null,function(e,t){var n=ke(e),i=ke(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:i.line,column:i.column}}}(me,me<e.length?me+1:me))}}},function(e,t,n){var i,r,a=[{cardinal:["other"],ordinal:["other"]},{cardinal:["one","other"],ordinal:["other"]},{cardinal:["one","other"],ordinal:["one","other"]},{cardinal:["one","two","other"],ordinal:["other"]}];void 0===(r="function"==typeof(i={af:a[1],ak:a[1],am:a[1],ar:{cardinal:["zero","one","two","few","many","other"],ordinal:["other"]},ars:{cardinal:["zero","one","two","few","many","other"],ordinal:["other"]},as:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},asa:a[1],ast:a[1],az:{cardinal:["one","other"],ordinal:["one","few","many","other"]},be:{cardinal:["one","few","many","other"],ordinal:["few","other"]}
1,bem:a[1],bez:a[1],bg:a[1],bh:a[1],bm:a[0],bn:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},bo:a[0],br:{cardinal:["one","two","few","many","other"],ordinal:["other"]},brx:a[1],bs:{cardinal:["one","few","other"],ordinal:["other"]},ca:{cardinal:["one","other"],ordinal:["one","two","few","other"]},ce:a[1],cgg:a[1],chr:a[1],ckb:a[1],cs:{cardinal:["one","few","many","other"],ordinal:["other"]},cy:{cardinal:["zero","one","two","few","many","other"],ordinal:["zero","one","two","few","many","other"]},da:a[1],de:a[1],dsb:{cardinal:["one","two","few","other"],ordinal:["other"]},dv:a[1],dz:a[0],ee:a[1],el:a[1],en:{cardinal:["one","other"],ordinal:["one","two","few","other"]},eo:a[1],es:a[1],et:a[1],eu:a[1],fa:a[1],ff:a[1],fi:a[1],fil:a[2],fo:a[1],fr:a[2],fur:a[1],fy:a[1],ga:{cardinal:["one","two","few","many","other"],ordinal:["one","other"]},gd:{cardinal:["one","two","few","other"],ordinal:["one","two","few","other"]},gl:a[1],gsw:a[1],gu:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},guw:a[1],gv:{cardinal:["one","two","few","many","other"],ordinal:["other"]},ha:a[1],haw:a[1],he:{cardinal:["one","two","many","other"],ordinal:["other"]},hi:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},hr:{cardinal:["one","few","other"],ordinal:["other"]},hsb:{cardinal:["one","two","few","other"],ordinal:["other"]},hu:a[2],hy:a[2],ia:a[1],id:a[0],ig:a[0],ii:a[0],in:a[0],io:a[1],is:a[1],it:{cardinal:["one","other"],ordinal:["many","other"]},iu:a[3],iw:{cardinal:["one","two","many","other"],ordinal:["other"]},ja:a[0],jbo:a[0],jgo:a[1],ji:a[1],jmc:a[1],jv:a[0],jw:a[0],ka:{cardinal:["one","other"],ordinal:["one","many","other"]},kab:a[1],kaj:a[1],kcg:a[1],kde:a[0],kea:a[0],kk:{cardinal:["one","other"],ordinal:["many","other"]},kkj:a[1],kl:a[1],km:a[0],kn:a[1],ko:a[0],ks:a[1],ksb:a[1],ksh:{cardinal:["zero","one","other"],ordinal:["other"]},ku:a[1],kw:a[3],ky:a[1],lag:{cardinal:["zero","one","other"],ordinal:["other"]},lb:a[1],lg:a[1],lkt:a[0],ln:a[1],lo:{cardinal:["other"],ordinal:["one","other"]},lt:{cardinal:["one","few","many","other"],ordinal:["other"]},lv:{cardinal:["zero","one","other"],ordinal:["other"]},mas:a[1],mg:a[1],mgo:a[1],mk:{cardinal:["one","other"],ordinal:["one","two","many","other"]},ml:a[1],mn:a[1],mo:{cardinal:["one","few","other"],ordinal:["one","other"]},mr:{cardinal:["one","other"],ordinal:["one","two","few","other"]},ms:{cardinal:["other"],ordinal:["one","other"]},mt:{cardinal:["one","few","many","other"],ordinal:["other"]},my:a[0],nah:a[1],naq:a[3],nb:a[1],nd:a[1],ne:a[2],nl:a[1],nn:a[1],nnh:a[1],no:a[1],nqo:a[0],nr:a[1],nso:a[1],ny:a[1],nyn:a[1],om:a[1],or:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},os:a[1],pa:a[1],pap:a[1],pl:{cardinal:["one","few","many","other"],ordinal:["other"]},prg:{cardinal:["zero","one","other"],ordinal:["other"]},ps:a[1],pt:a[1],"pt-PT":a[1],rm:a[1],ro:{cardinal:["one","few","other"],ordinal:["one","other"]},rof:a[1],root:a[0],ru:{cardinal:["one","few","many","other"],ordinal:["other"]},rwk:a[1],sah:a[0],saq:a[1],sc:{cardinal:["one","other"],ordinal:["many","other"]},scn:{cardinal:["one","other"],ordinal:["many","other"]},sd:a[1],sdh:a[1],se:a[3],seh:a[1],ses:a[0],sg:a[0],sh:{cardinal:["one","few","other"],ordinal:["other"]},shi:{cardinal:["one","few","other"],ordinal:["other"]},si:a[1],sk:{cardinal:["one","few","many","other"],ordinal:["other"]},sl:{cardinal:["one","two","few","other"],ordinal:["other"]},sma:a[3],smi:a[3],smj:a[3],smn:a[3],sms:a[3],sn:a[1],so:a[1],sq:{cardinal:["one","other"],ordinal:["one","many","other"]},sr:{cardinal:["one","few","other"],ordinal:["other"]},ss:a[1],ssy:a[1],st:a[1],sv:a[2],sw:a[1],syr:a[1],ta:a[1],te:a[1],teo:a[1],th:a[0],ti:a[1],tig:a[1],tk:{cardinal:["one","other"],ordinal:["few","other"]},tl:a[2],tn:a[1],to:a[0],tr:a[1],ts:a[1],tzm:a[1],ug:a[1],uk:{cardinal:["one","few","many","other"],ordinal:["few","other"]},ur:a[1],uz:a[1],ve:a[1],vi:{cardinal:["other"],ordinal:["one","other"]},vo:a[1],vun:a[1],wa:a[1],wae:a[1],wo:a[0],xh:a[1],xog:a[1],yi:a[1],yo:a[0],yue:a[0],zh:a[0],zu:a[1]})?i.call(t,n,t,e):i)||(e.exports=r)},function(e,t){function n(e,t,n){var i={day:"numeric",month:"short",year:"numeric"};switch(n){case"full":i.weekday="long";case"long":i.month="long";break;case"short":i.month="numeric"}return new Date(e).toLocaleDateString(t,i)}
1e.exports=function(){return n}},function(e,t){function n(e){if(!isFinite(e))return String(e);var t="";e<0?(t="-",e=Math.abs(e)):e=Number(e);var n=e%60,i=[Math.round(n)===n?n:n.toFixed(3)];return e<60?i.unshift(0):(e=Math.round((e-i[0])/60),i.unshift(e%60),e>=60&&(e=Math.round((e-i[0])/60),i.unshift(e))),t+i.shift()+":"+i.map((function(e){return e<10?"0"+String(e):String(e)})).join(":")}e.exports=function(){return n}},function(e,t){e.exports=function(e){var t=(function(e,t,n){var i=n&&n.split(":")||[],r={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:i[1]&&i[1].trim()||CURRENCY,minimumFractionDigits:2,maximumFractionDigits:2}};return new Intl.NumberFormat(t,r[i[0]]||{}).format(e)}).toString().replace("CURRENCY",JSON.stringify(e.currency||"USD")).match(/\(([^)]*)\)[^{]*{([\s\S]*)}/);return new Function(t[1],t[2])}},function(e,t){function n(e,t,n){var i={second:"numeric",minute:"numeric",hour:"numeric"};switch(n){case"full":case"long":i.timeZoneName="short";break;case"short":delete i.second}return new Date(e).toLocaleTimeString(t,i)}e.exports=function(){return n}},function(e,t,n){"use strict";n.r(t);var i=n(1),r=n.n(i),a=n(2),o={break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},s={debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0};function c(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(e)&&!o[e])return t?"".concat(t,".").concat(e):e;var n=JSON.stringify(e);return t?t+"[".concat(n,"]"):n}function l(e){var t=e.trim().replace(/\W+/g,"_");return o[t]||s[t]||/^\d/.test(t)?"_"+t:t}var u=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^"));function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var h=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.mf=t,this.lc=null,this.locales={},this.runtime={},this.formatters={}}var t;return(t=[{key:"compile",value:function(e,t,n){var i=this;if("object"!=d(e)){this.lc=t;var r=n[t]||{cardinal:[],ordinal:[]};r.strict=!!this.mf.options.strictNumberSign;var o=Object(a.parse)(e,r).map((function(e){return i.token(e)}));return"function(d) { return ".concat(o.join(" + ")||'""',"; }")}var s={};for(var c in e){var l=n.hasOwnProperty(c)?c:t;s[c]=this.compile(e[c],l,n)}return s}},{key:"cases",value:function(e,t){var n=this,i="select"===e.type||!this.mf.hasCustomPluralFuncs,r=e.cases.map((function(e){var r=e.key;"other"===r&&(i=!1);var a=e.tokens.map((function(e){return n.token(e,t)}));return c(r)+": "+(a.join(" + ")||'""')}));if(i)throw new Error("No 'other' form found in "+JSON.stringify(e));return"{ ".concat(r.join(", ")," }")}},{key:"token",value:function(e,t){var n,i=this;if("string"==typeof e)return JSON.stringify(e);var r,a,o,s=[c(e.arg,"d")];switch(e.type){case"argument":return this.mf.options.biDiSupport?(r=s[0],a=u.test(this.lc),o=JSON.stringify(a?"\u200f":"\u200e"),"".concat(o," + ").concat(r," + ").concat(o)):s[0];case"select":n="select",t&&this.mf.options.strictNumberSign&&(t=null),s.push(this.cases(e,t)),this.runtime.select=!0;break;case"selectordinal":n="plural",s.push(0,l(this.lc),this.cases(e,e),1),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"plural":n="plural",s.push(e.offset||0,l(this.lc),this.cases(e,e)),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"function":if(!(e.key in this.mf.fmt)&&e.key in this.mf.constructor.formatters&&(this.mf.fmt[e.key]=(0,this.mf.constructor.formatters[e.key])(this.mf)),!this.mf.fmt[e.key])throw new Error("Formatting function ".concat(JSON.stringify(e.key)," not found!"));if(s.push(JSON.stringify(this.lc)),e.param){t&&this.mf.options.strictNumberSign&&(t=null);var d=e.param.tokens.map((function(e){return i.token(e,t)}));s.push("("+(d.join(" + ")||'""')+").trim()")}n=c(e.key,"fmt"),this.formatters[e.key]=!0;break;case"octothorpe":if(!t)return'"#"';n="number",s=[c(t.arg,"d"),JSON.stringify(t.arg)],t.offset&&s.push(t.offset),this.runtime.number=!0}if(!n)throw new Error("Parser error for token "+JSON.stringify(e));return"".concat(n,"(").concat(s.join(", "),")")}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}(),f=n(3),p=n.n(f),g=n(0),v=n.n(g);function m(e,t,n){var i=function(){return t.apply(this,arguments)};if(i.toString=function(){return t.toString()},n){var r=p.a[e]||{};i.cardinal=r.cardinal,i.ordinal=r.ordinal}else i.cardinal=[],i.ordinal=[];return i}function b(e,t){for(var n=t.pluralKeyChecks,i=String(e);i;i=i.replace(/[-_]?[^-_]*$/,"")){var r=v.a[i];if(r)return m(i,r,n)}throw new Error("Localisation function not found for locale "+JSON.stringify(e))}function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var C=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.plural=function(e,t,n,i,r){if({}.hasOwnProperty.call(i,e))return i[e];t&&(e-=t);var a=n(e,r);return a in i?i[a]:i.other},this.select=function(e,t){return{}.hasOwnProperty.call(t,e)?t[e]:t.other},this.mf=t,this.setStrictNumber(t.options.strictNumberSign)}var t;return(t=[{key:"setStrictNumber",value:function(t){this.number=t?e.strictNumber:e.defaultNumber}},{key:"toString",value:function(e,t){for(var n={},i=Object.keys(t.locales),r=0;r<i.length;++r){var a=i[r];n[l(a)]=e[a]}for(var o=Object.keys(t.runtime),s=0;s<o.length;++s){var u=o[s];n[u]=this[u]}var d=Object.keys(t.formatters);if(d.length>0){n.fmt={};for(var h=0;h<d.length;++h){var f=d[h];n.fmt[f]=this.mf.fmt[f]}}return function e(t,n){if("object"!=y(t)){var i=t.toString().replace(/^(function )\w*/,"$1"),r=/([ \t]*)\S.*$/.exec(i);return r?i.replace(new RegExp("^"+r[1],"mg"),""):i}var a=[];for(var o in t){var s=e(t[o],n+1);a.push(0===n?"var ".concat(o," = ").concat(s,";\n"):"".concat(c(o),": ").concat(s))}if(0===n)return a.join("");if(0===a.length)return"{}";for(var l="  ";--n;)l+="  ";var u=a.join(",\n").replace(/^/gm,l);return"{\n".concat(u,"\n}")}(n,0)}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,t),e}();function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}
1function k(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}C.defaultNumber=function(e,t,n){if(!n)return e;if(isNaN(e))throw new Error("Can't apply offset:"+n+" to argument `"+t+"` with non-numerical value "+JSON.stringify(e)+".");return e-n},C.strictNumber=function(e,t,n){if(isNaN(e))throw new Error("Argument `"+t+"` has non-numerical value "+JSON.stringify(e)+".");return e-(n||0)},n.d(t,"default",(function(){return x}));var x=function(){function e(t,n){var i=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=Object.assign({biDiSupport:!1,customFormatters:null,pluralKeyChecks:!0,strictNumberSign:!1},n),this.pluralFuncs={},"string"==typeof t)this.pluralFuncs[t]=b(t,this.options),this.defaultLocale=t;else if(Array.isArray(t))t.forEach((function(e){i.pluralFuncs[e]=b(e,i.options)})),this.defaultLocale=t[0];else{if(t)for(var r=Object.keys(t),a=0;a<r.length;++a){var o=r[a];if("function"!=typeof t[o]){var s="Expected function value for locale "+String(o);throw new Error(s)}this.pluralFuncs[o]=t[o],this.defaultLocale||(this.defaultLocale=o)}this.defaultLocale?this.hasCustomPluralFuncs=!0:(this.defaultLocale=e.defaultLocale,this.hasCustomPluralFuncs=!1)}this.fmt=Object.assign({},this.options.customFormatters),this.runtime=new C(this)}return k(e,null,[{key:"escape",value:function(e,t){var n=t?/[#{}]/g:/[{}]/g;return String(e).replace(n,"'$&'")}}]),k(e,[{key:"addFormatters",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;++n){var i=t[n];this.fmt[i]=e[i]}return this}},{key:"disablePluralKeyChecks",value:function(){for(var e in this.options.pluralKeyChecks=!1,this.pluralFuncs){var t=this.pluralFuncs[e];t&&(t.cardinal=[],t.ordinal=[])}return this}},{key:"setBiDiSupport",value:function(e){return this.options.biDiSupport=!!e||void 0===e,this}},{key:"setStrictNumberSign",value:function(e){return this.options.strictNumberSign=!!e||void 0===e,this.runtime.setStrictNumber(this.options.strictNumberSign),this}},{key:"compile",value:function(e,t){var n={};if(0===Object.keys(this.pluralFuncs).length)if(t){var i=b(t,this.options);if(!i){var r=JSON.stringify(t);throw new Error("Locale ".concat(r," not found!"))}n[t]=i}else t=this.defaultLocale,n=function(e){for(var t=e.pluralKeyChecks,n={},i=Object.keys(v.a),r=0;r<i.length;++r){var a=i[r];n[a]=m(a,v.a[a],t)}return n}(this.options);else if(t){var a=this.pluralFuncs[t];if(!a){var o=JSON.stringify(t),s=JSON.stringify(this.pluralFuncs);throw new Error("Locale ".concat(o," not found in ").concat(s,"!"))}n[t]=a}else t=this.defaultLocale,n=this.pluralFuncs;var u=new h(this),d=u.compile(e,t,n);if("object"!=_(e)){var f=new Function("number, plural, select, fmt",l(t),"return "+d),p=this.runtime;return f(p.number,p.plural,p.select,this.fmt,n[t])}var g=this.runtime.toString(n,u)+"\n",y=function e(t,n){if(n||(n=0),"object"!=_(t))return t;for(var i="",r=0;r<n;++r)i+="  ";var a=[];for(var o in t){var s=e(t[o],n+1);a.push("\n".concat(i,"  ").concat(c(o),": ").concat(s))}return"{".concat(a.join(","),"\n").concat(i,"}")}(d),C=new Function(g+"return "+y)();if(C.hasOwnProperty("toString"))throw new Error("The top-level message key `toString` is reserved");return C.toString=function(e){return e&&"export default"!==e?e.indexOf(".")>-1?g+e+" = "+y:g+["(function (root, G) {",'  if (typeof define === "function" && define.amd) { define(G); }','  else if (typeof exports === "object") { module.exports = G; }',"  else { "+c(e,"root")+" = G; }","})(this, "+y+");"].join("\n"):g+"export default "+y},C}}]),e}();x.defaultLocale="en",x.formatters=r.a}]).default},quSY:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i,r,a=n("DH7j"),o=n("XoHu"),s=n("n6bG"),c=function(){function e(e){return Error.call(this),this.message=e?"".concat(e.length," errors occurred during unsubscription:\n").concat(e.map((function(e,t){return"".concat(t+1,") ").concat(e.toString())})).join("\n  ")):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),l=((r=function(){function e(t){_classCallCheck(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return _createClass(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,i=this._unsubscribe,r=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var l=0;l<n.length;++l)n[l].remove(this);if(Object(s.a)(i))try{i.call(this)}catch(p){t=p instanceof c?u(p.errors):[p]}if(Object(a.a)(r))for(var d=-1,h=r.length;++d<h;){var f=r[d];if(Object(o.a)(f))try{f.unsubscribe()}catch(p){t=t||[],p instanceof c?t=t.concat(u(p.errors)):t.push(p)}}if(t)throw new c(t)}}},{key:"add",value:function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var i=n;(n=new e)._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var r=n._parentOrParents;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}var a=this._subscriptions;return null===a?this._subscriptions=[n]:a.push(n),n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}]),e}()).EMPTY=((i=new r).closed=!0,i),r);function u(e){return e.reduce((function(e,t){return e.concat(t instanceof c?t.errors:t)}),[])}},qy30:function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var i=n("3Pt+"),r=n("IzEk"),a=n("GJzE"),o=n("fXoL"),s=n("1kSV"),c=n("sYmb"),l=n("kBKH"),u=n("ofXK"),d=n("jCJ1");function h(e,t){if(1&e&&(o.Ec(0,"div",10),o.zd(1),o.Dc()),2&e){var n=o.Uc();o.jc(1),o.Bd(" ",n.renderSuccessMessage()," ")}}function f(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){var n=o.Uc(3);o.jc(1),o.Bd(" ",n.renderAttributeError("form-attribute-email","required")," ")}}function p(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){var n=o.Uc(3);o.jc(1),o.Bd(" ",n.renderAttributeError("form-attribute-email","email")," ")}}function g(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){var n=o.Uc(3);o.jc(1),o.Bd(" ",n.renderAttributeError("form-attribute-email","maxlength",n.modalForm.controls.userEmail.errors.maxlength)," ")}}function v(e,t){if(1&e&&(o.Ec(0,"div",24),o.xd(1,f,2,1,"div",6),o.xd(2,p,2,1,"div",6),o.xd(3,g,2,1,"div",6),o.Dc()),2&e){var n=o.Uc(2);o.jc(1),o.bd("ngIf",n.modalForm.controls.userEmail.errors.required),o.jc(1),o.bd("ngIf",n.modalForm.controls.userEmail.errors.email),o.jc(1),o.bd("ngIf",n.modalForm.controls.userEmail.errors.maxlength)}}function m(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){var n=o.Uc(3);o.jc(1),o.Bd(" ",n.renderAttributeError("form-attribute-login","required")," ")}}function b(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){var n=o.Uc(3);o.jc(1),o.Bd(" ",n.renderAttributeError("form-attribute-login","maxlength",n.modalForm.controls.userLogin.errors.maxlength)," ")}}function y(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){var n=o.Uc(3);o.jc(1),o.Bd(" ",n.renderAttributeError("form-attribute-login","minlength",n.modalForm.controls.userLogin.errors.minlength)," ")}}function C(e,t){if(1&e&&(o.Ec(0,"div",24),o.xd(1,m,2,1,"div",6),o.xd(2,b,2,1,"div",6),o.xd(3,y,2,1,"div",6),o.Dc()),2&e){var n=o.Uc(2);o.jc(1),o.bd("ngIf",n.modalForm.controls.userLogin.errors.required),o.jc(1),o.bd("ngIf",n.modalForm.controls.userLogin.errors.maxlength),o.jc(1),o.bd("ngIf",n.modalForm.controls.userLogin.errors.minlength)}}function _(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){var n=o.Uc(3);o.jc(1),o.Bd(" ",n.renderAttributeError("form-attribute-password","required")," ")}}function w(e,t){if(1&e&&(o.Ec(0,"div"),o.zd(1),o.Dc()),2&e){var n=o.Uc(3);o.jc(1),o.Bd(" ",n.renderAttributeError("form-attribute-password","minlength",n.modalForm.controls.userPassword.errors.minlength)," ")}}function k(e,t){if(1&e&&(o.Ec(0,"div",24),o.xd(1,_,2,1,"div",6),o.xd(2,w,2,1,"div",6),o.Dc()),2&e){var n=o.Uc(2);o.jc(1),o.bd("ngIf",n.modalForm.controls.userPassword.errors.required),o.jc(1),o.bd("ngIf",n.modalForm.controls.userPassword.errors.minlength)}}function x(e,t){if(1&e&&(o.Ec(0,"div",25),o.zd(1),o.Dc()),2&e){var n=o.Uc(2);o.jc(1),o.Bd(" ",n.formErrorMessage," ")}}function O(e,t){1&e&&o.zc(0,"span",26)}function S(e,t){1&e&&(o.Ec(0,"span",8),o.zd(1,"modal-sign-up-submit-label"),o.Dc())}function P(e,t){if(1&e){var n=o.Fc();o.Cc(0),o.Ec(1,"div",11),o.zd(2,"sign-up-message"),o.Dc(),o.Ec(3,"form",12),o.Qc("ngSubmit",(function(){return o.nd(n),o.Uc().onFormSubmit()})),o.Ec(4,"div",13),o.zc(5,"input",14),o.Vc(6,"translate"),o.xd(7,v,4,3,"div",15),o.Dc(),o.Ec(8,"div",13),o.zc(9,"input",16),o.Vc(10,"translate"),o.xd(11,C,4,3,"div",15),o.Dc(),o.Ec(12,"div",13),o.zc(13,"input",17),o.Vc(14,"translate"),o.xd(15,k,3,2,"div",15),o.Dc(),o.xd(16,x,2,1,"div",18),o.Ec(17,"div",19),o.zc(18,"re-captcha",20),o.Dc(),o.Ec(19,"button",21),o.xd(20,O,1,0,"span",22),o.xd(21,S,2,0,"span",23),o.Dc(),o.Dc(),o.Bc()}if(2&e){var i=o.Uc();o.jc(3),o.bd("formGroup",i.modalForm),o.jc(2),o.cd("placeholder",o.Wc(6,11,"form-attribute-email-prompt")),o.jc(2),o.bd("ngIf",i.isFormControlHasErrors("userEmail")),o.jc(2),o.cd("placeholder",o.Wc(10,13,"form-attribute-login")),o.jc(2),o.bd("ngIf",i.isFormControlHasErrors("userLogin")),o.jc(2),o.cd("placeholder",o.Wc(14,15,"form-attribute-password")),o.jc(2),o.bd("ngIf",i.isFormControlHasErrors("userPassword")),o.jc(1),o.bd("ngIf",i.formErrorMessage),o.jc(3),o.bd("disabled",!i.modalForm.valid),o.jc(1),o.bd("ngIf",i.isFormLoading),o.jc(1),o.bd("ngIf",!i.isFormLoading)}}var E=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s){var c;return _classCallCheck(this,n),(c=t.call(this,e,i,r,a,o)).modal=e,c.authModalsService=i,c.translateService=r,c.formBuilder=a,c.authService=o,c.siteConfigService=s,c.isFormLoading=!1,c.formErrorMessage="",c.isSignUpSuccessful=!1,c}return _createClass(n,[{key:"onFormSubmit",value:function(){var e=this;
1if(!this.modalForm.invalid){this.formErrorMessage="",this.isFormLoading=!0,this.isSignUpSuccessful=!1;var t=this.modalForm.value,n=t.userLogin,i=t.userPassword,a=t.userEmail,o=t.reCaptcha;this.authService.signUp(n,i,a,o).pipe(Object(r.a)(1)).subscribe({next:function(){e.isSignUpSuccessful=!0,e.isFormLoading=!1},error:function(t){e.formErrorMessage=t.join(", "),e.isFormLoading=!1}})}}},{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this)}},{key:"renderSuccessMessage",value:function(){return this.translateService.instant("sign-up-success-message",{username:this.modalForm.get("userLogin").value,site:this.siteConfigService.instantMainConfig.siteUrl})}},{key:"buildModalForm",value:function(){return this.formBuilder.group({userEmail:["",[i.D.required,i.D.email,i.D.maxLength(255)]],userLogin:["",[i.D.required,i.D.minLength(2),i.D.maxLength(255)]],userPassword:["",[i.D.required,i.D.minLength(6)]],reCaptcha:[null,[i.D.required]]})}}]),n}(a.m);return e.\u0275fac=function(t){return new(t||e)(o.yc(s.b),o.yc(a.e),o.yc(c.e),o.yc(i.f),o.yc(a.f),o.yc(l.c))},e.\u0275cmp=o.sc({type:e,selectors:[["app-sign-up-modal"]],features:[o.gc],decls:16,vars:2,consts:[[1,"modal-header"],["translate","",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],["class","text-green h3",4,"ngIf"],[4,"ngIf"],[1,"text-center"],["translate",""],["type","button","translate","",1,"btn","btn--sm","btn--link",3,"click"],[1,"text-green","h3"],["translate","",1,"text-center","mb-3"],[3,"formGroup","ngSubmit"],[1,"form-group"],["type","text","formControlName","userEmail",1,"form-control",3,"placeholder"],["class","error-hint",4,"ngIf"],["type","text","formControlName","userLogin",1,"form-control",3,"placeholder"],["type","password","formControlName","userPassword",1,"form-control",3,"placeholder"],["class","error-hint text-center mb-3",4,"ngIf"],[2,"transform","scale(0.8)","transform-origin","0"],["formControlName","reCaptcha"],["type","submit",1,"btn","btn--primary","btn--block",3,"disabled"],["class","btn__loader",4,"ngIf"],["translate","",4,"ngIf"],[1,"error-hint"],[1,"error-hint","text-center","mb-3"],[1,"btn__loader"]],template:function(e,t){1&e&&(o.Ec(0,"div",0),o.Ec(1,"h4",1),o.zd(2,"sign-up-label"),o.Dc(),o.Ec(3,"button",2),o.Qc("click",(function(){return t.modal.dismiss("Cross click")})),o.Ec(4,"span",3),o.zd(5,"\xd7"),o.Dc(),o.Dc(),o.Dc(),o.Ec(6,"div",4),o.xd(7,h,2,1,"div",5),o.xd(8,P,22,17,"ng-container",6),o.zc(9,"hr"),o.Ec(10,"div",7),o.Ec(11,"span",8),o.zd(12,"modal-sign-in-prompt"),o.Dc(),o.zd(13,"\xa0 "),o.Ec(14,"button",9),o.Qc("click",(function(){return t.authModalsService.openSignInModal()})),o.zd(15," form-attribute-login "),o.Dc(),o.Dc(),o.Dc()),2&e&&(o.jc(7),o.bd("ngIf",t.isSignUpSuccessful),o.jc(1),o.bd("ngIf",!t.isSignUpSuccessful))},directives:[c.b,u.u,i.F,i.q,i.i,i.c,i.p,i.h,d.c,d.g],pipes:[c.d],styles:[".modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{background-color:transparent;border:0;font-size:24px}.form-group[_ngcontent-%COMP%]{position:relative;margin-bottom:16px}.form-control[_ngcontent-%COMP%]{width:100%;height:40px;line-height:40px;padding:0 10px;border:1px solid rgba(50,50,50,.15);border-radius:3px;font-size:16px;transition:all .3s ease-out}.form-control[_ngcontent-%COMP%]::-moz-placeholder{color:rgba(50,50,50,.35)}.form-control[_ngcontent-%COMP%]::placeholder{color:rgba(50,50,50,.35)}.form-control[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--green-primary)}.form-control.ng-invalid.ng-touched[_ngcontent-%COMP%]{border-color:#e74c3c}.error-hint[_ngcontent-%COMP%]{margin-top:4px;font-size:12px;color:#e74c3c}.auth-block[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-around}.auth-block[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:0 1 135px}"]}),e}()},"r//d":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("fXoL"),r=n("GJzE"),a=["data-main-title",""],o=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.titleDataService=t,this.hostRef=n,this.renderer=i,this.isHidden=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this,t=this.hostRef.nativeElement,n=this.renderer.parentNode(t),i=null!==t.nextElementSibling,r=i?t.nextElementSibling:t.previousElementSibling;this.titleSubscription=this.titleDataService.titleLabel.subscribe((function(a){e.title=a,0===e.title.length?(e.renderer.removeChild(n,t),e.isHidden=!0):e.isHidden&&(i?e.renderer.insertBefore(n,t,r):e.renderer.appendChild(n,t),e.isHidden=!1)}))}},{key:"ngOnDestroy",value:function(){this.titleSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.yc(r.xb),i.yc(i.q),i.yc(i.L))},e.\u0275cmp=i.sc({type:e,selectors:[["h1","data-main-title",""]],attrs:a,decls:1,vars:1,template:function(e,t){1&e&&i.zd(0),2&e&&i.Ad(t.title)},encapsulation:2}),e}()},s1DB:function(e,t,n){"use strict";n.d(t,"m",(function(){return i})),n.d(t,"x",(function(){return s})),n.d(t,"u",(function(){return d})),n.d(t,"v",(function(){return h.a})),n.d(t,"i",(function(){return f})),n.d(t,"j",(function(){return b})),n.d(t,"r",(function(){return y}
1)),n.d(t,"l",(function(){return C.a})),n.d(t,"s",(function(){return C.b})),n.d(t,"p",(function(){return _})),n.d(t,"q",(function(){return w.a})),n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return x.a})),n.d(t,"f",(function(){return O.a})),n.d(t,"e",(function(){return P})),n.d(t,"n",(function(){return E})),n.d(t,"w",(function(){return M})),n.d(t,"k",(function(){return I})),n.d(t,"t",(function(){return D})),n.d(t,"h",(function(){return j})),n.d(t,"g",(function(){return A})),n.d(t,"o",(function(){return T})),n.d(t,"a",(function(){return V})),n.d(t,"b",(function(){return U.a}));var i=function(e){return e[e.Standard=0]="Standard",e[e.Lux=1]="Lux",e[e.Premium=2]="Premium",e[e.Platinum=3]="Platinum",e}({}),r=function e(t,n){_classCallCheck(this,e),this.address=t,this.phones=n},a=function e(t){_classCallCheck(this,e),this.phones=t},o=function e(t,n,i,r,a,o,s,c,l,u,d,h,f,p,g,v,m){_classCallCheck(this,e),this.id=t,this.title=n,this.iconsSet=i,this.mainUrl=r,this.logoUrl=a,this.firstAddress=o,this.actualAddresses=s,this.firstPhotoAlbum=c,this.averageRating=l,this.actualViewsCount=u,this.previousViewsCount=d,this.mainRubric=h,this.actualRubrics=f,this.commentsCount=p,this.lastFeedback=g,this.allFeedbacks=v,this.actualProductRubrics=m};function s(e){var t=new o(e.id);if(e.iconsSet)switch(e.iconsSet){case"lux":e.iconsSet=i.Lux;break;case"premium":e.iconsSet=i.Premium;break;case"platinum":e.iconsSet=i.Platinum;break;case"standard":default:e.iconsSet=i.Standard}return e.firstAddress&&(e.firstAddress=function(e){var t=new a;return Object.assign(t,e),t}(e.firstAddress)),void 0!==e.actualAddresses&&e.actualAddresses.length>0&&(t.actualAddresses=[],e.actualAddresses.forEach((function(n,i){t.actualAddresses.push(function(e){return new r(e.address,e.phones)}(e.actualAddresses[i]))}))),Object.assign(t,e),t}var c,l,u=n("ehPC"),d=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c){var l;return _classCallCheck(this,n),(l=t.call(this,e,i,r)).width=e,l.height=i,l.pEmptyAction=r,l.label=a,l.itemsCount=o,l.addCompanyLabel=s,l.addCompanyLink=c,l.pType=u.R.TopCompanies,l}return _createClass(n,[{key:"getComponent",value:function(){return h.a}}]),n}(u.i),h=n("YLoO"),f=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i,r)).width=e,o.height=i,o.pEmptyAction=r,o.itemsCount=a,o.pType=u.R.CompanyLogos,o}return _createClass(n,[{key:"getComponent",value:function(){return b}}]),n}(u.i),p=n("PqYM"),g=n("IzEk"),v=n("AytR"),m=n("fXoL"),b=((c=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).emptyWidgetProcessorsFactory=e,a.injector=i,a.companiesLogosService=r,a}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.companiesLogosService.getNextCompanyLogos(this.widget.itemsCount).pipe(Object(g.a)(1)).subscribe((function(t){e.models=t,null!==t?e.emitHasData():e.emitEmptyData();var n=function(){e.emitComponentLoaded()};v.a.useLoadingDelay?Object(p.a)(1500).subscribe(n):n()}))}}]),n}(u.j)).\u0275fac=function(e){return new(e||c)(m.yc(u.A,8),m.yc(m.w),m.yc(I))},c.\u0275cmp=m.sc({type:c,selectors:[["app-shared-company-logos"]],features:[m.gc],decls:0,vars:0,template:function(e,t){},encapsulation:2}),c),y=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s){var c;return _classCallCheck(this,n),(c=t.call(this,e,i,r)).width=e,c.height=i,c.pEmptyAction=r,c.label=a,c.onlyForRubrics=o,c.cards=s,c.pType=u.R.PopularPlaces,c}return _createClass(n,[{key:"getComponent",value:function(){return C.b}}]),n}(u.i),C=n("2KnI"),_=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e)).width=e,i.pType=u.q.PopularCompany,i}return _createClass(n,[{key:"getComponent",value:function(){return w.a}}]),n}(u.c),w=n("sZf8"),k=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o,s,c){var l;return _classCallCheck(this,n),(l=t.call(this,e,i,r)).width=e,l.height=i,l.pEmptyAction=r,l.useScrollSpy=a,l.itemsCount=o,l.pageSize=s,l.cards=c,l.pType=u.R.CompaniesList,l}return _createClass(n,[{key:"getComponent",value:function(){return x.a}}]),n}(u.i),x=n("EYhJ"),O=n("srhf"),S=n("DG55"),P=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e)).width=e,i.pType=S.b.CompanyCard,i}return _createClass(n,[{key:"getComponent",value:function(){return O.a}}]),n}(S.a),E=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).width=e,r.id=i,r.pType=u.q.PayedCompany,r}return _createClass(n,[{key:"getComponent",value:function(){return w.a}}]),n}(u.c),M=new m.v("Companies service with TOP companies"),I=new m.v("Companies service with companies LOGOS"),D=new m.v("Companies service with popular places"),j=new m.v("Companies service with company cards"),A=new m.v("Paged cards for c
1ompany cards widget"),T=new m.v("Service for payed companies"),z=n("LRne"),L=n("lJxs"),N=n("fujP"),R=n("GJzE"),F=n("tk/3"),V=((l=function(){function e(t,n,i){_classCallCheck(this,e),this.http=t,this.transferStateService=n,this.siteApiHostInfo=i}return _createClass(e,[{key:"doCompoundRequest",value:function(e){var t,n,i,r,a,o={request:{}};if((null===(t=e.topCompanies)||void 0===t?void 0:t.count)>0){var s={count:e.topCompanies.count};void 0!==e.topCompanies.forCurrentMonth&&(s.forCurrentMonth=e.topCompanies.forCurrentMonth),e.topCompanies.catalogRubricType&&(s.catalogRubricType=e.topCompanies.catalogRubricType),o.request.topCompanies={filter:s,fields:e.topCompanies.fields.join()}}if((null===(n=e.logoCompanies)||void 0===n?void 0:n.count)>0&&(o.request.logoCompanies={filter:{count:e.logoCompanies.count},fields:e.logoCompanies.fields.join()}),(null===(i=e.popularCompanies)||void 0===i?void 0:i.count)>0){var c={count:e.popularCompanies.count};null!==e.popularCompanies.onlyForRubrics&&(c.onlyRubricIds=e.popularCompanies.onlyForRubrics),e.popularCompanies.onlyPayed&&(c.onlyPayed=!0),o.request.popularCompanies={filter:c,extraParams:{sort:"-byAverageRating"},fields:e.popularCompanies.fields.join()}}if((null===(r=e.companies)||void 0===r?void 0:r.count)>0){var l={count:e.companies.count};e.companies.onlyPayed&&(l.onlyPayed=!0),o.request.companies={filter:l,extraParams:{sort:"-byActualViews,-byAverageRating"},fields:e.companies.fields.join()}}(null===(a=e.payedCompanies)||void 0===a?void 0:a.payedCardsIds.length)>0&&(o.request.payedCompanies={filter:{siteLayoutId:4,payedCardIds:e.payedCompanies.payedCardsIds},fields:e.payedCompanies.fields.join()});var u=Object(R.Hb)(o),d=this.transferStateService.makeStateKey("companies-models-"+u);return this.transferStateService.hasKey(d)?Object(z.a)(this.buildCompoundCompanies(this.transferStateService.restoreData(d,null))):(Object.keys(o.request).length>0?this.http.get(this.siteApiHostInfo+"api3/companies/compound",{params:u}):Object(z.a)({})).pipe(Object(R.Tb)(this.transferStateService,d),Object(L.a)(this.buildCompoundCompanies))}},{key:"doSimpleCardsCompanyRequest",value:function(e,t){var n={template:"default",expand:t.join()};Object(N.a)(e)||(n=Object.assign(Object.assign({},n),e));var i=Object(R.Hb)(n),r=this.transferStateService.makeStateKey("companies-models-"+i);return this.http.get(this.siteApiHostInfo+"api3/companies",{params:i}).pipe(Object(R.Tb)(this.transferStateService,r),Object(L.a)((function(e){var t=e.companies.map(s);return new R.ob(t,e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount)})))}},{key:"buildCompoundCompanies",value:function(e){var t=function(e,t){return new R.ob(e.companies.map(t),e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount)};if(e.topCompanies&&(e.topCompanies=e.topCompanies.map(s)),e.logoCompanies&&(e.logoCompanies=e.logoCompanies.map(s)),e.payedCompanies){for(var n=new Map,i=0,r=Object.entries(e.payedCompanies);i<r.length;i++){var a=_slicedToArray2(r[i],2),o=a[0],c=a[1];n.set(Number(o),c?s(c):null)}e.payedCompanies=n}return e.popularCompanies&&(e.popularCompanies=Array.isArray(e.popularCompanies)?e.popularCompanies.map(s):t(e.popularCompanies,s)),e.companies&&(e.companies=Array.isArray(e.companies)?e.companies.map(s):t(e.companies,s)),e}}]),e}()).\u0275fac=function(e){return new(e||l)(m.Mc(F.b),m.Mc(R.yb),m.Mc(R.hb))},l.\u0275prov=m.uc({token:l,factory:l.\u0275fac,providedIn:"root"}),l),U=n("sbEe")},"s8G/":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var i,r,a=n("sYmb"),o=n("fXoL"),s=(n("mrSG"),n("qkWt")),c=new o.v("MESSAGE_FORMAT_CONFIG"),l={biDiSupport:!1,formatters:void 0,locales:void 0,strictNumberSign:!1,disablePluralKeyChecks:!1},u={compiler:{provide:a.a,useClass:(i=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;_classCallCheck(this,n),i=t.call(this);var r=Object.assign(Object.assign({},l),e),a=r.locales,o=r.formatters,c=r.biDiSupport,u=r.strictNumberSign,d=r.disablePluralKeyChecks;return i.messageFormat=new s(a),o&&i.messageFormat.addFormatters(o),c&&i.messageFormat.setBiDiSupport(c),u&&i.messageFormat.setStrictNumberSign(u),d&&i.messageFormat.disablePluralKeyChecks(),i}
1return _createClass(n,[{key:"compile",value:function(e,t){return this.messageFormat.compile(e,t)}},{key:"compileTranslations",value:function(e,t){return this.messageFormat.compile(e,t)}}]),n}(a.a),i.\u0275fac=function(e){return new(e||i)(o.Mc(c,8))},i.\u0275prov=o.uc({token:i,factory:i.\u0275fac}),i)}},d=((r=function e(){_classCallCheck(this,e)}).\u0275mod=o.wc({type:r}),r.\u0275inj=o.vc({factory:function(e){return new(e||r)},imports:[[a.c.forChild(Object.assign(Object.assign({},u),{isolate:!1}))],a.c]}),r)},sVev:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}()},sYmb:function(e,t,n){"use strict";n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return B})),n.d(t,"c",(function(){return $})),n.d(t,"d",(function(){return q})),n.d(t,"e",(function(){return H}));var i=n("fXoL"),r=n("LRne"),a=n("HDdC");function o(e){return!!e&&(e instanceof a.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var s,c,l=n("cp0P"),u=n("GyhO"),d=n("NXyV"),h=n("IzEk"),f=n("UXun"),p=n("lJxs"),g=n("bOdf"),v=n("eIep"),m=function e(){_classCallCheck(this,e)},b=((s=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTranslation",value:function(e){return Object(r.a)({})}}]),n}(m)).\u0275fac=function(e){return y(e||s)},s.\u0275prov=i.uc({token:s,factory:s.\u0275fac}),s),y=i.Gc(b),C=function e(){_classCallCheck(this,e)},_=((c=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"handle",value:function(e){return e.key}}]),e}()).\u0275fac=function(e){return new(e||c)},c.\u0275prov=i.uc({token:c,factory:c.\u0275fac}),c);function w(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,i,r,a=typeof e;if(a==typeof t&&"object"==a){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(i in r=Object.create(null),e){if(!w(e[i],t[i]))return!1;r[i]=!0}for(i in t)if(!(i in r)&&void 0!==t[i])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(i=0;i<n;i++)if(!w(e[i],t[i]))return!1;return!0}}return!1}function k(e){return null!=e}function x(e){return e&&"object"==typeof e&&!Array.isArray(e)}var O,S,P,E,M,I,D=function e(){_classCallCheck(this,e)},j=((O=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).templateMatcher=/{{\s?([^{}\s]*)\s?}}/g,e}return _createClass(n,[{key:"interpolate",value:function(e,t){return"string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e}},{key:"getValue",value:function(e,t){var n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!k(e)||!k(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}},{key:"interpolateFunction",value:function(e,t){return e(t)}},{key:"interpolateString",value:function(e,t){var n=this;return t?e.replace(this.templateMatcher,(function(e,i){var r=n.getValue(t,i);return k(r)?r:e})):e}}]),n}(D)).\u0275fac=function(e){return A(e||O)},O.\u0275prov=i.uc({token:O,factory:O.\u0275fac}),O),A=i.Gc(j),T=function e(){_classCallCheck(this,e)},z=((S=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"compile",value:function(e,t){return e}},{key:"compileTranslations",value:function(e,t){return e}}]),n}(T)).\u0275fac=function(e){return L(e||S)},S.\u0275prov=i.uc({token:S,factory:S.\u0275fac}),S),L=i.Gc(z),N=function e(){_classCallCheck(this,e),this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.s,this.onLangChange=new i.s,this.onDefaultLangChange=new i.s},R=new i.v("USE_STORE"),F=new i.v("USE_DEFAULT_LANG"),V=new i.v("DEFAULT_LANGUAGE"),U=new i.v("USE_EXTEND"),H=((I=function(){function e(t,n,r,a,o){var s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],c=arguments.length>6&&void 0!==arguments[6]&&arguments[6],l=arguments.length>7&&void 0!==arguments[7]&&arguments[7],u=arguments.length>8?arguments[8]:void 0;_classCallCheck(this,e),this.store=t,this.currentLoader=n,this.compiler=r,this.parser=a,this.missingTranslationHandler=o,this.useDefaultLang=s,this.isolate=c,this.extend=l,this.pending=!1,this._onTranslationChange=new i.s,this._onLangChange=new i.s,this._onDefaultLangChange=new i.s,this._langs=[],this._translations={},this._translationRequests={},u&&this.setDefaultLang(u)}return _createClass(e,[{key:"setDefaultLang",value:function(e){var t=this;if(e!==this.defaultLang){var n=this.retrieveTranslations(e);void 0!==n?(null==this.defaultLang&&(this.defaultLang=e),n.pipe(Object(h.a)(1)).subscribe((function(n){t.changeDefaultLang(e)}))):this.changeDefaultLang(e)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(e){var t=this;if(e===this.currentLang)return Object(r.a)(this.translations[e]);var n=this.retrieveTranslations(e);return void 0!==n?(this.currentLang||(this.currentLang=e),n.pipe(Object(h.a)(1)).subscribe((function(n){t.changeLang(e)})),n):(this.changeLang(e),Object(r.a)(this.translations[e]))}},{key:"retrieveTranslations",value:function(e){var t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}},{key:"getTranslation",value:function(e){var t=this;this.pending=!0;var n=this.currentLoader.getTranslation(e).pipe(Object(f.a)(1),Object(h.a)(1));return this.loadingTranslations=n.pipe(Object(p.a)((function(n){return t.compiler.compileTranslations(n,e)})),Object(f.a)(1),Object(h.a)(1)),this.loadingTranslations.subscribe({next:function(n){t.translations[e]=t.extend&&t.translations[e]?Object.assign(Object.assign({},n),t.translations[e]):n,t.updateLangs(),t.pending=!1},error:function(e){t.pending=!1}}),n}},{key:"setTranslation",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t=this.compiler.compileTranslations(t,e),this.translations[e]=(n||this.extend)&&this.translations[e]?function e(t,n){var i=Object.assign({},t);
1return x(t)&&x(n)&&Object.keys(n).forEach((function(r){x(n[r])&&r in t?i[r]=e(t[r],n[r]):Object.assign(i,_defineProperty2({},r,n[r]))})),i}(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(e){var t=this;e.forEach((function(e){-1===t.langs.indexOf(e)&&t.langs.push(e)}))}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(e,t,n){var i;if(t instanceof Array){var a,s={},c=!1,u=_createForOfIteratorHelper(t);try{for(u.s();!(a=u.n()).done;){var d=a.value;s[d]=this.getParsedResult(e,d,n),o(s[d])&&(c=!0)}}catch(g){u.e(g)}finally{u.f()}if(c){var h=t.map((function(e){return o(s[e])?s[e]:Object(r.a)(s[e])}));return Object(l.a)(h).pipe(Object(p.a)((function(e){var n={};return e.forEach((function(e,i){n[t[i]]=e})),n})))}return s}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===i){var f={key:t,translateService:this};void 0!==n&&(f.interpolateParams=n),i=this.missingTranslationHandler.handle(f)}return void 0!==i?i:t}},{key:"get",value:function(e,t){var n=this;if(!k(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Object(g.a)((function(i){return o(i=n.getParsedResult(i,e,t))?i:Object(r.a)(i)})));var i=this.getParsedResult(this.translations[this.currentLang],e,t);return o(i)?i:Object(r.a)(i)}},{key:"getStreamOnTranslationChange",value:function(e,t){var n=this;if(!k(e)||!e.length)throw new Error('Parameter "key" required');return Object(u.a)(Object(d.a)((function(){return n.get(e,t)})),this.onTranslationChange.pipe(Object(v.a)((function(i){var a=n.getParsedResult(i.translations,e,t);return"function"==typeof a.subscribe?a:Object(r.a)(a)}))))}},{key:"stream",value:function(e,t){var n=this;if(!k(e)||!e.length)throw new Error('Parameter "key" required');return Object(u.a)(Object(d.a)((function(){return n.get(e,t)})),this.onLangChange.pipe(Object(v.a)((function(i){var a=n.getParsedResult(i.translations,e,t);return o(a)?a:Object(r.a)(a)}))))}},{key:"instant",value:function(e,t){if(!k(e)||!e.length)throw new Error('Parameter "key" required');var n=this.getParsedResult(this.translations[this.currentLang],e,t);if(o(n)){if(e instanceof Array){var i={};return e.forEach((function(t,n){i[e[n]]=e[n]})),i}return e}return n}},{key:"set",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}},{key:"changeLang",value:function(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}},{key:"changeDefaultLang",value:function(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}},{key:"reloadLang",value:function(e){return this.resetLang(e),this.getTranslation(e)}},{key:"resetLang",value:function(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return void 0!==(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage)?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}},{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(e){this.isolate?this._currentLang=e:this.store.currentLang=e}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(e){this.isolate?this._langs=e:this.store.langs=e}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations}
1,set:function(e){this.isolate?this._translations=e:this.store.translations=e}}]),e}()).\u0275fac=function(e){return new(e||I)(i.Mc(N),i.Mc(m),i.Mc(T),i.Mc(D),i.Mc(C),i.Mc(F),i.Mc(R),i.Mc(U),i.Mc(V))},I.\u0275prov=i.uc({token:I,factory:I.\u0275fac}),I),B=((M=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this.translateService=t,this.element=n,this._ref=i,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe((function(e){e.lang===r.translateService.currentLang&&r.checkNodes(!0,e.translations)}))),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe((function(e){r.checkNodes(!0,e.translations)}))),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe((function(e){r.checkNodes(!0)})))}return _createClass(e,[{key:"ngAfterViewChecked",value:function(){this.checkNodes()}},{key:"checkNodes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,n=this.element.nativeElement.childNodes;n.length||(this.setContent(this.element.nativeElement,this.key),n=this.element.nativeElement.childNodes);for(var i=0;i<n.length;++i){var r=n[i];if(3===r.nodeType){var a=void 0;if(e&&(r.lastKey=null),k(r.lookupKey))a=r.lookupKey;else if(this.key)a=this.key;else{var o=this.getContent(r),s=o.trim();s.length&&(r.lookupKey=s,o!==r.currentValue?(a=s,r.originalContent=o||r.originalContent):r.originalContent?a=r.originalContent.trim():o!==r.currentValue&&(a=s,r.originalContent=o||r.originalContent))}this.updateValue(a,r,t)}}}},{key:"updateValue",value:function(e,t,n){var i=this;if(e){if(t.lastKey===e&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;var r=function(n){n!==e&&(t.lastKey=e),t.originalContent||(t.originalContent=i.getContent(t)),t.currentValue=k(n)?n:t.originalContent||e,i.setContent(t,i.key?t.currentValue:t.originalContent.replace(e,t.currentValue)),i._ref.markForCheck()};if(k(n)){var a=this.translateService.getParsedResult(n,e,this.currentParams);o(a)?a.subscribe(r):r(a)}else this.translateService.get(e,this.currentParams).subscribe(r)}}},{key:"getContent",value:function(e){return k(e.textContent)?e.textContent:e.data}},{key:"setContent",value:function(e,t){k(e.textContent)?e.textContent=t:e.data=t}},{key:"ngOnDestroy",value:function(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}},{key:"translate",set:function(e){e&&(this.key=e,this.checkNodes())}},{key:"translateParams",set:function(e){w(this.currentParams,e)||(this.currentParams=e,this.checkNodes(!0))}}]),e}()).\u0275fac=function(e){return new(e||M)(i.yc(H),i.yc(i.q),i.yc(i.j))},M.\u0275dir=i.tc({type:M,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),M),q=((E=function(){function e(t,n){_classCallCheck(this,e),this.translate=t,this._ref=n,this.value=""}return _createClass(e,[{key:"updateValue",value:function(e,t,n){var i=this,r=function(t){i.value=void 0!==t?t:e,i.lastKey=e,i._ref.markForCheck()};if(n){var a=this.translate.getParsedResult(n,e,t);o(a.subscribe)?a.subscribe(r):r(a)}this.translate.get(e,t).subscribe(r)}},{key:"transform",value:function(e){var t,n=this;if(!e||!e.length)return e;for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];if(w(e,this.lastKey)&&w(r,this.lastParams))return this.value;if(k(r[0])&&r.length)if("string"==typeof r[0]&&r[0].length){var o=r[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{t=JSON.parse(o)}catch(s){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: "+r[0])}}else"object"!=typeof r[0]||Array.isArray(r[0])||(t=r[0]);return this.lastKey=e,this.lastParams=r,this.updateValue(e,t),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe((function(i){n.lastKey&&i.lang===n.translate.currentLang&&(n.lastKey=null,n.updateV
1alue(e,t,i.translations))}))),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe((function(i){n.lastKey&&(n.lastKey=null,n.updateValue(e,t,i.translations))}))),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe((function(){n.lastKey&&(n.lastKey=null,n.updateValue(e,t))}))),this.value}},{key:"_dispose",value:function(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}},{key:"ngOnDestroy",value:function(){this._dispose()}}]),e}()).\u0275fac=function(e){return new(e||E)(i.yc(H),i.Oc())},E.\u0275pipe=i.xc({name:"translate",type:E,pure:!1}),E.\u0275prov=i.uc({token:E,factory:E.\u0275fac}),E),$=((P=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:m,useClass:b},t.compiler||{provide:T,useClass:z},t.parser||{provide:D,useClass:j},t.missingTranslationHandler||{provide:C,useClass:_},N,{provide:R,useValue:t.isolate},{provide:F,useValue:t.useDefaultLang},{provide:U,useValue:t.extend},{provide:V,useValue:t.defaultLanguage},H]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:m,useClass:b},t.compiler||{provide:T,useClass:z},t.parser||{provide:D,useClass:j},t.missingTranslationHandler||{provide:C,useClass:_},{provide:R,useValue:t.isolate},{provide:F,useValue:t.useDefaultLang},{provide:U,useValue:t.extend},{provide:V,useValue:t.defaultLanguage},H]}}}]),e}()).\u0275mod=i.wc({type:P}),P.\u0275inj=i.vc({factory:function(e){return new(e||P)}}),P)},sZf8:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var i=n("fXoL"),r=n("PqYM"),a=n("lJxs"),o=n("LrWZ"),s=n("s1DB"),c=n("ehPC"),l=n("AytR"),u=n("ofXK"),d=n("pI7v"),h=n("wf0l"),f=n("OevD"),p=["insertPoint"],g=["fullCard"],v=["halfCard"];function m(e,t){if(1&e&&i.zc(0,"app-placeholder",4),2&e){var n=i.Uc();i.bd("width",n.card.width)("height",1)}}function b(e,t){if(1&e&&i.zc(0,"div",16),2&e){var n=i.Uc().popularPlace,r=i.Uc();i.bd("lazyLoad",r.getCardPosterUrl(n))}}function y(e,t){1&e&&i.zc(0,"div",17)}function C(e,t){if(1&e&&(i.Tc(),i.Sc(),i.zc(0,"div",18),i.Vc(1,"safeHtml")),2&e){var n=i.Uc().popularPlace;i.bd("innerHTML",i.Wc(1,1,n.mainRubric.svgIcon),i.od)}}function _(e,t){if(1&e&&(i.Ec(0,"div",5),i.xd(1,b,1,1,"div",6),i.xd(2,y,1,0,"ng-template",null,7,i.yd),i.Ec(4,"div",8),i.Ec(5,"div",9),i.Ec(6,"a",10),i.zd(7),i.Dc(),i.Dc(),i.Ec(8,"div",11),i.Ec(9,"div",12),i.Tc(),i.Ec(10,"svg",13),i.zc(11,"use"),i.Dc(),i.zd(12),i.Dc(),i.xd(13,C,2,3,"div",14),i.Dc(),i.Sc(),i.Ec(14,"div",15),i.Ec(15,"a",10),i.zd(16),i.Dc(),i.Dc(),i.Dc(),i.Dc()),2&e){var n=t.popularPlace,r=i.kd(3),a=i.Uc();i.jc(1),i.bd("ngIf",null!==a.getCardPosterUrl(n))("ngIfElse",r),i.jc(5),i.bd("href",n.mainUrl,i.qd),i.jc(1),i.Ad(n.title),i.jc(4),i.kc("href","#icon-like",null,"xlink"),i.jc(1),i.Bd(" ",n.averageRating," "),i.jc(1),i.bd("ngIf",void 0!==n.mainRubric&&null!==n.mainRubric.svgIcon),i.jc(2),i.bd("href",n.mainUrl,i.qd),i.jc(1),i.Ad(n.title)}}function w(e,t){if(1&e&&i.zc(0,"div",16),2&e){var n=i.Uc().popularPlace,r=i.Uc();i.bd("lazyLoad",r.getCardPosterUrl(n))}}function k(e,t){1&e&&i.zc(0,"div",17)}function x(e,t){if(1&e&&(i.Tc(),i.Sc(),i.zc(0,"div",18),i.Vc(1,"safeHtml")),2&e){var n=i.Uc().popularPlace;i.bd("innerHTML",i.Wc(1,1,n.mainRubric.svgIcon),i.od)}}function O(e,t){if(1&e&&(i.Ec(0,"div",19),i.xd(1,w,1,1,"div",6),i.xd(2,k,1,0,"ng-template",null,7,i.yd),i.Ec(4,"div",8),i.Ec(5,"div",9),i.Ec(6,"a",10),i.zd(7),i.Dc(),i.Dc(),i.Ec(8,"div",11),i.Ec(9,"div",12),i.Tc(),i.Ec(10,"svg",13),i.zc(11,"use"),i.Dc(),i.zd(12),i.Dc(),i.xd(13,x,2,3,"div",14),i.Dc(),i.Sc(),i.Ec(14,"div",15),i.Ec(15,"a",10),i.zd(16),i.Dc(),i.Dc(),i.Dc(),i.Dc()),2&e){var n=t.popularPlace,r=i.kd(3),a=i.Uc();i.jc(1),i.bd("ngIf",null!==a.getCardPosterUrl(n))("ngIfElse",r),i.jc(5),i.bd("href",n.mainUrl,i.qd),i.jc(1),i.Ad(n.title),i.jc(4),i.kc("href","#icon-like",null,"xlink"),i.jc(1),i.Bd(" ",n.averageRating," "),i.jc(1),i.bd("ngIf",void 0!==n.mainRubric&&null!==n.mainRubric.svgIcon),i.jc(2),i.bd("href",n.mainUrl,i.qd),i.jc(1),i.Ad(n.title)}}var S=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).popularPlacesService=e,r.payedCompanyService=i,r}return _createClass(n,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this)}},{key:"getCardPosterUrl",value:function(e){var t,n=e.firstPhotoAlbum;return Object(o.a)(n)?null:void 0!==n.firstPhotoUrl?n.firstPhotoUrl:(null===(t=n.allPhotoUrls)||void 0===t?void 0:t.length)>0?n.allPhotoUrls[0]:null}},{key:"getModels",value:function(){if(null===this.popularPlacesService)throw new Error("Popular places services must be injected");
1return this.card instanceof s.n?this.payedCompanyService.getNextPayedCompany(this.card.id):this.popularPlacesService.getNextPopularPlace(1).pipe(Object(a.a)((function(e){return null!==e?e[0]:null})))}},{key:"renderCard",value:function(e){var t=this;this.models=e;var n=function(){t.emitComponentLoaded(),t.insertPoint.clear(),t.insertPoint.createEmbeddedView(1===t.card.width?t.halfCard:t.fullCard,{popularPlace:t.models})};l.a.useLoadingDelay?Object(r.a)(1500).subscribe(n):n()}}]),n}(c.d);return e.\u0275fac=function(t){return new(t||e)(i.yc(s.t),i.yc(s.o))},e.\u0275cmp=i.sc({type:e,selectors:[["app-popular-places"]],viewQuery:function(e,t){var n;1&e&&(i.ud(p,!0,i.X),i.ud(g,!0),i.ud(v,!0)),2&e&&(i.jd(n=i.Rc())&&(t.insertPoint=n.first),i.jd(n=i.Rc())&&(t.fullCard=n.first),i.jd(n=i.Rc())&&(t.halfCard=n.first))},features:[i.gc],decls:8,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["halfCard",""],["fullCard",""],[3,"width","height"],[1,"top-firm-card"],["class","top-firm-card__poster",3,"lazyLoad",4,"ngIf","ngIfElse"],["noImage",""],[1,"top-firm-card__content"],[1,"top-firm-card__title","d-lg-none"],[3,"href"],[1,"top-firm-card__subinfo"],[1,"round-like"],["width","12","height","15"],["class","top-firm-card__rubric-icon",3,"innerHTML",4,"ngIf"],[1,"top-firm-card__title","d-none","d-lg-flex"],[1,"top-firm-card__poster",3,"lazyLoad"],[1,"top-firm-card__poster"],[1,"top-firm-card__rubric-icon",3,"innerHTML"],[1,"top-firm-card","top-firm-card--double"]],template:function(e,t){1&e&&(i.Ac(0,null,0),i.xd(2,m,1,2,"app-placeholder",1),i.Vc(3,"async"),i.xd(4,_,17,9,"ng-template",null,2,i.yd),i.xd(6,O,17,9,"ng-template",null,3,i.yd)),2&e&&(i.jc(2),i.bd("ngIf",!i.Wc(3,1,t.isComponentLoaded$)))},directives:[u.u,d.a,h.a],pipes:[u.b,f.a],styles:['.top-firm-card-wrapper[_ngcontent-%COMP%]{margin:48px 0}.top-firm-card-wrapper[_ngcontent-%COMP%]   .col-12[_ngcontent-%COMP%]:nth-child(2), .top-firm-card-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{order:1}.top-firm-card-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:7px auto 13px;background-color:unset;border-radius:5px;border:1px solid #000;padding:12px 34px}@media (min-width:1024px){.top-firm-card-wrapper[_ngcontent-%COMP%]{margin-top:74px}.top-firm-card-wrapper[_ngcontent-%COMP%]   .col-12[_ngcontent-%COMP%]:nth-child(2), .top-firm-card-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{order:unset}.top-firm-card-wrapper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}}.top-firm-card[_ngcontent-%COMP%]{position:relative;margin-bottom:25px;padding-bottom:93.75%;overflow:hidden}.top-firm-card__poster[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:50%}.top-firm-card__poster[_ngcontent-%COMP%]:before{content:"";display:block;width:100%;height:100%;z-index:-1;top:0;bottom:0;left:0;right:0;background:linear-gradient(1turn,#323232 6.38%,rgba(50,50,50,.302083) 29.5%,rgba(50,50,50,0) 50.11%)}.top-firm-card__content[_ngcontent-%COMP%]{position:absolute;z-index:1;display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%;padding:16px}@media (max-width:1024px){.top-firm-card__content[_ngcontent-%COMP%]{justify-content:flex-end}}.top-firm-card__subinfo[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.top-firm-card__subinfo[_ngcontent-%COMP%]   .round-like[_ngcontent-%COMP%]{margin-right:20px;display:flex;flex-shrink:0;flex-direction:column;align-items:center;color:#fff;font-weight:700;border-radius:50%;width:48px;height:48px;background-color:var(--green-primary)}.top-firm-card__subinfo[_ngcontent-%COMP%]   .round-like[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-top:7px;fill:#fff}[_nghost-%COMP%]     .top-firm-card__rubric-icon svg{width:48px;height:48px;fill:#fff}.top-firm-card__label[_ngcontent-%COMP%]{margin-left:auto;padding:4px 6px;border:1px solid #fff;text-transform:uppercase;font-weight:700;font-size:14px;color:#fff}.top-firm-card__title[_ngcontent-%COMP%]{font-size:36px;font-weight:700;color:#fff;line-height:1}.top-firm-card__title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}@media (max-width:1024px){.top-firm-card__title[_ngcontent-%COMP%]{margin-bottom:40px}}@media (min-width:1024px){.top-firm-card[_ngcontent-%COMP%]{margin-bottom:16px}.top-firm-card--double[_ngcontent-%COMP%]{padding-bottom:calc(46.875% - 8px)}}.c-card-label[_ngcontent-%COMP%]{display:inline-block;max-width:230px;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}.c-card-label--ad[_ngcontent-%COMP%], .c-card-label--regular[_ng
1content-%COMP%]{padding:2px 8px;border:1px solid #fff;border-radius:3px;text-shadow:1px 1px 1px rgba(0,0,0,.4)}.c-card-label--in-news[_ngcontent-%COMP%]{margin-left:10px;color:rgba(50,50,50,.35);border:1px solid rgba(50,50,50,.35);border-radius:3px}.c-card-label--main[_ngcontent-%COMP%]{position:absolute;z-index:11;top:10px;left:10px}.c-card-label--main[_ngcontent-%COMP%] + .card-wrapper[_ngcontent-%COMP%]   .c-card__subinfo[_ngcontent-%COMP%]{top:40px}.c-card-label--accent[_ngcontent-%COMP%]{padding:5px 10px;background-color:hsla(var(--green-primary-h),var(--green-primary-s),var(--green-primary-l),.75);text-transform:uppercase}.c-card-label--as-section-title[_ngcontent-%COMP%]{max-width:100%;padding:4px 8px;font-size:14px;font-weight:700;text-transform:uppercase;background-color:var(--green-primary)}.c-card-label--special[_ngcontent-%COMP%]{background-color:#fb661c}.c-card-label--blue[_ngcontent-%COMP%]{background-color:#00afe1}.c-card-label--on-slider[_ngcontent-%COMP%]{position:absolute;z-index:10;left:25px;top:20px}@media (min-width:1024px){.c-card-label--in-news[_ngcontent-%COMP%]{margin-left:20px}}']}),e}()},sbEe:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("XGsO"),r=n("fXoL"),a=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.galleryOptions=[{height:"100px",width:"256px",thumbnailsColumns:3,thumbnailsRows:2,imageArrowsAutoHide:!0,arrowPrevIcon:"gallery-action gallery-action--prev",arrowNextIcon:"gallery-action gallery-action--next",closeIcon:"gallery-action gallery-action--close",imageSize:i.c.Contain,imageSwipe:!0,previewSwipe:!0,imageDescription:!0,imageAnimation:i.a.Slide,image:!1},{breakpoint:1024,height:"80px",width:"98vw",thumbnailsColumns:6,thumbnailsRows:1}],this.galleryImages=this.companyImages.allPhotoUrls.map((function(t,n){var i;return{small:(null===(i=e.companyImages.allPhotoPreviewUrls)||void 0===i?void 0:i.length)>n?e.companyImages.allPhotoPreviewUrls[n]:t,medium:t,big:t}}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.sc({type:e,selectors:[["app-companies-content-gallery"]],inputs:{companyImages:"companyImages"},decls:1,vars:2,consts:[[1,"ngx-gallery",3,"options","images"]],template:function(e,t){1&e&&r.zc(0,"ngx-gallery",0),2&e&&r.bd("options",t.galleryOptions)("images",t.galleryImages)},directives:[i.b],styles:[""]}),e}()},srhf:function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var i=n("fXoL"),r=n("lJxs"),a=n("ehPC"),o=n("s1DB"),s=n("sYmb"),c=["insertPoint"],l=["fullCard"];function u(e,t){if(1&e&&i.zc(0,"app-placeholder",3),2&e){var n=i.Uc();i.bd("width",n.card.width)("height",1)}}function d(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"span",31),i.Tc(),i.Ec(1,"svg",32),i.zc(2,"use"),i.Dc(),i.zd(3),i.Dc()),2&e){var n=i.Uc().companyCard;i.jc(2),i.kc("href","#icon-like",null,"xlink"),i.jc(1),i.Bd(" ",n.averageRating,"")}}function h(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"span",33),i.Tc(),i.Ec(1,"svg",34),i.zc(2,"use"),i.Dc(),i.zd(3),i.Vc(4,"date"),i.Vc(5,"date"),i.Dc()),2&e){var n=i.Uc().companyCard;i.jc(2),i.kc("href","#icon-new-clock",null,"xlink"),i.jc(1),i.Cd(" ",i.Xc(4,3,n.firstAddress.todaySchedule.timeFrom,"HH:mm")," - ",i.Xc(5,6,n.firstAddress.todaySchedule.timeTo,"HH:mm"),"")}}function f(e,t){1&e&&(i.Tc(),i.Sc(),i.Ec(0,"span",35),i.zd(1,"address-schedule-is-opened-label"),i.Dc())}function p(e,t){1&e&&(i.Tc(),i.Sc(),i.Ec(0,"span",36),i.zd(1,"address-schedule-is-closed-label"),i.Dc())}function g(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"span",37),i.zd(1),i.Dc()),2&e){var n=t.$implicit;i.jc(1),i.Ad(n.title)}}function v(e,t){if(1&e){var n=i.Fc();i.Tc(),i.Sc(),i.Ec(0,"button",38),i.Qc("click",(function(){i.nd(n);var e=i.Uc().companyCard;return i.Uc().actualRubricLength=e.actualRubrics.length})),i.zd(1),i.Dc()}if(2&e){var r=i.Uc().companyCard,a=i.Uc();i.jc(1),i.Bd(" ",a.moreItemsCountLabel(r.actualRubrics.length-1)," ")}}function m(e,t){if(1&e){var n=i.Fc();i.Tc(),i.Sc(),i.Ec(0,"button",39),i.Qc("click",(function(){return i.nd(n),i.Uc(2).actualRubricLength=1})),i.zd(1," hide-button-label "),i.Dc()}}function b(e,t){if(1&e&&(i.Ec(0,"p"),i.Tc(),i.Ec(1,"svg",42),i.zc(2,"use"),i.Dc(),i.zd(3),i.Dc()),2&e){var n=i.Uc().$implicit;i.jc(2),i.kc("href","#icon-new-location",null,"xlink"),i.jc(1),i.Bd(" ",n.address," ")}}function y(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"a",45),i.zd(1),i.Dc()),2&e){var n=t.$implicit;i.dd("href","tel: ",n,"",i.qd),i.jc(1),i.Ad(n)}}function C(e,t){if(1&e&&(i.Ec(0,"p",43),i.Tc(),i.Ec(1,"svg",42),i.zc(2,"use"),i.Dc(),i.xd(3,y,2,2,"a",44),i.Dc()),2&e){var n=i.Uc().$implicit;i.jc(2),i.kc("href","#icon-new-phone",null,"xlink"),i.jc(1),i.bd("ngForOf",n.phones)}}function _(e,t){if(1&e&&(i.Ec(0,"div"),i.xd(1,b,4,2,"p",40),i.xd(2,C,4,2,"p",41),i.Dc()),2&e){var n=t.$implicit;i.jc(1),i.bd("ngIf",null!==n.address),i.jc(1),i.bd("ngIf",n.phones.length>0)}}function w(e,t){if(1&e&&(i.Ec(0,"p"),i.Tc(),i.Ec(1,"svg",42),i.zc(2,"use"),i.Dc(),i.zd(3),i.Dc()),2&e){var n=i.Uc().$implicit;i.jc(2),i.kc("href","#icon-new-location",null,"xlink"),i.jc(1),i.Bd(" ",n.address," ")}}function k(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"a",45),i.zd(1),i.Dc()),2&e){var n=t.$implicit;i.dd("href","tel:",n,"",i.qd),i.jc(1),i.Ad(n)}}function x(e,t){if(1&e&&(i.Ec(0,"p",43),i.Tc(),i.Ec(1,"svg",42),i.zc(2,"use"),i.Dc(),i.xd(3,k,2,2,"a",44),i.Dc()),2&e){var n=i.Uc().$implicit;i.jc(2),i.kc("href","#icon-new-phone",null,"xlink"),i.jc(1),i.bd("ngForOf",n.phones)}}function O(e,t){if(1&e&&(i.Ec(0,"div",53),i.xd(1,w,4,2,"p",40),i.xd(2,x,4,2,"p",41),i.Dc()),2&e){var n=t.$implicit;i.jc(1),i.bd("ngIf",n.address),i.jc(1),i.bd("ngIf",n.phones.length>0)}}function S(e,t){if(1&e&&(i.Ec(0,"details",46),i.Ec(1,"summary"),i.Ec(2,"span",47),i.zd(3),i.Dc(),i.zc(4,"i",48),i.Dc(),i.Ec(5,"div",49),i.Ec(6,"i",50),i.zd(7,"\xd7"),i.Dc(),i.Ec(8,"h4"),i.zd(9,"\u0412\u0441\u0435 \u0430\u0434\u0440\u0435\u0441\u0430"),i.Dc(),i.Ec(10,"div",51),i.xd(11,O,3,2,"div",52),i.Vc(12,"slice"),i.Dc(),i.Dc(),i.Dc()),2&e){var n=i.Uc().companyCard,r=i.Uc();i.jc(3),i.Bd(" ",r.moreItemsCountLabel(n.actualAddresses.length-1)," "),i.jc(8),i.bd("ngForOf",i.Yc(12,2,n.actualAddresses,1,n.actualAddresses.length))}}function P(e,t){if(1&e&&(i.Ec(0,"span"),i.zd(1),i.Dc()),2&e){var n=t.$implicit;i.jc(1),i.Ad(n.title+" ")}}function E(e,t){if(1&e&&(i.Ec(0,"div",54),i.xd(1,P,2,1,"span",22),i.Dc()),2&e){var n=i.Uc().companyCard;i.jc(1),i.bd("ngForOf",n.actualProductRubrics)}}function M(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"div",55),i.zc(1,"app-companies-content-gallery",56),i.Dc()),2&e){var n=i.Uc().companyCard;i.jc(1),i.bd("companyImages",n.firstPhotoAlbum)}}function I(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"p"),i.zd(1),i.Ec(2,"span"),i.Tc(),i.Ec(3,"svg",61),i.zc(4,"use"),i.Dc(),i.zd(5),i.Dc(),i.Dc()),2&e){var n=i.Uc(2).companyCard;i.jc(1),i.Bd(" ",n.lastFeedback.content," "),i.jc(3),i.kc("href","#icon-comment",null,"xlink"),i.jc(1),i.Bd(" ",n.commentsCount," ")}}function D(e,t){if(1&e&&(i.Tc(),i.Sc(),i.Ec(0,"div",57),i.Ec(1,"div",58),i.Tc(),i.Ec(2,"svg",59),i.zc(3,"use"),i.Dc(),i.xd(4,I,6,3,"p",40),i.Sc(),i.Ec(5,"div",60),i.Tc(),i.Ec(6,"svg",32),i.zc(7,"use"),i.Dc(),i.zd(8),i.Dc(),i.Dc(),i.Dc()),2&e){var n=i.Uc().companyCard;i.jc(3),i.kc("href","#icon-comments",null,"xlink"),i.jc(1),i.bd("ngIf",n.lastFeedback.content),i.jc(3),i.kc("href","#icon-like",null,"xlink"),i.jc(1),i.Bd(" ",n.averageRating," ")}}function j(e,t){if(1&e&&(i.Ec(0,"span",62),i.zd(1),i.Dc()),2&e){var n=t.$implicit;i.jc(1),i.Bd("",n.title," ")}}function A(e,t){if(1&e&&(i.Ec(0,"div",4),i.Ec(1,"div",5),i.Ec(2,"div",6),i.zc(3,"a",7),i.Dc(),i.Ec(4,"div",8),i.Ec(5,"div",9),i.Tc(),i.Ec(6,"svg",10),i.zc(7,"use"),i.Dc(),i.xd(8,d,4,2,"span",11),i.xd(9,h,6,9,"span",12),i.xd(10,f,2,0,"span",13),i.xd(11,p,2,0,"span",14),i.xd(12,g,2,1,"span",15),i.Vc(13,"slice"),i.xd(14,v,2,1,"button",16),i.xd(15,m,2,0,"button",17),i.Sc(),i.Ec(16,"span",18),i.Tc(),i.Ec(17,"svg",19),i.zc(18,"use"),i.Dc(),i.zd(19),i.Dc(),i.Dc(),i.Sc(),i.Ec(20,"a",20),i.zd(21),i.Dc(),i.Ec(22,"div",21),i.xd(23,_,3,2,"div",22),i.Vc(24,"slice"),i.xd(25,S,13,6,"details",23),i.Dc(),i.xd(26,E,2,1,"div",24),i.Dc(),i.Ec(27,"div",25),i.Ec(28,"span",26),i.Tc(),i.Ec(29,"svg",19),i.zc(30,"use"),i.Dc(),i.zd(31),i.Dc(),i.xd(32,M,2,1,"div",27),i.Dc(),i.Dc(),i.xd(33,D,9,4,"div",28),i.Sc(),i.Ec(34,"div",29),i.xd(35,j,2,1,"span",30),i.Dc(),i.Dc()),2&e){var n=t.companyCard,r=i.Uc();i.jc(3),i.cd("href",n.mainUrl,i.qd),i.bd("lazyLoad",n.logoUrl),i.jc(2),i.bd("ngClass",r.getListItemClass(n)),i.jc(2),i.kc("href",r.getListItemIcon(n),null,"xlink"),i.jc(1),i.bd("ngIf",n.averageRating>0),i.jc(1),i.bd("ngIf",null!==n.firstAddress&&null!==n.firstAddress.todaySchedule&&null!==n.firstAddress.todaySchedule.timeFrom&&null!==n.firstAddress.todaySchedule.timeTo),i.jc(1),i.bd("ngIf",null!==n.firstAddress&&n.firstAddress.isOpen),i.jc(1),i.bd("ngIf",null!==n.firstAddress&&!1===n.firstAddress.isOpen),i.jc(1),i.bd("ngForOf",i.Yc(13,23,n.actualRubrics,0,r.actualRubricLength)),i.jc(2),i.bd("ngIf",n.actualRubrics.length>1&&1===r.actualRubricLength),i.jc(1),i.bd("ngIf",r.actualRubricLength>1),i.jc(3),i.kc("href","#icon-new-eye",null,"xlink"),i.jc(1),i.Bd(" ",n.actualViewsCount,""),i.jc(1),i.cd("href",n.mainUrl,i.qd),i.jc(1),i.Ad(n.title),i.jc(2),i.bd("ngForOf",i.Yc(24,27,n.actualAddresses,0,1)),i.jc(2),i.bd("ngIf",n.actualAddresses.length>1),i.jc(1),i.bd("ngIf",(null==n.actualProductRubrics?null:n.actualProductRubrics.length)>0),i.jc(4),i.kc("href","#icon-new-eye",null,"xlink"),i.jc(1),i.Bd(" ",n.actualViewsCount," "),i.jc(1),i.bd("ngIf",null!==n.firstPhotoAlbum),i.jc(1),i.bd("ngIf",n.lastFeedback),i.jc(2),i.bd("ngForOf",n.actualRubrics)}}var T=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this)).injector=e,o.translateService=i,o.companyCardsService=r,o.payedCompanyService=a,o.actualRubricLength=1,o}return _createClass(n,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this)}},{key:"getModels",value:function(){if(null===this.companyCardsService)throw new Error("Popular places services must be injected");
1return this.card instanceof o.n?this.payedCompanyService.getNextPayedCompany(this.card.id):this.companyCardsService.getNextCompanyCard(1).pipe(Object(r.a)((function(e){return null!==e?e[0]:null})))}},{key:"renderCard",value:function(e){this.models=e,this.insertPoint.clear(),this.insertPoint.createEmbeddedView(this.fullCard,{companyCard:this.models})}},{key:"getListItemIcon",value:function(e){switch(e.iconsSet){case o.m.Lux:return"#icon-queen";case o.m.Premium:return"#icon-crown";case o.m.Platinum:return"#icon-diamond";case o.m.Standard:return"#icon-standard";default:return""}}},{key:"getListItemClass",value:function(e){switch(e.iconsSet){case o.m.Lux:return"teaser-block__item--lux";case o.m.Premium:return"teaser-block__item--premium";case o.m.Platinum:return"teaser-block__item--platinum";case o.m.Standard:return"teaser-block__item--standard";default:return""}}},{key:"moreItemsCountLabel",value:function(e){return this.translateService.instant("x-more-items-label",{count:e})}}]),n}(a.d);return e.\u0275fac=function(t){return new(t||e)(i.yc(i.w),i.yc(s.e),i.yc(o.h),i.yc(o.o))},e.\u0275cmp=i.sc({type:e,selectors:[["app-company-card"]],viewQuery:function(e,t){var n;1&e&&(i.ud(c,!0,i.X),i.ud(l,!0)),2&e&&(i.jd(n=i.Rc())&&(t.insertPoint=n.first),i.jd(n=i.Rc())&&(t.fullCard=n.first))},features:[i.gc],decls:6,vars:3,consts:[["insertPoint",""],[3,"width","height",4,"ngIf"],["fullCard",""],[3,"width","height"],[1,"carding"],[1,"carding__container"],[1,"carding__logo"],[1,"carding__logo-wrap",3,"href","lazyLoad"],[1,"carding__middle","teaser-block"],[1,"carding__middle-header","teaser-block__item",3,"ngClass"],["width","24","height","25",1,"teaser-block__icon"],["class","carding__mobile-like d-flex d-lg-none",4,"ngIf"],["class","carding__clock",4,"ngIf"],["class","carding__middle-open d-lg-inline d-none","translate","",4,"ngIf"],["class","carding__middle-close d-lg-inline d-none","translate","",4,"ngIf"],["class","category-button d-none d-lg-inline",4,"ngFor","ngForOf"],["class","button moreButton d-lg-inline d-none",3,"click",4,"ngIf"],["class","button text-black-35 moreButton d-lg-inline d-none","translate","",3,"click",4,"ngIf"],[1,"carding__view","d-flex","d-lg-none"],["width","20","height","20"],[1,"carding__link",3,"href"],[1,"carding__contacts"],[4,"ngFor","ngForOf"],["class","carding__contacts-modal--container",4,"ngIf"],["class","carding__category",4,"ngIf"],[1,"carding__right"],[1,"carding__view","d-lg-flex","d-none"],["class","carding__gallery",4,"ngIf"],["class","carding__comments-container",4,"ngIf"],[1,"carding__mobile-category"],["class","category-button d-lg-none",4,"ngFor","ngForOf"],[1,"carding__mobile-like","d-flex","d-lg-none"],["width","12","height","15"],[1,"carding__clock"],["width","15","height","15"],["translate","",1,"carding__middle-open","d-lg-inline","d-none"],["translate","",1,"carding__middle-close","d-lg-inline","d-none"],[1,"category-button","d-none","d-lg-inline"],[1,"button","moreButton","d-lg-inline","d-none",3,"click"],["translate","",1,"button","text-black-35","moreButton","d-lg-inline","d-none",3,"click"],[4,"ngIf"],["class","carding__contacts--inline",4,"ngIf"],["width","12","height","16"],[1,"carding__contacts--inline"],[3,"href",4,"ngFor","ngForOf"],[3,"href"],[1,"carding__contacts-modal--container"],[1,"button","moreButton"],[1,"details-modal-overlay"],[1,"carding__contacts-modal--body"],[1,"details-modal-close"],[1,"carding__contacts-modal--cards"],["class","carding__contacts-modal--address",4,"ngFor","ngForOf"],[1,"carding__contacts-modal--address"],[1,"carding__category"],[1,"carding__gallery"],[3,"companyImages"],[1,"carding__comments-container"],[1,"carding__comments"],["width","37","height","37",1,"carding__comments-icon"],[1,"round-like","d-lg-flex","d-none"],["width","21","height","18"],[1,"category-button","d-lg-none"]],template:function(e,t){1&e&&(i.Ac(0,null,0),i.xd(2,u,1,2,"app-placeholder",1),i.Vc(3,"async"),i.xd(4,A,36,31,"ng-template",null,2,i.yd)),2&e&&(i.jc(2),i.bd("ngIf",!i.Wc(3,1,t.isComponentLoaded$)))},styles:['@charset "UTF-8";.carding[_ngcontent-%COMP%]{padding:24px 0;border-bottom:1px solid #dcdcdc}.carding__container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.carding__comments-container[_ngcontent-%COMP%]{margin-bottom:15px}.carding__logo[_ngcontent-%COMP%]{width:100%;position:relative}.carding__logo[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:absolute;text-transform:uppercase;font-weight:700;padding:3px 5px;top:0;left:-10px;color:#fff;background-color:var(--green-primary)}.carding__logo-wrap[_ngcontent-%COMP%]{display:block;
1border:1px solid #f0f0f0;height:150px;width:150px;background-size:contain;background-position:50%;background-repeat:no-repeat;margin:24px auto}.carding__middle-header[_ngcontent-%COMP%]{display:flex;font-size:14px;margin-bottom:8px;flex-wrap:wrap;row-gap:5px}.carding__middle-header[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{flex-shrink:0;margin-right:10px}.carding__middle-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:flex;flex-shrink:0;align-items:center}.carding__middle-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:not(:last-child){margin-right:12px}.carding__middle-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:8px}.carding__middle-header[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:none;background-color:unset;text-decoration:underline;color:var(--green-primary)}.carding__middle-header[_ngcontent-%COMP%]   .text-black-35[_ngcontent-%COMP%]{color:rgba(50,50,50,.35)}.carding__middle-open[_ngcontent-%COMP%]{color:var(--green-primary)}.carding__middle-close[_ngcontent-%COMP%], .carding__middle-open[_ngcontent-%COMP%]{border-left:1px solid #dcdcdc;border-right:1px solid #dcdcdc;padding:0 8px;margin:0 8px}.carding__middle-close[_ngcontent-%COMP%]{color:#e74c3c}.carding__middle-category[_ngcontent-%COMP%]{border-radius:16px;border:1px solid var(--green-primary);padding:3px 10px;color:var(--green-primary)}.carding__middle[_ngcontent-%COMP%]{flex-grow:1}.carding__middle[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px}.carding__middle[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{position:relative;top:-1px;margin-right:10px}.carding__link[_ngcontent-%COMP%]{display:inline-block;font-size:21px;font-weight:700}.carding__contacts[_ngcontent-%COMP%], .carding__link[_ngcontent-%COMP%]{margin-bottom:24px}.carding__contacts[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(:last-child):after{display:inline;content:","}.carding__contacts[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .carding__contacts[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:4px}.carding__contacts[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(:last-child), .carding__contacts[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:not(:last-child){margin-right:6px}.carding__contacts[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:block;background-color:transparent;border:1px solid #323232;border-radius:5px;margin:28px auto 0;padding:11px 43px}.carding__mobile-like[_ngcontent-%COMP%]{display:flex;padding:2px 13px;font-weight:700;border-radius:16px;background-color:var(--green-primary);color:#fff}.carding__mobile-like[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#fff;margin-right:10px}.carding__category[_ngcontent-%COMP%]{padding:0;margin-bottom:24px;display:flex;flex-wrap:wrap}.carding__category[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:18px;display:block}.carding__category[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:before{content:"\u2022";margin:.5rem;color:var(--green-primary)}.carding__comments[_ngcontent-%COMP%]{display:flex;margin-top:24px;padding-top:16px;border-top:1px solid #dcdcdc}.carding__comments[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary);margin-left:10px}.carding__comments[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:4px;fill:var(--green-primary)}.carding__comments-icon[_ngcontent-%COMP%]{flex-shrink:0;margin-right:14px}.carding__view[_ngcontent-%COMP%]{margin-top:-2px;align-items:center;color:rgba(50,50,50,.35)}.carding__gallery[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;width:270px;height:86px;gap:6px}.carding__gallery[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:flex;flex:0 0 86px;width:86px;height:86px;justify-content:center;align-items:center;position:relative;background-size:100% auto}.carding__gallery[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:before{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-color:rgba(0,0,0,.2)}.carding__right[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-end}.carding__right[_ngcontent-%COMP%]   .round-like[_ngcontent-%COMP%]{margin-top:auto}.carding__right[_ngcontent-%COMP%]   .carding__view[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:18px}.carding__right[_ngcontent-%COMP%]   .carding__view[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:10px}.carding__mobile-category[_ngcontent-%COMP%]{display:flex;white-space:nowrap;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none}.carding__mobile-category[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.carding__mobile-category[_ngcontent-%COMP%]   .mobile-category-name[_ng
1content-%COMP%]{margin-right:7px}.carding__contacts-modal--body[_ngcontent-%COMP%]{top:-60px;left:0}.carding__contacts-modal--body[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .carding__contacts-modal--body[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#232323}.carding__contacts-modal--address[_ngcontent-%COMP%]{width:100%;pointer-events:all;padding:15px 0}.carding__contacts-modal--container[_ngcontent-%COMP%]{position:relative}.carding__contacts-modal--body[_ngcontent-%COMP%]{position:absolute;background-color:#fff;pointer-events:none;padding:16px;z-index:2;box-shadow:0 0 10px rgba(0,0,0,.25)}.carding__contacts-modal--body[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:18px;font-weight:700;pointer-events:all;width:calc(100% - 20px)}.carding__contacts-modal--body[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{opacity:.35;pointer-events:none;position:absolute;top:5px;right:12px;font-size:32px;font-style:normal}.carding__contacts-modal--cards[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;max-height:220px;overflow-y:auto;max-width:500px;pointer-events:all}.carding__contacts-modal--cards[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{white-space:nowrap;pointer-events:all;margin-bottom:10px}@media (min-width:375px){.carding__gallery[_ngcontent-%COMP%]{width:98vw;gap:3px}}@media (min-width:1024px){.carding__container[_ngcontent-%COMP%]{flex-wrap:nowrap}.carding__logo[_ngcontent-%COMP%]{width:auto}.carding__logo-wrap[_ngcontent-%COMP%]{position:relative;margin:0;width:100px;height:100px}.carding__middle-header[_ngcontent-%COMP%]{align-items:center}.carding__contacts--inline[_ngcontent-%COMP%]{display:flex}.carding__contacts[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:inline;padding:0;text-decoration:underline;border:none;margin:0 0 0 20px;color:#dcdcdc}.carding__middle[_ngcontent-%COMP%]{padding:0 10px}.carding__category[_ngcontent-%COMP%]{margin-bottom:0}.carding__category[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline}.carding__category[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:not(:last-child):after{content:"\u2022";margin:0 8px;color:var(--green-primary)}.carding__category[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:before{content:none}.carding__gallery[_ngcontent-%COMP%]{width:175px;height:175px}.carding__comments[_ngcontent-%COMP%]{padding-top:24px}.carding__comments-container[_ngcontent-%COMP%]{padding-left:110px;padding-right:185px;position:relative;margin-bottom:0}.carding__comments-container[_ngcontent-%COMP%]   .round-like[_ngcontent-%COMP%]{position:absolute;right:0;bottom:0}}@media (min-width:1220px){.carding__container[_ngcontent-%COMP%]{padding-top:50px}.carding__logo-wrap[_ngcontent-%COMP%]{width:140px;height:140px}.carding__middle[_ngcontent-%COMP%]{padding:0 26px}.carding__gallery[_ngcontent-%COMP%]{width:265px}.carding__comments[_ngcontent-%COMP%]{margin-top:0}.carding__comments-container[_ngcontent-%COMP%]{padding-left:166px;padding-right:291px;margin-bottom:0}}.carding__modal-container[_ngcontent-%COMP%]{display:flex;align-items:center}.category-button[_ngcontent-%COMP%]{flex-shrink:0;border-radius:16px;border:1px solid var(--green-primary);padding:3px 10px;color:var(--green-primary);margin-right:5px}.hidden[_ngcontent-%COMP%]{display:none!important}.round-like[_ngcontent-%COMP%]{display:flex;flex-shrink:0;flex-direction:column;align-items:center;color:#fff;font-weight:700;border-radius:50%;width:48px;height:48px;background-color:var(--green-primary)}.round-like[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-top:7px;fill:#fff}.teaser-block__item--premium[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:#c0f}.teaser-block__item--platinum[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:#00afe1}.teaser-block__item--lux[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:#fb661c}.teaser-block__item--standard[_ngcontent-%COMP%]   .teaser-block__icon[_ngcontent-%COMP%]{fill:var(--green-primary)}.details-modal-overlay[_ngcontent-%COMP%]{transition:opacity .2s ease-out;pointer-events:none;background:transparent;position:fixed;opacity:0;bottom:0;right:0;left:0;top:0;z-index:1}details[open][_ngcontent-%COMP%]   .details-modal-overlay[_ngcontent-%COMP%]{pointer-events:all;opacity:.5}details[_ngcontent-%COMP%]   summary[_ngcontent-%COMP%]{list-style:none;display:flex;pointer-events:none}details[_ngcontent-%COMP%]   summary[_ngcontent-%COMP%]   .moreButton[_ngcontent-%COMP%]{display:inline-block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:10px 40px;margin:10px auto;border:1px solid #323232;border-radius:5px;pointer-events:all}
1details[_ngcontent-%COMP%]   summary[_ngcontent-%COMP%]:focus{outline:none}details[_ngcontent-%COMP%]   summary[_ngcontent-%COMP%]::-webkit-details-marker{display:none}@media (min-width:1024px){details[_ngcontent-%COMP%]   summary[_ngcontent-%COMP%]   .moreButton[_ngcontent-%COMP%]{color:var(--green-primary);text-decoration:underline;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:unset;margin:6px 0 0;border:unset;border-radius:unset}}']}),e}()},tPH9:function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}},"tk/3":function(e,t,n){"use strict";n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return S})),n.d(t,"c",(function(){return U})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return g}));var i=n("fXoL"),r=n("LRne"),a=n("HDdC"),o=n("bOdf"),s=n("pLZG"),c=n("lJxs"),l=n("ofXK"),u=function e(){_classCallCheck(this,e)},d=function e(){_classCallCheck(this,e)},h=function(){function e(t){var n=this;_classCallCheck(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){n.headers=new Map,t.split("\n").forEach((function(e){var t=e.indexOf(":");if(t>0){var i=e.slice(0,t),r=i.toLowerCase(),a=e.slice(t+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(a):n.headers.set(r,[a])}}))}:function(){n.headers=new Map,Object.keys(t).forEach((function(e){var i=t[e],r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(e,r))}))}:this.headers=new Map}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return t.applyUpdate(e)})),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach((function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))}))}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,_toConsumableArray2(n)),this.headers.set(t,i);break;case"d":var r=e.value;if(r){var a=this.headers.get(t);if(!a)return;0===(a=a.filter((function(e){return-1===r.indexOf(e)}))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return e(t.normalizedNames.get(n),t.headers.get(n))}))}}]),e}(),f=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return p(e)}},{key:"encodeValue",value:function(e){return p(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function p(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var g=function(){function e(){var t,n,i,r=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.updates=null,this.cloneFrom=null,this.encoder=a.encoder||new f,a.fromString){if(a.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=a.fromString,n=this.encoder,i=new Map,t.length>0&&t.split("&").forEach((function(e){var t=e.indexOf("="),r=_slicedToArray2(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),a=r[0],o=r[1],s=i.get(a)||[];s.push(o),i.set(a,s)})),i)}else a.fromObject?(this.map=new Map,Object.keys(a.fromObject).forEach((function(e){var t=a.fromObject[e];r.map.set(e,Array.isArray(t)?t:[t])}))):this.map=null}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.
1keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map((function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map((function(t){return n+"="+e.encoder.encodeValue(t)})).join("&")})).filter((function(e){return""!==e})).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(t){return e.map.set(t,e.cloneFrom.map.get(t))})),this.updates.forEach((function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(t.value);-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}})),this.cloneFrom=this.updates=null)}}]),e}();function v(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function m(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}var y=function(){function e(t,n,i,r){var a;if(_classCallCheck(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,a=r):a=i,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.params&&(this.params=a.params)),this.headers||(this.headers=new h),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s<n.length-1?"&":"")+o}}else this.params=new g,this.urlWithParams=n}return _createClass(e,[{key:"serializeBody",value:function(){return null===this.body?null:v(this.body)||m(this.body)||b(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||b(this.body)?null:m(this.body)?this.body.type||null:v(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}},{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,a=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,c=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((function(e,n){return e.set(n,t.setHeaders[n])}),c)),t.setParams&&(l=Object.keys(t.setParams).reduce((function(e,n){return e.set(n,t.setParams[n])}),l)),new e(n,i,a,{params:l,headers:c,reportProgress:s,responseType:r,withCredentials:o})}}]),e}(),C=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}(),_=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,e),this.headers=t.headers||new h,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},w=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,i)).type=C.ResponseHeader,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(_),k=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,i)).type=C.Response,e.body=void 0!==i.body?i.body:null,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(_),x=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var i;return _classCallCheck(this,n),(i=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),i.error=e.error||null,i}return n}(_);function O(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var S=function(){var e=function(){function e(t){_classCallCheck(this,e),this.handler=t}return _createClass(e,[{key:"request",value:function(e,t){var n,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof y)n=e;else{var l=void 0;l=a.headers instanceof h?a.headers:new h(a.headers);var u=void 0;a.params&&(u=a.params instanceof g?a.params:new g({fromObject:a.params})),n=new y(e,t,void 0!==a.body?a.body:null,{headers:l,params:u,reportProgress:a.reportProgress,responseType:a.responseType||"json",withCredentials:a.withCredentials})}var d=Object(r.a)(n).pipe(Object(o.a)((function(e){return i.handler.handle(e)})));if(e instanceof y||"events"===a.observe)return d;var f=d.pipe(Object(s.a)((function(e){return e instanceof k})));switch(a.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return f.pipe(Object(c.a)((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return f.pipe(Object(c.a)((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return f.pipe(Object(c.a)((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return f.pipe(Object(c.a)((function(e){return e.body})))}case"response":return f;default:throw new Error("Unreachable: unhandled observe type ".concat(a.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,O(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,O(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,O(n,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mc(u))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e}(),P=function(){function e(t,n){_classCallCheck(this,e),this.next=t,this.interceptor=n}return _createClass(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),E=new i.v("HTTP_INTERCEPTORS"),M=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e}(),I=/^\)\]\}',?\n/,D=function e(){_classCallCheck(this,e)},j=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e}(),A=function(){var e=function(){function e(t){_classCallCheck(this,e),this.xhrFactory=t}return _createClass(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new a.a((function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEac
1h((function(e,t){return i.setRequestHeader(e,t.join(","))})),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var a=e.responseType.toLowerCase();i.responseType="json"!==a?a:"text"}var o=e.serializeBody(),s=null,c=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new h(i.getAllResponseHeaders()),a=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new w({headers:r,status:t,statusText:n,url:a})},l=function(){var t=c(),r=t.headers,a=t.status,o=t.statusText,s=t.url,l=null;204!==a&&(l=void 0===i.response?i.responseText:i.response),0===a&&(a=l?200:0);var u=a>=200&&a<300;if("json"===e.responseType&&"string"==typeof l){var d=l;l=l.replace(I,"");try{l=""!==l?JSON.parse(l):null}catch(h){l=d,u&&(u=!1,l={error:h,text:l})}}u?(n.next(new k({body:l,headers:r,status:a,statusText:o,url:s||void 0})),n.complete()):n.error(new x({error:l,headers:r,status:a,statusText:o,url:s||void 0}))},u=function(e){var t=c().url,r=new x({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)},d=!1,f=function(t){d||(n.next(c()),d=!0);var r={type:C.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},p=function(e){var t={type:C.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",l),i.addEventListener("error",u),e.reportProgress&&(i.addEventListener("progress",f),null!==o&&i.upload&&i.upload.addEventListener("progress",p)),i.send(o),n.next({type:C.Sent}),function(){i.removeEventListener("error",u),i.removeEventListener("load",l),e.reportProgress&&(i.removeEventListener("progress",f),null!==o&&i.upload&&i.upload.removeEventListener("progress",p)),i.abort()}}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mc(D))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e}(),T=new i.v("XSRF_COOKIE_NAME"),z=new i.v("XSRF_HEADER_NAME"),L=function e(){_classCallCheck(this,e)},N=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.doc=t,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _createClass(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(l.U)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mc(l.e),i.Mc(i.I),i.Mc(T))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e}(),R=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.tokenService=t,this.headerName=n}return _createClass(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mc(L),i.Mc(z))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e}(),F=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.backend=t,this.injector=n,this.chain=null}return _createClass(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(E,[]);this.chain=t.reduceRight((function(e,t){return new P(e,t)}),this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mc(d),i.Mc(i.w))},e.\u0275prov=i.uc({token:e,factory:e.\u0275fac}),e}(),V=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:R,useClass:M}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:T,useValue:t.cookieName}:[],t.headerName?{provide:z,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[R,{provide:E,useExisting:R,multi:!0},{provide:L,useClass:N},{provide:T,useValue:"XSRF-TOKEN"},{provide:z,useValue:"X-XSRF-TOKEN"}
1]}),e}(),U=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[S,{provide:u,useClass:F},A,{provide:d,useExisting:A},j,{provide:D,useExisting:j}],imports:[[V.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},tyNb:function(e,t,n){"use strict";n.d(t,"a",(function(){return Qe})),n.d(t,"b",(function(){return W})),n.d(t,"c",(function(){return Kt})),n.d(t,"d",(function(){return cn})),n.d(t,"e",(function(){return ln})),n.d(t,"f",(function(){return vn})),n.d(t,"g",(function(){return un})),n.d(t,"h",(function(){return In})),n.d(t,"i",(function(){return yn})),n.d(t,"j",(function(){return Oe})),n.d(t,"k",(function(){return se}));var i=n("ofXK"),r=n("fXoL"),a=n("LRne"),o=n("Cfvw"),s=n("2Vo4"),c=n("HDdC"),l=n("sVev"),u=n("itXk"),d=n("NXyV"),h=n("XNiG"),f=n("EY2u"),p=n("lJxs"),g=n("0EUg"),v=n("pLZG"),m=n("7o/Q"),b=n("4I5i");function y(e){return function(t){return 0===e?Object(f.b)():t.lift(new C(e))}}var C=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new b.a}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new _(e,this.total))}}]),e}(),_=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).total=i,r.ring=new Array,r.count=0,r}return _createClass(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,i=this.count++;t.length<n?t.push(e):t[i%n]=e}},{key:"_complete",value:function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r<n;r++){var a=t++%n;e.next(i[a])}e.complete()}}]),n}(m.a),w=n("XDbj"),k=n("xbPD"),x=n("SpAZ");function O(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?Object(v.a)((function(t,n){return e(t,n,i)})):x.a,y(1),n?Object(k.a)(t):Object(w.a)((function(){return new l.a})))}}var S=n("JIr8"),P=n("SxV6"),E=n("5+tZ"),M=n("Gi4w"),I=n("eIep"),D=n("IzEk"),j=n("JX91");function A(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new z(e,t,n))}}var T,z=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=n,this.hasSeed=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new L(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),L=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e)).accumulator=i,o._seed=r,o.hasSeed=a,o.index=0,o}return _createClass(n,[{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(i){this.destination.error(i)}this.seed=t,this.destination.next(t)}},{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}}]),n}(m.a),N=n("bOdf"),R=n("mCNh"),F=n("vkgz"),V=n("quSY"),U=function(){function e(t){_classCallCheck(this,e),this.callback=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new H(e,this.callback))}}]),e}(),H=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).add(new V.a(i)),r}return n}(m.a),B=n("bHdf"),q=function e(t,n){_classCallCheck(this,e),this.id=t,this.url=n},$=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,n),(r=t.call(this,e,i)).navigationTrigger=a,r.restoredState=o,r}return _createClass(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(q),W=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a}return _createClass(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(q),G=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).reason=r,a}return _createClass(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(q),X=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r){var a;return _classCallCheck(this,n),(a=t.call(this,e,i)).error=r,a}return _createClass(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(q),Z=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return _createClass(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(q),Y=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(q),Q=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a,o){var s;return _classCallCheck(this,n),(s=t.call(this,e,i)).urlAfterRedirects=r,s.state=a,s.shouldActivate=o,s}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(q),K=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return _createClass(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(q),J=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,r,a){var o;return _classCallCheck(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return _createClass(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(q),ee=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),te=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),ne=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ie=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),re=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ae=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),oe=function(){function e(t,n,i){_classCallCheck(this,e),this.routerEvent=t,this.position=n,this.anchor=i}return _createClass(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),se=((T=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||T)},T.\u0275cmp=r.sc({type:T,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&r.zc(0,"router-outlet")},directives:function(){return[yn]},encapsulation:2}),T),ce=function(){function e(t){_classCallCheck(this,e),this.params=t||{}}return _createClass(e,[{key:"has",value:function(e){return this.params.hasOwnProperty(e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function le(e){return new ce(e)}function ue(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function de(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length<e.length))return null;for(var r={},a=0;a<i.length;a++){var o=i[a],s=e[a];if(o.startsWith(":"))r[o.substring(1)]=s;else if(o!==s.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}var he=function e(t,n){_classCallCheck(this,e),this.routes=t,this.module=n};function fe(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<e.length;n++){var i=e[n];pe(i,ge(t,i))}}function pe(e,t){if(!e)throw new Error("\n      Invalid configuration of route '".concat(t,"': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    "));if(Array.isArray(e))throw new Error("Invalid configuration of route '".concat(t,"': Array cannot be specified"));if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error("Invalid configuration of route '".concat(t,"': a componentless route without children or loadChildren cannot have a named outlet set"));if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and children cannot be used together"));if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and loadChildren cannot be used together"));if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': children and loadChildren cannot be used together"));if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and component cannot be used together"));if(e.path&&e.matcher)throw new Error("Invalid configuration of route '".concat(t,"': path and matcher cannot be used together"));if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"'. One of the following must be provided: component, redirectTo, children or loadChildren"));if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '".concat(t,"': routes must have either a path or a matcher specified"));if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '".concat(t,"': path cannot start with a slash"));if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \"".concat(t,'", redirectTo: "').concat(e.redirectTo,"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'."));if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '".concat(t,"': pathMatch can only be set to 'prefix' or 'full'"));e.children&&fe(e.children,t)}function ge(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:"".concat(e,"/").concat(t.path):"":e}function ve(e){var t=e.children&&e.children.map(ve),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=se),n}function me(e,t){var n,i=Object.keys(e),r=Object.keys(t);if(!i||!r||i.length!=r.length)return!1;for(var a=0;a<i.length;a++)if(!be(e[n=i[a]],t[n]))return!1;return!0}function be(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length==t.length&&e.every((function(e){return t.indexOf(e)>-1})):e===t}function ye(e){return Array.prototype.concat.apply([],e)}function Ce(e){return e.length>0?e[e.length-1]:null}function _e(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function we(e){return Object(r.Lb)(e)?e:Object(r.Mb)(e)?Object(o.a)(Prom
1ise.resolve(e)):Object(a.a)(e)}function ke(e,t,n){return n?function(e,t){return me(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Pe(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children){if(!t.children[i])return!1;if(!e(t.children[i],n.children[i]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return be(e[n],t[n])}))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,i,r){if(n.segments.length>r.length)return!!Pe(n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!Pe(n.segments,r))return!1;for(var a in i.children){if(!n.children[a])return!1;if(!e(n.children[a],i.children[a]))return!1}return!0}var o=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!Pe(n.segments,o)&&!!n.children.primary&&t(n.children.primary,i,s)}(t,n,n.segments)}(e.root,t.root)}var xe=function(){function e(t,n,i){_classCallCheck(this,e),this.root=t,this.queryParams=n,this.fragment=i}return _createClass(e,[{key:"toString",value:function(){return De.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=le(this.queryParams)),this._queryParamMap}}]),e}(),Oe=function(){function e(t,n){var i=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,_e(n,(function(e,t){return e.parent=i}))}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return je(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),e}(),Se=function(){function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}return _createClass(e,[{key:"toString",value:function(){return Re(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=le(this.parameters)),this._parameterMap}}]),e}();function Pe(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function Ee(e,t){var n=[];return _e(e.children,(function(e,i){"primary"===i&&(n=n.concat(t(e,i)))})),_e(e.children,(function(e,i){"primary"!==i&&(n=n.concat(t(e,i)))})),n}var Me=function e(){_classCallCheck(this,e)},Ie=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new Be(e);return new xe(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){return"".concat("/"+function e(t,n){if(!t.hasChildren())return je(t);if(n){var i=t.children.primary?e(t.children.primary,!1):"",r=[];return _e(t.children,(function(t,n){"primary"!==n&&r.push("".concat(n,":").concat(e(t,!1)))})),r.length>0?"".concat(i,"(").concat(r.join("//"),")"):i}var a=Ee(t,(function(n,i){return"primary"===i?[e(t.children.primary,!1)]:["".concat(i,":").concat(e(n,!1))]}));return"".concat(je(t),"/(").concat(a.join("//"),")")}(e.root,!0)).concat((t=e.queryParams,n=Object.keys(t).map((function(e){var n=t[e];return Array.isArray(n)?n.map((function(t){return"".concat(Te(e),"=").concat(Te(t))})).join("&"):"".concat(Te(e),"=").concat(Te(n))})),n.length?"?"+n.join("&"):"")).concat("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"");var t,n}}]),e}(),De=new Ie;function je(e){return e.segments.map((function(e){return Re(e)})).join("/")}function Ae(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Te(e){return Ae(e).replace(/%3B/gi,";")}function ze(e){return Ae(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Le(e){return decodeURIComponent(e)}function Ne(e){return Le(e.replace(/\+/g,"%20"))}function Re(e){return"".concat(ze(e.path)).concat((t=e.parameters,Object.keys(t).map((function(e){return";".concat(ze(e),"=").concat(ze(t[e]))})).join("")));var t}var Fe=/^[^\/()?;=#]+/;function Ve(e){var t=e.match(Fe);return t?t[0]:""}var Ue=/^[^=?&#]+/,He=/^[^?&#]+/,Be=function(){function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}return _createClass(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Oe([],{}):new Oe([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decode
1URIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Oe(e,t)),n}},{key:"parseSegment",value:function(){var e=Ve(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new Se(Le(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=Ve(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=Ve(this.remaining);i&&(n=i,this.capture(n))}e[Le(t)]=Le(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(Ue);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(He);return t?t[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var r=Ne(t),a=Ne(n);if(e.hasOwnProperty(r)){var o=e[r];Array.isArray(o)||(o=[o],e[r]=o),o.push(a)}else e[r]=a}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Ve(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");var a=this.parseChildren();t[r]=1===Object.keys(a).length?a.primary:new Oe([],a),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),qe=function(){function e(t){_classCallCheck(this,e),this._root=t}return _createClass(e,[{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=$e(e,this._root);return t?t.children.map((function(e){return e.value})):[]}},{key:"firstChild",value:function(e){var t=$e(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=We(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))}},{key:"pathFromRoot",value:function(e){return We(e,this._root).map((function(e){return e.value}))}},{key:"root",get:function(){return this._root.value}}]),e}();function $e(e,t){if(e===t.value)return t;var n,i=_createForOfIteratorHelper(t.children);try{for(i.s();!(n=i.n()).done;){var r=$e(e,n.value);if(r)return r}}catch(a){i.e(a)}finally{i.f()}return null}function We(e,t){if(e===t.value)return[t];var n,i=_createForOfIteratorHelper(t.children);try{for(i.s();!(n=i.n()).done;){var r=We(e,n.value);if(r.length)return r.unshift(t),r}}catch(a){i.e(a)}finally{i.f()}return[]}var Ge=function(){function e(t,n){_classCallCheck(this,e),this.value=t,this.children=n}return _createClass(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function Xe(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var Ze=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).snapshot=i,tt(_assertThisInitialized(r),e),r}return _createClass(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(qe);function Ye(e,t){var n=function(e,t){var n=new Je([],{},{},"",{},"primary",t,null,e.root,-1,{});return new et("",new Ge(n,[]))}(e,t),i=new s.a([new Se("",{})]),r=new s.a({}),a=new s.a({}),o=new s.a({}),c=new s.a(""),l=new Qe(i,r,o,c,a,"primary",t,n.root);return l.snapshot=n.root,new Ze(new Ge(l,[]),n)}var Qe=function(){function e(t,n,i,r,a,o,s,c){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this._futureSnapshot=c}return _createClass(e,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}
1,{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(p.a)((function(e){return le(e)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(p.a)((function(e){return le(e)})))),this._queryParamMap}}]),e}();function Ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var r=n[i],a=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(a.component)break;i--}}return function(e){return e.reduce((function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(i))}var Je=function(){function e(t,n,i,r,a,o,s,c,l,u,d){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=c,this._urlSegment=l,this._lastPathIndex=u,this._resolve=d}return _createClass(e,[{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(e){return e.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=le(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=le(this.queryParams)),this._queryParamMap}}]),e}(),et=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,i)).url=e,tt(_assertThisInitialized(r),i),r}return _createClass(n,[{key:"toString",value:function(){return nt(this._root)}}]),n}(qe);function tt(e,t){t.value._routerState=e,t.children.forEach((function(t){return tt(e,t)}))}function nt(e){var t=e.children.length>0?" { ".concat(e.children.map(nt).join(", ")," } "):"";return"".concat(e.value).concat(t)}function it(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,me(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),me(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!me(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),me(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function rt(e,t){var n,i;return me(e.params,t.params)&&Pe(n=e.url,i=t.url)&&n.every((function(e,t){return me(e.parameters,i[t].parameters)}))&&!(!e.parent!=!t.parent)&&(!e.parent||rt(e.parent,t.parent))}function at(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function ot(e,t,n,i,r){var a={};return i&&_e(i,(function(e,t){a[t]=Array.isArray(e)?e.map((function(e){return""+e})):""+e})),new xe(n.root===e?t:function e(t,n,i){var r={};return _e(t.children,(function(t,a){r[a]=t===n?i:e(t,n,i)})),new Oe(t.segments,r)}(n.root,e,t),a,r)}var st=function(){function e(t,n,i){if(_classCallCheck(this,e),this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=i,t&&i.length>0&&at(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(r&&r!==Ce(i))throw new Error("{outlets:{}} has to be the last command")}return _createClass(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),ct=function e(t,n,i){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=i};function lt(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function ut(e,t,n){if(e||(e=new Oe([],{})),0===e.segments.length&&e.hasChildren())return dt(e,t,n);var i=function(e,t,n){for(var i=0,r=t,a={match:!1,pathIndex:0,commandIndex:0};r<e.segments.length;){if(i>=n.length)return a;var o=e.segments[r],s=lt(n[i]),c=i<n.length-1?n[i+1]:null;if(r>0&&void 0===s)break;if(s&&c&&"object"==typeof c&&void 0===c.outlets){if(!gt(s,c,o))return a;i+=2}else{if(!gt(s,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}
1(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){var a=new Oe(e.segments.slice(0,i.pathIndex),{});return a.children.primary=new Oe(e.segments.slice(i.pathIndex),e.children),dt(a,0,r)}return i.match&&0===r.length?new Oe(e.segments,{}):i.match&&!e.hasChildren()?ht(e,t,n):i.match?dt(e,0,r):ht(e,t,n)}function dt(e,t,n){if(0===n.length)return new Oe(e.segments,{});var i=function(e){return"object"!=typeof e[0]||void 0===e[0].outlets?{primary:e}:e[0].outlets}(n),r={};return _e(i,(function(n,i){null!==n&&(r[i]=ut(e.children[i],t,n))})),_e(e.children,(function(e,t){void 0===i[t]&&(r[t]=e)})),new Oe(e.segments,r)}function ht(e,t,n){for(var i=e.segments.slice(0,t),r=0;r<n.length;){if("object"==typeof n[r]&&void 0!==n[r].outlets){var a=ft(n[r].outlets);return new Oe(i,a)}if(0===r&&at(n[0]))i.push(new Se(e.segments[t].path,n[0])),r++;else{var o=lt(n[r]),s=r<n.length-1?n[r+1]:null;o&&s&&at(s)?(i.push(new Se(o,pt(s))),r+=2):(i.push(new Se(o,{})),r++)}}return new Oe(i,{})}function ft(e){var t={};return _e(e,(function(e,n){
1null!==e&&(t[n]=ht(new Oe([],{}),0,e))})),t}function pt(e){var t={};return _e(e,(function(e,n){return t[n]=""+e})),t}function gt(e,t,n){return e==n.path&&me(t,n.parameters)}var vt=function(){function e(t,n,i,r){_classCallCheck(this,e),this.routeReuseStrategy=t,this.futureState=n,this.currState=i,this.forwardEvent=r}return _createClass(e,[{key:"activate",value:function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),it(this.futureState.root),this.activateChildRoutes(t,n,e)}},{key:"deactivateChildRoutes",value:function(e,t,n){var i=this,r=Xe(t);e.children.forEach((function(e){var t=e.value.outlet;i.deactivateRoutes(e,r[t],n),delete r[t]})),_e(r,(function(e,t){i.deactivateRouteAndItsChildren(e,n)}))}},{key:"deactivateRoutes",value:function(e,t,n){var i=e.value,r=t?t.value:null;if(i===r)if(i.component){var a=n.getContext(i.outlet);a&&this.deactivateChildRoutes(e,t,a.children)}else this.deactivateChildRoutes(e,t,n);else r&&this.deactivateRouteAndItsChildren(t,n)}},{key:"deactivateRouteAndItsChildren",value:function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}},{key:"detachAndStoreRouteSubtree",value:function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var i=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:i,route:e,contexts:r})}}},{key:"deactivateRouteAndOutlet",value:function(e,t){var n=this,i=t.getContext(e.value.outlet);if(i){var r=Xe(e),a=e.value.component?i.children:t;_e(r,(function(e,t){return n.deactivateRouteAndItsChildren(e,a)})),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}}},{key:"activateChildRoutes",value:function(e,t,n){var i=this,r=Xe(t);e.children.forEach((function(e){i.activateRoutes(e,r[e.value.outlet],n),i.forwardEvent(new ae(e.value.snapshot))})),e.children.length&&this.forwardEvent(new ie(e.value.snapshot))}},{key:"activateRoutes",value:function(e,t,n){var i=e.value,r=t?t.value:null;if(it(i),i===r)if(i.component){var a=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,a.children)}else this.activateChildRoutes(e,t,n);else if(i.component){var o=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){var s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),mt(s.route)}else{var c=function(e){for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),l=c?c.module.componentFactoryResolver:null;o.attachRef=null,o.route=i,o.resolver=l,o.outlet&&o.outlet.activateWith(i,l),this.activateChildRoutes(e,null,o.children)}}else this.activateChildRoutes(e,null,n)}}]),e}();function mt(e){it(e.value),e.children.forEach(mt)}function bt(e){return"function"==typeof e}function yt(e){return e instanceof xe}var Ct=function e(t){_classCallCheck(this,e),this.segmentGroup=t||null},_t=function e(t){_classCallCheck(this,e),this.urlTree=t};function wt(e){return new c.a((function(t){return t.error(new Ct(e))}))}function kt(e){return new c.a((function(t){return t.error(new _t(e))}))}function xt(e){return new c.a((function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))}))}var Ot=function(){function e(t,n,i,a,o){_classCallCheck(this,e),this.configLoader=n,this.urlSerializer=i,this.urlTree=a,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(r.D)}return _createClass(e,[{key:"apply",value:function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(p.a)((function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)}))).pipe(Object(S.a)((function(t){if(t instanceof _t)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Ct)throw e.noMatchError(t);throw t})))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(Object(p.a)((function(n){return t.createUrlTree(n,e.queryParams,e.fragment)}))).pipe(Object(S.a)((function(e){if(e instanceof Ct)throw t.noMatchError(e);throw e})))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var i=e.segments.length>0?new Oe([],{primary:e}):e;return new xe(i,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n
1).pipe(Object(p.a)((function(e){return new Oe([],e)}))):this.expandSegment(e,n,t,n.segments,i,!0)}},{key:"expandChildren",value:function(e,t,n){var i=this;return function(n,r){if(0===Object.keys(n).length)return Object(a.a)({});var o=[],s=[],c={};return _e(n,(function(n,r){var a,l,u=(a=r,l=n,i.expandSegmentGroup(e,t,l,a)).pipe(Object(p.a)((function(e){return c[r]=e})));"primary"===r?o.push(u):s.push(u)})),a.a.apply(null,o.concat(s)).pipe(Object(g.a)(),O(),Object(p.a)((function(){return c})))}(n.children)}},{key:"expandSegment",value:function(e,t,n,i,r,o){var s=this;return Object(a.a).apply(void 0,_toConsumableArray2(n)).pipe(Object(p.a)((function(c){return s.expandSegmentAgainstRoute(e,t,n,c,i,r,o).pipe(Object(S.a)((function(e){if(e instanceof Ct)return Object(a.a)(null);throw e})))})),Object(g.a)(),Object(P.a)((function(e){return!!e})),Object(S.a)((function(e,n){if(e instanceof l.a||"EmptyError"===e.name){if(s.noLeftoversInUrl(t,i,r))return Object(a.a)(new Oe([],{}));throw new Ct(t)}throw e})))}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,i,r,a,o){return Mt(i)!==a?wt(t):void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,a):wt(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,a){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,a)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,i){var r=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?kt(a):this.lineralizeSegments(n,a).pipe(Object(E.a)((function(n){var a=new Oe(n,{});return r.expandSegment(e,a,t,n,i,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,a){var o=this,s=St(t,i,r),c=s.matched,l=s.consumedSegments,u=s.lastChild,d=s.positionalParamSegments;if(!c)return wt(t);var h=this.applyRedirectCommands(l,i.redirectTo,d);return i.redirectTo.startsWith("/")?kt(h):this.lineralizeSegments(i,h).pipe(Object(E.a)((function(i){return o.expandSegment(e,t,n,i.concat(r.slice(u)),a,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i){var r=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(p.a)((function(e){return n._loadedConfig=e,new Oe(i,{})}))):Object(a.a)(new Oe(i,{}));
1var o=St(t,n,i),s=o.matched,c=o.consumedSegments,l=o.lastChild;if(!s)return wt(t);var u=i.slice(l);return this.getChildConfig(e,n,i).pipe(Object(E.a)((function(e){var n=e.module,i=e.routes,o=function(e,t,n,i){return n.length>0&&function(e,t,n){return n.some((function(n){return Et(e,t,n)&&"primary"!==Mt(n)}))}(e,n,i)?{segmentGroup:Pt(new Oe(t,function(e,t){var n={};n.primary=t;var i,r=_createForOfIteratorHelper(e);try{for(r.s();!(i=r.n()).done;){var a=i.value;""===a.path&&"primary"!==Mt(a)&&(n[Mt(a)]=new Oe([],{}))}}catch(o){r.e(o)}finally{r.f()}return n}(i,new Oe(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return Et(e,t,n)}))}(e,n,i)?{segmentGroup:Pt(new Oe(e.segments,function(e,t,n,i){var r,a={},o=_createForOfIteratorHelper(n);try{for(o.s();!(r=o.n()).done;){var s=r.value;Et(e,t,s)&&!i[Mt(s)]&&(a[Mt(s)]=new Oe([],{}))}}catch(c){o.e(c)}finally{o.f()}return Object.assign(Object.assign({},i),a)}(e,n,i,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,c,u,i),s=o.segmentGroup,l=o.slicedSegments;return 0===l.length&&s.hasChildren()?r.expandChildren(n,i,s).pipe(Object(p.a)((function(e){return new Oe(c,e)}))):0===i.length&&0===l.length?Object(a.a)(new Oe(c,{})):r.expandSegment(n,s,i,l,"primary",!0).pipe(Object(p.a)((function(e){return new Oe(c.concat(e.segments),e.children)})))})))}},{key:"getChildConfig",value:function(e,t,n){var i=this;return t.children?Object(a.a)(new he(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(a.a)(t._loadedConfig):function(e,t,n){var i=t.canLoad;return i&&0!==i.length?Object(o.a)(i).pipe(Object(p.a)((function(i){var r,a=e.get(i);if(function(e){return e&&bt(e.canLoad)}(a))r=a.canLoad(t,n);else{if(!bt(a))throw new Error("Invalid CanLoad guard");r=a(t,n)}return we(r)}))).pipe(Object(g.a)(),Object(M.a)((function(e){return!0===e}))):Object(a.a)(!0)}(e.injector,t,n).pipe(Object(E.a)((function(n){return n?i.configLoader.load(e.injector,t).pipe(Object(p.a)((function(e){return t._loadedConfig=e,e}))):function(e){return new c.a((function(t){return t.error(ue("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))}))}(t)}))):Object(a.a)(new he([],e))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(a.a)(n);if(i.numberOfChildren>1||!i.children.primary)return xt(e.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,i){var r=this.createSegmentGroup(e,t.root,n,i);return new xe(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return _e(e,(function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e})),n}},{key:"createSegmentGroup",value:function(e,t,n,i){var r=this,a=this.createSegments(e,t.segments,n,i),o={};return _e(t.children,(function(t,a){o[a]=r.createSegmentGroup(e,t,n,i)})),new Oe(a,o)}},{key:"createSegments",value:function(e,t,n,i){var r=this;return t.map((function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)}))}},{key:"findPosParam",value:function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return i}},{key:"findOrReturn",value:function(e,t){var n,i=0,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a.path===e.path)return t.splice(i),a;i++}}catch(o){r.e(o)}finally{r.f()}return e}}]),e}();function St(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var i=(t.matcher||de)(n,e,t);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Pt(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Oe(e.segments.concat(t.segments),t.children)}return e}function Et(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Mt(e){return e.outlet||"primary"}var It=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},Dt=function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n};function jt(e,t,n){var i=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function At(e,t,n){var i=Xe(e),r=e.value;_e(i,(function(e,i){At(e,r.component?t?t.children.getContext(i):null:t,n)}
1)),n.canDeactivateChecks.push(new Dt(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var Tt=Symbol("INITIAL_VALUE");function zt(){return Object(I.a)((function(e){return Object(u.a).apply(void 0,_toConsumableArray2(e.map((function(e){return e.pipe(Object(D.a)(1),Object(j.a)(Tt))})))).pipe(A((function(e,t){var n=!1;return t.reduce((function(e,i,r){if(e!==Tt)return e;if(i===Tt&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||yt(i))return i}return e}),e)}),Tt),Object(v.a)((function(e){return e!==Tt})),Object(p.a)((function(e){return yt(e)?e:!0===e})),Object(D.a)(1))}))}function Lt(e,t){return null!==e&&t&&t(new re(e)),Object(a.a)(!0)}function Nt(e,t){return null!==e&&t&&t(new ne(e)),Object(a.a)(!0)}function Rt(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Object(a.a)(!0);var r=i.map((function(i){return Object(d.a)((function(){var r,a=jt(i,t,n);if(function(e){return e&&bt(e.canActivate)}(a))r=we(a.canActivate(t,e));else{if(!bt(a))throw new Error("Invalid CanActivate guard");r=we(a(t,e))}return r.pipe(Object(P.a)())}))}));return Object(a.a)(r).pipe(zt())}function Ft(e,t,n){var i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map((function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)})).filter((function(e){return null!==e})).map((function(t){return Object(d.a)((function(){var r=t.guards.map((function(r){var a,o=jt(r,t.node,n);if(function(e){return e&&bt(e.canActivateChild)}(o))a=we(o.canActivateChild(i,e));else{if(!bt(o))throw new Error("Invalid CanActivateChild guard");a=we(o(i,e))}return a.pipe(Object(P.a)())}));return Object(a.a)(r).pipe(zt())}))}));return Object(a.a)(r).pipe(zt())}var Vt=function e(){_classCallCheck(this,e)},Ut=function(){function e(t,n,i,r,a,o){_classCallCheck(this,e),this.rootComponentType=t,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=o}return _createClass(e,[{key:"recognize",value:function(){try{var e=qt(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new Je([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Ge(n,t),r=new et(this.url,i);return this.inheritParamsAndData(r._root),Object(a.a)(r)}catch(o){return new c.a((function(e){return e.error(o)}))}}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,i=Ke(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){var n,i=this,r=Ee(t,(function(t,n){return i.processSegmentGroup(e,t,n)}));return n={},r.forEach((function(e){var t=n[e.value.outlet];if(t){var i=t.url.map((function(e){return e.toString()})).join("/"),r=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(i,"' and '").concat(r,"'."))}n[e.value.outlet]=e.value})),r.sort((function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)})),r}},{key:"processSegment",value:function(e,t,n,i){var r,a=_createForOfIteratorHelper(e);try{for(a.s();!(r=a.n()).done;){var o=r.value;try{return this.processSegmentAgainstRoute(o,t,n,i)}catch(s){if(!(s instanceof Vt))throw s}}}catch(c){a.e(c)}finally{a.f()}if(this.noLeftoversInUrl(t,n,i))return[];throw new Vt}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"processSegmentAgainstRoute",value:function(e,t,n,i){if(e.redirectTo)throw new Vt;if((e.outlet||"primary")!==i)throw new Vt;var r,a=[],o=[];if("**"===e.path){var s=n.length>0?Ce(n).parameters:{};r=new Je(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gt(e),i,e.component,e,Ht(t),Bt(t)+n.length,Xt(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Vt;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(t.matcher||de)(n,e,t);if(!i)throw new Vt;var r={};_e(i.posParams,(function(e,t){r[t]=e.path}));var a=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a}}(t,e,n);a=c.consumedSegments,o=n.slice(c.lastChild),r=new Je(a,c.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gt(e),i,e.component,e,Ht(t),Bt(t)+a.length,Xt(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),u=qt(t,a,o,l,this.relativeLinkResolution),d=u.segmentGroup,h=u.slicedSegments;if(0===h.length&&d.hasChildren()){var f=this.processChildren(l,d);return[new Ge(r,f)]}if(0===l.length&&0===h.length)return[new Ge(r,[])];var p=this.processSegment(l,d,h,"primary");return[new Ge(r,p)]}}]),e}();function Ht(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Bt(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function qt(e,t,n,i,r){if(n.length>0&&function(e,t,n){return n.some((function(n){return $t(e,t,n)&&"primary"!==Wt(n)}))}(e,n,i)){var a=new Oe(t,function(e,t,n,i){var r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var a,o=_createForOfIteratorHelper(n);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(""===s.path&&"primary"!==Wt(s)){var c=new Oe([],{});c._sourceSegment=e,c._segmentIndexShift=t.length,r[Wt(s)]=c}}}catch(l){o.e(l)}finally{o.f()}return r}(e,t,i,new Oe(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return $t(e,t,n)}))}(e,n,i)){var o=new Oe(e.segments,function(e,t,n,i,r,a){var o,s={},c=_createForOfIteratorHelper(i);try{for(c.s();!(o=c.n()).done;){var l=o.value;if($t(e,n,l)&&!r[Wt(l)]){var u=new Oe([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===a?e.segments.length:t.length,s[Wt(l)]=u}}}catch(d){c.e(d)}finally{c.f()}return Object.assign(Object.assign({},r),s)}(e,t,n,i,e.children,r));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}var s=new Oe(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function $t(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Wt(e){return e.outlet||"primary"}function Gt(e){return e.data||{}}function Xt(e){return e.resolve||{}}function Zt(e,t,n,i){var r=jt(e,t,i);return we(r.resolve?r.resolve(t,n):r(t,n))}function Yt(e){return function(t){return t.pipe(Object(I.a)((function(t){var n=e(t);return n?Object(o.a)(n).pipe(Object(p.a)((function(){return t}))):Object(o.a)([t])})))}}var Qt=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}
1(),Kt=new r.v("ROUTES"),Jt=function(){function e(t,n,i,r){_classCallCheck(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return _createClass(e,[{key:"load",value:function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(p.a)((function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var r=i.create(e);return new he(ye(r.injector.get(Kt)).map(ve),r)})))}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?Object(o.a)(this.loader.load(e)):we(e()).pipe(Object(E.a)((function(e){return e instanceof r.B?Object(a.a)(e):Object(o.a)(t.compiler.compileModuleAsync(e))})))}}]),e}(),en=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function tn(e){throw e}function nn(e,t,n){return t.parse("/")}function rn(e,t){return Object(a.a)(null)}var an,on,sn,cn=((sn=function(){function e(t,n,i,a,o,c,l,u){var d=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=i,this.location=a,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new h.a,this.errorHandler=tn,this.malformedUriErrorHandler=nn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:rn,afterPreactivation:rn},this.urlHandlingStrategy=new en,this.routeReuseStrategy=new Qt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(r.D),this.console=o.get(r.hb);var f=o.get(r.F);this.isNgZoneEnabled=f instanceof r.F,this.resetConfig(u),this.currentUrlTree=new xe(new Oe([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Jt(c,l,(function(e){return d.triggerEvent(new ee(e))}),(function(e){return d.triggerEvent(new te(e))})),this.routerState=Ye(this.currentUrlTree,this.rootComponentType),this.transitions=new s.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return _createClass(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(Object(v.a)((function(e){return 0!==e.id})),Object(p.a)((function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),Object(I.a)((function(e){var i,r,c,l,u=!1,d=!1;return Object(a.a)(e).pipe(Object(F.a)((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Object(I.a)((function(e){var i,r,o,s,c=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||c)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(a.a)(e).pipe(Object(I.a)((function(e){var i=t.transitions.getValue();return n.next(new $(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?f.a:[e]})),Object(I.a)((function(e){return Promise.resolve(e)})),(i=t.ngModule.injector,r=t.configLoader,o=t.urlSerializer,s=t.config,function(e){return e.pipe(Object(I.a)((function(e){return function(e,t,n,i,r){return new Ot(e,t,n,i,r).apply()}
1(i,r,o,e.extractedUrl,s).pipe(Object(p.a)((function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})})))})))}),Object(F.a)((function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})})),function(e,n,i,r,a){return function(i){return i.pipe(Object(E.a)((function(i){return function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new Ut(e,t,n,i,r,a).recognize()}(e,n,i.urlAfterRedirects,(o=i.urlAfterRedirects,t.serializeUrl(o)),r,a).pipe(Object(p.a)((function(e){return Object.assign(Object.assign({},i),{targetSnapshot:e})})));var o})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Object(F.a)((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),Object(F.a)((function(e){var i=new Z(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)})));if(c&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var l=e.id,u=e.extractedUrl,d=e.source,h=e.restoredState,g=e.extras,v=new $(l,t.serializeUrl(u),d,h);n.next(v);var m=Ye(u,t.rootComponentType).snapshot;return Object(a.a)(Object.assign(Object.assign({},e),{targetSnapshot:m,urlAfterRedirects:u,extras:Object.assign(Object.assign({},g),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),f.a})),Yt((function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,a=e.rawUrl,o=e.extras,s=o.skipLocationChange,c=o.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!c})})),Object(F.a)((function(e){var n=new Y(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),Object(p.a)((function(e){return Object.assign(Object.assign({},e),{guards:(n=e.targetSnapshot,i=e.currentSnapshot,r=t.rootContexts,a=n._root,function e(t,n,i,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=Xe(n);return t.children.forEach((function(t){!function(t,n,i,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=t.value,s=n?n.value:null,c=i?i.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Pe(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Pe(e.url,t.url)||!me(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rt(e,t)||!me(e.queryParams,t.queryParams);case"paramsChange":default:return!rt(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?a.canActivateChecks.push(new It(r)):(o.data=s.data,o._resolvedData=s._resolvedData),e(t,n,o.component?c?c.children:null:i,r,a),l&&a.canDeactivateChecks.push(new Dt(c&&c.outlet&&c.outlet.component||null,s))}else s&&At(n,c,a),a.canActivateChecks.push(new It(r)),e(t,null,o.component?c?c.children:null:i,r,a)}(t,o[t.value.outlet],i,r.concat([t.value]),a),delete o[t.value.outlet]})),_e(o,(function(e,t){return At(e,i.getContext(t),a)})),a}(a,i?i._root:null,r,[a.value]))});var n,i,r,a})),function(e,t){return function(n){return n.pipe(Object(E.a)((function(n){var i=n.targetSnapshot,r=n.currentSnapshot,s=n.guards,c=s.canActivateChecks,l=s.canDeactivateChecks;return 0===l.length&&0===c.length?Object(a.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return Object(o.a)(e).pipe(Object(E.a)((function(e){return function(e,t,n,i,r){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(a.a)(!0);var s=o.map((function(a){var o,s=jt(a,t,r);if(function(e){return e&&bt(e.canDeactivate)}(s))o=we(s.canDeactivate(e,t,n,i));else{if(!bt(s))throw new Error("Invalid CanDeactivate guard");o=we(s(e,t,n,i))}
1return o.pipe(Object(P.a)())}));return Object(a.a)(s).pipe(zt())}(e.component,e.route,n,t,i)})),Object(P.a)((function(e){return!0!==e}),!0))}(l,i,r,e).pipe(Object(E.a)((function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return Object(o.a)(t).pipe(Object(N.a)((function(t){return Object(o.a)([Nt(t.route.parent,i),Lt(t.route,i),Ft(e,t.path,n),Rt(e,t.route,n)]).pipe(Object(g.a)(),Object(P.a)((function(e){return!0!==e}),!0))})),Object(P.a)((function(e){return!0!==e}),!0))}(i,c,e,t):Object(a.a)(n)})),Object(p.a)((function(e){return Object.assign(Object.assign({},n),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),Object(F.a)((function(e){if(yt(e.guardsResult)){var n=ue('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}})),Object(F.a)((function(e){var n=new Q(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),Object(v.a)((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var i=new G(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(i),e.resolve(!1),!1}return!0})),Yt((function(e){if(e.guards.canActivateChecks.length)return Object(a.a)(e).pipe(Object(F.a)((function(e){var n=new K(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),(n=t.paramsInheritanceStrategy,i=t.ngModule.injector,function(e){return e.pipe(Object(E.a)((function(e){var t=e.targetSnapshot,r=e.guards.canActivateChecks;return r.length?Object(o.a)(r).pipe(Object(N.a)((function(e){return function(e,t,n,i){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return Object(a.a)({});if(1===r.length){var s=r[0];return Zt(e[s],t,n,i).pipe(Object(p.a)((function(e){return _defineProperty2({},s,e)})))}var c={};return Object(o.a)(r).pipe(Object(E.a)((function(r){return Zt(e[r],t,n,i).pipe(Object(p.a)((function(e){return c[r]=e,e})))}))).pipe(O(),Object(p.a)((function(){return c})))}(e._resolve,e,t,i).pipe(Object(p.a)((function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Ke(e,n).resolve),null})))}(e.route,t,n,i)})),function(e,t){return arguments.length>=2?function(n){return Object(R.a)(A(e,t),y(1),Object(k.a)(t))(n)}:function(t){return Object(R.a)(A((function(t,n,i){return e(t,n,i+1)})),y(1))(t)}}((function(e,t){return e})),Object(p.a)((function(t){return e}))):Object(a.a)(e)})))}),Object(F.a)((function(e){var n=new J(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,i})),Yt((function(e){var n=e.targetSnapshot,i=e.id,r=e.extractedUrl,a=e.rawUrl,o=e.extras,s=o.skipLocationChange,c=o.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!c})})),Object(p.a)((function(e){var n=function(e,t,n){var i=function e(t,n,i){if(i&&t.shouldReuseRoute(n.value,i.value.snapshot)){var r=i.value;r._futureSnapshot=n.value;var a=function(t,n,i){return n.children.map((function(n){var r,a=_createForOfIteratorHelper(i.children);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(t.shouldReuseRoute(o.value.snapshot,n.value))return e(t,n,o)}}catch(s){a.e(s)}finally{a.f()}return e(t,n)}))}(t,n,i);return new Ge(r,a)}var o=t.retrieve(n.value);if(o){var c=o.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var i=0;i<t.children.length;++i)e(t.children[i],n.children[i])}(n,c),c}var l,u=new Qe(new s.a((l=n.value).url),new s.a(l.params),new s.a(l.queryParams),new s.a(l.fragment),new s.a(l.data),l.outlet,l.component,l),d=n.children.map((function(n){return e(t,n)}));return new Ge(u,d)}(e,t._root,n?n._root:void 0);return new Ze(i,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})}
1)),Object(F.a)((function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),(r=t.rootContexts,c=t.routeReuseStrategy,l=function(e){return t.triggerEvent(e)},Object(p.a)((function(e){return new vt(c,e.targetRouterState,e.currentRouterState,l).activate(r),e}))),Object(F.a)({next:function(){u=!0},complete:function(){u=!0}}),(i=function(){if(!u&&!d){t.resetUrlToCurrentUrlTree();var i=new G(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId));n.next(i),e.resolve(!1)}t.currentNavigation=null},function(e){return e.lift(new U(i))}),Object(S.a)((function(i){if(d=!0,(s=i)&&s.ngNavigationCancelingError){var r=yt(i.url);r||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var a=new G(e.id,t.serializeUrl(e.extractedUrl),i.message);n.next(a),r?setTimeout((function(){var n=t.urlHandlingStrategy.merge(i.url,t.rawUrlTree);return t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})}),0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var o=new X(e.id,t.serializeUrl(e.extractedUrl),i);n.next(o);try{e.resolve(t.errorHandler(i))}catch(c){e.reject(c)}}var s;return f.a})))})))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(t){var n=e.parseUrl(t.url),i="popstate"===t.type?"popstate":"hashchange",r=t.state&&t.state.navigationId?t.state:null;setTimeout((function(){e.scheduleNavigation(n,i,r,{replaceUrl:!0})}),0)})))}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){fe(e),this.config=e.map(ve),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,i=t.queryParams,a=t.fragment,o=t.preserveQueryParams,s=t.queryParamsHandling,c=t.preserveFragment;Object(r.db)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,u=c?this.currentUrlTree.fragment:a,d=null;if(s)switch(s){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=i||null}else d=o?this.currentUrlTree.queryParams:i||null;return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,n,i,r){if(0===n.length)return ot(t.root,t.root,t,i,r);var a=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new st(!0,0,e);var t=0,n=!1,i=e.reduce((function(e,i,r){if("object"==typeof i&&null!=i){if(i.outlets){var a={};return _e(i.outlets,(function(e,t){a[t]="string"==typeof e?e.split("/"):e})),[].concat(_toConsumableArray2(e),[{outlets:a}])}if(i.segmentPath)return[].concat(_toConsumableArray2(e),[i.segmentPath])}return"string"!=typeof i?[].concat(_toConsumableArray2(e),[i]):0===r?(i.split("/").forEach((function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))})),e):[].concat(_toConsumableArray2(e),[i])}),[]);return new st(n,t,i)}(n);if(a.toRoot())return ot(t.root,new Oe([],{}),t,i,r);var o=function(e,t,n){if(e.isAbsolute)return new ct(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new ct(n.snapshot._urlSegment,!0,0);var i=at(e.commands[0])?0:1;return function(e,t,n){for(var i=e,r=t,a=n;a>r;){if(a-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new ct(i,!1,r-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(a,t,e),s=o.processChildren?dt(o.segmentGroup,o.index,a.commands):ut(o.segmentGroup,o.index,a.commands);return ot(o.segmentGroup,s,t,i,r)}(l,this.currentUrlTree,e,d,u)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Object(r.db)()&&this.isNgZoneEnabled&&!r.F.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did 
1you forget to call 'ngZone.run()'?");var n=yt(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains ".concat(n," segment at index ").concat(t))}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}},{key:"serializeUrl",value:function(e){return this.urlSerializer.serialize(e)}},{key:"parseUrl",value:function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}},{key:"isActive",value:function(e,t){if(yt(e))return ke(this.currentUrlTree,e,t);var n=this.parseUrl(e);return ke(this.currentUrlTree,n,t)}},{key:"removeEmptyProps",value:function(e){return Object.keys(e).reduce((function(t,n){var i=e[n];return null!=i&&(t[n]=i),t}),{})}},{key:"processNavigations",value:function(){var e=this;this.navigations.subscribe((function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new W(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),e.lastSuccessfulNavigation=e.currentNavigation,e.currentNavigation=null,t.resolve(!0)}),(function(t){e.console.warn("Unhandled Navigation Error: ")}))}},{key:"scheduleNavigation",value:function(e,t,n,i,r){var a,o,s,c=this.getTransition();if(c&&"imperative"!==t&&"imperative"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(c&&"hashchange"==t&&"popstate"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(c&&"popstate"==t&&"hashchange"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);r?(a=r.resolve,o=r.reject,s=r.promise):s=new Promise((function(e,t){a=e,o=t}));var l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:a,reject:o,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch((function(e){return Promise.reject(e)}))}},{key:"setBrowserUrl",value:function(e,t,n,i){var r=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}},{key:"resetStateAndUrl",value:function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}}]),e}()).\u0275fac=function(e){r.Pc()},sn.\u0275dir=r.tc({type:sn}),sn),ln=((on=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.router=t,this.route=n,this.commands=[],null==i&&r.setAttribute(a.nativeElement,"tabindex","0")}return _createClass(e,[{key:"onClick",value:function(){var e={skipLocationChange:dn(this.skipLocationChange),replaceUrl:dn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}},{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Object(r.db)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:dn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:dn(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||on)(r.yc(cn),r.yc(Qe),r.Nc("tabindex"),r.yc(r.L),r.yc(r.q))},on.\u0275dir=r.tc({type:on,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&r.Qc("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),on),un=((an=function(){function e(t,n,i){var r=this;_classCallCheck(this,e),this.router=t,this.route=n,this.locationStrategy=i,this.commands=[],this.subscription=t.events.subscribe((function(e){e instanceof W&&r.updateTargetUrlAndHref()}))}return _createClass(e,[{key:"ngOnChanges",value:function(e){this.updateTargetUrlAndHref()}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(e,t,n,i){if(0!==e||t||n||i)return!0;
1if("string"==typeof this.target&&"_self"!=this.target)return!0;var r={skipLocationChange:dn(this.skipLocationChange),replaceUrl:dn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Object(r.db)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:dn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:dn(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||an)(r.yc(cn),r.yc(Qe),r.yc(i.p))},an.\u0275dir=r.tc({type:an,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&r.Qc("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(r.Hc("href",t.href,r.qd),r.kc("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[r.hc]}),an);function dn(e){return""===e||!!e}var hn,fn,pn,gn,vn=((hn=function(){function e(t,n,i,r,a){var o=this;_classCallCheck(this,e),this.router=t,this.element=n,this.renderer=i,this.link=r,this.linkWithHref=a,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe((function(e){e instanceof W&&o.update()}))}return _createClass(e,[{key:"ngAfterContentInit",value:function(){var e=this;this.links.changes.subscribe((function(t){return e.update()})),this.linksWithHrefs.changes.subscribe((function(t){return e.update()})),this.update()}},{key:"ngOnChanges",value:function(e){this.update()}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"update",value:function(){var e=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then((function(){var t=e.hasActiveLinks();e.isActive!==t&&(e.isActive=t,e.classes.forEach((function(n){t?e.renderer.addClass(e.element.nativeElement,n):e.renderer.removeClass(e.element.nativeElement,n)})))}))}},{key:"isLinkActive",value:function(e){var t=this;return function(n){return e.isActive(n.urlTree,t.routerLinkActiveOptions.exact)}}},{key:"hasActiveLinks",value:function(){var e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}},{key:"routerLinkActive",set:function(e){var t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter((function(e){return!!e}))}}]),e}()).\u0275fac=function(e){return new(e||hn)(r.yc(cn),r.yc(r.q),r.yc(r.L),r.yc(ln,8),r.yc(un,8))},hn.\u0275dir=r.tc({type:hn,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){var i;1&e&&(r.qc(n,ln,!0),r.qc(n,un,!0)),2&e&&(r.jd(i=r.Rc())&&(t.links=i),r.jd(i=r.Rc())&&(t.linksWithHrefs=i))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[r.hc]}),hn),mn=function e(){_classCallCheck(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new bn,this.attachRef=null},bn=function(){function e(){_classCallCheck(this,e),this.contexts=new Map}return _createClass(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new mn,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),yn=((fn=function(){function e(t,n,i,a,o){_classCallCheck(this,e),this.parentContexts=t,this.location=n,this.resolver=i,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.s,this.deactivateEvents=new r.s,this.name=a||"primary",t.onChildOutletCreated(this.name,this)}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e}},{key:"attach",value:function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}},{key:"deactivate",value:function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}},{key:"activateWith",value:function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new Cn(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}}]),e}()).\u0275fac=function(e){return new(e||fn)(r.yc(bn),r.yc(r.X),r.yc(r.n),r.Nc("name"),r.yc(r.j))},fn.\u0275dir=r.tc({type:fn,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),fn),Cn=function(){function e(t,n,i){_classCallCheck(this,e),this.route=t,this.childContexts=n,this.parent=i}return _createClass(e,[{key:"get",value:function(e,t){return e===Qe?this.route:e===bn?this.childContexts:this.parent.get(e,t)}}]),e}(),_n=function e(){_classCallCheck(this,e)},wn=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return Object(a.a)(null)}}]),e}(),kn=((gn=function(){function e(t,n,i,r,a){_classCallCheck(this,e),this.router=t,this.injector=r,this.preloadingStrategy=a,this.loader=new Jt(n,i,(function(e){return t.triggerEvent(new ee(e))}),(function(e){return t.triggerEvent(new te(e))}))}return _createClass(e,[{key:"setUpPreloading",value:function(){var e=this;this.subscription=this.router.events.pipe(Object(v.a)((function(e){return e instanceof W})),Object(N.a)((function(){return e.preload()}))).subscribe((function(){}))}},{key:"preload",value:function(){var e=this.injector.get(r.D);return this.processRoutes(e,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"processRoutes",value:function(e,t){var n,i=[],r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a.loadChildren&&!a.canLoad&&a._loadedConfig){var s=a._loadedConfig;i.push(this.processRoutes(s.module,s.routes))}else a.loadChildren&&!a.canLoad?i.push(this.preloadConfig(e,a)):a.children&&i.push(this.processRoutes(e,a.children))}}catch(c){r.e(c)}finally{r.f()}return Object(o.a)(i).pipe(Object(B.a)(),Object(p.a)((function(e){})))}},{key:"preloadConfig",value:function(e,t){var n=this;return this.preloadingStrategy.preload(t,(function(){return n.loader.load(e.injector,t).pipe(Object(E.a)((function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)})))}))}}]),e}()).\u0275fac=function(e){return new(e||gn)(r.Mc(cn),r.Mc(r.C),r.Mc(r.k),r.Mc(r.w),r.Mc(_n))},gn.\u0275prov=r.uc({token:gn,factory:gn.\u0275fac}),gn),xn=((pn=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anch
1orScrolling||"disabled"}return _createClass(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof $?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof W&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof oe&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new oe(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){r.Pc()},pn.\u0275dir=r.tc({type:pn}),pn),On=new r.v("ROUTER_CONFIGURATION"),Sn=new r.v("ROUTER_FORROOT_GUARD"),Pn=[i.o,{provide:Me,useClass:Ie},{provide:cn,useFactory:function(e,t,n,r,a,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,d=new cn(null,e,t,n,r,a,o,ye(s));if(l&&(d.urlHandlingStrategy=l),u&&(d.routeReuseStrategy=u),c.errorHandler&&(d.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(d.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){var h=Object(i.T)();d.events.subscribe((function(e){h.logGroup("Router Event: "+e.constructor.name),h.log(e.toString()),h.log(e),h.logGroupEnd()}))}return c.onSameUrlNavigation&&(d.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(d.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(d.relativeLinkResolution=c.relativeLinkResolution),d},deps:[Me,bn,i.o,r.w,r.C,r.k,Kt,On,[function(){return function e(){_classCallCheck(this,e)}}(),new r.G],[function(){return function e(){_classCallCheck(this,e)}}(),new r.G]]},bn,{provide:Qe,useFactory:function(e){return e.routerState.root},deps:[cn]},{provide:r.C,useClass:r.R},kn,wn,function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return t().pipe(Object(S.a)((function(){return Object(a.a)(null)})))}}]),e}(),{provide:On,useValue:{enableTracing:!1}}];function En(){return new r.E("Router",cn)}var Mn,In=((Mn=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Pn,Tn(t),{provide:Sn,useFactory:An,deps:[[cn,new r.G,new r.Q]]},{provide:On,useValue:n||{}},{provide:i.p,useFactory:jn,deps:[i.E,[new r.u(i.a),new r.G],On]},{provide:xn,useFactory:Dn,deps:[cn,i.J,On]},{provide:_n,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:wn},{provide:r.E,multi:!0,useFactory:En},[Ln,{provide:r.d,multi:!0,useFactory:Nn,deps:[Ln]},{provide:Fn,useFactory:Rn,deps:[Ln]},{provide:r.b,multi:!0,useExisting:Fn}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[Tn(t)]}}}]),e}()).\u0275mod=r.wc({type:Mn}),Mn.\u0275inj=r.vc({factory:function(e){return new(e||Mn)(r.Mc(Sn,8),r.Mc(cn,8))}}),Mn);function Dn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new xn(e,t,n)}function jn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new i.i(e,t):new i.C(e,t)}function An(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Tn(e){return[{provide:r.a,multi:!0,useValue:e},{provide:Kt,multi:!0,useValue:e}]}var zn,Ln=((zn=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new h.a}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(i.n,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),i=e.injector.get(cn),r=e.injector.get(On);if(e.isLegacyDisabled(r)||e.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)i.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(r.initialNavigation,"'"));i.hooks.afterPreactivation=function(){return e.initNavigation?Object(a.a)(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(On),n=this.injector.get(kn),i=this.injector.get(xn),a=this.injector.get(cn),o=this.injector.get(r.g);e===o.components[0]&&(this.isLegacyEnabled(t)?a.initialNavigation():this.isLegacyDisabled(t)&&a.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),a.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}},{key:"isLegacyDisabled",value:function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}]),e}()).\u0275fac=function(e){return new(e||zn)(r.Mc(r.w))},zn.\u0275prov=r.uc({token:zn,factory:zn.\u0275fac}),zn);function Nn(e){return e.appInitializer.bind(e)}function Rn(e){return e.bootstrapListener.bind(e)}var Fn=new r.v("Router Initializer")},uE2L:function(e,t,n){"use strict";var i=n("AwXo");t.a=function(e,t,n){"__proto__"==t&&i.a?Object(i.a)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},vJtL:function(e,t,n){"use strict";var i=n("8M4i"),r=n("IzLi");t.a=function(e){if(!Object(r.a)(e))return!1;var t=Object(i.a)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},vkgz:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var i=n("7o/Q"),r=n("KqfI"),a=n("n6bG");function o(e,t,n){return function(i){return i.lift(new s(e,t,n))}}var s=function(){function e(t,n,i){_classCallCheck(this,e),this.nextOrObserver=t,this.error=n,this.complete=i}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),c=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,o,s){var c;return _classCallCheck(this,n),(c=t.call(this,e))._tapNext=r.a,c._tapError=r.a,c._tapComplete=r.a,c._tapError=o||r.a,c._tapComplete=s||r.a,Object(a.a)(i)?(c._context=_assertThisInitialized(c),c._tapNext=i):i&&(c._context=i,c._tapNext=i.next||r.a,c._tapError=i.error||r.a,c._tapComplete=i.complete||r.a),c}return _createClass(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(i.a)},w1tV:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n("XNiG"),r=n("HDdC"),a=n("7o/Q"),o=n("quSY");function s(){return function(e){return e.lift(new l(e))}}var c,l=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new u(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),e}(),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).connectable=i,r}return _createClass(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(a.a),d=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this)).source=e,r.subjectFactory=i,r._refCount=0,r._isComplete=!1,r}return _createClass(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new o.a).add(this.source.subscribe(new f(this.getSubject(),this))),e.closed&&(this._connection=null,e=o.a.EMPTY)),e}},{key:"refCount",value:function(){return s()(this)}}]),n}(r.a),h={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(c=d.prototype)._subscribe},_isComplete:{value:c._isComplete,writable:!0},getSubject:{value:c.getSubject},connect:{value:c.connect},refCount:{value:c.refCount}},f=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).connectable=i,r}return _createClass(n,[{key:"_error",value:function(e){this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(i.b);function p(){return new i.a}function g(){return function(e){return s()((t=p,function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,h);return i.source=e,i.subjectFactory=n,i})(e));var t}}},wQ6Y:function(e,t,n){"use strict";n.d(t,"a",(function(){return Q}));var i=n("fXoL"),r=n("ofXK"),a=n("wf0l"),o=n("nhfI"),s=n("ehPC"),c=n("U9Oy"),l=n("UBAy"),u=n("MlV6"),d=n("q2jt"),h=n("Tj+J"),f=n("yApx"),p=n("PGyc"),g=n("Zivq"),v=n("J/4d"),m=n("4DlN"),b=n("p9P
1j"),y=n("VDON"),C=n("Y6Wm"),_=n("/ACT"),w=n("dam5"),k=n("QauM"),x=n("13ou"),O=n("JUSj"),S=n("INbW"),P=n("7Yz4"),E=n("QNIm"),M=n("3Adg"),I=n("y5FN"),D=n("X2cd"),j=n("pI7v"),A=n("HLmT"),T=n("eLTN"),z=n("XhrQ"),L=n("r//d"),N=n("Xiot"),R=n("otbX"),F=n("AMXB"),V=n("qDyL"),U=n("9a0I"),H=n("iOsp"),B=n("2FYO"),q=n("p3ot"),$=n("ZwN2"),W=n("qy30"),G=n("11ml"),X=n("nL8Z"),Z=n("bsIB"),Y=n("OevD"),Q=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=i.wc({type:e}),e.\u0275inj=i.vc({factory:function(t){return new(t||e)},providers:[{provide:Object(i.cb)((function(){return s.s})),useValue:s.s},{provide:Object(i.cb)((function(){return s.Q})),useValue:s.Q},{provide:Object(i.cb)((function(){return s.x})),useValue:s.x},{provide:Object(i.cb)((function(){return s.E})),useValue:s.E},{provide:Object(i.cb)((function(){return s.n})),useValue:s.n},{provide:Object(i.cb)((function(){return s.N})),useValue:s.N},{provide:Object(i.cb)((function(){return s.u})),useValue:s.u},{provide:Object(i.cb)((function(){return s.C})),useValue:s.C}],imports:[[r.c,a.b,c.a,o.c]]}),e}();i.rd(s.I,[r.r,r.s,r.t,r.u,r.B,r.x,r.y,r.z,r.A,r.v,r.w,a.a,l.a,u.a,d.a,h.a,f.a,p.a,g.a,v.a,m.a,b.a,y.a,C.a,_.a,w.a,k.a,x.a,O.a,S.a,P.a,E.a,M.a,I.a,D.a,j.a,A.a,T.a,z.a,L.a,N.a,R.a,F.a,V.a,U.a,H.a,B.a,q.d,q.c,q.b,q.a,$.a,W.a,G.a,X.a,Z.a,o.a,o.b,s.I,s.o,s.s,s.Q,s.x,s.E,s.n,s.N,s.u,s.C],[r.b,r.I,r.q,r.l,r.F,r.g,r.D,r.G,r.d,r.f,r.j,r.k,r.m,Y.a]),i.rd(s.E,[r.r,r.s,r.t,r.u,r.B,r.x,r.y,r.z,r.A,r.v,r.w,a.a,l.a,u.a,d.a,h.a,f.a,p.a,g.a,v.a,m.a,b.a,y.a,C.a,_.a,w.a,k.a,x.a,O.a,S.a,P.a,E.a,M.a,I.a,D.a,j.a,A.a,T.a,z.a,L.a,N.a,R.a,F.a,V.a,U.a,H.a,B.a,q.d,q.c,q.b,q.a,$.a,W.a,G.a,X.a,Z.a,o.a,o.b,s.I,s.o,s.s,s.Q,s.x,s.E,s.n,s.N,s.u,s.C],[r.b,r.I,r.q,r.l,r.F,r.g,r.D,r.G,r.d,r.f,r.j,r.k,r.m,Y.a]),i.rd(s.n,[r.r,r.s,r.t,r.u,r.B,r.x,r.y,r.z,r.A,r.v,r.w,a.a,l.a,u.a,d.a,h.a,f.a,p.a,g.a,v.a,m.a,b.a,y.a,C.a,_.a,w.a,k.a,x.a,O.a,S.a,P.a,E.a,M.a,I.a,D.a,j.a,A.a,T.a,z.a,L.a,N.a,R.a,F.a,V.a,U.a,H.a,B.a,q.d,q.c,q.b,q.a,$.a,W.a,G.a,X.a,Z.a,o.a,o.b,s.I,s.o,s.s,s.Q,s.x,s.E,s.n,s.N,s.u,s.C],[r.b,r.I,r.q,r.l,r.F,r.g,r.D,r.G,r.d,r.f,r.j,r.k,r.m,Y.a]),i.rd(s.N,[r.r,r.s,r.t,r.u,r.B,r.x,r.y,r.z,r.A,r.v,r.w,a.a,l.a,u.a,d.a,h.a,f.a,p.a,g.a,v.a,m.a,b.a,y.a,C.a,_.a,w.a,k.a,x.a,O.a,S.a,P.a,E.a,M.a,I.a,D.a,j.a,A.a,T.a,z.a,L.a,N.a,R.a,F.a,V.a,U.a,H.a,B.a,q.d,q.c,q.b,q.a,$.a,W.a,G.a,X.a,Z.a,o.a,o.b,s.I,s.o,s.s,s.Q,s.x,s.E,s.n,s.N,s.u,s.C],[r.b,r.I,r.q,r.l,r.F,r.g,r.D,r.G,r.d,r.f,r.j,r.k,r.m,Y.a]),i.rd(s.C,[r.r,r.s,r.t,r.u,r.B,r.x,r.y,r.z,r.A,r.v,r.w,a.a,l.a,u.a,d.a,h.a,f.a,p.a,g.a,v.a,m.a,b.a,y.a,C.a,_.a,w.a,k.a,x.a,O.a,S.a,P.a,E.a,M.a,I.a,D.a,j.a,A.a,T.a,z.a,L.a,N.a,R.a,F.a,V.a,U.a,H.a,B.a,q.d,q.c,q.b,q.a,$.a,W.a,G.a,X.a,Z.a,o.a,o.b,s.I,s.o,s.s,s.Q,s.x,s.E,s.n,s.N,s.u,s.C],[r.b,r.I,r.q,r.l,r.F,r.g,r.D,r.G,r.d,r.f,r.j,r.k,r.m,Y.a])},wf0l:function(e,t,n){"use strict";n.d(t,"a",(function(){return L})),n.d(t,"b",(function(){return N}));var i=n("XNiG"),r=n("LRne"),a=n("HDdC"),o=n("jtHE"),s=n("5yfJ"),c=(n("EY2u"),n("pLZG")),l=n("vkgz"),u=n("IzEk"),d=n("5+tZ"),h=n("lJxs"),f=n("JIr8"),p=n("eIep");n("JX91"),n("7o/Q"),n("D0XW"),n("w1tV");var g=n("ofXK"),v=n("fXoL");function m(e){return Boolean(e.parentElement&&"picture"===e.parentElement.nodeName.toLowerCase())}function b(e){return"img"===e.nodeName.toLowerCase()}function y(e,t,n){return b(e)?n&&"srcset"in e?e.srcset=t:e.src=t:e.style.backgroundImage="url('".concat(t,"')"),e}function C(e){return function(t){for(var n=t.parentElement.getElementsByTagName("source"),i=0;i<n.length;i++){var r=n[i].getAttribute(e);r&&("srcset"in n[i]?n[i].srcset=r:n[i].src=r)}}}var _=C("defaultImage"),w=C("lazyLoad"),k=C("errorImage");function x(e){return function(t,n,i){b(t)&&m(t)&&e(t),n&&y(t,n,i)}}var O=x(_),S=x(w),P=x(k);function E(e,t){e.className=e.className.replace(t,"")}function M(e,t){e.className.includes(t)||(e.className+=" "+t)}var I,D,j,A=((I=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).observers=new WeakMap,e.intersectionSubject=ne
1w i.a,e.uniqKey={},e}return _createClass(n,[{key:"getObservable",value:function(e){var t=this;if(this.skipLazyLoading(e))return Object(r.a)({isIntersecting:!0});if(e.customObservable)return e.customObservable;var n=e.scrollContainer||this.uniqKey,i={root:e.scrollContainer||null};e.offset&&(i.rootMargin=e.offset+"px");var o=this.observers.get(n);return o||(o=new IntersectionObserver((function(e){return t.loadingCallback(e)}),i),this.observers.set(n,o)),o.observe(e.element),a.a.create((function(n){var i=t.intersectionSubject.pipe(Object(c.a)((function(t){return t.target===e.element}))).subscribe(n);return function(){i.unsubscribe(),o.unobserve(e.element)}}))}},{key:"isVisible",value:function(e){return e.isIntersecting}},{key:"loadingCallback",value:function(e){var t=this;e.forEach((function(e){return t.intersectionSubject.next(e)}))}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"setup",value:function(e){var t;O(e.element,e.defaultImagePath,e.useSrcset),M(e.element,"ng-lazyloading"),(t=e.element).className&&t.className.includes("ng-lazyloaded")&&E(e.element,"ng-lazyloaded")}},{key:"finally",value:function(e){M(e.element,"ng-lazyloaded"),E(e.element,"ng-lazyloading")}},{key:"loadImage",value:function(e){if(this.skipLazyLoading(e))return[e.imagePath];var t,n=e.element,i=e.useSrcset,r=e.imagePath,a=e.decode;if(b(n)&&m(n)){var o=n.parentNode.cloneNode(!0);t=o.getElementsByTagName("img")[0],w(t),y(t,r,i)}else t=new Image,b(n)&&n.referrerPolicy&&(t.referrerPolicy=n.referrerPolicy),b(n)&&n.sizes&&(t.sizes=n.sizes),i&&"srcset"in t?t.srcset=r:t.src=r;return a&&t.decode?t.decode().then((function(){return r})):new Promise((function(e,n){t.onload=function(){return e(r)},t.onerror=function(){return n(null)}}))}},{key:"setErrorImage",value:function(e,t){var n=t.element,i=t.useSrcset,r=t.errorImagePath;P(n,r,i),M(n,"ng-failed-lazyloaded")}}
1,{key:"setLoadedImage",value:function(e,t){var n=t.element,i=t.useSrcset;S(n,e,i)}},{key:"isDisabled",value:function(){return Object(g.P)(this.platformId)&&!this.isBot()}},{key:"skipLazyLoading",value:function(e){return this.isBot(e)}},{key:"isBot",value:function(e){var t;return!!(null===(t=this.navigator)||void 0===t?void 0:t.userAgent)&&/googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|duckduckbot/i.test(this.navigator.userAgent)}}]),n}(function(){function e(){_classCallCheck(this,e),this.navigator="undefined"!=typeof window?window.navigator:void 0}return _createClass(e,[{key:"setPlatformId",value:function(e){this.platformId=e}},{key:"onDestroy",value:function(e){}},{key:"onAttributeChange",value:function(e){}}]),e}()))).\u0275fac=function(e){return T(e||I)},I.\u0275prov=v.uc({token:I,factory:I.\u0275fac}),I),T=v.Gc(A),z=new v.v("LazyLoadImageHooks"),L=((j=function(){function e(t,n,i,r){_classCallCheck(this,e),this.onStateChange=new v.s,this.elementRef=t,this.ngZone=n,this.propertyChanges$=new o.a,this.hooks=r,this.hooks.setPlatformId(i),this.uid=Math.random().toString(36).substr(2,9)}return _createClass(e,[{key:"ngOnChanges",value:function(){!0!==this.debug||this.debugSubscription||(this.debugSubscription=this.onStateChange.subscribe((function(e){return console.log(e)}))),this.propertyChanges$.next({element:this.elementRef.nativeElement,imagePath:this.lazyImage,defaultImagePath:this.defaultImage,errorImagePath:this.errorImage,useSrcset:this.useSrcset,offset:this.offset?0|this.offset:0,scrollContainer:this.scrollTarget,customObservable:this.customObservable,decode:this.decode,onStateChange:this.onStateChange,id:this.uid})}},{key:"ngAfterContentInit",value:function(){var e=this;if(this.hooks.isDisabled())return null;this.ngZone.runOutsideAngular((function(){e.loadSubscription=e.propertyChanges$.pipe(Object(l.a)((function(t){return e.hooks.onAttributeChange(t)})),Object(l.a)((function(e){return e.onStateChange.emit({reason:"setup"})})),Object(l.a)((function(t){return e.hooks.setup(t)})),Object(p.a)((function(t){return t.imagePath?e.hooks.getObservable(t).pipe(function(e,t){return function(n){return n.pipe(Object(l.a)((function(e){return t.onStateChange.emit({reason:"observer-emit",data:e})})),Object(c.a)((function(n){return e.isVisible(n,t)})),Object(u.a)(1),Object(l.a)((function(){return t.onStateChange.emit({reason:"start-loading"})})),Object(d.a)((function(){return e.loadImage(t)})),Object(l.a)((function(){return t.onStateChange.emit({reason:"mount-image"})})),Object(l.a)((function(n){return e.setLoadedImage(n,t)})),Object(l.a)((function(){return t.onStateChange.emit({reason:"loading-succeeded"})})),Object(h.a)((function(){return!0})),Object(f.a)((function(n){return t.onStateChange.emit({reason:"loading-failed",data:n}),e.setErrorImage(n,t),Object(r.a)(!1)})),Object(l.a)((function(){t.onStateChange.emit({reason:"finally"}),e.finally(t)})))}}(e.hooks,t)):Object(s.b)()}))).subscribe({next:function(){return null}})}))}},{key:"ngOnDestroy",value:function(){var e,t,n=this;this.propertyChanges$.pipe(Object(u.a)(1)).subscribe({next:function(e){return n.hooks.onDestroy(e)}}).unsubscribe(),null===(e=this.loadSubscription)||void 0===e||e.unsubscribe(),null===(t=this.debugSubscription)||void 0===t||t.unsubscribe()}}]),e}()).\u0275fac=function(e){return new(e||j)(v.yc(v.q),v.yc(v.F),v.yc(v.I),v.yc(z))},j.\u0275dir=v.tc({type:j,selectors:[["","lazyLoad",""]],inputs:{lazyImage:["lazyLoad","lazyImage"],defaultImage:"defaultImage",errorImage:"errorImage",scrollTarget:"scrollTarget",customObservable:"customObservable",offset:"offset",useSrcset:"useSrcset",decode:"decode",debug:"debug"},outputs:{onStateChange:"onStateChange"},features:[v.hc]}),j),N=((D=function e(){_classCallCheck(this,e)}).\u0275mod=v.wc({type:D}),D.\u0275inj=v.vc({factory:function(e){return new(e||D)},providers:[{provide:z,useClass:A}]}),D)},xbPD:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new a(e))}}var a=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new o(e,this.defaultValue))}}]),e}(),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).defaultValue=i,r.isEmpty=!0,r}return _createClass(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(i.a)},xgIS:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("HDdC"),r=n("DH7j"),a=n("n6bG"),o=n("lJxs");function s(e,t,n,c){return Object(a.a)(n)&&(c=n,n=void 0),c?s(e,t,n).pipe(Object(o.a)((function(e){return Object(r.a)(e)?c.apply(void 0,_toConsumableArray2(e)):c(e)}))):new i.a((function(i){!function e(t,n,i,r,a){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var s=t;t.addEventListener(n,i,a),o=function(){return s.removeEventListener(n,i,a)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var c=t;t.on(n,i),o=function(){return c.off(n,i)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var l=t;t.addListener(n,i),o=function(){return l.removeListener(n,i)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var u=0,d=t.length;u<d;u++)e(t[u],n,i,r,a)}r.add(o)}(e,t,(function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),i,n)}))}},xutz:function(e,t,n){"use strict";(function(e){var i=n("XqMk"),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,o=a&&a.exports===r&&i.a.process,s=function(){try{return a&&a.require&&a.require("util").t
1ypes||o&&o.binding&&o.binding("util")}catch(e){}}();t.a=s}).call(this,n("3UD+")(e))},y5FN:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("PqYM"),r=n("fXoL"),a=n("DKs6"),o=n("O4lx"),s=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this.elementRef=t,this.deviceState=n,this.jsInjector=i}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.deviceState.isServerApp||Object(i.a)(1).subscribe((function(){e.runScripts()}))}},{key:"runScripts",value:function(){for(var e=this.elementRef.nativeElement.getElementsByTagName("script"),t=0,n=e.length;t<n;++t)this.jsInjector.reInjectJsScript(e[t])}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.yc(r.q),r.yc(a.a),r.yc(o.a))},e.\u0275dir=r.tc({type:e,selectors:[["","appRunScripts",""]]}),e}()},y96F:function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s.a})),n.d(t,"e",(function(){return f})),n.d(t,"b",(function(){return H})),n.d(t,"n",(function(){return K})),n.d(t,"o",(function(){return ee})),n.d(t,"a",(function(){return re})),n.d(t,"f",(function(){return ae})),n.d(t,"g",(function(){return oe})),n.d(t,"h",(function(){return ue})),n.d(t,"i",(function(){return le})),n.d(t,"k",(function(){return he})),n.d(t,"l",(function(){return de})),n.d(t,"m",(function(){return ce})),n.d(t,"j",(function(){return se}));var i,r=n("fXoL"),a=n("1kSV"),o=((i=function(){function e(t){_classCallCheck(this,e),this.modal=t}return _createClass(e,[{key:"replyCommentCreated",value:function(e){this.modal.close(e)}}]),e}()).\u0275fac=function(e){return new(e||i)(r.yc(a.b))},i.\u0275cmp=r.sc({type:i,selectors:[["app-comment-modal"]],inputs:{parentModel:"parentModel",pageId:"pageId"},decls:8,vars:2,consts:[[1,"modal-header"],["translate","",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[3,"parentModel","pageId","commentCreated"]],template:function(e,t){1&e&&(r.Ec(0,"div",0),r.Ec(1,"h4",1),r.zd(2,"model-comments-reply-modal-title"),r.Dc(),r.Ec(3,"button",2),r.Qc("click",(function(){return t.modal.dismiss()})),r.Ec(4,"span",3),r.zd(5,"\xd7"),r.Dc(),r.Dc(),r.Dc(),r.Ec(6,"div",4),r.Ec(7,"app-comment-form",5),r.Qc("commentCreated",(function(e){return t.replyCommentCreated(e)})),r.Dc(),r.Dc()),2&e&&(r.jc(7),r.bd("parentModel",t.parentModel)("pageId",t.pageId))},styles:[".modal-header[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{background-color:transparent;border:0;font-size:24px;position:absolute;top:0;right:0;margin:auto}.modal-header[_ngcontent-%COMP%]{display:block}"]}),i),s=n("SPLc"),c=n("GJzE");function l(e,t){if(1&e&&(r.Ec(0,"div",3),r.zc(1,"app-single-comment",4),r.Dc()),2&e){var n=t.$implicit,i=r.Uc(2);r.jc(1),r.bd("model",n)("pageId",i.pageId)("isAllowComment",i.isAllowComment)("isInPreviewMode",i.isInPreviewMode)}}function u(e,t){if(1&e&&(r.Ec(0,"div"),r.xd(1,l,2,4,"div",2),r.Dc()),2&e){var n=r.Uc();r.jc(1),r.bd("ngForOf",n.models)}}var d,h=["*"],f=((d=function e(){_classCallCheck(this,e),this.isInPreviewMode=!0}).\u0275fac=function(e){return new(e||d)},d.\u0275cmp=r.sc({type:d,selectors:[["app-comments-list"]],viewQuery:function(e,t){var n;1&e&&r.ud(c.Z,!0),2&e&&r.jd(n=r.Rc())&&(t.reCaptcha=n.first)},inputs:{models:"models",pageId:"pageId",isAllowComment:"isAllowComment",isInPreviewMode:"isInPreviewMode"},features:[r.ic([],[{provide:Object(r.cb)((function(){return c.ab})),useFactory:function(e){return e.reCaptcha},deps:[d]}])],ngContentSelectors:h,decls:3,vars:1,consts:[["size","invisible","errorMode","handled",2,"display","none"],[4,"ngIf"],["class","comment-wrapper",4,"ngFor","ngForOf"],[1,"comment-wrapper"],[3,"model","pageId","isAllowComment","isInPreviewMode"]],template:function(e,t){1&e&&(r.ad(),r.Zc(0),r.zc(1,"app-re-captcha",0),r.xd(2,u,2,1,"div",1)),2&e&&(r.jc(2),r.bd("ngIf",null!==t.models&&t.models.length>0))},styles:["[_nghost-%COMP%]     .comment-wrapper:not(:last-child){margin-bottom:24px}[_nghost-%COMP%]     .comment-wrapper__replies{margin-top:24px;border-left:1px solid rgba(50,50,50,.15)}[_nghost-%COMP%]     .comment-wrapper__replies .comment-wrapper:not(:last-child){margin-bottom:24px}@media (min-width:1024px){[_nghost-%COMP%]     .comment-wrapper__replies{margin-left:32px}}"]}),d),p=n("3Pt+"),g=n("XNiG"),v=n("1G5W"),m=n("IzEk"),b=n("kBKH"),y=n("sYmb");function C(e,t){if(1&e){var n=r.Fc();r.Cc(0),r.zc(1,"span",27),r.Ec(2,"span",25),r.Qc("click",(function(){r.nd(n);var e=r.Uc(3);return e.isAnonymousComment=!e.isAnonymousComment})),r.zd(3," model-comments-comment-anonymously-prompt"),r.Dc(),r.Bc()}}function _(e,t){if(1&e){var n=r.Fc();r.Ec(0,"div",24),r.Ec(1,"span",25),r.Qc("click",(function(){return r.nd(n),r.Uc(2).openAuthModal()})),r.zd(2,"model-comments-sign-in-prompt"),r.Dc(),r.xd(3,C,4,0,"ng-container",26),r.Dc()}if(2&e){var i=r.Uc(2);r.jc(3),r.bd("ngIf",i.commentsSettings.allowAnonymousComment)}}function w(e,t){if(1&e&&(r.Ec(0,"div"),r.zd(1),r.Dc()),2&e){var n=r.Uc(4);r.jc(1),r.Bd(" ",n.renderAttributeError("model-comments-form-attribute-user-name","required")," ")}}function k(e,t){if(1&e&&(r.Ec(0,"div"),r.zd(1),r.Dc()),2&e){var n=r.Uc(4);r.jc(1),r.Bd(" ",n.renderAttributeError("model-comments-form-attribute-user-name","minlength",n.modalForm.controls.userName.errors.minlength)," ")}}function x(e,t){if(1&e&&(r.Tc(),r.Sc(),r.Ec(0,"div",32),r.xd(1,w,2,1,"div",26),r.xd(2,k,2,1,"div",26),r.Dc()),2&e){var n=r.Uc(3);r.jc(1),r.bd("ngIf",n.modalForm.controls.userName.errors.required),r.jc(1),r.bd("ngIf",n.modalForm.controls.userName.errors.minlength)}}function O(e,t){if(1&e){var n=r.Fc();r.Ec(0,"div",24),r.zc(1,"input",28),r.Vc(2,"translate"),r.Ec(3,"button",29),r.Qc("click",(function(){return r.nd(n),r.Uc(2).closeAnonymousNameInput()})),r.Tc(),r.Ec(4,"svg",30),r.zc(5,"use",31),r.Dc(),r.Dc(),r.xd(6,x,3,2,"div",10),r.Dc()}if(2&e){var i=r.Uc(2);r.jc(1),r.cd("placeholder",r.Wc(2,2,"model-comments-form-attribute-user-name-prompt")),r.jc(5),r.bd("ngIf",i.isFormControlHasErrors("userName"))}}function S(e,t){if(1&e&&(r.Cc(0),r.xd(1,_,4,1,"div",22),r.xd(2,O,7,4,"ng-template",null,23,r.yd),r.Bc()),2&e){var n=r.kd(3),i=r.Uc();r.jc(1),r.bd("ngIf",!i.isAnonymousComment)("ngIfElse",n)}}function P(e,t){if(1&e){var n=r.Fc();r.Ec(0,"div",33),r.zc(1,"div",34),r.Ec(2,"div",35),r.Ec(3,"a",36),r.zd(4),r.Dc(),r.Dc(),r.Ec(5,"button",37),r.Qc("click",(function(){return r.nd(n),r.Uc().onLogoutClick()})),r.Tc(),r.Ec(6,"svg",38),r.zc(7,"use",31),r.Dc(),r.Dc(),r.Dc()}if(2&e){var i=r.Uc();r.jc(1),r.bd("lazyLoad",i.userModel.avatarUrl?i.userModel.avatarUrl:null),r.jc(2),r.cd("href",i.cabinetUrl,r.qd),r.jc(1),r.Ad(i.userModel.userName)}}function E(e,t){if(1&e){var n=r.Fc();r.Ec(0,"div",39),r.Ec(1,"span"),r.zd(2),r.Dc(),r.Ec(3,"button",29),r.Qc("click",(function(){r.nd(n);var e=r.Uc();return e.commentsSettings.showTextInCommentForm=!e.commentsSettings.showTextInCommentForm})),r.Tc(),r.Ec(4,"svg",30),r.zc(5,"use",31),r.Dc(),r.Dc(),r.Dc()}if(2&e){var i=r.Uc();r.jc(2),r.Ad(i.commentsSettings.textInCommentForm)}}function M(e,t){if(1&e&&(r.Ec(0,"div"),r.zd(1),r.Dc()),2&e){var n=r.Uc(2);r.jc(1),r.Bd(" ",n.renderAttributeError("model-comments-form-attribute-comment","required")," ")}}function I(e,t){if(1&e&&(r.Ec(0,"div"),r.zd(1),r.Dc()),2&e){var n=r.Uc(2);r.jc(1),r.Bd(" ",n.renderAttributeError("model-comments-form-attribute-comment","minlength",n.modalForm.controls.userComment.errors.minlength)," ")}}function D(e,t){if(1&e&&(r.Ec(0,"div",32),r.xd(1,M,2,1,"div",26),r.xd(2,I,2,1,"div",26),r.Dc()),2&e){var n=r.Uc();r.jc(1),r.bd("ngIf",n.modalForm.controls.userComment.errors.required),r.jc(1),r.bd("ngIf",n.modalForm.controls.userComment.errors.minlength)}}function j(e,t){if(1&e){var n=r.Fc();r.Ec(0,"emoji-mart",40),r.Qc("emojiSelect",(function(e){return r.nd(n),r.Uc().addEmoji(e)})),r.Dc()}if(2&e){var i=r.Uc();r.bd("emojiSize",28)("showPreview",!1)("i18n",i.i18n)}}function A(e,t){if(1&e&&(r.Ec(0,"div",41),r.Ec(1,"label"),r.zc(2,"input",42),r.zc(3,"span",43),r.Dc(),r.Dc()),2&e){var n=r.Uc();r.jc(3),r.bd("innerHTML",n.agreeToSiteRulesLabel,r.od)}}function T(e,t){1&e&&r.zc(0,"span",44)}function z(e,t){1&e&&(r.Ec(0,"span",45),r.zd(1,"model-comments-add-label"),r.Dc())}function L(e,t){if(1&e&&(r.Ec(0,"div",46),r.Ec(1,"label"),r.zc(2,"input",42),r.zc(3,"span",43),r.Dc(),r.Dc()),2&e){var n=r.Uc();r.jc(3),r.bd("innerHTML",n.agreeToSiteRulesLabel,r.od)}}function N(e,t){1&e&&r.zc(0,"span",44)}function R(e,t){1&e&&(r.Ec(0,"span",45),r.zd(1,"model-comments-add-label"),r.Dc())}function F(e,t){1&e&&(r.Ec(0,"div",45),r.zd(1," validation-error-must-agree-with-site-rules "),r.Dc())}function V(e,t){if(1&e&&(r.Ec(0,"div",32),r.xd(1,F,2,0,"div",18),r.Dc()),2&e){var n=r.Uc();r.jc(1),r.bd("ngIf",n.modalForm.controls.isAgreeRules.errors.required)}}var U,H=((U=function(){function e(t,n,i,a,o,s,c,l){_classCallCheck(this,e),this.createCommentService=t,this.commentsSettingsService=n,this.localStorageService=i,this.authModalsService=a,this.siteConfigService=o,this.translateService=s,this.formBuilder=c,this.authService=l,this.parentModel=null,this.commentCreated=new r.s,this.errorOccurred=new r.s,this.isEmojiPickerVisible=!1,this.isAuthenticated=!1,this.waitRequest=!1,this.isAnonymousComment=!1,this.anonymousName="",this.comment="",this.onDestroy$=new g.a}return _createClass(e,[{key:"ngOnInit",value:function(){var t=this;this.isAgreeRules=Boolean(this.localStorageService.localStorage.getItem(e.IS_AGREED_WITH_RULES_KEY)),this.commentsSettings=Object.assign({},this.commentsSettingsService.getSettings()),this.modalForm=this.buildModalForm(),this.authService.userModel.pipe(Object(v.a)(this.onDestroy$)).subscribe((function(e){t.isAuthenticated=null!==e,t.userModel=e,t.modalForm=t.buildModalForm()})),this.siteConfigService.allConfig.pipe(Object(m.a)(1)).subscribe((function(e){t.cabinetUrl=e.oldUrls.cabinet,t.siteRulesUrl=e.oldUrls.siteRules})),this.i18n={search:"",notfound:"",clear:"",categories:{search:"",recent:"",people:"",nature:"",foods:"",activity:"",places:"",objects:"",symbols:"",flags:"",custom:""}}}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"openAuthModal",value:function(){this.comment=this.modalForm.value.userComment,this.authModalsService.openSignInModal()}},{key:"onLogoutClick",value:function(){this.authService.signOut().pipe(Object(m.a)(1)).subscribe()}},{key:"addComment",value:function(e){var t=this,n={subs:this.anonymousName?this.anonymousName:this.userModel.userName,pid:null!==this.parentModel?this.parentModel.id:null,txt:this.comment,reCaptcha:e};this.errorOccurred.emit([]),this.modalForm.reset({userName:"",userComment:"",isAgreeRules:this.modalForm.value.isAgreeRules}),this.createCommentService.createComment(this.pageId,n,["content","userName","friendlyPublishDate","isAnonymous","avatarUrl","likesCount","dislikesCount","childrenTree","isModerated","canBeDeleted"]).pipe(Object(m.a)(1)).subscribe((function(e){t.commentCreated.emit(e)}),(function(e){t.errorOccurred.emit(Array.isArray(e.error)?e.error.map((function(e){return e.message})):[])}))}}
1,{key:"onFormSubmit",value:function(){if(!this.modalForm.invalid){var t=this.modalForm.value,n=t.isAgreeRules,i=t.userComment,r=t.userName;this.isAgreeRules=n,this.isAgreeRules&&this.localStorageService.localStorage.setItem(e.IS_AGREED_WITH_RULES_KEY,"true"),this.comment=i,this.anonymousName=r,this.waitRequest=!0,this.reCaptchaExecute()}}},{key:"closeAnonymousNameInput",value:function(){this.isAnonymousComment=!1,this.modalForm.reset({userName:"",userComment:this.modalForm.value.userComment,isAgreeRules:this.modalForm.value.isAgreeRules})}},{key:"buildModalForm",value:function(){var e;return e=this.isAuthenticated?{userComment:[this.comment,[p.D.required,p.D.minLength(5)]],isAgreeRules:[this.isAgreeRules,[p.D.requiredTrue]]}:{userName:["",[p.D.required,p.D.minLength(2),p.D.maxLength(255)]],userComment:[this.comment,[p.D.required,p.D.minLength(5)]],isAgreeRules:[this.isAgreeRules,[p.D.requiredTrue]]},this.formBuilder.group(e)}},{key:"isFormControlHasErrors",value:function(e,t){var n=(t=t||this.modalForm).get(e);return null!==n&&n.invalid&&(n.dirty||n.touched)}},{key:"renderAttributeError",value:function(e,t,n){switch(e=this.translateService.instant(e),t){case"required":return this.translateService.instant("validation-error-required",{attribute:e});case"minlength":return this.translateService.instant("validation-error-too-short",{attribute:e,min:n.requiredLength});default:return""}}},{key:"addEmoji",value:function(e){this.modalForm.reset({userName:this.modalForm.value.userName,userComment:"".concat(this.modalForm.value.userComment).concat(e.emoji.native),isAgreeRules:this.modalForm.value.isAgreeRules})}},{key:"clickOutside",value:function(){this.isEmojiPickerVisible=!1}},{key:"reCaptchaExecute",value:function(){var e=this;this.reCaptcha.queueExecute({onSuccess:function(t){e.addComment(t)},onError:function(){e.reCaptcha.showErrorMessage()},onComplete:function(){e.waitRequest=!1}})}},{key:"agreeToSiteRulesLabel",get:function(){return this.translateService.instant("model-comments-agree-to-site-rules-template",{siteRulesLink:'<a href="'.concat(this.siteRulesUrl,'" class="comments-form-wrapper__link">').concat(this.translateService.instant("model-comments-agree-to-site-rules-link-label"),"</a>")})}}]),e}()).IS_AGREED_WITH_RULES_KEY="isAgreedWithSiteRules",U.\u0275fac=function(e){return new(e||U)(r.yc(oe),r.yc(ae),r.yc(c.E),r.yc(c.e),r.yc(b.c),r.yc(y.e),r.yc(p.f),r.yc(c.f))},U.\u0275cmp=r.sc({type:U,selectors:[["app-comment-form"]],viewQuery:function(e,t){var n;1&e&&r.Dd(c.Z,!0),2&e&&r.jd(n=r.Rc())&&(t.reCaptcha=n.first)},inputs:{parentModel:"parentModel",pageId:"pageId"},outputs:{commentCreated:"commentCreated",errorOccurred:"errorOccurred"},decls:29,vars:17,consts:[[1,"comments-section__form","comments-form-wrapper"],[3,"formGroup","ngSubmit"],[4,"ngIf","ngIfElse"],["isAuth",""],[1,"comments-form-wrapper__form-block"],["class","comments-form-wrapper__prevention",4,"ngIf"],[1,"comments-form-wrapper__text-area-block"],[1,"position-relative"],["formControlName","userComment","rows","5"],["size","invisible","badge","inline","errorMode","handled"],["class","error-hint",4,"ngIf"],["appClickOutside","",1,"emoji",3,"clickOutside"],[3,"click"],["class","emoji-mart",3,"emojiSize","showPreview","i18n","emojiSelect",4,"ngIf"],[1,"comments-form-wrapper__submit-line","d-none","d-lg-flex"],["class","comments-form-wrapper__rules-block",4,"ngIf"],["type","submit",1,"btn","btn--primary",3,"disabled"],["class","btn__loader",4,"ngIf"],["translate","",4,"ngIf"],[1,"comments-form-wrapper__submit-line-mobile","d-lg-none"],["class","comments-form-wrapper__rules-block mt-2",4,"ngIf"],[1,"comments-form-wrapper__button-block"],["class","comments-form-wrapper__login-line",4,"ngIf","ngIfElse"],["anonymous",""],[1,"comments-form-wrapper__login-line"],["translate","",1,"comments-form-wrapper__link",3,"click"],[4,"ngIf"],[1,"comments-form-wrapper__link--separator"],["formControlName","userName","type","text",1,"comments-form-wrapper__anonymous-name-input",3,"placeholder"],["type","button",1,"clean-btn",3,"click"],["width","16","height","16"],[0,"xlink","href","#icon-close"],[1,"error-hint"],[1,"auth-action"],[1,"auth-action__user-avatar","rounded-bg-image",3,"lazyLoad"],[1,"auth-action__user"],[3,"href"],["type","button",1,"clean-btn","auth-action__user-logout",3,"click"],["width","12","height","12"],[1,"comments-form-wrapper__prevention"],[1,"emoji-mart",3,"emojiSize","showPreview","i18n","emojiSelect"],[1,"comments-form-wrapper__rules-block"],["formControlName","isAgreeRules","type","checkbox"],[3,"innerHTML"],[1,"btn__loader"],["translate",""],[1,"comments-form-wrapper__rules-block","mt-2"]],template:function(e,t){if(1&e&&(r.Ec(0,"div",0),r.Ec(1,"form",1),r.Qc("ngSubmit",(function(){return t.onFormSubmit()})),r.xd(2,S,4,2,"ng-container",2),r.xd(3,P,8,3,"ng-template",null,3,r.yd),r.Ec(5,"div",4),r.xd(6,E,6,1,"div",5),r.Ec(7,"div",6),r.Ec(8,"div",7),r.zc(9,"textarea",8),r.zc(10,"app-re-captcha",9),r.Dc(),r.xd(11,D,3,2,"div",10),r.Ec(12,"div",11),r.Qc("clickOutside",(function(){return t.clickOutside()})),r.Ec(13,"a",12),r.Qc("click",(function(){return t.isEmojiPickerVisible=!t.isEmojiPickerVisible})),r.zd(14,"\ud83d\ude42"),r.Dc(),r.zc(15,"br"),r.xd(16,j,1,3,"emoji-mart",13),r.Dc(),r.Dc(),r.Dc(),r.Ec(17,"div",14),r.xd(18,A,4,1,"div",15),r.Ec(19,"button",16),r.xd(20,T,1,0,"span",17),r.xd(21,z,2,0,"span",18),r.Dc(),r.Dc(),r.Ec(22,"div",19),r.xd(23,L,4,1,"div",20),r.Ec(24,"div",21),r.Ec(25,"button",16),r.xd(26,N,1,0,"span",17),r.xd(27,R,2,0,"span",18),r.Dc(),r.Dc(),r.Dc(),r.xd(28,V,2,1,"div",10),r.Dc(),r.Dc()),2&e){var n=r.kd(4);r.jc(1),r.bd("formGroup",t.modalForm),r.jc(1),r.bd("ngIf",!t.isAuthenticated)("ngIfElse",n),r.jc(4),r.bd("ngIf",t.commentsSettings.showTextInCommentForm),r.jc(5),r.bd("ngIf",t.isFormControlHasErrors("userComment")),r.jc(5),r.bd("ngIf",t.isEmojiPickerVisible),r.jc(1),r.pc("fl-end",t.isAgreeRules),r.jc(1),r.bd("ngIf",!t.isAgreeRules),r.jc(1),r.bd("disabled",!t.modalForm.valid),r.jc(1),r.bd("ngIf",t.waitRequest),r.jc(1),r.bd("ngIf",!t.waitRequest),r.jc(2),r.bd("ngIf",!t.isAgreeRules),r.jc(2),r.bd("disabled",!t.modalForm.valid),r.jc(1),r.bd("ngIf",t.waitRequest),r.jc(1),r.bd("ngIf",!t.waitRequest),r.jc(1),r.bd("ngIf",t.isFormControlHasErrors("isAgreeRules"))}},styles:['.comments-section__title[_ngcontent-%COMP%]{font-size:21px;font-weight:700}[_nghost-%COMP%]     .grecaptcha-badge{position:absolute;right:0;bottom:0;margin:0 17px 12px 0;transform:scale(.6);transform-origin:right bottom}[_nghost-%COMP%]     .comments-form-wrapper__link{font-weight:700;color:var(--green-primary);border-bottom:2px dashed var(--green-primary)}[_nghost-%COMP%]     .comments-form-wrapper__link:hover{cursor:pointer}
1.comments-form-wrapper__link--separator[_ngcontent-%COMP%]:before{margin:0 12px;content:"|";color:rgba(50,50,50,.35)}.comments-form-wrapper__login-line[_ngcontent-%COMP%]{margin:24px 0;font-size:16px}.comments-form-wrapper__login-line[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:first-of-type{margin-right:4px}.comments-form-wrapper__login-line[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:last-of-type{margin-left:4px}.comments-form-wrapper__anonymous-name-input[_ngcontent-%COMP%]{padding:8px 16px;border:1px solid rgba(50,50,50,.15);resize:none;font-size:16px;line-height:1.6;color:inherit}.comments-form-wrapper__anonymous-name-input[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--green-primary)}.comments-form-wrapper__anonymous-name-input.ng-invalid.ng-touched[_ngcontent-%COMP%]{border-color:#e74c3c}.comments-form-wrapper[_ngcontent-%COMP%]   .clean-btn[_ngcontent-%COMP%]{opacity:.5;padding-left:15px}.comments-form-wrapper__prevention[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:16px;background-color:#f0f0f0}.comments-form-wrapper__prevention[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{flex-grow:1;font-size:16px}.comments-form-wrapper__prevention[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{flex-shrink:0;padding:0}.comments-form-wrapper__prevention[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:16px;height:16px;fill:rgba(50,50,50,.35)}.comments-form-wrapper__prevention.is-closed[_ngcontent-%COMP%]{display:none}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]{position:relative}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   .emoji[_ngcontent-%COMP%]{position:absolute;right:12px;top:0;z-index:1}@media (min-width:320px) and (max-width:425px){.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   .emoji[_ngcontent-%COMP%]   .emoji-mart[_ngcontent-%COMP%]{position:relative;right:-21px}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   .emoji[_ngcontent-%COMP%]   .emoji-mart[_ngcontent-%COMP%]     section.emoji-mart{width:310px!important}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   .emoji[_ngcontent-%COMP%]   .emoji-mart[_ngcontent-%COMP%]     section.emoji-mart .emoji-mart-emoji{padding:2px!important}}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:24px;padding:12px;float:right}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{cursor:pointer}.comments-form-wrapper__text-area-block[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--green-primary)}.comments-form-wrapper__form-block[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{width:100%;padding:8px 52px 8px 8px;border:1px solid rgba(50,50,50,.15);resize:none;font-size:16px;line-height:1.6;color:inherit}.comments-form-wrapper__form-block[_ngcontent-%COMP%]   textarea.ng-invalid.ng-touched[_ngcontent-%COMP%]{border-color:#e74c3c}.comments-form-wrapper__submit-line[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin:24px 0 0}.comments-form-wrapper__rules-block[_ngcontent-%COMP%]{font-size:16px}.comments-form-wrapper__rules-block[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:inline}.comments-form-wrapper__rules-block[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{margin-right:4px}.comments-form-wrapper__rules-block[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-left:4px}.comments-form-wrapper__button-block[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:24px}.comments-form-wrapper__button-block[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;max-width:200px}.auth-action[_ngcontent-%COMP%]{color:rgba(50,50,50,.35);display:flex;margin:10px 0;align-items:center}.auth-action__user-avatar[_ngcontent-%COMP%]{flex-shrink:0;width:24px;height:24px;margin-right:16px;background-color:#dcdcdc}.auth-action__user-logout[_ngcontent-%COMP%]{display:flex}.disabled[_ngcontent-%COMP%]{pointer-events:none;background-color:#f0f0f0;color:rgba(50,50,50,.35)}.emoji-icon[_ngcontent-%COMP%]{text-decoration:none}.error-hint[_ngcontent-%COMP%]{margin-top:4px;font-size:12px;
1color:#e74c3c}.fl-end[_ngcontent-%COMP%]{justify-content:flex-end}']}),U);function B(e,t){1&e&&(r.Ec(0,"div",14),r.zc(1,"div",15),r.Dc())}function q(e,t){if(1&e){var n=r.Fc();r.Ec(0,"span",16),r.Tc(),r.Ec(1,"svg",17),r.Qc("click",(function(){r.nd(n);var e=r.Uc();return e.deleteComment(e.model)})),r.zc(2,"use",18),r.Dc(),r.Dc()}if(2&e){var i=r.Uc();r.jc(1),r.pc("disabled",i.awaitRequest)}}function $(e,t){if(1&e&&r.zc(0,"div",19),2&e){var n=r.Uc();r.bd("lazyLoad",n.model.avatarUrl?n.model.avatarUrl:null)}}function W(e,t){1&e&&(r.Ec(0,"div",20),r.zd(1," model-comments-on-moderation-prompt "),r.Dc())}function G(e,t){if(1&e){var n=r.Fc();r.Ec(0,"a",23),r.Qc("click",(function(e){r.nd(n);var t=r.Uc(2);return t.openCommentsModal(e,t.model)})),r.zd(1," model-comments-reply-label "),r.Dc()}}function X(e,t){if(1&e){var n=r.Fc();r.Ec(0,"div",24),r.Ec(1,"a",25),r.Qc("click",(function(e){r.nd(n);var t=r.Uc(2);return null!==t.userModel?t.toggleLike(e,t.model):t.openAuthModal(e)})),r.Ec(2,"span"),r.zd(3),r.Vc(4,"number"),r.Dc(),r.Tc(),r.Ec(5,"svg",26),r.zc(6,"use",27),r.Dc(),r.Dc(),r.Sc(),r.Ec(7,"a",28),r.Qc("click",(function(e){r.nd(n);var t=r.Uc(2);return null!==t.userModel?t.toggleDislike(e,t.model):t.openAuthModal(e)})),r.Tc(),r.Ec(8,"svg",26),r.zc(9,"use",29),r.Dc(),r.Sc(),r.Ec(10,"span"),r.zd(11),r.Vc(12,"number"),r.Dc(),r.Dc(),r.Dc()}if(2&e){var i=r.Uc(2);r.jc(1),r.pc("is-activated",!i.isInPreviewMode&&i.model.isUserLiked)("disabled",i.isInPreviewMode||i.model.isUserDisliked),r.jc(2),r.Ad(r.Wc(4,14,i.model.likesCount)),r.jc(2),r.pc("like-fill",i.model.isUserLiked),r.jc(2),r.pc("is-activated",!i.isInPreviewMode&&i.model.isUserDisliked)("disabled",i.isInPreviewMode||i.model.isUserLiked),r.jc(1),r.pc("dislike-fill",i.model.isUserDisliked),r.jc(3),r.Ad(r.Wc(12,16,i.model.dislikesCount))}}function Z(e,t){if(1&e&&(r.Cc(0),r.xd(1,G,2,0,"a",21),r.xd(2,X,13,18,"div",22),r.Bc()),2&e){var n=r.Uc();r.jc(1),r.bd("ngIf",n.isAllowComment),r.jc(1),r.bd("ngIf",n.isVotesAllowed)}}function Y(e,t){if(1&e&&(r.Ec(0,"div",30),r.zc(1,"app-comments-list",31),r.Dc()),2&e){var n=r.Uc();r.jc(1),r.bd("models",n.model.children)("pageId",n.pageId)("isAllowComment",n.isAllowComment)("isInPreviewMode",n.isInPreviewMode)}}var Q,K=((Q=function(){function e(t,n,i,r,a,o,s,c,l,u,d,h){_classCallCheck(this,e),this.createDislikeService=t,this.createLikeService=n,this.deleteCommentsService=i,this.deleteDislikeService=r,this.deleteLikeService=a,this.commentsSettingsService=o,this.parentCaptcha=s,this.authModalsService=c,this.injector=l,this.modalService=u,this.authService=d,this.elementRef=h,this.isInPreviewMode=!0,this.isVotesAllowed=!1,this.awaitRequest=!1,this.isReCaptchaInProgress=!1,this.isLikeAction=!1,this.onDestroy$=new g.a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.isVotesAllowed=this.commentsSettingsService.getSettings().allowVotes,this.authService.userModel.pipe(Object(v.a)(this.onDestroy$)).subscribe((function(t){e.userModel=t}))}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"hasChildrenComments",value:function(e){return Array.isArray(e.children)&&e.children.length>0}},{key:"openCommentsModal",value:function(e,t){if(e.preventDefault(),!this.isInPreviewMode){e.stopPropagation(),this.authModalsService.closeAllModals();var n=this.modalService.open(o,{centered:!0,size:"lg",injector:this.injector}),i=n.componentInstance;i.parentModel=t,i.pageId=this.pageId,n.result.then((function(e){Array.isArray(t.children)&&t.children.push(e)})).catch((function(){}))}}},{key:"deleteComment",value:function(t){var n=this;this.awaitRequest=!0,this.deleteCommentsService.deleteComment(this.pageId,t.id).pipe(Object(m.a)(1)).subscribe((function(e){"success"===e.status&&n.elementRef.nativeElement.dispatchEvent(new CustomEvent("commentDeleted",{detail:{commentDeleted:!0},bubbles:!0}))}),(function(t){n.elementRef.nativeElement.dispatchEvent(e.getErrorEvent(t)),n.awaitRequest=!1}))}},{key:"toggleLike",value:function(t,n){var i=this;if(t.preventDefault(),this.isInPreviewMode||t.stopPropagation(),!(this.isInPreviewMode||!n.isUserLiked&&this.isReCaptchaInProgress))return n.isUserLiked?void this.deleteLikeService.deleteLike(this.pageId,n.id).pipe(Object(m.a)(1)).subscribe((function(e){"success"===e.status&&(void 0!==n.likesCount&&--n.likesCount,n.isUserLiked=!1)}),(function(t){i.elementRef.nativeElement.dispatchEvent(e.getErrorEvent(t))})):(this.isReCaptchaInProgress=!0,this.isLikeAction=!0,void this.reCaptchaExecute(n))}},{key:"toggleDislike",value:function(t,n){var i=this;if(t.preventDefault(),this.isInPreviewMode||t.stopPropagation(),!(this.isInPreviewMode||!n.isUserDisliked&&this.isReCaptchaInProgress))return n.isUserDisliked?void this.deleteDislikeService.deleteDislike(this.pageId,n.id).pipe(Object(m.a)(1)).subscribe((function(e){"success"===e.status&&(void 0!==n.dislikesCount&&--n.dislikesCount,n.isUserDisliked=!1)}),(function(t){i.elementRef.nativeElement.dispatchEvent(e.getErrorEvent(t))})):(this.isReCaptchaInProgress=!0,this.isLikeAction=!1,void this.reCaptchaExecute(n))}}
1,{key:"doSendCommentVote",value:function(t,n,i){var r=this;(t?this.createLikeService.createLike(this.pageId,n.id,i):this.createDislikeService.createDislike(this.pageId,n.id,i)).pipe(Object(m.a)(1)).subscribe((function(e){"success"===e.status&&(t?(void 0!==n.likesCount&&++n.likesCount,n.isUserLiked=!0):(void 0!==n.dislikesCount&&++n.dislikesCount,n.isUserDisliked=!0))}),(function(t){r.elementRef.nativeElement.dispatchEvent(e.getErrorEvent(t))}))}},{key:"openAuthModal",value:function(e){e.preventDefault(),this.isInPreviewMode||(e.stopPropagation(),this.authModalsService.openSignInModal())}},{key:"reCaptchaExecute",value:function(e){var t=this;this.parentCaptcha.queueExecute({onSuccess:function(n){t.doSendCommentVote(t.isLikeAction,e,n)},onError:function(){t.parentCaptcha.showErrorMessage()},onComplete:function(){t.isReCaptchaInProgress=!1}})}}],[{key:"getErrorEvent",value:function(e){return new CustomEvent("commentErrors",{detail:{errors:Array.isArray(e.error)?e.error.map((function(e){return e.message})):[]},bubbles:!0})}}]),e}()).\u0275fac=function(e){return new(e||Q)(r.yc(ue),r.yc(le),r.yc(se),r.yc(he),r.yc(de),r.yc(ae),r.yc(c.ab,1),r.yc(c.e),r.yc(r.w),r.yc(a.s),r.yc(c.f),r.yc(r.q))},Q.\u0275cmp=r.sc({type:Q,selectors:[["app-single-comment"]],inputs:{model:"model",pageId:"pageId",isAllowComment:"isAllowComment",isInPreviewMode:"isInPreviewMode"},decls:16,vars:9,consts:[[1,"singe-comment-wrapper"],["class","comment__loader",4,"ngIf"],["class","singe-comment-wrapper__delete-icon",4,"ngIf"],[1,"comment-parent"],[1,"comment"],[1,"comment__header"],[1,"comment__person-name"],["class","comment__person-avatar rounded-bg-image",3,"lazyLoad",4,"ngIf"],["class","comment__moderate","translate","",4,"ngIf"],[1,"comment__date"],[1,"comment__body",3,"innerHTML"],[1,"comment__footer"],[4,"ngIf"],["class","comment-wrapper__replies",4,"ngIf"],[1,"comment__loader"],[1,"comment__loader--spinner"],[1,"singe-comment-wrapper__delete-icon"],["width","12","height","12",1,"dislike-fill",3,"click"],[0,"xlink","href","#icon-close"],[1,"comment__person-avatar","rounded-bg-image",3,"lazyLoad"],["translate","",1,"comment__moderate"],["class","comment__reply","translate","",3,"click",4,"ngIf"],["class","comment__actions emotion-actions",4,"ngIf"],["translate","",1,"comment__reply",3,"click"],[1,"comment__actions","emotion-actions"],[1,"emotion-actions__item","emotion-actions__item--like",3,"click"],["width","18","height","18"],[0,"xlink","href","#icon-like"],[1,"emotion-actions__item","emotion-actions__item--dislike",3,"click"],[0,"xlink","href","#icon-dislike"],[1,"comment-wrapper__replies"],[3,"models","pageId","isAllowComment","isInPreviewMode"]],template:function(e,t){1&e&&(r.Ec(0,"div",0),r.xd(1,B,2,0,"div",1),r.xd(2,q,3,2,"span",2),r.Ec(3,"div",3),r.Ec(4,"div",4),r.Ec(5,"div",5),r.Ec(6,"div",6),r.zd(7),r.Dc(),r.xd(8,$,1,1,"div",7),r.xd(9,W,2,0,"div",8),r.Ec(10,"div",9),r.zd(11),r.Dc(),r.Dc(),r.Dc(),r.zc(12,"div",10),r.Ec(13,"div",11),r.xd(14,Z,3,2,"ng-container",12),r.Dc(),r.Dc(),r.Dc(),r.xd(15,Y,2,4,"div",13)),2&e&&(r.jc(1),r.bd("ngIf",t.awaitRequest),r.jc(1),r.bd("ngIf",!t.isInPreviewMode&&t.model.canBeDeleted),r.jc(5),r.Ad(t.model.userName),r.jc(1),r.bd("ngIf",!t.model.isAnonymous&&t.model.avatarUrl),r.jc(1),r.bd("ngIf",!t.model.isModerated),r.jc(2),r.Bd(" ",t.model.friendlyPublishDate[1]+", "+t.model.friendlyPublishDate[0]," "),r.jc(1),r.bd("innerHTML",t.model.content,r.od),r.jc(2),r.bd("ngIf",t.model.isModerated&&(t.isAllowComment||t.isVotesAllowed)),r.jc(1),r.bd("ngIf",t.hasChildrenComments(t.model)))},styles:[".comment[_ngcontent-%COMP%]{font-size:12px}.comment__header[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:8px}.comment__person-name[_ngcontent-%COMP%]{margin-right:8px;font-weight:700}.comment__person-avatar[_ngcontent-%COMP%]{width:21px;height:21px;margin-right:8px;background-color:#dcdcdc}.comment__date[_ngcontent-%COMP%]{color:rgba(50,50,50,.35)}.comment__moderate[_ngcontent-%COMP%]{color:#e74c3c;padding-right:8px}.comment__body[_ngcontent-%COMP%]{margin-bottom:8px;font-size:14px;line-height:1.3}.comment__footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.comment__reply[_ngcontent-%COMP%]{text-decoration:underline;cursor:pointer}.comment__actions[_ngcontent-%COMP%]{margin-left:24px}@media (min-width:1024px){.comment__footer[_ngcontent-%COMP%]{justify-content:flex-start}}.emotion-actions[_ngcontent-%COMP%], .emotion-actions__item[_ngcontent-%COMP%]{display:flex;align-items:center}.emotion-actions__item[_ngcontent-%COMP%]{cursor:pointer}.emotion-actions__item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:rgba(50,50,50,.35)}.emotion-actions__item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:18px;height:18px;fill:rgba(50,50,50,.35)}.emotion-actions__item--like[_ngcontent-%COMP%]{margin-right:16px}.emotion-actions__item--like[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-right:8px}.emotion-actions__item--dislike[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{margin-left:8px}.emotion-actions__item.is-activated.emotion-actions__item--like[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}.emotion-actions__item.is-activated.emotion-actions__item--like[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var
1(--green-primary)}.emotion-actions__item.is-activated.emotion-actions__item--dislike[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#e74c3c}.emotion-actions__item.is-activated.emotion-actions__item--dislike[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#e74c3c}.singe-comment-wrapper[_ngcontent-%COMP%]{position:relative}.singe-comment-wrapper__delete-icon[_ngcontent-%COMP%]{position:absolute;right:10px;top:10px}.singe-comment-wrapper__delete-icon[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{cursor:pointer}.singe-comment-wrapper[_ngcontent-%COMP%]   .comment-parent[_ngcontent-%COMP%]{padding:8px}.singe-comment-wrapper[_ngcontent-%COMP%]   .comment__loader[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:center;align-items:center;top:0;width:100%;height:100%;background-color:rgba(50,50,50,.2);z-index:1;pointer-events:none}.singe-comment-wrapper[_ngcontent-%COMP%]   .comment__loader--spinner[_ngcontent-%COMP%]{display:inline-block;width:20px;height:20px;border-radius:50%;border:2px solid var(--green-primary);border-right-width:0;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}.singe-comment-wrapper[_ngcontent-%COMP%]   .singe-comment-wrapper__delete-icon[_ngcontent-%COMP%]:hover + .comment-parent[_ngcontent-%COMP%]{background-color:#fcf8e3}.disabled[_ngcontent-%COMP%]{pointer-events:none}.dislike-fill[_ngcontent-%COMP%]{fill:#e74c3c}.like-fill[_ngcontent-%COMP%]{fill:var(--green-primary)}"]}),Q),J=function e(t,n,i,r,a,o,s,c,l,u,d,h,f,p){_classCallCheck(this,e),this.id=t,this.publishDate=n,this.friendlyPublishDate=i,this.userName=r,this.isAnonymous=a,this.content=o,this.likesCount=s,this.dislikesCount=c,this.isUserLiked=l,this.isUserDisliked=u,this.avatarUrl=d,this.isModerated=h,this.children=f,this.canBeDeleted=p};function ee(e){return Array.isArray(e.childrenTree)&&(e.childrenTree=e.childrenTree.map(ee)),new J(e.id,e.publishDate,e.friendlyPublishDate,e.userName,e.isAnonymous,e.content,e.likesCount,e.dislikesCount,e.isUserLiked,e.isUserDisliked,e.avatarUrl,e.isModerated,e.childrenTree,e.canBeDeleted)}var te,ne=n("lJxs"),ie=n("tk/3"),re=((te=function(){function e(t,n){_classCallCheck(this,e),this.http=t,this.siteApiHostInfo=n}return _createClass(e,[{key:"createComment",value:function(e,t,n){var i="".concat(this.siteApiHostInfo).concat(e,"/comments");return void 0!==n&&(i+="?expand="+(Array.isArray(n)?n.join():n)),this.http.post(i,t,{withCredentials:!0}).pipe(Object(ne.a)(ee))}},{key:"listComments",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="".concat(this.siteApiHostInfo).concat(e,"/comments"),i={withCredentials:!0};if(null!==t){var r={};if((t.count>0||t.onlyRoot)&&(r.filter={},t.count>0&&(r.filter.count=t.count),t.onlyRoot&&(r.filter.onlyRoot=t.onlyRoot)),void 0!==t.pagination&&(t.pagination.page>0&&(r.page=t.pagination.page),void 0!==t.pagination.perPage&&(r["per-page"]=t.pagination.perPage)),void 0!==t.fields&&(r.expand=Array.isArray(t.fields)?t.fields.join():t.fields),void 0!==t.sort)switch(t.sort){case"newestFirst":r.sort="-publishDate";break;case"oldestFirst":r.sort="publishDate"}i.params=Object(c.Hb)(r)}return this.http.get(n,i).pipe(Object(ne.a)((function(e){return Array.isArray(e)?e.map(ee):new c.ob(e.comments.map(ee),e._meta.currentPage,e._meta.pageCount,e._meta.perPage,e._meta.totalCount)})))}},{key:"createLike",value:function(e,t,n){return this.http.post("".concat(this.siteApiHostInfo).concat(t,"/comments/").concat(e,"/likes"),{reCaptcha:n},{withCredentials:!0})}},{key:"createDislike",value:function(e,t,n){return this.http.post("".concat(this.siteApiHostInfo).concat(t,"/comments/").concat(e,"/dislikes"),{reCaptcha:n},{withCredentials:!0})}},{key:"deleteComment",value:function(e,t){return this.http.delete("".concat(this.siteApiHostInfo).concat(t,"/comments/").concat(e),{withCredentials:!0})}},{key:"deleteLike",value:function(e,t){return this.http.delete("".concat(this.siteApiHostInfo).concat(t,"/comments/").concat(e,"/likes"),{withCredentials:!0})}},{key:"deleteDislike",value:function(e,t){return this.http.delete("".concat(this.siteApiHostInfo).concat(t,"/comments/").concat(e,"/dislikes"),{withCredentials:!0})}}]),e}()).\u0275fac=function(e){return new(e||te)(r.Mc(ie.b),r.Mc(c.hb))},te.\u0275prov=r.uc({token:te,factory:te.\u0275fac,providedIn:"root"}),te),ae=new r.v("Comments settings service"),oe=new r.v("Create new comment service"),se=new r.v("Remove c
1omment service"),ce=new r.v("List comments service"),le=new r.v("Add like to comment service"),ue=new r.v("Add dislike to comment service"),de=new r.v("Remove like from comment service"),he=new r.v("Remove dislike from comment service")},yApx:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("GJzE"),r=n("fXoL");function a(e,t){if(1&e){var n=r.Fc();r.Ec(0,"div",1),r.zc(1,"div",2),r.Ec(2,"div",3),r.Ec(3,"button",4),r.Qc("click",(function(){return r.nd(n),r.Uc().close()})),r.zd(4,"\xd7"),r.Dc(),r.Ec(5,"app-standalone-banners-place",5),r.Qc("placeLoaded",(function(e){return r.nd(n),r.Uc().onPlaceLoaded(e)})),r.Dc(),r.Dc(),r.Dc()}if(2&e){var i=r.Uc();r.pc("is-visible",i.isShown),r.jc(5),r.bd("aspectRatio",i.aspectRatio)("loadingMode",null)("pageName",i.pageName)("placeName",i.placeName)}}var o=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"isNeedToShow",value:function(e,t){return e&&t}}]),n}(i.H);return e.\u0275fac=function(t){return s(t||e)},e.\u0275cmp=r.sc({type:e,selectors:[["app-news-page-popup-banners-place"]],features:[r.gc],decls:1,vars:1,consts:[["class","popup-banner",3,"is-visible",4,"ngIf"],[1,"popup-banner"],[1,"popup-banner__overlay"],[1,"popup-banner__content"],["type","button",1,"popup-banner__close",3,"click"],[3,"aspectRatio","loadingMode","pageName","placeName","placeLoaded"]],template:function(e,t){1&e&&r.xd(0,a,6,6,"div",0),2&e&&r.bd("ngIf",t.canBeShown)},styles:[".popup-banner[_ngcontent-%COMP%]{display:none;position:fixed;z-index:70;top:0;left:0;width:100%;height:100%}.popup-banner.is-visible[_ngcontent-%COMP%]{display:block}.popup-banner__overlay[_ngcontent-%COMP%]{width:100%;height:100%;background-color:rgba(50,50,50,.35)}.popup-banner__content[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;padding:16px 0;text-align:center}.popup-banner__content[_ngcontent-%COMP%]   .popup-banner__close[_ngcontent-%COMP%]{padding:0;position:absolute;z-index:10;top:5px;right:5px;width:48px;height:48px;text-align:center;border:0;border-radius:50%;background-color:hsla(0,0%,100%,.95);color:rgba(50,50,50,.35);font-size:36px}"]}),e}(),s=r.Gc(o)},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("HDdC"),r=n("ngJS"),a=n("jZKg");function o(e,t){return t?Object(a.a)(e,t):new i.a(Object(r.a)(e))}},ylTp:function(e,t,n){"use strict";var i=n("Ju5/");t.a=i.a.Symbol},"z+Ro":function(e,t,n){"use strict";function i(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return i}))},z6cu:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("HDdC");function r(e,t){return new i.a(t?function(n){return t.schedule(a,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function a(e){var t=e.error;e.subscriber.error(t)}},zP0r:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("7o/Q");function r(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(t){_classCallCheck(this,e),this.total=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new o(e,this.total))}}]),e}(),o=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;return _classCallCheck(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return _createClass(n,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),n}(i.a)},zUnb:function(e,t,n){"use strict";n.r(t);var i=n("fXoL"),r=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});"undefined"!=typeof window&&window,"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,"undefined"!=typeof global&&global;var a=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"get",value:function(e){return""}}]),e}(),o=function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.defaultEncapsulation,a=void 0===i?r.Emulated:i,o=n.useJit,s=void 0===o||o,c=n.jitDevMode,l=void 0!==c&&c,u=n.missingTranslation,d=void 0===u?null:u,h=n.preserveWhitespace
1s,f=n.strictInjectionParameters;_classCallCheck(this,e),this.defaultEncapsulation=a,this.useJit=!!s,this.jitDevMode=!!l,this.missingTranslation=d,this.preserveWhitespaces=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return null===e?t:e}(void 0===(t=h)?null:t),this.strictInjectionParameters=!0===f},s=n("ofXK"),c=n("jhN1"),l=[{provide:i.k,useFactory:function(){return new i.k}}];function u(e){for(var t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}function d(e){var t=[];return e.forEach((function(e){return e&&t.push.apply(t,_toConsumableArray2(e))})),t}var h,f,p,g,v,m=Object(i.ab)(i.eb,"coreDynamic",[{provide:i.h,useValue:{},multi:!0},{provide:i.l,useClass:function(){function e(t){_classCallCheck(this,e),this._defaultOptions=[{useJit:!0,defaultEncapsulation:i.Y.Emulated,missingTranslation:i.A.Warning}].concat(_toConsumableArray2(t))}return _createClass(e,[{key:"createCompiler",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n={useJit:u((e=this._defaultOptions.concat(t)).map((function(e){return e.useJit}))),defaultEncapsulation:u(e.map((function(e){return e.defaultEncapsulation}))),providers:d(e.map((function(e){return e.providers}))),missingTranslation:u(e.map((function(e){return e.missingTranslation}))),preserveWhitespaces:u(e.map((function(e){return e.preserveWhitespaces})))};return i.w.create([l,{provide:o,useFactory:function(){return new o({useJit:n.useJit,jitDevMode:Object(i.db)(),defaultEncapsulation:n.defaultEncapsulation,missingTranslation:n.missingTranslation,preserveWhitespaces:n.preserveWhitespaces})},deps:[]},n.providers]).get(i.k)}}]),e}(),deps:[i.h]}]),b=((h=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"get",value:function(e){var t,n,i=new Promise((function(e,i){t=e,n=i})),r=new XMLHttpRequest;return r.open("GET",e,!0),r.responseType="text",r.onload=function(){var i=r.response||r.responseText,a=1223===r.status?204:r.status;0===a&&(a=i?200:0),200<=a&&a<=300?t(i):n("Failed to load "+e)},r.onerror=function(){n("Failed to load "+e)},r.send(),i}}]),n}(a)).\u0275fac=function(e){return y(e||h)},h.\u0275prov=i.uc({token:h,factory:h.\u0275fac}),h),y=i.Gc(b),C=[c.k,{provide:i.h,useValue:{providers:[{provide:a,useClass:b,deps:[]}]},multi:!0},{provide:i.I,useValue:s.S}],_=Object(i.ab)(m,"browserDynamic",C),w=n("tk/3"),k=n("sYmb"),x=n("1kSV"),O=n("nhfI"),S=n("jCJ1"),P=n("b6Qw"),E=n("GyhO"),M=n("IzEk"),I=n("tyNb"),D=n("GJzE"),j=((f=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:f}),f.\u0275inj=i.vc({factory:function(e){return new(e||f)},providers:[{provide:I.c,multi:!0,useFactory:function(e){return[{matcher:e.routeLanguageMatcher(),children:[{path:D.fb.mainPage,pathMatch:"full",loadChildren:function(){return Promise.all([n.e(1),n.e(8)]).then(n.bind(null,"bd+Y")).then((function(e){return e.PageHomeModule}))}},{path:D.fb.newsPage,loadChildren:function(){return Promise.all([n.e(1),n.e(9)]).then(n.bind(null,"tUcb")).then((function(e){return e.PageNewsDetailModule}))}},{path:D.fb.catalogPage,pathMatch:"full",loadChildren:function(){return n.e(7).then(n.bind(null,"M6fb")).then((function(e){return e.PageCatalogModule}))}},{path:D.fb.notFound,redirectTo:D.fb.friendlyNotFound},{path:D.fb.friendlyNotFound,pathMatch:"full",loadChildren:function(){return n.e(10).then(n.bind(null,"wIKS")).then((function(e){return e.PageNotFoundModule}))}}]}]},deps:[D.fb]}],imports:[[I.h.forRoot([],{scrollPositionRestoration:"enabled",anchorScrolling:"enabled",initialNavigation:"enabled"})],I.h]}),f),A=n("FpXt"),T=n("3Pt+"),z=n("wf0l"),L=n("s8G/"),N=n("U9Oy"),R=((g=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:g}),g.\u0275inj=i.vc({factory:function(e){return new(e||g)},imports:[[s.c,T.z,S.f,S.d,j,L.b,N.a,z.b]]}),g),F=((p=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:p}),p.\u0275inj=i.vc({factory:function(e){return new(e||p)},imports:[[s.c,z.b,N.a]]}),p),V=n("wQ6Y"),U=((v=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||v)},v.\u0275cmp=i.sc({type:v,selectors:[["app-svg-icons"]],decls:271,vars:0,consts:[["aria-hidden","true","xmlns","http://www.w3.org/2000/svg",2,"display","none"],["id","notification-bell","viewBox","-21 1 511 511.99998"],["d","m311.628906 435.773438c0 35.046874-23.644531 64.554687-55.839844 73.46875-6.488281 1.796874-13.320312 2.757812-20.375 2.757812-42.097656 0-76.226562-34.125-76.226562-76.226562l76.347656-39.234376zm0 0","fill","#e58e13"],["d","m307.941406 459.285156c-7.847656 24.21875-27.492187 43.132813-52.152344 49.957032-15.503906-4.289063-29.023437-13.351563-38.875-25.503907-7.941406-9.800781-.777343-24.453125 11.835938-24.453125zm0 0","fill","#f7d360"],["d","m432.210938 359.558594-163.761719 35.414062-229.84375-35.414062c18.035156 0 28.234375-9.433594 34.023437-25.078125 28.003906-75.523438-46.582031-295.632813 162.785156-295.632813 209.367188 0 134.769532 220.109375 162.773438 295.632813 5.800781 15.644531 15.996094 25.078125 34.023438 25.078125zm0 0","fill","#f7d360"],["d","m470.316406 397.667969c0 21.042969-17.0625 38.105469-38.105468 38.105469h-393.605469c-10.519531 0-20.050781-4.261719-26.945313-11.160157-6.898437-6.894531-11.160156-16.425781-11.160156-26.945312 0-21.046875 17.0625-38.109375 38.105469-38.109375h393.605469c10.519531 0 20.050781 4.265625 26.945312 11.160156 6.898438 6.898438 11.160156 16.425781 11.
1160156 26.949219zm0 0","fill","#e58e13"],["d","m398.1875 334.480469h-204.574219c-22.054687 0-39.691406-18.253907-39.007812-40.300781 2.882812-93.265626-11.992188-253.558594 79.277343-255.320313-250.535156 1.296875-90.382812 320.699219-195.269531 320.699219h393.597657c-18.027344 0-28.222657-9.433594-34.023438-25.078125zm0 0","fill","#e58e13"],["d","m470.316406 397.667969c0 21.042969-17.0625 38.105469-38.105468 38.105469h-283.480469c-10.523438 0-20.054688-4.261719-26.949219-11.160157-6.894531-6.894531-11.160156-16.425781-11.160156-26.945312 0-21.046875 17.0625-38.109375 38.109375-38.109375h283.480469c10.519531 0 20.050781 4.265625 26.945312 11.160156 6.898438 6.898438 11.160156 16.425781 11.160156 26.949219zm0 0","fill","#f7d360"],["d","m274.148438 41.765625c.082031-.960937.113281-1.933594.113281-2.917969 0-21.449218-17.394531-38.847656-38.847657-38.847656-21.460937 0-38.847656 17.398438-38.847656 38.847656 0 .984375.03125 1.957032.113282 2.917969","fill","#e58e13"],["fill","#e6e6e6"],["d","m424.613281 167.71875c-4.328125 0-7.835937-3.511719-7.835937-7.835938 0-36.269531-9.324219-67.222656-27.710938-92-13.726562-18.496093-27.683594-26.457031-27.820312-26.539062-3.765625-2.113281-5.121094-6.878906-3.019532-10.652344 2.101563-3.769531 6.84375-5.136718 10.621094-3.050781.667969.371094 16.535156 9.277344 32.25 30.160156 14.304688 19.007813 31.355469 52.148438 31.355469 102.082031 0 4.324219-3.511719 7.835938-7.839844 7.835938zm0 0"],["d","m459.09375 122.789062c-4.328125 0-7.835938-3.507812-7.835938-7.835937 0-50.023437-29.625-69.910156-30.886718-70.730469-3.613282-2.355468-4.660156-7.195312-2.328125-10.820312 2.335937-3.625 7.140625-4.695313 10.777343-2.378906 1.558594.988281 38.109376 24.929687 38.109376 83.929687 0 4.328125-3.507813 7.835937-7.835938 7.835937zm0 0"],["d","m46.203125 167.71875c-4.328125 0-7.835937-3.511719-7.835937-7.835938 0-49.933593 17.050781-83.074218 31.351562-102.082031 15.71875-20.882812 31.582031-29.792969 32.25-30.160156 3.789062-2.09375 8.558594-.71875 10.652344 3.070313 2.089844 3.78125.722656 8.539062-3.050782 10.636718-.308593.175782-14.171874 8.15625-27.816406 26.535156-18.390625 24.777344-27.710937 55.730469-27.710937 92-.003907 4.324219-3.511719 7.835938-7.839844 7.835938zm0 0"],["d","m11.722656 122.789062c-4.328125 0-7.835937-3.507812-7.835937-7.835937 0-59 36.554687-82.941406 38.109375-83.929687 3.652344-2.324219 8.496094-1.246094 10.820312 2.402343 2.316406 3.640625 1.253906 8.46875-2.375 10.796875-1.300781.851563-30.882812 20.746094-30.882812 70.730469 0 4.328125-3.507813 7.835937-7.835938 7.835937zm0 0"],["id","icon-facebook","viewBox","0 0 96.124 96.123"],["d","M72.089.02L59.624 0C45.62 0 36.57 9.285 36.57 23.656v10.907H24.037a1.96 1.96 0 0 0-1.96 1.961v15.803a1.96 1.96 0 0 0 1.96 1.96H36.57v39.876a1.96 1.96 0 0 0 1.96 1.96h16.352a1.96 1.96 0 0 0 1.96-1.96V54.287h14.654a1.96 1.96 0 0 0 1.96-1.96l.006-15.803a1.963 1.963 0 0 0-1.961-1.961H56.842v-9.246c0-4.444 1.059-6.7 6.848-6.7l8.397-.003a1.96 1.96 0 0 0 1.959-1.96V1.98A1.96 1.96 0 0 0 72.089.02z"],["id","icon-foursquare","viewBox","0 0 300 300"],["d","M253.428 8.709C248.11.773 237.729-.107 229.026.01c-52.447.236-104.914.1-157.385.059C68.63.162 65.624.32 62.657.9c-9.628 1.6-17.55 9.688-19.241 19.238-1.545 9.416-.655 19.025-.773 28.52-.02 77.041.059 154.084-.059 231.125.217 4.752.389 9.938 3.336 13.943 4.645 6.346 14.056 7.93 20.924 4.516 4.139-2.254 7.203-5.924 10.287-9.377 22.539-26.607 45.973-52.461 68.467-79.113 2.484-2.818 5.396-5.904 9.516-5.672 16.225-.832 32.49.545 48.736-.291 5.516-.289 11.262-1.865 15.262-5.879 5.451-5.357 7.144-13.141 8.871-20.305 9.219-44.688 17.568-89.563 26.822-134.25 2.175-11.277 5.398-24.301-1.377-34.646zm-40.471 72.382c-1.339 4.432-7.105 4.133-10.986 4.447-19.508.389-39.02-.469-58.508.094-5.959-.232-12.404 3.512-12.773 9.977-1.264 8.059-.752 20.496 9.358 22.268 19.099 2.135 38.454-.703 57.573 1.146 6.366.191 6.484 7.705 5.49 12.344-2.189 11.232-3.857 22.646-7.139 33.643-.836 3.641-4.295 5.551-7.842 5.58-16.113 1.348-32.324-.557-48.432.59-6.604.094-10.539 6.018-14.445 10.465-16.246 19.971-32.59 39.848-49.362 59.379-.659-62.832.06-125.689-.368-188.541.137-4.699-.1-9.609 1.627-14.076 2.471-5.201 8.971-5.068 13.865-5.34 38.258.041 76.535.139 114.797-.039 6.346.195 13.022-.859 14.676 4.793 2.19 7.481-4.557 33.423-7.531 43.27z","fill-rule","evenodd","clip-rule","evenodd"],["id","icon-instagram","viewBox","0 0 97.395 97.395"],["d","M12.501 0h72.393c6.875 0 12.5 5.09 12.5 12.5v72.395c0 7.41-5.625 12.5-12.5 12.5H12.501C5.624 97.395 0 92.305 0 84.895V12.5C0 5.09 5.624 0 12.501 0zm58.447 10.821a4.395 4.395 0 0 0-4.383 4.385v10.495a4.396 4.396 0 0 0 4.383 4.385h11.008a4.398 4.398 0 0 0 4.385-4.385V15.206a4.397 4.397 0 0 0-4.385-4.385H70.948zm15.439 30.367h-8.572a28.486 28.486 0 0 1 1.25 8.355c0 16.2-13.556 29.332-30.275 29.332-16.718 0-30.272-13.132-30.272-29.332 0-2.904.438-5.708 1.25-8.355h-8.945v41.141a3.884 3.884 0 0 0 3.872 3.872h67.822a3.883 3.883 0 0 0 3.872-3.872V41.188h-.002zM48.789 29.533c-10.802 0-19.56 8.485-19.56 18.953s8.758 18.953 19.56 18.953c10.803 0 19.562-8.485 19.562-18.953s-8.758-18.953-19.562-18.953z"],["id","icon-telegram","viewBox","0 0 300 300"],["d","M5.299 144.645l69.126 25.8 26.756 86.047c1.712 5.511 8.451 7.548 12.924 3.891l38.532-31.412a11.496 11.496 0 0 1 14.013-.391l69.498 50.457c4.785 3.478 11.564.856 12.764-4.926L299.823 29.22c1.31-6.316-4.896-11.585-10.91-9.259L5.218 129.402c-7.001 2.7-6.94 12.612.081 15.243zm91.57 12.066l135.098-83.207c2.428-1.491 4.926 1.792 2.841 3.726L123.313 180.87a23.112 23.112 0 0 0-7.163 13.829l-3.798 28.146c-.503 3.758-5.782 4.131-6.819.494l-14.607-
151.325c-1.673-5.854.765-12.107 5.943-15.303z"],["id","icon-twitter","viewBox","0 0 449.956 449.956"],["d","M449.956 85.657c-17.702 7.614-35.408 12.369-53.102 14.279 19.985-11.991 33.503-28.931 40.546-50.819-18.281 10.847-37.787 18.268-58.532 22.267-18.274-19.414-40.73-29.125-67.383-29.125-25.502 0-47.246 8.992-65.24 26.98-17.984 17.987-26.977 39.731-26.977 65.235 0 6.851.76 13.896 2.284 21.128-37.688-1.903-73.042-11.372-106.068-28.407C82.46 110.158 54.433 87.46 31.403 59.101c-8.375 14.272-12.564 29.787-12.564 46.536 0 15.798 3.711 30.456 11.138 43.97 7.422 13.512 17.417 24.455 29.98 32.831-14.849-.572-28.743-4.475-41.684-11.708v1.142c0 22.271 6.995 41.824 20.983 58.674 13.99 16.848 31.645 27.453 52.961 31.833a95.543 95.543 0 0 1-24.269 3.138c-5.33 0-11.136-.475-17.416-1.42 5.9 18.459 16.75 33.633 32.546 45.535 15.799 11.896 33.691 18.028 53.677 18.418-33.498 26.262-71.66 39.393-114.486 39.393-8.186 0-15.607-.373-22.27-1.139 42.827 27.596 90.03 41.394 141.612 41.394 32.738 0 63.478-5.181 92.21-15.557 28.746-10.369 53.297-24.267 73.665-41.686 20.362-17.415 37.925-37.448 52.674-60.097 14.75-22.651 25.738-46.298 32.977-70.946 7.23-24.653 10.848-49.344 10.848-74.092 0-5.33-.096-9.325-.287-11.991 18.087-13.127 33.504-29.023 46.258-47.672z"],["id","icon-viber","viewBox","0 0 322 322"],["d","M275.445 135.123c.387-45.398-38.279-87.016-86.192-92.771-.953-.113-1.991-.285-3.09-.467-2.372-.393-4.825-.797-7.3-.797-9.82 0-12.445 6.898-13.136 11.012-.672 4-.031 7.359 1.902 9.988 3.252 4.422 8.974 5.207 13.57 5.836 1.347.186 2.618.359 3.682.598 43.048 9.619 57.543 24.742 64.627 67.424.173 1.043.251 2.328.334 3.691.309 5.102.953 15.717 12.365 15.717h.001c.95 0 1.971-.082 3.034-.244 10.627-1.615 10.294-11.318 10.134-15.98-.045-1.313-.088-2.555.023-3.381.03-.208.045-.417.046-.626z"],["d","M176.077 25.688c1.275.092 2.482.18 3.487.334 70.689 10.871 103.198 44.363 112.207 115.605.153 1.211.177 2.688.202 4.252.09 5.566.275 17.145 12.71 17.385l.386.004c3.9 0 7.002-1.176 9.221-3.498 3.871-4.049 3.601-10.064 3.383-14.898-.053-1.186-.104-2.303-.091-3.281.899-72.862-62.171-138.933-134.968-141.39-.302-.01-.59.006-.881.047a6.09 6.09 0 0 1-.862.047c-.726 0-1.619-.063-2.566-.127C177.16.09 175.862 0 174.546 0c-11.593 0-13.797 8.24-14.079 13.152-.65 11.352 10.332 12.151 15.61 12.536zM288.36 233.703a224.924 224.924 0 0 1-4.512-3.508c-7.718-6.211-15.929-11.936-23.87-17.473a1800.92 1800.92 0 0 1-4.938-3.449c-10.172-7.145-19.317-10.617-27.957-10.617-11.637 0-21.783 6.43-30.157 19.109-3.71 5.621-8.211 8.354-13.758 8.354-3.28 0-7.007-.936-11.076-2.783-32.833-14.889-56.278-37.717-69.685-67.85-6.481-14.564-4.38-24.084 7.026-31.832 6.477-4.396 18.533-12.58 17.679-28.252-.967-17.797-40.235-71.346-56.78-77.428-7.005-2.576-14.365-2.6-21.915-.06-19.02 6.394-32.669 17.623-39.475 32.471-6.577 14.347-6.28 31.193.859 48.717 20.638 50.666 49.654 94.84 86.245 131.293 35.816 35.684 79.837 64.914 130.839 86.875 4.597 1.978 9.419 3.057 12.94 3.844 1.2.27 2.236.5 2.991.707.415.113.843.174 1.272.178l.403.002h.002c23.988 0 52.791-21.92 61.637-46.91 7.75-21.882-6.4-32.698-17.77-41.388zM186.687 83.564c-4.107.104-12.654.316-15.653 9.021-1.403 4.068-1.235 7.6.5 10.498 2.546 4.252 7.424 5.555 11.861 6.27 16.091 2.582 24.355 11.48 26.008 28 .768 7.703 5.955 13.082 12.615 13.082h.001c.492 0 .995-.029 1.496-.09 8.01-.953 11.893-6.838 11.542-17.49.128-11.117-5.69-23.738-15.585-33.791-9.929-10.084-21.898-15.763-32.785-15.5z"],["id","icon-vkontakte","viewBox","0 0 24 24"],["d","M 8.710938 0.0195312 C 5.511719 0.0664062 4.015625 0.285156 2.832031 0.878906 C 2.382812 1.105469 2.054688 1.339844 1.695312 1.695312 C 1.136719 2.25 0.777344 2.882812 0.515625 3.753906 C 0.433594 4.035156 0.316406 4.542969 0.28125 4.78125 C 0.0507812 6.292969 0 7.636719 0 12.007812 C 0 16.75 0.0742188 18.253906 0.367188 19.648438 C 0.488281 20.234375 0.648438 20.707031 0.878906 21.164062 C 1.117188 21.640625 1.339844 21.949219 1.714844 22.320312 C 2.265625 22.867188 2.90625 23.230469 3.75 23.480469 C 4.726562 23.769531 5.835938 23.902344 7.820312 23.960938 C 9.457031 24.015625 15.453125 24 16.753906 23.945312 C 18.976562 23.84375 20.171875 23.621094 21.171875 23.117188 C 21.613281 22.898438 21.957031 22.648438 22.3125 22.292969 C 23.109375 21.496094 23.535156 20.492188 23.773438 18.851562 C 23.941406 17.683594 24 15.949219 24 11.992188 C 24 7.351562 23.925781 5.753906 23.652344 4.433594 C 23.511719 3.769531 23.363281 3.320312 23.121094 2.839844 C 22.886719 2.367188 22.664062 2.054688 22.292969 1.6875 C 21.742188 1.136719 21.101562 0.773438 20.25 0.519531 C 19.363281 0.257812 18.402344 
10.132812 16.742188 0.0546875 C 15.621094 0.00390625 11.085938 -0.015625 8.710938 0.0195312 Z M 6.8125 7.636719 C 6.867188 9.171875 7.167969 10.523438 7.695312 11.621094 C 7.859375 11.957031 7.917969 12.054688 8.109375 12.355469 C 8.625 13.148438 9.324219 13.757812 10.070312 14.066406 C 10.160156 14.105469 10.28125 14.148438 10.34375 14.167969 C 10.402344 14.183594 10.464844 14.203125 10.476562 14.207031 C 10.496094 14.214844 10.5 13.515625 10.5 10.753906 L 10.5 7.292969 L 13.085938 7.292969 L 13.085938 11.246094 L 13.179688 11.230469 C 13.59375 11.164062 14.035156 10.984375 14.457031 10.710938 C 14.597656 10.617188 14.746094 10.507812 14.773438 10.480469 C 14.78125 10.476562 14.851562 10.414062 14.933594 10.347656 C 15.308594 10.039062 15.796875 9.472656 16.097656 9 C 16.398438 8.53125 16.695312 7.898438 16.828125 7.445312 L 16.871094 7.304688 L 18.167969 7.296875 L 19.46875 7.292969 L 19.453125 7.371094 C 19.4375 7.496094 19.335938 7.890625 19.277344 8.085938 C 18.867188 9.414062 17.992188 10.699219 16.832031 11.664062 C 16.597656 11.859375 16.265625 12.101562 16.066406 12.21875 L 15.96875 12.277344 L 16.121094 12.355469 C 16.871094 12.730469 17.679688 13.363281 18.285156 14.042969 C 18.621094 14.417969 18.699219 14.511719 18.960938 14.898438 C 19.289062 15.371094 19.578125 15.921875 19.804688 16.5 C 19.890625 16.726562 20.03125 17.140625 20.054688 17.246094 L 20.066406 17.304688 L 17.214844 17.304688 L 17.164062 17.152344 C 16.957031 16.523438 16.53125 15.789062 16.09375 15.300781 C 15.472656 14.609375 14.726562 14.128906 13.882812 13.882812 C 13.6875 13.828125 13.46875 13.78125 13.167969 13.734375 L 13.085938 13.726562 L 13.085938 17.3125 L 12.632812 17.296875 C 11.578125 17.269531 10.847656 17.164062 9.984375 16.921875 C 9.308594 16.734375 8.445312 16.335938 7.898438 15.960938 C 7.652344 15.792969 7.328125 15.550781 7.191406 15.429688 C 7.019531 15.285156 6.589844 14.859375 6.464844 14.710938 C 6.398438 14.636719 6.339844 14.578125 6.332031 14.582031 C 6.324219 14.585938 6.320312 14.582031 6.324219 14.574219 C 6.328125 14.566406 6.308594 14.53125 6.28125 14.492188 C 6.1875 14.386719 5.976562 14.105469 5.847656 13.914062 C 4.777344 12.347656 4.140625 10.128906 4.058594 7.671875 L 4.042969 7.292969 L 6.800781 7.292969 Z M 6.8125 7.636719 "],["id","icon-youtube","viewBox","0 0 310 310"],["d","M297.917 64.645c-11.19-13.302-31.85-18.728-71.306-18.728H83.386c-40.359 0-61.369 5.776-72.517 19.938C0 79.663 0 100.008 0 128.166v53.669c0 54.551 12.896 82.248 83.386 82.248h143.226c34.216 0 53.176-4.788 65.442-16.527C304.633 235.518 310 215.863 310 181.835v-53.669c0-29.695-.841-50.16-12.083-63.521zm-98.896 97.765l-65.038 33.991a9.997 9.997 0 0 1-14.632-8.863v-67.764a10 10 0 0 1 14.609-8.874l65.038 33.772a10 10 0 0 1 .023 17.738z"],["id","icon-reddit","viewBox","0 -16 512 512"],["d","M158.578 399.61C186.332 412.757 220.93 420 256 420s69.668-7.242 97.422-20.39l-12.844-27.114C316.754 383.786 286.718 390 256 390s-60.754-6.215-84.578-17.504zm0 0"],["d","M31.96 293.086A123.867 123.867 0 0 0 30 315c0 45.02 24.266 87.031 68.328 118.3C140.766 463.415 196.762 480 256 480s115.234-16.586 157.672-46.7C457.734 402.032 482 360.02 482 315c0-7.398-.668-14.71-1.96-21.914C499.397 282.922 512 262.766 512 240c0-33.086-26.914-60-60-60-15.082 0-29.293 5.59-40.176 15.422-39.355-27.317-90.023-43.176-144.023-45.195L296.465 39.05l65.578 22.691C362.973 94.023 389.5 120 422 120c33.086 0 60-26.914 60-60S455.086 0 422 0c-23.11 0-43.191 13.14-53.215 32.332L275.535.066l-38.812 150.536c-51.188 3.144-99.016 18.765-136.547 44.82C89.293 185.59 75.082 180 60 180c-33.086 0-60 26.914-60 60 0 22.766 12.602 42.922 31.96 53.086zM422 30c16.543 0 30 13.457 30 30s-13.457 30-30 30-30-13.457-30-30 13.457-30 30-30zm60 210c0 9.367-4.273 17.836-11.168 23.379-7.816-17.469-19.625-33.856-35.105-48.582A29.91 29.91 0 0 1 452 210c16.543 0 30 13.457 30 30zm-226-60c53.07 0 102.902 14.621 140.313 41.168C432.222 246.648 452 279.973 452 315s-19.777 68.352-55.688 93.832C358.903 435.379 309.07 450 256 450s-102.902-14.621-140.313-41.168C79.778 383.352 60 350.027 60 315s19.777-68.352 55.688-93.832C153.097 194.621 202.93 180 256 180zM60 210c5.887 0 11.5 1.71 16.273 4.797-15.48 14.726-27.289 31.113-35.105 48.582C34.273 257.836 30 249.367 3
10 240c0-16.543 13.457-30 30-30zm0 0"],["d","M165 330c24.813 0 45-20.188 45-45s-20.188-45-45-45-45 20.188-45 45 20.188 45 45 45zm0-60c8.27 0 15 6.73 15 15s-6.73 15-15 15-15-6.73-15-15 6.73-15 15-15zm0 0M347 330c24.813 0 45-20.188 45-45s-20.188-45-45-45-45 20.188-45 45 20.188 45 45 45zm0-60c8.27 0 15 6.73 15 15s-6.73 15-15 15-15-6.73-15-15 6.73-15 15-15zm0 0"],["id","icon-whatsapp","viewBox","0 0 308 308"],["d","M227.904 176.981c-.6-.288-23.054-11.345-27.044-12.781-1.629-.585-3.374-1.156-5.23-1.156-3.032 0-5.579 1.511-7.563 4.479-2.243 3.334-9.033 11.271-11.131 13.642-.274.313-.648.687-.872.687-.201 0-3.676-1.431-4.728-1.888-24.087-10.463-42.37-35.624-44.877-39.867-.358-.61-.373-.887-.376-.887.088-.323.898-1.135 1.316-1.554 1.223-1.21 2.548-2.805 3.83-4.348a140.77 140.77 0 0 1 1.812-2.153c1.86-2.164 2.688-3.844 3.648-5.79l.503-1.011c2.344-4.657.342-8.587-.305-9.856-.531-1.062-10.012-23.944-11.02-26.348-2.424-5.801-5.627-8.502-10.078-8.502-.413 0 0 0-1.732.073-2.109.089-13.594 1.601-18.672 4.802C90 87.918 80.89 98.74 80.89 117.772c0 17.129 10.87 33.302 15.537 39.453.116.155.329.47.638.922 17.873 26.102 40.154 45.446 62.741 54.469 21.745 8.686 32.042 9.69 37.896 9.69h.001c2.46 0 4.429-.193 6.166-.364l1.102-.105c7.512-.666 24.02-9.22 27.775-19.655 2.958-8.219 3.738-17.199 1.77-20.458-1.348-2.216-3.671-3.331-6.612-4.743z"],["d","M156.734 0C73.318 0 5.454 67.354 5.454 150.143c0 26.777 7.166 52.988 20.741 75.928L.212 302.716a3.998 3.998 0 0 0 4.999 5.096l79.92-25.396c21.87 11.685 46.588 17.853 71.604 17.853C240.143 300.27 308 232.923 308 150.143 308 67.354 240.143 0 156.734 0zm0 268.994c-23.539 0-46.338-6.797-65.936-19.657a3.996 3.996 0 0 0-3.406-.467l-40.035 12.726 12.924-38.129a4.002 4.002 0 0 0-.561-3.647c-14.924-20.392-22.813-44.485-22.813-69.677 0-65.543 53.754-118.867 119.826-118.867 66.064 0 119.812 53.324 119.812 118.867.001 65.535-53.746 118.851-119.811 118.851z"],["id","icon-odnoklassniki","viewBox","0 0 95.481 95.481"],["d","M43.041 67.254c-7.402-.772-14.076-2.595-19.79-7.064-.709-.556-1.441-1.092-2.088-1.713-2.501-2.402-2.753-5.153-.774-7.988 1.693-2.426 4.535-3.075 7.489-1.682.572.27 1.117.607 1.639.969 10.649 7.317 25.278 7.519 35.967.329 1.059-.812 2.191-1.474 3.503-1.812 2.551-.655 4.93.282 6.299 2.514 1.564 2.549 1.544 5.037-.383 7.016-2.956 3.034-6.511 5.229-10.461 6.761-3.735 1.448-7.826 2.177-11.875 2.661.611.665.899.992 1.281 1.376 5.498 5.524 11.02 11.025 16.5 16.566 1.867 1.888 2.257 4.229 1.229 6.425-1.124 2.4-3.64 3.979-6.107 3.81-1.563-.108-2.782-.886-3.865-1.977-4.149-4.175-8.376-8.273-12.441-12.527-1.183-1.237-1.752-1.003-2.796.071-4.174 4.297-8.416 8.528-12.683 12.735-1.916 1.889-4.196 2.229-6.418 1.15-2.362-1.145-3.865-3.556-3.749-5.979.08-1.639.886-2.891 2.011-4.014 5.441-5.433 10.867-10.88 16.295-16.322.359-.362.694-.746 1.217-1.305z"],["d","M47.55 48.329c-13.205-.045-24.033-10.992-23.956-24.218C23.67 10.739 34.505-.037 47.84 0c13.362.036 24.087 10.967 24.02 24.478-.068 13.199-10.971 23.897-24.31 23.851zm12.001-24.186c-.023-6.567-5.253-11.795-11.807-11.801-6.609-.007-11.886 5.316-11.835 11.943.049 6.542 5.324 11.733 11.896 11.709 6.552-.023 11.768-5.285 11.746-11.851z"],["id","icon-oki-tv","viewBox","0 0 54.8 24"],["type","text/css"],["d","M11.8,21.6c-0.3,0-0.6,0-0.9-0.1c-1.1-0.2-2.1-0.6-2.9-1.3c-0.8-0.7-1.5-1.6-1.8-2.6C5.9,17,5.5,16,5,14.6c-1.1-3-2.2-6.7-2.3-6.9c-0.2-0.6,0-1.4,0.8-1.7C3.7,6,3.8,6,4,6c0.8,0,1.1,0.7,1.3,1l0,0c0,0,0,0.1,0,0.1c0.1,0.2,1,2.7,1.4,3.9l0.4-7c0-0.5,0.4-1.4,1.4-1.4h0c0.5,0,1.4,0.2,1.4,1.5v0L9.5,9.3c0.8-2.4,1.8-5.8,1.9-6.1C11.6,2.6,12,2,12.8,2c0.2,0,0.4,0,0.6,0.1C13.8,2.3,14.3,3,14,3.9c-0.1,0.2-1.1,3.8-1.5,5.1l0,0c0,0,0,0,0,0l0,0h0l0,0l0,0c0,0,0,0,0.1,0c0,0,0.1,0,0.2,0h0c0.1,0,0.2,0,0.2,0h0h0h0h0c1.1,0,2.1,0.4,3,0.9c0,0,0,0,0,0c0.7,0,1.5-0.1,2.4-0.2c0,0,0,0,0.1,0c0.3,0,0.6,0.3,0.6,0.6v4.3c0,0.1,0.1,0.2,0.1,0.2c0.1,0.1,0.1,0.1,0.2,0.1c0.1,0,0.2,0,0.2-0.1l2.8-3.6c0.1-0.1,0.3-0.2,0.5-0.2h0.3c0.2,0,0.4,0.1,0.5,0.3c0.1,0.2,0.1,0.4-0.1,0.6l-1.3,1.7c-0.1,0.1-0.1,0.2,0,0.3l2.6,6.8c0.1,0.2,0,0.4-0.1,0.6c-0.1,0.2-0.3,0.3-0.5,0.3h-2.7c-0.3,0-0.5-0.2-0.6-0.4l-1.3-3.4c0-0.1-0.2-0.2-0.3-0.2c-0.1,0-0.2,0-0.3,0.1l0,0c0,0.1-0.1,0.1-0.1,0.2V21c0,0.3-0.2,0.6-0.5,0.6v0L11.8,21.6L11.8,21.6z M13.1,11.6c-1.3,0-2.5,0.8-3,2c-0.8,1.7-0.1,3.6,1.5,4.3c0.4,0.2,0.8,0.3,1.2,0.3c0.9,0,1.9-0.4,2.5-1.2c0.2-0.2,0.4-0.5,0.5-0.8c0.2-0.4,0.3-0.9,0.3-1.4v0v-0.1c0,0,0-0.1,0-0.1v0v0c0-0.8-0.3-1.5-0.8-2l0,0l0,0c0,0,0,0,0,0l0,0c-0.3-0.3-0.6-0.5-1-0.7C14,11.7,13.5,11.6,13.1,11.6z M31.3,17.4c-0.3,0-0.6-0.3-0.6-0.6v-1.9c0-0.3,0.3-0.6,0.6-0.6h4c0.3,0,0.6,0.3,0.6,0.6v1.9c0,0.3-0.3,0.6-0.6,0.6H31.3z M26.4,21.6c-0.3,0-0.6-0.3-0.6-0.6v-9.4c0-0.3,0.3-0.6,0.6-0.6c0.9,0,1.7-0.1,2.6-0.2c0,0,0.1,0,0.1,0c0.3,0,0.6,0.3,0.6,0.6V21c0,0.3-0.3,0.6-0.6,0.6L26.4,21.6L26.4,21.6L26.4,21.6z M27.8,10C26.3,10,26,9.2,26,8.5C26,7.8,26.3,7,27.8,7s1.8,0.8,1.8,1.5C29.5,9.2,29.2,10,27.8,10z",1,"st0"],["d","M40.7,21.6h-2.8c0,0-0.8,0.1-0.8-1.1s0-10.4,0-10.4h-2.3c0,0-0.5,0-0.5-0.6s0.1-0.9,0.7-0.9s16.4,0,16.4,0s0.7,0,0.6,0.6c-0.2,0.6-4,12.1-4,12.1s-0.1,0.3-0.6,0.3s-1.4,0-1.4,0s-0.8,0-1.1-0.9c-0.3-0.9-2.3-7.5-2.3-7.5s-0.1-0.7,0.3-0.7c0.5,0,2.8,0,2.8,0s0.5,0,0.5,0.4c0.1,0.4,1.2,4.2,1.2,4.2l2.3-6.7c0,0,0.1-0.4-0.3-0.4c-0.4,0-7.3,0-7.3,0s-0.7-0.1-0.7,0.7c0,0.8,0,10.2,0,10.2S41.4,21.6,40.7,21.6z",1,"st1"],["id","icon-tiktok","viewBox","0 0 512 512"],["id","tiktok-dark","transform","translate(0, 0)"],["d","M734.75,204.8v-19.51c-7.24-.96-14.53-1.45-21.83-1.48-89.29,0-161.96,68-161.96,151.59,0,51.26,27.38,96.66,69.14,124.1-27.96-27.99-43.52-64.88-43.49-103.2,0-82.39,70.59-149.58,158.14-151.49",1,"cls-1"],["d","M739.04,420.11c37.76,0,68.54-29.84,69.94-67.04l.13-332.03h61.04c-1.31-6.93-1.97-13.97-1.98-21.02h-83.36l-.14,332.04c-1.39,37.18-32.2,67.02-69.94,67.02-11.32,0-22.48-2.75-32.5-8.01,13.18,18.24,34.31,29.04,56.82,29.04M984.16,133.74v-18.46c-22.41.02-44.35-6.46-63.14-18.65,16.5,18.86,38.65,31.88,63.16,37.11",1,"cls-1"],["d","M918.54,101.34c-18.33-20.71-28.45-47.41-28.46-75.06h-22.28c5.89,30.93,24.24,58.07,50.74,75.06M712.76,263.43
1c-38.6.05-69.87,30.99-69.91,69.18.08,25.81,14.53,49.42,37.47,61.24-8.59-11.7-13.22-25.83-13.23-40.34.04-38.2,31.31-69.16,69.91-69.2,7.22,0,14.11,1.18,20.64,3.2v-84.02c-6.84-.96-13.73-1.46-20.64-1.5-1.21,0-2.4.08-3.6.09v64.54c-6.68-2.1-13.64-3.18-20.64-3.2",1,"cls-3"],["d","M973.06,144.42v64.12c-41.47.06-81.92-12.84-115.69-36.9v167.6c0,83.72-68.66,151.82-153.04,151.82-32.62,0-62.87-10.21-87.72-27.53,29,30.96,69.53,48.51,111.95,48.47,84.4,0,153.06-68.11,153.06-151.81v-167.61c33.78,24.06,74.23,36.95,115.69,36.89v-82.48c-8.15,0-16.28-.86-24.25-2.56",1,"cls-3"],["d","M865.75,333.73v-167.88c34.76,24.16,76.1,37.07,118.43,36.97v-64.19c-24.89-5.15-47.48-18.12-64.48-37.02-27.2-17.16-45.97-44.37-51.93-75.33h-62.32l-.13,331.02c-1.44,37.07-32.88,66.82-71.41,66.82-23.03-.03-44.61-10.79-58.02-28.93-23.55-11.99-38.32-35.65-38.33-61.46.04-38.33,32.03-69.38,71.55-69.43,7.35,0,14.41,1.18,21.11,3.22v-64.76c-84.69,1.93-152.98,69.31-152.98,151.94,0,39.97,16,76.35,42.07,103.51,26.47,18.02,57.77,27.62,89.79,27.56,86.38,0,156.67-68.2,156.67-152.02",1,"cls-2"],["id","tiktok-light","transform","translate(0, 0)"],["d","M222.75,204.8v-19.51c-7.24-.96-14.53-1.45-21.83-1.48-89.29,0-161.96,68-161.96,151.59,0,51.26,27.38,96.66,69.14,124.1-27.96-27.99-43.52-64.88-43.49-103.2,0-82.39,70.59-149.58,158.14-151.49",1,"cls-1"],["d","M227.04,420.11c37.76,0,68.54-29.84,69.94-67.04l.13-332.03h61.04c-1.31-6.93-1.97-13.97-1.98-21.02h-83.36l-.14,332.04c-1.39,37.18-32.2,67.02-69.94,67.02-11.32,0-22.48-2.75-32.5-8.01,13.18,18.24,34.31,29.04,56.82,29.04M472.16,133.74v-18.46c-22.41.02-44.35-6.46-63.14-18.65,16.5,18.86,38.65,31.88,63.16,37.11",1,"cls-1"],["d","M406.54,101.34c-18.33-20.71-28.45-47.41-28.46-75.06h-22.28c5.89,30.93,24.24,58.07,50.74,75.06M200.76,263.43c-38.6.05-69.87,30.99-69.91,69.18.08,25.81,14.53,49.42,37.47,61.24-8.59-11.7-13.22-25.83-13.23-40.34.04-38.2,31.31-69.16,69.91-69.2,7.22,0,14.11,1.18,20.64,3.2v-84.02c-6.84-.96-13.73-1.46-20.64-1.5-1.21,0-2.4.08-3.6.09v64.54c-6.68-2.1-13.64-3.18-20.64-3.2",1,"cls-3"],["d","M461.06,144.42v64.12c-41.47.06-81.92-12.84-115.69-36.9v167.6c0,83.72-68.66,151.82-153.04,151.82-32.62,0-62.87-10.21-87.72-27.53,29,30.96,69.53,48.51,111.95,48.47,84.4,0,153.06-68.11,153.06-151.81v-167.61c33.78,24.06,74.23,36.95,115.69,36.89v-82.48c-8.15,0-16.28-.86-24.25-2.56",1,"cls-3"],["d","M353.75,333.73v-167.88c34.76,24.16,76.1,37.07,118.43,36.97v-64.19c-24.89-5.15-47.48-18.12-64.48-37.02-27.2-17.16-45.97-44.37-51.93-75.33h-62.32l-.13,331.02c-1.44,37.07-32.88,66.82-71.41,66.82-23.03-.03-44.61-10.79-58.02-28.93-23.55-11.99-38.32-35.65-38.33-61.46.04-38.33,32.03-69.38,71.55-69.43,7.35,0,14.41,1.18,21.11,3.22v-64.76c-84.69,1.93-152.98,69.31-152.98,151.94,0,39.97,16,76.35,42.07,103.51,26.47,18.02,57.77,27.62,89.79,27.56,86.38,0,156.67-68.2,156.67-152.02"],["id","icon-more-vertical-dots","fill","#32323259","viewBox","0 0 512 512"],["cx","256","cy","256","r","26"],["cx","256","cy","346","r","26"],["cx","256","cy","166","r","26"],["d","M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z","fill","none","stroke","#32323259","stroke-miterlimit","10","stroke-width","32"],["id","icon-chevron-left","viewBox","0 0 18 33"],["d","M1.4 16.6952L0.774509 17.2606L15.7745 32.6882L18 30.6765L4.40625 16.6952L18 2.71385L15.7745 0.702087L0.774508 16.1297L1.4 16.6952Z"],["id","icon-chevron-right","viewBox","0 0 18 33"],["d","M16.6 16.6952L17.2255 17.2606L2.22549 32.6882L0 30.6765L13.5938 16.6952L0 2.71385L2.22549 0.702087L17.2255 16.1297L16.6 16.6952Z"],["id","icon-comment","viewBox","0 0 511.096 511.096"],["d","M74.414 480.548H38.2l25.607-25.607c13.807-13.807 22.429-31.765 24.747-51.246C29.427 364.893 0 308.681 0 249.751 0 141.032 99.923 30.548 256.414 30.548c165.785 0 254.682 101.666 254.682 209.678 0 108.724-89.836 210.322-254.682 210.322-28.877 0-59.01-3.855-85.913-10.928-25.467 26.121-59.973 40.928-96.087 40.928z"],["id","icon-photo","viewBox","0 0 23 21"],["d","M22.102 4.05c-.6-.612-1.322-.918-2.168-.918H17.25l-.61-1.664c-.152-.4-.43-.744-.833-1.034C15.403.144 14.99 0 14.567 0H8.433c-.423 0-.836.145-1.24.434-.403.29-.68.635-.832 1.034L5.75 3.132H3.067c-.847 0-1.57.306-2.169.918A3.05 3.05 0 000 6.264v10.963c0 .865.3 1.603.898 2.214.6.612 1.322.918 2.169.918h16.866c.847 0 1.57-.306 2.169
1-.918A3.05 3.05 0 0023 17.227V6.264c0-.864-.3-1.602-.898-2.214zm-6.81 11.568c-1.05 1.073-2.314 1.61-3.792 1.61-1.477 0-2.741-.537-3.791-1.61-1.05-1.072-1.576-2.363-1.576-3.872 0-1.51.526-2.8 1.576-3.872 1.05-1.073 2.314-1.61 3.791-1.61 1.478 0 2.741.537 3.791 1.61 1.05 1.072 1.576 2.363 1.576 3.872s-.525 2.8-1.576 3.872z"],["d","M11.5 8.222c-.95 0-1.763.344-2.438 1.034a3.43 3.43 0 00-1.012 2.49c0 .97.337 1.8 1.012 2.49.675.689 1.488 1.033 2.438 1.033.95 0 1.763-.344 2.438-1.034a3.43 3.43 0 001.012-2.49c0-.97-.337-1.8-1.012-2.49-.675-.689-1.488-1.033-2.438-1.033z"],["id","icon-search","viewBox","0 0 451 451"],["d","M447.05 428l-109.6-109.6c29.4-33.8 47.2-77.9 47.2-126.1C384.65 86.2 298.35 0 192.35 0 86.25 0 .05 86.3.05 192.3s86.3 192.3 192.3 192.3c48.2 0 92.3-17.8 126.1-47.2L428.05 447c2.6 2.6 6.1 4 9.5 4s6.9-1.3 9.5-4c5.2-5.2 5.2-13.8 0-19zM26.95 192.3c0-91.2 74.2-165.3 165.3-165.3 91.2 0 165.3 74.2 165.3 165.3s-74.1 165.4-165.3 165.4c-91.1 0-165.3-74.2-165.3-165.4z"],["id","icon-share","viewBox","0 0 424.96 424.96"],["d","M340.48 300.587c-16.213 0-30.827 6.293-41.92 16.427l-152-88.64c1.173-4.8 1.92-9.813 1.92-14.933s-.747-10.133-1.92-14.933l150.4-87.787c11.413 10.667 26.667 17.28 43.52 17.28 35.307 0 64-28.693 64-64s-28.693-64-64-64-64 28.693-64 64c0 5.12.747 10.133 1.92 14.933L128 166.72c-11.413-10.667-26.667-17.28-43.52-17.28-35.307 0-64 28.693-64 64s28.693 64 64 64c16.853 0 32.107-6.613 43.52-17.28l152 88.64c-1.067 4.48-1.707 9.173-1.707 13.973 0 34.347 27.84 62.187 62.187 62.187s62.187-27.84 62.187-62.187-27.84-62.186-62.187-62.186z"],["id","icon-video","viewBox","0 0 34 20"],["d","M32.584 1.262a2.255 2.255 0 00-2.502.51l-4.372 4.48V3.52c0-1.943-1.539-3.52-3.437-3.52H3.437C1.54 0 0 1.577 0 3.521v12.958C0 18.423 1.539 20 3.437 20h18.836c1.898 0 3.437-1.577 3.437-3.521v-2.73l4.372 4.48c.44.449 1.026.688 1.624.688.295 0 .594-.059.878-.18A2.352 2.352 0 0034 16.567V3.434c0-.95-.56-1.808-1.416-2.172zm-16.43 9.65L11.47 14.6a1.104 1.104 0 01-1.18.12 1.153 1.153 0 01-.627-1.032V6.313c0-.439.243-.838.627-1.032a1.1 1.1 0 011.18.12l4.685 3.687c.277.217.439.555.439.912s-.162.694-.439.912z"],["id","icon-diamond","viewBox","0 0 24 24"],["d","M12 22.935a.503.503 0 01-.383-.178L.117 9.137a.497.497 0 01-.056-.56l4.032-7.32a.501.501 0 01.438-.26h14.938c.183 0 .351.1.438.26l4.031 7.32c.1.18.077.403-.056.56l-11.5 13.62a.5.5 0 01-.382.178zM1.104 8.756L12 21.662 22.896 8.756l-3.723-6.762H4.827L1.104 8.756z"],["d","M23.25 9.473H.75a.5.5 0 110-.997h22.5a.5.5 0 110 .997z"],["d","M17.062 9.193a.498.498 0 01-.409-.212l-4.65-6.615-4.593 6.58a.5.5 0 01-.82-.57l5-7.165a.499.499 0 01.819-.001l5.062 7.198a.497.497 0 01-.409.785z"],["d","M12 22.935a.5.5 0 01-.471-.331L4.06 1.664a.5.5 0 01.942-.336L12 20.948l6.998-19.62a.5.5 0 01.942.335l-7.469 20.94a.5.5 0 01-.471.332z"],["id","icon-crown","viewBox","0 0 24 20"],["d","M23.6649 4.17555C23.5226 4.12421 23.3647 4.13904 23.2345 4.21618H23.2396L16.8705 7.92807L12.4284 1.06209C12.2765 0.826863 11.9626 0.759293 11.7273 0.911293C11.6669 0.950275 11.6155 1.00174 11.5765 1.06209L7.13441 7.92807L0.765367 4.21618C0.524373 4.0735 0.213337 4.15324 0.0707186 4.39423C-0.00635897 4.52449 -0.0212547 4.68232 0.0300881 4.82469L5.00463 18.8305C5.0755 19.0332 5.26648 19.1693 5.4813 19.1702H18.5236C18.7384 19.1694 18.9294 19.0332 19.0003 18.8305L23.9698 4.82469C24.0648 4.56119 23.9284 4.27057 23.6649 4.17555ZM18.1687 18.156H5.83626L4.90322 15.585H19.1017L18.1687 18.156ZM19.4364 14.5709H4.56854L1.44994 5.78809L7.02792 9.04867C7.2615 9.18413 7.56024 9.11275 7.70742 8.8864L11.9873 2.29425L16.2671 8.8864C16.4143 9.11275 16.713 9.18413 16.9466 9.04867L22.5246 5.78809L19.4364 14.5709Z"],["id","icon-standard","viewBox","0 0 24 24"],["d","M20.4853 3.51469C18.2188 1.24823 15.2053 0 12 0C8.79469 0 5.78123 1.24823 3.51469 3.51469C1.24823 5.78123 0 8.79469 0 12C0 15.2053 1.24823 18.2188 3.51469 20.4853C5.78123 22.7518 8.79469 24 12 24C15.2053 24 18.2188 22.7518 20.4853 20.4853C22.7518 18.2188 24 15.2053 24 12C24 8.79469 22.7518 5.78123 20.4853 3.51469ZM12 22.5938C6.15858 22.5938 1.40625 17.8414 1.40625 12C1.40625 6.15858 6.15858 1.40625 12 1.40625C17.8414 1.40625 22.5938 6.15858 22.5938 12C22.5938 17.8414 17.8414 22.5938 12 22.5938Z"],["d","M19.7 9.41215C19.6173 9.15762 19.3973 8.97209 19.1324 8.93361L14.6397 8.28078L12.6306 4.20973C12.5121 3.96973 12.2677 3.81781 12.0001 3.81781C11.7324 3.81781 11.488 3.96978 11.3695 4.20973L9.36038 8.28078L4.8677 8.93361C4.60285 8.97209 4.38282 9.15762 4.3
10013 9.41215C4.2174 9.66669 4.2864 9.94611 4.47802 10.1329L7.72895 13.3018L6.96151 17.7763C6.91627 18.0401 7.0247 18.3067 7.24121 18.464C7.45777 18.6213 7.74479 18.6421 7.9817 18.5175L12 16.405L16.0184 18.5175C16.1212 18.5716 16.2336 18.5983 16.3455 18.5983C16.4913 18.5983 16.6364 18.553 16.7589 18.464C16.9754 18.3067 17.0838 18.0401 17.0386 17.7763L16.2711 13.3018L19.522 10.1329C19.7137 9.94615 19.7827 9.66673 19.7 9.41215ZM15.0249 12.5528C14.8591 12.7144 14.7835 12.9471 14.8226 13.1752L15.4117 16.6098L12.3272 14.9883C12.2248 14.9344 12.1124 14.9075 12 14.9075C11.8876 14.9075 11.7752 14.9344 11.6728 14.9883L8.58831 16.6099L9.17738 13.1752C9.21648 12.9471 9.14087 12.7144 8.97516 12.5529L6.47973 10.1204L9.92832 9.61934C10.1573 9.58606 10.3553 9.4422 10.4577 9.23469L12 6.10967L13.5422 9.23464C13.6447 9.44215 13.8427 9.58601 14.0716 9.61929L17.5202 10.1204L15.0249 12.5528Z"],["id","icon-queen","viewBox","0 0 17 24"],["d","M14.9434 20.8302H1.35848C0.609516 20.8302 0 21.4397 0 22.1887V22.6415C0 23.3905 0.609516 24 1.35848 24H14.9434C15.6923 24 16.3019 23.3905 16.3019 22.6415V22.1887C16.3019 21.4397 15.6924 20.8302 14.9434 20.8302ZM15.3962 22.6415C15.3962 22.8911 15.1934 23.0943 14.9434 23.0943H1.35848C1.10897 23.0943 0.905672 22.891 0.905672 22.6415V22.1887C0.905672 21.9392 1.10902 21.7359 1.35848 21.7359H14.9434C15.1934 21.7359 15.3962 21.9393 15.3962 22.1887V22.6415H15.3962Z"],["d","M12.6793 19.0189H3.62264C2.87368 19.0189 2.26416 19.6284 2.26416 20.3774C2.26416 21.1264 2.87368 21.7359 3.62264 21.7359H12.6793C13.4282 21.7359 14.0378 21.1264 14.0378 20.3774C14.0378 19.6284 13.4282 19.0189 12.6793 19.0189ZM12.6793 20.8302H3.62264C3.37313 20.8302 3.16983 20.6269 3.16983 20.3774C3.16983 20.1279 3.37318 19.9246 3.62264 19.9246H12.6793C12.9293 19.9246 13.1321 20.1279 13.1321 20.3774C13.1321 20.6269 12.9292 20.8302 12.6793 20.8302Z"],["d","M12.6793 7.698H3.62264C2.87368 7.698 2.26416 8.30751 2.26416 9.05648C2.26416 9.80545 2.87368 10.415 3.62264 10.415H12.6793C13.4282 10.415 14.0378 9.80545 14.0378 9.05648C14.0378 8.30751 13.4282 7.698 12.6793 7.698ZM12.6793 9.50934H3.62264C3.37313 9.50934 3.16983 9.30599 3.16983 9.05653C3.16983 8.80701 3.37318 8.60371 3.62264 8.60371H12.6793C12.9293 8.60371 13.1321 8.80706 13.1321 9.05653C13.1321 9.30599 12.9292 9.50934 12.6793 9.50934Z"],["d","M10.8679 5.88684H5.43401C5.18403 5.88684 4.9812 6.08972 4.9812 6.33965V8.15095C4.9812 8.40094 5.18408 8.60376 5.43401 8.60376H10.8679C11.1179 8.60376 11.3208 8.40089 11.3208 8.15095V6.33965C11.3208 6.08972 11.1179 5.88684 10.8679 5.88684ZM10.4151 7.69814H5.88682V6.79247H10.4151V7.69814Z"],["d","M12.1413 13.426C11.9008 12.7848 11.7736 11.7184 11.7736 10.3418V9.96233C11.7736 9.71235 11.5708 9.50952 11.3208 9.50952H4.98116C4.73118 9.50952 4.52835 9.7124 4.52835 9.96233V10.3418C4.52835 11.7184 4.40156 12.7848 4.16109 13.426C3.80381 14.3788 3.62268 15.3709 3.62268 16.3753V19.4718C3.62268 19.7218 3.82556 19.9246 4.07549 19.9246H12.2264C12.4764 19.9246 12.6793 19.7217 12.6793 19.4718V16.3753C12.6793 15.3709 12.4986 14.3788 12.1413 13.426ZM11.7736 19.0189H4.52835L4.52882 16.3753C4.52882 15.4796 4.69091 14.5943 5.00971 13.7439C5.28684 13.004 5.42994 11.8842 5.43445 10.4152H10.8684C10.8725 11.8842 11.0156 13.004 11.2931 13.7439C11.6119 14.5943 11.7736 15.4796 11.7736 16.3753V19.0189H11.7736Z"],["d","M13.1321 0H11.3208C11.0708 0 10.8679 0.202875 10.8679 0.452812V1.8113H9.50946V0.452812C9.50946 0.202828 9.30659 0 9.05665 0H7.24531C6.99532 0 6.79249 0.202875 6.79249 0.452812V1.8113H5.43401V0.452812C5.43401 0.202828 5.23113 0 4.9812 0H3.16985C2.91987 0 2.71704 0.202875 2.71704 0.452812V4.07545C2.71704 4.19545 2.76457 4.31048 2.84974 4.39561L5.1139 6.65977C5.19856 6.74489 5.31406 6.79242 5.43406 6.79242H10.868C10.988 6.79242 11.103 6.74489 11.1882 6.65977L13.4523 4.39561C13.5374 4.31095 13.585 4.19545 13.585 4.07545V0.452812C13.5849 0.202875 13.382 0 13.1321 0ZM12.6788 3.888L10.68 5.8868H5.62142L3.62215 3.888V0.905672H4.52782V2.26416C4.52782 2.51414 4.7307 2.71697 4.98063 2.71697H7.24479C7.49478 2.71697 7.6976 2.51409 7.6976 2.26416V0.905672H8.60327V2.26416C8.60327 2.51414 8.80615 2.71697 9.05609 2.71697H11.3202C11.5702 2.71697 11.7731 2.51409 11.7731 2.26416V0.905672H12.6787V3.888H12.6788Z"],["id","icon-like","viewBox","0 0 456.814 456.814"],["d","M441.11 252.677c10.468-11.99 15.704-26.169 15.704-42.54 0-14.846-5.432-27.692-16.259-38.547-10.849-10.854-23.695-16.278-38.541-16.278h-79.082c.76-2.664 1.522-4.948 2.282-6.851.753-1.903 1.811-3.999 3.138-6.283 1.328-2.285 2.283-3.999 2.852-5.139 3.425-6.468 6.047-11.801 7.857-15.985 1.807-4.192 3.606-9.9 5.42-17.133 1.811-7.229 2.711-14.465 2.711-21.698 0-4.566-.055-8.281-.145-11.134-.089-2.855-.574-7.139-1.423-12.85-.862-5.708-2.006-10.467-3.43-14.272-1.43-3.806-3.716-8.092-6.851-12.847-3.142-4.764-6.947-8.613-11.424-11.565-4.476-2.95-10.184-5.424-17.131-7.421-6.954-1.999-14.801-2.998-23.562-2.998-4.948 0-9.227 1.809-12.847 5.426-3.806 3.806-7.047 8.564-9.709 14.272-2.666 5.711-4.523 10.66-5.571 14.849-1.047 4.187-2.238 9.994-3.565 17.415-1.719 7.998-2.998 13.752-3.86 17.273-.855 3.521-2.525 8.136-4.997 13.845-2.477 5.713-5.424 10.278-8.851 13.706-6.28 6.28-15.891 17.701-28.837 34.259-9.329 12.18-18.94 23.695-28.837 34.545-9.899 10.852-17.131 16.466-21.698 16.847-4.755.38-8.848 2.331-12.275 5.854-3.427 3.521-5.14 7.662-5.14 12.419v183.01c0 4.949 1.807 9.182 5.424 12.703 3.615 3.525 7.898 5.38 12.847 5.571 6.661.191 21.698 4.374 45.111 12.566 14.654 4.941 26.12 8.706 34.4 11.272 8.278 2.566 19.849 5.328 34.684 8.282 14.849 2.949 28.551 4.428 41.11 4.428h36.831c25.321-.38 44.061-7.806 56.247-22.268 11.036-13.135 15.697-30.361 13.99-51.679 7.422-7.042 12.565-15.984 15.416-26.836 3.231-11.604 3.231-22.74 0-33.397 8.754-11.611 12.847-24.649 12.272-39.115.024-6.097-1.4-13.328-4.261-21.706zM100.5 191.864H18.276c-4.952 0-9.235 1.809-12.851 5.426C1.809 200.905 0 205.188 0 210.137v182.732c0 4.942 1.809 9.227 5.426 12.847 3.619 3.611 7.902 5.421 12.851 5.421H100.5c4.948 0 9.229-1.81 12.847-5.421 3.616-3.62 5.424-7.904 5.424-12.847V210.137c0-4.949-1.809-9.231-5.424-12.847-3.617-3.618-7.898-5.426-12.847-5.426zM67.665 369.308c-3.616 3.521-7.898 5.281-12.847 5.281-5.14 0-9.471-1.76-12.99-5.281-3.521-3.521-5.281-7.85-5.281-12.99 0-4.948 1.759-9.232 5.281-12.847 3.52-3.617 7.85-5.428 12.99-5.428 4.949 0 9.231 1.811 12.847 5.428 3.617 3.614 5.426 7.898 5.426 12.847 0 5.14-1.805 9.468-5.426 12.99z"],["id","icon-dislike","viewBox","0 0 456.824 456.824"],["d","M100.5 45.683H18.276c-4.949 0-9.231 1.809-12.851 5.426C1.809 54.724 0 59.007 0 63.954v182.729c0 4.948 1.809 9.233 5.426 12.847 3.616 3.614 7.898 5.425 12.851 5.425H100.5c4.948 0 9.229-1.811 12.847-5.425 3.616-3.613 5.424-7.898 5.424-12.847V63.954c0-4.947-1.809-9.229-5.424-12.845-3.617-3.618-7.898-5.426-12.847-5.426zm-32.835 67.668c-3.616 3.617-7.898 5.424-12.847 5.424-5.14 0-9.471-1.807-12.99-5.424-3.521-3.617-5.281-7.898-5.281-12.85 0-5.137 1.759-9.469 5.281-12.991 3.52-3.521 7.85-5.28 12.99-5.28 4.949 0 9.231 1.759 12.847 5.28 3.621 3.521 5.426 7.854 5.426 12.991 0 4.948-1.809 9.229-5.426 12.85zM441.106 204.141c2.861-8.376 4.281-15.608 4.261-21.693.575-14.466-3.519-27.504-12.279-39.114 3.237-10.66 3.237-21.797 0-33.407-2.847-10.85-7.994-19.792-15.413-26.835 1.711-21.32-2.95-38.543-13.99-51.678-12.183-14.465-30.929-21.892-56.246-22.27H310.61c-12.56 0-26.269 1.475-41.114 4.425-14.838 2.952-26.405 5.713-34.68 8.282-8.28 2.568-19.75 6.328-34.403 11.276-23.413 8.183-38.45 12.371-45.111 12.56-4.949.193-9.231 2.046-12.847 5.569-3.617 3.518-5.426 7.755-5.426 12.703V246.97c0 4.757 1.718 8.898 5.142 12.416 3.424 3.524 7.517 5.476 12.275 5.858 4.565.384 11.799 5.996 21.698 16.844 9.9 10.849 19.511 22.368 28.836 34.551 12.944 16.553 22.558 27.973 28.837 34.256 3.424 3.422 6.37 7.99 8.848 13.702 2.472 5.708 4.142 10.324 5.
1004 13.846.855 3.519 2.135 9.274 3.856 17.275 1.328 7.419 2.519 13.227 3.569 17.412 1.047 4.188 2.898 9.137 5.564 14.845 2.67 5.716 5.903 10.469 9.712 14.274 3.614 3.62 7.898 5.431 12.847 5.431 8.761 0 16.604-.999 23.559-2.998 6.947-1.998 12.655-4.469 17.131-7.419 4.477-2.957 8.282-6.803 11.424-11.566 3.142-4.757 5.424-9.042 6.851-12.848 1.431-3.812 2.574-8.562 3.426-14.27.855-5.716 1.338-10 1.431-12.854.093-2.854.144-6.563.144-11.136 0-7.228-.948-14.51-2.851-21.84-1.909-7.323-3.72-12.895-5.428-16.707-1.711-3.806-4.281-9.227-7.706-16.269-.575-1.144-1.523-2.861-2.854-5.144-1.328-2.283-2.382-4.381-3.142-6.283-.763-1.902-1.522-4.186-2.279-6.852h79.086c14.843 0 27.645-5.428 38.397-16.279 10.756-10.848 16.228-23.694 16.419-38.54-.014-16.744-5.25-30.925-15.719-42.534z"],["id","icon-close","viewBox","0 0 16 16"],["d","M8.938 7.995l6.858 6.859a.666.666 0 11-.942.942L7.996 8.938l-6.859 6.858a.666.666 0 01-.942-.942l6.858-6.859L.195 1.137a.666.666 0 01.942-.942l6.859 6.858L14.854.195a.666.666 0 01.942.942L8.938 7.995z"],["id","icon-check-mark","viewBox","0 0 490.05 490.05"],["d","M418.275 418.275c95.7-95.7 95.7-250.8 0-346.5s-250.8-95.7-346.5 0-95.7 250.8 0 346.5 250.9 95.7 346.5 0zm-261.1-210.7l55.1 55.1 120.7-120.6 42.7 42.7-120.6 120.6-42.8 42.7-42.7-42.7-55.1-55.1 42.7-42.7z"],["id","icon-error-triangle","viewBox","0 0 483.537 483.537"],["d","M479.963 425.047L269.051 29.854a30.358 30.358 0 0 0-26.782-16.081h-.03a30.366 30.366 0 0 0-26.782 16.051L3.603 425.016c-5.046 9.485-4.773 20.854.699 29.974 5.502 9.15 15.413 14.774 26.083 14.774H453.12a30.371 30.371 0 0 0 26.083-14.774c5.502-9.15 5.776-20.519.76-29.943zm-237.724-16.082c-16.781 0-30.399-13.619-30.399-30.399s13.619-30.399 30.399-30.399c16.75 0 30.399 13.619 30.399 30.399s-13.618 30.399-30.399 30.399zm30.43-121.111c0 16.811-13.649 30.399-30.399 30.399-16.781 0-30.399-13.589-30.399-30.399V166.256c0-16.781 13.619-30.399 30.399-30.399 16.75 0 30.399 13.619 30.399 30.399v121.598z"],["id","icon-lock","viewBox","0 0 530.91 530.91"],["d","M73.762 530.91h383.381c19.076 0 34.541-15.465 34.541-34.541V216.611c0-19.076-15.465-34.542-34.541-34.542h-6.634C448.856 81.402 366.506 0 265.452 0 164.399 0 82.048 81.402 80.402 182.07h-6.634c-19.076 0-34.541 15.465-34.541 34.542v279.764c0 19.069 15.459 34.534 34.535 34.534zm225.246-172.59v83.85c0 16.896-13.702 30.6-30.6 30.6h-5.918c-16.897 0-30.6-13.703-30.6-30.6v-83.85c-17.962-11.219-29.958-31.107-29.958-53.85 0-35.074 28.434-63.514 63.513-63.514s63.513 28.434 63.513 63.514c.008 22.743-11.987 42.632-29.95 53.85zM265.452 73.44c60.551 0 109.891 48.464 111.537 108.63H153.915c1.647-60.159 50.986-108.63 111.537-108.63z"],["id","icon-hat","viewBox","0 0 512 512"],["d","M422.675 326.069c3.463-92.091 12.706-185.587 28.12-278.094.145-1.148.189-2.269.137-3.362C448.881 2.222 301.101.5 256 .5c-72.832 0-195 5.845-195 45 0 1.161.526 4.374.615 4.907 15.095 90.612 24.269 183.675 27.715 275.66C32.459 345.573 0 373.823 0 406.5c0 68.203 132.382 105 256 105s256-36.797 256-105c0-32.675-32.458-60.925-89.325-80.431zM391 403.984c-10.43 6.914-57.539 18.516-135 18.516s-124.57-11.602-135-18.516c-.015-9.326-.485-18.677-.621-28.011C160.115 390.901 229.131 392.5 256 392.5s95.885-1.599 135.621-16.527c-.136 9.335-.606 18.686-.621 28.011zM256 60.5c-79.028 0-130.972-8.027-154.072-15 23.101-6.973 75.044-15 154.072-15s130.972 8.027 154.072 15c-23.1 6.973-75.044 15-154.072 15z"],["id","icon-adult","viewBox","0 0 328.863 328.863"],["d","M104.032 220.434V131.15h-20.64v-22.88h49.121v112.164h-28.481zM239.552 137.23c0 9.76-5.28 18.4-14.08 23.201 12.319 5.119 20 15.84 20 28.32 0 20.16-17.921 32.961-45.921 32.961-28.001 0-45.921-12.641-45.921-32.48 0-12.801 8.32-23.682 21.28-28.801-9.44-5.281-15.52-14.24-15.52-24 0-17.922 15.681-29.281 40.001-29.281 24.64 0 40.161 11.68 40.161 30.08zm-59.042 49.122c0 9.441 6.721 14.721 19.041 14.721s19.2-5.119 19.2-14.721c0-9.279-6.88-14.561-19.2-14.561-12.321 0-19.041 5.281-19.041 14.561zm2.881-47.522c0 8.002 5.76 12.48 16.16 12.48s16.16-4.479 16.16-12.48c0-8.318-5.76-12.959-16.16-12.959-10.401 0-16.16 4.641-16.16 12.959z"],["d","M292.864 120.932c4.735 13.975 7.137 28.592 7.137 43.5 0 74.752-60.816 135.568-135.569 135.568s-135.57-60.816-135.57-135.568c0-74.754 60.816-135.568 135.569-135.568 14.91 0 29.527 2.4 43.5 7.137V5.832C193.817 1.963 179.24 0 164.432 0 73.765 0 .001 73.764.001 164.432s73.764 164.432 164.431 164.432 164.43-73.764 164.43-164.432c0-14.807-1.962-29.385-5.831-43.5h-30.167z"],["d","M284.659 44.111V12.582h-22.672v31.529h-31.34v22.67h31.34v31.528h22.672V66.781h31.527v-22.67z"],["id","icon-eye","viewBox","0 0 20 13"],["d","M10.0001 3.21875C8.22433 3.21875 6.78149 4.66159 6.78149 6.43739C6.78149 8.2132 8.22433 9.65604 10.0001 9.65604C11.7759 9.65604 13.2188 8.2132 13.2188 6.43739C13.2188 4.66159 11.7759 3.21875 10.0001 3.21875ZM9.75596 5.4829C9.35641 5.4829 9.02345 5.81586 9.02345 6.21542H7.95796C7.98016 5.21653 8.77927 4.41742 9.75596 4.41742V5.4829Z"],["d","M19.7669 5.77136C18.6792 4.41731 14.7947 0 10 0C5.20533 0 1.32075 4.41731 0.233074 5.77136C-0.0776914 6.14872 -0.0776914 6.70366 0.233074 7.10322C1.32075 8.45727 5.20533 12.8746 10 12.8746C14.7947 12.8746 18.6792 8.45727 19.7669 7.10322C20.0777 6.72586 20.0777 6.17092 19.7669 5.77136ZM10 11.0988C7.42508 11.0988 5.33851 9.01221 5.33851 6.43729C5.33851 3.86238 7.42508 1.7758 10 1.7758C12.5749 1.7758 14.6615 3.86238 14.6615 6.43729C14.6615 9.01221 12.5749 11.0988 10 11.0988Z"],["
1id","icon-menu_main","viewBox","0 0 21 20"],["d","M20.105 8.128l-9.294-6.942a.501.501 0 0 0-.602 0L.914 8.128a.526.526 0 0 0-.11.726.503.503 0 0 0 .712.112L10.51 2.25l8.993 6.716a.5.5 0 0 0 .712-.112.526.526 0 0 0-.11-.726z"],["d","M17.642 9.084a.515.515 0 0 0-.51.52v8.27h-4.075V13.36c0-1.433-1.143-2.599-2.547-2.599-1.405 0-2.548 1.166-2.548 2.599v4.515H3.887V9.603a.515.515 0 0 0-.51-.52.515.515 0 0 0-.51.52v8.792c0 .287.229.52.51.52h5.095a.513.513 0 0 0 .51-.52V13.36c0-.86.685-1.56 1.528-1.56s1.528.7 1.528 1.56v5.035l.002.04c.02.268.24.48.508.48h5.094c.282 0 .51-.233.51-.52V9.603a.515.515 0 0 0-.51-.52z"],["id","icon-menu_vacancy","viewBox","0 0 18 20","fill","none"],["clip-path","url(#clip0_504_539)"],["d","M13.6508 2.7998H16.1905C16.8889 2.7998 17.4604 3.35365 17.4604 4.03057V18.1844C17.4604 18.8613 16.8889 19.4152 16.1905 19.4152H1.58735C0.888933 19.4152 0.317505 18.8613 0.317505 18.1844V4.03057C0.317505 3.35365 0.888933 2.7998 1.58735 2.7998H4.12703","stroke","#323232","stroke-width","0.5"],["d","M7.61915 5.87695L5.07947 13.9077L6.66677 14.4616","stroke","#323232","stroke-width","0.5"],["d","M7.87311 4.55373C7.5874 4.55373 7.36517 4.33835 7.36517 4.0922L7.11121 2.92296C7.11121 2.67681 7.33343 2.46143 7.61914 2.46143H10.1588C10.4445 2.46143 10.6668 2.67681 10.6668 2.92296L10.4128 4.0922C10.4128 4.33835 10.1906 4.55373 9.90486 4.55373","stroke","#323232","stroke-width","0.5"],["d","M9.65083 5.47681C9.93655 5.47681 10.1588 5.69219 10.1588 5.93835L11.4286 16.923C11.4286 17.1691 8.88893 18.646 8.88893 18.646C8.88893 18.646 6.34924 17.1999 6.34924 16.923L7.61908 5.93835C7.61908 5.69219 7.84131 5.47681 8.12702 5.47681","stroke","#323232","stroke-width","0.5"],["fill-rule","evenodd","clip-rule","evenodd","d","M8.44445 5.87685C8.09525 5.87685 7.96826 5.69223 7.96826 5.47685V4.70762C7.96826 4.49223 8.09525 4.30762 8.44445 4.30762H9.36509C9.71429 4.30762 9.84128 4.49223 9.84128 4.70762V5.47685C9.84128 5.69223 9.71429 5.87685 9.36509 5.87685H8.44445Z","stroke","#323232","stroke-width","0.5"],["d","M12.0636 0.646071L10.7937 2.49223L12.6985 4.95376C13.1112 4.95376 13.6509 2.43069 13.6509 2.43069C13.6509 2.43069 12.6033 0.646071 12.1906 0.646071C12.1906 0.646071 10.7937 0.338379 8.88898 0.338379C6.98422 0.338379 5.58739 0.646071 5.58739 0.646071C5.17469 0.646071 4.12708 2.43069 4.12708 2.43069C4.12708 2.43069 4.66676 4.95376 5.07946 4.95376L7.30168 2.49223L5.71438 0.646071","stroke","#323232","stroke-width","0.5"],["id","clip0_504_539"],["width","17.7778","height","20","fill","white"],["id","icon-burger-menu","viewBox","0 0 20 20","fill","none"],["y1","16.4412","x2","20","y2","16.4412","stroke","black"],["y1","9.9707","x2","20","y2","9.9707","stroke","black"],["y1","3.5","x2","20","y2","3.5","stroke","black"],["id","icon-menu_news","viewBox","0 0 22 21","fill","none"],["fill-rule","evenodd","clip-rule","evenodd","d","M4.19703 1H18.1004C19.6617 1 21 2.64917 21 4.57319V11.5363C21 13.4604 19.6617 15.0179 18.1004 15.1095V19.0492C18.1004 19.4157 17.6543 19.9654 17.0595 19.1408L14.1599 15.1095H3.89963C2.33829 15.1095 1 13.4604 1 11.5363V4.57319C1 2.64917 2.56134 1 4.19703 1Z","stroke","#323232"],["id","icon-menu_handbook","viewBox","0 0 17 20"],["d","M2.552 5.848c-.072 0-.141.03-.192.085a.298.298 0 0 0-.08.204v.816h-.463c-.275 0-.538.116-.732.323a1.14 1.14 0 0 0-.304.78c0 .292.11.572.303.779.195.206.458.322.733.322h1.47c.274 0 .537-.116.732-.322a1.14 1.14 0 0 0 .303-.78c0-.292-.11-.572-.303-.78a1.005 1.005 0 0 0-.733-.322h-.463v-.816a.298.298 0 0 0-.08-.204.263.263 0 0 0-.191-.085zM3.78 8.055c0 .14-.052.273-.145.372a.48.48 0 0 1-.348.154h-1.47a.48.48 0 0 1-.35-.154.543.543 0 0 1-.144-.372c0-.14.052-.273.145-.372a.48.48 0 0 1 .349-.153h1.47a.48.48 0 0 1 .348.154.544.544 0 0 1 .145.371z"],["d","M15.58.6H3.346c-.283.001-.553.12-.753.333-.2.213-.312.501-.312.801v1.33h-.464c-.275 0-.538.116-.732.322a1.14 1.14 0 0 0-.304.78c0 .292.11.572.303.78.195.206.458.322.733.322h1.47c.274 0 .537-.116.732-.323a1.14 1.14 0 0 0 .303-.78c0-.292-.11-.572-.303-.779a1.005 1.005 0 0 0-.733-.322h-.463v-1.33c0-.147.055-.289.153-.393a.508.508 0 0 1 .37-.164H15.58c.138 0 .271.06.37.164a.576.5
176 0 0 1 .153.393v16.531c0 .148-.055.29-.154.394a.509.509 0 0 1-.37.164H3.347a.508.508 0 0 1-.37-.164.576.576 0 0 1-.153-.393v-1.33h.464c.274 0 .538-.116.732-.322a1.14 1.14 0 0 0 .303-.78c0-.292-.11-.572-.303-.78a1.005 1.005 0 0 0-.732-.322h-.464v-.84a.298.298 0 0 0-.08-.204.263.263 0 0 0-.191-.084c-.072 0-.141.03-.192.084a.298.298 0 0 0-.08.204v.84h-.463c-.275 0-.538.117-.732.323a1.14 1.14 0 0 0-.304.78c0 .292.11.572.303.779.195.207.458.323.733.323h.464v1.329c0 .3.112.588.312.801.2.212.47.332.753.332H15.58c.282 0 .553-.12.752-.332.2-.213.312-.5.313-.801V1.735c0-.301-.113-.59-.313-.802-.2-.212-.47-.332-.752-.332zM3.78 4.167c0 .139-.052.272-.145.37a.48.48 0 0 1-.348.155h-1.47a.479.479 0 0 1-.35-.154.543.543 0 0 1-.144-.372c0-.139.052-.273.145-.371a.479.479 0 0 1 .349-.154h1.47a.48.48 0 0 1 .348.154.544.544 0 0 1 .145.372zM1.323 15.834c0-.139.052-.272.145-.37a.48.48 0 0 1 .349-.155h1.47a.48.48 0 0 1 .348.154.543.543 0 0 1 .145.372c0 .139-.052.273-.145.371a.48.48 0 0 1-.349.154h-1.47a.48.48 0 0 1-.348-.154.544.544 0 0 1-.145-.372z"],["d","M1.817 13.047h1.47c.274 0 .537-.116.732-.323a1.14 1.14 0 0 0 .303-.78c0-.292-.11-.572-.303-.779a1.005 1.005 0 0 0-.733-.322h-.463V10a.298.298 0 0 0-.08-.204.263.263 0 0 0-.191-.084c-.072 0-.141.03-.192.084a.298.298 0 0 0-.08.204v.843h-.463c-.275 0-.538.116-.732.322a1.14 1.14 0 0 0-.304.78c0 .292.11.572.303.78.195.206.458.322.733.322zm0-1.628h1.47a.48.48 0 0 1 .348.154.543.543 0 0 1 .145.372c0 .14-.052.273-.145.371a.48.48 0 0 1-.349.154h-1.47a.48.48 0 0 1-.348-.154.543.543 0 0 1-.145-.371c0-.14.052-.273.145-.372a.48.48 0 0 1 .349-.154z"],["id","icon-menu_dosug","viewBox","0 0 25 22"],["d","M18.784 8.553H5.058c-.81 0-1.47.601-1.47 1.34v.892c0 3.186 1.932 6.076 5.042 7.54.24.113.536.028.66-.191s.031-.489-.21-.602c-2.782-1.31-4.512-3.896-4.512-6.747v-.893c0-.246.22-.446.49-.446h13.726c.27 0 .49.2.49.447v.892c0 2.851-1.729 5.436-4.512 6.746-.242.113-.335.383-.211.602a.522.522 0 0 0 .66.192c3.111-1.465 5.044-4.353 5.044-7.54v-.893c0-.738-.66-1.339-1.47-1.339z"],["d","M23.16 17.757a.494.494 0 0 0-.453-.276H1.137a.494.494 0 0 0-.452.276.417.417 0 0 0 .106.487l1.099 1.002c.649.59 1.51.915 2.426.915h15.21c.917 0 1.779-.325 2.429-.916l1.099-1.001a.417.417 0 0 0 .106-.487zm-1.9.857a2.563 2.563 0 0 1-1.733.654H4.317c-.655 0-1.271-.232-1.734-.654l-.263-.239h19.203l-.262.24zM23.228 10.661c-1.32-.773-3.43.066-3.666.164-.247.102-.356.367-.244.592.113.225.402.324.65.221.473-.195 1.989-.659 2.73-.224.334.196.498.575.498 1.157 0 1.788-3.959 2.868-5.487 3.134l-.348.063c-.265.047-.438.282-.386.524.046.212.251.36.48.36a.493.493 0 0 0 .096-.01l.344-.061c.257-.045 6.281-1.12 6.281-4.01 0-.898-.32-1.54-.948-1.91zM15.738 4.814c.797-.907.797-2.328 0-3.235a.522.522 0 0 0-.69-.07.42.42 0 0 0-.076.628c.505.574.505 1.545 0 2.12-.799.908-.799 2.328 0 3.236.096.11.239.167.383.167a.519.519 0 0 0 .306-.098.42.42 0 0 0 .076-.627c-.506-.575-.506-1.545.001-2.121zM12.793 4.814c.798-.907.798-2.328 0-3.235a.523.523 0 0 0-.69-.07.42.42 0 0 0-.076.628c.506.574.506 1.545 0 2.12-.798.908-.798 2.329 0 3.236a.52.52 0 0 0 .69.07.42.42 0 0 0 .075-.628c-.505-.574-.505-1.545 0-2.12zM9.856 4.815c.797-.907.797-2.328 0-3.235a.522.522 0 0 0-.69-.07.42.42 0 0 0-.076.627c.505.574.505 1.545-.001 2.12-.798.908-.798 2.329 0 3.236a.524.524 0 0 0 .69.07.42.42 0 0 0 .076-.627c-.506-.575-.506-1.545 0-2.121z"],["id","icon-menu_adv","viewBox","0 0 20 20"],["clip-path","url(#clip0_506_665)"],["d","M13.6107 13.8595C14.0251 14.1059 14.4548 14.2308 14.8877 14.2308C16.918 14.2308 18.5084 11.6816 18.5084 8.42703C18.5084 5.17245 16.918 2.62329 14.8877 2.62329C14.32 2.62329 13.7736 2.82968 13.2634 3.23606C12.0325 4.21879 11.267 6.2079 11.267 8.42735C11.267 10.8781 12.1871 13.0107 13.6107 13.8595ZM14.8877 3.26226C16.5317 3.26226 17.8694 5.57915 17.8694 8.42735C17.8694 11.2752 16.5317 13.5921 14.8877 13.5921C14.7829 13.5921 14.6778 13.5816 14.5723 13.5611C14.595 13.5455 14.6174 13.5266 14.6401 13.5103C14.6704 13.488 14.7005 13.465 14.7308 13.4416C14.7829 13.4004 14.8337 13.356 14.8842 13.3107C14.911 13.2857 14.9385 13.2621 14.965 13.2369C15.0228 13.181 15.0784 13.1215 15.1334 13.0599C15.1509 13.0404 15.1688 13.0231 15.1861 13.003C15.2573 12.9203 15.326 12.8334 15.3925 12.7417C15.4094 12.719 15.4247 12.6941 15.4404 12.6704C15.4896 12.5995 15.5385 12.527 15.5851 12.4512C15.6068 12.4151 15.6286 12.3778 15.65 12.3401C15.6889 12.2733 15.7273 12.2046 15.7637 12.1343C15.7854 12.0928 15.8065 12.0503 15.8273 12.0078C15.8624 11.9362 15.8963 11.8631 15.9292 11.7883C15.948 11.7455 15.9672 11.703 15.9854 11.6596C16.0202 11.5
1752 16.0528 11.4893 16.0848 11.4014C16.0982 11.365 16.1126 11.3292 16.1254 11.2922C16.1691 11.1669 16.2097 11.0391 16.2471 10.9078C16.2535 10.8858 16.2583 10.8618 16.2647 10.8398C16.295 10.7296 16.3234 10.6177 16.3493 10.5037C16.3599 10.457 16.3691 10.4088 16.379 10.3609C16.3985 10.2689 16.4164 10.1762 16.4324 10.082C16.4416 10.028 16.4503 9.97333 16.4583 9.91902C16.4723 9.82669 16.4848 9.73372 16.496 9.63979C16.5027 9.58484 16.5094 9.52989 16.5151 9.4743C16.525 9.37302 16.533 9.27015 16.5397 9.16696C16.5429 9.1184 16.5468 9.07047 16.5493 9.02159C16.5567 8.8692 16.5615 8.71585 16.5615 8.56026C16.5615 8.39157 16.5557 8.22544 16.5471 8.06058C16.5442 8.00723 16.5391 7.95484 16.5353 7.9018C16.5276 7.79062 16.518 7.6804 16.5062 7.57177C16.4995 7.51171 16.4918 7.45197 16.4838 7.39254C16.4707 7.29191 16.456 7.19255 16.4397 7.09383C16.4298 7.0344 16.4199 6.97562 16.4087 6.91715C16.3896 6.81811 16.3688 6.72067 16.3471 6.62419C16.3349 6.57115 16.3238 6.5178 16.3107 6.46572C16.2825 6.35262 16.2512 6.24304 16.2186 6.1341C16.2094 6.10183 16.2008 6.06828 16.1905 6.03634C16.1471 5.89736 16.0998 5.76222 16.0496 5.63091C16.0362 5.59545 16.0209 5.56222 16.0065 5.5274C15.9685 5.43251 15.9292 5.33858 15.8867 5.24817C15.8663 5.2028 15.8436 5.15935 15.8218 5.11494C15.7838 5.03795 15.7452 4.96223 15.7046 4.88875C15.68 4.84402 15.6551 4.80089 15.6295 4.75776C15.588 4.68748 15.5455 4.61974 15.502 4.55361C15.4758 4.51368 15.45 4.47374 15.4231 4.43572C15.3743 4.36639 15.3235 4.3009 15.2717 4.23604C15.2481 4.20633 15.2254 4.17534 15.2014 4.14659C15.1254 4.05649 15.0474 3.97119 14.9666 3.89228C14.9564 3.88174 14.9449 3.87311 14.9337 3.86321C14.8628 3.7958 14.7902 3.73222 14.7161 3.67375C14.6864 3.65075 14.6561 3.63062 14.6267 3.6089C14.5688 3.56705 14.5113 3.52711 14.4519 3.49069C14.4177 3.4696 14.3826 3.45075 14.3477 3.43158C14.3184 3.41529 14.2893 3.39612 14.2596 3.38143C14.4663 3.30283 14.6765 3.26226 14.8877 3.26226ZM13.5564 3.82455C13.581 3.8287 13.6053 3.83158 13.6296 3.83701C13.6688 3.84532 13.7078 3.8549 13.7468 3.86672C13.7896 3.87982 13.8321 3.89516 13.874 3.91209C13.912 3.92742 13.9497 3.9434 13.9871 3.96193C14.0286 3.98237 14.0698 4.00538 14.1107 4.02966C14.1474 4.05138 14.1839 4.07343 14.2196 4.09803C14.2596 4.1255 14.2992 4.15585 14.3385 4.18684C14.3733 4.21464 14.4085 4.24243 14.4426 4.2731C14.481 4.30697 14.518 4.34403 14.5554 4.38141C14.5886 4.41496 14.6225 4.44818 14.6551 4.4846C14.6912 4.52486 14.7263 4.56799 14.7615 4.61144C14.7931 4.65042 14.8247 4.68907 14.8551 4.73061C14.889 4.77693 14.9215 4.82581 14.9544 4.87469C14.9842 4.91878 15.0136 4.96191 15.0417 5.00824C15.0733 5.05999 15.1033 5.11462 15.1334 5.16862C15.1602 5.21718 15.1877 5.26478 15.2136 5.31526C15.2426 5.37213 15.2698 5.43219 15.2976 5.49162C15.3219 5.54401 15.3468 5.59545 15.3701 5.64976C15.3966 5.71174 15.4206 5.7766 15.4452 5.84113C15.4666 5.89704 15.4893 5.95199 15.5091 6.0095C15.5324 6.07627 15.5535 6.14592 15.5752 6.21493C15.5937 6.27371 15.6132 6.33154 15.6302 6.39192C15.6506 6.4638 15.6682 6.53856 15.6867 6.61236C15.702 6.67307 15.7183 6.73249 15.7324 6.79415C15.7496 6.87211 15.764 6.95261 15.779 7.03217C15.7905 7.09287 15.8036 7.15261 15.8135 7.21459C15.8276 7.29989 15.8381 7.38743 15.8496 7.47465C15.857 7.53376 15.8669 7.59158 15.873 7.65133C15.8838 7.74973 15.8909 7.85036 15.8979 7.95068C15.9017 8.00116 15.9071 8.05036 15.91 8.10116C15.9183 8.25323 15.9228 8.40722 15.9228 8.56249C15.9228 8.70722 15.919 8.85035 15.9119 8.9922C15.9097 9.03852 15.9052 9.08357 15.902 9.12926C15.8953 9.22414 15.8899 9.31935 15.8806 9.41264C15.8752 9.46727 15.8672 9.52062 15.8605 9.57462C15.8509 9.65736 15.8413 9.74043 15.8289 9.82126C15.8202 9.87877 15.8091 9.93404 15.7992 9.9909C15.7857 10.0669 15.7733 10.1433 15.7583 10.2174C15.7464 10.2743 15.7327 10.3299 15.7199 10.3851C15.7033 10.4567 15.6873 10.5286 15.6695 10.5979C15.6551 10.6538 15.6385 10.7075 15.6228 10.7618C15.603 10.8292 15.5842 10.8973 15.5627 10.9628C15.5455 11.0161 15.5266 11.0676 15.5084 11.1196C15.4864 11.1826 15.4643 11.2462 15.4404 11.3081C15.4206 11.3586 15.3995 11.4078 15.3787 11.4573C15.3538 11.5168 15.3295 11.5759 15.303 11.6327C15.281 11.6807 15.257 11.727 15.234 11.773C15.2068 11.8276 15.1794 11.8822 15.1506 11.9343C15.126 11.9791 15.1005 12.0212 15.0755 12.0647C15.0455 12.1148 15.0155 12.1647 14.9851 12.2123C14.9586 12.2528 14.9311 12.2915 14.904 12.3302C14.8717 12.3759 14.8398 12.4206 14.8062 12.4631C14.7778 12.4998 14.7484 12.5346 14.7196 12.5691C14.6858 12.6091 14.6516 12.6484 14.6164 12.6858C14.5861 12.7183 14.5551 12.7487 14.5238 12.7787C14.488 12.8132 14.4519 12.8468 14.4155 12.8784C14.3832 12.9059 14.3506 12.9321 14.3174 12.9573C14.28 12.9857 14.2423 13.0132 14.204 13.0385C14.1704 13.0608 14.1359 13.0822 14.1014 13.102C14.0628 13.1244 14.0235 13.1455 13.9842 13.1643C13.9487 13.1819 13.9126 13.1976 13.8768 13.2119C13.857 13.2196 13.8369 13.2257 13.8171 13.2327C12.6692 12.4532 11.9066 10.5497 11.9066 8.42703C11.9059 6.49511 12.55 4.71016 13.5564 3.82455Z","fill","black"],["d","M5.02677 12.4865C5.07022 12.5408 5.12996 12.5801 5.19769 12.597C7.46666 13.1772 11.0529 14.2618 13.018 14.8657C13.6643 15.2752 14.3493 15.4826 15.0544 15.4826C17.7815 15.4826 19.9997 12.367 19.9997 8.53638C19.9997 4.70609 17.7815 1.58984 15.0544 1.58984C14.4244 1.58984 13.8068 1.75693 13.218 2.08728L5.19162 4.31216C5.13954 4.32654 5.09226 4.35402 5.0536 4.39172C1.45398 7.907 4.99035 12.4411 5.02677 12.4865ZM5.4421 4.90545L13.426 2.69206C13.4519 2.68503 13.4762 2.67449 13.4992 2.66139C14.0007 2.37418 14.5237 2.22849 15.0534 2.22849C17.4282 2.22849 19.3598 5.05816 19.3598 8.53606C19.3598 12.014 17.4278 14.8433 15.0534 14.8433C14.4598 14.8433 13.8787 14.6625 13.3263 14.3047C13.3014 14.2887 13.2746 14.2762 13.2464 14.2673C11.3158 13.674 7.76474 12.5993 5.46254 12.0053C5.01335 11.3993 2.56067 7.79837 5.4421 4.90545Z","fill","black"],["d","M3.7501 11.8319C3.86512 11.8319 3.97151 11.7697 4.02838 11.6693C4.08492 11.5693 4.08333 11.4463 4.0239 11.3473C1.72394 7.52786 3.88429 5.25889 3.97662 5.16496C4.07438 5.06656 4.0977 4.91672 4.03445 4.7934C3.97087 4.67008 3.83381 4.60171 3.69867 4.62408C3.65809 4.63079 3.58845 4.63111 3.49675 4.63366C2.93414 4.65059 1.61691 4.68957 0.765169 5.60393C0.216935 6.1921 -0.0389718 7.03235 0.00479742 8.10102C0.155274 11.7891 3.71432 11.8319 3.7501 11.8319ZM1.23289 6.03939C1.75429 5.47997 2.53 5.33621 3.09516 5.29276C2.51402 6.23843 1.70669 8.2975 3.16801 11.1256C2.29198 10.9511 0.734818 10.3243 0.643126 8.07514C0.606705 7.18314 0.805424 6.49817 1.23289 6.03939Z","fill","black"],["d","M6.36801 13.4404C6.33191 13.3695 6.27057 13.3142 6.19581 13.2864L2.5406 11.9085C2.41536 11.8612 2.27287 11.8973 2.18533 11.9995C2.09811 12.1017 2.08374 12.2478 2.15019 12.3647L4.99871 17.3966C5.01596 17.4272 5.03832 17.4547 5.06452 17.4783C5.76067 18.0972 6.38718 18.4106 6.92647 18.4106C7.74531 18.4106 8.15105 17.6985 8.25137 17.3212C8.2715 17.2454 8.26319 17.1646 8.22741 17.0946L6.36801 13.4404ZM6.92615 17.7713C6.6712 17.7713 6.22297 17.6429 5.52841 17.0349L3.14059 12.8177L5.85492 13.8404L7.59547 17.2617C7.52039 17.4378 7.32487 17.7713 6.92615 17.7713Z","fill","black"],["id","clip0_506_665"],["width","20","height","20","fill","white"],["id","icon-menu_weather","viewBox","0 0 22 22"],["d","M10.882 17.188c-3.144 0-5.702-2.776-5.702-6.188s2.558-6.188 5.702-6.188c3.145 0 5.703 2.776 5.703 6.188s-2.558 6.188-5.703 6.188zm0-11c-2.445 0-4.435 2.158-4.435 4.812 0 2.654 1.99 4.813 4.435 4.813 2.446 0 4.435-2.16 4.435-4.813 0-2.654-1.99-4.813-4.435-4.813zM10.882 3.438c-.35 0-.633-.308-.633-.688V.687c0-.38.283-.687.
1633-.687.35 0 .634.308.634.688V2.75c0 .38-.284.688-.634.688zM10.882 22c-.35 0-.633-.308-.633-.688V19.25c0-.38.283-.688.633-.688.35 0 .634.308.634.688v2.063c0 .38-.284.687-.634.687zM20.386 11.688h-1.9c-.35 0-.634-.308-.634-.688 0-.38.283-.688.633-.688h1.901c.35 0 .634.308.634.688 0 .38-.284.688-.634.688zM3.28 11.688H1.378c-.35 0-.634-.308-.634-.688 0-.38.284-.688.634-.688h1.9c.35 0 .634.308.634.688 0 .38-.284.688-.634.688zM16.259 5.854c-.56 0-.849-.74-.448-1.174l1.344-1.458a.599.599 0 0 1 .896 0 .73.73 0 0 1 0 .972l-1.344 1.458a.607.607 0 0 1-.448.202zM4.162 18.98c-.56 0-.848-.74-.448-1.174l1.344-1.458a.599.599 0 0 1 .896 0 .73.73 0 0 1 0 .972L4.61 18.778a.607.607 0 0 1-.448.202zM17.602 18.98a.607.607 0 0 1-.448-.202L15.81 17.32a.73.73 0 0 1 0-.972.599.599 0 0 1 .896 0l1.345 1.458c.4.434.11 1.174-.448 1.174zM5.506 5.854a.607.607 0 0 1-.448-.201L3.714 4.194a.73.73 0 0 1 0-.972.599.599 0 0 1 .896 0L5.954 4.68c.4.435.112 1.174-.448 1.174z"],["id","icon-menu_photo","viewBox","0 0 22 22"],["d","M18.22 5.042h-2.534a.426.426 0 0 1-.401-.314l-.267-.869c-.288-.938-1.093-1.567-2.004-1.567h-3.95c-.91 0-1.716.63-2.003 1.566l-.267.87a.428.428 0 0 1-.401.314H3.859C2.229 5.042.902 6.48.902 8.25v8.25c0 1.77 1.326 3.208 2.957 3.208h14.36c1.631 0 2.957-1.439 2.957-3.208V8.25c0-1.77-1.326-3.208-2.956-3.208zM20.332 16.5c0 1.263-.948 2.292-2.112 2.292H3.859c-1.164 0-2.112-1.029-2.112-2.292V8.25c0-1.263.948-2.292 2.112-2.292h2.534c.546 0 1.029-.377 1.202-.94l.268-.87c.172-.562.655-.94 1.201-.94h3.95c.546 0 1.03.378 1.202.94l.267.87c.173.563.657.94 1.202.94h2.535c1.164 0 2.112 1.029 2.112 2.292v8.25z"],["d","M11.04 6.875c-2.796 0-5.07 2.467-5.07 5.5s2.274 5.5 5.07 5.5c2.795 0 5.068-2.467 5.068-5.5s-2.273-5.5-5.069-5.5zm0 10.083c-2.33 0-4.225-2.056-4.225-4.583S8.71 7.792 11.04 7.792c2.33 0 4.224 2.056 4.224 4.583s-1.895 4.583-4.224 4.583z"],["d","M11.04 8.708c-1.864 0-3.38 1.645-3.38 3.667 0 .253.19.458.423.458.233 0 .422-.205.422-.458 0-1.516 1.137-2.75 2.534-2.75.233 0 .423-.205.423-.458s-.19-.459-.423-.459z"],["id","icon-menu_afisha","viewBox","0 0 19 19"],["d","M9.5 0c-.453 0-.836.291-.976.741l-1.756 5.65a.062.062 0 0 1-.058.045H1.028c-.453 0-.836.291-.976.742-.14.45.007.921.373 1.2l4.597 3.492c.021.016.03.045.022.071l-1.756 5.65c-.14.45.007.922.373 1.2a.976.976 0 0 0 1.206 0L9.464 15.3a.06.06 0 0 1 .072 0l4.597 3.492c.183.14.393.209.603.209.21 0 .42-.07.603-.209.366-.278.513-.75.373-1.2l-1.756-5.65a.066.066 0 0 1 .022-.072l4.597-3.492c.366-.278.513-.749.373-1.2-.14-.45-.523-.74-.976-.74H12.29a.062.062 0 0 1-.058-.045L10.476.742C10.336.29 9.953 0 9.5 0zm1.814 6.704c.138.443.53.741.976.741h5.682c.016 0 .044 0 .058.044.014.045-.009.062-.022.072l-4.597 3.492c-.36.274-.51.756-.373 1.2l1.756 5.65c.005.017.014.045-.022.072-.037.027-.059.01-.072 0l-4.597-3.492a.995.995 0 0 0-.603-.206.995.995 0 0 0-.603.206L4.3 17.975c-.013.01-.036.028-.072 0-.036-.027-.027-.055-.022-.072l1.755-5.65a1.098 1.098 0 0 0-.372-1.2L.992 7.561C.98 7.551.956 7.534.97 7.49c.014-.044.042-.044.058-.044H6.71c.446 0 .838-.298.976-.741l1.755-5.65c.006-.017.014-.045.059-.045.044 0 .053.028.058.044l1.756 5.65z"],["id","icon-menu_estate","viewBox","0 0 20 20"],["d","M4.97616 4.49717C4.90389 4.49717 4.83358 4.46787 4.7828 4.41709C4.73163 4.36592 4.70233 4.29561 4.70233 4.22373C4.70233 4.20576 4.70428 4.18779 4.7078 4.17022C4.71132 4.15264 4.71678 4.13545 4.72343 4.11904C4.73046 4.10264 4.73866 4.08662 4.74882 4.07178C4.75858 4.05693 4.76991 4.04287 4.7828 4.03037C4.7953 4.01787 4.80936 4.00615 4.82421 3.99639C4.83905 3.98662 4.85507 3.97803 4.87147 3.971C4.88788 3.96436 4.90507 3.95928 4.92264 3.95576C4.9578 3.94834 4.99413 3.94834 5.02928 3.95576C5.04686 3.95928 5.06405 3.96436 5.08046 3.971C5.09686 3.97803 5.11288 3.98662 5.12772 3.99639C5.14257 4.00615 5.15663 4.01787 5.16913 4.03037C5.18202 4.04287 5.19335 4.05693 5.20311 4.07178C5.21327 4.08662 5.22147 4.10264 5.2285 4.11904C5.23514 4.13545 5.24061 4.15264 5.24413 4.17022C5.24764 4.18779 5.24921 4.20576 5.24921 4.22373C5.24921 4.29561 5.2203 4.36592 5.16913 4.41709C5.15663 4.42959 5.14257 4.44092 5.12772 4.45107C5.11288 4.46084 5.09686 4.46943 5.08046 4.47607C5.06405 4.48311 5.04686 4.48818 5.02928 4.4917C5.01171 4.49521 4.99374 4.49717 4.97616 4.49717Z","fill","#323232"],["d","M17.3957 19.4727H9.09491C8.94374 19.4727 8.82147 19.3504 8.82147 19.1993V6.9895H4.97577C4.8246 6.9895 4.70233 6.86724 4.70233 6.71606V5.46216C4.70233 5.31099 4.8246 5.18872 4.97577 5.18872C5.12694 5.18872 5.24921 5.31099 5.24921 5.46216V6.44263H9.09491C9.24608 6.44263 9.36835 6.56489 9.36835 6.71606V18.9258H17.1219V15.704C17.1219 15.5528 17.2441 15.4305 17.3953 15.4305C17.5465 15.4305 17.6687 15.5528 17.6687 15.704V19.1993C17.6691 19.3504 17.5465 19.4727 17.3957 19.4727Z","fill","#323232"],["d","M17.3957 15.1164C17.3777 15.1164 17.3598 15.1145 17.3422 15.1109C17.3246 15.1074 17.3074 15.1023 17.291 15.0953C17.2746 15.0887 17.2586 15.0801 17.2437 15.0703C17.2289 15.0602 17.2148 15.0488 17.2023 15.0363C17.1894 15.0238 17.1781 15.0098 17.1683 14.9945C17.1582 14.9797 17.15 14.9641 17.143 14.9477C17.1363 14.9309 17.1308 14.9137 17.1273 14.8965C17.1238 14.8789 17.1223 14.8609 17.1223 14.843C17.1223 14.825 17.1238 14.807 17.1273 14.7895C17.1308 14.7719 17.1363 14.7547 17.143 14.7383C17.15 14.7219 17.1582 14.7059 17.1683 14.691C17.1781 14.6762 17.1894 14.6621 17.2023 14.649
16C17.2148 14.6367 17.2289 14.6254 17.2437 14.6156C17.2586 14.6059 17.2746 14.5973 17.291 14.5902C17.3074 14.5836 17.3246 14.5781 17.3422 14.5746C17.3773 14.5676 17.4137 14.5676 17.4488 14.5746C17.4664 14.5781 17.4836 14.5836 17.5 14.5902C17.5164 14.5973 17.5324 14.6059 17.5473 14.6156C17.5621 14.6254 17.5762 14.6367 17.5887 14.6496C17.6016 14.6621 17.6129 14.6762 17.6226 14.691C17.6328 14.7059 17.641 14.7219 17.648 14.7383C17.6547 14.7547 17.6601 14.7719 17.6637 14.7895C17.6672 14.807 17.6687 14.825 17.6687 14.843C17.6687 14.8609 17.6672 14.8789 17.6637 14.8965C17.6601 14.9137 17.6547 14.9309 17.648 14.9477C17.641 14.9641 17.6328 14.9797 17.6226 14.9945C17.6129 15.0098 17.6016 15.0238 17.5887 15.0363C17.5762 15.0488 17.5621 15.0602 17.5473 15.0703C17.5324 15.0801 17.5164 15.0887 17.5 15.0953C17.4836 15.1023 17.4664 15.1074 17.4488 15.1109C17.4312 15.1145 17.4133 15.1164 17.3957 15.1164Z","fill","#323232"],["d","M17.3957 14.0691C17.2445 14.0691 17.1223 13.9469 17.1223 13.7957V1.07422H5.24921V3.37031C5.24921 3.52148 5.12694 3.64375 4.97577 3.64375C4.8246 3.64375 4.70233 3.52148 4.70233 3.37031V0.800781C4.70233 0.649609 4.8246 0.527344 4.97577 0.527344H17.3953C17.5465 0.527344 17.6687 0.649609 17.6687 0.800781V13.7957C17.6691 13.9469 17.5465 14.0691 17.3957 14.0691Z","fill","#323232"],["d","M5.15666 10.2789H3.99963C3.84846 10.2789 3.7262 10.1566 3.7262 10.0054V8.84839C3.7262 8.69722 3.84846 8.57495 3.99963 8.57495H5.15666C5.30784 8.57495 5.4301 8.69722 5.4301 8.84839V10.0054C5.4301 10.1566 5.30784 10.2789 5.15666 10.2789ZM4.27307 9.73198H4.88323V9.12183H4.27307V9.73198Z","fill","#323232"],["d","M7.7 10.2789H6.54297C6.3918 10.2789 6.26953 10.1566 6.26953 10.0054V8.84839C6.26953 8.69722 6.3918 8.57495 6.54297 8.57495H7.7C7.85117 8.57495 7.97344 8.69722 7.97344 8.84839V10.0054C7.97344 10.1566 7.85078 10.2789 7.7 10.2789ZM6.81641 9.73198H7.42656V9.12183H6.81641V9.73198Z","fill","#323232"],["d","M5.15666 12.6329H3.99963C3.84846 12.6329 3.7262 12.5106 3.7262 12.3594V11.2024C3.7262 11.0512 3.84846 10.929 3.99963 10.929H5.15666C5.30784 10.929 5.4301 11.0512 5.4301 11.2024V12.3594C5.4301 12.5102 5.30784 
112.6329 5.15666 12.6329ZM4.27307 12.086H4.88323V11.4758H4.27307V12.086Z","fill","#323232"],["d","M7.7 12.6329H6.54297C6.3918 12.6329 6.26953 12.5106 6.26953 12.3594V11.2024C6.26953 11.0512 6.3918 10.929 6.54297 10.929H7.7C7.85117 10.929 7.97344 11.0512 7.97344 11.2024V12.3594C7.97344 12.5102 7.85078 12.6329 7.7 12.6329ZM6.81641 12.086H7.42656V11.4758H6.81641V12.086Z","fill","#323232"],["d","M5.15666 14.9864H3.99963C3.84846 14.9864 3.7262 14.8641 3.7262 14.7129V13.5559C3.7262 13.4047 3.84846 13.2825 3.99963 13.2825H5.15666C5.30784 13.2825 5.4301 13.4047 5.4301 13.5559V14.7129C5.4301 14.8641 5.30784 14.9864 5.15666 14.9864ZM4.27307 14.4395H4.88323V13.8293H4.27307V14.4395Z","fill","#323232"],["d","M7.7 14.9864H6.54297C6.3918 14.9864 6.26953 14.8641 6.26953 14.7129V13.5559C6.26953 13.4047 6.3918 13.2825 6.54297 13.2825H7.7C7.85117 13.2825 7.97344 13.4047 7.97344 13.5559V14.7129C7.97344 14.8641 7.85078 14.9864 7.7 14.9864ZM6.81641 14.4395H7.42656V13.8293H6.81641V14.4395Z","fill","#323232"],["d","M5.15666 17.3401H3.99963C3.84846 17.3401 3.7262 17.2179 3.7262 17.0667V15.9097C3.7262 15.7585 3.84846 15.6362 3.99963 15.6362H5.15666C5.30784 15.6362 5.4301 15.7585 5.4301 15.9097V17.0667C5.4301 17.2175 5.30784 17.3401 5.15666 17.3401ZM4.27307 16.7933H4.88323V16.1831H4.27307V16.7933Z","fill","#323232"],["d","M7.7 17.3401H6.54297C6.3918 17.3401 6.26953 17.2179 6.26953 17.0667V15.9097C6.26953 15.7585 6.3918 15.6362 6.54297 15.6362H7.7C7.85117 15.6362 7.97344 15.7585 7.97344 15.9097V17.0667C7.97344 17.2175 7.85078 17.3401 7.7 17.3401ZM6.81641 16.7933H7.42656V16.1831H6.81641V16.7933Z","fill","#323232"],["d","M12.0356 12.8164H10.9184C10.7672 12.8164 10.645 12.6941 10.645 12.543V11.4258C10.645 11.2746 10.7672 11.1523 10.9184 11.1523H12.0356C12.1868 11.1523 12.309 11.2746 12.309 11.4258V12.543C12.309 12.6941 12.1864 12.8164 12.0356 12.8164ZM11.1918 12.2695H11.7621V11.6992H11.1918V12.2695Z","fill","#323232"],["d","M12.0356 15.3828H10.9184C10.7672 15.3828 10.645 15.2605 10.645 15.1094V13.9922C10.645 13.841 10.7672 13.7188 10.9184 13.7188H12.0356C12.1868 13.7188 12.309 13.841 12.309 13.9922V15.1094C12.309 15.2605 12.1864 15.3828 12.0356 15.3828ZM11.1918 14.8359H11.7621V14.2656H11.1918V14.8359Z","fill","#323232"],["d","M12.0356 17.9492H10.9184C10.7672 17.9492 10.645 17.827 10.645 17.6758V16.5586C10.645 16.4074 10.7672 16.2852 10.9184 16.2852H12.0356C12.1868 16.2852 12.309 16.4074 12.309 16.5586V17.6758C12.309 17.8266 12.1864 17.9492 12.0356 17.9492ZM11.1918 17.4023H11.7621V16.832H11.1918V17.4023Z","fill","#323232"],["d","M7.72853 3.32783H6.57501C6.42384 3.32783 6.30157 3.20557 6.30157 3.05439V1.90088C6.30157 1.74971 6.42384 1.62744 6.57501 1.62744H7.72853C7.8797 1.62744 8.00197 1.74971 8.00197 1.90088V3.05439C8.00197 3.20557 7.8797 3.32783 7.72853 3.32783ZM6.84845 2.78096H7.45509V2.17432H6.84845V2.78096Z","fill","#323232"],["d","M10.4735 3.32783H9.31995C9.16877 3.32783 9.04651 3.20557 9.04651 3.05439V1.90088C9.04651 1.74971 9.16877 1.62744 9.31995 1.62744H10.4735C10.6246 1.62744 10.7469 1.74971 10.7469 1.90088V3.05439C10.7469 3.20557 10.6246 3.32783 10.4735 3.32783ZM9.59338 2.78096H10.2V2.17432H9.59338V2.78096Z","fill","#323232"],["d","M13.218 3.32783H12.0645C11.9133 3.32783 11.791 3.20557 11.791 3.05439V1.90088C11.791 1.74971 11.9133 1.62744 12.0645 1.62744H13.218C13.3691 1.62744 13.4914 1.74971 13.4914 1.90088V3.05439C13.4914 3.20557 13.3691 3.32783 13.218 3.32783ZM12.3379 2.78096H12.9445V2.17432H12.3379V2.78096Z","fill","#323232"],["d","M16.1437 3.32783H14.9902C14.8391 3.32783 14.7168 3.20557 14.7168 3.05439V1.90088C14.7168 1.74971 14.8391 1.62744 14.9902 1.62744H16.1437C16.2949 1.62744 16.4172 1.74971 16.4172 1.90088V3.05439C16.4172 3.20557 16.2945 3.32783 16.1437 3.32783ZM15.2637 2.78096H15.8703V2.17432H15.2637V2.78096Z","fill","#323232"],["d","M7.72853 5.73555H6.57501C6.42384 5.73555 6.30157 5.61328 6.30157 5.46211V4.30859C6.30157 4.15742 6.42384 4.03516 6.57501 4.03516H7.72853C7.8797 4.03516 8.00197 4.15742 8.00197 4.30859V5.46211C8.00197 5.61328 7.8797 5.73555 7.72853 5.73555ZM6.84845 5.18867H7.45509V4.58203H6.84845V5.18867Z","fill","#323232"],["d","M10.4735 5.73555H9.31995C9.16877 5.73555 9.04651 5.61328 9.04651 5.46211V4.30859C9.04651 4.15742 9.16877 4.03516 9.31995 4.03516H10.4735C10.6246 4.03516 10.7469 4.15742 10.7469 4.30859V5.46211C10.7469 5.61328 10.6246 5.73555 10.4735 5.73555ZM9.59338 5.18867H10.2V4.58203H9.59338V5.18867Z","fill","#323232"],["d","M13.218 5.73555H12.0645C11.9133 5.73555 11.791 5.61328 11.791 5.46211V4.30859C11.791 4.15742 11.9133 4.03516 12.0645 4.03516H13.218C13.3691 4.03516 13.4914 4.15742 13.4914 4.30859V5.46211C13.4914 5.61328 13.3691 5.73555 13.218 5.73555ZM12.3379 5.18867H12.9445V4.58203H12.3379V5.188
167Z","fill","#323232"],["d","M16.1437 5.73555H14.9902C14.8391 5.73555 14.7168 5.61328 14.7168 5.46211V4.30859C14.7168 4.15742 14.8391 4.03516 14.9902 4.03516H16.1437C16.2949 4.03516 16.4172 4.15742 16.4172 4.30859V5.46211C16.4172 5.61328 16.2945 5.73555 16.1437 5.73555ZM15.2637 5.18867H15.8703V4.58203H15.2637V5.18867Z","fill","#323232"],["d","M10.473 8.14341H10.0457C9.89453 8.14341 9.77227 8.02114 9.77227 7.86997C9.77227 7.7188 9.89453 7.59653 10.0457 7.59653H10.1996V6.9895H10.0156C9.86445 6.9895 9.74219 6.86724 9.74219 6.71606C9.74219 6.56489 9.86445 6.44263 10.0156 6.44263H10.473C10.6242 6.44263 10.7465 6.56489 10.7465 6.71606V7.86997C10.7465 8.02114 10.6242 8.14341 10.473 8.14341Z","fill","#323232"],["d","M13.218 8.14326H12.0645C11.9133 8.14326 11.791 8.021 11.791 7.86982V6.71631C11.791 6.56514 11.9133 6.44287 12.0645 6.44287H13.218C13.3691 6.44287 13.4914 6.56514 13.4914 6.71631V7.86982C13.4914 8.02061 13.3691 8.14326 13.218 8.14326ZM12.3379 7.59639H12.9445V6.98975H12.3379V7.59639Z","fill","#323232"],["d","M16.1437 8.14326H14.9902C14.8391 8.14326 14.7168 8.021 14.7168 7.86982V6.71631C14.7168 6.56514 14.8391 6.44287 14.9902 6.44287H16.1437C16.2949 6.44287 16.4172 6.56514 16.4172 6.71631V7.86982C16.4172 8.02061 16.2945 8.14326 16.1437 8.14326ZM15.2637 7.59639H15.8703V6.98975H15.2637V7.59639Z","fill","#323232"],["d","M16.1437 10.5507H14.9902C14.8391 10.5507 14.7168 10.4285 14.7168 10.2773V9.12378C14.7168 8.97261 14.8391 8.85034 14.9902 8.85034H16.1437C16.2949 8.85034 16.4172 8.97261 16.4172 9.12378V10.2773C16.4172 10.4285 16.2945 10.5507 16.1437 10.5507ZM15.2637 10.0039H15.8703V9.39722H15.2637V10.0039Z","fill","#323232"],["d","M16.1437 12.9587H14.9902C14.8391 12.9587 14.7168 12.8364 14.7168 12.6853V11.5317C14.7168 11.3806 14.8391 11.2583 14.9902 11.2583H16.1437C16.2949 11.2583 16.4172 11.3806 16.4172 11.5317V12.6853C16.4172 12.8364 16.2945 12.9587 16.1437 12.9587ZM15.2637 12.4118H15.8703V11.8052H15.2637V12.4118Z","fill","#323232"],["d","M16.1437 15.3664H14.9902C14.8391 15.3664 14.7168 15.2441 14.7168 15.093V13.9395C14.7168 13.7883 14.8391 13.666 14.9902 13.666H16.1437C16.2949 13.666 16.4172 13.7883 16.4172 13.9395V15.093C16.4172 15.2437 16.2945 15.3664 16.1437 15.3664ZM15.2637 14.8195H15.8703V14.2129H15.2637V14.8195Z","fill","#323232"],["d","M16.1437 17.7739H14.9902C14.8391 17.7739 14.7168 17.6516 14.7168 17.5004V16.3469C14.7168 16.1958 14.8391 16.0735 14.9902 16.0735H16.1437C16.2949 16.0735 16.4172 16.1958 16.4172 16.3469V17.5004C16.4172 17.6516 16.2945 17.7739 16.1437 17.7739ZM15.2637 17.227H15.8703V16.6204H15.2637V17.227Z","fill","#323232"],["d","M13.859 19.4727H9.09491C8.94374 19.4727 8.82147 19.3504 8.82147 19.1992V9.90234C8.82147 9.75117 8.94374 9.62891 9.09491 9.62891H13.8586C14.0098 9.62891 14.132 9.75117 14.132 9.90234C14.132 10.0535 14.0098 10.1758 13.8586 10.1758H9.36835V18.9258H13.5851V11.0629C13.5851 10.9117 13.7074 10.7895 13.8586 10.7895C14.0098 10.7895 14.132 10.9117 14.132 11.0629V19.1992C14.1324 19.3504 14.0098 19.4727 13.859 19.4727Z","fill","#323232"],["d","M9.09493 19.4727H2.60431C2.45314 19.4727 2.33087 19.3504 2.33087 19.1993V6.71606C2.33087 6.56489 2.45314 6.44263 2.60431 6.44263H9.09493C9.24611 6.44263 9.36837 6.56489 9.36837 6.71606V19.1993C9.36837 19.3504 9.24611 19.4727 9.09493 19.4727ZM2.87775 18.9258H8.8215V6.9895H2.87775V18.9258Z","fill","#323232"],["id","icon-menu_auto","viewBox","0 0 20 20","fill","none"],["d","M18.4319 10.0275C18.4328 10.0178 18.4375 10.0097 18.4375 10C18.4375 9.10438 18.2534 1.25 11.875 1.25H8.125C3.95438 1.25 1.5625 4.43937 1.5625 10C1.5625 10.0097 1.56719 10.0178 1.56813 10.0275C0.68 10.1747 0 10.9459 0 11.875V15C0 16.0341 0.840937 16.875 1.875 16.875V18.4375C1.875 18.6103 2.01469 18.75 2.1875 18.75H4.6875C4.86031 18.75 5 18.6103 5 18.4375V16.875H15V18.4375C15 18.6103 15.1397 18.75 15.3125 18.75H17.8125C17.9853 18.75 18.125 18.6103 18.125 18.4375V16.875C19.1591 16.875 20 16.0341 20 15V11.875C20 10.9459 19.32 10.1747 18.4319 10.0275ZM8.125 1.875H11.875C17.6459 1.875 17.8125 9.16844 17.8125 10H17.1875C17.1875 9.2325 17.0297 2.5 11.5625 2.5H8.4375C4.81031 2.5 2.8125 5.16344 2.8125 10H2.1875C2.1875 2.93063 5.9075 1.875 8.125 1.875ZM7.5 7.5C6.11937 7.5 5 8.61937 5 10H3.4375C3.4375 4.3175 6.15656 3.125 8.4375 3.125H11.5625C13.5438 3.125 14.9716 4.1125 15.8066 6.06062C16.5078 7.6975 16.5625 9.48969 16.5625 10H10C10 8.61937 8.88063 7.5 7.5 7.5ZM9.375 10H5.625C5.625 8.96469 6.46469 8.125 7.5 8.125C8.53531 8.125 9.375 8.96469 9.375 10ZM4.375 18.125H2.5V16.875H4.375V18.125ZM17.5 18.125H15.625V16.875H17.5V18.125ZM19.375 15C19.375 15.6894 18.8144 16.25 18.125 16.25H1.875C1.18562 16.25 0.625 15.6894 0.625 15V11.875C0.
1625 11.1856 1.18562 10.625 1.875 10.625H18.125C18.8144 10.625 19.375 11.1856 19.375 11.875V15Z","fill","#323232"],["d","M3.4375 12.1875C2.74812 12.1875 2.1875 12.7481 2.1875 13.4375C2.1875 14.1269 2.74812 14.6875 3.4375 14.6875C4.12688 14.6875 4.6875 14.1269 4.6875 13.4375C4.6875 12.7481 4.12688 12.1875 3.4375 12.1875ZM3.4375 14.0625C3.09281 14.0625 2.8125 13.7822 2.8125 13.4375C2.8125 13.0928 3.09281 12.8125 3.4375 12.8125C3.78219 12.8125 4.0625 13.0928 4.0625 13.4375C4.0625 13.7822 3.78219 14.0625 3.4375 14.0625Z","fill","#323232"],["d","M16.5625 12.1875C15.8731 12.1875 15.3125 12.7481 15.3125 13.4375C15.3125 14.1269 15.8731 14.6875 16.5625 14.6875C17.2519 14.6875 17.8125 14.1269 17.8125 13.4375C17.8125 12.7481 17.2519 12.1875 16.5625 12.1875ZM16.5625 14.0625C16.2178 14.0625 15.9375 13.7822 15.9375 13.4375C15.9375 13.0928 16.2178 12.8125 16.5625 12.8125C16.9072 12.8125 17.1875 13.0928 17.1875 13.4375C17.1875 13.7822 16.9072 14.0625 16.5625 14.0625Z","fill","#323232"],["d","M13.4375 12.5H6.5625C6.38969 12.5 6.25 12.6397 6.25 12.8125C6.25 12.9853 6.38969 13.125 6.5625 13.125H13.4375C13.6103 13.125 13.75 12.9853 13.75 12.8125C13.75 12.6397 13.6103 12.5 13.4375 12.5Z","fill","#323232"],["d","M13.4375 13.75H6.5625C6.38969 13.75 6.25 13.8897 6.25 14.0625C6.25 14.2353 6.38969 14.375 6.5625 14.375H13.4375C13.6103 14.375 13.75 14.2353 13.75 14.0625C13.75 13.8897 13.6103 13.75 13.4375 13.75Z","fill","#323232"],["d","M13.346 4.77938C13.2238 4.6572 13.0263 4.6572 12.9041 4.77938C12.7819 4.90157 12.7819 5.09907 12.9041 5.22126L13.5291 5.84626C13.59 5.9072 13.67 5.93782 13.75 5.93782C13.83 5.93782 13.91 5.9072 13.971 5.84626C14.0931 5.72407 14.0931 5.52657 13.971 5.40439L13.346 4.77938Z","fill","#323232"],["d","M11.7835 4.77914C11.6613 4.65695 11.4638 4.65695 11.3416 4.77914C11.2194 4.90133 11.2194 5.09883 11.3416 5.22102L13.5291 7.40852C13.59 7.46945 13.67 7.50008 13.75 7.50008C13.83 7.50008 13.91 7.46945 13.971 7.40852C14.0931 7.28633 14.0931 7.08883 13.971 6.96664L11.7835 4.77914Z","fill","#323232"],["id","icon-menu_offers","viewBox","0 0 20 20","fill","none"],["clip-path","url(#clip0_505_590)"],["d","M12.0002 14.3333C12.1843 14.3333 12.3335 14.184 12.3335 13.9999V12.9999H12.6668C12.8509 12.9999 13.0002 12.8507 13.0002 12.6666V11.6667H19.6668C19.8509 11.6667 20.0001 11.5175 20.0001 11.3334V1.33343C20.0001 1.14933 19.8509 1.00011 19.6668 1.00011H18.3335V0.333319C18.3335 0.149218 18.1843 0 18.0002 0H15.3335C15.1494 0 15.0002 0.149257 15.0002 0.333319V1.00004H11.6669V0.333319C11.6669 0.149218 11.5177 0 11.3336 0H8.66689C8.48279 0 8.33357 0.149257 8.33357 0.333319V1.00004H5.00026V0.333319C5.00026 0.149218 4.85105 0 4.66694 0H2.00024C1.81614 0 1.66692 0.149257 1.66692 0.333319V1.00004H0.333563C0.149462 1.00004 0.000244141 1.14925 0.000244141 1.33335V11.3333C0.000244141 11.5174 0.149462 11.6666 0.333563 11.6666H7.00022V12.6666C7.00022 12.8507 7.14943 12.9999 7.33354 12.9999H7.66685V13.9999C7.66685 14.184 7.81607 14.3332 8.00017 14.3332H9.00017V19.3332H0.333563C0.149462 19.3332 0.000244141 19.4825 0.000244141 19.6666C0.000244141 19.8506 0.149462 19.9999 0.333563 19.9999H19.6668C19.8509 19.9999 20.0001 19.8506 20.0001 19.6666C20.0001 19.4825 19.8509 19.3332 19.6668 19.3332H11.0002V14.3333H12.0002ZM15.6669 0.666677H17.6669V1.33339V1.99999H15.6669V1.33339V0.666677ZM9.00021 0.666677H11.0002V1.33339V1.99999H9.00021V1.33339V0.666677ZM2.33356 0.666677H4.33355V1.33339V1.99999H2.33356V1.33339V0.666677ZM0.666921 1.66671H1.66692V2.33331V2.33339C1.66692 2.51749 1.81614 2.66671 2.00024 2.66671H4.66691C4.85101 2.66671 5.00022 2.51745 5.00022 2.33339V2.33331V1.66671H8.33353V2.33331V2.33339C8.33353 2.51749 8.48275 2.66671 8.66685 2.66671H11.3335C11.5176 2.66671 11.6668 2.51745 11.6668 2.33339V2.33331V1.66671H15.0001V2.33331V2.33339C15.0001 2.51749 15.1494 2.66671 15.3335 2.66671H18.0001C18.1842 2.66671 18.3335 2.51745 18.3335 2.33339V2.33331V1.66671H19.3335V11H12.6682C12.6677 11 12.6673 10.9999 12.6668 10.9999H7.33354C7.33311 10.9999 7.33268 11 7.33221 11H0.666921V1.66671ZM12.3335 11.6667V12.3333H12.0002H8.00021H7.66689V11.6667H12.3335ZM8.33353 12.9999H11.6668V13.6666H10.6668H9.33353H8.33353V12.9999ZM10.3335 19.3332H9.66685V14.3333H10.3335V19.3332Z","fill","#323232"],["id","clip0_505_590"],["id","icon-menu-custom-about-us","viewBox","0 0 20 20"],["d","m16.6,1.79C-.53-4.04-1.46,22.73,16.6,18.5v-7.94h-4.96",1,"cls-1"],["id","icon-menu_default","viewBox","0 0 17 17"],["d","M7.67 17c-.54 0-1.026-.17-1.405-.489-.928-.781-.663-2.08-.155-2.955 1.055-1.814 2.84-3.247 4.619-4.524-.543-2.287-1.764-3.092-2.617-3.372.338 1.796-.128 3.717-1.232 5.044-.54.65-1.269.989-2.012.989a2.602 2.602 0 0 1-1.477-.473 3.579 3.579 0 0 1-1.565-2.573 3.813 3.8
113 0 0 1 .999-3.005c1.12-1.223 2.573-1.381 3.791-1.27-.798-1.559-2.047-2.212-2.98-2.143-.73.054-1.535.54-2.392 1.446a.498.498 0 1 1-.724-.684C1.568 1.883 2.563 1.31 3.562 1.235c.991-.073 1.955.315 2.785 1.12.6.58 1.105 1.353 1.441 2.198l.252.054c1.724.388 2.971 1.738 3.564 3.832.214-.138.43-.273.64-.406.48-.3.974-.611 1.435-.942-1.098-1.287-2.749-3.738-1.666-5.875C12.404.443 13.12 0 13.973 0c1.084 0 2.2.718 2.655 1.706.814 1.77-.099 3.98-1.498 5.436.588.5 1.197.79 1.814.861a.498.498 0 1 1-.115.99c-.855-.1-1.677-.497-2.448-1.182l-.083.061c-.498.36-1.02.688-1.524 1.004-.31.196-.63.397-.94.603.14.865.173 1.775.093 2.654-.155 1.702-.873 3.135-2.021 4.034-.666.521-1.502.833-2.236.833zm3.245-6.873c-1.552 1.139-3.058 2.406-3.944 3.93-.188.323-.306.68-.325.98-.02.314.065.547.26.712.201.17.458.255.764.255.503 0 1.14-.244 1.622-.622.93-.728 1.513-1.914 1.643-3.34a9.813 9.813 0 0 0-.02-1.915zM5.993 5.34c-1.056 0-1.832.316-2.434.974a2.818 2.818 0 0 0-.743 2.218 2.597 2.597 0 0 0 1.138 1.865c.718.493 1.586.36 2.16-.33.929-1.118 1.32-2.823.995-4.346a4.512 4.512 0 0 0-.073-.294 6.873 6.873 0 0 0-1.043-.087zm7.98-4.345c-.334 0-.791.116-1.071.67-.342.674-.325 1.493.05 2.436.366.922 1 1.772 1.476 2.332 1.126-1.182 1.91-2.973 1.295-4.312-.295-.642-1.048-1.126-1.75-1.126z"],["id","icon-cosmetics","viewBox","0 0 43 43"],["d","M12.4793 19.8439H12.0082V16.0242C12.0082 15.5715 11.6413 15.2045 11.1885 15.2045H11.1181V7.38995C11.1181 7.07955 10.9428 6.79571 10.665 6.6568L4.32151 3.4842C4.06751 3.3572 3.76575 3.37064 3.52399 3.52004C3.28223 3.66934 3.13512 3.93318 3.13512 4.21734V15.2045H3.06474C2.61193 15.2045 2.24503 15.5715 2.24503 16.0242V19.8439H1.7732C1.32039 19.8439 0.953491 20.2109 0.953491 20.6636V42.1803C0.953491 42.633 1.32039 43 1.7732 43H12.479C12.9319 43 13.2988 42.633 13.2988 42.1803V20.6636C13.299 20.2109 12.9321 19.8439 12.4793 19.8439ZM4.77476 5.54385L9.4788 7.89653V15.2045H4.77476V5.54385ZM3.88477 16.8439H10.3689V19.8439H3.88477V16.8439ZM11.6596 41.3606H2.59313V21.4833H11.6596V41.3606Z","fill","white"],["d","M41.2264 33.2557H14.6018C14.149 33.2557 13.7821 33.6227 13.7821 34.0754C13.7821 34.5281 14.149 34.8952 14.6018 34.8952H39.9222L39.7348 35.2848C38.7051 37.4243 36.5056 38.8069 34.1311 38.8069H14.6018C14.149 38.8069 13.7821 39.1739 13.7821 39.6266C13.7821 40.0793 14.149 40.4463 14.6018 40.4463H34.1311C37.1316 40.4463 39.9111 38.6994 41.212 35.9956L41.965 34.4309C42.0873 34.1769 42.0705 33.8778 41.9204 33.6393C41.7704 33.4007 41.5083 33.2557 41.2264 33.2557Z","fill","white"],["d","M12.7093 6.02749C15.7657 3.19785 19.7444 1.63942 23.9128 1.63942C33.0077 1.63942 40.4069 9.03866 40.4069 18.1335C40.4069 23.0368 38.2463 27.6537 34.4792 30.8004C34.1317 31.0907 34.0853 31.6076 34.3756 31.955C34.5377 32.1491 34.7705 32.2492 35.0051 32.2492C35.1904 32.2492 35.3769 32.1867 35.5302 32.0586C39.6715 28.5996 42.0465 23.524 42.0465 18.1334C42.0463 8.13469 33.9117 0 23.9128 0C19.3302 0 14.9559 1.71341 11.5954 4.82459C11.2633 5.13215 11.2433 5.65075 11.5508 5.98301C11.8583 6.31504 12.3769 6.33504 12.7093 6.02749Z","fill","white"],["d","M23.9124 5.04878C31.1276 5.04878 36.9976 10.9188 36.9976 18.134C36.9976 25.3492 31.1276 31.2192 23.9124 31.2192C20.6687 31.2192 17.5573 30.0237 15.151 27.8532C14.8151 27.55 14.2967 27.5766 13.9933 27.9128C13.6901 28.2489 13.7168 28.7672 14.0529 29.0704C16.7608 31.5133 20.2623 32.8586 23.9124 32.8586C32.0316 32.8586 38.637 26.2531 38.637 18.134C38.637 10.0148 32.0316 3.40936 23.9124 3.40936C19.2494 3.40936 14.8133 5.65427 12.0461 9.41456C11.7777 9.77916 11.8558 10.2923 12.2204 10.5606C12.585 10.8288 13.0979 10.7509 13.3665 10.3863C15.826 7.04417 19.7685 5.04878 23.9124 5.04878Z","fill","white"],["d","M32.9301 11.6763L17.9712 26.6353C17.651 26.9554 17.651 27.4744 17.9712 27.7945C18.1313 27.9545 18.3411 28.0346 18.5509 28.0346C18.7606 28.0346 18.9705 27.9546 19.1306 27.7945L34.0894 12.8355C34.4095 12.5154 34.4095 11.9963 34.0894 11.6763C33.7691 11.3562 33.2502 11.3562 32.9301 11.6763Z","fill","white"],["d","M22.5263 26.7365C22.2062 27.0566 22.2062 27.5757 22.5263 27.8957C22.6865 28.0557 22.8963 28.1358 23.106 28.1358C23.3158 28.1358 23.5256 28.0558 23.6857 27.8957L34.9168 16.6646C35.237 16.3445 35.237 15.8254 34.9168 15.5054C34.5966 15.1853 34.0777 15.1853 33.7576 15.50
154L22.5263 26.7365Z","fill","white"],["id","icon-restaurant_dish","viewBox","0 0 49 48"],["d","M40.2041 36.8491V38.5234C40.2041 38.9118 40.5188 39.2266 40.9072 39.2266C41.2956 39.2266 41.6104 38.9118 41.6104 38.5234V36.8491C41.6104 36.4607 41.2956 36.1459 40.9072 36.1459C40.5188 36.1459 40.2041 36.4607 40.2041 36.8491Z","fill","white"],["d","M48.0896 30.9573H38.1268C37.5352 30.9573 37.0541 31.4386 37.0541 32.03V32.7004H34.0569C33.2877 32.7004 32.6408 33.2264 32.4521 33.9369L29.1596 33.0143C28.9118 32.9449 28.7534 32.7005 28.7909 32.4461L29.4612 27.9007C29.5162 27.528 29.4726 27.1527 29.3418 26.8086H34.9863C36.4598 26.8086 37.6586 25.6099 37.6586 24.1363V22.0807C37.6586 21.6923 37.3439 21.3776 36.9555 21.3776H34.9676V20.3328C34.9676 12.7401 28.9502 6.52741 21.434 6.21072V5.79279C21.434 4.57516 20.4434 3.58441 19.2257 3.58441C18.0079 3.58441 17.0173 4.57507 17.0173 5.79279V6.21072C15.091 6.29032 13.238 6.75119 11.501 7.58641C11.1511 7.75469 11.0038 8.17479 11.1721 8.52476C11.3403 8.87472 11.7603 9.02182 12.1104 8.85372C13.8361 8.02394 15.6896 7.60319 17.6194 7.60319H20.8319C27.8509 7.60319 33.5614 13.3136 33.5614 20.3327V21.3775H4.88997V20.3327C4.88997 16.3608 6.69532 12.6875 9.84307 10.2548C10.1503 10.0173 10.2069 9.57579 9.96954 9.26847C9.73207 8.96126 9.29051 8.90472 8.98319 9.14201C5.48819 11.8431 3.48372 15.9218 3.48372 20.3326V21.3774H1.49585C1.10744 21.3774 0.792725 21.6921 0.792725 22.0805V24.1361C0.792725 25.6097 1.99151 26.8084 3.46507 26.8084H8.43391C8.21604 27.508 8.39238 28.2493 8.9171 28.7827L12.3599 32.2828C14.5829 34.5427 17.1392 36.4243 19.9579 37.8749C22.7767 39.3255 25.7934 40.3123 28.9247 40.8078L32.4337 41.3631C32.5964 42.1102 33.262 42.6717 34.0571 42.6717H37.0543V43.3422C37.0543 43.9338 37.5355 44.415 38.127 44.415H41.5186C41.907 44.415 42.2217 44.1003 42.2217 43.7119C42.2217 43.3234 41.907 43.0087 41.5186 43.0087H38.4605V32.3635H47.3865V43.0091H44.3297C43.9413 43.0091 43.6265 43.3238 43.6265 43.7122C43.6265 44.1006 43.9413 44.4154 44.3297 44.4154H48.0896C48.478 44.4154 48.7927 44.1006 48.7927 43.7122V31.6604C48.7927 31.272 48.478 30.9573 48.0896 30.9573ZM19.2257 4.99085C19.668 4.99085 20.0278 5.35066 20.0278 5.79297V6.19722H18.4236V5.79297C18.4235 5.35066 18.7833 4.99085 19.2257 4.99085ZM2.19897 24.1364V22.7839H36.2523V24.1364C36.2523 24.8344 35.6843 25.4025 34.9863 25.4025H22.4781C22.0897 25.4025 21.775 25.7172 21.775 26.1056C21.775 26.494 22.0897 26.8087 22.4781 26.8087H25.2124L22.7919 30.6134C22.4499 31.151 21.7433 31.3337 21.1838 31.0292L13.4244 26.8087H19.6668C20.0552 26.8087 20.3699 26.494 20.3699 26.1056C20.3699 25.7172 20.0552 25.4025 19.6668 25.4025H3.46507C2.76701 25.4025 2.19897 24.8344 2.19897 24.1364ZM20.6014 36.6247C17.9158 35.2427 15.4803 33.4501 13.3623 31.2968L9.91947 27.7968C9.45504 27.3245 10.0218 26.5587 10.611 26.8793L20.5119 32.2645C21.7183 32.9206 23.2412 32.527 23.9785 31.3681L26.6511 27.1672C27.0976 26.4656 28.1912 26.8739 28.07 27.6955L27.3997 32.241C27.2592 33.1938 27.8526 34.1084 28.7802 34.3684L32.3949 35.3812V39.9334L29.1443 39.419C26.1611 38.9471 23.2869 38.0068 20.6014 36.6247ZM34.0569 41.2657C33.9158 41.2657 33.8011 41.1509 33.8011 41.0099V34.3627C33.8011 34.2216 33.9159 34.1069 34.0569 34.1069H37.0541V41.2658H34.0569V41.2657Z","fill","white"],["id","icon-restaurant_plate","viewBox","0 0 48 48"],["d","M24 12.0609C21.6519 12.0609 19.3754 12.736 17.4168 14.0133C17.0915 14.2253 16.9998 14.661 17.2119 14.9863C17.4239 15.3115 17.8597 15.4034 18.1849 15.1912C19.9145 14.0634 21.9253 13.4673 24 13.4673C29.8786 13.4673 34.6613 18.2499 34.6613 24.1285C34.6613 30.0071 29.8786 34.7897 24 34.7897C18.1214 34.7897 13.3388 30.007 13.3388 24.1284C13.3388 21.6086 14.234 19.1635 15.8597 17.2435C16.1106 16.9472 16.0737 16.5034 15.7774 16.2526C15.4811 16.0017 15.0373 16.0385 14.7865 16.3349C12.9461 18.5085 11.9326 21.2763 11.9326 24.1284C11.9326 30.7824 17.3461 36.1959 24.0001 36.1959C30.6541 36.1959 36.0675 30.7824 36.0675 24.1284C36.0675 17.4744 30.654 12.0609 24 12.0609Z","fill","white"],["d","M24 7.32581C14.7351 7.32581 7.19739 14.8634 7.19739 24.1284C7.19739 33.3935 14.7351 40.931 24 40.931C33.265 40.931 40.8026 33.3934 40.8026 24.1284C40.8026 14.8635 33.265 7.32581 24 7.32581ZM24 39.5248C15.5105 39.5248 8.60364 32.618 8.60364 24.1284C8.60364 15.6388 15.5105 8.73206 24 8.73206C32.4895 8.73206 39.3964 15.6389 39.3964 24.1284C39.3964 32.618 32.4895 39.5248 24 39.5248Z","fill","white"],["d","M43.7928 6C41.473 6 39.5857 7.88728 39.5857 10.2071V13.0482C39.5857 15.1283 41.1036 16.8597 43.0897 17.1954
1V29.6757H42.8458C41.9358 29.6757 41.1956 30.416 41.1956 31.3259V40.6068C41.1956 41.5167 41.9358 42.257 42.8458 42.257H44.7398C45.6497 42.257 46.39 41.5167 46.39 40.6068V35.9839C46.39 35.5956 46.0752 35.2808 45.6869 35.2808C45.2985 35.2808 44.9837 35.5956 44.9837 35.9839V40.6068C44.9837 40.7413 44.8743 40.8507 44.7398 40.8507H42.8458C42.7112 40.8507 42.6018 40.7413 42.6018 40.6068V31.3259C42.6018 31.1914 42.7112 31.082 42.8458 31.082H44.7398C44.8743 31.082 44.9837 31.1914 44.9837 31.3259V32.6999C44.9837 33.0882 45.2985 33.403 45.6869 33.403C46.0752 33.403 46.39 33.0882 46.39 32.6999V31.3259C46.39 30.416 45.6497 29.6757 44.7398 29.6757H44.4959V17.1954C46.482 16.8597 48 15.1283 48 13.0482V10.2071C48 7.88728 46.1127 6 43.7928 6ZM46.5937 13.0482C46.5937 14.5927 45.3373 15.8491 43.7928 15.8491C42.2484 15.8491 40.9919 14.5927 40.9919 13.0482V10.2071C40.9919 8.66269 42.2484 7.40625 43.7928 7.40625C45.3373 7.40625 46.5937 8.66269 46.5937 10.2071V13.0482Z","fill","white"],["d","M8.41425 13.0482V6.70312C8.41425 6.31481 8.09944 6 7.71112 6C7.32281 6 7.008 6.31481 7.008 6.70312V12.3451H4.91025V6.70312C4.91025 6.31481 4.59544 6 4.20712 6C3.81881 6 3.504 6.31481 3.504 6.70312V12.3451H1.40625V6.70312C1.40625 6.31481 1.09144 6 0.703125 6C0.314812 6 0 6.31481 0 6.70312V13.0482C0 15.1283 1.51791 16.8597 3.504 17.1954V29.6757H3.26006C2.35012 29.6757 1.60987 30.416 1.60987 31.3259V32.6999C1.60987 33.0882 1.92469 33.403 2.313 33.403C2.70131 33.403 3.01612 33.0882 3.01612 32.6999V31.3259C3.01612 31.1914 3.12553 31.082 3.26006 31.082H5.15409C5.28862 31.082 5.39803 31.1914 5.39803 31.3259V40.6068C5.39803 40.7413 5.28862 40.8507 5.15409 40.8507H3.26006C3.12553 40.8507 3.01612 40.7413 3.01612 40.6068V35.9839C3.01612 35.5956 2.70131 35.2808 2.313 35.2808C1.92469 35.2808 1.60987 35.5956 1.60987 35.9839V40.6068C1.60987 41.5167 2.35012 42.257 3.26006 42.257H5.15409C6.06403 42.257 6.80428 41.5167 6.80428 40.6068V31.3259C6.80428 30.416 6.06403 29.6757 5.15409 29.6757H4.91016V17.1954C6.89634 16.8597 8.41425 15.1283 8.41425 13.0482ZM1.49569 13.7513H6.9
11847C6.60572 14.9565 5.50875 15.8491 4.20703 15.8491C2.90531 15.8491 1.80844 14.9565 1.49569 13.7513Z","fill","white"],["id","icon-new-delivery","viewBox","0 0 512 512"],["d","M504.485 136.266c-13.536 0-24.548-11.011-24.548-24.548a7.514 7.514 0 0 0-7.515-7.515 7.514 7.514 0 0 0-7.515 7.515c0 13.536-11.011 24.548-24.548 24.548-4.151 0-7.515 3.364-7.515 7.515s3.364 7.515 7.515 7.515c13.536 0 24.548 11.012 24.548 24.548a7.514 7.514 0 0 0 7.515 7.515 7.514 7.514 0 0 0 7.515-7.515c0-13.536 11.011-24.548 24.548-24.548 4.151 0 7.515-3.364 7.515-7.515s-3.364-7.515-7.515-7.515zm-32.062 16.399a39.977 39.977 0 0 0-8.884-8.884 39.956 39.956 0 0 0 8.884-8.884 39.977 39.977 0 0 0 8.884 8.884 39.977 39.977 0 0 0-8.884 8.884zM71.64 136.266c-13.535 0-24.548-11.011-24.548-24.548a7.515 7.515 0 1 0-15.03 0c0 13.536-11.013 24.548-24.548 24.548a7.515 7.515 0 1 0 0 15.03c13.535 0 24.548 11.012 24.548 24.548a7.515 7.515 0 1 0 15.03 0c0-13.536 11.013-24.548 24.548-24.548a7.515 7.515 0 1 0 0-15.03zm-32.063 16.399a39.956 39.956 0 0 0-8.884-8.884 39.935 39.935 0 0 0 8.884-8.884 39.956 39.956 0 0 0 8.884 8.884 39.998 39.998 0 0 0-8.884 8.884zM296.078 40.078c-17.956 0-32.564-14.607-32.564-32.564a7.515 7.515 0 0 0-15.029.001c0 17.956-14.609 32.564-32.564 32.564a7.515 7.515 0 1 0 0 15.03c17.955 0 32.564 14.608 32.564 32.564a7.515 7.515 0 1 0 15.03 0c0-17.956 14.608-32.564 32.564-32.564a7.516 7.516 0 0 0-.001-15.031zM256 62.027a48.01 48.01 0 0 0-14.435-14.434A48.01 48.01 0 0 0 256 33.159a48.017 48.017 0 0 0 14.434 14.434A48.017 48.017 0 0 0 256 62.027zM412.456 253.499l-29.232-82.824a15.554 15.554 0 0 0-14.645-10.362H141.417a15.553 15.553 0 0 0-14.645 10.361L97.54 253.499c-1.698 4.811 1.992 10.016 7.086 10.016H405.37a7.514 7.514 0 0 0 7.086-10.016zm-297.209-5.014l25.697-72.809a.515.515 0 0 1 .472-.334h227.163c.205 0 .404.141.473.335l25.697 72.808H115.247zM399.28 352.689c-26.688 0-47.593 13.864-47.593 31.562s20.905 31.562 47.593 31.562 47.593-13.864 47.593-31.562-20.905-31.562-47.593-31.562zm0 48.094c-18.638 0-32.564-8.728-32.564-16.532s13.925-16.532 32.564-16.532c18.638 0 32.564 8.728 32.564 16.532s-13.926 16.532-32.564 16.532zM110.716 352.689c-26.688 0-47.593 13.864-47.593 31.562s20.905 31.562 47.593 31.562 47.593-13.864 47.593-31.562-20.905-31.562-47.593-31.562zm0 48.094c-18.637 0-32.564-8.728-32.564-16.532s13.926-16.532 32.564-16.532 32.564 8.728 32.564 16.532-13.926 16.532-32.564 16.532z"],["d","M495.468 240.47H455.39a7.514 7.514 0 0 0-7.29 5.692l-5.279 21.115L405.9 162.671c-5.574-15.793-20.572-26.405-37.321-26.405H141.417c-16.749 0-31.747 10.612-37.321 26.406l-36.92 104.606-5.279-21.116a7.515 7.515 0 0 0-7.29-5.692H14.528a7.515 7.515 0 0 0-7.515 7.515v32.063a7.515 7.515 0 0 0 7.515 7.515h41.507l-25.619 35.866a39.36 39.36 0 0 0-7.371 23.004v93.928c0 13.015 6.317 24.581 16.044 31.798-.003.088-.013.175-.013.264v24.047c0 8.564 6.967 15.53 15.53 15.53H102.7c8.564 0 15.53-6.967 15.53-15.53v-16.532h273.534v16.532c0 8.564 6.967 15.53 15.53 15.53h48.094c8.564 0 15.53-6.967 15.53-15.53v-24.047c0-.089-.01-.176-.013-.264 9.727-7.217 16.044-18.783 16.044-31.798v-93.928c0-8.298-2.55-16.254-7.372-23.004l-25.619-35.866h41.508a7.514 7.514 0 0 0 7.515-7.515v-32.063a7.511 7.511 0 0 0-7.513-7.515zM22.043 272.532v-17.033h26.696l4.258 17.033H22.043zm81.159 223.938a.501.501 0 0 1-.501.501H54.607a.502.502 0 0 1-.501-.501v-16.532H103.202v16.532zm352.688 0a.502.502 0 0 1-.501.501h-48.094a.502.502 0 0 1-.501-.501v-16.532H455.89v16.532zm-8.516-31.562H62.622c-10.915 0-20.185-7.162-23.367-17.033H470.74c-3.182 9.871-12.451 17.033-23.366 17.033zm-127.75-81.158v17.033H190.372V383.75h129.252zm-128.071-15.03c3.182-9.871 12.451-17.033 23.367-17.033h80.157c10.915 0 20.185 7.162 23.367 17.033H191.553zm128.071 47.092v17.033H190.372v-17.033h129.252zm147.726-83.648a24.41 24.41 0 0 1 4.572 14.268v86.414H334.654v-56.611c0-21.823-17.755-39.577-39.577-39.577H214.92c-21.823 0-39.577 17.755-39.577 39.577v56.611H38.074v-86.414a24.41 24.41 0 0 1 4.572-14.268l31.859-44.602h276.68a7.514 7.514 0 0 0 7.515-7.515 7.514 7.514 0 0 0-7.515-7.515H81.259l37.009-104.859c3.458-9.795 12.76-16.378 23.149-16.378H368.58c10.388 0 19.69 6.582 23.149 16.378l37.008 104.859h-45.489a7.514 7.514 0 0 0-7.515 7.515 7.514 7.514 0 0 0 7.515 7.515h52.243l31.859 44.602zm20.603-59.632h-30.955l4.258-17.033h26.697v17.033z"],["d","M134.763 328.642H86.669a7.515 7.515 0 1 0 0 15.03h48.094a7.51
15 7.515 0 1 0 0-15.03zM423.327 328.642h-48.094c-4.151 0-7.515 3.364-7.515 7.515s3.364 7.515 7.515 7.515h48.094c4.151 0 7.515-3.364 7.515-7.515s-3.364-7.515-7.515-7.515z"],["id","icon-white-track","viewBox","0 0 27 27"],["d","M9.40789 21.0011C7.82196 21.0011 6.53638 22.2631 6.53638 23.8198C6.53638 25.3766 7.82202 26.6386 9.40789 26.6386C10.9938 26.6386 12.2794 25.3765 12.2794 23.8198C12.2795 22.2631 10.9938 21.0011 9.40789 21.0011ZM9.40789 25.3858C8.52683 25.3858 7.81262 24.6847 7.81262 23.8199C7.81262 22.955 8.52683 22.2539 9.40789 22.2539C10.2889 22.2539 11.0032 22.955 11.0032 23.8199C11.0032 24.6847 10.2889 25.3858 9.40789 25.3858Z","fill","white"],["d","M21.5322 21.0011C19.9462 21.0011 18.6606 22.2631 18.6606 23.8198C18.6606 25.3766 19.9463 26.6386 21.5322 26.6386C23.118 26.6386 24.4037 25.3765 24.4037 23.8198C24.4037 22.2631 23.1181 21.0011 21.5322 21.0011ZM21.5322 25.3858C20.6511 25.3858 19.9369 24.6847 19.9369 23.8199C19.9369 22.955 20.6511 22.2539 21.5322 22.2539C22.4132 22.2539 23.1274 22.955 23.1274 23.8199C23.1275 24.6847 22.4132 25.3858 21.5322 25.3858Z","fill","white"],["d","M28.0091 4.55826C27.8762 4.41576 27.6944 4.32656 27.4986 4.30767L6.72784 4.0258L6.15354 2.3032C5.74895 1.15166 4.65042 0.374253 3.4096 0.361364H1.27191C0.919474 0.361364 0.633789 0.641801 0.633789 0.98776C0.633789 1.33372 0.919474 1.61416 1.27191 1.61416H3.4096C4.10342 1.6292 4.71436 2.06652 4.94111 2.71036L8.99317 14.7058L8.67414 15.4261C8.31828 16.3269 8.42516 17.3408 8.96129 18.151C9.49229 18.9467 10.3856 19.4378 11.3543 19.4664H23.7657C24.1181 19.4664 24.4038 19.186 24.4038 18.84C24.4038 18.494 24.1181 18.2136 23.7657 18.2136H11.3542C10.8072 18.2002 10.3037 17.9177 10.0141 17.4619C9.72784 17.0117 9.66903 16.4571 9.85462 15.9585L10.1099 15.3948L23.5423 14.0167C25.0177 13.8572 26.2314 12.8038 26.5734 11.3858L28.1049 5.09059C28.1739 4.90931 28.1373 4.70543 28.0091 4.55826ZM25.329 11.104C25.1219 12.0168 24.3324 12.6901 23.3828 12.764L10.1099 14.1107L7.14263 5.27859L26.701 5.56047L25.329 11.104Z","fill","white"],["id","icon-track","viewBox","0 0 27 27"],["d","M9.40789 21.0011C7.82196 21.0011 6.53638 22.2631 6.53638 23.8198C6.53638 25.3766 7.82202 26.6386 9.40789 26.6386C10.9938 26.6386 12.2794 25.3765 12.2794 23.8198C12.2795 22.2631 10.9938 21.0011 9.40789 21.0011ZM9.40789 25.3858C8.52683 25.3858 7.81262 24.6847 7.81262 23.8199C7.81262 22.955 8.52683 22.2539 9.40789 22.2539C10.2889 22.2539 11.0032 22.955 11.0032 23.8199C11.0032 24.6847 10.2889 25.3858 9.40789 25.3858Z"],["d","M21.5322 21.0011C19.9462 21.0011 18.6606 22.2631 18.6606 23.8198C18.6606 25.3766 19.9463 26.6386 21.5322 26.6386C23.118 26.6386 24.4037 25.3765 24.4037 23.8198C24.4037 22.2631 23.1181 21.0011 21.5322 21.0011ZM21.5322 25.3858C20.6511 25.3858 19.9369 24.6847 19.9369 23.8199C19.9369 22.955 20.6511 22.2539 21.5322 22.2539C22.4132 22.2539 23.1274 22.955 23.1274 23.8199C23.1275 24.6847 22.4132 25.3858 21.5322 25.3858Z"],["d","M28.0091 4.55826C27.8762 4.41576 27.6944 4.32656 27.4986 4.30767L6.72784 4.0258L6.15354 2.3032C5.74895 1.15166 4.65042 0.374253 3.4096 0.361364H1.27191C0.919474 0.361364 0.633789 0.641801 0.633789 0.98776C0.633789 1.33372 0.919474 1.61416 1.27191 1.61416H3.4096C4.10342 1.6292 4.71436 2.06652 4.94111 2.71036L8.99317 14.7058L8.67414 15.4261C8.31828 16.3269 8.42516 17.3408 8.96129 18.151C9.49229 18.9467 10.3856 19.4378 11.3543 19.4664H23.7657C24.1181 19.4664 24.4038 19.186 24.4038 18.84C24.4038 18.494 24.1181 18.2136 23.7657 18.2136H11.3542C10.8072 18.2002 10.3037 17.9177 10.0141 17.4619C9.72784 17.0117 9.66903 16.4571 9.85462 15.9585L10.1099 15.3948L23.5423 14.0167C25.0177 13.8572 26.2314 12.8038 26.5734 11.3858L28.1049 5.09059C28.1739 4.90931 28.1373 4.70543 28.0091 4.55826ZM25.329 11.104C25.1219 12.0168 24.3324 12.6901 23.3828 12.764L10.1099 14.1107L7.14263 5.27859L26.701 5.56047L25.329 11.104Z"],["id","icon-new-clock","viewBox","0 0 15 15"],["d","M7.5 0C3.36457 0 0 3.36457 0 7.5C0 11.6354 3.36457 15 7.5 15C11.6354 15 15 11.6354 15 7.5C15 3.36457 11.6354 0 7.5 0ZM7.5 14.0625C3.88137 14.0625 0.937504 11.1186 0.937504 7.5C0.937504 3.88137 3.88137 0.937504 7.5 0.937504C11.1186 0.937504 14.0625 3.88137 14.0625 7.5C14.0625 11.1186 11.1186 14.0625 7.5 14.0625Z","fill","#323232","fill-opacity","0.35"],["d","M7.9687
15 2.8125H7.03125V7.69408L9.98107 10.6439L10.6439 9.98106L7.96875 7.3059V2.8125Z","fill","#323232","fill-opacity","0.35"],["id","icon-new-eye","viewBox","0 0 20 15"],["fill-rule","evenodd","clip-rule","evenodd","d","M0.0334228 7.29811C1.52515 2.93279 5.53033 0 10 0C14.4697 0 18.4749 2.93279 19.9666 7.29811C20.0112 7.42933 20.0112 7.57093 19.9666 7.70216C18.4749 12.0675 14.4697 15.0003 10 15.0003C5.53033 15.0003 1.52515 12.0675 0.0334228 7.70216C-0.0111409 7.57093 -0.0111409 7.42933 0.0334228 7.29811ZM1.2877 7.50013C2.6592 11.2471 6.13401 13.7502 10 13.7502C13.866 13.7502 17.3408 11.2471 18.7123 7.50013C17.3408 3.75311 13.866 1.25003 10 1.25003C6.13397 1.25003 2.6592 3.75311 1.2877 7.50013ZM6.24994 7.5002C6.24994 5.4323 7.93211 3.75012 10 3.75012C12.0679 3.75012 13.7501 5.43226 13.7501 7.5002C13.7501 9.56813 12.0679 11.2503 10 11.2503C7.93211 11.2503 6.24994 9.56809 6.24994 7.5002ZM7.49998 7.5002C7.49998 8.87899 8.62118 10.0002 10 10.0002C11.3788 10.0002 12.5 8.87899 12.5 7.5002C12.5 6.1214 11.3788 5.00016 10 5.00016C8.62122 5.00016 7.49998 6.12137 7.49998 7.5002Z","fill","#323232","fill-opacity","0.35"],["id","icon-comments","viewBox","0 0 37 37"],["d","M5.00024 18.8074C5.00024 19.9741 5.94938 20.9231 7.11589 20.9231C8.28255 20.9231 9.23162 19.9741 9.23162 18.8074C9.23162 17.6408 8.28248 16.6918 7.11589 16.6918C5.94938 16.6918 5.00024 17.6408 5.00024 18.8074ZM8.1477 18.8074C8.1477 19.3763 7.68484 19.8392 7.11597 19.8392C6.54709 19.8392 6.0843 19.3763 6.0843 18.8074C6.0843 18.2385 6.54709 17.7758 7.11597 17.7758C7.68484 17.7758 8.1477 18.2385 8.1477 18.8074Z","fill","var(--green-primary)"],["d","M14.3146 18.8074C14.3146 17.6408 13.3655 16.6918 12.1989 16.6918C11.0323 16.6918 10.0833 17.6408 10.0833 18.8074C10.0833 19.9741 11.0324 20.9231 12.1989 20.9231C13.3655 20.9231 14.3146 19.9741 14.3146 18.8074ZM11.1672 18.8074C11.1672 18.2385 11.63 17.7758 12.1988 17.7758C12.7677 17.7758 13.2306 18.2385 13.2306 18.8074C13.2306 19.3763 12.7677 19.8392 12.1988 19.8392C11.63 19.8392 11.1672 19.3763 11.1672 18.8074Z","fill","var(--green-primary)"],["d","M19.3974 18.8074C19.3974 17.6408 18.4482 16.6918 17.2817 16.6918C16.1151 16.6918 15.166 17.6408 15.166 18.8074C15.166 19.9741 16.1152 20.9231 17.2817 20.9231C18.4482 20.9231 19.3974 19.9741 19.3974 18.8074ZM16.2499 18.8074C16.2499 18.2385 16.7127 17.7758 17.2816 17.7758C17.8505 17.7758 18.3133 18.2385 18.3133 18.8074C18.3133 19.3763 17.8505 19.8392 17.2816 19.8392C16.7127 19.8392 16.2499 19.3763 16.2499 18.8074Z","fill","var(--green-primary)"],["d","M24.4804 18.8074C24.4804 17.6408 23.5313 16.6918 22.3647 16.6918C21.1981 16.6918 20.249 17.6408 20.249 18.8074C20.249 19.9741 21.1982 20.9231 22.3647 20.9231C23.5313 20.9231 24.4804 19.9741 24.4804 18.8074ZM21.3329 18.8074C21.3329 18.2385 21.7957 17.7758 22.3646 17.7758C22.9335 17.7758 23.3963 18.2385 23.3963 18.8074C23.3963 19.3763 22.9335 19.8392 22.3646 19.8392C21.7957 19.8392 21.3329 19.3763 21.3329 18.8074Z","fill","var(--green-primary)"],["d","M31.7155 0.279175H11.7182C8.80434 0.279175 6.43366 2.64978 6.43366 5.5636V6.4185H5.28442C2.3706 6.41857 0 8.78917 0 11.703V25.1399C0 28.0538 2.3706 30.4243 5.28442 30.4243H10.9341C11.2335 30.4243 11.4761 30.1817 11.4761 29.8824C11.4761 29.583 11.2335 29.3404 10.9341 29.3404H5.28442C2.96831 29.3404 1.08398 27.456 1.08398 25.1399V11.703C1.08398 9.38688 2.96831 7.50256 5.28442 7.50256H25.2818C27.598 7.50256 29.4823 9.38688 29.4823 11.703V25.1399C29.4823 27.456 27.598 29.3404 25.2818 29.3404C24.6645 29.3404 24.0882 29.6119 23.7006 30.0856C21.5748 32.6835 19.0433 34.5194 17.294 35.602C17.1309 35.7027 16.9432 35.5327 17.0289 35.3576C17.7163 33.9551 18.2433 32.4843 18.5952 30.986C18.7924 30.1464 18.1523 29.3404 17.2866 29.3404H13.4635C13.1641 29.3404 12.9215 29.583 12.9215 29.8824C12.9215 30.1817 13.1641 30.4243 13.4635 30.4243H17.2866C17.4529 30.4243 17.5776 30.5781 17.54 30.7381C17.2067 32.1573 16.7072 33.551 16.0555 34.8806C15.4936 36.0276 16.78 37.1949 17.8645 36.5238C19.684 35.3977 22.3191 33.4857 24.5395 30.7721C24.7204 30.5511 24.991 30.4243 25.2818 30.4243C28.1957 30.4243 30.5663 28.0537 30.5663 25.1399V24.285H31.7155C34.6294 24.285 37 21.9144 37 19.0006V13.5468C37 13.2475 36.7574 13.0048 36.458 13.0048C36.1586 13.0048 35.916 13.2475 35.916 13.5468V19.0006C35.916 21.3167 34.0317 23.201 31.7155 23.201H30.5663V11.703C30.5663 8.78917 28.1957 6.41857 25.2818 6.41857H7.51765V5.56367C7.51765 3.24756 9.40198 1.36323 11.7182 1.36323H31.7155C34.0317 1.36323 35.916 3.24756 35.916 5.56367V11.0175C35.916 11.3168 36.1586 11.5595 36.458 11.5595C36.7574 11.5595 37 11.3168 37 11.0175V5.56367C37 2.64978 34.6294 0.279175 31.7155 0.279175Z","fill","var(--green-primary)"],["id","icon-new-location","viewBox","0 0 12 16"],["d","M10.7619 3.98225C10.705 3.7688 10.5893 3.54136 10.5038 3.34223C9.47997 0.881778 7.24297 0 5.43671 0C3.0187 0 0.355553 1.62138 0 4.96342V5.64622C0 5.67471 0.00982067 5.93068 0.0237705 6.05872C0.223086 7.
165146 1.47987 9.34419 2.41849 10.9369C3.42831 12.6434 4.47614 14.322 5.51427 16C6.1544 14.905 6.79222 13.7956 7.41777 12.7289C7.58826 12.4159 7.78616 12.1031 7.95683 11.8043C8.07059 11.6053 8.28791 11.4064 8.38719 11.2213C9.39697 9.3725 11.0223 7.50943 11.0223 5.67468V4.92094C11.0224 4.72203 10.7758 4.02514 10.7619 3.98225ZM5.48098 7.40988C4.77021 7.40988 3.99222 7.05448 3.60821 6.07297C3.55099 5.91673 3.55561 5.60362 3.55561 5.57494V5.13406C3.55561 3.88281 4.61802 3.31381 5.54228 3.31381C6.68014 3.31381 7.56017 4.22415 7.56017 5.36201C7.56017 6.49984 6.61884 7.40988 5.48098 7.40988Z","fill","#323232","fill-opacity","0.35"],["id","icon-new-phone","viewBox","0 0 12 16"],["d","M10.5951 0.447934V0.446281C10.3111 0.160785 9.92506 0.000165289 9.52238 0H2.4761C1.63919 0.00272727 0.961468 0.680455 0.95874 1.51736V14.481C0.958906 14.8837 1.11953 15.2697 1.40502 15.5537C1.68862 15.8388 2.07399 15.9994 2.4761 16H9.52403C9.92614 15.9994 10.3115 15.8388 10.5951 15.5537C10.8802 15.2701 11.0408 14.8848 11.0414 14.4826V1.51901C11.0408 1.1169 10.8802 0.731529 10.5951 0.447934ZM6.00006 14.9702C5.77366 14.9702 5.59014 14.7867 5.59014 14.5603C5.59014 14.3339 5.77366 14.1504 6.00006 14.1504C6.22647 14.1504 6.40998 14.3339 6.40998 14.5603C6.40998 14.7867 6.22647 14.9702 6.00006 14.9702ZM9.83642 12.3967C9.83642 12.9444 9.39242 13.3884 8.84469 13.3884H3.15378C2.60605 13.3884 2.16205 12.9444 2.16205 12.3967V2.73554C2.16205 2.18781 2.60605 1.7438 3.15378 1.7438H8.84634C9.39407 1.7438 9.83808 2.18781 9.83808 2.73554L9.83642 12.3967Z","fill","#323232","fill-opacity","0.35"],["id","auth-user","viewBox","0 0 512 512"],["d","M344 144c-3.92 52.87-44 96-88 96s-84.15-43.12-88-96c-4-55 35-96 88-96s92 42 88 96z","fill","none","stroke-linecap","round","stroke-linejoin","round","stroke-width","32"],["d","M256 304c-87 0-175.3 48-191.64 138.6C62.39 453.52 68.57 464 80 464h352c11.44 0 17.62-10.48 15.65-21.4C431.3 352 343 304 256 304z","fill","none","stroke-miterlimit","10","stroke-width","32"]],template:function(e,t){1&e&&(i.Tc(),i.Ec(0,"svg",0),i.Ec(1,"symbol",1),i.zc(2,"path",2),i.zc(3,"path",3),i.zc(4,"path",4),i.zc(5,"path",5),i.zc(6,"path",6),i.zc(7,"path",7),i.zc(8,"path",8),i.Ec(9,"g",9),i.zc(10,"path",10),i.zc(11,"path",11),i.zc(12,"path",12),i.zc(13,"path",13),i.Dc(),i.Dc(),i.Ec(14,"symbol",14),i.zc(15,"path",15),i.Dc(),i.Ec(16,"symbol",16),i.zc(17,"path",17),i.Dc(),i.Ec(18,"symbol",18),i.zc(19,"path",19),i.Dc(),i.Ec(20,"symbol",20),i.zc(21,"path",21),i.Dc(),i.Ec(22,"symbol",22),i.zc(23,"path",23),i.Dc(),i.Ec(24,"symbol",24),i.zc(25,"path",25),i.zc(26,"path",26),i.Dc(),i.Ec(27,"symbol",27),i.zc(28,"path",28),i.Dc(),i.Ec(29,"symbol",29),i.zc(30,"path",30),i.Dc(),i.Ec(31,"symbol",31),i.zc(32,"path",32),i.zc(33,"path",33),i.zc(34,"path",34),i.Dc(),i.Ec(35,"symbol",35),i.zc(36,"path",36),i.zc(37,"path",37),i.Dc(),i.Ec(38,"symbol",38),i.zc(39,"path",39),i.zc(40,"path",40),i.Dc(),i.Ec(41,"symbol",41),i.Ec(42,"style",42),i.zd(43,".st0{fill-rule:evenodd;clip-rule:evenodd;fill:#F5BA8C;}.st1{fill:#F5BA8C;}"),i.Dc(),i.Ec(44,"g"),i.Ec(45,"g"),i.zc(46,"path",43),i.Dc(),i.Ec(47,"g"),i.zc(48,"path",44),i.Dc(),i.Dc(),i.Dc(),i.Ec(49,"symbol",45),i.Ec(50,"defs"),i.Ec(51,"style",42),i.zd(52,".cls-1{fill: #00f2ea;}.cls-2{fill: #fff;}.cls-3 {fill: #ff004f;}"),i.Dc(),i.Dc(),i.Ec(53,"g",46),i.zc(54,"path",47),i.zc(55,"path",48),i.zc(56,"path",49),i.zc(57,"path",50),i.zc(58,"path",51),i.Dc(),i.Ec(59,"g",52),i.zc(60,"path",53),i.zc(61,"path",54),i.zc(62,"path",55),i.zc(63,"path",56),i.zc(64,"path",57),i.Dc(),i.Dc(),i.Dc(),i.Ec(65,"svg",0),i.Ec(66,"symbol",58),i.zc(67,"circle",59),i.zc(68,"circle",60),i.zc(69,"circle",61),i.zc(70,"path",62),i.Dc(),i.Ec(71,"symbol",63),i.zc(72,"path",64),i.Dc(),i.Ec(73,"symbol",65),i.zc(74,"path",66),i.Dc(),i.Ec(75,"symbol",67),i.zc(76,"path",68),i.Dc(),i.Ec(77,"symbol",69),i.zc(78,"path",70),i.zc(79,"path",71),i.Dc(),i.Ec(80,"symbol",72),i.zc(81,"path",73),i.Dc(),i.Ec(82,"symbol",74),i.zc(83,"path",75),i.Dc(),i.Ec(84,"symbol",76),i.zc(85,"path",77),i.Dc(),i.Ec(86,"symbol",78),i.Ec(87,"g"),i.zc(88,"path",79),i.zc(89,"path",80),i.zc(90,"path",81),i.zc(91,"path",82),i.Dc(),i.Dc(),i.Ec(92,"symbol",83),i.zc(93,"path",84),i.Dc(),i.Ec(94,"symbol",85),i.Ec(95,"g"),i.zc(96,"path",86),i.zc(97,"path",87),i.Dc(),i.Dc(),i.Ec(98,"symbol",88),i.Ec(99,"g"),i.zc(100,"path",89),i.zc(101,"path",90),i.zc(102,"path",91),i.zc(103,"path",92),i.zc(104,"path",93),i.zc(105,"path",94),i.Dc(),i.Dc(),i.Ec(106,"symbol",95),i.zc(107,"path",96),i.Dc(),i.Ec(108,"symbol",97),i.zc(109,"path",98),i.Dc(),i.Ec(110,"symbol",99),i.zc(111,"path",100),i.Dc(),i.Ec(112,"symbol",101),i.zc(113,"path",102),i.Dc(),i.Ec(114,"symbol",103),i.zc(115,"path",104),i.Dc(),i.Ec(116,"symbol",105),i.zc(117,"path",106),i.Dc(),i.Ec(118,"symbol",107),i.zc(119,"path",108),i.Dc(),i.Ec(120,"symbol",109),i.zc(121,"path",110),i.zc(122,"path",111),i.zc(123,"path",112),i.Dc(),i.Ec(124,"symbol",113),i.zc(125,"path",114),i.zc(126,"path",115),i.Dc(),i.Ec(127,"symbol",116),i.zc(128,"path",117),i.zc(129,"path",118),i.Dc(),i.Ec(130,"symbol",119),i.Ec(131,"g",120),i.zc(132,"path",121),i.zc(133,"path",122),i.zc(134,"path",123),i.zc(135,"path",124),i.zc(136,"path",125),i.zc(137,"path",126),i.Dc(),i.Ec(138,"defs"),i.Ec(139,"clipPath",127),i.zc(140,"rect",128),i.Dc(),i.Dc(),i.Dc(),i.Ec(141,"symbol",129),i.zc(142,"line",130),i.zc(143,"line",131),i.zc(144,"line",132),i.Dc(),i.Ec(145,"symbol",133),i.zc(146,"path",134),i.Dc(),i.Ec(147,"symbol",135),i.zc(148,"path",136),i.zc(149,"path",137),i.zc(150,"path",138),i.Dc(),i.Ec(151,"symbol",139),i.zc(1
152,"path",140),i.zc(153,"path",141),i.Dc(),i.Ec(154,"symbol",142),i.Ec(155,"g",143),i.zc(156,"path",144),i.zc(157,"path",145),i.zc(158,"path",146),i.zc(159,"path",147),i.Dc(),i.Ec(160,"defs"),i.Ec(161,"clipPath",148),i.zc(162,"rect",149),i.Dc(),i.Dc(),i.Dc(),i.Ec(163,"symbol",150),i.zc(164,"path",151),i.Dc(),i.Ec(165,"symbol",152),i.zc(166,"path",153),i.zc(167,"path",154),i.zc(168,"path",155),i.Dc(),i.Ec(169,"symbol",156),i.zc(170,"path",157),i.Dc(),i.Ec(171,"symbol",158),i.zc(172,"path",159),i.zc(173,"path",160),i.zc(174,"path",161),i.zc(175,"path",162),i.zc(176,"path",163),i.zc(177,"path",164),i.zc(178,"path",165),i.zc(179,"path",166),i.zc(180,"path",167),i.zc(181,"path",168),i.zc(182,"path",169),i.zc(183,"path",170),i.zc(184,"path",171),i.zc(185,"path",172),i.zc(186,"path",173),i.zc(187,"path",174),i.zc(188,"path",175),i.zc(189,"path",176),i.zc(190,"path",177),i.zc(191,"path",178),i.zc(192,"path",179),i.zc(193,"path",180),i.zc(194,"path",181),i.zc(195,"path",182),i.zc(196,"path",183),i.zc(197,"path",184),i.zc(198,"path",185),i.zc(199,"path",186),i.zc(200,"path",187),i.zc(201,"path",188),i.zc(202,"path",189),i.zc(203,"path",190),i.Dc(),i.Ec(204,"symbol",191),i.zc(205,"path",192),i.zc(206,"path",193),i.zc(207,"path",194),i.zc(208,"path",195),i.zc(209,"path",196),i.zc(210,"path",197),i.zc(211,"path",198),i.Dc(),i.Ec(212,"symbol",199),i.Ec(213,"g",200),i.zc(214,"path",201),i.Dc(),i.Ec(215,"defs"),i.Ec(216,"clipPath",202),i.zc(217,"rect",149),i.Dc(),i.Dc(),i.Dc(),i.Ec(218,"symbol",203),i.Ec(219,"defs"),i.Ec(220,"style"),i.zd(221,".cls-1 { fill: none; stroke: #231f20; stroke-linejoin: round; stroke-width: 2px; }"),i.Dc(),i.Dc(),i.zc(222,"path",204),i.Dc(),i.Ec(223,"symbol",205),i.zc(224,"path",206),i.Dc(),i.Dc(),i.Ec(225,"svg",0),i.Ec(226,"symbol",207),i.zc(227,"path",208),i.zc(228,"path",209),i.zc(229,"path",210),i.zc(230,"path",211),i.zc(231,"path",212),i.zc(232,"path",213),i.Dc(),i.Ec(233,"symbol",214),i.zc(234,"path",215),i.zc(235,"path",216),i.Dc(),i.Ec(236,"symbol",217),i.zc(237,"path",218),i.zc(238,"path",219),i.zc(239,"path",220),i.zc(240,"path",221),i.Dc(),i.Ec(241,"symbol",222),i.zc(242,"path",223),i.zc(243,"path",224),i.zc(244,"path",225),i.Dc(),i.Ec(245,"symbol",226),i.zc(246,"path",227),i.zc(247,"path",228),i.zc(248,"path",229),i.Dc(),i.Ec(249,"symbol",230),i.zc(250,"path",231),i.zc(251,"path",232),i.zc(252,"path",233),i.Dc(),i.Ec(253,"symbol",234),i.zc(254,"path",235),i.zc(255,"path",236),i.Dc(),i.Ec(256,"symbol",237),i.zc(257,"path",238),i.Dc(),i.Ec(258,"symbol",239),i.zc(259,"path",240),i.zc(260,"path",241),i.zc(261,"path",242),i.zc(262,"path",243),i.zc(263,"path",244),i.Dc(),i.Ec(264,"symbol",245),i.zc(265,"path",246),i.Dc(),i.Ec(266,"symbol",247),i.zc(267,"path",248),i.Dc(),i.Ec(268,"symbol",249),i.zc(269,"path",250),i.zc(270,"path",251),i.Dc(),i.Dc())},encapsulation:2,changeDetection:0}),v),H=n("7Yz4"),B=n("XNiG"),q=n("1G5W"),$=n("vkgz"),W=n("pLZG"),G=n("kBKH");function X(e,t){if(1&e&&(i.Tc(),i.Ec(0,"svg",4),i.zc(1,"use"),i.Dc()),2&e){var n=i.Uc(2);i.wd("fill",n.menuItemColor),i.jc(1),i.kc("href",n.menuItemIcon,null,"xlink")}}function Z(e,t){if(1&e&&(i.Ec(0,"a",2),i.xd(1,X,2,3,"svg",3),i.zd(2),i.Dc()),2&e){var n=i.Uc();i.wd("color",n.menuItemColor),i.cd("href",n.menuItemExternalUrl,i.qd),i.bd("target",n.menuItemExternalLinkOptions.target),i.kc("rel",n.menuItemLinkRel),i.jc(1),i.bd("ngIf",n.showIcon),i.jc(1),i.Bd(" ",n.navItem.label,"\n")}}function Y(e,t){if(1&e&&(i.Tc(),i.Ec(0,"svg",4),i.zc(1,"use"),i.Dc()),2&e){var n=i.Uc(2);i.wd("fill",n.menuItemColor),i.jc(1),i.kc("href",n.menuItemIcon,null,"xlink")}}function Q(e,t){if(1&e&&(i.Ec(0,"a",5),i.xd(1,Y,2,3,"svg",3),i.zd(2),i.Dc()),2&e){var n=i.Uc();i.wd("color",n.menuItemColor),i.bd("routerLink",n.menuItemUrl),i.jc(1),i.bd("ngIf",n.showIcon),i.jc(1),i.Bd(" ",n.navItem.label," ")}}var K,J=((K=function(){function e(t,n,i){_classCallCheck(this,e),this.router=t,this.routesServices=n,this.changeDetector=i,this.showIcon=!1}return _createClass(e,[{key:"ngOnChanges",value:function(e){void 0!==e.navItem&&(this.pIsMenuItemExternal=this.navItem.isExternal,this.pMenuItemColor=this.getMenuItemColor(),this.pMenuItemIcon=this.getMenuItemIcon(),this.pIsMenuItemExter
1nal?(this.pMenuItemExternalUrl=this.navItem.externalUrl,this.pMenuItemExternalLinkOptions=this.navItem.externalLinkOptions,this.pMenuItemLinkRel=this.pMenuItemExternalLinkOptions.noFollow?"nofollow":null,this.pMenuItemUrl=void 0):(this.pMenuItemUrl=this.getMenuItemUrl(),this.routesServices.isRouteForActualLanguage(this.pMenuItemUrl)||(this.pIsMenuItemExternal=!0,this.pMenuItemExternalUrl=this.router.serializeUrl(this.router.createUrlTree(this.pMenuItemUrl)),this.pMenuItemExternalLinkOptions={target:"_self"},this.pMenuItemUrl=void 0)))}},{key:"getMenuItemColor",value:function(){return"offers"===this.navItem.iconType?"var(--green-primary)":null}},{key:"getMenuItemUrl",value:function(){switch(this.navItem.type){case"catalog":return this.routesServices.buildCatalogIndexPageRoute();case"site":return this.routesServices.buildHomePageRoute();default:throw new Error("Navigation item is external")}}},{key:"getMenuItemIcon",value:function(){switch(this.navItem.iconType){case"site":return"#icon-menu_main";case"vacancy":return"#icon-menu_vacancy";case"photo":return"#icon-menu_photo";case"weather":return"#icon-menu_weather";case"news":return"#icon-menu_news";case"dosug":return"#icon-menu_dosug";case"ads":return"#icon-menu_adv";case"afisha":return"#icon-menu_afisha";case"catalog":return"#icon-menu_handbook";case"estate":return"#icon-menu_estate";case"auto":return"#icon-menu_auto";case"offers":return"#icon-menu_offers";case"menu-custom-about-us":return"#icon-menu-custom-about-us";default:return"#icon-menu_default"}}},{key:"isMenuItemExternal",get:function(){return this.pIsMenuItemExternal}},{key:"menuItemColor",get:function(){return this.pMenuItemColor}},{key:"menuItemUrl",get:function(){return this.pMenuItemUrl}},{key:"menuItemExternalUrl",get:function(){return this.pMenuItemExternalUrl}},{key:"menuItemExternalLinkOptions",get:function(){return this.pMenuItemExternalLinkOptions}},{key:"menuItemLinkRel",get:function(){return this.pMenuItemLinkRel}},{key:"menuItemIcon",get:function(){return this.pMenuItemIcon}}]),e}()).\u0275fac=function(e){return new(e||K)(i.yc(I.d),i.yc(D.fb),i.yc(i.j))},K.\u0275cmp=i.sc({type:K,selectors:[["app-navigation-item"]],inputs:{navItem:"navItem",showIcon:"showIcon"},features:[i.hc],decls:3,vars:2,consts:[["target","_self",3,"href","target","color",4,"ngIf","ngIfElse"],["internalLink",""],["target","_self",3,"href","target"],["width","20","height","20",3,"fill",4,"ngIf"],["width","20","height","20"],[3,"routerLink"]],template:function(e,t){if(1&e&&(i.xd(0,Z,3,7,"a",0),i.xd(1,Q,3,5,"ng-template",null,1,i.yd)),2&e){var n=i.kd(2);i.bd("ngIf",t.isMenuItemExternal)("ngIfElse",n)}},directives:[s.u,I.g],encapsulation:2,changeDetection:0}),K),ee=n("XhrQ");function te(e,t){if(1&e&&(i.Ec(0,"ul",6),i.Ec(1,"li",11),i.Ec(2,"a",12),i.zd(3),i.Ec(4,"span",13),i.zd(5,"in-header-menu-label"),i.Dc(),i.Dc(),i.Dc(),i.Dc()),2&e){var n=i.Uc(2);i.jc(2),i.cd("href",n.inHeader.url,i.qd),i.kc("target",n.inHeader.linkTarget)("rel",n.inHeader.linkRel),i.jc(1),i.Bd(" ",n.inHeader.label," ")}}function ne(e,t){if(1&e&&(i.Ec(0,"li"),i.zc(1,"app-navigation-item",16),i.Dc()),2&e){var n=t.$implicit;i.jc(1),i.bd("navItem",n)("showIcon",!0)}}function ie(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ul",14),i.Qc("click",(function(){return i.nd(n),i.Uc(2).hideMenu()})),i.xd(1,ne,2,2,"li",15),i.Dc()}if(2&e){var r=i.Uc(2);i.jc(1),i.bd("ngForOf",r.primaryMenuItems)}}function re(e,t){if(1&e&&(i.Ec(0,"li"),i.zc(1,"app-navigation-item",18),i.Dc()),2&e){var n=t.$implicit;i.jc(1),i.bd("navItem",n)}}function ae(e,t){if(1&e){var n=i.Fc();i.Ec(0,"ul",17),i.Qc("click",(function(){return i.nd(n),i.Uc(2).hideMenu()})),i.xd(1,re,2,1,"li",15),i.Dc()}if(2&e){var r=i.Uc(2);i.jc(1),i.bd("ngForOf",r.secondaryMenuItems)}}function oe(e,t){1&e&&i.zc(0,"app-circle-loader",24),2&e&&i.bd("small",!0)}function se(e,t){1&e&&(i.Tc(),i.Ec(0,"svg",25),i.zc(1,"path",26),i.Dc())}function ce(e,t){if(1&e){var n=i.Fc();i.Cc(0),i.Ec(1,"a",19),i.Vc(2,"translate"),i.zc(3,"div",20),i.Ec(4,"span"),i.zd(5),i.Dc(),i.Dc(),i.Ec(6,"button",21),i.Qc("click",(function(){return i.nd(n),i.Uc(2).doLogOut()})),i.Vc(7,"translate"),i.xd(8,oe,1,1,"app-circle-loader",22),i.xd(9,se,2,0,"ng-template",null,23,i.yd
1),i.Dc(),i.Bc()}if(2&e){var r=i.kd(10),a=i.Uc(2);i.jc(1),i.cd("href",a.userCabinetUrl,i.qd),i.cd("title",i.Wc(2,7,"navigate-to-cabinet-prompt")),i.jc(2),i.bd("lazyLoad",a.user.avatarUrl),i.jc(2),i.Ad(a.user.userName),i.jc(1),i.cd("title",i.Wc(7,9,"sign-out-prompt")),i.jc(2),i.bd("ngIf",a.logOutInProgress)("ngIfElse",r)}}function le(e,t){if(1&e){var n=i.Fc();i.Tc(),i.Ec(0,"svg",27),i.zc(1,"use",28),i.Dc(),i.Sc(),i.Ec(2,"button",29),i.Qc("click",(function(){return i.nd(n),i.Uc(2).authModalsService.openSignInModal()})),i.zd(3,"sign-in-prompt"),i.Dc(),i.Ec(4,"span",30),i.zd(5,"|"),i.Dc(),i.Ec(6,"button",29),i.Qc("click",(function(){return i.nd(n),i.Uc(2).authModalsService.openSignUpModal()})),i.zd(7,"sign-up-label"),i.Dc()}}function ue(e,t){if(1&e){var n=i.Fc();i.Cc(0),i.Ec(1,"div",1),i.Ec(2,"nav",2),i.xd(3,te,6,4,"ul",3),i.xd(4,ie,2,1,"ul",4),i.xd(5,ae,2,1,"ul",5),i.Ec(6,"ul",6),i.Ec(7,"li",7),i.xd(8,ce,11,11,"ng-container",8),i.xd(9,le,8,0,"ng-template",null,9,i.yd),i.Dc(),i.Dc(),i.Dc(),i.Dc(),i.Ec(11,"div",10),i.Qc("click",(function(){return i.nd(n),i.Uc().hideMenu()})),i.Dc(),i.Bc()}if(2&e){var r=i.kd(10),a=i.Uc();i.jc(3),i.bd("ngIf",a.hasInHeaderMenuItem),i.jc(1),i.bd("ngIf",a.hasPrimaryMenuItems),i.jc(1),i.bd("ngIf",a.hasSecondaryMenuItems),i.jc(3),i.bd("ngIf",a.isAuthenticated)("ngIfElse",r)}}var de,he=((de=function(){function e(t,n,i,r){_classCallCheck(this,e),this.authModalsService=t,this.authService=n,this.configService=i,this.changeDetector=r,this.onDestroy$=new B.a,this.pIsMenuOpened=!1,this.pIsAuthenticated=!1,this.pLogOutInProgress=!1,this.pUser=null,this.pInHeader=null}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.configService.allConfig.pipe(Object(q.a)(this.onDestroy$),Object(M.a)(1),Object($.a)((function(t){var n,i;e.pInHeader=t.navigation.inHeader,e.pHasInHeaderMenuItem=(null===(i=null===(n=e.pInHeader)||void 0===n?void 0:n.label)||void 0===i?void 0:i.length)>0;var r=t.navigation.desktop.slice();e.pPrimaryMenuItems=r.splice(0,4),e.pSecondaryMenuItems=r,e.pHasPrimaryMenuItems=e.pPrimaryMenuItems.length>0,e.pHasSecondaryMenuItems=e.pSecondaryMenuItems.length>0,e.pUserCabinetUrl=t.oldUrls.cabinet,e.changeDetector.markForCheck()}))).subscribe(),this.authService.userModel.pipe(Object(q.a)(this.onDestroy$),Object($.a)((function(t){e.pUser=t,e.pIsAuthenticated=null!==e.pUser,e.changeDetector.markForCheck()}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"showMenu",value:function(){this.pIsMenuOpened=!0,this.changeDetector.markForCheck()}},{key:"hideMenu",value:function(){this.pIsMenuOpened=!1,this.changeDetector.markForCheck()}},{key:"doLogOut",value:function(){var e=this;this.pLogOutInProgress=!0,this.authService.signOut().pipe(Object(q.a)(this.onDestroy$),Object(M.a)(1)).subscribe({complete:function(){e.pLogOutInProgress=!1,e.changeDetector.markForCheck()}})}},{key:"isMenuOpened",get:function(){return this.pIsMenuOpened}},{key:"isAuthenticated",get:function(){return this.pIsAuthenticated}},{key:"logOutInProgress",get:function(){return this.pLogOutInProgress}},{key:"userCabinetUrl",get:function(){return this.pUserCabinetUrl}},{key:"user",get:function(){return this.pUser}},{key:"primaryMenuItems",get:function(){return this.pPrimaryMenuItems}},{key:"secondaryMenuItems",get:function(){return this.pSecondaryMenuItems}},{key:"hasPrimaryMenuItems",get:function(){return this.pHasPrimaryMenuItems}},{key:"hasSecondaryMenuItems",get:function(){return this.pHasSecondaryMenuItems}},{key:"hasInHeaderMenuItem",get:function(){return this.pHasInHeaderMenuItem}},{key:"inHeader",get:function(){return this.pInHeader}}]),e}()).\u0275fac=function(e){return new(e||de)(i.yc(D.e),i.yc(D.f),i.yc(G.c),i.yc(i.j))},de.\u0275cmp=i.sc({type:de,selectors:[["app-side-menu"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"side-menu","container-fluid"],[1,"top-nav"],["class","unstyled-list",4,"ngIf"],["class","unstyled-list top-nav__list--primary",3,"click",4,"ngIf"],["class","unstyled-list top-nav__list--secondary",3,"click",4,"ngIf"],[1,"unstyled-list"],[1,"top-nav__link-span","top-nav__mobile-navigation"],[4,"ngIf","ngIfElse"],["mobileLogin",""],[1,"site-overlay",3,"click"],[1,"top-nav__link-span"],[3,"href"],["translate","",1,"top-nav__link-span--special"],[1,"unstyled-list","top-nav__list--primary",3,"click"],[4,"ngFor","ngForOf"],[3,"navItem","showIcon"],[1,"unstyled-list","top-nav__list--secondary",3,"click"],[3,"navItem"],[1,"top-nav__mobile-navigation--auth-user",3,"href","title"],[1,"avatar","rounded-bg-image",3,"lazyLoad"],["type","button",1,"logout-btn","clean-btn",3,"title","click"],[3,"small",4,"ngIf","ngIfElse"],["logOutIcon",""],[3,"small"],["viewBox","0 0 511 512","height","16","width","16"],["d","M361.5 392v40c0 44.113-35.887 80-80 80h-201c-44.113 0-80-35.887-80-80V80c0-44.113 35.887-80 80-80h201c44.113 0 80 35.887 80 80v40c0 11.047-8.953 20-20 20s-20-8.953-20-20V80c0-22.055-17.945-40-40-40h-201c-22.055 0-40 17.945-40 40v352c0 22.055 17.945 40 40 40h201c22.055 0 40-17.945 40-40v-40c0-11.047 8.953-20 20-20s20 8.953 20 20zm136.355-170.355l
1-44.785-44.786c-7.812-7.812-20.476-7.812-28.285 0-7.812 7.809-7.812 20.473 0 28.282L456.641 237H216.5c-11.047 0-20 8.953-20 20s8.953 20 20 20h240.14l-31.855 31.86c-7.812 7.808-7.812 20.472 0 28.28a19.935 19.935 0 0014.14 5.86 19.937 19.937 0 0014.145-5.86l44.785-44.785c19.497-19.496 19.497-51.214 0-70.71zm0 0"],["width","26","height","26",2,"stroke","var(--green-primary)"],[0,"xlink","href","#auth-user"],["type","button","translate","",1,"top-nav__navigation-button",3,"click"],[1,"top-nav__navigation-button"]],template:function(e,t){1&e&&i.xd(0,ue,12,5,"ng-container",0),2&e&&i.bd("ngIf",t.isMenuOpened)},directives:[s.u,k.b,s.t,J,z.a,ee.a],pipes:[k.d],styles:['.side-menu[_ngcontent-%COMP%]{position:fixed;z-index:10;top:0;left:0;background-color:#fff;box-shadow:3px 0 6px rgba(50,50,50,.15);transition:all .3s ease-out;height:100%;width:320px;max-height:80%;overflow-y:auto}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]{font-size:1.3rem;padding:8px 0}.side-menu[_ngcontent-%COMP%]   .top-nav__mobile-navigation[_ngcontent-%COMP%]{display:flex;align-items:center;padding:8px!important;border-bottom:none!important}.side-menu[_ngcontent-%COMP%]   .top-nav__mobile-navigation[_ngcontent-%COMP%]   .logout-btn[_ngcontent-%COMP%]{margin-left:auto}.side-menu[_ngcontent-%COMP%]   .top-nav__mobile-navigation--auth-user[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center}.side-menu[_ngcontent-%COMP%]   .top-nav__mobile-navigation--auth-user[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#dcdcdc;margin-right:10px}.side-menu[_ngcontent-%COMP%]   .top-nav__navigation-button[_ngcontent-%COMP%]{flex-shrink:0;border:unset;color:#323232;background-color:unset;font-size:1.3rem;font-weight:300}.side-menu[_ngcontent-%COMP%]   .top-nav__navigation-button[_ngcontent-%COMP%]:first-of-type{margin-left:12px}.side-menu[_ngcontent-%COMP%]   .top-nav__link-span--special[_ngcontent-%COMP%]{margin-left:5px;padding:4px 8px;font-size:11px;background-color:#fc884e;color:#fff;border-radius:10px}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0 -4px}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{position:relative;padding:8px 8px 8px 52px;border-bottom:1px solid rgba(50,50,50,.15)}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]:before{content:"";position:absolute;left:12px;top:50%;transform:translateY(-50%);height:5px;width:5px;background-color:var(--green-primary);border-radius:50%;display:block}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}.side-menu[_ngcontent-%COMP%]   .top-nav__list--primary[_ngcontent-%COMP%]{padding-bottom:25px;border-bottom:1px solid var(--green-primary)}.side-menu[_ngcontent-%COMP%]   .top-nav__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:10px!important}.side-menu[_ngcontent-%COMP%]   .top-nav__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]     a{font-size:22px;font-weight:300;display:flex}.side-menu[_ngcontent-%COMP%]   .top-nav__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]     a svg{fill:var(--green-primary);width:24px;height:24px;margin-right:20px}.side-menu[_ngcontent-%COMP%]   .top-nav__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{border-bottom:none!important}.side-menu[_ngcontent-%COMP%]   .top-nav__list--secondary[_ngcontent-%COMP%]{padding-bottom:25px}.side-menu[_ngcontent-%COMP%]   .top-nav__list--secondary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{border-bottom:none!important}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]     a{font-weight:400;line-height:30px;transition:all .3s ease-out}.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]     a:focus, .side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]     a:hover{color:var(--green-primary)}
1.side-menu[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]     a:focus{outline:none}.site-overlay[_ngcontent-%COMP%]{display:block;position:fixed;top:0;left:0;width:100%;height:100%;content:""}'],changeDetection:0}),de),fe=n("Y6Wm");function pe(e,t){if(1&e&&(i.Ec(0,"li"),i.zc(1,"app-navigation-item",8),i.Dc()),2&e){var n=t.$implicit;i.jc(1),i.bd("navItem",n)("showIcon",!0)}}function ge(e,t){if(1&e&&(i.Ec(0,"ul",6),i.xd(1,pe,2,2,"li",7),i.Dc()),2&e){var n=i.Uc(2);i.jc(1),i.bd("ngForOf",n.primaryMenuItems)}}function ve(e,t){if(1&e){var n=i.Fc();i.Ec(0,"div",9),i.Qc("click",(function(){return i.nd(n),i.Uc(2).showSideMenu.emit()})),i.Tc(),i.Ec(1,"svg",10),i.zc(2,"use",11),i.Dc(),i.Dc()}}function me(e,t){1&e&&i.zd(0,"\xa0")}function be(e,t){if(1&e&&(i.Ec(0,"li"),i.zc(1,"app-navigation-item",13),i.Dc()),2&e){var n=t.$implicit;i.jc(1),i.bd("navItem",n)}}function ye(e,t){if(1&e&&(i.Ec(0,"ul",12),i.xd(1,be,2,1,"li",7),i.Dc()),2&e){var n=i.Uc(2);i.jc(1),i.bd("ngForOf",n.secondaryMenuItems)}}function Ce(e,t){if(1&e&&(i.Ec(0,"nav",1),i.xd(1,ge,2,1,"ul",2),i.xd(2,ve,3,0,"div",3),i.xd(3,me,1,0,"ng-template",null,4,i.yd),i.xd(5,ye,2,1,"ul",5),i.Dc()),2&e){var n=i.kd(4),r=i.Uc();i.jc(1),i.bd("ngIf",r.hasPrimaryMenuItems)("ngIfElse",n),i.jc(1),i.bd("ngIf",r.isSlimType),i.jc(3),i.bd("ngIf",r.hasSecondaryMenuItems)}}var _e,we=((_e=function(){function e(t,n){_classCallCheck(this,e),this.configService=t,this.changeDetector=n,this.showSideMenu=new i.s,this.pIsReady=!1,this.onDestroy$=new B.a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.configService.allConfig.pipe(Object(q.a)(this.onDestroy$),Object(M.a)(1),Object($.a)((function(t){e.pType=t.mainConfig.siteHeaderType,e.pIsSlimType="slim"===e.pType;var n=t.navigation.desktop.slice();e.pPrimaryMenuItems=n.splice(0,4),e.pSecondaryMenuItems=n,e.pHasPrimaryMenuItems=e.pPrimaryMenuItems.length>0,e.pHasSecondaryMenuItems=!e.pIsSlimType&&e.pSecondaryMenuItems.length>0,e.pIsReady=!0,e.changeDetector.markForCheck()}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"secondaryMenuItems",get:function(){return this.pSecondaryMenuItems}},{key:"primaryMenuItems",get:function(){return this.pPrimaryMenuItems}},{key:"type",get:function(){return this.pType}},{key:"isSlimType",get:function(){return this.pIsSlimType}},{key:"hasPrimaryMenuItems",get:function(){return this.pHasPrimaryMenuItems}},{key:"hasSecondaryMenuItems",get:function(){return this.pHasSecondaryMenuItems}},{key:"isReady",get:function(){return this.pIsReady}}]),e}()).\u0275fac=function(e){return new(e||_e)(i.yc(G.c),i.yc(i.j))},_e.\u0275cmp=i.sc({type:_e,selectors:[["app-main-menu"]],outputs:{showSideMenu:"showSideMenu"},decls:1,vars:1,consts:[["class","main-nav d-none d-lg-flex",4,"ngIf"],[1,"main-nav","d-none","d-lg-flex"],["class","unstyled-list navigation__list--primary",4,"ngIf","ngIfElse"],["class","burger-btn",3,"click",4,"ngIf"],["mainNavCap",""],["class","unstyled-list navigation__list--secondary",4,"ngIf"],[1,"unstyled-list","navigation__list--primary"],[4,"ngFor","ngForOf"],[3,"navItem","showIcon"],[1,"burger-btn",3,"click"],["width","24","height","24"],[0,"xlink","href","#icon-burger-menu"],[1,"unstyled-list","navigation__list--secondary"],[3,"navItem"]],template:function(e,t){1&e&&i.xd(0,Ce,6,4,"nav",0),2&e&&i.bd("ngIf",t.isReady)},directives:[s.u,s.t,J],styles:['.main-nav[_ngcontent-%COMP%]{width:100%;margin-top:16px;overflow-x:auto;margin-right:auto;flex-wrap:wrap}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]{display:flex;justify-content:space-around}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-of-type){margin-right:24px}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a{display:flex;flex-direction:column;width:-webkit-min-content;width:-moz-min-content;width:min-content;overflow-y:hidden;align-items:center;text-align:center;font-size:24px;font-weight:300;transition:all .3s ease-out}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a svg{display:inline-block;margin-bottom:4px;transition:all .3s ease-out}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a span{dis
1play:block}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a:focus, .main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a:hover{color:var(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a:focus svg, .main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a:hover svg{fill:var(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a:focus{outline:none}@media (min-width:530px){.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a{flex-direction:row;line-height:18px;width:auto}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a svg{margin-bottom:0;margin-right:8px}}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#323232}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li.attention[_ngcontent-%COMP%]{position:relative}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   li.attention[_ngcontent-%COMP%]:after{position:absolute;top:5px;right:-5px;width:5px;height:5px;border-radius:50%;background-color:#fb661c;content:""}.main-nav[_ngcontent-%COMP%]   .burger-btn[_ngcontent-%COMP%]{padding:8px;margin:0 0 0 20px}.main-nav[_ngcontent-%COMP%]   .burger-btn[_ngcontent-%COMP%]:hover{cursor:pointer}@media (min-width:1024px) and (max-width:1320px){.main-nav[_ngcontent-%COMP%]   .burger-btn[_ngcontent-%COMP%]{margin:0 0 0 10px}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--primary[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a svg{margin-right:3px!important}}@media (min-width:1024px){.main-nav[_ngcontent-%COMP%]{width:auto;margin-top:0;overflow:visible}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{align-items:center}}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--secondary[_ngcontent-%COMP%]{margin:0 -4px;padding:0 5px;width:100%}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--secondary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;position:relative;margin:15px 20px 0 0}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--secondary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a{font-size:14px;text-decoration:underline;transition:.3s linear}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--secondary[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   app-navigation-item[_ngcontent-%COMP%]     a:hover{color:var(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--secondary[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]:before{content:"";position:absolute;left:12px;top:50%;transform:translateY(-50%);height:5px;width:5px;background-color:var(--green-primary);border-radius:50%;display:block}.main-nav[_ngcontent-%COMP%]   ul.navigation__list--secondary[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}'],changeDetection:0}),_e),ke=n("Zivq"),xe=n("4DlN"),Oe=n("Kj3r"),Se=n("/uUt"),Pe=n("eIep"),Ee=n("EY2u"),Me=n("OevD"),Ie=["searchInput"];function De(e,t){if(1&e&&(i.zc(0,"div",12),i.Vc(1,"safeHtml")),2&e){var n=i.Uc();i.bd("innerHTML",i.Wc(1,1,n.searchContent),i.od)}}var je,Ae=((je=function(){function e(t,n,r){_classCallCheck(this,e),this.injector=t,this.formBuilder=n,this.document=r,this.isOpen=!1,this.togglePanel=new i.s,this.setInputFocus=!1,this.onDestroy$=new B.a}
1return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.searchForm=this.formBuilder.group({searchWord:["",T.D.required]}),this.searchForm.get("searchWord").valueChanges.pipe(Object(q.a)(this.onDestroy$),Object(Oe.a)(300),Object(Se.a)(),Object(Pe.a)((function(t){return e.searchContent=void 0,t.length>0?e.injector.get(D.nb).doSearchRequest(t):Ee.a})),Object($.a)((function(t){e.searchContent=t}))).subscribe()}},{key:"ngOnChanges",value:function(e){var t;(null===(t=e.isOpen)||void 0===t?void 0:t.currentValue)&&(this.setInputFocus=!0)}},{key:"ngAfterViewChecked",value:function(){this.setInputFocus&&(this.searchInput.nativeElement.focus(),this.setInputFocus=!1)}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"closePanel",value:function(){this.togglePanel.emit()}},{key:"onSearchHandler",value:function(){var e=this.searchForm.get("searchWord").value;e.length>0&&(this.document.location.href="".concat(this.searchUrl,"?searchWord=").concat(encodeURIComponent(e)))}}]),e}()).\u0275fac=function(e){return new(e||je)(i.yc(i.w),i.yc(T.f),i.yc(s.e))},je.\u0275cmp=i.sc({type:je,selectors:[["app-search-form"]],viewQuery:function(e,t){var n;1&e&&i.ud(Ie,!0,i.q),2&e&&i.jd(n=i.Rc())&&(t.searchInput=n.first)},inputs:{isOpen:"isOpen",searchUrl:"searchUrl"},outputs:{togglePanel:"togglePanel"},features:[i.hc],decls:15,vars:7,consts:[[1,"row"],[1,"col-10"],[1,"header-search-form-wrapper"],[3,"formGroup","ngSubmit"],[1,"w-100"],["type","text","formControlName","searchWord",1,"form-control",3,"placeholder"],["searchInput",""],[3,"innerHTML",4,"ngIf"],["type","submit",1,"btn","btn--sm"],[0,"xlink","href","#icon-search"],["type","button",1,"clean-btn","header-search-form-wrapper__close",3,"click"],[0,"xlink","href","#icon-close"],[3,"innerHTML"]],template:function(e,t){1&e&&(i.Ec(0,"div",0),i.Ec(1,"div",1),i.Ec(2,"div",2),i.Ec(3,"form",3),i.Qc("ngSubmit",(function(){return t.onSearchHandler()})),i.Ec(4,"div",4),i.zc(5,"input",5,6),i.Vc(7,"translate"),i.xd(8,De,2,3,"div",7),i.Dc(),i.Ec(9,"button",8),i.Tc(),i.Ec(10,"svg"),i.zc(11,"use",9),i.Dc(),i.Dc(),i.Sc(),i.Ec(12,"button",10),i.Qc("click",(function(){return t.closePanel()})),i.Tc(),i.Ec(13,"svg"),i.zc(14,"use",11),i.Dc(),i.Dc(),i.Dc(),i.Dc(),i.Dc(),i.Dc()),2&e&&(i.jc(2),i.pc("is-open",t.isOpen),i.jc(1),i.bd("formGroup",t.searchForm),i.jc(2),i.cd("placeholder",i.Wc(7,5,"form-attribute-search-prompt")),i.jc(3),i.bd("ngIf",t.searchContent))},directives:[T.F,T.q,T.i,T.c,T.p,T.h,s.u],pipes:[k.d,Me.a],styles:['.header-search-form-wrapper[_ngcontent-%COMP%]{visibility:hidden;opacity:0;position:fixed;z-index:-1;top:0;left:0;bottom:0;width:100%;padding:60px 5% 0;background-color:rgba(0,0,0,.5);pointer-events:none;overflow:auto;transition:none}.header-search-form-wrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{display:flex;padding:0 16px;justify-content:center;align-items:flex-start}.header-search-form-wrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:block;width:100%;height:60px;line-height:56px;margin:0 auto;padding:0 15px;background-color:transparent;border:none;border-bottom:2px solid #fff;transition:none;outline:none;font-weight:700;font-size:24px;color:#fff}.header-search-form-wrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-moz-placeholder{color:#fff}.header-search-form-wrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::placeholder{color:#fff}.header-search-form-wrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:9px}.header-search-form-wrapper[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#fff;width:26px;height:26px}.header-search-form-wrapper__close[_ngcontent-%COMP%]{padding:8px}.header-search-form-wrapper__close[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#fff;width:26px;height:26px}.header-search-form-wrapper.is-open[_ngcontent-%COMP%]{visibility:visible;z-index:100;pointer-events:auto;opacity:1}@media (min-width:1024px){.header-search-form-wrapper[_ngcontent-%COMP%]{padding:120px 20% 0}}[_nghost-%COMP%]     .search-line{display:flex;align-items:center;padding:10px 0}[_nghost-%COMP%]     .search-line:after{display:block;clear:both;content:""}[_nghost-%COMP%]     .search-line__image{flex-basis:10%;height:40px;padding:0 10px;text-align:center}[_nghost-%COMP%]     .search-line__image img{max-width:100%;max-height:100%}[_nghost-%COMP%]     .search-line__link{flex-basis:90%;padding:0 10px;font-size:14px;font-weight:700;text-decoration:underline}[_nghost-%COMP%]     .search-line__title{padding:0 10px;font-size:15px}[_nghost-%COMP%]     .search-line__keyword{flex-basis:50%;padding:0 10px;font-weight:700}[_nghost-%COMP%]     .search-line__info{flex-basis:50%;padding:0 10px;color:#dcdcdc;font-size:12px;text-align:right}[_nghost-%COMP%]     .search-line--tip{border-top:1px solid #f0f
10f0;border-bottom:1px solid #f0f0f0}']}),je);function Te(e,t){if(1&e&&i.zc(0,"app-social-link",17),2&e){var n=t.$implicit;i.cd("type",n.key),i.cd("url",n.value.page)}}function ze(e,t){1&e&&i.zc(0,"app-switch-site-language")}function Le(e,t){if(1&e){var n=i.Fc();i.Ec(0,"button",18),i.Qc("click",(function(){return i.nd(n),i.Uc().toggleSearchPanel()})),i.Tc(),i.Ec(1,"svg",6),i.zc(2,"use",19),i.Dc(),i.Dc()}}function Ne(e,t){1&e&&i.zc(0,"div",20)}function Re(e,t){if(1&e){var n=i.Fc();i.Ec(0,"a",24),i.Qc("click",(function(){return i.nd(n),i.Uc(2).authModalsService.openSignInModal()})),i.Tc(),i.Ec(1,"svg",25),i.zc(2,"use",26),i.Dc(),i.Dc()}}function Fe(e,t){if(1&e&&(i.Ec(0,"a",27),i.Vc(1,"translate"),i.zc(2,"div",28),i.Dc()),2&e){var n=i.Uc(2);i.cd("href",n.userCabinetUrl,i.qd),i.cd("title",i.Wc(1,3,"navigate-to-cabinet-prompt")),i.jc(2),i.bd("lazyLoad",n.user.avatarUrl)}}function Ve(e,t){if(1&e&&(i.Ec(0,"div",21),i.xd(1,Re,3,0,"a",22),i.xd(2,Fe,3,5,"ng-template",null,23,i.yd),i.Dc()),2&e){var n=i.kd(3),r=i.Uc();i.jc(1),i.bd("ngIf",!r.isAuthenticated)("ngIfElse",n)}}function Ue(e,t){if(1&e){var n=i.Fc();i.Ec(0,"app-search-form",29),i.Qc("togglePanel",(function(){return i.nd(n),i.Uc().toggleSearchPanel()})),i.Dc()}if(2&e){var r=i.Uc();i.cd("searchUrl",r.urls.search),i.bd("isOpen",r.searchPanelIsOpen)}}var He,Be=((He=function(){function e(t,n,i,r,a,o,s){_classCallCheck(this,e),this.languagesManagerService=t,this.authModalsService=n,this.authService=i,this.confService=r,this.routesService=a,this.fastScrollService=o,this.footerService=s,this.isAuthenticated=!1,this.logoUrl="",this.searchPanelIsOpen=!1,this.pIsScrollDown=!1,this.pUser=null,this.onDestroy$=new B.a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.confService.allConfig.pipe(Object(q.a)(this.onDestroy$),Object(M.a)(1),Object($.a)((function(t){e.logoUrl=t.mainConfig.logoUrl,e.urls=t.oldUrls,e.pShowUserIcon="slim"!==t.mainConfig.siteHeaderType,e.pUserCabinetUrl=e.urls.cabinet}))).subscribe(),this.authService.userModel.pipe(Object(q.a)(this.onDestroy$),Object($.a)((function(t){e.pUser=t,e.isAuthenticated=null!==t}))).subscribe(),this.fastScrollService.scrollDown$.pipe(Object(q.a)(this.onDestroy$),Object(W.a)((function(t){return t.top>150&&!e.pIsScrollDown})),Object($.a)((function(){e.pIsScrollDown=!0}))).subscribe(),this.fastScrollService.scrollUp$.pipe(Object(q.a)(this.onDestroy$),Object(W.a)((function(){return e.pIsScrollDown})),Object($.a)((function(){e.pIsScrollDown=!1}))).subscribe(),this.footerService.footer.pipe(Object(q.a)(this.onDestroy$),Object(M.a)(1),Object($.a)((function(t){e.socialsNetwork=null==t?void 0:t.bottom.socialsNetwork}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"toggleSearchPanel",value:function(){this.searchPanelIsOpen=!this.searchPanelIsOpen}},{key:"isScrollDown",get:function(){return this.pIsScrollDown}},{key:"showUserIcon",get:function(){return this.pShowUserIcon}},{key:"userCabinetUrl",get:function(){return this.pUserCabinetUrl}},{key:"user",get:function(){return this.pUser}}]),e}()).\u0275fac=function(e){return new(e||He)(i.yc(D.C),i.yc(D.e),i.yc(D.f),i.yc(G.c),i.yc(D.fb),i.yc(D.u),i.yc(G.d))},He.\u0275cmp=i.sc({type:He,selectors:[["app-header"]],decls:21,vars:13,consts:[[1,"header"],["sideMenu",""],[1,"header__main"],[1,"container-fluid"],[1,"header__main-content"],["type","button",1,"burger-btn","d-lg-none",3,"click"],["width","24","height","24"],[0,"xlink","href","#icon-burger-menu"],[1,"logo-above-header",3,"logoUrl"],[3,"showSideMenu"],[1,"header__social-link"],[3,"type","url",4,"ngFor","ngForOf"],[4,"ngIf"],["type","button","class","btn btn--transparent header-search-btn",3,"click",4,"ngIf","ngIfElse"],["searchBtnCap",""],["class","d-none d-lg-flex",4,"ngIf"],[3,"isOpen","searchUrl","togglePanel",4,"ngIf"],[3,"type","url"],["type","button",1,"btn","btn--transparent","header-search-btn",3,"click"],[0,"xlink","href","#icon-search"],[1,"btn","btn--transparent","header-search-btn","header-search-btn--cap"],[1,"d-none","d-lg-flex"],["class","btn header__not-auth-user",3,"click",4,"ngIf","ngIfElse"],["userAuthenticated",""],[1,"btn","header__not-auth-user",3,"click"],["width","26","height","26"],[0,"xlink","href","#auth-user"],[1,"header__auth-user",3,"href","title"],[1,"header__auth-user--avatar","rounded-bg-image",3,"lazyLoad"],[3,"isOpen","searchUrl","togglePanel"]],template:function(e,t){if(1&e){var n=i.Fc();i.Ec(0,"header",0),i.zc(1,"app-side-menu",null,1),i.Ec(3,"div",2),i.Ec(4,"div",3),i.Ec(5,"div",4),i.Ec(6,"div",5),i.Qc("click",(function(){return i.nd(n),i.kd(2).showMenu()})),i.Tc(),i.Ec(7,"svg",6),i.zc(8,"use",7),i.Dc(),i.Dc(),i.Sc(),i.zc(9,"app-site-logo",8),i.Ec(10,"app-main-menu",9),i.Qc("showSideMenu",(function(){return i.nd(n),i.kd(2).showMenu()})),i.Dc(),i.Ec(11,"div",10),i.xd(12,Te,1,2,"app-social-link",11),i.Vc(13,"keyvalue"),i.Dc(),i.xd(14,ze,1,0,"app-switch-site-language",12),i.Vc(15,"async"),i.xd(16,Le,3,0,"button",13),i.xd(17,Ne,1,0,"ng-template",null,14,i.yd),i.xd(19,Ve,4,2,"div",15),i.Dc(),i.Dc(),i.Dc(),i.xd(20,Ue,1,2,"app-search-form",16),i.Dc()}if(2&e){var r=i.kd(18);i.pc("is-scroll-down",t.isScrollDown),i.jc(9),i.cd("logoUrl",t.logoUrl),i.jc(3),i.bd("ngForOf",i.Wc(13,9,t.socialsNetwork)),i.jc(2),i.bd("ngIf",i.Wc(15,11,t.languagesManagerService.hasLanguages$)),i.jc(2),i.bd("ngIf",null==t.urls?null:t.urls.search)("ngIfElse",r),i.jc(3),i.bd("ngIf",t.showUserIcon),i.jc(1),i.bd("ngIf",null==t.urls?null:t.urls.search)}},directives:[he,fe.a,we,s.t,s.u,ke.a,xe.a,z.a,Ae],pipes:[s.m,s.b,k.d],styles:['.header[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;z-index:2;background-color:#fff;box-shadow:0 4px 4px rgba(0,0,0,.1);transition:all .3s linear}.header.is-scroll-down[_ngcontent-%COMP%]{top:-150px;width:100%}.header__top[_ngcontent-%COMP%]{position:fixed;z-index:10;top:0;left:0;background-color:#fff;box-shadow:3px 0 6px rgba(50,50,50,.15);transform:translateX(-110%);transition:all .3s ease-out;height:100%}.header__top.is-open[_ngcontent-%COMP%]{width:240px;max-height:80%;transform:translateX(0);direction:rtl;overflow-y:auto}
1.header__top.is-open[_ngcontent-%COMP%]   .top-nav[_ngcontent-%COMP%]{direction:rtl}.header__main[_ngcontent-%COMP%]{padding:16px 0 12px}.header__main-content[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between}.header__main-content[_ngcontent-%COMP%]   .logo-above-header[_ngcontent-%COMP%]{display:block;margin:auto}@media (min-width:1024px) and (max-width:1200px){.header__main-content[_ngcontent-%COMP%]   app-switch-site-language[_ngcontent-%COMP%]{margin-left:auto}}.header__social-link[_ngcontent-%COMP%]{display:none}.header__not-auth-user[_ngcontent-%COMP%]{cursor:pointer;padding:11px}.header__not-auth-user[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{stroke:var(--green-primary)}.header__auth-user[_ngcontent-%COMP%]{cursor:pointer}.header__auth-user--avatar[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#dcdcdc}@media (min-width:1024px){.header[_ngcontent-%COMP%]{box-shadow:none}.header__main-content[_ngcontent-%COMP%]   .logo-above-header[_ngcontent-%COMP%]{display:var(--logo-above-header);margin:unset}.header__top[_ngcontent-%COMP%]{position:static;display:block;height:auto;transform:none;padding:8px 0;background-color:#f0f0f0;color:#000}.header__main[_ngcontent-%COMP%]{padding:20px 0}.header__main-content[_ngcontent-%COMP%]{flex-wrap:nowrap;justify-content:flex-start}}@media (min-width:1200px){.header__social-link[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:auto}.header__social-link[_ngcontent-%COMP%]     a{padding:12px 6px}.header__social-link[_ngcontent-%COMP%]     a.footer-social--oki-tv{padding:12px 0}}@media (min-width:1024px) and (max-width:1410px){.header__social-link[_ngcontent-%COMP%]     a{padding:6px}}.burger-btn[_ngcontent-%COMP%]{padding:8px}.burger-btn[_ngcontent-%COMP%]:hover{cursor:pointer}.top-nav[_ngcontent-%COMP%]{font-size:1.3rem}.top-nav__mobile-navigation[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;align-items:center;padding:8px!important}.top-nav__navigation-button[_ngcontent-%COMP%]{flex-shrink:0;border:unset;color:#323232;background-color:unset;font-size:1.3rem;font-weight:300}.top-nav__navigation-close[_ngcontent-%COMP%]{align-self:flex-start;width:21px;height:21px;font-size:36px;line-height:0;padding:0;font-weight:100;color:rgba(50,50,50,.15);outline:none}.top-nav__link-span--special[_ngcontent-%COMP%]{margin-left:5px;padding:4px 8px;font-size:11px;background-color:#fc884e;color:#fff;border-radius:10px}.top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0 -4px}.top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{position:relative;padding:8px 8px 8px 24px;border-bottom:1px solid rgba(50,50,50,.15)}.top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]:before{content:"";position:absolute;left:12px;top:50%;transform:translateY(-50%);height:5px;width:5px;background-color:var(--green-primary);border-radius:50%;display:block}.top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}.top-nav[_ngcontent-%COMP%]     a{font-weight:400;line-height:30px;transition:all .3s ease-out}.top-nav[_ngcontent-%COMP%]     a:focus, .top-nav[_ngcontent-%COMP%]     a:hover{color:var(--green-primary)}.top-nav[_ngcontent-%COMP%]     a:focus{outline:none}@media (min-width:1024px){.top-nav[_ngcontent-%COMP%]{font-size:1rem}.top-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;padding:0 4px;border-bottom:none}.top-nav[_ngcontent-%COMP%]     a{font-weight:300;line-height:unset}}.main-nav[_ngcontent-%COMP%]{order:1;width:100%;margin-top:16px;overflow-x:auto;margin-right:auto}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{display:flex;justify-content:space-around}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-of-type){margin-right:24px}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#323232}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:var
1(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--green-primary)}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.attention[_ngcontent-%COMP%]{position:relative}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.attention[_ngcontent-%COMP%]:after{position:absolute;top:5px;right:-5px;width:5px;height:5px;border-radius:50%;background-color:#fb661c;content:""}.main-nav[_ngcontent-%COMP%]     a{display:flex;flex-direction:column;width:-webkit-min-content;width:-moz-min-content;width:min-content;overflow-y:hidden;align-items:center;text-align:center;font-size:16px;font-weight:300;transition:all .3s ease-out}.main-nav[_ngcontent-%COMP%]     a svg{display:inline-block;margin-bottom:4px;transition:all .3s ease-out}.main-nav[_ngcontent-%COMP%]     a span{display:block}.main-nav[_ngcontent-%COMP%]     a:focus, .main-nav[_ngcontent-%COMP%]     a:hover{color:var(--green-primary)}.main-nav[_ngcontent-%COMP%]     a:focus svg, .main-nav[_ngcontent-%COMP%]     a:hover svg{fill:var(--green-primary)}.main-nav[_ngcontent-%COMP%]     a:focus{outline:none}@media (min-width:530px){.main-nav[_ngcontent-%COMP%]     a{flex-direction:row;line-height:18px;width:auto}.main-nav[_ngcontent-%COMP%]     a svg{margin-bottom:0;margin-right:8px}}@media (min-width:1024px){.main-nav[_ngcontent-%COMP%]{order:0;width:auto;margin-top:0;overflow:visible}.main-nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{align-items:center}.main-nav[_ngcontent-%COMP%]     a{font-size:24px;line-height:27px;text-align:left}.main-nav[_ngcontent-%COMP%]     a span{display:inline-block;vertical-align:middle}}.header-search-btn[_ngcontent-%COMP%]{margin-left:8px}@media (min-width:1350px){.header-search-btn[_ngcontent-%COMP%]{margin:0 16px}}.site-overlay[_ngcontent-%COMP%]{display:none;position:fixed;top:0;left:0;width:100%;height:100%;content:""}.site-overlay.is-open[_ngcontent-%COMP%]{display:block}']}),He),qe=n("13ou"),$e=n("PGyc"),We=n("y5FN"),Ge=["footerContent"];function Xe(e,t){if(1&e&&i.zc(0,"app-social-link",17),2&e){var n=t.$implicit;i.cd("type",n.key),i.cd("url",n.value.page)}}function Ze(e,t){1&e&&i.zc(0,"img",22),2&e&&i.bd("lazyLoad","/dist-assets/images/app-icon-google-play.svg")}function Ye(e,t){1&e&&i.zc(0,"img",23),2&e&&i.bd("lazyLoad","/dist-assets/images/app-icon-app-store.svg")}function Qe(e,t){if(1&e&&(i.Ec(0,"a",18),i.Cc(1,19),i.xd(2,Ze,1,1,"img",20),i.xd(3,Ye,1,1,"img",21),i.Bc(),i.Dc()),2&e){var n=t.$implicit,r=i.Uc();i.cd("href",n.url,i.qd),i.kc("rel",r.isOnNewsDetailViewPage?"nofollow":null),i.jc(1),i.bd("ngSwitch",n.name),i.jc(1),i.bd("ngSwitchCase","Android"),i.jc(1),i.bd("ngSwitchCase","iOs")}}function Ke(e,t){if(1&e&&(i.zc(0,"div",25),i.Vc(1,"safeHtml")),2&e){var n=i.Uc(2);i.bd("innerHTML",i.Wc(1,1,n.model.bottom.counters),i.od)}}function Je(e,t){if(1&e&&(i.Cc(0),i.xd(1,Ke,2,3,"div",24),i.Bc()),2&e){var n=i.Uc();i.jc(1),i.bd("ngIf",null==n.model?null:n.model.bottom.counters.length)}}function et(e,t){if(1&e&&(i.Ec(0,"a",18),i.zd(1),i.Dc()),2&e){var n=t.$implicit,r=i.Uc();i.cd("href",n.url,i.qd),i.kc("rel",r.isOnNewsDetailViewPage&&n.noFollow?"nofollow":null),i.jc(1),i.Bd(" ",n.name," ")}}function tt(e,t){if(1&e&&(i.Ec(0,"a",18),i.zd(1),i.Dc()),2&e){var n=t.$implicit;i.cd("href",n.value.url,i.qd),i.jc(1),i.Bd(" ",n.value.label," ")}}function nt(e,t){if(1&e&&(i.Ec(0,"a",18),i.zd(1),i.Dc()),2&e){var n=t.$implicit;i.cd("href",n.url,i.qd),i.jc(1),i.Bd(" ",n.name," ")}}var it,rt=((it=function(){function e(t,n,i){_classCallCheck(this,e),this.footerService=t,this.routesService=n,this.renderer=i,this.pIsOnNewsDetailViewPage=!1,this.onDestroy$=new B.a}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.footerService.footer.pipe(Object(M.a)(1)).subscribe((function(t){e.model=t})),this.beforeFooter=this.renderer.createComment(""),this.afterFooter=this.renderer.createComment("");var t=this.renderer.parentNode(this.footerElement.nativeElement);this.renderer.insertBefore(t,this.beforeFooter,this.footerElement.nativeElement),this.renderer.appendChild(t,this.afterFooter),this.routesService.isOnHomePage$.pipe(Object(q.a)(this.onDestroy$),Object(Se.a)(),Object($.a)((function(t){e.beforeFooter.data=t?"":"noindex",e.afterFooter.data=t?"":"/noindex"}))).subscribe(),this.routesService.onRouteIdsChanged.pipe(Object(q.a)(this.onDestroy$),Object($.a)((function(t){e.pIsOnNewsDetailVie
1wPage="newsDetailPage"===t.actual}))).subscribe()}},{key:"ngOnDestroy",value:function(){this.onDestroy$.next(),this.onDestroy$.complete()}},{key:"isOnNewsDetailViewPage",get:function(){return this.pIsOnNewsDetailViewPage}}]),e}()).\u0275fac=function(e){return new(e||it)(i.yc(G.d),i.yc(D.fb),i.yc(i.L))},it.\u0275cmp=i.sc({type:it,selectors:[["app-footer"]],viewQuery:function(e,t){var n;1&e&&i.ud(Ge,!0,i.q),2&e&&i.jd(n=i.Rc())&&(t.footerElement=n.first)},decls:28,vars:13,consts:[[1,"footer"],["footerContent",""],[1,"footer__main"],[1,"container-fluid"],[1,"row","align-items-center"],[1,"col-12","col-lg-3","order-1","order-lg-0"],[1,"footer__site-info"],[3,"innerHTML"],[1,"col-12","col-lg-6","footer__col-socials"],[1,"footer__socials"],[3,"type","url",4,"ngFor","ngForOf"],[1,"col-12","col-lg","order-1","order-lg-0"],[1,"app-install-links","text-center","text-lg-right"],[3,"href",4,"ngFor","ngForOf"],[4,"appOnlyInBrowser"],[1,"footer__information"],[1,"footer__info-links"],[3,"type","url"],[3,"href"],[3,"ngSwitch"],["src","/dist-assets/images/cap.jpg","alt","Google Play",3,"lazyLoad",4,"ngSwitchCase"],["src","/dist-assets/images/cap.jpg","alt","App Store",3,"lazyLoad",4,"ngSwitchCase"],["src","/dist-assets/images/cap.jpg","alt","Google Play",3,"lazyLoad"],["src","/dist-assets/images/cap.jpg","alt","App Store",3,"lazyLoad"],["class","footer-counters","appRunScripts","",3,"innerHTML",4,"ngIf"],["appRunScripts","",1,"footer-counters",3,"innerHTML"]],template:function(e,t){1&e&&(i.Ec(0,"footer",0,1),i.Ec(2,"div",2),i.Ec(3,"div",3),i.Ec(4,"div",4),i.Ec(5,"div",5),i.Ec(6,"div",6),i.zc(7,"div",7),i.zc(8,"div",7),i.zc(9,"div",7),i.Dc(),i.Dc(),i.Ec(10,"div",8),i.Ec(11,"div",9),i.xd(12,Xe,1,2,"app-social-link",10),i.Vc(13,"keyvalue"),i.Dc(),i.Dc(),i.Ec(14,"div",11),i.Ec(15,"div",12),i.xd(16,Qe,4,5,"a",13),i.Dc(),i.xd(17,Je,2,1,"ng-container",14),i.Dc(),i.Dc(),i.Dc(),i.Dc(),i.Ec(18,"div",15),i.Ec(19,"div",3),i.zc(20,"div",7),i.Dc(),i.Dc(),i.Ec(21,"div",15),i.Ec(22,"div",3),i.Ec(23,"div",16),i.xd(24,et,2,3,"a",13),i.xd(25,tt,2,2,"a",13),i.Vc(26,"keyvalue"),i.xd(27,nt,2,2,"a",13),i.Dc(),i.Dc(),i.Dc(),i.Dc()),2&e&&(i.jc(7),i.bd("innerHTML",null==t.model?null:t.model.bottom.info.address,i.od),i.jc(1),i.bd("innerHTML",null==t.model?null:t.model.bottom.info.email,i.od),i.jc(1),i.bd("innerHTML",null==t.model?null:t.model.bottom.info.phone,i.od),i.jc(3),i.bd("ngForOf",i.Wc(13,9,null==t.model?null:t.model.bottom.socialsNetwork)),i.jc(4),i.bd("ngForOf",null==t.model?null:t.model.top.mobile),i.jc(4),i.bd("innerHTML",null==t.model?null:t.model.bottom.copyright,i.od),i.jc(4),i.bd("ngForOf",null==t.model?null:t.model.top.aboutUs),i.jc(1),i.bd("ngForOf",i.Wc(26,11,null==t.model?null:t.model.bottom.staticPageLinks)),i.jc(2),i.bd("ngForOf",null==t.model?null:t.model.top.social))},directives:[s.t,qe.a,ke.a,s.y,s.z,z.a,s.u,We.a],pipes:[s.m,Me.a],styles:[".footer[_ngcontent-%COMP%]{font-size:12px}.footer__main[_ngcontent-%COMP%]{padding:0 0 16px;background-color:#3f3e3e;color:#fff}.footer__site-info[_ngcontent-%COMP%]{margin:16px 0;line-height:1.35}.footer__site-info[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:underline}.footer__site-info[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}.footer__socials[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.footer__information[_ngcontent-%COMP%]{padding:8px 0;background-color:#dcdcdc}.footer__info-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;margin:4px 8px 4px 0;text-decoration:underline}@media (max-width:991px){.footer__main[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{margin:0}.footer__col-socials[_ngcontent-%COMP%]{padding:0;background-color:#2f2e2e}.footer__socials[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0 50%;border-top:1px solid hsla(0,0%,100%,.15)}.footer__socials[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:nth-of-type(odd){border-right:1px solid hsla(0,0%,100%,.15)}}@media (min-width:1024px){.footer__main[_ngcontent-%COMP%]{padding:16px 0}.footer__site-info[_ngcontent-%COMP%]{max-width:340px;margin:0}.footer__socials[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:last-of-type){border-right:1px solid hsla(0,0%,100%,.15)}.footer__info-links[_ngcontent-%COMP%]{text-align:center}.footer__info-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin:0 4px;text-decoration:underline}.footer__info-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:none}}.app-install-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block}.app-install-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(:last-of-type){margin-right:16px}"]}),it),at=n("JUSj"),ot=n("INbW"),st=n("MlV6"),ct=n("J/4d");function lt(e,t){1&e&&i.zc(0,"app-standalone-banners-place",4),2&e&&i.bd("isWithoutMargin",!0)}function ut(e,t){1&e&&i.zc(0,"app-standalone-banners-place",5),2&e&&i.bd("isWithoutMargin",!0)}function dt(e,t){1&e&&(i.Cc(0),i.xd(1,lt,1,1,"app-standalone-banners-place",2),i.xd(2,ut,1,1,"app-standalone-banners-place",3),i.Bc())}function ht(e,t){1&e&&i.zc(0,"app-add-to-home-screen")}
1var ft,pt,gt,vt,mt,bt,yt,Ct,_t,wt=function(){return["notFoundPage"]},kt=((gt=function(){function e(t,n,i,r,a,o,s){_classCallCheck(this,e),this.routesService=t,this.userSessionService=n,this.googleTagManagerService=i,this.oAuthService=r,this.locationService=a,this.fastScrollService=o,this.bannersPlacesService=s,console.log("AppComponent constructor")}return _createClass(e,[{key:"ngOnInit",value:function(){console.log("AppComponent ngOnInit"),this.routesService.startService(),this.userSessionService.startService(),this.googleTagManagerService.startService(),this.oAuthService.startService()}},{key:"ngOnDestroy",value:function(){this.oAuthService.stopService(),this.googleTagManagerService.stopService(),this.userSessionService.stopService(),this.routesService.stopService()}}]),e}()).\u0275fac=function(e){return new(e||gt)(i.yc(D.fb),i.yc(D.Bb),i.yc(D.w),i.yc(D.M),i.yc(D.F),i.yc(D.u),i.yc(D.k))},gt.\u0275cmp=i.sc({type:gt,selectors:[["app-root"]],decls:7,vars:3,consts:[[4,"appOnlyOnRoutes","appOnlyOnRoutesExcept"],[4,"appOnlyInBrowser"],["aspectRatio","7.0","placeName","Stretching 1",3,"isWithoutMargin",4,"appOnlyOnDesktop"],["aspectRatio","48.0","placeName","Web mobile 1",3,"isWithoutMargin",4,"appOnlyOnMobile"],["aspectRatio","7.0","placeName","Stretching 1",3,"isWithoutMargin"],["aspectRatio","48.0","placeName","Web mobile 1",3,"isWithoutMargin"]],template:function(e,t){1&e&&(i.zc(0,"app-svg-icons"),i.xd(1,dt,3,0,"ng-container",0),i.zc(2,"app-header"),i.xd(3,ht,1,0,"app-add-to-home-screen",1),i.zc(4,"router-outlet"),i.zc(5,"app-cookie-consent-popup"),i.zc(6,"app-footer")),2&e&&(i.jc(1),i.bd("appOnlyOnRoutes",null)("appOnlyOnRoutesExcept",i.ed(2,wt)))},directives:[U,H.a,Be,qe.a,I.i,$e.a,rt,at.a,ot.a,st.a,ct.a],styles:[""]}),gt),xt=((pt=function(){function e(t){_classCallCheck(this,e),this.authService=t}return _createClass(e,[{key:"intercept",value:function(e,t){var n=this.authService.fetchUserToken();return null!==n&&n.length&&(e=e.clone({setHeaders:{"X-Auth-Token":"Bearer "+n}})),t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||pt)(i.Mc(D.f))},pt.\u0275prov=i.uc({token:pt,factory:pt.\u0275fac}),pt),Ot=((ft=function(){function e(t,n,i,r){_classCallCheck(this,e),this.sourceSiteHost=t,this.sourceSiteScheme=n,this.apiSourceSiteHostHeader=i,this.apiSourceSiteSchemeHeader=r}return _createClass(e,[{key:"intercept",value:function(e,t){if(null!==this.sourceSiteHost&&e.url.includes("/api3/")){var n=_defineProperty2({},this.apiSourceSiteHostHeader,this.sourceSiteHost);null!==this.sourceSiteScheme&&(n[this.apiSourceSiteSchemeHeader]=this.sourceSiteScheme),e=e.clone({setHeaders:n})}return t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||ft)(i.Mc(D.ib,8),i.Mc(D.jb,8),i.Mc(D.a),i.Mc(D.b))},ft.\u0275prov=i.uc({token:ft,factory:ft.\u0275fac}),ft),St=n("AytR"),Pt=n("H0t/"),Et=((vt=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:vt}),vt.\u0275inj=i.vc({factory:function(e){return new(e||vt)},providers:[{provide:Pt.c,useClass:Pt.b}],imports:[[s.c]]}),vt),Mt=n("6NWb"),It=[{prefix:"fab",iconName:"facebook-f",icon:[320,512,[],"f39e","M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"]},{prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]},{prefix:"fab",iconName:"linkedin-in",icon:[448,512,[],"f0e1","M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"]},{prefix:"fab",iconName:"pinterest-p",icon:[384,512,[],"f231","M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"]},{prefix:"fab",iconName:"reddit-alien",icon:[512,512,[],"f281","M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 
117.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"]},{prefix:"fab",iconName:"tumblr",icon:[320,512,[],"f173","M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"]},{prefix:"fab",iconName:"whatsapp",icon:[448,512,[],"f232","M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"]},{prefix:"fab",iconName:"viber",icon:[512,512,[],"f409","M444 49.9C431.3 38.2 379.9.9 265.3.4c0 0-135.1-8.1-200.9 52.3C27.8 89.3 14.9 143 13.5 209.5c-1.4 66.5-3.1 191.1 117 224.9h.1l-.1 51.6s-.8 20.9 13 25.1c16.6 5.2 26.4-10.7 42.3-27.8 8.7-9.4 20.7-23.2 29.8-33.7 82.2 6.9 145.3-8.9 152.5-11.2 16.6-5.4 110.5-17.4 125.7-142 15.8-128.6-7.6-209.8-49.8-246.5zM457.9 287c-12.9 104-89 110.6-103 115.1-6 1.9-61.5 15.7-131.2 11.2 0 0-52 62.7-68.2 79-5.3 5.3-11.1 4.8-11-5.7 0-6.9.4-85.7.4-85.7-.1 0-.1 0 0 0-101.8-28.2-95.8-134.3-94.7-189.8 1.1-55.5 11.6-101 42.6-131.6 55.7-50.5 170.4-43 170.4-43 96.9.4 143.3 29.6 154.1 39.4 35.7 30.6 53.9 103.8 40.6 211.1zm-139-80.8c.4 8.6-12.5 9.2-12.9.6-1.1-22-11.4-32.7-32.6-33.9-8.6-.5-7.8-13.4.7-12.9 27.9 1.5 43.4 17.5 44.8 46.2zm20.3 11.3c1-42.4-25.5-75.6-75.8-79.3-8.5-.6-7.6-13.5.9-12.9 58 4.2 88.9 44.1 87.8 92.5-.1 8.6-13.1 8.2-12.9-.3zm47 13.4c.1 8.6-12.9 8.7-12.9.1-.6-81.5-54.9-125.9-120.8-126.4-8.5-.1-8.5-12.9 0-12.9 73.7.5 133 51.4 133.7 139.2zM374.9 329v.2c-10.8 19-31 40-51.8 33.3l-.2-.3c-21.1-5.9-70.8-31.5-102.2-56.5-16.2-12.8-31-27.9-42.4-42.4-10.3-12.9-20.7-28.2-30.8-46.6-21.3-38.5-26-55.7-26-55.7-6.7-20.8 14.2-41 33.3-51.8h.2c9.2-4.8 18-3.2 23.9 3.9 0 0 12.4 14.8 17.7 22.1 5 6.8 11.7 17.7 15.2 23.8 6.1 10.9 2.3 22-3.7 26.6l-12 9.6c-6.1 4.9-5.3 14-5.3 14s17.8 67.3 84.3 84.3c0 0 9.1.8 14-5.3l9.6-12c4.6-6 15.7-9.8 26.6-3.7 14.7 8.3 33.4 21.2 45.8 32.9 7 5.7 8.6 14.4 3.8 23.6z"]},{prefix:"fab",iconName:"vk",icon:[576,512,[],"f189","M545 117.7c3.7-12.5 0-21.7-17.8-21.7h-58.9c-15 0-21.9 7.9-25.6 16.7 0 0-30 73.1-72.4 120.5-13.7 13.7-20 18.1-27.5 18.1-3.7 0-9.4-4.4-9.4-16.9V117.7c0-15-4.2-21.7-16.6-21.7h-92.6c-9.4 0-15 7-15 13.5 0 14.2 21.2 17.5 23.4 57.5v86.8c0 19-3.4 22.5-10.9 22.5-20 0-68.6-73.4-97.4-157.4-5.8-16.3-11.5-22.9-26.6-22.9H38.8c-16.8 0-20.2 7.9-20.2 16.7 0 15.6 20 93.1 93.1 195.5C160.4 378.1 229 416 291.4 416c37.5 0 42.1-8.4 42.1-22.9 0-66.8-3.4-73.1 15.4-73.1 8.7 0 23.7 4.4 58.7 38.1 40 40 46.6 57.9 69 57.9h58.9c16.8 0 25.3-8.4 20.4-25-11.2-34.9-86.9-106.7-90.3-111.5-8.7-11.2-6.2-16.2 0-26.2.1-.1 72-101.3 79.4-135.6z"]},{prefix:"fab",iconName:"facebook-messenger",icon:[512,512,[],"f39f","M256.55 8C116.52 8 8 110.34 8 248.57c0 72.3 29.71 134.78 78.07 177.94 8.35 7.51 6.63 11.86 8.05 58.23A19.92 19.92 0 0 0 122 502.31c52.91-23.3 53.59-25.14 62.56-22.7C337.85 521.8 504 423.7 504 248.57 504 110.34 396.59 8 256.55 8zm149.24 185.13l-73 115.57a37.37 37.37 0 0 1-53.91 9.93l-58.08-43.47a15 15 0 0 0-18 0l-78.37 59.44c-10.46 7.93-24.16-4.6-17.11-15.67l73-115.57a37.36 37.36 0 0 1 53.91-9.93l58.06 43.46a15 15 0 0 0 18 0l78.41-59.38c10.44-7.98 24.14 4.54 17.09 15.62z"]},{prefix:"fab",iconName:"telegram-plane",icon:[448,512,[],"f3fe","M446.7 98.6l-67.6 318.8c-5.1 22.5-18.4 28.1-37.3 17.5l-103-75.9-49.7 47.8c-5.5 5.5-10.1 10.1-20.7 10.1l7.4-104.9 190.9-172.5c8.3-7.4-1.8-11.5-12.9-4.1L117.8 284 16.2 252.2c-22.1-6.9-22.5-22.1 4.6-32.7L418.2 66.4c18.4-6.9 34.5 4.1 28.5 32.2z"]},{prefix:"fab",iconName:"mix",icon:[448,512,[],"f3cb","M0 64v348.9c0 56.2 88 58.1 88 0V174.3c7.9-52.9 88-50.4 88 6.5v175.3c0 57.9 96 58 96 0V240c5.3-54.7 88-52.5 88 4.3v23.8c0 59.9 88 56.6 88 0V64H0z"]},{prefix:"fab",iconName:"xing",icon:[384,512,[],"f168","M162.7 210c-1.8 3.3-25.2 44.4-70.1 123.5-4.9 8.3-10.8 12.5-17.7 12.5H9.8c-7.7 0-12.1-7.5-8.5-14.4l69-121.3c.2 0 .2-.1 0-.3l-43.9-75.6c-4.3-7.8.3-14.1 8.5-14.1H100c7.3 0 13.3 4.1 18 12.2l44.7 77.5zM382.6 46.1l-144 253v.3L330.2 466c3.9 7.1.2 14.1-8.5 14.1h-65.2c-7.6 0-13.6-4-18-12.2l-92.4-168.5c3.3-5.8 51.5-90.8 144.8-255.2 4.6-8.1 10.4-12.2 17.5-12.2h65.7c8 0 12.3 6.7 8.5 14.1z"]},{prefix:"fas",iconName:"sms",icon:[512,512,[],"f7cd","M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7 1.3 3 4.1 4.8 7.3 4.8 66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32zM128.2 304H116c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h12.3c6 0 10.4-3.5 10.4-6.6 0-1.3-.8-2.7-2.1-3.8l-21.9-18.8c-8.5-7.2-13.3-17.5-13.3-28.1 0-21.3 19-38.6 42.4-38.6H156c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8h-12.3c-6 0-10.4 3.5-10.4 6.6 0 1.3.8 2.7 2.1 3.8l21.9 18.8c8.5 7.2 13.3 17.5 13.3 28.1.1 21.3-19 38.6-42.4 38.6zm191.8-8c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8v-68.2l-24.8 55.8c-2.9 5.9-11.4 5.9-14.3 0L224 227.8V296c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V192c0-8.8 7.2-16 16-16h16c6.1 0 11.6 3.4 14.3 8.8l17.7 35.4 17.7-35.4c2.7-5.4 8.3-8.8 14.3-8.8h16c8.8 0 16 7.2 16 16v104zm48.3 8H356c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h12.3c6 0 10.4-3.5 10.4-6.6 0-1.3-.8-2.7-2.1-3.8l-21.9-18.8c-8.5-7.2-13.3-17.5-13.3-28.1 0-21.3 19-38.6 42.4-38.6H396c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8h-12.3c-6 0-10.4 3.5-10.4 6.6 0 1.3.8 2.7 2.1 3.8l21.9 18.8c8.5 7.2 13.3 17.5 13.3 28.1.1 21.3-18.9 38.6-42.3 38.6z"]},{prefix:"fas",iconName:"envelope",icon:[512,512,[],"f0e0","M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.
16-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"]},{prefix:"fas",iconName:"check",icon:[512,512,[],"f00c","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"]},{prefix:"fas",iconName:"print",icon:[512,512,[],"f02f","M448 192V77.25c0-8.49-3.37-16.62-9.37-22.63L393.37 9.37c-6-6-14.14-9.37-22.63-9.37H96C78.33 0 64 14.33 64 32v160c-35.35 0-64 28.65-64 64v112c0 8.84 7.16 16 16 16h48v96c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-96h48c8.84 0 16-7.16 16-16V256c0-35.35-28.65-64-64-64zm-64 256H128v-96h256v96zm0-224H128V64h192v48c0 8.84 7.16 16 16 16h48v96zm48 72c-13.25 0-24-10.75-24-24 0-13.26 10.75-24 24-24s24 10.74 24 24c0 13.25-10.75 24-24 24z"]},{prefix:"fas",iconName:"exclamation",icon:[192,512,[],"f12a","M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z"]},{prefix:"fas",iconName:"link",icon:[512,512,[],"f0c1","M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"]},{prefix:"fas",iconName:"ellipsis-h",icon:[512,512,[],"f141","M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"]},{prefix:"fas",iconName:"minus",icon:[448,512,[],"f068","M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"]},{prefix:"fab",iconName:"line",icon:[448,512,[],"f3c0","M272.1 204.2v71.1c0 1.8-1.4 3.2-3.2 3.2h-11.4c-1.1 0-2.1-.6-2.6-1.3l-32.6-44v42.2c0 1.8-1.4 3.2-3.2 3.2h-11.4c-1.8 0-3.2-1.4-3.2-3.2v-71.1c0-1.8 1.4-3.2 3.2-3.2H219c1 0 2.1.5 2.6 1.4l32.6 44v-42.2c0-1.8 1.4-3.2 3.2-3.2h11.4c1.8-.1 3.3 1.4 3.3 3.1zm-82-3.2h-11.4c-1.8 0-3.2 1.4-3.2 3.2v71.1c0 1.8 1.4 3.2 3.2 3.2h11.4c1.8 0 3.2-1.4 3.2-3.2v-71.1c0-1.7-1.4-3.2-3.2-3.2zm-27.5 59.6h-31.1v-56.4c0-1.8-1.4-3.2-3.2-3.2h-11.4c-1.8 0-3.2 1.4-3.2 3.2v71.1c0 .9.3 1.6.9 2.2.6.5 1.3.9 2.2.9h45.7c1.8 0 3.2-1.4 3.2-3.2v-11.4c0-1.7-1.4-3.2-3.1-3.2zM332.1 201h-45.7c-1.7 0-3.2 1.4-3.2 3.2v71.1c0 1.7 1.4 3.2 3.2 3.2h45.7c1.8 0 3.2-1.4 3.2-3.2v-11.4c0-1.8-1.4-3.2-3.2-3.2H301v-12h31.1c1.8 0 3.2-1.4 3.2-3.2V234c0-1.8-1.4-3.2-3.2-3.2H301v-12h31.1c1.8 0 3.2-1.4 3.2-3.2v-11.4c-.1-1.7-1.5-3.2-3.2-3.2zM448 113.7V399c-.1 44.8-36.8 81.1-81.7 81H81c-44.8-.1-81.1-36.9-81-81.7V113c.1-44.8 36.9-81.1 81.7-81H367c44.8.1 81.1 36.8 81 81.7zm-61.6 122.6c0-73-73.2-132.4-163.1-132.4-89.9 0-163.1 59.4
1-163.1 132.4 0 65.4 58 120.2 136.4 130.6 19.1 4.1 16.9 11.1 12.6 36.8-.7 4.1-3.3 16.1 14.1 8.8 17.4-7.3 93.9-55.3 128.2-94.7 23.6-26 34.9-52.3 34.9-81.5z"]}],Dt=((mt=function e(t){_classCallCheck(this,e),t.addIcons.apply(t,It)}).\u0275mod=i.wc({type:mt}),mt.\u0275inj=i.vc({factory:function(e){return new(e||mt)(i.Mc(Mt.c))},imports:[[Mt.i]]}),mt),jt=[{prefix:"fab",iconName:"odnoklassniki",icon:[320,512,[],"f263","M275.1 334c-27.4 17.4-65.1 24.3-90 26.9l20.9 20.6 76.3 76.3c27.9 28.6-17.5 73.3-45.7 45.7-19.1-19.4-47.1-47.4-76.3-76.6L84 503.4c-28.2 27.5-73.6-17.6-45.4-45.7 19.4-19.4 47.1-47.4 76.3-76.3l20.6-20.6c-24.6-2.6-62.9-9.1-90.6-26.9-32.6-21-46.9-33.3-34.3-59 7.4-14.6 27.7-26.9 54.6-5.7 0 0 36.3 28.9 94.9 28.9s94.9-28.9 94.9-28.9c26.9-21.1 47.1-8.9 54.6 5.7 12.4 25.7-1.9 38-34.5 59.1zM30.3 129.7C30.3 58 88.6 0 160 0s129.7 58 129.7 129.7c0 71.4-58.3 129.4-129.7 129.4s-129.7-58-129.7-129.4zm66 0c0 35.1 28.6 63.7 63.7 63.7s63.7-28.6 63.7-63.7c0-35.4-28.6-64-63.7-64s-63.7 28.6-63.7 64z"]},{prefix:"fas",iconName:"at",icon:[512,512,[],"f1fa","M256 8C118.941 8 8 118.919 8 256c0 137.059 110.919 248 248 248 48.154 0 95.342-14.14 135.408-40.223 12.005-7.815 14.625-24.288 5.552-35.372l-10.177-12.433c-7.671-9.371-21.179-11.667-31.373-5.129C325.92 429.757 291.314 440 256 440c-101.458 0-184-82.542-184-184S154.542 72 256 72c100.139 0 184 57.619 184 160 0 38.786-21.093 79.742-58.17 83.693-17.349-.454-16.91-12.857-13.476-30.024l23.433-121.11C394.653 149.75 383.308 136 368.225 136h-44.981a13.518 13.518 0 0 0-13.432 11.993l-.01.092c-14.697-17.901-40.448-21.775-59.971-21.775-74.58 0-137.831 62.234-137.831 151.46 0 65.303 36.785 105.87 96 105.87 26.984 0 57.369-15.637 74.991-38.333 9.522 34.104 40.613 34.103 70.71 34.103C462.609 379.41 504 307.798 504 232 504 95.653 394.023 8 256 8zm-21.68 304.43c-22.249 0-36.07-15.623-36.07-40.771 0-44.993 30.779-72.729 58.63-72.729 22.292 0 35.601 15.241 35.601 40.77 0 45.061-33.875 72.73-58.161 72.73z"]}],At=((_t=function e(t,n){if(_classCallCheck(this,e),n)throw new Error("Import module SharedFontAwesomeModule in the AppModule only");t.addIcons.apply(t,jt)}).\u0275mod=i.wc({type:_t}),_t.\u0275inj=i.vc({factory:function(e){return new(e||_t)(i.Mc(Mt.c),i.Mc(_t,12))},imports:[[Dt]]}),_t),Tt=((Ct=function(){function e(t){var n=this;_classCallCheck(this,e),this.acceptLanguage="*",t.appLocale$.subscribe((function(t){n.acceptLanguage=e.getAcceptLanguageValue(t)}))}return _createClass(e,[{key:"intercept",value:function(e,t){return e.url.includes("/api3/")&&!e.headers.has("accept-language")&&(e=e.clone({setHeaders:{"accept-language":this.acceptLanguage}})),t.handle(e)}}],[{key:"getAcceptLanguageValue",value:function(e){var t=_slicedToArray2(e.split("-",2),1)[0];return"".concat(e,",").concat(t)}}]),e}()).\u0275fac=function(e){return new(e||Ct)(i.Mc(D.C))},Ct.\u0275prov=i.uc({token:Ct,factory:Ct.\u0275fac}),Ct),zt=((yt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i){var r;
1return _classCallCheck(this,n),(r=t.call(this)).router=e,r.zone=i,r}return _createClass(n,[{key:"handleError",value:function(e){var t=this;e instanceof D.Ab?this.zone.run((function(){t.router.navigateByUrl(D.fb.notFound)})):_get(_getPrototypeOf(n.prototype),"handleError",this).call(this,e)}}]),n}(i.r)).\u0275fac=function(e){return new(e||yt)(i.Mc(I.d),i.Mc(i.F))},yt.\u0275prov=i.uc({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt),Lt=((bt=function e(){_classCallCheck(this,e)}).\u0275mod=i.wc({type:bt,bootstrap:[kt]}),bt.\u0275inj=i.vc({factory:function(e){return new(e||bt)},providers:[{provide:w.a,multi:!0,useClass:Tt},{provide:w.a,multi:!0,useClass:xt},{provide:w.a,multi:!0,useClass:Ot},{provide:D.a,useValue:"X-SSR-Proxy-Host"},{provide:D.b,useValue:"X-SSR-Proxy-Scheme"},{provide:i.d,multi:!0,useFactory:function(e,t){return function(){return console.log("AppInitializer"),Object(E.a)(t.checkAuthStatus().pipe(Object(M.a)(1)),e.prepare().pipe(Object(M.a)(1))).toPromise()}},deps:[D.C,D.f]},{provide:i.z,useFactory:function(e){return e.currentLang},deps:[k.e]},{provide:S.a,useFactory:function(e){return e.currentLang},deps:[k.e]},{provide:S.b,useFactory:function(e){var t=e.instantMainConfig.reCaptcha;return{siteKey:t.isConfigured?t.siteKeyV2:void 0}},deps:[G.c]},{provide:D.G,useValue:1024},{provide:D.zb,useValue:St.a.userSessionDuration},{provide:D.g,useValue:St.a.bannerSlideDuration},P.a,{provide:i.r,useClass:zt}],imports:[[c.a.withServerTransition({appId:"cisServerApp"}),c.b,w.c,j,x.t,O.c,R,F,A.a,Et,N.a,V.a,k.c.forRoot(Object.assign({},L.a)),At]]}),bt);St.a.production&&Object(i.bb)(),document.addEventListener("DOMContentLoaded",(function(){Object(i.ab)(_,"cisBrowserDynamic",[{provide:D.hb,useValue:St.a.basePath},{provide:D.y,useValue:!0}])().bootstrapModule(Lt).catch((function(e){return console.error(e)}))}))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);

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.