PageSourceSearch

https://www.ikointl.com/8644.20b3f7f22ffe7483.js

js ikointl.com collected 2026-09-24 19:38:38 UTC 13,897 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkiko=self.webpackChunkiko||[]).push([[8644],{58644:(R,v,e)=>{e.r(v),e.d(v,{DestinationsModule:()=>J});var h=e(65056),f=e(71904),p=e(24424),E=e(42108),I=e(33464),t=e(34896),n=e(93072),x=e(7340),O=e(16124),S=e(36248),C=e(2688),y=e(51112),D=e(54844),G=e(61616),r=e(94364),u=e(11484),a=e(78600),l=e(60304),d=e(72584),P=e(1840),$=e(28828),Y=e(14260),F=e(54060),T=e(30088);function b(i,m){1&i&&(t.I0R(0,"div",14),t.wR5(1,"div",15),t.C$Y())}const w=()=>[1,2,3,4,5,6];function A(i,m){1&i&&(t.I0R(0,"div",12),t.yuY(1,b,2,0,"div",13),t.C$Y()),2&i&&(t.yG2(),t.E7m("ngForOf",t.q4q(1,w)))}function L(i,m){1&i&&t.wR5(0,"app-footer",16)}function N(i,m){if(1&i&&(t.I0R(0,"div",25)(1,"div",26),t.wR5(2,"image-srcset",27),t.C$Y(),t.I0R(3,"div",28),t.wR5(4,"image-srcset",29)(5,"image-srcset",30),t.C$Y(),t.I0R(6,"div",28),t.wR5(7,"image-srcset",31)(8,"image-srcset",30),t.C$Y(),t.I0R(9,"div",28),t.wR5(10,"image-srcset",32)(11,"image-srcset",30),t.C$Y()()),2&i){const s=t.GaO(3);t.yG2(2),t.E7m("width",154)("height",217)("item",s.headerImgs[0]),t.yG2(2),t.E7m("width",154)("height",217)("item",s.headerImgs[1]),t.yG2(),t.E7m("width",154)("height",217)("item",s.headerImgs[2]),t.yG2(2),t.E7m("width",154)("height",217)("item",s.headerImgs[3]),t.yG2(),t.E7m("width",154)("height",217)("item",s.headerImgs[4]),t.yG2(2),t.E7m("width",154)("height",217)("item",s.headerImgs[5]),t.yG2(),t.E7m("width",154)("height",217)("item",s.headerImgs[6])}}function U(i,m){if(1&i&&(t.I0R(0,"div",19)(1,"div",20)(2,"h1",21),t.OEk(3,"Experience true kiteboarding"),t.C$Y(),t.I0R(4,"p",22),t.OEk(5," Discover kite spots around the world, access unique courses, centers and experiences "),t.C$Y()(),t.I0R(6,"div",23),t.yuY(7,N,12,21,"div",24),t.C$Y()()),2&i){const s=t.GaO(2);t.yG2(7),t.E7m("ngIf",s.headerImgs)}}function B(i,m){1&i&&(t.I0R(0,"div",35),t.OEk(1," No results found "),t.C$Y())}function W(i,m){if(1&i&&(t.I0R(0,"div",38),t.wR5(1,"destination-card",39),t.C$Y()),2&i){const s=m.$implicit;t.yG2(),t.E7m("destination",s)}}function K(i,m){if(1&i&&(t.I0R(0,"div",36),t.yuY(1,W,2,1,"div",37),t.C$Y()),2&i){const s=t.GaO().appNgVar;t.yG2(),t.E7m("ngForOf",s)}}function j(i,m){if(1&i&&(t.SAx(0),t.yuY(1,B,2,0,"div",33)(2,K,2,1,"ng-template",null,34,t.gJz),t.k70()),2&i){const s=m.appNgVar,o=t.Gew(3);t.yG2(),t.E7m("ngIf",0===s.length)("ngIfElse",o)}}function V(i,m){if(1&i&&(t.yuY(0,U,8,1,"div",17)(1,j,4,2,"ng-container",18),t.wVc(2,"async")),2&i){const s=t.GaO();t.E7m("ngIf",!(null!=s.searchForm&&s.searchForm.value.searchField)),t.yG2(),t.E7m("appNgVar",t.kDX(2,2,s.destinations$))}}const M=[{path:"",component:(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=t.In1({type:i,selectors:[["destinations-section"]],standalone:!0,features:[t.UHJ],decls:1,vars:0,consts:[[1,"content-outlet-child"]],template:function(o,c){1&o&&t.wR5(0,"router-outlet",0)},dependencies:[p.qQ,p.cP]})}}return i})(),data:{discriminantPathKey:"DESTIOATIONS_SECTION"},children:[{path:"",component:(()=>{class i{constructor(s,o,c,g,k,H,Z){this.navDataService=s,this.rolesService=o,this.destinationService=c,this.customService=g,this.translateService=k,this.deviceDetectService=H,this.i18nService=Z,this.filterList=[{name:"Popular",selected:!0},{name:"Distance",selected:!1}],this.filtersConfiguration=new C.aW([{type:C.wt.freeSearch,name:"freeSearch",mustShow:!0,placeholder:this.translateService.instant("Search a destination..."),replaceStandardButtonMobile:!0,mustShowPercentualWidth:"100%",multiRowsMobilePosition:1,extraData:{debounceTime:200,historyKeyTag:"destinations"},trackFormFieldName:"free_search"}],!1,1),this.authSessionService=(0,t.uUt)(x.i),this.pDestinations$=new D.g([]),this.pLoading$=new D.g(!0),this.isCordova=this.deviceDetectService.isNativeDevice,this.unsubscribeAll=new G.E,this.notificationsService=(0,t.uUt)(O.E),this.trackingService=(0,t.uUt)(S.y),this.seoService=(0,t.uUt)(n.Ef),this.destinations$=this.pDestinations$.asObservable(),this.loading$=this.pLoading$.asObservable()}set localResponsiveFilters(s){s.changed.pipe((0,r.a)(this.unsubscribeAll),(0,u.a)(),(0,a.y)(o=>this.getDestinations(o.freeSearch))).subscribe()}ngOnInit(){this.navDataService.setPageTitle({title:this.translateService.instant("seo_destinations_title"),addIkoSuffix:!1}),this.seoService.setDescription(this.translateService.instant("seo_destinations_description")),this.navDataService.currentPageTitle.set("Destinations"),this.i18nService.changedSelectedLanguage$.pipe((0,r.a)(this.unsubscribeAll)).subscribe(()=>{this.getDestinations()})}ngOnDestroy(){this.unsubscribeAll.next(),this.unsubscribeAll.complete()}getDestinations(s){this.pLoading$.next(!0),(s=s?.trim()??this.searchForm?.value.searchField)&&this.trackingService.trackEvent({event:"destinations_search",search:s}
1),this.destinationService.getDestinations({searchText:s}).subscribe({next:o=>{if(o=o.map(c=>(c.url_alias=this.isCordova||!c.url_alias?`/destinations/destination/${c.nid}`:"/destinations/"+c.url_alias.split("/").slice(-1),c.url_alias=c.url_alias.split("?")[0],c)),this.pDestinations$.next(o),!s){const c=[...o].slice(0,7).map(g=>g.field_destination_banner_export);this.headerImgs=c}this.pLoading$.next(!1)},error:()=>{this.pLoading$.next(!1),this.notificationsService.notifyError(this.translateService.instant("Error loading content"))}})}openDestination(s){this.customService.activityTracking({activity_type:"view",entity_type:"node",id:s.nid}).subscribe()}openGForm(){this.navDataService.navigate("https://docs.google.com/forms/d/e/1FAIpQLSdiFubnOx8DtQ8zz_E3FfX3M1z-0l2U-yozzLZCvsZuFK2Gig/viewform",!0)}static{this.\u0275fac=function(o){return new(o||i)(t.GI1(n.G0),t.GI1(n.q4),t.GI1(l.u),t.GI1(n.kP),t.GI1(d.qS),t.GI1(n.ac),t.GI1(n.WY))}}static{this.\u0275cmp=t.In1({type:i,selectors:[["app-destinations"]],viewQuery:function(o,c){if(1&o&&t.CC$(y.C,7),2&o){let g;t.wto(g=t.Gqi())&&(c.localResponsiveFilters=g.first)}},decls:17,vars:8,consts:[[1,"px-0","container-fluid","d-flex","flex-column"],[1,"w-100","px-3","px-lg-0","light-gray-background","justify-content-between","d-flex","flex-column","flex-lg-row"],[1,"responsive-filters","px-0","ms-0","ms-lg-3","col-12","col-md-4",3,"config"],[1,"filters-wrapper","col-12","col-md-8","d-flex","justify-content-end","flex-wrap"],[1,"w-cs-100","d-flex","justify-content-between","align-items-center"],["translate","",1,"text-info","m-0","me-4"],["translate","",1,"btn","btn-default","px-3",3,"click"],[1,"flex-grow-1","overflow-scroll"],[1,"max-width-body","mx-auto"],["class","row pt-2 px-3",4,"ngIf","ngIfElse"],["gutenbergFooter","true","needSeparator","true","outOfMargin","true","class","col-12",4,"ngIf"],["destinationsBlock",""],[1,"row","pt-2","px-3"],["class","col-12 col-sm-6 col-lg-4 text-white",4,"ngFor","ngForOf"],[1,"col-12","col-sm-6","col-lg-4","text-white"],[1,"card","mb-2","rounded-1","card-block","loading","shadow-none"],["gutenbergFooter","true","needSeparator","true","outOfMargin","true",1,"col-12"],["class","d-none d-lg-flex row p-3",4,"ngIf"],[4,"appNgVar"],[1,"d-none","d-lg-flex","row","p-3"],[1,"col-lg-4","my-auto"],["translate","",1,"mb-4","text-primary"],["translate","",1,"lead"],[1,"col-lg-8","ps-5","pe-0"],["class","row",4,"ngIf"],[1,"row"],[1,"col-lg-3","col-6","d-flex","align-self-center"],["imgClass","rounded-1 shadow mt-0 mt-lg-7","propertyName","portrait",3,"width","height","item"],[1,"col-lg-3","col-6"],["imgClass","rounded-1 shadow","propertyName","portrait",3,"width","height","item"],["imgClass","rounded-1 shadow mt-4","propertyName","portrait",3,"width","height","item"],["imgClass","rounded-1 shadow mt-0 mt-lg-5","propertyName","portrait",3,"width","height","item"],["imgClass","rounded-1 shadow mt-3","propertyName","portrait",3,"width","height","item"],["class","text-center h2 mt-4","translate","",4,"ngIf","ngIfElse"],["destinationsItems",""],["translate","",1,"text-center","h2","mt-4"],["appBottomSafeArea","",1,"flex-grow-1","row","pt-2","px-3"],["class","col-12 col-sm-6 col-lg-4",4,"ngFor","ngForOf"],[1,"col-12","col-sm-6","col-lg-4"],[3,"destination"]],template:function(o,c){if(1&o&&(t.I0R(0,"div",0)(1,"div",1),t.wR5(2,"responsive-search-filters",2),t.I0R(3,"div",3)(4,"div",4)(5,"p",5),t.OEk(6,"Contribute information about spots"),t.C$Y(),t.I0R(7,"button",6),t.qCj("click",function(){return c.openGForm()}),t.OEk(8,"Add Spot"),t.C$Y()()()(),t.I0R(9,"div",7)(10,"div",8),t.yuY(11,A,2,2,"div",9),t.wVc(12,"async"),t.C$Y(),t.yuY(13,L,1,0,"app-footer",10),t.wVc(14,"async"),t.yuY(15,V,3,4,"ng-template",null,11,t.gJz),t.C$Y()()),2&o){const g=t.Gew(16);t.yG2(2),t.E7m("config",c.filtersConfiguration),t.yG2(9),t.E7m("ngIf",t.kDX(12,4,c.loading$))("ngIfElse",g),t.yG2(2),t.E7m("ngIf",!1===t.kDX(14,6,c.loading$))}},dependencies:[h.ay,h.u_,d.eM,P.k,$.S,y.C,Y.A,F.W,T.E,h.a],styles:[".card-block[_ngcontent-%COMP%]{height:200px}@media screen and (max-width: 735px){.add-contribute-container[_ngcontent-%COMP%]{padding:0!important;margin-top:0!important}.add-contribute-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:0!important}}"],changeDetection:0})}}return i})(),data:{title:(0,E.A)("Travel"),discriminantPathKey:"DESTINATIONS"}},{path:"destination",loadChildren:()=>
1Promise.all([e.e(9312),e.e(8720)]).then(e.bind(e,68720)).then(i=>i.DestinationModule)},{path:"spot",loadChildren:()=>Promise.all([e.e(9312),e.e(3760)]).then(e.bind(e,83760)).then(i=>i.SpotModule)},{path:":destination/spots/:spot/chat",loadChildren:()=>e.e(5668).then(e.bind(e,55668)).then(i=>i.SpotChatModule)},{path:":destination/spots/:spot",loadChildren:()=>Promise.all([e.e(9312),e.e(3760)]).then(e.bind(e,83760)).then(i=>i.SpotModule)},{path:":alias",loadChildren:()=>Promise.all([e.e(9312),e.e(8720)]).then(e.bind(e,68720)).then(i=>i.DestinationModule)}]}];let z=(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275mod=t.a4G({type:i})}static{this.\u0275inj=t.s3X({imports:[p.qQ.forChild(M),I.Yv.forChild(M)]})}}return i})();var Q=e(33968),_=e(41752),X=e(10716);let J=(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275mod=t.a4G({type:i})}static{this.\u0275inj=t.s3X({imports:[h.MD,p.qQ,I.Yv,X.kT,z,f.sl,Q.G,_.Y,T.E]})}}return i})()},33968:(R,v,e)=>{e.d(v,{G:()=>G});var h=e(65056),f=e(36716),p=e(86424),E=e(41752),I=e(48372),t=e(72584),n=e(34896),x=e(93796),O=e(42108),S=e(93072);function C(r,u){if(1&r&&(n.I0R(0,"div",7)(1,"span",8),n.OEk(2),n.C$Y()()),2&r){const a=n.GaO(2);n.yG2(2),n.cNF(a.title)}}function y(r,u){if(1&r&&n.wR5(0,"course-card",9),2&r){const a=u.$implicit,l=n.GaO(2);let d;n.E7m("schoolId",l.schoolId)("schoolDetail",l.schoolDetail)("typeNavigation",l.typeNavigation)("backgroundImage",null!==(d=l.backgroundImage)&&void 0!==d?d:l.generateBackGroundImage(a))("backgroundClass",l.backgroundClass)("course",a)}}function D(r,u){if(1&r){const a=n.KQA();n.I0R(0,"div",1),n.yuY(1,C,3,1,"div",2),n.I0R(2,"div",3),n.yuY(3,y,1,6,"course-card",4),n.wVc(4,"slice"),n.C$Y(),n.I0R(5,"div",5)(6,"button",6),n.qCj("click",function(){n.usT(a);const d=n.GaO();return n.CGJ(d.navigateToCourses())}),n.OEk(7),n.wVc(8,"translate"),n.C$Y()()()}if(2&r){const a=n.GaO();n.yG2(),n.E7m("ngIf",a.title),n.yG2(2),n.E7m("ngForOf",n.I7O(4,3,a.courses,0,a.limit)),n.yG2(4),n.cNF(n.kDX(8,7,"Show More"))}}let G=(()=>{class r{constructor(a,l,d){this.deviceDetectService=a,this.i18nService=l,this.navDataService=d,this.minLimit=5,this.limit=this.minLimit,this.coursesTemplate=[],this.isCordova=this.deviceDetectService.isNativeDevice,this.externalOpen=f.O.inAppBrowsing.course,this.environment=f.O,this.currentLocale=`${this.i18nService.language}-${this.i18nService.language.toUpperCase()}`}generateBackGroundImage(a){return a.type===I.w.recreational?"/assets/images/training_calendar1.jpg":a.field_course_template?.toLowerCase().startsWith("assistant")?"/assets/images/course-card-assistant.jpg":"/assets/images/course-card-instructor.jpg"}navigateToCourses(){const a={course_type:this.coursesType};if(!(this.destinationId&&this.centerId&&this.centerId||this.coursesType))return this.limit=this.coursesTemplate.length;switch(!0){case!!this.destinationId:a.destination=this.destinationId;break;case!!this.centerId:a.center=this.centerId;break;case!!this.coachId:a.coach=this.coachId;break;case!!this.spotId:a.spot=this.spotId}this.navDataService.navigate("/training-calendar",!1,{queryParams:a})}static{this.\u0275fac=function(l){return new(l||r)(n.GI1(x.a),n.GI1(O.W),n.GI1(S.G0))}}static{this.\u0275cmp=n.In1({type:r,selectors:[["course-tiles"]],inputs:{backgroundClass:"backgroundClass",title:"title",backgroundImage:"backgroundImage",minLimit:"minLimit",schoolDetail:"schoolDetail",schoolId:"schoolId",typeNavigation:"typeNavigation",courses:"courses",coursesType:"coursesType",destinationId:"destinationId",spotId:"spotId",centerId:"centerId",coachId:"coachId"},standalone:!0,features:[n.UHJ],decls:1,vars:1,consts:[["class","mt-3",4,"ngIf"],[1,"mt-3"],["class","big mb-3",4,"ngIf"],[1,"row","pt-2","align-items-stretch"],["class","col-12 col-sm-6 col-md-12 col-xl-6 mb-3 align-self-stretch",3,"schoolId","schoolDetail","typeNavigation","backgroundImage","backgroundClass","course",4,"ngFor","ngForOf"],[1,"col-12","text-center"],[1,"btn","btn-default",3,"click"],[1,"big","mb-3"],["translate","",1,"pe-1"],[1,"col-12","col-sm-6","col-md-12","col-xl-6","mb-3","align-self-stretch",3,"schoolId","schoolDetail","typeNavigation","backgroundImage","backgroundClass","course"]],template:function(l,d){1&l&&n.yuY(0,D,9,9,"div",0),2&l&&n.E7m("ngIf",(null==d.courses?null:d.courses.length)>0)},dependencies:[h.MD,h.ay,h.u_,h.qq,p.q,E.Y,t.O0,t.sD,t.eM],styles:[".arrow-right[_ngcontent-%COMP%]{right:5px}
1.template-name[_ngcontent-%COMP%]{margin-bottom:11px}.course-title[_ngcontent-%COMP%]{margin-top:12px;margin-bottom:8px}.date-course[_ngcontent-%COMP%]{font-size:max(.7rem,12px)}"]})}}return r})()}}]);
2//# sourceMappingURL=8644.20b3f7f22ffe7483.js.map

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.