PageSourceSearch

https://binrota.com/513-es5.e9ad3c4a603e32395579.js

js binrota.com collected 2026-10-02 13:16:34 UTC 162,270 bytes, 1 lines download raw bytes

1!function(){"use strict";function t(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(t)||function(){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 e(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=l(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}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 r,a=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){c=!0,r=t},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw r}}}}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var n,i=a(t);if(e){var o=a(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return r(this,n)}}function r(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var i,o,r=[],a=!0,c=!1;try{for(n=n.call(t);!(a=(i=n.next()).done)&&(r.push(i.value),!e||r.length!==e);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return r}(t,e)||l(t,e)||function(){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 l(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function d(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(self.webpackChunkbinrotacom=self.webpackChunkbinrotacom||[]).push([[513],{513:function(i,r,a){a.r(r),a.d(r,{TourMainModule:function(){return Ti}});var l=a(6983),u=a(6667),s=a(8583),p=a(9866),h=a(7716),f=function t(){g(this,t)};f.\u0275fac=function(t){return new(t||f)},f.\u0275mod=h.oAB({type:f}),f.\u0275inj=h.cJS({providers:[],imports:[[s.ez,p.ef],p.ef]});var m=a(3679),T=a(625),v=a(9238),y=a(2458),P=a(9647),Z=a(946),x=a(9490),_=a(6461),C=a(5072),b=a(521),O=a(7636),M=a(9765),A=a(6782),w=a(5257),q=a(7238),I={tooltipState:(0,q.X$)("state",[(0,q.SB)("initial, void, hidden",(0,q.oB)({opacity:0,transform:"scale(0)"})),(0,q.SB)("visible",(0,q.oB)({transform:"scale(1)"})),(0,q.eR)("* => visible",(0,q.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,q.F4)([(0,q.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,q.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,q.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,q.eR)("* => hidden",(0,q.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,q.oB)({opacity:0}
1)))])},k="tooltip-panel",D=(0,b.i$)({passive:!0}),U=new h.OlP("mat-tooltip-scroll-strategy"),S={provide:U,deps:[T.aV],useFactory:function(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:20})}}},J=new h.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),N=function(){function t(e,n,i,o,r,a,c,l,u,s,d,p){var h=this;g(this,t),this._overlay=e,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=o,this._ngZone=r,this._platform=a,this._ariaDescriber=c,this._focusMonitor=l,this._dir=s,this._defaultOptions=d,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new M.xQ,this._handleKeydown=function(t){h._isTooltipVisible()&&t.keyCode===_.hY&&!(0,_.Vb)(t)&&(t.preventDefault(),t.stopPropagation(),h._ngZone.run(function(){return h.hide(0)}))},this._scrollStrategy=u,this._document=p,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),s.change.pipe((0,A.R)(this._destroyed)).subscribe(function(){h._overlayRef&&h._updatePosition(h._overlayRef)}),r.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",h._handleKeydown)})}return d(t,[{key:"position",get:function(){return this._position},set:function(t){var e;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(e=this._tooltipInstance)||void 0===e||e.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=(0,x.Ig)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(t){var e=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var t=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,A.R)(this._destroyed)).subscribe(function(e){e?"keyboard"===e&&t._ngZone.run(function(){return t.show()}):t._ngZone.run(function(){return t.hide(0)})})}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(e){var n=c(e,2),i=n[0],o=n[1];t.removeEventListener(i,o,D)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}},{key:"show",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new O.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,A.R)(this._destroyed)).subscribe(function(){return t._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(t)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return n.positionChanges.pipe((0,A.R)(this._destroyed)).subscribe(function(e){t._updateCurrentPositionClass(e.connectionPair),t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run(function(){return t.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"".concat(this._cssClassPrefix,"-").concat(k),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,A.R)(this._destroyed)).subscribe(function(){return t._detach()}),this._overlayRef.outsidePointerEvents().pipe((0,A.R)(this._destroyed)).subscribe(function(){var e;return null===(e=t._tooltipInstance)||void 0===e?void 0:e._handleBodyInteraction()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(t){var e=t.getConfig().positionStrategy,n=this._getOrigin(),i=this._getOverlayPosition();e.withPositions([this._addOffset(Object.assign(Object.assign({},n.main),i.main)),this._addOffset(Object.assign(Object.assign({},n.fallback),i.fallback))])}},{key:"_addOffset",value:function(t){return t}},{key:"_getOrigin",value:function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n||"below"==n?t={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&e||"right"==n&&!e?t={originX:"start",originY:"center"}:("after"==n||"right"==n&&e||"left"==n&&!e)&&(t={originX:"end",originY:"center"});var i=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n?t={overlayX:"center",overlayY:"bottom"}:"below"==n?t={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&e||"right"==n&&!e?t={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&e||"left"==n&&!e)&&(t={overlayX:"start",overlayY:"center"});var i=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,w.q)(1),(0,A.R)(this._destroyed)).subscribe(function(){t._tooltipInstance&&t._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}},{key:"_updateCurrentPositionClass",value:function(t){var e,n=t.overlayY,i=t.originX,o=t.originY;if((e="center"===n?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===n&&"top"===o?"above":"below")!==this._currentPosition){var r=this._overlayRef;if(r){var a="".concat(this._cssClassPrefix,"-").concat(k,"-");r.removePanelClass(a+this._currentPosition),r.addPanelClass(a+e)}this._currentPosition=e}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var t=this;this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsM
1ouseEvents()?this._passiveListeners.push(["mouseenter",function(){t._setupPointerExitEventsIfNeeded(),t.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){t._setupPointerExitEventsIfNeeded(),clearTimeout(t._touchstartTimeout),t._touchstartTimeout=setTimeout(function(){return t.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var t,e=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",function(){return e.hide()}],["wheel",function(t){return e._wheelListener(t)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var i=function(){clearTimeout(e._touchstartTimeout),e.hide(e._defaultOptions.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),(t=this._passiveListeners).push.apply(t,n)}}},{key:"_addListeners",value:function(t){var e=this;t.forEach(function(t){var n=c(t,2),i=n[0],o=n[1];e._elementRef.nativeElement.addEventListener(i,o,D)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(t){if(this._isTooltipVisible()){var e=this._document.elementFromPoint(t.clientX,t.clientY),n=this._elementRef.nativeElement;e!==n&&!n.contains(e)&&this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var t=this.touchGestures;if("off"!==t){var e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),("on"===t||!e.draggable)&&(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}]),t}();N.\u0275fac=function(t){return new(t||N)(h.Y36(T.aV),h.Y36(h.SBq),h.Y36(P.mF),h.Y36(h.s_b),h.Y36(h.R0b),h.Y36(b.t4),h.Y36(v.$s),h.Y36(v.tE),h.Y36(void 0),h.Y36(Z.Is),h.Y36(void 0),h.Y36(s.K0))},N.\u0275dir=h.lG2({type:N,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),N.ctorParameters=function(){return[{type:T.aV},{type:h.SBq},{type:P.mF},{type:h.s_b},{type:h.R0b},{type:b.t4},{type:v.$s},{type:v.tE},{type:void 0},{type:Z.Is},{type:void 0},{type:void 0,decorators:[{type:h.tBr,args:[s.K0]}]}]},N.propDecorators={position:[{type:h.IIB,args:["matTooltipPosition"]}],disabled:[{type:h.IIB,args:["matTooltipDisabled"]}],showDelay:[{type:h.IIB,args:["matTooltipShowDelay"]}],hideDelay:[{type:h.IIB,args:["matTooltipHideDelay"]}],touchGestures:[{type:h.IIB,args:["matTooltipTouchGestures"]}],message:[{type:h.IIB,args:["matTooltip"]}],tooltipClass:[{type:h.IIB,args:["matTooltipClass"]}]};var Y=function(t){n(i,t);var e=o(i);function i(t,n,o,r,a,c,l,u,s,d,p,h){var f;return g(this,i),(f=e.call(this,t,n,o,r,a,c,l,u,s,d,p,h))._tooltipComponent=Q,f}return i}(N);Y.\u0275fac=function(t){return new(t||Y)(h.Y36(T.aV),h.Y36(h.SBq),h.Y36(P.mF),h.Y36(h.s_b),h.Y36(h.R0b),h.Y36(b.t4),h.Y36(v.$s),h.Y36(v.tE),h.Y36(U),h.Y36(Z.Is,8),h.Y36(J,8),h.Y36(s.K0))},Y.\u0275dir=h.lG2({type:Y,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[h.qOj]}),Y.ctorParameters=function(){return[{type:T.aV},{type:h.SBq},{type:P.mF},{type:h.s_b},{type:h.R0b},{type:b.t4},{type:v.$s},{type:v.tE},{type:void 0,decorators:[{type:h.tBr,args:[U]}]},{type:Z.Is,decorators:[{type:h.FiY}]},{type:void 0,decorators:[{type:h.FiY},{type:h.tBr,args:[J]}]},{type:void 0,decorators:[{type:h.tBr,args:[s.K0]}]}]};var E=function(){function t(e){g(this,t),this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new M.xQ}return d(t,[{key:"show",value:function(t){var e=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){e._visibility="visible",e._showTimeoutId=void 0,e._onShow(),e._markForCheck()},t)}},{key:"hide",value:function(t){var e=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){e._visibility="hidden",e._hideTimeoutId=void 0,e._markForCheck()},t)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(t){var e=t.toState;"hidden"===e&&!this.isVisible()&&this._onHide.next(),("visible"===e||"hidden"===e)&&(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_onShow",value:function(){}}]),t}();E.\u0275fac=function(t){return new(t||E)(h.Y36(h.sBO))},E.\u0275dir=h.lG2({type:E}
1),E.ctorParameters=function(){return[{type:h.sBO}]};var Q=function(t){n(i,t);var e=o(i);function i(t,n){var o;return g(this,i),(o=e.call(this,t))._breakpointObserver=n,o._isHandset=o._breakpointObserver.observe(C.u3.Handset),o}return i}(E);Q.\u0275fac=function(t){return new(t||Q)(h.Y36(h.sBO),h.Y36(C.Yg))},Q.\u0275cmp=h.Xpm({type:Q,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){2&t&&h.Udp("zoom","visible"===e._visibility?1:null)},features:[h.qOj],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){var n;(1&t&&(h.TgZ(0,"div",0),h.NdJ("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),h.ALo(1,"async"),h._uU(2),h.qZA()),2&t)&&(h.ekj("mat-tooltip-handset",null==(n=h.lcZ(1,5,e._isHandset))?null:n.matches),h.Q6J("ngClass",e.tooltipClass)("@state",e._visibility),h.xp6(2),h.Oqu(e.message))},directives:[s.mk],pipes:[s.Ov],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[I.tooltipState]},changeDetection:0}),Q.ctorParameters=function(){return[{type:h.sBO},{type:C.Yg}]};var L,F,R=function t(){g(this,t)};R.\u0275fac=function(t){return new(t||R)},R.\u0275mod=h.oAB({type:R}),R.\u0275inj=h.cJS({providers:[S],imports:[[v.rt,s.ez,T.U8,y.BQ],y.BQ,P.ZD]}),(F=L||(L={}))[F.None=0]="None",F[F.Tour=1]="Tour",F[F.TourRegion=2]="TourRegion",F[F.TourType=3]="TourType",F[F.TourPeriod=4]="TourPeriod",F[F.Tag=5]="Tag",F[F.Country=6]="Country",F[F.City=7]="City";var B=a(7382),H=a(3361),z=a(9075),j=function(){function t(e){g(this,t),this.sanitizer=e}return d(t,[{key:"ngOnInit",value:function(){this.html=this.getSafeHTML(this.itemLD)}},{key:"getSafeHTML",value:function(t){var e='<script type="application/ld+json">'.concat(t?JSON.stringify(t,null,2).replace(/<\/script>/g,"<\\/script>"):"","<\/script>");return this.sanitizer.bypassSecurityTrustHtml(e)}}]),t}();j.\u0275fac=function(t){return new(t||j)(h.Y36(z.H7))},j.\u0275cmp=h.Xpm({type:j,selectors:[["app-my-json-ld"]],inputs:{itemLD:"itemLD"},decls:1,vars:1,consts:[[3,"innerHTML"]],template:function(t,e){1&t&&h._UZ(0,"div",0),2&t&&h.Q6J("innerHTML",e.html,h.oJD)},encapsulation:2});var $,W=function t(){g(this,t)},G=a(7168);!function(t){t[t.Y\u00fczdesel=1]="Y\xfczdesel",t[t.Miktarsal=2]="Miktarsal",t[t.KatSay\u0131=3]="KatSay\u0131"}($||($={}));var V,K,X=a(4117);!function(t){t[t.Gidi\u015f=1]="Gidi\u015f",t[t.D\u00f6n\u00fc\u015f=2]="D\xf6n\xfc\u015f",t[t["Tur \u0130\xe7i"]=3]="Tur \u0130\xe7i"}(V||(V={})),function(t){t[t.T\u00fcm\u00fc=0]="T\xfcm\xfc",t[t.U\u00e7ak=1]="U\xe7ak",t[t.Otob\u00fcs=2]="Otob\xfcs",t[t.Gemi=3]="Gemi",t[t.Tren=4]="Tren",t[t.Tekne=5]="Tekne",t[t["U\xe7aks\u0131z Paket"]=6]="U\xe7aks\u0131z Paket"}(K||(K={}));var tt,et=a(2286),nt=a(4486),it=function(){function t(){g(this,t)}return d(t,null,[{key:"addExtraToursAndFlights",value:function(e,n,i,o,r){var a=new t;return a.description=e.description,a.id=e.id,a.sort=e.sort,a.title=e.title,a.tourId=e.tourId,a.hotelDetail=e.hotelDetail,a.tourProgramExtraTours=n.filter(function(t){return t.tourProgramId==e.id}),a.tourProgramFlights=i.filter(function(t){return t.tourProgramId==e.id}),a.tourProductFlights=o.filter(function(t){return t.tourProgramId==e.id&&t.tourProductId==r}).sort(function(t,e){return new Date(t.departureDate).getTime()-new Date(e.departureDate).getTime()||t.departureHour.localeCompare(e.departureHour)}),a}}]),t}(),ot=a(2340),rt=a(5092),at=a(3734),ct=a(8396);!function(t){t[t.ListImage=1]="ListImage",t[t.DetailImage=2]="DetailImage",t[t.TourImage=3]="TourImage"}(tt||(tt={}));var lt=a(7058),ut=a(2238),st=a(9775),dt=a(8386),gt=function(){function t(e){g(this,t),this.router=e}return d(t,[{key:"scrollTo",value:function(t){var e=this.__getUrlAndElementId(t),n=e.url,i=e.elementId;n&&(this.router.navigate([n]),i&&this.scrollToElementById(i))}},{key:"__getUrlAndElementId",value:function(t){var e=t.split("#");return{url:e[0],elementId:e[1]}}},{key:"scrollToElementById",value:function(t){var e=this.__getElementById(t);this.scrollToElement(e)}},{key:"__getElementById",value:function(t){return document.querySelector("#".concat(t))}},{key:"scrollToElement",value:function(t){t.scrollIntoView({behavior:"smooth",block:"start"})}}]),t}();gt.\u0275fac=function(t){return new(t||gt)(h.LFG(l.F0))},gt.\u0275prov=h.Yz7({token:gt,factory:gt.\u0275fac,providedIn:"root"});
1var pt=a(9344),ht=a(2417),ft=a(3065),mt=a(6784),Tt=a(1299),vt=a(7441),yt=a(3935),Pt=function(){function t(){g(this,t)}return d(t,[{key:"ngOnInit",value:function(){}}]),t}();Pt.\u0275fac=function(t){return new(t||Pt)},Pt.\u0275cmp=h.Xpm({type:Pt,selectors:[["app-animated-card"]],inputs:{title:"title",detail:"detail",photo:"photo"},decls:8,vars:4,consts:[[1,"animated-card"],[1,"animated-card--image"],[3,"src","alt"],[1,"animated-card--text"],[1,"animated-card--title"],[1,"animated-card--detail"]],template:function(t,e){1&t&&(h.TgZ(0,"div",0),h.TgZ(1,"figure",1),h._UZ(2,"img",2),h.qZA(),h.TgZ(3,"div",3),h.TgZ(4,"div",4),h._uU(5),h.qZA(),h.TgZ(6,"div",5),h._uU(7),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.xp6(2),h.Q6J("src",e.photo,h.LSH)("alt",e.title),h.xp6(3),h.hij(" ",e.title," "),h.xp6(2),h.hij(" ",e.detail," "))},styles:['.animated-card[_ngcontent-%COMP%]{position:relative;overflow:hidden;transition:all ease-in-out .3s}.animated-card--image[_ngcontent-%COMP%]{position:relative;margin:0}.animated-card--image[_ngcontent-%COMP%]:before{content:"";background-image:linear-gradient(to bottom,rgba(255,0,0,0),rgba(0,0,0,.6));position:absolute;top:0;left:0;right:0;bottom:0;z-index:1}.animated-card--image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;display:block}.animated-card--text[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;right:0;color:var(--white);z-index:3;padding:0 5% 5%}@media (min-width: 768px){.animated-card--text[_ngcontent-%COMP%]{transform:translateY(100%);transition:all ease-in-out .3s}}.animated-card--title[_ngcontent-%COMP%]{font-size:18px;padding-bottom:5%}@media (min-width: 768px){.animated-card--title[_ngcontent-%COMP%]{transform:translateY(-100%);transition:all ease-in-out .3s}}.animated-card--detail[_ngcontent-%COMP%]{font-size:13px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.animated-card[_ngcontent-%COMP%]:hover{box-shadow:0 5px 20px var(--light-grey)}@media (min-width: 768px){.animated-card[_ngcontent-%COMP%]:hover   .animated-card--text[_ngcontent-%COMP%]{transform:translateY(0)}.animated-card[_ngcontent-%COMP%]:hover   .animated-card--title[_ngcontent-%COMP%]{transform:translateY(0);padding-bottom:2%}}']});var Zt=a(1459),xt=function(){function t(){g(this,t)}return d(t,[{key:"transform",value:function(t,e){var n=t.reduce(function(t,n){return(t[n[e]]=t[n[e]]||[]).push(n),t[n[e]].hotelName=n.hotelName,t[n[e]].hotelCapacity=n.hotelCapacity,t},{});return Object.keys(n).map(function(t){return{key:t,value:n[t].hotelName,hotelCapacity:n[t].hotelCapacity}})}}]),t}();xt.\u0275fac=function(t){return new(t||xt)},xt.\u0275pipe=h.Yjl({name:"groupBy",type:xt,pure:!0});var _t=a(4234),Ct=a(2572),bt=["personsMatMenuButton"];function Ot(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"button",55),h.NdJ("click",function(){return h.CHM(n),h.oxw(2).openPrintOutPopup()}),h._UZ(1,"i",56),h._uU(2," Tur Program\u0131n\u0131 Yazd\u0131r "),h.qZA()}}function Mt(t,e){if(1&t&&(h.TgZ(0,"div",57),h.TgZ(1,"div",58),h._UZ(2,"img",59),h.qZA(),h.TgZ(3,"p"),h._uU(4),h.qZA(),h.qZA()),2&t){var n=e.$implicit;h.xp6(2),h.Q6J("src",n.typeImage,h.LSH)("alt",n.name),h.xp6(2),h.Oqu(n.name)}}function At(t,e){if(1&t&&(h.TgZ(0,"div",57),h.TgZ(1,"div",58),h._UZ(2,"img",59),h.qZA(),h.TgZ(3,"p"),h._uU(4),h.qZA(),h.qZA()),2&t){var n=e.$implicit;h.xp6(2),h.Q6J("src",n.typeImage,h.LSH)("alt",n.name),h.xp6(2),h.Oqu(n.name)}}function wt(t,e){1&t&&(h.TgZ(0,"div",60),h.TgZ(1,"div",22),h.TgZ(2,"span",41),h._uU(3,"Yak\u0131nda"),h.qZA(),h.qZA(),h.qZA())}function qt(t,e){if(1&t&&(h.TgZ(0,"mat-option",96),h._uU(1),h.qZA()),2&t){var n=e.$implicit,i=h.oxw(3);h.Q6J("value",n.id),h.xp6(1),h.hij(" ",i.coreService.getStartEndDate(n.startDate,n.endDate)," ")}}function It(t,e){if(1&t&&(h.TgZ(0,"span"),h._uU(1),h.qZA()),2&t){var n=h.oxw(3);h.xp6(1),h.hij(", ",n.childCount-n.babyCount," \xc7ocuk")}}function kt(t,e){if(1&t&&(h.TgZ(0,"span"),h._uU(1),h.qZA()),2&t){var n=h.oxw(3);h.xp6(1),h.hij(", ",n.babyCount," Bebek")}}function Dt(t,e){if(1&t&&(h.TgZ(0,"option",96),h._uU(1),h.qZA()),2&t){var n=e.$implicit;h.Q6J("value",n),h.xp6(1),h.hij(" ",n," ")}}
1function Ut(t,e){if(1&t&&(h.TgZ(0,"option",96),h._uU(1),h.qZA()),2&t){var n=e.$implicit;h.Q6J("value",n),h.xp6(1),h.hij(" ",n," ")}}function St(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div",22),h.TgZ(1,"select",97),h.NdJ("change",function(){return h.CHM(n),h.oxw(4).onSelectedUserCountChange()})("ngModelChange",function(t){return h.CHM(n),h.oxw(4).childAge2=t}),h.TgZ(2,"option",98),h._uU(3," \u0130kinci "),h.qZA(),h.YNc(4,Ut,2,2,"option",65),h.qZA(),h.qZA()}if(2&t){var i=h.oxw(4);h.xp6(1),h.Q6J("ngModel",i.childAge2),h.xp6(1),h.Q6J("ngValue",null),h.xp6(2),h.Q6J("ngForOf",i.childAges)}}function Jt(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div",63),h.TgZ(1,"label"),h._uU(2," \xc7ocuk Ya\u015flar\u0131 "),h.qZA(),h.TgZ(3,"div",62),h.TgZ(4,"div",22),h.TgZ(5,"select",97),h.NdJ("change",function(){return h.CHM(n),h.oxw(3).onSelectedUserCountChange()})("ngModelChange",function(t){return h.CHM(n),h.oxw(3).childAge1=t}),h.TgZ(6,"option",98),h._uU(7," Birinci "),h.qZA(),h.YNc(8,Dt,2,2,"option",65),h.qZA(),h.qZA(),h.YNc(9,St,5,3,"div",99),h.qZA(),h.qZA()}if(2&t){var i=h.oxw(3);h.xp6(5),h.Q6J("ngModel",i.childAge1),h.xp6(1),h.Q6J("ngValue",null),h.xp6(2),h.Q6J("ngForOf",i.childAges),h.xp6(1),h.Q6J("ngIf",i.childCount>1)}}function Nt(t,e){1&t&&(h.TgZ(0,"span",100),h._UZ(1,"i",101),h.TgZ(2,"strong"),h._uU(3," DOLU"),h.qZA(),h.qZA())}function Yt(t,e){if(1&t&&(h.TgZ(0,"span",102),h._UZ(1,"i",101),h.TgZ(2,"strong"),h._uU(3),h.qZA(),h.qZA()),2&t){var n=h.oxw(3);h.Q6J("matTooltip","Son"+n.selectedTourProductPrice.hotelCapacity+" oda"),h.xp6(3),h.hij(" Son ",n.selectedTourProductPrice.hotelCapacity," Oda")}}function Et(t,e){1&t&&(h.TgZ(0,"span",106),h._UZ(1,"i",107),h.TgZ(2,"strong"),h._uU(3," DOLU"),h.qZA(),h.qZA())}function Qt(t,e){if(1&t&&(h.TgZ(0,"span",108),h._UZ(1,"i",107),h.TgZ(2,"strong"),h._uU(3),h.qZA(),h.qZA()),2&t){var n=h.oxw().$implicit;h.Q6J("matTooltip","Son"+n.hotelCapacity+" oda"),h.xp6(3),h.hij(" Son ",n.hotelCapacity," Oda")}}function Lt(t,e){if(1&t&&(h.TgZ(0,"mat-option",103),h.TgZ(1,"div",81),h._uU(2),h.YNc(3,Et,4,0,"span",104),h.YNc(4,Qt,4,2,"span",105),h.qZA(),h.qZA()),2&t){var n=e.$implicit,i=h.oxw(3);h.Q6J("value",n.key),h.xp6(2),h.hij(" ",n.value," "),h.xp6(1),h.Q6J("ngIf",n.hotelCapacity<=0),h.xp6(1),h.Q6J("ngIf",n.hotelCapacity>0&&n.hotelCapacity<6&&n.hotelCapacity<i.selectedTourProduct.capacity)}}function Ft(t,e){if(1&t&&(h.TgZ(0,"div",109),h.TgZ(1,"strong",39),h._uU(2),h.ALo(3,"formatPrice"),h.TgZ(4,"small"),h._uU(5),h.ALo(6,"customCurrency"),h.qZA(),h.qZA(),h.qZA()),2&t){var n=h.oxw(3);h.xp6(2),h.hij(" ",h.xi3(3,2,n.getSelectedTourProductPricePP(),"integer")," "),h.xp6(3),h.Oqu(h.lcZ(6,5,n.selectedTourProductPrice.currencyTypeId))}}function Rt(t,e){if(1&t&&(h.TgZ(0,"span"),h._uU(1),h.qZA()),2&t){var n=h.oxw(3);h.xp6(1),h.hij(", ",n.childCount-n.babyCount," \xc7ocuk")}}function Bt(t,e){if(1&t&&(h.TgZ(0,"span"),h._uU(1),h.qZA()),2&t){var n=h.oxw(3);h.xp6(1),h.hij(", ",n.babyCount," Bebek")}}function Ht(t,e){if(1&t&&(h.TgZ(0,"div",110),h.TgZ(1,"strong",39),h._uU(2),h.ALo(3,"formatPrice"),h.TgZ(4,"small"),h._uU(5),h.ALo(6,"customCurrency"),h.qZA(),h.qZA(),h.qZA()),2&t){var n=h.oxw(3);h.xp6(2),h.hij(" ",h.xi3(3,2,n.getSelectedPrice(!1),"integer")," "),h.xp6(3),h.Oqu(h.lcZ(6,5,n.selectedTourProductPrice.currencyTypeId))}}function zt(t,e){if(1&t&&(h.TgZ(0,"div",111),h.TgZ(1,"strong"),h._uU(2),h.ALo(3,"formatPrice"),h.ALo(4,"customCurrency"),h.qZA(),h.qZA()),2&t){var n=h.oxw(3);h.xp6(2),h.AsE(" ",h.xi3(3,2,n.getSelectedPrice(!1,!1),"integer")," ",h.lcZ(4,5,n.selectedTourProductPrice.currencyTypeId)," ")}}function jt(t,e){if(1&t&&(h.TgZ(0,"div",112),h.TgZ(1,"span",113),h._uU(2," Aktif Kampanyalar "),h.qZA(),h.qZA()),2&t){var n=h.oxw(3);h.xp6(1),h.Q6J("matTooltip",n.coreService.getCampaignNames(n.selectedTourProduct.campaigns))}}function $t(t,e){1&t&&(h.TgZ(0,"div",112),h.TgZ(1,"span",114),h._UZ(2,"i",101),h.TgZ(3,"strong"),h._uU(4," T\xdcKEND\u0130"),h.qZA(),h.qZA(),h.qZA())}function Wt(t,e){if(1&t&&(h.TgZ(0,"div",112),h.TgZ(1,"span",115),h._UZ(2,"i",101),h.TgZ(3,"strong"),h._uU(4),h.qZA(),h.qZA(),h.qZA()),2&t){var n=h.oxw(3);h.xp6(1),h.MGl("matTooltip","Acele edin! Tura kat\u0131lmak i\xe7in 
1son ",n.selectedTourProduct.capacity," ki\u015fi."),h.xp6(3),h.hij(" Son ",n.selectedTourProduct.capacity," ki\u015fi")}}function Gt(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div",60),h.TgZ(1,"div",61),h.TgZ(2,"div",62),h.TgZ(3,"div",38),h.TgZ(4,"div",63),h.TgZ(5,"label"),h._uU(6," Kalk\u0131\u015f Tarihi: "),h.qZA(),h.TgZ(7,"mat-select",64),h.NdJ("valueChange",function(t){return h.CHM(n),h.oxw(2).selectedDate=t})("selectionChange",function(){return h.CHM(n),h.oxw(2).onSelectedDateChange()}),h.YNc(8,qt,2,2,"mat-option",65),h.qZA(),h.qZA(),h.qZA(),h.TgZ(9,"div",38),h.TgZ(10,"div",66),h.TgZ(11,"label"),h._uU(12,"Ki\u015fi Say\u0131s\u0131"),h.qZA(),h.TgZ(13,"button",67,68),h._uU(15),h.YNc(16,It,2,1,"span",1),h.YNc(17,kt,2,1,"span",1),h.qZA(),h.TgZ(18,"mat-menu",69,70),h.TgZ(20,"div",71),h.NdJ("click",function(t){return t.stopPropagation(),t.preventDefault()}),h.TgZ(21,"div",63),h.TgZ(22,"label"),h._uU(23," Yeti\u015fkin Say\u0131s\u0131 "),h.qZA(),h.TgZ(24,"div",72),h.TgZ(25,"input",73),h.NdJ("ngModelChange",function(t){return h.CHM(n),h.oxw(2).adultCount=t}),h.qZA(),h.TgZ(26,"button",74),h.NdJ("click",function(){return h.CHM(n),h.oxw(2).personMinus("adult")}),h._UZ(27,"i",75),h.qZA(),h.TgZ(28,"button",76),h.NdJ("click",function(){return h.CHM(n),h.oxw(2).personPlus("adult")}),h._UZ(29,"i",77),h.qZA(),h.qZA(),h.qZA(),h.TgZ(30,"div",63),h.TgZ(31,"label"),h._uU(32," \xc7ocuk Say\u0131s\u0131 "),h.qZA(),h.TgZ(33,"div",72),h.TgZ(34,"input",73),h.NdJ("ngModelChange",function(t){return h.CHM(n),h.oxw(2).childCount=t}),h.qZA(),h.TgZ(35,"button",74),h.NdJ("click",function(){return h.CHM(n),h.oxw(2).personMinus("child")}),h._UZ(36,"i",75),h.qZA(),h.TgZ(37,"button",76),h.NdJ("click",function(){return h.CHM(n),h.oxw(2).personPlus("child")}),h._UZ(38,"i",77),h.qZA(),h.qZA(),h.qZA(),h.YNc(39,Jt,10,4,"div",78),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(40,"div",79),h.TgZ(41,"div",63),h.TgZ(42,"label"),h._uU(43," Otel Se\xe7imi: "),h.qZA(),h.TgZ(44,"mat-select",80),h.NdJ("valueChange",function(t){return h.CHM(n),h.oxw(2).selectedHotelId=t})("selectionChange",function(){return h.CHM(n),h.oxw(2).onSelectedHotelChange()}),h.TgZ(45,"mat-select-trigger"),h.TgZ(46,"div",81),h._uU(47),h.YNc(48,Nt,4,0,"span",82),h.YNc(49,Yt,4,2,"span",83),h.qZA(),h.qZA(),h.YNc(50,Lt,5,4,"mat-option",84),h.ALo(51,"groupBy"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(52,"div",85),h.TgZ(53,"div",60),h.TgZ(54,"div",86),h.TgZ(55,"small",87),h._uU(56,"1 Ki\u015filik Fiyat"),h.qZA(),h.YNc(57,Ft,7,7,"div",88),h._UZ(58,"hr",89),h.qZA(),h.qZA(),h.TgZ(59,"div",60),h.TgZ(60,"div",86),h.TgZ(61,"small",87),h._uU(62),h.YNc(63,Rt,2,1,"span",1),h.YNc(64,Bt,2,1,"span",1),h._uU(65," Fiyat\u0131 "),h.qZA(),h.qZA(),h.YNc(66,Ht,7,7,"div",90),h.TgZ(67,"div",91),h.TgZ(68,"strong",92),h._uU(69),h.ALo(70,"formatPrice"),h.TgZ(71,"small"),h._uU(72,"TL"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(73,"div",60),h.YNc(74,zt,5,7,"div",93),h.qZA(),h.qZA(),h.TgZ(75,"div",94),h.TgZ(76,"div",62),h.YNc(77,jt,3,1,"div",95),h.YNc(78,$t,5,0,"div",95),h.YNc(79,Wt,5,2,"div",95),h.qZA(),h.qZA(),h.qZA()}if(2&t){var i=h.MAs(19),o=h.oxw(2);h.xp6(7),h.Q6J("value",o.selectedDate),h.xp6(1),h.Q6J("ngForOf",o.tourDetail.tourProducts),h.xp6(5),h.Q6J("disabled",!o.selectedTourProduct)("matMenuTriggerFor",i),h.xp6(2),h.hij(" ",o.adultCount," Yeti\u015fkin"),h.xp6(1),h.Q6J("ngIf",o.childCount-o.babyCount>0),h.xp6(1),h.Q6J("ngIf",o.babyCount>0),h.xp6(8),h.Q6J("ngModel",o.adultCount),h.xp6(9),h.Q6J("ngModel",o.childCount),h.xp6(5),h.Q6J("ngIf",o.childCount>0),h.xp6(5),h.Q6J("value",o.selectedHotelId),h.xp6(3),h.hij(" ",o.getHotelName(o.selectedHotelId)," "),h.xp6(1),h.Q6J("ngIf",o.selectedTourProductPrice.hotelCapacity<=0),h.xp6(1),h.Q6J("ngIf",o.selectedTourProductPrice.hotelCapacity>0&&o.selectedTourProductPrice.hotelCapacity<6&&o.selectedTourProductPrice.hotelCapacity<o.selectedTourProduct.capacity),h.xp6(1),h.Q6J("ngForOf",h.xi3(51,26,o.selectedTourProduct.tourProductPrices,"hotelId")),h.xp6(7),h.Q6J("ngIf",o.selectedTourProductPrice&&o.selectedTourProductPrice.currencyTypeId!=o.currencyEnum.TL),h.xp6(5),h.hij(" ",o.adultCount," Yeti\u015fkin "),h.xp6(1),h.Q6J("ngIf",o.childCount-o.babyCount>0),h.xp6(1),h.Q6J("ngIf",o.babyCount>0),h.xp6(2),h.Q6J("ngIf",o.selectedTourProductPrice&&o.selectedTourProductPrice.currencyTypeId!=o.currencyEnum.TL),h.xp6(1),h.Q6J("ngClass",o.selectedTourProductPrice&&o.selectedTourProductPrice.currencyTypeId!=o.currencyEnum.TL?"text-left tl-price":"text-center new-price"),h.xp6(2),h.hij(" ",h.xi3(70,29,o.get
1SelectedPrice(),"integer")," "),h.xp6(5),h.Q6J("ngIf",o.selectedTourProductPrice.campaignPrice),h.xp6(3),h.Q6J("ngIf",(null==o.selectedTourProduct.campaigns?null:o.selectedTourProduct.campaigns.length)>0),h.xp6(1),h.Q6J("ngIf",o.selectedTourProduct.capacity<=0),h.xp6(1),h.Q6J("ngIf",o.selectedTourProduct.capacity<10&&o.selectedTourProduct.capacity>0)}}function Vt(t,e){1&t&&(h.TgZ(0,"div",20),h.TgZ(1,"div",116),h.TgZ(2,"div",22),h.TgZ(3,"div",23),h._uU(4," Bu turda kontenjanlar\u0131m\u0131z dolmu\u015ftur. Ek yer talebi ya da alternatif turlar hakk\u0131nda bilgi almak i\xe7in hemen bizi aray\u0131n (212) 219 68 86 "),h.qZA(),h.qZA(),h.qZA(),h.qZA())}function Kt(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div",25),h.TgZ(1,"button",26),h.NdJ("click",function(){h.CHM(n),h.oxw();var t=h.MAs(103);return h.oxw().selectedTab(6,t)}),h._uU(2," Tur Resimleri "),h.qZA(),h.qZA()}if(2&t){var i=h.oxw(2);h.xp6(1),h.Q6J("ngClass",6==i.activeTab?"active":"")}}function Xt(t,e){if(1&t&&(h.TgZ(0,"div",121),h.TgZ(1,"span",92),h._uU(2),h.TgZ(3,"strong"),h._uU(4),h.qZA(),h.TgZ(5,"strong"),h._uU(6),h.qZA(),h.qZA(),h.qZA()),2&t){var n=e.$implicit;h.xp6(2),h.hij(" ",n.sort,". Kalk\u0131\u015f Noktas\u0131: "),h.xp6(2),h.hij("",n.title," -"),h.xp6(2),h.hij(" ",n.summary,"")}}function te(t,e){if(1&t&&(h.ynx(0),h.YNc(1,Xt,7,3,"div",120),h.BQk()),2&t){var n=h.oxw(3);h.xp6(1),h.Q6J("ngForOf",n.tourDetail.tourDeparturePoints)}}function ee(t,e){if(1&t&&(h.TgZ(0,"div",122),h.TgZ(1,"span",92),h._UZ(2,"i",123),h._uU(3," U\xe7u\u015f No: "),h.TgZ(4,"strong"),h._uU(5),h.qZA(),h._uU(6," ("),h.TgZ(7,"strong"),h._uU(8),h.qZA(),h._uU(9,") - Kalk\u0131\u015f: "),h.TgZ(10,"strong"),h._uU(11),h.qZA(),h._uU(12," - Tarih: "),h.TgZ(13,"strong"),h._uU(14),h.ALo(15,"date"),h.qZA(),h._uU(16," - Saat: "),h.TgZ(17,"strong"),h._uU(18),h.qZA(),h._uU(19," - Var\u0131\u015f: "),h.TgZ(20,"strong"),h._uU(21),h.qZA(),h._uU(22," - Tarih: "),h.TgZ(23,"strong"),h._uU(24),h.ALo(25,"date"),h.qZA(),h._uU(26," - Saat: "),h.TgZ(27,"strong"),h._uU(28),h.qZA(),h.qZA(),h.qZA()),2&t){var n=e.$implicit;h.xp6(5),h.Oqu(n.flightNumber),h.xp6(3),h.Oqu(n.airlineCompanyName),h.xp6(3),h.Oqu(n.cityOfDeparture),h.xp6(3),h.Oqu(h.xi3(15,8,n.departureDate,"dd MMMM yyyy")),h.xp6(4),h.Oqu(n.departureHour),h.xp6(3),h.Oqu(n.cityOfArrival),h.xp6(3),h.Oqu(h.xi3(25,11,n.arrivalDate,"dd MMMM yyyy")),h.xp6(4),h.Oqu(n.arrivalHour)}}function ne(t,e){if(1&t&&(h.TgZ(0,"div",124),h.TgZ(1,"span",87),h._UZ(2,"i",125),h._uU(3," Konaklama: "),h.TgZ(4,"strong"),h._uU(5),h.qZA(),h.qZA(),h.qZA()),2&t){var n=h.oxw().$implicit;h.xp6(5),h.Oqu(n.hotelDetail)}}function ie(t,e){if(1&t&&(h.TgZ(0,"strong"),h._uU(1),h.qZA()),2&t){var n=h.oxw().$implicit,i=h.oxw(3);h.xp6(1),h.hij(" (",i.coreService.getPrice(n.convertedPrice)," TL) ")}}function oe(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"button",128),h.NdJ("click",function(t){return h.CHM(n),h.oxw(4).toggleText(t)}),h._uU(1," Detaylar "),h.qZA()}}function re(t,e){if(1&t&&(h.TgZ(0,"div",122),h.TgZ(1,"span",92),h._uU(2,"Opsiyonel Tur - "),h.TgZ(3,"strong"),h._uU(4),h.qZA(),h._uU(5," | Ki\u015fi Ba\u015f\u0131: "),h.TgZ(6,"strong"),h._uU(7),h.qZA(),h.YNc(8,ie,2,1,"strong",1),h.qZA(),h.YNc(9,oe,2,0,"button",126),h.TgZ(10,"div",127),h._uU(11),h.qZA(),h.qZA()),2&t){var n=e.$implicit,i=h.oxw(3);h.xp6(4),h.Oqu(n.title),h.xp6(3),h.AsE(" ",i.coreService.getPrice(n.price)," ",i.coreService.getCurrency(n.currencyTypeId)," "),h.xp6(1),h.Q6J("ngIf","TL"!=i.coreService.getCurrency(n.currencyTypeId)),h.xp6(1),h.Q6J("ngIf",n.description),h.xp6(2),h.hij(" ",n.description," ")}}function ae(t,e){if(1&t&&(h.TgZ(0,"div"),h.TgZ(1,"span",117),h._uU(2),h.qZA(),h.TgZ(3,"h5"),h._uU(4),h.qZA(),h.TgZ(5,"p"),h._uU(6),h.qZA(),h.YNc(7,te,2,1,"ng-container",1),h.YNc(8,ee,29,14,"div",118),h.YNc(9,ne,6,1,"div",119),h.YNc(10,re,12,6,"div",118),h.qZA()),2&t){var n=e.$implicit,i=e.index,o=h.oxw(2);h.xp6(2),h.hij("",n.sort,". G\xfcn"),h.xp6(2),h.Oqu(n.title),h.xp6(2),h.Oqu(n.description),h.xp6(1),h.Q6J("ngIf",o.tourDetail.transportTypeId===o.transportTypes.Otob\u00fcs&&0===i),h.xp6(1),h.Q6J("ngForOf",n.tourProductFlights),h.xp6(1),h.Q6J("ngIf",n.hotelDetail),h.xp6(1),h.Q6J("ngForOf",n.tourProgramExtraTours)}}function ce(t,e){if(1&t&&(h.TgZ(0,"li"),h._uU(1),h.qZA()),2&t){var n=e.$implicit;h.xp6(1),h.hij(" ",n.text," ")}}function le(t,e){if(1&t&&(h.TgZ(0,"li"),h._uU(1),h.qZA()),2&t){var n=e.$implicit;h.xp6(1),h.hij(" ",n.text," ")}}function ue(t,e){1&t&&(h.TgZ(0,"span",137),h._UZ(1,"i",101),h.TgZ(2,"strong"),h._uU(3," DOLU"),h.qZA(),h.qZA())}function se(t,e){if(1&t&&(h.TgZ(0,"span",138),h._UZ(1,"i",101),h.TgZ(2,"strong"),h._uU(3),h.qZA(),h.qZA()),2&t){var n=h.oxw().$implicit;h.Q6J("matTooltip","Son"+n.hotelCapacity+" oda"),h.xp6(3),h.hij(" Son ",n.hotelCapacity," Oda")}}function de(t,e){if(1&t&&(h.TgZ(0,"div",141),h.TgZ(1,"strong"),h._uU(2),h.qZA(),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(2),h.AsE("",i.coreService.getPrice(n.double),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function ge(t,e){if(1&t&&(h.TgZ(0,"strong",39),h._uU(1),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.coreService.getPrice(n.doubleWithCampaign),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function pe(t,e){if(1&t&&(h.TgZ(0,"strong",39),h._uU(1),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.coreService.getPrice(n.double),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function he(t,e){if(1&t&&(h.TgZ(0,"span"),h.YNc(1,de,3,2,"div",139),h.YNc(2,ge,2,2,"strong",140),h.YNc(3,pe,2,2,"strong",140),h.qZA()),2&t){var n=h.oxw().$implicit;h.xp6(1),h.Q6J("ngIf",n.doubleWithCampaign),h.xp6(1),h.Q6J("ngIf",n.doubleWithCampaign),h.xp6(1),h.Q6J("ngIf",!n.doubleWithCampaign)}}function fe(t,e){1&t&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function me(t,e){if(1&t&&(h.TgZ(0,"div",141),h.TgZ(1,"strong"),h._uU(2),h.qZA(),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(2),h.AsE("",i.coreService.getPrice(n.triple),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function Te(t,e){if(1&t&&(h.TgZ(0,"strong",39),h._uU(1),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.coreService.getPrice(n.tripleWithCampaign),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function ve(t,e){if(1&t&&(h.TgZ(0,"strong",39),h._uU(1),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.coreService.getPrice(n.triple),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function ye(t,e){if(1&t&&(h.TgZ(0,"span"),h.YNc(1,me,3,2,"div",139),h.YNc(2,Te,2,2,"strong",140),h.YNc(3,ve,2,2,"strong",140),h.qZA()),2&t){var n=h.oxw().$implicit;h.xp6(1),h.Q6J("ngIf",n.tripleWithCampaign),h.xp6(1),h.Q6J("ngIf",n.tripleWithCampaign),h.xp6(1),h.Q6J("ngIf",!n.tripleWithCampaign)}}function Pe(t,e){1&t&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function Ze(t,e){if(1&t&&(h.TgZ(0,"div",141),h.TgZ(1,"strong"),h._uU(2),h.qZA(),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(2),h.AsE("",i.coreService.getPrice(n.single),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function xe(t,e){if(1&t&&(h.TgZ(0,"strong",39),h._uU(1),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.coreService.getPrice(n.singleWithCampaign),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function _e(t,e){if(1&t&&(h.TgZ(0,"strong",39),h._uU(1),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.coreService.getPrice(n.single),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function Ce(t,e){if(1&t&&(h.TgZ(0,"span"),h.YNc(1,Ze,3,2,"div",139),h.YNc(2,xe,2,2,"strong",140),h.YNc(3,_e,2,2,"strong",140),h.qZA()),2&t){var n=h.oxw().$implicit;h.xp6(1),h.Q6J("ngIf",n.singleWithCampaign),h.xp6(1),h.Q6J("ngIf",n.singleWithCampaign),h.xp6(1),h.Q6J("ngIf",!n.singleWithCampaign)}}function be(t,e){1&t&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function Oe(t,e){if(1&t&&(h.TgZ(0,"div",141),h.TgZ(1,"strong"),h._uU(2),h.qZA(),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(2),h.AsE("",i.coreService.getPrice(n.child),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function Me(t,e){if(1&t&&(h.TgZ(0,"strong",39),h._uU(1),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.coreService.getPrice(n.childWithCampaign),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function Ae(t,e){if(1&t&&(h.TgZ(0,"strong",39),h._uU(1),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.coreService.getPrice(n.child),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function we(t,e){if(1&t&&(h.TgZ(0,"span"),h.YNc(1,Oe,3,2,"div",139),h.YNc(2,Me,2,2,"strong",140),h.YNc(3,Ae,2,2,"strong",140),h.qZA()),2&t){var n=h.oxw().$implicit;h.xp6(1),h.Q6J("ngIf",n.childWithCampaign),h.xp6(1),h.Q6J("ngIf",n.childWithCampaign),h.xp6(1),h.Q6J("ngIf",!n.childWithCampaign)}}function qe(t,e){1&t&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function Ie(t,e){if(1&t&&(h.TgZ(0,"div",141),h.TgZ(1,"strong"),h._uU(2),h.qZA(),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(2),h.AsE("",i.coreService.getPrice(n.secondChild),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function ke(t,e){if(1&t&&(h.TgZ(0,"strong",39),h._uU(1),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.coreService.getPrice(n.secondChildWithCampaign),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function De(t,e){if(1&t&&(h.TgZ(0,"strong",39),h._uU(1),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.coreService.getPrice(n.secondChild),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function Ue(t,e){if(1&t&&(h.TgZ(0,"span"),h.YNc(1,Ie,3,2,"div",139),h.YNc(2,ke,2,2,"strong",140),h.YNc(3,De,2,2,"strong",140),h.qZA()),2&t){var n=h.oxw().$implicit;h.xp6(1),h.Q6J("ngIf",n.secondChildWithCampaign),h.xp6(1),h.Q6J("ngIf",n.secondChildWithCampaign),h.xp6(1),h.Q6J("ngIf",!n.secondChildWithCampaign)}}function Se(t,e){1&t&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function Je(t,e){if(1&t&&(h.TgZ(0,"div",141),h.TgZ(1,"strong"),h._uU(2),h.qZA(),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(2),h.AsE("",i.coreService.getPrice(n.baby),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function Ne(t,e){if(1&t&&(h.TgZ(0,"strong",39),h._uU(1),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.coreService.getPrice(n.babyWithCampaign),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function Ye(t,e){if(1&t&&(h.TgZ(0,"strong",39),h._uU(1),h.qZA()),2&t){var n=h.oxw(2).$implicit,i=h.oxw(3);h.xp6(1),h.AsE("",i.coreService.getPrice(n.baby),"\xa0",i.coreService.getCurrency(n.currencyTypeId),"")}}function Ee(t,e){if(1&t&&(h.TgZ(0,"span"),h.YNc(1,Je,3,2,"div",139),h.YNc(2,Ne,2,2,"strong",140),h.YNc(3,Ye,2,2,"strong",140),h.qZA()),2&t){var n=h.oxw().$implicit;h.xp6(1),h.Q6J("ngIf",n.babyWithCampaign),h.xp6(1),h.Q6J("ngIf",n.babyWithCampaign),h.xp6(1),h.Q6J("ngIf",!n.babyWithCampaign)}}function Qe(t,e){1&t&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function Le(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"tr"),h.TgZ(1,"td"),h._uU(2),h.ALo(3,"date"),h.ALo(4,"date"),h.qZA(),h.TgZ(5,"td"),h._uU(6),h.YNc(7,ue,4,0,"span",133),h.YNc(8,se,4,2,"span",134),h.qZA(),h.TgZ(9,"td",135),h.YNc(10,he,4,3,"span",1),h.YNc(11,fe,2,0,"span",1),h.qZA(),h.TgZ(12,"td",135),h.YNc(13,ye,4,3,"span",1),h.YNc(14,Pe,2,0,"span",1),h.qZA(),h.TgZ(15,"td",135),h.YNc(16,Ce,4,3,"span",1),h.YNc(17,be,2,0,"span",1),h.qZA(),h.TgZ(18,"td",135),h.YNc(19,we,4,3,"span",1),h.YNc(20,qe,2,0,"span",1),h.qZA(),h.TgZ(21,"td",135),h.YNc(22,Ue,4,3,"span",1),h.YNc(23,Se,2,0,"span",1),h.qZA(),h.TgZ(24,"td",135),h.YNc(25,Ee,4,3,"span",1),h.YNc(26,Qe,2,0,"span",1),h.qZA(),h.TgZ(27,"td",135),h.TgZ(28,"button",136),h.NdJ("click",function(){var t=h.CHM(n).$implicit;h.oxw(2);var e=h.MAs(3);return h.oxw().onChangeSelectedTourProduct(t.tourProductId,t.hotelId,t.hotelProductCount,e,t.hotelCapacity)}),h._uU(29," SE\xc7 "),h.qZA(),h.qZA(),h.qZA()}if(2&t){var i=e.$implicit;h.xp6(2),h.AsE(" ",h.xi3(3,18,i.startDate,"dd MMMM yyyy")," | ",h.xi3(4,21,i.endDate,"dd MMMM yyyy")," "),h.xp6(4),h.hij(" ",i.hotel," "),h.xp6(1),h.Q6J("ngIf",i.hotelCapacity<=0),h.xp6(1),h.Q6J("ngIf",i.hotelCapacity>0&&i.hotelCapacity<6&&i.hotelCapacity<i.capacity),h.xp6(2),h.Q6J("ngIf",0!==i.double),h.xp6(1),h.Q6J("ngIf",0===i.double),h.xp6(2),h.Q6J("ngIf",0!==i.triple),h.xp6(1),h.Q6J("ngIf",0===i.triple),h.xp6(2),h.Q6J("ngIf",0!==i.single),h.xp6(1),h.Q6J("ngIf",0===i.single),h.xp6(2),h.Q6J("ngIf",0!==i.child),h.xp6(1),h.Q6J("ngIf",0===i.child),h.xp6(2),h.Q6J("ngIf",0!==i.secondChild),h.xp6(1),h.Q6J("ngIf",0===i.secondChild),h.xp6(2),h.Q6J("ngIf",0!==i.baby),h.xp6(1),h.Q6J("ngIf",0===i.baby),h.xp6(2),h.Q6J("disabled",i.hotelProductCount<1)}}function Fe(t,e){if(1&t&&(h.TgZ(0,"div",129),h.TgZ(1,"table",130),h.TgZ(2,"thead"),h.TgZ(3,"tr"),h.TgZ(4,"th",131),h._uU(5,"TAR\u0130H"),h.qZA(),h.TgZ(6,"th"),h._uU(7,"OTEL"),h.qZA(),h.TgZ(8,"th"),h._uU(9,"\u0130ki Ki\u015filik Odada Ki\u015fiba\u015f\u0131"),h.qZA(),h.TgZ(10,"th"),h._uU(11,"\u0130lave Yatak"),h.qZA(),h.TgZ(12,"th"),h._uU(13,"Tek Ki\u015filik Oda"),h.qZA(),h.TgZ(14,"th"),h._uU(15," Tek \xc7ocuk "),h.TgZ(16,"span",132),h._uU(17,"(02,00 - 11,99 Ya\u015f)"),h.qZA(),h.qZA(),h.TgZ(18,"th"),h._uU(19," 2 \xc7
1ocuk "),h.TgZ(20,"span",132),h._uU(21,"(02,00 - 11,99 Ya\u015f)"),h.qZA(),h.qZA(),h.TgZ(22,"th"),h._uU(23," Bebek"),h.TgZ(24,"span",132),h._uU(25,"(00,00 - 1,99 Ya\u015f)"),h.qZA(),h.qZA(),h._UZ(26,"th"),h.qZA(),h.qZA(),h.TgZ(27,"tbody"),h.YNc(28,Le,30,24,"tr",35),h.qZA(),h.qZA(),h.qZA()),2&t){var n=h.oxw(2);h.xp6(28),h.Q6J("ngForOf",n.productPriceTable)}}var Re=function(t){return[t]},Be=function(){return{fromDetail:!0}};function He(t,e){if(1&t&&(h.TgZ(0,"div",142),h.TgZ(1,"a",143),h._UZ(2,"app-animated-card",144),h.qZA(),h.qZA()),2&t){var n=e.$implicit,i=h.oxw(2);h.xp6(1),h.Q6J("routerLink",h.VKq(5,Re,"/"+n.tourSearchSlugUrl))("queryParams",h.DdM(7,Be)),h.xp6(1),h.Q6J("title",n.cityName)("detail",n.summary)("photo",i.getImageSrc(n))}}function ze(t,e){if(1&t&&(h.TgZ(0,"div",147),h._UZ(1,"app-animated-card",148),h.qZA()),2&t){var n=e.$implicit,i=h.oxw(3);h.xp6(1),h.Q6J("title",n.description||"")("photo",i.API_BASE+"TourImagesFiles/"+n.image)}}function je(t,e){if(1&t&&(h.TgZ(0,"div",29),h.TgZ(1,"div",145),h.TgZ(2,"div",32),h.TgZ(3,"h3"),h._uU(4,"Tur Resimleri"),h.qZA(),h.qZA(),h._UZ(5,"hr"),h.TgZ(6,"div",47),h.YNc(7,ze,2,2,"div",146),h.qZA(),h.qZA(),h.qZA()),2&t){var n=h.oxw(2);h.xp6(7),h.Q6J("ngForOf",n.tourImages)}}function $e(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div",2),h._UZ(1,"app-breadcrumb",3),h._UZ(2,"div",null,4),h.TgZ(4,"section",5),h.TgZ(5,"div",6),h.TgZ(6,"div",7),h.TgZ(7,"div",8),h.TgZ(8,"div",9),h.TgZ(9,"div",10),h.YNc(10,Ot,3,0,"button",11),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(11,"div",12),h.YNc(12,Mt,5,3,"div",13),h.YNc(13,At,5,3,"div",13),h.qZA(),h.qZA(),h.TgZ(14,"section",14),h.TgZ(15,"div",15),h.TgZ(16,"div",16),h.YNc(17,wt,4,0,"div",17),h.YNc(18,Gt,80,32,"div",17),h.qZA(),h.qZA(),h.YNc(19,Vt,5,0,"div",18),h.qZA(),h.TgZ(20,"section",19),h.TgZ(21,"div",20),h.TgZ(22,"div",21),h.TgZ(23,"div",22),h.TgZ(24,"div",23),h.TgZ(25,"div",24),h.TgZ(26,"div",25),h.TgZ(27,"button",26),h.NdJ("click",function(){h.CHM(n);var t=h.MAs(46);return h.oxw().selectedTab(1,t)}),h._uU(28," Tur Program\u0131 "),h.qZA(),h.qZA(),h.TgZ(29,"div",25),h.TgZ(30,"button",26),h.NdJ("click",function(){h.CHM(n);var t=h.MAs(57);return h.oxw().selectedTab(2,t)}),h._uU(31," Hizmetler "),h.qZA(),h.qZA(),h.TgZ(32,"div",25),h.TgZ(33,"button",26),h.NdJ("click",function(){h.CHM(n);var t=h.MAs(79);return h.oxw().selectedTab(3,t)}),h._uU(34," Fiyat Bilgileri "),h.qZA(),h.qZA(),h.TgZ(35,"div",25),h.TgZ(36,"button",26),h.NdJ("click",function(){h.CHM(n);var t=h.MAs(87);return h.oxw().selectedTab(4,t)}),h._uU(37," \u015eehirler "),h.qZA(),h.qZA(),h.TgZ(38,"div",25),h.TgZ(39,"button",26),h.NdJ("click",function(){h.CHM(n);var t=h.MAs(96);return h.oxw().selectedTab(5,t)}),h._uU(40," Genel Bilgiler "),h.qZA(),h.qZA(),h.YNc(41,Kt,3,1,"div",27),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(42,"div",28),h.TgZ(43,"div",22),h.TgZ(44,"div",29),h.TgZ(45,"div",30,31),h.TgZ(47,"div",32),h.TgZ(48,"h3"),h._uU(49,"Tur Program\u0131"),h.qZA(),h.qZA(),h._UZ(50,"hr"),h.TgZ(51,"div",28),h.TgZ(52,"div",33),h.TgZ(53,"div",34),h.YNc(54,ae,11,7,"div",35),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(55,"div",29),h.TgZ(56,"div",36,37),h.TgZ(58,"div",32),h.TgZ(59,"h3"),h._uU(60,"Hizmetler"),h.qZA(),h.qZA(),h._UZ(61,"hr"),h.TgZ(62,"div",28),h.TgZ(63,"div",38),h.TgZ(64,"div",39),h.TgZ(65,"h6"),h.TgZ(66,"u"),h._uU(67,"Paket Fiyata Dahil Hizmetler:"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(68,"ul",40),h.YNc(69,ce,2,1,"li",35),h.qZA(),h.qZA(),h.TgZ(70,"div",38),h.TgZ(71,"div",41),h.TgZ(72,"h6"),h.TgZ(73,"u"),h._uU(74,"Paket Fiyata Dahil Olmayan Hizmetler:"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(75,"ul",40),h.YNc(76,le,2,1,"li",35),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(77,"div",29),h.TgZ(78,"div",42,43),h.TgZ(80,"div",32),h.TgZ(81,"h3"),h._uU(82,"Fiyat Bilgileri"),h.qZA(),h.qZA(),h._UZ(83,"hr"),h.YNc(84,Fe,29,1,"div",44),h.qZA(),h.qZA(),h.TgZ(85,"div",29),h.TgZ(86,"div",45,46),h.TgZ(88,"div",32),h.TgZ(89,"h3"),h._uU(90,"\u015eehirler"),h.qZA(),h.qZA(),h._UZ(91,"hr"),h.TgZ(92,"div",47),h.YNc(93,He,3,8,"div",48),h.qZA(),h.qZA(),h.qZA(),h.TgZ(94,"div",29),h.TgZ(95,"div",49,50),h.TgZ(97,"div",32),h.TgZ(98,"h3"),h._uU(99,"Genel Bilgiler"),h.qZA(),h.qZA(),h._UZ(100,"hr"),h._UZ(101,"div",51),h.qZA(),h.qZA(),h.TgZ(102,"div",52,53),h.YNc(104,je,8,1,"div",54),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&t){var i=h.oxw();h.xp6(1),h.Q6J("parentTitle",i.parentTitle)("parentTitleSlugUrl",i.parentTitleSlugUrl)("parentSubTitleSlugUrl",i.parentSubtitleSlugUrl)("showPageTitle",!1)("parentSubTitle",i.parentSubTitle)("pageTitle",i.tourDetail.title)("date",i.coreService.getStartEndDate(null==i.selectedTourProduct?null:i.selectedTourProduct.startDate,null==i.selectedTourProduct?null:i.selectedTourProduct.endD
1ate))("airline",i.getAirlineName())("locations",i.getCityNames())("bannerImages",i.bannerImg),h.xp6(9),h.Q6J("ngIf",i.selectedTourProduct),h.xp6(2),h.Q6J("ngForOf",i.tourDetail.tourTags),h.xp6(1),h.Q6J("ngForOf",null==i.selectedTourProduct?null:i.selectedTourProduct.dynamicTags),h.xp6(1),h.Q6J("ngClass",i.isSticky?"sticky":""),h.xp6(3),h.Q6J("ngIf",!i.selectedTourProduct),h.xp6(1),h.Q6J("ngIf",i.selectedTourProduct),h.xp6(1),h.Q6J("ngIf",i.selectedTourProduct&&(null==i.selectedTourProduct?null:i.selectedTourProduct.capacity)<=0),h.xp6(8),h.Q6J("ngClass",1==i.activeTab?"active":""),h.xp6(3),h.Q6J("ngClass",2==i.activeTab?"active":""),h.xp6(3),h.Q6J("ngClass",3==i.activeTab?"active":""),h.xp6(3),h.Q6J("ngClass",4==i.activeTab?"active":""),h.xp6(3),h.Q6J("ngClass",5==i.activeTab?"active":""),h.xp6(2),h.Q6J("ngIf",i.tourImages.length),h.xp6(13),h.Q6J("ngForOf",(null==i.selectedTourProduct?null:i.selectedTourProduct.tourProgramsWithExtraToursAndFlights)||(null==i.notSelectedTourProduct?null:i.notSelectedTourProduct.tourProgramsWithExtraToursAndFlights)),h.xp6(15),h.Q6J("ngForOf",i.tourDetail.tourIncludedServices),h.xp6(7),h.Q6J("ngForOf",i.tourDetail.tourExcludedServices),h.xp6(8),h.Q6J("ngIf",i.productPriceTable&&i.productPriceTable.length>0),h.xp6(9),h.Q6J("ngForOf",i.tourDetail.cities),h.xp6(8),h.Q6J("innerHTML",i.tourDetail.generalInfo,h.oJD),h.xp6(3),h.Q6J("ngIf",i.tourImages.length)}}function We(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"section",14),h.TgZ(2,"div",6),h.TgZ(3,"div",7),h.TgZ(4,"div",8),h._UZ(5,"div",9),h.qZA(),h.qZA(),h.qZA(),h.TgZ(6,"div",15),h.TgZ(7,"div",16),h.TgZ(8,"div",149),h.TgZ(9,"div",94),h.TgZ(10,"div",28),h.TgZ(11,"div",38),h.TgZ(12,"div",63),h.TgZ(13,"label"),h._uU(14," Kalk\u0131\u015f Tarihi: "),h.qZA(),h._UZ(15,"ngx-skeleton-loader"),h.qZA(),h.qZA(),h.TgZ(16,"div",38),h.TgZ(17,"div",63),h.TgZ(18,"label"),h._uU(19," Ki\u015fi Say\u0131s\u0131: "),h._UZ(20,"ngx-skeleton-loader"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(21,"div",85),h.TgZ(22,"div",60),h.TgZ(23,"div",150),h.TgZ(24,"strong",39),h._UZ(25,"ngx-skeleton-loader"),h.qZA(),h.qZA(),h.TgZ(26,"div",151),h.TgZ(27,"strong",92),h._UZ(28,"ngx-skeleton-loader"),h.qZA(),h.qZA(),h.qZA(),h.TgZ(29,"div",60),h.TgZ(30,"div",152),h.TgZ(31,"strong"),h._UZ(32,"ngx-skeleton-loader"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(33,"div",153),h._UZ(34,"ngx-skeleton-loader"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(35,"section",19),h.TgZ(36,"div",20),h.TgZ(37,"div",154),h.TgZ(38,"div",22),h.TgZ(39,"div",23),h.TgZ(40,"div",24),h.TgZ(41,"div",25),h.TgZ(42,"button",26),h.NdJ("click",function(){h.CHM(n);var t=h.MAs(57);return h.oxw().selectedTab(1,t)}),h._uU(43," Tur Program\u0131 "),h.qZA(),h.qZA(),h.TgZ(44,"div",25),h.TgZ(45,"button",26),h.NdJ("click",function(){h.CHM(n);var t=h.MAs(63);return h.oxw().selectedTab(2,t)}),h._uU(46," \u015eehirler "),h.qZA(),h.qZA(),h.TgZ(47,"div",25),h.TgZ(48,"button",26),h.NdJ("click",function(){h.CHM(n);var t=h.MAs(66);return h.oxw().selectedTab(3,t)}),h._uU(49," Genel Bilgiler "),h.qZA(),h.qZA(),h.TgZ(50,"div",25),h.TgZ(51,"button",26),h.NdJ("click",function(){h.CHM(n);var t=h.MAs(69);return h.oxw().selectedTab(4,t)}),h._uU(52," Yorumlar "),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(53,"div",28),h.TgZ(54,"div",22),h.TgZ(55,"div",155),h.TgZ(56,"div",145,31),h.TgZ(58,"div",28),h.TgZ(59,"div",33),h.TgZ(60,"div",34),h._UZ(61,"ngx-skeleton-loader"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(62,"div",145,37),h._UZ(64,"ngx-skeleton-loader"),h.qZA(),h.TgZ(65,"div",145,43),h._UZ(67,"ngx-skeleton-loader"),h.qZA(),h._UZ(68,"div",145,46),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&t){var i=h.oxw();h.xp6(1),h.Q6J("ngClass",i.isSticky?"sticky":""),h.xp6(41),h.Q6J("ngClass",1==i.activeTab?"active":""),h.xp6(3),h.Q6J("ngClass",2==i.activeTab?"active":""),h.xp6(3),h.Q6J("ngClass",3==i.activeTab?"active":""),h.xp6(3),h.Q6J("ngClass",4==i.activeTab?"active":"")}}var Ge=function(){function t(e,n,i,o,r,a,c,l,u,s,d,p,h,f,m){g(this,t),this.coreService=e,this.enumToArrayPipe=n,this.dialog=i,this.route=o,this.tourService=r,this.systemService=a,this.userService=c,this.scrollService=l,this.router=u,this.toastrService=s,this.layoutService=d,this.matDialog=p,this.store=h,this.dataLayerService=f,this._platformId=m,this.productPriceTable=[],this.activeTab=1,this.selectedDate="",this.selectedHotelId="",this.API_BASE=ot.N.apiBase,this.adultCount=2,this.childCount=0,this.babyCount=0,this.childAges=[1,2,3,4,5,6,7,8,9,10,11,12],this.childAge1=null,this.childAge2=null,this.tourImages=[],this.cardsInstallments=[],this.currencyEnum=nt.T,this.transportTypes=K,this.tagTypes=this.enumToArrayPipe.transform(at.H),this.activeSlide=0,this.tourSlider={navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",type:"fraction"},loop:!1,watchSlidesProgress:!0,watchSlidesVisibility:!0,autoplay:{delay:5e3,disableOnInteraction:!1},slidesPerGroup:1,spaceBetween:0,breakpoints:{1024:{}}}}return d(t,[{key:"defaultHotelSelection",value:function(){var t=this.selectedTourProduct.tourProductPrices.filter(function(t){return t.tourProductPriceTypeId==X.$.Double}).sort(function(t,e){return t.price-e.price}),e=t.find(function(t){return t.hotelCapacity})||t[0];
1this.selectedHotelId=e.hotelId,this.selectedTourProductPrice=e}},{key:"isPlatformBrowser",value:function(){return(0,s.NF)(this._platformId)}},{key:"ngOnInit",value:function(){var t=this;(0,s.NF)(this._platformId)&&window.scroll(0,0);var e=this.route.snapshot.queryParams.d;this.store.select(function(t){return t.HOME.TourRegionList}).subscribe(function(e){t.selectedMainRegionCruise=e.find(function(t){return t.categoryId===rt.B["Cruise Turlar"]&&t.showAll}),t.selectedMainRegionAbroad=e.find(function(t){return t.categoryId===rt.B["Yurt D\u0131\u015f\u0131 Turlar"]&&t.showAll})}),this.slugUrl=this.route.snapshot.params.slugUrl,this.tourService.getFilterTourDetail(this.slugUrl).subscribe(function(n){var i,o,r,a,c,l,u,s,d,g,p,h;if(t.tourDetail=n,t.tourDetail.tourTags.map(function(e){return ct.f.fromTourDetail(n.tourTags,t.tagTypes)}),t.getTourProductPriceTable(),t.bannerImg=t.getBannerImages(),t.tourImages=t.tourDetail.tourImages.filter(function(t){return t.imageType===tt.TourImage}),t.parentSubTitle=(null===(i=t.tourDetail)||void 0===i?void 0:i.tourRegions)&&(null===(o=t.tourDetail)||void 0===o?void 0:o.tourRegions.length)>0?null===(r=t.tourDetail)||void 0===r?void 0:r.tourRegions[0].title:null,t.parentSubtitleSlugUrl=(null===(a=t.tourDetail)||void 0===a?void 0:a.tourRegions)&&(null===(c=t.tourDetail)||void 0===c?void 0:c.tourRegions.length)>0?null===(l=t.tourDetail)||void 0===l?void 0:l.tourRegions[0].slugUrl:null,t.parentTitle=t.tourDetail.categoryId===et.I.YurtD\u0131\u015f\u0131?null===(u=t.selectedMainRegionAbroad)||void 0===u?void 0:u.title:(null===(s=t.selectedMainRegionCruise)||void 0===s?void 0:s.title)?null===(d=t.selectedMainRegionCruise)||void 0===d?void 0:d.title:null,t.parentTitleSlugUrl=t.tourDetail.categoryId===et.I.YurtD\u0131\u015f\u0131?null===(g=t.selectedMainRegionAbroad)||void 0===g?void 0:g.slugUrl:(null===(p=t.selectedMainRegionCruise)||void 0===p?void 0:p.slugUrl)?null===(h=t.selectedMainRegionCruise)||void 0===h?void 0:h.slugUrl:null,t.tourDetail.tourIncludedServices&&t.tourDetail.tourIncludedServices.length>0&&t.tourDetail.tourIncludedServices.sort(function(t,e){return t.sort-e.sort}),t.tourDetail.tourExcludedServices&&t.tourDetail.tourExcludedServices.length>0&&t.tourDetail.tourExcludedServices.sort(function(t,e){return t.sort-e.sort}),t.tourDetail.tourProducts&&t.tourDetail.tourProducts.length>0){var f=t.tourDetail.tourProducts.find(function(t){return t.startDate.toString().substring(0,10)===e});t.selectedTourProduct=f||t.tourDetail.currentTourProduct,t.dataLayerService.tourProductView(t.tourDetail.title,t.selectedTourProduct.tourId,t.selectedTourProduct.convertedPrice,t.selectedTourProduct.capacity),t.setHotelCapacitiesForTourProduct(t.selectedTourProduct),t.selectedTourProduct.dynamicTags&&t.selectedTourProduct.dynamicTags.length>0&&t.selectedTourProduct.dynamicTags.map(function(e){return ct.f.fromTourDetail(t.selectedTourProduct.dynamicTags,t.tagTypes)}),t.selectedDate=t.selectedTourProduct.id,t.defaultHotelSelection(),t.hasBabyPrice(),t.selectedTourProduct.tourProductPrograms&&t.selectedTourProduct.tourProductPrograms.length>0||(t.selectedTourProduct.tourProgramsWithExtraToursAndFlights=t.getTourProgramsWithExtraTours()),t.selectedMonth=t.getSelectedTourProductMonth()}else t.notSelectedTourProduct=new W,t.notSelectedTourProduct.dynamicTags=[],t.notSelectedTourProduct.tourProgramsWithExtraToursAndFlights=t.getTourProgramsWithExtraTours();t.systemService.getCreditCardsWithInstallments(t.tourDetail.categoryId).subscribe(function(e){return t.cardsInstallments=e})},function(){t.router.navigate(["/"]).then()})}},{key:"hasBabyPrice",value:function(){var t=this,e=this.selectedTourProduct.tourProductPrices.find(function(e){return e.tourProductPriceTypeId==X.$.Baby&&e.hotelId===t.selectedHotelId});e&&0!==e.price?this.childAges=[1,2,3,4,5,6,7,8,9,10,11,12]:this.childAges=[3,4,5,6,7,8,9,10,11,12]}},{key:"setHotelCapacitiesForTourProduct",value:function(t){t.tourProductPrices.forEach(function(e){var n,i=null===(n=null==t?void 0:t.tourProductHotels)||void 0===n?void 0:n.find(function(t){return t.id===e.tourProductHotelId});e.hotelCapacity=(null==i?void 0:i.orderCapacity)||0})}},{key:"getTourProductPriceTable",value:function(){var t=this;if(this.tourDetail.tourProducts&&this.tourDetail.tourProducts.length>
10){this.tourDetail.tourProducts.forEach(function(e){t.setHotelCapacitiesForTourProduct(e)});var e=[];this.tourDetail.tourProducts.forEach(function(t){t.tourProductPrices.forEach(function(t){-1===e.findIndex(function(e){return e.hotelId===t.hotelId})&&e.push({hotelId:t.hotelId,hotelName:t.hotelName})})});var n=[];this.tourDetail.tourProducts.forEach(function(t){e.forEach(function(e){var i;n.push({hotelTPList:t.tourProductPrices.filter(function(t){return t.hotelId==e.hotelId}),startDate:t.startDate,currencyTypeId:t.currencyTypeId,endDate:t.endDate,hotelName:e.hotelName,hotelId:e.hotelId,capacity:t.capacity,tourProductId:t.id,hotelCapacity:(null===(i=t.tourProductPrices.find(function(t){return t.hotelId==e.hotelId}))||void 0===i?void 0:i.hotelCapacity)||0})})}),n.forEach(function(e){if(e){var n=e.hotelName?e.hotelName:"",i=t.calculateHotelPricesPP(e.hotelTPList);i.double>0&&t.productPriceTable.push({tourProductId:e.tourProductId,hotelId:e.hotelId,hotelProductCount:e.hotelTPList.length,startDate:e.startDate,endDate:e.endDate,hotel:n,double:i.double,doubleWithCampaign:i.doubleWithCampaign,single:i.single,singleWithCampaign:i.singleWithCampaign,triple:i.triple,tripleWithCampaign:i.tripleWithCampaign,child:i.child,childWithCampaign:i.childWithCampaign,secondChild:i.secondChild,secondChildWithCampaign:i.secondChildWithCampaign,baby:i.baby,babyWithCampaign:i.babyWithCampaign,capacity:e.capacity,currencyTypeId:e.currencyTypeId,hotelCapacity:e.hotelCapacity})}}),this.productPriceTable.sort(function(t,e){return new Date(t.startDate).getTime()-new Date(e.startDate).getTime()||t.doubleWithCampaign-e.doubleWithCampaign||t.double-e.double})}}},{key:"calculateHotelPricesPP",value:function(t){var e={single:0,singleWithCampaign:0,double:0,doubleWithCampaign:0,triple:0,tripleWithCampaign:0,child:0,childWithCampaign:0,secondChild:0,secondChildWithCampaign:0,baby:0,babyWithCampaign:0},n=t.find(function(t){return t.tourProductPriceTypeId===X.$.Child}),i=(t.find(function(t){return t.tourProductPriceTypeId===X.$.SecondChild}),t.find(function(t){return t.tourProductPriceTypeId===X.$.Baby})),o=t.find(function(t){return t.tourProductPriceTypeId===X.$.Single}),r=t.find(function(t){return t.tourProductPriceTypeId===X.$.Double}),a=t.find(function(t){return t.tourProductPriceTypeId===X.$.Triple});return e.child=(null==n?void 0:n.price)||0,e.baby=(null==i?void 0:i.price)||0,e.single=(null==o?void 0:o.price)||0,e.singleWithCampaign=(null==o?void 0:o.campaignPrice)?(null==o?void 0:o.price)-(null==o?void 0:o.campaignPrice):null,e.double=(null==r?void 0:r.price)?(null==r?void 0:r.price)/X.$.Double:0,e.doubleWithCampaign=(null==r?void 0:r.campaignPrice)?((null==r?void 0:r.price)-(null==r?void 0:r.campaignPrice))/X.$.Double:null,e.triple=(null==a?void 0:a.price)?(null==a?void 0:a.price)/X.$.Triple:0,e.tripleWithCampaign=(null==a?void 0:a.campaignPrice)?((null==a?void 0:a.price)-(null==a?void 0:a.campaignPrice))/X.$.Triple:null,e}},{key:"selectedTab",value:function(t,e){this.activeTab=t,this.scrollService.scrollToElement(e)}},{key:"toggleText",value:function(t){var e="active";t.target.parentNode.classList.contains(e)?t.target.parentNode.classList.remove(e):t.target.parentNode.classList.add(e)}},{key:"onScroll",value:function(t){if(document.getElementById("detailTab")){var e=document.getElementById("detailTab").getBoundingClientRect().top;if(window.pageYOffset>50){var n=document.getElementById("tab1").getBoundingClientRect().top,i=document.getElementById("tab2").getBoundingClientRect().top,o=document.getElementById("tab3").getBoundingClientRect().top,r=document.getElementById("tab4").getBoundingClientRect().top;document.getElementById("tab5").getBoundingClientRect().top<70?this.activeTab=5:r<70?this.activeTab=4:o<70?this.activeTab=3:i<70?this.activeTab=2:n<70&&(this.activeTab=1)}(0,s.NF)(this._platformId)&&(this.isSticky=e<20,this.isSticky&&this.personsMatMenuButton&&this.personsMatMenuButton.closeMenu())}}},{key:"getAirlineName",value:function(){var t,e,n="";return(null===(t=this.tourDetail)||void 0===t?void 0:t.tourFlight.length)>0&&(n=null===(e=this.tourDetail.tourFlight.find(function(t){return t.flightType==V.Gidi\u015f||t.flightType==V.D\u00f6n\u00fc\u015f||t.flightType==V["Tur \u0130\xe7i"]}))||void 0===e?void 0:e.airlineCompanyName),n}},{key:"onSelectedDateChange",value:function(){var t=this;this.selectedTourProduct=this.tourDetail.tourProducts.find(function(e){return e.id==t.selectedDate}),this.setHotelCapacitiesForTourProduct(this.selectedTourProduct),this.selectedTourProduct.dynamicTags&&this.selectedTourProduct.dynamicTags.length>0&&this.selectedTourProduct.dynamicTags.map(function(e){return ct.f.fromTourDetail(t.selectedTourProduct.dynamicTags,t.tagTypes)}),this.selectedTourProduct.tourProductPrograms&&this.selectedTourProduct.tourProductPrograms.length>0||(this.selectedTourProduct.tourProgramsWithExtraToursAndFlights=this.getTourProgramsWithExtraTours()),this.selectedMonth=this.getSelectedTourProductMonth(),this.defaultHotelSelection(),this.onSelectedHotelChange()}},{key:"onSelectedHotelChange",value:function(){var t=this;this.adultCount=2,this.childCount=0,this.babyCount=0;var e=this.selectedTourProduct.tourProductPrices.find(function(e){return e.tourProductPriceTypeId===X.$.Double&&e.hotelId===t.selectedHotelId});
1this.selectedTourProductPrice=Object.assign({},e),this.hasBabyPrice()}},{key:"getHotelName",value:function(t){return this.selectedTourProduct.tourProductPrices.find(function(e){return e.hotelId===t}).hotelName}},{key:"onChangeSelectedTourProduct",value:function(t,e,n,i,o){if(!(n<=0)){if(o<=0)return void this.toastrService.error("Se\xe7ti\u011finiz tarihleri i\xe7in otel kapasitesi doludur");this.selectedDate=t,this.onSelectedDateChange(),this.selectedHotelId=e,this.onSelectedHotelChange(),this.scrollService.scrollToElement(i)}}},{key:"onSelectedUserCountChange",value:function(){var t=this,e=this.selectedTourProduct.tourProductPrices.find(function(e){return e.tourProductPriceTypeId==t.adultCount&&e.hotelId===t.selectedHotelId});if(!e)return this.toastrService.warning("".concat(this.adultCount," ki\u015fi se\xe7ene\u011fi bulunmamaktad\u0131r.")),void(this.adultCount=X.$.Double);this.checkChildAges();var n=0,i=0,o=0,r=0,a=this.childCount-this.babyCount,c=this.babyCount;if(a>0){var l=this.selectedTourProduct.tourProductPrices.find(function(e){return e.tourProductPriceTypeId==X.$.Child&&e.hotelId===t.selectedHotelId});if(!l)return this.toastrService.warning("Bu turda \xe7ocuk se\xe7ene\u011fi bulunmamaktad\u0131r."),void(this.childCount=0);1===a&&(n=l.price,o=l.convertedPrice);var u=this.selectedTourProduct.tourProductPrices.find(function(e){return e.tourProductPriceTypeId==X.$.SecondChild&&e.hotelId===t.selectedHotelId});if(!(null==u?void 0:u.price)&&a>1)return this.toastrService.warning("Bu turda ikinci \xe7ocuk se\xe7ene\u011fi bulunmamaktad\u0131r."),void(this.childCount=1);2===a&&(n=u.price,o=u.convertedPrice)}if(c>0){var s=this.selectedTourProduct.tourProductPrices.find(function(e){return e.tourProductPriceTypeId==X.$.Baby&&e.hotelId===t.selectedHotelId});i=((null==s?void 0:s.price)||0)*c,r=((null==s?void 0:s.convertedPrice)||0)*c}this.selectedTourProductPrice=Object.assign({},e),this.selectedTourProductPrice.price+=1===this.adultCount&&1===this.childCount&&0===this.babyCount?e.price:n+i,this.selectedTourProductPrice.convertedPrice+=1===this.adultCount&&1===this.childCount&&0===this.babyCount?e.convertedPrice:o+r}},{key:"checkChildAges",value:function(){this.babyCount=0;var t=0,e=0;this.childCount>0&&this.childAge1&&(t=this.childAge1<3?1:0),this.childCount>1&&this.childAge2&&(e=this.childAge2<3?1:0),this.babyCount=t+e}},{key:"getBannerImages",value:function(){var t=[];if(this.layoutService.settings.isMobile)if(this.tourDetail.tourImages&&this.tourDetail.tourImages.length>0){var n,i=e(this.tourDetail.tourImages);try{for(i.s();!(n=i.n()).done;){var o=n.value;o.image.includes("Mobile")&&t.push(this.layoutService.settings.apiHost+"TourImagesFiles/"+o.image)}}catch(d){i.e(d)}finally{i.f()}}else t.push("assets/img/no-image-banner.png");else if(this.layoutService.settings.isTablet)if(this.tourDetail.tourImages&&this.tourDetail.tourImages.length>0){var r,a=e(this.tourDetail.tourImages);try{for(a.s();!(r=a.n()).done;){var c=r.value;c.image.includes("Tablet")&&t.push(this.layoutService.settings.apiHost+"TourImagesFiles/"+c.image)}}catch(d){a.e(d)}finally{a.f()}}else t.push("assets/img/no-image-banner.png");else if(this.tourDetail.tourImages&&this.tourDetail.tourImages.length>0){var l,u=e(this.tourDetail.tourImages);try{for(u.s();!(l=u.n()).done;){var s=l.value;s.image.includes("Web")&&t.push(this.layoutService.settings.apiHost+"TourImagesFiles/"+s.image)}}catch(d){u.e(d)}finally{u.f()}}else t.push("assets/img/no-image-banner.png");return t}},{key:"getSelectedTourProductMonth",value:function(){return new Date(this.selectedTourProduct.startDate).getMonth()+1}},{key:"getSelectedPrice",value:function(){var t,e=this,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=this.selectedTourProduct.campaigns;t=1===this.adultCount&&1===this.childCount&&0===this.babyCount?this.selectedTourProduct.tourProductPrices.find(function(t){return t.tourProductPriceTypeId===X.$.Double&&t.hotelId===e.selectedHotelId}):this.selectedTourProductPrice;var r=n?"convertedPrice":"price",a=o.find(function(t){return t.campaignTypeId==G.Q.Indirim});return a&&i?a.discountType===$.Y\u00fczdesel?t[r]-t[r]*a.amount/100:a.discountType===$.Miktarsal?t[r]-(n?t.convertedCampaignPrice:a.amount):0:t[r]}},{key:"getSelectedTourProductPricePP",value:function(){var t,e=this,n=this.selectedTourProduct.campaigns,i=this.selectedTourProduct;t=1===this.adultCount&&1===this.childCount&&0===this.babyCount?i.tourProductPrices.find(function(t){return t.tourProductPriceTypeId===X.$.Double&&t.hotelId===e.selectedHotelId}).price:i.tourProductPrices.find(function(t){return t.tourProductPriceTypeId===e.adultCount&&t.hotelId===e.selectedHotelId}).price;var o=n.find(function(t){return t.campaignTypeId==G.Q.Indirim});return(o?o.discountType===$.Y\u00fczdesel?t-t*o.amount/100:o.discountType===$.Miktarsal?t-o.amount:0:t)/(1===this.adultCount&&1===this.childCount&&0===this.babyCount?X.$.Double:this.adultCount)}},{key:"getCityNames",value:function(){var t=[];
1return this.tourDetail.cities.forEach(function(e){return t.push(e.cityName)}),t.join(" - ")}},{key:"personMinus",value:function(t){"adult"==t?this.adultCount>1&&this.adultCount--:this.childCount>0&&(this.childAge1=void 0,this.childAge2=void 0,this.childCount--),this.onSelectedUserCountChange()}},{key:"personPlus",value:function(t){if("adult"==t)this.adultCount<3&&this.adultCount++,3==this.adultCount&&(this.childCount=0);else{if(3===this.adultCount)return;this.adultCount>2?this.childCount<1&&this.childCount++:this.childCount<2&&this.childCount++}this.onSelectedUserCountChange()}},{key:"getTourProgramsWithExtraTours",value:function(){var t=this,e=[];return this.tourDetail.tourPrograms.sort(function(t,e){return t.sort-e.sort}).forEach(function(n){e.push(it.addExtraToursAndFlights(n,t.tourDetail.tourProgramExtraTours,t.tourDetail.tourFlight,t.tourDetail.tourProductFlight,t.selectedTourProduct.id))}),e}},{key:"getImageSrc",value:function(t){return null!=t&&t.image?this.layoutService.settings.apiHost+"CityImages/"+t.image:"assets/img/no-image.png"}},{key:"checkCapacityForReservation",value:function(){this.selectedTourProduct.capacity<=0?this.toastrService.error("Se\xe7ti\u011finiz tarihleri i\xe7in tur kapasitesi doludur"):this.selectedTourProductPrice.hotelCapacity<=0?this.toastrService.error("Se\xe7ti\u011finiz tarihleri i\xe7in otel kapasitesi doludur"):this.selectedTourProduct.capacity>=this.adultCount+(this.childCount-this.babyCount)?this.router.navigate(["/rezervasyon",this.selectedTourProduct.id,this.selectedHotelId],{queryParams:{ys:this.adultCount,cs:this.childCount-this.babyCount,bs:this.babyCount},fragment:"1"}).then():this.toastrService.error("Se\xe7ti\u011finiz yolcu say\u0131s\u0131 i\xe7in bu tarihlerde yeterli kapasite yok")}},{key:"openPrintOutPopup",value:function(){if(this.printOutWindow){if(!this.printOutWindow.closed)return void this.printOutWindow.focus();this.printOutWindow=null}this.printOutWindow=window.open("tour-print-out/".concat(this.slugUrl),"popup","width=1280,height=720")}}]),t}();Ge.\u0275fac=function(t){return new(t||Ge)(h.Y36(B.p),h.Y36(lt.T),h.Y36(ut.uw),h.Y36(l.gz),h.Y36(H.Q),h.Y36(st.o),h.Y36(dt.K),h.Y36(gt),h.Y36(l.F0),h.Y36(pt._W),h.Y36(ht.P),h.Y36(ut.uw),h.Y36(ft.yh),h.Y36(mt.n),h.Y36(h.Lbi))},Ge.\u0275cmp=h.Xpm({type:Ge,selectors:[["app-tour-detail"]],viewQuery:function(t,e){var n;(1&t&&h.Gf(bt,5),2&t)&&(h.iGM(n=h.CRH())&&(e.personsMatMenuButton=n.first))},hostBindings:function(t,e){1&t&&h.NdJ("scroll",function(t){return e.onScroll(t)},!1,h.Jf7)},decls:2,vars:2,consts:[["class","detail-page",4,"ngIf"],[4,"ngIf"],[1,"detail-page"],[3,"parentTitle","parentTitleSlugUrl","parentSubTitleSlugUrl","showPageTitle","parentSubTitle","pageTitle","date","airline","locations","bannerImages"],["productPriceTableTarget",""],[1,"section","p-0"],[1,"action-buttons"],[1,"container","d-flex","justify-content-end"],[1,"top-actions"],[1,"row","sm-gutters","text-center"],[1,"col-auto"],["class","btn btn-outline-secondary mr-2 px-3",3,"click",4,"ngIf"],[1,"tour-features","row","no-gutters","justify-content-center","mt-3","mb-3"],["class","col-auto p-2",4,"ngFor","ngForOf"],[1,"detail-header",3,"ngClass"],[1,"container","price-box"],[1,"card","p-3"],["class","row sm-gutters align-items-center",4,"ngIf"],["class","container",4,"ngIf"],[1,"section","pt-0","detail-content"],[1,"container"],["id","detailTab",1,"row","mt-3","mb-3","sticky-tab"],[1,"col"],[1,"card","tabs"],[1,"row","no-gutters","mb-0","justify-content-around","flex-nowrap"],[1,"col-auto","text-center"],[1,"btn",3,"ngClass","click"],["class","col-auto text-center",4,"ngIf"],[1,"row"],[1,"card","tab-section"],["id","tab1",1,"tab-content"],["tab1",""],[1,"card-title"],[1,"col-md-12"],[1,"vertical-timeline"],[4,"ngFor","ngForOf"],["id","tab2",1,"tab-content"],["tab2",""],[1,"col-md-6"],[1,"text-success"],[1,"pl-3"],[1,"text-danger"],["id","tab3",1,"tab-content"],["tab3",""],["class","table-responsive-lg",4,"ngIf"],["id","tab4",1,"tab-content"],["tab4",""],[1,"row","no-gutters","card-list"],["class","col-md-4",4,"ngFor","ngForOf"],["id","tab5",1,"tab-content"],["tab5",""],[3,"innerHTML"],["
1id","tab6"],["tab6",""],["class","card tab-section",4,"ngIf"],[1,"btn","btn-outline-secondary","mr-2","px-3",3,"click"],[1,"fa","fa-print"],[1,"col-auto","p-2"],[1,"icon","d-flex","align-items-center","justify-content-center"],[3,"src","alt"],[1,"row","sm-gutters","align-items-center"],[1,"col-md-5"],[1,"row","sm-gutters"],[1,"item"],["id","search_date",1,"form-control",3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"item","persons-dropdown"],[1,"btn","btn-block","text-left",3,"disabled","matMenuTriggerFor"],["personsMatMenuButton","matMenuTrigger"],["xPosition","after",1,"dropdown"],["persons","matMenu"],[1,"persons-body",3,"click"],[1,"quantity"],["type","text","disabled","",1,"form-control","text-center",3,"ngModel","ngModelChange"],[1,"btn","btn-primary","btn-minus",3,"click"],[1,"fa","fa-minus"],[1,"btn","btn-primary","btn-plus",3,"click"],[1,"fa","fa-plus"],["class","item",4,"ngIf"],[1,"col-md-12","mt-2"],["id","hotel",1,"form-control",3,"value","valueChange","selectionChange"],[1,"d-flex","justify-content-between"],["class","badge badge-danger p-1 d-block selected-hotel-capacity","matTooltip","Bu otelde kontenjan kalmam\u0131\u015ft\u0131r",4,"ngIf"],["class","badge badge-danger p-1 d-block selected-hotel-capacity",3,"matTooltip",4,"ngIf"],["class","hotel-selection-option",3,"value",4,"ngFor","ngForOf"],[1,"col","price"],[1,"col-12","text-center"],[1,"text-secondary"],["class","col new-price",4,"ngIf"],[1,"mb-1","mt-1","w-50"],["class","col new-price text-right",4,"ngIf"],[1,"col",3,"ngClass"],[1,"text-primary"],["class","col old-price text-center",4,"ngIf"],[1,"col-md-auto"],["class","col mt-2",4,"ngIf"],[3,"value"],[1,"form-control","custom-select",3,"ngModel","change","ngModelChange"],["selected","","disabled","",3,"ngValue"],["class","col",4,"ngIf"],["matTooltip","Bu otelde kontenjan kalmam\u0131\u015ft\u0131r",1,"badge","badge-danger","p-1","d-block","selected-hotel-capacity"],[1,"fa","fa-exclamation-circle"],[1,"badge","badge-danger","p-1","d-block","selected-hotel-capacity",3,"matTooltip"],[1,"hotel-selection-option",3,"value"],["class","small text-danger hotel-capacity d-flex align-items-center",4,"ngIf"],["class","small text-danger hotel-capacity d-flex align-items-center",3,"matTooltip",4,"ngIf"],[1,"small","text-danger","hotel-capacity","d-flex","align-items-center"],[1,"fa","fa-exclamation-circle","mr-1"],[1,"small","text-danger","hotel-capacity","d-flex","align-items-center",3,"matTooltip"],[1,"col","new-price"],[1,"col","new-price","text-right"],[1,"col","old-price","text-center"],[1,"col","mt-2"],["matTooltipPosition","above",1,"badge","bg-success","text-white","p-1","d-block",3,"matTooltip"],["matTooltip","Tur t\xfcm tarihlerde doludur",1,"badge","badge-danger","p-1","d-block"],[1,"badge","badge-danger","p-1","d-block",3,"matTooltip"],[1,"row","mt-1","mb-2"],[1,"number"],["class","toggle-text",4,"ngFor","ngForOf"],["class","toggle-text mt-2",4,"ngIf"],["class","toggle-text mb-1",4,"ngFor","ngForOf"],[1,"toggle-text","mb-1"],[1,"toggle-text"],[1,"fa","fa-plane","mr-1"],[1,"toggle-text","mt-2"],[1,"fa","fa-bed","mr-1"],["class","btn btn-secondary btn-sm",3,"click",4,"ngIf"],[1,"toggle-body"],[1,"btn","btn-secondary","btn-sm",3,"click"],[1,"table-responsive-lg"],[1,"table","productPrice"],[1,"product-date"],[1,"child"],["class","badge badge-danger p-1","matTooltip","Bu otelde kontenjan kalmam\u0131\u015ft\u0131r",4,"ngIf"],["class","badge badge-danger p-1",3,"matTooltip",4,"ngIf"],[1,"text-center"],[1,"btn","btn-primary","btn-sm","w-100",3,"disabled","click"],["matTooltip","Bu otelde kontenjan kalmam\u0131\u015ft\u0131r",1,"badge","badge-danger","p-1"],[1,"badge","badge-danger","p-1",3,"matTooltip"],["class","old-price",4,"ngIf"],["class","text-success",4,"ngIf"],[1,"old-price"],[1,"col-md-4"],["target","_blank",3,"routerLink","queryParams"],[3,"title","detail","photo"],[1,"tab-content"],["class","col-md-6 mb-3 d-flex align-items-center",4,"ngFor","ngForOf"],[1,"col-md-6","mb-3","d-flex","align-items-center"],[3,"title","photo"],[1,"row","align-items-center"],[1,"col-6","new-price","text-right"],[1,"col-6","tl-price","text-left"],[1,"col-6","old-price","text-right"],[1,"col-md-auto","text-center"],[1,"row","mt-3","mb-3","sticky-tab"],[1,"card"]],template:function(t,e){1&t&&(h.YNc(0,$e,105,30,"div",0),h.YNc(1,We,70,5,"div",1)),2&t&&(h.Q6J("ngIf",e.tourDetail),h.xp6(1),h.Q6J("ngIf",!e.tourDetail))},directives:[s.O5,Tt.L,s.sg,s.mk,vt.gD,yt.p6,yt.VK,m.Fj,m.JJ,m.On,vt.$L,y.ey,m.EJ,m.YN,m.Kr,Y,l.yS,Pt,Zt.x
1],pipes:[xt,_t.C,Ct.R,s.uU],styles:['.card[_ngcontent-%COMP%]{border:1px solid var(--border-grey)}.action-buttons[_ngcontent-%COMP%]   .top-actions[_ngcontent-%COMP%]{max-width:100%;top:-15px;margin-top:-26px;position:relative;z-index:9}.action-buttons[_ngcontent-%COMP%]   .top-actions[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{height:26px;padding:2px;font-weight:500}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{border-bottom:1px solid var(--border-grey)}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin:0;color:var(--light-grey)}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{border:0;box-shadow:none!important;padding:0;font-size:18px;font-weight:700;color:var(--grey);height:30px}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]  .mat-select-value{color:var(--grey);font-weight:600;font-size:15px}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .old-price[_ngcontent-%COMP%]{font-size:16px}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .old-price[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:#616161;font-weight:500;text-decoration:line-through}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .new-price[_ngcontent-%COMP%]{font-size:24px;line-height:24px}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .new-price[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-size:16px;font-weight:600}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .tl-price[_ngcontent-%COMP%]{font-size:16px;line-height:20px;border-left:1px solid var(--border-grey)}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .tl-price.text-center[_ngcontent-%COMP%]{border-left:0}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .tl-price[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-size:14px;font-weight:600}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{cursor:pointer}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .btn-lg[_ngcontent-%COMP%]{font-weight:600;font-size:16px;height:50px;border-radius:30px;min-width:210px}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .badge[_ngcontent-%COMP%]{height:22px;line-height:16px;font-weight:500;padding:3px 10px}@media (min-width: 768px){.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .badge[_ngcontent-%COMP%]:nth-child(2){margin-top:6px!important}}@media (min-width: 768px){.detail-header.sticky[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;right:0;z-index:999;background:#fff;box-shadow:0 0 10px #0003}.detail-header.sticky[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%]{border-color:transparent}.detail-header.sticky[_ngcontent-%COMP%]   .action-buttons[_ngcontent-%COMP%]{display:none}.detail-header.sticky[_ngcontent-%COMP%] + .detail-content[_ngcontent-%COMP%]{margin-top:86px}}  .mat-option{height:2em!important;line-height:2em!important}  section.content.fixed .sticky-tab{top:0}.sticky-tab[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;z-index:99;transition:top ease-in-out .3s}.tabs[_ngcontent-%COMP%]{padding:5px}.tab-content[_ngcontent-%COMP%]{padding:90px 30px 30px;margin-top:-60px}.tab-content[_ngcontent-%COMP%]   .no-gutters.card-list[_ngcontent-%COMP%]{margin-left:-5px;margin-right:-5px}.tab-content[_ngcontent-%COMP%]   .no-gutters.card-list[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:5px}.tab-section[_ngcontent-%COMP%]{margin-bottom:15px}.toggle-text[_ngcontent-%COMP%]{border-left:2px solid var(--secondary);padding-left:10px}.toggle-text[_ngcontent-%COMP%]   .text-primary[_ngcontent-%COMP%]{margin-right:10px}.toggle-text[_ngcontent-%COMP%]   .btn-sm[_ngcontent-%COMP%]{padding:1px 5px;position:relative;top:-2px}.toggle-text[_ngcontent-%COMP%]   .toggle-body[_ngcontent-%COMP%]{display:none}.toggle-text.active[_ngcontent-%COMP%]   .toggle-body[_ngcontent-%COMP%]{display:block}.vertical-timeline[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:5px 0}.card[_ngcontent-%COMP%]   .figure[_ngcontent-%COMP%]{overflow:hidden;position:relative}.card[_ngcontent-%COMP%]   .figure[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]{background-color:var(--primary);display:inline-block;padding:1px 10px 1px 1.25rem;font-size:14px;position:absolute;height:24px;line-height:24px;top:20%;left:0;color:var(--white);z-index:3}.card[_ngcontent-%COMP%]   .figure[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]:after{content:"";position:absolute;right:-24px;top:0;border-style:solid;border-width:12px 12px 12px 12px;border-color:transparent transparent var(--primary) var(--primary)}.card[_ngcontent-%COMP%]   .figure[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;width:100%}
1.card[_ngcontent-%COMP%]   .figure[_ngcontent-%COMP%]:before{content:"";background-image:linear-gradient(to bottom,rgba(255,0,0,0),rgba(0,0,0,.6));position:absolute;top:0;left:0;right:0;bottom:0;z-index:1}.card[_ngcontent-%COMP%]   .figure[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{position:absolute;bottom:0;color:var(--white);z-index:3;left:0;font-size:18px}.card[_ngcontent-%COMP%]   .figure[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   .btn-success[_ngcontent-%COMP%]{padding:2px 10px;display:inline-block;font-size:14px}.card[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:18px}.tab-content[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{transition:all .4s ease}.tab-content[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]:hover{box-shadow:0 5px 20px var(--light-grey)}.weather[_ngcontent-%COMP%]   .progress[_ngcontent-%COMP%]{background:transparent;border:1px solid var(--border-grey);height:20px}.weather[_ngcontent-%COMP%]   .progress-text[_ngcontent-%COMP%]{width:60px;padding-left:10px}.widget-title[_ngcontent-%COMP%]{border-top:1px solid var(--grey);padding-top:10px}.custom-tooltip[_ngcontent-%COMP%]{background:#fff;box-shadow:0 1px 7px #0003;width:100%;font-size:12px;position:absolute;left:0;right:0;z-index:99;display:none}.total-rating[_ngcontent-%COMP%]{font-size:24px;font-weight:700;position:relative}.total-rating[_ngcontent-%COMP%]   .rating[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%]{margin-left:4px}.total-rating[_ngcontent-%COMP%]   .total-comments-text[_ngcontent-%COMP%]{font-size:12px;line-height:15px;text-decoration:underline;text-align:right}.total-rating[_ngcontent-%COMP%]   .custom-tooltip[_ngcontent-%COMP%]{color:var(--light-grey);font-weight:500;padding:5px 2px 5px 7px}.total-rating[_ngcontent-%COMP%]   .custom-tooltip[_ngcontent-%COMP%]   .tooltip-title[_ngcontent-%COMP%]{font-size:14px;margin-bottom:5px}.total-rating[_ngcontent-%COMP%]   .custom-tooltip[_ngcontent-%COMP%]   .tooltip-title[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:var(--grey)}.total-rating[_ngcontent-%COMP%]   .custom-tooltip[_ngcontent-%COMP%]   .progress-bar[_ngcontent-%COMP%]{background-color:#e2e2e2;border-radius:3px;height:6px;margin:0 5px}.total-rating[_ngcontent-%COMP%]   .custom-tooltip[_ngcontent-%COMP%]   .progress-bar[_ngcontent-%COMP%]   .progress[_ngcontent-%COMP%]{background-color:var(--primary)}.total-rating[_ngcontent-%COMP%]   .custom-tooltip[_ngcontent-%COMP%]   .rating-number[_ngcontent-%COMP%]{min-width:10px}.total-rating[_ngcontent-%COMP%]   .custom-tooltip[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]{min-width:30px}.total-rating[_ngcontent-%COMP%]:hover   .custom-tooltip[_ngcontent-%COMP%]{display:block}.comments[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{border-bottom:1px solid var(--border-grey);padding-bottom:5px;margin-bottom:10px}.comments[_ngcontent-%COMP%]   .comments-footer[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{padding:5px 0}.comments[_ngcontent-%COMP%]   .rating[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%]{margin-right:4px}.comments[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;margin-bottom:10px}.comments[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:var(--light-grey)}.detail-page[_ngcontent-%COMP%]{position:relative}.papel-widget[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;z-index:9;pointer-events:none}@media (min-width: 768px){.papel-widget.sticky-papel[_ngcontent-%COMP%]{position:fixed}}@media (min-width: 768px) and (max-width: 1399px){.papel-widget.sticky-papel[_ngcontent-%COMP%]{top:44px}}.persons-dropdown[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{padding:2px 0;color:var(--grey);font-weight:600;font-size:15px;height:30px;position:relative}.persons-dropdown[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:-2.5px 4px 0;color:#0000008a;position:absolute;right:0;top:50%}  .persons-body{padding:15px}  .persons-body .item{margin-bottom:10px}  .persons-body .item label{margin-bottom:2px}  .persons-body .item:last-child{margin-bottom:0}  .persons-body .quantity{position:relative;width:180px}  .persons-body .quantity .form-control{background:#fff;color:var(--grey);font-size:18px;font-weight:700;padding:5px 40px;height:40px}  .persons-body .quantity .btn{position:absolute;top:0;bottom:0;width:40px}  .persons-body .quantity .btn.btn-minus{left:0}  .persons-body .quantity .btn.btn-plus{right:0}@media (max-width: 767px){.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]{padding:10px 0}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .new-price[_ngcontent-%COMP%]{font-size:18px}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .new-price[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-size:14px}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .old-price[_ngcontent-%COMP%], .detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .tl-price[_ngcontent-%COMP%], .detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{font-size:14px}.detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .old-price[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], .detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .tl-price[_ngcontent-%COMP%]   small[_ngcontent-%COMP%], .detail-header[_ngcontent-%COMP%]   .price-box[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-size:12px}.tabs[_ngcontent-%COMP%]{overflow-x:auto;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-overflow-scrolling:touch;padding:5px 0;border:0;background-color:var(--border-grey)}.tabs[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{min-width:767px}.tabs[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{min-height:48px}.detail-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:0}.detail-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{margin:0}.detail-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:0}.detail-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%]{border:0}.tab-content[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.vertical-timeline[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-left:0}.vertical-timeline[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]   .number[_ngcontent-%COMP%]{position:relative;
1left:0}.weather[_ngcontent-%COMP%]   .progress[_ngcontent-%COMP%]{display:none}.weather[_ngcontent-%COMP%]   .progress-text[_ngcontent-%COMP%]{max-width:100%}.weather[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:1rem}[_nghost-%COMP%]  .breadcrumb-wrapper{padding-right:0}.action-buttons[_ngcontent-%COMP%]   .top-actions[_ngcontent-%COMP%]{top:0;margin:0 auto 15px}.comments[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px}.comments-footer[_ngcontent-%COMP%]{font-size:12px}.comments-footer[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{font-size:12px}}.tab-content[_ngcontent-%COMP%]   .card.otel-card[_ngcontent-%COMP%]:hover{box-shadow:none}.otel-card[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{position:relative}.otel-card[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]:before{content:"";background-color:#0000004d;position:absolute;left:0;right:0;top:0;bottom:0;z-index:1}.otel-card[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;display:block}.otel-card[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   .image-text[_ngcontent-%COMP%]{position:absolute;left:20px;right:20px;bottom:20px;color:#fff;z-index:2}.otel-card[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   .image-text[_ngcontent-%COMP%]   .badge[_ngcontent-%COMP%]{background-color:var(--green);font-weight:400;font-size:14px;padding:5px 30px}.otel-card[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   .image-text[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:18px;font-weight:600;display:block;margin-top:10px}.productPrice[_ngcontent-%COMP%]{font-size:12px;min-width:1000px}.productPrice[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{color:#314b69;text-align:center;vertical-align:inherit}.productPrice[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{vertical-align:inherit}.productPrice[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   .old-price[_ngcontent-%COMP%]{font-size:11px}.productPrice[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   .old-price[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:#616161;font-weight:500;text-decoration:line-through}.productPrice[_ngcontent-%COMP%]   .product-date[_ngcontent-%COMP%]{width:200px}.productPrice[_ngcontent-%COMP%]   .child[_ngcontent-%COMP%]{color:#abb0b5}.productPrice[_ngcontent-%COMP%]   .product-tag[_ngcontent-%COMP%]{width:100px}.productPrice[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{font-size:12px}.tour-features[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{text-align:center}@media (min-width: 992px){.tour-features[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{min-width:140px}}.tour-features[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{width:50px;height:50px;margin:0 auto}.tour-features[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;height:40px;max-width:100%;max-height:100%}.tour-features[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}.tour-features[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:#000;font-size:14px}.tour-title[_ngcontent-%COMP%]{color:#33495f;font-size:26px;font-weight:700;margin:0}.tour-slider[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{min-height:240px;border-radius:.25rem;-o-object-fit:cover;object-fit:cover}.tour-slider[_ngcontent-%COMP%]   .swiper-button-next[_ngcontent-%COMP%], .tour-slider[_ngcontent-%COMP%]   .swiper-button-prev[_ngcontent-%COMP%]{width:44px;height:44px;border-radius:50%;background-color:#6b849c;color:#fff;font-size:30px}.tour-slider[_ngcontent-%COMP%]   .swiper-button-next[_ngcontent-%COMP%]:after, .tour-slider[_ngcontent-%COMP%]   .swiper-button-prev[_ngcontent-%COMP%]:after{display:none}.tour-slider[_ngcontent-%COMP%]   .swiper-pagination-fraction[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);width:auto;padding:5px;color:#fff;font-size:10px;font-weight:600;border-radius:3px;left:10px}.tour-slider[_ngcontent-%COMP%]   .swiper-pagination-fraction[_ngcontent-%COMP%]     span{padding:0 5px}.hotel-capacity[_ngcontent-%COMP%]{text-wrap:nowrap;justify-content:end;padding:0 4px}  .mat-option.hotel-selection-option{height:-webkit-fit-content!important;height:-moz-fit-content!important;height:fit-content!important;white-space:unset!important}.selected-hotel-capacity[_ngcontent-%COMP%]{position:absolute;right:1rem}']});var Ve,Ke=function(){function t(){g(this,t)}return d(t,[{key:"getUrlByCategory",value:function(t){return t===rt.B.T\u00fcm\u00fc?this.allSlugUrl:t===rt.B["Yurt D\u0131\u015f\u0131 Turlar"]?this.abroadSlugUrl:t===rt.B["Yurt \u
10130\xe7i Turlar"]?this.domesticSlugUrl:this.cruiseSlugUrl}},{key:"getPropertyByCategory",value:function(t){return t===rt.B.T\u00fcm\u00fc||(t===rt.B["Yurt \u0130\xe7i Turlar"]?this.domestic:t===rt.B["Yurt D\u0131\u015f\u0131 Turlar"]?this.abroad:this.cruise)}}],[{key:"fromTitleResponse",value:function(e){var n=new t;return n.id=e.id,n.name=e.title,n.checked=!1,n.showAll=e.showAll,n.slugUrl=e.slugUrl,n.slugUrls=e.slugUrls,n.allSlugUrl=e.allSlugUrl,n.abroadSlugUrl=e.abroadSlugUrl,n.domesticSlugUrl=e.domesticSlugUrl,n.cruiseSlugUrl=e.cruiseSlugUrl,n.categoryId=e.categoryId,n.all=e.all,n.abroad=e.abroad,n.domestic=e.domestic,n.activity=e.activity,n.cruise=e.cruise,n.bannerImageWeb=e.bannerImageWeb,n.bannerImageTablet=e.bannerImageTablet,n.bannerImageMobile=e.bannerImageMobile,n.startDate=new Date(e.startDate),n.endDate=new Date(e.endDate),n}},{key:"fromNameResponse",value:function(e){var n=new t;return n.id=e.id,n.name=e.name,n.checked=!1,n.showAll=e.showAll,n.slugUrl=e.slugUrl,n.slugUrls=e.slugUrls,n.allSlugUrl=e.allSlugUrl,n.abroadSlugUrl=e.abroadSlugUrl,n.domesticSlugUrl=e.domesticSlugUrl,n.cruiseSlugUrl=e.cruiseSlugUrl,n}},{key:"fromValueResponse",value:function(e){var n=new t;return n.id=e.value,n.name=e.name,n.checked=!1,n.showAll=e.showAll,n.slugUrl=e.slugUrl,n.slugUrls=e.slugUrls,n.allSlugUrl=e.allSlugUrl,n.abroadSlugUrl=e.abroadSlugUrl,n.domesticSlugUrl=e.domesticSlugUrl,n.cruiseSlugUrl=e.cruiseSlugUrl,n}}]),t}(),Xe=a(3430),tn=a(4395),en=a(8307),nn=a(8002),on=a(8939);!function(t){t[t.all=null]="all",t[t.papel=1]="papel"}(Ve||(Ve={}));var rn,an=a(9081),cn=a(2759),ln=a(9112),un=a(6372);!function(t){t[t["Yurt D\u0131\u015f\u0131 Turlar"]=1]="Yurt D\u0131\u015f\u0131 Turlar",t[t.T\u00fcm\u00fc=4]="T\xfcm\xfc",t[t["Cruise Turlar"]=5]="Cruise Turlar"}(rn||(rn={}));var sn=a(900),dn=a(1438),gn=a(171),pn=["theLastList"];function hn(t,e){if(1&t&&(h.TgZ(0,"div",30),h.TgZ(1,"span",31),h._UZ(2,"i",32),h._uU(3),h.qZA(),h.TgZ(4,"span"),h._UZ(5,"i",33),h._uU(6),h._UZ(7,"i",34),h._uU(8),h.qZA(),h.qZA()),2&t){var n=h.oxw().$implicit,i=h.oxw();h.xp6(3),h.hij("",i.coreService.getStartEndDate(null==n.currentTourProduct?null:n.currentTourProduct.startDate,null==n.currentTourProduct?null:n.currentTourProduct.endDate)," "),h.xp6(3),h.hij("",i.getDayNNight(n,"gun")," G\xfcn "),h.xp6(2),h.hij("",i.getDayNNight(n,"gece")," Gece ")}}function fn(t,e){1&t&&(h.TgZ(0,"p",35),h._uU(1," Yak\u0131nda! "),h.qZA())}function mn(t,e){if(1&t&&(h.TgZ(0,"li"),h.TgZ(1,"strong"),h._uU(2),h.ALo(3,"date"),h.qZA(),h.qZA()),2&t){var n=e.$implicit;h.xp6(2),h.Oqu(h.xi3(3,1,n.startDate,"dd.MM.yyyy"))}}function Tn(t,e){if(1&t&&(h.TgZ(0,"div",36),h.TgZ(1,"button",37),h._UZ(2,"i",38),h.TgZ(3,"u"),h._uU(4),h.qZA(),h.TgZ(5,"div",39),h.TgZ(6,"ul",40),h.YNc(7,mn,4,4,"li",41),h.qZA(),h.qZA(),h.qZA(),h.qZA()),2&t){var n=h.oxw().$implicit;h.xp6(4),h.hij("Di\u011fer Tarihler (",n.tourProductOtherDates.length,")"),h.xp6(3),h.Q6J("ngForOf",n.tourProductOtherDates)}}function vn(t,e){if(1&t&&(h.TgZ(0,"span",44),h._UZ(1,"i",45),h.TgZ(2,"strong"),h._uU(3),h.ALo(4,"date"),h.qZA(),h.qZA()),2&t){var n=h.oxw(2).$implicit;h.xp6(3),h.hij(" ",h.xi3(4,1,null==n.currentTourProduct?null:n.currentTourProduct.startDate,"d MMMM")," T\xdcKEND\u0130")}}function yn(t,e){if(1&t&&(h.TgZ(0,"span",46),h.ALo(1,"date"),h._UZ(2,"i",45),h.TgZ(3,"strong"),h._uU(4),h.ALo(5,"date"),h.qZA(),h.qZA()),2&t){var n=h.oxw(2).$implicit;h.hYB("matTooltip","Acele edin! ",h.xi3(1,4,null==n.currentTourProduct?null:n.currentTourProduct.startDate,"d MMMM")," turuna kat\u0131lmak i\xe7in son ",n.currentTourProduct.capacity," ki\u015fi."),h.xp6(4),h.AsE(" ",h.xi3(5,7,null==n.currentTourProduct?null:n.currentTourProduct.startDate,"d MMMM")," i\xe7in Son ",n.currentTourProduct.capacity," Ki\u015fi")}}function Pn(t,e){if(1&t&&(h.TgZ(0,"div",36),h.YNc(1,vn,5,4,"span",42),h.YNc(2,yn,6,10,"span",43),h.qZA()),2&t){var n=h.oxw().$implicit;h.xp6(1),h.Q6J("ngIf",(null==n.currentTourProduct?null:n.currentTourProduct.capacity)<=0),h.xp6(1),h.Q6J("ngIf",n.currentTourProduct.capacity<6&&n.currentTourProduct.capacity>0)}}function Zn(t,e){if(1&t&&(h.TgZ(0,"div",47),h._UZ(1,"img",48),h.TgZ(2,"small",49),h._uU(3),h.qZA(),h.qZA()),2&t){var n=e.$implicit;h.xp6(1),h.Q6J("src",n.typeImage,h.LSH)("alt",n.name)("matTooltip",n.name),h.xp6(2),h.Oqu(n.name)}}function xn(t,e){if(1&t&&(h.TgZ(0,"div",47),h._UZ(1,"img",48),h.TgZ(2,"small",49),h._uU(3),h.qZA(),h.qZA()),2&t){var n=e.$implicit;h.xp6(1),h.Q6J("src",n.typeImage,h.LSH)("alt",n.name)("matTooltip",n.name),h.xp6(2),h.Oqu(n.name)}}function _n(t,e){1&t&&h._UZ(0,"div",50)}function Cn(t,e){if(1&t&&(h.TgZ(0,"div",51),h._uU(1),h.qZA()),2&t){var n=h.oxw().$implicit,i=h.oxw();h.xp6(1),h.hij(" ",i.getPriceWithLocale(n.tourProductWithMinPrice.convertedPrice-i.getDiscountPrice(n.tourProductWithMinPrice.convertedCampaignPrice,n.campaigns)),"\xa0TL ")}}function bn(t,e){if(1&t&&(h.TgZ(0,"div",52),h._uU(1),h.ALo(2,"customCurrency"),h.qZA()),2&t){var n=h.oxw().$implicit,i=h.oxw();h.xp6(1),h.AsE(" ",i.getPriceWithLocale(n.tourProductWithMinPrice.price-i.getDiscountPrice(n.tourProductWithMinPrice.campaignPrice,n.campaigns)),"\xa0",h.lcZ(2,2,n.tourProductWithMinPrice.currencyTypeId)," ")}}function On(t,e){1&t&&(h.TgZ(0,"p"),h._uU(1,"Ba\u015flayan Fiyatlarla"),h.qZA())}function Mn(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"div",2,3),h.TgZ(3,"a",4),h._uU(4),h.qZA(),h.TgZ(5,"div",5),h.TgZ(6,"div",6),h.TgZ(7,"div",7),h.NdJ("click",function(){var t=h.CHM(n).$implicit;return h.oxw().onCardClick(t)}),h.TgZ(8,"figure",8),h._UZ(9,"img",9),h.qZA(),h.qZA(),h.TgZ(10,"div",10),h.TgZ(11,"div",6),h.TgZ(12,"div",11),h.TgZ(13,"div",12),h.TgZ(14,"p",13),h._UZ(15,"i",14),h._uU(16),h.qZA(),h.TgZ(17,"h3",15),h.TgZ(18,"a",16),h._uU(19),h.qZA(),h.qZA(),h.YNc(20,hn,9,3,"div",17),h.YNc(21,fn,2,0,"p",18),h.TgZ(22,"div",19),h.YNc(23,Tn,8,2,"div",20),h.YNc(24,Pn,3,2,"div",20),h.qZA(),h.qZA(),h.TgZ(25,"div",21),h.YNc(26,Zn,4,4,"div",22),h.YNc(27,xn,4,4,"div",22),h.qZA(),h.qZA(),h.TgZ(28,"div",23),h.TgZ(29,"div",24),h.YNc(30,_n,1,0,"div",25),h.TgZ(31,"div",26),h.YNc(32,Cn,2,1,"div",27),h.YNc(33,bn,3,4,"div",28),h.YNc(34,On,2,0,"p",1),h.qZA(),h.TgZ(35,"button",29),h.NdJ("click",function(){var t=h.CHM(n).$implicit;return h.oxw().onCardClick(t)}),h._uU(36,"TURU \u0130NCELE"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&t){var i=e.$implicit,o=h.oxw();h.xp6(4),h.Oqu(i.title),h.xp6(5),h.s9C("alt",i.title),h.Q6J("src",i.tourImages.length>0?o.API_BASE+"TourImagesFiles/"+i.tourImages[0].image:i.imageList?o.API_BASE+"TourFiles/"+i.imageList:"assets/img/no-image.png",h.LSH),h.xp6(5),h.Q6J("title",o.getCityNames(i.cities)),h.xp6(2),h.hij(" ",o.getCityNames(i.cities)," "),h.xp6(1),h.Q6J("title",i.title),h.xp6(1),h.Q6J("href",o.hostAddress+i.slugUrl,h.LSH),h.xp6(1),h.hij(" ",i.title," "),h.xp6(1),h.Q6J("ngIf",i.currentTourProduct),h.xp6(1),h.Q6J("ngIf",!i.currentTourProduct),h.xp6(2),h.Q6J("ngIf",i.tourProductOtherDates&&i.tourProductOtherDates.length>0),h.xp6(1),h.Q6J("ngIf",i.currentTourProduct),h.xp6(2),h.Q6J("ngForOf",i.tourTags),h.xp6(1),h.Q6J("ngForOf",null==i.currentTourProduct?null:i.currentTourProduct.dynamicTags),h.xp6(3),h.Q6J("ngIf",o.coreService.getCampaignNames(i.campaigns)),h.xp6(2),h.Q6J("ngIf",i.tourProductWithMinPrice&&i.tourProductWithMinPrice.currencyTypeId!=o.currencyEnum.TL),h.xp6(1),h.Q6J("ngIf",i.tourProductWithMinPrice),h.xp6(1),h.Q6J("ngIf",i.tourProductWithMinPrice)}}var An=function(){return{width:"100%",height:"100%"}},wn=function(){return{width:"45%"}},qn=function(){return{width:"65%"}},In=function(){return{"margin-bottom":"0"}},kn=function(){return{height:"150%"}};function Dn(t,e){1&t&&(h.TgZ(0,"a",2),h.TgZ(1,"div",5),h.TgZ(2,"div",6),h.TgZ(3,"div",54),h.TgZ(4,"figure",55),h._UZ(5,"ngx-skeleton-loader",56),h.qZA(),h.qZA(),h.TgZ(6,"div",10),h.TgZ(7,"div",6),h.TgZ(8,"div",11),h.TgZ(9,"div",12),h.TgZ(10,"h3",57
1),h._UZ(11,"ngx-skeleton-loader"),h._UZ(12,"ngx-skeleton-loader",56),h.qZA(),h.TgZ(13,"p",35),h._UZ(14,"ngx-skeleton-loader"),h._UZ(15,"ngx-skeleton-loader",56),h.qZA(),h.qZA(),h.TgZ(16,"div",58),h.TgZ(17,"div",59),h._UZ(18,"ngx-skeleton-loader",56),h.qZA(),h.qZA(),h.qZA(),h.TgZ(19,"div",60),h.TgZ(20,"div",61),h.TgZ(21,"div",62),h._UZ(22,"ngx-skeleton-loader"),h.qZA(),h.TgZ(23,"div",52),h.TgZ(24,"strong"),h._UZ(25,"ngx-skeleton-loader"),h.TgZ(26,"small"),h._UZ(27,"ngx-skeleton-loader"),h.qZA(),h.qZA(),h.qZA(),h._UZ(28,"ngx-skeleton-loader"),h._UZ(29,"ngx-skeleton-loader",63),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()),2&t&&(h.xp6(5),h.Q6J("theme",h.DdM(5,An)),h.xp6(7),h.Q6J("theme",h.DdM(6,wn)),h.xp6(3),h.Q6J("theme",h.DdM(7,qn)),h.xp6(3),h.Q6J("theme",h.DdM(8,In)),h.xp6(11),h.Q6J("theme",h.DdM(9,kn)))}function Un(t,e){if(1&t&&(h.TgZ(0,"div"),h.YNc(1,Dn,30,10,"a",53),h.qZA()),2&t){var n=h.oxw();h.xp6(1),h.Q6J("ngForOf",n.skeletonArray)}}var Sn=function(){function t(e,n,i,o){g(this,t),this._platformId=e,this.router=n,this.coreService=i,this.layoutService=o,this.noInfiniteScroll=!1,this.loadNewData=new h.vpe,this.skeletonArray=[1,2,3],this.API_BASE=ot.N.apiBase,this.transportTypes=K,this.currencyEnum=nt.T,this.hostAddress=ot.N.host+"/"}return d(t,[{key:"intersectionObserver",value:function(){var t=this;this.observer=new IntersectionObserver(function(e){e[0].isIntersecting&&t.loadNewData.emit()},{root:null,rootMargin:"500px",threshold:.1})}},{key:"ngOnInit",value:function(){!this.noInfiniteScroll&&(0,s.NF)(this._platformId)&&this.intersectionObserver()}},{key:"ngAfterViewInit",value:function(){var t=this;this.noInfiniteScroll||this.theLastList.changes.subscribe(function(e){var n;null===(n=t.observer)||void 0===n||n.disconnect(),e.last&&t.observer.observe(e.last.nativeElement)})}},{key:"ngOnDestroy",value:function(){}},{key:"trackByTourId",value:function(t){return t.id}},{key:"getAirlineName",value:function(t){var e;return t&&t.length>0?null===(e=t.find(function(t){return t.flightType==V.Gidi\u015f||t.flightType==V.D\u00f6n\u00fc\u015f||t.flightType==V["Tur \u0130\xe7i"]}))||void 0===e?void 0:e.airlineCompanyName:"Havayolu"}},{key:"getCityNames",value:function(t){var e=[];return t.forEach(function(t){return e.push(t.cityName)}),e.join(" - ")}},{key:"getPriceWithLocale",value:function(t){return this.coreService.getIntegerPrice(t)}},{key:"getDiscountPrice",value:function(t,e){var n=e.find(function(t){return t.campaignTypeId==G.Q.Indirim});return n&&n.discountType==$.Miktarsal?Math.floor(t/2):t}},{key:"onCardClick",value:function(t){var e=this.router.serializeUrl(this.router.createUrlTree(["/"+t.slugUrl],{queryParams:{d:t.currentTourProduct.startDate.toString().substring(0,10)}}));(0,s.NF)(this._platformId)&&window.open(e,"_blank")}},{key:"getDayNNight",value:function(t,e){var n,i,o,r;return"gun"==e?(null===(n=t.currentTourProduct)||void 0===n?void 0:n.day)&&(null===(i=t.currentTourProduct)||void 0===i?void 0:i.nightStay)?t.currentTourProduct.day:t.day:(null===(o=t.currentTourProduct)||void 0===o?void 0:o.day)&&(null===(r=t.currentTourProduct)||void 0===r?void 0:r.nightStay)?t.currentTourProduct.nightStay:t.nightStay}}]),t}();Sn.\u0275fac=function(t){return new(t||Sn)(h.Y36(h.Lbi),h.Y36(l.F0),h.Y36(B.p),h.Y36(ht.P))},Sn.\u0275cmp=h.Xpm({type:Sn,selectors:[["app-list-card"]],viewQuery:function(t,e){var n;(1&t&&h.Gf(pn,5,h.SBq),2&t)&&(h.iGM(n=h.CRH())&&(e.theLastList=n))},inputs:{tourList:"tourList",pageTitle:"pageTitle",noInfiniteScroll:"noInfiniteScroll"},outputs:{loadNewData:"loadNewData"},decls:2,vars:3,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],[1,"tour-link"],["theLastList",""],[1,"d-none"],[1,"card","list-item"],[1,"row","no-gutters"],[1,"col-md-auto","cursor-pointer",3,"click"],[1,"image"],[3,"src","alt"],[1,"col"],[1,"col","d-flex","flex-column","card-text"],[1,"content-top"],[1,"mb-2","text-limit-1","tour-cities",3,"title"],[1,"fa","fa-map-marker","text-secondary"],[1,"title","text-limit-2",3,"title"],["target","_blank",1,"text-dark",3,"href"],["class","tour-dates d-flex align-items-center flex-wrap",4,"ngIf"],["class","text-primary",4,"ngIf"],[1,"row","sm-gutters","info-list"],["class","col-auto item",4,"ngIf"],[1,"tour-features","mt-auto","d-flex","align-items-center","flex-wrap"],["class","d-flex align-items-center",4,"ngFor","ngForOf"],[1,"col-md-auto","price"],[1,"d-flex","flex-column","h-100"],["class","discount-type info-list mb-2",4,"ngIf"],[1,"mt-auto"],["class","tl-price",4,"ngIf"],["class","new-price mt-auto",4,"ngIf"],[1,"btn","btn-lg","btn-outline-primary",3,"click"],[1,"tour-dates","d-flex","align-items-center","flex-wrap"],[1,"mr-3"],[1,"fa","fa-calendar","text-secondary"],[1,"fa","fa-sun-o","text-secondary"],[1,"fa","fa-moon-o","text-secondary"],[1,"text-primary"],[1,"col-auto","item"],[1,"btn","p-0"],[1,"fa","fa-calendar"],[1,"detail","card"],[1,"text-center"],[4,"ngFor","ngForOf"],["class","badge badge-danger p-1","matTooltip","Bu turda kontenjanlar\u0131m\u0131z dolmu\u015ftur. Ek yer talebi ya da alternatif turlar hakk\u0131nda bilgi almak i\xe7in hemen bizi aray\u0131n 0(212) 219 68 86",4,"ngIf"],["class","badge badge-danger p-1",3,"matTooltip",4,"ngIf"],["matTooltip","Bu turda kontenjanlar\u0131m\u0131z dolmu\u015ftur. Ek yer talebi ya da alternatif turlar hakk\u0131nda bilgi almak i\xe7in hemen bizi aray\u0131n 0(212) 219 68 86",1,"badge","badge-danger","p-1"],[1,"fa","fa-exclamation-circle"],[1,"badge","badge-danger","p-1",3,"matTooltip"],[1,"d-flex","align-items-center"],[3,"src","alt","matTooltip"],[1,"d-block","d-md-none","text-secondary","ml-1"],[1,"discount-type","info-list","mb-2"],[1,"tl-price"],[1,"new-price","mt-auto"],["class","tour-link",4,"ngFor","ngForOf"],[1,"col-md-auto"],[1,"image","bg-image"],[3,"theme"],[1,"title"],[1,"content-bottom","row","
1no-gutters","justify-content-between","align-items-center","info-list"],[1,"col","item"],[1,"col-md-auto","price",2,"min-width","159px"],[1,"text-right","d-flex","flex-column","h-100"],[1,"discount-type"],[1,"mb-2",3,"theme"]],template:function(t,e){1&t&&(h.YNc(0,Mn,37,18,"div",0),h.YNc(1,Un,2,1,"div",1)),2&t&&(h.Q6J("ngForOf",e.tourList)("ngForTrackBy",e.trackByTourId),h.xp6(1),h.Q6J("ngIf",!e.tourList))},directives:[s.sg,s.O5,Y,Zt.x],pipes:[s.uU,Ct.R],styles:[".card.list-item[_ngcontent-%COMP%]{border:1px solid #dfe3e6;border-radius:16px}.list-item[_ngcontent-%COMP%]{margin:15px 0;transition:all ease .4s;font-size:14px}.list-item[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:280px;border-radius:16px 0 0 16px;overflow:hidden;margin:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (max-width: 767px){.list-item[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:100%;border-radius:16px 16px 0 0}}.list-item[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;width:100%;cursor:pointer}.list-item[_ngcontent-%COMP%]   .bg-image[_ngcontent-%COMP%]{width:280px;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover}.list-item[_ngcontent-%COMP%]   .cover-img[_ngcontent-%COMP%]{height:100%;position:relative;overflow:hidden}.list-item[_ngcontent-%COMP%]   .cover-img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{vertical-align:middle;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:120%;width:auto}.list-item[_ngcontent-%COMP%]:hover{box-shadow:0 2px 15px var(--border-grey)}.list-item[_ngcontent-%COMP%]   .card-text[_ngcontent-%COMP%]{min-height:210px;padding:10px 15px}@media (min-width: 768px){.list-item[_ngcontent-%COMP%]   .card-text[_ngcontent-%COMP%]{border-right:1px solid var(--border-grey)}}.list-item[_ngcontent-%COMP%]   .card-text[_ngcontent-%COMP%]   .content-top[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.list-item[_ngcontent-%COMP%]   .card-text[_ngcontent-%COMP%]   .content-bottom[_ngcontent-%COMP%]{margin-top:auto;border-top:1px solid var(--border-grey);padding-top:5px}.list-item[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{padding:15px}.list-item[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:20px;color:#161616}.list-item[_ngcontent-%COMP%]   p.text-primary[_ngcontent-%COMP%]{margin-bottom:5px}.list-item[_ngcontent-%COMP%]   .info-list[_ngcontent-%COMP%]   .btn-sm[_ngcontent-%COMP%]{margin:5px 5px 0 0;padding:3px 10px;pointer-events:none}.list-item[_ngcontent-%COMP%]   .info-list[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3n)   .btn-sm[_ngcontent-%COMP%]{margin-right:0}.list-item[_ngcontent-%COMP%]   .info-list[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:5px;font-size:14px;height:14px;width:14px}.list-item[_ngcontent-%COMP%]   .info-list[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:var(--grey);padding:2px 10px;position:relative;font-weight:500}.list-item[_ngcontent-%COMP%]   .info-list[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%] > .detail[_ngcontent-%COMP%]{display:none;position:absolute;z-index:9;background-color:var(--white);max-height:100px;overflow-y:auto;text-align:left;border:0;box-shadow:0 1px 7px #0003}.list-item[_ngcontent-%COMP%]   .info-list[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%] > .detail[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0;padding:5px;font-size:11px}.list-item[_ngcontent-%COMP%]   .info-list[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:hover > .detail[_ngcontent-%COMP%]{display:block}.list-item[_ngcontent-%COMP%]   .info-list[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]   .underline[_ngcontent-%COMP%]{text-decoration:underline}.list-item[_ngcontent-%COMP%]   .info-list[_ngcontent-%COMP%]   .btn.primary[_ngcontent-%COMP%]{border:1px solid var(--primary);color:var(--primary)}.list-item[_ngcontent-%COMP%]   .info-list[_ngcontent-%COMP%]   .btn.success[_ngcontent-%COMP%]{border:1px solid var(--green);background-color:var(--green);color:var(--white)}.list-item[_ngcontent-%COMP%]   .info-list[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:5px}.list-item[_ngcontent-%COMP%]   .info-list.list-footer[_ngcontent-%COMP%]{margin-top:10px;padding-top:10px;width:320px;max-width:100%;border-top:1px solid var(--border-grey)}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]{padding:15px;color:var(--primary)}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .badge.text-secondary[_ngcontent-%COMP%]{border:1px solid var(--secondary);padding:5px;font-weight:500;font-size:12px;margin-bottom:10px}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-size:24px}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-size:14px;font-weight:700}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .old-price[_ngcontent-%COMP%]{color:#616161;line-height:20px}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .old-price[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{text-decoration:line-through;font-size:18px}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .old-price[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-size:12px}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .new-price[_ngcontent-%COMP%]{color:#161616;font-size:30px;font-weight:700;line-height:30px}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .tl-price[_ngcontent-%COMP%]{color:#161616;font-size:20px;font-weight:400;line-height:36px}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .tl-price[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-size:16px}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .tl-price[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-size:12px}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px;color:#161616;font-weight:300;line-height:20px}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{width:100%;min-width:190px;border-radius:44px;height:44px;line-height:44px;padding:0 10px;font-size:16px;font-weight:600}.tour-link[_ngcontent-%COMP%]{display:block}@media (max-width: 767px){.list-item[_ngcontent-%COMP%]   .bg-image[_ngcontent-%COMP%], .list-item[_ngcontent-%COMP%]   .cover-img[_ngcontent-%COMP%]{width:100%;height:200px}.list-item[_ngcontent-%COMP%]   .card-text[_ngcontent-%COMP%]{padding-bottom:0;min-height:inherit}.list-item[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]   .text-right[_ngcontent-%COMP%]{text-align:center!important}.detail[_ngcontent-%COMP%]{width:100%}}.tags[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:16px}@media (min-width: 768px){.text-limit-1[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.text-limit-2[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.detail[_ngcontent-%COMP%]{width:180px}}.tour-cities[_ngcontent-%COMP%]{color:#8c9ba5;font-size:12px;font-weight:500}.tour-cities[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%]{margin-right:5px}.tour-dates[_ngcontent-%COMP%]{font-size:14px;font-weight:600;color:#8c9ba5}.tour-dates[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%]{margin-right:5px}.tour-features[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-right:10px;margin-bottom:5px}.tour-features[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:40px}@media (max-width: 767px){.tour-features[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:24px}}"]});var Jn=["pageContentElement"],Nn=["searchInput"],Yn=["loadModeSpinnerContainer"];function En(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div",53),h.TgZ(1,"input",54),h.NdJ("change",function(){var t=h.CHM(n).$implicit;return h.oxw(2).onTourCategoryChange(t.value)}),h.qZA(),h.TgZ(2,"label",55),h.TgZ(3,"div"),h._uU(4),h.qZA(),h.qZA(),h.qZA()}if(2&t){var i=e.$implicit,o=e.index,r=h.oxw(2);h.xp6(1),h.MGl("id","category",o,""),h.Q6J("value",i.value)("checked",i.value===r.selectedCategory),h.xp6(1),h.Q6J("for","category"+o),h.xp6(2),h.Oqu(i.name)}}function Qn(t,e){if(1&t&&(h.TgZ(0,"mat-expansion-panel",23),h.TgZ(1,"mat-expansion-panel-header",24),h.TgZ(2,"strong"),h._uU(3,"Tur Kategorileri"),h.qZA(),h._UZ(4,"i",25),h._UZ(5,"i",26),h.qZA(),h.TgZ(6,"div",51),h.YNc(7,En,5,5,"div",52),h.qZA(),h.qZA()),2&t){var n=h.oxw();h.Q6J("expanded",n.isTourCategoryExpanded),h.xp6(1),h.Q6J("expandedHeight","48px"),h.xp6(6),h.Q6J("ngForOf",n.tourCategories)}}function Ln(t,e){1&t&&(h.TgZ(0,"div"),h._uU(1," T\xfcm\xfc "),h.qZA())}function Fn(t,e){if(1&t&&(h.TgZ(0,"div"),h._uU(1),h.qZA()),2&t){var n=h.oxw().$implicit;h.xp6(1),h.hij(" ",n.name," ")}}function Rn(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div",53),h.TgZ(1,"input",58),h.NdJ("change",function(){var t=h.CHM(n).index;return h.oxw(2).onTourRegionChange(t)}
1),h.qZA(),h.TgZ(2,"label",55),h.YNc(3,Ln,2,0,"div",28),h.YNc(4,Fn,2,1,"div",28),h.qZA(),h.qZA()}if(2&t){var i=e.$implicit,o=e.index,r=h.oxw(2);h.xp6(1),h.MGl("id","region",o,""),h.MGl("name","customRadio-",o,""),h.Q6J("value",i.id)("checked",i.id===r.filterTourDtoOut.tourRegion),h.xp6(1),h.Q6J("for","region"+o),h.xp6(1),h.Q6J("ngIf",i.showAll&&i.categoryId===r.selectedCategory),h.xp6(1),h.Q6J("ngIf",!i.showAll||i.categoryId!=r.selectedCategory)}}function Bn(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"button",59),h.NdJ("click",function(){return h.CHM(n),h.oxw(2).showMoreRegionTypePeriod("region")}),h._uU(1," daha fazla g\xf6ster "),h.qZA()}}function Hn(t,e){if(1&t&&(h.TgZ(0,"div",51),h.YNc(1,Rn,5,7,"div",52),h.ALo(2,"slice"),h.TgZ(3,"div",56),h.YNc(4,Bn,2,0,"button",57),h.ALo(5,"slice"),h.qZA(),h.qZA()),2&t){var n=h.oxw();h.xp6(1),h.Q6J("ngForOf",h.Dn7(2,2,n.tourRegions,0,n.regionExpandCount)),h.xp6(3),h.Q6J("ngIf",h.Dn7(5,6,n.tourRegions,0,n.regionExpandCount).length<n.tourRegions.length)}}function zn(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div",61),h.TgZ(1,"input",62),h.NdJ("change",function(){var t=h.CHM(n).index;return h.oxw(2).onTourTypeChange(t)}),h.qZA(),h.TgZ(2,"label",55),h._uU(3),h.qZA(),h.qZA()}if(2&t){var i=e.$implicit,o=e.index;h.xp6(1),h.Q6J("id","type"+o)("value",i.id)("checked",i.checked),h.xp6(1),h.Q6J("for","type"+o),h.xp6(1),h.hij("",i.name," ")}}function jn(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"button",59),h.NdJ("click",function(){return h.CHM(n),h.oxw(2).showMoreRegionTypePeriod("type")}),h._uU(1," daha fazla g\xf6ster "),h.qZA()}}function $n(t,e){if(1&t&&(h.TgZ(0,"mat-expansion-panel",23),h.TgZ(1,"mat-expansion-panel-header",24),h.TgZ(2,"strong"),h._uU(3,"Tur Tipi"),h.qZA(),h._UZ(4,"i",25),h._UZ(5,"i",26),h.qZA(),h.TgZ(6,"div",51),h.YNc(7,zn,4,5,"div",60),h.ALo(8,"slice"),h.qZA(),h.TgZ(9,"div",56),h.YNc(10,jn,2,0,"button",57),h.ALo(11,"slice"),h.qZA(),h.qZA()),2&t){var n=h.oxw();h.Q6J("expanded",n.isTourTypeExpanded),h.xp6(1),h.Q6J("expandedHeight","48px"),h.xp6(6),h.Q6J("ngForOf",h.Dn7(8,4,n.tourTypes,0,n.typeExpandCount)),h.xp6(3),h.Q6J("ngIf",h.Dn7(11,8,n.tourTypes,0,n.typeExpandCount).length<n.tourTypes.length)}}function Wn(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div",61),h.TgZ(1,"input",62),h.NdJ("change",function(){var t=h.CHM(n).index;return h.oxw(2).onTourPeriodChange(t)}),h.qZA(),h.TgZ(2,"label",55),h._uU(3),h.qZA(),h.qZA()}if(2&t){var i=e.$implicit,o=e.index;h.xp6(1),h.Q6J("id","period"+o)("value",i.id)("checked",i.checked),h.xp6(1),h.Q6J("for","period"+o),h.xp6(1),h.Oqu(i.name)}}function Gn(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"button",59),h.NdJ("click",function(){return h.CHM(n),h.oxw(2).showMoreRegionTypePeriod("period")}),h._uU(1," daha fazla g\xf6ster "),h.qZA()}}function Vn(t,e){if(1&t&&(h.TgZ(0,"mat-expansion-panel",23),h.TgZ(1,"mat-expansion-panel-header",24),h.TgZ(2,"strong"),h._uU(3,"Tur D\xf6nemleri"),h.qZA(),h._UZ(4,"i",25),h._UZ(5,"i",26),h.qZA(),h.TgZ(6,"div",51),h.YNc(7,Wn,4,5,"div",60),h.ALo(8,"slice"),h.qZA(),h.TgZ(9,"div",56),h.YNc(10,Gn,2,0,"button",57),h.ALo(11,"slice"),h.qZA(),h.qZA()),2&t){var n=h.oxw();h.Q6J("expanded",n.isTourPeriodExpanded),h.xp6(1),h.Q6J("expandedHeight","48px"),h.xp6(6),h.Q6J("ngForOf",h.Dn7(8,4,n.tourPeriods,0,n.periodExpandCount)),h.xp6(3),h.Q6J("ngIf",h.Dn7(11,8,n.tourPeriods,0,n.periodExpandCount).length<n.tourPeriods.length)}}function Kn(t,e){1&t&&(h.TgZ(0,"small"),h._uU(1,"(Euro)"),h.qZA())}function Xn(t,e){1&t&&(h.TgZ(0,"small"),h._uU(1,"(TL)"),h.qZA())}function ti(t,e){if(1&t&&(h.TgZ(0,"mat-option",9),h._uU(1),h.qZA()),2&t){var n=e.$implicit;h.Q6J("value",n),h.xp6(1),h.hij(" ",n.duration," G\xfcn ")}}function ei(t,e){if(1&t&&(h.TgZ(0,"mat-option",9),h._uU(1),h.qZA()),2&t){var n=e.$implicit;h.Q6J("value",n.id),h.xp6(1),h.hij(" ",n.name," ")}}function ni(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div",63),h.TgZ(1,"app-list-card",64),h.NdJ("loadNewData",function(){return h.CHM(n),h.oxw().loadNewData()}),h.qZA(),h.qZA()}if(2&t){var i=h.oxw();h.xp6(1),h.Q6J("pageTitle",i.pageTitle)("tourList",i.tourList)}}function ii(t,e){1&t&&h._UZ(0,"ngx-spinner",65),2&t&&h.Q6J("fullScreen",!1)("size","medium")}function oi(t,e){1&t&&(h.TgZ(0,"div",66),h.TgZ(1,"h3"),h._uU(2," Arad\u0131\u011f\u0131n\u0131z yeri bulamad\u0131k..."),h._UZ(3,"br"),h._uU(4,"Farkl\u0131 bir yeri ke\u015ffetmek ister misiniz? "),h.qZA(),h.qZA())}function ri(t,e){if(1&t&&(h.TgZ(0,"div",67),h.TgZ(1,"div",6),h._UZ(2,"div",68,69),h._UZ(4,"article",70),h.qZA(),h.qZA()),2&t){var n=h.oxw();h.xp6(2),h.Q6J("tabIndex",-1),h.xp6(2),h.Q6J("innerHTML",n.pageContent,h.oJD)}}var ai=function(t){return[t]},ci=function(t){return{active:t}},li=function(){function e(t,n,i,o,r,a,c,l,u,s,d,p){g(this,e),this.route=t,this.tourService=n,this.enumToArrayPipe=i,this.router=o,this.store=r,this.location=a,this.layoutService=c,this.breadCrumpService=l,this._platformId=u,this.authorizationService=s,this.spinner=d,this.dataLayerService=p,this.filterLength=0,this.tourPeriods=[],this.tourTypes=[],this.tourRegions=[],this.allTourPeriods=[],this.allTourRegions=[],this.allTourTypes=[],this.transportTypes=this.enumToArrayPipe.transform(K).map(function(t){return Ke.fromValueResponse(t)}),this.tourCategories=this.enumToArrayPipe.transform(rn),this.isTourPeriodExpanded=!1,this.isTourTypeExpanded=!1,this.isTourRegionExpanded=!1,this.isTourCategoryExpanded=!0,this.isDateExpanded=!1,this.initialRegionTypePeriodShowCount=un.$S,this.regionExpandCount=un.$S,this.typeExpandCount=un.$S,this.periodExpandCount=un.$S,this.promoTypes=Ve,this.tourSortingTypeEnum=an.s,this.sortingSelected=an.s.PreFilter,this.isFilter=!1,this.todayDate=new Date,this.selectedCategory=1,this.showPageTitle=!0,this.pageTitle="Arama Sonu\xe7lar\u
10131",this.parentParentTitle=null,this.parentSubTitle=null,this.parentParentTitleSlugUrl=null,this.parentSubtitleSlugUrl=null,this.fetchingList=!1,this.currentScroll=0,this.tagTypes=this.enumToArrayPipe.transform(at.H),this.today=(new Date).getMonth(),this.monthForTours=[],this.monthNames=["Ocak","\u015eubat","Mart","Nisan","May\u0131s","Haziran","Temmuz","A\u011fustos","Eyl\xfcl","Ekim","Kas\u0131m","Aral\u0131k"],this.tourDuration=[{minDays:1,maxDays:4,duration:"1-4"},{minDays:5,maxDays:9,duration:"5-9"},{minDays:10,maxDays:9999,duration:"10+"}],this.filterTourDtoOut=new Xe.C,this.calculateFilterLength()}return d(e,[{key:"filterTourDtoOut",get:function(){return this.tourService.filterTourDtoOut},set:function(t){this.tourService.filterTourDtoOut=t}},{key:"getCurrentScroll",value:function(t){this.currentScroll=window.scrollY;var e=this.loadModeSpinnerContainer.nativeElement;this.fetchingList&&this.currentScroll>=e.offsetTop+e.scrollHeight&&window.scrollTo(0,e.offsetTop+e.scrollHeight)}},{key:"handleNavigate",value:function(t){var e=this;this.router.navigate([t]).then(function(){window.scroll(0,e.currentScroll)})}},{key:"ngOnInit",value:function(){var t=this;this.tourCategories=this.tourCategories.sort(function(t,e){return t.name===e.name?0:"T\xfcm\xfc"==t.name?-1:1});for(var e=this.today+1;e<this.today+13;e++){var n=e%12==0?12:e%12,i=n<this.today+1?(new Date).getFullYear()+1:(new Date).getFullYear(),o=this.monthNames[n-1]+" \u2018"+i.toString().substring(2,4);this.monthForTours.push({id:n-1,name:o,date:new Date(i,n-1,1,0)})}if((0,s.NF)(this._platformId)){this.route.snapshot.queryParams.s&&(this.filterTourDtoOut.search=this.route.snapshot.queryParams.s),this.route.snapshot.queryParams.pt&&(this.filterTourDtoOut.promoType=+Ve[this.route.snapshot.queryParams.pt]),this.route.snapshot.queryParams.sd&&(this.filterTourDtoOut.startDate=new Date(this.route.snapshot.queryParams.sd.replace(/-/g,"/")),this.filterTourDtoOut.startDate.setDate(this.filterTourDtoOut.startDate.getDate()+1),this.isDateExpanded=!0),this.route.snapshot.queryParams.ed&&(this.filterTourDtoOut.endDate=new Date(this.route.snapshot.queryParams.ed.replace(/-/g,"/")),this.filterTourDtoOut.endDate.setDate(this.filterTourDtoOut.endDate.getDate()+1),this.isDateExpanded=!0);var r=this.monthForTours.filter(function(e){return e.date.setDate(e.date.getDate()+1),e.date<=t.filterTourDtoOut.endDate}).slice(-1).pop();this.selectedMonthId=null==r?void 0:r.id,this.slugUrlDataSubscription=this.tourService.slugUrlData.subscribe(function(e){t.slugUrlType=e;var n=e.type;t.pageContent=e.content,t.initCode(n)})}}},{key:"ngAfterViewInit",value:function(){var t=this;(0,s.NF)(this._platformId)&&setTimeout(function(){t.route.snapshot.queryParams.fromDetail&&t.pageContentElement.nativeElement.focus()}),(0,cn.R)(this.searchInput.nativeElement,"keyup").pipe((0,tn.b)(300),(0,en.b)(function(){t.getTourList()})).subscribe()}},{key:"handleBreadCrumbLinkClick",value:function(){this.clearFilter(this.slugUrlType.categoryId)}},{key:"initCode",value:function(t){switch(this.tourListType=t,this.slugUrl=this.route.snapshot.params.slugUrl,this.tourListType){case L.TourRegion:this.initTourListWithRegion();break;case L.TourType:this.initTourListWithType();break;case L.TourPeriod:this.initTourListWithPeriod();break;case L.Tag:this.initTourListWithTag();break;case L.City:this.initTourListWithCity();break;case L.Country:this.initTourListWithCountry();break;default:this.initTourListWithRegion()}}},{key:"getBannerImages",value:function(){var t=this,e=null,n=null,i=null;return this.slugUrlType.type===L.TourRegion&&(e=this.allTourRegions.find(function(e){return e.id===t.filterTourDtoOut.tourRegion}),n="/TourRegionFiles/"),this.slugUrlType.type===L.TourPeriod&&(e=this.allTourPeriods.find(function(e){return e.id===t.slugUrlType.id&&e.bannerImageWeb}),n="/TourPeriodImages/"),this.slugUrlType.type===L.TourType&&(e=this.allTourTypes.find(function(e){return e.id===t.slugUrlType.id&&e.bannerImageWeb}),n="/TourTypeImages/"),e?(this.layoutService.settings.isMobile?e.bannerImageMobile&&(i=this.layoutService.settings.apiH
1ost+n+e.bannerImageMobile):this.layoutService.settings.isTablet?e.bannerImageTablet&&(i=this.layoutService.settings.apiHost+n+e.bannerImageTablet):e.bannerImageWeb&&(i=this.layoutService.settings.apiHost+n+e.bannerImageWeb),i):null}},{key:"handleSlugUrlTypeResponse",value:function(){var t=this;this.selectedCategory!==rt.B.T\u00fcm\u00fc&&(this.selectedCategory=this.slugUrlType.categoryId),this.filterTourDtoOut.tourCategoryId=this.slugUrlType.categoryId,this.calculateFilterLength();var e=this.parentSubTitle?this.parentSubTitle:" / "+this.pageTitle;this.sendGtmEveryPageLoad(e);var n=this.getRegionTypePeriod();(0,ln.aj)(n).subscribe(function(){var e=t.selectedCategory===rt.B.T\u00fcm\u00fc?t.baseRegionAll:t.selectedCategory===rt.B["Yurt D\u0131\u015f\u0131 Turlar"]?t.baseRegionAbroad:t.selectedCategory===rt.B["Yurt \u0130\xe7i Turlar"]?t.baseRegionDomestic:t.baseRegionCruise;t.parentParentTitleSlugUrl=e.slugUrl,t.parentParentTitle=e.title,t.pageTitle=t.slugUrlType.name;var n=t.tourRegions.find(function(e){return e.slugUrl===t.slugUrl||e.slugUrls.find(function(e){return e===t.slugUrl})});t.showPageTitle=!(n&&n.showAll),t.bannerImg=t.getBannerImages()}),this.slugUrlType.type===L.Tag||this.slugUrlType.type===L.City||this.slugUrlType.type===L.Country?(this.filterTourDtoOut.tourCategoryId=rt.B.T\u00fcm\u00fc,this.selectedCategory=rt.B.T\u00fcm\u00fc,this.getTourList(!1)):this.getTourList(!0),this.dataLayerService.tourCategoryPageView(this.selectedCategory)}},{key:"handleRegionTypePeriodChange",value:function(t){var e=this;if(1===this.filterTourDtoOut.tourPeriods.length||1===this.filterTourDtoOut.tourTypes.length){var n=this.tourRegions.find(function(t){return t.id===e.filterTourDtoOut.tourRegion});this.slugUrl==n.slugUrl&&n.slugUrls.includes(this.slugUrl)?(this.parentSubTitle=null,this.parentSubtitleSlugUrl=null):(this.parentSubTitle=n&&n.showAll?null:n.name,this.parentSubtitleSlugUrl=n&&n.showAll?null:n.slugUrl)}else this.parentSubTitle=null,this.parentSubtitleSlugUrl=null;var i="";("type"===t||"region"===t)&&(1===this.filterTourDtoOut.tourTypes.length?i=this.tourTypes.find(function(t){return t.id===e.filterTourDtoOut.tourTypes[0]}).getUrlByCategory(this.selectedCategory):(i=this.tourRegions.find(function(t){return t.id===e.filterTourDtoOut.tourRegion}).slugUrl,i=1===this.filterTourDtoOut.tourPeriods.length?this.tourPeriods.find(function(t){return t.id===e.filterTourDtoOut.tourPeriods[0]}).getUrlByCategory(this.selectedCategory):this.tourRegions.find(function(t){return t.id===e.filterTourDtoOut.tourRegion}
1).slugUrl)),("period"===t||"region"===t)&&(1===this.filterTourDtoOut.tourPeriods.length?i=this.tourPeriods.find(function(t){return t.id===e.filterTourDtoOut.tourPeriods[0]}).getUrlByCategory(this.selectedCategory):(i=this.tourRegions.find(function(t){return t.id===e.filterTourDtoOut.tourRegion}).slugUrl,i=1===this.filterTourDtoOut.tourTypes.length?this.tourTypes.find(function(t){return t.id===e.filterTourDtoOut.tourTypes[0]}).getUrlByCategory(this.selectedCategory):this.tourRegions.find(function(t){return t.id===e.filterTourDtoOut.tourRegion}).slugUrl)),i!==this.slugUrl?this.handleNavigate(i):this.getTourList(!0)}},{key:"initTourListWithCity",value:function(){this.filterTourDtoOut.tourCity=this.slugUrlType.id,this.handleSlugUrlTypeResponse()}},{key:"initTourListWithCountry",value:function(){this.filterTourDtoOut.tourCountry=this.slugUrlType.id,this.handleSlugUrlTypeResponse()}},{key:"initTourListWithTag",value:function(){this.filterTourDtoOut.tag=this.slugUrlType.id,this.handleSlugUrlTypeResponse()}},{key:"initTourListWithRegion",value:function(){this.filterTourDtoOut.tourRegion=this.slugUrlType.id,this.isTourRegionExpanded=!0,this.handleSlugUrlTypeResponse()}},{key:"initTourListWithType",value:function(){this.filterTourDtoOut.tourTypes=[this.slugUrlType.id],this.isTourTypeExpanded=!0,this.handleSlugUrlTypeResponse()}},{key:"initTourListWithPeriod",value:function(){this.filterTourDtoOut.tourPeriods=[this.slugUrlType.id],this.isTourPeriodExpanded=!0,this.handleSlugUrlTypeResponse()}},{key:"_calculateAge",value:function(t){var e=Date.now()-t.getTime(),n=new Date(e);return Math.abs(n.getUTCFullYear()-1970)}},{key:"sendGtmEveryPageLoad",value:function(t){if((0,s.NF)(this._platformId)){var e=this.authorizationService.isAuthenticated(),n=JSON.parse(localStorage.getItem("userInfo"));e&&n.id,e&&n.phoneNumber,e&&n.email,e&&this._calculateAge(new Date(n.birthdate)),e&&n.genderId,e&&n.firstOrderDate,e&&n.firstOrderDate,e&&n.lastOrderDate,e&&n.birthdate,e&&n.totalCountOfOrder,e&&n.totalAmountOfOrder,e&&n.avgAmountOfOrder,e&&n.createdOn,e&&n.lastLoggedOn,e&&n.IsCommunicationAppvoed,e&&n.lastOrderDate}}},{key:"getRegionTypePeriod",value:function(){var t=this;return[this.store.select(function(t){return t.HOME.TourPeriodList}).pipe((0,nn.U)(function(e){if(t.allTourPeriods=e.filter(function(t){return t.categoryId!==et.I.Aktivite}).map(function(t){return Ke.fromTitleResponse(t)}),t.tourPeriods=t.allTourPeriods.filter(function(e){return e.getPropertyByCategory(t.selectedCategory)}).sort(function(t,e){return t.name.localeCompare(e.name,"tr")}),t.tourPeriods.forEach(function(e){e.checked=t.filterTourDtoOut.tourPeriods.includes(e.id)}),t.slugUrlType.type===L.TourPeriod){var n=t.tourPeriods.findIndex(function(e){return e.id===t.slugUrlType.id});n&&t.periodExpandCount<=n&&(t.periodExpandCount=t.tourPeriods.length+1),t.checkPeriodDates()}return e})),this.store.select(function(t){return t.HOME.TourTypes}).pipe((0,nn.U)(function(e){if(t.allTourTypes=e.map(function(t){return Ke.fromTitleResponse(t)}),t.tourTypes=t.allTourTypes.filter(function(e){return e.getPropertyByCategory(t.selectedCategory)}).sort(function(t,e){return t.name.localeCompare(e.name,"tr")}),t.slugUrlType.type===L.TourType){var n=t.tourTypes.findIndex(function(e){return e.id===t.slugUrlType.id});n&&t.typeExpandCount<=n&&(t.typeExpandCount=t.tourTypes.length+1)}return t.tourTypes.forEach(function(e){e.checked=t.filterTourDtoOut.tourTypes.includes(e.id)}),e})),this.store.select(function(t){return t.HOME.TourRegionList}).pipe((0,nn.U)(function(e){if(t.allTourRegions=e.filter(function(t){return t.categoryId!==et.I.Aktivite}).map(function(t){return Ke.fromTitleResponse(t)}),t.tourRegions=t.allTourRegions.filter(function(e){return t.selectedCategory===rt.B.T\u00fcm\u00fc||e.categoryId===t.selectedCategory}).sort(function(t,e){return(t.showAll===e.showAll?t.categoryId===et.I.All?-1:t.categoryId-e.categoryId:t.showAll?-1:1)||t.name.localeCompare(e.name,"tr")}),t.slugUrlType.type===L.TourRegion){var n=t.tourRegions.findIndex(function(e){return e.id===t.slugUrlType.id});n&&t.regionExpandCount<=n&&(t.regionExpandCount=t.tourRegions.length+1)}return t.filterTourDtoOut.tourRegion||(t.filterTourDtoOut.tourRegion=t.tourRegions[0].id),t.baseRegionAll=e.find(function(t){return t.showAll&&t.categoryId===et.I.All}),t.baseRegionAbroad=e.find(function(t){return t.showAll&&t.categoryId===et.I.YurtD\u0131\u015f\u0131}),t.baseRegionDomestic=e.find(function(t){return t.showAll&&t.categoryId===et.I.Yurt\u0130\u00e7i}
1),t.baseRegionCruise=e.find(function(t){return t.showAll&&t.categoryId===et.I.Cruise}),e}))]}},{key:"clearFilter",value:function(t){this.filterTourDtoOut=new Xe.C,this.filterTourDtoOut.transportTypeId=null,this.tourRegions.forEach(function(t){return t.checked=!1}),this.tourTypes.forEach(function(t){return t.checked=!1}),this.tourPeriods.forEach(function(t){return t.checked=!1}),this.filterTourDtoOut.tourRegion=this.allTourRegions.find(function(e){return e.showAll&&e.categoryId==t}).id,this.filterTourDtoOut.tourCategoryId=t,this.filterTourDtoOut.minDays=null,this.filterTourDtoOut.maxDays=null,this.selectedTourDuration=null,this.selectedMonthId=null,this.calculateFilterLength();var e=t===rt.B.T\u00fcm\u00fc?this.baseRegionAll.slugUrl:t===rt.B["Yurt D\u0131\u015f\u0131 Turlar"]?this.baseRegionAbroad.slugUrl:t===rt.B["Yurt \u0130\xe7i Turlar"]?this.baseRegionDomestic.slugUrl:this.baseRegionCruise.slugUrl;this.parentSubTitle=null,e!==this.slugUrl?this.handleNavigate(e):this.getTourList()}},{key:"minPriceChanged",value:function(){this.filterTourDtoOut.minPrice>this.filterTourDtoOut.maxPrice&&(this.filterTourDtoOut.maxPrice=null),this.calculateFilterLength(),this.getTourList()}},{key:"maxPriceChanged",value:function(){this.filterTourDtoOut.minPrice>this.filterTourDtoOut.maxPrice&&(this.filterTourDtoOut.minPrice=null),this.calculateFilterLength(),this.getTourList()}},{key:"calculateFilterLength",value:function(){this.filterLength=0,this.filterLength+=this.filterTourDtoOut.search?1:0,this.filterLength+=this.filterTourDtoOut.tourCategoryId?1:0,this.filterLength+=this.filterTourDtoOut.tourPeriods.length,this.filterLength+=this.filterTourDtoOut.tourTypes.length,this.filterLength+=this.filterTourDtoOut.tourRegion?1:0,this.filterLength+=this.filterTourDtoOut.minPrice?1:0,this.filterLength+=this.filterTourDtoOut.maxPrice?1:0,this.filterLength+=this.filterTourDtoOut.transportTypeId?1:0,this.filterLength+=this.selectedTourDuration?1:0,this.filterLength+=this.selectedMonthId?1:0}},{key:"onTourCategoryChange",value:function(t){var e=this;this.initialRegionTypePeriodShowCount=un.$S,this.regionExpandCount=un.$S,this.typeExpandCount=un.$S,this.periodExpandCount=un.$S,this.parentSubtitleSlugUrl=null,this.parentSubTitle=null,this.tourRegions=[],this.selectedCategory=t,this.dataLayerService.tourCategoryPageView(this.selectedCategory);var n=t===rt.B.T\u00fcm\u00fc&&this.slugUrlType.all?this.slugUrlType.allSlugUrl:t===rt.B["Yurt D\u0131\u015f\u0131 Turlar"]&&this.slugUrlType.abroad?this.slugUrlType.abroadSlugUrl:t===rt.B["Yurt \u0130\xe7i Turlar"]&&this.slugUrlType.domestic?this.slugUrlType.domesticSlugUrl:t===rt.B.Cruise&&this.slugUrlType.cruise?this.slugUrlType.cruiseSlugUrl:null,i=this.allTourRegions.find(function(e){return e.showAll&&e.categoryId==t});this.filterTourDtoOut.tourRegion=i.id;var o=this.allTourTypes.filter(function(t){return t.getPropertyByCategory(e.selectedCategory)}).map(function(t){return t.id}),r=this.allTourPeriods.filter(function(t){return t.getPropertyByCategory(e.selectedCategory)}).map(function(t){return t.id});this.filterTourDtoOut.tourTypes=this.filterTourDtoOut.tourTypes.filter(function(t){return o.includes(t)}),this.filterTourDtoOut.tourPeriods=this.filterTourDtoOut.tourPeriods.filter(function(t){return r.includes(t)}),this.handleNavigate(n||i.slugUrl)}},{key:"onTourRegionChange",value:function(t){var e=this.tourRegions[t];this.filterTourDtoOut.tourRegion=e.id,this.handleRegionTypePeriodChange("region")}},{key:"onTourTypeChange",value:function(t){this.tourTypes[t].checked=!this.tourTypes[t].checked,this.filterTourDtoOut.tourTypes=this.tourTypes.filter(function(t){return t.checked}).map(function(t){return t.id}),this.handleRegionTypePeriodChange("type")}},{key:"onTourPeriodChange",value:function(t){this.tourPeriods[t].checked=!this.tourPeriods[t].checked,this.selectedMonthId=null,this.checkPeriodDates(),this.handleRegionTypePeriodChange("period")}},{key:"changeSortDirection",value:function(t){this.filterTourDtoOut.sortDirection=t,this.getTourList()}},{key:"onTransportTypeChange",value:function(t){this.filterTourDtoOut.transportTypeId=+t.id===K.T\u00fcm\u00fc?void 0:+t.id,this.calculateFilterLength(),this.getTourList()}},{key:"changeMobileSorting",value:function(t){this.isFilter=!1,this.changeSortDirection(t)}},{key:"filterToggle",value:function(){this.isFilter=!this.isFilter,this.isFilter?(document.body.style.overflow="hidden",document.getElementsByTagName("html")[0].style.overflow="hidden"):(document.body.style.overflow="auto",document.getElementsByTagName("html")[0].style.overflow="auto")}},{key:"getTourList",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.tourList=null,this.filterTourDtoOut.pageNumber=1,this.filterTourDtoOut.search=""===this.filterTourDtoOut.search?null:this.filterTourDtoOut.search,e&&(this.filterTourDtoOut.tag=null,this.filterTourDtoOut.tourCountry=null,this.filterTourDtoOut.tourCity=null),this.tourService.getFilterTours(this.filterTourDtoOut).pipe((0,nn.U)(function(e){var n;return e.forEach(function(e){var n,i;e.tourTags.map(function(n){return ct.f.fromTourDetail(e.tourTags,t.tagTypes)}),(null===(n=e.currentTourProduct)||void 0===n?void 0:n.dynamicTags)&&(null===(i=e.currentTourProduct)||void 0===i?void 0:i.dynamicTags.length)>0&&e.currentTourProduct.dynamicTags.map(function(n){return ct.f.fromTourDetail(e.currentTourProduct.dynamicTags,t.tagTypes)})}
1),t.tourList=e,null===(n=t.tourList)||void 0===n||n.forEach(function(t){var e;return null===(e=t.tourProductOtherDates)||void 0===e?void 0:e.sort(function(t,e){return new Date(t.startDate).getTime()-new Date(e.startDate).getTime()})}),t.theLastFetchedTourList=e,t.sendGtm(e),e})).subscribe()}},{key:"sendGtm",value:function(t){var e=this;(0,s.NF)(this._platformId)&&t.map(function(t,n){var i,o,r,a,c,l,u,s;return{id:t.id,name:null==t?void 0:t.title,price:null===(i=null==t?void 0:t.currentTourProduct)||void 0===i?void 0:i.convertedPrice,category:0==t.categoryId?"Yurt d\u0131\u015f\u0131":"Yurt i\xe7i",variant:null==t?void 0:t.tourConcepts.map(function(t){return t.title}).join(),brand:"Gitmek Laz\u0131m",dimension1:null==t?void 0:t.cities.reduce(function(t,e){return t.find(function(t){return t.countryName===e.countryName})?t:t.concat([e])},[]).map(function(t){return t.countryName}).join(),dimension2:null==t?void 0:t.cities.map(function(t){return t.cityName}).join(),dimension3:(null==t?void 0:t.transportTypeId)==K.U\u00e7ak?t.tourFlights?null===(o=t.tourFlights[0])||void 0===o?void 0:o.airlineCompanyName:"U\xe7ak":"Otob\xfcs",dimension4:null==t?void 0:t.tourTypes.map(function(t){return t.title}).join(),dimension5:null==t?void 0:t.tourPeriods.map(function(t){return t.title}).join(),dimension6:new Date(null===(r=t.currentTourProduct)||void 0===r?void 0:r.startDate).getDate(),dimension7:new Date(null===(a=t.currentTourProduct)||void 0===a?void 0:a.startDate).getMonth()+1,dimension8:new Date(null===(c=t.currentTourProduct)||void 0===c?void 0:c.startDate).getFullYear(),dimension9:new Date(null===(l=t.currentTourProduct)||void 0===l?void 0:l.endDate).getDate(),dimension10:new Date(null===(u=t.currentTourProduct)||void 0===u?void 0:u.endDate).getMonth()+1,dimension11:new Date(null===(s=t.currentTourProduct)||void 0===s?void 0:s.endDate).getFullYear(),list:e.pageTitle,metric1:"security"}})}},{key:"dateChange",value:function(t,e){if(t){var n=new Date(t);this.filterTourDtoOut[e]=new Date(n.getFullYear(),n.getMonth(),n.getDate(),3)}else this.filterTourDtoOut[e]=void 0;this.calculateFilterLength(),this.getTourList()}},{key:"loadNewData",value:function(){var e=this;this.filterTourDtoOut.pageNumber+=1,this.theLastFetchedTourList.length>0&&(this.fetchingList=!0,this.spinner.show("loadMoreSpinner"),this.tourService.getFilterTours(this.filterTourDtoOut).pipe((0,on.x)(function(){e.spinner.hide(),e.fetchingList=!1})).subscribe(function(n){var i,o;null==n||n.forEach(function(t){var n,i;t.tourTags.map(function(n){return ct.f.fromTourDetail(t.tourTags,e.tagTypes)}),(null===(n=t.currentTourProduct)||void 0===n?void 0:n.dynamicTags)&&(null===(i=t.currentTourProduct)||void 0===i?void 0:i.dynamicTags.length)>0&&t.currentTourProduct.dynamicTags.map(function(n){return ct.f.fromTourDetail(t.currentTourProduct.dynamicTags,e.tagTypes)})}),e.theLastFetchedTourList=n,null===(o=e.theLastFetchedTourList)||void 0===o||o.forEach(function(t){var e;return null===(e=t.tourProductOtherDates)||void 0===e?void 0:e.sort(function(t,e){return new Date(t.startDate).getTime()-new Date(e.startDate).getTime()})}),(null==n?void 0:n.length)>0&&(i=e.tourList).push.apply(i,t(n))}))}},{key:"ngOnDestroy",value:function(){var t;null===(t=this.slugUrlDataSubscription)||void 0===t||t.unsubscribe()}},{key:"showMoreRegionTypePeriod",value:function(t){switch(t){case"region":this.regionExpandCount+=this.initialRegionTypePeriodShowCount;break;case"type":this.typeExpandCount+=this.initialRegionTypePeriodShowCount;break;case"period":this.periodExpandCount+=this.initialRegionTypePeriodShowCount}}},{key:"checkPeriodDates",value:function(){var t,e,n=this.tourPeriods.filter(function(t){return t.checked});this.filterTourDtoOut.tourPeriods=n.map(function(t){return t.id}),this.filterTourDtoOut.startDate=null===(t=n.sort(function(t,e){return t.startDate.getTime()-e.startDate.getTime()})[0])||void 0===t?void 0:t.startDate,this.filterTourDtoOut.endDate=null===(e=n.sort(function(t,e){return e.endDate.getTime()-t.endDate.getTime()})[0])||void 0===e?void 0:e.endDate}},{key:"onMonthChange",value:function(){var t=this,e=this.monthForTours.find(function(e){return e.id==t.selectedMonthId});if(this.calculateFilterLength(),!e)return this.filterTourDtoOut.startDate=null,this.filterTourDtoOut.endDate=null,void this.getTourList();this.selectedDate=e.date;var n=this.selectedDate.getMonth()+1===(new Date).getMonth()+1?(new Date).getDate():this.selectedDate.getDate(),i=new Date(this.selectedDate.getFullYear(),this.selectedDate.getMonth()+1,0);this.startDate=new Date(this.selectedDate.getFullYear(),this.selectedDate.getMonth(),n),this.endDate=new Date(i.getFullYear(),i.getMonth(),i.getDate()+1,0),this.filterTourDtoOut.startDate=this.startDate,this.filterTourDtoOut.endDate=this.endDate,this.getTourList()}},{key:"onTourDurationChange",value:function(){var t,e;this.filterTourDtoOut.minDays=(null===(t=this.selectedTourDuration)||void 0===t?void 0:t.minDays)||null,this.filterTourDtoOut.maxDays=(null===(e=this.selectedTourDuration)||void 0===e?void 0:e.maxDays)||null,this.calculateFilterLength(),this.getTourList()}},{key:"onChangeSearch",value:function(){this.calculateFilterLength()}}]),e}();function ui(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"app-my-json-ld",1),h._UZ(2,"app-tour-detail"),h.qZA()),2&t){var n=h.oxw();h.xp6(1),h.Q6J("itemLD",n.structuredData)}}function si(t,e){if(1&t&&(h.TgZ(0,"div"),h._UZ(1,"app-tour-list",2),h.qZA()),2&t){var n=h.oxw();h.xp6(1),h.Q6J("tourListType",n.slugUrlType)}}li.\u0275fac=function(t){return new(t||li)(h.Y36(l.gz),h.Y36(H.Q),h.Y36(lt.T),h.Y36(l.F0),h.Y36(ft.yh),h.Y36(s.Ye),h.Y36(ht.P),h.Y36(sn.W),h.Y36(h.Lbi),h.Y36(dn.Z),h.Y36(p.t2),h.Y36(mt.n))},li.\u0275cmp=h.Xpm({type:li,selectors:[["app-tour-list"]],viewQuery:function(t,e){var n;(1&t&&(h.Gf(Jn,5),h.Gf(Nn,5),h.Gf(Yn,5)),2&t)&&(h.iGM(n=h.CRH())&&(e.pageContentElement=n.first),h.iGM(n=h.CRH())&&(e.searchInput=n.first),h.iGM(n=h.CRH())&&(e.loadModeSpinnerContainer=n.first))},hostBindings:function(t,e){1&t&&h.NdJ("scroll",function(t){return e.getCurrentScroll(t)},!1,h.Jf7)},inputs:{tourListType:"tourListType"},decls:106,vars:54,consts:[[3,"parentParentTitle","parentParentTitleSlugUrl","pageTitle","parentSubTitle","parentSubTitleSlugUrl","showPageTitle","bannerImages","linkClicked"],[1,"container"],[1,"row"],[1,"col-lg-3"],[1,"mobile-filter","d-block","d-lg-none","mb-2"],[1,"row","sm-gutters"],[1,"col"],[1,"btn","btn-primary","btn-block",3,"click"],["name","sorting",1,"form-control","custom-select",3,"ngModel","ngModelChange","change"],[3,"value"],[1,"filter","d-lg-block",3,"ngClass"],[1,"filter-header"],[1,"row","align-items-center","m-0"],[1,"col-auto","d-block","d-lg-none",3,"click"],[1,"btn","btn-close"],[1,"col-auto"],[1,"btn",3,"click"],[1,"row","m-0","item"],["type","text","placeholder","Aranacak kelime giriniz","name","search-text",1,"form-control",3,"ngModel","ngModelChange"],["searchInput",""],[1,"filter-content"],["hideToggle","true","displayMode","true","multi","true"],["class","item",3,"expanded",4,"ngIf"],[1,"item",3,"expanded"],[3,"expandedHeight"],[1,"fa","fa-minus"],[1,"fa","fa-plus"],["class","list",4,"ngIf"],[4,"ngIf"],["type","number","placeholder","Min",1,"form-control",3,"ngModel","ngModelChange","change"],["type","number","placeholder","Max",1,"form-control",3,"ngModel","ngModelChange","change"],[1,"col-12"],["id","tour_days","disableOptionCentering","true",1,"form-control",3,"placeholder","value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["id","search_month","disableOptionCentering","true",1,"form-control",3,"placeholder","value","valueChange","selectionChange"],[1,"filter-footer","d-block","d-lg-none"],[1,"btn","btn-lg","btn-primary","btn-block",3,"click"],[1,"col-lg-9"],[1,"tabs","d-none","d-lg-block"],[1,"row","justify-content-between"],[1,"col-auto","text-center"],[1,"btn",3,"ngClass","click"],[1,"row","align-items-center","mt-2"],[1,"tour-list-title"],[1,"col-md-auto","tour-list-length"],["class","mb-5",4,"ngIf"],[1,"text-center","position-relative","p-5"],["loadModeSpinnerContainer",""],["name","loadMoreSpinner","bdColor","#ffffff0","color","#f28a21","type","ball-spin-fade",3,"fullScreen","size",4,"ngIf"],["class","no-results mt-5 mb-6 text-center",4,"ngIf"],["class","row mb-5",4,"ngIf"],[1,"list"],["class","custom-control custom-radio",4,"ngFor","ngForOf"],[1,"custom-control","custom-radio"],["type","radio","name","category",1,"custom-control-input",3,"id","value","checked","change"],[1,"custom-control-label",3,"for"],[1,"col","m-0","p-0","text-center"],["type","button","class","btn btn-link text-decoration-none p-0",3,"click",4,"ngIf"],["type","radio",1,"custom-control-input",3,"id","name","value","checked","change"],["type","button",1,"btn","btn-link","text-decoration-none","p-0",3,"click"],["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","value","checked","change"],[1,"mb-5"],[3,"pageTitle","tourList","loadNewData"],["name","loadMoreSpinner","bdColor","#ffffff0","color","#f28a21","type","ball-spin-fade",3,"fullScreen","size"],[1,"no-results","mt-5","mb-6","text-center"],[1,"row","mb-5"],[2,"outline","transparent",3,"tabIndex"],["pageContentElement",""],["id","article",1,"article",3,"innerHTML"]],template:function(t,e){1&t&&(h.TgZ(0,"app-breadcrumb",0),h.NdJ("linkClicked",function(){return e.handleBreadCrumbLinkClick()}),h.qZA(),h.TgZ(1,"div",1),h.TgZ(2,"div",2),h.TgZ(3,"div",3),h.TgZ(4,"div",4),h.TgZ(5,"div",5),h.TgZ(6,"div",6),h.TgZ(7,"button",7),h.NdJ("click",function(){return e.filterToggle()}),h._uU(8," F\u0130LTRELE "),h.qZA(),h.qZA(),h.TgZ(9,"div",6),h.TgZ(10,"select",8),h.NdJ("ngModelChange",function(t){return e.sortingSelected=t})("change",function(){return e.changeMobileSorting(e.sortingSelected)}),h.TgZ(11,"option",9),h._uU(12," \xd6ne \xc7\u0131kanlar "),h.qZA(),h.TgZ(13,"option",9),h._uU(14," En Yak\u0131n Tarih "),h.qZA(),h.TgZ(15,"option",9),h._uU(16," Fiyata G\xf6re Artan "),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(17,"div",10),h.TgZ(18,"div",11),h.TgZ(19,"div",12),h.TgZ(20,"div",13),h.NdJ("click",function(){return e.filterToggle()}),h._UZ(21,"button",14),h.qZA(),h.TgZ(22,"div",6),h._uU(23),h.qZA(),h.TgZ(24,"div",15),h.TgZ(25,"button",16),h.NdJ("click",function(){return e.clearFilter(e.selectedCategory)}),h._uU(26," Temizle "),h.qZA(),h.qZA(),h.qZA(),h.TgZ(27,"div",17),h.TgZ(28,"div",6),h.TgZ(29,"input",18,19),h.NdJ("ngModelChange",function(t){return e.filterTourDtoOut.search=t})("ngModelChange",function(){return e.onChangeSearch()}),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(31,"div",20),h.TgZ(32,"mat-accordion",21),h.YNc(33,Qn,8,3,"mat-expansion-panel",22),h.TgZ(34,"mat-expansion-panel",23),h.TgZ(35,"mat-expansion-panel-header",24),h.TgZ(36,"strong"),h._uU(37,"Tur B\xf6lgeleri"),h.qZA(),h._UZ(38,"i",25),h._UZ(39,"i",26),h.qZA(),h.YNc(40,Hn,6,10,"div",27),h.qZA(),h.YNc(41,$n,12,12,"mat-expansion-panel",22),h.YNc(42,Vn,12,12,"mat-expansion-panel",22),h.TgZ(43,"mat-expansion-panel",23),h.TgZ(44,"mat-expansion-panel-header",24),h.TgZ(45,"strong"),h._uU(46,"Fiyat "),h.YNc(47,Kn,2,0,"small",28),h.YNc(48,Xn,2,0,"small",28),h.qZA(),h._UZ(49,"i",25),h._UZ(50,"i",26),h.qZA(),h.TgZ(51,"div",2),h.TgZ(52,"div",6),h.TgZ(53,"input",29),h.NdJ("ngModelChange",function(t){return e.filterTourDtoOut.minPrice=t})("change",function(){return e.minPriceChanged()}),h.qZA(),h.qZA(),h.TgZ(54,"div",6),h.TgZ(55,"input",30),h.NdJ("ngModelChange",function(t){return e.filterTourDtoOut.maxPrice=t})("change",function(){return e.maxPriceChanged()}),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(56,"mat-expansion-panel",23),h.TgZ(57,"mat-expansion-panel-header",24),h.TgZ(58,"strong"),h._uU(59,"Tur S\xfcresi"),h.qZA(),h._UZ(60,"i",25),h._UZ(61,"i",26),h.qZA(),h.TgZ(62,"div",2),h.TgZ(63,"div",31),h.TgZ(64,"mat-select",32),h.NdJ("valueChange",function(t){return e.selectedTourDuration=t})("selectionChange",function(){return e.onTourDurationChange()}),h.TgZ(65,"mat-option",9),h._uU(66,"T\xfcm\xfc"),h.qZA(),h.YNc(67,ti,2,2,"mat-option",33),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(68,"mat-expansion-panel",23),h.TgZ(69,"mat-expansion-panel-header",24),h.TgZ(70,"strong"),h._uU(71,"Tarih"),h.qZA(),h._UZ(72,"i",25),h._UZ(73,"i",26),h.qZA(),h.TgZ(74,"div",2),h.TgZ(75,"div",31),h.TgZ(76,"mat-select",34),h.NdJ("valueChange",function(t){return e.selectedMonthId=t})("selectionChange",function(){return e.onMonthChange()}),h.TgZ(77,"mat-option",9),h._uU(78,"T\xfcm\xfc"),h.qZA(),h.YNc(79,ei,2,2,"mat-option",33),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(80,"div",35),h.TgZ(81,"button",36),h.NdJ("click",function(){return e.filterToggle()}),h._uU(82," UYGULA "),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(83,"div",37),h.TgZ(84,"div",38),h.TgZ(85,"div",39),h.TgZ(86,"div",40),h.TgZ(87,"button",41),h.NdJ("click",function(){return e.changeSortDirection(e.tourSortingTypeEnum.PreFilter)}),h._uU(88," Bizim \xd6nerdiklerimiz "),h.qZA(),h.qZA(),h.TgZ(89,"div",40),h.TgZ(90,"button",41),h.NdJ("click",function(){return e.changeSortDirection(e.tourSortingTypeEnum.PriceLowerToHigher)}),h._uU(91," En D\xfc\u015f\xfck Fiyata G\xf6re "),h.qZA(),h.qZA(),h.TgZ(92,"div",40),h.TgZ(93,"button",41),h.NdJ("click",function(){return e.changeSortDirection(e.tourSortingTypeEnum.StartDate)}),h._uU(94," En Yak\u0131n Tarih "),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.TgZ(95,"div",42),h.TgZ(96,"div",6),h.TgZ(97,"h1",43),h._uU(98),h.qZA(),h.qZA(),h._UZ(99,"div",44),h.qZA(),h.YNc(100,ni,2,2,"div",45),h.TgZ(101,"div",46,47),h.YNc(103,ii,1,2,"ngx-spinner",48),h.qZA(),h.YNc(104,oi,5,0,"div",49),h.qZA(),h.qZA(),h.YNc(105,ri,5,2,"div",50),h.qZA()),2&t&&(h.Q6J("parentParentTitle",e.parentParentTitle)("parentParentTitleSlugUrl",e.parentParentTitleSlugUrl)("pageTitle",e.pageTitle)("parentSubTitle",e.parentSubTitle)("parentSubTitleSlugUrl",e.parentSubtitleSlugUrl)("showPageTitle",e.showPageTitle)("bannerImages",h.VKq(46,ai,e.bannerImg?e.bannerImg:2===(null==e.slug
1UrlType?null:e.slugUrlType.categoryId)?"assets/img/yurtici-banner.webp":"assets/img/page-banner.webp")),h.xp6(10),h.Q6J("ngModel",e.sortingSelected),h.xp6(1),h.Q6J("value",e.tourSortingTypeEnum.PreFilter),h.xp6(2),h.Q6J("value",e.tourSortingTypeEnum.StartDate),h.xp6(2),h.Q6J("value",e.tourSortingTypeEnum.PriceLowerToHigher),h.xp6(2),h.Q6J("ngClass",e.isFilter?"open":""),h.xp6(6),h.hij("",e.filterLength," Filtre Se\xe7ildi"),h.xp6(6),h.Q6J("ngModel",e.filterTourDtoOut.search),h.xp6(4),h.Q6J("ngIf",e.tourCategories.length>0),h.xp6(1),h.Q6J("expanded",e.isTourRegionExpanded),h.xp6(1),h.Q6J("expandedHeight","48px"),h.xp6(5),h.Q6J("ngIf",e.tourRegions.length>0),h.xp6(1),h.Q6J("ngIf",e.tourTypes.length>0),h.xp6(1),h.Q6J("ngIf",e.tourPeriods.length>0),h.xp6(1),h.Q6J("expanded",!1),h.xp6(1),h.Q6J("expandedHeight","48px"),h.xp6(3),h.Q6J("ngIf",1==e.selectedCategory),h.xp6(1),h.Q6J("ngIf",2==e.selectedCategory),h.xp6(5),h.Q6J("ngModel",e.filterTourDtoOut.minPrice),h.xp6(2),h.Q6J("ngModel",e.filterTourDtoOut.maxPrice),h.xp6(1),h.Q6J("expanded",e.isDateExpanded),h.xp6(1),h.Q6J("expandedHeight","48px"),h.xp6(7),h.Q6J("placeholder","G\xfcn Say\u0131s\u0131 Se\xe7iniz")("value",e.selectedTourDuration),h.xp6(1),h.Q6J("value",null),h.xp6(2),h.Q6J("ngForOf",e.tourDuration),h.xp6(1),h.Q6J("expanded",e.isDateExpanded),h.xp6(1),h.Q6J("expandedHeight","48px"),h.xp6(7),h.Q6J("placeholder","Ay Se\xe7iniz")("value",e.selectedMonthId),h.xp6(1),h.Q6J("value",null),h.xp6(2),h.Q6J("ngForOf",e.monthForTours),h.xp6(8),h.Q6J("ngClass",h.VKq(48,ci,e.filterTourDtoOut.sortDirection==e.tourSortingTypeEnum.PreFilter)),h.xp6(3),h.Q6J("ngClass",h.VKq(50,ci,e.filterTourDtoOut.sortDirection==e.tourSortingTypeEnum.PriceLowerToHigher)),h.xp6(3),h.Q6J("ngClass",h.VKq(52,ci,e.filterTourDtoOut.sortDirection==e.tourSortingTypeEnum.StartDate)),h.xp6(5),h.hij(" ",e.pageTitle,""),h.xp6(2),h.Q6J("ngIf",!(e.tourList&&e.tourList.length<=0)),h.xp6(3),h.Q6J("ngIf",e.fetchingList),h.xp6(1),h.Q6J("ngIf",e.tourList&&e.tourList.length<=0),h.xp6(1),h.Q6J("ngIf",e.pageContent))},directives:[Tt.L,m.EJ,m.JJ,m.On,m.YN,m.Kr,s.mk,m.Fj,gn.pp,s.O5,gn.ib,gn.yz,m.wV,vt.gD,y.ey,s.sg,Sn,p.Ro],pipes:[s.OU],styles:["@media (min-width: 991px){.filter[_ngcontent-%COMP%]{margin-left:-15px;margin-right:-15px}}.filter[_ngcontent-%COMP%]   .tabs[_ngcontent-%COMP%]{padding:0}.filter[_ngcontent-%COMP%]   .tabs[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-decoration:none;color:var(--grey);padding:5px}.filter[_ngcontent-%COMP%]   .tabs[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{display:block;font-size:24px}.filter[_ngcontent-%COMP%]   .tabs[_ngcontent-%COMP%]   .btn.active[_ngcontent-%COMP%]{color:var(--primary)}.tabs[_ngcontent-%COMP%]{padding:5px 0}.tabs[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{border:0;padding:8px 17px;font-size:14px;font-weight:400;transition:all .2s linear;border-radius:41px;background:#f8f9fc;color:#525252}.tabs[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:hover, .tabs[_ngcontent-%COMP%]   .btn.active[_ngcontent-%COMP%]{background-color:var(--secondary);color:#fff;font-weight:600}.tour-list-title[_ngcontent-%COMP%]{margin:5px 0;font-size:28px;font-weight:700;color:#161616}.tour-list-length[_ngcontent-%COMP%]{font-size:12px;color:#000}"]});var di=function(){function t(e,n,i,o,r,a){g(this,t),this.coreService=e,this.route=n,this.tourService=i,this.router=o,this.activatedRoute=r,this._platformId=a}return d(t,[{key:"ngOnInit",value:function(){var t=this;!(0,s.NF)(this._platformId)||(this.activatedRoute.data.subscribe(function(e){e.structuredData&&(t.structuredData=e.structuredData),e.slugUrlType.type===L.None?t.router.navigate(["/"]):(t.tourService.setSlugUrlType(e.slugUrlType),t.slugUrlType=e.slugUrlType.type)}),this.tourService.getTourStructuredData().subscribe(function(e){!e||(t.structuredData=e)}))}}]),t}();di.\u0275fac=function(t){return new(t||di)(h.Y36(B.p),h.Y36(l.gz),h.Y36(H.Q),h.Y36(l.F0),h.Y36(l.gz),h.Y36(h.Lbi))},di.\u0275cmp=h.Xpm({type:di,selectors:[["app-tour-main"]],decls:2,vars:2,consts:[[4,"ngIf"],[3,"itemLD"],[3,"tourListType"]],template:function(t,e){1&t&&(h.YNc(0,ui,3,1,"div",0),h.YNc(1,si,2,1,"div",0)),2&t&&(h.Q6J("ngIf",1===e.slugUrlType),h.xp6(1),h.Q6J("ngIf",1!==e.slugUrlType))},directives:[s.O5,j,Ge,li],styles:[""]});var gi=function t(){g(this,t)};
1gi.\u0275fac=function(t){return new(t||gi)},gi.\u0275mod=h.oAB({type:gi}),gi.\u0275inj=h.cJS({imports:[[s.ez]]});var pi=a(2133),hi=function t(){g(this,t)};hi.\u0275fac=function(t){return new(t||hi)},hi.\u0275mod=h.oAB({type:hi}),hi.\u0275inj=h.cJS({providers:[{provide:pi.sN,useClass:pi.TD}],imports:[[u.m,l.Bz,R,Zt.h,pi.mZ]]});var fi,mi=a(5693);fi=[{path:"",component:di}];var Ti=function t(){g(this,t)};Ti.\u0275fac=function(t){return new(t||Ti)},Ti.\u0275mod=h.oAB({type:Ti}),Ti.\u0275inj=h.cJS({providers:[],imports:[[u.m,f,m.u5,hi,gi,R,mi.X,l.Bz.forChild(fi)]]})}}])}();

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.