1!function a(n,o,r){function l(t,e){if(!o[t]){if(!n[t]){var i="function"==typeof require&&require;if(!e&&i)return i(t,!0);if(s)return s(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}i=o[t]={exports:{}},n[t][0].call(i.exports,function(e){return l(n[t][1][e]||e)},i,i.exports,a,n,o,r)}return o[t].exports}for(var s="function"==typeof require&&require,e=0;e<r.length;e++)l(r[e]);return l}({1:[function(e,t,i){!function(d){var t=document.documentElement;function e(){$(".mainline").length&&($.ajax({url:"/util/ajaxresponse.php",method:"POST",data:{func:"animationImages",canUse:expct},success:function(e){$(".aniWrapper").html(e)}}),$(".mainline").on("mouseenter",function(){$(".header-bg ."+$(this).data("ani")).addClass("active")}),$(".mainline").on("mouseleave",function(){$(".header-bg ."+$(this).data("ani")).removeClass("active")})),$(".boat-wrap").length&&$(".line .bar1").animate({height:"85px"},300,function(){$(".line .bar2").animate({height:1.5*$(".section-one h2").height()+"px"},200)})}function i(){$("[data-category-height] .imageBox").each(function(){var e=$
1(this).outerHeight();t.style.setProperty("--category-height",""+e-50+"px"),t.style.setProperty("--category-height-full",e+"px")})}function a(e){$(d).on("resize scroll load",function(){$(e).each(function(){var i=0;$(this).isInViewport()&&$(".check",this).each(function(e){var t=$(this);setTimeout(function(){t.addClass("checked")},200*i),i++})})})}function n(){var e;$(".instagram .splide").length&&((e=new Splide(".instagram .splide",{type:"loop",perPage:2,perMove:1,height:"540px",focus:1,lazyLoad:"nearby",gap:"30px",pagination:!1,arrows:!1,padding:{right:"300px"},breakpoints:{640:{perPage:1,height:"260px",padding:{right:"80px"}},480:{perPage:1,height:"260px",padding:{right:"80px"}}}})).mount(),$(".splide__arrow--next").on("click",function(){e.go(">")}),$(".splide__arrow--prev").on("click",function(){e.go("<")}))}function o(){var e;$(".activity-gallery .splide").length&&((e=new Splide(".activity-gallery .splide",{type:"loop",perPage:2,perMove:1,height:"540px",focus:1,gap:"30px",pagination:!1,arrows:!1,padding:{right:"300px"},breakpoints:{770:{perPage:2,height:"350px",padding:{right:"80px"}},640:{perPage:1,height:"260px",padding:{right:"80px"}},480:{perPage:1,height:"260px",padding:{right:"80px"}}}})).mount(),$(".splide__arrow--next").on("click",function(){e.go(">")}),$(".splide__arrow--prev").on("click",function(){e.go("<")}))}function r(){var e;$(".content-gallery .splide").length&&((e=new Splide(".content-gallery .splide",{type:"loop",perPage:2,perMove:1,height:"540px",focus:1,gap:"30px",pagination:!1,arrows:!1,padding:{right:"300px"},breakpoints:{640:{perPage:1,height:"260px",padding:{right:"80px"}},480:{perPage:1,height:"260px",padding:{right:"80px"}}}})).mount(),$(".splide__arrow--next").on("click",function(){e.go(">")}),$(".splide__arrow--prev").on("click",function(){e.go("<")}))}function l(){$(".openmenu").on("click",function(){$(".fullscreen-menu-wrapper").toggleClass("show"),$(".wrap-menu-items .dropdown").removeClass("show"),$(".logo-anchor").toggleClass("opened"),$(".wrap-menu-items .dropdown").first().addClass("show"),$(".openmenu").hasClass("closemenu")?($(".openmenu").removeClass("closemenu"),$(".lang-selector").removeClass("visible"),$("section,footer,.boat-wrap .line").show()):($(".openmenu").addClass("closemenu"),$(".lang-selector").addClass("visible"),$(d).width()<=992&&$("section,footer,.boat-wrap .line").hide())}),$(".wrap-menu-items .dropdown").on("click",function(){$(".wrap-menu-items .dropdown").removeClass("show"),$(this).addClass("show")}),$(".bs-level1").on("click",function(e){$(".bs-level1").removeClass("show").removeClass("bs-level1-open"),$(this).addClass("show bs-level1-open")})}function s(){var a,e,t,n;function o(e){e=Object.values(e);var t=document.getElementById("activityHour");t.options.length=1;for(var i=0;i<=e.length;i++)e[i]&&(t.options[t.options.length]=new Option(e[i],e[i]))}function r(){$(".deleteActivity").on("click",function(){var e={func:"removeFromCart",cartId:$(this).attr("data-activity")};$.post("/util/ajaxresponse.php?lng="+h(),e,function(e){$(".booking-activities").html(e),r()})})}function c(e){return 0!==e&&""!==e}$(".renderdate").length&&(a=function(t,e){var i=e.currentMonth+1,e=e.currentYear,a=$("#activityAdults").val()?$("#activityAdults").val():0,n=$("#activityChildren").val()?$("#activityChildren").val():0,o=$("#activity").val();$.post("/util/ajaxresponse.php",{func:"getActivitiesDates",activityAdults:a,activityChildren:n,activity:o,month:i,year:e},function(e){e=JSON.parse(e);t.set({enable:e}),t.redraw()})},t=[e=new Date],n=$(".renderdate").flatpickr({locale:$("html").attr("lang"),altInput:!0,altFormat:"d. m. Y",dateFormat:"Y-m-d",defaultDate:e,minDate:e,enable:t,onMonthChange:function(e,t,i){a(n,i)},onYearChange:function(e,t,i){a(n,i)},onOpen:function(e,t,i){a(n,i)},onClose:function(e,t,i){t={func:"getActivitiesHours",activityAdults:$("#activityAdults").val()?$("#activityAdults").val():0,activityChildren:$("#activityChildren").val()?$("#activityChildren").val():0,activity:$("#activity").val(),date:t};""!=t.date&&$.post("/util/ajaxresponse.php",t,function(e){o(JSON.parse(e))})}})),$("#activityAdults, #activityChildren, #activity").on("change",function(){var e=$
1("#activityAdults").val()?$("#activityAdults").val():0,t=$("#activityChildren").val()?$("#activityChildren").val():0,i=$("#activity").val(),a=$("#date").val();(0<e||0<t)&&""!=i&&a&&$.post("/util/ajaxresponse.php",{func:"getActivitiesHours",activityAdults:e,activityChildren:t,activity:i,date:a},function(e){o(JSON.parse(e))})}),$(".addActivity").on("click",function(){var e=$("#activityAdults").val()?$("#activityAdults").val():0,t=$("#activityChildren").val()?$("#activityChildren").val():0,i=$("#activity").val(),a=$("#date").val(),n=$("#activityHour").val(),o=$("#inputChildrenAge").val();(0<e||0<t)&&""!=i&&a&&n&&(e={func:"addActivityToCart",activityAdults:e,activityChildren:t,activity:i,date:a,activityHour:n,inputChildrenAge:o},$.post("/util/ajaxresponse.php?lng="+h(),e,function(e){$(".booking-activities").html(e),$(".bookform")[0].reset(),r()}))}),r(),$("#next-data").on("click",function(e){e.preventDefault();var t,e=$("#activityAdults").val()?$("#activityAdults").val():0,i=$("#activityChildren").val()?$("#activityChildren").val():0,a=$("#activity").val(),n=$("#date").val(),o=$("#activityHour").val(),r=$("#inputChildrenAge").val(),l=$(this).attr("data-url"),s=$(".booking-activities-list .row").length;(0<e||0<i)&&""!=a&&n&&o?(r={func:"addActivityToCart",activityAdults:e,activityChildren:i,activity:a,date:n,activityHour:o,inputChildrenAge:r},$.post("/util/ajaxresponse.php?lng="+h(),r,function(e){d.open(l,"_self")})):0<e||0<i||""!=a||c(n)||c(o)?(t="slo"==h()?"Izpolniti morate vsa polja. Äe ne želite dodati aktivnosti, obrazec izpraznite.":"You must fill in all fields. If you do not want to add an activity, leave the form blank.",d.alert(t)):0<s?d.open(l,"_self"):(t="slo"==h()?"Izpolniti morate polja. ":"You must fill in fields.",d.alert(t))}),$("#next-pay").on("click",function(e){e.preventDefault();var e=$("#reservationName").val(),t=$("#reservationSurname").val(),i=$("#reservationEmail").val(),a=$("#reservationAddress").val(),n=$("#reservationCountry").val(),o=$("#reservationTelPrefix").val(),r=$("#reservationTel").val(),l=$("#reservationNote").val(),s=$("#reservationPostNum").val(),c=$("#reservationPost").val(),p=$(this).attr("data-url");""!=e&&""!=t&&""!=i&&""!=a&&""!=n&&""!=r&&""!=s&&""!=c?(e={func:"addRegistrationData",reservationName:e,reservationSurname:t,reservationEmail:i,reservationAddress:a,reservationCountry:n,reservationTelPrefix:o,reservationTel:r,reservationNote:l,reservationPostNum:s,reservationPost:c},$.post("/util/ajaxresponse.php?lng="+h(),e,function(e){d.open(p,"_self")})):(t="slo"==h()?"Izpolniti morate vsa polja.":"You must fill in all the fields.",d.alert(t))}),$("#next-finish").on("click",function(e){e.preventDefault();var e=$("#paymentName").val(),t=$("#paymentSurname").val(),i=$("#creditCardNum").val(),a=$("#cardCvn").val(),n=$("#cardValidity").val(),o=$("#terms:checked").val(),r=$("#gdpr:checked").val(),l=$(this).attr("data-url");""!=e&&""!=t&&""!=i&&""!=a&&""!=n&&o&&r&&($("#next-finish").prop("disabled",!0),e={func:"addRegistrationPayData",paymentName:e,paymentSurname:t,creditCardNum:i,cardCvn:a,cardValidity:n,terms:o,gdpr:r},$.post("/util/ajaxresponse.php?lng="+h(),e,function(e){d.open(l,"_self")}))}),$("#next-finish-partner").on("click",function(e){e.preventDefault(),$("#next-finish-partner").prop("disabled",!0);var e=$("#reservationNote").val(),t=$(this).attr("data-url"),e={func:"addRegistrationPartner",reservationNote:e};$.post("/util/ajaxresponse.php?lng="+h(),e,function(e){d.open(t,"_self")})})}function c(){$(".bookform input, .bookform select").on("change, blur",function(){var e;"required"==$(this).attr("required")&&(""!=$(this).val()?((e=$(this).parent(".form-group,.input-group")).removeClass("no-valid"),e.children(".invalid-feedback").removeClass("no-valid")):""==$(this).val()&&((e=$(this).parent(".form-group,.input-group")).addClass("no-valid"),e.children(".invalid-feedback").addClass("no-valid")))})}function p(){$("header:has(video)").addClass("videoheight")}function v(){var e=.01*d.innerHeight;document.documentElement.style.setProperty("--vh",e+"px")}function u(){$(".revokereservation").on("click",function(){var e=$
1(this).data("ids");console.log(e),e&&$.post("/util/ajaxresponse.php?lng="+h(),{func:"revokeReservation",ids:e},function(e){e=JSON.parse(e);$(".return-message").html("<p>"+e.message+"</p>")})})}function h(){var e=$("html").attr("lang");return"sl"==e?"slo":"it"==e?"ita":"de"==e?"deu":"hr"==e?"hrv":"eng"}$.fn.isInViewport=function(){var e=$(this).offset().top,t=e+$(this).outerHeight(),i=$(d).scrollTop(),a=i+$(d).height();return i<t&&e<a},$(function(){v(),e(),a('div[class^="level"]'),n(),o(),r(),l(),s(),p(),c(),u()}),$(d).on("load",function(){i()}),d.videosrc={zipline:"/images/temp/header_anim.mp4?zipline",rafting:"/images/temp/header_anim.mp4?rafting",canyoning:"/images/temp/header_anim.mp4?canyoning",kayak:"/images/temp/header_anim.mp4?kayak"},d.video=void 0,d.selectedCategory=void 0,d.root=t,d.today=void 0,d.pad=function(e){return e<10?"0"+e:e},d.EntryAnimation=e,d.setCategoryHeight=i,d.checkDotsInView=a,d.instagramSplide=n,d.activitySplide=o,d.contentSplide=r,d.handleMenu=l,d.renderDatePicker=s,d.handleFormValidation=c,d.checkIfActivityVideo=p,d.setVH=v,d.revokeReservation=u,d.getLng=h}.call(window,window)},{}],2:[function(e,t,i){function a(){(r=L.map("map",{minZoom:0,maxZoom:5}).setView([0,0],0)).setMaxBounds([[0,0],[756,1920]]),L.imageOverlay("/images/backgrounds/map2.png",[[0,0],[756,1920]]).addTo(r);var e=new L.LatLng(46.338390210124864,13.554798711688528),t=L.divIcon({iconSize:null,html:'<div class="map-wrapper"><div class="left-content"><a href="https://goo.gl/maps/PHhxJ1VUytTj9QUv7" target="_blank"><img src="/images/assets/map-pin.svg"></a></div><div class="right-content"><a href="https://goo.gl/maps/PHhxJ1VUytTj9QUv7" target="_blank"><h2>SoÄa Rafting in Hotel SoÄa</h2><p>Ledina 2<br>5230 Bovec, Slovenija</p></a></div></div>'});L.marker(e,{icon:t}).addTo(r).on}function n(){$("#map").length&&a()}var o,r;o=window,$(function(){n()}),o.map=r,o.loadMap=a,o.checkMapLoad=n},{}],3:[function(e,t,i){jQuery.cookie=function(e,t,i){if(void 0===t){var a=null;if(document.cookie&&""!=document.cookie)for(var n=document.cookie.split(";"),o=0;o<n.length;o++){var r=jQuery.trim(n[o]);if(r.substring(0,e.length+1)==e+"="){a=decodeURIComponent(r.substring(e.length+1));break}}return a}i=i||{},null===t&&(t="",i.expires=-1);var l="",s=(i.expires&&("number"==typeof i.expires||i.expires.toUTCString)&&("number"==typeof i.expires?(s=new Date).setTime(s.getTime()+24*i.expires*60*60*1e3):s=i.expires,l="; expires="+s.toUTCString()),i.path?"; path="+i.path:""),c=i.domain?"; domain="+i.domain:"",i=i.secure?"; secure":"";document.cookie=[e,"=",encodeURIComponent(t),l,s,c,i].join("")}},{}]},{},[3,2,1]); 2//# sourceMappingURL=scripts.min.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.